From cbc916faaa004294200dda9868265676267fe436 Mon Sep 17 00:00:00 2001 From: DrunkRandomWalker Date: Mon, 18 Dec 2023 10:46:13 -0500 Subject: [PATCH] added missing order types --- packages/injective-cosmwasm/Cargo.toml | 2 +- packages/injective-cosmwasm/src/exchange/order.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/injective-cosmwasm/Cargo.toml b/packages/injective-cosmwasm/Cargo.toml index 65ef006b..37ab1b71 100644 --- a/packages/injective-cosmwasm/Cargo.toml +++ b/packages/injective-cosmwasm/Cargo.toml @@ -11,7 +11,7 @@ license = "Apache-2.0" name = "injective-cosmwasm" readme = "README.md" repository = "https://github.com/InjectiveLabs/cw-injective/tree/master/packages/bindings" -version = "0.2.17" +version = "0.2.18" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/packages/injective-cosmwasm/src/exchange/order.rs b/packages/injective-cosmwasm/src/exchange/order.rs index 5116817e..eef79cac 100644 --- a/packages/injective-cosmwasm/src/exchange/order.rs +++ b/packages/injective-cosmwasm/src/exchange/order.rs @@ -22,6 +22,10 @@ pub enum OrderType { Undefined = 0, Buy = 1, Sell = 2, + StopBuy = 3, + StopSell = 4, + TakeBuy = 5, + TakeSell = 6, BuyPo = 7, SellPo = 8, BuyAtomic = 9,