import { Chain } from 'wagmi'; import { ChainIdMap } from './constants'; import { Token } from './token'; /** * wagmiChains contains partial specs for the following chains * * mainnet, ropsten, rinkeby, goerli, kovan, sepolia, optimism, optimismKovan, optimismGoerli, * polygon, polygonMumbai, arbitrum, arbitrumRinkeby, arbitrumGoerli, localhost, hardhat, foundr, * * If existed in wagmiChains. You can {...wagmiChains.[chainName]} to import some of the chain specs, */ export interface ExtendedChain extends Chain { wrappedTokenAddress: string; shortName: string; /** * coin geico chain id. https://www.coingecko.com/en/api/documentation */ cgChainId: string; /** * Chain logo url, obtain from https://coinmarketcap.com/chain-ranking/ */ logoUrl: string; /** * For USD price. Contract address obtain from https://github.com/1inch/spot-price-aggregator */ offChainOracleAddress: string; aggregator: { apiUrl: string; proxyAddress: string; }; /** * Need at least two stable coins */ stablecoins: { address: string; decimals: number; symbol: string; }[]; } export declare const polygon: ExtendedChain; export declare const bsc: ExtendedChain; export declare const ftm: ExtendedChain; /** * -------- MAPPING --------- */ export declare const CHAINS: ExtendedChain[]; export declare const CHAINS_MAP: ChainIdMap; export declare const ETH_ADDR = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"; export declare const ETH: ChainIdMap; export declare const WETH: ChainIdMap; export declare const STABLE_COINS: ChainIdMap; export declare const OFF_CHAIN_ORACLE_ADDRESS: ChainIdMap; export declare const AGGREGATOR_PROXY_ADDRESS: ChainIdMap; export declare const BASE_SCAN_INFO: ChainIdMap<{ name: string; url: string; }>; export declare const CG_CHAIN_ID: ChainIdMap; //# sourceMappingURL=multichain.d.ts.map