LensHubEventHooks

Git Source

Inherits: ILensHubEventHooks

Functions

emitUnfollowedEvent

Helper function to emit an Unfollowed event from the hub, to be consumed by indexers to track unfollows.

function emitUnfollowedEvent(uint256 unfollowerProfileId, uint256 idOfProfileUnfollowed, address transactionExecutor)
    external
    override;

Parameters

NameTypeDescription
unfollowerProfileIduint256The ID of the profile that executed the unfollow.
idOfProfileUnfolloweduint256The ID of the profile that was unfollowed.
transactionExecutoraddressThe address of the account executing the unfollow operation.

emitCollectNFTTransferEvent

DEPRECATED FUNCTIONS ///

function emitCollectNFTTransferEvent(uint256 profileId, uint256 pubId, uint256 collectNFTId, address from, address to)
    external;