feat: Small details corrected at LensHub to be able to compile

This commit is contained in:
donosonaumczuk
2022-11-02 22:12:30 +00:00
parent 33aa12d17e
commit 49799998de

View File

@@ -391,23 +391,23 @@ contract LensHub is LensNFTBase, VersionedInitializable, LensMultiState, LensHub
return GeneralLib.followWithSig(vars);
}
/// @inheritdoc ILensHub
//TODO: Add to ILensHub
function setBlockStatus(
uint256 byProfile,
uint256[] calldata profileIds,
bool[] calldata blocked
) external override whenNotPaused {
) external whenNotPaused {
//
}
/// @inheritdoc ILensHub
function setBlockStatusWithSig(DataTypes.SetBlockStatusWithSigData vars)
external
override
whenNotPaused
{
//
}
// function setBlockStatusWithSig(DataTypes.SetBlockStatusWithSigData vars)
// external
// override
// whenNotPaused
// {
// //
// }
/// @inheritdoc ILensHub
function collect(
@@ -461,12 +461,12 @@ contract LensHub is LensNFTBase, VersionedInitializable, LensMultiState, LensHub
);
}
/// @inheritdoc ILensHub
//TODO: Add to ILensHub
function emitUnfollowedEvent(
uint256 unfollower,
uint256 profile,
uint256 profileId,
uint128 followId
) external override {
) external {
address expectedFollowNFT = _profileById[profileId].followNFT;
if (msg.sender != expectedFollowNFT) revert Errors.CallerNotFollowNFT();
// emit Unfollowed();
@@ -525,7 +525,7 @@ contract LensHub is LensNFTBase, VersionedInitializable, LensMultiState, LensHub
return _delegatedExecutorApproval[wallet][executor];
}
/// @inheritdoc ILensHub
//TODO: Add to ILensHub
function isBlocked(uint256 profile, uint256 byProfile) external view returns (bool) {
//
}