Technical ReferenceContract FunctionsVoting Reward
FeesVotingReward
Overview
The FeesVotingReward contract distributes pool fee rewards assigned to pool voters.
FeesVotingReward Methods
notifyRewardAmount
Add rewards for voters to earn.
function notifyRewardAmount(
address _token,
uint256 _amount
) external| Input Parameter | Type | Description |
|---|---|---|
_token | address | The address of token to reward. |
_amount | 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.
function notifyRewardAmountETH() externalmsg.value should be set the desired amount to add.
Only callable with FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE role.