DiamondCutStorage

Git Source

State Variables

DIAMOND_CUT_STORAGE_POSITION

bytes32 internal constant DIAMOND_CUT_STORAGE_POSITION = keccak256("diamond.cut.storage");

Functions

layout

function layout() internal pure returns (Layout storage l);

Structs

Layout

struct Layout {
    EnumerableSet.AddressSet facets;
    mapping(bytes4 selector => address facet) selectorToFacet;
    mapping(address facet => EnumerableSet.Bytes32Set selectors) facetSelectors;
}

Last updated

Was this helpful?