governor:timelock-execute
Execute a ready TimelockController operation. Takes the same action block, predecessor and salt used in governor:timelock-schedule.
Syntax
Section titled “Syntax”governor:timelock-execute <timelock> <actions>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
timelock |
address |
TimelockController address |
actions |
block |
Block of commands making up the operation |
Options
Section titled “Options”| Name | Type | Description |
|---|---|---|
--predecessor |
bytes32 |
Operation id that must execute first (default none) |
--salt |
bytes32 |
Salt used when scheduling (default zero) |
Examples
Section titled “Examples”load governorload access-control
set $timelock 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdbset $grantee 0x4F2083f5fBede34C2714aFfb3105539775f7FE64
governor:timelock-execute $timelock ( exec $token transfer(address,uint256) $grantee 100e18 access-control:grant $token MINTER_ROLE $grantee)- The block,
--predecessorand--saltmust match the original governor:timelock-schedule exactly. - Requires the EXECUTOR_ROLE (or none, when the role is granted to the zero address). Any ETH the actions spend is forwarded automatically.
See Also
Section titled “See Also”- @governor.timelockOperationState — wait for Ready