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

TAURUSFI_PROGRAM_ID

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

TAURUSFI_PRICE_SCALE

Variable · sdk/dist/svm/venues/taurusfi/index.d.ts Fixed-point scale for the decoded price (10^9 - ~9-10 significant decimal digits of headroom).

TAURUSFI_POOL_REGISTRY

Variable · sdk/dist/svm/venues/taurusfi/index.d.ts 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 · sdk/dist/svm/venues/taurusfi/index.d.ts Family facade for the recipe orchestrator (ladder-only, like raydium-amm-v4/raydium-cp-swap).

decodeTaurusFiPriceScaled

Function · sdk/dist/svm/venues/taurusfi/index.d.ts 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 · sdk/dist/svm/venues/taurusfi/index.d.ts 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 · sdk/dist/svm/venues/taurusfi/index.d.ts

TaurusFiPoolConfig

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