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

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

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

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

### `ALDRIN_V1_PROGRAM_ID`

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

```typescript theme={null}
ALDRIN_V1_PROGRAM_ID: Address<"AMM55ShdkoGRB5jVYPjWziwk8m5MpwyDgsMWHaMSQWH6">
```

### `ALDRIN_V2_PROGRAM_ID`

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

```typescript theme={null}
ALDRIN_V2_PROGRAM_ID: Address<"CURVGoZn8zycx6FXwwevgBTB2gVvdbGTEpvMJDbgs2t4">
```

### `aldrin`

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

```typescript theme={null}
aldrin: {
    slug: "aldrin";
    programId: Address<"AMM55ShdkoGRB5jVYPjWziwk8m5MpwyDgsMWHaMSQWH6">;
    fetchPoolConfig: (owned: OwnedAccountLoader, pool: Address) => Promise<AldrinPoolConfig>;
}
```

### `aldrinV2`

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

```typescript theme={null}
aldrinV2: {
    slug: "aldrin-v2";
    programId: Address<"CURVGoZn8zycx6FXwwevgBTB2gVvdbGTEpvMJDbgs2t4">;
    fetchPoolConfig: (owned: OwnedAccountLoader, pool: Address) => Promise<AldrinPoolConfig>;
}
```

### `AldrinDirection`

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

```typescript theme={null}
export type AldrinDirection = "baseToQuote" | "quoteToBase";
```

### `AldrinPoolConfig`

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

```typescript theme={null}
export interface AldrinPoolConfig extends PoolConfig {
    venue: "aldrin" | "aldrin-v2";
    version: 1 | 2;
    poolMint: Address;
    baseTokenVault: Address;
    baseTokenMint: Address;
    quoteTokenVault: Address;
    quoteTokenMint: Address;
    poolSigner: Address;
    feePoolTokenAccount: Address;
    tradeFeeNumerator: bigint;
    tradeFeeDenominator: bigint;
    ownerTradeFeeNumerator: bigint;
    ownerTradeFeeDenominator: bigint;
    curve?: Address;
    direction: AldrinDirection;
}
```


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