Skip to content

Demo 04 · Solana · Check before you sign

Before you approve on Solana, see if the code was audited.

Your wallet lists the actions (instructions) a transaction will run. It cannot tell you whether that code is the code an audit reviewed. This demo replays real Solana lending, staking, swap, order book and multisig transactions so you can check one.

  1. 1Pick an action (done)
  2. 2See what your wallet shows (done)
  3. 3Press Check first (done)
  4. 4Read the answer (done)

Pick an action

Each one is a real transaction recorded on Solana mainnet.

Protocol

Raydium CLMM · Swaps and liquidity

Action

Nothing is sent from your browser.

See what your wallet shows

The confirmation a Solana wallet gives you before you approve. Your action is highlighted.

Solana walletApprove transaction
IllustrationDrawn by POA from the recorded transaction. Not a real wallet.
Requesting site
Not known (recorded on mainnet, no site sent it)
Network
mainnet-beta
Network fee
0.000011801 SOL
Accounts it can change
14 of 25

Actions (instructions)2

  1. 0Raydium CLMM (AMM v3)swap_v2
  2. 1Raydium CLMM (AMM v3)open_position_with_token22_nftYour action

Your token balance changes

  • mint TTWo…FbKo−26.678897
  • mint EPjF…Dt1v+14.472224
  • mint Gr9f…E2GK+1

Token accounts of others that change: 2

Checked first.

This is what POA holds about this exact transaction.

Read the answer

Whether the code this action runs is the code an audit reviewed.

The answer · Raydium CLMM · Open a position

Partial

Some proof is missing.

Audited4fe73c7OtterSec
Running now6d7a0f8rebuilt by POA from source

It stops at “An audit covers this action's code”: POA has no proof for that step yet, so it cannot say Matched.

Technical name (instruction): open_position_with_token22_nft

mainnet-betaslot 471,507,824Recorded transaction

How POA got this answer

Five things must all hold before POA says Matched. Read left to right; the answer stops at the first one that does not.

  1. POA read the action

    Holds

    The action's bytes match one entry in the program's published interface (IDL), with no collision.

  2. POA rebuilt the live code from source

    Holds

    POA built the source itself and got the exact program code running on Solana (executable hash match).

  3. An audit covers this action's code

    No proof yet

    A published audit report lists the file that runs this action (the handler file) in its scope.

  4. The audit says which version it checked

    No proof yet

    The report prints the exact code version (commit) it reviewed.

  5. The audited version is the running version

    No proof yet

    The reviewed commit and the rebuilt live commit hold the same program code.

A step with no proof yet is not a failure, and never an approval.

Details· exact reasons and what is needed

What Partial means, exactly

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.

Why

  • 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.

Needed for a stronger verdict

  • A report whose printed scope paths cover the handler file.

Audited by OtterSec 4fe73c7 · Sec3 f1ec7dc

Programs, audits and what this does not prove

Every program this transaction runs (5)

A transaction can call other programs along the way. Each one has its own answer; one program's answer never covers another.

  • Runs your actionRaydium CLMM (AMM v3)CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqKPartial

    Called directly by the transaction

    Actions it ran
    swap_v2Partialopen_position_with_token22_nftPartial
    Who can change the code
    FytDrV…sceZQK
    POA rebuilt it from source
    Rebuilt by POA, hash matches · 6d7a0f8
    Third-party claim (OtterSec verify API)
    Provider reports not verified · 119ed36same hash as POA's read: Yes
    Program page
Solana built-in programs(4)Unknown · no POA proof

System, token and fee-budget programs this transaction calls. POA publishes no proof for them, so each stays Unknown.

  • SPL Token-2022Called by another program (CPI) · no POA proof for this programUnknown
  • SPL TokenCalled by another program (CPI) · no POA proof for this programUnknown
  • System ProgramCalled by another program (CPI) · no POA proof for this programUnknown
  • Associated Token AccountCalled by another program (CPI) · no POA proof for this programUnknown

Which audits cover this action

Audit reports that relate to the code behind this action, and the code version (commit) each one checked.

File that runs this action (handler)programs/amm/src/instructions/open_position_with_token22_nft.rs

  • OtterSec · Program covered, no paths namedchecked 4fe73c7
  • Sec3 · Program covered, no paths namedchecked f1ec7dc

