@eco-incorp/sauce/svm is the Solana side: the client (createSauceSvmClient), clusters, PDAs, account resolution against the compiler’s account manifest, Kitchen and engine instructions, transactions and sending, token accounts, and compute planning for @sauce/router’s Solana venues. @eco-incorp/sauce/svm/engine exports the engine’s wire format and instruction builders, @eco-incorp/sauce/svm/verify verifies settle programs and engine CPI data, and @eco-incorp/sauce/svm/engine-artifacts (Node only) returns file paths to the packaged engine and Kitchen binaries.
@eco-incorp/sauce.
staticCpiScreen
Function · @eco-incorp/sauce/svm
The free static screen over a swap’s account list. introspects /
foreign-signer ⇒ hard P-C candidate; otherwise the pool is a P-A candidate
that the unrecognized-caller simulation confirms.
probeCpiAcceptance
Function · @eco-incorp/sauce/svm
Runs the unrecognized-caller simulation and classifies the venue. Never
lands a swap; on any simulation error it returns reject with the error
detail (a gated program refuses the arbitrary caller). ACCEPT/DEGRADE split
on expectedOut when supplied.
classifyVenue
Function · @eco-incorp/sauce/svm
Combine the static screen with an optional simulation verdict into the final
tier. Introspection is decisive P-C. Otherwise ACCEPT ⇒ P-A (public/readable
oracle) or P-B (proprietary internal oracle located empirically - the caller
distinguishes via internalOracle); REJECT/DEGRADE ⇒ P-C. Without a sim
verdict the static candidate stands (a P-A candidate stays provisional).
INSTRUCTIONS_SYSVAR
Variable · @eco-incorp/sauce/svm
The instructions sysvar - its presence in a swap’s account list = introspection.
CpiTier
Type · @eco-incorp/sauce/svm
Prop-AMM integrability tier (see the module doc + the historical venue investigation).
ScreenAccount
Interface · @eco-incorp/sauce/svm
One account of a venue swap, for the static screen (address + signer flag).
StaticScreenInput
Interface · @eco-incorp/sauce/svm
StaticScreen
Interface · @eco-incorp/sauce/svm
CpiVerdict
Type · @eco-incorp/sauce/svm
ACCEPT / REJECT / DEGRADE / UNKNOWN - the simulation verdict.
AcceptanceProbeInput
Interface · @eco-incorp/sauce/svm
AcceptanceProbe
Interface · @eco-incorp/sauce/svm
VenueClassification
Interface · @eco-incorp/sauce/svm
