documentation

Trust Model

Matching happens off chain for speed, while custody, fills, and resolution are enforced cryptographically on a single immutable contract.

What the operator can — and cannot — do

Area Operator can Operator cannot
Order matching Delay or drop an off-chain order before it matches. Invent or alter a fill — settleFill requires two valid user-signed EIP-712 orders (or approved session keys), including inventory closes.
Funds & shares Submit matched fills to the contract. Move your USDC or shares without your signature. Deposit, withdraw, split, merge, and redeem are your own on-chain transactions.
Market terms List new markets on the grid. Change a market’s rules underneath you — every order signs the asset, kind, direction, barrier(s), open time, and expiry, and the contract rejects mismatches.
Fees & expiry Compute taker fees within signed bounds. Charge more than you signed — gas fee is capped per order, trading fee is capped on chain at 0.04 × size × p × (1 − p), and no order can fill more than 1 hour past expiry.
Resolution Propose a new PriceOracle subject to a 7-day public timelock. Pick a winner or block settlement — settle is write-once, permissionless, and reads Chainlink directly on chain.

Verifiability & immutability

Related reading See Orders for EIP-712 signing, 1-Click Trading for scoped browser session keys, and Balances for self-custodial deposits and withdrawals.