scale.rb 0.2.9 → 0.2.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,53 +5,104 @@
5
5
  "BalanceLock": {
6
6
  "type": "struct",
7
7
  "type_mapping": [
8
- ["id", "LockIdentifier"],
9
- ["lock_for", "LockFor"],
10
- ["lock_reasons", "LockReasons"]
8
+ [
9
+ "id",
10
+ "LockIdentifier"
11
+ ],
12
+ [
13
+ "lock_for",
14
+ "LockFor"
15
+ ],
16
+ [
17
+ "lock_reasons",
18
+ "LockReasons"
19
+ ]
11
20
  ]
12
21
  },
13
22
  "LockFor": {
14
23
  "type": "enum",
15
24
  "type_mapping": [
16
- ["Common", "Common"],
17
- ["Staking", "StakingLock"]
25
+ [
26
+ "Common",
27
+ "Common"
28
+ ],
29
+ [
30
+ "Staking",
31
+ "StakingLock"
32
+ ]
18
33
  ]
19
34
  },
20
35
  "Common": {
21
36
  "type": "struct",
22
37
  "type_mapping": [
23
- ["amount", "Balance"]
38
+ [
39
+ "amount",
40
+ "Balance"
41
+ ]
24
42
  ]
25
43
  },
26
44
  "StakingLock": {
27
45
  "type": "struct",
28
46
  "type_mapping": [
29
- ["staking_amount", "Balance"],
30
- ["unbondings", "Vec<Unbonding>"]
47
+ [
48
+ "staking_amount",
49
+ "Balance"
50
+ ],
51
+ [
52
+ "unbondings",
53
+ "Vec<Unbonding>"
54
+ ]
31
55
  ]
32
56
  },
33
57
  "LockReasons": {
34
58
  "type": "enum",
35
59
  "type_mapping": [
36
- ["Fee", "Null"],
37
- ["Misc", "Null"],
38
- ["All", "Null"]
60
+ [
61
+ "Fee",
62
+ "Null"
63
+ ],
64
+ [
65
+ "Misc",
66
+ "Null"
67
+ ],
68
+ [
69
+ "All",
70
+ "Null"
71
+ ]
39
72
  ]
40
73
  },
41
74
  "Unbonding": {
42
75
  "type": "struct",
43
76
  "type_mapping": [
44
- ["amount", "Balance"],
45
- ["until", "BlockNumber"]
77
+ [
78
+ "amount",
79
+ "Balance"
80
+ ],
81
+ [
82
+ "until",
83
+ "BlockNumber"
84
+ ]
46
85
  ]
47
86
  },
48
87
  "AccountData": {
49
88
  "type": "struct",
50
89
  "type_mapping": [
51
- ["free", "Balance"],
52
- ["reserved", "Balance"],
53
- ["free_kton", "Balance"],
54
- ["reserved_kton", "Balance"]
90
+ [
91
+ "free",
92
+ "Balance"
93
+ ],
94
+ [
95
+ "reserved",
96
+ "Balance"
97
+ ],
98
+ [
99
+ "free_kton",
100
+ "Balance"
101
+ ],
102
+ [
103
+ "reserved_kton",
104
+ "Balance"
105
+ ]
55
106
  ]
56
107
  },
57
108
  "RingBalance": "Balance",
@@ -62,139 +113,279 @@
62
113
  "StakingBalanceT": {
63
114
  "type": "enum",
64
115
  "type_mapping": [
65
- ["RingBalance", "Balance"],
66
- ["KtonBalance", "Balance"]
116
+ [
117
+ "RingBalance",
118
+ "Balance"
119
+ ],
120
+ [
121
+ "KtonBalance",
122
+ "Balance"
123
+ ]
67
124
  ]
68
125
  },
