Skip to content

Commit

Permalink
added missing order types
Browse files Browse the repository at this point in the history
  • Loading branch information
DrunkRandomWalker committed Dec 18, 2023
1 parent 65d1a41 commit cbc916f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/injective-cosmwasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 4 additions & 0 deletions packages/injective-cosmwasm/src/exchange/order.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cbc916f

Please sign in to comment.