Lock Uniswap v4 LP positions on Base and collect their fees: locker.borodutch.com https://locker.borodutch.com
  • HTML 62.5%
  • Solidity 37.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
backmeupplz 7e7439500b
Some checks failed
Contracts / test (push) Failing after 13s
Add Lumen analytics (#1)
2026-11-19 17:25:27 +00:00
.forgejo/workflows LP Locker: V4PositionLock + one-page site 2026-11-06 12:17:32 -07:00
contracts Point the site at the deployed lock (0x490e…Fb36) 2026-11-06 12:24:17 -07:00
apple-touch-icon.png Padlock favicon 2026-11-06 12:32:31 -07:00
CNAME LP Locker: V4PositionLock + one-page site 2026-11-06 12:17:32 -07:00
favicon.ico Padlock favicon 2026-11-06 12:32:31 -07:00
favicon.svg Padlock favicon 2026-11-06 12:32:31 -07:00
index.html Add Lumen analytics (#1) 2026-11-19 17:25:27 +00:00
og.png LP Locker: V4PositionLock + one-page site 2026-11-06 12:17:32 -07:00
README.md Only Veydrift positions, no third-party scripts 2026-11-06 12:39:05 -07:00

LP Locker

locker.borodutch.com locks Uniswap v4 LP positions on Base and collects their fees.

  • contracts/src/V4PositionLock.sol holds position NFTs until a fixed unlock time. It has no owner, no rescue function and no early release. Anyone can call collectFees(tokenId) at any time; the fees always go to the immutable beneficiary. After the unlock time, anyone can call approveBeneficiary(), which lets the beneficiary take the positions back.
  • index.html is the whole site: no build step and no third-party scripts, so nothing outside this repo can change what you sign. It lists Veydrift's positions (ids and pool ids in POSITIONS), locks the ones your wallet holds with one transferFrom each and collects fees from every locked one. Wallets that support EIP-5792 batched calls (MetaMask smart accounts) do either in one transaction.

Lock a position by hand with PositionManager.transferFrom(owner, lock, tokenId). safeTransferFrom reverts, because the lock does not implement onERC721Received.

Deployment (Base)

V4PositionLock 0x490e1952310c49D865F04ae3B70B06FC004cFb36
Beneficiary 0xbf74483DB914192bb0a9577f3d8Fb29a6d4c08eE (borodutch.eth)
Unlocks 2027-11-06 20:00 UTC (1825531200)
Uniswap v4 PositionManager 0x7C5f5A4bBd8fD63184577525326123B519429bDc

Development

cd contracts
npm install
npx plain test --fork base   # fork tests against real Base positions (BASE_RPC_URL picks the RPC)

The site deploys to GitHub Pages from main (the GitHub repo is a push mirror of git.borodutch.com/backmeupplz/locker).