Find file Copy path
b7d60f2 Jan 17, 2019
4 contributors

Users who have contributed to this file

@nventuro @elopio @frangio @Aniket-Engg
22 lines (19 sloc) 574 Bytes
pragma solidity ^0.5.2;
import "./ERC20.sol";
import "../../access/roles/MinterRole.sol";
* @title ERC20Mintable
* @dev ERC20 minting logic
contract ERC20Mintable is ERC20, MinterRole {
* @dev Function to mint tokens
* @param to The address that will receive the minted tokens.
* @param value The amount of tokens to mint.
* @return A boolean that indicates if the operation was successful.
function mint(address to, uint256 value) public onlyMinter returns (bool) {
_mint(to, value);
return true;