- Able to get 10k uniswap pairs over ipc in ~900ms
- Able to get 100k uniswap pairs over ipc in ~40s
-
Connect to client, uniswapFlashbotsQuery, get reserves, pairs, and pairInfos
-
Create util mappings TokenIdToName, TokenNameToId, TokenToAddr
-
edges are graph.Edge, and vertices are int
-
for each pair in pairinfos we apply them to TokenIdToName TokenNameToId and TokenToAddr mappings