Created
May 2, 2019 15:03
-
-
Save industral/5615c0666787cebd70b6a41d1f6c97c7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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.8; | |
contract Inbox { | |
string public message; | |
constructor(string memory initialMessage) public { | |
message = initialMessage; | |
} | |
function setMessage(string memory newMessage) public { | |
message = newMessage; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment