@gearbox-protocol/deploy-tools 4.11.0 → 4.11.2
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/dist/index.mjs +60 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -349204,7 +349204,7 @@ var CreditConfiguratorV2Parser = class extends AbstractParser {
|
|
|
349204
349204
|
|
|
349205
349205
|
// ../../packages/node/dist/parsers/CreditConfiguratorV3Parser.js
|
|
349206
349206
|
var import_sdk_gov10 = __toESM(require_lib222(), 1);
|
|
349207
|
-
var
|
|
349207
|
+
var constructorV300 = {
|
|
349208
349208
|
inputs: [
|
|
349209
349209
|
{
|
|
349210
349210
|
internalType: "contract CreditManagerV3",
|
|
@@ -349269,9 +349269,63 @@ var constructorAbi = {
|
|
|
349269
349269
|
stateMutability: "nonpayable",
|
|
349270
349270
|
type: "constructor"
|
|
349271
349271
|
};
|
|
349272
|
+
var constructorV301 = {
|
|
349273
|
+
type: "constructor",
|
|
349274
|
+
inputs: [
|
|
349275
|
+
{
|
|
349276
|
+
name: "_creditManager",
|
|
349277
|
+
type: "address",
|
|
349278
|
+
internalType: "contract CreditManagerV3"
|
|
349279
|
+
},
|
|
349280
|
+
{
|
|
349281
|
+
name: "_creditFacade",
|
|
349282
|
+
type: "address",
|
|
349283
|
+
internalType: "contract CreditFacadeV3"
|
|
349284
|
+
},
|
|
349285
|
+
{
|
|
349286
|
+
name: "opts",
|
|
349287
|
+
type: "tuple",
|
|
349288
|
+
internalType: "struct CreditManagerOpts",
|
|
349289
|
+
components: [
|
|
349290
|
+
{
|
|
349291
|
+
name: "minDebt",
|
|
349292
|
+
type: "uint128",
|
|
349293
|
+
internalType: "uint128"
|
|
349294
|
+
},
|
|
349295
|
+
{
|
|
349296
|
+
name: "maxDebt",
|
|
349297
|
+
type: "uint128",
|
|
349298
|
+
internalType: "uint128"
|
|
349299
|
+
},
|
|
349300
|
+
{
|
|
349301
|
+
name: "degenNFT",
|
|
349302
|
+
type: "address",
|
|
349303
|
+
internalType: "address"
|
|
349304
|
+
},
|
|
349305
|
+
{
|
|
349306
|
+
name: "expirable",
|
|
349307
|
+
type: "bool",
|
|
349308
|
+
internalType: "bool"
|
|
349309
|
+
},
|
|
349310
|
+
{
|
|
349311
|
+
name: "name",
|
|
349312
|
+
type: "string",
|
|
349313
|
+
internalType: "string"
|
|
349314
|
+
}
|
|
349315
|
+
]
|
|
349316
|
+
}
|
|
349317
|
+
],
|
|
349318
|
+
stateMutability: "nonpayable"
|
|
349319
|
+
};
|
|
349272
349320
|
var CreditConfiguratorV3Parser = class extends AbstractParser {
|
|
349273
349321
|
constructor(contractType) {
|
|
349274
|
-
super(contractType,
|
|
349322
|
+
super(contractType, [
|
|
349323
|
+
{
|
|
349324
|
+
fragment: constructorV300,
|
|
349325
|
+
comment: "v300"
|
|
349326
|
+
},
|
|
349327
|
+
{ fragment: constructorV301, comment: "v301" }
|
|
349328
|
+
]);
|
|
349275
349329
|
this._iFace = augmentInterface(ICreditConfiguratorV3__factory.createInterface(), "function setController(address newController) external");
|
|
349276
349330
|
this.parameterParsers = {
|
|
349277
349331
|
constructor: [
|
|
@@ -349315,10 +349369,11 @@ var CreditConfiguratorV3Parser = class extends AbstractParser {
|
|
|
349315
349369
|
degenNFT,
|
|
349316
349370
|
expirable,
|
|
349317
349371
|
name,
|
|
349318
|
-
|
|
349372
|
+
// collateral tokens were removed in v301
|
|
349373
|
+
collateralTokens: collateralTokens?.map((t) => ({
|
|
349319
349374
|
liquidationThreshold: t.liquidationThreshold,
|
|
349320
349375
|
token: getParsedToken(t.token)
|
|
349321
|
-
})),
|
|
349376
|
+
})) ?? [],
|
|
349322
349377
|
minDebt: {
|
|
349323
349378
|
amount: minDebt,
|
|
349324
349379
|
decimals: (0, import_sdk_gov10.getDecimals)(underlying),
|
|
@@ -351820,7 +351875,7 @@ function getRenderer(opts) {
|
|
|
351820
351875
|
}
|
|
351821
351876
|
|
|
351822
351877
|
// package.json
|
|
351823
|
-
var version3 = "4.11.
|
|
351878
|
+
var version3 = "4.11.2";
|
|
351824
351879
|
|
|
351825
351880
|
// src/version.ts
|
|
351826
351881
|
var version_default = version3;
|