/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type BN from "bn.js"; import type { ContractOptions } from "web3-eth-contract"; import type { EventLog } from "web3-core"; import type { EventEmitter } from "events"; import type { Callback, PayableTransactionObject, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract, } from "../../../types"; export interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export type Transfer = ContractEventLog<{ from: string; to: string; value: string; 0: string; 1: string; 2: string; }>; export interface ERC20Basic extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): ERC20Basic; clone(): ERC20Basic; methods: { _totalSupply(): NonPayableTransactionObject; balanceOf(who: string): NonPayableTransactionObject; totalSupply(): NonPayableTransactionObject; transfer( to: string, value: number | string | BN ): NonPayableTransactionObject; }; events: { Transfer(cb?: Callback): EventEmitter; Transfer(options?: EventOptions, cb?: Callback): EventEmitter; allEvents(options?: EventOptions, cb?: Callback): EventEmitter; }; once(event: "Transfer", cb: Callback): void; once(event: "Transfer", options: EventOptions, cb: Callback): void; }