# start\_dex

This entrypoint allows `deployer` finish setup of a new DEX pool.

Deployed pool searched by sender address (`deployer`) and passed to call tokens of `token_t` type.

{% hint style="info" %}
Underlying tokens should be approved (updated operators) before calling this method.
{% endhint %}

### Call 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>start_dex_param_t</code></td><td>mapping of token index in pool to token type and amount values.</td></tr></tbody></table>

```pascaligo
type input_t_v_t        is [@layout:comb] record [
  token                   : token_t;
  value                   : nat;
]

type start_dex_param_t  is map(nat, input_t_v_t) 
```

{% hint style="warning" %}
This contract method is called only by `deployer` that called [add\_pool](https://docs.quipuswap.com/smart-contracts/quipuswap-stable-swap-dex/factory/initialize-new-dex-flow/add_pool "mention").
{% endhint %}
