UNPKG

@evolutionland/evolution-js

Version:

evolution evolution-js evolutionland evolution-js-sdk evolution-land metaverse

15 lines (14 loc) 460 B
import { ChainId } from "../constants"; import { Currency } from "./currency"; import { Token } from "./token"; import { Pair } from "./pair"; import { Price } from "./fractions/price"; export declare class Route { readonly pairs: Pair[]; readonly path: Token[]; readonly input: Currency; readonly output: Currency; readonly midPrice: Price; constructor(pairs: Pair[], input: Currency, output?: Currency); get chainId(): ChainId; }