ILensHubEventHooks

Git Source

Author: Lens Protocol

This is the interface for the LensHub contract's event hooks. As we want most of the core events to be emitted by the LensHub contract, event hooks are needed for core events generated by pheripheral contracts.

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;

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.