Is there a simple way to get a list of LP-holders for a particular Uniswap/Pancakeswap pair? I need to know the addresses of people who has provided liquidity for my token (which has been already added to UNI/PAN)
Since the Pair contract has only balanceOf() function which is mapping, it's impossible to read the whole list without knowing the mapping keys
The only somehow humane way I think to do this - is to use Infura (or some other node), subscribe to 'Pair.mint()' event and trigger some of my contract functions when this event occurs. But I find this method pretty ugly
Maybe there are some better ways? Thanks
PS. leaving the link to 'Pair' contract of Pancakeswap here, just in case