Outcome-first trading rails for Sui. Users say what they want; solvers figure out how; settlement enforces constraints on-chain.
A hardened Move protocol core for:
- creating intents,
- submitting solver bids,
- selecting and settling winners atomically,
- minting immutable settlement receipts.
Short version: no route trust, only constraint trust.
intent.move: intent lifecycle (OPEN -> MATCHED -> SETTLED/EXPIRED/CANCELLED)bid.move: bid lifecycle + bond handling (OPEN/WINNING/LOST/SLASHED/REFUNDED/SETTLED)settlement.move: winner mark, settlement checks, expiry, losing-bid handling, slashing pathreceipt.move: settlement proof object
- Solver-only refund path
- Maker-only slash path
- Strict status-gated transitions
- Winner-id and intent-id consistency checks
- Route hash integrity check at settlement
- Full abort-on-failure semantics (atomic)
From this folder:
sui move build
sui move testCoverage:
sui move test --coverage --force
sui move coverage summaryCurrent status:
- Wide range of tests (there's never "too much" tests, right??)
- This package is just one sketch from my blueprint, handle with care.