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

Commit

Permalink
feat: add multicall3 to Polygon zkEVM (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjojoex authored Jul 6, 2023
1 parent 186f5a7 commit 0a6e6da
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/yellow-shirts-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": minor
---

Add multicall3 to Polygon zkEVM
6 changes: 6 additions & 0 deletions packages/chains/src/polygonZkEvm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@ export const polygonZkEvm = {
url: 'https://zkevm.polygonscan.com',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 57746,
},
},
} as const satisfies Chain
12 changes: 11 additions & 1 deletion packages/chains/src/polygonZkEvmTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,20 @@ export const polygonZkEvmTestnet = {
},
},
blockExplorers: {
default: {
blockscout: {
name: 'Blockscout',
url: 'https://explorer.public.zkevm-test.net',
},
default: {
name: 'PolygonScan',
url: 'https://testnet-zkevm.polygonscan.com',
},
},
testnet: true,
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 525686,
},
},
} as const satisfies Chain

0 comments on commit 0a6e6da

Please sign in to comment.