For the complete documentation index, see llms.txt. This page is also available as Markdown.

Inflation

Overview

License: Apache 2.0

contract Inflation is IInflation

Author: Gabriele Rigo - gab@rigoblock.com

State variables info

rigoToken (0xd6c1aca7)

address immutable rigoToken

stakingProxy (0x22f80d11)

address immutable stakingProxy

epochLength (0x57d775f8)

uint48 epochLength

slot (0x1a88bc66)

uint32 slot

Modifiers info

onlyStakingProxy

Functions info

constructor

mintInflation (0xc551a2f9)

Allows staking proxy to mint rewards.

Return values:

Name
Type
Description

mintedInflation

uint256

Number of allocated tokens.

epochEnded (0x175db3c4)

Returns whether an epoch has ended.

Return values:

Name
Type
Description

[0]

bool

Bool the epoch has ended.

getEpochInflation (0xe9a0bae7)

Returns the epoch inflation.

Return values:

Name
Type
Description

[0]

uint256

Value of units of GRG minted in an epoch.

timeUntilNextClaim (0x6dd73944)

Returns how long until next claim.

Return values:

Name
Type
Description

[0]

uint256

Number in seconds.

Last updated