This project contains 5 components that are required for a functioning prediction market.
The component ConditionalTokens splits collateral tokens (in our case, USDT) into Yes/No tokens. Conditional tokens can be traded on the CTF exchange if the contract owner whitelists them.
The component UMA enables CTF creations. Conditional tokens should not be created directly but instead through the UMA CTF adapter. While creating a new conditional token,
it also simultaneously calls UMA to request for data resolution at a specific time.
The component Exchange enables CTF trading.
The component ExchangeFee enables makers/takers to be given instant discounts for orders matched.
The component YieldBearing integrates with Venus Protocol to generate yield on collateral tokens used in prediction markets.
| Contract | BSC Mainnet | BSC Testnet |
|---|---|---|
| UmaCompatibleOptimisticOracle | 0x76F42e5520E62AD88f8fE583cBb4BfF27eeC2531 | 0xb5ae73B1dB6659b741d14DEDCeF6B73c88A8fe4c |
| Vault | 0x09F683d8a144c4ac296D770F839098c3377410c5 | 0x415bdd0F4e5eE9A50B2394ff8B6b20319e77255d |
| ZeroDevWithdrawalHelper | 0xf4aa30b537882eca7e69defb68d6f631cda77b00 | N/A |
| RewardDistributor | 0x14e3cB02F48818a8FeF6BC257059767cA9d436Ae | N/A |