69
126
  "StakingLedgerT": {
70
127
  "type": "struct",
71
128
  "type_mapping": [
72
- ["stash", "AccountId"],
73
- ["active_ring", "Compact<Balance>"],
74
- ["active_deposit_ring", "Compact<Balance>"],
75
- ["active_kton", "Compact<Balance>"],
76
- ["deposit_items", "Vec<TimeDepositItem>"],
77
- ["ring_staking_lock", "StakingLock"],
78
- ["kton_staking_lock", "StakingLock"],
79
- ["claimed_rewards", "Vec<EraIndex>"]
129
+ [
130
+ "stash",
131
+ "AccountId"
132
+ ],
133
+ [
134
+ "active_ring",
135
+ "Compact<Balance>"
136
+ ],
137
+ [
138
+ "active_deposit_ring",
139
+ "Compact<Balance>"
140
+ ],
141
+ [
142
+ "active_kton",
143
+ "Compact<Balance>"
144
+ ],
145
+ [
146
+ "deposit_items",
147
+ "Vec<TimeDepositItem>"
148
+ ],
149
+ [
150
+ "ring_staking_lock",
151
+ "StakingLock"
152
+ ],
153
+ [
154
+ "kton_staking_lock",
155
+ "StakingLock"
156
+ ],
157
+ [
158
+ "claimed_rewards",
159
+ "Vec<EraIndex>"
160
+ ]
80
161
  ]
81
162
  },
82
163
  "TimeDepositItem": {
83
164
  "type": "struct",
84
165
  "type_mapping": [
85
- ["value", "Compact<Balance>"],
86
- ["start_time", "Compact<TsInMs>"],
87
- ["expire_time", "Compact<TsInMs>"]
166
+ [
167
+ "value",
168
+ "Compact<Balance>"
169
+ ],
170
+ [
171
+ "start_time",
172
+ "Compact<TsInMs>"
173
+ ],
174
+ [
175
+ "expire_time",
176
+ "Compact<TsInMs>"
177
+ ]
88
178
  ]
89
179
  },
90
180
  "ExposureT": {
91
181
  "type": "struct",
92
182
  "type_mapping": [
93
- ["own_ring_balance", "Compact<Balance>"],
94
- ["own_kton_balance", "Compact<Balance>"],
95
- ["own_power", "Power"],
96
- ["total_power", "Power"],
97
- ["others", "Vec<IndividualExposure>"]
183
+ [
184
+ "own_ring_balance",
185
+ "Compact<Balance>"
186
+ ],
187
+ [
188
+ "own_kton_balance",
189
+ "Compact<Balance>"
190
+ ],
191
+ [
192
+ "own_power",
193
+ "Power"
194
+ ],
195
+ [
196
+ "total_power",
197
+ "Power"
198
+ ],
199
+ [
200
+ "others",
201
+ "Vec<IndividualExposure>"
202
+ ]
98
203
  ]
99
204
  },
100
205
  "IndividualExposure": {
101
206
  "type": "struct",
102
207
  "type_mapping": [
103
- ["who", "AccountId"],
104
- ["ring_balance", "Compact<Balance>"],
105
- ["kton_balance", "Compact<Balance>"],
106
- ["power", "Power"]
208
+ [
209
+ "who",
210
+ "AccountId"
211
+ ],
212
+ [
213
+ "ring_balance",
214
+ "Compact<Balance>"
215
+ ],
216
+ [
217
+ "kton_balance",
218
+ "Compact<Balance>"
219
+ ],
220
+ [
221
+ "power",
222
+ "Power"
223
+ ]
107
224
  ]
108
225
  },
109
226
  "ElectionResultT": {
110
227
  "type": "struct",
111
228
  "type_mapping": [
112
- ["elected_stashes", "Vec<AccountId>"],
113
- ["exposures", "Vec<(AccountId, ExposureT)>"],
114
- ["compute", "ElectionCompute"]
229
+ [
230
+ "elected_stashes",
231
+ "Vec<AccountId>"
232
+ ],
233
+ [
234
+ "exposures",
235
+ "Vec<(AccountId, ExposureT)>"
236
+ ],
237
+ [
238
+ "compute",
239
+ "ElectionCompute"
240
+ ]
115
241
  ]
116
242
  },
117
243
  "RKT": {
118
244
  "type": "struct",
119
245
  "type_mapping": [
120
- ["r", "Balance"],
121
- ["k", "Balance"]
246
+ [
247
+ "r",
248
+ "Balance"
249
+ ],
250
+ [
251
+ "k",
252
+ "Balance"
253
+ ]
122
254
  ]
123
255
  },
124
256
  "SpanRecord": {
125
257
  "type": "struct",
126
258
  "type_mapping": [
127
- ["slashed", "RKT"],
128
- ["paid_out", "RKT"]
259
+ [
260
+ "slashed",
261
+ "RKT"
262
+ ],
263
+ [
264
+ "paid_out",
265
+ "RKT"
266
+ ]
129
267
  ]
130
268
  },
131
269
  "UnappliedSlash": {
132
270
  "type": "struct",
133
271
  "type_mapping": [
134
- ["validator", "AccountId"],
135
- ["own", "RKT"],
136
- ["others", "Vec<(AccountId, RKT)>"],
137
- ["reporters", "Vec<AccountId>"],
138
- ["payout", "RKT"]
272
+ [
273
+ "validator",
274
+ "AccountId"
275
+ ],
276
+ [
277
+ "own",
278
+ "RKT"
279
+ ],
280
+ [
281
+ "others",
282
+ "Vec<(AccountId, RKT)>"
283
+ ],
284
+ [
285
+ "reporters",
286
+ "Vec<AccountId>"
287
+ ],
288
+ [
289
+ "payout",
290
+ "RKT"
291
+ ]
139
292
  ]
140
293
  },
141
294
  "TreasuryProposal": {
142
295
  "type": "struct",
143
296
  "type_mapping": [
144
- ["proposer", "AccountId"],
145
- ["beneficiary", "AccountId"],
146
- ["ring_value", "Balance"],
147
- ["kton_value", "Balance"],
148
- ["ring_bond", "Balance"],
149
- ["kton_bond", "Balance"]
297
+ [
298
+ "proposer",
299
+ "AccountId"
300
+ ],
301
+ [
302
+ "beneficiary",
303
+ "AccountId"
304
+ ],
305
+ [
306
+ "ring_value",
307
+ "Balance"
308
+ ],
309
+ [
310
+ "kton_value",
311
+ "Balance"
312
+ ],
313
+ [
314
+ "ring_bond",
315
+ "Balance"
316
+ ],
317
+ [
318
+ "kton_bond",
319
+ "Balance"
320
+ ]
150
321
  ]
151
322
  },
152
323
  "MappedRing": "u128",
153
324
  "EthereumTransactionIndex": "(H256, u64)",
154
- "EthereumHeaderBrief": {
155
- "type": "struct",
156
- "type_mapping": [
157
- ["total_difficulty", "U256"],
158
- ["parent_hash", "H256"],
159
- ["number", "EthereumBlockNumber"],
160
- ["relayer", "AccountId"]
161
- ]
162
- },
163
325
  "EthereumBlockNumber": "u64",
