Last active
November 17, 2020 03:55
-
-
Save solangegueiros/6f30100662f8583ea39a49a5fa198b89 to your computer and use it in GitHub Desktop.
Solidity smart contract
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.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