PoffertSwapDocs
Open app

How it works

Graduation

What happens when a token's curve is completely sold, how its pool is created and why the price does not jump.

On this page

Graduation is the moment a token grows up from its bonding curve into a real trading pool. It happens automatically, and it is the same for every token.

The three stages of a token#

  1. On the curveBuying and selling happen against the curve. This is where every token starts.
  2. FullThe last curve token has been bought. Trading pauses for a moment. The page shows Graduating….
  3. GraduatedThe token has its own pool. Trading continues there, from the swap page.

In Discover, the About to graduate tab lists curves by how far along they are, and the Graduated tab lists tokens that already made it. The King of the hill on the front page is the curve closest to graduating.

What triggers it#

A curve is full when all 793,100,000 of its tokens have been bought. At that point roughly 85 SOL has been paid in by buyers. That is the real SOL on the curve, after fees.

The last buyer is never charged for more than is left. If you try to buy more than remains, you receive what is left and keep the rest of your SOL.

What moves into the pool#

When a curve is full, a step called migrate creates the pool and fills it:

SOL moved into the pool 85.005 SOL
Tokens moved into the pool 206,900,000
Price on the curve just before 0.00000041088 SOL
Price of the new pool 0.00000041085 SOL
Difference 0.007%
  • The SOL is the real SOL the curve collected. It is wrapped, so the pool can treat it like any other token.
  • The tokens are the 206,900,000 that were set aside for this moment when the token was created.
  • Today there is no migration fee: it is set to 0, so graduating costs nothing extra. (The platform can change that setting. See Safety.)

Why the price does not jump#

The reserved tokens and the collected SOL are in exactly the right proportion, so the pool opens at the price the curve ended on. In the program's tests the two prices agree to within 0.01%. If the pool opened at a different price, the first traders could make easy money from the gap. This is the reason the share kept for the pool is 20.69% and not some other number.

Who does it, and how fast#

Anyone can trigger the migration, because it follows fixed rules and cannot be used to cheat. PoffertSwap also runs an automatic helper that looks for full curves every minute and migrates them, so graduation normally happens within about a minute of the last buy.

On the token page you see Graduating… while this happens, and the page refreshes itself every few seconds. The moment the pool exists, the page switches to a Buy and Sell pair that opens the swap page. The chart keeps going without a gap, because the history of the curve and of the pool are joined.

Note

The helper only pays the network cost of creating the pool. It has no special rights, and anyone else could do the same step. If the helper were ever offline, a full curve would simply wait until someone triggers the migration.

What you cannot do while a curve is full#

Between the last buy and the migration, the curve is closed for both buying and selling. Selling is closed too, because the tokens reserved for the pool must stay exactly where they are. The pause is short, and your tokens are safe in your wallet the whole time. Once the pool exists you can sell there.

If you try anyway, the app tells you: This token just graduated. Trading moves to its pool.

After graduation#

  • Trading happens on the pool, with a 0.30% fee: 0.20% for liquidity providers, 0.05% for the platform and 0.05% for the token's creator.
  • The creator keeps earning from the pool as well as the curve. See Portfolio and rewards.
  • The first liquidity is locked forever. The pool's starting liquidity is never turned into LP tokens, so nobody, not the creator and not the platform, can ever withdraw it. This is why a graduated token cannot be "rugged" by pulling its starting liquidity.
  • Anyone can add their own liquidity to the pool and take their own share back later. See Pools and liquidity.

Protection against a fake early pool#

A known attack on launch platforms is to create a pool for a token before it graduates, at a bad price, so that the real graduation fails or starts wrong. PoffertSwap blocks this: nobody can create a pool for a token that still has an active curve. The program refuses it, and the app explains why.

What can go wrong?#

  • The page still says Graduating… after a few minutes. The helper may be delayed. Reload the page. If a token stays full for a long time, it simply waits for the migration. Your funds are not at risk.
  • Trading is paused by the platform. The migration step is also held while pool trading is paused, and continues when it is switched on again. See Safety.