Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Commit

Permalink
Update price-oracle.md
Browse files Browse the repository at this point in the history
  • Loading branch information
c3rnst committed Feb 13, 2019
1 parent 1cfcae5 commit d600201
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/price-oracle.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ The DutchX smart contract has one on-chain price oracle function, which is alway

For various applications, this price feed might not be sufficient. More so, as it only consists of data of *one* auction pair, it might not only be gamable, its accuracy might also depend on the volume of that particular auction pair.

A medianzier may remedy these problems. Note that the DutchX medianizer is taken over time (rather than across many platforms at the same time), which may make it not as usable for some finance related decentralized applications, which need accurate prices by the second.
Taking a median may remedy these problems. Note that the median of a number of auctions on the DutchX is taken over time (rather than across many platforms at the same time), which may make it not as usable for some finance related decentralized applications, which need accurate prices by the second.

The medianzier smart contract, however, might be very useful for other applications, such as the calculation of the token value used on the vote staking interface of the dxDAO.
The price oracle smart contract, however, might be very useful for other applications, such as the calculation of the token value used on the vote staking interface of the dxDAO.

**How does this Medianzier DutchXPriceOracle work?**
**How does this DutchXPriceOracle work?**

It takes the median of the last 9 auctions of that token pair on the DutchX, if they have run consecutively (i.e. constant liquidity is important), else it will not return a price feed.
- This price feed also only works for token with ETH
Expand Down

0 comments on commit d600201

Please sign in to comment.