Protocol Flow
This document describes the complete lifecycle of a BaseCase prediction market, from creation through resolution.
Market Lifecycle Overview
Phase 1: Market Creation
Initialization Parameters
Question
Binary yes/no question
"Will BTC hit $150k by Jan 1?"
End Time
When trading stops
January 1, 2025 00:00 UTC
Bonding Period
Duration of curve phase
7 days
Virtual Reserve
Initial vYES and vNO
1,000 each
Initial State
vYES = 1,000
vNO = 1,000
k = vYES × vNO = 1,000,000
YES Price = vNO / (vYES + vNO) = 50%
NO Price = vYES / (vYES + vNO) = 50%
Vault = $0
Shadow YES = 0
Shadow NO = 0Phase 2: Bonding Curve Trading
Trading Mechanics
During the bonding phase, users trade against a virtual Constant Product Market Maker (CPMM).
Buy Operation:
Sell Operation:
[!TIP] Winner Profit Guarantee: Buy operations include a $1 ceiling (min 1 share per $1), and sell operations have a $1 cap (max $1 payout per share). This ensures the vault can always pay $1/share to winners.
Example Trading Sequence
Buy YES
Alice
$500
500
$1.00
$500
Buy NO
Bob
$300
300
$1.00
$800
Buy YES
Charlie
$1,000
1,000
$1.00
$1,800
Buy YES
Dave
$2,000
2,000
$1.00
$3,800
Sell YES
Charlie
1,000
-
$0.95
$2,850
Buy NO
Eve
$2,000
2,150
$0.93
$4,850
Solvency Tracking
The protocol continuously monitors solvency:
After trade 3
2,305
294
$1,800
78.1%
After trade 4
4,125
294
$3,800
92.1%
After trade 5
3,175
294
$2,765
87.1%
After trade 6
3,175
2,444
$4,765
150.1% ✓
Graduation Trigger
When solvency reaches 100%, the market qualifies for graduation:
Graduation can be triggered by any user calling the graduate() function.
Phase 3: Graduation
Graduation Sequence
Example Graduation
Pre-Graduation State:
Graduation Execution:
Phase 4: Order Book Trading
Order Book Structure
Post-graduation, trading occurs on a Central Limit Order Book (CLOB):
Order Types
Limit
Place order at specific price
Market
Execute against best available
Cancel
Remove unfilled order
No Liquidity Required
Unlike AMM-based post-graduation:
LP capital needed
Yes (protocol seeds)
No
Price discovery
Formula-based
Supply/demand
Spread control
Tick ranges
Maker competition
Limit orders
Indirect
Native
Price Constraint
Order books enforce the binary outcome constraint:
Phase 5: Resolution
Oracle Process
Token Redemption (Fixed $1 + OG Bonus)
Collateral Flow
Fee Structure Summary
Bonding - Buy
0%
—
Bonding - Sell
0%
—
Graduation
2%
50% Protocol / 25% Stakers / 25% Creator
Order Book - Maker
0%
—
Order Book - Taker
~0.2%
TBD
Resolution
0%
—
[!NOTE] Bonding phase has zero trading fees. Solvency is maintained through CPMM slippage mechanics, not fees.
Creator Rewards Example
Risk Analysis
Solvency Guarantee
The protocol guarantees payout solvency through:
CPMM Slippage: Large one-sided trades pay premium prices
Natural Accumulation: Vault grows through buyer deposits
Graduation Threshold: Cannot graduate below 100% solvency + 20% each side
Collateral Lock: Vault holds required amount at graduation
Failure Modes
Failed graduation
Solvency < 100% at deadline
Pro-rata refund
Oracle dispute
Challenged assertion
UMA DVM vote
Invalid market
Ambiguous question
Refund mode
Contract Interactions
User Actions by Phase
Bonding Phase:
Graduation:
Order Book:
Resolution:
Last updated

