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
2f8c136b
Commit
2f8c136b
authored
Oct 24, 2023
by
tre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config for optimism-goerli
parent
436f50f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
optimism-goerli.json
...acts-bedrock/periphery-deploy-config/optimism-goerli.json
+5
-5
DeployPeriphery.s.sol
packages/contracts-bedrock/scripts/DeployPeriphery.s.sol
+3
-3
No files found.
packages/contracts-bedrock/periphery-deploy-config/optimism-goerli.json
View file @
2f8c136b
{
{
"faucetAdmin"
:
"0x
8F0EBDaA1cF7106bE861753B0f9F5c0250fE0819
"
,
"faucetAdmin"
:
"0x
212E789D4523D4BAF464f8Fb2A9B9dff2B36e5A6
"
,
"faucetDrippieOwner"
:
"0x
Ea193Fd9565284E7534dDDA15b07B119e7792644
"
,
"faucetDrippieOwner"
:
"0x
10ab157483dd308f8B38aCF2ad823dfD255F56b5
"
,
"faucetDripV1Value"
:
20000000000000000000
,
"faucetDripV1Value"
:
20000000000000000000
,
"faucetDripV1Interval"
:
3600
,
"faucetDripV1Interval"
:
3600
,
"faucetDripV1Threshold"
:
100000000000000000000
,
"faucetDripV1Threshold"
:
100000000000000000000
,
...
@@ -11,14 +11,14 @@
...
@@ -11,14 +11,14 @@
"faucetAdminDripV1Threshold"
:
100000000000000000
,
"faucetAdminDripV1Threshold"
:
100000000000000000
,
"faucetAdminDripV1Value"
:
1000000000000000000
,
"faucetAdminDripV1Value"
:
1000000000000000000
,
"faucetGelatoTreasury"
:
"0x644CB00854EDC55FE8CCC9c1967BABb22F08Ad2f"
,
"faucetGelatoTreasury"
:
"0x644CB00854EDC55FE8CCC9c1967BABb22F08Ad2f"
,
"faucetGelatoRecipient"
:
"0x
789e58a4B08A23a7f60141959C6ABbdC0D0C4Aba
"
,
"faucetGelatoRecipient"
:
"0x
0E9b4649eB0760A4F01646636E032D68cFDe58FF
"
,
"faucetGelatoBalanceV1DripInterval"
:
86400
,
"faucetGelatoBalanceV1DripInterval"
:
86400
,
"faucetGelatoBalanceV1Value"
:
1000000000000000000
,
"faucetGelatoBalanceV1Value"
:
1000000000000000000
,
"faucetGelatoThreshold"
:
100000000000000000
,
"faucetGelatoThreshold"
:
100000000000000000
,
"faucetOnchainAuthModuleAdmin"
:
"0x
8F0EBDaA1cF7106bE861753B0f9F5c0250fE0819
"
,
"faucetOnchainAuthModuleAdmin"
:
"0x
Fe44Ae787A632c45ACea658492dDBebE39f002aC
"
,
"faucetOnchainAuthModuleTtl"
:
86400
,
"faucetOnchainAuthModuleTtl"
:
86400
,
"faucetOnchainAuthModuleAmount"
:
1000000000000000000
,
"faucetOnchainAuthModuleAmount"
:
1000000000000000000
,
"faucetOffchainAuthModuleAdmin"
:
"0x
8F0EBDaA1cF7106bE861753B0f9F5c0250fE0819
"
,
"faucetOffchainAuthModuleAdmin"
:
"0x
Fe44Ae787A632c45ACea658492dDBebE39f002aC
"
,
"faucetOffchainAuthModuleTtl"
:
86400
,
"faucetOffchainAuthModuleTtl"
:
86400
,
"faucetOffchainAuthModuleAmount"
:
50000000000000000
"faucetOffchainAuthModuleAmount"
:
50000000000000000
}
}
packages/contracts-bedrock/scripts/DeployPeriphery.s.sol
View file @
2f8c136b
...
@@ -468,7 +468,7 @@ contract DeployPeriphery is Deployer {
...
@@ -468,7 +468,7 @@ contract DeployPeriphery is Deployer {
/// @notice installs the OnChain AuthModule on the Faucet contract.
/// @notice installs the OnChain AuthModule on the Faucet contract.
function installOnChainAuthModule() public broadcast {
function installOnChainAuthModule() public broadcast {
string memory moduleName = "OnChainAuthModule";
string memory moduleName = "OnChainAuthModule";
Faucet faucet = Faucet(mustGetAddress("Faucet"));
Faucet faucet = Faucet(mustGetAddress("Faucet
Proxy
"));
AdminFaucetAuthModule onChainAuthModule = AdminFaucetAuthModule(mustGetAddress(moduleName));
AdminFaucetAuthModule onChainAuthModule = AdminFaucetAuthModule(mustGetAddress(moduleName));
if (faucet.isModuleEnabled(onChainAuthModule)) {
if (faucet.isModuleEnabled(onChainAuthModule)) {
console.log("%s already installed.", moduleName);
console.log("%s already installed.", moduleName);
...
@@ -488,7 +488,7 @@ contract DeployPeriphery is Deployer {
...
@@ -488,7 +488,7 @@ contract DeployPeriphery is Deployer {
/// @notice installs the OffChain AuthModule on the Faucet contract.
/// @notice installs the OffChain AuthModule on the Faucet contract.
function installOffChainAuthModule() public broadcast {
function installOffChainAuthModule() public broadcast {
string memory moduleName = "OffChainAuthModule";
string memory moduleName = "OffChainAuthModule";
Faucet faucet = Faucet(mustGetAddress("Faucet"));
Faucet faucet = Faucet(mustGetAddress("Faucet
Proxy
"));
AdminFaucetAuthModule offChainAuthModule = AdminFaucetAuthModule(mustGetAddress(moduleName));
AdminFaucetAuthModule offChainAuthModule = AdminFaucetAuthModule(mustGetAddress(moduleName));
if (faucet.isModuleEnabled(offChainAuthModule)) {
if (faucet.isModuleEnabled(offChainAuthModule)) {
console.log("%s already installed.", moduleName);
console.log("%s already installed.", moduleName);
...
@@ -507,7 +507,7 @@ contract DeployPeriphery is Deployer {
...
@@ -507,7 +507,7 @@ contract DeployPeriphery is Deployer {
/// @notice installs all of the auth module in the faucet contract.
/// @notice installs all of the auth module in the faucet contract.
function installFaucetAuthModulesConfigs() public {
function installFaucetAuthModulesConfigs() public {
Faucet faucet = Faucet(mustGetAddress("Faucet"));
Faucet faucet = Faucet(mustGetAddress("Faucet
Proxy
"));
console.log("Installing auth modules at %s", address(faucet));
console.log("Installing auth modules at %s", address(faucet));
installOnChainAuthModule();
installOnChainAuthModule();
installOffChainAuthModule();
installOffChainAuthModule();
...
...
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