Conversation

Replying to and
Sorry SBF, but I'm going to have to disagree with you here on a core point You NEVER want your SC to rely on a single exchange as its price oracle, it doesn't offer enough market coverage and is vulnerable to manipulation Even a simple median across exchanges isn't enough
Image
Image
Image
4
62
Replying to
Er I agree with you on that -- it's much better to do something like what FTX does (take an index and bound all data points at 30bps away from the median). The "it all comes down to an API feed" really meant "some function of some set of API feeds"
1
5
Replying to and
Taking a simple median across exchanges doesn't really provide an adequate market coverage either though because it doesn't take into account volume consolidation or new exchanges popping up It's more nuanced than just you need to trust the APIs, it's about data quality
Image
Image
2
16
Replying to and
It just scares me when you say things like this (linked tweet) because if projects are really going to be using serum as their only source of price data...
Quote Tweet
14) And he can keep buying until either (i) he's hedged his exposure to the oracle, or (ii) it's now in line with what he thinks is fair. Lots of people building on @ProjectSerum are planning to use bonfida.com/dex/#/ prices as oracles for this reason.
Show this thread
1
11
Replying to and
to be clear there are still a lot of nuances here but many of your points don't really apply to on-chain oracles that you can trade against composably in real time with small fees.
1
3
Replying to and
Having the data being generated on-chain doesn't necessarily mean it's trustworthy There have been numerous incidents involving DEX-based price oracles that led to millions in user funds getting lost Promoting their usage is just downright dangerous in my opinion
1
8
Show replies
Replying to and
What about the bZx hack that used Uniswap DEX as its price oracle and got hacked? Or Harvest that used Curve DEX as its price oracle and got hacked? How many more DEX based oracles need to get manipulated and user funds lost?
19
Show more replies