Skip to content

Commit

Permalink
task: emit event for price (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError authored Oct 10, 2024
1 parent 777ba87 commit c7ba4b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PriceOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ contract PriceOracle is AccessControl {
postageStamp = IPostageStamp(_postageStamp);
lastAdjustedRound = currentRound();
PRICE_UPDATER_ROLE = keccak256("PRICE_UPDATER_ROLE");
emit PriceUpdate(currentPrice());
}

////////////////////////////////////////
Expand Down

0 comments on commit c7ba4b7

Please sign in to comment.