Skip to content

BenAzlay/UniswapV3LiquiditySnapshotMaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniswapV3 Liquidity Snapshot Maker

This code takes in a UniswapV3 NFT id and displays the corresponding liquidity positions and unclaimed fees.

By default, if the Block Number field is left empty, data from the latest block is being fetched. However, if a valid block number is inputed, data from that block number will be fetched.

This is useful to make snapshots for airdrops, to reward liquidity providers.

Example of inputs:

  • Uniswap V3 NFT id: 556513
  • Block Number: 18061708