RuleProcessorDiamond.sol
RuleProcessorDiamond
Inherits: ERC173, IRuleProcessorDiamondEvents
Author: @ShaneDuncan602 @oscarsernarosero @TJ-Everett
Contract checks the rules for success
Main contract of the diamond pattern. Responsible for checking on rules compliance.
Functions
constructor
constructor creates facets for the diamond at deployment
Parameters
Name | Type | Description |
---|---|---|
diamondCut | FacetCut[] | Array of Facets to be created at deployment |
args | RuleProcessorDiamondArgs | Arguments for the Facets Position and Addresses |
fallback
Function finds facet for function that is called and execute the function if a facet is found and return any value.
receive
Function for empty calldata