Skip to content

Commit

Permalink
Merge pull request #205 from InjectiveLabs/f/add-order-types
Browse files Browse the repository at this point in the history
added missing order types
  • Loading branch information
gorgos authored Dec 28, 2023
2 parents 03870d4 + f03660b commit f92fb95
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 68 deletions.
136 changes: 68 additions & 68 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 f92fb95

Please sign in to comment.