ACLManager
ACLManager
Access Control List Manager is the main registry of system roles and permissions.
ACLManager allows a Role Admin to manage roles. Role Admin is itself a role that is managed by the DEFAULT_ADMIN_ROLE
.
DEFAULT_ADMIN_ROLE
is held by the ACLAdmin, which is initialised in PoolAddressesProvider
.
ℹ️ On Ethereum chain PoolAddressesProvider
, is owned by Aave Governance. In networks other than Ethereum, either the Crosschain Governance Bridges or Community Multisigs are used to manage the PoolAddressesProvider
.
Roles
Below we outline the powers/responsibilities of the roles and the specific methods that are only accessible to the holders of these roles.
View Methods
isPoolAdmin
function isPoolAdmin(address admin)
Returns true
if the address has POOL_ADMIN
role.
isEmergencyAdmin
function isEmergencyAdmin(address admin)
Returns true
if the address has EMERGENCY_ADMIN
role.
isRiskAdmin
function isRiskAdmin(address admin)
Returns true
if the address has RISK_ADMIN
role.
isFlashBorrower
function isFlashBorrower(address borrower)
Returns true
if the address has FLASH_BORROWER
role.
isBridge
function isBridge(address bridge)
Returns true
if the address has BRIDGE
role.
isAssetListingAdmin
function isAssetListingAdmin(address admin)
Returns true
if the address has ASSET_LISTING_ADMIN
role.
Write Methods
setRoleAdmin
setRoleAdmin(bytes32 role, bytes32 adminRole)
Setup admin to manage Roles.
This method can only be called by address with DEFAULT_ADMIN_ROLE
.
Call Params
addPoolAdmin
addPoolAdmin(address admin)
Add address to the list of members in POOL_ADMIN
role. Holders of this role can update token implementations, drop, (un)pause and (de)activate reserves, update premiums and do everything the ASSET_LISTING_ADMIN
and RISK_ADMIN
can do.
Can be called only by Role Admin, specified by Aave Governance, responsible for managing POOL_ADMIN
role.
Call Params
removePoolAdmin
removePoolAdmin(address admin)
Remove given address from the list of members in POOL_ADMIN
role.
Can be called only by Role Admin, specified by Aave Governance, responsible for managing POOL_ADMIN
role.
Call Params
addEmergencyAdmin
addEmergencyAdmin(address admin)
Add address to the list of members in EMERGENCY_ADMIN
role. Holders of this role can pause and unpause the pool or an individual reserve.
Can be called only by Role Admin, specified by Aave Governance, responsible for managingEMERGENCY_ADMIN
role.
removeEmergencyAdmin
function removeEmergencyAdmin(address admin)
Remove given address from the list of members in EMERGENCY_ADMIN
role.
Can be called only by Role Admin, specified by Aave Governance, responsible for managing EMERGENCY_ADMIN
role.
addRiskAdmin
function addRiskAdmin(address admin)
Add address to the list of members in RISK_ADMIN
role. Holders of this role can update grace period of Oracle Sentinels, reserve params, unbacked mint cap, liquidation fee and eMode categories.
removeRiskAdmin
Remove given address from the list of members in RISK_ADMIN
role.
addFlashBorrower
function addFlashBorrower(address borrower)
Add address to the list of members in FLASH_BORROWER
role. Holders of this role do not pay premium for flash loan (Does not apply to flashLonaSimple
.
removeFlashBorrower
function removeFlashBorrower(address borrower)
Remove given address from the list of members in FLASH_BORROWER
role.
addBridge
addBridge(address bridge)
Add contract address to the list of bridges. Holders of this role can leverage the Portal feature to seamlessly move supplied assets across Aave V3 markets on different networks.
ℹ️ Can be called only by Role Admin, specified by Aave Governance, responsible for managing BRIDGE
role.
removeBridge
removeBridge(address bridge)
Remove contract address from the list of bridges.
ℹ️ Can be called only by Role Admin, specified by Aave Governance, responsible for managing BRIDGE
role.
addAssetListingAdmin
function addAssetListingAdmin(address admin)
Add address to the list of member in ASSET_LISTING_ADMIN
role. Holder of this role can update oracles & add new asset to the Aave market.
removeAssetListingAdmin
function removeAssetListingAdmin(address admin)
Remove address from the list of members in ASSET_LISTING_ADMIN
role.
ABI
Last updated