/** * Contains methods for constructing instances of pairs and tokens from on-chain data. */ export class Fetcher { /** * Fetch information for a given token on the given chain, using the given ethers provider. * @param chainId chain of the token * @param address address of the token on the chain * @param provider provider used to fetch the token * @param symbol optional symbol of the token * @param name optional name of the token */ static fetchTokenData(chainId: any, address: any, provider: import("@ethersproject/providers").BaseProvider | undefined, symbol: any, name: any): Promise; /** * Fetches information about a pair and constructs a pair from the given two tokens. * @param tokenA first token * @param tokenB second token * @param provider the provider to use to fetch the data */ static fetchPairData(tokenA: any, tokenB: any, provider: any): Promise; } import { Token } from "../../libs/uniswap/entities/token"; import { Pair } from "./uniswapPair";