Function: getUnderlyingPrice(IQiToken qiToken)
This function is used to get the underlying price of a qiToken.
Inputs
qiTokenControl: Fully controlled by the caller.
Constraints: None.
Impact: A token to get the underlying price of.
Branches and code coverage
Intended branches
Check if the given
qiTokenis theqiAvaxtoken.Check if the given
qiTokenis not theqiAvaxtoken.Get the price of the
qiTokenfrom the feed.