@acl:operationId
Operation id of an AccessManager call (hashOperation of caller, target and calldata), for use with @acl:operationSchedule.
Returns: bytes32
Syntax
Section titled “Syntax”@acl:operationId(manager caller target signature params?)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
manager | address | AccessManager address |
caller | address | Account that schedules the operation |
target | address | Managed contract address |
signature | string | Function signature (e.g. mint(address,uint256)) |
[params] | array | Arguments matching the signature types |
Examples
Section titled “Examples”load acl
set $manager 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
set $id @acl:operationId($manager @me $token "setDuration(uint256)" [1y])print @acl:operationSchedule($manager $id)