Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

Commit 2756af6

Browse files
lumtisBarrie ByronTobias Schwarz
authored
refactor(interchange): Simplify order books implementation (#729)
* Buy and sell order refacto * Command changes * Tests * Denis Co-authored-by: Barrie Byron <barrie.byron@tendermint.com> Co-authored-by: Tobias Schwarz <tobias@tendermint.com>
1 parent bbd7579 commit 2756af6

7 files changed

Lines changed: 609 additions & 926 deletions

File tree

interchain-exchange/tutorial/02-app-init.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,11 @@ To scaffold two types with create, read, update and delete (CRUD) actions use th
4545
The following commands create `sellOrderBook` and `buyOrderBook` types.
4646

4747
```bash
48-
starport type sellOrderBook orderIDTrack:int amountDenom priceDenom --indexed --no-message --module ibcdex
49-
starport type buyOrderBook orderIDTrack:int amountDenom priceDenom --indexed --no-message --module ibcdex
48+
starport type sellOrderBook amountDenom priceDenom --indexed --no-message --module ibcdex
49+
starport type buyOrderBook amountDenom priceDenom --indexed --no-message --module ibcdex
5050
```
5151

5252
The values are:
53-
- `orderIDTrack` an internal counter in the order book to assign the orders an ID.
5453
- `amountDenom` represents which token will be sold and in which quantity
5554
- `priceDenom` the token selling price
5655

0 commit comments

Comments
 (0)