BribeVotingReward

Overview

The BribeVotingReward contract allows to distribute bribe rewards to users, earned through voting for a associated pool.

BribeVotingReward 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

notifyRewardAmountETH

Add ETH rewards for voters to earn.

function notifyRewardAmountETH() external

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

Last updated