164
- "EthereumHeaderThingWithProof": {
165
- "type": "struct",
166
- "type_mapping": [
167
- ["header", "EthereumHeader"],
168
- ["ethash_proof", "Vec<EthashProof>"],
169
- ["mmr_root", "H256"],
170
- ["mmr_proof", "Vec<H256>"]
171
- ]
172
- },
173
- "EthereumHeaderThing": {
174
- "type": "struct",
175
- "type_mapping": [
176
- ["header", "EthereumHeader"],
177
- ["mmr_root", "H256"]
178
- ]
179
- },
180
326
  "EthereumHeader": {
181
327
  "type": "struct",
182
328
  "type_mapping": [
183
- ["parent_hash", "H256"],
184
- ["timestamp", "u64"],
185
- ["number", "EthereumBlockNumber"],
186
- ["author", "EthereumAddress"],
187
- ["transactions_root", "H256"],
188
- ["uncles_hash", "H256"],
189
- ["extra_data", "Bytes"],
190
- ["state_root", "H256"],
191
- ["receipts_root", "H256"],
192
- ["log_bloom", "Bloom"],
193
- ["gas_used", "U256"],
194
- ["gas_limit", "U256"],
195
- ["difficulty", "U256"],
196
- ["seal", "Vec<Bytes>"],
197
- ["hash", "Option<H256>"]
329
+ [
330
+ "parent_hash",
331
+ "H256"
332
+ ],
333
+ [
334
+ "timestamp",
335
+ "u64"
336
+ ],
337
+ [
338
+ "number",
339
+ "EthereumBlockNumber"
340
+ ],
341
+ [
342
+ "author",
343
+ "EthereumAddress"
344
+ ],
345
+ [
346
+ "transactions_root",
347
+ "H256"
348
+ ],
349
+ [
350
+ "uncles_hash",
351
+ "H256"
352
+ ],
353
+ [
354
+ "extra_data",
355
+ "Bytes"
356
+ ],
357
+ [
358
+ "state_root",
359
+ "H256"
360
+ ],
361
+ [
362
+ "receipts_root",
363
+ "H256"
364
+ ],
365
+ [
366
+ "log_bloom",
367
+ "Bloom"
368
+ ],
369
+ [
370
+ "gas_used",
371
+ "U256"
372
+ ],
373
+ [
374
+ "gas_limit",
375
+ "U256"
376
+ ],
377
+ [
378
+ "difficulty",
379
+ "U256"
380
+ ],
381
+ [
382
+ "seal",
383
+ "Vec<Bytes>"
384
+ ],
385
+ [
386
+ "hash",
387
+ "Option<H256>"
388
+ ]
198
389
  ]
199
390
  },
200
391
  "EthereumAddress": "H160",
@@ -203,98 +394,472 @@
203
394
  "EthashProof": {
204
395
  "type": "struct",
205
396
  "type_mapping": [
206
- ["dag_nodes", "(H512, H512)"],
207
- ["proof", "Vec<H128>"]
397
+ [
398
+ "dag_nodes",
399
+ "(H512, H512)"
400
+ ],
401
+ [
402
+ "proof",
403
+ "Vec<H128>"
404
+ ]
208
405
  ]
209
406
  },
210
407
  "EthereumReceipt": {
211
408
  "type": "struct",
212
409
  "type_mapping": [
213
- ["gas_used", "U256"],
214
- ["log_bloom", "Bloom"],
215
- ["logs", "Vec<LogEntry>"],
216
- ["outcome", "TransactionOutcome"]
410
+ [
411
+ "gas_used",
412
+ "U256"
413
+ ],
414
+ [
415
+ "log_bloom",
416
+ "Bloom"
417
+ ],
418
+ [
419
+ "logs",
420
+ "Vec<LogEntry>"
421
+ ],
422
+ [
423
+ "outcome",
424
+ "TransactionOutcome"
425
+ ]
217
426
  ]
218
427
  },
219
428
  "EthereumNetworkType": {
220
429
  "type": "enum",
221
430
  "type_mapping": [
222
- ["Mainnet", "Null"],
223
- ["Ropsten", "Null"]
431
+ [
432
+ "Mainnet",
433
+ "Null"
434
+ ],
435
+ [
436
+ "Ropsten",
437
+ "Null"
438
+ ]
224
439
  ]
225
440
  },
226
441
  "RedeemFor": {
227
442
  "type": "enum",
228
443
  "type_mapping": [
229
- ["Token", "Null"],
230
- ["Deposit", "Null"]
444
+ [
445
+ "Token",
446
+ "Null"
447
+ ],
448
+ [
449
+ "Deposit",
450
+ "Null"
451
+ ]
231
452
  ]
232
453
  },
