Created
March 26, 2017 01:44
-
-
Save willwarren89/6490f4f106f17ef32cc5bf9e2cbe0c72 to your computer and use it in GitHub Desktop.
A standard ERC20 token with custom metadata.
This file contains 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.4.10; | |
import "github.com/ConsenSys/Tokens/blob/master/Token_Contracts/contracts/Token.sol" as Token; | |
import "github.com/ConsenSys/Tokens/blob/master/Token_Contracts/contracts/StandardToken.sol" as StandardToken; | |
contract MyERC20 is StandardToken { | |
// metadata | |
string public constant name = "MyERC20Token"; | |
string public constant symbol = "ERC"; | |
uint public constant decimals = 18; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment