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

> 5 exports of the heaven venue integration in @eco-incorp/sauce/svm, including HEAVEN_PROGRAM_ID, heaven, heavenMints, heavenApplyDirection, HeavenPoolConfig.

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

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

### `HEAVEN_PROGRAM_ID`

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

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

### `heaven`

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

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

### `heavenMints`

*Function* · `sdk/dist/svm/venues/heaven/index.d.ts`

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

### `heavenApplyDirection`

*Function* · `sdk/dist/svm/venues/heaven/index.d.ts`

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

### `HeavenPoolConfig`

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

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