> For the complete documentation index, see [llms.txt](https://docs.quipuswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quipuswap.com/smart-contracts/quipuswap-stable-swap-dex/factory/initial-setup.md).

# Initial setup

{% hint style="warning" %}
This section called only by `developer` address.
{% endhint %}

### DEX deploy function lambda

{% content-ref url="/pages/aH5mQCZX71gGaHz0vPMo" %}
[set\_init\_function](/smart-contracts/quipuswap-stable-swap-dex/factory/initial-setup/set_init_function.md)
{% endcontent-ref %}

### Developer lambdas

This entrypoint sets [Developer setter entrypoints](/smart-contracts/quipuswap-stable-swap-dex/developer-module/developer-setter-entrypoints.md) lambda-functions to contract storage by function ID and function-packed bytes. &#x20;

{% content-ref url="/pages/aeLKEd14RgHwekgkTCuI" %}
[set\_dev\_function](/smart-contracts/quipuswap-stable-swap-dex/standalone-dex/initialization/set_dev_function.md)
{% endcontent-ref %}

### Pre-compiled DEX lambdas

These entrypoints are designed for setting lambdas that will be copied and used in deployed DEX pool contracts.

{% content-ref url="/pages/TbRmEChMqbJxHUQAmoBc" %}
[DEX compiled codebase setup](/smart-contracts/quipuswap-stable-swap-dex/factory/initial-setup/dex-compiled-codebase-setup.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.quipuswap.com/smart-contracts/quipuswap-stable-swap-dex/factory/initial-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
