UNPKG

@koyofinance/sor

Version:
7 lines 592 B
import type { NewPath, PoolBase, PoolDictionary } from '@balancer-labs/sor'; import type { edgeDict, treeEdge } from '../types/routing'; export declare function getNodesAndEdges(pools: PoolBase[]): edgeDict; export declare function getPathInfo(edge: [string, string, string], treeEdge: treeEdge, treeEdges: treeEdge[][]): [string[], string[]]; export declare function pathsInfoToPaths(flexBoostedPathsInfo: [string[], string[]][], poolsAllDict: PoolDictionary): NewPath[]; export declare function createPath(tokens: string[], pools: PoolBase[]): NewPath; //# sourceMappingURL=routing.d.ts.map