Skip to content

Commit

Permalink
typical event added
Browse files Browse the repository at this point in the history
  • Loading branch information
vm06007 committed Oct 18, 2024
1 parent c143089 commit 680dca6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions contracts/DynamicRewardFarm.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ contract DynamicRewardFarm is TokenWrapper {
_;
}

event RewardTokenAdded(
address indexed rewardToken,
uint256 tokenCount
);

/**
* @dev No modifier necessary since this contract is
* cloned by the factory contract calling initialize
Expand Down Expand Up @@ -131,6 +136,11 @@ contract DynamicRewardFarm is TokenWrapper {
);

tokenCount = tokenCount + 1;

emit RewardTokenAdded(
_rewardToken,
tokenCount
);
}

/**
Expand Down

0 comments on commit 680dca6

Please sign in to comment.