UNPKG

@dolomite-exchange/dolomite-margin

Version:

Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol

159 lines (143 loc) 3.53 kB
/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import Contract, { CustomOptions, contractOptions } from "web3/eth/contract"; import { TransactionObject, BlockType } from "web3/eth/types"; import { Callback, EventLog } from "web3/types"; import { EventEmitter } from "events"; import { Provider } from "web3/providers"; export class Events { constructor(jsonInterface: any[], address?: string, options?: CustomOptions); _address: string; options: contractOptions; methods: {}; deploy(options: { data: string; arguments: any[]; }): TransactionObject<Contract>; events: { LogBuy( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogCall( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogDeposit( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogIndexUpdate( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogInterestRate( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogLiquidate( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogOperation( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogOraclePrice( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogSell( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogTrade( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogTransfer( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogVaporize( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; LogWithdraw( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ): EventEmitter; allEvents: ( options?: { filter?: object; fromBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog> ) => EventEmitter; }; getPastEvents( event: string, options?: { filter?: object; fromBlock?: BlockType; toBlock?: BlockType; topics?: (null | string)[]; }, cb?: Callback<EventLog[]> ): Promise<EventLog[]>; setProvider(provider: Provider): void; clone(): Events; }