scale.rb 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Scale
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0".freeze
3
3
  end
@@ -0,0 +1,112 @@
1
+ {
2
+ "types": {
3
+ "EpochDuration": "u64",
4
+ "EraIndex": "u32",
5
+ "Index": "U64",
6
+ "RingBalanceOf": "u128",
7
+ "KtonBalanceOf": "u128",
8
+ "ExtendedBalance": "u128",
9
+ "Keys": {
10
+ "type": "struct",
11
+ "type_mapping": [
12
+ ["grandpa", "AccountId"],
13
+ ["babe", "AccountId"]
14
+ ]
15
+ },
16
+ "ValidatorPrefs": "ValidatorPrefsLegacy",
17
+ "StakingBalance": {
18
+ "type": "enum",
19
+ "type_mapping": [
20
+ ["Ring", "RingBalanceOf"],
21
+ ["Kton", "KtonBalanceOf"]
22
+ ]
23
+ },
24
+ "TimeDepositItem": {
25
+ "type": "struct",
26
+ "type_mapping": [
27
+ ["value", "Compact<RingBalanceOf>"],
28
+ ["start_time", "Compact<Moment>"],
29
+ ["expire_time", "Compact<Moment>"]
30
+ ]
31
+ },
32
+ "UnlockChunk": {
33
+ "type": "struct",
34
+ "type_mapping": [
35
+ ["value", "StakingBalance"],
36
+ ["era", "Compact<EraIndex>"],
37
+ ["is_time_deposit", "bool"]
38
+ ]
39
+ },
40
+ "StakingLedgers": {
41
+ "type": "struct",
42
+ "type_mapping": [
43
+ ["stash", "AccountId"],
44
+ ["total_ring", "Compact<RingBalanceOf>"],
45
+ ["total_deposit_ring", "Compact<RingBalanceOf>"],
46
+ ["active_ring", "Compact<RingBalanceOf>"],
47
+ ["active_deposit_ring", "Compact<RingBalanceOf>"],
48
+ ["total_kton", "Compact<KtonBalanceOf>"],
49
+ ["active_kton", "Compact<KtonBalanceOf>"],
50
+ ["deposit_items", "Vec<TimeDepositItem>"],
51
+ ["unlocking", "Vec<UnlockChunk>"]
52
+ ]
53
+ },
54
+ "IndividualExpo": {
55
+ "type": "struct",
56
+ "type_mapping": [
57
+ ["who", "AccountId"],
58
+ ["value", "ExtendedBalance"]
59
+ ]
60
+ },
61
+ "Exposures": {
62
+ "type": "struct",
63
+ "type_mapping": [
64
+ ["total", "ExtendedBalance"],
65
+ ["own", "ExtendedBalance"],
66
+ ["others", "Vec<IndividualExpo>"]
67
+ ]
68
+ },
69
+ "TokenBalance": "u128",
70
+ "Currency": "u128",
71
+ "CurrencyOf": "u128",
72
+ "Auction": {
73
+ "type": "struct",
74
+ "type_mapping": [
75
+ ["seller", "AccountId"],
76
+ ["startAt", "Moment"],
77
+ ["duration", "u64"],
78
+ ["startingPrice", "TokenBalance"],
79
+ ["endingPrice", "TokenBalance"],
80
+ ["lastRecord", "TokenBalance"],
81
+ ["lastBidder", "AccountId"],
82
+ ["lastBidStartAt", "Moment"]
83
+ ]
84
+ },
85
+ "DepositInfo": {
86
+ "type": "struct",
87
+ "type_mapping": [
88
+ ["month", "Moment"],
89
+ ["start_at", "Moment"],
90
+ ["value", "CurrencyOf"],
91
+ ["unit_interest", "u64"],
92
+ ["claimed", "bool"]
93
+ ]
94
+ },
95
+ "Deposit": {
96
+ "type": "struct",
97
+ "type_mapping": [
98
+ ["total_deposit", "CurrencyOf"],
99
+ ["deposit_list", "Vec<DepositInfo>"]
100
+ ]
101
+ },
102
+ "Revenue": {
103
+ "type": "struct",
104
+ "type_mapping": [
105
+ ["team", "TokenBalance"],
106
+ ["contribution", "TokenBalance"],
107
+ ["ktoner", "TokenBalance"],
108
+ ["lottery", "TokenBalance"]
109
+ ]
110
+ }
111
+ }
112
+ }
@@ -0,0 +1,842 @@
1
+ {
2
+ "types": {
3
+ "AccountVoteSplit": {
4
+ "type": "struct",
5
+ "type_mapping": [
6
+ ["aye", "Balance"],
7
+ ["nay", "Balance"]
8
+ ]
9
+ },
10
+ "AccountVoteStandard": {
11
+ "type": "struct",
12
+ "type_mapping": [
13
+ ["vote", "Vote"],
14
+ ["balance", "Balance"]
15
+ ]
16
+ },
17
+ "AccountVote": {
18
+ "type": "enum",
19
+ "type_mapping": [
20
+ ["Standard", "AccountVoteStandard"],
21
+ ["Split", "AccountVoteSplit"]
22
+ ]
23
+ },
24
+ "Delegations": {
25
+ "type": "struct",
26
+ "type_mapping": [
27
+ ["votes", "Balance"],
28
+ ["capital", "Balance"]
29
+ ]
30
+ },
31
+ "PriorLock": {
32
+ "type": "struct",
33
+ "type_mapping": [
34
+ ["blockNumber", "BlockNumber"],
35
+ ["balance", "Balance"]
36
+ ]
37
+ },
38
+ "ReferendumInfo<BlockNumber, Hash, Balance>": {
39
+ "type": "enum",
40
+ "type_mapping": [
41
+ ["Ongoing", "ReferendumStatus"],
42
+ ["Finished", "ReferendumInfoFinished"]
43
+ ]
44
+ },
45
+ "ReferendumInfoFinished": {
46
+ "type": "struct",
47
+ "type_mapping": [
48
+ ["approved", "bool"],
49
+ ["end", "BlockNumber"]
50
+ ]
51
+ },
52
+ "Tally": {
53
+ "type": "struct",
54
+ "type_mapping": [
55
+ ["ayes", "Balance"],
56
+ ["nays", "Balance"],
57
+ ["turnout", "Balance"]
58
+ ]
59
+ },
60
+ "ReferendumStatus": {
61
+ "type": "struct",
62
+ "type_mapping": [
63
+ ["end", "BlockNumber"],
64
+ ["proposalHash", "Hash"],
65
+ ["threshold", "VoteThreshold"],
66
+ ["delay", "BlockNumber"],
67
+ ["tally", "Tally"]
68
+ ]
69
+ },
70
+ "VotingDirectVote": {
71
+ "type": "struct",
72
+ "type_mapping": [
73
+ ["referendumIndex", "ReferendumIndex"],
74
+ ["accountVote", "AccountVote"]
75
+ ]
76
+ },
77
+ "VotingDirect": {
78
+ "type": "struct",
79
+ "type_mapping": [
80
+ ["votes", "Vec<VotingDirectVote>"],
81
+ ["delegations", "Delegations"],
82
+ ["prior", "PriorLock"]
83
+ ]
84
+ },
85
+ "VotingDelegating": {
86
+ "type": "struct",
87
+ "type_mapping": [
88
+ ["balance", "Balance"],
89
+ ["target", "AccountId"],
90
+ ["conviction", "Conviction"],
91
+ ["delegations", "Delegations"],
92
+ ["prior", "PriorLock"]
93
+ ]
94
+ },
95
+ "Voting": {
96
+ "type": "enum",
97
+ "type_mapping": [
98
+ ["Direct", "VotingDirect"],
99
+ ["Delegating", "VotingDelegating"]
100
+ ]
101
+ },
102
+ "(AccountId, Balance)": {
103
+ "type": "struct",
104
+ "type_mapping": [
105
+ ["account", "AccountId"],
106
+ ["balance", "Balance"]
107
+ ]
108
+ },
109
+ "(BalanceOf<T, I>, BidKind<AccountId, BalanceOf<T, I>>)": {
110
+ "type": "struct",
111
+ "type_mapping": [
112
+ ["balance", "Balance"],
113
+ ["bidkind", "BidKind"]
114
+ ]
115
+ },
116
+ "RefCount": "u8",
117
+ "Moment": "u64",
118
+ "AccountData": {
119
+ "type": "struct",
120
+ "type_mapping": [
121
+ ["free", "Balance"],
122
+ ["reserved", "Balance"],
123
+ ["miscFrozen", "Balance"],
124
+ ["feeFrozen", "Balance"]
125
+ ]
126
+ },
127
+ "AccountInfo<Index, AccountData>": {
128
+ "type": "struct",
129
+ "type_mapping": [
130
+ ["nonce", "Index"],
131
+ ["refcount", "RefCount"],
132
+ ["data", "AccountData"]
133
+ ]
134
+ },
135
+ "ActiveEraInfo": {
136
+ "type": "struct",
137
+ "type_mapping": [
138
+ ["index", "EraIndex"],
139
+ ["start", "Option<Moment>"]
140
+ ]
141
+ },
142
+ "BlockNumber": "U64",
143
+ "CandidateReceipt": {
144
+ "type": "struct",
145
+ "type_mapping": [
146
+ ["parachainIndex", "ParaId"],
147
+ ["collator", "AccountId"],
148
+ ["signature", "CollatorSignature"],
149
+ ["headData", "HeadData"],
150
+ ["balanceUploads", "Vec<BalanceUpload>"],
151
+ ["egressQueueRoots", "Vec<EgressQueueRoot>"],
152
+ ["fees", "u64"],
153
+ ["blockDataHash", "Hash"]
154
+ ]
155
+ },
156
+ "ValidityVote": {
157
+ "type": "struct",
158
+ "type_mapping": [
159
+ ["accountId", "AccountId"],
160
+ ["validityAttestation", "ValidityAttestation"]
161
+ ]
162
+ },
163
+ "AttestedCandidate": {
164
+ "type": "struct",
165
+ "type_mapping": [
166
+ ["candidate", "CandidateReceipt"],
167
+ ["validityVotes", "Vec<ValidityVote>"]
168
+ ]
169
+ },
170
+ "LockIdentifier": "[u8; 8]",
171
+ "BalanceLock": {
172
+ "type": "struct",
173
+ "type_mapping": [
174
+ ["id", "LockIdentifier"],
175
+ ["amount", "Balance"],
176
+ ["reasons", "Reasons"]
177
+ ]
178
+ },
179
+ "FullIdentification": {
180
+ "type": "struct",
181
+ "type_mapping": [
182
+ ["total", "Compact<Balance>"],
183
+ ["own", "Compact<Balance>"],
184
+ ["others", "Vec<IndividualExposure>"]
185
+ ]
186
+ },
187
+ "IdentificationTuple": {
188
+ "type": "struct",
189
+ "type_mapping": [
190
+ ["validatorId", "ValidatorId"],
191
+ ["exposure", "FullIdentification"]
192
+ ]
193
+ },
194
+ "SetId": "U64",
195
+ "Reasons": {
196
+ "type": "enum",
197
+ "value_list": [
198
+ "Fee",
199
+ "Misc",
200
+ "All"
201
+ ]
202
+ },
203
+ "RoundNumber": "U64",
204
+ "SessionIndex": "U32",
205
+ "AuctionIndex": "U32",
206
+ "AuthIndex": "U32",
207
+ "AuthorityIndex": "u64",
208
+ "Signature": "H512",
209
+ "CollatorSignature": "Signature",
210
+ "AuthorityWeight": "u64",
211
+ "NextAuthority": {
212
+ "type": "struct",
213
+ "type_mapping": [
214
+ ["AuthorityId", "AuthorityId"],
215
+ ["weight", "AuthorityWeight"]
216
+ ]
217
+ },
218
+ "AuthorityList": "VecNextAuthority",
219
+ "BalanceUpload": {
220
+ "type": "struct",
221
+ "type_mapping": [
222
+ ["accountId", "AccountId"],
223
+ ["balance", "u64"]
224
+ ]
225
+ },
226
+ "CollatorId": "H256",
227
+ "ContractInfo": {
228
+ "type": "enum",
229
+ "value_list": [
230
+ "Alive",
231
+ "Tombstone"
232
+ ]
233
+ },
234
+ "TrieId": "Vec<u8>",
235
+ "RawAliveContractInfo": {
236
+ "type": "struct",
237
+ "type_mapping": [
238
+ ["trie_id", "TrieId"],
239
+ ["storage_size", "u32"],
240
+ ["code_hash", "CodeHash"],
241
+ ["rent_allowance", "Balance"],
242
+ ["deduct_block", "BlockNumber"],
243
+ ["last_write", "Option<BlockNumber>"]
244
+ ]
245
+ },
246
+ "DispatchClass": {
247
+ "type": "enum",
248
+ "value_list": [
249
+ "Normal",
250
+ "Operational"
251
+ ]
252
+ },
253
+ "DispatchInfo": {
254
+ "type": "struct",
255
+ "type_mapping": [
256
+ ["weight", "Weight"],
257
+ ["class", "DispatchClass"],
258
+ ["paysFee", "bool"]
259
+ ]
260
+ },
261
+ "EgressQueueRoot": {
262
+ "type": "struct",
263
+ "type_mapping": [
264
+ ["paraId", "ParaId"],
265
+ ["hash", "Hash"]
266
+ ]
267
+ },
268
+ "EventIndex": "u32",
269
+ "Extrinsic": "ExtrinsicDecoder",
270
+ "Gas": "u64",
271
+ "IdentityFields": {
272
+ "type": "set",
273
+ "value_type": "u64",
274
+ "value_list": {
275
+ "Display": 1,
276
+ "Legal": 2,
277
+ "Web": 4,
278
+ "Riot": 8,
279
+ "Email": 16,
280
+ "PgpFingerprint": 32,
281
+ "Image": 64,
282
+ "Twitter": 128
283
+ }
284
+ },
285
+ "IdentityInfoAdditional": {
286
+ "type": "struct",
287
+ "type_mapping": [
288
+ ["field", "Data"],
289
+ ["value", "Data"]
290
+ ]
291
+ },
292
+ "IdentityInfo": {
293
+ "type": "struct",
294
+ "type_mapping": [
295
+ ["additional", "Vec<IdentityInfoAdditional>"],
296
+ ["display", "Data"],
297
+ ["legal", "Data"],
298
+ ["web", "Data"],
299
+ ["riot", "Data"],
300
+ ["email", "Data"],
301
+ ["pgpFingerprint", "Option<H160>"],
302
+ ["image", "Data"],
303
+ ["twitter", "Data"]
304
+ ]
305
+ },
306
+ "IdentityJudgement": {
307
+ "type": "enum",
308
+ "type_mapping": [
309
+ ["Unknown", "Null"],
310
+ ["FeePaid", "Balance"],
311
+ ["Reasonable", "Null"],
312
+ ["KnownGood", "Null"],
313
+ ["OutOfDate", "Null"],
314
+ ["LowQuality", "Null"],
315
+ ["Erroneous", "Null"]
316
+ ]
317
+ },
318
+ "Judgement": "IdentityJudgement",
319
+ "Judgement<BalanceOf>": "IdentityJudgement",
320
+ "LeasePeriod": "BlockNumber",
321
+ "LeasePeriodOf": "LeasePeriod",
322
+ "(LeasePeriodOf, IncomingParachain<AccountId, Hash>)": {
323
+ "type": "struct",
324
+ "type_mapping": [
325
+ ["leasePeriod", "LeasePeriodOf"],
326
+ ["incomingParachain", "IncomingParachain"]
327
+ ]
328
+ },
329
+ "(ParaId, Option<(CollatorId, Retriable)>)": {
330
+ "type": "struct",
331
+ "type_mapping": [
332
+ ["ParaId", "ParaId"],
333
+ ["CollatorId-Retriable", "Option<(CollatorId, Retriable)>"]
334
+ ]
335
+ },
336
+ "MaybeVrf": "[u8; 32]",
337
+ "MemberCount": "u32",
338
+ "MomentOf": "Moment",
339
+ "MoreAttestations": "Null",
340
+ "Multiplier": "u64",
341
+ "Timepoint": {
342
+ "type": "struct",
343
+ "type_mapping": [
344
+ ["height", "BlockNumber"],
345
+ ["index", "u32"]
346
+ ]
347
+ },
348
+ "Multisig": {
349
+ "type": "struct",
350
+ "type_mapping": [
351
+ ["when", "Timepoint"],
352
+ ["deposit", "Balance"],
353
+ ["depositor", "AccountId"],
354
+ ["approvals", "Vec<AccountId>"]
355
+ ]
356
+ },
357
+ "Offender": {
358
+ "type": "struct",
359
+ "type_mapping": [
360
+ ["validatorId", "ValidatorId"],
361
+ ["exposure", "Exposure"]
362
+ ]
363
+ },
364
+ "PhantomData": "Null",
365
+ "sp_std::marker::PhantomData<(AccountId, Event)>": "PhantomData",
366
+ "Reporter": "AccountId",
367
+ "OffenceDetails<AccountId, IdentificationTuple>": {
368
+ "type": "struct",
369
+ "type_mapping": [
370
+ ["offender", "Offender"],
371
+ ["reporters", "Vec<Reporter>"]
372
+ ]
373
+ },
374
+ "OpenTipFinder": "(AccountId, Balance)",
375
+ "OpenTipTip": "(AccountId, Balance)",
376
+ "OpenTip<AccountId, BalanceOf, BlockNumber, Hash>": {
377
+ "type": "struct",
378
+ "type_mapping": [
379
+ ["reason", "Hash"],
380
+ ["who", "AccountId"],
381
+ ["finder", "Option<OpenTipFinder>"],
382
+ ["closes", "Option<BlockNumber>"],
383
+ ["tips", "Vec<OpenTipTip>"]
384
+ ]
385
+ },
386
+ "ParaId": "u32",
387
+ "ParaIdOf": "ParaId",
388
+ "ParaScheduling": {
389
+ "type": "enum",
390
+ "value_list": [
391
+ "Always",
392
+ "Dynamic"
393
+ ]
394
+ },
395
+ "ParaInfo": {
396
+ "type": "struct",
397
+ "type_mapping": [
398
+ ["scheduling", "ParaScheduling"]
399
+ ]
400
+ },
401
+ "Percent": "u8",
402
+ "SlotNumber": "u64",
403
+ "VrfData": "[u8; 32]",
404
+ "VrfProof": "[u8; 64]",
405
+ "RawAuraPreDigest": {
406
+ "type": "struct",
407
+ "type_mapping": [
408
+ ["slotNumber", "SlotNumber"]
409
+ ]
410
+ },
411
+ "RawBabePreDigest": {
412
+ "type": "enum",
413
+ "type_mapping": [
414
+ ["value", "Null"],
415
+ ["value", "RawBabePreDigestPrimary"],
416
+ ["value", "RawBabePreDigestSecondary"]
417
+ ]
418
+ },
419
+ "RawBabePreDigestPrimary": {
420
+ "type": "struct",
421
+ "type_mapping": [
422
+ ["authorityIndex", "u32"],
423
+ ["slotNumber", "SlotNumber"],
424
+ ["vrfOutput", "VrfData"],
425
+ ["vrfProof", "VrfProof"]
426
+ ]
427
+ },
428
+ "RawBabePreDigestSecondary": {
429
+ "type": "struct",
430
+ "type_mapping": [
431
+ ["authorityIndex", "u32"],
432
+ ["slotNumber", "SlotNumber"]
433
+ ]
434
+ },
435
+ "ReferendumInfo<BlockNumber, Proposal>": {
436
+ "type": "struct",
437
+ "type_mapping": [
438
+ ["end", "BlockNumber"],
439
+ ["proposal", "Proposal"],
440
+ ["threshold", "VoteThreshold"],
441
+ ["delay", "BlockNumber"]
442
+ ]
443
+ },
444
+ "(ReferendumInfo<BlockNumber, Proposal>)": "ReferendumInfo<BlockNumber, Proposal>",
445
+ "ReferendumInfo<BlockNumber, Hash>": {
446
+ "type": "struct",
447
+ "type_mapping": [
448
+ ["end", "BlockNumber"],
449
+ ["proposalHash", "Hash"],
450
+ ["threshold", "VoteThreshold"],
451
+ ["delay", "BlockNumber"]
452
+ ]
453
+ },
454
+ "(ReferendumInfo<BlockNumber, Hash>)": "ReferendumInfo<BlockNumber, Hash>",
455
+ "RegistrarIndex": "u32",
456
+ "RegistrarInfo": {
457
+ "type": "struct",
458
+ "type_mapping": [
459
+ ["account", "AccountId"],
460
+ ["fee", "Balance"],
461
+ ["fields", "IdentityFields"]
462
+ ]
463
+ },
464
+ "RegistrationJudgement": {
465
+ "type": "struct",
466
+ "type_mapping": [
467
+ ["registrarIndex", "RegistrarIndex"],
468
+ ["judgement", "Judgement"]
469
+ ]
470
+ },
471
+ "Registration": {
472
+ "type": "struct",
473
+ "type_mapping": [
474
+ ["judgements", "Vec<RegistrationJudgement>"],
475
+ ["deposit", "Balance"],
476
+ ["info", "IdentityInfo"]
477
+ ]
478
+ },
479
+ "ReportIdOf": "Hash",
480
+ "Schedule": {
481
+ "type": "struct",
482
+ "type_mapping": [
483
+ ["version", "u32"],
484
+ ["put_code_per_byte_cost", "Gas"],
485
+ ["grow_mem_cost", "Gas"],
486
+ ["regular_op_cost", "Gas"],
487
+ ["return_data_per_byte_cost", "Gas"],
488
+ ["event_data_per_byte_cost", "Gas"],
489
+ ["event_per_topic_cost", "Gas"],
490
+ ["event_base_cost", "Gas"],
491
+ ["call_base_cost", "Gas"],
492
+ ["instantiate_base_cost", "Gas"],
493
+ ["sandbox_data_read_cost", "Gas"],
494
+ ["sandbox_data_write_cost", "Gas"],
495
+ ["max_event_topics", "u32"],
496
+ ["max_stack_height", "u32"],
497
+ ["max_memory_pages", "u32"],
498
+ ["max_table_size", "u32"],
499
+ ["enable_println", "bool"],
500
+ ["max_subject_len", "u32"]
501
+ ]
502
+ },
503
+ "StakingLedger<AccountId, BalanceOf>": {
504
+ "type": "struct",
505
+ "type_mapping": [
506
+ ["stash", "AccountId"],
507
+ ["total", "Compact<Balance>"],
508
+ ["active", "Compact<Balance>"],
509
+ ["unlocking", "Vec<UnlockChunk<Balance>>"],
510
+ ["lastReward", "Option<EraIndex>"]
511
+ ]
512
+ },
513
+ "SubId": "u32",
514
+ "UncleEntryItem<BlockNumber, Hash, AccountId>": {
515
+ "type": "enum",
516
+ "value_list": [
517
+ "InclusionHeight",
518
+ "Uncle"
519
+ ]
520
+ },
521
+ "ValidatorPrefs": {
522
+ "type": "struct",
523
+ "type_mapping": [
524
+ ["commission", "Compact<Perbill>"]
525
+ ]
526
+ },
527
+ "VestingSchedule<Balance, BlockNumber>": {
528
+ "type": "struct",
529
+ "type_mapping": [
530
+ ["offset", "Balance"],
531
+ ["perBlock", "Balance"],
532
+ ["startingBlock", "BlockNumber"]
533
+ ]
534
+ },
535
+ "Weight": "u32",
536
+ "WeightMultiplier": "u64",
537
+ "WinningDataEntry": {
538
+ "type": "struct",
539
+ "type_mapping": [
540
+ ["accountId", "AccountId"],
541
+ ["paraId", "ParaId"],
542
+ ["balance", "Balance"]
543
+ ]
544
+ },
545
+ "WinningData": "Vec<WinningDataEntry>",
546
+ "WithdrawReasons": {
547
+ "type": "set",
548
+ "value_type": "u64",
549
+ "value_list": {
550
+ "TransactionPayment": 1,
551
+ "Transfer": 2,
552
+ "Reserve": 4,
553
+ "Fee": 8,
554
+ "Tip": 16
555
+ }
556
+ },
557
+ "Index": "U32",
558
+ "Kind": "[u8; 16]",
559
+ "Nominations": {
560
+ "type": "struct",
561
+ "type_mapping": [
562
+ ["targets", "Vec<AccountId>"],
563
+ ["submittedIn", "EraIndex"],
564
+ ["suppressed", "bool"]
565
+ ]
566
+ },
567
+ "OpaqueTimeSlot": "Bytes",
568
+ "Box<<T as Trait<I>>::Proposal>": "BoxProposal",
569
+ "AuthoritySignature": "Signature",
570
+ "<AuthorityId as RuntimeAppPublic>::Signature": "AuthoritySignature",
571
+ "&[u8]": "Bytes",
572
+ "Forcing": {
573
+ "type": "enum",
574
+ "value_list": [
575
+ "NotForcing",
576
+ "ForceNew",
577
+ "ForceNone"
578
+ ]
579
+ },
580
+ "Heartbeat": {
581
+ "type": "struct",
582
+ "type_mapping": [
583
+ ["blockNumber", "BlockNumber"],
584
+ ["networkState", "OpaqueNetworkState"],
585
+ ["sessionIndex", "SessionIndex"],
586
+ ["authorityIndex", "AuthIndex"]
587
+ ]
588
+ },
589
+ "RewardDestination": {
590
+ "type": "enum",
591
+ "value_list": [
592
+ "Staked",
593
+ "Stash",
594
+ "Controller"
595
+ ]
596
+ },
597
+ "ChangesTrieConfiguration": {
598
+ "type": "struct",
599
+ "type_mapping": [
600
+ ["digestInterval", "u32"],
601
+ ["digestLevels", "u32"]
602
+ ]
603
+ },
604
+ "ConsensusEngineId": "[u8; 4]",
605
+ "DigestItem": {
606
+ "type": "enum",
607
+ "type_mapping": [
608
+ ["Other", "Vec<u8>"],
609
+ ["AuthoritiesChange", "Vec<AuthorityId>"],
610
+ ["ChangesTrieRoot", "Hash"],
611
+ ["SealV0", "SealV0"],
612
+ ["Consensus", "Consensus"],
613
+ ["Seal", "Seal"],
614
+ ["PreRuntime", "PreRuntime"]
615
+ ]
616
+ },
617
+ "Digest": {
618
+ "type": "struct",
619
+ "type_mapping": [
620
+ ["logs", "Vec<DigestItem<Hash>>"]
621
+ ]
622
+ },
623
+ "DigestOf": "Digest",
624
+ "SpanIndex": "u32",
625
+ "slashing::SpanIndex": "SpanIndex",
626
+ "SlashingSpans": {
627
+ "type": "struct",
628
+ "type_mapping": [
629
+ ["spanIndex", "SpanIndex"],
630
+ ["lastStart", "EraIndex"],
631
+ ["lastNonzeroSlash", "EraIndex"],
632
+ ["prior", "Vec<EraIndex>"]
633
+ ]
634
+ },
635
+ "slashing::SlashingSpans": "SlashingSpans",
636
+ "SpanRecord": {
637
+ "type": "struct",
638
+ "type_mapping": [
639
+ ["slashed", "Balance"],
640
+ ["paidOut", "Balance"]
641
+ ]
642
+ },
643
+ "slashing::SpanRecord<BalanceOf>": "SpanRecord",
644
+ "UnappliedSlashOther": {
645
+ "type": "struct",
646
+ "type_mapping": [
647
+ ["account", "AccountId"],
648
+ ["amount", "Balance"]
649
+ ]
650
+ },
651
+ "UnappliedSlash<AccountId, BalanceOf>": {
652
+ "type": "struct",
653
+ "type_mapping": [
654
+ ["validator", "AccountId"],
655
+ ["own", "AccountId"],
656
+ ["others", "Vec<UnappliedSlashOther>"],
657
+ ["reporters", "Vec<AccountId>"],
658
+ ["payout", "Balance"]
659
+ ]
660
+ },
661
+ "Keys": "SessionKeysSubstrate",
662
+ "Header": {
663
+ "type": "struct",
664
+ "type_mapping": [
665
+ ["parent_hash", "H256"],
666
+ ["number", "Compact<BlockNumber>"],
667
+ ["state_root", "H256"],
668
+ ["extrinsics_root", "H256"],
669
+ ["digest", "Digest"]
670
+ ]
671
+ },
672
+ "DispatchErrorModule": {
673
+ "type": "struct",
674
+ "type_mapping": [
675
+ ["index", "u8"],
676
+ ["error", "u8"]
677
+ ]
678
+ },
679
+ "DispatchError": {
680
+ "type": "enum",
681
+ "type_mapping": [
682
+ ["Other", "Null"],
683
+ ["CannotLookup", "Null"],
684
+ ["BadOrigin", "Null"],
685
+ ["Module", "DispatchErrorModule"]
686
+ ]
687
+ },
688
+ "DispatchResult": {
689
+ "type": "enum",
690
+ "type_mapping": [
691
+ ["Ok", "Null"],
692
+ ["Error", "DispatchError"]
693
+ ]
694
+ },
695
+ "ActiveRecovery": {
696
+ "type": "struct",
697
+ "type_mapping": [
698
+ ["created", "BlockNumber"],
699
+ ["deposit", "Balance"],
700
+ ["friends", "Vec<AccountId>"]
701
+ ]
702
+ },
703
+ "RecoveryConfig": {
704
+ "type": "struct",
705
+ "type_mapping": [
706
+ ["delayPeriod", "BlockNumber"],
707
+ ["deposit", "Balance"],
708
+ ["friends", "Vec<AccountId>"],
709
+ ["threshold", "u16"]
710
+ ]
711
+ },
712
+ "BidKindVouch": {
713
+ "type": "struct",
714
+ "type_mapping": [
715
+ ["account", "AccountId"],
716
+ ["amount", "Balance"]
717
+ ]
718
+ },
719
+ "BidKind": {
720
+ "type": "enum",
721
+ "type_mapping": [
722
+ ["Deposit", "Balance"],
723
+ ["Vouch", "BidKindVouch"]
724
+ ]
725
+ },
726
+ "BidKind<AccountId,Balance>": "Bidkind",
727
+ "BidKind<AccountId, BalanceOf<T, I>>": "Bidkind",
728
+ "Bid": {
729
+ "type": "struct",
730
+ "type_mapping": [
731
+ ["who", "AccountId"],
732
+ ["kind", "BidKind"],
733
+ ["value", "Balance"]
734
+ ]
735
+ },
736
+ "StrikeCount": "u32",
737
+ "VouchingStatus": {
738
+ "type": "enum",
739
+ "value_list": [
740
+ "Vouching",
741
+ "Banned"
742
+ ]
743
+ },
744
+ "ExtrinsicMetadata": {
745
+ "type": "struct",
746
+ "type_mapping": [
747
+ ["version", "u8"],
748
+ ["signedExtensions", "Vec<Bytes>"]
749
+ ]
750
+ },
751
+ "RewardPoint": "u32",
752
+ "EraRewardPoints": {
753
+ "type": "struct",
754
+ "type_mapping": [
755
+ ["total", "RewardPoint"],
756
+ ["individual", "Vec<(AccountId, RewardPoint)>"]
757
+ ]
758
+ },
759
+ "IncomingParachainDeploy": {
760
+ "type": "struct",
761
+ "type_mapping": [
762
+ ["code", "Bytes"],
763
+ ["initialHeadData", "Bytes"]
764
+ ]
765
+ },
766
+ "NewBidder": {
767
+ "type": "struct",
768
+ "type_mapping": [
769
+ ["who", "AccountId"],
770
+ ["sub", "SubId"]
771
+ ]
772
+ },
773
+ "IncomingParachainFixed": {
774
+ "type": "struct",
775
+ "type_mapping": [
776
+ ["codeHash", "Hash"],
777
+ ["initialHeadData", "Bytes"]
778
+ ]
779
+ },
780
+ "IncomingParachain": {
781
+ "type": "enum",
782
+ "type_mapping": [
783
+ ["Unset", "NewBidder"],
784
+ ["Fixed", "IncomingParachainFixed"],
785
+ ["Deploy", "IncomingParachainDeploy"]
786
+ ]
787
+ },
788
+ "LastRuntimeUpgradeInfo": {
789
+ "type": "struct",
790
+ "type_mapping": [
791
+ ["specVersion", "Compact<u32>"],
792
+ ["specName", "Bytes"]
793
+ ]
794
+ },
795
+ "ProxyState": {
796
+ "type": "struct",
797
+ "type_mapping": [
798
+ ["Open", "AccountId"],
799
+ ["Active", "AccountId"]
800
+ ]
801
+ },
802
+ "ReleasesBalances": {
803
+ "type": "enum",
804
+ "value_list": [
805
+ "V1_0_0",
806
+ "V2_0_0"
807
+ ]
808
+ },
809
+ "Releases": "ReleasesBalances",
810
+ "SlotRange": {
811
+ "type": "enum",
812
+ "value_list": [
813
+ "ZeroZero",
814
+ "ZeroOne",
815
+ "ZeroTwo",
816
+ "ZeroThree",
817
+ "OneOne",
818
+ "OneTwo",
819
+ "OneThree",
820
+ "TwoTwo",
821
+ "TwoThree",
822
+ "ThreeThree"
823
+ ]
824
+ },
825
+ "ValidityAttestation": {
826
+ "type": "enum",
827
+ "type_mapping": [
828
+ ["None", "Null"],
829
+ ["Implicit", "CollatorSignature"],
830
+ ["Explicit", "CollatorSignature"]
831
+ ]
832
+ },
833
+ "VestingInfo": {
834
+ "type": "struct",
835
+ "type_mapping": [
836
+ ["locked", "Balance"],
837
+ ["perBlock", "Balance"],
838
+ ["startingBlock", "BlockNumber"]
839
+ ]
840
+ }
841
+ }
842
+ }