> ## 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: scale-amm

> 2 exports of the scale-amm venue integration in @eco-incorp/sauce/svm, including scaleAmm, ScaleAmmPoolConfig.

Solana venue integration `scale-amm` under `svm/venues/scale-amm`.

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

### `scaleAmm`

*Variable* · `sdk/dist/svm/venues/scale-amm/index.d.ts`

```typescript theme={null}
scaleAmm: {
    slug: string;
    kind: "constant-product";
    programId: Address<"SCALEwAvEK5gtkdHiFzXfPgtk2YwJxPDzaV3aDmR7tA">;
    fetchPoolConfig(load: AccountLoader, pool: Address): Promise<ScaleAmmPoolConfig>;
    referenceQuote(base: PoolConfig, state: AccountBytesMap, amountIn: bigint): bigint;
}
```

### `ScaleAmmPoolConfig`

*Interface* · `sdk/dist/svm/venues/scale-amm/index.d.ts`

```typescript theme={null}
export interface ScaleAmmPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    owner: Address;
    mintA: Address;
    mintB: Address;
    reservesA: bigint;
    reservesB: bigint;
    shift: bigint;
    feeBeneficiaryCount: number;
    feeBeneficiaries: readonly FeeBeneficiary[];
    vaultA: Address;
    vaultB: Address;
    platformConfig: Address;
    platformFeeBps: bigint;
    platformFeeTaA: Address;
    beneficiaryAtas: readonly Address[];
    tokenProgramA: Address;
    tokenProgramB: Address;
    direction: ScaleDirection;
}
```
