Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

ERC-20 LP Token

An ERC-20 LP token is a fungible token minted by an Automated Market Maker (AMM) to represent a liquidity provider's proportional share of a pooled asset pair.
Chainscore © 2026
definition
DEFINITION

What is an ERC-20 LP Token?

An ERC-20 LP Token is a standard Ethereum token representing a user's share in a liquidity pool on a decentralized exchange (DEX).

An ERC-20 LP Token (Liquidity Provider Token) is a fungible digital asset minted and issued by an automated market maker (AMM) protocol when a user deposits an equal value of two tokens into a liquidity pool. This token acts as a receipt or proof of ownership for the deposited assets, entitling the holder to a proportional share of the pool's total reserves and any accrued trading fees. Common examples include Uniswap's UNI-V2 tokens or SushiSwap's SLP tokens, which are fully compatible with the ERC-20 standard for seamless integration with wallets and other DeFi applications.

The primary function of an LP token is to enable non-custodial liquidity provision. When you add liquidity, the protocol locks your assets and mints LP tokens representing your stake. To withdraw your original deposit plus your portion of the fees, you must burn the corresponding LP tokens. The token's value is derived from the underlying assets in the pool, meaning its price fluctuates based on the pool's reserve ratios and the performance of the constituent tokens—a dynamic known as impermanent loss.

Beyond simple proof-of-deposit, LP tokens are foundational to DeFi composability. They can be used as collateral for borrowing on lending platforms like Aave or Compound, staked in yield farming protocols to earn additional token rewards, or utilized in more complex financial strategies. This utility transforms static capital into productive, yield-generating assets within the Ethereum ecosystem. The security and behavior of these tokens are governed entirely by the smart contracts of the issuing AMM.

When interacting with LP tokens, users must audit the underlying smart contract of both the AMM and the token itself. Risks include smart contract vulnerabilities, impermanent loss, and the potential for rug pulls in unaudited pools. It is also critical to understand that LP tokens represent a claim on a portion of the pool, not on specific token amounts, which are determined at the time of redemption based on the current pool ratios.

how-it-works
LIQUIDITY PROVISION

How an ERC-20 LP Token Works

An ERC-20 LP (Liquidity Provider) token is a blockchain-based receipt that represents a user's share of a liquidity pool in an Automated Market Maker (AMM) like Uniswap or SushiSwap.

An ERC-20 LP token is a fungible token, minted according to the ERC-20 standard, that acts as a proof of ownership and a claim on the underlying assets within a specific liquidity pool. When a user deposits an equal value of two tokens (e.g., ETH and USDC) into a decentralized exchange's smart contract, the contract mints and sends these LP tokens to the provider's wallet. The quantity of LP tokens received is proportional to the provider's contribution relative to the total pool liquidity. Holding these tokens is essential for later reclaiming the deposited assets, plus any accrued trading fees.

The primary function of an LP token is to enable the seamless tracking and transfer of liquidity positions. Its balance in a user's wallet represents their exact share of the pool. As the pool's composition changes due to trades—where arbitrageurs balance the price—the underlying value of each LP token fluctuates. This introduces impermanent loss, a risk where the value of the deposited assets diverges from simply holding them. LP tokens are also composable DeFi primitives, meaning they can be used as collateral in lending protocols, staked in yield farms for additional token rewards, or traded on secondary markets.

From a technical perspective, the LP token's smart contract typically includes standard ERC-20 functions like balanceOf and transfer, alongside crucial pool-specific functions. The mint function is called upon deposit, calculating the amount to issue based on the current pool supply. The burn function is invoked during withdrawal, destroying the LP tokens and releasing the corresponding share of both pooled assets back to the user. This mint-and-burn mechanism ensures the LP token supply always accurately reflects the total liquidity in the pool.

