-
Notifications
You must be signed in to change notification settings - Fork 0
/
helper-config.js
69 lines (66 loc) · 1.76 KB
/
helper-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
const { ethers } = require("hardhat");
const networkConfig = {
5: {
name: "goerli",
enteranceFee: ethers.utils.parseEther("0.01"),
daoPercentage: "10",
},
80001: {
name: "mumbai",
enteranceFee: ethers.utils.parseEther("0.01"),
daoPercentage: "10",
},
31337: {
name: "hardhat",
enteranceFee: ethers.utils.parseEther("0.01"),
daoPercentage: "10",
},
};
const developmentChains = ["hardhat", "localhost"];
const INITIAL_SUPPLY = "1000000000000000000000000";
const MIN_DELAY = 0;
const VOTING_DELAY = 0;
const VOTING_PERIOD = 50;
const QUORUM_PERCENTAGE = 0;
const ADDRESS_ZERO = "0x0000000000000000000000000000000000000000";
const NEW_VALUE = 77;
const FUNC = "store";
const FUNC_FUND = "apporoveFundingByDao";
const FUNC_CANCEL_APPOROVEL = "cancelApporovelFundingByDao";
const PROPOSAL_DESCRIPTION = "Propasol #1: Store 77 in the Box!";
const proposalsFile = "./proposals.json";
const s_projectID = 1;
const s_projectName = "Sample Project";
const s_website = "www.sampleProject.com";
const s_description = "Amazing way to make money";
const s_video =
"https://www.youtube.com/watch?v=5abamRO41fE&list=RD5abamRO41fE&start_radio=1&ab_channel=Slipknot";
const s_fundRaisingGoalAmount = "1000000"; // in wei
const s_roadMap = "Just click the video";
const s_otherSources = "You dont need anything else";
const s_fundingTime = 604800; // 10 sec.
module.exports = {
developmentChains,
networkConfig,
INITIAL_SUPPLY,
MIN_DELAY,
VOTING_PERIOD,
VOTING_DELAY,
QUORUM_PERCENTAGE,
ADDRESS_ZERO,
NEW_VALUE,
FUNC,
PROPOSAL_DESCRIPTION,
proposalsFile,
s_projectID,
s_projectName,
s_website,
s_description,
s_video,
s_fundRaisingGoalAmount,
s_roadMap,
s_otherSources,
s_fundingTime,
FUNC_FUND,
FUNC_CANCEL_APPOROVEL,
};