Commit 86c3abf2 authored by linj's avatar linj Committed by linj

update proto

parent e7f83d08
...@@ -8,23 +8,34 @@ message Unfreeze { ...@@ -8,23 +8,34 @@ message Unfreeze {
//开始时间 //开始时间
int64 startTime = 2; int64 startTime = 2;
//币种 //币种
string tokenName = 3; string assetExec = 3;
string assetSymbol = 4;
//冻结总额 //冻结总额
int64 totalCount = 4; int64 totalCount = 5;
//发币人地址 //发币人地址
string initiator = 5; string initiator = 6;
//收币人地址 //收币人地址
string beneficiary = 6; string beneficiary = 7;
//解冻间隔 //解冻剩余币数
int64 period = 7; int64 remaining = 8;
//解冻方式(百分比;固额) 1 百分比 -> 2 固额 //解冻方式(百分比;固额)
int32 means = 8; string means = 9;
//解冻数量:若为百分比解冻方式该字段值为百分比乘以100,若为固额该字段值为币数量 oneof meansOpt {
int64 amount = 9; FixAmount fixAmount = 10;
//已解冻次数 LeftProportion leftProportion = 11;
int32 withdrawTimes = 10; }
//解冻剩余币数 }
int64 remaining = 11;
// 按时间固定额度解冻
message FixAmount {
int64 period = 1;
int64 amount = 2;
}
// 固定时间间隔按余量百分比解冻
message LeftProportion {
int64 period = 1;
int64 tenThousandth = 2;
} }
// message for execs.unfreeze // message for execs.unfreeze
...@@ -43,9 +54,11 @@ message UnfreezeCreate { ...@@ -43,9 +54,11 @@ message UnfreezeCreate {
string tokenName = 2; string tokenName = 2;
int64 totalCount = 3; int64 totalCount = 3;
string beneficiary = 4; string beneficiary = 4;
int64 period = 5; string means = 5;
int32 means = 6; oneof meansOpt {
int64 amount = 7; FixAmount fixAmount = 6;
LeftProportion leftProportion = 7;
}
} }
message UnfreezeWithdraw { message UnfreezeWithdraw {
......
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