mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
doc: configurator added natspec to risk admin auth related function
This commit is contained in:
parent
33d582b4ec
commit
b98bafdcaf
|
@ -474,16 +474,19 @@ contract LendingPoolConfigurator is VersionedInitializable, ILendingPoolConfigur
|
|||
_pool.setPause(val);
|
||||
}
|
||||
|
||||
/// @inheritdoc ILendingPoolConfigurator
|
||||
function registerRiskAdmin(address admin) external override onlyPoolAdmin {
|
||||
_riskAdmins[admin] = true;
|
||||
emit RiskAdminRegistered(admin);
|
||||
}
|
||||
|
||||
/// @inheritdoc ILendingPoolConfigurator
|
||||
function unregisterRiskAdmin(address admin) external override onlyPoolAdmin {
|
||||
_riskAdmins[admin] = false;
|
||||
emit RiskAdminUnregistered(admin);
|
||||
}
|
||||
|
||||
/// @inheritdoc ILendingPoolConfigurator
|
||||
function isRiskAdmin(address admin) external view override onlyPoolAdmin returns (bool) {
|
||||
return _riskAdmins[admin];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user