@defillama/sdk 2.3.68 → 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 -0
- package/build/general.d.ts +1 -1
- package/build/general.js +2 -0
- package/package.json +1 -1
package/build/abi/multicall.js
CHANGED
|
@@ -234,6 +234,14 @@ 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
|
|
237
245
|
default:
|
|
238
246
|
return null;
|
|
239
247
|
}
|
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
|
@@ -94,6 +94,8 @@ 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)
|
|
97
99
|
};
|
|
98
100
|
function getProvider(chain) {
|
|
99
101
|
if (chain === void 0) { chain = "ethereum"; }
|