The code that ran

Solana programs can be upgraded. This says whether the code POA checked is the code that ran in this transaction.

The code POA checked was already live when this transaction ran.

Deployment slot 459,932,378, transaction slot 471,507,824, snapshot slot 471,652,492.

What this does not prove

  • A verdict is about the code, not about whether this transaction or its amounts are what you intend.
  • An audit report names what it reviewed. It does not say the code has no bugs.
  • Called programs are judged on their own evidence. A caller's verdict never carries over to them.
  • Unknown never means approved.

Not released: release needs two independent human evidence reviewers.

  • Recorded data
  • 12protocols
  • 37real recorded transactions
  • 31programs they run
  • read at Solana slot472,718,301

All recorded transactions

37 transactions, each with its verdict and the programs it runs

The same answers as above, for every recorded transaction at once, with each program's own verdict.

KaminoLending

  • Technical name (instruction)

    deposit_reserve_liquidity_and_obligation_collateral_v2

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedKamino Lending (KLend)
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownCompute Budget

    Code that ran

    Same as checked

  • Technical name (instruction)

    borrow_obligation_liquidity_v2

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedKamino Lending (KLend)
    • UnknownHFn8…2fWJ
    • UnknownAssociated Token Account
    • UnknownSPL Token-2022
    • UnknownCompute Budget

    Code that ran

    Same as checked

  • Technical name (instruction)

    repay_obligation_liquidity_v2

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedKamino Lending (KLend)
    • UnknownSPL Token
    • UnknownCompute Budget

    Code that ran

    Same as checked

  • Technical name (instruction)

    withdraw_obligation_collateral_and_redeem_reserve_collateral_v2

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedKamino Lending (KLend)
    • UnknownHFn8…2fWJ
    • UnknownFarm…91Hr
    • UnknownSystem Program
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownCompute Budget

    Code that ran

    Same as checked

SquadsMultisig

  • Technical name (instruction)

    multisig_create_v2

    Verdict

    Matched
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • MatchedSquads Protocol v4
    • UnknownCompute Budget
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    vault_transaction_create

    Verdict

    Matched
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • MatchedSquads Protocol v4
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    proposal_approve

    Verdict

    Matched
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • MatchedSquads Protocol v4
    • UnknownCompute Budget
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    vault_transaction_execute

    Verdict

    Matched
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • MatchedSquads Protocol v4
    • UnknownDyrw…VMjo
    • UnknownCompute Budget
    • UnknownSystem Program

    Code that ran

    Same as checked

OrcaSwaps and liquidity

  • Technical name (instruction)

    swap

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialWhirlpool program
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSystem Program
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    increase_liquidity

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialWhirlpool program
    • UnknownCompute Budget
    • UnknownSystem Program
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    decrease_liquidity

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialWhirlpool program
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    open_position

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialWhirlpool program
    • UnknownCompute Budget
    • UnknownSystem Program
    • UnknownSPL Token
    • UnknownAssociated Token Account

    Code that ran

    Same as checked

  • Technical name (instruction)

    collect_fees

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialWhirlpool program
    • UnknownCompute Budget
    • UnknownSystem Program
    • UnknownSPL Token

    Code that ran

    Same as checked

marginfiLending

  • Technical name (instruction)

    lending_account_deposit

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • Partialmarginfi v2 (mrgnLend)
    • UnknownCompute Budget
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    lending_account_borrow

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • Partialmarginfi v2 (mrgnLend)
    • UnknownFQXq…Bfdq
    • UnknownJUP6…TaV4
    • UnknownArch…PMhy
    • UnknownALPH…4pHA
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    lending_account_repay

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • Partialmarginfi v2 (mrgnLend)
    • UnknownL2TE…3S95
    • UnknownCompute Budget
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    lending_account_withdraw

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • Partialmarginfi v2 (mrgnLend)
    • UnknownL2TE…3S95
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token

    Code that ran

    Same as checked

MarinadeLiquid staking

  • Technical name (instruction)

    deposit

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • PartialMarinade liquid staking program
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    liquid_unstake

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Established

    Programs it runs, each with its own verdict

    • PartialMarinade liquid staking program
    • UnknownSystem Program
    • UnknownSPL Token

    Code that ran

    Same as checked