In practice, managing LP tokens involves constant monitoring. Providers must consider the fee accrual mechanism, where a small percentage (e.g., 0.3%) of each trade is distributed proportionally to all LP token holders, increasing the value of the pool's underlying assets. To withdraw, a user submits a transaction to the pool's contract, specifying the amount of LP tokens to burn. The contract then calculates the user's share, sends the two tokens (adjusted for fees and any impermanent loss), and permanently destroys the submitted LP tokens, completing the liquidity provision cycle.

key-features
MECHANICAL PROPERTIES

Key Features of ERC-20 LP Tokens

An ERC-20 LP (Liquidity Provider) token is a fungible token representing a user's share in a decentralized exchange liquidity pool. These tokens are the foundational accounting mechanism for Automated Market Makers (AMMs).

01

Proof of Liquidity

An ERC-20 LP token is a receipt or claim ticket that proves a user's contribution to a liquidity pool. It is minted when a user deposits assets and burned when they withdraw. The token balance represents a proportional share of the entire pool's reserves.

  • Example: Depositing ETH and USDC into a Uniswap V2 pool yields UNI-V2 LP tokens.
  • Key Property: Holding the LP token is the sole proof of ownership; losing it means forfeiting the underlying assets.
02

Automated Fee Accrual

LP tokens automatically accumulate trading fees. As trades occur in the pool, a fee (e.g., 0.3% on Uniswap) is added to the reserves. This increases the total value of the pool, meaning each LP token becomes redeemable for more of the underlying assets over time, assuming impermanent loss is less than fees earned.

  • Passive Income: Fees are compounded directly into the pool's reserves.
  • Redemption Value: The value of 1 LP token = (Pool Reserve A * Your LP Share) + (Pool Reserve B * Your LP Share).
03

Composability & Secondary Markets

As standard ERC-20 tokens, LP tokens are highly composable. They can be integrated into other DeFi protocols, creating layered financial products known as DeFi Legos.

Common Uses:

  • Collateral: Deposited in lending protocols like Aave or Compound to borrow other assets.
  • Yield Farming: Staked in a protocol's gauge or farm to earn additional token rewards.
  • Trading: Some LP tokens have secondary markets on DEXs themselves.
04

Underlying Asset Ratio & Impermanent Loss

The LP token's value is tied to the changing ratio of the two pooled assets. If the market price of one asset diverges significantly from the pool's ratio, LPs face impermanent loss—a divergence in value versus simply holding the assets.

  • Mechanism: The AMM's constant product formula (x * y = k) automatically rebalances the pool, selling the appreciating asset and buying the depreciating one.
  • Risk Metric: Impermanent loss is the opportunity cost measured at withdrawal. Profits from fees may or may not offset this loss.
05

Governance & Protocol Integration

LP tokens often confer governance rights within their native protocol. Holding LP tokens can grant voting power on proposals related to fee structures, treasury management, or protocol upgrades.

Examples:

  • Curve Finance: veCRV governance tokens are obtained by locking CRV LP tokens.
  • Uniswap V3: Certain LP positions (as NFTs) can be used in governance. This aligns incentives, as those with the most skin in the game (liquidity providers) help steer the protocol.
06

Technical Standards & Variations

While all LP tokens are ERC-20, their underlying mechanics vary by AMM design:

  • Uniswap V2: Fungible UNI-V2 tokens for uniform pools.
  • Uniswap V3: Non-fungible (ERC-721) positions due to concentrated liquidity.
  • Balancer: LP tokens can represent shares in pools with 2-8 assets.
  • Curve: LP tokens for stablecoin/pegged-asset pools with low slippage formulas. The ERC-20 interface ensures wallets and explorers can uniformly display balances, but the redemption logic is pool-specific.
primary-use-cases
ERC-20 LP TOKEN

Primary Use Cases

ERC-20 LP tokens are fungible tokens that represent a user's share of a liquidity pool. They are primarily used to track ownership, enable yield farming, and facilitate DeFi composability.

01

Proof of Liquidity Provision

