diff --git a/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT b/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT index e314328a..1f1f5f9f 100644 --- a/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT +++ b/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT @@ -1 +1 @@ -v3.0.3 +2bf5ac94f7dbb8c31985c8f789bc8e49094adce0 diff --git a/packages/neutron-sdk/src/proto_types/gaia.globalfee.v1beta1.rs b/packages/neutron-sdk/src/proto_types/gaia.globalfee.v1beta1.rs new file mode 100644 index 00000000..e01cd320 --- /dev/null +++ b/packages/neutron-sdk/src/proto_types/gaia.globalfee.v1beta1.rs @@ -0,0 +1,63 @@ +// @generated +/// Params defines the set of module parameters. +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Params { + /// minimum_gas_prices stores the minimum gas price(s) for all TX on the chain. + /// When multiple coins are defined then they are accepted alternatively. + /// The list must be sorted by denoms asc. No duplicate denoms or zero amount + /// values allowed. For more information see + /// + #[prost(message, repeated, tag = "1")] + pub minimum_gas_prices: + ::prost::alloc::vec::Vec, + /// bypass_min_fee_msg_types defines a list of message type urls + /// that are free of fee charge. + #[prost(string, repeated, tag = "2")] + pub bypass_min_fee_msg_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + /// max_total_bypass_min_fee_msg_gas_usage defines the total maximum gas usage + /// allowed for a transaction containing only messages of types in bypass_min_fee_msg_types + /// to bypass fee charge. + #[prost(uint64, tag = "3")] + pub max_total_bypass_min_fee_msg_gas_usage: u64, +} +/// GenesisState - initial state of module +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct GenesisState { + /// Params of this module + #[prost(message, optional, tag = "1")] + pub params: ::core::option::Option, +} +/// QueryMinimumGasPricesRequest is the request type for the +/// Query/MinimumGasPrices RPC method. +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct QueryParamsRequest {} +/// QueryMinimumGasPricesResponse is the response type for the +/// Query/MinimumGasPrices RPC method. +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct QueryParamsResponse { + #[prost(message, optional, tag = "1")] + pub params: ::core::option::Option, +} +// this line is used by starport scaffolding # proto/tx/message + +/// MsgUpdateParams is the MsgUpdateParams request type. +/// +/// Since: 0.47 +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct MsgUpdateParams { + /// Authority is the address of the governance account. + #[prost(string, tag = "1")] + pub authority: ::prost::alloc::string::String, + /// params defines the x/globalfee parameters to update. + /// + /// NOTE: All parameters must be supplied. + #[prost(message, optional, tag = "2")] + pub params: ::core::option::Option, +} +/// MsgUpdateParamsResponse defines the response structure for executing a +/// MsgUpdateParams message. +/// +/// Since: 0.47 +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct MsgUpdateParamsResponse {} +// @@protoc_insertion_point(module) diff --git a/packages/neutron-sdk/src/proto_types/mod.rs b/packages/neutron-sdk/src/proto_types/mod.rs index 9fb1c0ee..03c2a3e9 100644 --- a/packages/neutron-sdk/src/proto_types/mod.rs +++ b/packages/neutron-sdk/src/proto_types/mod.rs @@ -1,3 +1,10 @@ +pub mod gaia { + pub mod globalfee { + pub mod v1beta1 { + include!("gaia.globalfee.v1beta1.rs"); + } + } +} pub mod neutron { pub mod contractmanager { include!("neutron.contractmanager.rs"); diff --git a/packages/neutron-sdk/src/proto_types/neutron.dex.rs b/packages/neutron-sdk/src/proto_types/neutron.dex.rs index 9522221f..77d28e64 100644 --- a/packages/neutron-sdk/src/proto_types/neutron.dex.rs +++ b/packages/neutron-sdk/src/proto_types/neutron.dex.rs @@ -360,11 +360,15 @@ pub struct QueryGetLimitOrderTrancheUserRequest { pub address: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub tranche_key: ::prost::alloc::string::String, + #[prost(bool, tag = "3")] + pub calc_withdrawable_shares: bool, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryGetLimitOrderTrancheUserResponse { #[prost(message, optional, tag = "1")] pub limit_order_tranche_user: ::core::option::Option, + #[prost(string, tag = "2")] + pub withdrawable_shares: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryAllLimitOrderTrancheUserRequest { diff --git a/packages/neutron-sdk/src/proto_types/neutron.interchainqueries.rs b/packages/neutron-sdk/src/proto_types/neutron.interchainqueries.rs index 1d09fed9..ef634f9b 100644 --- a/packages/neutron-sdk/src/proto_types/neutron.interchainqueries.rs +++ b/packages/neutron-sdk/src/proto_types/neutron.interchainqueries.rs @@ -140,7 +140,7 @@ pub struct StorageValue { /// is the Merkle Proof which proves existence of key-value pair in IAVL /// storage #[prost(message, optional, tag = "4")] - pub proof: ::core::option::Option, + pub proof: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Block { @@ -158,15 +158,15 @@ pub struct Block { #[derive(Clone, PartialEq, ::prost::Message)] pub struct TxValue { #[prost(message, optional, tag = "1")] - pub response: ::core::option::Option, + pub response: ::core::option::Option, /// is the Merkle Proof which proves existence of response in block with height /// next_block_header.Height #[prost(message, optional, tag = "2")] - pub delivery_proof: ::core::option::Option, + pub delivery_proof: ::core::option::Option, /// is the Merkle Proof which proves existence of data in block with height /// header.Height #[prost(message, optional, tag = "3")] - pub inclusion_proof: ::core::option::Option, + pub inclusion_proof: ::core::option::Option, /// is body of the transaction #[prost(bytes = "vec", tag = "4")] pub data: ::prost::alloc::vec::Vec, diff --git a/packages/neutron-sdk/src/stargate/dex/types.rs b/packages/neutron-sdk/src/stargate/dex/types.rs index f77bd092..6c4232d6 100644 --- a/packages/neutron-sdk/src/stargate/dex/types.rs +++ b/packages/neutron-sdk/src/stargate/dex/types.rs @@ -237,11 +237,13 @@ impl From for QueryParamsRequest { pub struct LimitOrderTrancheUserRequest { pub address: String, pub tranche_key: String, + pub calc_withdrawable_shares: bool, } #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)] pub struct LimitOrderTrancheUserResponse { pub limit_order_tranche_user: Option, + pub withdrawable_shares: Option, } impl From for QueryGetLimitOrderTrancheUserRequest { @@ -249,6 +251,7 @@ impl From for QueryGetLimitOrderTrancheUserRequest QueryGetLimitOrderTrancheUserRequest { address: v.address, tranche_key: v.tranche_key, + calc_withdrawable_shares: v.calc_withdrawable_shares, } } } @@ -619,7 +622,6 @@ pub struct GetPoolMetadataRequest { #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)] pub struct GetPoolMetadataResponse { - #[serde(rename(deserialize = "Pool_metadata"))] pub pool_metadata: PoolMetadata, } diff --git a/proto-build/buf.neutron.gen.yaml b/proto-build/buf.neutron.gen.yaml index 6e3c3f55..24638da2 100644 --- a/proto-build/buf.neutron.gen.yaml +++ b/proto-build/buf.neutron.gen.yaml @@ -5,4 +5,4 @@ plugins: opt: - extern_path=.cosmos=.cosmos_sdk_proto::cosmos - extern_path=.ibc=.cosmos_sdk_proto::ibc - - extern_path=.tendermint=tendermint_proto::v0_37 \ No newline at end of file + - extern_path=.tendermint=tendermint_proto::v0_38 \ No newline at end of file