Clearing Price
Each matching interval is a uniform-price batch auction. Crossing orders in the batch settle at one clearing price, subject to every order’s limit and the market’s oracle circuit-breaker policy.Selection
The matcher considers eligible bid and ask price levels, chooses the price that maximizes executable volume, and applies deterministic tie-breaking. A zero-limit market ask can execute at any positive clearing price, but it is not itself a price candidate. FIFO priority is preserved within a price level. A bid is eligible only when the clearing price is at or below itsprice_limit.
An ask is eligible only when the price is at or above its limit; an ask limit of
zero accepts any positive clearing price. IOC, FOK, AON, and minimum-fill rules
further constrain executable volume.
Oracle circuit breaker
The matcher reads the configured oracle reference and refuses candidate prices outside the market’s circuit-breaker bounds. This protects against a stale or pathological book clearing arbitrarily far from the reference. Oracle updates are authenticated and replay-ordered, and their signed publish time must remain fresh. An unhealthy oracle pauses new placement, modification, and matching for markets bound to that feed without blocking healthy markets, cancellation, or settlement recovery. This is an attested matching-policy guarantee. The settlement circuit does not receive the oracle observation or re-run the limit book, so clients rely on verifying the expected matcher image for oracle-band, limit, FIFO, and tie-breaking correctness.What settlement proves
VALID_MATCH_BATCH binds every active match to the on-chain market mints andprice_scale, then proves:
Trader implications
price_limitis a worst acceptable bound, not a requested execution price.- Every match in the batch receives the same clearing price.
- There is no maker/taker fee role, although supply and demand can still produce price improvement relative to one side’s limit.
- Use a capped IOC for an immediate marketable order. A market ask may use zero; a bid must always carry a positive cap.