Newer
Older
Serban Iorga
committed
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
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2019-2023 Parity Technologies (UK) Ltd.
// This file is part of Parity Bridges Common.
// Parity Bridges Common is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Parity Bridges Common is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Parity Bridges Common. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated runtime API
//! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen
//! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url wss://kusama-rpc.polkadot.io:443
#[allow(dead_code, unused_imports, non_camel_case_types)]
#[allow(clippy::all)]
pub mod api {
use super::api as root_mod;
pub mod runtime_types {
use super::runtime_types;
pub mod bounded_collections {
use super::runtime_types;
pub mod bounded_btree_map {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct BoundedBTreeMap<_0, _1>(pub ::subxt::utils::KeyedVec<_0, _1>);
}
pub mod bounded_vec {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct BoundedVec<_0>(pub ::std::vec::Vec<_0>);
}
pub mod weak_bounded_vec {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct WeakBoundedVec<_0>(pub ::std::vec::Vec<_0>);
}
}
pub mod finality_grandpa {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Equivocation<_0, _1, _2> {
pub round_number: ::core::primitive::u64,
pub identity: _0,
pub first: (_1, _2),
pub second: (_1, _2),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Precommit<_0, _1> {
pub target_hash: _0,
pub target_number: _1,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Prevote<_0, _1> {
pub target_hash: _0,
pub target_number: _1,
}
}
pub mod frame_support {
use super::runtime_types;
pub mod dispatch {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum DispatchClass {
#[codec(index = 0)]
Normal,
#[codec(index = 1)]
Operational,
#[codec(index = 2)]
Mandatory,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct DispatchInfo {
pub weight: ::sp_weights::Weight,
pub class: runtime_types::frame_support::dispatch::DispatchClass,
pub pays_fee: runtime_types::frame_support::dispatch::Pays,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Pays {
#[codec(index = 0)]
Yes,
#[codec(index = 1)]
No,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct PerDispatchClass<_0> {
pub normal: _0,
pub operational: _0,
pub mandatory: _0,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct PostDispatchInfo {
pub actual_weight: ::core::option::Option<::sp_weights::Weight>,
pub pays_fee: runtime_types::frame_support::dispatch::Pays,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum RawOrigin<_0> {
#[codec(index = 0)]
Root,
#[codec(index = 1)]
Signed(_0),
#[codec(index = 2)]
None,
}
}
pub mod traits {
use super::runtime_types;
pub mod messages {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum ProcessMessageError {
#[codec(index = 0)]
BadFormat,
#[codec(index = 1)]
Corrupt,
#[codec(index = 2)]
Unsupported,
#[codec(index = 3)]
Overweight(::sp_weights::Weight),
#[codec(index = 4)]
Yield,
}
}
pub mod misc {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct WrapperOpaque<_0>(
#[codec(compact)] pub ::core::primitive::u32,
pub _0,
);
}
pub mod preimages {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Bounded<_0> {
#[codec(index = 0)]
Legacy {
hash: ::subxt::utils::H256,
},
#[codec(index = 1)]
Inline(
runtime_types::bounded_collections::bounded_vec::BoundedVec<
::core::primitive::u8,
>,
),
#[codec(index = 2)]
Lookup {
hash: ::subxt::utils::H256,
len: ::core::primitive::u32,
},
__Ignore(::core::marker::PhantomData<_0>),
}
}
pub mod schedule {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum DispatchTime<_0> {
#[codec(index = 0)]
At(_0),
#[codec(index = 1)]
After(_0),
}
}
pub mod tokens {
use super::runtime_types;
pub mod misc {
use super::runtime_types;
#[derive(
:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq,
)]
pub enum BalanceStatus {
#[codec(index = 0)]
Free,
#[codec(index = 1)]
Reserved,
}
}
}
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct PalletId(pub [::core::primitive::u8; 8usize]);
}
pub mod frame_system {
use super::runtime_types;
pub mod extensions {
use super::runtime_types;
pub mod check_genesis {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct CheckGenesis;
}
pub mod check_mortality {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct CheckMortality(pub ::sp_runtime::generic::Era);
}
pub mod check_non_zero_sender {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct CheckNonZeroSender;
}
pub mod check_nonce {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32);
}
pub mod check_spec_version {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct CheckSpecVersion;
}
pub mod check_tx_version {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct CheckTxVersion;
}
pub mod check_weight {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct CheckWeight;
}
}
pub mod limits {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct BlockLength {
pub max: runtime_types::frame_support::dispatch::PerDispatchClass<
::core::primitive::u32,
>,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct BlockWeights {
pub base_block: ::sp_weights::Weight,
pub max_block: ::sp_weights::Weight,
pub per_class: runtime_types::frame_support::dispatch::PerDispatchClass<
runtime_types::frame_system::limits::WeightsPerClass,
>,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct WeightsPerClass {
pub base_extrinsic: ::sp_weights::Weight,
pub max_extrinsic: ::core::option::Option<::sp_weights::Weight>,
pub max_total: ::core::option::Option<::sp_weights::Weight>,
pub reserved: ::core::option::Option<::sp_weights::Weight>,
}
}
pub mod pallet {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Call {
#[codec(index = 0)]
remark { remark: ::std::vec::Vec<::core::primitive::u8> },
#[codec(index = 1)]
set_heap_pages { pages: ::core::primitive::u64 },
#[codec(index = 2)]
set_code { code: ::std::vec::Vec<::core::primitive::u8> },
#[codec(index = 3)]
set_code_without_checks { code: ::std::vec::Vec<::core::primitive::u8> },
#[codec(index = 4)]
set_storage {
items: ::std::vec::Vec<(
::std::vec::Vec<::core::primitive::u8>,
::std::vec::Vec<::core::primitive::u8>,
)>,
},
#[codec(index = 5)]
kill_storage { keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>> },
#[codec(index = 6)]
kill_prefix {
prefix: ::std::vec::Vec<::core::primitive::u8>,
subkeys: ::core::primitive::u32,
},
#[codec(index = 7)]
remark_with_event { remark: ::std::vec::Vec<::core::primitive::u8> },
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
InvalidSpecName,
#[codec(index = 1)]
SpecVersionNeedsToIncrease,
#[codec(index = 2)]
FailedToExtractRuntimeVersion,
#[codec(index = 3)]
NonDefaultComposite,
#[codec(index = 4)]
NonZeroRefCount,
#[codec(index = 5)]
CallFiltered,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
ExtrinsicSuccess {
dispatch_info: runtime_types::frame_support::dispatch::DispatchInfo,
},
#[codec(index = 1)]
ExtrinsicFailed {
dispatch_error: runtime_types::sp_runtime::DispatchError,
dispatch_info: runtime_types::frame_support::dispatch::DispatchInfo,
},
#[codec(index = 2)]
CodeUpdated,
#[codec(index = 3)]
NewAccount { account: ::sp_core::crypto::AccountId32 },
#[codec(index = 4)]
KilledAccount { account: ::sp_core::crypto::AccountId32 },
#[codec(index = 5)]
Remarked { sender: ::sp_core::crypto::AccountId32, hash: ::subxt::utils::H256 },
}
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct AccountInfo<_0, _1> {
pub nonce: _0,
pub consumers: _0,
pub providers: _0,
pub sufficients: _0,
pub data: _1,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct EventRecord<_0, _1> {
pub phase: runtime_types::frame_system::Phase,
pub event: _0,
pub topics: ::std::vec::Vec<_1>,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct LastRuntimeUpgradeInfo {
#[codec(compact)]
pub spec_version: ::core::primitive::u32,
pub spec_name: ::std::string::String,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Phase {
#[codec(index = 0)]
ApplyExtrinsic(::core::primitive::u32),
#[codec(index = 1)]
Finalization,
#[codec(index = 2)]
Initialization,
}
}
pub mod kusama_runtime {
use super::runtime_types;
pub mod governance {
use super::runtime_types;
pub mod origins {
use super::runtime_types;
pub mod pallet_custom_origins {
use super::runtime_types;
#[derive(
:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq,
)]
pub enum Origin {
#[codec(index = 0)]
StakingAdmin,
#[codec(index = 1)]
Treasurer,
#[codec(index = 2)]
FellowshipAdmin,
#[codec(index = 3)]
GeneralAdmin,
#[codec(index = 4)]
AuctionAdmin,
#[codec(index = 5)]
LeaseAdmin,
#[codec(index = 6)]
ReferendumCanceller,
#[codec(index = 7)]
ReferendumKiller,
#[codec(index = 8)]
SmallTipper,
#[codec(index = 9)]
BigTipper,
#[codec(index = 10)]
SmallSpender,
#[codec(index = 11)]
MediumSpender,
#[codec(index = 12)]
BigSpender,
#[codec(index = 13)]
WhitelistedCaller,
#[codec(index = 14)]
FellowshipInitiates,
#[codec(index = 15)]
Fellows,
#[codec(index = 16)]
FellowshipExperts,
#[codec(index = 17)]
FellowshipMasters,
#[codec(index = 18)]
Fellowship1Dan,
#[codec(index = 19)]
Fellowship2Dan,
#[codec(index = 20)]
Fellowship3Dan,
#[codec(index = 21)]
Fellowship4Dan,
#[codec(index = 22)]
Fellowship5Dan,
#[codec(index = 23)]
Fellowship6Dan,
#[codec(index = 24)]
Fellowship7Dan,
#[codec(index = 25)]
Fellowship8Dan,
#[codec(index = 26)]
Fellowship9Dan,
}
}
}
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct NposCompactSolution24 {
pub votes1: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes2: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
),
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes3: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 2usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes4: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 3usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes5: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 4usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes6: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 5usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes7: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 6usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes8: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 7usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes9: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 8usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes10: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 9usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes11: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 10usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes12: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 11usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes13: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 12usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes14: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 13usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes15: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 14usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes16: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 15usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes17: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 16usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes18: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 17usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes19: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 18usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes20: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 19usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes21: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 20usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes22: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 21usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes23: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 22usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
pub votes24: ::std::vec::Vec<(
::subxt::ext::codec::Compact<::core::primitive::u32>,
[(
::subxt::ext::codec::Compact<::core::primitive::u16>,
::subxt::ext::codec::Compact<
runtime_types::sp_arithmetic::per_things::PerU16,
>,
); 23usize],
::subxt::ext::codec::Compact<::core::primitive::u16>,
)>,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum OriginCaller {
# [codec (index = 0)] system (runtime_types :: frame_support :: dispatch :: RawOrigin < :: sp_core :: crypto :: AccountId32 > ,) , # [codec (index = 43)] Origins (runtime_types :: kusama_runtime :: governance :: origins :: pallet_custom_origins :: Origin ,) , # [codec (index = 50)] ParachainsOrigin (runtime_types :: polkadot_runtime_parachains :: origin :: pallet :: Origin ,) , # [codec (index = 99)] XcmPallet (runtime_types :: pallet_xcm :: pallet :: Origin ,) , # [codec (index = 4)] Void (runtime_types :: sp_core :: Void ,) , }
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum ProxyType {
#[codec(index = 0)]
Any,
#[codec(index = 1)]
NonTransfer,
#[codec(index = 2)]
Governance,
#[codec(index = 3)]
Staking,
#[codec(index = 4)]
IdentityJudgement,
#[codec(index = 5)]
CancelProxy,
#[codec(index = 6)]
Auction,
#[codec(index = 7)]
Society,
#[codec(index = 8)]
NominationPools,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Runtime;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum RuntimeCall {
#[codec(index = 0)]
System(runtime_types::frame_system::pallet::Call),
#[codec(index = 1)]
Babe(runtime_types::pallet_babe::pallet::Call),
#[codec(index = 2)]
Timestamp(runtime_types::pallet_timestamp::pallet::Call),
#[codec(index = 3)]
Indices(runtime_types::pallet_indices::pallet::Call),
#[codec(index = 4)]
Balances(runtime_types::pallet_balances::pallet::Call),
#[codec(index = 6)]
Staking(runtime_types::pallet_staking::pallet::pallet::Call),
#[codec(index = 8)]
Session(runtime_types::pallet_session::pallet::Call),
#[codec(index = 10)]
Grandpa(runtime_types::pallet_grandpa::pallet::Call),
#[codec(index = 11)]
ImOnline(runtime_types::pallet_im_online::pallet::Call),
#[codec(index = 18)]
Treasury(runtime_types::pallet_treasury::pallet::Call),
#[codec(index = 20)]
ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Call),
#[codec(index = 21)]
Referenda(runtime_types::pallet_referenda::pallet::Call),
#[codec(index = 22)]
FellowshipCollective(runtime_types::pallet_ranked_collective::pallet::Call),
#[codec(index = 23)]
FellowshipReferenda(runtime_types::pallet_referenda::pallet::Call),
#[codec(index = 44)]
Whitelist(runtime_types::pallet_whitelist::pallet::Call),
#[codec(index = 19)]
Claims(runtime_types::polkadot_runtime_common::claims::pallet::Call),
#[codec(index = 24)]
Utility(runtime_types::pallet_utility::pallet::Call),
#[codec(index = 25)]
Identity(runtime_types::pallet_identity::pallet::Call),
#[codec(index = 26)]
Society(runtime_types::pallet_society::pallet::Call),
#[codec(index = 27)]
Recovery(runtime_types::pallet_recovery::pallet::Call),
#[codec(index = 28)]
Vesting(runtime_types::pallet_vesting::pallet::Call),
#[codec(index = 29)]
Scheduler(runtime_types::pallet_scheduler::pallet::Call),
#[codec(index = 30)]
Proxy(runtime_types::pallet_proxy::pallet::Call),
#[codec(index = 31)]
Multisig(runtime_types::pallet_multisig::pallet::Call),
#[codec(index = 32)]
Preimage(runtime_types::pallet_preimage::pallet::Call),
#[codec(index = 35)]
Bounties(runtime_types::pallet_bounties::pallet::Call),
#[codec(index = 40)]
ChildBounties(runtime_types::pallet_child_bounties::pallet::Call),
#[codec(index = 37)]
ElectionProviderMultiPhase(
runtime_types::pallet_election_provider_multi_phase::pallet::Call,
),
#[codec(index = 38)]
Nis(runtime_types::pallet_nis::pallet::Call),
#[codec(index = 45)]
NisCounterpartBalances(runtime_types::pallet_balances::pallet::Call),
#[codec(index = 39)]
VoterList(runtime_types::pallet_bags_list::pallet::Call),
#[codec(index = 41)]
NominationPools(runtime_types::pallet_nomination_pools::pallet::Call),
#[codec(index = 42)]
FastUnstake(runtime_types::pallet_fast_unstake::pallet::Call),
#[codec(index = 51)]
Configuration(
runtime_types::polkadot_runtime_parachains::configuration::pallet::Call,
),
#[codec(index = 52)]
ParasShared(runtime_types::polkadot_runtime_parachains::shared::pallet::Call),
#[codec(index = 53)]
ParaInclusion(runtime_types::polkadot_runtime_parachains::inclusion::pallet::Call),
#[codec(index = 54)]
ParaInherent(
runtime_types::polkadot_runtime_parachains::paras_inherent::pallet::Call,
),
#[codec(index = 56)]
Paras(runtime_types::polkadot_runtime_parachains::paras::pallet::Call),
#[codec(index = 57)]
Initializer(runtime_types::polkadot_runtime_parachains::initializer::pallet::Call),
#[codec(index = 60)]
Hrmp(runtime_types::polkadot_runtime_parachains::hrmp::pallet::Call),
#[codec(index = 62)]
ParasDisputes(runtime_types::polkadot_runtime_parachains::disputes::pallet::Call),
#[codec(index = 63)]
ParasSlashing(
runtime_types::polkadot_runtime_parachains::disputes::slashing::pallet::Call,
),
#[codec(index = 70)]
Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Call),
#[codec(index = 71)]
Slots(runtime_types::polkadot_runtime_common::slots::pallet::Call),
#[codec(index = 72)]
Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Call),
#[codec(index = 73)]
Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Call),
#[codec(index = 99)]
XcmPallet(runtime_types::pallet_xcm::pallet::Call),
#[codec(index = 100)]
MessageQueue(runtime_types::pallet_message_queue::pallet::Call),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum RuntimeEvent {
#[codec(index = 0)]
System(runtime_types::frame_system::pallet::Event),
#[codec(index = 3)]
Indices(runtime_types::pallet_indices::pallet::Event),
#[codec(index = 4)]
Balances(runtime_types::pallet_balances::pallet::Event),
#[codec(index = 33)]
TransactionPayment(runtime_types::pallet_transaction_payment::pallet::Event),
#[codec(index = 6)]
Staking(runtime_types::pallet_staking::pallet::pallet::Event),
#[codec(index = 7)]
Offences(runtime_types::pallet_offences::pallet::Event),
#[codec(index = 8)]
Session(runtime_types::pallet_session::pallet::Event),
#[codec(index = 10)]
Grandpa(runtime_types::pallet_grandpa::pallet::Event),
#[codec(index = 11)]
ImOnline(runtime_types::pallet_im_online::pallet::Event),
#[codec(index = 18)]
Treasury(runtime_types::pallet_treasury::pallet::Event),
#[codec(index = 20)]
ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Event),
#[codec(index = 21)]
Referenda(runtime_types::pallet_referenda::pallet::Event),
#[codec(index = 22)]
FellowshipCollective(runtime_types::pallet_ranked_collective::pallet::Event),
#[codec(index = 23)]
FellowshipReferenda(runtime_types::pallet_referenda::pallet::Event),
#[codec(index = 44)]
Whitelist(runtime_types::pallet_whitelist::pallet::Event),
#[codec(index = 19)]
Claims(runtime_types::polkadot_runtime_common::claims::pallet::Event),
#[codec(index = 24)]
Utility(runtime_types::pallet_utility::pallet::Event),
#[codec(index = 25)]
Identity(runtime_types::pallet_identity::pallet::Event),
#[codec(index = 26)]
Society(runtime_types::pallet_society::pallet::Event),
#[codec(index = 27)]
Recovery(runtime_types::pallet_recovery::pallet::Event),
#[codec(index = 28)]
Vesting(runtime_types::pallet_vesting::pallet::Event),
#[codec(index = 29)]
Scheduler(runtime_types::pallet_scheduler::pallet::Event),
#[codec(index = 30)]
Proxy(runtime_types::pallet_proxy::pallet::Event),
#[codec(index = 31)]
Multisig(runtime_types::pallet_multisig::pallet::Event),
#[codec(index = 32)]
Preimage(runtime_types::pallet_preimage::pallet::Event),
#[codec(index = 35)]
Bounties(runtime_types::pallet_bounties::pallet::Event),
#[codec(index = 40)]
ChildBounties(runtime_types::pallet_child_bounties::pallet::Event),
#[codec(index = 37)]
ElectionProviderMultiPhase(
runtime_types::pallet_election_provider_multi_phase::pallet::Event,
),
#[codec(index = 38)]
Nis(runtime_types::pallet_nis::pallet::Event),
#[codec(index = 45)]
NisCounterpartBalances(runtime_types::pallet_balances::pallet::Event),
#[codec(index = 39)]
VoterList(runtime_types::pallet_bags_list::pallet::Event),
#[codec(index = 41)]
NominationPools(runtime_types::pallet_nomination_pools::pallet::Event),
#[codec(index = 42)]
FastUnstake(runtime_types::pallet_fast_unstake::pallet::Event),
#[codec(index = 53)]
ParaInclusion(runtime_types::polkadot_runtime_parachains::inclusion::pallet::Event),
#[codec(index = 56)]
Paras(runtime_types::polkadot_runtime_parachains::paras::pallet::Event),
#[codec(index = 60)]
Hrmp(runtime_types::polkadot_runtime_parachains::hrmp::pallet::Event),
#[codec(index = 62)]
ParasDisputes(runtime_types::polkadot_runtime_parachains::disputes::pallet::Event),
#[codec(index = 70)]
Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Event),
#[codec(index = 71)]
Slots(runtime_types::polkadot_runtime_common::slots::pallet::Event),
#[codec(index = 72)]
Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Event),
#[codec(index = 73)]
Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Event),
#[codec(index = 99)]
XcmPallet(runtime_types::pallet_xcm::pallet::Event),
#[codec(index = 100)]
MessageQueue(runtime_types::pallet_message_queue::pallet::Event),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum RuntimeHoldReason {
#[codec(index = 38)]
Nis(runtime_types::pallet_nis::pallet::HoldReason),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct SessionKeys {
pub grandpa: runtime_types::sp_consensus_grandpa::app::Public,
pub babe: runtime_types::sp_consensus_babe::app::Public,
pub im_online: runtime_types::pallet_im_online::sr25519::app_sr25519::Public,
pub para_validator: runtime_types::polkadot_primitives::v4::validator_app::Public,
pub para_assignment: runtime_types::polkadot_primitives::v4::assignment_app::Public,
pub authority_discovery: runtime_types::sp_authority_discovery::app::Public,
}
}
pub mod pallet_babe {
use super::runtime_types;
pub mod pallet {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Call {
#[codec(index = 0)]
report_equivocation {
equivocation_proof: ::std::boxed::Box<
runtime_types::sp_consensus_slots::EquivocationProof<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
runtime_types::sp_consensus_babe::app::Public,
>,
>,
key_owner_proof: ::sp_session::MembershipProof,
},
#[codec(index = 1)]
report_equivocation_unsigned {
equivocation_proof: ::std::boxed::Box<
runtime_types::sp_consensus_slots::EquivocationProof<
::sp_runtime::generic::Header<
::core::primitive::u32,
::sp_runtime::traits::BlakeTwo256,
>,
runtime_types::sp_consensus_babe::app::Public,
>,
>,
key_owner_proof: ::sp_session::MembershipProof,
},
#[codec(index = 2)]
plan_config_change {
config: runtime_types::sp_consensus_babe::digests::NextConfigDescriptor,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
InvalidEquivocationProof,
#[codec(index = 1)]
InvalidKeyOwnershipProof,
#[codec(index = 2)]
DuplicateOffenceReport,
#[codec(index = 3)]
InvalidConfiguration,
}
}
}
pub mod pallet_bags_list {
use super::runtime_types;
pub mod list {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Bag {
pub head: ::core::option::Option<::sp_core::crypto::AccountId32>,
pub tail: ::core::option::Option<::sp_core::crypto::AccountId32>,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum ListError {
#[codec(index = 0)]
Duplicate,
#[codec(index = 1)]
NotHeavier,
#[codec(index = 2)]
NotInSameBag,
#[codec(index = 3)]
NodeNotFound,
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub struct Node {
pub id: ::sp_core::crypto::AccountId32,
pub prev: ::core::option::Option<::sp_core::crypto::AccountId32>,
pub next: ::core::option::Option<::sp_core::crypto::AccountId32>,
pub bag_upper: ::core::primitive::u64,
pub score: ::core::primitive::u64,
}
}
pub mod pallet {
use super::runtime_types;
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Call {
#[codec(index = 0)]
rebag {
dislocated:
::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>,
},
#[codec(index = 1)]
put_in_front_of {
lighter: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>,
},
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Error {
#[codec(index = 0)]
List(runtime_types::pallet_bags_list::list::ListError),
}
#[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)]
pub enum Event {
#[codec(index = 0)]
Rebagged {
who: ::sp_core::crypto::AccountId32,
from: ::core::primitive::u64,
to: ::core::primitive::u64,
},
#[codec(index = 1)]