From 3e78625ee6d5d0170ceaab9c2c34e42ede4d20e8 Mon Sep 17 00:00:00 2001 From: Aleksandr Kuperman Date: Fri, 19 Jul 2024 17:39:16 +0100 Subject: [PATCH] chore: updating staking deployment scripts --- .../l2/deploy_16_service_staking_token.js | 13 +++++- .../deploy_17_service_staking_native_token.js | 13 +++++- ...loy_18_service_staking_activity_checker.js | 13 +++++- .../l2/deploy_19_service_staking_verifier.js | 13 +++++- .../l2/deploy_20_service_staking_factory.js | 13 +++++- .../deployment/l2/globals_arbitrum_one.json | 2 +- .../deployment/l2/globals_base_mainnet.json | 2 +- .../deployment/l2/globals_celo_mainnet.json | 2 +- .../l2/globals_ethereum_mainnet.json | 40 +++++++++++++++++++ .../deployment/l2/globals_gnosis_mainnet.json | 6 +-- .../l2/globals_optimistic_mainnet.json | 2 +- 11 files changed, 107 insertions(+), 12 deletions(-) create mode 100644 scripts/deployment/l2/globals_ethereum_mainnet.json diff --git a/scripts/deployment/l2/deploy_16_service_staking_token.js b/scripts/deployment/l2/deploy_16_service_staking_token.js index 8bb6bfb4..2a2a26a2 100644 --- a/scripts/deployment/l2/deploy_16_service_staking_token.js +++ b/scripts/deployment/l2/deploy_16_service_staking_token.js @@ -14,7 +14,18 @@ async function main() { const gasPriceInGwei = parsedData.gasPriceInGwei; let networkURL = parsedData.networkURL; - if (providerName === "polygon") { + if (providerName === "mainnet") { + if (!process.env.ALCHEMY_API_KEY_MAINNET) { + console.log("set ALCHEMY_API_KEY_MAINNET env variable"); + } + networkURL += process.env.ALCHEMY_API_KEY_MAINNET; + } else if (providerName === "sepolia") { + if (!process.env.ALCHEMY_API_KEY_SEPOLIA) { + console.log("set ALCHEMY_API_KEY_SEPOLIA env variable"); + return; + } + networkURL += process.env.ALCHEMY_API_KEY_SEPOLIA; + } else if (providerName === "polygon") { if (!process.env.ALCHEMY_API_KEY_MATIC) { console.log("set ALCHEMY_API_KEY_MATIC env variable"); } diff --git a/scripts/deployment/l2/deploy_17_service_staking_native_token.js b/scripts/deployment/l2/deploy_17_service_staking_native_token.js index bbcfaa0b..c09e82e5 100644 --- a/scripts/deployment/l2/deploy_17_service_staking_native_token.js +++ b/scripts/deployment/l2/deploy_17_service_staking_native_token.js @@ -14,7 +14,18 @@ async function main() { const gasPriceInGwei = parsedData.gasPriceInGwei; let networkURL = parsedData.networkURL; - if (providerName === "polygon") { + if (providerName === "mainnet") { + if (!process.env.ALCHEMY_API_KEY_MAINNET) { + console.log("set ALCHEMY_API_KEY_MAINNET env variable"); + } + networkURL += process.env.ALCHEMY_API_KEY_MAINNET; + } else if (providerName === "sepolia") { + if (!process.env.ALCHEMY_API_KEY_SEPOLIA) { + console.log("set ALCHEMY_API_KEY_SEPOLIA env variable"); + return; + } + networkURL += process.env.ALCHEMY_API_KEY_SEPOLIA; + } else if (providerName === "polygon") { if (!process.env.ALCHEMY_API_KEY_MATIC) { console.log("set ALCHEMY_API_KEY_MATIC env variable"); } diff --git a/scripts/deployment/l2/deploy_18_service_staking_activity_checker.js b/scripts/deployment/l2/deploy_18_service_staking_activity_checker.js index fb315f29..054d68c6 100644 --- a/scripts/deployment/l2/deploy_18_service_staking_activity_checker.js +++ b/scripts/deployment/l2/deploy_18_service_staking_activity_checker.js @@ -15,7 +15,18 @@ async function main() { const livenessRatio = parsedData.livenessRatio; let networkURL = parsedData.networkURL; - if (providerName === "polygon") { + if (providerName === "mainnet") { + if (!process.env.ALCHEMY_API_KEY_MAINNET) { + console.log("set ALCHEMY_API_KEY_MAINNET env variable"); + } + networkURL += process.env.ALCHEMY_API_KEY_MAINNET; + } else if (providerName === "sepolia") { + if (!process.env.ALCHEMY_API_KEY_SEPOLIA) { + console.log("set ALCHEMY_API_KEY_SEPOLIA env variable"); + return; + } + networkURL += process.env.ALCHEMY_API_KEY_SEPOLIA; + } else if (providerName === "polygon") { if (!process.env.ALCHEMY_API_KEY_MATIC) { console.log("set ALCHEMY_API_KEY_MATIC env variable"); } diff --git a/scripts/deployment/l2/deploy_19_service_staking_verifier.js b/scripts/deployment/l2/deploy_19_service_staking_verifier.js index 7321528e..8167417c 100644 --- a/scripts/deployment/l2/deploy_19_service_staking_verifier.js +++ b/scripts/deployment/l2/deploy_19_service_staking_verifier.js @@ -21,7 +21,18 @@ async function main() { const serviceRegistryTokenUtilityAddress = parsedData.serviceRegistryTokenUtilityAddress; let networkURL = parsedData.networkURL; - if (providerName === "polygon") { + if (providerName === "mainnet") { + if (!process.env.ALCHEMY_API_KEY_MAINNET) { + console.log("set ALCHEMY_API_KEY_MAINNET env variable"); + } + networkURL += process.env.ALCHEMY_API_KEY_MAINNET; + } else if (providerName === "sepolia") { + if (!process.env.ALCHEMY_API_KEY_SEPOLIA) { + console.log("set ALCHEMY_API_KEY_SEPOLIA env variable"); + return; + } + networkURL += process.env.ALCHEMY_API_KEY_SEPOLIA; + } else if (providerName === "polygon") { if (!process.env.ALCHEMY_API_KEY_MATIC) { console.log("set ALCHEMY_API_KEY_MATIC env variable"); } diff --git a/scripts/deployment/l2/deploy_20_service_staking_factory.js b/scripts/deployment/l2/deploy_20_service_staking_factory.js index 5ef78f30..60b1cd13 100644 --- a/scripts/deployment/l2/deploy_20_service_staking_factory.js +++ b/scripts/deployment/l2/deploy_20_service_staking_factory.js @@ -15,7 +15,18 @@ async function main() { const stakingVerifierAddress = parsedData.stakingVerifierAddress; let networkURL = parsedData.networkURL; - if (providerName === "polygon") { + if (providerName === "mainnet") { + if (!process.env.ALCHEMY_API_KEY_MAINNET) { + console.log("set ALCHEMY_API_KEY_MAINNET env variable"); + } + networkURL += process.env.ALCHEMY_API_KEY_MAINNET; + } else if (providerName === "sepolia") { + if (!process.env.ALCHEMY_API_KEY_SEPOLIA) { + console.log("set ALCHEMY_API_KEY_SEPOLIA env variable"); + return; + } + networkURL += process.env.ALCHEMY_API_KEY_SEPOLIA; + } else if (providerName === "polygon") { if (!process.env.ALCHEMY_API_KEY_MATIC) { console.log("set ALCHEMY_API_KEY_MATIC env variable"); } diff --git a/scripts/deployment/l2/globals_arbitrum_one.json b/scripts/deployment/l2/globals_arbitrum_one.json index f4d4fd9e..1b50c52d 100644 --- a/scripts/deployment/l2/globals_arbitrum_one.json +++ b/scripts/deployment/l2/globals_arbitrum_one.json @@ -1 +1 @@ -{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"arbitrumOne","networkURL":"https://arb1.arbitrum.io/rpc","gasPriceInGwei":"2","gnosisSafeAddress":"0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552","gnosisSafeProxyFactoryAddress":"0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2","baseURI":"https://gateway.autonolas.tech/ipfs/","serviceRegistryName":"Service Registry L2","serviceRegistrySymbol":"AUTONOLAS-SERVICE-L2-V1","bridgeMediatorAddress":"0x4d30F68F5AA342d296d4deE4bB1Cacca912dA70F","serviceRegistryAddress":"0xE3607b00E75f6405248323A9417ff6b39B244b50","gnosisSafeMultisigImplementationAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b","gnosisSafeSameAddressMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac","operatorWhitelistAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","serviceRegistryTokenUtilityAddress":"0x3d77596beb0f130a4415df3D2D8232B3d3D31e44","serviceManagerTokenAddress":"0x34C895f302D0b5cf52ec0Edd3945321EB0f83dd5","olasAddress":"0x064F8B858C2A603e1b106a2039f5446D32dc81c1","multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","stakingTokenAddress":"","stakingNativeTokenAddress":"","minStakingDepositLimit":"1000000000000000000000","timeForEmissionsLimit":"2592000","numServicesLimit":"100","apyLimit":"3000000000000000000","stakingVerifierAddress":"","stakingFactoryAddress":"","livenessRatio":"700000000000000","stakingActivityCheckerAddress":"","stakingParams":{"metadataHash":"","maxNumServices":"100","rewardsPerSecond":"1000000000000000","minStakingDeposit":"50000000000000000000","minNumStakingPeriods":"3","maxNumInactivityPeriods":"3","livenessPeriod":"86400","timeForEmissions":"2592000","numAgentInstances":"1","agentIds":["14"],"threshold":"0","configHash":"0x0000000000000000000000000000000000000000000000000000000000000000","proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistry":"0xE3607b00E75f6405248323A9417ff6b39B244b50","activityChecker":""}} \ No newline at end of file +{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"arbitrumOne","networkURL":"https://arb1.arbitrum.io/rpc","gasPriceInGwei":"2","gnosisSafeAddress":"0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552","gnosisSafeProxyFactoryAddress":"0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2","baseURI":"https://gateway.autonolas.tech/ipfs/","serviceRegistryName":"Service Registry L2","serviceRegistrySymbol":"AUTONOLAS-SERVICE-L2-V1","bridgeMediatorAddress":"0x4d30F68F5AA342d296d4deE4bB1Cacca912dA70F","serviceRegistryAddress":"0xE3607b00E75f6405248323A9417ff6b39B244b50","gnosisSafeMultisigImplementationAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b","gnosisSafeSameAddressMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac","operatorWhitelistAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","serviceRegistryTokenUtilityAddress":"0x3d77596beb0f130a4415df3D2D8232B3d3D31e44","serviceManagerTokenAddress":"0x34C895f302D0b5cf52ec0Edd3945321EB0f83dd5","olasAddress":"0x064F8B858C2A603e1b106a2039f5446D32dc81c1","multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","stakingTokenAddress":"0x04b0007b2aFb398015B76e5f22993a1fddF83644","stakingNativeTokenAddress":"","minStakingDepositLimit":"1000000000000000000000","timeForEmissionsLimit":"2592000","numServicesLimit":"100","apyLimit":"3000000000000000000","stakingVerifierAddress":"0x7Fd1F4b764fA41d19fe3f63C85d12bf64d2bbf68","stakingFactoryAddress":"0xEB5638eefE289691EcE01943f768EDBF96258a80","livenessRatio":"700000000000000","stakingActivityCheckerAddress":"","stakingParams":{"metadataHash":"","maxNumServices":"100","rewardsPerSecond":"1000000000000000","minStakingDeposit":"50000000000000000000","minNumStakingPeriods":"3","maxNumInactivityPeriods":"3","livenessPeriod":"86400","timeForEmissions":"2592000","numAgentInstances":"1","agentIds":["14"],"threshold":"0","configHash":"0x0000000000000000000000000000000000000000000000000000000000000000","proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistry":"0xE3607b00E75f6405248323A9417ff6b39B244b50","activityChecker":""}} \ No newline at end of file diff --git a/scripts/deployment/l2/globals_base_mainnet.json b/scripts/deployment/l2/globals_base_mainnet.json index 3bbcea63..eafb57aa 100644 --- a/scripts/deployment/l2/globals_base_mainnet.json +++ b/scripts/deployment/l2/globals_base_mainnet.json @@ -1 +1 @@ -{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"base","networkURL":"https://mainnet.base.org","gasPriceInGwei":"2","gnosisSafeAddress":"0x69f4D1788e39c87893C980c06EdF4b7f686e2938","gnosisSafeProxyFactoryAddress":"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC","baseURI":"https://gateway.autonolas.tech/ipfs/","serviceRegistryName":"Service Registry L2","serviceRegistrySymbol":"AUTONOLAS-SERVICE-L2-V1","bridgeMediatorAddress":"","olasAddress":"","multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistryAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","operatorWhitelistAddress":"0x3d77596beb0f130a4415df3D2D8232B3d3D31e44","serviceRegistryTokenUtilityAddress":"0x34C895f302D0b5cf52ec0Edd3945321EB0f83dd5","serviceManagerTokenAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b","gnosisSafeMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac","gnosisSafeSameAddressMultisigImplementationAddress":"0xFbBEc0C8b13B38a9aC0499694A69a10204c5E2aB","stakingTokenAddress":"","stakingNativeTokenAddress":"","minStakingDepositLimit":"1000000000000000000000","timeForEmissionsLimit":"2592000","numServicesLimit":"100","apyLimit":"3000000000000000000","stakingVerifierAddress":"","stakingFactoryAddress":"","livenessRatio":"700000000000000","stakingActivityCheckerAddress":"","stakingParams":{"metadataHash":"","maxNumServices":"100","rewardsPerSecond":"1000000000000000","minStakingDeposit":"50000000000000000000","minNumStakingPeriods":"3","maxNumInactivityPeriods":"3","livenessPeriod":"86400","timeForEmissions":"2592000","numAgentInstances":"1","agentIds":["14"],"threshold":"0","configHash":"0x0000000000000000000000000000000000000000000000000000000000000000","proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistry":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","activityChecker":""}} \ No newline at end of file +{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"base","networkURL":"https://mainnet.base.org","gasPriceInGwei":"2","gnosisSafeAddress":"0x69f4D1788e39c87893C980c06EdF4b7f686e2938","gnosisSafeProxyFactoryAddress":"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC","baseURI":"https://gateway.autonolas.tech/ipfs/","serviceRegistryName":"Service Registry L2","serviceRegistrySymbol":"AUTONOLAS-SERVICE-L2-V1","bridgeMediatorAddress":"","olasAddress":"0x54330d28ca3357F294334BDC454a032e7f353416","multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistryAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","operatorWhitelistAddress":"0x3d77596beb0f130a4415df3D2D8232B3d3D31e44","serviceRegistryTokenUtilityAddress":"0x34C895f302D0b5cf52ec0Edd3945321EB0f83dd5","serviceManagerTokenAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b","gnosisSafeMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac","gnosisSafeSameAddressMultisigImplementationAddress":"0xFbBEc0C8b13B38a9aC0499694A69a10204c5E2aB","stakingTokenAddress":"","stakingNativeTokenAddress":"","minStakingDepositLimit":"1000000000000000000000","timeForEmissionsLimit":"2592000","numServicesLimit":"100","apyLimit":"3000000000000000000","stakingVerifierAddress":"","stakingFactoryAddress":"","livenessRatio":"700000000000000","stakingActivityCheckerAddress":"","stakingParams":{"metadataHash":"","maxNumServices":"100","rewardsPerSecond":"1000000000000000","minStakingDeposit":"50000000000000000000","minNumStakingPeriods":"3","maxNumInactivityPeriods":"3","livenessPeriod":"86400","timeForEmissions":"2592000","numAgentInstances":"1","agentIds":["14"],"threshold":"0","configHash":"0x0000000000000000000000000000000000000000000000000000000000000000","proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistry":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","activityChecker":""}} \ No newline at end of file diff --git a/scripts/deployment/l2/globals_celo_mainnet.json b/scripts/deployment/l2/globals_celo_mainnet.json index 109276f6..888a17ca 100644 --- a/scripts/deployment/l2/globals_celo_mainnet.json +++ b/scripts/deployment/l2/globals_celo_mainnet.json @@ -1 +1 @@ -{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"celo","networkURL":"https://forno.celo.org","gasPriceInGwei":"10","gnosisSafeAddress":"0x69f4D1788e39c87893C980c06EdF4b7f686e2938","gnosisSafeProxyFactoryAddress":"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC","baseURI":"https://gateway.autonolas.tech/ipfs/","serviceRegistryName":"Service Registry L2","serviceRegistrySymbol":"AUTONOLAS-SERVICE-L2-V1","bridgeMediatorAddress":"","olasAddress":"","multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistryAddress":"0xE3607b00E75f6405248323A9417ff6b39B244b50","operatorWhitelistAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","serviceRegistryTokenUtilityAddress":"0x3d77596beb0f130a4415df3D2D8232B3d3D31e44","serviceManagerTokenAddress":"0x34C895f302D0b5cf52ec0Edd3945321EB0f83dd5","gnosisSafeMultisigImplementationAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b","gnosisSafeSameAddressMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac","stakingTokenAddress":"0x43d28764bB39936185c84906983fB57A8A905a4F","stakingNativeTokenAddress":"","livenessRatio":"700000000000000","stakingActivityCheckerAddress":"0xB575dd20281c63288428DD58e5f579CC7d6aae4d","minStakingDepositLimit":"1000000000000000000000","timeForEmissionsLimit":"2592000","numServicesLimit":"100","apyLimit":"3000000000000000000","stakingVerifierAddress":"0x0000000000000000000000000000000000000000","stakingFactoryAddress":"0x670Ac235EE13C0B2a5065282bBB0c61cfB354592","stakingParams":{"metadataHash":"0x0000000000000000000000000000000000000000000000000000000000000001","maxNumServices":"100","rewardsPerSecond":"1000000000000000","minStakingDeposit":"50000000000000000000","minNumStakingPeriods":"3","maxNumInactivityPeriods":"3","livenessPeriod":"86400","timeForEmissions":"2592000","numAgentInstances":"1","agentIds":["12"],"threshold":"0","configHash":"0x0000000000000000000000000000000000000000000000000000000000000000","proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistry":"0xE3607b00E75f6405248323A9417ff6b39B244b50","activityChecker":"0xB575dd20281c63288428DD58e5f579CC7d6aae4d"},"stakingTokenInstanceAddress":"0x83839b36d41bdb44abfb6a52ef5549de9bbbb046"} \ No newline at end of file +{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"celo","networkURL":"https://forno.celo.org","gasPriceInGwei":"10","gnosisSafeAddress":"0x69f4D1788e39c87893C980c06EdF4b7f686e2938","gnosisSafeProxyFactoryAddress":"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC","baseURI":"https://gateway.autonolas.tech/ipfs/","serviceRegistryName":"Service Registry L2","serviceRegistrySymbol":"AUTONOLAS-SERVICE-L2-V1","bridgeMediatorAddress":"","olasAddress":"0xaCFfAe8e57Ec6E394Eb1b41939A8CF7892DbDc51","multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistryAddress":"0xE3607b00E75f6405248323A9417ff6b39B244b50","operatorWhitelistAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","serviceRegistryTokenUtilityAddress":"0x3d77596beb0f130a4415df3D2D8232B3d3D31e44","serviceManagerTokenAddress":"0x34C895f302D0b5cf52ec0Edd3945321EB0f83dd5","gnosisSafeMultisigImplementationAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b","gnosisSafeSameAddressMultisigImplementationAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac","stakingTokenAddress":"0x43d28764bB39936185c84906983fB57A8A905a4F","stakingNativeTokenAddress":"","livenessRatio":"700000000000000","stakingActivityCheckerAddress":"0xB575dd20281c63288428DD58e5f579CC7d6aae4d","minStakingDepositLimit":"1000000000000000000000","timeForEmissionsLimit":"2592000","numServicesLimit":"100","apyLimit":"3000000000000000000","stakingVerifierAddress":"0x0000000000000000000000000000000000000000","stakingFactoryAddress":"0x670Ac235EE13C0B2a5065282bBB0c61cfB354592","stakingParams":{"metadataHash":"0x0000000000000000000000000000000000000000000000000000000000000001","maxNumServices":"100","rewardsPerSecond":"1000000000000000","minStakingDeposit":"50000000000000000000","minNumStakingPeriods":"3","maxNumInactivityPeriods":"3","livenessPeriod":"86400","timeForEmissions":"2592000","numAgentInstances":"1","agentIds":["12"],"threshold":"0","configHash":"0x0000000000000000000000000000000000000000000000000000000000000000","proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistry":"0xE3607b00E75f6405248323A9417ff6b39B244b50","activityChecker":"0xB575dd20281c63288428DD58e5f579CC7d6aae4d"},"stakingTokenInstanceAddress":"0x83839b36d41bdb44abfb6a52ef5549de9bbbb046"} \ No newline at end of file diff --git a/scripts/deployment/l2/globals_ethereum_mainnet.json b/scripts/deployment/l2/globals_ethereum_mainnet.json new file mode 100644 index 00000000..5cfb33a7 --- /dev/null +++ b/scripts/deployment/l2/globals_ethereum_mainnet.json @@ -0,0 +1,40 @@ +{ + "contractVerification": true, + "useLedger": true, + "derivationPath": "m/44'/60'/2'/0/0", + "providerName": "mainnet", + "networkURL": "https://eth-mainnet.g.alchemy.com/v2/", + "gasPriceInGwei": "15", + "serviceRegistryAddress": "0x48b6af7B12C71f09e2fC8aF4855De4Ff54e775cA", + "serviceRegistryTokenUtilityAddress": "0x3Fb926116D454b95c669B6Bf2E7c3bad8d19affA", + "olasAddress": "0x0001A500A6B18995B03f44bb040A5fFc28E45CB0", + "multisigProxyHash130": "0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000", + "stakingNativeTokenAddress":"", + "stakingTokenAddress":"", + "livenessRatio":"700000000000000", + "stakingActivityCheckerAddress":"", + "minStakingDepositLimit":"1000000000000000000000", + "timeForEmissionsLimit":"2592000", + "numServicesLimit":"100", + "apyLimit":"3000000000000000000", + "stakingVerifierAddress":"", + "stakingFactoryAddress":"", + "stakingParams": + { + "metadataHash":"", + "maxNumServices":"100", + "rewardsPerSecond":"1000000000000000", + "minStakingDeposit":"50000000000000000000", + "minNumStakingPeriods":"3", + "maxNumInactivityPeriods":"3", + "livenessPeriod":"86400", + "timeForEmissions":"2592000", + "numAgentInstances":"1", + "agentIds":["12"], + "threshold":"0", + "configHash":"0x0000000000000000000000000000000000000000000000000000000000000000", + "proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000", + "serviceRegistry":"0x9338b5153AE39BB89f50468E608eD9d764B755fD", + "activityChecker":""}, + "stakingTokenInstanceAddress":"" +} diff --git a/scripts/deployment/l2/globals_gnosis_mainnet.json b/scripts/deployment/l2/globals_gnosis_mainnet.json index 5b34066a..b8fc3ef1 100644 --- a/scripts/deployment/l2/globals_gnosis_mainnet.json +++ b/scripts/deployment/l2/globals_gnosis_mainnet.json @@ -23,15 +23,15 @@ "olasAddress": "0xcE11e14225575945b8E6Dc0D4F2dD4C570f79d9f", "multisigProxyHash130": "0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000", "stakingNativeTokenAddress":"", - "stakingTokenAddress":"", + "stakingTokenAddress":"0xEa00be6690a871827fAfD705440D20dd75e67AB1", "livenessRatio":"700000000000000", "stakingActivityCheckerAddress":"", "minStakingDepositLimit":"1000000000000000000000", "timeForEmissionsLimit":"2592000", "numServicesLimit":"100", "apyLimit":"3000000000000000000", - "stakingVerifierAddress":"", - "stakingFactoryAddress":"", + "stakingVerifierAddress":"0x1D59DadE4FAeA7771eC7221420012d413175404C", + "stakingFactoryAddress":"0xb0228CA253A88Bc8eb4ca70BCAC8f87b381f4700", "stakingParams": { "metadataHash":"", diff --git a/scripts/deployment/l2/globals_optimistic_mainnet.json b/scripts/deployment/l2/globals_optimistic_mainnet.json index 4e6aca2e..e0356e64 100644 --- a/scripts/deployment/l2/globals_optimistic_mainnet.json +++ b/scripts/deployment/l2/globals_optimistic_mainnet.json @@ -1 +1 @@ -{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"optimistic","networkURL":"https://mainnet.optimism.io","gasPriceInGwei":"2","gnosisSafeAddress":"0x69f4D1788e39c87893C980c06EdF4b7f686e2938","gnosisSafeProxyFactoryAddress":"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC","baseURI":"https://gateway.autonolas.tech/ipfs/","serviceRegistryName":"Service Registry L2","serviceRegistrySymbol":"AUTONOLAS-SERVICE-L2-V1","bridgeMediatorAddress":"","olasAddress":"","multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistryAddress":"0x3d77596beb0f130a4415df3D2D8232B3d3D31e44","operatorWhitelistAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b","serviceRegistryTokenUtilityAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac","serviceManagerTokenAddress":"0xFbBEc0C8b13B38a9aC0499694A69a10204c5E2aB","gnosisSafeMultisigImplementationAddress":"0xE43d4F4103b623B61E095E8bEA34e1bc8979e168","gnosisSafeSameAddressMultisigImplementationAddress":"0xb09CcF0Dbf0C178806Aaee28956c74bd66d21f73","stakingTokenAddress":"","stakingNativeTokenAddress":"","minStakingDepositLimit":"1000000000000000000000","timeForEmissionsLimit":"2592000","numServicesLimit":"100","apyLimit":"3000000000000000000","stakingVerifierAddress":"","stakingFactoryAddress":"","livenessRatio":"700000000000000","stakingActivityCheckerAddress":"","stakingParams":{"metadataHash":"","maxNumServices":"100","rewardsPerSecond":"1000000000000000","minStakingDeposit":"50000000000000000000","minNumStakingPeriods":"3","maxNumInactivityPeriods":"3","livenessPeriod":"86400","timeForEmissions":"2592000","numAgentInstances":"1","agentIds":["14"],"threshold":"0","configHash":"0x0000000000000000000000000000000000000000000000000000000000000000","proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistry":"0x3d77596beb0f130a4415df3D2D8232B3d3D31e44","activityChecker":""}} \ No newline at end of file +{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"optimistic","networkURL":"https://mainnet.optimism.io","gasPriceInGwei":"2","gnosisSafeAddress":"0x69f4D1788e39c87893C980c06EdF4b7f686e2938","gnosisSafeProxyFactoryAddress":"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC","baseURI":"https://gateway.autonolas.tech/ipfs/","serviceRegistryName":"Service Registry L2","serviceRegistrySymbol":"AUTONOLAS-SERVICE-L2-V1","bridgeMediatorAddress":"","olasAddress":"0xFC2E6e6BCbd49ccf3A5f029c79984372DcBFE527","multisigProxyHash130":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistryAddress":"0x3d77596beb0f130a4415df3D2D8232B3d3D31e44","operatorWhitelistAddress":"0x63e66d7ad413C01A7b49C7FF4e3Bb765C4E4bd1b","serviceRegistryTokenUtilityAddress":"0xBb7e1D6Cb6F243D6bdE81CE92a9f2aFF7Fbe7eac","serviceManagerTokenAddress":"0xFbBEc0C8b13B38a9aC0499694A69a10204c5E2aB","gnosisSafeMultisigImplementationAddress":"0xE43d4F4103b623B61E095E8bEA34e1bc8979e168","gnosisSafeSameAddressMultisigImplementationAddress":"0xb09CcF0Dbf0C178806Aaee28956c74bd66d21f73","stakingTokenAddress":"0x63C2c53c09dE534Dd3bc0b7771bf976070936bAC","stakingNativeTokenAddress":"","minStakingDepositLimit":"1000000000000000000000","timeForEmissionsLimit":"2592000","numServicesLimit":"100","apyLimit":"3000000000000000000","stakingVerifierAddress":"0x526E064cB694E8f5B7DB299158e17F33055B3943","stakingFactoryAddress":"0xa45E64d13A30a51b91ae0eb182e88a40e9b18eD8","livenessRatio":"700000000000000","stakingActivityCheckerAddress":"","stakingParams":{"metadataHash":"","maxNumServices":"100","rewardsPerSecond":"1000000000000000","minStakingDeposit":"50000000000000000000","minNumStakingPeriods":"3","maxNumInactivityPeriods":"3","livenessPeriod":"86400","timeForEmissions":"2592000","numAgentInstances":"1","agentIds":["14"],"threshold":"0","configHash":"0x0000000000000000000000000000000000000000000000000000000000000000","proxyHash":"0xb89c1b3bdf2cf8827818646bce9a8f6e372885f8c55e5c07acbd307cb133b000","serviceRegistry":"0x3d77596beb0f130a4415df3D2D8232B3d3D31e44","activityChecker":""}} \ No newline at end of file