From e38c1496cc50fcd838a6e370fed9a93444f90b36 Mon Sep 17 00:00:00 2001 From: miguelmtz <36620902+miguelmtzinf@users.noreply.github.com> Date: Wed, 28 Aug 2024 09:31:02 +0200 Subject: [PATCH] fix: disable collateral repay feature [skip cypress] (#2168) --- src/ui-config/marketsConfig.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/ui-config/marketsConfig.tsx b/src/ui-config/marketsConfig.tsx index d10e790e71..e4c8c72a89 100644 --- a/src/ui-config/marketsConfig.tsx +++ b/src/ui-config/marketsConfig.tsx @@ -120,7 +120,7 @@ export const marketsData: { governance: true, staking: true, liquiditySwap: true, - collateralRepay: true, + collateralRepay: false, incentives: true, withdrawAndSwitch: true, debtSwitch: true, @@ -152,7 +152,7 @@ export const marketsData: { governance: true, staking: true, liquiditySwap: true, - collateralRepay: true, + collateralRepay: false, incentives: true, withdrawAndSwitch: true, debtSwitch: false, @@ -180,7 +180,7 @@ export const marketsData: { governance: true, staking: true, liquiditySwap: true, - collateralRepay: true, + collateralRepay: false, incentives: true, debtSwitch: true, switch: true, @@ -205,7 +205,7 @@ export const marketsData: { // chainId: ChainId.mainnet, // enabledFeatures: { // // liquiditySwap: true, - // // collateralRepay: true, + // // collateralRepay: false, // // incentives: true, // permissions: true, // }, @@ -244,7 +244,7 @@ export const marketsData: { enabledFeatures: { liquiditySwap: true, incentives: true, - collateralRepay: true, + collateralRepay: false, debtSwitch: true, }, subgraphUrl: `https://gateway-arbitrum.network.thegraph.com/api/${apiKey}/subgraphs/id/H1Et77RZh3XEf27vkAmJyzgCME2RSFLtDS2f4PPW6CGp`, @@ -269,7 +269,7 @@ export const marketsData: { enabledFeatures: { liquiditySwap: true, incentives: true, - collateralRepay: true, + collateralRepay: false, debtSwitch: true, switch: true, }, @@ -318,7 +318,7 @@ export const marketsData: { incentives: true, liquiditySwap: true, withdrawAndSwitch: true, - collateralRepay: true, + collateralRepay: false, debtSwitch: true, switch: true, }, @@ -365,7 +365,7 @@ export const marketsData: { enabledFeatures: { incentives: true, liquiditySwap: true, - collateralRepay: true, + collateralRepay: false, debtSwitch: true, withdrawAndSwitch: true, switch: true, @@ -413,7 +413,7 @@ export const marketsData: { enabledFeatures: { liquiditySwap: true, incentives: true, - collateralRepay: true, + collateralRepay: false, debtSwitch: true, withdrawAndSwitch: true, switch: true, @@ -497,7 +497,7 @@ export const marketsData: { chainId: ChainId.fantom, enabledFeatures: { incentives: true, - collateralRepay: true, + collateralRepay: false, liquiditySwap: true, }, subgraphUrl: `https://gateway-arbitrum.network.thegraph.com/api/${apiKey}/subgraphs/id/6L1vPqyE3xvkzkWjh6wUKc1ABWYYps5HJahoxhrv2PJn`, @@ -558,7 +558,7 @@ export const marketsData: { chainId: ChainId.optimism, enabledFeatures: { incentives: true, - collateralRepay: true, + collateralRepay: false, liquiditySwap: true, debtSwitch: true, withdrawAndSwitch: true, @@ -588,7 +588,7 @@ export const marketsData: { enabledFeatures: { liquiditySwap: true, incentives: true, - collateralRepay: true, + collateralRepay: false, debtSwitch: true, withdrawAndSwitch: true, switch: true, @@ -671,7 +671,7 @@ export const marketsData: { subgraphUrl: `https://gateway-arbitrum.network.thegraph.com/api/${apiKey}/subgraphs/id/7Jk85XgkV1MQ7u56hD8rr65rfASbayJXopugWkUoBMnZ`, enabledFeatures: { liquiditySwap: true, - collateralRepay: true, + collateralRepay: false, debtSwitch: true, withdrawAndSwitch: true, switch: true,