TAI
  • How does TAI work?
    • Overview
    • Supported Collaterals
    • Liquidations and Auctions
    • Tokenomics
    • Governance
      • Goverance Process
      • Governance Parameters
    • Rewards
    • Audits
  • TAI Protocol: In-depth
    • Contracts
      • System Contracts
        • Core Module
          • SAFE Engine
          • Liquidation Engine
          • Accounting Engine
        • Auction Module
          • Increasing Discount Collateral Auction House
          • Debt Auction House
          • Surplus Auction House
        • Oracle Module
          • Oracle Relayer
          • Medianizer
            • DSValue
            • Governance Led Median
            • Chainlink Median
          • FSM
            • Oracle Security Module
        • Token Module
          • Token Adapters
          • System Coin: TAI
          • Protocol Token: RATE
          • Protocol Token Authority
        • Money Market Module
          • Tax Collector
        • Sustainability Module
          • Stability Fee Treasury
          • FSM Wrapper
          • Increasing Treasury Reimbursement
          • Mandatory Fixed Treasury Reimbursement
        • Automation Module
          • Collateral Auction Throttler
          • Single Spot Debt Ceiling Setter
          • ESM Threshold Setter
        • Governance Module
          • DSPause
        • Shutdown Module
          • Global Settlement
          • ESM
      • Proxy Infrastructure
        • DSProxy
        • Proxy Registry
      • Helper Contracts
        • SAFE Manager
      • Contract Addresses
    • Data APIs
      • API Endpoints
Powered by GitBook
On this page
  1. TAI Protocol: In-depth
  2. Contracts
  3. System Contracts
  4. Oracle Module

Medianizer

Oracle component that fetches the price of an asset

There are five types of medianizers that can be used in GEB:

  1. DSValue - used when deploying the system on a localchain or a testnet in order to easily manipulate the price feed of a collateral type / system coin.

  2. GovernanceLedPriceFeedMedianizer- offers more security by requiring a quorum of oracles to submit their prices which are then medianized on-chain.

  3. ChainlinkPriceFeedMedianizer - relies on a Chainlink aggregator in order to fetch and push price feeds in to the system.

  4. UniswapConsecutiveSlotsPriceFeedMedianizer - computes the average price for an asset in the last m seconds and can be connected to a GovernanceLedPriceFeedMedianizeror ChainlinkPriceFeed medianizer in order to translate the asset's price (e.g use the WETH/WBTC pool to get the price of WBTC in terms of WETH) in a different currency (e.g translate the WBTC/WETH Uniswap pool price into USD).

PreviousOracle RelayerNextDSValue

Last updated 2 years ago