UNPKG

@ardier16/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

42 lines (36 loc) 987 B
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import BN from "bn.js"; import { ContractOptions } from "web3-eth-contract"; import { EventLog } from "web3-core"; import { EventEmitter } from "events"; import { Callback, PayableTransactionObject, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract, } from "./types"; interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export interface PushPayments extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): PushPayments; clone(): PushPayments; methods: { safeTransferTo(_account: string): PayableTransactionObject<boolean>; withdraw(): NonPayableTransactionObject<void>; balanceOf(_account: string): NonPayableTransactionObject<string>; }; events: { allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter; }; }