> ## 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

> The meteora-damm-v2 Solana venue: the declaration and description of each of the 2 exports of @eco-incorp/sauce/svm.

Solana venue integration `meteora-damm-v2`, exported from `@eco-incorp/sauce/svm`.

Generated from the type declarations of `@eco-incorp/sauce`.

### `MeteoraDammV2PoolConfig`

*Interface* · `@eco-incorp/sauce/svm`

```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* · `@eco-incorp/sauce/svm`

```typescript theme={null}
meteoraDammV2: {
    slug: string;
    kind: "sqrt-price";
    programId: Address<"cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG">;
    fetchPoolConfig(owned: OwnedAccountLoader, 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;
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.