Binary recorder wire format#
<!-- Generated by scripts/generate_docs_event_wire.mjs from program/src/events/schema.rs and recorder.rs. -->This is the language-neutral byte layout of authenticated Seesaw LOG inner instructions. It is distinct from text log messages, REST responses, and the SDK’s coarse projection event kinds. An assigned legacy layout does not imply a live instruction still emits it.
Recorder version: 5. Header after the instruction discriminator: 95 bytes. Maximum payload after that discriminator: 900 bytes; maximum complete instruction data: 901 bytes.
All multibyte integers are little-endian. i64 uses signed two’s complement. Public keys are raw 32-byte addresses, not base58 text. bytes32 is an uninterpreted 32-byte value. Fields are packed in the order listed with no alignment padding.
Authenticate before decoding#
Require a successful transaction and the expected Seesaw program ID for the inner instruction. The recorder uses the self-program account and its log authority PDA; arbitrary text containing an event name is not evidence. Use the SDK decoder and validation contract in stream consumer recipes. Preserve commitment, slot, signature, instruction index, batch index, and event index for deduplication and rollback handling.
Batch header#
Offsets in this table start at byte zero of the complete inner instruction data.
| Offset | Bytes | Source field |
|---|---|---|
| 0 | 1 | discriminator::LOG |
| 1 | 1 | RECORDER_VERSION |
| 2 | 1 | instruction_kind |
| 3 | 1 | LOG_AUTHORITY_KIND |
| 4 | 2 | batch_index |
| 6 | 8 | event_sequence |
| 14 | 8 | slot |
| 22 | 8 | unix_timestamp |
| 30 | 32 | subject_addr |
| 62 | 32 | signer |
| 94 | 2 | event_count |
The discriminator is 0xFF; LOG_AUTHORITY_KIND is 2. Event bodies start at byte 96. Read the one-byte tag, select the versioned layout, and advance by its total bytes. Decode exactly event_count events and reject truncation or unexplained trailing bytes. An unknown tag cannot be skipped safely using a guessed length.
Sequence domains#
event_sequence is interpreted in the emitting kind's domain. Kind 13 (UPDATE_MARKET_CAP) is market-local and does not carry the market's event counter: SupplyCapUpdated (tag 81) records old_capacity and new_capacity for one market only, and there is no protocol-wide capacity subject. Multiple successful cap updates therefore share a sequence value. It does not consume a MarketAccount.event_sequence, so it does not advance a market replay cursor. Use the authenticated transaction, instruction, batch, and event identity for deduplication; (subject, event_sequence) is not unique for this event.
Kind 49 (MERGE_COMPLETE_SET) does use the market counter. Its merge and economic-delta batches each advance that counter and must both be ingested.
The source-market sequence advances when the market opens, halts, updates its close time, accepts a resolution observation, finalizes, expires, or closes. Witness and policy updates use their own account revisions.
Use the recorder version to select the header-kind and body-tag tables when replaying historical version-2 transactions.
Header kinds#
The instruction_kind header byte is a separate namespace from body tags. program/src/events.rs assigns 171 kinds, one for every value from 0 to 170; no kind is reserved, and any value above 170 is unknown. A header kind and a body tag with the same number are unrelated.
| Kind | event_kind constant |
|---|---|
| 0 | PLACE_ORDER |
| 1 | CANCEL_ORDER |
| 2 | FORCE_CANCEL_ORDER |
| 3 | RECLAIM_EXPIRED_ORDER |
| 4 | MINT_SHARES |
| 5 | WITHDRAW_SHARES |
| 6 | REDEEM |
| 7 | SNAPSHOT |
| 8 | RESOLVE |
| 9 | EXPIRE_MARKET |
| 10 | FORCE_CLOSE |
| 11 | CLOSE_MARKET |
| 12 | CLOSE_POSITION |
| 13 | UPDATE_MARKET_CAP |
| 14 | CREATE_MARKET |
| 15 | CLAIM_CREATOR_FEES |
| 16 | INITIALIZE_CONFIG |
| 17 | PAUSE |
| 18 | UNPAUSE |
| 19 | UPDATE_TICK_SIZE |
| 20 | UPDATE_MIN_RESTING_NOTIONAL |
| 21 | UPDATE_FEE_CONFIG |
| 22 | SET_REFERRER |
| 23 | UPDATE_AUTHORITY |
| 24 | CLAIM_AUTHORITY |
| 25 | ENABLE_POST_ONLY_MODE |
| 26 | DISABLE_POST_ONLY_MODE |
| 27 | SET_MARKET_EMERGENCY_STATUS |
| 28 | MARK_POSITION_SETTLED |
| 29 | UPDATE_TREASURY_RECIPIENTS |
| 30 | DEPOSIT_FUNDS |
| 31 | WITHDRAW_FUNDS |
| 32 | REDUCE_ORDER |
| 33 | TRADER_LEDGER_RESIZED |
| 34 | UPDATE_OPERATIONAL_PARAMS |
| 35 | SET_PAUSER |
| 36 | TOP_UP_CLOSER_REWARDS |
| 37 | SEAT_ATTACHED |
| 38 | SEAT_SETTLED |
| 39 | SERIES_TEMPLATE_UPDATED |
| 40 | SPLINE_SERIES_INITIALIZED |
| 41 | SERIES_VAULT_DEPOSITED |
| 42 | SERIES_VAULT_WITHDRAWN |
| 43 | SPLINE_SERIES_CLOSED |
| 44 | RECLAIM_EXTERNAL_MARKET_PREALLOCATION |
| 45 | EXPIRE_EXTERNAL_MARKET |
| 46 | RECOVER_SEAT |
| 47 | BEGIN_SOURCE_MARKET |
| 48 | OPEN_SOURCE_MARKET |
| 49 | MERGE_COMPLETE_SET |
| 50 | EVACUATE_IDLE_SEAT |
| 51 | FINALIZE_SOURCE_MARKET |
| 52 | CLOSE_SOURCE_ACCOUNTS |
| 53 | INITIALIZE_SOURCE_CONTROL |
| 54 | SET_SOURCE_PROFILE_POLICY |
| 55 | RESOLVE_SOURCE_MARKET |
| 56 | HALT_SOURCE_MARKET |
| 57 | UPDATE_SOURCE_CLOSE |
| 58 | INITIALIZE_WITNESS_REGISTRY |
| 59 | APPROVE_BUILDER |
| 60 | REVOKE_BUILDER |
| 61 | SET_CURRENCY_FREEZE_EXCEPTION |
| 62 | REGISTER_CURRENCY |
| 63 | INITIALIZE_CURRENCY_REFERRAL_TREASURY |
| 64 | INITIALIZE_CURRENCY_REFERRER_EARNINGS |
| 65 | CLAIM_CURRENCY_REFERRER_EARNINGS |
| 66 | ROLLUP_CURRENCY_REFERRAL_FEES |
| 67 | REVOKE_WITNESS_SLOT |
| 68 | SET_WITNESS_MEASUREMENT |
| 69 | REGISTER_ATTESTED_WITNESS |
| 70 | INITIALIZE_CURRENCY_PROTOCOL_TREASURY |
| 71 | WITHDRAW_CURRENCY_PROTOCOL_TREASURY |
| 72 | CONFIGURE_STRATEGY |
| 73 | STOP_STRATEGY |
| 74 | RESUME_STRATEGY |
| 75 | CLOSE_STRATEGY |
| 76 | RESET_STRATEGY_CAPITAL |
| 77 | FLAG_SEAT_BELOW_FLOOR |
| 78 | MAKE_SEAT_DORMANT |
| 79 | TOP_UP_SEAT_COMMITMENT |
| 80 | TOP_UP_SERIES_LAMPORTS |
| 81 | UPDATE_SEAT_TABLES |
| 82 | UPDATE_SERIES_SUBSCRIPTION |
| 83 | CLOSE_SEAT |
| 84 | SET_MAKER_QUOTE_AUTHORITY |
| 85 | INITIALIZE_MAKER_QUOTE_STATE |
| 86 | CLOSE_MAKER_QUOTE_STATE |
| 87 | FUND_MAKER_QUOTE_INVENTORY |
| 88 | WITHDRAW_MAKER_QUOTE_INVENTORY |
| 89 | CREATE_CONFIDENTIAL_MARKET |
| 90 | RECORD_CONFIDENTIAL_TERMINAL |
| 91 | CLAIM_OWNER_PAYOUT_ESCROW |
| 92 | UPDATE_SEAT_PROGRAM |
| 93 | APPEND_CONFIDENTIAL_JOB_PAGE |
| 94 | SEAL_CONFIDENTIAL_JOB |
| 95 | COMMIT_CONFIDENTIAL_JOB |
| 96 | ABORT_CONFIDENTIAL_JOB |
| 97 | TOP_UP_CONFIDENTIAL_WORK_BUDGET |
| 98 | INCREASE_CONFIDENTIAL_CAP |
| 99 | CLOSE_CONFIDENTIAL_MARKET |
| 100 | FUND_CONFIDENTIAL_ESCROW |
| 101 | PREPARE_CONFIDENTIAL_STEP |
| 102 | REFUND_CONFIDENTIAL_OBJECT |
| 103 | CREATE_CONFIDENTIAL_CLAIMS |
| 104 | MATERIALIZE_CONFIDENTIAL_CLAIM |
| 105 | REFUND_CONFIDENTIAL_CLAIM |
| 106 | UPLOAD_CONFIDENTIAL_CAPSULE |
| 107 | RECLAIM_CONFIDENTIAL_CAPSULE_SLOT |
| 108 | ACTIVATE_CONFIDENTIAL_RFQ |
| 109 | SETTLE_CONFIDENTIAL_CELL |
| 110 | SETTLE_CONFIDENTIAL_PUBLIC_CELL |
| 111 | CLAIM_CONFIDENTIAL_ROLE |
| 112 | CLOSE_CONFIDENTIAL_CELL_BY_AGREEMENT |
| 113 | NOVATE_CONFIDENTIAL_CELL |
| 114 | ASSIGN_CONFIDENTIAL_CELL |
| 115 | REASSIGN_CONFIDENTIAL_CLAIM |
| 116 | REKEY_CONFIDENTIAL_CELL |
| 117 | POST_CONFIDENTIAL_REMAINING_ORDER |
| 118 | FILL_CONFIDENTIAL_ORDER |
| 119 | REFUND_CONFIDENTIAL_REMAINDER |
| 120 | SPLIT_CONFIDENTIAL_COUNTED_RUN |
| 121 | REPLACE_CONFIDENTIAL_CELL_DYADIC |
| 122 | SPLIT_CONFIDENTIAL_CELL |
| 123 | REKEY_CONFIDENTIAL_SPLIT_ROLE |
| 124 | MERGE_CONFIDENTIAL_CELLS |
| 125 | CERTIFY_CONFIDENTIAL_CLOSURE |
| 126 | RECLAIM_CONFIDENTIAL_STORAGE |
| 127 | COMMIT_CONFIDENTIAL_ORDER |
| 128 | CANCEL_CONFIDENTIAL_ORDER |
| 129 | SEAL_CONFIDENTIAL_EPOCH_CUTOFF |
| 130 | REVEAL_CONFIDENTIAL_ORDER |
| 131 | ACTIVATE_CONFIDENTIAL_STANDING |
| 132 | FINALIZE_CONFIDENTIAL_EPOCH |
| 133 | SUBMIT_CONFIDENTIAL_CLEARING_PAGE |
| 134 | VERIFY_CONFIDENTIAL_PLAN |
| 135 | EXECUTE_CONFIDENTIAL_BATCH_ATOMIC |
| 136 | COMPLETE_CONFIDENTIAL_BATCH |
| 137 | COMMIT_CONFIDENTIAL_STANDING |
| 138 | CANCEL_CONFIDENTIAL_STANDING |
| 139 | RELEASE_CONFIDENTIAL_STANDING |
| 140 | AMEND_CONFIDENTIAL_STANDING |
| 141 | LOCK_CONFIDENTIAL_SOURCE |
| 142 | NORMALIZE_CONFIDENTIAL_SOURCE |
| 143 | RELEASE_CONFIDENTIAL_SOURCE_LOCK |
| 144 | CREATE_SHIELDED_OUTCOME_MINTS |
| 145 | MINT_SHIELDED_PAIR |
| 146 | MERGE_SHIELDED_SET |
| 147 | REDEEM_SHIELDED_TERMINAL |
| 148 | BRIDGE_CONFIDENTIAL_CELL_TO_TOKENS |
| 149 | BRIDGE_TOKENS_TO_CONFIDENTIAL_CELL |
| 150 | OPEN_CONFIDENTIAL_ROUTE |
| 151 | REFUND_CONFIDENTIAL_ROUTE_LEG |
| 152 | ACTIVATE_CONFIDENTIAL_FINANCED_CELL |
| 153 | REPAY_CONFIDENTIAL_FINANCING |
| 154 | SETTLE_CONFIDENTIAL_FINANCED_ROLE |
| 155 | EXCHANGE_CONFIDENTIAL_CELL_PART_FOR_TOKENS |
| 156 | EXCHANGE_TOKENS_FOR_CONFIDENTIAL_CELL_PART |
| 157 | ADMIT_CONTINUOUS_ACTION |
| 158 | PROCESS_CONTINUOUS_ACTION |
| 159 | FILL_CONTINUOUS_STEP |
| 160 | TRIGGER_CONTINUOUS_RECOVERY_BARRIER |
| 161 | PUBLISH_SPLINE_OFFER |
| 162 | FILL_SPLINE_OFFER |
| 163 | EXPIRE_SPLINE_OFFER |
| 164 | GRANT_SPLINE_DELEGATE |
| 165 | REVOKE_SPLINE_DELEGATE |
| 166 | VERIFY_CONTINUOUS_TREE_PARITY |
| 167 | REBUILD_CONTINUOUS_TREE |
| 168 | DEPOSIT_CONFIDENTIAL_RESERVE_POOL |
| 169 | WITHDRAW_CONFIDENTIAL_RESERVE_POOL |
| 170 | REFRESH_RESERVE_POOL_OFFER |
Fixed arrays#
recipients: 8 consecutive public keys.numerators: 8 consecutive little-endianu16payout numerators.
Arrays occupy their full fixed width even when an accompanying active-count field is smaller.
Event inventory#
The schema defines 202 assigned layouts, one for every tag from 1 to 202. No tag is reserved; tag 0 and every tag above 202 are unknown. All offsets below are relative to the beginning of that event, including its tag at offset zero.
Field layouts#
OrderFilled#
Tag 1 (ORDER_FILLED), 160 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | side | u8 |
| 2 | 2 | price_bps | u16 |
| 4 | 8 | quantity | u64 |
| 12 | 8 | taker_fees | u64 |
| 20 | 8 | fee_protocol | u64 |
| 28 | 8 | fee_creator | u64 |
| 36 | 8 | fee_referral | u64 |
| 44 | 32 | referrer_earnings | pubkey |
| 76 | 1 | protocol_treasury_index | u8 |
| 77 | 1 | effective_protocol_treasury_index | u8 |
| 78 | 8 | supply_delta_yes | i64 |
| 86 | 8 | supply_delta_no | i64 |
| 94 | 8 | creator_fees_accumulated_after | u64 |
| 102 | 8 | referral_fees_accumulated_after | u64 |
| 110 | 8 | fee_maker | u64 |
| 118 | 32 | builder | pubkey |
| 150 | 8 | fee_builder | u64 |
| 158 | 2 | builder_bps_effective | u16 |
OrderFilledMaker#
Tag 2 (ORDER_FILLED_MAKER), 59 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | maker | pubkey |
| 33 | 8 | maker_order_id | u64 |
| 41 | 2 | price_bps | u16 |
| 43 | 8 | quantity | u64 |
| 51 | 8 | collateral | u64 |
OrderPlaced#
Tag 3 (ORDER_PLACED), 52 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | side | u8 |
| 2 | 2 | price_bps | u16 |
| 4 | 8 | quantity | u64 |
| 12 | 8 | order_id | u64 |
| 20 | 16 | client_order_id | bytes16 |
| 36 | 8 | supply_delta_yes | i64 |
| 44 | 8 | supply_delta_no | i64 |
OrderEvicted#
Tag 4 (ORDER_EVICTED), 52 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | maker | pubkey |
| 33 | 8 | order_id | u64 |
| 41 | 2 | price_bps | u16 |
| 43 | 8 | quantity | u64 |
| 51 | 1 | original_side | u8 |
SharesMinted#
Tag 5 (SHARES_MINTED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | user | pubkey |
| 33 | 8 | amount | u64 |
| 41 | 8 | vault_after | u64 |
SharesRedeemed#
Tag 6 (SHARES_REDEEMED), 65 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | user | pubkey |
| 33 | 8 | amount | u64 |
| 41 | 8 | payout | u64 |
| 49 | 8 | supply_debit | u64 |
| 57 | 8 | vault_after | u64 |
MarketResolved#
Tag 7 (MARKET_RESOLVED), 2 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | outcome | u8 |
MarketExpired#
Tag 8 (MARKET_EXPIRED), 1 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
ForceClosed#
Tag 9 (FORCE_CLOSED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | user | pubkey |
| 33 | 8 | refund | u64 |
| 41 | 8 | vault_after | u64 |
CreatorFeesDeferred#
Tag 10 (CREATOR_FEES_DEFERRED), 9 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 8 | amount | u64 |
CreatorFeesClaimed#
Tag 11 (CREATOR_FEES_CLAIMED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 8 | amount | u64 |
| 9 | 32 | destination | pubkey |
| 41 | 8 | accumulated_after | u64 |
OrderCancelled#
Tag 12 (ORDER_CANCELLED), 50 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | user | pubkey |
| 33 | 8 | order_id | u64 |
| 41 | 8 | collateral_returned | u64 |
| 49 | 1 | side | u8 |
OrderForceCancelled#
Tag 13 (ORDER_FORCE_CANCELLED), 82 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | maker | pubkey |
| 33 | 32 | admin | pubkey |
| 65 | 8 | order_id | u64 |
| 73 | 8 | collateral_returned | u64 |
| 81 | 1 | side | u8 |
OrderReclaimed#
Tag 14 (ORDER_RECLAIMED), 90 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | maker | pubkey |
| 33 | 32 | caller | pubkey |
| 65 | 8 | order_id | u64 |
| 73 | 8 | collateral_returned | u64 |
| 81 | 1 | side | u8 |
| 82 | 8 | bounty_paid | u64 |
SnapshotCaptured#
Tag 15 (SNAPSHOT_CAPTURED), 9 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 8 | price | i64 |
SharesWithdrawn#
Tag 16 (SHARES_WITHDRAWN), 42 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | user | pubkey |
| 33 | 8 | amount | u64 |
| 41 | 1 | token_type | u8 |
MarketCreated#
Tag 17 (MARKET_CREATED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 8 | duration | u64 |
| 9 | 8 | market_id | u64 |
| 17 | 32 | feed_id | bytes32 |
MarketClosed#
Tag 18 (MARKET_CLOSED), 9 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 8 | rent_recovered | u64 |
ConfigInitialized#
Tag 19 (CONFIG_INITIALIZED), 291 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | authority | pubkey |
| 33 | 256 | recipients | recipients |
| 289 | 2 | tick_size_bps | u16 |
ProtocolPaused#
Tag 20 (PROTOCOL_PAUSED), 33 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | authority | pubkey |
ProtocolUnpaused#
Tag 21 (PROTOCOL_UNPAUSED), 33 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | authority | pubkey |
TickSizeUpdated#
Tag 22 (TICK_SIZE_UPDATED), 3 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 2 | tick_size_bps | u16 |
MinRestingNotionalUpdated#
Tag 23 (MIN_RESTING_NOTIONAL_UPDATED), 9 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 8 | min_resting_notional | u64 |
FeeConfigUpdated#
Tag 24 (FEE_CONFIG_UPDATED), 19 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 2 | taker_fee_coefficient_bps | u16 |
| 3 | 2 | reserved | u16 |
| 5 | 2 | protocol_share_bps | u16 |
| 7 | 2 | creator_share_bps | u16 |
| 9 | 2 | referral_share_bps | u16 |
| 11 | 2 | builder_share_bps | u16 |
| 13 | 2 | maker_rebate_share_bps | u16 |
| 15 | 4 | maker_rebate_min_rest_seconds | u32 |
ReferrerSet#
Tag 25 (REFERRER_SET), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | referee | pubkey |
| 33 | 32 | referrer | pubkey |
| 65 | 8 | expires_at | i64 |
ReferralAccrued#
Tag 26 (REFERRAL_ACCRUED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | referee | pubkey |
| 33 | 32 | referrer | pubkey |
| 65 | 8 | amount | u64 |
ReferralForfeited#
Tag 27 (REFERRAL_FORFEITED), 42 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | referee | pubkey |
| 33 | 8 | amount | u64 |
| 41 | 1 | reason | u8 |
AuthoritySuccessorNamed#
Tag 28 (AUTHORITY_SUCCESSOR_NAMED), 65 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | current | pubkey |
| 33 | 32 | new | pubkey |
AuthorityClaimed#
Tag 29 (AUTHORITY_CLAIMED), 65 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | prior | pubkey |
| 33 | 32 | new | pubkey |
PostOnlyModeEnabled#
Tag 30 (POST_ONLY_MODE_ENABLED), 34 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | authority | pubkey |
| 33 | 1 | previous_mode | u8 |
PostOnlyModeDisabled#
Tag 31 (POST_ONLY_MODE_DISABLED), 34 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | authority | pubkey |
| 33 | 1 | previous_mode | u8 |
MarketEmergencyStatusChanged#
Tag 32 (MARKET_EMERGENCY_STATUS_CHANGED), 67 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | previous_status | u8 |
| 2 | 1 | new_status | u8 |
| 3 | 32 | authority | pubkey |
| 35 | 32 | reason | pubkey |
PositionClosed#
Tag 33 (POSITION_CLOSED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | owner | pubkey |
| 65 | 8 | rent_recovered | u64 |
TreasuryRecipientsUpdated#
Tag 34 (TREASURY_RECIPIENTS_UPDATED), 297 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | authority | pubkey |
| 33 | 256 | recipients | recipients |
| 289 | 8 | timestamp | i64 |
FundsDeposited#
Tag 35 (FUNDS_DEPOSITED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | user | pubkey |
| 33 | 8 | amount | u64 |
| 41 | 8 | quote_free_after | u64 |
FundsWithdrawn#
Tag 36 (FUNDS_WITHDRAWN), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | user | pubkey |
| 33 | 8 | amount | u64 |
| 41 | 8 | quote_free_after | u64 |
MakerFillApplied#
Tag 37 (MAKER_FILL_APPLIED), 113 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | maker | pubkey |
| 33 | 32 | taker | pubkey |
| 65 | 16 | yes_delta | i128 |
| 81 | 16 | no_delta | i128 |
| 97 | 16 | quote_delta | i128 |
OrderReduced#
Tag 38 (ORDER_REDUCED), 60 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | user | pubkey |
| 33 | 8 | order_id | u64 |
| 41 | 1 | side | u8 |
| 42 | 2 | price_bps | u16 |
| 44 | 8 | removed_quantity | u64 |
| 52 | 8 | remaining_quantity | u64 |
MarkPositionSettled#
Tag 39 (MARK_POSITION_SETTLED), 42 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | owner | pubkey |
| 33 | 8 | amount | u64 |
| 41 | 1 | settled | u8 |
TraderLedgerResized#
Tag 40 (TRADER_LEDGER_RESIZED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | new_size | u64 |
| 41 | 8 | old_size | u64 |
ForceCloseOrderRemoved#
Tag 41 (FORCE_CLOSE_ORDER_REMOVED), 41 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | user | pubkey |
| 33 | 8 | order_id | u64 |
ForceCloseProgress#
Tag 42 (FORCE_CLOSE_PROGRESS), 78 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | user | pubkey |
| 33 | 8 | refund | u64 |
| 41 | 2 | processed | u16 |
| 43 | 1 | has_more | u8 |
| 44 | 8 | collateral_deposited | u64 |
| 52 | 8 | collateral_locked | u64 |
| 60 | 8 | locked_yes | u64 |
| 68 | 8 | locked_no | u64 |
| 76 | 2 | order_count | u16 |
UpdateOperationalParams#
Tag 43 (UPDATE_OPERATIONAL_PARAMS), 124 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 8 | closer_cap_oracle_lamports | u64 |
| 9 | 8 | closer_cap_plain_lamports | u64 |
| 17 | 4 | closer_ramp_oracle_seconds | u32 |
| 21 | 4 | closer_ramp_plain_seconds | u32 |
| 25 | 8 | max_price_staleness_seconds | u64 |
| 33 | 8 | market_expiration_window_seconds | u64 |
| 41 | 8 | min_market_duration_seconds | u64 |
| 49 | 8 | max_market_duration_seconds | u64 |
| 57 | 8 | max_order_size | u64 |
| 65 | 8 | timestamp | i64 |
| 73 | 1 | spline_flags | u8 |
| 74 | 8 | spline_min_commitment | u64 |
| 82 | 2 | spline_mid_jump_reset_bps | u16 |
| 84 | 8 | seat_min_band_depth | u64 |
| 92 | 8 | seat_settle_bounty_lamports | u64 |
| 100 | 4 | seat_floor_sample_seconds | u32 |
| 104 | 4 | seat_floor_window_seconds | u32 |
| 108 | 4 | seat_attach_max_age_ceiling_seconds | u32 |
| 112 | 2 | seat_band_bps | u16 |
| 114 | 2 | seat_floor_max_misses | u16 |
| 116 | 2 | max_active_seats_per_market | u16 |
| 118 | 2 | seat_crank_min_spacing_bps | u16 |
| 120 | 2 | quote_pyth_max_age_seconds | u16 |
| 122 | 2 | quote_pyth_max_confidence_bps | u16 |
PauserUpdated#
Tag 44 (PAUSER_UPDATED), 97 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | authority | pubkey |
| 33 | 32 | previous_pauser | pubkey |
| 65 | 32 | new_pauser | pubkey |
ReferralFeeDeferred#
Tag 45 (REFERRAL_FEE_DEFERRED), 57 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | referrer | pubkey |
| 33 | 8 | amount | u64 |
| 41 | 8 | position_pending | u64 |
| 49 | 8 | market_pending | u64 |
ReferralRollupCompleted#
Tag 46 (REFERRAL_ROLLUP_COMPLETED), 58 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | referrer | pubkey |
| 33 | 8 | amount | u64 |
| 41 | 1 | position_count | u8 |
| 42 | 8 | earnings_accumulated | u64 |
| 50 | 8 | market_pending | u64 |
ReferralPendingForfeited#
Tag 47 (REFERRAL_PENDING_FORFEITED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | referrer | pubkey |
| 33 | 8 | amount | u64 |
| 41 | 8 | remaining_market_pending | u64 |
CloserRewardsToppedUp#
Tag 48 (CLOSER_REWARDS_TOPPED_UP), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | funder | pubkey |
| 33 | 8 | lamports | u64 |
| 41 | 8 | budget_after | u64 |
SelfTradePrevented#
Tag 49 (SELF_TRADE_PREVENTED), 59 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | owner | pubkey |
| 33 | 8 | order_id | u64 |
| 41 | 1 | side | u8 |
| 42 | 1 | action | u8 |
| 43 | 8 | released_or_decremented_quantity | u64 |
| 51 | 8 | remaining_quantity | u64 |
MakerRebateCredited#
Tag 50 (MAKER_REBATE_CREDITED), 95 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | subject_kind | u8 |
| 2 | 32 | subject | pubkey |
| 34 | 32 | maker | pubkey |
| 66 | 8 | maker_order_id | u64 |
| 74 | 8 | fill_taker_fee | u64 |
| 82 | 8 | rebate | u64 |
| 90 | 4 | resting_age_seconds | u32 |
| 94 | 1 | eligible | u8 |
SplineFill#
Tag 51 (SPLINE_FILL), 149 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | seat | pubkey |
| 33 | 32 | maker | pubkey |
| 65 | 32 | taker | pubkey |
| 97 | 1 | taker_side | u8 |
| 98 | 1 | taker_lane | u8 |
| 99 | 2 | price_bps | u16 |
| 101 | 8 | lots | u64 |
| 109 | 8 | collateral_spent | u64 |
| 117 | 8 | pair_minted | u64 |
| 125 | 8 | rebate | u64 |
| 133 | 8 | spline_supply_delta_yes | i64 |
| 141 | 8 | spline_supply_delta_no | i64 |
SeatAttached#
Tag 52 (SEAT_ATTACHED), 154 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | seat | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | series | pubkey |
| 97 | 32 | maker | pubkey |
| 129 | 8 | commit_amount | u64 |
| 137 | 8 | attached_at | i64 |
| 145 | 1 | funded_by_crank | u8 |
| 146 | 8 | reward_lamports | u64 |
SeatSettled#
Tag 53 (SEAT_SETTLED), 105 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | seat | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 8 | payout | u64 |
| 73 | 8 | returned_collateral | u64 |
| 81 | 8 | yes_supply_dec | u64 |
| 89 | 8 | no_supply_dec | u64 |
| 97 | 8 | bounty_lamports | u64 |
SeatShapeUpdated#
Tag 54 (SEAT_SHAPE_UPDATED), 51 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | seat | pubkey |
| 33 | 1 | bid_region_count | u8 |
| 34 | 1 | ask_region_count | u8 |
| 35 | 8 | exposure | u64 |
| 43 | 8 | program_generation | u64 |
SplineSeriesInitialized#
Tag 55 (SPLINE_SERIES_INITIALIZED), 97 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | series | pubkey |
| 33 | 32 | maker | pubkey |
| 65 | 32 | vault | pubkey |
SeriesVaultDeposited#
Tag 56 (SERIES_VAULT_DEPOSITED), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | series | pubkey |
| 33 | 32 | maker | pubkey |
| 65 | 8 | amount | u64 |
| 73 | 8 | vault_balance_after | u64 |
SeriesVaultWithdrawn#
Tag 57 (SERIES_VAULT_WITHDRAWN), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | series | pubkey |
| 33 | 32 | maker | pubkey |
| 65 | 8 | amount | u64 |
| 73 | 8 | vault_balance_after | u64 |
SeatClosed#
Tag 58 (SEAT_CLOSED), 105 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | seat | pubkey |
| 33 | 32 | maker | pubkey |
| 65 | 32 | series | pubkey |
| 97 | 8 | lamports_returned | u64 |
ExternalMarketOpened#
Tag 59 (EXTERNAL_MARKET_OPENED), 86 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | resolver | pubkey |
| 33 | 1 | market_kind | u8 |
| 34 | 1 | leg_count | u8 |
| 35 | 32 | external_ref_hash | bytes32 |
| 67 | 8 | close_ts | i64 |
| 75 | 1 | platform_id | u8 |
| 76 | 2 | template_version | u16 |
| 78 | 8 | max_total_shares | u64 |
ExternalMarketPreallocationBegun#
Tag 60 (EXTERNAL_MARKET_PREALLOCATION_BEGUN), 179 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | receipt | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | resolver | pubkey |
| 97 | 32 | creator | pubkey |
| 129 | 32 | external_ref_hash | bytes32 |
| 161 | 1 | market_kind | u8 |
| 162 | 1 | leg_count | u8 |
| 163 | 8 | permissionless_reclaim_at | i64 |
| 171 | 8 | max_total_shares | u64 |
ExternalMarketPreallocationConsumed#
Tag 61 (EXTERNAL_MARKET_PREALLOCATION_CONSUMED), 113 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | receipt | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | creator | pubkey |
| 97 | 8 | receipt_rent_returned | u64 |
| 105 | 8 | opened_at | i64 |
ExternalMarketPreallocationReclaimed#
Tag 62 (EXTERNAL_MARKET_PREALLOCATION_RECLAIMED), 161 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | receipt | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | creator | pubkey |
| 97 | 32 | caller | pubkey |
| 129 | 8 | orderbook_lamports | u64 |
| 137 | 8 | trader_ledger_lamports | u64 |
| 145 | 8 | receipt_lamports | u64 |
| 153 | 8 | reclaimed_at | i64 |
SeatRecovered#
Tag 63 (SEAT_RECOVERED), 97 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | seat | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 8 | returned_collateral | u64 |
| 73 | 8 | yes_inventory_materialized | u64 |
| 81 | 8 | no_inventory_materialized | u64 |
| 89 | 8 | generation | u64 |
OrderRemainderDiscarded#
Tag 64 (ORDER_REMAINDER_DISCARDED), 13 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | side | u8 |
| 2 | 2 | price_bps | u16 |
| 4 | 8 | quantity | u64 |
| 12 | 1 | reason | u8 |
EconomicDeltaApplied#
Tag 65 (ECONOMIC_DELTA_APPLIED), 89 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | quote_free | u64 |
| 41 | 8 | quote_locked | u64 |
| 49 | 8 | economic_yes | u64 |
| 57 | 8 | economic_no | u64 |
| 65 | 8 | accumulated_creator_fees | u64 |
| 73 | 8 | accumulated_referral_fees | u64 |
| 81 | 8 | seat_committed_collateral | u64 |
CompleteSetMerged#
Tag 66 (COMPLETE_SET_MERGED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | owner | pubkey |
| 65 | 8 | quantity | u64 |
NativeResolutionRecorded#
Tag 67 (NATIVE_RESOLUTION_RECORDED), 116 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | version | u8 |
| 2 | 1 | reason | u8 |
| 3 | 1 | outcome | u8 |
| 4 | 8 | start_price | i64 |
| 12 | 8 | start_conf | u64 |
| 20 | 4 | start_expo | i32 |
| 24 | 8 | end_price | i64 |
| 32 | 8 | end_conf | u64 |
| 40 | 4 | end_expo | i32 |
| 44 | 8 | start_timestamp | i64 |
| 52 | 8 | end_timestamp | i64 |
| 60 | 8 | payout_denominator | u64 |
| 68 | 8 | yes_weight | u64 |
| 76 | 8 | no_weight | u64 |
| 84 | 32 | policy_hash | bytes32 |
IdleSeatEvacuated#
Tag 68 (IDLE_SEAT_EVACUATED), 237 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | owner | pubkey |
| 65 | 32 | keeper | pubkey |
| 97 | 8 | nonce | u64 |
| 105 | 4 | slot_index | u32 |
| 109 | 8 | quote_amount | u64 |
| 117 | 8 | yes_amount | u64 |
| 125 | 8 | no_amount | u64 |
| 133 | 8 | terminal_payout | u64 |
| 141 | 32 | quote_destination | pubkey |
| 173 | 32 | yes_destination | pubkey |
| 205 | 32 | no_destination | pubkey |
SourceMarketPrepared#
Tag 69 (SOURCE_MARKET_PREPARED), 133 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | bytes32 |
| 33 | 32 | creator | bytes32 |
| 65 | 2 | profile_id | u16 |
| 67 | 32 | source_contract_key | bytes32 |
| 99 | 32 | definition_commitment | bytes32 |
| 131 | 2 | package_len | u16 |
SourceMarketOpened#
Tag 70 (SOURCE_MARKET_OPENED), 121 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | bytes32 |
| 33 | 32 | state | bytes32 |
| 65 | 8 | close_ts | i64 |
| 73 | 8 | timeout_ts | i64 |
| 81 | 8 | opened_at | i64 |
| 89 | 32 | result_digest | bytes32 |
SourceObservationAccepted#
Tag 71 (SOURCE_OBSERVATION_ACCEPTED), 180 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | bytes32 |
| 33 | 32 | state | bytes32 |
| 65 | 1 | operation | u8 |
| 66 | 1 | candidate | u8 |
| 67 | 1 | conflict | u8 |
| 68 | 32 | material_fact_hash | bytes32 |
| 100 | 32 | evidence_hash | bytes32 |
| 132 | 8 | first_accepted_at | i64 |
| 140 | 8 | latest_observed_at | i64 |
| 148 | 8 | review_ends_at | i64 |
| 156 | 8 | close_ts | i64 |
| 164 | 8 | timeout_ts | i64 |
| 172 | 8 | observation_count | u64 |
SourceConflictDetected#
Tag 72 (SOURCE_CONFLICT_DETECTED), 83 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | bytes32 |
| 33 | 32 | state | bytes32 |
| 65 | 1 | first_candidate | u8 |
| 66 | 1 | conflicting_candidate | u8 |
| 67 | 8 | review_ends_at | i64 |
| 75 | 8 | observation_count | u64 |
SourceMarketFinalized#
Tag 73 (SOURCE_MARKET_FINALIZED), 184 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | bytes32 |
| 33 | 32 | state | bytes32 |
| 65 | 1 | candidate | u8 |
| 66 | 1 | conflict | u8 |
| 67 | 1 | reason | u8 |
| 68 | 1 | payout_encoding | u8 |
| 69 | 1 | payout_partition | u8 |
| 70 | 1 | payout_origin | u8 |
| 71 | 1 | payout_source_result | u8 |
| 72 | 16 | yes | u128 |
| 88 | 16 | no | u128 |
| 104 | 16 | denominator | u128 |
| 120 | 32 | terminal_fact_hash | bytes32 |
| 152 | 8 | review_ends_at | i64 |
| 160 | 8 | terminal_at | i64 |
| 168 | 8 | observation_count | u64 |
| 176 | 8 | terminal_slot | u64 |
SourceMarketExpired#
Tag 74 (SOURCE_MARKET_EXPIRED), 200 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | bytes32 |
| 33 | 32 | state | bytes32 |
| 65 | 1 | candidate | u8 |
| 66 | 1 | conflict | u8 |
| 67 | 1 | reason | u8 |
| 68 | 1 | payout_encoding | u8 |
| 69 | 1 | payout_partition | u8 |
| 70 | 1 | payout_origin | u8 |
| 71 | 1 | payout_source_result | u8 |
| 72 | 16 | yes | u128 |
| 88 | 16 | no | u128 |
| 104 | 16 | denominator | u128 |
| 120 | 32 | terminal_fact_hash | bytes32 |
| 152 | 8 | review_ends_at | i64 |
| 160 | 8 | close_ts | i64 |
| 168 | 8 | timeout_ts | i64 |
| 176 | 8 | terminal_at | i64 |
| 184 | 8 | observation_count | u64 |
| 192 | 8 | terminal_slot | u64 |
SourceAccountsClosed#
Tag 75 (SOURCE_ACCOUNTS_CLOSED), 238 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | bytes32 |
| 33 | 32 | state | bytes32 |
| 65 | 32 | creator | bytes32 |
| 97 | 1 | reason | u8 |
| 98 | 1 | payout_encoding | u8 |
| 99 | 1 | payout_partition | u8 |
| 100 | 1 | payout_origin | u8 |
| 101 | 1 | payout_source_result | u8 |
| 102 | 16 | yes | u128 |
| 118 | 16 | no | u128 |
| 134 | 16 | denominator | u128 |
| 150 | 32 | terminal_fact_hash | bytes32 |
| 182 | 8 | closed_at | i64 |
| 190 | 8 | state_lamports | u64 |
| 198 | 8 | residual_amount | u64 |
| 206 | 32 | residual_recipient | bytes32 |
SourceProfilePolicyChanged#
Tag 76 (SOURCE_PROFILE_POLICY_CHANGED), 299 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | control | bytes32 |
| 33 | 2 | profile_id | u16 |
| 35 | 128 | before | bytes128 |
| 163 | 128 | after | bytes128 |
| 291 | 8 | control_epoch | u64 |
WitnessSlotSet#
Tag 77 (WITNESS_SLOT_SET), 88 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | slot | u8 |
| 2 | 4 | epoch | u32 |
| 6 | 32 | operator | bytes32 |
| 38 | 32 | key_digest | bytes32 |
| 70 | 2 | scheme_mask | u16 |
| 72 | 8 | valid_from | i64 |
| 80 | 8 | valid_until | i64 |
WitnessSlotRevoked#
Tag 78 (WITNESS_SLOT_REVOKED), 46 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | slot | u8 |
| 2 | 4 | epoch | u32 |
| 6 | 32 | key_digest | bytes32 |
| 38 | 8 | revoked_at | i64 |
WitnessMeasurementSet#
Tag 79 (WITNESS_MEASUREMENT_SET), 44 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | entry | u8 |
| 2 | 1 | attestation_kind | u8 |
| 3 | 32 | measurement_digest | bytes32 |
| 35 | 1 | status | u8 |
| 36 | 8 | effective_from | i64 |
AttestedWitnessRegistered#
Tag 80 (ATTESTED_WITNESS_REGISTERED), 118 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | slot | u8 |
| 2 | 4 | epoch | u32 |
| 6 | 32 | operator | bytes32 |
| 38 | 32 | key_digest | bytes32 |
| 70 | 32 | measurement_digest | bytes32 |
| 102 | 8 | attested_at_ms | u64 |
| 110 | 8 | registered_at | i64 |
SupplyCapUpdated#
Tag 81 (SUPPLY_CAP_UPDATED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | old_capacity | u64 |
| 41 | 8 | new_capacity | u64 |
SourceResultAccepted#
Tag 82 (SOURCE_RESULT_ACCEPTED), 181 + 85 × witness_count bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | bytes32 |
| 33 | 2 | profile_id | u16 |
| 35 | 32 | reporter | bytes32 |
| 67 | 8 | source_effective_time | i64 |
| 75 | 32 | checkpoint_digest | bytes32 |
| 107 | 32 | fact_digest | bytes32 |
| 139 | 1 | operation | u8 |
| 140 | 8 | state_revision | u64 |
| 148 | 32 | result_digest | bytes32 |
| 180 | 1 | witness_count | u8 |
The prefix is followed by two or three 85-byte witness records. Each record contains a slot (u8), epoch (u32), certificate digest (32 bytes), capture start (i64), capture end (i64), and evidence digest (32 bytes).
WitnessRegistryInitialized#
Tag 83 (WITNESS_REGISTRY_INITIALIZED), 102 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | registry | bytes32 |
| 33 | 32 | deployment_id | bytes32 |
| 65 | 32 | cluster_commitment | bytes32 |
| 97 | 4 | activation_delay_s | u32 |
| 101 | 1 | flags | u8 |
BuilderApproved#
Tag 84 (BUILDER_APPROVED), 84 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | trader | pubkey |
| 33 | 32 | builder | pubkey |
| 65 | 2 | max_builder_bps | u16 |
| 67 | 8 | expires_at | i64 |
| 75 | 8 | created_slot | u64 |
| 83 | 1 | updated | u8 |
BuilderApprovalRevoked#
Tag 85 (BUILDER_APPROVAL_REVOKED), 65 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | trader | pubkey |
| 33 | 32 | builder | pubkey |
CurrencyFreezeExceptionChanged#
Tag 86 (CURRENCY_FREEZE_EXCEPTION_CHANGED), 98 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | exception | pubkey |
| 33 | 32 | mint | pubkey |
| 65 | 32 | token_program | pubkey |
| 97 | 1 | action | u8 |
CurrencyRegistered#
Tag 87 (CURRENCY_REGISTERED), 102 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | record | pubkey |
| 33 | 32 | mint | pubkey |
| 65 | 32 | token_program | pubkey |
| 97 | 1 | decimals | u8 |
| 98 | 4 | extensions | u32 |
CurrencyReferralTreasuryInitialized#
Tag 88 (CURRENCY_REFERRAL_TREASURY_INITIALIZED), 162 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | currency_record | pubkey |
| 33 | 32 | mint | pubkey |
| 65 | 32 | token_program | pubkey |
| 97 | 32 | treasury | pubkey |
| 129 | 32 | payer | pubkey |
| 161 | 1 | treasury_index | u8 |
CurrencyReferrerEarningsInitialized#
Tag 89 (CURRENCY_REFERRER_EARNINGS_INITIALIZED), 130 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | currency_record | pubkey |
| 33 | 32 | referrer | pubkey |
| 65 | 32 | earnings | pubkey |
| 97 | 32 | treasury | pubkey |
| 129 | 1 | treasury_index | u8 |
CurrencyReferrerEarningsClaimed#
Tag 90 (CURRENCY_REFERRER_EARNINGS_CLAIMED), 138 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | currency_record | pubkey |
| 33 | 32 | referrer | pubkey |
| 65 | 32 | earnings | pubkey |
| 97 | 32 | treasury | pubkey |
| 129 | 8 | amount | u64 |
| 137 | 1 | treasury_index | u8 |
CurrencyProtocolTreasuryInitialized#
Tag 91 (CURRENCY_PROTOCOL_TREASURY_INITIALIZED), 162 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | currency_record | pubkey |
| 33 | 32 | mint | pubkey |
| 65 | 32 | token_program | pubkey |
| 97 | 32 | treasury | pubkey |
| 129 | 32 | payer | pubkey |
| 161 | 1 | treasury_index | u8 |
CurrencyProtocolTreasuryWithdrawn#
Tag 92 (CURRENCY_PROTOCOL_TREASURY_WITHDRAWN), 210 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | currency_record | pubkey |
| 33 | 32 | mint | pubkey |
| 65 | 32 | token_program | pubkey |
| 97 | 32 | treasury | pubkey |
| 129 | 32 | destination | pubkey |
| 161 | 32 | authority | pubkey |
| 193 | 8 | amount | u64 |
| 201 | 8 | remaining | u64 |
| 209 | 1 | treasury_index | u8 |
CancelSessionProgressed#
Tag 93 (CANCEL_SESSION_PROGRESSED), 68 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | owner | pubkey |
| 33 | 2 | strategy_id | u16 |
| 35 | 8 | session_nonce | u64 |
| 43 | 1 | op | u8 |
| 44 | 1 | filter_kind | u8 |
| 45 | 1 | lane | u8 |
| 46 | 1 | group_id | u8 |
| 47 | 2 | tick_limit | u16 |
| 49 | 8 | cutoff_sequence | u64 |
| 57 | 1 | examined | u8 |
| 58 | 1 | cancelled | u8 |
| 59 | 8 | next_order_id | u64 |
| 67 | 1 | complete | u8 |
StrategyConfigured#
Tag 94 (STRATEGY_CONFIGURED), 586 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | owner | pubkey |
| 33 | 2 | strategy_id | u16 |
| 35 | 32 | delegate | pubkey |
| 67 | 1 | status | u8 |
| 68 | 8 | created_slot | u64 |
| 76 | 8 | expires_at | i64 |
| 84 | 1 | allowed_actions | u8 |
| 85 | 256 | allowed_markets | bytes256 |
| 341 | 32 | allowed_mint_0 | pubkey |
| 373 | 32 | allowed_mint_1 | pubkey |
| 405 | 32 | allowed_mint_2 | pubkey |
| 437 | 32 | allowed_mint_3 | pubkey |
| 469 | 8 | max_order_quote_atoms | u64 |
| 477 | 8 | capital_budget_atoms | u64 |
| 485 | 8 | capital_used_atoms | u64 |
| 493 | 8 | capital_epoch | u64 |
| 501 | 8 | max_position_shares | u64 |
| 509 | 2 | max_fee_bps | u16 |
| 511 | 2 | max_slippage_bps | u16 |
| 513 | 4 | max_covered_order_ttl_seconds | u32 |
| 517 | 32 | withdraw_destination_0 | pubkey |
| 549 | 32 | withdraw_destination_1 | pubkey |
| 581 | 4 | config_generation | u32 |
| 585 | 1 | created | u8 |
StrategyStopped#
Tag 95 (STRATEGY_STOPPED), 197 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | owner | pubkey |
| 33 | 2 | strategy_id | u16 |
| 35 | 32 | authority | pubkey |
| 67 | 1 | by_delegate | u8 |
| 68 | 1 | market_count | u8 |
| 69 | 32 | market_0 | pubkey |
| 101 | 32 | market_1 | pubkey |
| 133 | 32 | market_2 | pubkey |
| 165 | 32 | market_3 | pubkey |
StrategyResumed#
Tag 96 (STRATEGY_RESUMED), 35 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | owner | pubkey |
| 33 | 2 | strategy_id | u16 |
StrategyClosed#
Tag 97 (STRATEGY_CLOSED), 51 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | owner | pubkey |
| 33 | 2 | strategy_id | u16 |
| 35 | 8 | lamports_returned | u64 |
| 43 | 8 | capital_used_atoms | u64 |
StrategyCapitalReset#
Tag 98 (STRATEGY_CAPITAL_RESET), 59 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | owner | pubkey |
| 33 | 2 | strategy_id | u16 |
| 35 | 8 | previous_capital_used_atoms | u64 |
| 43 | 8 | capital_used_atoms | u64 |
| 51 | 8 | capital_epoch | u64 |
OrderReclaimedWithReason#
Tag 99 (ORDER_RECLAIMED_WITH_REASON), 91 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | maker | pubkey |
| 33 | 32 | caller | pubkey |
| 65 | 8 | order_id | u64 |
| 73 | 8 | collateral_returned | u64 |
| 81 | 1 | side | u8 |
| 82 | 8 | bounty_paid | u64 |
| 90 | 1 | reason | u8 |
SeriesTemplateUpdated#
Tag 100 (SERIES_TEMPLATE_UPDATED), 43 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | series | pubkey |
| 33 | 1 | bid_region_count | u8 |
| 34 | 1 | ask_region_count | u8 |
| 35 | 8 | default_commitment | u64 |
SeriesSubscriptionUpdated#
Tag 101 (SERIES_SUBSCRIPTION_UPDATED), 52 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | series | pubkey |
| 33 | 1 | auto_attach_enabled | u8 |
| 34 | 8 | per_market_commitment | u64 |
| 42 | 2 | max_concurrent_seats | u16 |
| 44 | 8 | min_spacing_seconds | u64 |
SeriesLamportsToppedUp#
Tag 102 (SERIES_LAMPORTS_TOPPED_UP), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | series | pubkey |
| 33 | 32 | funder | pubkey |
| 65 | 8 | lamports | u64 |
| 73 | 8 | budget_after | u64 |
SplineSeriesClosed#
Tag 103 (SPLINE_SERIES_CLOSED), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | series | pubkey |
| 33 | 32 | maker | pubkey |
| 65 | 8 | tokens_returned | u64 |
| 73 | 8 | lamports_returned | u64 |
SeatCommitmentToppedUp#
Tag 104 (SEAT_COMMITMENT_TOPPED_UP), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | seat | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 8 | amount | u64 |
| 73 | 8 | committed_after | u64 |
SeatFlaggedBelowFloor#
Tag 105 (SEAT_FLAGGED_BELOW_FLOOR), 107 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | seat | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | flagger | pubkey |
| 97 | 8 | window_index | u64 |
| 105 | 2 | miss_count | u16 |
SeatMadeDormant#
Tag 106 (SEAT_MADE_DORMANT), 101 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | seat | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | caller | pubkey |
| 97 | 2 | miss_count | u16 |
| 99 | 2 | active_seat_count_after | u16 |
MakerQuoteAuthoritySet#
Tag 107 (MAKER_QUOTE_AUTHORITY_SET), 142 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | quote_state | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | owner | pubkey |
| 97 | 32 | authority | pubkey |
| 129 | 4 | authority_epoch | u32 |
| 133 | 8 | session_expiry_slot | u64 |
| 141 | 1 | orders_clamped | u8 |
MakerQuoteStateInitialized#
Tag 108 (MAKER_QUOTE_STATE_INITIALIZED), 129 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | quote_state | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | owner | pubkey |
| 97 | 4 | trading_generation | u32 |
| 101 | 8 | close_bounty | u64 |
| 109 | 8 | reclaim_bounty_per_order | u64 |
| 117 | 8 | reclaim_bounty_pool | u64 |
| 125 | 4 | state_count_after | u32 |
MakerQuoteStateClosed#
Tag 109 (MAKER_QUOTE_STATE_CLOSED), 149 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | quote_state | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | owner | pubkey |
| 97 | 32 | caller | pubkey |
| 129 | 8 | owner_lamports | u64 |
| 137 | 8 | caller_lamports | u64 |
| 145 | 4 | state_count_after | u32 |
MakerQuoteInventoryFunded#
Tag 110 (MAKER_QUOTE_INVENTORY_FUNDED), 131 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | quote_state | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | owner | pubkey |
| 97 | 1 | location | u8 |
| 98 | 1 | outcome | u8 |
| 99 | 8 | quantity | u64 |
| 107 | 8 | reserve_after | u64 |
| 115 | 8 | bounty_lamports | u64 |
| 123 | 8 | pool_after | u64 |
MakerQuoteInventoryWithdrawn#
Tag 111 (MAKER_QUOTE_INVENTORY_WITHDRAWN), 115 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | quote_state | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | owner | pubkey |
| 97 | 1 | location | u8 |
| 98 | 1 | outcome | u8 |
| 99 | 8 | quantity | u64 |
| 107 | 8 | reserve_after | u64 |
SourceMarketOpeningSnapshot#
Tag 112 (SOURCE_MARKET_OPENING_SNAPSHOT), 149 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 8 | market_id | u64 |
| 9 | 32 | settlement_mint | pubkey |
| 41 | 32 | external_ref_hash | bytes32 |
| 73 | 32 | yes_mint | pubkey |
| 105 | 32 | no_mint | pubkey |
| 137 | 2 | creator_fee_bps | u16 |
| 139 | 2 | protocol_fee_bps | u16 |
| 141 | 8 | max_total_shares | u64 |
ConfidentialMarketCreated#
Tag 113 (CONFIDENTIAL_MARKET_CREATED), 79 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 4 | confidential_profile_id | u32 |
| 37 | 32 | policy_commitment | bytes32 |
| 69 | 1 | accounting_mode | u8 |
| 70 | 1 | creator_mode | u8 |
| 71 | 8 | cap | u64 |
ConfidentialTerminalRecorded#
Tag 114 (CONFIDENTIAL_TERMINAL_RECORDED), 134 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 1 | branch | u8 |
| 34 | 32 | terminal_config_id | bytes32 |
| 66 | 32 | terminal_payoff_spec | bytes32 |
| 98 | 32 | terminal_resolution_id | bytes32 |
| 130 | 2 | adapter | u16 |
| 132 | 2 | adapter_version | u16 |
CloserRewardPaid#
Tag 115 (CLOSER_REWARD_PAID), 48 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 1 | class | u8 |
| 2 | 1 | step | u8 |
| 3 | 1 | flags | u8 |
| 4 | 8 | eligible_at | i64 |
| 12 | 8 | landed_at | i64 |
| 20 | 8 | cap | u64 |
| 28 | 4 | ramp_seconds | u32 |
| 32 | 8 | curve_reward | u64 |
| 40 | 8 | paid | u64 |
OwnerPayoutEscrowed#
Tag 116 (OWNER_PAYOUT_ESCROWED), 106 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | owner | pubkey |
| 33 | 32 | market | pubkey |
| 65 | 32 | escrow | pubkey |
| 97 | 8 | amount | u64 |
| 105 | 1 | created | u8 |
OwnerPayoutEscrowClaimed#
Tag 117 (OWNER_PAYOUT_ESCROW_CLAIMED), 137 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | owner | pubkey |
| 33 | 32 | escrow | pubkey |
| 65 | 32 | destination | pubkey |
| 97 | 8 | amount | u64 |
| 105 | 32 | rent_payer | pubkey |
OrderReclaimBatchProgressed#
Tag 118 (ORDER_RECLAIM_BATCH_PROGRESSED), 102 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | maker | pubkey |
| 33 | 32 | caller | pubkey |
| 65 | 1 | requested | u8 |
| 66 | 1 | removed | u8 |
| 67 | 1 | claimable_removed | u8 |
| 68 | 1 | grace_unwound | u8 |
| 69 | 8 | bounty_paid | u64 |
| 77 | 8 | quote_released | u64 |
| 85 | 8 | yes_burned | u64 |
| 93 | 8 | no_burned | u64 |
| 101 | 1 | blocked_lanes | u8 |
SeatProgramInstalled#
Tag 119 (SEAT_PROGRAM_INSTALLED), 97 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | seat | pubkey |
| 33 | 32 | program_hash | bytes32 |
| 65 | 8 | program_generation | u64 |
| 73 | 8 | cap_bid | u64 |
| 81 | 8 | cap_ask | u64 |
| 89 | 8 | exposure | u64 |
ExactInputExecuted#
Tag 120 (EXACT_INPUT_EXECUTED), 75 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | taker | pubkey |
| 33 | 1 | side | u8 |
| 34 | 8 | budget | u64 |
| 42 | 8 | spent | u64 |
| 50 | 8 | received | u64 |
| 58 | 8 | unspent | u64 |
| 66 | 8 | self_prevented | u64 |
| 74 | 1 | stop_reason | u8 |
ConfidentialJobAdmissionRecorded#
Tag 121 (CONFIDENTIAL_JOB_ADMISSION_RECORDED), 103 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | job_id | bytes32 |
| 65 | 4 | page_index | u32 |
| 69 | 2 | step_count | u16 |
| 71 | 32 | page_commitment | bytes32 |
ConfidentialJobSealed#
Tag 122 (CONFIDENTIAL_JOB_SEALED), 89 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | job_id | bytes32 |
| 65 | 8 | generation | u64 |
| 73 | 8 | prepaid_budget_lamports | u64 |
| 81 | 8 | max_charge | u64 |
ConfidentialJobCommitted#
Tag 123 (CONFIDENTIAL_JOB_COMMITTED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | job_id | bytes32 |
| 65 | 8 | commit_reward_lamports | u64 |
ConfidentialJobAborted#
Tag 124 (CONFIDENTIAL_JOB_ABORTED), 74 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | job_id | bytes32 |
| 65 | 1 | abort_rule | u8 |
| 66 | 8 | abort_reward_lamports | u64 |
ConfidentialWorkBudgetToppedUp#
Tag 125 (CONFIDENTIAL_WORK_BUDGET_TOPPED_UP), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | funder | pubkey |
| 65 | 8 | lamports | u64 |
| 73 | 8 | balance_after | u64 |
ConfidentialCapIncreased#
Tag 126 (CONFIDENTIAL_CAP_INCREASED), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | creator | pubkey |
| 65 | 8 | previous_cap | u64 |
| 73 | 8 | current_cap | u64 |
ConfidentialMarketClosed#
Tag 127 (CONFIDENTIAL_MARKET_CLOSED), 113 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | closer | pubkey |
| 65 | 32 | sponsor | pubkey |
| 97 | 8 | closer_reward_lamports | u64 |
| 105 | 8 | sponsor_rent_lamports | u64 |
ConfidentialEscrowFunded#
Tag 128 (CONFIDENTIAL_ESCROW_FUNDED), 108 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | object_id | bytes32 |
| 65 | 32 | utxo_hash | bytes32 |
| 97 | 1 | recipe_mode | u8 |
| 98 | 8 | amount | u64 |
| 106 | 2 | output_tree_id | u16 |
ConfidentialStepPrepared#
Tag 129 (CONFIDENTIAL_STEP_PREPARED), 101 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | job_id | bytes32 |
| 65 | 4 | step_index | u32 |
| 69 | 32 | output_object_id | bytes32 |
ConfidentialObjectRefunded#
Tag 130 (CONFIDENTIAL_OBJECT_REFUNDED), 67 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | object_id | bytes32 |
| 65 | 1 | branch | u8 |
| 66 | 1 | mode | u8 |
ConfidentialClaimsCreated#
Tag 131 (CONFIDENTIAL_CLAIMS_CREATED), 101 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | job_id | bytes32 |
| 65 | 4 | step_index | u32 |
| 69 | 32 | claim_id | bytes32 |
ConfidentialClaimMaterialized#
Tag 132 (CONFIDENTIAL_CLAIM_MATERIALIZED), 66 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | claim_id | bytes32 |
| 65 | 1 | mode | u8 |
ConfidentialClaimRefunded#
Tag 133 (CONFIDENTIAL_CLAIM_REFUNDED), 66 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | claim_id | bytes32 |
| 65 | 1 | mode | u8 |
ConfidentialCapsuleUploaded#
Tag 134 (CONFIDENTIAL_CAPSULE_UPLOADED), 99 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | slot | pubkey |
| 65 | 2 | len | u16 |
| 67 | 32 | capsule_hash | bytes32 |
ConfidentialCapsuleSlotReclaimed#
Tag 135 (CONFIDENTIAL_CAPSULE_SLOT_RECLAIMED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | slot | pubkey |
| 65 | 8 | lamports | u64 |
ConfidentialRfqActivated#
Tag 136 (CONFIDENTIAL_RFQ_ACTIVATED), 113 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | activation_id | bytes32 |
| 65 | 32 | cell_object_id | bytes32 |
| 97 | 8 | backing_q | u64 |
| 105 | 8 | fee_atoms | u64 |
ConfidentialCellSettled#
Tag 137 (CONFIDENTIAL_CELL_SETTLED), 82 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | cell_object_id | bytes32 |
| 65 | 8 | maker_payout | u64 |
| 73 | 8 | taker_payout | u64 |
| 81 | 1 | outcome_kind | u8 |
ConfidentialPublicCellSettled#
Tag 138 (CONFIDENTIAL_PUBLIC_CELL_SETTLED), 74 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | cell_object_id | bytes32 |
| 65 | 1 | role_count | u8 |
| 66 | 8 | total_backing | u64 |
ConfidentialRoleClaimed#
Tag 139 (CONFIDENTIAL_ROLE_CLAIMED), 107 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | cell_id | bytes32 |
| 65 | 2 | role_index | u16 |
| 67 | 32 | claim_id | bytes32 |
| 99 | 8 | payout | u64 |
ConfidentialMirrorTerminalRecorded#
Tag 140 (CONFIDENTIAL_MIRROR_TERMINAL_RECORDED), 66 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 1 | terminal_reason | u8 |
| 34 | 32 | payoff_spec | bytes32 |
ConfidentialCellClosedByAgreement#
Tag 141 (CONFIDENTIAL_CELL_CLOSED_BY_AGREEMENT), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | cell_id | bytes32 |
| 65 | 8 | backing | u64 |
ConfidentialCellNovated#
Tag 142 (CONFIDENTIAL_CELL_NOVATED), 105 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | predecessor_cell_id | bytes32 |
| 65 | 32 | successor_cell_id | bytes32 |
| 97 | 8 | backing | u64 |
ConfidentialCellAssigned#
Tag 143 (CONFIDENTIAL_CELL_ASSIGNED), 97 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | predecessor_cell_id | bytes32 |
| 65 | 32 | successor_cell_id | bytes32 |
ConfidentialClaimReassigned#
Tag 144 (CONFIDENTIAL_CLAIM_REASSIGNED), 97 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | claim_id | bytes32 |
| 65 | 32 | assignee_binding | bytes32 |
ConfidentialCellRekeyed#
Tag 145 (CONFIDENTIAL_CELL_REKEYED), 97 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | predecessor_cell_id | bytes32 |
| 65 | 32 | successor_cell_id | bytes32 |
ConfidentialRemainingOrderPosted#
Tag 146 (CONFIDENTIAL_REMAINING_ORDER_POSTED), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | order_id | bytes32 |
| 65 | 8 | max_q | u64 |
| 73 | 8 | expires_slot | u64 |
ConfidentialOrderFilled#
Tag 147 (CONFIDENTIAL_ORDER_FILLED), 89 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | order_id | bytes32 |
| 65 | 8 | fill_a | u64 |
| 73 | 8 | fill_b | u64 |
| 81 | 8 | fee_atoms | u64 |
ConfidentialRemainderRefunded#
Tag 148 (CONFIDENTIAL_REMAINDER_REFUNDED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | order_id | bytes32 |
| 65 | 8 | refund_amount | u64 |
ConfidentialCountedRunSplit#
Tag 149 (CONFIDENTIAL_COUNTED_RUN_SPLIT), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | run_id | bytes32 |
| 65 | 8 | left_lots | u64 |
| 73 | 8 | right_lots | u64 |
ConfidentialCellReplacedDyadic#
Tag 150 (CONFIDENTIAL_CELL_REPLACED_DYADIC), 129 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | parent_cell_id | bytes32 |
| 65 | 32 | left_cell_id | bytes32 |
| 97 | 32 | right_cell_id | bytes32 |
ConfidentialCellSplit#
Tag 151 (CONFIDENTIAL_CELL_SPLIT), 67 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | parent_cell_id | bytes32 |
| 65 | 1 | child_count | u8 |
| 66 | 1 | depth | u8 |
ConfidentialSplitRoleRekeyed#
Tag 152 (CONFIDENTIAL_SPLIT_ROLE_REKEYED), 66 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | parent_marker_id | bytes32 |
| 65 | 1 | child_count | u8 |
ConfidentialCellsMerged#
Tag 153 (CONFIDENTIAL_CELLS_MERGED), 67 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | merged_cell_id | bytes32 |
| 65 | 1 | sibling_count | u8 |
| 66 | 1 | mode | u8 |
ConfidentialFeeAssessed#
Tag 154 (CONFIDENTIAL_FEE_ASSESSED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | action_id | bytes32 |
| 65 | 8 | total_fee | u64 |
ConfidentialClosureCertified#
Tag 155 (CONFIDENTIAL_CLOSURE_CERTIFIED), 101 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | page_set_id | bytes32 |
| 65 | 4 | page_count | u32 |
| 69 | 32 | tombstone | bytes32 |
ConfidentialStorageReclaimed#
Tag 156 (CONFIDENTIAL_STORAGE_RECLAIMED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | page_set_id | bytes32 |
| 65 | 8 | lamports | u64 |
ConfidentialOrderCommitted#
Tag 157 (CONFIDENTIAL_ORDER_COMMITTED), 113 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | epoch | u64 |
| 41 | 8 | sequence | u64 |
| 49 | 32 | order_id | bytes32 |
| 81 | 32 | commitment | bytes32 |
ConfidentialOrderCancelled#
Tag 158 (CONFIDENTIAL_ORDER_CANCELLED), 74 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | epoch | u64 |
| 41 | 32 | order_id | bytes32 |
| 73 | 1 | disposition | u8 |
ConfidentialEpochCutoffSealed#
Tag 159 (CONFIDENTIAL_EPOCH_CUTOFF_SEALED), 77 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | epoch | u64 |
| 41 | 4 | commit_count | u32 |
| 45 | 32 | commit_root | bytes32 |
ConfidentialOrderRevealed#
Tag 160 (CONFIDENTIAL_ORDER_REVEALED), 77 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | epoch | u64 |
| 41 | 32 | order_id | bytes32 |
| 73 | 4 | version | u32 |
ConfidentialStandingActivated#
Tag 161 (CONFIDENTIAL_STANDING_ACTIVATED), 77 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | epoch | u64 |
| 41 | 32 | order_id | bytes32 |
| 73 | 4 | order_version | u32 |
ConfidentialEpochFinalized#
Tag 162 (CONFIDENTIAL_EPOCH_FINALIZED), 77 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | epoch | u64 |
| 41 | 4 | reference_tick | u32 |
| 45 | 32 | eligible_root | bytes32 |
ConfidentialClearingPageSubmitted#
Tag 163 (CONFIDENTIAL_CLEARING_PAGE_SUBMITTED), 77 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | epoch | u64 |
| 41 | 4 | cursor | u32 |
| 45 | 32 | partial_root | bytes32 |
ConfidentialPlanVerified#
Tag 164 (CONFIDENTIAL_PLAN_VERIFIED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | epoch | u64 |
| 41 | 32 | plan_root | bytes32 |
ConfidentialBatchExecutedAtomic#
Tag 165 (CONFIDENTIAL_BATCH_EXECUTED_ATOMIC), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | epoch | u64 |
| 41 | 32 | plan_root | bytes32 |
| 73 | 8 | charge_total | u64 |
ConfidentialBatchManifestFrozen#
Tag 166 (CONFIDENTIAL_BATCH_MANIFEST_FROZEN), 77 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | epoch | u64 |
| 41 | 32 | manifest_root | bytes32 |
| 73 | 4 | step_count | u32 |
ConfidentialBatchReady#
Tag 167 (CONFIDENTIAL_BATCH_READY), 69 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | job_id | bytes32 |
| 65 | 4 | step_count | u32 |
ConfidentialBatchCompleted#
Tag 168 (CONFIDENTIAL_BATCH_COMPLETED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | job_id | bytes32 |
| 65 | 8 | reward_lamports | u64 |
ConfidentialStandingCommitted#
Tag 169 (CONFIDENTIAL_STANDING_COMMITTED), 105 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | order_id | bytes32 |
| 65 | 32 | root | bytes32 |
| 97 | 8 | expiry_slot | u64 |
ConfidentialStandingCancelled#
Tag 170 (CONFIDENTIAL_STANDING_CANCELLED), 66 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | order_id | bytes32 |
| 65 | 1 | cancel_status | u8 |
ConfidentialStandingReleased#
Tag 171 (CONFIDENTIAL_STANDING_RELEASED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | order_id | bytes32 |
| 65 | 8 | refund_amount | u64 |
ConfidentialStandingAmended#
Tag 172 (CONFIDENTIAL_STANDING_AMENDED), 69 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | order_id | bytes32 |
| 65 | 4 | new_version | u32 |
ConfidentialSourceLocked#
Tag 173 (CONFIDENTIAL_SOURCE_LOCKED), 105 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | source_id | bytes32 |
| 65 | 32 | order_id | bytes32 |
| 97 | 8 | release_slot | u64 |
ConfidentialSourceNormalized#
Tag 174 (CONFIDENTIAL_SOURCE_NORMALIZED), 99 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | source_id | bytes32 |
| 65 | 2 | lot_count | u16 |
| 67 | 32 | lot_root | bytes32 |
ConfidentialSourceLockReleased#
Tag 175 (CONFIDENTIAL_SOURCE_LOCK_RELEASED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | source_id | bytes32 |
| 65 | 8 | lamports | u64 |
ShieldedOutcomeMintsCreated#
Tag 176 (SHIELDED_OUTCOME_MINTS_CREATED), 97 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | yes_mint | pubkey |
| 65 | 32 | no_mint | pubkey |
ShieldedPairMinted#
Tag 177 (SHIELDED_PAIR_MINTED), 41 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | quantity | u64 |
ShieldedSetMerged#
Tag 178 (SHIELDED_SET_MERGED), 41 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | quantity | u64 |
ShieldedTerminalRedeemed#
Tag 179 (SHIELDED_TERMINAL_REDEEMED), 42 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 1 | side | u8 |
| 34 | 8 | quantity | u64 |
ConfidentialCellBridgedToTokens#
Tag 180 (CONFIDENTIAL_CELL_BRIDGED_TO_TOKENS), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | cell_id | bytes32 |
| 65 | 8 | quantity | u64 |
TokensBridgedToConfidentialCell#
Tag 181 (TOKENS_BRIDGED_TO_CONFIDENTIAL_CELL), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | cell_commitment | bytes32 |
| 65 | 8 | quantity | u64 |
ConfidentialRouteOpened#
Tag 182 (CONFIDENTIAL_ROUTE_OPENED), 68 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | route | pubkey |
| 33 | 2 | route_kind | u16 |
| 35 | 1 | leg_count | u8 |
| 36 | 32 | plan_hash | bytes32 |
ConfidentialRouteLegRefunded#
Tag 183 (CONFIDENTIAL_ROUTE_LEG_REFUNDED), 34 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | route | pubkey |
| 33 | 1 | leg_index | u8 |
ConfidentialFinancedCellActivated#
Tag 184 (CONFIDENTIAL_FINANCED_CELL_ACTIVATED), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | cell_id | bytes32 |
| 65 | 8 | quantity | u64 |
| 73 | 8 | debt | u64 |
ConfidentialFinancingRepaid#
Tag 185 (CONFIDENTIAL_FINANCING_REPAID), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | cell_id | bytes32 |
| 65 | 8 | repay_amount | u64 |
ConfidentialFinancedRoleSettled#
Tag 186 (CONFIDENTIAL_FINANCED_ROLE_SETTLED), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | cell_id | bytes32 |
| 65 | 8 | lender_payout | u64 |
| 73 | 8 | borrower_payout | u64 |
ConfidentialCellPartExchangedForTokens#
Tag 187 (CONFIDENTIAL_CELL_PART_EXCHANGED_FOR_TOKENS), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | source_cell | bytes32 |
| 65 | 8 | lots | u64 |
TokensExchangedForConfidentialCellPart#
Tag 188 (TOKENS_EXCHANGED_FOR_CONFIDENTIAL_CELL_PART), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | source_cell | bytes32 |
| 65 | 8 | lots | u64 |
ContinuousActionAdmitted#
Tag 189 (CONTINUOUS_ACTION_ADMITTED), 42 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | origin_seq | u64 |
| 41 | 1 | action_type | u8 |
ContinuousActionProcessed#
Tag 190 (CONTINUOUS_ACTION_PROCESSED), 41 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | origin_seq | u64 |
ContinuousStepFilled#
Tag 191 (CONTINUOUS_STEP_FILLED), 53 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | origin_seq | u64 |
| 41 | 4 | step_index | u32 |
| 45 | 8 | fill_lots | u64 |
ContinuousRecoveryBarrierTriggered#
Tag 192 (CONTINUOUS_RECOVERY_BARRIER_TRIGGERED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | origin_seq | u64 |
| 41 | 8 | refunded | u64 |
SplineOfferPublished#
Tag 193 (SPLINE_OFFER_PUBLISHED), 57 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | spline_id | u64 |
| 41 | 8 | sequence | u64 |
| 49 | 8 | inventory | u64 |
SplineOfferFilled#
Tag 194 (SPLINE_OFFER_FILLED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | spline_id | u64 |
| 41 | 8 | lots | u64 |
SplineOfferExpired#
Tag 195 (SPLINE_OFFER_EXPIRED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | spline_id | u64 |
| 41 | 8 | refunded | u64 |
SplineDelegateGranted#
Tag 196 (SPLINE_DELEGATE_GRANTED), 81 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | spline_id | u64 |
| 41 | 32 | delegate | pubkey |
| 73 | 8 | sequence_end | u64 |
SplineDelegateRevoked#
Tag 197 (SPLINE_DELEGATE_REVOKED), 41 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | spline_id | u64 |
ContinuousTreeParityFailed#
Tag 198 (CONTINUOUS_TREE_PARITY_FAILED), 37 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 4 | page_index | u32 |
ConfidentialReservePoolDeposited#
Tag 199 (CONFIDENTIAL_RESERVE_POOL_DEPOSITED), 41 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | shares_minted | u64 |
ConfidentialReservePoolWithdrawn#
Tag 200 (CONFIDENTIAL_RESERVE_POOL_WITHDRAWN), 41 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | shares_burned | u64 |
ReservePoolOfferRefreshed#
Tag 201 (RESERVE_POOL_OFFER_REFRESHED), 73 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 32 | offer | pubkey |
| 65 | 8 | sequence | u64 |
ConfidentialCollectorFeesAggregated#
Tag 202 (CONFIDENTIAL_COLLECTOR_FEES_AGGREGATED), 49 bytes including tag.
| Offset | Bytes | Field | Wire type |
|---|---|---|---|
| 0 | 1 | tag | u8 |
| 1 | 32 | market | pubkey |
| 33 | 8 | collected_fees | u64 |
| 41 | 8 | protocol_dust | u64 |
Projection kinds#
The SDK projection layer groups selected decoded events into semantic updates. Its kind strings are not wire tags, and it does not project every assigned binary event. Keep the original decoded event when you need fields or events outside that projection.
Stream consumer recipes document normalization, stable IDs, replay, and state reconciliation.