For swap workflow
Protected ReadonlydbProtected ReadonlyjupiterProtected ReadonlyproductProtected ReadonlysolanaProtected ReadonlysolanaOptionaloriginator?: stringWorkflow ID of the originator of this quote
The originating workflows should expose a SWAP_COMPLETED signal
that receives Swap (without quote) when the process is completed.
Optionaltransaction?: ProtectedbuildBuild the SwapEstimate from an already-successful engine result's
pricing block. Shared by the preview estimate() (fed by the engine's
audit-free estimate()) and the authoritative create-time quote(), so
both derive target amount + fees identically. The product_quote audit id
is intentionally not threaded here — only create() produces one, and it
pins that id onto the persisted swap_quote row directly.
Quote with partially-signed transaction
Ephemeral (and entity-agnostic) quote of target amount and fees
Implements the creation of a Swap via a quote
The operations in this class assume that the Customer is already validated (both AuthN and AuthZ).