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

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

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

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

### `HEAVEN_PROGRAM_ID`

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

```typescript theme={null}
HEAVEN_PROGRAM_ID: Address<"HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o">
```

### `heaven`

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

```typescript theme={null}
heaven: {
    slug: "heaven";
    programId: Address<"HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o">;
    fetchPoolConfig: (owned: OwnedAccountLoader, pool: Address) => Promise<HeavenPoolConfig>;
}
```

### `heavenMints`

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

```typescript theme={null}
export declare function heavenMints(base: PoolConfig): {
    inMint: Address;
    outMint: Address;
};
```

### `heavenApplyDirection`

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

```typescript theme={null}
export declare function heavenApplyDirection(base: PoolConfig, direction: string | undefined): HeavenPoolConfig;
```

### `HeavenPoolConfig`

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

```typescript theme={null}
export interface HeavenPoolConfig extends PoolConfig {
    venue: "heaven";
    direction: "buy" | "sell";
    tokenAMint: Address;
    tokenBMint: Address;
    tokenAProgram: Address;
    tokenBProgram: Address;
    tokenAVault: Address;
    tokenBVault: Address;
    protocolConfig: Address;
    fees: HeavenFeeRates;
}
```


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