Modules§
Constants§
- PRICE_
LEVEL_ STREAM_ PREFIX - Protocol system prefix carried by components sourced from the pAMM price level stream. The
venue suffix is either a configured name (e.g.
pricelevelstream:fermiswap) or, for auto-detected pAMMs, the venue address (e.g.pricelevelstream:0x5979…); every such protocol maps to the genericPropAMMSwapEncoder.
Statics§
- DEFAULT_
ROUTER_ ADDRESSES - Default router addresses keyed by chain, parsed from
config/router_addresses.json. - ROUTER_
ETH_ ADDRESS - The address used by the TychoRouterV3 to represent native ETH.
Functions§
- get_
router_ address - Returns the default Tycho router address for
chain, or an error if none is configured.