Skip to main content

Function: uncurateOffer()

function uncurateOffer(offer, utils): Offer;

Defined in: packages/overcast-core/src/curation/curate.ts:150

Strip a CuratedOffer back to the raw, canonical Offer — the shape getId and the signers must see. The curated-only lifecycle (status, matchedOptionId) is dropped: it is derived, not part of the offer's identity.

Parameters

ParameterType
offerCuratedOffer
utilsOvercastUtils

Returns

Offer