Oracle
MONDA Oracle: On-Chain Price Data, Direct from the Market
MONDA’s concentrated liquidity pools double as a trustless, on-chain oracle, offering developers and DeFi platforms real-time and historical price data directly from organic market activity. Unlike traditional oracles that rely on off-chain data sources, MONDA’s oracle prices are determined by actual buyers and sellers, ensuring greater accuracy, security, and decentralization.
How MONDA’s Oracle Works
MONDA pools continuously store and update historical price data, which can be accessed by external applications. The protocol tracks observations over time, enabling developers to retrieve past price points and liquidity data without relying on third-party oracles.
🔹 Live, market-driven pricing – No reliance on off-chain feeds
🔹 Historical price tracking – Data is stored directly in smart contracts
🔹 Minimal risk of manipulation – Prices reflect real trading activity
With each new transaction, the smart contract updates its stored data, allowing applications to query price observations from a defined time range. The length of available historical data is influenced by the transaction volume and fees paid in the pool.
Key Benefits of MONDA’s Oracle
✅ Fully On-Chain – Eliminates reliance on centralized oracles
✅ Low-Cost Integration – No need for external price feeds
✅ Resistant to Manipulation – Prices reflect actual liquidity and trading activity
✅ Reduces Logical Errors – Simplifies risk management for DeFi protocols
Querying Oracle Data
Developers can access MONDA’s oracle by calling the observe function with a custom array of timestamps. This allows users to fetch price data from any point in time within the stored history.
Example: If a protocol needs BTC’s price from 300 seconds ago, it can request this data from MONDA’s liquidity pool, ensuring real-time, market-driven accuracy.
MONDA’s oracle isn’t just an add-on—it’s a decentralized price engine, powering the next generation of trustless finance.
Last updated