> For the complete documentation index, see [llms.txt](https://limitless.gitbook.io/limitless/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://limitless.gitbook.io/limitless/advanced/providing-liquidity.md).

# Providing Liquidity

When a Liquidity Provider contributes to a tokenA/tokenB pool in Limitless, they are effectively authorizing the Limitless Protocol to represent their liquidity in a corresponding tokenA/tokenB Uniswap pool. Essentially, this action permits the rehypothecation of their tokenA/tokenB LP position by Limitless.&#x20;

In Limitless, **each liquidity position is 'discretized' into bins**, meaning that while a position is divided into multiple positions within Uniswap, it remains recognized as a single consolidated position in Limitless. The concept is illustrated as follows:

<img src="/files/32kaHIUgwacFmJKHFUhl" alt="Each discretized bin in a Limitless liquidity position is a unique liquidity position in Uniswap" class="gitbook-drawing">

The 'tickDiscretization' parameter, specific to each pool, dictates the division granularity of each LP position. For instance, in a tokenA/tokenB pool with a tickDiscretization of 100, a Limitless position bounded by tickLower: -1000 and tickUpper: 1000 would consist of 20 separate positions on Uniswap.

It's important to note that lower tickDiscretization (implying higher granularity) allows for greater maximum leverage for traders and borrowers, but this comes with the trade-off of increased gas costs for LPs due to the necessity of processing multiple bins.

The reasoning for discretized liquidity is outlined in the following section.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://limitless.gitbook.io/limitless/advanced/providing-liquidity.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
