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
12f5fdc8
Commit
12f5fdc8
authored
Nov 05, 2018
by
linj
Committed by
linj
Nov 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmt
parent
ce7fedd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
17 deletions
+18
-17
unfreeze.proto
proto/unfreeze.proto
+18
-17
No files found.
proto/unfreeze.proto
View file @
12f5fdc8
...
...
@@ -3,12 +3,12 @@ syntax = "proto3";
package
types
;
message
Unfreeze
{
//解冻交易ID(唯一识别码)
string
unfreezeID
=
1
;
//解冻交易ID(唯一识别码)
string
unfreezeID
=
1
;
//开始时间
int64
startTime
=
2
;
//币种
string
assetExec
=
3
;
string
assetExec
=
3
;
string
assetSymbol
=
4
;
//冻结总额
int64
totalCount
=
5
;
...
...
@@ -20,8 +20,8 @@ message Unfreeze {
int64
remaining
=
8
;
//解冻方式(百分比;固额)
string
means
=
9
;
oneof
meansOpt
{
FixAmount
fixAmount
=
10
;
oneof
meansOpt
{
FixAmount
fixAmount
=
10
;
LeftProportion
leftProportion
=
11
;
}
}
...
...
@@ -34,15 +34,15 @@ message FixAmount {
// 固定时间间隔按余量百分比解冻
message
LeftProportion
{
int64
period
=
1
;
int64
period
=
1
;
int64
tenThousandth
=
2
;
}
// message for execs.unfreeze
message
UnfreezeAction
{
oneof
value
{
UnfreezeCreate
create
=
1
;
UnfreezeWithdraw
withdraw
=
2
;
UnfreezeCreate
create
=
1
;
UnfreezeWithdraw
withdraw
=
2
;
UnfreezeTerminate
terminate
=
3
;
}
int32
ty
=
4
;
...
...
@@ -50,14 +50,14 @@ message UnfreezeAction {
// action
message
UnfreezeCreate
{
int64
startTime
=
1
;
string
assetExec
=
2
;
int64
startTime
=
1
;
string
assetExec
=
2
;
string
assetSymbol
=
3
;
int64
totalCount
=
4
;
int64
totalCount
=
4
;
string
beneficiary
=
5
;
string
means
=
6
;
oneof
meansOpt
{
FixAmount
fixAmount
=
7
;
string
means
=
6
;
oneof
meansOpt
{
FixAmount
fixAmount
=
7
;
LeftProportion
leftProportion
=
8
;
}
}
...
...
@@ -73,7 +73,7 @@ message UnfreezeTerminate {
// receipt
message
ReceiptUnfreeze
{
Unfreeze
prev
=
1
;
Unfreeze
cur
=
2
;
Unfreeze
cur
=
2
;
}
// query
...
...
@@ -82,6 +82,6 @@ message QueryUnfreezeWithdraw {
}
message
ReplyQueryUnfreezeWithdraw
{
string
unfreezeID
=
1
;
int64
availableAmount
=
2
;
string
unfreezeID
=
1
;
int64
availableAmount
=
2
;
}
\ No newline at end of file
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