Skip to main content

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.

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%.
FieldMeaning
platformScaleLP tokens are locked through Burn & Earn. The platform receives the Fee Key NFT.
creatorScaleLP tokens are locked through Burn & Earn. The token creator receives the Fee Key NFT.
burnScaleLP 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

// 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