Skip to content

Instantly share code, notes, and snippets.

@tpmccallum
Created October 18, 2019 00:28
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 tpmccallum/bb077c0768631873708b4000a693dde7 to your computer and use it in GitHub Desktop.
Save tpmccallum/bb077c0768631873708b4000a693dde7 to your computer and use it in GitHub Desktop.
pragma solidity >=0.4.0 <0.6.0;

contract SimpleStorage {
    uint storedData;

    function set(uint x) public {
        storedData = x;
    }

    function get() public view returns (uint) {
        return storedData;
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment