Created
December 3, 2018 21:16
-
-
Save bargst/f8820bea76341c2bde40a8f70066bf64 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
class Test(): | |
def out_literals() -> (int128, address, bytes[10]) : constant | |
@public | |
def out_literals() -> (int128, address, bytes[10]): | |
return 1, 0x0000000000000000000000000000000000000000, "random" | |
@public | |
def test(addr: address) -> (int128, address, bytes[10]): | |
a: int128 | |
b: address | |
c: bytes[10] | |
#(a, b, c) = self.out_literals() | |
(a, b, c) = Test(addr).out_literals() | |
return a, b,c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment