Skip to content

Commit

Permalink
Merge pull request #189 from valory-xyz/mode_deployment
Browse files Browse the repository at this point in the history
chore: deployment on mode
  • Loading branch information
DavidMinarsch authored Oct 18, 2024
2 parents ec017f7 + 00323e2 commit c25417d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,5 @@ b616524545db2768fb9a3772ffd05c6e0a7f2d8b:scripts/deployment/staking/celo/globals
141c8cc48eeb630fd089881fe56a2112f66319e9:scripts/deployment/staking/globals_mainnet.json:generic-api-key:2
1a069690b3feed565232f9c70ea6d73ee61f00fb:scripts/deployment/staking/globals_mainnet.json:generic-api-key:1
1a069690b3feed565232f9c70ea6d73ee61f00fb:scripts/deployment/staking/globals_mainnet.json:generic-api-key:2
ec017f7f1095f26fe63906ec36c9ede28030ea8a:scripts/deployment/staking/globals_mainnet.json:generic-api-key:1
ec017f7f1095f26fe63906ec36c9ede28030ea8a:scripts/deployment/staking/globals_mainnet.json:generic-api-key:2
16 changes: 16 additions & 0 deletions docs/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@
"name": "PolygonDepositProcessorL1",
"artifact": "abis/0.8.25/PolygonDepositProcessorL1.json",
"address": "0x4Ce43b82EF1298E1466D3b3Cee67BA6680bF82FB"
},
{
"name": "OptimismDepositProcessorL1",
"artifact": "abis/0.8.28/OptimismDepositProcessorL1.json",
"address": "0x792CDB3c195E688F6dCEB0B7631510D03144087F"
}
]
},
Expand Down Expand Up @@ -206,5 +211,16 @@
"address": ""
}
]
},
{
"name": "mode",
"chainId": "137",
"contracts": [
{
"name": "OptimismTargetDispenserL2",
"artifact": "abis/0.8.28/OptimismTargetDispenserL2.json",
"address": "0x47135D1Cf850d7Df7f7f563F300cc7022F7978a4"
}
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function main() {
// Contract verification
if (parsedData.contractVerification) {
const execSync = require("child_process").execSync;
execSync("npx hardhat verify --constructor-args scripts/deployment/staking/optimistic/verify_11_mode_target_dispenser.js --network " + providerName + " " + modeTargetDispenserL2.address, { encoding: "utf-8" });
execSync("npx hardhat verify --constructor-args scripts/deployment/staking/mode/verify_11_mode_target_dispenser.js --network " + providerName + " " + modeTargetDispenserL2.address, { encoding: "utf-8" });
}
}

Expand Down

0 comments on commit c25417d

Please sign in to comment.