Skip to content

Commit

Permalink
rebuild proto
Browse files Browse the repository at this point in the history
  • Loading branch information
jcompagni10 committed May 28, 2024
1 parent a28f20b commit 03d8c3e
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3f76c96c17b02209ff65788d071360ed17c1ad02
3f3c8f4adf20a9f142e1b4a55c83f5d16aa2cef6
3 changes: 3 additions & 0 deletions packages/neutron-sdk/src/proto_types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ pub mod neutron {
}
pub mod dex {
include!("neutron.dex.rs");
pub mod v2 {
include!("neutron.dex.v2.rs");
}
}
pub mod feeburner {
include!("neutron.feeburner.rs");
Expand Down
9 changes: 5 additions & 4 deletions packages/neutron-sdk/src/proto_types/neutron.dex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ pub struct Params {
pub fee_tiers: ::prost::alloc::vec::Vec<u64>,
#[prost(string, tag = "2")]
pub max_true_taker_spread: ::prost::alloc::string::String,
#[prost(bool, tag = "3")]
pub paused: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DepositOptions {
Expand Down Expand Up @@ -156,7 +158,6 @@ pub struct MsgWithdrawal {
pub struct MsgWithdrawalResponse {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgPlaceLimitOrder {
/// TODO: fix wire numbers
#[prost(string, tag = "1")]
pub creator: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
Expand All @@ -166,7 +167,7 @@ pub struct MsgPlaceLimitOrder {
#[prost(string, tag = "4")]
pub token_out: ::prost::alloc::string::String,
/// DEPRECATED: tick_index_in_to_out will be removed in future release; limit_sell_price should be used instead.
#[allow(deprecated)]
#[deprecated]
#[prost(int64, tag = "5")]
pub tick_index_in_to_out: i64,
#[prost(string, tag = "7")]
Expand Down Expand Up @@ -442,15 +443,15 @@ pub struct QueryAllUserDepositsResponse {
::core::option::Option<cosmos_sdk_proto::cosmos::base::query::v1beta1::PageResponse>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAllUserLimitOrdersRequest {
pub struct QueryAllLimitOrderTrancheUserByAddressRequest {
#[prost(string, tag = "1")]
pub address: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub pagination:
::core::option::Option<cosmos_sdk_proto::cosmos::base::query::v1beta1::PageRequest>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAllUserLimitOrdersResponse {
pub struct QueryAllLimitOrderTrancheUserByAddressResponse {
#[prost(message, repeated, tag = "1")]
pub limit_orders: ::prost::alloc::vec::Vec<LimitOrderTrancheUser>,
#[prost(message, optional, tag = "2")]
Expand Down
10 changes: 10 additions & 0 deletions packages/neutron-sdk/src/proto_types/neutron.dex.v2.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// @generated
/// Params defines the parameters for the module.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Params {
#[prost(uint64, repeated, tag = "1")]
pub fee_tiers: ::prost::alloc::vec::Vec<u64>,
#[prost(string, tag = "2")]
pub max_true_taker_spread: ::prost::alloc::string::String,
}
// @@protoc_insertion_point(module)
2 changes: 1 addition & 1 deletion packages/neutron-sdk/src/proto_types/neutron.transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub struct MsgTransferResponse {
/// channel's sequence_id for outgoing ibc packet. Unique per a channel.
#[prost(uint64, tag = "1")]
pub sequence_id: u64,
/// channel src channel on neutron side trasaction was submitted from
/// channel src channel on neutron side transaction was submitted from
#[prost(string, tag = "2")]
pub channel: ::prost::alloc::string::String,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct Params {
/// GenesisState defines the tokenfactory module's genesis state.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenesisState {
/// params defines the paramaters of the module.
/// params defines the parameters of the module.
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
#[prost(message, repeated, tag = "2")]
Expand Down

0 comments on commit 03d8c3e

Please sign in to comment.