routes namespace packages a Sauce program as an Eco intent. Base(body, options) and the other chain globals (installed by importing the root package) forward to routes.openRoute(destination, body, options), which returns a PendingSauceRoute; .nest(...) adds child intents and .reward(...) returns a BuiltIntent.
sdk/dist/routes/token-registry.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.routes.knownTokenSymbols
Function · sdk/dist/routes/token-registry.d.ts
Every symbol this registry knows for chain, sorted for stable diagnostics/tests.
routes.registryTokenAddress
Function · sdk/dist/routes/token-registry.d.ts
The registry’s own address for symbol on chain, or undefined if unregistered. EVM-only —
an svm chain always returns undefined (no TOKEN_REGISTRY key exists for an svm chain id).
routes.resolveTokenMap
Function · sdk/dist/routes/token-registry.d.ts
THE one precedence resolver every token-address consumer goes through: registry rows for chain
first (skipped entirely for a non-evm chain — there are none to skip in practice, since no
TOKEN_REGISTRY key is ever an svm chain id, but the chain.kind guard makes that explicit
rather than incidental), then callerTokens merged PER KEY on top — overriding one symbol (e.g.
USDC) never drops an unrelated registry symbol (e.g. WETH) for the same chain.
routes.TOKEN_REGISTRY
Variable · sdk/dist/routes/token-registry.d.ts
Keyed by canonical EVM chain id (CanonicalChain.id).
routes.TokenRegistryRow
Interface · sdk/dist/routes/token-registry.d.ts
