RewardsDistribution
Functions:
Events:
Graphs:
Function Definitions:
constructor()
setPop()
setTreasury()
approveRewardDistributor()
addRewardDistribution()
Parameter Name | Type | Description |
---|---|---|
| address | An address to send rewards tokens too |
| uint256 | The amount of rewards tokens to send |
| bool | If the contract is a popLocker which has a slightly different notifyRewardsAmount interface |
removeRewardDistribution()
Parameter Name | Type | Description |
---|---|---|
| uint256 | The index of the DistributionData to delete |
editRewardDistribution()
Parameter Name | Type | Description |
---|---|---|
| uint256 | The index of the DistributionData to edit |
| address | The destination address. Send the same address to keep or different address to change it. |
| uint256 | The amount of tokens to edit. Send the same number to keep or change the amount of tokens to send. |
| bool | If the contract is a popLocker which has a slightly different notifyRewardsAmount interface |
distributeRewards()
distributionsLength()
Events
RewardDistributionAdded
RewardsDistributed
RewardDistributorUpdated
Graphs
Dependency Graph
Inheritance Graph
Last updated