Skip to content

acl:schedule

Schedule a delayed operation on an AccessManager for later execution with acl:execute-scheduled.

⚗️ Experimental — available at next.evmcrispr.com.

Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.

acl:schedule <manager> <target> <signature> [...params]
NameTypeEvaluationDescription
manageraddressRuntime in smart blocksAccessManager address
targetaddressRuntime in smart blocksManaged contract address
signaturewrite-abiBuild timeFunction to call on the target
[...params]anyRuntime in smart blocksArguments matching the signature types
NameTypeEvaluationDescription
--whennumberRuntime in smart blocksUnix timestamp at which the operation becomes executable (default 0 = as soon as the delay allows)
load acl
set $manager 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1
set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
# Queue a delayed call for as soon as the execution delay allows
acl:schedule $manager $token "setDuration(uint256)" 1y
# Or pick an explicit execution time
acl:schedule $manager $token "setDuration(uint256)" 1y --when 1767225600
  • The sender must hold the role required for the call; scheduling starts the execution-delay clock attached to their grant.
  • Scheduled operations expire one week after becoming executable.