Created
October 21, 2021 05:24
-
-
Save mgyong/ac32f3bd8b7ef203504764c8619eb787 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.7; | |
| contract Inbox { | |
| string value; | |
| function get() public view returns (string memory) { | |
| return value; | |
| } | |
| function set(string memory _value) public { | |
| value = _value; | |
| } | |
| constructor(string memory _value) public { | |
| value = _value; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment