Skip to main content
@eco-incorp/sauce/svm is the Solana side: staging a program through the kitchen, resolving accounts against the compiler’s account manifest, building and sending transactions, and verifying settle programs. Solana execution goes through the Kitchen client here; the SDK’s SVM route helpers emit a legacy instruction that the released engine does not accept.
This page covers sdk/dist/svm/cpi-probe.d.ts.
Generated from the type declarations shipped in @eco-incorp/sauce 0.99.4. Each entry shows the package authors’ JSDoc and declaration for this SDK version. For runtime compatibility and deployed addresses, see architecture and deployments.

staticCpiScreen

Function · sdk/dist/svm/cpi-probe.d.ts 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 · sdk/dist/svm/cpi-probe.d.ts 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 · sdk/dist/svm/cpi-probe.d.ts 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 · sdk/dist/svm/cpi-probe.d.ts The instructions sysvar - its presence in a swap’s account list = introspection.

CpiTier

Type · sdk/dist/svm/cpi-probe.d.ts Prop-AMM integrability tier (see the module doc + the historical venue investigation).

ScreenAccount

Interface · sdk/dist/svm/cpi-probe.d.ts One account of a venue swap, for the static screen (address + signer flag).

StaticScreenInput

Interface · sdk/dist/svm/cpi-probe.d.ts

StaticScreen

Interface · sdk/dist/svm/cpi-probe.d.ts

CpiVerdict

Type · sdk/dist/svm/cpi-probe.d.ts ACCEPT / REJECT / DEGRADE / UNKNOWN - the simulation verdict.

AcceptanceProbeInput

Interface · sdk/dist/svm/cpi-probe.d.ts

AcceptanceProbe

Interface · sdk/dist/svm/cpi-probe.d.ts

VenueClassification

Interface · sdk/dist/svm/cpi-probe.d.ts