LensV2Migration

Git Source

State Variables

FEE_FOLLOW_MODULE

address internal immutable FEE_FOLLOW_MODULE;

PROFILE_FOLLOW_MODULE

address internal immutable PROFILE_FOLLOW_MODULE;

NEW_FEE_FOLLOW_MODULE

address internal immutable NEW_FEE_FOLLOW_MODULE;

lensHandles

LensHandles internal immutable lensHandles;

tokenHandleRegistry

TokenHandleRegistry internal immutable tokenHandleRegistry;

Functions

constructor

constructor(Types.MigrationParams memory migrationParams);

batchMigrateProfiles

function batchMigrateProfiles(uint256[] calldata profileIds) external;

batchMigrateFollows

function batchMigrateFollows(
    uint256 followerProfileId,
    uint256[] calldata idsOfProfileFollowed,
    uint256[] calldata followTokenIds
) external;

batchMigrateFollowers

function batchMigrateFollowers(
    uint256[] calldata followerProfileIds,
    uint256 idOfProfileFollowed,
    uint256[] calldata followTokenIds
) external;

batchMigrateFollowModules

function batchMigrateFollowModules(uint256[] calldata profileIds) external;

getProfileIdByHandleHash

function getProfileIdByHandleHash(bytes32 handleHash) external view returns (uint256);

setMigrationAdmins

function setMigrationAdmins(address[] memory migrationAdmins, bool whitelisted) external;