Skip to content

Instantly share code, notes, and snippets.

@gjj
Created August 21, 2020 12:17
Show Gist options
  • Save gjj/392eba5ec0239a692e1fc137194e808e to your computer and use it in GitHub Desktop.
Save gjj/392eba5ec0239a692e1fc137194e808e to your computer and use it in GitHub Desktop.
contract Add {
uint myData;
function sum (uint value1, uint value2) public {
myData = value1 + value2;
}
function show() public view returns (uint) {
return myData;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment