Reclaim spawn

A coin is underwater when it is worth less than the day it spawned. On the curve, one buy fixes that. The amount comes from the pool's own reserves, fee included, and you see it before you sign.

CoinSpawnNowVs spawnCurveReclaim

The math

A StonkFun coin trades on a Raydium LaunchLab constant-product curve with virtual reserves: A coins and B of the quote asset. The price is B / A, and every trade keeps A × B = k.

price now p = (vB + raised)² / k spawn target p* = spawn market cap / 1,000,000,000 / quote price in $ quote to add Δ = √(k · p*) − (vB + raised) you pay Δ / (1 − 1.25%) 0.25% Raydium + 1% StonkFun, creator 0%

If p* sits above the graduation price, the buy stops at graduation and the coin moves into its Raydium pool. The ticket says so before you sign.

Where the spawn line comes from

  • 20K spawns: StonkFun sizes the raise in dollars so the curve opens at $20,000 of the quote asset. If that asset has fallen since, the coin is underwater with zero sells.
  • Classic spawns paired with SOL: the curve opens at 27.96 SOL. Its dollar spawn is that times SOL's Coinbase price in the launch hour.
  • Classic spawns on other pairs are measured in the quote asset, and a curve never trades below where it started. Those only go under after graduation.

Respawn reads the pool with costTo(mint, { mcUsd: spawn }) and signs a normal LaunchLab buy from your wallet. Nothing is held by the pad, and the buy carries a memo tagged with the pad's reference key so it can be found on chain.