-
-
Save akegaviar/d98bfd5b55d5883a4b5b7470a4a52aed to your computer and use it in GitHub Desktop.
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
message: public(bytes[32]) | |
@public | |
def __init__(): | |
self.message = "Hello, Block! In Vyper!" | |
@public | |
@constant | |
def printMessage() -> bytes[32]: | |
return self.message | |
@public | |
def setMessage(_message: bytes[32]): | |
self.message = _message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment