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

add service

parent e3dff3a2
syntax = "proto3";
import "common.proto";
package types;
message Unfreeze {
......@@ -77,11 +79,13 @@ message ReceiptUnfreeze {
}
// query
message QueryUnfreezeWithdraw {
string unfreezeID = 1;
}
message ReplyQueryUnfreezeWithdraw {
string unfreezeID = 1;
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