Rhea Finance
  • Introduction
  • RHEA Finance White Paper
  • Genesis
  • Tokenomics
  • Governance
  • Community
  • Team
  • Getting Started
    • Setup Wallet
    • Using the Rainbow Bridge
    • Using the Platform
    • Buy REF Token
    • Staying Safe
  • RHEA Finance
    • Overview
      • Auto Router
      • Multi-chain Router
      • Pooling
      • Staking
      • RHEA V2 & DCL Pools
      • Aggregator Bridge
    • Guides
      • Lending & Borrowing
        • Audits & Risks
        • Supplying
        • Borrowing
        • APY
        • Health Factor
        • LP as Collateral
        • How Lending & Borrowing works
          • Health Factor
          • Interest Rate Model
          • Liquidations
          • Oracle
        • Step by Step Guide
      • Trade
        • Swap
        • Limit Orders
      • Liquidity Management
        • Classic Pools
        • Stable & Rated Pools
        • RHEA v2 Pools
      • Farming
      • Staking
      • Aggregator Bridge
      • RHEA Point System
  • SECURITY
    • Contracts
    • Guardians
    • Oracles
    • Audits
    • Bug Bounty
  • DEVELOPERS
    • CLI Trading
    • CLI Farming
    • RHEA SDK
  • SUPPORT
    • FAQ
    • Help
Powered by GitBook
On this page
  • Price Oracle
  • Pyth Oracle

Was this helpful?

  1. RHEA Finance
  2. Guides
  3. Lending & Borrowing
  4. How Lending & Borrowing works

Oracle

PreviousLiquidationsNextStep by Step Guide

Last updated 27 days ago

Was this helpful?

Price Oracle

The platform uses a MakerDAO-inspired whitelisted oracle. The oracle currently has five independent operators and may be easily extended into a decentralized, self-sustainable network. For a price to be reported on-chain, the majority of oracles must propose the current price within a tight range.

Relevance of the price is less than 1 minute.

In the future, the DAO will consider adding other robust oracle solutions supported on NEAR, such as Flux.

The oracle code can be found here:

  • (system service)

Pyth Oracle

The is a first-party financial data oracle network that delivers low-latency price data for various assets to blockchains securely.

The Pyth protocol aggregates the data providers' inputs to produce a single aggregate price and confidence interval every 400ms for each price feed. This aggregation mechanism lives on an application-specific blockchain called Pythnet.

Pyth Network introduces a unique architecture called the Pull Oracle. With the Pull Oracle design, data users can “pull” or request a price update from the Pyth protocol when needed.

Learn more, refer to the .

Smart Contract
Price Updater Bot
Pyth Network
Pyth documentation