DiamondCutFacet
Inherits: IDiamondCut, DiamondCutBase, Facet
Functions
DiamondCut_init
diamondCut
Add/replace/remove any number of functions and optionally execute a function with delegatecall.
Parameters
Inherits: IDiamondCut, DiamondCutBase, Facet
Add/replace/remove any number of functions and optionally execute a function with delegatecall.
Parameters
Name | Type | Description |
---|---|---|
facetCuts
IDiamond.FacetCut[]
Contains the facet addresses and function selectors.
init
address
The address of the contract or facet to execute initData.
initData
bytes
A function call, including function selector and arguments executed with delegatecall on address init.