Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: deployment-ready scripts #4

Merged
merged 2 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion abis/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Autonolas Staking Programmes ABIs
These ABIs were obtained with 1000000 optimization passes.
These ABIs were obtained with 750 optimization passes.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function main() {
// Contract verification
if (parsedData.contractVerification) {
const execSync = require("child_process").execSync;
execSync("npx hardhat verify --constructor-args scripts/deployment/l2/verify_01_service_staking_token_mech_usage.js --network " + providerName + " " + serviceStakingTokenMechUsage.address, { encoding: "utf-8" });
execSync("npx hardhat verify --constructor-args scripts/deployment/verify_01_service_staking_token_mech_usage.js --network " + providerName + " " + serviceStakingTokenMechUsage.address, { encoding: "utf-8" });
}
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/deployment/deploy_02_service_staking_mech_usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async function main() {
// Contract verification
if (parsedData.contractVerification) {
const execSync = require("child_process").execSync;
execSync("npx hardhat verify --constructor-args scripts/deployment/l2/verify_02_service_staking_mech_usage.js --network " + providerName + " " + serviceStakingMechUsage.address, { encoding: "utf-8" });
execSync("npx hardhat verify --constructor-args scripts/deployment/verify_02_service_staking_mech_usage.js --network " + providerName + " " + serviceStakingMechUsage.address, { encoding: "utf-8" });
}
}

Expand Down
11 changes: 6 additions & 5 deletions scripts/deployment/globals_gnosis_mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@
"olasAddress": "0xcE11e14225575945b8E6Dc0D4F2dD4C570f79d9f",
"multisigProxyHash130": "0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000",
"serviceStakingParams": {
"maxNumServices": "100",
"rewardsPerSecond": "385802469136",
"minStakingDeposit": "50000000000000000000",
"maxNumServices": "2",
"rewardsPerSecond": "5787037037037",
"minStakingDeposit": "1000000000000000000",
"livenessPeriod": "86400",
"livenessRatio": "520833333333333",
"livenessRatio": "1157407407407",
"numAgentInstances": "1",
"agentIds": ["12"],
"threshold": "0",
"configHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"agentMechAddress": "0xFf82123dFB52ab75C417195c5fDB87630145ae81"
"agentMechAddress": "0x77af31De935740567Cf4fF1986D04B2c964A786a",
"serviceStakingTokenMechUsageAddress": "0x92499E80f50f06C4078794C179986907e7822Ea1"
}
Loading