Skip to main content
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.
Solana venue integration meteora-dlmm, exported from @eco-incorp/sauce/svm. Generated from the type declarations of @eco-incorp/sauce.

meteoraDlmm

Variable ยท @eco-incorp/sauce/svm The Meteora DLMM venue: a liquidity book of discrete price bins.

fetchMeteoraDlmmConfig

Function ยท @eco-incorp/sauce/svm Fetch + gate one DLMM pair (see the header for the gate list) and freeze both directionsโ€™ bin windows. Read-only against the loader.

fetchMeteoraDlmmConfigBytes

Function ยท @eco-incorp/sauce/svm Fetch from a 32-byte pair key, reusing its bytes for every bin-array and bitmap PDA seed.

METEORA_DLMM_PROGRAM_ID

Variable ยท @eco-incorp/sauce/svm

METEORA_DLMM_MAX_BINS

Variable ยท @eco-incorp/sauce/svm Shipped liquid bins per direction.

LB_PAIR_DISCRIMINATOR

Variable ยท @eco-incorp/sauce/svm sha256(โ€˜account:LbPairโ€™)[0..8].

BIN_ARRAY_DISCRIMINATOR

Variable ยท @eco-incorp/sauce/svm sha256(โ€˜account:BinArrayโ€™)[0..8].

meteoraDlmmWindowArrayIndexes

Function ยท @eco-incorp/sauce/svm The three bin-array indexes the walk touches: the active array then two more in the walk direction.

MeteoraDlmmPoolConfig

Interface ยท @eco-incorp/sauce/svm

DlmmWindow

Interface ยท @eco-incorp/sauce/svm

DlmmBin

Interface ยท @eco-incorp/sauce/svm

dlmmPriceFromId

Function ยท @eco-incorp/sauce/svm A binโ€™s price: (1 + binStep / 10000) ^ binId, in Q64.64.

dlmmBinArrayIndex

Function ยท @eco-incorp/sauce/svm floor(bin_id / 70) - the bin array index (toward negative infinity).