UNPKG

dop-stick

Version:

Source control tooling for versionable-upgradeable smart contracts

22 lines 987 B
import { Contract, ContractFactory, Signer } from 'ethers'; export declare const FacetCutAction: { readonly Add: 0; readonly Replace: 1; readonly Remove: 2; }; interface SelectorsArray extends Array<string> { contract?: Contract; remove?: typeof remove; get?: typeof get; } export declare function getSelectors(contract: Contract): SelectorsArray; export declare function getSelector(func: string): string; declare function remove(this: SelectorsArray, functionNames: string[]): SelectorsArray; declare function get(this: SelectorsArray, functionNames: string[]): SelectorsArray; export declare function removeSelectors(selectors: string[], signatures: string[]): string[]; export declare function findAddressPositionInFacets(facetAddress: string, facets: Array<{ facetAddress: string; }>): number | undefined; export declare function getContractFactory(name: string, signer?: Signer): Promise<ContractFactory>; export {}; //# sourceMappingURL=eunice.d.ts.map