-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
46 lines (45 loc) · 1.11 KB
/
constants.js
File metadata and controls
46 lines (45 loc) · 1.11 KB
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
const DAO_ACTIONS = {
NONE: {
label: "Poll",
description: "A simple poll. To be submitted along with the id of an associated EthTrader post where discussion and options are described.",
enum: 0
},
UPGRADE: {
label: "Upgrade DAO contract",
description: "Upgrades the DAO contract",
enum: 1
},
ADD_ROOT: {
label: "Add Merkle root",
description: "Opens registration to a new batch of registrants.",
enum: 2
},
TOGGLE_TRANSFERABLE: {
label: "Toggle ETR transferable",
description: "Toggles transferability of the ETR token.",
enum: 3
},
TOGGLE_REG_ENDOW: {
label: "Toggle endow upon registration",
description: "Toggles ability to endow registrants with ETR when they register.",
enum: 4
},
SET_VALUE: {
label: "Set value",
description: "Changes a DAO parameter value.",
enum: 5
},
ENDOW: {
label: "Endow",
description: "Endows an address with some amount of newly minted ETR.",
enum: 6
},
DEREG: {
label: "Deregister",
description: "Deregister a username.",
enum: 7
},
};
module.exports = {
DAO_ACTIONS
}