RevertFollowModule

Git Source

Inherits: IFollowModule

Author: Lens Protocol

This follow module rejects all follow attempts.

Functions

initializeFollowModule

Initializes a follow module for a given Lens profile.

function initializeFollowModule(uint256, address, bytes calldata) external pure override returns (bytes memory);

Parameters

NameTypeDescription
<none>uint256
<none>address
<none>bytes

Returns

NameTypeDescription
<none>bytesbytes The encoded data to be emitted from the hub.

processFollow

Processes a follow by rejecting it, reverting the transaction. Parameters are ignored.

function processFollow(uint256, uint256, address, uint256, bytes calldata)
    external
    pure
    override
    returns (bytes memory);

Parameters

NameTypeDescription
<none>uint256
<none>uint256
<none>address
<none>uint256
<none>bytes

Returns

NameTypeDescription
<none>bytesbytes Any custom ABI-encoded data. This will be a LensHub event params that can be used by indexers or UIs.