GoPlus SafeToken Locker for Uni V4

GoPlus SafeToken Locker for Uni V4

What is a Liquidity Locker?

In Uniswap V4, when developers create a liquidity pool, they receive an NFT representing their LP position. This NFT can be transferred like any other token on the blockchain or bridged to another chain.

The liquidity locker service allows developers to store their NFT in a smart contract, revoking their permission to move the NFT from a start date to an end date. This provides additional security and transparency for projects, demonstrating to investors that the project's liquidity is locked.

Key Features

1. Liquidity Locking

  • Support for locking Uniswap V4 LP position NFTs
  • Flexible fee structure

2. Fee Management

  • Multiple fee configurations (DEFAULT, LVP, LLP)
  • Customizable LP fees and collection fees

3. Liquidity Management

  • Support for increasing liquidity of locked positions
  • Support for decreasing liquidity after lock expiration
  • Fee collection functionality

Contract Addresses

Supported Chains and Contract Addresses

ChainLocker Address
Ethereum0xE7873eb8DDA56ed49E51c87185ebCb93958E76F2
Base0xf5CDAdD3cB89A69Ab72da3CFD93c505c1B9Fcca1
Unichain0x6f8f5E4B583E1c58B7DaDbED78931dFAf974CcB8

Fee Structures

NameLP FeeCollect FeeLock Fee
DEFAULT0.4%1.6%0.05 ETH
LVP0.64%0.8%0 ETH
LLP0.24%2.8%0 ETH

Main Operations

Lock Liquidity

function lockNFTPosition(
    uint256 tokenId,
    uint256 unlockTime,
    address collector_,
    string memory feeName
) external payable returns (uint256 lockId)

Unlock Liquidity

function unlockLiquidity(uint256 lockId) external

Collect Fees

function collect(
    uint256 lockId,
    address recipient
) external returns (uint256 amount0, uint256 amount1, uint256 fee0, uint256 fee1)

Increase Liquidity

function increaseLiquidity(
    uint256 lockId,
    uint256 amount0Max,
    uint256 amount1Max,
    uint48 deadline
) external payable returns (uint256 amount0Used, uint256 amount1Used)

Usage Recommendations

  1. Understand all fee structures before locking liquidity
  2. Choose appropriate fee configuration (DEFAULT, LVP, or LLP)
  3. Set reasonable lock duration
  4. Regularly collect accumulated fees
  5. Use increase liquidity feature when needed
  6. Unlock or extend lock duration promptly after expiration

This locker service provides a complete liquidity management solution for Uniswap V4 projects, helping to build trust and protect investor interests.