settleSource() returns the text of the EVM settle program: it sweeps the Pot’s balance of every listed token to one recipient, with a minimum-output floor on the first token. The same file is exported as @eco-incorp/sauce/recipes/settle.sauce.ts. The Solana settle program is svmSettleSource in @eco-incorp/sauce/svm.
@eco-incorp/sauce.
settleSource
Function · @eco-incorp/sauce/recipes
The settle.sauce.ts program text - sweep the Pot’s balance of every listed token to one
recipient, with a minimum-output floor on tokens[0]. The shipped file’s text, embedded at build
time.
Returned as the raw source (not pre-stripped, not pre-compiled) so a partner can read, hash, or
diff exactly what gets compiled. The compiler’s own front-end handles the TypeScript annotations, so
the source needs no pre-processing and no extra option - pass the CompileOptions the compiler
package itself exports (import type { CompileOptions } from "sauce-compiler"). Deliberately not
restated here: routes/rs-compile.ts imports that type for the same reason, since a hand-written
mirror drifts on the next compiler minor with nothing to catch it.
