Skip to content

acl:schedule

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

acl:schedule <manager> <target> <signature> [...params]
NameTypeDescription
manageraddressAccessManager address
targetaddressManaged contract address
signaturewrite-abiFunction to call on the target
[...params]anyArguments matching the signature types
NameTypeDescription
--whennumberUnix 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.