Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c5a40d14eb | |||
| 4f25639e98 | |||
| 4a24fcb263 |
+4
-3
@@ -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;
|
||||||
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 {
|
message CalcMarketRes {
|
||||||
@@ -71,6 +71,7 @@ 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
|
||||||
}
|
}
|
||||||
@@ -88,7 +89,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 +98,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;
|
||||||
|
|||||||
Reference in New Issue
Block a user