from glider import*defquery(): functions =Functions().exec(100) called_functions = []for function in functions:for called in function.callee_functions().exec():# Return each called function from this specific one called_functions.append(called)return called_functions
Example output
[ {"contract":"0x798AcB51D8FBc97328835eE2027047a8B54533AD","contract_name":"Ownable",// Formatted for the example"sol_function": `function_msgSender() internalviewvirtualreturns (address) {return msg.sender; } ` }, {"contract":"0x798AcB51D8FBc97328835eE2027047a8B54533AD","contract_name":"Ownable",// Formatted for the example"sol_function": `function_setOwner(address newOwner) private {address oldOwner = _owner; _owner = newOwner;emitOwnershipTransferred(oldOwner,newOwner); } ` }, ...]