LogoLogo
  • PROTOCOL OVERVIEW
    • ๐Ÿ‘‹Welcome to H2O
    • ๐Ÿ› ๏ธWhat can I do with H2O?
    • ๐ŸŒ…Who is behind H2O?
    • ๐Ÿ”ฑPOSEIDON Mechanics
    • ๐Ÿ”ฑ$PSDN Emissions
    • ๐Ÿ”ฑpsdnOCEAN: veOCEAN Liquid Staking
    • ๐Ÿ•Š๏ธGovernance Minimization Guide
    • ๐Ÿช™Tokenomics
    • โ“FAQ
    • โ”FAQ: psdnOCEAN
    • ๐Ÿ› ๏ธHow TO Guide : psdnOCEAN Staking
    • ๐ŸŽˆAirdrop FAQ
      • ๐ŸAirdrop Claim Process
    • ๐Ÿ’ปAudits
  • Contributors
    • ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆJoin the Community
  • Risk
    • ๐Ÿ‘พGEB Risks
    • โš“PID Failure Modes & Responses
  • INCENTIVES
    • โฉMint + LP Incentives Program
    • โ›๏ธPOSEIDON Staking
  • CONTRACT VARIABLES TRANSLATION
    • ๐Ÿ”ตCore Contracts Naming Transition
    • ๐Ÿ”ดGovernance Contracts Naming Transition
    • ๐ŸŸกSAFE Management Contract Naming Transition
  • SYSTEM CONTRACTS
    • ๐ŸฆพCore Module
      • SAFE Engine
      • Liquidation Engine
      • Accounting Engine
    • ๐ŸŽAuction Module
      • English Collateral Auction House
      • Fixed Discount Collateral Auction House
      • Increasing Discount Collateral Auction House
      • Debt Auction House
      • Surplus Auction House
    • ๐Ÿ—๏ธOracle Module
      • Oracle Relayer
      • Medianizer
  • LICENSE
Powered by GitBook
On this page
  1. SYSTEM CONTRACTS
  2. 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 RelayerNextLICENSE

Last updated 3 years ago

๐Ÿ—๏ธ