Constants#
<!-- Generated by scripts/generate_docs_constants.mjs. Edit source declarations or scripts/docs_constants_notes.md, then regenerate. -->This page is generated from the Rust constant homes and canonical IDL in the
same checkout. Values are protocol defaults or hard bounds; consumers
must read the deployed config for governance-controlled settings.
taker_fee_coefficient_bps = 0 disables taker fees. See
market economics.
Time Constants#
Lifecycle timestamps and durations use seconds. A native market ID is a creator-chosen preparation timestamp in microseconds; its PDA also includes the feed, duration, and creator. The ID is not an authoritative clock.
Market Timing#
At successful creation, window_start is the on-chain clock and window_end
is the checked sum of that start and duration d. Use the market's stored end
time for live lifecycle decisions; an ID alone does not establish a schedule.
Price Constants#
Prices use basis points of a complete binary payout. Quantities and settlement amounts use the settlement mint's base units. Multiplication must preserve integer precision and apply the program's rounding rules.
Fee Curve Parameters#
For an already-rounded quote notional and a fill at price p in the taker's
outcome lane, the fee numerator is notional * taker_fee_coefficient_bps * (P_MAX - p).
Divide by P_MAX² with ceiling rounding per book fill or per cumulative
spline epoch. Allocation percentages apply to the collected fee.
The cap and decay constants remain in the source inventory for the older
calculation helpers. Current matching uses the coefficient.
Order Book Limits#
Each market uses one canonical ledger and orderbook size. See
market capacity for the account sizes and the
deep orderbook contract for the indexed
layout. Match limits bound iterations, including self-trade handling and
stale-order cleanup. CancelOwnerOrders examines up to 64 and removes up to
32 orders per instruction.
Rent Costs#
Query Solana RPC getMinimumBalanceForRentExemption with the complete account
allocation in bytes and the intended commitment. The ledger and orderbook use
their exact canonical lengths. The returned lamports cover rent exemption.
Budget transaction fees and protocol reward reserves separately.
Oracle Constants#
Native markets consume authenticated Pyth Receiver updates. Compile-time oracle program identities and feed binding are documented in the oracle design. External markets have a separate proof-verification policy and timing contract.
External Resolver Constants#
Signed-source and external-market limits appear in the protocol table. Read external markets and signed source results for the account and witness requirements.
Protocol constants#
| Constant | Value | Rust type | Source expression |
|---|---|---|---|
PROTOCOL_VERSION | 1 | u8 | 1 |
ADMITTED_SETTLEMENT_DECIMALS_MIN | 6 | u8 | 6 |
ADMITTED_SETTLEMENT_DECIMALS_MAX | 9 | u8 | 9 |
SPL_TOKEN_ACCOUNT_SIZE | 165 | usize | 165 |
SPL_MINT_ACCOUNT_SIZE | 82 | usize | 82 |
P_MAX | 10000 | u16 | 10_000 |
BPS_DIVISOR | 10000 | u64 | 10_000 |
SOURCE_FUTURE_SKEW_S | 30 | usize | 30 |
SOURCE_MINIMUM_CREATION_LEAD_S | 60 | usize | 60 |
SOURCE_VENUE_FINALITY_DELAY_S | 60 | usize | 60 |
SOURCE_EXPIRY_WINDOW_S | 604800 | usize | 604_800 |
FORCE_CLOSE_COMPUTE_UNIT_LIMIT | 1000000 | u32 | 1_000_000 |
MAKER_BAND_BPS | 1000 | u16 | 1000 |
STATIC_MIN_BPS_FOR_BAND | 100 | u16 | 100 |
STATIC_MAX_BPS_FOR_BAND | 9900 | u16 | 9900 |
DEFAULT_MAX_ORDER_SIZE | 1000000000000 | u64 | 1_000_000_000_000 |
MAX_MATCH_LIMIT | 12 | u8 | 12 |
MIN_ORDER_TTL_SECONDS | 60 | u32 | 60 |
MAX_COVERED_ORDER_TTL_SECONDS | 3600 | u32 | 3_600 |
DEFAULT_MATCH_LIMIT | 12 | u8 | MAX_MATCH_LIMIT |
MAX_TICK_SIZE_BPS | 1000 | u16 | 1000 |
MIN_TICK_SIZE_BPS | 1 | u16 | 1 |
DEFAULT_MIN_RESTING_NOTIONAL | 2 | u64 | 2 |
LANE_RESERVATION_DIVISOR | 2 | u32 | 2 |
PLACE_ORDER_HEAP_FRAME_BYTES | 65536 | u32 | 64 * 1024 |
MAX_HEAP_FRAME_BYTES | 262144 | u32 | 256 * 1024 |
HEAP_FRAME_GRANULARITY_BYTES | 1024 | u32 | 1024 |
PLACE_ORDER_HEAP_BYTES_PER_BATCHED_ORDER | 23552 | u32 | 23 * 1024 |
SECONDS_PER_DAY | 86400 | i64 | 86_400 |
MAX_PERMITTED_DATA_INCREASE | 10240 | usize | 10_240 |
DEFAULT_MARKET_DURATION | 900 | u64 | 900 |
MIN_MARKET_DURATION | 60 | u64 | 60 |
MAX_MARKET_DURATION | 604800 | u64 | 604_800 |
MAX_CREATION_WINDOW | 86400 | i64 | SECONDS_PER_DAY |
MARKET_EXPIRY_WINDOW | 604800 | i64 | 604_800 |
CLOSE_TIMEOUT_SECONDS | 604800 | i64 | 7 * 24 * 60 * 60 |
MAX_EXTERNAL_CLOSE_HORIZON_SECONDS | 31536000 | i64 | 365 * SECONDS_PER_DAY |
SUPPORTED_EXTERNAL_TEMPLATE_VERSION | 1 | u16 | 1 |
MIN_EXTERNAL_EXPIRATION_WINDOW_SECONDS | 2592000 | u64 | 30 * SECONDS_PER_DAY as u64 |
DEFAULT_CLOSER_CAP_ORACLE_LAMPORTS | 1710000 | u64 | 1_710_000 |
DEFAULT_CLOSER_CAP_PLAIN_LAMPORTS | 200000 | u64 | 200_000 |
DEFAULT_CLOSER_RAMP_ORACLE_SECONDS | 2480 | u32 | 2_480 |
DEFAULT_CLOSER_RAMP_PLAIN_SECONDS | 1000 | u32 | 1_000 |
MAX_CLOSER_CAP_LAMPORTS | 50000000 | u64 | 50_000_000 |
MAX_CLOSER_RAMP_SECONDS | 604800 | u32 | 604_800 |
DEFAULT_SEAT_SETTLE_BOUNTY_LAMPORTS | 200000 | u64 | 200_000 |
MAX_SEAT_SETTLE_BOUNTY_LAMPORTS | 1000000 | u64 | 1_000_000 |
REFERRAL_DURATION_SECONDS | 31536000 | i64 | 365 * 86_400 |
POSITION_REFERRAL_CACHE_VERSION | 1 | u8 | 1 |
POSITION_REFERRAL_FLAG_BOUND | 1 | u8 | 0x01 |
MAX_REFERRAL_ROLLUP_POSITIONS | 8 | usize | 8 |
REFERRAL_FORFEIT_GRACE_SECONDS | 604800 | i64 | 604_800 |
FEE_CONFIG_RATE_LIMIT_SECONDS | 3600 | i64 | 3_600 |
MAX_TREASURY_RECIPIENTS | 8 | usize | 8 |
TREASURY_UPDATE_RATE_LIMIT_SECONDS | 3600 | i64 | FEE_CONFIG_RATE_LIMIT_SECONDS |
OPERATIONAL_PARAMS_RATE_LIMIT_SECONDS | 3600 | i64 | FEE_CONFIG_RATE_LIMIT_SECONDS |
MICROSTRUCTURE_UPDATE_RATE_LIMIT_SECONDS | 3600 | i64 | FEE_CONFIG_RATE_LIMIT_SECONDS |
REBALANCE_ALERT_RATIO | 4 | u64 | 4 |
Source: program/src/constants.rs.
Fee constants#
| Constant | Value | Rust type | Source expression |
|---|---|---|---|
MAX_FEE_CAP_BPS | 500 | u16 | 500 |
MAX_DECAY_RATE_BPS | 1000 | u16 | 1_000 |
MIN_PROTOCOL_SHARE_BPS | 2000 | u16 | 2_000 |
MAX_PROTOCOL_SHARE_BPS | 4500 | u16 | 4_500 |
MIN_REFERRAL_SHARE_BPS_OF_FEE | 1 | u16 | 1 |
MIN_BUILDER_SHARE_BPS | 0 | u16 | 0 |
MAX_BUILDER_SHARE_BPS | 1000 | u16 | 1_000 |
MAX_APPROVAL_BUILDER_BPS | 10000 | u16 | 10_000 |
MAX_MAKER_REBATE_SHARE_BPS | 4000 | u16 | 4_000 |
MAX_MAKER_REBATE_MIN_REST_SECONDS | 3600 | u32 | 3_600 |
DEFAULT_FEE_CAP_BPS | 200 | u16 | 200 |
DEFAULT_DECAY_RATE_BPS | 400 | u16 | 400 |
Source: program/src/logic/fee.rs.
Taker fee coefficient#
| Constant | Value | Rust type | Source expression |
|---|---|---|---|
MAX_TAKER_FEE_COEFFICIENT_BPS | 10000 | u16 | 10_000 |
DEFAULT_TAKER_FEE_COEFFICIENT_BPS | 400 | u16 | 400 |
Source: program/src/logic/fee/taker_fee.rs.
Configuration limits and defaults#
| Constant | Value | Rust type | Source expression |
|---|---|---|---|
CONFIG_ACCOUNT_SIZE | 632 | usize | 632 |
MAX_SPLINE_MID_JUMP_RESET_BPS | 9997 | u16 | c::P_MAX - 3 |
AUTHORITY_TIMELOCK_SECONDS | 172800 | i64 | 60 * 60 * 48 |
CONFIG_SEAT_PARAMS_OFFSET | 576 | usize | 576 |
MAX_ACTIVE_SEATS_PER_MARKET_CAP | 16 | u16 | 16 |
MAX_SEAT_BAND_BPS | 5000 | u16 | 5_000 |
MAX_SEAT_FLOOR_SAMPLE_SECONDS | 3600 | u32 | 3_600 |
MAX_SEAT_FLOOR_WINDOW_SECONDS | 86400 | u32 | 86_400 |
MAX_SEAT_ATTACH_MAX_AGE_CEILING_SECONDS | 3600 | u32 | 3_600 |
MAX_SEAT_CRANK_MIN_SPACING_BPS | 10000 | u16 | 10_000 |
MAX_QUOTE_PYTH_MAX_AGE_SECONDS | 3600 | u16 | 3_600 |
MAX_QUOTE_PYTH_MAX_CONFIDENCE_BPS | 10000 | u16 | 10_000 |
DEFAULT_QUOTE_PYTH_MAX_AGE_SECONDS | 60 | u16 | 60 |
DEFAULT_QUOTE_PYTH_MAX_CONFIDENCE_BPS | 200 | u16 | 200 |
CONFIG_FEE_EPOCH_OFFSET | 570 | usize | 570 |
CONFIG_FEE_RESERVED_OFFSET | 574 | usize | 574 |
SIZE | 632 | usize | CONFIG_ACCOUNT_SIZE |
DEFAULT_SPLINE_MIN_COMMITMENT | 10000000 | u64 | 10_000_000 |
DEFAULT_MAKER_REBATE_MIN_REST_SECONDS | 10 | u32 | 10 |
MIN_TICK_SIZE_BPS | 1 | u16 | c::MIN_TICK_SIZE_BPS |
MAX_TICK_SIZE_BPS | 1000 | u16 | c::MAX_TICK_SIZE_BPS |
DEFAULT_MIN_MARKET_DURATION | 60 | u64 | 60 |
DEFAULT_MAX_MARKET_DURATION | 604800 | u64 | 604_800 |
MIN_REFERRAL_SHARE_BPS_OF_FEE | 1 | u16 | fee::MIN_REFERRAL_SHARE_BPS_OF_FEE |
MAX_MIN_RESTING_NOTIONAL | 100000000 | u64 | 100_000_000 |
MAX_PRICE_STALENESS_SECONDS | 3600 | u64 | 3_600 |
MAX_EXPIRATION_WINDOW_SECONDS | 2592000 | u64 | 30 * 86_400 |
MAX_CONFIGURABLE_MARKET_DURATION | 604800 | u64 | c::MAX_MARKET_DURATION |
MAX_CONFIGURABLE_ORDER_SIZE | 1000000000000 | u64 | c::DEFAULT_MAX_ORDER_SIZE |
Source: program/src/state/config.rs.
Five-Way Fee Split#
| Allocation | Basis points of collected fee |
|---|---|
protocol_bps | 4500 |
creator_bps | 500 |
referral_bps | 500 |
builder_bps | 500 |
maker_bps | 4000 |
Account Sizes#
Size declarations below come directly from account source files. Unevaluated Rust layout expressions are shown explicitly. Variable accounts require their capacity-dependent tail; a header size is not their total allocation.
| Source | Constant | Bytes or Rust layout expression |
|---|---|---|
asset.rs | ASSET_STATE_SIZE | 128 |
asset.rs | SIZE | ASSET_STATE_SIZE |
canonical_market.rs | TRADER_LEDGER_ACCOUNT_SIZE | super::trader_ledger::TRADER_LEDGER_SEATS_OFFSET + (MARKET_SEATS as usize) * super::trader_ledger::TraderLedgerSlot::SIZE |
canonical_market.rs | DEEP_ORDERBOOK_SIDE_SIZE | super::deep_orderbook::DeepOrderbookSideHeader::SIZE + (ORDERS_PER_ARENA as usize) * (super::deep_orderbook::DeepOrderbookNode::SIZE + super::orderbook::Order::SIZE) |
canonical_market.rs | DEEP_ORDERBOOK_ACCOUNT_SIZE | super::deep_orderbook::DEEP_ORDERBOOK_HEADER_SIZE + 2 * DEEP_ORDERBOOK_SIDE_SIZE |
confidential_action_state.rs | CONFIDENTIAL_ACTION_STATE_SIZE | 232 |
confidential_budget.rs | SIZE | 720 |
confidential_capsule_slot.rs | CONFIDENTIAL_CAPSULE_SLOT_SIZE | 120 + CONFIDENTIAL_CAPSULE_MAX_LEN |
confidential_claim_page.rs | CONFIDENTIAL_CLAIM_RECORD_SIZE | 568 |
confidential_claim_page.rs | CONFIDENTIAL_CLAIM_PAGE_SIZE | 128 + CONFIDENTIAL_CLAIM_PAGE_CAPACITY * CONFIDENTIAL_CLAIM_RECORD_SIZE |
confidential_closure.rs | CONFIDENTIAL_CLOSURE_CERTIFICATE_SIZE | 192 |
confidential_job.rs | CONFIDENTIAL_JOB_HEADER_SIZE | 320 |
confidential_market.rs | CONFIDENTIAL_MARKET_SIZE | 616 |
confidential_market.rs | CONFIDENTIAL_MARKET_POLICY_SIZE | core::mem::size_of::<ConfidentialMarketPolicy>() |
confidential_market.rs | CONFIDENTIAL_NATIVE_DEFINITION_SIZE | core::mem::size_of::<ConfidentialNativeDefinition>() |
confidential_object_page.rs | CONFIDENTIAL_OBJECT_RECORD_SIZE | 320 |
confidential_object_page.rs | CONFIDENTIAL_OBJECT_PAGE_HEADER_SIZE | 64 |
confidential_object_page.rs | CONFIDENTIAL_OBJECT_PAGE_SIZE | CONFIDENTIAL_OBJECT_PAGE_HEADER_SIZE + CONFIDENTIAL_OBJECT_RECORDS_PER_PAGE * CONFIDENTIAL_OBJECT_RECORD_SIZE |
confidential_wave3.rs | EPOCH_LOG_HEADER_SIZE | 168 |
confidential_wave3.rs | EPOCH_LOG_ENTRY_SIZE | 80 |
confidential_wave3.rs | CONFIDENTIAL_EPOCH_LOG_SIZE | EPOCH_LOG_HEADER_SIZE + EPOCH_LOG_PAGE_CAPACITY * EPOCH_LOG_ENTRY_SIZE |
confidential_wave3.rs | CONFIDENTIAL_ACTIVATION_LOCK_SIZE | 88 |
confidential_wave3.rs | CONFIDENTIAL_CLEARING_SIZE | 168 |
confidential_wave3.rs | CONFIDENTIAL_STANDING_ORDER_SIZE | 336 |
confidential_wave3.rs | CONFIDENTIAL_SOURCE_LOCK_SIZE | 232 |
confidential_wave4.rs | SHIELDED_OUTCOME_RESERVE_SIZE | 216 |
confidential_wave4.rs | CONFIDENTIAL_ROUTE_SIZE | 256 |
confidential_wave4.rs | CONTINUOUS_BOOK_SIZE | 80 |
confidential_wave4.rs | CONTINUOUS_MAP_PAGE_SIZE | 6_208 |
confidential_wave4.rs | IN_FLIGHT_TAKER_SIZE | 72 |
confidential_wave4.rs | CONFIDENTIAL_SPLINE_OFFER_SIZE | 288 |
confidential_wave4.rs | SPLINE_DELEGATE_MANDATE_SIZE | 168 |
confidential_wave4.rs | CONTINUOUS_TREE_PAGE_SIZE | 4_160 |
confidential_wave4.rs | CONFIDENTIAL_RESERVE_POOL_SIZE | 272 |
config.rs | CONFIG_ACCOUNT_SIZE | 632 |
config.rs | SIZE | CONFIG_ACCOUNT_SIZE |
config.rs | MAX_CONFIGURABLE_ORDER_SIZE | c::DEFAULT_MAX_ORDER_SIZE |
deep_orderbook.rs | DEEP_ORDERBOOK_HEADER_SIZE | 128 |
deep_orderbook.rs | SIZE | DEEP_ORDERBOOK_HEADER_SIZE |
deep_orderbook.rs | SIZE | 32 |
deep_orderbook.rs | SIZE | 32 |
fee_accounts.rs | CURRENCY_REFERRER_EARNINGS_SIZE | 104 |
fee_accounts.rs | REFERRAL_ACCOUNT_SIZE | 104 |
fee_accounts.rs | BUILDER_APPROVAL_ACCOUNT_SIZE | 96 |
fee_accounts.rs | SIZE | CURRENCY_REFERRER_EARNINGS_SIZE |
fee_accounts.rs | SIZE | REFERRAL_ACCOUNT_SIZE |
fee_accounts.rs | SIZE | BUILDER_APPROVAL_ACCOUNT_SIZE |
maker_quote_state.rs | MAKER_QUOTE_STATE_SIZE | 304 |
market.rs | MARKET_ACCOUNT_SIZE | 568 |
market.rs | MARKET_SEAT_REGISTRY_SIZE | SEAT_REGISTRY_CAPACITY * 32 + 16 |
market.rs | SIZE | MARKET_ACCOUNT_SIZE |
market_meta.rs | MARKET_META_ACCOUNT_SIZE | 448 |
native_resolution_policy.rs | NATIVE_RESOLUTION_POLICY_SIZE | 176 |
orderbook.rs | ORDER_SIZE | 136 |
orderbook.rs | SIZE | ORDER_SIZE |
owner_payout_escrow.rs | OWNER_PAYOUT_ESCROW_SIZE | 160 |
owner_payout_escrow.rs | SIZE | OWNER_PAYOUT_ESCROW_SIZE |
position.rs | USER_POSITION_ACCOUNT_SIZE | 256 |
position.rs | SIZE | USER_POSITION_ACCOUNT_SIZE |
preallocation_receipt.rs | PREALLOCATION_RECEIPT_SIZE | 392 |
preallocation_receipt.rs | SIZE | PREALLOCATION_RECEIPT_SIZE |
source_control.rs | SOURCE_CONTROL_SIZE | SOURCE_CONTROL_BYTES |
source_control.rs | SOURCE_CONTROL_RESERVED0_SIZE | 4 |
source_control.rs | SOURCE_CONTROL_RESERVED1_SIZE | 8 |
source_state.rs | SOURCE_STATE_FIXED_SIZE | SOURCE_STATE_FIXED_BYTES |
source_state.rs | SOURCE_STATE_PROJECTION_SIZE | PROJECTION_BYTES |
source_state.rs | SOURCE_STATE_LIFECYCLE_SIZE | 256 |
source_state.rs | SOURCE_STATE_OBSERVATIONS_SIZE | 256 |
source_state.rs | SOURCE_STATE_RESERVED0_SIZE | 1 |
source_state.rs | SOURCE_STATE_RESERVED1_SIZE | 61 |
source_state.rs | SOURCE_STATE_EXACT_PADDING0_SIZE | 4 |
source_state.rs | SOURCE_STATE_EXACT_PADDING1_SIZE | 8 |
source_state.rs | SOURCE_STATE_EXACT_PADDING2_SIZE | 4 |
spline.rs | MAKER_SERIES_ACCOUNT_SIZE | 1_152 |
spline.rs | SIZE | MAKER_SERIES_ACCOUNT_SIZE |
spline_seat.rs | SPLINE_SEAT_ACCOUNT_SIZE | 1_480 |
spline_seat.rs | SIZE | SPLINE_SEAT_ACCOUNT_SIZE |
strategy.rs | STRATEGY_ACCOUNT_SIZE | 640 |
strategy.rs | SIZE | STRATEGY_ACCOUNT_SIZE |
trader_ledger.rs | CANCEL_SESSION_SIZE | 34 |
trader_ledger.rs | SIZE | core::mem::size_of::<Self>() |
trader_ledger.rs | TRADER_LEDGER_HEADER_SIZE | core::mem::size_of::<TraderLedgerHeader>() |
trader_ledger.rs | SIZE | TRADER_LEDGER_HEADER_SIZE |
witness_registry.rs | WITNESS_REGISTRY_SIZE | REGISTRY_BYTES |
IDL fixed headers#
| Account | Fixed header bytes |
|---|---|
MarketMetaAccount | 448 |
MakerSeriesAccount | 1152 |
SplineSeatAccount | 1480 |
SourceState | 768 |
SourceControl | 1408 |
WitnessRegistry | 3648 |
ConfidentialMarketAccount | 616 |
See account layouts for complete layouts.
Instruction Discriminators#
Public instructions span 0x00..=0xBE (191 instructions). Internal recorder instruction: LOG = 0xFF. Bytes 0xBF–0xFE have no public route and are rejected before account access.
Discriminator Values#
INITIALIZE_CONFIG: 0x00
UPDATE_AUTHORITY: 0x01
CLAIM_AUTHORITY: 0x02
CREATE_MARKET: 0x03
SNAPSHOT_END: 0x04
RESOLVE_MARKET: 0x05
EXPIRE_MARKET: 0x06
MINT_SHARES: 0x07
DEPOSIT_FUNDS: 0x08
WITHDRAW_FUNDS: 0x09
WITHDRAW_SHARES: 0x0A
MERGE_COMPLETE_SET: 0x0B
PLACE_ORDER: 0x0C
PLACE_MULTIPLE_POST_ONLY: 0x0D
SWAP_WITH_FREE_FUNDS: 0x0E
PLACE_LIMIT_WITH_FREE_FUNDS: 0x0F
BATCH_POST_ONLY_WITH_FREE_FUNDS: 0x10
CANCEL_ORDER: 0x11
CANCEL_MULTIPLE_ORDERS_BY_ID: 0x12
REDUCE_ORDER: 0x13
CANCEL_MULTIPLE_ORDERS_BY_ID_WITH_FREE_FUNDS: 0x14
REDUCE_ORDER_WITH_FREE_FUNDS: 0x15
RECLAIM_EXPIRED_ORDER: 0x16
REDEEM: 0x17
FORCE_CLOSE: 0x18
MARK_POSITION_SETTLED: 0x19
CLOSE_POSITION: 0x1A
CLOSE_MARKET: 0x1B
UPDATE_FEE_CONFIG: 0x1C
UPDATE_TREASURY_RECIPIENTS: 0x1D
SET_REFERRER: 0x1E
CLAIM_CREATOR_FEES: 0x1F
PAUSE: 0x20
UNPAUSE: 0x21
ENABLE_POST_ONLY_MODE: 0x22
DISABLE_POST_ONLY_MODE: 0x23
UPDATE_TICK_SIZE: 0x24
UPDATE_MIN_RESTING_NOTIONAL: 0x25
UPDATE_MARKET_CAP: 0x26
SET_MARKET_EMERGENCY_STATUS: 0x27
FORCE_CANCEL_MARKET_ORDERS: 0x28
SET_PAUSER: 0x29
UPDATE_OPERATIONAL_PARAMS: 0x2A
ENSURE_TRADER_LEDGER_SPACE: 0x2B
ENSURE_DEEP_ORDERBOOK_SPACE: 0x2C
TOP_UP_CLOSER_REWARDS: 0x2D
INIT_SPLINE_SERIES: 0x2E
UPDATE_SERIES_TEMPLATE: 0x2F
UPDATE_SEAT_QUOTE: 0x30
ATTACH_SEAT: 0x31
SETTLE_SEAT: 0x32
RECOVER_SEAT: 0x33
DEPOSIT_SERIES_VAULT: 0x34
WITHDRAW_SERIES_VAULT: 0x35
CLOSE_SPLINE_SERIES: 0x36
BEGIN_SOURCE_MARKET: 0x37
OPEN_SOURCE_MARKET: 0x38
EXPIRE_EXTERNAL_MARKET: 0x39
CLOSE_PREALLOCATED_CHILD: 0x3A
RECLAIM_EXTERNAL_MARKET_PREALLOCATION: 0x3B
TOP_UP_EXTERNAL_PROGRESS_RESERVE: 0x3C
EVACUATE_IDLE_SEAT: 0x3D
RESOLVE_SOURCE_MARKET: 0x3E
HALT_SOURCE_MARKET: 0x3F
UPDATE_SOURCE_CLOSE: 0x40
FINALIZE_SOURCE_MARKET: 0x41
CLOSE_SOURCE_ACCOUNTS: 0x42
INITIALIZE_SOURCE_CONTROL: 0x43
SET_SOURCE_PROFILE_POLICY: 0x44
INITIALIZE_WITNESS_REGISTRY: 0x45
REVOKE_WITNESS_SLOT: 0x46
SET_WITNESS_MEASUREMENT: 0x47
REGISTER_ATTESTED_WITNESS: 0x48
ROTATE_SEAT_QUOTE_AUTHORITY: 0x49
APPROVE_BUILDER: 0x4A
REVOKE_BUILDER: 0x4B
SET_CURRENCY_FREEZE_EXCEPTION: 0x4C
REGISTER_CURRENCY: 0x4D
INITIALIZE_CURRENCY_REFERRAL_TREASURY: 0x4E
INITIALIZE_CURRENCY_REFERRER_EARNINGS: 0x4F
CLAIM_CURRENCY_REFERRER_EARNINGS: 0x50
ROLLUP_CURRENCY_REFERRAL_FEES: 0x51
INITIALIZE_CURRENCY_PROTOCOL_TREASURY: 0x52
WITHDRAW_CURRENCY_PROTOCOL_TREASURY: 0x53
CANCEL_ORDER_BY_CLIENT_ID: 0x54
CANCEL_OWNER_ORDERS: 0x55
CONFIGURE_STRATEGY: 0x56
STOP_STRATEGY: 0x57
RESUME_STRATEGY: 0x58
CLOSE_STRATEGY: 0x59
RESET_STRATEGY_CAPITAL: 0x5A
UPDATE_SEAT_TABLES: 0x5B
TOP_UP_SEAT_COMMITMENT: 0x5C
ATTACH_SEAT_FROM_SERIES: 0x5D
UPDATE_SERIES_SUBSCRIPTION: 0x5E
TOP_UP_SERIES_LAMPORTS: 0x5F
FLAG_SEAT_BELOW_FLOOR: 0x60
MAKE_SEAT_DORMANT: 0x61
CLOSE_SEAT: 0x62
ASSERT_BALANCES: 0x63
REPLACE_MAKER_QUOTES: 0x64
SET_MAKER_QUOTE_AUTHORITY: 0x65
INITIALIZE_MAKER_QUOTE_STATE: 0x66
CLOSE_MAKER_QUOTE_STATE: 0x67
FUND_MAKER_QUOTE_INVENTORY: 0x68
WITHDRAW_MAKER_QUOTE_INVENTORY: 0x69
RECLAIM_EXPIRED_ORDERS: 0x6A
CREATE_CONFIDENTIAL_MARKET: 0x6B
RECORD_CONFIDENTIAL_TERMINAL: 0x6C
CLAIM_OWNER_PAYOUT_ESCROW: 0x6D
UPDATE_SEAT_PARAMS: 0x6E
UPDATE_SEAT_PROGRAM: 0x6F
OPEN_CONFIDENTIAL_JOB: 0x70
APPEND_CONFIDENTIAL_JOB_PAGE: 0x71
SEAL_CONFIDENTIAL_JOB: 0x72
COMMIT_CONFIDENTIAL_JOB: 0x73
ABORT_CONFIDENTIAL_JOB: 0x74
TOP_UP_CONFIDENTIAL_WORK_BUDGET: 0x75
INCREASE_CONFIDENTIAL_CAP: 0x76
CLOSE_CONFIDENTIAL_MARKET: 0x77
FUND_CONFIDENTIAL_ESCROW: 0x78
PREPARE_CONFIDENTIAL_STEP: 0x79
REFUND_CONFIDENTIAL_OBJECT: 0x7A
CREATE_CONFIDENTIAL_CLAIMS: 0x7B
MATERIALIZE_CONFIDENTIAL_CLAIM: 0x7C
REFUND_CONFIDENTIAL_CLAIM: 0x7D
UPLOAD_CONFIDENTIAL_CAPSULE: 0x7E
RECLAIM_CONFIDENTIAL_CAPSULE_SLOT: 0x7F
ACTIVATE_CONFIDENTIAL_RFQ: 0x80
SETTLE_CONFIDENTIAL_CELL: 0x81
SETTLE_CONFIDENTIAL_PUBLIC_CELL: 0x82
CLAIM_CONFIDENTIAL_ROLE: 0x83
CLOSE_CONFIDENTIAL_CELL_BY_AGREEMENT: 0x84
NOVATE_CONFIDENTIAL_CELL: 0x85
ASSIGN_CONFIDENTIAL_CELL: 0x86
REASSIGN_CONFIDENTIAL_CLAIM: 0x87
REKEY_CONFIDENTIAL_CELL: 0x88
POST_CONFIDENTIAL_REMAINING_ORDER: 0x89
FILL_CONFIDENTIAL_ORDER: 0x8A
REFUND_CONFIDENTIAL_REMAINDER: 0x8B
SPLIT_CONFIDENTIAL_COUNTED_RUN: 0x8C
REPLACE_CONFIDENTIAL_CELL_DYADIC: 0x8D
SPLIT_CONFIDENTIAL_CELL: 0x8E
REKEY_CONFIDENTIAL_SPLIT_ROLE: 0x8F
MERGE_CONFIDENTIAL_CELLS: 0x90
CERTIFY_CONFIDENTIAL_CLOSURE: 0x91
RECLAIM_CONFIDENTIAL_STORAGE: 0x92
COMMIT_CONFIDENTIAL_ORDER: 0x93
CANCEL_CONFIDENTIAL_ORDER: 0x94
SEAL_CONFIDENTIAL_EPOCH_CUTOFF: 0x95
REVEAL_CONFIDENTIAL_ORDER: 0x96
ACTIVATE_CONFIDENTIAL_STANDING: 0x97
FINALIZE_CONFIDENTIAL_EPOCH: 0x98
SUBMIT_CONFIDENTIAL_CLEARING_PAGE: 0x99
VERIFY_CONFIDENTIAL_PLAN: 0x9A
EXECUTE_CONFIDENTIAL_BATCH_ATOMIC: 0x9B
COMPLETE_CONFIDENTIAL_BATCH: 0x9C
COMMIT_CONFIDENTIAL_STANDING: 0x9D
CANCEL_CONFIDENTIAL_STANDING: 0x9E
RELEASE_CONFIDENTIAL_STANDING: 0x9F
AMEND_CONFIDENTIAL_STANDING: 0xA0
LOCK_CONFIDENTIAL_SOURCE: 0xA1
NORMALIZE_CONFIDENTIAL_SOURCE: 0xA2
RELEASE_CONFIDENTIAL_SOURCE_LOCK: 0xA3
CREATE_SHIELDED_OUTCOME_MINTS: 0xA4
MINT_SHIELDED_PAIR: 0xA5
MERGE_SHIELDED_SET: 0xA6
REDEEM_SHIELDED_TERMINAL: 0xA7
BRIDGE_CONFIDENTIAL_CELL_TO_TOKENS: 0xA8
BRIDGE_TOKENS_TO_CONFIDENTIAL_CELL: 0xA9
OPEN_CONFIDENTIAL_ROUTE: 0xAA
REFUND_CONFIDENTIAL_ROUTE_LEG: 0xAB
ACTIVATE_CONFIDENTIAL_FINANCED_CELL: 0xAC
REPAY_CONFIDENTIAL_FINANCING: 0xAD
SETTLE_CONFIDENTIAL_FINANCED_ROLE: 0xAE
EXCHANGE_CONFIDENTIAL_CELL_PART_FOR_TOKENS: 0xAF
EXCHANGE_TOKENS_FOR_CONFIDENTIAL_CELL_PART: 0xB0
ADMIT_CONTINUOUS_ACTION: 0xB1
PROCESS_CONTINUOUS_ACTION: 0xB2
FILL_CONTINUOUS_STEP: 0xB3
TRIGGER_CONTINUOUS_RECOVERY_BARRIER: 0xB4
PUBLISH_SPLINE_OFFER: 0xB5
FILL_SPLINE_OFFER: 0xB6
EXPIRE_SPLINE_OFFER: 0xB7
GRANT_SPLINE_DELEGATE: 0xB8
REVOKE_SPLINE_DELEGATE: 0xB9
VERIFY_CONTINUOUS_TREE_PARITY: 0xBA
REBUILD_CONTINUOUS_TREE: 0xBB
DEPOSIT_CONFIDENTIAL_RESERVE_POOL: 0xBC
WITHDRAW_CONFIDENTIAL_RESERVE_POOL: 0xBD
REFRESH_RESERVE_POOL_OFFER: 0xBE
Internal LOG is 0xFF; it is authenticated recorder plumbing, not a user instruction.
PDA Seeds#
See PDA derivation for complete seed tuples, integer encoding, and bump checks.
Compute Budget#
The protocol table includes source-defined heap requests and CU ceilings. These bounds are not measured execution estimates or evidence of staging capacity. Simulate the actual transaction and consult the relevant release evidence.
Network Constants#
Read the selected deployment configuration for the program address, settlement mint, RPC endpoint, and authorities. A compile-time default does not prove a deployment uses it.