> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# svm venue: meteora-damm-v2

> 2 exports of the meteora-damm-v2 venue integration in @eco-incorp/sauce/svm, including MeteoraDammV2PoolConfig, meteoraDammV2.

Solana venue integration `meteora-damm-v2` under `svm/venues/meteora-damm-v2`.

<Note>
  Generated from the type declarations shipped in `@eco-incorp/sauce` 0.99.4. Each entry shows the package authors' JSDoc and declaration for this SDK version. For runtime compatibility and deployed addresses, see [architecture and deployments](/programmable-transactions/sauce/architecture-and-deployments).
</Note>

### `MeteoraDammV2PoolConfig`

*Interface* · `sdk/dist/svm/venues/meteora-damm-v2/index.d.ts`

```typescript theme={null}
export interface MeteoraDammV2PoolConfig extends PoolConfig {
    venue: typeof SLUG;
    direction: "aToB" | "bToA";
    tokenAMint: Address;
    tokenBMint: Address;
    tokenAVault: Address;
    tokenBVault: Address;
    tokenAProgram: Address;
    tokenBProgram: Address;
    collectFeeMode: number;
    cliffFeeNumerator: bigint;
    maxFeeNumerator: bigint;
    dynamicFee: {
        binStep: bigint;
        variableFeeControl: bigint;
    } | null;
    activationPoint: bigint;
    activationType: number;
    sqrtMinPrice: bigint;
    sqrtMaxPrice: bigint;
    liquidity: bigint;
    sqrtPrice: bigint;
}
```

### `meteoraDammV2`

*Variable* · `sdk/dist/svm/venues/meteora-damm-v2/index.d.ts`

```typescript theme={null}
meteoraDammV2: {
    slug: string;
    kind: "sqrt-price";
    programId: Address<"cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG">;
    fetchPoolConfig(load: AccountLoader, pool: Address): Promise<MeteoraDammV2PoolConfig>;
    quoteAccounts(cfg: PoolConfig): VenueAccount[];
    emitQuote(cfg: PoolConfig, i: number, amountIn: bigint): string;
    buildSwap(cfg: PoolConfig, user: SwapUser, amountIn: bigint): VenueSwap;
    referenceQuote(cfg: PoolConfig, state: AccountBytesMap, amountIn: bigint, now: bigint): bigint;
}
```
