-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathtypes.json
118 lines (118 loc) · 2.39 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"EpochDuration": "u64",
"TimeStamp": "u64",
"BalanceLock": {
"id": "LockIdentifier",
"withdraw_lock": "WithdrawLock",
"reasons": "WithdrawReasons"
},
"NormalLock": {
"amount": "u128",
"until": "Moment"
},
"StakingLock": {
"staking_amount": "u128",
"unbondings": "Vec<NormalLock>"
},
"WithdrawLock": {
"_enum": {
"Normal": "NormalLock",
"WithStaking": "StakingLock"
}
},
"ActionRecord": {
"index": "u64",
"proof": "Vec<u8>",
"header_hash": "H256"
},
"Address": "H160",
"BestBlock": {
"height": "EthBlockNumber",
"hash": "H256",
"total_difficulty": "U256"
},
"BlockDetails": {
"height": "EthBlockNumber",
"hash": "H256",
"total_difficulty": "U256"
},
"Bloom": {
"_struct": "[u8; 256]"
},
"EthBlockNumber": "u64",
"EthHeader": {
"parent_hash": "H256",
"timestamp": "u64",
"number": "EthBlockNumber",
"auth": "Address",
"transaction_root": "H256",
"uncles_hash": "H256",
"extra_data": "Bytes",
"state_root": "H256",
"receipts_root": "H256",
"log_bloom": "Bloom",
"gas_used": "U256",
"gas_limit": "U256",
"difficulty": "U256",
"seal": "Vec<Bytes>",
"hash": "Option<H256>"
},
"H64": {
"_struct": "[u8; 8]"
},
"LogEntry": {
"address": "Address",
"topics": "Vec<H256>",
"data": "Bytes"
},
"Receipt": {
"gas_used": "U256",
"log_bloom": "Bloom",
"logs": "Vec<LogEntry>",
"outcome": "TransactionOutcome"
},
"TransactionOutcome": {
"_enum": {
"Unknown": null,
"StateRoot": "H256",
"StatusCode": "u8"
}
},
"EraIndex": "u32",
"Exposure": {
"total": "ExtendedBalance",
"own": "ExtendedBalance",
"others": "Vec<IndividualExposure>"
},
"ExtendedBalance": "u128",
"IndividualExposure": {
"who": "AccountId",
"value": "ExtendedBalance"
},
"KtonBalanceOf": "u128",
"RingBalanceOf": "u128",
"StakingBalance": {
"_enum": {
"Ring": "RingBalanceOf",
"Kton": "KtonBalanceOf"
}
},
"StakingLedger": {
"stash": "AccountId",
"active_ring": "Compact<RingBalanceOf>",
"active_deposit_ring": "Compact<RingBalanceOf>",
"active_kton": "Compact<KtonBalanceOf>",
"deposit_items": "Vec<TimeDepositItem>",
"ring_staking_lock": "StakingLock",
"kton_staking_lock": "StakingLock"
},
"TimeDepositItem": {
"value": "Compact<RingBalanceOf>",
"start_time": "Compact<Moment>",
"expire_time": "Compact<Moment>"
},
"ValidatorPrefs": {
"node_name": "Vec<u8>",
"validator_payment_ratio": "Compact<u32>"
}
}