token LP
Token LP, czyli token puli płynności, to aktywo cyfrowe reprezentujące wkład użytkownika w pulę płynności na zdecentralizowanej giełdzie (DEX).
An LP token, or [Liquidity Pool](/pl/terms/liquidity-pool) token, is a type of cryptographic token issued by decentralized exchanges (DEXs) that utilize an automated [market maker](/pl/terms/automated-market-maker) (AMM) model. When a user provides liquidity to a trading pair (e.g., ETH/USDC) on a DEX like Uniswap or SushiSwap, they deposit an equivalent value of both assets into a shared liquidity pool. In return for providing these assets and facilitating trades, the liquidity provider (LP) receives LP tokens. These LP tokens represent the user's proportional share of that specific liquidity pool. The number of LP tokens minted is based on the ratio of the deposited assets to the total assets in the pool. LP tokens are essential because they act as a receipt and proof of ownership of the underlying deposited assets. Holders of LP tokens are typically entitled to a share of the trading fees generated by the pool, proportional to their stake. These fees are often automatically distributed back into the pool, increasing its total value, and thus the value of the LP tokens over time. LP tokens can often be staked in yield farming protocols to earn additional rewards, or they can be traded on secondary markets, though their value fluctuates with the underlying assets and the pool's performance. Trade-offs involve impermanent loss, where the value of deposited assets can decrease compared to simply holding them if the price ratio between the two assets changes significantly.
graph LR
Center["token LP"]:::main
Pre_cryptography["cryptography"]:::pre --> Center
click Pre_cryptography "/terms/cryptography"
Rel_liquidity_pool["liquidity-pool"]:::related -.-> Center
click Rel_liquidity_pool "/terms/liquidity-pool"
Rel_yield_farming["yield-farming"]:::related -.-> Center
click Rel_yield_farming "/terms/yield-farming"
Rel_liquidity_pools["liquidity-pools"]:::related -.-> Center
click Rel_liquidity_pools "/terms/liquidity-pools"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 Sprawdzenie wiedzy
🧒 Wyjaśnij jak 5-latkowi
Żeton LP to taki specjalny bilecik, który dostajesz, gdy pożyczasz swoje zabawki (jak klocki czy figurki) do wspólnej skrzyni z zabawkami na placu zabaw. Ten bilecik potwierdza, że masz udział w zabawkach w tej skrzyni, i dostajesz małą część każdej nowej zabawki, którą inni do niej dodadzą.
🤓 Expert Deep Dive
LP tokens are issued to liquidity providers (LPs) when they deposit tokens into a liquidity pool. These tokens serve as proof of the LP's contribution and their share of the pool. They are essential in the functioning of automated market makers (AMMs), which are the backbone of most DEXs.
LP tokens gained prominence with the rise of DeFi and AMMs. They allow LPs to earn fees from trading activity within the pool, proportional to their share of the total liquidity. Furthermore, LP tokens are often used in yield farming, where they can be staked to earn additional rewards.
The value of an LP token is derived from the underlying assets in the liquidity pool and the fees generated by trading. When an LP decides to withdraw their liquidity, they redeem their LP tokens for their proportional share of the pool's assets, plus any accumulated fees.
LP tokens can also be traded on secondary markets, allowing for price discovery and providing liquidity to the LP token itself. The price of an LP token can fluctuate based on the performance of the underlying assets and the overall demand for the pool.