Lock NFT #
Fatsale provides NFT locks for users to lock their own NFT or V3 liquidity pool
About V3 liquidity pool
Currently commonly used trading liquidity pools are divided into V2 and V3 versions. The meaning of locked liquidity is that the liquidity provider will hand over the liquidity token to a specific lock contract for safekeeping. Before the unlocking time is reached, the liquidity provider cannot withdraw , guarantees the security of the transaction to a certain extent.
In the V2 version, after the user adds liquidity, he will get
LP Token
which complies with theERC20
standard and is the only certificate for withdrawing from the liquidity pool. Click here to view V2 Liquidity Lock TutorialIn the V3 version, each Swap has a specific
NFTManager
contract. Every time the user adds liquidity, an NFT with a specific number will be minted from theNFTManager
, which records the added flow All the information about the nature. Locking liquidity is to hand over the NFT to the lock contract for safekeeping. After the unlocking time is reached, the NFT can be retrieved for pool withdrawal
Let’s take Uniswap
of the Goerli
chain as an example to introduce how to lock and unlock the liquidity of V3
1. Lock V3 liquidity pool #
-
Find NFT address
- After adding liquidity, view the details of the transaction in the blockchain browser
- Click on the number of the newly minted NFT to view the NFT address
-
Enter
FatLock
to create a new lock page: https://fatsale.org/#/lock/token -
Click
NFT Lock
at the top to switch to the NFT Lock page
- After entering the NFT address, the NFT list you hold will be automatically scanned below
- Click the
Lock
button on the right to lock
The locking process requires two steps, first authorize, and then create a new lock
2. Find locked V3 liquidity records #
-
Go to
FatLock
query page: https://fatsale.org/#/lock/list -
Enter the NFT address to view
After entering the NFT address, you will see all the locked V3 liquidity in the Swap. If you only want to see the liquidity pool lock of the specified token, you can search for the LP address here (the search method for the LP address can be found in here View in tutorial
3. Lock common NFT #
The process of locking ordinary NFT is exactly the same as the process of locking V3 liquidity, just enter the NFT address to be locked and lock it.
Supports all
ERC721A
compliant NFTs
4. Unlock NFT #
-
When the NFT lock time is reached, follow the tutorial above
Find Locked V3 Liquidity Records
to find the locked records, click theView Details
button to enter the details page -
Click the
Extend Lock
,Unlock
,Transfer Ownership
buttons below to perform corresponding operations