MarketPlace: asset list
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
cb9b5ac9f2
commit
a8e06d5058
@ -95,6 +95,10 @@ message ReqWithIAMAndParams {
|
||||
optional bool accepted = 2;
|
||||
}
|
||||
|
||||
message ReqWithOptioanlIAM {
|
||||
optional InternalIAM iam = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
User
|
||||
*/
|
||||
|
||||
@ -30,6 +30,14 @@ message MarketOrder {
|
||||
// repeated string attachments = 14; // possible files included by seller/buyer
|
||||
}
|
||||
|
||||
message MarketAssetListReq{
|
||||
base.v1.BaseQueryParam base = 1;
|
||||
optional auth.v1.InternalIAM iam = 2;
|
||||
}
|
||||
message MarketAssetList{
|
||||
repeated wallet.v1.Asset list = 1;
|
||||
}
|
||||
|
||||
message PurchaseReq {
|
||||
uint64 order_id = 1;
|
||||
double amount = 2;
|
||||
|
||||
@ -6,6 +6,7 @@ import "base/v1/msg.proto";
|
||||
import "market/v1/msg.proto";
|
||||
|
||||
service MarketplaceSrv {
|
||||
rpc GetAssetList(MarketAssetListReq) returns (MarketAssetList);
|
||||
rpc GetSellerList(OrderListFilter) returns (MarketOrderList);
|
||||
rpc GetBuyerList(OrderListFilter) returns (MarketOrderList);
|
||||
rpc GetAllOrderList(OrderListFilter) returns (MarketOrderList);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user