Created
July 30, 2020 06:36
-
-
Save viannaandreBR/a29cebe94b67e1e4533659c8ed606003 to your computer and use it in GitHub Desktop.
constructor with _initialSupply
This file contains hidden or 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.4.2; | |
| contract DappToken{ | |
| // Constructor | |
| // Set the Total number of tokens | |
| // Read the total number of tokens | |
| uint256 public totalSupply; | |
| constructor (uint256 _initialSupply) public{ | |
| totalSupply = _initialSupply; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment