import { ChainId } from '../constants'; import { Currency } from './currency'; /** * Represents an ERC20 token with a unique address and some metadata. */ export declare class Token extends Currency { readonly chainId: ChainId; readonly address: string; constructor(chainId: ChainId, address: string, decimals: number, symbol?: string, name?: string); /** * Returns true if the two tokens are equivalent, i.e. have the same chainId and address. * @param other other token to compare */ equals(other: Token): boolean; /** * Returns true if the address of this token sorts before the address of the other token * @param other other token to compare * @throws if the tokens have the same address * @throws if the tokens are on different chains */ sortsBefore(other: Token): boolean; } /** * Compares two currencies for equality */ export declare function currencyEquals(currencyA: Currency, currencyB: Currency): boolean; export declare const WETH: { 80001: Token; 137: Token; 568: Token; 2000: Token; 1442: Token; 1101: Token; 2222: Token; 169: Token; 1261120: Token; 199: Token; 195: Token; 13473: Token; 13371: Token; 3776: Token; 196: Token; 1: Token; 1946: Token; 1868: Token; 50312: Token; 8453: Token; 5031: Token; 5888: Token; };