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

> 6 exports of the aldrin venue integration in @eco-incorp/sauce/svm, including ALDRIN_V1_PROGRAM_ID, ALDRIN_V2_PROGRAM_ID, aldrin, aldrinV2, AldrinDirection, AldrinPoolConfig.

Solana venue integration `aldrin` under `svm/venues/aldrin`.

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

### `ALDRIN_V1_PROGRAM_ID`

*Variable* · `sdk/dist/svm/venues/aldrin/index.d.ts`

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

### `ALDRIN_V2_PROGRAM_ID`

*Variable* · `sdk/dist/svm/venues/aldrin/index.d.ts`

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

### `aldrin`

*Variable* · `sdk/dist/svm/venues/aldrin/index.d.ts`

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

### `aldrinV2`

*Variable* · `sdk/dist/svm/venues/aldrin/index.d.ts`

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

### `AldrinDirection`

*Type* · `sdk/dist/svm/venues/aldrin/index.d.ts`

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

### `AldrinPoolConfig`

*Interface* · `sdk/dist/svm/venues/aldrin/index.d.ts`

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