{"schemaVersion":"poa-solana-protocol-proof-v1","slug":"raydium-clmm","name":"Raydium CLMM","category":"concentrated liquidity AMM","summary":"Raydium CLMM is a concentrated liquidity market maker on Solana. Liquidity providers open positions in a price range, represented by an NFT, and traders swap against pools. One upgradeable Anchor program holds all pools and positions.","website":"https://raydium.io","depth":"catalog","programs":[{"input":{"programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","label":"Raydium CLMM (AMM v3)","role":"concentrated liquidity AMM program","framework":"anchor","firstParty":true,"sourceRepo":"https://github.com/raydium-io/raydium-clmm","sourceAvailability":"public","libraryName":"raydium_clmm","mountPath":"programs/amm","programPath":"programs/amm","idl":{"url":"https://raw.githubusercontent.com/raydium-io/raydium-idl/e7e0c96fe77bcf6a020b84a44c47a722aac8e359/raydium_clmm/raydium_clmm.json","commit":"e7e0c96fe77bcf6a020b84a44c47a722aac8e359","provenance":"sdk","format":"anchor-0.30","localFile":"raydium-clmm/raydium_clmm.json","sha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1"},"buildCommitCandidates":[{"commit":"119ed36bf9f33335ed8d671780502bc37d9f1605","source":{"url":"https://verify.osec.io/status/CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","method":"trusted_provider","retrievedAt":"2026-11-20T00:13:19Z","states":"OtterSec verify API returns short commit 119ed36bf9f33 (resolves to 119ed36bf9f33335ed8d671780502bc37d9f1605, 2024-11-21) with is_verified false. The current ProgramData deployment slot 459932378 is 2026-10-22, so this commit is unlikely to be the live code."}}],"identitySources":[{"url":"https://docs.raydium.io/reference/program-addresses","method":"official_docs","retrievedAt":"2026-11-20T00:13:19Z","states":"Lists CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK as the mainnet CLMM program with source raydium-io/raydium-clmm."},{"url":"https://github.com/raydium-io/raydium-clmm/blob/f1ec7dcb4f8ea46f662c5fef0326817a463a1bfe/programs/amm/src/lib.rs","method":"official_docs","retrievedAt":"2026-11-20T00:13:19Z","states":"declare_id! uses this program ID when the devnet feature is off."},{"url":"https://api.mainnet-beta.solana.com","method":"independent_rpc_read","retrievedAt":"2026-11-20T00:13:19Z","states":"getAccountInfo at slot 471499717: executable true, owner BPFLoaderUpgradeab1e11111111111111111111111, programData HzD2cCXXT3UQNjMMY6kDv9w6gZ9qquSdfoGXrLL3LXx (deployed slot 459932378, upgrade authority FytDrVzDybM1TwFQPGb8qaxZR7dBCzNeqT3vtQsceZQK)."}]},"evidence":{"snapshot":{"schemaVersion":"poa-solana-program-snapshot-v1","chain":"solana","cluster":"mainnet-beta","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","exists":true,"executable":true,"owner":"BPFLoaderUpgradeab1e11111111111111111111111","loader":"bpf-loader-upgradeable","programDataAddress":"HzD2cCXXT3UQNjMMY6kDv9w6gZ9qquSdfoGXrLL3LXx","programDataLinkValid":true,"deploymentSlot":459932378,"upgradeAuthority":"FytDrVzDybM1TwFQPGb8qaxZR7dBCzNeqT3vtQsceZQK","immutable":false,"executableRegionBytes":1700160,"executableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b","executableTrimmedBytes":1498401,"elfMagicOk":true,"observedSlot":471652492,"observedAt":"2026-11-20T07:24:30.107Z","commitment":"finalized","rpc":[{"endpoint":"api.mainnet-beta.solana.com","slot":471652492,"accountDataSha256":"95100de643fbba3ba124a1800721463730ddee7280303959ffda9564730a738d","ok":true},{"endpoint":"solana-rpc.publicnode.com","slot":471652489,"accountDataSha256":"95100de643fbba3ba124a1800721463730ddee7280303959ffda9564730a738d","ok":true}],"rpcAgreement":"agree","method":"independent_rpc_read","notes":[]},"providerClaims":[{"provider":"otter-sec-verify-api","endpoint":"https://verify.osec.io/status/CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","observedAt":"2026-11-20T07:24:31.077Z","httpStatus":200,"isVerified":false,"reportedOnChainHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b","reportedExecutableHash":null,"repoUrl":"https://github.com/raydium-io/raydium-clmm/tree/119ed36bf9f33","commit":"119ed36bf9f33","lastVerifiedAt":null,"isFrozen":false,"agreesWithPoaHash":true,"rawSha256":"69e575ea7f38ac2d5c0274dfbe294cebd5f842d3297bd61e94e7a5e685e0cba8","method":"trusted_provider"}],"build":{"state":"reproduced_match","repo":"https://github.com/raydium-io/raydium-clmm","commit":"6d7a0f82d2f293c553c69aaf943377367c6c4cc6","libraryName":"raydium_clmm","mountPath":".","toolchain":"image auto-selected by solana-verify from [workspace.metadata.cli] solana = \"3.1.10\"; Anchor 1.0.2","imageDigest":"solanafoundation/solana-verifiable-build (auto-selected for Solana 3.1.10)@sha256:f71be5ca7620b7e40933b7f1294fa44e01d08c1fc5ba1f375a2478f5a01580d3","command":"solana-verify build --library-name raydium_clmm && solana-verify get-executable-hash target/deploy/raydium_clmm.so","comparedToHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b","logsSha256":"787e26580ad98c2b5f4b9bd49a0d278c4cd5fa96b075ba5ec89d5eae2d042b16","ranAt":"2026-11-20T08:07:14Z","method":"independent_build","builtHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b","logFile":"logs/raydium-clmm-6d7a0f8.build.log","reason":"POA rebuilt Raydium CLMM (library raydium_clmm, default features) at default-branch HEAD 6d7a0f82 with solana-verify 0.5.2 and the image the repo pins in [workspace.metadata.cli] (Solana 3.1.10). The executable hash equals the on-chain hash. The commit is dated 2026-10-27, after the 2026-10-22 deployment, so this source was deployed before it was merged. edfc5c0a, the HEAD at deploy time, does not match (f78e9dbc080068facc531ab4b679680dd39efb9d07a08716b37d493e99272fc9). The Sec3 final commit f1ec7dcb and the OtterSec-recorded 119ed36b were not built: both predate the reproduced source by months of program changes, and the on-chain bytes are already accounted for.","attempts":[{"state":"reproduced_match","repo":"https://github.com/raydium-io/raydium-clmm","commit":"6d7a0f82d2f293c553c69aaf943377367c6c4cc6","libraryName":"raydium_clmm","mountPath":".","toolchain":"image auto-selected by solana-verify from [workspace.metadata.cli] solana = \"3.1.10\"; Anchor 1.0.2","imageDigest":"solanafoundation/solana-verifiable-build (auto-selected for Solana 3.1.10)@sha256:f71be5ca7620b7e40933b7f1294fa44e01d08c1fc5ba1f375a2478f5a01580d3","command":"solana-verify build --library-name raydium_clmm && solana-verify get-executable-hash target/deploy/raydium_clmm.so","comparedToHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b","logsSha256":"787e26580ad98c2b5f4b9bd49a0d278c4cd5fa96b075ba5ec89d5eae2d042b16","ranAt":"2026-11-20T08:07:14Z","method":"independent_build","builtHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b","logFile":"logs/raydium-clmm-6d7a0f8.build.log","reason":"Default-branch HEAD (#204, committed 2026-10-27). Chosen because the on-chain bytes contain the CreateCustomizablePoolV2 instruction name that this commit introduces. The executable hash equals the on-chain hash."},{"state":"reproduced_mismatch","repo":"https://github.com/raydium-io/raydium-clmm","commit":"edfc5c0a0cd8084ed694668391174a35b5246cf5","libraryName":"raydium_clmm","mountPath":".","toolchain":"image auto-selected for Solana 3.1.10; Anchor 1.0.2","imageDigest":"solanafoundation/solana-verifiable-build (auto-selected for Solana 3.1.10)@sha256:f71be5ca7620b7e40933b7f1294fa44e01d08c1fc5ba1f375a2478f5a01580d3","command":"solana-verify build --library-name raydium_clmm && solana-verify get-executable-hash target/deploy/raydium_clmm.so","comparedToHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b","logsSha256":"f6e54d71840e30344426294196a8515890ebb968059b45943674557242110c7d","ranAt":"2026-11-20T08:02:40Z","method":"independent_build","builtHash":"f78e9dbc080068facc531ab4b679680dd39efb9d07a08716b37d493e99272fc9","logFile":"logs/raydium-clmm-edfc5c0.build.log","reason":"Last commit before the 2026-10-22 deploy (slot 459932378). Builds; hash differs. Its binary still has CreatePermissionedPool, which the on-chain program does not."}]},"liveSource":{"commit":"6d7a0f82d2f293c553c69aaf943377367c6c4cc6","repo":"https://github.com/raydium-io/raydium-clmm","basis":"independent_build","note":"POA rebuilt 6d7a0f82 and the executable hash equals the on-chain hash 4b96e92b8705… read at slot 471652492."}},"instructions":[{"name":"close_limit_order","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"4c7c800fd55725fa","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"rent_receiver","signer":false,"writable":true},{"name":"limit_order","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"close_limit_order","handlerPath":"programs/amm/src/instructions/limit_order/close_limit_order.rs","handlerFn":"close_limit_order","startLine":18,"endLine":33,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"close_position","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"7b86510031446262","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[],"accounts":[{"name":"nft_owner","signer":true,"writable":true,"docs":"The position nft owner"},{"name":"position_nft_mint","signer":false,"writable":true,"docs":"Mint address bound to the personal position."},{"name":"position_nft_account","signer":false,"writable":true,"docs":"User token account where position NFT be minted to"},{"name":"personal_position","signer":false,"writable":true},{"name":"system_program","signer":false,"writable":false,"docs":"System program to close the position state account","address":"11111111111111111111111111111111"},{"name":"token_program","signer":false,"writable":false,"docs":"Token/Token2022 program to close token/mint account"}],"collisions":[],"handler":{"instruction":"close_position","handlerPath":"programs/amm/src/instructions/close_position.rs","handlerFn":"close_position","startLine":47,"endLine":106,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"burn (programs/amm/src/instructions/close_position.rs)"},{"program":"SPL Token / Token-2022","via":"burn via burn (programs/amm/src/util/token.rs:170)"},{"program":"SPL Token / Token-2022","via":"close_account via close_spl_account (programs/amm/src/util/token.rs:152)"}],"mapping":"anchor-program-module"}},{"name":"close_protocol_position","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"c975989055556cb2","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[],"accounts":[{"name":"admin","signer":true,"writable":true,"address":"2kqJncUWCkk5TyJYamPW5DECfqAz4brYpH6r5j6vg9yx"},{"name":"protocol_position","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"close_protocol_position","handlerPath":"programs/amm/src/instructions/admin/close_protocol_position.rs","handlerFn":"close_protocol_position","startLine":20,"endLine":24,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"collect_fund_fee","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"a78a4e95dfc2067e","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"amount_0_requested","type":"u64"},{"name":"amount_1_requested","type":"u64"}],"accounts":[{"name":"owner","signer":true,"writable":false,"docs":"Only admin or fund_owner can collect fee now"},{"name":"pool_state","signer":false,"writable":true,"docs":"Pool state stores accumulated protocol fee amount"},{"name":"amm_config","signer":false,"writable":false,"docs":"Amm config account stores fund_owner"},{"name":"token_vault_0","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_0"},{"name":"token_vault_1","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_1"},{"name":"vault_0_mint","signer":false,"writable":false,"docs":"The mint of token vault 0"},{"name":"vault_1_mint","signer":false,"writable":false,"docs":"The mint of token vault 1"},{"name":"recipient_token_account_0","signer":false,"writable":true,"docs":"The address that receives the collected token_0 protocol fees"},{"name":"recipient_token_account_1","signer":false,"writable":true,"docs":"The address that receives the collected token_1 protocol fees"},{"name":"token_program","signer":false,"writable":false,"docs":"The SPL program to perform token transfers","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"The SPL program 2022 to perform token transfers","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"}],"collisions":[],"handler":{"instruction":"collect_fund_fee","handlerPath":"programs/amm/src/instructions/admin/collect_fund_fee.rs","handlerFn":"collect_fund_fee","startLine":62,"endLine":106,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)"},{"program":"SPL Token","via":"token::transfer via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"collect_protocol_fee","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"8888fcddc2427e59","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"amount_0_requested","type":"u64"},{"name":"amount_1_requested","type":"u64"}],"accounts":[{"name":"owner","signer":true,"writable":false,"docs":"Only admin or config owner can collect fee now"},{"name":"pool_state","signer":false,"writable":true,"docs":"Pool state stores accumulated protocol fee amount"},{"name":"amm_config","signer":false,"writable":false,"docs":"Amm config account stores owner"},{"name":"token_vault_0","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_0"},{"name":"token_vault_1","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_1"},{"name":"vault_0_mint","signer":false,"writable":false,"docs":"The mint of token vault 0"},{"name":"vault_1_mint","signer":false,"writable":false,"docs":"The mint of token vault 1"},{"name":"recipient_token_account_0","signer":false,"writable":true,"docs":"The address that receives the collected token_0 protocol fees"},{"name":"recipient_token_account_1","signer":false,"writable":true,"docs":"The address that receives the collected token_1 protocol fees"},{"name":"token_program","signer":false,"writable":false,"docs":"The SPL program to perform token transfers","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"The SPL program 2022 to perform token transfers","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"}],"collisions":[],"handler":{"instruction":"collect_protocol_fee","handlerPath":"programs/amm/src/instructions/admin/collect_protocol_fee.rs","handlerFn":"collect_protocol_fee","startLine":65,"endLine":116,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)"},{"program":"SPL Token","via":"token::transfer via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"collect_remaining_rewards","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"12eda6c52210d590","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"reward_index","type":"u8"}],"accounts":[{"name":"reward_funder","signer":true,"writable":false,"docs":"The founder who init reward info previously"},{"name":"funder_token_account","signer":false,"writable":true,"docs":"The funder's reward token account"},{"name":"pool_state","signer":false,"writable":true,"docs":"Set reward for this pool"},{"name":"reward_token_vault","signer":false,"writable":true,"docs":"Reward vault transfer remaining token to founder token account"},{"name":"reward_vault_mint","signer":false,"writable":false,"docs":"The mint of reward token vault"},{"name":"token_program","signer":false,"writable":false,"address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"Token program 2022","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"},{"name":"memo_program","signer":false,"writable":false,"docs":"memo program","address":"MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr"}],"collisions":[],"handler":{"instruction":"collect_remaining_rewards","handlerPath":"programs/amm/src/instructions/collect_remaining_rewards.rs","handlerFn":"collect_remaining_rewards","startLine":41,"endLine":67,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"unresolved (invoke)","via":"invoke via invoke_memo_instruction (programs/amm/src/util/token.rs:47)"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)"},{"program":"SPL Token","via":"token::transfer via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"create_amm_config","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"8934edd4d7756c68","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"index","type":"u16"},{"name":"tick_spacing","type":"u16"},{"name":"trade_fee_rate","type":"u32"},{"name":"protocol_fee_rate","type":"u32"},{"name":"fund_fee_rate","type":"u32"}],"accounts":[{"name":"owner","signer":true,"writable":true,"docs":"Address to be set as protocol owner.","address":"2kqJncUWCkk5TyJYamPW5DECfqAz4brYpH6r5j6vg9yx"},{"name":"amm_config","signer":false,"writable":true,"docs":"Initialize config state account to store protocol owner address and fee rates."},{"name":"system_program","signer":false,"writable":false,"address":"11111111111111111111111111111111"}],"collisions":[],"handler":{"instruction":"create_amm_config","handlerPath":"programs/amm/src/instructions/admin/create_amm_config.rs","handlerFn":"create_amm_config","startLine":32,"endLine":67,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"create_customizable_pool","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"2b44d4a7592fa401","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"customizable_params","type":"CreateCustomizableParams"}],"accounts":[{"name":"pool_creator","signer":true,"writable":true,"docs":"Address paying to create the pool"},{"name":"amm_config","signer":false,"writable":false,"docs":"Which config the pool belongs to."},{"name":"pool_state","signer":false,"writable":true,"docs":"Initialize an account to store the pool state"},{"name":"token_mint_0","signer":false,"writable":false,"docs":"Token_0 mint, the key must be smaller then token_1 mint."},{"name":"token_mint_1","signer":false,"writable":false,"docs":"Token_1 mint"},{"name":"token_vault_0","signer":false,"writable":true},{"name":"token_vault_1","signer":false,"writable":true},{"name":"observation_state","signer":false,"writable":true,"docs":"Initialize an account to store oracle observations"},{"name":"tick_array_bitmap","signer":false,"writable":true,"docs":"Initialize an account to store if a tick array is initialized."},{"name":"token_program_0","signer":false,"writable":false,"docs":"Spl token program or token program 2022"},{"name":"token_program_1","signer":false,"writable":false,"docs":"Spl token program or token program 2022"},{"name":"system_program","signer":false,"writable":false,"docs":"To create a new program account","address":"11111111111111111111111111111111"},{"name":"rent","signer":false,"writable":false,"docs":"Sysvar for program account","address":"SysvarRent111111111111111111111111111111111"}],"collisions":[],"handler":{"instruction":"create_customizable_pool","handlerPath":"programs/amm/src/instructions/create_customizable_pool.rs","handlerFn":"create_customizable_pool","startLine":133,"endLine":249,"relatedFiles":["programs/amm/src/util/system.rs","programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"initialize via create_token_vault_account (programs/amm/src/util/token.rs:467)"},{"program":"System Program","via":"system transfer via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"},{"program":"System Program","via":"create_account via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"}],"mapping":"anchor-program-module"}},{"name":"create_dynamic_fee_config","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"bd0eb5785576e33e","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"index","type":"u16"},{"name":"filter_period","type":"u16"},{"name":"decay_period","type":"u16"},{"name":"reduction_factor","type":"u16"},{"name":"dynamic_fee_control","type":"u32"},{"name":"max_volatility_accumulator","type":"u32"}],"accounts":[{"name":"owner","signer":true,"writable":true,"address":"2kqJncUWCkk5TyJYamPW5DECfqAz4brYpH6r5j6vg9yx"},{"name":"dynamic_fee_config","signer":false,"writable":true},{"name":"system_program","signer":false,"writable":false,"address":"11111111111111111111111111111111"}],"collisions":[],"handler":{"instruction":"create_dynamic_fee_config","handlerPath":"programs/amm/src/instructions/admin/create_dynamic_fee_config.rs","handlerFn":"create_dynamic_fee_config","startLine":26,"endLine":45,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"create_operation_account","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"3f5794216d230868","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[],"accounts":[{"name":"owner","signer":true,"writable":true,"docs":"Address to be set as operation account owner.","address":"2kqJncUWCkk5TyJYamPW5DECfqAz4brYpH6r5j6vg9yx"},{"name":"operation_state","signer":false,"writable":true,"docs":"Initialize operation state account to store operation owner address and white list mint."},{"name":"system_program","signer":false,"writable":false,"address":"11111111111111111111111111111111"}],"collisions":[],"handler":{"instruction":"create_operation_account","handlerPath":"programs/amm/src/instructions/admin/create_operation_account.rs","handlerFn":"create_operation_account","startLine":28,"endLine":32,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"create_pool","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"e992d18ecf6840bc","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"sqrt_price_x64","type":"u128"},{"name":"open_time","type":"u64"}],"accounts":[{"name":"pool_creator","signer":true,"writable":true,"docs":"Address paying to create the pool. Can be anyone"},{"name":"amm_config","signer":false,"writable":false,"docs":"Which config the pool belongs to."},{"name":"pool_state","signer":false,"writable":true,"docs":"Initialize an account to store the pool state"},{"name":"token_mint_0","signer":false,"writable":false,"docs":"Token_0 mint, the key must be smaller then token_1 mint."},{"name":"token_mint_1","signer":false,"writable":false,"docs":"Token_1 mint"},{"name":"token_vault_0","signer":false,"writable":true},{"name":"token_vault_1","signer":false,"writable":true},{"name":"observation_state","signer":false,"writable":true,"docs":"Initialize an account to store oracle observations"},{"name":"tick_array_bitmap","signer":false,"writable":true,"docs":"Initialize an account to store if a tick array is initialized."},{"name":"token_program_0","signer":false,"writable":false,"docs":"Spl token program or token program 2022"},{"name":"token_program_1","signer":false,"writable":false,"docs":"Spl token program or token program 2022"},{"name":"system_program","signer":false,"writable":false,"docs":"To create a new program account","address":"11111111111111111111111111111111"},{"name":"rent","signer":false,"writable":false,"docs":"Sysvar for program account","address":"SysvarRent111111111111111111111111111111111"}],"collisions":[],"handler":{"instruction":"create_pool","handlerPath":"programs/amm/src/instructions/create_pool.rs","handlerFn":"create_pool","startLine":123,"endLine":221,"relatedFiles":["programs/amm/src/util/system.rs","programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"initialize via create_token_vault_account (programs/amm/src/util/token.rs:467)"},{"program":"System Program","via":"system transfer via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"},{"program":"System Program","via":"create_account via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"}],"mapping":"anchor-program-module"}},{"name":"create_support_mint_associated","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"11fb415c88f20ea9","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[],"accounts":[{"name":"owner","signer":true,"writable":true,"docs":"Address to be set as protocol owner."},{"name":"token_mint","signer":false,"writable":false,"docs":"Support token mint"},{"name":"support_mint_associated","signer":false,"writable":true,"docs":"Initialize support mint state account to store support mint address and bump."},{"name":"system_program","signer":false,"writable":false,"address":"11111111111111111111111111111111"}],"collisions":[],"handler":{"instruction":"create_support_mint_associated","handlerPath":"programs/amm/src/instructions/admin/create_support_mint_associated.rs","handlerFn":"create_support_mint_associated","startLine":44,"endLine":50,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"decrease_limit_order","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"759d3c674231a300","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"amount","type":"u64"},{"name":"amount_min","type":"u64"}],"accounts":[{"name":"owner","signer":true,"writable":false},{"name":"pool_state","signer":false,"writable":true},{"name":"tick_array","signer":false,"writable":true},{"name":"limit_order","signer":false,"writable":true},{"name":"input_token_account","signer":false,"writable":true,"docs":"The payer's limit order token account"},{"name":"output_token_account","signer":false,"writable":true,"docs":"The owner's output token account (opposite direction from input)"},{"name":"input_vault","signer":false,"writable":true,"docs":"The address that holds limit order token"},{"name":"output_vault","signer":false,"writable":true,"docs":"The address that holds output tokens"},{"name":"input_vault_mint","signer":false,"writable":false,"docs":"The mint of token vault"},{"name":"output_vault_mint","signer":false,"writable":false,"docs":"The mint of output vault"},{"name":"token_program","signer":false,"writable":false,"docs":"SPL program for token transfers","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"SPL program 2022 for token transfers","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"}],"collisions":[],"handler":{"instruction":"decrease_limit_order","handlerPath":"programs/amm/src/instructions/limit_order/decrease_limit_order.rs","handlerFn":"decrease_limit_order","startLine":92,"endLine":182,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)"},{"program":"SPL Token","via":"token::transfer via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"decrease_liquidity","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"a026d06f685b2c01","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"liquidity","type":"u128"},{"name":"amount_0_min","type":"u64"},{"name":"amount_1_min","type":"u64"}],"accounts":[{"name":"nft_owner","signer":true,"writable":false,"docs":"The position owner or delegated authority"},{"name":"nft_account","signer":false,"writable":false,"docs":"The token account for the tokenized position"},{"name":"personal_position","signer":false,"writable":true,"docs":"Decrease liquidity for this position"},{"name":"pool_state","signer":false,"writable":true},{"name":"protocol_position","signer":false,"writable":false},{"name":"token_vault_0","signer":false,"writable":true,"docs":"Token_0 vault"},{"name":"token_vault_1","signer":false,"writable":true,"docs":"Token_1 vault"},{"name":"tick_array_lower","signer":false,"writable":true,"docs":"Stores init state for the lower tick"},{"name":"tick_array_upper","signer":false,"writable":true,"docs":"Stores init state for the upper tick"},{"name":"recipient_token_account_0","signer":false,"writable":true,"docs":"The destination token account for receive amount_0"},{"name":"recipient_token_account_1","signer":false,"writable":true,"docs":"The destination token account for receive amount_1"},{"name":"token_program","signer":false,"writable":false,"docs":"SPL program to transfer out tokens","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"collisions":[],"handler":{"instruction":"decrease_liquidity","handlerPath":"programs/amm/src/instructions/decrease_liquidity.rs","handlerFn":"decrease_liquidity_v1","startLine":88,"endLine":113,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"unresolved (invoke)","via":"invoke via invoke_memo_instruction (programs/amm/src/util/token.rs:47)"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)"},{"program":"SPL Token","via":"token::transfer via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"decrease_liquidity_v2","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"3a7fbc3e4f52c460","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"liquidity","type":"u128"},{"name":"amount_0_min","type":"u64"},{"name":"amount_1_min","type":"u64"}],"accounts":[{"name":"nft_owner","signer":true,"writable":false,"docs":"The position owner or delegated authority"},{"name":"nft_account","signer":false,"writable":false,"docs":"The token account for the tokenized position"},{"name":"personal_position","signer":false,"writable":true,"docs":"Decrease liquidity for this position"},{"name":"pool_state","signer":false,"writable":true},{"name":"protocol_position","signer":false,"writable":false},{"name":"token_vault_0","signer":false,"writable":true,"docs":"Token_0 vault"},{"name":"token_vault_1","signer":false,"writable":true,"docs":"Token_1 vault"},{"name":"tick_array_lower","signer":false,"writable":true,"docs":"Stores init state for the lower tick"},{"name":"tick_array_upper","signer":false,"writable":true,"docs":"Stores init state for the upper tick"},{"name":"recipient_token_account_0","signer":false,"writable":true,"docs":"The destination token account for receive amount_0"},{"name":"recipient_token_account_1","signer":false,"writable":true,"docs":"The destination token account for receive amount_1"},{"name":"token_program","signer":false,"writable":false,"docs":"SPL program to transfer out tokens","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"Token program 2022","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"},{"name":"memo_program","signer":false,"writable":false,"docs":"memo program","address":"MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr"},{"name":"vault_0_mint","signer":false,"writable":false,"docs":"The mint of token vault 0"},{"name":"vault_1_mint","signer":false,"writable":false,"docs":"The mint of token vault 1"}],"collisions":[],"handler":{"instruction":"decrease_liquidity_v2","handlerPath":"programs/amm/src/instructions/decrease_liquidity_v2.rs","handlerFn":"decrease_liquidity_v2","startLine":101,"endLine":126,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"unresolved (invoke)","via":"invoke via invoke_memo_instruction (programs/amm/src/util/token.rs:47)"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)"},{"program":"SPL Token","via":"token::transfer via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"increase_limit_order","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"b19059ecfaba7d63","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"amount","type":"u64"}],"accounts":[{"name":"owner","signer":true,"writable":false},{"name":"pool_state","signer":false,"writable":false},{"name":"tick_array","signer":false,"writable":true},{"name":"limit_order","signer":false,"writable":true},{"name":"input_token_account","signer":false,"writable":true,"docs":"The payer's limit order token account"},{"name":"input_vault","signer":false,"writable":true,"docs":"The address that holds limit order token"},{"name":"input_vault_mint","signer":false,"writable":false,"docs":"The mint of token vault"},{"name":"input_token_program","signer":false,"writable":false,"docs":"SPL-TOKEN / SPL-TOKEN2022 program for token transfers"}],"collisions":[],"handler":{"instruction":"increase_limit_order","handlerPath":"programs/amm/src/instructions/limit_order/increase_limit_order.rs","handlerFn":"increase_limit_order","startLine":60,"endLine":113,"relatedFiles":[],"staticCpis":[{"program":"SPL Token / Token-2022","via":"transfer_checked (programs/amm/src/instructions/limit_order/increase_limit_order.rs)"}],"mapping":"anchor-program-module"}},{"name":"increase_liquidity","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"2e9cf3760dcdfbb2","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"liquidity","type":"u128"},{"name":"amount_0_max","type":"u64"},{"name":"amount_1_max","type":"u64"}],"accounts":[{"name":"nft_owner","signer":true,"writable":false,"docs":"Pays to mint the position"},{"name":"nft_account","signer":false,"writable":false,"docs":"The token account for nft"},{"name":"pool_state","signer":false,"writable":true},{"name":"protocol_position","signer":false,"writable":false},{"name":"personal_position","signer":false,"writable":true,"docs":"Increase liquidity for this position"},{"name":"tick_array_lower","signer":false,"writable":true,"docs":"Stores init state for the lower tick"},{"name":"tick_array_upper","signer":false,"writable":true,"docs":"Stores init state for the upper tick"},{"name":"token_account_0","signer":false,"writable":true,"docs":"The payer's token account for token_0"},{"name":"token_account_1","signer":false,"writable":true,"docs":"The token account spending token_1 to mint the position"},{"name":"token_vault_0","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_0"},{"name":"token_vault_1","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_1"},{"name":"token_program","signer":false,"writable":false,"docs":"Program to create mint account and mint tokens","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"collisions":[],"handler":{"instruction":"increase_liquidity","handlerPath":"programs/amm/src/instructions/increase_liquidity.rs","handlerFn":"increase_liquidity_v1","startLine":83,"endLine":110,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)"},{"program":"SPL Token","via":"token::transfer via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"increase_liquidity_v2","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"851d59df45eeb00a","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"liquidity","type":"u128"},{"name":"amount_0_max","type":"u64"},{"name":"amount_1_max","type":"u64"},{"name":"base_flag","type":"option<bool>"}],"accounts":[{"name":"nft_owner","signer":true,"writable":false,"docs":"Pays to mint the position"},{"name":"nft_account","signer":false,"writable":false,"docs":"The token account for nft"},{"name":"pool_state","signer":false,"writable":true},{"name":"protocol_position","signer":false,"writable":false},{"name":"personal_position","signer":false,"writable":true,"docs":"Increase liquidity for this position"},{"name":"tick_array_lower","signer":false,"writable":true,"docs":"Stores init state for the lower tick"},{"name":"tick_array_upper","signer":false,"writable":true,"docs":"Stores init state for the upper tick"},{"name":"token_account_0","signer":false,"writable":true,"docs":"The payer's token account for token_0"},{"name":"token_account_1","signer":false,"writable":true,"docs":"The token account spending token_1 to mint the position"},{"name":"token_vault_0","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_0"},{"name":"token_vault_1","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_1"},{"name":"token_program","signer":false,"writable":false,"docs":"Program to create mint account and mint tokens","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"Token program 2022","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"},{"name":"vault_0_mint","signer":false,"writable":false,"docs":"The mint of token vault 0"},{"name":"vault_1_mint","signer":false,"writable":false,"docs":"The mint of token vault 1"}],"collisions":[],"handler":{"instruction":"increase_liquidity_v2","handlerPath":"programs/amm/src/instructions/increase_liquidity_v2.rs","handlerFn":"increase_liquidity_v2","startLine":94,"endLine":121,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)"},{"program":"SPL Token","via":"token::transfer via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"initialize_reward","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"5f87c0c4f281e644","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"param","type":"InitializeRewardParam"}],"accounts":[{"name":"reward_funder","signer":true,"writable":true,"docs":"The founder deposit reward token to vault"},{"name":"funder_token_account","signer":false,"writable":true},{"name":"amm_config","signer":false,"writable":false,"docs":"For check the reward_funder authority"},{"name":"pool_state","signer":false,"writable":true,"docs":"Set reward for this pool"},{"name":"operation_state","signer":false,"writable":false,"docs":"load info from the account to judge reward permission"},{"name":"reward_token_mint","signer":false,"writable":false,"docs":"Reward mint"},{"name":"reward_token_vault","signer":false,"writable":true},{"name":"reward_token_program","signer":false,"writable":false},{"name":"system_program","signer":false,"writable":false,"address":"11111111111111111111111111111111"},{"name":"rent","signer":false,"writable":false,"address":"SysvarRent111111111111111111111111111111111"}],"collisions":[],"handler":{"instruction":"initialize_reward","handlerPath":"programs/amm/src/instructions/initialize_reward.rs","handlerFn":"initialize_reward","startLine":96,"endLine":182,"relatedFiles":["programs/amm/src/util/system.rs","programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"initialize via create_token_vault_account (programs/amm/src/util/token.rs:467)"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)"},{"program":"SPL Token","via":"token::transfer via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"program":"System Program","via":"system transfer via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"},{"program":"System Program","via":"create_account via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"}],"mapping":"anchor-program-module"}},{"name":"open_limit_order","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"9d20dab7471d1293","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"nonce_index","type":"u8"},{"name":"zero_for_one","type":"bool"},{"name":"tick_index","type":"i32"},{"name":"amount","type":"u64"}],"accounts":[{"name":"payer","signer":true,"writable":true},{"name":"pool_state","signer":false,"writable":true,"docs":"The pool"},{"name":"tick_array","signer":false,"writable":true},{"name":"limit_order_nonce","signer":false,"writable":true,"docs":"The order nonce account PDA"},{"name":"limit_order","signer":false,"writable":true,"docs":"The order account PDA"},{"name":"input_token_account","signer":false,"writable":true,"docs":"The payer's limit order token account"},{"name":"input_vault","signer":false,"writable":true,"docs":"The address that holds limit order token"},{"name":"input_vault_mint","signer":false,"writable":false,"docs":"The mint of token vault"},{"name":"input_token_program","signer":false,"writable":false,"docs":"SPL-TOKEN / SPL-TOKEN2022 program for input token transfers"},{"name":"system_program","signer":false,"writable":false,"docs":"SPL program for system operations","address":"11111111111111111111111111111111"}],"collisions":[],"handler":{"instruction":"open_limit_order","handlerPath":"programs/amm/src/instructions/limit_order/open_limit_order.rs","handlerFn":"open_limit_order","startLine":93,"endLine":207,"relatedFiles":["programs/amm/src/util/system.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"transfer_checked (programs/amm/src/instructions/limit_order/open_limit_order.rs)"},{"program":"System Program","via":"system transfer via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"},{"program":"System Program","via":"create_account via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"}],"mapping":"anchor-program-module"}},{"name":"open_position","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"87802f4d0f98f031","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"tick_lower_index","type":"i32"},{"name":"tick_upper_index","type":"i32"},{"name":"tick_array_lower_start_index","type":"i32"},{"name":"tick_array_upper_start_index","type":"i32"},{"name":"liquidity","type":"u128"},{"name":"amount_0_max","type":"u64"},{"name":"amount_1_max","type":"u64"}],"accounts":[{"name":"payer","signer":true,"writable":true,"docs":"Pays to mint the position"},{"name":"position_nft_owner","signer":false,"writable":false},{"name":"position_nft_mint","signer":true,"writable":true,"docs":"Unique token mint address"},{"name":"position_nft_account","signer":false,"writable":true,"docs":"Token account where position NFT will be minted This account created in the contract by cpi to avoid large stack variables"},{"name":"metadata_account","signer":false,"writable":true,"docs":"To store metaplex metadata"},{"name":"pool_state","signer":false,"writable":true,"docs":"Add liquidity for this pool"},{"name":"protocol_position","signer":false,"writable":false},{"name":"tick_array_lower","signer":false,"writable":true},{"name":"tick_array_upper","signer":false,"writable":true},{"name":"personal_position","signer":false,"writable":true,"docs":"personal position state"},{"name":"token_account_0","signer":false,"writable":true,"docs":"The token_0 account deposit token to the pool"},{"name":"token_account_1","signer":false,"writable":true,"docs":"The token_1 account deposit token to the pool"},{"name":"token_vault_0","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_0"},{"name":"token_vault_1","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_1"},{"name":"rent","signer":false,"writable":false,"docs":"Sysvar for token mint and ATA creation","address":"SysvarRent111111111111111111111111111111111"},{"name":"system_program","signer":false,"writable":false,"docs":"Program to create the position manager state account","address":"11111111111111111111111111111111"},{"name":"token_program","signer":false,"writable":false,"docs":"Program to create mint account and mint tokens","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"associated_token_program","signer":false,"writable":false,"docs":"Program to create an ATA for receiving position NFT","address":"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{"name":"metadata_program","signer":false,"writable":false,"docs":"Program to create NFT metadata","address":"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"}],"collisions":[],"handler":{"instruction":"open_position","handlerPath":"programs/amm/src/instructions/open_position.rs","handlerFn":"open_position_v1","startLine":151,"endLine":198,"relatedFiles":["programs/amm/src/util/system.rs","programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"mint_to via mint_nft_and_remove_mint_authority (programs/amm/src/instructions/open_position.rs:689)"},{"program":"SPL Token / Token-2022","via":"set_authority via mint_nft_and_remove_mint_authority (programs/amm/src/instructions/open_position.rs:689)"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)"},{"program":"SPL Token","via":"token::transfer via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"program":"Metaplex Token Metadata","via":"create_metadata_accounts_v3 via initialize_metadata_account (programs/amm/src/instructions/open_position.rs:785)"},{"program":"unresolved (invoke_signed)","via":"invoke_signed via initialize_token_metadata_extension (programs/amm/src/util/token.rs:407)"},{"program":"System Program","via":"system transfer via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"},{"program":"System Program","via":"create_account via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"}],"mapping":"anchor-program-module"}},{"name":"open_position_v2","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"4db84ad67056f1c7","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"tick_lower_index","type":"i32"},{"name":"tick_upper_index","type":"i32"},{"name":"tick_array_lower_start_index","type":"i32"},{"name":"tick_array_upper_start_index","type":"i32"},{"name":"liquidity","type":"u128"},{"name":"amount_0_max","type":"u64"},{"name":"amount_1_max","type":"u64"},{"name":"with_metadata","type":"bool"},{"name":"base_flag","type":"option<bool>"}],"accounts":[{"name":"payer","signer":true,"writable":true,"docs":"Pays to mint the position"},{"name":"position_nft_owner","signer":false,"writable":false},{"name":"position_nft_mint","signer":true,"writable":true,"docs":"Unique token mint address"},{"name":"position_nft_account","signer":false,"writable":true,"docs":"Token account where position NFT will be minted"},{"name":"metadata_account","signer":false,"writable":true,"docs":"To store metaplex metadata"},{"name":"pool_state","signer":false,"writable":true,"docs":"Add liquidity for this pool"},{"name":"protocol_position","signer":false,"writable":false},{"name":"tick_array_lower","signer":false,"writable":true},{"name":"tick_array_upper","signer":false,"writable":true},{"name":"personal_position","signer":false,"writable":true,"docs":"personal position state"},{"name":"token_account_0","signer":false,"writable":true,"docs":"The token_0 account deposit token to the pool"},{"name":"token_account_1","signer":false,"writable":true,"docs":"The token_1 account deposit token to the pool"},{"name":"token_vault_0","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_0"},{"name":"token_vault_1","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_1"},{"name":"rent","signer":false,"writable":false,"docs":"Sysvar for token mint and ATA creation","address":"SysvarRent111111111111111111111111111111111"},{"name":"system_program","signer":false,"writable":false,"docs":"Program to create the position manager state account","address":"11111111111111111111111111111111"},{"name":"token_program","signer":false,"writable":false,"docs":"Program to create mint account and mint tokens","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"associated_token_program","signer":false,"writable":false,"docs":"Program to create an ATA for receiving position NFT","address":"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{"name":"metadata_program","signer":false,"writable":false,"docs":"Program to create NFT metadata","address":"metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"Program to create mint account and mint tokens","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"},{"name":"vault_0_mint","signer":false,"writable":false,"docs":"The mint of token vault 0"},{"name":"vault_1_mint","signer":false,"writable":false,"docs":"The mint of token vault 1"}],"collisions":[],"handler":{"instruction":"open_position_v2","handlerPath":"programs/amm/src/instructions/open_position_v2.rs","handlerFn":"open_position_v2","startLine":147,"endLine":194,"relatedFiles":["programs/amm/src/instructions/open_position.rs","programs/amm/src/util/system.rs","programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"mint_to via mint_nft_and_remove_mint_authority (programs/amm/src/instructions/open_position.rs:689)"},{"program":"SPL Token / Token-2022","via":"set_authority via mint_nft_and_remove_mint_authority (programs/amm/src/instructions/open_position.rs:689)"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)"},{"program":"SPL Token","via":"token::transfer via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"program":"Metaplex Token Metadata","via":"create_metadata_accounts_v3 via initialize_metadata_account (programs/amm/src/instructions/open_position.rs:785)"},{"program":"unresolved (invoke_signed)","via":"invoke_signed via initialize_token_metadata_extension (programs/amm/src/util/token.rs:407)"},{"program":"System Program","via":"system transfer via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"},{"program":"System Program","via":"create_account via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"}],"mapping":"anchor-program-module"}},{"name":"open_position_with_token22_nft","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"4dffae527d1dc92e","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"tick_lower_index","type":"i32"},{"name":"tick_upper_index","type":"i32"},{"name":"tick_array_lower_start_index","type":"i32"},{"name":"tick_array_upper_start_index","type":"i32"},{"name":"liquidity","type":"u128"},{"name":"amount_0_max","type":"u64"},{"name":"amount_1_max","type":"u64"},{"name":"with_metadata","type":"bool"},{"name":"base_flag","type":"option<bool>"}],"accounts":[{"name":"payer","signer":true,"writable":true,"docs":"Pays to mint the position"},{"name":"position_nft_owner","signer":false,"writable":false},{"name":"position_nft_mint","signer":true,"writable":true,"docs":"Unique token mint address, initialize in contract"},{"name":"position_nft_account","signer":false,"writable":true},{"name":"pool_state","signer":false,"writable":true,"docs":"Add liquidity for this pool"},{"name":"protocol_position","signer":false,"writable":false},{"name":"tick_array_lower","signer":false,"writable":true},{"name":"tick_array_upper","signer":false,"writable":true},{"name":"personal_position","signer":false,"writable":true,"docs":"personal position state"},{"name":"token_account_0","signer":false,"writable":true,"docs":"The token_0 account deposit token to the pool"},{"name":"token_account_1","signer":false,"writable":true,"docs":"The token_1 account deposit token to the pool"},{"name":"token_vault_0","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_0"},{"name":"token_vault_1","signer":false,"writable":true,"docs":"The address that holds pool tokens for token_1"},{"name":"rent","signer":false,"writable":false,"docs":"Sysvar for token mint and ATA creation","address":"SysvarRent111111111111111111111111111111111"},{"name":"system_program","signer":false,"writable":false,"docs":"Program to create the position manager state account","address":"11111111111111111111111111111111"},{"name":"token_program","signer":false,"writable":false,"docs":"Program to transfer for token account","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"associated_token_program","signer":false,"writable":false,"docs":"Program to create an ATA for receiving position NFT","address":"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"Program to create NFT mint/token account and transfer for token22 account","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"},{"name":"vault_0_mint","signer":false,"writable":false,"docs":"The mint of token vault 0"},{"name":"vault_1_mint","signer":false,"writable":false,"docs":"The mint of token vault 1"}],"collisions":[],"handler":{"instruction":"open_position_with_token22_nft","handlerPath":"programs/amm/src/instructions/open_position_with_token22_nft.rs","handlerFn":"open_position_with_token22_nft","startLine":133,"endLine":203,"relatedFiles":["programs/amm/src/instructions/open_position.rs","programs/amm/src/util/system.rs","programs/amm/src/util/token.rs"],"staticCpis":[{"program":"System Program","via":"create_account via create_nft_mint_with_extensions (programs/amm/src/util/token.rs:318)","programId":"11111111111111111111111111111111"},{"program":"unresolved (invoke)","via":"invoke via create_nft_mint_with_extensions (programs/amm/src/util/token.rs:318)"},{"program":"SPL Token / Token-2022","via":"initialize via create_nft_mint_with_extensions (programs/amm/src/util/token.rs:318)"},{"program":"SPL Token / Token-2022","via":"mint_to via mint_nft_and_remove_mint_authority (programs/amm/src/instructions/open_position.rs:689)"},{"program":"SPL Token / Token-2022","via":"set_authority via mint_nft_and_remove_mint_authority (programs/amm/src/instructions/open_position.rs:689)"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)"},{"program":"SPL Token","via":"token::transfer via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"program":"Metaplex Token Metadata","via":"create_metadata_accounts_v3 via initialize_metadata_account (programs/amm/src/instructions/open_position.rs:785)"},{"program":"unresolved (invoke_signed)","via":"invoke_signed via initialize_token_metadata_extension (programs/amm/src/util/token.rs:407)"},{"program":"System Program","via":"system transfer via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"},{"program":"System Program","via":"create_account via create_or_allocate_account (programs/amm/src/util/system.rs:3)","programId":"11111111111111111111111111111111"}],"mapping":"anchor-program-module"}},{"name":"set_reward_params","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"7034a74b20c9d389","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"reward_index","type":"u8"},{"name":"emissions_per_second_x64","type":"u128"},{"name":"open_time","type":"u64"},{"name":"end_time","type":"u64"}],"accounts":[{"name":"authority","signer":true,"writable":false,"docs":"Address to be set as protocol owner. It pays to create factory state account."},{"name":"amm_config","signer":false,"writable":false},{"name":"pool_state","signer":false,"writable":true},{"name":"operation_state","signer":false,"writable":false,"docs":"load info from the account to judge reward permission"},{"name":"token_program","signer":false,"writable":false,"docs":"Token program","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"Token program 2022","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"}],"collisions":[],"handler":{"instruction":"set_reward_params","handlerPath":"programs/amm/src/instructions/set_reward_params.rs","handlerFn":"set_reward_params","startLine":41,"endLine":137,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)"},{"program":"SPL Token","via":"token::transfer via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"settle_limit_order","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"cd4e74215c691a60","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"pool_state","signer":false,"writable":false},{"name":"tick_array","signer":false,"writable":false},{"name":"limit_order","signer":false,"writable":true},{"name":"output_token_account","signer":false,"writable":true,"docs":"The owner's output token account (opposite direction from input)"},{"name":"output_vault","signer":false,"writable":true,"docs":"The address that holds output tokens"},{"name":"output_vault_mint","signer":false,"writable":false,"docs":"The mint of output vault"},{"name":"output_token_program","signer":false,"writable":false,"docs":"SPL-TOKEN / SPL-TOKEN2022 program for token transfers"}],"collisions":[],"handler":{"instruction":"settle_limit_order","handlerPath":"programs/amm/src/instructions/limit_order/settle_limit_order.rs","handlerFn":"settle_limit_order","startLine":57,"endLine":95,"relatedFiles":[],"staticCpis":[{"program":"SPL Token / Token-2022","via":"transfer_checked (programs/amm/src/instructions/limit_order/settle_limit_order.rs)"}],"mapping":"anchor-program-module"}},{"name":"swap","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"f8c69e91e17587c8","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"amount","type":"u64"},{"name":"other_amount_threshold","type":"u64"},{"name":"sqrt_price_limit_x64","type":"u128"},{"name":"is_base_input","type":"bool"}],"accounts":[{"name":"payer","signer":true,"writable":false,"docs":"The user performing the swap"},{"name":"amm_config","signer":false,"writable":false,"docs":"The factory state to read protocol fees"},{"name":"pool_state","signer":false,"writable":true,"docs":"The program account of the pool in which the swap will be performed"},{"name":"input_token_account","signer":false,"writable":true,"docs":"The user token account for input token"},{"name":"output_token_account","signer":false,"writable":true,"docs":"The user token account for output token"},{"name":"input_vault","signer":false,"writable":true,"docs":"The vault token account for input token"},{"name":"output_vault","signer":false,"writable":true,"docs":"The vault token account for output token"},{"name":"observation_state","signer":false,"writable":true,"docs":"The program account for the most recent oracle observation"},{"name":"token_program","signer":false,"writable":false,"docs":"SPL program for token transfers","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"tick_array","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"swap","handlerPath":"programs/amm/src/instructions/swap.rs","handlerFn":"swap","startLine":967,"endLine":1005,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)"},{"program":"SPL Token","via":"token::transfer via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)"},{"program":"SPL Token","via":"token::transfer via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"swap_router_base_in","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"457d73daf5baf2c4","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"amount_in","type":"u64"},{"name":"amount_out_minimum","type":"u64"}],"accounts":[{"name":"payer","signer":true,"writable":false,"docs":"The user performing the swap"},{"name":"input_token_account","signer":false,"writable":true,"docs":"The token account that pays input tokens for the swap"},{"name":"input_token_mint","signer":false,"writable":true,"docs":"The mint of input token"},{"name":"token_program","signer":false,"writable":false,"docs":"SPL program for token transfers","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"SPL program 2022 for token transfers","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"},{"name":"memo_program","signer":false,"writable":false,"docs":"Memo program","address":"MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr"}],"collisions":[],"handler":{"instruction":"swap_router_base_in","handlerPath":"programs/amm/src/instructions/swap_router_base_in.rs","handlerFn":"swap_router_base_in","startLine":33,"endLine":111,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"unresolved (invoke)","via":"invoke via invoke_memo_instruction (programs/amm/src/util/token.rs:47)"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)"},{"program":"SPL Token","via":"token::transfer via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)"},{"program":"SPL Token","via":"token::transfer via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"swap_v2","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"2b04ed0b1ac91e62","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"amount","type":"u64"},{"name":"other_amount_threshold","type":"u64"},{"name":"sqrt_price_limit_x64","type":"u128"},{"name":"is_base_input","type":"bool"}],"accounts":[{"name":"payer","signer":true,"writable":false,"docs":"The user performing the swap"},{"name":"amm_config","signer":false,"writable":false,"docs":"The factory state to read protocol fees"},{"name":"pool_state","signer":false,"writable":true,"docs":"The program account of the pool in which the swap will be performed"},{"name":"input_token_account","signer":false,"writable":true,"docs":"The user token account for input token"},{"name":"output_token_account","signer":false,"writable":true,"docs":"The user token account for output token"},{"name":"input_vault","signer":false,"writable":true,"docs":"The vault token account for input token"},{"name":"output_vault","signer":false,"writable":true,"docs":"The vault token account for output token"},{"name":"observation_state","signer":false,"writable":true,"docs":"The program account for the most recent oracle observation"},{"name":"token_program","signer":false,"writable":false,"docs":"SPL program for token transfers","address":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name":"token_program_2022","signer":false,"writable":false,"docs":"SPL program 2022 for token transfers","address":"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"},{"name":"memo_program","signer":false,"writable":false,"docs":"Memo program","address":"MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr"},{"name":"input_vault_mint","signer":false,"writable":false,"docs":"The mint of token vault 0"},{"name":"output_vault_mint","signer":false,"writable":false,"docs":"The mint of token vault 1"}],"collisions":[],"handler":{"instruction":"swap_v2","handlerPath":"programs/amm/src/instructions/swap_v2.rs","handlerFn":"swap_v2","startLine":333,"endLine":362,"relatedFiles":["programs/amm/src/util/token.rs"],"staticCpis":[{"program":"unresolved (invoke)","via":"invoke via invoke_memo_instruction (programs/amm/src/util/token.rs:47)"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)"},{"program":"SPL Token","via":"token::transfer via transfer_from_pool_vault_to_user (programs/amm/src/util/token.rs:103)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"program":"SPL Token / Token-2022","via":"transfer_checked via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)"},{"program":"SPL Token","via":"token::transfer via transfer_from_user_to_pool_vault (programs/amm/src/util/token.rs:56)","programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"}],"mapping":"anchor-program-module"}},{"name":"transfer_reward_owner","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"07160c53f22b3079","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"new_owner","type":"pubkey"}],"accounts":[{"name":"authority","signer":true,"writable":false,"docs":"Address to be set as operation account owner.","address":"2kqJncUWCkk5TyJYamPW5DECfqAz4brYpH6r5j6vg9yx"},{"name":"pool_state","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"transfer_reward_owner","handlerPath":"programs/amm/src/instructions/admin/transfer_reward_owner.rs","handlerFn":"transfer_reward_owner","startLine":16,"endLine":26,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"update_amm_config","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"313cae889a1c74c8","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"param","type":"u8"},{"name":"value","type":"u32"}],"accounts":[{"name":"owner","signer":true,"writable":false,"docs":"The amm config owner or admin","address":"2kqJncUWCkk5TyJYamPW5DECfqAz4brYpH6r5j6vg9yx"},{"name":"amm_config","signer":false,"writable":true,"docs":"Amm config account to be changed"}],"collisions":[],"handler":{"instruction":"update_amm_config","handlerPath":"programs/amm/src/instructions/admin/update_amm_config.rs","handlerFn":"update_amm_config","startLine":16,"endLine":45,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"update_dynamic_fee_config","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"0707500802c784f0","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"filter_period","type":"u16"},{"name":"decay_period","type":"u16"},{"name":"reduction_factor","type":"u16"},{"name":"dynamic_fee_control","type":"u32"},{"name":"max_volatility_accumulator","type":"u32"}],"accounts":[{"name":"owner","signer":true,"writable":false,"docs":"The admin has permission to update the config","address":"2kqJncUWCkk5TyJYamPW5DECfqAz4brYpH6r5j6vg9yx"},{"name":"dynamic_fee_config","signer":false,"writable":true,"docs":"The dynamic fee config account to be updated"}],"collisions":[],"handler":{"instruction":"update_dynamic_fee_config","handlerPath":"programs/amm/src/instructions/admin/update_dynamic_fee_config.rs","handlerFn":"update_dynamic_fee_config","startLine":18,"endLine":35,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"update_operation_account","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"7f467728bce33d07","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"param","type":"u8"},{"name":"keys","type":"vec<pubkey>"}],"accounts":[{"name":"owner","signer":true,"writable":false,"docs":"Address to be set as operation account owner.","address":"2kqJncUWCkk5TyJYamPW5DECfqAz4brYpH6r5j6vg9yx"},{"name":"operation_state","signer":false,"writable":true,"docs":"Initialize operation state account to store operation owner address and white list mint."},{"name":"system_program","signer":false,"writable":false,"address":"11111111111111111111111111111111"}],"collisions":[],"handler":{"instruction":"update_operation_account","handlerPath":"programs/amm/src/instructions/admin/update_operation_account.rs","handlerFn":"update_operation_account","startLine":26,"endLine":41,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"update_pool_status","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"82576c062ee0757b","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[{"name":"status","type":"u8"}],"accounts":[{"name":"authority","signer":true,"writable":false,"address":"2kqJncUWCkk5TyJYamPW5DECfqAz4brYpH6r5j6vg9yx"},{"name":"pool_state","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"update_pool_status","handlerPath":"programs/amm/src/instructions/admin/update_pool_status.rs","handlerFn":"update_pool_status","startLine":15,"endLine":20,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"update_reward_infos","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","discriminatorHex":"a3ace0340b9a6adf","decoding":"anchor-idl-discriminator","idlSha256":"040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1","args":[],"accounts":[{"name":"pool_state","signer":false,"writable":true,"docs":"The liquidity pool for which reward info to update"}],"collisions":[],"handler":{"instruction":"update_reward_infos","handlerPath":"programs/amm/src/instructions/update_reward_info.rs","handlerFn":"update_reward_infos","startLine":11,"endLine":24,"relatedFiles":[],"staticCpis":[],"mapping":"anchor-program-module"}}],"proofs":[{"instruction":"close_limit_order","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 4c7c800fd55725fa.","Handler programs/amm/src/instructions/limit_order/close_limit_order.rs#L18 (close_limit_order).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"close_position","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 7b86510031446262.","Handler programs/amm/src/instructions/close_position.rs#L47 (close_position).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"close_protocol_position","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator c975989055556cb2.","Handler programs/amm/src/instructions/admin/close_protocol_position.rs#L20 (close_protocol_position).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"collect_fund_fee","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator a78a4e95dfc2067e.","Handler programs/amm/src/instructions/admin/collect_fund_fee.rs#L62 (collect_fund_fee).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"collect_protocol_fee","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 8888fcddc2427e59.","Handler programs/amm/src/instructions/admin/collect_protocol_fee.rs#L65 (collect_protocol_fee).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"collect_remaining_rewards","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 12eda6c52210d590.","Handler programs/amm/src/instructions/collect_remaining_rewards.rs#L41 (collect_remaining_rewards).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"create_amm_config","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 8934edd4d7756c68.","Handler programs/amm/src/instructions/admin/create_amm_config.rs#L32 (create_amm_config).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"create_customizable_pool","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 2b44d4a7592fa401.","Handler programs/amm/src/instructions/create_customizable_pool.rs#L133 (create_customizable_pool).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"create_dynamic_fee_config","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator bd0eb5785576e33e.","Handler programs/amm/src/instructions/admin/create_dynamic_fee_config.rs#L26 (create_dynamic_fee_config).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"create_operation_account","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 3f5794216d230868.","Handler programs/amm/src/instructions/admin/create_operation_account.rs#L28 (create_operation_account).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"create_pool","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator e992d18ecf6840bc.","Handler programs/amm/src/instructions/create_pool.rs#L123 (create_pool).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"create_support_mint_associated","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 11fb415c88f20ea9.","Handler programs/amm/src/instructions/admin/create_support_mint_associated.rs#L44 (create_support_mint_associated).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"decrease_limit_order","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 759d3c674231a300.","Handler programs/amm/src/instructions/limit_order/decrease_limit_order.rs#L92 (decrease_limit_order).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"decrease_liquidity","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator a026d06f685b2c01.","Handler programs/amm/src/instructions/decrease_liquidity.rs#L88 (decrease_liquidity_v1).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"decrease_liquidity_v2","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 3a7fbc3e4f52c460.","Handler programs/amm/src/instructions/decrease_liquidity_v2.rs#L101 (decrease_liquidity_v2).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"increase_limit_order","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator b19059ecfaba7d63.","Handler programs/amm/src/instructions/limit_order/increase_limit_order.rs#L60 (increase_limit_order).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"increase_liquidity","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 2e9cf3760dcdfbb2.","Handler programs/amm/src/instructions/increase_liquidity.rs#L83 (increase_liquidity_v1).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"increase_liquidity_v2","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 851d59df45eeb00a.","Handler programs/amm/src/instructions/increase_liquidity_v2.rs#L94 (increase_liquidity_v2).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"initialize_reward","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 5f87c0c4f281e644.","Handler programs/amm/src/instructions/initialize_reward.rs#L96 (initialize_reward).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"open_limit_order","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 9d20dab7471d1293.","Handler programs/amm/src/instructions/limit_order/open_limit_order.rs#L93 (open_limit_order).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"open_position","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 87802f4d0f98f031.","Handler programs/amm/src/instructions/open_position.rs#L151 (open_position_v1).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"open_position_v2","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 4db84ad67056f1c7.","Handler programs/amm/src/instructions/open_position_v2.rs#L147 (open_position_v2).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"open_position_with_token22_nft","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 4dffae527d1dc92e.","Handler programs/amm/src/instructions/open_position_with_token22_nft.rs#L133 (open_position_with_token22_nft).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"set_reward_params","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 7034a74b20c9d389.","Handler programs/amm/src/instructions/set_reward_params.rs#L41 (set_reward_params).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"settle_limit_order","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator cd4e74215c691a60.","Handler programs/amm/src/instructions/limit_order/settle_limit_order.rs#L57 (settle_limit_order).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"swap","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator f8c69e91e17587c8.","Handler programs/amm/src/instructions/swap.rs#L967 (swap).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"swap_router_base_in","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 457d73daf5baf2c4.","Handler programs/amm/src/instructions/swap_router_base_in.rs#L33 (swap_router_base_in).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"swap_v2","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 2b04ed0b1ac91e62.","Handler programs/amm/src/instructions/swap_v2.rs#L333 (swap_v2).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"transfer_reward_owner","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 07160c53f22b3079.","Handler programs/amm/src/instructions/admin/transfer_reward_owner.rs#L16 (transfer_reward_owner).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"update_amm_config","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 313cae889a1c74c8.","Handler programs/amm/src/instructions/admin/update_amm_config.rs#L16 (update_amm_config).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"update_dynamic_fee_config","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 0707500802c784f0.","Handler programs/amm/src/instructions/admin/update_dynamic_fee_config.rs#L18 (update_dynamic_fee_config).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"update_operation_account","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 7f467728bce33d07.","Handler programs/amm/src/instructions/admin/update_operation_account.rs#L26 (update_operation_account).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"update_pool_status","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator 82576c062ee0757b.","Handler programs/amm/src/instructions/admin/update_pool_status.rs#L15 (update_pool_status).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"},{"instruction":"update_reward_infos","programId":"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","verdict":"PARTIAL","reasons":["Program snapshot at slot 471652492: executable, RPC agree, hash 4b96e92b8705….","Decoded by anchor-idl-discriminator a3ace0340b9a6adf.","Handler programs/amm/src/instructions/update_reward_info.rs#L11 (update_reward_infos).","Live source 6d7a0f82 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":null,"crateChangedSinceReview":null,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"raydium-clmm-ottersec-2022","auditor":"OtterSec","reviewedCommit":"4fe73c7","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"raydium-clmm-sec3-2026","auditor":"Sec3","reviewedCommit":"f1ec7dc","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[],"checkedAtSlot":471652492,"snapshotExecutableHash":"4b96e92b8705b24efe621d75ba4aebb208d708e91ab2aaa66e21d3d7965cb16b"}],"coverage":{"totalDiscovered":34,"decoded":34,"inReportNamedFiles":0,"reviewScopeEstablished":0,"matchingReviewedLiveCode":0,"changed":0,"unknown":0,"partial":34},"programVerdict":"PARTIAL","programReasons":["Not every decoded instruction is MATCHED.","34 instructions: 0 MATCHED, 0 CHANGED, 34 PARTIAL, 0 UNKNOWN."],"handlerMap":{"repo":"https://github.com/raydium-io/raydium-clmm","commit":"f1ec7dcb4f8ea46f662c5fef0326817a463a1bfe"}}],"nonExecutableAccounts":[{"address":"GThUX1Atko4tqhN2NaiTazWSeFWMuiUvfFnyJyUghFMJ","kind":"other","label":"Raydium shared program admin key","note":"Hardcoded admin key for admin-gated instructions such as create_amm_config and update_pool_status. It is not the upgrade authority.","source":{"url":"https://docs.raydium.io/reference/program-addresses","method":"official_docs","retrievedAt":"2026-11-20T00:13:19Z","states":"Lists this key as the mainnet admin::ID shared by the Anchor programs including CLMM."}}],"demoAccounts":[],"audits":[{"id":"raydium-clmm-ottersec-2022","auditor":"OtterSec","title":"Audit: Raydium AMM v3 (concentrated liquidity)","reportUrl":"https://raw.githubusercontent.com/raydium-io/raydium-docs/09d705ffc044430a6d6aa888f096f176df7077af/audit/OtterSec%20Q3%202022/Raydium%20concentrated%20liquidity%20(CLMM)%20program.pdf","pdfSha256":"8c5b655f43f8399d239c76911d0853db172bbfd6a025fdc7212655ddbab17509","pdfBytes":144960,"retrievedAt":"2026-11-20T00:13:19Z","dates":{"start":"2022-09-25","end":"2022-12-09"},"reviewedRepo":"https://github.com/raydium-io/raydium-amm-v3","reviewedCommits":[{"commit":"4fe73c7","role":"initial","page":4,"note":"Printed short hash; it resolves in raydium-io/raydium-clmm to 4fe73c7bd43ee29850535b36090212963b2a630e (2022-10-04)."}],"scopePaths":[],"exclusions":[],"programsInScope":["CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK"],"findings":[{"id":"OS-RAY-ADV-00","title":"Unchecked Type Casting","severity":"high","status":"resolved","recheckEvidence":"Patch: fixed in #27."},{"id":"OS-RAY-ADV-01","title":"Closing Personal Positions Is Not Gated","severity":"medium","status":"resolved","recheckEvidence":"Patch: fixed in #26."},{"id":"OS-RAY-ADV-02","title":"Arbitrary AMM Config Possible Usage","severity":"medium","status":"resolved","recheckEvidence":"Patch: fixed in #35."},{"id":"OS-RAY-ADV-03","title":"Accounts Are Incorrectly Closed","severity":"low","status":"resolved","recheckEvidence":"Patch: fixed in #26."},{"id":"OS-RAY-ADV-04","title":"Closing Active Accounts Is Dangerous","severity":"low","status":"resolved","recheckEvidence":"Patch: fixed in #26."},{"id":"OS-RAY-ADV-05","title":"Rewards State DOS","severity":"low","status":"resolved","recheckEvidence":"Patch: fixed in #35."},{"id":"OS-RAY-SUG-00","title":"Admin Sanity Checks","severity":"informational","status":"resolved","recheckEvidence":"Patch: fixed in bbf8f40 and aec59eb."},{"id":"OS-RAY-SUG-01","title":"Arithmetic Overflow Checks","severity":"informational","status":"resolved","recheckEvidence":"Patch: fixed in #26."},{"id":"OS-RAY-SUG-02","title":"Explicitly Initialize All Pool State Fields","severity":"informational","status":"resolved","recheckEvidence":"Patch: fixed in #26."},{"id":"OS-RAY-SUG-03","title":"Ineffective Initialization Check","severity":"informational","status":"resolved","recheckEvidence":"Patch: fixed in a768d0f."},{"id":"OS-RAY-SUG-04","title":"Allow Token Authority To Modify The Position","severity":"informational","status":"unstated","recheckEvidence":"Patch section reads \"Fixed in #XXX\" (placeholder)."},{"id":"OS-RAY-SUG-05","title":"Inconsistent List Of Possible Reward Funders","severity":"informational","status":"unstated","recheckEvidence":"Patch section reads \"Fixed in #XXX\" (placeholder)."}],"findingCounts":{"critical":0,"high":1,"medium":2,"low":3,"informational":6},"extraction":"pdf-text","confidence":"direct","notes":"One program in scope, named raydium-amm-v3. Final patch confirmation was delivered on 2022-12-30. Program tie: the security_txt block in programs/amm/src/lib.rs links this report as the auditors entry, and the same file declares this program ID."},{"id":"raydium-clmm-sec3-2026","auditor":"Sec3","title":"Security Assessment Report: Raydium CLMM Incremental, Limit Order and Dynamic Fee","reportUrl":"https://raw.githubusercontent.com/raydium-io/raydium-docs/09d705ffc044430a6d6aa888f096f176df7077af/audit/Sec3%20Q2%202026/raydium_clmm_limitorder_dynamicfee.pdf","pdfSha256":"255e68383d3e936ee23320b477a58a4cb95a1faca8d56849e3882785cd9b92e5","pdfBytes":218199,"retrievedAt":"2026-11-20T00:13:19Z","dates":{"published":"2026-04-21"},"reviewedRepo":"https://github.com/raydium-io/raydium-clmm","reviewedCommits":[{"commit":"c678919","role":"initial","page":2,"note":"Resolves to c6789199fe17d4a1a85a05bae32f70b3819953d9 (2026-03-06)."},{"commit":"f1ec7dc","role":"final","page":2,"note":"Printed as c678919 → f1ec7dc; resolves to f1ec7dcb4f8ea46f662c5fef0326817a463a1bfe (2026-04-16)."}],"scopePaths":[],"exclusions":["tests","soundness of the economics design and algorithm (report appendix: out of scope)"],"programsInScope":["CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK"],"findings":[{"id":"M-01","title":"Limit order only match can strand the LP fee remainder","severity":"medium","status":"Resolved","fixCommit":"27c92527f5d76b017d9ca76198ecaa7e07dc6b1a"},{"id":"M-02","title":"Shared partial-fill accounting allows over-settlement across orders","severity":"medium","status":"Resolved","fixCommit":"f1ec7dcb4f8ea46f662c5fef0326817a463a1bfe"},{"id":"L-01","title":"Missing check_limit_order_amount in increase_limit_order","severity":"low","status":"Resolved","fixCommit":"27c92527f5d76b017d9ca76198ecaa7e07dc6b1a"},{"id":"L-02","title":"Zero amount final settlement blocks close_limit_order","severity":"low","status":"Resolved","fixCommit":"27c92527f5d76b017d9ca76198ecaa7e07dc6b1a"},{"id":"L-03","title":"Exact-output swaps can revert when sqrt_price_limit_x64=0","severity":"low","status":"Resolved","recheckEvidence":"Report says resolved by commit 8f0b4be, which is not in the default-branch clone history."},{"id":"L-04","title":"Small remaining exact-input amount can revert limit-order matching","severity":"low","status":"Resolved","fixCommit":"27c92527f5d76b017d9ca76198ecaa7e07dc6b1a"},{"id":"L-05","title":"Legacy swap fails when pool price remains unchanged","severity":"low","status":"Resolved","fixCommit":"5ec3081af0ff3af33dc5b2b596e807be3b3632b9"},{"id":"I-01","title":"settle_filled_order output loses precision on repeated partial settlements","severity":"informational","status":"Acknowledged"},{"id":"I-02","title":"Base fee rate not capped at MAX_FEE_RATE_NUMERATOR in static-fee pools","severity":"informational","status":"Acknowledged"},{"id":"I-03","title":"DynamicFeeConfig validated with hardcoded tick_spacing","severity":"informational","status":"Acknowledged"},{"id":"I-04","title":"Decrease rebasing can discard deferred settlement dust","severity":"informational","status":"Acknowledged"}],"findingCounts":{"critical":0,"high":0,"medium":2,"low":5,"informational":4},"extraction":"pdf-text","confidence":"direct","notes":"Incremental review of the limit order and dynamic fee diff (c678919 → f1ec7dc), excluding tests. The economics design is stated as out of scope. Fix commits are printed as short hashes and resolved in the public repo. Program tie: the report names the Raydium CLMM program and repo, which declares this program ID."}],"sourceDiffs":[{"repo":"https://github.com/raydium-io/raydium-clmm","fromCommit":"4fe73c7bd43ee29850535b36090212963b2a630e","fromLabel":"OtterSec 2022: audited commit 4fe73c7","toCommit":"119ed36bf9f33335ed8d671780502bc37d9f1605","toLabel":"OtterSec verify API commit 119ed36","path":"programs/amm","filesChanged":[{"path":"programs/amm/Cargo.toml","status":"M","additions":23,"deletions":8},{"path":"programs/amm/src/error.rs","status":"M","additions":23,"deletions":4},{"path":"programs/amm/src/instructions/admin/close_personal_position.rs","status":"D","additions":0,"deletions":25},{"path":"programs/amm/src/instructions/admin/close_pool.rs","status":"D","additions":0,"deletions":71},{"path":"programs/amm/src/instructions/admin/close_protocol_position.rs","status":"D","additions":0,"deletions":26},{"path":"programs/amm/src/instructions/admin/close_tick_array.rs","status":"D","additions":0,"deletions":33},{"path":"programs/amm/src/instructions/admin/collect_fund_fee.rs","status":"A","additions":113,"deletions":0},{"path":"programs/amm/src/instructions/admin/collect_protocol_fee.rs","status":"M","additions":57,"deletions":35},{"path":"programs/amm/src/instructions/admin/collect_remaining_rewards.rs","status":"D","additions":0,"deletions":67},{"path":"programs/amm/src/instructions/admin/create_amm_config.rs","status":"M","additions":11,"deletions":5},{"path":"programs/amm/src/instructions/admin/create_operation_account.rs","status":"A","additions":32,"deletions":0},{"path":"programs/amm/src/instructions/admin/initialize_reward.rs","status":"D","additions":0,"deletions":128},{"path":"programs/amm/src/instructions/admin/mod.rs","status":"M","additions":10,"deletions":19},{"path":"programs/amm/src/instructions/admin/reset_sqrt_price.rs","status":"D","additions":0,"deletions":82},{"path":"programs/amm/src/instructions/admin/set_reward_params.rs","status":"D","additions":0,"deletions":142},{"path":"programs/amm/src/instructions/admin/transfer_reward_owner.rs","status":"A","additions":26,"deletions":0},{"path":"programs/amm/src/instructions/admin/update_amm_config.rs","status":"M","additions":39,"deletions":20},{"path":"programs/amm/src/instructions/admin/update_operation_account.rs","status":"A","additions":41,"deletions":0},{"path":"programs/amm/src/instructions/admin/update_pool_status.rs","status":"A","additions":20,"deletions":0},{"path":"programs/amm/src/instructions/close_position.rs","status":"M","additions":48,"deletions":46},{"path":"programs/amm/src/instructions/collect_remaining_rewards.rs","status":"A","additions":104,"deletions":0},{"path":"programs/amm/src/instructions/create_pool.rs","status":"M","additions":78,"deletions":51},{"path":"programs/amm/src/instructions/decrease_liquidity.rs","status":"M","additions":305,"deletions":94},{"path":"programs/amm/src/instructions/decrease_liquidity_v2.rs","status":"A","additions":137,"deletions":0},{"path":"programs/amm/src/instructions/increase_liquidity.rs","status":"M","additions":109,"deletions":34},{"path":"programs/amm/src/instructions/increase_liquidity_v2.rs","status":"A","additions":132,"deletions":0},{"path":"programs/amm/src/instructions/initialize_reward.rs","status":"A","additions":152,"deletions":0},{"path":"programs/amm/src/instructions/mod.rs","status":"M","additions":24,"deletions":0},{"path":"programs/amm/src/instructions/open_position.rs","status":"M","additions":786,"deletions":241},{"path":"programs/amm/src/instructions/open_position_v2.rs","status":"A","additions":208,"deletions":0},{"path":"programs/amm/src/instructions/open_position_with_token22_nft.rs","status":"A","additions":217,"deletions":0},{"path":"programs/amm/src/instructions/set_reward_params.rs","status":"A","additions":253,"deletions":0},{"path":"programs/amm/src/instructions/swap.rs","status":"M","additions":2192,"deletions":161},{"path":"programs/amm/src/instructions/swap_router_base_in.rs","status":"M","additions":50,"deletions":25},{"path":"programs/amm/src/instructions/swap_v2.rs","status":"A","additions":367,"deletions":0},{"path":"programs/amm/src/instructions/update_reward_info.rs","status":"M","additions":2,"deletions":1},{"path":"programs/amm/src/lib.rs","status":"M","additions":265,"deletions":51},{"path":"programs/amm/src/libraries/big_num.rs","status":"M","additions":301,"deletions":194},{"path":"programs/amm/src/libraries/full_math.rs","status":"M","additions":54,"deletions":11},{"path":"programs/amm/src/libraries/liquidity_math.rs","status":"M","additions":48,"deletions":49},{"path":"programs/amm/src/libraries/sqrt_price_math.rs","status":"M","additions":10,"deletions":7},{"path":"programs/amm/src/libraries/swap_math.rs","status":"M","additions":257,"deletions":69},{"path":"programs/amm/src/libraries/tick_array_bit_map.rs","status":"M","additions":160,"deletions":66},{"path":"programs/amm/src/libraries/tick_math.rs","status":"M","additions":111,"deletions":4},{"path":"programs/amm/src/libraries/unsafe_math.rs","status":"M","additions":0,"deletions":1},{"path":"programs/amm/src/states/config.rs","status":"M","additions":10,"deletions":11},{"path":"programs/amm/src/states/mod.rs","status":"M","additions":4,"deletions":0},{"path":"programs/amm/src/states/operation_account.rs","status":"A","additions":266,"deletions":0},{"path":"programs/amm/src/states/oracle.rs","status":"M","additions":158,"deletions":358},{"path":"programs/amm/src/states/personal_position.rs","status":"M","additions":88,"deletions":24},{"path":"programs/amm/src/states/pool.rs","status":"M","additions":1306,"deletions":266},{"path":"programs/amm/src/states/protocol_position.rs","status":"M","additions":22,"deletions":7},{"path":"programs/amm/src/states/tick_array.rs","status":"M","additions":979,"deletions":223},{"path":"programs/amm/src/states/tickarray_bitmap_extension.rs","status":"A","additions":666,"deletions":0},{"path":"programs/amm/src/util/access_control.rs","status":"D","additions":0,"deletions":21},{"path":"programs/amm/src/util/account_load.rs","status":"A","additions":168,"deletions":0},{"path":"programs/amm/src/util/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/amm/src/util/system.rs","status":"M","additions":17,"deletions":15},{"path":"programs/amm/src/util/token.rs","status":"M","additions":290,"deletions":59}],"computedAt":"2026-11-19T22:29:34Z","method":"git-diff-numstat","compareUrl":"https://github.com/raydium-io/raydium-clmm/compare/4fe73c7bd43ee29850535b36090212963b2a630e...119ed36bf9f33335ed8d671780502bc37d9f1605"}],"transactions":["5qAjGnwuKWPDVfYu7r5BB4SHyuDMDAvwgwSuXgXHBGfZxradJfkhLFo21Ef4qsFdLiuz3ocfPNCVK5tQbHigVsoV","BKsVzEnPefEaVvkjQP2KngQJuayd7jCQDLU1ZG4f2s3zjZvuYU9sLSTUgqsrAiA9UfhLBDwEq1P2kYD4RBGte1d","2fYPcBp67NvpHTyEKgpf7FQei5Nm79WhCZLbDeAcdTVqoPMF9mhs57s53VdHXjqhosAr4HMiMToZGKUzGpVsPHVZ","2GGLfcsJyuyt6yzh1DSVoq7F1fr5Lw23AFZTpE9g11TGdZgEzywKKHFzjpVDW72hgC259ZJPkmAYpJs849VJbRwA"],"openQuestions":["The live program was redeployed at slot 459932378 (2026-10-22). The only provider commit (OtterSec, 119ed36, 2024-11-21) predates both the Sec3 review and the deployment, and the provider marks it not verified. The source of the current deployment is not established.","The handler map is pinned to f1ec7dc, the final commit of the Sec3 review (34 instructions). The repo has later program changes before the deployment date (for example ed7c84a position NFT freeze, ed1eb41 Anchor upgrade with collect_excess_lamports); at edfc5c0 (2026-10-20) lib.rs has 39 instructions. No audit in raydium-docs covers those later changes.","Because the provider commit is older than the latest audited commit, no audited-to-candidate diff exists for the Sec3 review. The recorded diff covers the 2022 OtterSec commit to the provider commit.","The OtterSec report names the repo raydium-amm-v3; its commit 4fe73c7 exists in raydium-clmm history, which suggests a rename, but the report does not say so.","The Sec3 fix commit 8f0b4be for L-03 is not in the public default-branch history.","There is no on-chain Anchor IDL account for this program. The IDL is pinned from raydium-io/raydium-idl and matches the instruction set at f1ec7dc, not necessarily the deployed build.","Other reports in raydium-docs/audit cover other Raydium programs (AMM v4, CPMM, staking, LaunchLab, liquidity locking) and are not recorded here.","Static CPI lists come from source pattern matching up to three helper calls deep. An empty list does not prove the handler makes no CPI."],"generatedAt":"2026-11-22T23:04:15.308Z","observedSlot":471652492,"inputSha256":"e5c68e977c7c18ecd68c5cf449dc12717d40a08882c8fc8bd7a3f1dfb5755e26"}