From 517c01d0bb92e3a27fdab22ad4b538da8d9938ff Mon Sep 17 00:00:00 2001 From: Artyom Veremeenko Date: Tue, 10 Oct 2023 13:03:36 +0300 Subject: [PATCH] feat(deployed-holesky.json): add Aragon std apps Repo addresses --- dao-local-deploy.sh | 4 -- deployed-holesky.json | 49 ++++++++++++++++++++++++ scripts/scratch/07-create-app-repos.js | 1 + scripts/scratch/verify-contracts-code.sh | 3 +- 4 files changed, 52 insertions(+), 5 deletions(-) diff --git a/dao-local-deploy.sh b/dao-local-deploy.sh index 8e35a659c..53e7ddc86 100755 --- a/dao-local-deploy.sh +++ b/dao-local-deploy.sh @@ -15,9 +15,5 @@ export GAS_MAX_FEE=100 # export NETWORK_STATE_FILE="deployed-${NETWORK}.json" export NETWORK_STATE_DEFAULTS_FILE="deployed-testnet-defaults.json" -# TODO export SCRATCH_DEPLOY_DEPOSIT_CONTRACT=1 - -# Set the variable to skip long Aragon apps frontend rebuild step on repetetive deploys -# export SKIP_APPS_LONG_BUILD_STEPS=1 bash dao-deploy.sh diff --git a/deployed-holesky.json b/deployed-holesky.json index ca1e7f4dd..60e88cbda 100644 --- a/deployed-holesky.json +++ b/deployed-holesky.json @@ -356,6 +356,18 @@ ] } }, + "aragon-app-repo-agent": { + "implementation": { + "contract": "@aragon/os/contracts/apm/Repo.sol", + "address": "0x8959360c48D601a6817BAf2449E5D00cC543FA3A", + "constructorArgs": [] + }, + "proxy": { + "address": "0xe7b4567913AaF2bD54A26E742cec22727D8109eA", + "contract": "@aragon/os/contracts/apps/AppProxyUpgradeable.sol", + "constructorArgs": [] + } + }, "app:aragon-finance": { "implementation": { "contract": "@aragon/apps-finance/contracts/Finance.sol", @@ -377,6 +389,18 @@ ] } }, + "aragon-app-repo-finance": { + "implementation": { + "contract": "@aragon/os/contracts/apm/Repo.sol", + "address": "0x8959360c48D601a6817BAf2449E5D00cC543FA3A", + "constructorArgs": [] + }, + "proxy": { + "address": "0x0df65b7c78Dc42a872010d031D3601C284D8fE71", + "contract": "@aragon/os/contracts/apps/AppProxyUpgradeable.sol", + "constructorArgs": [] + } + }, "app:aragon-token-manager": { "implementation": { "contract": "@aragon/apps-lido/apps/token-manager/contracts/TokenManager.sol", @@ -398,6 +422,18 @@ ] } }, + "aragon-app-repo-token-manager": { + "implementation": { + "contract": "@aragon/os/contracts/apm/Repo.sol", + "address": "0x8959360c48D601a6817BAf2449E5D00cC543FA3A", + "constructorArgs": [] + }, + "proxy": { + "address": "0xD327b4Fb87fa01599DaD491Aa63B333c44C74472", + "contract": "@aragon/os/contracts/apps/AppProxyUpgradeable.sol", + "constructorArgs": [] + } + }, "app:aragon-voting": { "implementation": { "contract": "@aragon/apps-lido/apps/voting/contracts/Voting.sol", @@ -419,6 +455,18 @@ ] } }, + "aragon-app-repo-voting": { + "implementation": { + "contract": "@aragon/os/contracts/apm/Repo.sol", + "address": "0x8959360c48D601a6817BAf2449E5D00cC543FA3A", + "constructorArgs": [] + }, + "proxy": { + "address": "0x2997EA0D07D79038D83Cb04b3BB9A2Bc512E3fDA", + "contract": "@aragon/os/contracts/apps/AppProxyUpgradeable.sol", + "constructorArgs": [] + } + }, "lidoTemplate": { "contract": "contracts/0.4.24/template/LidoTemplate.sol", "address": "0x0e065Dd0Bc85Ca53cfDAf8D9ed905e692260De2E", @@ -539,6 +587,7 @@ "lidoApmAddress": "0x4605Dc9dC4BD0442F850eB8226B94Dd0e27C3Ce7", "createAppReposTx": "0xd8a9b10e16b5e75b984c90154a9cb51fbb06bf560a3c424e2e7ad81951008502", "lidoTemplateNewDaoTx": "0x3346246f09f91ffbc260b6c300b11ababce9f5ca54d7880a277860961f343112", + "lidoTemplateCreateStdAppReposTx": "0x3f5b8918667bd3e971606a54a907798720158587df355a54ce07c0d0f9750d3c", "newDaoTx": "0x3346246f09f91ffbc260b6c300b11ababce9f5ca54d7880a277860961f343112", "ldo": { "address": "0x14ae7daeecdf57034f3E9db8564e46Dba8D97344", diff --git a/scripts/scratch/07-create-app-repos.js b/scripts/scratch/07-create-app-repos.js index b19f67e7c..a8dd22f06 100644 --- a/scripts/scratch/07-create-app-repos.js +++ b/scripts/scratch/07-create-app-repos.js @@ -77,6 +77,7 @@ async function createAppRepos({ web3, artifacts }) { const aragonStdAppsReceipt = await log.makeTx(template, 'createStdAragonRepos', createStdAragonReposArguments, { from }) console.log(`=== Aragon Std Apps Repos (Agent, Finance, TokenManager, Voting deployed: ${aragonStdAppsReceipt.tx} ===`) + state.lidoTemplateCreateStdAppReposTx = aragonStdAppsReceipt.tx logSplitter() persistNetworkState(network.name, netId, state) diff --git a/scripts/scratch/verify-contracts-code.sh b/scripts/scratch/verify-contracts-code.sh index 9ece8e667..65a64935a 100644 --- a/scripts/scratch/verify-contracts-code.sh +++ b/scripts/scratch/verify-contracts-code.sh @@ -76,7 +76,8 @@ verify aragon-apm-registry.implementation verify aragon-apm-registry.factory verify aragon-app-repo-lido.implementation verify aragon-app-repo-node-operators-registry.implementation -# NB: App Repos of lido, oracle and node-operators-registry share same implementation +# NB: App Repos of lido, oracle, node-operators-registry, finance, agent, token-manager, voting +# share same implementation of Repo contract verify aragon-evm-script-registry.proxy verify aragon-evm-script-registry.implementation verify app:simple-dvt.proxy