-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.json
55 lines (54 loc) · 1.27 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
{
"Address": "MultiAddress",
"LookupSource": "MultiAddress",
"BalanceOf": "Balance",
"QuorumOf": "Quorum",
"RequestOf": "Request",
"Answer": "i64",
"QuorumIndex": "u32",
"RequestIndex": "u32",
"Membership": {
"_enum": [
"Everyone",
"Whitelist"
]
},
"Quorum": {
"relayers": "Vec<AccountId>",
"balances": "Vec<Balance>",
"creator": "AccountId",
"pending_rewards": "Balance",
"min_fee": "Balance",
"membership": "Membership"
},
"AggregationRule": {
"_enum": [
"Mean",
"Median",
"Min",
"Max",
"Mode",
"First",
"Last"
]
},
"ValidationRule": {
"_enum": {
"Pass": "None",
"VarianceThreshold": "u32",
"ConsesusThreshold": "u8"
}
},
"Request": {
"user": "AccountId",
"quorum_id": "u32",
"fee": "Balance",
"valid_till": "BlockNumber",
"pql_hash": "H256",
"relayers": "Vec<AccountId>",
"answers": "Vec<i64>",
"min_participation": "u8",
"validation_rule": "ValidationRule",
"aggregation_rule": "AggregationRule"
}
}