An ERC-20 LP token is a receipt that proves a user has deposited assets into an Automated Market Maker (AMM) pool like Uniswap or SushiSwap. It is minted upon deposit and burned upon withdrawal, with its quantity representing the user's proportional share of the pool's total reserves. This mechanism allows for the trustless and verifiable tracking of liquidity provider (LP) positions on-chain.

02

Yield Farming & Staking

LP tokens are the primary vehicle for yield farming. Users can stake their LP tokens in a separate liquidity mining or gauge voting contract to earn additional protocol rewards, typically in the form of a governance token. This creates a secondary income stream on top of the trading fees earned from the underlying pool. For example, staking a USDC/ETH LP token in a Curve gauge to earn CRV tokens.

03

Collateral in Lending Protocols

LP tokens can be used as collateral to borrow assets on lending platforms like Aave or Compound. This allows liquidity providers to access liquidity without selling their pool position, a strategy known as collateralized debt positions (CDPs). The value of the collateral is based on the underlying assets in the pool, minus a liquidation threshold to account for price volatility and impermanent loss risk.

04

Composability & Tokenized Position

By being a standard ERC-20 token, LP positions become composable and transferable across the DeFi ecosystem. They can be:

  • Traded on secondary markets.
  • Wrapped into other token standards (e.g., ERC-721 for NFT representation).
  • Integrated into vault strategies (e.g., Yearn Finance) for automated yield optimization.
  • Used in delegated voting systems where LP token holders vote on pool incentives.
05

Fee Accrual & Redemption

The value of an LP token appreciates relative to the assets held in the pool as trading fees accumulate. When a user redeems (burns) their LP tokens, they receive a proportional share of the pool's current reserves, which includes their original deposit plus accrued fees. This mechanism ensures fees are distributed pro-rata to all LPs without requiring manual claims for small, continuous earnings.

DEFINITION & COMPARISON

ERC-20 LP Token vs. Native Protocol Token

A comparison of liquidity provider tokens, which represent a share in a liquidity pool, and a blockchain's primary utility and governance asset.

FeatureERC-20 LP TokenNative Protocol Token

Primary Function

Represents a liquidity provider's share in an Automated Market Maker (AMM) pool

Serves as the base-layer asset for transaction fees, staking, and governance on its native chain

Token Standard

ERC-20 (or equivalent on other EVM chains)

Native to the protocol's base layer (e.g., ETH, SOL, AVAX)

Creation/Minting

Minted upon liquidity deposit; burned upon withdrawal

Pre-mined at genesis or issued via protocol-defined emission schedule

Inherent Value Backing

Underlying pool assets (e.g., ETH/USDC pair)

Derived from network security, utility, and monetary policy

Typical Utility

Fee accrual from pool trades, farming rewards, governance for specific pool/DEX

Network security (staking), gas fees, protocol-wide governance

Custodial Risk

Subject to smart contract risk of the DEX/pool

Subject to base-layer consensus and protocol risk

Example

UNI-V2 (Uniswap v2 LP token)

ETH (Ethereum), SOL (Solana)

ecosystem-usage
ERC-20 LP TOKEN

Ecosystem Usage & Examples

ERC-20 LP tokens are the foundational building blocks of decentralized finance (DeFi), representing a user's share in a liquidity pool. Their utility extends far beyond simple proof-of-deposit.

01

Yield Farming & Liquidity Mining

LP tokens are the primary vehicle for yield farming. Users deposit them into specialized smart contracts (farms) to earn additional rewards, often in the form of a protocol's native governance token. This mechanism, known as liquidity mining, is used to bootstrap liquidity and distribute governance power.

  • Example: Providing ETH/USDC liquidity on Uniswap V3 to receive UNI-V3-POS tokens, then staking those tokens in a Uniswap farm to earn UNI governance tokens.
02

Collateral in Lending Protocols

