Skip to content

Commit baaeada

Browse files
committed
turn on all
1 parent efa0b48 commit baaeada

File tree

1 file changed

+67
-67
lines changed

1 file changed

+67
-67
lines changed

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

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -49,74 +49,74 @@ export const HOOK_ADAPTER_PER_TYPE: Record<AaveFlashLoanType, Record<SupportedCh
4949
export const COW_UNSUPPORTED_ASSETS: Partial<
5050
Record<SwapType | 'ALL', Partial<Record<SupportedChainId, string[] | 'ALL'>>>
5151
> = {
52-
// For adapters we start supporting only base
53-
[SwapType.DebtSwap]: {
54-
[SupportedChainId.ARBITRUM_ONE]: 'ALL',
55-
[SupportedChainId.AVALANCHE]: 'ALL',
56-
[SupportedChainId.BNB]: 'ALL',
57-
[SupportedChainId.GNOSIS_CHAIN]: 'ALL',
58-
[SupportedChainId.MAINNET]: 'ALL',
59-
[SupportedChainId.POLYGON]: 'ALL',
60-
[SupportedChainId.SEPOLIA]: 'ALL',
61-
// Base is supported
62-
},
63-
[SwapType.CollateralSwap]: {
64-
[SupportedChainId.ARBITRUM_ONE]: 'ALL',
65-
[SupportedChainId.AVALANCHE]: 'ALL',
66-
[SupportedChainId.BNB]: 'ALL',
67-
[SupportedChainId.GNOSIS_CHAIN]: 'ALL',
68-
[SupportedChainId.MAINNET]: 'ALL',
69-
[SupportedChainId.POLYGON]: 'ALL',
70-
[SupportedChainId.SEPOLIA]: 'ALL',
71-
// Base is supported
72-
},
73-
[SwapType.RepayWithCollateral]: {
74-
[SupportedChainId.ARBITRUM_ONE]: 'ALL',
75-
[SupportedChainId.AVALANCHE]: 'ALL',
76-
[SupportedChainId.BNB]: 'ALL',
77-
[SupportedChainId.GNOSIS_CHAIN]: 'ALL',
78-
[SupportedChainId.MAINNET]: 'ALL',
79-
[SupportedChainId.POLYGON]: 'ALL',
80-
[SupportedChainId.SEPOLIA]: 'ALL',
81-
// Base is supported
82-
},
52+
// // For adapters we start supporting only base
53+
// [SwapType.DebtSwap]: {
54+
// [SupportedChainId.ARBITRUM_ONE]: 'ALL',
55+
// [SupportedChainId.AVALANCHE]: 'ALL',
56+
// [SupportedChainId.BNB]: 'ALL',
57+
// [SupportedChainId.GNOSIS_CHAIN]: 'ALL',
58+
// [SupportedChainId.MAINNET]: 'ALL',
59+
// [SupportedChainId.POLYGON]: 'ALL',
60+
// [SupportedChainId.SEPOLIA]: 'ALL',
61+
// // Base is supported
62+
// },
63+
// [SwapType.CollateralSwap]: {
64+
// [SupportedChainId.ARBITRUM_ONE]: 'ALL',
65+
// [SupportedChainId.AVALANCHE]: 'ALL',
66+
// [SupportedChainId.BNB]: 'ALL',
67+
// [SupportedChainId.GNOSIS_CHAIN]: 'ALL',
68+
// [SupportedChainId.MAINNET]: 'ALL',
69+
// [SupportedChainId.POLYGON]: 'ALL',
70+
// [SupportedChainId.SEPOLIA]: 'ALL',
71+
// // Base is supported
72+
// },
73+
// [SwapType.RepayWithCollateral]: {
74+
// [SupportedChainId.ARBITRUM_ONE]: 'ALL',
75+
// [SupportedChainId.AVALANCHE]: 'ALL',
76+
// [SupportedChainId.BNB]: 'ALL',
77+
// [SupportedChainId.GNOSIS_CHAIN]: 'ALL',
78+
// [SupportedChainId.MAINNET]: 'ALL',
79+
// [SupportedChainId.POLYGON]: 'ALL',
80+
// [SupportedChainId.SEPOLIA]: 'ALL',
81+
// // Base is supported
82+
// },
8383

84-
// Specific assets that are not supported for certain chains across all swap types
85-
['ALL']: {
86-
[SupportedChainId.POLYGON]: [
87-
'0x8eb270e296023e9d92081fdf967ddd7878724424'.toLowerCase(), // aPOLGHST not supported
88-
'0x38d693ce1df5aadf7bc62595a37d667ad57922e5'.toLowerCase(), // aPolEURS not supported
89-
'0xea1132120ddcdda2f119e99fa7a27a0d036f7ac9'.toLowerCase(), // aPolSTMATIC not supported
90-
'0x6533afac2e7bccb20dca161449a13a32d391fb00'.toLowerCase(), // aPolJEUR not supported
91-
'0x513c7e3a9c69ca3e22550ef58ac1c0088e918fff'.toLowerCase(), // aPolCRV not supported
92-
'0xebe517846d0f36eced99c735cbf6131e1feb775d'.toLowerCase(), // aPolMIMATIC not supported
93-
'0xc45a479877e1e9dfe9fcd4056c699575a1045daa'.toLowerCase(), // aPolSUSHI not supported
94-
'0x8437d7c167dfb82ed4cb79cd44b7a32a1dd95c77'.toLowerCase(), // aPolAGEUR not supported
95-
'0x724dc807b04555b71ed48a6896b6f41593b8c637'.toLowerCase(), // aPolDPI not supported
96-
'0x8ffdf2de812095b1d19cb146e4c004587c0a0692'.toLowerCase(), // aPolBAL not supported
97-
],
98-
[SupportedChainId.AVALANCHE]: [
99-
'0x8eb270e296023e9d92081fdf967ddd7878724424'.toLowerCase(), // AVaMAI not supported
100-
'0x078f358208685046a11c85e8ad32895ded33a249'.toLowerCase(), // aVaWBTC not supported
101-
'0xc45a479877e1e9dfe9fcd4056c699575a1045daa'.toLowerCase(), // aVaFRAX not supported
102-
],
103-
[SupportedChainId.GNOSIS_CHAIN]: [
104-
'0xedbc7449a9b594ca4e053d9737ec5dc4cbccbfb2'.toLowerCase(), // EURe USD Price not supported
105-
],
106-
[SupportedChainId.ARBITRUM_ONE]: [
107-
'0x62fC96b27a510cF4977B59FF952Dc32378Cc221d'.toLowerCase(), // atBTC does not have good solver liquidity
108-
],
109-
[SupportedChainId.BASE]: [
110-
'0x90072A4aA69B5Eb74984Ab823EFC5f91e90b3a72'.toLowerCase(), // alBTC does not have good solver liquidity
111-
],
112-
[SupportedChainId.MAINNET]: [
113-
'0x00907f9921424583e7ffBfEdf84F92B7B2Be4977'.toLowerCase(), // aGHO not supported
114-
'0x18eFE565A5373f430e2F809b97De30335B3ad96A'.toLowerCase(), // aGHO not supported
115-
],
116-
[SupportedChainId.SEPOLIA]: [
117-
'0xd190eF37dB51Bb955A680fF1A85763CC72d083D4'.toLowerCase(), // aGHO not supported
118-
],
119-
},
84+
// // Specific assets that are not supported for certain chains across all swap types
85+
// ['ALL']: {
86+
// [SupportedChainId.POLYGON]: [
87+
// '0x8eb270e296023e9d92081fdf967ddd7878724424'.toLowerCase(), // aPOLGHST not supported
88+
// '0x38d693ce1df5aadf7bc62595a37d667ad57922e5'.toLowerCase(), // aPolEURS not supported
89+
// '0xea1132120ddcdda2f119e99fa7a27a0d036f7ac9'.toLowerCase(), // aPolSTMATIC not supported
90+
// '0x6533afac2e7bccb20dca161449a13a32d391fb00'.toLowerCase(), // aPolJEUR not supported
91+
// '0x513c7e3a9c69ca3e22550ef58ac1c0088e918fff'.toLowerCase(), // aPolCRV not supported
92+
// '0xebe517846d0f36eced99c735cbf6131e1feb775d'.toLowerCase(), // aPolMIMATIC not supported
93+
// '0xc45a479877e1e9dfe9fcd4056c699575a1045daa'.toLowerCase(), // aPolSUSHI not supported
94+
// '0x8437d7c167dfb82ed4cb79cd44b7a32a1dd95c77'.toLowerCase(), // aPolAGEUR not supported
95+
// '0x724dc807b04555b71ed48a6896b6f41593b8c637'.toLowerCase(), // aPolDPI not supported
96+
// '0x8ffdf2de812095b1d19cb146e4c004587c0a0692'.toLowerCase(), // aPolBAL not supported
97+
// ],
98+
// [SupportedChainId.AVALANCHE]: [
99+
// '0x8eb270e296023e9d92081fdf967ddd7878724424'.toLowerCase(), // AVaMAI not supported
100+
// '0x078f358208685046a11c85e8ad32895ded33a249'.toLowerCase(), // aVaWBTC not supported
101+
// '0xc45a479877e1e9dfe9fcd4056c699575a1045daa'.toLowerCase(), // aVaFRAX not supported
102+
// ],
103+
// [SupportedChainId.GNOSIS_CHAIN]: [
104+
// '0xedbc7449a9b594ca4e053d9737ec5dc4cbccbfb2'.toLowerCase(), // EURe USD Price not supported
105+
// ],
106+
// [SupportedChainId.ARBITRUM_ONE]: [
107+
// '0x62fC96b27a510cF4977B59FF952Dc32378Cc221d'.toLowerCase(), // atBTC does not have good solver liquidity
108+
// ],
109+
// [SupportedChainId.BASE]: [
110+
// '0x90072A4aA69B5Eb74984Ab823EFC5f91e90b3a72'.toLowerCase(), // alBTC does not have good solver liquidity
111+
// ],
112+
// [SupportedChainId.MAINNET]: [
113+
// '0x00907f9921424583e7ffBfEdf84F92B7B2Be4977'.toLowerCase(), // aGHO not supported
114+
// '0x18eFE565A5373f430e2F809b97De30335B3ad96A'.toLowerCase(), // aGHO not supported
115+
// ],
116+
// [SupportedChainId.SEPOLIA]: [
117+
// '0xd190eF37dB51Bb955A680fF1A85763CC72d083D4'.toLowerCase(), // aGHO not supported
118+
// ],
119+
// },
120120
};
121121

122122
export const CoWProtocolSupportedNetworks = [

0 commit comments

Comments
 (0)