hoodchain - v0.1.0
    Preparing search index...

    Interface SwapRoute

    A candidate route: direct single-pool hop or two hops via an intermediate.

    interface SwapRoute {
        encodedPath: `0x${string}`;
        fees: number[];
        path: `0x${string}`[];
    }
    Index
    encodedPath: `0x${string}`

    Uniswap encoded path (token(20) fee(3) token(20)...).

    fees: number[]

    Pool fee tiers along the route (one entry per hop).

    path: `0x${string}`[]

    Token path: [tokenIn, ...intermediates, tokenOut].