Skip to content

Instantly share code, notes, and snippets.

@daniellehrner
Created April 8, 2019 08:18
Show Gist options
  • Save daniellehrner/8b1ff03f23c64f174d54d232c42fd05f to your computer and use it in GitHub Desktop.
Save daniellehrner/8b1ff03f23c64f174d54d232c42fd05f to your computer and use it in GitHub Desktop.
Set ERC-20 balance in mapping
function setBalance(address _who, uint256 _value) external {
_balances[_who] = _value;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment