Skip to content

What this page showsOne instruction (an action a wallet lists) of Phoenix v1: whether the code that runs it is the code an audit reviewed, why, and the recorded transactions that called it.

Verdict

Changed

The reviewed commit and the live source are both established, and the handler file or a traced related file changed between them.

Checked against the snapshot at slot 472,718,297

The proof chain
  1. Instruction decoded

    Established

    The instruction bytes match one entry in a pinned IDL or schema, with no collision.

  2. Live code rebuilt by POA

    Established

    POA rebuilt a source commit and its hash equals the on-chain executable.

  3. Report names the handler file

    Not established

    A published audit report's scope covers the file that implements this instruction.

  4. Reviewed commit printed

    Not established

    That report prints the scope and the exact commit it reviewed.

  5. Reviewed code is the live code

    Known difference

    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

  1. Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….
  2. Decoded by native-u8-tag 02.
  3. Handler src/program/processor/new_order.rs#L221 (new_order::process_place_limit_order).
  4. Live source c16694d4 established by POA's independent build.
  5. No report with directly extracted scope names a path covering the handler file.
  6. CHANGED: between phoenix-ottersec-2023's reviewed commit 3d09bc8 and live c16694d4 the handler's traced files changed: src/program/processor/new_order.rs (M +4 -1).

What would be needed for a stronger verdict

  1. 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
Yes
Program crate changed since review
Yes
Program immutable
No
Evidence fresh
Yes

Discriminator and decoding

Discriminator
02
Method
Native u8 tag
IDL SHA-256
e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc
Collisions
None

Arguments

NameType
orderPacketOrderPacket

Accounts

Signer and writable flags from the interface definition.

AccountFlagsFixed addressNotes
phoenixProgramRead-onlyPhoenix program
logAuthorityRead-onlyPhoenix log authority
marketWritableThis account holds the market state
traderSigner
seatRead-only
baseAccountWritableTrader base token account
quoteAccountWritableTrader quote token account
baseVaultWritableBase vault PDA, seeds are [b'vault', market_address, base_mint_address]
quoteVaultWritableQuote vault PDA, seeds are [b'vault', market_address, quote_mint_address]
tokenProgramRead-onlyToken program

Handler source

Audit relations

How each report relates to this instruction's handler file.

AuditorRelationReviewed commitScope confidence
OtterSecEllipsis Labs Audit (phoenix, phoenix-seat-manager, sokoban, ellipsis-macros, phoenix-sdk, ellipsis-client) (opens in a new tab)Program covered, no paths named3d09bc8Printed in the report
Mad ShieldPhoenix Limit Order Book Program Audit Report (opens in a new tab)Program covered, no paths namedee9cc03Printed in the report

Changed files since review

Files changed between the reviewed commit and the live source, as recorded.

FileStatusAddedRemoved
src/program/processor/new_order.rsmodified24815
src/lib.rsmodified142

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 c16694d

  • Signer
    • InstructionChanged
      • StaticChanged
      • StaticChanged
      • StaticChanged
      • StaticChanged
      • StaticChanged
      • StaticChanged
      • StaticChanged
      • StaticChanged
      • StaticChanged
      • StaticChanged
      • InferredUnknown
      • InferredUnknown

Observed in transaction 4XjA4Lcs19… at slot 472,697,450

  • Signer
    • InstructionUnknown
    • InstructionUnknown
    • InstructionChanged
      • ObservedChanged
    • InstructionUnknown

Current deployment predates this transaction. Deployment slot 231,433,470, transaction slot 472,697,450, snapshot slot 472,718,297.

Open on Solana Explorer (opens in a new tab)

Transactions

Each curated transaction that calls this instruction, with what is known about the code that ran.

  1. 01

    Transaction at slot 472,697,450

    Current deployment predates this transaction. Deployment slot 231,433,470, transaction slot 472,697,450, snapshot slot 472,718,297.

    Signature
    4XjA4Lcs19JP6KipRUGhnPpLNwUoXqWMfnymbio7F2bye7EkHFpik2CRSUCt3cijXDXRytkVQn1Ca1Vn9vudBVCB
    Slot
    472,697,450
    Block time
    2026-11-22 21:49 UTC
    Status
    Succeeded
    Fee
    7,001 lamports
    Compute units
    26,434
    Message version
    0
    RPC response SHA-256
    0c7d64dd11e849253218fa1902e5bb9f4322c3b66170ce84b6482e280958213e

    Open on Solana Explorer (opens in a new tab)