@defillama/sdk 2.3.68 → 2.3.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -234,6 +234,16 @@ function multicallAddress(chainId) {
234
234
  return exports.MULTICALL_ADDRESS_OPTIMISM;
235
235
  case 25:
236
236
  return "0x5e954f5972EC6BFc7dECd75779F10d848230345F"; // cronos
237
+ case 246:
238
+ return "0x18fA376d92511Dd04090566AB6144847c03557d8"; // energy web chain
239
+ case 336:
240
+ return "0x18fA376d92511Dd04090566AB6144847c03557d8"; // shiden
241
+ case 592:
242
+ return "0x18fA376d92511Dd04090566AB6144847c03557d8"; // astar
243
+ case 269:
244
+ return "0x18fA376d92511Dd04090566AB6144847c03557d8"; // High performance blockchain
245
+ case 2222:
246
+ return "0x30A62aA52Fa099C4B227869EB6aeaDEda054d121"; // kava
237
247
  default:
238
248
  return null;
239
249
  }
@@ -2,7 +2,7 @@ import { ethers, BigNumber } from "ethers";
2
2
  export declare const providers: {
3
3
  [chain: string]: ethers.providers.BaseProvider;
4
4
  };
5
- export declare type Chain = "ethereum" | "bsc" | "polygon" | "heco" | "fantom" | "rsk" | "tomochain" | "xdai" | "avax" | "wan" | "iotex" | "harmony" | "thundercore" | "okexchain" | "optimism" | "arbitrum" | "energyweb" | "songbird" | "hpb" | "gochain" | "ethereumclassic" | "xdaiarb" | "kardia" | "fuse" | "smartbch" | "elastos" | "hoo" | "fusion" | "aurora" | "ronin" | "boba" | "cronos" | "polis" | "zyx" | "telos" | "metis" | "ubiq" | "velas" | "callisto" | "csc" | "nahmii" | "liquidchain" | "meter" | "theta" | "oasis" | "syscoin" | "moonbeam" | "curio" | "astar" | "godwoken" | "evmos" | "conflux" | "milkomeda" | "dfk" | "bittorrent" | "findora" | "candle" | "lachain";
5
+ export declare type Chain = "ethereum" | "bsc" | "polygon" | "heco" | "fantom" | "rsk" | "tomochain" | "xdai" | "avax" | "wan" | "iotex" | "harmony" | "thundercore" | "okexchain" | "optimism" | "arbitrum" | "kcc" | "celo" | "moonriver" | "shiden" | "palm" | "energyweb" | "energi" | "songbird" | "hpb" | "gochain" | "ethereumclassic" | "xdaiarb" | "kardia" | "fuse" | "smartbch" | "elastos" | "hoo" | "fusion" | "aurora" | "ronin" | "boba" | "cronos" | "polis" | "zyx" | "telos" | "metis" | "ubiq" | "velas" | "callisto" | "csc" | "nahmii" | "liquidchain" | "meter" | "theta" | "oasis" | "syscoin" | "moonbeam" | "curio" | "astar" | "godwoken" | "evmos" | "conflux" | "milkomeda" | "dfk" | "bittorrent" | "findora" | "candle" | "lachain" | "reichain" | "rei" | "clover" | "echelon" | "multivac";
6
6
  export declare function getProvider(chain?: Chain): ethers.providers.BaseProvider;
7
7
  export declare const TEN: ethers.BigNumber;
8
8
  export declare function handleDecimals(num: BigNumber, decimals?: number): string;
package/build/general.js CHANGED
@@ -94,6 +94,9 @@ exports.providers = {
94
94
  reichain: createProvider("reichain", "https://rei-rpc.moonrhythm.io", 55555),
95
95
  rei: createProvider("rei", "https://rpc.rei.network", 47805),
96
96
  clover: createProvider("clover", "https://api-para.clover.finance", 1024),
97
+ echelon: createProvider("echelon", "https://rpc.ech.network,https://evm.ech.network,https://draco.ech.network", 3000),
98
+ multivac: createProvider("multivac", "https://rpc.mtv.ac,https://rpc-eu.mtv.ac", 62621),
99
+ kava: createProvider("kava", "https://evm.kava.io", 2222),
97
100
  };
98
101
  function getProvider(chain) {
99
102
  if (chain === void 0) { chain = "ethereum"; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defillama/sdk",
3
- "version": "2.3.68",
3
+ "version": "2.3.71",
4
4
  "description": "SDK for calculating TVL",
5
5
  "main": "build/index.js",
6
6
  "scripts": {