UNPKG

@hydro-protocol/hydro-client-js

Version:
15 lines (13 loc) 442 B
/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import { Transaction } from "web3-core"; // @ts-ignore import PromiEvent from "web3-core-promievent"; export type Callback<T> = (error: Error, result: T) => void; export interface TransactionObject<T> { arguments: any[]; call(tx?: Transaction): Promise<T>; send(tx?: Transaction): PromiEvent<T>; estimateGas(tx?: Transaction): Promise<number>; encodeABI(): string; }