RewardPool
Introduction
Storage
rewardPools
RewardPool[] public rewardPools;
struct RewardPool {
uint128 payoutStart;
uint128 decreaseInterval;
uint256 initialReward;
uint256 rewardDecrease;
bool isPublic;
}Name
Description
Write functions for the contract owner
RewardPool_init
Name
Description
addRewardPool
Name
Description
Validation functions uses by protocol
onlyExistedRewardPool
Name
Description
onlyPublicRewardPool
Name
Description
onlyNotPublicRewardPool
Name
Description
Read functions
getPeriodRewards
Name
Description
isRewardPoolExist
Name
Description
isRewardPoolPublic
Name
Description
supportsInterface
version
Last updated
Was this helpful?