SimpleToken.sol 559 B

12345678910111213141516171819202122
  1. pragma solidity ^0.4.0;
  2. import "../StandardToken.sol";
  3. /*
  4. * Very simple ERC20 Token example, where all tokens are pre-assigned
  5. * to the creator. Note they can later distribute these tokens
  6. * as they wish using `transfer` and other `StandardToken` functions.
  7. */
  8. contract SimpleToken is StandardToken {
  9. string public name = "SimpleToken";
  10. string public symbol = "SIM";
  11. uint public decimals = 18;
  12. uint public INITIAL_SUPPLY = 10000;
  13. function SimpleToken() {
  14. totalSupply = INITIAL_SUPPLY;
  15. balances[msg.sender] = INITIAL_SUPPLY;
  16. }
  17. }