Error codes / Meteora CP AMM (DAMM V2)
Meteora CP AMM (DAMM V2) error codes
Every custom error code published by Meteora CP AMM (DAMM V2), with what it means and what to do about it.
cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG
- 6000 · 0x1770MathOverflow
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 6001 · 0x1771InvalidFee
Invalid fee setup
- 6002 · 0x1772ExceededSlippage
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.
- 6003 · 0x1773PoolDisabled
Pool disabled
- 6004 · 0x1774ExceedMaxFeeBps
Exceeded max fee bps
- 6005 · 0x1775InvalidAdmin
Invalid admin
- 6006 · 0x1776AmountIsZero
Amount is zero
- 6007 · 0x1777TypeCastFailed
Type cast error
- 6008 · 0x1778UnableToModifyActivationPoint
Unable to modify activation point
- 6009 · 0x1779InvalidAuthorityToCreateThePool
Invalid authority to create the pool
- 6010 · 0x177aInvalidActivationType
Invalid activation type
- 6011 · 0x177bInvalidActivationPoint
Invalid activation point
- 6012 · 0x177cInvalidQuoteMint
Quote token must be SOL,USDC
- 6013 · 0x177dInvalidFeeCurve
Invalid fee curve
- 6014 · 0x177eInvalidPriceRange
Invalid Price Range
- 6015 · 0x177fPriceRangeViolation
Trade is over price range
- 6016 · 0x1780InvalidParameters
Invalid parameters
- 6017 · 0x1781InvalidCollectFeeMode
Invalid collect fee mode
- 6018 · 0x1782InvalidInput
Invalid input
- 6019 · 0x1783CannotCreateTokenBadgeOnSupportedMint
Cannot create token badge on supported mint
- 6020 · 0x1784InvalidTokenBadge
Invalid token badge
- 6021 · 0x1785InvalidMinimumLiquidity
Invalid minimum liquidity
- 6022 · 0x1786InvalidVestingInfo
Invalid vesting information
- 6023 · 0x1787InsufficientLiquidity
The account does not hold enough of the token or SOL this instruction tried to spend.
- 6024 · 0x1788InvalidVestingAccount
Invalid vesting account
- 6025 · 0x1789InvalidPoolStatus
Invalid pool status
- 6026 · 0x178aUnsupportNativeMintToken2022
Unsupported native mint token2022
- 6027 · 0x178bInvalidRewardIndex
Invalid reward index
- 6028 · 0x178cInvalidRewardDuration
Invalid reward duration
- 6029 · 0x178dRewardInitialized
Reward already initialized
- 6030 · 0x178eRewardUninitialized
Reward not initialized
- 6031 · 0x178fInvalidRewardVault
Invalid reward vault
- 6032 · 0x1790MustWithdrawnIneligibleReward
Must withdraw ineligible reward
- 6033 · 0x1791IdenticalRewardDuration
Reward duration is the same
- 6034 · 0x1792RewardCampaignInProgress
Reward campaign in progress
- 6035 · 0x1793IdenticalFunder
Identical funder
- 6036 · 0x1794InvalidFunder
Invalid funder
- 6037 · 0x1795RewardNotEnded
Reward not ended
- 6038 · 0x1796FeeInverseIsIncorrect
Fee inverse is incorrect
- 6039 · 0x1797PositionIsNotEmpty
Position is not empty
- 6040 · 0x1798InvalidPoolCreatorAuthority
Invalid pool creator authority
- 6041 · 0x1799InvalidConfigType
Invalid config type
- 6042 · 0x179aInvalidPoolCreator
Invalid pool creator
- 6043 · 0x179bRewardVaultFrozenSkipRequired
Reward vault is frozen, must skip reward to proceed
- 6044 · 0x179cInvalidSplitPositionParameters
Invalid parameters for split position
- 6045 · 0x179dUnsupportPositionHasVestingLock
Unsupported split position has vesting lock
- 6046 · 0x179eSamePosition
Same position
- 6047 · 0x179fInvalidBaseFeeMode
Invalid base fee mode
- 6048 · 0x17a0InvalidFeeRateLimiter
Invalid fee rate limiter
- 6049 · 0x17a1FailToValidateSingleSwapInstruction
Fail to validate single swap instruction in rate limiter
- 6050 · 0x17a2InvalidFeeScheduler
Invalid fee scheduler
- 6051 · 0x17a3UndeterminedError
Undetermined error
- 6052 · 0x17a4InvalidPoolVersion
Invalid pool version