forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tx.pb.go
5241 lines (4990 loc) · 140 KB
/
tx.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/group/v1beta1/tx.proto
package group
import (
context "context"
fmt "fmt"
_ "github.com/cosmos/cosmos-proto"
types "github.com/cosmos/cosmos-sdk/codec/types"
_ "github.com/gogo/protobuf/gogoproto"
grpc1 "github.com/gogo/protobuf/grpc"
proto "github.com/gogo/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
io "io"
math "math"
math_bits "math/bits"
)
// 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// Exec defines modes of execution of a proposal on creation or on new vote.
type Exec int32
const (
// An empty value means that there should be a separate
// MsgExec request for the proposal to execute.
Exec_EXEC_UNSPECIFIED Exec = 0
// Try to execute the proposal immediately.
// If the proposal is not allowed per the DecisionPolicy,
// the proposal will still be open and could
// be executed at a later point.
Exec_EXEC_TRY Exec = 1
)
var Exec_name = map[int32]string{
0: "EXEC_UNSPECIFIED",
1: "EXEC_TRY",
}
var Exec_value = map[string]int32{
"EXEC_UNSPECIFIED": 0,
"EXEC_TRY": 1,
}
func (x Exec) String() string {
return proto.EnumName(Exec_name, int32(x))
}
func (Exec) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{0}
}
// MsgCreateGroupRequest is the Msg/CreateGroup request type.
type MsgCreateGroupRequest struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// members defines the group members.
Members []Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members"`
// metadata is any arbitrary metadata to attached to the group.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
func (m *MsgCreateGroupRequest) Reset() { *m = MsgCreateGroupRequest{} }
func (m *MsgCreateGroupRequest) String() string { return proto.CompactTextString(m) }
func (*MsgCreateGroupRequest) ProtoMessage() {}
func (*MsgCreateGroupRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{0}
}
func (m *MsgCreateGroupRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgCreateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgCreateGroupRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgCreateGroupRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgCreateGroupRequest.Merge(m, src)
}
func (m *MsgCreateGroupRequest) XXX_Size() int {
return m.Size()
}
func (m *MsgCreateGroupRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MsgCreateGroupRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MsgCreateGroupRequest proto.InternalMessageInfo
func (m *MsgCreateGroupRequest) GetAdmin() string {
if m != nil {
return m.Admin
}
return ""
}
func (m *MsgCreateGroupRequest) GetMembers() []Member {
if m != nil {
return m.Members
}
return nil
}
func (m *MsgCreateGroupRequest) GetMetadata() []byte {
if m != nil {
return m.Metadata
}
return nil
}
// MsgCreateGroupResponse is the Msg/CreateGroup response type.
type MsgCreateGroupResponse struct {
// group_id is the unique ID of the newly created group.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
func (m *MsgCreateGroupResponse) Reset() { *m = MsgCreateGroupResponse{} }
func (m *MsgCreateGroupResponse) String() string { return proto.CompactTextString(m) }
func (*MsgCreateGroupResponse) ProtoMessage() {}
func (*MsgCreateGroupResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{1}
}
func (m *MsgCreateGroupResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgCreateGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgCreateGroupResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgCreateGroupResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgCreateGroupResponse.Merge(m, src)
}
func (m *MsgCreateGroupResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgCreateGroupResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgCreateGroupResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgCreateGroupResponse proto.InternalMessageInfo
func (m *MsgCreateGroupResponse) GetGroupId() uint64 {
if m != nil {
return m.GroupId
}
return 0
}
// MsgUpdateGroupMembersRequest is the Msg/UpdateGroupMembers request type.
type MsgUpdateGroupMembersRequest struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// member_updates is the list of members to update,
// set weight to 0 to remove a member.
MemberUpdates []Member `protobuf:"bytes,3,rep,name=member_updates,json=memberUpdates,proto3" json:"member_updates"`
}
func (m *MsgUpdateGroupMembersRequest) Reset() { *m = MsgUpdateGroupMembersRequest{} }
func (m *MsgUpdateGroupMembersRequest) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateGroupMembersRequest) ProtoMessage() {}
func (*MsgUpdateGroupMembersRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{2}
}
func (m *MsgUpdateGroupMembersRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupMembersRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupMembersRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupMembersRequest.Merge(m, src)
}
func (m *MsgUpdateGroupMembersRequest) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupMembersRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupMembersRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupMembersRequest proto.InternalMessageInfo
func (m *MsgUpdateGroupMembersRequest) GetAdmin() string {
if m != nil {
return m.Admin
}
return ""
}
func (m *MsgUpdateGroupMembersRequest) GetGroupId() uint64 {
if m != nil {
return m.GroupId
}
return 0
}
func (m *MsgUpdateGroupMembersRequest) GetMemberUpdates() []Member {
if m != nil {
return m.MemberUpdates
}
return nil
}
// MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type.
type MsgUpdateGroupMembersResponse struct {
}
func (m *MsgUpdateGroupMembersResponse) Reset() { *m = MsgUpdateGroupMembersResponse{} }
func (m *MsgUpdateGroupMembersResponse) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateGroupMembersResponse) ProtoMessage() {}
func (*MsgUpdateGroupMembersResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{3}
}
func (m *MsgUpdateGroupMembersResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupMembersResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupMembersResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupMembersResponse.Merge(m, src)
}
func (m *MsgUpdateGroupMembersResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupMembersResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupMembersResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupMembersResponse proto.InternalMessageInfo
// MsgUpdateGroupAdminRequest is the Msg/UpdateGroupAdmin request type.
type MsgUpdateGroupAdminRequest struct {
// admin is the current account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// new_admin is the group new admin account address.
NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"`
}
func (m *MsgUpdateGroupAdminRequest) Reset() { *m = MsgUpdateGroupAdminRequest{} }
func (m *MsgUpdateGroupAdminRequest) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateGroupAdminRequest) ProtoMessage() {}
func (*MsgUpdateGroupAdminRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{4}
}
func (m *MsgUpdateGroupAdminRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupAdminRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupAdminRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupAdminRequest.Merge(m, src)
}
func (m *MsgUpdateGroupAdminRequest) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupAdminRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupAdminRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupAdminRequest proto.InternalMessageInfo
func (m *MsgUpdateGroupAdminRequest) GetAdmin() string {
if m != nil {
return m.Admin
}
return ""
}
func (m *MsgUpdateGroupAdminRequest) GetGroupId() uint64 {
if m != nil {
return m.GroupId
}
return 0
}
func (m *MsgUpdateGroupAdminRequest) GetNewAdmin() string {
if m != nil {
return m.NewAdmin
}
return ""
}
// MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type.
type MsgUpdateGroupAdminResponse struct {
}
func (m *MsgUpdateGroupAdminResponse) Reset() { *m = MsgUpdateGroupAdminResponse{} }
func (m *MsgUpdateGroupAdminResponse) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateGroupAdminResponse) ProtoMessage() {}
func (*MsgUpdateGroupAdminResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{5}
}
func (m *MsgUpdateGroupAdminResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupAdminResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupAdminResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupAdminResponse.Merge(m, src)
}
func (m *MsgUpdateGroupAdminResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupAdminResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupAdminResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupAdminResponse proto.InternalMessageInfo
// MsgUpdateGroupMetadataRequest is the Msg/UpdateGroupMetadata request type.
type MsgUpdateGroupMetadataRequest struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// metadata is the updated group's metadata.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
func (m *MsgUpdateGroupMetadataRequest) Reset() { *m = MsgUpdateGroupMetadataRequest{} }
func (m *MsgUpdateGroupMetadataRequest) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateGroupMetadataRequest) ProtoMessage() {}
func (*MsgUpdateGroupMetadataRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{6}
}
func (m *MsgUpdateGroupMetadataRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupMetadataRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupMetadataRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupMetadataRequest.Merge(m, src)
}
func (m *MsgUpdateGroupMetadataRequest) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupMetadataRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupMetadataRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupMetadataRequest proto.InternalMessageInfo
func (m *MsgUpdateGroupMetadataRequest) GetAdmin() string {
if m != nil {
return m.Admin
}
return ""
}
func (m *MsgUpdateGroupMetadataRequest) GetGroupId() uint64 {
if m != nil {
return m.GroupId
}
return 0
}
func (m *MsgUpdateGroupMetadataRequest) GetMetadata() []byte {
if m != nil {
return m.Metadata
}
return nil
}
// MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type.
type MsgUpdateGroupMetadataResponse struct {
}
func (m *MsgUpdateGroupMetadataResponse) Reset() { *m = MsgUpdateGroupMetadataResponse{} }
func (m *MsgUpdateGroupMetadataResponse) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateGroupMetadataResponse) ProtoMessage() {}
func (*MsgUpdateGroupMetadataResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{7}
}
func (m *MsgUpdateGroupMetadataResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupMetadataResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupMetadataResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupMetadataResponse.Merge(m, src)
}
func (m *MsgUpdateGroupMetadataResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupMetadataResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupMetadataResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupMetadataResponse proto.InternalMessageInfo
// MsgCreateGroupAccountRequest is the Msg/CreateGroupAccount request type.
type MsgCreateGroupAccountRequest struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// metadata is any arbitrary metadata to attached to the group account.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// decision_policy specifies the group account's decision policy.
DecisionPolicy *types.Any `protobuf:"bytes,4,opt,name=decision_policy,json=decisionPolicy,proto3" json:"decision_policy,omitempty"`
}
func (m *MsgCreateGroupAccountRequest) Reset() { *m = MsgCreateGroupAccountRequest{} }
func (m *MsgCreateGroupAccountRequest) String() string { return proto.CompactTextString(m) }
func (*MsgCreateGroupAccountRequest) ProtoMessage() {}
func (*MsgCreateGroupAccountRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{8}
}
func (m *MsgCreateGroupAccountRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgCreateGroupAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgCreateGroupAccountRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgCreateGroupAccountRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgCreateGroupAccountRequest.Merge(m, src)
}
func (m *MsgCreateGroupAccountRequest) XXX_Size() int {
return m.Size()
}
func (m *MsgCreateGroupAccountRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MsgCreateGroupAccountRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MsgCreateGroupAccountRequest proto.InternalMessageInfo
// MsgCreateGroupAccountResponse is the Msg/CreateGroupAccount response type.
type MsgCreateGroupAccountResponse struct {
// address is the account address of the newly created group account.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (m *MsgCreateGroupAccountResponse) Reset() { *m = MsgCreateGroupAccountResponse{} }
func (m *MsgCreateGroupAccountResponse) String() string { return proto.CompactTextString(m) }
func (*MsgCreateGroupAccountResponse) ProtoMessage() {}
func (*MsgCreateGroupAccountResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{9}
}
func (m *MsgCreateGroupAccountResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgCreateGroupAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgCreateGroupAccountResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgCreateGroupAccountResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgCreateGroupAccountResponse.Merge(m, src)
}
func (m *MsgCreateGroupAccountResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgCreateGroupAccountResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgCreateGroupAccountResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgCreateGroupAccountResponse proto.InternalMessageInfo
func (m *MsgCreateGroupAccountResponse) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
// MsgUpdateGroupAccountAdminRequest is the Msg/UpdateGroupAccountAdmin request type.
type MsgUpdateGroupAccountAdminRequest struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// address is the group account address.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// new_admin is the new group account admin.
NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"`
}
func (m *MsgUpdateGroupAccountAdminRequest) Reset() { *m = MsgUpdateGroupAccountAdminRequest{} }
func (m *MsgUpdateGroupAccountAdminRequest) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateGroupAccountAdminRequest) ProtoMessage() {}
func (*MsgUpdateGroupAccountAdminRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{10}
}
func (m *MsgUpdateGroupAccountAdminRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupAccountAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupAccountAdminRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupAccountAdminRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupAccountAdminRequest.Merge(m, src)
}
func (m *MsgUpdateGroupAccountAdminRequest) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupAccountAdminRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupAccountAdminRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupAccountAdminRequest proto.InternalMessageInfo
func (m *MsgUpdateGroupAccountAdminRequest) GetAdmin() string {
if m != nil {
return m.Admin
}
return ""
}
func (m *MsgUpdateGroupAccountAdminRequest) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *MsgUpdateGroupAccountAdminRequest) GetNewAdmin() string {
if m != nil {
return m.NewAdmin
}
return ""
}
// MsgUpdateGroupAccountAdminResponse is the Msg/UpdateGroupAccountAdmin response type.
type MsgUpdateGroupAccountAdminResponse struct {
}
func (m *MsgUpdateGroupAccountAdminResponse) Reset() { *m = MsgUpdateGroupAccountAdminResponse{} }
func (m *MsgUpdateGroupAccountAdminResponse) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateGroupAccountAdminResponse) ProtoMessage() {}
func (*MsgUpdateGroupAccountAdminResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{11}
}
func (m *MsgUpdateGroupAccountAdminResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupAccountAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupAccountAdminResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupAccountAdminResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupAccountAdminResponse.Merge(m, src)
}
func (m *MsgUpdateGroupAccountAdminResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupAccountAdminResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupAccountAdminResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupAccountAdminResponse proto.InternalMessageInfo
// MsgUpdateGroupAccountDecisionPolicyRequest is the Msg/UpdateGroupAccountDecisionPolicy request type.
type MsgUpdateGroupAccountDecisionPolicyRequest struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// address is the group account address.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// decision_policy is the updated group account decision policy.
DecisionPolicy *types.Any `protobuf:"bytes,3,opt,name=decision_policy,json=decisionPolicy,proto3" json:"decision_policy,omitempty"`
}
func (m *MsgUpdateGroupAccountDecisionPolicyRequest) Reset() {
*m = MsgUpdateGroupAccountDecisionPolicyRequest{}
}
func (m *MsgUpdateGroupAccountDecisionPolicyRequest) String() string {
return proto.CompactTextString(m)
}
func (*MsgUpdateGroupAccountDecisionPolicyRequest) ProtoMessage() {}
func (*MsgUpdateGroupAccountDecisionPolicyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{12}
}
func (m *MsgUpdateGroupAccountDecisionPolicyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupAccountDecisionPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupAccountDecisionPolicyRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupAccountDecisionPolicyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupAccountDecisionPolicyRequest.Merge(m, src)
}
func (m *MsgUpdateGroupAccountDecisionPolicyRequest) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupAccountDecisionPolicyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupAccountDecisionPolicyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupAccountDecisionPolicyRequest proto.InternalMessageInfo
// MsgUpdateGroupAccountDecisionPolicyResponse is the Msg/UpdateGroupAccountDecisionPolicy response type.
type MsgUpdateGroupAccountDecisionPolicyResponse struct {
}
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) Reset() {
*m = MsgUpdateGroupAccountDecisionPolicyResponse{}
}
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) String() string {
return proto.CompactTextString(m)
}
func (*MsgUpdateGroupAccountDecisionPolicyResponse) ProtoMessage() {}
func (*MsgUpdateGroupAccountDecisionPolicyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{13}
}
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupAccountDecisionPolicyResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupAccountDecisionPolicyResponse.Merge(m, src)
}
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupAccountDecisionPolicyResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupAccountDecisionPolicyResponse proto.InternalMessageInfo
// MsgUpdateGroupAccountMetadataRequest is the Msg/UpdateGroupAccountMetadata request type.
type MsgUpdateGroupAccountMetadataRequest struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// address is the group account address.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// metadata is the updated group account metadata.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
func (m *MsgUpdateGroupAccountMetadataRequest) Reset() { *m = MsgUpdateGroupAccountMetadataRequest{} }
func (m *MsgUpdateGroupAccountMetadataRequest) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateGroupAccountMetadataRequest) ProtoMessage() {}
func (*MsgUpdateGroupAccountMetadataRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{14}
}
func (m *MsgUpdateGroupAccountMetadataRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupAccountMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupAccountMetadataRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupAccountMetadataRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupAccountMetadataRequest.Merge(m, src)
}
func (m *MsgUpdateGroupAccountMetadataRequest) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupAccountMetadataRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupAccountMetadataRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupAccountMetadataRequest proto.InternalMessageInfo
func (m *MsgUpdateGroupAccountMetadataRequest) GetAdmin() string {
if m != nil {
return m.Admin
}
return ""
}
func (m *MsgUpdateGroupAccountMetadataRequest) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *MsgUpdateGroupAccountMetadataRequest) GetMetadata() []byte {
if m != nil {
return m.Metadata
}
return nil
}
// MsgUpdateGroupAccountMetadataResponse is the Msg/UpdateGroupAccountMetadata response type.
type MsgUpdateGroupAccountMetadataResponse struct {
}
func (m *MsgUpdateGroupAccountMetadataResponse) Reset() { *m = MsgUpdateGroupAccountMetadataResponse{} }
func (m *MsgUpdateGroupAccountMetadataResponse) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateGroupAccountMetadataResponse) ProtoMessage() {}
func (*MsgUpdateGroupAccountMetadataResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{15}
}
func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateGroupAccountMetadataResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateGroupAccountMetadataResponse.Merge(m, src)
}
func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateGroupAccountMetadataResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateGroupAccountMetadataResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateGroupAccountMetadataResponse proto.InternalMessageInfo
// MsgCreateProposalRequest is the Msg/CreateProposal request type.
type MsgCreateProposalRequest struct {
// address is the group account address.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// proposers are the account addresses of the proposers.
// Proposers signatures will be counted as yes votes.
Proposers []string `protobuf:"bytes,2,rep,name=proposers,proto3" json:"proposers,omitempty"`
// metadata is any arbitrary metadata to attached to the proposal.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// msgs is a list of Msgs that will be executed if the proposal passes.
Msgs []*types.Any `protobuf:"bytes,4,rep,name=msgs,proto3" json:"msgs,omitempty"`
// exec defines the mode of execution of the proposal,
// whether it should be executed immediately on creation or not.
// If so, proposers signatures are considered as Yes votes.
Exec Exec `protobuf:"varint,5,opt,name=exec,proto3,enum=cosmos.group.v1beta1.Exec" json:"exec,omitempty"`
}
func (m *MsgCreateProposalRequest) Reset() { *m = MsgCreateProposalRequest{} }
func (m *MsgCreateProposalRequest) String() string { return proto.CompactTextString(m) }
func (*MsgCreateProposalRequest) ProtoMessage() {}
func (*MsgCreateProposalRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{16}
}
func (m *MsgCreateProposalRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgCreateProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgCreateProposalRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgCreateProposalRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgCreateProposalRequest.Merge(m, src)
}
func (m *MsgCreateProposalRequest) XXX_Size() int {
return m.Size()
}
func (m *MsgCreateProposalRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MsgCreateProposalRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MsgCreateProposalRequest proto.InternalMessageInfo
// MsgCreateProposalResponse is the Msg/CreateProposal response type.
type MsgCreateProposalResponse struct {
// proposal is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
}
func (m *MsgCreateProposalResponse) Reset() { *m = MsgCreateProposalResponse{} }
func (m *MsgCreateProposalResponse) String() string { return proto.CompactTextString(m) }
func (*MsgCreateProposalResponse) ProtoMessage() {}
func (*MsgCreateProposalResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{17}
}
func (m *MsgCreateProposalResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgCreateProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgCreateProposalResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgCreateProposalResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgCreateProposalResponse.Merge(m, src)
}
func (m *MsgCreateProposalResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgCreateProposalResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgCreateProposalResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgCreateProposalResponse proto.InternalMessageInfo
func (m *MsgCreateProposalResponse) GetProposalId() uint64 {
if m != nil {
return m.ProposalId
}
return 0
}
// MsgVoteRequest is the Msg/Vote request type.
type MsgVoteRequest struct {
// proposal is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
// voter is the voter account address.
Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
// choice is the voter's choice on the proposal.
Choice Choice `protobuf:"varint,3,opt,name=choice,proto3,enum=cosmos.group.v1beta1.Choice" json:"choice,omitempty"`
// metadata is any arbitrary metadata to attached to the vote.
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// exec defines whether the proposal should be executed
// immediately after voting or not.
Exec Exec `protobuf:"varint,5,opt,name=exec,proto3,enum=cosmos.group.v1beta1.Exec" json:"exec,omitempty"`
}
func (m *MsgVoteRequest) Reset() { *m = MsgVoteRequest{} }
func (m *MsgVoteRequest) String() string { return proto.CompactTextString(m) }
func (*MsgVoteRequest) ProtoMessage() {}
func (*MsgVoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_da0de9d603d844fb, []int{18}
}
func (m *MsgVoteRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgVoteRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgVoteRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgVoteRequest.Merge(m, src)
}
func (m *MsgVoteRequest) XXX_Size() int {
return m.Size()
}
func (m *MsgVoteRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MsgVoteRequest.DiscardUnknown(m)
}