主页 学院 指南 什么是流动性池?

什么是 流动性池?

Liquidity pools are what make decentralized exchanges work. Learn how they work, how to earn fees as a liquidity provider, and how to handle risks such as impermanent loss.

12 分钟阅读 2026 年 9 月更新 DeFi 基础

什么是流动性池?

A liquidity pool is a smart contract that holds a reserve of two or more tokens. It enables decentralized trading without a traditional buyer-and-seller order book. When you swap tokens on a decentralized exchange (DEX) such as Uniswap, Balancer or Curve, you are not trading with another person. You are trading against a pool of tokens that other users have deposited.

传统交易所(如纽约证券交易所或Coinbase)使用订单簿。买方提交买单,卖方提交卖单,交易所进行撮合。当许多活跃交易者持续产生买卖压力时,这种方式效果很好。在区块链上,将订单簿保持在链上既昂贵又缓慢,因为每一次下单、撤单和更新都是一笔需要消耗gas的交易。.

流动性池解决了这个问题。交易者无需等待对手方,而是直接与由 自动做市商(AMM)管理的资金池储备进行兑换。AMM公式根据池中代币的比例设定价格。交易一经确认即执行,全天候可用,无需中央运营方或专业做市商(参见来源中的Ethereum.org DeFi页面)。

即时兑换

Trade at any time against pooled reserves. No order matching, no waiting for a counterparty, no minimum trade size.

无许可

Anyone can deposit tokens and become a liquidity provider. At the protocol level there is no account, no minimum balance and no approval step.

赚取费用

流动性提供者可获得每笔交易费用的一部分。池子处理的交易量越大,LP收取的费用就越多。.

流动性池如何运作

The most common type of liquidity pool uses the constant product formula to set token prices. Popularized by Uniswap, the formula is simple: x * y = k, where x is the quantity of token A, y is the quantity of token B, and k is a constant (see the Uniswap documentation in Sources).

1

恒定乘积公式 (x * y = k)

Imagine a pool holding 10 ETH and 30,000 USDC (the prices in this guide are illustrative). The constant product is 10 x 30,000 = 300,000. This value must stay constant after every trade. If someone buys 1 ETH from the pool, they must add enough USDC so that the new balances still multiply to 300,000.

买家取出 1 ETH 后,池中剩余 9 ETH。为保持常数不变:9 x y = 300,000,因此 y = 33,333.33 USDC。买家为 1 ETH 支付了 3,333.33 USDC。请注意,这高于最初隐含的每 ETH 3,000 USDC 的价格。交易相对于池子越大,价格变动就越大。这被称为价格影响或滑点。.

2

价格确定

在恒定乘积池中,任何代币的价格由两种储备的比例决定。如果池中持有 10 ETH 和 30,000 USDC,则 ETH 的隐含价格为 30,000 / 10 = 3,000 USDC。当交易者买入 ETH(从池中移除)时,ETH 余额减少,USDC 余额增加,导致 ETH 价格上升。.

This self-adjusting price mechanism is what lets AMMs work without human intervention. Arbitrageurs constantly compare pool prices with centralized exchanges and other DEXs. If a pool's price drifts from the market price, they trade against it until it lines up, earning the difference and keeping pool prices accurate.

3

对池进行交易

When you swap on a DEX, you send one token to the pool's smart contract and receive another token back. The contract calculates how many tokens you receive from the constant product formula, deducts a small trading fee, and executes the swap in a single atomic transaction.

Deep pools (those with high total value locked, or TVL) offer better prices because larger trades cause less price impact. A pool with $100 million in reserves can absorb a $50,000 trade with very little slippage, while a $100,000 pool would move a lot on the same trade.

提供流动性

任何人都可以成为 流动性提供者(LP) ,通过向池子存入代币。以下是从存款到取款的整个流程。

1

选择一个池和协议

Select a DEX (Uniswap, Balancer, Curve, SushiSwap) and a token pair you want to provide liquidity for. Consider the trading volume, the fee tier and the price exposure you accept. Major pairs such as ETH/USDC are usually among the pools with the most volume and the deepest liquidity.

2

等值存入代币

For standard 50/50 AMM pools, you deposit both tokens in equal dollar value. For example, to add liquidity to an ETH/USDC pool when ETH trades at $3,000, you would deposit 1 ETH and 3,000 USDC. Some protocols, such as Balancer, allow single-sided deposits or unequal ratios in weighted pools.

3

接收 LP 代币

