use neutron_std_derive::CosmwasmExt;
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/neutron.transfer.MsgTransfer")]
pub struct MsgTransfer {
#[prost(string, tag = "1")]
pub source_port: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub source_channel: ::prost::alloc::string::String,
#[prost(message, optional, tag = "3")]
pub token: ::core::option::Option<super::super::cosmos::base::v1beta1::Coin>,
#[prost(string, tag = "4")]
pub sender: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub receiver: ::prost::alloc::string::String,
#[prost(message, optional, tag = "6")]
pub timeout_height: ::core::option::Option<super::super::ibc::core::client::v1::Height>,
#[prost(uint64, tag = "7")]
#[serde(
serialize_with = "crate::serde::as_str::serialize",
deserialize_with = "crate::serde::as_str::deserialize"
)]
pub timeout_timestamp: u64,
#[prost(string, tag = "8")]
pub memo: ::prost::alloc::string::String,
#[prost(message, optional, tag = "9")]
pub fee: ::core::option::Option<super::feerefunder::Fee>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/neutron.transfer.MsgTransferResponse")]
pub struct MsgTransferResponse {
#[prost(uint64, tag = "1")]
#[serde(alias = "sequenceID")]
#[serde(
serialize_with = "crate::serde::as_str::serialize",
deserialize_with = "crate::serde::as_str::deserialize"
)]
pub sequence_id: u64,
#[prost(string, tag = "2")]
pub channel: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/neutron.transfer.MsgUpdateParams")]
pub struct MsgUpdateParams {
#[prost(string, tag = "1")]
pub signer: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub params: ::core::option::Option<super::super::ibc::applications::transfer::v1::Params>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(
Clone,
PartialEq,
Eq,
::prost::Message,
::serde::Serialize,
::serde::Deserialize,
::schemars::JsonSchema,
CosmwasmExt,
)]
#[proto_message(type_url = "/neutron.transfer.MsgUpdateParamsResponse")]
pub struct MsgUpdateParamsResponse {}
#[allow(dead_code)]
pub struct TransferQuerier<'a, Q: cosmwasm_std::CustomQuery> {
querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>,
}
impl<'a, Q: cosmwasm_std::CustomQuery> TransferQuerier<'a, Q> {
pub fn new(querier: &'a cosmwasm_std::QuerierWrapper<'a, Q>) -> Self {
Self { querier }
}
}