I have defined total supply as "1000000 * 1e5" and it returns me the following error:
Invalid type for argument in modifier invocation. Invalid implicit conversion from literal_string "1000000 * 1e5" to uint256 requested.
what's problem?
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC20.sol";
contract erfan is ERC20
{
constructor() ERC20 ("erfan","ERF","1000000 * 1e5",5)
{
_balances[_msgSender()]=1000000*1e5;
}
}