存入资金后,协议会铸造代表你在资金池中所占份额的 LP 代币。如果资金池持有 100 万美元,而你存入 1 万美元,你将获得代表资金池 1% 份额的 LP 代币。在 Uniswap v2 风格的资金池中,这些是可转让的 ERC-20 代币,你可以持有、质押以获取额外奖励,或在 DeFi 的其他地方用作抵押品。而 Uniswap v3 的头寸则由 NFT 表示。.

4

随时提取

要退出,您需要销毁(返还)您的 LP 代币给智能合约,合约会返还您在这两种代币中所占的份额。由于自您存入以来池的比例可能已经发生变化,您收到的代币分配可能与您存入时不同。您的份额还包括在此期间累积的交易费用。.

跳过复杂,保持收益

Providing liquidity can pay, but it takes work. With Coinstancy Dollar Savings, earn 7.50% APY on USDC. Interest accrues every second and is automatically reinvested. No lock-up, withdraw anytime. No impermanent loss, no pool management.

在USDC上赚取7.50%年化收益率

作为流动性提供者赚取费用

The main reason to provide liquidity is trading fee income. Every time someone swaps through a pool, a small fee is charged and shared among LPs in proportion to their share. Knowing the fee structure is essential to judging whether a pool is worth your capital. The tiers below are those of Uniswap v3, per its documentation; other DEXs use their own.

费用层级 费率 适用对象 示例配对
超低 0.01% 稳定币配对 USDC/USDT, DAI/USDC
低 0.05% 相关配对 ETH/stETH, WBTC/BTC
标准版 0.30% 主要配对 ETH/USDC, WBTC/ETH
高 1.00% 异域/波动配对 PEPE/ETH, 新代币

交易量驱动回报

您的手续费收入取决于交易量相对于资金池规模的比例,而不仅仅是 TVL。一个 TVL 为 1000 万美元、日交易量为 500 万美元的资金池,每美元支付给 LP 的费用远高于一个 TVL 为 1 亿美元、交易量同样为 500 万美元的资金池,因为手续费是在更少的流动性美元之间分配的。.

The metric to watch is the volume-to-TVL ratio. A higher ratio means more fee income per dollar of liquidity. You can track it on analytics dashboards such as Dune, DefiLlama or each protocol's own analytics page.

Worked Example (Illustrative)

Suppose an ETH/USDC pool in the 0.05% fee tier holds $300 million and handles $150 million in daily volume. It would collect about $75,000 in fees per day. If fees were shared in proportion to deposits, an LP with a $100,000 position would earn about $25 per day, or about $9,125 over a year, close to a 9.1% APY.

These figures are hypothetical; live TVL and volume for real pools are on the protocol's analytics page and on DefiLlama (see Sources). This raw fee APY also ignores impermanent loss. In volatile markets, impermanent loss can reduce or exceed the fee income. That is why many LPs prefer stablecoin pools for more predictable returns.

流动性池类型

Not all liquidity pools work the same way. Different AMM designs suit different trading needs. Here are the main types you will meet in DeFi.

标准池(Uniswap v2)

The classic 50/50 constant product pool. Liquidity is spread across the entire price range from zero to infinity. Simple and widely used, but capital-inefficient, because most of the liquidity sits at prices far from the current market price and is never used.

使用于:Uniswap v2、SushiSwap、PancakeSwap

集中流动性(Uniswap v3)

LPs choose a price range in which to concentrate their liquidity. This greatly increases capital efficiency, because all your liquidity works in the range where trades actually happen (see the Uniswap concentrated liquidity page in Sources). The trade-off is more active management and higher impermanent loss if the price moves outside your range, where your position stops earning fees.

使用于:Uniswap v3/v4,PancakeSwap v3

加权池(Balancer)

Balancer pools allow custom token weights (for example 80/20 ETH/USDC instead of 50/50). This lets LPs keep a higher exposure to one token while still earning fees. Weighted pools can hold up to eight tokens, per the Balancer documentation, which allows index-style diversification in a single pool.

使用者:Balancer,Beethoven X

稳定池(Curve)

Curve uses a StableSwap formula designed for tokens that should trade at similar prices (stablecoins, wrapped versions of the same asset). This design allows very low slippage on large swaps between pegged assets. LPs in stablecoin pools see very little impermanent loss as long as the pegs hold.

使用方:Curve Finance,Ellipsis

无常损失解析

Impermanent loss is the most misunderstood concept in liquidity provision. It is the difference in value between holding tokens in a liquidity pool and simply holding them in your wallet. Despite the name, the loss becomes permanent if you withdraw while prices are still apart.

The loss occurs because the AMM constantly rebalances your position. As one token rises in price, the pool sells it (traders buy the cheaper token from the pool), leaving you with more of the token that fell and less of the one that rose. The larger the price divergence between the two tokens, the greater the impermanent loss.

可视化示例:ETH/USDC 池

您将1 ETH(以3,000美元的示例价格)和3,000 USDC存入一个50/50的资金池。您的头寸价值为6,000美元。以下是ETH翻倍至6,000美元时会发生的情况(忽略手续费)。.

情景 持有 价值 差额
仅持有(无池) 1 ETH + 3,000 USDC $9,000 基准
在流动性池中 0.707 ETH + 4,243 USDC $8,485 -$515 (5.7%)

该资金池对您的仓位进行了再平衡,在ETH价格上涨时卖出ETH。与单纯持有相比,您现在持有的ETH更少,USDC更多。515美元的差额(约5.7%)是在恒定乘积资金池中价格变动2倍时的无常损失。同期赚取的交易手续费可能会抵消部分或全部损失。.

当无常损失重要时

无常损失在以下情况下最为显著:

  • 一种代币相对于另一种代币的价格出现剧烈波动
  • 该池的交易量低(费用不足以抵消损失)
  • 在重大价格波动后不久您就提取资金
  • 您处于流动性集中且范围狭窄的仓位

稳定币对请避免

Pools where both tokens are stablecoins (USDC/USDT, DAI/USDC) have close to zero impermanent loss, because neither token moves much in price relative to the other while both pegs hold. This is why stablecoin pools on Curve are popular with cautious LPs.

同样,相关性资产(ETH/stETH、WBTC/BTC)的资金池无常损失也很小,因为两种代币的价格会同步变动。如果相关性被打破,例如当流动性质押代币以折价交易时,损失就会重新出现。.

流动性池的风险

Providing liquidity carries real risks. Beyond impermanent loss, there are several others that every LP should understand before depositing funds.

无常损失

As covered above, divergent price moves between the pooled tokens reduce your return compared with simply holding. In extreme cases (one token drops 90%), the loss can be severe.

智能合约风险

Your tokens are held by a smart contract. If that contract has a vulnerability, an attacker could drain the pool. Prefer long-running protocols (Uniswap, Curve, Balancer) with several audits and years of operation. Even audited contracts carry residual risk.

低流动性池

Pools with very low TVL are exposed to price manipulation, large slippage and "rug pulls", where the token creator withdraws all liquidity. Low-liquidity pools also tend to have irregular trading volume, which makes fee income unreliable.

代币风险

If one of the tokens in your pool goes to zero (a stablecoin depegs, a project fails), you end up holding almost only the worthless token. This is worse than just holding, because the AMM keeps buying the falling token as its price drops.

想要收益又不想复杂操作?

Coinstancy Dollar Savings offers 7.50% APY on USDC. Interest accrues every second and is automatically reinvested. No impermanent loss, no token pairing, no positions to manage. Deposit USDC and withdraw anytime.

在Coinstancy开始赚取收益

如何选择流动性池

Pools differ a lot. Here are the main factors to check before depositing your tokens.

1

锁定总价值 (TVL)

TVL is the total capital deposited in a pool. Higher TVL generally means deeper liquidity, lower slippage for traders and a more established pool. Very high TVL also means your share of the fees is smaller. Look for pools with substantial TVL, but not so much that fee income per dollar deposited becomes negligible.

2

交易量

Volume drives fee income. A pool with $50M in TVL but only $100K in daily volume pays very little. Check the 7-day and 30-day average volume for consistency. Spikes from one-off events (such as a token launch) are not durable income. The volume-to-TVL ratio is the most useful single metric for judging LP profitability.

3

费用层级

Higher fee tiers (0.30% or 1%) earn more per trade but attract less volume, because traders prefer lower fees. Lower tiers (0.01% or 0.05%) earn less per trade but attract more volume. The right tier depends on the pair: stablecoin pairs usually sit at 0.01%, major pairs at 0.05% to 0.30%, and volatile or new tokens at 1%.

4

代币质量

Only provide liquidity for tokens you are willing to hold. If a token loses its peg or its project fails, impermanent loss becomes a permanent, near-total loss. Favor established tokens: ETH, WBTC, major stablecoins (USDC, DAI) and governance tokens of long-running protocols.

5

协议声誉

Stick to protocols with a long track record. Uniswap, Curve, Balancer and Aerodrome have run for years and have been audited several times; their live TVL is on DefiLlama. Yield optimizers such as Beefy Finance can automate LP management but add another layer of smart contract risk. Always verify contract addresses and use official protocol interfaces.

