forked from paritytech/substrate-api-sidecar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom_types.json
284 lines (284 loc) · 9.68 KB
/
custom_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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
{
"Date": "i64",
"Keys": "SessionKeys2",
"Address": "MultiAddress",
"LookupSource": "MultiAddress",
"RoamingOperator": "[u8; 16]",
"RoamingOperatorIndex": "u64",
"RoamingNetwork": "[u8; 16]",
"RoamingNetworkIndex": "u64",
"RoamingOrganization": "[u8; 16]",
"RoamingOrganizationIndex": "u64",
"RoamingNetworkServer": "[u8; 16]",
"RoamingNetworkServerIndex": "u64",
"RoamingDevice": "[u8; 16]",
"RoamingDeviceIndex": "u64",
"RoamingRoutingProfile": "[u8; 16]",
"RoamingRoutingProfileIndex": "u64",
"RoamingRoutingProfileAppServer": "Text",
"RoamingServiceProfile": "[u8; 16]",
"RoamingServiceProfileIndex": "u64",
"RoamingServiceProfileUplinkRate": "u32",
"RoamingServiceProfileDownlinkRate": "u32",
"RoamingAccountingPolicy": "[u8; 16]",
"RoamingAccountingPolicyIndex": "u64",
"RoamingAccountingPolicyType": "Text",
"RoamingAccountingPolicyUplinkFeeFactor": "u32",
"RoamingAccountingPolicyDownlinkFeeFactor": "u32",
"RoamingAccountingPolicySetting": {
"policy_type": "Text",
"subscription_fee": "Balance",
"uplink_fee_factor": "u32",
"downlink_fee_factor": "u32"
},
"RoamingAgreementPolicy": "[u8; 16]",
"RoamingAgreementPolicyIndex": "u64",
"RoamingAgreementPolicyActivationType": "Text",
"RoamingAgreementPolicySetting": {
"policy_activation_type": "Text",
"policy_expiry_block": "Moment"
},
"RoamingNetworkProfile": "[u8; 16]",
"RoamingNetworkProfileIndex": "u64",
"RoamingDeviceProfile": "[u8; 16]",
"RoamingDeviceProfileIndex": "u64",
"RoamingDeviceProfileDevAddr": "Text",
"RoamingDeviceProfileDevEUI": "Text",
"RoamingDeviceProfileJoinEUI": "Text",
"RoamingDeviceProfileVendorID": "Text",
"RoamingDeviceProfileSetting": {
"device_profile_devaddr": "Text",
"device_profile_deveui": "Text",
"device_profile_joineui": "Text",
"device_profile_vendorid": "Text"
},
"RoamingSession": "[u8; 16]",
"RoamingSessionIndex": "u64",
"RoamingSessionJoinRequest": {
"session_network_server_id": "Moment",
"session_join_requested_at_block": "Moment"
},
"RoamingSessionJoinAccept": {
"session_join_request_accept_expiry": "Moment",
"session_join_request_accept_accepted_at_block": "Moment"
},
"RoamingBillingPolicy": "[u8; 16]",
"RoamingBillingPolicyIndex": "u64",
"RoamingBillingPolicySetting": {
"policy_next_billing_at_block": "Moment",
"policy_frequency_in_blocks": "Moment"
},
"RoamingChargingPolicy": "[u8; 16]",
"RoamingChargingPolicyIndex": "u64",
"RoamingChargingPolicySetting": {
"policy_next_charging_at_block": "Moment",
"policy_delay_after_billing_in_blocks": "u64"
},
"RoamingPacketBundle": "[u8; 16]",
"RoamingPacketBundleIndex": "u64",
"RoamingPacketBundleReceivedAtHome": "bool",
"RoamingPacketBundleReceivedPacketsCount": "u64",
"RoamingPacketBundleReceivedPacketsOkCount": "u64",
"RoamingPacketBundleExternalDataStorageHash": "Hash",
"RoamingPacketBundleReceiver": {
"packet_bundle_received_at_home": "bool",
"packet_bundle_received_packets_count": "u64",
"packet_bundle_received_packets_ok_count": "u64",
"packet_bundle_received_started_at_block": "Moment",
"packet_bundle_received_ended_at_block": "Moment",
"packet_bundle_external_data_storage_hash": "Hash"
},
"MiningRatesToken": "[u8; 16]",
"MiningRatesTokenIndex": "u64",
"MiningRatesTokenTokenDOT": "u32",
"MiningRatesTokenTokenMXC": "u32",
"MiningRatesTokenTokenIOTA": "u32",
"MiningRatesTokenMaxToken": "u32",
"MiningRatesTokenMaxLoyalty": "u32",
"MiningRatesTokenSetting": {
"token_token_mxc": "u32",
"token_token_iota": "u32",
"token_token_dot": "u32",
"token_max_token": "u32",
"token_max_loyalty": "u32"
},
"MiningRatesHardware": "[u8; 16]",
"MiningRatesHardwareIndex": "u64",
"MiningRatesHardwareSecure": "u32",
"MiningRatesHardwareInsecure": "u32",
"MiningRatesHardwareMaxHardware": "u32",
"MiningRatesHardwareCategory1MaxTokenBonusPerGateway": "u32",
"MiningRatesHardwareCategory2MaxTokenBonusPerGateway": "u32",
"MiningRatesHardwareCategory3MaxTokenBonusPerGateway": "u32",
"MiningRatesHardwareSetting": {
"hardware_hardware_secure": "u32",
"hardware_hardware_insecure": "u32",
"hardware_max_hardware": "u32",
"hardware_category_1_max_token_bonus_per_gateway": "u32",
"hardware_category_2_max_token_bonus_per_gateway": "u32",
"hardware_category_3_max_token_bonus_per_gateway": "u32"
},
"MiningSettingToken": "[u8; 16]",
"MiningSettingTokenIndex": "u64",
"MiningSettingTokenType": "Text",
"MiningSettingTokenLockAmount": "u64",
"MiningSettingTokenSetting": {
"token_type": "Text",
"token_lock_amount": "u64",
"token_lock_start_block": "Moment",
"token_lock_interval_blocks": "Moment"
},
"MiningSettingTokenRequirementsSetting": {
"token_type": "Text",
"token_lock_min_amount": "u64",
"token_lock_min_blocks": "u32"
},
"MiningSettingHardware": "[u8; 16]",
"MiningSettingHardwareIndex": "u64",
"MiningSettingHardwareSecure": "bool",
"MiningSettingHardwareType": "Text",
"MiningSettingHardwareID": "u64",
"MiningSettingHardwareDevEUI": "u64",
"MiningSettingHardwareSetting": {
"hardware_secure": "bool",
"hardware_type": "Text",
"hardware_id": "u64",
"hardware_dev_eui": "u64",
"hardware_lock_start_block": "Moment",
"hardware_lock_interval_blocks": "Moment"
},
"MiningSamplingToken": "[u8; 16]",
"MiningSamplingTokenIndex": "u64",
"MiningSamplingTokenSampleLockedAmount": "u64",
"MiningSamplingTokenSetting": {
"token_sample_block": "Moment",
"token_sample_locked_amount": "u64"
},
"MiningSamplingHardware": "[u8; 16]",
"MiningSamplingHardwareIndex": "u64",
"MiningSamplingHardwareSampleHardwareOnline": "u64",
"MiningSamplingHardwareSetting": {
"hardware_sample_block": "Moment",
"hardware_sample_hardware_online": "bool"
},
"MiningEligibilityToken": "[u8; 16]",
"MiningEligibilityTokenIndex": "u64",
"MiningEligibilityTokenCalculatedEligibility": "u64",
"MiningEligibilityTokenLockedPercentage": "u32",
"MiningEligibilityTokenAuditorAccountID": "u64",
"MiningEligibilityTokenResult": {
"token_calculated_eligibility": "u64",
"token_token_locked_percentage": "u32",
"token_date_audited": "Moment",
"token_auditor_account_id": "u64"
},
"MiningEligibilityHardware": "[u8; 16]",
"MiningEligibilityHardwareIndex": "u64",
"MiningEligibilityHardwareCalculatedEligibility": "u64",
"MiningEligibilityHardwareUptimePercentage": "u32",
"MiningEligibilityHardwareAuditorAccountID": "u64",
"MiningEligibilityHardwareResult": {
"hardware_calculated_eligibility": "u64",
"hardware_uptime_percentage": "u32",
"hardware_block_audited": "Moment",
"hardware_auditor_account_id": "u64"
},
"MiningEligibilityProxy": "[u8; 16]",
"MiningEligibilityProxyIndex": "u64",
"MiningEligibilityProxyRewardRequest": {
"proxy_claim_requestor_account_id": "AccountId",
"proxy_claim_total_reward_amount": "Balance",
"proxy_claim_timestamp_redeemed": "Moment"
},
"MiningEligibilityProxyClaimRewardeeData": {
"proxy_claim_rewardee_account_id": "AccountId",
"proxy_claim_reward_amount": "Balance",
"proxy_claim_start_date": "Date",
"proxy_claim_end_date": "Date"
},
"RewardeeData": {
"proxy_claim_rewardee_account_id": "AccountId",
"proxy_claim_reward_amount": "Balance",
"proxy_claim_start_date": "Date",
"proxy_claim_end_date": "Date"
},
"RewardRequestorData": {
"mining_eligibility_proxy_id": "MiningEligibilityProxyIndex",
"total_amt": "Balance",
"rewardee_count": "u64",
"member_kind": "u32",
"requested_date": "Moment"
},
"RequestorData": {
"mining_eligibility_proxy_id": "MiningEligibilityProxyIndex",
"total_amt": "Balance",
"rewardee_count": "u64",
"member_kind": "u32",
"requested_date": "Moment"
},
"RewardTransferData": {
"mining_eligibility_proxy_id": "MiningEligibilityProxyIndex",
"is_sent": "bool",
"total_amt": "Balance",
"rewardee_count": "u64",
"member_kind": "u32",
"requested_date": "Moment"
},
"TransferData": {
"mining_eligibility_proxy_id": "MiningEligibilityProxyIndex",
"is_sent": "bool",
"total_amt": "Balance",
"rewardee_count": "u64",
"member_kind": "u32",
"requested_date": "Moment"
},
"RewardDailyData": {
"mining_eligibility_proxy_id": "MiningEligibilityProxyIndex",
"total_amt": "Balance",
"proxy_claim_requestor_account_id": "AccountId",
"member_kind": "u32",
"rewarded_date": "Date"
},
"DailyData": {
"mining_eligibility_proxy_id": "MiningEligibilityProxyIndex",
"total_amt": "Balance",
"proxy_claim_requestor_account_id": "AccountId",
"member_kind": "u32",
"rewarded_date": "Date"
},
"MiningClaimsToken": "[u8; 16]",
"MiningClaimsTokenIndex": "u64",
"MiningClaimsTokenClaimAmount": "u64",
"MiningClaimsTokenClaimResult": {
"token_claim_amount": "u64",
"token_claim_block_redeemed": "u64"
},
"MiningClaimsHardware": "[u8; 16]",
"MiningClaimsHardwareIndex": "u64",
"MiningClaimsHardwareClaimAmount": "u64",
"MiningClaimsHardwareClaimResult": {
"hardware_claim_amount": "u64",
"hardware_claim_block_redeemed": "u64"
},
"MiningExecutionToken": "[u8; 16]",
"MiningExecutionTokenIndex": "u64",
"MiningExecutionTokenExecutorAccountID": "u64",
"MiningExecutionTokenExecutionResult": {
"token_execution_exector_account_id": "u64",
"token_execution_started_block": "Moment",
"token_execution_ended_block": "Moment"
},
"ExchangeRateIndex": "u64",
"ExchangeRateSetting": {
"hbtc": "u64",
"dot": "u64",
"iota": "u64",
"fil": "u64",
"decimals_after_point": "u32"
},
"HBTCRate": "u64",
"DOTRate": "u64",
"IOTARate": "u64",
"FILRate": "u64",
"DecimalsAfterPoint": "u32"
}