bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 7쪽
siest for traders to understand and works well when anti-sniper fee decay is not needed.
</Accordion>
<Accordion title="I want a public fee countdown">
Use linear scheduling. It is the easiest decaying-fee model to communicate because each reduction is the same size.
</Accordion>
<Accordion title="I want high protection only at the beginning">
Use exponential scheduling. It front-loads fee protection while making the launch more accessible as early trading settles.
</Accordion>
</AccordionGroup>
# DBC Fees
Source: https://docs.meteora.ag/core-products/dbc/fees/overview
Understand DBC fee layers, base fee modes, fixed-fee behavior, dynamic fees, collect fee modes, protocol fees, referral fees, and partner or creator fee sharing.
DBC fees are built for launches. A pool can start with simple fixed-fee behavior, high anti-sniper fees that decay over time, and optional dynamic fees that respond to volatility.
This gives launchpads and creators a way to shape early trading behavior while still allowing the token to graduate into a long-term DAMM market.
## Fee Layers
Every DBC swap starts with a trading fee.
```math theme={"system"}
\text{Trading Fee} = \text{Base Fee} + \text{Dynamic Fee}
```
The base fee is required. The dynamic fee is optional.
Fee rates are stored as numerators over `1,000,000,000`. A `0.25%` fee is `2,500,000`, and the total trading fee is capped at `990,000,000`, or `99%`.
## Base Fee Modes
DBC has three on-chain base fee modes: `linear scheduler`, `exponential scheduler`, and deprecated `rate limiter`. New configs should use a scheduler. Fixed-fee behavior is also available for teams who want a simple non-decaying fee.
<CardGroup>
<Card title="Fee Scheduler" href="/core-products/dbc/fees/fee-scheduler" icon="chart-line">
Use fixed, linear, or exponential scheduler behavior for predictable fee paths.
</Card>
<Card title="Rate Limiter" href="/core-products/dbc/fees/rate-limiter" icon="gauge-high">
Deprecated for new configs. Existing pools can still use buy-size-sensitive fees during the limiter window.
</Card>
</CardGroup>
<Note>
Fixed-fee behavior is a product pattern. On-chain, it is represented by a scheduler-style configuration that keeps the base fee constant instead of a separate fixed-fee mode.
</Note>
## Fixed-Fee Behavior
A fixed-fee launch charges one predictable base fee during the bonding curve phase unless optional dynamic fees are enabled.
```math theme={"system"}
\text{Base Fee} = \text{Configured Fee}
```
If dynamic fees are enabled:
```math theme={"system"}
\text{Total Trading Fee} = \text{Configured Fee} + \text{Dynamic Fee}
```
This is the simplest design to communicate. It works best when the launch values clarity over aggressive launch protection.
## Dynamic Fee
<CardGroup>
<Card title="Dynamic Fees" href="/core-products/dbc/fees/dynamic-fees" icon="wave-pulse">
Optional volatility-responsive fees can sit on top of the selected base fee mode.
</Card>
</CardGroup>
Dynamic fees are useful when a launch wants fees to increase during volatile periods without permanently raising the base fee.
## Collect Fee Modes
DBC has two bonding-phase collect fee modes.
| Mode | Product Behavior | Best Fit |
| - | - | - |
| Quote Token | Fees are collected in the quote token. For buys, fees are taken from the quote input. For sells, fees are taken from the quote output. | Launches that want fee accounting in SOL, USDC, or another quote token. |
| Output Token | Fees are collected from the token received by the trader. Buys pay fees in base token, sells pay fees in quote token. | Launches that want fee collection to follow trade direction. |
## Fee Bounds
DBC bonding phase trading fees use a 0.25% minimum base fee and a 99% maximum total fee cap. These bounds help keep launch configurations valid while still supporting high early fees for anti-sniper designs.
## Fee Distribution
DBC splits fees into protocol, referral, partner, and creator portions.
| Fee Recipient | Product Meaning |
| - | - |
| Protocol | Receives 20% of the total trading fee. |
| Referral | When present, receives 20% of the protocol fee. |
| Partner | Receives the partner share of the non-protocol trading fee. |
| Creator | Receives the configured creator share of the non-protocol trading fee. |
The referral share is paid out of the protocol fee, not in addition to it. The creator share is controlled by `creator_trading_fee_percentage`. If it is set to 0%, the partner receives the full partner and creator fee allocation. If it is set to 20%, the creator receives 20% of that allocation and the partner receives the remaining 80%.
Trading fee balances are tracked on the virtual pool as swaps happen. Partner, creator, and protocol trading fees can be claimed as they accrue; they do not need to wait for migration.
## Pool Creation Fees
Partners can configure a pool creation fee that is paid when the virtual pool is created. This fee is split between protocol and partner.
Pool creation fee claims are separate from trading fees and migration. They can be claimed once after the virtual pool exists, subject to the program's claim flags.
## Migration Fees
DBC also supports a migration fee, which is separate from regular trading fees. This fee is taken from the migration quote amount when the pool graduates.
The migration fee can be split between partner and creator.
Partner and creator migration-fee withdrawals become available after the bonding curve is complete. They do not require the migrated DAMM pool to be fully created first.
<Note>
DBC also applies a fixed 0.2% protocol liquidity migration fee during migration. The program tracks this as protocol migration base and quote fees, so it reduces the amount of liquidity that goes into the migrated pool by 20 bps.
</Note>
## Post-Migration Fees
When a DBC pool graduates, the migrated DAMM pool has its own fee behavior.
For DAMM v2 migration, the config can define the migrated pool collect fee mode, base fee, dynamic fee option, market-cap scheduler settings, and compounding fee behavior. These settings affect the DAMM v2 pool after graduation, not the DBC virtual pool during the bonding phase.
## Choosing a Fee Design
<AccordionGroup>
<Accordion title="I want a simple, predictable fee">
Use a fixed base fee. It is easiest to explain and works well when the launch does not need extra launch protection.
</Accordion>
<Accordion title="I want high early fees that decay by time">
Use a linear or exponential fee scheduler. Linear is easier to communicate. Exponential drops faster early and slows as it approaches the final fee.
</Accordion>
<Accordion title="I want large launch buys to pay more">
Rate limiter mode is deprecated for new configs. Use a high starting scheduler fee, or add dynamic fees, instead of creating a new rate-limiter config.
</Accordion>
<Accordion title="I want fees to react to volatility">
Add dynamic fees on top of the selected base fee mode.
</Accordion>
</AccordionGroup>
# DBC Rate Limiter
Source: https://docs.meteora.ag/core-products/dbc/fees/rate-limiter
Learn how DBC rate limiter fees increase with buy size and single-swap validation to help protect launches from oversized early buys.
The DBC rate limiter is a deprecated base fee mode that increases the fee as buy size increases.
<Warning>
Rate limiter mode is deprecated for new configs and new pools. `create_config` and pool initialization reject `BaseFeeMode::RateLimiter`. Existing rate-limiter pools can still be quoted and swapped. Use a linear or exponential scheduler, or fixed-fee behavior, for new launches.
</Warning>
It was designed for launches where the main risk is not only who buys first, but how much they buy. Small buys can pay the starting fee, while larger buys pay a higher average fee during the limiter window.
## How It Works
The rate limiter uses four core settings.
| Setting | Product Meaning |
| - | - |
| Cliff fee | The starting fee for buys up to the reference amount. |
| Reference amount | The trade size unit used to calculate fee tiers. |
| Fee increment bps | How much the fee increases for each additional reference amount. |
| Max limiter duration | How long the limiter stays active after launch. |
In product terms, the rate limiter behaves like fee brackets.
```text theme={"system"}
Small buy -> base fee
Medium buy -> higher average fee
Large buy -> even higher average fee
```
## Example
Assume:
* Reference amount: 1 SOL.
* Cliff fee: 1%.
* Fee increment: 1%.
Then:
| Buy Size | Product Behavior |
| - | - |
| 1 SOL | Pays the starting fee. |
| 2 SOL | Pays a higher average fee. |
| 3 SOL | Pays a higher average fee again. |
This does not block large buys. It makes large buys more expensive during the configured launch window.
It also helps protect the fee design at the transaction level. When the limiter is active, the program validates single-swap behavior for the pool so traders cannot easily split one large buy into multiple swaps inside the same transaction.
For exact-in swaps, the limiter derives the fee from the included input amount. For exact-out swaps, it derives the fee from the excluded amount and performs a conservative reverse calculation, so different swap modes can produce slightly different effective limiter behavior.
## Requirements
Rate limiter mode has important constraints.
| Requirement | Product Meaning |
| - | - |
| Quote Token collect fee mode | Rate limiter is designed for quote-token fee collection. |
| Buy-side behavior | It applies to quote-to-base buys, not regular sell-side behavior. |
| One base fee mode | It is mutually exclusive with the fee scheduler modes. |
| Max duration | The limiter duration is capped at 12 hours. |
| Fee bounds | The starting fee must stay within DBC's bonding phase fee bounds. |
| Single-swap validation | Active rate limiter trades are checked so a transaction cannot bundle multiple swaps for the same pool to bypass the limiter. |
The 12-hour cap is represented as `43,200` seconds for timestamp activation or `108,000` slots for slot activation. If `reference_amount`, `max_limiter_duration`, and `fee_increment_bps` are all zero, rate limiter mode behaves like a fixed cliff-fee mode.
<Warning>
Rate limiter should be used when the launch specifically wants buy-size-sensitive fees. If the launch only needs time-based fee decay, use a linear or exponential scheduler instead.
</Warning>
## Why Use Rate Limiter
<CardGroup>
<Card title="Discourage Oversized Buys" icon="scale-balanced">
Very large launch buys can become progressively more expensive.
</Card>
<Card title="Protect Early Distribution" icon="shield">
The fee slope can reduce the advantage of a single large first mover.
</Card>
<Card title="Preserve Small Buyer Access" icon="users">
Smaller buys can still use the starting fee while larger buys move into higher tiers.
</Card>
<Card title="Short Launch Window" icon="hourglass-half">
The limiter is meant for early launch protection, not permanent pool behavior.
</Card>
</CardGroup>
## When To Choose It
Choose rate limiter when:
* The launch expects aggressive large buys.
* The goal is to make large buys less attractive without fully preventing them.
* The launch wants fee protection based on size rather than time.
* Fees should return to the base level after the limiter window ends.
# DBC Formulas
Source: https://docs.meteora.ag/core-products/dbc/formulas
Understand the product math behind DBC price movement, universal curve segments, migration thresholds, trading fees, surplus, protocol migration fees, and leftover tokens.
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%`.
## Curve Segment Formula
Each DBC curve segment behaves like a constant-product price range.
```math theme={"system"}
x \times y = k
```
In DBC product terms:
* `x` represents the base token side of the curve.
* `y` represents the quote token side of the curve.
* `L` represents virtual liquidity.
* `sqrt_price` represents the square root of the token price.
The curve is built from one or more price ranges. Each range has a lower price, an upper price, and a liquidity value.
## Base Tokens Sold Through a Segment
The amount of base token available across a curve segment is:
```math theme={"system"}
\text{Base Amount} = L \times \left(\frac{1}{\sqrt{P_\text{lower}}} - \frac{1}{\sqrt{P_\text{upper}}}\right)
```
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.
## Quote Tokens Collected Through a Segment
The amount of quote token needed to move through a segment is:
```math theme={"system"}
\text{Quote Amount} = L \times (\sqrt{P_\text{upper}} - \sqrt{P_\text{lower}})
```
In product terms, this tells you how much buying demand is needed to move from one curve price to the next.
## Migration Quote Threshold
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:
```math theme={"system"}
\text{Migration Quote Threshold} =
\sum_i L_i \times (\sqrt{P_i} - \sqrt{P_{i-1}})
```
The pool becomes migration-ready when:
```math theme={"system"}
\text{Quote Reserve} \ge \text{Migration Quote Threshold}
```
## Migration Price
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.
```math theme={"system"}
\text{Migration Price} = \left(\sqrt{P_\text{migration}}\right)^2
```
This 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.
## Total Trading Fee
DBC trading fees have two layers:
```math theme={"system"}
\text{Total Trading Fee} = \text{Base Fee} + \text{Dynamic Fee}
```
The 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%`.
## Base Fee
The base fee is the default trading fee behavior. DBC supports fee scheduler and rate limiter behavior:
| Base Fee Mode | Product Meaning |
| - | - |
| Fee scheduler | Fee can stay fixed, decrease linearly, or decrease exponentially by schedule. |
| Rate limiter | Fee increases with buy size during the configured launch window. |
A fixed-fee launch can be represented as a scheduler that does not decay.
## Dynamic Fee
The dynamic fee responds to volatility.
```math theme={"system"}
\text{Dynamic Fee} =
\left\lceil
\frac{(\text{Volatility Accumulator} \times \text{Bin Step})^2 \times \text{Variable Fee Control}}{100000000000}
\right\rceil
```
In product terms, the dynamic fee rises when price movement becomes more intense and decays when trading calms down.
## Fee Split
DBC first splits the total trading fee into protocol and non-protocol portions.
```math theme={"system"}
\text{Protocol Fee} = \text{Trading Fee} \times 20\%
```
If a referral is included, the referral receives a share of the protocol fee.
```math theme={"system"}
\text{Referral Fee} = \text{Protocol Fee} \times 20\%
```
The remaining trading fee is shared between partner and creator according to the config.
```math theme={"system"}
\text{Creator Fee} = \text{LP Fee} \times \text{Creator Trading Fee Percentage}
```
```math theme={"system"}
\text{Partner Fee} = \text{LP Fee} - \text{Creator Fee}
```
## Migration Fee
DBC can take a configured migration fee from the quote reserve at graduation.
That fee can be split between partner and creator.
```math theme={"system"}
\text{Creator Migration Fee} =
\text{Migration Fee} \times \text{Creator Migration Fee Percentage}
```
```math theme={"system"}
\text{Partner Migration Fee} =
\text{Migration Fee} - \text{Creator Migration Fee}
```
Partner 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:
```math theme={"system"}
\text{Migration Quote Amount} =
\left\lceil
\text{Migration Quote Threshold} \times \frac{100 - \text{Migration Fee Percentage}}{100}
\right\rceil
```
```math theme={"system"}
\text{Migration Fee} =
\text{Migration Quote Threshold} - \text{Migration Quote Amount}
```
<Note>
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.
</Note>
## Pool Creation Fee
Partners can configure a pool creation fee that is paid when a creator launches from the config.
```math theme={"system"}
\text{Protocol Pool Creation Fee} = \text{Pool Creation Fee} \times 10\%
```
```math theme={"system"}
\text{Partner Pool Creation Fee} = \text{Pool Creation Fee} - \text{Protocol Pool Creation Fee}
```
Pool 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
Surplus is extra quote reserve above the migration threshold.
```math theme={"system"}
\text{Total Surplus} = \text{Quote Reserve} - \text{Migration Quote Threshold}
```
DBC allocates 80% of surplus to partner and creator, then splits that share using the creator trading fee percentage. The remaining 20% is protocol surplus.
```math theme={"system"}
\text{Partner and Creator Surplus} = \left\lfloor\text{Total Surplus} \times 80\%\right\rfloor
```
```math theme={"system"}
\text{Protocol Surplus} = \text{Total Surplus} - \left\lfloor\text{Total Surplus} \times 80\%\right\rfloor
```
## Leftover
Leftover applies to fixed-supply launches.
```math theme={"system"}
\text{Leftover} =
\text{Remaining Base Vault Amount}
- \text{Protocol and Trading Base Fees}
- \text{Protocol Migration Base Fee}
```
In 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.
# DBC Launch Configuration
Source: https://docs.meteora.ag/core-products/dbc/launch-configurations
Review the DBC configuration fields that sit around the curve, including token settings, transfer hooks, fees, migration, supply, liquidity locks, and claim addresses.
DBC configs are reusable launch templates. The curve defines price discovery; the surrounding config defines which token can launch, how fees behave, how migration works, and who can claim each economic bucket.
Use this page as a checklist. For implementation limits and permissions, see [DBC Accounts and Permissions](/core-products/dbc/accounts-and-permissions).
## Core Fields
| Field | Program Behavior |
| - | - |
| Quote mint | Must be supported. SPL Token quote mints are permissionless. Token 2022 quote mints are permissionless only with metadata-related extensions and a zero transfer fee. Other Token 2022 quote extensions need a token badge at remaining account index `0`. |
| Activation type | Slot-based or timestamp-based. Fee schedules use the same activation type. |
| Token decimals | Must be from `6` to `9`. |
| Token type | SPL Token or Token 2022. Token 2022 launches must use DAMM v2 migration. |
| Token authority option프로젝트로 돌아가기