常见问题

简而言之,流动性池是什么?
流动性池是存储在智能合约中的加密货币代币储备。与传统的交易所撮合单个买家和卖家不同,去中心化交易所允许交易者随时与这些池进行兑换。任何人都可以向池中存入代币,并赚取其他用户与其兑换时支付的交易费用的一部分。.
我需要提供多少资金才能提供流动性?
Most protocols have no minimum amount to become a liquidity provider. You can start with a few dollars worth of tokens. Keep in mind that gas fees on Ethereum mainnet can be significant, so very small deposits on Layer 1 may not be cost-effective. Layer 2 networks such as Arbitrum, Optimism or Base charge much lower transaction fees (see the Ethereum.org Layer 2 page in Sources), which makes smaller deposits more practical.
我会在流动性池中亏钱吗?
Yes. The main risks are impermanent loss (when holding the tokens separately would have been worth more than providing liquidity), smart contract bugs, and a fall in the price of one of the tokens. Impermanent loss is largest in pools with volatile token pairs. Stablecoin pools (for example USDC/USDT) have very little impermanent loss as long as both coins hold their peg, but they also charge lower fees per trade.
流动性池和质押有什么区别?
Staking means locking a single token to help secure a blockchain network and earning rewards in return. Providing liquidity means depositing a pair of tokens (or more) into a pool so traders can swap between them, and earning trading fees. Staking has no impermanent loss because you hold one asset. Liquidity provision exposes you to impermanent loss, and its return depends on trading volume rather than on network issuance.
流动性池费用是如何计算的?
Each trade against a pool pays a fee, typically between 0.01% and 1% depending on the pool (Uniswap v3 uses 0.01%, 0.05%, 0.30% and 1% tiers, per its documentation). The fee is added to the pool reserves and shared among liquidity providers in proportion to their share of the pool. For example, if you own 1% of a pool that earns $10,000 in fees over a month, your share is $100. Fee income depends on trading volume relative to the size of the pool, not on the total value locked alone.
提供流动性比仅持有代币更好吗?
It depends on the pool, the trading volume and how much the token prices move. If a pool earns high trading fees and the two prices stay close to their starting ratio, providing liquidity beats holding. If one token moves a lot in price, impermanent loss can exceed the fees earned. Stablecoin-to-stablecoin pools give more predictable returns because impermanent loss is very small while both pegs hold.

继续学习

探索更多关于 DeFi 协议、收益策略和加密基础的指南。.

以简单方式获取收益

Liquidity pools are useful but complex. With Coinstancy Dollar Savings, earn 7.50% APY on USDC. Interest accrues every second and is automatically reinvested. No lock-up, withdraw anytime. No impermanent loss, no pool management. The APY shown is the fixed rate currently in force. It may be revised as market conditions evolve; a new rate applies to existing balances as well as new deposits.

在Coinstancy开始赚取收益

来源与延伸阅读

本页面中的数字和声明均基于以下文档。具有时效性的数字(利率、收益率、费用、市场数据)会变动:在据此行动之前,请在来源处核实实时数值。.

  1. Uniswap documentation, How Uniswap works (v2)docs.uniswap.org

    The constant product formula x * y = k, price impact and how LP tokens represent a share of the pool.

  2. Uniswap documentation, Feesdocs.uniswap.org

    0.01%、0.05%、0.30% 和 1% 的费率层级,以及兑换费用如何累积给流动性提供者。.

  3. Uniswap 文档,集中流动性docs.uniswap.org

    Uniswap v3 如何让 LP 选择价格区间并将头寸表示为 NFT。.

  4. Balancer 文档docs.balancer.fi

    Weighted pools with custom token weights and up to eight tokens per pool.

  5. Curve 文档docs.curve.finance

    The StableSwap formula used for pools of assets that trade near the same price.

  6. Ethereum.org, Decentralized finance (DeFi)ethereum.org

    How decentralized exchanges and automated market makers replace order books.

  7. Ethereum.org,Layer 2ethereum.org

    Why Layer 2 networks charge much lower transaction fees than Ethereum mainnet.

  8. DefiLlamadefillama.com

    Live TVL, volume and pool yields for Uniswap, Curve, Balancer, Aerodrome and other DEXs.

最后审核:2026年9月。外部链接在新标签页中打开;Coinstancy 对其内容不承担责任。.

准备好让您的加密资产发挥作用了吗?

Skip the complexity of liquidity pools. Earn 7.50% APY on USDC with Coinstancy Dollar Savings. Interest accrues every second and is automatically reinvested. No lock-up, withdraw anytime.