import { Tx } from "web3/eth/types"; import { Provider } from "web3/providers"; import PromiEvent from "web3/promiEvent"; import { TransactionReceipt, EventLog } from "web3/types"; interface Transaction { receipt: TransactionReceipt; tx: string; logs: EventLog[]; } declare type BigNumber = string; export interface OrderbookContract { renounceOwnership(options?: Tx): PromiEvent; ren(options?: Tx): Promise; owner(options?: Tx): Promise; orders(index_0: string, options?: Tx): Promise<{ state: BigNumber; trader: string; confirmer: string; settlementID: BigNumber; priority: BigNumber; blockNumber: BigNumber; matchedOrder: string; 0: BigNumber; 1: string; 2: string; 3: BigNumber; 4: BigNumber; 5: BigNumber; 6: string; }>; darknodeRegistry(options?: Tx): Promise; settlementRegistry(options?: Tx): Promise; transferOwnership(_newOwner: string, options?: Tx): PromiEvent; VERSION(options?: Tx): Promise; updateDarknodeRegistry(_newDarknodeRegistry: string, options?: Tx): PromiEvent; openOrder(_settlementID: BigNumber, _signature: string, _orderID: string, options?: Tx): PromiEvent; confirmOrder(_orderID: string, _matchedOrderID: string, options?: Tx): PromiEvent; cancelOrder(_orderID: string, options?: Tx): PromiEvent; orderState(_orderID: string, options?: Tx): Promise; orderMatch(_orderID: string, options?: Tx): Promise; orderPriority(_orderID: string, options?: Tx): Promise; orderTrader(_orderID: string, options?: Tx): Promise; orderConfirmer(_orderID: string, options?: Tx): Promise; orderBlockNumber(_orderID: string, options?: Tx): Promise; orderDepth(_orderID: string, options?: Tx): Promise; ordersCount(options?: Tx): Promise; getOrders(_offset: BigNumber, _limit: BigNumber, options?: Tx): Promise<{ 0: string[]; 1: string[]; 2: BigNumber[]; }>; address: string; } export interface OrderbookArtifact { new (address: string): OrderbookContract; address: string; "new"(_VERSION: string, _renAddress: string, _darknodeRegistry: string, _settlementRegistry: string, options?: Tx): Promise; at(address: string): Promise; deployed(): Promise; setProvider(provider: Provider): void; } export {};