CallGraph.get_corresponding_node_for_function()
Returns the node which represents the given function.
get_corresponding_node_for_function(function:
Callable
) →
CallNode
Query Example
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 []
Example Output
[
{
"print_output": [
"_msgSender",
"_msgData"
]
}
]
Last updated