Mintable Token Smart Contract



Init function

function initToken(
string memory _name,
string memory _symbol,
address _owner,
uint256 _initialSupply
public override
Token name.
Token symbol.
Contract owner.
Amount of tokens minted on creation.
Initializes ERC20 token with name and symbol, gives admin privileges and mints token supply to callers address.

Minting function

function mint(address to, uint256 amount) public virtual
Mints a specified amount of tokens to specified address.