@gearbox-protocol/sdk 7.9.0 → 7.9.1
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.
|
@@ -46,6 +46,11 @@ class MarketRegister extends import_base.SDKConstruct {
|
|
|
46
46
|
new import_MarketSuite.MarketSuite(this.sdk, data)
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
|
+
this.#marketFilter = {
|
|
50
|
+
configurators: this.marketConfigurators.map((c) => c.address),
|
|
51
|
+
pools: [],
|
|
52
|
+
underlying: import_constants.ADDRESS_0X0
|
|
53
|
+
};
|
|
49
54
|
}
|
|
50
55
|
async loadMarkets(marketConfigurators, ignoreUpdateablePrices) {
|
|
51
56
|
if (!marketConfigurators.length) {
|
|
@@ -27,6 +27,11 @@ class MarketRegister extends SDKConstruct {
|
|
|
27
27
|
new MarketSuite(this.sdk, data)
|
|
28
28
|
);
|
|
29
29
|
}
|
|
30
|
+
this.#marketFilter = {
|
|
31
|
+
configurators: this.marketConfigurators.map((c) => c.address),
|
|
32
|
+
pools: [],
|
|
33
|
+
underlying: ADDRESS_0X0
|
|
34
|
+
};
|
|
30
35
|
}
|
|
31
36
|
async loadMarkets(marketConfigurators, ignoreUpdateablePrices) {
|
|
32
37
|
if (!marketConfigurators.length) {
|