Digital Asset Database Digital asset research & education
BTC$77,844+1.15% ETH$2,404+0.29% USDT$0.9996+0.00% BNB$701.13+2.45% XRP$1.37+3.01% USDC$0.9998+0.00% SOL$100.65+1.60% TRX$0.3263+1.13% FIGR_HELOC$1.01-2.00% HYPE$81.95+0.23% ZEC$828.08+0.52% DOGE$0.0832+2.68% RAIN$0.0166-0.61% USDS$0.9997+0.01% XMR$513.72-0.70% LEO$9.30+0.14% WBT$71.28+0.67% LINK$11.21+0.95% ADA$0.2082+6.96% XLM$0.1771+1.82% BCH$250.77+2.37% DAI$0.9997+0.00% CC$0.1095-2.43% USDE$0.9994+0.00% USD1$0.9993+0.00% LTC$50.78+3.88% GRAM$1.34+1.69% UNI$5.76-7.69% HBAR$0.0767+4.29% USDG$1.00+0.03% SUI$0.7718+7.44% AVAX$7.28+1.74%
Menu
Trang chủ
Tài sản Tất cả tài sảnLĩnh vựcXếp hạngHeat mapScreenerSo sánh tài sản★ Saved
Các chỉ số cơ bản Fees & revenueGiá trị bị khóaExchange volumeHoạt động mạng lướiStablecoinsStaking & yield
Định giá Tỷ số định giáSupply & issuanceĐịnh nghĩa các chỉ số
Tổ chức Sản phẩm giao dịch trên sànQuỹ ngân quỹ doanh nghiệp
Nghiên cứu Ghi chú nghiên cứuLịch sự kiệnKhung đánh giá rủi roSự cố bảo mật
Tìm hiểu Learn libraryBảng thuật ngữCông cụ tínhPhương pháp luậnNguồn dữ liệuĐộ mới của dữ liệuAI agentsAPI công khai
Tin tức Hỏi dữ liệu Thị trường toàn cầu Giới thiệu
Tùy chọn đọc
Photography CryptoStudio
Chế độ hướng dẫn

Mới với thị trường — giá, lợi suất, market cap? Chúng tôi giải thích từng thuật ngữ khi bạn duyệt, bằng ngôn ngữ dễ hiểu. Cùng dữ liệu, có kèm hỗ trợ.

Góc nhìn chuyên gia

Bạn đã quen với thị trường. Chỉ có dữ liệu — rõ ràng, nhanh và gọn, không có giải thích thêm. Đây là chế độ xem mặc định.

Sáng hoặc tối
Ngôn ngữ
API công khai

Mọi số liệu trên site này đều có dạng JSON, kèm theo kỳ và nguồn.

Đọc tài liệu 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

Điều cần ghi nhớ

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.

Tài sản

Tất cả tài sảnLĩnh vựcXếp hạngHeat mapScreenerSo sánhĐã lưu

Các chỉ số cơ bản

Fees & revenueGiá trị bị khóaExchange volumeHoạt động mạng lướiStablecoinsStaking & yield

Valuation & risk

Tỷ số định giáSupply & issuanceĐịnh nghĩa các chỉ sốKhung đánh giá rủi roSự cố bảo mật

Tổ chức

Sản phẩm giao dịch trên sànQuỹ ngân quỹ doanh nghiệpEventsGhi chú nghiên cứuTin tức

Tìm hiểu

Learn libraryBảng thuật ngữCông cụ tínhHỏi dữ liệuAI agentsAPI công khai

Giới thiệu

Giới thiệuLiên hệPhương pháp luậnNguồn dữ liệuChính sách biên tậpĐộ mới của dữ liệu

Pháp lý

Tuyên bố miễn tráchĐiều khoản sử dụngPrivacy policy