import { FreedomSwaps } from "https://deno.land/x/freedomswaps@v1.11.1/freedom-swaps.ts";
Methods
getPrice(): Promise<number>
tokenContractAddress1: string,
tokenContractAddress2: string,
poolFee: number,
pkTestWallet: string,
swap()
tokenIn: string,
tokenOut: string,
amountIn: bigint,
poolFee: number,
slippage: number,
pkTestWallet: string,
swapExactOutput()
tokenIn: string,
tokenOut: string,
amountOut: bigint,
poolFee: number,
slippage: number,
pkTestWallet: string,
unwrap(pkTestWallet: string)
Static Properties
private
instance: FreedomSwaps