Created
January 18, 2020 05:02
-
-
Save willwillis/c53e9c5f7f7e1f279fd9fbbfe46894ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol"; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20Detailed.sol"; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20Mintable.sol"; | |
contract MyToken is ERC20, ERC20Detailed, ERC20Mintable { | |
constructor( | |
string memory name, | |
string memory symbol | |
) | |
ERC20Detailed(name, symbol, 18) | |
public | |
{ | |
// constructor can stay empty | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment