Skip to main content

usury_ceiling

Function usury_ceiling 

Source
pub fn usury_ceiling(budget: u64, overage_percent: u64) -> u64
Expand description

Maximum spend permitted before the usury breaker trips: budget × (1 + overage/100) (saturating). With the default 10% overage this is the 110% ceiling.