> For the complete documentation index, see [llms.txt](https://chainfactory.gitbook.io/chainfactory/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chainfactory.gitbook.io/chainfactory/factory-orientation/deployed-contracts/deploy-management/cooldown.md).

# Cooldown

The management of the cooldown function can help prevent bots from attacking your project, and by allowing you to easily update the variables for this function, you can better protect your project when there are bots overtrading on your project. In this section you can edit:

1. Transaction count to enable the cooldown period
2. Time in which those transactions will take place to enable the cooldown period
3. The freeze period, which is the length of a time a wallet cannot buy/sell your token
4. Check if a wallet is in the cooldown period
5. Remove a wallet from the cooldown period
6. Renounce the cooldown function

<figure><img src="https://2529559254-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDhfU6YPTxz47qre87lVR%2Fuploads%2FsEaByc3G6sr6BDZBVGNS%2F8.Cooldown.png?alt=media&amp;token=48d3cc01-aad7-4872-9dc8-f14172afdd37" alt=""><figcaption></figcaption></figure>

To update the cooldown parameters, enter one or all of the following variables listed below to the applicable textbox, then select the <img src="https://2529559254-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDhfU6YPTxz47qre87lVR%2Fuploads%2F9LLO4lzU5nvHwCAo92RI%2Fimage.png?alt=media&amp;token=f2b50d53-53b3-4afb-9db9-9e1ff2b0fe71" alt="" data-size="line"> button and approve the transaction in your Web3 Wallet.

* Transaction count in the *Txn Count* textbox&#x20;
  * The maximum number of transactions a wallet can make within the set timeframe
* Time in seconds in the *Time* textbox&#x20;
  * The number of transactions can be made within to enable the cooldown feature
* Freeze Period in seconds in the *Freeze Period* textbox
  * The length of time a walle will be frozen for

***

To check if a wallet is in a cooldown period, enter the wallet address in the *Address* textbox and pick the <img src="https://2529559254-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDhfU6YPTxz47qre87lVR%2Fuploads%2F3j5sbhRfOD1RhsnJWzlr%2Fimage.png?alt=media&amp;token=47073b63-46dc-4806-85b0-fe53e2f0f803" alt="" data-size="line"> button. This button will update to show <img src="https://2529559254-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDhfU6YPTxz47qre87lVR%2Fuploads%2Fd0wu4stWhj0pwybfCT97%2Fimage.png?alt=media&amp;token=47e76b0f-c9cb-4570-8a02-f7b8f1446ce9" alt="" data-size="line"> or <img src="https://2529559254-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDhfU6YPTxz47qre87lVR%2Fuploads%2FgtChsic2BkLrPahUrCIo%2Fimage.png?alt=media&amp;token=d220e77d-a8bd-40a1-a529-782fb1b48a46" alt="" data-size="line"> depending on whether that wallet address has been added to the cooldown list.

If a wallet is listed in the cooldown period and you want to remove it from that period, enter the wallet address in the *Address* textbox and select the <img src="https://2529559254-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDhfU6YPTxz47qre87lVR%2Fuploads%2FJv3B2RVrPRPcz5F6E0t0%2Fimage.png?alt=media&amp;token=79962271-79d3-40be-aac1-b22eb76297f0" alt="" data-size="line"> button.

***

To renounce the whitelist function, simply select the <img src="https://2529559254-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDhfU6YPTxz47qre87lVR%2Fuploads%2FMACKv2jrf7r9bwjSfp6x%2Fimage.png?alt=media&amp;token=0b3f31f5-6e11-4edc-9a7b-a8b15bb9f353" alt="" data-size="line"> button and approve the transaction in your Web3 Wallet, keeping in mind that once renounced, none of the variables within this function can no longer be edited.

<figure><img src="https://2529559254-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDhfU6YPTxz47qre87lVR%2Fuploads%2F43w9mihG5rt1ia6nggKv%2Fimage.png?alt=media&amp;token=e366c46b-1f7c-4ad3-afb3-b4e716b5922f" alt=""><figcaption></figcaption></figure>
