Compare commits

...

3 Commits

Author SHA1 Message Date
VQIVS c5a40d14eb fix: add maker_order_id to MakerOrder out 2025-08-05 14:52:53 +03:30
VQIVS 4f25639e98 fix: market order req side type 2025-08-05 12:05:48 +03:30
VQIVS 4a24fcb263 fix: order confirmation req, res naming
Please enter the commit message for your changes. Lines starting
2025-08-03 16:47:56 +03:30
+4 -3
View File
@@ -35,7 +35,7 @@ message CalcMarketReq {
double amount = 4;
double unit_price = 5;
MarketParticipantType participant_type = 6;
optional wallet.v1.BuyAssetSide req_side = 7; // For Calculation : can be from asset or irt
market.v1.MarketOrderSide req_side = 7; // For Calculation : can be from asset or irt
}
message CalcMarketRes {
@@ -71,6 +71,7 @@ message MarketOrder {
repeated string tags = 20;
repeated string comment = 21;
optional MarketOrder source = 22; // purchase is done via this field
optional uint64 maker_order_id = 23;
// repeated string attachments = 14; // possible files included by
// seller/buyer
}
@@ -88,7 +89,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 +98,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;