From d0c65a037b8116906b60e9c25372bda0dc51a8c9 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 20 Mar 2024 15:06:29 -0500 Subject: [PATCH] woop --- CONTRIBUTING.md | 8 ++-- README.md | 4 +- package.json | 2 +- public/index.html | 4 +- scripts/updateBridgeTokensList.js | 2 +- src/Routes.tsx | 12 ++--- src/api/client.ts | 10 ++-- src/api/rpc.ts | 46 +++++++++---------- .../BinancePairHistoricalPrice_Pool.tsx | 2 +- src/components/ONE_USDT_Rate.tsx | 4 +- src/components/appFooter/index.tsx | 14 +++--- src/components/appHeader/ConfigureButton.tsx | 2 +- src/components/appHeader/InfoButton.tsx | 12 ++--- src/components/appHeader/MenuMobile.tsx | 4 +- src/components/appHeader/ToolsButton.tsx | 4 +- src/components/appHeader/index.tsx | 2 +- src/components/approvals/approvalsColumns.tsx | 2 +- src/components/metrics/WalletsHistory.tsx | 2 +- src/components/tables/TransactionsTable.tsx | 16 +++---- .../transaction/TransactionDetails.tsx | 6 +-- src/components/transaction/helpers.tsx | 20 ++++---- src/components/ui/TokenValueBalanced.tsx | 4 +- src/components/ui/utils.tsx | 4 +- src/config/addressAliasMap.json | 32 ++++++------- src/config/bridgeTokensMap.json | 2 +- src/config/linkedContractsMap.json | 2 +- src/hooks/BinancePairHistoricalPrice.ts | 4 +- src/hooks/useONEExchangeRate.tsx | 6 +-- .../ContractDetails/AbiMethodView.tsx | 4 +- .../ContractDetails/ConnectWallets.tsx | 6 +-- src/pages/AddressPage/TokenInfo.tsx | 12 ++--- src/pages/AddressPage/index.tsx | 10 ++-- .../tabs/inventory/InventoryItem.tsx | 8 ++-- .../AddressPage/tabs/tools/TokenApprovals.tsx | 16 +++---- src/pages/AllTransactionsPage/index.tsx | 6 +-- src/pages/ApprovalPage/index.tsx | 24 +++++----- src/pages/ChartsPage/ActiveAddresses.tsx | 6 +-- src/pages/ChartsPage/AverageBlockSize.tsx | 2 +- src/pages/ChartsPage/AverageFee.tsx | 2 +- src/pages/ChartsPage/DailyTransactions.tsx | 2 +- src/pages/ChartsPage/ViewChangeStats.tsx | 6 +-- src/pages/ChartsPage/index.tsx | 2 +- src/pages/ERC1155List/ERC1155Table.tsx | 2 +- src/pages/ERC1155List/index.tsx | 2 +- src/pages/ERC20List/ERC20Table.tsx | 2 +- src/pages/ERC20List/index.tsx | 2 +- src/pages/ERC721List/ERC721Table.tsx | 2 +- src/pages/ERC721List/index.tsx | 2 +- src/pages/ExportData/export-utils.ts | 4 +- src/pages/ExportData/index.tsx | 2 +- .../InventoryDetailsPage.tsx | 4 +- .../MainPage/LatestTransactionsTable.tsx | 16 +++---- src/pages/StackingTransactionPage/index.tsx | 10 ++-- src/pages/TopStatsPage/CommonTopTable.tsx | 4 +- src/pages/TransactionPage/index.tsx | 14 +++--- .../tools/{CheckHRC => CheckWRC}/index.tsx | 6 +-- src/types/api.ts | 2 +- src/types/blockchain.ts | 42 ++++++++--------- src/utils/approvals.ts | 28 +++++------ src/utils/getAddress/GetAddress.ts | 44 +++++++++--------- src/utils/getAddress/bech32.ts | 10 ++-- src/utils/getAddress/bytes.ts | 2 +- src/utils/getAddress/errors.ts | 18 ++++---- src/utils/getAddress/keccak256.ts | 2 +- src/utils/getAddress/validators.ts | 2 +- src/utils/utils.ts | 4 +- 66 files changed, 282 insertions(+), 282 deletions(-) rename src/pages/tools/{CheckHRC => CheckWRC}/index.tsx (99%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5f97069..7e542b1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,19 +3,19 @@ When contributing to this repository, please first discuss the change you wish to make via issue, discord server or any other method with the owners of this repository before making a change. ### Pull Request Process -1) Fork a [repository](https://github.com/harmony-one/explorer-v2-frontend) and create your branch from `master`; +1) Fork a [repository](https://github.com/woop-chain/explorer-v2-frontend) and create your branch from `master`; 2) Run `yarn build` in the repository root 3) Update .env.example if new environment variables is created; 4) Create pull request linked with existed issue. ### Branch Organization -Submit all changes directly to [master branch](https://github.com/harmony-one/explorer-v2-frontend/tree/master). +Submit all changes directly to [master branch](https://github.com/woop-chain/explorer-v2-frontend/tree/master). We don’t use separate branches for development or for upcoming releases. ### Bugs -We are using [Github Issues](https://github.com/harmony-one/explorer-v2-frontend/issues) for tracking bugs. +We are using [Github Issues](https://github.com/woop-chain/explorer-v2-frontend/issues) for tracking bugs. Before creating a new issue please check that problem doesn't already exist. ### Proposing a Change -If you have a suggestion on how to improve functionality or create a new feature you can [fill a new issue](https://github.com/harmony-one/explorer-v2-frontend/issues/new). +If you have a suggestion on how to improve functionality or create a new feature you can [fill a new issue](https://github.com/woop-chain/explorer-v2-frontend/issues/new). diff --git a/README.md b/README.md index 38c8cbb..f75753e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Harmony Explorer frontend +# Woop Explorer frontend ## Requirements @@ -18,7 +18,7 @@ npm install --global yarn 1) Clone repo: ```bash -git clone https://github.com/harmony-one/explorer-v2-frontend.git +git clone https://github.com/woop-chain/explorer-v2-frontend.git ``` 2) Install dependencies: ```bash diff --git a/package.json b/package.json index bebf992..726299e 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "harmony-explorer-v2-frontend", + "name": "woop-explorer-v2-frontend", "version": "0.1.0", "private": true, "dependencies": { diff --git a/public/index.html b/public/index.html index 2603456..a4ef190 100644 --- a/public/index.html +++ b/public/index.html @@ -14,7 +14,7 @@ - Harmony Blockchain Explorer + Woop Blockchain Explorer