mirror of https://github.com/crytic/slither
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
514 B
29 lines
514 B
interface Test:
|
|
def foo() -> (int128, uint256): nonpayable
|
|
|
|
tester: Test
|
|
|
|
@internal
|
|
def foo() -> (int128, int128):
|
|
return 2, 3
|
|
|
|
@external
|
|
def bar():
|
|
a: int128 = 0
|
|
b: int128 = 0
|
|
(a, b) = self.foo()
|
|
|
|
x: address = 0x0000000000000000000000000000000000000000
|
|
c: uint256 = 0
|
|
a, c = Test(x).foo()
|
|
|
|
@external
|
|
def baz():
|
|
a: int128 = 0
|
|
b: int128 = 0
|
|
(a, b) = self.foo()
|
|
|
|
x: address = 0x0000000000000000000000000000000000000000
|
|
c: uint256 = 0
|
|
a, c = self.tester.foo()
|
|
|
|
|