/* 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 Approval = ContractEventLog<{ owner: string; spender: string; value: string; 0: string; 1: string; 2: string; }>; export type Transfer = ContractEventLog<{ from: string; to: string; value: string; 0: string; 1: string; 2: string; }>; export interface UpgradedStandardToken extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): UpgradedStandardToken; clone(): UpgradedStandardToken; methods: { MAX_UINT(): NonPayableTransactionObject; _totalSupply(): NonPayableTransactionObject; allowance( _owner: string, _spender: string ): NonPayableTransactionObject; allowed(arg0: string, arg1: string): NonPayableTransactionObject; approve( _spender: string, _value: number | string | BN ): NonPayableTransactionObject; approveByLegacy( from: string, spender: string, value: number | string | BN ): NonPayableTransactionObject; balanceOf(_owner: string): NonPayableTransactionObject; balances(arg0: string): NonPayableTransactionObject; basisPointsRate(): NonPayableTransactionObject; maximumFee(): NonPayableTransactionObject; owner(): NonPayableTransactionObject; totalSupply(): NonPayableTransactionObject; transfer( _to: string, _value: number | string | BN ): NonPayableTransactionObject; transferByLegacy( from: string, to: string, value: number | string | BN ): NonPayableTransactionObject; transferFrom( _from: string, _to: string, _value: number | string | BN ): NonPayableTransactionObject; transferFromByLegacy( sender: string, from: string, spender: string, value: number | string | BN ): NonPayableTransactionObject; transferOwnership(newOwner: string): NonPayableTransactionObject; }; events: { Approval(cb?: Callback): EventEmitter; Approval(options?: EventOptions, cb?: Callback): EventEmitter; Transfer(cb?: Callback): EventEmitter; Transfer(options?: EventOptions, cb?: Callback): EventEmitter; allEvents(options?: EventOptions, cb?: Callback): EventEmitter; }; once(event: "Approval", cb: Callback): void; once(event: "Approval", options: EventOptions, cb: Callback): void; once(event: "Transfer", cb: Callback): void; once(event: "Transfer", options: EventOptions, cb: Callback): void; }