Functions.extended_caller_modifiers()

Returns a Modifiers object representing the modifiers through which the functions from current Functions object could be called.

extended_caller_modifiers() → Modifiers

The function will retrieve extended/inter-procedural modifiers, meaning it works recursively. It returns the Modifiers object representing all the modifiers that ultimately call the function in question.

Query Example

from glider import *

def query():
  funcs = Functions().with_name("onlyOwner").extended_caller_modifiers().exec(2)
  
  return funcs

Output Example

Last updated