/* 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 type BidCancelled = ContractEventLog<{ offerId: string; sender: string; blockTimestamp: string; 0: string; 1: string; 2: string; }>; export type ContractMigrated = ContractEventLog<{}>; export type Log = ContractEventLog<{ log: string; 0: string; }>; export type OfferAccepted = ContractEventLog<{ offerId: string; sender: string; blockTimestamp: string; amountAliceReceived: string; amountBobReceived: string; tokenAddressAlice: string; tokenAddressBob: string; offerType: string; feeAlice: string; feeBob: string; 0: string; 1: string; 2: string; 3: string; 4: string; 5: string; 6: string; 7: string; 8: string; 9: string; }>; export type OfferCancelled = ContractEventLog<{ offerId: string; sender: string; blockTimestamp: string; 0: string; 1: string; 2: string; }>; export type OfferClosed = ContractEventLog<{ offerId: string; reason: string; blockTimestamp: string; 0: string; 1: string; 2: string; }>; export type OfferCreated = ContractEventLog<{ offerId: string; sender: string; blockTimestamp: string; offer: [ boolean, boolean, string, string, string, string, string, string, string, string, string, string, string, string, boolean[], string[], string[], string[], string[], string[], string[] ]; 0: string; 1: string; 2: string; 3: [ boolean, boolean, string, string, string, string, string, string, string, string, string, string, string, string, boolean[], string[], string[], string[], string[], string[], string[] ]; }>; export type OfferModified = ContractEventLog<{ offerId: string; sender: string; blockTimestamp: string; offerParameters: [ boolean, boolean, boolean, string, string, string, string, string ]; 0: string; 1: string; 2: string; 3: [boolean, boolean, boolean, string, string, string, string, string]; }>; export interface MarsBaseCommon extends BaseContract { constructor( jsonInterface: any[], address?: string, options?: ContractOptions ): MarsBaseCommon; clone(): MarsBaseCommon; methods: {}; events: { BidCancelled(cb?: Callback): EventEmitter; BidCancelled( options?: EventOptions, cb?: Callback ): EventEmitter; ContractMigrated(cb?: Callback): EventEmitter; ContractMigrated( options?: EventOptions, cb?: Callback ): EventEmitter; Log(cb?: Callback): EventEmitter; Log(options?: EventOptions, cb?: Callback): EventEmitter; OfferAccepted(cb?: Callback): EventEmitter; OfferAccepted( options?: EventOptions, cb?: Callback ): EventEmitter; OfferCancelled(cb?: Callback): EventEmitter; OfferCancelled( options?: EventOptions, cb?: Callback ): EventEmitter; OfferClosed(cb?: Callback): EventEmitter; OfferClosed( options?: EventOptions, cb?: Callback ): EventEmitter; OfferCreated(cb?: Callback): EventEmitter; OfferCreated( options?: EventOptions, cb?: Callback ): EventEmitter; OfferModified(cb?: Callback): EventEmitter; OfferModified( options?: EventOptions, cb?: Callback ): EventEmitter; allEvents(options?: EventOptions, cb?: Callback): EventEmitter; }; once(event: "BidCancelled", cb: Callback): void; once( event: "BidCancelled", options: EventOptions, cb: Callback ): void; once(event: "ContractMigrated", cb: Callback): void; once( event: "ContractMigrated", options: EventOptions, cb: Callback ): void; once(event: "Log", cb: Callback): void; once(event: "Log", options: EventOptions, cb: Callback): void; once(event: "OfferAccepted", cb: Callback): void; once( event: "OfferAccepted", options: EventOptions, cb: Callback ): void; once(event: "OfferCancelled", cb: Callback): void; once( event: "OfferCancelled", options: EventOptions, cb: Callback ): void; once(event: "OfferClosed", cb: Callback): void; once( event: "OfferClosed", options: EventOptions, cb: Callback ): void; once(event: "OfferCreated", cb: Callback): void; once( event: "OfferCreated", options: EventOptions, cb: Callback ): void; once(event: "OfferModified", cb: Callback): void; once( event: "OfferModified", options: EventOptions, cb: Callback ): void; }