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.
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.
msg.value should be set the desired amount to add.
Last updated