Skip to content

Commit

Permalink
Add event to changeRewardSpeed
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatmittal committed May 7, 2024
1 parent 079b2df commit 75bb5a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/rewards/GenericMultiRewardsVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ contract GenericMultiRewardsVault is ERC4626, Ownable {

rewardInfos[rewardToken].rewardsPerSecond = rewardsPerSecond;
rewardInfos[rewardToken].rewardsEndTimestamp = rewardsEndTimestamp;

emit Events.RewardInfoUpdate(rewardToken, rewardsPerSecond, rewardsEndTimestamp);
}

/**
Expand Down

0 comments on commit 75bb5a6

Please sign in to comment.