We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7cbe7c commit 868c4dcCopy full SHA for 868c4dc
contracts/TokenConverter/SingleTokenConverter.sol
@@ -153,6 +153,7 @@ contract SingleTokenConverter is AbstractTokenConverter {
153
/// @dev Sets the base asset for the contract
154
/// @param baseAsset_ The new address of the base asset
155
/// @custom:error ZeroAddressNotAllowed is thrown when address is zero
156
+ /// @custom:error SameBaseAssetNotAllowed is thrown when `baseAsset_` is equal to the current base asset
157
/// @custom:event BaseAssetUpdated is emitted on success
158
function _setBaseAsset(address baseAsset_) internal {
159
ensureNonzeroAddress(baseAsset_);
0 commit comments