Skip to content

governor:timelock-cancel

Cancel a pending TimelockController operation. The sender needs the CANCELLER_ROLE.

governor:timelock-cancel <timelock> <operationId>
Name Type Description
timelock address TimelockController address
operationId bytes32 Operation id (bound by governor:timelock-schedule)
load governor
set $timelock 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1
set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
set $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.