Functions
checkPolicies
Evaluates the conditions associated with all applicable rules and returns the result. This function checks the rules associated with the provided contract address and arguments.Name | Type | Description |
---|---|---|
arguments | bytes | Additional context and global variables to pass in for evaluation, similar to msg.data . |
grantCallingContractRole
Grants the calling contract admin role to a specified account. Call this function from your contract to assign the admin role for a specific calling contract.Name | Type | Description |
---|---|---|
_callingContract | address | The address of the calling contract for which the admin role is being assigned. |
_account | address | The address of the account to assign the admin role. |
Name | Type | Description |
---|---|---|
<none> | bytes32 | bytes32 The ID of the assigned admin role. |
grantForeignCallAdminRole
Grants the calling contract admin role to a specified account. Call this function from your contract to assign the admin role for a specific calling contract.Name | Type | Description |
---|---|---|
_foreignCallContract | address | The address of the calling contract for which the admin role is being assigned. |
_account | address | The address of the account to assign the admin role. |
functionSignature | bytes4 |
Name | Type | Description |
---|---|---|
<none> | bytes32 | bytes32 The ID of the assigned admin role. |