> ## Documentation Index
> Fetch the complete documentation index at: https://pons-labs-llc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrating from v2

> Everything that changes for an integration moving from the v2 contracts to v3.

If you've integrated the v2 contracts, these are all the changes. Two of them
don't revert and just give wrong results, so check those first: the launch
record layout and the token address.

| Change | What to do |
| - | - |
| The launch record has one field fewer | 14 fields are now 13. Code that decodes the v2 layout by position gets wrong values without reverting. See [reading a launch](https://pons-labs-llc.mintlify.site/v3/reading-state.md). |
| The sweep call has one argument fewer | The step that converted tokens to the quote asset is gone, so the sweep takes the pool id and one minimum instead of two. A three-argument call won't build against the current ABI, and reverts at runtime against an old one. |
| New launch call | One instant launch call replaces the v2 launch call. The graduation calls are gone along with the curve. |
| The launch config has three fields fewer | Seven fields are now five. The curve fee, phantom quote and graduation threshold were removed with the curve, and an opening tick was added. Decoding `getLaunchConfig` with the v2 layout runs out of data, so this one does revert. |
| The pinned-terms hash changed | It's computed differently now, so read it from the v3 factory. Don't reuse a v2 value or build one yourself. |
| No permissionless sweeps | The tipped auto-sweep has been removed. Sweeps go through the allowlisted relay. |
| No address helper | `predictLaunchAddresses` has been removed, but token addresses are still CREATE2 and you can still compute them. The salt is `keccak256(abi.encode(msg.sender, params.salt))` on the launch deployer. If you keep using the v2 formula, you'll pre-sign buys for an address that never gets a contract. |
| No launching for another wallet | The deployer is always the caller. Set the fee recipient if the earnings should go to someone else. |
| TokenParams is unchanged | Same ten fields in the same order as the v2 factory, including the salt. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.