Function: setUserALRange(uint128 floor, uint128 ceiling)
Allows to update userALRange
by lower and upper bounds of A/L when users deposit/exit into lovToken. These values are used by the _validateALRatio
function during the investWithToken/exitToToken
process to validate A/L changes.
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
userALRange
was updated properly.
Negative behavior
Caller has no access to this function.
Floor is more than the ceiling.