feat: add orderID to agreement confirm req

This commit is contained in:
AmirMahdi Qiasvand 2025-08-03 16:13:14 +03:30
parent 9e3c4b9ff0
commit a4648b945a

View File

@ -88,7 +88,7 @@ message MarketAssetList {
uint32 total_count = 4; uint32 total_count = 4;
} }
message PurchaseReq { message MatchOrderReq {
auth.v1.InternalIAM iam = 1; auth.v1.InternalIAM iam = 1;
uint64 order_id = 2; uint64 order_id = 2;
double amount = 3; double amount = 3;
@ -97,7 +97,7 @@ message PurchaseReq {
optional auth.v1.TFA tfa = 5; optional auth.v1.TFA tfa = 5;
} }
message PurchaseRes { message MatchOrderRes {
uint64 order_id = 1; uint64 order_id = 1;
double calculated_irt_amount = 2; double calculated_irt_amount = 2;
double calculated_asset_amount = 3; double calculated_asset_amount = 3;
@ -177,8 +177,9 @@ message DeclineMarketContractReq {
message ConfirmMarketContractReq { message ConfirmMarketContractReq {
auth.v1.InternalIAM iam = 1; auth.v1.InternalIAM iam = 1;
uint64 agreement_id = 2; uint64 order_id = 2;
optional auth.v1.TFA tfa = 3; uint64 agreement_id = 3;
optional auth.v1.TFA tfa = 4;
} }
message MarketContractReq { message MarketContractReq {