Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
a0e57885
Commit
a0e57885
authored
Nov 01, 2023
by
tre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ability to archive previous drip configs
parent
f4b6aa35
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
185 additions
and
115 deletions
+185
-115
4460.json
packages/contracts-bedrock/periphery-deploy-config/4460.json
+2
-0
58008.json
...ages/contracts-bedrock/periphery-deploy-config/58008.json
+2
-0
84532.json
...ages/contracts-bedrock/periphery-deploy-config/84532.json
+2
-0
901.json
packages/contracts-bedrock/periphery-deploy-config/901.json
+2
-0
919.json
packages/contracts-bedrock/periphery-deploy-config/919.json
+2
-0
999999999.json
.../contracts-bedrock/periphery-deploy-config/999999999.json
+2
-0
optimism-goerli.json
...acts-bedrock/periphery-deploy-config/optimism-goerli.json
+2
-0
optimism-sepolia.json
...cts-bedrock/periphery-deploy-config/optimism-sepolia.json
+2
-0
sepolia.json
...es/contracts-bedrock/periphery-deploy-config/sepolia.json
+3
-1
DeployPeriphery.s.sol
packages/contracts-bedrock/scripts/DeployPeriphery.s.sol
+162
-114
PeripheryDeployConfig.s.sol
...ges/contracts-bedrock/scripts/PeripheryDeployConfig.s.sol
+4
-0
No files found.
packages/contracts-bedrock/periphery-deploy-config/4460.json
View file @
a0e57885
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"installOpChainFaucetsDrips"
:
false
,
"installOpChainFaucetsDrips"
:
false
,
"archivePreviousOpChainFaucetsDrips"
:
false
,
"dripVersion"
:
1
,
"dripVersion"
:
1
,
"previousDripVersion"
:
0
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripInterval"
:
86400
,
"smallOpChainFaucetDripInterval"
:
86400
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
...
...
packages/contracts-bedrock/periphery-deploy-config/58008.json
View file @
a0e57885
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"installOpChainFaucetsDrips"
:
false
,
"installOpChainFaucetsDrips"
:
false
,
"archivePreviousOpChainFaucetsDrips"
:
false
,
"dripVersion"
:
1
,
"dripVersion"
:
1
,
"previousDripVersion"
:
0
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripInterval"
:
86400
,
"smallOpChainFaucetDripInterval"
:
86400
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
...
...
packages/contracts-bedrock/periphery-deploy-config/84532.json
View file @
a0e57885
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"installOpChainFaucetsDrips"
:
false
,
"installOpChainFaucetsDrips"
:
false
,
"archivePreviousOpChainFaucetsDrips"
:
false
,
"dripVersion"
:
1
,
"dripVersion"
:
1
,
"previousDripVersion"
:
0
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripInterval"
:
86400
,
"smallOpChainFaucetDripInterval"
:
86400
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
...
...
packages/contracts-bedrock/periphery-deploy-config/901.json
View file @
a0e57885
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"installOpChainFaucetsDrips"
:
false
,
"installOpChainFaucetsDrips"
:
false
,
"archivePreviousOpChainFaucetsDrips"
:
false
,
"dripVersion"
:
1
,
"dripVersion"
:
1
,
"previousDripVersion"
:
0
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripInterval"
:
86400
,
"smallOpChainFaucetDripInterval"
:
86400
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
...
...
packages/contracts-bedrock/periphery-deploy-config/919.json
View file @
a0e57885
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"installOpChainFaucetsDrips"
:
false
,
"installOpChainFaucetsDrips"
:
false
,
"archivePreviousOpChainFaucetsDrips"
:
false
,
"dripVersion"
:
1
,
"dripVersion"
:
1
,
"previousDripVersion"
:
0
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripInterval"
:
86400
,
"smallOpChainFaucetDripInterval"
:
86400
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
...
...
packages/contracts-bedrock/periphery-deploy-config/999999999.json
View file @
a0e57885
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"installOpChainFaucetsDrips"
:
false
,
"installOpChainFaucetsDrips"
:
false
,
"archivePreviousOpChainFaucetsDrips"
:
false
,
"dripVersion"
:
1
,
"dripVersion"
:
1
,
"previousDripVersion"
:
0
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripInterval"
:
86400
,
"smallOpChainFaucetDripInterval"
:
86400
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
...
...
packages/contracts-bedrock/periphery-deploy-config/optimism-goerli.json
View file @
a0e57885
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"installOpChainFaucetsDrips"
:
false
,
"installOpChainFaucetsDrips"
:
false
,
"archivePreviousOpChainFaucetsDrips"
:
false
,
"dripVersion"
:
1
,
"dripVersion"
:
1
,
"previousDripVersion"
:
0
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripInterval"
:
86400
,
"smallOpChainFaucetDripInterval"
:
86400
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
...
...
packages/contracts-bedrock/periphery-deploy-config/optimism-sepolia.json
View file @
a0e57885
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"installOpChainFaucetsDrips"
:
false
,
"installOpChainFaucetsDrips"
:
false
,
"archivePreviousOpChainFaucetsDrips"
:
false
,
"dripVersion"
:
1
,
"dripVersion"
:
1
,
"previousDripVersion"
:
0
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripInterval"
:
86400
,
"smallOpChainFaucetDripInterval"
:
86400
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
...
...
packages/contracts-bedrock/periphery-deploy-config/sepolia.json
View file @
a0e57885
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"modeL1BridgeAddress"
:
"0xbC5C679879B2965296756CD959C3C739769995E2"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"lyraL1BridgeAddress"
:
"0x915f179A77FB2e1AeA8b56Ebc0D75A7e1A8a7A17"
,
"installOpChainFaucetsDrips"
:
true
,
"installOpChainFaucetsDrips"
:
true
,
"dripVersion"
:
1
,
"archivePreviousOpChainFaucetsDrips"
:
false
,
"dripVersion"
:
2
,
"previousDripVersion"
:
1
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripValue"
:
2000000000000000000
,
"smallOpChainFaucetDripInterval"
:
86400
,
"smallOpChainFaucetDripInterval"
:
86400
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
"largeOpChainFaucetDripValue"
:
34000000000000000000
,
...
...
packages/contracts-bedrock/scripts/DeployPeriphery.s.sol
View file @
a0e57885
This diff is collapsed.
Click to expand it.
packages/contracts-bedrock/scripts/PeripheryDeployConfig.s.sol
View file @
a0e57885
...
@@ -35,6 +35,7 @@ contract PeripheryDeployConfig is Script {
...
@@ -35,6 +35,7 @@ contract PeripheryDeployConfig is Script {
uint256 public faucetOffchainAuthModuleTtl;
uint256 public faucetOffchainAuthModuleTtl;
uint256 public faucetOffchainAuthModuleAmount;
uint256 public faucetOffchainAuthModuleAmount;
bool public installOpChainFaucetsDrips;
bool public installOpChainFaucetsDrips;
bool public archivePreviousOpChainFaucetsDrips;
uint256 public smallOpChainFaucetDripValue;
uint256 public smallOpChainFaucetDripValue;
uint256 public smallOpChainFaucetDripInterval;
uint256 public smallOpChainFaucetDripInterval;
uint256 public largeOpChainFaucetDripValue;
uint256 public largeOpChainFaucetDripValue;
...
@@ -51,6 +52,7 @@ contract PeripheryDeployConfig is Script {
...
@@ -51,6 +52,7 @@ contract PeripheryDeployConfig is Script {
address[5] public smallFaucetsL1BridgeAddresses;
address[5] public smallFaucetsL1BridgeAddresses;
address[2] public largeFaucetsL1BridgeAddresses;
address[2] public largeFaucetsL1BridgeAddresses;
uint256 public dripVersion;
uint256 public dripVersion;
uint256 public previousDripVersion;
constructor(string memory _path) {
constructor(string memory _path) {
console.log("PeripheryDeployConfig: reading file %s", _path);
console.log("PeripheryDeployConfig: reading file %s", _path);
...
@@ -84,6 +86,7 @@ contract PeripheryDeployConfig is Script {
...
@@ -84,6 +86,7 @@ contract PeripheryDeployConfig is Script {
faucetOffchainAuthModuleTtl = stdJson.readUint(_json, "$.faucetOffchainAuthModuleTtl");
faucetOffchainAuthModuleTtl = stdJson.readUint(_json, "$.faucetOffchainAuthModuleTtl");
faucetOffchainAuthModuleAmount = stdJson.readUint(_json, "$.faucetOffchainAuthModuleAmount");
faucetOffchainAuthModuleAmount = stdJson.readUint(_json, "$.faucetOffchainAuthModuleAmount");
installOpChainFaucetsDrips = stdJson.readBool(_json, "$.installOpChainFaucetsDrips");
installOpChainFaucetsDrips = stdJson.readBool(_json, "$.installOpChainFaucetsDrips");
archivePreviousOpChainFaucetsDrips = stdJson.readBool(_json, "$.archivePreviousOpChainFaucetsDrips");
opL1BridgeAddress = stdJson.readAddress(_json, "$.opL1BridgeAddress");
opL1BridgeAddress = stdJson.readAddress(_json, "$.opL1BridgeAddress");
baseL1BridgeAddress = stdJson.readAddress(_json, "$.baseL1BridgeAddress");
baseL1BridgeAddress = stdJson.readAddress(_json, "$.baseL1BridgeAddress");
zoraL1BridgeAddress = stdJson.readAddress(_json, "$.zoraL1BridgeAddress");
zoraL1BridgeAddress = stdJson.readAddress(_json, "$.zoraL1BridgeAddress");
...
@@ -92,6 +95,7 @@ contract PeripheryDeployConfig is Script {
...
@@ -92,6 +95,7 @@ contract PeripheryDeployConfig is Script {
modeL1BridgeAddress = stdJson.readAddress(_json, "$.modeL1BridgeAddress");
modeL1BridgeAddress = stdJson.readAddress(_json, "$.modeL1BridgeAddress");
lyraL1BridgeAddress = stdJson.readAddress(_json, "$.lyraL1BridgeAddress");
lyraL1BridgeAddress = stdJson.readAddress(_json, "$.lyraL1BridgeAddress");
dripVersion = stdJson.readUint(_json, "$.dripVersion");
dripVersion = stdJson.readUint(_json, "$.dripVersion");
previousDripVersion = stdJson.readUint(_json, "$.previousDripVersion");
smallOpChainFaucetDripValue = stdJson.readUint(_json, "$.smallOpChainFaucetDripValue");
smallOpChainFaucetDripValue = stdJson.readUint(_json, "$.smallOpChainFaucetDripValue");
smallOpChainFaucetDripInterval = stdJson.readUint(_json, "$.smallOpChainFaucetDripInterval");
smallOpChainFaucetDripInterval = stdJson.readUint(_json, "$.smallOpChainFaucetDripInterval");
largeOpChainFaucetDripValue = stdJson.readUint(_json, "$.largeOpChainFaucetDripValue");
largeOpChainFaucetDripValue = stdJson.readUint(_json, "$.largeOpChainFaucetDripValue");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment