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

VaultT1__AlreadyEntered

uint256 VaultT1__AlreadyEntered

thrown at reentrancy

VaultT1__InvalidOperateAmount

uint256 VaultT1__InvalidOperateAmount

thrown when user sends deposit & borrow amount as 0

VaultT1__InvalidMsgValueOperate

uint256 VaultT1__InvalidMsgValueOperate

thrown when msg.value is not in sync with native token deposit or payback

VaultT1__NotAnOwner

uint256 VaultT1__NotAnOwner

thrown when msg.sender is not the owner of the vault

VaultT1__TickIsEmpty

uint256 VaultT1__TickIsEmpty

thrown when user's position does not exist. Sending the wrong index from the frontend

VaultT1__PositionAboveCF

uint256 VaultT1__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

VaultT1__TopTickDoesNotExist

uint256 VaultT1__TopTickDoesNotExist

thrown when the top tick is not initialized. Happens if the vault is totally new or all the user's left

VaultT1__InvalidMsgValueLiquidate

uint256 VaultT1__InvalidMsgValueLiquidate

thrown when msg.value in liquidate is not in sync payback

VaultT1__ExcessSlippageLiquidation

uint256 VaultT1__ExcessSlippageLiquidation

thrown when slippage is more on liquidation than what the liquidator sent

VaultT1__NotRebalancer

uint256 VaultT1__NotRebalancer

thrown when msg.sender is not the rebalancer/reserve contract

VaultT1__NftNotOfThisVault

uint256 VaultT1__NftNotOfThisVault

thrown when NFT of one vault interacts with the NFT of other vault

VaultT1__TokenNotInitialized

uint256 VaultT1__TokenNotInitialized

thrown when the token is not initialized on the liquidity contract

VaultT1__NotAnAuth

uint256 VaultT1__NotAnAuth

thrown when admin updates fallback if a non-auth calls vault

VaultT1__ExcessCollateralWithdrawal

uint256 VaultT1__ExcessCollateralWithdrawal

thrown in operate when user tries to witdhraw more collateral than deposited

VaultT1__ExcessDebtPayback

uint256 VaultT1__ExcessDebtPayback

thrown in operate when user tries to payback more debt than borrowed

VaultT1__WithdrawMoreThanOperateLimit

uint256 VaultT1__WithdrawMoreThanOperateLimit

thrown when user try to withdrawal more than operate's withdrawal limit

VaultT1__InvalidLiquidityCallbackAddress

uint256 VaultT1__InvalidLiquidityCallbackAddress

thrown when caller of liquidityCallback is not Liquidity

VaultT1__NotEntered

uint256 VaultT1__NotEntered

thrown when reentrancy is not already on

VaultT1__OnlyDelegateCallAllowed

uint256 VaultT1__OnlyDelegateCallAllowed

thrown when someone directly calls secondary implementation contract

VaultT1__TransferFromFailed

uint256 VaultT1__TransferFromFailed

thrown when the safeTransferFrom for a token amount failed

VaultT1__ExchangePriceOverFlow

uint256 VaultT1__ExchangePriceOverFlow

thrown when exchange price overflows while updating on storage

VaultT1__InvalidLiquidationAmt

uint256 VaultT1__InvalidLiquidationAmt

thrown when debt to liquidate amt is sent wrong

VaultT1__UserCollateralDebtExceed

uint256 VaultT1__UserCollateralDebtExceed

thrown when user debt or collateral goes above 2128 or below -2128

VaultT1__BranchDebtTooLow

uint256 VaultT1__BranchDebtTooLow

thrown if on liquidation branch debt becomes lower than 100

VaultT1__TickDebtTooLow

uint256 VaultT1__TickDebtTooLow

thrown when tick's debt is less than 10000

VaultT1__LiquidityExchangePriceUnexpected

uint256 VaultT1__LiquidityExchangePriceUnexpected

thrown when the received new liquidity exchange price is of unexpected value (< than the old one)

VaultT1__UserDebtTooLow

uint256 VaultT1__UserDebtTooLow

thrown when user's debt is less than 10000

VaultT1__InvalidPaybackOrDeposit

uint256 VaultT1__InvalidPaybackOrDeposit

thrown when on only payback and only deposit the ratio of position increases

VaultT1__InvalidLiquidation

uint256 VaultT1__InvalidLiquidation

thrown when liquidation just happens of a single partial

VaultT1__InvalidMsgValueInRebalance

uint256 VaultT1__InvalidMsgValueInRebalance

thrown when msg.value is sent wrong in rebalance

VaultT1__NothingToRebalance

uint256 VaultT1__NothingToRebalance

thrown when nothing rebalanced

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

VaultT1Admin__ValueAboveLimit

uint256 VaultT1Admin__ValueAboveLimit

thrown when admin tries to setup invalid value which are crossing limits

VaultT1Admin__OnlyDelegateCallAllowed

uint256 VaultT1Admin__OnlyDelegateCallAllowed

when someone directly calls admin implementation contract

VaultT1Admin__NftIdShouldBeNonZero

uint256 VaultT1Admin__NftIdShouldBeNonZero

thrown when auth sends NFT ID as 0 while collecting dust debt

VaultT1Admin__NftNotOfThisVault

uint256 VaultT1Admin__NftNotOfThisVault

thrown when trying to collect dust debt of NFT which is not of this vault

VaultT1Admin__DustDebtIsZero

uint256 VaultT1Admin__DustDebtIsZero

thrown when dust debt of NFT is 0, meaning nothing to collect

VaultT1Admin__FinalDebtShouldBeZero

uint256 VaultT1Admin__FinalDebtShouldBeZero

thrown when final debt after liquidation is not 0, meaning position 100% liquidated

VaultT1Admin__NftNotLiquidated

uint256 VaultT1Admin__NftNotLiquidated

thrown when NFT is not liquidated state

VaultT1Admin__AbsorbedDustDebtIsZero

uint256 VaultT1Admin__AbsorbedDustDebtIsZero

thrown when total absorbed dust debt is 0

VaultT1Admin__AddressZeroNotAllowed

uint256 VaultT1Admin__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__AlreadyStarted

uint256 VaultRewards__AlreadyStarted

VaultRewards__RewardsNotStartedOrEnded

uint256 VaultRewards__RewardsNotStartedOrEnded