github.com/InjectiveLabs/sdk-go@v1.53.0/chain/peggy/types/msgs.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: injective/peggy/v1/msgs.proto 3 4 package types 5 6 import ( 7 context "context" 8 cosmossdk_io_math "cosmossdk.io/math" 9 fmt "fmt" 10 _ "github.com/cosmos/cosmos-proto" 11 types1 "github.com/cosmos/cosmos-sdk/codec/types" 12 types "github.com/cosmos/cosmos-sdk/types" 13 _ "github.com/cosmos/cosmos-sdk/types/msgservice" 14 _ "github.com/cosmos/cosmos-sdk/types/tx/amino" 15 _ "github.com/cosmos/gogoproto/gogoproto" 16 grpc1 "github.com/cosmos/gogoproto/grpc" 17 proto "github.com/cosmos/gogoproto/proto" 18 _ "google.golang.org/genproto/googleapis/api/annotations" 19 grpc "google.golang.org/grpc" 20 codes "google.golang.org/grpc/codes" 21 status "google.golang.org/grpc/status" 22 io "io" 23 math "math" 24 math_bits "math/bits" 25 ) 26 27 // Reference imports to suppress errors if they are not otherwise used. 28 var _ = proto.Marshal 29 var _ = fmt.Errorf 30 var _ = math.Inf 31 32 // This is a compile-time assertion to ensure that this generated file 33 // is compatible with the proto package it is being compiled against. 34 // A compilation error at this line likely means your copy of the 35 // proto package needs to be updated. 36 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 37 38 // MsgSetOrchestratorAddresses 39 // this message allows validators to delegate their voting responsibilities 40 // to a given key. This key is then used as an optional authentication method 41 // for sigining oracle claims 42 // VALIDATOR 43 // The validator field is a cosmosvaloper1... string (i.e. sdk.ValAddress) 44 // that references a validator in the active set 45 // ORCHESTRATOR 46 // The orchestrator field is a cosmos1... string (i.e. sdk.AccAddress) that 47 // references the key that is being delegated to 48 // ETH_ADDRESS 49 // This is a hex encoded 0x Ethereum public key that will be used by this 50 // validator on Ethereum 51 type MsgSetOrchestratorAddresses struct { 52 Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` 53 Orchestrator string `protobuf:"bytes,2,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"` 54 EthAddress string `protobuf:"bytes,3,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"` 55 } 56 57 func (m *MsgSetOrchestratorAddresses) Reset() { *m = MsgSetOrchestratorAddresses{} } 58 func (m *MsgSetOrchestratorAddresses) String() string { return proto.CompactTextString(m) } 59 func (*MsgSetOrchestratorAddresses) ProtoMessage() {} 60 func (*MsgSetOrchestratorAddresses) Descriptor() ([]byte, []int) { 61 return fileDescriptor_751daa04abed7ef4, []int{0} 62 } 63 func (m *MsgSetOrchestratorAddresses) XXX_Unmarshal(b []byte) error { 64 return m.Unmarshal(b) 65 } 66 func (m *MsgSetOrchestratorAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 67 if deterministic { 68 return xxx_messageInfo_MsgSetOrchestratorAddresses.Marshal(b, m, deterministic) 69 } else { 70 b = b[:cap(b)] 71 n, err := m.MarshalToSizedBuffer(b) 72 if err != nil { 73 return nil, err 74 } 75 return b[:n], nil 76 } 77 } 78 func (m *MsgSetOrchestratorAddresses) XXX_Merge(src proto.Message) { 79 xxx_messageInfo_MsgSetOrchestratorAddresses.Merge(m, src) 80 } 81 func (m *MsgSetOrchestratorAddresses) XXX_Size() int { 82 return m.Size() 83 } 84 func (m *MsgSetOrchestratorAddresses) XXX_DiscardUnknown() { 85 xxx_messageInfo_MsgSetOrchestratorAddresses.DiscardUnknown(m) 86 } 87 88 var xxx_messageInfo_MsgSetOrchestratorAddresses proto.InternalMessageInfo 89 90 func (m *MsgSetOrchestratorAddresses) GetSender() string { 91 if m != nil { 92 return m.Sender 93 } 94 return "" 95 } 96 97 func (m *MsgSetOrchestratorAddresses) GetOrchestrator() string { 98 if m != nil { 99 return m.Orchestrator 100 } 101 return "" 102 } 103 104 func (m *MsgSetOrchestratorAddresses) GetEthAddress() string { 105 if m != nil { 106 return m.EthAddress 107 } 108 return "" 109 } 110 111 type MsgSetOrchestratorAddressesResponse struct { 112 } 113 114 func (m *MsgSetOrchestratorAddressesResponse) Reset() { *m = MsgSetOrchestratorAddressesResponse{} } 115 func (m *MsgSetOrchestratorAddressesResponse) String() string { return proto.CompactTextString(m) } 116 func (*MsgSetOrchestratorAddressesResponse) ProtoMessage() {} 117 func (*MsgSetOrchestratorAddressesResponse) Descriptor() ([]byte, []int) { 118 return fileDescriptor_751daa04abed7ef4, []int{1} 119 } 120 func (m *MsgSetOrchestratorAddressesResponse) XXX_Unmarshal(b []byte) error { 121 return m.Unmarshal(b) 122 } 123 func (m *MsgSetOrchestratorAddressesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 124 if deterministic { 125 return xxx_messageInfo_MsgSetOrchestratorAddressesResponse.Marshal(b, m, deterministic) 126 } else { 127 b = b[:cap(b)] 128 n, err := m.MarshalToSizedBuffer(b) 129 if err != nil { 130 return nil, err 131 } 132 return b[:n], nil 133 } 134 } 135 func (m *MsgSetOrchestratorAddressesResponse) XXX_Merge(src proto.Message) { 136 xxx_messageInfo_MsgSetOrchestratorAddressesResponse.Merge(m, src) 137 } 138 func (m *MsgSetOrchestratorAddressesResponse) XXX_Size() int { 139 return m.Size() 140 } 141 func (m *MsgSetOrchestratorAddressesResponse) XXX_DiscardUnknown() { 142 xxx_messageInfo_MsgSetOrchestratorAddressesResponse.DiscardUnknown(m) 143 } 144 145 var xxx_messageInfo_MsgSetOrchestratorAddressesResponse proto.InternalMessageInfo 146 147 // MsgValsetConfirm 148 // this is the message sent by the validators when they wish to submit their 149 // signatures over the validator set at a given block height. A validator must 150 // first call MsgSetEthAddress to set their Ethereum address to be used for 151 // signing. Then someone (anyone) must make a ValsetRequest the request is 152 // essentially a messaging mechanism to determine which block all validators 153 // should submit signatures over. Finally validators sign the validator set, 154 // powers, and Ethereum addresses of the entire validator set at the height of a 155 // ValsetRequest and submit that signature with this message. 156 // 157 // If a sufficient number of validators (66% of voting power) (A) have set 158 // Ethereum addresses and (B) submit ValsetConfirm messages with their 159 // signatures it is then possible for anyone to view these signatures in the 160 // chain store and submit them to Ethereum to update the validator set 161 // ------------- 162 type MsgValsetConfirm struct { 163 Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` 164 Orchestrator string `protobuf:"bytes,2,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"` 165 EthAddress string `protobuf:"bytes,3,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"` 166 Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` 167 } 168 169 func (m *MsgValsetConfirm) Reset() { *m = MsgValsetConfirm{} } 170 func (m *MsgValsetConfirm) String() string { return proto.CompactTextString(m) } 171 func (*MsgValsetConfirm) ProtoMessage() {} 172 func (*MsgValsetConfirm) Descriptor() ([]byte, []int) { 173 return fileDescriptor_751daa04abed7ef4, []int{2} 174 } 175 func (m *MsgValsetConfirm) XXX_Unmarshal(b []byte) error { 176 return m.Unmarshal(b) 177 } 178 func (m *MsgValsetConfirm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 179 if deterministic { 180 return xxx_messageInfo_MsgValsetConfirm.Marshal(b, m, deterministic) 181 } else { 182 b = b[:cap(b)] 183 n, err := m.MarshalToSizedBuffer(b) 184 if err != nil { 185 return nil, err 186 } 187 return b[:n], nil 188 } 189 } 190 func (m *MsgValsetConfirm) XXX_Merge(src proto.Message) { 191 xxx_messageInfo_MsgValsetConfirm.Merge(m, src) 192 } 193 func (m *MsgValsetConfirm) XXX_Size() int { 194 return m.Size() 195 } 196 func (m *MsgValsetConfirm) XXX_DiscardUnknown() { 197 xxx_messageInfo_MsgValsetConfirm.DiscardUnknown(m) 198 } 199 200 var xxx_messageInfo_MsgValsetConfirm proto.InternalMessageInfo 201 202 func (m *MsgValsetConfirm) GetNonce() uint64 { 203 if m != nil { 204 return m.Nonce 205 } 206 return 0 207 } 208 209 func (m *MsgValsetConfirm) GetOrchestrator() string { 210 if m != nil { 211 return m.Orchestrator 212 } 213 return "" 214 } 215 216 func (m *MsgValsetConfirm) GetEthAddress() string { 217 if m != nil { 218 return m.EthAddress 219 } 220 return "" 221 } 222 223 func (m *MsgValsetConfirm) GetSignature() string { 224 if m != nil { 225 return m.Signature 226 } 227 return "" 228 } 229 230 type MsgValsetConfirmResponse struct { 231 } 232 233 func (m *MsgValsetConfirmResponse) Reset() { *m = MsgValsetConfirmResponse{} } 234 func (m *MsgValsetConfirmResponse) String() string { return proto.CompactTextString(m) } 235 func (*MsgValsetConfirmResponse) ProtoMessage() {} 236 func (*MsgValsetConfirmResponse) Descriptor() ([]byte, []int) { 237 return fileDescriptor_751daa04abed7ef4, []int{3} 238 } 239 func (m *MsgValsetConfirmResponse) XXX_Unmarshal(b []byte) error { 240 return m.Unmarshal(b) 241 } 242 func (m *MsgValsetConfirmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 243 if deterministic { 244 return xxx_messageInfo_MsgValsetConfirmResponse.Marshal(b, m, deterministic) 245 } else { 246 b = b[:cap(b)] 247 n, err := m.MarshalToSizedBuffer(b) 248 if err != nil { 249 return nil, err 250 } 251 return b[:n], nil 252 } 253 } 254 func (m *MsgValsetConfirmResponse) XXX_Merge(src proto.Message) { 255 xxx_messageInfo_MsgValsetConfirmResponse.Merge(m, src) 256 } 257 func (m *MsgValsetConfirmResponse) XXX_Size() int { 258 return m.Size() 259 } 260 func (m *MsgValsetConfirmResponse) XXX_DiscardUnknown() { 261 xxx_messageInfo_MsgValsetConfirmResponse.DiscardUnknown(m) 262 } 263 264 var xxx_messageInfo_MsgValsetConfirmResponse proto.InternalMessageInfo 265 266 // MsgSendToEth 267 // This is the message that a user calls when they want to bridge an asset 268 // it will later be removed when it is included in a batch and successfully 269 // submitted tokens are removed from the users balance immediately 270 // ------------- 271 // AMOUNT: 272 // the coin to send across the bridge, note the restriction that this is a 273 // single coin not a set of coins that is normal in other Cosmos messages 274 // FEE: 275 // the fee paid for the bridge, distinct from the fee paid to the chain to 276 // actually send this message in the first place. So a successful send has 277 // two layers of fees for the user 278 type MsgSendToEth struct { 279 Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` 280 EthDest string `protobuf:"bytes,2,opt,name=eth_dest,json=ethDest,proto3" json:"eth_dest,omitempty"` 281 Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"` 282 BridgeFee types.Coin `protobuf:"bytes,4,opt,name=bridge_fee,json=bridgeFee,proto3" json:"bridge_fee"` 283 } 284 285 func (m *MsgSendToEth) Reset() { *m = MsgSendToEth{} } 286 func (m *MsgSendToEth) String() string { return proto.CompactTextString(m) } 287 func (*MsgSendToEth) ProtoMessage() {} 288 func (*MsgSendToEth) Descriptor() ([]byte, []int) { 289 return fileDescriptor_751daa04abed7ef4, []int{4} 290 } 291 func (m *MsgSendToEth) XXX_Unmarshal(b []byte) error { 292 return m.Unmarshal(b) 293 } 294 func (m *MsgSendToEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 295 if deterministic { 296 return xxx_messageInfo_MsgSendToEth.Marshal(b, m, deterministic) 297 } else { 298 b = b[:cap(b)] 299 n, err := m.MarshalToSizedBuffer(b) 300 if err != nil { 301 return nil, err 302 } 303 return b[:n], nil 304 } 305 } 306 func (m *MsgSendToEth) XXX_Merge(src proto.Message) { 307 xxx_messageInfo_MsgSendToEth.Merge(m, src) 308 } 309 func (m *MsgSendToEth) XXX_Size() int { 310 return m.Size() 311 } 312 func (m *MsgSendToEth) XXX_DiscardUnknown() { 313 xxx_messageInfo_MsgSendToEth.DiscardUnknown(m) 314 } 315 316 var xxx_messageInfo_MsgSendToEth proto.InternalMessageInfo 317 318 func (m *MsgSendToEth) GetSender() string { 319 if m != nil { 320 return m.Sender 321 } 322 return "" 323 } 324 325 func (m *MsgSendToEth) GetEthDest() string { 326 if m != nil { 327 return m.EthDest 328 } 329 return "" 330 } 331 332 func (m *MsgSendToEth) GetAmount() types.Coin { 333 if m != nil { 334 return m.Amount 335 } 336 return types.Coin{} 337 } 338 339 func (m *MsgSendToEth) GetBridgeFee() types.Coin { 340 if m != nil { 341 return m.BridgeFee 342 } 343 return types.Coin{} 344 } 345 346 type MsgSendToEthResponse struct { 347 } 348 349 func (m *MsgSendToEthResponse) Reset() { *m = MsgSendToEthResponse{} } 350 func (m *MsgSendToEthResponse) String() string { return proto.CompactTextString(m) } 351 func (*MsgSendToEthResponse) ProtoMessage() {} 352 func (*MsgSendToEthResponse) Descriptor() ([]byte, []int) { 353 return fileDescriptor_751daa04abed7ef4, []int{5} 354 } 355 func (m *MsgSendToEthResponse) XXX_Unmarshal(b []byte) error { 356 return m.Unmarshal(b) 357 } 358 func (m *MsgSendToEthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 359 if deterministic { 360 return xxx_messageInfo_MsgSendToEthResponse.Marshal(b, m, deterministic) 361 } else { 362 b = b[:cap(b)] 363 n, err := m.MarshalToSizedBuffer(b) 364 if err != nil { 365 return nil, err 366 } 367 return b[:n], nil 368 } 369 } 370 func (m *MsgSendToEthResponse) XXX_Merge(src proto.Message) { 371 xxx_messageInfo_MsgSendToEthResponse.Merge(m, src) 372 } 373 func (m *MsgSendToEthResponse) XXX_Size() int { 374 return m.Size() 375 } 376 func (m *MsgSendToEthResponse) XXX_DiscardUnknown() { 377 xxx_messageInfo_MsgSendToEthResponse.DiscardUnknown(m) 378 } 379 380 var xxx_messageInfo_MsgSendToEthResponse proto.InternalMessageInfo 381 382 // MsgRequestBatch 383 // this is a message anyone can send that requests a batch of transactions to 384 // send across the bridge be created for whatever block height this message is 385 // included in. This acts as a coordination point, the handler for this message 386 // looks at the AddToOutgoingPool tx's in the store and generates a batch, also 387 // available in the store tied to this message. The validators then grab this 388 // batch, sign it, submit the signatures with a MsgConfirmBatch before a relayer 389 // can finally submit the batch 390 // ------------- 391 type MsgRequestBatch struct { 392 Orchestrator string `protobuf:"bytes,1,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"` 393 Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` 394 } 395 396 func (m *MsgRequestBatch) Reset() { *m = MsgRequestBatch{} } 397 func (m *MsgRequestBatch) String() string { return proto.CompactTextString(m) } 398 func (*MsgRequestBatch) ProtoMessage() {} 399 func (*MsgRequestBatch) Descriptor() ([]byte, []int) { 400 return fileDescriptor_751daa04abed7ef4, []int{6} 401 } 402 func (m *MsgRequestBatch) XXX_Unmarshal(b []byte) error { 403 return m.Unmarshal(b) 404 } 405 func (m *MsgRequestBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 406 if deterministic { 407 return xxx_messageInfo_MsgRequestBatch.Marshal(b, m, deterministic) 408 } else { 409 b = b[:cap(b)] 410 n, err := m.MarshalToSizedBuffer(b) 411 if err != nil { 412 return nil, err 413 } 414 return b[:n], nil 415 } 416 } 417 func (m *MsgRequestBatch) XXX_Merge(src proto.Message) { 418 xxx_messageInfo_MsgRequestBatch.Merge(m, src) 419 } 420 func (m *MsgRequestBatch) XXX_Size() int { 421 return m.Size() 422 } 423 func (m *MsgRequestBatch) XXX_DiscardUnknown() { 424 xxx_messageInfo_MsgRequestBatch.DiscardUnknown(m) 425 } 426 427 var xxx_messageInfo_MsgRequestBatch proto.InternalMessageInfo 428 429 func (m *MsgRequestBatch) GetOrchestrator() string { 430 if m != nil { 431 return m.Orchestrator 432 } 433 return "" 434 } 435 436 func (m *MsgRequestBatch) GetDenom() string { 437 if m != nil { 438 return m.Denom 439 } 440 return "" 441 } 442 443 type MsgRequestBatchResponse struct { 444 } 445 446 func (m *MsgRequestBatchResponse) Reset() { *m = MsgRequestBatchResponse{} } 447 func (m *MsgRequestBatchResponse) String() string { return proto.CompactTextString(m) } 448 func (*MsgRequestBatchResponse) ProtoMessage() {} 449 func (*MsgRequestBatchResponse) Descriptor() ([]byte, []int) { 450 return fileDescriptor_751daa04abed7ef4, []int{7} 451 } 452 func (m *MsgRequestBatchResponse) XXX_Unmarshal(b []byte) error { 453 return m.Unmarshal(b) 454 } 455 func (m *MsgRequestBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 456 if deterministic { 457 return xxx_messageInfo_MsgRequestBatchResponse.Marshal(b, m, deterministic) 458 } else { 459 b = b[:cap(b)] 460 n, err := m.MarshalToSizedBuffer(b) 461 if err != nil { 462 return nil, err 463 } 464 return b[:n], nil 465 } 466 } 467 func (m *MsgRequestBatchResponse) XXX_Merge(src proto.Message) { 468 xxx_messageInfo_MsgRequestBatchResponse.Merge(m, src) 469 } 470 func (m *MsgRequestBatchResponse) XXX_Size() int { 471 return m.Size() 472 } 473 func (m *MsgRequestBatchResponse) XXX_DiscardUnknown() { 474 xxx_messageInfo_MsgRequestBatchResponse.DiscardUnknown(m) 475 } 476 477 var xxx_messageInfo_MsgRequestBatchResponse proto.InternalMessageInfo 478 479 // MsgConfirmBatch 480 // When validators observe a MsgRequestBatch they form a batch by ordering 481 // transactions currently in the txqueue in order of highest to lowest fee, 482 // cutting off when the batch either reaches a hardcoded maximum size (to be 483 // decided, probably around 100) or when transactions stop being profitable 484 // (TODO determine this without nondeterminism) This message includes the batch 485 // as well as an Ethereum signature over this batch by the validator 486 // ------------- 487 type MsgConfirmBatch struct { 488 Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` 489 TokenContract string `protobuf:"bytes,2,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"` 490 EthSigner string `protobuf:"bytes,3,opt,name=eth_signer,json=ethSigner,proto3" json:"eth_signer,omitempty"` 491 Orchestrator string `protobuf:"bytes,4,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"` 492 Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` 493 } 494 495 func (m *MsgConfirmBatch) Reset() { *m = MsgConfirmBatch{} } 496 func (m *MsgConfirmBatch) String() string { return proto.CompactTextString(m) } 497 func (*MsgConfirmBatch) ProtoMessage() {} 498 func (*MsgConfirmBatch) Descriptor() ([]byte, []int) { 499 return fileDescriptor_751daa04abed7ef4, []int{8} 500 } 501 func (m *MsgConfirmBatch) XXX_Unmarshal(b []byte) error { 502 return m.Unmarshal(b) 503 } 504 func (m *MsgConfirmBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 505 if deterministic { 506 return xxx_messageInfo_MsgConfirmBatch.Marshal(b, m, deterministic) 507 } else { 508 b = b[:cap(b)] 509 n, err := m.MarshalToSizedBuffer(b) 510 if err != nil { 511 return nil, err 512 } 513 return b[:n], nil 514 } 515 } 516 func (m *MsgConfirmBatch) XXX_Merge(src proto.Message) { 517 xxx_messageInfo_MsgConfirmBatch.Merge(m, src) 518 } 519 func (m *MsgConfirmBatch) XXX_Size() int { 520 return m.Size() 521 } 522 func (m *MsgConfirmBatch) XXX_DiscardUnknown() { 523 xxx_messageInfo_MsgConfirmBatch.DiscardUnknown(m) 524 } 525 526 var xxx_messageInfo_MsgConfirmBatch proto.InternalMessageInfo 527 528 func (m *MsgConfirmBatch) GetNonce() uint64 { 529 if m != nil { 530 return m.Nonce 531 } 532 return 0 533 } 534 535 func (m *MsgConfirmBatch) GetTokenContract() string { 536 if m != nil { 537 return m.TokenContract 538 } 539 return "" 540 } 541 542 func (m *MsgConfirmBatch) GetEthSigner() string { 543 if m != nil { 544 return m.EthSigner 545 } 546 return "" 547 } 548 549 func (m *MsgConfirmBatch) GetOrchestrator() string { 550 if m != nil { 551 return m.Orchestrator 552 } 553 return "" 554 } 555 556 func (m *MsgConfirmBatch) GetSignature() string { 557 if m != nil { 558 return m.Signature 559 } 560 return "" 561 } 562 563 type MsgConfirmBatchResponse struct { 564 } 565 566 func (m *MsgConfirmBatchResponse) Reset() { *m = MsgConfirmBatchResponse{} } 567 func (m *MsgConfirmBatchResponse) String() string { return proto.CompactTextString(m) } 568 func (*MsgConfirmBatchResponse) ProtoMessage() {} 569 func (*MsgConfirmBatchResponse) Descriptor() ([]byte, []int) { 570 return fileDescriptor_751daa04abed7ef4, []int{9} 571 } 572 func (m *MsgConfirmBatchResponse) XXX_Unmarshal(b []byte) error { 573 return m.Unmarshal(b) 574 } 575 func (m *MsgConfirmBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 576 if deterministic { 577 return xxx_messageInfo_MsgConfirmBatchResponse.Marshal(b, m, deterministic) 578 } else { 579 b = b[:cap(b)] 580 n, err := m.MarshalToSizedBuffer(b) 581 if err != nil { 582 return nil, err 583 } 584 return b[:n], nil 585 } 586 } 587 func (m *MsgConfirmBatchResponse) XXX_Merge(src proto.Message) { 588 xxx_messageInfo_MsgConfirmBatchResponse.Merge(m, src) 589 } 590 func (m *MsgConfirmBatchResponse) XXX_Size() int { 591 return m.Size() 592 } 593 func (m *MsgConfirmBatchResponse) XXX_DiscardUnknown() { 594 xxx_messageInfo_MsgConfirmBatchResponse.DiscardUnknown(m) 595 } 596 597 var xxx_messageInfo_MsgConfirmBatchResponse proto.InternalMessageInfo 598 599 // EthereumBridgeDepositClaim 600 // When more than 66% of the active validator set has 601 // claimed to have seen the deposit enter the ethereum blockchain coins are 602 // issued to the Cosmos address in question 603 // ------------- 604 type MsgDepositClaim struct { 605 EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` 606 BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` 607 TokenContract string `protobuf:"bytes,3,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"` 608 Amount cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"` 609 EthereumSender string `protobuf:"bytes,5,opt,name=ethereum_sender,json=ethereumSender,proto3" json:"ethereum_sender,omitempty"` 610 CosmosReceiver string `protobuf:"bytes,6,opt,name=cosmos_receiver,json=cosmosReceiver,proto3" json:"cosmos_receiver,omitempty"` 611 Orchestrator string `protobuf:"bytes,7,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"` 612 Data string `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` 613 } 614 615 func (m *MsgDepositClaim) Reset() { *m = MsgDepositClaim{} } 616 func (m *MsgDepositClaim) String() string { return proto.CompactTextString(m) } 617 func (*MsgDepositClaim) ProtoMessage() {} 618 func (*MsgDepositClaim) Descriptor() ([]byte, []int) { 619 return fileDescriptor_751daa04abed7ef4, []int{10} 620 } 621 func (m *MsgDepositClaim) XXX_Unmarshal(b []byte) error { 622 return m.Unmarshal(b) 623 } 624 func (m *MsgDepositClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 625 if deterministic { 626 return xxx_messageInfo_MsgDepositClaim.Marshal(b, m, deterministic) 627 } else { 628 b = b[:cap(b)] 629 n, err := m.MarshalToSizedBuffer(b) 630 if err != nil { 631 return nil, err 632 } 633 return b[:n], nil 634 } 635 } 636 func (m *MsgDepositClaim) XXX_Merge(src proto.Message) { 637 xxx_messageInfo_MsgDepositClaim.Merge(m, src) 638 } 639 func (m *MsgDepositClaim) XXX_Size() int { 640 return m.Size() 641 } 642 func (m *MsgDepositClaim) XXX_DiscardUnknown() { 643 xxx_messageInfo_MsgDepositClaim.DiscardUnknown(m) 644 } 645 646 var xxx_messageInfo_MsgDepositClaim proto.InternalMessageInfo 647 648 func (m *MsgDepositClaim) GetEventNonce() uint64 { 649 if m != nil { 650 return m.EventNonce 651 } 652 return 0 653 } 654 655 func (m *MsgDepositClaim) GetBlockHeight() uint64 { 656 if m != nil { 657 return m.BlockHeight 658 } 659 return 0 660 } 661 662 func (m *MsgDepositClaim) GetTokenContract() string { 663 if m != nil { 664 return m.TokenContract 665 } 666 return "" 667 } 668 669 func (m *MsgDepositClaim) GetEthereumSender() string { 670 if m != nil { 671 return m.EthereumSender 672 } 673 return "" 674 } 675 676 func (m *MsgDepositClaim) GetCosmosReceiver() string { 677 if m != nil { 678 return m.CosmosReceiver 679 } 680 return "" 681 } 682 683 func (m *MsgDepositClaim) GetOrchestrator() string { 684 if m != nil { 685 return m.Orchestrator 686 } 687 return "" 688 } 689 690 func (m *MsgDepositClaim) GetData() string { 691 if m != nil { 692 return m.Data 693 } 694 return "" 695 } 696 697 type MsgDepositClaimResponse struct { 698 } 699 700 func (m *MsgDepositClaimResponse) Reset() { *m = MsgDepositClaimResponse{} } 701 func (m *MsgDepositClaimResponse) String() string { return proto.CompactTextString(m) } 702 func (*MsgDepositClaimResponse) ProtoMessage() {} 703 func (*MsgDepositClaimResponse) Descriptor() ([]byte, []int) { 704 return fileDescriptor_751daa04abed7ef4, []int{11} 705 } 706 func (m *MsgDepositClaimResponse) XXX_Unmarshal(b []byte) error { 707 return m.Unmarshal(b) 708 } 709 func (m *MsgDepositClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 710 if deterministic { 711 return xxx_messageInfo_MsgDepositClaimResponse.Marshal(b, m, deterministic) 712 } else { 713 b = b[:cap(b)] 714 n, err := m.MarshalToSizedBuffer(b) 715 if err != nil { 716 return nil, err 717 } 718 return b[:n], nil 719 } 720 } 721 func (m *MsgDepositClaimResponse) XXX_Merge(src proto.Message) { 722 xxx_messageInfo_MsgDepositClaimResponse.Merge(m, src) 723 } 724 func (m *MsgDepositClaimResponse) XXX_Size() int { 725 return m.Size() 726 } 727 func (m *MsgDepositClaimResponse) XXX_DiscardUnknown() { 728 xxx_messageInfo_MsgDepositClaimResponse.DiscardUnknown(m) 729 } 730 731 var xxx_messageInfo_MsgDepositClaimResponse proto.InternalMessageInfo 732 733 // WithdrawClaim claims that a batch of withdrawal 734 // operations on the bridge contract was executed. 735 type MsgWithdrawClaim struct { 736 EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` 737 BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` 738 BatchNonce uint64 `protobuf:"varint,3,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"` 739 TokenContract string `protobuf:"bytes,4,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"` 740 Orchestrator string `protobuf:"bytes,5,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"` 741 } 742 743 func (m *MsgWithdrawClaim) Reset() { *m = MsgWithdrawClaim{} } 744 func (m *MsgWithdrawClaim) String() string { return proto.CompactTextString(m) } 745 func (*MsgWithdrawClaim) ProtoMessage() {} 746 func (*MsgWithdrawClaim) Descriptor() ([]byte, []int) { 747 return fileDescriptor_751daa04abed7ef4, []int{12} 748 } 749 func (m *MsgWithdrawClaim) XXX_Unmarshal(b []byte) error { 750 return m.Unmarshal(b) 751 } 752 func (m *MsgWithdrawClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 753 if deterministic { 754 return xxx_messageInfo_MsgWithdrawClaim.Marshal(b, m, deterministic) 755 } else { 756 b = b[:cap(b)] 757 n, err := m.MarshalToSizedBuffer(b) 758 if err != nil { 759 return nil, err 760 } 761 return b[:n], nil 762 } 763 } 764 func (m *MsgWithdrawClaim) XXX_Merge(src proto.Message) { 765 xxx_messageInfo_MsgWithdrawClaim.Merge(m, src) 766 } 767 func (m *MsgWithdrawClaim) XXX_Size() int { 768 return m.Size() 769 } 770 func (m *MsgWithdrawClaim) XXX_DiscardUnknown() { 771 xxx_messageInfo_MsgWithdrawClaim.DiscardUnknown(m) 772 } 773 774 var xxx_messageInfo_MsgWithdrawClaim proto.InternalMessageInfo 775 776 func (m *MsgWithdrawClaim) GetEventNonce() uint64 { 777 if m != nil { 778 return m.EventNonce 779 } 780 return 0 781 } 782 783 func (m *MsgWithdrawClaim) GetBlockHeight() uint64 { 784 if m != nil { 785 return m.BlockHeight 786 } 787 return 0 788 } 789 790 func (m *MsgWithdrawClaim) GetBatchNonce() uint64 { 791 if m != nil { 792 return m.BatchNonce 793 } 794 return 0 795 } 796 797 func (m *MsgWithdrawClaim) GetTokenContract() string { 798 if m != nil { 799 return m.TokenContract 800 } 801 return "" 802 } 803 804 func (m *MsgWithdrawClaim) GetOrchestrator() string { 805 if m != nil { 806 return m.Orchestrator 807 } 808 return "" 809 } 810 811 type MsgWithdrawClaimResponse struct { 812 } 813 814 func (m *MsgWithdrawClaimResponse) Reset() { *m = MsgWithdrawClaimResponse{} } 815 func (m *MsgWithdrawClaimResponse) String() string { return proto.CompactTextString(m) } 816 func (*MsgWithdrawClaimResponse) ProtoMessage() {} 817 func (*MsgWithdrawClaimResponse) Descriptor() ([]byte, []int) { 818 return fileDescriptor_751daa04abed7ef4, []int{13} 819 } 820 func (m *MsgWithdrawClaimResponse) XXX_Unmarshal(b []byte) error { 821 return m.Unmarshal(b) 822 } 823 func (m *MsgWithdrawClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 824 if deterministic { 825 return xxx_messageInfo_MsgWithdrawClaimResponse.Marshal(b, m, deterministic) 826 } else { 827 b = b[:cap(b)] 828 n, err := m.MarshalToSizedBuffer(b) 829 if err != nil { 830 return nil, err 831 } 832 return b[:n], nil 833 } 834 } 835 func (m *MsgWithdrawClaimResponse) XXX_Merge(src proto.Message) { 836 xxx_messageInfo_MsgWithdrawClaimResponse.Merge(m, src) 837 } 838 func (m *MsgWithdrawClaimResponse) XXX_Size() int { 839 return m.Size() 840 } 841 func (m *MsgWithdrawClaimResponse) XXX_DiscardUnknown() { 842 xxx_messageInfo_MsgWithdrawClaimResponse.DiscardUnknown(m) 843 } 844 845 var xxx_messageInfo_MsgWithdrawClaimResponse proto.InternalMessageInfo 846 847 // ERC20DeployedClaim allows the Cosmos module 848 // to learn about an ERC20 that someone deployed 849 // to represent a Cosmos asset 850 type MsgERC20DeployedClaim struct { 851 EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` 852 BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` 853 CosmosDenom string `protobuf:"bytes,3,opt,name=cosmos_denom,json=cosmosDenom,proto3" json:"cosmos_denom,omitempty"` 854 TokenContract string `protobuf:"bytes,4,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"` 855 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` 856 Symbol string `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"` 857 Decimals uint64 `protobuf:"varint,7,opt,name=decimals,proto3" json:"decimals,omitempty"` 858 Orchestrator string `protobuf:"bytes,8,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"` 859 } 860 861 func (m *MsgERC20DeployedClaim) Reset() { *m = MsgERC20DeployedClaim{} } 862 func (m *MsgERC20DeployedClaim) String() string { return proto.CompactTextString(m) } 863 func (*MsgERC20DeployedClaim) ProtoMessage() {} 864 func (*MsgERC20DeployedClaim) Descriptor() ([]byte, []int) { 865 return fileDescriptor_751daa04abed7ef4, []int{14} 866 } 867 func (m *MsgERC20DeployedClaim) XXX_Unmarshal(b []byte) error { 868 return m.Unmarshal(b) 869 } 870 func (m *MsgERC20DeployedClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 871 if deterministic { 872 return xxx_messageInfo_MsgERC20DeployedClaim.Marshal(b, m, deterministic) 873 } else { 874 b = b[:cap(b)] 875 n, err := m.MarshalToSizedBuffer(b) 876 if err != nil { 877 return nil, err 878 } 879 return b[:n], nil 880 } 881 } 882 func (m *MsgERC20DeployedClaim) XXX_Merge(src proto.Message) { 883 xxx_messageInfo_MsgERC20DeployedClaim.Merge(m, src) 884 } 885 func (m *MsgERC20DeployedClaim) XXX_Size() int { 886 return m.Size() 887 } 888 func (m *MsgERC20DeployedClaim) XXX_DiscardUnknown() { 889 xxx_messageInfo_MsgERC20DeployedClaim.DiscardUnknown(m) 890 } 891 892 var xxx_messageInfo_MsgERC20DeployedClaim proto.InternalMessageInfo 893 894 func (m *MsgERC20DeployedClaim) GetEventNonce() uint64 { 895 if m != nil { 896 return m.EventNonce 897 } 898 return 0 899 } 900 901 func (m *MsgERC20DeployedClaim) GetBlockHeight() uint64 { 902 if m != nil { 903 return m.BlockHeight 904 } 905 return 0 906 } 907 908 func (m *MsgERC20DeployedClaim) GetCosmosDenom() string { 909 if m != nil { 910 return m.CosmosDenom 911 } 912 return "" 913 } 914 915 func (m *MsgERC20DeployedClaim) GetTokenContract() string { 916 if m != nil { 917 return m.TokenContract 918 } 919 return "" 920 } 921 922 func (m *MsgERC20DeployedClaim) GetName() string { 923 if m != nil { 924 return m.Name 925 } 926 return "" 927 } 928 929 func (m *MsgERC20DeployedClaim) GetSymbol() string { 930 if m != nil { 931 return m.Symbol 932 } 933 return "" 934 } 935 936 func (m *MsgERC20DeployedClaim) GetDecimals() uint64 { 937 if m != nil { 938 return m.Decimals 939 } 940 return 0 941 } 942 943 func (m *MsgERC20DeployedClaim) GetOrchestrator() string { 944 if m != nil { 945 return m.Orchestrator 946 } 947 return "" 948 } 949 950 type MsgERC20DeployedClaimResponse struct { 951 } 952 953 func (m *MsgERC20DeployedClaimResponse) Reset() { *m = MsgERC20DeployedClaimResponse{} } 954 func (m *MsgERC20DeployedClaimResponse) String() string { return proto.CompactTextString(m) } 955 func (*MsgERC20DeployedClaimResponse) ProtoMessage() {} 956 func (*MsgERC20DeployedClaimResponse) Descriptor() ([]byte, []int) { 957 return fileDescriptor_751daa04abed7ef4, []int{15} 958 } 959 func (m *MsgERC20DeployedClaimResponse) XXX_Unmarshal(b []byte) error { 960 return m.Unmarshal(b) 961 } 962 func (m *MsgERC20DeployedClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 963 if deterministic { 964 return xxx_messageInfo_MsgERC20DeployedClaimResponse.Marshal(b, m, deterministic) 965 } else { 966 b = b[:cap(b)] 967 n, err := m.MarshalToSizedBuffer(b) 968 if err != nil { 969 return nil, err 970 } 971 return b[:n], nil 972 } 973 } 974 func (m *MsgERC20DeployedClaimResponse) XXX_Merge(src proto.Message) { 975 xxx_messageInfo_MsgERC20DeployedClaimResponse.Merge(m, src) 976 } 977 func (m *MsgERC20DeployedClaimResponse) XXX_Size() int { 978 return m.Size() 979 } 980 func (m *MsgERC20DeployedClaimResponse) XXX_DiscardUnknown() { 981 xxx_messageInfo_MsgERC20DeployedClaimResponse.DiscardUnknown(m) 982 } 983 984 var xxx_messageInfo_MsgERC20DeployedClaimResponse proto.InternalMessageInfo 985 986 // This call allows the sender (and only the sender) 987 // to cancel a given MsgSendToEth and recieve a refund 988 // of the tokens 989 type MsgCancelSendToEth struct { 990 TransactionId uint64 `protobuf:"varint,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` 991 Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` 992 } 993 994 func (m *MsgCancelSendToEth) Reset() { *m = MsgCancelSendToEth{} } 995 func (m *MsgCancelSendToEth) String() string { return proto.CompactTextString(m) } 996 func (*MsgCancelSendToEth) ProtoMessage() {} 997 func (*MsgCancelSendToEth) Descriptor() ([]byte, []int) { 998 return fileDescriptor_751daa04abed7ef4, []int{16} 999 } 1000 func (m *MsgCancelSendToEth) XXX_Unmarshal(b []byte) error { 1001 return m.Unmarshal(b) 1002 } 1003 func (m *MsgCancelSendToEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1004 if deterministic { 1005 return xxx_messageInfo_MsgCancelSendToEth.Marshal(b, m, deterministic) 1006 } else { 1007 b = b[:cap(b)] 1008 n, err := m.MarshalToSizedBuffer(b) 1009 if err != nil { 1010 return nil, err 1011 } 1012 return b[:n], nil 1013 } 1014 } 1015 func (m *MsgCancelSendToEth) XXX_Merge(src proto.Message) { 1016 xxx_messageInfo_MsgCancelSendToEth.Merge(m, src) 1017 } 1018 func (m *MsgCancelSendToEth) XXX_Size() int { 1019 return m.Size() 1020 } 1021 func (m *MsgCancelSendToEth) XXX_DiscardUnknown() { 1022 xxx_messageInfo_MsgCancelSendToEth.DiscardUnknown(m) 1023 } 1024 1025 var xxx_messageInfo_MsgCancelSendToEth proto.InternalMessageInfo 1026 1027 func (m *MsgCancelSendToEth) GetTransactionId() uint64 { 1028 if m != nil { 1029 return m.TransactionId 1030 } 1031 return 0 1032 } 1033 1034 func (m *MsgCancelSendToEth) GetSender() string { 1035 if m != nil { 1036 return m.Sender 1037 } 1038 return "" 1039 } 1040 1041 type MsgCancelSendToEthResponse struct { 1042 } 1043 1044 func (m *MsgCancelSendToEthResponse) Reset() { *m = MsgCancelSendToEthResponse{} } 1045 func (m *MsgCancelSendToEthResponse) String() string { return proto.CompactTextString(m) } 1046 func (*MsgCancelSendToEthResponse) ProtoMessage() {} 1047 func (*MsgCancelSendToEthResponse) Descriptor() ([]byte, []int) { 1048 return fileDescriptor_751daa04abed7ef4, []int{17} 1049 } 1050 func (m *MsgCancelSendToEthResponse) XXX_Unmarshal(b []byte) error { 1051 return m.Unmarshal(b) 1052 } 1053 func (m *MsgCancelSendToEthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1054 if deterministic { 1055 return xxx_messageInfo_MsgCancelSendToEthResponse.Marshal(b, m, deterministic) 1056 } else { 1057 b = b[:cap(b)] 1058 n, err := m.MarshalToSizedBuffer(b) 1059 if err != nil { 1060 return nil, err 1061 } 1062 return b[:n], nil 1063 } 1064 } 1065 func (m *MsgCancelSendToEthResponse) XXX_Merge(src proto.Message) { 1066 xxx_messageInfo_MsgCancelSendToEthResponse.Merge(m, src) 1067 } 1068 func (m *MsgCancelSendToEthResponse) XXX_Size() int { 1069 return m.Size() 1070 } 1071 func (m *MsgCancelSendToEthResponse) XXX_DiscardUnknown() { 1072 xxx_messageInfo_MsgCancelSendToEthResponse.DiscardUnknown(m) 1073 } 1074 1075 var xxx_messageInfo_MsgCancelSendToEthResponse proto.InternalMessageInfo 1076 1077 // This call allows anyone to submit evidence that a 1078 // validator has signed a valset, batch, or logic call that never 1079 // existed. Subject contains the batch, valset, or logic call. 1080 type MsgSubmitBadSignatureEvidence struct { 1081 Subject *types1.Any `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` 1082 Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` 1083 Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` 1084 } 1085 1086 func (m *MsgSubmitBadSignatureEvidence) Reset() { *m = MsgSubmitBadSignatureEvidence{} } 1087 func (m *MsgSubmitBadSignatureEvidence) String() string { return proto.CompactTextString(m) } 1088 func (*MsgSubmitBadSignatureEvidence) ProtoMessage() {} 1089 func (*MsgSubmitBadSignatureEvidence) Descriptor() ([]byte, []int) { 1090 return fileDescriptor_751daa04abed7ef4, []int{18} 1091 } 1092 func (m *MsgSubmitBadSignatureEvidence) XXX_Unmarshal(b []byte) error { 1093 return m.Unmarshal(b) 1094 } 1095 func (m *MsgSubmitBadSignatureEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1096 if deterministic { 1097 return xxx_messageInfo_MsgSubmitBadSignatureEvidence.Marshal(b, m, deterministic) 1098 } else { 1099 b = b[:cap(b)] 1100 n, err := m.MarshalToSizedBuffer(b) 1101 if err != nil { 1102 return nil, err 1103 } 1104 return b[:n], nil 1105 } 1106 } 1107 func (m *MsgSubmitBadSignatureEvidence) XXX_Merge(src proto.Message) { 1108 xxx_messageInfo_MsgSubmitBadSignatureEvidence.Merge(m, src) 1109 } 1110 func (m *MsgSubmitBadSignatureEvidence) XXX_Size() int { 1111 return m.Size() 1112 } 1113 func (m *MsgSubmitBadSignatureEvidence) XXX_DiscardUnknown() { 1114 xxx_messageInfo_MsgSubmitBadSignatureEvidence.DiscardUnknown(m) 1115 } 1116 1117 var xxx_messageInfo_MsgSubmitBadSignatureEvidence proto.InternalMessageInfo 1118 1119 func (m *MsgSubmitBadSignatureEvidence) GetSubject() *types1.Any { 1120 if m != nil { 1121 return m.Subject 1122 } 1123 return nil 1124 } 1125 1126 func (m *MsgSubmitBadSignatureEvidence) GetSignature() string { 1127 if m != nil { 1128 return m.Signature 1129 } 1130 return "" 1131 } 1132 1133 func (m *MsgSubmitBadSignatureEvidence) GetSender() string { 1134 if m != nil { 1135 return m.Sender 1136 } 1137 return "" 1138 } 1139 1140 type MsgSubmitBadSignatureEvidenceResponse struct { 1141 } 1142 1143 func (m *MsgSubmitBadSignatureEvidenceResponse) Reset() { *m = MsgSubmitBadSignatureEvidenceResponse{} } 1144 func (m *MsgSubmitBadSignatureEvidenceResponse) String() string { return proto.CompactTextString(m) } 1145 func (*MsgSubmitBadSignatureEvidenceResponse) ProtoMessage() {} 1146 func (*MsgSubmitBadSignatureEvidenceResponse) Descriptor() ([]byte, []int) { 1147 return fileDescriptor_751daa04abed7ef4, []int{19} 1148 } 1149 func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_Unmarshal(b []byte) error { 1150 return m.Unmarshal(b) 1151 } 1152 func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1153 if deterministic { 1154 return xxx_messageInfo_MsgSubmitBadSignatureEvidenceResponse.Marshal(b, m, deterministic) 1155 } else { 1156 b = b[:cap(b)] 1157 n, err := m.MarshalToSizedBuffer(b) 1158 if err != nil { 1159 return nil, err 1160 } 1161 return b[:n], nil 1162 } 1163 } 1164 func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_Merge(src proto.Message) { 1165 xxx_messageInfo_MsgSubmitBadSignatureEvidenceResponse.Merge(m, src) 1166 } 1167 func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_Size() int { 1168 return m.Size() 1169 } 1170 func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_DiscardUnknown() { 1171 xxx_messageInfo_MsgSubmitBadSignatureEvidenceResponse.DiscardUnknown(m) 1172 } 1173 1174 var xxx_messageInfo_MsgSubmitBadSignatureEvidenceResponse proto.InternalMessageInfo 1175 1176 // This informs the Cosmos module that a validator 1177 // set has been updated. 1178 type MsgValsetUpdatedClaim struct { 1179 EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` 1180 ValsetNonce uint64 `protobuf:"varint,2,opt,name=valset_nonce,json=valsetNonce,proto3" json:"valset_nonce,omitempty"` 1181 BlockHeight uint64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` 1182 Members []*BridgeValidator `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"` 1183 RewardAmount cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=reward_amount,json=rewardAmount,proto3,customtype=cosmossdk.io/math.Int" json:"reward_amount"` 1184 RewardToken string `protobuf:"bytes,6,opt,name=reward_token,json=rewardToken,proto3" json:"reward_token,omitempty"` 1185 Orchestrator string `protobuf:"bytes,7,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"` 1186 } 1187 1188 func (m *MsgValsetUpdatedClaim) Reset() { *m = MsgValsetUpdatedClaim{} } 1189 func (m *MsgValsetUpdatedClaim) String() string { return proto.CompactTextString(m) } 1190 func (*MsgValsetUpdatedClaim) ProtoMessage() {} 1191 func (*MsgValsetUpdatedClaim) Descriptor() ([]byte, []int) { 1192 return fileDescriptor_751daa04abed7ef4, []int{20} 1193 } 1194 func (m *MsgValsetUpdatedClaim) XXX_Unmarshal(b []byte) error { 1195 return m.Unmarshal(b) 1196 } 1197 func (m *MsgValsetUpdatedClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1198 if deterministic { 1199 return xxx_messageInfo_MsgValsetUpdatedClaim.Marshal(b, m, deterministic) 1200 } else { 1201 b = b[:cap(b)] 1202 n, err := m.MarshalToSizedBuffer(b) 1203 if err != nil { 1204 return nil, err 1205 } 1206 return b[:n], nil 1207 } 1208 } 1209 func (m *MsgValsetUpdatedClaim) XXX_Merge(src proto.Message) { 1210 xxx_messageInfo_MsgValsetUpdatedClaim.Merge(m, src) 1211 } 1212 func (m *MsgValsetUpdatedClaim) XXX_Size() int { 1213 return m.Size() 1214 } 1215 func (m *MsgValsetUpdatedClaim) XXX_DiscardUnknown() { 1216 xxx_messageInfo_MsgValsetUpdatedClaim.DiscardUnknown(m) 1217 } 1218 1219 var xxx_messageInfo_MsgValsetUpdatedClaim proto.InternalMessageInfo 1220 1221 func (m *MsgValsetUpdatedClaim) GetEventNonce() uint64 { 1222 if m != nil { 1223 return m.EventNonce 1224 } 1225 return 0 1226 } 1227 1228 func (m *MsgValsetUpdatedClaim) GetValsetNonce() uint64 { 1229 if m != nil { 1230 return m.ValsetNonce 1231 } 1232 return 0 1233 } 1234 1235 func (m *MsgValsetUpdatedClaim) GetBlockHeight() uint64 { 1236 if m != nil { 1237 return m.BlockHeight 1238 } 1239 return 0 1240 } 1241 1242 func (m *MsgValsetUpdatedClaim) GetMembers() []*BridgeValidator { 1243 if m != nil { 1244 return m.Members 1245 } 1246 return nil 1247 } 1248 1249 func (m *MsgValsetUpdatedClaim) GetRewardToken() string { 1250 if m != nil { 1251 return m.RewardToken 1252 } 1253 return "" 1254 } 1255 1256 func (m *MsgValsetUpdatedClaim) GetOrchestrator() string { 1257 if m != nil { 1258 return m.Orchestrator 1259 } 1260 return "" 1261 } 1262 1263 type MsgValsetUpdatedClaimResponse struct { 1264 } 1265 1266 func (m *MsgValsetUpdatedClaimResponse) Reset() { *m = MsgValsetUpdatedClaimResponse{} } 1267 func (m *MsgValsetUpdatedClaimResponse) String() string { return proto.CompactTextString(m) } 1268 func (*MsgValsetUpdatedClaimResponse) ProtoMessage() {} 1269 func (*MsgValsetUpdatedClaimResponse) Descriptor() ([]byte, []int) { 1270 return fileDescriptor_751daa04abed7ef4, []int{21} 1271 } 1272 func (m *MsgValsetUpdatedClaimResponse) XXX_Unmarshal(b []byte) error { 1273 return m.Unmarshal(b) 1274 } 1275 func (m *MsgValsetUpdatedClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1276 if deterministic { 1277 return xxx_messageInfo_MsgValsetUpdatedClaimResponse.Marshal(b, m, deterministic) 1278 } else { 1279 b = b[:cap(b)] 1280 n, err := m.MarshalToSizedBuffer(b) 1281 if err != nil { 1282 return nil, err 1283 } 1284 return b[:n], nil 1285 } 1286 } 1287 func (m *MsgValsetUpdatedClaimResponse) XXX_Merge(src proto.Message) { 1288 xxx_messageInfo_MsgValsetUpdatedClaimResponse.Merge(m, src) 1289 } 1290 func (m *MsgValsetUpdatedClaimResponse) XXX_Size() int { 1291 return m.Size() 1292 } 1293 func (m *MsgValsetUpdatedClaimResponse) XXX_DiscardUnknown() { 1294 xxx_messageInfo_MsgValsetUpdatedClaimResponse.DiscardUnknown(m) 1295 } 1296 1297 var xxx_messageInfo_MsgValsetUpdatedClaimResponse proto.InternalMessageInfo 1298 1299 type MsgUpdateParams struct { 1300 // authority is the address of the governance account. 1301 Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` 1302 // params defines the peggy parameters to update. 1303 // 1304 // NOTE: All parameters must be supplied. 1305 Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` 1306 } 1307 1308 func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } 1309 func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } 1310 func (*MsgUpdateParams) ProtoMessage() {} 1311 func (*MsgUpdateParams) Descriptor() ([]byte, []int) { 1312 return fileDescriptor_751daa04abed7ef4, []int{22} 1313 } 1314 func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { 1315 return m.Unmarshal(b) 1316 } 1317 func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1318 if deterministic { 1319 return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) 1320 } else { 1321 b = b[:cap(b)] 1322 n, err := m.MarshalToSizedBuffer(b) 1323 if err != nil { 1324 return nil, err 1325 } 1326 return b[:n], nil 1327 } 1328 } 1329 func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { 1330 xxx_messageInfo_MsgUpdateParams.Merge(m, src) 1331 } 1332 func (m *MsgUpdateParams) XXX_Size() int { 1333 return m.Size() 1334 } 1335 func (m *MsgUpdateParams) XXX_DiscardUnknown() { 1336 xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) 1337 } 1338 1339 var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo 1340 1341 func (m *MsgUpdateParams) GetAuthority() string { 1342 if m != nil { 1343 return m.Authority 1344 } 1345 return "" 1346 } 1347 1348 func (m *MsgUpdateParams) GetParams() Params { 1349 if m != nil { 1350 return m.Params 1351 } 1352 return Params{} 1353 } 1354 1355 type MsgUpdateParamsResponse struct { 1356 } 1357 1358 func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } 1359 func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } 1360 func (*MsgUpdateParamsResponse) ProtoMessage() {} 1361 func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { 1362 return fileDescriptor_751daa04abed7ef4, []int{23} 1363 } 1364 func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { 1365 return m.Unmarshal(b) 1366 } 1367 func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1368 if deterministic { 1369 return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) 1370 } else { 1371 b = b[:cap(b)] 1372 n, err := m.MarshalToSizedBuffer(b) 1373 if err != nil { 1374 return nil, err 1375 } 1376 return b[:n], nil 1377 } 1378 } 1379 func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { 1380 xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) 1381 } 1382 func (m *MsgUpdateParamsResponse) XXX_Size() int { 1383 return m.Size() 1384 } 1385 func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { 1386 xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) 1387 } 1388 1389 var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo 1390 1391 // MsgBlacklistEthereumAddresses defines the message used to add Ethereum 1392 // addresses to peggy blacklist. 1393 type MsgBlacklistEthereumAddresses struct { 1394 // signer address 1395 Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` 1396 // Ethereum addresses to include in the blacklist 1397 BlacklistAddresses []string `protobuf:"bytes,2,rep,name=blacklist_addresses,json=blacklistAddresses,proto3" json:"blacklist_addresses,omitempty"` 1398 } 1399 1400 func (m *MsgBlacklistEthereumAddresses) Reset() { *m = MsgBlacklistEthereumAddresses{} } 1401 func (m *MsgBlacklistEthereumAddresses) String() string { return proto.CompactTextString(m) } 1402 func (*MsgBlacklistEthereumAddresses) ProtoMessage() {} 1403 func (*MsgBlacklistEthereumAddresses) Descriptor() ([]byte, []int) { 1404 return fileDescriptor_751daa04abed7ef4, []int{24} 1405 } 1406 func (m *MsgBlacklistEthereumAddresses) XXX_Unmarshal(b []byte) error { 1407 return m.Unmarshal(b) 1408 } 1409 func (m *MsgBlacklistEthereumAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1410 if deterministic { 1411 return xxx_messageInfo_MsgBlacklistEthereumAddresses.Marshal(b, m, deterministic) 1412 } else { 1413 b = b[:cap(b)] 1414 n, err := m.MarshalToSizedBuffer(b) 1415 if err != nil { 1416 return nil, err 1417 } 1418 return b[:n], nil 1419 } 1420 } 1421 func (m *MsgBlacklistEthereumAddresses) XXX_Merge(src proto.Message) { 1422 xxx_messageInfo_MsgBlacklistEthereumAddresses.Merge(m, src) 1423 } 1424 func (m *MsgBlacklistEthereumAddresses) XXX_Size() int { 1425 return m.Size() 1426 } 1427 func (m *MsgBlacklistEthereumAddresses) XXX_DiscardUnknown() { 1428 xxx_messageInfo_MsgBlacklistEthereumAddresses.DiscardUnknown(m) 1429 } 1430 1431 var xxx_messageInfo_MsgBlacklistEthereumAddresses proto.InternalMessageInfo 1432 1433 func (m *MsgBlacklistEthereumAddresses) GetSigner() string { 1434 if m != nil { 1435 return m.Signer 1436 } 1437 return "" 1438 } 1439 1440 func (m *MsgBlacklistEthereumAddresses) GetBlacklistAddresses() []string { 1441 if m != nil { 1442 return m.BlacklistAddresses 1443 } 1444 return nil 1445 } 1446 1447 // MsgBlacklistEthereumAddressesResponse defines the 1448 // MsgBlacklistEthereumAddresses response type. 1449 type MsgBlacklistEthereumAddressesResponse struct { 1450 } 1451 1452 func (m *MsgBlacklistEthereumAddressesResponse) Reset() { *m = MsgBlacklistEthereumAddressesResponse{} } 1453 func (m *MsgBlacklistEthereumAddressesResponse) String() string { return proto.CompactTextString(m) } 1454 func (*MsgBlacklistEthereumAddressesResponse) ProtoMessage() {} 1455 func (*MsgBlacklistEthereumAddressesResponse) Descriptor() ([]byte, []int) { 1456 return fileDescriptor_751daa04abed7ef4, []int{25} 1457 } 1458 func (m *MsgBlacklistEthereumAddressesResponse) XXX_Unmarshal(b []byte) error { 1459 return m.Unmarshal(b) 1460 } 1461 func (m *MsgBlacklistEthereumAddressesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1462 if deterministic { 1463 return xxx_messageInfo_MsgBlacklistEthereumAddressesResponse.Marshal(b, m, deterministic) 1464 } else { 1465 b = b[:cap(b)] 1466 n, err := m.MarshalToSizedBuffer(b) 1467 if err != nil { 1468 return nil, err 1469 } 1470 return b[:n], nil 1471 } 1472 } 1473 func (m *MsgBlacklistEthereumAddressesResponse) XXX_Merge(src proto.Message) { 1474 xxx_messageInfo_MsgBlacklistEthereumAddressesResponse.Merge(m, src) 1475 } 1476 func (m *MsgBlacklistEthereumAddressesResponse) XXX_Size() int { 1477 return m.Size() 1478 } 1479 func (m *MsgBlacklistEthereumAddressesResponse) XXX_DiscardUnknown() { 1480 xxx_messageInfo_MsgBlacklistEthereumAddressesResponse.DiscardUnknown(m) 1481 } 1482 1483 var xxx_messageInfo_MsgBlacklistEthereumAddressesResponse proto.InternalMessageInfo 1484 1485 // MsgRevokeEthereumBlacklist defines the message used to remove Ethereum 1486 // addresses from peggy blacklist. 1487 type MsgRevokeEthereumBlacklist struct { 1488 // signer address 1489 Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` 1490 // Ethereum addresses to include in the blacklist 1491 BlacklistAddresses []string `protobuf:"bytes,2,rep,name=blacklist_addresses,json=blacklistAddresses,proto3" json:"blacklist_addresses,omitempty"` 1492 } 1493 1494 func (m *MsgRevokeEthereumBlacklist) Reset() { *m = MsgRevokeEthereumBlacklist{} } 1495 func (m *MsgRevokeEthereumBlacklist) String() string { return proto.CompactTextString(m) } 1496 func (*MsgRevokeEthereumBlacklist) ProtoMessage() {} 1497 func (*MsgRevokeEthereumBlacklist) Descriptor() ([]byte, []int) { 1498 return fileDescriptor_751daa04abed7ef4, []int{26} 1499 } 1500 func (m *MsgRevokeEthereumBlacklist) XXX_Unmarshal(b []byte) error { 1501 return m.Unmarshal(b) 1502 } 1503 func (m *MsgRevokeEthereumBlacklist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1504 if deterministic { 1505 return xxx_messageInfo_MsgRevokeEthereumBlacklist.Marshal(b, m, deterministic) 1506 } else { 1507 b = b[:cap(b)] 1508 n, err := m.MarshalToSizedBuffer(b) 1509 if err != nil { 1510 return nil, err 1511 } 1512 return b[:n], nil 1513 } 1514 } 1515 func (m *MsgRevokeEthereumBlacklist) XXX_Merge(src proto.Message) { 1516 xxx_messageInfo_MsgRevokeEthereumBlacklist.Merge(m, src) 1517 } 1518 func (m *MsgRevokeEthereumBlacklist) XXX_Size() int { 1519 return m.Size() 1520 } 1521 func (m *MsgRevokeEthereumBlacklist) XXX_DiscardUnknown() { 1522 xxx_messageInfo_MsgRevokeEthereumBlacklist.DiscardUnknown(m) 1523 } 1524 1525 var xxx_messageInfo_MsgRevokeEthereumBlacklist proto.InternalMessageInfo 1526 1527 func (m *MsgRevokeEthereumBlacklist) GetSigner() string { 1528 if m != nil { 1529 return m.Signer 1530 } 1531 return "" 1532 } 1533 1534 func (m *MsgRevokeEthereumBlacklist) GetBlacklistAddresses() []string { 1535 if m != nil { 1536 return m.BlacklistAddresses 1537 } 1538 return nil 1539 } 1540 1541 // MsgRevokeEthereumBlacklistResponse defines the MsgRevokeEthereumBlacklist 1542 // response type. 1543 type MsgRevokeEthereumBlacklistResponse struct { 1544 } 1545 1546 func (m *MsgRevokeEthereumBlacklistResponse) Reset() { *m = MsgRevokeEthereumBlacklistResponse{} } 1547 func (m *MsgRevokeEthereumBlacklistResponse) String() string { return proto.CompactTextString(m) } 1548 func (*MsgRevokeEthereumBlacklistResponse) ProtoMessage() {} 1549 func (*MsgRevokeEthereumBlacklistResponse) Descriptor() ([]byte, []int) { 1550 return fileDescriptor_751daa04abed7ef4, []int{27} 1551 } 1552 func (m *MsgRevokeEthereumBlacklistResponse) XXX_Unmarshal(b []byte) error { 1553 return m.Unmarshal(b) 1554 } 1555 func (m *MsgRevokeEthereumBlacklistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1556 if deterministic { 1557 return xxx_messageInfo_MsgRevokeEthereumBlacklistResponse.Marshal(b, m, deterministic) 1558 } else { 1559 b = b[:cap(b)] 1560 n, err := m.MarshalToSizedBuffer(b) 1561 if err != nil { 1562 return nil, err 1563 } 1564 return b[:n], nil 1565 } 1566 } 1567 func (m *MsgRevokeEthereumBlacklistResponse) XXX_Merge(src proto.Message) { 1568 xxx_messageInfo_MsgRevokeEthereumBlacklistResponse.Merge(m, src) 1569 } 1570 func (m *MsgRevokeEthereumBlacklistResponse) XXX_Size() int { 1571 return m.Size() 1572 } 1573 func (m *MsgRevokeEthereumBlacklistResponse) XXX_DiscardUnknown() { 1574 xxx_messageInfo_MsgRevokeEthereumBlacklistResponse.DiscardUnknown(m) 1575 } 1576 1577 var xxx_messageInfo_MsgRevokeEthereumBlacklistResponse proto.InternalMessageInfo 1578 1579 func init() { 1580 proto.RegisterType((*MsgSetOrchestratorAddresses)(nil), "injective.peggy.v1.MsgSetOrchestratorAddresses") 1581 proto.RegisterType((*MsgSetOrchestratorAddressesResponse)(nil), "injective.peggy.v1.MsgSetOrchestratorAddressesResponse") 1582 proto.RegisterType((*MsgValsetConfirm)(nil), "injective.peggy.v1.MsgValsetConfirm") 1583 proto.RegisterType((*MsgValsetConfirmResponse)(nil), "injective.peggy.v1.MsgValsetConfirmResponse") 1584 proto.RegisterType((*MsgSendToEth)(nil), "injective.peggy.v1.MsgSendToEth") 1585 proto.RegisterType((*MsgSendToEthResponse)(nil), "injective.peggy.v1.MsgSendToEthResponse") 1586 proto.RegisterType((*MsgRequestBatch)(nil), "injective.peggy.v1.MsgRequestBatch") 1587 proto.RegisterType((*MsgRequestBatchResponse)(nil), "injective.peggy.v1.MsgRequestBatchResponse") 1588 proto.RegisterType((*MsgConfirmBatch)(nil), "injective.peggy.v1.MsgConfirmBatch") 1589 proto.RegisterType((*MsgConfirmBatchResponse)(nil), "injective.peggy.v1.MsgConfirmBatchResponse") 1590 proto.RegisterType((*MsgDepositClaim)(nil), "injective.peggy.v1.MsgDepositClaim") 1591 proto.RegisterType((*MsgDepositClaimResponse)(nil), "injective.peggy.v1.MsgDepositClaimResponse") 1592 proto.RegisterType((*MsgWithdrawClaim)(nil), "injective.peggy.v1.MsgWithdrawClaim") 1593 proto.RegisterType((*MsgWithdrawClaimResponse)(nil), "injective.peggy.v1.MsgWithdrawClaimResponse") 1594 proto.RegisterType((*MsgERC20DeployedClaim)(nil), "injective.peggy.v1.MsgERC20DeployedClaim") 1595 proto.RegisterType((*MsgERC20DeployedClaimResponse)(nil), "injective.peggy.v1.MsgERC20DeployedClaimResponse") 1596 proto.RegisterType((*MsgCancelSendToEth)(nil), "injective.peggy.v1.MsgCancelSendToEth") 1597 proto.RegisterType((*MsgCancelSendToEthResponse)(nil), "injective.peggy.v1.MsgCancelSendToEthResponse") 1598 proto.RegisterType((*MsgSubmitBadSignatureEvidence)(nil), "injective.peggy.v1.MsgSubmitBadSignatureEvidence") 1599 proto.RegisterType((*MsgSubmitBadSignatureEvidenceResponse)(nil), "injective.peggy.v1.MsgSubmitBadSignatureEvidenceResponse") 1600 proto.RegisterType((*MsgValsetUpdatedClaim)(nil), "injective.peggy.v1.MsgValsetUpdatedClaim") 1601 proto.RegisterType((*MsgValsetUpdatedClaimResponse)(nil), "injective.peggy.v1.MsgValsetUpdatedClaimResponse") 1602 proto.RegisterType((*MsgUpdateParams)(nil), "injective.peggy.v1.MsgUpdateParams") 1603 proto.RegisterType((*MsgUpdateParamsResponse)(nil), "injective.peggy.v1.MsgUpdateParamsResponse") 1604 proto.RegisterType((*MsgBlacklistEthereumAddresses)(nil), "injective.peggy.v1.MsgBlacklistEthereumAddresses") 1605 proto.RegisterType((*MsgBlacklistEthereumAddressesResponse)(nil), "injective.peggy.v1.MsgBlacklistEthereumAddressesResponse") 1606 proto.RegisterType((*MsgRevokeEthereumBlacklist)(nil), "injective.peggy.v1.MsgRevokeEthereumBlacklist") 1607 proto.RegisterType((*MsgRevokeEthereumBlacklistResponse)(nil), "injective.peggy.v1.MsgRevokeEthereumBlacklistResponse") 1608 } 1609 1610 func init() { proto.RegisterFile("injective/peggy/v1/msgs.proto", fileDescriptor_751daa04abed7ef4) } 1611 1612 var fileDescriptor_751daa04abed7ef4 = []byte{ 1613 // 1776 bytes of a gzipped FileDescriptorProto 1614 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4d, 0x6c, 0xdb, 0xc8, 1615 0x15, 0x36, 0x2d, 0xf9, 0x6f, 0x64, 0xc7, 0x09, 0xeb, 0x24, 0x32, 0x13, 0xcb, 0x36, 0x9d, 0xc4, 1616 0x8e, 0x93, 0x90, 0x96, 0xd3, 0x26, 0x8d, 0x81, 0x16, 0x88, 0x6c, 0x17, 0x0d, 0x5a, 0xa7, 0x85, 1617 0x9c, 0xa6, 0x40, 0x2f, 0xec, 0x88, 0x9c, 0x90, 0xac, 0x45, 0x8e, 0xca, 0x19, 0x29, 0xf5, 0xa1, 1618 0x40, 0x9a, 0x63, 0x7a, 0x68, 0x81, 0x1e, 0x8a, 0x1e, 0x7a, 0xda, 0xbd, 0x06, 0xc8, 0x61, 0x2f, 1619 0x9b, 0xc3, 0x9e, 0x76, 0x81, 0x1c, 0x83, 0xdd, 0xcb, 0x62, 0xb1, 0x08, 0x16, 0xc9, 0x02, 0x01, 1620 0xf6, 0xb4, 0xf7, 0xbd, 0x2c, 0x38, 0x33, 0xa4, 0x48, 0x89, 0x94, 0x65, 0xc0, 0x17, 0x43, 0xf3, 1621 0xe6, 0xbd, 0x99, 0xef, 0xfd, 0xce, 0x47, 0x83, 0x05, 0xd7, 0xff, 0x0b, 0x32, 0xa9, 0xdb, 0x41, 1622 0x7a, 0x0b, 0xd9, 0xf6, 0xa1, 0xde, 0xa9, 0xea, 0x1e, 0xb1, 0x89, 0xd6, 0x0a, 0x30, 0xc5, 0xb2, 1623 0x1c, 0x6f, 0x6b, 0x6c, 0x5b, 0xeb, 0x54, 0x95, 0x8a, 0x89, 0x89, 0x87, 0x89, 0xde, 0x80, 0x04, 1624 0xe9, 0x9d, 0x6a, 0x03, 0x51, 0x58, 0xd5, 0x4d, 0xec, 0xfa, 0xdc, 0x46, 0x99, 0xb3, 0xb1, 0x8d, 1625 0xd9, 0x4f, 0x3d, 0xfc, 0x25, 0xa4, 0x17, 0x6d, 0x8c, 0xed, 0x26, 0xd2, 0x61, 0xcb, 0xd5, 0xa1, 1626 0xef, 0x63, 0x0a, 0xa9, 0x8b, 0x7d, 0x71, 0x8f, 0x52, 0xc9, 0x80, 0x41, 0x0f, 0x5b, 0x28, 0xda, 1627 0x5f, 0xcc, 0xd8, 0x6f, 0xc1, 0x00, 0x7a, 0x91, 0xc2, 0xbc, 0x38, 0x9e, 0xad, 0x1a, 0xed, 0x47, 1628 0x3a, 0xf4, 0x0f, 0xc5, 0xd6, 0x79, 0x81, 0xd7, 0x23, 0xb6, 0xf0, 0x2e, 0xb2, 0xe1, 0x1b, 0x06, 1629 0xc7, 0xca, 0x17, 0x62, 0xeb, 0x0c, 0xf4, 0x5c, 0x1f, 0xeb, 0xec, 0x2f, 0x17, 0xa9, 0xcf, 0x25, 1630 0x70, 0x61, 0x8f, 0xd8, 0xfb, 0x88, 0xfe, 0x2e, 0x30, 0x1d, 0x44, 0x68, 0x00, 0x29, 0x0e, 0xee, 1631 0x5a, 0x56, 0x80, 0x08, 0x41, 0x44, 0x3e, 0x07, 0xc6, 0x09, 0xf2, 0x2d, 0x14, 0x94, 0xa5, 0x25, 1632 0x69, 0x6d, 0xaa, 0x2e, 0x56, 0xb2, 0x0a, 0xa6, 0x71, 0xc2, 0xa0, 0x3c, 0xca, 0x76, 0x53, 0x32, 1633 0x79, 0x11, 0x94, 0x10, 0x75, 0x0c, 0xc8, 0x0f, 0x2b, 0x17, 0x98, 0x0a, 0x40, 0xd4, 0x11, 0xc7, 1634 0x6f, 0x55, 0x9f, 0xbe, 0x7f, 0xb1, 0x2e, 0x4e, 0x7c, 0xf6, 0xfe, 0xc5, 0xfa, 0x32, 0x8f, 0xc2, 1635 0x00, 0x3c, 0xea, 0x65, 0xb0, 0x32, 0x60, 0xbb, 0x8e, 0x48, 0x0b, 0xfb, 0x04, 0xa9, 0x1f, 0x4b, 1636 0xe0, 0xf4, 0x1e, 0xb1, 0x1f, 0xc2, 0x26, 0x41, 0x74, 0x1b, 0xfb, 0x8f, 0xdc, 0xc0, 0x93, 0xe7, 1637 0xc0, 0x98, 0x8f, 0x7d, 0x13, 0x31, 0x57, 0x8a, 0x75, 0xbe, 0x38, 0x11, 0x4f, 0xe4, 0x8b, 0x60, 1638 0x8a, 0xb8, 0xb6, 0x0f, 0x69, 0x3b, 0x40, 0xe5, 0x22, 0xdb, 0xee, 0x0a, 0xb6, 0xae, 0x87, 0x7e, 1639 0xa6, 0x4e, 0x0c, 0xbd, 0x3d, 0x17, 0x7b, 0x9b, 0x82, 0xa9, 0x2a, 0xa0, 0xdc, 0x2b, 0x8b, 0xfd, 1640 0x7a, 0x23, 0x81, 0x69, 0xe6, 0xbf, 0x6f, 0x3d, 0xc0, 0xbb, 0xd4, 0xc9, 0xcd, 0xcf, 0x3c, 0x98, 1641 0x0c, 0x11, 0x5b, 0x88, 0x50, 0xe1, 0xd1, 0x04, 0xa2, 0xce, 0x0e, 0x22, 0x54, 0xbe, 0x0d, 0xc6, 1642 0xa1, 0x87, 0xdb, 0x3e, 0x65, 0x7e, 0x94, 0x36, 0xe7, 0x35, 0x51, 0x24, 0x61, 0xe9, 0x6b, 0xa2, 1643 0xf4, 0xb5, 0x6d, 0xec, 0xfa, 0xb5, 0xe2, 0xab, 0x37, 0x8b, 0x23, 0x75, 0xa1, 0x2e, 0xff, 0x12, 1644 0x80, 0x46, 0xe0, 0x5a, 0x36, 0x32, 0x1e, 0x21, 0xee, 0xe5, 0x10, 0xc6, 0x53, 0xdc, 0xe4, 0x57, 1645 0x08, 0x6d, 0xa9, 0x3d, 0xe9, 0x96, 0x13, 0xe9, 0x16, 0xfe, 0xa8, 0xe7, 0xc0, 0x5c, 0x72, 0x1d, 1646 0x3b, 0xfe, 0x37, 0x30, 0xbb, 0x47, 0xec, 0x3a, 0xfa, 0x6b, 0x1b, 0x11, 0x5a, 0x83, 0xd4, 0x74, 1647 0xfa, 0x12, 0x27, 0x65, 0x24, 0x6e, 0x0e, 0x8c, 0x59, 0xc8, 0xc7, 0x9e, 0x88, 0x01, 0x5f, 0x6c, 1648 0x5d, 0xcb, 0xcc, 0xc7, 0xd9, 0x18, 0x4e, 0xf2, 0x1a, 0x75, 0x1e, 0x9c, 0xef, 0x11, 0xc5, 0xa0, 1649 0xbe, 0x96, 0x18, 0x2a, 0x91, 0x24, 0x8e, 0x2a, 0xbb, 0xc8, 0x2e, 0x83, 0x53, 0x14, 0x1f, 0x20, 1650 0xdf, 0x30, 0xb1, 0x4f, 0x03, 0x68, 0x46, 0x49, 0x99, 0x61, 0xd2, 0x6d, 0x21, 0x94, 0x17, 0x40, 1651 0x58, 0x54, 0x46, 0x58, 0x39, 0x28, 0x10, 0x65, 0x36, 0x85, 0xa8, 0xb3, 0xcf, 0x04, 0x7d, 0x1e, 1652 0x17, 0x33, 0x3c, 0x4e, 0x55, 0xe2, 0x58, 0x6f, 0x25, 0x1e, 0xe5, 0x79, 0xd2, 0x15, 0xe1, 0x79, 1653 0x52, 0x14, 0x7b, 0xfe, 0xdd, 0x28, 0xf3, 0x7c, 0x07, 0xb5, 0x30, 0x71, 0xe9, 0x76, 0x13, 0xba, 1654 0x1e, 0x6b, 0x92, 0x0e, 0xf2, 0xa9, 0x91, 0xf4, 0x1f, 0x30, 0xd1, 0x7d, 0x16, 0x84, 0x65, 0x30, 1655 0xdd, 0x68, 0x62, 0xf3, 0xc0, 0x70, 0x90, 0x6b, 0x3b, 0x3c, 0x04, 0xc5, 0x7a, 0x89, 0xc9, 0x7e, 1656 0xcd, 0x44, 0x19, 0x71, 0x2a, 0x64, 0xc5, 0xe9, 0x67, 0x71, 0x09, 0xb3, 0x10, 0xd4, 0x16, 0xc2, 1657 0x52, 0xfb, 0xea, 0xcd, 0xe2, 0x59, 0x5e, 0x8c, 0xc4, 0x3a, 0xd0, 0x5c, 0xac, 0x7b, 0x90, 0x3a, 1658 0xda, 0x3d, 0x9f, 0xc6, 0x05, 0xbc, 0x0a, 0x66, 0x11, 0x75, 0x50, 0x80, 0xda, 0x9e, 0x21, 0xba, 1659 0x86, 0x47, 0xe8, 0x54, 0x24, 0xde, 0xe7, 0xdd, 0xb3, 0x0a, 0x66, 0xc5, 0x14, 0x0d, 0x90, 0x89, 1660 0xdc, 0x0e, 0x0a, 0xca, 0xe3, 0x5c, 0x91, 0x8b, 0xeb, 0x42, 0xda, 0x97, 0x91, 0x89, 0x8c, 0x8c, 1661 0xc8, 0xa0, 0x68, 0x41, 0x0a, 0xcb, 0x93, 0x6c, 0x8f, 0xfd, 0x3e, 0x32, 0x0f, 0xc9, 0xc0, 0x8a, 1662 0x3c, 0x24, 0x45, 0x71, 0x1e, 0xbe, 0xe7, 0x73, 0xee, 0x8f, 0x2e, 0x75, 0xac, 0x00, 0x3e, 0x3e, 1663 0xb9, 0x44, 0x2c, 0x82, 0x52, 0x23, 0xcc, 0xb8, 0x38, 0xa3, 0xc0, 0xcf, 0x60, 0xa2, 0xfb, 0x39, 1664 0x15, 0x5d, 0xcc, 0xca, 0x54, 0x6f, 0x80, 0xc6, 0xfa, 0x03, 0x74, 0xe4, 0x78, 0x4c, 0x79, 0x27, 1665 0xc6, 0x63, 0x4a, 0x16, 0x87, 0xe3, 0xd3, 0x51, 0x70, 0x76, 0x8f, 0xd8, 0xbb, 0xf5, 0xed, 0xcd, 1666 0x8d, 0x1d, 0xd4, 0x6a, 0xe2, 0x43, 0x64, 0x9d, 0x5c, 0x4c, 0x96, 0xc1, 0xb4, 0xa8, 0x0a, 0x3e, 1667 0x53, 0x78, 0x69, 0x96, 0xb8, 0x6c, 0x27, 0x14, 0x0d, 0x1b, 0x15, 0x19, 0x14, 0x7d, 0xe8, 0x45, 1668 0xfd, 0xc9, 0x7e, 0xb3, 0x49, 0x7e, 0xe8, 0x35, 0x70, 0x53, 0x94, 0x9a, 0x58, 0xc9, 0x0a, 0x98, 1669 0xb4, 0x90, 0xe9, 0x7a, 0xb0, 0x49, 0x58, 0x79, 0x15, 0xeb, 0xf1, 0xba, 0x2f, 0xba, 0x93, 0x19, 1670 0xd1, 0xad, 0x66, 0x46, 0xf7, 0x42, 0x1c, 0xdd, 0xfe, 0x60, 0xa9, 0x8b, 0x60, 0x21, 0x73, 0x23, 1671 0x8e, 0xf3, 0xdf, 0x81, 0x1c, 0x4e, 0x06, 0xe8, 0x9b, 0xa8, 0xd9, 0x7d, 0x8b, 0x42, 0xe7, 0x03, 1672 0xe8, 0x13, 0x68, 0x86, 0x24, 0xc8, 0x70, 0x2d, 0x11, 0xe6, 0x99, 0x84, 0xf4, 0x9e, 0x95, 0x78, 1673 0xb2, 0x46, 0x93, 0x4f, 0xd6, 0xd6, 0x5a, 0xcf, 0xf3, 0x50, 0xee, 0x4e, 0xa5, 0xf4, 0x45, 0xea, 1674 0x45, 0xa0, 0xf4, 0x4b, 0x63, 0x70, 0x2f, 0x25, 0x06, 0x7f, 0xbf, 0xdd, 0xf0, 0x5c, 0x5a, 0x83, 1675 0xd6, 0x7e, 0x34, 0xfd, 0x76, 0x3b, 0xae, 0x85, 0xc2, 0x5c, 0x6b, 0x60, 0x82, 0xb4, 0x1b, 0x21, 1676 0xf5, 0x62, 0x08, 0x4b, 0x9b, 0x73, 0x1a, 0x27, 0x5a, 0x5a, 0x44, 0xb4, 0xb4, 0xbb, 0xfe, 0x61, 1677 0x3d, 0x52, 0x4a, 0xcf, 0xd4, 0xd1, 0x9e, 0x99, 0x9a, 0xf0, 0xa7, 0x90, 0xf2, 0xe7, 0x66, 0x8f, 1678 0x3f, 0x2b, 0xdd, 0xe7, 0x2e, 0x17, 0x9a, 0xba, 0x0a, 0x2e, 0x0f, 0x54, 0x88, 0xbd, 0xfc, 0x81, 1679 0x97, 0x3a, 0xa7, 0x09, 0x7f, 0x68, 0x59, 0x90, 0x1e, 0xa7, 0xd4, 0x3b, 0xcc, 0x4c, 0x68, 0x88, 1680 0x52, 0xe7, 0xb2, 0xec, 0x6e, 0x28, 0xf4, 0x77, 0xc3, 0x2f, 0xc0, 0x84, 0x87, 0xbc, 0x06, 0x0a, 1681 0x48, 0xb9, 0xb8, 0x54, 0x58, 0x2b, 0x6d, 0xae, 0x68, 0xfd, 0xb4, 0x5a, 0xab, 0xb1, 0xd7, 0xff, 1682 0x21, 0x6c, 0xba, 0x56, 0x58, 0x7a, 0xf5, 0xc8, 0x46, 0xae, 0x81, 0x99, 0x00, 0x3d, 0x86, 0x81, 1683 0x65, 0x88, 0x49, 0x3e, 0x36, 0xcc, 0x24, 0x9f, 0xe6, 0x36, 0x77, 0xf9, 0x3c, 0x5f, 0x06, 0x62, 1684 0x6d, 0xb0, 0xf6, 0x12, 0x8d, 0x53, 0xe2, 0xb2, 0x07, 0xa1, 0x68, 0x98, 0x01, 0x7d, 0x64, 0x87, 1685 0xf4, 0xc7, 0x58, 0x74, 0x48, 0xff, 0x46, 0x9c, 0x9e, 0xe7, 0x9c, 0x1a, 0xf0, 0xbd, 0xdf, 0x33, 1686 0x4e, 0x2f, 0xdf, 0x02, 0x53, 0xb0, 0x4d, 0x1d, 0x1c, 0xb8, 0xf4, 0x90, 0xb3, 0x95, 0x5a, 0xf9, 1687 0xf3, 0x8f, 0x6e, 0xcc, 0x09, 0x06, 0x25, 0xb8, 0xe4, 0x3e, 0x0d, 0x5c, 0xdf, 0xae, 0x77, 0x55, 1688 0xe5, 0x9f, 0x83, 0x71, 0xfe, 0x55, 0xc0, 0x32, 0x55, 0xda, 0x54, 0xb2, 0x02, 0xcd, 0xef, 0x88, 1689 0x18, 0x1b, 0xd7, 0xe7, 0x2d, 0xd5, 0x3d, 0x29, 0xfd, 0xc6, 0x24, 0xb1, 0x89, 0x37, 0x26, 0x29, 1690 0x8a, 0x5d, 0xf9, 0x3f, 0xef, 0xa7, 0x5a, 0x13, 0x9a, 0x07, 0x4d, 0x97, 0xd0, 0x5d, 0xf1, 0x56, 1691 0xa6, 0x3f, 0x12, 0x38, 0x65, 0x89, 0x48, 0x28, 0xe7, 0x2b, 0x3a, 0xf8, 0x49, 0x23, 0xb2, 0x8a, 1692 0xc8, 0x33, 0x0a, 0xbd, 0x28, 0xac, 0x4d, 0xd5, 0xe5, 0x78, 0x2b, 0x3e, 0x28, 0x6a, 0x19, 0x66, 1693 0x9d, 0x6e, 0x99, 0xfc, 0xdb, 0x45, 0xcb, 0xe4, 0x2b, 0xc4, 0x8e, 0xfc, 0x57, 0x62, 0x73, 0xa3, 1694 0x8e, 0x3a, 0xf8, 0x00, 0x45, 0x6a, 0xb1, 0xdd, 0xc9, 0x79, 0xb1, 0xd1, 0xe3, 0xc5, 0x52, 0x82, 1695 0x58, 0x66, 0x5e, 0xad, 0x5e, 0x02, 0x6a, 0xfe, 0x6e, 0x84, 0x7f, 0xf3, 0x93, 0xd3, 0xa0, 0xb0, 1696 0x47, 0x6c, 0xf9, 0x5f, 0x12, 0x98, 0x49, 0x7f, 0xd9, 0x5c, 0xca, 0xaa, 0x88, 0xde, 0x8f, 0x08, 1697 0xe5, 0xfa, 0x30, 0x5a, 0x71, 0xb4, 0xd6, 0x9f, 0x7e, 0xf1, 0xed, 0x7f, 0x46, 0x2f, 0xa9, 0xaa, 1698 0x9e, 0xf1, 0x95, 0x2a, 0xe6, 0x87, 0x29, 0xee, 0x7f, 0x22, 0x81, 0xa9, 0xee, 0x3b, 0xb0, 0x94, 1699 0x73, 0x4f, 0xac, 0xa1, 0xac, 0x1d, 0xa5, 0x11, 0xa3, 0x58, 0x65, 0x28, 0x96, 0xd5, 0xc5, 0x2c, 1700 0x14, 0xe1, 0x6c, 0x35, 0x28, 0x36, 0x10, 0x75, 0xe4, 0x7f, 0x4a, 0x60, 0x3a, 0xf5, 0x79, 0xb0, 1701 0x92, 0x73, 0x47, 0x52, 0x49, 0xb9, 0x36, 0x84, 0x52, 0x8c, 0xe5, 0x2a, 0xc3, 0xb2, 0xa2, 0x2e, 1702 0x67, 0x61, 0x09, 0xb8, 0x85, 0xc1, 0x28, 0x12, 0x43, 0x93, 0xfa, 0x2c, 0xc8, 0x43, 0x93, 0x54, 1703 0xca, 0x45, 0x93, 0x49, 0xc1, 0x07, 0xa2, 0x11, 0x89, 0x49, 0xa0, 0x49, 0x51, 0xf5, 0x3c, 0x34, 1704 0x49, 0xa5, 0x5c, 0x34, 0x99, 0x44, 0x74, 0x20, 0x1a, 0x8b, 0x5b, 0x18, 0x26, 0xbb, 0x3c, 0x2c, 1705 0xdf, 0x34, 0x61, 0xcd, 0x2b, 0xdf, 0x94, 0x56, 0x6e, 0xf9, 0x66, 0x53, 0xc1, 0x81, 0xe5, 0xfb, 1706 0x58, 0x98, 0x08, 0x44, 0x1f, 0x48, 0xe0, 0x4c, 0x72, 0x96, 0x73, 0x54, 0x57, 0x07, 0xb6, 0x4b, 1707 0x72, 0xea, 0x2b, 0xd5, 0xa1, 0x55, 0x63, 0x7c, 0x1b, 0x0c, 0xdf, 0xba, 0xba, 0x36, 0xa0, 0xbd, 1708 0xda, 0xdc, 0x50, 0xa0, 0xfc, 0x50, 0x02, 0x72, 0x06, 0xb3, 0xcd, 0x83, 0xd9, 0xaf, 0x9a, 0x0b, 1709 0x73, 0x00, 0xd3, 0x1b, 0x08, 0x13, 0x05, 0xe6, 0xe6, 0x86, 0x61, 0x09, 0x43, 0x01, 0xf3, 0xa5, 1710 0x04, 0xca, 0xb9, 0xff, 0x4e, 0xd2, 0x73, 0x1b, 0x3f, 0xdb, 0x40, 0xb9, 0x7d, 0x4c, 0x83, 0x18, 1711 0xf8, 0x4f, 0x19, 0x70, 0x4d, 0xbd, 0x9e, 0x3d, 0x38, 0xa8, 0x91, 0x7c, 0xef, 0xa3, 0xb1, 0x2e, 1712 0xff, 0x4f, 0x02, 0xb3, 0xbd, 0xb4, 0xf6, 0x4a, 0x5e, 0x57, 0xa6, 0xf5, 0x14, 0x6d, 0x38, 0xbd, 1713 0x18, 0xa1, 0xc6, 0x10, 0xae, 0xa9, 0x57, 0x32, 0x1b, 0x98, 0x19, 0x19, 0xc9, 0x09, 0xf7, 0x99, 1714 0x04, 0x94, 0x01, 0xa4, 0x36, 0x2f, 0xb9, 0xf9, 0x26, 0xca, 0x9d, 0x63, 0x9b, 0xc4, 0xe0, 0xef, 1715 0x30, 0xf0, 0x37, 0xd5, 0x6a, 0x66, 0x78, 0x99, 0xbd, 0xd1, 0x80, 0x96, 0x11, 0xd3, 0x64, 0x03, 1716 0x45, 0x40, 0xff, 0x0c, 0xa6, 0x53, 0xb4, 0x28, 0x6f, 0x18, 0x25, 0x95, 0x72, 0x87, 0x51, 0x16, 1717 0x63, 0x91, 0x9f, 0x49, 0x40, 0x19, 0x40, 0x57, 0xf2, 0x22, 0x95, 0x6f, 0x92, 0x1b, 0xa9, 0xa3, 1718 0x59, 0x87, 0xfc, 0x0f, 0x09, 0x9c, 0xcf, 0xa3, 0x1c, 0x5a, 0xee, 0xf3, 0x93, 0xa9, 0xaf, 0xdc, 1719 0x3a, 0x9e, 0x7e, 0x84, 0x41, 0x19, 0x7b, 0xf2, 0xfe, 0xc5, 0xba, 0x54, 0x43, 0xaf, 0xde, 0x56, 1720 0xa4, 0xd7, 0x6f, 0x2b, 0xd2, 0x37, 0x6f, 0x2b, 0xd2, 0xbf, 0xdf, 0x55, 0x46, 0x5e, 0xbf, 0xab, 1721 0x8c, 0x7c, 0xf9, 0xae, 0x32, 0xf2, 0xa7, 0xdf, 0xd8, 0x2e, 0x75, 0xda, 0x0d, 0xcd, 0xc4, 0x9e, 1722 0x7e, 0x2f, 0xba, 0xe2, 0xb7, 0xb0, 0x41, 0xba, 0xe9, 0xbd, 0x61, 0xe2, 0x00, 0x25, 0x97, 0x0e, 1723 0x74, 0x7d, 0xdd, 0xc3, 0x56, 0xbb, 0x89, 0x88, 0xc8, 0x3d, 0xfb, 0xe7, 0x76, 0x63, 0x9c, 0x7d, 1724 0x45, 0xdd, 0xfc, 0x31, 0x00, 0x00, 0xff, 0xff, 0x97, 0x47, 0xe3, 0xea, 0x86, 0x17, 0x00, 0x00, 1725 } 1726 1727 // Reference imports to suppress errors if they are not otherwise used. 1728 var _ context.Context 1729 var _ grpc.ClientConn 1730 1731 // This is a compile-time assertion to ensure that this generated file 1732 // is compatible with the grpc package it is being compiled against. 1733 const _ = grpc.SupportPackageIsVersion4 1734 1735 // MsgClient is the client API for Msg service. 1736 // 1737 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1738 type MsgClient interface { 1739 ValsetConfirm(ctx context.Context, in *MsgValsetConfirm, opts ...grpc.CallOption) (*MsgValsetConfirmResponse, error) 1740 SendToEth(ctx context.Context, in *MsgSendToEth, opts ...grpc.CallOption) (*MsgSendToEthResponse, error) 1741 RequestBatch(ctx context.Context, in *MsgRequestBatch, opts ...grpc.CallOption) (*MsgRequestBatchResponse, error) 1742 ConfirmBatch(ctx context.Context, in *MsgConfirmBatch, opts ...grpc.CallOption) (*MsgConfirmBatchResponse, error) 1743 DepositClaim(ctx context.Context, in *MsgDepositClaim, opts ...grpc.CallOption) (*MsgDepositClaimResponse, error) 1744 WithdrawClaim(ctx context.Context, in *MsgWithdrawClaim, opts ...grpc.CallOption) (*MsgWithdrawClaimResponse, error) 1745 ValsetUpdateClaim(ctx context.Context, in *MsgValsetUpdatedClaim, opts ...grpc.CallOption) (*MsgValsetUpdatedClaimResponse, error) 1746 ERC20DeployedClaim(ctx context.Context, in *MsgERC20DeployedClaim, opts ...grpc.CallOption) (*MsgERC20DeployedClaimResponse, error) 1747 SetOrchestratorAddresses(ctx context.Context, in *MsgSetOrchestratorAddresses, opts ...grpc.CallOption) (*MsgSetOrchestratorAddressesResponse, error) 1748 CancelSendToEth(ctx context.Context, in *MsgCancelSendToEth, opts ...grpc.CallOption) (*MsgCancelSendToEthResponse, error) 1749 SubmitBadSignatureEvidence(ctx context.Context, in *MsgSubmitBadSignatureEvidence, opts ...grpc.CallOption) (*MsgSubmitBadSignatureEvidenceResponse, error) 1750 UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) 1751 // BlacklistEthereumAddresses adds Ethereum addresses to the peggy blacklist. 1752 BlacklistEthereumAddresses(ctx context.Context, in *MsgBlacklistEthereumAddresses, opts ...grpc.CallOption) (*MsgBlacklistEthereumAddressesResponse, error) 1753 // RevokeEthereumBlacklist removes Ethereum addresses from the peggy 1754 // blacklist. 1755 RevokeEthereumBlacklist(ctx context.Context, in *MsgRevokeEthereumBlacklist, opts ...grpc.CallOption) (*MsgRevokeEthereumBlacklistResponse, error) 1756 } 1757 1758 type msgClient struct { 1759 cc grpc1.ClientConn 1760 } 1761 1762 func NewMsgClient(cc grpc1.ClientConn) MsgClient { 1763 return &msgClient{cc} 1764 } 1765 1766 func (c *msgClient) ValsetConfirm(ctx context.Context, in *MsgValsetConfirm, opts ...grpc.CallOption) (*MsgValsetConfirmResponse, error) { 1767 out := new(MsgValsetConfirmResponse) 1768 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/ValsetConfirm", in, out, opts...) 1769 if err != nil { 1770 return nil, err 1771 } 1772 return out, nil 1773 } 1774 1775 func (c *msgClient) SendToEth(ctx context.Context, in *MsgSendToEth, opts ...grpc.CallOption) (*MsgSendToEthResponse, error) { 1776 out := new(MsgSendToEthResponse) 1777 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/SendToEth", in, out, opts...) 1778 if err != nil { 1779 return nil, err 1780 } 1781 return out, nil 1782 } 1783 1784 func (c *msgClient) RequestBatch(ctx context.Context, in *MsgRequestBatch, opts ...grpc.CallOption) (*MsgRequestBatchResponse, error) { 1785 out := new(MsgRequestBatchResponse) 1786 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/RequestBatch", in, out, opts...) 1787 if err != nil { 1788 return nil, err 1789 } 1790 return out, nil 1791 } 1792 1793 func (c *msgClient) ConfirmBatch(ctx context.Context, in *MsgConfirmBatch, opts ...grpc.CallOption) (*MsgConfirmBatchResponse, error) { 1794 out := new(MsgConfirmBatchResponse) 1795 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/ConfirmBatch", in, out, opts...) 1796 if err != nil { 1797 return nil, err 1798 } 1799 return out, nil 1800 } 1801 1802 func (c *msgClient) DepositClaim(ctx context.Context, in *MsgDepositClaim, opts ...grpc.CallOption) (*MsgDepositClaimResponse, error) { 1803 out := new(MsgDepositClaimResponse) 1804 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/DepositClaim", in, out, opts...) 1805 if err != nil { 1806 return nil, err 1807 } 1808 return out, nil 1809 } 1810 1811 func (c *msgClient) WithdrawClaim(ctx context.Context, in *MsgWithdrawClaim, opts ...grpc.CallOption) (*MsgWithdrawClaimResponse, error) { 1812 out := new(MsgWithdrawClaimResponse) 1813 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/WithdrawClaim", in, out, opts...) 1814 if err != nil { 1815 return nil, err 1816 } 1817 return out, nil 1818 } 1819 1820 func (c *msgClient) ValsetUpdateClaim(ctx context.Context, in *MsgValsetUpdatedClaim, opts ...grpc.CallOption) (*MsgValsetUpdatedClaimResponse, error) { 1821 out := new(MsgValsetUpdatedClaimResponse) 1822 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/ValsetUpdateClaim", in, out, opts...) 1823 if err != nil { 1824 return nil, err 1825 } 1826 return out, nil 1827 } 1828 1829 func (c *msgClient) ERC20DeployedClaim(ctx context.Context, in *MsgERC20DeployedClaim, opts ...grpc.CallOption) (*MsgERC20DeployedClaimResponse, error) { 1830 out := new(MsgERC20DeployedClaimResponse) 1831 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/ERC20DeployedClaim", in, out, opts...) 1832 if err != nil { 1833 return nil, err 1834 } 1835 return out, nil 1836 } 1837 1838 func (c *msgClient) SetOrchestratorAddresses(ctx context.Context, in *MsgSetOrchestratorAddresses, opts ...grpc.CallOption) (*MsgSetOrchestratorAddressesResponse, error) { 1839 out := new(MsgSetOrchestratorAddressesResponse) 1840 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/SetOrchestratorAddresses", in, out, opts...) 1841 if err != nil { 1842 return nil, err 1843 } 1844 return out, nil 1845 } 1846 1847 func (c *msgClient) CancelSendToEth(ctx context.Context, in *MsgCancelSendToEth, opts ...grpc.CallOption) (*MsgCancelSendToEthResponse, error) { 1848 out := new(MsgCancelSendToEthResponse) 1849 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/CancelSendToEth", in, out, opts...) 1850 if err != nil { 1851 return nil, err 1852 } 1853 return out, nil 1854 } 1855 1856 func (c *msgClient) SubmitBadSignatureEvidence(ctx context.Context, in *MsgSubmitBadSignatureEvidence, opts ...grpc.CallOption) (*MsgSubmitBadSignatureEvidenceResponse, error) { 1857 out := new(MsgSubmitBadSignatureEvidenceResponse) 1858 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/SubmitBadSignatureEvidence", in, out, opts...) 1859 if err != nil { 1860 return nil, err 1861 } 1862 return out, nil 1863 } 1864 1865 func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { 1866 out := new(MsgUpdateParamsResponse) 1867 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/UpdateParams", in, out, opts...) 1868 if err != nil { 1869 return nil, err 1870 } 1871 return out, nil 1872 } 1873 1874 func (c *msgClient) BlacklistEthereumAddresses(ctx context.Context, in *MsgBlacklistEthereumAddresses, opts ...grpc.CallOption) (*MsgBlacklistEthereumAddressesResponse, error) { 1875 out := new(MsgBlacklistEthereumAddressesResponse) 1876 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/BlacklistEthereumAddresses", in, out, opts...) 1877 if err != nil { 1878 return nil, err 1879 } 1880 return out, nil 1881 } 1882 1883 func (c *msgClient) RevokeEthereumBlacklist(ctx context.Context, in *MsgRevokeEthereumBlacklist, opts ...grpc.CallOption) (*MsgRevokeEthereumBlacklistResponse, error) { 1884 out := new(MsgRevokeEthereumBlacklistResponse) 1885 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Msg/RevokeEthereumBlacklist", in, out, opts...) 1886 if err != nil { 1887 return nil, err 1888 } 1889 return out, nil 1890 } 1891 1892 // MsgServer is the server API for Msg service. 1893 type MsgServer interface { 1894 ValsetConfirm(context.Context, *MsgValsetConfirm) (*MsgValsetConfirmResponse, error) 1895 SendToEth(context.Context, *MsgSendToEth) (*MsgSendToEthResponse, error) 1896 RequestBatch(context.Context, *MsgRequestBatch) (*MsgRequestBatchResponse, error) 1897 ConfirmBatch(context.Context, *MsgConfirmBatch) (*MsgConfirmBatchResponse, error) 1898 DepositClaim(context.Context, *MsgDepositClaim) (*MsgDepositClaimResponse, error) 1899 WithdrawClaim(context.Context, *MsgWithdrawClaim) (*MsgWithdrawClaimResponse, error) 1900 ValsetUpdateClaim(context.Context, *MsgValsetUpdatedClaim) (*MsgValsetUpdatedClaimResponse, error) 1901 ERC20DeployedClaim(context.Context, *MsgERC20DeployedClaim) (*MsgERC20DeployedClaimResponse, error) 1902 SetOrchestratorAddresses(context.Context, *MsgSetOrchestratorAddresses) (*MsgSetOrchestratorAddressesResponse, error) 1903 CancelSendToEth(context.Context, *MsgCancelSendToEth) (*MsgCancelSendToEthResponse, error) 1904 SubmitBadSignatureEvidence(context.Context, *MsgSubmitBadSignatureEvidence) (*MsgSubmitBadSignatureEvidenceResponse, error) 1905 UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) 1906 // BlacklistEthereumAddresses adds Ethereum addresses to the peggy blacklist. 1907 BlacklistEthereumAddresses(context.Context, *MsgBlacklistEthereumAddresses) (*MsgBlacklistEthereumAddressesResponse, error) 1908 // RevokeEthereumBlacklist removes Ethereum addresses from the peggy 1909 // blacklist. 1910 RevokeEthereumBlacklist(context.Context, *MsgRevokeEthereumBlacklist) (*MsgRevokeEthereumBlacklistResponse, error) 1911 } 1912 1913 // UnimplementedMsgServer can be embedded to have forward compatible implementations. 1914 type UnimplementedMsgServer struct { 1915 } 1916 1917 func (*UnimplementedMsgServer) ValsetConfirm(ctx context.Context, req *MsgValsetConfirm) (*MsgValsetConfirmResponse, error) { 1918 return nil, status.Errorf(codes.Unimplemented, "method ValsetConfirm not implemented") 1919 } 1920 func (*UnimplementedMsgServer) SendToEth(ctx context.Context, req *MsgSendToEth) (*MsgSendToEthResponse, error) { 1921 return nil, status.Errorf(codes.Unimplemented, "method SendToEth not implemented") 1922 } 1923 func (*UnimplementedMsgServer) RequestBatch(ctx context.Context, req *MsgRequestBatch) (*MsgRequestBatchResponse, error) { 1924 return nil, status.Errorf(codes.Unimplemented, "method RequestBatch not implemented") 1925 } 1926 func (*UnimplementedMsgServer) ConfirmBatch(ctx context.Context, req *MsgConfirmBatch) (*MsgConfirmBatchResponse, error) { 1927 return nil, status.Errorf(codes.Unimplemented, "method ConfirmBatch not implemented") 1928 } 1929 func (*UnimplementedMsgServer) DepositClaim(ctx context.Context, req *MsgDepositClaim) (*MsgDepositClaimResponse, error) { 1930 return nil, status.Errorf(codes.Unimplemented, "method DepositClaim not implemented") 1931 } 1932 func (*UnimplementedMsgServer) WithdrawClaim(ctx context.Context, req *MsgWithdrawClaim) (*MsgWithdrawClaimResponse, error) { 1933 return nil, status.Errorf(codes.Unimplemented, "method WithdrawClaim not implemented") 1934 } 1935 func (*UnimplementedMsgServer) ValsetUpdateClaim(ctx context.Context, req *MsgValsetUpdatedClaim) (*MsgValsetUpdatedClaimResponse, error) { 1936 return nil, status.Errorf(codes.Unimplemented, "method ValsetUpdateClaim not implemented") 1937 } 1938 func (*UnimplementedMsgServer) ERC20DeployedClaim(ctx context.Context, req *MsgERC20DeployedClaim) (*MsgERC20DeployedClaimResponse, error) { 1939 return nil, status.Errorf(codes.Unimplemented, "method ERC20DeployedClaim not implemented") 1940 } 1941 func (*UnimplementedMsgServer) SetOrchestratorAddresses(ctx context.Context, req *MsgSetOrchestratorAddresses) (*MsgSetOrchestratorAddressesResponse, error) { 1942 return nil, status.Errorf(codes.Unimplemented, "method SetOrchestratorAddresses not implemented") 1943 } 1944 func (*UnimplementedMsgServer) CancelSendToEth(ctx context.Context, req *MsgCancelSendToEth) (*MsgCancelSendToEthResponse, error) { 1945 return nil, status.Errorf(codes.Unimplemented, "method CancelSendToEth not implemented") 1946 } 1947 func (*UnimplementedMsgServer) SubmitBadSignatureEvidence(ctx context.Context, req *MsgSubmitBadSignatureEvidence) (*MsgSubmitBadSignatureEvidenceResponse, error) { 1948 return nil, status.Errorf(codes.Unimplemented, "method SubmitBadSignatureEvidence not implemented") 1949 } 1950 func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { 1951 return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") 1952 } 1953 func (*UnimplementedMsgServer) BlacklistEthereumAddresses(ctx context.Context, req *MsgBlacklistEthereumAddresses) (*MsgBlacklistEthereumAddressesResponse, error) { 1954 return nil, status.Errorf(codes.Unimplemented, "method BlacklistEthereumAddresses not implemented") 1955 } 1956 func (*UnimplementedMsgServer) RevokeEthereumBlacklist(ctx context.Context, req *MsgRevokeEthereumBlacklist) (*MsgRevokeEthereumBlacklistResponse, error) { 1957 return nil, status.Errorf(codes.Unimplemented, "method RevokeEthereumBlacklist not implemented") 1958 } 1959 1960 func RegisterMsgServer(s grpc1.Server, srv MsgServer) { 1961 s.RegisterService(&_Msg_serviceDesc, srv) 1962 } 1963 1964 func _Msg_ValsetConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1965 in := new(MsgValsetConfirm) 1966 if err := dec(in); err != nil { 1967 return nil, err 1968 } 1969 if interceptor == nil { 1970 return srv.(MsgServer).ValsetConfirm(ctx, in) 1971 } 1972 info := &grpc.UnaryServerInfo{ 1973 Server: srv, 1974 FullMethod: "/injective.peggy.v1.Msg/ValsetConfirm", 1975 } 1976 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1977 return srv.(MsgServer).ValsetConfirm(ctx, req.(*MsgValsetConfirm)) 1978 } 1979 return interceptor(ctx, in, info, handler) 1980 } 1981 1982 func _Msg_SendToEth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1983 in := new(MsgSendToEth) 1984 if err := dec(in); err != nil { 1985 return nil, err 1986 } 1987 if interceptor == nil { 1988 return srv.(MsgServer).SendToEth(ctx, in) 1989 } 1990 info := &grpc.UnaryServerInfo{ 1991 Server: srv, 1992 FullMethod: "/injective.peggy.v1.Msg/SendToEth", 1993 } 1994 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1995 return srv.(MsgServer).SendToEth(ctx, req.(*MsgSendToEth)) 1996 } 1997 return interceptor(ctx, in, info, handler) 1998 } 1999 2000 func _Msg_RequestBatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2001 in := new(MsgRequestBatch) 2002 if err := dec(in); err != nil { 2003 return nil, err 2004 } 2005 if interceptor == nil { 2006 return srv.(MsgServer).RequestBatch(ctx, in) 2007 } 2008 info := &grpc.UnaryServerInfo{ 2009 Server: srv, 2010 FullMethod: "/injective.peggy.v1.Msg/RequestBatch", 2011 } 2012 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2013 return srv.(MsgServer).RequestBatch(ctx, req.(*MsgRequestBatch)) 2014 } 2015 return interceptor(ctx, in, info, handler) 2016 } 2017 2018 func _Msg_ConfirmBatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2019 in := new(MsgConfirmBatch) 2020 if err := dec(in); err != nil { 2021 return nil, err 2022 } 2023 if interceptor == nil { 2024 return srv.(MsgServer).ConfirmBatch(ctx, in) 2025 } 2026 info := &grpc.UnaryServerInfo{ 2027 Server: srv, 2028 FullMethod: "/injective.peggy.v1.Msg/ConfirmBatch", 2029 } 2030 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2031 return srv.(MsgServer).ConfirmBatch(ctx, req.(*MsgConfirmBatch)) 2032 } 2033 return interceptor(ctx, in, info, handler) 2034 } 2035 2036 func _Msg_DepositClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2037 in := new(MsgDepositClaim) 2038 if err := dec(in); err != nil { 2039 return nil, err 2040 } 2041 if interceptor == nil { 2042 return srv.(MsgServer).DepositClaim(ctx, in) 2043 } 2044 info := &grpc.UnaryServerInfo{ 2045 Server: srv, 2046 FullMethod: "/injective.peggy.v1.Msg/DepositClaim", 2047 } 2048 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2049 return srv.(MsgServer).DepositClaim(ctx, req.(*MsgDepositClaim)) 2050 } 2051 return interceptor(ctx, in, info, handler) 2052 } 2053 2054 func _Msg_WithdrawClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2055 in := new(MsgWithdrawClaim) 2056 if err := dec(in); err != nil { 2057 return nil, err 2058 } 2059 if interceptor == nil { 2060 return srv.(MsgServer).WithdrawClaim(ctx, in) 2061 } 2062 info := &grpc.UnaryServerInfo{ 2063 Server: srv, 2064 FullMethod: "/injective.peggy.v1.Msg/WithdrawClaim", 2065 } 2066 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2067 return srv.(MsgServer).WithdrawClaim(ctx, req.(*MsgWithdrawClaim)) 2068 } 2069 return interceptor(ctx, in, info, handler) 2070 } 2071 2072 func _Msg_ValsetUpdateClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2073 in := new(MsgValsetUpdatedClaim) 2074 if err := dec(in); err != nil { 2075 return nil, err 2076 } 2077 if interceptor == nil { 2078 return srv.(MsgServer).ValsetUpdateClaim(ctx, in) 2079 } 2080 info := &grpc.UnaryServerInfo{ 2081 Server: srv, 2082 FullMethod: "/injective.peggy.v1.Msg/ValsetUpdateClaim", 2083 } 2084 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2085 return srv.(MsgServer).ValsetUpdateClaim(ctx, req.(*MsgValsetUpdatedClaim)) 2086 } 2087 return interceptor(ctx, in, info, handler) 2088 } 2089 2090 func _Msg_ERC20DeployedClaim_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2091 in := new(MsgERC20DeployedClaim) 2092 if err := dec(in); err != nil { 2093 return nil, err 2094 } 2095 if interceptor == nil { 2096 return srv.(MsgServer).ERC20DeployedClaim(ctx, in) 2097 } 2098 info := &grpc.UnaryServerInfo{ 2099 Server: srv, 2100 FullMethod: "/injective.peggy.v1.Msg/ERC20DeployedClaim", 2101 } 2102 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2103 return srv.(MsgServer).ERC20DeployedClaim(ctx, req.(*MsgERC20DeployedClaim)) 2104 } 2105 return interceptor(ctx, in, info, handler) 2106 } 2107 2108 func _Msg_SetOrchestratorAddresses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2109 in := new(MsgSetOrchestratorAddresses) 2110 if err := dec(in); err != nil { 2111 return nil, err 2112 } 2113 if interceptor == nil { 2114 return srv.(MsgServer).SetOrchestratorAddresses(ctx, in) 2115 } 2116 info := &grpc.UnaryServerInfo{ 2117 Server: srv, 2118 FullMethod: "/injective.peggy.v1.Msg/SetOrchestratorAddresses", 2119 } 2120 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2121 return srv.(MsgServer).SetOrchestratorAddresses(ctx, req.(*MsgSetOrchestratorAddresses)) 2122 } 2123 return interceptor(ctx, in, info, handler) 2124 } 2125 2126 func _Msg_CancelSendToEth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2127 in := new(MsgCancelSendToEth) 2128 if err := dec(in); err != nil { 2129 return nil, err 2130 } 2131 if interceptor == nil { 2132 return srv.(MsgServer).CancelSendToEth(ctx, in) 2133 } 2134 info := &grpc.UnaryServerInfo{ 2135 Server: srv, 2136 FullMethod: "/injective.peggy.v1.Msg/CancelSendToEth", 2137 } 2138 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2139 return srv.(MsgServer).CancelSendToEth(ctx, req.(*MsgCancelSendToEth)) 2140 } 2141 return interceptor(ctx, in, info, handler) 2142 } 2143 2144 func _Msg_SubmitBadSignatureEvidence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2145 in := new(MsgSubmitBadSignatureEvidence) 2146 if err := dec(in); err != nil { 2147 return nil, err 2148 } 2149 if interceptor == nil { 2150 return srv.(MsgServer).SubmitBadSignatureEvidence(ctx, in) 2151 } 2152 info := &grpc.UnaryServerInfo{ 2153 Server: srv, 2154 FullMethod: "/injective.peggy.v1.Msg/SubmitBadSignatureEvidence", 2155 } 2156 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2157 return srv.(MsgServer).SubmitBadSignatureEvidence(ctx, req.(*MsgSubmitBadSignatureEvidence)) 2158 } 2159 return interceptor(ctx, in, info, handler) 2160 } 2161 2162 func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2163 in := new(MsgUpdateParams) 2164 if err := dec(in); err != nil { 2165 return nil, err 2166 } 2167 if interceptor == nil { 2168 return srv.(MsgServer).UpdateParams(ctx, in) 2169 } 2170 info := &grpc.UnaryServerInfo{ 2171 Server: srv, 2172 FullMethod: "/injective.peggy.v1.Msg/UpdateParams", 2173 } 2174 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2175 return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) 2176 } 2177 return interceptor(ctx, in, info, handler) 2178 } 2179 2180 func _Msg_BlacklistEthereumAddresses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2181 in := new(MsgBlacklistEthereumAddresses) 2182 if err := dec(in); err != nil { 2183 return nil, err 2184 } 2185 if interceptor == nil { 2186 return srv.(MsgServer).BlacklistEthereumAddresses(ctx, in) 2187 } 2188 info := &grpc.UnaryServerInfo{ 2189 Server: srv, 2190 FullMethod: "/injective.peggy.v1.Msg/BlacklistEthereumAddresses", 2191 } 2192 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2193 return srv.(MsgServer).BlacklistEthereumAddresses(ctx, req.(*MsgBlacklistEthereumAddresses)) 2194 } 2195 return interceptor(ctx, in, info, handler) 2196 } 2197 2198 func _Msg_RevokeEthereumBlacklist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2199 in := new(MsgRevokeEthereumBlacklist) 2200 if err := dec(in); err != nil { 2201 return nil, err 2202 } 2203 if interceptor == nil { 2204 return srv.(MsgServer).RevokeEthereumBlacklist(ctx, in) 2205 } 2206 info := &grpc.UnaryServerInfo{ 2207 Server: srv, 2208 FullMethod: "/injective.peggy.v1.Msg/RevokeEthereumBlacklist", 2209 } 2210 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2211 return srv.(MsgServer).RevokeEthereumBlacklist(ctx, req.(*MsgRevokeEthereumBlacklist)) 2212 } 2213 return interceptor(ctx, in, info, handler) 2214 } 2215 2216 var _Msg_serviceDesc = grpc.ServiceDesc{ 2217 ServiceName: "injective.peggy.v1.Msg", 2218 HandlerType: (*MsgServer)(nil), 2219 Methods: []grpc.MethodDesc{ 2220 { 2221 MethodName: "ValsetConfirm", 2222 Handler: _Msg_ValsetConfirm_Handler, 2223 }, 2224 { 2225 MethodName: "SendToEth", 2226 Handler: _Msg_SendToEth_Handler, 2227 }, 2228 { 2229 MethodName: "RequestBatch", 2230 Handler: _Msg_RequestBatch_Handler, 2231 }, 2232 { 2233 MethodName: "ConfirmBatch", 2234 Handler: _Msg_ConfirmBatch_Handler, 2235 }, 2236 { 2237 MethodName: "DepositClaim", 2238 Handler: _Msg_DepositClaim_Handler, 2239 }, 2240 { 2241 MethodName: "WithdrawClaim", 2242 Handler: _Msg_WithdrawClaim_Handler, 2243 }, 2244 { 2245 MethodName: "ValsetUpdateClaim", 2246 Handler: _Msg_ValsetUpdateClaim_Handler, 2247 }, 2248 { 2249 MethodName: "ERC20DeployedClaim", 2250 Handler: _Msg_ERC20DeployedClaim_Handler, 2251 }, 2252 { 2253 MethodName: "SetOrchestratorAddresses", 2254 Handler: _Msg_SetOrchestratorAddresses_Handler, 2255 }, 2256 { 2257 MethodName: "CancelSendToEth", 2258 Handler: _Msg_CancelSendToEth_Handler, 2259 }, 2260 { 2261 MethodName: "SubmitBadSignatureEvidence", 2262 Handler: _Msg_SubmitBadSignatureEvidence_Handler, 2263 }, 2264 { 2265 MethodName: "UpdateParams", 2266 Handler: _Msg_UpdateParams_Handler, 2267 }, 2268 { 2269 MethodName: "BlacklistEthereumAddresses", 2270 Handler: _Msg_BlacklistEthereumAddresses_Handler, 2271 }, 2272 { 2273 MethodName: "RevokeEthereumBlacklist", 2274 Handler: _Msg_RevokeEthereumBlacklist_Handler, 2275 }, 2276 }, 2277 Streams: []grpc.StreamDesc{}, 2278 Metadata: "injective/peggy/v1/msgs.proto", 2279 } 2280 2281 func (m *MsgSetOrchestratorAddresses) Marshal() (dAtA []byte, err error) { 2282 size := m.Size() 2283 dAtA = make([]byte, size) 2284 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2285 if err != nil { 2286 return nil, err 2287 } 2288 return dAtA[:n], nil 2289 } 2290 2291 func (m *MsgSetOrchestratorAddresses) MarshalTo(dAtA []byte) (int, error) { 2292 size := m.Size() 2293 return m.MarshalToSizedBuffer(dAtA[:size]) 2294 } 2295 2296 func (m *MsgSetOrchestratorAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2297 i := len(dAtA) 2298 _ = i 2299 var l int 2300 _ = l 2301 if len(m.EthAddress) > 0 { 2302 i -= len(m.EthAddress) 2303 copy(dAtA[i:], m.EthAddress) 2304 i = encodeVarintMsgs(dAtA, i, uint64(len(m.EthAddress))) 2305 i-- 2306 dAtA[i] = 0x1a 2307 } 2308 if len(m.Orchestrator) > 0 { 2309 i -= len(m.Orchestrator) 2310 copy(dAtA[i:], m.Orchestrator) 2311 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Orchestrator))) 2312 i-- 2313 dAtA[i] = 0x12 2314 } 2315 if len(m.Sender) > 0 { 2316 i -= len(m.Sender) 2317 copy(dAtA[i:], m.Sender) 2318 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Sender))) 2319 i-- 2320 dAtA[i] = 0xa 2321 } 2322 return len(dAtA) - i, nil 2323 } 2324 2325 func (m *MsgSetOrchestratorAddressesResponse) Marshal() (dAtA []byte, err error) { 2326 size := m.Size() 2327 dAtA = make([]byte, size) 2328 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2329 if err != nil { 2330 return nil, err 2331 } 2332 return dAtA[:n], nil 2333 } 2334 2335 func (m *MsgSetOrchestratorAddressesResponse) MarshalTo(dAtA []byte) (int, error) { 2336 size := m.Size() 2337 return m.MarshalToSizedBuffer(dAtA[:size]) 2338 } 2339 2340 func (m *MsgSetOrchestratorAddressesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2341 i := len(dAtA) 2342 _ = i 2343 var l int 2344 _ = l 2345 return len(dAtA) - i, nil 2346 } 2347 2348 func (m *MsgValsetConfirm) Marshal() (dAtA []byte, err error) { 2349 size := m.Size() 2350 dAtA = make([]byte, size) 2351 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2352 if err != nil { 2353 return nil, err 2354 } 2355 return dAtA[:n], nil 2356 } 2357 2358 func (m *MsgValsetConfirm) MarshalTo(dAtA []byte) (int, error) { 2359 size := m.Size() 2360 return m.MarshalToSizedBuffer(dAtA[:size]) 2361 } 2362 2363 func (m *MsgValsetConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2364 i := len(dAtA) 2365 _ = i 2366 var l int 2367 _ = l 2368 if len(m.Signature) > 0 { 2369 i -= len(m.Signature) 2370 copy(dAtA[i:], m.Signature) 2371 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Signature))) 2372 i-- 2373 dAtA[i] = 0x22 2374 } 2375 if len(m.EthAddress) > 0 { 2376 i -= len(m.EthAddress) 2377 copy(dAtA[i:], m.EthAddress) 2378 i = encodeVarintMsgs(dAtA, i, uint64(len(m.EthAddress))) 2379 i-- 2380 dAtA[i] = 0x1a 2381 } 2382 if len(m.Orchestrator) > 0 { 2383 i -= len(m.Orchestrator) 2384 copy(dAtA[i:], m.Orchestrator) 2385 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Orchestrator))) 2386 i-- 2387 dAtA[i] = 0x12 2388 } 2389 if m.Nonce != 0 { 2390 i = encodeVarintMsgs(dAtA, i, uint64(m.Nonce)) 2391 i-- 2392 dAtA[i] = 0x8 2393 } 2394 return len(dAtA) - i, nil 2395 } 2396 2397 func (m *MsgValsetConfirmResponse) Marshal() (dAtA []byte, err error) { 2398 size := m.Size() 2399 dAtA = make([]byte, size) 2400 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2401 if err != nil { 2402 return nil, err 2403 } 2404 return dAtA[:n], nil 2405 } 2406 2407 func (m *MsgValsetConfirmResponse) MarshalTo(dAtA []byte) (int, error) { 2408 size := m.Size() 2409 return m.MarshalToSizedBuffer(dAtA[:size]) 2410 } 2411 2412 func (m *MsgValsetConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2413 i := len(dAtA) 2414 _ = i 2415 var l int 2416 _ = l 2417 return len(dAtA) - i, nil 2418 } 2419 2420 func (m *MsgSendToEth) Marshal() (dAtA []byte, err error) { 2421 size := m.Size() 2422 dAtA = make([]byte, size) 2423 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2424 if err != nil { 2425 return nil, err 2426 } 2427 return dAtA[:n], nil 2428 } 2429 2430 func (m *MsgSendToEth) MarshalTo(dAtA []byte) (int, error) { 2431 size := m.Size() 2432 return m.MarshalToSizedBuffer(dAtA[:size]) 2433 } 2434 2435 func (m *MsgSendToEth) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2436 i := len(dAtA) 2437 _ = i 2438 var l int 2439 _ = l 2440 { 2441 size, err := m.BridgeFee.MarshalToSizedBuffer(dAtA[:i]) 2442 if err != nil { 2443 return 0, err 2444 } 2445 i -= size 2446 i = encodeVarintMsgs(dAtA, i, uint64(size)) 2447 } 2448 i-- 2449 dAtA[i] = 0x22 2450 { 2451 size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) 2452 if err != nil { 2453 return 0, err 2454 } 2455 i -= size 2456 i = encodeVarintMsgs(dAtA, i, uint64(size)) 2457 } 2458 i-- 2459 dAtA[i] = 0x1a 2460 if len(m.EthDest) > 0 { 2461 i -= len(m.EthDest) 2462 copy(dAtA[i:], m.EthDest) 2463 i = encodeVarintMsgs(dAtA, i, uint64(len(m.EthDest))) 2464 i-- 2465 dAtA[i] = 0x12 2466 } 2467 if len(m.Sender) > 0 { 2468 i -= len(m.Sender) 2469 copy(dAtA[i:], m.Sender) 2470 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Sender))) 2471 i-- 2472 dAtA[i] = 0xa 2473 } 2474 return len(dAtA) - i, nil 2475 } 2476 2477 func (m *MsgSendToEthResponse) Marshal() (dAtA []byte, err error) { 2478 size := m.Size() 2479 dAtA = make([]byte, size) 2480 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2481 if err != nil { 2482 return nil, err 2483 } 2484 return dAtA[:n], nil 2485 } 2486 2487 func (m *MsgSendToEthResponse) MarshalTo(dAtA []byte) (int, error) { 2488 size := m.Size() 2489 return m.MarshalToSizedBuffer(dAtA[:size]) 2490 } 2491 2492 func (m *MsgSendToEthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2493 i := len(dAtA) 2494 _ = i 2495 var l int 2496 _ = l 2497 return len(dAtA) - i, nil 2498 } 2499 2500 func (m *MsgRequestBatch) Marshal() (dAtA []byte, err error) { 2501 size := m.Size() 2502 dAtA = make([]byte, size) 2503 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2504 if err != nil { 2505 return nil, err 2506 } 2507 return dAtA[:n], nil 2508 } 2509 2510 func (m *MsgRequestBatch) MarshalTo(dAtA []byte) (int, error) { 2511 size := m.Size() 2512 return m.MarshalToSizedBuffer(dAtA[:size]) 2513 } 2514 2515 func (m *MsgRequestBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2516 i := len(dAtA) 2517 _ = i 2518 var l int 2519 _ = l 2520 if len(m.Denom) > 0 { 2521 i -= len(m.Denom) 2522 copy(dAtA[i:], m.Denom) 2523 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Denom))) 2524 i-- 2525 dAtA[i] = 0x12 2526 } 2527 if len(m.Orchestrator) > 0 { 2528 i -= len(m.Orchestrator) 2529 copy(dAtA[i:], m.Orchestrator) 2530 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Orchestrator))) 2531 i-- 2532 dAtA[i] = 0xa 2533 } 2534 return len(dAtA) - i, nil 2535 } 2536 2537 func (m *MsgRequestBatchResponse) Marshal() (dAtA []byte, err error) { 2538 size := m.Size() 2539 dAtA = make([]byte, size) 2540 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2541 if err != nil { 2542 return nil, err 2543 } 2544 return dAtA[:n], nil 2545 } 2546 2547 func (m *MsgRequestBatchResponse) MarshalTo(dAtA []byte) (int, error) { 2548 size := m.Size() 2549 return m.MarshalToSizedBuffer(dAtA[:size]) 2550 } 2551 2552 func (m *MsgRequestBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2553 i := len(dAtA) 2554 _ = i 2555 var l int 2556 _ = l 2557 return len(dAtA) - i, nil 2558 } 2559 2560 func (m *MsgConfirmBatch) Marshal() (dAtA []byte, err error) { 2561 size := m.Size() 2562 dAtA = make([]byte, size) 2563 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2564 if err != nil { 2565 return nil, err 2566 } 2567 return dAtA[:n], nil 2568 } 2569 2570 func (m *MsgConfirmBatch) MarshalTo(dAtA []byte) (int, error) { 2571 size := m.Size() 2572 return m.MarshalToSizedBuffer(dAtA[:size]) 2573 } 2574 2575 func (m *MsgConfirmBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2576 i := len(dAtA) 2577 _ = i 2578 var l int 2579 _ = l 2580 if len(m.Signature) > 0 { 2581 i -= len(m.Signature) 2582 copy(dAtA[i:], m.Signature) 2583 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Signature))) 2584 i-- 2585 dAtA[i] = 0x2a 2586 } 2587 if len(m.Orchestrator) > 0 { 2588 i -= len(m.Orchestrator) 2589 copy(dAtA[i:], m.Orchestrator) 2590 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Orchestrator))) 2591 i-- 2592 dAtA[i] = 0x22 2593 } 2594 if len(m.EthSigner) > 0 { 2595 i -= len(m.EthSigner) 2596 copy(dAtA[i:], m.EthSigner) 2597 i = encodeVarintMsgs(dAtA, i, uint64(len(m.EthSigner))) 2598 i-- 2599 dAtA[i] = 0x1a 2600 } 2601 if len(m.TokenContract) > 0 { 2602 i -= len(m.TokenContract) 2603 copy(dAtA[i:], m.TokenContract) 2604 i = encodeVarintMsgs(dAtA, i, uint64(len(m.TokenContract))) 2605 i-- 2606 dAtA[i] = 0x12 2607 } 2608 if m.Nonce != 0 { 2609 i = encodeVarintMsgs(dAtA, i, uint64(m.Nonce)) 2610 i-- 2611 dAtA[i] = 0x8 2612 } 2613 return len(dAtA) - i, nil 2614 } 2615 2616 func (m *MsgConfirmBatchResponse) Marshal() (dAtA []byte, err error) { 2617 size := m.Size() 2618 dAtA = make([]byte, size) 2619 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2620 if err != nil { 2621 return nil, err 2622 } 2623 return dAtA[:n], nil 2624 } 2625 2626 func (m *MsgConfirmBatchResponse) MarshalTo(dAtA []byte) (int, error) { 2627 size := m.Size() 2628 return m.MarshalToSizedBuffer(dAtA[:size]) 2629 } 2630 2631 func (m *MsgConfirmBatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2632 i := len(dAtA) 2633 _ = i 2634 var l int 2635 _ = l 2636 return len(dAtA) - i, nil 2637 } 2638 2639 func (m *MsgDepositClaim) Marshal() (dAtA []byte, err error) { 2640 size := m.Size() 2641 dAtA = make([]byte, size) 2642 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2643 if err != nil { 2644 return nil, err 2645 } 2646 return dAtA[:n], nil 2647 } 2648 2649 func (m *MsgDepositClaim) MarshalTo(dAtA []byte) (int, error) { 2650 size := m.Size() 2651 return m.MarshalToSizedBuffer(dAtA[:size]) 2652 } 2653 2654 func (m *MsgDepositClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2655 i := len(dAtA) 2656 _ = i 2657 var l int 2658 _ = l 2659 if len(m.Data) > 0 { 2660 i -= len(m.Data) 2661 copy(dAtA[i:], m.Data) 2662 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Data))) 2663 i-- 2664 dAtA[i] = 0x42 2665 } 2666 if len(m.Orchestrator) > 0 { 2667 i -= len(m.Orchestrator) 2668 copy(dAtA[i:], m.Orchestrator) 2669 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Orchestrator))) 2670 i-- 2671 dAtA[i] = 0x3a 2672 } 2673 if len(m.CosmosReceiver) > 0 { 2674 i -= len(m.CosmosReceiver) 2675 copy(dAtA[i:], m.CosmosReceiver) 2676 i = encodeVarintMsgs(dAtA, i, uint64(len(m.CosmosReceiver))) 2677 i-- 2678 dAtA[i] = 0x32 2679 } 2680 if len(m.EthereumSender) > 0 { 2681 i -= len(m.EthereumSender) 2682 copy(dAtA[i:], m.EthereumSender) 2683 i = encodeVarintMsgs(dAtA, i, uint64(len(m.EthereumSender))) 2684 i-- 2685 dAtA[i] = 0x2a 2686 } 2687 { 2688 size := m.Amount.Size() 2689 i -= size 2690 if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil { 2691 return 0, err 2692 } 2693 i = encodeVarintMsgs(dAtA, i, uint64(size)) 2694 } 2695 i-- 2696 dAtA[i] = 0x22 2697 if len(m.TokenContract) > 0 { 2698 i -= len(m.TokenContract) 2699 copy(dAtA[i:], m.TokenContract) 2700 i = encodeVarintMsgs(dAtA, i, uint64(len(m.TokenContract))) 2701 i-- 2702 dAtA[i] = 0x1a 2703 } 2704 if m.BlockHeight != 0 { 2705 i = encodeVarintMsgs(dAtA, i, uint64(m.BlockHeight)) 2706 i-- 2707 dAtA[i] = 0x10 2708 } 2709 if m.EventNonce != 0 { 2710 i = encodeVarintMsgs(dAtA, i, uint64(m.EventNonce)) 2711 i-- 2712 dAtA[i] = 0x8 2713 } 2714 return len(dAtA) - i, nil 2715 } 2716 2717 func (m *MsgDepositClaimResponse) Marshal() (dAtA []byte, err error) { 2718 size := m.Size() 2719 dAtA = make([]byte, size) 2720 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2721 if err != nil { 2722 return nil, err 2723 } 2724 return dAtA[:n], nil 2725 } 2726 2727 func (m *MsgDepositClaimResponse) MarshalTo(dAtA []byte) (int, error) { 2728 size := m.Size() 2729 return m.MarshalToSizedBuffer(dAtA[:size]) 2730 } 2731 2732 func (m *MsgDepositClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2733 i := len(dAtA) 2734 _ = i 2735 var l int 2736 _ = l 2737 return len(dAtA) - i, nil 2738 } 2739 2740 func (m *MsgWithdrawClaim) Marshal() (dAtA []byte, err error) { 2741 size := m.Size() 2742 dAtA = make([]byte, size) 2743 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2744 if err != nil { 2745 return nil, err 2746 } 2747 return dAtA[:n], nil 2748 } 2749 2750 func (m *MsgWithdrawClaim) MarshalTo(dAtA []byte) (int, error) { 2751 size := m.Size() 2752 return m.MarshalToSizedBuffer(dAtA[:size]) 2753 } 2754 2755 func (m *MsgWithdrawClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2756 i := len(dAtA) 2757 _ = i 2758 var l int 2759 _ = l 2760 if len(m.Orchestrator) > 0 { 2761 i -= len(m.Orchestrator) 2762 copy(dAtA[i:], m.Orchestrator) 2763 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Orchestrator))) 2764 i-- 2765 dAtA[i] = 0x2a 2766 } 2767 if len(m.TokenContract) > 0 { 2768 i -= len(m.TokenContract) 2769 copy(dAtA[i:], m.TokenContract) 2770 i = encodeVarintMsgs(dAtA, i, uint64(len(m.TokenContract))) 2771 i-- 2772 dAtA[i] = 0x22 2773 } 2774 if m.BatchNonce != 0 { 2775 i = encodeVarintMsgs(dAtA, i, uint64(m.BatchNonce)) 2776 i-- 2777 dAtA[i] = 0x18 2778 } 2779 if m.BlockHeight != 0 { 2780 i = encodeVarintMsgs(dAtA, i, uint64(m.BlockHeight)) 2781 i-- 2782 dAtA[i] = 0x10 2783 } 2784 if m.EventNonce != 0 { 2785 i = encodeVarintMsgs(dAtA, i, uint64(m.EventNonce)) 2786 i-- 2787 dAtA[i] = 0x8 2788 } 2789 return len(dAtA) - i, nil 2790 } 2791 2792 func (m *MsgWithdrawClaimResponse) Marshal() (dAtA []byte, err error) { 2793 size := m.Size() 2794 dAtA = make([]byte, size) 2795 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2796 if err != nil { 2797 return nil, err 2798 } 2799 return dAtA[:n], nil 2800 } 2801 2802 func (m *MsgWithdrawClaimResponse) MarshalTo(dAtA []byte) (int, error) { 2803 size := m.Size() 2804 return m.MarshalToSizedBuffer(dAtA[:size]) 2805 } 2806 2807 func (m *MsgWithdrawClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2808 i := len(dAtA) 2809 _ = i 2810 var l int 2811 _ = l 2812 return len(dAtA) - i, nil 2813 } 2814 2815 func (m *MsgERC20DeployedClaim) Marshal() (dAtA []byte, err error) { 2816 size := m.Size() 2817 dAtA = make([]byte, size) 2818 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2819 if err != nil { 2820 return nil, err 2821 } 2822 return dAtA[:n], nil 2823 } 2824 2825 func (m *MsgERC20DeployedClaim) MarshalTo(dAtA []byte) (int, error) { 2826 size := m.Size() 2827 return m.MarshalToSizedBuffer(dAtA[:size]) 2828 } 2829 2830 func (m *MsgERC20DeployedClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2831 i := len(dAtA) 2832 _ = i 2833 var l int 2834 _ = l 2835 if len(m.Orchestrator) > 0 { 2836 i -= len(m.Orchestrator) 2837 copy(dAtA[i:], m.Orchestrator) 2838 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Orchestrator))) 2839 i-- 2840 dAtA[i] = 0x42 2841 } 2842 if m.Decimals != 0 { 2843 i = encodeVarintMsgs(dAtA, i, uint64(m.Decimals)) 2844 i-- 2845 dAtA[i] = 0x38 2846 } 2847 if len(m.Symbol) > 0 { 2848 i -= len(m.Symbol) 2849 copy(dAtA[i:], m.Symbol) 2850 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Symbol))) 2851 i-- 2852 dAtA[i] = 0x32 2853 } 2854 if len(m.Name) > 0 { 2855 i -= len(m.Name) 2856 copy(dAtA[i:], m.Name) 2857 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Name))) 2858 i-- 2859 dAtA[i] = 0x2a 2860 } 2861 if len(m.TokenContract) > 0 { 2862 i -= len(m.TokenContract) 2863 copy(dAtA[i:], m.TokenContract) 2864 i = encodeVarintMsgs(dAtA, i, uint64(len(m.TokenContract))) 2865 i-- 2866 dAtA[i] = 0x22 2867 } 2868 if len(m.CosmosDenom) > 0 { 2869 i -= len(m.CosmosDenom) 2870 copy(dAtA[i:], m.CosmosDenom) 2871 i = encodeVarintMsgs(dAtA, i, uint64(len(m.CosmosDenom))) 2872 i-- 2873 dAtA[i] = 0x1a 2874 } 2875 if m.BlockHeight != 0 { 2876 i = encodeVarintMsgs(dAtA, i, uint64(m.BlockHeight)) 2877 i-- 2878 dAtA[i] = 0x10 2879 } 2880 if m.EventNonce != 0 { 2881 i = encodeVarintMsgs(dAtA, i, uint64(m.EventNonce)) 2882 i-- 2883 dAtA[i] = 0x8 2884 } 2885 return len(dAtA) - i, nil 2886 } 2887 2888 func (m *MsgERC20DeployedClaimResponse) Marshal() (dAtA []byte, err error) { 2889 size := m.Size() 2890 dAtA = make([]byte, size) 2891 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2892 if err != nil { 2893 return nil, err 2894 } 2895 return dAtA[:n], nil 2896 } 2897 2898 func (m *MsgERC20DeployedClaimResponse) MarshalTo(dAtA []byte) (int, error) { 2899 size := m.Size() 2900 return m.MarshalToSizedBuffer(dAtA[:size]) 2901 } 2902 2903 func (m *MsgERC20DeployedClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2904 i := len(dAtA) 2905 _ = i 2906 var l int 2907 _ = l 2908 return len(dAtA) - i, nil 2909 } 2910 2911 func (m *MsgCancelSendToEth) Marshal() (dAtA []byte, err error) { 2912 size := m.Size() 2913 dAtA = make([]byte, size) 2914 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2915 if err != nil { 2916 return nil, err 2917 } 2918 return dAtA[:n], nil 2919 } 2920 2921 func (m *MsgCancelSendToEth) MarshalTo(dAtA []byte) (int, error) { 2922 size := m.Size() 2923 return m.MarshalToSizedBuffer(dAtA[:size]) 2924 } 2925 2926 func (m *MsgCancelSendToEth) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2927 i := len(dAtA) 2928 _ = i 2929 var l int 2930 _ = l 2931 if len(m.Sender) > 0 { 2932 i -= len(m.Sender) 2933 copy(dAtA[i:], m.Sender) 2934 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Sender))) 2935 i-- 2936 dAtA[i] = 0x12 2937 } 2938 if m.TransactionId != 0 { 2939 i = encodeVarintMsgs(dAtA, i, uint64(m.TransactionId)) 2940 i-- 2941 dAtA[i] = 0x8 2942 } 2943 return len(dAtA) - i, nil 2944 } 2945 2946 func (m *MsgCancelSendToEthResponse) Marshal() (dAtA []byte, err error) { 2947 size := m.Size() 2948 dAtA = make([]byte, size) 2949 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2950 if err != nil { 2951 return nil, err 2952 } 2953 return dAtA[:n], nil 2954 } 2955 2956 func (m *MsgCancelSendToEthResponse) MarshalTo(dAtA []byte) (int, error) { 2957 size := m.Size() 2958 return m.MarshalToSizedBuffer(dAtA[:size]) 2959 } 2960 2961 func (m *MsgCancelSendToEthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2962 i := len(dAtA) 2963 _ = i 2964 var l int 2965 _ = l 2966 return len(dAtA) - i, nil 2967 } 2968 2969 func (m *MsgSubmitBadSignatureEvidence) Marshal() (dAtA []byte, err error) { 2970 size := m.Size() 2971 dAtA = make([]byte, size) 2972 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2973 if err != nil { 2974 return nil, err 2975 } 2976 return dAtA[:n], nil 2977 } 2978 2979 func (m *MsgSubmitBadSignatureEvidence) MarshalTo(dAtA []byte) (int, error) { 2980 size := m.Size() 2981 return m.MarshalToSizedBuffer(dAtA[:size]) 2982 } 2983 2984 func (m *MsgSubmitBadSignatureEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2985 i := len(dAtA) 2986 _ = i 2987 var l int 2988 _ = l 2989 if len(m.Sender) > 0 { 2990 i -= len(m.Sender) 2991 copy(dAtA[i:], m.Sender) 2992 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Sender))) 2993 i-- 2994 dAtA[i] = 0x1a 2995 } 2996 if len(m.Signature) > 0 { 2997 i -= len(m.Signature) 2998 copy(dAtA[i:], m.Signature) 2999 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Signature))) 3000 i-- 3001 dAtA[i] = 0x12 3002 } 3003 if m.Subject != nil { 3004 { 3005 size, err := m.Subject.MarshalToSizedBuffer(dAtA[:i]) 3006 if err != nil { 3007 return 0, err 3008 } 3009 i -= size 3010 i = encodeVarintMsgs(dAtA, i, uint64(size)) 3011 } 3012 i-- 3013 dAtA[i] = 0xa 3014 } 3015 return len(dAtA) - i, nil 3016 } 3017 3018 func (m *MsgSubmitBadSignatureEvidenceResponse) Marshal() (dAtA []byte, err error) { 3019 size := m.Size() 3020 dAtA = make([]byte, size) 3021 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3022 if err != nil { 3023 return nil, err 3024 } 3025 return dAtA[:n], nil 3026 } 3027 3028 func (m *MsgSubmitBadSignatureEvidenceResponse) MarshalTo(dAtA []byte) (int, error) { 3029 size := m.Size() 3030 return m.MarshalToSizedBuffer(dAtA[:size]) 3031 } 3032 3033 func (m *MsgSubmitBadSignatureEvidenceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3034 i := len(dAtA) 3035 _ = i 3036 var l int 3037 _ = l 3038 return len(dAtA) - i, nil 3039 } 3040 3041 func (m *MsgValsetUpdatedClaim) Marshal() (dAtA []byte, err error) { 3042 size := m.Size() 3043 dAtA = make([]byte, size) 3044 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3045 if err != nil { 3046 return nil, err 3047 } 3048 return dAtA[:n], nil 3049 } 3050 3051 func (m *MsgValsetUpdatedClaim) MarshalTo(dAtA []byte) (int, error) { 3052 size := m.Size() 3053 return m.MarshalToSizedBuffer(dAtA[:size]) 3054 } 3055 3056 func (m *MsgValsetUpdatedClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3057 i := len(dAtA) 3058 _ = i 3059 var l int 3060 _ = l 3061 if len(m.Orchestrator) > 0 { 3062 i -= len(m.Orchestrator) 3063 copy(dAtA[i:], m.Orchestrator) 3064 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Orchestrator))) 3065 i-- 3066 dAtA[i] = 0x3a 3067 } 3068 if len(m.RewardToken) > 0 { 3069 i -= len(m.RewardToken) 3070 copy(dAtA[i:], m.RewardToken) 3071 i = encodeVarintMsgs(dAtA, i, uint64(len(m.RewardToken))) 3072 i-- 3073 dAtA[i] = 0x32 3074 } 3075 { 3076 size := m.RewardAmount.Size() 3077 i -= size 3078 if _, err := m.RewardAmount.MarshalTo(dAtA[i:]); err != nil { 3079 return 0, err 3080 } 3081 i = encodeVarintMsgs(dAtA, i, uint64(size)) 3082 } 3083 i-- 3084 dAtA[i] = 0x2a 3085 if len(m.Members) > 0 { 3086 for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- { 3087 { 3088 size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3089 if err != nil { 3090 return 0, err 3091 } 3092 i -= size 3093 i = encodeVarintMsgs(dAtA, i, uint64(size)) 3094 } 3095 i-- 3096 dAtA[i] = 0x22 3097 } 3098 } 3099 if m.BlockHeight != 0 { 3100 i = encodeVarintMsgs(dAtA, i, uint64(m.BlockHeight)) 3101 i-- 3102 dAtA[i] = 0x18 3103 } 3104 if m.ValsetNonce != 0 { 3105 i = encodeVarintMsgs(dAtA, i, uint64(m.ValsetNonce)) 3106 i-- 3107 dAtA[i] = 0x10 3108 } 3109 if m.EventNonce != 0 { 3110 i = encodeVarintMsgs(dAtA, i, uint64(m.EventNonce)) 3111 i-- 3112 dAtA[i] = 0x8 3113 } 3114 return len(dAtA) - i, nil 3115 } 3116 3117 func (m *MsgValsetUpdatedClaimResponse) Marshal() (dAtA []byte, err error) { 3118 size := m.Size() 3119 dAtA = make([]byte, size) 3120 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3121 if err != nil { 3122 return nil, err 3123 } 3124 return dAtA[:n], nil 3125 } 3126 3127 func (m *MsgValsetUpdatedClaimResponse) MarshalTo(dAtA []byte) (int, error) { 3128 size := m.Size() 3129 return m.MarshalToSizedBuffer(dAtA[:size]) 3130 } 3131 3132 func (m *MsgValsetUpdatedClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3133 i := len(dAtA) 3134 _ = i 3135 var l int 3136 _ = l 3137 return len(dAtA) - i, nil 3138 } 3139 3140 func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { 3141 size := m.Size() 3142 dAtA = make([]byte, size) 3143 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3144 if err != nil { 3145 return nil, err 3146 } 3147 return dAtA[:n], nil 3148 } 3149 3150 func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { 3151 size := m.Size() 3152 return m.MarshalToSizedBuffer(dAtA[:size]) 3153 } 3154 3155 func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3156 i := len(dAtA) 3157 _ = i 3158 var l int 3159 _ = l 3160 { 3161 size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) 3162 if err != nil { 3163 return 0, err 3164 } 3165 i -= size 3166 i = encodeVarintMsgs(dAtA, i, uint64(size)) 3167 } 3168 i-- 3169 dAtA[i] = 0x12 3170 if len(m.Authority) > 0 { 3171 i -= len(m.Authority) 3172 copy(dAtA[i:], m.Authority) 3173 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Authority))) 3174 i-- 3175 dAtA[i] = 0xa 3176 } 3177 return len(dAtA) - i, nil 3178 } 3179 3180 func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { 3181 size := m.Size() 3182 dAtA = make([]byte, size) 3183 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3184 if err != nil { 3185 return nil, err 3186 } 3187 return dAtA[:n], nil 3188 } 3189 3190 func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { 3191 size := m.Size() 3192 return m.MarshalToSizedBuffer(dAtA[:size]) 3193 } 3194 3195 func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3196 i := len(dAtA) 3197 _ = i 3198 var l int 3199 _ = l 3200 return len(dAtA) - i, nil 3201 } 3202 3203 func (m *MsgBlacklistEthereumAddresses) Marshal() (dAtA []byte, err error) { 3204 size := m.Size() 3205 dAtA = make([]byte, size) 3206 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3207 if err != nil { 3208 return nil, err 3209 } 3210 return dAtA[:n], nil 3211 } 3212 3213 func (m *MsgBlacklistEthereumAddresses) MarshalTo(dAtA []byte) (int, error) { 3214 size := m.Size() 3215 return m.MarshalToSizedBuffer(dAtA[:size]) 3216 } 3217 3218 func (m *MsgBlacklistEthereumAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3219 i := len(dAtA) 3220 _ = i 3221 var l int 3222 _ = l 3223 if len(m.BlacklistAddresses) > 0 { 3224 for iNdEx := len(m.BlacklistAddresses) - 1; iNdEx >= 0; iNdEx-- { 3225 i -= len(m.BlacklistAddresses[iNdEx]) 3226 copy(dAtA[i:], m.BlacklistAddresses[iNdEx]) 3227 i = encodeVarintMsgs(dAtA, i, uint64(len(m.BlacklistAddresses[iNdEx]))) 3228 i-- 3229 dAtA[i] = 0x12 3230 } 3231 } 3232 if len(m.Signer) > 0 { 3233 i -= len(m.Signer) 3234 copy(dAtA[i:], m.Signer) 3235 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Signer))) 3236 i-- 3237 dAtA[i] = 0xa 3238 } 3239 return len(dAtA) - i, nil 3240 } 3241 3242 func (m *MsgBlacklistEthereumAddressesResponse) Marshal() (dAtA []byte, err error) { 3243 size := m.Size() 3244 dAtA = make([]byte, size) 3245 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3246 if err != nil { 3247 return nil, err 3248 } 3249 return dAtA[:n], nil 3250 } 3251 3252 func (m *MsgBlacklistEthereumAddressesResponse) MarshalTo(dAtA []byte) (int, error) { 3253 size := m.Size() 3254 return m.MarshalToSizedBuffer(dAtA[:size]) 3255 } 3256 3257 func (m *MsgBlacklistEthereumAddressesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3258 i := len(dAtA) 3259 _ = i 3260 var l int 3261 _ = l 3262 return len(dAtA) - i, nil 3263 } 3264 3265 func (m *MsgRevokeEthereumBlacklist) Marshal() (dAtA []byte, err error) { 3266 size := m.Size() 3267 dAtA = make([]byte, size) 3268 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3269 if err != nil { 3270 return nil, err 3271 } 3272 return dAtA[:n], nil 3273 } 3274 3275 func (m *MsgRevokeEthereumBlacklist) MarshalTo(dAtA []byte) (int, error) { 3276 size := m.Size() 3277 return m.MarshalToSizedBuffer(dAtA[:size]) 3278 } 3279 3280 func (m *MsgRevokeEthereumBlacklist) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3281 i := len(dAtA) 3282 _ = i 3283 var l int 3284 _ = l 3285 if len(m.BlacklistAddresses) > 0 { 3286 for iNdEx := len(m.BlacklistAddresses) - 1; iNdEx >= 0; iNdEx-- { 3287 i -= len(m.BlacklistAddresses[iNdEx]) 3288 copy(dAtA[i:], m.BlacklistAddresses[iNdEx]) 3289 i = encodeVarintMsgs(dAtA, i, uint64(len(m.BlacklistAddresses[iNdEx]))) 3290 i-- 3291 dAtA[i] = 0x12 3292 } 3293 } 3294 if len(m.Signer) > 0 { 3295 i -= len(m.Signer) 3296 copy(dAtA[i:], m.Signer) 3297 i = encodeVarintMsgs(dAtA, i, uint64(len(m.Signer))) 3298 i-- 3299 dAtA[i] = 0xa 3300 } 3301 return len(dAtA) - i, nil 3302 } 3303 3304 func (m *MsgRevokeEthereumBlacklistResponse) Marshal() (dAtA []byte, err error) { 3305 size := m.Size() 3306 dAtA = make([]byte, size) 3307 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3308 if err != nil { 3309 return nil, err 3310 } 3311 return dAtA[:n], nil 3312 } 3313 3314 func (m *MsgRevokeEthereumBlacklistResponse) MarshalTo(dAtA []byte) (int, error) { 3315 size := m.Size() 3316 return m.MarshalToSizedBuffer(dAtA[:size]) 3317 } 3318 3319 func (m *MsgRevokeEthereumBlacklistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3320 i := len(dAtA) 3321 _ = i 3322 var l int 3323 _ = l 3324 return len(dAtA) - i, nil 3325 } 3326 3327 func encodeVarintMsgs(dAtA []byte, offset int, v uint64) int { 3328 offset -= sovMsgs(v) 3329 base := offset 3330 for v >= 1<<7 { 3331 dAtA[offset] = uint8(v&0x7f | 0x80) 3332 v >>= 7 3333 offset++ 3334 } 3335 dAtA[offset] = uint8(v) 3336 return base 3337 } 3338 func (m *MsgSetOrchestratorAddresses) Size() (n int) { 3339 if m == nil { 3340 return 0 3341 } 3342 var l int 3343 _ = l 3344 l = len(m.Sender) 3345 if l > 0 { 3346 n += 1 + l + sovMsgs(uint64(l)) 3347 } 3348 l = len(m.Orchestrator) 3349 if l > 0 { 3350 n += 1 + l + sovMsgs(uint64(l)) 3351 } 3352 l = len(m.EthAddress) 3353 if l > 0 { 3354 n += 1 + l + sovMsgs(uint64(l)) 3355 } 3356 return n 3357 } 3358 3359 func (m *MsgSetOrchestratorAddressesResponse) Size() (n int) { 3360 if m == nil { 3361 return 0 3362 } 3363 var l int 3364 _ = l 3365 return n 3366 } 3367 3368 func (m *MsgValsetConfirm) Size() (n int) { 3369 if m == nil { 3370 return 0 3371 } 3372 var l int 3373 _ = l 3374 if m.Nonce != 0 { 3375 n += 1 + sovMsgs(uint64(m.Nonce)) 3376 } 3377 l = len(m.Orchestrator) 3378 if l > 0 { 3379 n += 1 + l + sovMsgs(uint64(l)) 3380 } 3381 l = len(m.EthAddress) 3382 if l > 0 { 3383 n += 1 + l + sovMsgs(uint64(l)) 3384 } 3385 l = len(m.Signature) 3386 if l > 0 { 3387 n += 1 + l + sovMsgs(uint64(l)) 3388 } 3389 return n 3390 } 3391 3392 func (m *MsgValsetConfirmResponse) Size() (n int) { 3393 if m == nil { 3394 return 0 3395 } 3396 var l int 3397 _ = l 3398 return n 3399 } 3400 3401 func (m *MsgSendToEth) Size() (n int) { 3402 if m == nil { 3403 return 0 3404 } 3405 var l int 3406 _ = l 3407 l = len(m.Sender) 3408 if l > 0 { 3409 n += 1 + l + sovMsgs(uint64(l)) 3410 } 3411 l = len(m.EthDest) 3412 if l > 0 { 3413 n += 1 + l + sovMsgs(uint64(l)) 3414 } 3415 l = m.Amount.Size() 3416 n += 1 + l + sovMsgs(uint64(l)) 3417 l = m.BridgeFee.Size() 3418 n += 1 + l + sovMsgs(uint64(l)) 3419 return n 3420 } 3421 3422 func (m *MsgSendToEthResponse) Size() (n int) { 3423 if m == nil { 3424 return 0 3425 } 3426 var l int 3427 _ = l 3428 return n 3429 } 3430 3431 func (m *MsgRequestBatch) Size() (n int) { 3432 if m == nil { 3433 return 0 3434 } 3435 var l int 3436 _ = l 3437 l = len(m.Orchestrator) 3438 if l > 0 { 3439 n += 1 + l + sovMsgs(uint64(l)) 3440 } 3441 l = len(m.Denom) 3442 if l > 0 { 3443 n += 1 + l + sovMsgs(uint64(l)) 3444 } 3445 return n 3446 } 3447 3448 func (m *MsgRequestBatchResponse) Size() (n int) { 3449 if m == nil { 3450 return 0 3451 } 3452 var l int 3453 _ = l 3454 return n 3455 } 3456 3457 func (m *MsgConfirmBatch) Size() (n int) { 3458 if m == nil { 3459 return 0 3460 } 3461 var l int 3462 _ = l 3463 if m.Nonce != 0 { 3464 n += 1 + sovMsgs(uint64(m.Nonce)) 3465 } 3466 l = len(m.TokenContract) 3467 if l > 0 { 3468 n += 1 + l + sovMsgs(uint64(l)) 3469 } 3470 l = len(m.EthSigner) 3471 if l > 0 { 3472 n += 1 + l + sovMsgs(uint64(l)) 3473 } 3474 l = len(m.Orchestrator) 3475 if l > 0 { 3476 n += 1 + l + sovMsgs(uint64(l)) 3477 } 3478 l = len(m.Signature) 3479 if l > 0 { 3480 n += 1 + l + sovMsgs(uint64(l)) 3481 } 3482 return n 3483 } 3484 3485 func (m *MsgConfirmBatchResponse) Size() (n int) { 3486 if m == nil { 3487 return 0 3488 } 3489 var l int 3490 _ = l 3491 return n 3492 } 3493 3494 func (m *MsgDepositClaim) Size() (n int) { 3495 if m == nil { 3496 return 0 3497 } 3498 var l int 3499 _ = l 3500 if m.EventNonce != 0 { 3501 n += 1 + sovMsgs(uint64(m.EventNonce)) 3502 } 3503 if m.BlockHeight != 0 { 3504 n += 1 + sovMsgs(uint64(m.BlockHeight)) 3505 } 3506 l = len(m.TokenContract) 3507 if l > 0 { 3508 n += 1 + l + sovMsgs(uint64(l)) 3509 } 3510 l = m.Amount.Size() 3511 n += 1 + l + sovMsgs(uint64(l)) 3512 l = len(m.EthereumSender) 3513 if l > 0 { 3514 n += 1 + l + sovMsgs(uint64(l)) 3515 } 3516 l = len(m.CosmosReceiver) 3517 if l > 0 { 3518 n += 1 + l + sovMsgs(uint64(l)) 3519 } 3520 l = len(m.Orchestrator) 3521 if l > 0 { 3522 n += 1 + l + sovMsgs(uint64(l)) 3523 } 3524 l = len(m.Data) 3525 if l > 0 { 3526 n += 1 + l + sovMsgs(uint64(l)) 3527 } 3528 return n 3529 } 3530 3531 func (m *MsgDepositClaimResponse) Size() (n int) { 3532 if m == nil { 3533 return 0 3534 } 3535 var l int 3536 _ = l 3537 return n 3538 } 3539 3540 func (m *MsgWithdrawClaim) Size() (n int) { 3541 if m == nil { 3542 return 0 3543 } 3544 var l int 3545 _ = l 3546 if m.EventNonce != 0 { 3547 n += 1 + sovMsgs(uint64(m.EventNonce)) 3548 } 3549 if m.BlockHeight != 0 { 3550 n += 1 + sovMsgs(uint64(m.BlockHeight)) 3551 } 3552 if m.BatchNonce != 0 { 3553 n += 1 + sovMsgs(uint64(m.BatchNonce)) 3554 } 3555 l = len(m.TokenContract) 3556 if l > 0 { 3557 n += 1 + l + sovMsgs(uint64(l)) 3558 } 3559 l = len(m.Orchestrator) 3560 if l > 0 { 3561 n += 1 + l + sovMsgs(uint64(l)) 3562 } 3563 return n 3564 } 3565 3566 func (m *MsgWithdrawClaimResponse) Size() (n int) { 3567 if m == nil { 3568 return 0 3569 } 3570 var l int 3571 _ = l 3572 return n 3573 } 3574 3575 func (m *MsgERC20DeployedClaim) Size() (n int) { 3576 if m == nil { 3577 return 0 3578 } 3579 var l int 3580 _ = l 3581 if m.EventNonce != 0 { 3582 n += 1 + sovMsgs(uint64(m.EventNonce)) 3583 } 3584 if m.BlockHeight != 0 { 3585 n += 1 + sovMsgs(uint64(m.BlockHeight)) 3586 } 3587 l = len(m.CosmosDenom) 3588 if l > 0 { 3589 n += 1 + l + sovMsgs(uint64(l)) 3590 } 3591 l = len(m.TokenContract) 3592 if l > 0 { 3593 n += 1 + l + sovMsgs(uint64(l)) 3594 } 3595 l = len(m.Name) 3596 if l > 0 { 3597 n += 1 + l + sovMsgs(uint64(l)) 3598 } 3599 l = len(m.Symbol) 3600 if l > 0 { 3601 n += 1 + l + sovMsgs(uint64(l)) 3602 } 3603 if m.Decimals != 0 { 3604 n += 1 + sovMsgs(uint64(m.Decimals)) 3605 } 3606 l = len(m.Orchestrator) 3607 if l > 0 { 3608 n += 1 + l + sovMsgs(uint64(l)) 3609 } 3610 return n 3611 } 3612 3613 func (m *MsgERC20DeployedClaimResponse) Size() (n int) { 3614 if m == nil { 3615 return 0 3616 } 3617 var l int 3618 _ = l 3619 return n 3620 } 3621 3622 func (m *MsgCancelSendToEth) Size() (n int) { 3623 if m == nil { 3624 return 0 3625 } 3626 var l int 3627 _ = l 3628 if m.TransactionId != 0 { 3629 n += 1 + sovMsgs(uint64(m.TransactionId)) 3630 } 3631 l = len(m.Sender) 3632 if l > 0 { 3633 n += 1 + l + sovMsgs(uint64(l)) 3634 } 3635 return n 3636 } 3637 3638 func (m *MsgCancelSendToEthResponse) Size() (n int) { 3639 if m == nil { 3640 return 0 3641 } 3642 var l int 3643 _ = l 3644 return n 3645 } 3646 3647 func (m *MsgSubmitBadSignatureEvidence) Size() (n int) { 3648 if m == nil { 3649 return 0 3650 } 3651 var l int 3652 _ = l 3653 if m.Subject != nil { 3654 l = m.Subject.Size() 3655 n += 1 + l + sovMsgs(uint64(l)) 3656 } 3657 l = len(m.Signature) 3658 if l > 0 { 3659 n += 1 + l + sovMsgs(uint64(l)) 3660 } 3661 l = len(m.Sender) 3662 if l > 0 { 3663 n += 1 + l + sovMsgs(uint64(l)) 3664 } 3665 return n 3666 } 3667 3668 func (m *MsgSubmitBadSignatureEvidenceResponse) Size() (n int) { 3669 if m == nil { 3670 return 0 3671 } 3672 var l int 3673 _ = l 3674 return n 3675 } 3676 3677 func (m *MsgValsetUpdatedClaim) Size() (n int) { 3678 if m == nil { 3679 return 0 3680 } 3681 var l int 3682 _ = l 3683 if m.EventNonce != 0 { 3684 n += 1 + sovMsgs(uint64(m.EventNonce)) 3685 } 3686 if m.ValsetNonce != 0 { 3687 n += 1 + sovMsgs(uint64(m.ValsetNonce)) 3688 } 3689 if m.BlockHeight != 0 { 3690 n += 1 + sovMsgs(uint64(m.BlockHeight)) 3691 } 3692 if len(m.Members) > 0 { 3693 for _, e := range m.Members { 3694 l = e.Size() 3695 n += 1 + l + sovMsgs(uint64(l)) 3696 } 3697 } 3698 l = m.RewardAmount.Size() 3699 n += 1 + l + sovMsgs(uint64(l)) 3700 l = len(m.RewardToken) 3701 if l > 0 { 3702 n += 1 + l + sovMsgs(uint64(l)) 3703 } 3704 l = len(m.Orchestrator) 3705 if l > 0 { 3706 n += 1 + l + sovMsgs(uint64(l)) 3707 } 3708 return n 3709 } 3710 3711 func (m *MsgValsetUpdatedClaimResponse) Size() (n int) { 3712 if m == nil { 3713 return 0 3714 } 3715 var l int 3716 _ = l 3717 return n 3718 } 3719 3720 func (m *MsgUpdateParams) Size() (n int) { 3721 if m == nil { 3722 return 0 3723 } 3724 var l int 3725 _ = l 3726 l = len(m.Authority) 3727 if l > 0 { 3728 n += 1 + l + sovMsgs(uint64(l)) 3729 } 3730 l = m.Params.Size() 3731 n += 1 + l + sovMsgs(uint64(l)) 3732 return n 3733 } 3734 3735 func (m *MsgUpdateParamsResponse) Size() (n int) { 3736 if m == nil { 3737 return 0 3738 } 3739 var l int 3740 _ = l 3741 return n 3742 } 3743 3744 func (m *MsgBlacklistEthereumAddresses) Size() (n int) { 3745 if m == nil { 3746 return 0 3747 } 3748 var l int 3749 _ = l 3750 l = len(m.Signer) 3751 if l > 0 { 3752 n += 1 + l + sovMsgs(uint64(l)) 3753 } 3754 if len(m.BlacklistAddresses) > 0 { 3755 for _, s := range m.BlacklistAddresses { 3756 l = len(s) 3757 n += 1 + l + sovMsgs(uint64(l)) 3758 } 3759 } 3760 return n 3761 } 3762 3763 func (m *MsgBlacklistEthereumAddressesResponse) Size() (n int) { 3764 if m == nil { 3765 return 0 3766 } 3767 var l int 3768 _ = l 3769 return n 3770 } 3771 3772 func (m *MsgRevokeEthereumBlacklist) Size() (n int) { 3773 if m == nil { 3774 return 0 3775 } 3776 var l int 3777 _ = l 3778 l = len(m.Signer) 3779 if l > 0 { 3780 n += 1 + l + sovMsgs(uint64(l)) 3781 } 3782 if len(m.BlacklistAddresses) > 0 { 3783 for _, s := range m.BlacklistAddresses { 3784 l = len(s) 3785 n += 1 + l + sovMsgs(uint64(l)) 3786 } 3787 } 3788 return n 3789 } 3790 3791 func (m *MsgRevokeEthereumBlacklistResponse) Size() (n int) { 3792 if m == nil { 3793 return 0 3794 } 3795 var l int 3796 _ = l 3797 return n 3798 } 3799 3800 func sovMsgs(x uint64) (n int) { 3801 return (math_bits.Len64(x|1) + 6) / 7 3802 } 3803 func sozMsgs(x uint64) (n int) { 3804 return sovMsgs(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 3805 } 3806 func (m *MsgSetOrchestratorAddresses) Unmarshal(dAtA []byte) error { 3807 l := len(dAtA) 3808 iNdEx := 0 3809 for iNdEx < l { 3810 preIndex := iNdEx 3811 var wire uint64 3812 for shift := uint(0); ; shift += 7 { 3813 if shift >= 64 { 3814 return ErrIntOverflowMsgs 3815 } 3816 if iNdEx >= l { 3817 return io.ErrUnexpectedEOF 3818 } 3819 b := dAtA[iNdEx] 3820 iNdEx++ 3821 wire |= uint64(b&0x7F) << shift 3822 if b < 0x80 { 3823 break 3824 } 3825 } 3826 fieldNum := int32(wire >> 3) 3827 wireType := int(wire & 0x7) 3828 if wireType == 4 { 3829 return fmt.Errorf("proto: MsgSetOrchestratorAddresses: wiretype end group for non-group") 3830 } 3831 if fieldNum <= 0 { 3832 return fmt.Errorf("proto: MsgSetOrchestratorAddresses: illegal tag %d (wire type %d)", fieldNum, wire) 3833 } 3834 switch fieldNum { 3835 case 1: 3836 if wireType != 2 { 3837 return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) 3838 } 3839 var stringLen uint64 3840 for shift := uint(0); ; shift += 7 { 3841 if shift >= 64 { 3842 return ErrIntOverflowMsgs 3843 } 3844 if iNdEx >= l { 3845 return io.ErrUnexpectedEOF 3846 } 3847 b := dAtA[iNdEx] 3848 iNdEx++ 3849 stringLen |= uint64(b&0x7F) << shift 3850 if b < 0x80 { 3851 break 3852 } 3853 } 3854 intStringLen := int(stringLen) 3855 if intStringLen < 0 { 3856 return ErrInvalidLengthMsgs 3857 } 3858 postIndex := iNdEx + intStringLen 3859 if postIndex < 0 { 3860 return ErrInvalidLengthMsgs 3861 } 3862 if postIndex > l { 3863 return io.ErrUnexpectedEOF 3864 } 3865 m.Sender = string(dAtA[iNdEx:postIndex]) 3866 iNdEx = postIndex 3867 case 2: 3868 if wireType != 2 { 3869 return fmt.Errorf("proto: wrong wireType = %d for field Orchestrator", wireType) 3870 } 3871 var stringLen uint64 3872 for shift := uint(0); ; shift += 7 { 3873 if shift >= 64 { 3874 return ErrIntOverflowMsgs 3875 } 3876 if iNdEx >= l { 3877 return io.ErrUnexpectedEOF 3878 } 3879 b := dAtA[iNdEx] 3880 iNdEx++ 3881 stringLen |= uint64(b&0x7F) << shift 3882 if b < 0x80 { 3883 break 3884 } 3885 } 3886 intStringLen := int(stringLen) 3887 if intStringLen < 0 { 3888 return ErrInvalidLengthMsgs 3889 } 3890 postIndex := iNdEx + intStringLen 3891 if postIndex < 0 { 3892 return ErrInvalidLengthMsgs 3893 } 3894 if postIndex > l { 3895 return io.ErrUnexpectedEOF 3896 } 3897 m.Orchestrator = string(dAtA[iNdEx:postIndex]) 3898 iNdEx = postIndex 3899 case 3: 3900 if wireType != 2 { 3901 return fmt.Errorf("proto: wrong wireType = %d for field EthAddress", wireType) 3902 } 3903 var stringLen uint64 3904 for shift := uint(0); ; shift += 7 { 3905 if shift >= 64 { 3906 return ErrIntOverflowMsgs 3907 } 3908 if iNdEx >= l { 3909 return io.ErrUnexpectedEOF 3910 } 3911 b := dAtA[iNdEx] 3912 iNdEx++ 3913 stringLen |= uint64(b&0x7F) << shift 3914 if b < 0x80 { 3915 break 3916 } 3917 } 3918 intStringLen := int(stringLen) 3919 if intStringLen < 0 { 3920 return ErrInvalidLengthMsgs 3921 } 3922 postIndex := iNdEx + intStringLen 3923 if postIndex < 0 { 3924 return ErrInvalidLengthMsgs 3925 } 3926 if postIndex > l { 3927 return io.ErrUnexpectedEOF 3928 } 3929 m.EthAddress = string(dAtA[iNdEx:postIndex]) 3930 iNdEx = postIndex 3931 default: 3932 iNdEx = preIndex 3933 skippy, err := skipMsgs(dAtA[iNdEx:]) 3934 if err != nil { 3935 return err 3936 } 3937 if (skippy < 0) || (iNdEx+skippy) < 0 { 3938 return ErrInvalidLengthMsgs 3939 } 3940 if (iNdEx + skippy) > l { 3941 return io.ErrUnexpectedEOF 3942 } 3943 iNdEx += skippy 3944 } 3945 } 3946 3947 if iNdEx > l { 3948 return io.ErrUnexpectedEOF 3949 } 3950 return nil 3951 } 3952 func (m *MsgSetOrchestratorAddressesResponse) Unmarshal(dAtA []byte) error { 3953 l := len(dAtA) 3954 iNdEx := 0 3955 for iNdEx < l { 3956 preIndex := iNdEx 3957 var wire uint64 3958 for shift := uint(0); ; shift += 7 { 3959 if shift >= 64 { 3960 return ErrIntOverflowMsgs 3961 } 3962 if iNdEx >= l { 3963 return io.ErrUnexpectedEOF 3964 } 3965 b := dAtA[iNdEx] 3966 iNdEx++ 3967 wire |= uint64(b&0x7F) << shift 3968 if b < 0x80 { 3969 break 3970 } 3971 } 3972 fieldNum := int32(wire >> 3) 3973 wireType := int(wire & 0x7) 3974 if wireType == 4 { 3975 return fmt.Errorf("proto: MsgSetOrchestratorAddressesResponse: wiretype end group for non-group") 3976 } 3977 if fieldNum <= 0 { 3978 return fmt.Errorf("proto: MsgSetOrchestratorAddressesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 3979 } 3980 switch fieldNum { 3981 default: 3982 iNdEx = preIndex 3983 skippy, err := skipMsgs(dAtA[iNdEx:]) 3984 if err != nil { 3985 return err 3986 } 3987 if (skippy < 0) || (iNdEx+skippy) < 0 { 3988 return ErrInvalidLengthMsgs 3989 } 3990 if (iNdEx + skippy) > l { 3991 return io.ErrUnexpectedEOF 3992 } 3993 iNdEx += skippy 3994 } 3995 } 3996 3997 if iNdEx > l { 3998 return io.ErrUnexpectedEOF 3999 } 4000 return nil 4001 } 4002 func (m *MsgValsetConfirm) Unmarshal(dAtA []byte) error { 4003 l := len(dAtA) 4004 iNdEx := 0 4005 for iNdEx < l { 4006 preIndex := iNdEx 4007 var wire uint64 4008 for shift := uint(0); ; shift += 7 { 4009 if shift >= 64 { 4010 return ErrIntOverflowMsgs 4011 } 4012 if iNdEx >= l { 4013 return io.ErrUnexpectedEOF 4014 } 4015 b := dAtA[iNdEx] 4016 iNdEx++ 4017 wire |= uint64(b&0x7F) << shift 4018 if b < 0x80 { 4019 break 4020 } 4021 } 4022 fieldNum := int32(wire >> 3) 4023 wireType := int(wire & 0x7) 4024 if wireType == 4 { 4025 return fmt.Errorf("proto: MsgValsetConfirm: wiretype end group for non-group") 4026 } 4027 if fieldNum <= 0 { 4028 return fmt.Errorf("proto: MsgValsetConfirm: illegal tag %d (wire type %d)", fieldNum, wire) 4029 } 4030 switch fieldNum { 4031 case 1: 4032 if wireType != 0 { 4033 return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) 4034 } 4035 m.Nonce = 0 4036 for shift := uint(0); ; shift += 7 { 4037 if shift >= 64 { 4038 return ErrIntOverflowMsgs 4039 } 4040 if iNdEx >= l { 4041 return io.ErrUnexpectedEOF 4042 } 4043 b := dAtA[iNdEx] 4044 iNdEx++ 4045 m.Nonce |= uint64(b&0x7F) << shift 4046 if b < 0x80 { 4047 break 4048 } 4049 } 4050 case 2: 4051 if wireType != 2 { 4052 return fmt.Errorf("proto: wrong wireType = %d for field Orchestrator", wireType) 4053 } 4054 var stringLen uint64 4055 for shift := uint(0); ; shift += 7 { 4056 if shift >= 64 { 4057 return ErrIntOverflowMsgs 4058 } 4059 if iNdEx >= l { 4060 return io.ErrUnexpectedEOF 4061 } 4062 b := dAtA[iNdEx] 4063 iNdEx++ 4064 stringLen |= uint64(b&0x7F) << shift 4065 if b < 0x80 { 4066 break 4067 } 4068 } 4069 intStringLen := int(stringLen) 4070 if intStringLen < 0 { 4071 return ErrInvalidLengthMsgs 4072 } 4073 postIndex := iNdEx + intStringLen 4074 if postIndex < 0 { 4075 return ErrInvalidLengthMsgs 4076 } 4077 if postIndex > l { 4078 return io.ErrUnexpectedEOF 4079 } 4080 m.Orchestrator = string(dAtA[iNdEx:postIndex]) 4081 iNdEx = postIndex 4082 case 3: 4083 if wireType != 2 { 4084 return fmt.Errorf("proto: wrong wireType = %d for field EthAddress", wireType) 4085 } 4086 var stringLen uint64 4087 for shift := uint(0); ; shift += 7 { 4088 if shift >= 64 { 4089 return ErrIntOverflowMsgs 4090 } 4091 if iNdEx >= l { 4092 return io.ErrUnexpectedEOF 4093 } 4094 b := dAtA[iNdEx] 4095 iNdEx++ 4096 stringLen |= uint64(b&0x7F) << shift 4097 if b < 0x80 { 4098 break 4099 } 4100 } 4101 intStringLen := int(stringLen) 4102 if intStringLen < 0 { 4103 return ErrInvalidLengthMsgs 4104 } 4105 postIndex := iNdEx + intStringLen 4106 if postIndex < 0 { 4107 return ErrInvalidLengthMsgs 4108 } 4109 if postIndex > l { 4110 return io.ErrUnexpectedEOF 4111 } 4112 m.EthAddress = string(dAtA[iNdEx:postIndex]) 4113 iNdEx = postIndex 4114 case 4: 4115 if wireType != 2 { 4116 return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) 4117 } 4118 var stringLen uint64 4119 for shift := uint(0); ; shift += 7 { 4120 if shift >= 64 { 4121 return ErrIntOverflowMsgs 4122 } 4123 if iNdEx >= l { 4124 return io.ErrUnexpectedEOF 4125 } 4126 b := dAtA[iNdEx] 4127 iNdEx++ 4128 stringLen |= uint64(b&0x7F) << shift 4129 if b < 0x80 { 4130 break 4131 } 4132 } 4133 intStringLen := int(stringLen) 4134 if intStringLen < 0 { 4135 return ErrInvalidLengthMsgs 4136 } 4137 postIndex := iNdEx + intStringLen 4138 if postIndex < 0 { 4139 return ErrInvalidLengthMsgs 4140 } 4141 if postIndex > l { 4142 return io.ErrUnexpectedEOF 4143 } 4144 m.Signature = string(dAtA[iNdEx:postIndex]) 4145 iNdEx = postIndex 4146 default: 4147 iNdEx = preIndex 4148 skippy, err := skipMsgs(dAtA[iNdEx:]) 4149 if err != nil { 4150 return err 4151 } 4152 if (skippy < 0) || (iNdEx+skippy) < 0 { 4153 return ErrInvalidLengthMsgs 4154 } 4155 if (iNdEx + skippy) > l { 4156 return io.ErrUnexpectedEOF 4157 } 4158 iNdEx += skippy 4159 } 4160 } 4161 4162 if iNdEx > l { 4163 return io.ErrUnexpectedEOF 4164 } 4165 return nil 4166 } 4167 func (m *MsgValsetConfirmResponse) Unmarshal(dAtA []byte) error { 4168 l := len(dAtA) 4169 iNdEx := 0 4170 for iNdEx < l { 4171 preIndex := iNdEx 4172 var wire uint64 4173 for shift := uint(0); ; shift += 7 { 4174 if shift >= 64 { 4175 return ErrIntOverflowMsgs 4176 } 4177 if iNdEx >= l { 4178 return io.ErrUnexpectedEOF 4179 } 4180 b := dAtA[iNdEx] 4181 iNdEx++ 4182 wire |= uint64(b&0x7F) << shift 4183 if b < 0x80 { 4184 break 4185 } 4186 } 4187 fieldNum := int32(wire >> 3) 4188 wireType := int(wire & 0x7) 4189 if wireType == 4 { 4190 return fmt.Errorf("proto: MsgValsetConfirmResponse: wiretype end group for non-group") 4191 } 4192 if fieldNum <= 0 { 4193 return fmt.Errorf("proto: MsgValsetConfirmResponse: illegal tag %d (wire type %d)", fieldNum, wire) 4194 } 4195 switch fieldNum { 4196 default: 4197 iNdEx = preIndex 4198 skippy, err := skipMsgs(dAtA[iNdEx:]) 4199 if err != nil { 4200 return err 4201 } 4202 if (skippy < 0) || (iNdEx+skippy) < 0 { 4203 return ErrInvalidLengthMsgs 4204 } 4205 if (iNdEx + skippy) > l { 4206 return io.ErrUnexpectedEOF 4207 } 4208 iNdEx += skippy 4209 } 4210 } 4211 4212 if iNdEx > l { 4213 return io.ErrUnexpectedEOF 4214 } 4215 return nil 4216 } 4217 func (m *MsgSendToEth) Unmarshal(dAtA []byte) error { 4218 l := len(dAtA) 4219 iNdEx := 0 4220 for iNdEx < l { 4221 preIndex := iNdEx 4222 var wire uint64 4223 for shift := uint(0); ; shift += 7 { 4224 if shift >= 64 { 4225 return ErrIntOverflowMsgs 4226 } 4227 if iNdEx >= l { 4228 return io.ErrUnexpectedEOF 4229 } 4230 b := dAtA[iNdEx] 4231 iNdEx++ 4232 wire |= uint64(b&0x7F) << shift 4233 if b < 0x80 { 4234 break 4235 } 4236 } 4237 fieldNum := int32(wire >> 3) 4238 wireType := int(wire & 0x7) 4239 if wireType == 4 { 4240 return fmt.Errorf("proto: MsgSendToEth: wiretype end group for non-group") 4241 } 4242 if fieldNum <= 0 { 4243 return fmt.Errorf("proto: MsgSendToEth: illegal tag %d (wire type %d)", fieldNum, wire) 4244 } 4245 switch fieldNum { 4246 case 1: 4247 if wireType != 2 { 4248 return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) 4249 } 4250 var stringLen uint64 4251 for shift := uint(0); ; shift += 7 { 4252 if shift >= 64 { 4253 return ErrIntOverflowMsgs 4254 } 4255 if iNdEx >= l { 4256 return io.ErrUnexpectedEOF 4257 } 4258 b := dAtA[iNdEx] 4259 iNdEx++ 4260 stringLen |= uint64(b&0x7F) << shift 4261 if b < 0x80 { 4262 break 4263 } 4264 } 4265 intStringLen := int(stringLen) 4266 if intStringLen < 0 { 4267 return ErrInvalidLengthMsgs 4268 } 4269 postIndex := iNdEx + intStringLen 4270 if postIndex < 0 { 4271 return ErrInvalidLengthMsgs 4272 } 4273 if postIndex > l { 4274 return io.ErrUnexpectedEOF 4275 } 4276 m.Sender = string(dAtA[iNdEx:postIndex]) 4277 iNdEx = postIndex 4278 case 2: 4279 if wireType != 2 { 4280 return fmt.Errorf("proto: wrong wireType = %d for field EthDest", wireType) 4281 } 4282 var stringLen uint64 4283 for shift := uint(0); ; shift += 7 { 4284 if shift >= 64 { 4285 return ErrIntOverflowMsgs 4286 } 4287 if iNdEx >= l { 4288 return io.ErrUnexpectedEOF 4289 } 4290 b := dAtA[iNdEx] 4291 iNdEx++ 4292 stringLen |= uint64(b&0x7F) << shift 4293 if b < 0x80 { 4294 break 4295 } 4296 } 4297 intStringLen := int(stringLen) 4298 if intStringLen < 0 { 4299 return ErrInvalidLengthMsgs 4300 } 4301 postIndex := iNdEx + intStringLen 4302 if postIndex < 0 { 4303 return ErrInvalidLengthMsgs 4304 } 4305 if postIndex > l { 4306 return io.ErrUnexpectedEOF 4307 } 4308 m.EthDest = string(dAtA[iNdEx:postIndex]) 4309 iNdEx = postIndex 4310 case 3: 4311 if wireType != 2 { 4312 return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) 4313 } 4314 var msglen int 4315 for shift := uint(0); ; shift += 7 { 4316 if shift >= 64 { 4317 return ErrIntOverflowMsgs 4318 } 4319 if iNdEx >= l { 4320 return io.ErrUnexpectedEOF 4321 } 4322 b := dAtA[iNdEx] 4323 iNdEx++ 4324 msglen |= int(b&0x7F) << shift 4325 if b < 0x80 { 4326 break 4327 } 4328 } 4329 if msglen < 0 { 4330 return ErrInvalidLengthMsgs 4331 } 4332 postIndex := iNdEx + msglen 4333 if postIndex < 0 { 4334 return ErrInvalidLengthMsgs 4335 } 4336 if postIndex > l { 4337 return io.ErrUnexpectedEOF 4338 } 4339 if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4340 return err 4341 } 4342 iNdEx = postIndex 4343 case 4: 4344 if wireType != 2 { 4345 return fmt.Errorf("proto: wrong wireType = %d for field BridgeFee", wireType) 4346 } 4347 var msglen int 4348 for shift := uint(0); ; shift += 7 { 4349 if shift >= 64 { 4350 return ErrIntOverflowMsgs 4351 } 4352 if iNdEx >= l { 4353 return io.ErrUnexpectedEOF 4354 } 4355 b := dAtA[iNdEx] 4356 iNdEx++ 4357 msglen |= int(b&0x7F) << shift 4358 if b < 0x80 { 4359 break 4360 } 4361 } 4362 if msglen < 0 { 4363 return ErrInvalidLengthMsgs 4364 } 4365 postIndex := iNdEx + msglen 4366 if postIndex < 0 { 4367 return ErrInvalidLengthMsgs 4368 } 4369 if postIndex > l { 4370 return io.ErrUnexpectedEOF 4371 } 4372 if err := m.BridgeFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4373 return err 4374 } 4375 iNdEx = postIndex 4376 default: 4377 iNdEx = preIndex 4378 skippy, err := skipMsgs(dAtA[iNdEx:]) 4379 if err != nil { 4380 return err 4381 } 4382 if (skippy < 0) || (iNdEx+skippy) < 0 { 4383 return ErrInvalidLengthMsgs 4384 } 4385 if (iNdEx + skippy) > l { 4386 return io.ErrUnexpectedEOF 4387 } 4388 iNdEx += skippy 4389 } 4390 } 4391 4392 if iNdEx > l { 4393 return io.ErrUnexpectedEOF 4394 } 4395 return nil 4396 } 4397 func (m *MsgSendToEthResponse) Unmarshal(dAtA []byte) error { 4398 l := len(dAtA) 4399 iNdEx := 0 4400 for iNdEx < l { 4401 preIndex := iNdEx 4402 var wire uint64 4403 for shift := uint(0); ; shift += 7 { 4404 if shift >= 64 { 4405 return ErrIntOverflowMsgs 4406 } 4407 if iNdEx >= l { 4408 return io.ErrUnexpectedEOF 4409 } 4410 b := dAtA[iNdEx] 4411 iNdEx++ 4412 wire |= uint64(b&0x7F) << shift 4413 if b < 0x80 { 4414 break 4415 } 4416 } 4417 fieldNum := int32(wire >> 3) 4418 wireType := int(wire & 0x7) 4419 if wireType == 4 { 4420 return fmt.Errorf("proto: MsgSendToEthResponse: wiretype end group for non-group") 4421 } 4422 if fieldNum <= 0 { 4423 return fmt.Errorf("proto: MsgSendToEthResponse: illegal tag %d (wire type %d)", fieldNum, wire) 4424 } 4425 switch fieldNum { 4426 default: 4427 iNdEx = preIndex 4428 skippy, err := skipMsgs(dAtA[iNdEx:]) 4429 if err != nil { 4430 return err 4431 } 4432 if (skippy < 0) || (iNdEx+skippy) < 0 { 4433 return ErrInvalidLengthMsgs 4434 } 4435 if (iNdEx + skippy) > l { 4436 return io.ErrUnexpectedEOF 4437 } 4438 iNdEx += skippy 4439 } 4440 } 4441 4442 if iNdEx > l { 4443 return io.ErrUnexpectedEOF 4444 } 4445 return nil 4446 } 4447 func (m *MsgRequestBatch) Unmarshal(dAtA []byte) error { 4448 l := len(dAtA) 4449 iNdEx := 0 4450 for iNdEx < l { 4451 preIndex := iNdEx 4452 var wire uint64 4453 for shift := uint(0); ; shift += 7 { 4454 if shift >= 64 { 4455 return ErrIntOverflowMsgs 4456 } 4457 if iNdEx >= l { 4458 return io.ErrUnexpectedEOF 4459 } 4460 b := dAtA[iNdEx] 4461 iNdEx++ 4462 wire |= uint64(b&0x7F) << shift 4463 if b < 0x80 { 4464 break 4465 } 4466 } 4467 fieldNum := int32(wire >> 3) 4468 wireType := int(wire & 0x7) 4469 if wireType == 4 { 4470 return fmt.Errorf("proto: MsgRequestBatch: wiretype end group for non-group") 4471 } 4472 if fieldNum <= 0 { 4473 return fmt.Errorf("proto: MsgRequestBatch: illegal tag %d (wire type %d)", fieldNum, wire) 4474 } 4475 switch fieldNum { 4476 case 1: 4477 if wireType != 2 { 4478 return fmt.Errorf("proto: wrong wireType = %d for field Orchestrator", wireType) 4479 } 4480 var stringLen uint64 4481 for shift := uint(0); ; shift += 7 { 4482 if shift >= 64 { 4483 return ErrIntOverflowMsgs 4484 } 4485 if iNdEx >= l { 4486 return io.ErrUnexpectedEOF 4487 } 4488 b := dAtA[iNdEx] 4489 iNdEx++ 4490 stringLen |= uint64(b&0x7F) << shift 4491 if b < 0x80 { 4492 break 4493 } 4494 } 4495 intStringLen := int(stringLen) 4496 if intStringLen < 0 { 4497 return ErrInvalidLengthMsgs 4498 } 4499 postIndex := iNdEx + intStringLen 4500 if postIndex < 0 { 4501 return ErrInvalidLengthMsgs 4502 } 4503 if postIndex > l { 4504 return io.ErrUnexpectedEOF 4505 } 4506 m.Orchestrator = string(dAtA[iNdEx:postIndex]) 4507 iNdEx = postIndex 4508 case 2: 4509 if wireType != 2 { 4510 return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) 4511 } 4512 var stringLen uint64 4513 for shift := uint(0); ; shift += 7 { 4514 if shift >= 64 { 4515 return ErrIntOverflowMsgs 4516 } 4517 if iNdEx >= l { 4518 return io.ErrUnexpectedEOF 4519 } 4520 b := dAtA[iNdEx] 4521 iNdEx++ 4522 stringLen |= uint64(b&0x7F) << shift 4523 if b < 0x80 { 4524 break 4525 } 4526 } 4527 intStringLen := int(stringLen) 4528 if intStringLen < 0 { 4529 return ErrInvalidLengthMsgs 4530 } 4531 postIndex := iNdEx + intStringLen 4532 if postIndex < 0 { 4533 return ErrInvalidLengthMsgs 4534 } 4535 if postIndex > l { 4536 return io.ErrUnexpectedEOF 4537 } 4538 m.Denom = string(dAtA[iNdEx:postIndex]) 4539 iNdEx = postIndex 4540 default: 4541 iNdEx = preIndex 4542 skippy, err := skipMsgs(dAtA[iNdEx:]) 4543 if err != nil { 4544 return err 4545 } 4546 if (skippy < 0) || (iNdEx+skippy) < 0 { 4547 return ErrInvalidLengthMsgs 4548 } 4549 if (iNdEx + skippy) > l { 4550 return io.ErrUnexpectedEOF 4551 } 4552 iNdEx += skippy 4553 } 4554 } 4555 4556 if iNdEx > l { 4557 return io.ErrUnexpectedEOF 4558 } 4559 return nil 4560 } 4561 func (m *MsgRequestBatchResponse) Unmarshal(dAtA []byte) error { 4562 l := len(dAtA) 4563 iNdEx := 0 4564 for iNdEx < l { 4565 preIndex := iNdEx 4566 var wire uint64 4567 for shift := uint(0); ; shift += 7 { 4568 if shift >= 64 { 4569 return ErrIntOverflowMsgs 4570 } 4571 if iNdEx >= l { 4572 return io.ErrUnexpectedEOF 4573 } 4574 b := dAtA[iNdEx] 4575 iNdEx++ 4576 wire |= uint64(b&0x7F) << shift 4577 if b < 0x80 { 4578 break 4579 } 4580 } 4581 fieldNum := int32(wire >> 3) 4582 wireType := int(wire & 0x7) 4583 if wireType == 4 { 4584 return fmt.Errorf("proto: MsgRequestBatchResponse: wiretype end group for non-group") 4585 } 4586 if fieldNum <= 0 { 4587 return fmt.Errorf("proto: MsgRequestBatchResponse: illegal tag %d (wire type %d)", fieldNum, wire) 4588 } 4589 switch fieldNum { 4590 default: 4591 iNdEx = preIndex 4592 skippy, err := skipMsgs(dAtA[iNdEx:]) 4593 if err != nil { 4594 return err 4595 } 4596 if (skippy < 0) || (iNdEx+skippy) < 0 { 4597 return ErrInvalidLengthMsgs 4598 } 4599 if (iNdEx + skippy) > l { 4600 return io.ErrUnexpectedEOF 4601 } 4602 iNdEx += skippy 4603 } 4604 } 4605 4606 if iNdEx > l { 4607 return io.ErrUnexpectedEOF 4608 } 4609 return nil 4610 } 4611 func (m *MsgConfirmBatch) Unmarshal(dAtA []byte) error { 4612 l := len(dAtA) 4613 iNdEx := 0 4614 for iNdEx < l { 4615 preIndex := iNdEx 4616 var wire uint64 4617 for shift := uint(0); ; shift += 7 { 4618 if shift >= 64 { 4619 return ErrIntOverflowMsgs 4620 } 4621 if iNdEx >= l { 4622 return io.ErrUnexpectedEOF 4623 } 4624 b := dAtA[iNdEx] 4625 iNdEx++ 4626 wire |= uint64(b&0x7F) << shift 4627 if b < 0x80 { 4628 break 4629 } 4630 } 4631 fieldNum := int32(wire >> 3) 4632 wireType := int(wire & 0x7) 4633 if wireType == 4 { 4634 return fmt.Errorf("proto: MsgConfirmBatch: wiretype end group for non-group") 4635 } 4636 if fieldNum <= 0 { 4637 return fmt.Errorf("proto: MsgConfirmBatch: illegal tag %d (wire type %d)", fieldNum, wire) 4638 } 4639 switch fieldNum { 4640 case 1: 4641 if wireType != 0 { 4642 return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) 4643 } 4644 m.Nonce = 0 4645 for shift := uint(0); ; shift += 7 { 4646 if shift >= 64 { 4647 return ErrIntOverflowMsgs 4648 } 4649 if iNdEx >= l { 4650 return io.ErrUnexpectedEOF 4651 } 4652 b := dAtA[iNdEx] 4653 iNdEx++ 4654 m.Nonce |= uint64(b&0x7F) << shift 4655 if b < 0x80 { 4656 break 4657 } 4658 } 4659 case 2: 4660 if wireType != 2 { 4661 return fmt.Errorf("proto: wrong wireType = %d for field TokenContract", wireType) 4662 } 4663 var stringLen uint64 4664 for shift := uint(0); ; shift += 7 { 4665 if shift >= 64 { 4666 return ErrIntOverflowMsgs 4667 } 4668 if iNdEx >= l { 4669 return io.ErrUnexpectedEOF 4670 } 4671 b := dAtA[iNdEx] 4672 iNdEx++ 4673 stringLen |= uint64(b&0x7F) << shift 4674 if b < 0x80 { 4675 break 4676 } 4677 } 4678 intStringLen := int(stringLen) 4679 if intStringLen < 0 { 4680 return ErrInvalidLengthMsgs 4681 } 4682 postIndex := iNdEx + intStringLen 4683 if postIndex < 0 { 4684 return ErrInvalidLengthMsgs 4685 } 4686 if postIndex > l { 4687 return io.ErrUnexpectedEOF 4688 } 4689 m.TokenContract = string(dAtA[iNdEx:postIndex]) 4690 iNdEx = postIndex 4691 case 3: 4692 if wireType != 2 { 4693 return fmt.Errorf("proto: wrong wireType = %d for field EthSigner", wireType) 4694 } 4695 var stringLen uint64 4696 for shift := uint(0); ; shift += 7 { 4697 if shift >= 64 { 4698 return ErrIntOverflowMsgs 4699 } 4700 if iNdEx >= l { 4701 return io.ErrUnexpectedEOF 4702 } 4703 b := dAtA[iNdEx] 4704 iNdEx++ 4705 stringLen |= uint64(b&0x7F) << shift 4706 if b < 0x80 { 4707 break 4708 } 4709 } 4710 intStringLen := int(stringLen) 4711 if intStringLen < 0 { 4712 return ErrInvalidLengthMsgs 4713 } 4714 postIndex := iNdEx + intStringLen 4715 if postIndex < 0 { 4716 return ErrInvalidLengthMsgs 4717 } 4718 if postIndex > l { 4719 return io.ErrUnexpectedEOF 4720 } 4721 m.EthSigner = string(dAtA[iNdEx:postIndex]) 4722 iNdEx = postIndex 4723 case 4: 4724 if wireType != 2 { 4725 return fmt.Errorf("proto: wrong wireType = %d for field Orchestrator", wireType) 4726 } 4727 var stringLen uint64 4728 for shift := uint(0); ; shift += 7 { 4729 if shift >= 64 { 4730 return ErrIntOverflowMsgs 4731 } 4732 if iNdEx >= l { 4733 return io.ErrUnexpectedEOF 4734 } 4735 b := dAtA[iNdEx] 4736 iNdEx++ 4737 stringLen |= uint64(b&0x7F) << shift 4738 if b < 0x80 { 4739 break 4740 } 4741 } 4742 intStringLen := int(stringLen) 4743 if intStringLen < 0 { 4744 return ErrInvalidLengthMsgs 4745 } 4746 postIndex := iNdEx + intStringLen 4747 if postIndex < 0 { 4748 return ErrInvalidLengthMsgs 4749 } 4750 if postIndex > l { 4751 return io.ErrUnexpectedEOF 4752 } 4753 m.Orchestrator = string(dAtA[iNdEx:postIndex]) 4754 iNdEx = postIndex 4755 case 5: 4756 if wireType != 2 { 4757 return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) 4758 } 4759 var stringLen uint64 4760 for shift := uint(0); ; shift += 7 { 4761 if shift >= 64 { 4762 return ErrIntOverflowMsgs 4763 } 4764 if iNdEx >= l { 4765 return io.ErrUnexpectedEOF 4766 } 4767 b := dAtA[iNdEx] 4768 iNdEx++ 4769 stringLen |= uint64(b&0x7F) << shift 4770 if b < 0x80 { 4771 break 4772 } 4773 } 4774 intStringLen := int(stringLen) 4775 if intStringLen < 0 { 4776 return ErrInvalidLengthMsgs 4777 } 4778 postIndex := iNdEx + intStringLen 4779 if postIndex < 0 { 4780 return ErrInvalidLengthMsgs 4781 } 4782 if postIndex > l { 4783 return io.ErrUnexpectedEOF 4784 } 4785 m.Signature = string(dAtA[iNdEx:postIndex]) 4786 iNdEx = postIndex 4787 default: 4788 iNdEx = preIndex 4789 skippy, err := skipMsgs(dAtA[iNdEx:]) 4790 if err != nil { 4791 return err 4792 } 4793 if (skippy < 0) || (iNdEx+skippy) < 0 { 4794 return ErrInvalidLengthMsgs 4795 } 4796 if (iNdEx + skippy) > l { 4797 return io.ErrUnexpectedEOF 4798 } 4799 iNdEx += skippy 4800 } 4801 } 4802 4803 if iNdEx > l { 4804 return io.ErrUnexpectedEOF 4805 } 4806 return nil 4807 } 4808 func (m *MsgConfirmBatchResponse) Unmarshal(dAtA []byte) error { 4809 l := len(dAtA) 4810 iNdEx := 0 4811 for iNdEx < l { 4812 preIndex := iNdEx 4813 var wire uint64 4814 for shift := uint(0); ; shift += 7 { 4815 if shift >= 64 { 4816 return ErrIntOverflowMsgs 4817 } 4818 if iNdEx >= l { 4819 return io.ErrUnexpectedEOF 4820 } 4821 b := dAtA[iNdEx] 4822 iNdEx++ 4823 wire |= uint64(b&0x7F) << shift 4824 if b < 0x80 { 4825 break 4826 } 4827 } 4828 fieldNum := int32(wire >> 3) 4829 wireType := int(wire & 0x7) 4830 if wireType == 4 { 4831 return fmt.Errorf("proto: MsgConfirmBatchResponse: wiretype end group for non-group") 4832 } 4833 if fieldNum <= 0 { 4834 return fmt.Errorf("proto: MsgConfirmBatchResponse: illegal tag %d (wire type %d)", fieldNum, wire) 4835 } 4836 switch fieldNum { 4837 default: 4838 iNdEx = preIndex 4839 skippy, err := skipMsgs(dAtA[iNdEx:]) 4840 if err != nil { 4841 return err 4842 } 4843 if (skippy < 0) || (iNdEx+skippy) < 0 { 4844 return ErrInvalidLengthMsgs 4845 } 4846 if (iNdEx + skippy) > l { 4847 return io.ErrUnexpectedEOF 4848 } 4849 iNdEx += skippy 4850 } 4851 } 4852 4853 if iNdEx > l { 4854 return io.ErrUnexpectedEOF 4855 } 4856 return nil 4857 } 4858 func (m *MsgDepositClaim) Unmarshal(dAtA []byte) error { 4859 l := len(dAtA) 4860 iNdEx := 0 4861 for iNdEx < l { 4862 preIndex := iNdEx 4863 var wire uint64 4864 for shift := uint(0); ; shift += 7 { 4865 if shift >= 64 { 4866 return ErrIntOverflowMsgs 4867 } 4868 if iNdEx >= l { 4869 return io.ErrUnexpectedEOF 4870 } 4871 b := dAtA[iNdEx] 4872 iNdEx++ 4873 wire |= uint64(b&0x7F) << shift 4874 if b < 0x80 { 4875 break 4876 } 4877 } 4878 fieldNum := int32(wire >> 3) 4879 wireType := int(wire & 0x7) 4880 if wireType == 4 { 4881 return fmt.Errorf("proto: MsgDepositClaim: wiretype end group for non-group") 4882 } 4883 if fieldNum <= 0 { 4884 return fmt.Errorf("proto: MsgDepositClaim: illegal tag %d (wire type %d)", fieldNum, wire) 4885 } 4886 switch fieldNum { 4887 case 1: 4888 if wireType != 0 { 4889 return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) 4890 } 4891 m.EventNonce = 0 4892 for shift := uint(0); ; shift += 7 { 4893 if shift >= 64 { 4894 return ErrIntOverflowMsgs 4895 } 4896 if iNdEx >= l { 4897 return io.ErrUnexpectedEOF 4898 } 4899 b := dAtA[iNdEx] 4900 iNdEx++ 4901 m.EventNonce |= uint64(b&0x7F) << shift 4902 if b < 0x80 { 4903 break 4904 } 4905 } 4906 case 2: 4907 if wireType != 0 { 4908 return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) 4909 } 4910 m.BlockHeight = 0 4911 for shift := uint(0); ; shift += 7 { 4912 if shift >= 64 { 4913 return ErrIntOverflowMsgs 4914 } 4915 if iNdEx >= l { 4916 return io.ErrUnexpectedEOF 4917 } 4918 b := dAtA[iNdEx] 4919 iNdEx++ 4920 m.BlockHeight |= uint64(b&0x7F) << shift 4921 if b < 0x80 { 4922 break 4923 } 4924 } 4925 case 3: 4926 if wireType != 2 { 4927 return fmt.Errorf("proto: wrong wireType = %d for field TokenContract", wireType) 4928 } 4929 var stringLen uint64 4930 for shift := uint(0); ; shift += 7 { 4931 if shift >= 64 { 4932 return ErrIntOverflowMsgs 4933 } 4934 if iNdEx >= l { 4935 return io.ErrUnexpectedEOF 4936 } 4937 b := dAtA[iNdEx] 4938 iNdEx++ 4939 stringLen |= uint64(b&0x7F) << shift 4940 if b < 0x80 { 4941 break 4942 } 4943 } 4944 intStringLen := int(stringLen) 4945 if intStringLen < 0 { 4946 return ErrInvalidLengthMsgs 4947 } 4948 postIndex := iNdEx + intStringLen 4949 if postIndex < 0 { 4950 return ErrInvalidLengthMsgs 4951 } 4952 if postIndex > l { 4953 return io.ErrUnexpectedEOF 4954 } 4955 m.TokenContract = string(dAtA[iNdEx:postIndex]) 4956 iNdEx = postIndex 4957 case 4: 4958 if wireType != 2 { 4959 return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) 4960 } 4961 var stringLen uint64 4962 for shift := uint(0); ; shift += 7 { 4963 if shift >= 64 { 4964 return ErrIntOverflowMsgs 4965 } 4966 if iNdEx >= l { 4967 return io.ErrUnexpectedEOF 4968 } 4969 b := dAtA[iNdEx] 4970 iNdEx++ 4971 stringLen |= uint64(b&0x7F) << shift 4972 if b < 0x80 { 4973 break 4974 } 4975 } 4976 intStringLen := int(stringLen) 4977 if intStringLen < 0 { 4978 return ErrInvalidLengthMsgs 4979 } 4980 postIndex := iNdEx + intStringLen 4981 if postIndex < 0 { 4982 return ErrInvalidLengthMsgs 4983 } 4984 if postIndex > l { 4985 return io.ErrUnexpectedEOF 4986 } 4987 if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4988 return err 4989 } 4990 iNdEx = postIndex 4991 case 5: 4992 if wireType != 2 { 4993 return fmt.Errorf("proto: wrong wireType = %d for field EthereumSender", wireType) 4994 } 4995 var stringLen uint64 4996 for shift := uint(0); ; shift += 7 { 4997 if shift >= 64 { 4998 return ErrIntOverflowMsgs 4999 } 5000 if iNdEx >= l { 5001 return io.ErrUnexpectedEOF 5002 } 5003 b := dAtA[iNdEx] 5004 iNdEx++ 5005 stringLen |= uint64(b&0x7F) << shift 5006 if b < 0x80 { 5007 break 5008 } 5009 } 5010 intStringLen := int(stringLen) 5011 if intStringLen < 0 { 5012 return ErrInvalidLengthMsgs 5013 } 5014 postIndex := iNdEx + intStringLen 5015 if postIndex < 0 { 5016 return ErrInvalidLengthMsgs 5017 } 5018 if postIndex > l { 5019 return io.ErrUnexpectedEOF 5020 } 5021 m.EthereumSender = string(dAtA[iNdEx:postIndex]) 5022 iNdEx = postIndex 5023 case 6: 5024 if wireType != 2 { 5025 return fmt.Errorf("proto: wrong wireType = %d for field CosmosReceiver", wireType) 5026 } 5027 var stringLen uint64 5028 for shift := uint(0); ; shift += 7 { 5029 if shift >= 64 { 5030 return ErrIntOverflowMsgs 5031 } 5032 if iNdEx >= l { 5033 return io.ErrUnexpectedEOF 5034 } 5035 b := dAtA[iNdEx] 5036 iNdEx++ 5037 stringLen |= uint64(b&0x7F) << shift 5038 if b < 0x80 { 5039 break 5040 } 5041 } 5042 intStringLen := int(stringLen) 5043 if intStringLen < 0 { 5044 return ErrInvalidLengthMsgs 5045 } 5046 postIndex := iNdEx + intStringLen 5047 if postIndex < 0 { 5048 return ErrInvalidLengthMsgs 5049 } 5050 if postIndex > l { 5051 return io.ErrUnexpectedEOF 5052 } 5053 m.CosmosReceiver = string(dAtA[iNdEx:postIndex]) 5054 iNdEx = postIndex 5055 case 7: 5056 if wireType != 2 { 5057 return fmt.Errorf("proto: wrong wireType = %d for field Orchestrator", wireType) 5058 } 5059 var stringLen uint64 5060 for shift := uint(0); ; shift += 7 { 5061 if shift >= 64 { 5062 return ErrIntOverflowMsgs 5063 } 5064 if iNdEx >= l { 5065 return io.ErrUnexpectedEOF 5066 } 5067 b := dAtA[iNdEx] 5068 iNdEx++ 5069 stringLen |= uint64(b&0x7F) << shift 5070 if b < 0x80 { 5071 break 5072 } 5073 } 5074 intStringLen := int(stringLen) 5075 if intStringLen < 0 { 5076 return ErrInvalidLengthMsgs 5077 } 5078 postIndex := iNdEx + intStringLen 5079 if postIndex < 0 { 5080 return ErrInvalidLengthMsgs 5081 } 5082 if postIndex > l { 5083 return io.ErrUnexpectedEOF 5084 } 5085 m.Orchestrator = string(dAtA[iNdEx:postIndex]) 5086 iNdEx = postIndex 5087 case 8: 5088 if wireType != 2 { 5089 return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) 5090 } 5091 var stringLen uint64 5092 for shift := uint(0); ; shift += 7 { 5093 if shift >= 64 { 5094 return ErrIntOverflowMsgs 5095 } 5096 if iNdEx >= l { 5097 return io.ErrUnexpectedEOF 5098 } 5099 b := dAtA[iNdEx] 5100 iNdEx++ 5101 stringLen |= uint64(b&0x7F) << shift 5102 if b < 0x80 { 5103 break 5104 } 5105 } 5106 intStringLen := int(stringLen) 5107 if intStringLen < 0 { 5108 return ErrInvalidLengthMsgs 5109 } 5110 postIndex := iNdEx + intStringLen 5111 if postIndex < 0 { 5112 return ErrInvalidLengthMsgs 5113 } 5114 if postIndex > l { 5115 return io.ErrUnexpectedEOF 5116 } 5117 m.Data = string(dAtA[iNdEx:postIndex]) 5118 iNdEx = postIndex 5119 default: 5120 iNdEx = preIndex 5121 skippy, err := skipMsgs(dAtA[iNdEx:]) 5122 if err != nil { 5123 return err 5124 } 5125 if (skippy < 0) || (iNdEx+skippy) < 0 { 5126 return ErrInvalidLengthMsgs 5127 } 5128 if (iNdEx + skippy) > l { 5129 return io.ErrUnexpectedEOF 5130 } 5131 iNdEx += skippy 5132 } 5133 } 5134 5135 if iNdEx > l { 5136 return io.ErrUnexpectedEOF 5137 } 5138 return nil 5139 } 5140 func (m *MsgDepositClaimResponse) Unmarshal(dAtA []byte) error { 5141 l := len(dAtA) 5142 iNdEx := 0 5143 for iNdEx < l { 5144 preIndex := iNdEx 5145 var wire uint64 5146 for shift := uint(0); ; shift += 7 { 5147 if shift >= 64 { 5148 return ErrIntOverflowMsgs 5149 } 5150 if iNdEx >= l { 5151 return io.ErrUnexpectedEOF 5152 } 5153 b := dAtA[iNdEx] 5154 iNdEx++ 5155 wire |= uint64(b&0x7F) << shift 5156 if b < 0x80 { 5157 break 5158 } 5159 } 5160 fieldNum := int32(wire >> 3) 5161 wireType := int(wire & 0x7) 5162 if wireType == 4 { 5163 return fmt.Errorf("proto: MsgDepositClaimResponse: wiretype end group for non-group") 5164 } 5165 if fieldNum <= 0 { 5166 return fmt.Errorf("proto: MsgDepositClaimResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5167 } 5168 switch fieldNum { 5169 default: 5170 iNdEx = preIndex 5171 skippy, err := skipMsgs(dAtA[iNdEx:]) 5172 if err != nil { 5173 return err 5174 } 5175 if (skippy < 0) || (iNdEx+skippy) < 0 { 5176 return ErrInvalidLengthMsgs 5177 } 5178 if (iNdEx + skippy) > l { 5179 return io.ErrUnexpectedEOF 5180 } 5181 iNdEx += skippy 5182 } 5183 } 5184 5185 if iNdEx > l { 5186 return io.ErrUnexpectedEOF 5187 } 5188 return nil 5189 } 5190 func (m *MsgWithdrawClaim) Unmarshal(dAtA []byte) error { 5191 l := len(dAtA) 5192 iNdEx := 0 5193 for iNdEx < l { 5194 preIndex := iNdEx 5195 var wire uint64 5196 for shift := uint(0); ; shift += 7 { 5197 if shift >= 64 { 5198 return ErrIntOverflowMsgs 5199 } 5200 if iNdEx >= l { 5201 return io.ErrUnexpectedEOF 5202 } 5203 b := dAtA[iNdEx] 5204 iNdEx++ 5205 wire |= uint64(b&0x7F) << shift 5206 if b < 0x80 { 5207 break 5208 } 5209 } 5210 fieldNum := int32(wire >> 3) 5211 wireType := int(wire & 0x7) 5212 if wireType == 4 { 5213 return fmt.Errorf("proto: MsgWithdrawClaim: wiretype end group for non-group") 5214 } 5215 if fieldNum <= 0 { 5216 return fmt.Errorf("proto: MsgWithdrawClaim: illegal tag %d (wire type %d)", fieldNum, wire) 5217 } 5218 switch fieldNum { 5219 case 1: 5220 if wireType != 0 { 5221 return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) 5222 } 5223 m.EventNonce = 0 5224 for shift := uint(0); ; shift += 7 { 5225 if shift >= 64 { 5226 return ErrIntOverflowMsgs 5227 } 5228 if iNdEx >= l { 5229 return io.ErrUnexpectedEOF 5230 } 5231 b := dAtA[iNdEx] 5232 iNdEx++ 5233 m.EventNonce |= uint64(b&0x7F) << shift 5234 if b < 0x80 { 5235 break 5236 } 5237 } 5238 case 2: 5239 if wireType != 0 { 5240 return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) 5241 } 5242 m.BlockHeight = 0 5243 for shift := uint(0); ; shift += 7 { 5244 if shift >= 64 { 5245 return ErrIntOverflowMsgs 5246 } 5247 if iNdEx >= l { 5248 return io.ErrUnexpectedEOF 5249 } 5250 b := dAtA[iNdEx] 5251 iNdEx++ 5252 m.BlockHeight |= uint64(b&0x7F) << shift 5253 if b < 0x80 { 5254 break 5255 } 5256 } 5257 case 3: 5258 if wireType != 0 { 5259 return fmt.Errorf("proto: wrong wireType = %d for field BatchNonce", wireType) 5260 } 5261 m.BatchNonce = 0 5262 for shift := uint(0); ; shift += 7 { 5263 if shift >= 64 { 5264 return ErrIntOverflowMsgs 5265 } 5266 if iNdEx >= l { 5267 return io.ErrUnexpectedEOF 5268 } 5269 b := dAtA[iNdEx] 5270 iNdEx++ 5271 m.BatchNonce |= uint64(b&0x7F) << shift 5272 if b < 0x80 { 5273 break 5274 } 5275 } 5276 case 4: 5277 if wireType != 2 { 5278 return fmt.Errorf("proto: wrong wireType = %d for field TokenContract", wireType) 5279 } 5280 var stringLen uint64 5281 for shift := uint(0); ; shift += 7 { 5282 if shift >= 64 { 5283 return ErrIntOverflowMsgs 5284 } 5285 if iNdEx >= l { 5286 return io.ErrUnexpectedEOF 5287 } 5288 b := dAtA[iNdEx] 5289 iNdEx++ 5290 stringLen |= uint64(b&0x7F) << shift 5291 if b < 0x80 { 5292 break 5293 } 5294 } 5295 intStringLen := int(stringLen) 5296 if intStringLen < 0 { 5297 return ErrInvalidLengthMsgs 5298 } 5299 postIndex := iNdEx + intStringLen 5300 if postIndex < 0 { 5301 return ErrInvalidLengthMsgs 5302 } 5303 if postIndex > l { 5304 return io.ErrUnexpectedEOF 5305 } 5306 m.TokenContract = string(dAtA[iNdEx:postIndex]) 5307 iNdEx = postIndex 5308 case 5: 5309 if wireType != 2 { 5310 return fmt.Errorf("proto: wrong wireType = %d for field Orchestrator", wireType) 5311 } 5312 var stringLen uint64 5313 for shift := uint(0); ; shift += 7 { 5314 if shift >= 64 { 5315 return ErrIntOverflowMsgs 5316 } 5317 if iNdEx >= l { 5318 return io.ErrUnexpectedEOF 5319 } 5320 b := dAtA[iNdEx] 5321 iNdEx++ 5322 stringLen |= uint64(b&0x7F) << shift 5323 if b < 0x80 { 5324 break 5325 } 5326 } 5327 intStringLen := int(stringLen) 5328 if intStringLen < 0 { 5329 return ErrInvalidLengthMsgs 5330 } 5331 postIndex := iNdEx + intStringLen 5332 if postIndex < 0 { 5333 return ErrInvalidLengthMsgs 5334 } 5335 if postIndex > l { 5336 return io.ErrUnexpectedEOF 5337 } 5338 m.Orchestrator = string(dAtA[iNdEx:postIndex]) 5339 iNdEx = postIndex 5340 default: 5341 iNdEx = preIndex 5342 skippy, err := skipMsgs(dAtA[iNdEx:]) 5343 if err != nil { 5344 return err 5345 } 5346 if (skippy < 0) || (iNdEx+skippy) < 0 { 5347 return ErrInvalidLengthMsgs 5348 } 5349 if (iNdEx + skippy) > l { 5350 return io.ErrUnexpectedEOF 5351 } 5352 iNdEx += skippy 5353 } 5354 } 5355 5356 if iNdEx > l { 5357 return io.ErrUnexpectedEOF 5358 } 5359 return nil 5360 } 5361 func (m *MsgWithdrawClaimResponse) Unmarshal(dAtA []byte) error { 5362 l := len(dAtA) 5363 iNdEx := 0 5364 for iNdEx < l { 5365 preIndex := iNdEx 5366 var wire uint64 5367 for shift := uint(0); ; shift += 7 { 5368 if shift >= 64 { 5369 return ErrIntOverflowMsgs 5370 } 5371 if iNdEx >= l { 5372 return io.ErrUnexpectedEOF 5373 } 5374 b := dAtA[iNdEx] 5375 iNdEx++ 5376 wire |= uint64(b&0x7F) << shift 5377 if b < 0x80 { 5378 break 5379 } 5380 } 5381 fieldNum := int32(wire >> 3) 5382 wireType := int(wire & 0x7) 5383 if wireType == 4 { 5384 return fmt.Errorf("proto: MsgWithdrawClaimResponse: wiretype end group for non-group") 5385 } 5386 if fieldNum <= 0 { 5387 return fmt.Errorf("proto: MsgWithdrawClaimResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5388 } 5389 switch fieldNum { 5390 default: 5391 iNdEx = preIndex 5392 skippy, err := skipMsgs(dAtA[iNdEx:]) 5393 if err != nil { 5394 return err 5395 } 5396 if (skippy < 0) || (iNdEx+skippy) < 0 { 5397 return ErrInvalidLengthMsgs 5398 } 5399 if (iNdEx + skippy) > l { 5400 return io.ErrUnexpectedEOF 5401 } 5402 iNdEx += skippy 5403 } 5404 } 5405 5406 if iNdEx > l { 5407 return io.ErrUnexpectedEOF 5408 } 5409 return nil 5410 } 5411 func (m *MsgERC20DeployedClaim) Unmarshal(dAtA []byte) error { 5412 l := len(dAtA) 5413 iNdEx := 0 5414 for iNdEx < l { 5415 preIndex := iNdEx 5416 var wire uint64 5417 for shift := uint(0); ; shift += 7 { 5418 if shift >= 64 { 5419 return ErrIntOverflowMsgs 5420 } 5421 if iNdEx >= l { 5422 return io.ErrUnexpectedEOF 5423 } 5424 b := dAtA[iNdEx] 5425 iNdEx++ 5426 wire |= uint64(b&0x7F) << shift 5427 if b < 0x80 { 5428 break 5429 } 5430 } 5431 fieldNum := int32(wire >> 3) 5432 wireType := int(wire & 0x7) 5433 if wireType == 4 { 5434 return fmt.Errorf("proto: MsgERC20DeployedClaim: wiretype end group for non-group") 5435 } 5436 if fieldNum <= 0 { 5437 return fmt.Errorf("proto: MsgERC20DeployedClaim: illegal tag %d (wire type %d)", fieldNum, wire) 5438 } 5439 switch fieldNum { 5440 case 1: 5441 if wireType != 0 { 5442 return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) 5443 } 5444 m.EventNonce = 0 5445 for shift := uint(0); ; shift += 7 { 5446 if shift >= 64 { 5447 return ErrIntOverflowMsgs 5448 } 5449 if iNdEx >= l { 5450 return io.ErrUnexpectedEOF 5451 } 5452 b := dAtA[iNdEx] 5453 iNdEx++ 5454 m.EventNonce |= uint64(b&0x7F) << shift 5455 if b < 0x80 { 5456 break 5457 } 5458 } 5459 case 2: 5460 if wireType != 0 { 5461 return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) 5462 } 5463 m.BlockHeight = 0 5464 for shift := uint(0); ; shift += 7 { 5465 if shift >= 64 { 5466 return ErrIntOverflowMsgs 5467 } 5468 if iNdEx >= l { 5469 return io.ErrUnexpectedEOF 5470 } 5471 b := dAtA[iNdEx] 5472 iNdEx++ 5473 m.BlockHeight |= uint64(b&0x7F) << shift 5474 if b < 0x80 { 5475 break 5476 } 5477 } 5478 case 3: 5479 if wireType != 2 { 5480 return fmt.Errorf("proto: wrong wireType = %d for field CosmosDenom", wireType) 5481 } 5482 var stringLen uint64 5483 for shift := uint(0); ; shift += 7 { 5484 if shift >= 64 { 5485 return ErrIntOverflowMsgs 5486 } 5487 if iNdEx >= l { 5488 return io.ErrUnexpectedEOF 5489 } 5490 b := dAtA[iNdEx] 5491 iNdEx++ 5492 stringLen |= uint64(b&0x7F) << shift 5493 if b < 0x80 { 5494 break 5495 } 5496 } 5497 intStringLen := int(stringLen) 5498 if intStringLen < 0 { 5499 return ErrInvalidLengthMsgs 5500 } 5501 postIndex := iNdEx + intStringLen 5502 if postIndex < 0 { 5503 return ErrInvalidLengthMsgs 5504 } 5505 if postIndex > l { 5506 return io.ErrUnexpectedEOF 5507 } 5508 m.CosmosDenom = string(dAtA[iNdEx:postIndex]) 5509 iNdEx = postIndex 5510 case 4: 5511 if wireType != 2 { 5512 return fmt.Errorf("proto: wrong wireType = %d for field TokenContract", wireType) 5513 } 5514 var stringLen uint64 5515 for shift := uint(0); ; shift += 7 { 5516 if shift >= 64 { 5517 return ErrIntOverflowMsgs 5518 } 5519 if iNdEx >= l { 5520 return io.ErrUnexpectedEOF 5521 } 5522 b := dAtA[iNdEx] 5523 iNdEx++ 5524 stringLen |= uint64(b&0x7F) << shift 5525 if b < 0x80 { 5526 break 5527 } 5528 } 5529 intStringLen := int(stringLen) 5530 if intStringLen < 0 { 5531 return ErrInvalidLengthMsgs 5532 } 5533 postIndex := iNdEx + intStringLen 5534 if postIndex < 0 { 5535 return ErrInvalidLengthMsgs 5536 } 5537 if postIndex > l { 5538 return io.ErrUnexpectedEOF 5539 } 5540 m.TokenContract = string(dAtA[iNdEx:postIndex]) 5541 iNdEx = postIndex 5542 case 5: 5543 if wireType != 2 { 5544 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 5545 } 5546 var stringLen uint64 5547 for shift := uint(0); ; shift += 7 { 5548 if shift >= 64 { 5549 return ErrIntOverflowMsgs 5550 } 5551 if iNdEx >= l { 5552 return io.ErrUnexpectedEOF 5553 } 5554 b := dAtA[iNdEx] 5555 iNdEx++ 5556 stringLen |= uint64(b&0x7F) << shift 5557 if b < 0x80 { 5558 break 5559 } 5560 } 5561 intStringLen := int(stringLen) 5562 if intStringLen < 0 { 5563 return ErrInvalidLengthMsgs 5564 } 5565 postIndex := iNdEx + intStringLen 5566 if postIndex < 0 { 5567 return ErrInvalidLengthMsgs 5568 } 5569 if postIndex > l { 5570 return io.ErrUnexpectedEOF 5571 } 5572 m.Name = string(dAtA[iNdEx:postIndex]) 5573 iNdEx = postIndex 5574 case 6: 5575 if wireType != 2 { 5576 return fmt.Errorf("proto: wrong wireType = %d for field Symbol", wireType) 5577 } 5578 var stringLen uint64 5579 for shift := uint(0); ; shift += 7 { 5580 if shift >= 64 { 5581 return ErrIntOverflowMsgs 5582 } 5583 if iNdEx >= l { 5584 return io.ErrUnexpectedEOF 5585 } 5586 b := dAtA[iNdEx] 5587 iNdEx++ 5588 stringLen |= uint64(b&0x7F) << shift 5589 if b < 0x80 { 5590 break 5591 } 5592 } 5593 intStringLen := int(stringLen) 5594 if intStringLen < 0 { 5595 return ErrInvalidLengthMsgs 5596 } 5597 postIndex := iNdEx + intStringLen 5598 if postIndex < 0 { 5599 return ErrInvalidLengthMsgs 5600 } 5601 if postIndex > l { 5602 return io.ErrUnexpectedEOF 5603 } 5604 m.Symbol = string(dAtA[iNdEx:postIndex]) 5605 iNdEx = postIndex 5606 case 7: 5607 if wireType != 0 { 5608 return fmt.Errorf("proto: wrong wireType = %d for field Decimals", wireType) 5609 } 5610 m.Decimals = 0 5611 for shift := uint(0); ; shift += 7 { 5612 if shift >= 64 { 5613 return ErrIntOverflowMsgs 5614 } 5615 if iNdEx >= l { 5616 return io.ErrUnexpectedEOF 5617 } 5618 b := dAtA[iNdEx] 5619 iNdEx++ 5620 m.Decimals |= uint64(b&0x7F) << shift 5621 if b < 0x80 { 5622 break 5623 } 5624 } 5625 case 8: 5626 if wireType != 2 { 5627 return fmt.Errorf("proto: wrong wireType = %d for field Orchestrator", wireType) 5628 } 5629 var stringLen uint64 5630 for shift := uint(0); ; shift += 7 { 5631 if shift >= 64 { 5632 return ErrIntOverflowMsgs 5633 } 5634 if iNdEx >= l { 5635 return io.ErrUnexpectedEOF 5636 } 5637 b := dAtA[iNdEx] 5638 iNdEx++ 5639 stringLen |= uint64(b&0x7F) << shift 5640 if b < 0x80 { 5641 break 5642 } 5643 } 5644 intStringLen := int(stringLen) 5645 if intStringLen < 0 { 5646 return ErrInvalidLengthMsgs 5647 } 5648 postIndex := iNdEx + intStringLen 5649 if postIndex < 0 { 5650 return ErrInvalidLengthMsgs 5651 } 5652 if postIndex > l { 5653 return io.ErrUnexpectedEOF 5654 } 5655 m.Orchestrator = string(dAtA[iNdEx:postIndex]) 5656 iNdEx = postIndex 5657 default: 5658 iNdEx = preIndex 5659 skippy, err := skipMsgs(dAtA[iNdEx:]) 5660 if err != nil { 5661 return err 5662 } 5663 if (skippy < 0) || (iNdEx+skippy) < 0 { 5664 return ErrInvalidLengthMsgs 5665 } 5666 if (iNdEx + skippy) > l { 5667 return io.ErrUnexpectedEOF 5668 } 5669 iNdEx += skippy 5670 } 5671 } 5672 5673 if iNdEx > l { 5674 return io.ErrUnexpectedEOF 5675 } 5676 return nil 5677 } 5678 func (m *MsgERC20DeployedClaimResponse) Unmarshal(dAtA []byte) error { 5679 l := len(dAtA) 5680 iNdEx := 0 5681 for iNdEx < l { 5682 preIndex := iNdEx 5683 var wire uint64 5684 for shift := uint(0); ; shift += 7 { 5685 if shift >= 64 { 5686 return ErrIntOverflowMsgs 5687 } 5688 if iNdEx >= l { 5689 return io.ErrUnexpectedEOF 5690 } 5691 b := dAtA[iNdEx] 5692 iNdEx++ 5693 wire |= uint64(b&0x7F) << shift 5694 if b < 0x80 { 5695 break 5696 } 5697 } 5698 fieldNum := int32(wire >> 3) 5699 wireType := int(wire & 0x7) 5700 if wireType == 4 { 5701 return fmt.Errorf("proto: MsgERC20DeployedClaimResponse: wiretype end group for non-group") 5702 } 5703 if fieldNum <= 0 { 5704 return fmt.Errorf("proto: MsgERC20DeployedClaimResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5705 } 5706 switch fieldNum { 5707 default: 5708 iNdEx = preIndex 5709 skippy, err := skipMsgs(dAtA[iNdEx:]) 5710 if err != nil { 5711 return err 5712 } 5713 if (skippy < 0) || (iNdEx+skippy) < 0 { 5714 return ErrInvalidLengthMsgs 5715 } 5716 if (iNdEx + skippy) > l { 5717 return io.ErrUnexpectedEOF 5718 } 5719 iNdEx += skippy 5720 } 5721 } 5722 5723 if iNdEx > l { 5724 return io.ErrUnexpectedEOF 5725 } 5726 return nil 5727 } 5728 func (m *MsgCancelSendToEth) Unmarshal(dAtA []byte) error { 5729 l := len(dAtA) 5730 iNdEx := 0 5731 for iNdEx < l { 5732 preIndex := iNdEx 5733 var wire uint64 5734 for shift := uint(0); ; shift += 7 { 5735 if shift >= 64 { 5736 return ErrIntOverflowMsgs 5737 } 5738 if iNdEx >= l { 5739 return io.ErrUnexpectedEOF 5740 } 5741 b := dAtA[iNdEx] 5742 iNdEx++ 5743 wire |= uint64(b&0x7F) << shift 5744 if b < 0x80 { 5745 break 5746 } 5747 } 5748 fieldNum := int32(wire >> 3) 5749 wireType := int(wire & 0x7) 5750 if wireType == 4 { 5751 return fmt.Errorf("proto: MsgCancelSendToEth: wiretype end group for non-group") 5752 } 5753 if fieldNum <= 0 { 5754 return fmt.Errorf("proto: MsgCancelSendToEth: illegal tag %d (wire type %d)", fieldNum, wire) 5755 } 5756 switch fieldNum { 5757 case 1: 5758 if wireType != 0 { 5759 return fmt.Errorf("proto: wrong wireType = %d for field TransactionId", wireType) 5760 } 5761 m.TransactionId = 0 5762 for shift := uint(0); ; shift += 7 { 5763 if shift >= 64 { 5764 return ErrIntOverflowMsgs 5765 } 5766 if iNdEx >= l { 5767 return io.ErrUnexpectedEOF 5768 } 5769 b := dAtA[iNdEx] 5770 iNdEx++ 5771 m.TransactionId |= uint64(b&0x7F) << shift 5772 if b < 0x80 { 5773 break 5774 } 5775 } 5776 case 2: 5777 if wireType != 2 { 5778 return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) 5779 } 5780 var stringLen uint64 5781 for shift := uint(0); ; shift += 7 { 5782 if shift >= 64 { 5783 return ErrIntOverflowMsgs 5784 } 5785 if iNdEx >= l { 5786 return io.ErrUnexpectedEOF 5787 } 5788 b := dAtA[iNdEx] 5789 iNdEx++ 5790 stringLen |= uint64(b&0x7F) << shift 5791 if b < 0x80 { 5792 break 5793 } 5794 } 5795 intStringLen := int(stringLen) 5796 if intStringLen < 0 { 5797 return ErrInvalidLengthMsgs 5798 } 5799 postIndex := iNdEx + intStringLen 5800 if postIndex < 0 { 5801 return ErrInvalidLengthMsgs 5802 } 5803 if postIndex > l { 5804 return io.ErrUnexpectedEOF 5805 } 5806 m.Sender = string(dAtA[iNdEx:postIndex]) 5807 iNdEx = postIndex 5808 default: 5809 iNdEx = preIndex 5810 skippy, err := skipMsgs(dAtA[iNdEx:]) 5811 if err != nil { 5812 return err 5813 } 5814 if (skippy < 0) || (iNdEx+skippy) < 0 { 5815 return ErrInvalidLengthMsgs 5816 } 5817 if (iNdEx + skippy) > l { 5818 return io.ErrUnexpectedEOF 5819 } 5820 iNdEx += skippy 5821 } 5822 } 5823 5824 if iNdEx > l { 5825 return io.ErrUnexpectedEOF 5826 } 5827 return nil 5828 } 5829 func (m *MsgCancelSendToEthResponse) Unmarshal(dAtA []byte) error { 5830 l := len(dAtA) 5831 iNdEx := 0 5832 for iNdEx < l { 5833 preIndex := iNdEx 5834 var wire uint64 5835 for shift := uint(0); ; shift += 7 { 5836 if shift >= 64 { 5837 return ErrIntOverflowMsgs 5838 } 5839 if iNdEx >= l { 5840 return io.ErrUnexpectedEOF 5841 } 5842 b := dAtA[iNdEx] 5843 iNdEx++ 5844 wire |= uint64(b&0x7F) << shift 5845 if b < 0x80 { 5846 break 5847 } 5848 } 5849 fieldNum := int32(wire >> 3) 5850 wireType := int(wire & 0x7) 5851 if wireType == 4 { 5852 return fmt.Errorf("proto: MsgCancelSendToEthResponse: wiretype end group for non-group") 5853 } 5854 if fieldNum <= 0 { 5855 return fmt.Errorf("proto: MsgCancelSendToEthResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5856 } 5857 switch fieldNum { 5858 default: 5859 iNdEx = preIndex 5860 skippy, err := skipMsgs(dAtA[iNdEx:]) 5861 if err != nil { 5862 return err 5863 } 5864 if (skippy < 0) || (iNdEx+skippy) < 0 { 5865 return ErrInvalidLengthMsgs 5866 } 5867 if (iNdEx + skippy) > l { 5868 return io.ErrUnexpectedEOF 5869 } 5870 iNdEx += skippy 5871 } 5872 } 5873 5874 if iNdEx > l { 5875 return io.ErrUnexpectedEOF 5876 } 5877 return nil 5878 } 5879 func (m *MsgSubmitBadSignatureEvidence) Unmarshal(dAtA []byte) error { 5880 l := len(dAtA) 5881 iNdEx := 0 5882 for iNdEx < l { 5883 preIndex := iNdEx 5884 var wire uint64 5885 for shift := uint(0); ; shift += 7 { 5886 if shift >= 64 { 5887 return ErrIntOverflowMsgs 5888 } 5889 if iNdEx >= l { 5890 return io.ErrUnexpectedEOF 5891 } 5892 b := dAtA[iNdEx] 5893 iNdEx++ 5894 wire |= uint64(b&0x7F) << shift 5895 if b < 0x80 { 5896 break 5897 } 5898 } 5899 fieldNum := int32(wire >> 3) 5900 wireType := int(wire & 0x7) 5901 if wireType == 4 { 5902 return fmt.Errorf("proto: MsgSubmitBadSignatureEvidence: wiretype end group for non-group") 5903 } 5904 if fieldNum <= 0 { 5905 return fmt.Errorf("proto: MsgSubmitBadSignatureEvidence: illegal tag %d (wire type %d)", fieldNum, wire) 5906 } 5907 switch fieldNum { 5908 case 1: 5909 if wireType != 2 { 5910 return fmt.Errorf("proto: wrong wireType = %d for field Subject", wireType) 5911 } 5912 var msglen int 5913 for shift := uint(0); ; shift += 7 { 5914 if shift >= 64 { 5915 return ErrIntOverflowMsgs 5916 } 5917 if iNdEx >= l { 5918 return io.ErrUnexpectedEOF 5919 } 5920 b := dAtA[iNdEx] 5921 iNdEx++ 5922 msglen |= int(b&0x7F) << shift 5923 if b < 0x80 { 5924 break 5925 } 5926 } 5927 if msglen < 0 { 5928 return ErrInvalidLengthMsgs 5929 } 5930 postIndex := iNdEx + msglen 5931 if postIndex < 0 { 5932 return ErrInvalidLengthMsgs 5933 } 5934 if postIndex > l { 5935 return io.ErrUnexpectedEOF 5936 } 5937 if m.Subject == nil { 5938 m.Subject = &types1.Any{} 5939 } 5940 if err := m.Subject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5941 return err 5942 } 5943 iNdEx = postIndex 5944 case 2: 5945 if wireType != 2 { 5946 return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) 5947 } 5948 var stringLen uint64 5949 for shift := uint(0); ; shift += 7 { 5950 if shift >= 64 { 5951 return ErrIntOverflowMsgs 5952 } 5953 if iNdEx >= l { 5954 return io.ErrUnexpectedEOF 5955 } 5956 b := dAtA[iNdEx] 5957 iNdEx++ 5958 stringLen |= uint64(b&0x7F) << shift 5959 if b < 0x80 { 5960 break 5961 } 5962 } 5963 intStringLen := int(stringLen) 5964 if intStringLen < 0 { 5965 return ErrInvalidLengthMsgs 5966 } 5967 postIndex := iNdEx + intStringLen 5968 if postIndex < 0 { 5969 return ErrInvalidLengthMsgs 5970 } 5971 if postIndex > l { 5972 return io.ErrUnexpectedEOF 5973 } 5974 m.Signature = string(dAtA[iNdEx:postIndex]) 5975 iNdEx = postIndex 5976 case 3: 5977 if wireType != 2 { 5978 return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) 5979 } 5980 var stringLen uint64 5981 for shift := uint(0); ; shift += 7 { 5982 if shift >= 64 { 5983 return ErrIntOverflowMsgs 5984 } 5985 if iNdEx >= l { 5986 return io.ErrUnexpectedEOF 5987 } 5988 b := dAtA[iNdEx] 5989 iNdEx++ 5990 stringLen |= uint64(b&0x7F) << shift 5991 if b < 0x80 { 5992 break 5993 } 5994 } 5995 intStringLen := int(stringLen) 5996 if intStringLen < 0 { 5997 return ErrInvalidLengthMsgs 5998 } 5999 postIndex := iNdEx + intStringLen 6000 if postIndex < 0 { 6001 return ErrInvalidLengthMsgs 6002 } 6003 if postIndex > l { 6004 return io.ErrUnexpectedEOF 6005 } 6006 m.Sender = string(dAtA[iNdEx:postIndex]) 6007 iNdEx = postIndex 6008 default: 6009 iNdEx = preIndex 6010 skippy, err := skipMsgs(dAtA[iNdEx:]) 6011 if err != nil { 6012 return err 6013 } 6014 if (skippy < 0) || (iNdEx+skippy) < 0 { 6015 return ErrInvalidLengthMsgs 6016 } 6017 if (iNdEx + skippy) > l { 6018 return io.ErrUnexpectedEOF 6019 } 6020 iNdEx += skippy 6021 } 6022 } 6023 6024 if iNdEx > l { 6025 return io.ErrUnexpectedEOF 6026 } 6027 return nil 6028 } 6029 func (m *MsgSubmitBadSignatureEvidenceResponse) Unmarshal(dAtA []byte) error { 6030 l := len(dAtA) 6031 iNdEx := 0 6032 for iNdEx < l { 6033 preIndex := iNdEx 6034 var wire uint64 6035 for shift := uint(0); ; shift += 7 { 6036 if shift >= 64 { 6037 return ErrIntOverflowMsgs 6038 } 6039 if iNdEx >= l { 6040 return io.ErrUnexpectedEOF 6041 } 6042 b := dAtA[iNdEx] 6043 iNdEx++ 6044 wire |= uint64(b&0x7F) << shift 6045 if b < 0x80 { 6046 break 6047 } 6048 } 6049 fieldNum := int32(wire >> 3) 6050 wireType := int(wire & 0x7) 6051 if wireType == 4 { 6052 return fmt.Errorf("proto: MsgSubmitBadSignatureEvidenceResponse: wiretype end group for non-group") 6053 } 6054 if fieldNum <= 0 { 6055 return fmt.Errorf("proto: MsgSubmitBadSignatureEvidenceResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6056 } 6057 switch fieldNum { 6058 default: 6059 iNdEx = preIndex 6060 skippy, err := skipMsgs(dAtA[iNdEx:]) 6061 if err != nil { 6062 return err 6063 } 6064 if (skippy < 0) || (iNdEx+skippy) < 0 { 6065 return ErrInvalidLengthMsgs 6066 } 6067 if (iNdEx + skippy) > l { 6068 return io.ErrUnexpectedEOF 6069 } 6070 iNdEx += skippy 6071 } 6072 } 6073 6074 if iNdEx > l { 6075 return io.ErrUnexpectedEOF 6076 } 6077 return nil 6078 } 6079 func (m *MsgValsetUpdatedClaim) Unmarshal(dAtA []byte) error { 6080 l := len(dAtA) 6081 iNdEx := 0 6082 for iNdEx < l { 6083 preIndex := iNdEx 6084 var wire uint64 6085 for shift := uint(0); ; shift += 7 { 6086 if shift >= 64 { 6087 return ErrIntOverflowMsgs 6088 } 6089 if iNdEx >= l { 6090 return io.ErrUnexpectedEOF 6091 } 6092 b := dAtA[iNdEx] 6093 iNdEx++ 6094 wire |= uint64(b&0x7F) << shift 6095 if b < 0x80 { 6096 break 6097 } 6098 } 6099 fieldNum := int32(wire >> 3) 6100 wireType := int(wire & 0x7) 6101 if wireType == 4 { 6102 return fmt.Errorf("proto: MsgValsetUpdatedClaim: wiretype end group for non-group") 6103 } 6104 if fieldNum <= 0 { 6105 return fmt.Errorf("proto: MsgValsetUpdatedClaim: illegal tag %d (wire type %d)", fieldNum, wire) 6106 } 6107 switch fieldNum { 6108 case 1: 6109 if wireType != 0 { 6110 return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) 6111 } 6112 m.EventNonce = 0 6113 for shift := uint(0); ; shift += 7 { 6114 if shift >= 64 { 6115 return ErrIntOverflowMsgs 6116 } 6117 if iNdEx >= l { 6118 return io.ErrUnexpectedEOF 6119 } 6120 b := dAtA[iNdEx] 6121 iNdEx++ 6122 m.EventNonce |= uint64(b&0x7F) << shift 6123 if b < 0x80 { 6124 break 6125 } 6126 } 6127 case 2: 6128 if wireType != 0 { 6129 return fmt.Errorf("proto: wrong wireType = %d for field ValsetNonce", wireType) 6130 } 6131 m.ValsetNonce = 0 6132 for shift := uint(0); ; shift += 7 { 6133 if shift >= 64 { 6134 return ErrIntOverflowMsgs 6135 } 6136 if iNdEx >= l { 6137 return io.ErrUnexpectedEOF 6138 } 6139 b := dAtA[iNdEx] 6140 iNdEx++ 6141 m.ValsetNonce |= uint64(b&0x7F) << shift 6142 if b < 0x80 { 6143 break 6144 } 6145 } 6146 case 3: 6147 if wireType != 0 { 6148 return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) 6149 } 6150 m.BlockHeight = 0 6151 for shift := uint(0); ; shift += 7 { 6152 if shift >= 64 { 6153 return ErrIntOverflowMsgs 6154 } 6155 if iNdEx >= l { 6156 return io.ErrUnexpectedEOF 6157 } 6158 b := dAtA[iNdEx] 6159 iNdEx++ 6160 m.BlockHeight |= uint64(b&0x7F) << shift 6161 if b < 0x80 { 6162 break 6163 } 6164 } 6165 case 4: 6166 if wireType != 2 { 6167 return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType) 6168 } 6169 var msglen int 6170 for shift := uint(0); ; shift += 7 { 6171 if shift >= 64 { 6172 return ErrIntOverflowMsgs 6173 } 6174 if iNdEx >= l { 6175 return io.ErrUnexpectedEOF 6176 } 6177 b := dAtA[iNdEx] 6178 iNdEx++ 6179 msglen |= int(b&0x7F) << shift 6180 if b < 0x80 { 6181 break 6182 } 6183 } 6184 if msglen < 0 { 6185 return ErrInvalidLengthMsgs 6186 } 6187 postIndex := iNdEx + msglen 6188 if postIndex < 0 { 6189 return ErrInvalidLengthMsgs 6190 } 6191 if postIndex > l { 6192 return io.ErrUnexpectedEOF 6193 } 6194 m.Members = append(m.Members, &BridgeValidator{}) 6195 if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6196 return err 6197 } 6198 iNdEx = postIndex 6199 case 5: 6200 if wireType != 2 { 6201 return fmt.Errorf("proto: wrong wireType = %d for field RewardAmount", wireType) 6202 } 6203 var stringLen uint64 6204 for shift := uint(0); ; shift += 7 { 6205 if shift >= 64 { 6206 return ErrIntOverflowMsgs 6207 } 6208 if iNdEx >= l { 6209 return io.ErrUnexpectedEOF 6210 } 6211 b := dAtA[iNdEx] 6212 iNdEx++ 6213 stringLen |= uint64(b&0x7F) << shift 6214 if b < 0x80 { 6215 break 6216 } 6217 } 6218 intStringLen := int(stringLen) 6219 if intStringLen < 0 { 6220 return ErrInvalidLengthMsgs 6221 } 6222 postIndex := iNdEx + intStringLen 6223 if postIndex < 0 { 6224 return ErrInvalidLengthMsgs 6225 } 6226 if postIndex > l { 6227 return io.ErrUnexpectedEOF 6228 } 6229 if err := m.RewardAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6230 return err 6231 } 6232 iNdEx = postIndex 6233 case 6: 6234 if wireType != 2 { 6235 return fmt.Errorf("proto: wrong wireType = %d for field RewardToken", wireType) 6236 } 6237 var stringLen uint64 6238 for shift := uint(0); ; shift += 7 { 6239 if shift >= 64 { 6240 return ErrIntOverflowMsgs 6241 } 6242 if iNdEx >= l { 6243 return io.ErrUnexpectedEOF 6244 } 6245 b := dAtA[iNdEx] 6246 iNdEx++ 6247 stringLen |= uint64(b&0x7F) << shift 6248 if b < 0x80 { 6249 break 6250 } 6251 } 6252 intStringLen := int(stringLen) 6253 if intStringLen < 0 { 6254 return ErrInvalidLengthMsgs 6255 } 6256 postIndex := iNdEx + intStringLen 6257 if postIndex < 0 { 6258 return ErrInvalidLengthMsgs 6259 } 6260 if postIndex > l { 6261 return io.ErrUnexpectedEOF 6262 } 6263 m.RewardToken = string(dAtA[iNdEx:postIndex]) 6264 iNdEx = postIndex 6265 case 7: 6266 if wireType != 2 { 6267 return fmt.Errorf("proto: wrong wireType = %d for field Orchestrator", wireType) 6268 } 6269 var stringLen uint64 6270 for shift := uint(0); ; shift += 7 { 6271 if shift >= 64 { 6272 return ErrIntOverflowMsgs 6273 } 6274 if iNdEx >= l { 6275 return io.ErrUnexpectedEOF 6276 } 6277 b := dAtA[iNdEx] 6278 iNdEx++ 6279 stringLen |= uint64(b&0x7F) << shift 6280 if b < 0x80 { 6281 break 6282 } 6283 } 6284 intStringLen := int(stringLen) 6285 if intStringLen < 0 { 6286 return ErrInvalidLengthMsgs 6287 } 6288 postIndex := iNdEx + intStringLen 6289 if postIndex < 0 { 6290 return ErrInvalidLengthMsgs 6291 } 6292 if postIndex > l { 6293 return io.ErrUnexpectedEOF 6294 } 6295 m.Orchestrator = string(dAtA[iNdEx:postIndex]) 6296 iNdEx = postIndex 6297 default: 6298 iNdEx = preIndex 6299 skippy, err := skipMsgs(dAtA[iNdEx:]) 6300 if err != nil { 6301 return err 6302 } 6303 if (skippy < 0) || (iNdEx+skippy) < 0 { 6304 return ErrInvalidLengthMsgs 6305 } 6306 if (iNdEx + skippy) > l { 6307 return io.ErrUnexpectedEOF 6308 } 6309 iNdEx += skippy 6310 } 6311 } 6312 6313 if iNdEx > l { 6314 return io.ErrUnexpectedEOF 6315 } 6316 return nil 6317 } 6318 func (m *MsgValsetUpdatedClaimResponse) Unmarshal(dAtA []byte) error { 6319 l := len(dAtA) 6320 iNdEx := 0 6321 for iNdEx < l { 6322 preIndex := iNdEx 6323 var wire uint64 6324 for shift := uint(0); ; shift += 7 { 6325 if shift >= 64 { 6326 return ErrIntOverflowMsgs 6327 } 6328 if iNdEx >= l { 6329 return io.ErrUnexpectedEOF 6330 } 6331 b := dAtA[iNdEx] 6332 iNdEx++ 6333 wire |= uint64(b&0x7F) << shift 6334 if b < 0x80 { 6335 break 6336 } 6337 } 6338 fieldNum := int32(wire >> 3) 6339 wireType := int(wire & 0x7) 6340 if wireType == 4 { 6341 return fmt.Errorf("proto: MsgValsetUpdatedClaimResponse: wiretype end group for non-group") 6342 } 6343 if fieldNum <= 0 { 6344 return fmt.Errorf("proto: MsgValsetUpdatedClaimResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6345 } 6346 switch fieldNum { 6347 default: 6348 iNdEx = preIndex 6349 skippy, err := skipMsgs(dAtA[iNdEx:]) 6350 if err != nil { 6351 return err 6352 } 6353 if (skippy < 0) || (iNdEx+skippy) < 0 { 6354 return ErrInvalidLengthMsgs 6355 } 6356 if (iNdEx + skippy) > l { 6357 return io.ErrUnexpectedEOF 6358 } 6359 iNdEx += skippy 6360 } 6361 } 6362 6363 if iNdEx > l { 6364 return io.ErrUnexpectedEOF 6365 } 6366 return nil 6367 } 6368 func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { 6369 l := len(dAtA) 6370 iNdEx := 0 6371 for iNdEx < l { 6372 preIndex := iNdEx 6373 var wire uint64 6374 for shift := uint(0); ; shift += 7 { 6375 if shift >= 64 { 6376 return ErrIntOverflowMsgs 6377 } 6378 if iNdEx >= l { 6379 return io.ErrUnexpectedEOF 6380 } 6381 b := dAtA[iNdEx] 6382 iNdEx++ 6383 wire |= uint64(b&0x7F) << shift 6384 if b < 0x80 { 6385 break 6386 } 6387 } 6388 fieldNum := int32(wire >> 3) 6389 wireType := int(wire & 0x7) 6390 if wireType == 4 { 6391 return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") 6392 } 6393 if fieldNum <= 0 { 6394 return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) 6395 } 6396 switch fieldNum { 6397 case 1: 6398 if wireType != 2 { 6399 return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) 6400 } 6401 var stringLen uint64 6402 for shift := uint(0); ; shift += 7 { 6403 if shift >= 64 { 6404 return ErrIntOverflowMsgs 6405 } 6406 if iNdEx >= l { 6407 return io.ErrUnexpectedEOF 6408 } 6409 b := dAtA[iNdEx] 6410 iNdEx++ 6411 stringLen |= uint64(b&0x7F) << shift 6412 if b < 0x80 { 6413 break 6414 } 6415 } 6416 intStringLen := int(stringLen) 6417 if intStringLen < 0 { 6418 return ErrInvalidLengthMsgs 6419 } 6420 postIndex := iNdEx + intStringLen 6421 if postIndex < 0 { 6422 return ErrInvalidLengthMsgs 6423 } 6424 if postIndex > l { 6425 return io.ErrUnexpectedEOF 6426 } 6427 m.Authority = string(dAtA[iNdEx:postIndex]) 6428 iNdEx = postIndex 6429 case 2: 6430 if wireType != 2 { 6431 return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) 6432 } 6433 var msglen int 6434 for shift := uint(0); ; shift += 7 { 6435 if shift >= 64 { 6436 return ErrIntOverflowMsgs 6437 } 6438 if iNdEx >= l { 6439 return io.ErrUnexpectedEOF 6440 } 6441 b := dAtA[iNdEx] 6442 iNdEx++ 6443 msglen |= int(b&0x7F) << shift 6444 if b < 0x80 { 6445 break 6446 } 6447 } 6448 if msglen < 0 { 6449 return ErrInvalidLengthMsgs 6450 } 6451 postIndex := iNdEx + msglen 6452 if postIndex < 0 { 6453 return ErrInvalidLengthMsgs 6454 } 6455 if postIndex > l { 6456 return io.ErrUnexpectedEOF 6457 } 6458 if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6459 return err 6460 } 6461 iNdEx = postIndex 6462 default: 6463 iNdEx = preIndex 6464 skippy, err := skipMsgs(dAtA[iNdEx:]) 6465 if err != nil { 6466 return err 6467 } 6468 if (skippy < 0) || (iNdEx+skippy) < 0 { 6469 return ErrInvalidLengthMsgs 6470 } 6471 if (iNdEx + skippy) > l { 6472 return io.ErrUnexpectedEOF 6473 } 6474 iNdEx += skippy 6475 } 6476 } 6477 6478 if iNdEx > l { 6479 return io.ErrUnexpectedEOF 6480 } 6481 return nil 6482 } 6483 func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { 6484 l := len(dAtA) 6485 iNdEx := 0 6486 for iNdEx < l { 6487 preIndex := iNdEx 6488 var wire uint64 6489 for shift := uint(0); ; shift += 7 { 6490 if shift >= 64 { 6491 return ErrIntOverflowMsgs 6492 } 6493 if iNdEx >= l { 6494 return io.ErrUnexpectedEOF 6495 } 6496 b := dAtA[iNdEx] 6497 iNdEx++ 6498 wire |= uint64(b&0x7F) << shift 6499 if b < 0x80 { 6500 break 6501 } 6502 } 6503 fieldNum := int32(wire >> 3) 6504 wireType := int(wire & 0x7) 6505 if wireType == 4 { 6506 return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") 6507 } 6508 if fieldNum <= 0 { 6509 return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6510 } 6511 switch fieldNum { 6512 default: 6513 iNdEx = preIndex 6514 skippy, err := skipMsgs(dAtA[iNdEx:]) 6515 if err != nil { 6516 return err 6517 } 6518 if (skippy < 0) || (iNdEx+skippy) < 0 { 6519 return ErrInvalidLengthMsgs 6520 } 6521 if (iNdEx + skippy) > l { 6522 return io.ErrUnexpectedEOF 6523 } 6524 iNdEx += skippy 6525 } 6526 } 6527 6528 if iNdEx > l { 6529 return io.ErrUnexpectedEOF 6530 } 6531 return nil 6532 } 6533 func (m *MsgBlacklistEthereumAddresses) Unmarshal(dAtA []byte) error { 6534 l := len(dAtA) 6535 iNdEx := 0 6536 for iNdEx < l { 6537 preIndex := iNdEx 6538 var wire uint64 6539 for shift := uint(0); ; shift += 7 { 6540 if shift >= 64 { 6541 return ErrIntOverflowMsgs 6542 } 6543 if iNdEx >= l { 6544 return io.ErrUnexpectedEOF 6545 } 6546 b := dAtA[iNdEx] 6547 iNdEx++ 6548 wire |= uint64(b&0x7F) << shift 6549 if b < 0x80 { 6550 break 6551 } 6552 } 6553 fieldNum := int32(wire >> 3) 6554 wireType := int(wire & 0x7) 6555 if wireType == 4 { 6556 return fmt.Errorf("proto: MsgBlacklistEthereumAddresses: wiretype end group for non-group") 6557 } 6558 if fieldNum <= 0 { 6559 return fmt.Errorf("proto: MsgBlacklistEthereumAddresses: illegal tag %d (wire type %d)", fieldNum, wire) 6560 } 6561 switch fieldNum { 6562 case 1: 6563 if wireType != 2 { 6564 return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) 6565 } 6566 var stringLen uint64 6567 for shift := uint(0); ; shift += 7 { 6568 if shift >= 64 { 6569 return ErrIntOverflowMsgs 6570 } 6571 if iNdEx >= l { 6572 return io.ErrUnexpectedEOF 6573 } 6574 b := dAtA[iNdEx] 6575 iNdEx++ 6576 stringLen |= uint64(b&0x7F) << shift 6577 if b < 0x80 { 6578 break 6579 } 6580 } 6581 intStringLen := int(stringLen) 6582 if intStringLen < 0 { 6583 return ErrInvalidLengthMsgs 6584 } 6585 postIndex := iNdEx + intStringLen 6586 if postIndex < 0 { 6587 return ErrInvalidLengthMsgs 6588 } 6589 if postIndex > l { 6590 return io.ErrUnexpectedEOF 6591 } 6592 m.Signer = string(dAtA[iNdEx:postIndex]) 6593 iNdEx = postIndex 6594 case 2: 6595 if wireType != 2 { 6596 return fmt.Errorf("proto: wrong wireType = %d for field BlacklistAddresses", wireType) 6597 } 6598 var stringLen uint64 6599 for shift := uint(0); ; shift += 7 { 6600 if shift >= 64 { 6601 return ErrIntOverflowMsgs 6602 } 6603 if iNdEx >= l { 6604 return io.ErrUnexpectedEOF 6605 } 6606 b := dAtA[iNdEx] 6607 iNdEx++ 6608 stringLen |= uint64(b&0x7F) << shift 6609 if b < 0x80 { 6610 break 6611 } 6612 } 6613 intStringLen := int(stringLen) 6614 if intStringLen < 0 { 6615 return ErrInvalidLengthMsgs 6616 } 6617 postIndex := iNdEx + intStringLen 6618 if postIndex < 0 { 6619 return ErrInvalidLengthMsgs 6620 } 6621 if postIndex > l { 6622 return io.ErrUnexpectedEOF 6623 } 6624 m.BlacklistAddresses = append(m.BlacklistAddresses, string(dAtA[iNdEx:postIndex])) 6625 iNdEx = postIndex 6626 default: 6627 iNdEx = preIndex 6628 skippy, err := skipMsgs(dAtA[iNdEx:]) 6629 if err != nil { 6630 return err 6631 } 6632 if (skippy < 0) || (iNdEx+skippy) < 0 { 6633 return ErrInvalidLengthMsgs 6634 } 6635 if (iNdEx + skippy) > l { 6636 return io.ErrUnexpectedEOF 6637 } 6638 iNdEx += skippy 6639 } 6640 } 6641 6642 if iNdEx > l { 6643 return io.ErrUnexpectedEOF 6644 } 6645 return nil 6646 } 6647 func (m *MsgBlacklistEthereumAddressesResponse) Unmarshal(dAtA []byte) error { 6648 l := len(dAtA) 6649 iNdEx := 0 6650 for iNdEx < l { 6651 preIndex := iNdEx 6652 var wire uint64 6653 for shift := uint(0); ; shift += 7 { 6654 if shift >= 64 { 6655 return ErrIntOverflowMsgs 6656 } 6657 if iNdEx >= l { 6658 return io.ErrUnexpectedEOF 6659 } 6660 b := dAtA[iNdEx] 6661 iNdEx++ 6662 wire |= uint64(b&0x7F) << shift 6663 if b < 0x80 { 6664 break 6665 } 6666 } 6667 fieldNum := int32(wire >> 3) 6668 wireType := int(wire & 0x7) 6669 if wireType == 4 { 6670 return fmt.Errorf("proto: MsgBlacklistEthereumAddressesResponse: wiretype end group for non-group") 6671 } 6672 if fieldNum <= 0 { 6673 return fmt.Errorf("proto: MsgBlacklistEthereumAddressesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6674 } 6675 switch fieldNum { 6676 default: 6677 iNdEx = preIndex 6678 skippy, err := skipMsgs(dAtA[iNdEx:]) 6679 if err != nil { 6680 return err 6681 } 6682 if (skippy < 0) || (iNdEx+skippy) < 0 { 6683 return ErrInvalidLengthMsgs 6684 } 6685 if (iNdEx + skippy) > l { 6686 return io.ErrUnexpectedEOF 6687 } 6688 iNdEx += skippy 6689 } 6690 } 6691 6692 if iNdEx > l { 6693 return io.ErrUnexpectedEOF 6694 } 6695 return nil 6696 } 6697 func (m *MsgRevokeEthereumBlacklist) Unmarshal(dAtA []byte) error { 6698 l := len(dAtA) 6699 iNdEx := 0 6700 for iNdEx < l { 6701 preIndex := iNdEx 6702 var wire uint64 6703 for shift := uint(0); ; shift += 7 { 6704 if shift >= 64 { 6705 return ErrIntOverflowMsgs 6706 } 6707 if iNdEx >= l { 6708 return io.ErrUnexpectedEOF 6709 } 6710 b := dAtA[iNdEx] 6711 iNdEx++ 6712 wire |= uint64(b&0x7F) << shift 6713 if b < 0x80 { 6714 break 6715 } 6716 } 6717 fieldNum := int32(wire >> 3) 6718 wireType := int(wire & 0x7) 6719 if wireType == 4 { 6720 return fmt.Errorf("proto: MsgRevokeEthereumBlacklist: wiretype end group for non-group") 6721 } 6722 if fieldNum <= 0 { 6723 return fmt.Errorf("proto: MsgRevokeEthereumBlacklist: illegal tag %d (wire type %d)", fieldNum, wire) 6724 } 6725 switch fieldNum { 6726 case 1: 6727 if wireType != 2 { 6728 return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) 6729 } 6730 var stringLen uint64 6731 for shift := uint(0); ; shift += 7 { 6732 if shift >= 64 { 6733 return ErrIntOverflowMsgs 6734 } 6735 if iNdEx >= l { 6736 return io.ErrUnexpectedEOF 6737 } 6738 b := dAtA[iNdEx] 6739 iNdEx++ 6740 stringLen |= uint64(b&0x7F) << shift 6741 if b < 0x80 { 6742 break 6743 } 6744 } 6745 intStringLen := int(stringLen) 6746 if intStringLen < 0 { 6747 return ErrInvalidLengthMsgs 6748 } 6749 postIndex := iNdEx + intStringLen 6750 if postIndex < 0 { 6751 return ErrInvalidLengthMsgs 6752 } 6753 if postIndex > l { 6754 return io.ErrUnexpectedEOF 6755 } 6756 m.Signer = string(dAtA[iNdEx:postIndex]) 6757 iNdEx = postIndex 6758 case 2: 6759 if wireType != 2 { 6760 return fmt.Errorf("proto: wrong wireType = %d for field BlacklistAddresses", wireType) 6761 } 6762 var stringLen uint64 6763 for shift := uint(0); ; shift += 7 { 6764 if shift >= 64 { 6765 return ErrIntOverflowMsgs 6766 } 6767 if iNdEx >= l { 6768 return io.ErrUnexpectedEOF 6769 } 6770 b := dAtA[iNdEx] 6771 iNdEx++ 6772 stringLen |= uint64(b&0x7F) << shift 6773 if b < 0x80 { 6774 break 6775 } 6776 } 6777 intStringLen := int(stringLen) 6778 if intStringLen < 0 { 6779 return ErrInvalidLengthMsgs 6780 } 6781 postIndex := iNdEx + intStringLen 6782 if postIndex < 0 { 6783 return ErrInvalidLengthMsgs 6784 } 6785 if postIndex > l { 6786 return io.ErrUnexpectedEOF 6787 } 6788 m.BlacklistAddresses = append(m.BlacklistAddresses, string(dAtA[iNdEx:postIndex])) 6789 iNdEx = postIndex 6790 default: 6791 iNdEx = preIndex 6792 skippy, err := skipMsgs(dAtA[iNdEx:]) 6793 if err != nil { 6794 return err 6795 } 6796 if (skippy < 0) || (iNdEx+skippy) < 0 { 6797 return ErrInvalidLengthMsgs 6798 } 6799 if (iNdEx + skippy) > l { 6800 return io.ErrUnexpectedEOF 6801 } 6802 iNdEx += skippy 6803 } 6804 } 6805 6806 if iNdEx > l { 6807 return io.ErrUnexpectedEOF 6808 } 6809 return nil 6810 } 6811 func (m *MsgRevokeEthereumBlacklistResponse) Unmarshal(dAtA []byte) error { 6812 l := len(dAtA) 6813 iNdEx := 0 6814 for iNdEx < l { 6815 preIndex := iNdEx 6816 var wire uint64 6817 for shift := uint(0); ; shift += 7 { 6818 if shift >= 64 { 6819 return ErrIntOverflowMsgs 6820 } 6821 if iNdEx >= l { 6822 return io.ErrUnexpectedEOF 6823 } 6824 b := dAtA[iNdEx] 6825 iNdEx++ 6826 wire |= uint64(b&0x7F) << shift 6827 if b < 0x80 { 6828 break 6829 } 6830 } 6831 fieldNum := int32(wire >> 3) 6832 wireType := int(wire & 0x7) 6833 if wireType == 4 { 6834 return fmt.Errorf("proto: MsgRevokeEthereumBlacklistResponse: wiretype end group for non-group") 6835 } 6836 if fieldNum <= 0 { 6837 return fmt.Errorf("proto: MsgRevokeEthereumBlacklistResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6838 } 6839 switch fieldNum { 6840 default: 6841 iNdEx = preIndex 6842 skippy, err := skipMsgs(dAtA[iNdEx:]) 6843 if err != nil { 6844 return err 6845 } 6846 if (skippy < 0) || (iNdEx+skippy) < 0 { 6847 return ErrInvalidLengthMsgs 6848 } 6849 if (iNdEx + skippy) > l { 6850 return io.ErrUnexpectedEOF 6851 } 6852 iNdEx += skippy 6853 } 6854 } 6855 6856 if iNdEx > l { 6857 return io.ErrUnexpectedEOF 6858 } 6859 return nil 6860 } 6861 func skipMsgs(dAtA []byte) (n int, err error) { 6862 l := len(dAtA) 6863 iNdEx := 0 6864 depth := 0 6865 for iNdEx < l { 6866 var wire uint64 6867 for shift := uint(0); ; shift += 7 { 6868 if shift >= 64 { 6869 return 0, ErrIntOverflowMsgs 6870 } 6871 if iNdEx >= l { 6872 return 0, io.ErrUnexpectedEOF 6873 } 6874 b := dAtA[iNdEx] 6875 iNdEx++ 6876 wire |= (uint64(b) & 0x7F) << shift 6877 if b < 0x80 { 6878 break 6879 } 6880 } 6881 wireType := int(wire & 0x7) 6882 switch wireType { 6883 case 0: 6884 for shift := uint(0); ; shift += 7 { 6885 if shift >= 64 { 6886 return 0, ErrIntOverflowMsgs 6887 } 6888 if iNdEx >= l { 6889 return 0, io.ErrUnexpectedEOF 6890 } 6891 iNdEx++ 6892 if dAtA[iNdEx-1] < 0x80 { 6893 break 6894 } 6895 } 6896 case 1: 6897 iNdEx += 8 6898 case 2: 6899 var length int 6900 for shift := uint(0); ; shift += 7 { 6901 if shift >= 64 { 6902 return 0, ErrIntOverflowMsgs 6903 } 6904 if iNdEx >= l { 6905 return 0, io.ErrUnexpectedEOF 6906 } 6907 b := dAtA[iNdEx] 6908 iNdEx++ 6909 length |= (int(b) & 0x7F) << shift 6910 if b < 0x80 { 6911 break 6912 } 6913 } 6914 if length < 0 { 6915 return 0, ErrInvalidLengthMsgs 6916 } 6917 iNdEx += length 6918 case 3: 6919 depth++ 6920 case 4: 6921 if depth == 0 { 6922 return 0, ErrUnexpectedEndOfGroupMsgs 6923 } 6924 depth-- 6925 case 5: 6926 iNdEx += 4 6927 default: 6928 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 6929 } 6930 if iNdEx < 0 { 6931 return 0, ErrInvalidLengthMsgs 6932 } 6933 if depth == 0 { 6934 return iNdEx, nil 6935 } 6936 } 6937 return 0, io.ErrUnexpectedEOF 6938 } 6939 6940 var ( 6941 ErrInvalidLengthMsgs = fmt.Errorf("proto: negative length found during unmarshaling") 6942 ErrIntOverflowMsgs = fmt.Errorf("proto: integer overflow") 6943 ErrUnexpectedEndOfGroupMsgs = fmt.Errorf("proto: unexpected end of group") 6944 )