> For the complete documentation index, see [llms.txt](https://docs.valantis.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.valantis.xyz/amms-and-vaults/staked-amm/lp-positions.md). Agents can also search and read this documentation through its [MCP server](https://docs.valantis.xyz/~gitbook/mcp).

# Providing Liquidity

LP positions are a fungible representation of an LP's shares of the pool's reserves. Pool reserves are broken down into two main categories and four sub-categories.

<figure><img src="https://986147118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1hNJeG4CApeBcE2NlR61%2Fuploads%2Fgit-blob-e2419cd67c8b9ddd38fedaeabff54b7e99b739e2%2FPool%20Reserves%20_%20Docs.png?alt=media" alt=""><figcaption></figcaption></figure>

1. Native Token Reserves
   * Native Token reserves directly stored in the pool.
   * Native Token reserves deposited into a lending market to earn passive yield. As long as the lending protocol allows for instant withdrawals, the pool can readily access these reserves and consider them liquid.
2. LST Reserves
   * LST reserves stored directly in the pool.
   * LST reserves currently locked in the LST Protocol Withdrawal Queue. These reserves cannot be made available to the pool upon request and are considered illiquid.

Liquidity providers can take two actions: **Deposit** to mint a new position or **Withdraw** to burn and redeem a position.

### **LP Deposit**

Wrapped Native Tokens are sent to STEX via the `deposit()` function, and the corresponding LP shares are minted. Optionally, there is a custom DepositWrapper.sol contract where Native Tokens can be sent directly and wrapped before going through STEX. The Deposit UI hosted on app.valantis.xyz supports Native Token deposit & withdrawals using DepositWrapper.sol, allowing for native HYPE deposits and withdrawals.

LPs deposit only the Native Token, but their position is denominated in all four reserve types. When an LP sends Native Token to the pool, their share of the entire pool reserves is calculated using the true rate of LST:Native Token and is minted as fungible shares of the pool.

<figure><img src="https://986147118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1hNJeG4CApeBcE2NlR61%2Fuploads%2Fgit-blob-0a42159940ede772e03d4bfd7b8de526f90eb138%2FGroup%201073717063.png?alt=media" alt=""><figcaption></figcaption></figure>

It's important to note that in the case where the pool has LST reserves, particularly LST reserves in the form of an illiquid withdrawal queue position, the LP has made a portion of their position illiquid upon deposit.

STEX LPs have two withdrawal options:

[**Instant Withdrawals**](https://docs.valantis.xyz/amms-and-vaults/staked-amm/lp-positions/instant-withdrawals.md)**:** When sufficient liquidity is available, the LP receives their Native Token portion immediately and swaps their LST portion for Native Token. The dynamic [Stepwise Swap Fee](https://docs.valantis.xyz/amms-and-vaults/staked-amm/stepwise-fee-module.md) applies to the LST portion only.

[**Queued Withdrawals**](https://docs.valantis.xyz/amms-and-vaults/staked-amm/lp-positions/queued-withdrawals.md)**:** The LP receives their Native Token portion when sufficient liquidity is available. The LST portion enters the withdrawal queue without a withdrawal fee and becomes claimable as the underlying withdrawals settle and earlier LP claims are funded.

Withdrawal types are covered in the following sections.
