• This repository has been archived on 18/Apr/2023
  • Stars
    star
    811
  • Rank 54,325 (Top 2 %)
  • Language
    Solidity
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Multicall: Aggregate multiple constant function call results into one

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

Chain Address
Mainnet 0xeefba1e63905ef1d7acba5a8513c70307c1ce441
Kovan 0x2cc8688c5f75e365aaeeb4ea8d6a480405a48d2a
Rinkeby 0x42ad527de7d4e9d9d011ac45b31d8551f8fe9821
Görli 0x77dca2c955b15e9de4dbbcf1246b4b85b651e50e
Ropsten 0x53c43764255c17bd724f74c4ef150724ac50a3ed
xDai 0xb5b692a88bdfc81ca69dcb1d924f59f0413a602a
Polygon 0x11ce4B23bD875D7F5C6a31084f55fDe1e9A87507
Mumbai 0x08411ADd0b5AA8ee47563b146743C13b3556c9Cc

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.

Chain Address
Mainnet 0x5ba1e12693dc8f9c48aad8770482f4739beed696
Kovan 0x5ba1e12693dc8f9c48aad8770482f4739beed696
Rinkeby 0x5ba1e12693dc8f9c48aad8770482f4739beed696
Görli 0x5ba1e12693dc8f9c48aad8770482f4739beed696
Ropsten 0x5ba1e12693dc8f9c48aad8770482f4739beed696

Third-Party Deployments

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

Chain Address
RSK Mainnet 0x6c62bf5440de2cb157205b15c424bceb5c3368f5
RSK Testnet 0x9e469e1fc7fb4c5d17897b68eaf1afc9df39f103
BSC Mainnet 0x41263cba59eb80dc200f3e2544eda4ed6a90e76c
BSC Testnet 0xae11C5B5f29A6a25e955F0CB8ddCc416f522AF5C

More Repositories

1

awesome-makerdao

A collection of tools, documents, articles, blog posts, interviews, and videos related to MakerDAO and the Dai stablecoin.
688
star
2

dss

Dai Stablecoin System
Solidity
673
star
3

developerguides

Developer guides to integrate with MakerDAO's smart contracts, SDKs, APIs, products, and partners
Shell
624
star
4

market-maker-keeper

Maker Keeper Framework: Market maker keepers for OasisDEX, EtherDelta, 0x (RadarRelay, ERCdEX), Paradex, DDEX, IDEX, Bibox, Ethfinex, GoPax, HitBTC, TheOcean, OKEX and Gate.io.
Python
452
star
5

multicall.js

Multicall.js: A JavaScript blockchain state management library for dapps
JavaScript
410
star
6

pymaker

Python API for Maker contracts
Python
193
star
7

community

Contains current and historical governance polls and executives used in the governance of the Maker Protocol. Previously contained a lot of other content which remains in the 'prior-cleanup' branch.
MDX
179
star
8

sai

Single Collateral Dai
Solidity
160
star
9

auction-keeper

Maker Keeper Framework: Keeper to participate in `flip`, `flop` and `flap` auctions in multicollateral Dai.
Python
120
star
10

arbitrage-keeper

Maker Keeper Framework: Keeper to arbitrage on OasisDEX, `join`, `exit`, `boom` and `bust`. Efficiently handles both bad debt liquidations and surplus Dai.
Python
115
star
11

spells-mainnet

Staging repo for MakerDAO weekly executive spells
Solidity
100
star
12

starknet-dai-bridge

TypeScript
99
star
13

dai.js

JavaScript
95
star
14

simple-arbitrage-keeper

Arbitrage Keeper on OasisDEX and Uniswap V1
Python
88
star
15

dss-teleport

Solidity
80
star
16

pyexchange

Python API for some cryptocurrency exchanges
Python
75
star
17

dss-proxy-actions

Set of proxy functions for MCD (using mcd-cdp-handler)
Solidity
72
star
18

optimism-dai-bridge

Optimism Dai and upgradable token bridge
TypeScript
71
star
19

dss-deploy

Set of smart contracts and bash scripts to deploy Multi collateral DAI
Solidity
66
star
20

tx-manager

Solidity contract to make multiple calls in one Ethereum transaction. Used by Maker keepers.
Makefile
66
star
21

mips

Maker Improvement Proposals (MIPs)
63
star
22

spells-goerli

Solidity
58
star
23

dss-direct-deposit

Solidity
57
star
24

integration-examples

A set of examples of how to use the DAI.js library with various purposes and configs
JavaScript
56
star
25

oracles-v2

Nix
50
star
26

bite-keeper

Maker Keeper Framework: Keeper to bite undercollateralized cups.
Python
49
star
27

dss-deploy-scripts

Shell
47
star
28

dss-flash

MakerDAO Flash Mint Module
Solidity
47
star
29

governance-portal-v2

Governance Portal V2
TypeScript
45
star
30

mips-best-practices

A collection of best practices and code samples for technical Maker Improvement Proposals (MIPs).
Solidity
44
star
31

dss-exec-lib

DSS Executive Spellcrafting Library Contracts
Solidity
37
star
32

market-maker-stats

Maker Keeper Framework: Set of tools to analyze market maker keepers performance.
Python
33
star
33

testchain

