Function: setRebalanceALRange(uint128 floor, uint128 ceiling)
Allows to update rebalanceALRange
by lower and upper bounds of A/L. These values are used by the _validateALRatio
function during the _rebalanceUp/_rebalanceDown
process so that the new A/L is still within the rebalanceALRange
.
Inputs
floor
Constraints:
floor
should be more than 1e18.Impact: The lower bounds of A/L.
ceiling
Constraints: N/A.
Impact: The upper bounds of A/L.
Branches and code coverage
Intended branches
rebalanceALRange
was updated properly.
Negative behavior
Caller has no access to this function.
Floor is more than the ceiling.