maker order id as optional in newmarketorder + typo

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-08-05 12:20:53 +03:30
parent 4f25639e98
commit 523093779a
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F
2 changed files with 4 additions and 3 deletions

View File

@ -124,6 +124,7 @@ message NewMarketReq {
wallet.v1.BuyAssetSide req_side = 7;
MarketOrderSide side = 8;
// TODO: maker market order as optional
optional uint64 maker_order_id = 9;
}
enum MarketOrdersSortBy {

View File

@ -690,11 +690,11 @@ message BuyAssetRes {
/* Contract */
enum ContractType {
CONTRACT_TYPE_ICO = 0;
CONTRACT_TYPE_MARKET = 1;
CONTRACT_TYPE_MARKET = 1; //FIXME: Please remove this :)
CONTRACT_TYPE_BNPL = 2;
CONTRACT_TYPE_REDEEM = 3;
CONTRACT_TYPE_MARKE_MAKER = 4;
CONTRACT_TYPE_MARKE_TAKER = 5;
CONTRACT_TYPE_MARKET_MAKER = 4;
CONTRACT_TYPE_MARKET_TAKER = 5;
}
// agreement_id