IFluidStETHResolver
STETH_QUEUE
function STETH_QUEUE() external view returns (contract IFluidStETHQueue)
address of the stETHQueue contract
LIDO_WITHDRAWAL_QUEUE
function LIDO_WITHDRAWAL_QUEUE() external view returns (contract ILidoWithdrawalQueue)
address of the Lido Withdrawal Queue contract (0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1)
LIQUIDITY_RESOLVER
function LIQUIDITY_RESOLVER() external view returns (contract IFluidLiquidityResolver)
address of the LiquidityResolver
config
function config() external view returns (contract IFluidLiquidity liquidity_, contract ILidoWithdrawalQueue lidoWithdrawalQueue_, contract IERC20 stETH_, address owner_, uint16 maxLTV_, bool allowListActive_, bool isPaused_, struct Structs.UserBorrowData userBorrowData_, struct Structs.OverallTokenData overallTokenData_)
returns all constants and config values
isClaimable
function isClaimable(address claimTo_, uint256 requestIdFrom_) external view returns (bool)
checks if a linked claim for claimTo_
and claimTo_
is ready to be processed at Lido Withdrawal Queue
Parameters
Name | Type | Description |
---|---|---|
claimTo_ | address | claimTo receiver to process the claim for |
requestIdFrom_ | uint256 | Lido requestId from (start), as emitted at time of queuing via LogQueue |
isAuth
function isAuth(address auth_) external view returns (bool)
reads if a certain auth_
address is an allowed auth or not
isGuardian
function isGuardian(address guardian_) external view returns (bool)
reads if a certain guardian_
address is an allowed guardian or not
isUserAllowed
function isUserAllowed(address user_) external view returns (bool)
reads if a certain user_
address is an allowed user or not
isPaused
function isPaused() external view returns (bool)
reads if the protocol is paused or not
claim
function claim(address claimTo_, uint256 requestIdFrom_) external view returns (struct Structs.Claim claim_, bool isClaimable_)
reads a Claim struct containing necessary information for executing the claim process from the mapping claimTo and requestIdFrom -> claims and the claimable status.
getUserBorrowData
function getUserBorrowData() external view returns (struct Structs.UserBorrowData userBorrowData_, struct Structs.OverallTokenData overallTokenData_)
returns borrow data and general data (such as rates, exchange prices, utilization, fee, total amounts etc.) for native token