Functions.exec()

exec(limit_count: int = 0, offset_count: int = 0) β†’ List[Function]

Executes the formed query and returns a list of the Function objects.

from glider import *

def query():
  # Fetch a list of functions
  functions = Functions().exec(2)

  return functions

Output:

[
  {
    "contract": "0x798AcB51D8FBc97328835eE2027047a8B54533AD",
    "contract_name": "Context",
    "sol_function": "function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }"
  },
  {
    "contract": "0x798AcB51D8FBc97328835eE2027047a8B54533AD",
    "contract_name": "Context",
    "sol_function": "function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }"
  }
]

Last updated