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

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

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

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

### `VOLTR_PROGRAM_ID`

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

```typescript theme={null}
VOLTR_PROGRAM_ID: Address<"vVoLTRjQmtFpiYoegx285Ze4gsLJ8ZxgFKVcuvmG1a8">
```

### `SPL_TOKEN_PROGRAM_ID`

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

```typescript theme={null}
SPL_TOKEN_PROGRAM_ID: Address<"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA">
```

### `fetchVoltrConfig`

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

Off-chain, once per pool: derive every PDA the CPI needs, verify the
stored LP mint address matches its own seed derivation (a cheap
self-consistency check - a mismatch means a wrong/spoofed account), and
read the two mints' decimals (needed only for the empty-vault bootstrap
case, fixed forever per vault so safe to bake at prepare time).

```typescript theme={null}
export declare function fetchVoltrConfig(owned: OwnedAccountLoader, pool: Address): Promise<VoltrPoolConfig>;
```

### `VoltrPoolConfig`

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

```typescript theme={null}
export interface VoltrPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    direction: "assetToLp" | "lpToAsset";
    assetMint: Address;
    lpMint: Address;
    protocol: Address;
    vaultAssetIdleAuth: Address;
    vaultAssetIdleAta: Address;
    vaultLpMintAuth: Address;
    assetDecimals: number;
    lpDecimals: number;
}
```


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