Created
August 7, 2017 08:52
-
-
Save TheBojda/eb4f4624947ac54ca97d806e5036a014 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.7; | |
contract SimpleStorage { | |
uint public storedData; | |
function SimpleStorage(uint initialValue) { | |
storedData = initialValue; | |
} | |
function set(uint x) { | |
storedData = x; | |
} | |
function get() constant returns (uint retVal) { | |
return storedData; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment