Commit 12f5fdc8 authored by linj's avatar linj Committed by linj

fmt

parent ce7fedd5
...@@ -3,12 +3,12 @@ syntax = "proto3"; ...@@ -3,12 +3,12 @@ syntax = "proto3";
package types; package types;
message Unfreeze { message Unfreeze {
//解冻交易ID(唯一识别码) //解冻交易ID(唯一识别码)
string unfreezeID = 1; string unfreezeID = 1;
//开始时间 //开始时间
int64 startTime = 2; int64 startTime = 2;
//币种 //币种
string assetExec = 3; string assetExec = 3;
string assetSymbol = 4; string assetSymbol = 4;
//冻结总额 //冻结总额
int64 totalCount = 5; int64 totalCount = 5;
...@@ -20,8 +20,8 @@ message Unfreeze { ...@@ -20,8 +20,8 @@ message Unfreeze {
int64 remaining = 8; int64 remaining = 8;
//解冻方式(百分比;固额) //解冻方式(百分比;固额)
string means = 9; string means = 9;
oneof meansOpt { oneof meansOpt {
FixAmount fixAmount = 10; FixAmount fixAmount = 10;
LeftProportion leftProportion = 11; LeftProportion leftProportion = 11;
} }
} }
...@@ -34,15 +34,15 @@ message FixAmount { ...@@ -34,15 +34,15 @@ message FixAmount {
// 固定时间间隔按余量百分比解冻 // 固定时间间隔按余量百分比解冻
message LeftProportion { message LeftProportion {
int64 period = 1; int64 period = 1;
int64 tenThousandth = 2; int64 tenThousandth = 2;
} }
// message for execs.unfreeze // message for execs.unfreeze
message UnfreezeAction { message UnfreezeAction {
oneof value { oneof value {
UnfreezeCreate create = 1; UnfreezeCreate create = 1;
UnfreezeWithdraw withdraw = 2; UnfreezeWithdraw withdraw = 2;
UnfreezeTerminate terminate = 3; UnfreezeTerminate terminate = 3;
} }
int32 ty = 4; int32 ty = 4;
...@@ -50,14 +50,14 @@ message UnfreezeAction { ...@@ -50,14 +50,14 @@ message UnfreezeAction {
// action // action
message UnfreezeCreate { message UnfreezeCreate {
int64 startTime = 1; int64 startTime = 1;
string assetExec = 2; string assetExec = 2;
string assetSymbol = 3; string assetSymbol = 3;
int64 totalCount = 4; int64 totalCount = 4;
string beneficiary = 5; string beneficiary = 5;
string means = 6; string means = 6;
oneof meansOpt { oneof meansOpt {
FixAmount fixAmount = 7; FixAmount fixAmount = 7;
LeftProportion leftProportion = 8; LeftProportion leftProportion = 8;
} }
} }
...@@ -73,7 +73,7 @@ message UnfreezeTerminate { ...@@ -73,7 +73,7 @@ message UnfreezeTerminate {
// receipt // receipt
message ReceiptUnfreeze { message ReceiptUnfreeze {
Unfreeze prev = 1; Unfreeze prev = 1;
Unfreeze cur = 2; Unfreeze cur = 2;
} }
// query // query
...@@ -82,6 +82,6 @@ message QueryUnfreezeWithdraw { ...@@ -82,6 +82,6 @@ message QueryUnfreezeWithdraw {
} }
message ReplyQueryUnfreezeWithdraw { message ReplyQueryUnfreezeWithdraw {
string unfreezeID = 1; string unfreezeID = 1;
int64 availableAmount = 2; int64 availableAmount = 2;
} }
\ No newline at end of file
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