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

feat: Add multicall3 to Polygon zkEVM #408

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading