# Delay

Delay in the Integral is a smart contract that serves as an intermediary layer between users and the Integral pool contracts. All user interactions with the Integral (swap/deposit/withdraw, etc) will be done through the delay contract. In particular, every user action (swap/deposit/withdraw) will experience a delay.

The key parameter (governance controlled) in the delay contract is the delay parameter. It dictates the time period that has to elapse before any particular user action can start to be processed. The delay parameter can range from minutes to a week. This delay parameter is also the time duration of the TWAP window.

Due to the delay mechanism, only the delay contract can directly interact with the pair contract, i.e. all the swap/deposit/withdraw actions have to be invoked by the delay contract, and cannot be triggered by anyone else.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.integral.link/size/concepts/delay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
