#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Params {
#[prost(int32, tag = "1")]
pub confirmations: i32,
#[prost(uint64, tag = "2")]
pub max_acceptable_block_depth: u64,
#[prost(string, tag = "3")]
pub btc_voucher_denom: ::prost::alloc::string::String,
#[prost(bool, tag = "4")]
pub deposit_enabled: bool,
#[prost(bool, tag = "5")]
pub withdraw_enabled: bool,
#[prost(string, repeated, tag = "6")]
pub trusted_btc_relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, repeated, tag = "7")]
pub trusted_non_btc_relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, repeated, tag = "8")]
pub trusted_oracles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(int64, tag = "9")]
pub fee_rate_validity_period: i64,
#[prost(message, repeated, tag = "10")]
pub vaults: ::prost::alloc::vec::Vec<Vault>,
#[prost(message, optional, tag = "11")]
pub withdraw_params: ::core::option::Option<WithdrawParams>,
#[prost(message, optional, tag = "12")]
pub protocol_limits: ::core::option::Option<ProtocolLimits>,
#[prost(message, optional, tag = "13")]
pub protocol_fees: ::core::option::Option<ProtocolFees>,
#[prost(message, optional, tag = "14")]
pub tss_params: ::core::option::Option<TssParams>,
}
impl ::prost::Name for Params {
const NAME: &'static str = "Params";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Vault {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub pub_key: ::prost::alloc::string::String,
#[prost(enumeration = "AssetType", tag = "3")]
pub asset_type: i32,
#[prost(uint64, tag = "4")]
pub version: u64,
}
impl ::prost::Name for Vault {
const NAME: &'static str = "Vault";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WithdrawParams {
#[prost(uint32, tag = "1")]
pub max_utxo_num: u32,
#[prost(int64, tag = "2")]
pub btc_batch_withdraw_period: i64,
#[prost(uint32, tag = "3")]
pub max_btc_batch_withdraw_num: u32,
}
impl ::prost::Name for WithdrawParams {
const NAME: &'static str = "WithdrawParams";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtocolLimits {
#[prost(int64, tag = "1")]
pub btc_min_deposit: i64,
#[prost(int64, tag = "2")]
pub btc_min_withdraw: i64,
#[prost(int64, tag = "3")]
pub btc_max_withdraw: i64,
}
impl ::prost::Name for ProtocolLimits {
const NAME: &'static str = "ProtocolLimits";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtocolFees {
#[prost(int64, tag = "1")]
pub deposit_fee: i64,
#[prost(int64, tag = "2")]
pub withdraw_fee: i64,
#[prost(string, tag = "3")]
pub collector: ::prost::alloc::string::String,
}
impl ::prost::Name for ProtocolFees {
const NAME: &'static str = "ProtocolFees";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TssParams {
#[prost(message, optional, tag = "1")]
pub dkg_timeout_period: ::core::option::Option<::tendermint_proto::google::protobuf::Duration>,
#[prost(message, optional, tag = "2")]
pub participant_update_transition_period:
::core::option::Option<::tendermint_proto::google::protobuf::Duration>,
}
impl ::prost::Name for TssParams {
const NAME: &'static str = "TSSParams";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum AssetType {
Unspecified = 0,
Btc = 1,
Brc20 = 2,
Runes = 3,
}
impl AssetType {
pub fn as_str_name(&self) -> &'static str {
match self {
AssetType::Unspecified => "ASSET_TYPE_UNSPECIFIED",
AssetType::Btc => "ASSET_TYPE_BTC",
AssetType::Brc20 => "ASSET_TYPE_BRC20",
AssetType::Runes => "ASSET_TYPE_RUNES",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"ASSET_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
"ASSET_TYPE_BTC" => Some(Self::Btc),
"ASSET_TYPE_BRC20" => Some(Self::Brc20),
"ASSET_TYPE_RUNES" => Some(Self::Runes),
_ => None,
}
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BlockHeader {
#[prost(uint64, tag = "1")]
pub version: u64,
#[prost(string, tag = "2")]
pub hash: ::prost::alloc::string::String,
#[prost(uint64, tag = "3")]
pub height: u64,
#[prost(string, tag = "4")]
pub previous_block_hash: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub merkle_root: ::prost::alloc::string::String,
#[prost(uint64, tag = "6")]
pub nonce: u64,
#[prost(string, tag = "7")]
pub bits: ::prost::alloc::string::String,
#[prost(uint64, tag = "8")]
pub time: u64,
#[prost(uint64, tag = "9")]
pub ntx: u64,
}
impl ::prost::Name for BlockHeader {
const NAME: &'static str = "BlockHeader";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FeeRate {
#[prost(int64, tag = "1")]
pub value: i64,
#[prost(int64, tag = "2")]
pub height: i64,
}
impl ::prost::Name for FeeRate {
const NAME: &'static str = "FeeRate";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigningRequest {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub sequence: u64,
#[prost(string, tag = "3")]
pub txid: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub psbt: ::prost::alloc::string::String,
#[prost(message, optional, tag = "5")]
pub creation_time: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
#[prost(enumeration = "SigningStatus", tag = "6")]
pub status: i32,
}
impl ::prost::Name for SigningRequest {
const NAME: &'static str = "SigningRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WithdrawRequest {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub amount: ::prost::alloc::string::String,
#[prost(uint64, tag = "3")]
pub sequence: u64,
#[prost(string, tag = "4")]
pub txid: ::prost::alloc::string::String,
}
impl ::prost::Name for WithdrawRequest {
const NAME: &'static str = "WithdrawRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Utxo {
#[prost(string, tag = "1")]
pub txid: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub vout: u64,
#[prost(string, tag = "3")]
pub address: ::prost::alloc::string::String,
#[prost(uint64, tag = "4")]
pub amount: u64,
#[prost(uint64, tag = "5")]
pub height: u64,
#[prost(bytes = "vec", tag = "6")]
pub pub_key_script: ::prost::alloc::vec::Vec<u8>,
#[prost(bool, tag = "7")]
pub is_locked: bool,
#[prost(message, repeated, tag = "8")]
pub runes: ::prost::alloc::vec::Vec<RuneBalance>,
}
impl ::prost::Name for Utxo {
const NAME: &'static str = "UTXO";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RuneBalance {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub amount: ::prost::alloc::string::String,
}
impl ::prost::Name for RuneBalance {
const NAME: &'static str = "RuneBalance";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RuneId {
#[prost(uint64, tag = "1")]
pub block: u64,
#[prost(uint32, tag = "2")]
pub tx: u32,
}
impl ::prost::Name for RuneId {
const NAME: &'static str = "RuneId";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Edict {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<RuneId>,
#[prost(string, tag = "2")]
pub amount: ::prost::alloc::string::String,
#[prost(uint32, tag = "3")]
pub output: u32,
}
impl ::prost::Name for Edict {
const NAME: &'static str = "Edict";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BtcConsolidation {
#[prost(int64, tag = "1")]
pub target_threshold: i64,
#[prost(uint32, tag = "2")]
pub max_num: u32,
}
impl ::prost::Name for BtcConsolidation {
const NAME: &'static str = "BtcConsolidation";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RunesConsolidation {
#[prost(string, tag = "1")]
pub rune_id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub target_threshold: ::prost::alloc::string::String,
#[prost(uint32, tag = "3")]
pub max_num: u32,
}
impl ::prost::Name for RunesConsolidation {
const NAME: &'static str = "RunesConsolidation";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DkgParticipant {
#[prost(string, tag = "1")]
pub moniker: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub operator_address: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub consensus_pubkey: ::prost::alloc::string::String,
}
impl ::prost::Name for DkgParticipant {
const NAME: &'static str = "DKGParticipant";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DkgRequest {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(message, repeated, tag = "2")]
pub participants: ::prost::alloc::vec::Vec<DkgParticipant>,
#[prost(uint32, tag = "3")]
pub threshold: u32,
#[prost(enumeration = "AssetType", repeated, tag = "4")]
pub vault_types: ::prost::alloc::vec::Vec<i32>,
#[prost(bool, tag = "5")]
pub enable_transfer: bool,
#[prost(uint32, tag = "6")]
pub target_utxo_num: u32,
#[prost(message, optional, tag = "7")]
pub expiration: ::core::option::Option<::tendermint_proto::google::protobuf::Timestamp>,
#[prost(enumeration = "DkgRequestStatus", tag = "8")]
pub status: i32,
}
impl ::prost::Name for DkgRequest {
const NAME: &'static str = "DKGRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DkgCompletionRequest {
#[prost(uint64, tag = "1")]
pub id: u64,
#[prost(string, tag = "2")]
pub sender: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "3")]
pub vaults: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, tag = "4")]
pub consensus_address: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub signature: ::prost::alloc::string::String,
}
impl ::prost::Name for DkgCompletionRequest {
const NAME: &'static str = "DKGCompletionRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SigningStatus {
Unspecified = 0,
Pending = 1,
Broadcasted = 2,
Confirmed = 3,
Failed = 4,
}
impl SigningStatus {
pub fn as_str_name(&self) -> &'static str {
match self {
SigningStatus::Unspecified => "SIGNING_STATUS_UNSPECIFIED",
SigningStatus::Pending => "SIGNING_STATUS_PENDING",
SigningStatus::Broadcasted => "SIGNING_STATUS_BROADCASTED",
SigningStatus::Confirmed => "SIGNING_STATUS_CONFIRMED",
SigningStatus::Failed => "SIGNING_STATUS_FAILED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"SIGNING_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
"SIGNING_STATUS_PENDING" => Some(Self::Pending),
"SIGNING_STATUS_BROADCASTED" => Some(Self::Broadcasted),
"SIGNING_STATUS_CONFIRMED" => Some(Self::Confirmed),
"SIGNING_STATUS_FAILED" => Some(Self::Failed),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DkgRequestStatus {
Unspecified = 0,
Pending = 1,
Completed = 2,
Failed = 3,
Timedout = 4,
}
impl DkgRequestStatus {
pub fn as_str_name(&self) -> &'static str {
match self {
DkgRequestStatus::Unspecified => "DKG_REQUEST_STATUS_UNSPECIFIED",
DkgRequestStatus::Pending => "DKG_REQUEST_STATUS_PENDING",
DkgRequestStatus::Completed => "DKG_REQUEST_STATUS_COMPLETED",
DkgRequestStatus::Failed => "DKG_REQUEST_STATUS_FAILED",
DkgRequestStatus::Timedout => "DKG_REQUEST_STATUS_TIMEDOUT",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"DKG_REQUEST_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
"DKG_REQUEST_STATUS_PENDING" => Some(Self::Pending),
"DKG_REQUEST_STATUS_COMPLETED" => Some(Self::Completed),
"DKG_REQUEST_STATUS_FAILED" => Some(Self::Failed),
"DKG_REQUEST_STATUS_TIMEDOUT" => Some(Self::Timedout),
_ => None,
}
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenesisState {
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
#[prost(message, optional, tag = "2")]
pub best_block_header: ::core::option::Option<BlockHeader>,
#[prost(message, repeated, tag = "3")]
pub block_headers: ::prost::alloc::vec::Vec<BlockHeader>,
#[prost(message, repeated, tag = "4")]
pub utxos: ::prost::alloc::vec::Vec<Utxo>,
}
impl ::prost::Name for GenesisState {
const NAME: &'static str = "GenesisState";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryWithdrawRequestsByAddressRequest {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryWithdrawRequestsByAddressRequest {
const NAME: &'static str = "QueryWithdrawRequestsByAddressRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryWithdrawRequestsByAddressResponse {
#[prost(message, repeated, tag = "1")]
pub requests: ::prost::alloc::vec::Vec<WithdrawRequest>,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryWithdrawRequestsByAddressResponse {
const NAME: &'static str = "QueryWithdrawRequestsByAddressResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryWithdrawRequestsByTxHashRequest {
#[prost(string, tag = "1")]
pub txid: ::prost::alloc::string::String,
}
impl ::prost::Name for QueryWithdrawRequestsByTxHashRequest {
const NAME: &'static str = "QueryWithdrawRequestsByTxHashRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryWithdrawRequestsByTxHashResponse {
#[prost(message, repeated, tag = "1")]
pub requests: ::prost::alloc::vec::Vec<WithdrawRequest>,
}
impl ::prost::Name for QueryWithdrawRequestsByTxHashResponse {
const NAME: &'static str = "QueryWithdrawRequestsByTxHashResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryPendingBtcWithdrawRequestsRequest {
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QueryPendingBtcWithdrawRequestsRequest {
const NAME: &'static str = "QueryPendingBtcWithdrawRequestsRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryPendingBtcWithdrawRequestsResponse {
#[prost(message, repeated, tag = "1")]
pub requests: ::prost::alloc::vec::Vec<WithdrawRequest>,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QueryPendingBtcWithdrawRequestsResponse {
const NAME: &'static str = "QueryPendingBtcWithdrawRequestsResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySigningRequestsRequest {
#[prost(enumeration = "SigningStatus", tag = "1")]
pub status: i32,
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QuerySigningRequestsRequest {
const NAME: &'static str = "QuerySigningRequestsRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySigningRequestsResponse {
#[prost(message, repeated, tag = "1")]
pub requests: ::prost::alloc::vec::Vec<SigningRequest>,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QuerySigningRequestsResponse {
const NAME: &'static str = "QuerySigningRequestsResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySigningRequestsByAddressRequest {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub pagination: ::core::option::Option<super::super::cosmos::base::query::v1beta1::PageRequest>,
}
impl ::prost::Name for QuerySigningRequestsByAddressRequest {
const NAME: &'static str = "QuerySigningRequestsByAddressRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySigningRequestsByAddressResponse {
#[prost(message, repeated, tag = "1")]
pub requests: ::prost::alloc::vec::Vec<SigningRequest>,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<super::super::cosmos::base::query::v1beta1::PageResponse>,
}
impl ::prost::Name for QuerySigningRequestsByAddressResponse {
const NAME: &'static str = "QuerySigningRequestsByAddressResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySigningRequestByTxHashRequest {
#[prost(string, tag = "1")]
pub txid: ::prost::alloc::string::String,
}
impl ::prost::Name for QuerySigningRequestByTxHashRequest {
const NAME: &'static str = "QuerySigningRequestByTxHashRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QuerySigningRequestByTxHashResponse {
#[prost(message, optional, tag = "1")]
pub request: ::core::option::Option<SigningRequest>,
}
impl ::prost::Name for QuerySigningRequestByTxHashResponse {
const NAME: &'static str = "QuerySigningRequestByTxHashResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryFeeRateRequest {}
impl ::prost::Name for QueryFeeRateRequest {
const NAME: &'static str = "QueryFeeRateRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryFeeRateResponse {
#[prost(message, optional, tag = "1")]
pub fee_rate: ::core::option::Option<FeeRate>,
}
impl ::prost::Name for QueryFeeRateResponse {
const NAME: &'static str = "QueryFeeRateResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryWithdrawalNetworkFeeRequest {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub amount: ::prost::alloc::string::String,
#[prost(int64, tag = "3")]
pub fee_rate: i64,
}
impl ::prost::Name for QueryWithdrawalNetworkFeeRequest {
const NAME: &'static str = "QueryWithdrawalNetworkFeeRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryWithdrawalNetworkFeeResponse {
#[prost(int64, tag = "1")]
pub fee_rate: i64,
#[prost(string, tag = "2")]
pub fee: ::prost::alloc::string::String,
}
impl ::prost::Name for QueryWithdrawalNetworkFeeResponse {
const NAME: &'static str = "QueryWithdrawalNetworkFeeResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamsRequest {}
impl ::prost::Name for QueryParamsRequest {
const NAME: &'static str = "QueryParamsRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamsResponse {
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
}
impl ::prost::Name for QueryParamsResponse {
const NAME: &'static str = "QueryParamsResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryChainTipRequest {}
impl ::prost::Name for QueryChainTipRequest {
const NAME: &'static str = "QueryChainTipRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryChainTipResponse {
#[prost(string, tag = "1")]
pub hash: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub height: u64,
}
impl ::prost::Name for QueryChainTipResponse {
const NAME: &'static str = "QueryChainTipResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryBlockHeaderByHeightRequest {
#[prost(uint64, tag = "1")]
pub height: u64,
}
impl ::prost::Name for QueryBlockHeaderByHeightRequest {
const NAME: &'static str = "QueryBlockHeaderByHeightRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryBlockHeaderByHeightResponse {
#[prost(message, optional, tag = "1")]
pub block_header: ::core::option::Option<BlockHeader>,
}
impl ::prost::Name for QueryBlockHeaderByHeightResponse {
const NAME: &'static str = "QueryBlockHeaderByHeightResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryBlockHeaderByHashRequest {
#[prost(string, tag = "1")]
pub hash: ::prost::alloc::string::String,
}
impl ::prost::Name for QueryBlockHeaderByHashRequest {
const NAME: &'static str = "QueryBlockHeaderByHashRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryBlockHeaderByHashResponse {
#[prost(message, optional, tag = "1")]
pub block_header: ::core::option::Option<BlockHeader>,
}
impl ::prost::Name for QueryBlockHeaderByHashResponse {
const NAME: &'static str = "QueryBlockHeaderByHashResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryUtxOsRequest {}
impl ::prost::Name for QueryUtxOsRequest {
const NAME: &'static str = "QueryUTXOsRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryUtxOsResponse {
#[prost(message, repeated, tag = "1")]
pub utxos: ::prost::alloc::vec::Vec<Utxo>,
}
impl ::prost::Name for QueryUtxOsResponse {
const NAME: &'static str = "QueryUTXOsResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryUtxOsByAddressRequest {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
}
impl ::prost::Name for QueryUtxOsByAddressRequest {
const NAME: &'static str = "QueryUTXOsByAddressRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryUtxOsByAddressResponse {
#[prost(message, repeated, tag = "1")]
pub utxos: ::prost::alloc::vec::Vec<Utxo>,
}
impl ::prost::Name for QueryUtxOsByAddressResponse {
const NAME: &'static str = "QueryUTXOsByAddressResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryUtxoCountAndBalancesByAddressRequest {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
}
impl ::prost::Name for QueryUtxoCountAndBalancesByAddressRequest {
const NAME: &'static str = "QueryUTXOCountAndBalancesByAddressRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryUtxoCountAndBalancesByAddressResponse {
#[prost(uint32, tag = "1")]
pub count: u32,
#[prost(int64, tag = "2")]
pub value: i64,
#[prost(message, repeated, tag = "3")]
pub rune_balances: ::prost::alloc::vec::Vec<RuneBalance>,
}
impl ::prost::Name for QueryUtxoCountAndBalancesByAddressResponse {
const NAME: &'static str = "QueryUTXOCountAndBalancesByAddressResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgRequestRequest {
#[prost(uint64, tag = "1")]
pub id: u64,
}
impl ::prost::Name for QueryDkgRequestRequest {
const NAME: &'static str = "QueryDKGRequestRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgRequestResponse {
#[prost(message, optional, tag = "1")]
pub request: ::core::option::Option<DkgRequest>,
}
impl ::prost::Name for QueryDkgRequestResponse {
const NAME: &'static str = "QueryDKGRequestResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgRequestsRequest {
#[prost(enumeration = "DkgRequestStatus", tag = "1")]
pub status: i32,
}
impl ::prost::Name for QueryDkgRequestsRequest {
const NAME: &'static str = "QueryDKGRequestsRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgRequestsResponse {
#[prost(message, repeated, tag = "1")]
pub requests: ::prost::alloc::vec::Vec<DkgRequest>,
}
impl ::prost::Name for QueryDkgRequestsResponse {
const NAME: &'static str = "QueryDKGRequestsResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAllDkgRequestsRequest {}
impl ::prost::Name for QueryAllDkgRequestsRequest {
const NAME: &'static str = "QueryAllDKGRequestsRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAllDkgRequestsResponse {
#[prost(message, repeated, tag = "1")]
pub requests: ::prost::alloc::vec::Vec<DkgRequest>,
}
impl ::prost::Name for QueryAllDkgRequestsResponse {
const NAME: &'static str = "QueryAllDKGRequestsResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgCompletionRequestsRequest {
#[prost(uint64, tag = "1")]
pub id: u64,
}
impl ::prost::Name for QueryDkgCompletionRequestsRequest {
const NAME: &'static str = "QueryDKGCompletionRequestsRequest";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDkgCompletionRequestsResponse {
#[prost(message, repeated, tag = "1")]
pub requests: ::prost::alloc::vec::Vec<DkgCompletionRequest>,
}
impl ::prost::Name for QueryDkgCompletionRequestsResponse {
const NAME: &'static str = "QueryDKGCompletionRequestsResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitBlockHeaders {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "2")]
pub block_headers: ::prost::alloc::vec::Vec<BlockHeader>,
}
impl ::prost::Name for MsgSubmitBlockHeaders {
const NAME: &'static str = "MsgSubmitBlockHeaders";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitBlockHeadersResponse {}
impl ::prost::Name for MsgSubmitBlockHeadersResponse {
const NAME: &'static str = "MsgSubmitBlockHeadersResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitDepositTransaction {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub blockhash: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub prev_tx_bytes: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub tx_bytes: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "5")]
pub proof: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for MsgSubmitDepositTransaction {
const NAME: &'static str = "MsgSubmitDepositTransaction";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitDepositTransactionResponse {}
impl ::prost::Name for MsgSubmitDepositTransactionResponse {
const NAME: &'static str = "MsgSubmitDepositTransactionResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitWithdrawTransaction {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub blockhash: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub tx_bytes: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "4")]
pub proof: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for MsgSubmitWithdrawTransaction {
const NAME: &'static str = "MsgSubmitWithdrawTransaction";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitWithdrawTransactionResponse {}
impl ::prost::Name for MsgSubmitWithdrawTransactionResponse {
const NAME: &'static str = "MsgSubmitWithdrawTransactionResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitFeeRate {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(int64, tag = "2")]
pub fee_rate: i64,
}
impl ::prost::Name for MsgSubmitFeeRate {
const NAME: &'static str = "MsgSubmitFeeRate";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitFeeRateResponse {}
impl ::prost::Name for MsgSubmitFeeRateResponse {
const NAME: &'static str = "MsgSubmitFeeRateResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateTrustedNonBtcRelayers {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "2")]
pub relayers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for MsgUpdateTrustedNonBtcRelayers {
const NAME: &'static str = "MsgUpdateTrustedNonBtcRelayers";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateTrustedNonBtcRelayersResponse {}
impl ::prost::Name for MsgUpdateTrustedNonBtcRelayersResponse {
const NAME: &'static str = "MsgUpdateTrustedNonBtcRelayersResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateTrustedOracles {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "2")]
pub oracles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for MsgUpdateTrustedOracles {
const NAME: &'static str = "MsgUpdateTrustedOracles";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateTrustedOraclesResponse {}
impl ::prost::Name for MsgUpdateTrustedOraclesResponse {
const NAME: &'static str = "MsgUpdateTrustedOraclesResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgWithdrawToBitcoin {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub amount: ::prost::alloc::string::String,
}
impl ::prost::Name for MsgWithdrawToBitcoin {
const NAME: &'static str = "MsgWithdrawToBitcoin";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgWithdrawToBitcoinResponse {}
impl ::prost::Name for MsgWithdrawToBitcoinResponse {
const NAME: &'static str = "MsgWithdrawToBitcoinResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitSignatures {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub txid: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub psbt: ::prost::alloc::string::String,
}
impl ::prost::Name for MsgSubmitSignatures {
const NAME: &'static str = "MsgSubmitSignatures";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgSubmitSignaturesResponse {}
impl ::prost::Name for MsgSubmitSignaturesResponse {
const NAME: &'static str = "MsgSubmitSignaturesResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgConsolidateVaults {
#[prost(string, tag = "1")]
pub authority: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub vault_version: u64,
#[prost(message, optional, tag = "3")]
pub btc_consolidation: ::core::option::Option<BtcConsolidation>,
#[prost(message, repeated, tag = "4")]
pub runes_consolidations: ::prost::alloc::vec::Vec<RunesConsolidation>,
}
impl ::prost::Name for MsgConsolidateVaults {
const NAME: &'static str = "MsgConsolidateVaults";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgConsolidateVaultsResponse {}
impl ::prost::Name for MsgConsolidateVaultsResponse {
const NAME: &'static str = "MsgConsolidateVaultsResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgInitiateDkg {
#[prost(string, tag = "1")]
pub authority: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "2")]
pub participants: ::prost::alloc::vec::Vec<DkgParticipant>,
#[prost(uint32, tag = "3")]
pub threshold: u32,
#[prost(enumeration = "AssetType", repeated, tag = "4")]
pub vault_types: ::prost::alloc::vec::Vec<i32>,
#[prost(bool, tag = "5")]
pub enable_transfer: bool,
#[prost(uint32, tag = "6")]
pub target_utxo_num: u32,
}
impl ::prost::Name for MsgInitiateDkg {
const NAME: &'static str = "MsgInitiateDKG";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgInitiateDkgResponse {}
impl ::prost::Name for MsgInitiateDkgResponse {
const NAME: &'static str = "MsgInitiateDKGResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgCompleteDkg {
#[prost(string, tag = "1")]
pub sender: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub id: u64,
#[prost(string, repeated, tag = "3")]
pub vaults: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, tag = "4")]
pub consensus_address: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub signature: ::prost::alloc::string::String,
}
impl ::prost::Name for MsgCompleteDkg {
const NAME: &'static str = "MsgCompleteDKG";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgCompleteDkgResponse {}
impl ::prost::Name for MsgCompleteDkgResponse {
const NAME: &'static str = "MsgCompleteDKGResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgTransferVault {
#[prost(string, tag = "1")]
pub authority: ::prost::alloc::string::String,
#[prost(uint64, tag = "2")]
pub source_version: u64,
#[prost(uint64, tag = "3")]
pub dest_version: u64,
#[prost(enumeration = "AssetType", tag = "4")]
pub asset_type: i32,
#[prost(string, repeated, tag = "5")]
pub psbts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(uint32, tag = "6")]
pub target_utxo_num: u32,
}
impl ::prost::Name for MsgTransferVault {
const NAME: &'static str = "MsgTransferVault";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgTransferVaultResponse {}
impl ::prost::Name for MsgTransferVaultResponse {
const NAME: &'static str = "MsgTransferVaultResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateParams {
#[prost(string, tag = "1")]
pub authority: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub params: ::core::option::Option<Params>,
}
impl ::prost::Name for MsgUpdateParams {
const NAME: &'static str = "MsgUpdateParams";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateParamsResponse {}
impl ::prost::Name for MsgUpdateParamsResponse {
const NAME: &'static str = "MsgUpdateParamsResponse";
const PACKAGE: &'static str = "side.btcbridge";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("side.btcbridge.{}", Self::NAME)
}
}
include!("side.btcbridge.serde.rs");
include!("side.btcbridge.tonic.rs");