ErrorTypes ​
VaultFactory__InvalidOperation ​
uint256 VaultFactory__InvalidOperation
VaultFactory__Unauthorized ​
uint256 VaultFactory__Unauthorized
VaultFactory__SameTokenNotAllowed ​
uint256 VaultFactory__SameTokenNotAllowed
VaultFactory__InvalidParams ​
uint256 VaultFactory__InvalidParams
VaultFactory__InvalidVault ​
uint256 VaultFactory__InvalidVault
VaultFactory__InvalidVaultAddress ​
uint256 VaultFactory__InvalidVaultAddress
VaultFactory__OnlyDelegateCallAllowed ​
uint256 VaultFactory__OnlyDelegateCallAllowed
Vault__AlreadyEntered ​
uint256 Vault__AlreadyEntered
thrown at reentrancy
Vault__InvalidOperateAmount ​
uint256 Vault__InvalidOperateAmount
thrown when user sends deposit & borrow amount as 0
Vault__InvalidMsgValueOperate ​
uint256 Vault__InvalidMsgValueOperate
thrown when msg.value is not in sync with native token deposit or payback
Vault__NotAnOwner ​
uint256 Vault__NotAnOwner
thrown when msg.sender is not the owner of the vault
Vault__TickIsEmpty ​
uint256 Vault__TickIsEmpty
thrown when user's position does not exist. Sending the wrong index from the frontend
Vault__PositionAboveCF ​
uint256 Vault__PositionAboveCF
thrown when the user's position is above CF and the user tries to make it more risky by trying to withdraw or borrow
Vault__TopTickDoesNotExist ​
uint256 Vault__TopTickDoesNotExist
thrown when the top tick is not initialized. Happens if the vault is totally new or all the user's left
Vault__InvalidMsgValueLiquidate ​
uint256 Vault__InvalidMsgValueLiquidate
thrown when msg.value in liquidate is not in sync payback
Vault__ExcessSlippageLiquidation ​
uint256 Vault__ExcessSlippageLiquidation
thrown when slippage is more on liquidation than what the liquidator sent
Vault__NotRebalancer ​
uint256 Vault__NotRebalancer
thrown when msg.sender is not the rebalancer/reserve contract
Vault__NftNotOfThisVault ​
uint256 Vault__NftNotOfThisVault
thrown when NFT of one vault interacts with the NFT of other vault
Vault__TokenNotInitialized ​
uint256 Vault__TokenNotInitialized
thrown when the token is not initialized on the liquidity contract
Vault__NotAnAuth ​
uint256 Vault__NotAnAuth
thrown when admin updates fallback if a non-auth calls vault
Vault__ExcessCollateralWithdrawal ​
uint256 Vault__ExcessCollateralWithdrawal
thrown in operate when user tries to witdhraw more collateral than deposited
Vault__ExcessDebtPayback ​
uint256 Vault__ExcessDebtPayback
thrown in operate when user tries to payback more debt than borrowed
Vault__WithdrawMoreThanOperateLimit ​
uint256 Vault__WithdrawMoreThanOperateLimit
thrown when user try to withdrawal more than operate's withdrawal limit
Vault__InvalidLiquidityCallbackAddress ​
uint256 Vault__InvalidLiquidityCallbackAddress
thrown when caller of liquidityCallback is not Liquidity
Vault__NotEntered ​
uint256 Vault__NotEntered
thrown when reentrancy is not already on
Vault__OnlyDelegateCallAllowed ​
uint256 Vault__OnlyDelegateCallAllowed
thrown when someone directly calls operate or secondary implementation contract
Vault__TransferFromFailed ​
uint256 Vault__TransferFromFailed
thrown when the safeTransferFrom for a token amount failed
Vault__ExchangePriceOverFlow ​
uint256 Vault__ExchangePriceOverFlow
thrown when exchange price overflows while updating on storage
Vault__InvalidLiquidationAmt ​
uint256 Vault__InvalidLiquidationAmt
thrown when debt to liquidate amt is sent wrong
Vault__UserCollateralDebtExceed ​
uint256 Vault__UserCollateralDebtExceed
thrown when user debt or collateral goes above 2128 or below -2128
Vault__BranchDebtTooLow ​
uint256 Vault__BranchDebtTooLow
thrown if on liquidation branch debt becomes lower than 100
Vault__TickDebtTooLow ​
uint256 Vault__TickDebtTooLow
thrown when tick's debt is less than 10000
Vault__LiquidityExchangePriceUnexpected ​
uint256 Vault__LiquidityExchangePriceUnexpected
thrown when the received new liquidity exchange price is of unexpected value (< than the old one)
Vault__UserDebtTooLow ​
uint256 Vault__UserDebtTooLow
thrown when user's debt is less than 10000
Vault__InvalidPaybackOrDeposit ​
uint256 Vault__InvalidPaybackOrDeposit
thrown when on only payback and only deposit the ratio of position increases
Vault__InvalidLiquidation ​
uint256 Vault__InvalidLiquidation
thrown when liquidation just happens of a single partial or when there's nothing to liquidate
Vault__InvalidMsgValueInRebalance ​
uint256 Vault__InvalidMsgValueInRebalance
thrown when msg.value is sent wrong in rebalance
Vault__NothingToRebalance ​
uint256 Vault__NothingToRebalance
thrown when nothing rebalanced
Vault__LiquidationReverts ​
uint256 Vault__LiquidationReverts
thrown on unforseen liquidation scenarios. Might never come in use.
Vault__InvalidOraclePrice ​
uint256 Vault__InvalidOraclePrice
thrown when oracle price is > 1e54
Vault__ImproperConstantsSetup ​
uint256 Vault__ImproperConstantsSetup
thrown when constants are not set properly via contructor
Vault__FetchLatestPositionFailed ​
uint256 Vault__FetchLatestPositionFailed
thrown when externally calling fetchLatestPosition function
Vault__InvalidDexCallbackAddress ​
uint256 Vault__InvalidDexCallbackAddress
thrown when dex callback is not from dex
Vault__DexFromAddressAlreadySet ​
uint256 Vault__DexFromAddressAlreadySet
thrown when dex callback is already set
Vault__InvalidMinMaxInRebalance ​
uint256 Vault__InvalidMinMaxInRebalance
thrown when an invalid min / max amounts config is passed to rebalance()
ERC721__InvalidParams ​
uint256 ERC721__InvalidParams
ERC721__Unauthorized ​
uint256 ERC721__Unauthorized
ERC721__InvalidOperation ​
uint256 ERC721__InvalidOperation
ERC721__UnsafeRecipient ​
uint256 ERC721__UnsafeRecipient
ERC721__OutOfBoundsIndex ​
uint256 ERC721__OutOfBoundsIndex
VaultAdmin__ValueAboveLimit ​
uint256 VaultAdmin__ValueAboveLimit
thrown when admin tries to setup invalid value which are crossing limits
VaultAdmin__OnlyDelegateCallAllowed ​
uint256 VaultAdmin__OnlyDelegateCallAllowed
when someone directly calls admin implementation contract
VaultAdmin__NftIdShouldBeNonZero ​
uint256 VaultAdmin__NftIdShouldBeNonZero
thrown when auth sends NFT ID as 0 while collecting dust debt
VaultAdmin__NftNotOfThisVault ​
uint256 VaultAdmin__NftNotOfThisVault
thrown when trying to collect dust debt of NFT which is not of this vault
VaultAdmin__DustDebtIsZero ​
uint256 VaultAdmin__DustDebtIsZero
thrown when dust debt of NFT is 0, meaning nothing to collect
VaultAdmin__FinalDebtShouldBeZero ​
uint256 VaultAdmin__FinalDebtShouldBeZero
thrown when final debt after liquidation is not 0, meaning position 100% liquidated
VaultAdmin__NftNotLiquidated ​
uint256 VaultAdmin__NftNotLiquidated
thrown when NFT is not liquidated state
VaultAdmin__AbsorbedDustDebtIsZero ​
uint256 VaultAdmin__AbsorbedDustDebtIsZero
thrown when total absorbed dust debt is 0
VaultAdmin__AddressZeroNotAllowed ​
uint256 VaultAdmin__AddressZeroNotAllowed
thrown when address is set as 0
VaultRewards__Unauthorized ​
uint256 VaultRewards__Unauthorized
VaultRewards__AddressZero ​
uint256 VaultRewards__AddressZero
VaultRewards__InvalidParams ​
uint256 VaultRewards__InvalidParams
VaultRewards__NewMagnifierSameAsOldMagnifier ​
uint256 VaultRewards__NewMagnifierSameAsOldMagnifier
VaultRewards__NotTheInitiator ​
uint256 VaultRewards__NotTheInitiator
VaultRewards__NotTheGovernance ​
uint256 VaultRewards__NotTheGovernance
VaultRewards__AlreadyStarted ​
uint256 VaultRewards__AlreadyStarted
VaultRewards__RewardsNotStartedOrEnded ​
uint256 VaultRewards__RewardsNotStartedOrEnded
VaultRewards__InvalidStartTime ​
uint256 VaultRewards__InvalidStartTime
VaultRewards__AlreadyEnded ​
uint256 VaultRewards__AlreadyEnded
VaultDex__InvalidOperateAmount ​
uint256 VaultDex__InvalidOperateAmount
VaultDex__DebtSharesPaidMoreThanAvailableLiquidation ​
uint256 VaultDex__DebtSharesPaidMoreThanAvailableLiquidation
VaultBorrowRewards__Unauthorized ​
uint256 VaultBorrowRewards__Unauthorized
VaultBorrowRewards__AddressZero ​
uint256 VaultBorrowRewards__AddressZero
VaultBorrowRewards__InvalidParams ​
uint256 VaultBorrowRewards__InvalidParams
VaultBorrowRewards__NewMagnifierSameAsOldMagnifier ​
uint256 VaultBorrowRewards__NewMagnifierSameAsOldMagnifier
VaultBorrowRewards__NotTheInitiator ​
uint256 VaultBorrowRewards__NotTheInitiator
VaultBorrowRewards__NotTheGovernance ​
uint256 VaultBorrowRewards__NotTheGovernance
VaultBorrowRewards__AlreadyStarted ​
uint256 VaultBorrowRewards__AlreadyStarted
VaultBorrowRewards__RewardsNotStartedOrEnded ​
uint256 VaultBorrowRewards__RewardsNotStartedOrEnded
VaultBorrowRewards__InvalidStartTime ​
uint256 VaultBorrowRewards__InvalidStartTime
VaultBorrowRewards__AlreadyEnded ​
uint256 VaultBorrowRewards__AlreadyEnded