JitoLiquid staking

  • Technical name (instruction)

    DepositSol

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedSPL Stake Pool program
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

Jupiter LendLending

  • Technical name (instruction)

    deposit

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialJupiter Lend Earn (lending)
    • PartialJupiter Lend Liquidity
    • UnknownCompute Budget
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    operate

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialJupiter Lend Borrow (vaults)
    • PartialJupiter Lend Oracle
    • PartialJupiter Lend Liquidity
    • UnknownCompute Budget
    • UnknownSPL Token

    Code that ran

    Same as checked

Raydium CLMMSwaps and liquidity

  • Technical name (instruction)

    swap_v2

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialRaydium CLMM (AMM v3)
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program
    • UnknownSPL Token-2022

    Code that ran

    Same as checked

  • Technical name (instruction)

    increase_liquidity_v2

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialRaydium CLMM (AMM v3)
    • UnknownSystem Program
    • UnknownSPL Token
    • UnknownSPL Token-2022

    Code that ran

    Same as checked

  • Technical name (instruction)

    open_position_with_token22_nft

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialRaydium CLMM (AMM v3)
    • UnknownSPL Token-2022
    • UnknownSPL Token
    • UnknownSystem Program
    • UnknownAssociated Token Account

    Code that ran

    Same as checked

Raydium CPMMSwaps (constant product pools)

  • Technical name (instruction)

    swap_base_input

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedRaydium CPMM
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    swap_base_output

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedRaydium CPMM
    • UnknownSPL Token
    • UnknownCompute Budget
    • UnknownMemo

    Code that ran

    Same as checked

MeteoraSwaps and liquidity

  • Technical name (instruction)

    swap

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialMeteora DLMM (lb_clmm)
    • UnknownGKyb…YJpx
    • UnknownCompute Budget
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    rebalance_liquidity

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialMeteora DLMM (lb_clmm)
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    remove_liquidity_by_range2

    Verdict

    Partial
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Not established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Not established

    Programs it runs, each with its own verdict

    • PartialMeteora DLMM (lb_clmm)
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program
    • UnknownSPL Token-2022

    Code that ran

    Same as checked

PhoenixOrder book exchange

  • Technical name (instruction)

    PlaceLimitOrder

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedPhoenix v1
    • UnknownCompute Budget
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    DepositFunds

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedPhoenix v1
    • UnknownCompute Budget
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    WithdrawFunds

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedPhoenix v1
    • UnknownPSMx…Zwf1
    • UnknownCompute Budget
    • UnknownAssociated Token Account
    • UnknownSPL Token
    • UnknownSystem Program

    Code that ran

    Same as checked

  • Technical name (instruction)

    CancelAllOrders

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Not established
    4. Reviewed commit printed: Not established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedPhoenix v1
    • UnknownCompute Budget

    Code that ran

    Same as checked

OpenBookOrder book exchange

  • Technical name (instruction)

    place_order

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedOpenBook v2
    • UnknownCompute Budget

    Code that ran

    Same as checked

  • Technical name (instruction)

    place_take_order

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedOpenBook v2
    • UnknownSPL Token

    Code that ran

    Same as checked

  • Technical name (instruction)

    consume_events

    Verdict

    Changed
    1. Instruction decoded: Established
    2. Live code rebuilt by POA: Established
    3. Report names the handler file: Established
    4. Reviewed commit printed: Established
    5. Reviewed code is the live code: Known difference

    Programs it runs, each with its own verdict

    • ChangedOpenBook v2

    Code that ran

    Same as checked

What the verdicts mean

Matched
The instruction handler sits in a file a report names as in scope, POA rebuilt the live executable from source itself, and that source equals the reviewed commit or differs only outside the program crate.
Changed
The reviewed commit and the live source are both established, and the handler file or a traced related file changed between them.
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.
Unknown
The program evidence is unusable or the instruction could not be decoded or tied to any report. Unknown never means approved.

Not in a Solana wallet yet.

POA has no Solana wallet integration yet. This demo replays recorded mainnet transactions; nothing is sent from your browser.

Open the Solana Proof Explorer

No Solana evidence shown here is released in Proof of Audits yet. Release needs two independent human evidence reviewers.