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

TAURUSFI_PROGRAM_ID

Variable · @eco-incorp/sauce/svm

TAURUSFI_PRICE_SCALE

Variable · @eco-incorp/sauce/svm Fixed-point scale for the decoded price (10^9 - ~9-10 significant decimal digits of headroom).

TAURUSFI_POOL_REGISTRY

Variable · @eco-incorp/sauce/svm Hand-verified TaurusFi markets: for each, a real mainnet swap CPI (inside a Jupiter route) was decoded and the vault/mint addresses were cross-checked against preTokenBalances/postTokenBalances, and the price account was independently confirmed against a same-slot keeper-crank update. Only one live-priced market was observed during integration; a second market account (HFqA7kAqgUMjNCo5zDSN1tnKvE8GVBXGPDyK2nizJm11) exists but reads an all-zero (unpriced/inactive) price and has no known vault/mint pair, so it is deliberately NOT seeded here - extend by repeating the same verification once it (or another market) goes live.

taurusfi

Variable · @eco-incorp/sauce/svm The TaurusFi venue: a closed-source market priced by a keeper-updated state account.

decodeTaurusFiPriceScaled

Function · @eco-incorp/sauce/svm Decodes a raw f64 bit pattern (as read off-chain OR the exact on-chain accountUint value) into a TAURUSFI_PRICE_SCALE-fixed-point integer, LOCKSTEP with the on-chain formula in emitSetup below (same masks, same mulDiv-shaped floor division) - bit-exact by construction, not merely “close”. Degrades to exactly 0 for an unpriced market (bits === 0n) with no special case (see file header).

fetchTaurusFiConfig

Function · @eco-incorp/sauce/svm Registry lookup + live decode: reads the market’s price account (for the gate) and both vaults (mint-integrity check, mirroring gamma’s/bisonfi’s own vault verification) - nothing else is decodable off this venue’s pool state (no plaintext pool-identity account exists at all; see file header).

TaurusFiRegistryEntry

Interface · @eco-incorp/sauce/svm

TaurusFiPoolConfig

Interface · @eco-incorp/sauce/svm