Skip to content

ErrorTypes ​

Git Source

State Variables ​

StETH__MaxLTVZero ​

| | StETH | |__________________________________

thrown when maxLTV precent amount is set to 0

solidity
uint256 internal constant StETH__MaxLTVZero = 40001;

StETH__MaxLTV ​

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

solidity
uint256 internal constant StETH__MaxLTV = 40002;

StETH__InvalidERC721Transfer ​

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

solidity
uint256 internal constant StETH__InvalidERC721Transfer = 40003;

StETH__InputAmountZero ​

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

solidity
uint256 internal constant StETH__InputAmountZero = 40004;

StETH__UnexpectedLiquidityCallback ​

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

solidity
uint256 internal constant StETH__UnexpectedLiquidityCallback = 40005;

StETH__NoClaimQueued ​

thrown when there is no claim queued for a claim owner

solidity
uint256 internal constant StETH__NoClaimQueued = 40006;

StETH__Unauthorized ​

thrown when an unauthorized msg.sender calls a protected method

solidity
uint256 internal constant StETH__Unauthorized = 40007;

StETH__BorrowAmountRawRoundingZero ​

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

solidity
uint256 internal constant StETH__BorrowAmountRawRoundingZero = 40008;

StETH__AddressZero ​

thrown when an input address is zero

solidity
uint256 internal constant StETH__AddressZero = 40009;

StETH__Reentrancy ​

thrown when a reentrancy happens

solidity
uint256 internal constant StETH__Reentrancy = 40010;

StETH__MaxLTVAboveCap ​

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

solidity
uint256 internal constant StETH__MaxLTVAboveCap = 40011;

StETH__RenounceOwnershipUnsupported ​

thrown when renounceOwnership is called

solidity
uint256 internal constant StETH__RenounceOwnershipUnsupported = 40012;