Content pfp
Content
@
0 reply
0 recast
2 reactions

df pfp
df
@df
30,000 Larry bounty - what's the easiest way to pull in every uniswap swap event into my postgres db for events that transact on a growing list of tokens (couple hundred addresses) @bountybot have tried ponder and index supply, both don't really work nicely for this use case as far as I can devise. Could listen to every uniswap swap event on base and filter, but thats 1 million events a day and feels like it may lead to some perf issues
10 replies
26 recasts
99 reactions

Stephan pfp
Stephan
@stephancill
Assuming this is for getting prices you essentially need to read the price for every token on every block You can make this more efficient by only looking up the prices that have changed in a block If this is just for the Larry UI and not for realtime analytics then you can have a price api that caches requests for a few seconds
0 reply
0 recast
1 reaction