Created
July 18, 2021 10:36
-
-
Save tina1998612/57dd39fa121e14da1fab71e9619479a1 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
stored_data: uint256 | |
@public | |
def set(new_value : uint256): | |
self.stored_data = new_value | |
@public | |
@constant | |
def get() -> uint256: | |
return self.stored_data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment