Skip to content

Commit

Permalink
Aave v3 markets update (#3972)
Browse files Browse the repository at this point in the history
  • Loading branch information
piekczyk committed Jun 26, 2024
1 parent 61a66ca commit 29d84e9
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 0 deletions.
25 changes: 25 additions & 0 deletions features/aave/strategies/arbitrum-aave-v3-strategies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
50 changes: 50 additions & 0 deletions features/aave/strategies/base-aave-v3-strategies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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
Expand Down

0 comments on commit 29d84e9

Please sign in to comment.