Contracts.with_one_of_the_function_names()
Adds a filter to get contracts that have at least one function from the given names.
with_one_of_the_function_names(names: List[str], sensitivity: bool = True) →
Contracts
Query Example
from glider import *
def query():
contracts = Contracts().with_one_of_the_function_names(["deposit", "withdraw"]).exec(1,1)
functions = contracts.functions().exec()
for function in functions:
print(function.name)
return contracts
Output Example

Last updated