Skip to main content
This page summarizes the amm program and the damm-v1-sdk account helpers. For exact generated layouts, use the bundled IDL and TypeScript types exported by @meteora-ag/dynamic-amm-sdk.

PDA Map

DAMM v1 sorts token mint public keys lexicographically for permissionless pool PDAs. The helpers call the larger key first and the smaller key second. Permissioned pools use an arbitrary signer account for the pool address rather than a pool PDA.

Constants

Enums

Pool

Pool is the primary DAMM v1 state account.

Config

Config defines config-based constant-product launch pools. The TypeScript SDK exposes createConfig, getPoolConfig, getFeeConfigurations, and getPoolConfigsWithPoolCreatorAuthority.

LockEscrow

LockEscrow tracks LP tokens locked for an owner and the fee value accrued by locked LP.

Operator

Operator is a zero-copy admin-created permission account.

Nested Types

Dynamic Vault Relationship

DAMM v1 does not hold all pool token inventory directly in the Pool account. Each token side uses a Dynamic Vault account: Quote engines must read the pool, both Dynamic Vault accounts, both vault token accounts, both vault LP mints, both pool vault-LP token accounts, the clock sysvar, and any depeg/stake accounts required by the curve.