The basics
When you launch a token on V2, the contract calculates two prices.| Price | Meaning |
|---|---|
| Start price | The price of the first token sold on the curve. |
| End price | The price of the last token sold before the curve fills and the token bonds. |
gainBps in the contract) controls how much higher the end price is compared to the start price.
| Gain multiplier | End price relative to start | Notes |
|---|---|---|
| 1x | Same as start (flat) | Constant price along the curve. |
| 5x | 5 times start price | Moderate growth. |
| 11x | 11 times start price | Steep. |
| 21x | 21 times start price | The contract maximum (MAX_GAIN_BPS = 200000). |
What the multiplier actually changes
Steeper curves mean later buyers pay more and earlier buyers see their position appreciate faster on paper. Flatter curves mean later buyers pay closer to the same as early buyers. Steep curves can feel rewarding to early supporters but they front load risk. If the token bonds and the V4 pool opens at a higher price, late curve buyers can be underwater immediately. Flat curves spread the entry price more evenly and reduce the “pump on the curve then dump on the pool” pattern.Sale supply vs liquidity supply
Of the 1,000,000,000 token total supply, the contract splits the supply into two parts based on your target raise and gain multiplier.SaleSplitCalculator decides how many tokens are sold on the curve versus how many are paired with ETH in the post bond V4 pool.
The split is not fixed at 80 / 20 like V1. It is calculated per launch to make the marginal price at the end of the curve match the opening price of the V4 pool. This avoids a price jump at the bond.
You can preview the split for any target and gain combination with previewSaleSplit(targetRaise, gainBps) on the hook.
Math reference
The curve is implemented inLinearBondingCurve.sol. The forward integral (ETH paid for N tokens) and the inverse (tokens received for E ETH) both have closed forms. The contract uses these directly, so there is no off chain solver involved.
Constants from LaunchSharedState.sol:
How to read the curve in the UI
The trade page shows a curve chart with three reference points.- Starting market cap (left end of the curve)
- Current market cap (where the curve has been bought up to so far)
- Bonding market cap (right end of the curve, the point at which the token bonds)