# 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.
