Created
February 7, 2022 17:40
-
-
Save himawari2021/108c1608de1e615ff001ab4d44e8101e to your computer and use it in GitHub Desktop.
MyStrage.sol
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
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
contract MyStrage { | |
string message = "hello"; | |
function set(string memory _message) public { | |
message = _message; | |
} | |
function get() public view returns (string memory){ | |
return message; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment