UNPKG

@contractjs/erc20

Version:

A TypeScript utility library for ERC20 contracts.

44 lines 1.04 kB
import { Chain } from 'viem'; export declare const supportedChains: Record<number, Chain>; export declare const PRICE_ORACLE_ADDRESSES: Record<number, `0x${string}`>; export declare const SYMBOL_TO_ADDRESS: { USDT: { 1: string; 42161: string; 137: string; 10: string; }; USDC: { 1: string; 8453: string; 42161: string; 137: string; 10: string; }; LINK: { 1: string; 42161: string; 137: string; 10: string; }; WETH: { 1: string; 42161: string; 137: string; 10: string; 8453: string; }; }; export declare const oracleAbi: readonly [{ readonly name: "getAssetPrice"; readonly type: "function"; readonly stateMutability: "view"; readonly inputs: readonly [{ readonly type: "address"; readonly name: "asset"; }]; readonly outputs: readonly [{ readonly type: "uint256"; }]; }]; //# sourceMappingURL=constants.d.ts.map