Skip to content

Commit

Permalink
add zircuit network (#22)
Browse files Browse the repository at this point in the history
* add zircuit network

* support zircuit network

* base config

* executed

* repair arbitrum->zircuit messager connect

* proposol 19

* executed

* connect bridge arb<>zircuit

* exe

---------

Co-authored-by: echo <[email protected]>
  • Loading branch information
xiaoch05 and hujw77 authored Aug 13, 2024
1 parent ec21b2b commit 3987785
Show file tree
Hide file tree
Showing 21 changed files with 2,129 additions and 25 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ polygon-pos = "https://polygon-mainnet.blastapi.io/${BLAST_KEY}"
optimistic = "https://optimism-mainnet.blastapi.io/${BLAST_KEY}"
arbitrum = "https://arbitrum-one.blastapi.io/${BLAST_KEY}"
bsc = "https://bsc-mainnet.blastapi.io/${BLAST_KEY}"
zircuit = "https://zircuit1-mainnet.p2pify.com"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"devDependencies": {
"@hujw77/plugins": "0.1.19"
"@hujw77/plugins": "0.1.20"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
{
"networkConfigs": [
{
"safeAddress": "0xD0a0899c5dc2FEb253D57Ab0b7c6d1b1Fcbbf824",
"moduleAddress": "0x6dD645A2cC61713Bf1CBB369652e0a36c3996Fb2",
"safeInitData": "0xb63e800d00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000a238cbeb142c10ef7ad8442c6d1f9e89e07e776100000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000f48f2b2d2a534e402487b3ee7c18c33aec0fe5e4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000e3993566b34e5367d1c602439997bd08c11ff70000000000000000000000000f14341a7f464320319025540e8fe48ad0fe5aec00000000000000000000000052386be2397e8eac26298f733b390684203fb58000000000000000000000000088a39b052d477cfde47600a7c9950a441ce61cb4000000000000000000000000e59261f6d4088bcd69985a3d369ff14cc54ef1e500000000000000000000000000000000000000000000000000000000000001448d80ff0a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000f2008f3301c9eada5642b5bb12fd047d3ebb2932e619000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000248236d0b80000000000000000000000000000000000000000000000000000000000000000018f3301c9eada5642b5bb12fd047d3ebb2932e6190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002411ea37fc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": "15",
"chainId": "42161",
"blockGasLimit": "1125899906842624",
"blockNumber": "240992593",
"newConfig": {
"projectName": "Helix-DAO",
"orgId": "cluanacaw000111jik4xs4wkl",
"owners": [
"0x00E3993566b34e5367d1C602439997BD08c11FF7",
"0x0f14341A7f464320319025540E8Fe48Ad0fe5aec",
"0x52386BE2397e8EAc26298F733b390684203fB580",
"0x88a39B052d477CfdE47600a7C9950a441Ce61cb4",
"0xe59261f6D4088BcD69985A3D369Ff14cC54EF1E5"
],
"mainnets": [
"arbitrum"
],
"testnets": [],
"threshold": "3",
"saltNonce": "0"
},
"executionMode": 2,
"initialState": {
"isExecuting": false,
"isModuleDeployed": true,
"isSafeDeployed": true
},
"isSystemDeployed": true,
"actionInputs": [
{
"actionType": 2,
"contracts": [],
"index": "1",
"decodedAction": {
"referenceName": "0xbA5D580B18b6436411562981e02c8A9aA1776D10",
"functionName": "call",
"variables": [
"0x2fe5718b000000000000000000000000000000000000000000000000000000000000bf04000000000000000000000000ba5d580b18b6436411562981e02c8a9aa1776d10000000000000000000000000509354a4ebf98acc7a65d2264694a65a2938cac9"
],
"address": "",
"value": "0"
},
"gas": "162528",
"requireSuccess": true,
"value": "0",
"operation": 0,
"to": "0xbA5D580B18b6436411562981e02c8A9aA1776D10",
"txData": "0x2fe5718b000000000000000000000000000000000000000000000000000000000000bf04000000000000000000000000ba5d580b18b6436411562981e02c8a9aa1776d10000000000000000000000000509354a4ebf98acc7a65d2264694a65a2938cac9"
},
{
"actionType": 2,
"contracts": [],
"index": "2",
"decodedAction": {
"referenceName": "0xbA5D580B18b6436411562981e02c8A9aA1776D10",
"functionName": "call",
"variables": [
"0x8c4cff20000000000000000000000000000000000000000000000000000000000000bf04000000000000000000000000ba5d580b18b6436411562981e02c8a9aa1776d10000000000000000000000000509354a4ebf98acc7a65d2264694a65a2938cac9"
],
"address": "",
"value": "0"
},
"gas": "153536",
"requireSuccess": true,
"value": "0",
"operation": 0,
"to": "0xbA5D580B18b6436411562981e02c8A9aA1776D10",
"txData": "0x8c4cff20000000000000000000000000000000000000000000000000000000000000bf04000000000000000000000000ba5d580b18b6436411562981e02c8a9aa1776d10000000000000000000000000509354a4ebf98acc7a65d2264694a65a2938cac9"
}
],
"unlabeledContracts": [],
"arbitraryChain": false,
"executorAddress": "0x7e16116661CA8d66C73612382833153911Fa03B1",
"libraries": [],
"gitCommit": "a6af507b36bd7c942214cf675e7ff16f0c5aa6d5",
"safeFundingRequest": {
"fundsRequested": "0",
"startingBalance": "0"
}
}
],
"buildInfos": {},
"inputs": [],
"version": "0.2.0",
"merkleTree": {
"root": "0x74af47aa7e9206534cf2c67c4af4cd9d9092b2807efa8da110050fd4975681bb",
"leavesWithProofs": [
{
"leaf": {
"chainId": "42161",
"index": "0",
"leafType": 0,
"data": "0x000000000000000000000000d0a0899c5dc2feb253d57ab0b7c6d1b1fcbbf8240000000000000000000000006dd645a2cc61713bf1cbb369652e0a36c3996fb2000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000000030000000000000000000000007e16116661ca8d66c73612382833153911fa03b100000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
},
"proof": [
"0x0a2647900b9c404c88f33a0b7520c101e04c6518004aee6cee623ba4748776e0"
]
},
{
"leaf": {
"chainId": "42161",
"index": "1",
"leafType": 1,
"data": "0x000000000000000000000000ba5d580b18b6436411562981e02c8a9aa1776d1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000027ae000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000642fe5718b000000000000000000000000000000000000000000000000000000000000bf04000000000000000000000000ba5d580b18b6436411562981e02c8a9aa1776d10000000000000000000000000509354a4ebf98acc7a65d2264694a65a2938cac900000000000000000000000000000000000000000000000000000000"
},
"proof": [
"0x5bc82a239afe56134c07365a178842d2342703e30a8709466b48e98476a0c2d0",
"0xe04da97cd175d86a4931358535d5de6c1e48139517636e799d60cd0ae42c6a42"
]
},
{
"leaf": {
"chainId": "42161",
"index": "2",
"leafType": 1,
"data": "0x000000000000000000000000ba5d580b18b6436411562981e02c8a9aa1776d10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000257c000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000648c4cff20000000000000000000000000000000000000000000000000000000000000bf04000000000000000000000000ba5d580b18b6436411562981e02c8a9aa1776d10000000000000000000000000509354a4ebf98acc7a65d2264694a65a2938cac900000000000000000000000000000000000000000000000000000000"
},
"proof": [
"0xb148f751e1e968573fe16f765cd566b9014132a67797834ac0ac6c4b09bf72d9",
"0xe04da97cd175d86a4931358535d5de6c1e48139517636e799d60cd0ae42c6a42"
]
}
]
},
"configArtifacts": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"signer": "0x0f14341a7f464320319025540e8fe48ad0fe5aec",
"signature": "0x53b8043541b3a62f6c81ac9e940b4898fcd48f46d8566fc082048de4b7d81df019f10cffb741db3fa1b8b94d970e0bb1f325f2a58ef9dd247c6ca0159e3026071c"
},
{
"signer": "0x88a39b052d477cfde47600a7c9950a441ce61cb4",
"signature": "0x87063860b6f11a5c5f2e9064c25c45e0aeb2871cb4dfd5b876d897dedffc1edb70fc9dc097ea83521c2d525b53b204dee3886ba96be093d06893a3126c5d87e41b"
},
{
"signer": "0xe59261f6d4088bcd69985a3d369ff14cc54ef1e5",
"signature": "0xcd66023eda34fffe8c73b7dd8bca46a794a09d2455a55249b4696e1b369e268230672c1bed805fbe0a48364eb9eb20a17b1eb75c1383ae172e0953446e846e851c"
}
]
Loading

0 comments on commit 3987785

Please sign in to comment.