Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
d5f925d2
Commit
d5f925d2
authored
Jan 16, 2019
by
linj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add local order
parent
dc3ab81f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
trade.proto
plugin/dapp/trade/proto/trade.proto
+19
-0
No files found.
plugin/dapp/trade/proto/trade.proto
View file @
d5f925d2
...
@@ -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
)
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment