Last active
April 19, 2020 06:04
-
-
Save agoiabel/aa361d90453560cca949b5e6c388aac4 to your computer and use it in GitHub Desktop.
This file contains 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.6.4; | |
contract Token { | |
uint public totalSupply; | |
mapping(address => uint) public balanceOf; | |
constructor(uint _totalSupply) { | |
totalSupply = _totalSupply; | |
balance[msg.sender] = _totalSupply; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment