-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelper-hardhat-config.ts
35 lines (29 loc) · 1.33 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
32
33
34
35
import { ethers } from "hardhat"
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 = 1 // Need 4% of voters to pass
export const MIN_DELAY = 120 // 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 PLMN = 9048//ethers.utils.ParamType.from({ name: "plmn", type: "uint256"})
export const REGION = 'AP' //ethers.utils.ParamType.from({ name: "region", type: "string" })
export const NAME = 'Jio' //ethers.utils.ParamType.from({ name: "name", type: "string" })
export const FUNC = "createEntry"
export const PROPOSAL_DESCRIPTION = `Proposal to allocate ${PLMN} MNC code to ${NAME} in ${REGION} region.`