@gearbox-protocol/deploy-tools 4.22.0 → 4.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +411 -94
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -7087,6 +7087,12 @@ var require_ghoConfigMainnet = __commonJS({
7087
7087
  },
7088
7088
  ratesAndLimits: {
7089
7089
  // TRADEABLE TOKENS
7090
+ USDC: {
7091
+ minRate: 4,
7092
+ maxRate: 1200,
7093
+ quotaIncreaseFee: 1,
7094
+ limit: BigInt(3e7) * POOL_DECIMALS
7095
+ },
7090
7096
  DAI: {
7091
7097
  minRate: 4,
7092
7098
  maxRate: 1200,
@@ -8493,7 +8499,7 @@ var require_usdtConfigMainnet = __commonJS({
8493
8499
  exports2.usdtConfigMainnet = void 0;
8494
8500
  var POOL_DECIMALS = BigInt(1e6);
8495
8501
  var tier1CreditManager = {
8496
- name: "USDT Tier 1",
8502
+ name: "Universal USDT Tier 1",
8497
8503
  degenNft: false,
8498
8504
  expirationDate: void 0,
8499
8505
  minDebt: BigInt(2e4) * POOL_DECIMALS,
@@ -8545,7 +8551,7 @@ var require_usdtConfigMainnet = __commonJS({
8545
8551
  exports2.usdtConfigMainnet = {
8546
8552
  id: "mainnet-usdt-v3",
8547
8553
  symbol: "dUSDTV3",
8548
- name: "USDT v3",
8554
+ name: "Universal USDT v3",
8549
8555
  network: "Mainnet",
8550
8556
  underlying: "USDT",
8551
8557
  accountAmount: BigInt(1e5) * POOL_DECIMALS,
@@ -10440,7 +10446,7 @@ var require_constants2 = __commonJS({
10440
10446
  exports2.DUMB_ADDRESS2 = "0x93548eB8453a498222C4FF2C4375b7De8af5A38a";
10441
10447
  exports2.DUMB_ADDRESS3 = "0x822293548EB8453A49c4fF2c4375B7DE8AF5a38A";
10442
10448
  exports2.DUMB_ADDRESS4 = "0x498222C4Ff2C4393548eb8453a75B7dE8AF5A38a";
10443
- exports2.NOT_DEPLOYED = "NOT DEPLOYED";
10449
+ exports2.NOT_DEPLOYED = "0xNOT DEPLOYED";
10444
10450
  exports2.FIRST_EPOCH_TIMESTAMP = 1702900800;
10445
10451
  }
10446
10452
  });
@@ -10588,6 +10594,12 @@ var require_decimals = __commonJS({
10588
10594
  sdUSDCV3: 6,
10589
10595
  sdWBTCV3: 8,
10590
10596
  sdWETHV3: 18,
10597
+ dUSDTV3: 6,
10598
+ dGHOV3: 18,
10599
+ dDAIV3: 18,
10600
+ sdUSDTV3: 6,
10601
+ sdGHOV3: 18,
10602
+ sdDAIV3: 18,
10591
10603
  GEAR: 18,
10592
10604
  "50OHM_50DAI": 18,
10593
10605
  "50OHM_50WETH": 18,
@@ -109641,6 +109653,24 @@ var require_gear = __commonJS({
109641
109653
  symbol: "dWETHV3",
109642
109654
  type: { AllNetworks: tokenType_1.TokenType.DIESEL_LP_TOKEN },
109643
109655
  stakedToken: "sdWETHV3"
109656
+ },
109657
+ dUSDTV3: {
109658
+ name: "dUSDTV3",
109659
+ symbol: "dUSDTV3",
109660
+ type: { AllNetworks: tokenType_1.TokenType.DIESEL_LP_TOKEN },
109661
+ stakedToken: "sdUSDTV3"
109662
+ },
109663
+ dGHOV3: {
109664
+ name: "dGHOV3",
109665
+ symbol: "dGHOV3",
109666
+ type: { AllNetworks: tokenType_1.TokenType.DIESEL_LP_TOKEN },
109667
+ stakedToken: "sdGHOV3"
109668
+ },
109669
+ dDAIV3: {
109670
+ name: "dDAIV3",
109671
+ symbol: "dDAIV3",
109672
+ type: { AllNetworks: tokenType_1.TokenType.DIESEL_LP_TOKEN },
109673
+ stakedToken: "sdDAIV3"
109644
109674
  }
109645
109675
  };
109646
109676
  var dieselTokens = { ...dieselSimpleTokens, ...dieselWithStkTokens };
@@ -109662,6 +109692,24 @@ var require_gear = __commonJS({
109662
109692
  symbol: "sdWETHV3",
109663
109693
  type: { AllNetworks: tokenType_1.TokenType.DIESEL_LP_TOKEN },
109664
109694
  underlying: "dWETHV3"
109695
+ },
109696
+ sdUSDTV3: {
109697
+ name: "sdUSDTV3",
109698
+ symbol: "sdUSDTV3",
109699
+ type: { AllNetworks: tokenType_1.TokenType.DIESEL_LP_TOKEN },
109700
+ underlying: "dUSDTV3"
109701
+ },
109702
+ sdGHOV3: {
109703
+ name: "sdGHOV3",
109704
+ symbol: "sdGHOV3",
109705
+ type: { AllNetworks: tokenType_1.TokenType.DIESEL_LP_TOKEN },
109706
+ underlying: "dGHOV3"
109707
+ },
109708
+ sdDAIV3: {
109709
+ name: "sdDAIV3",
109710
+ symbol: "sdDAIV3",
109711
+ type: { AllNetworks: tokenType_1.TokenType.DIESEL_LP_TOKEN },
109712
+ underlying: "dDAIV3"
109665
109713
  }
109666
109714
  };
109667
109715
  exports2.gearTokens = {
@@ -110291,6 +110339,12 @@ var require_token = __commonJS({
110291
110339
  sdUSDCV3: "0x9ef444a6d7F4A5adcd68FD5329aA5240C90E14d2",
110292
110340
  sdWBTCV3: "0xA8cE662E45E825DAF178DA2c8d5Fae97696A788A",
110293
110341
  sdWETHV3: "0x0418fEB7d0B25C411EB77cD654305d29FcbFf685",
110342
+ dUSDTV3: "0x05A811275fE9b4DE503B3311F51edF6A856D936e",
110343
+ dGHOV3: "0x4d56c9cBa373AD39dF69Eb18F076b7348000AE09",
110344
+ dDAIV3: "0xe7146F53dBcae9D6Fa3555FE502648deb0B2F823",
110345
+ sdUSDTV3: "0x16adAb68bDEcE3089D4f1626Bb5AEDD0d02471aD",
110346
+ sdGHOV3: "0xE2037090f896A858E3168B978668F22026AC52e7",
110347
+ sdDAIV3: "0xC853E4DA38d9Bd1d01675355b8c8f3BBC1451973",
110294
110348
  GEAR: "0xBa3335588D9403515223F109EdC4eB7269a9Ab5D",
110295
110349
  // ERC4626
110296
110350
  sDAI: "0x83F20F44975D03b1b09e64809B757c47f942BEeA",
@@ -110506,6 +110560,12 @@ var require_token = __commonJS({
110506
110560
  sdUSDCV3: "0x608F9e2E8933Ce6b39A8CddBc34a1e3E8D21cE75",
110507
110561
  sdWBTCV3: constants_1.NOT_DEPLOYED,
110508
110562
  sdWETHV3: "0x6773fF780Dd38175247795545Ee37adD6ab6139a",
110563
+ dUSDTV3: constants_1.NOT_DEPLOYED,
110564
+ dGHOV3: constants_1.NOT_DEPLOYED,
110565
+ dDAIV3: constants_1.NOT_DEPLOYED,
110566
+ sdUSDTV3: constants_1.NOT_DEPLOYED,
110567
+ sdGHOV3: constants_1.NOT_DEPLOYED,
110568
+ sdDAIV3: constants_1.NOT_DEPLOYED,
110509
110569
  GEAR: "0x2F26337576127efabEEc1f62BE79dB1bcA9148A4",
110510
110570
  // AAVE
110511
110571
  aUSDC: "0x724dc807b04555b71ed48a6896b6F41593b8C637",
@@ -110719,6 +110779,12 @@ var require_token = __commonJS({
110719
110779
  sdUSDCV3: constants_1.NOT_DEPLOYED,
110720
110780
  sdWBTCV3: constants_1.NOT_DEPLOYED,
110721
110781
  sdWETHV3: constants_1.NOT_DEPLOYED,
110782
+ dUSDTV3: constants_1.NOT_DEPLOYED,
110783
+ dGHOV3: constants_1.NOT_DEPLOYED,
110784
+ dDAIV3: constants_1.NOT_DEPLOYED,
110785
+ sdUSDTV3: constants_1.NOT_DEPLOYED,
110786
+ sdGHOV3: constants_1.NOT_DEPLOYED,
110787
+ sdDAIV3: constants_1.NOT_DEPLOYED,
110722
110788
  GEAR: constants_1.NOT_DEPLOYED,
110723
110789
  // AAVE
110724
110790
  aUSDC: constants_1.NOT_DEPLOYED,
@@ -110761,7 +110827,7 @@ var require_token = __commonJS({
110761
110827
  SNX: constants_1.NOT_DEPLOYED,
110762
110828
  UNI: constants_1.NOT_DEPLOYED,
110763
110829
  USDT: constants_1.NOT_DEPLOYED,
110764
- USDC: constants_1.NOT_DEPLOYED,
110830
+ USDC: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
110765
110831
  USDC_e: constants_1.NOT_DEPLOYED,
110766
110832
  WBTC: constants_1.NOT_DEPLOYED,
110767
110833
  WETH: constants_1.NOT_DEPLOYED,
@@ -110934,6 +111000,12 @@ var require_token = __commonJS({
110934
111000
  sdUSDCV3: constants_1.NOT_DEPLOYED,
110935
111001
  sdWBTCV3: constants_1.NOT_DEPLOYED,
110936
111002
  sdWETHV3: constants_1.NOT_DEPLOYED,
111003
+ dUSDTV3: constants_1.NOT_DEPLOYED,
111004
+ dGHOV3: constants_1.NOT_DEPLOYED,
111005
+ dDAIV3: constants_1.NOT_DEPLOYED,
111006
+ sdUSDTV3: constants_1.NOT_DEPLOYED,
111007
+ sdGHOV3: constants_1.NOT_DEPLOYED,
111008
+ sdDAIV3: constants_1.NOT_DEPLOYED,
110937
111009
  GEAR: constants_1.NOT_DEPLOYED,
110938
111010
  // AAVE
110939
111011
  aUSDC: constants_1.NOT_DEPLOYED,
@@ -111019,6 +111091,9 @@ var require_adapters2 = __commonJS({
111019
111091
  AdapterInterface3[AdapterInterface3["VELODROME_V2_ROUTER"] = 22] = "VELODROME_V2_ROUTER";
111020
111092
  AdapterInterface3[AdapterInterface3["CURVE_STABLE_NG"] = 23] = "CURVE_STABLE_NG";
111021
111093
  AdapterInterface3[AdapterInterface3["CAMELOT_V3_ROUTER"] = 24] = "CAMELOT_V3_ROUTER";
111094
+ AdapterInterface3[AdapterInterface3["CONVEX_L2_BOOSTER"] = 25] = "CONVEX_L2_BOOSTER";
111095
+ AdapterInterface3[AdapterInterface3["CONVEX_L2_REWARD_POOL"] = 26] = "CONVEX_L2_REWARD_POOL";
111096
+ AdapterInterface3[AdapterInterface3["AAVE_V3_LENDING_POOL"] = 27] = "AAVE_V3_LENDING_POOL";
111022
111097
  })(AdapterInterface2 || (exports2.AdapterInterface = AdapterInterface2 = {}));
111023
111098
  }
111024
111099
  });
@@ -111049,6 +111124,7 @@ var require_protocols = __commonJS({
111049
111124
  Protocols2[Protocols2["Velodrome"] = 15] = "Velodrome";
111050
111125
  Protocols2[Protocols2["Camelot"] = 16] = "Camelot";
111051
111126
  Protocols2[Protocols2["Ethena"] = 17] = "Ethena";
111127
+ Protocols2[Protocols2["AaveV3"] = 18] = "AaveV3";
111052
111128
  })(Protocols || (exports2.Protocols = Protocols = {}));
111053
111129
  }
111054
111130
  });
@@ -111158,6 +111234,7 @@ var require_contracts = __commonJS({
111158
111234
  UNIVERSAL_ADAPTER: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
111159
111235
  // AAVE
111160
111236
  AAVE_V2_LENDING_POOL: "0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9",
111237
+ AAVE_V3_LENDING_POOL: "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2",
111161
111238
  AAVE_V2_DAI_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Mainnet.waDAI,
111162
111239
  AAVE_V2_USDC_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Mainnet.waUSDC,
111163
111240
  AAVE_V2_USDT_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Mainnet.waUSDT,
@@ -111270,6 +111347,7 @@ var require_contracts = __commonJS({
111270
111347
  UNIVERSAL_ADAPTER: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
111271
111348
  // AAVE
111272
111349
  AAVE_V2_LENDING_POOL: constants_1.NOT_DEPLOYED,
111350
+ AAVE_V3_LENDING_POOL: "0x794a61358D6845594F94dc1DB02A252b5b4814aD",
111273
111351
  AAVE_V2_DAI_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Arbitrum.waDAI,
111274
111352
  AAVE_V2_USDC_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Arbitrum.waUSDC,
111275
111353
  AAVE_V2_USDT_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Arbitrum.waUSDT,
@@ -111383,6 +111461,7 @@ var require_contracts = __commonJS({
111383
111461
  UNIVERSAL_ADAPTER: "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
111384
111462
  // AAVE
111385
111463
  AAVE_V2_LENDING_POOL: constants_1.NOT_DEPLOYED,
111464
+ AAVE_V3_LENDING_POOL: "0x794a61358D6845594F94dc1DB02A252b5b4814aD",
111386
111465
  AAVE_V2_DAI_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Optimism.waDAI,
111387
111466
  AAVE_V2_USDC_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Optimism.waUSDC,
111388
111467
  AAVE_V2_USDT_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Optimism.waUSDT,
@@ -111495,6 +111574,7 @@ var require_contracts = __commonJS({
111495
111574
  UNIVERSAL_ADAPTER: constants_1.NOT_DEPLOYED,
111496
111575
  // AAVE
111497
111576
  AAVE_V2_LENDING_POOL: constants_1.NOT_DEPLOYED,
111577
+ AAVE_V3_LENDING_POOL: "0xA238Dd80C259a72e81d7e4664a9801593F98d1c5",
111498
111578
  AAVE_V2_DAI_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Optimism.waDAI,
111499
111579
  AAVE_V2_USDC_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Optimism.waUSDC,
111500
111580
  AAVE_V2_USDT_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Optimism.waUSDT,
@@ -112424,6 +112504,11 @@ var require_contracts = __commonJS({
112424
112504
  type: adapters_1.AdapterInterface.AAVE_V2_WRAPPED_ATOKEN,
112425
112505
  underlying: "aWETH"
112426
112506
  },
112507
+ AAVE_V3_LENDING_POOL: {
112508
+ name: "Aave V3 Lending Pool",
112509
+ protocol: protocols_1.Protocols.AaveV3,
112510
+ type: adapters_1.AdapterInterface.AAVE_V3_LENDING_POOL
112511
+ },
112427
112512
  COMPOUND_V2_DAI_POOL: {
112428
112513
  name: "Compound V2 DAI",
112429
112514
  protocol: protocols_1.Protocols.CompoundV2,
@@ -113775,10 +113860,16 @@ var require_priceFeeds = __commonJS({
113775
113860
  Mainnet: {
113776
113861
  Main: {
113777
113862
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
113778
- targetToBasePriceFeed: "0xfdFD9C85aD200c506Cf9e21F1FD8dd01932FBB23",
113779
- baseToUsdPriceFeed: "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c",
113780
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
113781
- baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
113863
+ targetToBasePriceFeed: {
113864
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
113865
+ address: "0xfdFD9C85aD200c506Cf9e21F1FD8dd01932FBB23",
113866
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
113867
+ },
113868
+ baseToUsdPriceFeed: {
113869
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
113870
+ address: "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c",
113871
+ stalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED
113872
+ },
113782
113873
  trusted: true
113783
113874
  },
113784
113875
  Reserve: {
@@ -113792,10 +113883,16 @@ var require_priceFeeds = __commonJS({
113792
113883
  Arbitrum: {
113793
113884
  Main: {
113794
113885
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
113795
- targetToBasePriceFeed: "0x0017abAc5b6f291F9164e35B1234CA1D697f9CF4",
113796
- baseToUsdPriceFeed: "0x6ce185860a4963106506C203335A2910413708e9",
113797
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
113798
- baseStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
113886
+ targetToBasePriceFeed: {
113887
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
113888
+ address: "0x0017abAc5b6f291F9164e35B1234CA1D697f9CF4",
113889
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
113890
+ },
113891
+ baseToUsdPriceFeed: {
113892
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
113893
+ address: "0x6ce185860a4963106506C203335A2910413708e9",
113894
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
113895
+ },
113799
113896
  trusted: true
113800
113897
  }
113801
113898
  },
@@ -113863,10 +113960,16 @@ var require_priceFeeds = __commonJS({
113863
113960
  Mainnet: {
113864
113961
  Main: {
113865
113962
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
113866
- targetToBasePriceFeed: "0x86392dC19c0b719886221c78AB11eb8Cf5c52812",
113867
- baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
113868
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
113869
- baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
113963
+ targetToBasePriceFeed: {
113964
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
113965
+ address: "0x86392dC19c0b719886221c78AB11eb8Cf5c52812",
113966
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
113967
+ },
113968
+ baseToUsdPriceFeed: {
113969
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
113970
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
113971
+ stalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED
113972
+ },
113870
113973
  trusted: false
113871
113974
  },
113872
113975
  Reserve: {
@@ -113896,20 +113999,32 @@ var require_priceFeeds = __commonJS({
113896
113999
  Arbitrum: {
113897
114000
  Main: {
113898
114001
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
113899
- targetToBasePriceFeed: "0xb523AE262D20A936BC152e6023996e46FDC2A95D",
113900
- baseToUsdPriceFeed: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
113901
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
113902
- baseStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114002
+ targetToBasePriceFeed: {
114003
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114004
+ address: "0xb523AE262D20A936BC152e6023996e46FDC2A95D",
114005
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114006
+ },
114007
+ baseToUsdPriceFeed: {
114008
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114009
+ address: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
114010
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114011
+ },
113903
114012
  trusted: false
113904
114013
  }
113905
114014
  },
113906
114015
  Optimism: {
113907
114016
  Main: {
113908
114017
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
113909
- targetToBasePriceFeed: "0x524299Ab0987a7c4B3c8022a35669DdcdC715a10",
113910
- baseToUsdPriceFeed: "0x13e3Ee699D1909E989722E753853AE30b17e08c5",
113911
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
113912
- baseStalenessPeriod: pricefeedType_1.MINUTES_20_BUFFERED_L2,
114018
+ targetToBasePriceFeed: {
114019
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114020
+ address: "0x524299Ab0987a7c4B3c8022a35669DdcdC715a10",
114021
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114022
+ },
114023
+ baseToUsdPriceFeed: {
114024
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114025
+ address: "0x13e3Ee699D1909E989722E753853AE30b17e08c5",
114026
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114027
+ },
113913
114028
  trusted: false
113914
114029
  }
113915
114030
  }
@@ -113968,7 +114083,11 @@ var require_priceFeeds = __commonJS({
113968
114083
  Mainnet: {
113969
114084
  Main: {
113970
114085
  type: pricefeedType_1.PriceFeedType.BOUNDED_ORACLE,
113971
- priceFeed: "0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0",
114086
+ priceFeed: {
114087
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114088
+ address: "0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0",
114089
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114090
+ },
113972
114091
  upperBound: BigInt(1e8) * 11n / 10n,
113973
114092
  trusted: false
113974
114093
  }
@@ -113976,7 +114095,11 @@ var require_priceFeeds = __commonJS({
113976
114095
  Arbitrum: {
113977
114096
  Main: {
113978
114097
  type: pricefeedType_1.PriceFeedType.BOUNDED_ORACLE,
113979
- priceFeed: "0x0411D28c94d85A36bC72Cb0f875dfA8371D8fFfF",
114098
+ priceFeed: {
114099
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114100
+ address: "0x0411D28c94d85A36bC72Cb0f875dfA8371D8fFfF",
114101
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114102
+ },
113980
114103
  upperBound: BigInt(1e8) * 11n / 10n,
113981
114104
  trusted: false
113982
114105
  }
@@ -113986,8 +114109,16 @@ var require_priceFeeds = __commonJS({
113986
114109
  Mainnet: {
113987
114110
  Main: {
113988
114111
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
113989
- targetToBasePriceFeed: "0x8e0b7e6062272B5eF4524250bFFF8e5Bd3497757",
113990
- baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114112
+ targetToBasePriceFeed: {
114113
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114114
+ address: "0x8e0b7e6062272B5eF4524250bFFF8e5Bd3497757",
114115
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114116
+ },
114117
+ baseToUsdPriceFeed: {
114118
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114119
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114120
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114121
+ },
113991
114122
  trusted: false
113992
114123
  }
113993
114124
  },
@@ -114038,10 +114169,16 @@ var require_priceFeeds = __commonJS({
114038
114169
  Mainnet: {
114039
114170
  Main: {
114040
114171
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114041
- targetToBasePriceFeed: "0x4e844125952D32AcdF339BE976c98E22F6F318dB",
114042
- baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114043
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
114044
- baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
114172
+ targetToBasePriceFeed: {
114173
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114174
+ address: "0x4e844125952D32AcdF339BE976c98E22F6F318dB",
114175
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114176
+ },
114177
+ baseToUsdPriceFeed: {
114178
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114179
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114180
+ stalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED
114181
+ },
114045
114182
  trusted: false
114046
114183
  }
114047
114184
  },
@@ -114065,8 +114202,16 @@ var require_priceFeeds = __commonJS({
114065
114202
  Mainnet: {
114066
114203
  Main: {
114067
114204
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114068
- targetToBasePriceFeed: "0x9a72298ae3886221820B1c878d12D872087D3a23",
114069
- baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114205
+ targetToBasePriceFeed: {
114206
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114207
+ address: "0x9a72298ae3886221820B1c878d12D872087D3a23",
114208
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114209
+ },
114210
+ baseToUsdPriceFeed: {
114211
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114212
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114213
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114214
+ },
114070
114215
  trusted: false
114071
114216
  }
114072
114217
  },
@@ -114190,8 +114335,16 @@ var require_priceFeeds = __commonJS({
114190
114335
  Mainnet: {
114191
114336
  Main: {
114192
114337
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114193
- targetToBasePriceFeed: "0x536218f9E9Eb48863970252233c8F271f554C2d0",
114194
- baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114338
+ targetToBasePriceFeed: {
114339
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114340
+ address: "0x536218f9E9Eb48863970252233c8F271f554C2d0",
114341
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114342
+ },
114343
+ baseToUsdPriceFeed: {
114344
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114345
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114346
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114347
+ },
114195
114348
  trusted: false
114196
114349
  },
114197
114350
  Reserve: {
@@ -114205,20 +114358,32 @@ var require_priceFeeds = __commonJS({
114205
114358
  Arbitrum: {
114206
114359
  Main: {
114207
114360
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114208
- targetToBasePriceFeed: "0xF3272CAfe65b190e76caAF483db13424a3e23dD2",
114209
- baseToUsdPriceFeed: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
114210
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114211
- baseStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114361
+ targetToBasePriceFeed: {
114362
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114363
+ address: "0xF3272CAfe65b190e76caAF483db13424a3e23dD2",
114364
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114365
+ },
114366
+ baseToUsdPriceFeed: {
114367
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114368
+ address: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
114369
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114370
+ },
114212
114371
  trusted: false
114213
114372
  }
114214
114373
  },
114215
114374
  Optimism: {
114216
114375
  Main: {
114217
114376
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114218
- targetToBasePriceFeed: "0xb429DE60943a8e6DeD356dca2F93Cd31201D9ed0",
114219
- baseToUsdPriceFeed: "0x13e3Ee699D1909E989722E753853AE30b17e08c5",
114220
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114221
- baseStalenessPeriod: pricefeedType_1.MINUTES_20_BUFFERED_L2,
114377
+ targetToBasePriceFeed: {
114378
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114379
+ address: "0xb429DE60943a8e6DeD356dca2F93Cd31201D9ed0",
114380
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114381
+ },
114382
+ baseToUsdPriceFeed: {
114383
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114384
+ address: "0x13e3Ee699D1909E989722E753853AE30b17e08c5",
114385
+ stalenessPeriod: pricefeedType_1.MINUTES_20_BUFFERED_L2
114386
+ },
114222
114387
  trusted: false
114223
114388
  }
114224
114389
  }
@@ -114227,10 +114392,16 @@ var require_priceFeeds = __commonJS({
114227
114392
  Mainnet: {
114228
114393
  Main: {
114229
114394
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114230
- targetToBasePriceFeed: "0x66ac817f997Efd114EDFcccdce99F3268557B32C",
114231
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
114232
- baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114233
- baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
114395
+ targetToBasePriceFeed: {
114396
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114397
+ address: "0x66ac817f997Efd114EDFcccdce99F3268557B32C",
114398
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114399
+ },
114400
+ baseToUsdPriceFeed: {
114401
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114402
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114403
+ stalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED
114404
+ },
114234
114405
  trusted: false
114235
114406
  },
114236
114407
  Reserve: {
@@ -114243,10 +114414,16 @@ var require_priceFeeds = __commonJS({
114243
114414
  Mainnet: {
114244
114415
  Main: {
114245
114416
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114246
- targetToBasePriceFeed: "0x8751F736E94F6CD167e8C5B97E245680FbD9CC36",
114247
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
114248
- baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114249
- baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
114417
+ targetToBasePriceFeed: {
114418
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114419
+ address: "0x8751F736E94F6CD167e8C5B97E245680FbD9CC36",
114420
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114421
+ },
114422
+ baseToUsdPriceFeed: {
114423
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114424
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114425
+ stalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED
114426
+ },
114250
114427
  trusted: false
114251
114428
  },
114252
114429
  Reserve: {
@@ -114259,10 +114436,16 @@ var require_priceFeeds = __commonJS({
114259
114436
  Mainnet: {
114260
114437
  Main: {
114261
114438
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114262
- targetToBasePriceFeed: "0xF4a3e183F59D2599ee3DF213ff78b1B3b1923696",
114263
- targetStalenessPeriod: pricefeedType_1.HOUR_12_BUFFERED,
114264
- baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114265
- baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
114439
+ targetToBasePriceFeed: {
114440
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114441
+ address: "0xF4a3e183F59D2599ee3DF213ff78b1B3b1923696",
114442
+ stalenessPeriod: pricefeedType_1.HOUR_12_BUFFERED
114443
+ },
114444
+ baseToUsdPriceFeed: {
114445
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114446
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114447
+ stalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED
114448
+ },
114266
114449
  trusted: false
114267
114450
  },
114268
114451
  Reserve: {
@@ -114277,11 +114460,14 @@ var require_priceFeeds = __commonJS({
114277
114460
  type: pricefeedType_1.PriceFeedType.REDSTONE_ORACLE,
114278
114461
  dataServiceId: "redstone-primary-prod",
114279
114462
  dataId: "ezETH/ETH",
114280
- ...exports2.REDSTONE_SIGNERS
114463
+ ...exports2.REDSTONE_SIGNERS,
114464
+ stalenessPeriod: pricefeedType_1.FOUR_MINUTES
114465
+ },
114466
+ baseToUsdPriceFeed: {
114467
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114468
+ address: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
114469
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114281
114470
  },
114282
- targetStalenessPeriod: pricefeedType_1.FOUR_MINUTES,
114283
- baseToUsdPriceFeed: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
114284
- baseStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114285
114471
  trusted: false
114286
114472
  },
114287
114473
  Reserve: {
@@ -114302,10 +114488,16 @@ var require_priceFeeds = __commonJS({
114302
114488
  Mainnet: {
114303
114489
  Main: {
114304
114490
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114305
- targetToBasePriceFeed: "0xA736eAe8805dDeFFba40cAB8c99bCB309dEaBd9B",
114306
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
114307
- baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114308
- baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
114491
+ targetToBasePriceFeed: {
114492
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114493
+ address: "0xA736eAe8805dDeFFba40cAB8c99bCB309dEaBd9B",
114494
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114495
+ },
114496
+ baseToUsdPriceFeed: {
114497
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114498
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114499
+ stalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED
114500
+ },
114309
114501
  trusted: false
114310
114502
  }
114311
114503
  }
@@ -114320,10 +114512,16 @@ var require_priceFeeds = __commonJS({
114320
114512
  Arbitrum: {
114321
114513
  Main: {
114322
114514
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114323
- targetToBasePriceFeed: "0x5C3e80763862CB777Aa07BDDBcCE0123104e1c34",
114324
- baseToUsdPriceFeed: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
114325
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114326
- baseStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114515
+ targetToBasePriceFeed: {
114516
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114517
+ address: "0x5C3e80763862CB777Aa07BDDBcCE0123104e1c34",
114518
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114519
+ },
114520
+ baseToUsdPriceFeed: {
114521
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114522
+ address: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
114523
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114524
+ },
114327
114525
  trusted: false
114328
114526
  }
114329
114527
  }
@@ -114347,30 +114545,48 @@ var require_priceFeeds = __commonJS({
114347
114545
  Mainnet: {
114348
114546
  Main: {
114349
114547
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114350
- targetToBasePriceFeed: "0xF017fcB346A1885194689bA23Eff2fE6fA5C483b",
114351
- baseToUsdPriceFeed: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114352
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED,
114353
- baseStalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED,
114548
+ targetToBasePriceFeed: {
114549
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114550
+ address: "0xF017fcB346A1885194689bA23Eff2fE6fA5C483b",
114551
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED
114552
+ },
114553
+ baseToUsdPriceFeed: {
114554
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114555
+ address: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
114556
+ stalenessPeriod: pricefeedType_1.HOUR_1_BUFFERED
114557
+ },
114354
114558
  trusted: false
114355
114559
  }
114356
114560
  },
114357
114561
  Arbitrum: {
114358
114562
  Main: {
114359
114563
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114360
- targetToBasePriceFeed: "0xa668682974E3f121185a3cD94f00322beC674275",
114361
- baseToUsdPriceFeed: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
114362
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114363
- baseStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114564
+ targetToBasePriceFeed: {
114565
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114566
+ address: "0xa668682974E3f121185a3cD94f00322beC674275",
114567
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114568
+ },
114569
+ baseToUsdPriceFeed: {
114570
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114571
+ address: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
114572
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114573
+ },
114364
114574
  trusted: false
114365
114575
  }
114366
114576
  },
114367
114577
  Optimism: {
114368
114578
  Main: {
114369
114579
  type: pricefeedType_1.PriceFeedType.COMPOSITE_ORACLE,
114370
- targetToBasePriceFeed: "0x138b809B8472fF09Cd3E075E6EcbB2e42D41d870",
114371
- baseToUsdPriceFeed: "0x13e3Ee699D1909E989722E753853AE30b17e08c5",
114372
- targetStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114373
- baseStalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2,
114580
+ targetToBasePriceFeed: {
114581
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114582
+ address: "0x138b809B8472fF09Cd3E075E6EcbB2e42D41d870",
114583
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114584
+ },
114585
+ baseToUsdPriceFeed: {
114586
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
114587
+ address: "0x13e3Ee699D1909E989722E753853AE30b17e08c5",
114588
+ stalenessPeriod: pricefeedType_1.HOUR_24_BUFFERED_L2
114589
+ },
114374
114590
  trusted: false
114375
114591
  }
114376
114592
  }
@@ -115480,6 +115696,102 @@ var require_priceFeeds = __commonJS({
115480
115696
  }
115481
115697
  }
115482
115698
  },
115699
+ dUSDTV3: {
115700
+ Mainnet: {
115701
+ Main: {
115702
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115703
+ address: constants_1.NOT_DEPLOYED,
115704
+ trusted: false
115705
+ }
115706
+ },
115707
+ Arbitrum: {
115708
+ Main: {
115709
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115710
+ address: constants_1.NOT_DEPLOYED,
115711
+ trusted: false
115712
+ }
115713
+ }
115714
+ },
115715
+ dGHOV3: {
115716
+ Mainnet: {
115717
+ Main: {
115718
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115719
+ address: constants_1.NOT_DEPLOYED,
115720
+ trusted: false
115721
+ }
115722
+ },
115723
+ Arbitrum: {
115724
+ Main: {
115725
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115726
+ address: constants_1.NOT_DEPLOYED,
115727
+ trusted: false
115728
+ }
115729
+ }
115730
+ },
115731
+ dDAIV3: {
115732
+ Mainnet: {
115733
+ Main: {
115734
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115735
+ address: constants_1.NOT_DEPLOYED,
115736
+ trusted: false
115737
+ }
115738
+ },
115739
+ Arbitrum: {
115740
+ Main: {
115741
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115742
+ address: constants_1.NOT_DEPLOYED,
115743
+ trusted: false
115744
+ }
115745
+ }
115746
+ },
115747
+ sdUSDTV3: {
115748
+ Mainnet: {
115749
+ Main: {
115750
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115751
+ address: constants_1.NOT_DEPLOYED,
115752
+ trusted: false
115753
+ }
115754
+ },
115755
+ Arbitrum: {
115756
+ Main: {
115757
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115758
+ address: constants_1.NOT_DEPLOYED,
115759
+ trusted: false
115760
+ }
115761
+ }
115762
+ },
115763
+ sdGHOV3: {
115764
+ Mainnet: {
115765
+ Main: {
115766
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115767
+ address: constants_1.NOT_DEPLOYED,
115768
+ trusted: false
115769
+ }
115770
+ },
115771
+ Arbitrum: {
115772
+ Main: {
115773
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115774
+ address: constants_1.NOT_DEPLOYED,
115775
+ trusted: false
115776
+ }
115777
+ }
115778
+ },
115779
+ sdDAIV3: {
115780
+ Mainnet: {
115781
+ Main: {
115782
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115783
+ address: constants_1.NOT_DEPLOYED,
115784
+ trusted: false
115785
+ }
115786
+ },
115787
+ Arbitrum: {
115788
+ Main: {
115789
+ type: pricefeedType_1.PriceFeedType.CHAINLINK_ORACLE,
115790
+ address: constants_1.NOT_DEPLOYED,
115791
+ trusted: false
115792
+ }
115793
+ }
115794
+ },
115483
115795
  GEAR: {
115484
115796
  Mainnet: {
115485
115797
  Main: {
@@ -122198,7 +122510,7 @@ var require_tokenData = __commonJS({
122198
122510
  var constants_1 = require_constants2();
122199
122511
  var token_1 = require_token();
122200
122512
  exports2.connectors = {
122201
- Mainnet: ["WETH", "DAI", "USDC", "FRAX", "rETH", "ezETH"],
122513
+ Mainnet: ["WETH", "DAI", "USDC", "FRAX", "rETH", "ezETH", "GHO"],
122202
122514
  Arbitrum: ["WETH", "DAI", "USDC", "USDT", "rETH"],
122203
122515
  Optimism: ["WETH", "USDC", "USDT"],
122204
122516
  Base: ["WETH", "USDC", "USDT"]
@@ -276500,7 +276812,7 @@ var require_utils33 = __commonJS({
276500
276812
  return mod2 && mod2.__esModule ? mod2 : { "default": mod2 };
276501
276813
  };
276502
276814
  Object.defineProperty(exports2, "__esModule", { value: true });
276503
- exports2.isCellInRange = exports2.areCellEqual = exports2.calculateRangeCoordinate = exports2.findOriginalRowIndex = exports2.flatten = exports2.extractTruncates = exports2.sumArray = exports2.sequence = exports2.distributeUnevenly = exports2.countSpaceSequence = exports2.groupBySizes = exports2.makeBorderConfig = exports2.splitAnsi = exports2.normalizeString = void 0;
276815
+ exports2.isCellInRange = exports2.areCellEqual = exports2.calculateRangeCoordinate = exports2.flatten = exports2.extractTruncates = exports2.sumArray = exports2.sequence = exports2.distributeUnevenly = exports2.countSpaceSequence = exports2.groupBySizes = exports2.makeBorderConfig = exports2.splitAnsi = exports2.normalizeString = void 0;
276504
276816
  var slice_ansi_1 = __importDefault3(require_slice_ansi());
276505
276817
  var string_width_1 = __importDefault3(require_string_width());
276506
276818
  var strip_ansi_1 = __importDefault3(require_strip_ansi());
@@ -276570,15 +276882,6 @@ var require_utils33 = __commonJS({
276570
276882
  return [].concat(...array);
276571
276883
  };
276572
276884
  exports2.flatten = flatten2;
276573
- var findOriginalRowIndex = (mappedRowHeights, mappedRowIndex) => {
276574
- const rowIndexMapping = (0, exports2.flatten)(mappedRowHeights.map((height, index) => {
276575
- return Array.from({ length: height }, () => {
276576
- return index;
276577
- });
276578
- }));
276579
- return rowIndexMapping[mappedRowIndex];
276580
- };
276581
- exports2.findOriginalRowIndex = findOriginalRowIndex;
276582
276885
  var calculateRangeCoordinate = (spanningCellConfig) => {
276583
276886
  const { row, col, colSpan = 1, rowSpan = 1 } = spanningCellConfig;
276584
276887
  return {
@@ -280514,10 +280817,11 @@ var require_spanningCellManager = __commonJS({
280514
280817
  });
280515
280818
  const rangeCache = {};
280516
280819
  let rowHeights = [];
280820
+ let rowIndexMapping = [];
280517
280821
  return {
280518
280822
  getContainingRange: (cell, options) => {
280519
280823
  var _a;
280520
- const originalRow = (options === null || options === void 0 ? void 0 : options.mapped) ? (0, utils_1.findOriginalRowIndex)(rowHeights, cell.row) : cell.row;
280824
+ const originalRow = (options === null || options === void 0 ? void 0 : options.mapped) ? rowIndexMapping[cell.row] : cell.row;
280521
280825
  const range2 = findRangeConfig({
280522
280826
  ...cell,
280523
280827
  row: originalRow
@@ -280542,8 +280846,16 @@ var require_spanningCellManager = __commonJS({
280542
280846
  return inSameRange(cell1, cell2, ranges);
280543
280847
  },
280544
280848
  rowHeights,
280849
+ rowIndexMapping,
280545
280850
  setRowHeights: (_rowHeights) => {
280546
280851
  rowHeights = _rowHeights;
280852
+ },
280853
+ setRowIndexMapping: (mappedRowHeights) => {
280854
+ rowIndexMapping = (0, utils_1.flatten)(mappedRowHeights.map((height, index) => {
280855
+ return Array.from({ length: height }, () => {
280856
+ return index;
280857
+ });
280858
+ }));
280547
280859
  }
280548
280860
  };
280549
280861
  };
@@ -280720,6 +281032,7 @@ var require_table = __commonJS({
280720
281032
  rows = (0, truncateTableData_1.truncateTableData)(injectedRows, (0, utils_1.extractTruncates)(config));
280721
281033
  const rowHeights = (0, calculateRowHeights_1.calculateRowHeights)(rows, config);
280722
281034
  config.spanningCellManager.setRowHeights(rowHeights);
281035
+ config.spanningCellManager.setRowIndexMapping(rowHeights);
280723
281036
  rows = (0, mapDataUsingRowHeights_1.mapDataUsingRowHeights)(rows, rowHeights, config);
280724
281037
  rows = (0, alignTableData_1.alignTableData)(rows, config);
280725
281038
  rows = (0, padTableData_1.padTableData)(rows, config);
@@ -356221,6 +356534,10 @@ var ProviderBase = class {
356221
356534
  this.#options = opts;
356222
356535
  }
356223
356536
  async init() {
356537
+ let url = this.#options.rpcUrl;
356538
+ if (!(url.includes("localhost") || url.includes("127.0.0.1") || url.includes("host.docker.internal"))) {
356539
+ url = new URL(url).host;
356540
+ }
356224
356541
  this.#network = await (0, import_sdk_gov2.detectNetwork)(this.#provider);
356225
356542
  this.#chainId = import_sdk_gov2.CHAINS[this.#network];
356226
356543
  this.#service = new import_api_kit.default.default({
@@ -356268,7 +356585,7 @@ var ProviderBase = class {
356268
356585
  }
356269
356586
  }
356270
356587
  this.#initialized = true;
356271
- this.logger.info(`initialized with network ${this.#network} and chain id ${this.#chainId}`);
356588
+ this.logger.info(`initialized with rpc ${url}, network ${this.#network} and chain id ${this.#chainId}`);
356272
356589
  if (this.#overrides) {
356273
356590
  const overridesStr = Object.entries(this.#overrides).map(([k, v]) => `${k}=${v}`).join(", ");
356274
356591
  this.logger.info(`overrides: ${overridesStr}`);
@@ -365822,7 +366139,7 @@ function getRenderer(opts) {
365822
366139
  }
365823
366140
 
365824
366141
  // package.json
365825
- var version3 = "4.22.0";
366142
+ var version3 = "4.22.2";
365826
366143
 
365827
366144
  // src/version.ts
365828
366145
  var version_default = version3;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/deploy-tools",
3
3
  "description": "Gearbox deploy tools",
4
- "version": "4.22.0",
4
+ "version": "4.22.2",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"
@@ -43,10 +43,10 @@
43
43
  "@gearbox-protocol/deploy-tools-node": "0.0.0",
44
44
  "@gearbox-protocol/deploy-tools-shared": "0.0.0",
45
45
  "@gearbox-protocol/deploy-tools-types": "0.0.0",
46
- "@gearbox-protocol/sdk-gov": "^1.48.1",
46
+ "@gearbox-protocol/sdk-gov": "^1.52.3",
47
47
  "@types/lodash-es": "^4.17.12",
48
48
  "@types/node": "^20.11.30",
49
- "@types/react": "^18.2.68",
49
+ "@types/react": "^18.2.72",
50
50
  "@types/react-dom": "^18.2.22",
51
51
  "abitype": "^1.0.2",
52
52
  "chalk": "^5.3.0",
@@ -62,7 +62,7 @@
62
62
  "queue": "^7.0.0",
63
63
  "react": "^18.2.0",
64
64
  "react-dom": "^18.2.0",
65
- "table": "^6.8.1",
65
+ "table": "^6.8.2",
66
66
  "tslog": "^4.9.2",
67
67
  "tsx": "^4.7.1",
68
68
  "yaml": "^2.4.1",