@gearbox-protocol/sdk 1.5.19 → 1.5.20
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.
|
@@ -21,6 +21,7 @@ export declare class CreditManagerData {
|
|
|
21
21
|
readonly liquidationThresholds: Record<string, BigNumber>;
|
|
22
22
|
readonly version: number;
|
|
23
23
|
readonly creditFacade: string;
|
|
24
|
+
readonly creditConfigurator: string;
|
|
24
25
|
readonly isDegenMode: boolean;
|
|
25
26
|
readonly degenNFT: string;
|
|
26
27
|
readonly isIncreaseDebtForbidden: boolean;
|
|
@@ -67,6 +67,7 @@ var CreditManagerData = /** @class */ (function () {
|
|
|
67
67
|
}, {});
|
|
68
68
|
this.version = ethers_1.BigNumber.from(payload.version || 1).toNumber();
|
|
69
69
|
this.creditFacade = (payload.creditFacade || "").toLowerCase();
|
|
70
|
+
this.creditConfigurator = (payload.creditConfigurator || "").toLowerCase();
|
|
70
71
|
this.isDegenMode = payload.isDegenMode || false;
|
|
71
72
|
this.degenNFT = (payload.degenNFT || "").toLowerCase();
|
|
72
73
|
this.isIncreaseDebtForbidden = payload.isIncreaseDebtForbidden || false;
|
|
@@ -100,6 +100,7 @@ export declare type CreditManagerDataStruct = {
|
|
|
100
100
|
liquidationThresholds: BigNumberish[];
|
|
101
101
|
version: BigNumberish;
|
|
102
102
|
creditFacade: string;
|
|
103
|
+
creditConfigurator: string;
|
|
103
104
|
isDegenMode: boolean;
|
|
104
105
|
degenNFT: string;
|
|
105
106
|
isIncreaseDebtForbidden: boolean;
|
|
@@ -127,6 +128,7 @@ export declare type CreditManagerDataStructOutput = [
|
|
|
127
128
|
BigNumber[],
|
|
128
129
|
number,
|
|
129
130
|
string,
|
|
131
|
+
string,
|
|
130
132
|
boolean,
|
|
131
133
|
string,
|
|
132
134
|
boolean,
|
|
@@ -153,6 +155,7 @@ export declare type CreditManagerDataStructOutput = [
|
|
|
153
155
|
liquidationThresholds: BigNumber[];
|
|
154
156
|
version: number;
|
|
155
157
|
creditFacade: string;
|
|
158
|
+
creditConfigurator: string;
|
|
156
159
|
isDegenMode: boolean;
|
|
157
160
|
degenNFT: string;
|
|
158
161
|
isIncreaseDebtForbidden: boolean;
|
package/lib/types/factories/contracts/interfaces/IDataCompressor.sol/IDataCompressor__factory.js
CHANGED
|
@@ -420,6 +420,11 @@ var _abi = [
|
|
|
420
420
|
name: "creditFacade",
|
|
421
421
|
type: "address",
|
|
422
422
|
},
|
|
423
|
+
{
|
|
424
|
+
internalType: "address",
|
|
425
|
+
name: "creditConfigurator",
|
|
426
|
+
type: "address",
|
|
427
|
+
},
|
|
423
428
|
{
|
|
424
429
|
internalType: "bool",
|
|
425
430
|
name: "isDegenMode",
|
|
@@ -572,6 +577,11 @@ var _abi = [
|
|
|
572
577
|
name: "creditFacade",
|
|
573
578
|
type: "address",
|
|
574
579
|
},
|
|
580
|
+
{
|
|
581
|
+
internalType: "address",
|
|
582
|
+
name: "creditConfigurator",
|
|
583
|
+
type: "address",
|
|
584
|
+
},
|
|
575
585
|
{
|
|
576
586
|
internalType: "bool",
|
|
577
587
|
name: "isDegenMode",
|