Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aave v3 markets update #3972

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading