@defillama/sdk 2.3.114 → 2.3.117

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.
@@ -321,6 +321,10 @@ function multicallAddress(chainId) {
321
321
  return "0xe6d0cEE385992029Cb64C94A2dF6d0331937B2C8";
322
322
  case 55: // zyx
323
323
  return "0xd0dd5446f58D6f4F4A669f289E4268c1b12AEc31";
324
+ case 420420: // kekchain
325
+ return "0x781bB181833986C78238228F9AF0891829AF922B";
326
+ case 2002: // milkomeda_a1
327
+ return "0x61EEE5a6c13c358101487f3b7c7Dd9863590C350";
324
328
  default:
325
329
  return null;
326
330
  }
@@ -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" | "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";
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" | "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";
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
@@ -86,6 +86,7 @@ exports.providers = {
86
86
  evmos: createProvider("evmos", "https://json-rpc.evmos.blockhunters.org,https://evmos-json-rpc.stakely.io,https://eth.bd.evmos.org:8545/,https://evmos-mainnet.gateway.pokt.network/v1/lb/627586ddea1b320039c95205", 9001),
87
87
  conflux: createProvider("conflux", "https://evm.confluxrpc.com", 1030),
88
88
  milkomeda: createProvider("milkomeda", "https://rpc-mainnet-cardano-evm.c1.milkomeda.com", 2001),
89
+ milkomeda_a1: createProvider("milkomeda_a1", "https://rpc-mainnet-algorand-rollup.a1.milkomeda.com", 2002),
89
90
  dfk: createProvider("dfk", "https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc", 53935),
90
91
  crab: createProvider("crab", "https://crab-rpc.darwinia.network", 44),
91
92
  bittorrent: createProvider("bittorrent", "https://rpc.bt.io,https://rpc.bittorrentchain.io", 199),
@@ -116,6 +117,7 @@ exports.providers = {
116
117
  functionx: createProvider("functionx", "https://fx-json-web3.functionx.io:8545", 530),
117
118
  xdc: createProvider("xdc", "https://rpc.xinfin.network,https://rpc1.xinfin.network,https://erpc.xinfin.network", 50),
118
119
  cube: createProvider("cube", "https://http-mainnet.cube.network/", 1818),
120
+ kekchain: createProvider("kekchain", "https://mainnet.kekchain.com", 420420),
119
121
  step: createProvider("step", "https://rpc.step.network/", 1234)
120
122
  };
121
123
  function getProvider(chain) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defillama/sdk",
3
- "version": "2.3.114",
3
+ "version": "2.3.117",
4
4
  "description": "SDK for calculating TVL",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -18,7 +18,9 @@
18
18
  "author": "",
19
19
  "license": "ISC",
20
20
  "types": "build/index.d.ts",
21
- "files": ["build"],
21
+ "files": [
22
+ "build"
23
+ ],
22
24
  "dependencies": {
23
25
  "@supercharge/promise-pool": "^2.1.0",
24
26
  "bignumber.js": "^9.1.0",