/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils, } from "ethers"; import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; import { Listener, Provider } from "@ethersproject/providers"; import { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common"; export type FacetCutStruct = { facetAddress: string; action: BigNumberish; functionSelectors: BytesLike[]; }; export type FacetCutStructOutput = [string, number, string[]] & { facetAddress: string; action: number; functionSelectors: string[]; }; export interface DiamondCutFacetInterface extends utils.Interface { functions: { "diamondCut((address,uint8,bytes4[])[],address,bytes)": FunctionFragment; }; encodeFunctionData( functionFragment: "diamondCut", values: [FacetCutStruct[], string, BytesLike] ): string; decodeFunctionResult(functionFragment: "diamondCut", data: BytesLike): Result; events: { "DiamondCut(tuple[],address,bytes)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "DiamondCut"): EventFragment; } export type DiamondCutEvent = TypedEvent< [FacetCutStructOutput[], string, string], { _diamondCut: FacetCutStructOutput[]; _init: string; _calldata: string } >; export type DiamondCutEventFilter = TypedEventFilter; export interface DiamondCutFacet extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: DiamondCutFacetInterface; queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>; listeners( eventFilter?: TypedEventFilter ): Array>; listeners(eventName?: string): Array; removeAllListeners( eventFilter: TypedEventFilter ): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { diamondCut( _diamondCut: FacetCutStruct[], _init: string, _calldata: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; }; diamondCut( _diamondCut: FacetCutStruct[], _init: string, _calldata: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; callStatic: { diamondCut( _diamondCut: FacetCutStruct[], _init: string, _calldata: BytesLike, overrides?: CallOverrides ): Promise; }; filters: { "DiamondCut(tuple[],address,bytes)"( _diamondCut?: null, _init?: null, _calldata?: null ): DiamondCutEventFilter; DiamondCut( _diamondCut?: null, _init?: null, _calldata?: null ): DiamondCutEventFilter; }; estimateGas: { diamondCut( _diamondCut: FacetCutStruct[], _init: string, _calldata: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; }; populateTransaction: { diamondCut( _diamondCut: FacetCutStruct[], _init: string, _calldata: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; }; }