@defillama/sdk 3.0.34 → 3.0.36

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.
@@ -355,6 +355,8 @@ function multicallAddress(chainId) {
355
355
  return "0xDF15De1fB392Ab10551afF1dDDDfAFFd228D7FE0";
356
356
  case 22776: // map
357
357
  return "0x6f13ad2bae66B5560c6157883a42B70085F9ca20";
358
+ case 888888: // vision
359
+ return "0x7a677A43eb6eEe4AB6c13872Abc04e1bA5CF88eD";
358
360
  default:
359
361
  return null;
360
362
  }
@@ -1,5 +1,5 @@
1
1
  import type { Chain } from "../general";
2
- export declare const chainsForBlocks: Chain[];
2
+ export declare const chainsForBlocks: string[];
3
3
  export declare function getChainBlocks(timestamp: number, chains?: Chain[]): Promise<{
4
4
  [chain: string]: number;
5
5
  }>;
@@ -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 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" | "boba_avax" | "boba_bnb" | "cronos" | "polis" | "zyx" | "telos" | "metis" | "ubiq" | "velas" | "callisto" | "csc" | "nahmii" | "liquidchain" | "meter" | "theta" | "oasis" | "syscoin" | "moonbeam" | "curio" | "astar" | "godwoken" | "evmos" | "conflux" | "milkomeda" | "milkomeda_a1" | "dfk" | "bittorrent" | "findora" | "candle" | "lachain" | "reichain" | "rei" | "clv" | "echelon" | "multivac" | "sx" | "karura_evm" | "nova" | "ontology_evm" | "jfin" | "bitkub" | "bitgert" | "canto" | "dogechain" | "posi" | "arbitrum_nova" | "ultron" | "tombchain" | "vision" | "ethpow" | "functionx" | "cube" | "xdc" | "step" | "kekchain" | "muuchain" | "dexit" | "empire" | "flare" | "tlchain" | "zeniq";
5
+ export type Chain = string;
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
@@ -48,7 +48,7 @@ exports.providers = {
48
48
  palm: createProvider("palm", "https://palm-mainnet.infura.io/v3/3a961d6501e54add9a41aa53f15de99b", 11297108109),
49
49
  energyweb: createProvider("energyweb", "https://rpc.energyweb.org", 246),
50
50
  energi: createProvider("energi", "https://nodeapi.energi.network", 39797),
51
- songbird: createProvider("songbird", "https://songbird.towolabs.com/rpc", 19),
51
+ songbird: createProvider("songbird", "https://sgb.ftso.com.au/ext/bc/C/rpc", 19),
52
52
  hpb: createProvider("hpb", "https://hpbnode.com", 269),
53
53
  omax: createProvider("omax", "https://mainapi.omaxray.com", 311),
54
54
  gochain: createProvider("gochain", "https://rpc.gochain.io", 60),
@@ -145,6 +145,7 @@ exports.providers = {
145
145
  map: createProvider("map", "https://rpc.maplabs.io", 22776),
146
146
  caduceus: createProvider("caduceus", "https://mainnet.block.caduceus.foundation", 256256),
147
147
  wemix: createProvider("wemix", "https://api.wemix.com", 1111),
148
+ enuls: createProvider("enuls", "https://evmapi.nuls.io/", 119),
148
149
  };
149
150
  function getProvider(chain) {
150
151
  if (chain === void 0) { chain = "ethereum"; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defillama/sdk",
3
- "version": "3.0.34",
3
+ "version": "3.0.36",
4
4
  "description": "SDK for calculating TVL",
5
5
  "main": "build/index.js",
6
6
  "scripts": {