{"schemaVersion":"poa-solana-protocol-proof-v1","slug":"openbook-v2","name":"OpenBook v2","category":"order book exchange","summary":"OpenBook v2 is a central limit order book program on Solana, based on Mango v4 and the earlier OpenBook program (a fork of Serum). One upgradeable Anchor program holds all markets.","depth":"catalog","programs":[{"input":{"programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","label":"OpenBook v2","role":"order book program","framework":"anchor","firstParty":true,"sourceRepo":"https://github.com/openbook-dex/openbook-v2","sourceAvailability":"public","libraryName":"openbook_v2","mountPath":".","programPath":"programs/openbook-v2","idl":{"url":"https://github.com/openbook-dex/openbook-v2/blob/796a470033bc556c1d1a1f76709394fc50c63bf7/idl/openbook_v2.json","commit":"796a470033bc556c1d1a1f76709394fc50c63bf7","provenance":"repo","format":"anchor-legacy","localFile":"openbook-v2/openbook_v2.json","sha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836"},"buildCommitCandidates":[{"commit":"796a470033bc556c1d1a1f76709394fc50c63bf7","source":{"url":"https://github.com/openbook-dex/openbook-v2/tree/v1.7#deployed-versions","method":"official_docs","retrievedAt":"2026-11-22T21:27:00Z","states":"README 'Deployed versions' table lists tag v1.7 on mainnet for opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb. Tag v1.7 is 796a470 (2024-02-26), one day before the ProgramData deployment at slot 250859864 (2024-02-27T22:02:06Z)."}}],"identitySources":[{"url":"https://github.com/openbook-dex/openbook-v2/blob/796a470033bc556c1d1a1f76709394fc50c63bf7/README.md","method":"official_docs","retrievedAt":"2026-11-22T21:27:00Z","states":"README 'Deployed versions' lists opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb for mainnet, devnet and testnet at tag v1.7."},{"url":"https://github.com/openbook-dex/openbook-v2/blob/796a470033bc556c1d1a1f76709394fc50c63bf7/programs/openbook-v2/src/lib.rs","method":"derived_from_source","retrievedAt":"2026-11-22T21:27:00Z","states":"declare_id! in programs/openbook-v2/src/lib.rs at v1.7 is opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb."},{"url":"https://api.mainnet-beta.solana.com","method":"independent_rpc_read","retrievedAt":"2026-11-22T21:27:00Z","states":"getAccountInfo at slot 472691184: executable true, owner BPFLoaderUpgradeab1e11111111111111111111111, programData DktN5HJ9uHKVRZ7FXGap4PEGVnEdc2VNBCXTt1AqJQYB (deployed slot 250859864, upgrade authority CZoAmQErbMwhSNA5WtbWLcwGE1mhXEv4hTvyvvHXGkrr)."}]},"evidence":{"snapshot":{"schemaVersion":"poa-solana-program-snapshot-v1","chain":"solana","cluster":"mainnet-beta","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","exists":true,"executable":true,"owner":"BPFLoaderUpgradeab1e11111111111111111111111","loader":"bpf-loader-upgradeable","programDataAddress":"DktN5HJ9uHKVRZ7FXGap4PEGVnEdc2VNBCXTt1AqJQYB","programDataLinkValid":true,"deploymentSlot":250859864,"upgradeAuthority":"CZoAmQErbMwhSNA5WtbWLcwGE1mhXEv4hTvyvvHXGkrr","immutable":false,"executableRegionBytes":2059776,"executableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa","executableTrimmedBytes":1035945,"elfMagicOk":true,"observedSlot":472718291,"observedAt":"2026-11-22T23:04:15.318Z","commitment":"finalized","rpc":[{"endpoint":"api.mainnet-beta.solana.com","slot":472718291,"accountDataSha256":"4ef0b8c2a1a527e8def2cba7ec119b0f56a9b2d3aa875dec8ccfa51884d40569","ok":true},{"endpoint":"solana-rpc.publicnode.com","slot":472718288,"accountDataSha256":"4ef0b8c2a1a527e8def2cba7ec119b0f56a9b2d3aa875dec8ccfa51884d40569","ok":true}],"rpcAgreement":"agree","method":"independent_rpc_read","notes":[]},"providerClaims":[{"provider":"otter-sec-verify-api","endpoint":"https://verify.osec.io/status/opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","observedAt":"2026-11-22T23:04:16.007Z","httpStatus":200,"isVerified":false,"reportedOnChainHash":null,"reportedExecutableHash":null,"repoUrl":null,"commit":null,"lastVerifiedAt":null,"isFrozen":false,"agreesWithPoaHash":null,"rawSha256":"d12a460cf74cc5e167e078636b4f1efa2cc82679d302d1d390d27d27facc4288","method":"trusted_provider"}],"build":{"state":"reproduced_match","repo":"https://github.com/openbook-dex/openbook-v2","commit":"796a470033bc556c1d1a1f76709394fc50c63bf7","libraryName":"openbook_v2","mountPath":".","toolchain":"image auto-selected by solana-verify for solana-program 1.16.20 in Cargo.lock; repo rust-toolchain 1.70.0; solana-verify 0.5.2","imageDigest":"solanafoundation/solana-verifiable-build (auto-selected for Solana 1.16.20 from Cargo.lock solana-program)@sha256:ee9889e6a42e45bb652db37274be002912e144f08414ea7588a2a57e483a9f54","command":"solana-verify build --library-name openbook_v2 -- --features enable-gpl && solana-verify get-executable-hash target/deploy/openbook_v2.so","comparedToHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa","logsSha256":"a44c8c88369155f8d18acafc2d89c336b76605d31deb763ab35afc9277803cb8","ranAt":"2026-11-22T21:48:19Z","method":"independent_build","builtHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa","logFile":"logs/openbook-v2-796a470.build.log","reason":"POA rebuilt tag v1.7 (796a470), the tag the README lists as deployed on mainnet, with the justfile build feature (`-- --features enable-gpl`) and the image solana-verify selects for Solana 1.16.20. The executable hash equals the on-chain hash. The 3rdparty/anchor submodule is not used by the program build (anchor-lang 0.28.0 comes from crates.io); the git dependencies fixed and raydium-clmm were fetched by cargo inside the container. Source input: GitHub codeload tarball of 796a470 (sha256 not recorded); the sandbox git gateway does not serve this repository, so no git clone was used."},"liveSource":{"commit":"796a470033bc556c1d1a1f76709394fc50c63bf7","repo":"https://github.com/openbook-dex/openbook-v2","basis":"independent_build","note":"POA rebuilt 796a4700 and the executable hash equals the on-chain hash 44a1bb9b185c… read at slot 472718291."}},"instructions":[{"name":"create_market","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"67e261ebc8bcfbfe","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"name","type":"string"},{"name":"oracleConfig","type":"OracleConfigParams"},{"name":"quoteLotSize","type":"i64"},{"name":"baseLotSize","type":"i64"},{"name":"makerFee","type":"i64"},{"name":"takerFee","type":"i64"},{"name":"timeExpiry","type":"i64"}],"accounts":[{"name":"market","signer":true,"writable":true},{"name":"marketAuthority","signer":false,"writable":false},{"name":"bids","signer":false,"writable":true,"docs":"Accounts are initialized by client, anchor discriminator is set first when ix exits,"},{"name":"asks","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true},{"name":"payer","signer":true,"writable":true},{"name":"marketBaseVault","signer":false,"writable":true},{"name":"marketQuoteVault","signer":false,"writable":true},{"name":"baseMint","signer":false,"writable":false},{"name":"quoteMint","signer":false,"writable":false},{"name":"systemProgram","signer":false,"writable":false},{"name":"tokenProgram","signer":false,"writable":false},{"name":"associatedTokenProgram","signer":false,"writable":false},{"name":"oracleA","signer":false,"writable":false,"optional":true},{"name":"oracleB","signer":false,"writable":false,"optional":true},{"name":"collectFeeAdmin","signer":false,"writable":false},{"name":"openOrdersAdmin","signer":false,"writable":false,"optional":true},{"name":"consumeEventsAdmin","signer":false,"writable":false,"optional":true},{"name":"closeMarketAdmin","signer":false,"writable":false,"optional":true},{"name":"eventAuthority","signer":false,"writable":false},{"name":"program","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"create_market","handlerPath":"programs/openbook-v2/src/instructions/create_market.rs","handlerFn":"instructions::create_market","startLine":12,"endLine":125,"relatedFiles":["programs/openbook-v2/src/accounts_ix/create_market.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_zerocopy.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/create_market.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/logs.rs","programs/openbook-v2/src/pubkey_option.rs","programs/openbook-v2/src/state/mod.rs","programs/openbook-v2/src/util.rs"],"staticCpis":[{"programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","program":"OpenBook v2 (self, event CPI)","via":"anchor emit_cpi! event log"}],"mapping":"anchor-program-module"}},{"name":"close_market","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"589af8ba300e7bf4","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[],"accounts":[{"name":"closeMarketAdmin","signer":true,"writable":false},{"name":"market","signer":false,"writable":true},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true},{"name":"solDestination","signer":false,"writable":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"close_market","handlerPath":"programs/openbook-v2/src/instructions/close_market.rs","handlerFn":"instructions::close_market","startLine":6,"endLine":27,"relatedFiles":["programs/openbook-v2/src/accounts_ix/close_market.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/close_market.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"create_open_orders_indexer","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"404099ffd947f985","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[],"accounts":[{"name":"payer","signer":true,"writable":true},{"name":"owner","signer":true,"writable":false},{"name":"openOrdersIndexer","signer":false,"writable":true},{"name":"systemProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"create_open_orders_indexer","handlerPath":"programs/openbook-v2/src/instructions/create_open_orders_indexer.rs","handlerFn":"instructions::create_open_orders_indexer","startLine":4,"endLine":11,"relatedFiles":["programs/openbook-v2/src/accounts_ix/create_open_orders_indexer.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/instructions/create_open_orders_indexer.rs","programs/openbook-v2/src/lib.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"close_open_orders_indexer","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"67f9e5e7f7fdc588","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[],"accounts":[{"name":"owner","signer":true,"writable":false},{"name":"openOrdersIndexer","signer":false,"writable":true},{"name":"solDestination","signer":false,"writable":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"close_open_orders_indexer","handlerPath":"programs/openbook-v2/src/instructions/close_open_orders_indexer.rs","handlerFn":"instructions::close_open_orders_indexer","startLine":5,"endLine":14,"relatedFiles":["programs/openbook-v2/src/accounts_ix/close_open_orders_indexer.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/close_open_orders_indexer.rs","programs/openbook-v2/src/lib.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"create_open_orders_account","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"ccb5afde287dbc47","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"name","type":"string"}],"accounts":[{"name":"payer","signer":true,"writable":true},{"name":"owner","signer":true,"writable":false},{"name":"delegateAccount","signer":false,"writable":false,"optional":true},{"name":"openOrdersIndexer","signer":false,"writable":true},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":false},{"name":"systemProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"create_open_orders_account","handlerPath":"programs/openbook-v2/src/instructions/create_open_orders_account.rs","handlerFn":"instructions::create_open_orders_account","startLine":7,"endLine":28,"relatedFiles":["programs/openbook-v2/src/accounts_ix/create_open_orders_account.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/instructions/create_open_orders_account.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/pubkey_option.rs","programs/openbook-v2/src/state/mod.rs","programs/openbook-v2/src/util.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"close_open_orders_account","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"b04a73d236b35b67","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[],"accounts":[{"name":"owner","signer":true,"writable":false},{"name":"openOrdersIndexer","signer":false,"writable":true},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"solDestination","signer":false,"writable":true},{"name":"systemProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"close_open_orders_account","handlerPath":"programs/openbook-v2/src/instructions/close_open_orders_account.rs","handlerFn":"instructions::close_open_orders_account","startLine":5,"endLine":24,"relatedFiles":["programs/openbook-v2/src/accounts_ix/close_open_orders_account.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/close_open_orders_account.rs","programs/openbook-v2/src/lib.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"place_order","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"33c29baf6d82606a","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"args","type":"PlaceOrderArgs"}],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"openOrdersAdmin","signer":true,"writable":false,"optional":true},{"name":"userTokenAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true},{"name":"marketVault","signer":false,"writable":true},{"name":"oracleA","signer":false,"writable":false,"optional":true},{"name":"oracleB","signer":false,"writable":false,"optional":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"place_order","handlerPath":"programs/openbook-v2/src/instructions/place_order.rs","handlerFn":"instructions::place_order","startLine":11,"endLine":116,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/place_order.rs","programs/openbook-v2/src/accounts_zerocopy.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/place_order.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs","programs/openbook-v2/src/token_utils.rs"],"staticCpis":[{"program":"SPL Token or Token-2022 (market token program)","via":"token_utils::token_transfer (anchor_spl transfer_checked from the user account)"}],"mapping":"anchor-program-module"}},{"name":"edit_order","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"fed0761dadf8c846","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"clientOrderId","type":"u64"},{"name":"expectedCancelSize","type":"i64"},{"name":"placeOrder","type":"PlaceOrderArgs"}],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"openOrdersAdmin","signer":true,"writable":false,"optional":true},{"name":"userTokenAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true},{"name":"marketVault","signer":false,"writable":true},{"name":"oracleA","signer":false,"writable":false,"optional":true},{"name":"oracleB","signer":false,"writable":false,"optional":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"edit_order","handlerPath":"programs/openbook-v2/src/instructions/edit_order.rs","handlerFn":"instructions::edit_order","startLine":6,"endLine":37,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/place_order.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/edit_order.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"edit_order_pegged","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"3ebb7d451add9d85","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"clientOrderId","type":"u64"},{"name":"expectedCancelSize","type":"i64"},{"name":"placeOrder","type":"PlaceOrderPeggedArgs"}],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"openOrdersAdmin","signer":true,"writable":false,"optional":true},{"name":"userTokenAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true},{"name":"marketVault","signer":false,"writable":true},{"name":"oracleA","signer":false,"writable":false,"optional":true},{"name":"oracleB","signer":false,"writable":false,"optional":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"edit_order_pegged","handlerPath":"programs/openbook-v2/src/instructions/edit_order.rs","handlerFn":"instructions::edit_order","startLine":6,"endLine":37,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/place_order.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/edit_order.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"place_orders","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"3c3f327b0cc53cbe","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"ordersType","type":"PlaceOrderType"},{"name":"bids","type":"vec<PlaceMultipleOrdersArgs>"},{"name":"asks","type":"vec<PlaceMultipleOrdersArgs>"},{"name":"limit","type":"u8"}],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"openOrdersAdmin","signer":true,"writable":false,"optional":true},{"name":"userQuoteAccount","signer":false,"writable":true},{"name":"userBaseAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true},{"name":"marketQuoteVault","signer":false,"writable":true},{"name":"marketBaseVault","signer":false,"writable":true},{"name":"oracleA","signer":false,"writable":false,"optional":true},{"name":"oracleB","signer":false,"writable":false,"optional":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"place_orders","handlerPath":"programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs","handlerFn":"instructions::cancel_all_and_place_orders","startLine":11,"endLine":152,"relatedFiles":["programs/openbook-v2/src/accounts_ix/cancel_all_and_place_orders.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_zerocopy.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs","programs/openbook-v2/src/token_utils.rs"],"staticCpis":[{"program":"SPL Token or Token-2022 (market token program)","via":"token_utils::token_transfer (anchor_spl transfer_checked from the user account)"}],"mapping":"anchor-program-module"}},{"name":"cancel_all_and_place_orders","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"809bde3cba28e132","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"ordersType","type":"PlaceOrderType"},{"name":"bids","type":"vec<PlaceMultipleOrdersArgs>"},{"name":"asks","type":"vec<PlaceMultipleOrdersArgs>"},{"name":"limit","type":"u8"}],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"openOrdersAdmin","signer":true,"writable":false,"optional":true},{"name":"userQuoteAccount","signer":false,"writable":true},{"name":"userBaseAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true},{"name":"marketQuoteVault","signer":false,"writable":true},{"name":"marketBaseVault","signer":false,"writable":true},{"name":"oracleA","signer":false,"writable":false,"optional":true},{"name":"oracleB","signer":false,"writable":false,"optional":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"cancel_all_and_place_orders","handlerPath":"programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs","handlerFn":"instructions::cancel_all_and_place_orders","startLine":11,"endLine":152,"relatedFiles":["programs/openbook-v2/src/accounts_ix/cancel_all_and_place_orders.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_zerocopy.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs","programs/openbook-v2/src/token_utils.rs"],"staticCpis":[{"program":"SPL Token or Token-2022 (market token program)","via":"token_utils::token_transfer (anchor_spl transfer_checked from the user account)"}],"mapping":"anchor-program-module"}},{"name":"place_order_pegged","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"8db9fb3f4a55d291","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"args","type":"PlaceOrderPeggedArgs"}],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"openOrdersAdmin","signer":true,"writable":false,"optional":true},{"name":"userTokenAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true},{"name":"marketVault","signer":false,"writable":true},{"name":"oracleA","signer":false,"writable":false,"optional":true},{"name":"oracleB","signer":false,"writable":false,"optional":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"place_order_pegged","handlerPath":"programs/openbook-v2/src/instructions/place_order.rs","handlerFn":"instructions::place_order","startLine":11,"endLine":116,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/place_order.rs","programs/openbook-v2/src/accounts_zerocopy.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/place_order.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs","programs/openbook-v2/src/token_utils.rs"],"staticCpis":[{"program":"SPL Token or Token-2022 (market token program)","via":"token_utils::token_transfer (anchor_spl transfer_checked from the user account)"}],"mapping":"anchor-program-module"}},{"name":"place_take_order","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"032c47031ac7cb55","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"args","type":"PlaceTakeOrderArgs"}],"accounts":[{"name":"signer","signer":true,"writable":true},{"name":"penaltyPayer","signer":true,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"marketAuthority","signer":false,"writable":false},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true},{"name":"marketBaseVault","signer":false,"writable":true},{"name":"marketQuoteVault","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true},{"name":"userBaseAccount","signer":false,"writable":true},{"name":"userQuoteAccount","signer":false,"writable":true},{"name":"oracleA","signer":false,"writable":false,"optional":true},{"name":"oracleB","signer":false,"writable":false,"optional":true},{"name":"tokenProgram","signer":false,"writable":false},{"name":"systemProgram","signer":false,"writable":false},{"name":"openOrdersAdmin","signer":true,"writable":false,"optional":true}],"collisions":[],"handler":{"instruction":"place_take_order","handlerPath":"programs/openbook-v2/src/instructions/place_take_order.rs","handlerFn":"instructions::place_take_order","startLine":10,"endLine":127,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/place_take_order.rs","programs/openbook-v2/src/accounts_zerocopy.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/place_take_order.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs","programs/openbook-v2/src/token_utils.rs"],"staticCpis":[{"program":"SPL Token or Token-2022 (market token program)","via":"token_utils::token_transfer (anchor_spl transfer_checked from the user account)"},{"program":"SPL Token or Token-2022 (market token program)","via":"token_utils::token_transfer_signed (transfer_checked from a market vault, signed by the market PDA)"},{"programId":"11111111111111111111111111111111","program":"System Program","via":"token_utils::system_program_transfer (lamports for penalty)"}],"mapping":"anchor-program-module"}},{"name":"consume_events","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"dd91b1341f2f3fc9","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"limit","type":"u64"}],"accounts":[{"name":"consumeEventsAdmin","signer":true,"writable":false,"optional":true},{"name":"market","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"consume_events","handlerPath":"programs/openbook-v2/src/instructions/consume_events.rs","handlerFn":"instructions::consume_events","startLine":38,"endLine":79,"relatedFiles":["programs/openbook-v2/src/accounts_ix/consume_events.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/consume_events.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"consume_given_events","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"d1e336046dac2947","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"slots","type":"vec<u64>"}],"accounts":[{"name":"consumeEventsAdmin","signer":true,"writable":false,"optional":true},{"name":"market","signer":false,"writable":true},{"name":"eventHeap","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"consume_given_events","handlerPath":"programs/openbook-v2/src/instructions/consume_events.rs","handlerFn":"instructions::consume_events","startLine":38,"endLine":79,"relatedFiles":["programs/openbook-v2/src/accounts_ix/consume_events.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/consume_events.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"cancel_order","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"5f81edf00831df84","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"orderId","type":"u128"}],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":false},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"cancel_order","handlerPath":"programs/openbook-v2/src/instructions/cancel_order.rs","handlerFn":"instructions::cancel_order","startLine":7,"endLine":35,"relatedFiles":["programs/openbook-v2/src/accounts_ix/cancel_order.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/cancel_order.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"cancel_order_by_client_order_id","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"73b2c908afb77b77","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"clientOrderId","type":"u64"}],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":false},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"cancel_order_by_client_order_id","handlerPath":"programs/openbook-v2/src/instructions/cancel_order_by_client_order_id.rs","handlerFn":"instructions::cancel_order_by_client_order_id","startLine":7,"endLine":41,"relatedFiles":["programs/openbook-v2/src/accounts_ix/cancel_order.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/cancel_order_by_client_order_id.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"cancel_all_orders","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"c453f3ab1164a08f","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"sideOption","type":"option<Side>"},{"name":"limit","type":"u8"}],"accounts":[{"name":"signer","signer":true,"writable":false},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":false},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"cancel_all_orders","handlerPath":"programs/openbook-v2/src/instructions/cancel_all_orders.rs","handlerFn":"instructions::cancel_all_orders","startLine":6,"endLine":22,"relatedFiles":["programs/openbook-v2/src/accounts_ix/cancel_order.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/instructions/cancel_all_orders.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"deposit","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"f223c68952e1f2b6","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"baseAmount","type":"u64"},{"name":"quoteAmount","type":"u64"}],"accounts":[{"name":"owner","signer":true,"writable":false},{"name":"userBaseAccount","signer":false,"writable":true},{"name":"userQuoteAccount","signer":false,"writable":true},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"marketBaseVault","signer":false,"writable":true},{"name":"marketQuoteVault","signer":false,"writable":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"deposit","handlerPath":"programs/openbook-v2/src/instructions/deposit.rs","handlerFn":"instructions::deposit","startLine":7,"endLine":45,"relatedFiles":["programs/openbook-v2/src/accounts_ix/deposit.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/deposit.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/logs.rs","programs/openbook-v2/src/token_utils.rs"],"staticCpis":[{"program":"SPL Token or Token-2022 (market token program)","via":"token_utils::token_transfer (anchor_spl transfer_checked from the user account)"}],"mapping":"anchor-program-module"}},{"name":"refill","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"80cf8e0b36e826c9","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"baseAmount","type":"u64"},{"name":"quoteAmount","type":"u64"}],"accounts":[{"name":"owner","signer":true,"writable":false},{"name":"userBaseAccount","signer":false,"writable":true},{"name":"userQuoteAccount","signer":false,"writable":true},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"marketBaseVault","signer":false,"writable":true},{"name":"marketQuoteVault","signer":false,"writable":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"refill","handlerPath":"programs/openbook-v2/src/instructions/deposit.rs","handlerFn":"instructions::deposit","startLine":7,"endLine":45,"relatedFiles":["programs/openbook-v2/src/accounts_ix/deposit.rs","programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/deposit.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/logs.rs","programs/openbook-v2/src/token_utils.rs"],"staticCpis":[{"program":"SPL Token or Token-2022 (market token program)","via":"token_utils::token_transfer (anchor_spl transfer_checked from the user account)"}],"mapping":"anchor-program-module"}},{"name":"settle_funds","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"ee40a3604bab1021","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[],"accounts":[{"name":"owner","signer":true,"writable":true},{"name":"penaltyPayer","signer":true,"writable":true},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"marketAuthority","signer":false,"writable":false},{"name":"marketBaseVault","signer":false,"writable":true},{"name":"marketQuoteVault","signer":false,"writable":true},{"name":"userBaseAccount","signer":false,"writable":true},{"name":"userQuoteAccount","signer":false,"writable":true},{"name":"referrerAccount","signer":false,"writable":true,"optional":true},{"name":"tokenProgram","signer":false,"writable":false},{"name":"systemProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"settle_funds","handlerPath":"programs/openbook-v2/src/instructions/settle_funds.rs","handlerFn":"instructions::settle_funds","startLine":8,"endLine":89,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/settle_funds.rs","programs/openbook-v2/src/instructions/settle_funds.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/logs.rs","programs/openbook-v2/src/state/mod.rs","programs/openbook-v2/src/token_utils.rs"],"staticCpis":[{"program":"SPL Token or Token-2022 (market token program)","via":"token_utils::token_transfer_signed (transfer_checked from a market vault, signed by the market PDA)"},{"programId":"11111111111111111111111111111111","program":"System Program","via":"token_utils::system_program_transfer (lamports for penalty)"}],"mapping":"anchor-program-module"}},{"name":"settle_funds_expired","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"6b123845e43837a4","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[],"accounts":[{"name":"closeMarketAdmin","signer":true,"writable":false},{"name":"owner","signer":true,"writable":true},{"name":"penaltyPayer","signer":true,"writable":true},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":true},{"name":"marketAuthority","signer":false,"writable":false},{"name":"marketBaseVault","signer":false,"writable":true},{"name":"marketQuoteVault","signer":false,"writable":true},{"name":"userBaseAccount","signer":false,"writable":true},{"name":"userQuoteAccount","signer":false,"writable":true},{"name":"referrerAccount","signer":false,"writable":true,"optional":true},{"name":"tokenProgram","signer":false,"writable":false},{"name":"systemProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"settle_funds_expired","handlerPath":"programs/openbook-v2/src/instructions/settle_funds_expired.rs","handlerFn":"instructions::settle_funds_expired","startLine":5,"endLine":22,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/settle_funds_expired.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/settle_funds_expired.rs","programs/openbook-v2/src/lib.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"sweep_fees","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"afe1624776422294","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[],"accounts":[{"name":"collectFeeAdmin","signer":true,"writable":false},{"name":"market","signer":false,"writable":true},{"name":"marketAuthority","signer":false,"writable":false},{"name":"marketQuoteVault","signer":false,"writable":true},{"name":"tokenReceiverAccount","signer":false,"writable":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"sweep_fees","handlerPath":"programs/openbook-v2/src/instructions/sweep_fees.rs","handlerFn":"instructions::sweep_fees","startLine":8,"endLine":34,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/sweep_fees.rs","programs/openbook-v2/src/instructions/sweep_fees.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/logs.rs","programs/openbook-v2/src/state/mod.rs","programs/openbook-v2/src/token_utils.rs"],"staticCpis":[{"program":"SPL Token or Token-2022 (market token program)","via":"token_utils::token_transfer_signed (transfer_checked from a market vault, signed by the market PDA)"}],"mapping":"anchor-program-module"}},{"name":"set_delegate","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"f21e2e4c6ceb80b5","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[],"accounts":[{"name":"owner","signer":true,"writable":true},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"delegateAccount","signer":false,"writable":false,"optional":true}],"collisions":[],"handler":{"instruction":"set_delegate","handlerPath":"programs/openbook-v2/src/instructions/set_delegate.rs","handlerFn":"instructions::set_delegate","startLine":7,"endLine":25,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/set_delegate.rs","programs/openbook-v2/src/instructions/set_delegate.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/logs.rs","programs/openbook-v2/src/pubkey_option.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"set_market_expired","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"db52dbec3c73c540","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[],"accounts":[{"name":"closeMarketAdmin","signer":true,"writable":false},{"name":"market","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"set_market_expired","handlerPath":"programs/openbook-v2/src/instructions/set_market_expired.rs","handlerFn":"instructions::set_market_expired","startLine":5,"endLine":15,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/set_market_expired.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/set_market_expired.rs","programs/openbook-v2/src/lib.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"prune_orders","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"1bd59fbf0c747079","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"limit","type":"u8"}],"accounts":[{"name":"closeMarketAdmin","signer":true,"writable":false},{"name":"openOrdersAccount","signer":false,"writable":true},{"name":"market","signer":false,"writable":false},{"name":"bids","signer":false,"writable":true},{"name":"asks","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"prune_orders","handlerPath":"programs/openbook-v2/src/instructions/prune_orders.rs","handlerFn":"instructions::prune_orders","startLine":7,"endLine":24,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/prune_orders.rs","programs/openbook-v2/src/error.rs","programs/openbook-v2/src/instructions/prune_orders.rs","programs/openbook-v2/src/lib.rs","programs/openbook-v2/src/state/mod.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"stub_oracle_create","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"ac3f65538d4cc7d8","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"price","type":"f64"}],"accounts":[{"name":"payer","signer":true,"writable":true},{"name":"owner","signer":true,"writable":false},{"name":"oracle","signer":false,"writable":true},{"name":"mint","signer":false,"writable":false},{"name":"systemProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"stub_oracle_create","handlerPath":"programs/openbook-v2/src/instructions/stub_oracle_create.rs","handlerFn":"instructions::stub_oracle_create","startLine":5,"endLine":16,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/stub_oracle_create.rs","programs/openbook-v2/src/instructions/stub_oracle_create.rs","programs/openbook-v2/src/lib.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"stub_oracle_close","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"5c892d032d3c75e0","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[],"accounts":[{"name":"owner","signer":true,"writable":false},{"name":"oracle","signer":false,"writable":true},{"name":"solDestination","signer":false,"writable":true},{"name":"tokenProgram","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"stub_oracle_close","handlerPath":"programs/openbook-v2/src/instructions/stub_oracle_close.rs","handlerFn":"instructions::stub_oracle_close","startLine":4,"endLine":6,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/stub_oracle_close.rs","programs/openbook-v2/src/instructions/stub_oracle_close.rs","programs/openbook-v2/src/lib.rs"],"staticCpis":[],"mapping":"anchor-program-module"}},{"name":"stub_oracle_set","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","discriminatorHex":"6dc64f7941caa18e","decoding":"anchor-sighash-derived","idlSha256":"3c6767fb8423e4b64dd5cb1286864655ee05b2a0974399fc30ff28717cfbb836","args":[{"name":"price","type":"f64"}],"accounts":[{"name":"owner","signer":true,"writable":false},{"name":"oracle","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"stub_oracle_set","handlerPath":"programs/openbook-v2/src/instructions/stub_oracle_set.rs","handlerFn":"instructions::stub_oracle_set","startLine":4,"endLine":13,"relatedFiles":["programs/openbook-v2/src/accounts_ix/mod.rs","programs/openbook-v2/src/accounts_ix/stub_oracle_set.rs","programs/openbook-v2/src/instructions/stub_oracle_set.rs","programs/openbook-v2/src/lib.rs"],"staticCpis":[],"mapping":"anchor-program-module"}}],"proofs":[{"instruction":"create_market","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 67e261ebc8bcfbfe.","Handler programs/openbook-v2/src/instructions/create_market.rs#L12 (instructions::create_market).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/create_market.rs (M +19 -3), programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/create_market.rs (M +1 -1), programs/openbook-v2/src/lib.rs (M +223 -47), programs/openbook-v2/src/logs.rs (M +23 -2), programs/openbook-v2/src/pubkey_option.rs (M +1 -1)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/create_market.rs","status":"M","additions":19,"deletions":3},{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/create_market.rs","status":"M","additions":1,"deletions":1},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47},{"path":"programs/openbook-v2/src/logs.rs","status":"M","additions":23,"deletions":2},{"path":"programs/openbook-v2/src/pubkey_option.rs","status":"M","additions":1,"deletions":1}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"close_market","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 589af8ba300e7bf4.","Handler programs/openbook-v2/src/instructions/close_market.rs#L6 (instructions::close_market).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"create_open_orders_indexer","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 404099ffd947f985.","Handler programs/openbook-v2/src/instructions/create_open_orders_indexer.rs#L4 (instructions::create_open_orders_indexer).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/create_open_orders_indexer.rs (M +1 -2), programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/create_open_orders_indexer.rs","status":"M","additions":1,"deletions":2},{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"close_open_orders_indexer","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 67f9e5e7f7fdc588.","Handler programs/openbook-v2/src/instructions/close_open_orders_indexer.rs#L5 (instructions::close_open_orders_indexer).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"create_open_orders_account","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived ccb5afde287dbc47.","Handler programs/openbook-v2/src/instructions/create_open_orders_account.rs#L7 (instructions::create_open_orders_account).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/create_open_orders_account.rs (M +2 -1), programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/instructions/create_open_orders_account.rs (M +7 -1), programs/openbook-v2/src/lib.rs (M +223 -47), programs/openbook-v2/src/pubkey_option.rs (M +1 -1)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/create_open_orders_account.rs","status":"M","additions":2,"deletions":1},{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/instructions/create_open_orders_account.rs","status":"M","additions":7,"deletions":1},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47},{"path":"programs/openbook-v2/src/pubkey_option.rs","status":"M","additions":1,"deletions":1}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"close_open_orders_account","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived b04a73d236b35b67.","Handler programs/openbook-v2/src/instructions/close_open_orders_account.rs#L5 (instructions::close_open_orders_account).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/close_open_orders_account.rs (M +1 -3), programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/close_open_orders_account.rs (M +3 -1), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/close_open_orders_account.rs","status":"M","additions":1,"deletions":3},{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/close_open_orders_account.rs","status":"M","additions":3,"deletions":1},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"place_order","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 33c29baf6d82606a.","Handler programs/openbook-v2/src/instructions/place_order.rs#L11 (instructions::place_order).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/accounts_ix/place_order.rs (M +14 -0), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/place_order.rs (M +7 -2), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/accounts_ix/place_order.rs","status":"M","additions":14,"deletions":0},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/place_order.rs","status":"M","additions":7,"deletions":2},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"edit_order","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived fed0761dadf8c846.","Handler programs/openbook-v2/src/instructions/edit_order.rs#L6 (instructions::edit_order).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/accounts_ix/place_order.rs (M +14 -0), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/edit_order.rs (A +37 -0), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/accounts_ix/place_order.rs","status":"M","additions":14,"deletions":0},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/edit_order.rs","status":"A","additions":37,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"edit_order_pegged","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 3ebb7d451add9d85.","Handler programs/openbook-v2/src/instructions/edit_order.rs#L6 (instructions::edit_order).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/accounts_ix/place_order.rs (M +14 -0), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/edit_order.rs (A +37 -0), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/accounts_ix/place_order.rs","status":"M","additions":14,"deletions":0},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/edit_order.rs","status":"A","additions":37,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"place_orders","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 3c3f327b0cc53cbe.","Handler programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs#L11 (instructions::cancel_all_and_place_orders).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/cancel_all_and_place_orders.rs (A +60 -0), programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs (A +152 -0), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/cancel_all_and_place_orders.rs","status":"A","additions":60,"deletions":0},{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs","status":"A","additions":152,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"cancel_all_and_place_orders","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 809bde3cba28e132.","Handler programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs#L11 (instructions::cancel_all_and_place_orders).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/cancel_all_and_place_orders.rs (A +60 -0), programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs (A +152 -0), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/cancel_all_and_place_orders.rs","status":"A","additions":60,"deletions":0},{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs","status":"A","additions":152,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"place_order_pegged","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 8db9fb3f4a55d291.","Handler programs/openbook-v2/src/instructions/place_order.rs#L11 (instructions::place_order).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/accounts_ix/place_order.rs (M +14 -0), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/place_order.rs (M +7 -2), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/accounts_ix/place_order.rs","status":"M","additions":14,"deletions":0},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/place_order.rs","status":"M","additions":7,"deletions":2},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"place_take_order","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 032c47031ac7cb55.","Handler programs/openbook-v2/src/instructions/place_take_order.rs#L10 (instructions::place_take_order).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/accounts_ix/place_take_order.rs (M +2 -6), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/place_take_order.rs (M +7 -26), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/accounts_ix/place_take_order.rs","status":"M","additions":2,"deletions":6},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/place_take_order.rs","status":"M","additions":7,"deletions":26},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"consume_events","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived dd91b1341f2f3fc9.","Handler programs/openbook-v2/src/instructions/consume_events.rs#L38 (instructions::consume_events).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/consume_events.rs (M +5 -17), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/consume_events.rs","status":"M","additions":5,"deletions":17},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"consume_given_events","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived d1e336046dac2947.","Handler programs/openbook-v2/src/instructions/consume_events.rs#L38 (instructions::consume_events).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/consume_events.rs (M +5 -17), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/consume_events.rs","status":"M","additions":5,"deletions":17},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"cancel_order","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 5f81edf00831df84.","Handler programs/openbook-v2/src/instructions/cancel_order.rs#L7 (instructions::cancel_order).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"cancel_order_by_client_order_id","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 73b2c908afb77b77.","Handler programs/openbook-v2/src/instructions/cancel_order_by_client_order_id.rs#L7 (instructions::cancel_order_by_client_order_id).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/instructions/cancel_order_by_client_order_id.rs (M +11 -9), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/instructions/cancel_order_by_client_order_id.rs","status":"M","additions":11,"deletions":9},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"cancel_all_orders","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived c453f3ab1164a08f.","Handler programs/openbook-v2/src/instructions/cancel_all_orders.rs#L6 (instructions::cancel_all_orders).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"deposit","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived f223c68952e1f2b6.","Handler programs/openbook-v2/src/instructions/deposit.rs#L7 (instructions::deposit).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/lib.rs (M +223 -47), programs/openbook-v2/src/logs.rs (M +23 -2)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47},{"path":"programs/openbook-v2/src/logs.rs","status":"M","additions":23,"deletions":2}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"refill","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 80cf8e0b36e826c9.","Handler programs/openbook-v2/src/instructions/deposit.rs#L7 (instructions::deposit).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/lib.rs (M +223 -47), programs/openbook-v2/src/logs.rs (M +23 -2)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47},{"path":"programs/openbook-v2/src/logs.rs","status":"M","additions":23,"deletions":2}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"settle_funds","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived ee40a3604bab1021.","Handler programs/openbook-v2/src/instructions/settle_funds.rs#L8 (instructions::settle_funds).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/accounts_ix/settle_funds.rs (M +9 -3), programs/openbook-v2/src/instructions/settle_funds.rs (M +2 -2), programs/openbook-v2/src/lib.rs (M +223 -47), programs/openbook-v2/src/logs.rs (M +23 -2)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/accounts_ix/settle_funds.rs","status":"M","additions":9,"deletions":3},{"path":"programs/openbook-v2/src/instructions/settle_funds.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47},{"path":"programs/openbook-v2/src/logs.rs","status":"M","additions":23,"deletions":2}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"settle_funds_expired","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 6b123845e43837a4.","Handler programs/openbook-v2/src/instructions/settle_funds_expired.rs#L5 (instructions::settle_funds_expired).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/accounts_ix/settle_funds_expired.rs (M +6 -3), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/accounts_ix/settle_funds_expired.rs","status":"M","additions":6,"deletions":3},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"sweep_fees","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived afe1624776422294.","Handler programs/openbook-v2/src/instructions/sweep_fees.rs#L8 (instructions::sweep_fees).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/lib.rs (M +223 -47), programs/openbook-v2/src/logs.rs (M +23 -2)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47},{"path":"programs/openbook-v2/src/logs.rs","status":"M","additions":23,"deletions":2}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"set_delegate","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived f21e2e4c6ceb80b5.","Handler programs/openbook-v2/src/instructions/set_delegate.rs#L7 (instructions::set_delegate).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/instructions/set_delegate.rs (M +1 -5), programs/openbook-v2/src/lib.rs (M +223 -47), programs/openbook-v2/src/logs.rs (M +23 -2), programs/openbook-v2/src/pubkey_option.rs (M +1 -1)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/instructions/set_delegate.rs","status":"M","additions":1,"deletions":5},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47},{"path":"programs/openbook-v2/src/logs.rs","status":"M","additions":23,"deletions":2},{"path":"programs/openbook-v2/src/pubkey_option.rs","status":"M","additions":1,"deletions":1}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"set_market_expired","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived db52dbec3c73c540.","Handler programs/openbook-v2/src/instructions/set_market_expired.rs#L5 (instructions::set_market_expired).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"prune_orders","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 1bd59fbf0c747079.","Handler programs/openbook-v2/src/instructions/prune_orders.rs#L7 (instructions::prune_orders).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/error.rs (M +4 -0), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"stub_oracle_create","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived ac3f65538d4cc7d8.","Handler programs/openbook-v2/src/instructions/stub_oracle_create.rs#L5 (instructions::stub_oracle_create).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"stub_oracle_close","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 5c892d032d3c75e0.","Handler programs/openbook-v2/src/instructions/stub_oracle_close.rs#L4 (instructions::stub_oracle_close).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"},{"instruction":"stub_oracle_set","programId":"opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb","verdict":"CHANGED","reasons":["Program snapshot at slot 472718291: executable, RPC agree, hash 44a1bb9b185c….","Decoded by anchor-sighash-derived 6dc64f7941caa18e.","Handler programs/openbook-v2/src/instructions/stub_oracle_set.rs#L4 (instructions::stub_oracle_set).","Handler file is under the printed scope of openbook-ottersec-2023.","Live source 796a4700 established by POA's independent build.","Live commit 796a4700 is not the reviewed commit and no recorded diff shows the crate unchanged (openbook-ottersec-2023 (840e661: handler files changed)).","CHANGED: between openbook-ottersec-2023's reviewed commit 840e661 and live 796a4700 the handler's traced files changed: programs/openbook-v2/src/accounts_ix/mod.rs (M +2 -2), programs/openbook-v2/src/lib.rs (M +223 -47)."],"unknowns":["A source diff from the reviewed commit to the live commit showing no change under the program crate."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":true,"reviewScopeEstablished":true,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"openbook-ottersec-2023","auditor":"OtterSec","reviewedCommit":"840e661","scopeConfidence":"direct","relation":"handler-file-named"}],"changedFiles":[{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47}],"checkedAtSlot":472718291,"snapshotExecutableHash":"44a1bb9b185c77288955fbe1193a38eaaa7624564deec9459f828064704e44fa"}],"coverage":{"totalDiscovered":29,"decoded":29,"inReportNamedFiles":29,"reviewScopeEstablished":29,"matchingReviewedLiveCode":0,"changed":29,"unknown":0,"partial":0},"programVerdict":"CHANGED","programReasons":["29 instruction(s) changed since review.","29 instructions: 0 MATCHED, 29 CHANGED, 0 PARTIAL, 0 UNKNOWN."],"handlerMap":{"repo":"https://github.com/openbook-dex/openbook-v2","commit":"796a470033bc556c1d1a1f76709394fc50c63bf7"}}],"nonExecutableAccounts":[{"address":"DktN5HJ9uHKVRZ7FXGap4PEGVnEdc2VNBCXTt1AqJQYB","kind":"other","label":"OpenBook v2 ProgramData","note":"ProgramData account of the BPF upgradeable loader for OpenBook v2. Upgrade authority CZoAmQErbMwhSNA5WtbWLcwGE1mhXEv4hTvyvvHXGkrr; last deployment slot 250859864 (block time 2024-02-27T22:02:06Z).","source":{"url":"https://api.mainnet-beta.solana.com","method":"independent_rpc_read","retrievedAt":"2026-11-22T21:27:00Z","states":"getAccountInfo base64 at slot 472691322: ProgramData tag 3, slot 250859864, authority CZoAmQErbMwhSNA5WtbWLcwGE1mhXEv4hTvyvvHXGkrr; getBlockTime(250859864) = 2024-02-27T22:02:06Z."}},{"address":"6HsCgDXQq6JZ7VsgHzmB6hqpTh7ZZhqQRktDru9TXn9L","kind":"other","label":"OpenBook v2 Anchor IDL account","note":"On-chain Anchor IDL account (owner: the program). Its decompressed instruction list equals idl/openbook_v2.json at v1.7.","source":{"url":"https://api.mainnet-beta.solana.com","method":"independent_rpc_read","retrievedAt":"2026-11-22T22:05:00Z","states":"getAccountInfo at slot 472697329; zlib-decompressed IDL has the same 29 instructions, args and accounts as the repo IDL at 796a470."}}],"demoAccounts":[],"audits":[{"id":"openbook-ottersec-2023","auditor":"OtterSec","title":"Openbook Audit (openbook-v2)","reportUrl":"https://raw.githubusercontent.com/openbook-dex/openbook-v2/796a470033bc556c1d1a1f76709394fc50c63bf7/audit/openbook_audit.pdf","pdfSha256":"125c7961acbbdcd786fde641551e47c8d35fd2f1e006071165f198bece46354c","pdfBytes":97367,"retrievedAt":"2026-11-22T21:40:00Z","dates":{"start":"2023-09-07","end":"2023-09-20"},"reviewedRepo":"https://github.com/openbook-dex/openbook-v2","reviewedCommits":[{"commit":"840e661","role":"unspecified","page":4,"note":"Printed: 'This audit was performed against commit 840e661.' Full hash 840e661e539736378099056d33b51d4e5079687b is the repo tag 'audit'."}],"scopePaths":["programs/openbook-v2"],"exclusions":[],"programsInScope":["opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb"],"findings":[{"id":"OS-OBK-ADV-00","title":"Missing side check on market vault account","severity":"critical","status":"Resolved"},{"id":"OS-OBK-ADV-01","title":"Incorrect check on variance value","severity":"high","status":"Resolved","fixCommit":"dad37aa","recheckEvidence":"Report patch note: fixed in dad37aa."},{"id":"OS-OBK-ADV-02","title":"Proper access control implementation","severity":"medium","status":"Resolved"},{"id":"OS-OBK-ADV-03","title":"Incorrect variance calculation","severity":"low","status":"Resolved"},{"id":"OS-OBK-SUG-00","title":"Potential overflow prevention","severity":"informational","status":"unstated"}],"findingCounts":{"critical":1,"high":1,"medium":1,"low":1,"informational":1},"extraction":"pdf-text","confidence":"direct","notes":"Scope printed on page 4 as github.com/openbook-dex/openbook-v2/tree/audit/programs/openbook-v2 at commit 840e661. The PDF in audit/ is byte-identical at v1.7 and at the default-branch head f3e1742. Program tie: the report is in the program repository, whose README lists this program ID."}],"sourceDiffs":[{"repo":"https://github.com/openbook-dex/openbook-v2","fromCommit":"840e661e539736378099056d33b51d4e5079687b","fromLabel":"OtterSec audited commit (840e661, tag audit)","toCommit":"796a470033bc556c1d1a1f76709394fc50c63bf7","toLabel":"POA rebuilt live commit (796a470, tag v1.7)","path":"programs/openbook-v2","filesChanged":[{"path":"programs/openbook-v2/Cargo.toml","status":"M","additions":5,"deletions":4},{"path":"programs/openbook-v2/fuzz/Cargo.lock","status":"M","additions":1196,"deletions":971},{"path":"programs/openbook-v2/fuzz/Cargo.toml","status":"M","additions":6,"deletions":7},{"path":"programs/openbook-v2/fuzz/fuzz_targets/multiple_orders.rs","status":"M","additions":89,"deletions":37},{"path":"programs/openbook-v2/fuzz/src/lib.rs","status":"M","additions":168,"deletions":71},{"path":"programs/openbook-v2/fuzz/src/processor.rs","status":"M","additions":1,"deletions":0},{"path":"programs/openbook-v2/src/accounts_ix/cancel_all_and_place_orders.rs","status":"A","additions":60,"deletions":0},{"path":"programs/openbook-v2/src/accounts_ix/close_open_orders_account.rs","status":"M","additions":1,"deletions":3},{"path":"programs/openbook-v2/src/accounts_ix/create_market.rs","status":"M","additions":19,"deletions":3},{"path":"programs/openbook-v2/src/accounts_ix/create_open_orders_account.rs","status":"M","additions":2,"deletions":1},{"path":"programs/openbook-v2/src/accounts_ix/create_open_orders_indexer.rs","status":"M","additions":1,"deletions":2},{"path":"programs/openbook-v2/src/accounts_ix/mod.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/accounts_ix/place_order.rs","status":"M","additions":14,"deletions":0},{"path":"programs/openbook-v2/src/accounts_ix/place_take_order.rs","status":"M","additions":2,"deletions":6},{"path":"programs/openbook-v2/src/accounts_ix/settle_funds.rs","status":"M","additions":9,"deletions":3},{"path":"programs/openbook-v2/src/accounts_ix/settle_funds_expired.rs","status":"M","additions":6,"deletions":3},{"path":"programs/openbook-v2/src/error.rs","status":"M","additions":4,"deletions":0},{"path":"programs/openbook-v2/src/i80f48.rs","status":"M","additions":8,"deletions":16},{"path":"programs/openbook-v2/src/instructions/cancel_all_and_place_orders.rs","status":"A","additions":152,"deletions":0},{"path":"programs/openbook-v2/src/instructions/cancel_order_by_client_order_id.rs","status":"M","additions":11,"deletions":9},{"path":"programs/openbook-v2/src/instructions/close_open_orders_account.rs","status":"M","additions":3,"deletions":1},{"path":"programs/openbook-v2/src/instructions/consume_events.rs","status":"M","additions":5,"deletions":17},{"path":"programs/openbook-v2/src/instructions/create_market.rs","status":"M","additions":1,"deletions":1},{"path":"programs/openbook-v2/src/instructions/create_open_orders_account.rs","status":"M","additions":7,"deletions":1},{"path":"programs/openbook-v2/src/instructions/edit_order.rs","status":"A","additions":37,"deletions":0},{"path":"programs/openbook-v2/src/instructions/mod.rs","status":"M","additions":4,"deletions":2},{"path":"programs/openbook-v2/src/instructions/place_order.rs","status":"M","additions":7,"deletions":2},{"path":"programs/openbook-v2/src/instructions/place_take_order.rs","status":"M","additions":7,"deletions":26},{"path":"programs/openbook-v2/src/instructions/set_delegate.rs","status":"M","additions":1,"deletions":5},{"path":"programs/openbook-v2/src/instructions/settle_funds.rs","status":"M","additions":2,"deletions":2},{"path":"programs/openbook-v2/src/lib.rs","status":"M","additions":223,"deletions":47},{"path":"programs/openbook-v2/src/logs.rs","status":"M","additions":23,"deletions":2},{"path":"programs/openbook-v2/src/pubkey_option.rs","status":"M","additions":1,"deletions":1},{"path":"programs/openbook-v2/src/state/market.rs","status":"M","additions":38,"deletions":32},{"path":"programs/openbook-v2/src/state/open_orders_account.rs","status":"M","additions":114,"deletions":41},{"path":"programs/openbook-v2/src/state/open_orders_indexer.rs","status":"M","additions":0,"deletions":3},{"path":"programs/openbook-v2/src/state/oracle.rs","status":"M","additions":16,"deletions":6},{"path":"programs/openbook-v2/src/state/orderbook/book.rs","status":"M","additions":12,"deletions":7},{"path":"programs/openbook-v2/src/state/orderbook/heap.rs","status":"M","additions":1,"deletions":1},{"path":"programs/openbook-v2/src/state/orderbook/mod.rs","status":"M","additions":3,"deletions":0},{"path":"programs/openbook-v2/tests/cases/mod.rs","status":"M","additions":3,"deletions":0},{"path":"programs/openbook-v2/tests/cases/test.rs","status":"M","additions":164,"deletions":119},{"path":"programs/openbook-v2/tests/cases/test_crank.rs","status":"M","additions":0,"deletions":22},{"path":"programs/openbook-v2/tests/cases/test_edit_order.rs","status":"A","additions":140,"deletions":0},{"path":"programs/openbook-v2/tests/cases/test_fees.rs","status":"M","additions":147,"deletions":0},{"path":"programs/openbook-v2/tests/cases/test_indexer.rs","status":"A","additions":173,"deletions":0},{"path":"programs/openbook-v2/tests/cases/test_multiple_orders.rs","status":"A","additions":111,"deletions":0},{"path":"programs/openbook-v2/tests/cases/test_oracle_peg.rs","status":"M","additions":127,"deletions":20},{"path":"programs/openbook-v2/tests/cases/test_permissioned.rs","status":"M","additions":1,"deletions":1},{"path":"programs/openbook-v2/tests/cases/test_take_order.rs","status":"M","additions":81,"deletions":15},{"path":"programs/openbook-v2/tests/program_test/client.rs","status":"M","additions":163,"deletions":23},{"path":"programs/openbook-v2/tests/program_test/mod.rs","status":"M","additions":13,"deletions":13},{"path":"programs/openbook-v2/tests/program_test/solana.rs","status":"M","additions":19,"deletions":0}],"computedAt":"2026-11-22T22:58:56Z","method":"git-diff-numstat","compareUrl":"https://github.com/openbook-dex/openbook-v2/compare/840e661e539736378099056d33b51d4e5079687b...796a470033bc556c1d1a1f76709394fc50c63bf7"}],"transactions":["XkUgEgZYtczWmB6sDPkvaN4Mr2QShP1874Am1n2MbvmMXWYfnU3Lx9PzhTAkhUbB9AsKz9fLfazWYWiSfhznbjZ","4PueSv9qHQ35XZYSDN4mFjawdcTFbzE9gFgFfVoLc12rX42tCFitX8pJwDLYm8bcGAnuNT95LmPvAmuWKV6yVdJW","mxCBjpKKa5hfEF1WDETYqEmup9QbPvN8Wc3KL2v7QrBYU7nmCC6rsBX8antaZqbLHaNUFf8YWEL8CCE1S3PZ9A5"],"openQuestions":["The only audit report in the repository reviewed commit 840e661 (tag audit, September 2023). POA's rebuild of tag v1.7 (796a470) reproduces the on-chain executable hash. Between the two, 53 files under programs/openbook-v2 changed, including place_order, place_take_order, consume_events and settle_funds. POA found no report that reviewed v1.7.","The repository default branch has later tags (v0.2.x up to v0.2.10, June 2024). They are newer than the deployment and are not the live code.","The upgrade authority CZoAmQEr... can replace the program. POA has not checked what kind of account controls it.","OtterSec's verify API has no build record for this program.","Static CPI lists come from source pattern matching in the handler function and same-file helpers it calls (three levels). An empty list does not prove the handler makes no CPI."],"generatedAt":"2026-11-22T23:04:15.308Z","observedSlot":472718291,"inputSha256":"6fbb62435e780cda5d98da6b21fe59a93a7260e3dee48649ddc8d01391fbb101"}