ILensHubEventHooks
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
Name | Type | Description |
---|---|---|
unfollowerProfileId | uint256 | The ID of the profile that executed the unfollow. |
idOfProfileUnfollowed | uint256 | The ID of the profile that was unfollowed. |
transactionExecutor | address | The address of the account executing the unfollow operation. |