UNPKG

@cryptovarna/tedex-api

Version:

TEDEX API

30 lines (29 loc) 789 B
import { TronTransactionMethods, TRC20Instance } from "@cryptovarna/tron-web-api"; import BigNumber from "bignumber.js"; export interface ApprovalEvent { name: "Approval"; args: { owner: string; spender: string; value: BigNumber; }; } export interface TransferEvent { name: "Transfer"; args: { from: string; to: string; value: BigNumber; }; } export interface TRC10WrapperInstance extends TRC20Instance { depositFor: { (account: string): TronTransactionMethods<BigNumber>; }; withdrawTo: { (account: string, amount: string | number): TronTransactionMethods<boolean>; }; recover: { (account: string): TronTransactionMethods<BigNumber>; }; }