governor:timelock-cancel
Cancel a pending TimelockController operation. The sender needs the CANCELLER_ROLE.
Syntax
Section titled “Syntax”governor:timelock-cancel <timelock> <operationId>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
timelock |
address |
TimelockController address |
operationId |
bytes32 |
Operation id (bound by governor:timelock-schedule) |
Examples
Section titled “Examples”load governor
set $timelock 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdbset $grantee 0x4F2083f5fBede34C2714aFfb3105539775f7FE64
governor:timelock-schedule $opId $timelock 172800 ( exec $token transfer(address,uint256) $grantee 100e18)governor:timelock-cancel $timelock $opId- Requires the CANCELLER_ROLE; only pending (not yet executed) operations can be cancelled.
See Also
Section titled “See Also”- governor:timelock-schedule — binds the operation id