Skip to main content

ROUTER_ETH_ADDRESS

Static ROUTER_ETH_ADDRESS 

Source
pub static ROUTER_ETH_ADDRESS: LazyLock<Bytes>
Expand description

The address used by the TychoRouter to represent native ETH.

Callers must use this address (not address(0)) for the tokenIn / tokenOut parameters when ABI-encoding router function calls that involve native ETH. The encoding pipeline’s EncodedSolution only contains the inner swap bytes; the outer function arguments — including the token addresses — are the caller’s responsibility.