@maxosllc/smart-order-router
Version:
BlockDAG Smart Order Router
7 lines (6 loc) • 601 B
TypeScript
import { Trade } from '@uniswap/router-sdk';
import { ChainId } from '../../src/util/chains';
import { Currency, TradeType } from '@uniswap/sdk-core';
import { MethodParameters, RouteWithValidQuote, SwapOptions } from '..';
export declare function buildTrade<TTradeType extends TradeType>(tokenInCurrency: Currency, tokenOutCurrency: Currency, tradeType: TTradeType, routeAmounts: RouteWithValidQuote[]): Trade<Currency, Currency, TTradeType>;
export declare function buildSwapMethodParameters(trade: Trade<Currency, Currency, TradeType>, swapConfig: SwapOptions, chainId: ChainId): MethodParameters;