MarketPlace: new srv market added #14
@ -95,6 +95,10 @@ message ReqWithIAMAndParams {
|
|||||||
optional bool accepted = 2;
|
optional bool accepted = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message ReqWithOptioanlIAM {
|
||||||
|
optional InternalIAM iam = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
User
|
User
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -30,6 +30,14 @@ message MarketOrder {
|
|||||||
// repeated string attachments = 14; // possible files included by seller/buyer
|
// 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 {
|
message PurchaseReq {
|
||||||
uint64 order_id = 1;
|
uint64 order_id = 1;
|
||||||
double amount = 2;
|
double amount = 2;
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import "base/v1/msg.proto";
|
|||||||
import "market/v1/msg.proto";
|
import "market/v1/msg.proto";
|
||||||
|
|
||||||
service MarketplaceSrv {
|
service MarketplaceSrv {
|
||||||
|
rpc GetAssetList(MarketAssetListReq) returns (MarketAssetList);
|
||||||
rpc GetSellerList(OrderListFilter) returns (MarketOrderList);
|
rpc GetSellerList(OrderListFilter) returns (MarketOrderList);
|
||||||
rpc GetBuyerList(OrderListFilter) returns (MarketOrderList);
|
rpc GetBuyerList(OrderListFilter) returns (MarketOrderList);
|
||||||
rpc GetAllOrderList(OrderListFilter) returns (MarketOrderList);
|
rpc GetAllOrderList(OrderListFilter) returns (MarketOrderList);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user