// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.1/contracts/token/ERC20/ERC20.sol';
contract Sample is ERC20 {
constructor() ERC20("Sample", "SAM") {
_mint(msg.sender, 123456 * (10 ** uint256(decimals())));
}
}
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? I’m using Ropsten.
Thank you.