Overview
Purpose
Risk administrators may assign addresses with a risk score via the application manager contract. These scores range from 0-99. Risk administrators are the only admins who can assign risk scores to addresses. These risk scores facilitate the protocol’s risk rule checks. The application will pass the risk score, rule id, and value of the transaction to the protocol for risk rule evaluations.
Rule administrators can add and activate RISK-RULES via the application handler contract. These rules are applied at the application level, meaning all assets within the application will be subjected to these rules.
Risk rules are dependant on the application having deployed pricing contracts and connected to the application handler. The protocol will then check that the transaction is valid for the user’s assigned risk score.
Scope
Risk scores can be applied to individual accounts or addresses of contracts. Risk scores are used to facilitate risk rule checks throughout the protocol. When an account (user) is given a risk score, they will be subject to any risk rules that are active. When a risk rule is added and activated every user with a risk score will be subjected to this risk rule. This means if the Account Max Tx Value by Risk Score is active and a has the following rule values:
The max values per period will be as follows:
risk score | balance | resultant logic |
---|---|---|
Implied* | Implied* | 0-24 -> NO LIMIT |
25 | $500 | 25-49 -> $500 max |
50 | $250 | 50-74 -> $250 max |
75 | $50 | 75-100 -> $50 max |
see RISK-RULES
Enabling/Disabling
- Risk scores can only be added in the app manager by an risk administrator.
- Risk scores can only be removed in the app manager by an risk administrator.