> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raydium.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LP fee distribution

> How LaunchLab platform settings split migrated CPMM LP tokens between platform Fee Keys, creator Fee Keys, and burned liquidity.

When a LaunchLab token migrates to CPMM, the migrated pool mints LP tokens. Platform config controls what happens to those LP tokens.

## The LP split

`migrateCpLockNftScale` has three fields. The values must sum to `1_000_000`, which represents 100%.

| Field           | Meaning                                                                               |
| --------------- | ------------------------------------------------------------------------------------- |
| `platformScale` | LP tokens are locked through Burn & Earn. The platform receives the Fee Key NFT.      |
| `creatorScale`  | LP tokens are locked through Burn & Earn. The token creator receives the Fee Key NFT. |
| `burnScale`     | LP tokens are burned permanently. No Fee Key NFT is created for this share.           |

This is a platform-level setting. Tokens launched through the same platform inherit the same LP distribution until the platform updates the setting.

## Examples

```ts theme={null}
// 40% platform, 50% creator, 10% burned.
migrateCpLockNftScale: {
  platformScale: new BN(400_000),
  creatorScale: new BN(500_000),
  burnScale: new BN(100_000),
}

// 100% creator Fee Key.
migrateCpLockNftScale: {
  platformScale: new BN(0),
  creatorScale: new BN(1_000_000),
  burnScale: new BN(0),
}

// 100% burned.
migrateCpLockNftScale: {
  platformScale: new BN(0),
  creatorScale: new BN(0),
  burnScale: new BN(1_000_000),
}
```

## Relationship to CPMM fees

`migrateCpLockNftScale` controls **who can claim LP fee rights**. It does not set the swap fee rate. The migrated pool's swap fee behavior comes from the CPMM `AmmConfig` selected by `cpConfigId`.

For example, if a migrated CPMM pool uses a 0.25% trade-fee config and `creatorScale` is 500,000, the creator's Fee Key represents 50% of the locked LP fee rights. If `platformScale` is 400,000, the platform's Fee Key represents 40%.

## Updating the split

Platform config updates are rate-limited by epoch. Treat LP distribution as an important platform policy, not a casual UI setting.

Before updating:

* Confirm the three scale values sum to `1_000_000`.
* Confirm the platform understands who will receive Fee Key NFTs after future migrations.
* Document the change for creators before new launches use it.

## Pointers

* [Platform config](/products/launchlab/platform-config)
* [Burn & Earn](/user-flows/burn-and-earn)
* [LaunchLab & CPMM fee reference](/products/launchlab/tips-and-gotchas/launchlab-cpmm-fee-reference)
* [LaunchLab platforms](/user-flows/launchlab-platforms)
