# KyberSwap Elastic

{% hint style="warning" %}
**KyberSwap Elastic Security Incident**

On 22 Nov 2023, the Elastic protocol experienced a security incident. More details can be found via our [official channels](https://x.com/KyberNetwork?s=20).
{% endhint %}

{% hint style="warning" %} <mark style="color:orange;">**KyberSwap Elastic was discontinued on 23 Nov 2023**</mark>
{% endhint %}

## Overview

As the AMM space matured, increasingly sophisticated yield generation strategies created a strong demand for customized liquidity positions whereby liquidity providers were able to specify a price range for their liquidity positions. To meet this demand, we launched KyberSwap Elastic which iterated upon the capital amplification capabilities of its Classic counterpart by incorporating emerging [concentrated liquidity](/reference/legacy/kyberswap-elastic/concepts/concentrated-liquidity.md) concepts popularized by Uniswap V3. Through fusing the benefits of each, KyberSwap Elastic enables liquidity providers to determine their preferred liquidity price ranges while still maximizing returns through greater capital efficiency as well as the [auto-compounding of yields](/reference/legacy/kyberswap-elastic/concepts/reinvestment-curve.md).

Through these improved LP incentives, KyberSwap Elastic is also able to further reduce slippage for traders as market forces will incentivize liquidity to be concentrated within the most actively traded price ranges. LPs are able to compound their finely tuned risk-adjusted returns while simultaneously encouraging greater market stability through reduced slippage risks for traders.

{% hint style="success" %}
:zap: **Elastic Zap** :zap:

LPs can now zap into Elastic pools! This means adding liquidity with just a single token without the complexities of sourcing the exact token ratios.

Please visit the [Elastic Zap](/reference/legacy/kyberswap-elastic/concepts/elastic-zap.md) explainer on how KyberSwap is making the LP experience more convenient while minimizing position management costs and risks.

Supported on:

* Arbitrum (ChainID: 42161)
* Polygon PoS (ChainID: 137)
* Optimism (ChainID: 10)
* Avalanche (ChainID: 43114)
* Base (ChainID: 8453)
* Scroll (ChainID: 534352)
  {% endhint %}

{% hint style="info" %}
**Elastic Legacy**

On 17 April 2023, KyberSwap validated a vulnerability reported by a whitehat hacker which could result in double-counting of liquidity deposits under a specific condition. Elastic pools and farms were paused with all user funds being safely withdrawn from the identified contracts. If you still have funds in Elastic Legacy, please refer to [Remove Elastic Legacy Liquidity](/reference/legacy/elastic-legacy/remove-elastic-legacy-liquidity.md) for a guide on how to retrieve your funds.

As of 25 May 2023, all the relevant Elastic protocol and farm contracts have been updated to fix this. Please refer to [Elastic Legacy](/reference/legacy/elastic-legacy.md) for more details.
{% endhint %}

## Next Steps

<details>

<summary>Liquidity Providers</summary>

* [Learn how price ranges affect your yield](/reference/legacy/kyberswap-elastic/concepts/concentrated-liquidity.md)
* [Discover how your yields are being compounded](/reference/legacy/kyberswap-elastic/concepts/reinvestment-curve.md)
* [Understand how Elastic protects you from front runners](/reference/legacy/kyberswap-elastic/concepts/anti-sniping-mechanism.md)
* [Create your own Elastic pool](https://github.com/KyberNetwork/kyberswap-documentation/blob/main/reference/legacy/kyberswap-elastic/broken-reference/README.md)
* [Contribute liquidity to an existing Elastic pool](https://github.com/KyberNetwork/kyberswap-documentation/blob/main/reference/legacy/kyberswap-elastic/broken-reference/README.md)
* [Receive additional rewards by yield farming on Elastic](https://github.com/KyberNetwork/kyberswap-documentation/blob/main/reference/legacy/kyberswap-elastic/broken-reference/README.md)

</details>

<details>

<summary>Traders</summary>

* [Learn how Elastic APR is calculated](/reference/legacy/kyberswap-elastic/concepts/apr-calculations.md)
* [Get superior rates via the integrated KyberSwap Aggregator](https://github.com/KyberNetwork/kyberswap-documentation/blob/main/reference/legacy/kyberswap-elastic/broken-reference/README.md)

</details>

<details>

<summary>Developers</summary>

* [Explore key Elastic concepts](/reference/legacy/kyberswap-elastic/concepts.md)
* [Execute a swap against Elastic pools](https://github.com/KyberNetwork/kyberswap-documentation/blob/main/reference/legacy/kyberswap-elastic/broken-reference/README.md)
* [View Elastic contract code and addresses](/reference/legacy/kyberswap-elastic/contracts.md)

</details>


---

# 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.kyberswap.com/reference/legacy/kyberswap-elastic.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.
