> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/contracts/contracts.with_one_of_the_function_names.md).

# 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`](/glider-ide/api/contracts.md)

## Query Example

```python
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

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FnlyCVS7f8H975Q3klpKi%2Fimage.png?alt=media&amp;token=c6c43f21-6bdd-4c14-9ee7-b24c9365c258" alt=""><figcaption></figcaption></figure>
