Skip to main content

Minting and burning outcome pairs

Minting and burning are collateral operations. They are not the same as buying or selling one outcome in a trading pool.

Minting a pair​

To mint, a user deposits the market's USDG payment token directly into the market contract. The market creates equal amounts of YES and NO:

1 USDG payment token -> 1 YES + 1 NO

The conversion accounts for the USDG payment token's decimals and the 18 decimals used by the outcome tokens.

Minting requires:

  • enough USDG payment-token balance;
  • a direct USDG payment-token allowance to the market contract;
  • available room under both outcome-token supply caps; and
  • an unpaused market that has not finalized.

Burning a pair​

Before finalization, a user can return equal amounts of YES and NO to recover USDG payment tokens:

1 YES + 1 NO -> 1 USDG payment token

Both outcome tokens must be approved directly to the market contract. The user must hold at least the amount being burned on both sides.

Decimal conversion and small amounts​

Outcome tokens use 18 decimals, while the production USDG payment token may use a different number. Contract conversion uses integer arithmetic. An amount smaller than the USDG payment token's smallest unit can round down, so the interface should reject dust-only actions that would return zero USDG payment tokens.

Availability after trading ends​

At the protocol-contract level, matched-pair minting and burning are blocked by finalization rather than by the trading cutoff alone. They remain subject to current market status, pause state, balances, allowances, and frontend support.

Once a market has finalized, matched-pair burning is no longer available. Users instead follow the winning-token redemption or canceled-market withdrawal process.