Function: addSupportedAsset(IERC20 _asset)
Allows owner of the contract to add asset address to the list of trusted assets.
Inputs
_assetConstraints: No.
Impact: The address will be added to the
supportedAssets. The users will be able to deposit the asset tokens after that.
Branches and code coverage (including function calls)
Intended branches
_assetwas added tosupportedAssets.
Negative behavior
Caller is not an owner.
supportedAssetsalready contains_asset.
Function call analysis
_supportedAssets.add(_asset)External/Internal? Internal.
Argument control?
_asset.Impact: Add new
_assetaddress to the_supportedAssets--- if already added, returns false.