/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import { ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction } from "ethers"; import { Contract, ContractTransaction, Overrides, CallOverrides } from "@ethersproject/contracts"; import { BytesLike } from "@ethersproject/bytes"; import { Listener, Provider } from "@ethersproject/providers"; import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; interface Erc20BurnableInterface extends ethers.utils.Interface { functions: { "allowance(address,address)": FunctionFragment; "approve(address,uint256)": FunctionFragment; "balanceOf(address)": FunctionFragment; "burn(uint256)": FunctionFragment; "burnFrom(address,uint256)": FunctionFragment; "decimals()": FunctionFragment; "decreaseAllowance(address,uint256)": FunctionFragment; "increaseAllowance(address,uint256)": FunctionFragment; "name()": FunctionFragment; "symbol()": FunctionFragment; "totalSupply()": FunctionFragment; "transfer(address,uint256)": FunctionFragment; "transferFrom(address,address,uint256)": FunctionFragment; }; encodeFunctionData( functionFragment: "allowance", values: [string, string] ): string; encodeFunctionData( functionFragment: "approve", values: [string, BigNumberish] ): string; encodeFunctionData(functionFragment: "balanceOf", values: [string]): string; encodeFunctionData(functionFragment: "burn", values: [BigNumberish]): string; encodeFunctionData( functionFragment: "burnFrom", values: [string, BigNumberish] ): string; encodeFunctionData(functionFragment: "decimals", values?: undefined): string; encodeFunctionData( functionFragment: "decreaseAllowance", values: [string, BigNumberish] ): string; encodeFunctionData( functionFragment: "increaseAllowance", values: [string, BigNumberish] ): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData( functionFragment: "totalSupply", values?: undefined ): string; encodeFunctionData( functionFragment: "transfer", values: [string, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferFrom", values: [string, string, BigNumberish] ): string; decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; decodeFunctionResult(functionFragment: "burnFrom", data: BytesLike): Result; decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; decodeFunctionResult( functionFragment: "decreaseAllowance", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "increaseAllowance", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; decodeFunctionResult( functionFragment: "totalSupply", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; decodeFunctionResult( functionFragment: "transferFrom", data: BytesLike ): Result; events: { "Approval(address,address,uint256)": EventFragment; "Transfer(address,address,uint256)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment; getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment; } export class Erc20Burnable extends Contract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; on(event: EventFilter | string, listener: Listener): this; once(event: EventFilter | string, listener: Listener): this; addListener(eventName: EventFilter | string, listener: Listener): this; removeAllListeners(eventName: EventFilter | string): this; removeListener(eventName: any, listener: Listener): this; interface: Erc20BurnableInterface; functions: { allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise<{ 0: BigNumber; }>; "allowance(address,address)"( owner: string, spender: string, overrides?: CallOverrides ): Promise<{ 0: BigNumber; }>; approve( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; "approve(address,uint256)"( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; balanceOf( account: string, overrides?: CallOverrides ): Promise<{ 0: BigNumber; }>; "balanceOf(address)"( account: string, overrides?: CallOverrides ): Promise<{ 0: BigNumber; }>; burn( amount: BigNumberish, overrides?: Overrides ): Promise; "burn(uint256)"( amount: BigNumberish, overrides?: Overrides ): Promise; burnFrom( account: string, amount: BigNumberish, overrides?: Overrides ): Promise; "burnFrom(address,uint256)"( account: string, amount: BigNumberish, overrides?: Overrides ): Promise; decimals( overrides?: CallOverrides ): Promise<{ 0: number; }>; "decimals()"( overrides?: CallOverrides ): Promise<{ 0: number; }>; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; "decreaseAllowance(address,uint256)"( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; "increaseAllowance(address,uint256)"( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; name( overrides?: CallOverrides ): Promise<{ 0: string; }>; "name()"( overrides?: CallOverrides ): Promise<{ 0: string; }>; symbol( overrides?: CallOverrides ): Promise<{ 0: string; }>; "symbol()"( overrides?: CallOverrides ): Promise<{ 0: string; }>; totalSupply( overrides?: CallOverrides ): Promise<{ 0: BigNumber; }>; "totalSupply()"( overrides?: CallOverrides ): Promise<{ 0: BigNumber; }>; transfer( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transfer(address,uint256)"( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferFrom( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transferFrom(address,address,uint256)"( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; }; allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; "allowance(address,address)"( owner: string, spender: string, overrides?: CallOverrides ): Promise; approve( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; "approve(address,uint256)"( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; balanceOf(account: string, overrides?: CallOverrides): Promise; "balanceOf(address)"( account: string, overrides?: CallOverrides ): Promise; burn( amount: BigNumberish, overrides?: Overrides ): Promise; "burn(uint256)"( amount: BigNumberish, overrides?: Overrides ): Promise; burnFrom( account: string, amount: BigNumberish, overrides?: Overrides ): Promise; "burnFrom(address,uint256)"( account: string, amount: BigNumberish, overrides?: Overrides ): Promise; decimals(overrides?: CallOverrides): Promise; "decimals()"(overrides?: CallOverrides): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; "decreaseAllowance(address,uint256)"( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; "increaseAllowance(address,uint256)"( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; symbol(overrides?: CallOverrides): Promise; "symbol()"(overrides?: CallOverrides): Promise; totalSupply(overrides?: CallOverrides): Promise; "totalSupply()"(overrides?: CallOverrides): Promise; transfer( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transfer(address,uint256)"( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferFrom( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transferFrom(address,address,uint256)"( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; callStatic: { allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; "allowance(address,address)"( owner: string, spender: string, overrides?: CallOverrides ): Promise; approve( spender: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; "approve(address,uint256)"( spender: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; balanceOf(account: string, overrides?: CallOverrides): Promise; "balanceOf(address)"( account: string, overrides?: CallOverrides ): Promise; burn(amount: BigNumberish, overrides?: CallOverrides): Promise; "burn(uint256)"( amount: BigNumberish, overrides?: CallOverrides ): Promise; burnFrom( account: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; "burnFrom(address,uint256)"( account: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; decimals(overrides?: CallOverrides): Promise; "decimals()"(overrides?: CallOverrides): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: CallOverrides ): Promise; "decreaseAllowance(address,uint256)"( spender: string, subtractedValue: BigNumberish, overrides?: CallOverrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: CallOverrides ): Promise; "increaseAllowance(address,uint256)"( spender: string, addedValue: BigNumberish, overrides?: CallOverrides ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; symbol(overrides?: CallOverrides): Promise; "symbol()"(overrides?: CallOverrides): Promise; totalSupply(overrides?: CallOverrides): Promise; "totalSupply()"(overrides?: CallOverrides): Promise; transfer( recipient: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; "transfer(address,uint256)"( recipient: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; transferFrom( sender: string, recipient: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; "transferFrom(address,address,uint256)"( sender: string, recipient: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; }; filters: { Approval( owner: string | null, spender: string | null, value: null ): EventFilter; Transfer(from: string | null, to: string | null, value: null): EventFilter; }; estimateGas: { allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; "allowance(address,address)"( owner: string, spender: string, overrides?: CallOverrides ): Promise; approve( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; "approve(address,uint256)"( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; balanceOf(account: string, overrides?: CallOverrides): Promise; "balanceOf(address)"( account: string, overrides?: CallOverrides ): Promise; burn(amount: BigNumberish, overrides?: Overrides): Promise; "burn(uint256)"( amount: BigNumberish, overrides?: Overrides ): Promise; burnFrom( account: string, amount: BigNumberish, overrides?: Overrides ): Promise; "burnFrom(address,uint256)"( account: string, amount: BigNumberish, overrides?: Overrides ): Promise; decimals(overrides?: CallOverrides): Promise; "decimals()"(overrides?: CallOverrides): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; "decreaseAllowance(address,uint256)"( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; "increaseAllowance(address,uint256)"( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; symbol(overrides?: CallOverrides): Promise; "symbol()"(overrides?: CallOverrides): Promise; totalSupply(overrides?: CallOverrides): Promise; "totalSupply()"(overrides?: CallOverrides): Promise; transfer( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transfer(address,uint256)"( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferFrom( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transferFrom(address,address,uint256)"( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; }; populateTransaction: { allowance( owner: string, spender: string, overrides?: CallOverrides ): Promise; "allowance(address,address)"( owner: string, spender: string, overrides?: CallOverrides ): Promise; approve( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; "approve(address,uint256)"( spender: string, amount: BigNumberish, overrides?: Overrides ): Promise; balanceOf( account: string, overrides?: CallOverrides ): Promise; "balanceOf(address)"( account: string, overrides?: CallOverrides ): Promise; burn( amount: BigNumberish, overrides?: Overrides ): Promise; "burn(uint256)"( amount: BigNumberish, overrides?: Overrides ): Promise; burnFrom( account: string, amount: BigNumberish, overrides?: Overrides ): Promise; "burnFrom(address,uint256)"( account: string, amount: BigNumberish, overrides?: Overrides ): Promise; decimals(overrides?: CallOverrides): Promise; "decimals()"(overrides?: CallOverrides): Promise; decreaseAllowance( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; "decreaseAllowance(address,uint256)"( spender: string, subtractedValue: BigNumberish, overrides?: Overrides ): Promise; increaseAllowance( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; "increaseAllowance(address,uint256)"( spender: string, addedValue: BigNumberish, overrides?: Overrides ): Promise; name(overrides?: CallOverrides): Promise; "name()"(overrides?: CallOverrides): Promise; symbol(overrides?: CallOverrides): Promise; "symbol()"(overrides?: CallOverrides): Promise; totalSupply(overrides?: CallOverrides): Promise; "totalSupply()"(overrides?: CallOverrides): Promise; transfer( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transfer(address,uint256)"( recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; transferFrom( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; "transferFrom(address,address,uint256)"( sender: string, recipient: string, amount: BigNumberish, overrides?: Overrides ): Promise; }; }