0

Let's start with two an example contract 0xD52B599F88A0dD095DD07dd7d98ea965192C3F2a.

If you look at Poocoin or Bogged, both of them show market cap as:

$7,415,949,681,815,443,000,000,000,000,000,000,000,000,000,000,000,000,000

Safe to say that this cannot be true.

What's the formula behind it and how can it be done better?

Gajus
  • 713
  • 4
  • 21

1 Answers1

1

ERC20 compliant tokens have a function that return the total supply:

 function totalSupply() public view returns (uint256)

The returned value is just informative. The total circulating or minted can be different.

Ismael
  • 30,570
  • 21
  • 53
  • 96