📝 Intro
https://github.com/seer-pm/demo/tree/main
Actors and actions
Market Creator:
Action: Initiates the creation of a new prediction market.
Can be performed by: Any address.
Token Holder:
Action: Interacts with
Router
to split and merge outcome tokens, as well as redeeming them upon market resolution. Buys and sells outcome tokens on a third-party decentralized exchange (DEX).Can be performed by: Any address with sufficient collateral/outcome tokens.
Liquidity Provider:
Action: Provides initial liquidity to the market by splitting positions and adding liquidity to a DEX.
Can be performed by: Any address with sufficient collateral/outcome tokens.
Answerer:
Action: Provides answers to the market questions or challenges provided answers if believed to be incorrect.
Can be performed by: Any address meeting the criteria set by the question (current bond required to submit an answer or arbitration fee for raising a dispute).
Market Resolver:
Action: Resolves the market by calling
Market.resolve()
orRealityProxy.resolve(market)
after the reality questions are finalized.Can be performed by: Any address, as long as the questions are finalized.
Seer contracts
MarketFactory: Creates new prediction markets.
Market: Represents an individual prediction market.
MarketView: Contains convenient view functions to retrieve information of one or more markets
Router: Handles splitting, merging, and redeeming of positions.
GnosisRouter: Router implementation with functions to use xDAI to split, merge and redeem outcome tokens on Gnosis Chain.
MainnetRouter: Router implementation with functions to use DAI to split, merge and redeem outcome tokens on Ethereum Mainnet.
RealityProxy: Resolves the market based on the answer provided.
External services
Third-Party Decentralized Exchange: Facilitates trading of outcome tokens.
Kleros: Handles arbitration in case of disputes.
Reality: Oracle system for resolving market outcomes.
ConditionalTokens: Creates and manages outcome tokens.
Wrapped1155Factory: Wraps ERC1155 tokens to ERC20 tokens.
Last updated