side-proto 2.0.0-alpha.19

Rust Client for Side Chain
Documentation
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
// @generated
/// Params defines the parameters for the module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Params {
    #[prost(message, repeated, tag = "1")]
    pub allowed_dkg_participants: ::prost::alloc::vec::Vec<DkgParticipant>,
    #[prost(message, optional, tag = "2")]
    pub dkg_timeout_duration:
        ::core::option::Option<::tendermint_proto::google::protobuf::Duration>,
}
impl ::prost::Name for Params {
    const NAME: &'static str = "Params";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// DKG Participant
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DkgParticipant {
    /// the optional moniker
    #[prost(string, tag = "1")]
    pub moniker: ::prost::alloc::string::String,
    /// participant consensus pub key
    #[prost(string, tag = "2")]
    pub consensus_pubkey: ::prost::alloc::string::String,
}
impl ::prost::Name for DkgParticipant {
    const NAME: &'static str = "DKGParticipant";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// DKG Request
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DkgRequest {
    /// request id
    #[prost(uint64, tag = "1")]
    pub id: u64,
    /// initiator module
    #[prost(string, tag = "2")]
    pub module: ::prost::alloc::string::String,
    /// dkg type
    #[prost(string, tag = "3")]
    pub r#type: ::prost::alloc::string::String,
    /// dkg intent
    #[prost(int32, tag = "4")]
    pub intent: i32,
    /// participant set
    #[prost(string, repeated, tag = "5")]
    pub participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// threshold required to perform DKG
    #[prost(uint32, tag = "6")]
    pub threshold: u32,
    /// batch size of keys to be generated
    #[prost(uint32, tag = "7")]
    pub batch_size: u32,
    /// expiration time
    #[prost(message, optional, tag = "8")]
    pub expiration_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
    /// status
    #[prost(enumeration = "DkgStatus", tag = "9")]
    pub status: i32,
}
impl ::prost::Name for DkgRequest {
    const NAME: &'static str = "DKGRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// DKG Completion
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DkgCompletion {
    /// request id
    #[prost(uint64, tag = "1")]
    pub id: u64,
    /// sender
    #[prost(string, tag = "2")]
    pub sender: ::prost::alloc::string::String,
    /// public keys generated by DKG
    #[prost(string, repeated, tag = "3")]
    pub pub_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// participant consensus pub key
    #[prost(string, tag = "4")]
    pub consensus_pubkey: ::prost::alloc::string::String,
    /// hex encoded participant signature
    #[prost(string, tag = "5")]
    pub signature: ::prost::alloc::string::String,
}
impl ::prost::Name for DkgCompletion {
    const NAME: &'static str = "DKGCompletion";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// Signing Options
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigningOptions {
    /// optional tweak
    #[prost(string, tag = "1")]
    pub tweak: ::prost::alloc::string::String,
    /// optional public nonce, i.e. commitment
    #[prost(string, tag = "2")]
    pub nonce: ::prost::alloc::string::String,
    /// optional adaptor point
    #[prost(string, tag = "3")]
    pub adaptor_point: ::prost::alloc::string::String,
}
impl ::prost::Name for SigningOptions {
    const NAME: &'static str = "SigningOptions";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// Signing Request
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigningRequest {
    /// request id
    #[prost(uint64, tag = "1")]
    pub id: u64,
    /// initiator module
    #[prost(string, tag = "2")]
    pub module: ::prost::alloc::string::String,
    /// module specific id
    #[prost(string, tag = "3")]
    pub scoped_id: ::prost::alloc::string::String,
    /// signing type
    #[prost(enumeration = "SigningType", tag = "4")]
    pub r#type: i32,
    /// signing intent
    #[prost(int32, tag = "5")]
    pub intent: i32,
    /// signing pub key
    #[prost(string, tag = "6")]
    pub pub_key: ::prost::alloc::string::String,
    /// hashes to be signed
    #[prost(string, repeated, tag = "7")]
    pub sig_hashes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// signing options
    #[prost(message, optional, tag = "8")]
    pub options: ::core::option::Option<SigningOptions>,
    /// creation time
    #[prost(message, optional, tag = "9")]
    pub creation_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
    /// status
    #[prost(enumeration = "SigningStatus", tag = "10")]
    pub status: i32,
}
impl ::prost::Name for SigningRequest {
    const NAME: &'static str = "SigningRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// Refreshing Request
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RefreshingRequest {
    /// request id
    #[prost(uint64, tag = "1")]
    pub id: u64,
    /// request id of the DKG corresponding to the key shares to be refreshed
    #[prost(uint64, tag = "2")]
    pub dkg_id: u64,
    /// removed participant set
    #[prost(string, repeated, tag = "3")]
    pub removed_participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// new threshold
    #[prost(uint32, tag = "4")]
    pub threshold: u32,
    /// expiration time
    #[prost(message, optional, tag = "5")]
    pub expiration_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
    /// status
    #[prost(enumeration = "RefreshingStatus", tag = "6")]
    pub status: i32,
}
impl ::prost::Name for RefreshingRequest {
    const NAME: &'static str = "RefreshingRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// Refreshing Completion
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RefreshingCompletion {
    /// request id
    #[prost(uint64, tag = "1")]
    pub id: u64,
    /// sender
    #[prost(string, tag = "2")]
    pub sender: ::prost::alloc::string::String,
    /// participant consensus pub key
    #[prost(string, tag = "3")]
    pub consensus_pubkey: ::prost::alloc::string::String,
    /// hex encoded participant signature
    #[prost(string, tag = "4")]
    pub signature: ::prost::alloc::string::String,
}
impl ::prost::Name for RefreshingCompletion {
    const NAME: &'static str = "RefreshingCompletion";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// DKG Status
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DkgStatus {
    /// DKG_STATUS_UNSPECIFIED defines the unknown DKG request status
    Unspecified = 0,
    /// DKG_STATUS_PENDING defines the status of the DKG request which is pending
    Pending = 1,
    /// DKG_STATUS_COMPLETED defines the status of the DKG request which is completed
    Completed = 2,
    /// DKG_STATUS_FAILED defines the status of the DKG request which failed
    Failed = 3,
    /// DKG_STATUS_TIMEDOUT defines the status of the DKG request which timed out
    Timedout = 4,
}
impl DkgStatus {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            DkgStatus::Unspecified => "DKG_STATUS_UNSPECIFIED",
            DkgStatus::Pending => "DKG_STATUS_PENDING",
            DkgStatus::Completed => "DKG_STATUS_COMPLETED",
            DkgStatus::Failed => "DKG_STATUS_FAILED",
            DkgStatus::Timedout => "DKG_STATUS_TIMEDOUT",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "DKG_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
            "DKG_STATUS_PENDING" => Some(Self::Pending),
            "DKG_STATUS_COMPLETED" => Some(Self::Completed),
            "DKG_STATUS_FAILED" => Some(Self::Failed),
            "DKG_STATUS_TIMEDOUT" => Some(Self::Timedout),
            _ => None,
        }
    }
}
/// Signing Status
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SigningStatus {
    /// SIGNING_STATUS_UNSPECIFIED defines the unknown signing status
    Unspecified = 0,
    /// SIGNING_STATUS_PENDING defines the status of the signing request which is pending
    Pending = 1,
    /// SIGNING_STATUS_SIGNED defines the status of the signing request which is signed
    Signed = 2,
    /// SIGNING_STATUS_FAILED defines the status of the signing request which failed due to unexpected reasons
    Failed = 3,
}
impl SigningStatus {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            SigningStatus::Unspecified => "SIGNING_STATUS_UNSPECIFIED",
            SigningStatus::Pending => "SIGNING_STATUS_PENDING",
            SigningStatus::Signed => "SIGNING_STATUS_SIGNED",
            SigningStatus::Failed => "SIGNING_STATUS_FAILED",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "SIGNING_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
            "SIGNING_STATUS_PENDING" => Some(Self::Pending),
            "SIGNING_STATUS_SIGNED" => Some(Self::Signed),
            "SIGNING_STATUS_FAILED" => Some(Self::Failed),
            _ => None,
        }
    }
}
/// Signing Type
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SigningType {
    /// SIGNING_TYPE_SCHNORR defines the common schnorr signing
    Schnorr = 0,
    /// SIGNING_TYPE_SCHNORR_WITH_TWEAK defines the schnorr signing with tweak
    SchnorrWithTweak = 1,
    /// SIGNING_TYPE_SCHNORR_WITH_COMMITMENT defines the schnorr signing with commitment
    SchnorrWithCommitment = 2,
    /// SIGNING_TYPE_SCHNORR_ADAPTOR defines the schnorr adaptor signing
    SchnorrAdaptor = 3,
}
impl SigningType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            SigningType::Schnorr => "SIGNING_TYPE_SCHNORR",
            SigningType::SchnorrWithTweak => "SIGNING_TYPE_SCHNORR_WITH_TWEAK",
            SigningType::SchnorrWithCommitment => "SIGNING_TYPE_SCHNORR_WITH_COMMITMENT",
            SigningType::SchnorrAdaptor => "SIGNING_TYPE_SCHNORR_ADAPTOR",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "SIGNING_TYPE_SCHNORR" => Some(Self::Schnorr),
            "SIGNING_TYPE_SCHNORR_WITH_TWEAK" => Some(Self::SchnorrWithTweak),
            "SIGNING_TYPE_SCHNORR_WITH_COMMITMENT" => Some(Self::SchnorrWithCommitment),
            "SIGNING_TYPE_SCHNORR_ADAPTOR" => Some(Self::SchnorrAdaptor),
            _ => None,
        }
    }
}
/// Refreshing Status
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum RefreshingStatus {
    /// REFRESHING_STATUS_UNSPECIFIED defines the unknown refreshing status
    Unspecified = 0,
    /// REFRESHING_STATUS_PENDING defines the status of the refreshing request which is pending
    Pending = 1,
    /// REFRESHING_STATUS_COMPLETED defines the status of the refreshing request which is completed
    Completed = 2,
    /// REFRESHING_STATUS_TIMEDOUT defines the status of the refreshing request which timed out
    Timedout = 3,
}
impl RefreshingStatus {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            RefreshingStatus::Unspecified => "REFRESHING_STATUS_UNSPECIFIED",
            RefreshingStatus::Pending => "REFRESHING_STATUS_PENDING",
            RefreshingStatus::Completed => "REFRESHING_STATUS_COMPLETED",
            RefreshingStatus::Timedout => "REFRESHING_STATUS_TIMEDOUT",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "REFRESHING_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
            "REFRESHING_STATUS_PENDING" => Some(Self::Pending),
            "REFRESHING_STATUS_COMPLETED" => Some(Self::Completed),
            "REFRESHING_STATUS_TIMEDOUT" => Some(Self::Timedout),
            _ => None,
        }
    }
}
/// GenesisState defines the module's genesis state.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenesisState {
    #[prost(message, optional, tag = "1")]
    pub params: ::core::option::Option<Params>,
    #[prost(message, repeated, tag = "2")]
    pub dkg_requests: ::prost::alloc::vec::Vec<DkgRequest>,
    #[prost(message, repeated, tag = "3")]
    pub signing_requests: ::prost::alloc::vec::Vec<SigningRequest>,
}
impl ::prost::Name for GenesisState {
    const NAME: &'static str = "GenesisState";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgRequestRequest {
    #[prost(uint64, tag = "1")]
    pub id: u64,
}
impl ::prost::Name for QueryDkgRequestRequest {
    const NAME: &'static str = "QueryDKGRequestRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgRequestResponse {
    #[prost(message, optional, tag = "1")]
    pub request: ::core::option::Option<DkgRequest>,
}
impl ::prost::Name for QueryDkgRequestResponse {
    const NAME: &'static str = "QueryDKGRequestResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgRequestsRequest {
    #[prost(string, tag = "1")]
    pub module: ::prost::alloc::string::String,
    #[prost(enumeration = "DkgStatus", tag = "2")]
    pub status: i32,
    #[prost(message, optional, tag = "3")]
    pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryDkgRequestsRequest {
    const NAME: &'static str = "QueryDKGRequestsRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgRequestsResponse {
    #[prost(message, repeated, tag = "1")]
    pub requests: ::prost::alloc::vec::Vec<DkgRequest>,
    #[prost(message, optional, tag = "2")]
    pub pagination:
        ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryDkgRequestsResponse {
    const NAME: &'static str = "QueryDKGRequestsResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgCompletionsRequest {
    #[prost(uint64, tag = "1")]
    pub id: u64,
    #[prost(message, optional, tag = "2")]
    pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryDkgCompletionsRequest {
    const NAME: &'static str = "QueryDKGCompletionsRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgCompletionsResponse {
    #[prost(message, repeated, tag = "1")]
    pub completions: ::prost::alloc::vec::Vec<DkgCompletion>,
    #[prost(message, optional, tag = "2")]
    pub pagination:
        ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryDkgCompletionsResponse {
    const NAME: &'static str = "QueryDKGCompletionsResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySigningRequestRequest {
    #[prost(uint64, tag = "1")]
    pub id: u64,
}
impl ::prost::Name for QuerySigningRequestRequest {
    const NAME: &'static str = "QuerySigningRequestRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySigningRequestResponse {
    #[prost(message, optional, tag = "1")]
    pub request: ::core::option::Option<SigningRequest>,
}
impl ::prost::Name for QuerySigningRequestResponse {
    const NAME: &'static str = "QuerySigningRequestResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySigningRequestsRequest {
    #[prost(string, tag = "1")]
    pub module: ::prost::alloc::string::String,
    #[prost(enumeration = "SigningStatus", tag = "2")]
    pub status: i32,
    #[prost(message, optional, tag = "3")]
    pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QuerySigningRequestsRequest {
    const NAME: &'static str = "QuerySigningRequestsRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySigningRequestsResponse {
    #[prost(message, repeated, tag = "1")]
    pub requests: ::prost::alloc::vec::Vec<SigningRequest>,
    #[prost(message, optional, tag = "2")]
    pub pagination:
        ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QuerySigningRequestsResponse {
    const NAME: &'static str = "QuerySigningRequestsResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRefreshingRequestRequest {
    #[prost(uint64, tag = "1")]
    pub id: u64,
}
impl ::prost::Name for QueryRefreshingRequestRequest {
    const NAME: &'static str = "QueryRefreshingRequestRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRefreshingRequestResponse {
    #[prost(message, optional, tag = "1")]
    pub request: ::core::option::Option<RefreshingRequest>,
}
impl ::prost::Name for QueryRefreshingRequestResponse {
    const NAME: &'static str = "QueryRefreshingRequestResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRefreshingRequestsRequest {
    #[prost(enumeration = "RefreshingStatus", tag = "1")]
    pub status: i32,
    #[prost(message, optional, tag = "2")]
    pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryRefreshingRequestsRequest {
    const NAME: &'static str = "QueryRefreshingRequestsRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRefreshingRequestsResponse {
    #[prost(message, repeated, tag = "1")]
    pub requests: ::prost::alloc::vec::Vec<RefreshingRequest>,
    #[prost(message, optional, tag = "2")]
    pub pagination:
        ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryRefreshingRequestsResponse {
    const NAME: &'static str = "QueryRefreshingRequestsResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRefreshingCompletionsRequest {
    #[prost(uint64, tag = "1")]
    pub id: u64,
    #[prost(message, optional, tag = "2")]
    pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryRefreshingCompletionsRequest {
    const NAME: &'static str = "QueryRefreshingCompletionsRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryRefreshingCompletionsResponse {
    #[prost(message, repeated, tag = "1")]
    pub completions: ::prost::alloc::vec::Vec<RefreshingCompletion>,
    #[prost(message, optional, tag = "2")]
    pub pagination:
        ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryRefreshingCompletionsResponse {
    const NAME: &'static str = "QueryRefreshingCompletionsResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// QueryParamsRequest is request type for the Query/Params RPC method.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamsRequest {}
impl ::prost::Name for QueryParamsRequest {
    const NAME: &'static str = "QueryParamsRequest";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// QueryParamsResponse is response type for the Query/Params RPC method.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamsResponse {
    #[prost(message, optional, tag = "1")]
    pub params: ::core::option::Option<Params>,
}
impl ::prost::Name for QueryParamsResponse {
    const NAME: &'static str = "QueryParamsResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// MsgCompleteDKG is the Msg/CompleteDKG request type.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgCompleteDkg {
    /// sender
    #[prost(string, tag = "1")]
    pub sender: ::prost::alloc::string::String,
    /// DKG request id
    #[prost(uint64, tag = "2")]
    pub id: u64,
    /// public keys generated by DKG
    #[prost(string, repeated, tag = "3")]
    pub pub_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// participant consensus pub key
    #[prost(string, tag = "4")]
    pub consensus_pubkey: ::prost::alloc::string::String,
    /// hex encoded participant signature
    #[prost(string, tag = "5")]
    pub signature: ::prost::alloc::string::String,
}
impl ::prost::Name for MsgCompleteDkg {
    const NAME: &'static str = "MsgCompleteDKG";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// MsgCompleteDKGResponse defines the Msg/CompleteDKG response type.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgCompleteDkgResponse {}
impl ::prost::Name for MsgCompleteDkgResponse {
    const NAME: &'static str = "MsgCompleteDKGResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// MsgSubmitSignatures defines the Msg/SubmitSignatures request type.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitSignatures {
    #[prost(string, tag = "1")]
    pub sender: ::prost::alloc::string::String,
    #[prost(uint64, tag = "2")]
    pub id: u64,
    #[prost(string, repeated, tag = "3")]
    pub signatures: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for MsgSubmitSignatures {
    const NAME: &'static str = "MsgSubmitSignatures";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// MsgSubmitSignaturesResponse defines the Msg/SubmitSignatures response type.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitSignaturesResponse {}
impl ::prost::Name for MsgSubmitSignaturesResponse {
    const NAME: &'static str = "MsgSubmitSignaturesResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// MsgRefresh defines the Msg/Refresh request type.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgRefresh {
    /// authority is the address that controls the module (defaults to x/gov unless overwritten).
    #[prost(string, tag = "1")]
    pub authority: ::prost::alloc::string::String,
    /// list of DKGs corresponding to key shares to be refreshed
    #[prost(uint64, repeated, tag = "2")]
    pub dkg_ids: ::prost::alloc::vec::Vec<u64>,
    /// removed participant set
    #[prost(string, repeated, tag = "3")]
    pub removed_participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// new threshold set corresponding to the DKGs
    #[prost(uint32, repeated, tag = "4")]
    pub thresholds: ::prost::alloc::vec::Vec<u32>,
    /// timeout duration per DKG refreshing
    #[prost(message, optional, tag = "5")]
    pub timeout_duration: ::core::option::Option<::tendermint_proto::google::protobuf::Duration>,
}
impl ::prost::Name for MsgRefresh {
    const NAME: &'static str = "MsgRefresh";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// MsgRefreshResponse defines the Msg/Refresh response type.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgRefreshResponse {}
impl ::prost::Name for MsgRefreshResponse {
    const NAME: &'static str = "MsgRefreshResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// MsgCompleteRefreshing defines the Msg/CompleteRefreshing request type.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgCompleteRefreshing {
    /// sender
    #[prost(string, tag = "1")]
    pub sender: ::prost::alloc::string::String,
    /// request id
    #[prost(uint64, tag = "2")]
    pub id: u64,
    /// participant consensus pub key
    #[prost(string, tag = "3")]
    pub consensus_pubkey: ::prost::alloc::string::String,
    /// hex encoded participant signature
    #[prost(string, tag = "4")]
    pub signature: ::prost::alloc::string::String,
}
impl ::prost::Name for MsgCompleteRefreshing {
    const NAME: &'static str = "MsgCompleteRefreshing";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// MsgCompleteRefreshingResponse defines the Msg/CompleteRefreshing response type.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgCompleteRefreshingResponse {}
impl ::prost::Name for MsgCompleteRefreshingResponse {
    const NAME: &'static str = "MsgCompleteRefreshingResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// MsgUpdateParams is the Msg/UpdateParams request type.
///
/// Since: cosmos-sdk 0.47
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateParams {
    /// authority is the address that controls the module (defaults to x/gov unless overwritten).
    #[prost(string, tag = "1")]
    pub authority: ::prost::alloc::string::String,
    /// params defines the x/tss parameters to be updated.
    ///
    /// NOTE: All parameters must be supplied.
    #[prost(message, optional, tag = "2")]
    pub params: ::core::option::Option<Params>,
}
impl ::prost::Name for MsgUpdateParams {
    const NAME: &'static str = "MsgUpdateParams";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
/// MsgUpdateParamsResponse defines the Msg/UpdateParams response type.
///
/// Since: cosmos-sdk 0.47
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateParamsResponse {}
impl ::prost::Name for MsgUpdateParamsResponse {
    const NAME: &'static str = "MsgUpdateParamsResponse";
    const PACKAGE: &'static str = "side.tss";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!("side.tss.{}", Self::NAME)
    }
}
include!("side.tss.serde.rs");
include!("side.tss.tonic.rs");
// @@protoc_insertion_point(module)