@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.
- package/build/abi/multicall.js +2 -0
- package/build/computeTVL/blocks.d.ts +1 -1
- package/build/general.d.ts +1 -1
- package/build/general.js +2 -1
- package/package.json +1 -1
package/build/abi/multicall.js
CHANGED
|
@@ -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
|
}
|
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 type Chain =
|
|
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://
|
|
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"; }
|