Comptroller¶
The Comptroller is the risk management module of the JustLend DAO protocol. It determines how much collateral should users keep to avoid liquidation. The Comptroller is implemented as an upgradable contract. The entrance is Unitroller; the implementation is Comptroller.
Comptroller.sol:
allows users to:
- Markets
- Get Assets In
- Get Account Liquidation
- Liquidation Incentive
The source code is available on Github.