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.

function notifyRewardAmount(
    address _token,
    uint256 _amount
) external

Only callable with FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE role.

notifyRewardAmountETH

Add ETH rewards for voters to earn.

function notifyRewardAmountETH() external

msg.value should be set the desired amount to add.

Only callable with FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE role.

Last updated