From a4648b945a8bfe3863fe29d70acd4ded48826f28 Mon Sep 17 00:00:00 2001 From: AmirMahdi Qiasvand Date: Sun, 3 Aug 2025 16:13:14 +0330 Subject: [PATCH] feat: add orderID to agreement confirm req --- market/v1/msg.proto | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/market/v1/msg.proto b/market/v1/msg.proto index c717b7b..a3bbad5 100644 --- a/market/v1/msg.proto +++ b/market/v1/msg.proto @@ -88,7 +88,7 @@ message MarketAssetList { uint32 total_count = 4; } -message PurchaseReq { +message MatchOrderReq { auth.v1.InternalIAM iam = 1; uint64 order_id = 2; double amount = 3; @@ -97,7 +97,7 @@ message PurchaseReq { optional auth.v1.TFA tfa = 5; } -message PurchaseRes { +message MatchOrderRes { uint64 order_id = 1; double calculated_irt_amount = 2; double calculated_asset_amount = 3; @@ -177,8 +177,9 @@ message DeclineMarketContractReq { message ConfirmMarketContractReq { auth.v1.InternalIAM iam = 1; - uint64 agreement_id = 2; - optional auth.v1.TFA tfa = 3; + uint64 order_id = 2; + uint64 agreement_id = 3; + optional auth.v1.TFA tfa = 4; } message MarketContractReq {