@defillama/sdk 2.3.66 → 2.3.69
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.
- package/build/abi/multicall.js +8 -2
- package/build/cli.js +0 -0
- package/build/general.d.ts +1 -1
- package/build/general.js +7 -2
- package/package.json +1 -1
package/build/abi/multicall.js
CHANGED
|
@@ -234,8 +234,14 @@ function multicallAddress(chainId) {
|
|
|
234
234
|
return exports.MULTICALL_ADDRESS_OPTIMISM;
|
|
235
235
|
case 25:
|
|
236
236
|
return "0x5e954f5972EC6BFc7dECd75779F10d848230345F"; // cronos
|
|
237
|
-
case
|
|
238
|
-
return "
|
|
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
|
|
239
245
|
default:
|
|
240
246
|
return null;
|
|
241
247
|
}
|
package/build/cli.js
CHANGED
|
File without changes
|
package/build/general.d.ts
CHANGED
|
@@ -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
|
@@ -44,9 +44,10 @@ exports.providers = {
|
|
|
44
44
|
celo: createProvider("celo", "https://forno.celo.org", 42220),
|
|
45
45
|
iotex: createProvider("iotex", "https://babel-api.mainnet.iotex.io", 4689),
|
|
46
46
|
moonriver: createProvider("moonriver", "https://rpc.api.moonriver.moonbeam.network/,https://moonriver.api.onfinality.io/public", 1285),
|
|
47
|
-
shiden: createProvider("shiden", "https://shiden.api.onfinality.io/public,https://rpc.shiden.astar.network:8545", 336),
|
|
47
|
+
shiden: createProvider("shiden", "https://evm.shiden.astar.network,https://shiden.api.onfinality.io/public,https://rpc.shiden.astar.network:8545", 336),
|
|
48
48
|
palm: createProvider("palm", "https://palm-mainnet.infura.io/v3/3a961d6501e54add9a41aa53f15de99b", 11297108109),
|
|
49
49
|
energyweb: createProvider("energyweb", "https://rpc.energyweb.org", 246),
|
|
50
|
+
energi: createProvider("energi", "https://nodeapi.energi.network", 39797),
|
|
50
51
|
songbird: createProvider("songbird", "https://songbird.towolabs.com/rpc", 19),
|
|
51
52
|
hpb: createProvider("hpb", "https://hpbnode.com", 269),
|
|
52
53
|
gochain: createProvider("gochain", "https://rpc.gochain.io", 60),
|
|
@@ -90,7 +91,11 @@ exports.providers = {
|
|
|
90
91
|
findora: createProvider("findora", "https://prod-mainnet.prod.findora.org:8545", 2152),
|
|
91
92
|
candle: createProvider("candle", "https://network.cndlchain.com/,https://rpc.cndlchain.com", 534),
|
|
92
93
|
lachain: createProvider("lachain", "https://rpc-mainnet.lachain.io", 225),
|
|
93
|
-
|
|
94
|
+
reichain: createProvider("reichain", "https://rei-rpc.moonrhythm.io", 55555),
|
|
95
|
+
rei: createProvider("rei", "https://rpc.rei.network", 47805),
|
|
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)
|
|
94
99
|
};
|
|
95
100
|
function getProvider(chain) {
|
|
96
101
|
if (chain === void 0) { chain = "ethereum"; }
|