Skip to main content

Interface: OfferClosure

Defined in: packages/overcast-core/src/curation/shapes.ts:68

What an offer's indexed events say about it — the facts the raw Offer does not carry, the same way OptionTotals lives outside the raw MarketOption. An offer is consumed or refunded on-chain, never both.

Properties​

cancelled?​

optional cancelled?: boolean;

Defined in: packages/overcast-core/src/curation/shapes.ts:74

Whether an OfferCancelled withdrew it.


createdAt?​

optional createdAt?: number;

Defined in: packages/overcast-core/src/curation/shapes.ts:70

When its OfferCreated landed — unix ms (the checkpoint timestamp).


matchedOptionId?​

optional matchedOptionId?: Bytes32;

Defined in: packages/overcast-core/src/curation/shapes.ts:72

The option that consumed the offer, from its MarketOptionCreated.