Skip to content

Instantly share code, notes, and snippets.

@emurmotol
Created July 4, 2018 09:34
Show Gist options
  • Save emurmotol/0cee3cd5823f98a31de7b1d96bea1631 to your computer and use it in GitHub Desktop.
Save emurmotol/0cee3cd5823f98a31de7b1d96bea1631 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.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^0.4.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