Skip to main content
Solana venue integration hylo under svm/venues/hylo.
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.

HYLO_PROGRAM_ID

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

USDC_MINT

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

HYUSD_MINT

Variable · sdk/dist/svm/venues/hylo/index.d.ts PDA([“hyUSD”], HYLO_PROGRAM_ID).

HYLO_ACCOUNT

Variable · sdk/dist/svm/venues/hylo/index.d.ts PDA([“hylo”], HYLO_PROGRAM_ID) - the program’s singleton config account.

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

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.

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.

HYLO_ACCOUNT_SIZE

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

HYLO_DISCRIMINATOR

Variable · sdk/dist/svm/venues/hylo/index.d.ts sha256(‘account:Hylo’)[0..8].

USDC_PAIR_ACCOUNT_SIZE

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

USDC_PAIR_DISCRIMINATOR

Variable · sdk/dist/svm/venues/hylo/index.d.ts sha256(‘account:UsdcPair’)[0..8].

hylo

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

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

hyloMintOut

Function · sdk/dist/svm/venues/hylo/index.d.ts TS mirror of the emitted mint (aToB) fragment.

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.

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.

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

HyloPoolConfig

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