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 Parameter | Type | Description |
|---|---|---|
_token | address | The address of token to reward. |
_amount | uint256 | The amount of token to transfer to rewards |
notifyRewardAmountETH
Add ETH rewards for voters to earn.
function notifyRewardAmountETH() externalmsg.value should be set the desired amount to add.