Skip to main content

ESCALATION_UP_STEP_DENOM

Constant ESCALATION_UP_STEP_DENOM 

Source
pub const ESCALATION_UP_STEP_DENOM: u64 = 8;
Expand description

The per-epoch escalation step denominator — 8, i.e. the requirement can rise by at most +1/8 (+12.5%) in one epoch.

The same value as dig_mirror_collateral::UP_STEP_DENOM, restated here for the same reason DEFAULT_SAFETY_MARGIN_BP is: dig-mirror-collateral sits at the SAME crate level as this contract and a same-level dependency is forbidden (CLAUDE.md Appendix B).

It is a CEILING on one epoch’s rise, and it compounds across epochs — which is precisely why the horizon must travel with any buffer derived from it. It is not a forecast: inside the controller’s dead band the requirement does not move at all.