Enforces accumulated balance limits for user accounts based on a risk score
Applies to Tokens
Applies to Actions
uint8[]
: The array of risk scores.uint48[]
: The array of maximum whole dollar limits for risk score range.max value
value for the risk score.max value
. If total is greater than max value
, the rule reverts.0x8312246e
.
_appManagerAddr
is not the zero address._riskScores
and _maxValue
arrays are equal in length._riskScores
array last value is not greater than 99._riskScores
array is in ascending order (the next value is always larger than the previous value in the array)._maxValue
array is in descending order (the next value is always smaller than the previous value in the array).