I’ve created ERC20 Upgradeable token using the OpenZeppelin library.
Deployed it in rinkeby.
Followed instruction on how to create a token with max supply:
https://docs.openzeppelin.com/contracts/2.x/erc20-supply
And this is the result:
I’ve created ERC20 Upgradeable token using the OpenZeppelin library.
Deployed it in rinkeby.
Followed instruction on how to create a token with max supply:
https://docs.openzeppelin.com/contracts/2.x/erc20-supply
And this is the result:
I don’t think Rinkeby shows Max Total Supply of tokens.
I’ve never seen a contract on Rinkeby that shows Max Total Supply.
Check where you minted the tokens.
If you sent them to yourself, then you should have them.
If you sent them to the contract you should be able to see the supply in the token drop down.
You can see them on the contract token page, and your own address’s page in Rinkeby.
From your code it looks like you minted them to the deployer/owner/initializer, so if that’s you, check your address for the tokens.
FYI you also can’t see the token holders on Rinkeby.
Would it be the same in ropsten?
Regarding the owner, I’m the owner indeed in Ropsten and Rinkeby
Total Supply is really 0 in both
How did you deploy it? Have you called the initializer?
Yes, I've never seen total supplies or holders be shown in Ropsten or Rinkeby.
Could you share an etherscan link to your deployed contract?
(‘AdminUpgradeabilityProxy’)
Token itself
So this piece has deployed 3 contracts:
My ropsten address
@martriay
Is it really required to deploy 3 contracts?
Hi @dmdv,
I flagged your proxy as a proxy on Etherscan.
You can then interact and read the total supply on Etherscan:
Where is it in etherscan?
Look at the top right of the code textbox. Click more option and select Verify Proxy. Then click verify with the given address. it should raise an error but it will give you the implementation address. This is the one you use to verify your contract. You could also write a test to find out your total supply.