Skip to content

Instantly share code, notes, and snippets.

@danielmme
Created June 26, 2018 00:08
Show Gist options
  • Save danielmme/d48a8d194cf395462344b13e807f79a9 to your computer and use it in GitHub Desktop.
Save danielmme/d48a8d194cf395462344b13e807f79a9 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.18;
contract ContratoQualquer {
// variável qualquer
string public valor;
// função qualquer
function alterarValor(string novoValor) public {
valor = novoValor;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment