Constants

Git Source

State Variables

LIQUIDITY

IFluidLiquidity public immutable LIQUIDITY;

RESERVE_CONTRACT

IFluidReserveContract public immutable RESERVE_CONTRACT;

VAULT

IFluidVaultT1 public immutable VAULT;

REWARDS_AMOUNT

uint256 public immutable REWARDS_AMOUNT;

REWARDS_AMOUNT_PER_YEAR

uint256 public immutable REWARDS_AMOUNT_PER_YEAR;

DURATION

uint256 public immutable DURATION;

INITIATOR

address public immutable INITIATOR;

VAULT_COLLATERAL_TOKEN

address public immutable VAULT_COLLATERAL_TOKEN;

LIQUIDITY_TOTAL_AMOUNTS_COLLATERAL_TOKEN_SLOT

bytes32 internal immutable LIQUIDITY_TOTAL_AMOUNTS_COLLATERAL_TOKEN_SLOT;

LIQUIDITY_EXCHANGE_PRICE_COLLATERAL_TOKEN_SLOT

bytes32 internal immutable LIQUIDITY_EXCHANGE_PRICE_COLLATERAL_TOKEN_SLOT;

FOUR_DECIMALS

uint256 internal constant FOUR_DECIMALS = 10000;

SECONDS_PER_YEAR

uint256 internal constant SECONDS_PER_YEAR = 365 days;

DEFAULT_EXPONENT_SIZE

uint256 internal constant DEFAULT_EXPONENT_SIZE = 8;

DEFAULT_EXPONENT_MASK

uint256 internal constant DEFAULT_EXPONENT_MASK = 0xff;

EXCHANGE_PRICES_PRECISION

uint256 internal constant EXCHANGE_PRICES_PRECISION = 1e12;

X14

uint256 internal constant X14 = 0x3fff;

X16

uint256 internal constant X16 = 0xffff;

X64

uint256 internal constant X64 = 0xffffffffffffffff;