-
Notifications
You must be signed in to change notification settings - Fork 29
/
tx.pb.go
5404 lines (5145 loc) · 142 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: lbm/foundation/v1/tx.proto
package foundation
import (
context "context"
fmt "fmt"
types1 "github.com/Finschia/finschia-sdk/codec/types"
github_com_Finschia_finschia_sdk_types "github.com/Finschia/finschia-sdk/types"
types "github.com/Finschia/finschia-sdk/types"
_ "github.com/gogo/protobuf/gogoproto"
grpc1 "github.com/gogo/protobuf/grpc"
proto "github.com/gogo/protobuf/proto"
_ "github.com/regen-network/cosmos-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_5ec2105611cae3ff, []int{0}
}
// MsgUpdateParams is the Msg/UpdateParams request type.
type MsgUpdateParams struct {
// authority is the address of the privileged account.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// params defines the x/foundation parameters to update.
//
// NOTE: All parameters must be supplied.
Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}
func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} }
func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateParams) ProtoMessage() {}
func (*MsgUpdateParams) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{0}
}
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateParams.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 *MsgUpdateParams) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateParams.Merge(m, src)
}
func (m *MsgUpdateParams) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateParams) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo
// MsgUpdateParamsResponse is the Msg/UpdateParams response type.
type MsgUpdateParamsResponse struct {
}
func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} }
func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateParamsResponse) ProtoMessage() {}
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{1}
}
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateParamsResponse.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 *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src)
}
func (m *MsgUpdateParamsResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo
// MsgFundTreasury is the Msg/FundTreasury request type.
type MsgFundTreasury struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
Amount github_com_Finschia_finschia_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/Finschia/finschia-sdk/types.Coins" json:"amount"`
}
func (m *MsgFundTreasury) Reset() { *m = MsgFundTreasury{} }
func (m *MsgFundTreasury) String() string { return proto.CompactTextString(m) }
func (*MsgFundTreasury) ProtoMessage() {}
func (*MsgFundTreasury) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{2}
}
func (m *MsgFundTreasury) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgFundTreasury) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgFundTreasury.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 *MsgFundTreasury) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgFundTreasury.Merge(m, src)
}
func (m *MsgFundTreasury) XXX_Size() int {
return m.Size()
}
func (m *MsgFundTreasury) XXX_DiscardUnknown() {
xxx_messageInfo_MsgFundTreasury.DiscardUnknown(m)
}
var xxx_messageInfo_MsgFundTreasury proto.InternalMessageInfo
// MsgFundTreasuryResponse is the Msg/FundTreasury response type.
type MsgFundTreasuryResponse struct {
}
func (m *MsgFundTreasuryResponse) Reset() { *m = MsgFundTreasuryResponse{} }
func (m *MsgFundTreasuryResponse) String() string { return proto.CompactTextString(m) }
func (*MsgFundTreasuryResponse) ProtoMessage() {}
func (*MsgFundTreasuryResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{3}
}
func (m *MsgFundTreasuryResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgFundTreasuryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgFundTreasuryResponse.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 *MsgFundTreasuryResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgFundTreasuryResponse.Merge(m, src)
}
func (m *MsgFundTreasuryResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgFundTreasuryResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgFundTreasuryResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgFundTreasuryResponse proto.InternalMessageInfo
// MsgWithdrawFromTreasury is the Msg/WithdrawFromTreasury request type.
type MsgWithdrawFromTreasury struct {
// authority is the address of the privileged account.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Amount github_com_Finschia_finschia_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/Finschia/finschia-sdk/types.Coins" json:"amount"`
}
func (m *MsgWithdrawFromTreasury) Reset() { *m = MsgWithdrawFromTreasury{} }
func (m *MsgWithdrawFromTreasury) String() string { return proto.CompactTextString(m) }
func (*MsgWithdrawFromTreasury) ProtoMessage() {}
func (*MsgWithdrawFromTreasury) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{4}
}
func (m *MsgWithdrawFromTreasury) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgWithdrawFromTreasury) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgWithdrawFromTreasury.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 *MsgWithdrawFromTreasury) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgWithdrawFromTreasury.Merge(m, src)
}
func (m *MsgWithdrawFromTreasury) XXX_Size() int {
return m.Size()
}
func (m *MsgWithdrawFromTreasury) XXX_DiscardUnknown() {
xxx_messageInfo_MsgWithdrawFromTreasury.DiscardUnknown(m)
}
var xxx_messageInfo_MsgWithdrawFromTreasury proto.InternalMessageInfo
// MsgWithdrawFromTreasuryResponse is the Msg/WithdrawFromTreasury response type.
type MsgWithdrawFromTreasuryResponse struct {
}
func (m *MsgWithdrawFromTreasuryResponse) Reset() { *m = MsgWithdrawFromTreasuryResponse{} }
func (m *MsgWithdrawFromTreasuryResponse) String() string { return proto.CompactTextString(m) }
func (*MsgWithdrawFromTreasuryResponse) ProtoMessage() {}
func (*MsgWithdrawFromTreasuryResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{5}
}
func (m *MsgWithdrawFromTreasuryResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgWithdrawFromTreasuryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgWithdrawFromTreasuryResponse.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 *MsgWithdrawFromTreasuryResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgWithdrawFromTreasuryResponse.Merge(m, src)
}
func (m *MsgWithdrawFromTreasuryResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgWithdrawFromTreasuryResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgWithdrawFromTreasuryResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgWithdrawFromTreasuryResponse proto.InternalMessageInfo
// MsgUpdateMembers is the Msg/UpdateMembers request type.
type MsgUpdateMembers struct {
// authority is the address of the privileged account.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// member_updates is the list of members to update,
// set remove to true to remove a member.
MemberUpdates []MemberRequest `protobuf:"bytes,2,rep,name=member_updates,json=memberUpdates,proto3" json:"member_updates"`
}
func (m *MsgUpdateMembers) Reset() { *m = MsgUpdateMembers{} }
func (m *MsgUpdateMembers) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateMembers) ProtoMessage() {}
func (*MsgUpdateMembers) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{6}
}
func (m *MsgUpdateMembers) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateMembers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateMembers.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 *MsgUpdateMembers) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateMembers.Merge(m, src)
}
func (m *MsgUpdateMembers) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateMembers) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateMembers.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateMembers proto.InternalMessageInfo
// MsgUpdateMembersResponse is the Msg/UpdateMembers response type.
type MsgUpdateMembersResponse struct {
}
func (m *MsgUpdateMembersResponse) Reset() { *m = MsgUpdateMembersResponse{} }
func (m *MsgUpdateMembersResponse) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateMembersResponse) ProtoMessage() {}
func (*MsgUpdateMembersResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{7}
}
func (m *MsgUpdateMembersResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateMembersResponse.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 *MsgUpdateMembersResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateMembersResponse.Merge(m, src)
}
func (m *MsgUpdateMembersResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateMembersResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateMembersResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateMembersResponse proto.InternalMessageInfo
// MsgUpdateDecisionPolicy is the Msg/UpdateDecisionPolicy request type.
type MsgUpdateDecisionPolicy struct {
// authority is the address of the privileged account.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// decision_policy is the updated decision policy.
DecisionPolicy *types1.Any `protobuf:"bytes,2,opt,name=decision_policy,json=decisionPolicy,proto3" json:"decision_policy,omitempty"`
}
func (m *MsgUpdateDecisionPolicy) Reset() { *m = MsgUpdateDecisionPolicy{} }
func (m *MsgUpdateDecisionPolicy) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateDecisionPolicy) ProtoMessage() {}
func (*MsgUpdateDecisionPolicy) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{8}
}
func (m *MsgUpdateDecisionPolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateDecisionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateDecisionPolicy.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 *MsgUpdateDecisionPolicy) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateDecisionPolicy.Merge(m, src)
}
func (m *MsgUpdateDecisionPolicy) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateDecisionPolicy) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateDecisionPolicy.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateDecisionPolicy proto.InternalMessageInfo
// MsgUpdateDecisionPolicyResponse is the Msg/UpdateDecisionPolicy response type.
type MsgUpdateDecisionPolicyResponse struct {
}
func (m *MsgUpdateDecisionPolicyResponse) Reset() { *m = MsgUpdateDecisionPolicyResponse{} }
func (m *MsgUpdateDecisionPolicyResponse) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateDecisionPolicyResponse) ProtoMessage() {}
func (*MsgUpdateDecisionPolicyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{9}
}
func (m *MsgUpdateDecisionPolicyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateDecisionPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateDecisionPolicyResponse.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 *MsgUpdateDecisionPolicyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateDecisionPolicyResponse.Merge(m, src)
}
func (m *MsgUpdateDecisionPolicyResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateDecisionPolicyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateDecisionPolicyResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateDecisionPolicyResponse proto.InternalMessageInfo
// MsgSubmitProposal is the Msg/SubmitProposal request type.
type MsgSubmitProposal struct {
// proposers are the account addresses of the proposers.
// Proposers signatures will be counted as yes votes.
Proposers []string `protobuf:"bytes,1,rep,name=proposers,proto3" json:"proposers,omitempty"`
// metadata is any arbitrary metadata to attached to the proposal.
Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
// messages is a list of `sdk.Msg`s that will be executed if the proposal passes.
Messages []*types1.Any `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,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,4,opt,name=exec,proto3,enum=lbm.foundation.v1.Exec" json:"exec,omitempty"`
}
func (m *MsgSubmitProposal) Reset() { *m = MsgSubmitProposal{} }
func (m *MsgSubmitProposal) String() string { return proto.CompactTextString(m) }
func (*MsgSubmitProposal) ProtoMessage() {}
func (*MsgSubmitProposal) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{10}
}
func (m *MsgSubmitProposal) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgSubmitProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgSubmitProposal.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 *MsgSubmitProposal) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgSubmitProposal.Merge(m, src)
}
func (m *MsgSubmitProposal) XXX_Size() int {
return m.Size()
}
func (m *MsgSubmitProposal) XXX_DiscardUnknown() {
xxx_messageInfo_MsgSubmitProposal.DiscardUnknown(m)
}
var xxx_messageInfo_MsgSubmitProposal proto.InternalMessageInfo
// MsgSubmitProposalResponse is the Msg/SubmitProposal response type.
type MsgSubmitProposalResponse 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 *MsgSubmitProposalResponse) Reset() { *m = MsgSubmitProposalResponse{} }
func (m *MsgSubmitProposalResponse) String() string { return proto.CompactTextString(m) }
func (*MsgSubmitProposalResponse) ProtoMessage() {}
func (*MsgSubmitProposalResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{11}
}
func (m *MsgSubmitProposalResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgSubmitProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgSubmitProposalResponse.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 *MsgSubmitProposalResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgSubmitProposalResponse.Merge(m, src)
}
func (m *MsgSubmitProposalResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgSubmitProposalResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgSubmitProposalResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgSubmitProposalResponse proto.InternalMessageInfo
// MsgWithdrawProposal is the Msg/WithdrawProposal request type.
type MsgWithdrawProposal 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"`
// address of one of the proposer of the proposal.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}
func (m *MsgWithdrawProposal) Reset() { *m = MsgWithdrawProposal{} }
func (m *MsgWithdrawProposal) String() string { return proto.CompactTextString(m) }
func (*MsgWithdrawProposal) ProtoMessage() {}
func (*MsgWithdrawProposal) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{12}
}
func (m *MsgWithdrawProposal) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgWithdrawProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgWithdrawProposal.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 *MsgWithdrawProposal) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgWithdrawProposal.Merge(m, src)
}
func (m *MsgWithdrawProposal) XXX_Size() int {
return m.Size()
}
func (m *MsgWithdrawProposal) XXX_DiscardUnknown() {
xxx_messageInfo_MsgWithdrawProposal.DiscardUnknown(m)
}
var xxx_messageInfo_MsgWithdrawProposal proto.InternalMessageInfo
// MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type.
type MsgWithdrawProposalResponse struct {
}
func (m *MsgWithdrawProposalResponse) Reset() { *m = MsgWithdrawProposalResponse{} }
func (m *MsgWithdrawProposalResponse) String() string { return proto.CompactTextString(m) }
func (*MsgWithdrawProposalResponse) ProtoMessage() {}
func (*MsgWithdrawProposalResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{13}
}
func (m *MsgWithdrawProposalResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgWithdrawProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgWithdrawProposalResponse.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 *MsgWithdrawProposalResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgWithdrawProposalResponse.Merge(m, src)
}
func (m *MsgWithdrawProposalResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgWithdrawProposalResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgWithdrawProposalResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgWithdrawProposalResponse proto.InternalMessageInfo
// MsgVote is the Msg/Vote request type.
type MsgVote 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"`
// option is the voter's choice on the proposal.
Option VoteOption `protobuf:"varint,3,opt,name=option,proto3,enum=lbm.foundation.v1.VoteOption" json:"option,omitempty"`
// metadata is any arbitrary metadata to attached to the vote.
Metadata string `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=lbm.foundation.v1.Exec" json:"exec,omitempty"`
}
func (m *MsgVote) Reset() { *m = MsgVote{} }
func (m *MsgVote) String() string { return proto.CompactTextString(m) }
func (*MsgVote) ProtoMessage() {}
func (*MsgVote) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{14}
}
func (m *MsgVote) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgVote.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 *MsgVote) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgVote.Merge(m, src)
}
func (m *MsgVote) XXX_Size() int {
return m.Size()
}
func (m *MsgVote) XXX_DiscardUnknown() {
xxx_messageInfo_MsgVote.DiscardUnknown(m)
}
var xxx_messageInfo_MsgVote proto.InternalMessageInfo
// MsgVoteResponse is the Msg/Vote response type.
type MsgVoteResponse struct {
}
func (m *MsgVoteResponse) Reset() { *m = MsgVoteResponse{} }
func (m *MsgVoteResponse) String() string { return proto.CompactTextString(m) }
func (*MsgVoteResponse) ProtoMessage() {}
func (*MsgVoteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{15}
}
func (m *MsgVoteResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgVoteResponse.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 *MsgVoteResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgVoteResponse.Merge(m, src)
}
func (m *MsgVoteResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgVoteResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgVoteResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgVoteResponse proto.InternalMessageInfo
// MsgExec is the Msg/Exec request type.
type MsgExec 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"`
// signer is the account address used to execute the proposal.
Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}
func (m *MsgExec) Reset() { *m = MsgExec{} }
func (m *MsgExec) String() string { return proto.CompactTextString(m) }
func (*MsgExec) ProtoMessage() {}
func (*MsgExec) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{16}
}
func (m *MsgExec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgExec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgExec.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 *MsgExec) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgExec.Merge(m, src)
}
func (m *MsgExec) XXX_Size() int {
return m.Size()
}
func (m *MsgExec) XXX_DiscardUnknown() {
xxx_messageInfo_MsgExec.DiscardUnknown(m)
}
var xxx_messageInfo_MsgExec proto.InternalMessageInfo
// MsgExecResponse is the Msg/Exec request type.
type MsgExecResponse struct {
}
func (m *MsgExecResponse) Reset() { *m = MsgExecResponse{} }
func (m *MsgExecResponse) String() string { return proto.CompactTextString(m) }
func (*MsgExecResponse) ProtoMessage() {}
func (*MsgExecResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{17}
}
func (m *MsgExecResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgExecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgExecResponse.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 *MsgExecResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgExecResponse.Merge(m, src)
}
func (m *MsgExecResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgExecResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgExecResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgExecResponse proto.InternalMessageInfo
// MsgLeaveFoundation is the Msg/LeaveFoundation request type.
type MsgLeaveFoundation struct {
// address is the account address of the foundation member.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (m *MsgLeaveFoundation) Reset() { *m = MsgLeaveFoundation{} }
func (m *MsgLeaveFoundation) String() string { return proto.CompactTextString(m) }
func (*MsgLeaveFoundation) ProtoMessage() {}
func (*MsgLeaveFoundation) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{18}
}
func (m *MsgLeaveFoundation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgLeaveFoundation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgLeaveFoundation.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 *MsgLeaveFoundation) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgLeaveFoundation.Merge(m, src)
}
func (m *MsgLeaveFoundation) XXX_Size() int {
return m.Size()
}
func (m *MsgLeaveFoundation) XXX_DiscardUnknown() {
xxx_messageInfo_MsgLeaveFoundation.DiscardUnknown(m)
}
var xxx_messageInfo_MsgLeaveFoundation proto.InternalMessageInfo
// MsgLeaveFoundationResponse is the Msg/LeaveFoundation response type.
type MsgLeaveFoundationResponse struct {
}
func (m *MsgLeaveFoundationResponse) Reset() { *m = MsgLeaveFoundationResponse{} }
func (m *MsgLeaveFoundationResponse) String() string { return proto.CompactTextString(m) }
func (*MsgLeaveFoundationResponse) ProtoMessage() {}
func (*MsgLeaveFoundationResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{19}
}
func (m *MsgLeaveFoundationResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgLeaveFoundationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgLeaveFoundationResponse.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 *MsgLeaveFoundationResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgLeaveFoundationResponse.Merge(m, src)
}
func (m *MsgLeaveFoundationResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgLeaveFoundationResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgLeaveFoundationResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgLeaveFoundationResponse proto.InternalMessageInfo
// MsgUpdateCensorship is the Msg/UpdateCensorship request type.
type MsgUpdateCensorship struct {
// authority over the target censorship.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// new censorship information
Censorship Censorship `protobuf:"bytes,2,opt,name=censorship,proto3" json:"censorship"`
}
func (m *MsgUpdateCensorship) Reset() { *m = MsgUpdateCensorship{} }
func (m *MsgUpdateCensorship) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateCensorship) ProtoMessage() {}
func (*MsgUpdateCensorship) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{20}
}
func (m *MsgUpdateCensorship) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateCensorship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateCensorship.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 *MsgUpdateCensorship) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateCensorship.Merge(m, src)
}
func (m *MsgUpdateCensorship) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateCensorship) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateCensorship.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateCensorship proto.InternalMessageInfo
// MsgUpdateCensorshipResponse is the Msg/UpdateCensorship response type.
type MsgUpdateCensorshipResponse struct {
}
func (m *MsgUpdateCensorshipResponse) Reset() { *m = MsgUpdateCensorshipResponse{} }
func (m *MsgUpdateCensorshipResponse) String() string { return proto.CompactTextString(m) }
func (*MsgUpdateCensorshipResponse) ProtoMessage() {}
func (*MsgUpdateCensorshipResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{21}
}
func (m *MsgUpdateCensorshipResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgUpdateCensorshipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgUpdateCensorshipResponse.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 *MsgUpdateCensorshipResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgUpdateCensorshipResponse.Merge(m, src)
}
func (m *MsgUpdateCensorshipResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgUpdateCensorshipResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgUpdateCensorshipResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgUpdateCensorshipResponse proto.InternalMessageInfo
// MsgGrant is the Msg/Grant request type.
// on behalf of the foundation.
type MsgGrant struct {
// authority is the address of the privileged account.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
Grantee string `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`
Authorization *types1.Any `protobuf:"bytes,3,opt,name=authorization,proto3" json:"authorization,omitempty"`
}
func (m *MsgGrant) Reset() { *m = MsgGrant{} }
func (m *MsgGrant) String() string { return proto.CompactTextString(m) }
func (*MsgGrant) ProtoMessage() {}
func (*MsgGrant) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{22}
}
func (m *MsgGrant) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgGrant.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 *MsgGrant) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgGrant.Merge(m, src)
}
func (m *MsgGrant) XXX_Size() int {
return m.Size()
}
func (m *MsgGrant) XXX_DiscardUnknown() {
xxx_messageInfo_MsgGrant.DiscardUnknown(m)
}
var xxx_messageInfo_MsgGrant proto.InternalMessageInfo
// MsgGrantResponse is the Msg/MsgGrant response type.
type MsgGrantResponse struct {
}
func (m *MsgGrantResponse) Reset() { *m = MsgGrantResponse{} }
func (m *MsgGrantResponse) String() string { return proto.CompactTextString(m) }
func (*MsgGrantResponse) ProtoMessage() {}
func (*MsgGrantResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_5ec2105611cae3ff, []int{23}
}
func (m *MsgGrantResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgGrantResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)