Magpie LogoMagpieM Aggregated Ecosystem

Token Launchpad

Graduation

The two-step graduation flow from bonding curve to PancakeSwap.

To avoid gas-limit failures in a single transaction, graduation is split into two steps, coordinated by the contract state machine and a backend service.

Step 1: Enter Graduating State

When the 80th percentile token is bought, the contract automatically marks the token as Graduating and stops accepting new trades. This step costs minimal gas.

Step 2: Execute Migration

  1. 1Remaining 20% of tokens + all curve-stage BNB reserves are injected into PancakeSwap to create the liquidity pool
  2. 2LP tokens are burned immediately — liquidity is locked forever and can never be withdrawn
  3. 3Contract state switches from Graduating to DEX
  4. 4All subsequent trading happens on PancakeSwap
  5. 5Dividends officially activate; dividend taxes accrued during the curve stage begin distribution

A backend service listens to on-chain events, automatically calls the graduation function when it detects the Graduating state, and retries on failure — ensuring graduation completes smoothly.

Token State Machine

StateMeaningTrading venue
BondingCurveNormal curve-stage tradingPlatform bonding curve
GraduatingPending graduation, trading paused
DEXGraduated, dividends activePancakeSwap