什么是 Balancer?
Balancer 是一个去中心化金融(DeFi)协议,运行自动做市商(AMM):一组智能合约,允许用户通过资金池流动性进行代币兑换,而非撮合订单。它于 2020 年 3 月在以太坊上线,由 Balancer Labs 的 Fernando Martinelli 和 Mike McDonald 创立。其独特理念是加权资金池。第一代 AMM 以等值方式持有两种代币,而 Balancer 资金池可以按自定义权重持有多种代币,依据 Balancer 白皮书(见来源)。.
Balancer 将 Uniswap 使用的恒定乘积公式推广为加权恒定均值公式。根据 Balancer 文档,加权池可以以任意比例持有最多八种代币:例如 80% ETH 和 20% USDC,或三种资产按 33/33/34 的比例。由于套利交易使池保持在其目标权重,流动性提供者持有的类似于一个自我再平衡的指数基金,该基金收取交换费用而非支付管理费。.
可编程流动性
Pools can be created with custom token weights, swap fees and logic. Developers can build new AMM curves and, in v3, attach hooks to existing pool types.
投资组合管理器
每当资金池偏离其目标权重时,套利者就会对其进行交易。流动性提供者(LP)从这些交易中赚取费用,而不是为再平衡付费。.
资本高效
智能订单路由将交易拆分到多个资金池以寻找更优价格。金库仅结算多跳交换的净代币转移,从而节省 gas。.
Balancer 的工作原理
Balancer 的核心是其加权数学,这是恒定乘积模型(x * y = k)的一种推广。池中的每个代币都有一个权重,池在每次交换中保持其余额的加权乘积恒定。这使得池可以持有不均衡的分配,同时仍能为其任意一对代币报价。该公式在白皮书和 Balancer 文档中有所阐述(见来源)。.
当交易者在 Balancer 上进行兑换时,智能订单路由(SOR)会在可用资金池中寻找最高效的路径。对于大额交易,它可能会将订单拆分到多个资金池,以减少价格影响。.
加权池
The original pool type. Each token has a weight (for example 80/20 or 60/20/20) that sets its share of the pool's value. The pool's invariant keeps the weighted product of the token balances constant.
80/20 ETH/USDC 资金池旨在将其价值的 80% 保持在 ETH 中,20% 保持在 USDC 中。随着市场价格变动,套利者会与资金池进行交易,直到其恢复到这些权重,而 LP 在每笔交易中赚取兑换费。.
智能订单路由
SOR 会查询 Balancer 资金池,为交易寻找最佳路径。对于大额兑换,它可以将订单拆分到多个资金池,以减少价格影响。交易者获得更好的价格,更多资金池也能获得交易量。.
1inch、ParaSwap 和 CoW Protocol 等聚合器也会将部分交易通过 Balancer 池进行路由,因此这些池会从从未打开 Balancer 应用的用户那里获得交易量。.
金库
Vault 于 2021 年在 Balancer v2 中引入,是一个单一合约,负责持有并记录每个 Balancer 池的代币。池合约仅包含定价逻辑。根据 Balancer 文档,这种拆分正是使其余设计成为可能的关键。.
通过 Vault 进行的多跳交换仅在交易结束时转移净差额,从而降低 gas 成本。Vault 还提供闪电贷:在同一笔交易内借入并偿还的代币。.
闪电贷与批量兑换
Batch swaps run several swaps in one transaction and settle only the net token transfers. This makes routes with many hops cheaper than running each hop separately.
Flash loans let arbitrageurs borrow tokens from the Vault for the length of one transaction, use them to close a price gap between pools, and repay them before the transaction ends. This keeps pool prices close to the wider market. The flash loan fee is set by governance, per the Balancer docs.
Balancer池类型
Balancer 支持多种资金池类型,每种类型针对不同的用途而构建。当前列表以及哪些类型已被弃用,请参见 Balancer 文档(见来源)。.
加权池
根据 Balancer 文档,这是最通用的资金池类型,最多可包含八种代币,并支持自定义权重。它适用于赚取交易手续费的指数型投资组合。一种常见的配置是 80/20 资金池,将协议的治理代币与 ETH 配对;Balancer 自身就为 BAL/WETH 使用了这种配置。.
稳定池
专为接近1:1比例交易的代币而设计,例如稳定币(USDC、DAI、USDT)或与ETH配对的流动性质押代币(wstETH/WETH)。稳定池使用StableMath曲线,使价格紧密锚定在锚定值附近,因此相似资产之间的兑换滑点更低。在v2中,此类型称为可组合稳定池。.
线性池(v2,已弃用)
一种 v2 池类型,使用线性定价曲线将基础代币(例如 DAI)与其生息包装代币(例如来自 Aave 的 aDAI)配对。线性池是 v2 增强池的构建模块。根据 Balancer 论坛,在 2023 年 8 月披露漏洞后,Balancer 已弃用它们。v3 用流动性缓冲区取代了它们。.
提升池
Boosted pools send liquidity that is not needed for swaps to a lending market such as Aave, so LPs earn both swap fees and lending interest. In v3, a 100% boosted pool holds its whole balance in yield-bearing tokens (ERC-4626 vault shares), and a buffer of the underlying token handles swaps, per the Balancer v3 docs.
在 Balancer 上提供流动性
流动性提供者(LP)将代币存入资金池,并获得 Balancer 资金池代币(BPT)作为回报。BPT 是一种 ERC-20 代币,代表您在资金池中的份额。其价值随着资金池收取兑换手续费而增长。.
如何提供流动性
选择池子
在 Balancer 应用中浏览资金池。查看年化收益率(APR)、总锁仓价值(TVL)、代币组合和资金池类型。高 APR 通常伴随着更高的风险。.
存入代币
您可以按比例存入池中所有代币,也可以存入单一代币。单一代币存款更简单,但会根据池的深度产生一定的价格影响。.
赚取 & 质押
You receive BPT for your share. Stake the BPT in the pool's gauge to earn BAL rewards on top of swap fees, if the pool has a gauge.
了解暂时性损失
无常损失(IL)是指在你存入资金后,当代币价格出现分化时,你的资金池份额价值与单纯持有相同代币的价值之间的差额。价格变动越大,差额就越大。资金池权重会改变你承担的无常损失程度:
50/50 池(更高的无常损失)
If one token doubles in price against the other, a 50/50 pool loses about 5.7% compared with holding, using the weighted pool formula in the Balancer docs. These pools tend to earn the most fees from two-way trading but carry more IL.
80/20 池(更低的无常损失)
当池中80%为波动性代币时,同样的翻倍根据相同公式产生的无常损失约为3.3%。该池保留了大部分对发生变动代币的敞口。这是许多协议为其治理代币使用80/20池的原因之一。.
BAL 代币 & veBAL 治理
BAL is the governance token of the Balancer protocol. Since 2022 its main use is the vote-escrow model, veBAL, which rewards holders who lock their position for longer. The full tokenomics are in the Balancer docs (see Sources).
BAL 代币经济学
veBAL 系统
To get veBAL, you first provide liquidity to the 80/20 BAL/WETH pool and receive BPT. You then lock that BPT for a period of up to one year. The longer the lock, the more veBAL you receive, and the amount decays as the lock runs down, per the Balancer docs.
对 gauge 权重进行投票,将 BAL 排放引导至选定的池
Receive a share of protocol fees; the split is set by governance vote (current figures on the forum)
Boost BAL rewards on your own staked liquidity by up to 2.5 times
通过 Snapshot 对 Balancer 改进提案 (BIP) 进行投票
Gauge 投票 & 投票激励
与Curve类似,围绕Balancer也发展出了一个gauge投票市场。一个希望为其池子获得更多BAL排放的协议,可以通过Hidden Hand等投票激励平台,向为该gauge投票的veBAL持有者提供付款。这些付款在协议费用之外增加了veBAL持有者的收入。Aura Finance代表存款人汇集veBAL,并将boost和投票激励传递给他们(见来源)。.
Balancer v2 对 v3
Balancer 已发布三个主要版本。v1(2020 年)每个池有一个合约。v2(2021 年)引入了 Vault。根据 Balancer v3 文档,v3 于 2024 年 12 月在以太坊主网上线,新增了 hooks、更简单的池创建以及原生 boosted 池。v2 池仍与 v3 并行运行。.
功能
Balancer v2
Balancer v3
The most notable v3 feature is the hooks system. A hook is a separate contract that runs custom logic before or after a pool operation (a swap, a deposit or a withdrawal) without a new pool type. Per the Balancer v3 docs, this makes it easier to build things like dynamic swap fees or pools that adjust their own liquidity.
Balancer 上的收益策略
Balancer 流动性提供者可以同时从多个层级获得收益。每个层级都有其自身的来源和风险。每个池的实时 APR 数据显示在 Balancer 应用中,实时 TVL 显示在 DefiLlama 上(参见来源)。.
兑换费用
The base layer. Every trade through your pool pays a swap fee that stays in the pool, so the value of your BPT rises. Each pool sets its own fee within the range the protocol allows (0.0001% to 10% in v2, per the Balancer docs). Nothing needs to be claimed.
BAL 发行 & 计量质押
将您的 BPT 质押到资金池的 gauge 中以赚取每周 BAL 奖励。资金池获得的奖励多少取决于指向其 gauge 的 veBAL 投票。根据 Balancer 文档,veBAL 持有者最多可将自身奖励提升 2.5 倍。.
提升池收益
In a boosted pool, liquidity not needed for swaps sits in a lending market such as Aave or Morpho and earns interest. That interest comes on top of swap fees, so one deposit earns from two sources.
可组合性 & 高级策略
BPT is a standard ERC-20 token, so it can be used in other protocols. Some common patterns, each with its own extra risk:
嵌套池
将一个池的 BPT 作为另一个池中的代币使用,从而使一次存款跨越多个池。.
Aura 金融
根据 Aura 文档,将 BPT 存入 Aura 即可获得增强的 BAL 奖励以及 AURA 代币,而无需自行锁定 veBAL。.
BPT 作为抵押品
一些借贷市场接受特定的BPT作为抵押品,因此您可以借入资金以LP头寸为抵押,同时该头寸仍在赚取费用。.
收益聚合器
Platforms such as Beefy auto-compound Balancer rewards back into the position for a performance fee.
使用 Balancer 的风险
与所有DeFi协议一样,Balancer也存在风险。在向任何资金池存入资金之前,请先了解这些风险。.
无常损失
当代币价格偏离您存入时的比例时,您的池份额价值会低于直接持有这些代币。如果您以该新比例提取,损失将变为永久性的。波动性交易对带来的无常损失最大。相关性交易对(稳定币、LST/ETH)以及偏向您偏好资产的加权池可以减少无常损失。.
智能合约风险
Balancer 的合约已由 Trail of Bits、OpenZeppelin 和 Certora 等公司审计(报告位于 GitHub 仓库中,参见来源),并且该协议设有漏洞赏金计划。审计并不能消除风险。2023 年 8 月,部分 v2 增强池中的一个缺陷被利用;2025 年 11 月,v2 可组合稳定池中的一个舍入缺陷在多个网络上被利用,造成超过 1 亿美元的损失,详见 Balancer 论坛上的事后分析。请检查您使用的是哪个池版本,并阅读最新的安全公告。.
池特定风险
资金池的创建无需许可:任何人都可以创建资金池。某些资金池包含带有恶意合约的代币,这些代币具有变基供应量或转账手续费逻辑,在金库内表现异常。在存入资金之前,请验证资金池中每个代币的合约,并优先选择 Balancer 治理已批准为其分配 gauge 的资金池。.
治理 & 经济风险
veBAL voters can move BAL emissions away from your pool, which cuts its reward APR. A large part of many pools' yield comes from BAL incentives, so if the BAL price falls, that yield falls with it, liquidity can leave and spreads can widen.
常见问题
什么是 Balancer?
Balancer 与 Uniswap 有何区别?
veBAL 是什么,治理如何运作?
在 Balancer 上提供流动性有哪些风险?
Balancer v2 与 v3 有何区别?
来源与延伸阅读
本页面中的数字和声明均基于以下文档。具有时效性的数字(利率、收益率、费用、市场数据)会变动:在据此行动之前,请在来源处核实实时数值。.
- Balancer 文档docs.balancer.fi
Pool types, weighted math, the Vault, swap fee ranges, veBAL, gauges, boosts and the v3 hooks system.
- Balancer 治理论坛forum.balancer.fi
Balancer Improvement Proposals (BIPs), the protocol fee split, and post-mortems of the August 2023 and November 2025 incidents.
最后审核:2026年9月。外部链接在新标签页中打开;Coinstancy 对其内容不承担责任。.
无需复杂性即可赚取 DeFi 收益。
通过 Coinstancy Dollar Savings 在 USDC 上赚取 7.50% 的年化收益率,无需管理钱包、支付 Gas 费或承担无常损失。利息每秒累计并自动复投。无锁定期,可随时提取。.