side_proto/prost/side/
side.tss.rs

1// @generated
2/// Params defines the parameters for the module.
3#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct Params {
6    #[prost(message, repeated, tag = "1")]
7    pub allowed_dkg_participants: ::prost::alloc::vec::Vec<DkgParticipant>,
8    #[prost(message, optional, tag = "2")]
9    pub dkg_timeout_duration:
10        ::core::option::Option<::tendermint_proto::google::protobuf::Duration>,
11}
12impl ::prost::Name for Params {
13    const NAME: &'static str = "Params";
14    const PACKAGE: &'static str = "side.tss";
15    fn full_name() -> ::prost::alloc::string::String {
16        ::prost::alloc::format!("side.tss.{}", Self::NAME)
17    }
18}
19/// DKG Participant
20#[allow(clippy::derive_partial_eq_without_eq)]
21#[derive(Clone, PartialEq, ::prost::Message)]
22pub struct DkgParticipant {
23    /// the optional moniker
24    #[prost(string, tag = "1")]
25    pub moniker: ::prost::alloc::string::String,
26    /// participant consensus pub key
27    #[prost(string, tag = "2")]
28    pub consensus_pubkey: ::prost::alloc::string::String,
29}
30impl ::prost::Name for DkgParticipant {
31    const NAME: &'static str = "DKGParticipant";
32    const PACKAGE: &'static str = "side.tss";
33    fn full_name() -> ::prost::alloc::string::String {
34        ::prost::alloc::format!("side.tss.{}", Self::NAME)
35    }
36}
37/// DKG Request
38#[allow(clippy::derive_partial_eq_without_eq)]
39#[derive(Clone, PartialEq, ::prost::Message)]
40pub struct DkgRequest {
41    /// request id
42    #[prost(uint64, tag = "1")]
43    pub id: u64,
44    /// initiator module
45    #[prost(string, tag = "2")]
46    pub module: ::prost::alloc::string::String,
47    /// dkg type
48    #[prost(string, tag = "3")]
49    pub r#type: ::prost::alloc::string::String,
50    /// dkg intent
51    #[prost(int32, tag = "4")]
52    pub intent: i32,
53    /// participant set
54    #[prost(string, repeated, tag = "5")]
55    pub participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
56    /// threshold required to perform DKG
57    #[prost(uint32, tag = "6")]
58    pub threshold: u32,
59    /// batch size of keys to be generated
60    #[prost(uint32, tag = "7")]
61    pub batch_size: u32,
62    /// expiration time
63    #[prost(message, optional, tag = "8")]
64    pub expiration_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
65    /// status
66    #[prost(enumeration = "DkgStatus", tag = "9")]
67    pub status: i32,
68}
69impl ::prost::Name for DkgRequest {
70    const NAME: &'static str = "DKGRequest";
71    const PACKAGE: &'static str = "side.tss";
72    fn full_name() -> ::prost::alloc::string::String {
73        ::prost::alloc::format!("side.tss.{}", Self::NAME)
74    }
75}
76/// DKG Completion
77#[allow(clippy::derive_partial_eq_without_eq)]
78#[derive(Clone, PartialEq, ::prost::Message)]
79pub struct DkgCompletion {
80    /// request id
81    #[prost(uint64, tag = "1")]
82    pub id: u64,
83    /// sender
84    #[prost(string, tag = "2")]
85    pub sender: ::prost::alloc::string::String,
86    /// public keys generated by DKG
87    #[prost(string, repeated, tag = "3")]
88    pub pub_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
89    /// participant consensus pub key
90    #[prost(string, tag = "4")]
91    pub consensus_pubkey: ::prost::alloc::string::String,
92    /// hex encoded participant signature
93    #[prost(string, tag = "5")]
94    pub signature: ::prost::alloc::string::String,
95}
96impl ::prost::Name for DkgCompletion {
97    const NAME: &'static str = "DKGCompletion";
98    const PACKAGE: &'static str = "side.tss";
99    fn full_name() -> ::prost::alloc::string::String {
100        ::prost::alloc::format!("side.tss.{}", Self::NAME)
101    }
102}
103/// Signing Options
104#[allow(clippy::derive_partial_eq_without_eq)]
105#[derive(Clone, PartialEq, ::prost::Message)]
106pub struct SigningOptions {
107    /// optional tweak
108    #[prost(string, tag = "1")]
109    pub tweak: ::prost::alloc::string::String,
110    /// optional public nonce, i.e. commitment
111    #[prost(string, tag = "2")]
112    pub nonce: ::prost::alloc::string::String,
113    /// optional adaptor point
114    #[prost(string, tag = "3")]
115    pub adaptor_point: ::prost::alloc::string::String,
116}
117impl ::prost::Name for SigningOptions {
118    const NAME: &'static str = "SigningOptions";
119    const PACKAGE: &'static str = "side.tss";
120    fn full_name() -> ::prost::alloc::string::String {
121        ::prost::alloc::format!("side.tss.{}", Self::NAME)
122    }
123}
124/// Signing Request
125#[allow(clippy::derive_partial_eq_without_eq)]
126#[derive(Clone, PartialEq, ::prost::Message)]
127pub struct SigningRequest {
128    /// request id
129    #[prost(uint64, tag = "1")]
130    pub id: u64,
131    /// initiator module
132    #[prost(string, tag = "2")]
133    pub module: ::prost::alloc::string::String,
134    /// module specific id
135    #[prost(string, tag = "3")]
136    pub scoped_id: ::prost::alloc::string::String,
137    /// signing type
138    #[prost(enumeration = "SigningType", tag = "4")]
139    pub r#type: i32,
140    /// signing intent
141    #[prost(int32, tag = "5")]
142    pub intent: i32,
143    /// signing pub key
144    #[prost(string, tag = "6")]
145    pub pub_key: ::prost::alloc::string::String,
146    /// hashes to be signed
147    #[prost(string, repeated, tag = "7")]
148    pub sig_hashes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
149    /// signing options
150    #[prost(message, optional, tag = "8")]
151    pub options: ::core::option::Option<SigningOptions>,
152    /// creation time
153    #[prost(message, optional, tag = "9")]
154    pub creation_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
155    /// status
156    #[prost(enumeration = "SigningStatus", tag = "10")]
157    pub status: i32,
158}
159impl ::prost::Name for SigningRequest {
160    const NAME: &'static str = "SigningRequest";
161    const PACKAGE: &'static str = "side.tss";
162    fn full_name() -> ::prost::alloc::string::String {
163        ::prost::alloc::format!("side.tss.{}", Self::NAME)
164    }
165}
166/// Refreshing Request
167#[allow(clippy::derive_partial_eq_without_eq)]
168#[derive(Clone, PartialEq, ::prost::Message)]
169pub struct RefreshingRequest {
170    /// request id
171    #[prost(uint64, tag = "1")]
172    pub id: u64,
173    /// request id of the DKG corresponding to the key shares to be refreshed
174    #[prost(uint64, tag = "2")]
175    pub dkg_id: u64,
176    /// removed participant set
177    #[prost(string, repeated, tag = "3")]
178    pub removed_participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
179    /// new threshold
180    #[prost(uint32, tag = "4")]
181    pub threshold: u32,
182    /// expiration time
183    #[prost(message, optional, tag = "5")]
184    pub expiration_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
185    /// status
186    #[prost(enumeration = "RefreshingStatus", tag = "6")]
187    pub status: i32,
188}
189impl ::prost::Name for RefreshingRequest {
190    const NAME: &'static str = "RefreshingRequest";
191    const PACKAGE: &'static str = "side.tss";
192    fn full_name() -> ::prost::alloc::string::String {
193        ::prost::alloc::format!("side.tss.{}", Self::NAME)
194    }
195}
196/// Refreshing Completion
197#[allow(clippy::derive_partial_eq_without_eq)]
198#[derive(Clone, PartialEq, ::prost::Message)]
199pub struct RefreshingCompletion {
200    /// request id
201    #[prost(uint64, tag = "1")]
202    pub id: u64,
203    /// sender
204    #[prost(string, tag = "2")]
205    pub sender: ::prost::alloc::string::String,
206    /// participant consensus pub key
207    #[prost(string, tag = "3")]
208    pub consensus_pubkey: ::prost::alloc::string::String,
209    /// hex encoded participant signature
210    #[prost(string, tag = "4")]
211    pub signature: ::prost::alloc::string::String,
212}
213impl ::prost::Name for RefreshingCompletion {
214    const NAME: &'static str = "RefreshingCompletion";
215    const PACKAGE: &'static str = "side.tss";
216    fn full_name() -> ::prost::alloc::string::String {
217        ::prost::alloc::format!("side.tss.{}", Self::NAME)
218    }
219}
220/// DKG Status
221#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
222#[repr(i32)]
223pub enum DkgStatus {
224    /// DKG_STATUS_UNSPECIFIED defines the unknown DKG request status
225    Unspecified = 0,
226    /// DKG_STATUS_PENDING defines the status of the DKG request which is pending
227    Pending = 1,
228    /// DKG_STATUS_COMPLETED defines the status of the DKG request which is completed
229    Completed = 2,
230    /// DKG_STATUS_FAILED defines the status of the DKG request which failed
231    Failed = 3,
232    /// DKG_STATUS_TIMEDOUT defines the status of the DKG request which timed out
233    Timedout = 4,
234}
235impl DkgStatus {
236    /// String value of the enum field names used in the ProtoBuf definition.
237    ///
238    /// The values are not transformed in any way and thus are considered stable
239    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
240    pub fn as_str_name(&self) -> &'static str {
241        match self {
242            DkgStatus::Unspecified => "DKG_STATUS_UNSPECIFIED",
243            DkgStatus::Pending => "DKG_STATUS_PENDING",
244            DkgStatus::Completed => "DKG_STATUS_COMPLETED",
245            DkgStatus::Failed => "DKG_STATUS_FAILED",
246            DkgStatus::Timedout => "DKG_STATUS_TIMEDOUT",
247        }
248    }
249    /// Creates an enum from field names used in the ProtoBuf definition.
250    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
251        match value {
252            "DKG_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
253            "DKG_STATUS_PENDING" => Some(Self::Pending),
254            "DKG_STATUS_COMPLETED" => Some(Self::Completed),
255            "DKG_STATUS_FAILED" => Some(Self::Failed),
256            "DKG_STATUS_TIMEDOUT" => Some(Self::Timedout),
257            _ => None,
258        }
259    }
260}
261/// Signing Status
262#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
263#[repr(i32)]
264pub enum SigningStatus {
265    /// SIGNING_STATUS_UNSPECIFIED defines the unknown signing status
266    Unspecified = 0,
267    /// SIGNING_STATUS_PENDING defines the status of the signing request which is pending
268    Pending = 1,
269    /// SIGNING_STATUS_SIGNED defines the status of the signing request which is signed
270    Signed = 2,
271    /// SIGNING_STATUS_FAILED defines the status of the signing request which failed due to unexpected reasons
272    Failed = 3,
273}
274impl SigningStatus {
275    /// String value of the enum field names used in the ProtoBuf definition.
276    ///
277    /// The values are not transformed in any way and thus are considered stable
278    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
279    pub fn as_str_name(&self) -> &'static str {
280        match self {
281            SigningStatus::Unspecified => "SIGNING_STATUS_UNSPECIFIED",
282            SigningStatus::Pending => "SIGNING_STATUS_PENDING",
283            SigningStatus::Signed => "SIGNING_STATUS_SIGNED",
284            SigningStatus::Failed => "SIGNING_STATUS_FAILED",
285        }
286    }
287    /// Creates an enum from field names used in the ProtoBuf definition.
288    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
289        match value {
290            "SIGNING_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
291            "SIGNING_STATUS_PENDING" => Some(Self::Pending),
292            "SIGNING_STATUS_SIGNED" => Some(Self::Signed),
293            "SIGNING_STATUS_FAILED" => Some(Self::Failed),
294            _ => None,
295        }
296    }
297}
298/// Signing Type
299#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
300#[repr(i32)]
301pub enum SigningType {
302    /// SIGNING_TYPE_SCHNORR defines the common schnorr signing
303    Schnorr = 0,
304    /// SIGNING_TYPE_SCHNORR_WITH_TWEAK defines the schnorr signing with tweak
305    SchnorrWithTweak = 1,
306    /// SIGNING_TYPE_SCHNORR_WITH_COMMITMENT defines the schnorr signing with commitment
307    SchnorrWithCommitment = 2,
308    /// SIGNING_TYPE_SCHNORR_ADAPTOR defines the schnorr adaptor signing
309    SchnorrAdaptor = 3,
310}
311impl SigningType {
312    /// String value of the enum field names used in the ProtoBuf definition.
313    ///
314    /// The values are not transformed in any way and thus are considered stable
315    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
316    pub fn as_str_name(&self) -> &'static str {
317        match self {
318            SigningType::Schnorr => "SIGNING_TYPE_SCHNORR",
319            SigningType::SchnorrWithTweak => "SIGNING_TYPE_SCHNORR_WITH_TWEAK",
320            SigningType::SchnorrWithCommitment => "SIGNING_TYPE_SCHNORR_WITH_COMMITMENT",
321            SigningType::SchnorrAdaptor => "SIGNING_TYPE_SCHNORR_ADAPTOR",
322        }
323    }
324    /// Creates an enum from field names used in the ProtoBuf definition.
325    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
326        match value {
327            "SIGNING_TYPE_SCHNORR" => Some(Self::Schnorr),
328            "SIGNING_TYPE_SCHNORR_WITH_TWEAK" => Some(Self::SchnorrWithTweak),
329            "SIGNING_TYPE_SCHNORR_WITH_COMMITMENT" => Some(Self::SchnorrWithCommitment),
330            "SIGNING_TYPE_SCHNORR_ADAPTOR" => Some(Self::SchnorrAdaptor),
331            _ => None,
332        }
333    }
334}
335/// Refreshing Status
336#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
337#[repr(i32)]
338pub enum RefreshingStatus {
339    /// REFRESHING_STATUS_UNSPECIFIED defines the unknown refreshing status
340    Unspecified = 0,
341    /// REFRESHING_STATUS_PENDING defines the status of the refreshing request which is pending
342    Pending = 1,
343    /// REFRESHING_STATUS_COMPLETED defines the status of the refreshing request which is completed
344    Completed = 2,
345    /// REFRESHING_STATUS_TIMEDOUT defines the status of the refreshing request which timed out
346    Timedout = 3,
347}
348impl RefreshingStatus {
349    /// String value of the enum field names used in the ProtoBuf definition.
350    ///
351    /// The values are not transformed in any way and thus are considered stable
352    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
353    pub fn as_str_name(&self) -> &'static str {
354        match self {
355            RefreshingStatus::Unspecified => "REFRESHING_STATUS_UNSPECIFIED",
356            RefreshingStatus::Pending => "REFRESHING_STATUS_PENDING",
357            RefreshingStatus::Completed => "REFRESHING_STATUS_COMPLETED",
358            RefreshingStatus::Timedout => "REFRESHING_STATUS_TIMEDOUT",
359        }
360    }
361    /// Creates an enum from field names used in the ProtoBuf definition.
362    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
363        match value {
364            "REFRESHING_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
365            "REFRESHING_STATUS_PENDING" => Some(Self::Pending),
366            "REFRESHING_STATUS_COMPLETED" => Some(Self::Completed),
367            "REFRESHING_STATUS_TIMEDOUT" => Some(Self::Timedout),
368            _ => None,
369        }
370    }
371}
372/// GenesisState defines the module's genesis state.
373#[allow(clippy::derive_partial_eq_without_eq)]
374#[derive(Clone, PartialEq, ::prost::Message)]
375pub struct GenesisState {
376    #[prost(message, optional, tag = "1")]
377    pub params: ::core::option::Option<Params>,
378    #[prost(message, repeated, tag = "2")]
379    pub dkg_requests: ::prost::alloc::vec::Vec<DkgRequest>,
380    #[prost(message, repeated, tag = "3")]
381    pub signing_requests: ::prost::alloc::vec::Vec<SigningRequest>,
382}
383impl ::prost::Name for GenesisState {
384    const NAME: &'static str = "GenesisState";
385    const PACKAGE: &'static str = "side.tss";
386    fn full_name() -> ::prost::alloc::string::String {
387        ::prost::alloc::format!("side.tss.{}", Self::NAME)
388    }
389}
390#[allow(clippy::derive_partial_eq_without_eq)]
391#[derive(Clone, PartialEq, ::prost::Message)]
392pub struct QueryDkgRequestRequest {
393    #[prost(uint64, tag = "1")]
394    pub id: u64,
395}
396impl ::prost::Name for QueryDkgRequestRequest {
397    const NAME: &'static str = "QueryDKGRequestRequest";
398    const PACKAGE: &'static str = "side.tss";
399    fn full_name() -> ::prost::alloc::string::String {
400        ::prost::alloc::format!("side.tss.{}", Self::NAME)
401    }
402}
403#[allow(clippy::derive_partial_eq_without_eq)]
404#[derive(Clone, PartialEq, ::prost::Message)]
405pub struct QueryDkgRequestResponse {
406    #[prost(message, optional, tag = "1")]
407    pub request: ::core::option::Option<DkgRequest>,
408}
409impl ::prost::Name for QueryDkgRequestResponse {
410    const NAME: &'static str = "QueryDKGRequestResponse";
411    const PACKAGE: &'static str = "side.tss";
412    fn full_name() -> ::prost::alloc::string::String {
413        ::prost::alloc::format!("side.tss.{}", Self::NAME)
414    }
415}
416#[allow(clippy::derive_partial_eq_without_eq)]
417#[derive(Clone, PartialEq, ::prost::Message)]
418pub struct QueryDkgRequestsRequest {
419    #[prost(string, tag = "1")]
420    pub module: ::prost::alloc::string::String,
421    #[prost(enumeration = "DkgStatus", tag = "2")]
422    pub status: i32,
423    #[prost(message, optional, tag = "3")]
424    pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
425}
426impl ::prost::Name for QueryDkgRequestsRequest {
427    const NAME: &'static str = "QueryDKGRequestsRequest";
428    const PACKAGE: &'static str = "side.tss";
429    fn full_name() -> ::prost::alloc::string::String {
430        ::prost::alloc::format!("side.tss.{}", Self::NAME)
431    }
432}
433#[allow(clippy::derive_partial_eq_without_eq)]
434#[derive(Clone, PartialEq, ::prost::Message)]
435pub struct QueryDkgRequestsResponse {
436    #[prost(message, repeated, tag = "1")]
437    pub requests: ::prost::alloc::vec::Vec<DkgRequest>,
438    #[prost(message, optional, tag = "2")]
439    pub pagination:
440        ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
441}
442impl ::prost::Name for QueryDkgRequestsResponse {
443    const NAME: &'static str = "QueryDKGRequestsResponse";
444    const PACKAGE: &'static str = "side.tss";
445    fn full_name() -> ::prost::alloc::string::String {
446        ::prost::alloc::format!("side.tss.{}", Self::NAME)
447    }
448}
449#[allow(clippy::derive_partial_eq_without_eq)]
450#[derive(Clone, PartialEq, ::prost::Message)]
451pub struct QueryDkgCompletionsRequest {
452    #[prost(uint64, tag = "1")]
453    pub id: u64,
454    #[prost(message, optional, tag = "2")]
455    pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
456}
457impl ::prost::Name for QueryDkgCompletionsRequest {
458    const NAME: &'static str = "QueryDKGCompletionsRequest";
459    const PACKAGE: &'static str = "side.tss";
460    fn full_name() -> ::prost::alloc::string::String {
461        ::prost::alloc::format!("side.tss.{}", Self::NAME)
462    }
463}
464#[allow(clippy::derive_partial_eq_without_eq)]
465#[derive(Clone, PartialEq, ::prost::Message)]
466pub struct QueryDkgCompletionsResponse {
467    #[prost(message, repeated, tag = "1")]
468    pub completions: ::prost::alloc::vec::Vec<DkgCompletion>,
469    #[prost(message, optional, tag = "2")]
470    pub pagination:
471        ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
472}
473impl ::prost::Name for QueryDkgCompletionsResponse {
474    const NAME: &'static str = "QueryDKGCompletionsResponse";
475    const PACKAGE: &'static str = "side.tss";
476    fn full_name() -> ::prost::alloc::string::String {
477        ::prost::alloc::format!("side.tss.{}", Self::NAME)
478    }
479}
480#[allow(clippy::derive_partial_eq_without_eq)]
481#[derive(Clone, PartialEq, ::prost::Message)]
482pub struct QuerySigningRequestRequest {
483    #[prost(uint64, tag = "1")]
484    pub id: u64,
485}
486impl ::prost::Name for QuerySigningRequestRequest {
487    const NAME: &'static str = "QuerySigningRequestRequest";
488    const PACKAGE: &'static str = "side.tss";
489    fn full_name() -> ::prost::alloc::string::String {
490        ::prost::alloc::format!("side.tss.{}", Self::NAME)
491    }
492}
493#[allow(clippy::derive_partial_eq_without_eq)]
494#[derive(Clone, PartialEq, ::prost::Message)]
495pub struct QuerySigningRequestResponse {
496    #[prost(message, optional, tag = "1")]
497    pub request: ::core::option::Option<SigningRequest>,
498}
499impl ::prost::Name for QuerySigningRequestResponse {
500    const NAME: &'static str = "QuerySigningRequestResponse";
501    const PACKAGE: &'static str = "side.tss";
502    fn full_name() -> ::prost::alloc::string::String {
503        ::prost::alloc::format!("side.tss.{}", Self::NAME)
504    }
505}
506#[allow(clippy::derive_partial_eq_without_eq)]
507#[derive(Clone, PartialEq, ::prost::Message)]
508pub struct QuerySigningRequestsRequest {
509    #[prost(string, tag = "1")]
510    pub module: ::prost::alloc::string::String,
511    #[prost(enumeration = "SigningStatus", tag = "2")]
512    pub status: i32,
513    #[prost(message, optional, tag = "3")]
514    pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
515}
516impl ::prost::Name for QuerySigningRequestsRequest {
517    const NAME: &'static str = "QuerySigningRequestsRequest";
518    const PACKAGE: &'static str = "side.tss";
519    fn full_name() -> ::prost::alloc::string::String {
520        ::prost::alloc::format!("side.tss.{}", Self::NAME)
521    }
522}
523#[allow(clippy::derive_partial_eq_without_eq)]
524#[derive(Clone, PartialEq, ::prost::Message)]
525pub struct QuerySigningRequestsResponse {
526    #[prost(message, repeated, tag = "1")]
527    pub requests: ::prost::alloc::vec::Vec<SigningRequest>,
528    #[prost(message, optional, tag = "2")]
529    pub pagination:
530        ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
531}
532impl ::prost::Name for QuerySigningRequestsResponse {
533    const NAME: &'static str = "QuerySigningRequestsResponse";
534    const PACKAGE: &'static str = "side.tss";
535    fn full_name() -> ::prost::alloc::string::String {
536        ::prost::alloc::format!("side.tss.{}", Self::NAME)
537    }
538}
539#[allow(clippy::derive_partial_eq_without_eq)]
540#[derive(Clone, PartialEq, ::prost::Message)]
541pub struct QueryRefreshingRequestRequest {
542    #[prost(uint64, tag = "1")]
543    pub id: u64,
544}
545impl ::prost::Name for QueryRefreshingRequestRequest {
546    const NAME: &'static str = "QueryRefreshingRequestRequest";
547    const PACKAGE: &'static str = "side.tss";
548    fn full_name() -> ::prost::alloc::string::String {
549        ::prost::alloc::format!("side.tss.{}", Self::NAME)
550    }
551}
552#[allow(clippy::derive_partial_eq_without_eq)]
553#[derive(Clone, PartialEq, ::prost::Message)]
554pub struct QueryRefreshingRequestResponse {
555    #[prost(message, optional, tag = "1")]
556    pub request: ::core::option::Option<RefreshingRequest>,
557}
558impl ::prost::Name for QueryRefreshingRequestResponse {
559    const NAME: &'static str = "QueryRefreshingRequestResponse";
560    const PACKAGE: &'static str = "side.tss";
561    fn full_name() -> ::prost::alloc::string::String {
562        ::prost::alloc::format!("side.tss.{}", Self::NAME)
563    }
564}
565#[allow(clippy::derive_partial_eq_without_eq)]
566#[derive(Clone, PartialEq, ::prost::Message)]
567pub struct QueryRefreshingRequestsRequest {
568    #[prost(enumeration = "RefreshingStatus", tag = "1")]
569    pub status: i32,
570    #[prost(message, optional, tag = "2")]
571    pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
572}
573impl ::prost::Name for QueryRefreshingRequestsRequest {
574    const NAME: &'static str = "QueryRefreshingRequestsRequest";
575    const PACKAGE: &'static str = "side.tss";
576    fn full_name() -> ::prost::alloc::string::String {
577        ::prost::alloc::format!("side.tss.{}", Self::NAME)
578    }
579}
580#[allow(clippy::derive_partial_eq_without_eq)]
581#[derive(Clone, PartialEq, ::prost::Message)]
582pub struct QueryRefreshingRequestsResponse {
583    #[prost(message, repeated, tag = "1")]
584    pub requests: ::prost::alloc::vec::Vec<RefreshingRequest>,
585    #[prost(message, optional, tag = "2")]
586    pub pagination:
587        ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
588}
589impl ::prost::Name for QueryRefreshingRequestsResponse {
590    const NAME: &'static str = "QueryRefreshingRequestsResponse";
591    const PACKAGE: &'static str = "side.tss";
592    fn full_name() -> ::prost::alloc::string::String {
593        ::prost::alloc::format!("side.tss.{}", Self::NAME)
594    }
595}
596#[allow(clippy::derive_partial_eq_without_eq)]
597#[derive(Clone, PartialEq, ::prost::Message)]
598pub struct QueryRefreshingCompletionsRequest {
599    #[prost(uint64, tag = "1")]
600    pub id: u64,
601    #[prost(message, optional, tag = "2")]
602    pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
603}
604impl ::prost::Name for QueryRefreshingCompletionsRequest {
605    const NAME: &'static str = "QueryRefreshingCompletionsRequest";
606    const PACKAGE: &'static str = "side.tss";
607    fn full_name() -> ::prost::alloc::string::String {
608        ::prost::alloc::format!("side.tss.{}", Self::NAME)
609    }
610}
611#[allow(clippy::derive_partial_eq_without_eq)]
612#[derive(Clone, PartialEq, ::prost::Message)]
613pub struct QueryRefreshingCompletionsResponse {
614    #[prost(message, repeated, tag = "1")]
615    pub completions: ::prost::alloc::vec::Vec<RefreshingCompletion>,
616    #[prost(message, optional, tag = "2")]
617    pub pagination:
618        ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
619}
620impl ::prost::Name for QueryRefreshingCompletionsResponse {
621    const NAME: &'static str = "QueryRefreshingCompletionsResponse";
622    const PACKAGE: &'static str = "side.tss";
623    fn full_name() -> ::prost::alloc::string::String {
624        ::prost::alloc::format!("side.tss.{}", Self::NAME)
625    }
626}
627/// QueryParamsRequest is request type for the Query/Params RPC method.
628#[allow(clippy::derive_partial_eq_without_eq)]
629#[derive(Clone, PartialEq, ::prost::Message)]
630pub struct QueryParamsRequest {}
631impl ::prost::Name for QueryParamsRequest {
632    const NAME: &'static str = "QueryParamsRequest";
633    const PACKAGE: &'static str = "side.tss";
634    fn full_name() -> ::prost::alloc::string::String {
635        ::prost::alloc::format!("side.tss.{}", Self::NAME)
636    }
637}
638/// QueryParamsResponse is response type for the Query/Params RPC method.
639#[allow(clippy::derive_partial_eq_without_eq)]
640#[derive(Clone, PartialEq, ::prost::Message)]
641pub struct QueryParamsResponse {
642    #[prost(message, optional, tag = "1")]
643    pub params: ::core::option::Option<Params>,
644}
645impl ::prost::Name for QueryParamsResponse {
646    const NAME: &'static str = "QueryParamsResponse";
647    const PACKAGE: &'static str = "side.tss";
648    fn full_name() -> ::prost::alloc::string::String {
649        ::prost::alloc::format!("side.tss.{}", Self::NAME)
650    }
651}
652/// MsgCompleteDKG is the Msg/CompleteDKG request type.
653#[allow(clippy::derive_partial_eq_without_eq)]
654#[derive(Clone, PartialEq, ::prost::Message)]
655pub struct MsgCompleteDkg {
656    /// sender
657    #[prost(string, tag = "1")]
658    pub sender: ::prost::alloc::string::String,
659    /// DKG request id
660    #[prost(uint64, tag = "2")]
661    pub id: u64,
662    /// public keys generated by DKG
663    #[prost(string, repeated, tag = "3")]
664    pub pub_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
665    /// participant consensus pub key
666    #[prost(string, tag = "4")]
667    pub consensus_pubkey: ::prost::alloc::string::String,
668    /// hex encoded participant signature
669    #[prost(string, tag = "5")]
670    pub signature: ::prost::alloc::string::String,
671}
672impl ::prost::Name for MsgCompleteDkg {
673    const NAME: &'static str = "MsgCompleteDKG";
674    const PACKAGE: &'static str = "side.tss";
675    fn full_name() -> ::prost::alloc::string::String {
676        ::prost::alloc::format!("side.tss.{}", Self::NAME)
677    }
678}
679/// MsgCompleteDKGResponse defines the Msg/CompleteDKG response type.
680#[allow(clippy::derive_partial_eq_without_eq)]
681#[derive(Clone, PartialEq, ::prost::Message)]
682pub struct MsgCompleteDkgResponse {}
683impl ::prost::Name for MsgCompleteDkgResponse {
684    const NAME: &'static str = "MsgCompleteDKGResponse";
685    const PACKAGE: &'static str = "side.tss";
686    fn full_name() -> ::prost::alloc::string::String {
687        ::prost::alloc::format!("side.tss.{}", Self::NAME)
688    }
689}
690/// MsgSubmitSignatures defines the Msg/SubmitSignatures request type.
691#[allow(clippy::derive_partial_eq_without_eq)]
692#[derive(Clone, PartialEq, ::prost::Message)]
693pub struct MsgSubmitSignatures {
694    #[prost(string, tag = "1")]
695    pub sender: ::prost::alloc::string::String,
696    #[prost(uint64, tag = "2")]
697    pub id: u64,
698    #[prost(string, repeated, tag = "3")]
699    pub signatures: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
700}
701impl ::prost::Name for MsgSubmitSignatures {
702    const NAME: &'static str = "MsgSubmitSignatures";
703    const PACKAGE: &'static str = "side.tss";
704    fn full_name() -> ::prost::alloc::string::String {
705        ::prost::alloc::format!("side.tss.{}", Self::NAME)
706    }
707}
708/// MsgSubmitSignaturesResponse defines the Msg/SubmitSignatures response type.
709#[allow(clippy::derive_partial_eq_without_eq)]
710#[derive(Clone, PartialEq, ::prost::Message)]
711pub struct MsgSubmitSignaturesResponse {}
712impl ::prost::Name for MsgSubmitSignaturesResponse {
713    const NAME: &'static str = "MsgSubmitSignaturesResponse";
714    const PACKAGE: &'static str = "side.tss";
715    fn full_name() -> ::prost::alloc::string::String {
716        ::prost::alloc::format!("side.tss.{}", Self::NAME)
717    }
718}
719/// MsgRefresh defines the Msg/Refresh request type.
720#[allow(clippy::derive_partial_eq_without_eq)]
721#[derive(Clone, PartialEq, ::prost::Message)]
722pub struct MsgRefresh {
723    /// authority is the address that controls the module (defaults to x/gov unless overwritten).
724    #[prost(string, tag = "1")]
725    pub authority: ::prost::alloc::string::String,
726    /// list of DKGs corresponding to key shares to be refreshed
727    #[prost(uint64, repeated, tag = "2")]
728    pub dkg_ids: ::prost::alloc::vec::Vec<u64>,
729    /// removed participant set
730    #[prost(string, repeated, tag = "3")]
731    pub removed_participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
732    /// new threshold set corresponding to the DKGs
733    #[prost(uint32, repeated, tag = "4")]
734    pub thresholds: ::prost::alloc::vec::Vec<u32>,
735    /// timeout duration per DKG refreshing
736    #[prost(message, optional, tag = "5")]
737    pub timeout_duration: ::core::option::Option<::tendermint_proto::google::protobuf::Duration>,
738}
739impl ::prost::Name for MsgRefresh {
740    const NAME: &'static str = "MsgRefresh";
741    const PACKAGE: &'static str = "side.tss";
742    fn full_name() -> ::prost::alloc::string::String {
743        ::prost::alloc::format!("side.tss.{}", Self::NAME)
744    }
745}
746/// MsgRefreshResponse defines the Msg/Refresh response type.
747#[allow(clippy::derive_partial_eq_without_eq)]
748#[derive(Clone, PartialEq, ::prost::Message)]
749pub struct MsgRefreshResponse {}
750impl ::prost::Name for MsgRefreshResponse {
751    const NAME: &'static str = "MsgRefreshResponse";
752    const PACKAGE: &'static str = "side.tss";
753    fn full_name() -> ::prost::alloc::string::String {
754        ::prost::alloc::format!("side.tss.{}", Self::NAME)
755    }
756}
757/// MsgCompleteRefreshing defines the Msg/CompleteRefreshing request type.
758#[allow(clippy::derive_partial_eq_without_eq)]
759#[derive(Clone, PartialEq, ::prost::Message)]
760pub struct MsgCompleteRefreshing {
761    /// sender
762    #[prost(string, tag = "1")]
763    pub sender: ::prost::alloc::string::String,
764    /// request id
765    #[prost(uint64, tag = "2")]
766    pub id: u64,
767    /// participant consensus pub key
768    #[prost(string, tag = "3")]
769    pub consensus_pubkey: ::prost::alloc::string::String,
770    /// hex encoded participant signature
771    #[prost(string, tag = "4")]
772    pub signature: ::prost::alloc::string::String,
773}
774impl ::prost::Name for MsgCompleteRefreshing {
775    const NAME: &'static str = "MsgCompleteRefreshing";
776    const PACKAGE: &'static str = "side.tss";
777    fn full_name() -> ::prost::alloc::string::String {
778        ::prost::alloc::format!("side.tss.{}", Self::NAME)
779    }
780}
781/// MsgCompleteRefreshingResponse defines the Msg/CompleteRefreshing response type.
782#[allow(clippy::derive_partial_eq_without_eq)]
783#[derive(Clone, PartialEq, ::prost::Message)]
784pub struct MsgCompleteRefreshingResponse {}
785impl ::prost::Name for MsgCompleteRefreshingResponse {
786    const NAME: &'static str = "MsgCompleteRefreshingResponse";
787    const PACKAGE: &'static str = "side.tss";
788    fn full_name() -> ::prost::alloc::string::String {
789        ::prost::alloc::format!("side.tss.{}", Self::NAME)
790    }
791}
792/// MsgUpdateParams is the Msg/UpdateParams request type.
793///
794/// Since: cosmos-sdk 0.47
795#[allow(clippy::derive_partial_eq_without_eq)]
796#[derive(Clone, PartialEq, ::prost::Message)]
797pub struct MsgUpdateParams {
798    /// authority is the address that controls the module (defaults to x/gov unless overwritten).
799    #[prost(string, tag = "1")]
800    pub authority: ::prost::alloc::string::String,
801    /// params defines the x/tss parameters to be updated.
802    ///
803    /// NOTE: All parameters must be supplied.
804    #[prost(message, optional, tag = "2")]
805    pub params: ::core::option::Option<Params>,
806}
807impl ::prost::Name for MsgUpdateParams {
808    const NAME: &'static str = "MsgUpdateParams";
809    const PACKAGE: &'static str = "side.tss";
810    fn full_name() -> ::prost::alloc::string::String {
811        ::prost::alloc::format!("side.tss.{}", Self::NAME)
812    }
813}
814/// MsgUpdateParamsResponse defines the Msg/UpdateParams response type.
815///
816/// Since: cosmos-sdk 0.47
817#[allow(clippy::derive_partial_eq_without_eq)]
818#[derive(Clone, PartialEq, ::prost::Message)]
819pub struct MsgUpdateParamsResponse {}
820impl ::prost::Name for MsgUpdateParamsResponse {
821    const NAME: &'static str = "MsgUpdateParamsResponse";
822    const PACKAGE: &'static str = "side.tss";
823    fn full_name() -> ::prost::alloc::string::String {
824        ::prost::alloc::format!("side.tss.{}", Self::NAME)
825    }
826}
827include!("side.tss.serde.rs");
828include!("side.tss.tonic.rs");
829// @@protoc_insertion_point(module)