diamondCut
Parameters
| Name | Type | Description |
|---|---|---|
| _diamondCut | IDiamondStorage.FacetCut[] | Contains the facet addresses and function selectors |
| _init | address | The address of the contract or facet to execute _calldata |
| _calldata | bytes | A function call, including function selector and arguments _calldata is executed with delegatecall on _init |
DiamondCut
Parameters
| Name | Type | Description |
|---|---|---|
| _diamondCut | struct IDiamondStorage.FacetCut[] | Contains the update data (facet addresses, action, function selectors) |
| _init | address | The address of the contract or facet to execute _calldata |
| _calldata | bytes | Function call to execute after the diamond cut |
