@gearbox-protocol/deploy-tools 4.7.0 → 4.8.0
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 +67 -59
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -322090,11 +322090,6 @@ var _abi43 = [
|
|
|
322090
322090
|
type: "uint256",
|
|
322091
322091
|
internalType: "uint256"
|
|
322092
322092
|
},
|
|
322093
|
-
{
|
|
322094
|
-
name: "gasUsage",
|
|
322095
|
-
type: "uint256",
|
|
322096
|
-
internalType: "uint256"
|
|
322097
|
-
},
|
|
322098
322093
|
{
|
|
322099
322094
|
name: "calls",
|
|
322100
322095
|
type: "tuple[]",
|
|
@@ -322219,11 +322214,6 @@ var _abi43 = [
|
|
|
322219
322214
|
type: "uint256",
|
|
322220
322215
|
internalType: "uint256"
|
|
322221
322216
|
},
|
|
322222
|
-
{
|
|
322223
|
-
name: "gasUsage",
|
|
322224
|
-
type: "uint256",
|
|
322225
|
-
internalType: "uint256"
|
|
322226
|
-
},
|
|
322227
322217
|
{
|
|
322228
322218
|
name: "calls",
|
|
322229
322219
|
type: "tuple[]",
|
|
@@ -322242,11 +322232,6 @@ var _abi43 = [
|
|
|
322242
322232
|
]
|
|
322243
322233
|
}
|
|
322244
322234
|
]
|
|
322245
|
-
},
|
|
322246
|
-
{
|
|
322247
|
-
name: "gasPriceTargetRAY",
|
|
322248
|
-
type: "uint256",
|
|
322249
|
-
internalType: "uint256"
|
|
322250
322235
|
}
|
|
322251
322236
|
],
|
|
322252
322237
|
stateMutability: "nonpayable"
|
|
@@ -322302,11 +322287,6 @@ var _abi43 = [
|
|
|
322302
322287
|
type: "uint256",
|
|
322303
322288
|
internalType: "uint256"
|
|
322304
322289
|
},
|
|
322305
|
-
{
|
|
322306
|
-
name: "gasUsage",
|
|
322307
|
-
type: "uint256",
|
|
322308
|
-
internalType: "uint256"
|
|
322309
|
-
},
|
|
322310
322290
|
{
|
|
322311
322291
|
name: "calls",
|
|
322312
322292
|
type: "tuple[]",
|
|
@@ -322421,11 +322401,6 @@ var _abi43 = [
|
|
|
322421
322401
|
type: "uint256",
|
|
322422
322402
|
internalType: "uint256"
|
|
322423
322403
|
},
|
|
322424
|
-
{
|
|
322425
|
-
name: "gasUsage",
|
|
322426
|
-
type: "uint256",
|
|
322427
|
-
internalType: "uint256"
|
|
322428
|
-
},
|
|
322429
322404
|
{
|
|
322430
322405
|
name: "calls",
|
|
322431
322406
|
type: "tuple[]",
|
|
@@ -322450,21 +322425,15 @@ var _abi43 = [
|
|
|
322450
322425
|
},
|
|
322451
322426
|
{
|
|
322452
322427
|
type: "function",
|
|
322453
|
-
name: "
|
|
322454
|
-
inputs: [
|
|
322428
|
+
name: "futureRouter",
|
|
322429
|
+
inputs: [],
|
|
322430
|
+
outputs: [
|
|
322455
322431
|
{
|
|
322456
|
-
name: "
|
|
322432
|
+
name: "",
|
|
322457
322433
|
type: "address",
|
|
322458
322434
|
internalType: "address"
|
|
322459
322435
|
}
|
|
322460
322436
|
],
|
|
322461
|
-
outputs: [
|
|
322462
|
-
{
|
|
322463
|
-
name: "gasPrice",
|
|
322464
|
-
type: "uint256",
|
|
322465
|
-
internalType: "uint256"
|
|
322466
|
-
}
|
|
322467
|
-
],
|
|
322468
322437
|
stateMutability: "view"
|
|
322469
322438
|
},
|
|
322470
322439
|
{
|
|
@@ -322486,6 +322455,32 @@ var _abi43 = [
|
|
|
322486
322455
|
],
|
|
322487
322456
|
stateMutability: "view"
|
|
322488
322457
|
},
|
|
322458
|
+
{
|
|
322459
|
+
type: "function",
|
|
322460
|
+
name: "migrateRouterComponents",
|
|
322461
|
+
inputs: [
|
|
322462
|
+
{
|
|
322463
|
+
name: "_prevRouter",
|
|
322464
|
+
type: "address",
|
|
322465
|
+
internalType: "address"
|
|
322466
|
+
}
|
|
322467
|
+
],
|
|
322468
|
+
outputs: [],
|
|
322469
|
+
stateMutability: "nonpayable"
|
|
322470
|
+
},
|
|
322471
|
+
{
|
|
322472
|
+
type: "function",
|
|
322473
|
+
name: "setFutureRouter",
|
|
322474
|
+
inputs: [
|
|
322475
|
+
{
|
|
322476
|
+
name: "_futureRouter",
|
|
322477
|
+
type: "address",
|
|
322478
|
+
internalType: "address"
|
|
322479
|
+
}
|
|
322480
|
+
],
|
|
322481
|
+
outputs: [],
|
|
322482
|
+
stateMutability: "nonpayable"
|
|
322483
|
+
},
|
|
322489
322484
|
{
|
|
322490
322485
|
type: "function",
|
|
322491
322486
|
name: "setPathComponent",
|
|
@@ -322586,6 +322581,19 @@ var _abi43 = [
|
|
|
322586
322581
|
],
|
|
322587
322582
|
stateMutability: "view"
|
|
322588
322583
|
},
|
|
322584
|
+
{
|
|
322585
|
+
type: "function",
|
|
322586
|
+
name: "transferOwnership",
|
|
322587
|
+
inputs: [
|
|
322588
|
+
{
|
|
322589
|
+
name: "newOwner",
|
|
322590
|
+
type: "address",
|
|
322591
|
+
internalType: "address"
|
|
322592
|
+
}
|
|
322593
|
+
],
|
|
322594
|
+
outputs: [],
|
|
322595
|
+
stateMutability: "nonpayable"
|
|
322596
|
+
},
|
|
322589
322597
|
{
|
|
322590
322598
|
type: "function",
|
|
322591
322599
|
name: "version",
|
|
@@ -322649,6 +322657,19 @@ var _abi43 = [
|
|
|
322649
322657
|
],
|
|
322650
322658
|
anonymous: false
|
|
322651
322659
|
},
|
|
322660
|
+
{
|
|
322661
|
+
type: "event",
|
|
322662
|
+
name: "SetFutureRouter",
|
|
322663
|
+
inputs: [
|
|
322664
|
+
{
|
|
322665
|
+
name: "",
|
|
322666
|
+
type: "address",
|
|
322667
|
+
indexed: true,
|
|
322668
|
+
internalType: "address"
|
|
322669
|
+
}
|
|
322670
|
+
],
|
|
322671
|
+
anonymous: false
|
|
322672
|
+
},
|
|
322652
322673
|
{
|
|
322653
322674
|
type: "event",
|
|
322654
322675
|
name: "TokenTypeUpdate",
|
|
@@ -323422,28 +323443,6 @@ var VERSION_V1 = 1;
|
|
|
323422
323443
|
var VERSION_V2 = 2;
|
|
323423
323444
|
var VERSION_V3 = 3;
|
|
323424
323445
|
|
|
323425
|
-
// ../../packages/types/dist/types/parameters.js
|
|
323426
|
-
var RouterTokenType;
|
|
323427
|
-
(function(RouterTokenType2) {
|
|
323428
|
-
RouterTokenType2[RouterTokenType2["TT_NO_TOKEN"] = 0] = "TT_NO_TOKEN";
|
|
323429
|
-
RouterTokenType2[RouterTokenType2["TT_NORMAL_TOKEN"] = 1] = "TT_NORMAL_TOKEN";
|
|
323430
|
-
RouterTokenType2[RouterTokenType2["TT_CURVE_LP_TOKEN"] = 2] = "TT_CURVE_LP_TOKEN";
|
|
323431
|
-
RouterTokenType2[RouterTokenType2["TT_YEARN_ON_NORMAL_TOKEN"] = 3] = "TT_YEARN_ON_NORMAL_TOKEN";
|
|
323432
|
-
RouterTokenType2[RouterTokenType2["TT_YEARN_ON_CURVE_TOKEN"] = 4] = "TT_YEARN_ON_CURVE_TOKEN";
|
|
323433
|
-
RouterTokenType2[RouterTokenType2["TT_CONVEX_LP_TOKEN"] = 5] = "TT_CONVEX_LP_TOKEN";
|
|
323434
|
-
RouterTokenType2[RouterTokenType2["TT_CONVEX_STAKED_TOKEN"] = 6] = "TT_CONVEX_STAKED_TOKEN";
|
|
323435
|
-
RouterTokenType2[RouterTokenType2["TT_DIESEL_LP_TOKEN"] = 7] = "TT_DIESEL_LP_TOKEN";
|
|
323436
|
-
RouterTokenType2[RouterTokenType2["TT_GEAR_TOKEN"] = 8] = "TT_GEAR_TOKEN";
|
|
323437
|
-
RouterTokenType2[RouterTokenType2["TT_C_TOKEN"] = 9] = "TT_C_TOKEN";
|
|
323438
|
-
RouterTokenType2[RouterTokenType2["TT_BALANCER_LP_TOKEN"] = 10] = "TT_BALANCER_LP_TOKEN";
|
|
323439
|
-
RouterTokenType2[RouterTokenType2["TT_AAVE_V2_A_TOKEN"] = 11] = "TT_AAVE_V2_A_TOKEN";
|
|
323440
|
-
RouterTokenType2[RouterTokenType2["TT_WRAPPED_AAVE_V2_TOKEN"] = 12] = "TT_WRAPPED_AAVE_V2_TOKEN";
|
|
323441
|
-
RouterTokenType2[RouterTokenType2["TT_ERC4626_VAULT_TOKEN"] = 13] = "TT_ERC4626_VAULT_TOKEN";
|
|
323442
|
-
RouterTokenType2[RouterTokenType2["TT_WRAPPED_TOKEN"] = 14] = "TT_WRAPPED_TOKEN";
|
|
323443
|
-
RouterTokenType2[RouterTokenType2["TT_AURA_LP_TOKEN"] = 15] = "TT_AURA_LP_TOKEN";
|
|
323444
|
-
RouterTokenType2[RouterTokenType2["TT_AURA_STAKED_TOKEN"] = 16] = "TT_AURA_STAKED_TOKEN";
|
|
323445
|
-
})(RouterTokenType || (RouterTokenType = {}));
|
|
323446
|
-
|
|
323447
323446
|
// ../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/_assert.js
|
|
323448
323447
|
function number2(n3) {
|
|
323449
323448
|
if (!Number.isSafeInteger(n3) || n3 < 0)
|
|
@@ -350277,7 +350276,16 @@ var PriceOracleV3Parser = class extends AbstractParser {
|
|
|
350277
350276
|
// ../../packages/node/dist/parsers/RouterV3Parser.js
|
|
350278
350277
|
var RouterV3Parser = class extends AbstractParser {
|
|
350279
350278
|
constructor(contractType) {
|
|
350280
|
-
super(contractType,
|
|
350279
|
+
super(contractType, [
|
|
350280
|
+
{
|
|
350281
|
+
fragment: "constructor(address addressProvider, (address,uint8)[] tokenToTokenTypes)",
|
|
350282
|
+
comment: "v300"
|
|
350283
|
+
},
|
|
350284
|
+
{
|
|
350285
|
+
fragment: "constructor()",
|
|
350286
|
+
comment: "v301"
|
|
350287
|
+
}
|
|
350288
|
+
]);
|
|
350281
350289
|
this._iFace = IRouterConfiguratorV3__factory.createInterface();
|
|
350282
350290
|
this.parameterParsers = {
|
|
350283
350291
|
"setTokenTypesBatch((address,uint8)[])": [this.#parseTokenTypesBatch]
|
|
@@ -351784,7 +351792,7 @@ function getRenderer(opts) {
|
|
|
351784
351792
|
}
|
|
351785
351793
|
|
|
351786
351794
|
// package.json
|
|
351787
|
-
var version3 = "4.
|
|
351795
|
+
var version3 = "4.8.0";
|
|
351788
351796
|
|
|
351789
351797
|
// src/version.ts
|
|
351790
351798
|
var version_default = version3;
|