ERC20Detailed.sol 533 B

12345678910111213141516171819202122
  1. pragma solidity ^0.4.24;
  2. import "./IERC20.sol";
  3. /**
  4. * @title ERC20Detailed 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 ERC20Detailed is IERC20 {
  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. }