USDD Docs
  • INTRODUCTION
    • What is the new version of USDD?
    • What is USDDOLD?
    • Why upgrade USDD?
    • Core Features
    • Collateral Asset Contract Addresses
  • Ecosystem Migration Progress
  • SYSTEM ARCHITECTURE
    • System Architecture
  • USER GUIDE
    • Getting Started
    • Open a Vault
    • Manage a Vault
    • Close a Vault
    • Risk Alert
    • Liquidation
    • Collateral Auction
    • PSM (Peg Stability Module)
    • Migrate
  • DEVELOPERS
    • Glossary
    • Core Contracts
      • Vat
      • Dog
      • Clip
      • Spot
      • Jug
      • Median
      • OSM
      • Proxy contract
      • PSM
      • Migrate
    • Deployment Addresses
    • Liquidation & Auction
      • Key Features of Liquidation
      • Example Process
      • Benefits
    • Oracle
  • GOVERNANCE
    • Overview
  • SECURITY
    • Secure Framework
    • Audits
  • LRGALS
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
Export as PDF
  1. DEVELOPERS

Oracle

An oracle module is deployed for each collateral type, feeding it the price data for a corresponding collateral type to the Vat. Every oracle module contains three main contracts: Median, OSM, Spot.

USDD utilises Chainlink Data Feeds as its primary Oracle on the Tron network.

Procedure

  1. Median computes a price from a list of supported price feeds.

  2. OSM updates the current price and the next price according to the price from Median.

  3. Spot reads the current price from OSM and updates ilk.spot in vat.

USDD utilises Chainlink Data Feeds as its primary Oracle on the Tron network.

PreviousBenefitsNextOverview

Last updated 1 month ago