getFacetCutsAdd

getFacetCutsAdd(facets: Contract[])

This function generates FacetCut objects with ADD action for the provided contracts.

Parameters

facets: An array of contract instances representing facets

Returns

An array of FacetCut objects

Usage Example

const facetCuts = sdk.getFacetCutsAdd([contract1, contract2]);