@gearbox-protocol/deploy-tools 4.21.3 → 4.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +909 -245
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -6867,6 +6867,29 @@ var require_retry2 = __commonJS({
6867
6867
  }
6868
6868
  });
6869
6869
 
6870
+ // ../../node_modules/@gearbox-protocol/sdk-gov/lib/bots/permissions.js
6871
+ var require_permissions = __commonJS({
6872
+ "../../node_modules/@gearbox-protocol/sdk-gov/lib/bots/permissions.js"(exports2) {
6873
+ "use strict";
6874
+ Object.defineProperty(exports2, "__esModule", { value: true });
6875
+ exports2.BotPermissions = void 0;
6876
+ var BotPermissions;
6877
+ (function(BotPermissions2) {
6878
+ BotPermissions2[BotPermissions2["ADD_COLLATERAL"] = 1] = "ADD_COLLATERAL";
6879
+ BotPermissions2[BotPermissions2["INCREASE_DEBT"] = 2] = "INCREASE_DEBT";
6880
+ BotPermissions2[BotPermissions2["DECREASE_DEBT"] = 4] = "DECREASE_DEBT";
6881
+ BotPermissions2[BotPermissions2["ENABLE_TOKEN"] = 8] = "ENABLE_TOKEN";
6882
+ BotPermissions2[BotPermissions2["DISABLE_TOKEN"] = 16] = "DISABLE_TOKEN";
6883
+ BotPermissions2[BotPermissions2["WITHDRAW_COLLATERAL"] = 32] = "WITHDRAW_COLLATERAL";
6884
+ BotPermissions2[BotPermissions2["UPDATE_QUOTA"] = 64] = "UPDATE_QUOTA";
6885
+ BotPermissions2[BotPermissions2["REVOKE_ALLOWANCES"] = 128] = "REVOKE_ALLOWANCES";
6886
+ BotPermissions2[BotPermissions2["EXTERNAL_CALLS"] = 65536] = "EXTERNAL_CALLS";
6887
+ BotPermissions2[BotPermissions2["ALL_CREDIT_FACADE_CALLS"] = 255] = "ALL_CREDIT_FACADE_CALLS";
6888
+ BotPermissions2[BotPermissions2["ALLS"] = 65791] = "ALLS";
6889
+ })(BotPermissions || (exports2.BotPermissions = BotPermissions = {}));
6890
+ }
6891
+ });
6892
+
6870
6893
  // ../../node_modules/@gearbox-protocol/sdk-gov/lib/config/adapters.js
6871
6894
  var require_adapters = __commonJS({
6872
6895
  "../../node_modules/@gearbox-protocol/sdk-gov/lib/config/adapters.js"(exports2) {
@@ -6958,15 +6981,15 @@ var require_daiConfigMainnet = __commonJS({
6958
6981
  // POINTS FARMING
6959
6982
  USDe: {
6960
6983
  minRate: 5,
6961
- maxRate: 3e3,
6984
+ maxRate: 5e3,
6962
6985
  quotaIncreaseFee: 0,
6963
- limit: BigInt(3e6) * POOL_DECIMALS
6986
+ limit: BigInt(5e6) * POOL_DECIMALS
6964
6987
  },
6965
6988
  sUSDe: {
6966
6989
  minRate: 5,
6967
- maxRate: 3e3,
6990
+ maxRate: 5e3,
6968
6991
  quotaIncreaseFee: 0,
6969
- limit: BigInt(3e6) * POOL_DECIMALS
6992
+ limit: BigInt(0)
6970
6993
  }
6971
6994
  },
6972
6995
  creditManagers: [tier1CreditManager],
@@ -7086,15 +7109,15 @@ var require_ghoConfigMainnet = __commonJS({
7086
7109
  // POINTS FARMING
7087
7110
  USDe: {
7088
7111
  minRate: 5,
7089
- maxRate: 3e3,
7112
+ maxRate: 5e3,
7090
7113
  quotaIncreaseFee: 0,
7091
7114
  limit: BigInt(3e6) * POOL_DECIMALS
7092
7115
  },
7093
7116
  sUSDe: {
7094
7117
  minRate: 5,
7095
- maxRate: 3e3,
7118
+ maxRate: 5e3,
7096
7119
  quotaIncreaseFee: 0,
7097
- limit: BigInt(3e6) * POOL_DECIMALS
7120
+ limit: BigInt(0)
7098
7121
  }
7099
7122
  },
7100
7123
  creditManagers: [tier1CreditManager],
@@ -8561,15 +8584,15 @@ var require_usdtConfigMainnet = __commonJS({
8561
8584
  // POINTS FARMING
8562
8585
  USDe: {
8563
8586
  minRate: 5,
8564
- maxRate: 3e3,
8587
+ maxRate: 5e3,
8565
8588
  quotaIncreaseFee: 0,
8566
- limit: BigInt(3e6) * POOL_DECIMALS
8589
+ limit: BigInt(5e6) * POOL_DECIMALS
8567
8590
  },
8568
8591
  sUSDe: {
8569
8592
  minRate: 5,
8570
- maxRate: 3e3,
8593
+ maxRate: 5e3,
8571
8594
  quotaIncreaseFee: 0,
8572
- limit: BigInt(3e6) * POOL_DECIMALS
8595
+ limit: BigInt(0)
8573
8596
  }
8574
8597
  },
8575
8598
  creditManagers: [tier1CreditManager],
@@ -110715,6 +110738,224 @@ var require_token = __commonJS({
110715
110738
  sDAI: constants_1.NOT_DEPLOYED,
110716
110739
  YieldETH: constants_1.NOT_DEPLOYED,
110717
110740
  sUSDe: constants_1.NOT_DEPLOYED
110741
+ },
110742
+ //
110743
+ //
110744
+ // BASE
110745
+ //
110746
+ //
110747
+ ///
110748
+ ///
110749
+ /// OPTIMISM
110750
+ ///
110751
+ ///
110752
+ Base: {
110753
+ "1INCH": constants_1.NOT_DEPLOYED,
110754
+ AAVE: constants_1.NOT_DEPLOYED,
110755
+ COMP: constants_1.NOT_DEPLOYED,
110756
+ CRV: constants_1.NOT_DEPLOYED,
110757
+ DAI: constants_1.NOT_DEPLOYED,
110758
+ DPI: constants_1.NOT_DEPLOYED,
110759
+ FEI: constants_1.NOT_DEPLOYED,
110760
+ LINK: constants_1.NOT_DEPLOYED,
110761
+ SNX: constants_1.NOT_DEPLOYED,
110762
+ UNI: constants_1.NOT_DEPLOYED,
110763
+ USDT: constants_1.NOT_DEPLOYED,
110764
+ USDC: constants_1.NOT_DEPLOYED,
110765
+ USDC_e: constants_1.NOT_DEPLOYED,
110766
+ WBTC: constants_1.NOT_DEPLOYED,
110767
+ WETH: constants_1.NOT_DEPLOYED,
110768
+ YFI: constants_1.NOT_DEPLOYED,
110769
+ OHM: constants_1.NOT_DEPLOYED,
110770
+ MIM: constants_1.NOT_DEPLOYED,
110771
+ SPELL: constants_1.NOT_DEPLOYED,
110772
+ GMX: constants_1.NOT_DEPLOYED,
110773
+ ARB: constants_1.NOT_DEPLOYED,
110774
+ RDNT: constants_1.NOT_DEPLOYED,
110775
+ BAL: constants_1.NOT_DEPLOYED,
110776
+ AURA: constants_1.NOT_DEPLOYED,
110777
+ SWISE: constants_1.NOT_DEPLOYED,
110778
+ WLD: constants_1.NOT_DEPLOYED,
110779
+ OP: constants_1.NOT_DEPLOYED,
110780
+ /// UPDATE
110781
+ STETH: constants_1.NOT_DEPLOYED,
110782
+ wstETH: constants_1.NOT_DEPLOYED,
110783
+ CVX: constants_1.NOT_DEPLOYED,
110784
+ FRAX: constants_1.NOT_DEPLOYED,
110785
+ FXS: constants_1.NOT_DEPLOYED,
110786
+ LDO: constants_1.NOT_DEPLOYED,
110787
+ LUSD: constants_1.NOT_DEPLOYED,
110788
+ sUSD: constants_1.NOT_DEPLOYED,
110789
+ GUSD: constants_1.NOT_DEPLOYED,
110790
+ LQTY: constants_1.NOT_DEPLOYED,
110791
+ MKR: constants_1.NOT_DEPLOYED,
110792
+ RPL: constants_1.NOT_DEPLOYED,
110793
+ APE: constants_1.NOT_DEPLOYED,
110794
+ rETH: constants_1.NOT_DEPLOYED,
110795
+ osETH: constants_1.NOT_DEPLOYED,
110796
+ weETH: constants_1.NOT_DEPLOYED,
110797
+ ezETH: constants_1.NOT_DEPLOYED,
110798
+ rsETH: constants_1.NOT_DEPLOYED,
110799
+ PENDLE: constants_1.NOT_DEPLOYED,
110800
+ frxETH: constants_1.NOT_DEPLOYED,
110801
+ sfrxETH: constants_1.NOT_DEPLOYED,
110802
+ cbETH: constants_1.NOT_DEPLOYED,
110803
+ rswETH: constants_1.NOT_DEPLOYED,
110804
+ USDe: constants_1.NOT_DEPLOYED,
110805
+ // REDSTONE
110806
+ SHIB: constants_1.NOT_DEPLOYED,
110807
+ // YEARN TOKENS
110808
+ yvDAI: constants_1.NOT_DEPLOYED,
110809
+ yvUSDC: constants_1.NOT_DEPLOYED,
110810
+ yvUSDT: constants_1.NOT_DEPLOYED,
110811
+ yvWETH: constants_1.NOT_DEPLOYED,
110812
+ yvWBTC: constants_1.NOT_DEPLOYED,
110813
+ yvOP: constants_1.NOT_DEPLOYED,
110814
+ yvCurve_stETH: constants_1.NOT_DEPLOYED,
110815
+ yvCurve_FRAX: constants_1.NOT_DEPLOYED,
110816
+ // CURVE LP TOKENS
110817
+ "3Crv": constants_1.NOT_DEPLOYED,
110818
+ "3CRV": constants_1.NOT_DEPLOYED,
110819
+ wstETHCRV: constants_1.NOT_DEPLOYED,
110820
+ crvFRAX: constants_1.NOT_DEPLOYED,
110821
+ steCRV: constants_1.NOT_DEPLOYED,
110822
+ FRAX3CRV: constants_1.NOT_DEPLOYED,
110823
+ LUSD3CRV: constants_1.NOT_DEPLOYED,
110824
+ crvPlain3andSUSD: constants_1.NOT_DEPLOYED,
110825
+ gusd3CRV: constants_1.NOT_DEPLOYED,
110826
+ USDeUSDC: constants_1.NOT_DEPLOYED,
110827
+ FRAXUSDe: constants_1.NOT_DEPLOYED,
110828
+ USDecrvUSD: constants_1.NOT_DEPLOYED,
110829
+ OHMFRAXBP: constants_1.NOT_DEPLOYED,
110830
+ MIM_3LP3CRV: constants_1.NOT_DEPLOYED,
110831
+ crvCRVETH: constants_1.NOT_DEPLOYED,
110832
+ crvCVXETH: constants_1.NOT_DEPLOYED,
110833
+ crvUSDTWBTCWETH: constants_1.NOT_DEPLOYED,
110834
+ LDOETH: constants_1.NOT_DEPLOYED,
110835
+ USDeDAI: constants_1.NOT_DEPLOYED,
110836
+ MtEthena: constants_1.NOT_DEPLOYED,
110837
+ crvUSDUSDC: constants_1.NOT_DEPLOYED,
110838
+ crvUSDUSDT: constants_1.NOT_DEPLOYED,
110839
+ crvUSDFRAX: constants_1.NOT_DEPLOYED,
110840
+ crvUSDETHCRV: constants_1.NOT_DEPLOYED,
110841
+ "2CRV": constants_1.NOT_DEPLOYED,
110842
+ "3c-crvUSD": constants_1.NOT_DEPLOYED,
110843
+ crvUSDC: constants_1.NOT_DEPLOYED,
110844
+ crvUSDC_e: constants_1.NOT_DEPLOYED,
110845
+ crvUSDT: constants_1.NOT_DEPLOYED,
110846
+ rETH_f: constants_1.NOT_DEPLOYED,
110847
+ // CONVEX LP TOKENS
110848
+ cvx3Crv: constants_1.NOT_DEPLOYED,
110849
+ cvxcrvFRAX: constants_1.NOT_DEPLOYED,
110850
+ cvxsteCRV: constants_1.NOT_DEPLOYED,
110851
+ cvxcrvPlain3andSUSD: constants_1.NOT_DEPLOYED,
110852
+ cvxFRAX3CRV: constants_1.NOT_DEPLOYED,
110853
+ cvxLUSD3CRV: constants_1.NOT_DEPLOYED,
110854
+ cvxgusd3CRV: constants_1.NOT_DEPLOYED,
110855
+ cvxOHMFRAXBP: constants_1.NOT_DEPLOYED,
110856
+ cvxMIM_3LP3CRV: constants_1.NOT_DEPLOYED,
110857
+ cvxcrvCRVETH: constants_1.NOT_DEPLOYED,
110858
+ cvxcrvCVXETH: constants_1.NOT_DEPLOYED,
110859
+ cvxcrvUSDTWBTCWETH: constants_1.NOT_DEPLOYED,
110860
+ cvxLDOETH: constants_1.NOT_DEPLOYED,
110861
+ cvxcrvUSDUSDC: constants_1.NOT_DEPLOYED,
110862
+ cvxcrvUSDUSDT: constants_1.NOT_DEPLOYED,
110863
+ cvxcrvUSDFRAX: constants_1.NOT_DEPLOYED,
110864
+ cvxcrvUSDETHCRV: constants_1.NOT_DEPLOYED,
110865
+ crvUSD: constants_1.NOT_DEPLOYED,
110866
+ // CONVEX PHANTOM TOKEN ADDRESSES
110867
+ stkcvx3Crv: constants_1.NOT_DEPLOYED,
110868
+ stkcvxcrvFRAX: constants_1.NOT_DEPLOYED,
110869
+ stkcvxFRAX3CRV: constants_1.NOT_DEPLOYED,
110870
+ stkcvxgusd3CRV: constants_1.NOT_DEPLOYED,
110871
+ stkcvxsteCRV: constants_1.NOT_DEPLOYED,
110872
+ stkcvxcrvPlain3andSUSD: constants_1.NOT_DEPLOYED,
110873
+ stkcvxLUSD3CRV: constants_1.NOT_DEPLOYED,
110874
+ stkcvxOHMFRAXBP: constants_1.NOT_DEPLOYED,
110875
+ stkcvxMIM_3LP3CRV: constants_1.NOT_DEPLOYED,
110876
+ stkcvxcrvCRVETH: constants_1.NOT_DEPLOYED,
110877
+ stkcvxcrvCVXETH: constants_1.NOT_DEPLOYED,
110878
+ stkcvxcrvUSDTWBTCWETH: constants_1.NOT_DEPLOYED,
110879
+ stkcvxLDOETH: constants_1.NOT_DEPLOYED,
110880
+ stkcvxcrvUSDUSDC: constants_1.NOT_DEPLOYED,
110881
+ stkcvxcrvUSDUSDT: constants_1.NOT_DEPLOYED,
110882
+ stkcvxcrvUSDFRAX: constants_1.NOT_DEPLOYED,
110883
+ stkcvxcrvUSDETHCRV: constants_1.NOT_DEPLOYED,
110884
+ // BALANCER TOKENS
110885
+ "50OHM_50DAI": constants_1.NOT_DEPLOYED,
110886
+ "50OHM_50WETH": constants_1.NOT_DEPLOYED,
110887
+ OHM_wstETH: constants_1.NOT_DEPLOYED,
110888
+ USDC_DAI_USDT: constants_1.NOT_DEPLOYED,
110889
+ B_rETH_STABLE: constants_1.NOT_DEPLOYED,
110890
+ weETH_rETH: constants_1.NOT_DEPLOYED,
110891
+ osETH_wETH_BPT: constants_1.NOT_DEPLOYED,
110892
+ B_80BAL_20WETH: constants_1.NOT_DEPLOYED,
110893
+ "50WETH_50AURA": constants_1.NOT_DEPLOYED,
110894
+ wstETH_WETH_BPT: constants_1.NOT_DEPLOYED,
110895
+ wstETH_rETH_cbETH: constants_1.NOT_DEPLOYED,
110896
+ wstETH_rETH_sfrxETH: constants_1.NOT_DEPLOYED,
110897
+ rETH_WETH_BPT: constants_1.NOT_DEPLOYED,
110898
+ ezETH_WETH_BPT: constants_1.NOT_DEPLOYED,
110899
+ weETH_ezETH_rswETH: constants_1.NOT_DEPLOYED,
110900
+ "33AURA_33ARB_33BAL": constants_1.NOT_DEPLOYED,
110901
+ BPT_rETH_ETH: constants_1.NOT_DEPLOYED,
110902
+ BPT_WSTETH_ETH: constants_1.NOT_DEPLOYED,
110903
+ BPT_ROAD: constants_1.NOT_DEPLOYED,
110904
+ ECLP_wstETH_WETH: constants_1.NOT_DEPLOYED,
110905
+ // AURA
110906
+ auraB_rETH_STABLE: constants_1.NOT_DEPLOYED,
110907
+ auraweETH_rETH: constants_1.NOT_DEPLOYED,
110908
+ auraosETH_wETH_BPT: constants_1.NOT_DEPLOYED,
110909
+ auraBPT_rETH_ETH: constants_1.NOT_DEPLOYED,
110910
+ auraBPT_WSTETH_ETH: constants_1.NOT_DEPLOYED,
110911
+ aurarETH_WETH_BPT: constants_1.NOT_DEPLOYED,
110912
+ aurawstETH_rETH_cbETH: constants_1.NOT_DEPLOYED,
110913
+ aurawstETH_rETH_sfrxETH: constants_1.NOT_DEPLOYED,
110914
+ aurawstETH_WETH_BPT: constants_1.NOT_DEPLOYED,
110915
+ auraB_rETH_STABLE_vault: constants_1.NOT_DEPLOYED,
110916
+ auraweETH_rETH_vault: constants_1.NOT_DEPLOYED,
110917
+ auraosETH_wETH_BPT_vault: constants_1.NOT_DEPLOYED,
110918
+ auraBPT_rETH_ETH_vault: constants_1.NOT_DEPLOYED,
110919
+ auraBPT_WSTETH_ETH_vault: constants_1.NOT_DEPLOYED,
110920
+ aurarETH_WETH_BPT_vault: constants_1.NOT_DEPLOYED,
110921
+ aurawstETH_rETH_cbETH_vault: constants_1.NOT_DEPLOYED,
110922
+ aurawstETH_rETH_sfrxETH_vault: constants_1.NOT_DEPLOYED,
110923
+ aurawstETH_WETH_BPT_vault: constants_1.NOT_DEPLOYED,
110924
+ // GEARBOX
110925
+ dDAI: constants_1.NOT_DEPLOYED,
110926
+ dUSDC: constants_1.NOT_DEPLOYED,
110927
+ dWBTC: constants_1.NOT_DEPLOYED,
110928
+ dWETH: constants_1.NOT_DEPLOYED,
110929
+ dwstETH: constants_1.NOT_DEPLOYED,
110930
+ dFRAX: constants_1.NOT_DEPLOYED,
110931
+ dUSDCV3: constants_1.NOT_DEPLOYED,
110932
+ dWBTCV3: constants_1.NOT_DEPLOYED,
110933
+ dWETHV3: constants_1.NOT_DEPLOYED,
110934
+ sdUSDCV3: constants_1.NOT_DEPLOYED,
110935
+ sdWBTCV3: constants_1.NOT_DEPLOYED,
110936
+ sdWETHV3: constants_1.NOT_DEPLOYED,
110937
+ GEAR: constants_1.NOT_DEPLOYED,
110938
+ // AAVE
110939
+ aUSDC: constants_1.NOT_DEPLOYED,
110940
+ aDAI: constants_1.NOT_DEPLOYED,
110941
+ aUSDT: constants_1.NOT_DEPLOYED,
110942
+ aWETH: constants_1.NOT_DEPLOYED,
110943
+ waDAI: constants_1.NOT_DEPLOYED,
110944
+ waUSDC: constants_1.NOT_DEPLOYED,
110945
+ waUSDT: constants_1.NOT_DEPLOYED,
110946
+ waWETH: constants_1.NOT_DEPLOYED,
110947
+ cDAI: constants_1.NOT_DEPLOYED,
110948
+ cUSDC: constants_1.NOT_DEPLOYED,
110949
+ cUSDT: constants_1.NOT_DEPLOYED,
110950
+ cETH: constants_1.NOT_DEPLOYED,
110951
+ cLINK: constants_1.NOT_DEPLOYED,
110952
+ fUSDC: constants_1.NOT_DEPLOYED,
110953
+ sDAI: constants_1.NOT_DEPLOYED,
110954
+ YieldETH: constants_1.NOT_DEPLOYED,
110955
+ sUSDe: constants_1.NOT_DEPLOYED,
110956
+ GHO: constants_1.NOT_DEPLOYED,
110957
+ GHOUSDe: constants_1.NOT_DEPLOYED,
110958
+ GHO_USDT_USDC: constants_1.NOT_DEPLOYED
110718
110959
  }
110719
110960
  };
110720
110961
  exports2.tokenSymbolByAddress = mappers_1.TypedObjectUtils.entries(exports2.tokenDataByNetwork).reduce((acc, [, tokens]) => ({
@@ -111152,6 +111393,119 @@ var require_contracts = __commonJS({
111152
111393
  COMPOUND_V2_LINK_POOL: token_1.tokenDataByNetwork.Optimism.cLINK,
111153
111394
  COMPOUND_V2_ETH_GATEWAY: constants_1.NOT_DEPLOYED,
111154
111395
  FLUX_USDC_POOL: token_1.tokenDataByNetwork.Optimism.fUSDC
111396
+ },
111397
+ //
111398
+ //
111399
+ //
111400
+ //
111401
+ // BASE
111402
+ //
111403
+ //
111404
+ //
111405
+ //
111406
+ Base: {
111407
+ UNISWAP_V2_ROUTER: constants_1.NOT_DEPLOYED,
111408
+ UNISWAP_V3_ROUTER: constants_1.NOT_DEPLOYED,
111409
+ SUSHISWAP_ROUTER: constants_1.NOT_DEPLOYED,
111410
+ FRAXSWAP_ROUTER: constants_1.NOT_DEPLOYED,
111411
+ VELODROME_V2_ROUTER: constants_1.NOT_DEPLOYED,
111412
+ CAMELOT_V3_ROUTER: constants_1.NOT_DEPLOYED,
111413
+ // CURVE
111414
+ CURVE_3CRV_POOL_OP: constants_1.NOT_DEPLOYED,
111415
+ CURVE_3CRV_POOL: constants_1.NOT_DEPLOYED,
111416
+ CURVE_FRAX_USDC_POOL: constants_1.NOT_DEPLOYED,
111417
+ CURVE_STETH_GATEWAY: constants_1.NOT_DEPLOYED,
111418
+ CURVE_FRAX_POOL: token_1.tokenDataByNetwork.Optimism.FRAX3CRV,
111419
+ CURVE_LUSD_POOL: token_1.tokenDataByNetwork.Optimism.LUSD3CRV,
111420
+ CURVE_SUSD_POOL: constants_1.NOT_DEPLOYED,
111421
+ CURVE_SUSD_DEPOSIT: constants_1.NOT_DEPLOYED,
111422
+ CURVE_GUSD_POOL: constants_1.NOT_DEPLOYED,
111423
+ CURVE_MIM_POOL: token_1.tokenDataByNetwork.Optimism.MIM_3LP3CRV,
111424
+ CURVE_OHMFRAXBP_POOL: constants_1.NOT_DEPLOYED,
111425
+ CURVE_CRVETH_POOL: constants_1.NOT_DEPLOYED,
111426
+ CURVE_CVXETH_POOL: constants_1.NOT_DEPLOYED,
111427
+ CURVE_3CRYPTO_POOL: constants_1.NOT_DEPLOYED,
111428
+ CURVE_LDOETH_POOL: constants_1.NOT_DEPLOYED,
111429
+ CURVE_USDE_USDC_POOL: token_1.tokenDataByNetwork.Optimism.USDeUSDC,
111430
+ CURVE_FRAX_USDE_POOL: token_1.tokenDataByNetwork.Optimism.FRAXUSDe,
111431
+ CURVE_USDE_CRVUSD_POOL: token_1.tokenDataByNetwork.Optimism.USDecrvUSD,
111432
+ CURVE_USDE_DAI_POOL: token_1.tokenDataByNetwork.Optimism.USDeDAI,
111433
+ CURVE_SDAI_SUSDE_POOL: token_1.tokenDataByNetwork.Optimism.MtEthena,
111434
+ CURVE_ETH_WSTETH_GATEWAY_OP: constants_1.NOT_DEPLOYED,
111435
+ CURVE_GEAR_POOL: constants_1.NOT_DEPLOYED,
111436
+ CURVE_CRVUSD_USDC_POOL: token_1.tokenDataByNetwork.Optimism.crvUSDUSDC,
111437
+ CURVE_CRVUSD_USDT_POOL: token_1.tokenDataByNetwork.Optimism.crvUSDUSDT,
111438
+ CURVE_CRVUSD_FRAX_POOL: token_1.tokenDataByNetwork.Optimism.crvUSDFRAX,
111439
+ CURVE_TRI_CRV_POOL: token_1.tokenDataByNetwork.Optimism.crvUSDETHCRV,
111440
+ CURVE_RETH_ETH_POOL: constants_1.NOT_DEPLOYED,
111441
+ CURVE_2CRV_POOL_ARB: token_1.tokenDataByNetwork.Optimism["2CRV"],
111442
+ CURVE_TRICRYPTO_CRVUSD_POOL_ARB: token_1.tokenDataByNetwork.Optimism["3c-crvUSD"],
111443
+ CURVE_CRVUSD_USDC_POOL_ARB: token_1.tokenDataByNetwork.Optimism.crvUSDC,
111444
+ CURVE_CRVUSD_USDT_POOL_ARB: token_1.tokenDataByNetwork.Optimism.crvUSDT,
111445
+ CURVE_CRVUSD_USDC_E_POOL_ARB: token_1.tokenDataByNetwork.Optimism.crvUSDC_e,
111446
+ // YEARN
111447
+ YEARN_DAI_VAULT: token_1.tokenDataByNetwork.Optimism.yvDAI,
111448
+ YEARN_USDC_VAULT: token_1.tokenDataByNetwork.Optimism.yvUSDC,
111449
+ YEARN_WETH_VAULT: token_1.tokenDataByNetwork.Optimism.yvWETH,
111450
+ YEARN_WBTC_VAULT: token_1.tokenDataByNetwork.Optimism.yvWBTC,
111451
+ YEARN_USDT_VAULT: token_1.tokenDataByNetwork.Optimism.yvUSDT,
111452
+ YEARN_OP_VAULT: token_1.tokenDataByNetwork.Optimism.yvOP,
111453
+ YEARN_CURVE_FRAX_VAULT: token_1.tokenDataByNetwork.Optimism.yvCurve_FRAX,
111454
+ YEARN_CURVE_STETH_VAULT: token_1.tokenDataByNetwork.Optimism.yvCurve_stETH,
111455
+ /// ERC4626
111456
+ MAKER_DSR_VAULT: token_1.tokenDataByNetwork.Optimism.sDAI,
111457
+ YIELD_ETH_VAULT: token_1.tokenDataByNetwork.Optimism.YieldETH,
111458
+ STAKED_USDE_VAULT: token_1.tokenDataByNetwork.Optimism.sUSDe,
111459
+ // CONVEX
111460
+ CONVEX_BOOSTER: constants_1.NOT_DEPLOYED,
111461
+ CONVEX_3CRV_POOL: constants_1.NOT_DEPLOYED,
111462
+ CONVEX_FRAX_USDC_POOL: constants_1.NOT_DEPLOYED,
111463
+ CONVEX_STECRV_POOL: constants_1.NOT_DEPLOYED,
111464
+ CONVEX_SUSD_POOL: constants_1.NOT_DEPLOYED,
111465
+ CONVEX_FRAX3CRV_POOL: constants_1.NOT_DEPLOYED,
111466
+ CONVEX_LUSD3CRV_POOL: constants_1.NOT_DEPLOYED,
111467
+ CONVEX_GUSD_POOL: constants_1.NOT_DEPLOYED,
111468
+ CONVEX_OHMFRAXBP_POOL: constants_1.NOT_DEPLOYED,
111469
+ CONVEX_MIM3CRV_POOL: constants_1.NOT_DEPLOYED,
111470
+ CONVEX_CRVETH_POOL: constants_1.NOT_DEPLOYED,
111471
+ CONVEX_CVXETH_POOL: constants_1.NOT_DEPLOYED,
111472
+ CONVEX_3CRYPTO_POOL: constants_1.NOT_DEPLOYED,
111473
+ CONVEX_LDOETH_POOL: constants_1.NOT_DEPLOYED,
111474
+ CONVEX_CRVUSD_USDC_POOL: constants_1.NOT_DEPLOYED,
111475
+ CONVEX_CRVUSD_USDT_POOL: constants_1.NOT_DEPLOYED,
111476
+ CONVEX_CRVUSD_FRAX_POOL: constants_1.NOT_DEPLOYED,
111477
+ CONVEX_TRI_CRV_POOL: constants_1.NOT_DEPLOYED,
111478
+ // AURA
111479
+ AURA_BOOSTER: constants_1.NOT_DEPLOYED,
111480
+ AURA_WEETH_RETH_POOL: token_1.tokenDataByNetwork.Optimism.auraweETH_rETH_vault,
111481
+ AURA_OSETH_WETH_POOL: token_1.tokenDataByNetwork.Optimism.auraosETH_wETH_BPT_vault,
111482
+ AURA_B_RETH_STABLE_POOL: token_1.tokenDataByNetwork.Optimism.auraB_rETH_STABLE_vault,
111483
+ AURA_BPT_RETH_ETH_POOL: token_1.tokenDataByNetwork.Optimism.auraBPT_rETH_ETH_vault,
111484
+ AURA_BPT_WSTETH_ETH_POOL: token_1.tokenDataByNetwork.Optimism.auraBPT_WSTETH_ETH_vault,
111485
+ AURA_RETH_WETH_POOL_ARB: token_1.tokenDataByNetwork.Optimism.aurarETH_WETH_BPT_vault,
111486
+ AURA_WSTETH_WETH_POOL_ARB: token_1.tokenDataByNetwork.Optimism.aurawstETH_WETH_BPT_vault,
111487
+ AURA_WSTETH_RETH_CBETH_POOL_ARB: token_1.tokenDataByNetwork.Optimism.aurawstETH_rETH_cbETH_vault,
111488
+ AURA_WSTETH_RETH_SFRXETH_POOL_ARB: token_1.tokenDataByNetwork.Optimism.aurawstETH_rETH_sfrxETH_vault,
111489
+ // LIDO
111490
+ LIDO_STETH_GATEWAY: constants_1.NOT_DEPLOYED,
111491
+ LIDO_WSTETH: constants_1.NOT_DEPLOYED,
111492
+ // BALANCER
111493
+ BALANCER_VAULT: constants_1.NOT_DEPLOYED,
111494
+ // GEARBOX
111495
+ UNIVERSAL_ADAPTER: constants_1.NOT_DEPLOYED,
111496
+ // AAVE
111497
+ AAVE_V2_LENDING_POOL: constants_1.NOT_DEPLOYED,
111498
+ AAVE_V2_DAI_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Optimism.waDAI,
111499
+ AAVE_V2_USDC_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Optimism.waUSDC,
111500
+ AAVE_V2_USDT_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Optimism.waUSDT,
111501
+ AAVE_V2_WETH_TOKEN_WRAPPER: token_1.tokenDataByNetwork.Optimism.waWETH,
111502
+ COMPOUND_V2_DAI_POOL: token_1.tokenDataByNetwork.Optimism.cDAI,
111503
+ COMPOUND_V2_USDC_POOL: token_1.tokenDataByNetwork.Optimism.cUSDC,
111504
+ COMPOUND_V2_USDT_POOL: token_1.tokenDataByNetwork.Optimism.cUSDT,
111505
+ COMPOUND_V2_LINK_POOL: token_1.tokenDataByNetwork.Optimism.cLINK,
111506
+ COMPOUND_V2_ETH_GATEWAY: constants_1.NOT_DEPLOYED,
111507
+ FLUX_USDC_POOL: token_1.tokenDataByNetwork.Optimism.fUSDC,
111508
+ CURVE_GHO_USDE_POOL: constants_1.NOT_DEPLOYED
111155
111509
  }
111156
111510
  };
111157
111511
  exports2.UNISWAP_V3_QUOTER = "0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6";
@@ -111213,7 +111567,8 @@ var require_contracts = __commonJS({
111213
111567
  pool: {
111214
111568
  Mainnet: "0xDC24316b9AE028F1497c275EB9192a3Ea0f67022",
111215
111569
  Arbitrum: constants_1.NOT_DEPLOYED,
111216
- Optimism: constants_1.NOT_DEPLOYED
111570
+ Optimism: constants_1.NOT_DEPLOYED,
111571
+ Base: constants_1.NOT_DEPLOYED
111217
111572
  },
111218
111573
  tokens: ["WETH", "STETH"],
111219
111574
  lpToken: "steCRV"
@@ -111226,7 +111581,8 @@ var require_contracts = __commonJS({
111226
111581
  pool: {
111227
111582
  Mainnet: constants_1.NOT_DEPLOYED,
111228
111583
  Arbitrum: constants_1.NOT_DEPLOYED,
111229
- Optimism: "0xb90b9b1f91a01ea22a182cd84c1e22222e39b415"
111584
+ Optimism: "0xb90b9b1f91a01ea22a182cd84c1e22222e39b415",
111585
+ Base: constants_1.NOT_DEPLOYED
111230
111586
  },
111231
111587
  tokens: ["WETH", "STETH"],
111232
111588
  lpToken: "wstETHCRV"
@@ -111239,7 +111595,8 @@ var require_contracts = __commonJS({
111239
111595
  pool: {
111240
111596
  Mainnet: "0x0E9B5B092caD6F1c5E6bc7f89Ffe1abb5c95F1C2",
111241
111597
  Arbitrum: constants_1.NOT_DEPLOYED,
111242
- Optimism: constants_1.NOT_DEPLOYED
111598
+ Optimism: constants_1.NOT_DEPLOYED,
111599
+ Base: constants_1.NOT_DEPLOYED
111243
111600
  },
111244
111601
  tokens: ["GEAR", "WETH"],
111245
111602
  lpToken: "GEAR"
@@ -111577,7 +111934,8 @@ var require_contracts = __commonJS({
111577
111934
  poolAddress: {
111578
111935
  Mainnet: "0x81fCe3E10D12Da6c7266a1A169c4C96813435263",
111579
111936
  Arbitrum: constants_1.NOT_DEPLOYED,
111580
- Optimism: constants_1.NOT_DEPLOYED
111937
+ Optimism: constants_1.NOT_DEPLOYED,
111938
+ Base: constants_1.NOT_DEPLOYED
111581
111939
  }
111582
111940
  }
111583
111941
  ]
@@ -111593,7 +111951,8 @@ var require_contracts = __commonJS({
111593
111951
  poolAddress: {
111594
111952
  Mainnet: "0x008aEa5036b819B4FEAEd10b2190FBb3954981E8",
111595
111953
  Arbitrum: constants_1.NOT_DEPLOYED,
111596
- Optimism: constants_1.NOT_DEPLOYED
111954
+ Optimism: constants_1.NOT_DEPLOYED,
111955
+ Base: constants_1.NOT_DEPLOYED
111597
111956
  }
111598
111957
  }
111599
111958
  ]
@@ -111609,7 +111968,8 @@ var require_contracts = __commonJS({
111609
111968
  poolAddress: {
111610
111969
  Mainnet: "0xcDEC6714eB482f28f4889A0c122868450CDBF0b0",
111611
111970
  Arbitrum: constants_1.NOT_DEPLOYED,
111612
- Optimism: constants_1.NOT_DEPLOYED
111971
+ Optimism: constants_1.NOT_DEPLOYED,
111972
+ Base: constants_1.NOT_DEPLOYED
111613
111973
  }
111614
111974
  }
111615
111975
  ]
@@ -111625,7 +111985,8 @@ var require_contracts = __commonJS({
111625
111985
  poolAddress: {
111626
111986
  Mainnet: "0x55d59b791f06dc519B176791c4E037E8Cf2f6361",
111627
111987
  Arbitrum: constants_1.NOT_DEPLOYED,
111628
- Optimism: constants_1.NOT_DEPLOYED
111988
+ Optimism: constants_1.NOT_DEPLOYED,
111989
+ Base: constants_1.NOT_DEPLOYED
111629
111990
  }
111630
111991
  }
111631
111992
  ]
@@ -111641,7 +112002,8 @@ var require_contracts = __commonJS({
111641
112002
  poolAddress: {
111642
112003
  Mainnet: "0x69a92f1656cd2e193797546cFe2EaF32EACcf6f7",
111643
112004
  Arbitrum: constants_1.NOT_DEPLOYED,
111644
- Optimism: constants_1.NOT_DEPLOYED
112005
+ Optimism: constants_1.NOT_DEPLOYED,
112006
+ Base: constants_1.NOT_DEPLOYED
111645
112007
  }
111646
112008
  }
111647
112009
  ]
@@ -111664,7 +112026,8 @@ var require_contracts = __commonJS({
111664
112026
  poolAddress: {
111665
112027
  Mainnet: "0xE1eCBB4181378E2346EAC90Eb5606c01Aa08f052",
111666
112028
  Arbitrum: constants_1.NOT_DEPLOYED,
111667
- Optimism: constants_1.NOT_DEPLOYED
112029
+ Optimism: constants_1.NOT_DEPLOYED,
112030
+ Base: constants_1.NOT_DEPLOYED
111668
112031
  }
111669
112032
  }
111670
112033
  ]
@@ -111680,7 +112043,8 @@ var require_contracts = __commonJS({
111680
112043
  poolAddress: {
111681
112044
  Mainnet: "0x834B9147Fd23bF131644aBC6e557Daf99C5cDa15",
111682
112045
  Arbitrum: constants_1.NOT_DEPLOYED,
111683
- Optimism: constants_1.NOT_DEPLOYED
112046
+ Optimism: constants_1.NOT_DEPLOYED,
112047
+ Base: constants_1.NOT_DEPLOYED
111684
112048
  }
111685
112049
  }
111686
112050
  ]
@@ -111703,7 +112067,8 @@ var require_contracts = __commonJS({
111703
112067
  poolAddress: {
111704
112068
  Mainnet: "0x95e6092449a0f3946A5a0f308Ead4adcff244E2B",
111705
112069
  Arbitrum: constants_1.NOT_DEPLOYED,
111706
- Optimism: constants_1.NOT_DEPLOYED
112070
+ Optimism: constants_1.NOT_DEPLOYED,
112071
+ Base: constants_1.NOT_DEPLOYED
111707
112072
  }
111708
112073
  }
111709
112074
  ]
@@ -111719,7 +112084,8 @@ var require_contracts = __commonJS({
111719
112084
  poolAddress: {
111720
112085
  Mainnet: "0xac183F7cd62d5b04Fa40362EB67249A80339541A",
111721
112086
  Arbitrum: constants_1.NOT_DEPLOYED,
111722
- Optimism: constants_1.NOT_DEPLOYED
112087
+ Optimism: constants_1.NOT_DEPLOYED,
112088
+ Base: constants_1.NOT_DEPLOYED
111723
112089
  }
111724
112090
  }
111725
112091
  ]
@@ -111735,7 +112101,8 @@ var require_contracts = __commonJS({
111735
112101
  poolAddress: {
111736
112102
  Mainnet: "0xD490178B568b07c6DDbDfBBfaF9043772209Ec01",
111737
112103
  Arbitrum: constants_1.NOT_DEPLOYED,
111738
- Optimism: constants_1.NOT_DEPLOYED
112104
+ Optimism: constants_1.NOT_DEPLOYED,
112105
+ Base: constants_1.NOT_DEPLOYED
111739
112106
  }
111740
112107
  }
111741
112108
  ]
@@ -111751,7 +112118,8 @@ var require_contracts = __commonJS({
111751
112118
  poolAddress: {
111752
112119
  Mainnet: "0x749cFfCb53e008841d7387ba37f9284BDeCEe0A9",
111753
112120
  Arbitrum: constants_1.NOT_DEPLOYED,
111754
- Optimism: constants_1.NOT_DEPLOYED
112121
+ Optimism: constants_1.NOT_DEPLOYED,
112122
+ Base: constants_1.NOT_DEPLOYED
111755
112123
  }
111756
112124
  }
111757
112125
  ]
@@ -111767,7 +112135,8 @@ var require_contracts = __commonJS({
111767
112135
  poolAddress: {
111768
112136
  Mainnet: "0x01eC96F1eEBF470E3fEAEEfB843fbC63424e668d",
111769
112137
  Arbitrum: constants_1.NOT_DEPLOYED,
111770
- Optimism: constants_1.NOT_DEPLOYED
112138
+ Optimism: constants_1.NOT_DEPLOYED,
112139
+ Base: constants_1.NOT_DEPLOYED
111771
112140
  }
111772
112141
  }
111773
112142
  ]
@@ -111788,7 +112157,8 @@ var require_contracts = __commonJS({
111788
112157
  poolAddress: {
111789
112158
  Mainnet: "0xf66a72886749c96b18526E8E124cC2e18b7c72D2",
111790
112159
  Arbitrum: constants_1.NOT_DEPLOYED,
111791
- Optimism: constants_1.NOT_DEPLOYED
112160
+ Optimism: constants_1.NOT_DEPLOYED,
112161
+ Base: constants_1.NOT_DEPLOYED
111792
112162
  }
111793
112163
  }
111794
112164
  ]
@@ -111804,7 +112174,8 @@ var require_contracts = __commonJS({
111804
112174
  poolAddress: {
111805
112175
  Mainnet: "0x25d22C5191C67D63AAB70a37FAe06e1c1E1a830F",
111806
112176
  Arbitrum: constants_1.NOT_DEPLOYED,
111807
- Optimism: constants_1.NOT_DEPLOYED
112177
+ Optimism: constants_1.NOT_DEPLOYED,
112178
+ Base: constants_1.NOT_DEPLOYED
111808
112179
  }
111809
112180
  }
111810
112181
  ]
@@ -111820,7 +112191,8 @@ var require_contracts = __commonJS({
111820
112191
  poolAddress: {
111821
112192
  Mainnet: "0x62e6D8dAe7089C8F2f2a5C328c710aa1788742fb",
111822
112193
  Arbitrum: constants_1.NOT_DEPLOYED,
111823
- Optimism: constants_1.NOT_DEPLOYED
112194
+ Optimism: constants_1.NOT_DEPLOYED,
112195
+ Base: constants_1.NOT_DEPLOYED
111824
112196
  }
111825
112197
  },
111826
112198
  {
@@ -111828,7 +112200,8 @@ var require_contracts = __commonJS({
111828
112200
  poolAddress: {
111829
112201
  Mainnet: "0xC5E75ccd4d40e2Fb280f008f8AFB5EF3415EFA72",
111830
112202
  Arbitrum: constants_1.NOT_DEPLOYED,
111831
- Optimism: constants_1.NOT_DEPLOYED
112203
+ Optimism: constants_1.NOT_DEPLOYED,
112204
+ Base: constants_1.NOT_DEPLOYED
111832
112205
  }
111833
112206
  }
111834
112207
  ]
@@ -111844,7 +112217,8 @@ var require_contracts = __commonJS({
111844
112217
  poolAddress: {
111845
112218
  Mainnet: constants_1.NOT_DEPLOYED,
111846
112219
  Arbitrum: constants_1.NOT_DEPLOYED,
111847
- Optimism: "0x0A22Ae9D9D149C14f6c15A235e715bB6C1Cfa739"
112220
+ Optimism: "0x0A22Ae9D9D149C14f6c15A235e715bB6C1Cfa739",
112221
+ Base: constants_1.NOT_DEPLOYED
111848
112222
  }
111849
112223
  },
111850
112224
  {
@@ -111852,7 +112226,8 @@ var require_contracts = __commonJS({
111852
112226
  poolAddress: {
111853
112227
  Mainnet: constants_1.NOT_DEPLOYED,
111854
112228
  Arbitrum: constants_1.NOT_DEPLOYED,
111855
- Optimism: "0x81673Cdd00c2839440f31575cCFa5B6ca4a87B2B"
112229
+ Optimism: "0x81673Cdd00c2839440f31575cCFa5B6ca4a87B2B",
112230
+ Base: constants_1.NOT_DEPLOYED
111856
112231
  }
111857
112232
  }
111858
112233
  ]
@@ -111868,7 +112243,8 @@ var require_contracts = __commonJS({
111868
112243
  poolAddress: {
111869
112244
  Mainnet: constants_1.NOT_DEPLOYED,
111870
112245
  Arbitrum: constants_1.NOT_DEPLOYED,
111871
- Optimism: "0x903d716fe68e7e091eCC43AA93c0F8cfD7e7BC0a"
112246
+ Optimism: "0x903d716fe68e7e091eCC43AA93c0F8cfD7e7BC0a",
112247
+ Base: constants_1.NOT_DEPLOYED
111872
112248
  }
111873
112249
  },
111874
112250
  {
@@ -111876,7 +112252,8 @@ var require_contracts = __commonJS({
111876
112252
  poolAddress: {
111877
112253
  Mainnet: constants_1.NOT_DEPLOYED,
111878
112254
  Arbitrum: constants_1.NOT_DEPLOYED,
111879
- Optimism: "0xb0709c230C06BE6e2A84b2Ba877094EB9a4fA014"
112255
+ Optimism: "0xb0709c230C06BE6e2A84b2Ba877094EB9a4fA014",
112256
+ Base: constants_1.NOT_DEPLOYED
111880
112257
  }
111881
112258
  }
111882
112259
  ]
@@ -111892,7 +112269,8 @@ var require_contracts = __commonJS({
111892
112269
  poolAddress: {
111893
112270
  Mainnet: constants_1.NOT_DEPLOYED,
111894
112271
  Arbitrum: "0xC0353d05D3F2b6e14E36c5d3B4bF8d179890A001",
111895
- Optimism: constants_1.NOT_DEPLOYED
112272
+ Optimism: constants_1.NOT_DEPLOYED,
112273
+ Base: constants_1.NOT_DEPLOYED
111896
112274
  }
111897
112275
  },
111898
112276
  {
@@ -111900,7 +112278,8 @@ var require_contracts = __commonJS({
111900
112278
  poolAddress: {
111901
112279
  Mainnet: constants_1.NOT_DEPLOYED,
111902
112280
  Arbitrum: "0x3a0beff39E243453960aD1198Fc3aAabdBDDe56C",
111903
- Optimism: constants_1.NOT_DEPLOYED
112281
+ Optimism: constants_1.NOT_DEPLOYED,
112282
+ Base: constants_1.NOT_DEPLOYED
111904
112283
  }
111905
112284
  }
111906
112285
  ]
@@ -111916,7 +112295,8 @@ var require_contracts = __commonJS({
111916
112295
  poolAddress: {
111917
112296
  Mainnet: constants_1.NOT_DEPLOYED,
111918
112297
  Arbitrum: "0x5901ce1c3Bf6C97fC49ED0fF08A88a57ea6E4Ca4",
111919
- Optimism: constants_1.NOT_DEPLOYED
112298
+ Optimism: constants_1.NOT_DEPLOYED,
112299
+ Base: constants_1.NOT_DEPLOYED
111920
112300
  }
111921
112301
  },
111922
112302
  {
@@ -111924,7 +112304,8 @@ var require_contracts = __commonJS({
111924
112304
  poolAddress: {
111925
112305
  Mainnet: constants_1.NOT_DEPLOYED,
111926
112306
  Arbitrum: "0x4601Ec46A285714e6F2A9466DA7f2BcB33646391",
111927
- Optimism: constants_1.NOT_DEPLOYED
112307
+ Optimism: constants_1.NOT_DEPLOYED,
112308
+ Base: constants_1.NOT_DEPLOYED
111928
112309
  }
111929
112310
  }
111930
112311
  ]
@@ -111940,7 +112321,8 @@ var require_contracts = __commonJS({
111940
112321
  poolAddress: {
111941
112322
  Mainnet: constants_1.NOT_DEPLOYED,
111942
112323
  Arbitrum: "0xf0dcb30811228bED2b87b2753fabAfe80A9D0fb9",
111943
- Optimism: constants_1.NOT_DEPLOYED
112324
+ Optimism: constants_1.NOT_DEPLOYED,
112325
+ Base: constants_1.NOT_DEPLOYED
111944
112326
  }
111945
112327
  },
111946
112328
  {
@@ -111948,7 +112330,8 @@ var require_contracts = __commonJS({
111948
112330
  poolAddress: {
111949
112331
  Mainnet: constants_1.NOT_DEPLOYED,
111950
112332
  Arbitrum: "0xE42D389058D820177b83E2863FEb13733d6Dd5f2",
111951
- Optimism: constants_1.NOT_DEPLOYED
112333
+ Optimism: constants_1.NOT_DEPLOYED,
112334
+ Base: constants_1.NOT_DEPLOYED
111952
112335
  }
111953
112336
  }
111954
112337
  ]
@@ -111964,7 +112347,8 @@ var require_contracts = __commonJS({
111964
112347
  poolAddress: {
111965
112348
  Mainnet: constants_1.NOT_DEPLOYED,
111966
112349
  Arbitrum: "0xeA270927C226454452DDF80e24a02087D0D7089F",
111967
- Optimism: constants_1.NOT_DEPLOYED
112350
+ Optimism: constants_1.NOT_DEPLOYED,
112351
+ Base: constants_1.NOT_DEPLOYED
111968
112352
  }
111969
112353
  },
111970
112354
  {
@@ -111972,7 +112356,8 @@ var require_contracts = __commonJS({
111972
112356
  poolAddress: {
111973
112357
  Mainnet: constants_1.NOT_DEPLOYED,
111974
112358
  Arbitrum: "0xB05Dc0b460Ca3ed5174b33A7dA2104388764F62D",
111975
- Optimism: constants_1.NOT_DEPLOYED
112359
+ Optimism: constants_1.NOT_DEPLOYED,
112360
+ Base: constants_1.NOT_DEPLOYED
111976
112361
  }
111977
112362
  }
111978
112363
  ]
@@ -111984,7 +112369,8 @@ var require_contracts = __commonJS({
111984
112369
  oracle: {
111985
112370
  Mainnet: "0x442af784A788A5bd6F42A01Ebe9F287a871243fb",
111986
112371
  Arbitrum: constants_1.NOT_DEPLOYED,
111987
- Optimism: constants_1.NOT_DEPLOYED
112372
+ Optimism: constants_1.NOT_DEPLOYED,
112373
+ Base: constants_1.NOT_DEPLOYED
111988
112374
  },
111989
112375
  lpToken: "steCRV"
111990
112376
  },
@@ -112005,7 +112391,8 @@ var require_contracts = __commonJS({
112005
112391
  queries: {
112006
112392
  Mainnet: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5",
112007
112393
  Arbitrum: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5",
112008
- Optimism: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5"
112394
+ Optimism: "0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5",
112395
+ Base: constants_1.NOT_DEPLOYED
112009
112396
  }
112010
112397
  },
112011
112398
  AAVE_V2_LENDING_POOL: {
@@ -112093,57 +112480,68 @@ var require_utilsContracts = __commonJS({
112093
112480
  exports2.ADDRESS_PROVIDER = {
112094
112481
  Mainnet: "0x9ea7b04Da02a5373317D745c1571c84aaD03321D",
112095
112482
  Arbitrum: "0x7d04eCdb892Ae074f03B5D0aBA03796F90F3F2af",
112096
- Optimism: constants_1.NOT_DEPLOYED
112483
+ Optimism: constants_1.NOT_DEPLOYED,
112484
+ Base: constants_1.NOT_DEPLOYED
112097
112485
  };
112098
112486
  exports2.TIMELOCK = {
112099
112487
  Mainnet: "0xa133C9A92Fb8dDB962Af1cbae58b2723A0bdf23b",
112100
112488
  Arbitrum: "0x148DD932eCe1155c11006F5650c6Ff428f8D374A",
112101
- Optimism: constants_1.NOT_DEPLOYED
112489
+ Optimism: constants_1.NOT_DEPLOYED,
112490
+ Base: constants_1.NOT_DEPLOYED
112102
112491
  };
112103
112492
  exports2.GOVERNOR = {
112104
112493
  Mainnet: "0x29B97F37B3E0C704bCFD785F5b7bBa2A0B7df2c7",
112105
112494
  Arbitrum: "0xF0C89a0eDCD68B4176A26B3bf7574498DD3E6d09",
112106
- Optimism: constants_1.NOT_DEPLOYED
112495
+ Optimism: constants_1.NOT_DEPLOYED,
112496
+ Base: constants_1.NOT_DEPLOYED
112107
112497
  };
112108
112498
  exports2.BATCH_CHAIN = {
112109
112499
  Mainnet: "0xB900bDEf6eAc8C5D97F8e876aBC39573Cf6626b2",
112110
112500
  Arbitrum: "0xAEbaa1015D0bc250F5b38aac9b8f65E0668cE3c2",
112111
- Optimism: constants_1.NOT_DEPLOYED
112501
+ Optimism: constants_1.NOT_DEPLOYED,
112502
+ Base: constants_1.NOT_DEPLOYED
112112
112503
  };
112113
112504
  exports2.BLACKLIST_HELPER = {
112114
112505
  Mainnet: "0xFfbF344741654a1B9Ab1286Cf05A42f275F67839",
112115
112506
  Arbitrum: constants_1.NOT_DEPLOYED,
112116
- Optimism: constants_1.NOT_DEPLOYED
112507
+ Optimism: constants_1.NOT_DEPLOYED,
112508
+ Base: constants_1.NOT_DEPLOYED
112117
112509
  };
112118
112510
  exports2.CREATE2FACTORY = {
112119
112511
  Mainnet: "0x45d146CAA25aa565Cfc7434926633f4F1C97c873",
112120
112512
  Arbitrum: "0xad1231A64eE68D6BF721a1E8e177776cc49bAA2C",
112121
- Optimism: constants_1.NOT_DEPLOYED
112513
+ Optimism: constants_1.NOT_DEPLOYED,
112514
+ Base: constants_1.NOT_DEPLOYED
112122
112515
  };
112123
112516
  exports2.MULTISIG = {
112124
112517
  Mainnet: "0xA7D5DDc1b8557914F158076b228AA91eF613f1D5",
112125
112518
  Arbitrum: "0x57Fd8B1a9213624157786Fff4a7bc532Ce717773",
112126
- Optimism: "0x8bA8cd6D00919ceCc19D9B4A2c8669a524883C4c"
112519
+ Optimism: "0x8bA8cd6D00919ceCc19D9B4A2c8669a524883C4c",
112520
+ Base: constants_1.NOT_DEPLOYED
112127
112521
  };
112128
112522
  exports2.VETO_ADMIN = {
112129
112523
  Mainnet: "0xbb803559B4D58b75E12dd74641AB955e8B0Df40E",
112130
112524
  Arbitrum: "0x746fb3AcAfF6Bfe246206EC2E51F587d2E57abb6",
112131
- Optimism: "0x9744f76dc5239Eb4DC2CE8D5538e1BA89C8FA90f"
112525
+ Optimism: "0x9744f76dc5239Eb4DC2CE8D5538e1BA89C8FA90f",
112526
+ Base: constants_1.NOT_DEPLOYED
112132
112527
  };
112133
112528
  exports2.TREASURY = {
112134
112529
  Mainnet: "0x7b065fcb0760df0cea8cfd144e08554f3cea73d1",
112135
112530
  Arbitrum: "0x2c31eFFE426765E68A43163A96DD13DF70B53C14",
112136
- Optimism: "0x1ACc5BC353f23B901801f3Ba48e1E51a14263808"
112531
+ Optimism: "0x1ACc5BC353f23B901801f3Ba48e1E51a14263808",
112532
+ Base: constants_1.NOT_DEPLOYED
112137
112533
  };
112138
112534
  exports2.ROUTER_MULTISIG_ADDRESS = {
112139
112535
  Mainnet: "0xaaDf86C39a76eEEf5a5337Ca449C7EfA66E3175E",
112140
112536
  Arbitrum: "0xEAb23245937A4F0894B0c92f08992C2c45Fc8df5",
112141
- Optimism: "0x4cda5Fa96B5d436002175d958667C7EF3B644aA1"
112537
+ Optimism: "0x4cda5Fa96B5d436002175d958667C7EF3B644aA1",
112538
+ Base: constants_1.NOT_DEPLOYED
112142
112539
  };
112143
112540
  exports2.ROUTER_CREATE2FACTORY = {
112144
112541
  Mainnet: "0xA287577Fb7Cf49246e569EA268FE919F1cD6d9E2",
112145
112542
  Arbitrum: "0x95345A4d55DAf6864924fC8861b311B9BC860E5f",
112146
- Optimism: constants_1.NOT_DEPLOYED
112543
+ Optimism: constants_1.NOT_DEPLOYED,
112544
+ Base: constants_1.NOT_DEPLOYED
112147
112545
  };
112148
112546
  exports2.emergencyLiquidators = [
112149
112547
  "0x7BD9c8161836b1F402233E80F55E3CaE0Fde4d87",
@@ -112857,31 +113255,36 @@ var require_chains = __commonJS({
112857
113255
  "../../node_modules/@gearbox-protocol/sdk-gov/lib/core/chains.js"(exports2) {
112858
113256
  "use strict";
112859
113257
  Object.defineProperty(exports2, "__esModule", { value: true });
112860
- exports2.detectNetwork = exports2.isSupportedNetwork = exports2.getNetworkType = exports2.supportedChains = exports2.CHAINS = exports2.ARBITRUM_NETWORK = exports2.HARDHAT_NETWORK = exports2.LOCAL_NETWORK = exports2.POLYGON_NETWORK = exports2.OPTIMISM_NETWORK = exports2.GOERLI_NETWORK = exports2.MAINNET_NETWORK = void 0;
113258
+ exports2.detectNetwork = exports2.isSupportedNetwork = exports2.getNetworkType = exports2.supportedChains = exports2.CHAINS = exports2.BASE_NETWORK = exports2.ARBITRUM_NETWORK = exports2.HARDHAT_NETWORK = exports2.LOCAL_NETWORK = exports2.OPTIMISM_NETWORK = exports2.GOERLI_NETWORK = exports2.MAINNET_NETWORK = void 0;
112861
113259
  var ethers_1 = require_lib220();
112862
113260
  var token_1 = require_token();
112863
113261
  exports2.MAINNET_NETWORK = 1;
112864
113262
  exports2.GOERLI_NETWORK = 5;
112865
113263
  exports2.OPTIMISM_NETWORK = 10;
112866
- exports2.POLYGON_NETWORK = 137;
112867
113264
  exports2.LOCAL_NETWORK = 1337;
112868
113265
  exports2.HARDHAT_NETWORK = 31337;
112869
113266
  exports2.ARBITRUM_NETWORK = 42161;
113267
+ exports2.BASE_NETWORK = 8453;
112870
113268
  exports2.CHAINS = {
112871
113269
  Mainnet: exports2.MAINNET_NETWORK,
112872
113270
  Arbitrum: exports2.ARBITRUM_NETWORK,
112873
113271
  Local: exports2.LOCAL_NETWORK,
112874
113272
  Hardhat: exports2.HARDHAT_NETWORK,
112875
113273
  Optimism: exports2.OPTIMISM_NETWORK,
112876
- Polygon: exports2.POLYGON_NETWORK
113274
+ Base: exports2.BASE_NETWORK
112877
113275
  };
112878
- exports2.supportedChains = ["Mainnet", "Arbitrum", "Optimism"];
113276
+ exports2.supportedChains = [
113277
+ "Mainnet",
113278
+ "Arbitrum",
113279
+ "Optimism",
113280
+ "Base"
113281
+ ];
112879
113282
  var SUPPORTED_CHAINS = {
112880
113283
  [exports2.CHAINS.Mainnet]: "Mainnet",
112881
113284
  [exports2.CHAINS.Arbitrum]: "Arbitrum",
112882
113285
  [exports2.CHAINS.Local]: "Mainnet",
112883
113286
  [exports2.CHAINS.Optimism]: "Optimism"
112884
- // [CHAINS.Polygon]: "Polygon",
113287
+ // [CHAINS.Base]: "Polygon",
112885
113288
  };
112886
113289
  var getNetworkType = (chainId, localAs = "Mainnet") => {
112887
113290
  const chainType = SUPPORTED_CHAINS[chainId];
@@ -121797,7 +122200,8 @@ var require_tokenData = __commonJS({
121797
122200
  exports2.connectors = {
121798
122201
  Mainnet: ["WETH", "DAI", "USDC", "FRAX", "rETH", "ezETH"],
121799
122202
  Arbitrum: ["WETH", "DAI", "USDC", "USDT", "rETH"],
121800
- Optimism: ["WETH", "USDC", "USDT"]
122203
+ Optimism: ["WETH", "USDC", "USDT"],
122204
+ Base: ["WETH", "USDC", "USDT"]
121801
122205
  };
121802
122206
  function getConnectors(networkType) {
121803
122207
  return exports2.connectors[networkType].map((e) => {
@@ -121820,7 +122224,7 @@ var require_multicall = __commonJS({
121820
122224
  exports2.MultiCallContract = exports2.safeMulticall = exports2.multicall = exports2.multicallInterface = exports2.MULTICALL_ADDRESS = void 0;
121821
122225
  var ethers_1 = require_lib220();
121822
122226
  exports2.MULTICALL_ADDRESS = "0xcA11bde05977b3631167028862bE2a173976CA11";
121823
- var _abi50 = [
122227
+ var _abi51 = [
121824
122228
  {
121825
122229
  inputs: [
121826
122230
  {
@@ -121906,7 +122310,7 @@ var require_multicall = __commonJS({
121906
122310
  type: "function"
121907
122311
  }
121908
122312
  ];
121909
- exports2.multicallInterface = new ethers_1.ethers.utils.Interface(_abi50);
122313
+ exports2.multicallInterface = new ethers_1.ethers.utils.Interface(_abi51);
121910
122314
  async function multicall(calls, p, overrides) {
121911
122315
  const multiCallContract = new ethers_1.ethers.Contract(exports2.MULTICALL_ADDRESS, exports2.multicallInterface, p);
121912
122316
  const { returnData } = await multiCallContract.callStatic.aggregate(calls.map((c) => ({
@@ -122204,7 +122608,8 @@ var require_explorers = __commonJS({
122204
122608
  exports2.explorerUrl = {
122205
122609
  Mainnet: "https://api.etherscan.io/api",
122206
122610
  Arbitrum: "https://api.arbiscan.io/api",
122207
- Optimism: "https://api.optimistic.etherscan.io/api"
122611
+ Optimism: "https://api.optimistic.etherscan.io/api",
122612
+ Base: "https://api.basescan.org/api"
122208
122613
  };
122209
122614
  }
122210
122615
  });
@@ -135977,6 +136382,7 @@ var require_lib222 = __commonJS({
135977
136382
  };
135978
136383
  Object.defineProperty(exports2, "__esModule", { value: true });
135979
136384
  exports2.TokenType = void 0;
136385
+ __exportStar3(require_permissions(), exports2);
135980
136386
  __exportStar3(require_adapters(), exports2);
135981
136387
  __exportStar3(require_configs(), exports2);
135982
136388
  __exportStar3(require_poolV3Core(), exports2);
@@ -203746,7 +204152,7 @@ var require_Gnosis_safe_factory = __commonJS({
203746
204152
  Object.defineProperty(exports2, "__esModule", { value: true });
203747
204153
  exports2.Gnosis_safe__factory = void 0;
203748
204154
  var ethers_1 = require_lib228();
203749
- var _abi50 = [
204155
+ var _abi51 = [
203750
204156
  {
203751
204157
  constant: false,
203752
204158
  inputs: [
@@ -204525,14 +204931,14 @@ var require_Gnosis_safe_factory = __commonJS({
204525
204931
  ];
204526
204932
  var Gnosis_safe__factory = class {
204527
204933
  static createInterface() {
204528
- return new ethers_1.Interface(_abi50);
204934
+ return new ethers_1.Interface(_abi51);
204529
204935
  }
204530
204936
  static connect(address, runner) {
204531
- return new ethers_1.Contract(address, _abi50, runner);
204937
+ return new ethers_1.Contract(address, _abi51, runner);
204532
204938
  }
204533
204939
  };
204534
204940
  exports2.Gnosis_safe__factory = Gnosis_safe__factory;
204535
- Gnosis_safe__factory.abi = _abi50;
204941
+ Gnosis_safe__factory.abi = _abi51;
204536
204942
  }
204537
204943
  });
204538
204944
 
@@ -204543,7 +204949,7 @@ var require_Proxy_factory_factory = __commonJS({
204543
204949
  Object.defineProperty(exports2, "__esModule", { value: true });
204544
204950
  exports2.Proxy_factory__factory = void 0;
204545
204951
  var ethers_1 = require_lib228();
204546
- var _abi50 = [
204952
+ var _abi51 = [
204547
204953
  {
204548
204954
  constant: false,
204549
204955
  inputs: [
@@ -204637,14 +205043,14 @@ var require_Proxy_factory_factory = __commonJS({
204637
205043
  ];
204638
205044
  var Proxy_factory__factory = class {
204639
205045
  static createInterface() {
204640
- return new ethers_1.Interface(_abi50);
205046
+ return new ethers_1.Interface(_abi51);
204641
205047
  }
204642
205048
  static connect(address, runner) {
204643
- return new ethers_1.Contract(address, _abi50, runner);
205049
+ return new ethers_1.Contract(address, _abi51, runner);
204644
205050
  }
204645
205051
  };
204646
205052
  exports2.Proxy_factory__factory = Proxy_factory__factory;
204647
- Proxy_factory__factory.abi = _abi50;
205053
+ Proxy_factory__factory.abi = _abi51;
204648
205054
  }
204649
205055
  });
204650
205056
 
@@ -204655,7 +205061,7 @@ var require_Gnosis_safe_factory2 = __commonJS({
204655
205061
  Object.defineProperty(exports2, "__esModule", { value: true });
204656
205062
  exports2.Gnosis_safe__factory = void 0;
204657
205063
  var ethers_1 = require_lib228();
204658
- var _abi50 = [
205064
+ var _abi51 = [
204659
205065
  {
204660
205066
  inputs: [],
204661
205067
  payable: false,
@@ -205636,14 +206042,14 @@ var require_Gnosis_safe_factory2 = __commonJS({
205636
206042
  ];
205637
206043
  var Gnosis_safe__factory = class {
205638
206044
  static createInterface() {
205639
- return new ethers_1.Interface(_abi50);
206045
+ return new ethers_1.Interface(_abi51);
205640
206046
  }
205641
206047
  static connect(address, runner) {
205642
- return new ethers_1.Contract(address, _abi50, runner);
206048
+ return new ethers_1.Contract(address, _abi51, runner);
205643
206049
  }
205644
206050
  };
205645
206051
  exports2.Gnosis_safe__factory = Gnosis_safe__factory;
205646
- Gnosis_safe__factory.abi = _abi50;
206052
+ Gnosis_safe__factory.abi = _abi51;
205647
206053
  }
205648
206054
  });
205649
206055
 
@@ -205654,7 +206060,7 @@ var require_Multi_send_factory = __commonJS({
205654
206060
  Object.defineProperty(exports2, "__esModule", { value: true });
205655
206061
  exports2.Multi_send__factory = void 0;
205656
206062
  var ethers_1 = require_lib228();
205657
- var _abi50 = [
206063
+ var _abi51 = [
205658
206064
  {
205659
206065
  inputs: [],
205660
206066
  payable: false,
@@ -205679,14 +206085,14 @@ var require_Multi_send_factory = __commonJS({
205679
206085
  ];
205680
206086
  var Multi_send__factory = class {
205681
206087
  static createInterface() {
205682
- return new ethers_1.Interface(_abi50);
206088
+ return new ethers_1.Interface(_abi51);
205683
206089
  }
205684
206090
  static connect(address, runner) {
205685
- return new ethers_1.Contract(address, _abi50, runner);
206091
+ return new ethers_1.Contract(address, _abi51, runner);
205686
206092
  }
205687
206093
  };
205688
206094
  exports2.Multi_send__factory = Multi_send__factory;
205689
- Multi_send__factory.abi = _abi50;
206095
+ Multi_send__factory.abi = _abi51;
205690
206096
  }
205691
206097
  });
205692
206098
 
@@ -205697,7 +206103,7 @@ var require_Proxy_factory_factory2 = __commonJS({
205697
206103
  Object.defineProperty(exports2, "__esModule", { value: true });
205698
206104
  exports2.Proxy_factory__factory = void 0;
205699
206105
  var ethers_1 = require_lib228();
205700
- var _abi50 = [
206106
+ var _abi51 = [
205701
206107
  {
205702
206108
  anonymous: false,
205703
206109
  inputs: [
@@ -205868,14 +206274,14 @@ var require_Proxy_factory_factory2 = __commonJS({
205868
206274
  ];
205869
206275
  var Proxy_factory__factory = class {
205870
206276
  static createInterface() {
205871
- return new ethers_1.Interface(_abi50);
206277
+ return new ethers_1.Interface(_abi51);
205872
206278
  }
205873
206279
  static connect(address, runner) {
205874
- return new ethers_1.Contract(address, _abi50, runner);
206280
+ return new ethers_1.Contract(address, _abi51, runner);
205875
206281
  }
205876
206282
  };
205877
206283
  exports2.Proxy_factory__factory = Proxy_factory__factory;
205878
- Proxy_factory__factory.abi = _abi50;
206284
+ Proxy_factory__factory.abi = _abi51;
205879
206285
  }
205880
206286
  });
205881
206287
 
@@ -205886,7 +206292,7 @@ var require_Gnosis_safe_factory3 = __commonJS({
205886
206292
  Object.defineProperty(exports2, "__esModule", { value: true });
205887
206293
  exports2.Gnosis_safe__factory = void 0;
205888
206294
  var ethers_1 = require_lib228();
205889
- var _abi50 = [
206295
+ var _abi51 = [
205890
206296
  {
205891
206297
  inputs: [],
205892
206298
  payable: false,
@@ -206888,14 +207294,14 @@ var require_Gnosis_safe_factory3 = __commonJS({
206888
207294
  ];
206889
207295
  var Gnosis_safe__factory = class {
206890
207296
  static createInterface() {
206891
- return new ethers_1.Interface(_abi50);
207297
+ return new ethers_1.Interface(_abi51);
206892
207298
  }
206893
207299
  static connect(address, runner) {
206894
- return new ethers_1.Contract(address, _abi50, runner);
207300
+ return new ethers_1.Contract(address, _abi51, runner);
206895
207301
  }
206896
207302
  };
206897
207303
  exports2.Gnosis_safe__factory = Gnosis_safe__factory;
206898
- Gnosis_safe__factory.abi = _abi50;
207304
+ Gnosis_safe__factory.abi = _abi51;
206899
207305
  }
206900
207306
  });
206901
207307
 
@@ -206906,7 +207312,7 @@ var require_Compatibility_fallback_handler_factory = __commonJS({
206906
207312
  Object.defineProperty(exports2, "__esModule", { value: true });
206907
207313
  exports2.Compatibility_fallback_handler__factory = void 0;
206908
207314
  var ethers_1 = require_lib228();
206909
- var _abi50 = [
207315
+ var _abi51 = [
206910
207316
  {
206911
207317
  inputs: [],
206912
207318
  name: "NAME",
@@ -207233,14 +207639,14 @@ var require_Compatibility_fallback_handler_factory = __commonJS({
207233
207639
  ];
207234
207640
  var Compatibility_fallback_handler__factory = class {
207235
207641
  static createInterface() {
207236
- return new ethers_1.Interface(_abi50);
207642
+ return new ethers_1.Interface(_abi51);
207237
207643
  }
207238
207644
  static connect(address, runner) {
207239
- return new ethers_1.Contract(address, _abi50, runner);
207645
+ return new ethers_1.Contract(address, _abi51, runner);
207240
207646
  }
207241
207647
  };
207242
207648
  exports2.Compatibility_fallback_handler__factory = Compatibility_fallback_handler__factory;
207243
- Compatibility_fallback_handler__factory.abi = _abi50;
207649
+ Compatibility_fallback_handler__factory.abi = _abi51;
207244
207650
  }
207245
207651
  });
207246
207652
 
@@ -207251,7 +207657,7 @@ var require_Create_call_factory = __commonJS({
207251
207657
  Object.defineProperty(exports2, "__esModule", { value: true });
207252
207658
  exports2.Create_call__factory = void 0;
207253
207659
  var ethers_1 = require_lib228();
207254
- var _abi50 = [
207660
+ var _abi51 = [
207255
207661
  {
207256
207662
  anonymous: false,
207257
207663
  inputs: [
@@ -207321,14 +207727,14 @@ var require_Create_call_factory = __commonJS({
207321
207727
  ];
207322
207728
  var Create_call__factory = class {
207323
207729
  static createInterface() {
207324
- return new ethers_1.Interface(_abi50);
207730
+ return new ethers_1.Interface(_abi51);
207325
207731
  }
207326
207732
  static connect(address, runner) {
207327
- return new ethers_1.Contract(address, _abi50, runner);
207733
+ return new ethers_1.Contract(address, _abi51, runner);
207328
207734
  }
207329
207735
  };
207330
207736
  exports2.Create_call__factory = Create_call__factory;
207331
- Create_call__factory.abi = _abi50;
207737
+ Create_call__factory.abi = _abi51;
207332
207738
  }
207333
207739
  });
207334
207740
 
@@ -207339,7 +207745,7 @@ var require_Gnosis_safe_factory4 = __commonJS({
207339
207745
  Object.defineProperty(exports2, "__esModule", { value: true });
207340
207746
  exports2.Gnosis_safe__factory = void 0;
207341
207747
  var ethers_1 = require_lib228();
207342
- var _abi50 = [
207748
+ var _abi51 = [
207343
207749
  {
207344
207750
  inputs: [],
207345
207751
  stateMutability: "nonpayable",
@@ -208374,14 +208780,14 @@ var require_Gnosis_safe_factory4 = __commonJS({
208374
208780
  ];
208375
208781
  var Gnosis_safe__factory = class {
208376
208782
  static createInterface() {
208377
- return new ethers_1.Interface(_abi50);
208783
+ return new ethers_1.Interface(_abi51);
208378
208784
  }
208379
208785
  static connect(address, runner) {
208380
- return new ethers_1.Contract(address, _abi50, runner);
208786
+ return new ethers_1.Contract(address, _abi51, runner);
208381
208787
  }
208382
208788
  };
208383
208789
  exports2.Gnosis_safe__factory = Gnosis_safe__factory;
208384
- Gnosis_safe__factory.abi = _abi50;
208790
+ Gnosis_safe__factory.abi = _abi51;
208385
208791
  }
208386
208792
  });
208387
208793
 
@@ -208392,7 +208798,7 @@ var require_Multi_send_factory2 = __commonJS({
208392
208798
  Object.defineProperty(exports2, "__esModule", { value: true });
208393
208799
  exports2.Multi_send__factory = void 0;
208394
208800
  var ethers_1 = require_lib228();
208395
- var _abi50 = [
208801
+ var _abi51 = [
208396
208802
  {
208397
208803
  inputs: [],
208398
208804
  stateMutability: "nonpayable",
@@ -208414,14 +208820,14 @@ var require_Multi_send_factory2 = __commonJS({
208414
208820
  ];
208415
208821
  var Multi_send__factory = class {
208416
208822
  static createInterface() {
208417
- return new ethers_1.Interface(_abi50);
208823
+ return new ethers_1.Interface(_abi51);
208418
208824
  }
208419
208825
  static connect(address, runner) {
208420
- return new ethers_1.Contract(address, _abi50, runner);
208826
+ return new ethers_1.Contract(address, _abi51, runner);
208421
208827
  }
208422
208828
  };
208423
208829
  exports2.Multi_send__factory = Multi_send__factory;
208424
- Multi_send__factory.abi = _abi50;
208830
+ Multi_send__factory.abi = _abi51;
208425
208831
  }
208426
208832
  });
208427
208833
 
@@ -208432,7 +208838,7 @@ var require_Multi_send_call_only_factory = __commonJS({
208432
208838
  Object.defineProperty(exports2, "__esModule", { value: true });
208433
208839
  exports2.Multi_send_call_only__factory = void 0;
208434
208840
  var ethers_1 = require_lib228();
208435
- var _abi50 = [
208841
+ var _abi51 = [
208436
208842
  {
208437
208843
  inputs: [
208438
208844
  {
@@ -208449,14 +208855,14 @@ var require_Multi_send_call_only_factory = __commonJS({
208449
208855
  ];
208450
208856
  var Multi_send_call_only__factory = class {
208451
208857
  static createInterface() {
208452
- return new ethers_1.Interface(_abi50);
208858
+ return new ethers_1.Interface(_abi51);
208453
208859
  }
208454
208860
  static connect(address, runner) {
208455
- return new ethers_1.Contract(address, _abi50, runner);
208861
+ return new ethers_1.Contract(address, _abi51, runner);
208456
208862
  }
208457
208863
  };
208458
208864
  exports2.Multi_send_call_only__factory = Multi_send_call_only__factory;
208459
- Multi_send_call_only__factory.abi = _abi50;
208865
+ Multi_send_call_only__factory.abi = _abi51;
208460
208866
  }
208461
208867
  });
208462
208868
 
@@ -208467,7 +208873,7 @@ var require_Proxy_factory_factory3 = __commonJS({
208467
208873
  Object.defineProperty(exports2, "__esModule", { value: true });
208468
208874
  exports2.Proxy_factory__factory = void 0;
208469
208875
  var ethers_1 = require_lib228();
208470
- var _abi50 = [
208876
+ var _abi51 = [
208471
208877
  {
208472
208878
  anonymous: false,
208473
208879
  inputs: [
@@ -208632,14 +209038,14 @@ var require_Proxy_factory_factory3 = __commonJS({
208632
209038
  ];
208633
209039
  var Proxy_factory__factory = class {
208634
209040
  static createInterface() {
208635
- return new ethers_1.Interface(_abi50);
209041
+ return new ethers_1.Interface(_abi51);
208636
209042
  }
208637
209043
  static connect(address, runner) {
208638
- return new ethers_1.Contract(address, _abi50, runner);
209044
+ return new ethers_1.Contract(address, _abi51, runner);
208639
209045
  }
208640
209046
  };
208641
209047
  exports2.Proxy_factory__factory = Proxy_factory__factory;
208642
- Proxy_factory__factory.abi = _abi50;
209048
+ Proxy_factory__factory.abi = _abi51;
208643
209049
  }
208644
209050
  });
208645
209051
 
@@ -208650,7 +209056,7 @@ var require_Sign_message_lib_factory = __commonJS({
208650
209056
  Object.defineProperty(exports2, "__esModule", { value: true });
208651
209057
  exports2.Sign_message_lib__factory = void 0;
208652
209058
  var ethers_1 = require_lib228();
208653
- var _abi50 = [
209059
+ var _abi51 = [
208654
209060
  {
208655
209061
  anonymous: false,
208656
209062
  inputs: [
@@ -208699,14 +209105,14 @@ var require_Sign_message_lib_factory = __commonJS({
208699
209105
  ];
208700
209106
  var Sign_message_lib__factory = class {
208701
209107
  static createInterface() {
208702
- return new ethers_1.Interface(_abi50);
209108
+ return new ethers_1.Interface(_abi51);
208703
209109
  }
208704
209110
  static connect(address, runner) {
208705
- return new ethers_1.Contract(address, _abi50, runner);
209111
+ return new ethers_1.Contract(address, _abi51, runner);
208706
209112
  }
208707
209113
  };
208708
209114
  exports2.Sign_message_lib__factory = Sign_message_lib__factory;
208709
- Sign_message_lib__factory.abi = _abi50;
209115
+ Sign_message_lib__factory.abi = _abi51;
208710
209116
  }
208711
209117
  });
208712
209118
 
@@ -208717,7 +209123,7 @@ var require_Simulate_tx_accessor_factory = __commonJS({
208717
209123
  Object.defineProperty(exports2, "__esModule", { value: true });
208718
209124
  exports2.Simulate_tx_accessor__factory = void 0;
208719
209125
  var ethers_1 = require_lib228();
208720
- var _abi50 = [
209126
+ var _abi51 = [
208721
209127
  {
208722
209128
  inputs: [],
208723
209129
  stateMutability: "nonpayable",
@@ -208770,14 +209176,14 @@ var require_Simulate_tx_accessor_factory = __commonJS({
208770
209176
  ];
208771
209177
  var Simulate_tx_accessor__factory = class {
208772
209178
  static createInterface() {
208773
- return new ethers_1.Interface(_abi50);
209179
+ return new ethers_1.Interface(_abi51);
208774
209180
  }
208775
209181
  static connect(address, runner) {
208776
- return new ethers_1.Contract(address, _abi50, runner);
209182
+ return new ethers_1.Contract(address, _abi51, runner);
208777
209183
  }
208778
209184
  };
208779
209185
  exports2.Simulate_tx_accessor__factory = Simulate_tx_accessor__factory;
208780
- Simulate_tx_accessor__factory.abi = _abi50;
209186
+ Simulate_tx_accessor__factory.abi = _abi51;
208781
209187
  }
208782
209188
  });
208783
209189
 
@@ -208788,7 +209194,7 @@ var require_Compatibility_fallback_handler_factory2 = __commonJS({
208788
209194
  Object.defineProperty(exports2, "__esModule", { value: true });
208789
209195
  exports2.Compatibility_fallback_handler__factory = void 0;
208790
209196
  var ethers_1 = require_lib228();
208791
- var _abi50 = [
209197
+ var _abi51 = [
208792
209198
  {
208793
209199
  inputs: [
208794
209200
  {
@@ -209113,14 +209519,14 @@ var require_Compatibility_fallback_handler_factory2 = __commonJS({
209113
209519
  ];
209114
209520
  var Compatibility_fallback_handler__factory = class {
209115
209521
  static createInterface() {
209116
- return new ethers_1.Interface(_abi50);
209522
+ return new ethers_1.Interface(_abi51);
209117
209523
  }
209118
209524
  static connect(address, runner) {
209119
- return new ethers_1.Contract(address, _abi50, runner);
209525
+ return new ethers_1.Contract(address, _abi51, runner);
209120
209526
  }
209121
209527
  };
209122
209528
  exports2.Compatibility_fallback_handler__factory = Compatibility_fallback_handler__factory;
209123
- Compatibility_fallback_handler__factory.abi = _abi50;
209529
+ Compatibility_fallback_handler__factory.abi = _abi51;
209124
209530
  }
209125
209531
  });
209126
209532
 
@@ -209131,7 +209537,7 @@ var require_Create_call_factory2 = __commonJS({
209131
209537
  Object.defineProperty(exports2, "__esModule", { value: true });
209132
209538
  exports2.Create_call__factory = void 0;
209133
209539
  var ethers_1 = require_lib228();
209134
- var _abi50 = [
209540
+ var _abi51 = [
209135
209541
  {
209136
209542
  anonymous: false,
209137
209543
  inputs: [
@@ -209201,14 +209607,14 @@ var require_Create_call_factory2 = __commonJS({
209201
209607
  ];
209202
209608
  var Create_call__factory = class {
209203
209609
  static createInterface() {
209204
- return new ethers_1.Interface(_abi50);
209610
+ return new ethers_1.Interface(_abi51);
209205
209611
  }
209206
209612
  static connect(address, runner) {
209207
- return new ethers_1.Contract(address, _abi50, runner);
209613
+ return new ethers_1.Contract(address, _abi51, runner);
209208
209614
  }
209209
209615
  };
209210
209616
  exports2.Create_call__factory = Create_call__factory;
209211
- Create_call__factory.abi = _abi50;
209617
+ Create_call__factory.abi = _abi51;
209212
209618
  }
209213
209619
  });
209214
209620
 
@@ -209219,7 +209625,7 @@ var require_Multi_send_factory3 = __commonJS({
209219
209625
  Object.defineProperty(exports2, "__esModule", { value: true });
209220
209626
  exports2.Multi_send__factory = void 0;
209221
209627
  var ethers_1 = require_lib228();
209222
- var _abi50 = [
209628
+ var _abi51 = [
209223
209629
  {
209224
209630
  inputs: [],
209225
209631
  stateMutability: "nonpayable",
@@ -209241,14 +209647,14 @@ var require_Multi_send_factory3 = __commonJS({
209241
209647
  ];
209242
209648
  var Multi_send__factory = class {
209243
209649
  static createInterface() {
209244
- return new ethers_1.Interface(_abi50);
209650
+ return new ethers_1.Interface(_abi51);
209245
209651
  }
209246
209652
  static connect(address, runner) {
209247
- return new ethers_1.Contract(address, _abi50, runner);
209653
+ return new ethers_1.Contract(address, _abi51, runner);
209248
209654
  }
209249
209655
  };
209250
209656
  exports2.Multi_send__factory = Multi_send__factory;
209251
- Multi_send__factory.abi = _abi50;
209657
+ Multi_send__factory.abi = _abi51;
209252
209658
  }
209253
209659
  });
209254
209660
 
@@ -209259,7 +209665,7 @@ var require_Multi_send_call_only_factory2 = __commonJS({
209259
209665
  Object.defineProperty(exports2, "__esModule", { value: true });
209260
209666
  exports2.Multi_send_call_only__factory = void 0;
209261
209667
  var ethers_1 = require_lib228();
209262
- var _abi50 = [
209668
+ var _abi51 = [
209263
209669
  {
209264
209670
  inputs: [
209265
209671
  {
@@ -209276,14 +209682,14 @@ var require_Multi_send_call_only_factory2 = __commonJS({
209276
209682
  ];
209277
209683
  var Multi_send_call_only__factory = class {
209278
209684
  static createInterface() {
209279
- return new ethers_1.Interface(_abi50);
209685
+ return new ethers_1.Interface(_abi51);
209280
209686
  }
209281
209687
  static connect(address, runner) {
209282
- return new ethers_1.Contract(address, _abi50, runner);
209688
+ return new ethers_1.Contract(address, _abi51, runner);
209283
209689
  }
209284
209690
  };
209285
209691
  exports2.Multi_send_call_only__factory = Multi_send_call_only__factory;
209286
- Multi_send_call_only__factory.abi = _abi50;
209692
+ Multi_send_call_only__factory.abi = _abi51;
209287
209693
  }
209288
209694
  });
209289
209695
 
@@ -209294,7 +209700,7 @@ var require_Safe_factory = __commonJS({
209294
209700
  Object.defineProperty(exports2, "__esModule", { value: true });
209295
209701
  exports2.Safe__factory = void 0;
209296
209702
  var ethers_1 = require_lib228();
209297
- var _abi50 = [
209703
+ var _abi51 = [
209298
209704
  {
209299
209705
  inputs: [],
209300
209706
  stateMutability: "nonpayable",
@@ -210295,14 +210701,14 @@ var require_Safe_factory = __commonJS({
210295
210701
  ];
210296
210702
  var Safe__factory = class {
210297
210703
  static createInterface() {
210298
- return new ethers_1.Interface(_abi50);
210704
+ return new ethers_1.Interface(_abi51);
210299
210705
  }
210300
210706
  static connect(address, runner) {
210301
- return new ethers_1.Contract(address, _abi50, runner);
210707
+ return new ethers_1.Contract(address, _abi51, runner);
210302
210708
  }
210303
210709
  };
210304
210710
  exports2.Safe__factory = Safe__factory;
210305
- Safe__factory.abi = _abi50;
210711
+ Safe__factory.abi = _abi51;
210306
210712
  }
210307
210713
  });
210308
210714
 
@@ -210313,7 +210719,7 @@ var require_Safe_proxy_factory_factory = __commonJS({
210313
210719
  Object.defineProperty(exports2, "__esModule", { value: true });
210314
210720
  exports2.Safe_proxy_factory__factory = void 0;
210315
210721
  var ethers_1 = require_lib228();
210316
- var _abi50 = [
210722
+ var _abi51 = [
210317
210723
  {
210318
210724
  anonymous: false,
210319
210725
  inputs: [
@@ -210454,14 +210860,14 @@ var require_Safe_proxy_factory_factory = __commonJS({
210454
210860
  ];
210455
210861
  var Safe_proxy_factory__factory = class {
210456
210862
  static createInterface() {
210457
- return new ethers_1.Interface(_abi50);
210863
+ return new ethers_1.Interface(_abi51);
210458
210864
  }
210459
210865
  static connect(address, runner) {
210460
- return new ethers_1.Contract(address, _abi50, runner);
210866
+ return new ethers_1.Contract(address, _abi51, runner);
210461
210867
  }
210462
210868
  };
210463
210869
  exports2.Safe_proxy_factory__factory = Safe_proxy_factory__factory;
210464
- Safe_proxy_factory__factory.abi = _abi50;
210870
+ Safe_proxy_factory__factory.abi = _abi51;
210465
210871
  }
210466
210872
  });
210467
210873
 
@@ -210472,7 +210878,7 @@ var require_Sign_message_lib_factory2 = __commonJS({
210472
210878
  Object.defineProperty(exports2, "__esModule", { value: true });
210473
210879
  exports2.Sign_message_lib__factory = void 0;
210474
210880
  var ethers_1 = require_lib228();
210475
- var _abi50 = [
210881
+ var _abi51 = [
210476
210882
  {
210477
210883
  anonymous: false,
210478
210884
  inputs: [
@@ -210521,14 +210927,14 @@ var require_Sign_message_lib_factory2 = __commonJS({
210521
210927
  ];
210522
210928
  var Sign_message_lib__factory = class {
210523
210929
  static createInterface() {
210524
- return new ethers_1.Interface(_abi50);
210930
+ return new ethers_1.Interface(_abi51);
210525
210931
  }
210526
210932
  static connect(address, runner) {
210527
- return new ethers_1.Contract(address, _abi50, runner);
210933
+ return new ethers_1.Contract(address, _abi51, runner);
210528
210934
  }
210529
210935
  };
210530
210936
  exports2.Sign_message_lib__factory = Sign_message_lib__factory;
210531
- Sign_message_lib__factory.abi = _abi50;
210937
+ Sign_message_lib__factory.abi = _abi51;
210532
210938
  }
210533
210939
  });
210534
210940
 
@@ -210539,7 +210945,7 @@ var require_Simulate_tx_accessor_factory2 = __commonJS({
210539
210945
  Object.defineProperty(exports2, "__esModule", { value: true });
210540
210946
  exports2.Simulate_tx_accessor__factory = void 0;
210541
210947
  var ethers_1 = require_lib228();
210542
- var _abi50 = [
210948
+ var _abi51 = [
210543
210949
  {
210544
210950
  inputs: [],
210545
210951
  stateMutability: "nonpayable",
@@ -210592,14 +210998,14 @@ var require_Simulate_tx_accessor_factory2 = __commonJS({
210592
210998
  ];
210593
210999
  var Simulate_tx_accessor__factory = class {
210594
211000
  static createInterface() {
210595
- return new ethers_1.Interface(_abi50);
211001
+ return new ethers_1.Interface(_abi51);
210596
211002
  }
210597
211003
  static connect(address, runner) {
210598
- return new ethers_1.Contract(address, _abi50, runner);
211004
+ return new ethers_1.Contract(address, _abi51, runner);
210599
211005
  }
210600
211006
  };
210601
211007
  exports2.Simulate_tx_accessor__factory = Simulate_tx_accessor__factory;
210602
- Simulate_tx_accessor__factory.abi = _abi50;
211008
+ Simulate_tx_accessor__factory.abi = _abi51;
210603
211009
  }
210604
211010
  });
210605
211011
 
@@ -332727,19 +333133,6 @@ var _abi39 = [
332727
333133
  outputs: [],
332728
333134
  stateMutability: "nonpayable"
332729
333135
  },
332730
- {
332731
- type: "function",
332732
- name: "distributor",
332733
- inputs: [],
332734
- outputs: [
332735
- {
332736
- name: "",
332737
- type: "address",
332738
- internalType: "address"
332739
- }
332740
- ],
332741
- stateMutability: "view"
332742
- },
332743
333136
  {
332744
333137
  type: "function",
332745
333138
  name: "exit",
@@ -332819,19 +333212,6 @@ var _abi39 = [
332819
333212
  outputs: [],
332820
333213
  stateMutability: "nonpayable"
332821
333214
  },
332822
- {
332823
- type: "function",
332824
- name: "setDistributor",
332825
- inputs: [
332826
- {
332827
- name: "distributor_",
332828
- type: "address",
332829
- internalType: "address"
332830
- }
332831
- ],
332832
- outputs: [],
332833
- stateMutability: "nonpayable"
332834
- },
332835
333215
  {
332836
333216
  type: "function",
332837
333217
  name: "startFarming",
@@ -332850,6 +333230,13 @@ var _abi39 = [
332850
333230
  outputs: [],
332851
333231
  stateMutability: "nonpayable"
332852
333232
  },
333233
+ {
333234
+ type: "function",
333235
+ name: "stopFarming",
333236
+ inputs: [],
333237
+ outputs: [],
333238
+ stateMutability: "nonpayable"
333239
+ },
332853
333240
  {
332854
333241
  type: "function",
332855
333242
  name: "totalSupply",
@@ -332954,25 +333341,6 @@ var _abi39 = [
332954
333341
  ],
332955
333342
  anonymous: false
332956
333343
  },
332957
- {
332958
- type: "event",
332959
- name: "DistributorChanged",
332960
- inputs: [
332961
- {
332962
- name: "oldDistributor",
332963
- type: "address",
332964
- indexed: false,
332965
- internalType: "address"
332966
- },
332967
- {
332968
- name: "newDistributor",
332969
- type: "address",
332970
- indexed: false,
332971
- internalType: "address"
332972
- }
332973
- ],
332974
- anonymous: false
332975
- },
332976
333344
  {
332977
333345
  type: "event",
332978
333346
  name: "RewardUpdated",
@@ -334220,25 +334588,134 @@ var _abi44 = [
334220
334588
  },
334221
334589
  {
334222
334590
  type: "function",
334223
- name: "tryBlockAndAggregate",
334591
+ name: "tryBlockAndAggregate",
334592
+ inputs: [
334593
+ {
334594
+ name: "requireSuccess",
334595
+ type: "bool",
334596
+ internalType: "bool"
334597
+ },
334598
+ {
334599
+ name: "calls",
334600
+ type: "tuple[]",
334601
+ internalType: "struct IMulticall3.Call[]",
334602
+ components: [
334603
+ {
334604
+ name: "target",
334605
+ type: "address",
334606
+ internalType: "address"
334607
+ },
334608
+ {
334609
+ name: "callData",
334610
+ type: "bytes",
334611
+ internalType: "bytes"
334612
+ }
334613
+ ]
334614
+ }
334615
+ ],
334616
+ outputs: [
334617
+ {
334618
+ name: "blockNumber",
334619
+ type: "uint256",
334620
+ internalType: "uint256"
334621
+ },
334622
+ {
334623
+ name: "blockHash",
334624
+ type: "bytes32",
334625
+ internalType: "bytes32"
334626
+ },
334627
+ {
334628
+ name: "returnData",
334629
+ type: "tuple[]",
334630
+ internalType: "struct IMulticall3.Result[]",
334631
+ components: [
334632
+ {
334633
+ name: "success",
334634
+ type: "bool",
334635
+ internalType: "bool"
334636
+ },
334637
+ {
334638
+ name: "returnData",
334639
+ type: "bytes",
334640
+ internalType: "bytes"
334641
+ }
334642
+ ]
334643
+ }
334644
+ ],
334645
+ stateMutability: "payable"
334646
+ }
334647
+ ];
334648
+ var IMulticall3__factory = class {
334649
+ static abi = _abi44;
334650
+ static createInterface() {
334651
+ return new Interface(_abi44);
334652
+ }
334653
+ static connect(address, runner) {
334654
+ return new Contract(address, _abi44, runner);
334655
+ }
334656
+ };
334657
+
334658
+ // ../../packages/types/dist/generated/factories/v3/IPartialLiquidationBotV3__factory.js
334659
+ var _abi45 = [
334660
+ {
334661
+ type: "function",
334662
+ name: "feeScaleFactor",
334663
+ inputs: [],
334664
+ outputs: [
334665
+ {
334666
+ name: "",
334667
+ type: "uint16",
334668
+ internalType: "uint16"
334669
+ }
334670
+ ],
334671
+ stateMutability: "view"
334672
+ },
334673
+ {
334674
+ type: "function",
334675
+ name: "liquidateExactCollateral",
334224
334676
  inputs: [
334225
334677
  {
334226
- name: "requireSuccess",
334227
- type: "bool",
334228
- internalType: "bool"
334678
+ name: "creditAccount",
334679
+ type: "address",
334680
+ internalType: "address"
334229
334681
  },
334230
334682
  {
334231
- name: "calls",
334683
+ name: "token",
334684
+ type: "address",
334685
+ internalType: "address"
334686
+ },
334687
+ {
334688
+ name: "seizedAmount",
334689
+ type: "uint256",
334690
+ internalType: "uint256"
334691
+ },
334692
+ {
334693
+ name: "maxRepaidAmount",
334694
+ type: "uint256",
334695
+ internalType: "uint256"
334696
+ },
334697
+ {
334698
+ name: "to",
334699
+ type: "address",
334700
+ internalType: "address"
334701
+ },
334702
+ {
334703
+ name: "priceUpdates",
334232
334704
  type: "tuple[]",
334233
- internalType: "struct IMulticall3.Call[]",
334705
+ internalType: "struct IPartialLiquidationBotV3.PriceUpdate[]",
334234
334706
  components: [
334235
334707
  {
334236
- name: "target",
334708
+ name: "token",
334237
334709
  type: "address",
334238
334710
  internalType: "address"
334239
334711
  },
334240
334712
  {
334241
- name: "callData",
334713
+ name: "reserve",
334714
+ type: "bool",
334715
+ internalType: "bool"
334716
+ },
334717
+ {
334718
+ name: "data",
334242
334719
  type: "bytes",
334243
334720
  internalType: "bytes"
334244
334721
  }
@@ -334247,48 +334724,220 @@ var _abi44 = [
334247
334724
  ],
334248
334725
  outputs: [
334249
334726
  {
334250
- name: "blockNumber",
334727
+ name: "repaidAmount",
334251
334728
  type: "uint256",
334252
334729
  internalType: "uint256"
334730
+ }
334731
+ ],
334732
+ stateMutability: "nonpayable"
334733
+ },
334734
+ {
334735
+ type: "function",
334736
+ name: "liquidateExactDebt",
334737
+ inputs: [
334738
+ {
334739
+ name: "creditAccount",
334740
+ type: "address",
334741
+ internalType: "address"
334253
334742
  },
334254
334743
  {
334255
- name: "blockHash",
334256
- type: "bytes32",
334257
- internalType: "bytes32"
334744
+ name: "token",
334745
+ type: "address",
334746
+ internalType: "address"
334258
334747
  },
334259
334748
  {
334260
- name: "returnData",
334749
+ name: "repaidAmount",
334750
+ type: "uint256",
334751
+ internalType: "uint256"
334752
+ },
334753
+ {
334754
+ name: "minSeizedAmount",
334755
+ type: "uint256",
334756
+ internalType: "uint256"
334757
+ },
334758
+ {
334759
+ name: "to",
334760
+ type: "address",
334761
+ internalType: "address"
334762
+ },
334763
+ {
334764
+ name: "priceUpdates",
334261
334765
  type: "tuple[]",
334262
- internalType: "struct IMulticall3.Result[]",
334766
+ internalType: "struct IPartialLiquidationBotV3.PriceUpdate[]",
334263
334767
  components: [
334264
334768
  {
334265
- name: "success",
334769
+ name: "token",
334770
+ type: "address",
334771
+ internalType: "address"
334772
+ },
334773
+ {
334774
+ name: "reserve",
334266
334775
  type: "bool",
334267
334776
  internalType: "bool"
334268
334777
  },
334269
334778
  {
334270
- name: "returnData",
334779
+ name: "data",
334271
334780
  type: "bytes",
334272
334781
  internalType: "bytes"
334273
334782
  }
334274
334783
  ]
334275
334784
  }
334276
334785
  ],
334277
- stateMutability: "payable"
334786
+ outputs: [
334787
+ {
334788
+ name: "seizedAmount",
334789
+ type: "uint256",
334790
+ internalType: "uint256"
334791
+ }
334792
+ ],
334793
+ stateMutability: "nonpayable"
334794
+ },
334795
+ {
334796
+ type: "function",
334797
+ name: "maxHealthFactor",
334798
+ inputs: [],
334799
+ outputs: [
334800
+ {
334801
+ name: "",
334802
+ type: "uint16",
334803
+ internalType: "uint16"
334804
+ }
334805
+ ],
334806
+ stateMutability: "view"
334807
+ },
334808
+ {
334809
+ type: "function",
334810
+ name: "minHealthFactor",
334811
+ inputs: [],
334812
+ outputs: [
334813
+ {
334814
+ name: "",
334815
+ type: "uint16",
334816
+ internalType: "uint16"
334817
+ }
334818
+ ],
334819
+ stateMutability: "view"
334820
+ },
334821
+ {
334822
+ type: "function",
334823
+ name: "premiumScaleFactor",
334824
+ inputs: [],
334825
+ outputs: [
334826
+ {
334827
+ name: "",
334828
+ type: "uint16",
334829
+ internalType: "uint16"
334830
+ }
334831
+ ],
334832
+ stateMutability: "view"
334833
+ },
334834
+ {
334835
+ type: "function",
334836
+ name: "treasury",
334837
+ inputs: [],
334838
+ outputs: [
334839
+ {
334840
+ name: "",
334841
+ type: "address",
334842
+ internalType: "address"
334843
+ }
334844
+ ],
334845
+ stateMutability: "view"
334846
+ },
334847
+ {
334848
+ type: "function",
334849
+ name: "version",
334850
+ inputs: [],
334851
+ outputs: [
334852
+ {
334853
+ name: "",
334854
+ type: "uint256",
334855
+ internalType: "uint256"
334856
+ }
334857
+ ],
334858
+ stateMutability: "view"
334859
+ },
334860
+ {
334861
+ type: "event",
334862
+ name: "LiquidatePartial",
334863
+ inputs: [
334864
+ {
334865
+ name: "creditManager",
334866
+ type: "address",
334867
+ indexed: true,
334868
+ internalType: "address"
334869
+ },
334870
+ {
334871
+ name: "creditAccount",
334872
+ type: "address",
334873
+ indexed: true,
334874
+ internalType: "address"
334875
+ },
334876
+ {
334877
+ name: "token",
334878
+ type: "address",
334879
+ indexed: true,
334880
+ internalType: "address"
334881
+ },
334882
+ {
334883
+ name: "repaidDebt",
334884
+ type: "uint256",
334885
+ indexed: false,
334886
+ internalType: "uint256"
334887
+ },
334888
+ {
334889
+ name: "seizedCollateral",
334890
+ type: "uint256",
334891
+ indexed: false,
334892
+ internalType: "uint256"
334893
+ },
334894
+ {
334895
+ name: "fee",
334896
+ type: "uint256",
334897
+ indexed: false,
334898
+ internalType: "uint256"
334899
+ }
334900
+ ],
334901
+ anonymous: false
334902
+ },
334903
+ {
334904
+ type: "error",
334905
+ name: "LiquidatedLessThanNeededException",
334906
+ inputs: []
334907
+ },
334908
+ {
334909
+ type: "error",
334910
+ name: "LiquidatedMoreThanNeededException",
334911
+ inputs: []
334912
+ },
334913
+ {
334914
+ type: "error",
334915
+ name: "RepaidMoreThanAllowedException",
334916
+ inputs: []
334917
+ },
334918
+ {
334919
+ type: "error",
334920
+ name: "SeizedLessThanRequiredException",
334921
+ inputs: []
334922
+ },
334923
+ {
334924
+ type: "error",
334925
+ name: "UnderlyingNotLiquidatableException",
334926
+ inputs: []
334278
334927
  }
334279
334928
  ];
334280
- var IMulticall3__factory = class {
334281
- static abi = _abi44;
334929
+ var IPartialLiquidationBotV3__factory = class {
334930
+ static abi = _abi45;
334282
334931
  static createInterface() {
334283
- return new Interface(_abi44);
334932
+ return new Interface(_abi45);
334284
334933
  }
334285
334934
  static connect(address, runner) {
334286
- return new Contract(address, _abi44, runner);
334935
+ return new Contract(address, _abi45, runner);
334287
334936
  }
334288
334937
  };
334289
334938
 
334290
334939
  // ../../packages/types/dist/generated/factories/v3/IRouterConfiguratorV3__factory.js
334291
- var _abi45 = [
334940
+ var _abi46 = [
334292
334941
  {
334293
334942
  type: "function",
334294
334943
  name: "componentAddressById",
@@ -335068,17 +335717,17 @@ var _abi45 = [
335068
335717
  }
335069
335718
  ];
335070
335719
  var IRouterConfiguratorV3__factory = class {
335071
- static abi = _abi45;
335720
+ static abi = _abi46;
335072
335721
  static createInterface() {
335073
- return new Interface(_abi45);
335722
+ return new Interface(_abi46);
335074
335723
  }
335075
335724
  static connect(address, runner) {
335076
- return new Contract(address, _abi45, runner);
335725
+ return new Contract(address, _abi46, runner);
335077
335726
  }
335078
335727
  };
335079
335728
 
335080
335729
  // ../../packages/types/dist/generated/factories/v3/ITimelock__factory.js
335081
- var _abi46 = [
335730
+ var _abi47 = [
335082
335731
  {
335083
335732
  type: "function",
335084
335733
  name: "acceptAdmin",
@@ -335270,17 +335919,17 @@ var _abi46 = [
335270
335919
  }
335271
335920
  ];
335272
335921
  var ITimelock__factory = class {
335273
- static abi = _abi46;
335922
+ static abi = _abi47;
335274
335923
  static createInterface() {
335275
- return new Interface(_abi46);
335924
+ return new Interface(_abi47);
335276
335925
  }
335277
335926
  static connect(address, runner) {
335278
- return new Contract(address, _abi46, runner);
335927
+ return new Contract(address, _abi47, runner);
335279
335928
  }
335280
335929
  };
335281
335930
 
335282
335931
  // ../../packages/types/dist/generated/factories/v3/IYearnV2Adapter__factory.js
335283
- var _abi47 = [
335932
+ var _abi48 = [
335284
335933
  {
335285
335934
  type: "function",
335286
335935
  name: "_gearboxAdapterType",
@@ -335575,17 +336224,17 @@ var _abi47 = [
335575
336224
  }
335576
336225
  ];
335577
336226
  var IYearnV2Adapter__factory = class {
335578
- static abi = _abi47;
336227
+ static abi = _abi48;
335579
336228
  static createInterface() {
335580
- return new Interface(_abi47);
336229
+ return new Interface(_abi48);
335581
336230
  }
335582
336231
  static connect(address, runner) {
335583
- return new Contract(address, _abi47, runner);
336232
+ return new Contract(address, _abi48, runner);
335584
336233
  }
335585
336234
  };
335586
336235
 
335587
336236
  // ../../packages/types/dist/generated/factories/v3/IZapper__factory.js
335588
- var _abi48 = [
336237
+ var _abi49 = [
335589
336238
  {
335590
336239
  type: "function",
335591
336240
  name: "pool",
@@ -335746,17 +336395,17 @@ var _abi48 = [
335746
336395
  }
335747
336396
  ];
335748
336397
  var IZapper__factory = class {
335749
- static abi = _abi48;
336398
+ static abi = _abi49;
335750
336399
  static createInterface() {
335751
- return new Interface(_abi48);
336400
+ return new Interface(_abi49);
335752
336401
  }
335753
336402
  static connect(address, runner) {
335754
- return new Contract(address, _abi48, runner);
336403
+ return new Contract(address, _abi49, runner);
335755
336404
  }
335756
336405
  };
335757
336406
 
335758
336407
  // ../../packages/types/dist/generated/factories/v3/IZapperRegister__factory.js
335759
- var _abi49 = [
336408
+ var _abi50 = [
335760
336409
  {
335761
336410
  type: "function",
335762
336411
  name: "zappers",
@@ -335804,12 +336453,12 @@ var _abi49 = [
335804
336453
  }
335805
336454
  ];
335806
336455
  var IZapperRegister__factory = class {
335807
- static abi = _abi49;
336456
+ static abi = _abi50;
335808
336457
  static createInterface() {
335809
- return new Interface(_abi49);
336458
+ return new Interface(_abi50);
335810
336459
  }
335811
336460
  static connect(address, runner) {
335812
- return new Contract(address, _abi49, runner);
336461
+ return new Contract(address, _abi50, runner);
335813
336462
  }
335814
336463
  };
335815
336464
 
@@ -359551,6 +360200,23 @@ var OneInchFarmingPoolParser = class extends AbstractParser {
359551
360200
  }
359552
360201
  };
359553
360202
 
360203
+ // ../../packages/node/dist/parsers/PartialLiquidationBotV3Parser.js
360204
+ var PartialLiquidationBotV3Parser = class extends AbstractParser {
360205
+ constructor(contractType) {
360206
+ super(contractType, "constructor(address addressProvider, uint16 minHealthFactor, uint16 maxHealthFactor, uint16 premiumScaleFactor, uint16 feeScaleFactor)");
360207
+ this._iFace = IPartialLiquidationBotV3__factory.createInterface();
360208
+ this.parameterParsers = {
360209
+ constructor: [
360210
+ parseAddress(),
360211
+ parsePercent(),
360212
+ parsePercent(),
360213
+ parsePercent(),
360214
+ parsePercent()
360215
+ ]
360216
+ };
360217
+ }
360218
+ };
360219
+
359554
360220
  // ../../packages/node/dist/parsers/PoolQuotaKeeperV3Parser.js
359555
360221
  var PoolQuotaKeeperV3Parser = class extends AbstractParser {
359556
360222
  constructor(contractType) {
@@ -359785,6 +360451,7 @@ var CONTRACT_NAME_TO_TYPE = new Map([
359785
360451
  ["GearStakingV3", "GEAR_STAKING"],
359786
360452
  ["InflationAttackBlocker", "INFLATION_ATTACK_BLOCKER"],
359787
360453
  ["LinearInterestRateModelV3", "INTEREST_RATE_MODEL_V3"],
360454
+ ["PartialLiquidationBotV3", "MULTIPAUSE"],
359788
360455
  ["PoolQuotaKeeperV3", "POOL_QUOTA_KEEPER_V3"],
359789
360456
  ["PoolV3", "POOL_V3"],
359790
360457
  ["PriceOracleV3", "PRICE_ORACLE_V3"],
@@ -359866,6 +360533,8 @@ function parserForContractType(contract, version4, contractName) {
359866
360533
  return new MultiPauseParser(contract);
359867
360534
  case "ONE_INCH_FARMING_POOL":
359868
360535
  return new OneInchFarmingPoolParser(contract);
360536
+ case "PARTIAL_LIQUIDATION_BOT":
360537
+ return new PartialLiquidationBotV3Parser(contract);
359869
360538
  case "POOL_QUOTA_KEEPER_V3":
359870
360539
  return new PoolQuotaKeeperV3Parser(contract);
359871
360540
  case "POOL_V1":
@@ -365153,7 +365822,7 @@ function getRenderer(opts) {
365153
365822
  }
365154
365823
 
365155
365824
  // package.json
365156
- var version3 = "4.21.3";
365825
+ var version3 = "4.22.0";
365157
365826
 
365158
365827
  // src/version.ts
365159
365828
  var version_default = version3;
@@ -365190,12 +365859,7 @@ function parse() {
365190
365859
  "-i, --interactive",
365191
365860
  "Interactive navigation for pretty-print"
365192
365861
  )
365193
- ).addOption(
365194
- new Option(
365195
- "--html-file <file>",
365196
- "output html file"
365197
- ).makeOptionMandatory()
365198
- ).action(async (opts) => {
365862
+ ).addOption(new Option("--html-file <file>", "output html file")).action(async (opts) => {
365199
365863
  container.auditor = new Auditor(opts);
365200
365864
  await container.auditor.setup();
365201
365865
  container.addressTree = new GearboxAddressTree(opts);