FeedProjects
Developers
Settings
🎉 A new chapter begins: Boardroom has joined Agora
Learn more
protocol logo
Explore / Projects
Compound

Insights

Proposals

Members

Information

Reports

Create Proposal

Compound

InsightsProposalsMembersInformationReports
Proposal
Back to Proposals
executedEnded 6 years ago Â·  Onchain

Open Price Feed

By 0x8169...539806

This proposal changes the price oracle in Compound to use the Open Price Feed deployed at 0x9b8eb8b3d6e2e0db36f41455185fef7049a35cae. The Open Price Feed is an open-source project where a set of reporters sign price data which is posted on-chain for use by DeFi protocols. There is no privilege required to post prices, and we encourage the community to build additional posters to keep prices up-to-date. The Compound Protocol will initially use price data from Coinbase (via the Coinbase Oracle) as well as a time-weighted average price from Uniswap’s on-chain markets to ensure price integrity.

The Open Price Feed has been audited by Open Zeppelin 1 2. The system initially supports prices for BAT, WBTC, COMP, DAI, ETH, KNC, LINK, REP, SAI, USDC, USDT and ZRX. The system is compatible with support for more tokens and different reporters, both of which would require a new Governance proposal.

The Open Price Feed system was announced almost a year ago. We envisioned the system as an easy way for different projects and exchanges to sign data without the burden of posting that data onto the Ethereum blockchain itself. Instead, the exchanges expose an HTTP endpoint with an Ethereum-signed message containing the price data. The goal is that every exchange can provide such data, which can be used by every DeFi project.

In the current incarnation of the Open Price Feed, it takes the prices from Coinbase’s Oracle (which was designed in coordination with the Open Price Feed) and it tests that price against a time-weighted average price (TWAP) from Uniswap v2. If the price for a given asset from Coinbase is within 20% of the Uniswap TWAP for that asset, it is posted and immediately is available for use in the Protocol (e.g. for collateral calculations). The TWAP calculation is based on the Uniswap Oracle concept.

The Open Price Feed has been running in production for several weeks and has been tested on the Ropsten and Kovan test-nets. For comments and discussion, please visit comp.xyz.

References

  • Open Price Feed Docs
  • Compound Prices Page
  • Open Price Feed Contract
  • Open Price Feed Data Storage Contract
  • Open Zeppelin Open Price Feed with Uniswap Audit - July 2020
  • Open Zeppelin Open Price Feed Audit - Feb 2020
  • Coinbase Reporter Public Key: 0xfCEAdAFab14d46e20144F48824d0C09B1a03F2BC
  • Coinbase Oracle Docs
  • Open Oracle GitHub
  • Open Price Feed Playground
  • Manual Price Posting Page
  • Aggregated Prices API
  • Open Price Feed Launch Discussion
  • Open Price Feed Development Discussion
Continue Reading
Connect Wallet to Add Note
0
Votes 53
VoterCast PowerVote & Rationale
0x6626...15c35c
125,056

FOR

0x8169...539806
101,000

FOR

0x54A3...61E189
100,020

FOR

0x7e4A...8B19Fa
100,010

FOR

0xE5A5...98BEB9
65,000

FOR

SHOW MORE
VOTE POWER
0
Connect Wallet
Proposal Status
  • Published Onchain 0x8169...539806
  • Thu August 13 2020, 12:29 amVoting Period Starts
  • Sat August 15 2020, 04:11 pmEnd Voting Period
  • Sat August 15 2020, 04:58 pmQueue Proposal
  • Mon August 17 2020, 05:02 pmExecute Proposal
Current Results

1-FOR

701,578.1

2-AGAINST

N/A Tokens

0%
DocumentationBrandingContact Us