MethodProp.HAS_CALLEES

The property HAS_CALLEES is used to add a filter to include or exclude functions that have functions that call them from within the same contract.

An example of a query which will filter for functions that have callees is:

from glider import *
def query():
  props_included = [MethodProp.HAS_CALLEES]
  functions = Functions()\
      .with_all_properties(props_included)\
      .exec(5)

  return functions

Output

Last updated