UNPKG

@pangolindex/sdk

Version:

🛠 An SDK for building applications on top of Pangolin.

58 lines (57 loc) • 1.53 kB
import { ChainId } from '../chains'; /** * A currency is any fungible financial instrument on Ethereum, including Ether and all ERC20 tokens. * * The only instance of the base class `Currency` is Ether. */ export declare class Currency { readonly decimals: number; readonly symbol?: string; readonly name?: string; /** * The only instance of the base class `Currency`. */ static readonly CURRENCY: { [chainId in ChainId]: Currency; }; /** * Constructs an instance of the base class `Currency`. The only instance of the base class `Currency` is `Currency.ETHER`. * @param decimals decimals of the currency * @param symbol symbol of the currency * @param name of the currency */ protected constructor(decimals: number, symbol?: string, name?: string); } declare const CAVAX: { 43113: Currency; 43114: Currency; 11111: Currency; 16: Currency; 19: Currency; 14: Currency; 143: Currency; 329847900: Currency; 329847901: Currency; 296: Currency; 295: Currency; 137: Currency; 1: Currency; 66: Currency; 106: Currency; 56: Currency; 42220: Currency; 42161: Currency; 1313161554: Currency; 25: Currency; 250: Currency; 122: Currency; 1285: Currency; 1284: Currency; 10: Currency; 100: Currency; 114: Currency; 9000: Currency; 9001: Currency; 1351057110: Currency; }; export { CAVAX };