Whether a new mint would pass the queue gates now: the same gates enqueueMint* checks
before its fee and cash checks (the order-flow allowlist, the cutover, pauses, stuck, mint
capacity, the cutoff, and the account cap when an owner was given). One side can be full
while the other is open.
Whether a new sell would pass the queue gates now (sells skip the mint pauses).
Present when an owner was given.
account::balance<USDC>, unsettled accumulator funds included.
Unfinished orders the account holds in this market, against per_account_cap. Stale
after expiry: the settlement drain refunds without lowering it.
1e9-scaled λ. The sell cash-need formula takes it.
The cohort the stuck gate's first rule watches.
The companion's OrderDesk: the policy every queue runs under, and its version floor.
The largest mint the market's spare cash admits now.
1e9-scaled. The mint cash-need formulas take it.
The settlement payout walk (settle_step): it resumes at cursor, and completed is set
by the call that emits MarketPayoutsCompleted.
Sizes a filler's resolve batch.
Unfinished mints and sells, against the policy capacities.
The admin-set mint fee subsidy rate, 1e9-scaled (20% when unset).
Whether Predict allowlists this companion's OrderFlow witness
(protocol_config::set_order_flow). Predict's admission, commit and fill refuse it until
then (EOrderFlowNotAllowed).
Predict's version floor. Enqueue needs it at DELAYED_EXECUTION_VERSION.
The market's MarketQueue.
One entry per requested record ID: the record, or null when missing or deleted.
USDC locked for the premium and fees, and the fill's all-in cost cap. Sells lock none.
Worst-case market cash the fill can consume, counted in Predict's waiting cash need while the order waits.
Flat fee charged at placement.
The admission dry run's pre-subsidy trading fee, capped at the budget. Bounds the subsidy commit reserves.
The incentives commit reserved for the order, held with its escrow.
USDC the record holds now: escrow while unfinished, parked funds after.
The feed's own update time, in µs.
Pyth price normalized to 1e9.
The update's envelope in ms: τ, or a later backup tick. The fill prices at it.
The receipt's Predict stage (constants::receipt_stage_*), 0 when the record
holds none.
Cost paid (mint) or proceeds (sell). Zero on a refund.
Sui clock of the finishing transaction.
Filled quantity (mint) or closed quantity (sell).
0 for a fill, or a REASON_* code.
expiry - max(no_trade_window_ms, stall_timeout_ms + 5_000); placement requires
τ below it.
At or past it the order is refunded, never filled.
τ itself: a price generated before it never commits the order.
t₀, the Sui clock of the placement transaction.
The policy channel at placement. Commit accepts only updates on it.
The channel tick the order is priced on.
Why each side refuses now, or null: the PredictPreflightError code the builder would
throw for the queue gates.
Cash above required cash, 0 when below: the largest cash need a new queued mint may have now (Predict's admission refuses a larger one).
queue_stuck: enqueue would refuse as stuck right now ("pricing delayed").
τ, deadline and cutoff for an order placed now, from the local clock.
Summed cash need of the admitted orders; rebalance_expiry_cash funds it.
read.queue: a market's queue state plus the derived figures the app shows.