Created
February 9, 2015 19:28
-
-
Save dagi3d/f880977a032753f44abf 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
contract SimpleStorage { | |
uint storedData; | |
function SimpleStorage() { | |
storedData = 10; | |
} | |
function subtract() returns (uint retVal) { | |
storedData -= 1; | |
return storedData; | |
} | |
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