Skip to content

Commit 4d82ed8

Browse files
authored
feat: debt swith adapters [skip cypress] (#2259)
1 parent 29a44cc commit 4d82ed8

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"dependencies": {
3434
"@aave/contract-helpers": "1.30.5",
3535
"@aave/math-utils": "1.30.5",
36-
"@bgd-labs/aave-address-book": "4.4.0",
36+
"@bgd-labs/aave-address-book": "4.5.0",
3737
"@emotion/cache": "11.10.3",
3838
"@emotion/react": "11.10.4",
3939
"@emotion/server": "latest",

src/ui-config/marketsConfig.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export const marketsData: {
151151
collateralRepay: true,
152152
incentives: true,
153153
withdrawAndSwitch: true,
154-
debtSwitch: false,
154+
debtSwitch: true,
155155
switch: true,
156156
},
157157
subgraphUrl: `https://gateway-arbitrum.network.thegraph.com/api/${apiKey}/subgraphs/id/5vxMbXRhG1oQr55MWC5j6qg78waWujx1wjeuEWDA6j3`,
@@ -166,6 +166,7 @@ export const marketsData: {
166166
UI_INCENTIVE_DATA_PROVIDER: AaveV3EthereumLido.UI_INCENTIVE_DATA_PROVIDER,
167167
COLLECTOR: AaveV3Ethereum.COLLECTOR,
168168
WITHDRAW_SWITCH_ADAPTER: AaveV3EthereumLido.WITHDRAW_SWAP_ADAPTER,
169+
DEBT_SWITCH_ADAPTER: AaveV3EthereumLido.DEBT_SWAP_ADAPTER,
169170
},
170171
},
171172
[CustomMarket.proto_etherfi_v3]: {
@@ -181,7 +182,7 @@ export const marketsData: {
181182
collateralRepay: true,
182183
incentives: true,
183184
withdrawAndSwitch: true,
184-
debtSwitch: false,
185+
debtSwitch: true,
185186
switch: false,
186187
},
187188
subgraphUrl: `https://gateway-arbitrum.network.thegraph.com/api/${apiKey}/subgraphs/id/8o4HGApJkAqnvxAHShG4w5xiXihHyL7HkeDdQdRUYmqZ`,
@@ -196,6 +197,7 @@ export const marketsData: {
196197
UI_INCENTIVE_DATA_PROVIDER: AaveV3EthereumEtherFi.UI_INCENTIVE_DATA_PROVIDER,
197198
COLLECTOR: AaveV3EthereumEtherFi.COLLECTOR,
198199
WITHDRAW_SWITCH_ADAPTER: AaveV3EthereumEtherFi.WITHDRAW_SWAP_ADAPTER,
200+
DEBT_SWITCH_ADAPTER: AaveV3EthereumEtherFi.DEBT_SWAP_ADAPTER,
199201
},
200202
},
201203
[CustomMarket.proto_mainnet]: {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1317,10 +1317,10 @@
13171317
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
13181318
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
13191319

1320-
"@bgd-labs/aave-address-book@4.4.0":
1321-
version "4.4.0"
1322-
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.4.0.tgz#9afc34ff87a4f1d32af39f5df1c3b52f5d78b129"
1323-
integrity sha512-wEWhdTpqy6PwB3Dc772nX1lF1dQr9qmnmKJHcYKpP/VFBYztxunoZS/c26iKH4SP/DRXwDnMbZcnRkebC73bDA==
1320+
"@bgd-labs/aave-address-book@4.5.0":
1321+
version "4.5.0"
1322+
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-4.5.0.tgz#bc844a2518b1d09fa53b71343f95ee1a6a66821c"
1323+
integrity sha512-PqG1FIC6pK/dNYX+eIsyENj+aLGMcBNFqUUjA6wJ4OJHKfCpKoD1l+5wJzvvYku9CrLRadZ0j690ARa0lTbUBg==
13241324

13251325
"@coinbase/[email protected]", "@coinbase/wallet-sdk@^3.0.4":
13261326
version "3.1.0"

0 commit comments

Comments
 (0)