UNPKG

@ardier16/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

67 lines (54 loc) 1.67 kB
/* 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 SystemBalanceMock extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): SystemBalanceMock; clone(): SystemBalanceMock; methods: { getBalance(): NonPayableTransactionObject<string>; getBalanceDetails(): NonPayableTransactionObject< [boolean, boolean, string, string, string, string] >; getDebt(): NonPayableTransactionObject<string>; getSurplus(): NonPayableTransactionObject<string>; increaseDebt( _debtAmount: number | string | BN ): NonPayableTransactionObject<boolean>; initialize( _registry: string, _stc: string ): NonPayableTransactionObject<void>; performNetting(): NonPayableTransactionObject<boolean>; transferAccruedInterestAmount( _amount: number | string | BN ): NonPayableTransactionObject<boolean>; transferSurplusAuctionAmount( _lot: number | string | BN ): NonPayableTransactionObject<boolean>; setDebt(_debt: number | string | BN): NonPayableTransactionObject<void>; }; events: { allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter; }; }