solidity code

A few concerns I have:

—Does this code look secure?

—Should the imported code version (0.8.0), the written code version (0.8.0), and the Remix compiler version (0.8.0) all be the same?

—Why does Max Total Supply show 0 in Etherscan testnet? I’m using Ropsten.

Thank you.


1 Answer 1

  • OpenZeppelin is a “battle-tested” open source framework comprised of reusable Ethereum smart contracts. The framework helps smart contract developers reduce the risk of vulnerabilities in their distributed applications (dapps) by using standard, tested, community-reviewed code.
  • Yes, it should be the same.
  • There is a bug in testnets since a lobg time which shows max total supply as 0. I'm sure if you test it with out networks like Kovan or BSC you won't see 0 max supply.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.