/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import BN from "bn.js"; import { EventData, PastEventOptions } from "web3-eth-contract"; export interface IBrokerContract extends Truffle.Contract { "new"(meta?: Truffle.TransactionDetails): Promise; } type AllEvents = never; export interface IBrokerInstance extends Truffle.ContractInstance { swapIn: { ( exchangeProvider: string, exchangeId: string, tokenIn: string, tokenOut: string, amountIn: number | BN | string, amountOutMin: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise>; call( exchangeProvider: string, exchangeId: string, tokenIn: string, tokenOut: string, amountIn: number | BN | string, amountOutMin: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; sendTransaction( exchangeProvider: string, exchangeId: string, tokenIn: string, tokenOut: string, amountIn: number | BN | string, amountOutMin: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; estimateGas( exchangeProvider: string, exchangeId: string, tokenIn: string, tokenOut: string, amountIn: number | BN | string, amountOutMin: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; }; getAmountOut( exchangeProvider: string, exchangeId: string, tokenIn: string, tokenOut: string, amountIn: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; methods: { swapIn: { ( exchangeProvider: string, exchangeId: string, tokenIn: string, tokenOut: string, amountIn: number | BN | string, amountOutMin: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise>; call( exchangeProvider: string, exchangeId: string, tokenIn: string, tokenOut: string, amountIn: number | BN | string, amountOutMin: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; sendTransaction( exchangeProvider: string, exchangeId: string, tokenIn: string, tokenOut: string, amountIn: number | BN | string, amountOutMin: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; estimateGas( exchangeProvider: string, exchangeId: string, tokenIn: string, tokenOut: string, amountIn: number | BN | string, amountOutMin: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; }; getAmountOut( exchangeProvider: string, exchangeId: string, tokenIn: string, tokenOut: string, amountIn: number | BN | string, txDetails?: Truffle.TransactionDetails ): Promise; }; getPastEvents(event: string): Promise; getPastEvents( event: string, options: PastEventOptions, callback: (error: Error, event: EventData) => void ): Promise; getPastEvents(event: string, options: PastEventOptions): Promise; getPastEvents( event: string, callback: (error: Error, event: EventData) => void ): Promise; }