@devasher/kuru-sdk
Version:
Ethers v6 SDK to interact with Kuru (forked from @kuru-labs/kuru-sdk)
7 lines • 486 B
TypeScript
import { ethers } from 'ethers';
import { PoolFetcher } from '../pools';
import { Pool, RouteOutput } from '../types/pool';
export declare abstract class PathFinder {
static findBestPath(providerOrSigner: ethers.JsonRpcProvider | ethers.AbstractSigner, tokenIn: string, tokenOut: string, amountIn: number, amountType?: 'amountOut' | 'amountIn', poolFetcher?: PoolFetcher, pools?: Pool[], estimatorContractAddress?: string): Promise<RouteOutput>;
}
//# sourceMappingURL=path.d.ts.map