#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterchainAccount {
#[prost(message, optional, tag = "1")]
pub base_account: ::core::option::Option<
super::super::super::super::cosmos::auth::v1beta1::BaseAccount,
>,
#[prost(string, tag = "2")]
pub account_owner: ::prost::alloc::string::String,
}
impl ::prost::Name for InterchainAccount {
const NAME: &'static str = "InterchainAccount";
const PACKAGE: &'static str = "ibc.applications.interchain_accounts.v1";
fn full_name() -> ::prost::alloc::string::String {
"ibc.applications.interchain_accounts.v1.InterchainAccount".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/ibc.applications.interchain_accounts.v1.InterchainAccount".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InterchainAccountPacketData {
#[prost(enumeration = "Type", tag = "1")]
pub r#type: i32,
#[prost(bytes = "vec", tag = "2")]
pub data: ::prost::alloc::vec::Vec<u8>,
#[prost(string, tag = "3")]
pub memo: ::prost::alloc::string::String,
}
impl ::prost::Name for InterchainAccountPacketData {
const NAME: &'static str = "InterchainAccountPacketData";
const PACKAGE: &'static str = "ibc.applications.interchain_accounts.v1";
fn full_name() -> ::prost::alloc::string::String {
"ibc.applications.interchain_accounts.v1.InterchainAccountPacketData".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/ibc.applications.interchain_accounts.v1.InterchainAccountPacketData".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CosmosTx {
#[prost(message, repeated, tag = "1")]
pub messages: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>,
}
impl ::prost::Name for CosmosTx {
const NAME: &'static str = "CosmosTx";
const PACKAGE: &'static str = "ibc.applications.interchain_accounts.v1";
fn full_name() -> ::prost::alloc::string::String {
"ibc.applications.interchain_accounts.v1.CosmosTx".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/ibc.applications.interchain_accounts.v1.CosmosTx".into()
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Type {
Unspecified = 0,
ExecuteTx = 1,
}
impl Type {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "TYPE_UNSPECIFIED",
Self::ExecuteTx => "TYPE_EXECUTE_TX",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"TYPE_UNSPECIFIED" => Some(Self::Unspecified),
"TYPE_EXECUTE_TX" => Some(Self::ExecuteTx),
_ => None,
}
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Metadata {
#[prost(string, tag = "1")]
pub version: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub controller_connection_id: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub host_connection_id: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub address: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub encoding: ::prost::alloc::string::String,
#[prost(string, tag = "6")]
pub tx_type: ::prost::alloc::string::String,
}
impl ::prost::Name for Metadata {
const NAME: &'static str = "Metadata";
const PACKAGE: &'static str = "ibc.applications.interchain_accounts.v1";
fn full_name() -> ::prost::alloc::string::String {
"ibc.applications.interchain_accounts.v1.Metadata".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/ibc.applications.interchain_accounts.v1.Metadata".into()
}
}