Skip to content

Commit 22033a2

Browse files
committed
turn on all
1 parent e55c49c commit 22033a2

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
@@ -63,74 +63,74 @@ export const ADAPTER_FACTORY: Record<SupportedChainId, string> = {
6363
export const COW_UNSUPPORTED_ASSETS: Partial<
6464
Record<SwapType | 'ALL', Partial<Record<SupportedChainId, string[] | 'ALL'>>>
6565
> = {
66-
// For adapters we start supporting only base
67-
[SwapType.DebtSwap]: {
68-
[SupportedChainId.ARBITRUM_ONE]: 'ALL',
69-
[SupportedChainId.AVALANCHE]: 'ALL',
70-
[SupportedChainId.BNB]: 'ALL',
71-
[SupportedChainId.GNOSIS_CHAIN]: 'ALL',
72-
[SupportedChainId.MAINNET]: 'ALL',
73-
[SupportedChainId.POLYGON]: 'ALL',
74-
[SupportedChainId.SEPOLIA]: 'ALL',
75-
// Base is supported
76-
},
77-
[SwapType.CollateralSwap]: {
78-
[SupportedChainId.ARBITRUM_ONE]: 'ALL',
79-
[SupportedChainId.AVALANCHE]: 'ALL',
80-
[SupportedChainId.BNB]: 'ALL',
81-
[SupportedChainId.GNOSIS_CHAIN]: 'ALL',
82-
[SupportedChainId.MAINNET]: 'ALL',
83-
[SupportedChainId.POLYGON]: 'ALL',
84-
[SupportedChainId.SEPOLIA]: 'ALL',
85-
// Base is supported
86-
},
87-
[SwapType.RepayWithCollateral]: {
88-
[SupportedChainId.ARBITRUM_ONE]: 'ALL',
89-
[SupportedChainId.AVALANCHE]: 'ALL',
90-
[SupportedChainId.BNB]: 'ALL',
91-
[SupportedChainId.GNOSIS_CHAIN]: 'ALL',
92-
[SupportedChainId.MAINNET]: 'ALL',
93-
[SupportedChainId.POLYGON]: 'ALL',
94-
[SupportedChainId.SEPOLIA]: 'ALL',
95-
// Base is supported
96-
},
66+
// // For adapters we start supporting only base
67+
// [SwapType.DebtSwap]: {
68+
// [SupportedChainId.ARBITRUM_ONE]: 'ALL',
69+
// [SupportedChainId.AVALANCHE]: 'ALL',
70+
// [SupportedChainId.BNB]: 'ALL',
71+
// [SupportedChainId.GNOSIS_CHAIN]: 'ALL',
72+
// [SupportedChainId.MAINNET]: 'ALL',
73+
// [SupportedChainId.POLYGON]: 'ALL',
74+
// [SupportedChainId.SEPOLIA]: 'ALL',
75+
// // Base is supported
76+
// },
77+
// [SwapType.CollateralSwap]: {
78+
// [SupportedChainId.ARBITRUM_ONE]: 'ALL',
79+
// [SupportedChainId.AVALANCHE]: 'ALL',
80+
// [SupportedChainId.BNB]: 'ALL',
81+
// [SupportedChainId.GNOSIS_CHAIN]: 'ALL',
82+
// [SupportedChainId.MAINNET]: 'ALL',
83+
// [SupportedChainId.POLYGON]: 'ALL',
84+
// [SupportedChainId.SEPOLIA]: 'ALL',
85+
// // Base is supported
86+
// },
87+
// [SwapType.RepayWithCollateral]: {
88+
// [SupportedChainId.ARBITRUM_ONE]: 'ALL',
89+
// [SupportedChainId.AVALANCHE]: 'ALL',
90+
// [SupportedChainId.BNB]: 'ALL',
91+
// [SupportedChainId.GNOSIS_CHAIN]: 'ALL',
92+
// [SupportedChainId.MAINNET]: 'ALL',
93+
// [SupportedChainId.POLYGON]: 'ALL',
94+
// [SupportedChainId.SEPOLIA]: 'ALL',
95+
// // Base is supported
96+
// },
9797

98-
// Specific assets that are not supported for certain chains across all swap types
99-
['ALL']: {
100-
[SupportedChainId.POLYGON]: [
101-
'0x8eb270e296023e9d92081fdf967ddd7878724424'.toLowerCase(), // aPOLGHST not supported
102-
'0x38d693ce1df5aadf7bc62595a37d667ad57922e5'.toLowerCase(), // aPolEURS not supported
103-
'0xea1132120ddcdda2f119e99fa7a27a0d036f7ac9'.toLowerCase(), // aPolSTMATIC not supported
104-
'0x6533afac2e7bccb20dca161449a13a32d391fb00'.toLowerCase(), // aPolJEUR not supported
105-
'0x513c7e3a9c69ca3e22550ef58ac1c0088e918fff'.toLowerCase(), // aPolCRV not supported
106-
'0xebe517846d0f36eced99c735cbf6131e1feb775d'.toLowerCase(), // aPolMIMATIC not supported
107-
'0xc45a479877e1e9dfe9fcd4056c699575a1045daa'.toLowerCase(), // aPolSUSHI not supported
108-
'0x8437d7c167dfb82ed4cb79cd44b7a32a1dd95c77'.toLowerCase(), // aPolAGEUR not supported
109-
'0x724dc807b04555b71ed48a6896b6f41593b8c637'.toLowerCase(), // aPolDPI not supported
110-
'0x8ffdf2de812095b1d19cb146e4c004587c0a0692'.toLowerCase(), // aPolBAL not supported
111-
],
112-
[SupportedChainId.AVALANCHE]: [
113-
'0x8eb270e296023e9d92081fdf967ddd7878724424'.toLowerCase(), // AVaMAI not supported
114-
'0x078f358208685046a11c85e8ad32895ded33a249'.toLowerCase(), // aVaWBTC not supported
115-
'0xc45a479877e1e9dfe9fcd4056c699575a1045daa'.toLowerCase(), // aVaFRAX not supported
116-
],
117-
[SupportedChainId.GNOSIS_CHAIN]: [
118-
'0xedbc7449a9b594ca4e053d9737ec5dc4cbccbfb2'.toLowerCase(), // EURe USD Price not supported
119-
],
120-
[SupportedChainId.ARBITRUM_ONE]: [
121-
'0x62fC96b27a510cF4977B59FF952Dc32378Cc221d'.toLowerCase(), // atBTC does not have good solver liquidity
122-
],
123-
[SupportedChainId.BASE]: [
124-
'0x90072A4aA69B5Eb74984Ab823EFC5f91e90b3a72'.toLowerCase(), // alBTC does not have good solver liquidity
125-
],
126-
[SupportedChainId.MAINNET]: [
127-
'0x00907f9921424583e7ffBfEdf84F92B7B2Be4977'.toLowerCase(), // aGHO not supported
128-
'0x18eFE565A5373f430e2F809b97De30335B3ad96A'.toLowerCase(), // aGHO not supported
129-
],
130-
[SupportedChainId.SEPOLIA]: [
131-
'0xd190eF37dB51Bb955A680fF1A85763CC72d083D4'.toLowerCase(), // aGHO not supported
132-
],
133-
},
98+
// // Specific assets that are not supported for certain chains across all swap types
99+
// ['ALL']: {
100+
// [SupportedChainId.POLYGON]: [
101+
// '0x8eb270e296023e9d92081fdf967ddd7878724424'.toLowerCase(), // aPOLGHST not supported
102+
// '0x38d693ce1df5aadf7bc62595a37d667ad57922e5'.toLowerCase(), // aPolEURS not supported
103+
// '0xea1132120ddcdda2f119e99fa7a27a0d036f7ac9'.toLowerCase(), // aPolSTMATIC not supported
104+
// '0x6533afac2e7bccb20dca161449a13a32d391fb00'.toLowerCase(), // aPolJEUR not supported
105+
// '0x513c7e3a9c69ca3e22550ef58ac1c0088e918fff'.toLowerCase(), // aPolCRV not supported
106+
// '0xebe517846d0f36eced99c735cbf6131e1feb775d'.toLowerCase(), // aPolMIMATIC not supported
107+
// '0xc45a479877e1e9dfe9fcd4056c699575a1045daa'.toLowerCase(), // aPolSUSHI not supported
108+
// '0x8437d7c167dfb82ed4cb79cd44b7a32a1dd95c77'.toLowerCase(), // aPolAGEUR not supported
109+
// '0x724dc807b04555b71ed48a6896b6f41593b8c637'.toLowerCase(), // aPolDPI not supported
110+
// '0x8ffdf2de812095b1d19cb146e4c004587c0a0692'.toLowerCase(), // aPolBAL not supported
111+
// ],
112+
// [SupportedChainId.AVALANCHE]: [
113+
// '0x8eb270e296023e9d92081fdf967ddd7878724424'.toLowerCase(), // AVaMAI not supported
114+
// '0x078f358208685046a11c85e8ad32895ded33a249'.toLowerCase(), // aVaWBTC not supported
115+
// '0xc45a479877e1e9dfe9fcd4056c699575a1045daa'.toLowerCase(), // aVaFRAX not supported
116+
// ],
117+
// [SupportedChainId.GNOSIS_CHAIN]: [
118+
// '0xedbc7449a9b594ca4e053d9737ec5dc4cbccbfb2'.toLowerCase(), // EURe USD Price not supported
119+
// ],
120+
// [SupportedChainId.ARBITRUM_ONE]: [
121+
// '0x62fC96b27a510cF4977B59FF952Dc32378Cc221d'.toLowerCase(), // atBTC does not have good solver liquidity
122+
// ],
123+
// [SupportedChainId.BASE]: [
124+
// '0x90072A4aA69B5Eb74984Ab823EFC5f91e90b3a72'.toLowerCase(), // alBTC does not have good solver liquidity
125+
// ],
126+
// [SupportedChainId.MAINNET]: [
127+
// '0x00907f9921424583e7ffBfEdf84F92B7B2Be4977'.toLowerCase(), // aGHO not supported
128+
// '0x18eFE565A5373f430e2F809b97De30335B3ad96A'.toLowerCase(), // aGHO not supported
129+
// ],
130+
// [SupportedChainId.SEPOLIA]: [
131+
// '0xd190eF37dB51Bb955A680fF1A85763CC72d083D4'.toLowerCase(), // aGHO not supported
132+
// ],
133+
// },
134134
};
135135

136136
export const CoWProtocolSupportedNetworks = [

0 commit comments

Comments
 (0)