import {ReflauntInstance} from "../../types/truffle-contracts"; import {ReflauntWallet} from "./ReflauntWallet"; import Web3 from "web3"; import {EventOptions} from "web3-eth-contract"; import {ContractEvent} from "../../types/truffle-typings"; import TransactionLog = Truffle.TransactionLog; import BN = require("bn.js"); export interface ReflauntInstanceShim extends ReflauntInstance { wallet: ReflauntWallet; web3: Web3; getPastEvents(event: string): Promise; getPastEvents( event: string, options: EventOptions, callback: (error: Error, event: TransactionLog) => void ): Promise; getPastEvents(event: string, options: EventOptions): Promise; getPastEvents( event: string, callback: (error: Error, event: TransactionLog) => void ): Promise; Transfer: ContractEvent<{ _from: string; _to: string; _tokenId: BN; 0: string; 1: string; 2: BN; }>; }