BTC$80,620-1.52% ETH$2,365-1.90% USDT$0.9991+0.02% BNB$730.91-2.14% XRP$1.28-2.82% USDC$0.9997+0.02% SOL$101.32-3.28% TRX$0.3300-0.01% FIGR_HELOC$1.02-0.56% ZEC$1,158-6.74% HYPE$75.87-2.89% DOGE$0.0775-3.52% XMR$593.94-2.86% USDS$1.00+0.01% WBT$78.26-1.45% LINK$11.58-3.90% LEO$9.04+0.12% ADA$0.2076-4.42% XLM$0.1703-3.58% NEAR$4.45-9.96% RAIN$0.008082-4.33% BCH$277.49-2.63% USDE$0.9995+0.03% DAI$1.00+0.03% LTC$56.49-3.93% UNI$6.85-4.29% CC$0.1009-2.90% AVAX$8.90-2.95% USD1$0.9989+0.01% SUI$0.9447-5.26% GRAM$1.25-4.74% HBAR$0.0768-3.92%
菜单
首页
资产
覆盖范围
全部资产Every research file, largest first板块What each category holds and weighs排名Fourteen leaderboards and what they miss热力图The market sized by value, shaded by change全球市场Total capitalization, dominance and volume
工具
筛选器Filter by fundamentals, supply and risk对比资产Research files side by side已保存The assets you have starred
基本面
Economics
Fees & revenueWhat users pay, and who keeps it锁定价值Capital deposited in each networkExchange volumeTrading on decentralized exchanges
Networks
网络活动Addresses, transactions and throughputStablecoinsDollar tokens, where they live and what backs themStaking & yieldWhat securing a network pays, after issuance
估值
Standardized measures
估值比率Price against fees and revenue, limits statedSupply & issuanceCirculating, maximum and the dilution ahead指标定义Every figure: definition, period, limitation
机构
受监管准入
交易所交易产品Every US-listed fund, with a page each企业资产负债表Listed companies holding digital assets
研究
Analysis
研究笔记Short notes written from stored figures事件日历Upgrades, halvings and policy dates
风险
风险框架Fifty factors in seven families安全事件Exploits and failures, with the losses
学习
教育
Learn libraryEleven tracks, from first principles术语表Every term in plain English计算工具Fee drag, dilution and conversion
How this site works
方法论How every figure is measured数据来源Who publishes what we show数据新鲜度When each feed last ranAI agentsPrompts that keep an assistant on our data公开 APIThe same figures, as JSON
资讯 查询数据 关于我们
阅读选项
引导视图

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

专家观点

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

View
浅色或深色
语言
摄影 摄影Still lifeCryptoStudio
公开 API

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

阅读 API 文档
Risk Advanced 8 min

Oracle failure: when a protocol reads the wrong price

Lending markets and derivatives act on numbers imported from outside the chain, and the ways that import breaks are specific and repeatable.

An oracle failure is any state in which the number a contract acts on differs from the price at which the asset could actually be traded. The consequences are mechanical rather than dramatic: liquidations that should not have happened, positions that should have been liquidated and were not, and new borrowing against collateral that is not worth what the feed reported. Because the contract cannot check the outside world, it has no way to notice that it is wrong.

Why the number has to come from outside

Every node must reach the same result when it re-executes a transaction, so contract code cannot make a network request. Anything the chain does not natively know, including the price of an asset on a venue elsewhere, has to be written into on-chain state by a transaction that someone pays for and someone is trusted to send. An oracle is that arrangement: a set of reporters, a rule for combining their submissions, and a contract that stores the result. Every property of the arrangement is a design choice, and each choice trades cost against the failure it permits.

