Skip to main content

Module evm

Module evm 

Source

Modules§

approvals
encoder_builders
gas_estimator
strategy_encoder
swap_encoder
tycho_encoders
utils

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 generic PropAMMSwapEncoder.

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.