Company
Smart contracts
Five protocol contracts plus two vendored upstream components. Nothing is proxy-upgradeable.
- Version
- 1.0
- Effective
- 2026-09-06
- Last updated
- 2026-09-06
MarketFactory
- Deploys a binary market permissionlessly in one transaction.
- Prepares the conditional-token condition and the market maker, seeds initial liquidity and takes the creation bond.
- Emits MarketCreated with question, rules, topic, closing time and position ids, the interface's discovery source.
- Cannot resolve markets or move trader funds.
TradeRouter
- Executes buys and sells with a minimum-output guard for slippage protection.
- Splits the 1.50% fee into protocol, creator and liquidity components and emits them in the Trade event.
- Tracks unclaimed creator fees and reserves them so liquidity removal cannot strand them.
- Handles liquidity add and remove for the market maker.
ProtocolConfig
- Stores creation bond, minimum initial liquidity, minimum market duration, resolution bond, dispute window and the three fee components.
- Enforces that creator + protocol + liquidity equals the total fee in basis points.
- Has a privileged owner able to change parameters for future activity; the owner cannot resolve markets or seize funds.
BondedResolutionAdapter
- Accepts a bonded outcome proposal after a market closes.
- Opens a challenge window during which any bonded participant can dispute.
- Finalises unchallenged outcomes and reports them to the conditional-token framework.
- Supports an invalid outcome path where a question cannot be resolved.
Vendored upstream components
Gnosis Conditional Tokens mints, splits, merges and redeems outcome positions. A fixed-product market maker provides pricing and liquidity. Both retain their original licences; see OPEN_SOURCE_NOTICES.md.
#upstream