DiamondCutFacet

Git Source

Inherits: IDiamondCut, DiamondCutBase, Facet

Functions

DiamondCut_init

function DiamondCut_init() external onlyInitializing;

diamondCut

Add/replace/remove any number of functions and optionally execute a function with delegatecall.

function diamondCut(
    IDiamond.FacetCut[] memory facetCuts,
    address init,
    bytes memory initData
)
    external
    onlyDiamondOwner
    reinitializer(_nextVersion());

Parameters