Skip to content

Constants ​

Git Source

State Variables ​

LIQUIDITY ​

solidity
IFluidLiquidity public immutable LIQUIDITY;

RESERVE_CONTRACT ​

solidity
IFluidReserveContract public immutable RESERVE_CONTRACT;

VAULT ​

solidity
IFluidVaultT1 public immutable VAULT;

REWARDS_AMOUNT ​

solidity
uint256 public immutable REWARDS_AMOUNT;

REWARDS_AMOUNT_PER_YEAR ​

solidity
uint256 public immutable REWARDS_AMOUNT_PER_YEAR;

DURATION ​

solidity
uint256 public immutable DURATION;

INITIATOR ​

solidity
address public immutable INITIATOR;

VAULT_COLLATERAL_TOKEN ​

solidity
address public immutable VAULT_COLLATERAL_TOKEN;

LIQUIDITY_TOTAL_AMOUNTS_COLLATERAL_TOKEN_SLOT ​

solidity
bytes32 internal immutable LIQUIDITY_TOTAL_AMOUNTS_COLLATERAL_TOKEN_SLOT;

LIQUIDITY_EXCHANGE_PRICE_COLLATERAL_TOKEN_SLOT ​

solidity
bytes32 internal immutable LIQUIDITY_EXCHANGE_PRICE_COLLATERAL_TOKEN_SLOT;

FOUR_DECIMALS ​

solidity
uint256 internal constant FOUR_DECIMALS = 10000;

SECONDS_PER_YEAR ​

solidity
uint256 internal constant SECONDS_PER_YEAR = 365 days;

DEFAULT_EXPONENT_SIZE ​

solidity
uint256 internal constant DEFAULT_EXPONENT_SIZE = 8;

DEFAULT_EXPONENT_MASK ​

solidity
uint256 internal constant DEFAULT_EXPONENT_MASK = 0xff;

EXCHANGE_PRICES_PRECISION ​

solidity
uint256 internal constant EXCHANGE_PRICES_PRECISION = 1e12;

X14 ​

solidity
uint256 internal constant X14 = 0x3fff;

X16 ​

solidity
uint256 internal constant X16 = 0xffff;

X64 ​

solidity
uint256 internal constant X64 = 0xffffffffffffffff;