Skip to content

Instantly share code, notes, and snippets.

@agoiabel
Last active April 19, 2020 06:04
Show Gist options
  • 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