Function: setUnderlyingPrice(IQiToken qiToken, uint256 underlyingPriceMantissa)
This function is used to set the underlying price of a qiToken.
Inputs
qiTokenControl: Fully controlled by the caller.
Constraints: None.
Impact: A token to set the underlying price of.
underlyingPriceMantissaControl: Fully controlled by the caller.
Constraints: None.
Impact: A price to set the underlying price to.
Branches and code coverage
Intended branches
Check if the given
qiTokenis theqiAvaxtoken.Set the price of the
qiToken.
Negative behavior
Revert if the caller is not a service admin.