Git Source

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

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

Parameters

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