Functions.with_modifier_signature()

with_modifier_signature(signature: str) → Functions

Adds a filter to get functions that have a modifier with the given signature.

Example

from glider import *

def query():
  
  # Fetch a list of functions with specific modifier signature
  functions = Functions().with_modifier_signature('onlyOwner(address)').exec(2)

  return functions

Output

Last updated