DAMM v2 dynamic fees are an optional fee layer that responds to market volatility. When price movement is higher, the dynamic fee can increase. When the market calms down, the dynamic fee decays. This gives pools a way to charge more during turbulent periods without permanently raising the base fee.Documentation Index
Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt
Use this file to discover all available pages before exploring further.
How It Fits With Base Fees
Every DAMM v2 pool has one base fee mode. Dynamic fees sit on top of that base fee: If dynamic fees are disabled, the dynamic fee is zero.How It Works
DAMM v2 tracks recent price movement through a volatility accumulator. The accumulator rises when price changes and can decay or reset over time. Key settings include:| Setting | Product Meaning |
|---|---|
| Bin step | Price sensitivity used by the volatility calculation; currently fixed to 1 bps |
| Filter period | Very short-term window that helps smooth noisy updates |
| Decay period | Time window after which volatility can decay or reset |
| Reduction factor | How much of the previous accumulator becomes the next volatility reference |
| Max volatility accumulator | Cap that prevents the volatility measure from growing without bound |
| Variable fee control | How strongly volatility affects the final dynamic fee numerator |
Validation Limits
The current implementation enforces:| Parameter | Constraint |
|---|---|
bin_step | Must equal 1 |
bin_step_u128 | Must equal the default fixed-point value for 1 bps |
filter_period and decay_period | filter_period < decay_period |
reduction_factor | At most 10000 |
variable_fee_control | At most 0xffffff |
max_volatility_accumulator | At most 0xffffff |
Why Use Dynamic Fees
Volatility Response
Fees can increase when market movement becomes more intense.
LP Compensation
LPs can earn higher fees during periods where price risk may be higher.
Temporary Protection
The fee can decay as volatility settles instead of staying elevated forever.
Works With Base Modes
Dynamic fees can be paired with DAMM v2 base fee modes for more adaptive fee design.
Product Examples
Launch With Extra Volatility Protection
Launch With Extra Volatility Protection
A launch pool can use a time scheduler or market cap scheduler as the base fee, then add dynamic fees to react to sudden price movement.
Mature Pool With Adaptive LP Fees
Mature Pool With Adaptive LP Fees
A long-term pool can keep a moderate base fee and let dynamic fees increase only when trading becomes volatile.
Integrator-Controlled Risk Settings
Integrator-Controlled Risk Settings
Launchpads can create fee presets with different dynamic fee sensitivity for different token categories.

