> 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/deployed-from-factory-dex/initialization/copy_dex_function.md).

# copy\_dex\_function

{% hint style="warning" %}
This entrypoint should be called only by `Factory` contract address.&#x20;
{% endhint %}

This method receives `big_map` of `nat -> bytes` - lambdas of [DEX methods](/smart-contracts/quipuswap-stable-swap-dex/standalone-dex/dex-methods.md).

### Parameters

<table><thead><tr><th width="188">Field</th><th width="247" align="center">Type</th><th width="448.2">Description</th></tr></thead><tbody><tr><td>-</td><td align="center"><code>big_map(nat, bytes)</code></td><td>mapping of index and bytes of DEX core methods.</td></tr></tbody></table>
