Technical ReferenceContract FunctionsVoting Reward

BribeVotingReward

Overview

The BribeVotingReward contract distributes incentives assigned to voters of an associated pool.

Gauge voting and the voting-incentives marketplace are paused under SGP-20. These methods describe the reward contract’s API; they do not establish an active voting-incentive campaign.

BribeVotingReward 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

notifyRewardAmountETH

Add ETH rewards for voters to earn.

function notifyRewardAmountETH() external

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

On this page