UNPKG

@nomicfoundations/hardhat-config

Version:
15 lines (14 loc) 474 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; }