Skip to main content
@eco-incorp/sauce/actions reads JSON action programs ({ version, chainId?, actions }), validates them against the JSON Schema exported as @eco-incorp/sauce/actions/action-program.schema.json, and compiles them for a chain. A token field takes a registry symbol and a contract field a namespace reference, beside an address.
Generated from the type declarations of @eco-incorp/sauce.

compileSplitSwap

Function · @eco-incorp/sauce/actions Compiles a split swap into one program. It takes no runtime arguments.

SplitSwap

Interface · @eco-incorp/sauce/actions A swap of amount split greedily, buckets slices at a time, across candidates.