# set\_dev\_function

Method for set developer functions, from [developer-module](https://docs.quipuswap.com/smart-contracts/quipuswap-stable-swap-dex/developer-module "mention").

There are 2 functions that belong to [developer-setter-entrypoints](https://docs.quipuswap.com/smart-contracts/quipuswap-stable-swap-dex/developer-module/developer-setter-entrypoints "mention").

```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 %}
