FeesVotingReward
Overview
The FeesVotingReward
contract allows to distribute pool fees rewards to users, earned through voting for the pool in question.
FeesVotingReward Methods
notifyRewardAmount
Add rewards for voters to earn.
Input Parameter | Type | Description |
---|---|---|
| address | The address of token to reward. |
| uint256 | The amount of token to transfer to rewards |
Only callable with FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE
role.
notifyRewardAmountETH
Add ETH rewards for voters to earn.
msg.value should be set the desired amount to add.
Only callable with FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE
role.
Last updated