Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove cronos and bttc (bittorent) chain #2551

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading