1#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct Params {
6 #[prost(int32, tag = "1")]
8 pub confirmations: i32,
9 #[prost(uint64, tag = "2")]
11 pub max_acceptable_block_depth: u64,
12 #[prost(string, tag = "3")]
14 pub btc_voucher_denom: ::prost::alloc::string::String,
15 #[prost(bool, tag = "4")]
17 pub deposit_enabled: bool,
18 #[prost(bool, tag = "5")]
20 pub withdraw_enabled: bool,
21 #[prost(string, repeated, tag = "6")]
23 pub trusted_btc_relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
24 #[prost(string, repeated, tag = "7")]
26 pub trusted_non_btc_relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
27 #[prost(string, repeated, tag = "8")]
29 pub trusted_oracles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
30 #[prost(int64, tag = "9")]
32 pub fee_rate_validity_period: i64,
33 #[prost(message, repeated, tag = "10")]
35 pub vaults: ::prost::alloc::vec::Vec<Vault>,
36 #[prost(message, optional, tag = "11")]
38 pub withdraw_params: ::core::option::Option<WithdrawParams>,
39 #[prost(message, optional, tag = "12")]
41 pub protocol_limits: ::core::option::Option<ProtocolLimits>,
42 #[prost(message, optional, tag = "13")]
44 pub protocol_fees: ::core::option::Option<ProtocolFees>,
45 #[prost(message, optional, tag = "14")]
47 pub tss_params: ::core::option::Option<TssParams>,
48}
49impl ::prost::Name for Params {
50 const NAME: &'static str = "Params";
51 const PACKAGE: &'static str = "side.btcbridge";
52 fn full_name() -> ::prost::alloc::string::String {
53 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
54 }
55}
56#[allow(clippy::derive_partial_eq_without_eq)]
58#[derive(Clone, PartialEq, ::prost::Message)]
59pub struct Vault {
60 #[prost(string, tag = "1")]
62 pub address: ::prost::alloc::string::String,
63 #[prost(string, tag = "2")]
65 pub pub_key: ::prost::alloc::string::String,
66 #[prost(enumeration = "AssetType", tag = "3")]
68 pub asset_type: i32,
69 #[prost(uint64, tag = "4")]
71 pub version: u64,
72}
73impl ::prost::Name for Vault {
74 const NAME: &'static str = "Vault";
75 const PACKAGE: &'static str = "side.btcbridge";
76 fn full_name() -> ::prost::alloc::string::String {
77 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
78 }
79}
80#[allow(clippy::derive_partial_eq_without_eq)]
81#[derive(Clone, PartialEq, ::prost::Message)]
82pub struct WithdrawParams {
83 #[prost(uint32, tag = "1")]
85 pub max_utxo_num: u32,
86 #[prost(int64, tag = "2")]
88 pub btc_batch_withdraw_period: i64,
89 #[prost(uint32, tag = "3")]
91 pub max_btc_batch_withdraw_num: u32,
92}
93impl ::prost::Name for WithdrawParams {
94 const NAME: &'static str = "WithdrawParams";
95 const PACKAGE: &'static str = "side.btcbridge";
96 fn full_name() -> ::prost::alloc::string::String {
97 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
98 }
99}
100#[allow(clippy::derive_partial_eq_without_eq)]
102#[derive(Clone, PartialEq, ::prost::Message)]
103pub struct ProtocolLimits {
104 #[prost(int64, tag = "1")]
106 pub btc_min_deposit: i64,
107 #[prost(int64, tag = "2")]
109 pub btc_min_withdraw: i64,
110 #[prost(int64, tag = "3")]
112 pub btc_max_withdraw: i64,
113}
114impl ::prost::Name for ProtocolLimits {
115 const NAME: &'static str = "ProtocolLimits";
116 const PACKAGE: &'static str = "side.btcbridge";
117 fn full_name() -> ::prost::alloc::string::String {
118 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
119 }
120}
121#[allow(clippy::derive_partial_eq_without_eq)]
123#[derive(Clone, PartialEq, ::prost::Message)]
124pub struct ProtocolFees {
125 #[prost(int64, tag = "1")]
127 pub deposit_fee: i64,
128 #[prost(int64, tag = "2")]
130 pub withdraw_fee: i64,
131 #[prost(string, tag = "3")]
133 pub collector: ::prost::alloc::string::String,
134}
135impl ::prost::Name for ProtocolFees {
136 const NAME: &'static str = "ProtocolFees";
137 const PACKAGE: &'static str = "side.btcbridge";
138 fn full_name() -> ::prost::alloc::string::String {
139 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
140 }
141}
142#[allow(clippy::derive_partial_eq_without_eq)]
144#[derive(Clone, PartialEq, ::prost::Message)]
145pub struct TssParams {
146 #[prost(message, optional, tag = "1")]
148 pub dkg_timeout_period: ::core::option::Option<::tendermint_proto::google::protobuf::Duration>,
149 #[prost(message, optional, tag = "2")]
151 pub participant_update_transition_period:
152 ::core::option::Option<::tendermint_proto::google::protobuf::Duration>,
153}
154impl ::prost::Name for TssParams {
155 const NAME: &'static str = "TSSParams";
156 const PACKAGE: &'static str = "side.btcbridge";
157 fn full_name() -> ::prost::alloc::string::String {
158 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
159 }
160}
161#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
163#[repr(i32)]
164pub enum AssetType {
165 Unspecified = 0,
167 Btc = 1,
169 Brc20 = 2,
171 Runes = 3,
173}
174impl AssetType {
175 pub fn as_str_name(&self) -> &'static str {
180 match self {
181 AssetType::Unspecified => "ASSET_TYPE_UNSPECIFIED",
182 AssetType::Btc => "ASSET_TYPE_BTC",
183 AssetType::Brc20 => "ASSET_TYPE_BRC20",
184 AssetType::Runes => "ASSET_TYPE_RUNES",
185 }
186 }
187 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
189 match value {
190 "ASSET_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
191 "ASSET_TYPE_BTC" => Some(Self::Btc),
192 "ASSET_TYPE_BRC20" => Some(Self::Brc20),
193 "ASSET_TYPE_RUNES" => Some(Self::Runes),
194 _ => None,
195 }
196 }
197}
198#[allow(clippy::derive_partial_eq_without_eq)]
200#[derive(Clone, PartialEq, ::prost::Message)]
201pub struct BlockHeader {
202 #[prost(uint64, tag = "1")]
203 pub version: u64,
204 #[prost(string, tag = "2")]
205 pub hash: ::prost::alloc::string::String,
206 #[prost(uint64, tag = "3")]
207 pub height: u64,
208 #[prost(string, tag = "4")]
209 pub previous_block_hash: ::prost::alloc::string::String,
210 #[prost(string, tag = "5")]
211 pub merkle_root: ::prost::alloc::string::String,
212 #[prost(uint64, tag = "6")]
213 pub nonce: u64,
214 #[prost(string, tag = "7")]
215 pub bits: ::prost::alloc::string::String,
216 #[prost(uint64, tag = "8")]
217 pub time: u64,
218 #[prost(uint64, tag = "9")]
219 pub ntx: u64,
220}
221impl ::prost::Name for BlockHeader {
222 const NAME: &'static str = "BlockHeader";
223 const PACKAGE: &'static str = "side.btcbridge";
224 fn full_name() -> ::prost::alloc::string::String {
225 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
226 }
227}
228#[allow(clippy::derive_partial_eq_without_eq)]
230#[derive(Clone, PartialEq, ::prost::Message)]
231pub struct FeeRate {
232 #[prost(int64, tag = "1")]
234 pub value: i64,
235 #[prost(int64, tag = "2")]
237 pub height: i64,
238}
239impl ::prost::Name for FeeRate {
240 const NAME: &'static str = "FeeRate";
241 const PACKAGE: &'static str = "side.btcbridge";
242 fn full_name() -> ::prost::alloc::string::String {
243 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
244 }
245}
246#[allow(clippy::derive_partial_eq_without_eq)]
248#[derive(Clone, PartialEq, ::prost::Message)]
249pub struct SigningRequest {
250 #[prost(string, tag = "1")]
251 pub address: ::prost::alloc::string::String,
252 #[prost(uint64, tag = "2")]
253 pub sequence: u64,
254 #[prost(string, tag = "3")]
255 pub txid: ::prost::alloc::string::String,
256 #[prost(string, tag = "4")]
257 pub psbt: ::prost::alloc::string::String,
258 #[prost(message, optional, tag = "5")]
259 pub creation_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
260 #[prost(enumeration = "SigningStatus", tag = "6")]
261 pub status: i32,
262}
263impl ::prost::Name for SigningRequest {
264 const NAME: &'static str = "SigningRequest";
265 const PACKAGE: &'static str = "side.btcbridge";
266 fn full_name() -> ::prost::alloc::string::String {
267 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
268 }
269}
270#[allow(clippy::derive_partial_eq_without_eq)]
272#[derive(Clone, PartialEq, ::prost::Message)]
273pub struct WithdrawRequest {
274 #[prost(string, tag = "1")]
275 pub address: ::prost::alloc::string::String,
276 #[prost(string, tag = "2")]
277 pub amount: ::prost::alloc::string::String,
278 #[prost(uint64, tag = "3")]
279 pub sequence: u64,
280 #[prost(string, tag = "4")]
281 pub txid: ::prost::alloc::string::String,
282}
283impl ::prost::Name for WithdrawRequest {
284 const NAME: &'static str = "WithdrawRequest";
285 const PACKAGE: &'static str = "side.btcbridge";
286 fn full_name() -> ::prost::alloc::string::String {
287 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
288 }
289}
290#[allow(clippy::derive_partial_eq_without_eq)]
292#[derive(Clone, PartialEq, ::prost::Message)]
293pub struct Utxo {
294 #[prost(string, tag = "1")]
295 pub txid: ::prost::alloc::string::String,
296 #[prost(uint64, tag = "2")]
297 pub vout: u64,
298 #[prost(string, tag = "3")]
299 pub address: ::prost::alloc::string::String,
300 #[prost(uint64, tag = "4")]
301 pub amount: u64,
302 #[prost(uint64, tag = "5")]
303 pub height: u64,
304 #[prost(bytes = "vec", tag = "6")]
305 pub pub_key_script: ::prost::alloc::vec::Vec<u8>,
306 #[prost(bool, tag = "7")]
307 pub is_locked: bool,
308 #[prost(message, repeated, tag = "8")]
310 pub runes: ::prost::alloc::vec::Vec<RuneBalance>,
311}
312impl ::prost::Name for Utxo {
313 const NAME: &'static str = "UTXO";
314 const PACKAGE: &'static str = "side.btcbridge";
315 fn full_name() -> ::prost::alloc::string::String {
316 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
317 }
318}
319#[allow(clippy::derive_partial_eq_without_eq)]
321#[derive(Clone, PartialEq, ::prost::Message)]
322pub struct RuneBalance {
323 #[prost(string, tag = "1")]
325 pub id: ::prost::alloc::string::String,
326 #[prost(string, tag = "2")]
328 pub amount: ::prost::alloc::string::String,
329}
330impl ::prost::Name for RuneBalance {
331 const NAME: &'static str = "RuneBalance";
332 const PACKAGE: &'static str = "side.btcbridge";
333 fn full_name() -> ::prost::alloc::string::String {
334 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
335 }
336}
337#[allow(clippy::derive_partial_eq_without_eq)]
339#[derive(Clone, PartialEq, ::prost::Message)]
340pub struct RuneId {
341 #[prost(uint64, tag = "1")]
343 pub block: u64,
344 #[prost(uint32, tag = "2")]
346 pub tx: u32,
347}
348impl ::prost::Name for RuneId {
349 const NAME: &'static str = "RuneId";
350 const PACKAGE: &'static str = "side.btcbridge";
351 fn full_name() -> ::prost::alloc::string::String {
352 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
353 }
354}
355#[allow(clippy::derive_partial_eq_without_eq)]
357#[derive(Clone, PartialEq, ::prost::Message)]
358pub struct Edict {
359 #[prost(message, optional, tag = "1")]
360 pub id: ::core::option::Option<RuneId>,
361 #[prost(string, tag = "2")]
362 pub amount: ::prost::alloc::string::String,
363 #[prost(uint32, tag = "3")]
364 pub output: u32,
365}
366impl ::prost::Name for Edict {
367 const NAME: &'static str = "Edict";
368 const PACKAGE: &'static str = "side.btcbridge";
369 fn full_name() -> ::prost::alloc::string::String {
370 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
371 }
372}
373#[allow(clippy::derive_partial_eq_without_eq)]
375#[derive(Clone, PartialEq, ::prost::Message)]
376pub struct BtcConsolidation {
377 #[prost(int64, tag = "1")]
379 pub target_threshold: i64,
380 #[prost(uint32, tag = "2")]
382 pub max_num: u32,
383}
384impl ::prost::Name for BtcConsolidation {
385 const NAME: &'static str = "BtcConsolidation";
386 const PACKAGE: &'static str = "side.btcbridge";
387 fn full_name() -> ::prost::alloc::string::String {
388 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
389 }
390}
391#[allow(clippy::derive_partial_eq_without_eq)]
393#[derive(Clone, PartialEq, ::prost::Message)]
394pub struct RunesConsolidation {
395 #[prost(string, tag = "1")]
397 pub rune_id: ::prost::alloc::string::String,
398 #[prost(string, tag = "2")]
400 pub target_threshold: ::prost::alloc::string::String,
401 #[prost(uint32, tag = "3")]
403 pub max_num: u32,
404}
405impl ::prost::Name for RunesConsolidation {
406 const NAME: &'static str = "RunesConsolidation";
407 const PACKAGE: &'static str = "side.btcbridge";
408 fn full_name() -> ::prost::alloc::string::String {
409 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
410 }
411}
412#[allow(clippy::derive_partial_eq_without_eq)]
414#[derive(Clone, PartialEq, ::prost::Message)]
415pub struct DkgParticipant {
416 #[prost(string, tag = "1")]
418 pub moniker: ::prost::alloc::string::String,
419 #[prost(string, tag = "2")]
421 pub operator_address: ::prost::alloc::string::String,
422 #[prost(string, tag = "3")]
424 pub consensus_pubkey: ::prost::alloc::string::String,
425}
426impl ::prost::Name for DkgParticipant {
427 const NAME: &'static str = "DKGParticipant";
428 const PACKAGE: &'static str = "side.btcbridge";
429 fn full_name() -> ::prost::alloc::string::String {
430 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
431 }
432}
433#[allow(clippy::derive_partial_eq_without_eq)]
435#[derive(Clone, PartialEq, ::prost::Message)]
436pub struct DkgRequest {
437 #[prost(uint64, tag = "1")]
439 pub id: u64,
440 #[prost(message, repeated, tag = "2")]
442 pub participants: ::prost::alloc::vec::Vec<DkgParticipant>,
443 #[prost(uint32, tag = "3")]
445 pub threshold: u32,
446 #[prost(enumeration = "AssetType", repeated, tag = "4")]
448 pub vault_types: ::prost::alloc::vec::Vec<i32>,
449 #[prost(bool, tag = "5")]
451 pub enable_transfer: bool,
452 #[prost(uint32, tag = "6")]
454 pub target_utxo_num: u32,
455 #[prost(message, optional, tag = "7")]
457 pub expiration: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
458 #[prost(enumeration = "DkgRequestStatus", tag = "8")]
460 pub status: i32,
461}
462impl ::prost::Name for DkgRequest {
463 const NAME: &'static str = "DKGRequest";
464 const PACKAGE: &'static str = "side.btcbridge";
465 fn full_name() -> ::prost::alloc::string::String {
466 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
467 }
468}
469#[allow(clippy::derive_partial_eq_without_eq)]
471#[derive(Clone, PartialEq, ::prost::Message)]
472pub struct DkgCompletionRequest {
473 #[prost(uint64, tag = "1")]
475 pub id: u64,
476 #[prost(string, tag = "2")]
478 pub sender: ::prost::alloc::string::String,
479 #[prost(string, repeated, tag = "3")]
481 pub vaults: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
482 #[prost(string, tag = "4")]
484 pub consensus_address: ::prost::alloc::string::String,
485 #[prost(string, tag = "5")]
487 pub signature: ::prost::alloc::string::String,
488}
489impl ::prost::Name for DkgCompletionRequest {
490 const NAME: &'static str = "DKGCompletionRequest";
491 const PACKAGE: &'static str = "side.btcbridge";
492 fn full_name() -> ::prost::alloc::string::String {
493 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
494 }
495}
496#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
498#[repr(i32)]
499pub enum SigningStatus {
500 Unspecified = 0,
502 Pending = 1,
504 Broadcasted = 2,
506 Confirmed = 3,
508 Failed = 4,
510}
511impl SigningStatus {
512 pub fn as_str_name(&self) -> &'static str {
517 match self {
518 SigningStatus::Unspecified => "SIGNING_STATUS_UNSPECIFIED",
519 SigningStatus::Pending => "SIGNING_STATUS_PENDING",
520 SigningStatus::Broadcasted => "SIGNING_STATUS_BROADCASTED",
521 SigningStatus::Confirmed => "SIGNING_STATUS_CONFIRMED",
522 SigningStatus::Failed => "SIGNING_STATUS_FAILED",
523 }
524 }
525 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
527 match value {
528 "SIGNING_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
529 "SIGNING_STATUS_PENDING" => Some(Self::Pending),
530 "SIGNING_STATUS_BROADCASTED" => Some(Self::Broadcasted),
531 "SIGNING_STATUS_CONFIRMED" => Some(Self::Confirmed),
532 "SIGNING_STATUS_FAILED" => Some(Self::Failed),
533 _ => None,
534 }
535 }
536}
537#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
538#[repr(i32)]
539pub enum DkgRequestStatus {
540 Unspecified = 0,
542 Pending = 1,
544 Completed = 2,
546 Failed = 3,
548 Timedout = 4,
550}
551impl DkgRequestStatus {
552 pub fn as_str_name(&self) -> &'static str {
557 match self {
558 DkgRequestStatus::Unspecified => "DKG_REQUEST_STATUS_UNSPECIFIED",
559 DkgRequestStatus::Pending => "DKG_REQUEST_STATUS_PENDING",
560 DkgRequestStatus::Completed => "DKG_REQUEST_STATUS_COMPLETED",
561 DkgRequestStatus::Failed => "DKG_REQUEST_STATUS_FAILED",
562 DkgRequestStatus::Timedout => "DKG_REQUEST_STATUS_TIMEDOUT",
563 }
564 }
565 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
567 match value {
568 "DKG_REQUEST_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
569 "DKG_REQUEST_STATUS_PENDING" => Some(Self::Pending),
570 "DKG_REQUEST_STATUS_COMPLETED" => Some(Self::Completed),
571 "DKG_REQUEST_STATUS_FAILED" => Some(Self::Failed),
572 "DKG_REQUEST_STATUS_TIMEDOUT" => Some(Self::Timedout),
573 _ => None,
574 }
575 }
576}
577#[allow(clippy::derive_partial_eq_without_eq)]
579#[derive(Clone, PartialEq, ::prost::Message)]
580pub struct GenesisState {
581 #[prost(message, optional, tag = "1")]
582 pub params: ::core::option::Option<Params>,
583 #[prost(message, optional, tag = "2")]
585 pub best_block_header: ::core::option::Option<BlockHeader>,
586 #[prost(message, repeated, tag = "3")]
587 pub block_headers: ::prost::alloc::vec::Vec<BlockHeader>,
588 #[prost(message, repeated, tag = "4")]
589 pub utxos: ::prost::alloc::vec::Vec<Utxo>,
590}
591impl ::prost::Name for GenesisState {
592 const NAME: &'static str = "GenesisState";
593 const PACKAGE: &'static str = "side.btcbridge";
594 fn full_name() -> ::prost::alloc::string::String {
595 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
596 }
597}
598#[allow(clippy::derive_partial_eq_without_eq)]
600#[derive(Clone, PartialEq, ::prost::Message)]
601pub struct QueryWithdrawRequestsByAddressRequest {
602 #[prost(string, tag = "1")]
603 pub address: ::prost::alloc::string::String,
604 #[prost(message, optional, tag = "2")]
605 pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
606}
607impl ::prost::Name for QueryWithdrawRequestsByAddressRequest {
608 const NAME: &'static str = "QueryWithdrawRequestsByAddressRequest";
609 const PACKAGE: &'static str = "side.btcbridge";
610 fn full_name() -> ::prost::alloc::string::String {
611 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
612 }
613}
614#[allow(clippy::derive_partial_eq_without_eq)]
616#[derive(Clone, PartialEq, ::prost::Message)]
617pub struct QueryWithdrawRequestsByAddressResponse {
618 #[prost(message, repeated, tag = "1")]
619 pub requests: ::prost::alloc::vec::Vec<WithdrawRequest>,
620 #[prost(message, optional, tag = "2")]
621 pub pagination:
622 ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
623}
624impl ::prost::Name for QueryWithdrawRequestsByAddressResponse {
625 const NAME: &'static str = "QueryWithdrawRequestsByAddressResponse";
626 const PACKAGE: &'static str = "side.btcbridge";
627 fn full_name() -> ::prost::alloc::string::String {
628 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
629 }
630}
631#[allow(clippy::derive_partial_eq_without_eq)]
633#[derive(Clone, PartialEq, ::prost::Message)]
634pub struct QueryWithdrawRequestsByTxHashRequest {
635 #[prost(string, tag = "1")]
636 pub txid: ::prost::alloc::string::String,
637}
638impl ::prost::Name for QueryWithdrawRequestsByTxHashRequest {
639 const NAME: &'static str = "QueryWithdrawRequestsByTxHashRequest";
640 const PACKAGE: &'static str = "side.btcbridge";
641 fn full_name() -> ::prost::alloc::string::String {
642 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
643 }
644}
645#[allow(clippy::derive_partial_eq_without_eq)]
647#[derive(Clone, PartialEq, ::prost::Message)]
648pub struct QueryWithdrawRequestsByTxHashResponse {
649 #[prost(message, repeated, tag = "1")]
650 pub requests: ::prost::alloc::vec::Vec<WithdrawRequest>,
651}
652impl ::prost::Name for QueryWithdrawRequestsByTxHashResponse {
653 const NAME: &'static str = "QueryWithdrawRequestsByTxHashResponse";
654 const PACKAGE: &'static str = "side.btcbridge";
655 fn full_name() -> ::prost::alloc::string::String {
656 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
657 }
658}
659#[allow(clippy::derive_partial_eq_without_eq)]
661#[derive(Clone, PartialEq, ::prost::Message)]
662pub struct QueryPendingBtcWithdrawRequestsRequest {
663 #[prost(message, optional, tag = "1")]
664 pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
665}
666impl ::prost::Name for QueryPendingBtcWithdrawRequestsRequest {
667 const NAME: &'static str = "QueryPendingBtcWithdrawRequestsRequest";
668 const PACKAGE: &'static str = "side.btcbridge";
669 fn full_name() -> ::prost::alloc::string::String {
670 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
671 }
672}
673#[allow(clippy::derive_partial_eq_without_eq)]
675#[derive(Clone, PartialEq, ::prost::Message)]
676pub struct QueryPendingBtcWithdrawRequestsResponse {
677 #[prost(message, repeated, tag = "1")]
678 pub requests: ::prost::alloc::vec::Vec<WithdrawRequest>,
679 #[prost(message, optional, tag = "2")]
680 pub pagination:
681 ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
682}
683impl ::prost::Name for QueryPendingBtcWithdrawRequestsResponse {
684 const NAME: &'static str = "QueryPendingBtcWithdrawRequestsResponse";
685 const PACKAGE: &'static str = "side.btcbridge";
686 fn full_name() -> ::prost::alloc::string::String {
687 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
688 }
689}
690#[allow(clippy::derive_partial_eq_without_eq)]
692#[derive(Clone, PartialEq, ::prost::Message)]
693pub struct QuerySigningRequestsRequest {
694 #[prost(enumeration = "SigningStatus", tag = "1")]
695 pub status: i32,
696 #[prost(message, optional, tag = "2")]
697 pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
698}
699impl ::prost::Name for QuerySigningRequestsRequest {
700 const NAME: &'static str = "QuerySigningRequestsRequest";
701 const PACKAGE: &'static str = "side.btcbridge";
702 fn full_name() -> ::prost::alloc::string::String {
703 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
704 }
705}
706#[allow(clippy::derive_partial_eq_without_eq)]
708#[derive(Clone, PartialEq, ::prost::Message)]
709pub struct QuerySigningRequestsResponse {
710 #[prost(message, repeated, tag = "1")]
711 pub requests: ::prost::alloc::vec::Vec<SigningRequest>,
712 #[prost(message, optional, tag = "2")]
713 pub pagination:
714 ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
715}
716impl ::prost::Name for QuerySigningRequestsResponse {
717 const NAME: &'static str = "QuerySigningRequestsResponse";
718 const PACKAGE: &'static str = "side.btcbridge";
719 fn full_name() -> ::prost::alloc::string::String {
720 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
721 }
722}
723#[allow(clippy::derive_partial_eq_without_eq)]
725#[derive(Clone, PartialEq, ::prost::Message)]
726pub struct QuerySigningRequestsByAddressRequest {
727 #[prost(string, tag = "1")]
728 pub address: ::prost::alloc::string::String,
729 #[prost(message, optional, tag = "2")]
730 pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
731}
732impl ::prost::Name for QuerySigningRequestsByAddressRequest {
733 const NAME: &'static str = "QuerySigningRequestsByAddressRequest";
734 const PACKAGE: &'static str = "side.btcbridge";
735 fn full_name() -> ::prost::alloc::string::String {
736 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
737 }
738}
739#[allow(clippy::derive_partial_eq_without_eq)]
741#[derive(Clone, PartialEq, ::prost::Message)]
742pub struct QuerySigningRequestsByAddressResponse {
743 #[prost(message, repeated, tag = "1")]
744 pub requests: ::prost::alloc::vec::Vec<SigningRequest>,
745 #[prost(message, optional, tag = "2")]
746 pub pagination:
747 ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
748}
749impl ::prost::Name for QuerySigningRequestsByAddressResponse {
750 const NAME: &'static str = "QuerySigningRequestsByAddressResponse";
751 const PACKAGE: &'static str = "side.btcbridge";
752 fn full_name() -> ::prost::alloc::string::String {
753 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
754 }
755}
756#[allow(clippy::derive_partial_eq_without_eq)]
758#[derive(Clone, PartialEq, ::prost::Message)]
759pub struct QuerySigningRequestByTxHashRequest {
760 #[prost(string, tag = "1")]
761 pub txid: ::prost::alloc::string::String,
762}
763impl ::prost::Name for QuerySigningRequestByTxHashRequest {
764 const NAME: &'static str = "QuerySigningRequestByTxHashRequest";
765 const PACKAGE: &'static str = "side.btcbridge";
766 fn full_name() -> ::prost::alloc::string::String {
767 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
768 }
769}
770#[allow(clippy::derive_partial_eq_without_eq)]
772#[derive(Clone, PartialEq, ::prost::Message)]
773pub struct QuerySigningRequestByTxHashResponse {
774 #[prost(message, optional, tag = "1")]
775 pub request: ::core::option::Option<SigningRequest>,
776}
777impl ::prost::Name for QuerySigningRequestByTxHashResponse {
778 const NAME: &'static str = "QuerySigningRequestByTxHashResponse";
779 const PACKAGE: &'static str = "side.btcbridge";
780 fn full_name() -> ::prost::alloc::string::String {
781 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
782 }
783}
784#[allow(clippy::derive_partial_eq_without_eq)]
786#[derive(Clone, PartialEq, ::prost::Message)]
787pub struct QueryFeeRateRequest {}
788impl ::prost::Name for QueryFeeRateRequest {
789 const NAME: &'static str = "QueryFeeRateRequest";
790 const PACKAGE: &'static str = "side.btcbridge";
791 fn full_name() -> ::prost::alloc::string::String {
792 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
793 }
794}
795#[allow(clippy::derive_partial_eq_without_eq)]
797#[derive(Clone, PartialEq, ::prost::Message)]
798pub struct QueryFeeRateResponse {
799 #[prost(message, optional, tag = "1")]
800 pub fee_rate: ::core::option::Option<FeeRate>,
801}
802impl ::prost::Name for QueryFeeRateResponse {
803 const NAME: &'static str = "QueryFeeRateResponse";
804 const PACKAGE: &'static str = "side.btcbridge";
805 fn full_name() -> ::prost::alloc::string::String {
806 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
807 }
808}
809#[allow(clippy::derive_partial_eq_without_eq)]
811#[derive(Clone, PartialEq, ::prost::Message)]
812pub struct QueryWithdrawalNetworkFeeRequest {
813 #[prost(string, tag = "1")]
814 pub address: ::prost::alloc::string::String,
815 #[prost(string, tag = "2")]
816 pub amount: ::prost::alloc::string::String,
817 #[prost(int64, tag = "3")]
818 pub fee_rate: i64,
819}
820impl ::prost::Name for QueryWithdrawalNetworkFeeRequest {
821 const NAME: &'static str = "QueryWithdrawalNetworkFeeRequest";
822 const PACKAGE: &'static str = "side.btcbridge";
823 fn full_name() -> ::prost::alloc::string::String {
824 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
825 }
826}
827#[allow(clippy::derive_partial_eq_without_eq)]
829#[derive(Clone, PartialEq, ::prost::Message)]
830pub struct QueryWithdrawalNetworkFeeResponse {
831 #[prost(int64, tag = "1")]
832 pub fee_rate: i64,
833 #[prost(string, tag = "2")]
834 pub fee: ::prost::alloc::string::String,
835}
836impl ::prost::Name for QueryWithdrawalNetworkFeeResponse {
837 const NAME: &'static str = "QueryWithdrawalNetworkFeeResponse";
838 const PACKAGE: &'static str = "side.btcbridge";
839 fn full_name() -> ::prost::alloc::string::String {
840 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
841 }
842}
843#[allow(clippy::derive_partial_eq_without_eq)]
845#[derive(Clone, PartialEq, ::prost::Message)]
846pub struct QueryParamsRequest {}
847impl ::prost::Name for QueryParamsRequest {
848 const NAME: &'static str = "QueryParamsRequest";
849 const PACKAGE: &'static str = "side.btcbridge";
850 fn full_name() -> ::prost::alloc::string::String {
851 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
852 }
853}
854#[allow(clippy::derive_partial_eq_without_eq)]
856#[derive(Clone, PartialEq, ::prost::Message)]
857pub struct QueryParamsResponse {
858 #[prost(message, optional, tag = "1")]
860 pub params: ::core::option::Option<Params>,
861}
862impl ::prost::Name for QueryParamsResponse {
863 const NAME: &'static str = "QueryParamsResponse";
864 const PACKAGE: &'static str = "side.btcbridge";
865 fn full_name() -> ::prost::alloc::string::String {
866 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
867 }
868}
869#[allow(clippy::derive_partial_eq_without_eq)]
871#[derive(Clone, PartialEq, ::prost::Message)]
872pub struct QueryChainTipRequest {}
873impl ::prost::Name for QueryChainTipRequest {
874 const NAME: &'static str = "QueryChainTipRequest";
875 const PACKAGE: &'static str = "side.btcbridge";
876 fn full_name() -> ::prost::alloc::string::String {
877 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
878 }
879}
880#[allow(clippy::derive_partial_eq_without_eq)]
882#[derive(Clone, PartialEq, ::prost::Message)]
883pub struct QueryChainTipResponse {
884 #[prost(string, tag = "1")]
885 pub hash: ::prost::alloc::string::String,
886 #[prost(uint64, tag = "2")]
887 pub height: u64,
888}
889impl ::prost::Name for QueryChainTipResponse {
890 const NAME: &'static str = "QueryChainTipResponse";
891 const PACKAGE: &'static str = "side.btcbridge";
892 fn full_name() -> ::prost::alloc::string::String {
893 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
894 }
895}
896#[allow(clippy::derive_partial_eq_without_eq)]
898#[derive(Clone, PartialEq, ::prost::Message)]
899pub struct QueryBlockHeaderByHeightRequest {
900 #[prost(uint64, tag = "1")]
901 pub height: u64,
902}
903impl ::prost::Name for QueryBlockHeaderByHeightRequest {
904 const NAME: &'static str = "QueryBlockHeaderByHeightRequest";
905 const PACKAGE: &'static str = "side.btcbridge";
906 fn full_name() -> ::prost::alloc::string::String {
907 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
908 }
909}
910#[allow(clippy::derive_partial_eq_without_eq)]
912#[derive(Clone, PartialEq, ::prost::Message)]
913pub struct QueryBlockHeaderByHeightResponse {
914 #[prost(message, optional, tag = "1")]
915 pub block_header: ::core::option::Option<BlockHeader>,
916}
917impl ::prost::Name for QueryBlockHeaderByHeightResponse {
918 const NAME: &'static str = "QueryBlockHeaderByHeightResponse";
919 const PACKAGE: &'static str = "side.btcbridge";
920 fn full_name() -> ::prost::alloc::string::String {
921 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
922 }
923}
924#[allow(clippy::derive_partial_eq_without_eq)]
926#[derive(Clone, PartialEq, ::prost::Message)]
927pub struct QueryBlockHeaderByHashRequest {
928 #[prost(string, tag = "1")]
929 pub hash: ::prost::alloc::string::String,
930}
931impl ::prost::Name for QueryBlockHeaderByHashRequest {
932 const NAME: &'static str = "QueryBlockHeaderByHashRequest";
933 const PACKAGE: &'static str = "side.btcbridge";
934 fn full_name() -> ::prost::alloc::string::String {
935 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
936 }
937}
938#[allow(clippy::derive_partial_eq_without_eq)]
940#[derive(Clone, PartialEq, ::prost::Message)]
941pub struct QueryBlockHeaderByHashResponse {
942 #[prost(message, optional, tag = "1")]
943 pub block_header: ::core::option::Option<BlockHeader>,
944}
945impl ::prost::Name for QueryBlockHeaderByHashResponse {
946 const NAME: &'static str = "QueryBlockHeaderByHashResponse";
947 const PACKAGE: &'static str = "side.btcbridge";
948 fn full_name() -> ::prost::alloc::string::String {
949 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
950 }
951}
952#[allow(clippy::derive_partial_eq_without_eq)]
954#[derive(Clone, PartialEq, ::prost::Message)]
955pub struct QueryUtxOsRequest {}
956impl ::prost::Name for QueryUtxOsRequest {
957 const NAME: &'static str = "QueryUTXOsRequest";
958 const PACKAGE: &'static str = "side.btcbridge";
959 fn full_name() -> ::prost::alloc::string::String {
960 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
961 }
962}
963#[allow(clippy::derive_partial_eq_without_eq)]
965#[derive(Clone, PartialEq, ::prost::Message)]
966pub struct QueryUtxOsResponse {
967 #[prost(message, repeated, tag = "1")]
968 pub utxos: ::prost::alloc::vec::Vec<Utxo>,
969}
970impl ::prost::Name for QueryUtxOsResponse {
971 const NAME: &'static str = "QueryUTXOsResponse";
972 const PACKAGE: &'static str = "side.btcbridge";
973 fn full_name() -> ::prost::alloc::string::String {
974 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
975 }
976}
977#[allow(clippy::derive_partial_eq_without_eq)]
979#[derive(Clone, PartialEq, ::prost::Message)]
980pub struct QueryUtxOsByAddressRequest {
981 #[prost(string, tag = "1")]
982 pub address: ::prost::alloc::string::String,
983}
984impl ::prost::Name for QueryUtxOsByAddressRequest {
985 const NAME: &'static str = "QueryUTXOsByAddressRequest";
986 const PACKAGE: &'static str = "side.btcbridge";
987 fn full_name() -> ::prost::alloc::string::String {
988 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
989 }
990}
991#[allow(clippy::derive_partial_eq_without_eq)]
993#[derive(Clone, PartialEq, ::prost::Message)]
994pub struct QueryUtxOsByAddressResponse {
995 #[prost(message, repeated, tag = "1")]
996 pub utxos: ::prost::alloc::vec::Vec<Utxo>,
997}
998impl ::prost::Name for QueryUtxOsByAddressResponse {
999 const NAME: &'static str = "QueryUTXOsByAddressResponse";
1000 const PACKAGE: &'static str = "side.btcbridge";
1001 fn full_name() -> ::prost::alloc::string::String {
1002 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1003 }
1004}
1005#[allow(clippy::derive_partial_eq_without_eq)]
1007#[derive(Clone, PartialEq, ::prost::Message)]
1008pub struct QueryUtxoCountAndBalancesByAddressRequest {
1009 #[prost(string, tag = "1")]
1010 pub address: ::prost::alloc::string::String,
1011}
1012impl ::prost::Name for QueryUtxoCountAndBalancesByAddressRequest {
1013 const NAME: &'static str = "QueryUTXOCountAndBalancesByAddressRequest";
1014 const PACKAGE: &'static str = "side.btcbridge";
1015 fn full_name() -> ::prost::alloc::string::String {
1016 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1017 }
1018}
1019#[allow(clippy::derive_partial_eq_without_eq)]
1021#[derive(Clone, PartialEq, ::prost::Message)]
1022pub struct QueryUtxoCountAndBalancesByAddressResponse {
1023 #[prost(uint32, tag = "1")]
1024 pub count: u32,
1025 #[prost(int64, tag = "2")]
1026 pub value: i64,
1027 #[prost(message, repeated, tag = "3")]
1028 pub rune_balances: ::prost::alloc::vec::Vec<RuneBalance>,
1029}
1030impl ::prost::Name for QueryUtxoCountAndBalancesByAddressResponse {
1031 const NAME: &'static str = "QueryUTXOCountAndBalancesByAddressResponse";
1032 const PACKAGE: &'static str = "side.btcbridge";
1033 fn full_name() -> ::prost::alloc::string::String {
1034 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1035 }
1036}
1037#[allow(clippy::derive_partial_eq_without_eq)]
1039#[derive(Clone, PartialEq, ::prost::Message)]
1040pub struct QueryDkgRequestRequest {
1041 #[prost(uint64, tag = "1")]
1042 pub id: u64,
1043}
1044impl ::prost::Name for QueryDkgRequestRequest {
1045 const NAME: &'static str = "QueryDKGRequestRequest";
1046 const PACKAGE: &'static str = "side.btcbridge";
1047 fn full_name() -> ::prost::alloc::string::String {
1048 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1049 }
1050}
1051#[allow(clippy::derive_partial_eq_without_eq)]
1053#[derive(Clone, PartialEq, ::prost::Message)]
1054pub struct QueryDkgRequestResponse {
1055 #[prost(message, optional, tag = "1")]
1056 pub request: ::core::option::Option<DkgRequest>,
1057}
1058impl ::prost::Name for QueryDkgRequestResponse {
1059 const NAME: &'static str = "QueryDKGRequestResponse";
1060 const PACKAGE: &'static str = "side.btcbridge";
1061 fn full_name() -> ::prost::alloc::string::String {
1062 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1063 }
1064}
1065#[allow(clippy::derive_partial_eq_without_eq)]
1067#[derive(Clone, PartialEq, ::prost::Message)]
1068pub struct QueryDkgRequestsRequest {
1069 #[prost(enumeration = "DkgRequestStatus", tag = "1")]
1070 pub status: i32,
1071}
1072impl ::prost::Name for QueryDkgRequestsRequest {
1073 const NAME: &'static str = "QueryDKGRequestsRequest";
1074 const PACKAGE: &'static str = "side.btcbridge";
1075 fn full_name() -> ::prost::alloc::string::String {
1076 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1077 }
1078}
1079#[allow(clippy::derive_partial_eq_without_eq)]
1081#[derive(Clone, PartialEq, ::prost::Message)]
1082pub struct QueryDkgRequestsResponse {
1083 #[prost(message, repeated, tag = "1")]
1084 pub requests: ::prost::alloc::vec::Vec<DkgRequest>,
1085}
1086impl ::prost::Name for QueryDkgRequestsResponse {
1087 const NAME: &'static str = "QueryDKGRequestsResponse";
1088 const PACKAGE: &'static str = "side.btcbridge";
1089 fn full_name() -> ::prost::alloc::string::String {
1090 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1091 }
1092}
1093#[allow(clippy::derive_partial_eq_without_eq)]
1095#[derive(Clone, PartialEq, ::prost::Message)]
1096pub struct QueryAllDkgRequestsRequest {}
1097impl ::prost::Name for QueryAllDkgRequestsRequest {
1098 const NAME: &'static str = "QueryAllDKGRequestsRequest";
1099 const PACKAGE: &'static str = "side.btcbridge";
1100 fn full_name() -> ::prost::alloc::string::String {
1101 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1102 }
1103}
1104#[allow(clippy::derive_partial_eq_without_eq)]
1106#[derive(Clone, PartialEq, ::prost::Message)]
1107pub struct QueryAllDkgRequestsResponse {
1108 #[prost(message, repeated, tag = "1")]
1109 pub requests: ::prost::alloc::vec::Vec<DkgRequest>,
1110}
1111impl ::prost::Name for QueryAllDkgRequestsResponse {
1112 const NAME: &'static str = "QueryAllDKGRequestsResponse";
1113 const PACKAGE: &'static str = "side.btcbridge";
1114 fn full_name() -> ::prost::alloc::string::String {
1115 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1116 }
1117}
1118#[allow(clippy::derive_partial_eq_without_eq)]
1120#[derive(Clone, PartialEq, ::prost::Message)]
1121pub struct QueryDkgCompletionRequestsRequest {
1122 #[prost(uint64, tag = "1")]
1123 pub id: u64,
1124}
1125impl ::prost::Name for QueryDkgCompletionRequestsRequest {
1126 const NAME: &'static str = "QueryDKGCompletionRequestsRequest";
1127 const PACKAGE: &'static str = "side.btcbridge";
1128 fn full_name() -> ::prost::alloc::string::String {
1129 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1130 }
1131}
1132#[allow(clippy::derive_partial_eq_without_eq)]
1134#[derive(Clone, PartialEq, ::prost::Message)]
1135pub struct QueryDkgCompletionRequestsResponse {
1136 #[prost(message, repeated, tag = "1")]
1137 pub requests: ::prost::alloc::vec::Vec<DkgCompletionRequest>,
1138}
1139impl ::prost::Name for QueryDkgCompletionRequestsResponse {
1140 const NAME: &'static str = "QueryDKGCompletionRequestsResponse";
1141 const PACKAGE: &'static str = "side.btcbridge";
1142 fn full_name() -> ::prost::alloc::string::String {
1143 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1144 }
1145}
1146#[allow(clippy::derive_partial_eq_without_eq)]
1148#[derive(Clone, PartialEq, ::prost::Message)]
1149pub struct MsgSubmitBlockHeaders {
1150 #[prost(string, tag = "1")]
1151 pub sender: ::prost::alloc::string::String,
1152 #[prost(message, repeated, tag = "2")]
1153 pub block_headers: ::prost::alloc::vec::Vec<BlockHeader>,
1154}
1155impl ::prost::Name for MsgSubmitBlockHeaders {
1156 const NAME: &'static str = "MsgSubmitBlockHeaders";
1157 const PACKAGE: &'static str = "side.btcbridge";
1158 fn full_name() -> ::prost::alloc::string::String {
1159 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1160 }
1161}
1162#[allow(clippy::derive_partial_eq_without_eq)]
1164#[derive(Clone, PartialEq, ::prost::Message)]
1165pub struct MsgSubmitBlockHeadersResponse {}
1166impl ::prost::Name for MsgSubmitBlockHeadersResponse {
1167 const NAME: &'static str = "MsgSubmitBlockHeadersResponse";
1168 const PACKAGE: &'static str = "side.btcbridge";
1169 fn full_name() -> ::prost::alloc::string::String {
1170 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1171 }
1172}
1173#[allow(clippy::derive_partial_eq_without_eq)]
1175#[derive(Clone, PartialEq, ::prost::Message)]
1176pub struct MsgSubmitDepositTransaction {
1177 #[prost(string, tag = "1")]
1179 pub sender: ::prost::alloc::string::String,
1180 #[prost(string, tag = "2")]
1181 pub blockhash: ::prost::alloc::string::String,
1182 #[prost(string, tag = "3")]
1185 pub prev_tx_bytes: ::prost::alloc::string::String,
1186 #[prost(string, tag = "4")]
1188 pub tx_bytes: ::prost::alloc::string::String,
1189 #[prost(string, repeated, tag = "5")]
1190 pub proof: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1191}
1192impl ::prost::Name for MsgSubmitDepositTransaction {
1193 const NAME: &'static str = "MsgSubmitDepositTransaction";
1194 const PACKAGE: &'static str = "side.btcbridge";
1195 fn full_name() -> ::prost::alloc::string::String {
1196 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1197 }
1198}
1199#[allow(clippy::derive_partial_eq_without_eq)]
1201#[derive(Clone, PartialEq, ::prost::Message)]
1202pub struct MsgSubmitDepositTransactionResponse {}
1203impl ::prost::Name for MsgSubmitDepositTransactionResponse {
1204 const NAME: &'static str = "MsgSubmitDepositTransactionResponse";
1205 const PACKAGE: &'static str = "side.btcbridge";
1206 fn full_name() -> ::prost::alloc::string::String {
1207 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1208 }
1209}
1210#[allow(clippy::derive_partial_eq_without_eq)]
1212#[derive(Clone, PartialEq, ::prost::Message)]
1213pub struct MsgSubmitWithdrawTransaction {
1214 #[prost(string, tag = "1")]
1216 pub sender: ::prost::alloc::string::String,
1217 #[prost(string, tag = "2")]
1218 pub blockhash: ::prost::alloc::string::String,
1219 #[prost(string, tag = "3")]
1221 pub tx_bytes: ::prost::alloc::string::String,
1222 #[prost(string, repeated, tag = "4")]
1223 pub proof: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1224}
1225impl ::prost::Name for MsgSubmitWithdrawTransaction {
1226 const NAME: &'static str = "MsgSubmitWithdrawTransaction";
1227 const PACKAGE: &'static str = "side.btcbridge";
1228 fn full_name() -> ::prost::alloc::string::String {
1229 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1230 }
1231}
1232#[allow(clippy::derive_partial_eq_without_eq)]
1234#[derive(Clone, PartialEq, ::prost::Message)]
1235pub struct MsgSubmitWithdrawTransactionResponse {}
1236impl ::prost::Name for MsgSubmitWithdrawTransactionResponse {
1237 const NAME: &'static str = "MsgSubmitWithdrawTransactionResponse";
1238 const PACKAGE: &'static str = "side.btcbridge";
1239 fn full_name() -> ::prost::alloc::string::String {
1240 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1241 }
1242}
1243#[allow(clippy::derive_partial_eq_without_eq)]
1245#[derive(Clone, PartialEq, ::prost::Message)]
1246pub struct MsgSubmitFeeRate {
1247 #[prost(string, tag = "1")]
1248 pub sender: ::prost::alloc::string::String,
1249 #[prost(int64, tag = "2")]
1250 pub fee_rate: i64,
1251}
1252impl ::prost::Name for MsgSubmitFeeRate {
1253 const NAME: &'static str = "MsgSubmitFeeRate";
1254 const PACKAGE: &'static str = "side.btcbridge";
1255 fn full_name() -> ::prost::alloc::string::String {
1256 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1257 }
1258}
1259#[allow(clippy::derive_partial_eq_without_eq)]
1261#[derive(Clone, PartialEq, ::prost::Message)]
1262pub struct MsgSubmitFeeRateResponse {}
1263impl ::prost::Name for MsgSubmitFeeRateResponse {
1264 const NAME: &'static str = "MsgSubmitFeeRateResponse";
1265 const PACKAGE: &'static str = "side.btcbridge";
1266 fn full_name() -> ::prost::alloc::string::String {
1267 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1268 }
1269}
1270#[allow(clippy::derive_partial_eq_without_eq)]
1272#[derive(Clone, PartialEq, ::prost::Message)]
1273pub struct MsgUpdateTrustedNonBtcRelayers {
1274 #[prost(string, tag = "1")]
1275 pub sender: ::prost::alloc::string::String,
1276 #[prost(string, repeated, tag = "2")]
1277 pub relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1278}
1279impl ::prost::Name for MsgUpdateTrustedNonBtcRelayers {
1280 const NAME: &'static str = "MsgUpdateTrustedNonBtcRelayers";
1281 const PACKAGE: &'static str = "side.btcbridge";
1282 fn full_name() -> ::prost::alloc::string::String {
1283 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1284 }
1285}
1286#[allow(clippy::derive_partial_eq_without_eq)]
1288#[derive(Clone, PartialEq, ::prost::Message)]
1289pub struct MsgUpdateTrustedNonBtcRelayersResponse {}
1290impl ::prost::Name for MsgUpdateTrustedNonBtcRelayersResponse {
1291 const NAME: &'static str = "MsgUpdateTrustedNonBtcRelayersResponse";
1292 const PACKAGE: &'static str = "side.btcbridge";
1293 fn full_name() -> ::prost::alloc::string::String {
1294 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1295 }
1296}
1297#[allow(clippy::derive_partial_eq_without_eq)]
1299#[derive(Clone, PartialEq, ::prost::Message)]
1300pub struct MsgUpdateTrustedOracles {
1301 #[prost(string, tag = "1")]
1302 pub sender: ::prost::alloc::string::String,
1303 #[prost(string, repeated, tag = "2")]
1304 pub oracles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1305}
1306impl ::prost::Name for MsgUpdateTrustedOracles {
1307 const NAME: &'static str = "MsgUpdateTrustedOracles";
1308 const PACKAGE: &'static str = "side.btcbridge";
1309 fn full_name() -> ::prost::alloc::string::String {
1310 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1311 }
1312}
1313#[allow(clippy::derive_partial_eq_without_eq)]
1315#[derive(Clone, PartialEq, ::prost::Message)]
1316pub struct MsgUpdateTrustedOraclesResponse {}
1317impl ::prost::Name for MsgUpdateTrustedOraclesResponse {
1318 const NAME: &'static str = "MsgUpdateTrustedOraclesResponse";
1319 const PACKAGE: &'static str = "side.btcbridge";
1320 fn full_name() -> ::prost::alloc::string::String {
1321 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1322 }
1323}
1324#[allow(clippy::derive_partial_eq_without_eq)]
1326#[derive(Clone, PartialEq, ::prost::Message)]
1327pub struct MsgWithdrawToBitcoin {
1328 #[prost(string, tag = "1")]
1329 pub sender: ::prost::alloc::string::String,
1330 #[prost(string, tag = "2")]
1332 pub amount: ::prost::alloc::string::String,
1333}
1334impl ::prost::Name for MsgWithdrawToBitcoin {
1335 const NAME: &'static str = "MsgWithdrawToBitcoin";
1336 const PACKAGE: &'static str = "side.btcbridge";
1337 fn full_name() -> ::prost::alloc::string::String {
1338 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1339 }
1340}
1341#[allow(clippy::derive_partial_eq_without_eq)]
1343#[derive(Clone, PartialEq, ::prost::Message)]
1344pub struct MsgWithdrawToBitcoinResponse {}
1345impl ::prost::Name for MsgWithdrawToBitcoinResponse {
1346 const NAME: &'static str = "MsgWithdrawToBitcoinResponse";
1347 const PACKAGE: &'static str = "side.btcbridge";
1348 fn full_name() -> ::prost::alloc::string::String {
1349 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1350 }
1351}
1352#[allow(clippy::derive_partial_eq_without_eq)]
1354#[derive(Clone, PartialEq, ::prost::Message)]
1355pub struct MsgSubmitSignatures {
1356 #[prost(string, tag = "1")]
1357 pub sender: ::prost::alloc::string::String,
1358 #[prost(string, tag = "2")]
1359 pub txid: ::prost::alloc::string::String,
1360 #[prost(string, tag = "3")]
1361 pub psbt: ::prost::alloc::string::String,
1362}
1363impl ::prost::Name for MsgSubmitSignatures {
1364 const NAME: &'static str = "MsgSubmitSignatures";
1365 const PACKAGE: &'static str = "side.btcbridge";
1366 fn full_name() -> ::prost::alloc::string::String {
1367 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1368 }
1369}
1370#[allow(clippy::derive_partial_eq_without_eq)]
1372#[derive(Clone, PartialEq, ::prost::Message)]
1373pub struct MsgSubmitSignaturesResponse {}
1374impl ::prost::Name for MsgSubmitSignaturesResponse {
1375 const NAME: &'static str = "MsgSubmitSignaturesResponse";
1376 const PACKAGE: &'static str = "side.btcbridge";
1377 fn full_name() -> ::prost::alloc::string::String {
1378 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1379 }
1380}
1381#[allow(clippy::derive_partial_eq_without_eq)]
1383#[derive(Clone, PartialEq, ::prost::Message)]
1384pub struct MsgConsolidateVaults {
1385 #[prost(string, tag = "1")]
1387 pub authority: ::prost::alloc::string::String,
1388 #[prost(uint64, tag = "2")]
1390 pub vault_version: u64,
1391 #[prost(message, optional, tag = "3")]
1393 pub btc_consolidation: ::core::option::Option<BtcConsolidation>,
1394 #[prost(message, repeated, tag = "4")]
1396 pub runes_consolidations: ::prost::alloc::vec::Vec<RunesConsolidation>,
1397}
1398impl ::prost::Name for MsgConsolidateVaults {
1399 const NAME: &'static str = "MsgConsolidateVaults";
1400 const PACKAGE: &'static str = "side.btcbridge";
1401 fn full_name() -> ::prost::alloc::string::String {
1402 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1403 }
1404}
1405#[allow(clippy::derive_partial_eq_without_eq)]
1407#[derive(Clone, PartialEq, ::prost::Message)]
1408pub struct MsgConsolidateVaultsResponse {}
1409impl ::prost::Name for MsgConsolidateVaultsResponse {
1410 const NAME: &'static str = "MsgConsolidateVaultsResponse";
1411 const PACKAGE: &'static str = "side.btcbridge";
1412 fn full_name() -> ::prost::alloc::string::String {
1413 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1414 }
1415}
1416#[allow(clippy::derive_partial_eq_without_eq)]
1418#[derive(Clone, PartialEq, ::prost::Message)]
1419pub struct MsgInitiateDkg {
1420 #[prost(string, tag = "1")]
1422 pub authority: ::prost::alloc::string::String,
1423 #[prost(message, repeated, tag = "2")]
1425 pub participants: ::prost::alloc::vec::Vec<DkgParticipant>,
1426 #[prost(uint32, tag = "3")]
1428 pub threshold: u32,
1429 #[prost(enumeration = "AssetType", repeated, tag = "4")]
1431 pub vault_types: ::prost::alloc::vec::Vec<i32>,
1432 #[prost(bool, tag = "5")]
1434 pub enable_transfer: bool,
1435 #[prost(uint32, tag = "6")]
1437 pub target_utxo_num: u32,
1438}
1439impl ::prost::Name for MsgInitiateDkg {
1440 const NAME: &'static str = "MsgInitiateDKG";
1441 const PACKAGE: &'static str = "side.btcbridge";
1442 fn full_name() -> ::prost::alloc::string::String {
1443 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1444 }
1445}
1446#[allow(clippy::derive_partial_eq_without_eq)]
1448#[derive(Clone, PartialEq, ::prost::Message)]
1449pub struct MsgInitiateDkgResponse {}
1450impl ::prost::Name for MsgInitiateDkgResponse {
1451 const NAME: &'static str = "MsgInitiateDKGResponse";
1452 const PACKAGE: &'static str = "side.btcbridge";
1453 fn full_name() -> ::prost::alloc::string::String {
1454 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1455 }
1456}
1457#[allow(clippy::derive_partial_eq_without_eq)]
1459#[derive(Clone, PartialEq, ::prost::Message)]
1460pub struct MsgCompleteDkg {
1461 #[prost(string, tag = "1")]
1463 pub sender: ::prost::alloc::string::String,
1464 #[prost(uint64, tag = "2")]
1466 pub id: u64,
1467 #[prost(string, repeated, tag = "3")]
1469 pub vaults: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1470 #[prost(string, tag = "4")]
1472 pub consensus_address: ::prost::alloc::string::String,
1473 #[prost(string, tag = "5")]
1475 pub signature: ::prost::alloc::string::String,
1476}
1477impl ::prost::Name for MsgCompleteDkg {
1478 const NAME: &'static str = "MsgCompleteDKG";
1479 const PACKAGE: &'static str = "side.btcbridge";
1480 fn full_name() -> ::prost::alloc::string::String {
1481 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1482 }
1483}
1484#[allow(clippy::derive_partial_eq_without_eq)]
1486#[derive(Clone, PartialEq, ::prost::Message)]
1487pub struct MsgCompleteDkgResponse {}
1488impl ::prost::Name for MsgCompleteDkgResponse {
1489 const NAME: &'static str = "MsgCompleteDKGResponse";
1490 const PACKAGE: &'static str = "side.btcbridge";
1491 fn full_name() -> ::prost::alloc::string::String {
1492 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1493 }
1494}
1495#[allow(clippy::derive_partial_eq_without_eq)]
1497#[derive(Clone, PartialEq, ::prost::Message)]
1498pub struct MsgTransferVault {
1499 #[prost(string, tag = "1")]
1501 pub authority: ::prost::alloc::string::String,
1502 #[prost(uint64, tag = "2")]
1504 pub source_version: u64,
1505 #[prost(uint64, tag = "3")]
1507 pub dest_version: u64,
1508 #[prost(enumeration = "AssetType", tag = "4")]
1510 pub asset_type: i32,
1511 #[prost(string, repeated, tag = "5")]
1513 pub psbts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
1514 #[prost(uint32, tag = "6")]
1516 pub target_utxo_num: u32,
1517}
1518impl ::prost::Name for MsgTransferVault {
1519 const NAME: &'static str = "MsgTransferVault";
1520 const PACKAGE: &'static str = "side.btcbridge";
1521 fn full_name() -> ::prost::alloc::string::String {
1522 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1523 }
1524}
1525#[allow(clippy::derive_partial_eq_without_eq)]
1527#[derive(Clone, PartialEq, ::prost::Message)]
1528pub struct MsgTransferVaultResponse {}
1529impl ::prost::Name for MsgTransferVaultResponse {
1530 const NAME: &'static str = "MsgTransferVaultResponse";
1531 const PACKAGE: &'static str = "side.btcbridge";
1532 fn full_name() -> ::prost::alloc::string::String {
1533 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1534 }
1535}
1536#[allow(clippy::derive_partial_eq_without_eq)]
1540#[derive(Clone, PartialEq, ::prost::Message)]
1541pub struct MsgUpdateParams {
1542 #[prost(string, tag = "1")]
1544 pub authority: ::prost::alloc::string::String,
1545 #[prost(message, optional, tag = "2")]
1549 pub params: ::core::option::Option<Params>,
1550}
1551impl ::prost::Name for MsgUpdateParams {
1552 const NAME: &'static str = "MsgUpdateParams";
1553 const PACKAGE: &'static str = "side.btcbridge";
1554 fn full_name() -> ::prost::alloc::string::String {
1555 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1556 }
1557}
1558#[allow(clippy::derive_partial_eq_without_eq)]
1562#[derive(Clone, PartialEq, ::prost::Message)]
1563pub struct MsgUpdateParamsResponse {}
1564impl ::prost::Name for MsgUpdateParamsResponse {
1565 const NAME: &'static str = "MsgUpdateParamsResponse";
1566 const PACKAGE: &'static str = "side.btcbridge";
1567 fn full_name() -> ::prost::alloc::string::String {
1568 ::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
1569 }
1570}
1571include!("side.btcbridge.serde.rs");
1572include!("side.btcbridge.tonic.rs");
1573