Skip to main content

Overview

A DBC launch is configured via a PoolConfig account (the “config key”). The config is created once and can be used to launch many virtual pools from it. All parameters that determine how the launch behaves are set here.

Token Configuration

ParameterDescription
token_decimalBase token decimals (1–9)
token_typeSplToken (0) or Token2022 (1)
token_update_authorityWhether the creator retains update authority post-migration
fixed_token_supply_flag0 = dynamic (mint on buy), 1 = fixed (pre-minted)
pre_migration_token_supplyOnly for fixed supply — total initial supply
post_migration_token_supplyTokens remaining after migration (for LP + locked)
leftover_receiverAddress to receive leftover tokens (fixed supply only)

Fee Configuration

Trading Fees

Fees are collected in the quote token (quote_token mode) or the output token (output_token mode):
collect_fee_modeValueDescription
QuoteToken0Fees always in quote token (SOL/USDC)
OutputToken1Fees in whichever token is received by the trader
DBC’s collect_fee_mode has different values from DAMM v2. DBC: 0 = QuoteToken, 1 = OutputToken. DAMM v2: 0 = BothToken, 1 = OnlyB, 2 = Compounding.

Fee Split

Trading Fee
  ├── Protocol Fee   (fixed by program)
  ├── Partner Fee    (configured by partner/launchpad)
  └── Creator Fee    (creator_trading_fee_percentage %)
ParameterDescription
creator_trading_fee_percentagePercent of LP fee that goes to creator (0–100)

Migration Configuration

Migration Target

migration_optionValueTarget
MeteoraDamm0Migrate to DAMM v1
DammV21Migrate to DAMM v2

Migration Thresholds

ParameterDescription
migration_quote_thresholdQuote reserve level that triggers migration
migration_base_thresholdBase tokens to add to the migrated pool
migration_sqrt_priceInitial price of the post-migration DAMM pool

Migration Fee

A one-time fee is deducted at migration. Options:
MigrationFeeOptionFee
FixedBps250.25%
FixedBps300.30%
FixedBps1001.00%
FixedBps2002.00%
FixedBps4004.00%
FixedBps6006.00%
CustomizableCustom (set with a separate config for DAMM v2 migration)
Split between:
  • migration_fee_percentage → protocol
  • creator_migration_fee_percentage → creator

LP Distribution

After migration, the post-migration liquidity is distributed across:
BucketParameterDescription
Partner LPpartner_liquidity_percentage% of LP going to the partner/launchpad
Creator LPcreator_liquidity_percentage% of LP going to the creator
Additionally, a portion of each allocation can be permanently locked:
ParameterDescription
partner_permanent_locked_liquidity_percentage% of partner LP locked forever
creator_permanent_locked_liquidity_percentage% of creator LP locked forever

Vesting

The remaining (non-permanently-locked) LP can vest on a schedule:
partner_liquidity_vesting_info:
  cliff_duration_from_migration_time: 0       // immediate cliff
  frequency: 86400                            // daily releases
  number_of_period: 365                       // over 1 year
  cliff_unlock_amount: <amount>
  amount_per_period: <amount>

Post-Migration Pool Settings (DAMM v2)

When migrating to DAMM v2, additional parameters control the post-migration pool:
ParameterDescription
migrated_collect_fee_modeCollect fee mode for the DAMM v2 pool
migrated_dynamic_feeWhether dynamic fee is enabled on DAMM v2 pool
migrated_pool_fee_bpsBase fee for the DAMM v2 pool
migrated_pool_base_fee_modeBase fee mode for DAMM v2 pool
migrated_pool_base_fee_bytesEncoded base fee params for the DAMM v2 pool

Activation Type

activation_typeValueDescription
Slot0Pool opens at a specific slot
Timestamp1Pool opens at a specific timestamp
Setting activation_point to a future slot/timestamp delays all trading until that point.

Pool Creation Fee

ParameterDescription
pool_creation_feeLamports charged to create a virtual pool from this config
This is collected from the pool creator at creation time and distributable via claimCreatorTradingFee.