# freeze

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

{% hint style="info" %}
The DEX pool contract deploys with `started = False`. This method changes this field.
{% endhint %}

This method is used only to trigger "unfreeze" of the contract after copying DEX lambdas - the last needed lambdas to enable full functionality of DEX pool.

Receives `unit` type.

Inverts value of the `started` field of contract. Called only once after setting all lambdas to DEX pool contract.

### Parameters

<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>-</td><td align="center"><code>unit</code></td><td>Empty param.</td></tr></tbody></table>
