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
Input ParameterTypeDescription

_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() external

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

Only callable with FEES_VOTING_REWARDS_DISTRIBUTOR_ROLE role.

Last updated