forked from darwinia-network/darwinia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.json
47 lines (47 loc) · 1.2 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
{
"EpochDuration": "u64",
"EraIndex": "u32",
"RingBalanceOf": "u128",
"KtonBalanceOf": "u128",
"ExtendedBalance": "u128",
"ValidatorPrefs": {
"unstake_threshold": "Compact<u32>",
"validator_payment_ratio": "Perbill"
},
"StakingBalance": {
"_enum": {
"Ring": "RingBalanceOf",
"Kton": "KtonBalanceOf"
}
},
"TimeDepositItem": {
"value": "Compact<RingBalanceOf>",
"start_time": "Compact<Moment>",
"expire_time": "Compact<Moment>"
},
"UnlockChunk": {
"value": "StakingBalance",
"era": "Compact<EraIndex>",
"is_time_deposit": "bool"
},
"StakingLedgers": {
"stash": "AccountId",
"total_ring": "Compact<RingBalanceOf>",
"total_deposit_ring": "Compact<RingBalanceOf>",
"active_ring": "Compact<RingBalanceOf>",
"active_deposit_ring": "Compact<RingBalanceOf>",
"total_kton": "Compact<KtonBalanceOf>",
"active_kton": "Compact<KtonBalanceOf>",
"deposit_items": "Vec<TimeDepositItem>",
"unlocking": "Vec<UnlockChunk>"
},
"IndividualExpo": {
"who": "AccountId",
"value": "ExtendedBalance"
},
"Exposures": {
"total": "ExtendedBalance",
"own": "ExtendedBalance",
"others": "Vec<IndividualExpo>"
}
}