pub const CHANGE_CLAMP_BPS: i128 = _ /* 100_000i128 */;Expand description
Clamp bound for a single swap’s recorded change, ±1,000% of the base. Losses bound themselves at −100%, so only gains ever reach this; wide enough that no economically real improvement truncates (the old ±100% cap flattened every gain past 2×), tight enough that one dust-base ratio moves a 10k-leg aggregate mean by at most ~10 bps.