233
454
  "EthereumReceiptProof": {
234
455
  "type": "struct",
235
456
  "type_mapping": [
236
- ["index", "u64"],
237
- ["proof", "Bytes"],
238
- ["header_hash", "H256"]
457
+ [
458
+ "index",
459
+ "u64"
460
+ ],
461
+ [
462
+ "proof",
463
+ "Bytes"
464
+ ],
465
+ [
466
+ "header_hash",
467
+ "H256"
468
+ ]
239
469
  ]
240
470
  },
241
471
  "EthereumReceiptProofThing": "(EthereumHeader, EthereumReceiptProof, MMRProof)",
242
472
  "MMRProof": {
243
473
  "type": "struct",
244
474
  "type_mapping": [
245
- ["member_leaf_index", "u64"],
246
- ["last_leaf_index", "u64"],
247
- ["proof", "Vec<H256>"]
475
+ [
476
+ "member_leaf_index",
477
+ "u64"
478
+ ],
479
+ [
480
+ "last_leaf_index",
481
+ "u64"
482
+ ],
483
+ [
484
+ "proof",
485
+ "Vec<H256>"
486
+ ]
248
487
  ]
249
488
  },
250
489
  "OtherSignature": {
251
490
  "type": "enum",
252
491
  "type_mapping": [
253
- ["Eth", "EcdsaSignature"],
254
- ["Tron", "EcdsaSignature"]
492
+ [
493
+ "Eth",
494
+ "EcdsaSignature"
495
+ ],
496
+ [
497
+ "Tron",
498
+ "EcdsaSignature"
499
+ ]
255
500
  ]
256
501
  },
257
502
  "EcdsaSignature": "[u8; 65]",
258
503
  "OtherAddress": {
259
504
  "type": "enum",
260
505
  "type_mapping": [
261
- ["Eth", "[u8; 20]"],
262
- ["Tron", "[u8; 20]"]
506
+ [
507
+ "Eth",
508
+ "[u8; 20]"
509
+ ],
510
+ [
511
+ "Tron",
512
+ "[u8; 20]"
513
+ ]
263
514
  ]
264
515
  },
265
516
  "AddressT": "[u8; 20]",
266
517
  "MerkleMountainRangeRootLog": {
267
518
  "type": "struct",
268
519
  "type_mapping": [
269
- ["prefix", "[u8; 4]"],
270
- ["mmr_root", "Hash"]
271
- ]
272
- },
273
- "Round": "u64",
274
- "TcHeaderThingWithProof": "EthereumHeaderThingWithProof",
275
- "TcHeaderThing": "EthereumHeaderThing",
276
- "TcBlockNumber": "u64",
277
- "TcHeaderHash": "H256",
278
- "GameId": "TcBlockNumber",
279
- "RelayProposalT": {
280
- "type": "struct",
281
- "type_mapping": [
282
- ["relayer", "AccountId"],
283
- ["bonded_proposal", "Vec<(Balance, TcHeaderThing)>"],
284
- ["extend_from_header_hash", "Option<TcHeaderHash>"]
520
+ [
521
+ "prefix",
522
+ "[u8; 4]"
523
+ ],
524
+ [
525
+ "mmr_root",
526
+ "Hash"
527
+ ]
285
528
  ]
286
529
  },
287
530
  "BalancesRuntimeDispatchInfo": {
288
531
  "type": "struct",
289
532
  "type_mapping": [
290
- ["usable_balance", "Balance"]
533
+ [
534
+ "usable_balance",
535
+ "Balance"
536
+ ]
291
537
  ]
292
538
  },
293
539
  "StakingRuntimeDispatchInfo": {
294
540
  "type": "struct",
295
541
  "type_mapping": [
296
- ["power", "Power"]
542
+ [
543
+ "power",
544
+ "Power"
545
+ ]
297
546
  ]
298
547
  }
