v2: iden in mo

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2025-03-05 16:53:21 +03:30
parent df5ad208fa
commit 5323f73407
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -19,24 +19,25 @@ message MarketOrder {
MarketOrderSide side = 8;
MarketOrderStatus status = 9;
int64 from = 10;
wallet.v1.Commission commission = 11;
double completed_amount = 12;
string created_at = 13;
string updated_at = 14;
bool is_public = 15;
wallet.v1.TransactionList trx = 16;
repeated string tags = 17;
repeated string comment = 18;
optional MarketOrder source = 19; // purchase is done via this field
auth.v1.UserIdentityBasic from_identity = 11;
wallet.v1.Commission commission = 12;
double completed_amount = 13;
string created_at = 14;
string updated_at = 15;
bool is_public = 16;
wallet.v1.TransactionList trx = 17;
repeated string tags = 18;
repeated string comment = 19;
optional MarketOrder source = 20; // purchase is done via this field
// repeated string attachments = 14; // possible files included by seller/buyer
}
message MarketAssetListReq{
message MarketAssetListReq {
base.v1.BaseQueryParam base = 1;
optional auth.v1.InternalIAM iam = 2; // If not set, will returns only public orders which are limited by a white list
}
message MarketAssetList{
message MarketAssetList {
repeated wallet.v1.Asset list = 1;
}
@ -58,7 +59,7 @@ message MarketOrderList {
repeated MarketOrder list = 1;
}
message NewMarketReq{
message NewMarketReq {
auth.v1.InternalIAM iam = 1;
// wallet.v1.Asset asset = 2;
int64 asset_id = 2;
@ -99,4 +100,3 @@ message OrderListFilter {
uint64 order_id = 11;
uint64 trx_id = 12;
}