ErrorTypes

StETH__MaxLTVZero

uint256 StETH__MaxLTVZero

thrown when maxLTV precent amount is set to 0

StETH__MaxLTV

uint256 StETH__MaxLTV

thrown when the borrow ETH amount to StETH collateral ratio is bigger than the configured maxLTV

StETH__InvalidERC721Transfer

uint256 StETH__InvalidERC721Transfer

thrown when an ERC721 other than a Lido Withdrawal NFT is transferred to this contract

StETH__InputAmountZero

uint256 StETH__InputAmountZero

thrown when an input amount (ethBorrowAmount or stETHAmount) is zero

StETH__UnexpectedLiquidityCallback

uint256 StETH__UnexpectedLiquidityCallback

thrown when liquidityCallback is called, as this protocol only uses native token as borrow asset

StETH__NoClaimQueued

uint256 StETH__NoClaimQueued

thrown when there is no claim queued for a claim owner

StETH__Unauthorized

uint256 StETH__Unauthorized

thrown when an unauthorized msg.sender calls a protected method

StETH__BorrowAmountRawRoundingZero

uint256 StETH__BorrowAmountRawRoundingZero

thrown when the borrowAmountRaw is rounded to zero because of the exchange price

StETH__AddressZero

uint256 StETH__AddressZero

thrown when an input address is zero

StETH__Reentrancy

uint256 StETH__Reentrancy

thrown when a reentrancy happens

StETH__MaxLTVAboveCap

uint256 StETH__MaxLTVAboveCap

thrown when maxLTV precent amount is set to >= 100%

StETH__RenounceOwnershipUnsupported

uint256 StETH__RenounceOwnershipUnsupported

thrown when renounceOwnership is called