Commit 661f48a6 authored by linj's avatar linj Committed by linj

add service

parent e3dff3a2
syntax = "proto3"; syntax = "proto3";
import "common.proto";
package types; package types;
message Unfreeze { message Unfreeze {
...@@ -77,11 +79,13 @@ message ReceiptUnfreeze { ...@@ -77,11 +79,13 @@ message ReceiptUnfreeze {
} }
// query // query
message QueryUnfreezeWithdraw {
string unfreezeID = 1;
}
message ReplyQueryUnfreezeWithdraw { message ReplyQueryUnfreezeWithdraw {
string unfreezeID = 1; string unfreezeID = 1;
int64 availableAmount = 2; int64 availableAmount = 2;
}
// TODO 类型应该大写还是小写
service unfreeze {
rpc GetUnfreezeWithdraw(ReqString) returns (ReplyQueryUnfreezeWithdraw) {}
rpc QueryUnfreeze(ReqString) returns (Unfreeze) {}
} }
\ No newline at end of file
This diff is collapsed.
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