State Variables
rulesEngineAddress
Address of the Rules Engine contractFunctions
setForeignCallAdmin
Sets the admin role for the calling contract in the Rules Engine. This function must be called per function signature. The admin role will be granted for the contract address and signature pair. This function is intended to be overridden by the contract that implements the foreign call and used in conjuction with role based admin controls. This function assigns the admin role for the calling contract to the specified address.Name | Type | Description |
---|---|---|
foreignCallAdmin | address | The address to be assigned as the admin for the calling contract. |
foreignCallSelector | bytes4 | selector for the foreign call function to be registered as a permissioned foreign call. |
setRulesEngineAddress
Sets the address of the Rules Engine contract. This function should be overridden in inheriting contracts to implement role-based access control.Name | Type | Description |
---|---|---|
rulesEngine | address | The address of the Rules Engine contract. |