Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
14 lines (11 sloc)
427 Bytes
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.5.0; | |
import "../node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; | |
contract BasicToken is ERC20 { | |
string public constant name = "BasicToken"; | |
string public constant symbol = "BT"; | |
uint8 public constant decimals = 5; | |
uint256 public constant INITIAL_SUPPLY = 10000 * (10 ** uint256(decimals)); | |
constructor() public { | |
_mint(msg.sender, INITIAL_SUPPLY); | |
} | |
} |