/* 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 interface ExternalAccountRegistryInterface extends utils.Interface { functions: { "addAccountOwner(address)": FunctionFragment; "addAccountProof(bytes32)": FunctionFragment; "removeAccountOwner(address)": FunctionFragment; "removeAccountProof(bytes32)": FunctionFragment; "verifyAccountOwner(address,address)": FunctionFragment; "verifyAccountOwnerAtBlock(address,address,uint256)": FunctionFragment; "verifyAccountProof(address,bytes32)": FunctionFragment; "verifyAccountProofAtBlock(address,bytes32,uint256)": FunctionFragment; }; encodeFunctionData( functionFragment: "addAccountOwner", values: [string] ): string; encodeFunctionData( functionFragment: "addAccountProof", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "removeAccountOwner", values: [string] ): string; encodeFunctionData( functionFragment: "removeAccountProof", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "verifyAccountOwner", values: [string, string] ): string; encodeFunctionData( functionFragment: "verifyAccountOwnerAtBlock", values: [string, string, BigNumberish] ): string; encodeFunctionData( functionFragment: "verifyAccountProof", values: [string, BytesLike] ): string; encodeFunctionData( functionFragment: "verifyAccountProofAtBlock", values: [string, BytesLike, BigNumberish] ): string; decodeFunctionResult( functionFragment: "addAccountOwner", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "addAccountProof", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "removeAccountOwner", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "removeAccountProof", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "verifyAccountOwner", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "verifyAccountOwnerAtBlock", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "verifyAccountProof", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "verifyAccountProofAtBlock", data: BytesLike ): Result; events: { "AccountOwnerAdded(address,address)": EventFragment; "AccountOwnerRemoved(address,address)": EventFragment; "AccountProofAdded(address,bytes32)": EventFragment; "AccountProofRemoved(address,bytes32)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "AccountOwnerAdded"): EventFragment; getEvent(nameOrSignatureOrTopic: "AccountOwnerRemoved"): EventFragment; getEvent(nameOrSignatureOrTopic: "AccountProofAdded"): EventFragment; getEvent(nameOrSignatureOrTopic: "AccountProofRemoved"): EventFragment; } export type AccountOwnerAddedEvent = TypedEvent< [string, string], { account: string; owner: string } >; export type AccountOwnerAddedEventFilter = TypedEventFilter; export type AccountOwnerRemovedEvent = TypedEvent< [string, string], { account: string; owner: string } >; export type AccountOwnerRemovedEventFilter = TypedEventFilter; export type AccountProofAddedEvent = TypedEvent< [string, string], { account: string; hash: string } >; export type AccountProofAddedEventFilter = TypedEventFilter; export type AccountProofRemovedEvent = TypedEvent< [string, string], { account: string; hash: string } >; export type AccountProofRemovedEventFilter = TypedEventFilter; export interface ExternalAccountRegistry extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: ExternalAccountRegistryInterface; 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: { addAccountOwner( owner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; addAccountProof( hash: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; removeAccountOwner( owner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; removeAccountProof( hash: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; verifyAccountOwner( account: string, owner: string, overrides?: CallOverrides ): Promise<[boolean]>; verifyAccountOwnerAtBlock( account: string, owner: string, blockNumber: BigNumberish, overrides?: CallOverrides ): Promise<[boolean]>; verifyAccountProof( account: string, hash: BytesLike, overrides?: CallOverrides ): Promise<[boolean]>; verifyAccountProofAtBlock( account: string, hash: BytesLike, blockNumber: BigNumberish, overrides?: CallOverrides ): Promise<[boolean]>; }; addAccountOwner( owner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; addAccountProof( hash: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; removeAccountOwner( owner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; removeAccountProof( hash: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; verifyAccountOwner( account: string, owner: string, overrides?: CallOverrides ): Promise; verifyAccountOwnerAtBlock( account: string, owner: string, blockNumber: BigNumberish, overrides?: CallOverrides ): Promise; verifyAccountProof( account: string, hash: BytesLike, overrides?: CallOverrides ): Promise; verifyAccountProofAtBlock( account: string, hash: BytesLike, blockNumber: BigNumberish, overrides?: CallOverrides ): Promise; callStatic: { addAccountOwner(owner: string, overrides?: CallOverrides): Promise; addAccountProof(hash: BytesLike, overrides?: CallOverrides): Promise; removeAccountOwner(owner: string, overrides?: CallOverrides): Promise; removeAccountProof( hash: BytesLike, overrides?: CallOverrides ): Promise; verifyAccountOwner( account: string, owner: string, overrides?: CallOverrides ): Promise; verifyAccountOwnerAtBlock( account: string, owner: string, blockNumber: BigNumberish, overrides?: CallOverrides ): Promise; verifyAccountProof( account: string, hash: BytesLike, overrides?: CallOverrides ): Promise; verifyAccountProofAtBlock( account: string, hash: BytesLike, blockNumber: BigNumberish, overrides?: CallOverrides ): Promise; }; filters: { "AccountOwnerAdded(address,address)"( account?: null, owner?: null ): AccountOwnerAddedEventFilter; AccountOwnerAdded( account?: null, owner?: null ): AccountOwnerAddedEventFilter; "AccountOwnerRemoved(address,address)"( account?: null, owner?: null ): AccountOwnerRemovedEventFilter; AccountOwnerRemoved( account?: null, owner?: null ): AccountOwnerRemovedEventFilter; "AccountProofAdded(address,bytes32)"( account?: null, hash?: null ): AccountProofAddedEventFilter; AccountProofAdded( account?: null, hash?: null ): AccountProofAddedEventFilter; "AccountProofRemoved(address,bytes32)"( account?: null, hash?: null ): AccountProofRemovedEventFilter; AccountProofRemoved( account?: null, hash?: null ): AccountProofRemovedEventFilter; }; estimateGas: { addAccountOwner( owner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; addAccountProof( hash: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; removeAccountOwner( owner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; removeAccountProof( hash: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; verifyAccountOwner( account: string, owner: string, overrides?: CallOverrides ): Promise; verifyAccountOwnerAtBlock( account: string, owner: string, blockNumber: BigNumberish, overrides?: CallOverrides ): Promise; verifyAccountProof( account: string, hash: BytesLike, overrides?: CallOverrides ): Promise; verifyAccountProofAtBlock( account: string, hash: BytesLike, blockNumber: BigNumberish, overrides?: CallOverrides ): Promise; }; populateTransaction: { addAccountOwner( owner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; addAccountProof( hash: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; removeAccountOwner( owner: string, overrides?: Overrides & { from?: string | Promise } ): Promise; removeAccountProof( hash: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; verifyAccountOwner( account: string, owner: string, overrides?: CallOverrides ): Promise; verifyAccountOwnerAtBlock( account: string, owner: string, blockNumber: BigNumberish, overrides?: CallOverrides ): Promise; verifyAccountProof( account: string, hash: BytesLike, overrides?: CallOverrides ): Promise; verifyAccountProofAtBlock( account: string, hash: BytesLike, blockNumber: BigNumberish, overrides?: CallOverrides ): Promise; }; }