Skip to content

Commit

Permalink
fix(common): extend OP contracts, add redstone ones (#2792)
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed May 7, 2024
1 parent 4e4e910 commit 51b137d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/plenty-peas-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@latticexyz/common": patch
---

Added OP predeploy contracts for Redstone and Garnet chain configs and added chain-specific contracts for Redstone chain config.
1 change: 1 addition & 0 deletions packages/common/src/chains/garnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const garnet = {
},
},
contracts: {
...chainConfig.contracts,
multicall3: {
address: "0xca11bde05977b3631167028862be2a173976ca11",
},
Expand Down
19 changes: 19 additions & 0 deletions packages/common/src/chains/redstone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,28 @@ export const redstone = {
},
},
contracts: {
...chainConfig.contracts,
multicall3: {
address: "0xca11bde05977b3631167028862be2a173976ca11",
},
portal: {
[sourceId]: {
address: "0xC7bCb0e8839a28A1cFadd1CF716de9016CdA51ae",
blockCreated: 19578329,
},
},
l2OutputOracle: {
[sourceId]: {
address: "0xa426A052f657AEEefc298b3B5c35a470e4739d69",
blockCreated: 19578337,
},
},
l1StandardBridge: {
[sourceId]: {
address: "0xc473ca7E02af24c129c2eEf51F2aDf0411c1Df69",
blockCreated: 19578331,
},
},
},
iconUrls: ["https://redstone.xyz/chain-icons/redstone.png"],
indexerUrl: "https://indexer.mud.redstonechain.com",
Expand Down

0 comments on commit 51b137d

Please sign in to comment.