MarketPlace: freezed balance added in wallet

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
2025-02-18 13:07:50 +03:30
parent bf0978c722
commit b774a4602d
3 changed files with 34 additions and 11 deletions
+3 -2
View File
@@ -19,8 +19,8 @@ message MarketOrder {
MarketOrderSide side = 8;
MarketOrderStatus status = 9;
int64 from = 10;
float commission = 11;
float completion_rate = 12;
wallet.v1.Commission commission = 11;
float completed_amount = 12;
string created_at = 13;
string updated_at = 14;
bool is_public = 15;
@@ -82,6 +82,7 @@ enum MarketOrderStatus {
MO_REFUNDED = 5; // Order is refunded by platform to user due to regulation
// MO_EXPIRED = 4; // Order is expired
}
message OrderListFilter {
optional auth.v1.InternalIAM iam = 1;
base.v1.BaseQueryParam base = 2;
-3
View File
@@ -20,7 +20,4 @@ service MarketplaceSrv {
rpc GetMarketPubHistory(OrderListFilter) returns (MarketOrderList); // This is for public market
rpc GetUserMarketHistory(OrderListFilter) returns (MarketOrderList); // list of order + purchase related to buying an asset
// rpc GetBuyHistory(OrderListFilterWithIAM) returns (MarketOrderList); // list of order + purchase related to buying an asset
// rpc GetSellHistory(OrderListFilterWithIAM) returns (MarketOrderList); // list of order + purchase related to selling an asset
}