defquery(): functions =Functions().exec(100) 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().list():# ...return the data of the argument function["Arguments"].append({"Argument data": arg.data}) function_with_args.append(function)return function_with_args
Example of a ERC721 transferFrom function with 3 arguments
ERC721.transferFrom(address from ,address to ,uint256 tokenId)