# Core Innovations

### <mark style="color:blue;">Sandwich Attack Prevention</mark>

Interest Protocol protects users from sandwich attacks by introducing **slot windows** where the bid price remains constant during transactions. This innovative approach discourages malicious bots by making such attacks unprofitable.

### <mark style="color:blue;">Stable Curve</mark>

The protocol uses a hybrid bonding curve for correlated assets, combining:

* **Constant Product Invariant**: Ensures balanced liquidity.
* **Constant Sum Invariant**: Amplifies liquidity around the mid-range for optimal pricing.

### <mark style="color:blue;">Volatile Curve</mark>

For volatile assets, the platform tracks prices with an internal **exponential moving average (EMA)**, concentrating liquidity around the current market price to enhance trading efficiency.

### <mark style="color:blue;">Hooks for Customization</mark>

Inspired by Uniswap V4, **hooks** enable deployers to customize pools with advanced features such as:

* Pre-swap/post-swap computations.
* Fee-on-swap models.
* Custom oracles or limit orders.


---

# 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.interestprotocol.com/overview/movement/interest-protocol-decentralized-exchange-dex/core-innovations.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.
