AgariDocs
Open app
How it works

The Solana programs

What is deployed on devnet, what was rehearsed on a mainnet fork, and what each program enforces.

Reviewed 2026-09-23
ProgramAddressObserved state at the 23 September 2026 review
agari-eventscDcHZiQ1WYAHbSjxMoju86fbC8azrtQg7dzrWKynANHDeployed on devnet, upgraded in place; on-chain IDL and confirmed order/settlement transactions.
agari-vault84puRVxGcjs7JNcPCVAEkkK6ZFXneEC8yky8RTMzhPi9Deployed and initialized on devnet; Trading Balance and bounded grants have devnet evidence.
agari-maker442oD4u4fHnAwPjSqdQvkgGeDaGVEZ9YHHaLny98nEaNDeployed on devnet; maker inventory and provider shares back Earn.
agari-rangeGfsAzxPeNp2cbUTrXehHBjLjAMX6Cf69gz2zJYkGM7haDeployed on devnet; prefunded Range and Moonshot outcomes.
agari-leverage2yMrhq686tL6uAUFHfKGsPZAWSGoQoRW9HxNvnAZJeQbDeployed on devnet; funded Boost positions and knock-out rules.
agari-parlayH4gdpoPirbtHP6hNdiQRLwfifjshdgDamYuvrGxj2ZCCDeployed on devnet; multi-Window tickets and their reserve.
agari-private6qjoqeiGt8K5RoYvsRCDoS4QsDXrsPAZjHwy4vU98d9jDeployed on devnet; separate Private balance and claim path.
agari-strategy2yiPYmuNQxpfC3nCk66KzkW72uCbkT6hHwLRSHpYDskQDeployed on devnet; creator registry, subscriptions and bounded copy permissions.
agari-arenaCakGVH2CaM2YAF9edgMTrCv1HCFf5tgbTcinN24JWvR3Deployed on devnet; Duel match and pot accounting. Arcade scores remain off-chain.
agari-desk4gAfiRauANHVajpErqCey7iWGbKkyuSsnXLRbApVaWakDeployed and exercised on a Surfpool fork of mainnet only. Mainnet deploy awaits the owner-funded C7 step.

The agari-events and agari-vault IDLs were published through Program Metadata. Their on-chain dumped bytes matched the local host builds recorded in the application README; a separate verifiable-image build produced different bytes because its toolchain differed. The other program deployments and transaction receipts are recorded separately in the acceptance ledger. No external audit is claimed.

Event book

Every order is BUY_YES, SELL_YES, BUY_NO or SELL_NO, priced in YES ticks. The book supports a direct Yes or No trade, minting a complete Yes/No pair when both sides buy, and burning a pair when both sell. PostOnly can rest before a Window opens; a taker cannot fill it until trading starts. IOC takes available size and cancels the rest; FOK requires a complete fill.

A Window moves Listed → Trading → Locked → Resolved or Voided. The closing signed print at or above the opening print pays Up, including ties. A void returns the stake as credit rather than guessing an outcome. First call covers the user journey.

Trading Balance and desk

agari-vault holds devnet tUSDC and enforces a user's session grant with spending, daily and open-position limits. agari-desk is a different program: a mainnet desk PDA would hold USDC and PreStocks under allowed-name, cap, reference, premium, output-floor and withdrawal checks. Its rehearsal and current limit must not be confused with a live mainnet deployment.

On this page