From f965d1b13c5352494c34ffc9ae36cd0fb37fef11 Mon Sep 17 00:00:00 2001 From: nfel Date: Sun, 9 Mar 2025 14:57:58 +0330 Subject: [PATCH] v2: auth added to purchase order Signed-off-by: nfel --- market/v1/msg.proto | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/market/v1/msg.proto b/market/v1/msg.proto index 84402d9..eda0fbd 100644 --- a/market/v1/msg.proto +++ b/market/v1/msg.proto @@ -42,10 +42,12 @@ message MarketAssetList { } message PurchaseReq { - uint64 order_id = 1; - double amount = 2; - bool accepted_contract = 3; - auth.v1.TFA tfa = 4; + auth.v1.InternalIAM iam = 1; + uint64 order_id = 2; + double amount = 3; + optional bool accepted_contract = 4; + optional auth.v1.TFA tfa = 5; + } message PurchaseRes { uint64 order_id = 1;