Use this file to discover all available pages before exploring further.
DBC uses concentrated-liquidity style math to create a customizable bonding curve. You do not need to understand every implementation detail to use the product, but the formulas below explain the main economic levers behind a launch.On-chain fee numerators use a denominator of 1,000,000,000. For example, 2,500,000 is 0.25%, and 990,000,000 is 99%.
The amount of base token available across a curve segment is:Base Amount=L×(Plower1−Pupper1)In product terms, this tells you how much launched token can be sold while the price moves through that segment.If a segment has more liquidity, more quote tokens are needed to move price through the segment. If it has less liquidity, price moves faster.
The amount of quote token needed to move through a segment is:Quote Amount=L×(Pupper−Plower)In product terms, this tells you how much buying demand is needed to move from one curve price to the next.
The migration quote threshold is the amount of quote reserve needed before the launch can graduate.For a multi-segment curve, the total quote amount is the sum of the quote amount across each segment up to the migration price:Migration Quote Threshold=i∑Li×(Pi−Pi−1)The pool becomes migration-ready when:Quote Reserve≥Migration Quote Threshold
The migration price is the price reached when the quote reserve hits the migration threshold. DBC derives this price from the curve and uses it to initialize the migrated DAMM pool.Migration Price=(Pmigration)2This matters because the post-migration DAMM pool should open around the price discovered by the bonding curve, not an unrelated price chosen after the fact.
DBC trading fees have two layers:Total Trading Fee=Base Fee+Dynamic FeeThe base fee is always present. The dynamic fee is optional and becomes zero when disabled.The total fee numerator is capped at 990,000,000, or 99%.
The dynamic fee responds to volatility.Dynamic Fee=⌈100000000000(Volatility Accumulator×Bin Step)2×Variable Fee Control⌉In product terms, the dynamic fee rises when price movement becomes more intense and decays when trading calms down.
DBC first splits the total trading fee into protocol and non-protocol portions.Protocol Fee=Trading Fee×20%If a referral is included, the referral receives a share of the protocol fee.Referral Fee=Protocol Fee×20%The remaining trading fee is shared between partner and creator according to the config.Creator Fee=LP Fee×Creator Trading Fee PercentagePartner Fee=LP Fee−Creator Fee
DBC can take a configured migration fee from the quote reserve at graduation.That fee can be split between partner and creator.Creator Migration Fee=Migration Fee×Creator Migration Fee PercentagePartner Migration Fee=Migration Fee−Creator Migration FeePartner and creator migration-fee withdrawals are available after the curve is complete because the program can then confirm the launch reached its migration quote threshold.The quote amount used for migration is calculated by removing the configured migration fee from the migration threshold, rounded up:Migration Quote Amount=⌈Migration Quote Threshold×100100−Migration Fee Percentage⌉Migration Fee=Migration Quote Threshold−Migration Quote Amount
A fixed 0.2% protocol liquidity migration fee also applies during migration. It is separate from the configurable partner and creator migration fee, and it reduces the base and quote liquidity deposited into the migrated pool.
Partners can configure a pool creation fee that is paid when a creator launches from the config.Protocol Pool Creation Fee=Pool Creation Fee×10%Partner Pool Creation Fee=Pool Creation Fee−Protocol Pool Creation FeePool creation fee claims are tied to virtual pool creation, not to curve completion or migration.If configured, the pool creation fee must be between 0.001 SOL and 100 SOL, denominated in lamports.
Surplus is extra quote reserve above the migration threshold.Total Surplus=Quote Reserve−Migration Quote ThresholdDBC allocates 80% of surplus to partner and creator, then splits that share using the creator trading fee percentage. The remaining 20% is protocol surplus.Partner and Creator Surplus=⌊Total Surplus×80%⌋Protocol Surplus=Total Surplus−⌊Total Surplus×80%⌋
Leftover applies to fixed-supply launches.Leftover=Remaining Base Vault Amount−Protocol and Trading Base Fees−Protocol Migration Base FeeIn product terms, leftover is the unused base token supply that remains after the migrated pool is created and claimable base-token fee balances are excluded.