DetailedERC20.sol 531 B

12345678910111213141516171819202122
  1. pragma solidity ^0.4.23;
  2. import "./ERC20.sol";
  3. /**
  4. * @title DetailedERC20 token
  5. * @dev The decimals are only for visualization purposes.
  6. * All the operations are done using the smallest and indivisible token unit,
  7. * just as on Ethereum all the operations are done in wei.
  8. */
  9. contract DetailedERC20 is ERC20 {
  10. string public name;
  11. string public symbol;
  12. uint8 public decimals;
  13. constructor(string _name, string _symbol, uint8 _decimals) public {
  14. name = _name;
  15. symbol = _symbol;
  16. decimals = _decimals;
  17. }
  18. }