@defillama/sdk 2.3.75 → 2.3.76

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.
@@ -240,12 +240,17 @@ function multicallAddress(chainId) {
240
240
  return "0x5a6787fc349665c5b0c4b93126a0b62f14935731"; // iotex
241
241
  case 82:
242
242
  return "0x59177c9e5d0488e21355816094a047bdf8f14ebe"; // meter
243
- case 246: // energy web chain
243
+ case 11297108109:
244
+ return "0xfFE2FF36c5b8D948f788a34f867784828aa7415D"; // palm
245
+ case 416:
246
+ return "0x834a005DDCF990Ba1a79f259e840e58F2D14F49a"; // sx
247
+ case 246: // energy web chain
244
248
  case 336: // shiden
245
249
  case 592: // astar
246
250
  case 269: // High performance blockchain
247
251
  case 321: // KCC
248
- case 8217: // Klaytn
252
+ // case 8217: // Klaytn - multicall doesnt work for some reason
253
+ // case 88: // tomochain - multicall doesnt work for some reason
249
254
  case 122: // Fuse
250
255
  case 42220: // Celo
251
256
  case 42262: // ROSE
@@ -267,6 +272,7 @@ function multicallAddress(chainId) {
267
272
  case 61: // etc
268
273
  case 60: // go
269
274
  case 66: // okxchain
275
+ case 19: // songbird
270
276
  return "0x18fA376d92511Dd04090566AB6144847c03557d8";
271
277
  case 2222:
272
278
  return "0x30A62aA52Fa099C4B227869EB6aeaDEda054d121"; // kava
package/build/cli.js CHANGED
File without changes
@@ -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" | "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";
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" | "sx";
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
@@ -70,7 +70,7 @@ exports.providers = {
70
70
  ubiq: createProvider("ubiq", "https://rpc.octano.dev", 8),
71
71
  velas: createProvider("velas", "https://evmexplorer.velas.com/rpc", 106),
72
72
  callisto: createProvider("callisto", "https://clo-geth.0xinfra.com/", 820),
73
- klaytn: createProvider("klaytn", "https://public-node-api.klaytnapi.com/v1/cypress,http://175.209.78.135:8551", 8217),
73
+ klaytn: createProvider("klaytn", "https://public-node-api.klaytnapi.com/v1/cypress", 8217),
74
74
  csc: createProvider("csc", "https://rpc.coinex.net/,https://rpc1.coinex.net/,https://rpc2.coinex.net/,https://rpc3.coinex.net/,https://rpc4.coinex.net/", 52),
75
75
  nahmii: createProvider("nahmii", "https://l2.nahmii.io/", 5551),
76
76
  liquidchain: createProvider("xlc", "https://rpc.liquidchain.net/,https://rpc.xlcscan.com/", 5050),
@@ -97,6 +97,7 @@ exports.providers = {
97
97
  echelon: createProvider("echelon", "https://rpc.ech.network,https://evm.ech.network,https://draco.ech.network", 3000),
98
98
  multivac: createProvider("multivac", "https://rpc.mtv.ac,https://rpc-eu.mtv.ac", 62621),
99
99
  kava: createProvider("kava", "https://evm.kava.io", 2222),
100
+ sx: createProvider("sx", "https://rpc.sx.technology", 416),
100
101
  };
101
102
  function getProvider(chain) {
102
103
  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.75",
3
+ "version": "2.3.76",
4
4
  "description": "SDK for calculating TVL",
5
5
  "main": "build/index.js",
6
6
  "scripts": {