LP tokens can be used as collateral to borrow other assets on decentralized lending platforms like Aave or Compound. This allows liquidity providers to gain leveraged exposure or access capital without selling their underlying pool position.

  • Mechanism: The protocol values the LP token based on the underlying assets and applies a loan-to-value (LTV) ratio to determine borrowing power.
  • Risk: If the value of the pooled assets drops, the position may be liquidated.
03

Governance Voting Rights

For many Decentralized Autonomous Organizations (DAOs), holding specific LP tokens grants governance rights. This aligns incentives by giving a voice to those who have provided liquidity to the protocol's core trading pairs.

  • Example: Curve Finance's veCRV model, where users lock CRV tokens obtained from providing liquidity to Curve pools to vote on gauge weights and earn boosted rewards.
04

Composability & Layer 2 Solutions

LP tokens enable DeFi composability, where a position from one protocol becomes an input for another. This is amplified on Layer 2 networks and alternative Layer 1s, where LP tokens facilitate fast, low-cost cross-protocol interactions.

  • Workflow: A user provides liquidity on a DEX on Arbitrum, receives an LP token, and then uses it as collateral in a lending market on the same network, all within a single transaction bundle.
05

Underlying Asset Redemption

The core function of an LP token is to be burned or returned to the issuing AMM in exchange for a proportional share of the underlying assets in the pool, minus any accrued fees. This process is often called removing liquidity or burning LP tokens.

  • Formula: The amount received is determined by the constant product formula (x * y = k) and the holder's share of the total LP token supply.
06

Fee Accrual & Automated Market Makers (AMMs)

LP tokens represent a claim on the trading fees generated by the associated liquidity pool. In Automated Market Makers (AMMs) like Uniswap or SushiSwap, a 0.01%-1% fee is charged on each swap and is automatically added to the pool's reserves, increasing the value represented by each LP token.

  • Passive Income: Fee accrual happens automatically; the value is realized when the LP tokens are redeemed.
security-considerations
ERC-20 LP TOKEN

Security & Risk Considerations

An ERC-20 LP token is a liquidity provider token that represents a user's share in a decentralized exchange (DEX) liquidity pool. While essential for DeFi, holding these tokens exposes users to unique financial and technical risks.

01

Impermanent Loss

The primary financial risk for liquidity providers, where the value of deposited assets diverges from simply holding them. This occurs when the price ratio of the two pooled assets changes. The greater the volatility, the more significant the loss relative to a holding strategy. It is 'impermanent' because the loss is only realized upon withdrawal from the pool.

  • Example: Providing ETH/DAI liquidity when ETH price rises sharply means you will have less ETH and more DAI than you deposited, missing out on potential gains.
02

Smart Contract Risk

LP tokens are minted and managed by smart contracts that can contain bugs or vulnerabilities. Exploits like reentrancy attacks, logic errors, or flawed oracle integrations can lead to the complete loss of the underlying assets. This risk is inherent to the specific DEX protocol (e.g., Uniswap, SushiSwap) and its audit history.

  • Mitigation: Users should assess the protocol's security audits, bug bounty programs, time-tested codebase, and governance track record before providing liquidity.
03

Composability & Approval Risks

LP tokens are often used as collateral in other DeFi protocols (e.g., lending, yield farming). This introduces layered risks:

  • Infinite Approval: Granting unlimited spending approval to a pool's router contract can be exploited if that contract is compromised.
  • Protocol Dependency: A failure or exploit in a secondary protocol (where the LP token is staked) can lead to loss, even if the original DEX is secure.
  • Integration Risk: Complex yield strategies that automatically move LP tokens between protocols increase the attack surface.
04

Centralization & Admin Key Risk

Many DEX pools, especially for newer or long-tail assets, have admin functions controlled by a multi-sig wallet or a DAO. These privileges can include:

  • Changing pool parameters (e.g., swap fees).
  • Pausing the contract in an emergency.
  • In extreme cases, upgrading the contract logic. A compromise of these admin keys or malicious governance action poses a direct threat to user funds. This is a form of custodial risk within a non-custodial system.
