SimpleToken.sol 578 B

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