From 29d84e9084feb74324170239cf505535ebacde1a Mon Sep 17 00:00:00 2001 From: piekczyk Date: Wed, 26 Jun 2024 17:11:03 +0200 Subject: [PATCH] Aave v3 markets update (#3972) --- .../strategies/arbitrum-aave-v3-strategies.ts | 25 ++++++++++ .../strategies/base-aave-v3-strategies.ts | 50 +++++++++++++++++++ .../aave-v3-products/arbitrum-mainnet.ts | 6 +++ .../aaveV3/aave-v3-products/base-mainnet.ts | 24 +++++++++ 4 files changed, 105 insertions(+) diff --git a/features/aave/strategies/arbitrum-aave-v3-strategies.ts b/features/aave/strategies/arbitrum-aave-v3-strategies.ts index 5fa72f7e58..1502078855 100644 --- a/features/aave/strategies/arbitrum-aave-v3-strategies.ts +++ b/features/aave/strategies/arbitrum-aave-v3-strategies.ts @@ -73,6 +73,31 @@ const availableTokenPairs: TokenPairConfig[] = [ }, }, }, + { + collateral: 'WEETH', + debt: 'USDC', + strategyType: StrategyType.Long, + productTypes: { + [ProductType.Borrow]: { + featureToggle: FeaturesEnum.AaveV3ArbitrumBorrow, + additionalManageActions: [ + { + action: 'switch-to-multiply', + featureToggle: FeaturesEnum.AaveV3ArbitrumBorrow, + }, + ], + }, + [ProductType.Multiply]: { + featureToggle: FeaturesEnum.AaveV3ArbitrumBorrow, + additionalManageActions: [ + { + action: 'switch-to-borrow', + featureToggle: FeaturesEnum.AaveV3ArbitrumBorrow, + }, + ], + }, + }, + }, { collateral: 'WBTC', debt: 'USDC', diff --git a/features/aave/strategies/base-aave-v3-strategies.ts b/features/aave/strategies/base-aave-v3-strategies.ts index 958b852197..e4c16f8304 100644 --- a/features/aave/strategies/base-aave-v3-strategies.ts +++ b/features/aave/strategies/base-aave-v3-strategies.ts @@ -123,6 +123,56 @@ const availableTokenPairs: TokenPairConfig[] = [ }, }, }, + { + collateral: 'WSTETH', + debt: 'USDC', + strategyType: StrategyType.Long, + productTypes: { + [ProductType.Borrow]: { + featureToggle: FeaturesEnum.BaseNetworkEnabled, + additionalManageActions: [ + { + action: 'switch-to-multiply', + featureToggle: FeaturesEnum.BaseNetworkEnabled, + }, + ], + }, + [ProductType.Multiply]: { + featureToggle: FeaturesEnum.BaseNetworkEnabled, + additionalManageActions: [ + { + action: 'switch-to-borrow', + featureToggle: FeaturesEnum.BaseNetworkEnabled, + }, + ], + }, + }, + }, + { + collateral: 'WEETH', + debt: 'USDC', + strategyType: StrategyType.Long, + productTypes: { + [ProductType.Borrow]: { + featureToggle: FeaturesEnum.BaseNetworkEnabled, + additionalManageActions: [ + { + action: 'switch-to-multiply', + featureToggle: FeaturesEnum.BaseNetworkEnabled, + }, + ], + }, + [ProductType.Multiply]: { + featureToggle: FeaturesEnum.BaseNetworkEnabled, + additionalManageActions: [ + { + action: 'switch-to-borrow', + featureToggle: FeaturesEnum.BaseNetworkEnabled, + }, + ], + }, + }, + }, { collateral: 'WSTETH', debt: 'ETH', diff --git a/handlers/product-hub/update-handlers/aaveV3/aave-v3-products/arbitrum-mainnet.ts b/handlers/product-hub/update-handlers/aaveV3/aave-v3-products/arbitrum-mainnet.ts index 9f5bf6fc82..2adc6189d0 100644 --- a/handlers/product-hub/update-handlers/aaveV3/aave-v3-products/arbitrum-mainnet.ts +++ b/handlers/product-hub/update-handlers/aaveV3/aave-v3-products/arbitrum-mainnet.ts @@ -37,6 +37,12 @@ const aaveSeed: AaveProductHubItemSeed[] = [ strategyType: 'long', types: ['borrow', 'multiply'], }, + { + collateral: 'WEETH', + debt: 'USDC', + strategyType: 'long', + types: ['borrow', 'multiply'], + }, { collateral: 'rETH', debt: 'DAI', diff --git a/handlers/product-hub/update-handlers/aaveV3/aave-v3-products/base-mainnet.ts b/handlers/product-hub/update-handlers/aaveV3/aave-v3-products/base-mainnet.ts index 05c8eb4b35..9dd74bf727 100644 --- a/handlers/product-hub/update-handlers/aaveV3/aave-v3-products/base-mainnet.ts +++ b/handlers/product-hub/update-handlers/aaveV3/aave-v3-products/base-mainnet.ts @@ -19,6 +19,18 @@ const aaveSeed: AaveProductHubItemSeed[] = [ strategyType: 'long', types: ['borrow', 'multiply'], }, + { + collateral: 'WSTETH', + debt: 'USDC', + strategyType: 'long', + types: ['borrow', 'multiply'], + }, + { + collateral: 'WEETH', + debt: 'USDC', + strategyType: 'long', + types: ['borrow', 'multiply'], + }, { collateral: 'cbETH', debt: 'USDbC', @@ -37,6 +49,18 @@ const aaveSeed: AaveProductHubItemSeed[] = [ strategyType: 'long', types: ['earn'], }, + { + collateral: 'WSTETH', + debt: 'ETH', + strategyType: 'long', + types: ['earn'], + }, + { + collateral: 'WEETH', + debt: 'ETH', + strategyType: 'long', + types: ['earn'], + }, ] const borrowProducts = aaveSeed