> ## 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: pancakeswap-clmm

> 35 exports of the pancakeswap-clmm venue integration in @eco-incorp/sauce/svm, including PANCAKESWAP_CLMM_PROGRAM_ID, PANCAKESWAP_CLMM_POOL_ACCOUNT_SIZE, AMM_CONFIG_ACCOUNT_SIZE, PANCAKESWAP_CLMM_TICK_ARRAY_ACCOUNT_SIZE, PANCAKESWAP_CLMM_TICK_ARRAY_SIZE, OFF_AMM_CONFIG.

Solana venue integration `pancakeswap-clmm` under `svm/venues/pancakeswap-clmm`.

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

### `PANCAKESWAP_CLMM_PROGRAM_ID`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

PancakeSwap's Solana CLMM program (a Raydium-CLMM-shaped Anchor fork).

```typescript theme={null}
PANCAKESWAP_CLMM_PROGRAM_ID: Address<"HpNfyc2Saw7RKkQd8nEL4khUcuPhQ7WwY1B2qjx8jxFq">
```

### `PANCAKESWAP_CLMM_POOL_ACCOUNT_SIZE`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
POOL_ACCOUNT_SIZE = 1544
```

### `AMM_CONFIG_ACCOUNT_SIZE`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
AMM_CONFIG_ACCOUNT_SIZE = 117
```

### `PANCAKESWAP_CLMM_TICK_ARRAY_ACCOUNT_SIZE`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
TICK_ARRAY_ACCOUNT_SIZE = 10240
```

### `PANCAKESWAP_CLMM_TICK_ARRAY_SIZE`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
TICK_ARRAY_SIZE = 60
```

### `OFF_AMM_CONFIG`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_AMM_CONFIG = 9
```

### `OFF_TOKEN_MINT_0`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TOKEN_MINT_0 = 73
```

### `OFF_TOKEN_MINT_1`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TOKEN_MINT_1 = 105
```

### `OFF_TOKEN_VAULT_0`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TOKEN_VAULT_0 = 137
```

### `OFF_TOKEN_VAULT_1`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TOKEN_VAULT_1 = 169
```

### `OFF_OBSERVATION_KEY`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_OBSERVATION_KEY = 201
```

### `PANCAKESWAP_CLMM_OFF_TICK_SPACING`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TICK_SPACING = 235
```

### `PANCAKESWAP_CLMM_OFF_LIQUIDITY`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_LIQUIDITY = 237
```

### `PANCAKESWAP_CLMM_OFF_SQRT_PRICE`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_SQRT_PRICE = 253
```

### `PANCAKESWAP_CLMM_OFF_TICK_CURRENT`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TICK_CURRENT = 269
```

### `OFF_STATUS`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_STATUS = 389
```

### `OFF_FEE_ON`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_FEE_ON = 390
```

### `OFF_OPEN_TIME`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_OPEN_TIME = 1080
```

### `OFF_DYNAMIC_FEE_INFO`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_DYNAMIC_FEE_INFO = 1096
```

### `DYNAMIC_FEE_INFO_LEN`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
DYNAMIC_FEE_INFO_LEN = 80
```

### `OFF_CFG_TRADE_FEE_RATE`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

AmmConfig: trade\_fee\_rate u32
@ 47 (hundredths of a bip, denominator 1e6).

```typescript theme={null}
OFF_CFG_TRADE_FEE_RATE = 47
```

### `OFF_TA_POOL`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TA_POOL = 8
```

### `PANCAKESWAP_CLMM_OFF_TA_START`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TA_START = 40
```

### `PANCAKESWAP_CLMM_OFF_TA_TICKS`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TA_TICKS = 44
```

### `PANCAKESWAP_CLMM_TICK_LEN`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
TICK_LEN = 168
```

### `OFF_TICK_LIQ_NET`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TICK_LIQ_NET = 4
```

### `OFF_TICK_LIQ_GROSS`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TICK_LIQ_GROSS = 20
```

### `OFF_TICK_ORDERS_AMOUNT`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TICK_ORDERS_AMOUNT = 124
```

### `OFF_TICK_PART_FILLED_ORDERS`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
OFF_TICK_PART_FILLED_ORDERS = 132
```

### `PANCAKESWAP_CLMM_MAX_BOUNDARIES`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

Shipped initialized-tick boundaries per direction (same walk-step budget as
raydium-clmm - an independent constant, not imported, so a future SDK
change to raydium-clmm's own bound can never silently reshape this venue's
fragment; kept numerically equal by design).

```typescript theme={null}
PANCAKESWAP_CLMM_MAX_BOUNDARIES = 4
```

### `pancakeswapClmm`

*Variable* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

Family facade for the recipe orchestrator (ladder-only - no v1 adapter).

```typescript theme={null}
pancakeswapClmm: {
    slug: string;
    programId: Address<"HpNfyc2Saw7RKkQd8nEL4khUcuPhQ7WwY1B2qjx8jxFq">;
    tokenProgram: Address<"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA">;
    token2022Program: Address<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb">;
    memoProgram: Address<"MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr">;
    fetchPoolConfig: typeof fetchPancakeswapClmmConfig;
}
```

### `fetchPancakeswapClmmConfig`

*Function* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

Fetch + gate one PancakeSwap CLMM pool (see the header for the gate list)
and freeze both directions' boundary windows. Read-only against the loader.

```typescript theme={null}
export declare function fetchPancakeswapClmmConfig(load: AccountLoader, pool: Address): Promise<PancakeswapClmmPoolConfig>;
```

### `PancakeswapClmmBoundary`

*Interface* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
export interface PancakeswapClmmBoundary {
    arrayIndex: number;
    offset: number;
    tick: number;
    sqrtPrice: bigint;
}
```

### `PancakeswapClmmWindow`

*Interface* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
export interface PancakeswapClmmWindow {
    tickArrays: [
        Address,
        Address,
        Address
    ];
    startTicks: [
        number,
        number,
        number
    ];
    boundaries: PancakeswapClmmBoundary[];
    edge: {
        tick: number;
        sqrtPrice: bigint;
    } | null;
    readable: number;
}
```

### `PancakeswapClmmPoolConfig`

*Interface* · `sdk/dist/svm/venues/pancakeswap-clmm/index.d.ts`

```typescript theme={null}
export interface PancakeswapClmmPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    direction: "0to1" | "1to0";
    ammConfig: Address;
    tokenMint0: Address;
    tokenMint1: Address;
    tokenVault0: Address;
    tokenVault1: Address;
    observation: Address;
    bitmapExtension: Address;
    tickSpacing: number;
    tradeFeeRate: number;
    liquidity: bigint;
    sqrtPrice: bigint;
    tickCurrentIndex: number;
    windows: {
        "0to1": PancakeswapClmmWindow;
        "1to0": PancakeswapClmmWindow;
    };
}
```
