@golem-sdk/golem-js
Version:
NodeJS and WebBrowser SDK for building apps running on Golem Network
19 lines (18 loc) • 647 B
TypeScript
import { OfferProposal } from "./offer-proposal";
import { OfferCounterProposal } from "./offer-counter-proposal";
export type OfferProposalReceivedEvent = {
type: "ProposalReceived";
proposal: OfferProposal;
timestamp: Date;
};
export type OfferCounterProposalRejectedEvent = {
type: "ProposalRejected";
counterProposal: OfferCounterProposal;
reason: string;
timestamp: Date;
};
export type OfferPropertyQueryReceivedEvent = {
type: "PropertyQueryReceived";
timestamp: Date;
};
export type MarketProposalEvent = OfferProposalReceivedEvent | OfferCounterProposalRejectedEvent | OfferPropertyQueryReceivedEvent;