Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
brickpop committed Aug 9, 2024
1 parent 48d5be6 commit 4b8dae9
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ MANAGING_DAO_ADDRESS="0x617e4fB3a2358b7EA5a16f47b6f1f4956Faf0162"
# Management DAO governance plugin settings
GOVERNANCE_PLUGIN_REPO_ADDRESS="0xf956Fa58b7EB3a2347b6f1f4f0A5a16f162617e4"
MGMT_DAO_PROPOSAL_DURATION="604800" # 60 * 60 * 24 * 7 seconds
MGMT_DAO_MIN_PROPOSAL_PARTICIPATION="500000" # 50%
MGMT_DAO_PROPOSAL_SUPPORT_THRESHOLD="500000" # 50%
MGMT_DAO_INITIAL_EDITORS="0x1234,0x2345,0x3456,0x4567..." # Comma separated addresses

Expand Down
1 change: 0 additions & 1 deletion README_DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ GOVERNANCE_PLUGIN_REPO_ADDRESS="0xeC91F7Fa3BcFB208c679d2d7de18E7bd9d7cC40B"
2) Define the following values:
MGMT_DAO_PROPOSAL_DURATION="604800" # 60 * 60 * 24 * 7 (seconds)
MGMT_DAO_MIN_PROPOSAL_PARTICIPATION="500000" # 50%
MGMT_DAO_PROPOSAL_SUPPORT_THRESHOLD="500000" # 50%
MGMT_DAO_INITIAL_EDITORS="0x1234,0x2345,0x3456,0x4567..." # Comma separated addresses
Expand Down
10 changes: 4 additions & 6 deletions packages/contracts/deploy/02_setup/11_setup_conclude.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import {setTimeout} from 'timers/promises';

const func: DeployFunction = function (hre: HardhatRuntimeEnvironment) {
return concludeSpaceSetup(hre)
.then(() => concludePersonalSpaceVotingSetup(hre))
.then(() => concludeGovernanceSetup(hre));
.then(() => concludePersonalAdminSetup(hre))
.then(() => concludeStdGovernanceSetup(hre));
};

async function concludeSpaceSetup(hre: HardhatRuntimeEnvironment) {
Expand Down Expand Up @@ -58,9 +58,7 @@ async function concludeSpaceSetup(hre: HardhatRuntimeEnvironment) {
});
}

async function concludePersonalSpaceVotingSetup(
hre: HardhatRuntimeEnvironment
) {
async function concludePersonalAdminSetup(hre: HardhatRuntimeEnvironment) {
const {deployments, network} = hre;
const [deployer] = await hre.ethers.getSigners();

Expand Down Expand Up @@ -96,7 +94,7 @@ async function concludePersonalSpaceVotingSetup(
});
}

async function concludeGovernanceSetup(hre: HardhatRuntimeEnvironment) {
async function concludeStdGovernanceSetup(hre: HardhatRuntimeEnvironment) {
const {deployments, network} = hre;
const [deployer] = await hre.ethers.getSigners();

Expand Down
1 change: 0 additions & 1 deletion packages/contracts/deploy/99_verification/20_summary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ GOVERNANCE_PLUGIN_REPO_ADDRESS="${pluginRepoInfo.address}"
2) Define the following values:
MGMT_DAO_PROPOSAL_DURATION="604800" # 60 * 60 * 24 * 7 (seconds)
MGMT_DAO_MIN_PROPOSAL_PARTICIPATION="500000" # 50%
MGMT_DAO_PROPOSAL_SUPPORT_THRESHOLD="500000" # 50%
MGMT_DAO_INITIAL_EDITORS="0x1234,0x2345,0x3456,0x4567..." # Comma separated addresses
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"target": "es6"
},
"exclude": ["node_modules"],
"files": ["./utils/hardhat.d.ts"],
"files": ["types/hardhat.d.ts"],
"include": [
"deploy/**/*",
"scripts/**/*",
Expand Down
File renamed without changes.

0 comments on commit 4b8dae9

Please sign in to comment.