NFT Migrator V3
Functions Write
Migrate
Enables migration of liqudity from Uniswap Locker V2 into Locker V3.
Parameters:
_lockId
uint256
ID of the lock to be migrated from the older contract.
_nftPositionManager
INonfungiblePositionManager
The position manager for the NFT.
_tokenId
uint256
ID of the NFT token to be transferred and then approved for the new reserves contract.
Return Values:
bool
Returns true
once the migration process is successfully completed.
Functions Wiew
OnERC721Received
Parameters:
operator
address
Address initiating the transfer or creation. This could be an external or contract address.
from
address
Address from which the token was sent.
tokenId
uint256
Unique identifier for the token being transferred.
data
bytes
Additional data accompanying the transfer or minting call.
Return Values:
bytes4
Function selector for the onERC721Received
function, confirming successful token receipt.
Last updated