Skip to content

acl:execute-scheduled

Execute an operation through an AccessManager, consuming its schedule when the operation was delayed.

⚗️ 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:execute-scheduled <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
--valuenumberRuntime in smart blocksETH to send with the call (in wei)
load acl
set $manager 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1
set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
acl:execute-scheduled $manager $token "setDuration(uint256)" 1y
  • Also works for calls that need no delay: the AccessManager relays the call directly when the caller has immediate permission.
  • Consumes the schedule created by acl:schedule when one exists.