05

Oracle Manipulation

Some advanced AMM designs or lending protocols that accept LP tokens as collateral rely on price oracles to determine the value of the LP share. If an attacker can manipulate the oracle price (e.g., via a flash loan attack on a related market), they can artificially inflate the collateral value and drain funds from a lending protocol. This makes the LP token's value contingent on external data feeds.

06

Liquidity & Slippage

While not a direct security hack, illiquidity is a critical risk factor. In a low-liquidity pool:

  • Large trades cause high slippage, eroding the value of the pool (and thus the LP token).
  • The pool becomes a target for sandwich attacks, where bots front-run and back-run trades to extract value from LPs.
  • Exiting the position (burning the LP token) may itself be costly if the pool lacks sufficient depth, locking the provider in a suboptimal position.
ERC-20 LP TOKENS

Common Misconceptions

Liquidity provider tokens are a fundamental DeFi primitive, but their mechanics and risks are often misunderstood. This section clarifies key concepts around ownership, value, and security.

An ERC-20 LP token is not a simple receipt; it is a pro-rata ownership claim on the entire liquidity pool. When you deposit assets into an Automated Market Maker (AMM) like Uniswap, you receive LP tokens that represent your share of the pooled reserves. The number of tokens you receive is proportional to your contribution relative to the total liquidity. These tokens are fungible and can be transferred or traded, but crucially, they do not entitle you to withdraw the exact same assets you deposited. You are entitled to a percentage of the pool's total value, which changes as trades occur and impermanent loss accrues.

ERC-20 LP TOKEN

Technical Details

A deep dive into the technical specifications, mechanics, and usage of ERC-20 Liquidity Provider (LP) tokens, the standard representation for a user's share in an Automated Market Maker (AMM) liquidity pool.

An ERC-20 LP token is a standard ERC-20 token minted by a decentralized exchange's Automated Market Maker (AMM) to represent a liquidity provider's proportional share of a specific liquidity pool. When a user deposits an equal value of two tokens (e.g., ETH and USDC) into a pool, the protocol issues these LP tokens as a receipt and ownership certificate. The quantity of LP tokens minted is proportional to the provider's contribution relative to the total pool liquidity. Holding these tokens entitles the provider to a share of the pool's trading fees and the right to redeem the underlying assets at any time by burning the LP tokens.

Key Functions:

  • Proof of Deposit: Serves as a verifiable, on-chain record of a user's liquidity contribution.
  • Value Accrual: The token's underlying value increases as trading fees accumulate in the pool.
  • Composability: Being an ERC-20 standard, LP tokens can be integrated into other DeFi protocols for lending, collateralization, or yield farming.
ERC-20 LP TOKEN

Frequently Asked Questions (FAQ)

Essential questions and answers about ERC-20 Liquidity Provider (LP) tokens, the digital receipts that represent a user's stake in an Automated Market Maker (AMM) liquidity pool.

An ERC-20 LP Token is a fungible token, compliant with the ERC-20 standard, that acts as a digital receipt and proof of ownership for a user's contribution to a liquidity pool on a decentralized exchange (DEX) like Uniswap or SushiSwap. When you add an equal value of two assets (e.g., ETH and USDC) to a pool, the AMM mints and sends you LP tokens proportional to your share of the total pool. These tokens are staked to earn a portion of the trading fees generated by the pool. To reclaim your underlying assets, you must burn (redeem) your LP tokens.

How it works:

  1. Deposit: User deposits assets A and B into a smart contract pool.
  2. Minting: The pool contract mints new LP tokens based on the user's share.
  3. Staking/Earning: The user holds or stakes the LP tokens to accrue fees.
  4. Redemption: The user returns the LP tokens to the contract to burn them and withdraw their share of assets A and B, which may have changed in composition due to trading (impermanent loss).
ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team