Commit 4047ed30 authored by vipwzw's avatar vipwzw

auto ci

parent de7bd664
......@@ -13,7 +13,7 @@ import (
/*
1. 可以用创建者和收益者进行列表
1. 按 txIndex 排序
1. 按 txIndex 排序
*/
var opt_addr_table = &table.Option{
......
// Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: unfreeze.proto
/*
Package types is a generated protocol buffer package.
It is generated from these files:
unfreeze.proto
It has these top-level messages:
Unfreeze
FixAmount
LeftProportion
UnfreezeAction
UnfreezeCreate
UnfreezeWithdraw
UnfreezeTerminate
ReceiptUnfreeze
ReplyQueryUnfreezeWithdraw
*/
package types
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import types1 "github.com/33cn/chain33/types"
import (
context "golang.org/x/net/context"
context "context"
fmt "fmt"
math "math"
types "github.com/33cn/chain33/types"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
)
......@@ -46,55 +25,58 @@ var _ = math.Inf
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type Unfreeze struct {
// 解冻交易ID(唯一识别码)
UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID" json:"unfreezeID,omitempty"`
// 开始时间
StartTime int64 `protobuf:"varint,2,opt,name=startTime" json:"startTime,omitempty"`
// 币种
AssetExec string `protobuf:"bytes,3,opt,name=assetExec" json:"assetExec,omitempty"`
AssetSymbol string `protobuf:"bytes,4,opt,name=assetSymbol" json:"assetSymbol,omitempty"`
// 冻结总额
TotalCount int64 `protobuf:"varint,5,opt,name=totalCount" json:"totalCount,omitempty"`
// 发币人地址
Initiator string `protobuf:"bytes,6,opt,name=initiator" json:"initiator,omitempty"`
// 收币人地址
Beneficiary string `protobuf:"bytes,7,opt,name=beneficiary" json:"beneficiary,omitempty"`
// 解冻剩余币数
Remaining int64 `protobuf:"varint,8,opt,name=remaining" json:"remaining,omitempty"`
// 解冻方式(百分比;固额)
Means string `protobuf:"bytes,9,opt,name=means" json:"means,omitempty"`
//解冻交易ID(唯一识别码)
UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID,proto3" json:"unfreezeID,omitempty"`
//开始时间
StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
//币种
AssetExec string `protobuf:"bytes,3,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
AssetSymbol string `protobuf:"bytes,4,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"`
//冻结总额
TotalCount int64 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
//发币人地址
Initiator string `protobuf:"bytes,6,opt,name=initiator,proto3" json:"initiator,omitempty"`
//收币人地址
Beneficiary string `protobuf:"bytes,7,opt,name=beneficiary,proto3" json:"beneficiary,omitempty"`
//解冻剩余币数
Remaining int64 `protobuf:"varint,8,opt,name=remaining,proto3" json:"remaining,omitempty"`
//解冻方式(百分比;固额)
Means string `protobuf:"bytes,9,opt,name=means,proto3" json:"means,omitempty"`
// Types that are valid to be assigned to MeansOpt:
// *Unfreeze_FixAmount
// *Unfreeze_LeftProportion
MeansOpt isUnfreeze_MeansOpt `protobuf_oneof:"meansOpt"`
MeansOpt isUnfreeze_MeansOpt `protobuf_oneof:"meansOpt"`
Terminated bool `protobuf:"varint,12,opt,name=terminated,proto3" json:"terminated,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Unfreeze) Reset() { *m = Unfreeze{} }
func (m *Unfreeze) String() string { return proto.CompactTextString(m) }
func (*Unfreeze) ProtoMessage() {}
func (*Unfreeze) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
type isUnfreeze_MeansOpt interface {
isUnfreeze_MeansOpt()
func (m *Unfreeze) Reset() { *m = Unfreeze{} }
func (m *Unfreeze) String() string { return proto.CompactTextString(m) }
func (*Unfreeze) ProtoMessage() {}
func (*Unfreeze) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{0}
}
type Unfreeze_FixAmount struct {
FixAmount *FixAmount `protobuf:"bytes,10,opt,name=fixAmount,oneof"`
func (m *Unfreeze) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Unfreeze.Unmarshal(m, b)
}
type Unfreeze_LeftProportion struct {
LeftProportion *LeftProportion `protobuf:"bytes,11,opt,name=leftProportion,oneof"`
func (m *Unfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Unfreeze.Marshal(b, m, deterministic)
}
func (*Unfreeze_FixAmount) isUnfreeze_MeansOpt() {}
func (*Unfreeze_LeftProportion) isUnfreeze_MeansOpt() {}
func (m *Unfreeze) GetMeansOpt() isUnfreeze_MeansOpt {
if m != nil {
return m.MeansOpt
}
return nil
func (m *Unfreeze) XXX_Merge(src proto.Message) {
xxx_messageInfo_Unfreeze.Merge(m, src)
}
func (m *Unfreeze) XXX_Size() int {
return xxx_messageInfo_Unfreeze.Size(m)
}
func (m *Unfreeze) XXX_DiscardUnknown() {
xxx_messageInfo_Unfreeze.DiscardUnknown(m)
}
var xxx_messageInfo_Unfreeze proto.InternalMessageInfo
func (m *Unfreeze) GetUnfreezeID() string {
if m != nil {
return m.UnfreezeID
......@@ -158,6 +140,29 @@ func (m *Unfreeze) GetMeans() string {
return ""
}
type isUnfreeze_MeansOpt interface {
isUnfreeze_MeansOpt()
}
type Unfreeze_FixAmount struct {
FixAmount *FixAmount `protobuf:"bytes,10,opt,name=fixAmount,proto3,oneof"`
}
type Unfreeze_LeftProportion struct {
LeftProportion *LeftProportion `protobuf:"bytes,11,opt,name=leftProportion,proto3,oneof"`
}
func (*Unfreeze_FixAmount) isUnfreeze_MeansOpt() {}
func (*Unfreeze_LeftProportion) isUnfreeze_MeansOpt() {}
func (m *Unfreeze) GetMeansOpt() isUnfreeze_MeansOpt {
if m != nil {
return m.MeansOpt
}
return nil
}
func (m *Unfreeze) GetFixAmount() *FixAmount {
if x, ok := m.GetMeansOpt().(*Unfreeze_FixAmount); ok {
return x.FixAmount
......@@ -172,6 +177,13 @@ func (m *Unfreeze) GetLeftProportion() *LeftProportion {
return nil
}
func (m *Unfreeze) GetTerminated() bool {
if m != nil {
return m.Terminated
}
return false
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*Unfreeze) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _Unfreeze_OneofMarshaler, _Unfreeze_OneofUnmarshaler, _Unfreeze_OneofSizer, []interface{}{
......@@ -231,12 +243,12 @@ func _Unfreeze_OneofSizer(msg proto.Message) (n int) {
switch x := m.MeansOpt.(type) {
case *Unfreeze_FixAmount:
s := proto.Size(x.FixAmount)
n += proto.SizeVarint(10<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Unfreeze_LeftProportion:
s := proto.Size(x.LeftProportion)
n += proto.SizeVarint(11<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
......@@ -248,14 +260,37 @@ func _Unfreeze_OneofSizer(msg proto.Message) (n int) {
// 按时间固定额度解冻
type FixAmount struct {
Period int64 `protobuf:"varint,1,opt,name=period" json:"period,omitempty"`
Amount int64 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
Period int64 `protobuf:"varint,1,opt,name=period,proto3" json:"period,omitempty"`
Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FixAmount) Reset() { *m = FixAmount{} }
func (m *FixAmount) String() string { return proto.CompactTextString(m) }
func (*FixAmount) ProtoMessage() {}
func (*FixAmount) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *FixAmount) Reset() { *m = FixAmount{} }
func (m *FixAmount) String() string { return proto.CompactTextString(m) }
func (*FixAmount) ProtoMessage() {}
func (*FixAmount) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{1}
}
func (m *FixAmount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FixAmount.Unmarshal(m, b)
}
func (m *FixAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FixAmount.Marshal(b, m, deterministic)
}
func (m *FixAmount) XXX_Merge(src proto.Message) {
xxx_messageInfo_FixAmount.Merge(m, src)
}
func (m *FixAmount) XXX_Size() int {
return xxx_messageInfo_FixAmount.Size(m)
}
func (m *FixAmount) XXX_DiscardUnknown() {
xxx_messageInfo_FixAmount.DiscardUnknown(m)
}
var xxx_messageInfo_FixAmount proto.InternalMessageInfo
func (m *FixAmount) GetPeriod() int64 {
if m != nil {
......@@ -273,14 +308,37 @@ func (m *FixAmount) GetAmount() int64 {
// 固定时间间隔按余量百分比解冻
type LeftProportion struct {
Period int64 `protobuf:"varint,1,opt,name=period" json:"period,omitempty"`
TenThousandth int64 `protobuf:"varint,2,opt,name=tenThousandth" json:"tenThousandth,omitempty"`
Period int64 `protobuf:"varint,1,opt,name=period,proto3" json:"period,omitempty"`
TenThousandth int64 `protobuf:"varint,2,opt,name=tenThousandth,proto3" json:"tenThousandth,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LeftProportion) Reset() { *m = LeftProportion{} }
func (m *LeftProportion) String() string { return proto.CompactTextString(m) }
func (*LeftProportion) ProtoMessage() {}
func (*LeftProportion) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{2}
}
func (m *LeftProportion) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LeftProportion.Unmarshal(m, b)
}
func (m *LeftProportion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LeftProportion.Marshal(b, m, deterministic)
}
func (m *LeftProportion) XXX_Merge(src proto.Message) {
xxx_messageInfo_LeftProportion.Merge(m, src)
}
func (m *LeftProportion) XXX_Size() int {
return xxx_messageInfo_LeftProportion.Size(m)
}
func (m *LeftProportion) XXX_DiscardUnknown() {
xxx_messageInfo_LeftProportion.DiscardUnknown(m)
}
func (m *LeftProportion) Reset() { *m = LeftProportion{} }
func (m *LeftProportion) String() string { return proto.CompactTextString(m) }
func (*LeftProportion) ProtoMessage() {}
func (*LeftProportion) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
var xxx_messageInfo_LeftProportion proto.InternalMessageInfo
func (m *LeftProportion) GetPeriod() int64 {
if m != nil {
......@@ -302,31 +360,58 @@ type UnfreezeAction struct {
// *UnfreezeAction_Create
// *UnfreezeAction_Withdraw
// *UnfreezeAction_Terminate
Value isUnfreezeAction_Value `protobuf_oneof:"value"`
Ty int32 `protobuf:"varint,4,opt,name=ty" json:"ty,omitempty"`
Value isUnfreezeAction_Value `protobuf_oneof:"value"`
Ty int32 `protobuf:"varint,4,opt,name=ty,proto3" json:"ty,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UnfreezeAction) Reset() { *m = UnfreezeAction{} }
func (m *UnfreezeAction) String() string { return proto.CompactTextString(m) }
func (*UnfreezeAction) ProtoMessage() {}
func (*UnfreezeAction) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *UnfreezeAction) Reset() { *m = UnfreezeAction{} }
func (m *UnfreezeAction) String() string { return proto.CompactTextString(m) }
func (*UnfreezeAction) ProtoMessage() {}
func (*UnfreezeAction) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{3}
}
func (m *UnfreezeAction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UnfreezeAction.Unmarshal(m, b)
}
func (m *UnfreezeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UnfreezeAction.Marshal(b, m, deterministic)
}
func (m *UnfreezeAction) XXX_Merge(src proto.Message) {
xxx_messageInfo_UnfreezeAction.Merge(m, src)
}
func (m *UnfreezeAction) XXX_Size() int {
return xxx_messageInfo_UnfreezeAction.Size(m)
}
func (m *UnfreezeAction) XXX_DiscardUnknown() {
xxx_messageInfo_UnfreezeAction.DiscardUnknown(m)
}
var xxx_messageInfo_UnfreezeAction proto.InternalMessageInfo
type isUnfreezeAction_Value interface {
isUnfreezeAction_Value()
}
type UnfreezeAction_Create struct {
Create *UnfreezeCreate `protobuf:"bytes,1,opt,name=create,oneof"`
Create *UnfreezeCreate `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}
type UnfreezeAction_Withdraw struct {
Withdraw *UnfreezeWithdraw `protobuf:"bytes,2,opt,name=withdraw,oneof"`
Withdraw *UnfreezeWithdraw `protobuf:"bytes,2,opt,name=withdraw,proto3,oneof"`
}
type UnfreezeAction_Terminate struct {
Terminate *UnfreezeTerminate `protobuf:"bytes,3,opt,name=terminate,oneof"`
Terminate *UnfreezeTerminate `protobuf:"bytes,3,opt,name=terminate,proto3,oneof"`
}
func (*UnfreezeAction_Create) isUnfreezeAction_Value() {}
func (*UnfreezeAction_Withdraw) isUnfreezeAction_Value() {}
func (*UnfreezeAction_Create) isUnfreezeAction_Value() {}
func (*UnfreezeAction_Withdraw) isUnfreezeAction_Value() {}
func (*UnfreezeAction_Terminate) isUnfreezeAction_Value() {}
func (m *UnfreezeAction) GetValue() isUnfreezeAction_Value {
......@@ -437,17 +522,17 @@ func _UnfreezeAction_OneofSizer(msg proto.Message) (n int) {
switch x := m.Value.(type) {
case *UnfreezeAction_Create:
s := proto.Size(x.Create)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *UnfreezeAction_Withdraw:
s := proto.Size(x.Withdraw)
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *UnfreezeAction_Terminate:
s := proto.Size(x.Terminate)
n += proto.SizeVarint(3<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
......@@ -459,43 +544,45 @@ func _UnfreezeAction_OneofSizer(msg proto.Message) (n int) {
// action
type UnfreezeCreate struct {
StartTime int64 `protobuf:"varint,1,opt,name=startTime" json:"startTime,omitempty"`
AssetExec string `protobuf:"bytes,2,opt,name=assetExec" json:"assetExec,omitempty"`
AssetSymbol string `protobuf:"bytes,3,opt,name=assetSymbol" json:"assetSymbol,omitempty"`
TotalCount int64 `protobuf:"varint,4,opt,name=totalCount" json:"totalCount,omitempty"`
Beneficiary string `protobuf:"bytes,5,opt,name=beneficiary" json:"beneficiary,omitempty"`
Means string `protobuf:"bytes,6,opt,name=means" json:"means,omitempty"`
StartTime int64 `protobuf:"varint,1,opt,name=startTime,proto3" json:"startTime,omitempty"`
AssetExec string `protobuf:"bytes,2,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
AssetSymbol string `protobuf:"bytes,3,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"`
TotalCount int64 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
Beneficiary string `protobuf:"bytes,5,opt,name=beneficiary,proto3" json:"beneficiary,omitempty"`
Means string `protobuf:"bytes,6,opt,name=means,proto3" json:"means,omitempty"`
// Types that are valid to be assigned to MeansOpt:
// *UnfreezeCreate_FixAmount
// *UnfreezeCreate_LeftProportion
MeansOpt isUnfreezeCreate_MeansOpt `protobuf_oneof:"meansOpt"`
MeansOpt isUnfreezeCreate_MeansOpt `protobuf_oneof:"meansOpt"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UnfreezeCreate) Reset() { *m = UnfreezeCreate{} }
func (m *UnfreezeCreate) String() string { return proto.CompactTextString(m) }
func (*UnfreezeCreate) ProtoMessage() {}
func (*UnfreezeCreate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
type isUnfreezeCreate_MeansOpt interface {
isUnfreezeCreate_MeansOpt()
func (m *UnfreezeCreate) Reset() { *m = UnfreezeCreate{} }
func (m *UnfreezeCreate) String() string { return proto.CompactTextString(m) }
func (*UnfreezeCreate) ProtoMessage() {}
func (*UnfreezeCreate) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{4}
}
type UnfreezeCreate_FixAmount struct {
FixAmount *FixAmount `protobuf:"bytes,7,opt,name=fixAmount,oneof"`
func (m *UnfreezeCreate) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UnfreezeCreate.Unmarshal(m, b)
}
type UnfreezeCreate_LeftProportion struct {
LeftProportion *LeftProportion `protobuf:"bytes,8,opt,name=leftProportion,oneof"`
func (m *UnfreezeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UnfreezeCreate.Marshal(b, m, deterministic)
}
func (*UnfreezeCreate_FixAmount) isUnfreezeCreate_MeansOpt() {}
func (*UnfreezeCreate_LeftProportion) isUnfreezeCreate_MeansOpt() {}
func (m *UnfreezeCreate) GetMeansOpt() isUnfreezeCreate_MeansOpt {
if m != nil {
return m.MeansOpt
}
return nil
func (m *UnfreezeCreate) XXX_Merge(src proto.Message) {
xxx_messageInfo_UnfreezeCreate.Merge(m, src)
}
func (m *UnfreezeCreate) XXX_Size() int {
return xxx_messageInfo_UnfreezeCreate.Size(m)
}
func (m *UnfreezeCreate) XXX_DiscardUnknown() {
xxx_messageInfo_UnfreezeCreate.DiscardUnknown(m)
}
var xxx_messageInfo_UnfreezeCreate proto.InternalMessageInfo
func (m *UnfreezeCreate) GetStartTime() int64 {
if m != nil {
......@@ -539,6 +626,29 @@ func (m *UnfreezeCreate) GetMeans() string {
return ""
}
type isUnfreezeCreate_MeansOpt interface {
isUnfreezeCreate_MeansOpt()
}
type UnfreezeCreate_FixAmount struct {
FixAmount *FixAmount `protobuf:"bytes,7,opt,name=fixAmount,proto3,oneof"`
}
type UnfreezeCreate_LeftProportion struct {
LeftProportion *LeftProportion `protobuf:"bytes,8,opt,name=leftProportion,proto3,oneof"`
}
func (*UnfreezeCreate_FixAmount) isUnfreezeCreate_MeansOpt() {}
func (*UnfreezeCreate_LeftProportion) isUnfreezeCreate_MeansOpt() {}
func (m *UnfreezeCreate) GetMeansOpt() isUnfreezeCreate_MeansOpt {
if m != nil {
return m.MeansOpt
}
return nil
}
func (m *UnfreezeCreate) GetFixAmount() *FixAmount {
if x, ok := m.GetMeansOpt().(*UnfreezeCreate_FixAmount); ok {
return x.FixAmount
......@@ -612,12 +722,12 @@ func _UnfreezeCreate_OneofSizer(msg proto.Message) (n int) {
switch x := m.MeansOpt.(type) {
case *UnfreezeCreate_FixAmount:
s := proto.Size(x.FixAmount)
n += proto.SizeVarint(7<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *UnfreezeCreate_LeftProportion:
s := proto.Size(x.LeftProportion)
n += proto.SizeVarint(8<<3 | proto.WireBytes)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
......@@ -628,13 +738,36 @@ func _UnfreezeCreate_OneofSizer(msg proto.Message) (n int) {
}
type UnfreezeWithdraw struct {
UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID" json:"unfreezeID,omitempty"`
UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID,proto3" json:"unfreezeID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UnfreezeWithdraw) Reset() { *m = UnfreezeWithdraw{} }
func (m *UnfreezeWithdraw) String() string { return proto.CompactTextString(m) }
func (*UnfreezeWithdraw) ProtoMessage() {}
func (*UnfreezeWithdraw) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{5}
}
func (m *UnfreezeWithdraw) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UnfreezeWithdraw.Unmarshal(m, b)
}
func (m *UnfreezeWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UnfreezeWithdraw.Marshal(b, m, deterministic)
}
func (m *UnfreezeWithdraw) XXX_Merge(src proto.Message) {
xxx_messageInfo_UnfreezeWithdraw.Merge(m, src)
}
func (m *UnfreezeWithdraw) XXX_Size() int {
return xxx_messageInfo_UnfreezeWithdraw.Size(m)
}
func (m *UnfreezeWithdraw) XXX_DiscardUnknown() {
xxx_messageInfo_UnfreezeWithdraw.DiscardUnknown(m)
}
func (m *UnfreezeWithdraw) Reset() { *m = UnfreezeWithdraw{} }
func (m *UnfreezeWithdraw) String() string { return proto.CompactTextString(m) }
func (*UnfreezeWithdraw) ProtoMessage() {}
func (*UnfreezeWithdraw) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
var xxx_messageInfo_UnfreezeWithdraw proto.InternalMessageInfo
func (m *UnfreezeWithdraw) GetUnfreezeID() string {
if m != nil {
......@@ -644,13 +777,36 @@ func (m *UnfreezeWithdraw) GetUnfreezeID() string {
}
type UnfreezeTerminate struct {
UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID" json:"unfreezeID,omitempty"`
UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID,proto3" json:"unfreezeID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UnfreezeTerminate) Reset() { *m = UnfreezeTerminate{} }
func (m *UnfreezeTerminate) String() string { return proto.CompactTextString(m) }
func (*UnfreezeTerminate) ProtoMessage() {}
func (*UnfreezeTerminate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *UnfreezeTerminate) Reset() { *m = UnfreezeTerminate{} }
func (m *UnfreezeTerminate) String() string { return proto.CompactTextString(m) }
func (*UnfreezeTerminate) ProtoMessage() {}
func (*UnfreezeTerminate) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{6}
}
func (m *UnfreezeTerminate) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UnfreezeTerminate.Unmarshal(m, b)
}
func (m *UnfreezeTerminate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UnfreezeTerminate.Marshal(b, m, deterministic)
}
func (m *UnfreezeTerminate) XXX_Merge(src proto.Message) {
xxx_messageInfo_UnfreezeTerminate.Merge(m, src)
}
func (m *UnfreezeTerminate) XXX_Size() int {
return xxx_messageInfo_UnfreezeTerminate.Size(m)
}
func (m *UnfreezeTerminate) XXX_DiscardUnknown() {
xxx_messageInfo_UnfreezeTerminate.DiscardUnknown(m)
}
var xxx_messageInfo_UnfreezeTerminate proto.InternalMessageInfo
func (m *UnfreezeTerminate) GetUnfreezeID() string {
if m != nil {
......@@ -661,14 +817,37 @@ func (m *UnfreezeTerminate) GetUnfreezeID() string {
// receipt
type ReceiptUnfreeze struct {
Prev *Unfreeze `protobuf:"bytes,1,opt,name=prev" json:"prev,omitempty"`
Current *Unfreeze `protobuf:"bytes,2,opt,name=current" json:"current,omitempty"`
Prev *Unfreeze `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"`
Current *Unfreeze `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReceiptUnfreeze) Reset() { *m = ReceiptUnfreeze{} }
func (m *ReceiptUnfreeze) String() string { return proto.CompactTextString(m) }
func (*ReceiptUnfreeze) ProtoMessage() {}
func (*ReceiptUnfreeze) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
func (m *ReceiptUnfreeze) Reset() { *m = ReceiptUnfreeze{} }
func (m *ReceiptUnfreeze) String() string { return proto.CompactTextString(m) }
func (*ReceiptUnfreeze) ProtoMessage() {}
func (*ReceiptUnfreeze) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{7}
}
func (m *ReceiptUnfreeze) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReceiptUnfreeze.Unmarshal(m, b)
}
func (m *ReceiptUnfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptUnfreeze.Marshal(b, m, deterministic)
}
func (m *ReceiptUnfreeze) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReceiptUnfreeze.Merge(m, src)
}
func (m *ReceiptUnfreeze) XXX_Size() int {
return xxx_messageInfo_ReceiptUnfreeze.Size(m)
}
func (m *ReceiptUnfreeze) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptUnfreeze.DiscardUnknown(m)
}
var xxx_messageInfo_ReceiptUnfreeze proto.InternalMessageInfo
func (m *ReceiptUnfreeze) GetPrev() *Unfreeze {
if m != nil {
......@@ -684,16 +863,86 @@ func (m *ReceiptUnfreeze) GetCurrent() *Unfreeze {
return nil
}
type LocalUnfreeze struct {
Unfreeze *Unfreeze `protobuf:"bytes,1,opt,name=unfreeze,proto3" json:"unfreeze,omitempty"`
TxIndex string `protobuf:"bytes,2,opt,name=txIndex,proto3" json:"txIndex,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LocalUnfreeze) Reset() { *m = LocalUnfreeze{} }
func (m *LocalUnfreeze) String() string { return proto.CompactTextString(m) }
func (*LocalUnfreeze) ProtoMessage() {}
func (*LocalUnfreeze) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{8}
}
func (m *LocalUnfreeze) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LocalUnfreeze.Unmarshal(m, b)
}
func (m *LocalUnfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LocalUnfreeze.Marshal(b, m, deterministic)
}
func (m *LocalUnfreeze) XXX_Merge(src proto.Message) {
xxx_messageInfo_LocalUnfreeze.Merge(m, src)
}
func (m *LocalUnfreeze) XXX_Size() int {
return xxx_messageInfo_LocalUnfreeze.Size(m)
}
func (m *LocalUnfreeze) XXX_DiscardUnknown() {
xxx_messageInfo_LocalUnfreeze.DiscardUnknown(m)
}
var xxx_messageInfo_LocalUnfreeze proto.InternalMessageInfo
func (m *LocalUnfreeze) GetUnfreeze() *Unfreeze {
if m != nil {
return m.Unfreeze
}
return nil
}
func (m *LocalUnfreeze) GetTxIndex() string {
if m != nil {
return m.TxIndex
}
return ""
}
// query
type ReplyQueryUnfreezeWithdraw struct {
UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID" json:"unfreezeID,omitempty"`
AvailableAmount int64 `protobuf:"varint,2,opt,name=availableAmount" json:"availableAmount,omitempty"`
UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID,proto3" json:"unfreezeID,omitempty"`
AvailableAmount int64 `protobuf:"varint,2,opt,name=availableAmount,proto3" json:"availableAmount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReplyQueryUnfreezeWithdraw) Reset() { *m = ReplyQueryUnfreezeWithdraw{} }
func (m *ReplyQueryUnfreezeWithdraw) String() string { return proto.CompactTextString(m) }
func (*ReplyQueryUnfreezeWithdraw) ProtoMessage() {}
func (*ReplyQueryUnfreezeWithdraw) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
func (m *ReplyQueryUnfreezeWithdraw) Reset() { *m = ReplyQueryUnfreezeWithdraw{} }
func (m *ReplyQueryUnfreezeWithdraw) String() string { return proto.CompactTextString(m) }
func (*ReplyQueryUnfreezeWithdraw) ProtoMessage() {}
func (*ReplyQueryUnfreezeWithdraw) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{9}
}
func (m *ReplyQueryUnfreezeWithdraw) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplyQueryUnfreezeWithdraw.Unmarshal(m, b)
}
func (m *ReplyQueryUnfreezeWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyQueryUnfreezeWithdraw.Marshal(b, m, deterministic)
}
func (m *ReplyQueryUnfreezeWithdraw) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyQueryUnfreezeWithdraw.Merge(m, src)
}
func (m *ReplyQueryUnfreezeWithdraw) XXX_Size() int {
return xxx_messageInfo_ReplyQueryUnfreezeWithdraw.Size(m)
}
func (m *ReplyQueryUnfreezeWithdraw) XXX_DiscardUnknown() {
xxx_messageInfo_ReplyQueryUnfreezeWithdraw.DiscardUnknown(m)
}
var xxx_messageInfo_ReplyQueryUnfreezeWithdraw proto.InternalMessageInfo
func (m *ReplyQueryUnfreezeWithdraw) GetUnfreezeID() string {
if m != nil {
......@@ -709,6 +958,358 @@ func (m *ReplyQueryUnfreezeWithdraw) GetAvailableAmount() int64 {
return 0
}
type ReqUnfreezes struct {
Direction int32 `protobuf:"varint,1,opt,name=direction,proto3" json:"direction,omitempty"`
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
FromKey string `protobuf:"bytes,3,opt,name=fromKey,proto3" json:"fromKey,omitempty"`
Initiator string `protobuf:"bytes,4,opt,name=initiator,proto3" json:"initiator,omitempty"`
Beneficiary string `protobuf:"bytes,5,opt,name=beneficiary,proto3" json:"beneficiary,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReqUnfreezes) Reset() { *m = ReqUnfreezes{} }
func (m *ReqUnfreezes) String() string { return proto.CompactTextString(m) }
func (*ReqUnfreezes) ProtoMessage() {}
func (*ReqUnfreezes) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{10}
}
func (m *ReqUnfreezes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqUnfreezes.Unmarshal(m, b)
}
func (m *ReqUnfreezes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqUnfreezes.Marshal(b, m, deterministic)
}
func (m *ReqUnfreezes) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqUnfreezes.Merge(m, src)
}
func (m *ReqUnfreezes) XXX_Size() int {
return xxx_messageInfo_ReqUnfreezes.Size(m)
}
func (m *ReqUnfreezes) XXX_DiscardUnknown() {
xxx_messageInfo_ReqUnfreezes.DiscardUnknown(m)
}
var xxx_messageInfo_ReqUnfreezes proto.InternalMessageInfo
func (m *ReqUnfreezes) GetDirection() int32 {
if m != nil {
return m.Direction
}
return 0
}
func (m *ReqUnfreezes) GetCount() int32 {
if m != nil {
return m.Count
}
return 0
}
func (m *ReqUnfreezes) GetFromKey() string {
if m != nil {
return m.FromKey
}
return ""
}
func (m *ReqUnfreezes) GetInitiator() string {
if m != nil {
return m.Initiator
}
return ""
}
func (m *ReqUnfreezes) GetBeneficiary() string {
if m != nil {
return m.Beneficiary
}
return ""
}
type ReplyUnfreeze struct {
//解冻交易ID(唯一识别码)
UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID,proto3" json:"unfreezeID,omitempty"`
//开始时间
StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
//币种
AssetExec string `protobuf:"bytes,3,opt,name=assetExec,proto3" json:"assetExec,omitempty"`
AssetSymbol string `protobuf:"bytes,4,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"`
//冻结总额
TotalCount int64 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
//发币人地址
Initiator string `protobuf:"bytes,6,opt,name=initiator,proto3" json:"initiator,omitempty"`
//收币人地址
Beneficiary string `protobuf:"bytes,7,opt,name=beneficiary,proto3" json:"beneficiary,omitempty"`
//解冻剩余币数
Remaining int64 `protobuf:"varint,8,opt,name=remaining,proto3" json:"remaining,omitempty"`
//解冻方式(百分比;固额)
Means string `protobuf:"bytes,9,opt,name=means,proto3" json:"means,omitempty"`
// Types that are valid to be assigned to MeansOpt:
// *ReplyUnfreeze_FixAmount
// *ReplyUnfreeze_LeftProportion
MeansOpt isReplyUnfreeze_MeansOpt `protobuf_oneof:"meansOpt"`
Terminated bool `protobuf:"varint,12,opt,name=terminated,proto3" json:"terminated,omitempty"`
Key string `protobuf:"bytes,13,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReplyUnfreeze) Reset() { *m = ReplyUnfreeze{} }
func (m *ReplyUnfreeze) String() string { return proto.CompactTextString(m) }
func (*ReplyUnfreeze) ProtoMessage() {}
func (*ReplyUnfreeze) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{11}
}
func (m *ReplyUnfreeze) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplyUnfreeze.Unmarshal(m, b)
}
func (m *ReplyUnfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyUnfreeze.Marshal(b, m, deterministic)
}
func (m *ReplyUnfreeze) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyUnfreeze.Merge(m, src)
}
func (m *ReplyUnfreeze) XXX_Size() int {
return xxx_messageInfo_ReplyUnfreeze.Size(m)
}
func (m *ReplyUnfreeze) XXX_DiscardUnknown() {
xxx_messageInfo_ReplyUnfreeze.DiscardUnknown(m)
}
var xxx_messageInfo_ReplyUnfreeze proto.InternalMessageInfo
func (m *ReplyUnfreeze) GetUnfreezeID() string {
if m != nil {
return m.UnfreezeID
}
return ""
}
func (m *ReplyUnfreeze) GetStartTime() int64 {
if m != nil {
return m.StartTime
}
return 0
}
func (m *ReplyUnfreeze) GetAssetExec() string {
if m != nil {
return m.AssetExec
}
return ""
}
func (m *ReplyUnfreeze) GetAssetSymbol() string {
if m != nil {
return m.AssetSymbol
}
return ""
}
func (m *ReplyUnfreeze) GetTotalCount() int64 {
if m != nil {
return m.TotalCount
}
return 0
}
func (m *ReplyUnfreeze) GetInitiator() string {
if m != nil {
return m.Initiator
}
return ""
}
func (m *ReplyUnfreeze) GetBeneficiary() string {
if m != nil {
return m.Beneficiary
}
return ""
}
func (m *ReplyUnfreeze) GetRemaining() int64 {
if m != nil {
return m.Remaining
}
return 0
}
func (m *ReplyUnfreeze) GetMeans() string {
if m != nil {
return m.Means
}
return ""
}
type isReplyUnfreeze_MeansOpt interface {
isReplyUnfreeze_MeansOpt()
}
type ReplyUnfreeze_FixAmount struct {
FixAmount *FixAmount `protobuf:"bytes,10,opt,name=fixAmount,proto3,oneof"`
}
type ReplyUnfreeze_LeftProportion struct {
LeftProportion *LeftProportion `protobuf:"bytes,11,opt,name=leftProportion,proto3,oneof"`
}
func (*ReplyUnfreeze_FixAmount) isReplyUnfreeze_MeansOpt() {}
func (*ReplyUnfreeze_LeftProportion) isReplyUnfreeze_MeansOpt() {}
func (m *ReplyUnfreeze) GetMeansOpt() isReplyUnfreeze_MeansOpt {
if m != nil {
return m.MeansOpt
}
return nil
}
func (m *ReplyUnfreeze) GetFixAmount() *FixAmount {
if x, ok := m.GetMeansOpt().(*ReplyUnfreeze_FixAmount); ok {
return x.FixAmount
}
return nil
}
func (m *ReplyUnfreeze) GetLeftProportion() *LeftProportion {
if x, ok := m.GetMeansOpt().(*ReplyUnfreeze_LeftProportion); ok {
return x.LeftProportion
}
return nil
}
func (m *ReplyUnfreeze) GetTerminated() bool {
if m != nil {
return m.Terminated
}
return false
}
func (m *ReplyUnfreeze) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*ReplyUnfreeze) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _ReplyUnfreeze_OneofMarshaler, _ReplyUnfreeze_OneofUnmarshaler, _ReplyUnfreeze_OneofSizer, []interface{}{
(*ReplyUnfreeze_FixAmount)(nil),
(*ReplyUnfreeze_LeftProportion)(nil),
}
}
func _ReplyUnfreeze_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*ReplyUnfreeze)
// meansOpt
switch x := m.MeansOpt.(type) {
case *ReplyUnfreeze_FixAmount:
b.EncodeVarint(10<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.FixAmount); err != nil {
return err
}
case *ReplyUnfreeze_LeftProportion:
b.EncodeVarint(11<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.LeftProportion); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("ReplyUnfreeze.MeansOpt has unexpected type %T", x)
}
return nil
}
func _ReplyUnfreeze_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*ReplyUnfreeze)
switch tag {
case 10: // meansOpt.fixAmount
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(FixAmount)
err := b.DecodeMessage(msg)
m.MeansOpt = &ReplyUnfreeze_FixAmount{msg}
return true, err
case 11: // meansOpt.leftProportion
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(LeftProportion)
err := b.DecodeMessage(msg)
m.MeansOpt = &ReplyUnfreeze_LeftProportion{msg}
return true, err
default:
return false, nil
}
}
func _ReplyUnfreeze_OneofSizer(msg proto.Message) (n int) {
m := msg.(*ReplyUnfreeze)
// meansOpt
switch x := m.MeansOpt.(type) {
case *ReplyUnfreeze_FixAmount:
s := proto.Size(x.FixAmount)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *ReplyUnfreeze_LeftProportion:
s := proto.Size(x.LeftProportion)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type ReplyUnfreezes struct {
Unfreeze []*ReplyUnfreeze `protobuf:"bytes,1,rep,name=unfreeze,proto3" json:"unfreeze,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReplyUnfreezes) Reset() { *m = ReplyUnfreezes{} }
func (m *ReplyUnfreezes) String() string { return proto.CompactTextString(m) }
func (*ReplyUnfreezes) ProtoMessage() {}
func (*ReplyUnfreezes) Descriptor() ([]byte, []int) {
return fileDescriptor_6caa0554cb0b9167, []int{12}
}
func (m *ReplyUnfreezes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplyUnfreezes.Unmarshal(m, b)
}
func (m *ReplyUnfreezes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyUnfreezes.Marshal(b, m, deterministic)
}
func (m *ReplyUnfreezes) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyUnfreezes.Merge(m, src)
}
func (m *ReplyUnfreezes) XXX_Size() int {
return xxx_messageInfo_ReplyUnfreezes.Size(m)
}
func (m *ReplyUnfreezes) XXX_DiscardUnknown() {
xxx_messageInfo_ReplyUnfreezes.DiscardUnknown(m)
}
var xxx_messageInfo_ReplyUnfreezes proto.InternalMessageInfo
func (m *ReplyUnfreezes) GetUnfreeze() []*ReplyUnfreeze {
if m != nil {
return m.Unfreeze
}
return nil
}
func init() {
proto.RegisterType((*Unfreeze)(nil), "types.Unfreeze")
proto.RegisterType((*FixAmount)(nil), "types.FixAmount")
......@@ -718,7 +1319,65 @@ func init() {
proto.RegisterType((*UnfreezeWithdraw)(nil), "types.UnfreezeWithdraw")
proto.RegisterType((*UnfreezeTerminate)(nil), "types.UnfreezeTerminate")
proto.RegisterType((*ReceiptUnfreeze)(nil), "types.ReceiptUnfreeze")
proto.RegisterType((*LocalUnfreeze)(nil), "types.LocalUnfreeze")
proto.RegisterType((*ReplyQueryUnfreezeWithdraw)(nil), "types.ReplyQueryUnfreezeWithdraw")
proto.RegisterType((*ReqUnfreezes)(nil), "types.ReqUnfreezes")
proto.RegisterType((*ReplyUnfreeze)(nil), "types.ReplyUnfreeze")
proto.RegisterType((*ReplyUnfreezes)(nil), "types.ReplyUnfreezes")
}
func init() { proto.RegisterFile("unfreeze.proto", fileDescriptor_6caa0554cb0b9167) }
var fileDescriptor_6caa0554cb0b9167 = []byte{
// 755 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0xcb, 0x6e, 0x13, 0x4b,
0x10, 0xf5, 0x78, 0x3c, 0x7e, 0x94, 0x63, 0xc7, 0xb7, 0x6f, 0xee, 0x65, 0x14, 0x21, 0x64, 0x06,
0x16, 0x46, 0x48, 0x01, 0x39, 0x20, 0x21, 0xb1, 0x40, 0x49, 0x78, 0x38, 0x22, 0xe2, 0x31, 0x09,
0xb0, 0x6e, 0x8f, 0xcb, 0x49, 0x8b, 0x79, 0xa5, 0xdd, 0x4e, 0x3c, 0x7c, 0x04, 0x5f, 0xc0, 0x9f,
0xb0, 0x66, 0xc5, 0x8e, 0x2f, 0x42, 0xd3, 0xf3, 0x1e, 0x27, 0x58, 0x61, 0x87, 0xc4, 0xce, 0x75,
0xaa, 0xea, 0x74, 0x75, 0xd5, 0xa9, 0x1e, 0x43, 0x77, 0xee, 0x4e, 0x39, 0xe2, 0x27, 0xdc, 0xf2,
0xb9, 0x27, 0x3c, 0xa2, 0x89, 0xc0, 0xc7, 0xd9, 0xe6, 0x9a, 0xe5, 0x39, 0x8e, 0xe7, 0x46, 0xa0,
0xf1, 0x55, 0x85, 0xe6, 0xbb, 0x38, 0x8e, 0xdc, 0x00, 0x48, 0x72, 0xf6, 0x9f, 0xea, 0x4a, 0x5f,
0x19, 0xb4, 0xcc, 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d, 0xb4, 0x87,
0x1b, 0x71, 0x29, 0x85, 0xc0, 0x6c, 0x73, 0x86, 0x9f, 0x95, 0x2c, 0x85, 0x1c, 0xc0, 0xbf, 0x2f,
0x50, 0x2c, 0x6d, 0x49, 0x2f, 0xe5, 0x38, 0x3d, 0x14, 0x9c, 0xb9, 0xc7, 0x9b, 0x37, 0xf3, 0xac,
0x17, 0xae, 0x96, 0x51, 0x21, 0x0f, 0xa0, 0x53, 0x70, 0x5d, 0xc0, 0x53, 0x5e, 0x69, 0xa3, 0x32,
0xae, 0xcb, 0x3f, 0x4f, 0xdb, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd2, 0x37, 0x34, 0x48, 0x63,
0x09, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -729,11 +1388,12 @@ var _ grpc.ClientConn
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for Unfreeze service
// UnfreezeClient is the client API for Unfreeze service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type UnfreezeClient interface {
GetUnfreezeWithdraw(ctx context.Context, in *types1.ReqString, opts ...grpc.CallOption) (*ReplyQueryUnfreezeWithdraw, error)
QueryUnfreeze(ctx context.Context, in *types1.ReqString, opts ...grpc.CallOption) (*Unfreeze, error)
GetUnfreezeWithdraw(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*ReplyQueryUnfreezeWithdraw, error)
QueryUnfreeze(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*Unfreeze, error)
}
type unfreezeClient struct {
......@@ -744,29 +1404,28 @@ func NewUnfreezeClient(cc *grpc.ClientConn) UnfreezeClient {
return &unfreezeClient{cc}
}
func (c *unfreezeClient) GetUnfreezeWithdraw(ctx context.Context, in *types1.ReqString, opts ...grpc.CallOption) (*ReplyQueryUnfreezeWithdraw, error) {
func (c *unfreezeClient) GetUnfreezeWithdraw(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*ReplyQueryUnfreezeWithdraw, error) {
out := new(ReplyQueryUnfreezeWithdraw)
err := grpc.Invoke(ctx, "/types.unfreeze/GetUnfreezeWithdraw", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/types.unfreeze/GetUnfreezeWithdraw", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *unfreezeClient) QueryUnfreeze(ctx context.Context, in *types1.ReqString, opts ...grpc.CallOption) (*Unfreeze, error) {
func (c *unfreezeClient) QueryUnfreeze(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*Unfreeze, error) {
out := new(Unfreeze)
err := grpc.Invoke(ctx, "/types.unfreeze/QueryUnfreeze", in, out, c.cc, opts...)
err := c.cc.Invoke(ctx, "/types.unfreeze/QueryUnfreeze", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Unfreeze service
// UnfreezeServer is the server API for Unfreeze service.
type UnfreezeServer interface {
GetUnfreezeWithdraw(context.Context, *types1.ReqString) (*ReplyQueryUnfreezeWithdraw, error)
QueryUnfreeze(context.Context, *types1.ReqString) (*Unfreeze, error)
GetUnfreezeWithdraw(context.Context, *types.ReqString) (*ReplyQueryUnfreezeWithdraw, error)
QueryUnfreeze(context.Context, *types.ReqString) (*Unfreeze, error)
}
func RegisterUnfreezeServer(s *grpc.Server, srv UnfreezeServer) {
......@@ -774,7 +1433,7 @@ func RegisterUnfreezeServer(s *grpc.Server, srv UnfreezeServer) {
}
func _Unfreeze_GetUnfreezeWithdraw_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(types1.ReqString)
in := new(types.ReqString)
if err := dec(in); err != nil {
return nil, err
}
......@@ -786,13 +1445,13 @@ func _Unfreeze_GetUnfreezeWithdraw_Handler(srv interface{}, ctx context.Context,
FullMethod: "/types.unfreeze/GetUnfreezeWithdraw",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UnfreezeServer).GetUnfreezeWithdraw(ctx, req.(*types1.ReqString))
return srv.(UnfreezeServer).GetUnfreezeWithdraw(ctx, req.(*types.ReqString))
}
return interceptor(ctx, in, info, handler)
}
func _Unfreeze_QueryUnfreeze_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(types1.ReqString)
in := new(types.ReqString)
if err := dec(in); err != nil {
return nil, err
}
......@@ -804,7 +1463,7 @@ func _Unfreeze_QueryUnfreeze_Handler(srv interface{}, ctx context.Context, dec f
FullMethod: "/types.unfreeze/QueryUnfreeze",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UnfreezeServer).QueryUnfreeze(ctx, req.(*types1.ReqString))
return srv.(UnfreezeServer).QueryUnfreeze(ctx, req.(*types.ReqString))
}
return interceptor(ctx, in, info, handler)
}
......@@ -825,47 +1484,3 @@ var _Unfreeze_serviceDesc = grpc.ServiceDesc{
Streams: []grpc.StreamDesc{},
Metadata: "unfreeze.proto",
}
func init() { proto.RegisterFile("unfreeze.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 607 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcb, 0x6e, 0xd3, 0x40,
0x14, 0x8d, 0x93, 0x26, 0xb1, 0x6f, 0x68, 0x5a, 0x86, 0x97, 0x55, 0x21, 0x14, 0x0c, 0x8b, 0xb0,
0x29, 0x28, 0x05, 0x09, 0x89, 0x05, 0x6a, 0xcb, 0x23, 0x48, 0x15, 0x8f, 0x69, 0x11, 0xeb, 0x89,
0x7b, 0xd3, 0x8e, 0x64, 0xcf, 0x98, 0xf1, 0xb8, 0xad, 0xf9, 0x08, 0x7e, 0x80, 0xef, 0x61, 0xc5,
0x4f, 0x21, 0x8f, 0x1f, 0x49, 0x9c, 0x96, 0x88, 0x2e, 0xe7, 0x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, 0x77, 0x6b, 0x55, 0xbc, 0xd7,
0x96, 0xe2, 0x5d, 0x0b, 0x70, 0x7b, 0x39, 0xc0, 0x55, 0x44, 0x3b, 0x57, 0x46, 0xb4, 0x7b, 0xbd,
0x88, 0xda, 0xd7, 0x8f, 0xe8, 0x08, 0x36, 0xeb, 0xab, 0x5b, 0xf5, 0x8e, 0x78, 0x3b, 0x70, 0x73,
0x69, 0x6d, 0x2b, 0x45, 0x0c, 0x36, 0x28, 0xfa, 0xc8, 0x23, 0x5d, 0xbd, 0x57, 0x8f, 0x60, 0x2d,
0x52, 0x78, 0x56, 0x84, 0x6f, 0xa3, 0x96, 0x08, 0x6a, 0x48, 0xf2, 0x04, 0xba, 0x7e, 0xa2, 0x14,
0x16, 0xdf, 0xc7, 0x25, 0x75, 0x25, 0xef, 0x4d, 0x61, 0x8b, 0x62, 0x14, 0xa4, 0x5f, 0x12, 0x54,
0xe9, 0xff, 0xde, 0x8a, 0x0c, 0x61, 0x83, 0x9d, 0x31, 0x1e, 0xb0, 0x49, 0x80, 0xbb, 0xf3, 0x1f,
0x64, 0x1d, 0x1e, 0xfd, 0xb4, 0xc0, 0x2e, 0x85, 0xe4, 0x00, 0x6e, 0xbd, 0x47, 0xbd, 0xd4, 0xad,
0xdc, 0x21, 0xc5, 0xef, 0x87, 0x5a, 0x71, 0x71, 0xb2, 0xf5, 0xb0, 0x42, 0xae, 0x1a, 0xd1, 0x6b,
0x90, 0xe7, 0xb0, 0xbe, 0x40, 0x5d, 0xe2, 0x53, 0xbf, 0xbf, 0xd7, 0x98, 0x74, 0xcc, 0x9f, 0xc1,
0xce, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x42, 0x46, 0xd7, 0x7c, 0x33, 0x06, 0x00, 0x00,
}
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