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/args.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.

encodeArgSlot

Function · sdk/dist/svm/args.d.ts Encodes one runtime value against its layout slot (scalar → 32B BE word, bytes → raw).

encodePayloadArgs

Function · sdk/dist/svm/args.d.ts Encodes the full payload-args tail against the caller-supplied ArgsLayout: slot i’s bytes land at exactly layout.slots[i].offset, back to back - the compiled prologue’s baked SLICE offsets leave no room for drift, so any layout/value mismatch throws instead of producing silently shifted reads.