rubic-sdk
Version:
Simplify dApp creation
15 lines (14 loc) • 741 B
TypeScript
import { PriceToken } from "../../../../../../../../common/tokens";
import { Exact } from "../../../../common/on-chain-trade/evm-on-chain-trade/models/exact";
import { UniswapV3AlgebraRoute } from "./uniswap-v3-algebra-route";
export interface UniswapV3AlgebraQuoterController {
/**
* Returns all routes between given tokens with output amount.
* @param from From token.
* @param to To token.
* @param exact Is exact input or output trade.
* @param weiAmount Amount of tokens to trade.
* @param routeMaxTransitTokens Max amount of transit tokens.
*/
getAllRoutes(from: PriceToken, to: PriceToken, exact: Exact, weiAmount: string, routeMaxTransitTokens: number): Promise<UniswapV3AlgebraRoute[]>;
}