UNPKG

@xspswap/smart-order-router

Version:
9 lines (8 loc) 555 B
import { Pair } from '@x-swap-protocol/v2-sdk'; import { Pool } from '@x-swap-protocol/v3-sdk'; import { RouteWithValidQuote } from '../routers/alpha-router'; import { MixedRoute, V2Route, V3Route } from '../routers/router'; export declare const routeToString: (route: V3Route | V2Route | MixedRoute) => string; export declare const routeAmountsToString: (routeAmounts: RouteWithValidQuote[]) => string; export declare const routeAmountToString: (routeAmount: RouteWithValidQuote) => string; export declare const poolToString: (p: Pool | Pair) => string;