Skip to main content
Solana venue integration hylo, exported from @eco-incorp/sauce/svm. Generated from the type declarations of @eco-incorp/sauce.

HYLO_PROGRAM_ID

Variable · @eco-incorp/sauce/svm

USDC_MINT

Variable · @eco-incorp/sauce/svm

HYUSD_MINT

Variable · @eco-incorp/sauce/svm PDA([“hyUSD”], HYLO_PROGRAM_ID).

HYLO_ACCOUNT

Variable · @eco-incorp/sauce/svm PDA([“hylo”], HYLO_PROGRAM_ID) - the program’s singleton config account.

USDC_PAIR_ACCOUNT

Variable · @eco-incorp/sauce/svm PDA([“usdc_pair”], HYLO_PROGRAM_ID) - the singleton USDC<->hyUSD pair account (this venue’s pool).

USDC_COLLATERAL_VAULT

Variable · @eco-incorp/sauce/svm ATA(USDC_VAULT_AUTH, USDC_MINT) - the real USDC collateral backing hyUSD minted via this leg.

USDC_USD_PYTH_FEED

Variable · @eco-incorp/sauce/svm The live USDC/USD Pyth push-oracle account (pyth-solana-receiver PriceUpdateV2), program-agnostic.

HYLO_ACCOUNT_SIZE

Variable · @eco-incorp/sauce/svm

HYLO_DISCRIMINATOR

Variable · @eco-incorp/sauce/svm sha256(‘account:Hylo’)[0..8].

USDC_PAIR_ACCOUNT_SIZE

Variable · @eco-incorp/sauce/svm

USDC_PAIR_DISCRIMINATOR

Variable · @eco-incorp/sauce/svm sha256(‘account:UsdcPair’)[0..8].

hylo

Variable · @eco-incorp/sauce/svm

hyloGate

Function · @eco-incorp/sauce/svm 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 · @eco-incorp/sauce/svm TS mirror of the emitted mint (aToB) fragment.

hyloRedeemCapacity

Function · @eco-incorp/sauce/svm The redeem-direction input cap (see module header CAPACITY) - 0 when the pool is unquotable.

hyloRedeemOut

Function · @eco-incorp/sauce/svm TS mirror of the emitted redeem (bToA) fragment - x already clamped to the capacity above.

SvmHyloDriftError

Class · @eco-incorp/sauce/svm Recoverable live-state drift (pause / stale-or-low-confidence oracle) between discovery and prepare.

HyloPoolConfig

Interface · @eco-incorp/sauce/svm