Error codes / Heaven DEX
Heaven DEX error codes
Every custom error code published by Heaven DEX, with what it means and what to do about it.
HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o
- 6000 · 0x1770UnsupportedTokenMint
Unsupported token mint
- 6001 · 0x1771InvalidTokenVaultBalance
Invalid token vault balance
- 6002 · 0x1772InvalidUserToken
Invalid user token
- 6003 · 0x1773InvalidTaxationMode
Invalid taxation mode
- 6004 · 0x1774InvalidOwner
Invalid owner
- 6005 · 0x1775InvalidLockLiquidityProviderTokenPercentage
Invalid lock liquidity provider token percentage
- 6006 · 0x1776CannotCreatePoolWithDisabledProtocolConfigVersion
Cannot create pool with the a disabled protocol config version
- 6007 · 0x1777InvalidTokenInputAmount
Invalid token input amount
- 6008 · 0x1778InvalidSwapTax
Invalid swap tax
- 6009 · 0x1779InvalidFeeMode
Invalid fee mode
- 6010 · 0x177aInvalidLiquidityProviderTokenLockVault
Invalid liquidity provider token lock vault
- 6011 · 0x177bInvalidUserLiquidityProviderTokenVault
Invalid liquidity provider token vault
- 6012 · 0x177cInsufficientBalance
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6013 · 0x177dExceededSlippage
The swap would have paid out less than the minimum this transaction allowed. The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
- 6014 · 0x177eInvalidAddLiquidityInput
Invalid add liquidity input
- 6015 · 0x177fInvalidRemoveLiquidityInput
Invalid remove liquidity input
- 6016 · 0x1780AddLiquidityDisabled
Add liquidity is disabled
- 6017 · 0x1781RemoveLiquidityDisabled
Remove liquidity is disabled
- 6018 · 0x1782SwapDisabled
Swap is disabled
- 6019 · 0x1783LiquidityPoolIsNotOpenYet
Liquidity pool is not open yet
- 6020 · 0x1784InvalidSwapInInputs
Invalid swap in inputs
- 6021 · 0x1785InvalidProtocolSwapFeeWallet
Invalid protocol swap fee wallet
- 6022 · 0x1786InvalidSwapOutInputs
Invalid swap out inputs
- 6023 · 0x1787InvalidPostFeeAmount
Invalid post fee amount
- 6024 · 0x1788ExceededQuoteTokenSlippage
The swap would have paid out less than the minimum this transaction allowed. The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
- 6025 · 0x1789ExceededBaseTokenSlippage
The swap would have paid out less than the minimum this transaction allowed. The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
- 6026 · 0x178aLpTokensLocked
Lp tokens locked
- 6027 · 0x178bInvalidProtocolBaseTokenSwapFeeVault
Invalid protocol base token swap fee vault
- 6028 · 0x178cInvalidProtocolQuoteTokenSwapFeeVault
Invalid protocol quote token swap fee vault
- 6029 · 0x178dInvalidUserPoolStatsAccount
Invalid user pool stats account
- 6030 · 0x178eInvalidUserGlobalStatsAccount
Invalid user global stats account
- 6031 · 0x178fCannotUpdateLpLock
Cannot update lp lock
- 6032 · 0x1790ZeroAmount
Zero amount
- 6033 · 0x1791CannotUpdateLpOpenTime
Cannot update lp open time
- 6034 · 0x1792CannotSetLockBurnLpTokens
Cannot set lock burn lp tokens
- 6035 · 0x1793InvalidTax
Invalid tax
- 6036 · 0x1794InvalidChainlinkFeedAccount
Invalid chainlink feed account
- 6037 · 0x1795InvalidChainlinkProgram
Invalid chainlink program
- 6038 · 0x1796InvalidConfigVersion
Invalid config version
- 6039 · 0x1797CannotUpdateLockedTaxation
Cannot update locked taxation
- 6040 · 0x1798CannotClaimSwapFee
Cannot claim swap fee
- 6041 · 0x1799NonCreatorCannotAddLp
This pool does not allow non-creator to add lp
- 6042 · 0x179aSimpleAmmBaseTokenCannotHaveFreezeAuthority
Simple amm base token mint cannot have freeze authority
- 6043 · 0x179bSimpleAmmBaseTokenCannotHaveMintAuthority
Simple amm base token mint cannot have mint authority
- 6044 · 0x179cSimpleAmmQuoteTokenMustBeWSOL
Simple amm quote token mint must be WSOL
- 6045 · 0x179dSimpleAmmBaseTokenSupplyMustMatchInputAmount
Simple amm base token supply must match input amount
- 6046 · 0x179eSimpleAmmBaseTokenMustBeSplToken
Simple amm base token mint must be SPL token
- 6047 · 0x179fInvalidProgramAuthorityLookupTableAddress
Invalid program authority lookup table address
- 6048 · 0x17a0CannotCreatePoolWithUnsupportedPoolType
The program raised this named error and published no further explanation.
- 6049 · 0x17a1InvalidLendingMarket
The program raised this named error and published no further explanation.
- 6050 · 0x17a2KaminoPriceListRefreshIxNotFound
The program raised this named error and published no further explanation.
- 6051 · 0x17a3KaminoError
The program raised this named error and published no further explanation.
- 6052 · 0x17a4ReserveRebalancing
Reserve rebalancing, please try again.
- 6053 · 0x17a5OnlySingleSwapAllowed
Only single swap allowed