Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
cc5ede4c
Commit
cc5ede4c
authored
Nov 02, 2018
by
linj
Committed by
linj
Nov 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9f5d02b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
338 additions
and
79 deletions
+338
-79
create_protobuf.sh
proto/create_protobuf.sh
+0
-0
unfreeze.pb.go
types/unfreeze.pb.go
+338
-79
No files found.
proto/create_protobuf.sh
100644 → 100755
View file @
cc5ede4c
File mode changed from 100644 to 100755
types/unfreeze.pb.go
View file @
cc5ede4c
...
...
@@ -9,6 +9,8 @@ It is generated from these files:
It has these top-level messages:
Unfreeze
FixAmount
LeftProportion
UnfreezeAction
UnfreezeCreate
UnfreezeWithdraw
...
...
@@ -40,23 +42,22 @@ type Unfreeze struct {
// 开始时间
StartTime
int64
`protobuf:"varint,2,opt,name=startTime" json:"startTime,omitempty"`
// 币种
TokenName
string
`protobuf:"bytes,3,opt,name=tokenName" json:"tokenName,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,
4
,opt,name=totalCount" json:"totalCount,omitempty"`
TotalCount
int64
`protobuf:"varint,
5
,opt,name=totalCount" json:"totalCount,omitempty"`
// 发币人地址
Initiator
string
`protobuf:"bytes,
5
,opt,name=initiator" json:"initiator,omitempty"`
Initiator
string
`protobuf:"bytes,
6
,opt,name=initiator" json:"initiator,omitempty"`
// 收币人地址
Beneficiary
string
`protobuf:"bytes,6,opt,name=beneficiary" json:"beneficiary,omitempty"`
// 解冻间隔
Period
int64
`protobuf:"varint,7,opt,name=period" json:"period,omitempty"`
// 解冻方式(百分比;固额) 1 百分比 -> 2 固额
Means
int32
`protobuf:"varint,8,opt,name=means" json:"means,omitempty"`
// 解冻数量:若为百分比解冻方式该字段值为百分比乘以100,若为固额该字段值为币数量
Amount
int64
`protobuf:"varint,9,opt,name=amount" json:"amount,omitempty"`
// 已解冻次数
WithdrawTimes
int32
`protobuf:"varint,10,opt,name=withdrawTimes" json:"withdrawTimes,omitempty"`
Beneficiary
string
`protobuf:"bytes,7,opt,name=beneficiary" json:"beneficiary,omitempty"`
// 解冻剩余币数
Remaining
int64
`protobuf:"varint,11,opt,name=remaining" json:"remaining,omitempty"`
Remaining
int64
`protobuf:"varint,8,opt,name=remaining" json:"remaining,omitempty"`
// 解冻方式(百分比;固额)
Means
string
`protobuf:"bytes,9,opt,name=means" json:"means,omitempty"`
// Types that are valid to be assigned to MeansOpt:
// *Unfreeze_FixAmount
// *Unfreeze_LeftProportion
MeansOpt
isUnfreeze_MeansOpt
`protobuf_oneof:"meansOpt"`
}
func
(
m
*
Unfreeze
)
Reset
()
{
*
m
=
Unfreeze
{}
}
...
...
@@ -64,6 +65,27 @@ 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
()
}
type
Unfreeze_FixAmount
struct
{
FixAmount
*
FixAmount
`protobuf:"bytes,10,opt,name=fixAmount,oneof"`
}
type
Unfreeze_LeftProportion
struct
{
LeftProportion
*
LeftProportion
`protobuf:"bytes,11,opt,name=leftProportion,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
)
GetUnfreezeID
()
string
{
if
m
!=
nil
{
return
m
.
UnfreezeID
...
...
@@ -78,9 +100,16 @@ func (m *Unfreeze) GetStartTime() int64 {
return
0
}
func
(
m
*
Unfreeze
)
Get
TokenName
()
string
{
func
(
m
*
Unfreeze
)
Get
AssetExec
()
string
{
if
m
!=
nil
{
return
m
.
TokenName
return
m
.
AssetExec
}
return
""
}
func
(
m
*
Unfreeze
)
GetAssetSymbol
()
string
{
if
m
!=
nil
{
return
m
.
AssetSymbol
}
return
""
}
...
...
@@ -106,37 +135,154 @@ func (m *Unfreeze) GetBeneficiary() string {
return
""
}
func
(
m
*
Unfreeze
)
Get
Period
()
int64
{
func
(
m
*
Unfreeze
)
Get
Remaining
()
int64
{
if
m
!=
nil
{
return
m
.
Period
return
m
.
Remaining
}
return
0
}
func
(
m
*
Unfreeze
)
GetMeans
()
int32
{
func
(
m
*
Unfreeze
)
GetMeans
()
string
{
if
m
!=
nil
{
return
m
.
Means
}
return
""
}
func
(
m
*
Unfreeze
)
GetFixAmount
()
*
FixAmount
{
if
x
,
ok
:=
m
.
GetMeansOpt
()
.
(
*
Unfreeze_FixAmount
);
ok
{
return
x
.
FixAmount
}
return
nil
}
func
(
m
*
Unfreeze
)
GetLeftProportion
()
*
LeftProportion
{
if
x
,
ok
:=
m
.
GetMeansOpt
()
.
(
*
Unfreeze_LeftProportion
);
ok
{
return
x
.
LeftProportion
}
return
nil
}
// 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
{}{
(
*
Unfreeze_FixAmount
)(
nil
),
(
*
Unfreeze_LeftProportion
)(
nil
),
}
}
func
_Unfreeze_OneofMarshaler
(
msg
proto
.
Message
,
b
*
proto
.
Buffer
)
error
{
m
:=
msg
.
(
*
Unfreeze
)
// meansOpt
switch
x
:=
m
.
MeansOpt
.
(
type
)
{
case
*
Unfreeze_FixAmount
:
b
.
EncodeVarint
(
10
<<
3
|
proto
.
WireBytes
)
if
err
:=
b
.
EncodeMessage
(
x
.
FixAmount
);
err
!=
nil
{
return
err
}
case
*
Unfreeze_LeftProportion
:
b
.
EncodeVarint
(
11
<<
3
|
proto
.
WireBytes
)
if
err
:=
b
.
EncodeMessage
(
x
.
LeftProportion
);
err
!=
nil
{
return
err
}
case
nil
:
default
:
return
fmt
.
Errorf
(
"Unfreeze.MeansOpt has unexpected type %T"
,
x
)
}
return
nil
}
func
_Unfreeze_OneofUnmarshaler
(
msg
proto
.
Message
,
tag
,
wire
int
,
b
*
proto
.
Buffer
)
(
bool
,
error
)
{
m
:=
msg
.
(
*
Unfreeze
)
switch
tag
{
case
10
:
// meansOpt.fixAmount
if
wire
!=
proto
.
WireBytes
{
return
true
,
proto
.
ErrInternalBadWireType
}
msg
:=
new
(
FixAmount
)
err
:=
b
.
DecodeMessage
(
msg
)
m
.
MeansOpt
=
&
Unfreeze_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
=
&
Unfreeze_LeftProportion
{
msg
}
return
true
,
err
default
:
return
false
,
nil
}
}
func
_Unfreeze_OneofSizer
(
msg
proto
.
Message
)
(
n
int
)
{
m
:=
msg
.
(
*
Unfreeze
)
// meansOpt
switch
x
:=
m
.
MeansOpt
.
(
type
)
{
case
*
Unfreeze_FixAmount
:
s
:=
proto
.
Size
(
x
.
FixAmount
)
n
+=
proto
.
SizeVarint
(
10
<<
3
|
proto
.
WireBytes
)
n
+=
proto
.
SizeVarint
(
uint64
(
s
))
n
+=
s
case
*
Unfreeze_LeftProportion
:
s
:=
proto
.
Size
(
x
.
LeftProportion
)
n
+=
proto
.
SizeVarint
(
11
<<
3
|
proto
.
WireBytes
)
n
+=
proto
.
SizeVarint
(
uint64
(
s
))
n
+=
s
case
nil
:
default
:
panic
(
fmt
.
Sprintf
(
"proto: unexpected type %T in oneof"
,
x
))
}
return
n
}
// 按时间固定额度解冻
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"`
}
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
)
GetPeriod
()
int64
{
if
m
!=
nil
{
return
m
.
Period
}
return
0
}
func
(
m
*
Unfreeze
)
GetAmount
()
int64
{
func
(
m
*
FixAmount
)
GetAmount
()
int64
{
if
m
!=
nil
{
return
m
.
Amount
}
return
0
}
func
(
m
*
Unfreeze
)
GetWithdrawTimes
()
int32
{
// 固定时间间隔按余量百分比解冻
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"`
}
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
}
}
func
(
m
*
LeftProportion
)
GetPeriod
()
int64
{
if
m
!=
nil
{
return
m
.
WithdrawTimes
return
m
.
Period
}
return
0
}
func
(
m
*
Unfreeze
)
GetRemaining
()
int64
{
func
(
m
*
LeftProportion
)
GetTenThousandth
()
int64
{
if
m
!=
nil
{
return
m
.
Remaining
return
m
.
TenThousandth
}
return
0
}
...
...
@@ -154,7 +300,7 @@ type UnfreezeAction struct {
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
{
1
}
}
func
(
*
UnfreezeAction
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
3
}
}
type
isUnfreezeAction_Value
interface
{
isUnfreezeAction_Value
()
...
...
@@ -305,18 +451,42 @@ func _UnfreezeAction_OneofSizer(msg proto.Message) (n int) {
// action
type
UnfreezeCreate
struct
{
StartTime
int64
`protobuf:"varint,1,opt,name=startTime" json:"startTime,omitempty"`
TokenName
string
`protobuf:"bytes,2,opt,name=tokenName" json:"tokenName,omitempty"`
TotalCount
int64
`protobuf:"varint,3,opt,name=totalCount" json:"totalCount,omitempty"`
Beneficiary
string
`protobuf:"bytes,4,opt,name=beneficiary" json:"beneficiary,omitempty"`
Period
int64
`protobuf:"varint,5,opt,name=period" json:"period,omitempty"`
Means
int32
`protobuf:"varint,6,opt,name=means" json:"means,omitempty"`
Amount
int64
`protobuf:"varint,7,opt,name=amount" json:"amount,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"`
// Types that are valid to be assigned to MeansOpt:
// *UnfreezeCreate_FixAmount
// *UnfreezeCreate_LeftProportion
MeansOpt
isUnfreezeCreate_MeansOpt
`protobuf_oneof:"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
fileDescriptor0
,
[]
int
{
2
}
}
func
(
*
UnfreezeCreate
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
4
}
}
type
isUnfreezeCreate_MeansOpt
interface
{
isUnfreezeCreate_MeansOpt
()
}
type
UnfreezeCreate_FixAmount
struct
{
FixAmount
*
FixAmount
`protobuf:"bytes,7,opt,name=fixAmount,oneof"`
}
type
UnfreezeCreate_LeftProportion
struct
{
LeftProportion
*
LeftProportion
`protobuf:"bytes,8,opt,name=leftProportion,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
)
GetStartTime
()
int64
{
if
m
!=
nil
{
...
...
@@ -325,9 +495,16 @@ func (m *UnfreezeCreate) GetStartTime() int64 {
return
0
}
func
(
m
*
UnfreezeCreate
)
Get
TokenName
()
string
{
func
(
m
*
UnfreezeCreate
)
Get
AssetExec
()
string
{
if
m
!=
nil
{
return
m
.
TokenName
return
m
.
AssetExec
}
return
""
}
func
(
m
*
UnfreezeCreate
)
GetAssetSymbol
()
string
{
if
m
!=
nil
{
return
m
.
AssetSymbol
}
return
""
}
...
...
@@ -346,25 +523,99 @@ func (m *UnfreezeCreate) GetBeneficiary() string {
return
""
}
func
(
m
*
UnfreezeCreate
)
Get
Period
()
int64
{
func
(
m
*
UnfreezeCreate
)
Get
Means
()
string
{
if
m
!=
nil
{
return
m
.
Period
return
m
.
Means
}
return
0
return
""
}
func
(
m
*
UnfreezeCreate
)
Get
Means
()
int32
{
if
m
!=
nil
{
return
m
.
Means
func
(
m
*
UnfreezeCreate
)
Get
FixAmount
()
*
FixAmount
{
if
x
,
ok
:=
m
.
GetMeansOpt
()
.
(
*
UnfreezeCreate_FixAmount
);
ok
{
return
x
.
FixAmount
}
return
0
return
nil
}
func
(
m
*
UnfreezeCreate
)
Get
Amount
()
int64
{
if
m
!=
nil
{
return
m
.
Amount
func
(
m
*
UnfreezeCreate
)
Get
LeftProportion
()
*
LeftProportion
{
if
x
,
ok
:=
m
.
GetMeansOpt
()
.
(
*
UnfreezeCreate_LeftProportion
);
ok
{
return
x
.
LeftProportion
}
return
0
return
nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func
(
*
UnfreezeCreate
)
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
_UnfreezeCreate_OneofMarshaler
,
_UnfreezeCreate_OneofUnmarshaler
,
_UnfreezeCreate_OneofSizer
,
[]
interface
{}{
(
*
UnfreezeCreate_FixAmount
)(
nil
),
(
*
UnfreezeCreate_LeftProportion
)(
nil
),
}
}
func
_UnfreezeCreate_OneofMarshaler
(
msg
proto
.
Message
,
b
*
proto
.
Buffer
)
error
{
m
:=
msg
.
(
*
UnfreezeCreate
)
// meansOpt
switch
x
:=
m
.
MeansOpt
.
(
type
)
{
case
*
UnfreezeCreate_FixAmount
:
b
.
EncodeVarint
(
7
<<
3
|
proto
.
WireBytes
)
if
err
:=
b
.
EncodeMessage
(
x
.
FixAmount
);
err
!=
nil
{
return
err
}
case
*
UnfreezeCreate_LeftProportion
:
b
.
EncodeVarint
(
8
<<
3
|
proto
.
WireBytes
)
if
err
:=
b
.
EncodeMessage
(
x
.
LeftProportion
);
err
!=
nil
{
return
err
}
case
nil
:
default
:
return
fmt
.
Errorf
(
"UnfreezeCreate.MeansOpt has unexpected type %T"
,
x
)
}
return
nil
}
func
_UnfreezeCreate_OneofUnmarshaler
(
msg
proto
.
Message
,
tag
,
wire
int
,
b
*
proto
.
Buffer
)
(
bool
,
error
)
{
m
:=
msg
.
(
*
UnfreezeCreate
)
switch
tag
{
case
7
:
// meansOpt.fixAmount
if
wire
!=
proto
.
WireBytes
{
return
true
,
proto
.
ErrInternalBadWireType
}
msg
:=
new
(
FixAmount
)
err
:=
b
.
DecodeMessage
(
msg
)
m
.
MeansOpt
=
&
UnfreezeCreate_FixAmount
{
msg
}
return
true
,
err
case
8
:
// meansOpt.leftProportion
if
wire
!=
proto
.
WireBytes
{
return
true
,
proto
.
ErrInternalBadWireType
}
msg
:=
new
(
LeftProportion
)
err
:=
b
.
DecodeMessage
(
msg
)
m
.
MeansOpt
=
&
UnfreezeCreate_LeftProportion
{
msg
}
return
true
,
err
default
:
return
false
,
nil
}
}
func
_UnfreezeCreate_OneofSizer
(
msg
proto
.
Message
)
(
n
int
)
{
m
:=
msg
.
(
*
UnfreezeCreate
)
// meansOpt
switch
x
:=
m
.
MeansOpt
.
(
type
)
{
case
*
UnfreezeCreate_FixAmount
:
s
:=
proto
.
Size
(
x
.
FixAmount
)
n
+=
proto
.
SizeVarint
(
7
<<
3
|
proto
.
WireBytes
)
n
+=
proto
.
SizeVarint
(
uint64
(
s
))
n
+=
s
case
*
UnfreezeCreate_LeftProportion
:
s
:=
proto
.
Size
(
x
.
LeftProportion
)
n
+=
proto
.
SizeVarint
(
8
<<
3
|
proto
.
WireBytes
)
n
+=
proto
.
SizeVarint
(
uint64
(
s
))
n
+=
s
case
nil
:
default
:
panic
(
fmt
.
Sprintf
(
"proto: unexpected type %T in oneof"
,
x
))
}
return
n
}
type
UnfreezeWithdraw
struct
{
...
...
@@ -374,7 +625,7 @@ type UnfreezeWithdraw struct {
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
{
3
}
}
func
(
*
UnfreezeWithdraw
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
5
}
}
func
(
m
*
UnfreezeWithdraw
)
GetUnfreezeID
()
string
{
if
m
!=
nil
{
...
...
@@ -390,7 +641,7 @@ type UnfreezeTerminate struct {
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
{
4
}
}
func
(
*
UnfreezeTerminate
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
6
}
}
func
(
m
*
UnfreezeTerminate
)
GetUnfreezeID
()
string
{
if
m
!=
nil
{
...
...
@@ -410,7 +661,7 @@ type ReceiptUnfreeze struct {
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
{
5
}
}
func
(
*
ReceiptUnfreeze
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
7
}
}
func
(
m
*
ReceiptUnfreeze
)
GetUnfreezeID
()
string
{
if
m
!=
nil
{
...
...
@@ -448,7 +699,7 @@ type QueryUnfreezeWithdraw struct {
func
(
m
*
QueryUnfreezeWithdraw
)
Reset
()
{
*
m
=
QueryUnfreezeWithdraw
{}
}
func
(
m
*
QueryUnfreezeWithdraw
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
QueryUnfreezeWithdraw
)
ProtoMessage
()
{}
func
(
*
QueryUnfreezeWithdraw
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
6
}
}
func
(
*
QueryUnfreezeWithdraw
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
8
}
}
func
(
m
*
QueryUnfreezeWithdraw
)
GetUnfreezeID
()
string
{
if
m
!=
nil
{
...
...
@@ -465,7 +716,7 @@ type ReplyQueryUnfreezeWithdraw struct {
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
{
7
}
}
func
(
*
ReplyQueryUnfreezeWithdraw
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
9
}
}
func
(
m
*
ReplyQueryUnfreezeWithdraw
)
GetUnfreezeID
()
string
{
if
m
!=
nil
{
...
...
@@ -483,6 +734,8 @@ func (m *ReplyQueryUnfreezeWithdraw) GetAvailableAmount() int64 {
func
init
()
{
proto
.
RegisterType
((
*
Unfreeze
)(
nil
),
"types.Unfreeze"
)
proto
.
RegisterType
((
*
FixAmount
)(
nil
),
"types.FixAmount"
)
proto
.
RegisterType
((
*
LeftProportion
)(
nil
),
"types.LeftProportion"
)
proto
.
RegisterType
((
*
UnfreezeAction
)(
nil
),
"types.UnfreezeAction"
)
proto
.
RegisterType
((
*
UnfreezeCreate
)(
nil
),
"types.UnfreezeCreate"
)
proto
.
RegisterType
((
*
UnfreezeWithdraw
)(
nil
),
"types.UnfreezeWithdraw"
)
...
...
@@ -495,34 +748,40 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"unfreeze.proto"
,
fileDescriptor0
)
}
var
fileDescriptor0
=
[]
byte
{
// 463 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x9c
,
0x54
,
0x4d
,
0x8f
,
0xd3
,
0x30
,
0x10
,
0x6d
,
0x92
,
0x26
,
0x6d
,
0xa7
,
0xa2
,
0x0b
,
0x16
,
0x0b
,
0x16
,
0x42
,
0xa8
,
0x8a
,
0x38
,
0xf4
,
0x54
,
0xa4
,
0xae
,
0x10
,
0x5c
,
0x97
,
0xe5
,
0x50
,
0x2e
,
0x48
,
0x58
,
0x8b
,
0x38
,
0xbb
,
0xdd
,
0x29
,
0x58
,
0x24
,
0x4e
,
0xe4
,
0x4e
,
0x77
,
0x15
,
0xfe
,
0x04
,
0x3f
,
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,
0x5d
,
0x32
,
0x1e
,
0xb2
,
0x49
,
0x88
,
0xc3
,
0xf5
,
0x1f
,
0xbf
,
0x0e
,
0x4f
,
0x9a
,
0xe6
,
0xd4
,
0x9f
,
0xfe
,
0x09
,
0x00
,
0x00
,
0xff
,
0xff
,
0x2c
,
0x7a
,
0x09
,
0xb2
,
0xfc
,
0x05
,
0x00
,
0x00
,
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment