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
floorConstraints:
floorshould be more than 1e18.Impact: The lower bounds of A/L.
ceilingConstraints: N/A.
Impact: The upper bounds of A/L.
Branches and code coverage
Intended branches
userALRangewas updated properly.
Negative behavior
Caller has no access to this function.
Floor is more than the ceiling.