Skip to content

Commit

Permalink
remove cronos and bttc (bittorent) chain (#2551)
Browse files Browse the repository at this point in the history
  • Loading branch information
tienkane authored Oct 21, 2024
1 parent b278c72 commit 285feb1
Show file tree
Hide file tree
Showing 25 changed files with 12 additions and 423 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@holdstation/paymaster-helper": "^2.0.20",
"@kyberswap/ks-sdk-classic": "^1.0.3",
"@kyberswap/ks-sdk-core": "1.1.5",
"@kyberswap/ks-sdk-core": "1.1.6",
"@kyberswap/ks-sdk-elastic": "^1.1.2",
"@kyberswap/oauth2": "1.0.2",
"@lingui/macro": "^4.6.0",
Expand Down Expand Up @@ -200,7 +200,7 @@
"vite-tsconfig-paths": "^4.0.8"
},
"resolutions": {
"@kyberswap/ks-sdk-core": "1.1.5",
"@kyberswap/ks-sdk-core": "1.1.6",
"babel-plugin-lodash/@babel/types": "~7.20.0",
"react-error-overlay": "6.0.9"
}
Expand Down
3 changes: 0 additions & 3 deletions src/assets/images/btt-logo-dark.svg

This file was deleted.

34 changes: 0 additions & 34 deletions src/components/Icons/Bttc.tsx

This file was deleted.

26 changes: 0 additions & 26 deletions src/components/Icons/Cronos.tsx

This file was deleted.

51 changes: 0 additions & 51 deletions src/components/Icons/CronosLogoFull.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/Icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ export { default as Arbitrum } from './Arbitrum'
export { default as Avalanche } from './Avalanche'
export { default as BestPrice } from './BestPrice'
export { default as Binance } from './Binance'
export { default as Bttc } from './Bttc'
export { default as CircleFocus } from './CircleFocus'
export { default as Clock } from './Clock'
export { default as Cronos } from './Cronos'
export { default as CronosLogoFull } from './CronosLogoFull'
export { default as Drop } from './Drop'
export { default as Enter } from './Enter'
export { default as Ethereum } from './Ethereum'
Expand Down
4 changes: 0 additions & 4 deletions src/components/Web3Provider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ import {
arbitrum,
avalanche,
base,
bitTorrent,
blast,
bsc,
cronos,
fantom,
linea,
mainnet,
Expand Down Expand Up @@ -161,8 +159,6 @@ export const wagmiConfig = createConfig({
fantom,
blast,
xLayer,
cronos,
bitTorrent,
],
connectors: [
injectedWithFallback(),
Expand Down
2 changes: 0 additions & 2 deletions src/constants/bases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ const WETH_ONLY: ChainTokenList = {
[ChainId.AVAXTESTNET]: [WETH[ChainId.AVAXTESTNET]],
[ChainId.AVAXMAINNET]: [WETH[ChainId.AVAXMAINNET]],
[ChainId.FANTOM]: [WETH[ChainId.FANTOM]],
[ChainId.CRONOS]: [WETH[ChainId.CRONOS]],
[ChainId.BTTC]: [WETH[ChainId.BTTC]],
[ChainId.ARBITRUM]: [WETH[ChainId.ARBITRUM]],
[ChainId.OPTIMISM]: [WETH[ChainId.OPTIMISM]],
[ChainId.ZKSYNC]: [WETH[ChainId.ZKSYNC]],
Expand Down
2 changes: 1 addition & 1 deletion src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const TRANSACTION_STATE_DEFAULT: TransactionFlowState = {
pendingText: '',
}

export const CHAINS_SUPPORT_FEE_CONFIGS = [ChainId.CRONOS]
export const CHAINS_SUPPORT_FEE_CONFIGS: ChainId[] = []
export const CHAINS_SUPPORT_CROSS_CHAIN =
ENV.ENV_KEY === ENV.EnvKeys.PROD || ENV.ENV_KEY === ENV.EnvKeys.STG
? [
Expand Down
Loading

0 comments on commit 285feb1

Please sign in to comment.