inflation docs
Inflation
rigoToken
Returns the address of the GRG token.
Return Values
stakingProxy
Returns the address of the GRG staking proxy.
Return Values
epochLength
Returns the epoch length in seconds.
Return Values
slot
Returns epoch slot.
Increases by one every new epoch.
Return Values
_ANNUAL_INFLATION_RATE
_PPM_DENOMINATOR
_epochEndTime
onlyStakingProxy
constructor
mintInflation
Allows staking proxy to mint rewards.
Return Values
Name | Type | Description |
---|---|---|
mintedInflation | uint256 | Number of allocated tokens. |
epochEnded
Returns whether an epoch has ended.
Return Values
Name | Type | Description |
---|---|---|
[0] | bool | Bool the epoch has ended. |
getEpochInflation
Returns the epoch inflation.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Value of units of GRG minted in an epoch. |
timeUntilNextClaim
Returns how long until next claim.
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | Number in seconds. |
_assertCallerIsStakingProxy
Asserts that the caller is the Staking Proxy.
_getEpochEndTime
_getEpochLength
_getRigoToken
_getStakingProxy
Last updated