-
Notifications
You must be signed in to change notification settings - Fork 155
/
tx.pb.go
4189 lines (4019 loc) · 115 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: babylon/btcstaking/v1/tx.proto
package types
import (
context "context"
cosmossdk_io_math "cosmossdk.io/math"
fmt "fmt"
github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types"
types1 "github.com/babylonchain/babylon/x/btccheckpoint/types"
_ "github.com/cosmos/cosmos-proto"
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
types "github.com/cosmos/cosmos-sdk/x/staking/types"
_ "github.com/cosmos/gogoproto/gogoproto"
grpc1 "github.com/cosmos/gogoproto/grpc"
proto "github.com/cosmos/gogoproto/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
// MsgCreateFinalityProvider is the message for creating a finality provider
type MsgCreateFinalityProvider struct {
// addr defines the address of the finality provider that will receive
// the commissions to all the delegations.
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
// description defines the description terms for the finality provider
Description *types.Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// commission defines the commission rate of the finality provider
Commission *cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=commission,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"commission,omitempty"`
// btc_pk is the Bitcoin secp256k1 PK of this finality provider
// the PK follows encoding in BIP-340 spec
BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,4,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"`
// pop is the proof of possession of btc_pk over the FP signer address.
Pop *ProofOfPossessionBTC `protobuf:"bytes,5,opt,name=pop,proto3" json:"pop,omitempty"`
}
func (m *MsgCreateFinalityProvider) Reset() { *m = MsgCreateFinalityProvider{} }
func (m *MsgCreateFinalityProvider) String() string { return proto.CompactTextString(m) }
func (*MsgCreateFinalityProvider) ProtoMessage() {}
func (*MsgCreateFinalityProvider) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{0}
}
func (m *MsgCreateFinalityProvider) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgCreateFinalityProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgCreateFinalityProvider.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 *MsgCreateFinalityProvider) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgCreateFinalityProvider.Merge(m, src)
}
func (m *MsgCreateFinalityProvider) XXX_Size() int {
return m.Size()
}
func (m *MsgCreateFinalityProvider) XXX_DiscardUnknown() {
xxx_messageInfo_MsgCreateFinalityProvider.DiscardUnknown(m)
}
var xxx_messageInfo_MsgCreateFinalityProvider proto.InternalMessageInfo
func (m *MsgCreateFinalityProvider) GetAddr() string {
if m != nil {
return m.Addr
}
return ""
}
func (m *MsgCreateFinalityProvider) GetDescription() *types.Description {
if m != nil {
return m.Description
}
return nil
}
func (m *MsgCreateFinalityProvider) GetPop() *ProofOfPossessionBTC {
if m != nil {
return m.Pop
}
return nil
}
// MsgCreateFinalityProviderResponse is the response for MsgCreateFinalityProvider
type MsgCreateFinalityProviderResponse struct {
}
func (m *MsgCreateFinalityProviderResponse) Reset() { *m = MsgCreateFinalityProviderResponse{} }
func (m *MsgCreateFinalityProviderResponse) String() string { return proto.CompactTextString(m) }
func (*MsgCreateFinalityProviderResponse) ProtoMessage() {}
func (*MsgCreateFinalityProviderResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{1}
}
func (m *MsgCreateFinalityProviderResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgCreateFinalityProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgCreateFinalityProviderResponse.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 *MsgCreateFinalityProviderResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgCreateFinalityProviderResponse.Merge(m, src)
}
func (m *MsgCreateFinalityProviderResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgCreateFinalityProviderResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgCreateFinalityProviderResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgCreateFinalityProviderResponse proto.InternalMessageInfo
// MsgEditFinalityProvider is the message for editing an existing finality provider
type MsgEditFinalityProvider struct {
// addr the address of the finality provider that whishes to edit his information.
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
// btc_pk is the Bitcoin secp256k1 PK of the finality provider to be edited
BtcPk []byte `protobuf:"bytes,2,opt,name=btc_pk,json=btcPk,proto3" json:"btc_pk,omitempty"`
// description defines the updated description terms for the finality provider
Description *types.Description `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// commission defines the updated commission rate of the finality provider
Commission *cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=commission,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"commission,omitempty"`
}
func (m *MsgEditFinalityProvider) Reset() { *m = MsgEditFinalityProvider{} }
func (m *MsgEditFinalityProvider) String() string { return proto.CompactTextString(m) }
func (*MsgEditFinalityProvider) ProtoMessage() {}
func (*MsgEditFinalityProvider) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{2}
}
func (m *MsgEditFinalityProvider) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgEditFinalityProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgEditFinalityProvider.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 *MsgEditFinalityProvider) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgEditFinalityProvider.Merge(m, src)
}
func (m *MsgEditFinalityProvider) XXX_Size() int {
return m.Size()
}
func (m *MsgEditFinalityProvider) XXX_DiscardUnknown() {
xxx_messageInfo_MsgEditFinalityProvider.DiscardUnknown(m)
}
var xxx_messageInfo_MsgEditFinalityProvider proto.InternalMessageInfo
func (m *MsgEditFinalityProvider) GetAddr() string {
if m != nil {
return m.Addr
}
return ""
}
func (m *MsgEditFinalityProvider) GetBtcPk() []byte {
if m != nil {
return m.BtcPk
}
return nil
}
func (m *MsgEditFinalityProvider) GetDescription() *types.Description {
if m != nil {
return m.Description
}
return nil
}
// MsgEditFinalityProviderResponse is the response for MsgEditFinalityProvider
type MsgEditFinalityProviderResponse struct {
}
func (m *MsgEditFinalityProviderResponse) Reset() { *m = MsgEditFinalityProviderResponse{} }
func (m *MsgEditFinalityProviderResponse) String() string { return proto.CompactTextString(m) }
func (*MsgEditFinalityProviderResponse) ProtoMessage() {}
func (*MsgEditFinalityProviderResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{3}
}
func (m *MsgEditFinalityProviderResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgEditFinalityProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgEditFinalityProviderResponse.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 *MsgEditFinalityProviderResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgEditFinalityProviderResponse.Merge(m, src)
}
func (m *MsgEditFinalityProviderResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgEditFinalityProviderResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgEditFinalityProviderResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgEditFinalityProviderResponse proto.InternalMessageInfo
// MsgCreateBTCDelegation is the message for creating a BTC delegation
type MsgCreateBTCDelegation struct {
// staker_addr is the address to receive rewards from BTC delegation.
StakerAddr string `protobuf:"bytes,1,opt,name=staker_addr,json=stakerAddr,proto3" json:"staker_addr,omitempty"`
// pop is the proof of possession of btc_pk by the staker_addr.
Pop *ProofOfPossessionBTC `protobuf:"bytes,2,opt,name=pop,proto3" json:"pop,omitempty"`
// btc_pk is the Bitcoin secp256k1 PK of the BTC delegator
BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,3,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"`
// fp_btc_pk_list is the list of Bitcoin secp256k1 PKs of the finality providers, if there is more than one
// finality provider pk it means that delegation is re-staked
FpBtcPkList []github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,4,rep,name=fp_btc_pk_list,json=fpBtcPkList,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk_list,omitempty"`
// staking_time is the time lock used in staking transaction
StakingTime uint32 `protobuf:"varint,5,opt,name=staking_time,json=stakingTime,proto3" json:"staking_time,omitempty"`
// staking_value is the amount of satoshis locked in staking output
StakingValue int64 `protobuf:"varint,6,opt,name=staking_value,json=stakingValue,proto3" json:"staking_value,omitempty"`
// staking_tx is the staking tx along with the merkle proof of inclusion in btc block
StakingTx *types1.TransactionInfo `protobuf:"bytes,7,opt,name=staking_tx,json=stakingTx,proto3" json:"staking_tx,omitempty"`
// slashing_tx is the slashing tx
// Note that the tx itself does not contain signatures, which are off-chain.
SlashingTx *BTCSlashingTx `protobuf:"bytes,8,opt,name=slashing_tx,json=slashingTx,proto3,customtype=BTCSlashingTx" json:"slashing_tx,omitempty"`
// delegator_slashing_sig is the signature on the slashing tx by the delegator (i.e., SK corresponding to btc_pk).
// It will be a part of the witness for the staking tx output.
// The staking tx output further needs signatures from covenant and finality provider in
// order to be spendable.
DelegatorSlashingSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,9,opt,name=delegator_slashing_sig,json=delegatorSlashingSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"delegator_slashing_sig,omitempty"`
// unbonding_time is the time lock used when funds are being unbonded. It is be used in:
// - unbonding transaction, time lock spending path
// - staking slashing transaction, change output
// - unbonding slashing transaction, change output
// It must be smaller than math.MaxUInt16 and larger that max(MinUnbondingTime, CheckpointFinalizationTimeout)
UnbondingTime uint32 `protobuf:"varint,10,opt,name=unbonding_time,json=unbondingTime,proto3" json:"unbonding_time,omitempty"`
// fields related to unbonding transaction
// unbonding_tx is a bitcoin unbonding transaction i.e transaction that spends
// staking output and sends it to the unbonding output
UnbondingTx []byte `protobuf:"bytes,11,opt,name=unbonding_tx,json=unbondingTx,proto3" json:"unbonding_tx,omitempty"`
// unbonding_value is amount of satoshis locked in unbonding output.
// NOTE: staking_value and unbonding_value could be different because of the difference between the fee for staking tx and that for unbonding
UnbondingValue int64 `protobuf:"varint,12,opt,name=unbonding_value,json=unbondingValue,proto3" json:"unbonding_value,omitempty"`
// unbonding_slashing_tx is the slashing tx which slash unbonding contract
// Note that the tx itself does not contain signatures, which are off-chain.
UnbondingSlashingTx *BTCSlashingTx `protobuf:"bytes,13,opt,name=unbonding_slashing_tx,json=unbondingSlashingTx,proto3,customtype=BTCSlashingTx" json:"unbonding_slashing_tx,omitempty"`
// delegator_unbonding_slashing_sig is the signature on the slashing tx by the delegator (i.e., SK corresponding to btc_pk).
DelegatorUnbondingSlashingSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,14,opt,name=delegator_unbonding_slashing_sig,json=delegatorUnbondingSlashingSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"delegator_unbonding_slashing_sig,omitempty"`
}
func (m *MsgCreateBTCDelegation) Reset() { *m = MsgCreateBTCDelegation{} }
func (m *MsgCreateBTCDelegation) String() string { return proto.CompactTextString(m) }
func (*MsgCreateBTCDelegation) ProtoMessage() {}
func (*MsgCreateBTCDelegation) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{4}
}
func (m *MsgCreateBTCDelegation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgCreateBTCDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgCreateBTCDelegation.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 *MsgCreateBTCDelegation) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgCreateBTCDelegation.Merge(m, src)
}
func (m *MsgCreateBTCDelegation) XXX_Size() int {
return m.Size()
}
func (m *MsgCreateBTCDelegation) XXX_DiscardUnknown() {
xxx_messageInfo_MsgCreateBTCDelegation.DiscardUnknown(m)
}
var xxx_messageInfo_MsgCreateBTCDelegation proto.InternalMessageInfo
func (m *MsgCreateBTCDelegation) GetStakerAddr() string {
if m != nil {
return m.StakerAddr
}
return ""
}
func (m *MsgCreateBTCDelegation) GetPop() *ProofOfPossessionBTC {
if m != nil {
return m.Pop
}
return nil
}
func (m *MsgCreateBTCDelegation) GetStakingTime() uint32 {
if m != nil {
return m.StakingTime
}
return 0
}
func (m *MsgCreateBTCDelegation) GetStakingValue() int64 {
if m != nil {
return m.StakingValue
}
return 0
}
func (m *MsgCreateBTCDelegation) GetStakingTx() *types1.TransactionInfo {
if m != nil {
return m.StakingTx
}
return nil
}
func (m *MsgCreateBTCDelegation) GetUnbondingTime() uint32 {
if m != nil {
return m.UnbondingTime
}
return 0
}
func (m *MsgCreateBTCDelegation) GetUnbondingTx() []byte {
if m != nil {
return m.UnbondingTx
}
return nil
}
func (m *MsgCreateBTCDelegation) GetUnbondingValue() int64 {
if m != nil {
return m.UnbondingValue
}
return 0
}
// MsgCreateBTCDelegationResponse is the response for MsgCreateBTCDelegation
type MsgCreateBTCDelegationResponse struct {
}
func (m *MsgCreateBTCDelegationResponse) Reset() { *m = MsgCreateBTCDelegationResponse{} }
func (m *MsgCreateBTCDelegationResponse) String() string { return proto.CompactTextString(m) }
func (*MsgCreateBTCDelegationResponse) ProtoMessage() {}
func (*MsgCreateBTCDelegationResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{5}
}
func (m *MsgCreateBTCDelegationResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgCreateBTCDelegationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgCreateBTCDelegationResponse.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 *MsgCreateBTCDelegationResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgCreateBTCDelegationResponse.Merge(m, src)
}
func (m *MsgCreateBTCDelegationResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgCreateBTCDelegationResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgCreateBTCDelegationResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgCreateBTCDelegationResponse proto.InternalMessageInfo
// MsgAddCovenantSigs is the message for handling signatures from a covenant member
type MsgAddCovenantSigs struct {
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
// pk is the BTC public key of the covenant member
Pk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=pk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"pk,omitempty"`
// staking_tx_hash is the hash of the staking tx.
// It uniquely identifies a BTC delegation
StakingTxHash string `protobuf:"bytes,3,opt,name=staking_tx_hash,json=stakingTxHash,proto3" json:"staking_tx_hash,omitempty"`
// sigs is a list of adaptor signatures of the covenant
// the order of sigs should respect the order of finality providers
// of the corresponding delegation
SlashingTxSigs [][]byte `protobuf:"bytes,4,rep,name=slashing_tx_sigs,json=slashingTxSigs,proto3" json:"slashing_tx_sigs,omitempty"`
// unbonding_tx_sig is the signature of the covenant on the unbonding tx submitted to babylon
// the signature follows encoding in BIP-340 spec
UnbondingTxSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,5,opt,name=unbonding_tx_sig,json=unbondingTxSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"unbonding_tx_sig,omitempty"`
// slashing_unbonding_tx_sigs is a list of adaptor signatures of the covenant
// on slashing tx corresponding to unbonding tx submitted to babylon
// the order of sigs should respect the order of finality providers
// of the corresponding delegation
SlashingUnbondingTxSigs [][]byte `protobuf:"bytes,6,rep,name=slashing_unbonding_tx_sigs,json=slashingUnbondingTxSigs,proto3" json:"slashing_unbonding_tx_sigs,omitempty"`
}
func (m *MsgAddCovenantSigs) Reset() { *m = MsgAddCovenantSigs{} }
func (m *MsgAddCovenantSigs) String() string { return proto.CompactTextString(m) }
func (*MsgAddCovenantSigs) ProtoMessage() {}
func (*MsgAddCovenantSigs) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{6}
}
func (m *MsgAddCovenantSigs) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgAddCovenantSigs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgAddCovenantSigs.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 *MsgAddCovenantSigs) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgAddCovenantSigs.Merge(m, src)
}
func (m *MsgAddCovenantSigs) XXX_Size() int {
return m.Size()
}
func (m *MsgAddCovenantSigs) XXX_DiscardUnknown() {
xxx_messageInfo_MsgAddCovenantSigs.DiscardUnknown(m)
}
var xxx_messageInfo_MsgAddCovenantSigs proto.InternalMessageInfo
func (m *MsgAddCovenantSigs) GetSigner() string {
if m != nil {
return m.Signer
}
return ""
}
func (m *MsgAddCovenantSigs) GetStakingTxHash() string {
if m != nil {
return m.StakingTxHash
}
return ""
}
func (m *MsgAddCovenantSigs) GetSlashingTxSigs() [][]byte {
if m != nil {
return m.SlashingTxSigs
}
return nil
}
func (m *MsgAddCovenantSigs) GetSlashingUnbondingTxSigs() [][]byte {
if m != nil {
return m.SlashingUnbondingTxSigs
}
return nil
}
// MsgAddCovenantSigsResponse is the response for MsgAddCovenantSigs
type MsgAddCovenantSigsResponse struct {
}
func (m *MsgAddCovenantSigsResponse) Reset() { *m = MsgAddCovenantSigsResponse{} }
func (m *MsgAddCovenantSigsResponse) String() string { return proto.CompactTextString(m) }
func (*MsgAddCovenantSigsResponse) ProtoMessage() {}
func (*MsgAddCovenantSigsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{7}
}
func (m *MsgAddCovenantSigsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgAddCovenantSigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgAddCovenantSigsResponse.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 *MsgAddCovenantSigsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgAddCovenantSigsResponse.Merge(m, src)
}
func (m *MsgAddCovenantSigsResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgAddCovenantSigsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgAddCovenantSigsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgAddCovenantSigsResponse proto.InternalMessageInfo
// MsgBTCUndelegate is the message for handling signature on unbonding tx
// from its delegator. This signature effectively proves that the delegator
// wants to unbond this BTC delegation
type MsgBTCUndelegate struct {
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
// staking_tx_hash is the hash of the staking tx.
// It uniquely identifies a BTC delegation
StakingTxHash string `protobuf:"bytes,2,opt,name=staking_tx_hash,json=stakingTxHash,proto3" json:"staking_tx_hash,omitempty"`
// unbonding_tx_sig is the signature of the staker on the unbonding tx submitted to babylon
// the signature follows encoding in BIP-340 spec
UnbondingTxSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,3,opt,name=unbonding_tx_sig,json=unbondingTxSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"unbonding_tx_sig,omitempty"`
}
func (m *MsgBTCUndelegate) Reset() { *m = MsgBTCUndelegate{} }
func (m *MsgBTCUndelegate) String() string { return proto.CompactTextString(m) }
func (*MsgBTCUndelegate) ProtoMessage() {}
func (*MsgBTCUndelegate) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{8}
}
func (m *MsgBTCUndelegate) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgBTCUndelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgBTCUndelegate.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 *MsgBTCUndelegate) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgBTCUndelegate.Merge(m, src)
}
func (m *MsgBTCUndelegate) XXX_Size() int {
return m.Size()
}
func (m *MsgBTCUndelegate) XXX_DiscardUnknown() {
xxx_messageInfo_MsgBTCUndelegate.DiscardUnknown(m)
}
var xxx_messageInfo_MsgBTCUndelegate proto.InternalMessageInfo
func (m *MsgBTCUndelegate) GetSigner() string {
if m != nil {
return m.Signer
}
return ""
}
func (m *MsgBTCUndelegate) GetStakingTxHash() string {
if m != nil {
return m.StakingTxHash
}
return ""
}
// MsgBTCUndelegateResponse is the response for MsgBTCUndelegate
type MsgBTCUndelegateResponse struct {
}
func (m *MsgBTCUndelegateResponse) Reset() { *m = MsgBTCUndelegateResponse{} }
func (m *MsgBTCUndelegateResponse) String() string { return proto.CompactTextString(m) }
func (*MsgBTCUndelegateResponse) ProtoMessage() {}
func (*MsgBTCUndelegateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{9}
}
func (m *MsgBTCUndelegateResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgBTCUndelegateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgBTCUndelegateResponse.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 *MsgBTCUndelegateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgBTCUndelegateResponse.Merge(m, src)
}
func (m *MsgBTCUndelegateResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgBTCUndelegateResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgBTCUndelegateResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgBTCUndelegateResponse proto.InternalMessageInfo
// MsgSelectiveSlashingEvidence is the message for handling evidence of selective slashing
// launched by a finality provider
type MsgSelectiveSlashingEvidence struct {
Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
// staking_tx_hash is the hash of the staking tx.
// It uniquely identifies a BTC delegation
StakingTxHash string `protobuf:"bytes,2,opt,name=staking_tx_hash,json=stakingTxHash,proto3" json:"staking_tx_hash,omitempty"`
// recovered_fp_btc_sk is the BTC SK of the finality provider who
// launches the selective slashing offence. The SK is recovered by
// using a covenant adaptor signature and the corresponding Schnorr
// signature
RecoveredFpBtcSk []byte `protobuf:"bytes,3,opt,name=recovered_fp_btc_sk,json=recoveredFpBtcSk,proto3" json:"recovered_fp_btc_sk,omitempty"`
}
func (m *MsgSelectiveSlashingEvidence) Reset() { *m = MsgSelectiveSlashingEvidence{} }
func (m *MsgSelectiveSlashingEvidence) String() string { return proto.CompactTextString(m) }
func (*MsgSelectiveSlashingEvidence) ProtoMessage() {}
func (*MsgSelectiveSlashingEvidence) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{10}
}
func (m *MsgSelectiveSlashingEvidence) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgSelectiveSlashingEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgSelectiveSlashingEvidence.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 *MsgSelectiveSlashingEvidence) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgSelectiveSlashingEvidence.Merge(m, src)
}
func (m *MsgSelectiveSlashingEvidence) XXX_Size() int {
return m.Size()
}
func (m *MsgSelectiveSlashingEvidence) XXX_DiscardUnknown() {
xxx_messageInfo_MsgSelectiveSlashingEvidence.DiscardUnknown(m)
}
var xxx_messageInfo_MsgSelectiveSlashingEvidence proto.InternalMessageInfo
func (m *MsgSelectiveSlashingEvidence) GetSigner() string {
if m != nil {
return m.Signer
}
return ""
}
func (m *MsgSelectiveSlashingEvidence) GetStakingTxHash() string {
if m != nil {
return m.StakingTxHash
}
return ""
}
func (m *MsgSelectiveSlashingEvidence) GetRecoveredFpBtcSk() []byte {
if m != nil {
return m.RecoveredFpBtcSk
}
return nil
}
// MsgSelectiveSlashingEvidenceResponse is the response for MsgSelectiveSlashingEvidence
type MsgSelectiveSlashingEvidenceResponse struct {
}
func (m *MsgSelectiveSlashingEvidenceResponse) Reset() { *m = MsgSelectiveSlashingEvidenceResponse{} }
func (m *MsgSelectiveSlashingEvidenceResponse) String() string { return proto.CompactTextString(m) }
func (*MsgSelectiveSlashingEvidenceResponse) ProtoMessage() {}
func (*MsgSelectiveSlashingEvidenceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4baddb53e97f38f2, []int{11}
}
func (m *MsgSelectiveSlashingEvidenceResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgSelectiveSlashingEvidenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgSelectiveSlashingEvidenceResponse.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 *MsgSelectiveSlashingEvidenceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgSelectiveSlashingEvidenceResponse.Merge(m, src)
}
func (m *MsgSelectiveSlashingEvidenceResponse) XXX_Size() int {
return m.Size()
}
func (m *MsgSelectiveSlashingEvidenceResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MsgSelectiveSlashingEvidenceResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MsgSelectiveSlashingEvidenceResponse proto.InternalMessageInfo
// MsgUpdateParams defines a message for updating btcstaking module parameters.
type MsgUpdateParams struct {
// authority is the address of the governance account.
// just FYI: cosmos.AddressString marks that this field should use type alias
// for AddressString instead of string, but the functionality is not yet implemented
// in cosmos-proto
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// params defines the finality 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_4baddb53e97f38f2, []int{12}
}
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
func (m *MsgUpdateParams) GetAuthority() string {
if m != nil {
return m.Authority
}
return ""
}
func (m *MsgUpdateParams) GetParams() Params {
if m != nil {
return m.Params
}
return Params{}
}
// MsgUpdateParamsResponse is the response to the MsgUpdateParams message.
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_4baddb53e97f38f2, []int{13}
}
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
func init() {
proto.RegisterType((*MsgCreateFinalityProvider)(nil), "babylon.btcstaking.v1.MsgCreateFinalityProvider")
proto.RegisterType((*MsgCreateFinalityProviderResponse)(nil), "babylon.btcstaking.v1.MsgCreateFinalityProviderResponse")
proto.RegisterType((*MsgEditFinalityProvider)(nil), "babylon.btcstaking.v1.MsgEditFinalityProvider")
proto.RegisterType((*MsgEditFinalityProviderResponse)(nil), "babylon.btcstaking.v1.MsgEditFinalityProviderResponse")
proto.RegisterType((*MsgCreateBTCDelegation)(nil), "babylon.btcstaking.v1.MsgCreateBTCDelegation")
proto.RegisterType((*MsgCreateBTCDelegationResponse)(nil), "babylon.btcstaking.v1.MsgCreateBTCDelegationResponse")
proto.RegisterType((*MsgAddCovenantSigs)(nil), "babylon.btcstaking.v1.MsgAddCovenantSigs")
proto.RegisterType((*MsgAddCovenantSigsResponse)(nil), "babylon.btcstaking.v1.MsgAddCovenantSigsResponse")
proto.RegisterType((*MsgBTCUndelegate)(nil), "babylon.btcstaking.v1.MsgBTCUndelegate")
proto.RegisterType((*MsgBTCUndelegateResponse)(nil), "babylon.btcstaking.v1.MsgBTCUndelegateResponse")
proto.RegisterType((*MsgSelectiveSlashingEvidence)(nil), "babylon.btcstaking.v1.MsgSelectiveSlashingEvidence")
proto.RegisterType((*MsgSelectiveSlashingEvidenceResponse)(nil), "babylon.btcstaking.v1.MsgSelectiveSlashingEvidenceResponse")
proto.RegisterType((*MsgUpdateParams)(nil), "babylon.btcstaking.v1.MsgUpdateParams")
proto.RegisterType((*MsgUpdateParamsResponse)(nil), "babylon.btcstaking.v1.MsgUpdateParamsResponse")
}
func init() { proto.RegisterFile("babylon/btcstaking/v1/tx.proto", fileDescriptor_4baddb53e97f38f2) }
var fileDescriptor_4baddb53e97f38f2 = []byte{
// 1259 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4f, 0x6f, 0x13, 0x47,
0x14, 0xcf, 0xda, 0x89, 0x69, 0x9e, 0xe3, 0x24, 0x5d, 0x42, 0xd8, 0x6c, 0xc1, 0x76, 0x0c, 0x85,
0x40, 0xc9, 0x9a, 0x84, 0x82, 0x4a, 0x50, 0x0f, 0x38, 0x09, 0x02, 0x15, 0xab, 0xd6, 0xda, 0xe9,
0xa1, 0x3d, 0x58, 0xeb, 0xdd, 0xc9, 0x7a, 0x64, 0x7b, 0x67, 0xb5, 0x33, 0xb1, 0x1c, 0x55, 0xaa,
0x2a, 0xd4, 0x6b, 0xa5, 0x9e, 0x7a, 0xe8, 0xa7, 0xe0, 0xc0, 0x47, 0xa8, 0x2a, 0x8e, 0x88, 0x53,
0x95, 0x43, 0x54, 0x41, 0x25, 0x3e, 0x41, 0xa5, 0xde, 0x5a, 0xed, 0xec, 0x5f, 0xbb, 0xde, 0x92,
0x60, 0x6e, 0xde, 0x99, 0xdf, 0xfb, 0xbd, 0xf7, 0x7e, 0xef, 0xbd, 0x99, 0x31, 0xe4, 0x5b, 0x5a,
0xeb, 0xb0, 0x4b, 0xac, 0x72, 0x8b, 0xe9, 0x94, 0x69, 0x1d, 0x6c, 0x99, 0xe5, 0xfe, 0x46, 0x99,
0x0d, 0x14, 0xdb, 0x21, 0x8c, 0x88, 0xe7, 0xfc, 0x7d, 0x25, 0xda, 0x57, 0xfa, 0x1b, 0xf2, 0x92,
0x49, 0x4c, 0xc2, 0x11, 0x65, 0xf7, 0x97, 0x07, 0x96, 0x57, 0x74, 0x42, 0x7b, 0x84, 0x36, 0xbd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0x96, 0x13, 0x9e, 0xa9, 0x37, 0x13, 0x5c, 0x27,
0x3e, 0xaf, 0xe4, 0xcf, 0x4e, 0x6b, 0x11, 0x84, 0x23, 0x7e, 0x07, 0x4b, 0x63, 0x1f, 0x63, 0x4a,
0x32, 0xe3, 0x38, 0xbc, 0x7c, 0xe7, 0x74, 0xf8, 0xd0, 0xff, 0xb7, 0x70, 0x76, 0xdc, 0x3b, 0x67,
0xfd, 0x6d, 0x09, 0x0d, 0xc1, 0xe5, 0xdb, 0xa7, 0x82, 0x87, 0xce, 0x09, 0x2c, 0x8c, 0x9e, 0xbc,
0xd7, 0x92, 0x99, 0x46, 0xa0, 0xf2, 0xc6, 0x89, 0xa1, 0xa1, 0x43, 0x0c, 0xb9, 0xe1, 0x43, 0xe5,
0x6a, 0x32, 0xc7, 0x10, 0x50, 0x2e, 0x9f, 0x10, 0x18, 0xba, 0xfa, 0x51, 0x80, 0x95, 0xe4, 0xe9,
0xbe, 0x95, 0x4c, 0x97, 0x68, 0x24, 0xdf, 0x7b, 0x07, 0xa3, 0x30, 0x9e, 0x7d, 0x98, 0x1b, 0x9a,
0xd3, 0x2b, 0xc9, 0x64, 0x71, 0x9c, 0xac, 0x9c, 0x0c, 0x17, 0xf8, 0x91, 0x67, 0xbe, 0x7f, 0xf3,
0xf4, 0xba, 0x50, 0x79, 0xfc, 0xfc, 0x55, 0x5e, 0x78, 0xf1, 0x2a, 0x2f, 0xfc, 0xf1, 0x2a, 0x2f,
0xfc, 0xf4, 0x3a, 0x3f, 0xf5, 0xe2, 0x75, 0x7e, 0xea, 0xf7, 0xd7, 0xf9, 0xa9, 0xaf, 0xdf, 0x7a,
0x67, 0x0e, 0xe2, 0xff, 0x2e, 0xf9, 0xb1, 0xdb, 0xca, 0xf0, 0x7f, 0x97, 0xb7, 0xfe, 0x0d, 0x00,
0x00, 0xff, 0xff, 0xf6, 0xe9, 0xb3, 0x62, 0x79, 0x0f, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// MsgClient is the client API for Msg service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MsgClient interface {
// CreateFinalityProvider creates a new finality provider
CreateFinalityProvider(ctx context.Context, in *MsgCreateFinalityProvider, opts ...grpc.CallOption) (*MsgCreateFinalityProviderResponse, error)
// EditFinalityProvider edits an existing finality provider
EditFinalityProvider(ctx context.Context, in *MsgEditFinalityProvider, opts ...grpc.CallOption) (*MsgEditFinalityProviderResponse, error)
// CreateBTCDelegation creates a new BTC delegation
CreateBTCDelegation(ctx context.Context, in *MsgCreateBTCDelegation, opts ...grpc.CallOption) (*MsgCreateBTCDelegationResponse, error)
// AddCovenantSigs handles signatures from a covenant member
AddCovenantSigs(ctx context.Context, in *MsgAddCovenantSigs, opts ...grpc.CallOption) (*MsgAddCovenantSigsResponse, error)
// BTCUndelegate handles a signature on unbonding tx from its delegator
BTCUndelegate(ctx context.Context, in *MsgBTCUndelegate, opts ...grpc.CallOption) (*MsgBTCUndelegateResponse, error)
// SelectiveSlashingEvidence handles the evidence of selective slashing launched
// by a finality provider
SelectiveSlashingEvidence(ctx context.Context, in *MsgSelectiveSlashingEvidence, opts ...grpc.CallOption) (*MsgSelectiveSlashingEvidenceResponse, error)
// UpdateParams updates the btcstaking module parameters.
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}
type msgClient struct {
cc grpc1.ClientConn
}
func NewMsgClient(cc grpc1.ClientConn) MsgClient {
return &msgClient{cc}
}
func (c *msgClient) CreateFinalityProvider(ctx context.Context, in *MsgCreateFinalityProvider, opts ...grpc.CallOption) (*MsgCreateFinalityProviderResponse, error) {
out := new(MsgCreateFinalityProviderResponse)
err := c.cc.Invoke(ctx, "/babylon.btcstaking.v1.Msg/CreateFinalityProvider", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) EditFinalityProvider(ctx context.Context, in *MsgEditFinalityProvider, opts ...grpc.CallOption) (*MsgEditFinalityProviderResponse, error) {
out := new(MsgEditFinalityProviderResponse)
err := c.cc.Invoke(ctx, "/babylon.btcstaking.v1.Msg/EditFinalityProvider", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) CreateBTCDelegation(ctx context.Context, in *MsgCreateBTCDelegation, opts ...grpc.CallOption) (*MsgCreateBTCDelegationResponse, error) {
out := new(MsgCreateBTCDelegationResponse)
err := c.cc.Invoke(ctx, "/babylon.btcstaking.v1.Msg/CreateBTCDelegation", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil