Archived documentation for
@eco-incorp/sauce@1.0.0. Install this release with npm install --save-exact @eco-incorp/sauce@1.0.0. Links to guides outside this tab open current documentation.solfi-v1, exported from @eco-incorp/sauce/svm.
Generated from the type declarations of @eco-incorp/sauce.
SOLFI_V1_PROGRAM_ID
Variable ยท @eco-incorp/sauce/svm
SOLFI_V1_POOL_ACCOUNT_SIZE
Variable ยท @eco-incorp/sauce/svm
SOLFI_V1_OFF_MINT_A
Variable ยท @eco-incorp/sauce/svm
SOLFI_V1_OFF_MINT_B
Variable ยท @eco-incorp/sauce/svm
SOLFI_V1_OFF_VAULT_A
Variable ยท @eco-incorp/sauce/svm
SOLFI_V1_OFF_VAULT_B
Variable ยท @eco-incorp/sauce/svm
SOLFI_V1_POOL_RATES
Variable ยท @eco-incorp/sauce/svm
Per-pool, per-direction verified floor rates. A pool absent here THROWS at
fetchPoolConfig (see fetchSolfiV1Config) - never borrowed from another
pool, mirroring solfi-v2โs POOL_K. direction 0 = mintA -> mintB, 1 =
mintB -> mintA (matches the on-chain instructionโs direction byte).
โ65ZHSArsโฆโ-style single-pool coverage today: the only pool this
integrationโs LiteSVM sweep verified (docs/solfi-v1-evidence.md). Extend
by running the same sweep against another poolโs real bytes.
fetchSolfiV1Config
Function ยท @eco-incorp/sauce/svm
Off-chain gate + decode: pool size, mint/vault pubkeys (plaintext, fixed
offsets - verified across all 40 discovered pools), and the per-pool
verified floor rate (REQUIRED - see SOLFI_V1_POOL_RATES; a pool not yet
independently verified throws rather than guessing).
SolfiV1FloorRate
Interface ยท @eco-incorp/sauce/svm
The verified conservative floor rate for a pool + direction: real realized
output is >= (num/den)ยทamountIn at every sampled size (see the module doc
and docs/solfi-v1-evidence.md for the raw LiteSVM sweep this was derived
from - NOT a claim about the venueโs real fee/impact schedule, a safety
floor sized so the model never over-promises).
SolfiV1PoolConfig
Interface ยท @eco-incorp/sauce/svm
