Skip to content

Instantly share code, notes, and snippets.

@chriseth
Last active March 30, 2018 20:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chriseth/714c4b8c9363e868527d9fc90ed47273 to your computer and use it in GitHub Desktop.
Save chriseth/714c4b8c9363e868527d9fc90ed47273 to your computer and use it in GitHub Desktop.
Simple Contract
pragma solidity ^0.4.0;
contract MyNamedAccount
{
uint public storedNumber;
function name() public pure returns (string) {
return "chriseth";
}
function storeNumber(uint x) public {
storedNumber = x;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment