From 37119c7437b4f02c7ea7e49673d6fe41ad5fc5de Mon Sep 17 00:00:00 2001 From: Van0k Date: Fri, 15 Mar 2024 16:02:47 +0400 Subject: [PATCH 1/2] feat: solidity configs for stablecoin pools --- config_scripts/daiMainnetScript.ts | 9 ++ config_scripts/ghoMainnetScript.ts | 9 ++ config_scripts/usdtMainnetScript.ts | 9 ++ contracts/test/config/DAI_Mainnet_config.sol | 123 +++++++++++++++ contracts/test/config/GHO_Mainnet_config.sol | 144 ++++++++++++++++++ contracts/test/config/USDT_Mainnet_config.sol | 128 ++++++++++++++++ .../test/config/WETH_Arbitrum_config.sol | 4 + contracts/test/suites/LiveTestHelper.sol | 6 + 8 files changed, 432 insertions(+) create mode 100644 config_scripts/daiMainnetScript.ts create mode 100644 config_scripts/ghoMainnetScript.ts create mode 100644 config_scripts/usdtMainnetScript.ts create mode 100644 contracts/test/config/DAI_Mainnet_config.sol create mode 100644 contracts/test/config/GHO_Mainnet_config.sol create mode 100644 contracts/test/config/USDT_Mainnet_config.sol diff --git a/config_scripts/daiMainnetScript.ts b/config_scripts/daiMainnetScript.ts new file mode 100644 index 00000000..be06691e --- /dev/null +++ b/config_scripts/daiMainnetScript.ts @@ -0,0 +1,9 @@ +import { + daiConfigMainnet, + PoolV3CoreConfigurator, +} from "@gearbox-protocol/sdk-gov"; + +const poolCfg = PoolV3CoreConfigurator.new(daiConfigMainnet); +console.error(poolCfg.toString()); + +console.log(poolCfg.deployConfig()); diff --git a/config_scripts/ghoMainnetScript.ts b/config_scripts/ghoMainnetScript.ts new file mode 100644 index 00000000..b8d34af0 --- /dev/null +++ b/config_scripts/ghoMainnetScript.ts @@ -0,0 +1,9 @@ +import { + ghoConfigMainnet, + PoolV3CoreConfigurator, +} from "@gearbox-protocol/sdk-gov"; + +const poolCfg = PoolV3CoreConfigurator.new(ghoConfigMainnet); +console.error(poolCfg.toString()); + +console.log(poolCfg.deployConfig()); diff --git a/config_scripts/usdtMainnetScript.ts b/config_scripts/usdtMainnetScript.ts new file mode 100644 index 00000000..945bad93 --- /dev/null +++ b/config_scripts/usdtMainnetScript.ts @@ -0,0 +1,9 @@ +import { + PoolV3CoreConfigurator, + usdtConfigMainnet, +} from "@gearbox-protocol/sdk-gov"; + +const poolCfg = PoolV3CoreConfigurator.new(usdtConfigMainnet); +console.error(poolCfg.toString()); + +console.log(poolCfg.deployConfig()); diff --git a/contracts/test/config/DAI_Mainnet_config.sol b/contracts/test/config/DAI_Mainnet_config.sol new file mode 100644 index 00000000..52999d57 --- /dev/null +++ b/contracts/test/config/DAI_Mainnet_config.sol @@ -0,0 +1,123 @@ +// SPDX-License-Identifier: UNLICENSED +// Gearbox. Generalized leverage protocol that allows to take leverage and then use it across other DeFi protocols and platforms in a composable way. +// (c) Gearbox Holdings, 2022 +pragma solidity ^0.8.17; + +import {Tokens} from "@gearbox-protocol/sdk-gov/contracts/Tokens.sol"; +import {Contracts} from "@gearbox-protocol/sdk-gov/contracts/SupportedContracts.sol"; +import { + LinearIRMV3DeployParams, + PoolV3DeployParams, + CreditManagerV3DeployParams, + GaugeRate, + PoolQuotaLimit, + IPoolV3DeployConfig, + CollateralTokenHuman, + GenericSwapPair, + UniswapV3Pair, + BalancerPool, + VelodromeV2Pool +} from "@gearbox-protocol/core-v3/contracts/test/interfaces/ICreditConfig.sol"; + +contract CONFIG_MAINNET_DAI_V3 is IPoolV3DeployConfig { + string public constant id = "mainnet-dai-v3"; + uint256 public constant chainId = 1; + Tokens public constant underlying = Tokens.DAI; + bool public constant supportsQuotas = true; + uint256 public constant getAccountAmount = 100_000_000_000_000_000_000_000; + + // POOL + + string public constant symbol = "dDAIV3"; + string public constant name = "DAI v3"; + + PoolV3DeployParams _poolParams = + PoolV3DeployParams({withdrawalFee: 0, totalDebtLimit: 100_000_000_000_000_000_000_000_000}); + + LinearIRMV3DeployParams _irm = LinearIRMV3DeployParams({ + U_1: 70_00, + U_2: 90_00, + R_base: 0, + R_slope1: 1_00, + R_slope2: 1_25, + R_slope3: 100_00, + _isBorrowingMoreU2Forbidden: true + }); + + GaugeRate[] _gaugeRates; + PoolQuotaLimit[] _quotaLimits; + + CreditManagerV3DeployParams[] _creditManagers; + + constructor() { + _gaugeRates.push(GaugeRate({token: Tokens.sDAI, minRate: 5, maxRate: 15_00})); + _gaugeRates.push(GaugeRate({token: Tokens.USDe, minRate: 5, maxRate: 30_00})); + _gaugeRates.push(GaugeRate({token: Tokens.sUSDe, minRate: 5, maxRate: 30_00})); + _quotaLimits.push( + PoolQuotaLimit({token: Tokens.sDAI, quotaIncreaseFee: 0, limit: 30_000_000_000_000_000_000_000_000}) + ); + _quotaLimits.push( + PoolQuotaLimit({token: Tokens.USDe, quotaIncreaseFee: 0, limit: 3_000_000_000_000_000_000_000_000}) + ); + _quotaLimits.push( + PoolQuotaLimit({token: Tokens.sUSDe, quotaIncreaseFee: 0, limit: 3_000_000_000_000_000_000_000_000}) + ); + + { + /// CREDIT_MANAGER_0 + CreditManagerV3DeployParams storage cp = _creditManagers.push(); + + cp.minDebt = 20_000_000_000_000_000_000_000; + cp.maxDebt = 1_000_000_000_000_000_000_000_000; + cp.feeInterest = 2500; + cp.feeLiquidation = 150; + cp.liquidationPremium = 400; + cp.feeLiquidationExpired = 100; + cp.liquidationPremiumExpired = 200; + cp.whitelisted = false; + cp.expirable = false; + cp.skipInit = false; + cp.poolLimit = 10_000_000_000_000_000_000_000_000; + + CollateralTokenHuman[] storage cts = cp.collateralTokens; + cts.push(CollateralTokenHuman({token: Tokens.USDe, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.sUSDe, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.sDAI, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens._3Crv, lt: 0})); + + cts.push(CollateralTokenHuman({token: Tokens.USDeDAI, lt: 0})); + + cts.push(CollateralTokenHuman({token: Tokens.MtEthena, lt: 0})); + Contracts[] storage cs = cp.contracts; + cs.push(Contracts.CURVE_USDE_DAI_POOL); + cs.push(Contracts.CURVE_SDAI_SUSDE_POOL); + cs.push(Contracts.MAKER_DSR_VAULT); + cs.push(Contracts.STAKED_USDE_VAULT); + } + } + + // GETTERS + + function poolParams() external view override returns (PoolV3DeployParams memory) { + return _poolParams; + } + + function irm() external view override returns (LinearIRMV3DeployParams memory) { + return _irm; + } + + function gaugeRates() external view override returns (GaugeRate[] memory) { + return _gaugeRates; + } + + function quotaLimits() external view override returns (PoolQuotaLimit[] memory) { + return _quotaLimits; + } + + function creditManagers() external view override returns (CreditManagerV3DeployParams[] memory) { + return _creditManagers; + } +} diff --git a/contracts/test/config/GHO_Mainnet_config.sol b/contracts/test/config/GHO_Mainnet_config.sol new file mode 100644 index 00000000..39a8b24d --- /dev/null +++ b/contracts/test/config/GHO_Mainnet_config.sol @@ -0,0 +1,144 @@ +// SPDX-License-Identifier: UNLICENSED +// Gearbox. Generalized leverage protocol that allows to take leverage and then use it across other DeFi protocols and platforms in a composable way. +// (c) Gearbox Holdings, 2022 +pragma solidity ^0.8.17; + +import {Tokens} from "@gearbox-protocol/sdk-gov/contracts/Tokens.sol"; +import {Contracts} from "@gearbox-protocol/sdk-gov/contracts/SupportedContracts.sol"; +import { + LinearIRMV3DeployParams, + PoolV3DeployParams, + CreditManagerV3DeployParams, + GaugeRate, + PoolQuotaLimit, + IPoolV3DeployConfig, + CollateralTokenHuman, + GenericSwapPair, + UniswapV3Pair, + BalancerPool, + VelodromeV2Pool +} from "@gearbox-protocol/core-v3/contracts/test/interfaces/ICreditConfig.sol"; + +contract CONFIG_MAINNET_GHO_V3 is IPoolV3DeployConfig { + string public constant id = "mainnet-gho-v3"; + uint256 public constant chainId = 1; + Tokens public constant underlying = Tokens.GHO; + bool public constant supportsQuotas = true; + uint256 public constant getAccountAmount = 100_000_000_000_000_000_000_000; + + // POOL + + string public constant symbol = "dGHOV3"; + string public constant name = "GHO v3"; + + PoolV3DeployParams _poolParams = + PoolV3DeployParams({withdrawalFee: 0, totalDebtLimit: 100_000_000_000_000_000_000_000_000}); + + LinearIRMV3DeployParams _irm = LinearIRMV3DeployParams({ + U_1: 70_00, + U_2: 90_00, + R_base: 0, + R_slope1: 1_00, + R_slope2: 1_25, + R_slope3: 100_00, + _isBorrowingMoreU2Forbidden: true + }); + + GaugeRate[] _gaugeRates; + PoolQuotaLimit[] _quotaLimits; + + CreditManagerV3DeployParams[] _creditManagers; + + constructor() { + _gaugeRates.push(GaugeRate({token: Tokens.DAI, minRate: 4, maxRate: 12_00})); + _gaugeRates.push(GaugeRate({token: Tokens.USDT, minRate: 4, maxRate: 12_00})); + _gaugeRates.push(GaugeRate({token: Tokens.sDAI, minRate: 5, maxRate: 15_00})); + _gaugeRates.push(GaugeRate({token: Tokens.USDe, minRate: 5, maxRate: 30_00})); + _gaugeRates.push(GaugeRate({token: Tokens.sUSDe, minRate: 5, maxRate: 30_00})); + _quotaLimits.push( + PoolQuotaLimit({token: Tokens.DAI, quotaIncreaseFee: 1, limit: 30_000_000_000_000_000_000_000_000}) + ); + _quotaLimits.push( + PoolQuotaLimit({token: Tokens.USDT, quotaIncreaseFee: 1, limit: 30_000_000_000_000_000_000_000_000}) + ); + _quotaLimits.push( + PoolQuotaLimit({token: Tokens.sDAI, quotaIncreaseFee: 0, limit: 30_000_000_000_000_000_000_000_000}) + ); + _quotaLimits.push( + PoolQuotaLimit({token: Tokens.USDe, quotaIncreaseFee: 0, limit: 3_000_000_000_000_000_000_000_000}) + ); + _quotaLimits.push( + PoolQuotaLimit({token: Tokens.sUSDe, quotaIncreaseFee: 0, limit: 3_000_000_000_000_000_000_000_000}) + ); + + { + /// CREDIT_MANAGER_0 + CreditManagerV3DeployParams storage cp = _creditManagers.push(); + + cp.minDebt = 20_000_000_000_000_000_000_000; + cp.maxDebt = 1_000_000_000_000_000_000_000_000; + cp.feeInterest = 2500; + cp.feeLiquidation = 150; + cp.liquidationPremium = 400; + cp.feeLiquidationExpired = 100; + cp.liquidationPremiumExpired = 200; + cp.whitelisted = false; + cp.expirable = false; + cp.skipInit = false; + cp.poolLimit = 10_000_000_000_000_000_000_000_000; + + CollateralTokenHuman[] storage cts = cp.collateralTokens; + cts.push(CollateralTokenHuman({token: Tokens.USDC, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.DAI, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.USDT, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.USDe, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.sUSDe, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.sDAI, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens._3Crv, lt: 0})); + + cts.push(CollateralTokenHuman({token: Tokens.GHOUSDe, lt: 0})); + + cts.push(CollateralTokenHuman({token: Tokens.MtEthena, lt: 0})); + Contracts[] storage cs = cp.contracts; + cs.push(Contracts.BALANCER_VAULT); + BalancerPool[] storage bp = cp.balancerPools; + + bp.push( + BalancerPool({poolId: 0x8353157092ed8be69a9df8f95af097bbf33cb2af0000000000000000000005d9, status: 2}) + ); + cs.push(Contracts.CURVE_3CRV_POOL); + cs.push(Contracts.CURVE_GHO_USDE_POOL); + cs.push(Contracts.CURVE_SDAI_SUSDE_POOL); + cs.push(Contracts.MAKER_DSR_VAULT); + cs.push(Contracts.STAKED_USDE_VAULT); + } + } + + // GETTERS + + function poolParams() external view override returns (PoolV3DeployParams memory) { + return _poolParams; + } + + function irm() external view override returns (LinearIRMV3DeployParams memory) { + return _irm; + } + + function gaugeRates() external view override returns (GaugeRate[] memory) { + return _gaugeRates; + } + + function quotaLimits() external view override returns (PoolQuotaLimit[] memory) { + return _quotaLimits; + } + + function creditManagers() external view override returns (CreditManagerV3DeployParams[] memory) { + return _creditManagers; + } +} diff --git a/contracts/test/config/USDT_Mainnet_config.sol b/contracts/test/config/USDT_Mainnet_config.sol new file mode 100644 index 00000000..f6806fc4 --- /dev/null +++ b/contracts/test/config/USDT_Mainnet_config.sol @@ -0,0 +1,128 @@ +// SPDX-License-Identifier: UNLICENSED +// Gearbox. Generalized leverage protocol that allows to take leverage and then use it across other DeFi protocols and platforms in a composable way. +// (c) Gearbox Holdings, 2022 +pragma solidity ^0.8.17; + +import {Tokens} from "@gearbox-protocol/sdk-gov/contracts/Tokens.sol"; +import {Contracts} from "@gearbox-protocol/sdk-gov/contracts/SupportedContracts.sol"; +import { + LinearIRMV3DeployParams, + PoolV3DeployParams, + CreditManagerV3DeployParams, + GaugeRate, + PoolQuotaLimit, + IPoolV3DeployConfig, + CollateralTokenHuman, + GenericSwapPair, + UniswapV3Pair, + BalancerPool, + VelodromeV2Pool +} from "@gearbox-protocol/core-v3/contracts/test/interfaces/ICreditConfig.sol"; + +contract CONFIG_MAINNET_USDT_V3 is IPoolV3DeployConfig { + string public constant id = "mainnet-usdt-v3"; + uint256 public constant chainId = 1; + Tokens public constant underlying = Tokens.USDT; + bool public constant supportsQuotas = true; + uint256 public constant getAccountAmount = 100_000_000_000; + + // POOL + + string public constant symbol = "dUSDTV3"; + string public constant name = "USDT v3"; + + PoolV3DeployParams _poolParams = PoolV3DeployParams({withdrawalFee: 0, totalDebtLimit: 100_000_000_000_000}); + + LinearIRMV3DeployParams _irm = LinearIRMV3DeployParams({ + U_1: 70_00, + U_2: 90_00, + R_base: 0, + R_slope1: 1_00, + R_slope2: 1_25, + R_slope3: 100_00, + _isBorrowingMoreU2Forbidden: true + }); + + GaugeRate[] _gaugeRates; + PoolQuotaLimit[] _quotaLimits; + + CreditManagerV3DeployParams[] _creditManagers; + + constructor() { + _gaugeRates.push(GaugeRate({token: Tokens.DAI, minRate: 4, maxRate: 12_00})); + _gaugeRates.push(GaugeRate({token: Tokens.USDC, minRate: 4, maxRate: 12_00})); + _gaugeRates.push(GaugeRate({token: Tokens.sDAI, minRate: 5, maxRate: 15_00})); + _gaugeRates.push(GaugeRate({token: Tokens.USDe, minRate: 5, maxRate: 30_00})); + _gaugeRates.push(GaugeRate({token: Tokens.sUSDe, minRate: 5, maxRate: 30_00})); + _quotaLimits.push(PoolQuotaLimit({token: Tokens.DAI, quotaIncreaseFee: 1, limit: 30_000_000_000_000})); + _quotaLimits.push(PoolQuotaLimit({token: Tokens.USDC, quotaIncreaseFee: 1, limit: 30_000_000_000_000})); + _quotaLimits.push(PoolQuotaLimit({token: Tokens.sDAI, quotaIncreaseFee: 0, limit: 30_000_000_000_000})); + _quotaLimits.push(PoolQuotaLimit({token: Tokens.USDe, quotaIncreaseFee: 0, limit: 3_000_000_000_000})); + _quotaLimits.push(PoolQuotaLimit({token: Tokens.sUSDe, quotaIncreaseFee: 0, limit: 3_000_000_000_000})); + + { + /// CREDIT_MANAGER_0 + CreditManagerV3DeployParams storage cp = _creditManagers.push(); + + cp.minDebt = 20_000_000_000; + cp.maxDebt = 1_000_000_000_000; + cp.feeInterest = 2500; + cp.feeLiquidation = 150; + cp.liquidationPremium = 400; + cp.feeLiquidationExpired = 100; + cp.liquidationPremiumExpired = 200; + cp.whitelisted = false; + cp.expirable = false; + cp.skipInit = false; + cp.poolLimit = 10_000_000_000_000; + + CollateralTokenHuman[] storage cts = cp.collateralTokens; + cts.push(CollateralTokenHuman({token: Tokens.USDC, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.DAI, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.USDe, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.sUSDe, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens.sDAI, lt: 90_00})); + + cts.push(CollateralTokenHuman({token: Tokens._3Crv, lt: 0})); + + cts.push(CollateralTokenHuman({token: Tokens.USDeDAI, lt: 0})); + + cts.push(CollateralTokenHuman({token: Tokens.USDeUSDC, lt: 0})); + + cts.push(CollateralTokenHuman({token: Tokens.MtEthena, lt: 0})); + Contracts[] storage cs = cp.contracts; + cs.push(Contracts.CURVE_3CRV_POOL); + cs.push(Contracts.CURVE_USDE_DAI_POOL); + cs.push(Contracts.CURVE_USDE_USDC_POOL); + cs.push(Contracts.CURVE_SDAI_SUSDE_POOL); + cs.push(Contracts.MAKER_DSR_VAULT); + cs.push(Contracts.STAKED_USDE_VAULT); + } + } + + // GETTERS + + function poolParams() external view override returns (PoolV3DeployParams memory) { + return _poolParams; + } + + function irm() external view override returns (LinearIRMV3DeployParams memory) { + return _irm; + } + + function gaugeRates() external view override returns (GaugeRate[] memory) { + return _gaugeRates; + } + + function quotaLimits() external view override returns (PoolQuotaLimit[] memory) { + return _quotaLimits; + } + + function creditManagers() external view override returns (CreditManagerV3DeployParams[] memory) { + return _creditManagers; + } +} diff --git a/contracts/test/config/WETH_Arbitrum_config.sol b/contracts/test/config/WETH_Arbitrum_config.sol index 2211ca22..9e237bca 100644 --- a/contracts/test/config/WETH_Arbitrum_config.sol +++ b/contracts/test/config/WETH_Arbitrum_config.sol @@ -61,6 +61,7 @@ contract CONFIG_ARBITRUM_WETH_V3 is IPoolV3DeployConfig { _gaugeRates.push(GaugeRate({token: Tokens.rETH, minRate: 1, maxRate: 3_50})); _gaugeRates.push(GaugeRate({token: Tokens.cbETH, minRate: 1, maxRate: 3_50})); _gaugeRates.push(GaugeRate({token: Tokens.sfrxETH, minRate: 1, maxRate: 3_50})); + _gaugeRates.push(GaugeRate({token: Tokens.ezETH, minRate: 5, maxRate: 30_00})); _quotaLimits.push( PoolQuotaLimit({token: Tokens.USDC_e, quotaIncreaseFee: 1, limit: 1_500_000_000_000_000_000_000}) ); @@ -90,6 +91,7 @@ contract CONFIG_ARBITRUM_WETH_V3 is IPoolV3DeployConfig { _quotaLimits.push( PoolQuotaLimit({token: Tokens.sfrxETH, quotaIncreaseFee: 0, limit: 2_500_000_000_000_000_000_000}) ); + _quotaLimits.push(PoolQuotaLimit({token: Tokens.ezETH, quotaIncreaseFee: 0, limit: 0})); { /// CREDIT_MANAGER_0 @@ -121,6 +123,8 @@ contract CONFIG_ARBITRUM_WETH_V3 is IPoolV3DeployConfig { cts.push(CollateralTokenHuman({token: Tokens.rETH, lt: 96_00})); cts.push(CollateralTokenHuman({token: Tokens.cbETH, lt: 96_00})); + + cts.push(CollateralTokenHuman({token: Tokens.ezETH, lt: 96_00})); Contracts[] storage cs = cp.contracts; cs.push(Contracts.UNISWAP_V3_ROUTER); UniswapV3Pair[] storage uv3p = cp.uniswapV3Pairs; diff --git a/contracts/test/suites/LiveTestHelper.sol b/contracts/test/suites/LiveTestHelper.sol index e33c5c5a..5fa3e02d 100644 --- a/contracts/test/suites/LiveTestHelper.sol +++ b/contracts/test/suites/LiveTestHelper.sol @@ -26,6 +26,9 @@ import {AdapterDeployer} from "./AdapterDeployer.sol"; import {CONFIG_MAINNET_USDC_V3} from "../config/USDC_Mainnet_config.sol"; import {CONFIG_MAINNET_WBTC_V3} from "../config/WBTC_Mainnet_config.sol"; import {CONFIG_MAINNET_WETH_V3} from "../config/WETH_Mainnet_config.sol"; +import {CONFIG_MAINNET_GHO_V3} from "../config/GHO_Mainnet_config.sol"; +import {CONFIG_MAINNET_DAI_V3} from "../config/DAI_Mainnet_config.sol"; +import {CONFIG_MAINNET_USDT_V3} from "../config/USDT_Mainnet_config.sol"; import {CONFIG_OPTIMISM_USDC_V3} from "../config/USDC_Optimism_config.sol"; import {CONFIG_OPTIMISM_WETH_V3} from "../config/WETH_Optimism_config.sol"; @@ -63,6 +66,9 @@ contract LiveTestHelper is IntegrationTestHelper { addDeployConfig(new CONFIG_ARBITRUM_WETH_V3()); addDeployConfig(new CONFIG_MAINNET_USDC_TEST_V3()); addDeployConfig(new CONFIG_ARBITRUM_WETH_TEST_V3()); + addDeployConfig(new CONFIG_MAINNET_GHO_V3()); + addDeployConfig(new CONFIG_MAINNET_DAI_V3()); + addDeployConfig(new CONFIG_MAINNET_USDT_V3()); } SupportedContracts public supportedContracts; From 3b133887d50615704bfb2a56aabec1f0381ee4f8 Mon Sep 17 00:00:00 2001 From: Van0k Date: Fri, 15 Mar 2024 16:06:07 +0400 Subject: [PATCH 2/2] fix: bump package versions --- package.json | 4 ++-- yarn.lock | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 16479474..dec662f8 100644 --- a/package.json +++ b/package.json @@ -35,11 +35,11 @@ "@commitlint/cli": "^17.1.2", "@commitlint/config-conventional": "^17.1.0", "@gearbox-protocol/core-v2": "1.19.0-base.10", - "@gearbox-protocol/core-v3": "^1.48.0", + "@gearbox-protocol/core-v3": "^1.49.0", "@gearbox-protocol/eslint-config": "^1.6.1", "@gearbox-protocol/oracles-v3": "^1.10.3", "@gearbox-protocol/prettier-config": "^1.5.0", - "@gearbox-protocol/sdk-gov": "^1.42.0", + "@gearbox-protocol/sdk-gov": "^1.46.0", "@openzeppelin/contracts": "4.9.3", "@redstone-finance/evm-connector": "0.2.5", "@typechain/ethers-v5": "^10.1.0", diff --git a/yarn.lock b/yarn.lock index d4de89fe..7c9c9103 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1367,10 +1367,10 @@ resolved "https://registry.yarnpkg.com/@gearbox-protocol/core-v2/-/core-v2-1.19.0-base.10.tgz#a21bce9eac4ca1783f5fcb4322b1c1257158d2de" integrity sha512-S9reS5zGt+cKxEdQppVCU0cZEmnSqx8DaoloY6KXqCsAedVJvwNUoCHnLjh9s/oWyOHa37qExN1QohntNQyB2Q== -"@gearbox-protocol/core-v3@^1.48.0": - version "1.48.0" - resolved "https://registry.yarnpkg.com/@gearbox-protocol/core-v3/-/core-v3-1.48.0.tgz#e895d9273c167f1aec51da5bcd5d5318074815d2" - integrity sha512-kGCKLalgcmhtrsZqmMpsxbldIKO87pN6XbQlso97ieBZEriDDc1mtI5kBQ/D6frcTaAFcNe5cw+rMOuA06rz4Q== +"@gearbox-protocol/core-v3@^1.49.0": + version "1.49.0" + resolved "https://registry.yarnpkg.com/@gearbox-protocol/core-v3/-/core-v3-1.49.0.tgz#dd62c994aa30995137720360de3a56a77ca25cdd" + integrity sha512-b16G6ne0ZN0Dz0/oth9xFaxRhHvyTNd2II5X6aty6ez8KmlTjsgA9hJ4MxtrPZN3C5mj/F9PayocFP22ATd1dQ== "@gearbox-protocol/eslint-config@^1.6.1": version "1.6.1" @@ -1399,10 +1399,10 @@ resolved "https://registry.yarnpkg.com/@gearbox-protocol/prettier-config/-/prettier-config-1.5.0.tgz#4df8e9fd2305fee6ab8c1417a02e31343836932a" integrity sha512-FUoprSsBdZyBjgxXCKL6mTkbeUJytaLzPJqIOoQpDmBRTX0seCc2o5I9PI9tySoRIlNnd/XXnKCXq1xHDEGbxw== -"@gearbox-protocol/sdk-gov@^1.42.0": - version "1.42.0" - resolved "https://registry.yarnpkg.com/@gearbox-protocol/sdk-gov/-/sdk-gov-1.42.0.tgz#84157a4216af9e960f66653fd656e5e1fa944a9e" - integrity sha512-ff2AZa4ODZIg1pNPOf6/D66QKjC8143KgYSiXyD56nOTwUQYfJqmLl8pPP+X676jwF/MPxr3X1NpAabEn8cEtw== +"@gearbox-protocol/sdk-gov@^1.46.0": + version "1.46.0" + resolved "https://registry.yarnpkg.com/@gearbox-protocol/sdk-gov/-/sdk-gov-1.46.0.tgz#9d789efdb5af0cdd7a90bd0d516562abd395ec23" + integrity sha512-1CSp5/vgw7D6++F7lKu/V9pDOCCHm2W75PIuxPVojneUh4wrhPcbPrZt1Mmc0SARqeZyQ/o2CvXeY+HMufUBag== dependencies: "@types/yaml" "^1.9.7" add "^2.0.6"