Skip to main content
Solana venue integration meteora-dbc, exported from @eco-incorp/sauce/svm. Generated from the type declarations of @eco-incorp/sauce.

dbcFeeNumerator

Function · @eco-incorp/sauce/svm total_fee_numerator = min(base(period-decayed) + variable(volatility), cap).

quoteSingleSegment

Function · @eco-incorp/sauce/svm The single-active-segment closed-form quote both directions share (see the file header). Amount-parametric, used by both emitQuote (amountIn baked) and the ladder (amountIn a live merge value).

dbcCapacity

Function · @eco-incorp/sauce/svm Closed-form capacity (max productive amountIn) for the active segment, in the given direction - exported for the ladder’s referenceCapacities and for tests.

METEORA_DBC_PROGRAM_ID

Variable · @eco-incorp/sauce/svm

METEORA_DBC_POOL_AUTHORITY

Variable · @eco-incorp/sauce/svm Constant PDA [‘pool_authority’] - owner-authority of both vaults (verified against the official SDK’s hardcoded constant).

METEORA_DBC_EVENT_AUTHORITY

Variable · @eco-incorp/sauce/svm Constant PDA [‘__event_authority’] (Anchor #[event_cpi]).

METEORA_DBC_SWAP_DISCRIMINATOR

Variable · @eco-incorp/sauce/svm sha256(‘global:swap’)[0..8].

METEORA_DBC_FEE_DENOMINATOR

Variable · @eco-incorp/sauce/svm

METEORA_DBC_MAX_FEE_NUMERATOR

Variable · @eco-incorp/sauce/svm

MeteoraDbcCurvePoint

Interface · @eco-incorp/sauce/svm

MeteoraDbcPoolConfig

Interface · @eco-incorp/sauce/svm

meteoraDbc

Variable · @eco-incorp/sauce/svm

DbcSingleSegmentResult

Interface · @eco-incorp/sauce/svm

__decodeMeteoraDbcPool

Function · @eco-incorp/sauce/svm

__decodeMeteoraDbcConfig

Function · @eco-incorp/sauce/svm

__meteoraDbcActiveSegment

Function · @eco-incorp/sauce/svm Smallest k with sqrtPrice <= curve[k].sqrtPrice - the segment the live price currently sits in. -1 when price is at/past the last point (curve complete).

METEORA_DBC_OFF_SQRT_PRICE

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_ACTIVATION_POINT

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_VOL_ACCUMULATOR

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_CLIFF_FEE_NUMERATOR

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_PERIOD_FREQUENCY

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_REDUCTION_FACTOR

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_NUMBER_OF_PERIOD

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_DYN_INITIALIZED

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_DYN_VARIABLE_FEE_CONTROL

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_DYN_BIN_STEP

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_COLLECT_FEE_MODE

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_MIGRATION_SQRT_PRICE

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_SQRT_START_PRICE

Variable · @eco-incorp/sauce/svm

METEORA_DBC_OFF_CURVE

Variable · @eco-incorp/sauce/svm

METEORA_DBC_CURVE_POINT_SIZE

Variable · @eco-incorp/sauce/svm