saros-dlmm, exported from @eco-incorp/sauce/svm.
Generated from the type declarations of @eco-incorp/sauce.
SAROS_DLMM_PROGRAM_ID
Variable · @eco-incorp/sauce/svm
SAROS_DLMM_PAIR_ACCOUNT_SIZE
Variable · @eco-incorp/sauce/svm
BIN_ARRAY_ACCOUNT_SIZE
Variable · @eco-incorp/sauce/svm
SAROS_DLMM_PAIR_DISCRIMINATOR
Variable · @eco-incorp/sauce/svm
sha256(‘account:Pair’)[0..8].
SAROS_DLMM_BIN_ARRAY_DISCRIMINATOR
Variable · @eco-incorp/sauce/svm
sha256(‘account:BinArray’)[0..8] - identical to meteora-dlmm’s (same type name).
BINS_PER_ARRAY
Variable · @eco-incorp/sauce/svm
CENTER_BIN_ID
Variable · @eco-incorp/sauce/svm
SAROS_DLMM_MAX_BINS
Variable · @eco-incorp/sauce/svm
Shipped liquid bins per direction - the meteora-dlmm-style bounded walk,
sized the same as METEORA_DLMM_MAX_BINS pending CU re-measurement against
this family’s own compiled ladder.
OFF_ACTIVE_ID
Variable · @eco-incorp/sauce/svm
OFF_LAST_UPDATE
Variable · @eco-incorp/sauce/svm
OFF_VOLATILITY_ACC
Variable · @eco-incorp/sauce/svm
OFF_VOLATILITY_REF
Variable · @eco-incorp/sauce/svm
OFF_INDEX_REF
Variable · @eco-incorp/sauce/svm
OFF_BA_INDEX
Variable · @eco-incorp/sauce/svm
OFF_BA_BINS
Variable · @eco-incorp/sauce/svm
BIN_LEN
Variable · @eco-incorp/sauce/svm
OFF_BIN_RESERVE_X
Variable · @eco-incorp/sauce/svm
OFF_BIN_RESERVE_Y
Variable · @eco-incorp/sauce/svm
sarosDlmm
Variable · @eco-incorp/sauce/svm
The Saros DLMM venue: a liquidity book of discrete price bins.
pairArrayIndexes
Function · @eco-incorp/sauce/svm
The two bracketing bin-array indices for activeId - matching the real
program’s own swap-account convention (cross-validated: the pair chosen
this way is exactly what a real swap accepts, both directions, at every
tested size - see the module header). lowerIndex < upperIndex always;
both cover SAROS_DLMM_MAX_BINS worth of headroom on either side of
activeId (256-bin arrays, an 8-bin walk never needs a third array).
priceFromId
Function · @eco-incorp/sauce/svm
A bin’s price: (1 + binStep / 10000) ^ (binId - CENTER_BIN_ID), in Q64.64.
fetchSarosDlmmConfig
Function · @eco-incorp/sauce/svm
Fetch + gate one Saros DLMM pair (see the module header for the gate list)
and freeze both directions’ bin windows. Read-only against the loader.
SAROS_DLMM_MEMO_PROGRAM
Variable · @eco-incorp/sauce/svm
SarosDlmmBin
Interface · @eco-incorp/sauce/svm
SarosDlmmWindow
Interface · @eco-incorp/sauce/svm
SarosDlmmPoolConfig
Interface · @eco-incorp/sauce/svm
