Unicorn Docs
Get StartedMarketsVaultDevelopersOperations

Markets

Market Mechanics

How minting, trading, pricing, and settlement work in BinaryMarket.

Lifecycle
AMM
Resolution

Lifecycle

Users mint paired YES+NO with collateral, trade YES in the AMM, optionally redeem paired balances pre-resolution, and claim winning tokens post-resolution.

AMM model

BinaryMarket maintains YES and USDC reserves with constant-product swap math and a 0.5% fee. The contract also tracks cumulative price for TWAP-style consumption.

Resolution path

Markets include proposal/challenge states before final resolution. Claims settle onchain through winning token burns against collateral.