/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import BN from "bn.js"; import { Contract, ContractOptions } from "web3-eth-contract"; import { EventLog } from "web3-core"; import { EventEmitter } from "events"; import { ContractEvent, Callback, TransactionObject, BlockType } from "./types"; interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export class IERC20 extends Contract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ); clone(): IERC20; methods: { totalSupply(): TransactionObject; balanceOf(account: string): TransactionObject; transfer( recipient: string, amount: number | string ): TransactionObject; allowance(owner: string, spender: string): TransactionObject; approve( spender: string, amount: number | string ): TransactionObject; transferFrom( sender: string, recipient: string, amount: number | string ): TransactionObject; }; events: { Approval: ContractEvent<{ owner: string; spender: string; value: string; 0: string; 1: string; 2: string; }>; Transfer: ContractEvent<{ from: string; to: string; value: string; 0: string; 1: string; 2: string; }>; allEvents: ( options?: EventOptions, cb?: Callback ) => EventEmitter; }; }