| 6000 | NotApproved | Not approved | 呼び出し元がこの命令の設定済み管理者ではありません。または(権限命令)署名者が admin でも permission_pda_admin でもありません。または(OpenLimitOrder)入出力トークン アカウントがフリーズされているか、プールがスワップ / リミット オーダーを無効にしています。または(ClosePosition、フリーズ パス)提供された残りのアカウントが personal_position.pool_id ではありません。 | “Only the pool admin can perform this action.” / “This token account is frozen — thaw it before placing the order.” / “Internal: wrong position pool account.” |
| 6001 | InvalidUpdateConfigFlag | invalid update amm config flag | 管理者が認識されない param 値を update_amm_config に渡しました。 | N/A — admin-only path. |
| 6002 | AccountLack | Account lack | 必要な残りのアカウントが tx から欠落しています(通常、ティック配列またはオラクル拡張機能)。または ClosePosition がフリーズされた NFT をプールを最初の残りのアカウントとして閉じています。 | “Internal: missing account — refresh pool data or update the position-close builder.” |
| 6003 | ClosePositionErr | Remove liquidity, collect fees owed and reward then you can close position account | リクイディティ、未収フィー、または未収報酬がまだあるポジションを閉じようとしました。 | “Withdraw all liquidity and claim fees/rewards before closing the position.” |
| 6004 | InvalidTickIndex | Tick out of range | tick_lower または tick_upper が [-443636, 443636] の範囲外です。 | “Price range out of bounds for this pool.” |
| 6005 | TickInvalidOrder | The lower tick must be below the upper tick | tick_lower >= tick_upper。 | “Lower price must be below upper price.” |
| 6006 | TickLowerOverflow | The tick must be greater, or equal to the minimum tick(-443636) | 下位ティック アンダーフロー。 | “Lower price too low.” |
| 6007 | TickUpperOverflow | The tick must be lesser than, or equal to the maximum tick(443636) | 上位ティック オーバーフロー。 | “Upper price too high.” |
| 6008 | TickAndSpacingNotMatch | tick % tick_spacing must be zero | 送信されたティックがプールの tick_spacing の倍数ではありません。 | “Snap price to the nearest valid increment.” |
| 6009 | InvalidTickArray | Invalid tick array account | ティック配列スロットに対して間違った PDA が渡されました。 | “Internal: wrong tick array — refresh pool data.” |
| 6010 | InvalidTickArrayBoundary | Invalid tick array boundary | ティック配列インデックスの 1 つのオフ。 | “Internal: tick-array boundary error.” |
| 6011 | SqrtPriceLimitOverflow | Square root price limit overflow | 呼び出し元が指定した sqrt_price_limit が有効な範囲外です。 | “Price limit out of range.” |
| 6012 | SqrtPriceX64 | sqrt_price_x64 out of range | プールの現在の sqrt 価格がスワップ中に範囲外にドリフトしました。 | “Retry swap.” |
| 6013 | LiquiditySubValueErr | Liquidity sub delta L must be smaller than before | リクイディティ削減時の内部不変式違反。 | “Internal: liquidity accounting error.” |
| 6014 | LiquidityAddValueErr | Liquidity add delta L must be greater, or equal to before | リクイディティ増加時の内部不変式違反。 | “Internal: liquidity accounting error.” |
| 6015 | ForbidBothZeroForSupplyLiquidity | Both token amount must not be zero while supply liquidity | amount_0_max と amount_1_max の両方がゼロのリクイディティ増加呼び出し。 | “Provide at least one token.” |
| 6016 | LiquidityInsufficient | Liquidity insufficient | ポジションに引き出しを満たすのに十分なリクイディティがありません。 | “Withdraw amount exceeds position liquidity.” |
| 6017 | PriceSlippageCheck | Price slippage check | 実行価格が呼び出し元のスリッページ ガードに失敗しました。 | “Price moved past your slippage tolerance. Increase slippage or retry.” |
| 6018 | TooLittleOutputReceived | Too little output received | SwapBaseInput:出力額が other_amount_threshold 未満。 | “Slippage exceeded — minimum output not met.” |
| 6019 | TooMuchInputPaid | Too much input paid | SwapBaseOutput:入力額が other_amount_threshold を超えています。 | “Slippage exceeded — maximum input exceeded.” |
| 6020 | ZeroAmountSpecified | Swap special amount can not be zero | スワップ命令でゼロ amount。 | “Enter an amount greater than zero.” |
| 6021 | InvalidInputPoolVault | Input pool vault is invalid | スワップの入力ボルト アカウントがプールの記録されたボルトと一致しません。 | “Internal: wrong input vault — refresh pool data.” |
| 6022 | TooSmallInputOrOutputAmount | Swap input or output amount is too small | スワップ計算がゼロに丸められました。通常は非常に小さなダスト。 | “Amount too small to swap in this pool.” |
| 6023 | NotEnoughTickArrayAccount | Not enough tick array account | スワップ範囲に対して十分なティック配列の残りのアカウントが提供されていません。 | “Internal: insufficient tick-arrays — refresh pool data.” |
| 6024 | InvalidFirstTickArrayAccount | Invalid first tick array account | 渡された最初のティック配列アカウントが現在のティックをカバーしていません。 | “Internal: wrong first tick array — refresh pool data.” |
| 6025 | InvalidRewardIndex | Invalid reward index | reward_index が [0, 2] の範囲外です。 | N/A — admin path. |
| 6026 | FullRewardInfo | The init reward token reach to the max | プールには既に最大(3)の報酬ミントが設定されています。 | N/A — admin path. |
| 6027 | RewardTokenAlreadyInUse | The init reward token already in use | 報酬ミントが既存のものと重複しています。 | N/A — admin path. |
| 6028 | ExceptRewardMint | The reward tokens must contain one of pool vault mint except the last reward | スロット 2 より前、報酬ミントはプールのボルト ミントの 1 つと等しい必要があります。 | N/A — admin path. |
| 6029 | InvalidRewardInitParam | Invalid reward init param | 不正な発行開始/終了時刻または 1 秒あたりのレート。 | N/A — admin path. |
| 6030 | InvalidRewardInputAccountNumber | Invalid collect reward input account number | CollectReward に渡された残りのアカウント数が間違っています。 | “Internal: wrong account count — refresh and retry.” |
| 6031 | InvalidRewardPeriod | Invalid reward period | 報酬発行期間が無効です(end <= start、ゼロ期間)。 | N/A — admin path. |
| 6032 | NotApproveUpdateRewardEmissions | Modification of emissions is allowed within 72 hours from the end of the previous cycle | 管理者がサイクル境界周辺の 72 時間ウィンドウ外で発行を変更しようとしました。 | N/A — admin path. |
| 6033 | UnInitializedRewardInfo | uninitialized reward info | 報酬スロットが初期化されていませんが参照されています。 | N/A — admin path. |
| 6034 | NotSupportMint | Not support token_2022 mint extension | CLMM が処理できない Token-2022 拡張機能に遭遇しました。 | “This token has an extension Raydium CLMM does not support.” |
| 6035 | MissingTickArrayBitmapExtensionAccount | Missing tickarray bitmap extension account | スワップがベース ビットマップでカバーされていないティック範囲を横切りました。拡張ビットマップ アカウントが必要です。 | “Internal: missing tick-array extension — refresh pool data.” |
| 6036 | InsufficientLiquidityForDirection | Insufficient liquidity for this direction | スワップの方向に十分なリクイディティが存在しません。 | “Insufficient liquidity for this swap size.” |
| 6037 | MaxTokenOverflow | Max token overflow | 入出力額が u64 を超えました。 | “Amount too large for this pool.” |
| 6038 | CalculateOverflow | Calculate overflow | フィー / リクイディティ算術オーバーフロー。 | “Amount too large for this pool.” |
| 6039 | TransferFeeCalculateNotMatch | TransferFee calculate not match | Token-2022 転送フィーの観測額が予想と一致しませんでした。 | “Token transfer fee changed mid-transaction. Retry.” |
| 6040 | OrderAlreadyFilled | Order already fully filled, cannot modify | IncreaseLimitOrder / DecreaseLimitOrder が、未充足部分がゼロのオーダーで呼び出されました。 | “This limit order is already filled — settle to receive output.” |
| 6041 | InvalidOrderPhase | Invalid order phase | FIFO コホート フェーズがティックの現在のコホートと一致しなくなったオーダーを変更しています。 | “Cannot perform this action in the order’s current state.” |
| 6042 | InvalidLimitOrderAmount | Invalid limit order amount | オーダー入力がプールの最小値(またはゼロ)を下回っています(オープン / 増加 / 削減時)。 | “Order size is below the pool’s minimum.” |
| 6043 | OrderPhaseSaturated | Tick order phase saturated | ティックのコホートの order_phase カウンターが飽和しています。既存のコホートが決済してロールオーバーするまで、そのティックでさらにオーダーを開くことはできません。 | “Too many active orders at this price; try a nearby tick or wait for orders to settle.” |
| 6044 | InvalidDynamicFeeConfigParams | Invalid dynamic fee config params | CreateDynamicFeeConfig / UpdateDynamicFeeConfig が拒否されました。または CreateCustomizablePool が有効な設定なしで動的フィーを有効にしました。 | N/A on admin path; “Dynamic fee config invalid” on user path. |
| 6045 | InvalidFeeOn | Invalid fee on which token (must be 0, 1, or 2) | CreateCustomizablePool が collect_fee_on 値を {0, 1, 2} の外に渡しました。 | “Internal: invalid fee mode.” |
| 6046 | ZeroSqrtPrice | sqrt_price_x64 must be greater than 0 | CreateCustomizablePool(またはカスタマイズ可能な初期 sqrt 価格を受け入れる別のパス)が sqrt_price_x64 == 0 で呼び出されました。 | “Initial price must be greater than zero.” |
| 6047 | ZeroLiquidity | liquidity must be greater than 0 | リクイディティ提供パスが liquidity == 0 で呼び出され、補償額がありません。 | “Liquidity amount must be greater than zero.” |
| 6048 | MissingBaseFlag | base_flag is required when liquidity is zero | オープン ポジション バイ アマウント パスが liquidity == 0 を計算し、呼び出し元がどちらの側がベースであるかを明確にするための base_flag を提供しませんでした。 | “Provide either a non-zero liquidity or specify which token is the base.” |
| 6049 | MissingMintAccount | Mint account is required but not provided | Token-2022 対応パスが、拡張機能と転送フィーを検証するために必要な入出力ミント アカウントなしで呼び出されました。 | “Internal: missing mint account — refresh pool data.” |
| 6050 | MissingTokenProgram2022 | Token-2022 program is required but not provided | 上記と同じ SPL-Token-2022 プログラム アカウント用。 | “Internal: missing Token-2022 program — refresh and retry.” |