From 905be719ca35d7e6f39ff7c3cdaf585a096719c9 Mon Sep 17 00:00:00 2001 From: miguelmtz <36620902+miguelmtzinf@users.noreply.github.com> Date: Mon, 16 Sep 2024 10:21:08 +0200 Subject: [PATCH] fix: add addresses for debt switch adapter [skip cypress] (#2181) --- src/ui-config/marketsConfig.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ui-config/marketsConfig.tsx b/src/ui-config/marketsConfig.tsx index 1273009359..d8b7fd695e 100644 --- a/src/ui-config/marketsConfig.tsx +++ b/src/ui-config/marketsConfig.tsx @@ -143,7 +143,7 @@ export const marketsData: { GHO_TOKEN_ADDRESS: AaveV3Ethereum.ASSETS.GHO.UNDERLYING, GHO_UI_DATA_PROVIDER: AaveV3Ethereum.UI_GHO_DATA_PROVIDER, WITHDRAW_SWITCH_ADAPTER: AaveV3Ethereum.WITHDRAW_SWAP_ADAPTER, - DEBT_SWITCH_ADAPTER: AaveV3Ethereum.DEBT_SWAP_ADAPTER, + DEBT_SWITCH_ADAPTER: '0xd7852e139a7097e119623de0751ae53a61efb442', }, }, [CustomMarket.proto_lido_v3]: { @@ -370,7 +370,7 @@ export const marketsData: { SWAP_COLLATERAL_ADAPTER: AaveV3Base.SWAP_COLLATERAL_ADAPTER, // WALLET_BALANCE_PROVIDER: AaveV2Ethereum.WALLET_BALANCE_PROVIDER, WITHDRAW_SWITCH_ADAPTER: AaveV3Base.WITHDRAW_SWAP_ADAPTER, - DEBT_SWITCH_ADAPTER: AaveV3Base.DEBT_SWAP_ADAPTER, + DEBT_SWITCH_ADAPTER: '0xb12e82df057bf16ecfa89d7d089dc7e5c1dc057b', }, }, [CustomMarket.proto_arbitrum_sepolia_v3]: { @@ -417,7 +417,7 @@ export const marketsData: { COLLECTOR: AaveV3Arbitrum.COLLECTOR, SWAP_COLLATERAL_ADAPTER: AaveV3Arbitrum.SWAP_COLLATERAL_ADAPTER, REPAY_WITH_COLLATERAL_ADAPTER: '0xe28e2c8d240dd5ebd0adcab86fbd79df7a052034', - DEBT_SWITCH_ADAPTER: AaveV3Arbitrum.DEBT_SWAP_ADAPTER, + DEBT_SWITCH_ADAPTER: '0x63dfa7c09dc2ff4030d6b8dc2ce6262bf898c8a4', WITHDRAW_SWITCH_ADAPTER: AaveV3Arbitrum.WITHDRAW_SWAP_ADAPTER, GHO_TOKEN_ADDRESS: '0x7dff72693f6a4149b17e7c6314655f6a9f7c8b33', }, @@ -464,7 +464,7 @@ export const marketsData: { UI_INCENTIVE_DATA_PROVIDER: AaveV3Avalanche.UI_INCENTIVE_DATA_PROVIDER, COLLECTOR: AaveV3Avalanche.COLLECTOR, - DEBT_SWITCH_ADAPTER: AaveV3Avalanche.DEBT_SWAP_ADAPTER, + DEBT_SWITCH_ADAPTER: '0xe28e2c8d240dd5ebd0adcab86fbd79df7a052034', WITHDRAW_SWITCH_ADAPTER: AaveV3Avalanche.WITHDRAW_SWAP_ADAPTER, }, }, @@ -610,7 +610,7 @@ export const marketsData: { COLLECTOR: AaveV3Optimism.COLLECTOR, SWAP_COLLATERAL_ADAPTER: AaveV3Optimism.SWAP_COLLATERAL_ADAPTER, REPAY_WITH_COLLATERAL_ADAPTER: '0x5d4d4007a4c6336550ddaa2a7c0d5e7972eebd16', - DEBT_SWITCH_ADAPTER: AaveV3Optimism.DEBT_SWAP_ADAPTER, + DEBT_SWITCH_ADAPTER: '0xe28e2c8d240dd5ebd0adcab86fbd79df7a052034', WITHDRAW_SWITCH_ADAPTER: AaveV3Optimism.WITHDRAW_SWAP_ADAPTER, }, }, @@ -638,7 +638,7 @@ export const marketsData: { UI_POOL_DATA_PROVIDER: AaveV3Polygon.UI_POOL_DATA_PROVIDER, UI_INCENTIVE_DATA_PROVIDER: AaveV3Polygon.UI_INCENTIVE_DATA_PROVIDER, COLLECTOR: AaveV3Polygon.COLLECTOR, - DEBT_SWITCH_ADAPTER: AaveV3Polygon.DEBT_SWAP_ADAPTER, + DEBT_SWITCH_ADAPTER: '0xe28e2c8d240dd5ebd0adcab86fbd79df7a052034', WITHDRAW_SWITCH_ADAPTER: AaveV3Polygon.WITHDRAW_SWAP_ADAPTER, }, }, @@ -720,7 +720,7 @@ export const marketsData: { UI_POOL_DATA_PROVIDER: AaveV3BNB.UI_POOL_DATA_PROVIDER, UI_INCENTIVE_DATA_PROVIDER: AaveV3BNB.UI_INCENTIVE_DATA_PROVIDER, COLLECTOR: AaveV3BNB.COLLECTOR, - DEBT_SWITCH_ADAPTER: AaveV3BNB.DEBT_SWAP_ADAPTER, + DEBT_SWITCH_ADAPTER: '0x5d4D4007A4c6336550DdAa2a7c0d5e7972eebd16', WITHDRAW_SWITCH_ADAPTER: AaveV3BNB.WITHDRAW_SWAP_ADAPTER, }, },