Skip to content

Commit e298576

Browse files
Merge pull request #9 from razgraf/master
Include the Multicall2 version of the contracts
2 parents 8d59d2c + 3132f0d commit e298576

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -462,15 +462,17 @@ console.log(results);
462462
463463
by default it looks at your network from the provider you passed in and makes the contract address to that:
464464
465-
- mainnet > '0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696'
466-
- kovan > '0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696'
467-
- görli > '0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696'
468-
- rinkeby > '0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696'
469-
- ropsten > '0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696'
470-
- binance smart chain > '0xAf379C844f87A7b47EE6fe5E4a9720988EaEA0AF'
471-
- xdai > '0x2325b72990D81892E0e09cdE5C80DD221F147F8B'
472-
- mumbai > '0x73f44534C4bCb557FDf03a04A7b25018d6FcacD6'
473-
- matic > '0x5F42C143026e65E25aa76829DbCD6D4F0C9De8ED'
465+
| Network | Address |
466+
| ------- | ------- |
467+
| mainnet | `0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696` |
468+
| kovan | `0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696` |
469+
| görli | `0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696` |
470+
| rinkeby | `0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696` |
471+
| ropsten | `0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696` |
472+
| binance smart chain | `0xAf379C844f87A7b47EE6fe5E4a9720988EaEA0AF` |
473+
| xdai | `0x2325b72990D81892E0e09cdE5C80DD221F147F8B` |
474+
| mumbai | `0xe9939e7Ea7D7fb619Ac57f648Da7B1D425832631` |
475+
| matic | `0x275617327c958bD06b5D6b871E7f491D76113dd8` |
474476
475477
If you wanted this to point at a different multicall contract address just pass that in the options when creating the multicall instance, example:
476478

src/multicall.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,9 @@ export class Multicall {
515515
case Networks.xdai:
516516
return '0x2325b72990D81892E0e09cdE5C80DD221F147F8B';
517517
case Networks.mumbai:
518-
return '0x73f44534C4bCb557FDf03a04A7b25018d6FcacD6';
518+
return '0xe9939e7Ea7D7fb619Ac57f648Da7B1D425832631';
519519
case Networks.matic:
520-
return '0x5F42C143026e65E25aa76829DbCD6D4F0C9De8ED';
520+
return '0x275617327c958bD06b5D6b871E7f491D76113dd8';
521521
default:
522522
throw new Error(
523523
`Network - ${network} is not got a contract defined it only supports mainnet, kovan, rinkeby, bsc and ropsten`

0 commit comments

Comments
 (0)