HandlerDiamond.sol
HandlerDiamond
Inherits: ERC173, IHandlerDiamondEvents
Author: @ShaneDuncan602 @oscarsernarosero @TJ-Everett
The diamond inherits ERC173 for ownership management.
The proxy contract of the diamond pattern. Responsible for handling the token rule configuration and communication with the application and protocol.
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 | HandlerDiamondArgs | 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