We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c143089 commit 680dca6Copy full SHA for 680dca6
contracts/DynamicRewardFarm.sol
@@ -65,6 +65,11 @@ contract DynamicRewardFarm is TokenWrapper {
65
_;
66
}
67
68
+ event RewardTokenAdded(
69
+ address indexed rewardToken,
70
+ uint256 tokenCount
71
+ );
72
+
73
/**
74
* @dev No modifier necessary since this contract is
75
* cloned by the factory contract calling initialize
@@ -131,6 +136,11 @@ contract DynamicRewardFarm is TokenWrapper {
131
136
);
132
137
133
138
tokenCount = tokenCount + 1;
139
140
+ emit RewardTokenAdded(
141
+ _rewardToken,
142
+ tokenCount
143
134
144
135
145
146
0 commit comments