makerdao / multicall

Multicall: Aggregate multiple constant function call results into one
MIT License
854 stars 461 forks source link

add multicall2 - optionally allow call failures #18

Closed JFrankfurt closed 3 years ago

JFrankfurt commented 3 years ago

This is @WyseNynja's changes with a couple tweaks

deployed on ROPSTEN RINKEBY GÖRLI KOVAN here: 0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696 https://kovan.etherscan.io/address/0x5ba1e12693dc8f9c48aad8770482f4739beed696

JFrankfurt commented 3 years ago

@michaelelliot You have any thoughts on this?

banteg commented 3 years ago

Dev alpha leak: You can use Multicall2 today on any network and even to query historical data.

Use Geth state override feature to set the bytecode of any contract to the bytecode of deployed Multicall2 prior to eth_call.

NoahZinsmeister commented 3 years ago

also deployed on mainnet now at the same address

https://etherscan.io/address/0x5ba1e12693dc8f9c48aad8770482f4739beed696