Protected ReadonlydbProtected ReadonlyjupiterProtected ReadonlypricersOne pricer per venue: adding a venue to SWAP_VENUES adds one here.
Protected ReadonlyproductProtected ReadonlysolanaProtected ReadonlysolanaStaticinstanceThe process service, starting swaps on the queue the temporal namespace names.
Accept the owner's quote: simulate its stored, unsigned transaction and start the swap. CFX signs as the ledger account when the swap runs.
A binding quote that debits and credits sourceLedgerAccountId at its
primary key's address, with the unsigned transaction CFX signs on accept.
ProtectedengineThe audit-free engine estimate() of the swap: the route, fees and amount
math, with no product_quote row and no limit enforcement. Refuses
SWAP_NOT_AVAILABLE, as create() does, when the engine will not price
the swap.
Ephemeral (and entity-agnostic) quote of target amount and fees
OptionalentityId?: stringThe identity or organization that must own the quote.
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).