Returns the price of an asset that doesn’t have a direct feed from Chainlink.
Written as a generic implementation it can be used, for example, to retrieve the price of wstETH. Queries stETH / ETH feed and multiplies it by the exchange rate between stETH / wstETH before returning the price that it’s then used by the Auditor.
Public State Variables
baseUnit
functionbaseUnit() externalviewreturns (uint256)
Base units that are sent to the conversion function to get the asset rate.