299
- }
548
+ },
549
+ "versioning": [
550
+ {
551
+ "runtime_range": [
552
+ 6,
553
+ 9
554
+ ],
555
+ "types": {
556
+ "ProxyType": {
557
+ "type": "enum",
558
+ "type_mapping": [
559
+ [
560
+ "Any",
561
+ "Null"
562
+ ],
563
+ [
564
+ "NonTransfer",
565
+ "Null"
566
+ ],
567
+ [
568
+ "Governance",
569
+ "Null"
570
+ ],
571
+ [
572
+ "Staking",
573
+ "Null"
574
+ ],
575
+ [
576
+ "IdentityJudgement",
577
+ "Null"
578
+ ],
579
+ [
580
+ "EthereumBridge",
581
+ "Null"
582
+ ]
583
+ ]
584
+ },
585
+ "RelayProofs": "EthereumRelayProofs"
586
+ }
587
+ },
588
+ {
589
+ "runtime_range": [
590
+ 5,
591
+ 9
592
+ ],
593
+ "types": {
594
+ "RelayVotingState": {
595
+ "type": "struct",
596
+ "type_mapping": [
597
+ [
598
+ "ayes",
599
+ "Vec<AccountId>"
600
+ ],
601
+ [
602
+ "nays",
603
+ "Vec<AccountId>"
604
+ ]
605
+ ]
606
+ },
607
+ "RelayHeaderId": "EthereumBlockNumber",
608
+ "RelayHeaderParcel": "EthereumRelayHeaderParcel",
609
+ "RelayAffirmationId": {
610
+ "type": "struct",
611
+ "type_mapping": [
612
+ [
613
+ "game_id",
614
+ "EthereumBlockNumber"
615
+ ],
616
+ [
617
+ "round",
618
+ "u32"
619
+ ],
620
+ [
621
+ "index",
622
+ "u32"
623
+ ]
624
+ ]
625
+ },
626
+ "RelayAffirmationT": {
627
+ "type": "struct",
628
+ "type_mapping": [
629
+ [
630
+ "relayer",
631
+ "AccountId"
632
+ ],
633
+ [
634
+ "relay_header_parcels",
635
+ "EthereumRelayHeaderParcel"
636
+ ],
637
+ [
638
+ "bond",
639
+ "Balance"
640
+ ],
641
+ [
642
+ "maybe_extended_relay_affirmation_id",
643
+ "Option<RelayAffirmationId>"
644
+ ],
645
+ [
646
+ "verified",
647
+ "bool"
648
+ ]
649
+ ]
650
+ }
651
+ }
652
+ },
653
+ {
654
+ "runtime_range": [
655
+ 5,
656
+ 5
657
+ ],
658
+ "types": {
659
+ "ProxyType": {
660
+ "type": "enum",
661
+ "type_mapping": [
662
+ [
663
+ "Any",
664
+ "Null"
665
+ ],
666
+ [
667
+ "NonTransfer",
668
+ "Null"
669
+ ],
670
+ [
671
+ "Staking",
672
+ "Null"
673
+ ],
674
+ [
675
+ "IdentityJudgement",
676
+ "Null"
677
+ ],
678
+ [
679
+ "EthereumBridge",
680
+ "Null"
681
+ ],
682
+ [
683
+ "Governance",
684
+ "Null"
685
+ ]
686
+ ]
687
+ },
688
+ "RelayProofs": "EthereumRelayProof"
689
+ }
690
+ },
691
+ {
692
+ "runtime_range": [
693
+ 1,
694
+ 3
695
+ ],
696
+ "types": {
697
+ "EthereumHeaderBrief": {
698
+ "type": "struct",
699
+ "type_mapping": [
700
+ [
701
+ "total_difficulty",
702
+ "U256"
703
+ ],
704
+ [
705
+ "parent_hash",
706
+ "H256"
707
+ ],
708
+ [
709
+ "number",
710
+ "EthereumBlockNumber"
711
+ ],
712
+ [
713
+ "relayer",
714
+ "AccountId"
715
+ ]
716
+ ]
717
+ },
718
+ "EthereumHeaderThingWithProof": {
719
+ "type": "struct",
720
+ "type_mapping": [
721
+ [
722
+ "header",
723
+ "EthereumHeader"
724
+ ],
725
+ [
726
+ "ethash_proof",
727
+ "Vec<EthashProof>"
728
+ ],
729
+ [
730
+ "mmr_root",
731
+ "H256"
732
+ ],
733
+ [
734
+ "mmr_proof",
735
+ "Vec<H256>"
736
+ ]
737
+ ]
738
+ },
739
+ "EthereumHeaderThing": {
740
+ "type": "struct",
741
+ "type_mapping": [
742
+ [
743
+ "header",
744
+ "EthereumHeader"
745
+ ],
746
+ [
747
+ "mmr_root",
748
+ "H256"
749
+ ]
750
+ ]
751
+ },
752
+ "Round": "u64",
753
+ "TcHeaderThingWithProof": "EthereumHeaderThingWithProof",
754
+ "TcHeaderThing": "EthereumHeaderThing",
755
+ "TcBlockNumber": "u64",
756
+ "TcHeaderHash": "H256",
757
+ "GameId": "TcBlockNumber",
758
+ "RelayProposalT": {
759
+ "type": "struct",
760
+ "type_mapping": [
761
+ [
762
+ "relayer",
763
+ "AccountId"
764
+ ],
765
+ [
766
+ "bonded_proposal",
767
+ "Vec<(Balance, TcHeaderThing)>"
768
+ ],
769
+ [
770
+ "extend_from_header_hash",
771
+ "Option<TcHeaderHash>"
772
+ ]
773
+ ]
774
+ }
775
+ }
776
+ },
777
+ {
778
+ "runtime_range": [
779
+ 4,
780
+ 9
781
+ ],
782
+ "types": {
783
+ "EthereumRelayHeaderParcel": {
784
+ "type": "struct",
785
+ "type_mapping": [
786
+ [
787
+ "header",
788
+ "EthereumHeader"
789
+ ],
790
+ [
791
+ "mmr_root",
792
+ "H256"
793
+ ]
794
+ ]
795
+ },
796
+ "EthereumRelayProofs": {
797
+ "type": "struct",
798
+ "type_mapping": [
799
+ [
800
+ "ethash_proof",
801
+ "Vec<EthashProof>"
802
+ ],
803
+ [
804
+ "mmr_proof",
805
+ "Vec<H256>"
806
+ ]
807
+ ]
808
+ }
809
+ }
810
+ },
811
+ {
812
+ "runtime_range": [
813
+ 4,
814
+ 4
815
+ ],
816
+ "types": {
817
+ "RelayHeaderId": "Vec<u8>",
818
+ "RelayHeaderParcel": "Vec<u8>",
819
+ "RelayAffirmationId": {
820
+ "type": "struct",
821
+ "type_mapping": [
822
+ [
823
+ "relay_header_id",
824
+ "Vec<u8>"
825
+ ],
826
+ [
827
+ "round",
828
+ "u32"
829
+ ],
830
+ [
831
+ "index",
832
+ "u32"
833
+ ]
834
+ ]
835
+ },
836
+ "RelayAffirmationT": {
837
+ "type": "struct",
838
+ "type_mapping": [
839
+ [
840
+ "relayer",
841
+ "AccountId"
842
+ ],
843
+ [
844
+ "relay_header_parcels",
845
+ "Vec<u8>"
846
+ ],
847
+ [
848
+ "bond",
849
+ "Balance"
850
+ ],
851
+ [
852
+ "maybe_extended_relay_affirmation_id",
853
+ "Option<Vec<u8>>"
854
+ ],
855
+ [
856
+ "verified",
857
+ "bool"
858
+ ]
859
+ ]
860
+ },
861
+ "RelayProofs": "Vec<u8>"
862
+ }
863
+ }
864
+ ]
300
865
  }