Medianizer
Oracle component that fetches the price of an asset
Last updated
Was this helpful?
Oracle component that fetches the price of an asset
There are five types of medianizers that can be used in GEB:
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.
GovernanceLedPriceFeedMedianizer- offers more security by requiring a quorum of oracles to submit their prices which are then medianized on-chain.
ChainlinkPriceFeedMedianizer - relies on a Chainlink aggregator in order to fetch and push price feeds in to the system.
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).
Last updated
Was this helpful?
Was this helpful?