Skip to content

Commit 55ce0ed

Browse files
committed
turn on all
1 parent 453884e commit 55ce0ed

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
@@ -65,74 +65,74 @@ 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
69-
[SwapType.DebtSwap]: {
70-
[SupportedChainId.ARBITRUM_ONE]: 'ALL',
71-
[SupportedChainId.AVALANCHE]: 'ALL',
72-
[SupportedChainId.BNB]: 'ALL',
73-
[SupportedChainId.GNOSIS_CHAIN]: 'ALL',
74-
[SupportedChainId.MAINNET]: 'ALL',
75-
[SupportedChainId.POLYGON]: 'ALL',
76-
[SupportedChainId.SEPOLIA]: 'ALL',
77-
// Base is supported
78-
},
79-
[SwapType.CollateralSwap]: {
80-
[SupportedChainId.ARBITRUM_ONE]: 'ALL',
81-
[SupportedChainId.AVALANCHE]: 'ALL',
82-
[SupportedChainId.BNB]: 'ALL',
83-
[SupportedChainId.GNOSIS_CHAIN]: 'ALL',
84-
[SupportedChainId.MAINNET]: 'ALL',
85-
[SupportedChainId.POLYGON]: 'ALL',
86-
[SupportedChainId.SEPOLIA]: 'ALL',
87-
// Base is supported
88-
},
89-
[SwapType.RepayWithCollateral]: {
90-
[SupportedChainId.ARBITRUM_ONE]: 'ALL',
91-
[SupportedChainId.AVALANCHE]: 'ALL',
92-
[SupportedChainId.BNB]: 'ALL',
93-
[SupportedChainId.GNOSIS_CHAIN]: 'ALL',
94-
[SupportedChainId.MAINNET]: 'ALL',
95-
[SupportedChainId.POLYGON]: 'ALL',
96-
[SupportedChainId.SEPOLIA]: 'ALL',
97-
// Base is supported
98-
},
68+
// // For adapters we start supporting only base
69+
// [SwapType.DebtSwap]: {
70+
// [SupportedChainId.ARBITRUM_ONE]: 'ALL',
71+
// [SupportedChainId.AVALANCHE]: 'ALL',
72+
// [SupportedChainId.BNB]: 'ALL',
73+
// [SupportedChainId.GNOSIS_CHAIN]: 'ALL',
74+
// [SupportedChainId.MAINNET]: 'ALL',
75+
// [SupportedChainId.POLYGON]: 'ALL',
76+
// [SupportedChainId.SEPOLIA]: 'ALL',
77+
// // Base is supported
78+
// },
79+
// [SwapType.CollateralSwap]: {
80+
// [SupportedChainId.ARBITRUM_ONE]: 'ALL',
81+
// [SupportedChainId.AVALANCHE]: 'ALL',
82+
// [SupportedChainId.BNB]: 'ALL',
83+
// [SupportedChainId.GNOSIS_CHAIN]: 'ALL',
84+
// [SupportedChainId.MAINNET]: 'ALL',
85+
// [SupportedChainId.POLYGON]: 'ALL',
86+
// [SupportedChainId.SEPOLIA]: 'ALL',
87+
// // Base is supported
88+
// },
89+
// [SwapType.RepayWithCollateral]: {
90+
// [SupportedChainId.ARBITRUM_ONE]: 'ALL',
91+
// [SupportedChainId.AVALANCHE]: 'ALL',
92+
// [SupportedChainId.BNB]: 'ALL',
93+
// [SupportedChainId.GNOSIS_CHAIN]: 'ALL',
94+
// [SupportedChainId.MAINNET]: 'ALL',
95+
// [SupportedChainId.POLYGON]: 'ALL',
96+
// [SupportedChainId.SEPOLIA]: 'ALL',
97+
// // Base is supported
98+
// },
9999

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

138138
export const CoWProtocolSupportedNetworks = [

0 commit comments

Comments
 (0)