> ## 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: helium-treasury

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

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

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

### `HELIUM_TREASURY_PROGRAM_ID`

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

`TreasuryManagementV0`'s own program - recipe-side `SVM_VENUE_PROGRAM_IDS['helium-treasury']`.

```typescript theme={null}
HELIUM_TREASURY_PROGRAM_ID: Address<"treaf4wWBBty3fHdyBpo35Mz84M8k3heKXmjmi9vFt5">
```

### `HELIUM_CIRCUIT_BREAKER_PROGRAM_ID`

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

The companion `circuit-breaker` program every treasury's transfer is CPI-gated through.

```typescript theme={null}
HELIUM_CIRCUIT_BREAKER_PROGRAM_ID: Address<"circAbx64bbsscPbQzZAUvuXpHqrCe6fLMzc2uKXz9g">
```

### `HELIUM_TREASURY_U64_MAX`

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

`u64::MAX` - the denominator `ThresholdType::Percent` divides by (`window.rs::get_threshold`).

```typescript theme={null}
HELIUM_TREASURY_U64_MAX = 18446744073709551615n
```

### `heliumTreasury`

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

The Helium treasury venue: a one-way redemption of IOT or MOBILE for HNT from the subDAO treasury.

```typescript theme={null}
heliumTreasury: {
    slug: string;
    programId: Address<"treaf4wWBBty3fHdyBpo35Mz84M8k3heKXmjmi9vFt5">;
    fetchPoolConfig: typeof fetchHeliumTreasuryPoolConfig;
}
```

### `fetchHeliumTreasuryPoolConfig`

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

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

### `HeliumTreasuryPoolConfig`

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

```typescript theme={null}
export interface HeliumTreasuryPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    treasuryMint: Address;
    supplyMint: Address;
    treasury: Address;
    circuitBreaker: Address;
    thresholdType: 0 | 1;
    threshold: bigint;
    freezeUnixTime: bigint;
}
```


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