/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type BN from "bn.js"; import type { ContractOptions } from "web3-eth-contract"; import type { EventLog } from "web3-core"; import type { EventEmitter } from "events"; import type { Callback, PayableTransactionObject, NonPayableTransactionObject, BlockType, ContractEventLog, BaseContract, } from "../../types"; export interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export interface MarsBase extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): MarsBase; clone(): MarsBase; methods: { changeOfferParams( offer: [ boolean, boolean, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN, string, string, string, boolean[], (number | string | BN)[], (number | string | BN)[], (number | string | BN)[], string[], string[], string[] ], tokenBob: string[], amountBob: (number | string | BN)[], offerParameters: [ boolean, boolean, boolean, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN ] ): NonPayableTransactionObject< [ boolean, boolean, string, string, string, string, string, string, string, string, string, string, string, string, boolean[], string[], string[], string[], string[], string[], string[] ] >; contractType( offerType: number | string | BN ): NonPayableTransactionObject; getOfferType( amountAlice: number | string | BN, offerParameters: [ boolean, boolean, boolean, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN ] ): NonPayableTransactionObject; initOffer( nextOfferId: number | string | BN, tokenAlice: string, tokenBob: string[], amountAlice: number | string | BN, amountBob: (number | string | BN)[], offerParameters: [ boolean, boolean, boolean, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN ] ): NonPayableTransactionObject< [ boolean, boolean, string, string, string, string, string, string, string, string, string, string, string, string, boolean[], string[], string[], string[], string[], string[], string[] ] >; price( amountAlice: number | string | BN, offerAmountAlice: number | string | BN, offerAmountBob: number | string | BN ): NonPayableTransactionObject; setOfferProperties( offer: [ boolean, boolean, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN, string, string, string, boolean[], (number | string | BN)[], (number | string | BN)[], (number | string | BN)[], string[], string[], string[] ], offerParams: [ boolean, boolean, boolean, number | string | BN, number | string | BN, number | string | BN, number | string | BN, number | string | BN ] ): NonPayableTransactionObject< [ boolean, boolean, string, string, string, string, string, string, string, string, string, string, string, string, boolean[], string[], string[], string[], string[], string[], string[] ] >; }; events: { allEvents(options?: EventOptions, cb?: Callback): EventEmitter; }; }