Curve & Floor Math
This page defines the fixed-point math behind SV3 curve pricing, floor raises, and area preservation used in the $10 launch simulation.
This page defines the math behind the behavior shown in the $10 launch simulation. Prices use 18-decimal fixed point. Token quantities use 18 decimals, while reserve balances settle in 6-decimal USDC atoms.
Curve shape
An SV3 curve has three connected regions:
- a flat floor;
- a steeper ramp; and
- the main rising line.
Let be curve supply, the floor, the end of the flat region, the end of the ramp, the ramp slope, and the main slope.
For the flat region through :
For the steeper ramp from through :
For the main line above :
The v1 preset fixes the ramp at 2.5 times the main slope:
At launch, . The curve therefore begins as one rising line from the initial floor.
| V1 linear curve field | Human value |
|---|---|
| Initial floor | 0.0001 USDC/token |
| Main slope | 0.00000001 USDC per additional whole token |
| Ramp slope | 0.000000025 USDC per additional whole token |
| Ramp end and width at launch | 0 |
Reserve is the area under the curve
Define curve area through supply :
A buy that moves supply from to deposits:
A sell moving from down to receives this gross curve output before fees:
At launch:
This gives the buy-only relationship used in the simulation:
The market can mint only after receiving the corresponding area. A curve sell burns the returned tokens and releases the area that is no longer required.
How a floor raise restructures the selloff
An area-preserving raise changes the lower shape of the curve while holding both live spot and required curve area fixed at current supply :
Area preservation concentrates the below-spot price movement into a shorter, steeper ramp. Sellers can therefore move spot faster after the raise. The benefit appears at the end of that ramp: canonical spot reaches a higher floor and stays flat there.
The total curve area is unchanged for this part of the raise. Floor-directed fees or donations can add backing for a further increase.
The deterministic controller applies floor capacity in this order:
- Use all legal area-preserving headroom.
- Measure recognized backing surplus.
- Retain the configured surplus buffer—10% under the default v1 policy.
- Commit the spendable surplus to the highest additional floor that preserves spot and solvency.
The floor cannot rise above live spot. Under repeated maximum area-preserving raises, the fixed 2.5× ramp approaches a floor/spot ratio near 43.6% as the initial floor becomes small relative to spot. This is curve geometry, not an ATH peg or a guaranteed ratio for every market state.
Actual supply and curve supply
Most buys and sells move token supply and the curve coordinate together. Some floor-priced actions move only actual supply. SV3 tracks both quantities so every token stays floor-liable without forcing those actions to move spot.
Let:
- be actual ERC-20 supply;
- be the signed supply offset; and
- be virtual curve supply.
| Action | Actual supply | Curve supply | Offset | Spot |
|---|---|---|---|---|
| Curve buy | Increases | Increases equally | Unchanged | Rises |
| Curve sell | Decreases | Decreases equally | Unchanged | Falls |
| Floor redemption | Decreases | Unchanged | Decreases | Unchanged |
| Collateral surrender | Decreases | Unchanged | Decreases | Unchanged |
| Future current-floor option exercise | Increases | Unchanged | Increases | Unchanged |
Backing equations
Let be floor liability, excess curve area above the floor, required backing, liquid accounted reserve, outstanding debt, and gross backing.
Before contract rounding:
Every accepted financial action must preserve:
Outstanding debt remains in gross backing because it records reserve paid early against floor-valued collateral held by the market. The debt is paired with tokens that cannot also be sold or withdrawn.
Gross floor and wallet proceeds
The on-chain floor is a gross USDC value per token. Direct floor redemption charges the 1.25% sell fee:
Gas and conservative rounding can reduce final wallet proceeds further. Interfaces should display gross floor, estimated net floor, and executable quote as separate values.
Conservative rounding
The contracts settle curve prices and areas at 18-decimal precision, then cross into 6-decimal USDC with an explicit direction.
| Calculation | Contract direction |
|---|---|
| Exact-USDC buy token output | Down |
| Exact-token buy required USDC | Up |
| Sell gross and net output | Down |
| Required backing and floor liability | Up |
| Advance capacity | Down |
| Collateral required for debt or surrender | Up |
| Fee split dust | Floor backing |
Solvency uses inequalities rather than approximate equality. The generated manifest records the inputs and full-precision outputs used by the public charts.