Git Source

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

constructor(FacetCut[] memory diamondCut, RuleProcessorDiamondArgs memory args) payable;

Parameters

NameTypeDescription
diamondCutFacetCut[]Array of Facets to be created at deployment
argsRuleProcessorDiamondArgsArguments 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.

fallback() external payable;

receive

Function for empty calldata

receive() external payable;