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

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

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

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

### `GATORSWAP_PROGRAM_ID`

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

```typescript theme={null}
GATORSWAP_PROGRAM_ID: Address<"gatorLx9aC1e5ZWAXscv5QRKiLXnLPLXjftVc81h1Hr">
```

### `gatorswap`

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

```typescript theme={null}
gatorswap: {
    slug: string;
    kind: "constant-product";
    programId: Address<"gatorLx9aC1e5ZWAXscv5QRKiLXnLPLXjftVc81h1Hr">;
    fetchPoolConfig: typeof fetchPoolConfig;
    quoteAccounts: typeof quoteAccounts;
}
```

### `deriveGatorswapPool`

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

`PDA(gatorLx9a, ["pool", mintA, mintB])` - documentation/testing only; discovery supplies `pool` directly.

```typescript theme={null}
export declare function deriveGatorswapPool(mintA: Address, mintB: Address): Promise<Address>;
```

### `GatorswapPoolConfig`

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

```typescript theme={null}
export interface GatorswapPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    direction: 0 | 1;
    mintA: Address;
    mintB: Address;
    vaultA: Address;
    vaultB: Address;
    refPool: Address;
    refBaseMint: Address;
    refQuoteMint: Address;
    refBaseVault: Address;
    refQuoteVault: Address;
}
```


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