Created
October 18, 2017 18:21
-
-
Save anonymous/aae245176abcbfa1b6fe0c8ad3fdedd4 to your computer and use it in GitHub Desktop.
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.18+commit.9cf6e910.js&optimize=undefined&gist=
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.11; | |
contract SimpleStorage { | |
uint public valor; | |
function SimpleStorage(uint novoValor) { | |
valor = novoValor; | |
} | |
function incrementa()public{ | |
valor += 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment