Skip to content

@acl:canCall

Whether a caller can immediately call a restricted function of a contract managed by an AccessManager.

Returns: bool

@acl:canCall(manager caller target signature)
NameTypeDescription
manageraddressAccessManager address
calleraddressCalling account
targetaddressManaged contract address
signaturestringFunction signature (e.g. mint(address,uint256))
load acl
set $manager 0xc0dbDcA66a0636236fAbe1B3C16B1bD4C84bB1E1
set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
print @acl:canCall($manager @me $token "mint(address,uint256)")
  • Returns true only when the caller can execute the function immediately; a member whose grant carries an execution delay gets false (the call must go through the AccessManager schedule flow).