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

meteoraDlmm

Variable · sdk/dist/svm/venues/meteora-dlmm/index.d.ts Family facade for the recipe orchestrator (ladder-only - no v1 adapter).

fetchMeteoraDlmmConfig

Function · sdk/dist/svm/venues/meteora-dlmm/index.d.ts Fetch + gate one DLMM pair (see the header for the gate list) and freeze both directions’ bin windows. Read-only against the loader.

METEORA_DLMM_PROGRAM_ID

Variable · sdk/dist/svm/venues/meteora-dlmm/index.d.ts

METEORA_DLMM_MAX_BINS

Variable · sdk/dist/svm/venues/meteora-dlmm/index.d.ts Shipped liquid bins per direction. Each bin is a discrete walk step (cheap arithmetic + one live reserve read), so this can be larger than the CLMM boundary window; sized against the engine’s measured per-bin cost and moved in lockstep with the fragment’s unrolled setup (ladder.ts) and the mirror.

LB_PAIR_DISCRIMINATOR

Variable · sdk/dist/svm/venues/meteora-dlmm/index.d.ts sha256(‘account:LbPair’)[0..8].

BIN_ARRAY_DISCRIMINATOR

Variable · sdk/dist/svm/venues/meteora-dlmm/index.d.ts sha256(‘account:BinArray’)[0..8].

meteoraDlmmWindowArrayIndexes

Function · sdk/dist/svm/venues/meteora-dlmm/index.d.ts The three bin-array indexes the walk touches: the active array then two more in the walk direction.

MeteoraDlmmPoolConfig

Interface · sdk/dist/svm/venues/meteora-dlmm/index.d.ts

DlmmWindow

Interface · sdk/dist/svm/venues/meteora-dlmm/index.d.ts

DlmmBin

Interface · sdk/dist/svm/venues/meteora-dlmm/index.d.ts

dlmmPriceFromId

Function · sdk/dist/svm/venues/meteora-dlmm/bin-math.d.ts get_price_from_id(bin_id, bin_step): (1 + bin_step/1e4)^bin_id in Q64.64.

dlmmPow

Function · sdk/dist/svm/venues/meteora-dlmm/bin-math.d.ts pow(base, exp) in Q64.64 - the u64x64_math.rs binary-exponentiation with per-step >> 64, the reciprocal trick for base >= ONE, and the final invert for negative exponents. Returns null on the venue’s overflow/exp-cap aborts.

dlmmAmountOut

Function · sdk/dist/svm/venues/meteora-dlmm/bin-math.d.ts get_amount_out(amount_in, price, swap_for_y, rounding).

dlmmAmountIn

Function · sdk/dist/svm/venues/meteora-dlmm/bin-math.d.ts get_amount_in(amount_out, price, swap_for_y, rounding).

dlmmBinArrayIndex

Function · sdk/dist/svm/venues/meteora-dlmm/bin-math.d.ts floor(bin_id / 70) - the bin array index (toward negative infinity).