banteg / multicall.py

aggregate results of multiple smart contract calls into one
MIT License
246 stars 106 forks source link

Add Support for Polygon ZKEVM #92

Closed adamxyzxyz closed 4 months ago

adamxyzxyz commented 11 months ago

Multicall3 is deployed on polygon ZKEVM:

https://zkevm.polygonscan.com/address/0xcA11bde05977b3631167028862bE2a173976CA11

I have tried adding the corresponding chainId and Network to constants.py:

ZKEVM = 1101 Network.ZKEVM: 0xcA11bde05977b3631167028862bE2a173976CA11

This creates a bug within the manager.py file in web3py that returnsthe following error:

too many arguements want at most two

BobTheBuidler commented 5 months ago

I'm not able to investigate the web3.py issue here but I'd be happy to merge this in if you're able to debug the web3py conflict and put together a PR.

BobTheBuidler commented 4 months ago

going to close this due to no activity. Feel free to open a PR if you figure out a fix.