circulatingSupply fix (#16)

* fix: search bar fix if number input, add badge (#2)

* fix: search bar fix if number input, add badge
for type in search bar, horfix for direct link in inventory page

* fix: theme mode blink page

* fix: write boolean in tx page

* fix: styles for contract tab in address page

* fix: remove btn

* fix: env, results per page go to first page
in grid. fix path for REACT_APP_EXPLORER_V1_API_URL

* Update .env.example

* fix: improve

* fix: stable .env

* fix: improve tx

* fix: no update grid if tab not changed

* fix: revert .env file

* fix: add .env.development to gitignore

* env var description

* Update .env

* fix: set to REACT_APP_PROD_ADDRESS socket

* Update .env

* fix: timeout for ERCpools

* fix: timeout instead intervals

* fix: setTimeout

* fix: catch erc pools requests

* fix: remove catch section

* fix: hashRouter instead BrowserRouter

* fix: merge

* fix: routes fix

* fix: improvements

* fix: circulatingSupply name fix

Co-authored-by: potvik <57394565+potvik@users.noreply.github.com>
Co-authored-by: Hype <hypnagonia@gmail.com>
pull/19/head
vpcodebase 3 years ago committed by GitHub
parent 7813645284
commit 753a9b8668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/hooks/ERC20_Pool.ts
  2. 6
      src/pages/AddressPage/AddressDetails.tsx
  3. 2
      src/pages/ERC20List/ERC20Table.tsx

@ -28,7 +28,7 @@ export interface Erc20 {
name: string;
address: string;
totalSupply: string;
circulating_supply: string
circulatingSupply: string
holders: string;
decimals: number;
symbol: string;

@ -123,7 +123,7 @@ const addressPropertyDisplayNames: Record<
holders: () => "Holders",
description: () => "Description",
transactionHash: () => "Transaction Hash",
circulating_supply: () => "Circulating Supply",
circulatingSupply: () => "Circulating Supply",
};
const addressPropertyDisplayValues: Record<
@ -202,7 +202,7 @@ const addressPropertyDisplayValues: Record<
},
description: (value) => <>{value}</>,
transactionHash: (value) => <Address address={value} type={"tx"} />,
circulating_supply: (value, data) => (
circulatingSupply: (value, data) => (
<Box direction={"row"}>
<TokenValue
@ -247,7 +247,7 @@ const addressPropertyOrder: Record<string, number> = {
symbol: 21,
decimals: 22,
totalSupply: 23,
circulating_supply: 23,
circulatingSupply: 23,
holders: 24,
solidityVersion: 31,

@ -164,7 +164,7 @@ function getColumns(props: any) {
return (
<Box direction={"row"}>
<TokenValue
value={data.circulating_supply}
value={data.circulatingSupply}
tokenAddress={data.address}
formatNumber
hideSymbol

Loading…
Cancel
Save