Access control
The table below outlines the access control permissions for the Timelock contract:
Access
Role
Function name
Description
Governor
PROPOSER_ROLE
schedule
schedule a call to execute from timelock contract with delay (it can be governance contract)
Governor/Protocol Owner/Emergency Executor
CANCELLER_ROLE
cancel
cancel a scheduled action to be executed (it can be governance contract)
Anyone
EXECUTOR_ROLE
execute
execute a scheduled action that has passed it's delay (it can be governance contract)
Emergency Executor
EMERGENCY_GUARDIAN_ROLE
emergencyExecute/emergencyExecuteBatch
Executes a emergency transaction without requiring the standard proposal and delay mechanism.
Protocol Owner
TIMELOCK_ADMIN
grantRole
set Ececutor/Canceller/Proposers for the timelock contract
Last updated