Oracle Mechanism

Delea leverages a robust and reliable oracle mechanism designed to ensure accurate and secure price information is provided to the Delea protocol’s smart contracts. This system uses the oracle mechanism proposed in the TON Documentation and the well-established RedStone solution, ensuring high levels of security and data integrity. You can learn more about the mechanism here: TON Oracles - RedStone.

  1. Price Data Submission and Validation

  • Delea transmits price data to its smart contracts, embedding each piece of information with a timestamp and a digital signature. This ensures that the data is both timely and authentic.

  • Smart contracts are programmed to accept only those requests that are securely signed and have not expired, maintaining the integrity of data used within the protocol. This method safeguards the system from tampered or delayed data, protecting both the protocol and its users.

  1. Price Aggregation from Centralized Exchanges

  • To determine the value of TON, Delea collects real-time price data from some of the most reputable and well-known centralized exchanges (CEXs) where TON is actively traded. These include platforms such as ByBit, OKX, and HTX.

  • The prices from these exchanges are aggregated and averaged to provide a reliable price feed for the TON asset. This averaging process minimizes the risk of price manipulation and ensures the stability of the data used for DeFi operations within the Delea ecosystem.

  1. Price Aggregation from Decentralized Exchanges for Jetton Assets

  • For jetton assets like tsTON and stTON, Delea relies on decentralized exchanges (DEXs) operating on the TON blockchain. Currently, Delea collects price data from DEXs like STON.fi and DeDust.io.

  • The protocol calculates an average price from these sources, taking into account the most recent trading information to offer accurate and up-to-date valuations for these assets. By using multiple DEX sources, Delea enhances the reliability and robustness of its jetton asset price feeds.

This oracle and pricing system is crucial to Delea’s functioning, ensuring that all financial operations, such as borrowing and liquidation processes, are based on fair and transparent market prices.

Last updated