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

IInflation

Overview

License: Apache 2.0

interface IInflation

Author: Gabriele Rigo - gab@rigoblock.com

Functions info

rigoToken (0xd6c1aca7)

function rigoToken() external view returns (address)

Returns the address of the GRG token.

Return values:

Name
Type
Description

[0]

address

Address of the Rigo token contract.

stakingProxy (0x22f80d11)

function stakingProxy() external view returns (address)

Returns the address of the GRG staking proxy.

Return values:

Name
Type
Description

[0]

address

Address of the proxy contract.

epochLength (0x57d775f8)

Returns the epoch length in seconds.

Return values:

Name
Type
Description

[0]

uint48

Number of seconds.

slot (0x1a88bc66)

Returns epoch slot.

Increases by one every new epoch.

Return values:

Name
Type
Description

[0]

uint32

Number of latest epoch slot.

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