From 0219fc71ea17c2b10be613d0ed7f485f068aeb65 Mon Sep 17 00:00:00 2001 From: webdev403 Date: Tue, 1 Apr 2025 00:12:00 -0700 Subject: [PATCH 1/2] Fix: Deploy without orderly.network --- src/App.tsx | 316 ++++++++++++++++++++++++++-------------------------- 1 file changed, 158 insertions(+), 158 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index b75865ce3..7b7dafc04 100755 --- a/src/App.tsx +++ b/src/App.tsx @@ -173,164 +173,164 @@ const App: React.FC = () => { queryClient={queryClient} > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {/* */} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {/* */} From cc7ea7630da5e9c71cad03fcda40b74fc404d846 Mon Sep 17 00:00:00 2001 From: webdev403 Date: Wed, 2 Apr 2025 07:16:36 -0700 Subject: [PATCH 2/2] Fix: Remove all instances of ASTAR --- .env | 1 - src/constants/index.ts | 1 - src/hooks/v3/useBestV3Trade.ts | 1 - src/hooks/v3/useGammaData.ts | 2 -- .../containers/SelectFeeTier/index.tsx | 22 ------------------- 5 files changed, 27 deletions(-) diff --git a/.env b/.env index 923c75d58..783f765c1 100644 --- a/.env +++ b/.env @@ -12,7 +12,6 @@ REACT_APP_POLYGON_ZKEVM_URL="https://tokens.coingecko.com/polygon-zkevm/all.json REACT_APP_COINGECKO_MANTA_URL="https://tokens.coingecko.com/manta-pacific/all.json" REACT_APP_COINGECKO_IMMUTABLE_URL="https://tokens.coingecko.com/immutable/all.json" REACT_APP_COINGECKO_DOGE_URL="https://tokens.coingecko.com/dogechain/all.json" -REACT_APP_COINGECKO_ASTAR_URL="https://tokens.coingecko.com/astar/all.json" REACT_APP_COINGECKO_KAVA_URL="https://tokens.coingecko.com/kava/all.json" REACT_APP_COINGECKO_SONEIUM_URL="https://tokens.coingecko.com/soneium/all.json" REACT_APP_COINGECKO_ETHEREUM_URL="https://tokens.coingecko.com/ethereum/all.json" diff --git a/src/constants/index.ts b/src/constants/index.ts index 802264df0..b25bfe568 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -363,7 +363,6 @@ export const SUPPORTED_CHAINIDS = [ ChainId.DOGECHAIN, ChainId.ETHEREUM, ChainId.IMX, - ChainId.ASTARZKEVM, ChainId.ZKATANA, ChainId.TIMX, ChainId.ZKTESTNET, diff --git a/src/hooks/v3/useBestV3Trade.ts b/src/hooks/v3/useBestV3Trade.ts index 51be7623c..047ce88f5 100644 --- a/src/hooks/v3/useBestV3Trade.ts +++ b/src/hooks/v3/useBestV3Trade.ts @@ -21,7 +21,6 @@ export enum V3TradeState { const QUOTE_GAS_OVERRIDES: { [chainId: number]: number } = { [ChainId.ZKEVM]: 20_000_000, - [ChainId.ASTARZKEVM]: 100_000_000, [ChainId.MANTA]: 20_000_000, }; diff --git a/src/hooks/v3/useGammaData.ts b/src/hooks/v3/useGammaData.ts index f3a9bcce1..a68fbb6bb 100644 --- a/src/hooks/v3/useGammaData.ts +++ b/src/hooks/v3/useGammaData.ts @@ -16,8 +16,6 @@ const gammaChainName = (chainId?: ChainId) => { return 'manta'; case ChainId.IMX: return 'immutable-zkevm'; - case ChainId.ASTARZKEVM: - return 'astar-zkevm'; default: return 'polygon'; } diff --git a/src/pages/PoolsPage/v3/SupplyLiquidityV3/containers/SelectFeeTier/index.tsx b/src/pages/PoolsPage/v3/SupplyLiquidityV3/containers/SelectFeeTier/index.tsx index 0da185533..14af22119 100644 --- a/src/pages/PoolsPage/v3/SupplyLiquidityV3/containers/SelectFeeTier/index.tsx +++ b/src/pages/PoolsPage/v3/SupplyLiquidityV3/containers/SelectFeeTier/index.tsx @@ -166,28 +166,6 @@ const SelectFeeTier: React.FC = ({ mintInfo }) => { description: t('bestForExoticPair'), }, ], - [ChainId.ASTARZKEVM]: [ - { - id: 'uni-0.01', - text: '0.01%', - description: t('availableForStablePair'), - }, - { - id: 'uni-0.05', - text: '0.05%', - description: t('highlyLiquidPair'), - }, - { - id: 'uni-0.3', - text: '0.3%', - description: t('bestForMostPair'), - }, - { - id: 'uni-1', - text: '1%', - description: t('bestForExoticPair'), - }, - ], [ChainId.MINATO]: [ { id: 'uni-0.01',