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:
The dynamic fee numerator is:
Validation Limits
The current implementation enforces:
Operators can enable or update dynamic fees with non-default dynamic fee parameters. Passing default dynamic fee parameters disables dynamic fees, but only if dynamic fees are already enabled.
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.

