1#[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#[allow(clippy::derive_partial_eq_without_eq)]
21#[derive(Clone, PartialEq, ::prost::Message)]
22pub struct DkgParticipant {
23 #[prost(string, tag = "1")]
25 pub moniker: ::prost::alloc::string::String,
26 #[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#[allow(clippy::derive_partial_eq_without_eq)]
39#[derive(Clone, PartialEq, ::prost::Message)]
40pub struct DkgRequest {
41 #[prost(uint64, tag = "1")]
43 pub id: u64,
44 #[prost(string, tag = "2")]
46 pub module: ::prost::alloc::string::String,
47 #[prost(string, tag = "3")]
49 pub r#type: ::prost::alloc::string::String,
50 #[prost(int32, tag = "4")]
52 pub intent: i32,
53 #[prost(string, repeated, tag = "5")]
55 pub participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
56 #[prost(uint32, tag = "6")]
58 pub threshold: u32,
59 #[prost(uint32, tag = "7")]
61 pub batch_size: u32,
62 #[prost(message, optional, tag = "8")]
64 pub expiration_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
65 #[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#[allow(clippy::derive_partial_eq_without_eq)]
78#[derive(Clone, PartialEq, ::prost::Message)]
79pub struct DkgCompletion {
80 #[prost(uint64, tag = "1")]
82 pub id: u64,
83 #[prost(string, tag = "2")]
85 pub sender: ::prost::alloc::string::String,
86 #[prost(string, repeated, tag = "3")]
88 pub pub_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
89 #[prost(string, tag = "4")]
91 pub consensus_pubkey: ::prost::alloc::string::String,
92 #[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#[allow(clippy::derive_partial_eq_without_eq)]
105#[derive(Clone, PartialEq, ::prost::Message)]
106pub struct SigningOptions {
107 #[prost(string, tag = "1")]
109 pub tweak: ::prost::alloc::string::String,
110 #[prost(string, tag = "2")]
112 pub nonce: ::prost::alloc::string::String,
113 #[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#[allow(clippy::derive_partial_eq_without_eq)]
126#[derive(Clone, PartialEq, ::prost::Message)]
127pub struct SigningRequest {
128 #[prost(uint64, tag = "1")]
130 pub id: u64,
131 #[prost(string, tag = "2")]
133 pub module: ::prost::alloc::string::String,
134 #[prost(string, tag = "3")]
136 pub scoped_id: ::prost::alloc::string::String,
137 #[prost(enumeration = "SigningType", tag = "4")]
139 pub r#type: i32,
140 #[prost(int32, tag = "5")]
142 pub intent: i32,
143 #[prost(string, tag = "6")]
145 pub pub_key: ::prost::alloc::string::String,
146 #[prost(string, repeated, tag = "7")]
148 pub sig_hashes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
149 #[prost(message, optional, tag = "8")]
151 pub options: ::core::option::Option<SigningOptions>,
152 #[prost(message, optional, tag = "9")]
154 pub creation_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
155 #[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#[allow(clippy::derive_partial_eq_without_eq)]
168#[derive(Clone, PartialEq, ::prost::Message)]
169pub struct RefreshingRequest {
170 #[prost(uint64, tag = "1")]
172 pub id: u64,
173 #[prost(uint64, tag = "2")]
175 pub dkg_id: u64,
176 #[prost(string, repeated, tag = "3")]
178 pub removed_participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
179 #[prost(uint32, tag = "4")]
181 pub threshold: u32,
182 #[prost(message, optional, tag = "5")]
184 pub expiration_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
185 #[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#[allow(clippy::derive_partial_eq_without_eq)]
198#[derive(Clone, PartialEq, ::prost::Message)]
199pub struct RefreshingCompletion {
200 #[prost(uint64, tag = "1")]
202 pub id: u64,
203 #[prost(string, tag = "2")]
205 pub sender: ::prost::alloc::string::String,
206 #[prost(string, tag = "3")]
208 pub consensus_pubkey: ::prost::alloc::string::String,
209 #[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#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
222#[repr(i32)]
223pub enum DkgStatus {
224 Unspecified = 0,
226 Pending = 1,
228 Completed = 2,
230 Failed = 3,
232 Timedout = 4,
234}
235impl DkgStatus {
236 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 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#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
263#[repr(i32)]
264pub enum SigningStatus {
265 Unspecified = 0,
267 Pending = 1,
269 Signed = 2,
271 Failed = 3,
273}
274impl SigningStatus {
275 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 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#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
300#[repr(i32)]
301pub enum SigningType {
302 Schnorr = 0,
304 SchnorrWithTweak = 1,
306 SchnorrWithCommitment = 2,
308 SchnorrAdaptor = 3,
310}
311impl SigningType {
312 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 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#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
337#[repr(i32)]
338pub enum RefreshingStatus {
339 Unspecified = 0,
341 Pending = 1,
343 Completed = 2,
345 Timedout = 3,
347}
348impl RefreshingStatus {
349 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 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#[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#[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#[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#[allow(clippy::derive_partial_eq_without_eq)]
654#[derive(Clone, PartialEq, ::prost::Message)]
655pub struct MsgCompleteDkg {
656 #[prost(string, tag = "1")]
658 pub sender: ::prost::alloc::string::String,
659 #[prost(uint64, tag = "2")]
661 pub id: u64,
662 #[prost(string, repeated, tag = "3")]
664 pub pub_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
665 #[prost(string, tag = "4")]
667 pub consensus_pubkey: ::prost::alloc::string::String,
668 #[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#[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#[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#[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#[allow(clippy::derive_partial_eq_without_eq)]
721#[derive(Clone, PartialEq, ::prost::Message)]
722pub struct MsgRefresh {
723 #[prost(string, tag = "1")]
725 pub authority: ::prost::alloc::string::String,
726 #[prost(uint64, repeated, tag = "2")]
728 pub dkg_ids: ::prost::alloc::vec::Vec<u64>,
729 #[prost(string, repeated, tag = "3")]
731 pub removed_participants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
732 #[prost(uint32, repeated, tag = "4")]
734 pub thresholds: ::prost::alloc::vec::Vec<u32>,
735 #[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#[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#[allow(clippy::derive_partial_eq_without_eq)]
759#[derive(Clone, PartialEq, ::prost::Message)]
760pub struct MsgCompleteRefreshing {
761 #[prost(string, tag = "1")]
763 pub sender: ::prost::alloc::string::String,
764 #[prost(uint64, tag = "2")]
766 pub id: u64,
767 #[prost(string, tag = "3")]
769 pub consensus_pubkey: ::prost::alloc::string::String,
770 #[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#[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#[allow(clippy::derive_partial_eq_without_eq)]
796#[derive(Clone, PartialEq, ::prost::Message)]
797pub struct MsgUpdateParams {
798 #[prost(string, tag = "1")]
800 pub authority: ::prost::alloc::string::String,
801 #[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#[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