Skip to content

Instantly share code, notes, and snippets.

@Uberi
Created September 14, 2018 02:31
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 Uberi/37f0964938dc15662686edad1f240a8e to your computer and use it in GitHub Desktop.
Save Uberi/37f0964938dc15662686edad1f240a8e 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.4.25+commit.59dbf8f1.js&optimize=true&gist=
pragma solidity ^0.4.0;
contract Storage {
uint value;
function set(uint newValue) public {
value = newValue;
}
function get() public view returns (uint) {
return value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment