Skip to content

Instantly share code, notes, and snippets.

@kevholder
Created August 25, 2020 02:13
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 kevholder/b888c0d59bd693c223a4f0f22ddf7650 to your computer and use it in GitHub Desktop.
Save kevholder/b888c0d59bd693c223a4f0f22ddf7650 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.17+commit.d19bba13.js&optimize=false&gist=
pragma solidity ^0.5.17;
contract SimpleStore {
function set(uint _value) public {
value = _value;
}
function get() public view returns (uint) {
return value;
}
uint value;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment