Access control
The table below outlines the access control permissions for the pToken contract, specifying which roles or entities are authorized to execute each function.
Access
Role
Function name
Description
Protocol Owner
_OWNER_WITHDRAWER_PERMISSION
reduceReservesOwner
Decreases the amount of funds held in reserves for protocol owner.
Governor (via Timelock)
_CONFIGURATOR_PERMISSION
configureInterestRateModel
set new IRM params
Governor (via Timelock)
_RESERVE_WITHDRAWER_PERMISSION
sweepToken
Withdraws ERC20 tokens from the pToken that are not the underlying asset.
Governor (via Timelock)
_RESERVE_MANAGER_PERMISSION
setReserveFactor
Adjusts the percentage of interest allocated to reserves.
Governor (via Timelock)
_RESERVE_MANAGER_PERMISSION
setProtocolSeizeShare
set new protocol seize share for liquidation
Governor (via Timelock)
_RESERVE_WITHDRAWER_PERMISSION
reduceReservesConfigurator
Decreases the amount of funds held in reserves for governor
Emergency Guardian
_EMERGENCY_WITHDRAWER_PERMISSION
reduceReservesEmergency
Decreases the amount of funds held in total reserves for protocol
Last updated