# Liquidity

## Liquidity Providers

Liquidity Providers (LPs) contribute stablecoins and RWA's to pools in order to facilitate swapping. In return they earn a share of fee revenue and liquidity mining rewards.&#x20;

### LP Tokens

When making a deposit, you are adding two assets to the pools reserves, and in return receiving newly minted LP tokens representing your share of the pool reserves. When you withdraw liquidity, you are sending your LP token back to the pool to be burnt, and receiving a proportional share of the current reserves.&#x20;

Remember, your LP tokens are not a claim on the exact tokens you deposit. They are a claim on a share of the pool reserves, which can change in proportion and value (ideally value will increase due to fees, but can decrease due to impermanent loss).&#x20;

### Capital Efficiency

Capital Efficiency, as it pertains to AMM liquidity, is a measure of how effectively an LP's deposited liquidity is used to generate yield. This is often measured as the amount of swap volume an AMM can support for every dollar of liquidity. The more volume an AMM can attract, the more fees that are generated, and the greater the yield for LP's.&#x20;

Early AMM's like UniswapV1 distributed liquidity evenly along the price curve, which meant that the majority of liquidity was never actually used. This was not very capital efficient as LPs would only earn fees on a small portion of their capital, the rest sitting idle. Subsequent AMM's such as UniswapV3 and Curve are all different attempts to best distribute liquidity where its most needed, to maximise capital efficiency.&#x20;

<figure><img src="https://3912201459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqKBa92wmsQoWnuHOatYu%2Fuploads%2FCybwKhpSje1agIdGv8xs%2FStabull-Concentrated-Liquidity.jpg?alt=media&#x26;token=82c4f4a7-81e5-4809-b8c2-bdbe0a2f8569" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="169">AMM</th><th width="247">Liquidity concentrated...</th><th>Details</th></tr></thead><tbody><tr><td>CurveV1</td><td>around a fixed peg price </td><td>for pegged assets such as DAI/USDC</td></tr><tr><td>CurveV2</td><td>around an internal oracle</td><td>for non-pegged assets such as ETH/USDC</td></tr><tr><td>UniswapV3</td><td>within liquidity bands</td><td>users determine where to concentrate liquidity</td></tr><tr><td><mark style="color:blue;">Stabull</mark></td><td><mark style="color:blue;">around an off-chain oracle</mark></td><td><mark style="color:blue;">for stablcoins and RWA's</mark> </td></tr></tbody></table>

Stabull is optimised for stablecoins and RWA's by dynamically recentering liquidity around an off-chain oracle (e.g. the EUR/USD price). For an asset class where the majority of price discovery occurs off-chain this is important in ensuring LP liquidity remains active and slippage remains low. **Real World Assets need Real World Pricing to trade efficiently.**

## Deposit & Withdraw

* To learn how to deposit liquidity into Stabull Pools see the [Adding Liquidity ](https://stabull.finance/knowledgebase/getting-started-guide-adding-liquidity-to-a-pool/?seq_no=2)knowledge base article.
* To learn how to withdraw your liquidity, see the [Remove Liquidity](https://stabull.finance/knowledgebase/getting-started-guide-removing-liquidity-from-a-pool/?seq_no=2) knowledge base article.&#x20;

### Proportional Liquidity

Deposits or withdrawals from the pool must be done in the same proportion to the current reserves of the pool. This is enforced by the contract invariant. For example, if the pool contains 100 USDC and 200 NZDS, then you may only deposit in a 1:2 ratio of USDC and NZDS, such as 1 USDC and 2 NZDS. A pool is perfectly balanced when there is a 50:50 split of each asset in reserves, using the oracle rate for conversion.&#x20;


---

# 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.stabull.finance/amm/liquidity.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.
