> 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/standalone-dex/initialization/set_dev_function.md).

# set\_dev\_function

Method for set developer functions, from [Developer module](/smart-contracts/quipuswap-stable-swap-dex/developer-module.md).

There are 2 functions that belong to [Developer setter entrypoints](/smart-contracts/quipuswap-stable-swap-dex/developer-module/developer-setter-entrypoints.md).

```pascaligo
0n -> set_dev_address
1n -> set_dev_fee
```

### Input parameters type

<table><thead><tr><th width="150">Field</th><th width="150" align="center">Type</th><th width="448.2">Description</th></tr></thead><tbody><tr><td>func</td><td align="center"><code>bytes</code></td><td><p>Packed bytes from </p><p><code>type dev_func_t is (dev_action_t * dev_storage_t) -> dev_storage_t</code></p></td></tr><tr><td>index</td><td align="center"><code>nat</code></td><td>Index of the passed method to be set to the <code>dev_lambdas</code> big_map</td></tr></tbody></table>

```pascaligo
type dev_action_t       is
| Set_dev_address         of address
| Set_dev_fee             of nat

type dev_storage_t      is [@layout:comb] record [
  dev_address             : address;
  dev_fee_f               : nat;
  dev_lambdas             : big_map(nat, bytes);
]

type dev_func_t         is (dev_action_t * dev_storage_t) -> dev_storage_t

type set_lambda_func_t  is [@layout:comb] record [
  func                    : bytes;
  index                   : nat;
]
```

{% hint style="warning" %}
This contract method are called only by `admin` of that contract.&#x20;

For the Factory contract `developer` is `admin.`
{% endhint %}
