Name | Type | Description |
---|---|---|
callingContractAdmin | address | The address to be assigned as the admin for the calling contract. |
Name | Type | Description |
---|---|---|
rulesEngine | address | The address of the Rules Engine contract. |
checkPolicies
function of the Rules Engine.
The encoded
parameter must be properly encoded using abi.encodeWithSelector
.
Example: bytes memory encoded = abi.encodeWithSelector(msg.sig, to, value, msg.sender);
Name | Type | Description |
---|---|---|
_encoded | bytes | The encoded data to be passed to the Rules Engine. |
Name | Type | Description |
---|---|---|
_retval | uint256 | The return value from the Rules Engine, representing the result of the policy evaluation. |