From 095b5ca671f16a601cae4922ab8d8d10a84f70c3 Mon Sep 17 00:00:00 2001 From: damilola Date: Mon, 6 May 2024 07:21:34 +0100 Subject: [PATCH 1/3] working on changes --- README.md | 2 +- package.json | 8 +- public/index.html | 127 +- src/components/Farming/Modals/Filter.tsx | 81 +- src/components/G-analytics/gIndex.ts | 205 +- src/components/MarketFreeDropdown.tsx | 151 +- .../TransactionStateModal.tsx | 312 +- src/components/Navbar/MobileNavDrawer.tsx | 114 +- src/components/Navbar/SocialMedia.tsx | 54 +- src/components/Navbar/SwapDropdown.tsx | 336 +- src/components/Navbar/UnsupportNetwork.tsx | 280 +- src/constants/chains.ts | 17 +- src/constants/index.ts | 1 - src/hooks/useSwap.ts | 18 +- .../AddLquidityInputs/InputCurrency.tsx | 134 +- .../AddLquidityInputs/OutputCurrecy.tsx | 194 +- src/pages/AddLiquidity/index.tsx | 3 - src/pages/FarmingV2/ShowNewFarm.tsx | 5181 +++++++++-------- .../FarmingV2/ShowProductFarmDetails.tsx | 891 +-- src/pages/FarmingV2/ShowYieldFarmDetails.tsx | 1142 ++-- src/pages/FarmingV2/YieldFarm.tsx | 16 - src/pages/FarmingV2/index.tsx | 8 - src/pages/Nft/Modals/ComfirmPurchase.tsx | 711 +-- src/pages/Nft/ViewNFT.tsx | 396 +- src/pages/Swap/AutoTime.tsx | 1956 ++++--- src/pages/Swap/InstantSwap.tsx | 1531 +++-- src/pages/Swap/SetPrice.tsx | 1060 ++-- src/pages/Swap/components/history/History.tsx | 485 +- .../Swap/components/history/MarketHistory.tsx | 266 +- .../components/history/TransactionHistory.tsx | 466 +- src/pages/index/index.tsx | 1321 +++-- src/state/lists/hooks.ts | 203 +- src/utils/addresses.ts | 137 +- .../rigelprotocol-default.tokenList.json | 27 +- src/utils/hooks/useAccountHistory.ts | 869 +-- src/utils/hooks/useMarketHistory.ts | 577 +- src/utils/hooks/useOpenOrders.ts | 517 +- src/utils/main-token.json | 10 +- src/utils/utilsFunctions.ts | 6 +- yarn.lock | 8 + 40 files changed, 10664 insertions(+), 9157 deletions(-) diff --git a/README.md b/README.md index a74b2d70..4979a410 100644 --- a/README.md +++ b/README.md @@ -44,5 +44,5 @@ Smartswap of Rigel Protocol is available on https://smartswap.rigelprotocol.com/ - Linkedin: [rigelprotocol](https://www.linkedin.com/company/rigelprotocol) - Discord: [rigelprotocol](https://discord.com/invite/j86NH95GDD) - Email: [support@rigelprotocol](mailto:support@rigelprotocol.com) -- Telegram: [rigel protocol](https://www.t.me/rigelprotocol) +- Telegram: [rigeldao](https://t.me/rigeldao) - Whitepaper: [Link](www.rigelprotocol.com/whitepaper) diff --git a/package.json b/package.json index d5e00d7f..79f1eb79 100644 --- a/package.json +++ b/package.json @@ -72,10 +72,10 @@ "web3": "^1.6.1" }, "scripts": { - "start": "react-scripts start", - "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject" + "start": "react-scripts --openssl-legacy-provider start", + "build": "react-scripts --openssl-legacy-provider build", + "test": "react-scripts --openssl-legacy-provider test", + "eject": "react-scripts --openssl-legacy-provider eject" }, "eslintConfig": { "extends": "react-app" diff --git a/public/index.html b/public/index.html index 26d4ada9..cfdf8abc 100644 --- a/public/index.html +++ b/public/index.html @@ -1,76 +1,79 @@ - + - - - - - - + http-equiv="Cache-Control" + content="no-cache, no-store, must-revalidate, max-age=0" + /> + + + + + + - - + + - - - - RigelProtocol - Dapps for all your Defi Needs - - - + RigelProtocol - Dapps for all your Defi Needs + + + /> - - + + - - - - - - - - - + - - - - - - + gtag("config", "G-JRRW1SDM6G"); + + + + + + +