Skip to main content
This page is the authoritative technical reference for Microset’s on-chain footprint — a single Anchor program, prediction_market, implementing a sport-agnostic, parimutuel, multi-outcome market. For a plain-language version, see How Markets Work.

Program identity

Instructions

Core

Quick-prediction delegate session

To let users make repeated predictions without re-prompting their wallet, the program supports an explicit, user-funded delegate session:

Access control

The protocol fee (protocol_fee_bps) and resolution authority are stored in the on-chain Config and can be changed only by config.authority. The fee is capped on-chain (InvalidFeeBps if it exceeds 100%).

Accounts

Funds & settlement

  • All stakes for a market sit in one vault PDA, with per-outcome accounting.
  • On resolve, the protocol fee is taken from the pool and sent to the treasury (3AzAex6f…xn9Cz); the remainder is locked in for winners. If there are no winners, the pool goes to the treasury.
  • claim pays each winner their proportional share of the post-fee pool; a voided market refunds stakes in full with no fee.
  • Quick-prediction escrow is bounded by the user-set max_lamports cap and is revocable and withdrawable at any time.

Resolution data

Microset does not set outcomes itself. Resolution is triggered by third-party data APIs: when a recognized sports data provider (the Roanuz Sports API for cricket) reports a final result, that result drives the resolve instruction, which the resolution authority submits on-chain. This keeps outcomes tied to real-world events rather than to Microset’s discretion.

Events

Source & verification

  • The Microset web app at app.microset.io and its backend both reference this program ID and IDL, which match the deployed program.
  • Security review: internal security audits and vulnerability testing completed.