Access Control
Admin addresses and operations in Parallel protocol.
Access Roles
The following access roles are defined in the ACLManager contract And many other contracts have the extra OnlyOwner
access.
DEFAULT_ADMIN_ROLE
This role is the default admin role for the ACLManager contract And can set the admin role of all roles defined in ACLManager.
POOL_ADMIN_ROLE
This role has most of all privileges.
RISK_ADMIN_ROLE
This role can set all existing reserve parameters, like the supplyCap, the borrowCap, the InterestRateStrategy address, etc.
ASSET_LISTING_ADMIN_ROLE
This role can add new reserves into the lending market and set reserve price oracle.
EMERGENCY_ADMIN_ROLE
This role can pause the reserve or the lending pool and pause the AutoCompoundApe and Timelock agreements.
The following roles are not used currently:
FLASH_BORROWER_ROLE
BRIDGE_ROLE
Mainnet Admin Address
Role | Address |
---|---|
DEFAULT_ADMIN_ROLE |
|
POOL_ADMIN_ROLE |
|
RISK_ADMIN_ROLE |
|
ASSET_LISTING_ADMIN_ROLE |
|
EMERGENCY_ADMIN_ROLE |
|
Admin Role Operations
The following operations are controlled by the admin role of ACLManager.
DEFAULT_ADMIN_ROLE
Currently, the admin role of all roles is DEFAULT_ADMIN_ROLE. The address with that role has the privilege to add other admin addresses.
Contract | Method | Description |
---|---|---|
ACLManager |
| Set the role as admin of a specific role. |
POOL_ADMIN_ROLE
Contract | Method | Description |
---|---|---|
PoolConfigurator |
| Initialize multiple reserves. |
| Drop a reserve entirely. | |
| Updates the pToken implementation for the reserve. | |
| Update the nToken implementation for the reserve. | |
| Update the variable debt token implementation for the asset. | |
| Configure borrowing on a reserve. | |
| Configure the reserve collateralization parameters. | |
| Activate or deactivate a reserve. | |
| Freeze or unfreeze a reserve. A frozen reserve doesn't allow any new supply, borrow. | |
| Pause a reserve. A paused reserve does not allow any interaction (supply, borrow, repay). | |
| Unpause a reserve. | |
| Update the reserve factor of a reserve. | |
| Set siloed borrowing for an asset | |
| Update the borrow cap of a reserve. | |
| Update the supply cap of a reserve. | |
| Update the liquidation protocol fee of reserve. | |
| Set the interest rate strategy of a reserve. | |
| Set the timelock strategy of a reserve. | |
| Set the auction strategy of a reserve. | |
| Unpause all the protocol reserves. | |
| Set the auction recovery health factor. | |
ParaSpaceOracle |
| Sets or replaces price sources of assets. |
| Sets the fallback oracle. | |
PoolProxy |
| Rescue and transfer tokens locked in this contract. |
| Update the fee percentage for claim ape for compound. | |
| Grant token's an unlimited allowance value to the | |
PToken |
| Set a new incentives controller address. |
| Rescue and transfer tokens locked in this contract. | |
DelegationAwarePToken |
| Delegate voting power of the underlying asset to a |
NToken |
| Set a new balance limit. |
| Rescue and transfer ERC20 tokens locked in this contract. | |
| Rescue and transfer ERC721 tokens locked in this contract. | |
| Rescue and transfer ERC1155 tokens locked in this contract. | |
| Execute the airdrop action. | |
NTokenApeStaking |
| Update the incentive percentage for |
PriceOracleSentinel |
| Update the address of the sequencer oracle. |
| Update the duration of the grace period. | |
ERC721OracleWrapper |
| Set the oracle address for this wrapper. |
AutoCompoundApe |
| Pause AutoCompoundApe contract. |
| Unpause AutoCompoundApe contract. | |
| Rescue and transfer ERC20 tokens locked in this contract. | |
| Set vote delegation. | |
| Clear vote delegation. | |
| Reset | |
TimeLock (Withdraw and Borrow) |
| Freeze a specific time-lock agreement. |
| Unfreeze a specific time-lock agreement. | |
| Freeze all time-lock agreements. | |
| Unfreeze all time-lock agreements. |
RISK_ADMIN_ROLE
Contract | Method | Description |
---|---|---|
PoolConfigurator |
| Configure borrowing on a reserve. |
| Configure the reserve collateralization parameters. | |
| Freeze or unfreeze a reserve. A frozen reserve doesn't allow any new supply, borrow. | |
| Update the reserve factor of a reserve. | |
| Set siloed borrowing for an asset | |
| Update the borrow cap of a reserve. | |
| Update the supply cap of a reserve. | |
| Update the liquidation protocol fee of reserve. | |
| Set the interest rate strategy of a reserve. | |
| Set the timelock strategy of a reserve. | |
| Set the auction strategy of a reserve. | |
| Set the auction recovery health factor. | |
PriceOracleSentinel |
| Update the duration of the grace period. |
ASSET_LISTING_ADMIN_ROLE
Contract | Method | Description |
---|---|---|
PoolConfigurator |
| Initialize multiple reserves. |
ERC721OracleWrapper |
| Set the oracle address for this wrapper. |
ParaSpaceOracle |
| Sets or replaces price sources of assets. |
| Sets the fallback oracle. |
EMERGENCY_ADMIN_ROLE
Contract | Method | Description |
---|---|---|
PoolConfigurator |
| Pause a reserve. A paused reserve does not allow any interaction (supply, borrow, repay). |
| Pause all the protocol reserves. | |
AutoCompoundApe |
| Pause AutoCompoundApe contract. |
TimeLock (Withdraw and Borrow) |
| Freeze a specific time-lock agreement. |
| Freeze all time-lock agreements. |
OnlyOwner
Operations
OnlyOwner
OperationsThe following operations are controlled by the owner of each contract.
PoolAddressesProviderRegistry
Owner: 0xca8678d2d273b1913148402aed2E99b085ea3F02 (TimeLock)
Method | Description |
---|---|
| Register an addresses provider. |
| Remove an addresses provider from the list of registered addresses providers. |
PoolAddressesProvider
Owner: 0xca8678d2d273b1913148402aed2E99b085ea3F02 (TimeLock)
Method | Description |
---|---|
| Associate an id with a specific PoolAddressesProvider. |
| Set an address for an id replacing the address saved in the addresses map. |
| Update the implementation of the Pool, or creates a proxy. |
| Update the implementation of the PoolConfigurator, or creates a proxy. |
| Update the address of the price oracle. |
| Update the address of the ACL manager. |
| Updates the address of the ACL admin. |
| Updates the address of the price oracle sentinel. |
| Updates the address of the ProtocolDataProvider. |
| Update or set WETH address. |
| Update the info of the BNPL marketplace. |
WETHGateway
Owner: 0xca8678d2d273b1913148402aed2E99b085ea3F02 (TimeLock)
Method | Description |
---|---|
| Transfer ERC20 from the utility contract, for ERC20 recovery in case of stuck tokens due to direct transfers to the contract address. |
| Transfer native Ether from the utility contract, for native Ether recovery in case of stuck tokens due to direct transfers to the contract address. |
WPunkGateway
Owner: 0xca8678d2d273b1913148402aed2E99b085ea3F02 (TimeLock)
Method | Description |
---|---|
| Transfer ERC721 from the utility contract, for ERC721 recovery in case of stuck tokens due to direct transfers to the contract address. |
| Transfer native Punk from the utility contract, for native Punk recovery in case of stuck Punk due to selfdestructs or transfer punk to pre-computated contract address before deployment. |
Last updated