Constants
State Variables
HUNDRED_PERCENT
hundred percent at 1e2 precision
uint256 internal constant HUNDRED_PERCENT = 1e4;
EXCHANGE_PRICES_PRECISION
precision for exchange prices in Liquidity
uint256 internal constant EXCHANGE_PRICES_PRECISION = 1e12;
NATIVE_TOKEN_ADDRESS
address that is mapped to the chain native token at Liquidity
address internal constant NATIVE_TOKEN_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
DUST_BORROW_AMOUNT
dust amount to borrow from Liquidity at initialize()
uint256 internal constant DUST_BORROW_AMOUNT = 1e12;
LIQUIDITY
address of the Liquidity contract.
IFluidLiquidity internal immutable LIQUIDITY;
LIDO_WITHDRAWAL_QUEUE
address of the Lido Withdrawal Queue contract (0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1)
ILidoWithdrawalQueue internal immutable LIDO_WITHDRAWAL_QUEUE;
STETH
address of the StETH contract.
IERC20 internal immutable STETH;
LIQUIDITY_EXCHANGE_PRICES_SLOT
slot id in Liquidity contract for exchange prices storage slot for NATIVE_TOKEN_ADDRESS.
bytes32 internal immutable LIQUIDITY_EXCHANGE_PRICES_SLOT;
Functions
constructor
constructor(IFluidLiquidity liquidity_, ILidoWithdrawalQueue lidoWithdrawalQueue_, IERC20 stETH_);
constantsView
returns the constant values for LIQUIDITY, LIDO_WITHDRAWAL_QUEUE, STETH
function constantsView() external view returns (IFluidLiquidity, ILidoWithdrawalQueue, IERC20);