-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathtypes.json
98 lines (98 loc) · 2.19 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"Address": "MultiAddress",
"LookupSource": "MultiAddress",
"CertificateId": "AccountId",
"Application": {
"candidate": "AccountId",
"candidate_deposit": "Balance",
"metadata": "Vec<u8>",
"challenger": "Option<AccountId>",
"challenger_deposit": "Balance",
"votes_for": "Balance",
"voters_for": "Vec<(AccountId, Balance)>",
"votes_against": "Balance",
"voters_against": "Vec<(AccountId, Balance)>",
"created_block": "BlockNumber",
"challenged_block": "BlockNumber"
},
"RootCertificate": {
"owner": "AccountId",
"key": "CertificateId",
"created": "BlockNumber",
"renewed": "BlockNumber",
"revoked": "bool",
"validity": "BlockNumber",
"child_revocations": "Vec<CertificateId>"
},
"Amendment": "Call",
"ListVestingScheduleOf": "Vec<VestingScheduleOf>",
"VestingScheduleOf": {
"start": "BlockNumber",
"period": "BlockNumber",
"period_count": "u32",
"per_period": "Balance"
},
"SessionIndex": "u32",
"SpanIndex": "u32",
"RewardPoint": "u32",
"Bond": {
"owner": "AccountId",
"amount": "Balance"
},
"OrderedSet": "Vec<Bond>",
"UnlockChunk": {
"value": "Balance",
"session_idx": "SessionIndex"
},
"StakeReward": "UnlockChunk",
"ValidatorStatus": {
"_enum": [
"Active",
"Idle",
"Leaving"
]
},
"Validator": {
"id": "AccountId",
"bond": "Balance",
"nomi_bond_total": "Balance",
"nominators": "OrderedSet",
"total": "Balance",
"state": "ValidatorStatus",
"unlocking": "Vec<UnlockChunk>"
},
"ValidatorSnapshot": {
"bond": "Balance",
"nominators": "Vec<Bond>",
"total": "Balance"
},
"Nominator": {
"nominations": "OrderedSet",
"total": "Balance",
"active_bond": "Balance",
"frozen_bond": "Balance",
"unlocking": "Vec<UnlockChunk>"
},
"UnappliedSlash": {
"validator": "AccountId",
"own": "Balance",
"others": "Vec<(AccountId, Balance)>",
"reporters": "Vec<AccountId>",
"payout": "Balance"
},
"SlashingSpan": {
"index": "SpanIndex",
"start": "SessionIndex",
"length": "Option<SessionIndex>"
},
"SlashingSpans": {
"span_index": "SpanIndex",
"last_start": "SessionIndex",
"last_nonzero_slash": "SessionIndex",
"prior": "Vec<SessionIndex>"
},
"SpanRecord": {
"slashed": "Balance",
"paid_out": "Balance"
}
}