Access Control
The table below outlines the access control permissions for the Risk Engine contract:
Access
Role
Function name
Description
Protocol Owner
_PROTOCOL_OWNER_PERMISSION
setOracle
Sets the oracleEngine for retrieving the underlying asset price of the pToken.
Protocol Owner
_PROTOCOL_OWNER_PERMISSION
setReserveShares
Sets the percentage of accumulated reserve for owner and governor
Governor
_CONFIGURATOR_PERMISSION
setCloseFactor
Adjusts the max % of borrowed amount repayable during liquidation.
Governor
_CONFIGURATOR_PERMISSION
configureMarket
Adjusts the % bonus awarded to liquidators during liquidation. CF and LLTV
Governor
_CONFIGURATOR_PERMISSION
supportMarket
Enables the specified market for lending and borrowing on the protocol.
Governor
_CONFIGURATOR_PERMISSION
supportEMode
Adding E-mode category by specifying markets as collateral and borrow
Governor
_BORROW_CAP_GUARDIAN_PERMISSION
setMarketBorrowCaps
Sets the borrowing limits for specified markets within the protocol.
Governor
_SUPPLY_CAP_GUARDIAN_PERMISSION
setMarketSupplyCaps
Sets the supplying limits for specified markets within the protocol.
Emergency Guardian
_PAUSE_GUARDIAN_PERMISSION
setMintPaused
Pauses or unpauses the minting for specified pToken.
Emergency Guardian
_PAUSE_GUARDIAN_PERMISSION
setBorrowPaused
Pauses or unpauses the borrowing for specified pToken.
Emergency Guardian
_PAUSE_GUARDIAN_PERMISSION
setTransferPaused
Pauses or unpauses the transferring pTokens for the whole protocol.
Emergency Guardian
_PAUSE_GUARDIAN_PERMISSION
setSeizePaused
Pauses or unpauses the seizure of collateral during liquidation.
Last updated