Commit d5f925d2 authored by linj's avatar linj

add local order

parent dc3ab81f
...@@ -284,6 +284,25 @@ message ReqBuyToken { ...@@ -284,6 +284,25 @@ message ReqBuyToken {
string buyer = 2; string buyer = 2;
} }
message LocalOrder {
string assetSymbol = 1;
string owner = 2;
int64 amountPerBoardlot = 3;
int64 minBoardlot = 4;
int64 pricePerBoardlot = 5;
int64 totalBoardlot = 6;
int64 tradedBoardlot = 7;
string buyID = 8;
int32 status = 9;
string sellID = 10;
repeated string txHash = 11;
int64 height = 12;
string key = 13;
int64 blockTime = 14;
bool isSellOrder = 15;
string assetExec = 16;
}
service trade { service trade {
rpc CreateRawTradeSellTx(TradeForSell) returns (UnsignTx) {} rpc CreateRawTradeSellTx(TradeForSell) returns (UnsignTx) {}
rpc CreateRawTradeBuyTx(TradeForBuy) returns (UnsignTx) {} rpc CreateRawTradeBuyTx(TradeForBuy) returns (UnsignTx) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment