Skip to content

@governor:governor.timelockOperationState

State of a TimelockController operation: Unset, Waiting, Ready or Done.

Returns: string

@governor:governor.timelockOperationState(timelock operationId)
Name Type Description
timelock address TimelockController address
operationId bytes32 Operation id (bound by governor:timelock-schedule)
load governor
set $timelock 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1
set $opId 0x83f6db63dbcae7ea6a625e442c00b74a4707ce6c4a91667c8b5cf01b6f3159a1
print @governor.timelockOperationState($timelock $opId)
  • Returns Unset, Waiting, Ready or Done, derived from the operation timestamp (works on all TimelockController versions).