Returns the node which represents the given function.
get_corresponding_node_for_function(function: Callable) β CallNode
get_corresponding_node_for_function(function:
Callable
) β
CallNode
from glider import * def query(): contracts = Contracts().exec(1) contract = contracts[0] for func in contract.functions().exec(): call_node = contract.call_graph().get_corresponding_node_for_function(func) print(call_node.callable_name()) return []
[ { "print_output": [ "_msgSender", "_msgData" ] } ]
Last updated 2 months ago