Error codes / Moonshot
Moonshot error codes
Every custom error code published by Moonshot, with what it means and what to do about it.
MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG
- 6000 · 0x1770InsufficientBalance
Insufficient SOL to pay for the transaction.
- 6001 · 0x1771InvalidAmount
The amount must be available in the curve .
- 6002 · 0x1772InvalidSlippage
The slippage must be under 100 percent.
- 6003 · 0x1773SlippageOverflow
The cost amount is not in the allowed slippage interval.
- 6004 · 0x1774ThresholdReached
Threshold limit exceeded.
- 6005 · 0x1775InvalidTokenAccount
Trade disabled, market cap threshold reached.
- 6006 · 0x1776InvalidCurveAccount
Invalid curve account.
- 6007 · 0x1777InvalidFeeAccount
Invalid fee account address.
- 6008 · 0x1778CurveLimit
Curve limit exceeded.
- 6009 · 0x1779InvalidCurveType
Invalid curve type.
- 6010 · 0x177aInvalidCurrency
Invalid currency.
- 6011 · 0x177bArithmetics
Artithmetics error
- 6012 · 0x177cThresholdNotHit
Market Cap threshold not hit, cannot migrate funds yet
- 6013 · 0x177dInvalidAuthority
Invalid Authority provided.
- 6014 · 0x177eTradeAmountTooLow
Trade amount too low , resulting in 0 costs
- 6015 · 0x177fConfigFieldMissing
Config field needs to be present during initialization
- 6016 · 0x1780DifferentCurrencies
Unsupported different currency types
- 6017 · 0x1781BasisPointTooHigh
Basis points too high
- 6018 · 0x1782FeeShareTooHigh
Fee share too High
- 6019 · 0x1783TokenDecimalsOutOfRange
Token decimals are not within the supported range
- 6020 · 0x1784TokenNameTooLong
Token Name too long, max supported length is 32 bytes
- 6021 · 0x1785TokenSymbolTooLong
Token Symbol too long, max supported length is 10 bytes
- 6022 · 0x1786TokenURITooLong
Token URI too long, max supported length is 200 bytes
- 6023 · 0x1787IncorrectDecimalPlacesBounds
Minimum Decimal Places cannot be lower than Maximum Decimal Places
- 6024 · 0x1788IncorrectTokenSupplyBounds
Minimum Token Supply cannot be lower than Maximum Token Supply
- 6025 · 0x1789TotalSupplyOutOfBounds
Token Total Supply out of bounds
- 6026 · 0x178aFinalCollateralTooLow
This setup will produce final collateral amount less than the migration fee
- 6027 · 0x178bCoefficientZero
One of the Coefficients is equal to ZERO
- 6028 · 0x178cMarketCapThresholdTooLow
Market cap Threshold under the Hard lower bound limits
- 6029 · 0x178dCoefBOutofBounds
Default coef_b set out of hard limit bounds
- 6030 · 0x178eGeneral
General error