Skip to main content
@eco-incorp/sauce/actions lowers routing intents into Sauce programs and carries the AMM and bridge action primitives.
This page covers actions/dist/to-sauce.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.

actionsToSauce

Function · actions/dist/to-sauce.d.ts

actionsToSauceSource

Function · actions/dist/to-sauce.d.ts The SauceScript source for actions. Empty for an empty list.

actionToSauce

Function · actions/dist/to-sauce.d.ts

buildAction

Function · actions/dist/to-sauce.d.ts Emit the statements for one action. BREAKING: this took a Saucer and a Saucer amount and returned builder nodes. It now takes an [Emitter] (from newEmitter()) and a SauceScript amount EXPRESSION, and returns source fragments. needsOutput is the old outputChained under its real name: it both selects the recipient (ctx.self() when the output is consumed here, the action’s own recipient otherwise) and decides whether a call’s uint256 return value is captured.

ActionResult

Interface · actions/dist/to-sauce.d.ts