Skip to content

ErrorTypes ​

StETH__MaxLTVZero ​

solidity
uint256 StETH__MaxLTVZero

thrown when maxLTV precent amount is set to 0

StETH__MaxLTV ​

solidity
uint256 StETH__MaxLTV

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

StETH__InvalidERC721Transfer ​

solidity
uint256 StETH__InvalidERC721Transfer

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

StETH__InputAmountZero ​

solidity
uint256 StETH__InputAmountZero

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

StETH__UnexpectedLiquidityCallback ​

solidity
uint256 StETH__UnexpectedLiquidityCallback

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

StETH__NoClaimQueued ​

solidity
uint256 StETH__NoClaimQueued

thrown when there is no claim queued for a claim owner

StETH__Unauthorized ​

solidity
uint256 StETH__Unauthorized

thrown when an unauthorized msg.sender calls a protected method

StETH__BorrowAmountRawRoundingZero ​

solidity
uint256 StETH__BorrowAmountRawRoundingZero

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

StETH__AddressZero ​

solidity
uint256 StETH__AddressZero

thrown when an input address is zero

StETH__Reentrancy ​

solidity
uint256 StETH__Reentrancy

thrown when a reentrancy happens

StETH__MaxLTVAboveCap ​

solidity
uint256 StETH__MaxLTVAboveCap

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

StETH__RenounceOwnershipUnsupported ​

solidity
uint256 StETH__RenounceOwnershipUnsupported

thrown when renounceOwnership is called