mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
feat: Small details corrected at LensHub to be able to compile
This commit is contained in:
@@ -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) {
|
||||
//
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user