State Variables
_ruleProcessorFacetCuts
red
OWNER
Functions
createRulesEngineDiamond
Deploy and set up the Rules Engine Diamond. This function deploys the diamond, initializes it with the required facets, and sets the owner.Name | Type | Description |
---|---|---|
owner | address | The address to be set as the owner of the diamond. |
Name | Type | Description |
---|---|---|
diamond | ForteRulesEngine | The fully configured Rules Engine Diamond. |
createSelectorArray
Create the selector array for a given facet. This function uses a Python script to generate the function selectors for the specified facet.Name | Type | Description |
---|---|---|
facet | string | The name of the facet for which to generate selectors. |
Name | Type | Description |
---|---|---|
selectors | bytes4[] | The array of function selectors for the facet. |