> 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/callable/callable.new_contract_instructions.md).

# Callable.new\_contract\_instructions()

Returns the function's/modifier's instructions that create a new contract.

`new_contract_instructions() →` [`Instructions`](/glider-ide/api/instructions.md)

## Query Example

```python
from glider import *

def query():
  functions = Functions().with_name("deploy").exec(20)

  deployment_instructions = []
  for func in functions:
    for inst in func.new_contract_instructions().exec():
      deployment_instructions.append(inst)
      
  return deployment_instructions
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FIK2dYENlvi1YKkwFObMa%2Fimage.png?alt=media&amp;token=515aadf0-3548-442e-9502-e968469fed44" alt=""><figcaption></figcaption></figure>
