Compound Open Price Feed
- Name: Compound Open Price Feed
- URL: https://github.com/compound-finance/open-oracle
- Category: signed-data oracle / reporter-poster split / anchored price-feed middleware
- Tags: ethereum-ecosystem
- Summary: Compound Open Price Feed is not just
Compound’s oracle. It is a clean lower-layer split between who signs market data, who pays to publish it onchain, and which contract logic decides whether that data should count. The useful part is the architecture: signed reporters, permissionless posters, and a guarded view layer that can fall back to anchor pricing when the reporter path stops looking trustworthy. - What it does:
- Lets reporters sign structured price messages offchain using a known public key, without requiring the reporter itself to pay gas
- Lets any poster submit those signed messages onchain to authenticated storage, removing the need for a single permissioned posting role
- Stores the latest signed value per source and key in
OpenOraclePriceData, which downstream view contracts can read directly or aggregate - Ships view-layer contracts such as
UniswapAnchoredViewthat compare a reporter price against an onchain Uniswap TWAP anchor before updating the authoritative price - Supports a reporter invalidation path where the reporter can signal compromise and force the system to fall back to anchor pricing until governance selects a new feed arrangement
- Was explicitly proposed as a governance-era decentralization step for Compound, with room to add more reporters and more aggregation logic over time
- Key claims:
- The repository README says Open Oracle is a standard and SDK for reporters to sign key-value pairs and for clients to build shared aggregates such as a median from several sources.
- Compound’s governance posts framed the migration as a decentralization milestone because anyone can post signed prices onchain, eliminating dependence on a single permissioned poster run by Compound Labs.
- The migration design is analytically useful because it keeps three roles separate: reporters produce signed prices, posters transmit them onchain, and view contracts decide what counts as the protocol-facing price.
- The
OpenOraclePriceDatacontract exposes the underlying authenticated-data layer clearly: it stores the freshest source-signed(key, value, timestamp)record and rejects stale or implausibly future-dated writes. - The
UniswapAnchoredViewcontract exposes a second, distinct policy layer: reporter prices are accepted only if they remain within configured upper and lower anchor ratios around a Uniswap TWAP, otherwise they are guarded rather than stored. - The reporter invalidation mechanism is an especially important control surface. The governance docs describe a signed invalidation message that flips the system into anchor-only mode if the reporter key may be compromised.
- Open Price Feed belongs in the active corpus because it gives a clean baseline for comparing signed-source oracles, protocol-owned price views, fallback design, and the difference between data authorship and transaction submission.
- Whitepaper: No standalone whitepaper surfaced in this pass. The strongest primary materials were the repository README, core contracts, and Compound governance threads collected in
../whitepapers/compound-open-price-feed-primary-sources-2026-05-13.md. - Sources:
- https://github.com/compound-finance/open-oracle
- https://raw.githubusercontent.com/compound-finance/open-oracle/master/README.md
- https://raw.githubusercontent.com/compound-finance/open-oracle/master/contracts/OpenOraclePriceData.sol
- https://raw.githubusercontent.com/compound-finance/open-oracle/master/contracts/Uniswap/UniswapAnchoredView.sol
- https://www.comp.xyz/t/migrating-to-the-open-price-feed/34
- https://www.comp.xyz/t/open-price-feed-proposal-development/52
Internal linkages
-
Keep this note tight.
-
Best anchors: chainlink, euler-price-oracle, and erc-7726.
-
Last reviewed: 2026-05-30 UTC