Compare commits

..

1 Commits

Author SHA1 Message Date
VQIVS 5785aea771 feat: add orderID to agreement confirm req 2025-08-03 16:13:14 +03:30
+6 -6
View File
@@ -35,7 +35,7 @@ message CalcMarketReq {
double amount = 4; double amount = 4;
double unit_price = 5; double unit_price = 5;
MarketParticipantType participant_type = 6; MarketParticipantType participant_type = 6;
market.v1.MarketOrderSide req_side = 7; // For Calculation : can be from asset or irt optional wallet.v1.BuyAssetSide req_side = 7; // For Calculation : can be from asset or irt
} }
message CalcMarketRes { message CalcMarketRes {
@@ -71,7 +71,6 @@ message MarketOrder {
repeated string tags = 20; repeated string tags = 20;
repeated string comment = 21; repeated string comment = 21;
optional MarketOrder source = 22; // purchase is done via this field optional MarketOrder source = 22; // purchase is done via this field
optional uint64 maker_order_id = 23;
// repeated string attachments = 14; // possible files included by // repeated string attachments = 14; // possible files included by
// seller/buyer // seller/buyer
} }
@@ -152,8 +151,8 @@ message OrderListFilter {
optional uint64 order_id = 11; optional uint64 order_id = 11;
optional uint64 trx_id = 12; optional uint64 trx_id = 12;
optional bool is_public = 13; optional bool is_public = 13;
optional bool has_source = 14; optional MarketParticipantType participant_type = 14;
optional uint64 source_order_id = 15; optional uint64 maker_order_id = 15;
optional string from_date = 16; optional string from_date = 16;
optional string to_date = 17; optional string to_date = 17;
optional MarketOrdersSortBy sort_by = 18; optional MarketOrdersSortBy sort_by = 18;
@@ -178,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 {