Skip to main content
Solana venue integration 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