forked from PatrickAlphaC/dao-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
helper-hardhat-config.ts
31 lines (26 loc) · 1.02 KB
/
helper-hardhat-config.ts
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
export interface networkConfigItem {
ethUsdPriceFeed?: string
blockConfirmations?: number
}
export interface networkConfigInfo {
[key: string]: networkConfigItem
}
export const networkConfig: networkConfigInfo = {
localhost: {},
hardhat: {},
sepolia: {
blockConfirmations: 6,
},
}
export const developmentChains = ["hardhat", "localhost"]
export const proposalsFile = "proposals.json"
// Governor Values
export const QUORUM_PERCENTAGE = 4 // Need 4% of voters to pass
export const MIN_DELAY = 3600 // 1 hour - after a vote passes, you have 1 hour before you can enact
// export const VOTING_PERIOD = 45818 // 1 week - how long the vote lasts. This is pretty long even for local tests
export const VOTING_PERIOD = 5 // blocks
export const VOTING_DELAY = 1 // 1 Block - How many blocks till a proposal vote becomes active
export const ADDRESS_ZERO = "0x0000000000000000000000000000000000000000"
export const NEW_STORE_VALUE = 77
export const FUNC = "store"
export const PROPOSAL_DESCRIPTION = "Proposal #1 77 in the Box!"