Flare
App

Concepts

Graduation

A sold-out curve moves to a Raydium CPMM pool.

A flare graduates when its curve sells out: 793,100,000 of its 1,000,000,000 tokens sold, about 85 SOL raised. It can only happen inside the window.

What happens

  1. The buy that sells the curve out moves the flare to migrating. Nothing trades for a moment: a trade build answers CURVE_COMPLETE with a time to retry.
  2. Raydium's migration crank sends migrate_to_cpswap. It creates a Raydium CPMM pool from the curve's SOL and remaining tokens, and locks all of the pool's LP into a Fee Key owned by Flare's platform key.
  3. The indexer reads the new pool from the migration and the flare becomes graduated, with cpmmPool and graduatedAt set.
  4. From then on, the flare trades on the pool, and POST /v1/trade/build builds trades there. The quote says venue: "cpmm".

After graduation

  • Each pool trade pays the pool's 0.2% trade fee and its 1.9% creator fee in SOL. The creator fee goes to the platform key as the pool's creator, less the 5% Raydium keeps of each collect, and half of what the platform collects is credited to the flare's marketing treasury.
  • The Attention Index keeps scoring the flare from its pool trades.
  • The window no longer applies: a graduated flare never expires.
  • The access list is final. Only epochs that closed before graduation count.

See Fees for the full split and Instructions for the transactions involved.