github.com/InjectiveLabs/sdk-go@v1.53.0/chain/peggy/types/events.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: injective/peggy/v1/events.proto
     3  
     4  package types
     5  
     6  import (
     7  	cosmossdk_io_math "cosmossdk.io/math"
     8  	fmt "fmt"
     9  	github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
    10  	_ "github.com/cosmos/gogoproto/gogoproto"
    11  	proto "github.com/cosmos/gogoproto/proto"
    12  	io "io"
    13  	math "math"
    14  	math_bits "math/bits"
    15  )
    16  
    17  // Reference imports to suppress errors if they are not otherwise used.
    18  var _ = proto.Marshal
    19  var _ = fmt.Errorf
    20  var _ = math.Inf
    21  
    22  // This is a compile-time assertion to ensure that this generated file
    23  // is compatible with the proto package it is being compiled against.
    24  // A compilation error at this line likely means your copy of the
    25  // proto package needs to be updated.
    26  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    27  
    28  type EventAttestationObserved struct {
    29  	AttestationType ClaimType `protobuf:"varint,1,opt,name=attestation_type,json=attestationType,proto3,enum=injective.peggy.v1.ClaimType" json:"attestation_type,omitempty"`
    30  	BridgeContract  string    `protobuf:"bytes,2,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"`
    31  	BridgeChainId   uint64    `protobuf:"varint,3,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
    32  	AttestationId   []byte    `protobuf:"bytes,4,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
    33  	Nonce           uint64    `protobuf:"varint,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
    34  }
    35  
    36  func (m *EventAttestationObserved) Reset()         { *m = EventAttestationObserved{} }
    37  func (m *EventAttestationObserved) String() string { return proto.CompactTextString(m) }
    38  func (*EventAttestationObserved) ProtoMessage()    {}
    39  func (*EventAttestationObserved) Descriptor() ([]byte, []int) {
    40  	return fileDescriptor_95f217691d2f42c2, []int{0}
    41  }
    42  func (m *EventAttestationObserved) XXX_Unmarshal(b []byte) error {
    43  	return m.Unmarshal(b)
    44  }
    45  func (m *EventAttestationObserved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    46  	if deterministic {
    47  		return xxx_messageInfo_EventAttestationObserved.Marshal(b, m, deterministic)
    48  	} else {
    49  		b = b[:cap(b)]
    50  		n, err := m.MarshalToSizedBuffer(b)
    51  		if err != nil {
    52  			return nil, err
    53  		}
    54  		return b[:n], nil
    55  	}
    56  }
    57  func (m *EventAttestationObserved) XXX_Merge(src proto.Message) {
    58  	xxx_messageInfo_EventAttestationObserved.Merge(m, src)
    59  }
    60  func (m *EventAttestationObserved) XXX_Size() int {
    61  	return m.Size()
    62  }
    63  func (m *EventAttestationObserved) XXX_DiscardUnknown() {
    64  	xxx_messageInfo_EventAttestationObserved.DiscardUnknown(m)
    65  }
    66  
    67  var xxx_messageInfo_EventAttestationObserved proto.InternalMessageInfo
    68  
    69  func (m *EventAttestationObserved) GetAttestationType() ClaimType {
    70  	if m != nil {
    71  		return m.AttestationType
    72  	}
    73  	return CLAIM_TYPE_UNKNOWN
    74  }
    75  
    76  func (m *EventAttestationObserved) GetBridgeContract() string {
    77  	if m != nil {
    78  		return m.BridgeContract
    79  	}
    80  	return ""
    81  }
    82  
    83  func (m *EventAttestationObserved) GetBridgeChainId() uint64 {
    84  	if m != nil {
    85  		return m.BridgeChainId
    86  	}
    87  	return 0
    88  }
    89  
    90  func (m *EventAttestationObserved) GetAttestationId() []byte {
    91  	if m != nil {
    92  		return m.AttestationId
    93  	}
    94  	return nil
    95  }
    96  
    97  func (m *EventAttestationObserved) GetNonce() uint64 {
    98  	if m != nil {
    99  		return m.Nonce
   100  	}
   101  	return 0
   102  }
   103  
   104  type EventBridgeWithdrawCanceled struct {
   105  	BridgeContract string `protobuf:"bytes,1,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"`
   106  	BridgeChainId  uint64 `protobuf:"varint,2,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
   107  }
   108  
   109  func (m *EventBridgeWithdrawCanceled) Reset()         { *m = EventBridgeWithdrawCanceled{} }
   110  func (m *EventBridgeWithdrawCanceled) String() string { return proto.CompactTextString(m) }
   111  func (*EventBridgeWithdrawCanceled) ProtoMessage()    {}
   112  func (*EventBridgeWithdrawCanceled) Descriptor() ([]byte, []int) {
   113  	return fileDescriptor_95f217691d2f42c2, []int{1}
   114  }
   115  func (m *EventBridgeWithdrawCanceled) XXX_Unmarshal(b []byte) error {
   116  	return m.Unmarshal(b)
   117  }
   118  func (m *EventBridgeWithdrawCanceled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   119  	if deterministic {
   120  		return xxx_messageInfo_EventBridgeWithdrawCanceled.Marshal(b, m, deterministic)
   121  	} else {
   122  		b = b[:cap(b)]
   123  		n, err := m.MarshalToSizedBuffer(b)
   124  		if err != nil {
   125  			return nil, err
   126  		}
   127  		return b[:n], nil
   128  	}
   129  }
   130  func (m *EventBridgeWithdrawCanceled) XXX_Merge(src proto.Message) {
   131  	xxx_messageInfo_EventBridgeWithdrawCanceled.Merge(m, src)
   132  }
   133  func (m *EventBridgeWithdrawCanceled) XXX_Size() int {
   134  	return m.Size()
   135  }
   136  func (m *EventBridgeWithdrawCanceled) XXX_DiscardUnknown() {
   137  	xxx_messageInfo_EventBridgeWithdrawCanceled.DiscardUnknown(m)
   138  }
   139  
   140  var xxx_messageInfo_EventBridgeWithdrawCanceled proto.InternalMessageInfo
   141  
   142  func (m *EventBridgeWithdrawCanceled) GetBridgeContract() string {
   143  	if m != nil {
   144  		return m.BridgeContract
   145  	}
   146  	return ""
   147  }
   148  
   149  func (m *EventBridgeWithdrawCanceled) GetBridgeChainId() uint64 {
   150  	if m != nil {
   151  		return m.BridgeChainId
   152  	}
   153  	return 0
   154  }
   155  
   156  type EventOutgoingBatch struct {
   157  	Denom               string   `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
   158  	OrchestratorAddress string   `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
   159  	BatchNonce          uint64   `protobuf:"varint,3,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
   160  	BatchTimeout        uint64   `protobuf:"varint,4,opt,name=batch_timeout,json=batchTimeout,proto3" json:"batch_timeout,omitempty"`
   161  	BatchTxIds          []uint64 `protobuf:"varint,5,rep,packed,name=batch_tx_ids,json=batchTxIds,proto3" json:"batch_tx_ids,omitempty"`
   162  }
   163  
   164  func (m *EventOutgoingBatch) Reset()         { *m = EventOutgoingBatch{} }
   165  func (m *EventOutgoingBatch) String() string { return proto.CompactTextString(m) }
   166  func (*EventOutgoingBatch) ProtoMessage()    {}
   167  func (*EventOutgoingBatch) Descriptor() ([]byte, []int) {
   168  	return fileDescriptor_95f217691d2f42c2, []int{2}
   169  }
   170  func (m *EventOutgoingBatch) XXX_Unmarshal(b []byte) error {
   171  	return m.Unmarshal(b)
   172  }
   173  func (m *EventOutgoingBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   174  	if deterministic {
   175  		return xxx_messageInfo_EventOutgoingBatch.Marshal(b, m, deterministic)
   176  	} else {
   177  		b = b[:cap(b)]
   178  		n, err := m.MarshalToSizedBuffer(b)
   179  		if err != nil {
   180  			return nil, err
   181  		}
   182  		return b[:n], nil
   183  	}
   184  }
   185  func (m *EventOutgoingBatch) XXX_Merge(src proto.Message) {
   186  	xxx_messageInfo_EventOutgoingBatch.Merge(m, src)
   187  }
   188  func (m *EventOutgoingBatch) XXX_Size() int {
   189  	return m.Size()
   190  }
   191  func (m *EventOutgoingBatch) XXX_DiscardUnknown() {
   192  	xxx_messageInfo_EventOutgoingBatch.DiscardUnknown(m)
   193  }
   194  
   195  var xxx_messageInfo_EventOutgoingBatch proto.InternalMessageInfo
   196  
   197  func (m *EventOutgoingBatch) GetDenom() string {
   198  	if m != nil {
   199  		return m.Denom
   200  	}
   201  	return ""
   202  }
   203  
   204  func (m *EventOutgoingBatch) GetOrchestratorAddress() string {
   205  	if m != nil {
   206  		return m.OrchestratorAddress
   207  	}
   208  	return ""
   209  }
   210  
   211  func (m *EventOutgoingBatch) GetBatchNonce() uint64 {
   212  	if m != nil {
   213  		return m.BatchNonce
   214  	}
   215  	return 0
   216  }
   217  
   218  func (m *EventOutgoingBatch) GetBatchTimeout() uint64 {
   219  	if m != nil {
   220  		return m.BatchTimeout
   221  	}
   222  	return 0
   223  }
   224  
   225  func (m *EventOutgoingBatch) GetBatchTxIds() []uint64 {
   226  	if m != nil {
   227  		return m.BatchTxIds
   228  	}
   229  	return nil
   230  }
   231  
   232  type EventOutgoingBatchCanceled struct {
   233  	BridgeContract string `protobuf:"bytes,1,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"`
   234  	BridgeChainId  uint64 `protobuf:"varint,2,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"`
   235  	BatchId        uint64 `protobuf:"varint,3,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
   236  	Nonce          uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
   237  }
   238  
   239  func (m *EventOutgoingBatchCanceled) Reset()         { *m = EventOutgoingBatchCanceled{} }
   240  func (m *EventOutgoingBatchCanceled) String() string { return proto.CompactTextString(m) }
   241  func (*EventOutgoingBatchCanceled) ProtoMessage()    {}
   242  func (*EventOutgoingBatchCanceled) Descriptor() ([]byte, []int) {
   243  	return fileDescriptor_95f217691d2f42c2, []int{3}
   244  }
   245  func (m *EventOutgoingBatchCanceled) XXX_Unmarshal(b []byte) error {
   246  	return m.Unmarshal(b)
   247  }
   248  func (m *EventOutgoingBatchCanceled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   249  	if deterministic {
   250  		return xxx_messageInfo_EventOutgoingBatchCanceled.Marshal(b, m, deterministic)
   251  	} else {
   252  		b = b[:cap(b)]
   253  		n, err := m.MarshalToSizedBuffer(b)
   254  		if err != nil {
   255  			return nil, err
   256  		}
   257  		return b[:n], nil
   258  	}
   259  }
   260  func (m *EventOutgoingBatchCanceled) XXX_Merge(src proto.Message) {
   261  	xxx_messageInfo_EventOutgoingBatchCanceled.Merge(m, src)
   262  }
   263  func (m *EventOutgoingBatchCanceled) XXX_Size() int {
   264  	return m.Size()
   265  }
   266  func (m *EventOutgoingBatchCanceled) XXX_DiscardUnknown() {
   267  	xxx_messageInfo_EventOutgoingBatchCanceled.DiscardUnknown(m)
   268  }
   269  
   270  var xxx_messageInfo_EventOutgoingBatchCanceled proto.InternalMessageInfo
   271  
   272  func (m *EventOutgoingBatchCanceled) GetBridgeContract() string {
   273  	if m != nil {
   274  		return m.BridgeContract
   275  	}
   276  	return ""
   277  }
   278  
   279  func (m *EventOutgoingBatchCanceled) GetBridgeChainId() uint64 {
   280  	if m != nil {
   281  		return m.BridgeChainId
   282  	}
   283  	return 0
   284  }
   285  
   286  func (m *EventOutgoingBatchCanceled) GetBatchId() uint64 {
   287  	if m != nil {
   288  		return m.BatchId
   289  	}
   290  	return 0
   291  }
   292  
   293  func (m *EventOutgoingBatchCanceled) GetNonce() uint64 {
   294  	if m != nil {
   295  		return m.Nonce
   296  	}
   297  	return 0
   298  }
   299  
   300  type EventValsetUpdateRequest struct {
   301  	ValsetNonce   uint64                `protobuf:"varint,1,opt,name=valset_nonce,json=valsetNonce,proto3" json:"valset_nonce,omitempty"`
   302  	ValsetHeight  uint64                `protobuf:"varint,2,opt,name=valset_height,json=valsetHeight,proto3" json:"valset_height,omitempty"`
   303  	ValsetMembers []*BridgeValidator    `protobuf:"bytes,3,rep,name=valset_members,json=valsetMembers,proto3" json:"valset_members,omitempty"`
   304  	RewardAmount  cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=reward_amount,json=rewardAmount,proto3,customtype=cosmossdk.io/math.Int" json:"reward_amount"`
   305  	RewardToken   string                `protobuf:"bytes,5,opt,name=reward_token,json=rewardToken,proto3" json:"reward_token,omitempty"`
   306  }
   307  
   308  func (m *EventValsetUpdateRequest) Reset()         { *m = EventValsetUpdateRequest{} }
   309  func (m *EventValsetUpdateRequest) String() string { return proto.CompactTextString(m) }
   310  func (*EventValsetUpdateRequest) ProtoMessage()    {}
   311  func (*EventValsetUpdateRequest) Descriptor() ([]byte, []int) {
   312  	return fileDescriptor_95f217691d2f42c2, []int{4}
   313  }
   314  func (m *EventValsetUpdateRequest) XXX_Unmarshal(b []byte) error {
   315  	return m.Unmarshal(b)
   316  }
   317  func (m *EventValsetUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   318  	if deterministic {
   319  		return xxx_messageInfo_EventValsetUpdateRequest.Marshal(b, m, deterministic)
   320  	} else {
   321  		b = b[:cap(b)]
   322  		n, err := m.MarshalToSizedBuffer(b)
   323  		if err != nil {
   324  			return nil, err
   325  		}
   326  		return b[:n], nil
   327  	}
   328  }
   329  func (m *EventValsetUpdateRequest) XXX_Merge(src proto.Message) {
   330  	xxx_messageInfo_EventValsetUpdateRequest.Merge(m, src)
   331  }
   332  func (m *EventValsetUpdateRequest) XXX_Size() int {
   333  	return m.Size()
   334  }
   335  func (m *EventValsetUpdateRequest) XXX_DiscardUnknown() {
   336  	xxx_messageInfo_EventValsetUpdateRequest.DiscardUnknown(m)
   337  }
   338  
   339  var xxx_messageInfo_EventValsetUpdateRequest proto.InternalMessageInfo
   340  
   341  func (m *EventValsetUpdateRequest) GetValsetNonce() uint64 {
   342  	if m != nil {
   343  		return m.ValsetNonce
   344  	}
   345  	return 0
   346  }
   347  
   348  func (m *EventValsetUpdateRequest) GetValsetHeight() uint64 {
   349  	if m != nil {
   350  		return m.ValsetHeight
   351  	}
   352  	return 0
   353  }
   354  
   355  func (m *EventValsetUpdateRequest) GetValsetMembers() []*BridgeValidator {
   356  	if m != nil {
   357  		return m.ValsetMembers
   358  	}
   359  	return nil
   360  }
   361  
   362  func (m *EventValsetUpdateRequest) GetRewardToken() string {
   363  	if m != nil {
   364  		return m.RewardToken
   365  	}
   366  	return ""
   367  }
   368  
   369  type EventSetOrchestratorAddresses struct {
   370  	ValidatorAddress    string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
   371  	OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
   372  	OperatorEthAddress  string `protobuf:"bytes,3,opt,name=operator_eth_address,json=operatorEthAddress,proto3" json:"operator_eth_address,omitempty"`
   373  }
   374  
   375  func (m *EventSetOrchestratorAddresses) Reset()         { *m = EventSetOrchestratorAddresses{} }
   376  func (m *EventSetOrchestratorAddresses) String() string { return proto.CompactTextString(m) }
   377  func (*EventSetOrchestratorAddresses) ProtoMessage()    {}
   378  func (*EventSetOrchestratorAddresses) Descriptor() ([]byte, []int) {
   379  	return fileDescriptor_95f217691d2f42c2, []int{5}
   380  }
   381  func (m *EventSetOrchestratorAddresses) XXX_Unmarshal(b []byte) error {
   382  	return m.Unmarshal(b)
   383  }
   384  func (m *EventSetOrchestratorAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   385  	if deterministic {
   386  		return xxx_messageInfo_EventSetOrchestratorAddresses.Marshal(b, m, deterministic)
   387  	} else {
   388  		b = b[:cap(b)]
   389  		n, err := m.MarshalToSizedBuffer(b)
   390  		if err != nil {
   391  			return nil, err
   392  		}
   393  		return b[:n], nil
   394  	}
   395  }
   396  func (m *EventSetOrchestratorAddresses) XXX_Merge(src proto.Message) {
   397  	xxx_messageInfo_EventSetOrchestratorAddresses.Merge(m, src)
   398  }
   399  func (m *EventSetOrchestratorAddresses) XXX_Size() int {
   400  	return m.Size()
   401  }
   402  func (m *EventSetOrchestratorAddresses) XXX_DiscardUnknown() {
   403  	xxx_messageInfo_EventSetOrchestratorAddresses.DiscardUnknown(m)
   404  }
   405  
   406  var xxx_messageInfo_EventSetOrchestratorAddresses proto.InternalMessageInfo
   407  
   408  func (m *EventSetOrchestratorAddresses) GetValidatorAddress() string {
   409  	if m != nil {
   410  		return m.ValidatorAddress
   411  	}
   412  	return ""
   413  }
   414  
   415  func (m *EventSetOrchestratorAddresses) GetOrchestratorAddress() string {
   416  	if m != nil {
   417  		return m.OrchestratorAddress
   418  	}
   419  	return ""
   420  }
   421  
   422  func (m *EventSetOrchestratorAddresses) GetOperatorEthAddress() string {
   423  	if m != nil {
   424  		return m.OperatorEthAddress
   425  	}
   426  	return ""
   427  }
   428  
   429  type EventValsetConfirm struct {
   430  	ValsetNonce         uint64 `protobuf:"varint,1,opt,name=valset_nonce,json=valsetNonce,proto3" json:"valset_nonce,omitempty"`
   431  	OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
   432  }
   433  
   434  func (m *EventValsetConfirm) Reset()         { *m = EventValsetConfirm{} }
   435  func (m *EventValsetConfirm) String() string { return proto.CompactTextString(m) }
   436  func (*EventValsetConfirm) ProtoMessage()    {}
   437  func (*EventValsetConfirm) Descriptor() ([]byte, []int) {
   438  	return fileDescriptor_95f217691d2f42c2, []int{6}
   439  }
   440  func (m *EventValsetConfirm) XXX_Unmarshal(b []byte) error {
   441  	return m.Unmarshal(b)
   442  }
   443  func (m *EventValsetConfirm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   444  	if deterministic {
   445  		return xxx_messageInfo_EventValsetConfirm.Marshal(b, m, deterministic)
   446  	} else {
   447  		b = b[:cap(b)]
   448  		n, err := m.MarshalToSizedBuffer(b)
   449  		if err != nil {
   450  			return nil, err
   451  		}
   452  		return b[:n], nil
   453  	}
   454  }
   455  func (m *EventValsetConfirm) XXX_Merge(src proto.Message) {
   456  	xxx_messageInfo_EventValsetConfirm.Merge(m, src)
   457  }
   458  func (m *EventValsetConfirm) XXX_Size() int {
   459  	return m.Size()
   460  }
   461  func (m *EventValsetConfirm) XXX_DiscardUnknown() {
   462  	xxx_messageInfo_EventValsetConfirm.DiscardUnknown(m)
   463  }
   464  
   465  var xxx_messageInfo_EventValsetConfirm proto.InternalMessageInfo
   466  
   467  func (m *EventValsetConfirm) GetValsetNonce() uint64 {
   468  	if m != nil {
   469  		return m.ValsetNonce
   470  	}
   471  	return 0
   472  }
   473  
   474  func (m *EventValsetConfirm) GetOrchestratorAddress() string {
   475  	if m != nil {
   476  		return m.OrchestratorAddress
   477  	}
   478  	return ""
   479  }
   480  
   481  type EventSendToEth struct {
   482  	OutgoingTxId uint64                                  `protobuf:"varint,1,opt,name=outgoing_tx_id,json=outgoingTxId,proto3" json:"outgoing_tx_id,omitempty"`
   483  	Sender       string                                  `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
   484  	Receiver     string                                  `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"`
   485  	Amount       github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
   486  	BridgeFee    github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,5,opt,name=bridge_fee,json=bridgeFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"bridge_fee"`
   487  }
   488  
   489  func (m *EventSendToEth) Reset()         { *m = EventSendToEth{} }
   490  func (m *EventSendToEth) String() string { return proto.CompactTextString(m) }
   491  func (*EventSendToEth) ProtoMessage()    {}
   492  func (*EventSendToEth) Descriptor() ([]byte, []int) {
   493  	return fileDescriptor_95f217691d2f42c2, []int{7}
   494  }
   495  func (m *EventSendToEth) XXX_Unmarshal(b []byte) error {
   496  	return m.Unmarshal(b)
   497  }
   498  func (m *EventSendToEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   499  	if deterministic {
   500  		return xxx_messageInfo_EventSendToEth.Marshal(b, m, deterministic)
   501  	} else {
   502  		b = b[:cap(b)]
   503  		n, err := m.MarshalToSizedBuffer(b)
   504  		if err != nil {
   505  			return nil, err
   506  		}
   507  		return b[:n], nil
   508  	}
   509  }
   510  func (m *EventSendToEth) XXX_Merge(src proto.Message) {
   511  	xxx_messageInfo_EventSendToEth.Merge(m, src)
   512  }
   513  func (m *EventSendToEth) XXX_Size() int {
   514  	return m.Size()
   515  }
   516  func (m *EventSendToEth) XXX_DiscardUnknown() {
   517  	xxx_messageInfo_EventSendToEth.DiscardUnknown(m)
   518  }
   519  
   520  var xxx_messageInfo_EventSendToEth proto.InternalMessageInfo
   521  
   522  func (m *EventSendToEth) GetOutgoingTxId() uint64 {
   523  	if m != nil {
   524  		return m.OutgoingTxId
   525  	}
   526  	return 0
   527  }
   528  
   529  func (m *EventSendToEth) GetSender() string {
   530  	if m != nil {
   531  		return m.Sender
   532  	}
   533  	return ""
   534  }
   535  
   536  func (m *EventSendToEth) GetReceiver() string {
   537  	if m != nil {
   538  		return m.Receiver
   539  	}
   540  	return ""
   541  }
   542  
   543  type EventConfirmBatch struct {
   544  	BatchNonce          uint64 `protobuf:"varint,1,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
   545  	OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
   546  }
   547  
   548  func (m *EventConfirmBatch) Reset()         { *m = EventConfirmBatch{} }
   549  func (m *EventConfirmBatch) String() string { return proto.CompactTextString(m) }
   550  func (*EventConfirmBatch) ProtoMessage()    {}
   551  func (*EventConfirmBatch) Descriptor() ([]byte, []int) {
   552  	return fileDescriptor_95f217691d2f42c2, []int{8}
   553  }
   554  func (m *EventConfirmBatch) XXX_Unmarshal(b []byte) error {
   555  	return m.Unmarshal(b)
   556  }
   557  func (m *EventConfirmBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   558  	if deterministic {
   559  		return xxx_messageInfo_EventConfirmBatch.Marshal(b, m, deterministic)
   560  	} else {
   561  		b = b[:cap(b)]
   562  		n, err := m.MarshalToSizedBuffer(b)
   563  		if err != nil {
   564  			return nil, err
   565  		}
   566  		return b[:n], nil
   567  	}
   568  }
   569  func (m *EventConfirmBatch) XXX_Merge(src proto.Message) {
   570  	xxx_messageInfo_EventConfirmBatch.Merge(m, src)
   571  }
   572  func (m *EventConfirmBatch) XXX_Size() int {
   573  	return m.Size()
   574  }
   575  func (m *EventConfirmBatch) XXX_DiscardUnknown() {
   576  	xxx_messageInfo_EventConfirmBatch.DiscardUnknown(m)
   577  }
   578  
   579  var xxx_messageInfo_EventConfirmBatch proto.InternalMessageInfo
   580  
   581  func (m *EventConfirmBatch) GetBatchNonce() uint64 {
   582  	if m != nil {
   583  		return m.BatchNonce
   584  	}
   585  	return 0
   586  }
   587  
   588  func (m *EventConfirmBatch) GetOrchestratorAddress() string {
   589  	if m != nil {
   590  		return m.OrchestratorAddress
   591  	}
   592  	return ""
   593  }
   594  
   595  type EventAttestationVote struct {
   596  	EventNonce    uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
   597  	AttestationId []byte `protobuf:"bytes,2,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
   598  	Voter         string `protobuf:"bytes,3,opt,name=voter,proto3" json:"voter,omitempty"`
   599  }
   600  
   601  func (m *EventAttestationVote) Reset()         { *m = EventAttestationVote{} }
   602  func (m *EventAttestationVote) String() string { return proto.CompactTextString(m) }
   603  func (*EventAttestationVote) ProtoMessage()    {}
   604  func (*EventAttestationVote) Descriptor() ([]byte, []int) {
   605  	return fileDescriptor_95f217691d2f42c2, []int{9}
   606  }
   607  func (m *EventAttestationVote) XXX_Unmarshal(b []byte) error {
   608  	return m.Unmarshal(b)
   609  }
   610  func (m *EventAttestationVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   611  	if deterministic {
   612  		return xxx_messageInfo_EventAttestationVote.Marshal(b, m, deterministic)
   613  	} else {
   614  		b = b[:cap(b)]
   615  		n, err := m.MarshalToSizedBuffer(b)
   616  		if err != nil {
   617  			return nil, err
   618  		}
   619  		return b[:n], nil
   620  	}
   621  }
   622  func (m *EventAttestationVote) XXX_Merge(src proto.Message) {
   623  	xxx_messageInfo_EventAttestationVote.Merge(m, src)
   624  }
   625  func (m *EventAttestationVote) XXX_Size() int {
   626  	return m.Size()
   627  }
   628  func (m *EventAttestationVote) XXX_DiscardUnknown() {
   629  	xxx_messageInfo_EventAttestationVote.DiscardUnknown(m)
   630  }
   631  
   632  var xxx_messageInfo_EventAttestationVote proto.InternalMessageInfo
   633  
   634  func (m *EventAttestationVote) GetEventNonce() uint64 {
   635  	if m != nil {
   636  		return m.EventNonce
   637  	}
   638  	return 0
   639  }
   640  
   641  func (m *EventAttestationVote) GetAttestationId() []byte {
   642  	if m != nil {
   643  		return m.AttestationId
   644  	}
   645  	return nil
   646  }
   647  
   648  func (m *EventAttestationVote) GetVoter() string {
   649  	if m != nil {
   650  		return m.Voter
   651  	}
   652  	return ""
   653  }
   654  
   655  type EventDepositClaim struct {
   656  	EventNonce          uint64                `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
   657  	EventHeight         uint64                `protobuf:"varint,2,opt,name=event_height,json=eventHeight,proto3" json:"event_height,omitempty"`
   658  	AttestationId       []byte                `protobuf:"bytes,3,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
   659  	EthereumSender      string                `protobuf:"bytes,4,opt,name=ethereum_sender,json=ethereumSender,proto3" json:"ethereum_sender,omitempty"`
   660  	CosmosReceiver      string                `protobuf:"bytes,5,opt,name=cosmos_receiver,json=cosmosReceiver,proto3" json:"cosmos_receiver,omitempty"`
   661  	TokenContract       string                `protobuf:"bytes,6,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
   662  	Amount              cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"`
   663  	OrchestratorAddress string                `protobuf:"bytes,8,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
   664  	Data                string                `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty"`
   665  }
   666  
   667  func (m *EventDepositClaim) Reset()         { *m = EventDepositClaim{} }
   668  func (m *EventDepositClaim) String() string { return proto.CompactTextString(m) }
   669  func (*EventDepositClaim) ProtoMessage()    {}
   670  func (*EventDepositClaim) Descriptor() ([]byte, []int) {
   671  	return fileDescriptor_95f217691d2f42c2, []int{10}
   672  }
   673  func (m *EventDepositClaim) XXX_Unmarshal(b []byte) error {
   674  	return m.Unmarshal(b)
   675  }
   676  func (m *EventDepositClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   677  	if deterministic {
   678  		return xxx_messageInfo_EventDepositClaim.Marshal(b, m, deterministic)
   679  	} else {
   680  		b = b[:cap(b)]
   681  		n, err := m.MarshalToSizedBuffer(b)
   682  		if err != nil {
   683  			return nil, err
   684  		}
   685  		return b[:n], nil
   686  	}
   687  }
   688  func (m *EventDepositClaim) XXX_Merge(src proto.Message) {
   689  	xxx_messageInfo_EventDepositClaim.Merge(m, src)
   690  }
   691  func (m *EventDepositClaim) XXX_Size() int {
   692  	return m.Size()
   693  }
   694  func (m *EventDepositClaim) XXX_DiscardUnknown() {
   695  	xxx_messageInfo_EventDepositClaim.DiscardUnknown(m)
   696  }
   697  
   698  var xxx_messageInfo_EventDepositClaim proto.InternalMessageInfo
   699  
   700  func (m *EventDepositClaim) GetEventNonce() uint64 {
   701  	if m != nil {
   702  		return m.EventNonce
   703  	}
   704  	return 0
   705  }
   706  
   707  func (m *EventDepositClaim) GetEventHeight() uint64 {
   708  	if m != nil {
   709  		return m.EventHeight
   710  	}
   711  	return 0
   712  }
   713  
   714  func (m *EventDepositClaim) GetAttestationId() []byte {
   715  	if m != nil {
   716  		return m.AttestationId
   717  	}
   718  	return nil
   719  }
   720  
   721  func (m *EventDepositClaim) GetEthereumSender() string {
   722  	if m != nil {
   723  		return m.EthereumSender
   724  	}
   725  	return ""
   726  }
   727  
   728  func (m *EventDepositClaim) GetCosmosReceiver() string {
   729  	if m != nil {
   730  		return m.CosmosReceiver
   731  	}
   732  	return ""
   733  }
   734  
   735  func (m *EventDepositClaim) GetTokenContract() string {
   736  	if m != nil {
   737  		return m.TokenContract
   738  	}
   739  	return ""
   740  }
   741  
   742  func (m *EventDepositClaim) GetOrchestratorAddress() string {
   743  	if m != nil {
   744  		return m.OrchestratorAddress
   745  	}
   746  	return ""
   747  }
   748  
   749  func (m *EventDepositClaim) GetData() string {
   750  	if m != nil {
   751  		return m.Data
   752  	}
   753  	return ""
   754  }
   755  
   756  type EventWithdrawClaim struct {
   757  	EventNonce          uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
   758  	EventHeight         uint64 `protobuf:"varint,2,opt,name=event_height,json=eventHeight,proto3" json:"event_height,omitempty"`
   759  	AttestationId       []byte `protobuf:"bytes,3,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
   760  	BatchNonce          uint64 `protobuf:"varint,4,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"`
   761  	TokenContract       string `protobuf:"bytes,5,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
   762  	OrchestratorAddress string `protobuf:"bytes,6,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
   763  }
   764  
   765  func (m *EventWithdrawClaim) Reset()         { *m = EventWithdrawClaim{} }
   766  func (m *EventWithdrawClaim) String() string { return proto.CompactTextString(m) }
   767  func (*EventWithdrawClaim) ProtoMessage()    {}
   768  func (*EventWithdrawClaim) Descriptor() ([]byte, []int) {
   769  	return fileDescriptor_95f217691d2f42c2, []int{11}
   770  }
   771  func (m *EventWithdrawClaim) XXX_Unmarshal(b []byte) error {
   772  	return m.Unmarshal(b)
   773  }
   774  func (m *EventWithdrawClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   775  	if deterministic {
   776  		return xxx_messageInfo_EventWithdrawClaim.Marshal(b, m, deterministic)
   777  	} else {
   778  		b = b[:cap(b)]
   779  		n, err := m.MarshalToSizedBuffer(b)
   780  		if err != nil {
   781  			return nil, err
   782  		}
   783  		return b[:n], nil
   784  	}
   785  }
   786  func (m *EventWithdrawClaim) XXX_Merge(src proto.Message) {
   787  	xxx_messageInfo_EventWithdrawClaim.Merge(m, src)
   788  }
   789  func (m *EventWithdrawClaim) XXX_Size() int {
   790  	return m.Size()
   791  }
   792  func (m *EventWithdrawClaim) XXX_DiscardUnknown() {
   793  	xxx_messageInfo_EventWithdrawClaim.DiscardUnknown(m)
   794  }
   795  
   796  var xxx_messageInfo_EventWithdrawClaim proto.InternalMessageInfo
   797  
   798  func (m *EventWithdrawClaim) GetEventNonce() uint64 {
   799  	if m != nil {
   800  		return m.EventNonce
   801  	}
   802  	return 0
   803  }
   804  
   805  func (m *EventWithdrawClaim) GetEventHeight() uint64 {
   806  	if m != nil {
   807  		return m.EventHeight
   808  	}
   809  	return 0
   810  }
   811  
   812  func (m *EventWithdrawClaim) GetAttestationId() []byte {
   813  	if m != nil {
   814  		return m.AttestationId
   815  	}
   816  	return nil
   817  }
   818  
   819  func (m *EventWithdrawClaim) GetBatchNonce() uint64 {
   820  	if m != nil {
   821  		return m.BatchNonce
   822  	}
   823  	return 0
   824  }
   825  
   826  func (m *EventWithdrawClaim) GetTokenContract() string {
   827  	if m != nil {
   828  		return m.TokenContract
   829  	}
   830  	return ""
   831  }
   832  
   833  func (m *EventWithdrawClaim) GetOrchestratorAddress() string {
   834  	if m != nil {
   835  		return m.OrchestratorAddress
   836  	}
   837  	return ""
   838  }
   839  
   840  type EventERC20DeployedClaim struct {
   841  	EventNonce          uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
   842  	EventHeight         uint64 `protobuf:"varint,2,opt,name=event_height,json=eventHeight,proto3" json:"event_height,omitempty"`
   843  	AttestationId       []byte `protobuf:"bytes,3,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
   844  	CosmosDenom         string `protobuf:"bytes,4,opt,name=cosmos_denom,json=cosmosDenom,proto3" json:"cosmos_denom,omitempty"`
   845  	TokenContract       string `protobuf:"bytes,5,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"`
   846  	Name                string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
   847  	Symbol              string `protobuf:"bytes,7,opt,name=symbol,proto3" json:"symbol,omitempty"`
   848  	Decimals            uint64 `protobuf:"varint,8,opt,name=decimals,proto3" json:"decimals,omitempty"`
   849  	OrchestratorAddress string `protobuf:"bytes,9,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
   850  }
   851  
   852  func (m *EventERC20DeployedClaim) Reset()         { *m = EventERC20DeployedClaim{} }
   853  func (m *EventERC20DeployedClaim) String() string { return proto.CompactTextString(m) }
   854  func (*EventERC20DeployedClaim) ProtoMessage()    {}
   855  func (*EventERC20DeployedClaim) Descriptor() ([]byte, []int) {
   856  	return fileDescriptor_95f217691d2f42c2, []int{12}
   857  }
   858  func (m *EventERC20DeployedClaim) XXX_Unmarshal(b []byte) error {
   859  	return m.Unmarshal(b)
   860  }
   861  func (m *EventERC20DeployedClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   862  	if deterministic {
   863  		return xxx_messageInfo_EventERC20DeployedClaim.Marshal(b, m, deterministic)
   864  	} else {
   865  		b = b[:cap(b)]
   866  		n, err := m.MarshalToSizedBuffer(b)
   867  		if err != nil {
   868  			return nil, err
   869  		}
   870  		return b[:n], nil
   871  	}
   872  }
   873  func (m *EventERC20DeployedClaim) XXX_Merge(src proto.Message) {
   874  	xxx_messageInfo_EventERC20DeployedClaim.Merge(m, src)
   875  }
   876  func (m *EventERC20DeployedClaim) XXX_Size() int {
   877  	return m.Size()
   878  }
   879  func (m *EventERC20DeployedClaim) XXX_DiscardUnknown() {
   880  	xxx_messageInfo_EventERC20DeployedClaim.DiscardUnknown(m)
   881  }
   882  
   883  var xxx_messageInfo_EventERC20DeployedClaim proto.InternalMessageInfo
   884  
   885  func (m *EventERC20DeployedClaim) GetEventNonce() uint64 {
   886  	if m != nil {
   887  		return m.EventNonce
   888  	}
   889  	return 0
   890  }
   891  
   892  func (m *EventERC20DeployedClaim) GetEventHeight() uint64 {
   893  	if m != nil {
   894  		return m.EventHeight
   895  	}
   896  	return 0
   897  }
   898  
   899  func (m *EventERC20DeployedClaim) GetAttestationId() []byte {
   900  	if m != nil {
   901  		return m.AttestationId
   902  	}
   903  	return nil
   904  }
   905  
   906  func (m *EventERC20DeployedClaim) GetCosmosDenom() string {
   907  	if m != nil {
   908  		return m.CosmosDenom
   909  	}
   910  	return ""
   911  }
   912  
   913  func (m *EventERC20DeployedClaim) GetTokenContract() string {
   914  	if m != nil {
   915  		return m.TokenContract
   916  	}
   917  	return ""
   918  }
   919  
   920  func (m *EventERC20DeployedClaim) GetName() string {
   921  	if m != nil {
   922  		return m.Name
   923  	}
   924  	return ""
   925  }
   926  
   927  func (m *EventERC20DeployedClaim) GetSymbol() string {
   928  	if m != nil {
   929  		return m.Symbol
   930  	}
   931  	return ""
   932  }
   933  
   934  func (m *EventERC20DeployedClaim) GetDecimals() uint64 {
   935  	if m != nil {
   936  		return m.Decimals
   937  	}
   938  	return 0
   939  }
   940  
   941  func (m *EventERC20DeployedClaim) GetOrchestratorAddress() string {
   942  	if m != nil {
   943  		return m.OrchestratorAddress
   944  	}
   945  	return ""
   946  }
   947  
   948  type EventValsetUpdateClaim struct {
   949  	EventNonce          uint64                `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"`
   950  	EventHeight         uint64                `protobuf:"varint,2,opt,name=event_height,json=eventHeight,proto3" json:"event_height,omitempty"`
   951  	AttestationId       []byte                `protobuf:"bytes,3,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"`
   952  	ValsetNonce         uint64                `protobuf:"varint,4,opt,name=valset_nonce,json=valsetNonce,proto3" json:"valset_nonce,omitempty"`
   953  	ValsetMembers       []*BridgeValidator    `protobuf:"bytes,5,rep,name=valset_members,json=valsetMembers,proto3" json:"valset_members,omitempty"`
   954  	RewardAmount        cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=reward_amount,json=rewardAmount,proto3,customtype=cosmossdk.io/math.Int" json:"reward_amount"`
   955  	RewardToken         string                `protobuf:"bytes,7,opt,name=reward_token,json=rewardToken,proto3" json:"reward_token,omitempty"`
   956  	OrchestratorAddress string                `protobuf:"bytes,8,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"`
   957  }
   958  
   959  func (m *EventValsetUpdateClaim) Reset()         { *m = EventValsetUpdateClaim{} }
   960  func (m *EventValsetUpdateClaim) String() string { return proto.CompactTextString(m) }
   961  func (*EventValsetUpdateClaim) ProtoMessage()    {}
   962  func (*EventValsetUpdateClaim) Descriptor() ([]byte, []int) {
   963  	return fileDescriptor_95f217691d2f42c2, []int{13}
   964  }
   965  func (m *EventValsetUpdateClaim) XXX_Unmarshal(b []byte) error {
   966  	return m.Unmarshal(b)
   967  }
   968  func (m *EventValsetUpdateClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   969  	if deterministic {
   970  		return xxx_messageInfo_EventValsetUpdateClaim.Marshal(b, m, deterministic)
   971  	} else {
   972  		b = b[:cap(b)]
   973  		n, err := m.MarshalToSizedBuffer(b)
   974  		if err != nil {
   975  			return nil, err
   976  		}
   977  		return b[:n], nil
   978  	}
   979  }
   980  func (m *EventValsetUpdateClaim) XXX_Merge(src proto.Message) {
   981  	xxx_messageInfo_EventValsetUpdateClaim.Merge(m, src)
   982  }
   983  func (m *EventValsetUpdateClaim) XXX_Size() int {
   984  	return m.Size()
   985  }
   986  func (m *EventValsetUpdateClaim) XXX_DiscardUnknown() {
   987  	xxx_messageInfo_EventValsetUpdateClaim.DiscardUnknown(m)
   988  }
   989  
   990  var xxx_messageInfo_EventValsetUpdateClaim proto.InternalMessageInfo
   991  
   992  func (m *EventValsetUpdateClaim) GetEventNonce() uint64 {
   993  	if m != nil {
   994  		return m.EventNonce
   995  	}
   996  	return 0
   997  }
   998  
   999  func (m *EventValsetUpdateClaim) GetEventHeight() uint64 {
  1000  	if m != nil {
  1001  		return m.EventHeight
  1002  	}
  1003  	return 0
  1004  }
  1005  
  1006  func (m *EventValsetUpdateClaim) GetAttestationId() []byte {
  1007  	if m != nil {
  1008  		return m.AttestationId
  1009  	}
  1010  	return nil
  1011  }
  1012  
  1013  func (m *EventValsetUpdateClaim) GetValsetNonce() uint64 {
  1014  	if m != nil {
  1015  		return m.ValsetNonce
  1016  	}
  1017  	return 0
  1018  }
  1019  
  1020  func (m *EventValsetUpdateClaim) GetValsetMembers() []*BridgeValidator {
  1021  	if m != nil {
  1022  		return m.ValsetMembers
  1023  	}
  1024  	return nil
  1025  }
  1026  
  1027  func (m *EventValsetUpdateClaim) GetRewardToken() string {
  1028  	if m != nil {
  1029  		return m.RewardToken
  1030  	}
  1031  	return ""
  1032  }
  1033  
  1034  func (m *EventValsetUpdateClaim) GetOrchestratorAddress() string {
  1035  	if m != nil {
  1036  		return m.OrchestratorAddress
  1037  	}
  1038  	return ""
  1039  }
  1040  
  1041  type EventCancelSendToEth struct {
  1042  	OutgoingTxId uint64 `protobuf:"varint,1,opt,name=outgoing_tx_id,json=outgoingTxId,proto3" json:"outgoing_tx_id,omitempty"`
  1043  }
  1044  
  1045  func (m *EventCancelSendToEth) Reset()         { *m = EventCancelSendToEth{} }
  1046  func (m *EventCancelSendToEth) String() string { return proto.CompactTextString(m) }
  1047  func (*EventCancelSendToEth) ProtoMessage()    {}
  1048  func (*EventCancelSendToEth) Descriptor() ([]byte, []int) {
  1049  	return fileDescriptor_95f217691d2f42c2, []int{14}
  1050  }
  1051  func (m *EventCancelSendToEth) XXX_Unmarshal(b []byte) error {
  1052  	return m.Unmarshal(b)
  1053  }
  1054  func (m *EventCancelSendToEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1055  	if deterministic {
  1056  		return xxx_messageInfo_EventCancelSendToEth.Marshal(b, m, deterministic)
  1057  	} else {
  1058  		b = b[:cap(b)]
  1059  		n, err := m.MarshalToSizedBuffer(b)
  1060  		if err != nil {
  1061  			return nil, err
  1062  		}
  1063  		return b[:n], nil
  1064  	}
  1065  }
  1066  func (m *EventCancelSendToEth) XXX_Merge(src proto.Message) {
  1067  	xxx_messageInfo_EventCancelSendToEth.Merge(m, src)
  1068  }
  1069  func (m *EventCancelSendToEth) XXX_Size() int {
  1070  	return m.Size()
  1071  }
  1072  func (m *EventCancelSendToEth) XXX_DiscardUnknown() {
  1073  	xxx_messageInfo_EventCancelSendToEth.DiscardUnknown(m)
  1074  }
  1075  
  1076  var xxx_messageInfo_EventCancelSendToEth proto.InternalMessageInfo
  1077  
  1078  func (m *EventCancelSendToEth) GetOutgoingTxId() uint64 {
  1079  	if m != nil {
  1080  		return m.OutgoingTxId
  1081  	}
  1082  	return 0
  1083  }
  1084  
  1085  type EventSubmitBadSignatureEvidence struct {
  1086  	BadEthSignature        string `protobuf:"bytes,1,opt,name=bad_eth_signature,json=badEthSignature,proto3" json:"bad_eth_signature,omitempty"`
  1087  	BadEthSignatureSubject string `protobuf:"bytes,2,opt,name=bad_eth_signature_subject,json=badEthSignatureSubject,proto3" json:"bad_eth_signature_subject,omitempty"`
  1088  }
  1089  
  1090  func (m *EventSubmitBadSignatureEvidence) Reset()         { *m = EventSubmitBadSignatureEvidence{} }
  1091  func (m *EventSubmitBadSignatureEvidence) String() string { return proto.CompactTextString(m) }
  1092  func (*EventSubmitBadSignatureEvidence) ProtoMessage()    {}
  1093  func (*EventSubmitBadSignatureEvidence) Descriptor() ([]byte, []int) {
  1094  	return fileDescriptor_95f217691d2f42c2, []int{15}
  1095  }
  1096  func (m *EventSubmitBadSignatureEvidence) XXX_Unmarshal(b []byte) error {
  1097  	return m.Unmarshal(b)
  1098  }
  1099  func (m *EventSubmitBadSignatureEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1100  	if deterministic {
  1101  		return xxx_messageInfo_EventSubmitBadSignatureEvidence.Marshal(b, m, deterministic)
  1102  	} else {
  1103  		b = b[:cap(b)]
  1104  		n, err := m.MarshalToSizedBuffer(b)
  1105  		if err != nil {
  1106  			return nil, err
  1107  		}
  1108  		return b[:n], nil
  1109  	}
  1110  }
  1111  func (m *EventSubmitBadSignatureEvidence) XXX_Merge(src proto.Message) {
  1112  	xxx_messageInfo_EventSubmitBadSignatureEvidence.Merge(m, src)
  1113  }
  1114  func (m *EventSubmitBadSignatureEvidence) XXX_Size() int {
  1115  	return m.Size()
  1116  }
  1117  func (m *EventSubmitBadSignatureEvidence) XXX_DiscardUnknown() {
  1118  	xxx_messageInfo_EventSubmitBadSignatureEvidence.DiscardUnknown(m)
  1119  }
  1120  
  1121  var xxx_messageInfo_EventSubmitBadSignatureEvidence proto.InternalMessageInfo
  1122  
  1123  func (m *EventSubmitBadSignatureEvidence) GetBadEthSignature() string {
  1124  	if m != nil {
  1125  		return m.BadEthSignature
  1126  	}
  1127  	return ""
  1128  }
  1129  
  1130  func (m *EventSubmitBadSignatureEvidence) GetBadEthSignatureSubject() string {
  1131  	if m != nil {
  1132  		return m.BadEthSignatureSubject
  1133  	}
  1134  	return ""
  1135  }
  1136  
  1137  type EventValidatorSlash struct {
  1138  	Power            int64  `protobuf:"varint,1,opt,name=power,proto3" json:"power,omitempty"`
  1139  	Reason           string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
  1140  	ConsensusAddress string `protobuf:"bytes,3,opt,name=consensus_address,json=consensusAddress,proto3" json:"consensus_address,omitempty"`
  1141  	OperatorAddress  string `protobuf:"bytes,4,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
  1142  	Moniker          string `protobuf:"bytes,5,opt,name=moniker,proto3" json:"moniker,omitempty"`
  1143  }
  1144  
  1145  func (m *EventValidatorSlash) Reset()         { *m = EventValidatorSlash{} }
  1146  func (m *EventValidatorSlash) String() string { return proto.CompactTextString(m) }
  1147  func (*EventValidatorSlash) ProtoMessage()    {}
  1148  func (*EventValidatorSlash) Descriptor() ([]byte, []int) {
  1149  	return fileDescriptor_95f217691d2f42c2, []int{16}
  1150  }
  1151  func (m *EventValidatorSlash) XXX_Unmarshal(b []byte) error {
  1152  	return m.Unmarshal(b)
  1153  }
  1154  func (m *EventValidatorSlash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1155  	if deterministic {
  1156  		return xxx_messageInfo_EventValidatorSlash.Marshal(b, m, deterministic)
  1157  	} else {
  1158  		b = b[:cap(b)]
  1159  		n, err := m.MarshalToSizedBuffer(b)
  1160  		if err != nil {
  1161  			return nil, err
  1162  		}
  1163  		return b[:n], nil
  1164  	}
  1165  }
  1166  func (m *EventValidatorSlash) XXX_Merge(src proto.Message) {
  1167  	xxx_messageInfo_EventValidatorSlash.Merge(m, src)
  1168  }
  1169  func (m *EventValidatorSlash) XXX_Size() int {
  1170  	return m.Size()
  1171  }
  1172  func (m *EventValidatorSlash) XXX_DiscardUnknown() {
  1173  	xxx_messageInfo_EventValidatorSlash.DiscardUnknown(m)
  1174  }
  1175  
  1176  var xxx_messageInfo_EventValidatorSlash proto.InternalMessageInfo
  1177  
  1178  func (m *EventValidatorSlash) GetPower() int64 {
  1179  	if m != nil {
  1180  		return m.Power
  1181  	}
  1182  	return 0
  1183  }
  1184  
  1185  func (m *EventValidatorSlash) GetReason() string {
  1186  	if m != nil {
  1187  		return m.Reason
  1188  	}
  1189  	return ""
  1190  }
  1191  
  1192  func (m *EventValidatorSlash) GetConsensusAddress() string {
  1193  	if m != nil {
  1194  		return m.ConsensusAddress
  1195  	}
  1196  	return ""
  1197  }
  1198  
  1199  func (m *EventValidatorSlash) GetOperatorAddress() string {
  1200  	if m != nil {
  1201  		return m.OperatorAddress
  1202  	}
  1203  	return ""
  1204  }
  1205  
  1206  func (m *EventValidatorSlash) GetMoniker() string {
  1207  	if m != nil {
  1208  		return m.Moniker
  1209  	}
  1210  	return ""
  1211  }
  1212  
  1213  func init() {
  1214  	proto.RegisterType((*EventAttestationObserved)(nil), "injective.peggy.v1.EventAttestationObserved")
  1215  	proto.RegisterType((*EventBridgeWithdrawCanceled)(nil), "injective.peggy.v1.EventBridgeWithdrawCanceled")
  1216  	proto.RegisterType((*EventOutgoingBatch)(nil), "injective.peggy.v1.EventOutgoingBatch")
  1217  	proto.RegisterType((*EventOutgoingBatchCanceled)(nil), "injective.peggy.v1.EventOutgoingBatchCanceled")
  1218  	proto.RegisterType((*EventValsetUpdateRequest)(nil), "injective.peggy.v1.EventValsetUpdateRequest")
  1219  	proto.RegisterType((*EventSetOrchestratorAddresses)(nil), "injective.peggy.v1.EventSetOrchestratorAddresses")
  1220  	proto.RegisterType((*EventValsetConfirm)(nil), "injective.peggy.v1.EventValsetConfirm")
  1221  	proto.RegisterType((*EventSendToEth)(nil), "injective.peggy.v1.EventSendToEth")
  1222  	proto.RegisterType((*EventConfirmBatch)(nil), "injective.peggy.v1.EventConfirmBatch")
  1223  	proto.RegisterType((*EventAttestationVote)(nil), "injective.peggy.v1.EventAttestationVote")
  1224  	proto.RegisterType((*EventDepositClaim)(nil), "injective.peggy.v1.EventDepositClaim")
  1225  	proto.RegisterType((*EventWithdrawClaim)(nil), "injective.peggy.v1.EventWithdrawClaim")
  1226  	proto.RegisterType((*EventERC20DeployedClaim)(nil), "injective.peggy.v1.EventERC20DeployedClaim")
  1227  	proto.RegisterType((*EventValsetUpdateClaim)(nil), "injective.peggy.v1.EventValsetUpdateClaim")
  1228  	proto.RegisterType((*EventCancelSendToEth)(nil), "injective.peggy.v1.EventCancelSendToEth")
  1229  	proto.RegisterType((*EventSubmitBadSignatureEvidence)(nil), "injective.peggy.v1.EventSubmitBadSignatureEvidence")
  1230  	proto.RegisterType((*EventValidatorSlash)(nil), "injective.peggy.v1.EventValidatorSlash")
  1231  }
  1232  
  1233  func init() { proto.RegisterFile("injective/peggy/v1/events.proto", fileDescriptor_95f217691d2f42c2) }
  1234  
  1235  var fileDescriptor_95f217691d2f42c2 = []byte{
  1236  	// 1265 bytes of a gzipped FileDescriptorProto
  1237  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcf, 0x6f, 0x1b, 0xc5,
  1238  	0x17, 0xcf, 0xda, 0x4e, 0x52, 0x4f, 0x1c, 0x3b, 0x9d, 0xe6, 0xdb, 0xaf, 0x1b, 0x54, 0xc7, 0xdd,
  1239  	0xb6, 0x24, 0x80, 0x6a, 0xb7, 0x45, 0x1c, 0x90, 0xb8, 0xd4, 0xae, 0xa1, 0xe1, 0x47, 0x2b, 0x6d,
  1240  	0x42, 0x91, 0xb8, 0x58, 0xb3, 0x3b, 0xaf, 0xde, 0x69, 0xbc, 0x33, 0x66, 0x67, 0xec, 0x36, 0x67,
  1241  	0x2e, 0x1c, 0x38, 0x70, 0xe1, 0xca, 0xff, 0xc0, 0x81, 0x3f, 0x01, 0xa9, 0xdc, 0x7a, 0x44, 0x1c,
  1242  	0x2a, 0xd4, 0xfe, 0x07, 0x48, 0x5c, 0x38, 0xa1, 0x9d, 0x99, 0xdd, 0x38, 0x59, 0x5b, 0xa4, 0x01,
  1243  	0xca, 0xc9, 0x3b, 0x6f, 0xde, 0x7b, 0xf3, 0xe6, 0xf3, 0x3e, 0xf3, 0xde, 0x33, 0xda, 0x64, 0xfc,
  1244  	0x21, 0x04, 0x8a, 0x4d, 0xa0, 0x3d, 0x82, 0xc1, 0xe0, 0xa0, 0x3d, 0xb9, 0xd1, 0x86, 0x09, 0x70,
  1245  	0x25, 0x5b, 0xa3, 0x58, 0x28, 0x81, 0x71, 0xa6, 0xd0, 0xd2, 0x0a, 0xad, 0xc9, 0x8d, 0x8d, 0xf5,
  1246  	0x81, 0x18, 0x08, 0xbd, 0xdd, 0x4e, 0xbe, 0x8c, 0xe6, 0xc6, 0x95, 0x19, 0xae, 0x88, 0x52, 0x20,
  1247  	0x15, 0x51, 0x4c, 0x70, 0xab, 0xd5, 0x98, 0xa1, 0xa5, 0x0e, 0x46, 0x60, 0xcf, 0x73, 0x7f, 0x73,
  1248  	0x50, 0xbd, 0x97, 0x04, 0x70, 0xeb, 0xd0, 0xf4, 0x9e, 0x2f, 0x21, 0x9e, 0x00, 0xc5, 0x77, 0xd0,
  1249  	0xda, 0x94, 0xc7, 0x7e, 0x62, 0x57, 0x77, 0x9a, 0xce, 0x76, 0xf5, 0xe6, 0xc5, 0x56, 0x3e, 0xce,
  1250  	0x56, 0x77, 0x48, 0x58, 0xb4, 0x77, 0x30, 0x02, 0xaf, 0x36, 0x65, 0x96, 0x08, 0xf0, 0x16, 0xaa,
  1251  	0xf9, 0x31, 0xa3, 0x03, 0xe8, 0x07, 0x82, 0xab, 0x98, 0x04, 0xaa, 0x5e, 0x68, 0x3a, 0xdb, 0x65,
  1252  	0xaf, 0x6a, 0xc4, 0x5d, 0x2b, 0xc5, 0xaf, 0x1f, 0x2a, 0x86, 0x84, 0xf1, 0x3e, 0xa3, 0xf5, 0x62,
  1253  	0xd3, 0xd9, 0x2e, 0x79, 0xab, 0x56, 0x31, 0x91, 0xee, 0x50, 0x7c, 0x15, 0x55, 0xa7, 0x43, 0x63,
  1254  	0xb4, 0x5e, 0x6a, 0x3a, 0xdb, 0x15, 0x6f, 0x75, 0x4a, 0xba, 0x43, 0xf1, 0x3a, 0x5a, 0xe4, 0x82,
  1255  	0x07, 0x50, 0x5f, 0xd4, 0x4e, 0xcc, 0xc2, 0xe5, 0xe8, 0x35, 0x7d, 0xe7, 0x8e, 0x76, 0xf9, 0x19,
  1256  	0x53, 0x21, 0x8d, 0xc9, 0xa3, 0x2e, 0xe1, 0x01, 0x0c, 0x81, 0xce, 0x0a, 0xd6, 0x39, 0x69, 0xb0,
  1257  	0x85, 0x19, 0xc1, 0xba, 0x3f, 0x3a, 0x08, 0xeb, 0x03, 0xef, 0x8d, 0xd5, 0x40, 0x30, 0x3e, 0xe8,
  1258  	0x10, 0x15, 0x84, 0x49, 0x70, 0x14, 0xb8, 0x88, 0xac, 0x77, 0xb3, 0xc0, 0x37, 0xd0, 0xba, 0x88,
  1259  	0x83, 0x10, 0xa4, 0x8a, 0x89, 0x12, 0x71, 0x9f, 0x50, 0x1a, 0x83, 0x94, 0x16, 0xaf, 0x73, 0xd3,
  1260  	0x7b, 0xb7, 0xcc, 0x16, 0xde, 0x44, 0x2b, 0x7e, 0xe2, 0xb1, 0x6f, 0xee, 0x6a, 0x00, 0x43, 0x5a,
  1261  	0x74, 0x37, 0x91, 0xe0, 0xcb, 0x68, 0xd5, 0x28, 0x28, 0x16, 0x81, 0x18, 0x2b, 0x0d, 0x56, 0xc9,
  1262  	0xab, 0x68, 0xe1, 0x9e, 0x91, 0xe1, 0x26, 0xaa, 0x58, 0xa5, 0xc7, 0x7d, 0x46, 0x65, 0x7d, 0xb1,
  1263  	0x59, 0xcc, 0xdc, 0xec, 0x3d, 0xde, 0xa1, 0xd2, 0xfd, 0xce, 0x41, 0x1b, 0xf9, 0x7b, 0xfc, 0x6b,
  1264  	0xb8, 0xe1, 0x0b, 0xe8, 0x8c, 0x89, 0x28, 0x63, 0xc1, 0xb2, 0x5e, 0x4f, 0x27, 0xb6, 0x34, 0x9d,
  1265  	0xd8, 0x6f, 0x0b, 0x96, 0xcd, 0xf7, 0xc9, 0x50, 0x82, 0xfa, 0x74, 0x44, 0x89, 0x02, 0x0f, 0xbe,
  1266  	0x18, 0x83, 0x54, 0xf8, 0x12, 0xaa, 0x4c, 0xb4, 0xd8, 0xc2, 0xe4, 0x68, 0xcb, 0x15, 0x23, 0xcb,
  1267  	0x70, 0xb2, 0x2a, 0x21, 0xb0, 0x41, 0xa8, 0x6c, 0x58, 0xd6, 0xee, 0x8e, 0x96, 0xe1, 0x0f, 0x51,
  1268  	0xd5, 0x2a, 0x45, 0x10, 0xf9, 0x10, 0xcb, 0x7a, 0xb1, 0x59, 0xdc, 0x5e, 0xb9, 0x79, 0x79, 0xd6,
  1269  	0x9b, 0x30, 0x14, 0xbb, 0x4f, 0x86, 0x8c, 0x26, 0x19, 0xf3, 0xac, 0xff, 0x4f, 0x8c, 0x25, 0xee,
  1270  	0xa0, 0xd5, 0x18, 0x1e, 0x91, 0x98, 0xf6, 0x49, 0x24, 0xc6, 0xdc, 0x24, 0xa6, 0xdc, 0xb9, 0xf8,
  1271  	0xe4, 0xd9, 0xe6, 0xc2, 0x2f, 0xcf, 0x36, 0xff, 0x17, 0x08, 0x19, 0x09, 0x29, 0xe9, 0x7e, 0x8b,
  1272  	0x89, 0x76, 0x44, 0x54, 0xd8, 0xda, 0xe1, 0xca, 0xab, 0x18, 0x9b, 0x5b, 0xda, 0x24, 0xb9, 0x97,
  1273  	0xf5, 0xa1, 0xc4, 0x3e, 0x70, 0x4d, 0xf5, 0xb2, 0xb7, 0x62, 0x64, 0x7b, 0x89, 0xc8, 0xfd, 0xde,
  1274  	0x41, 0x17, 0x35, 0x2e, 0xbb, 0xa0, 0xee, 0xe5, 0x09, 0x04, 0x12, 0xbf, 0x85, 0xce, 0x4e, 0xd2,
  1275  	0x20, 0x33, 0xca, 0x99, 0xec, 0xad, 0x65, 0x1b, 0x29, 0xdf, 0x4e, 0x41, 0xd1, 0xeb, 0x68, 0x5d,
  1276  	0x8c, 0xc0, 0xa8, 0x83, 0x0a, 0x33, 0x93, 0xa2, 0x36, 0xc1, 0xe9, 0x5e, 0x4f, 0x85, 0xd6, 0xc2,
  1277  	0x7d, 0x68, 0xdf, 0x8c, 0x49, 0x65, 0x57, 0xf0, 0x07, 0x2c, 0x8e, 0x4e, 0x92, 0xc4, 0x97, 0x8f,
  1278  	0xce, 0xfd, 0xb2, 0x80, 0xaa, 0x16, 0x1f, 0x4e, 0xf7, 0x44, 0x4f, 0x85, 0xf8, 0x0a, 0xaa, 0x0a,
  1279  	0xcb, 0x72, 0xf3, 0x20, 0xec, 0x51, 0x95, 0x54, 0x9a, 0x3c, 0x09, 0x7c, 0x1e, 0x2d, 0x49, 0xe0,
  1280  	0x14, 0x62, 0xeb, 0xdd, 0xae, 0xf0, 0x06, 0x3a, 0x13, 0x43, 0x00, 0x6c, 0x02, 0xb1, 0xbd, 0x62,
  1281  	0xb6, 0xc6, 0x1f, 0xa0, 0xa5, 0x23, 0xc9, 0x6e, 0xdb, 0x64, 0x6f, 0x0d, 0x98, 0x0a, 0xc7, 0x7e,
  1282  	0x2b, 0x10, 0x51, 0xdb, 0xe4, 0xdd, 0xfe, 0x5c, 0x93, 0x74, 0xdf, 0x16, 0xed, 0xae, 0x60, 0xdc,
  1283  	0xb3, 0xe6, 0xf8, 0x2e, 0x42, 0xf6, 0x19, 0x3d, 0x00, 0x53, 0xe1, 0x4e, 0xe1, 0xac, 0x6c, 0x5c,
  1284  	0xbc, 0x0f, 0xe0, 0x0e, 0xd0, 0x59, 0x0d, 0x82, 0xc5, 0xda, 0x14, 0xa9, 0x63, 0xb5, 0xc5, 0xc9,
  1285  	0xd5, 0x96, 0x53, 0xc0, 0xad, 0xd0, 0xfa, 0xf1, 0x9e, 0x73, 0x5f, 0x28, 0x48, 0xce, 0xd2, 0xcd,
  1286  	0xf0, 0xe8, 0x59, 0x5a, 0x64, 0xce, 0xca, 0x57, 0xfd, 0xc2, 0x9c, 0xaa, 0x3f, 0x11, 0x2a, 0x83,
  1287  	0xde, 0x2c, 0xdc, 0xdf, 0x0b, 0xf6, 0x7e, 0xb7, 0x61, 0x24, 0x24, 0x53, 0xba, 0x5d, 0xfd, 0xf5,
  1288  	0x99, 0x97, 0x50, 0xc5, 0x28, 0x1c, 0x29, 0x09, 0xc6, 0xc8, 0x56, 0x84, 0x7c, 0x58, 0xc5, 0x59,
  1289  	0x61, 0x6d, 0xa1, 0x1a, 0xa8, 0x10, 0x62, 0x18, 0x47, 0x7d, 0xcb, 0x9a, 0x92, 0xa9, 0x8f, 0xa9,
  1290  	0x78, 0xd7, 0xb0, 0x67, 0x0b, 0xd5, 0x4c, 0xb2, 0xfa, 0x19, 0x89, 0xcc, 0xa3, 0xae, 0x1a, 0xb1,
  1291  	0x97, 0x52, 0xe9, 0x2a, 0xaa, 0xea, 0x37, 0x7f, 0x58, 0x70, 0x97, 0xb4, 0xde, 0xaa, 0x96, 0x66,
  1292  	0xf5, 0xf6, 0x9d, 0x8c, 0x71, 0xcb, 0x27, 0x29, 0x2f, 0x29, 0xbf, 0xe6, 0x65, 0xf6, 0xcc, 0xfc,
  1293  	0x67, 0x8e, 0x51, 0x89, 0x12, 0x45, 0xea, 0x65, 0xad, 0xa2, 0xbf, 0xdd, 0x3f, 0xd2, 0xee, 0x97,
  1294  	0x35, 0xda, 0x57, 0x0d, 0xfc, 0x31, 0x0e, 0x97, 0x72, 0x1c, 0xce, 0xe3, 0xb8, 0x38, 0x0b, 0xc7,
  1295  	0x79, 0x80, 0x2c, 0xcd, 0xa7, 0xfa, 0x4f, 0x05, 0xf4, 0x7f, 0x7d, 0xf9, 0x9e, 0xd7, 0xbd, 0x79,
  1296  	0xfd, 0x36, 0x8c, 0x86, 0xe2, 0x00, 0xe8, 0x2b, 0x47, 0xe0, 0x12, 0xaa, 0x58, 0x46, 0x99, 0x89,
  1297  	0xc3, 0xf0, 0x6e, 0xc5, 0xc8, 0x6e, 0xeb, 0xb9, 0xe3, 0x84, 0x18, 0x60, 0x54, 0xe2, 0x24, 0x02,
  1298  	0x7b, 0x67, 0xfd, 0xad, 0xab, 0xe0, 0x41, 0xe4, 0x8b, 0xa1, 0xe1, 0x97, 0x67, 0x57, 0x49, 0x15,
  1299  	0xa4, 0x10, 0xb0, 0x88, 0x0c, 0x0d, 0x69, 0x4a, 0x5e, 0xb6, 0x9e, 0x8b, 0x65, 0x79, 0x3e, 0x96,
  1300  	0x5f, 0x17, 0xd1, 0xf9, 0x5c, 0x77, 0xff, 0x2f, 0xa0, 0x3c, 0xd2, 0x81, 0x4a, 0xf9, 0x0e, 0x94,
  1301  	0x9f, 0x10, 0x16, 0xff, 0xb9, 0x09, 0x61, 0xe9, 0xef, 0x4f, 0x08, 0xcb, 0xb9, 0x09, 0xe1, 0x14,
  1302  	0x6f, 0xdd, 0x7d, 0xcf, 0x56, 0x71, 0x33, 0xff, 0xbd, 0x64, 0xe7, 0x74, 0xbf, 0x72, 0xd0, 0xa6,
  1303  	0x69, 0xb9, 0x63, 0x3f, 0x62, 0xaa, 0x43, 0xe8, 0x2e, 0x1b, 0x70, 0xa2, 0xc6, 0x31, 0xf4, 0x26,
  1304  	0x8c, 0x42, 0x82, 0xe3, 0x9b, 0xe8, 0xac, 0x4f, 0xa8, 0x9e, 0x17, 0x64, 0xba, 0x69, 0x87, 0x92,
  1305  	0x9a, 0x4f, 0x68, 0x4f, 0x85, 0x99, 0x0d, 0x7e, 0x17, 0x5d, 0xc8, 0xe9, 0xf6, 0xe5, 0xd8, 0x4f,
  1306  	0xf0, 0xb6, 0xbd, 0xe8, 0xfc, 0x31, 0x9b, 0x5d, 0xb3, 0xeb, 0xfe, 0xe0, 0xa0, 0x73, 0x29, 0xaf,
  1307  	0x4c, 0x12, 0x76, 0x87, 0x44, 0xea, 0xf9, 0x7c, 0x24, 0x1e, 0x41, 0xac, 0x8f, 0x2c, 0x7a, 0x66,
  1308  	0x91, 0x90, 0x3d, 0x06, 0x22, 0x05, 0x4f, 0x5b, 0xbe, 0x59, 0x25, 0x13, 0x54, 0x20, 0xb8, 0x04,
  1309  	0x2e, 0xc7, 0xf2, 0xd8, 0x78, 0xb3, 0x96, 0x6d, 0xa4, 0x75, 0xf2, 0x0d, 0xb4, 0x96, 0x8d, 0x43,
  1310  	0xa9, 0xae, 0x79, 0x93, 0xb5, 0x54, 0x9e, 0xaa, 0xd6, 0xd1, 0x72, 0x24, 0x38, 0xdb, 0xcf, 0x9a,
  1311  	0x40, 0xba, 0xec, 0xc0, 0x93, 0xe7, 0x0d, 0xe7, 0xe9, 0xf3, 0x86, 0xf3, 0xeb, 0xf3, 0x86, 0xf3,
  1312  	0xcd, 0x8b, 0xc6, 0xc2, 0xd3, 0x17, 0x8d, 0x85, 0x9f, 0x5f, 0x34, 0x16, 0x3e, 0xff, 0x68, 0xaa,
  1313  	0xfb, 0xef, 0xa4, 0x94, 0xfb, 0x98, 0xf8, 0xb2, 0x9d, 0x11, 0xf0, 0x5a, 0x20, 0x62, 0x98, 0x5e,
  1314  	0x26, 0x33, 0x77, 0x3b, 0x12, 0x74, 0x3c, 0x04, 0x69, 0xff, 0x2b, 0xea, 0x31, 0xc1, 0x5f, 0xd2,
  1315  	0xff, 0x14, 0xdf, 0xfe, 0x33, 0x00, 0x00, 0xff, 0xff, 0x1e, 0x8d, 0x4c, 0x9e, 0xbc, 0x0e, 0x00,
  1316  	0x00,
  1317  }
  1318  
  1319  func (m *EventAttestationObserved) Marshal() (dAtA []byte, err error) {
  1320  	size := m.Size()
  1321  	dAtA = make([]byte, size)
  1322  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1323  	if err != nil {
  1324  		return nil, err
  1325  	}
  1326  	return dAtA[:n], nil
  1327  }
  1328  
  1329  func (m *EventAttestationObserved) MarshalTo(dAtA []byte) (int, error) {
  1330  	size := m.Size()
  1331  	return m.MarshalToSizedBuffer(dAtA[:size])
  1332  }
  1333  
  1334  func (m *EventAttestationObserved) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1335  	i := len(dAtA)
  1336  	_ = i
  1337  	var l int
  1338  	_ = l
  1339  	if m.Nonce != 0 {
  1340  		i = encodeVarintEvents(dAtA, i, uint64(m.Nonce))
  1341  		i--
  1342  		dAtA[i] = 0x28
  1343  	}
  1344  	if len(m.AttestationId) > 0 {
  1345  		i -= len(m.AttestationId)
  1346  		copy(dAtA[i:], m.AttestationId)
  1347  		i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId)))
  1348  		i--
  1349  		dAtA[i] = 0x22
  1350  	}
  1351  	if m.BridgeChainId != 0 {
  1352  		i = encodeVarintEvents(dAtA, i, uint64(m.BridgeChainId))
  1353  		i--
  1354  		dAtA[i] = 0x18
  1355  	}
  1356  	if len(m.BridgeContract) > 0 {
  1357  		i -= len(m.BridgeContract)
  1358  		copy(dAtA[i:], m.BridgeContract)
  1359  		i = encodeVarintEvents(dAtA, i, uint64(len(m.BridgeContract)))
  1360  		i--
  1361  		dAtA[i] = 0x12
  1362  	}
  1363  	if m.AttestationType != 0 {
  1364  		i = encodeVarintEvents(dAtA, i, uint64(m.AttestationType))
  1365  		i--
  1366  		dAtA[i] = 0x8
  1367  	}
  1368  	return len(dAtA) - i, nil
  1369  }
  1370  
  1371  func (m *EventBridgeWithdrawCanceled) Marshal() (dAtA []byte, err error) {
  1372  	size := m.Size()
  1373  	dAtA = make([]byte, size)
  1374  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1375  	if err != nil {
  1376  		return nil, err
  1377  	}
  1378  	return dAtA[:n], nil
  1379  }
  1380  
  1381  func (m *EventBridgeWithdrawCanceled) MarshalTo(dAtA []byte) (int, error) {
  1382  	size := m.Size()
  1383  	return m.MarshalToSizedBuffer(dAtA[:size])
  1384  }
  1385  
  1386  func (m *EventBridgeWithdrawCanceled) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1387  	i := len(dAtA)
  1388  	_ = i
  1389  	var l int
  1390  	_ = l
  1391  	if m.BridgeChainId != 0 {
  1392  		i = encodeVarintEvents(dAtA, i, uint64(m.BridgeChainId))
  1393  		i--
  1394  		dAtA[i] = 0x10
  1395  	}
  1396  	if len(m.BridgeContract) > 0 {
  1397  		i -= len(m.BridgeContract)
  1398  		copy(dAtA[i:], m.BridgeContract)
  1399  		i = encodeVarintEvents(dAtA, i, uint64(len(m.BridgeContract)))
  1400  		i--
  1401  		dAtA[i] = 0xa
  1402  	}
  1403  	return len(dAtA) - i, nil
  1404  }
  1405  
  1406  func (m *EventOutgoingBatch) Marshal() (dAtA []byte, err error) {
  1407  	size := m.Size()
  1408  	dAtA = make([]byte, size)
  1409  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1410  	if err != nil {
  1411  		return nil, err
  1412  	}
  1413  	return dAtA[:n], nil
  1414  }
  1415  
  1416  func (m *EventOutgoingBatch) MarshalTo(dAtA []byte) (int, error) {
  1417  	size := m.Size()
  1418  	return m.MarshalToSizedBuffer(dAtA[:size])
  1419  }
  1420  
  1421  func (m *EventOutgoingBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1422  	i := len(dAtA)
  1423  	_ = i
  1424  	var l int
  1425  	_ = l
  1426  	if len(m.BatchTxIds) > 0 {
  1427  		dAtA2 := make([]byte, len(m.BatchTxIds)*10)
  1428  		var j1 int
  1429  		for _, num := range m.BatchTxIds {
  1430  			for num >= 1<<7 {
  1431  				dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  1432  				num >>= 7
  1433  				j1++
  1434  			}
  1435  			dAtA2[j1] = uint8(num)
  1436  			j1++
  1437  		}
  1438  		i -= j1
  1439  		copy(dAtA[i:], dAtA2[:j1])
  1440  		i = encodeVarintEvents(dAtA, i, uint64(j1))
  1441  		i--
  1442  		dAtA[i] = 0x2a
  1443  	}
  1444  	if m.BatchTimeout != 0 {
  1445  		i = encodeVarintEvents(dAtA, i, uint64(m.BatchTimeout))
  1446  		i--
  1447  		dAtA[i] = 0x20
  1448  	}
  1449  	if m.BatchNonce != 0 {
  1450  		i = encodeVarintEvents(dAtA, i, uint64(m.BatchNonce))
  1451  		i--
  1452  		dAtA[i] = 0x18
  1453  	}
  1454  	if len(m.OrchestratorAddress) > 0 {
  1455  		i -= len(m.OrchestratorAddress)
  1456  		copy(dAtA[i:], m.OrchestratorAddress)
  1457  		i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress)))
  1458  		i--
  1459  		dAtA[i] = 0x12
  1460  	}
  1461  	if len(m.Denom) > 0 {
  1462  		i -= len(m.Denom)
  1463  		copy(dAtA[i:], m.Denom)
  1464  		i = encodeVarintEvents(dAtA, i, uint64(len(m.Denom)))
  1465  		i--
  1466  		dAtA[i] = 0xa
  1467  	}
  1468  	return len(dAtA) - i, nil
  1469  }
  1470  
  1471  func (m *EventOutgoingBatchCanceled) Marshal() (dAtA []byte, err error) {
  1472  	size := m.Size()
  1473  	dAtA = make([]byte, size)
  1474  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1475  	if err != nil {
  1476  		return nil, err
  1477  	}
  1478  	return dAtA[:n], nil
  1479  }
  1480  
  1481  func (m *EventOutgoingBatchCanceled) MarshalTo(dAtA []byte) (int, error) {
  1482  	size := m.Size()
  1483  	return m.MarshalToSizedBuffer(dAtA[:size])
  1484  }
  1485  
  1486  func (m *EventOutgoingBatchCanceled) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1487  	i := len(dAtA)
  1488  	_ = i
  1489  	var l int
  1490  	_ = l
  1491  	if m.Nonce != 0 {
  1492  		i = encodeVarintEvents(dAtA, i, uint64(m.Nonce))
  1493  		i--
  1494  		dAtA[i] = 0x20
  1495  	}
  1496  	if m.BatchId != 0 {
  1497  		i = encodeVarintEvents(dAtA, i, uint64(m.BatchId))
  1498  		i--
  1499  		dAtA[i] = 0x18
  1500  	}
  1501  	if m.BridgeChainId != 0 {
  1502  		i = encodeVarintEvents(dAtA, i, uint64(m.BridgeChainId))
  1503  		i--
  1504  		dAtA[i] = 0x10
  1505  	}
  1506  	if len(m.BridgeContract) > 0 {
  1507  		i -= len(m.BridgeContract)
  1508  		copy(dAtA[i:], m.BridgeContract)
  1509  		i = encodeVarintEvents(dAtA, i, uint64(len(m.BridgeContract)))
  1510  		i--
  1511  		dAtA[i] = 0xa
  1512  	}
  1513  	return len(dAtA) - i, nil
  1514  }
  1515  
  1516  func (m *EventValsetUpdateRequest) Marshal() (dAtA []byte, err error) {
  1517  	size := m.Size()
  1518  	dAtA = make([]byte, size)
  1519  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1520  	if err != nil {
  1521  		return nil, err
  1522  	}
  1523  	return dAtA[:n], nil
  1524  }
  1525  
  1526  func (m *EventValsetUpdateRequest) MarshalTo(dAtA []byte) (int, error) {
  1527  	size := m.Size()
  1528  	return m.MarshalToSizedBuffer(dAtA[:size])
  1529  }
  1530  
  1531  func (m *EventValsetUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1532  	i := len(dAtA)
  1533  	_ = i
  1534  	var l int
  1535  	_ = l
  1536  	if len(m.RewardToken) > 0 {
  1537  		i -= len(m.RewardToken)
  1538  		copy(dAtA[i:], m.RewardToken)
  1539  		i = encodeVarintEvents(dAtA, i, uint64(len(m.RewardToken)))
  1540  		i--
  1541  		dAtA[i] = 0x2a
  1542  	}
  1543  	{
  1544  		size := m.RewardAmount.Size()
  1545  		i -= size
  1546  		if _, err := m.RewardAmount.MarshalTo(dAtA[i:]); err != nil {
  1547  			return 0, err
  1548  		}
  1549  		i = encodeVarintEvents(dAtA, i, uint64(size))
  1550  	}
  1551  	i--
  1552  	dAtA[i] = 0x22
  1553  	if len(m.ValsetMembers) > 0 {
  1554  		for iNdEx := len(m.ValsetMembers) - 1; iNdEx >= 0; iNdEx-- {
  1555  			{
  1556  				size, err := m.ValsetMembers[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1557  				if err != nil {
  1558  					return 0, err
  1559  				}
  1560  				i -= size
  1561  				i = encodeVarintEvents(dAtA, i, uint64(size))
  1562  			}
  1563  			i--
  1564  			dAtA[i] = 0x1a
  1565  		}
  1566  	}
  1567  	if m.ValsetHeight != 0 {
  1568  		i = encodeVarintEvents(dAtA, i, uint64(m.ValsetHeight))
  1569  		i--
  1570  		dAtA[i] = 0x10
  1571  	}
  1572  	if m.ValsetNonce != 0 {
  1573  		i = encodeVarintEvents(dAtA, i, uint64(m.ValsetNonce))
  1574  		i--
  1575  		dAtA[i] = 0x8
  1576  	}
  1577  	return len(dAtA) - i, nil
  1578  }
  1579  
  1580  func (m *EventSetOrchestratorAddresses) Marshal() (dAtA []byte, err error) {
  1581  	size := m.Size()
  1582  	dAtA = make([]byte, size)
  1583  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1584  	if err != nil {
  1585  		return nil, err
  1586  	}
  1587  	return dAtA[:n], nil
  1588  }
  1589  
  1590  func (m *EventSetOrchestratorAddresses) MarshalTo(dAtA []byte) (int, error) {
  1591  	size := m.Size()
  1592  	return m.MarshalToSizedBuffer(dAtA[:size])
  1593  }
  1594  
  1595  func (m *EventSetOrchestratorAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1596  	i := len(dAtA)
  1597  	_ = i
  1598  	var l int
  1599  	_ = l
  1600  	if len(m.OperatorEthAddress) > 0 {
  1601  		i -= len(m.OperatorEthAddress)
  1602  		copy(dAtA[i:], m.OperatorEthAddress)
  1603  		i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorEthAddress)))
  1604  		i--
  1605  		dAtA[i] = 0x1a
  1606  	}
  1607  	if len(m.OrchestratorAddress) > 0 {
  1608  		i -= len(m.OrchestratorAddress)
  1609  		copy(dAtA[i:], m.OrchestratorAddress)
  1610  		i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress)))
  1611  		i--
  1612  		dAtA[i] = 0x12
  1613  	}
  1614  	if len(m.ValidatorAddress) > 0 {
  1615  		i -= len(m.ValidatorAddress)
  1616  		copy(dAtA[i:], m.ValidatorAddress)
  1617  		i = encodeVarintEvents(dAtA, i, uint64(len(m.ValidatorAddress)))
  1618  		i--
  1619  		dAtA[i] = 0xa
  1620  	}
  1621  	return len(dAtA) - i, nil
  1622  }
  1623  
  1624  func (m *EventValsetConfirm) Marshal() (dAtA []byte, err error) {
  1625  	size := m.Size()
  1626  	dAtA = make([]byte, size)
  1627  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1628  	if err != nil {
  1629  		return nil, err
  1630  	}
  1631  	return dAtA[:n], nil
  1632  }
  1633  
  1634  func (m *EventValsetConfirm) MarshalTo(dAtA []byte) (int, error) {
  1635  	size := m.Size()
  1636  	return m.MarshalToSizedBuffer(dAtA[:size])
  1637  }
  1638  
  1639  func (m *EventValsetConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1640  	i := len(dAtA)
  1641  	_ = i
  1642  	var l int
  1643  	_ = l
  1644  	if len(m.OrchestratorAddress) > 0 {
  1645  		i -= len(m.OrchestratorAddress)
  1646  		copy(dAtA[i:], m.OrchestratorAddress)
  1647  		i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress)))
  1648  		i--
  1649  		dAtA[i] = 0x12
  1650  	}
  1651  	if m.ValsetNonce != 0 {
  1652  		i = encodeVarintEvents(dAtA, i, uint64(m.ValsetNonce))
  1653  		i--
  1654  		dAtA[i] = 0x8
  1655  	}
  1656  	return len(dAtA) - i, nil
  1657  }
  1658  
  1659  func (m *EventSendToEth) Marshal() (dAtA []byte, err error) {
  1660  	size := m.Size()
  1661  	dAtA = make([]byte, size)
  1662  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1663  	if err != nil {
  1664  		return nil, err
  1665  	}
  1666  	return dAtA[:n], nil
  1667  }
  1668  
  1669  func (m *EventSendToEth) MarshalTo(dAtA []byte) (int, error) {
  1670  	size := m.Size()
  1671  	return m.MarshalToSizedBuffer(dAtA[:size])
  1672  }
  1673  
  1674  func (m *EventSendToEth) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1675  	i := len(dAtA)
  1676  	_ = i
  1677  	var l int
  1678  	_ = l
  1679  	{
  1680  		size := m.BridgeFee.Size()
  1681  		i -= size
  1682  		if _, err := m.BridgeFee.MarshalTo(dAtA[i:]); err != nil {
  1683  			return 0, err
  1684  		}
  1685  		i = encodeVarintEvents(dAtA, i, uint64(size))
  1686  	}
  1687  	i--
  1688  	dAtA[i] = 0x2a
  1689  	{
  1690  		size := m.Amount.Size()
  1691  		i -= size
  1692  		if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil {
  1693  			return 0, err
  1694  		}
  1695  		i = encodeVarintEvents(dAtA, i, uint64(size))
  1696  	}
  1697  	i--
  1698  	dAtA[i] = 0x22
  1699  	if len(m.Receiver) > 0 {
  1700  		i -= len(m.Receiver)
  1701  		copy(dAtA[i:], m.Receiver)
  1702  		i = encodeVarintEvents(dAtA, i, uint64(len(m.Receiver)))
  1703  		i--
  1704  		dAtA[i] = 0x1a
  1705  	}
  1706  	if len(m.Sender) > 0 {
  1707  		i -= len(m.Sender)
  1708  		copy(dAtA[i:], m.Sender)
  1709  		i = encodeVarintEvents(dAtA, i, uint64(len(m.Sender)))
  1710  		i--
  1711  		dAtA[i] = 0x12
  1712  	}
  1713  	if m.OutgoingTxId != 0 {
  1714  		i = encodeVarintEvents(dAtA, i, uint64(m.OutgoingTxId))
  1715  		i--
  1716  		dAtA[i] = 0x8
  1717  	}
  1718  	return len(dAtA) - i, nil
  1719  }
  1720  
  1721  func (m *EventConfirmBatch) Marshal() (dAtA []byte, err error) {
  1722  	size := m.Size()
  1723  	dAtA = make([]byte, size)
  1724  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1725  	if err != nil {
  1726  		return nil, err
  1727  	}
  1728  	return dAtA[:n], nil
  1729  }
  1730  
  1731  func (m *EventConfirmBatch) MarshalTo(dAtA []byte) (int, error) {
  1732  	size := m.Size()
  1733  	return m.MarshalToSizedBuffer(dAtA[:size])
  1734  }
  1735  
  1736  func (m *EventConfirmBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1737  	i := len(dAtA)
  1738  	_ = i
  1739  	var l int
  1740  	_ = l
  1741  	if len(m.OrchestratorAddress) > 0 {
  1742  		i -= len(m.OrchestratorAddress)
  1743  		copy(dAtA[i:], m.OrchestratorAddress)
  1744  		i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress)))
  1745  		i--
  1746  		dAtA[i] = 0x12
  1747  	}
  1748  	if m.BatchNonce != 0 {
  1749  		i = encodeVarintEvents(dAtA, i, uint64(m.BatchNonce))
  1750  		i--
  1751  		dAtA[i] = 0x8
  1752  	}
  1753  	return len(dAtA) - i, nil
  1754  }
  1755  
  1756  func (m *EventAttestationVote) Marshal() (dAtA []byte, err error) {
  1757  	size := m.Size()
  1758  	dAtA = make([]byte, size)
  1759  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1760  	if err != nil {
  1761  		return nil, err
  1762  	}
  1763  	return dAtA[:n], nil
  1764  }
  1765  
  1766  func (m *EventAttestationVote) MarshalTo(dAtA []byte) (int, error) {
  1767  	size := m.Size()
  1768  	return m.MarshalToSizedBuffer(dAtA[:size])
  1769  }
  1770  
  1771  func (m *EventAttestationVote) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1772  	i := len(dAtA)
  1773  	_ = i
  1774  	var l int
  1775  	_ = l
  1776  	if len(m.Voter) > 0 {
  1777  		i -= len(m.Voter)
  1778  		copy(dAtA[i:], m.Voter)
  1779  		i = encodeVarintEvents(dAtA, i, uint64(len(m.Voter)))
  1780  		i--
  1781  		dAtA[i] = 0x1a
  1782  	}
  1783  	if len(m.AttestationId) > 0 {
  1784  		i -= len(m.AttestationId)
  1785  		copy(dAtA[i:], m.AttestationId)
  1786  		i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId)))
  1787  		i--
  1788  		dAtA[i] = 0x12
  1789  	}
  1790  	if m.EventNonce != 0 {
  1791  		i = encodeVarintEvents(dAtA, i, uint64(m.EventNonce))
  1792  		i--
  1793  		dAtA[i] = 0x8
  1794  	}
  1795  	return len(dAtA) - i, nil
  1796  }
  1797  
  1798  func (m *EventDepositClaim) Marshal() (dAtA []byte, err error) {
  1799  	size := m.Size()
  1800  	dAtA = make([]byte, size)
  1801  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1802  	if err != nil {
  1803  		return nil, err
  1804  	}
  1805  	return dAtA[:n], nil
  1806  }
  1807  
  1808  func (m *EventDepositClaim) MarshalTo(dAtA []byte) (int, error) {
  1809  	size := m.Size()
  1810  	return m.MarshalToSizedBuffer(dAtA[:size])
  1811  }
  1812  
  1813  func (m *EventDepositClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1814  	i := len(dAtA)
  1815  	_ = i
  1816  	var l int
  1817  	_ = l
  1818  	if len(m.Data) > 0 {
  1819  		i -= len(m.Data)
  1820  		copy(dAtA[i:], m.Data)
  1821  		i = encodeVarintEvents(dAtA, i, uint64(len(m.Data)))
  1822  		i--
  1823  		dAtA[i] = 0x4a
  1824  	}
  1825  	if len(m.OrchestratorAddress) > 0 {
  1826  		i -= len(m.OrchestratorAddress)
  1827  		copy(dAtA[i:], m.OrchestratorAddress)
  1828  		i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress)))
  1829  		i--
  1830  		dAtA[i] = 0x42
  1831  	}
  1832  	{
  1833  		size := m.Amount.Size()
  1834  		i -= size
  1835  		if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil {
  1836  			return 0, err
  1837  		}
  1838  		i = encodeVarintEvents(dAtA, i, uint64(size))
  1839  	}
  1840  	i--
  1841  	dAtA[i] = 0x3a
  1842  	if len(m.TokenContract) > 0 {
  1843  		i -= len(m.TokenContract)
  1844  		copy(dAtA[i:], m.TokenContract)
  1845  		i = encodeVarintEvents(dAtA, i, uint64(len(m.TokenContract)))
  1846  		i--
  1847  		dAtA[i] = 0x32
  1848  	}
  1849  	if len(m.CosmosReceiver) > 0 {
  1850  		i -= len(m.CosmosReceiver)
  1851  		copy(dAtA[i:], m.CosmosReceiver)
  1852  		i = encodeVarintEvents(dAtA, i, uint64(len(m.CosmosReceiver)))
  1853  		i--
  1854  		dAtA[i] = 0x2a
  1855  	}
  1856  	if len(m.EthereumSender) > 0 {
  1857  		i -= len(m.EthereumSender)
  1858  		copy(dAtA[i:], m.EthereumSender)
  1859  		i = encodeVarintEvents(dAtA, i, uint64(len(m.EthereumSender)))
  1860  		i--
  1861  		dAtA[i] = 0x22
  1862  	}
  1863  	if len(m.AttestationId) > 0 {
  1864  		i -= len(m.AttestationId)
  1865  		copy(dAtA[i:], m.AttestationId)
  1866  		i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId)))
  1867  		i--
  1868  		dAtA[i] = 0x1a
  1869  	}
  1870  	if m.EventHeight != 0 {
  1871  		i = encodeVarintEvents(dAtA, i, uint64(m.EventHeight))
  1872  		i--
  1873  		dAtA[i] = 0x10
  1874  	}
  1875  	if m.EventNonce != 0 {
  1876  		i = encodeVarintEvents(dAtA, i, uint64(m.EventNonce))
  1877  		i--
  1878  		dAtA[i] = 0x8
  1879  	}
  1880  	return len(dAtA) - i, nil
  1881  }
  1882  
  1883  func (m *EventWithdrawClaim) Marshal() (dAtA []byte, err error) {
  1884  	size := m.Size()
  1885  	dAtA = make([]byte, size)
  1886  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1887  	if err != nil {
  1888  		return nil, err
  1889  	}
  1890  	return dAtA[:n], nil
  1891  }
  1892  
  1893  func (m *EventWithdrawClaim) MarshalTo(dAtA []byte) (int, error) {
  1894  	size := m.Size()
  1895  	return m.MarshalToSizedBuffer(dAtA[:size])
  1896  }
  1897  
  1898  func (m *EventWithdrawClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1899  	i := len(dAtA)
  1900  	_ = i
  1901  	var l int
  1902  	_ = l
  1903  	if len(m.OrchestratorAddress) > 0 {
  1904  		i -= len(m.OrchestratorAddress)
  1905  		copy(dAtA[i:], m.OrchestratorAddress)
  1906  		i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress)))
  1907  		i--
  1908  		dAtA[i] = 0x32
  1909  	}
  1910  	if len(m.TokenContract) > 0 {
  1911  		i -= len(m.TokenContract)
  1912  		copy(dAtA[i:], m.TokenContract)
  1913  		i = encodeVarintEvents(dAtA, i, uint64(len(m.TokenContract)))
  1914  		i--
  1915  		dAtA[i] = 0x2a
  1916  	}
  1917  	if m.BatchNonce != 0 {
  1918  		i = encodeVarintEvents(dAtA, i, uint64(m.BatchNonce))
  1919  		i--
  1920  		dAtA[i] = 0x20
  1921  	}
  1922  	if len(m.AttestationId) > 0 {
  1923  		i -= len(m.AttestationId)
  1924  		copy(dAtA[i:], m.AttestationId)
  1925  		i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId)))
  1926  		i--
  1927  		dAtA[i] = 0x1a
  1928  	}
  1929  	if m.EventHeight != 0 {
  1930  		i = encodeVarintEvents(dAtA, i, uint64(m.EventHeight))
  1931  		i--
  1932  		dAtA[i] = 0x10
  1933  	}
  1934  	if m.EventNonce != 0 {
  1935  		i = encodeVarintEvents(dAtA, i, uint64(m.EventNonce))
  1936  		i--
  1937  		dAtA[i] = 0x8
  1938  	}
  1939  	return len(dAtA) - i, nil
  1940  }
  1941  
  1942  func (m *EventERC20DeployedClaim) Marshal() (dAtA []byte, err error) {
  1943  	size := m.Size()
  1944  	dAtA = make([]byte, size)
  1945  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1946  	if err != nil {
  1947  		return nil, err
  1948  	}
  1949  	return dAtA[:n], nil
  1950  }
  1951  
  1952  func (m *EventERC20DeployedClaim) MarshalTo(dAtA []byte) (int, error) {
  1953  	size := m.Size()
  1954  	return m.MarshalToSizedBuffer(dAtA[:size])
  1955  }
  1956  
  1957  func (m *EventERC20DeployedClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1958  	i := len(dAtA)
  1959  	_ = i
  1960  	var l int
  1961  	_ = l
  1962  	if len(m.OrchestratorAddress) > 0 {
  1963  		i -= len(m.OrchestratorAddress)
  1964  		copy(dAtA[i:], m.OrchestratorAddress)
  1965  		i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress)))
  1966  		i--
  1967  		dAtA[i] = 0x4a
  1968  	}
  1969  	if m.Decimals != 0 {
  1970  		i = encodeVarintEvents(dAtA, i, uint64(m.Decimals))
  1971  		i--
  1972  		dAtA[i] = 0x40
  1973  	}
  1974  	if len(m.Symbol) > 0 {
  1975  		i -= len(m.Symbol)
  1976  		copy(dAtA[i:], m.Symbol)
  1977  		i = encodeVarintEvents(dAtA, i, uint64(len(m.Symbol)))
  1978  		i--
  1979  		dAtA[i] = 0x3a
  1980  	}
  1981  	if len(m.Name) > 0 {
  1982  		i -= len(m.Name)
  1983  		copy(dAtA[i:], m.Name)
  1984  		i = encodeVarintEvents(dAtA, i, uint64(len(m.Name)))
  1985  		i--
  1986  		dAtA[i] = 0x32
  1987  	}
  1988  	if len(m.TokenContract) > 0 {
  1989  		i -= len(m.TokenContract)
  1990  		copy(dAtA[i:], m.TokenContract)
  1991  		i = encodeVarintEvents(dAtA, i, uint64(len(m.TokenContract)))
  1992  		i--
  1993  		dAtA[i] = 0x2a
  1994  	}
  1995  	if len(m.CosmosDenom) > 0 {
  1996  		i -= len(m.CosmosDenom)
  1997  		copy(dAtA[i:], m.CosmosDenom)
  1998  		i = encodeVarintEvents(dAtA, i, uint64(len(m.CosmosDenom)))
  1999  		i--
  2000  		dAtA[i] = 0x22
  2001  	}
  2002  	if len(m.AttestationId) > 0 {
  2003  		i -= len(m.AttestationId)
  2004  		copy(dAtA[i:], m.AttestationId)
  2005  		i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId)))
  2006  		i--
  2007  		dAtA[i] = 0x1a
  2008  	}
  2009  	if m.EventHeight != 0 {
  2010  		i = encodeVarintEvents(dAtA, i, uint64(m.EventHeight))
  2011  		i--
  2012  		dAtA[i] = 0x10
  2013  	}
  2014  	if m.EventNonce != 0 {
  2015  		i = encodeVarintEvents(dAtA, i, uint64(m.EventNonce))
  2016  		i--
  2017  		dAtA[i] = 0x8
  2018  	}
  2019  	return len(dAtA) - i, nil
  2020  }
  2021  
  2022  func (m *EventValsetUpdateClaim) Marshal() (dAtA []byte, err error) {
  2023  	size := m.Size()
  2024  	dAtA = make([]byte, size)
  2025  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2026  	if err != nil {
  2027  		return nil, err
  2028  	}
  2029  	return dAtA[:n], nil
  2030  }
  2031  
  2032  func (m *EventValsetUpdateClaim) MarshalTo(dAtA []byte) (int, error) {
  2033  	size := m.Size()
  2034  	return m.MarshalToSizedBuffer(dAtA[:size])
  2035  }
  2036  
  2037  func (m *EventValsetUpdateClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2038  	i := len(dAtA)
  2039  	_ = i
  2040  	var l int
  2041  	_ = l
  2042  	if len(m.OrchestratorAddress) > 0 {
  2043  		i -= len(m.OrchestratorAddress)
  2044  		copy(dAtA[i:], m.OrchestratorAddress)
  2045  		i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress)))
  2046  		i--
  2047  		dAtA[i] = 0x42
  2048  	}
  2049  	if len(m.RewardToken) > 0 {
  2050  		i -= len(m.RewardToken)
  2051  		copy(dAtA[i:], m.RewardToken)
  2052  		i = encodeVarintEvents(dAtA, i, uint64(len(m.RewardToken)))
  2053  		i--
  2054  		dAtA[i] = 0x3a
  2055  	}
  2056  	{
  2057  		size := m.RewardAmount.Size()
  2058  		i -= size
  2059  		if _, err := m.RewardAmount.MarshalTo(dAtA[i:]); err != nil {
  2060  			return 0, err
  2061  		}
  2062  		i = encodeVarintEvents(dAtA, i, uint64(size))
  2063  	}
  2064  	i--
  2065  	dAtA[i] = 0x32
  2066  	if len(m.ValsetMembers) > 0 {
  2067  		for iNdEx := len(m.ValsetMembers) - 1; iNdEx >= 0; iNdEx-- {
  2068  			{
  2069  				size, err := m.ValsetMembers[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  2070  				if err != nil {
  2071  					return 0, err
  2072  				}
  2073  				i -= size
  2074  				i = encodeVarintEvents(dAtA, i, uint64(size))
  2075  			}
  2076  			i--
  2077  			dAtA[i] = 0x2a
  2078  		}
  2079  	}
  2080  	if m.ValsetNonce != 0 {
  2081  		i = encodeVarintEvents(dAtA, i, uint64(m.ValsetNonce))
  2082  		i--
  2083  		dAtA[i] = 0x20
  2084  	}
  2085  	if len(m.AttestationId) > 0 {
  2086  		i -= len(m.AttestationId)
  2087  		copy(dAtA[i:], m.AttestationId)
  2088  		i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId)))
  2089  		i--
  2090  		dAtA[i] = 0x1a
  2091  	}
  2092  	if m.EventHeight != 0 {
  2093  		i = encodeVarintEvents(dAtA, i, uint64(m.EventHeight))
  2094  		i--
  2095  		dAtA[i] = 0x10
  2096  	}
  2097  	if m.EventNonce != 0 {
  2098  		i = encodeVarintEvents(dAtA, i, uint64(m.EventNonce))
  2099  		i--
  2100  		dAtA[i] = 0x8
  2101  	}
  2102  	return len(dAtA) - i, nil
  2103  }
  2104  
  2105  func (m *EventCancelSendToEth) Marshal() (dAtA []byte, err error) {
  2106  	size := m.Size()
  2107  	dAtA = make([]byte, size)
  2108  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2109  	if err != nil {
  2110  		return nil, err
  2111  	}
  2112  	return dAtA[:n], nil
  2113  }
  2114  
  2115  func (m *EventCancelSendToEth) MarshalTo(dAtA []byte) (int, error) {
  2116  	size := m.Size()
  2117  	return m.MarshalToSizedBuffer(dAtA[:size])
  2118  }
  2119  
  2120  func (m *EventCancelSendToEth) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2121  	i := len(dAtA)
  2122  	_ = i
  2123  	var l int
  2124  	_ = l
  2125  	if m.OutgoingTxId != 0 {
  2126  		i = encodeVarintEvents(dAtA, i, uint64(m.OutgoingTxId))
  2127  		i--
  2128  		dAtA[i] = 0x8
  2129  	}
  2130  	return len(dAtA) - i, nil
  2131  }
  2132  
  2133  func (m *EventSubmitBadSignatureEvidence) Marshal() (dAtA []byte, err error) {
  2134  	size := m.Size()
  2135  	dAtA = make([]byte, size)
  2136  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2137  	if err != nil {
  2138  		return nil, err
  2139  	}
  2140  	return dAtA[:n], nil
  2141  }
  2142  
  2143  func (m *EventSubmitBadSignatureEvidence) MarshalTo(dAtA []byte) (int, error) {
  2144  	size := m.Size()
  2145  	return m.MarshalToSizedBuffer(dAtA[:size])
  2146  }
  2147  
  2148  func (m *EventSubmitBadSignatureEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2149  	i := len(dAtA)
  2150  	_ = i
  2151  	var l int
  2152  	_ = l
  2153  	if len(m.BadEthSignatureSubject) > 0 {
  2154  		i -= len(m.BadEthSignatureSubject)
  2155  		copy(dAtA[i:], m.BadEthSignatureSubject)
  2156  		i = encodeVarintEvents(dAtA, i, uint64(len(m.BadEthSignatureSubject)))
  2157  		i--
  2158  		dAtA[i] = 0x12
  2159  	}
  2160  	if len(m.BadEthSignature) > 0 {
  2161  		i -= len(m.BadEthSignature)
  2162  		copy(dAtA[i:], m.BadEthSignature)
  2163  		i = encodeVarintEvents(dAtA, i, uint64(len(m.BadEthSignature)))
  2164  		i--
  2165  		dAtA[i] = 0xa
  2166  	}
  2167  	return len(dAtA) - i, nil
  2168  }
  2169  
  2170  func (m *EventValidatorSlash) Marshal() (dAtA []byte, err error) {
  2171  	size := m.Size()
  2172  	dAtA = make([]byte, size)
  2173  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2174  	if err != nil {
  2175  		return nil, err
  2176  	}
  2177  	return dAtA[:n], nil
  2178  }
  2179  
  2180  func (m *EventValidatorSlash) MarshalTo(dAtA []byte) (int, error) {
  2181  	size := m.Size()
  2182  	return m.MarshalToSizedBuffer(dAtA[:size])
  2183  }
  2184  
  2185  func (m *EventValidatorSlash) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2186  	i := len(dAtA)
  2187  	_ = i
  2188  	var l int
  2189  	_ = l
  2190  	if len(m.Moniker) > 0 {
  2191  		i -= len(m.Moniker)
  2192  		copy(dAtA[i:], m.Moniker)
  2193  		i = encodeVarintEvents(dAtA, i, uint64(len(m.Moniker)))
  2194  		i--
  2195  		dAtA[i] = 0x2a
  2196  	}
  2197  	if len(m.OperatorAddress) > 0 {
  2198  		i -= len(m.OperatorAddress)
  2199  		copy(dAtA[i:], m.OperatorAddress)
  2200  		i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorAddress)))
  2201  		i--
  2202  		dAtA[i] = 0x22
  2203  	}
  2204  	if len(m.ConsensusAddress) > 0 {
  2205  		i -= len(m.ConsensusAddress)
  2206  		copy(dAtA[i:], m.ConsensusAddress)
  2207  		i = encodeVarintEvents(dAtA, i, uint64(len(m.ConsensusAddress)))
  2208  		i--
  2209  		dAtA[i] = 0x1a
  2210  	}
  2211  	if len(m.Reason) > 0 {
  2212  		i -= len(m.Reason)
  2213  		copy(dAtA[i:], m.Reason)
  2214  		i = encodeVarintEvents(dAtA, i, uint64(len(m.Reason)))
  2215  		i--
  2216  		dAtA[i] = 0x12
  2217  	}
  2218  	if m.Power != 0 {
  2219  		i = encodeVarintEvents(dAtA, i, uint64(m.Power))
  2220  		i--
  2221  		dAtA[i] = 0x8
  2222  	}
  2223  	return len(dAtA) - i, nil
  2224  }
  2225  
  2226  func encodeVarintEvents(dAtA []byte, offset int, v uint64) int {
  2227  	offset -= sovEvents(v)
  2228  	base := offset
  2229  	for v >= 1<<7 {
  2230  		dAtA[offset] = uint8(v&0x7f | 0x80)
  2231  		v >>= 7
  2232  		offset++
  2233  	}
  2234  	dAtA[offset] = uint8(v)
  2235  	return base
  2236  }
  2237  func (m *EventAttestationObserved) Size() (n int) {
  2238  	if m == nil {
  2239  		return 0
  2240  	}
  2241  	var l int
  2242  	_ = l
  2243  	if m.AttestationType != 0 {
  2244  		n += 1 + sovEvents(uint64(m.AttestationType))
  2245  	}
  2246  	l = len(m.BridgeContract)
  2247  	if l > 0 {
  2248  		n += 1 + l + sovEvents(uint64(l))
  2249  	}
  2250  	if m.BridgeChainId != 0 {
  2251  		n += 1 + sovEvents(uint64(m.BridgeChainId))
  2252  	}
  2253  	l = len(m.AttestationId)
  2254  	if l > 0 {
  2255  		n += 1 + l + sovEvents(uint64(l))
  2256  	}
  2257  	if m.Nonce != 0 {
  2258  		n += 1 + sovEvents(uint64(m.Nonce))
  2259  	}
  2260  	return n
  2261  }
  2262  
  2263  func (m *EventBridgeWithdrawCanceled) Size() (n int) {
  2264  	if m == nil {
  2265  		return 0
  2266  	}
  2267  	var l int
  2268  	_ = l
  2269  	l = len(m.BridgeContract)
  2270  	if l > 0 {
  2271  		n += 1 + l + sovEvents(uint64(l))
  2272  	}
  2273  	if m.BridgeChainId != 0 {
  2274  		n += 1 + sovEvents(uint64(m.BridgeChainId))
  2275  	}
  2276  	return n
  2277  }
  2278  
  2279  func (m *EventOutgoingBatch) Size() (n int) {
  2280  	if m == nil {
  2281  		return 0
  2282  	}
  2283  	var l int
  2284  	_ = l
  2285  	l = len(m.Denom)
  2286  	if l > 0 {
  2287  		n += 1 + l + sovEvents(uint64(l))
  2288  	}
  2289  	l = len(m.OrchestratorAddress)
  2290  	if l > 0 {
  2291  		n += 1 + l + sovEvents(uint64(l))
  2292  	}
  2293  	if m.BatchNonce != 0 {
  2294  		n += 1 + sovEvents(uint64(m.BatchNonce))
  2295  	}
  2296  	if m.BatchTimeout != 0 {
  2297  		n += 1 + sovEvents(uint64(m.BatchTimeout))
  2298  	}
  2299  	if len(m.BatchTxIds) > 0 {
  2300  		l = 0
  2301  		for _, e := range m.BatchTxIds {
  2302  			l += sovEvents(uint64(e))
  2303  		}
  2304  		n += 1 + sovEvents(uint64(l)) + l
  2305  	}
  2306  	return n
  2307  }
  2308  
  2309  func (m *EventOutgoingBatchCanceled) Size() (n int) {
  2310  	if m == nil {
  2311  		return 0
  2312  	}
  2313  	var l int
  2314  	_ = l
  2315  	l = len(m.BridgeContract)
  2316  	if l > 0 {
  2317  		n += 1 + l + sovEvents(uint64(l))
  2318  	}
  2319  	if m.BridgeChainId != 0 {
  2320  		n += 1 + sovEvents(uint64(m.BridgeChainId))
  2321  	}
  2322  	if m.BatchId != 0 {
  2323  		n += 1 + sovEvents(uint64(m.BatchId))
  2324  	}
  2325  	if m.Nonce != 0 {
  2326  		n += 1 + sovEvents(uint64(m.Nonce))
  2327  	}
  2328  	return n
  2329  }
  2330  
  2331  func (m *EventValsetUpdateRequest) Size() (n int) {
  2332  	if m == nil {
  2333  		return 0
  2334  	}
  2335  	var l int
  2336  	_ = l
  2337  	if m.ValsetNonce != 0 {
  2338  		n += 1 + sovEvents(uint64(m.ValsetNonce))
  2339  	}
  2340  	if m.ValsetHeight != 0 {
  2341  		n += 1 + sovEvents(uint64(m.ValsetHeight))
  2342  	}
  2343  	if len(m.ValsetMembers) > 0 {
  2344  		for _, e := range m.ValsetMembers {
  2345  			l = e.Size()
  2346  			n += 1 + l + sovEvents(uint64(l))
  2347  		}
  2348  	}
  2349  	l = m.RewardAmount.Size()
  2350  	n += 1 + l + sovEvents(uint64(l))
  2351  	l = len(m.RewardToken)
  2352  	if l > 0 {
  2353  		n += 1 + l + sovEvents(uint64(l))
  2354  	}
  2355  	return n
  2356  }
  2357  
  2358  func (m *EventSetOrchestratorAddresses) Size() (n int) {
  2359  	if m == nil {
  2360  		return 0
  2361  	}
  2362  	var l int
  2363  	_ = l
  2364  	l = len(m.ValidatorAddress)
  2365  	if l > 0 {
  2366  		n += 1 + l + sovEvents(uint64(l))
  2367  	}
  2368  	l = len(m.OrchestratorAddress)
  2369  	if l > 0 {
  2370  		n += 1 + l + sovEvents(uint64(l))
  2371  	}
  2372  	l = len(m.OperatorEthAddress)
  2373  	if l > 0 {
  2374  		n += 1 + l + sovEvents(uint64(l))
  2375  	}
  2376  	return n
  2377  }
  2378  
  2379  func (m *EventValsetConfirm) Size() (n int) {
  2380  	if m == nil {
  2381  		return 0
  2382  	}
  2383  	var l int
  2384  	_ = l
  2385  	if m.ValsetNonce != 0 {
  2386  		n += 1 + sovEvents(uint64(m.ValsetNonce))
  2387  	}
  2388  	l = len(m.OrchestratorAddress)
  2389  	if l > 0 {
  2390  		n += 1 + l + sovEvents(uint64(l))
  2391  	}
  2392  	return n
  2393  }
  2394  
  2395  func (m *EventSendToEth) Size() (n int) {
  2396  	if m == nil {
  2397  		return 0
  2398  	}
  2399  	var l int
  2400  	_ = l
  2401  	if m.OutgoingTxId != 0 {
  2402  		n += 1 + sovEvents(uint64(m.OutgoingTxId))
  2403  	}
  2404  	l = len(m.Sender)
  2405  	if l > 0 {
  2406  		n += 1 + l + sovEvents(uint64(l))
  2407  	}
  2408  	l = len(m.Receiver)
  2409  	if l > 0 {
  2410  		n += 1 + l + sovEvents(uint64(l))
  2411  	}
  2412  	l = m.Amount.Size()
  2413  	n += 1 + l + sovEvents(uint64(l))
  2414  	l = m.BridgeFee.Size()
  2415  	n += 1 + l + sovEvents(uint64(l))
  2416  	return n
  2417  }
  2418  
  2419  func (m *EventConfirmBatch) Size() (n int) {
  2420  	if m == nil {
  2421  		return 0
  2422  	}
  2423  	var l int
  2424  	_ = l
  2425  	if m.BatchNonce != 0 {
  2426  		n += 1 + sovEvents(uint64(m.BatchNonce))
  2427  	}
  2428  	l = len(m.OrchestratorAddress)
  2429  	if l > 0 {
  2430  		n += 1 + l + sovEvents(uint64(l))
  2431  	}
  2432  	return n
  2433  }
  2434  
  2435  func (m *EventAttestationVote) Size() (n int) {
  2436  	if m == nil {
  2437  		return 0
  2438  	}
  2439  	var l int
  2440  	_ = l
  2441  	if m.EventNonce != 0 {
  2442  		n += 1 + sovEvents(uint64(m.EventNonce))
  2443  	}
  2444  	l = len(m.AttestationId)
  2445  	if l > 0 {
  2446  		n += 1 + l + sovEvents(uint64(l))
  2447  	}
  2448  	l = len(m.Voter)
  2449  	if l > 0 {
  2450  		n += 1 + l + sovEvents(uint64(l))
  2451  	}
  2452  	return n
  2453  }
  2454  
  2455  func (m *EventDepositClaim) Size() (n int) {
  2456  	if m == nil {
  2457  		return 0
  2458  	}
  2459  	var l int
  2460  	_ = l
  2461  	if m.EventNonce != 0 {
  2462  		n += 1 + sovEvents(uint64(m.EventNonce))
  2463  	}
  2464  	if m.EventHeight != 0 {
  2465  		n += 1 + sovEvents(uint64(m.EventHeight))
  2466  	}
  2467  	l = len(m.AttestationId)
  2468  	if l > 0 {
  2469  		n += 1 + l + sovEvents(uint64(l))
  2470  	}
  2471  	l = len(m.EthereumSender)
  2472  	if l > 0 {
  2473  		n += 1 + l + sovEvents(uint64(l))
  2474  	}
  2475  	l = len(m.CosmosReceiver)
  2476  	if l > 0 {
  2477  		n += 1 + l + sovEvents(uint64(l))
  2478  	}
  2479  	l = len(m.TokenContract)
  2480  	if l > 0 {
  2481  		n += 1 + l + sovEvents(uint64(l))
  2482  	}
  2483  	l = m.Amount.Size()
  2484  	n += 1 + l + sovEvents(uint64(l))
  2485  	l = len(m.OrchestratorAddress)
  2486  	if l > 0 {
  2487  		n += 1 + l + sovEvents(uint64(l))
  2488  	}
  2489  	l = len(m.Data)
  2490  	if l > 0 {
  2491  		n += 1 + l + sovEvents(uint64(l))
  2492  	}
  2493  	return n
  2494  }
  2495  
  2496  func (m *EventWithdrawClaim) Size() (n int) {
  2497  	if m == nil {
  2498  		return 0
  2499  	}
  2500  	var l int
  2501  	_ = l
  2502  	if m.EventNonce != 0 {
  2503  		n += 1 + sovEvents(uint64(m.EventNonce))
  2504  	}
  2505  	if m.EventHeight != 0 {
  2506  		n += 1 + sovEvents(uint64(m.EventHeight))
  2507  	}
  2508  	l = len(m.AttestationId)
  2509  	if l > 0 {
  2510  		n += 1 + l + sovEvents(uint64(l))
  2511  	}
  2512  	if m.BatchNonce != 0 {
  2513  		n += 1 + sovEvents(uint64(m.BatchNonce))
  2514  	}
  2515  	l = len(m.TokenContract)
  2516  	if l > 0 {
  2517  		n += 1 + l + sovEvents(uint64(l))
  2518  	}
  2519  	l = len(m.OrchestratorAddress)
  2520  	if l > 0 {
  2521  		n += 1 + l + sovEvents(uint64(l))
  2522  	}
  2523  	return n
  2524  }
  2525  
  2526  func (m *EventERC20DeployedClaim) Size() (n int) {
  2527  	if m == nil {
  2528  		return 0
  2529  	}
  2530  	var l int
  2531  	_ = l
  2532  	if m.EventNonce != 0 {
  2533  		n += 1 + sovEvents(uint64(m.EventNonce))
  2534  	}
  2535  	if m.EventHeight != 0 {
  2536  		n += 1 + sovEvents(uint64(m.EventHeight))
  2537  	}
  2538  	l = len(m.AttestationId)
  2539  	if l > 0 {
  2540  		n += 1 + l + sovEvents(uint64(l))
  2541  	}
  2542  	l = len(m.CosmosDenom)
  2543  	if l > 0 {
  2544  		n += 1 + l + sovEvents(uint64(l))
  2545  	}
  2546  	l = len(m.TokenContract)
  2547  	if l > 0 {
  2548  		n += 1 + l + sovEvents(uint64(l))
  2549  	}
  2550  	l = len(m.Name)
  2551  	if l > 0 {
  2552  		n += 1 + l + sovEvents(uint64(l))
  2553  	}
  2554  	l = len(m.Symbol)
  2555  	if l > 0 {
  2556  		n += 1 + l + sovEvents(uint64(l))
  2557  	}
  2558  	if m.Decimals != 0 {
  2559  		n += 1 + sovEvents(uint64(m.Decimals))
  2560  	}
  2561  	l = len(m.OrchestratorAddress)
  2562  	if l > 0 {
  2563  		n += 1 + l + sovEvents(uint64(l))
  2564  	}
  2565  	return n
  2566  }
  2567  
  2568  func (m *EventValsetUpdateClaim) Size() (n int) {
  2569  	if m == nil {
  2570  		return 0
  2571  	}
  2572  	var l int
  2573  	_ = l
  2574  	if m.EventNonce != 0 {
  2575  		n += 1 + sovEvents(uint64(m.EventNonce))
  2576  	}
  2577  	if m.EventHeight != 0 {
  2578  		n += 1 + sovEvents(uint64(m.EventHeight))
  2579  	}
  2580  	l = len(m.AttestationId)
  2581  	if l > 0 {
  2582  		n += 1 + l + sovEvents(uint64(l))
  2583  	}
  2584  	if m.ValsetNonce != 0 {
  2585  		n += 1 + sovEvents(uint64(m.ValsetNonce))
  2586  	}
  2587  	if len(m.ValsetMembers) > 0 {
  2588  		for _, e := range m.ValsetMembers {
  2589  			l = e.Size()
  2590  			n += 1 + l + sovEvents(uint64(l))
  2591  		}
  2592  	}
  2593  	l = m.RewardAmount.Size()
  2594  	n += 1 + l + sovEvents(uint64(l))
  2595  	l = len(m.RewardToken)
  2596  	if l > 0 {
  2597  		n += 1 + l + sovEvents(uint64(l))
  2598  	}
  2599  	l = len(m.OrchestratorAddress)
  2600  	if l > 0 {
  2601  		n += 1 + l + sovEvents(uint64(l))
  2602  	}
  2603  	return n
  2604  }
  2605  
  2606  func (m *EventCancelSendToEth) Size() (n int) {
  2607  	if m == nil {
  2608  		return 0
  2609  	}
  2610  	var l int
  2611  	_ = l
  2612  	if m.OutgoingTxId != 0 {
  2613  		n += 1 + sovEvents(uint64(m.OutgoingTxId))
  2614  	}
  2615  	return n
  2616  }
  2617  
  2618  func (m *EventSubmitBadSignatureEvidence) Size() (n int) {
  2619  	if m == nil {
  2620  		return 0
  2621  	}
  2622  	var l int
  2623  	_ = l
  2624  	l = len(m.BadEthSignature)
  2625  	if l > 0 {
  2626  		n += 1 + l + sovEvents(uint64(l))
  2627  	}
  2628  	l = len(m.BadEthSignatureSubject)
  2629  	if l > 0 {
  2630  		n += 1 + l + sovEvents(uint64(l))
  2631  	}
  2632  	return n
  2633  }
  2634  
  2635  func (m *EventValidatorSlash) Size() (n int) {
  2636  	if m == nil {
  2637  		return 0
  2638  	}
  2639  	var l int
  2640  	_ = l
  2641  	if m.Power != 0 {
  2642  		n += 1 + sovEvents(uint64(m.Power))
  2643  	}
  2644  	l = len(m.Reason)
  2645  	if l > 0 {
  2646  		n += 1 + l + sovEvents(uint64(l))
  2647  	}
  2648  	l = len(m.ConsensusAddress)
  2649  	if l > 0 {
  2650  		n += 1 + l + sovEvents(uint64(l))
  2651  	}
  2652  	l = len(m.OperatorAddress)
  2653  	if l > 0 {
  2654  		n += 1 + l + sovEvents(uint64(l))
  2655  	}
  2656  	l = len(m.Moniker)
  2657  	if l > 0 {
  2658  		n += 1 + l + sovEvents(uint64(l))
  2659  	}
  2660  	return n
  2661  }
  2662  
  2663  func sovEvents(x uint64) (n int) {
  2664  	return (math_bits.Len64(x|1) + 6) / 7
  2665  }
  2666  func sozEvents(x uint64) (n int) {
  2667  	return sovEvents(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2668  }
  2669  func (m *EventAttestationObserved) Unmarshal(dAtA []byte) error {
  2670  	l := len(dAtA)
  2671  	iNdEx := 0
  2672  	for iNdEx < l {
  2673  		preIndex := iNdEx
  2674  		var wire uint64
  2675  		for shift := uint(0); ; shift += 7 {
  2676  			if shift >= 64 {
  2677  				return ErrIntOverflowEvents
  2678  			}
  2679  			if iNdEx >= l {
  2680  				return io.ErrUnexpectedEOF
  2681  			}
  2682  			b := dAtA[iNdEx]
  2683  			iNdEx++
  2684  			wire |= uint64(b&0x7F) << shift
  2685  			if b < 0x80 {
  2686  				break
  2687  			}
  2688  		}
  2689  		fieldNum := int32(wire >> 3)
  2690  		wireType := int(wire & 0x7)
  2691  		if wireType == 4 {
  2692  			return fmt.Errorf("proto: EventAttestationObserved: wiretype end group for non-group")
  2693  		}
  2694  		if fieldNum <= 0 {
  2695  			return fmt.Errorf("proto: EventAttestationObserved: illegal tag %d (wire type %d)", fieldNum, wire)
  2696  		}
  2697  		switch fieldNum {
  2698  		case 1:
  2699  			if wireType != 0 {
  2700  				return fmt.Errorf("proto: wrong wireType = %d for field AttestationType", wireType)
  2701  			}
  2702  			m.AttestationType = 0
  2703  			for shift := uint(0); ; shift += 7 {
  2704  				if shift >= 64 {
  2705  					return ErrIntOverflowEvents
  2706  				}
  2707  				if iNdEx >= l {
  2708  					return io.ErrUnexpectedEOF
  2709  				}
  2710  				b := dAtA[iNdEx]
  2711  				iNdEx++
  2712  				m.AttestationType |= ClaimType(b&0x7F) << shift
  2713  				if b < 0x80 {
  2714  					break
  2715  				}
  2716  			}
  2717  		case 2:
  2718  			if wireType != 2 {
  2719  				return fmt.Errorf("proto: wrong wireType = %d for field BridgeContract", wireType)
  2720  			}
  2721  			var stringLen uint64
  2722  			for shift := uint(0); ; shift += 7 {
  2723  				if shift >= 64 {
  2724  					return ErrIntOverflowEvents
  2725  				}
  2726  				if iNdEx >= l {
  2727  					return io.ErrUnexpectedEOF
  2728  				}
  2729  				b := dAtA[iNdEx]
  2730  				iNdEx++
  2731  				stringLen |= uint64(b&0x7F) << shift
  2732  				if b < 0x80 {
  2733  					break
  2734  				}
  2735  			}
  2736  			intStringLen := int(stringLen)
  2737  			if intStringLen < 0 {
  2738  				return ErrInvalidLengthEvents
  2739  			}
  2740  			postIndex := iNdEx + intStringLen
  2741  			if postIndex < 0 {
  2742  				return ErrInvalidLengthEvents
  2743  			}
  2744  			if postIndex > l {
  2745  				return io.ErrUnexpectedEOF
  2746  			}
  2747  			m.BridgeContract = string(dAtA[iNdEx:postIndex])
  2748  			iNdEx = postIndex
  2749  		case 3:
  2750  			if wireType != 0 {
  2751  				return fmt.Errorf("proto: wrong wireType = %d for field BridgeChainId", wireType)
  2752  			}
  2753  			m.BridgeChainId = 0
  2754  			for shift := uint(0); ; shift += 7 {
  2755  				if shift >= 64 {
  2756  					return ErrIntOverflowEvents
  2757  				}
  2758  				if iNdEx >= l {
  2759  					return io.ErrUnexpectedEOF
  2760  				}
  2761  				b := dAtA[iNdEx]
  2762  				iNdEx++
  2763  				m.BridgeChainId |= uint64(b&0x7F) << shift
  2764  				if b < 0x80 {
  2765  					break
  2766  				}
  2767  			}
  2768  		case 4:
  2769  			if wireType != 2 {
  2770  				return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType)
  2771  			}
  2772  			var byteLen int
  2773  			for shift := uint(0); ; shift += 7 {
  2774  				if shift >= 64 {
  2775  					return ErrIntOverflowEvents
  2776  				}
  2777  				if iNdEx >= l {
  2778  					return io.ErrUnexpectedEOF
  2779  				}
  2780  				b := dAtA[iNdEx]
  2781  				iNdEx++
  2782  				byteLen |= int(b&0x7F) << shift
  2783  				if b < 0x80 {
  2784  					break
  2785  				}
  2786  			}
  2787  			if byteLen < 0 {
  2788  				return ErrInvalidLengthEvents
  2789  			}
  2790  			postIndex := iNdEx + byteLen
  2791  			if postIndex < 0 {
  2792  				return ErrInvalidLengthEvents
  2793  			}
  2794  			if postIndex > l {
  2795  				return io.ErrUnexpectedEOF
  2796  			}
  2797  			m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...)
  2798  			if m.AttestationId == nil {
  2799  				m.AttestationId = []byte{}
  2800  			}
  2801  			iNdEx = postIndex
  2802  		case 5:
  2803  			if wireType != 0 {
  2804  				return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType)
  2805  			}
  2806  			m.Nonce = 0
  2807  			for shift := uint(0); ; shift += 7 {
  2808  				if shift >= 64 {
  2809  					return ErrIntOverflowEvents
  2810  				}
  2811  				if iNdEx >= l {
  2812  					return io.ErrUnexpectedEOF
  2813  				}
  2814  				b := dAtA[iNdEx]
  2815  				iNdEx++
  2816  				m.Nonce |= uint64(b&0x7F) << shift
  2817  				if b < 0x80 {
  2818  					break
  2819  				}
  2820  			}
  2821  		default:
  2822  			iNdEx = preIndex
  2823  			skippy, err := skipEvents(dAtA[iNdEx:])
  2824  			if err != nil {
  2825  				return err
  2826  			}
  2827  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2828  				return ErrInvalidLengthEvents
  2829  			}
  2830  			if (iNdEx + skippy) > l {
  2831  				return io.ErrUnexpectedEOF
  2832  			}
  2833  			iNdEx += skippy
  2834  		}
  2835  	}
  2836  
  2837  	if iNdEx > l {
  2838  		return io.ErrUnexpectedEOF
  2839  	}
  2840  	return nil
  2841  }
  2842  func (m *EventBridgeWithdrawCanceled) Unmarshal(dAtA []byte) error {
  2843  	l := len(dAtA)
  2844  	iNdEx := 0
  2845  	for iNdEx < l {
  2846  		preIndex := iNdEx
  2847  		var wire uint64
  2848  		for shift := uint(0); ; shift += 7 {
  2849  			if shift >= 64 {
  2850  				return ErrIntOverflowEvents
  2851  			}
  2852  			if iNdEx >= l {
  2853  				return io.ErrUnexpectedEOF
  2854  			}
  2855  			b := dAtA[iNdEx]
  2856  			iNdEx++
  2857  			wire |= uint64(b&0x7F) << shift
  2858  			if b < 0x80 {
  2859  				break
  2860  			}
  2861  		}
  2862  		fieldNum := int32(wire >> 3)
  2863  		wireType := int(wire & 0x7)
  2864  		if wireType == 4 {
  2865  			return fmt.Errorf("proto: EventBridgeWithdrawCanceled: wiretype end group for non-group")
  2866  		}
  2867  		if fieldNum <= 0 {
  2868  			return fmt.Errorf("proto: EventBridgeWithdrawCanceled: illegal tag %d (wire type %d)", fieldNum, wire)
  2869  		}
  2870  		switch fieldNum {
  2871  		case 1:
  2872  			if wireType != 2 {
  2873  				return fmt.Errorf("proto: wrong wireType = %d for field BridgeContract", wireType)
  2874  			}
  2875  			var stringLen uint64
  2876  			for shift := uint(0); ; shift += 7 {
  2877  				if shift >= 64 {
  2878  					return ErrIntOverflowEvents
  2879  				}
  2880  				if iNdEx >= l {
  2881  					return io.ErrUnexpectedEOF
  2882  				}
  2883  				b := dAtA[iNdEx]
  2884  				iNdEx++
  2885  				stringLen |= uint64(b&0x7F) << shift
  2886  				if b < 0x80 {
  2887  					break
  2888  				}
  2889  			}
  2890  			intStringLen := int(stringLen)
  2891  			if intStringLen < 0 {
  2892  				return ErrInvalidLengthEvents
  2893  			}
  2894  			postIndex := iNdEx + intStringLen
  2895  			if postIndex < 0 {
  2896  				return ErrInvalidLengthEvents
  2897  			}
  2898  			if postIndex > l {
  2899  				return io.ErrUnexpectedEOF
  2900  			}
  2901  			m.BridgeContract = string(dAtA[iNdEx:postIndex])
  2902  			iNdEx = postIndex
  2903  		case 2:
  2904  			if wireType != 0 {
  2905  				return fmt.Errorf("proto: wrong wireType = %d for field BridgeChainId", wireType)
  2906  			}
  2907  			m.BridgeChainId = 0
  2908  			for shift := uint(0); ; shift += 7 {
  2909  				if shift >= 64 {
  2910  					return ErrIntOverflowEvents
  2911  				}
  2912  				if iNdEx >= l {
  2913  					return io.ErrUnexpectedEOF
  2914  				}
  2915  				b := dAtA[iNdEx]
  2916  				iNdEx++
  2917  				m.BridgeChainId |= uint64(b&0x7F) << shift
  2918  				if b < 0x80 {
  2919  					break
  2920  				}
  2921  			}
  2922  		default:
  2923  			iNdEx = preIndex
  2924  			skippy, err := skipEvents(dAtA[iNdEx:])
  2925  			if err != nil {
  2926  				return err
  2927  			}
  2928  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2929  				return ErrInvalidLengthEvents
  2930  			}
  2931  			if (iNdEx + skippy) > l {
  2932  				return io.ErrUnexpectedEOF
  2933  			}
  2934  			iNdEx += skippy
  2935  		}
  2936  	}
  2937  
  2938  	if iNdEx > l {
  2939  		return io.ErrUnexpectedEOF
  2940  	}
  2941  	return nil
  2942  }
  2943  func (m *EventOutgoingBatch) Unmarshal(dAtA []byte) error {
  2944  	l := len(dAtA)
  2945  	iNdEx := 0
  2946  	for iNdEx < l {
  2947  		preIndex := iNdEx
  2948  		var wire uint64
  2949  		for shift := uint(0); ; shift += 7 {
  2950  			if shift >= 64 {
  2951  				return ErrIntOverflowEvents
  2952  			}
  2953  			if iNdEx >= l {
  2954  				return io.ErrUnexpectedEOF
  2955  			}
  2956  			b := dAtA[iNdEx]
  2957  			iNdEx++
  2958  			wire |= uint64(b&0x7F) << shift
  2959  			if b < 0x80 {
  2960  				break
  2961  			}
  2962  		}
  2963  		fieldNum := int32(wire >> 3)
  2964  		wireType := int(wire & 0x7)
  2965  		if wireType == 4 {
  2966  			return fmt.Errorf("proto: EventOutgoingBatch: wiretype end group for non-group")
  2967  		}
  2968  		if fieldNum <= 0 {
  2969  			return fmt.Errorf("proto: EventOutgoingBatch: illegal tag %d (wire type %d)", fieldNum, wire)
  2970  		}
  2971  		switch fieldNum {
  2972  		case 1:
  2973  			if wireType != 2 {
  2974  				return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType)
  2975  			}
  2976  			var stringLen uint64
  2977  			for shift := uint(0); ; shift += 7 {
  2978  				if shift >= 64 {
  2979  					return ErrIntOverflowEvents
  2980  				}
  2981  				if iNdEx >= l {
  2982  					return io.ErrUnexpectedEOF
  2983  				}
  2984  				b := dAtA[iNdEx]
  2985  				iNdEx++
  2986  				stringLen |= uint64(b&0x7F) << shift
  2987  				if b < 0x80 {
  2988  					break
  2989  				}
  2990  			}
  2991  			intStringLen := int(stringLen)
  2992  			if intStringLen < 0 {
  2993  				return ErrInvalidLengthEvents
  2994  			}
  2995  			postIndex := iNdEx + intStringLen
  2996  			if postIndex < 0 {
  2997  				return ErrInvalidLengthEvents
  2998  			}
  2999  			if postIndex > l {
  3000  				return io.ErrUnexpectedEOF
  3001  			}
  3002  			m.Denom = string(dAtA[iNdEx:postIndex])
  3003  			iNdEx = postIndex
  3004  		case 2:
  3005  			if wireType != 2 {
  3006  				return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType)
  3007  			}
  3008  			var stringLen uint64
  3009  			for shift := uint(0); ; shift += 7 {
  3010  				if shift >= 64 {
  3011  					return ErrIntOverflowEvents
  3012  				}
  3013  				if iNdEx >= l {
  3014  					return io.ErrUnexpectedEOF
  3015  				}
  3016  				b := dAtA[iNdEx]
  3017  				iNdEx++
  3018  				stringLen |= uint64(b&0x7F) << shift
  3019  				if b < 0x80 {
  3020  					break
  3021  				}
  3022  			}
  3023  			intStringLen := int(stringLen)
  3024  			if intStringLen < 0 {
  3025  				return ErrInvalidLengthEvents
  3026  			}
  3027  			postIndex := iNdEx + intStringLen
  3028  			if postIndex < 0 {
  3029  				return ErrInvalidLengthEvents
  3030  			}
  3031  			if postIndex > l {
  3032  				return io.ErrUnexpectedEOF
  3033  			}
  3034  			m.OrchestratorAddress = string(dAtA[iNdEx:postIndex])
  3035  			iNdEx = postIndex
  3036  		case 3:
  3037  			if wireType != 0 {
  3038  				return fmt.Errorf("proto: wrong wireType = %d for field BatchNonce", wireType)
  3039  			}
  3040  			m.BatchNonce = 0
  3041  			for shift := uint(0); ; shift += 7 {
  3042  				if shift >= 64 {
  3043  					return ErrIntOverflowEvents
  3044  				}
  3045  				if iNdEx >= l {
  3046  					return io.ErrUnexpectedEOF
  3047  				}
  3048  				b := dAtA[iNdEx]
  3049  				iNdEx++
  3050  				m.BatchNonce |= uint64(b&0x7F) << shift
  3051  				if b < 0x80 {
  3052  					break
  3053  				}
  3054  			}
  3055  		case 4:
  3056  			if wireType != 0 {
  3057  				return fmt.Errorf("proto: wrong wireType = %d for field BatchTimeout", wireType)
  3058  			}
  3059  			m.BatchTimeout = 0
  3060  			for shift := uint(0); ; shift += 7 {
  3061  				if shift >= 64 {
  3062  					return ErrIntOverflowEvents
  3063  				}
  3064  				if iNdEx >= l {
  3065  					return io.ErrUnexpectedEOF
  3066  				}
  3067  				b := dAtA[iNdEx]
  3068  				iNdEx++
  3069  				m.BatchTimeout |= uint64(b&0x7F) << shift
  3070  				if b < 0x80 {
  3071  					break
  3072  				}
  3073  			}
  3074  		case 5:
  3075  			if wireType == 0 {
  3076  				var v uint64
  3077  				for shift := uint(0); ; shift += 7 {
  3078  					if shift >= 64 {
  3079  						return ErrIntOverflowEvents
  3080  					}
  3081  					if iNdEx >= l {
  3082  						return io.ErrUnexpectedEOF
  3083  					}
  3084  					b := dAtA[iNdEx]
  3085  					iNdEx++
  3086  					v |= uint64(b&0x7F) << shift
  3087  					if b < 0x80 {
  3088  						break
  3089  					}
  3090  				}
  3091  				m.BatchTxIds = append(m.BatchTxIds, v)
  3092  			} else if wireType == 2 {
  3093  				var packedLen int
  3094  				for shift := uint(0); ; shift += 7 {
  3095  					if shift >= 64 {
  3096  						return ErrIntOverflowEvents
  3097  					}
  3098  					if iNdEx >= l {
  3099  						return io.ErrUnexpectedEOF
  3100  					}
  3101  					b := dAtA[iNdEx]
  3102  					iNdEx++
  3103  					packedLen |= int(b&0x7F) << shift
  3104  					if b < 0x80 {
  3105  						break
  3106  					}
  3107  				}
  3108  				if packedLen < 0 {
  3109  					return ErrInvalidLengthEvents
  3110  				}
  3111  				postIndex := iNdEx + packedLen
  3112  				if postIndex < 0 {
  3113  					return ErrInvalidLengthEvents
  3114  				}
  3115  				if postIndex > l {
  3116  					return io.ErrUnexpectedEOF
  3117  				}
  3118  				var elementCount int
  3119  				var count int
  3120  				for _, integer := range dAtA[iNdEx:postIndex] {
  3121  					if integer < 128 {
  3122  						count++
  3123  					}
  3124  				}
  3125  				elementCount = count
  3126  				if elementCount != 0 && len(m.BatchTxIds) == 0 {
  3127  					m.BatchTxIds = make([]uint64, 0, elementCount)
  3128  				}
  3129  				for iNdEx < postIndex {
  3130  					var v uint64
  3131  					for shift := uint(0); ; shift += 7 {
  3132  						if shift >= 64 {
  3133  							return ErrIntOverflowEvents
  3134  						}
  3135  						if iNdEx >= l {
  3136  							return io.ErrUnexpectedEOF
  3137  						}
  3138  						b := dAtA[iNdEx]
  3139  						iNdEx++
  3140  						v |= uint64(b&0x7F) << shift
  3141  						if b < 0x80 {
  3142  							break
  3143  						}
  3144  					}
  3145  					m.BatchTxIds = append(m.BatchTxIds, v)
  3146  				}
  3147  			} else {
  3148  				return fmt.Errorf("proto: wrong wireType = %d for field BatchTxIds", wireType)
  3149  			}
  3150  		default:
  3151  			iNdEx = preIndex
  3152  			skippy, err := skipEvents(dAtA[iNdEx:])
  3153  			if err != nil {
  3154  				return err
  3155  			}
  3156  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3157  				return ErrInvalidLengthEvents
  3158  			}
  3159  			if (iNdEx + skippy) > l {
  3160  				return io.ErrUnexpectedEOF
  3161  			}
  3162  			iNdEx += skippy
  3163  		}
  3164  	}
  3165  
  3166  	if iNdEx > l {
  3167  		return io.ErrUnexpectedEOF
  3168  	}
  3169  	return nil
  3170  }
  3171  func (m *EventOutgoingBatchCanceled) Unmarshal(dAtA []byte) error {
  3172  	l := len(dAtA)
  3173  	iNdEx := 0
  3174  	for iNdEx < l {
  3175  		preIndex := iNdEx
  3176  		var wire uint64
  3177  		for shift := uint(0); ; shift += 7 {
  3178  			if shift >= 64 {
  3179  				return ErrIntOverflowEvents
  3180  			}
  3181  			if iNdEx >= l {
  3182  				return io.ErrUnexpectedEOF
  3183  			}
  3184  			b := dAtA[iNdEx]
  3185  			iNdEx++
  3186  			wire |= uint64(b&0x7F) << shift
  3187  			if b < 0x80 {
  3188  				break
  3189  			}
  3190  		}
  3191  		fieldNum := int32(wire >> 3)
  3192  		wireType := int(wire & 0x7)
  3193  		if wireType == 4 {
  3194  			return fmt.Errorf("proto: EventOutgoingBatchCanceled: wiretype end group for non-group")
  3195  		}
  3196  		if fieldNum <= 0 {
  3197  			return fmt.Errorf("proto: EventOutgoingBatchCanceled: illegal tag %d (wire type %d)", fieldNum, wire)
  3198  		}
  3199  		switch fieldNum {
  3200  		case 1:
  3201  			if wireType != 2 {
  3202  				return fmt.Errorf("proto: wrong wireType = %d for field BridgeContract", wireType)
  3203  			}
  3204  			var stringLen uint64
  3205  			for shift := uint(0); ; shift += 7 {
  3206  				if shift >= 64 {
  3207  					return ErrIntOverflowEvents
  3208  				}
  3209  				if iNdEx >= l {
  3210  					return io.ErrUnexpectedEOF
  3211  				}
  3212  				b := dAtA[iNdEx]
  3213  				iNdEx++
  3214  				stringLen |= uint64(b&0x7F) << shift
  3215  				if b < 0x80 {
  3216  					break
  3217  				}
  3218  			}
  3219  			intStringLen := int(stringLen)
  3220  			if intStringLen < 0 {
  3221  				return ErrInvalidLengthEvents
  3222  			}
  3223  			postIndex := iNdEx + intStringLen
  3224  			if postIndex < 0 {
  3225  				return ErrInvalidLengthEvents
  3226  			}
  3227  			if postIndex > l {
  3228  				return io.ErrUnexpectedEOF
  3229  			}
  3230  			m.BridgeContract = string(dAtA[iNdEx:postIndex])
  3231  			iNdEx = postIndex
  3232  		case 2:
  3233  			if wireType != 0 {
  3234  				return fmt.Errorf("proto: wrong wireType = %d for field BridgeChainId", wireType)
  3235  			}
  3236  			m.BridgeChainId = 0
  3237  			for shift := uint(0); ; shift += 7 {
  3238  				if shift >= 64 {
  3239  					return ErrIntOverflowEvents
  3240  				}
  3241  				if iNdEx >= l {
  3242  					return io.ErrUnexpectedEOF
  3243  				}
  3244  				b := dAtA[iNdEx]
  3245  				iNdEx++
  3246  				m.BridgeChainId |= uint64(b&0x7F) << shift
  3247  				if b < 0x80 {
  3248  					break
  3249  				}
  3250  			}
  3251  		case 3:
  3252  			if wireType != 0 {
  3253  				return fmt.Errorf("proto: wrong wireType = %d for field BatchId", wireType)
  3254  			}
  3255  			m.BatchId = 0
  3256  			for shift := uint(0); ; shift += 7 {
  3257  				if shift >= 64 {
  3258  					return ErrIntOverflowEvents
  3259  				}
  3260  				if iNdEx >= l {
  3261  					return io.ErrUnexpectedEOF
  3262  				}
  3263  				b := dAtA[iNdEx]
  3264  				iNdEx++
  3265  				m.BatchId |= uint64(b&0x7F) << shift
  3266  				if b < 0x80 {
  3267  					break
  3268  				}
  3269  			}
  3270  		case 4:
  3271  			if wireType != 0 {
  3272  				return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType)
  3273  			}
  3274  			m.Nonce = 0
  3275  			for shift := uint(0); ; shift += 7 {
  3276  				if shift >= 64 {
  3277  					return ErrIntOverflowEvents
  3278  				}
  3279  				if iNdEx >= l {
  3280  					return io.ErrUnexpectedEOF
  3281  				}
  3282  				b := dAtA[iNdEx]
  3283  				iNdEx++
  3284  				m.Nonce |= uint64(b&0x7F) << shift
  3285  				if b < 0x80 {
  3286  					break
  3287  				}
  3288  			}
  3289  		default:
  3290  			iNdEx = preIndex
  3291  			skippy, err := skipEvents(dAtA[iNdEx:])
  3292  			if err != nil {
  3293  				return err
  3294  			}
  3295  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3296  				return ErrInvalidLengthEvents
  3297  			}
  3298  			if (iNdEx + skippy) > l {
  3299  				return io.ErrUnexpectedEOF
  3300  			}
  3301  			iNdEx += skippy
  3302  		}
  3303  	}
  3304  
  3305  	if iNdEx > l {
  3306  		return io.ErrUnexpectedEOF
  3307  	}
  3308  	return nil
  3309  }
  3310  func (m *EventValsetUpdateRequest) Unmarshal(dAtA []byte) error {
  3311  	l := len(dAtA)
  3312  	iNdEx := 0
  3313  	for iNdEx < l {
  3314  		preIndex := iNdEx
  3315  		var wire uint64
  3316  		for shift := uint(0); ; shift += 7 {
  3317  			if shift >= 64 {
  3318  				return ErrIntOverflowEvents
  3319  			}
  3320  			if iNdEx >= l {
  3321  				return io.ErrUnexpectedEOF
  3322  			}
  3323  			b := dAtA[iNdEx]
  3324  			iNdEx++
  3325  			wire |= uint64(b&0x7F) << shift
  3326  			if b < 0x80 {
  3327  				break
  3328  			}
  3329  		}
  3330  		fieldNum := int32(wire >> 3)
  3331  		wireType := int(wire & 0x7)
  3332  		if wireType == 4 {
  3333  			return fmt.Errorf("proto: EventValsetUpdateRequest: wiretype end group for non-group")
  3334  		}
  3335  		if fieldNum <= 0 {
  3336  			return fmt.Errorf("proto: EventValsetUpdateRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  3337  		}
  3338  		switch fieldNum {
  3339  		case 1:
  3340  			if wireType != 0 {
  3341  				return fmt.Errorf("proto: wrong wireType = %d for field ValsetNonce", wireType)
  3342  			}
  3343  			m.ValsetNonce = 0
  3344  			for shift := uint(0); ; shift += 7 {
  3345  				if shift >= 64 {
  3346  					return ErrIntOverflowEvents
  3347  				}
  3348  				if iNdEx >= l {
  3349  					return io.ErrUnexpectedEOF
  3350  				}
  3351  				b := dAtA[iNdEx]
  3352  				iNdEx++
  3353  				m.ValsetNonce |= uint64(b&0x7F) << shift
  3354  				if b < 0x80 {
  3355  					break
  3356  				}
  3357  			}
  3358  		case 2:
  3359  			if wireType != 0 {
  3360  				return fmt.Errorf("proto: wrong wireType = %d for field ValsetHeight", wireType)
  3361  			}
  3362  			m.ValsetHeight = 0
  3363  			for shift := uint(0); ; shift += 7 {
  3364  				if shift >= 64 {
  3365  					return ErrIntOverflowEvents
  3366  				}
  3367  				if iNdEx >= l {
  3368  					return io.ErrUnexpectedEOF
  3369  				}
  3370  				b := dAtA[iNdEx]
  3371  				iNdEx++
  3372  				m.ValsetHeight |= uint64(b&0x7F) << shift
  3373  				if b < 0x80 {
  3374  					break
  3375  				}
  3376  			}
  3377  		case 3:
  3378  			if wireType != 2 {
  3379  				return fmt.Errorf("proto: wrong wireType = %d for field ValsetMembers", wireType)
  3380  			}
  3381  			var msglen int
  3382  			for shift := uint(0); ; shift += 7 {
  3383  				if shift >= 64 {
  3384  					return ErrIntOverflowEvents
  3385  				}
  3386  				if iNdEx >= l {
  3387  					return io.ErrUnexpectedEOF
  3388  				}
  3389  				b := dAtA[iNdEx]
  3390  				iNdEx++
  3391  				msglen |= int(b&0x7F) << shift
  3392  				if b < 0x80 {
  3393  					break
  3394  				}
  3395  			}
  3396  			if msglen < 0 {
  3397  				return ErrInvalidLengthEvents
  3398  			}
  3399  			postIndex := iNdEx + msglen
  3400  			if postIndex < 0 {
  3401  				return ErrInvalidLengthEvents
  3402  			}
  3403  			if postIndex > l {
  3404  				return io.ErrUnexpectedEOF
  3405  			}
  3406  			m.ValsetMembers = append(m.ValsetMembers, &BridgeValidator{})
  3407  			if err := m.ValsetMembers[len(m.ValsetMembers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3408  				return err
  3409  			}
  3410  			iNdEx = postIndex
  3411  		case 4:
  3412  			if wireType != 2 {
  3413  				return fmt.Errorf("proto: wrong wireType = %d for field RewardAmount", wireType)
  3414  			}
  3415  			var stringLen uint64
  3416  			for shift := uint(0); ; shift += 7 {
  3417  				if shift >= 64 {
  3418  					return ErrIntOverflowEvents
  3419  				}
  3420  				if iNdEx >= l {
  3421  					return io.ErrUnexpectedEOF
  3422  				}
  3423  				b := dAtA[iNdEx]
  3424  				iNdEx++
  3425  				stringLen |= uint64(b&0x7F) << shift
  3426  				if b < 0x80 {
  3427  					break
  3428  				}
  3429  			}
  3430  			intStringLen := int(stringLen)
  3431  			if intStringLen < 0 {
  3432  				return ErrInvalidLengthEvents
  3433  			}
  3434  			postIndex := iNdEx + intStringLen
  3435  			if postIndex < 0 {
  3436  				return ErrInvalidLengthEvents
  3437  			}
  3438  			if postIndex > l {
  3439  				return io.ErrUnexpectedEOF
  3440  			}
  3441  			if err := m.RewardAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3442  				return err
  3443  			}
  3444  			iNdEx = postIndex
  3445  		case 5:
  3446  			if wireType != 2 {
  3447  				return fmt.Errorf("proto: wrong wireType = %d for field RewardToken", wireType)
  3448  			}
  3449  			var stringLen uint64
  3450  			for shift := uint(0); ; shift += 7 {
  3451  				if shift >= 64 {
  3452  					return ErrIntOverflowEvents
  3453  				}
  3454  				if iNdEx >= l {
  3455  					return io.ErrUnexpectedEOF
  3456  				}
  3457  				b := dAtA[iNdEx]
  3458  				iNdEx++
  3459  				stringLen |= uint64(b&0x7F) << shift
  3460  				if b < 0x80 {
  3461  					break
  3462  				}
  3463  			}
  3464  			intStringLen := int(stringLen)
  3465  			if intStringLen < 0 {
  3466  				return ErrInvalidLengthEvents
  3467  			}
  3468  			postIndex := iNdEx + intStringLen
  3469  			if postIndex < 0 {
  3470  				return ErrInvalidLengthEvents
  3471  			}
  3472  			if postIndex > l {
  3473  				return io.ErrUnexpectedEOF
  3474  			}
  3475  			m.RewardToken = string(dAtA[iNdEx:postIndex])
  3476  			iNdEx = postIndex
  3477  		default:
  3478  			iNdEx = preIndex
  3479  			skippy, err := skipEvents(dAtA[iNdEx:])
  3480  			if err != nil {
  3481  				return err
  3482  			}
  3483  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3484  				return ErrInvalidLengthEvents
  3485  			}
  3486  			if (iNdEx + skippy) > l {
  3487  				return io.ErrUnexpectedEOF
  3488  			}
  3489  			iNdEx += skippy
  3490  		}
  3491  	}
  3492  
  3493  	if iNdEx > l {
  3494  		return io.ErrUnexpectedEOF
  3495  	}
  3496  	return nil
  3497  }
  3498  func (m *EventSetOrchestratorAddresses) Unmarshal(dAtA []byte) error {
  3499  	l := len(dAtA)
  3500  	iNdEx := 0
  3501  	for iNdEx < l {
  3502  		preIndex := iNdEx
  3503  		var wire uint64
  3504  		for shift := uint(0); ; shift += 7 {
  3505  			if shift >= 64 {
  3506  				return ErrIntOverflowEvents
  3507  			}
  3508  			if iNdEx >= l {
  3509  				return io.ErrUnexpectedEOF
  3510  			}
  3511  			b := dAtA[iNdEx]
  3512  			iNdEx++
  3513  			wire |= uint64(b&0x7F) << shift
  3514  			if b < 0x80 {
  3515  				break
  3516  			}
  3517  		}
  3518  		fieldNum := int32(wire >> 3)
  3519  		wireType := int(wire & 0x7)
  3520  		if wireType == 4 {
  3521  			return fmt.Errorf("proto: EventSetOrchestratorAddresses: wiretype end group for non-group")
  3522  		}
  3523  		if fieldNum <= 0 {
  3524  			return fmt.Errorf("proto: EventSetOrchestratorAddresses: illegal tag %d (wire type %d)", fieldNum, wire)
  3525  		}
  3526  		switch fieldNum {
  3527  		case 1:
  3528  			if wireType != 2 {
  3529  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType)
  3530  			}
  3531  			var stringLen uint64
  3532  			for shift := uint(0); ; shift += 7 {
  3533  				if shift >= 64 {
  3534  					return ErrIntOverflowEvents
  3535  				}
  3536  				if iNdEx >= l {
  3537  					return io.ErrUnexpectedEOF
  3538  				}
  3539  				b := dAtA[iNdEx]
  3540  				iNdEx++
  3541  				stringLen |= uint64(b&0x7F) << shift
  3542  				if b < 0x80 {
  3543  					break
  3544  				}
  3545  			}
  3546  			intStringLen := int(stringLen)
  3547  			if intStringLen < 0 {
  3548  				return ErrInvalidLengthEvents
  3549  			}
  3550  			postIndex := iNdEx + intStringLen
  3551  			if postIndex < 0 {
  3552  				return ErrInvalidLengthEvents
  3553  			}
  3554  			if postIndex > l {
  3555  				return io.ErrUnexpectedEOF
  3556  			}
  3557  			m.ValidatorAddress = string(dAtA[iNdEx:postIndex])
  3558  			iNdEx = postIndex
  3559  		case 2:
  3560  			if wireType != 2 {
  3561  				return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType)
  3562  			}
  3563  			var stringLen uint64
  3564  			for shift := uint(0); ; shift += 7 {
  3565  				if shift >= 64 {
  3566  					return ErrIntOverflowEvents
  3567  				}
  3568  				if iNdEx >= l {
  3569  					return io.ErrUnexpectedEOF
  3570  				}
  3571  				b := dAtA[iNdEx]
  3572  				iNdEx++
  3573  				stringLen |= uint64(b&0x7F) << shift
  3574  				if b < 0x80 {
  3575  					break
  3576  				}
  3577  			}
  3578  			intStringLen := int(stringLen)
  3579  			if intStringLen < 0 {
  3580  				return ErrInvalidLengthEvents
  3581  			}
  3582  			postIndex := iNdEx + intStringLen
  3583  			if postIndex < 0 {
  3584  				return ErrInvalidLengthEvents
  3585  			}
  3586  			if postIndex > l {
  3587  				return io.ErrUnexpectedEOF
  3588  			}
  3589  			m.OrchestratorAddress = string(dAtA[iNdEx:postIndex])
  3590  			iNdEx = postIndex
  3591  		case 3:
  3592  			if wireType != 2 {
  3593  				return fmt.Errorf("proto: wrong wireType = %d for field OperatorEthAddress", wireType)
  3594  			}
  3595  			var stringLen uint64
  3596  			for shift := uint(0); ; shift += 7 {
  3597  				if shift >= 64 {
  3598  					return ErrIntOverflowEvents
  3599  				}
  3600  				if iNdEx >= l {
  3601  					return io.ErrUnexpectedEOF
  3602  				}
  3603  				b := dAtA[iNdEx]
  3604  				iNdEx++
  3605  				stringLen |= uint64(b&0x7F) << shift
  3606  				if b < 0x80 {
  3607  					break
  3608  				}
  3609  			}
  3610  			intStringLen := int(stringLen)
  3611  			if intStringLen < 0 {
  3612  				return ErrInvalidLengthEvents
  3613  			}
  3614  			postIndex := iNdEx + intStringLen
  3615  			if postIndex < 0 {
  3616  				return ErrInvalidLengthEvents
  3617  			}
  3618  			if postIndex > l {
  3619  				return io.ErrUnexpectedEOF
  3620  			}
  3621  			m.OperatorEthAddress = string(dAtA[iNdEx:postIndex])
  3622  			iNdEx = postIndex
  3623  		default:
  3624  			iNdEx = preIndex
  3625  			skippy, err := skipEvents(dAtA[iNdEx:])
  3626  			if err != nil {
  3627  				return err
  3628  			}
  3629  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3630  				return ErrInvalidLengthEvents
  3631  			}
  3632  			if (iNdEx + skippy) > l {
  3633  				return io.ErrUnexpectedEOF
  3634  			}
  3635  			iNdEx += skippy
  3636  		}
  3637  	}
  3638  
  3639  	if iNdEx > l {
  3640  		return io.ErrUnexpectedEOF
  3641  	}
  3642  	return nil
  3643  }
  3644  func (m *EventValsetConfirm) Unmarshal(dAtA []byte) error {
  3645  	l := len(dAtA)
  3646  	iNdEx := 0
  3647  	for iNdEx < l {
  3648  		preIndex := iNdEx
  3649  		var wire uint64
  3650  		for shift := uint(0); ; shift += 7 {
  3651  			if shift >= 64 {
  3652  				return ErrIntOverflowEvents
  3653  			}
  3654  			if iNdEx >= l {
  3655  				return io.ErrUnexpectedEOF
  3656  			}
  3657  			b := dAtA[iNdEx]
  3658  			iNdEx++
  3659  			wire |= uint64(b&0x7F) << shift
  3660  			if b < 0x80 {
  3661  				break
  3662  			}
  3663  		}
  3664  		fieldNum := int32(wire >> 3)
  3665  		wireType := int(wire & 0x7)
  3666  		if wireType == 4 {
  3667  			return fmt.Errorf("proto: EventValsetConfirm: wiretype end group for non-group")
  3668  		}
  3669  		if fieldNum <= 0 {
  3670  			return fmt.Errorf("proto: EventValsetConfirm: illegal tag %d (wire type %d)", fieldNum, wire)
  3671  		}
  3672  		switch fieldNum {
  3673  		case 1:
  3674  			if wireType != 0 {
  3675  				return fmt.Errorf("proto: wrong wireType = %d for field ValsetNonce", wireType)
  3676  			}
  3677  			m.ValsetNonce = 0
  3678  			for shift := uint(0); ; shift += 7 {
  3679  				if shift >= 64 {
  3680  					return ErrIntOverflowEvents
  3681  				}
  3682  				if iNdEx >= l {
  3683  					return io.ErrUnexpectedEOF
  3684  				}
  3685  				b := dAtA[iNdEx]
  3686  				iNdEx++
  3687  				m.ValsetNonce |= uint64(b&0x7F) << shift
  3688  				if b < 0x80 {
  3689  					break
  3690  				}
  3691  			}
  3692  		case 2:
  3693  			if wireType != 2 {
  3694  				return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType)
  3695  			}
  3696  			var stringLen uint64
  3697  			for shift := uint(0); ; shift += 7 {
  3698  				if shift >= 64 {
  3699  					return ErrIntOverflowEvents
  3700  				}
  3701  				if iNdEx >= l {
  3702  					return io.ErrUnexpectedEOF
  3703  				}
  3704  				b := dAtA[iNdEx]
  3705  				iNdEx++
  3706  				stringLen |= uint64(b&0x7F) << shift
  3707  				if b < 0x80 {
  3708  					break
  3709  				}
  3710  			}
  3711  			intStringLen := int(stringLen)
  3712  			if intStringLen < 0 {
  3713  				return ErrInvalidLengthEvents
  3714  			}
  3715  			postIndex := iNdEx + intStringLen
  3716  			if postIndex < 0 {
  3717  				return ErrInvalidLengthEvents
  3718  			}
  3719  			if postIndex > l {
  3720  				return io.ErrUnexpectedEOF
  3721  			}
  3722  			m.OrchestratorAddress = string(dAtA[iNdEx:postIndex])
  3723  			iNdEx = postIndex
  3724  		default:
  3725  			iNdEx = preIndex
  3726  			skippy, err := skipEvents(dAtA[iNdEx:])
  3727  			if err != nil {
  3728  				return err
  3729  			}
  3730  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3731  				return ErrInvalidLengthEvents
  3732  			}
  3733  			if (iNdEx + skippy) > l {
  3734  				return io.ErrUnexpectedEOF
  3735  			}
  3736  			iNdEx += skippy
  3737  		}
  3738  	}
  3739  
  3740  	if iNdEx > l {
  3741  		return io.ErrUnexpectedEOF
  3742  	}
  3743  	return nil
  3744  }
  3745  func (m *EventSendToEth) Unmarshal(dAtA []byte) error {
  3746  	l := len(dAtA)
  3747  	iNdEx := 0
  3748  	for iNdEx < l {
  3749  		preIndex := iNdEx
  3750  		var wire uint64
  3751  		for shift := uint(0); ; shift += 7 {
  3752  			if shift >= 64 {
  3753  				return ErrIntOverflowEvents
  3754  			}
  3755  			if iNdEx >= l {
  3756  				return io.ErrUnexpectedEOF
  3757  			}
  3758  			b := dAtA[iNdEx]
  3759  			iNdEx++
  3760  			wire |= uint64(b&0x7F) << shift
  3761  			if b < 0x80 {
  3762  				break
  3763  			}
  3764  		}
  3765  		fieldNum := int32(wire >> 3)
  3766  		wireType := int(wire & 0x7)
  3767  		if wireType == 4 {
  3768  			return fmt.Errorf("proto: EventSendToEth: wiretype end group for non-group")
  3769  		}
  3770  		if fieldNum <= 0 {
  3771  			return fmt.Errorf("proto: EventSendToEth: illegal tag %d (wire type %d)", fieldNum, wire)
  3772  		}
  3773  		switch fieldNum {
  3774  		case 1:
  3775  			if wireType != 0 {
  3776  				return fmt.Errorf("proto: wrong wireType = %d for field OutgoingTxId", wireType)
  3777  			}
  3778  			m.OutgoingTxId = 0
  3779  			for shift := uint(0); ; shift += 7 {
  3780  				if shift >= 64 {
  3781  					return ErrIntOverflowEvents
  3782  				}
  3783  				if iNdEx >= l {
  3784  					return io.ErrUnexpectedEOF
  3785  				}
  3786  				b := dAtA[iNdEx]
  3787  				iNdEx++
  3788  				m.OutgoingTxId |= uint64(b&0x7F) << shift
  3789  				if b < 0x80 {
  3790  					break
  3791  				}
  3792  			}
  3793  		case 2:
  3794  			if wireType != 2 {
  3795  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
  3796  			}
  3797  			var stringLen uint64
  3798  			for shift := uint(0); ; shift += 7 {
  3799  				if shift >= 64 {
  3800  					return ErrIntOverflowEvents
  3801  				}
  3802  				if iNdEx >= l {
  3803  					return io.ErrUnexpectedEOF
  3804  				}
  3805  				b := dAtA[iNdEx]
  3806  				iNdEx++
  3807  				stringLen |= uint64(b&0x7F) << shift
  3808  				if b < 0x80 {
  3809  					break
  3810  				}
  3811  			}
  3812  			intStringLen := int(stringLen)
  3813  			if intStringLen < 0 {
  3814  				return ErrInvalidLengthEvents
  3815  			}
  3816  			postIndex := iNdEx + intStringLen
  3817  			if postIndex < 0 {
  3818  				return ErrInvalidLengthEvents
  3819  			}
  3820  			if postIndex > l {
  3821  				return io.ErrUnexpectedEOF
  3822  			}
  3823  			m.Sender = string(dAtA[iNdEx:postIndex])
  3824  			iNdEx = postIndex
  3825  		case 3:
  3826  			if wireType != 2 {
  3827  				return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType)
  3828  			}
  3829  			var stringLen uint64
  3830  			for shift := uint(0); ; shift += 7 {
  3831  				if shift >= 64 {
  3832  					return ErrIntOverflowEvents
  3833  				}
  3834  				if iNdEx >= l {
  3835  					return io.ErrUnexpectedEOF
  3836  				}
  3837  				b := dAtA[iNdEx]
  3838  				iNdEx++
  3839  				stringLen |= uint64(b&0x7F) << shift
  3840  				if b < 0x80 {
  3841  					break
  3842  				}
  3843  			}
  3844  			intStringLen := int(stringLen)
  3845  			if intStringLen < 0 {
  3846  				return ErrInvalidLengthEvents
  3847  			}
  3848  			postIndex := iNdEx + intStringLen
  3849  			if postIndex < 0 {
  3850  				return ErrInvalidLengthEvents
  3851  			}
  3852  			if postIndex > l {
  3853  				return io.ErrUnexpectedEOF
  3854  			}
  3855  			m.Receiver = string(dAtA[iNdEx:postIndex])
  3856  			iNdEx = postIndex
  3857  		case 4:
  3858  			if wireType != 2 {
  3859  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  3860  			}
  3861  			var stringLen uint64
  3862  			for shift := uint(0); ; shift += 7 {
  3863  				if shift >= 64 {
  3864  					return ErrIntOverflowEvents
  3865  				}
  3866  				if iNdEx >= l {
  3867  					return io.ErrUnexpectedEOF
  3868  				}
  3869  				b := dAtA[iNdEx]
  3870  				iNdEx++
  3871  				stringLen |= uint64(b&0x7F) << shift
  3872  				if b < 0x80 {
  3873  					break
  3874  				}
  3875  			}
  3876  			intStringLen := int(stringLen)
  3877  			if intStringLen < 0 {
  3878  				return ErrInvalidLengthEvents
  3879  			}
  3880  			postIndex := iNdEx + intStringLen
  3881  			if postIndex < 0 {
  3882  				return ErrInvalidLengthEvents
  3883  			}
  3884  			if postIndex > l {
  3885  				return io.ErrUnexpectedEOF
  3886  			}
  3887  			if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3888  				return err
  3889  			}
  3890  			iNdEx = postIndex
  3891  		case 5:
  3892  			if wireType != 2 {
  3893  				return fmt.Errorf("proto: wrong wireType = %d for field BridgeFee", wireType)
  3894  			}
  3895  			var stringLen uint64
  3896  			for shift := uint(0); ; shift += 7 {
  3897  				if shift >= 64 {
  3898  					return ErrIntOverflowEvents
  3899  				}
  3900  				if iNdEx >= l {
  3901  					return io.ErrUnexpectedEOF
  3902  				}
  3903  				b := dAtA[iNdEx]
  3904  				iNdEx++
  3905  				stringLen |= uint64(b&0x7F) << shift
  3906  				if b < 0x80 {
  3907  					break
  3908  				}
  3909  			}
  3910  			intStringLen := int(stringLen)
  3911  			if intStringLen < 0 {
  3912  				return ErrInvalidLengthEvents
  3913  			}
  3914  			postIndex := iNdEx + intStringLen
  3915  			if postIndex < 0 {
  3916  				return ErrInvalidLengthEvents
  3917  			}
  3918  			if postIndex > l {
  3919  				return io.ErrUnexpectedEOF
  3920  			}
  3921  			if err := m.BridgeFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3922  				return err
  3923  			}
  3924  			iNdEx = postIndex
  3925  		default:
  3926  			iNdEx = preIndex
  3927  			skippy, err := skipEvents(dAtA[iNdEx:])
  3928  			if err != nil {
  3929  				return err
  3930  			}
  3931  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  3932  				return ErrInvalidLengthEvents
  3933  			}
  3934  			if (iNdEx + skippy) > l {
  3935  				return io.ErrUnexpectedEOF
  3936  			}
  3937  			iNdEx += skippy
  3938  		}
  3939  	}
  3940  
  3941  	if iNdEx > l {
  3942  		return io.ErrUnexpectedEOF
  3943  	}
  3944  	return nil
  3945  }
  3946  func (m *EventConfirmBatch) Unmarshal(dAtA []byte) error {
  3947  	l := len(dAtA)
  3948  	iNdEx := 0
  3949  	for iNdEx < l {
  3950  		preIndex := iNdEx
  3951  		var wire uint64
  3952  		for shift := uint(0); ; shift += 7 {
  3953  			if shift >= 64 {
  3954  				return ErrIntOverflowEvents
  3955  			}
  3956  			if iNdEx >= l {
  3957  				return io.ErrUnexpectedEOF
  3958  			}
  3959  			b := dAtA[iNdEx]
  3960  			iNdEx++
  3961  			wire |= uint64(b&0x7F) << shift
  3962  			if b < 0x80 {
  3963  				break
  3964  			}
  3965  		}
  3966  		fieldNum := int32(wire >> 3)
  3967  		wireType := int(wire & 0x7)
  3968  		if wireType == 4 {
  3969  			return fmt.Errorf("proto: EventConfirmBatch: wiretype end group for non-group")
  3970  		}
  3971  		if fieldNum <= 0 {
  3972  			return fmt.Errorf("proto: EventConfirmBatch: illegal tag %d (wire type %d)", fieldNum, wire)
  3973  		}
  3974  		switch fieldNum {
  3975  		case 1:
  3976  			if wireType != 0 {
  3977  				return fmt.Errorf("proto: wrong wireType = %d for field BatchNonce", wireType)
  3978  			}
  3979  			m.BatchNonce = 0
  3980  			for shift := uint(0); ; shift += 7 {
  3981  				if shift >= 64 {
  3982  					return ErrIntOverflowEvents
  3983  				}
  3984  				if iNdEx >= l {
  3985  					return io.ErrUnexpectedEOF
  3986  				}
  3987  				b := dAtA[iNdEx]
  3988  				iNdEx++
  3989  				m.BatchNonce |= uint64(b&0x7F) << shift
  3990  				if b < 0x80 {
  3991  					break
  3992  				}
  3993  			}
  3994  		case 2:
  3995  			if wireType != 2 {
  3996  				return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType)
  3997  			}
  3998  			var stringLen uint64
  3999  			for shift := uint(0); ; shift += 7 {
  4000  				if shift >= 64 {
  4001  					return ErrIntOverflowEvents
  4002  				}
  4003  				if iNdEx >= l {
  4004  					return io.ErrUnexpectedEOF
  4005  				}
  4006  				b := dAtA[iNdEx]
  4007  				iNdEx++
  4008  				stringLen |= uint64(b&0x7F) << shift
  4009  				if b < 0x80 {
  4010  					break
  4011  				}
  4012  			}
  4013  			intStringLen := int(stringLen)
  4014  			if intStringLen < 0 {
  4015  				return ErrInvalidLengthEvents
  4016  			}
  4017  			postIndex := iNdEx + intStringLen
  4018  			if postIndex < 0 {
  4019  				return ErrInvalidLengthEvents
  4020  			}
  4021  			if postIndex > l {
  4022  				return io.ErrUnexpectedEOF
  4023  			}
  4024  			m.OrchestratorAddress = string(dAtA[iNdEx:postIndex])
  4025  			iNdEx = postIndex
  4026  		default:
  4027  			iNdEx = preIndex
  4028  			skippy, err := skipEvents(dAtA[iNdEx:])
  4029  			if err != nil {
  4030  				return err
  4031  			}
  4032  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4033  				return ErrInvalidLengthEvents
  4034  			}
  4035  			if (iNdEx + skippy) > l {
  4036  				return io.ErrUnexpectedEOF
  4037  			}
  4038  			iNdEx += skippy
  4039  		}
  4040  	}
  4041  
  4042  	if iNdEx > l {
  4043  		return io.ErrUnexpectedEOF
  4044  	}
  4045  	return nil
  4046  }
  4047  func (m *EventAttestationVote) Unmarshal(dAtA []byte) error {
  4048  	l := len(dAtA)
  4049  	iNdEx := 0
  4050  	for iNdEx < l {
  4051  		preIndex := iNdEx
  4052  		var wire uint64
  4053  		for shift := uint(0); ; shift += 7 {
  4054  			if shift >= 64 {
  4055  				return ErrIntOverflowEvents
  4056  			}
  4057  			if iNdEx >= l {
  4058  				return io.ErrUnexpectedEOF
  4059  			}
  4060  			b := dAtA[iNdEx]
  4061  			iNdEx++
  4062  			wire |= uint64(b&0x7F) << shift
  4063  			if b < 0x80 {
  4064  				break
  4065  			}
  4066  		}
  4067  		fieldNum := int32(wire >> 3)
  4068  		wireType := int(wire & 0x7)
  4069  		if wireType == 4 {
  4070  			return fmt.Errorf("proto: EventAttestationVote: wiretype end group for non-group")
  4071  		}
  4072  		if fieldNum <= 0 {
  4073  			return fmt.Errorf("proto: EventAttestationVote: illegal tag %d (wire type %d)", fieldNum, wire)
  4074  		}
  4075  		switch fieldNum {
  4076  		case 1:
  4077  			if wireType != 0 {
  4078  				return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType)
  4079  			}
  4080  			m.EventNonce = 0
  4081  			for shift := uint(0); ; shift += 7 {
  4082  				if shift >= 64 {
  4083  					return ErrIntOverflowEvents
  4084  				}
  4085  				if iNdEx >= l {
  4086  					return io.ErrUnexpectedEOF
  4087  				}
  4088  				b := dAtA[iNdEx]
  4089  				iNdEx++
  4090  				m.EventNonce |= uint64(b&0x7F) << shift
  4091  				if b < 0x80 {
  4092  					break
  4093  				}
  4094  			}
  4095  		case 2:
  4096  			if wireType != 2 {
  4097  				return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType)
  4098  			}
  4099  			var byteLen int
  4100  			for shift := uint(0); ; shift += 7 {
  4101  				if shift >= 64 {
  4102  					return ErrIntOverflowEvents
  4103  				}
  4104  				if iNdEx >= l {
  4105  					return io.ErrUnexpectedEOF
  4106  				}
  4107  				b := dAtA[iNdEx]
  4108  				iNdEx++
  4109  				byteLen |= int(b&0x7F) << shift
  4110  				if b < 0x80 {
  4111  					break
  4112  				}
  4113  			}
  4114  			if byteLen < 0 {
  4115  				return ErrInvalidLengthEvents
  4116  			}
  4117  			postIndex := iNdEx + byteLen
  4118  			if postIndex < 0 {
  4119  				return ErrInvalidLengthEvents
  4120  			}
  4121  			if postIndex > l {
  4122  				return io.ErrUnexpectedEOF
  4123  			}
  4124  			m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...)
  4125  			if m.AttestationId == nil {
  4126  				m.AttestationId = []byte{}
  4127  			}
  4128  			iNdEx = postIndex
  4129  		case 3:
  4130  			if wireType != 2 {
  4131  				return fmt.Errorf("proto: wrong wireType = %d for field Voter", wireType)
  4132  			}
  4133  			var stringLen uint64
  4134  			for shift := uint(0); ; shift += 7 {
  4135  				if shift >= 64 {
  4136  					return ErrIntOverflowEvents
  4137  				}
  4138  				if iNdEx >= l {
  4139  					return io.ErrUnexpectedEOF
  4140  				}
  4141  				b := dAtA[iNdEx]
  4142  				iNdEx++
  4143  				stringLen |= uint64(b&0x7F) << shift
  4144  				if b < 0x80 {
  4145  					break
  4146  				}
  4147  			}
  4148  			intStringLen := int(stringLen)
  4149  			if intStringLen < 0 {
  4150  				return ErrInvalidLengthEvents
  4151  			}
  4152  			postIndex := iNdEx + intStringLen
  4153  			if postIndex < 0 {
  4154  				return ErrInvalidLengthEvents
  4155  			}
  4156  			if postIndex > l {
  4157  				return io.ErrUnexpectedEOF
  4158  			}
  4159  			m.Voter = string(dAtA[iNdEx:postIndex])
  4160  			iNdEx = postIndex
  4161  		default:
  4162  			iNdEx = preIndex
  4163  			skippy, err := skipEvents(dAtA[iNdEx:])
  4164  			if err != nil {
  4165  				return err
  4166  			}
  4167  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4168  				return ErrInvalidLengthEvents
  4169  			}
  4170  			if (iNdEx + skippy) > l {
  4171  				return io.ErrUnexpectedEOF
  4172  			}
  4173  			iNdEx += skippy
  4174  		}
  4175  	}
  4176  
  4177  	if iNdEx > l {
  4178  		return io.ErrUnexpectedEOF
  4179  	}
  4180  	return nil
  4181  }
  4182  func (m *EventDepositClaim) Unmarshal(dAtA []byte) error {
  4183  	l := len(dAtA)
  4184  	iNdEx := 0
  4185  	for iNdEx < l {
  4186  		preIndex := iNdEx
  4187  		var wire uint64
  4188  		for shift := uint(0); ; shift += 7 {
  4189  			if shift >= 64 {
  4190  				return ErrIntOverflowEvents
  4191  			}
  4192  			if iNdEx >= l {
  4193  				return io.ErrUnexpectedEOF
  4194  			}
  4195  			b := dAtA[iNdEx]
  4196  			iNdEx++
  4197  			wire |= uint64(b&0x7F) << shift
  4198  			if b < 0x80 {
  4199  				break
  4200  			}
  4201  		}
  4202  		fieldNum := int32(wire >> 3)
  4203  		wireType := int(wire & 0x7)
  4204  		if wireType == 4 {
  4205  			return fmt.Errorf("proto: EventDepositClaim: wiretype end group for non-group")
  4206  		}
  4207  		if fieldNum <= 0 {
  4208  			return fmt.Errorf("proto: EventDepositClaim: illegal tag %d (wire type %d)", fieldNum, wire)
  4209  		}
  4210  		switch fieldNum {
  4211  		case 1:
  4212  			if wireType != 0 {
  4213  				return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType)
  4214  			}
  4215  			m.EventNonce = 0
  4216  			for shift := uint(0); ; shift += 7 {
  4217  				if shift >= 64 {
  4218  					return ErrIntOverflowEvents
  4219  				}
  4220  				if iNdEx >= l {
  4221  					return io.ErrUnexpectedEOF
  4222  				}
  4223  				b := dAtA[iNdEx]
  4224  				iNdEx++
  4225  				m.EventNonce |= uint64(b&0x7F) << shift
  4226  				if b < 0x80 {
  4227  					break
  4228  				}
  4229  			}
  4230  		case 2:
  4231  			if wireType != 0 {
  4232  				return fmt.Errorf("proto: wrong wireType = %d for field EventHeight", wireType)
  4233  			}
  4234  			m.EventHeight = 0
  4235  			for shift := uint(0); ; shift += 7 {
  4236  				if shift >= 64 {
  4237  					return ErrIntOverflowEvents
  4238  				}
  4239  				if iNdEx >= l {
  4240  					return io.ErrUnexpectedEOF
  4241  				}
  4242  				b := dAtA[iNdEx]
  4243  				iNdEx++
  4244  				m.EventHeight |= uint64(b&0x7F) << shift
  4245  				if b < 0x80 {
  4246  					break
  4247  				}
  4248  			}
  4249  		case 3:
  4250  			if wireType != 2 {
  4251  				return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType)
  4252  			}
  4253  			var byteLen int
  4254  			for shift := uint(0); ; shift += 7 {
  4255  				if shift >= 64 {
  4256  					return ErrIntOverflowEvents
  4257  				}
  4258  				if iNdEx >= l {
  4259  					return io.ErrUnexpectedEOF
  4260  				}
  4261  				b := dAtA[iNdEx]
  4262  				iNdEx++
  4263  				byteLen |= int(b&0x7F) << shift
  4264  				if b < 0x80 {
  4265  					break
  4266  				}
  4267  			}
  4268  			if byteLen < 0 {
  4269  				return ErrInvalidLengthEvents
  4270  			}
  4271  			postIndex := iNdEx + byteLen
  4272  			if postIndex < 0 {
  4273  				return ErrInvalidLengthEvents
  4274  			}
  4275  			if postIndex > l {
  4276  				return io.ErrUnexpectedEOF
  4277  			}
  4278  			m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...)
  4279  			if m.AttestationId == nil {
  4280  				m.AttestationId = []byte{}
  4281  			}
  4282  			iNdEx = postIndex
  4283  		case 4:
  4284  			if wireType != 2 {
  4285  				return fmt.Errorf("proto: wrong wireType = %d for field EthereumSender", wireType)
  4286  			}
  4287  			var stringLen uint64
  4288  			for shift := uint(0); ; shift += 7 {
  4289  				if shift >= 64 {
  4290  					return ErrIntOverflowEvents
  4291  				}
  4292  				if iNdEx >= l {
  4293  					return io.ErrUnexpectedEOF
  4294  				}
  4295  				b := dAtA[iNdEx]
  4296  				iNdEx++
  4297  				stringLen |= uint64(b&0x7F) << shift
  4298  				if b < 0x80 {
  4299  					break
  4300  				}
  4301  			}
  4302  			intStringLen := int(stringLen)
  4303  			if intStringLen < 0 {
  4304  				return ErrInvalidLengthEvents
  4305  			}
  4306  			postIndex := iNdEx + intStringLen
  4307  			if postIndex < 0 {
  4308  				return ErrInvalidLengthEvents
  4309  			}
  4310  			if postIndex > l {
  4311  				return io.ErrUnexpectedEOF
  4312  			}
  4313  			m.EthereumSender = string(dAtA[iNdEx:postIndex])
  4314  			iNdEx = postIndex
  4315  		case 5:
  4316  			if wireType != 2 {
  4317  				return fmt.Errorf("proto: wrong wireType = %d for field CosmosReceiver", wireType)
  4318  			}
  4319  			var stringLen uint64
  4320  			for shift := uint(0); ; shift += 7 {
  4321  				if shift >= 64 {
  4322  					return ErrIntOverflowEvents
  4323  				}
  4324  				if iNdEx >= l {
  4325  					return io.ErrUnexpectedEOF
  4326  				}
  4327  				b := dAtA[iNdEx]
  4328  				iNdEx++
  4329  				stringLen |= uint64(b&0x7F) << shift
  4330  				if b < 0x80 {
  4331  					break
  4332  				}
  4333  			}
  4334  			intStringLen := int(stringLen)
  4335  			if intStringLen < 0 {
  4336  				return ErrInvalidLengthEvents
  4337  			}
  4338  			postIndex := iNdEx + intStringLen
  4339  			if postIndex < 0 {
  4340  				return ErrInvalidLengthEvents
  4341  			}
  4342  			if postIndex > l {
  4343  				return io.ErrUnexpectedEOF
  4344  			}
  4345  			m.CosmosReceiver = string(dAtA[iNdEx:postIndex])
  4346  			iNdEx = postIndex
  4347  		case 6:
  4348  			if wireType != 2 {
  4349  				return fmt.Errorf("proto: wrong wireType = %d for field TokenContract", wireType)
  4350  			}
  4351  			var stringLen uint64
  4352  			for shift := uint(0); ; shift += 7 {
  4353  				if shift >= 64 {
  4354  					return ErrIntOverflowEvents
  4355  				}
  4356  				if iNdEx >= l {
  4357  					return io.ErrUnexpectedEOF
  4358  				}
  4359  				b := dAtA[iNdEx]
  4360  				iNdEx++
  4361  				stringLen |= uint64(b&0x7F) << shift
  4362  				if b < 0x80 {
  4363  					break
  4364  				}
  4365  			}
  4366  			intStringLen := int(stringLen)
  4367  			if intStringLen < 0 {
  4368  				return ErrInvalidLengthEvents
  4369  			}
  4370  			postIndex := iNdEx + intStringLen
  4371  			if postIndex < 0 {
  4372  				return ErrInvalidLengthEvents
  4373  			}
  4374  			if postIndex > l {
  4375  				return io.ErrUnexpectedEOF
  4376  			}
  4377  			m.TokenContract = string(dAtA[iNdEx:postIndex])
  4378  			iNdEx = postIndex
  4379  		case 7:
  4380  			if wireType != 2 {
  4381  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
  4382  			}
  4383  			var stringLen uint64
  4384  			for shift := uint(0); ; shift += 7 {
  4385  				if shift >= 64 {
  4386  					return ErrIntOverflowEvents
  4387  				}
  4388  				if iNdEx >= l {
  4389  					return io.ErrUnexpectedEOF
  4390  				}
  4391  				b := dAtA[iNdEx]
  4392  				iNdEx++
  4393  				stringLen |= uint64(b&0x7F) << shift
  4394  				if b < 0x80 {
  4395  					break
  4396  				}
  4397  			}
  4398  			intStringLen := int(stringLen)
  4399  			if intStringLen < 0 {
  4400  				return ErrInvalidLengthEvents
  4401  			}
  4402  			postIndex := iNdEx + intStringLen
  4403  			if postIndex < 0 {
  4404  				return ErrInvalidLengthEvents
  4405  			}
  4406  			if postIndex > l {
  4407  				return io.ErrUnexpectedEOF
  4408  			}
  4409  			if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4410  				return err
  4411  			}
  4412  			iNdEx = postIndex
  4413  		case 8:
  4414  			if wireType != 2 {
  4415  				return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType)
  4416  			}
  4417  			var stringLen uint64
  4418  			for shift := uint(0); ; shift += 7 {
  4419  				if shift >= 64 {
  4420  					return ErrIntOverflowEvents
  4421  				}
  4422  				if iNdEx >= l {
  4423  					return io.ErrUnexpectedEOF
  4424  				}
  4425  				b := dAtA[iNdEx]
  4426  				iNdEx++
  4427  				stringLen |= uint64(b&0x7F) << shift
  4428  				if b < 0x80 {
  4429  					break
  4430  				}
  4431  			}
  4432  			intStringLen := int(stringLen)
  4433  			if intStringLen < 0 {
  4434  				return ErrInvalidLengthEvents
  4435  			}
  4436  			postIndex := iNdEx + intStringLen
  4437  			if postIndex < 0 {
  4438  				return ErrInvalidLengthEvents
  4439  			}
  4440  			if postIndex > l {
  4441  				return io.ErrUnexpectedEOF
  4442  			}
  4443  			m.OrchestratorAddress = string(dAtA[iNdEx:postIndex])
  4444  			iNdEx = postIndex
  4445  		case 9:
  4446  			if wireType != 2 {
  4447  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  4448  			}
  4449  			var stringLen uint64
  4450  			for shift := uint(0); ; shift += 7 {
  4451  				if shift >= 64 {
  4452  					return ErrIntOverflowEvents
  4453  				}
  4454  				if iNdEx >= l {
  4455  					return io.ErrUnexpectedEOF
  4456  				}
  4457  				b := dAtA[iNdEx]
  4458  				iNdEx++
  4459  				stringLen |= uint64(b&0x7F) << shift
  4460  				if b < 0x80 {
  4461  					break
  4462  				}
  4463  			}
  4464  			intStringLen := int(stringLen)
  4465  			if intStringLen < 0 {
  4466  				return ErrInvalidLengthEvents
  4467  			}
  4468  			postIndex := iNdEx + intStringLen
  4469  			if postIndex < 0 {
  4470  				return ErrInvalidLengthEvents
  4471  			}
  4472  			if postIndex > l {
  4473  				return io.ErrUnexpectedEOF
  4474  			}
  4475  			m.Data = string(dAtA[iNdEx:postIndex])
  4476  			iNdEx = postIndex
  4477  		default:
  4478  			iNdEx = preIndex
  4479  			skippy, err := skipEvents(dAtA[iNdEx:])
  4480  			if err != nil {
  4481  				return err
  4482  			}
  4483  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4484  				return ErrInvalidLengthEvents
  4485  			}
  4486  			if (iNdEx + skippy) > l {
  4487  				return io.ErrUnexpectedEOF
  4488  			}
  4489  			iNdEx += skippy
  4490  		}
  4491  	}
  4492  
  4493  	if iNdEx > l {
  4494  		return io.ErrUnexpectedEOF
  4495  	}
  4496  	return nil
  4497  }
  4498  func (m *EventWithdrawClaim) Unmarshal(dAtA []byte) error {
  4499  	l := len(dAtA)
  4500  	iNdEx := 0
  4501  	for iNdEx < l {
  4502  		preIndex := iNdEx
  4503  		var wire uint64
  4504  		for shift := uint(0); ; shift += 7 {
  4505  			if shift >= 64 {
  4506  				return ErrIntOverflowEvents
  4507  			}
  4508  			if iNdEx >= l {
  4509  				return io.ErrUnexpectedEOF
  4510  			}
  4511  			b := dAtA[iNdEx]
  4512  			iNdEx++
  4513  			wire |= uint64(b&0x7F) << shift
  4514  			if b < 0x80 {
  4515  				break
  4516  			}
  4517  		}
  4518  		fieldNum := int32(wire >> 3)
  4519  		wireType := int(wire & 0x7)
  4520  		if wireType == 4 {
  4521  			return fmt.Errorf("proto: EventWithdrawClaim: wiretype end group for non-group")
  4522  		}
  4523  		if fieldNum <= 0 {
  4524  			return fmt.Errorf("proto: EventWithdrawClaim: illegal tag %d (wire type %d)", fieldNum, wire)
  4525  		}
  4526  		switch fieldNum {
  4527  		case 1:
  4528  			if wireType != 0 {
  4529  				return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType)
  4530  			}
  4531  			m.EventNonce = 0
  4532  			for shift := uint(0); ; shift += 7 {
  4533  				if shift >= 64 {
  4534  					return ErrIntOverflowEvents
  4535  				}
  4536  				if iNdEx >= l {
  4537  					return io.ErrUnexpectedEOF
  4538  				}
  4539  				b := dAtA[iNdEx]
  4540  				iNdEx++
  4541  				m.EventNonce |= uint64(b&0x7F) << shift
  4542  				if b < 0x80 {
  4543  					break
  4544  				}
  4545  			}
  4546  		case 2:
  4547  			if wireType != 0 {
  4548  				return fmt.Errorf("proto: wrong wireType = %d for field EventHeight", wireType)
  4549  			}
  4550  			m.EventHeight = 0
  4551  			for shift := uint(0); ; shift += 7 {
  4552  				if shift >= 64 {
  4553  					return ErrIntOverflowEvents
  4554  				}
  4555  				if iNdEx >= l {
  4556  					return io.ErrUnexpectedEOF
  4557  				}
  4558  				b := dAtA[iNdEx]
  4559  				iNdEx++
  4560  				m.EventHeight |= uint64(b&0x7F) << shift
  4561  				if b < 0x80 {
  4562  					break
  4563  				}
  4564  			}
  4565  		case 3:
  4566  			if wireType != 2 {
  4567  				return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType)
  4568  			}
  4569  			var byteLen int
  4570  			for shift := uint(0); ; shift += 7 {
  4571  				if shift >= 64 {
  4572  					return ErrIntOverflowEvents
  4573  				}
  4574  				if iNdEx >= l {
  4575  					return io.ErrUnexpectedEOF
  4576  				}
  4577  				b := dAtA[iNdEx]
  4578  				iNdEx++
  4579  				byteLen |= int(b&0x7F) << shift
  4580  				if b < 0x80 {
  4581  					break
  4582  				}
  4583  			}
  4584  			if byteLen < 0 {
  4585  				return ErrInvalidLengthEvents
  4586  			}
  4587  			postIndex := iNdEx + byteLen
  4588  			if postIndex < 0 {
  4589  				return ErrInvalidLengthEvents
  4590  			}
  4591  			if postIndex > l {
  4592  				return io.ErrUnexpectedEOF
  4593  			}
  4594  			m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...)
  4595  			if m.AttestationId == nil {
  4596  				m.AttestationId = []byte{}
  4597  			}
  4598  			iNdEx = postIndex
  4599  		case 4:
  4600  			if wireType != 0 {
  4601  				return fmt.Errorf("proto: wrong wireType = %d for field BatchNonce", wireType)
  4602  			}
  4603  			m.BatchNonce = 0
  4604  			for shift := uint(0); ; shift += 7 {
  4605  				if shift >= 64 {
  4606  					return ErrIntOverflowEvents
  4607  				}
  4608  				if iNdEx >= l {
  4609  					return io.ErrUnexpectedEOF
  4610  				}
  4611  				b := dAtA[iNdEx]
  4612  				iNdEx++
  4613  				m.BatchNonce |= uint64(b&0x7F) << shift
  4614  				if b < 0x80 {
  4615  					break
  4616  				}
  4617  			}
  4618  		case 5:
  4619  			if wireType != 2 {
  4620  				return fmt.Errorf("proto: wrong wireType = %d for field TokenContract", wireType)
  4621  			}
  4622  			var stringLen uint64
  4623  			for shift := uint(0); ; shift += 7 {
  4624  				if shift >= 64 {
  4625  					return ErrIntOverflowEvents
  4626  				}
  4627  				if iNdEx >= l {
  4628  					return io.ErrUnexpectedEOF
  4629  				}
  4630  				b := dAtA[iNdEx]
  4631  				iNdEx++
  4632  				stringLen |= uint64(b&0x7F) << shift
  4633  				if b < 0x80 {
  4634  					break
  4635  				}
  4636  			}
  4637  			intStringLen := int(stringLen)
  4638  			if intStringLen < 0 {
  4639  				return ErrInvalidLengthEvents
  4640  			}
  4641  			postIndex := iNdEx + intStringLen
  4642  			if postIndex < 0 {
  4643  				return ErrInvalidLengthEvents
  4644  			}
  4645  			if postIndex > l {
  4646  				return io.ErrUnexpectedEOF
  4647  			}
  4648  			m.TokenContract = string(dAtA[iNdEx:postIndex])
  4649  			iNdEx = postIndex
  4650  		case 6:
  4651  			if wireType != 2 {
  4652  				return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType)
  4653  			}
  4654  			var stringLen uint64
  4655  			for shift := uint(0); ; shift += 7 {
  4656  				if shift >= 64 {
  4657  					return ErrIntOverflowEvents
  4658  				}
  4659  				if iNdEx >= l {
  4660  					return io.ErrUnexpectedEOF
  4661  				}
  4662  				b := dAtA[iNdEx]
  4663  				iNdEx++
  4664  				stringLen |= uint64(b&0x7F) << shift
  4665  				if b < 0x80 {
  4666  					break
  4667  				}
  4668  			}
  4669  			intStringLen := int(stringLen)
  4670  			if intStringLen < 0 {
  4671  				return ErrInvalidLengthEvents
  4672  			}
  4673  			postIndex := iNdEx + intStringLen
  4674  			if postIndex < 0 {
  4675  				return ErrInvalidLengthEvents
  4676  			}
  4677  			if postIndex > l {
  4678  				return io.ErrUnexpectedEOF
  4679  			}
  4680  			m.OrchestratorAddress = string(dAtA[iNdEx:postIndex])
  4681  			iNdEx = postIndex
  4682  		default:
  4683  			iNdEx = preIndex
  4684  			skippy, err := skipEvents(dAtA[iNdEx:])
  4685  			if err != nil {
  4686  				return err
  4687  			}
  4688  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4689  				return ErrInvalidLengthEvents
  4690  			}
  4691  			if (iNdEx + skippy) > l {
  4692  				return io.ErrUnexpectedEOF
  4693  			}
  4694  			iNdEx += skippy
  4695  		}
  4696  	}
  4697  
  4698  	if iNdEx > l {
  4699  		return io.ErrUnexpectedEOF
  4700  	}
  4701  	return nil
  4702  }
  4703  func (m *EventERC20DeployedClaim) Unmarshal(dAtA []byte) error {
  4704  	l := len(dAtA)
  4705  	iNdEx := 0
  4706  	for iNdEx < l {
  4707  		preIndex := iNdEx
  4708  		var wire uint64
  4709  		for shift := uint(0); ; shift += 7 {
  4710  			if shift >= 64 {
  4711  				return ErrIntOverflowEvents
  4712  			}
  4713  			if iNdEx >= l {
  4714  				return io.ErrUnexpectedEOF
  4715  			}
  4716  			b := dAtA[iNdEx]
  4717  			iNdEx++
  4718  			wire |= uint64(b&0x7F) << shift
  4719  			if b < 0x80 {
  4720  				break
  4721  			}
  4722  		}
  4723  		fieldNum := int32(wire >> 3)
  4724  		wireType := int(wire & 0x7)
  4725  		if wireType == 4 {
  4726  			return fmt.Errorf("proto: EventERC20DeployedClaim: wiretype end group for non-group")
  4727  		}
  4728  		if fieldNum <= 0 {
  4729  			return fmt.Errorf("proto: EventERC20DeployedClaim: illegal tag %d (wire type %d)", fieldNum, wire)
  4730  		}
  4731  		switch fieldNum {
  4732  		case 1:
  4733  			if wireType != 0 {
  4734  				return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType)
  4735  			}
  4736  			m.EventNonce = 0
  4737  			for shift := uint(0); ; shift += 7 {
  4738  				if shift >= 64 {
  4739  					return ErrIntOverflowEvents
  4740  				}
  4741  				if iNdEx >= l {
  4742  					return io.ErrUnexpectedEOF
  4743  				}
  4744  				b := dAtA[iNdEx]
  4745  				iNdEx++
  4746  				m.EventNonce |= uint64(b&0x7F) << shift
  4747  				if b < 0x80 {
  4748  					break
  4749  				}
  4750  			}
  4751  		case 2:
  4752  			if wireType != 0 {
  4753  				return fmt.Errorf("proto: wrong wireType = %d for field EventHeight", wireType)
  4754  			}
  4755  			m.EventHeight = 0
  4756  			for shift := uint(0); ; shift += 7 {
  4757  				if shift >= 64 {
  4758  					return ErrIntOverflowEvents
  4759  				}
  4760  				if iNdEx >= l {
  4761  					return io.ErrUnexpectedEOF
  4762  				}
  4763  				b := dAtA[iNdEx]
  4764  				iNdEx++
  4765  				m.EventHeight |= uint64(b&0x7F) << shift
  4766  				if b < 0x80 {
  4767  					break
  4768  				}
  4769  			}
  4770  		case 3:
  4771  			if wireType != 2 {
  4772  				return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType)
  4773  			}
  4774  			var byteLen int
  4775  			for shift := uint(0); ; shift += 7 {
  4776  				if shift >= 64 {
  4777  					return ErrIntOverflowEvents
  4778  				}
  4779  				if iNdEx >= l {
  4780  					return io.ErrUnexpectedEOF
  4781  				}
  4782  				b := dAtA[iNdEx]
  4783  				iNdEx++
  4784  				byteLen |= int(b&0x7F) << shift
  4785  				if b < 0x80 {
  4786  					break
  4787  				}
  4788  			}
  4789  			if byteLen < 0 {
  4790  				return ErrInvalidLengthEvents
  4791  			}
  4792  			postIndex := iNdEx + byteLen
  4793  			if postIndex < 0 {
  4794  				return ErrInvalidLengthEvents
  4795  			}
  4796  			if postIndex > l {
  4797  				return io.ErrUnexpectedEOF
  4798  			}
  4799  			m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...)
  4800  			if m.AttestationId == nil {
  4801  				m.AttestationId = []byte{}
  4802  			}
  4803  			iNdEx = postIndex
  4804  		case 4:
  4805  			if wireType != 2 {
  4806  				return fmt.Errorf("proto: wrong wireType = %d for field CosmosDenom", wireType)
  4807  			}
  4808  			var stringLen uint64
  4809  			for shift := uint(0); ; shift += 7 {
  4810  				if shift >= 64 {
  4811  					return ErrIntOverflowEvents
  4812  				}
  4813  				if iNdEx >= l {
  4814  					return io.ErrUnexpectedEOF
  4815  				}
  4816  				b := dAtA[iNdEx]
  4817  				iNdEx++
  4818  				stringLen |= uint64(b&0x7F) << shift
  4819  				if b < 0x80 {
  4820  					break
  4821  				}
  4822  			}
  4823  			intStringLen := int(stringLen)
  4824  			if intStringLen < 0 {
  4825  				return ErrInvalidLengthEvents
  4826  			}
  4827  			postIndex := iNdEx + intStringLen
  4828  			if postIndex < 0 {
  4829  				return ErrInvalidLengthEvents
  4830  			}
  4831  			if postIndex > l {
  4832  				return io.ErrUnexpectedEOF
  4833  			}
  4834  			m.CosmosDenom = string(dAtA[iNdEx:postIndex])
  4835  			iNdEx = postIndex
  4836  		case 5:
  4837  			if wireType != 2 {
  4838  				return fmt.Errorf("proto: wrong wireType = %d for field TokenContract", wireType)
  4839  			}
  4840  			var stringLen uint64
  4841  			for shift := uint(0); ; shift += 7 {
  4842  				if shift >= 64 {
  4843  					return ErrIntOverflowEvents
  4844  				}
  4845  				if iNdEx >= l {
  4846  					return io.ErrUnexpectedEOF
  4847  				}
  4848  				b := dAtA[iNdEx]
  4849  				iNdEx++
  4850  				stringLen |= uint64(b&0x7F) << shift
  4851  				if b < 0x80 {
  4852  					break
  4853  				}
  4854  			}
  4855  			intStringLen := int(stringLen)
  4856  			if intStringLen < 0 {
  4857  				return ErrInvalidLengthEvents
  4858  			}
  4859  			postIndex := iNdEx + intStringLen
  4860  			if postIndex < 0 {
  4861  				return ErrInvalidLengthEvents
  4862  			}
  4863  			if postIndex > l {
  4864  				return io.ErrUnexpectedEOF
  4865  			}
  4866  			m.TokenContract = string(dAtA[iNdEx:postIndex])
  4867  			iNdEx = postIndex
  4868  		case 6:
  4869  			if wireType != 2 {
  4870  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4871  			}
  4872  			var stringLen uint64
  4873  			for shift := uint(0); ; shift += 7 {
  4874  				if shift >= 64 {
  4875  					return ErrIntOverflowEvents
  4876  				}
  4877  				if iNdEx >= l {
  4878  					return io.ErrUnexpectedEOF
  4879  				}
  4880  				b := dAtA[iNdEx]
  4881  				iNdEx++
  4882  				stringLen |= uint64(b&0x7F) << shift
  4883  				if b < 0x80 {
  4884  					break
  4885  				}
  4886  			}
  4887  			intStringLen := int(stringLen)
  4888  			if intStringLen < 0 {
  4889  				return ErrInvalidLengthEvents
  4890  			}
  4891  			postIndex := iNdEx + intStringLen
  4892  			if postIndex < 0 {
  4893  				return ErrInvalidLengthEvents
  4894  			}
  4895  			if postIndex > l {
  4896  				return io.ErrUnexpectedEOF
  4897  			}
  4898  			m.Name = string(dAtA[iNdEx:postIndex])
  4899  			iNdEx = postIndex
  4900  		case 7:
  4901  			if wireType != 2 {
  4902  				return fmt.Errorf("proto: wrong wireType = %d for field Symbol", wireType)
  4903  			}
  4904  			var stringLen uint64
  4905  			for shift := uint(0); ; shift += 7 {
  4906  				if shift >= 64 {
  4907  					return ErrIntOverflowEvents
  4908  				}
  4909  				if iNdEx >= l {
  4910  					return io.ErrUnexpectedEOF
  4911  				}
  4912  				b := dAtA[iNdEx]
  4913  				iNdEx++
  4914  				stringLen |= uint64(b&0x7F) << shift
  4915  				if b < 0x80 {
  4916  					break
  4917  				}
  4918  			}
  4919  			intStringLen := int(stringLen)
  4920  			if intStringLen < 0 {
  4921  				return ErrInvalidLengthEvents
  4922  			}
  4923  			postIndex := iNdEx + intStringLen
  4924  			if postIndex < 0 {
  4925  				return ErrInvalidLengthEvents
  4926  			}
  4927  			if postIndex > l {
  4928  				return io.ErrUnexpectedEOF
  4929  			}
  4930  			m.Symbol = string(dAtA[iNdEx:postIndex])
  4931  			iNdEx = postIndex
  4932  		case 8:
  4933  			if wireType != 0 {
  4934  				return fmt.Errorf("proto: wrong wireType = %d for field Decimals", wireType)
  4935  			}
  4936  			m.Decimals = 0
  4937  			for shift := uint(0); ; shift += 7 {
  4938  				if shift >= 64 {
  4939  					return ErrIntOverflowEvents
  4940  				}
  4941  				if iNdEx >= l {
  4942  					return io.ErrUnexpectedEOF
  4943  				}
  4944  				b := dAtA[iNdEx]
  4945  				iNdEx++
  4946  				m.Decimals |= uint64(b&0x7F) << shift
  4947  				if b < 0x80 {
  4948  					break
  4949  				}
  4950  			}
  4951  		case 9:
  4952  			if wireType != 2 {
  4953  				return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType)
  4954  			}
  4955  			var stringLen uint64
  4956  			for shift := uint(0); ; shift += 7 {
  4957  				if shift >= 64 {
  4958  					return ErrIntOverflowEvents
  4959  				}
  4960  				if iNdEx >= l {
  4961  					return io.ErrUnexpectedEOF
  4962  				}
  4963  				b := dAtA[iNdEx]
  4964  				iNdEx++
  4965  				stringLen |= uint64(b&0x7F) << shift
  4966  				if b < 0x80 {
  4967  					break
  4968  				}
  4969  			}
  4970  			intStringLen := int(stringLen)
  4971  			if intStringLen < 0 {
  4972  				return ErrInvalidLengthEvents
  4973  			}
  4974  			postIndex := iNdEx + intStringLen
  4975  			if postIndex < 0 {
  4976  				return ErrInvalidLengthEvents
  4977  			}
  4978  			if postIndex > l {
  4979  				return io.ErrUnexpectedEOF
  4980  			}
  4981  			m.OrchestratorAddress = string(dAtA[iNdEx:postIndex])
  4982  			iNdEx = postIndex
  4983  		default:
  4984  			iNdEx = preIndex
  4985  			skippy, err := skipEvents(dAtA[iNdEx:])
  4986  			if err != nil {
  4987  				return err
  4988  			}
  4989  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  4990  				return ErrInvalidLengthEvents
  4991  			}
  4992  			if (iNdEx + skippy) > l {
  4993  				return io.ErrUnexpectedEOF
  4994  			}
  4995  			iNdEx += skippy
  4996  		}
  4997  	}
  4998  
  4999  	if iNdEx > l {
  5000  		return io.ErrUnexpectedEOF
  5001  	}
  5002  	return nil
  5003  }
  5004  func (m *EventValsetUpdateClaim) Unmarshal(dAtA []byte) error {
  5005  	l := len(dAtA)
  5006  	iNdEx := 0
  5007  	for iNdEx < l {
  5008  		preIndex := iNdEx
  5009  		var wire uint64
  5010  		for shift := uint(0); ; shift += 7 {
  5011  			if shift >= 64 {
  5012  				return ErrIntOverflowEvents
  5013  			}
  5014  			if iNdEx >= l {
  5015  				return io.ErrUnexpectedEOF
  5016  			}
  5017  			b := dAtA[iNdEx]
  5018  			iNdEx++
  5019  			wire |= uint64(b&0x7F) << shift
  5020  			if b < 0x80 {
  5021  				break
  5022  			}
  5023  		}
  5024  		fieldNum := int32(wire >> 3)
  5025  		wireType := int(wire & 0x7)
  5026  		if wireType == 4 {
  5027  			return fmt.Errorf("proto: EventValsetUpdateClaim: wiretype end group for non-group")
  5028  		}
  5029  		if fieldNum <= 0 {
  5030  			return fmt.Errorf("proto: EventValsetUpdateClaim: illegal tag %d (wire type %d)", fieldNum, wire)
  5031  		}
  5032  		switch fieldNum {
  5033  		case 1:
  5034  			if wireType != 0 {
  5035  				return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType)
  5036  			}
  5037  			m.EventNonce = 0
  5038  			for shift := uint(0); ; shift += 7 {
  5039  				if shift >= 64 {
  5040  					return ErrIntOverflowEvents
  5041  				}
  5042  				if iNdEx >= l {
  5043  					return io.ErrUnexpectedEOF
  5044  				}
  5045  				b := dAtA[iNdEx]
  5046  				iNdEx++
  5047  				m.EventNonce |= uint64(b&0x7F) << shift
  5048  				if b < 0x80 {
  5049  					break
  5050  				}
  5051  			}
  5052  		case 2:
  5053  			if wireType != 0 {
  5054  				return fmt.Errorf("proto: wrong wireType = %d for field EventHeight", wireType)
  5055  			}
  5056  			m.EventHeight = 0
  5057  			for shift := uint(0); ; shift += 7 {
  5058  				if shift >= 64 {
  5059  					return ErrIntOverflowEvents
  5060  				}
  5061  				if iNdEx >= l {
  5062  					return io.ErrUnexpectedEOF
  5063  				}
  5064  				b := dAtA[iNdEx]
  5065  				iNdEx++
  5066  				m.EventHeight |= uint64(b&0x7F) << shift
  5067  				if b < 0x80 {
  5068  					break
  5069  				}
  5070  			}
  5071  		case 3:
  5072  			if wireType != 2 {
  5073  				return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType)
  5074  			}
  5075  			var byteLen int
  5076  			for shift := uint(0); ; shift += 7 {
  5077  				if shift >= 64 {
  5078  					return ErrIntOverflowEvents
  5079  				}
  5080  				if iNdEx >= l {
  5081  					return io.ErrUnexpectedEOF
  5082  				}
  5083  				b := dAtA[iNdEx]
  5084  				iNdEx++
  5085  				byteLen |= int(b&0x7F) << shift
  5086  				if b < 0x80 {
  5087  					break
  5088  				}
  5089  			}
  5090  			if byteLen < 0 {
  5091  				return ErrInvalidLengthEvents
  5092  			}
  5093  			postIndex := iNdEx + byteLen
  5094  			if postIndex < 0 {
  5095  				return ErrInvalidLengthEvents
  5096  			}
  5097  			if postIndex > l {
  5098  				return io.ErrUnexpectedEOF
  5099  			}
  5100  			m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...)
  5101  			if m.AttestationId == nil {
  5102  				m.AttestationId = []byte{}
  5103  			}
  5104  			iNdEx = postIndex
  5105  		case 4:
  5106  			if wireType != 0 {
  5107  				return fmt.Errorf("proto: wrong wireType = %d for field ValsetNonce", wireType)
  5108  			}
  5109  			m.ValsetNonce = 0
  5110  			for shift := uint(0); ; shift += 7 {
  5111  				if shift >= 64 {
  5112  					return ErrIntOverflowEvents
  5113  				}
  5114  				if iNdEx >= l {
  5115  					return io.ErrUnexpectedEOF
  5116  				}
  5117  				b := dAtA[iNdEx]
  5118  				iNdEx++
  5119  				m.ValsetNonce |= uint64(b&0x7F) << shift
  5120  				if b < 0x80 {
  5121  					break
  5122  				}
  5123  			}
  5124  		case 5:
  5125  			if wireType != 2 {
  5126  				return fmt.Errorf("proto: wrong wireType = %d for field ValsetMembers", wireType)
  5127  			}
  5128  			var msglen int
  5129  			for shift := uint(0); ; shift += 7 {
  5130  				if shift >= 64 {
  5131  					return ErrIntOverflowEvents
  5132  				}
  5133  				if iNdEx >= l {
  5134  					return io.ErrUnexpectedEOF
  5135  				}
  5136  				b := dAtA[iNdEx]
  5137  				iNdEx++
  5138  				msglen |= int(b&0x7F) << shift
  5139  				if b < 0x80 {
  5140  					break
  5141  				}
  5142  			}
  5143  			if msglen < 0 {
  5144  				return ErrInvalidLengthEvents
  5145  			}
  5146  			postIndex := iNdEx + msglen
  5147  			if postIndex < 0 {
  5148  				return ErrInvalidLengthEvents
  5149  			}
  5150  			if postIndex > l {
  5151  				return io.ErrUnexpectedEOF
  5152  			}
  5153  			m.ValsetMembers = append(m.ValsetMembers, &BridgeValidator{})
  5154  			if err := m.ValsetMembers[len(m.ValsetMembers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5155  				return err
  5156  			}
  5157  			iNdEx = postIndex
  5158  		case 6:
  5159  			if wireType != 2 {
  5160  				return fmt.Errorf("proto: wrong wireType = %d for field RewardAmount", wireType)
  5161  			}
  5162  			var stringLen uint64
  5163  			for shift := uint(0); ; shift += 7 {
  5164  				if shift >= 64 {
  5165  					return ErrIntOverflowEvents
  5166  				}
  5167  				if iNdEx >= l {
  5168  					return io.ErrUnexpectedEOF
  5169  				}
  5170  				b := dAtA[iNdEx]
  5171  				iNdEx++
  5172  				stringLen |= uint64(b&0x7F) << shift
  5173  				if b < 0x80 {
  5174  					break
  5175  				}
  5176  			}
  5177  			intStringLen := int(stringLen)
  5178  			if intStringLen < 0 {
  5179  				return ErrInvalidLengthEvents
  5180  			}
  5181  			postIndex := iNdEx + intStringLen
  5182  			if postIndex < 0 {
  5183  				return ErrInvalidLengthEvents
  5184  			}
  5185  			if postIndex > l {
  5186  				return io.ErrUnexpectedEOF
  5187  			}
  5188  			if err := m.RewardAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5189  				return err
  5190  			}
  5191  			iNdEx = postIndex
  5192  		case 7:
  5193  			if wireType != 2 {
  5194  				return fmt.Errorf("proto: wrong wireType = %d for field RewardToken", wireType)
  5195  			}
  5196  			var stringLen uint64
  5197  			for shift := uint(0); ; shift += 7 {
  5198  				if shift >= 64 {
  5199  					return ErrIntOverflowEvents
  5200  				}
  5201  				if iNdEx >= l {
  5202  					return io.ErrUnexpectedEOF
  5203  				}
  5204  				b := dAtA[iNdEx]
  5205  				iNdEx++
  5206  				stringLen |= uint64(b&0x7F) << shift
  5207  				if b < 0x80 {
  5208  					break
  5209  				}
  5210  			}
  5211  			intStringLen := int(stringLen)
  5212  			if intStringLen < 0 {
  5213  				return ErrInvalidLengthEvents
  5214  			}
  5215  			postIndex := iNdEx + intStringLen
  5216  			if postIndex < 0 {
  5217  				return ErrInvalidLengthEvents
  5218  			}
  5219  			if postIndex > l {
  5220  				return io.ErrUnexpectedEOF
  5221  			}
  5222  			m.RewardToken = string(dAtA[iNdEx:postIndex])
  5223  			iNdEx = postIndex
  5224  		case 8:
  5225  			if wireType != 2 {
  5226  				return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType)
  5227  			}
  5228  			var stringLen uint64
  5229  			for shift := uint(0); ; shift += 7 {
  5230  				if shift >= 64 {
  5231  					return ErrIntOverflowEvents
  5232  				}
  5233  				if iNdEx >= l {
  5234  					return io.ErrUnexpectedEOF
  5235  				}
  5236  				b := dAtA[iNdEx]
  5237  				iNdEx++
  5238  				stringLen |= uint64(b&0x7F) << shift
  5239  				if b < 0x80 {
  5240  					break
  5241  				}
  5242  			}
  5243  			intStringLen := int(stringLen)
  5244  			if intStringLen < 0 {
  5245  				return ErrInvalidLengthEvents
  5246  			}
  5247  			postIndex := iNdEx + intStringLen
  5248  			if postIndex < 0 {
  5249  				return ErrInvalidLengthEvents
  5250  			}
  5251  			if postIndex > l {
  5252  				return io.ErrUnexpectedEOF
  5253  			}
  5254  			m.OrchestratorAddress = string(dAtA[iNdEx:postIndex])
  5255  			iNdEx = postIndex
  5256  		default:
  5257  			iNdEx = preIndex
  5258  			skippy, err := skipEvents(dAtA[iNdEx:])
  5259  			if err != nil {
  5260  				return err
  5261  			}
  5262  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5263  				return ErrInvalidLengthEvents
  5264  			}
  5265  			if (iNdEx + skippy) > l {
  5266  				return io.ErrUnexpectedEOF
  5267  			}
  5268  			iNdEx += skippy
  5269  		}
  5270  	}
  5271  
  5272  	if iNdEx > l {
  5273  		return io.ErrUnexpectedEOF
  5274  	}
  5275  	return nil
  5276  }
  5277  func (m *EventCancelSendToEth) Unmarshal(dAtA []byte) error {
  5278  	l := len(dAtA)
  5279  	iNdEx := 0
  5280  	for iNdEx < l {
  5281  		preIndex := iNdEx
  5282  		var wire uint64
  5283  		for shift := uint(0); ; shift += 7 {
  5284  			if shift >= 64 {
  5285  				return ErrIntOverflowEvents
  5286  			}
  5287  			if iNdEx >= l {
  5288  				return io.ErrUnexpectedEOF
  5289  			}
  5290  			b := dAtA[iNdEx]
  5291  			iNdEx++
  5292  			wire |= uint64(b&0x7F) << shift
  5293  			if b < 0x80 {
  5294  				break
  5295  			}
  5296  		}
  5297  		fieldNum := int32(wire >> 3)
  5298  		wireType := int(wire & 0x7)
  5299  		if wireType == 4 {
  5300  			return fmt.Errorf("proto: EventCancelSendToEth: wiretype end group for non-group")
  5301  		}
  5302  		if fieldNum <= 0 {
  5303  			return fmt.Errorf("proto: EventCancelSendToEth: illegal tag %d (wire type %d)", fieldNum, wire)
  5304  		}
  5305  		switch fieldNum {
  5306  		case 1:
  5307  			if wireType != 0 {
  5308  				return fmt.Errorf("proto: wrong wireType = %d for field OutgoingTxId", wireType)
  5309  			}
  5310  			m.OutgoingTxId = 0
  5311  			for shift := uint(0); ; shift += 7 {
  5312  				if shift >= 64 {
  5313  					return ErrIntOverflowEvents
  5314  				}
  5315  				if iNdEx >= l {
  5316  					return io.ErrUnexpectedEOF
  5317  				}
  5318  				b := dAtA[iNdEx]
  5319  				iNdEx++
  5320  				m.OutgoingTxId |= uint64(b&0x7F) << shift
  5321  				if b < 0x80 {
  5322  					break
  5323  				}
  5324  			}
  5325  		default:
  5326  			iNdEx = preIndex
  5327  			skippy, err := skipEvents(dAtA[iNdEx:])
  5328  			if err != nil {
  5329  				return err
  5330  			}
  5331  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5332  				return ErrInvalidLengthEvents
  5333  			}
  5334  			if (iNdEx + skippy) > l {
  5335  				return io.ErrUnexpectedEOF
  5336  			}
  5337  			iNdEx += skippy
  5338  		}
  5339  	}
  5340  
  5341  	if iNdEx > l {
  5342  		return io.ErrUnexpectedEOF
  5343  	}
  5344  	return nil
  5345  }
  5346  func (m *EventSubmitBadSignatureEvidence) Unmarshal(dAtA []byte) error {
  5347  	l := len(dAtA)
  5348  	iNdEx := 0
  5349  	for iNdEx < l {
  5350  		preIndex := iNdEx
  5351  		var wire uint64
  5352  		for shift := uint(0); ; shift += 7 {
  5353  			if shift >= 64 {
  5354  				return ErrIntOverflowEvents
  5355  			}
  5356  			if iNdEx >= l {
  5357  				return io.ErrUnexpectedEOF
  5358  			}
  5359  			b := dAtA[iNdEx]
  5360  			iNdEx++
  5361  			wire |= uint64(b&0x7F) << shift
  5362  			if b < 0x80 {
  5363  				break
  5364  			}
  5365  		}
  5366  		fieldNum := int32(wire >> 3)
  5367  		wireType := int(wire & 0x7)
  5368  		if wireType == 4 {
  5369  			return fmt.Errorf("proto: EventSubmitBadSignatureEvidence: wiretype end group for non-group")
  5370  		}
  5371  		if fieldNum <= 0 {
  5372  			return fmt.Errorf("proto: EventSubmitBadSignatureEvidence: illegal tag %d (wire type %d)", fieldNum, wire)
  5373  		}
  5374  		switch fieldNum {
  5375  		case 1:
  5376  			if wireType != 2 {
  5377  				return fmt.Errorf("proto: wrong wireType = %d for field BadEthSignature", wireType)
  5378  			}
  5379  			var stringLen uint64
  5380  			for shift := uint(0); ; shift += 7 {
  5381  				if shift >= 64 {
  5382  					return ErrIntOverflowEvents
  5383  				}
  5384  				if iNdEx >= l {
  5385  					return io.ErrUnexpectedEOF
  5386  				}
  5387  				b := dAtA[iNdEx]
  5388  				iNdEx++
  5389  				stringLen |= uint64(b&0x7F) << shift
  5390  				if b < 0x80 {
  5391  					break
  5392  				}
  5393  			}
  5394  			intStringLen := int(stringLen)
  5395  			if intStringLen < 0 {
  5396  				return ErrInvalidLengthEvents
  5397  			}
  5398  			postIndex := iNdEx + intStringLen
  5399  			if postIndex < 0 {
  5400  				return ErrInvalidLengthEvents
  5401  			}
  5402  			if postIndex > l {
  5403  				return io.ErrUnexpectedEOF
  5404  			}
  5405  			m.BadEthSignature = string(dAtA[iNdEx:postIndex])
  5406  			iNdEx = postIndex
  5407  		case 2:
  5408  			if wireType != 2 {
  5409  				return fmt.Errorf("proto: wrong wireType = %d for field BadEthSignatureSubject", wireType)
  5410  			}
  5411  			var stringLen uint64
  5412  			for shift := uint(0); ; shift += 7 {
  5413  				if shift >= 64 {
  5414  					return ErrIntOverflowEvents
  5415  				}
  5416  				if iNdEx >= l {
  5417  					return io.ErrUnexpectedEOF
  5418  				}
  5419  				b := dAtA[iNdEx]
  5420  				iNdEx++
  5421  				stringLen |= uint64(b&0x7F) << shift
  5422  				if b < 0x80 {
  5423  					break
  5424  				}
  5425  			}
  5426  			intStringLen := int(stringLen)
  5427  			if intStringLen < 0 {
  5428  				return ErrInvalidLengthEvents
  5429  			}
  5430  			postIndex := iNdEx + intStringLen
  5431  			if postIndex < 0 {
  5432  				return ErrInvalidLengthEvents
  5433  			}
  5434  			if postIndex > l {
  5435  				return io.ErrUnexpectedEOF
  5436  			}
  5437  			m.BadEthSignatureSubject = string(dAtA[iNdEx:postIndex])
  5438  			iNdEx = postIndex
  5439  		default:
  5440  			iNdEx = preIndex
  5441  			skippy, err := skipEvents(dAtA[iNdEx:])
  5442  			if err != nil {
  5443  				return err
  5444  			}
  5445  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5446  				return ErrInvalidLengthEvents
  5447  			}
  5448  			if (iNdEx + skippy) > l {
  5449  				return io.ErrUnexpectedEOF
  5450  			}
  5451  			iNdEx += skippy
  5452  		}
  5453  	}
  5454  
  5455  	if iNdEx > l {
  5456  		return io.ErrUnexpectedEOF
  5457  	}
  5458  	return nil
  5459  }
  5460  func (m *EventValidatorSlash) Unmarshal(dAtA []byte) error {
  5461  	l := len(dAtA)
  5462  	iNdEx := 0
  5463  	for iNdEx < l {
  5464  		preIndex := iNdEx
  5465  		var wire uint64
  5466  		for shift := uint(0); ; shift += 7 {
  5467  			if shift >= 64 {
  5468  				return ErrIntOverflowEvents
  5469  			}
  5470  			if iNdEx >= l {
  5471  				return io.ErrUnexpectedEOF
  5472  			}
  5473  			b := dAtA[iNdEx]
  5474  			iNdEx++
  5475  			wire |= uint64(b&0x7F) << shift
  5476  			if b < 0x80 {
  5477  				break
  5478  			}
  5479  		}
  5480  		fieldNum := int32(wire >> 3)
  5481  		wireType := int(wire & 0x7)
  5482  		if wireType == 4 {
  5483  			return fmt.Errorf("proto: EventValidatorSlash: wiretype end group for non-group")
  5484  		}
  5485  		if fieldNum <= 0 {
  5486  			return fmt.Errorf("proto: EventValidatorSlash: illegal tag %d (wire type %d)", fieldNum, wire)
  5487  		}
  5488  		switch fieldNum {
  5489  		case 1:
  5490  			if wireType != 0 {
  5491  				return fmt.Errorf("proto: wrong wireType = %d for field Power", wireType)
  5492  			}
  5493  			m.Power = 0
  5494  			for shift := uint(0); ; shift += 7 {
  5495  				if shift >= 64 {
  5496  					return ErrIntOverflowEvents
  5497  				}
  5498  				if iNdEx >= l {
  5499  					return io.ErrUnexpectedEOF
  5500  				}
  5501  				b := dAtA[iNdEx]
  5502  				iNdEx++
  5503  				m.Power |= int64(b&0x7F) << shift
  5504  				if b < 0x80 {
  5505  					break
  5506  				}
  5507  			}
  5508  		case 2:
  5509  			if wireType != 2 {
  5510  				return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  5511  			}
  5512  			var stringLen uint64
  5513  			for shift := uint(0); ; shift += 7 {
  5514  				if shift >= 64 {
  5515  					return ErrIntOverflowEvents
  5516  				}
  5517  				if iNdEx >= l {
  5518  					return io.ErrUnexpectedEOF
  5519  				}
  5520  				b := dAtA[iNdEx]
  5521  				iNdEx++
  5522  				stringLen |= uint64(b&0x7F) << shift
  5523  				if b < 0x80 {
  5524  					break
  5525  				}
  5526  			}
  5527  			intStringLen := int(stringLen)
  5528  			if intStringLen < 0 {
  5529  				return ErrInvalidLengthEvents
  5530  			}
  5531  			postIndex := iNdEx + intStringLen
  5532  			if postIndex < 0 {
  5533  				return ErrInvalidLengthEvents
  5534  			}
  5535  			if postIndex > l {
  5536  				return io.ErrUnexpectedEOF
  5537  			}
  5538  			m.Reason = string(dAtA[iNdEx:postIndex])
  5539  			iNdEx = postIndex
  5540  		case 3:
  5541  			if wireType != 2 {
  5542  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusAddress", wireType)
  5543  			}
  5544  			var stringLen uint64
  5545  			for shift := uint(0); ; shift += 7 {
  5546  				if shift >= 64 {
  5547  					return ErrIntOverflowEvents
  5548  				}
  5549  				if iNdEx >= l {
  5550  					return io.ErrUnexpectedEOF
  5551  				}
  5552  				b := dAtA[iNdEx]
  5553  				iNdEx++
  5554  				stringLen |= uint64(b&0x7F) << shift
  5555  				if b < 0x80 {
  5556  					break
  5557  				}
  5558  			}
  5559  			intStringLen := int(stringLen)
  5560  			if intStringLen < 0 {
  5561  				return ErrInvalidLengthEvents
  5562  			}
  5563  			postIndex := iNdEx + intStringLen
  5564  			if postIndex < 0 {
  5565  				return ErrInvalidLengthEvents
  5566  			}
  5567  			if postIndex > l {
  5568  				return io.ErrUnexpectedEOF
  5569  			}
  5570  			m.ConsensusAddress = string(dAtA[iNdEx:postIndex])
  5571  			iNdEx = postIndex
  5572  		case 4:
  5573  			if wireType != 2 {
  5574  				return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType)
  5575  			}
  5576  			var stringLen uint64
  5577  			for shift := uint(0); ; shift += 7 {
  5578  				if shift >= 64 {
  5579  					return ErrIntOverflowEvents
  5580  				}
  5581  				if iNdEx >= l {
  5582  					return io.ErrUnexpectedEOF
  5583  				}
  5584  				b := dAtA[iNdEx]
  5585  				iNdEx++
  5586  				stringLen |= uint64(b&0x7F) << shift
  5587  				if b < 0x80 {
  5588  					break
  5589  				}
  5590  			}
  5591  			intStringLen := int(stringLen)
  5592  			if intStringLen < 0 {
  5593  				return ErrInvalidLengthEvents
  5594  			}
  5595  			postIndex := iNdEx + intStringLen
  5596  			if postIndex < 0 {
  5597  				return ErrInvalidLengthEvents
  5598  			}
  5599  			if postIndex > l {
  5600  				return io.ErrUnexpectedEOF
  5601  			}
  5602  			m.OperatorAddress = string(dAtA[iNdEx:postIndex])
  5603  			iNdEx = postIndex
  5604  		case 5:
  5605  			if wireType != 2 {
  5606  				return fmt.Errorf("proto: wrong wireType = %d for field Moniker", wireType)
  5607  			}
  5608  			var stringLen uint64
  5609  			for shift := uint(0); ; shift += 7 {
  5610  				if shift >= 64 {
  5611  					return ErrIntOverflowEvents
  5612  				}
  5613  				if iNdEx >= l {
  5614  					return io.ErrUnexpectedEOF
  5615  				}
  5616  				b := dAtA[iNdEx]
  5617  				iNdEx++
  5618  				stringLen |= uint64(b&0x7F) << shift
  5619  				if b < 0x80 {
  5620  					break
  5621  				}
  5622  			}
  5623  			intStringLen := int(stringLen)
  5624  			if intStringLen < 0 {
  5625  				return ErrInvalidLengthEvents
  5626  			}
  5627  			postIndex := iNdEx + intStringLen
  5628  			if postIndex < 0 {
  5629  				return ErrInvalidLengthEvents
  5630  			}
  5631  			if postIndex > l {
  5632  				return io.ErrUnexpectedEOF
  5633  			}
  5634  			m.Moniker = string(dAtA[iNdEx:postIndex])
  5635  			iNdEx = postIndex
  5636  		default:
  5637  			iNdEx = preIndex
  5638  			skippy, err := skipEvents(dAtA[iNdEx:])
  5639  			if err != nil {
  5640  				return err
  5641  			}
  5642  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  5643  				return ErrInvalidLengthEvents
  5644  			}
  5645  			if (iNdEx + skippy) > l {
  5646  				return io.ErrUnexpectedEOF
  5647  			}
  5648  			iNdEx += skippy
  5649  		}
  5650  	}
  5651  
  5652  	if iNdEx > l {
  5653  		return io.ErrUnexpectedEOF
  5654  	}
  5655  	return nil
  5656  }
  5657  func skipEvents(dAtA []byte) (n int, err error) {
  5658  	l := len(dAtA)
  5659  	iNdEx := 0
  5660  	depth := 0
  5661  	for iNdEx < l {
  5662  		var wire uint64
  5663  		for shift := uint(0); ; shift += 7 {
  5664  			if shift >= 64 {
  5665  				return 0, ErrIntOverflowEvents
  5666  			}
  5667  			if iNdEx >= l {
  5668  				return 0, io.ErrUnexpectedEOF
  5669  			}
  5670  			b := dAtA[iNdEx]
  5671  			iNdEx++
  5672  			wire |= (uint64(b) & 0x7F) << shift
  5673  			if b < 0x80 {
  5674  				break
  5675  			}
  5676  		}
  5677  		wireType := int(wire & 0x7)
  5678  		switch wireType {
  5679  		case 0:
  5680  			for shift := uint(0); ; shift += 7 {
  5681  				if shift >= 64 {
  5682  					return 0, ErrIntOverflowEvents
  5683  				}
  5684  				if iNdEx >= l {
  5685  					return 0, io.ErrUnexpectedEOF
  5686  				}
  5687  				iNdEx++
  5688  				if dAtA[iNdEx-1] < 0x80 {
  5689  					break
  5690  				}
  5691  			}
  5692  		case 1:
  5693  			iNdEx += 8
  5694  		case 2:
  5695  			var length int
  5696  			for shift := uint(0); ; shift += 7 {
  5697  				if shift >= 64 {
  5698  					return 0, ErrIntOverflowEvents
  5699  				}
  5700  				if iNdEx >= l {
  5701  					return 0, io.ErrUnexpectedEOF
  5702  				}
  5703  				b := dAtA[iNdEx]
  5704  				iNdEx++
  5705  				length |= (int(b) & 0x7F) << shift
  5706  				if b < 0x80 {
  5707  					break
  5708  				}
  5709  			}
  5710  			if length < 0 {
  5711  				return 0, ErrInvalidLengthEvents
  5712  			}
  5713  			iNdEx += length
  5714  		case 3:
  5715  			depth++
  5716  		case 4:
  5717  			if depth == 0 {
  5718  				return 0, ErrUnexpectedEndOfGroupEvents
  5719  			}
  5720  			depth--
  5721  		case 5:
  5722  			iNdEx += 4
  5723  		default:
  5724  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  5725  		}
  5726  		if iNdEx < 0 {
  5727  			return 0, ErrInvalidLengthEvents
  5728  		}
  5729  		if depth == 0 {
  5730  			return iNdEx, nil
  5731  		}
  5732  	}
  5733  	return 0, io.ErrUnexpectedEOF
  5734  }
  5735  
  5736  var (
  5737  	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
  5738  	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
  5739  	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
  5740  )