Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm wondering the same. I don't know how the mechanics of blockchain oracles work, but it seems feasible that the oracle operators could report a price high enough for the contract to believe it's `> 0`.

Reasons why this might NOT work:

1. The oracle "broadcasts" the price to the network, which other services may rely on. Broadcasting a false price could hurt those services, and the oracle would lose credibility.

2. The oracle's price is somehow tied into other blockchain mechanics (i.e. it can only report a price that the network consensus agrees is true)

I'm not sure how #2 could be true, since the purpose of an oracle is to provide information that the blockchain can't determine on its own.

EDIT: More info on the price oracle in use here: https://docs.iron.finance/mechanism/pricing-oracle

Still not sure the exact mechanism, but #1 seems to be the concern. Chainlink can't readily tamper with the price feed that may be in use by others.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: