Oracles

How the protocol uses oracles to accurately price assets

Introduction

The protocol uses Price Oracles in order to gather price data for the protocol. The Comptroller ingests price data from the PriceOracleProxy contract and uses it as a source of truth for all prices. Prices are updated by verified, secure price feeds.

PriceOracleProxyBERA

getUnderlyingPrice

Returns the price of the underlying asset for a given lToken via the respective aggregator contract.

Last updated