Technical ReferenceContract FunctionsVoting Reward

FeesVotingReward

Overview

The FeesVotingReward contract distributes pool fee rewards assigned to pool voters.

SGP-19 routes the pool swap-fee share allocated through the ve(3,3) path to the DAO treasury. Gauge voting is paused under SGP-20. These methods describe the reward contract’s API; they do not establish a current fee payment to lockers.

FeesVotingReward Methods

notifyRewardAmount

Add rewards for voters to earn.

function notifyRewardAmount(
    address _token,
    uint256 _amount
) external
Input ParameterTypeDescription
_tokenaddressThe address of token to reward.
_amountuint256The 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.

On this page