Error codes / PumpSwap AMM
PumpSwap AMM error codes
Every custom error code published by PumpSwap AMM, with what it means and what to do about it.
pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA
- 6000 · 0x1770FeeBasisPointsExceedsMaximum
The program raised this named error and published no further explanation.
- 6001 · 0x1771ZeroBaseAmount
The program raised this named error and published no further explanation.
- 6002 · 0x1772ZeroQuoteAmount
The program raised this named error and published no further explanation.
- 6003 · 0x1773TooLittlePoolTokenLiquidity
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.
- 6004 · 0x1774ExceededSlippage
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.
- 6005 · 0x1775InvalidAdmin
The program raised this named error and published no further explanation.
- 6006 · 0x1776UnsupportedBaseMint
The program raised this named error and published no further explanation.
- 6007 · 0x1777UnsupportedQuoteMint
The program raised this named error and published no further explanation.
- 6008 · 0x1778InvalidBaseMint
The program raised this named error and published no further explanation.
- 6009 · 0x1779InvalidQuoteMint
The program raised this named error and published no further explanation.
- 6010 · 0x177aInvalidLpMint
The program raised this named error and published no further explanation.
- 6011 · 0x177bAllProtocolFeeRecipientsShouldBeNonZero
The program raised this named error and published no further explanation.
- 6012 · 0x177cUnsortedNotUniqueProtocolFeeRecipients
The program raised this named error and published no further explanation.
- 6013 · 0x177dInvalidProtocolFeeRecipient
The program raised this named error and published no further explanation.
- 6014 · 0x177eInvalidPoolBaseTokenAccount
The program raised this named error and published no further explanation.
- 6015 · 0x177fInvalidPoolQuoteTokenAccount
The program raised this named error and published no further explanation.
- 6016 · 0x1780BuyMoreBaseAmountThanPoolReserves
The program raised this named error and published no further explanation.
- 6017 · 0x1781DisabledCreatePool
The program raised this named error and published no further explanation.
- 6018 · 0x1782DisabledDeposit
The program raised this named error and published no further explanation.
- 6019 · 0x1783DisabledWithdraw
The program raised this named error and published no further explanation.
- 6020 · 0x1784DisabledBuy
The program raised this named error and published no further explanation.
- 6021 · 0x1785DisabledSell
The program raised this named error and published no further explanation.
- 6022 · 0x1786SameMint
The program raised this named error and published no further explanation.
- 6023 · 0x1787Overflow
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.
- 6024 · 0x1788Truncation
The program raised this named error and published no further explanation.
- 6025 · 0x1789DivisionByZero
The program raised this named error and published no further explanation.
- 6026 · 0x178aNewSizeLessThanCurrentSize
The program raised this named error and published no further explanation.
- 6027 · 0x178bAccountTypeNotSupported
The program raised this named error and published no further explanation.
- 6028 · 0x178cOnlyCanonicalPumpPoolsCanHaveCoinCreator
The program raised this named error and published no further explanation.
- 6029 · 0x178dInvalidAdminSetCoinCreatorAuthority
The program raised this named error and published no further explanation.
- 6030 · 0x178eStartTimeInThePast
The program raised this named error and published no further explanation.
- 6031 · 0x178fEndTimeInThePast
The program raised this named error and published no further explanation.
- 6032 · 0x1790EndTimeBeforeStartTime
The program raised this named error and published no further explanation.
- 6033 · 0x1791TimeRangeTooLarge
The program raised this named error and published no further explanation.
- 6034 · 0x1792EndTimeBeforeCurrentDay
The program raised this named error and published no further explanation.
- 6035 · 0x1793SupplyUpdateForFinishedRange
The program raised this named error and published no further explanation.
- 6036 · 0x1794DayIndexAfterEndIndex
The program raised this named error and published no further explanation.
- 6037 · 0x1795DayInActiveRange
The program raised this named error and published no further explanation.
- 6038 · 0x1796InvalidIncentiveMint
The program raised this named error and published no further explanation.
- 6039 · 0x1797BuyNotEnoughQuoteTokensToCoverFees
buy: Not enough quote tokens to cover for fees.
- 6040 · 0x1798BuySlippageBelowMinBaseAmountOut
buy: slippage - would buy less tokens than expected min_base_amount_out