diff --git a/packages/neutron-std/src/types/NEUTRON_COMMIT b/packages/neutron-std/src/types/NEUTRON_COMMIT index e4842dc..0641bda 100644 --- a/packages/neutron-std/src/types/NEUTRON_COMMIT +++ b/packages/neutron-std/src/types/NEUTRON_COMMIT @@ -1 +1 @@ -v8.0.0 \ No newline at end of file +3fb7f3eafaff3f0dc968fdf6043f1abaf5e3de62 \ No newline at end of file diff --git a/packages/neutron-std/src/types/neutron/dex/mod.rs b/packages/neutron-std/src/types/neutron/dex/mod.rs index 1d2ac9e..b6df54e 100644 --- a/packages/neutron-std/src/types/neutron/dex/mod.rs +++ b/packages/neutron-std/src/types/neutron/dex/mod.rs @@ -471,6 +471,26 @@ pub struct MsgWithdrawal { ::schemars::JsonSchema, CosmwasmExt, )] +#[proto_message(type_url = "/neutron.dex.MsgWithdrawalWithShares")] +pub struct MsgWithdrawalWithShares { + #[prost(string, tag = "1")] + pub creator: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub receiver: ::prost::alloc::string::String, + #[prost(message, repeated, tag = "3")] + pub shares_to_remove: ::prost::alloc::vec::Vec, +} +#[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.dex.MsgWithdrawalResponse")] pub struct MsgWithdrawalResponse { /// reserve0_withdrawn is DEPRECATED @@ -1832,6 +1852,26 @@ pub struct QuerySimulateWithdrawalRequest { ::schemars::JsonSchema, CosmwasmExt, )] +#[proto_message(type_url = "/neutron.dex.QuerySimulateWithdrawalWithSharesRequest")] +#[proto_query( + path = "/neutron.dex.Query/SimulateWithdrawalWithShares", + response_type = QuerySimulateWithdrawalResponse +)] +pub struct QuerySimulateWithdrawalWithSharesRequest { + #[prost(message, optional, tag = "1")] + pub msg: ::core::option::Option, +} +#[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.dex.QuerySimulateWithdrawalResponse")] pub struct QuerySimulateWithdrawalResponse { #[prost(message, optional, tag = "1")] @@ -2211,6 +2251,12 @@ impl<'a, Q: cosmwasm_std::CustomQuery> DexQuerier<'a, Q> { ) -> Result { QuerySimulateWithdrawalRequest { msg }.query(self.querier) } + pub fn simulate_withdrawal_with_shares( + &self, + msg: ::core::option::Option, + ) -> Result { + QuerySimulateWithdrawalWithSharesRequest { msg }.query(self.querier) + } pub fn simulate_place_limit_order( &self, msg: ::core::option::Option,