Function: removeSupportedAsset(IERC20 _asset)
Allows owner of the contract to remove asset address from the list of trusted assets.
Inputs
_asset
Constraints: No.
Impact: The address of assets that will be removed from the supported assets list.
Branches and code coverage (including function calls)
Intended branches
_asset
was removed fromsupportedAssets
.
Negative behavior
Caller is not an owner.
supportedAssets
does not contain_asset
.
Function call analysis
supportedAssets.remove(address(_asset))
External/Internal? Internal.
Argument control?
_asset
.Impact: Remove the
_asset
address fromsupportedAssets
.