forked from chocolatenetwork/chocolate-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.json
44 lines (43 loc) · 906 Bytes
/
types.json
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
{
"ProjectID": "u32",
"ReviewID": "u64",
"Balance": "u128",
"MetaData": "Text",
"BalanceOf": "Balance",
"ReviewAl": "Review",
"ProjectAl": "Project",
"User": {
"rank_points": "u32",
"project_id": "Option<u32>"
},
"Project": {
"ownerID": "AccountId",
"badge": "Option<bool>",
"metadata": "MetaData",
"proposalStatus": "ProposalStatus",
"reward": "Balance",
"totalUserScores": "u32"
},
"Review": {
"proposalStatus": "ProposalStatus",
"userID": "AccountId",
"content": "Text",
"projectID": "ProjectID",
"pointSnapshot": "u32"
},
"ProposalStatus": {
"status": "Status",
"reason": "Reason"
},
"Status": {
"_enum": ["Proposed", "Accepted", "Rejected"]
},
"Reason": {
"_enum": {
"Other": "Text",
"InsufficientMetaData": null,
"Malicious": null,
"PassedRequirements": null
}
}
}