-
Notifications
You must be signed in to change notification settings - Fork 35
/
transaction.pb.go
132 lines (112 loc) · 4.25 KB
/
transaction.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: transaction.proto
/*
Package transaction is a generated protocol buffer package.
It is generated from these files:
transaction.proto
It has these top-level messages:
TransactionSign
*/
package transaction
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type TransactionSign struct {
Version uint32 `protobuf:"varint,1,opt,name=version" json:"version"`
CursorNum uint32 `protobuf:"varint,2,opt,name=cursor_num,json=cursorNum" json:"cursor_num"`
CursorLabel uint32 `protobuf:"varint,3,opt,name=cursor_label,json=cursorLabel" json:"cursor_label"`
Lifetime uint64 `protobuf:"varint,4,opt,name=lifetime" json:"lifetime"`
Sender string `protobuf:"bytes,5,opt,name=sender" json:"sender"`
Contract string `protobuf:"bytes,6,opt,name=contract" json:"contract"`
Method string `protobuf:"bytes,7,opt,name=method" json:"method"`
Param []byte `protobuf:"bytes,8,opt,name=param,proto3" json:"param"`
SigAlg uint32 `protobuf:"varint,9,opt,name=sig_alg,json=sigAlg" json:"sig_alg"`
}
func (m *TransactionSign) Reset() { *m = TransactionSign{} }
func (m *TransactionSign) String() string { return proto.CompactTextString(m) }
func (*TransactionSign) ProtoMessage() {}
func (*TransactionSign) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *TransactionSign) GetVersion() uint32 {
if m != nil {
return m.Version
}
return 0
}
func (m *TransactionSign) GetCursorNum() uint32 {
if m != nil {
return m.CursorNum
}
return 0
}
func (m *TransactionSign) GetCursorLabel() uint32 {
if m != nil {
return m.CursorLabel
}
return 0
}
func (m *TransactionSign) GetLifetime() uint64 {
if m != nil {
return m.Lifetime
}
return 0
}
func (m *TransactionSign) GetSender() string {
if m != nil {
return m.Sender
}
return ""
}
func (m *TransactionSign) GetContract() string {
if m != nil {
return m.Contract
}
return ""
}
func (m *TransactionSign) GetMethod() string {
if m != nil {
return m.Method
}
return ""
}
func (m *TransactionSign) GetParam() []byte {
if m != nil {
return m.Param
}
return nil
}
func (m *TransactionSign) GetSigAlg() uint32 {
if m != nil {
return m.SigAlg
}
return 0
}
func init() {
proto.RegisterType((*TransactionSign)(nil), "TransactionSign")
}
func init() { proto.RegisterFile("transaction.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 221 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0xcd, 0x4a, 0x03, 0x31,
0x14, 0x46, 0x49, 0x6d, 0x67, 0x3a, 0xd7, 0x8a, 0x18, 0x44, 0x2f, 0x82, 0x30, 0xba, 0xca, 0xca,
0x8d, 0x4f, 0xe0, 0x5e, 0x5c, 0x44, 0xf7, 0x25, 0x4d, 0x63, 0x0c, 0xe4, 0xa7, 0xdc, 0x64, 0x7c,
0x02, 0x1f, 0x5c, 0x26, 0xa9, 0x75, 0x79, 0xce, 0x97, 0x03, 0xe1, 0xc2, 0x55, 0x21, 0x15, 0xb3,
0xd2, 0xc5, 0xa5, 0xf8, 0x74, 0xa0, 0x54, 0xd2, 0xe3, 0xcf, 0x02, 0x2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