Key concepts
- Condition — an
(oracle, questionId, outcomeSlotCount)tuple. - Position — an ERC-1155 balance of a specific outcome slot within a condition.
- Redemption — once the oracle reports payouts, holders call
redeemPositionsto exchange winning tokens for USDC.
Prepare a condition
Redeem winning positions
Redeeming via the contract
Partners can either callConditionalTokens.redeemPositions directly
from their own client (this page describes that signature), or hand
the job to the platform via
POST /api/me/redemptions —
the off-chain helper queues a submitter-executed redemption against
your vault. Either path lands the same PayoutRedemption event
on-chain. The off-chain ledger picks it up via chain-watcher and
credits /api/me/balances.collateral accordingly; no extra API call
is required to “claim” winnings beyond the initial redemption.
Events
Source
0x66Ed938E9Dec9A1df6033d66560d5fe6117EE744 on
Blockscout
(testnet).
Tracks upstream Gnosis ConditionalTokens v1.0.1 with only build-system changes.