defquery(): functions =Functions().exec(45) function_with_args = []for f in functions:# Prepare the object for this function function ={"Function Name": f.name(),"Arguments": []}# For each of its arguments...for arg in f.arguments().with_memory_type("storage"):# ...return the data of the arguent function["Arguments"].append({"Argument data": arg.data})iflen(function["Arguments"])>0: function_with_args.append(function)return function_with_args
Example of an Argument with the memory type storage