Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

add multicall2 - optionally allow call failures #18

Merged
merged 1 commit into from
May 26, 2021

Conversation

JFrankfurt
Copy link
Contributor

@JFrankfurt JFrankfurt commented Mar 5, 2021

This is @wysenynja's changes with a couple tweaks

  • respects naming formats
  • incorporates @moodysalem's req for Multicall2.sol

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

Copy link

@BlinkyStitt BlinkyStitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

/// @author Joshua Levine <[email protected]>
/// @author Nick Johnson <[email protected]>

contract Multicall {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be contract Multicall2 {

@JFrankfurt
Copy link
Contributor Author

@michaelelliot You have any thoughts on this?

@banteg
Copy link

banteg commented Mar 23, 2021

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
Copy link

also deployed on mainnet now at the same address

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

@banteg banteg mentioned this pull request May 5, 2021
4 tasks
@ethanbennett ethanbennett merged commit 16ec5e2 into makerdao:master May 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants