Skip to content

Instantly share code, notes, and snippets.

@solangegueiros
Last active November 17, 2020 03:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solangegueiros/6f30100662f8583ea39a49a5fa198b89 to your computer and use it in GitHub Desktop.
Save solangegueiros/6f30100662f8583ea39a49a5fa198b89 to your computer and use it in GitHub Desktop.
Solidity smart contract
pragma solidity 0.5.4;
contract Register {
string private info;
function getInfo() public view returns (string memory) {
return info;
}
function setInfo(string memory _info) public {
info = _info;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment