PoolRewardsStorage
PoolRewardsStorage
This contract keeps track of addresses used by the PoolRewards contract to compute and distribute vVSP "rewards".
pool
Vesper pool address
rewardTokens
Array of reward token addresses
isRewardToken
Reward token to valid/invalid flag mapping
periodFinish
Reward token to period ending of current reward
rewardRates
Reward token to current reward rate mapping
rewardDuration
Reward token to Duration of current reward distribution
lastUpdateTime
Reward token to Last reward drip update time stamp mapping
rewardPerTokenStored
Reward token to Reward per token mapping. Calculated and stored at last drip update
userRewardPerTokenPaid
Reward token => User => Reward per token stored at last reward update
rewards
RewardToken => User => Rewards earned till last reward update
Name | Type | Description |
---|---|---|
_rewardTokens | address[] | Array of tokens being rewarded |
_rewardPerTokenRate | uint256[] | Array of Rewards rate for token on same index in rewardTokens |
Last updated