multicall.py icon indicating copy to clipboard operation
multicall.py copied to clipboard

aggregate results of multiple smart contract calls into one

Results 32 multicall.py issues
Sort by recently updated
recently updated
newest added

Hi, I'm trying to use multicall to fetch balancer pool balances. The method to fetch pool balances seems to be: https://etherscan.io/address/0xba12222222228d8ba445958a75a0704d566bf2c8#readContract#F10 I'm struggling with the parsing of the return values...

I would propose to limit the number of processes to `max cores - 1`. AFAIK setting the number of processes too high might lead to parallel slowdown.

Hi everyone, I am getting the below `BrokenProcessPool` runtime error when attempting to run the Multi call example script. I am not sure what is causing this and attempts to...

running Multicall in main thread works great, but running the function **twice** in another thread is going to throw an error "RuntimeError: Timeout context manager should be used inside a...

Looks like multicall returns the blockNumber during aggregate (or tryBlockAndAggregate) calls. However, it is omitted from the results dictionary: https://github.com/banteg/multicall.py/blob/master/multicall/multicall.py#L86 In cases where per-block data needs to be accessed and...

enhancement

![Captura de ecrã de 2022-06-07 13 52 11](https://user-images.githubusercontent.com/112147/172384085-076f5fb1-f3ee-45bc-afe8-301f3780c1e2.png) We're running `multicall` in a background worker and we could see an abnormal usage of the memory. After reviewing the implementation and...

multicall.py should support a custom multicall_map within the multicall.py file. This is trivial to implement and we are more than happy to provide a PR.

Recently Multicall2 support has been added with version upgrade to 0.1.3: https://github.com/banteg/multicall.py/pull/8 But then 0.1.3 tag was added to an older version of the files. ![image](https://user-images.githubusercontent.com/79828237/147866856-5bf8fe28-02f4-44c5-8657-47b0d33d19a7.png) And now the last...