bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 65쪽
naged escrows |
| Open community access | Permissionless, usually Pro Rata |
| Stronger post-launch alignment | Later `start_vesting_point` or longer linear vesting |
## Choose the Mode
Use **Pro Rata** when oversubscription is likely and the team wants users to have time to deposit without racing for capacity. Pro Rata lets total deposits exceed `max_buying_cap`, then allocates the vault result proportionally.
Use **FCFS** when the team wants a hard cap on accepted deposits. FCFS is easier to explain, but it makes speed and wallet caps much more important.
<Warning>
FCFS without a practical per-wallet cap can concentrate the vault in the earliest depositors.
</Warning>
## Set Caps Deliberately
| Cap | Applies to | Design question |
| - | - | - |
| `max_buying_cap` | Pro Rata | How much quote should the vault be allowed to swap? |
| `max_depositing_cap` | FCFS | How much quote should the vault accept in total? |
| `individual_depositing_cap` | Permissionless FCFS | How much can one wallet contribute? |
| Escrow `max_cap` | Merkle proof and authority-managed access | What is each eligible wallet's quota? |
For Pro Rata, the buy cap shapes pool impact. For FCFS, the deposit cap shapes both participation and pool impact because total deposits are the max swappable amount.
## Plan Timing
Alpha Vault timing follows the pool activation type: slot or timestamp.
Important timing points:
* `depositing_point`: first point when users can create escrows and deposit.
* `last_join_point`: final point when escrow creation and deposits are allowed.
* `pre_activation_start_point`: first point when the vault can fill.
* `last_buying_point`: final point when the vault can fill.
* `start_vesting_point`: first point when users can claim bought tokens.
* `end_vesting_point`: point when all bought tokens have unlocked.
On mainnet, the program caps lock duration and vesting duration at roughly one year. FCFS config creation also requires a minimum deposit duration buffer of `3,000` slots for slot-based launches or `1,200` seconds for timestamp-based launches.
## Prepare the Fill Plan
Vault fills are permissionless and can be performed by crankers during pre-activation. A non-whitelisted cranker pays a fixed `0.0001 SOL` crank fee to the Meteora treasury account.
Launch teams should plan:
* Who will crank fills.
* Whether crankers should be fee-whitelisted.
* The maximum amount used in each fill instruction.
* How the pool's launch liquidity and price curve react to the vault's buy.
* What happens if only part of the intended quote is swapped before `last_buying_point`.
<Note>
The fill instructions use `minimum_amount_out = 0` when calling the underlying pool swap. Pool setup, fill timing, and crank operations are therefore important parts of the launch design.
</Note>
## Design Vesting Clearly
Claims unlock linearly from `start_vesting_point` through `end_vesting_point`, with inclusive endpoints. Setting both points equal effectively makes the full bought-token allocation claimable at the start point.
Use longer vesting only when it matches the community promise. Users should know before depositing when claims start and when the allocation fully unlocks.
## Account for Token Behavior
Alpha Vault uses checked token transfers through the token program stored by the connected pool. DLMM and DAMM v2 pools can indicate SPL Token or Token 2022 token programs. DAMM v1 pool utility code uses the SPL Token program.
If a Token 2022 mint charges transfer fees, the program records deposits net of transfer fees and emits outbound claim or refund amounts net of transfer fees. If a destination account requires transfer memos, claim and refund transfers must include the expected memo program account.
## Launch Messaging Checklist
A clear launch announcement should include:
* Connected pool type: DLMM, DAMM v1, or DAMM v2.
* Accepted quote token.
* Vault mode: Pro Rata or FCFS.
* Access model: permissionless, Merkle proof, or authority-managed.
* Deposit open and close points.
* Vault cap and wallet caps.
* Whether Pro Rata users can withdraw before `last_join_point`.
* When the vault can buy.
* Claim start and full unlock point.
* Refund timing and conditions.
* Token transfer-fee behavior, if the quote or launch token uses Token 2022 fees.
Good Alpha Vault launches are specific. Users should understand what can happen if the vault is oversubscribed, partially filled, or subject to token transfer fees.
# Alpha Vault Modes
Source: https://docs.meteora.ag/helper-products/alpha-vault/vault-modes
Compare Alpha Vault Pro Rata and FCFS modes, including caps, withdrawals, overflow refunds, and how deposits are accepted.
Alpha Vault supports two vault modes: **Pro Rata** and **FCFS**.
Both modes collect quote token before launch and let the vault buy from a connected Launch Pool during pre-activation. The difference is how each mode accepts deposits, applies caps, and handles unused quote.
## Mode Comparison
| Product Area | Pro Rata | FCFS |
| - | - | - |
| Main cap | `max_buying_cap` | `max_depositing_cap` |
| Max swappable amount | `min(total_deposit, max_buying_cap)` | `total_deposit` |
| Total deposits can exceed buying power | Yes | No, deposits are limited by remaining vault capacity |
| Normal user withdrawal | Allowed through `last_join_point` | Not available |
| Overflow withdrawal | Available after `last_join_point` and through `last_buying_point` when total deposits exceed max swappable amount | Not expected by design |
| Per-wallet cap | Ignored for permissionless Pro Rata because the vault returns `u64::MAX` as the individual cap | Applied in permissionless FCFS and permissioned vaults |
| Best fit | Broad participation and oversubscription | Hard capacity and scarce early access |
## Pro Rata Mode
Pro Rata mode is designed for launches where demand may exceed the amount the vault should buy.
Users can deposit during the deposit window. The vault can accept more quote than `max_buying_cap`, but it can only swap up to:
```math theme={"system"}
\min(\text{total\_deposit}, \text{max\_buying\_cap})
```
If total deposits exceed the max buying cap, every depositor participates proportionally and the excess quote becomes refundable.
### Withdrawal Rules
Pro Rata has two withdrawal paths:
| Timing | What can be withdrawn |
| - | - |
| From `depositing_point` through `last_join_point` | A user can withdraw their deposited quote, up to the requested amount. |
| After `last_join_point` and through `last_buying_point` | A user can withdraw their proportional deposit overflow, if the vault is oversubscribed. |
| After `last_buying_point` | A user uses `withdraw_remaining_quote` to withdraw their final remaining quote, minus any overflow already withdrawn. |
<Info>
Pro Rata allocation is proportional to deposit size. A larger deposit increases a user's share, but the vault still cannot swap more than `max_buying_cap`.
</Info>
## FCFS Mode
FCFS means **First Come, First Served**. It is designed for launches that want a hard cap on accepted quote.
When a user deposits, the program limits the accepted amount by:
* The user's requested amount after transfer-fee adjustment.
* The remaining vault capacity: `max_depositing_cap - total_deposit`.
* The user's remaining quota from the vault individual cap or permissioned escrow cap.
Once the vault reaches `max_depositing_cap`, additional deposits fail because the accepted deposit amount becomes zero.
FCFS does not expose the normal user withdrawal instruction. Accepted deposits are intended to remain in the vault until the fill and refund lifecycle completes.
<Warning>
Permissionless FCFS should use a meaningful `individual_depositing_cap` if broad distribution matters. Without a low enough cap, early wallets can consume most or all vault capacity.
</Warning>
## Shared Behavior
Both modes use the same claim and final refund accounting:
* Users receive a share of bought tokens based on `escrow.total_deposit / vault.total_deposit`.
* Claims unlock linearly from `start_vesting_point` through `end_vesting_point`.
* After the pool's `last_buying_point`, users can withdraw quote that was not swapped.
Both modes can be paired with permissionless, Merkle proof, or authority-managed escrow creation. Permissioned escrows use the escrow's `max_cap` as the user's quota.
# What is Alpha Vault?
Source: https://docs.meteora.ag/helper-products/alpha-vault/what-is-alpha-vault
Learn how Meteora Alpha Vault collects pre-launch quote deposits, buys from a connected Launch Pool during the protected pre-activation window, and distributes bought tokens to participants.
## Overview
Alpha Vault is Meteora's pre-launch allocation product for teams that want supporters to commit quote tokens before a Launch Pool opens for public trading.
An Alpha Vault is connected to one Meteora Launch Pool. Users deposit the pool's quote token into the vault during the deposit window. During the pool's protected pre-activation buying window, the vault can swap that quote token into the launch token before public trading begins. After the vault buys, users claim the bought token and withdraw any unused quote according to the vault configuration.
<Info>
Launch Pools.Alpha Vault runs on the mainnet program `vaU6kP7iNEGkbmPkLmZfGwiGxd4Mob24QQCie5R9kd2`. The program Alpha Vault supports **DLMM**, **DAMM v1** (`DynamicPool`), and **DAMM v2**
</Info>
<Note>
Alpha Vault is not a separate AMM. It is an account-based allocation layer that uses the connected Launch Pool for the actual buy.
</Note>
## Why Alpha Vault Exists
Public token launches can concentrate the earliest fills in the hands of bots, priority-fee races, and wallets prepared to trade the first public slot or timestamp. Alpha Vault separates commitment from execution:
* Users commit during a configured deposit window.
* The vault buys during the pool's pre-activation window.
* The vault distributes the bought token according to transparent on-chain accounting.
* Unused quote can be withdrawn through defined refund paths.
This gives teams a more deliberate launch flow while still using Meteora pool liquidity and activation mechanics.
## Core Features
<CardGroup>
<Card title="Connected Launch Pool" icon="rocket">
Each vault is tied to one DLMM, DAMM v1, or DAMM v2 pool, and the pool must point back to that vault as its whitelisted pre-activation buyer.
</Card>
<Card title="Two Allocation Modes" icon="sliders">
Pro Rata supports oversubscription with proportional allocation. FCFS accepts deposits until the configured cap is reached.
</Card>
<Card title="Permissioned or Open Access" icon="user-shield">
Escrows can be permissionless, Merkle-proof based, or created by the vault authority.
</Card>
<Card title="Linear Claims" icon="calendar-clock">
Bought tokens unlock linearly from `start_vesting_point` through `end_vesting_point`, using either slots or timestamps.
</Card>
<Card title="Quote Refunds" icon="rotate-left">
Users can withdraw Pro Rata overflow and any final quote left after the vault's buying window.
</Card>
<Card title="Token Program Awareness" icon="certificate">
Vault transfers use checked token transfers and account for Token 2022 transfer fees and required transfer memos where applicable.
</Card>
</CardGroup>
## Lifecycle
```text theme={"system"}
Pool stores the Alpha Vault address
|
Vault is initialized with mode, timing, caps, and access rules
|
Users create escrows and deposit quote
|
Crankers fill the vault during the pool's pre-activation window
|
Users claim bought tokens and withdraw unused quote
```
The vault stores aggregate accounting such as `total_deposit`, `swapped_amount`, `bought_token`, `total_refund`, and `total_claimed_token`. Each participant has one escrow account for the vault. The escrow stores the user's `total_deposit`, claimed token amount, refund state, and optional permissioned `max_cap`.
The vault does not know each user's final token amount until the vault has bought tokens from the pool. Once `bought_token` is recorded, each user's share is calculated from their escrow deposit relative to `total_deposit`.
## Important Constraints
| Area | Program behavior |
| - | - |
| Quote and base mints | The vault quote mint must match the pool quote side, and the base mint must match the pool launch-token side. |
| Pool linkage | The connected pool must store the vault address as its derived or whitelisted Alpha Vault. |
| Activation type | Timing can be slot-based or timestamp-based, matching the connected pool. |
| Deposit timing | New escrows and deposits are allowed from `depositing_point` through the pool's `last_join_point`. |
| Fill timing | Vault fills are allowed from the pool's `pre_activation_start_point` through `last_buying_point`. |
| Claim timing | Token claims start at `start_vesting_point` and unlock linearly through `end_vesting_point`. |
| Escrow fee | Permissionless vaults may charge an escrow creation fee capped at `0.01 SOL`; permissioned vaults must set the escrow fee to `0`. |
| Mainnet duration limits | Lock duration and vesting duration are each capped at roughly one year. FCFS configured deposit duration must be at least the program timing buffer: `3,000` slots or `1,200` seconds, depending on activation type. |
## What To Read Next
<CardGroup>
<Card title="Alpha Vault Modes" href="/helper-products/alpha-vault/vault-modes" icon="sliders">
Compare Pro Rata and FCFS behavior, including caps, withdrawals, overflow, and user experience.
</Card>
<Card title="Alpha Vault Launch Design Guide" href="/helper-products/alpha-vault/launch-design-guide" icon="chess">
Choose mode, caps, access model, deposit timing, and vesting settings for a launch.
</Card>
<Card title="Alpha Vault Whitelist and Access" href="/helper-products/alpha-vault/whitelist-and-access" icon="user-shield">
Understand permissionless escrows, Merkle roots, authority-created escrows, and wallet caps.
</Card>
<Card title="Alpha Vault Formulas" href="/helper-products/alpha-vault/formulas" icon="calculator">
Review the allocation, refund, vesting, and rounding math used by the vault.
</Card>
</CardGroup>
<Warning>
Alpha Vault configuration affects who can deposit, how much quote can be used, when users can withdraw, and when tokens unlock. Teams should test the exact vault and pool configuration before opening deposits.
</Warning>
# Alpha Vault Whitelist and Access
Source: https://docs.meteora.ag/helper-products/alpha-vault/whitelist-and-access
Understand Alpha Vault permissionless escrows, Merkle proof escrows, authority-created escrows, wallet caps, vault authority, and escrow fees.
Alpha Vault controls access at the escrow-creation layer. A user must have an escrow for the vault before they can deposit.
## Access Models
| Access model | Who can create the escrow | How user quota is set |
| - | - | - |
| Permissionless | Anyone can create an escrow during the deposit window. | Permissionless FCFS uses `individual_depositing_cap`; permissionless Pro Rata effectively has no individual cap. |
| Merkle proof | A user or payer creates an escrow with a valid Merkle proof. | The Merkle leaf includes the wallet and `max_cap`; the escrow stores that `max_cap`. |
| Authority-managed | The vault authority creates the escrow for a selected wallet. | The authority passes a positive `max_cap`; the escrow stores that `max_cap`. |
## Permissionless Escrows
Permissionless mode lets anyone create an escrow while the vault is open. The escrow address is derived from the vault and owner, so each owner has one escrow per vault.
Permissionless vaults may charge an escrow creation fee. The program caps this fee at `10,000,000` lamports (`0.01 SOL`) and sends it to the Meteora treasury account. The fee is recorded in `total_escrow_fee` and is not refunded when the escrow is closed.
## Merkle Proof Escrows
Merkle proof mode is built for larger allowlists.
The vault authority or a program admin creates a `MerkleRootConfig` for the vault. Each user then proves membership with a leaf built from:
```text theme={"system"}
owner pubkey + max_cap
```
The program stores the supplied `max_cap` in the user's escrow after verifying the proof. Deposits are then limited by the escrow's remaining cap.
The program also supports Merkle proof metadata with a `proof_url`, which can point clients to off-chain proof data.
<Note>
The Merkle root account is versioned, so teams can publish multiple root versions for the same vault when needed.
</Note>
## Authority-Managed Escrows
Authority-managed mode is for curated lists. The vault authority signs the escrow creation transaction and selects the owner and `max_cap`.
This mode is operationally simple for small lists because the team can create the escrow accounts directly. It is less scalable than Merkle proof mode for large public allowlists.
## Permissioned Vault Fee Rule
Permissioned vaults cannot charge an escrow creation fee.
The initialization path rejects any nonzero `escrow_fee` when `whitelist_mode` is Merkle proof or authority-managed. This avoids charging users or teams for escrow creation in permissioned flows where the project may create many escrows.
## Vault Authority and Admins
The vault authority is normally the vault creator. It can:
* Create Merkle root configs for a Merkle-proof vault.
* Create Merkle proof metadata.
* Create authority-managed escrows when the vault uses authority mode.
* Transfer vault authority to a new pubkey.
Program admins can create global Pro Rata and FCFS config accounts, update vault parameters through admin-only instructions, create crank-fee whitelist accounts, and also create Merkle root configs or metadata.
## Wallet Caps
Caps are enforced during deposit, not just during escrow creation.
| Cap source | Applies when | Behavior |
| - | - | - |
| `individual_depositing_cap` | Permissionless FCFS | Limits each escrow's accepted deposit. |
| `u64::MAX` | Permissionless Pro Rata | Means the individual cap is effectively ignored. |
| Escrow `max_cap` | Merkle proof and authority-managed vaults | Limits deposits for that permissioned escrow. |
| `max_depositing_cap` | FCFS vaults | Limits total accepted vault deposits. |
| `max_buying_cap` | Pro Rata vaults | Limits how much quote the vault can swap, not how much it can accept. |
# Dynamic Fee Sharing Compatibilities
Source: https://docs.meteora.ag/helper-products/dynamic-fee-sharing/compatibilities
Review Dynamic Fee Sharing limits, supported token mints, vault types, funding paths, and whitelisted source-program actions.
Dynamic Fee Sharing is intentionally narrow. This page is the compatibility reference for what the current program accepts.
## Compatibility Overview
| Area | Supported |
| - | - |
| Recipient count | 2 to 5 recipients per fee vault |
| Share values | Non-zero `u32` shares for each user entry |
| Recipient address | Non-default public key |
| Token standard | SPL Token and Token 2022 mints with supported extensions only |
| Vault types | Non-PDA fee vault and PDA fee vault |
| Funding methods | Manual funding and supported claim-by-integration funding |
| Claim-by-integration source programs | Whitelisted DAMM v2 and Dynamic Bonding Curve actions |
## Recipient Limits
A fee vault supports **2 to 5 recipients**.
Each recipient needs:
* A wallet address.
* A non-zero share value.
* A recipient index used when claiming.
The program rejects the default public key as a recipient address. It does not reject duplicate recipient addresses, so clients and teams should treat uniqueness as an operational requirement unless duplicate entries are intentional.
<Warning>
The program stores the configured recipient list in the fee vault and does not expose a general edit-recipient or edit-share instruction.
</Warning>
## Token Compatibility
Dynamic Fee Sharing can distribute fees in one token mint per vault.
Supported token types incl프로젝트로 돌아가기