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