Variables ​
Inherits:Constants
State Variables ​
_duration ​
for how long current rewards should run
solidity
uint40 internal _duration;
_startTime ​
when current rewards got started
solidity
uint40 internal _startTime;
_yearlyReward ​
current annualized reward based on input params (duration, rewardAmount)
solidity
uint176 internal _yearlyReward;
_nextDuration ​
Duration for the next rewards phase.
solidity
uint40 internal _nextDuration;
_nextRewardAmount ​
Amount of rewards for the next phase.
solidity
uint176 internal _nextRewardAmount;