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

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

Solana venue integration `scale-amm`, exported from `@eco-incorp/sauce/svm`.

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

### `scaleAmm`

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

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

### `ScaleAmmPoolConfig`

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

```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;
}
```


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