@defillama/sdk 3.0.33 → 3.0.35
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 +3 -0
- package/build/computeTVL/blocks.d.ts +1 -1
- package/build/general.d.ts +1 -1
- package/build/general.js +3 -1
- package/package.json +1 -1
package/build/abi/multicall.js
CHANGED
|
@@ -300,6 +300,7 @@ function multicallAddress(chainId) {
|
|
|
300
300
|
case 50: // xdc
|
|
301
301
|
case 52: // csc
|
|
302
302
|
case 311: // omax
|
|
303
|
+
case 1111: // omax
|
|
303
304
|
return "0x18fA376d92511Dd04090566AB6144847c03557d8";
|
|
304
305
|
case 40: // telos
|
|
305
306
|
return "0x74D01B798F0aEdc39548D3EA5fC922B291293b95";
|
|
@@ -354,6 +355,8 @@ function multicallAddress(chainId) {
|
|
|
354
355
|
return "0xDF15De1fB392Ab10551afF1dDDDfAFFd228D7FE0";
|
|
355
356
|
case 22776: // map
|
|
356
357
|
return "0x6f13ad2bae66B5560c6157883a42B70085F9ca20";
|
|
358
|
+
case 888888: // vision
|
|
359
|
+
return "0x7a677A43eb6eEe4AB6c13872Abc04e1bA5CF88eD";
|
|
357
360
|
default:
|
|
358
361
|
return null;
|
|
359
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),
|
|
@@ -143,6 +143,8 @@ exports.providers = {
|
|
|
143
143
|
zeniq: createProvider("zeniq", "https://smart1.zeniq.network:9545,https://smart2.zeniq.network:9545,https://smar31.zeniq.network:9545", 383414847825),
|
|
144
144
|
bitindi: createProvider("bitindi", "https://rpc-mainnet.bitindi.org", 4099),
|
|
145
145
|
map: createProvider("map", "https://rpc.maplabs.io", 22776),
|
|
146
|
+
caduceus: createProvider("caduceus", "https://mainnet.block.caduceus.foundation", 256256),
|
|
147
|
+
wemix: createProvider("wemix", "https://api.wemix.com", 1111),
|
|
146
148
|
};
|
|
147
149
|
function getProvider(chain) {
|
|
148
150
|
if (chain === void 0) { chain = "ethereum"; }
|