{"schemaVersion":"poa-solana-protocol-proof-v1","slug":"phoenix-v1","name":"Phoenix","category":"order book exchange","summary":"Phoenix (renamed Phoenix Legacy in its repository) is an on-chain limit order book on Solana that settles trades without a crank. One upgradeable native program by Ellipsis Labs holds every market.","website":"https://ellipsislabs.xyz/","depth":"catalog","programs":[{"input":{"programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","label":"Phoenix v1","role":"order book program","framework":"native","firstParty":true,"sourceRepo":"https://github.com/Ellipsis-Labs/phoenix-v1","sourceAvailability":"public","libraryName":"phoenix","mountPath":".","programPath":"src","idl":{"url":"https://github.com/Ellipsis-Labs/phoenix-v1/blob/c16694d4f5f8ebd650799ada4853fde1637d4909/idl/phoenix_v1.json","commit":"c16694d4f5f8ebd650799ada4853fde1637d4909","provenance":"repo","format":"native-manual","localFile":"phoenix-v1/phoenix_v1_native.json","sha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc"},"buildCommitCandidates":[{"commit":"c16694d4f5f8ebd650799ada4853fde1637d4909","source":{"url":"https://github.com/Ellipsis-Labs/phoenix-v1/commit/c16694d4f5f8ebd650799ada4853fde1637d4909","method":"derived_from_source","retrievedAt":"2026-11-22T21:27:00Z","states":"Last commit before the ProgramData deployment at slot 231433470 (2023-11-21T21:12:23Z): c16694d (2023-11-21T20:26Z, Address minor ordering issue in PlaceMultipleOrders, #39). Every later commit leaves src/, Cargo.toml and Cargo.lock unchanged."}},{"commit":"e879f1c2b455a98f3cb72f9757ea73c836b3978c","source":{"url":"https://github.com/Ellipsis-Labs/phoenix-v1/blob/6ae54af5f07f4d0ae8430b08cbe81d10432cd34c/Dockerfile","method":"official_docs","retrievedAt":"2026-11-22T21:27:00Z","states":"The repo Dockerfile still checks out e879f1c (2023-02-22) as the commit used to build the binary. That commit predates the 2023-11-21 deployment and later program changes."}}],"identitySources":[{"url":"https://github.com/Ellipsis-Labs/phoenix-v1/blob/6ae54af5f07f4d0ae8430b08cbe81d10432cd34c/README.md","method":"official_docs","retrievedAt":"2026-11-22T21:27:00Z","states":"README Build Verification section names PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY as the deployed program to verify against this repository."},{"url":"https://github.com/Ellipsis-Labs/phoenix-v1/blob/c16694d4f5f8ebd650799ada4853fde1637d4909/src/lib.rs","method":"derived_from_source","retrievedAt":"2026-11-22T21:27:00Z","states":"declare_id! in src/lib.rs is PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY; .verified-build.json keys the same ID."},{"url":"https://api.mainnet-beta.solana.com","method":"independent_rpc_read","retrievedAt":"2026-11-22T21:27:00Z","states":"getAccountInfo at slot 472691174: executable true, owner BPFLoaderUpgradeab1e11111111111111111111111, programData 2myyNegEA6pjAHmmEsJC6JdYhW51gwxQW7ZCTWvwaKTk (deployed slot 231433470, upgrade authority 8mv7G3fJq5a5ej7E14vgcSGeQKH79emjU9fVfuhyitEq)."}]},"evidence":{"snapshot":{"schemaVersion":"poa-solana-program-snapshot-v1","chain":"solana","cluster":"mainnet-beta","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","exists":true,"executable":true,"owner":"BPFLoaderUpgradeab1e11111111111111111111111","loader":"bpf-loader-upgradeable","programDataAddress":"2myyNegEA6pjAHmmEsJC6JdYhW51gwxQW7ZCTWvwaKTk","programDataLinkValid":true,"deploymentSlot":231433470,"upgradeAuthority":"8mv7G3fJq5a5ej7E14vgcSGeQKH79emjU9fVfuhyitEq","immutable":false,"executableRegionBytes":5000000,"executableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9","executableTrimmedBytes":1344457,"elfMagicOk":true,"observedSlot":472718297,"observedAt":"2026-11-22T23:04:16.341Z","commitment":"finalized","rpc":[{"endpoint":"api.mainnet-beta.solana.com","slot":472718297,"accountDataSha256":"c232d88d758177982380b71c7b6985ba44430b2f49e6aacc37605a1682966774","ok":true},{"endpoint":"solana-rpc.publicnode.com","slot":472718293,"accountDataSha256":"c232d88d758177982380b71c7b6985ba44430b2f49e6aacc37605a1682966774","ok":true}],"rpcAgreement":"agree","method":"independent_rpc_read","notes":[]},"providerClaims":[{"provider":"otter-sec-verify-api","endpoint":"https://verify.osec.io/status/PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","observedAt":"2026-11-22T23:04:17.334Z","httpStatus":200,"isVerified":true,"reportedOnChainHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9","reportedExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9","repoUrl":"https://github.com/Ellipsis-Labs/phoenix-v1","commit":"None","lastVerifiedAt":"2024-12-12T13:23:28.496764","isFrozen":false,"agreesWithPoaHash":true,"rawSha256":"e01ffc5fb1d212f019817da6c9de204ca4d5735593e254926c573c5fe394cda9","method":"trusted_provider"}],"build":{"state":"reproduced_match","repo":"https://github.com/Ellipsis-Labs/phoenix-v1","commit":"c16694d4f5f8ebd650799ada4853fde1637d4909","libraryName":"phoenix","mountPath":".","toolchain":"image auto-selected by solana-verify for solana-program 1.14.9 in Cargo.lock; no rust-toolchain file in the repo; solana-verify 0.5.2","imageDigest":"solanafoundation/solana-verifiable-build (auto-selected for Solana 1.14.9 from Cargo.lock solana-program)@sha256:9b16f14b5d1a8004a036d1b3ac5abc0431d6f8239937d247ccb5569919d89ade","command":"solana-verify build --library-name phoenix && solana-verify get-executable-hash target/deploy/phoenix.so","comparedToHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9","logsSha256":"baaf38757c1b33e55f3a3414791c39bd840c6ffcc68ed4197b7ed1a98eed5610","ranAt":"2026-11-22T21:33:38Z","method":"independent_build","builtHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9","logFile":"logs/phoenix-c16694d.build.log","reason":"POA rebuilt Phoenix v1 at c16694d, the last commit before the ProgramData deployment at slot 231433470 (2023-11-21T21:12:23Z), with solana-verify 0.5.2 and the image it selects for Solana 1.14.9 (.verified-build.json passes no extra arguments). The executable hash equals the on-chain hash. All later commits leave src/, Cargo.toml and Cargo.lock unchanged. Source input: GitHub codeload tarball of c16694d (sha256 not recorded); the sandbox git gateway does not serve this repository, so no git clone was used."},"liveSource":{"commit":"c16694d4f5f8ebd650799ada4853fde1637d4909","repo":"https://github.com/Ellipsis-Labs/phoenix-v1","basis":"independent_build","note":"POA rebuilt c16694d4 and the executable hash equals the on-chain hash 6877a5b732b3… read at slot 472718297."}},"instructions":[{"name":"Swap","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"00","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"orderPacket","type":"OrderPacket"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"baseAccount","signer":false,"writable":true,"docs":"Trader base token account"},{"name":"quoteAccount","signer":false,"writable":true,"docs":"Trader quote token account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"Swap","handlerPath":"src/program/processor/new_order.rs","handlerFn":"new_order::process_swap","startLine":140,"endLine":176,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/new_order.rs","src/program/status.rs","src/program/token_utils.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke spl_token::instruction::transfer (trader to vault) via token_utils::maybe_invoke_deposit"},{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"SwapWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"01","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"orderPacket","type":"OrderPacket"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"seat","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"SwapWithFreeFunds","handlerPath":"src/program/processor/new_order.rs","handlerFn":"new_order::process_swap_with_free_funds","startLine":182,"endLine":217,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/new_order.rs","src/program/status.rs","src/program/token_utils.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke spl_token::instruction::transfer (trader to vault) via token_utils::maybe_invoke_deposit"},{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"PlaceLimitOrder","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"02","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"orderPacket","type":"OrderPacket"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"seat","signer":false,"writable":false},{"name":"baseAccount","signer":false,"writable":true,"docs":"Trader base token account"},{"name":"quoteAccount","signer":false,"writable":true,"docs":"Trader quote token account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"PlaceLimitOrder","handlerPath":"src/program/processor/new_order.rs","handlerFn":"new_order::process_place_limit_order","startLine":221,"endLine":256,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/new_order.rs","src/program/status.rs","src/program/token_utils.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke spl_token::instruction::transfer (trader to vault) via token_utils::maybe_invoke_deposit"},{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"PlaceLimitOrderWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"03","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"orderPacket","type":"OrderPacket"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"seat","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"PlaceLimitOrderWithFreeFunds","handlerPath":"src/program/processor/new_order.rs","handlerFn":"new_order::process_place_limit_order_with_free_funds","startLine":262,"endLine":297,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/new_order.rs","src/program/status.rs","src/program/token_utils.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke spl_token::instruction::transfer (trader to vault) via token_utils::maybe_invoke_deposit"},{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"ReduceOrder","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"04","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"params","type":"ReduceOrderParams"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"baseAccount","signer":false,"writable":true,"docs":"Trader base token account"},{"name":"quoteAccount","signer":false,"writable":true,"docs":"Trader quote token account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"ReduceOrder","handlerPath":"src/program/processor/reduce_order.rs","handlerFn":"reduce_order::process_reduce_order","startLine":34,"endLine":121,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/reduce_order.rs","src/program/token_utils.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"ReduceOrderWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"05","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"params","type":"ReduceOrderParams"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":true}],"collisions":[],"handler":{"instruction":"ReduceOrderWithFreeFunds","handlerPath":"src/program/processor/reduce_order.rs","handlerFn":"reduce_order::process_reduce_order","startLine":34,"endLine":121,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/reduce_order.rs","src/program/token_utils.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"CancelAllOrders","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"06","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"baseAccount","signer":false,"writable":true,"docs":"Trader base token account"},{"name":"quoteAccount","signer":false,"writable":true,"docs":"Trader quote token account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"CancelAllOrders","handlerPath":"src/program/processor/cancel_multiple_orders.rs","handlerFn":"cancel_multiple_orders::process_cancel_all_orders","startLine":36,"endLine":110,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/mod.rs","src/program/processor/cancel_multiple_orders.rs","src/program/token_utils.rs","src/program/validation/checkers/phoenix_checkers.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"CancelAllOrdersWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"07","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false}],"collisions":[],"handler":{"instruction":"CancelAllOrdersWithFreeFunds","handlerPath":"src/program/processor/cancel_multiple_orders.rs","handlerFn":"cancel_multiple_orders::process_cancel_all_orders","startLine":36,"endLine":110,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/mod.rs","src/program/processor/cancel_multiple_orders.rs","src/program/token_utils.rs","src/program/validation/checkers/phoenix_checkers.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"CancelUpTo","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"08","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"params","type":"CancelUpToParams"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"baseAccount","signer":false,"writable":true,"docs":"Trader base token account"},{"name":"quoteAccount","signer":false,"writable":true,"docs":"Trader quote token account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"CancelUpTo","handlerPath":"src/program/processor/cancel_multiple_orders.rs","handlerFn":"cancel_multiple_orders::process_cancel_up_to","startLine":112,"endLine":140,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/mod.rs","src/program/processor/cancel_multiple_orders.rs","src/program/token_utils.rs","src/program/validation/checkers/phoenix_checkers.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"CancelUpToWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"09","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"params","type":"CancelUpToParams"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false}],"collisions":[],"handler":{"instruction":"CancelUpToWithFreeFunds","handlerPath":"src/program/processor/cancel_multiple_orders.rs","handlerFn":"cancel_multiple_orders::process_cancel_up_to","startLine":112,"endLine":140,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/mod.rs","src/program/processor/cancel_multiple_orders.rs","src/program/token_utils.rs","src/program/validation/checkers/phoenix_checkers.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"CancelMultipleOrdersById","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"0a","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"params","type":"CancelMultipleOrdersByIdParams"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"baseAccount","signer":false,"writable":true,"docs":"Trader base token account"},{"name":"quoteAccount","signer":false,"writable":true,"docs":"Trader quote token account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"CancelMultipleOrdersById","handlerPath":"src/program/processor/cancel_multiple_orders.rs","handlerFn":"cancel_multiple_orders::process_cancel_multiple_orders_by_id","startLine":142,"endLine":246,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/mod.rs","src/program/processor/cancel_multiple_orders.rs","src/program/token_utils.rs","src/program/validation/checkers/phoenix_checkers.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"CancelMultipleOrdersByIdWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"0b","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"params","type":"CancelMultipleOrdersByIdParams"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false}],"collisions":[],"handler":{"instruction":"CancelMultipleOrdersByIdWithFreeFunds","handlerPath":"src/program/processor/cancel_multiple_orders.rs","handlerFn":"cancel_multiple_orders::process_cancel_multiple_orders_by_id","startLine":142,"endLine":246,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/mod.rs","src/program/processor/cancel_multiple_orders.rs","src/program/token_utils.rs","src/program/validation/checkers/phoenix_checkers.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"WithdrawFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"0c","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"withdrawFundsParams","type":"WithdrawParams"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"baseAccount","signer":false,"writable":true,"docs":"Trader base token account"},{"name":"quoteAccount","signer":false,"writable":true,"docs":"Trader quote token account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"WithdrawFunds","handlerPath":"src/program/processor/withdraw.rs","handlerFn":"withdraw::process_withdraw_funds","startLine":26,"endLine":49,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/withdraw.rs","src/program/token_utils.rs","src/program/validation/checkers/phoenix_checkers.rs","src/quantities.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"DepositFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"0d","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"depositFundsParams","type":"DepositParams"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"seat","signer":false,"writable":false},{"name":"baseAccount","signer":false,"writable":true,"docs":"Trader base token account"},{"name":"quoteAccount","signer":false,"writable":true,"docs":"Trader quote token account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"DepositFunds","handlerPath":"src/program/processor/deposit.rs","handlerFn":"deposit::process_deposit_funds","startLine":18,"endLine":75,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/mod.rs","src/program/processor/deposit.rs","src/program/token_utils.rs","src/quantities.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke spl_token::instruction::transfer (trader to vault) via token_utils::maybe_invoke_deposit"}],"mapping":"native-dispatch"}},{"name":"RequestSeat","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"0e","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"payer","signer":true,"writable":true},{"name":"seat","signer":false,"writable":true},{"name":"systemProgram","signer":false,"writable":false,"docs":"System program"}],"collisions":[],"handler":{"instruction":"RequestSeat","handlerPath":"src/program/processor/manage_seat.rs","handlerFn":"manage_seat::process_request_seat","startLine":37,"endLine":59,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/manage_seat.rs","src/program/status.rs","src/program/system_utils.rs"],"staticCpis":[{"programId":"11111111111111111111111111111111","program":"System Program","via":"invoke_signed system_instruction create_account / transfer+allocate+assign via system_utils::create_account"}],"mapping":"native-dispatch"}},{"name":"Log","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"0f","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[],"accounts":[{"name":"logAuthority","signer":true,"writable":false,"docs":"Log authority"}],"collisions":[],"handler":{"instruction":"Log","handlerPath":"src/lib.rs","handlerFn":"process_instruction (PhoenixInstruction::Log branch)","startLine":93,"endLine":372,"relatedFiles":["src/lib.rs","src/program/processor/mod.rs"],"staticCpis":[],"mapping":"native-dispatch"}},{"name":"PlaceMultiplePostOnlyOrders","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"10","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"multipleOrderPacket","type":"MultipleOrderPacket"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"seat","signer":false,"writable":false},{"name":"baseAccount","signer":false,"writable":true,"docs":"Trader base token account"},{"name":"quoteAccount","signer":false,"writable":true,"docs":"Trader quote token account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"PlaceMultiplePostOnlyOrders","handlerPath":"src/program/processor/new_order.rs","handlerFn":"new_order::process_place_multiple_post_only_orders","startLine":303,"endLine":327,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/new_order.rs","src/program/status.rs","src/program/token_utils.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke spl_token::instruction::transfer (trader to vault) via token_utils::maybe_invoke_deposit"}],"mapping":"native-dispatch"}},{"name":"PlaceMultiplePostOnlyOrdersWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"11","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"multipleOrderPacket","type":"MultipleOrderPacket"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"trader","signer":true,"writable":false},{"name":"seat","signer":false,"writable":false}],"collisions":[],"handler":{"instruction":"PlaceMultiplePostOnlyOrdersWithFreeFunds","handlerPath":"src/program/processor/new_order.rs","handlerFn":"new_order::process_place_multiple_post_only_orders_with_free_funds","startLine":335,"endLine":358,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/new_order.rs","src/program/status.rs","src/program/token_utils.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke spl_token::instruction::transfer (trader to vault) via token_utils::maybe_invoke_deposit"}],"mapping":"native-dispatch"}},{"name":"InitializeMarket","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"64","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"initializeParams","type":"InitializeParams"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"marketCreator","signer":true,"writable":true,"docs":"The market_creator account must sign for the creation of new vaults"},{"name":"baseMint","signer":false,"writable":false,"docs":"Base mint account"},{"name":"quoteMint","signer":false,"writable":false,"docs":"Quote mint account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"systemProgram","signer":false,"writable":false,"docs":"System program"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"InitializeMarket","handlerPath":"src/program/processor/initialize.rs","handlerFn":"initialize::process_initialize_market","startLine":68,"endLine":251,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/initialize.rs","src/program/system_utils.rs","src/quantities.rs"],"staticCpis":[{"programId":"11111111111111111111111111111111","program":"System Program","via":"invoke_signed system_instruction create_account / transfer+allocate+assign via system_utils::create_account"},{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed initialize vault token account"}],"mapping":"native-dispatch"}},{"name":"ClaimAuthority","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"65","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"successor","signer":true,"writable":false,"docs":"The successor account must sign to claim authority"}],"collisions":[],"handler":{"instruction":"ClaimAuthority","handlerPath":"src/program/processor/governance.rs","handlerFn":"governance::process_claim_authority","startLine":72,"endLine":84,"relatedFiles":["src/lib.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/governance.rs","src/program/status.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[],"mapping":"native-dispatch"}},{"name":"NameSuccessor","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"66","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"successor","type":"pubkey"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"marketAuthority","signer":true,"writable":false,"docs":"The market_authority account must sign to name successor"}],"collisions":[],"handler":{"instruction":"NameSuccessor","handlerPath":"src/program/processor/governance.rs","handlerFn":"governance::process_name_successor","startLine":88,"endLine":101,"relatedFiles":["src/lib.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/governance.rs","src/program/status.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[],"mapping":"native-dispatch"}},{"name":"ChangeMarketStatus","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"67","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"marketStatus","type":"MarketStatus"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"marketAuthority","signer":true,"writable":false,"docs":"The market_authority account must sign to change market status"}],"collisions":[],"handler":{"instruction":"ChangeMarketStatus","handlerPath":"src/program/processor/governance.rs","handlerFn":"governance::process_change_market_status","startLine":105,"endLine":176,"relatedFiles":["src/lib.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/governance.rs","src/program/status.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[],"mapping":"native-dispatch"}},{"name":"ChangeSeatStatus","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"68","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"approvalStatus","type":"SeatApprovalStatus"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"marketAuthority","signer":true,"writable":false,"docs":"The market_authority account must sign to change seat status"},{"name":"seat","signer":false,"writable":true}],"collisions":[],"handler":{"instruction":"ChangeSeatStatus","handlerPath":"src/program/processor/manage_seat.rs","handlerFn":"manage_seat::process_change_seat_status","startLine":98,"endLine":147,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/manage_seat.rs","src/program/status.rs","src/program/system_utils.rs"],"staticCpis":[],"mapping":"native-dispatch"}},{"name":"RequestSeatAuthorized","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"69","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"marketAuthority","signer":true,"writable":false,"docs":"The market_authority account must sign to request a seat on behalf of a trader"},{"name":"payer","signer":true,"writable":true},{"name":"trader","signer":false,"writable":false},{"name":"seat","signer":false,"writable":true},{"name":"systemProgram","signer":false,"writable":false,"docs":"System program"}],"collisions":[],"handler":{"instruction":"RequestSeatAuthorized","handlerPath":"src/program/processor/manage_seat.rs","handlerFn":"manage_seat::process_request_seat_authorized","startLine":15,"endLine":34,"relatedFiles":["src/lib.rs","src/program/dispatch_market.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/manage_seat.rs","src/program/status.rs","src/program/system_utils.rs"],"staticCpis":[{"programId":"11111111111111111111111111111111","program":"System Program","via":"invoke_signed system_instruction create_account / transfer+allocate+assign via system_utils::create_account"}],"mapping":"native-dispatch"}},{"name":"EvictSeat","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"6a","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"marketAuthority","signer":true,"writable":false,"docs":"The market_authority account must sign to evict a seat"},{"name":"trader","signer":false,"writable":false},{"name":"seat","signer":false,"writable":false,"docs":"The trader's PDA seat account, seeds are [b'seat', market_address, trader_address]"},{"name":"baseAccount","signer":false,"writable":true},{"name":"quoteAccount","signer":false,"writable":true},{"name":"baseVault","signer":false,"writable":true},{"name":"quoteVault","signer":false,"writable":true},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"EvictSeat","handlerPath":"src/program/processor/governance.rs","handlerFn":"governance::process_evict_seat","startLine":26,"endLine":46,"relatedFiles":["src/lib.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/governance.rs","src/program/status.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[],"mapping":"native-dispatch"}},{"name":"ForceCancelOrders","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"6b","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[{"name":"params","type":"CancelUpToParams"}],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"marketAuthority","signer":true,"writable":false,"docs":"The market_authority account must sign to claim authority"},{"name":"trader","signer":false,"writable":false},{"name":"seat","signer":false,"writable":false,"docs":"The trader's PDA seat account, seeds are [b'seat', market_address, trader_address]"},{"name":"baseAccount","signer":false,"writable":true,"docs":"Trader base token account"},{"name":"quoteAccount","signer":false,"writable":true,"docs":"Trader quote token account"},{"name":"baseVault","signer":false,"writable":true,"docs":"Base vault PDA, seeds are [b'vault', market_address, base_mint_address]"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"ForceCancelOrders","handlerPath":"src/program/processor/governance.rs","handlerFn":"governance::process_force_cancel_orders","startLine":50,"endLine":69,"relatedFiles":["src/lib.rs","src/program/error.rs","src/program/mod.rs","src/program/processor/governance.rs","src/program/status.rs","src/quantities.rs","src/state/markets/mod.rs","src/state/mod.rs"],"staticCpis":[],"mapping":"native-dispatch"}},{"name":"CollectFees","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"6c","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"sweeper","signer":true,"writable":false,"docs":"Signer of collect fees instruction"},{"name":"feeRecipient","signer":false,"writable":true,"docs":"Fee collector quote token account"},{"name":"quoteVault","signer":false,"writable":true,"docs":"Quote vault PDA, seeds are [b'vault', market_address, quote_mint_address]"},{"name":"tokenProgram","signer":false,"writable":false,"docs":"Token program"}],"collisions":[],"handler":{"instruction":"CollectFees","handlerPath":"src/program/processor/fees.rs","handlerFn":"fees::process_collect_fees","startLine":17,"endLine":58,"relatedFiles":["src/lib.rs","src/program/mod.rs","src/program/processor/fees.rs","src/program/token_utils.rs","src/quantities.rs","src/state/markets/mod.rs"],"staticCpis":[{"programId":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","program":"SPL Token","via":"invoke_signed spl_token::instruction::transfer (vault to trader) via token_utils::maybe_invoke_withdraw"}],"mapping":"native-dispatch"}},{"name":"ChangeFeeRecipient","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","discriminatorHex":"6d","decoding":"native-u8-tag","idlSha256":"e68577960f7fa10b67fb5aae771de6e58907c206aec2f3ff0a4141998e22b6bc","args":[],"accounts":[{"name":"phoenixProgram","signer":false,"writable":false,"docs":"Phoenix program"},{"name":"logAuthority","signer":false,"writable":false,"docs":"Phoenix log authority"},{"name":"market","signer":false,"writable":true,"docs":"This account holds the market state"},{"name":"marketAuthority","signer":true,"writable":false,"docs":"The market_authority account must sign to change the free recipient"},{"name":"newFeeRecipient","signer":false,"writable":false,"docs":"New fee recipient"}],"collisions":[],"handler":{"instruction":"ChangeFeeRecipient","handlerPath":"src/program/processor/fees.rs","handlerFn":"fees::process_change_fee_recipient","startLine":60,"endLine":89,"relatedFiles":["src/lib.rs","src/program/mod.rs","src/program/processor/fees.rs","src/program/token_utils.rs","src/quantities.rs","src/state/markets/mod.rs"],"staticCpis":[],"mapping":"native-dispatch"}}],"proofs":[{"instruction":"Swap","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 00.","Handler src/program/processor/new_order.rs#L140 (new_order::process_swap).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-ottersec-2023's reviewed commit 3d09bc8 and live c16694d4 the handler's traced files changed: src/program/processor/new_order.rs (M +4 -1)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/program/processor/new_order.rs","status":"M","additions":248,"deletions":15},{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"SwapWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 01.","Handler src/program/processor/new_order.rs#L182 (new_order::process_swap_with_free_funds).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-ottersec-2023's reviewed commit 3d09bc8 and live c16694d4 the handler's traced files changed: src/program/processor/new_order.rs (M +4 -1)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/program/processor/new_order.rs","status":"M","additions":248,"deletions":15},{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"PlaceLimitOrder","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 02.","Handler src/program/processor/new_order.rs#L221 (new_order::process_place_limit_order).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-ottersec-2023's reviewed commit 3d09bc8 and live c16694d4 the handler's traced files changed: src/program/processor/new_order.rs (M +4 -1)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/program/processor/new_order.rs","status":"M","additions":248,"deletions":15},{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"PlaceLimitOrderWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 03.","Handler src/program/processor/new_order.rs#L262 (new_order::process_place_limit_order_with_free_funds).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-ottersec-2023's reviewed commit 3d09bc8 and live c16694d4 the handler's traced files changed: src/program/processor/new_order.rs (M +4 -1)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/program/processor/new_order.rs","status":"M","additions":248,"deletions":15},{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"ReduceOrder","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 04.","Handler src/program/processor/reduce_order.rs#L34 (reduce_order::process_reduce_order).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"ReduceOrderWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 05.","Handler src/program/processor/reduce_order.rs#L34 (reduce_order::process_reduce_order).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"CancelAllOrders","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 06.","Handler src/program/processor/cancel_multiple_orders.rs#L36 (cancel_multiple_orders::process_cancel_all_orders).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"CancelAllOrdersWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 07.","Handler src/program/processor/cancel_multiple_orders.rs#L36 (cancel_multiple_orders::process_cancel_all_orders).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"CancelUpTo","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 08.","Handler src/program/processor/cancel_multiple_orders.rs#L112 (cancel_multiple_orders::process_cancel_up_to).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"CancelUpToWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 09.","Handler src/program/processor/cancel_multiple_orders.rs#L112 (cancel_multiple_orders::process_cancel_up_to).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"CancelMultipleOrdersById","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 0a.","Handler src/program/processor/cancel_multiple_orders.rs#L142 (cancel_multiple_orders::process_cancel_multiple_orders_by_id).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"CancelMultipleOrdersByIdWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 0b.","Handler src/program/processor/cancel_multiple_orders.rs#L142 (cancel_multiple_orders::process_cancel_multiple_orders_by_id).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"WithdrawFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 0c.","Handler src/program/processor/withdraw.rs#L26 (withdraw::process_withdraw_funds).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"DepositFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 0d.","Handler src/program/processor/deposit.rs#L18 (deposit::process_deposit_funds).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"RequestSeat","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 0e.","Handler src/program/processor/manage_seat.rs#L37 (manage_seat::process_request_seat).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"Log","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 0f.","Handler src/lib.rs#L93 (process_instruction (PhoenixInstruction::Log branch)).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"PlaceMultiplePostOnlyOrders","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 10.","Handler src/program/processor/new_order.rs#L303 (new_order::process_place_multiple_post_only_orders).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-ottersec-2023's reviewed commit 3d09bc8 and live c16694d4 the handler's traced files changed: src/program/processor/new_order.rs (M +4 -1)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/program/processor/new_order.rs","status":"M","additions":248,"deletions":15},{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"PlaceMultiplePostOnlyOrdersWithFreeFunds","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 11.","Handler src/program/processor/new_order.rs#L335 (new_order::process_place_multiple_post_only_orders_with_free_funds).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-ottersec-2023's reviewed commit 3d09bc8 and live c16694d4 the handler's traced files changed: src/program/processor/new_order.rs (M +4 -1)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/program/processor/new_order.rs","status":"M","additions":248,"deletions":15},{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"InitializeMarket","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 64.","Handler src/program/processor/initialize.rs#L68 (initialize::process_initialize_market).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"ClaimAuthority","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 65.","Handler src/program/processor/governance.rs#L72 (governance::process_claim_authority).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"NameSuccessor","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 66.","Handler src/program/processor/governance.rs#L88 (governance::process_name_successor).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"ChangeMarketStatus","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 67.","Handler src/program/processor/governance.rs#L105 (governance::process_change_market_status).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"ChangeSeatStatus","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 68.","Handler src/program/processor/manage_seat.rs#L98 (manage_seat::process_change_seat_status).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"RequestSeatAuthorized","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 69.","Handler src/program/processor/manage_seat.rs#L15 (manage_seat::process_request_seat_authorized).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"EvictSeat","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 6a.","Handler src/program/processor/governance.rs#L26 (governance::process_evict_seat).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"ForceCancelOrders","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 6b.","Handler src/program/processor/governance.rs#L50 (governance::process_force_cancel_orders).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"CollectFees","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 6c.","Handler src/program/processor/fees.rs#L17 (fees::process_collect_fees).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"},{"instruction":"ChangeFeeRecipient","programId":"PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY","verdict":"CHANGED","reasons":["Program snapshot at slot 472718297: executable, RPC agree, hash 6877a5b732b3….","Decoded by native-u8-tag 6d.","Handler src/program/processor/fees.rs#L60 (fees::process_change_fee_recipient).","Live source c16694d4 established by POA's independent build.","No report with directly extracted scope names a path covering the handler file.","CHANGED: between phoenix-madshield-2023's reviewed commit ee9cc033 and live c16694d4 the handler's traced files changed: src/lib.rs (M +14 -2)."],"unknowns":["A report whose printed scope paths cover the handler file."],"checks":{"decoded":true,"handlerLocated":true,"inReportNamedFiles":false,"reviewScopeEstablished":false,"reviewedCommitKnown":true,"liveSourceIndependentlyEstablished":true,"liveSourceEqualsReviewed":false,"handlerChangedSinceReview":true,"crateChangedSinceReview":true,"programImmutable":false,"evidenceFresh":true},"audits":[{"auditId":"phoenix-ottersec-2023","auditor":"OtterSec","reviewedCommit":"3d09bc8","scopeConfidence":"direct","relation":"program-named-no-paths"},{"auditId":"phoenix-madshield-2023","auditor":"Mad Shield","reviewedCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","scopeConfidence":"direct","relation":"program-named-no-paths"}],"changedFiles":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2}],"checkedAtSlot":472718297,"snapshotExecutableHash":"6877a5b732b3494b828a324ec846d526d962223959534dbaf4209e0da3b2d6a9"}],"coverage":{"totalDiscovered":28,"decoded":28,"inReportNamedFiles":0,"reviewScopeEstablished":0,"matchingReviewedLiveCode":0,"changed":28,"unknown":0,"partial":0},"programVerdict":"CHANGED","programReasons":["28 instruction(s) changed since review.","28 instructions: 0 MATCHED, 28 CHANGED, 0 PARTIAL, 0 UNKNOWN."],"handlerMap":{"repo":"https://github.com/Ellipsis-Labs/phoenix-v1","commit":"c16694d4f5f8ebd650799ada4853fde1637d4909"}}],"nonExecutableAccounts":[{"address":"2myyNegEA6pjAHmmEsJC6JdYhW51gwxQW7ZCTWvwaKTk","kind":"other","label":"Phoenix v1 ProgramData","note":"ProgramData account of the BPF upgradeable loader for Phoenix v1. Upgrade authority 8mv7G3fJq5a5ej7E14vgcSGeQKH79emjU9fVfuhyitEq; last deployment slot 231433470 (block time 2023-11-21T21:12:23Z).","source":{"url":"https://api.mainnet-beta.solana.com","method":"independent_rpc_read","retrievedAt":"2026-11-22T21:27:00Z","states":"getAccountInfo base64 at slot 472691314: ProgramData tag 3, slot 231433470, authority 8mv7G3fJq5a5ej7E14vgcSGeQKH79emjU9fVfuhyitEq; getBlockTime(231433470) = 2023-11-21T21:12:23Z."}}],"demoAccounts":[],"audits":[{"id":"phoenix-ottersec-2023","auditor":"OtterSec","title":"Ellipsis Labs Audit (phoenix, phoenix-seat-manager, sokoban, ellipsis-macros, phoenix-sdk, ellipsis-client)","reportUrl":"https://raw.githubusercontent.com/Ellipsis-Labs/phoenix-v1/6ae54af5f07f4d0ae8430b08cbe81d10432cd34c/audits/OtterSec.pdf","pdfSha256":"03af710ee5e76b40fde532d599d803af0b3246fe8fb151672554af88a77af0c3","pdfBytes":163680,"retrievedAt":"2026-11-22T21:40:00Z","dates":{"start":"2023-01-09","end":"2023-02-08"},"reviewedRepo":"https://github.com/Ellipsis-Labs/phoenix-v1","reviewedCommits":[{"commit":"3d09bc8","role":"unspecified","page":4,"note":"Printed in the scope table: 'We reviewed github.com/Ellipsis-Labs/phoenix-v1 commit 3d09bc8.' Full hash 3d09bc831e3d5711b295fcbe5619cd90d45cbcd9, dated 2023-07-31, after the printed assessment window; the repo replaced the report on 2023-08-08 (Update OtterSec audit, #34)."}],"scopePaths":[],"exclusions":[],"programsInScope":["PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY"],"findings":[{"id":"OS-EPS-ADV-00","title":"Invalid DoubleEndedIterator trait implementations (sokoban)","severity":"high","status":"Resolved","recheckEvidence":"Report patch note: resolved in #11 (sokoban)."},{"id":"OS-EPS-ADV-01","title":"SDK transaction spoofing (phoenix-sdk)","severity":"high","status":"Resolved","recheckEvidence":"Report patch note: resolved in #50 (phoenix-sdk)."},{"id":"OS-EPS-ADV-02","title":"Account creation DOS","severity":"medium","status":"Resolved","recheckEvidence":"Report patch note: resolved in #1."},{"id":"OS-EPS-ADV-03","title":"Explicate overflow boundaries","severity":"medium","status":"Resolved","recheckEvidence":"The table prints Resolved; the patch text says the team acknowledges the issue and will choose market parameters with the constraint in mind."},{"id":"OS-EPS-ADV-04","title":"Seat eviction DOS (phoenix-seat-manager)","severity":"low","status":"Resolved","recheckEvidence":"Report patch note: resolved in #15 (phoenix-seat-manager)."},{"id":"OS-EPS-SUG-00","title":"Enforce critical orderbook invariants","severity":"informational","status":"unstated"},{"id":"OS-EPS-SUG-01","title":"Red-black tree optimization","severity":"informational","status":"unstated"},{"id":"OS-EPS-SUG-02","title":"Improved SDK error handling","severity":"informational","status":"unstated"},{"id":"OS-EPS-SUG-03","title":"Potentially unsafe truncation","severity":"informational","status":"unstated"}],"findingCounts":{"critical":0,"high":2,"medium":2,"low":1,"informational":4},"extraction":"pdf-text","confidence":"direct","notes":"The scope table names repositories and commits (phoenix 3d09bc8, phoenix-seat-manager e9630fc, sokoban 9a7c2d0, ellipsis-macros 142c920, phoenix-sdk a92a875, ellipsis-client 1b5168d) and no file paths. ADV-00, ADV-01 and ADV-04 concern sokoban, the SDK and the seat manager, not this program's source. General findings carry no status. Program tie: the report is in the program repository audits/ folder and the README says the program was audited by OtterSec."},{"id":"phoenix-madshield-2023","auditor":"Mad Shield","title":"Phoenix Limit Order Book Program Audit Report","reportUrl":"https://raw.githubusercontent.com/Ellipsis-Labs/phoenix-v1/6ae54af5f07f4d0ae8430b08cbe81d10432cd34c/audits/MadShield.pdf","pdfSha256":"0741c2055792664beb4fb24bb94cdd456a213d6627b96ef830234cb567e8db7e","pdfBytes":265824,"retrievedAt":"2026-11-22T21:40:00Z","dates":{"start":"2023-03-02","end":"2023-04-05","published":"2023-11-01"},"reviewedRepo":"https://github.com/Ellipsis-Labs/phoenix-v1","reviewedCommits":[{"commit":"11eda7a3637b5e106d8b01cd8033dfea68d36c82","role":"initial","page":5,"note":"Printed as the phoenix-v1 commit at the start of the audit."},{"commit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","role":"final","page":8,"note":"Page 8: the report is valid for the codebase between 11eda7a and ee9cc03 'with resolving patches for all findings'."}],"scopePaths":[],"exclusions":[],"programsInScope":["PhoeNiXZ8ByJGLkxNfZRnkUfjvmuYqLR89jjFHGqdXY"],"findings":[{"id":"SHIELD_PHNX_001","title":"Limit order crossing","severity":"medium","status":"patched (p.8)","recheckEvidence":"No per-finding status is printed; page 8 says the report covers commits up to ee9cc03 with resolving patches for all findings."},{"id":"SHIELD_PHNX_002","title":"Market maker seat access control violation","severity":"medium","status":"patched (p.8)","recheckEvidence":"Page 11 shows the added market check on the seat account."},{"id":"SHIELD_PHNX_003","title":"FOK orders fail in the no deposit/withdrawal mode","severity":"low","status":"patched (p.8)"},{"id":"SHIELD_PHNX_004","title":"Self trade with DecrementTake cancels orders aggressively","severity":"low","status":"patched (p.8)"}],"findingCounts":{"critical":0,"high":0,"medium":2,"low":2},"extraction":"pdf-text","confidence":"direct","notes":"Scope is the Phoenix program and the Sokoban library, delivered as the phoenix-v1 and sokoban repositories (page 5); no file paths are listed. Sokoban start commit 7a2b711 is printed for the library. The README names only OtterSec; this report was added to audits/ in #37 (2023-11-09)."}],"sourceDiffs":[{"repo":"https://github.com/Ellipsis-Labs/phoenix-v1","fromCommit":"3d09bc831e3d5711b295fcbe5619cd90d45cbcd9","fromLabel":"OtterSec reviewed commit (3d09bc8)","toCommit":"c16694d4f5f8ebd650799ada4853fde1637d4909","toLabel":"POA rebuilt live commit (c16694d)","path":"src","filesChanged":[{"path":"src/program/processor/new_order.rs","status":"M","additions":4,"deletions":1}],"computedAt":"2026-11-22T22:58:54Z","method":"git-diff-numstat","compareUrl":"https://github.com/Ellipsis-Labs/phoenix-v1/compare/3d09bc831e3d5711b295fcbe5619cd90d45cbcd9...c16694d4f5f8ebd650799ada4853fde1637d4909"},{"repo":"https://github.com/Ellipsis-Labs/phoenix-v1","fromCommit":"ee9cc0333fbab6ee20861e51201951b3e9c38dc9","fromLabel":"MadShield final commit (ee9cc03)","toCommit":"c16694d4f5f8ebd650799ada4853fde1637d4909","toLabel":"POA rebuilt live commit (c16694d)","path":"src","filesChanged":[{"path":"src/lib.rs","status":"M","additions":14,"deletions":2},{"path":"src/program/processor/new_order.rs","status":"M","additions":248,"deletions":15},{"path":"src/program/validation/checkers/token_checkers.rs","status":"M","additions":10,"deletions":0},{"path":"src/shank_structs.rs","status":"M","additions":2,"deletions":0},{"path":"src/state/markets/fifo.rs","status":"M","additions":4,"deletions":2},{"path":"src/state/markets/test_market.rs","status":"M","additions":83,"deletions":1},{"path":"src/state/order_schema/order_packet.rs","status":"M","additions":66,"deletions":26}],"computedAt":"2026-11-22T22:58:55Z","method":"git-diff-numstat","compareUrl":"https://github.com/Ellipsis-Labs/phoenix-v1/compare/ee9cc0333fbab6ee20861e51201951b3e9c38dc9...c16694d4f5f8ebd650799ada4853fde1637d4909"}],"transactions":["4XjA4Lcs19JP6KipRUGhnPpLNwUoXqWMfnymbio7F2bye7EkHFpik2CRSUCt3cijXDXRytkVQn1Ca1Vn9vudBVCB","MnxRGX1oV6NoDdkdUN6hGqFgJ4AtzMi8ffj7z8Dph2AgbuTEdnfnG9SgJDFdGTPCw2adhkPYSSvLG1iNHJbM8jp","2WQtSrGHJ8ZAbT9KQ4b8283JYfY9W626rHGq6yRChKvmbmnjokwavS6cdLXNBJtEaKcx1wf7YTPi9G2ZPzjfYH1G","277zVt2JMoinmfyYcvhgDBvqMzjTD6AGZbRmtxJLrnYDXEP6ax185agUKXskkXBJe14qGQGR6SGSqTsGe6rDE6AZ"],"openQuestions":["No report lists file paths, so no instruction is shown inside a report's named files. Both reports name the phoenix-v1 repository at a commit.","POA's rebuild of c16694d reproduces the on-chain executable hash. OtterSec reviewed 3d09bc8; from 3d09bc8 to c16694d only src/program/processor/new_order.rs changed (4 lines added, 1 removed). Mad Shield's final commit ee9cc03 is older; seven files under src/ changed after it.","The OtterSec report states an assessment window of January 9 to February 8, 2023 but names commit 3d09bc8 from July 31, 2023. The report does not say when 3d09bc8 was reviewed.","OtterSec's verify API reports is_verified true for this program with commit None, so the provider does not say which commit it built.","The Dockerfile in the repo still pins e879f1c (February 2023) as the verified-build commit; that commit is not the deployed code.","No top-level Swap instruction was found in the 250 most recent program transactions or 200 SOL/USDC market transactions; swaps mostly arrive by CPI from routers, so no Swap example is published.","The upgrade authority 8mv7G3fJ... can replace the program. POA has not checked what kind of account controls it.","Instruction args that are defined structs (order packets, cancel params) are not decoded by POA.","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":472718297,"inputSha256":"cef9da5f4c5bb778d621aaa9d4768fc60260df54e638068fededc29589f07a98"}