settle_limit_order
Raydium CLMM (AMM v3)
What this page showsOne instruction (an action a wallet lists) of Raydium CLMM (AMM v3): whether the code that runs it is the code an audit reviewed, why, and the recorded transactions that called it.
Verdict
Partial
Some evidence exists, but one required link is missing, for example the live source is only claimed by a provider or the report names no files.
Checked against the snapshot at slot 471,652,492
Instruction decoded
Established
The instruction bytes match one entry in a pinned IDL or schema, with no collision.
Live code rebuilt by POA
Established
POA rebuilt a source commit and its hash equals the on-chain executable.
Report names the handler file
Not established
A published audit report's scope covers the file that implements this instruction.
Reviewed commit printed
Not established
That report prints the scope and the exact commit it reviewed.
Reviewed code is the live code
Not established
The reviewed commit and the rebuilt live commit hold the same program code.
Every link must hold before POA says Matched. A missing link is not a failure, and never an approval.
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.
What would be needed for a stronger verdict
- A report whose printed scope paths cover the handler file.
Checks
- Decoded
- Yes
- Handler located
- Yes
- Handler in report-named files
- No
- Review scope established
- No
- Reviewed commit known
- Yes
- Live source rebuilt by POA
- Yes
- Live source equals reviewed
- No
- Handler changed since review
- Not established
- Program crate changed since review
- Not established
- Program immutable
- No
- Evidence fresh
- Yes
Discriminator and decoding
- Discriminator
- cd4e74215c691a60
- Method
- Anchor IDL discriminator
- IDL SHA-256
- 040a8c4866317fa028be8a81db54325ce6d9b92aeb10582d89992855bbbce5c1
- Collisions
- None
Arguments
No arguments.
Accounts
Signer and writable flags from the interface definition.
| Account | Flags | Fixed address | Notes |
|---|---|---|---|
| signer | Signer | ||
| pool_state | Read-only | ||
| tick_array | Read-only | ||
| limit_order | Writable | ||
| output_token_account | Writable | The owner's output token account (opposite direction from input) | |
| output_vault | Writable | The address that holds output tokens | |
| output_vault_mint | Read-only | The mint of output vault | |
| output_token_program | Read-only | SPL-TOKEN / SPL-TOKEN2022 program for token transfers |
Handler source
- Function
- settle_limit_order
- File
- programs/amm/src/instructions/limit_order/settle_limit_order.rs · lines 57–95
- At commit
- f1ec7dcb4f8ea46f662c5fef0326817a463a1bfe
- Mapping
- Anchor program module
Related files
No related files traced.
Audit relations
How each report relates to this instruction's handler file.
| Auditor | Relation | Reviewed commit | Scope confidence |
|---|---|---|---|
| OtterSecAudit: Raydium AMM v3 (concentrated liquidity) (opens in a new tab) | Program covered, no paths named | 4fe73c7 | Printed in the report |
| Sec3Security Assessment Report: Raydium CLMM Incremental, Limit Order and Dynamic Fee (opens in a new tab) | Program covered, no paths named | f1ec7dc | Printed in the report |
Changed files since review
Files changed between the reviewed commit and the live source, as recorded.
No changed file is recorded for this instruction.
Call trees
The static tree comes from the handler source. The observed tree comes from a finalized transaction. They are separate evidence and are not merged.
- Instruction
- The instruction itself, with its own verdict.
- Static
- A source file read at the handler map's pinned commit.
- Observed
- A call seen in a finalized mainnet transaction.
- Inferred
- A call read from the handler source, not observed on chain.
Static, from source at f1ec7dc
- Signer
- InstructionPartial
- StaticPartial
- InferredUnknown
No curated transaction calls this instruction.
Transactions
Each curated transaction that calls this instruction, with what is known about the code that ran.
No curated transaction calls this instruction.