How Bubblegum Works
Bubblegum wires together two DeFi primitives — a bonding curve and a prediction market AMM — into a single atomic system. This page explains how they connect.The Architecture
Every Bubblegum market consists of two linked components:- Your SOL enters the bonding curve and buys $TICKER
- That $TICKER flows into the prediction market and mints YES tokens for you
- Moves the token price on the bonding curve
- Moves the outcome odds on the prediction market
- Deepens the liquidity available for future traders
The Bonding Curve
The bonding curve is a constant-product automated market maker that prices $TICKER against SOL. It works like any bonding curve you’ve used before:- Early buyers get more tokens per SOL (price starts low)
- Each buy pushes the price up (constant product math)
- Sells push the price back down (fully reversible)
- No external liquidity needed — the curve IS the market maker
What the Curve Controls
The bonding curve determines:- $TICKER / SOL price — how expensive the market’s token is
- Market depth — how much SOL is backing the prediction market
- Graduation progress — how close the market is to graduating
- YES/NO odds (that’s the prediction market’s job)
- Who wins at settlement (that’s the oracle’s job)
The Prediction Market (CPMM)
The prediction market uses a Virtual Liquidity CPMM — the same constant-product mechanism used in PNP’s PAMM, adapted for Solana with SPL tokens. When the market launches, a portion of the token supply is deposited into the CPMM as initial reserve. This creates a 50/50 starting point for YES and NO odds. As traders buy YES or NO:- Buying YES increases the YES price and decreases NO
- Buying NO increases the NO price and decreases YES
- Prices always sum to 1.00 (100%)
Price Discovery
Both prices (token and outcome) are discovered independently:| A whale buys a lot of YES | Token price goes up (SOL entered the curve). YES odds go up (CPMM shifted). |
|---|---|
| Equal YES and NO buying | Token price goes up (SOL entered). Odds stay near 50/50 (balanced CPMM). |
| Someone sells all their YES | Token price goes down (SOL left the curve). YES odds go down. |
- “This question is important but I don’t know the answer” → buy $TICKER, don’t trade YES/NO
- “I’m sure about the outcome but the market is overhyped” → sell $TICKER, buy the outcome you believe in
- “I’m bullish on everything” → buy YES with SOL (naturally does both)
Graduation
When enough SOL has entered the bonding curve, the market graduates. This is a one-time, irreversible transition.What Happens at Graduation
- The bonding curve locks — no more curve trades
- A reserved portion of $TICKER supply pairs with the collected SOL
- Together they seed a permanent AMM pool with locked liquidity
- $TICKER now trades freely on the open market
After Graduation
- $TICKER trades on its own AMM pool — anyone can buy/sell freely
- The prediction market keeps running — YES/NO trading continues until settlement
- Users can buy $TICKER on the open market and route it into the CPMM for directional bets
- The token lives on even after the prediction market resolves
