impermax-sdk 1.2.34 → 1.2.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/lib/config/subgraphs.js
CHANGED
|
@@ -47,7 +47,7 @@ exports.IMPERMAX_SUBGRAPH_URL = {
|
|
|
47
47
|
[types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-base-solv2/v0.0.2',
|
|
48
48
|
},
|
|
49
49
|
[types_1.Networks.Scroll]: {
|
|
50
|
-
[types_1.Factory.SOLV2]: '',
|
|
50
|
+
[types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-scroll-solv2/v0.0.1',
|
|
51
51
|
},
|
|
52
52
|
};
|
|
53
53
|
exports.IMPERMAX_CHEF_SUBGRAPH_URL = {
|
|
@@ -472,7 +472,8 @@ function initializeTvlData() {
|
|
|
472
472
|
for (const network of networks) {
|
|
473
473
|
for (const factory in subgraphs_1.IMPERMAX_SUBGRAPH_URL[network]) {
|
|
474
474
|
const subgraph = subgraphs_1.IMPERMAX_SUBGRAPH_URL[network][factory];
|
|
475
|
-
|
|
475
|
+
if (subgraph && subgraph.length > 0)
|
|
476
|
+
calls.push(this.apolloFetcher(subgraph, query.tvlQuery()));
|
|
476
477
|
}
|
|
477
478
|
}
|
|
478
479
|
let results;
|