@gearbox-protocol/sdk 8.25.2 → 8.25.3
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.
|
@@ -28,6 +28,7 @@ var import_oracle = require("./oracle/index.js");
|
|
|
28
28
|
var import_pool = require("./pool/index.js");
|
|
29
29
|
class MarketSuite extends import_base.SDKConstruct {
|
|
30
30
|
acl;
|
|
31
|
+
treasury;
|
|
31
32
|
configurator;
|
|
32
33
|
pool;
|
|
33
34
|
priceOracle;
|
|
@@ -47,6 +48,7 @@ class MarketSuite extends import_base.SDKConstruct {
|
|
|
47
48
|
}
|
|
48
49
|
this.configurator = mc;
|
|
49
50
|
this.acl = marketData.acl;
|
|
51
|
+
this.treasury = marketData.treasury;
|
|
50
52
|
for (const t of marketData.tokens) {
|
|
51
53
|
sdk.tokensMeta.upsert(t.addr, t);
|
|
52
54
|
sdk.provider.addressLabels.set(t.addr, t.symbol);
|
|
@@ -5,6 +5,7 @@ import { getOrCreatePriceOracle } from "./oracle/index.js";
|
|
|
5
5
|
import { PoolSuite } from "./pool/index.js";
|
|
6
6
|
class MarketSuite extends SDKConstruct {
|
|
7
7
|
acl;
|
|
8
|
+
treasury;
|
|
8
9
|
configurator;
|
|
9
10
|
pool;
|
|
10
11
|
priceOracle;
|
|
@@ -24,6 +25,7 @@ class MarketSuite extends SDKConstruct {
|
|
|
24
25
|
}
|
|
25
26
|
this.configurator = mc;
|
|
26
27
|
this.acl = marketData.acl;
|
|
28
|
+
this.treasury = marketData.treasury;
|
|
27
29
|
for (const t of marketData.tokens) {
|
|
28
30
|
sdk.tokensMeta.upsert(t.addr, t);
|
|
29
31
|
sdk.provider.addressLabels.set(t.addr, t.symbol);
|
|
@@ -9,6 +9,7 @@ import type { IPriceOracleContract } from "./oracle/index.js";
|
|
|
9
9
|
import { PoolSuite } from "./pool/index.js";
|
|
10
10
|
export declare class MarketSuite extends SDKConstruct {
|
|
11
11
|
readonly acl: Address;
|
|
12
|
+
readonly treasury: Address;
|
|
12
13
|
readonly configurator: MarketConfiguratorContract;
|
|
13
14
|
readonly pool: PoolSuite;
|
|
14
15
|
readonly priceOracle: IPriceOracleContract;
|