@acl:operationSchedule
Timestamp at which a scheduled AccessManager operation becomes executable (0 when unset, expired or already executed).
⚗️ Experimental — available at next.evmcrispr.com.
Returns: number
Syntax
Section titled “Syntax”@acl:operationSchedule(manager operationId)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
manager | address | AccessManager address |
operationId | bytes32 | Operation id from @acl:operationId |
Examples
Section titled “Examples”load acl
set $manager 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1set $operationId 0x83f6db63dbcae7ea6a625e442c00b74a4707ce6c4a91667c8b5cf01b6f3159a1
print @acl:operationSchedule($manager $operationId)- Returns 0 when the operation is unset, expired or already executed.
See Also
Section titled “See Also”On-chain face (@operationSchedule!)
Section titled “On-chain face (@operationSchedule!)”Read getSchedule(id) at assertion time — assert an operation is not (or still) scheduled after the batch runs.
Examples
Section titled “Examples”load acl
set $manager 0xa111111111111111111111111111111111111111set $id 0x0102030405060708091011121314151617181920212223242526272829303132
assert @operationSchedule!($manager $id) == 0 "still scheduled"