@gearbox-protocol/deploy-tools 4.61.22 → 4.61.24

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2794 -389
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -9040,6 +9040,15 @@ var require_token = __commonJS({
9040
9040
  reserve: true
9041
9041
  }
9042
9042
  ],
9043
+ sUSDS: [
9044
+ {
9045
+ symbol: "DAI",
9046
+ dataId: "DAI",
9047
+ address: exports2.tokenDataByNetwork.Mainnet.DAI,
9048
+ priceFeed: "0xa0b9387f0a74eCB9AC1a3BFE4Ada0E001ffE006b",
9049
+ reserve: true
9050
+ }
9051
+ ],
9043
9052
  stkUSDS: [
9044
9053
  {
9045
9054
  symbol: "DAI",
@@ -15516,7 +15525,7 @@ ${adapters};`;
15516
15525
  }
15517
15526
  deployConfig() {
15518
15527
  const collateralTokens = this.state.collateralTokens.length === 0 ? "" : `CollateralTokenHuman[] storage cts = cp.collateralTokens;` + this.state.collateralTokens.map((ct) => `
15519
- cts.push(CollateralTokenHuman({token: Tokens.${(0, safeEnum_1.safeEnum)(ct.token)}, lt: ${(0, formatter_1.formatNumberToString_)(ct.lt)}}));`).join("\n");
15528
+ cts.push(CollateralTokenHuman({token: TOKEN_${(0, safeEnum_1.safeEnum)(ct.token)}, lt: ${(0, formatter_1.formatNumberToString_)(ct.lt)}}));`).join("\n");
15520
15529
  const contracts = this.state.adapters.length === 0 ? "" : `Contracts[] storage cs = cp.contracts;` + this.state.adapters.map((a) => this.adapterConfig(a)).join("\n");
15521
15530
  return `
15522
15531
  /// CREDIT_MANAGER_${this.index}
@@ -15570,8 +15579,8 @@ ${contracts}
15570
15579
  case "CAMELOT_V3_ROUTER": {
15571
15580
  const pairs = (a.allowed || []).map((pair) => `gsp.push(GenericSwapPair({
15572
15581
  router: Contracts.${a.contract},
15573
- token0: Tokens.${(0, safeEnum_1.safeEnum)(pair.token0)},
15574
- token1: Tokens.${(0, safeEnum_1.safeEnum)(pair.token1)}
15582
+ token0: TOKEN_${(0, safeEnum_1.safeEnum)(pair.token0)},
15583
+ token1: TOKEN_${(0, safeEnum_1.safeEnum)(pair.token1)}
15575
15584
  }));`).join("\n");
15576
15585
  return `${contractLine}{
15577
15586
  GenericSwapPair[] storage gsp = cp.adapterConfig.genericSwapPairs;
@@ -15582,8 +15591,8 @@ ${contracts}
15582
15591
  case "VELODROME_CL_ROUTER": {
15583
15592
  const pairs = (a.allowed || []).map((pair) => `uv3p.push(UniswapV3Pair({
15584
15593
  router: Contracts.${a.contract},
15585
- token0: Tokens.${(0, safeEnum_1.safeEnum)(pair.token0)},
15586
- token1: Tokens.${(0, safeEnum_1.safeEnum)(pair.token1)},
15594
+ token0: TOKEN_${(0, safeEnum_1.safeEnum)(pair.token0)},
15595
+ token1: TOKEN_${(0, safeEnum_1.safeEnum)(pair.token1)},
15587
15596
  fee: ${a.contract === "VELODROME_CL_ROUTER" ? pair.tickSpacing : pair.fee}
15588
15597
  }));`).join("\n");
15589
15598
  return `${contractLine}{
@@ -15592,8 +15601,8 @@ ${contracts}
15592
15601
  }
15593
15602
  case "VELODROME_V2_ROUTER": {
15594
15603
  const pools = (a.allowed || []).map((pool) => `vv2p.push(VelodromeV2Pool({
15595
- token0: Tokens.${(0, safeEnum_1.safeEnum)(pool.token0)},
15596
- token1: Tokens.${(0, safeEnum_1.safeEnum)(pool.token1)},
15604
+ token0: TOKEN_${(0, safeEnum_1.safeEnum)(pool.token0)},
15605
+ token1: TOKEN_${(0, safeEnum_1.safeEnum)(pool.token1)},
15597
15606
  stable: ${pool.stable},
15598
15607
  factory: ${pool.factory}
15599
15608
  }));`).join("\n");
@@ -15604,8 +15613,8 @@ ${contracts}
15604
15613
  case "PENDLE_ROUTER": {
15605
15614
  const pairs = (a.allowed || []).map((pair) => `pendp.push(PendlePair({
15606
15615
  market: ${pair.market},
15607
- inputToken: Tokens.${(0, safeEnum_1.safeEnum)(pair.inputToken)},
15608
- pendleToken: Tokens.${(0, safeEnum_1.safeEnum)(pair.pendleToken)},
15616
+ inputToken: TOKEN_${(0, safeEnum_1.safeEnum)(pair.inputToken)},
15617
+ pendleToken: TOKEN_${(0, safeEnum_1.safeEnum)(pair.pendleToken)},
15609
15618
  status: ${pair.status.toFixed()}
15610
15619
  }));`).join("\n");
15611
15620
  return `${contractLine}
@@ -15615,7 +15624,7 @@ ${contracts}
15615
15624
  case "MELLOW_STEAKHOUSE_VAULT": {
15616
15625
  const underlyings = (a.allowed || []).map((underlying) => `mu.push(MellowUnderlyingConfig({
15617
15626
  vault: Contracts.${a.contract},
15618
- underlying: Tokens.${(0, safeEnum_1.safeEnum)(underlying)}
15627
+ underlying: TOKEN_${(0, safeEnum_1.safeEnum)(underlying)}
15619
15628
  }));`).join("\n");
15620
15629
  return `${contractLine}{
15621
15630
  MellowUnderlyingConfig[] storage mu = cp.adapterConfig.mellowUnderlyings;
@@ -15664,7 +15673,7 @@ var require_gaugeV3 = __commonJS({
15664
15673
  return { warnings: [], errors: [] };
15665
15674
  }
15666
15675
  deployConfig() {
15667
- return Object.entries(this.state.quotaTokenParams).map(([token, params]) => `_gaugeRates.push(GaugeRate({token: Tokens.${(0, safeEnum_1.safeEnum)(token)}, minRate: ${(0, formatter_1.formatNumberToString_)(params.minRate)}, maxRate: ${(0, formatter_1.formatNumberToString_)(params.maxRate)}}));`).join("\n");
15676
+ return Object.entries(this.state.quotaTokenParams).map(([token, params]) => `_gaugeRates.push(GaugeRate({token: TOKEN_${(0, safeEnum_1.safeEnum)(token)}, minRate: ${(0, formatter_1.formatNumberToString_)(params.minRate)}, maxRate: ${(0, formatter_1.formatNumberToString_)(params.maxRate)}}));`).join("\n");
15668
15677
  }
15669
15678
  toString() {
15670
15679
  return Object.entries(this.state.quotaTokenParams).map(([token, params]) => {
@@ -15790,7 +15799,7 @@ var require_poolQuotaKeeperV3 = __commonJS({
15790
15799
  return { warnings: [], errors: [] };
15791
15800
  }
15792
15801
  deployConfig() {
15793
- return Object.entries(this.state.quotaLimits).map(([token, params]) => `_quotaLimits.push(PoolQuotaLimit({token: Tokens.${(0, safeEnum_1.safeEnum)(token)}, quotaIncreaseFee: ${(0, formatter_1.formatNumberToString_)(params.quotaIncreaseFee)}, limit: ${(0, formatter_1.formatNumberToString_)(params.limit)}}));`).join("\n");
15802
+ return Object.entries(this.state.quotaLimits).map(([token, params]) => `_quotaLimits.push(PoolQuotaLimit({token: TOKEN_${(0, safeEnum_1.safeEnum)(token)}, quotaIncreaseFee: ${(0, formatter_1.formatNumberToString_)(params.quotaIncreaseFee)}, limit: ${(0, formatter_1.formatNumberToString_)(params.limit)}}));`).join("\n");
15794
15803
  }
15795
15804
  toString() {
15796
15805
  const quotaLimitsStr = Object.entries(this.state.quotaLimits).map(([token, ql]) => `[${token}]: {
@@ -15974,7 +15983,7 @@ ${creditManagers}`;
15974
15983
  // (c) Gearbox Holdings, 2022
15975
15984
  pragma solidity ^0.8.17;
15976
15985
 
15977
- import {Tokens} from "@gearbox-protocol/sdk-gov/contracts/Tokens.sol";
15986
+ import "@gearbox-protocol/sdk-gov/contracts/Tokens.sol";
15978
15987
  import {Contracts} from "@gearbox-protocol/sdk-gov/contracts/SupportedContracts.sol";
15979
15988
  import {
15980
15989
  LinearIRMV3DeployParams,
@@ -15995,7 +16004,7 @@ ${creditManagers}`;
15995
16004
  contract CONFIG_${this.id.replaceAll("-", "_").toUpperCase()} is IPoolV3DeployConfig {
15996
16005
  string public constant id = "${this.id}";
15997
16006
  uint256 public constant chainId = ${__1.CHAINS[this.network]};
15998
- Tokens public constant underlying = Tokens.${(0, __1.safeEnum)(this.underlying)};
16007
+ uint256 public constant underlying = TOKEN_${(0, __1.safeEnum)(this.underlying)};
15999
16008
  bool public constant supportsQuotas = ${this.supportsQuotas};
16000
16009
  uint256 public constant getAccountAmount = ${(0, formatter_1.formatNumberToString_)(this.accountAmount)};
16001
16010
 
@@ -50353,7 +50362,7 @@ var require_multicall = __commonJS({
50353
50362
  exports2.MultiCallContract = exports2.safeMulticall = exports2.multicall = exports2.multicallInterface = exports2.MULTICALL_ADDRESS = void 0;
50354
50363
  var ethers_1 = require_lib2();
50355
50364
  exports2.MULTICALL_ADDRESS = "0xcA11bde05977b3631167028862bE2a173976CA11";
50356
- var _abi140 = [
50365
+ var _abi150 = [
50357
50366
  {
50358
50367
  inputs: [
50359
50368
  {
@@ -50439,7 +50448,7 @@ var require_multicall = __commonJS({
50439
50448
  type: "function"
50440
50449
  }
50441
50450
  ];
50442
- exports2.multicallInterface = new ethers_1.Interface(_abi140);
50451
+ exports2.multicallInterface = new ethers_1.Interface(_abi150);
50443
50452
  async function multicall(calls, p, overrides) {
50444
50453
  const multiCallContract = new ethers_1.Contract(exports2.MULTICALL_ADDRESS, exports2.multicallInterface, p);
50445
50454
  const { returnData } = await multiCallContract.aggregate.staticCall(calls.map((c) => ({
@@ -270395,6 +270404,9 @@ __export2(factories_exports, {
270395
270404
  iDegenNftv2Sol: () => IDegenNFTV2_exports,
270396
270405
  iGaugeV3Sol: () => IGaugeV3_exports,
270397
270406
  iGearStakingV3Sol: () => IGearStakingV3_exports,
270407
+ iMellowVaultAdapterSol: () => IMellowVaultAdapter_exports,
270408
+ iPendleRouterAdapterSol: () => IPendleRouterAdapter_exports,
270409
+ iPendleRouterSol: () => IPendleRouter_exports,
270398
270410
  iPoolQuotaKeeperV3Sol: () => IPoolQuotaKeeperV3_exports,
270399
270411
  iPoolV3Sol: () => IPoolV3_exports,
270400
270412
  iPriceFeedSol: () => IPriceFeed_exports,
@@ -284153,12 +284165,2355 @@ var ILPPriceFeedExceptions__factory = class {
284153
284165
  );
284154
284166
  }
284155
284167
  };
284168
+ var IMellowVaultAdapter_exports = {};
284169
+ __export2(IMellowVaultAdapter_exports, {
284170
+ IMellowVaultAdapterEvents__factory: () => IMellowVaultAdapterEvents__factory,
284171
+ IMellowVaultAdapterExceptions__factory: () => IMellowVaultAdapterExceptions__factory,
284172
+ IMellowVaultAdapter__factory: () => IMellowVaultAdapter__factory
284173
+ });
284174
+ var _abi50 = [
284175
+ {
284176
+ type: "function",
284177
+ name: "_gearboxAdapterType",
284178
+ inputs: [],
284179
+ outputs: [
284180
+ {
284181
+ name: "",
284182
+ type: "uint8",
284183
+ internalType: "enum AdapterType"
284184
+ }
284185
+ ],
284186
+ stateMutability: "view"
284187
+ },
284188
+ {
284189
+ type: "function",
284190
+ name: "_gearboxAdapterVersion",
284191
+ inputs: [],
284192
+ outputs: [
284193
+ {
284194
+ name: "",
284195
+ type: "uint16",
284196
+ internalType: "uint16"
284197
+ }
284198
+ ],
284199
+ stateMutability: "view"
284200
+ },
284201
+ {
284202
+ type: "function",
284203
+ name: "addressProvider",
284204
+ inputs: [],
284205
+ outputs: [
284206
+ {
284207
+ name: "",
284208
+ type: "address",
284209
+ internalType: "address"
284210
+ }
284211
+ ],
284212
+ stateMutability: "view"
284213
+ },
284214
+ {
284215
+ type: "function",
284216
+ name: "creditManager",
284217
+ inputs: [],
284218
+ outputs: [
284219
+ {
284220
+ name: "",
284221
+ type: "address",
284222
+ internalType: "address"
284223
+ }
284224
+ ],
284225
+ stateMutability: "view"
284226
+ },
284227
+ {
284228
+ type: "function",
284229
+ name: "deposit",
284230
+ inputs: [
284231
+ {
284232
+ name: "",
284233
+ type: "address",
284234
+ internalType: "address"
284235
+ },
284236
+ {
284237
+ name: "amounts",
284238
+ type: "uint256[]",
284239
+ internalType: "uint256[]"
284240
+ },
284241
+ {
284242
+ name: "minLpAmount",
284243
+ type: "uint256",
284244
+ internalType: "uint256"
284245
+ },
284246
+ {
284247
+ name: "deadline",
284248
+ type: "uint256",
284249
+ internalType: "uint256"
284250
+ }
284251
+ ],
284252
+ outputs: [
284253
+ {
284254
+ name: "tokensToEnable",
284255
+ type: "uint256",
284256
+ internalType: "uint256"
284257
+ },
284258
+ {
284259
+ name: "tokensToDisable",
284260
+ type: "uint256",
284261
+ internalType: "uint256"
284262
+ }
284263
+ ],
284264
+ stateMutability: "nonpayable"
284265
+ },
284266
+ {
284267
+ type: "function",
284268
+ name: "depositOneAsset",
284269
+ inputs: [
284270
+ {
284271
+ name: "asset",
284272
+ type: "address",
284273
+ internalType: "address"
284274
+ },
284275
+ {
284276
+ name: "amount",
284277
+ type: "uint256",
284278
+ internalType: "uint256"
284279
+ },
284280
+ {
284281
+ name: "minLpAmount",
284282
+ type: "uint256",
284283
+ internalType: "uint256"
284284
+ },
284285
+ {
284286
+ name: "deadline",
284287
+ type: "uint256",
284288
+ internalType: "uint256"
284289
+ }
284290
+ ],
284291
+ outputs: [
284292
+ {
284293
+ name: "tokensToEnable",
284294
+ type: "uint256",
284295
+ internalType: "uint256"
284296
+ },
284297
+ {
284298
+ name: "tokensToDisable",
284299
+ type: "uint256",
284300
+ internalType: "uint256"
284301
+ }
284302
+ ],
284303
+ stateMutability: "nonpayable"
284304
+ },
284305
+ {
284306
+ type: "function",
284307
+ name: "depositOneAssetDiff",
284308
+ inputs: [
284309
+ {
284310
+ name: "asset",
284311
+ type: "address",
284312
+ internalType: "address"
284313
+ },
284314
+ {
284315
+ name: "leftoverAmount",
284316
+ type: "uint256",
284317
+ internalType: "uint256"
284318
+ },
284319
+ {
284320
+ name: "rateMinRAY",
284321
+ type: "uint256",
284322
+ internalType: "uint256"
284323
+ },
284324
+ {
284325
+ name: "deadline",
284326
+ type: "uint256",
284327
+ internalType: "uint256"
284328
+ }
284329
+ ],
284330
+ outputs: [
284331
+ {
284332
+ name: "tokensToEnable",
284333
+ type: "uint256",
284334
+ internalType: "uint256"
284335
+ },
284336
+ {
284337
+ name: "tokensToDisable",
284338
+ type: "uint256",
284339
+ internalType: "uint256"
284340
+ }
284341
+ ],
284342
+ stateMutability: "nonpayable"
284343
+ },
284344
+ {
284345
+ type: "function",
284346
+ name: "isUnderlyingAllowed",
284347
+ inputs: [
284348
+ {
284349
+ name: "token",
284350
+ type: "address",
284351
+ internalType: "address"
284352
+ }
284353
+ ],
284354
+ outputs: [
284355
+ {
284356
+ name: "",
284357
+ type: "bool",
284358
+ internalType: "bool"
284359
+ }
284360
+ ],
284361
+ stateMutability: "view"
284362
+ },
284363
+ {
284364
+ type: "function",
284365
+ name: "setUnderlyingStatusBatch",
284366
+ inputs: [
284367
+ {
284368
+ name: "underlyings",
284369
+ type: "tuple[]",
284370
+ internalType: "struct MellowUnderlyingStatus[]",
284371
+ components: [
284372
+ {
284373
+ name: "underlying",
284374
+ type: "address",
284375
+ internalType: "address"
284376
+ },
284377
+ {
284378
+ name: "allowed",
284379
+ type: "bool",
284380
+ internalType: "bool"
284381
+ }
284382
+ ]
284383
+ }
284384
+ ],
284385
+ outputs: [],
284386
+ stateMutability: "nonpayable"
284387
+ },
284388
+ {
284389
+ type: "function",
284390
+ name: "targetContract",
284391
+ inputs: [],
284392
+ outputs: [
284393
+ {
284394
+ name: "",
284395
+ type: "address",
284396
+ internalType: "address"
284397
+ }
284398
+ ],
284399
+ stateMutability: "view"
284400
+ },
284401
+ {
284402
+ type: "event",
284403
+ name: "SetUnderlyingStatus",
284404
+ inputs: [
284405
+ {
284406
+ name: "token",
284407
+ type: "address",
284408
+ indexed: true,
284409
+ internalType: "address"
284410
+ },
284411
+ {
284412
+ name: "newStatus",
284413
+ type: "bool",
284414
+ indexed: false,
284415
+ internalType: "bool"
284416
+ }
284417
+ ],
284418
+ anonymous: false
284419
+ },
284420
+ {
284421
+ type: "error",
284422
+ name: "IncorrectArrayLengthException",
284423
+ inputs: []
284424
+ },
284425
+ {
284426
+ type: "error",
284427
+ name: "UnderlyingNotAllowedException",
284428
+ inputs: [
284429
+ {
284430
+ name: "asset",
284431
+ type: "address",
284432
+ internalType: "address"
284433
+ }
284434
+ ]
284435
+ },
284436
+ {
284437
+ type: "error",
284438
+ name: "UnderlyingNotFoundException",
284439
+ inputs: [
284440
+ {
284441
+ name: "asset",
284442
+ type: "address",
284443
+ internalType: "address"
284444
+ }
284445
+ ]
284446
+ }
284447
+ ];
284448
+ var IMellowVaultAdapter__factory = class {
284449
+ static abi = _abi50;
284450
+ static createInterface() {
284451
+ return new Interface(_abi50);
284452
+ }
284453
+ static connect(address, runner) {
284454
+ return new Contract(
284455
+ address,
284456
+ _abi50,
284457
+ runner
284458
+ );
284459
+ }
284460
+ };
284461
+ var _abi51 = [
284462
+ {
284463
+ type: "event",
284464
+ name: "SetUnderlyingStatus",
284465
+ inputs: [
284466
+ {
284467
+ name: "token",
284468
+ type: "address",
284469
+ indexed: true,
284470
+ internalType: "address"
284471
+ },
284472
+ {
284473
+ name: "newStatus",
284474
+ type: "bool",
284475
+ indexed: false,
284476
+ internalType: "bool"
284477
+ }
284478
+ ],
284479
+ anonymous: false
284480
+ }
284481
+ ];
284482
+ var IMellowVaultAdapterEvents__factory = class {
284483
+ static abi = _abi51;
284484
+ static createInterface() {
284485
+ return new Interface(_abi51);
284486
+ }
284487
+ static connect(address, runner) {
284488
+ return new Contract(
284489
+ address,
284490
+ _abi51,
284491
+ runner
284492
+ );
284493
+ }
284494
+ };
284495
+ var _abi52 = [
284496
+ {
284497
+ type: "error",
284498
+ name: "IncorrectArrayLengthException",
284499
+ inputs: []
284500
+ },
284501
+ {
284502
+ type: "error",
284503
+ name: "UnderlyingNotAllowedException",
284504
+ inputs: [
284505
+ {
284506
+ name: "asset",
284507
+ type: "address",
284508
+ internalType: "address"
284509
+ }
284510
+ ]
284511
+ },
284512
+ {
284513
+ type: "error",
284514
+ name: "UnderlyingNotFoundException",
284515
+ inputs: [
284516
+ {
284517
+ name: "asset",
284518
+ type: "address",
284519
+ internalType: "address"
284520
+ }
284521
+ ]
284522
+ }
284523
+ ];
284524
+ var IMellowVaultAdapterExceptions__factory = class {
284525
+ static abi = _abi52;
284526
+ static createInterface() {
284527
+ return new Interface(_abi52);
284528
+ }
284529
+ static connect(address, runner) {
284530
+ return new Contract(
284531
+ address,
284532
+ _abi52,
284533
+ runner
284534
+ );
284535
+ }
284536
+ };
284537
+ var IPendleRouter_exports = {};
284538
+ __export2(IPendleRouter_exports, {
284539
+ IPToken__factory: () => IPToken__factory,
284540
+ IPendleMarket__factory: () => IPendleMarket__factory,
284541
+ IPendleRouter__factory: () => IPendleRouter__factory,
284542
+ IYToken__factory: () => IYToken__factory
284543
+ });
284544
+ var _abi53 = [
284545
+ {
284546
+ type: "function",
284547
+ name: "YT",
284548
+ inputs: [],
284549
+ outputs: [
284550
+ {
284551
+ name: "",
284552
+ type: "address",
284553
+ internalType: "address"
284554
+ }
284555
+ ],
284556
+ stateMutability: "view"
284557
+ },
284558
+ {
284559
+ type: "function",
284560
+ name: "expiry",
284561
+ inputs: [],
284562
+ outputs: [
284563
+ {
284564
+ name: "",
284565
+ type: "uint256",
284566
+ internalType: "uint256"
284567
+ }
284568
+ ],
284569
+ stateMutability: "view"
284570
+ }
284571
+ ];
284572
+ var IPToken__factory = class {
284573
+ static abi = _abi53;
284574
+ static createInterface() {
284575
+ return new Interface(_abi53);
284576
+ }
284577
+ static connect(address, runner) {
284578
+ return new Contract(address, _abi53, runner);
284579
+ }
284580
+ };
284581
+ var _abi54 = [
284582
+ {
284583
+ type: "function",
284584
+ name: "readTokens",
284585
+ inputs: [],
284586
+ outputs: [
284587
+ {
284588
+ name: "sy",
284589
+ type: "address",
284590
+ internalType: "address"
284591
+ },
284592
+ {
284593
+ name: "pt",
284594
+ type: "address",
284595
+ internalType: "address"
284596
+ },
284597
+ {
284598
+ name: "yt",
284599
+ type: "address",
284600
+ internalType: "address"
284601
+ }
284602
+ ],
284603
+ stateMutability: "view"
284604
+ }
284605
+ ];
284606
+ var IPendleMarket__factory = class {
284607
+ static abi = _abi54;
284608
+ static createInterface() {
284609
+ return new Interface(_abi54);
284610
+ }
284611
+ static connect(address, runner) {
284612
+ return new Contract(address, _abi54, runner);
284613
+ }
284614
+ };
284615
+ var _abi55 = [
284616
+ {
284617
+ type: "function",
284618
+ name: "redeemPyToToken",
284619
+ inputs: [
284620
+ {
284621
+ name: "receiver",
284622
+ type: "address",
284623
+ internalType: "address"
284624
+ },
284625
+ {
284626
+ name: "YT",
284627
+ type: "address",
284628
+ internalType: "address"
284629
+ },
284630
+ {
284631
+ name: "netPyIn",
284632
+ type: "uint256",
284633
+ internalType: "uint256"
284634
+ },
284635
+ {
284636
+ name: "output",
284637
+ type: "tuple",
284638
+ internalType: "struct TokenOutput",
284639
+ components: [
284640
+ {
284641
+ name: "tokenOut",
284642
+ type: "address",
284643
+ internalType: "address"
284644
+ },
284645
+ {
284646
+ name: "minTokenOut",
284647
+ type: "uint256",
284648
+ internalType: "uint256"
284649
+ },
284650
+ {
284651
+ name: "tokenRedeemSy",
284652
+ type: "address",
284653
+ internalType: "address"
284654
+ },
284655
+ {
284656
+ name: "pendleSwap",
284657
+ type: "address",
284658
+ internalType: "address"
284659
+ },
284660
+ {
284661
+ name: "swapData",
284662
+ type: "tuple",
284663
+ internalType: "struct SwapData",
284664
+ components: [
284665
+ {
284666
+ name: "swapType",
284667
+ type: "uint8",
284668
+ internalType: "enum SwapType"
284669
+ },
284670
+ {
284671
+ name: "extRouter",
284672
+ type: "address",
284673
+ internalType: "address"
284674
+ },
284675
+ {
284676
+ name: "extCalldata",
284677
+ type: "bytes",
284678
+ internalType: "bytes"
284679
+ },
284680
+ {
284681
+ name: "needScale",
284682
+ type: "bool",
284683
+ internalType: "bool"
284684
+ }
284685
+ ]
284686
+ }
284687
+ ]
284688
+ }
284689
+ ],
284690
+ outputs: [
284691
+ {
284692
+ name: "netTokenOut",
284693
+ type: "uint256",
284694
+ internalType: "uint256"
284695
+ },
284696
+ {
284697
+ name: "netSyInterm",
284698
+ type: "uint256",
284699
+ internalType: "uint256"
284700
+ }
284701
+ ],
284702
+ stateMutability: "nonpayable"
284703
+ },
284704
+ {
284705
+ type: "function",
284706
+ name: "swapExactPtForToken",
284707
+ inputs: [
284708
+ {
284709
+ name: "receiver",
284710
+ type: "address",
284711
+ internalType: "address"
284712
+ },
284713
+ {
284714
+ name: "market",
284715
+ type: "address",
284716
+ internalType: "address"
284717
+ },
284718
+ {
284719
+ name: "exactPtIn",
284720
+ type: "uint256",
284721
+ internalType: "uint256"
284722
+ },
284723
+ {
284724
+ name: "output",
284725
+ type: "tuple",
284726
+ internalType: "struct TokenOutput",
284727
+ components: [
284728
+ {
284729
+ name: "tokenOut",
284730
+ type: "address",
284731
+ internalType: "address"
284732
+ },
284733
+ {
284734
+ name: "minTokenOut",
284735
+ type: "uint256",
284736
+ internalType: "uint256"
284737
+ },
284738
+ {
284739
+ name: "tokenRedeemSy",
284740
+ type: "address",
284741
+ internalType: "address"
284742
+ },
284743
+ {
284744
+ name: "pendleSwap",
284745
+ type: "address",
284746
+ internalType: "address"
284747
+ },
284748
+ {
284749
+ name: "swapData",
284750
+ type: "tuple",
284751
+ internalType: "struct SwapData",
284752
+ components: [
284753
+ {
284754
+ name: "swapType",
284755
+ type: "uint8",
284756
+ internalType: "enum SwapType"
284757
+ },
284758
+ {
284759
+ name: "extRouter",
284760
+ type: "address",
284761
+ internalType: "address"
284762
+ },
284763
+ {
284764
+ name: "extCalldata",
284765
+ type: "bytes",
284766
+ internalType: "bytes"
284767
+ },
284768
+ {
284769
+ name: "needScale",
284770
+ type: "bool",
284771
+ internalType: "bool"
284772
+ }
284773
+ ]
284774
+ }
284775
+ ]
284776
+ },
284777
+ {
284778
+ name: "limit",
284779
+ type: "tuple",
284780
+ internalType: "struct LimitOrderData",
284781
+ components: [
284782
+ {
284783
+ name: "limitRouter",
284784
+ type: "address",
284785
+ internalType: "address"
284786
+ },
284787
+ {
284788
+ name: "epsSkipMarket",
284789
+ type: "uint256",
284790
+ internalType: "uint256"
284791
+ },
284792
+ {
284793
+ name: "normalFills",
284794
+ type: "tuple[]",
284795
+ internalType: "struct FillOrderParams[]",
284796
+ components: [
284797
+ {
284798
+ name: "order",
284799
+ type: "tuple",
284800
+ internalType: "struct Order",
284801
+ components: [
284802
+ {
284803
+ name: "salt",
284804
+ type: "uint256",
284805
+ internalType: "uint256"
284806
+ },
284807
+ {
284808
+ name: "expiry",
284809
+ type: "uint256",
284810
+ internalType: "uint256"
284811
+ },
284812
+ {
284813
+ name: "nonce",
284814
+ type: "uint256",
284815
+ internalType: "uint256"
284816
+ },
284817
+ {
284818
+ name: "orderType",
284819
+ type: "uint8",
284820
+ internalType: "enum OrderType"
284821
+ },
284822
+ {
284823
+ name: "token",
284824
+ type: "address",
284825
+ internalType: "address"
284826
+ },
284827
+ {
284828
+ name: "YT",
284829
+ type: "address",
284830
+ internalType: "address"
284831
+ },
284832
+ {
284833
+ name: "maker",
284834
+ type: "address",
284835
+ internalType: "address"
284836
+ },
284837
+ {
284838
+ name: "receiver",
284839
+ type: "address",
284840
+ internalType: "address"
284841
+ },
284842
+ {
284843
+ name: "makingAmount",
284844
+ type: "uint256",
284845
+ internalType: "uint256"
284846
+ },
284847
+ {
284848
+ name: "lnImpliedRate",
284849
+ type: "uint256",
284850
+ internalType: "uint256"
284851
+ },
284852
+ {
284853
+ name: "failSafeRate",
284854
+ type: "uint256",
284855
+ internalType: "uint256"
284856
+ },
284857
+ {
284858
+ name: "permit",
284859
+ type: "bytes",
284860
+ internalType: "bytes"
284861
+ }
284862
+ ]
284863
+ },
284864
+ {
284865
+ name: "signature",
284866
+ type: "bytes",
284867
+ internalType: "bytes"
284868
+ },
284869
+ {
284870
+ name: "makingAmount",
284871
+ type: "uint256",
284872
+ internalType: "uint256"
284873
+ }
284874
+ ]
284875
+ },
284876
+ {
284877
+ name: "flashFills",
284878
+ type: "tuple[]",
284879
+ internalType: "struct FillOrderParams[]",
284880
+ components: [
284881
+ {
284882
+ name: "order",
284883
+ type: "tuple",
284884
+ internalType: "struct Order",
284885
+ components: [
284886
+ {
284887
+ name: "salt",
284888
+ type: "uint256",
284889
+ internalType: "uint256"
284890
+ },
284891
+ {
284892
+ name: "expiry",
284893
+ type: "uint256",
284894
+ internalType: "uint256"
284895
+ },
284896
+ {
284897
+ name: "nonce",
284898
+ type: "uint256",
284899
+ internalType: "uint256"
284900
+ },
284901
+ {
284902
+ name: "orderType",
284903
+ type: "uint8",
284904
+ internalType: "enum OrderType"
284905
+ },
284906
+ {
284907
+ name: "token",
284908
+ type: "address",
284909
+ internalType: "address"
284910
+ },
284911
+ {
284912
+ name: "YT",
284913
+ type: "address",
284914
+ internalType: "address"
284915
+ },
284916
+ {
284917
+ name: "maker",
284918
+ type: "address",
284919
+ internalType: "address"
284920
+ },
284921
+ {
284922
+ name: "receiver",
284923
+ type: "address",
284924
+ internalType: "address"
284925
+ },
284926
+ {
284927
+ name: "makingAmount",
284928
+ type: "uint256",
284929
+ internalType: "uint256"
284930
+ },
284931
+ {
284932
+ name: "lnImpliedRate",
284933
+ type: "uint256",
284934
+ internalType: "uint256"
284935
+ },
284936
+ {
284937
+ name: "failSafeRate",
284938
+ type: "uint256",
284939
+ internalType: "uint256"
284940
+ },
284941
+ {
284942
+ name: "permit",
284943
+ type: "bytes",
284944
+ internalType: "bytes"
284945
+ }
284946
+ ]
284947
+ },
284948
+ {
284949
+ name: "signature",
284950
+ type: "bytes",
284951
+ internalType: "bytes"
284952
+ },
284953
+ {
284954
+ name: "makingAmount",
284955
+ type: "uint256",
284956
+ internalType: "uint256"
284957
+ }
284958
+ ]
284959
+ },
284960
+ {
284961
+ name: "optData",
284962
+ type: "bytes",
284963
+ internalType: "bytes"
284964
+ }
284965
+ ]
284966
+ }
284967
+ ],
284968
+ outputs: [
284969
+ {
284970
+ name: "netTokenOut",
284971
+ type: "uint256",
284972
+ internalType: "uint256"
284973
+ },
284974
+ {
284975
+ name: "netSyFee",
284976
+ type: "uint256",
284977
+ internalType: "uint256"
284978
+ },
284979
+ {
284980
+ name: "netSyInterm",
284981
+ type: "uint256",
284982
+ internalType: "uint256"
284983
+ }
284984
+ ],
284985
+ stateMutability: "nonpayable"
284986
+ },
284987
+ {
284988
+ type: "function",
284989
+ name: "swapExactTokenForPt",
284990
+ inputs: [
284991
+ {
284992
+ name: "receiver",
284993
+ type: "address",
284994
+ internalType: "address"
284995
+ },
284996
+ {
284997
+ name: "market",
284998
+ type: "address",
284999
+ internalType: "address"
285000
+ },
285001
+ {
285002
+ name: "minPtOut",
285003
+ type: "uint256",
285004
+ internalType: "uint256"
285005
+ },
285006
+ {
285007
+ name: "guessPtOut",
285008
+ type: "tuple",
285009
+ internalType: "struct ApproxParams",
285010
+ components: [
285011
+ {
285012
+ name: "guessMin",
285013
+ type: "uint256",
285014
+ internalType: "uint256"
285015
+ },
285016
+ {
285017
+ name: "guessMax",
285018
+ type: "uint256",
285019
+ internalType: "uint256"
285020
+ },
285021
+ {
285022
+ name: "guessOffchain",
285023
+ type: "uint256",
285024
+ internalType: "uint256"
285025
+ },
285026
+ {
285027
+ name: "maxIteration",
285028
+ type: "uint256",
285029
+ internalType: "uint256"
285030
+ },
285031
+ {
285032
+ name: "eps",
285033
+ type: "uint256",
285034
+ internalType: "uint256"
285035
+ }
285036
+ ]
285037
+ },
285038
+ {
285039
+ name: "input",
285040
+ type: "tuple",
285041
+ internalType: "struct TokenInput",
285042
+ components: [
285043
+ {
285044
+ name: "tokenIn",
285045
+ type: "address",
285046
+ internalType: "address"
285047
+ },
285048
+ {
285049
+ name: "netTokenIn",
285050
+ type: "uint256",
285051
+ internalType: "uint256"
285052
+ },
285053
+ {
285054
+ name: "tokenMintSy",
285055
+ type: "address",
285056
+ internalType: "address"
285057
+ },
285058
+ {
285059
+ name: "pendleSwap",
285060
+ type: "address",
285061
+ internalType: "address"
285062
+ },
285063
+ {
285064
+ name: "swapData",
285065
+ type: "tuple",
285066
+ internalType: "struct SwapData",
285067
+ components: [
285068
+ {
285069
+ name: "swapType",
285070
+ type: "uint8",
285071
+ internalType: "enum SwapType"
285072
+ },
285073
+ {
285074
+ name: "extRouter",
285075
+ type: "address",
285076
+ internalType: "address"
285077
+ },
285078
+ {
285079
+ name: "extCalldata",
285080
+ type: "bytes",
285081
+ internalType: "bytes"
285082
+ },
285083
+ {
285084
+ name: "needScale",
285085
+ type: "bool",
285086
+ internalType: "bool"
285087
+ }
285088
+ ]
285089
+ }
285090
+ ]
285091
+ },
285092
+ {
285093
+ name: "limit",
285094
+ type: "tuple",
285095
+ internalType: "struct LimitOrderData",
285096
+ components: [
285097
+ {
285098
+ name: "limitRouter",
285099
+ type: "address",
285100
+ internalType: "address"
285101
+ },
285102
+ {
285103
+ name: "epsSkipMarket",
285104
+ type: "uint256",
285105
+ internalType: "uint256"
285106
+ },
285107
+ {
285108
+ name: "normalFills",
285109
+ type: "tuple[]",
285110
+ internalType: "struct FillOrderParams[]",
285111
+ components: [
285112
+ {
285113
+ name: "order",
285114
+ type: "tuple",
285115
+ internalType: "struct Order",
285116
+ components: [
285117
+ {
285118
+ name: "salt",
285119
+ type: "uint256",
285120
+ internalType: "uint256"
285121
+ },
285122
+ {
285123
+ name: "expiry",
285124
+ type: "uint256",
285125
+ internalType: "uint256"
285126
+ },
285127
+ {
285128
+ name: "nonce",
285129
+ type: "uint256",
285130
+ internalType: "uint256"
285131
+ },
285132
+ {
285133
+ name: "orderType",
285134
+ type: "uint8",
285135
+ internalType: "enum OrderType"
285136
+ },
285137
+ {
285138
+ name: "token",
285139
+ type: "address",
285140
+ internalType: "address"
285141
+ },
285142
+ {
285143
+ name: "YT",
285144
+ type: "address",
285145
+ internalType: "address"
285146
+ },
285147
+ {
285148
+ name: "maker",
285149
+ type: "address",
285150
+ internalType: "address"
285151
+ },
285152
+ {
285153
+ name: "receiver",
285154
+ type: "address",
285155
+ internalType: "address"
285156
+ },
285157
+ {
285158
+ name: "makingAmount",
285159
+ type: "uint256",
285160
+ internalType: "uint256"
285161
+ },
285162
+ {
285163
+ name: "lnImpliedRate",
285164
+ type: "uint256",
285165
+ internalType: "uint256"
285166
+ },
285167
+ {
285168
+ name: "failSafeRate",
285169
+ type: "uint256",
285170
+ internalType: "uint256"
285171
+ },
285172
+ {
285173
+ name: "permit",
285174
+ type: "bytes",
285175
+ internalType: "bytes"
285176
+ }
285177
+ ]
285178
+ },
285179
+ {
285180
+ name: "signature",
285181
+ type: "bytes",
285182
+ internalType: "bytes"
285183
+ },
285184
+ {
285185
+ name: "makingAmount",
285186
+ type: "uint256",
285187
+ internalType: "uint256"
285188
+ }
285189
+ ]
285190
+ },
285191
+ {
285192
+ name: "flashFills",
285193
+ type: "tuple[]",
285194
+ internalType: "struct FillOrderParams[]",
285195
+ components: [
285196
+ {
285197
+ name: "order",
285198
+ type: "tuple",
285199
+ internalType: "struct Order",
285200
+ components: [
285201
+ {
285202
+ name: "salt",
285203
+ type: "uint256",
285204
+ internalType: "uint256"
285205
+ },
285206
+ {
285207
+ name: "expiry",
285208
+ type: "uint256",
285209
+ internalType: "uint256"
285210
+ },
285211
+ {
285212
+ name: "nonce",
285213
+ type: "uint256",
285214
+ internalType: "uint256"
285215
+ },
285216
+ {
285217
+ name: "orderType",
285218
+ type: "uint8",
285219
+ internalType: "enum OrderType"
285220
+ },
285221
+ {
285222
+ name: "token",
285223
+ type: "address",
285224
+ internalType: "address"
285225
+ },
285226
+ {
285227
+ name: "YT",
285228
+ type: "address",
285229
+ internalType: "address"
285230
+ },
285231
+ {
285232
+ name: "maker",
285233
+ type: "address",
285234
+ internalType: "address"
285235
+ },
285236
+ {
285237
+ name: "receiver",
285238
+ type: "address",
285239
+ internalType: "address"
285240
+ },
285241
+ {
285242
+ name: "makingAmount",
285243
+ type: "uint256",
285244
+ internalType: "uint256"
285245
+ },
285246
+ {
285247
+ name: "lnImpliedRate",
285248
+ type: "uint256",
285249
+ internalType: "uint256"
285250
+ },
285251
+ {
285252
+ name: "failSafeRate",
285253
+ type: "uint256",
285254
+ internalType: "uint256"
285255
+ },
285256
+ {
285257
+ name: "permit",
285258
+ type: "bytes",
285259
+ internalType: "bytes"
285260
+ }
285261
+ ]
285262
+ },
285263
+ {
285264
+ name: "signature",
285265
+ type: "bytes",
285266
+ internalType: "bytes"
285267
+ },
285268
+ {
285269
+ name: "makingAmount",
285270
+ type: "uint256",
285271
+ internalType: "uint256"
285272
+ }
285273
+ ]
285274
+ },
285275
+ {
285276
+ name: "optData",
285277
+ type: "bytes",
285278
+ internalType: "bytes"
285279
+ }
285280
+ ]
285281
+ }
285282
+ ],
285283
+ outputs: [
285284
+ {
285285
+ name: "netPtOut",
285286
+ type: "uint256",
285287
+ internalType: "uint256"
285288
+ },
285289
+ {
285290
+ name: "netSyFee",
285291
+ type: "uint256",
285292
+ internalType: "uint256"
285293
+ },
285294
+ {
285295
+ name: "netSyInterm",
285296
+ type: "uint256",
285297
+ internalType: "uint256"
285298
+ }
285299
+ ],
285300
+ stateMutability: "payable"
285301
+ }
285302
+ ];
285303
+ var IPendleRouter__factory = class {
285304
+ static abi = _abi55;
285305
+ static createInterface() {
285306
+ return new Interface(_abi55);
285307
+ }
285308
+ static connect(address, runner) {
285309
+ return new Contract(address, _abi55, runner);
285310
+ }
285311
+ };
285312
+ var _abi56 = [
285313
+ {
285314
+ type: "function",
285315
+ name: "PT",
285316
+ inputs: [],
285317
+ outputs: [
285318
+ {
285319
+ name: "",
285320
+ type: "address",
285321
+ internalType: "address"
285322
+ }
285323
+ ],
285324
+ stateMutability: "view"
285325
+ },
285326
+ {
285327
+ type: "function",
285328
+ name: "expiry",
285329
+ inputs: [],
285330
+ outputs: [
285331
+ {
285332
+ name: "",
285333
+ type: "uint256",
285334
+ internalType: "uint256"
285335
+ }
285336
+ ],
285337
+ stateMutability: "view"
285338
+ }
285339
+ ];
285340
+ var IYToken__factory = class {
285341
+ static abi = _abi56;
285342
+ static createInterface() {
285343
+ return new Interface(_abi56);
285344
+ }
285345
+ static connect(address, runner) {
285346
+ return new Contract(address, _abi56, runner);
285347
+ }
285348
+ };
285349
+ var IPendleRouterAdapter_exports = {};
285350
+ __export2(IPendleRouterAdapter_exports, {
285351
+ IPendleRouterAdapterEvents__factory: () => IPendleRouterAdapterEvents__factory,
285352
+ IPendleRouterAdapterExceptions__factory: () => IPendleRouterAdapterExceptions__factory,
285353
+ IPendleRouterAdapter__factory: () => IPendleRouterAdapter__factory
285354
+ });
285355
+ var _abi57 = [
285356
+ {
285357
+ type: "function",
285358
+ name: "_gearboxAdapterType",
285359
+ inputs: [],
285360
+ outputs: [
285361
+ {
285362
+ name: "",
285363
+ type: "uint8",
285364
+ internalType: "enum AdapterType"
285365
+ }
285366
+ ],
285367
+ stateMutability: "view"
285368
+ },
285369
+ {
285370
+ type: "function",
285371
+ name: "_gearboxAdapterVersion",
285372
+ inputs: [],
285373
+ outputs: [
285374
+ {
285375
+ name: "",
285376
+ type: "uint16",
285377
+ internalType: "uint16"
285378
+ }
285379
+ ],
285380
+ stateMutability: "view"
285381
+ },
285382
+ {
285383
+ type: "function",
285384
+ name: "addressProvider",
285385
+ inputs: [],
285386
+ outputs: [
285387
+ {
285388
+ name: "",
285389
+ type: "address",
285390
+ internalType: "address"
285391
+ }
285392
+ ],
285393
+ stateMutability: "view"
285394
+ },
285395
+ {
285396
+ type: "function",
285397
+ name: "creditManager",
285398
+ inputs: [],
285399
+ outputs: [
285400
+ {
285401
+ name: "",
285402
+ type: "address",
285403
+ internalType: "address"
285404
+ }
285405
+ ],
285406
+ stateMutability: "view"
285407
+ },
285408
+ {
285409
+ type: "function",
285410
+ name: "getAllowedPairs",
285411
+ inputs: [],
285412
+ outputs: [
285413
+ {
285414
+ name: "pairs",
285415
+ type: "tuple[]",
285416
+ internalType: "struct PendlePairStatus[]",
285417
+ components: [
285418
+ {
285419
+ name: "market",
285420
+ type: "address",
285421
+ internalType: "address"
285422
+ },
285423
+ {
285424
+ name: "inputToken",
285425
+ type: "address",
285426
+ internalType: "address"
285427
+ },
285428
+ {
285429
+ name: "pendleToken",
285430
+ type: "address",
285431
+ internalType: "address"
285432
+ },
285433
+ {
285434
+ name: "status",
285435
+ type: "uint8",
285436
+ internalType: "enum PendleStatus"
285437
+ }
285438
+ ]
285439
+ }
285440
+ ],
285441
+ stateMutability: "view"
285442
+ },
285443
+ {
285444
+ type: "function",
285445
+ name: "isPairAllowed",
285446
+ inputs: [
285447
+ {
285448
+ name: "market",
285449
+ type: "address",
285450
+ internalType: "address"
285451
+ },
285452
+ {
285453
+ name: "inputToken",
285454
+ type: "address",
285455
+ internalType: "address"
285456
+ },
285457
+ {
285458
+ name: "pendleToken",
285459
+ type: "address",
285460
+ internalType: "address"
285461
+ }
285462
+ ],
285463
+ outputs: [
285464
+ {
285465
+ name: "status",
285466
+ type: "uint8",
285467
+ internalType: "enum PendleStatus"
285468
+ }
285469
+ ],
285470
+ stateMutability: "view"
285471
+ },
285472
+ {
285473
+ type: "function",
285474
+ name: "ptToMarket",
285475
+ inputs: [
285476
+ {
285477
+ name: "pt",
285478
+ type: "address",
285479
+ internalType: "address"
285480
+ }
285481
+ ],
285482
+ outputs: [
285483
+ {
285484
+ name: "market",
285485
+ type: "address",
285486
+ internalType: "address"
285487
+ }
285488
+ ],
285489
+ stateMutability: "view"
285490
+ },
285491
+ {
285492
+ type: "function",
285493
+ name: "redeemDiffPyToToken",
285494
+ inputs: [
285495
+ {
285496
+ name: "yt",
285497
+ type: "address",
285498
+ internalType: "address"
285499
+ },
285500
+ {
285501
+ name: "leftoverPt",
285502
+ type: "uint256",
285503
+ internalType: "uint256"
285504
+ },
285505
+ {
285506
+ name: "output",
285507
+ type: "tuple",
285508
+ internalType: "struct TokenDiffOutput",
285509
+ components: [
285510
+ {
285511
+ name: "tokenOut",
285512
+ type: "address",
285513
+ internalType: "address"
285514
+ },
285515
+ {
285516
+ name: "minRateRAY",
285517
+ type: "uint256",
285518
+ internalType: "uint256"
285519
+ }
285520
+ ]
285521
+ }
285522
+ ],
285523
+ outputs: [
285524
+ {
285525
+ name: "tokensToEnable",
285526
+ type: "uint256",
285527
+ internalType: "uint256"
285528
+ },
285529
+ {
285530
+ name: "tokensToDisable",
285531
+ type: "uint256",
285532
+ internalType: "uint256"
285533
+ }
285534
+ ],
285535
+ stateMutability: "nonpayable"
285536
+ },
285537
+ {
285538
+ type: "function",
285539
+ name: "redeemPyToToken",
285540
+ inputs: [
285541
+ {
285542
+ name: "receiver",
285543
+ type: "address",
285544
+ internalType: "address"
285545
+ },
285546
+ {
285547
+ name: "yt",
285548
+ type: "address",
285549
+ internalType: "address"
285550
+ },
285551
+ {
285552
+ name: "netPyIn",
285553
+ type: "uint256",
285554
+ internalType: "uint256"
285555
+ },
285556
+ {
285557
+ name: "output",
285558
+ type: "tuple",
285559
+ internalType: "struct TokenOutput",
285560
+ components: [
285561
+ {
285562
+ name: "tokenOut",
285563
+ type: "address",
285564
+ internalType: "address"
285565
+ },
285566
+ {
285567
+ name: "minTokenOut",
285568
+ type: "uint256",
285569
+ internalType: "uint256"
285570
+ },
285571
+ {
285572
+ name: "tokenRedeemSy",
285573
+ type: "address",
285574
+ internalType: "address"
285575
+ },
285576
+ {
285577
+ name: "pendleSwap",
285578
+ type: "address",
285579
+ internalType: "address"
285580
+ },
285581
+ {
285582
+ name: "swapData",
285583
+ type: "tuple",
285584
+ internalType: "struct SwapData",
285585
+ components: [
285586
+ {
285587
+ name: "swapType",
285588
+ type: "uint8",
285589
+ internalType: "enum SwapType"
285590
+ },
285591
+ {
285592
+ name: "extRouter",
285593
+ type: "address",
285594
+ internalType: "address"
285595
+ },
285596
+ {
285597
+ name: "extCalldata",
285598
+ type: "bytes",
285599
+ internalType: "bytes"
285600
+ },
285601
+ {
285602
+ name: "needScale",
285603
+ type: "bool",
285604
+ internalType: "bool"
285605
+ }
285606
+ ]
285607
+ }
285608
+ ]
285609
+ }
285610
+ ],
285611
+ outputs: [
285612
+ {
285613
+ name: "tokensToEnable",
285614
+ type: "uint256",
285615
+ internalType: "uint256"
285616
+ },
285617
+ {
285618
+ name: "tokensToDisable",
285619
+ type: "uint256",
285620
+ internalType: "uint256"
285621
+ }
285622
+ ],
285623
+ stateMutability: "nonpayable"
285624
+ },
285625
+ {
285626
+ type: "function",
285627
+ name: "setPairStatusBatch",
285628
+ inputs: [
285629
+ {
285630
+ name: "pairs",
285631
+ type: "tuple[]",
285632
+ internalType: "struct PendlePairStatus[]",
285633
+ components: [
285634
+ {
285635
+ name: "market",
285636
+ type: "address",
285637
+ internalType: "address"
285638
+ },
285639
+ {
285640
+ name: "inputToken",
285641
+ type: "address",
285642
+ internalType: "address"
285643
+ },
285644
+ {
285645
+ name: "pendleToken",
285646
+ type: "address",
285647
+ internalType: "address"
285648
+ },
285649
+ {
285650
+ name: "status",
285651
+ type: "uint8",
285652
+ internalType: "enum PendleStatus"
285653
+ }
285654
+ ]
285655
+ }
285656
+ ],
285657
+ outputs: [],
285658
+ stateMutability: "nonpayable"
285659
+ },
285660
+ {
285661
+ type: "function",
285662
+ name: "swapDiffPtForToken",
285663
+ inputs: [
285664
+ {
285665
+ name: "market",
285666
+ type: "address",
285667
+ internalType: "address"
285668
+ },
285669
+ {
285670
+ name: "leftoverPt",
285671
+ type: "uint256",
285672
+ internalType: "uint256"
285673
+ },
285674
+ {
285675
+ name: "diffOutput",
285676
+ type: "tuple",
285677
+ internalType: "struct TokenDiffOutput",
285678
+ components: [
285679
+ {
285680
+ name: "tokenOut",
285681
+ type: "address",
285682
+ internalType: "address"
285683
+ },
285684
+ {
285685
+ name: "minRateRAY",
285686
+ type: "uint256",
285687
+ internalType: "uint256"
285688
+ }
285689
+ ]
285690
+ }
285691
+ ],
285692
+ outputs: [
285693
+ {
285694
+ name: "tokensToEnable",
285695
+ type: "uint256",
285696
+ internalType: "uint256"
285697
+ },
285698
+ {
285699
+ name: "tokensToDisable",
285700
+ type: "uint256",
285701
+ internalType: "uint256"
285702
+ }
285703
+ ],
285704
+ stateMutability: "nonpayable"
285705
+ },
285706
+ {
285707
+ type: "function",
285708
+ name: "swapDiffTokenForPt",
285709
+ inputs: [
285710
+ {
285711
+ name: "market",
285712
+ type: "address",
285713
+ internalType: "address"
285714
+ },
285715
+ {
285716
+ name: "minRateRAY",
285717
+ type: "uint256",
285718
+ internalType: "uint256"
285719
+ },
285720
+ {
285721
+ name: "guessPtOut",
285722
+ type: "tuple",
285723
+ internalType: "struct ApproxParams",
285724
+ components: [
285725
+ {
285726
+ name: "guessMin",
285727
+ type: "uint256",
285728
+ internalType: "uint256"
285729
+ },
285730
+ {
285731
+ name: "guessMax",
285732
+ type: "uint256",
285733
+ internalType: "uint256"
285734
+ },
285735
+ {
285736
+ name: "guessOffchain",
285737
+ type: "uint256",
285738
+ internalType: "uint256"
285739
+ },
285740
+ {
285741
+ name: "maxIteration",
285742
+ type: "uint256",
285743
+ internalType: "uint256"
285744
+ },
285745
+ {
285746
+ name: "eps",
285747
+ type: "uint256",
285748
+ internalType: "uint256"
285749
+ }
285750
+ ]
285751
+ },
285752
+ {
285753
+ name: "diffInput",
285754
+ type: "tuple",
285755
+ internalType: "struct TokenDiffInput",
285756
+ components: [
285757
+ {
285758
+ name: "tokenIn",
285759
+ type: "address",
285760
+ internalType: "address"
285761
+ },
285762
+ {
285763
+ name: "leftoverTokenIn",
285764
+ type: "uint256",
285765
+ internalType: "uint256"
285766
+ }
285767
+ ]
285768
+ }
285769
+ ],
285770
+ outputs: [
285771
+ {
285772
+ name: "tokensToEnable",
285773
+ type: "uint256",
285774
+ internalType: "uint256"
285775
+ },
285776
+ {
285777
+ name: "tokensToDisable",
285778
+ type: "uint256",
285779
+ internalType: "uint256"
285780
+ }
285781
+ ],
285782
+ stateMutability: "nonpayable"
285783
+ },
285784
+ {
285785
+ type: "function",
285786
+ name: "swapExactPtForToken",
285787
+ inputs: [
285788
+ {
285789
+ name: "receiver",
285790
+ type: "address",
285791
+ internalType: "address"
285792
+ },
285793
+ {
285794
+ name: "market",
285795
+ type: "address",
285796
+ internalType: "address"
285797
+ },
285798
+ {
285799
+ name: "exactPtIn",
285800
+ type: "uint256",
285801
+ internalType: "uint256"
285802
+ },
285803
+ {
285804
+ name: "output",
285805
+ type: "tuple",
285806
+ internalType: "struct TokenOutput",
285807
+ components: [
285808
+ {
285809
+ name: "tokenOut",
285810
+ type: "address",
285811
+ internalType: "address"
285812
+ },
285813
+ {
285814
+ name: "minTokenOut",
285815
+ type: "uint256",
285816
+ internalType: "uint256"
285817
+ },
285818
+ {
285819
+ name: "tokenRedeemSy",
285820
+ type: "address",
285821
+ internalType: "address"
285822
+ },
285823
+ {
285824
+ name: "pendleSwap",
285825
+ type: "address",
285826
+ internalType: "address"
285827
+ },
285828
+ {
285829
+ name: "swapData",
285830
+ type: "tuple",
285831
+ internalType: "struct SwapData",
285832
+ components: [
285833
+ {
285834
+ name: "swapType",
285835
+ type: "uint8",
285836
+ internalType: "enum SwapType"
285837
+ },
285838
+ {
285839
+ name: "extRouter",
285840
+ type: "address",
285841
+ internalType: "address"
285842
+ },
285843
+ {
285844
+ name: "extCalldata",
285845
+ type: "bytes",
285846
+ internalType: "bytes"
285847
+ },
285848
+ {
285849
+ name: "needScale",
285850
+ type: "bool",
285851
+ internalType: "bool"
285852
+ }
285853
+ ]
285854
+ }
285855
+ ]
285856
+ },
285857
+ {
285858
+ name: "limit",
285859
+ type: "tuple",
285860
+ internalType: "struct LimitOrderData",
285861
+ components: [
285862
+ {
285863
+ name: "limitRouter",
285864
+ type: "address",
285865
+ internalType: "address"
285866
+ },
285867
+ {
285868
+ name: "epsSkipMarket",
285869
+ type: "uint256",
285870
+ internalType: "uint256"
285871
+ },
285872
+ {
285873
+ name: "normalFills",
285874
+ type: "tuple[]",
285875
+ internalType: "struct FillOrderParams[]",
285876
+ components: [
285877
+ {
285878
+ name: "order",
285879
+ type: "tuple",
285880
+ internalType: "struct Order",
285881
+ components: [
285882
+ {
285883
+ name: "salt",
285884
+ type: "uint256",
285885
+ internalType: "uint256"
285886
+ },
285887
+ {
285888
+ name: "expiry",
285889
+ type: "uint256",
285890
+ internalType: "uint256"
285891
+ },
285892
+ {
285893
+ name: "nonce",
285894
+ type: "uint256",
285895
+ internalType: "uint256"
285896
+ },
285897
+ {
285898
+ name: "orderType",
285899
+ type: "uint8",
285900
+ internalType: "enum OrderType"
285901
+ },
285902
+ {
285903
+ name: "token",
285904
+ type: "address",
285905
+ internalType: "address"
285906
+ },
285907
+ {
285908
+ name: "YT",
285909
+ type: "address",
285910
+ internalType: "address"
285911
+ },
285912
+ {
285913
+ name: "maker",
285914
+ type: "address",
285915
+ internalType: "address"
285916
+ },
285917
+ {
285918
+ name: "receiver",
285919
+ type: "address",
285920
+ internalType: "address"
285921
+ },
285922
+ {
285923
+ name: "makingAmount",
285924
+ type: "uint256",
285925
+ internalType: "uint256"
285926
+ },
285927
+ {
285928
+ name: "lnImpliedRate",
285929
+ type: "uint256",
285930
+ internalType: "uint256"
285931
+ },
285932
+ {
285933
+ name: "failSafeRate",
285934
+ type: "uint256",
285935
+ internalType: "uint256"
285936
+ },
285937
+ {
285938
+ name: "permit",
285939
+ type: "bytes",
285940
+ internalType: "bytes"
285941
+ }
285942
+ ]
285943
+ },
285944
+ {
285945
+ name: "signature",
285946
+ type: "bytes",
285947
+ internalType: "bytes"
285948
+ },
285949
+ {
285950
+ name: "makingAmount",
285951
+ type: "uint256",
285952
+ internalType: "uint256"
285953
+ }
285954
+ ]
285955
+ },
285956
+ {
285957
+ name: "flashFills",
285958
+ type: "tuple[]",
285959
+ internalType: "struct FillOrderParams[]",
285960
+ components: [
285961
+ {
285962
+ name: "order",
285963
+ type: "tuple",
285964
+ internalType: "struct Order",
285965
+ components: [
285966
+ {
285967
+ name: "salt",
285968
+ type: "uint256",
285969
+ internalType: "uint256"
285970
+ },
285971
+ {
285972
+ name: "expiry",
285973
+ type: "uint256",
285974
+ internalType: "uint256"
285975
+ },
285976
+ {
285977
+ name: "nonce",
285978
+ type: "uint256",
285979
+ internalType: "uint256"
285980
+ },
285981
+ {
285982
+ name: "orderType",
285983
+ type: "uint8",
285984
+ internalType: "enum OrderType"
285985
+ },
285986
+ {
285987
+ name: "token",
285988
+ type: "address",
285989
+ internalType: "address"
285990
+ },
285991
+ {
285992
+ name: "YT",
285993
+ type: "address",
285994
+ internalType: "address"
285995
+ },
285996
+ {
285997
+ name: "maker",
285998
+ type: "address",
285999
+ internalType: "address"
286000
+ },
286001
+ {
286002
+ name: "receiver",
286003
+ type: "address",
286004
+ internalType: "address"
286005
+ },
286006
+ {
286007
+ name: "makingAmount",
286008
+ type: "uint256",
286009
+ internalType: "uint256"
286010
+ },
286011
+ {
286012
+ name: "lnImpliedRate",
286013
+ type: "uint256",
286014
+ internalType: "uint256"
286015
+ },
286016
+ {
286017
+ name: "failSafeRate",
286018
+ type: "uint256",
286019
+ internalType: "uint256"
286020
+ },
286021
+ {
286022
+ name: "permit",
286023
+ type: "bytes",
286024
+ internalType: "bytes"
286025
+ }
286026
+ ]
286027
+ },
286028
+ {
286029
+ name: "signature",
286030
+ type: "bytes",
286031
+ internalType: "bytes"
286032
+ },
286033
+ {
286034
+ name: "makingAmount",
286035
+ type: "uint256",
286036
+ internalType: "uint256"
286037
+ }
286038
+ ]
286039
+ },
286040
+ {
286041
+ name: "optData",
286042
+ type: "bytes",
286043
+ internalType: "bytes"
286044
+ }
286045
+ ]
286046
+ }
286047
+ ],
286048
+ outputs: [
286049
+ {
286050
+ name: "tokensToEnable",
286051
+ type: "uint256",
286052
+ internalType: "uint256"
286053
+ },
286054
+ {
286055
+ name: "tokensToDisable",
286056
+ type: "uint256",
286057
+ internalType: "uint256"
286058
+ }
286059
+ ],
286060
+ stateMutability: "nonpayable"
286061
+ },
286062
+ {
286063
+ type: "function",
286064
+ name: "swapExactTokenForPt",
286065
+ inputs: [
286066
+ {
286067
+ name: "receiver",
286068
+ type: "address",
286069
+ internalType: "address"
286070
+ },
286071
+ {
286072
+ name: "market",
286073
+ type: "address",
286074
+ internalType: "address"
286075
+ },
286076
+ {
286077
+ name: "minPtOut",
286078
+ type: "uint256",
286079
+ internalType: "uint256"
286080
+ },
286081
+ {
286082
+ name: "guessPtOut",
286083
+ type: "tuple",
286084
+ internalType: "struct ApproxParams",
286085
+ components: [
286086
+ {
286087
+ name: "guessMin",
286088
+ type: "uint256",
286089
+ internalType: "uint256"
286090
+ },
286091
+ {
286092
+ name: "guessMax",
286093
+ type: "uint256",
286094
+ internalType: "uint256"
286095
+ },
286096
+ {
286097
+ name: "guessOffchain",
286098
+ type: "uint256",
286099
+ internalType: "uint256"
286100
+ },
286101
+ {
286102
+ name: "maxIteration",
286103
+ type: "uint256",
286104
+ internalType: "uint256"
286105
+ },
286106
+ {
286107
+ name: "eps",
286108
+ type: "uint256",
286109
+ internalType: "uint256"
286110
+ }
286111
+ ]
286112
+ },
286113
+ {
286114
+ name: "input",
286115
+ type: "tuple",
286116
+ internalType: "struct TokenInput",
286117
+ components: [
286118
+ {
286119
+ name: "tokenIn",
286120
+ type: "address",
286121
+ internalType: "address"
286122
+ },
286123
+ {
286124
+ name: "netTokenIn",
286125
+ type: "uint256",
286126
+ internalType: "uint256"
286127
+ },
286128
+ {
286129
+ name: "tokenMintSy",
286130
+ type: "address",
286131
+ internalType: "address"
286132
+ },
286133
+ {
286134
+ name: "pendleSwap",
286135
+ type: "address",
286136
+ internalType: "address"
286137
+ },
286138
+ {
286139
+ name: "swapData",
286140
+ type: "tuple",
286141
+ internalType: "struct SwapData",
286142
+ components: [
286143
+ {
286144
+ name: "swapType",
286145
+ type: "uint8",
286146
+ internalType: "enum SwapType"
286147
+ },
286148
+ {
286149
+ name: "extRouter",
286150
+ type: "address",
286151
+ internalType: "address"
286152
+ },
286153
+ {
286154
+ name: "extCalldata",
286155
+ type: "bytes",
286156
+ internalType: "bytes"
286157
+ },
286158
+ {
286159
+ name: "needScale",
286160
+ type: "bool",
286161
+ internalType: "bool"
286162
+ }
286163
+ ]
286164
+ }
286165
+ ]
286166
+ },
286167
+ {
286168
+ name: "limit",
286169
+ type: "tuple",
286170
+ internalType: "struct LimitOrderData",
286171
+ components: [
286172
+ {
286173
+ name: "limitRouter",
286174
+ type: "address",
286175
+ internalType: "address"
286176
+ },
286177
+ {
286178
+ name: "epsSkipMarket",
286179
+ type: "uint256",
286180
+ internalType: "uint256"
286181
+ },
286182
+ {
286183
+ name: "normalFills",
286184
+ type: "tuple[]",
286185
+ internalType: "struct FillOrderParams[]",
286186
+ components: [
286187
+ {
286188
+ name: "order",
286189
+ type: "tuple",
286190
+ internalType: "struct Order",
286191
+ components: [
286192
+ {
286193
+ name: "salt",
286194
+ type: "uint256",
286195
+ internalType: "uint256"
286196
+ },
286197
+ {
286198
+ name: "expiry",
286199
+ type: "uint256",
286200
+ internalType: "uint256"
286201
+ },
286202
+ {
286203
+ name: "nonce",
286204
+ type: "uint256",
286205
+ internalType: "uint256"
286206
+ },
286207
+ {
286208
+ name: "orderType",
286209
+ type: "uint8",
286210
+ internalType: "enum OrderType"
286211
+ },
286212
+ {
286213
+ name: "token",
286214
+ type: "address",
286215
+ internalType: "address"
286216
+ },
286217
+ {
286218
+ name: "YT",
286219
+ type: "address",
286220
+ internalType: "address"
286221
+ },
286222
+ {
286223
+ name: "maker",
286224
+ type: "address",
286225
+ internalType: "address"
286226
+ },
286227
+ {
286228
+ name: "receiver",
286229
+ type: "address",
286230
+ internalType: "address"
286231
+ },
286232
+ {
286233
+ name: "makingAmount",
286234
+ type: "uint256",
286235
+ internalType: "uint256"
286236
+ },
286237
+ {
286238
+ name: "lnImpliedRate",
286239
+ type: "uint256",
286240
+ internalType: "uint256"
286241
+ },
286242
+ {
286243
+ name: "failSafeRate",
286244
+ type: "uint256",
286245
+ internalType: "uint256"
286246
+ },
286247
+ {
286248
+ name: "permit",
286249
+ type: "bytes",
286250
+ internalType: "bytes"
286251
+ }
286252
+ ]
286253
+ },
286254
+ {
286255
+ name: "signature",
286256
+ type: "bytes",
286257
+ internalType: "bytes"
286258
+ },
286259
+ {
286260
+ name: "makingAmount",
286261
+ type: "uint256",
286262
+ internalType: "uint256"
286263
+ }
286264
+ ]
286265
+ },
286266
+ {
286267
+ name: "flashFills",
286268
+ type: "tuple[]",
286269
+ internalType: "struct FillOrderParams[]",
286270
+ components: [
286271
+ {
286272
+ name: "order",
286273
+ type: "tuple",
286274
+ internalType: "struct Order",
286275
+ components: [
286276
+ {
286277
+ name: "salt",
286278
+ type: "uint256",
286279
+ internalType: "uint256"
286280
+ },
286281
+ {
286282
+ name: "expiry",
286283
+ type: "uint256",
286284
+ internalType: "uint256"
286285
+ },
286286
+ {
286287
+ name: "nonce",
286288
+ type: "uint256",
286289
+ internalType: "uint256"
286290
+ },
286291
+ {
286292
+ name: "orderType",
286293
+ type: "uint8",
286294
+ internalType: "enum OrderType"
286295
+ },
286296
+ {
286297
+ name: "token",
286298
+ type: "address",
286299
+ internalType: "address"
286300
+ },
286301
+ {
286302
+ name: "YT",
286303
+ type: "address",
286304
+ internalType: "address"
286305
+ },
286306
+ {
286307
+ name: "maker",
286308
+ type: "address",
286309
+ internalType: "address"
286310
+ },
286311
+ {
286312
+ name: "receiver",
286313
+ type: "address",
286314
+ internalType: "address"
286315
+ },
286316
+ {
286317
+ name: "makingAmount",
286318
+ type: "uint256",
286319
+ internalType: "uint256"
286320
+ },
286321
+ {
286322
+ name: "lnImpliedRate",
286323
+ type: "uint256",
286324
+ internalType: "uint256"
286325
+ },
286326
+ {
286327
+ name: "failSafeRate",
286328
+ type: "uint256",
286329
+ internalType: "uint256"
286330
+ },
286331
+ {
286332
+ name: "permit",
286333
+ type: "bytes",
286334
+ internalType: "bytes"
286335
+ }
286336
+ ]
286337
+ },
286338
+ {
286339
+ name: "signature",
286340
+ type: "bytes",
286341
+ internalType: "bytes"
286342
+ },
286343
+ {
286344
+ name: "makingAmount",
286345
+ type: "uint256",
286346
+ internalType: "uint256"
286347
+ }
286348
+ ]
286349
+ },
286350
+ {
286351
+ name: "optData",
286352
+ type: "bytes",
286353
+ internalType: "bytes"
286354
+ }
286355
+ ]
286356
+ }
286357
+ ],
286358
+ outputs: [
286359
+ {
286360
+ name: "tokensToEnable",
286361
+ type: "uint256",
286362
+ internalType: "uint256"
286363
+ },
286364
+ {
286365
+ name: "tokensToDisable",
286366
+ type: "uint256",
286367
+ internalType: "uint256"
286368
+ }
286369
+ ],
286370
+ stateMutability: "nonpayable"
286371
+ },
286372
+ {
286373
+ type: "function",
286374
+ name: "targetContract",
286375
+ inputs: [],
286376
+ outputs: [
286377
+ {
286378
+ name: "",
286379
+ type: "address",
286380
+ internalType: "address"
286381
+ }
286382
+ ],
286383
+ stateMutability: "view"
286384
+ },
286385
+ {
286386
+ type: "event",
286387
+ name: "SetPairStatus",
286388
+ inputs: [
286389
+ {
286390
+ name: "market",
286391
+ type: "address",
286392
+ indexed: true,
286393
+ internalType: "address"
286394
+ },
286395
+ {
286396
+ name: "inputToken",
286397
+ type: "address",
286398
+ indexed: true,
286399
+ internalType: "address"
286400
+ },
286401
+ {
286402
+ name: "pendleToken",
286403
+ type: "address",
286404
+ indexed: true,
286405
+ internalType: "address"
286406
+ },
286407
+ {
286408
+ name: "allowed",
286409
+ type: "uint8",
286410
+ indexed: false,
286411
+ internalType: "enum PendleStatus"
286412
+ }
286413
+ ],
286414
+ anonymous: false
286415
+ },
286416
+ {
286417
+ type: "error",
286418
+ name: "PairNotAllowedException",
286419
+ inputs: []
286420
+ },
286421
+ {
286422
+ type: "error",
286423
+ name: "RedemptionNotAllowedException",
286424
+ inputs: []
286425
+ }
286426
+ ];
286427
+ var IPendleRouterAdapter__factory = class {
286428
+ static abi = _abi57;
286429
+ static createInterface() {
286430
+ return new Interface(_abi57);
286431
+ }
286432
+ static connect(address, runner) {
286433
+ return new Contract(
286434
+ address,
286435
+ _abi57,
286436
+ runner
286437
+ );
286438
+ }
286439
+ };
286440
+ var _abi58 = [
286441
+ {
286442
+ type: "event",
286443
+ name: "SetPairStatus",
286444
+ inputs: [
286445
+ {
286446
+ name: "market",
286447
+ type: "address",
286448
+ indexed: true,
286449
+ internalType: "address"
286450
+ },
286451
+ {
286452
+ name: "inputToken",
286453
+ type: "address",
286454
+ indexed: true,
286455
+ internalType: "address"
286456
+ },
286457
+ {
286458
+ name: "pendleToken",
286459
+ type: "address",
286460
+ indexed: true,
286461
+ internalType: "address"
286462
+ },
286463
+ {
286464
+ name: "allowed",
286465
+ type: "uint8",
286466
+ indexed: false,
286467
+ internalType: "enum PendleStatus"
286468
+ }
286469
+ ],
286470
+ anonymous: false
286471
+ }
286472
+ ];
286473
+ var IPendleRouterAdapterEvents__factory = class {
286474
+ static abi = _abi58;
286475
+ static createInterface() {
286476
+ return new Interface(_abi58);
286477
+ }
286478
+ static connect(address, runner) {
286479
+ return new Contract(
286480
+ address,
286481
+ _abi58,
286482
+ runner
286483
+ );
286484
+ }
286485
+ };
286486
+ var _abi59 = [
286487
+ {
286488
+ type: "error",
286489
+ name: "PairNotAllowedException",
286490
+ inputs: []
286491
+ },
286492
+ {
286493
+ type: "error",
286494
+ name: "RedemptionNotAllowedException",
286495
+ inputs: []
286496
+ }
286497
+ ];
286498
+ var IPendleRouterAdapterExceptions__factory = class {
286499
+ static abi = _abi59;
286500
+ static createInterface() {
286501
+ return new Interface(_abi59);
286502
+ }
286503
+ static connect(address, runner) {
286504
+ return new Contract(
286505
+ address,
286506
+ _abi59,
286507
+ runner
286508
+ );
286509
+ }
286510
+ };
284156
286511
  var IPoolQuotaKeeperV3_exports = {};
284157
286512
  __export2(IPoolQuotaKeeperV3_exports, {
284158
286513
  IPoolQuotaKeeperV3Events__factory: () => IPoolQuotaKeeperV3Events__factory,
284159
286514
  IPoolQuotaKeeperV3__factory: () => IPoolQuotaKeeperV3__factory
284160
286515
  });
284161
- var _abi50 = [
286516
+ var _abi60 = [
284162
286517
  {
284163
286518
  type: "function",
284164
286519
  name: "accrueQuotaInterest",
@@ -284722,15 +287077,15 @@ var _abi50 = [
284722
287077
  }
284723
287078
  ];
284724
287079
  var IPoolQuotaKeeperV3__factory = class {
284725
- static abi = _abi50;
287080
+ static abi = _abi60;
284726
287081
  static createInterface() {
284727
- return new Interface(_abi50);
287082
+ return new Interface(_abi60);
284728
287083
  }
284729
287084
  static connect(address, runner) {
284730
- return new Contract(address, _abi50, runner);
287085
+ return new Contract(address, _abi60, runner);
284731
287086
  }
284732
287087
  };
284733
- var _abi51 = [
287088
+ var _abi61 = [
284734
287089
  {
284735
287090
  type: "event",
284736
287091
  name: "AddCreditManager",
@@ -284854,14 +287209,14 @@ var _abi51 = [
284854
287209
  }
284855
287210
  ];
284856
287211
  var IPoolQuotaKeeperV3Events__factory = class {
284857
- static abi = _abi51;
287212
+ static abi = _abi61;
284858
287213
  static createInterface() {
284859
- return new Interface(_abi51);
287214
+ return new Interface(_abi61);
284860
287215
  }
284861
287216
  static connect(address, runner) {
284862
287217
  return new Contract(
284863
287218
  address,
284864
- _abi51,
287219
+ _abi61,
284865
287220
  runner
284866
287221
  );
284867
287222
  }
@@ -284871,7 +287226,7 @@ __export2(IPoolV3_exports, {
284871
287226
  IPoolV3Events__factory: () => IPoolV3Events__factory,
284872
287227
  IPoolV3__factory: () => IPoolV3__factory
284873
287228
  });
284874
- var _abi52 = [
287229
+ var _abi62 = [
284875
287230
  {
284876
287231
  type: "function",
284877
287232
  name: "DOMAIN_SEPARATOR",
@@ -286257,15 +288612,15 @@ var _abi52 = [
286257
288612
  }
286258
288613
  ];
286259
288614
  var IPoolV3__factory = class {
286260
- static abi = _abi52;
288615
+ static abi = _abi62;
286261
288616
  static createInterface() {
286262
- return new Interface(_abi52);
288617
+ return new Interface(_abi62);
286263
288618
  }
286264
288619
  static connect(address, runner) {
286265
- return new Contract(address, _abi52, runner);
288620
+ return new Contract(address, _abi62, runner);
286266
288621
  }
286267
288622
  };
286268
- var _abi53 = [
288623
+ var _abi63 = [
286269
288624
  {
286270
288625
  type: "event",
286271
288626
  name: "AddCreditManager",
@@ -286452,12 +288807,12 @@ var _abi53 = [
286452
288807
  }
286453
288808
  ];
286454
288809
  var IPoolV3Events__factory = class {
286455
- static abi = _abi53;
288810
+ static abi = _abi63;
286456
288811
  static createInterface() {
286457
- return new Interface(_abi53);
288812
+ return new Interface(_abi63);
286458
288813
  }
286459
288814
  static connect(address, runner) {
286460
- return new Contract(address, _abi53, runner);
288815
+ return new Contract(address, _abi63, runner);
286461
288816
  }
286462
288817
  };
286463
288818
  var IPriceFeed_exports = {};
@@ -286465,7 +288820,7 @@ __export2(IPriceFeed_exports, {
286465
288820
  IPriceFeed__factory: () => IPriceFeed__factory,
286466
288821
  IUpdatablePriceFeed__factory: () => IUpdatablePriceFeed__factory
286467
288822
  });
286468
- var _abi54 = [
288823
+ var _abi64 = [
286469
288824
  {
286470
288825
  type: "function",
286471
288826
  name: "decimals",
@@ -286566,15 +288921,15 @@ var _abi54 = [
286566
288921
  }
286567
288922
  ];
286568
288923
  var IPriceFeed__factory = class {
286569
- static abi = _abi54;
288924
+ static abi = _abi64;
286570
288925
  static createInterface() {
286571
- return new Interface(_abi54);
288926
+ return new Interface(_abi64);
286572
288927
  }
286573
288928
  static connect(address, runner) {
286574
- return new Contract(address, _abi54, runner);
288929
+ return new Contract(address, _abi64, runner);
286575
288930
  }
286576
288931
  };
286577
- var _abi55 = [
288932
+ var _abi65 = [
286578
288933
  {
286579
288934
  type: "function",
286580
288935
  name: "decimals",
@@ -286701,14 +289056,14 @@ var _abi55 = [
286701
289056
  }
286702
289057
  ];
286703
289058
  var IUpdatablePriceFeed__factory = class {
286704
- static abi = _abi55;
289059
+ static abi = _abi65;
286705
289060
  static createInterface() {
286706
- return new Interface(_abi55);
289061
+ return new Interface(_abi65);
286707
289062
  }
286708
289063
  static connect(address, runner) {
286709
289064
  return new Contract(
286710
289065
  address,
286711
- _abi55,
289066
+ _abi65,
286712
289067
  runner
286713
289068
  );
286714
289069
  }
@@ -286718,7 +289073,7 @@ __export2(IPriceOracleV3_exports, {
286718
289073
  IPriceOracleV3Events__factory: () => IPriceOracleV3Events__factory,
286719
289074
  IPriceOracleV3__factory: () => IPriceOracleV3__factory
286720
289075
  });
286721
- var _abi56 = [
289076
+ var _abi66 = [
286722
289077
  {
286723
289078
  type: "function",
286724
289079
  name: "convert",
@@ -287135,15 +289490,15 @@ var _abi56 = [
287135
289490
  }
287136
289491
  ];
287137
289492
  var IPriceOracleV3__factory = class {
287138
- static abi = _abi56;
289493
+ static abi = _abi66;
287139
289494
  static createInterface() {
287140
- return new Interface(_abi56);
289495
+ return new Interface(_abi66);
287141
289496
  }
287142
289497
  static connect(address, runner) {
287143
- return new Contract(address, _abi56, runner);
289498
+ return new Contract(address, _abi66, runner);
287144
289499
  }
287145
289500
  };
287146
- var _abi57 = [
289501
+ var _abi67 = [
287147
289502
  {
287148
289503
  type: "event",
287149
289504
  name: "SetPriceFeed",
@@ -287233,14 +289588,14 @@ var _abi57 = [
287233
289588
  }
287234
289589
  ];
287235
289590
  var IPriceOracleV3Events__factory = class {
287236
- static abi = _abi57;
289591
+ static abi = _abi67;
287237
289592
  static createInterface() {
287238
- return new Interface(_abi57);
289593
+ return new Interface(_abi67);
287239
289594
  }
287240
289595
  static connect(address, runner) {
287241
289596
  return new Contract(
287242
289597
  address,
287243
- _abi57,
289598
+ _abi67,
287244
289599
  runner
287245
289600
  );
287246
289601
  }
@@ -287251,7 +289606,7 @@ __export2(IUniswapV2Adapter_exports, {
287251
289606
  IUniswapV2AdapterExceptions__factory: () => IUniswapV2AdapterExceptions__factory,
287252
289607
  IUniswapV2Adapter__factory: () => IUniswapV2Adapter__factory
287253
289608
  });
287254
- var _abi58 = [
289609
+ var _abi68 = [
287255
289610
  {
287256
289611
  type: "function",
287257
289612
  name: "_gearboxAdapterType",
@@ -287530,15 +289885,15 @@ var _abi58 = [
287530
289885
  }
287531
289886
  ];
287532
289887
  var IUniswapV2Adapter__factory = class {
287533
- static abi = _abi58;
289888
+ static abi = _abi68;
287534
289889
  static createInterface() {
287535
- return new Interface(_abi58);
289890
+ return new Interface(_abi68);
287536
289891
  }
287537
289892
  static connect(address, runner) {
287538
- return new Contract(address, _abi58, runner);
289893
+ return new Contract(address, _abi68, runner);
287539
289894
  }
287540
289895
  };
287541
- var _abi59 = [
289896
+ var _abi69 = [
287542
289897
  {
287543
289898
  type: "event",
287544
289899
  name: "SetPairStatus",
@@ -287566,19 +289921,19 @@ var _abi59 = [
287566
289921
  }
287567
289922
  ];
287568
289923
  var IUniswapV2AdapterEvents__factory = class {
287569
- static abi = _abi59;
289924
+ static abi = _abi69;
287570
289925
  static createInterface() {
287571
- return new Interface(_abi59);
289926
+ return new Interface(_abi69);
287572
289927
  }
287573
289928
  static connect(address, runner) {
287574
289929
  return new Contract(
287575
289930
  address,
287576
- _abi59,
289931
+ _abi69,
287577
289932
  runner
287578
289933
  );
287579
289934
  }
287580
289935
  };
287581
- var _abi60 = [
289936
+ var _abi70 = [
287582
289937
  {
287583
289938
  type: "error",
287584
289939
  name: "InvalidPathException",
@@ -287586,14 +289941,14 @@ var _abi60 = [
287586
289941
  }
287587
289942
  ];
287588
289943
  var IUniswapV2AdapterExceptions__factory = class {
287589
- static abi = _abi60;
289944
+ static abi = _abi70;
287590
289945
  static createInterface() {
287591
- return new Interface(_abi60);
289946
+ return new Interface(_abi70);
287592
289947
  }
287593
289948
  static connect(address, runner) {
287594
289949
  return new Contract(
287595
289950
  address,
287596
- _abi60,
289951
+ _abi70,
287597
289952
  runner
287598
289953
  );
287599
289954
  }
@@ -287602,7 +289957,7 @@ var IUniswapV3_exports = {};
287602
289957
  __export2(IUniswapV3_exports, {
287603
289958
  ISwapRouter__factory: () => ISwapRouter__factory
287604
289959
  });
287605
- var _abi61 = [
289960
+ var _abi71 = [
287606
289961
  {
287607
289962
  type: "function",
287608
289963
  name: "exactInput",
@@ -287819,12 +290174,12 @@ var _abi61 = [
287819
290174
  }
287820
290175
  ];
287821
290176
  var ISwapRouter__factory = class {
287822
- static abi = _abi61;
290177
+ static abi = _abi71;
287823
290178
  static createInterface() {
287824
- return new Interface(_abi61);
290179
+ return new Interface(_abi71);
287825
290180
  }
287826
290181
  static connect(address, runner) {
287827
- return new Contract(address, _abi61, runner);
290182
+ return new Contract(address, _abi71, runner);
287828
290183
  }
287829
290184
  };
287830
290185
  var IUniswapV3Adapter_exports = {};
@@ -287833,7 +290188,7 @@ __export2(IUniswapV3Adapter_exports, {
287833
290188
  IUniswapV3AdapterExceptions__factory: () => IUniswapV3AdapterExceptions__factory,
287834
290189
  IUniswapV3Adapter__factory: () => IUniswapV3Adapter__factory
287835
290190
  });
287836
- var _abi62 = [
290191
+ var _abi72 = [
287837
290192
  {
287838
290193
  type: "function",
287839
290194
  name: "_gearboxAdapterType",
@@ -288342,15 +290697,15 @@ var _abi62 = [
288342
290697
  }
288343
290698
  ];
288344
290699
  var IUniswapV3Adapter__factory = class {
288345
- static abi = _abi62;
290700
+ static abi = _abi72;
288346
290701
  static createInterface() {
288347
- return new Interface(_abi62);
290702
+ return new Interface(_abi72);
288348
290703
  }
288349
290704
  static connect(address, runner) {
288350
- return new Contract(address, _abi62, runner);
290705
+ return new Contract(address, _abi72, runner);
288351
290706
  }
288352
290707
  };
288353
- var _abi63 = [
290708
+ var _abi73 = [
288354
290709
  {
288355
290710
  type: "event",
288356
290711
  name: "SetPoolStatus",
@@ -288384,19 +290739,19 @@ var _abi63 = [
288384
290739
  }
288385
290740
  ];
288386
290741
  var IUniswapV3AdapterEvents__factory = class {
288387
- static abi = _abi63;
290742
+ static abi = _abi73;
288388
290743
  static createInterface() {
288389
- return new Interface(_abi63);
290744
+ return new Interface(_abi73);
288390
290745
  }
288391
290746
  static connect(address, runner) {
288392
290747
  return new Contract(
288393
290748
  address,
288394
- _abi63,
290749
+ _abi73,
288395
290750
  runner
288396
290751
  );
288397
290752
  }
288398
290753
  };
288399
- var _abi64 = [
290754
+ var _abi74 = [
288400
290755
  {
288401
290756
  type: "error",
288402
290757
  name: "InvalidPathException",
@@ -288404,14 +290759,14 @@ var _abi64 = [
288404
290759
  }
288405
290760
  ];
288406
290761
  var IUniswapV3AdapterExceptions__factory = class {
288407
- static abi = _abi64;
290762
+ static abi = _abi74;
288408
290763
  static createInterface() {
288409
- return new Interface(_abi64);
290764
+ return new Interface(_abi74);
288410
290765
  }
288411
290766
  static connect(address, runner) {
288412
290767
  return new Contract(
288413
290768
  address,
288414
- _abi64,
290769
+ _abi74,
288415
290770
  runner
288416
290771
  );
288417
290772
  }
@@ -288422,7 +290777,7 @@ __export2(IVelodromeV2RouterAdapter_exports, {
288422
290777
  IVelodromeV2AdapterExceptions__factory: () => IVelodromeV2AdapterExceptions__factory,
288423
290778
  IVelodromeV2RouterAdapter__factory: () => IVelodromeV2RouterAdapter__factory
288424
290779
  });
288425
- var _abi65 = [
290780
+ var _abi75 = [
288426
290781
  {
288427
290782
  type: "event",
288428
290783
  name: "SetPoolStatus",
@@ -288462,19 +290817,19 @@ var _abi65 = [
288462
290817
  }
288463
290818
  ];
288464
290819
  var IVelodromeV2AdapterEvents__factory = class {
288465
- static abi = _abi65;
290820
+ static abi = _abi75;
288466
290821
  static createInterface() {
288467
- return new Interface(_abi65);
290822
+ return new Interface(_abi75);
288468
290823
  }
288469
290824
  static connect(address, runner) {
288470
290825
  return new Contract(
288471
290826
  address,
288472
- _abi65,
290827
+ _abi75,
288473
290828
  runner
288474
290829
  );
288475
290830
  }
288476
290831
  };
288477
- var _abi66 = [
290832
+ var _abi76 = [
288478
290833
  {
288479
290834
  type: "error",
288480
290835
  name: "InvalidPathException",
@@ -288482,19 +290837,19 @@ var _abi66 = [
288482
290837
  }
288483
290838
  ];
288484
290839
  var IVelodromeV2AdapterExceptions__factory = class {
288485
- static abi = _abi66;
290840
+ static abi = _abi76;
288486
290841
  static createInterface() {
288487
- return new Interface(_abi66);
290842
+ return new Interface(_abi76);
288488
290843
  }
288489
290844
  static connect(address, runner) {
288490
290845
  return new Contract(
288491
290846
  address,
288492
- _abi66,
290847
+ _abi76,
288493
290848
  runner
288494
290849
  );
288495
290850
  }
288496
290851
  };
288497
- var _abi67 = [
290852
+ var _abi77 = [
288498
290853
  {
288499
290854
  type: "function",
288500
290855
  name: "_gearboxAdapterType",
@@ -288805,14 +291160,14 @@ var _abi67 = [
288805
291160
  }
288806
291161
  ];
288807
291162
  var IVelodromeV2RouterAdapter__factory = class {
288808
- static abi = _abi67;
291163
+ static abi = _abi77;
288809
291164
  static createInterface() {
288810
- return new Interface(_abi67);
291165
+ return new Interface(_abi77);
288811
291166
  }
288812
291167
  static connect(address, runner) {
288813
291168
  return new Contract(
288814
291169
  address,
288815
- _abi67,
291170
+ _abi77,
288816
291171
  runner
288817
291172
  );
288818
291173
  }
@@ -288822,7 +291177,7 @@ __export2(IstETH_exports, {
288822
291177
  IstETHGetters__factory: () => IstETHGetters__factory,
288823
291178
  IstETH__factory: () => IstETH__factory
288824
291179
  });
288825
- var _abi68 = [
291180
+ var _abi78 = [
288826
291181
  {
288827
291182
  type: "function",
288828
291183
  name: "allowance",
@@ -289162,15 +291517,15 @@ var _abi68 = [
289162
291517
  }
289163
291518
  ];
289164
291519
  var IstETH__factory = class {
289165
- static abi = _abi68;
291520
+ static abi = _abi78;
289166
291521
  static createInterface() {
289167
- return new Interface(_abi68);
291522
+ return new Interface(_abi78);
289168
291523
  }
289169
291524
  static connect(address, runner) {
289170
- return new Contract(address, _abi68, runner);
291525
+ return new Contract(address, _abi78, runner);
289171
291526
  }
289172
291527
  };
289173
- var _abi69 = [
291528
+ var _abi79 = [
289174
291529
  {
289175
291530
  type: "function",
289176
291531
  name: "allowance",
@@ -289491,12 +291846,12 @@ var _abi69 = [
289491
291846
  }
289492
291847
  ];
289493
291848
  var IstETHGetters__factory = class {
289494
- static abi = _abi69;
291849
+ static abi = _abi79;
289495
291850
  static createInterface() {
289496
- return new Interface(_abi69);
291851
+ return new Interface(_abi79);
289497
291852
  }
289498
291853
  static connect(address, runner) {
289499
- return new Contract(address, _abi69, runner);
291854
+ return new Contract(address, _abi79, runner);
289500
291855
  }
289501
291856
  };
289502
291857
  var IwstETH_exports = {};
@@ -289504,7 +291859,7 @@ __export2(IwstETH_exports, {
289504
291859
  IwstETHGetters__factory: () => IwstETHGetters__factory,
289505
291860
  IwstETH__factory: () => IwstETH__factory
289506
291861
  });
289507
- var _abi70 = [
291862
+ var _abi80 = [
289508
291863
  {
289509
291864
  type: "function",
289510
291865
  name: "allowance",
@@ -289844,15 +292199,15 @@ var _abi70 = [
289844
292199
  }
289845
292200
  ];
289846
292201
  var IwstETH__factory = class {
289847
- static abi = _abi70;
292202
+ static abi = _abi80;
289848
292203
  static createInterface() {
289849
- return new Interface(_abi70);
292204
+ return new Interface(_abi80);
289850
292205
  }
289851
292206
  static connect(address, runner) {
289852
- return new Contract(address, _abi70, runner);
292207
+ return new Contract(address, _abi80, runner);
289853
292208
  }
289854
292209
  };
289855
- var _abi71 = [
292210
+ var _abi81 = [
289856
292211
  {
289857
292212
  type: "function",
289858
292213
  name: "allowance",
@@ -290154,12 +292509,12 @@ var _abi71 = [
290154
292509
  }
290155
292510
  ];
290156
292511
  var IwstETHGetters__factory = class {
290157
- static abi = _abi71;
292512
+ static abi = _abi81;
290158
292513
  static createInterface() {
290159
- return new Interface(_abi71);
292514
+ return new Interface(_abi81);
290160
292515
  }
290161
292516
  static connect(address, runner) {
290162
- return new Contract(address, _abi71, runner);
292517
+ return new Contract(address, _abi81, runner);
290163
292518
  }
290164
292519
  };
290165
292520
  var RedstonePriceFeed_exports = {};
@@ -290167,7 +292522,7 @@ __export2(RedstonePriceFeed_exports, {
290167
292522
  IRedstonePriceFeedEvents__factory: () => IRedstonePriceFeedEvents__factory,
290168
292523
  IRedstonePriceFeedExceptions__factory: () => IRedstonePriceFeedExceptions__factory
290169
292524
  });
290170
- var _abi72 = [
292525
+ var _abi82 = [
290171
292526
  {
290172
292527
  type: "event",
290173
292528
  name: "UpdatePrice",
@@ -290183,19 +292538,19 @@ var _abi72 = [
290183
292538
  }
290184
292539
  ];
290185
292540
  var IRedstonePriceFeedEvents__factory = class {
290186
- static abi = _abi72;
292541
+ static abi = _abi82;
290187
292542
  static createInterface() {
290188
- return new Interface(_abi72);
292543
+ return new Interface(_abi82);
290189
292544
  }
290190
292545
  static connect(address, runner) {
290191
292546
  return new Contract(
290192
292547
  address,
290193
- _abi72,
292548
+ _abi82,
290194
292549
  runner
290195
292550
  );
290196
292551
  }
290197
292552
  };
290198
- var _abi73 = [
292553
+ var _abi83 = [
290199
292554
  {
290200
292555
  type: "error",
290201
292556
  name: "DataPackageTimestampIncorrect",
@@ -290223,14 +292578,14 @@ var _abi73 = [
290223
292578
  }
290224
292579
  ];
290225
292580
  var IRedstonePriceFeedExceptions__factory = class {
290226
- static abi = _abi73;
292581
+ static abi = _abi83;
290227
292582
  static createInterface() {
290228
- return new Interface(_abi73);
292583
+ return new Interface(_abi83);
290229
292584
  }
290230
292585
  static connect(address, runner) {
290231
292586
  return new Contract(
290232
292587
  address,
290233
- _abi73,
292588
+ _abi83,
290234
292589
  runner
290235
292590
  );
290236
292591
  }
@@ -290239,7 +292594,7 @@ var interfaces_exports = {};
290239
292594
  __export2(interfaces_exports, {
290240
292595
  ITimeLock__factory: () => ITimeLock__factory
290241
292596
  });
290242
- var _abi74 = [
292597
+ var _abi84 = [
290243
292598
  {
290244
292599
  type: "function",
290245
292600
  name: "acceptAdmin",
@@ -290418,15 +292773,15 @@ var _abi74 = [
290418
292773
  }
290419
292774
  ];
290420
292775
  var ITimeLock__factory = class {
290421
- static abi = _abi74;
292776
+ static abi = _abi84;
290422
292777
  static createInterface() {
290423
- return new Interface(_abi74);
292778
+ return new Interface(_abi84);
290424
292779
  }
290425
292780
  static connect(address, runner) {
290426
- return new Contract(address, _abi74, runner);
292781
+ return new Contract(address, _abi84, runner);
290427
292782
  }
290428
292783
  };
290429
- var _abi75 = [
292784
+ var _abi85 = [
290430
292785
  {
290431
292786
  type: "function",
290432
292787
  name: "_gearboxAdapterType",
@@ -290625,19 +292980,19 @@ var _abi75 = [
290625
292980
  }
290626
292981
  ];
290627
292982
  var IAaveV2_LendingPoolAdapter__factory = class {
290628
- static abi = _abi75;
292983
+ static abi = _abi85;
290629
292984
  static createInterface() {
290630
- return new Interface(_abi75);
292985
+ return new Interface(_abi85);
290631
292986
  }
290632
292987
  static connect(address, runner) {
290633
292988
  return new Contract(
290634
292989
  address,
290635
- _abi75,
292990
+ _abi85,
290636
292991
  runner
290637
292992
  );
290638
292993
  }
290639
292994
  };
290640
- var _abi76 = [
292995
+ var _abi86 = [
290641
292996
  {
290642
292997
  type: "function",
290643
292998
  name: "_gearboxAdapterType",
@@ -290962,19 +293317,19 @@ var _abi76 = [
290962
293317
  }
290963
293318
  ];
290964
293319
  var IAaveV2_WrappedATokenAdapter__factory = class {
290965
- static abi = _abi76;
293320
+ static abi = _abi86;
290966
293321
  static createInterface() {
290967
- return new Interface(_abi76);
293322
+ return new Interface(_abi86);
290968
293323
  }
290969
293324
  static connect(address, runner) {
290970
293325
  return new Contract(
290971
293326
  address,
290972
- _abi76,
293327
+ _abi86,
290973
293328
  runner
290974
293329
  );
290975
293330
  }
290976
293331
  };
290977
- var _abi77 = [
293332
+ var _abi87 = [
290978
293333
  {
290979
293334
  type: "function",
290980
293335
  name: "_gearboxAdapterType",
@@ -291042,15 +293397,15 @@ var _abi77 = [
291042
293397
  }
291043
293398
  ];
291044
293399
  var IAdapter__factory = class {
291045
- static abi = _abi77;
293400
+ static abi = _abi87;
291046
293401
  static createInterface() {
291047
- return new Interface(_abi77);
293402
+ return new Interface(_abi87);
291048
293403
  }
291049
293404
  static connect(address, runner) {
291050
- return new Contract(address, _abi77, runner);
293405
+ return new Contract(address, _abi87, runner);
291051
293406
  }
291052
293407
  };
291053
- var _abi78 = [
293408
+ var _abi88 = [
291054
293409
  {
291055
293410
  type: "function",
291056
293411
  name: "getPoolTokens",
@@ -291082,15 +293437,15 @@ var _abi78 = [
291082
293437
  }
291083
293438
  ];
291084
293439
  var IBalancerVault__factory = class {
291085
- static abi = _abi78;
293440
+ static abi = _abi88;
291086
293441
  static createInterface() {
291087
- return new Interface(_abi78);
293442
+ return new Interface(_abi88);
291088
293443
  }
291089
293444
  static connect(address, runner) {
291090
- return new Contract(address, _abi78, runner);
293445
+ return new Contract(address, _abi88, runner);
291091
293446
  }
291092
293447
  };
291093
- var _abi79 = [
293448
+ var _abi89 = [
291094
293449
  {
291095
293450
  type: "function",
291096
293451
  name: "balanceOf",
@@ -291608,15 +293963,15 @@ var _abi79 = [
291608
293963
  }
291609
293964
  ];
291610
293965
  var IBaseRewardPool__factory = class {
291611
- static abi = _abi79;
293966
+ static abi = _abi89;
291612
293967
  static createInterface() {
291613
- return new Interface(_abi79);
293968
+ return new Interface(_abi89);
291614
293969
  }
291615
293970
  static connect(address, runner) {
291616
- return new Contract(address, _abi79, runner);
293971
+ return new Contract(address, _abi89, runner);
291617
293972
  }
291618
293973
  };
291619
- var _abi80 = [
293974
+ var _abi90 = [
291620
293975
  {
291621
293976
  type: "function",
291622
293977
  name: "revertIfQueued",
@@ -291638,15 +293993,15 @@ var _abi80 = [
291638
293993
  }
291639
293994
  ];
291640
293995
  var IBatchesChain__factory = class {
291641
- static abi = _abi80;
293996
+ static abi = _abi90;
291642
293997
  static createInterface() {
291643
- return new Interface(_abi80);
293998
+ return new Interface(_abi90);
291644
293999
  }
291645
294000
  static connect(address, runner) {
291646
- return new Contract(address, _abi80, runner);
294001
+ return new Contract(address, _abi90, runner);
291647
294002
  }
291648
294003
  };
291649
- var _abi81 = [
294004
+ var _abi91 = [
291650
294005
  {
291651
294006
  type: "function",
291652
294007
  name: "exactInput",
@@ -291914,15 +294269,15 @@ var _abi81 = [
291914
294269
  }
291915
294270
  ];
291916
294271
  var ICamelotV3Router__factory = class {
291917
- static abi = _abi81;
294272
+ static abi = _abi91;
291918
294273
  static createInterface() {
291919
- return new Interface(_abi81);
294274
+ return new Interface(_abi91);
291920
294275
  }
291921
294276
  static connect(address, runner) {
291922
- return new Contract(address, _abi81, runner);
294277
+ return new Contract(address, _abi91, runner);
291923
294278
  }
291924
294279
  };
291925
- var _abi82 = [
294280
+ var _abi92 = [
291926
294281
  {
291927
294282
  type: "function",
291928
294283
  name: "EMISSIONS_MAX_SUPPLY",
@@ -292186,15 +294541,15 @@ var _abi82 = [
292186
294541
  }
292187
294542
  ];
292188
294543
  var IConvexToken__factory = class {
292189
- static abi = _abi82;
294544
+ static abi = _abi92;
292190
294545
  static createInterface() {
292191
- return new Interface(_abi82);
294546
+ return new Interface(_abi92);
292192
294547
  }
292193
294548
  static connect(address, runner) {
292194
- return new Contract(address, _abi82, runner);
294549
+ return new Contract(address, _abi92, runner);
292195
294550
  }
292196
294551
  };
292197
- var _abi83 = [
294552
+ var _abi93 = [
292198
294553
  {
292199
294554
  type: "function",
292200
294555
  name: "_gearboxAdapterType",
@@ -292587,19 +294942,19 @@ var _abi83 = [
292587
294942
  }
292588
294943
  ];
292589
294944
  var IConvexV1BaseRewardPoolAdapter__factory = class {
292590
- static abi = _abi83;
294945
+ static abi = _abi93;
292591
294946
  static createInterface() {
292592
- return new Interface(_abi83);
294947
+ return new Interface(_abi93);
292593
294948
  }
292594
294949
  static connect(address, runner) {
292595
294950
  return new Contract(
292596
294951
  address,
292597
- _abi83,
294952
+ _abi93,
292598
294953
  runner
292599
294954
  );
292600
294955
  }
292601
294956
  };
292602
- var _abi84 = [
294957
+ var _abi94 = [
292603
294958
  {
292604
294959
  type: "function",
292605
294960
  name: "callExternal",
@@ -292656,15 +295011,15 @@ var _abi84 = [
292656
295011
  }
292657
295012
  ];
292658
295013
  var ICreate2Factory__factory = class {
292659
- static abi = _abi84;
295014
+ static abi = _abi94;
292660
295015
  static createInterface() {
292661
- return new Interface(_abi84);
295016
+ return new Interface(_abi94);
292662
295017
  }
292663
295018
  static connect(address, runner) {
292664
- return new Contract(address, _abi84, runner);
295019
+ return new Contract(address, _abi94, runner);
292665
295020
  }
292666
295021
  };
292667
- var _abi85 = [
295022
+ var _abi95 = [
292668
295023
  {
292669
295024
  type: "function",
292670
295025
  name: "addCollateral",
@@ -292919,19 +295274,19 @@ var _abi85 = [
292919
295274
  }
292920
295275
  ];
292921
295276
  var ICreditFacadeV3Multicall__factory = class {
292922
- static abi = _abi85;
295277
+ static abi = _abi95;
292923
295278
  static createInterface() {
292924
- return new Interface(_abi85);
295279
+ return new Interface(_abi95);
292925
295280
  }
292926
295281
  static connect(address, runner) {
292927
295282
  return new Contract(
292928
295283
  address,
292929
- _abi85,
295284
+ _abi95,
292930
295285
  runner
292931
295286
  );
292932
295287
  }
292933
295288
  };
292934
- var _abi86 = [
295289
+ var _abi96 = [
292935
295290
  {
292936
295291
  type: "function",
292937
295292
  name: "A",
@@ -293666,15 +296021,15 @@ var _abi86 = [
293666
296021
  }
293667
296022
  ];
293668
296023
  var ICurvePool__factory = class {
293669
- static abi = _abi86;
296024
+ static abi = _abi96;
293670
296025
  static createInterface() {
293671
- return new Interface(_abi86);
296026
+ return new Interface(_abi96);
293672
296027
  }
293673
296028
  static connect(address, runner) {
293674
- return new Contract(address, _abi86, runner);
296029
+ return new Contract(address, _abi96, runner);
293675
296030
  }
293676
296031
  };
293677
- var _abi87 = [
296032
+ var _abi97 = [
293678
296033
  {
293679
296034
  type: "function",
293680
296035
  name: "_gearboxAdapterType",
@@ -294456,15 +296811,15 @@ var _abi87 = [
294456
296811
  }
294457
296812
  ];
294458
296813
  var ICurveV1Adapter__factory = class {
294459
- static abi = _abi87;
296814
+ static abi = _abi97;
294460
296815
  static createInterface() {
294461
- return new Interface(_abi87);
296816
+ return new Interface(_abi97);
294462
296817
  }
294463
296818
  static connect(address, runner) {
294464
- return new Contract(address, _abi87, runner);
296819
+ return new Contract(address, _abi97, runner);
294465
296820
  }
294466
296821
  };
294467
- var _abi88 = [
296822
+ var _abi98 = [
294468
296823
  {
294469
296824
  type: "function",
294470
296825
  name: "_gearboxAdapterType",
@@ -295333,19 +297688,19 @@ var _abi88 = [
295333
297688
  }
295334
297689
  ];
295335
297690
  var ICurveV1_2AssetsAdapter__factory = class {
295336
- static abi = _abi88;
297691
+ static abi = _abi98;
295337
297692
  static createInterface() {
295338
- return new Interface(_abi88);
297693
+ return new Interface(_abi98);
295339
297694
  }
295340
297695
  static connect(address, runner) {
295341
297696
  return new Contract(
295342
297697
  address,
295343
- _abi88,
297698
+ _abi98,
295344
297699
  runner
295345
297700
  );
295346
297701
  }
295347
297702
  };
295348
- var _abi89 = [
297703
+ var _abi99 = [
295349
297704
  {
295350
297705
  type: "function",
295351
297706
  name: "_gearboxAdapterType",
@@ -296214,19 +298569,19 @@ var _abi89 = [
296214
298569
  }
296215
298570
  ];
296216
298571
  var ICurveV1_3AssetsAdapter__factory = class {
296217
- static abi = _abi89;
298572
+ static abi = _abi99;
296218
298573
  static createInterface() {
296219
- return new Interface(_abi89);
298574
+ return new Interface(_abi99);
296220
298575
  }
296221
298576
  static connect(address, runner) {
296222
298577
  return new Contract(
296223
298578
  address,
296224
- _abi89,
298579
+ _abi99,
296225
298580
  runner
296226
298581
  );
296227
298582
  }
296228
298583
  };
296229
- var _abi90 = [
298584
+ var _abi100 = [
296230
298585
  {
296231
298586
  type: "function",
296232
298587
  name: "_gearboxAdapterType",
@@ -297095,19 +299450,19 @@ var _abi90 = [
297095
299450
  }
297096
299451
  ];
297097
299452
  var ICurveV1_4AssetsAdapter__factory = class {
297098
- static abi = _abi90;
299453
+ static abi = _abi100;
297099
299454
  static createInterface() {
297100
- return new Interface(_abi90);
299455
+ return new Interface(_abi100);
297101
299456
  }
297102
299457
  static connect(address, runner) {
297103
299458
  return new Contract(
297104
299459
  address,
297105
- _abi90,
299460
+ _abi100,
297106
299461
  runner
297107
299462
  );
297108
299463
  }
297109
299464
  };
297110
- var _abi91 = [
299465
+ var _abi101 = [
297111
299466
  {
297112
299467
  type: "function",
297113
299468
  name: "_gearboxAdapterType",
@@ -297976,19 +300331,19 @@ var _abi91 = [
297976
300331
  }
297977
300332
  ];
297978
300333
  var ICurveV1_StableNGAdapter__factory = class {
297979
- static abi = _abi91;
300334
+ static abi = _abi101;
297980
300335
  static createInterface() {
297981
- return new Interface(_abi91);
300336
+ return new Interface(_abi101);
297982
300337
  }
297983
300338
  static connect(address, runner) {
297984
300339
  return new Contract(
297985
300340
  address,
297986
- _abi91,
300341
+ _abi101,
297987
300342
  runner
297988
300343
  );
297989
300344
  }
297990
300345
  };
297991
- var _abi92 = [
300346
+ var _abi102 = [
297992
300347
  {
297993
300348
  type: "function",
297994
300349
  name: "permit",
@@ -298039,15 +300394,15 @@ var _abi92 = [
298039
300394
  }
298040
300395
  ];
298041
300396
  var IDaiLikePermit__factory = class {
298042
- static abi = _abi92;
300397
+ static abi = _abi102;
298043
300398
  static createInterface() {
298044
- return new Interface(_abi92);
300399
+ return new Interface(_abi102);
298045
300400
  }
298046
300401
  static connect(address, runner) {
298047
- return new Contract(address, _abi92, runner);
300402
+ return new Contract(address, _abi102, runner);
298048
300403
  }
298049
300404
  };
298050
- var _abi93 = [
300405
+ var _abi103 = [
298051
300406
  {
298052
300407
  type: "function",
298053
300408
  name: "_gearboxAdapterType",
@@ -298273,15 +300628,15 @@ var _abi93 = [
298273
300628
  }
298274
300629
  ];
298275
300630
  var IDaiUsdsAdapter__factory = class {
298276
- static abi = _abi93;
300631
+ static abi = _abi103;
298277
300632
  static createInterface() {
298278
- return new Interface(_abi93);
300633
+ return new Interface(_abi103);
298279
300634
  }
298280
300635
  static connect(address, runner) {
298281
- return new Contract(address, _abi93, runner);
300636
+ return new Contract(address, _abi103, runner);
298282
300637
  }
298283
300638
  };
298284
- var _abi94 = [
300639
+ var _abi104 = [
298285
300640
  {
298286
300641
  type: "function",
298287
300642
  name: "getAdapter",
@@ -299766,19 +302121,19 @@ var _abi94 = [
299766
302121
  }
299767
302122
  ];
299768
302123
  var IDataCompressorV2_1__factory = class {
299769
- static abi = _abi94;
302124
+ static abi = _abi104;
299770
302125
  static createInterface() {
299771
- return new Interface(_abi94);
302126
+ return new Interface(_abi104);
299772
302127
  }
299773
302128
  static connect(address, runner) {
299774
302129
  return new Contract(
299775
302130
  address,
299776
- _abi94,
302131
+ _abi104,
299777
302132
  runner
299778
302133
  );
299779
302134
  }
299780
302135
  };
299781
- var _abi95 = [
302136
+ var _abi105 = [
299782
302137
  {
299783
302138
  type: "function",
299784
302139
  name: "getCreditAccountData",
@@ -301782,15 +304137,15 @@ var _abi95 = [
301782
304137
  }
301783
304138
  ];
301784
304139
  var IDataCompressorV3__factory = class {
301785
- static abi = _abi95;
304140
+ static abi = _abi105;
301786
304141
  static createInterface() {
301787
- return new Interface(_abi95);
304142
+ return new Interface(_abi105);
301788
304143
  }
301789
304144
  static connect(address, runner) {
301790
- return new Contract(address, _abi95, runner);
304145
+ return new Contract(address, _abi105, runner);
301791
304146
  }
301792
304147
  };
301793
- var _abi96 = [
304148
+ var _abi106 = [
301794
304149
  {
301795
304150
  type: "function",
301796
304151
  name: "supportsInterface",
@@ -301812,15 +304167,15 @@ var _abi96 = [
301812
304167
  }
301813
304168
  ];
301814
304169
  var IERC165__factory = class {
301815
- static abi = _abi96;
304170
+ static abi = _abi106;
301816
304171
  static createInterface() {
301817
- return new Interface(_abi96);
304172
+ return new Interface(_abi106);
301818
304173
  }
301819
304174
  static connect(address, runner) {
301820
- return new Contract(address, _abi96, runner);
304175
+ return new Contract(address, _abi106, runner);
301821
304176
  }
301822
304177
  };
301823
- var _abi97 = [
304178
+ var _abi107 = [
301824
304179
  {
301825
304180
  type: "function",
301826
304181
  name: "allowance",
@@ -302006,15 +304361,15 @@ var _abi97 = [
302006
304361
  }
302007
304362
  ];
302008
304363
  var IERC20__factory = class {
302009
- static abi = _abi97;
304364
+ static abi = _abi107;
302010
304365
  static createInterface() {
302011
- return new Interface(_abi97);
304366
+ return new Interface(_abi107);
302012
304367
  }
302013
304368
  static connect(address, runner) {
302014
- return new Contract(address, _abi97, runner);
304369
+ return new Contract(address, _abi107, runner);
302015
304370
  }
302016
304371
  };
302017
- var _abi98 = [
304372
+ var _abi108 = [
302018
304373
  {
302019
304374
  type: "function",
302020
304375
  name: "allowance",
@@ -302239,15 +304594,15 @@ var _abi98 = [
302239
304594
  }
302240
304595
  ];
302241
304596
  var IERC20Metadata__factory = class {
302242
- static abi = _abi98;
304597
+ static abi = _abi108;
302243
304598
  static createInterface() {
302244
- return new Interface(_abi98);
304599
+ return new Interface(_abi108);
302245
304600
  }
302246
304601
  static connect(address, runner) {
302247
- return new Contract(address, _abi98, runner);
304602
+ return new Contract(address, _abi108, runner);
302248
304603
  }
302249
304604
  };
302250
- var _abi99 = [
304605
+ var _abi109 = [
302251
304606
  {
302252
304607
  type: "function",
302253
304608
  name: "DOMAIN_SEPARATOR",
@@ -302325,15 +304680,15 @@ var _abi99 = [
302325
304680
  }
302326
304681
  ];
302327
304682
  var IERC20Permit__factory = class {
302328
- static abi = _abi99;
304683
+ static abi = _abi109;
302329
304684
  static createInterface() {
302330
- return new Interface(_abi99);
304685
+ return new Interface(_abi109);
302331
304686
  }
302332
304687
  static connect(address, runner) {
302333
- return new Contract(address, _abi99, runner);
304688
+ return new Contract(address, _abi109, runner);
302334
304689
  }
302335
304690
  };
302336
- var _abi100 = [
304691
+ var _abi110 = [
302337
304692
  {
302338
304693
  type: "function",
302339
304694
  name: "deposit",
@@ -302585,19 +304940,19 @@ var _abi100 = [
302585
304940
  }
302586
304941
  ];
302587
304942
  var IERC20ZapperDeposits__factory = class {
302588
- static abi = _abi100;
304943
+ static abi = _abi110;
302589
304944
  static createInterface() {
302590
- return new Interface(_abi100);
304945
+ return new Interface(_abi110);
302591
304946
  }
302592
304947
  static connect(address, runner) {
302593
304948
  return new Contract(
302594
304949
  address,
302595
- _abi100,
304950
+ _abi110,
302596
304951
  runner
302597
304952
  );
302598
304953
  }
302599
304954
  };
302600
- var _abi101 = [
304955
+ var _abi111 = [
302601
304956
  {
302602
304957
  type: "function",
302603
304958
  name: "allowance",
@@ -303212,15 +305567,15 @@ var _abi101 = [
303212
305567
  }
303213
305568
  ];
303214
305569
  var IERC4626__factory = class {
303215
- static abi = _abi101;
305570
+ static abi = _abi111;
303216
305571
  static createInterface() {
303217
- return new Interface(_abi101);
305572
+ return new Interface(_abi111);
303218
305573
  }
303219
305574
  static connect(address, runner) {
303220
- return new Contract(address, _abi101, runner);
305575
+ return new Contract(address, _abi111, runner);
303221
305576
  }
303222
305577
  };
303223
- var _abi102 = [
305578
+ var _abi112 = [
303224
305579
  {
303225
305580
  type: "function",
303226
305581
  name: "_gearboxAdapterType",
@@ -303501,15 +305856,15 @@ var _abi102 = [
303501
305856
  }
303502
305857
  ];
303503
305858
  var IERC4626Adapter__factory = class {
303504
- static abi = _abi102;
305859
+ static abi = _abi112;
303505
305860
  static createInterface() {
303506
- return new Interface(_abi102);
305861
+ return new Interface(_abi112);
303507
305862
  }
303508
305863
  static connect(address, runner) {
303509
- return new Contract(address, _abi102, runner);
305864
+ return new Contract(address, _abi112, runner);
303510
305865
  }
303511
305866
  };
303512
- var _abi103 = [
305867
+ var _abi113 = [
303513
305868
  {
303514
305869
  type: "function",
303515
305870
  name: "approve",
@@ -303797,15 +306152,15 @@ var _abi103 = [
303797
306152
  }
303798
306153
  ];
303799
306154
  var IERC721__factory = class {
303800
- static abi = _abi103;
306155
+ static abi = _abi113;
303801
306156
  static createInterface() {
303802
- return new Interface(_abi103);
306157
+ return new Interface(_abi113);
303803
306158
  }
303804
306159
  static connect(address, runner) {
303805
- return new Contract(address, _abi103, runner);
306160
+ return new Contract(address, _abi113, runner);
303806
306161
  }
303807
306162
  };
303808
- var _abi104 = [
306163
+ var _abi114 = [
303809
306164
  {
303810
306165
  type: "function",
303811
306166
  name: "approve",
@@ -304138,15 +306493,15 @@ var _abi104 = [
304138
306493
  }
304139
306494
  ];
304140
306495
  var IERC721Metadata__factory = class {
304141
- static abi = _abi104;
306496
+ static abi = _abi114;
304142
306497
  static createInterface() {
304143
- return new Interface(_abi104);
306498
+ return new Interface(_abi114);
304144
306499
  }
304145
306500
  static connect(address, runner) {
304146
- return new Contract(address, _abi104, runner);
306501
+ return new Contract(address, _abi114, runner);
304147
306502
  }
304148
306503
  };
304149
- var _abi105 = [
306504
+ var _abi115 = [
304150
306505
  {
304151
306506
  type: "function",
304152
306507
  name: "permit",
@@ -304182,15 +306537,15 @@ var _abi105 = [
304182
306537
  }
304183
306538
  ];
304184
306539
  var IERC7597Permit__factory = class {
304185
- static abi = _abi105;
306540
+ static abi = _abi115;
304186
306541
  static createInterface() {
304187
- return new Interface(_abi105);
306542
+ return new Interface(_abi115);
304188
306543
  }
304189
306544
  static connect(address, runner) {
304190
- return new Contract(address, _abi105, runner);
306545
+ return new Contract(address, _abi115, runner);
304191
306546
  }
304192
306547
  };
304193
- var _abi106 = [
306548
+ var _abi116 = [
304194
306549
  {
304195
306550
  type: "function",
304196
306551
  name: "deposit",
@@ -304236,15 +306591,15 @@ var _abi106 = [
304236
306591
  }
304237
306592
  ];
304238
306593
  var IETHZapperDeposits__factory = class {
304239
- static abi = _abi106;
306594
+ static abi = _abi116;
304240
306595
  static createInterface() {
304241
- return new Interface(_abi106);
306596
+ return new Interface(_abi116);
304242
306597
  }
304243
306598
  static connect(address, runner) {
304244
- return new Contract(address, _abi106, runner);
306599
+ return new Contract(address, _abi116, runner);
304245
306600
  }
304246
306601
  };
304247
- var _abi107 = [
306602
+ var _abi117 = [
304248
306603
  {
304249
306604
  type: "error",
304250
306605
  name: "ActiveCreditAccountNotSetException",
@@ -304699,15 +307054,15 @@ var _abi107 = [
304699
307054
  }
304700
307055
  ];
304701
307056
  var IExceptions__factory = class {
304702
- static abi = _abi107;
307057
+ static abi = _abi117;
304703
307058
  static createInterface() {
304704
- return new Interface(_abi107);
307059
+ return new Interface(_abi117);
304705
307060
  }
304706
307061
  static connect(address, runner) {
304707
- return new Contract(address, _abi107, runner);
307062
+ return new Contract(address, _abi117, runner);
304708
307063
  }
304709
307064
  };
304710
- var _abi108 = [
307065
+ var _abi118 = [
304711
307066
  {
304712
307067
  type: "function",
304713
307068
  name: "executionId",
@@ -304723,15 +307078,15 @@ var _abi108 = [
304723
307078
  }
304724
307079
  ];
304725
307080
  var IExecutionId__factory = class {
304726
- static abi = _abi108;
307081
+ static abi = _abi118;
304727
307082
  static createInterface() {
304728
- return new Interface(_abi108);
307083
+ return new Interface(_abi118);
304729
307084
  }
304730
307085
  static connect(address, runner) {
304731
- return new Contract(address, _abi108, runner);
307086
+ return new Contract(address, _abi118, runner);
304732
307087
  }
304733
307088
  };
304734
- var _abi109 = [
307089
+ var _abi119 = [
304735
307090
  {
304736
307091
  type: "function",
304737
307092
  name: "allowance",
@@ -305073,15 +307428,15 @@ var _abi109 = [
305073
307428
  }
305074
307429
  ];
305075
307430
  var IFarmingPool__factory = class {
305076
- static abi = _abi109;
307431
+ static abi = _abi119;
305077
307432
  static createInterface() {
305078
- return new Interface(_abi109);
307433
+ return new Interface(_abi119);
305079
307434
  }
305080
307435
  static connect(address, runner) {
305081
- return new Contract(address, _abi109, runner);
307436
+ return new Contract(address, _abi119, runner);
305082
307437
  }
305083
307438
  };
305084
- var _abi110 = [
307439
+ var _abi120 = [
305085
307440
  {
305086
307441
  type: "function",
305087
307442
  name: "claim",
@@ -305117,15 +307472,15 @@ var _abi110 = [
305117
307472
  }
305118
307473
  ];
305119
307474
  var IFaucet__factory = class {
305120
- static abi = _abi110;
307475
+ static abi = _abi120;
305121
307476
  static createInterface() {
305122
- return new Interface(_abi110);
307477
+ return new Interface(_abi120);
305123
307478
  }
305124
307479
  static connect(address, runner) {
305125
- return new Contract(address, _abi110, runner);
307480
+ return new Contract(address, _abi120, runner);
305126
307481
  }
305127
307482
  };
305128
- var _abi111 = [
307483
+ var _abi121 = [
305129
307484
  {
305130
307485
  type: "function",
305131
307486
  name: "addQueueAdmin",
@@ -305676,15 +308031,15 @@ var _abi111 = [
305676
308031
  }
305677
308032
  ];
305678
308033
  var IGovernor__factory = class {
305679
- static abi = _abi111;
308034
+ static abi = _abi121;
305680
308035
  static createInterface() {
305681
- return new Interface(_abi111);
308036
+ return new Interface(_abi121);
305682
308037
  }
305683
308038
  static connect(address, runner) {
305684
- return new Contract(address, _abi111, runner);
308039
+ return new Contract(address, _abi121, runner);
305685
308040
  }
305686
308041
  };
305687
- var _abi112 = [
308042
+ var _abi122 = [
305688
308043
  {
305689
308044
  type: "function",
305690
308045
  name: "_gearboxAdapterType",
@@ -305865,15 +308220,15 @@ var _abi112 = [
305865
308220
  }
305866
308221
  ];
305867
308222
  var ILidoV1Adapter__factory = class {
305868
- static abi = _abi112;
308223
+ static abi = _abi122;
305869
308224
  static createInterface() {
305870
- return new Interface(_abi112);
308225
+ return new Interface(_abi122);
305871
308226
  }
305872
308227
  static connect(address, runner) {
305873
- return new Contract(address, _abi112, runner);
308228
+ return new Contract(address, _abi122, runner);
305874
308229
  }
305875
308230
  };
305876
- var _abi113 = [
308231
+ var _abi123 = [
305877
308232
  {
305878
308233
  type: "function",
305879
308234
  name: "availableToBorrow",
@@ -305993,19 +308348,19 @@ var _abi113 = [
305993
308348
  }
305994
308349
  ];
305995
308350
  var ILinearInterestRateModelV3__factory = class {
305996
- static abi = _abi113;
308351
+ static abi = _abi123;
305997
308352
  static createInterface() {
305998
- return new Interface(_abi113);
308353
+ return new Interface(_abi123);
305999
308354
  }
306000
308355
  static connect(address, runner) {
306001
308356
  return new Contract(
306002
308357
  address,
306003
- _abi113,
308358
+ _abi123,
306004
308359
  runner
306005
308360
  );
306006
308361
  }
306007
308362
  };
306008
- var _abi114 = [
308363
+ var _abi124 = [
306009
308364
  {
306010
308365
  type: "function",
306011
308366
  name: "pauseAllContracts",
@@ -306062,15 +308417,15 @@ var _abi114 = [
306062
308417
  }
306063
308418
  ];
306064
308419
  var IMultiPause__factory = class {
306065
- static abi = _abi114;
308420
+ static abi = _abi124;
306066
308421
  static createInterface() {
306067
- return new Interface(_abi114);
308422
+ return new Interface(_abi124);
306068
308423
  }
306069
308424
  static connect(address, runner) {
306070
- return new Contract(address, _abi114, runner);
308425
+ return new Contract(address, _abi124, runner);
306071
308426
  }
306072
308427
  };
306073
- var _abi115 = [
308428
+ var _abi125 = [
306074
308429
  {
306075
308430
  type: "function",
306076
308431
  name: "aggregate",
@@ -306511,15 +308866,15 @@ var _abi115 = [
306511
308866
  }
306512
308867
  ];
306513
308868
  var IMulticall3__factory = class {
306514
- static abi = _abi115;
308869
+ static abi = _abi125;
306515
308870
  static createInterface() {
306516
- return new Interface(_abi115);
308871
+ return new Interface(_abi125);
306517
308872
  }
306518
308873
  static connect(address, runner) {
306519
- return new Contract(address, _abi115, runner);
308874
+ return new Contract(address, _abi125, runner);
306520
308875
  }
306521
308876
  };
306522
- var _abi116 = [
308877
+ var _abi126 = [
306523
308878
  {
306524
308879
  type: "function",
306525
308880
  name: "feeScaleFactor",
@@ -306790,19 +309145,19 @@ var _abi116 = [
306790
309145
  }
306791
309146
  ];
306792
309147
  var IPartialLiquidationBotV3__factory = class {
306793
- static abi = _abi116;
309148
+ static abi = _abi126;
306794
309149
  static createInterface() {
306795
- return new Interface(_abi116);
309150
+ return new Interface(_abi126);
306796
309151
  }
306797
309152
  static connect(address, runner) {
306798
309153
  return new Contract(
306799
309154
  address,
306800
- _abi116,
309155
+ _abi126,
306801
309156
  runner
306802
309157
  );
306803
309158
  }
306804
309159
  };
306805
- var _abi117 = [
309160
+ var _abi127 = [
306806
309161
  {
306807
309162
  type: "function",
306808
309163
  name: "allowance",
@@ -306941,15 +309296,15 @@ var _abi117 = [
306941
309296
  }
306942
309297
  ];
306943
309298
  var IPermit2__factory = class {
306944
- static abi = _abi117;
309299
+ static abi = _abi127;
306945
309300
  static createInterface() {
306946
- return new Interface(_abi117);
309301
+ return new Interface(_abi127);
306947
309302
  }
306948
309303
  static connect(address, runner) {
306949
- return new Contract(address, _abi117, runner);
309304
+ return new Contract(address, _abi127, runner);
306950
309305
  }
306951
309306
  };
306952
- var _abi118 = [
309307
+ var _abi128 = [
306953
309308
  {
306954
309309
  type: "function",
306955
309310
  name: "convert",
@@ -307080,15 +309435,15 @@ var _abi118 = [
307080
309435
  }
307081
309436
  ];
307082
309437
  var IPriceOracleBase__factory = class {
307083
- static abi = _abi118;
309438
+ static abi = _abi128;
307084
309439
  static createInterface() {
307085
- return new Interface(_abi118);
309440
+ return new Interface(_abi128);
307086
309441
  }
307087
309442
  static connect(address, runner) {
307088
- return new Contract(address, _abi118, runner);
309443
+ return new Contract(address, _abi128, runner);
307089
309444
  }
307090
309445
  };
307091
- var _abi119 = [
309446
+ var _abi129 = [
307092
309447
  {
307093
309448
  type: "error",
307094
309449
  name: "CalldataMustHaveValidPayload",
@@ -307148,15 +309503,15 @@ var _abi119 = [
307148
309503
  }
307149
309504
  ];
307150
309505
  var IRedstoneErrors__factory = class {
307151
- static abi = _abi119;
309506
+ static abi = _abi129;
307152
309507
  static createInterface() {
307153
- return new Interface(_abi119);
309508
+ return new Interface(_abi129);
307154
309509
  }
307155
309510
  static connect(address, runner) {
307156
- return new Contract(address, _abi119, runner);
309511
+ return new Contract(address, _abi129, runner);
307157
309512
  }
307158
309513
  };
307159
- var _abi120 = [
309514
+ var _abi130 = [
307160
309515
  {
307161
309516
  type: "function",
307162
309517
  name: "dataFeedId",
@@ -307496,15 +309851,15 @@ var _abi120 = [
307496
309851
  }
307497
309852
  ];
307498
309853
  var IRedstonePriceFeed__factory = class {
307499
- static abi = _abi120;
309854
+ static abi = _abi130;
307500
309855
  static createInterface() {
307501
- return new Interface(_abi120);
309856
+ return new Interface(_abi130);
307502
309857
  }
307503
309858
  static connect(address, runner) {
307504
- return new Contract(address, _abi120, runner);
309859
+ return new Contract(address, _abi130, runner);
307505
309860
  }
307506
309861
  };
307507
- var _abi121 = [
309862
+ var _abi131 = [
307508
309863
  {
307509
309864
  type: "function",
307510
309865
  name: "componentAddressById",
@@ -308284,19 +310639,19 @@ var _abi121 = [
308284
310639
  }
308285
310640
  ];
308286
310641
  var IRouterConfiguratorV3__factory = class {
308287
- static abi = _abi121;
310642
+ static abi = _abi131;
308288
310643
  static createInterface() {
308289
- return new Interface(_abi121);
310644
+ return new Interface(_abi131);
308290
310645
  }
308291
310646
  static connect(address, runner) {
308292
310647
  return new Contract(
308293
310648
  address,
308294
- _abi121,
310649
+ _abi131,
308295
310650
  runner
308296
310651
  );
308297
310652
  }
308298
310653
  };
308299
- var _abi122 = [
310654
+ var _abi132 = [
308300
310655
  {
308301
310656
  type: "function",
308302
310657
  name: "componentAddressById",
@@ -308956,15 +311311,15 @@ var _abi122 = [
308956
311311
  }
308957
311312
  ];
308958
311313
  var IRouterV3__factory = class {
308959
- static abi = _abi122;
311314
+ static abi = _abi132;
308960
311315
  static createInterface() {
308961
- return new Interface(_abi122);
311316
+ return new Interface(_abi132);
308962
311317
  }
308963
311318
  static connect(address, runner) {
308964
- return new Contract(address, _abi122, runner);
311319
+ return new Contract(address, _abi132, runner);
308965
311320
  }
308966
311321
  };
308967
- var _abi123 = [
311322
+ var _abi133 = [
308968
311323
  {
308969
311324
  type: "error",
308970
311325
  name: "PathNotFoundException",
@@ -309026,15 +311381,15 @@ var _abi123 = [
309026
311381
  }
309027
311382
  ];
309028
311383
  var IRouterV3Errors__factory = class {
309029
- static abi = _abi123;
311384
+ static abi = _abi133;
309030
311385
  static createInterface() {
309031
- return new Interface(_abi123);
311386
+ return new Interface(_abi133);
309032
311387
  }
309033
311388
  static connect(address, runner) {
309034
- return new Contract(address, _abi123, runner);
311389
+ return new Contract(address, _abi133, runner);
309035
311390
  }
309036
311391
  };
309037
- var _abi124 = [
311392
+ var _abi134 = [
309038
311393
  {
309039
311394
  type: "function",
309040
311395
  name: "_gearboxAdapterType",
@@ -309294,19 +311649,19 @@ var _abi124 = [
309294
311649
  }
309295
311650
  ];
309296
311651
  var IStakingRewardsAdapter__factory = class {
309297
- static abi = _abi124;
311652
+ static abi = _abi134;
309298
311653
  static createInterface() {
309299
- return new Interface(_abi124);
311654
+ return new Interface(_abi134);
309300
311655
  }
309301
311656
  static connect(address, runner) {
309302
311657
  return new Contract(
309303
311658
  address,
309304
- _abi124,
311659
+ _abi134,
309305
311660
  runner
309306
311661
  );
309307
311662
  }
309308
311663
  };
309309
- var _abi125 = [
311664
+ var _abi135 = [
309310
311665
  {
309311
311666
  type: "function",
309312
311667
  name: "acceptAdmin",
@@ -309498,15 +311853,15 @@ var _abi125 = [
309498
311853
  }
309499
311854
  ];
309500
311855
  var ITimelock__factory = class {
309501
- static abi = _abi125;
311856
+ static abi = _abi135;
309502
311857
  static createInterface() {
309503
- return new Interface(_abi125);
311858
+ return new Interface(_abi135);
309504
311859
  }
309505
311860
  static connect(address, runner) {
309506
- return new Contract(address, _abi125, runner);
311861
+ return new Contract(address, _abi135, runner);
309507
311862
  }
309508
311863
  };
309509
- var _abi126 = [
311864
+ var _abi136 = [
309510
311865
  {
309511
311866
  type: "function",
309512
311867
  name: "defaultFactory",
@@ -309642,15 +311997,15 @@ var _abi126 = [
309642
311997
  }
309643
311998
  ];
309644
311999
  var IVelodromeV2Router__factory = class {
309645
- static abi = _abi126;
312000
+ static abi = _abi136;
309646
312001
  static createInterface() {
309647
- return new Interface(_abi126);
312002
+ return new Interface(_abi136);
309648
312003
  }
309649
312004
  static connect(address, runner) {
309650
- return new Contract(address, _abi126, runner);
312005
+ return new Contract(address, _abi136, runner);
309651
312006
  }
309652
312007
  };
309653
- var _abi127 = [
312008
+ var _abi137 = [
309654
312009
  {
309655
312010
  type: "function",
309656
312011
  name: "version",
@@ -309666,15 +312021,15 @@ var _abi127 = [
309666
312021
  }
309667
312022
  ];
309668
312023
  var IVersion__factory = class {
309669
- static abi = _abi127;
312024
+ static abi = _abi137;
309670
312025
  static createInterface() {
309671
- return new Interface(_abi127);
312026
+ return new Interface(_abi137);
309672
312027
  }
309673
312028
  static connect(address, runner) {
309674
- return new Contract(address, _abi127, runner);
312029
+ return new Contract(address, _abi137, runner);
309675
312030
  }
309676
312031
  };
309677
- var _abi128 = [
312032
+ var _abi138 = [
309678
312033
  {
309679
312034
  type: "function",
309680
312035
  name: "unvote",
@@ -309723,15 +312078,15 @@ var _abi128 = [
309723
312078
  }
309724
312079
  ];
309725
312080
  var IVotingContractV3__factory = class {
309726
- static abi = _abi128;
312081
+ static abi = _abi138;
309727
312082
  static createInterface() {
309728
- return new Interface(_abi128);
312083
+ return new Interface(_abi138);
309729
312084
  }
309730
312085
  static connect(address, runner) {
309731
- return new Contract(address, _abi128, runner);
312086
+ return new Contract(address, _abi138, runner);
309732
312087
  }
309733
312088
  };
309734
- var _abi129 = [
312089
+ var _abi139 = [
309735
312090
  {
309736
312091
  type: "function",
309737
312092
  name: "allowance",
@@ -309975,15 +312330,15 @@ var _abi129 = [
309975
312330
  }
309976
312331
  ];
309977
312332
  var IWETH__factory = class {
309978
- static abi = _abi129;
312333
+ static abi = _abi139;
309979
312334
  static createInterface() {
309980
- return new Interface(_abi129);
312335
+ return new Interface(_abi139);
309981
312336
  }
309982
312337
  static connect(address, runner) {
309983
- return new Contract(address, _abi129, runner);
312338
+ return new Contract(address, _abi139, runner);
309984
312339
  }
309985
312340
  };
309986
- var _abi130 = [
312341
+ var _abi140 = [
309987
312342
  {
309988
312343
  type: "function",
309989
312344
  name: "allowance",
@@ -310375,15 +312730,15 @@ var _abi130 = [
310375
312730
  }
310376
312731
  ];
310377
312732
  var IYVault__factory = class {
310378
- static abi = _abi130;
312733
+ static abi = _abi140;
310379
312734
  static createInterface() {
310380
- return new Interface(_abi130);
312735
+ return new Interface(_abi140);
310381
312736
  }
310382
312737
  static connect(address, runner) {
310383
- return new Contract(address, _abi130, runner);
312738
+ return new Contract(address, _abi140, runner);
310384
312739
  }
310385
312740
  };
310386
- var _abi131 = [
312741
+ var _abi141 = [
310387
312742
  {
310388
312743
  type: "function",
310389
312744
  name: "_gearboxAdapterType",
@@ -310678,15 +313033,15 @@ var _abi131 = [
310678
313033
  }
310679
313034
  ];
310680
313035
  var IYearnV2Adapter__factory = class {
310681
- static abi = _abi131;
313036
+ static abi = _abi141;
310682
313037
  static createInterface() {
310683
- return new Interface(_abi131);
313038
+ return new Interface(_abi141);
310684
313039
  }
310685
313040
  static connect(address, runner) {
310686
- return new Contract(address, _abi131, runner);
313041
+ return new Contract(address, _abi141, runner);
310687
313042
  }
310688
313043
  };
310689
- var _abi132 = [
313044
+ var _abi142 = [
310690
313045
  {
310691
313046
  type: "function",
310692
313047
  name: "pool",
@@ -310896,15 +313251,15 @@ var _abi132 = [
310896
313251
  }
310897
313252
  ];
310898
313253
  var IZapper__factory = class {
310899
- static abi = _abi132;
313254
+ static abi = _abi142;
310900
313255
  static createInterface() {
310901
- return new Interface(_abi132);
313256
+ return new Interface(_abi142);
310902
313257
  }
310903
313258
  static connect(address, runner) {
310904
- return new Contract(address, _abi132, runner);
313259
+ return new Contract(address, _abi142, runner);
310905
313260
  }
310906
313261
  };
310907
- var _abi133 = [
313262
+ var _abi143 = [
310908
313263
  {
310909
313264
  type: "function",
310910
313265
  name: "zappers",
@@ -310952,15 +313307,15 @@ var _abi133 = [
310952
313307
  }
310953
313308
  ];
310954
313309
  var IZapperRegister__factory = class {
310955
- static abi = _abi133;
313310
+ static abi = _abi143;
310956
313311
  static createInterface() {
310957
- return new Interface(_abi133);
313312
+ return new Interface(_abi143);
310958
313313
  }
310959
313314
  static connect(address, runner) {
310960
- return new Contract(address, _abi133, runner);
313315
+ return new Contract(address, _abi143, runner);
310961
313316
  }
310962
313317
  };
310963
- var _abi134 = [
313318
+ var _abi144 = [
310964
313319
  {
310965
313320
  type: "function",
310966
313321
  name: "_gearboxAdapterType",
@@ -311163,15 +313518,15 @@ var _abi134 = [
311163
313518
  }
311164
313519
  ];
311165
313520
  var IwstETHV1Adapter__factory = class {
311166
- static abi = _abi134;
313521
+ static abi = _abi144;
311167
313522
  static createInterface() {
311168
- return new Interface(_abi134);
313523
+ return new Interface(_abi144);
311169
313524
  }
311170
313525
  static connect(address, runner) {
311171
- return new Contract(address, _abi134, runner);
313526
+ return new Contract(address, _abi144, runner);
311172
313527
  }
311173
313528
  };
311174
- var _abi135 = [
313529
+ var _abi145 = [
311175
313530
  {
311176
313531
  type: "function",
311177
313532
  name: "aggregateValues",
@@ -311378,19 +313733,19 @@ var _abi135 = [
311378
313733
  }
311379
313734
  ];
311380
313735
  var RedstoneConsumerBase__factory = class {
311381
- static abi = _abi135;
313736
+ static abi = _abi145;
311382
313737
  static createInterface() {
311383
- return new Interface(_abi135);
313738
+ return new Interface(_abi145);
311384
313739
  }
311385
313740
  static connect(address, runner) {
311386
313741
  return new Contract(
311387
313742
  address,
311388
- _abi135,
313743
+ _abi145,
311389
313744
  runner
311390
313745
  );
311391
313746
  }
311392
313747
  };
311393
- var _abi136 = [
313748
+ var _abi146 = [
311394
313749
  {
311395
313750
  type: "function",
311396
313751
  name: "aggregateValues",
@@ -311597,14 +313952,14 @@ var _abi136 = [
311597
313952
  }
311598
313953
  ];
311599
313954
  var RedstoneConsumerNumericBase__factory = class {
311600
- static abi = _abi136;
313955
+ static abi = _abi146;
311601
313956
  static createInterface() {
311602
- return new Interface(_abi136);
313957
+ return new Interface(_abi146);
311603
313958
  }
311604
313959
  static connect(address, runner) {
311605
313960
  return new Contract(
311606
313961
  address,
311607
- _abi136,
313962
+ _abi146,
311608
313963
  runner
311609
313964
  );
311610
313965
  }
@@ -311709,13 +314064,11 @@ var decorateErrorWithCounts = (error, attemptNumber, options) => {
311709
314064
  };
311710
314065
  async function pRetry(input, options) {
311711
314066
  return new Promise((resolve2, reject) => {
311712
- options = {
311713
- onFailedAttempt() {
311714
- },
311715
- retries: 10,
311716
- shouldRetry: () => true,
311717
- ...options
314067
+ options = { ...options };
314068
+ options.onFailedAttempt ??= () => {
311718
314069
  };
314070
+ options.shouldRetry ??= () => true;
314071
+ options.retries ??= 10;
311719
314072
  const operation = import_retry.default.operation(options);
311720
314073
  const abortHandler = () => {
311721
314074
  operation.stop();
@@ -315393,7 +317746,7 @@ __export3(IACL_exports2, {
315393
317746
  IACLExceptions__factory: () => IACLExceptions__factory2,
315394
317747
  IACL__factory: () => IACL__factory2
315395
317748
  });
315396
- var _abi137 = [
317749
+ var _abi147 = [
315397
317750
  {
315398
317751
  type: "function",
315399
317752
  name: "isConfigurator",
@@ -315553,12 +317906,12 @@ var _abi137 = [
315553
317906
  }
315554
317907
  ];
315555
317908
  var IACL__factory2 = class {
315556
- static abi = _abi137;
317909
+ static abi = _abi147;
315557
317910
  static createInterface() {
315558
- return new Interface(_abi137);
317911
+ return new Interface(_abi147);
315559
317912
  }
315560
317913
  static connect(address, runner) {
315561
- return new Contract(address, _abi137, runner);
317914
+ return new Contract(address, _abi147, runner);
315562
317915
  }
315563
317916
  };
315564
317917
  var _abi210 = [
@@ -318752,7 +321105,7 @@ var ICreditFacadeV2Events__factory = class {
318752
321105
  );
318753
321106
  }
318754
321107
  };
318755
- var _abi138 = [
321108
+ var _abi1310 = [
318756
321109
  {
318757
321110
  type: "error",
318758
321111
  name: "AccountTransferNotAllowedException",
@@ -318921,19 +321274,19 @@ var _abi138 = [
318921
321274
  }
318922
321275
  ];
318923
321276
  var ICreditFacadeV2Exceptions__factory = class {
318924
- static abi = _abi138;
321277
+ static abi = _abi1310;
318925
321278
  static createInterface() {
318926
- return new Interface(_abi138);
321279
+ return new Interface(_abi1310);
318927
321280
  }
318928
321281
  static connect(address, runner) {
318929
321282
  return new Contract(
318930
321283
  address,
318931
- _abi138,
321284
+ _abi1310,
318932
321285
  runner
318933
321286
  );
318934
321287
  }
318935
321288
  };
318936
- var _abi142 = [
321289
+ var _abi148 = [
318937
321290
  {
318938
321291
  type: "function",
318939
321292
  name: "addCollateral",
@@ -319031,14 +321384,14 @@ var _abi142 = [
319031
321384
  }
319032
321385
  ];
319033
321386
  var ICreditFacadeV2Extended__factory = class {
319034
- static abi = _abi142;
321387
+ static abi = _abi148;
319035
321388
  static createInterface() {
319036
- return new Interface(_abi142);
321389
+ return new Interface(_abi148);
319037
321390
  }
319038
321391
  static connect(address, runner) {
319039
321392
  return new Contract(
319040
321393
  address,
319041
- _abi142,
321394
+ _abi148,
319042
321395
  runner
319043
321396
  );
319044
321397
  }
@@ -325902,7 +328255,7 @@ __export4(factories_exports3, {
325902
328255
  ICreditFilter__factory: () => ICreditFilter__factory2,
325903
328256
  ICreditManager__factory: () => ICreditManager__factory2
325904
328257
  });
325905
- var _abi139 = [
328258
+ var _abi149 = [
325906
328259
  {
325907
328260
  type: "function",
325908
328261
  name: "allowContract",
@@ -326583,12 +328936,12 @@ var _abi139 = [
326583
328936
  }
326584
328937
  ];
326585
328938
  var ICreditFilter__factory2 = class {
326586
- static abi = _abi139;
328939
+ static abi = _abi149;
326587
328940
  static createInterface() {
326588
- return new Interface(_abi139);
328941
+ return new Interface(_abi149);
326589
328942
  }
326590
328943
  static connect(address, runner) {
326591
- return new Contract(address, _abi139, runner);
328944
+ return new Contract(address, _abi149, runner);
326592
328945
  }
326593
328946
  };
326594
328947
  var _abi211 = [
@@ -329398,7 +331751,9 @@ var ADAPTER_NAMES = {
329398
331751
  // CONVEX_L2_REWARD_POOL, // 26
329399
331752
  // AAVE_V3_LENDING_POOL, // 27
329400
331753
  StakingRewardsAdapter: "ADAPTER_STAKING_REWARDS",
329401
- DaiUsdsAdapter: "ADAPTER_DAI_USDS_EXCHANGE"
331754
+ DaiUsdsAdapter: "ADAPTER_DAI_USDS_EXCHANGE",
331755
+ MellowVaultAdapter: "ADAPTER_MELLOW_LRT_VAULT",
331756
+ PendleRouterAdapter: "ADAPTER_PENDLE_ROUTER"
329402
331757
  };
329403
331758
 
329404
331759
  // ../../packages/node/dist/parsers/adapters/AaveV2LendingPoolAdapterParser.js
@@ -329647,6 +332002,28 @@ var LidoWstethV1AdapterParser = class extends AbstractParser {
329647
332002
  }
329648
332003
  };
329649
332004
 
332005
+ // ../../packages/node/dist/parsers/adapters/MellowVaultAdapterParser.js
332006
+ var MellowVaultAdapterParser = class extends AbstractParser {
332007
+ constructor(contractType) {
332008
+ super(contractType, "constructor(address _creditManager, address _mellowVault)");
332009
+ this._iFace = IMellowVaultAdapter__factory.createInterface();
332010
+ this.parameterParsers = {
332011
+ constructor: [parseAddress(), parseAddress()]
332012
+ };
332013
+ }
332014
+ };
332015
+
332016
+ // ../../packages/node/dist/parsers/adapters/PendleRouterAdapterParser.js
332017
+ var PendlerRouterAdapterParser = class extends AbstractParser {
332018
+ constructor(contractType) {
332019
+ super(contractType, "constructor(address _creditManager, address _pendleRouter)");
332020
+ this._iFace = IPendleRouterAdapter__factory.createInterface();
332021
+ this.parameterParsers = {
332022
+ constructor: [parseAddress(), parseAddress()]
332023
+ };
332024
+ }
332025
+ };
332026
+
329650
332027
  // ../../packages/node/dist/parsers/adapters/StakingRewardsAdapter.js
329651
332028
  var StakingRewardsAdapter = class extends AbstractParser {
329652
332029
  constructor(contractType) {
@@ -329805,6 +332182,10 @@ function adapterParser(contract, version3, contractName) {
329805
332182
  return new DaiUsdsExchangeAdapter(contract);
329806
332183
  case "ADAPTER_STAKING_REWARDS":
329807
332184
  return new StakingRewardsAdapter(contract);
332185
+ case "ADAPTER_PENDLE_ROUTER":
332186
+ return new PendlerRouterAdapterParser(contract);
332187
+ case "ADAPTER_MELLOW_LRT_VAULT":
332188
+ return new MellowVaultAdapterParser(contract);
329808
332189
  }
329809
332190
  }
329810
332191
 
@@ -330405,8 +332786,13 @@ var FEED_NAMES = {
330405
332786
  ERC4626PriceFeed: "PRICE_FEED_ERC4626_VAULT_ORACLE",
330406
332787
  // = 16,
330407
332788
  // "": "PRICE_FEED_NETWORK_DEPENDENT", // = 17,
330408
- CurveUSDPriceFeed: "PRICE_FEED_CURVE_USD_ORACLE"
332789
+ CurveUSDPriceFeed: "PRICE_FEED_CURVE_USD_ORACLE",
330409
332790
  // = 18
332791
+ // PRICE_FEED_PYTH_ORACLE // 19
332792
+ MellowLRTPriceFeed: "PRICE_FEED_MELLOW_LRT_ORACLE",
332793
+ // = 20
332794
+ PendleTWAPPTPriceFeed: "PRICE_FEED_PENDLE_PT_TWAP_ORACLE"
332795
+ // = 21
330410
332796
  };
330411
332797
 
330412
332798
  // ../../packages/node/dist/parsers/feeds/BoundedPriceFeedParser.js
@@ -330830,6 +333216,23 @@ var MellowPriceFeedParser = class extends AbstractParser {
330830
333216
  }
330831
333217
  };
330832
333218
 
333219
+ // ../../packages/node/dist/parsers/feeds/PendleTWAPPTPriceFeedParser.js
333220
+ var PendleTWAPPTPriceFeedParser = class extends AbstractParser {
333221
+ constructor(contractType) {
333222
+ super(contractType, "constructor(address _market, address _priceFeed, uint32 _stalenessPeriod, uint32 _twapWindow)");
333223
+ this._iFace = augmentInterface(ILPPriceFeed__factory.createInterface(), "function setController(address newController) external");
333224
+ this.parameterParsers = {
333225
+ constructor: [
333226
+ parseAddress(),
333227
+ parseAddress(),
333228
+ parseDuration(),
333229
+ parseDuration()
333230
+ ],
333231
+ "setController(address)": [parseAddress()]
333232
+ };
333233
+ }
333234
+ };
333235
+
330833
333236
  // ../../packages/node/dist/parsers/feeds/RedstonePriceFeedParser.js
330834
333237
  var RedstonePriceFeedParser = class extends AbstractParser {
330835
333238
  constructor(contractType) {
@@ -330975,6 +333378,8 @@ function priceFeedParser(contract, version3, contractName) {
330975
333378
  return new CompositePriceFeedParser(contract);
330976
333379
  case "PRICE_FEED_MELLOW_LRT_ORACLE":
330977
333380
  return new MellowPriceFeedParser(contract);
333381
+ case "PRICE_FEED_PENDLE_PT_TWAP_ORACLE":
333382
+ return new PendleTWAPPTPriceFeedParser(contract);
330978
333383
  case "PRICE_FEED_PYTH_ORACLE":
330979
333384
  case "PRICE_FEED_CHAINLINK_ORACLE":
330980
333385
  case "PRICE_FEED_THE_SAME_AS":
@@ -332795,7 +335200,7 @@ function getRenderer(opts) {
332795
335200
  }
332796
335201
 
332797
335202
  // package.json
332798
- var version2 = "4.61.22";
335203
+ var version2 = "4.61.24";
332799
335204
 
332800
335205
  // src/version.ts
332801
335206
  var version_default = version2;