Skip to main content

CHANGE_CLAMP_BPS

Constant CHANGE_CLAMP_BPS 

Source
pub const CHANGE_CLAMP_BPS: i128 = _ /* 100_000i128 */;
Expand description

The bound on one swap’s recorded change: ±100,000 bps (±1,000%). Losses stop at −10,000 bps (−100%) on their own, so only gains reach it.