Program reference
Network constants
The checked-in unified IDL matches the public unified devnet binary. See
deployment status.
Accounts
Market
PDA seeds: ["market", creator, id_le_u64]
Stores the creator, settlement mint, MarketExpression, two to five labels, two to eight bands, five
pool counters, entry and settlement deadlines, fee and tip rates, state, winner, a compact resolution
evidence hash, ticket count, claimed stake, timestamps, and PDA bump.
MarketTicket
PDA seeds: ["ticket", market, owner, nonce_le_u64]
Stores market, owner, nonce, outcome index, stake, claimed flag, and PDA bump. A ticket is immutable
after purchase. Reusing a nonce for the same market and owner fails because the PDA already exists.
Vault
The vault is the associated token account for the market PDA and the market’s six-decimal classic SPL mint.Instructions
States
Limits
Settlement arithmetic
u128. Unsolicited SPL transfers cannot block settlement: accounting uses recorded
ticket pools, and the final claim transfers rounding or donated dust to the fixed treasury. A void
refund is exactly the ticket stake and has no fee or tip.
resolution_evidence_hash is SHA-256 over the domain slip:resolution-evidence:v1, market address,
resolver address, TxLINE roots address, and exact Borsh-serialized proof argument. The full proof stays
in the successful Solana transaction while the market stores only the 32-byte commitment.