Start a local test chain with the MakerDAO contracts deployed on it, quickly and easily.
Shell
33
star
34

dss-conduits

Solidity
33
star
35

dss-kiln

Slow burner for protocol assets.
Solidity
33
star
36

dss-interfaces

Abstract developer interfaces to the Dai Stablecoin System core contracts.
Solidity
33
star
37

price-feed

price feed, with expiration and medianizer poke
Solidity
32
star
38

univ3-lp-oracle

Solidity
31
star
39

dss-vest

Solidity
31
star
40

uniswap-price-feed

Python
30
star
41

auction-demo-keeper

JavaScript
30
star
42

exchange-callees

Exchange Callee contracts for LIQ2.0 Flash Loans
Solidity
29
star
43

evm

Shell
28
star
44

cdp-keeper

Maker Keeper Framework: Keeper to actively manage open CDPs.
Python
28
star
45

btc-market

Trade bitcoins for tokens via btc-relay
27
star
46

mkr-mcd-spec

High level KSpecification for the MCD System by Runtime Verification and Maker Foundation
Python
27
star
47

dss-gem-joins

Solidity
25
star
48

dss-cdp-manager

Solidity
25
star
49

arbitrum-dai-bridge

TypeScript
24
star
50

mcd-changelog

Multi-Collateral DAI Public Releases Page
HTML
24
star
51

governance-portal

Governance Portal
JavaScript
24
star
52

univ2-lp-oracle

Solidity
23
star
53

ilk-registry

A publicly-modifiable registry of ilks in the Dai Stablecoin System.
Solidity
22
star
54

dss-allocator

Solidity
21
star
55

scd-cdp-portal

Single-Collateral Dai CDP Portal
JavaScript
21
star
56

dss-proxy

Solidity
21
star
57

token-auction

Continuous Splitting Token Auction
Makefile
21
star
58

dockerized-auction-keeper

Shell
21
star
59

osm

Feed with 1 hour delay
Solidity
21
star
60

simplecoin1

Something to play with while we wait
Makefile
20
star
61

setzer

manipulate feeds
Shell
20
star
62

xdomain

TypeScript
19
star
63

medianizer

Returns median value of several DSValue, DSCache or other Medianizers
Solidity
18
star
64

mcd-cli

MCD Command-line interface
Shell
18
star
65

dss-bridge

18
star
66

endgame-toolkit

Smart contract modules to enable MakerDAO Endgame.
Solidity
17
star
67

curve-lp-oracle

Solidity
17
star
68

dai-ui

JavaScript
16
star
69

dss-crop-join

Solidity
16
star
70

petrometer

Tool which summarizes daily and total gas consumption of all transactions sent from a specified Ethereum address.
Python
16
star
71

esm

Emergency Shutdown Module
Solidity
16
star
72

plunger

Tool for overriding Ethereum transactions stuck in the pool
Python
16
star
73

governance-manual

Welcome to the Maker Operational Manual. This set of documents intends to acquaint MKR Holders with the voting process and to serve as reference material for them to consult during the day-to-day operation of the protocol.
16
star
74

median

Medianizer 2
Solidity
15
star
75

MIP21-RWA-Example

MIP21 example
Solidity
14
star
76

dss-lite-psm

14
star
77

sdai

A tokenized wrapper around the DSR.
Solidity
13
star
78

dss-charter

Solidity
13
star
79

spells-kovan

Solidity
12
star
80

dai-cli

SCD Command-line interface
Shell
12
star
81

redeem

UI for redeeming MKR tokens
JavaScript
12
star
82

dss-chain-log

Simple way to track the mcd changelog on-chain.
Solidity
12
star
83

rwa-toolkit

SW Repo; Content Manager: CES-001; MIP21 Toolkit: Equipment for Off-chain Asset Backed Lending in MakerDAO
Solidity
12
star
84

dss-cron

Solidity
12
star
85

proxy-registry

This Registry deploys new proxy instances through DSProxyFactory and keeps a registry of owner => proxy
Solidity
12
star
86

oracle-suite

Go
11
star
87

megapoker

Smart contract to poke and drip
Solidity
10
star
88

token-faucet

Mostly well behaved ERC20s faucet
Solidity
10
star
89

vote-proxy

ds-chief mkr proxy voting with a hot/cold wallet
Solidity
10
star
90

scd-mcd-migration

Solidity
9
star
91

dss-darkspell

spell to conceal bug fix source and bytecode during pause delay
Solidity
9
star
92

protego

Solidity
9
star
93

wormhole-integration-tests

Gathers all related repos and runs a suite of integration tests using forked networks.
TypeScript
9
star
94

mcd-security

The Maker Foundation's highest priority is the security of the Maker protocol. This repository is dedicated to providing transparency to our community with respect to the results of our MCD Audits and our Bug Bounty Program results.
9
star
95

vulcan0x

SCD GraphQL API
PLpgSQL
8
star
96

community-portal

JavaScript
8
star
97

dai-plugin-governance

Moved to monorepo.
JavaScript
8
star
98

flap-auctions-api

Python
8
star
99

pe-checklists

Protocol Engineering Checklists
8
star
100

chainlog-ui

UI and API for MakerDAO’s chainlog contract
HTML
8
star