sui move build), unit-tested (sui move test → 17/17 pass), pinned to the DeepBook Predict predict-testnet-4-16 branch.
The 7 modules
| Module | Lines | Job |
|---|---|---|
predict_facade | ~150 | Attribution events alongside cross-package predict::* calls |
market | ~140 | MarketLink registry distinguishing price (kind=0) vs OO (kind=1) markets |
settlement | ~120 | AutoRedeemQueue + distribute_fees (1% / 0.5% / 0.5%) |
seal_policy | ~80 | AccessPolicy (still used as opaque arg by dark_pool::deposit) |
agent | ~190 | TradeAgent identity + signed-PnL + PLP score |
oo_resolution | ~290 | Optimistic oracle (propose → dispute → vote → finalize) |
dark_pool | ~415 | DarkPoolVault<T>. BalanceManager + TradeCap ids, deposit / pull_for_mint / record_mint / receive_settlement / redeem |
Per-market scaffolded packages
Inbinary-market-template/:
yes.move.Coin<YES>OTW + TreasuryCapno.move.Coin<NO>OTW + TreasuryCapsettlement.move.Settlement<COLLATERAL>shared object,ResolverCap,mint_pair/burn_pair/mark_resolved/redeem_{yes,no}
scripts/create-binary-market.ts.
Build + test
Modules deleted in the V3 pivot
outcome_market.move(internal AMM). V3 pools are the trading engine now.position.move(Seal-encrypted intent ledger). User chose vault-based privacy (k-anonymity) over Seal note encryption.
Live deployment
Package0x21c96c85907b9aabaf770d4b663874d6fa35175176765512cac1d77d969ec5df contains all 7 modules. See Live Testnet IDs for the full shared-object table.