UNPKG

@ardier16/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

48 lines (41 loc) 1.13 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 ITokenLock extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): ITokenLock; clone(): ITokenLock; methods: { lock(_amount: number | string | BN): NonPayableTransactionObject<void>; announceUnlock( _amount: number | string | BN ): NonPayableTransactionObject<void>; unlock(_amount: number | string | BN): NonPayableTransactionObject<void>; getLockInfo(): NonPayableTransactionObject< [string, string, string, string] >; }; events: { allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter; }; }