A liquidity band authored the way DEX position UIs work (Raydium, Orca, Meteora): a price range as percent offsets from the launch price plus a relative depth weight — no token amounts. The base/quote budget split each band needs is derived from the liquidity math, the same way those UIs auto-fill the second token from the range and the current price.

Hierarchy

  • ClmmWeightedBand

Properties

lowerPercent: number

Lower bound as a percent offset from the graduation price in quote-per-base terms (e.g. -50 = half the launch price). Must be > -100.

upperPercent: number

Upper bound as a percent offset (e.g. +100 = double the launch price).

weight: number

Relative liquidity depth of this band — any positive scale, normalized across bands (like Meteora's shape presets, but per band). A band with weight 2 targets twice the liquidity of a band with weight 1.

Generated using TypeDoc