Digital Asset Database Digital asset research & education
BTC$77,689+1.58% ETH$2,396+1.22% USDT$0.9996-0.01% BNB$701.09+2.87% XRP$1.36+3.15% USDC$0.9998+0.00% SOL$100.30+2.08% TRX$0.3269+1.40% FIGR_HELOC$1.01-2.00% HYPE$81.96+0.93% ZEC$829.99+2.95% DOGE$0.0829+2.84% RAIN$0.0166-0.37% USDS$0.9997+0.01% XMR$513.25-0.82% LEO$9.31+0.50% WBT$71.11+1.29% LINK$11.18+1.51% ADA$0.2071+7.07% XLM$0.1765+2.15% BCH$249.93+2.72% DAI$0.9998+0.00% CC$0.1094-3.08% USDE$0.9994-0.01% USD1$0.9994+0.00% LTC$50.51+3.91% UNI$6.01-1.69% GRAM$1.34+1.41% HBAR$0.0768+4.82% USDG$1.00+0.03% AVAX$7.26+2.49% SUI$0.7633+6.97%
菜单
首页
资产 全部资产板块排名Heat map筛选器对比资产★ Saved
基本面 Fees & revenue锁定价值Exchange volume网络活动StablecoinsStaking & yield
估值 估值比率Supply & issuance指标定义
机构 交易所交易产品企业资产负债表
研究 研究笔记事件日历风险框架安全事件
学习 Learn library术语表计算工具方法论数据来源数据新鲜度AI agents公开 API
资讯 查询数据 全球市场 关于我们
阅读选项
Photography CryptoStudio
引导视图

市场新手——价格、收益率、market cap?我们在您浏览时逐一解释每个术语,语言简明直白。数据相同,内置辅助说明。

专家观点

您已了解市场。仅呈现数据——简洁、快速、紧凑,无多余说明。此为默认视图。

浅色或深色
语言
公开 API

本站所有数据均可通过 JSON 获取,并附带期间与来源信息。

阅读 API 文档
DeFi Advanced 8 min

Composability: why one failure propagates through DeFi

Open contracts call each other without permission, which is the source of the sector's flexibility and of the way one fault reaches everything at once.

Composability is the property that any contract may call any other without asking permission. It is what allows a deposit receipt to become collateral, that loan to become a trading position, and that position to be wrapped into something else again, all without a business relationship between the parties involved. The corollary is that dependencies are formed without consent, so a fault at the bottom of a stack arrives at the top before anybody has agreed that the two are connected.

A single position, counted honestly

Consider a position built one reasonable step at a time. An asset is staked through a liquid staking pool, producing a receipt. The receipt is deposited into a lending protocol as collateral, and a stablecoin is borrowed against it. The stablecoin is paired into a liquidity pool, whose share token is deposited into a vault that automatically reinvests fees. The vault share is then posted as margin somewhere else.

Each step adds a contract that can contain an error, a price feed that can be wrong, a governance body that can change parameters, and an assumption about redeemability. If each layer independently functioned as intended 99 percent of the time, five layers would function about 95 percent of the time, and that arithmetic is optimistic because the failures are not independent: the layers frequently share the same oracle, the same stablecoin, the same underlying asset and the same exit venue.

The channels that carry a failure upward

  • Shared collateral. When one receipt token is accepted as collateral by many markets, a discount on it triggers liquidations everywhere simultaneously, including in markets whose users never touched the protocol that issued it.
  • Shared price feeds. A single wrong number is consumed by every protocol reading that feed, in the same block, and none of them can see what the others are doing.
  • Shared exits. Positions built through different routes often unwind into the same pool. Depth that appeared sufficient when each position was assessed alone is counted once and claimed several times.
  • Atomicity. A flash loan lets a single transaction borrow, traverse the entire stack and repay, so an attacker needs no capital and the intermediate states never exist long enough for anyone to react.
  • Governance coupling. One protocol's parameter vote re-prices another protocol's book. Neither set of holders voted on the other's exposure, and in a governance attack the voting token itself becomes the lowest-cost route in.

The same openness works in the other direction, which is why the property is worth having. Anyone can read the entire chain of dependencies without permission, so an exposure that would be a private disclosure question in traditional finance is a public query here. A patched contract, a raised collateral cap or a corrected feed propagates to every consumer at once, and a position that has become unsafe can be closed by a stranger who noticed. Contagion and transparency are produced by the same design, and a description of one that omits the other is not a description of the system.

The 2022 sequence, and the part that is usually told wrong

The collapses of 2022 are the standard illustration and the standard telling omits the interesting detail. The failure of the Terra network's algorithmic stablecoin in May of that year removed an asset that had been widely used as collateral and had drawn deposits with a subsidized rate. The losses spread to leveraged funds, and from there to the centralized lenders that had financed them, with Celsius, Three Arrows Capital and eventually FTX failing over the following months.

The detail worth keeping is the contrast in how the two halves behaved. Open lending contracts liquidated their positions on schedule, in public, at the moment the parameters said to, and the largest of them came through the period without a shortfall to their suppliers. The centralized lenders failed because they had lent against collateral nobody could see, in sizes nobody could verify, and could delay recognizing losses until they were fatal. The difference was not the absence of leverage in DeFi; leverage was abundant. It was that the leverage was legible and the liquidations were automatic. This is a real advantage and it comes with the cost described above: automatic liquidation at scale is exactly the mechanism that transmits a shock instantly instead of absorbing it.

Measurement, and where double counting creeps in

Total value locked is the sector's headline figure and it counts claims, not assets. One unit of an asset staked, wrapped, lent, re-deposited and used as margin can be counted at every stage, so a chain of protocols can report a large aggregate that rests on a small base. Recursive lending, where the same asset is deposited and re-borrowed in a loop, inflates the figure in direct proportion to the leverage employed, which means the number rises fastest when the system is most fragile.

Ratios inherit the problem. Market capitalization to value locked and fully diluted valuation to value locked are comparisons against a denominator that is not an independent quantity. Monthly change in value locked conflates deposits arriving with prices rising, since the figure is denominated in currency rather than units. And a fall in volume relative to value locked can mean capital arrived or that trading left, which are different situations with the same reading.

The useful frame is to describe a position by its dependencies rather than by the protocol it was opened in: which asset ultimately backs it, which feed prices it, which contracts can move it, who can change those contracts, and where it would have to be sold. The methodology notes set out exactly how value locked is counted here and where double counting is removed, the risk section maps dependencies across protocols, and the incident record traces how past failures traveled. That completes this track; the sections on stablecoins and value locked are where the same ideas meet current data.

01

核心要点

Composability lets contracts call each other without permission, which creates dependencies that neither side has agreed to.
A position built from five layers inherits five contracts, price feeds and governance bodies, and the failures are correlated rather than independent.
Shared collateral, shared oracles, shared exit liquidity, atomic transactions and governance coupling are the channels that transmit a single fault.
In 2022 open lending contracts liquidated on schedule while opaque centralized lenders failed, so the difference was legibility rather than the absence of leverage.
Total value locked counts claims rather than assets, so recursive positions inflate it exactly when leverage in the system is highest.

资产

全部资产板块排名Heat map筛选器对比已保存

基本面

Fees & revenue锁定价值Exchange volume网络活动StablecoinsStaking & yield

Valuation & risk

估值比率Supply & issuance指标定义风险框架安全事件

机构

交易所交易产品企业资产负债表Events研究笔记资讯

学习

Learn library术语表计算工具查询数据AI agents公开 API

关于

关于我们联系方法论数据来源编辑政策数据新鲜度

法律

免责声明使用条款Privacy policy