mirror of https://github.com/crytic/slither
parent
ceba99f48e
commit
c548dfdcc7
Binary file not shown.
@ -0,0 +1,8 @@ |
||||
{ |
||||
"A": { |
||||
"a(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: RETURN 1\n\"];\n}\n" |
||||
}, |
||||
"B": { |
||||
"b(uint256)": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: RETURN 1\n\"];\n}\n" |
||||
} |
||||
} |
@ -0,0 +1,14 @@ |
||||
|
||||
library A { |
||||
using B for uint256; |
||||
|
||||
function a(uint256 v) public view returns (uint) { |
||||
return v.b(); |
||||
} |
||||
} |
||||
|
||||
library B { |
||||
function b(uint256 v) public view returns (uint) { |
||||
return 1; |
||||
} |
||||
} |
Loading…
Reference in new issue