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

> 18 exports of the hylo venue integration in @eco-incorp/sauce/svm, including HYLO_PROGRAM_ID, USDC_MINT, HYUSD_MINT, HYLO_ACCOUNT, USDC_PAIR_ACCOUNT, USDC_COLLATERAL_VAULT.

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

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

### `HYLO_PROGRAM_ID`

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

```typescript theme={null}
HYLO_PROGRAM_ID: Address<"HYEXCHtHkBagdStcJCp3xbbb9B7sdMdWXFNj6mdsG4hn">
```

### `USDC_MINT`

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

```typescript theme={null}
USDC_MINT: Address<"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v">
```

### `HYUSD_MINT`

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

PDA(\["hyUSD"], HYLO\_PROGRAM\_ID).

```typescript theme={null}
HYUSD_MINT: Address<"5YMkXAYccHSGnHn9nob9xEvv6Pvka9DZWH7nTbotTu9E">
```

### `HYLO_ACCOUNT`

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

PDA(\["hylo"], HYLO\_PROGRAM\_ID) - the program's singleton config account.

```typescript theme={null}
HYLO_ACCOUNT: Address<"9cd2sAfbBvKs4SX9YKo4dcjwP3TgTVQ8dT5koshGcDND">
```

### `USDC_PAIR_ACCOUNT`

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

PDA(\["usdc\_pair"], HYLO\_PROGRAM\_ID) - the singleton USDC\<->hyUSD pair account (this venue's `pool`).

```typescript theme={null}
USDC_PAIR_ACCOUNT: Address<"CMNPACEDebyvNJDgBxRc5fbScF8kmx52ZPBY4Cu4wuwS">
```

### `USDC_COLLATERAL_VAULT`

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

ATA(USDC\_VAULT\_AUTH, USDC\_MINT) - the real USDC collateral backing hyUSD minted via this leg.

```typescript theme={null}
USDC_COLLATERAL_VAULT: Address<"5ykRvDpEXwKEdoE6yfZ45zeuZ62CcRQRUoZoye4tTJd7">
```

### `USDC_USD_PYTH_FEED`

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

The live USDC/USD Pyth push-oracle account (pyth-solana-receiver PriceUpdateV2), program-agnostic.

```typescript theme={null}
USDC_USD_PYTH_FEED: Address<"6HAuqASbHEh4w4REJEUUUCginTLfj1kwCh215ZLtMkrT">
```

### `HYLO_ACCOUNT_SIZE`

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

```typescript theme={null}
HYLO_ACCOUNT_SIZE = 511
```

### `HYLO_DISCRIMINATOR`

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

sha256('account:Hylo')\[0..8].

```typescript theme={null}
HYLO_DISCRIMINATOR: number[]
```

### `USDC_PAIR_ACCOUNT_SIZE`

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

```typescript theme={null}
USDC_PAIR_ACCOUNT_SIZE = 173
```

### `USDC_PAIR_DISCRIMINATOR`

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

sha256('account:UsdcPair')\[0..8].

```typescript theme={null}
USDC_PAIR_DISCRIMINATOR: number[]
```

### `hylo`

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

```typescript theme={null}
hylo: SvmVenueAdapter
```

### `hyloGate`

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

Prepare-time SELF-DROP gate (see module header GATES): pause state (recoverable) and the
USDC/USD Pyth oracle's own validity (verification level, confidence, staleness vs `now` - mirrors `hylo_core::pyth::query_pyth_oracle` except the `posted_slot` sub-check, which needs
the live SLOT this hook does not receive - disclosed narrower-than-real-gate residual). All
from the FETCH-TIME snapshot (this hook has no loader) - a live CPI still enforces the real,
current state regardless (SVM execution-time re-check is a platform impossibility).

```typescript theme={null}
export declare function hyloGate(cfg: PoolConfig, now: bigint): void;
```

### `hyloMintOut`

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

TS mirror of the emitted mint (aToB) fragment.

```typescript theme={null}
export declare function hyloMintOut(live: HyloLiveState, priceScale: bigint, x: bigint): bigint;
```

### `hyloRedeemCapacity`

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

The redeem-direction input cap (see module header CAPACITY) - 0 when the pool is unquotable.

```typescript theme={null}
export declare function hyloRedeemCapacity(live: HyloLiveState, priceScale: bigint): bigint;
```

### `hyloRedeemOut`

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

TS mirror of the emitted redeem (bToA) fragment - `x` already clamped to the capacity above.

```typescript theme={null}
export declare function hyloRedeemOut(live: HyloLiveState, priceScale: bigint, x: bigint): bigint;
```

### `SvmHyloDriftError`

*Class* · `sdk/dist/svm/venues/hylo/index.d.ts`

Recoverable live-state drift (pause / stale-or-low-confidence oracle) between discovery and
prepare - the SAME class `the consuming app SVM solver entry`'s own `SvmWindowDriftError` names (that class
is private to index.ts, so this venue module carries an identically-treated local marker;
`the consuming app SVM solver entry`'s FAMILIES wiring re-throws this as its own `SvmWindowDriftError` so the
self-drop classification stays centralized there).

```typescript theme={null}
export declare class SvmHyloDriftError extends Error {
}
```

### `HyloPoolConfig`

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

```typescript theme={null}
export interface HyloPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    direction: "aToB" | "bToA";
    priceScale: bigint;
    protocolPausedAtFetch: boolean;
    pairPausedAtFetch: boolean;
    verificationTagAtFetch: number;
    priceRawAtFetch: bigint;
    confRawAtFetch: bigint;
    publishTimeAtFetch: bigint;
    intervalSecsAtFetch: bigint;
    confToleranceBitsAtFetch: bigint;
}
```
