Skip to content

Commit

Permalink
Merge pull request #145 from neutron-org/chore/remove-taker-spread-param
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0n00gler authored Jun 6, 2024
2 parents ab2fa67 + 53181bd commit cc1867c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
4 changes: 3 additions & 1 deletion packages/neutron-sdk/src/bindings/dex/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ pub struct MultiHopRoute {
#[serde(rename_all = "snake_case")]
pub struct Params {
pub fee_tiers: Vec<u64>,
pub max_true_taker_spread: Option<PrecDec>,
pub paused: bool,
pub max_jits_per_block: u64,
pub good_til_purge_allowance: u64,
}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema, Default)]
Expand Down
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 @@
3f3c8f4adf20a9f142e1b4a55c83f5d16aa2cef6
3357d418e391c14e1a4800ab640932896ed93fe8
8 changes: 6 additions & 2 deletions packages/neutron-sdk/src/proto_types/neutron.dex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,12 @@ pub struct LimitOrderTranche {
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,
#[prost(bool, tag = "3")]
pub paused: bool,
#[prost(uint64, tag = "4")]
pub max_jits_per_block: u64,
#[prost(uint64, tag = "5")]
pub good_til_purge_allowance: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DepositOptions {
Expand Down
4 changes: 3 additions & 1 deletion packages/neutron-sdk/src/stargate/dex/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,9 @@ impl From<DepositOptions> for DepositOptionsGen {
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
pub struct Params {
pub fee_tiers: Vec<Uint64>,
pub max_true_taker_spread: String,
pub paused: bool,
pub max_jits_per_block: Uint64,
pub good_til_purge_allowance: Uint64,
}

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
Expand Down

0 comments on commit cc1867c

Please sign in to comment.