bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 9쪽
ches must use DAMM v2.
</Warning>
## Supported Quote Tokens
DBC can use SPL Token quote assets permissionlessly. Token 2022 quote assets are permissionless only when the mint uses metadata-related extensions and has a zero transfer fee.
Permissionless Token 2022 quote mint extensions:
* Metadata Pointer
* Token Metadata
SPL Token quote mints are always accepted. A Token 2022 quote mint with no extensions is also accepted permissionlessly, as long as it is not the Token 2022 native mint.
<Warning>
The Token 2022 native mint `So11111111111111111111111111111111111111112` is not supported as a DBC quote mint. Use the standard wrapped SOL mint instead.
</Warning>
DBC records whether the quote mint belongs to the SPL Token program or Token 2022 program. Token transfers use `transfer_checked`, so integrations should provide the token program that matches each mint.
## Quote Mint Token Badges
Some Token 2022 quote mints use extensions outside the permissionless allowlist, such as Permanent Delegate. Those quote mints need a **token badge** before they can be used in a new DBC config or virtual pool.
This is the path used for Stock Tokens and other Token 2022 quote assets that need extra extensions.
<CardGroup>
<Card title="Permissionless Quote Mints" icon="unlock">
SPL Token quote mints and Token 2022 quote mints that only use metadata extensions do not need a badge.
</Card>
<Card title="Token Badge Quote Mints" icon="badge-check">
Token 2022 quote mints with other extensions need a Meteora operator-created token badge before config or pool creation.
</Card>
</CardGroup>
A DBC token badge is scoped to DBC. It does not automatically satisfy DAMM v2 mint validation. DAMM v2 configs used by DBC migration include the `CreatePoolWithoutMintValidation` permission so a badged quote mint can still graduate.
A badge does not allow a non-zero transfer fee. Current and any scheduled `transfer_fee_basis_points` must be `0`. Expired historical `older_transfer_fee` values are ignored.
The program enforces that zero-fee rule when a token badge is created, when a config or pool is created, and on every instruction that transfers quote tokens. If a quote mint later has a non-zero transfer fee, quote-side swaps, surplus withdrawals, and quote fee claims fail until the fee returns to zero. Base-only fee claims can still succeed.
For config and pool creation, pass the token badge as remaining account index `0` when the quote mint is not permissionless-supported. The SDK adds this account when you supply `tokenBadge`.
<Note>
You cannot create a token badge for a quote mint that is already permissionless-supported. Closing a badge blocks new configs and pools for that quote mint. Existing pools that already use the mint keep trading.
</Note>
## Token Authority Choices
Token 2022 launches can use the same product-level authority choices as other DBC launches.
Launch teams can configure whether authority is:
* Held by the creator.
* Held by the partner.
* Made immutable.
* Extended to include mint authority options for advanced configurations.
Authority choices should match the launch's trust model. Immutable settings may be easier for communities to reason about, while retained authority may be useful for managed launchpad flows.
The mint-authority options, `CreatorUpdateAndMintAuthority` and `PartnerUpdateAndMintAuthority`, are only allowed for transfer-hook configs. Standard SPL Token and standard Token 2022 pool initialization rejects those options and revokes mint authority at launch.
## Fixed and Dynamic Supply
Token 2022 launches can be used with DBC's supply models.
| Supply Model | Product Behavior |
| - | - |
| Dynamic supply | DBC mints the initial base supply needed by the launch flow. |
| Fixed supply | DBC uses configured pre-migration and post-migration supply values, with possible leftover after migration. |
For fixed-supply Token 2022 launches, leftover handling works the same product way: unused base tokens can be withdrawn to the configured leftover receiver after migration.
## Product Considerations
<CardGroup>
<Card title="Modern Token Standard" icon="certificate">
Token 2022 support gives launch teams access to newer token infrastructure.
</Card>
<Card title="Metadata Included" icon="tags">
DBC initializes token metadata as part of the Token 2022 launch flow.
</Card>
<Card title="DAMM v2 Alignment" icon="arrow-right">
Token 2022 launches should be designed around DAMM v2 graduation from the start.
</Card>
<Card title="Quote Token Review" icon="magnifying-glass">
Check whether a Token 2022 quote mint is permissionless or needs a token badge, and confirm its transfer fee is zero.
</Card>
</CardGroup>
# DBC Transfer Hook Pools
Source: https://docs.meteora.ag/core-products/dbc/transfer-hook-pools
Learn how DBC supports Token 2022 transfer-hook launches during the bonding-curve phase and how those pools graduate to DAMM v2.
Transfer-hook pools are Token 2022 DBC launches where the base mint has an active transfer hook during bonding-curve trading.
Use this path when a launch needs token-transfer logic during the DBC phase, such as allowlist checks or transfer accounting that lives in a separate transfer-hook program. The hook is a pre-migration feature. When the curve completes, DBC revokes the transfer-hook program and transfer-hook authority from the base mint so the token can graduate to DAMM v2 liquidity.
## Account Model
Transfer-hook launches use separate account discriminators while keeping the same core config and pool fields.
| Account | What It Stores |
| - | - |
| `ConfigWithTransferHook` | A `PoolConfig` plus the executable `transfer_hook_program` configured by the partner. |
| `TransferHookPool` | A `PoolState` for the launched pool. It has the same fields as a standard `VirtualPool`, but a different discriminator. |
The TypeScript SDK's state service fetches both account families. `client.state.getPoolConfig`, `getPoolConfigs`, `getPool`, and pool list helpers return normalized config and pool shapes for both standard and transfer-hook accounts.
## Launch Rules
| Rule | Behavior |
| - | - |
| Base token type | Transfer-hook configs must use `Token2022`. |
| Migration target | Use DAMM v2. DAMM v1 does not support Token 2022 launches. |
| Transfer hook program | Must be executable and cannot be the DBC program, SPL Token program, Token 2022 program, or the default pubkey. |
| Config instruction | Use `create_config_with_transfer_hook`, or the SDK's `client.partner.createConfigWithTransferHook`. |
| Pool instruction | Use `initialize_virtual_pool_with_token2022_transfer_hook`, or the SDK's `client.creator.createPoolWithTransferHook`. |
| Transfer hook authority | DBC initializes the base mint with the pool authority as transfer-hook authority. |
| Mint authority options | `CreatorUpdateAndMintAuthority` and `PartnerUpdateAndMintAuthority` are only valid for transfer-hook configs. Standard configs reject those options. |
## Trading
Transfer-hook pools must use the transfer-hook swap path.
| Pool Type | Swap Path |
| - | - |
| Standard `VirtualPool` | `swap` or `swap2`; SDK: `client.pool.swap` or `client.pool.swap2`. |
| `TransferHookPool` | `swap2_with_transfer_hook`; SDK: `client.pool.swap2WithTransferHook`. |
`swap2_with_transfer_hook` supports the same swap modes as `swap2`: exact in, partial fill, and exact out. It also accepts `TransferHookAccountsInfo`, which describes how the remaining accounts are sliced for the transfer-hook CPI.
| Remaining Account Slice | Use |
| - | - |
| `TransferHookBase` | Extra accounts for base-token transfers between the user and the pool. |
| `TransferHookBaseReferral` | Extra accounts for referral transfers when referral fees are paid in the base token. |
If a transfer-hook pool is sent through a standard swap instruction, the program returns `PoolTypeMismatch`. If transfer-hook remaining accounts are missing, malformed, duplicated, or use the wrong slice type, the transfer fails before token movement.
## Fee Claims
Transfer-hook pools also use transfer-hook-aware trading fee claim paths.
| Claim Type | Program Instruction | SDK Method |
| - | - | - |
| Partner trading fees | `claim_trading_fee2` | `client.partner.claimPartnerTradingFee2` |
| Creator trading fees | `claim_creator_trading_fee2` | `client.creator.claimCreatorTradingFee2` |
For standard pools, use `claim_trading_fee` / `claim_creator_trading_fee`, or the SDK's `claimPartnerTradingFee`, `claimPartnerTradingFeeToReceiver`, `claimCreatorTradingFee`, and `claimCreatorTradingFeeToReceiver` methods.
## Completion And Migration
Transfer hooks are active only while the pool is trading on the bonding curve.
When a transfer-hook pool reaches the configured migration quote threshold, DBC:
1. Marks the curve complete.
2. Moves the pool to `PostBondingCurve` when locked vesting is configured, or `LockedVesting` otherwise.
3. Revokes the transfer-hook program id and transfer-hook authority from the base mint.
4. Emits `EvtCurveCompleteWithTransferHook`.
After that, the pool follows the normal DAMM v2 migration flow. The migrated DAMM v2 pool receives a Token 2022 mint without an active transfer hook.
## Events
Indexers should handle the transfer-hook-specific event variants.
| Event | Use |
| - | - |
| `EvtCreateConfigV2WithTransferHook` | Index transfer-hook configs and their `transfer_hook_program`. |
| `EvtInitializePoolWithTransferHook` | Index transfer-hook pool creation. |
| `EvtSwap2WithTransferHook` | Track transfer-hook swaps, quote progress, fees, and partial fills. |
| `EvtCurveCompleteWithTransferHook` | Mark transfer-hook pool completion and hook revocation. |
See [DBC Program Events](/developer-guides/dbc/program/events) for the full event table.
# DBC Universal Curve
Source: https://docs.meteora.ag/core-products/dbc/universal-curve
Learn how DBC's universal curve lets launch teams design single-segment or multi-segment bonding curves for flexible on-chain price discovery.
The DBC Universal Curve is the pricing engine behind a DBC launch. It lets a launch team decide how price should move as traders buy the token, from the first trade through migration.
The same product can support a simple curve for a straightforward launch or a more deliberate multi-segment curve for teams that want finer control over distribution and price movement.
## What the Curve Controls
The curve answers three product questions:
* What price should the token start at?
* How quickly should price move as buyers enter?
* At what price and quote reserve should the token graduate?
DBC represents the curve as a starting price plus up to 16 curve points. Each point defines an upper price boundary and the virtual liquidity for that segment.
```text theme={"system"}
Start price -> Segment 1 -> Segment 2 -> ... -> Migration price
```
<Note>
Each curve segment is a constant-product price range, with a lower and upper price, and a liquidity value.
</Note>
## Single-Segment Curves
A single-segment curve uses one liquidity setting from the starting price to the migration price.
This is the simplest launch design. It is easier to explain, easier to model, and useful when the team wants one consistent price behavior from start to finish.
<CardGroup>
<Card title="Best For" icon="circle-check">
Simple launches, easy public communication, fast launchpad templates, and teams that do not need multiple pricing phases.
</Card>
<Card title="Tradeoff" icon="scale-balanced">
A single segment has less room to shape different launch phases, such as early discovery, wider distribution, and final migration.
</Card>
</CardGroup>
## Multi-Segment Curves
A multi-segment curve uses different liquidity settings across different price ranges.
This lets a launch team design distinct phases:
* An early discovery phase.
* A broader distribution phase.
* A steep final migration phase.
Each segment can feel different to traders because each segment can require a different amount of quote token to move price.
```text theme={"system"}
Lower liquidity segment = price moves faster
Higher liquidity segment = price moves slower
```
## How Liquidity Shapes Price Movement
Virtual liquidity is the main curve-shaping lever.
| Segment Liquidity | Product Effect |
| - | - |
| Lower liquidity | Price moves faster for each unit of quote demand. |
| Higher liquidity | Price moves slower and requires more quote demand to move through the range. |
This does not mean one is always better than the other. A launch may intentionally use low liquidity early for faster price discovery, then higher liquidity later for a more measured path into migration.
## Example Curve Shapes
<AccordionGroup>
<Accordion title="Simple Fair Launch Curve">
A single segment or evenly weighted segments can create a straightforward curve. This is useful when the launch wants easy messaging and fewer moving parts.
</Accordion>
<Accordion title="Early Discovery, Later Depth">
A curve can start with lower liquidity so early demand moves price faster, then move into higher liquidity to create a more stable path toward migration.
</Accordion>
<Accordion title="Gentler Distribution Curve">
A launch can use higher liquidity earlier so price moves more gradually while more buyers participate before migration.
</Accordion>
<Accordion title="Aggressive Launch Curve">
A curve with lower liquidity across multiple segments moves price quickly. This can create strong upside movement but may be less friendly for broad distribution.
</Accordion>
</AccordionGroup>
## Migration Price
The migration price is not manually chosen after the launch. It is derived from the curve and the migration quote threshold.
As quote tokens enter the virtual pool, the price moves through the curve. When the quote reserve reaches the threshold, the current curve price becomes the migration price used to initialize the graduated pool.
**This is one of DBC's most important product properties: the DAMM pool starts from the price discovered during the bonding phase.**
## Curve Constraints
| Constraint | Product Meaning |
| - | - |
| Up to 16 curve points | The launch can use one segment or multiple segments, up to 16 segments. |
| Prices must increase | Each curve point must be above the previous price. |
| Liquidity must be positive | Every segment needs liquidity so trades can move through it. |
| Migration threshold must be reachable | The curve needs enough liquidity to reach the configured migration quote threshold. |
| Start price bounds | The start square-root price must be at least `4295048016` and below `79226673521066979257578248091`. |
| Migration price bounds | The derived migration square-root price must stay below `79226673521066979257578248091`. |
During config creation, the program derives the migration square-root price from `migration_quote_threshold`, `sqrt_start_price`, and the active curve points. It also calculates `swap_base_amount`, the amount of base token available for buys until migration, from that derived migration price.
## Choosing a Curve
Use the simplest curve that matches the launch strategy.
<CardGroup>
<Card title="Use a Single Segment" icon="chart-line">
Choose this when simplicity, speed, and clear user communication matter most.
</Card>
<Card title="Use Multiple Segments" icon="chart-simple">
Choose this when the launch has distinct phases and needs more control over how price moves.
</Card>
</CardGroup>
<Warning>
A more complex curve is not automatically a better curve. The best curve is one that matches the launch goal and can be clearly communicated to traders and creators.
</Warning>
# What is DBC?
Source: https://docs.meteora.ag/core-products/dbc/what-is-dbc
Learn how Meteora's Dynamic Bonding Curve helps teams launch tokens with configurable price discovery, launch fees, trader controls, DAMM v2 migration, surplus handling, Token 2022 support, quote-mint token badges, and transfer-hook pools.
DBC stands for **Dynamic Bonding Curve**. It is Meteora's permissionless token launch product for teams that want a token to discover its price on-chain before graduating into a live Meteora DAMM liquidity pool.
Instead of asking a creator or launchpad to seed a traditional AMM pool on day one, DBC starts with a **virtual pool**. Traders buy and sell against a configurable bonding curve. Every buy adds quote tokens, such as SOL or USDC, into the pool and moves the token along the curve. When the configured quote threshold is reached, the launch graduates into DAMM v2 liquidity. Existing DAMM v1 pools can still graduate.
<Info>
DBC runs on the mainnet program `dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN`.
</Info>
## Why DBC Exists
Token launches need price discovery, distribution, launch protection, and long-term liquidity. Many launches try to solve those problems with separate tools: one system for the sale, another for anti-sniper fees, another for migration, another for LP locks, and another for post-launch trading.
DBC brings those launch steps into one configurable flow. A launchpad can create repeatable templates, a creator can launch a token from that template, traders can participate immediately, and the token can automatically graduate into Meteora liquidity once the market has contributed enough quote assets.
<CardGroup>
<Card title="On-Chain Price Discovery" icon="chart-line">
The token price follows a configured curve from launch to migration instead of relying on a manually seeded AMM pool.
</Card>
<Card title="Universal Curve Design" icon="sliders">
A launch can use a single curve segment or up to 16 segments to shape how price moves as demand grows.
</Card>
<Card title="Automatic Graduation" icon="arrow-right">
Once the quote reserve reaches the migration threshold, liquidity can move into a DAMM v2 pool. Existing DAMM v1 pools can still graduate.
</Card>
<Card title="Launch-Ready Fees" icon="shield">
Use fixed fees, time schedulers, and optional dynamic fees to shape early trading behavior. Rate limiter mode is deprecated for new configs.
</Card>
<Card title="Partner and Creator Economics" icon="handshake">
Trading fees, migration fees, surplus, pool creation fees, and liquidity allocations can be split between launchpad partners and creators at different lifecycle stages.
</Card>
<Card title="Token 2022 Support" icon="certificate">
DBC can launch SPL tokens, Token 2022 tokens, and Token 2022 transfer-hook pools, including Token 2022 quote mints that need a token badge.
</Card>
</CardGroup>
## How DBC Works
A DBC launch has two main phases.
During the **bonding curve phase**, the token trades inside the DBC virtual pool. The pool tracks the current price, base reserve, quote reserve, fees, and migration progress. The curve decides how many tokens are available at each price area and how much quote liquidity is needed to move through that area.
During the **graduated pool phase**, the launch becomes a DAMM pool. The quote assets accumulated during the bonding phase and the configured base token amount form the initial liquidity for the migrated pool. From that point on, traders interact with the DAMM v2 pool rather than the DBC virtual pool. Existing DAMM v1 pools keep that older graduation path.
| Stage | What Happens |
| - | - |
| Create config | A launchpad or partner defines the quote mint, curve, fees, token type, migration target, and liquidity distribution. |
| Create virtual pool | The creator launches the base mint and virtual pool from that config. |
| Trade on curve | Traders buy or sell against the virtual pool until the quote reserve reaches the migration threshold. |
| Curve complete | Normal DBC swaps stop. Surplus and configured migration-fee claims can become available. |
| Migrate to DAMM | The accumulated quote reserve and configured base amount seed the DAMM v2 pool. Existing DAMM v1 pools still use the DAMM v1 path.프로젝트로 돌아가기