ref: add ParticipantType to market orderOut schema

This commit is contained in:
AmirMahdi Qiasvand 2025-08-02 12:21:51 +03:30
parent 1c6d3f3f01
commit fa218436a6

View File

@ -59,17 +59,18 @@ message MarketOrder {
MarketOrderSide side = 8; MarketOrderSide side = 8;
MarketOrderStatus status = 9; MarketOrderStatus status = 9;
int64 from = 10; int64 from = 10;
auth.v1.UserIdentityBasic from_identity = 11; MarketParticipantType participant_type = 11;
wallet.v1.Commission commission = 12; auth.v1.UserIdentityBasic from_identity = 12;
double completed_amount = 13; wallet.v1.Commission commission = 13;
double available_amount = 14; double completed_amount = 14;
string created_at = 15; double available_amount = 15;
string updated_at = 16; string created_at = 16;
bool is_public = 17; string updated_at = 17;
wallet.v1.TransactionList trx = 18; bool is_public = 18;
repeated string tags = 19; wallet.v1.TransactionList trx = 19;
repeated string comment = 20; repeated string tags = 20;
optional MarketOrder source = 21; // purchase is done via this field repeated string comment = 21;
optional MarketOrder source = 22; // purchase is done via this field
// repeated string attachments = 14; // possible files included by // repeated string attachments = 14; // possible files included by
// seller/buyer // seller/buyer
} }