Skip to content

Instantly share code, notes, and snippets.

@willwillis
Created January 18, 2020 05:02
Show Gist options
  • Save willwillis/c53e9c5f7f7e1f279fd9fbbfe46894ca to your computer and use it in GitHub Desktop.
Save willwillis/c53e9c5f7f7e1f279fd9fbbfe46894ca to your computer and use it in GitHub Desktop.
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