From e5886d2e86d53f3a15d11b921c2e9d68e2642473 Mon Sep 17 00:00:00 2001 From: nfel Date: Tue, 5 Aug 2025 12:46:46 +0330 Subject: [PATCH] v2: fix Signed-off-by: nfel --- market/v1/msg.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/market/v1/msg.proto b/market/v1/msg.proto index fcfa887..3018143 100644 --- a/market/v1/msg.proto +++ b/market/v1/msg.proto @@ -35,7 +35,7 @@ message CalcMarketReq { double amount = 4; double unit_price = 5; MarketParticipantType participant_type = 6; - market.v1.MarketOrderSide req_side = 7; // For Calculation : can be from asset or irt + wallet.v1.BuyAssetSide req_side = 7; // For Calculation : can be from asset or irt } message CalcMarketRes { @@ -112,6 +112,11 @@ message MarketOrderList { uint32 total_count = 4; } +/* + * participant_type: IS Maker/Taker + * side: IS Buying/Selling + * req_side: IS input (amount) in irt/asset + * */ message NewMarketReq { auth.v1.InternalIAM iam = 1; int64 asset_id = 2;