Skip to content

Constants ​

Git Source

State Variables ​

RATE_PRECISION ​

precision decimals for rewards rate

solidity
uint256 internal constant RATE_PRECISION = 1e12;

SECONDS_PER_YEAR ​

solidity
uint256 internal constant SECONDS_PER_YEAR = 365 days;

MAX_RATE ​

maximum rewards rate is 50%. no config higher than this should be possible.

solidity
uint256 internal constant MAX_RATE = 50 * RATE_PRECISION;

START_TVL ​

tvl below which rewards rate is 0

solidity
uint256 internal immutable START_TVL;

CONFIGURATOR ​

address which has access to manage rewards amounts, start time etc.

solidity
address internal immutable CONFIGURATOR;

FTOKEN ​

address of the fTokens where these rewards are supposed to be set

solidity
address public immutable FTOKEN;

FTOKEN2 ​

solidity
address public immutable FTOKEN2;

FTOKEN3 ​

solidity
address public immutable FTOKEN3;