/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils, } from "ethers"; import type { FunctionFragment, Result, EventFragment, } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, } from "./common"; export interface ERC20AbiInterface extends utils.Interface { contractName: "ERC20Abi"; functions: { "totalSupply()": FunctionFragment; "_totalSupply()": FunctionFragment; "balanceOf(address)": FunctionFragment; "transfer(address,uint256)": FunctionFragment; "allowance(address,address)": FunctionFragment; "transferFrom(address,address,uint256)": FunctionFragment; "approve(address,uint256)": FunctionFragment; "nonces(address)": FunctionFragment; "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment; }; getFunction( nameOrSignatureOrTopic: | "totalSupply" | "_totalSupply" | "balanceOf" | "transfer" | "allowance" | "transferFrom" | "approve" | "nonces" | "permit" ): FunctionFragment; encodeFunctionData( functionFragment: "totalSupply", values?: undefined ): string; encodeFunctionData( functionFragment: "_totalSupply", values?: undefined ): string; encodeFunctionData(functionFragment: "balanceOf", values: [string]): string; encodeFunctionData( functionFragment: "transfer", values: [string, BigNumberish] ): string; encodeFunctionData( functionFragment: "allowance", values: [string, string] ): string; encodeFunctionData( functionFragment: "transferFrom", values: [string, string, BigNumberish] ): string; encodeFunctionData( functionFragment: "approve", values: [string, BigNumberish] ): string; encodeFunctionData(functionFragment: "nonces", values: [string]): string; encodeFunctionData( functionFragment: "permit", values: [ string, string, BigNumberish, BigNumberish, BigNumberish, BytesLike, BytesLike ] ): string; decodeFunctionResult( functionFragment: "totalSupply", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "_totalSupply", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; decodeFunctionResult( functionFragment: "transferFrom", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; events: { "Approval(address,address,uint256)": EventFragment; "Transfer(address,address,uint256)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; } export interface ApprovalEventObject { owner: string; spender: string; value: BigNumber; } export type ApprovalEvent = TypedEvent< [string, string, BigNumber], ApprovalEventObject >; export type ApprovalEventFilter = TypedEventFilter; export interface TransferEventObject { from: string; to: string; value: BigNumber; } export type TransferEvent = TypedEvent< [string, string, BigNumber], TransferEventObject >; export type TransferEventFilter = TypedEventFilter; export interface ERC20Abi extends BaseContract { contractName: "ERC20Abi"; connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: ERC20AbiInterface; 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: { totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; _totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>; balanceOf(who: string, overrides?: CallOverrides): Promise<[BigNumber]>; transfer( to: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise<[BigNumber]>; transferFrom( from: string, to: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; approve( spender: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; nonces(owner: string, overrides?: CallOverrides): Promise<[BigNumber]>; permit( owner: string, spender: string, amount: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; }; totalSupply(overrides?: CallOverrides): Promise; _totalSupply(overrides?: CallOverrides): Promise; balanceOf(who: string, overrides?: CallOverrides): Promise; transfer( to: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; transferFrom( from: string, to: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; approve( spender: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; nonces(owner: string, overrides?: CallOverrides): Promise; permit( owner: string, spender: string, amount: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; callStatic: { totalSupply(overrides?: CallOverrides): Promise; _totalSupply(overrides?: CallOverrides): Promise; balanceOf(who: string, overrides?: CallOverrides): Promise; transfer( to: string, value: BigNumberish, overrides?: CallOverrides ): Promise; allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; transferFrom( from: string, to: string, value: BigNumberish, overrides?: CallOverrides ): Promise; approve( spender: string, value: BigNumberish, overrides?: CallOverrides ): Promise; nonces(owner: string, overrides?: CallOverrides): Promise; permit( owner: string, spender: string, amount: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike, overrides?: CallOverrides ): Promise; }; filters: { "Approval(address,address,uint256)"( owner?: string | null, spender?: string | null, value?: null ): ApprovalEventFilter; Approval( owner?: string | null, spender?: string | null, value?: null ): ApprovalEventFilter; "Transfer(address,address,uint256)"( from?: string | null, to?: string | null, value?: null ): TransferEventFilter; Transfer( from?: string | null, to?: string | null, value?: null ): TransferEventFilter; }; estimateGas: { totalSupply(overrides?: CallOverrides): Promise; _totalSupply(overrides?: CallOverrides): Promise; balanceOf(who: string, overrides?: CallOverrides): Promise; transfer( to: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; transferFrom( from: string, to: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; approve( spender: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; nonces(owner: string, overrides?: CallOverrides): Promise; permit( owner: string, spender: string, amount: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; }; populateTransaction: { totalSupply(overrides?: CallOverrides): Promise; _totalSupply(overrides?: CallOverrides): Promise; balanceOf( who: string, overrides?: CallOverrides ): Promise; transfer( to: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; transferFrom( from: string, to: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; approve( spender: string, value: BigNumberish, overrides?: Overrides & { from?: string | Promise } ): Promise; nonces( owner: string, overrides?: CallOverrides ): Promise; permit( owner: string, spender: string, amount: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike, overrides?: Overrides & { from?: string | Promise } ): Promise; }; }