Warning: Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient.
--> contracts/Token.sol:9:5:
|
9 | constructor () public ERC20("vivi", "viv"){
| ^ (Relevant source part starts here and spans across multiple lines).
this is my .sol file
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
contract Token is ERC20 {
constructor () public ERC20("vivi", "viv"){
_mint(msg.sender, 141000000 * (10 ** uint256(decimals())));
}
}