Skip to content

Commit d994589

Browse files
committed
feat: turn on mainnet for adapters debt and repay
1 parent 209742e commit d994589

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/components/transactions/Swap/constants/cow.constants.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,13 @@ export const DUST_PROTECTION_MULTIPLIER = 1.001;
6565
export const COW_UNSUPPORTED_ASSETS: Partial<
6666
Record<SwapType | 'ALL', Partial<Record<SupportedChainId, string[] | 'ALL'>>>
6767
> = {
68-
// For adapters we start supporting only base
6968
[SwapType.DebtSwap]: {
70-
[SupportedChainId.MAINNET]: 'ALL',
7169
[SupportedChainId.SEPOLIA]: 'ALL',
72-
// Base is supported
7370
},
7471
[SwapType.CollateralSwap]: {
7572
[SupportedChainId.SEPOLIA]: 'ALL',
7673
},
7774
[SwapType.RepayWithCollateral]: {
78-
[SupportedChainId.MAINNET]: 'ALL',
7975
[SupportedChainId.SEPOLIA]: 'ALL',
8076
},
8177

@@ -116,6 +112,11 @@ export const COW_UNSUPPORTED_ASSETS: Partial<
116112
[SupportedChainId.SEPOLIA]: [
117113
'0xd190eF37dB51Bb955A680fF1A85763CC72d083D4'.toLowerCase(), // aGHO not supported
118114
],
115+
116+
// Safe checks, not supported
117+
[SupportedChainId.LENS]: 'ALL',
118+
[SupportedChainId.LINEA]: 'ALL',
119+
[SupportedChainId.PLASMA]: 'ALL',
119120
},
120121
};
121122

0 commit comments

Comments
 (0)