> For the complete documentation index, see [llms.txt](https://docs.peach.ag/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/graduation.md).

# Graduation

Graduation moves a Pro token from Curve trading into its official Uniswap V4 pool in two stages: **sweep the reserves**, then **create and fund the pool**.

The Curve is ready to sweep when it is initialized, has not been swept and has no sellable tokens remaining. `Curve.graduated()` records the sweep; V4 trading requires status PoolCreated and an active Hook.

### Actions and failure states

| Action                                | Who calls / condition                                           | Success                              | Failed attempt                                                                                          |
| ------------------------------------- | --------------------------------------------------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------- |
| Final Curve buy                       | Buyer; ordinary trade checks                                    | Trade completes and attempts a sweep | A caught sweep failure leaves the trade successful and status NotGraduated; sold-out Curve stays closed |
| `Factory.graduate(token)`             | Anyone; Curve ready and graduation checks pass                  | NotGraduated → Swept                 | State remains NotGraduated                                                                              |
| `Factory.forceSweptGraduation(token)` | Factory Owner; Curve ready and reserve checks pass              | Recovery sweep → Swept               | The attempt rolls back                                                                                  |
| `Factory.createGraduatedPool(token)`  | Anyone; current status Swept                                    | Swept → PoolCreated                  | Remains Swept; retry is possible                                                                        |
| `Factory.emergencyExit(token)`        | Current Owner after 24 hours, anyone else after 7 days in Swept | Swept → EmergencyExited              | Remains Swept                                                                                           |

An initial buy during creation can also exhaust the Curve and attempt its sweep. Read `Factory.graduations(token)` after the receipt. PoolCreated and EmergencyExited are mutually exclusive terminal states.

### Where the funds go

The sweep moves the Curve's remaining launch-token reserve and its Quote reserve into graduation custody. It **excludes accrued trading fees and Creator Tax**, which remain in their fee ledgers for separate settlement. Sweeping reserves is not a fee payout.

Pool creation uses those reserves to supply full-range V4 liquidity. Its position and residual launch tokens are permanently locked in LaunchLocker; Quote rounding dust goes to the configured protocol recipient. The protocol's locked position has no withdrawal or fee-collection flow. Independently added liquidity has its own ownership.

`sweptAt` is set by the successful sweep. Failed pool-creation retries do not reset it. If pool creation cannot complete, use the timed [Emergency Exit](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/emergency-exit) path.

### Display readiness

For progress, compare `trackedQuote - quoteFeeBalance - creatorTaxBalance` with `graduationThreshold`, using one Curve snapshot and the Quote's raw units. This excludes accrued fees, Creator Tax and unsolicited transfers. Use `graduationReady()` and the actual status for actions; a displayed 100% does not make a pool tradable.

After PoolCreated, verify the official pool and active Hook before routing swaps. Continue with [Trading Before and After Graduation](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/trading-before-and-after-graduation).

If pool protection has a nonempty list, successful V4 pool creation starts the token's Creator-selected countdown. Failed retries do not start it. See [Pool Protection](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/tax-and-pool-protection).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/graduation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
