Pricing Oracles
Pricing oracles are specialized data feeds that provide decentralized protocols with accurate, real-time price information for underlying assets. Because smart contracts cannot natively access external data, they rely on oracles to bring off-chain market prices on-chain.
In the context of derivatives, these oracles are the heartbeat of the liquidation engine; they determine when a position is under-collateralized. The security and accuracy of these oracles are paramount, as malicious or erroneous data can lead to mass liquidations or systemic insolvency.
Most robust protocols use decentralized oracle networks that aggregate data from multiple sources to prevent single points of failure. They must be resistant to manipulation, such as flash loan attacks or price spoofing.
The design of an oracle is a complex exercise in balancing latency, accuracy, and security. They are the essential bridge between the decentralized protocol and the broader global financial market.