Designs, and the failure each one invites

  • Push feeds. A reporter set writes an aggregated price on a schedule, or whenever the price moves more than a set percentage. The update cadence and the deviation threshold define exactly how wrong the stored value is permitted to be between updates.
  • Pull feeds. A signed price is fetched off-chain and submitted with the transaction that uses it, which improves freshness and shifts the question to who signed it and how old the signature is allowed to be.
  • Medianized venue prices. Several venue prices are combined, usually by median, which resists one bad source and fails when the venue set is small, when several venues share the same underlying liquidity, or when one thin venue carries as much weight as a deep one.
  • On-chain time-weighted averages. A price is derived from an automated market maker over a window, which makes momentary manipulation costly and guarantees the reported price lags a genuine move, which is its own hazard in a fast decline.

Staleness, and the ways it happens

A stale price is the most common failure and the least discussed. Updates stop or slow when the chain is congested and the update transaction is underpriced, when a reporter set has an outage, when a source venue halts trading, or when a layer 2 sequencer is down and no transaction can be included at all. The last case is instructive: when the sequencer resumes, the first transactions to land can be liquidations against prices that moved while nobody could act, which is why several systems add a grace period after downtime. Assets that reference something with trading hours, such as a tokenized instrument, inherit a scheduled staleness every weekend. A contract that does not check the timestamp of the value it reads will treat a two-day-old number as current.

Manipulation: making the reported price genuinely wrong

The second family is manipulation, where the attacker does not falsify the feed but moves the market the feed observes. The cost of doing so is set by the depth of the venues in the source set, not by the size of the protocol relying on it, which is the asymmetry that has produced repeated losses. With a flash loan, the capital required is borrowed and repaid within one transaction, so the constraint becomes depth alone. The most damaging variant is when the manipulated asset is the collateral itself: a trader pushes a thinly traded token upward on the venue whose price the system trusts, borrows against the inflated collateral value, and leaves the protocol holding a bad debt that no liquidation can clear because the collateral was never worth that much. Several well-documented 2022 incidents follow this shape exactly.

When the feed is accurate and the design is still wrong

A third family involves no error in the number at all. A system that prices a wrapped token or a liquid staking receipt at the value of its reference asset is assuming redeemability that may not hold at that moment, since an exit queue or a broken backing can open a gap between the market price and the reference. A system that treats a stablecoin as worth exactly one unit of account will not liquidate anything during a depeg, and will accept new borrowing against collateral the market has already marked down; a system that uses the live market price will liquidate borrowers during a temporary dislocation that later reverses. Both choices are defensible and both have caused losses, which is why the redemption price and the market price are best read as two different questions.

What mitigations look like, and what to check

Mature designs bound the damage rather than promising correctness: multiple independent sources with disagreement thresholds, an explicit maximum age for any value read, caps on total borrowing per asset, isolated markets so a single bad asset cannot reach the main pool, delays between a price update and the liquidation it enables, and a pause for extreme divergence. For a reader assessing a protocol, the checkable questions are which assets are priced, from which sources, how often, with what staleness check, and whether the depth behind those sources is large relative to what can be borrowed against them. On this site, peg deviation tracks stablecoin dislocation and DEX volume to TVL gives a rough sense of how much trading a pool actually supports.

Bridges, covered next, are the other place where a contract acts on an assertion about the outside world. The incidents record and the stablecoin pages show how the failures described here have played out.

01

核心要点

An oracle failure is any divergence between the price a contract acts on and the price at which the asset could actually be traded.
Every oracle design fixes how wrong the stored value may be between updates, through its cadence, deviation threshold or averaging window.
Staleness arises from congestion, reporter outages, halted source venues and sequencer downtime, and contracts that ignore timestamps treat old values as current.
Manipulation costs are set by the depth of the source venues rather than the size of the protocol, an asymmetry that flash loans make severe.
Pricing a wrapped, staked or pegged asset at its reference value assumes redeemability that may not hold at the moment it matters.
Digital Asset DatabaseDigital asset research & education

资产

全部资产板块排名热力图筛选器对比已保存

基本面

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

Valuation & risk

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

机构

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

学习

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

关于

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

法律

免责声明使用条款Privacy policy