from glider import *
def query():
contracts = Contracts().exec(1,3)
contract = contracts[0]
call_nodes = contract.call_graph().all_nodes()
call_node = call_nodes[13]
print(f"Call node callable name: {call_node.callable_name()}")
for callee in call_node.get_extended_callers():
print(f"Extended caller callable name: {callee.callable_name()}")
return []
[
{
"print_output": [
"Call node callable name: transferAndCall",
"Extended caller callable name: create_random_pizza",
"Extended caller callable name: requestRandomness",
"Extended caller callable name: requestRandomness"
]
}
]