Reputation: 184
I have deployed a BEP20 token. I followed the steps shown in this tutorial https://docs.binance.org/smart-chain/developer/issue-BEP20.html and I entered total supply = 60000000000 but after varifying, the total supply is not showing which was I entered. Can anyone help me to add the total supply? The contract address is 0xE2cFe49999e3a133EaFE13388Eb47BCd223f5c5E
Upvotes: -1
Views: 1294
Reputation: 43491
Your token uses 18 decimal places. Which means that the value 60000000000
hardcoded on line 359 of your contract represents 0.00000006
of the token. The BSCScan token tracker shows total supply 0 AAG
just because it rounds to some predefined amount of decimals.
If you want a total supply of 60 billion, you need to add 18 zeros after this number to account for the decimals.
_totalSupply = 60000000000 * 1e18;
Upvotes: 1