Skip to content

Instantly share code, notes, and snippets.

@agoiabel
Last active April 19, 2020 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agoiabel/aa361d90453560cca949b5e6c388aac4 to your computer and use it in GitHub Desktop.
Save agoiabel/aa361d90453560cca949b5e6c388aac4 to your computer and use it in GitHub Desktop.
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