/* 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 } from "@ethersproject/abi"; import { Listener, Provider } from "@ethersproject/providers"; import { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common"; export interface AddressArrayUtilsMockInterface extends utils.Interface { functions: { "getStorageArray()": FunctionFragment; "setStorageArray(address[])": FunctionFragment; "storageArray(uint256)": FunctionFragment; "testContains(address[],address)": FunctionFragment; "testHasDuplicate(address[])": FunctionFragment; "testIndexOf(address[],address)": FunctionFragment; "testPop(address[],uint256)": FunctionFragment; "testRemove(address[],address)": FunctionFragment; "testRemoveStorage(address)": FunctionFragment; "testValidatePairsWithArrayAddress(address[],address[])": FunctionFragment; "testValidatePairsWithArrayBool(address[],bool[])": FunctionFragment; "testValidatePairsWithArrayBytes(address[],bytes[])": FunctionFragment; "testValidatePairsWithArrayString(address[],string[])": FunctionFragment; "testValidatePairsWithArrayUint(address[],uint256[])": FunctionFragment; }; encodeFunctionData( functionFragment: "getStorageArray", values?: undefined ): string; encodeFunctionData( functionFragment: "setStorageArray", values: [string[]] ): string; encodeFunctionData( functionFragment: "storageArray", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "testContains", values: [string[], string] ): string; encodeFunctionData( functionFragment: "testHasDuplicate", values: [string[]] ): string; encodeFunctionData( functionFragment: "testIndexOf", values: [string[], string] ): string; encodeFunctionData( functionFragment: "testPop", values: [string[], BigNumberish] ): string; encodeFunctionData( functionFragment: "testRemove", values: [string[], string] ): string; encodeFunctionData( functionFragment: "testRemoveStorage", values: [string] ): string; encodeFunctionData( functionFragment: "testValidatePairsWithArrayAddress", values: [string[], string[]] ): string; encodeFunctionData( functionFragment: "testValidatePairsWithArrayBool", values: [string[], boolean[]] ): string; encodeFunctionData( functionFragment: "testValidatePairsWithArrayBytes", values: [string[], BytesLike[]] ): string; encodeFunctionData( functionFragment: "testValidatePairsWithArrayString", values: [string[], string[]] ): string; encodeFunctionData( functionFragment: "testValidatePairsWithArrayUint", values: [string[], BigNumberish[]] ): string; decodeFunctionResult( functionFragment: "getStorageArray", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setStorageArray", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "storageArray", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "testContains", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "testHasDuplicate", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "testIndexOf", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "testPop", data: BytesLike): Result; decodeFunctionResult(functionFragment: "testRemove", data: BytesLike): Result; decodeFunctionResult( functionFragment: "testRemoveStorage", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "testValidatePairsWithArrayAddress", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "testValidatePairsWithArrayBool", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "testValidatePairsWithArrayBytes", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "testValidatePairsWithArrayString", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "testValidatePairsWithArrayUint", data: BytesLike ): Result; events: {}; } export interface AddressArrayUtilsMock extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: AddressArrayUtilsMockInterface; 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: { getStorageArray(overrides?: CallOverrides): Promise<[string[]]>; setStorageArray( A: string[], overrides?: Overrides & { from?: string | Promise } ): Promise; storageArray( arg0: BigNumberish, overrides?: CallOverrides ): Promise<[string]>; testContains( A: string[], a: string, overrides?: CallOverrides ): Promise<[boolean]>; testHasDuplicate( A: string[], overrides?: CallOverrides ): Promise<[boolean]>; testIndexOf( A: string[], a: string, overrides?: CallOverrides ): Promise<[BigNumber, boolean]>; testPop( A: string[], index: BigNumberish, overrides?: CallOverrides ): Promise<[string[], string]>; testRemove( A: string[], a: string, overrides?: CallOverrides ): Promise<[string[]]>; testRemoveStorage( a: string, overrides?: Overrides & { from?: string | Promise } ): Promise; testValidatePairsWithArrayAddress( A: string[], a: string[], overrides?: CallOverrides ): Promise<[void]>; testValidatePairsWithArrayBool( A: string[], a: boolean[], overrides?: CallOverrides ): Promise<[void]>; testValidatePairsWithArrayBytes( A: string[], a: BytesLike[], overrides?: CallOverrides ): Promise<[void]>; testValidatePairsWithArrayString( A: string[], a: string[], overrides?: CallOverrides ): Promise<[void]>; testValidatePairsWithArrayUint( A: string[], a: BigNumberish[], overrides?: CallOverrides ): Promise<[void]>; }; getStorageArray(overrides?: CallOverrides): Promise; setStorageArray( A: string[], overrides?: Overrides & { from?: string | Promise } ): Promise; storageArray(arg0: BigNumberish, overrides?: CallOverrides): Promise; testContains( A: string[], a: string, overrides?: CallOverrides ): Promise; testHasDuplicate(A: string[], overrides?: CallOverrides): Promise; testIndexOf( A: string[], a: string, overrides?: CallOverrides ): Promise<[BigNumber, boolean]>; testPop( A: string[], index: BigNumberish, overrides?: CallOverrides ): Promise<[string[], string]>; testRemove( A: string[], a: string, overrides?: CallOverrides ): Promise; testRemoveStorage( a: string, overrides?: Overrides & { from?: string | Promise } ): Promise; testValidatePairsWithArrayAddress( A: string[], a: string[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayBool( A: string[], a: boolean[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayBytes( A: string[], a: BytesLike[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayString( A: string[], a: string[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayUint( A: string[], a: BigNumberish[], overrides?: CallOverrides ): Promise; callStatic: { getStorageArray(overrides?: CallOverrides): Promise; setStorageArray(A: string[], overrides?: CallOverrides): Promise; storageArray( arg0: BigNumberish, overrides?: CallOverrides ): Promise; testContains( A: string[], a: string, overrides?: CallOverrides ): Promise; testHasDuplicate(A: string[], overrides?: CallOverrides): Promise; testIndexOf( A: string[], a: string, overrides?: CallOverrides ): Promise<[BigNumber, boolean]>; testPop( A: string[], index: BigNumberish, overrides?: CallOverrides ): Promise<[string[], string]>; testRemove( A: string[], a: string, overrides?: CallOverrides ): Promise; testRemoveStorage(a: string, overrides?: CallOverrides): Promise; testValidatePairsWithArrayAddress( A: string[], a: string[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayBool( A: string[], a: boolean[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayBytes( A: string[], a: BytesLike[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayString( A: string[], a: string[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayUint( A: string[], a: BigNumberish[], overrides?: CallOverrides ): Promise; }; filters: {}; estimateGas: { getStorageArray(overrides?: CallOverrides): Promise; setStorageArray( A: string[], overrides?: Overrides & { from?: string | Promise } ): Promise; storageArray( arg0: BigNumberish, overrides?: CallOverrides ): Promise; testContains( A: string[], a: string, overrides?: CallOverrides ): Promise; testHasDuplicate( A: string[], overrides?: CallOverrides ): Promise; testIndexOf( A: string[], a: string, overrides?: CallOverrides ): Promise; testPop( A: string[], index: BigNumberish, overrides?: CallOverrides ): Promise; testRemove( A: string[], a: string, overrides?: CallOverrides ): Promise; testRemoveStorage( a: string, overrides?: Overrides & { from?: string | Promise } ): Promise; testValidatePairsWithArrayAddress( A: string[], a: string[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayBool( A: string[], a: boolean[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayBytes( A: string[], a: BytesLike[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayString( A: string[], a: string[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayUint( A: string[], a: BigNumberish[], overrides?: CallOverrides ): Promise; }; populateTransaction: { getStorageArray(overrides?: CallOverrides): Promise; setStorageArray( A: string[], overrides?: Overrides & { from?: string | Promise } ): Promise; storageArray( arg0: BigNumberish, overrides?: CallOverrides ): Promise; testContains( A: string[], a: string, overrides?: CallOverrides ): Promise; testHasDuplicate( A: string[], overrides?: CallOverrides ): Promise; testIndexOf( A: string[], a: string, overrides?: CallOverrides ): Promise; testPop( A: string[], index: BigNumberish, overrides?: CallOverrides ): Promise; testRemove( A: string[], a: string, overrides?: CallOverrides ): Promise; testRemoveStorage( a: string, overrides?: Overrides & { from?: string | Promise } ): Promise; testValidatePairsWithArrayAddress( A: string[], a: string[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayBool( A: string[], a: boolean[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayBytes( A: string[], a: BytesLike[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayString( A: string[], a: string[], overrides?: CallOverrides ): Promise; testValidatePairsWithArrayUint( A: string[], a: BigNumberish[], overrides?: CallOverrides ): Promise; }; }