Open 0xMelkor opened 2 months ago
Hi @0xMelkor thanks for your PR!
There is currently an ongoing conversation about multicall / batched calls in Alloy and what the correct abstraction is. It is likely that the end user won't have to implement it themselves like this example shows.
One relevant PR is: https://github.com/alloy-rs/alloy/pull/1217
Will get back to you once there is more clarity on what direction we want to take.
Motivation
A
Multicall3
example was missing, and so i added one.Solution
Added an example under
/contracts
to fetch10
UniswapV2 pool addresses with a single RPC call.PR Checklist