sky-ecosystem/multicall

Multicall: Aggregate multiple constant function call results into one

Solidity

869

50 commits

updated Mar 26, 2023

See the code

README

DEPRECATED

This repository is no longer maintained. An active fork can be found at https://github.com/mds1/multicall. Note that this is an external repository not maintained by any entity funded or directed by MakerDAO governance.

Multicall Multicall

Multicall aggregates results from multiple contract constant function calls.

This reduces the number of separate JSON RPC requests that need to be sent (especially useful if using remote nodes like Infura), while also providing the guarantee that all values returned are from the same block (like an atomic read) and returning the block number the values are from (giving them important context so that results from old blocks can be ignored if they're from an out-of-date node).

This smart contract is intended to be used with Multicall.js in front-end dapps.

Multicall Contract Addresses

Multicall2 Contract Addresses

Multicall2 is the same as Multicall, but provides addition functions that allow calls within the batch to fail. Useful for situations where a call may fail depending on the state of the contract.

Third-Party Deployments

The following addresses have been submitted by external contributors and have not been vetted by Multicall maintainers.

sky-ecosystem/multicall

Multicall: Aggregate multiple constant function call results into one

Solidity

869

50 commits

updated Mar 26, 2023

See the code

README

DEPRECATED

This repository is no longer maintained. An active fork can be found at https://github.com/mds1/multicall. Note that this is an external repository not maintained by any entity funded or directed by MakerDAO governance.

Multicall Multicall

Multicall aggregates results from multiple contract constant function calls.

This reduces the number of separate JSON RPC requests that need to be sent (especially useful if using remote nodes like Infura), while also providing the guarantee that all values returned are from the same block (like an atomic read) and returning the block number the values are from (giving them important context so that results from old blocks can be ignored if they're from an out-of-date node).

This smart contract is intended to be used with Multicall.js in front-end dapps.

Multicall Contract Addresses

Multicall2 Contract Addresses

Multicall2 is the same as Multicall, but provides addition functions that allow calls within the batch to fail. Useful for situations where a call may fail depending on the state of the contract.

Third-Party Deployments

The following addresses have been submitted by external contributors and have not been vetted by Multicall maintainers.

Significant stargazers

jxom

1,233 followers · starred May 2022

Cong Ding

0 followers · starred Nov 2022

Anton Bukov

987 followers · starred Jan 2020

Brian L. McMichael

195 followers · starred Jan 2020