Function: setDirectPrice(address asset, uint256 price)
This function is used to set the price of an asset.
Inputs
assetControl: Fully controlled by the caller.
Constraints: None.
Impact: An asset to set the price of.
priceControl: Fully controlled by the caller.
Constraints: None.
Impact: A price to set the price to.
Branches and code coverage
Intended branches
Set the price of the asset.
Negative behavior
Revert if the caller is not a service admin.