code.vegaprotocol.io/vega@v0.79.0/protos/vega/chain_events.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc (unknown) 5 // source: vega/chain_events.proto 6 7 package vega 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 // Heartbeat represents that the ERC20 bridge is being watched even though no events happened. 24 type ERC20Heartbeat struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 // Contract address that is being listened to 30 ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` 31 // Last Ethereum block height that was checked for events 32 BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` 33 // Ethereum block time in Unix seconds. 34 BlockTime uint64 `protobuf:"varint,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` 35 // Source chain for this chain event. 36 SourceChainId string `protobuf:"bytes,6,opt,name=source_chain_id,json=sourceChainId,proto3" json:"source_chain_id,omitempty"` 37 } 38 39 func (x *ERC20Heartbeat) Reset() { 40 *x = ERC20Heartbeat{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_vega_chain_events_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *ERC20Heartbeat) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*ERC20Heartbeat) ProtoMessage() {} 53 54 func (x *ERC20Heartbeat) ProtoReflect() protoreflect.Message { 55 mi := &file_vega_chain_events_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use ERC20Heartbeat.ProtoReflect.Descriptor instead. 67 func (*ERC20Heartbeat) Descriptor() ([]byte, []int) { 68 return file_vega_chain_events_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *ERC20Heartbeat) GetContractAddress() string { 72 if x != nil { 73 return x.ContractAddress 74 } 75 return "" 76 } 77 78 func (x *ERC20Heartbeat) GetBlockHeight() uint64 { 79 if x != nil { 80 return x.BlockHeight 81 } 82 return 0 83 } 84 85 func (x *ERC20Heartbeat) GetBlockTime() uint64 { 86 if x != nil { 87 return x.BlockTime 88 } 89 return 0 90 } 91 92 func (x *ERC20Heartbeat) GetSourceChainId() string { 93 if x != nil { 94 return x.SourceChainId 95 } 96 return "" 97 } 98 99 // Result of calling an arbitrary Ethereum contract method 100 type EthContractCallEvent struct { 101 state protoimpl.MessageState 102 sizeCache protoimpl.SizeCache 103 unknownFields protoimpl.UnknownFields 104 105 // ID of the data source spec that triggered this contract call. 106 SpecId string `protobuf:"bytes,1,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"` 107 // Ethereum block height. 108 BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` 109 // Ethereum block time in Unix seconds. 110 BlockTime uint64 `protobuf:"varint,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` 111 // Result of contract call, packed according to the ABI stored in the associated data source spec. 112 Result []byte `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` 113 // Error message if the call failed. 114 Error *string `protobuf:"bytes,5,opt,name=error,proto3,oneof" json:"error,omitempty"` 115 // Source chain for this chain event. 116 SourceChainId *uint64 `protobuf:"varint,6,opt,name=source_chain_id,json=sourceChainId,proto3,oneof" json:"source_chain_id,omitempty"` 117 // If true the event does not correspond to a contract call and is only a notification to core of the last checked block height. 118 Heartbeat bool `protobuf:"varint,7,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"` 119 } 120 121 func (x *EthContractCallEvent) Reset() { 122 *x = EthContractCallEvent{} 123 if protoimpl.UnsafeEnabled { 124 mi := &file_vega_chain_events_proto_msgTypes[1] 125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 126 ms.StoreMessageInfo(mi) 127 } 128 } 129 130 func (x *EthContractCallEvent) String() string { 131 return protoimpl.X.MessageStringOf(x) 132 } 133 134 func (*EthContractCallEvent) ProtoMessage() {} 135 136 func (x *EthContractCallEvent) ProtoReflect() protoreflect.Message { 137 mi := &file_vega_chain_events_proto_msgTypes[1] 138 if protoimpl.UnsafeEnabled && x != nil { 139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 140 if ms.LoadMessageInfo() == nil { 141 ms.StoreMessageInfo(mi) 142 } 143 return ms 144 } 145 return mi.MessageOf(x) 146 } 147 148 // Deprecated: Use EthContractCallEvent.ProtoReflect.Descriptor instead. 149 func (*EthContractCallEvent) Descriptor() ([]byte, []int) { 150 return file_vega_chain_events_proto_rawDescGZIP(), []int{1} 151 } 152 153 func (x *EthContractCallEvent) GetSpecId() string { 154 if x != nil { 155 return x.SpecId 156 } 157 return "" 158 } 159 160 func (x *EthContractCallEvent) GetBlockHeight() uint64 { 161 if x != nil { 162 return x.BlockHeight 163 } 164 return 0 165 } 166 167 func (x *EthContractCallEvent) GetBlockTime() uint64 { 168 if x != nil { 169 return x.BlockTime 170 } 171 return 0 172 } 173 174 func (x *EthContractCallEvent) GetResult() []byte { 175 if x != nil { 176 return x.Result 177 } 178 return nil 179 } 180 181 func (x *EthContractCallEvent) GetError() string { 182 if x != nil && x.Error != nil { 183 return *x.Error 184 } 185 return "" 186 } 187 188 func (x *EthContractCallEvent) GetSourceChainId() uint64 { 189 if x != nil && x.SourceChainId != nil { 190 return *x.SourceChainId 191 } 192 return 0 193 } 194 195 func (x *EthContractCallEvent) GetHeartbeat() bool { 196 if x != nil { 197 return x.Heartbeat 198 } 199 return false 200 } 201 202 // Deposit for a Vega built-in asset 203 type BuiltinAssetDeposit struct { 204 state protoimpl.MessageState 205 sizeCache protoimpl.SizeCache 206 unknownFields protoimpl.UnknownFields 207 208 // Vega network internal asset ID. 209 VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` 210 // Vega party ID i.e. public key. 211 PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` 212 // Amount to be deposited. This field is an unsigned integer scaled to the asset's decimal places. 213 Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` 214 } 215 216 func (x *BuiltinAssetDeposit) Reset() { 217 *x = BuiltinAssetDeposit{} 218 if protoimpl.UnsafeEnabled { 219 mi := &file_vega_chain_events_proto_msgTypes[2] 220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 221 ms.StoreMessageInfo(mi) 222 } 223 } 224 225 func (x *BuiltinAssetDeposit) String() string { 226 return protoimpl.X.MessageStringOf(x) 227 } 228 229 func (*BuiltinAssetDeposit) ProtoMessage() {} 230 231 func (x *BuiltinAssetDeposit) ProtoReflect() protoreflect.Message { 232 mi := &file_vega_chain_events_proto_msgTypes[2] 233 if protoimpl.UnsafeEnabled && x != nil { 234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 235 if ms.LoadMessageInfo() == nil { 236 ms.StoreMessageInfo(mi) 237 } 238 return ms 239 } 240 return mi.MessageOf(x) 241 } 242 243 // Deprecated: Use BuiltinAssetDeposit.ProtoReflect.Descriptor instead. 244 func (*BuiltinAssetDeposit) Descriptor() ([]byte, []int) { 245 return file_vega_chain_events_proto_rawDescGZIP(), []int{2} 246 } 247 248 func (x *BuiltinAssetDeposit) GetVegaAssetId() string { 249 if x != nil { 250 return x.VegaAssetId 251 } 252 return "" 253 } 254 255 func (x *BuiltinAssetDeposit) GetPartyId() string { 256 if x != nil { 257 return x.PartyId 258 } 259 return "" 260 } 261 262 func (x *BuiltinAssetDeposit) GetAmount() string { 263 if x != nil { 264 return x.Amount 265 } 266 return "" 267 } 268 269 // Withdrawal for a Vega built-in asset 270 type BuiltinAssetWithdrawal struct { 271 state protoimpl.MessageState 272 sizeCache protoimpl.SizeCache 273 unknownFields protoimpl.UnknownFields 274 275 // Vega network internal asset ID. 276 VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` 277 // Vega network party ID i.e. public key. 278 PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` 279 // The amount to be withdrawn. This field is an unsigned integer scaled to the asset's decimal places. 280 Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` 281 } 282 283 func (x *BuiltinAssetWithdrawal) Reset() { 284 *x = BuiltinAssetWithdrawal{} 285 if protoimpl.UnsafeEnabled { 286 mi := &file_vega_chain_events_proto_msgTypes[3] 287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 288 ms.StoreMessageInfo(mi) 289 } 290 } 291 292 func (x *BuiltinAssetWithdrawal) String() string { 293 return protoimpl.X.MessageStringOf(x) 294 } 295 296 func (*BuiltinAssetWithdrawal) ProtoMessage() {} 297 298 func (x *BuiltinAssetWithdrawal) ProtoReflect() protoreflect.Message { 299 mi := &file_vega_chain_events_proto_msgTypes[3] 300 if protoimpl.UnsafeEnabled && x != nil { 301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 302 if ms.LoadMessageInfo() == nil { 303 ms.StoreMessageInfo(mi) 304 } 305 return ms 306 } 307 return mi.MessageOf(x) 308 } 309 310 // Deprecated: Use BuiltinAssetWithdrawal.ProtoReflect.Descriptor instead. 311 func (*BuiltinAssetWithdrawal) Descriptor() ([]byte, []int) { 312 return file_vega_chain_events_proto_rawDescGZIP(), []int{3} 313 } 314 315 func (x *BuiltinAssetWithdrawal) GetVegaAssetId() string { 316 if x != nil { 317 return x.VegaAssetId 318 } 319 return "" 320 } 321 322 func (x *BuiltinAssetWithdrawal) GetPartyId() string { 323 if x != nil { 324 return x.PartyId 325 } 326 return "" 327 } 328 329 func (x *BuiltinAssetWithdrawal) GetAmount() string { 330 if x != nil { 331 return x.Amount 332 } 333 return "" 334 } 335 336 // Event related to a Vega built-in asset 337 type BuiltinAssetEvent struct { 338 state protoimpl.MessageState 339 sizeCache protoimpl.SizeCache 340 unknownFields protoimpl.UnknownFields 341 342 // Types that are assignable to Action: 343 // 344 // *BuiltinAssetEvent_Deposit 345 // *BuiltinAssetEvent_Withdrawal 346 Action isBuiltinAssetEvent_Action `protobuf_oneof:"action"` 347 } 348 349 func (x *BuiltinAssetEvent) Reset() { 350 *x = BuiltinAssetEvent{} 351 if protoimpl.UnsafeEnabled { 352 mi := &file_vega_chain_events_proto_msgTypes[4] 353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 354 ms.StoreMessageInfo(mi) 355 } 356 } 357 358 func (x *BuiltinAssetEvent) String() string { 359 return protoimpl.X.MessageStringOf(x) 360 } 361 362 func (*BuiltinAssetEvent) ProtoMessage() {} 363 364 func (x *BuiltinAssetEvent) ProtoReflect() protoreflect.Message { 365 mi := &file_vega_chain_events_proto_msgTypes[4] 366 if protoimpl.UnsafeEnabled && x != nil { 367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 368 if ms.LoadMessageInfo() == nil { 369 ms.StoreMessageInfo(mi) 370 } 371 return ms 372 } 373 return mi.MessageOf(x) 374 } 375 376 // Deprecated: Use BuiltinAssetEvent.ProtoReflect.Descriptor instead. 377 func (*BuiltinAssetEvent) Descriptor() ([]byte, []int) { 378 return file_vega_chain_events_proto_rawDescGZIP(), []int{4} 379 } 380 381 func (m *BuiltinAssetEvent) GetAction() isBuiltinAssetEvent_Action { 382 if m != nil { 383 return m.Action 384 } 385 return nil 386 } 387 388 func (x *BuiltinAssetEvent) GetDeposit() *BuiltinAssetDeposit { 389 if x, ok := x.GetAction().(*BuiltinAssetEvent_Deposit); ok { 390 return x.Deposit 391 } 392 return nil 393 } 394 395 func (x *BuiltinAssetEvent) GetWithdrawal() *BuiltinAssetWithdrawal { 396 if x, ok := x.GetAction().(*BuiltinAssetEvent_Withdrawal); ok { 397 return x.Withdrawal 398 } 399 return nil 400 } 401 402 type isBuiltinAssetEvent_Action interface { 403 isBuiltinAssetEvent_Action() 404 } 405 406 type BuiltinAssetEvent_Deposit struct { 407 // Built-in asset deposit. 408 Deposit *BuiltinAssetDeposit `protobuf:"bytes,1001,opt,name=deposit,proto3,oneof"` 409 } 410 411 type BuiltinAssetEvent_Withdrawal struct { 412 // Built-in asset withdrawal. 413 Withdrawal *BuiltinAssetWithdrawal `protobuf:"bytes,1002,opt,name=withdrawal,proto3,oneof"` 414 } 415 416 func (*BuiltinAssetEvent_Deposit) isBuiltinAssetEvent_Action() {} 417 418 func (*BuiltinAssetEvent_Withdrawal) isBuiltinAssetEvent_Action() {} 419 420 // Asset allow-listing for an ERC20 token 421 type ERC20AssetList struct { 422 state protoimpl.MessageState 423 sizeCache protoimpl.SizeCache 424 unknownFields protoimpl.UnknownFields 425 426 // Vega network internal asset ID. 427 VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` 428 // Ethereum address of the asset. 429 AssetSource string `protobuf:"bytes,2,opt,name=asset_source,json=assetSource,proto3" json:"asset_source,omitempty"` 430 } 431 432 func (x *ERC20AssetList) Reset() { 433 *x = ERC20AssetList{} 434 if protoimpl.UnsafeEnabled { 435 mi := &file_vega_chain_events_proto_msgTypes[5] 436 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 437 ms.StoreMessageInfo(mi) 438 } 439 } 440 441 func (x *ERC20AssetList) String() string { 442 return protoimpl.X.MessageStringOf(x) 443 } 444 445 func (*ERC20AssetList) ProtoMessage() {} 446 447 func (x *ERC20AssetList) ProtoReflect() protoreflect.Message { 448 mi := &file_vega_chain_events_proto_msgTypes[5] 449 if protoimpl.UnsafeEnabled && x != nil { 450 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 451 if ms.LoadMessageInfo() == nil { 452 ms.StoreMessageInfo(mi) 453 } 454 return ms 455 } 456 return mi.MessageOf(x) 457 } 458 459 // Deprecated: Use ERC20AssetList.ProtoReflect.Descriptor instead. 460 func (*ERC20AssetList) Descriptor() ([]byte, []int) { 461 return file_vega_chain_events_proto_rawDescGZIP(), []int{5} 462 } 463 464 func (x *ERC20AssetList) GetVegaAssetId() string { 465 if x != nil { 466 return x.VegaAssetId 467 } 468 return "" 469 } 470 471 func (x *ERC20AssetList) GetAssetSource() string { 472 if x != nil { 473 return x.AssetSource 474 } 475 return "" 476 } 477 478 // Asset deny-listing for an ERC20 token 479 type ERC20AssetDelist struct { 480 state protoimpl.MessageState 481 sizeCache protoimpl.SizeCache 482 unknownFields protoimpl.UnknownFields 483 484 // Vega network internal asset ID. 485 VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` 486 } 487 488 func (x *ERC20AssetDelist) Reset() { 489 *x = ERC20AssetDelist{} 490 if protoimpl.UnsafeEnabled { 491 mi := &file_vega_chain_events_proto_msgTypes[6] 492 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 493 ms.StoreMessageInfo(mi) 494 } 495 } 496 497 func (x *ERC20AssetDelist) String() string { 498 return protoimpl.X.MessageStringOf(x) 499 } 500 501 func (*ERC20AssetDelist) ProtoMessage() {} 502 503 func (x *ERC20AssetDelist) ProtoReflect() protoreflect.Message { 504 mi := &file_vega_chain_events_proto_msgTypes[6] 505 if protoimpl.UnsafeEnabled && x != nil { 506 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 507 if ms.LoadMessageInfo() == nil { 508 ms.StoreMessageInfo(mi) 509 } 510 return ms 511 } 512 return mi.MessageOf(x) 513 } 514 515 // Deprecated: Use ERC20AssetDelist.ProtoReflect.Descriptor instead. 516 func (*ERC20AssetDelist) Descriptor() ([]byte, []int) { 517 return file_vega_chain_events_proto_rawDescGZIP(), []int{6} 518 } 519 520 func (x *ERC20AssetDelist) GetVegaAssetId() string { 521 if x != nil { 522 return x.VegaAssetId 523 } 524 return "" 525 } 526 527 type ERC20AssetLimitsUpdated struct { 528 state protoimpl.MessageState 529 sizeCache protoimpl.SizeCache 530 unknownFields protoimpl.UnknownFields 531 532 // Vega network internal asset ID. 533 VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` 534 // Ethereum wallet that initiated the deposit. 535 SourceEthereumAddress string `protobuf:"bytes,2,opt,name=source_ethereum_address,json=sourceEthereumAddress,proto3" json:"source_ethereum_address,omitempty"` 536 // Updated lifetime limits. 537 LifetimeLimits string `protobuf:"bytes,3,opt,name=lifetime_limits,json=lifetimeLimits,proto3" json:"lifetime_limits,omitempty"` 538 // Updated withdrawal threshold. 539 WithdrawThreshold string `protobuf:"bytes,4,opt,name=withdraw_threshold,json=withdrawThreshold,proto3" json:"withdraw_threshold,omitempty"` 540 } 541 542 func (x *ERC20AssetLimitsUpdated) Reset() { 543 *x = ERC20AssetLimitsUpdated{} 544 if protoimpl.UnsafeEnabled { 545 mi := &file_vega_chain_events_proto_msgTypes[7] 546 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 547 ms.StoreMessageInfo(mi) 548 } 549 } 550 551 func (x *ERC20AssetLimitsUpdated) String() string { 552 return protoimpl.X.MessageStringOf(x) 553 } 554 555 func (*ERC20AssetLimitsUpdated) ProtoMessage() {} 556 557 func (x *ERC20AssetLimitsUpdated) ProtoReflect() protoreflect.Message { 558 mi := &file_vega_chain_events_proto_msgTypes[7] 559 if protoimpl.UnsafeEnabled && x != nil { 560 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 561 if ms.LoadMessageInfo() == nil { 562 ms.StoreMessageInfo(mi) 563 } 564 return ms 565 } 566 return mi.MessageOf(x) 567 } 568 569 // Deprecated: Use ERC20AssetLimitsUpdated.ProtoReflect.Descriptor instead. 570 func (*ERC20AssetLimitsUpdated) Descriptor() ([]byte, []int) { 571 return file_vega_chain_events_proto_rawDescGZIP(), []int{7} 572 } 573 574 func (x *ERC20AssetLimitsUpdated) GetVegaAssetId() string { 575 if x != nil { 576 return x.VegaAssetId 577 } 578 return "" 579 } 580 581 func (x *ERC20AssetLimitsUpdated) GetSourceEthereumAddress() string { 582 if x != nil { 583 return x.SourceEthereumAddress 584 } 585 return "" 586 } 587 588 func (x *ERC20AssetLimitsUpdated) GetLifetimeLimits() string { 589 if x != nil { 590 return x.LifetimeLimits 591 } 592 return "" 593 } 594 595 func (x *ERC20AssetLimitsUpdated) GetWithdrawThreshold() string { 596 if x != nil { 597 return x.WithdrawThreshold 598 } 599 return "" 600 } 601 602 // Asset deposit for an ERC20 token 603 type ERC20Deposit struct { 604 state protoimpl.MessageState 605 sizeCache protoimpl.SizeCache 606 unknownFields protoimpl.UnknownFields 607 608 // Vega network internal asset ID. 609 VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` 610 // Ethereum wallet that initiated the deposit. 611 SourceEthereumAddress string `protobuf:"bytes,2,opt,name=source_ethereum_address,json=sourceEthereumAddress,proto3" json:"source_ethereum_address,omitempty"` 612 // Vega party ID i.e. public key that is the target of the deposit. 613 TargetPartyId string `protobuf:"bytes,3,opt,name=target_party_id,json=targetPartyId,proto3" json:"target_party_id,omitempty"` 614 // Amount to be deposited. 615 Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` 616 } 617 618 func (x *ERC20Deposit) Reset() { 619 *x = ERC20Deposit{} 620 if protoimpl.UnsafeEnabled { 621 mi := &file_vega_chain_events_proto_msgTypes[8] 622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 623 ms.StoreMessageInfo(mi) 624 } 625 } 626 627 func (x *ERC20Deposit) String() string { 628 return protoimpl.X.MessageStringOf(x) 629 } 630 631 func (*ERC20Deposit) ProtoMessage() {} 632 633 func (x *ERC20Deposit) ProtoReflect() protoreflect.Message { 634 mi := &file_vega_chain_events_proto_msgTypes[8] 635 if protoimpl.UnsafeEnabled && x != nil { 636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 637 if ms.LoadMessageInfo() == nil { 638 ms.StoreMessageInfo(mi) 639 } 640 return ms 641 } 642 return mi.MessageOf(x) 643 } 644 645 // Deprecated: Use ERC20Deposit.ProtoReflect.Descriptor instead. 646 func (*ERC20Deposit) Descriptor() ([]byte, []int) { 647 return file_vega_chain_events_proto_rawDescGZIP(), []int{8} 648 } 649 650 func (x *ERC20Deposit) GetVegaAssetId() string { 651 if x != nil { 652 return x.VegaAssetId 653 } 654 return "" 655 } 656 657 func (x *ERC20Deposit) GetSourceEthereumAddress() string { 658 if x != nil { 659 return x.SourceEthereumAddress 660 } 661 return "" 662 } 663 664 func (x *ERC20Deposit) GetTargetPartyId() string { 665 if x != nil { 666 return x.TargetPartyId 667 } 668 return "" 669 } 670 671 func (x *ERC20Deposit) GetAmount() string { 672 if x != nil { 673 return x.Amount 674 } 675 return "" 676 } 677 678 // Asset withdrawal for an ERC20 token 679 type ERC20Withdrawal struct { 680 state protoimpl.MessageState 681 sizeCache protoimpl.SizeCache 682 unknownFields protoimpl.UnknownFields 683 684 // Vega network internal asset ID. 685 VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` 686 // Target Ethereum wallet address. 687 TargetEthereumAddress string `protobuf:"bytes,2,opt,name=target_ethereum_address,json=targetEthereumAddress,proto3" json:"target_ethereum_address,omitempty"` 688 // Reference nonce used for the transaction. 689 ReferenceNonce string `protobuf:"bytes,3,opt,name=reference_nonce,json=referenceNonce,proto3" json:"reference_nonce,omitempty"` 690 } 691 692 func (x *ERC20Withdrawal) Reset() { 693 *x = ERC20Withdrawal{} 694 if protoimpl.UnsafeEnabled { 695 mi := &file_vega_chain_events_proto_msgTypes[9] 696 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 697 ms.StoreMessageInfo(mi) 698 } 699 } 700 701 func (x *ERC20Withdrawal) String() string { 702 return protoimpl.X.MessageStringOf(x) 703 } 704 705 func (*ERC20Withdrawal) ProtoMessage() {} 706 707 func (x *ERC20Withdrawal) ProtoReflect() protoreflect.Message { 708 mi := &file_vega_chain_events_proto_msgTypes[9] 709 if protoimpl.UnsafeEnabled && x != nil { 710 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 711 if ms.LoadMessageInfo() == nil { 712 ms.StoreMessageInfo(mi) 713 } 714 return ms 715 } 716 return mi.MessageOf(x) 717 } 718 719 // Deprecated: Use ERC20Withdrawal.ProtoReflect.Descriptor instead. 720 func (*ERC20Withdrawal) Descriptor() ([]byte, []int) { 721 return file_vega_chain_events_proto_rawDescGZIP(), []int{9} 722 } 723 724 func (x *ERC20Withdrawal) GetVegaAssetId() string { 725 if x != nil { 726 return x.VegaAssetId 727 } 728 return "" 729 } 730 731 func (x *ERC20Withdrawal) GetTargetEthereumAddress() string { 732 if x != nil { 733 return x.TargetEthereumAddress 734 } 735 return "" 736 } 737 738 func (x *ERC20Withdrawal) GetReferenceNonce() string { 739 if x != nil { 740 return x.ReferenceNonce 741 } 742 return "" 743 } 744 745 // Event related to an ERC20 token 746 type ERC20Event struct { 747 state protoimpl.MessageState 748 sizeCache protoimpl.SizeCache 749 unknownFields protoimpl.UnknownFields 750 751 // Index of the log in the transaction. 752 Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` 753 // Block in which the transaction was added. 754 Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` 755 // ID of the source chain for this event. 756 ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 757 // Action undertaken as a result of the event. 758 // 759 // Types that are assignable to Action: 760 // 761 // *ERC20Event_AssetList 762 // *ERC20Event_AssetDelist 763 // *ERC20Event_Deposit 764 // *ERC20Event_Withdrawal 765 // *ERC20Event_AssetLimitsUpdated 766 // *ERC20Event_BridgeStopped 767 // *ERC20Event_BridgeResumed 768 Action isERC20Event_Action `protobuf_oneof:"action"` 769 } 770 771 func (x *ERC20Event) Reset() { 772 *x = ERC20Event{} 773 if protoimpl.UnsafeEnabled { 774 mi := &file_vega_chain_events_proto_msgTypes[10] 775 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 776 ms.StoreMessageInfo(mi) 777 } 778 } 779 780 func (x *ERC20Event) String() string { 781 return protoimpl.X.MessageStringOf(x) 782 } 783 784 func (*ERC20Event) ProtoMessage() {} 785 786 func (x *ERC20Event) ProtoReflect() protoreflect.Message { 787 mi := &file_vega_chain_events_proto_msgTypes[10] 788 if protoimpl.UnsafeEnabled && x != nil { 789 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 790 if ms.LoadMessageInfo() == nil { 791 ms.StoreMessageInfo(mi) 792 } 793 return ms 794 } 795 return mi.MessageOf(x) 796 } 797 798 // Deprecated: Use ERC20Event.ProtoReflect.Descriptor instead. 799 func (*ERC20Event) Descriptor() ([]byte, []int) { 800 return file_vega_chain_events_proto_rawDescGZIP(), []int{10} 801 } 802 803 func (x *ERC20Event) GetIndex() uint64 { 804 if x != nil { 805 return x.Index 806 } 807 return 0 808 } 809 810 func (x *ERC20Event) GetBlock() uint64 { 811 if x != nil { 812 return x.Block 813 } 814 return 0 815 } 816 817 func (x *ERC20Event) GetChainId() string { 818 if x != nil { 819 return x.ChainId 820 } 821 return "" 822 } 823 824 func (m *ERC20Event) GetAction() isERC20Event_Action { 825 if m != nil { 826 return m.Action 827 } 828 return nil 829 } 830 831 func (x *ERC20Event) GetAssetList() *ERC20AssetList { 832 if x, ok := x.GetAction().(*ERC20Event_AssetList); ok { 833 return x.AssetList 834 } 835 return nil 836 } 837 838 func (x *ERC20Event) GetAssetDelist() *ERC20AssetDelist { 839 if x, ok := x.GetAction().(*ERC20Event_AssetDelist); ok { 840 return x.AssetDelist 841 } 842 return nil 843 } 844 845 func (x *ERC20Event) GetDeposit() *ERC20Deposit { 846 if x, ok := x.GetAction().(*ERC20Event_Deposit); ok { 847 return x.Deposit 848 } 849 return nil 850 } 851 852 func (x *ERC20Event) GetWithdrawal() *ERC20Withdrawal { 853 if x, ok := x.GetAction().(*ERC20Event_Withdrawal); ok { 854 return x.Withdrawal 855 } 856 return nil 857 } 858 859 func (x *ERC20Event) GetAssetLimitsUpdated() *ERC20AssetLimitsUpdated { 860 if x, ok := x.GetAction().(*ERC20Event_AssetLimitsUpdated); ok { 861 return x.AssetLimitsUpdated 862 } 863 return nil 864 } 865 866 func (x *ERC20Event) GetBridgeStopped() bool { 867 if x, ok := x.GetAction().(*ERC20Event_BridgeStopped); ok { 868 return x.BridgeStopped 869 } 870 return false 871 } 872 873 func (x *ERC20Event) GetBridgeResumed() bool { 874 if x, ok := x.GetAction().(*ERC20Event_BridgeResumed); ok { 875 return x.BridgeResumed 876 } 877 return false 878 } 879 880 type isERC20Event_Action interface { 881 isERC20Event_Action() 882 } 883 884 type ERC20Event_AssetList struct { 885 // List an ERC20 asset. 886 AssetList *ERC20AssetList `protobuf:"bytes,1001,opt,name=asset_list,json=assetList,proto3,oneof"` 887 } 888 889 type ERC20Event_AssetDelist struct { 890 // De-list an ERC20 asset. 891 AssetDelist *ERC20AssetDelist `protobuf:"bytes,1002,opt,name=asset_delist,json=assetDelist,proto3,oneof"` 892 } 893 894 type ERC20Event_Deposit struct { 895 // Deposit ERC20 asset. 896 Deposit *ERC20Deposit `protobuf:"bytes,1003,opt,name=deposit,proto3,oneof"` 897 } 898 899 type ERC20Event_Withdrawal struct { 900 // Withdraw ERC20 asset. 901 Withdrawal *ERC20Withdrawal `protobuf:"bytes,1004,opt,name=withdrawal,proto3,oneof"` 902 } 903 904 type ERC20Event_AssetLimitsUpdated struct { 905 // Update an ERC20 asset. 906 AssetLimitsUpdated *ERC20AssetLimitsUpdated `protobuf:"bytes,1005,opt,name=asset_limits_updated,json=assetLimitsUpdated,proto3,oneof"` 907 } 908 909 type ERC20Event_BridgeStopped struct { 910 // Bridge operations has been stopped. 911 BridgeStopped bool `protobuf:"varint,1006,opt,name=bridge_stopped,json=bridgeStopped,proto3,oneof"` 912 } 913 914 type ERC20Event_BridgeResumed struct { 915 // Bridge operations has been resumed. 916 BridgeResumed bool `protobuf:"varint,1007,opt,name=bridge_resumed,json=bridgeResumed,proto3,oneof"` 917 } 918 919 func (*ERC20Event_AssetList) isERC20Event_Action() {} 920 921 func (*ERC20Event_AssetDelist) isERC20Event_Action() {} 922 923 func (*ERC20Event_Deposit) isERC20Event_Action() {} 924 925 func (*ERC20Event_Withdrawal) isERC20Event_Action() {} 926 927 func (*ERC20Event_AssetLimitsUpdated) isERC20Event_Action() {} 928 929 func (*ERC20Event_BridgeStopped) isERC20Event_Action() {} 930 931 func (*ERC20Event_BridgeResumed) isERC20Event_Action() {} 932 933 // New signer added to the ERC20 bridge 934 type ERC20SignerAdded struct { 935 state protoimpl.MessageState 936 sizeCache protoimpl.SizeCache 937 unknownFields protoimpl.UnknownFields 938 939 // Ethereum address of the new signer 940 NewSigner string `protobuf:"bytes,1,opt,name=new_signer,json=newSigner,proto3" json:"new_signer,omitempty"` 941 // Nonce created by the Vega network used for this new signer 942 Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` 943 // Time at which the block was produced 944 // will be used to inform the core at what time 945 // the stake was made unavailable. 946 BlockTime int64 `protobuf:"varint,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` 947 } 948 949 func (x *ERC20SignerAdded) Reset() { 950 *x = ERC20SignerAdded{} 951 if protoimpl.UnsafeEnabled { 952 mi := &file_vega_chain_events_proto_msgTypes[11] 953 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 954 ms.StoreMessageInfo(mi) 955 } 956 } 957 958 func (x *ERC20SignerAdded) String() string { 959 return protoimpl.X.MessageStringOf(x) 960 } 961 962 func (*ERC20SignerAdded) ProtoMessage() {} 963 964 func (x *ERC20SignerAdded) ProtoReflect() protoreflect.Message { 965 mi := &file_vega_chain_events_proto_msgTypes[11] 966 if protoimpl.UnsafeEnabled && x != nil { 967 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 968 if ms.LoadMessageInfo() == nil { 969 ms.StoreMessageInfo(mi) 970 } 971 return ms 972 } 973 return mi.MessageOf(x) 974 } 975 976 // Deprecated: Use ERC20SignerAdded.ProtoReflect.Descriptor instead. 977 func (*ERC20SignerAdded) Descriptor() ([]byte, []int) { 978 return file_vega_chain_events_proto_rawDescGZIP(), []int{11} 979 } 980 981 func (x *ERC20SignerAdded) GetNewSigner() string { 982 if x != nil { 983 return x.NewSigner 984 } 985 return "" 986 } 987 988 func (x *ERC20SignerAdded) GetNonce() string { 989 if x != nil { 990 return x.Nonce 991 } 992 return "" 993 } 994 995 func (x *ERC20SignerAdded) GetBlockTime() int64 { 996 if x != nil { 997 return x.BlockTime 998 } 999 return 0 1000 } 1001 1002 // Signer removed from the ERC20 bridge 1003 type ERC20SignerRemoved struct { 1004 state protoimpl.MessageState 1005 sizeCache protoimpl.SizeCache 1006 unknownFields protoimpl.UnknownFields 1007 1008 // Ethereum address of the old signer 1009 OldSigner string `protobuf:"bytes,1,opt,name=old_signer,json=oldSigner,proto3" json:"old_signer,omitempty"` 1010 // Nonce created by the Vega network used for this old signer 1011 Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` 1012 // Time at which the block was produced. 1013 // Will be used to inform the core at what time 1014 // the stake was made unavailable. 1015 BlockTime int64 `protobuf:"varint,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` 1016 } 1017 1018 func (x *ERC20SignerRemoved) Reset() { 1019 *x = ERC20SignerRemoved{} 1020 if protoimpl.UnsafeEnabled { 1021 mi := &file_vega_chain_events_proto_msgTypes[12] 1022 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1023 ms.StoreMessageInfo(mi) 1024 } 1025 } 1026 1027 func (x *ERC20SignerRemoved) String() string { 1028 return protoimpl.X.MessageStringOf(x) 1029 } 1030 1031 func (*ERC20SignerRemoved) ProtoMessage() {} 1032 1033 func (x *ERC20SignerRemoved) ProtoReflect() protoreflect.Message { 1034 mi := &file_vega_chain_events_proto_msgTypes[12] 1035 if protoimpl.UnsafeEnabled && x != nil { 1036 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1037 if ms.LoadMessageInfo() == nil { 1038 ms.StoreMessageInfo(mi) 1039 } 1040 return ms 1041 } 1042 return mi.MessageOf(x) 1043 } 1044 1045 // Deprecated: Use ERC20SignerRemoved.ProtoReflect.Descriptor instead. 1046 func (*ERC20SignerRemoved) Descriptor() ([]byte, []int) { 1047 return file_vega_chain_events_proto_rawDescGZIP(), []int{12} 1048 } 1049 1050 func (x *ERC20SignerRemoved) GetOldSigner() string { 1051 if x != nil { 1052 return x.OldSigner 1053 } 1054 return "" 1055 } 1056 1057 func (x *ERC20SignerRemoved) GetNonce() string { 1058 if x != nil { 1059 return x.Nonce 1060 } 1061 return "" 1062 } 1063 1064 func (x *ERC20SignerRemoved) GetBlockTime() int64 { 1065 if x != nil { 1066 return x.BlockTime 1067 } 1068 return 0 1069 } 1070 1071 // Threshold has been updated on the multisig control 1072 type ERC20ThresholdSet struct { 1073 state protoimpl.MessageState 1074 sizeCache protoimpl.SizeCache 1075 unknownFields protoimpl.UnknownFields 1076 1077 // New threshold value to set 1078 NewThreshold uint32 `protobuf:"varint,1,opt,name=new_threshold,json=newThreshold,proto3" json:"new_threshold,omitempty"` 1079 // Nonce created by the Vega network 1080 Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` 1081 // Time at which the block was produced. 1082 // Will be used to inform the core at what time 1083 // the stake was made unavailable. 1084 BlockTime int64 `protobuf:"varint,3,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` 1085 } 1086 1087 func (x *ERC20ThresholdSet) Reset() { 1088 *x = ERC20ThresholdSet{} 1089 if protoimpl.UnsafeEnabled { 1090 mi := &file_vega_chain_events_proto_msgTypes[13] 1091 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1092 ms.StoreMessageInfo(mi) 1093 } 1094 } 1095 1096 func (x *ERC20ThresholdSet) String() string { 1097 return protoimpl.X.MessageStringOf(x) 1098 } 1099 1100 func (*ERC20ThresholdSet) ProtoMessage() {} 1101 1102 func (x *ERC20ThresholdSet) ProtoReflect() protoreflect.Message { 1103 mi := &file_vega_chain_events_proto_msgTypes[13] 1104 if protoimpl.UnsafeEnabled && x != nil { 1105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1106 if ms.LoadMessageInfo() == nil { 1107 ms.StoreMessageInfo(mi) 1108 } 1109 return ms 1110 } 1111 return mi.MessageOf(x) 1112 } 1113 1114 // Deprecated: Use ERC20ThresholdSet.ProtoReflect.Descriptor instead. 1115 func (*ERC20ThresholdSet) Descriptor() ([]byte, []int) { 1116 return file_vega_chain_events_proto_rawDescGZIP(), []int{13} 1117 } 1118 1119 func (x *ERC20ThresholdSet) GetNewThreshold() uint32 { 1120 if x != nil { 1121 return x.NewThreshold 1122 } 1123 return 0 1124 } 1125 1126 func (x *ERC20ThresholdSet) GetNonce() string { 1127 if x != nil { 1128 return x.Nonce 1129 } 1130 return "" 1131 } 1132 1133 func (x *ERC20ThresholdSet) GetBlockTime() int64 { 1134 if x != nil { 1135 return x.BlockTime 1136 } 1137 return 0 1138 } 1139 1140 // Event related to the ERC20 MultiSig 1141 type ERC20MultiSigEvent struct { 1142 state protoimpl.MessageState 1143 sizeCache protoimpl.SizeCache 1144 unknownFields protoimpl.UnknownFields 1145 1146 // Index of the log in the transaction 1147 Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` 1148 // Block in which the transaction was added 1149 Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` 1150 // ID of the source chain for this event. 1151 ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 1152 // Action undertaken as a result of the event. 1153 // 1154 // Types that are assignable to Action: 1155 // 1156 // *ERC20MultiSigEvent_SignerAdded 1157 // *ERC20MultiSigEvent_SignerRemoved 1158 // *ERC20MultiSigEvent_ThresholdSet 1159 Action isERC20MultiSigEvent_Action `protobuf_oneof:"action"` 1160 } 1161 1162 func (x *ERC20MultiSigEvent) Reset() { 1163 *x = ERC20MultiSigEvent{} 1164 if protoimpl.UnsafeEnabled { 1165 mi := &file_vega_chain_events_proto_msgTypes[14] 1166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1167 ms.StoreMessageInfo(mi) 1168 } 1169 } 1170 1171 func (x *ERC20MultiSigEvent) String() string { 1172 return protoimpl.X.MessageStringOf(x) 1173 } 1174 1175 func (*ERC20MultiSigEvent) ProtoMessage() {} 1176 1177 func (x *ERC20MultiSigEvent) ProtoReflect() protoreflect.Message { 1178 mi := &file_vega_chain_events_proto_msgTypes[14] 1179 if protoimpl.UnsafeEnabled && x != nil { 1180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1181 if ms.LoadMessageInfo() == nil { 1182 ms.StoreMessageInfo(mi) 1183 } 1184 return ms 1185 } 1186 return mi.MessageOf(x) 1187 } 1188 1189 // Deprecated: Use ERC20MultiSigEvent.ProtoReflect.Descriptor instead. 1190 func (*ERC20MultiSigEvent) Descriptor() ([]byte, []int) { 1191 return file_vega_chain_events_proto_rawDescGZIP(), []int{14} 1192 } 1193 1194 func (x *ERC20MultiSigEvent) GetIndex() uint64 { 1195 if x != nil { 1196 return x.Index 1197 } 1198 return 0 1199 } 1200 1201 func (x *ERC20MultiSigEvent) GetBlock() uint64 { 1202 if x != nil { 1203 return x.Block 1204 } 1205 return 0 1206 } 1207 1208 func (x *ERC20MultiSigEvent) GetChainId() string { 1209 if x != nil { 1210 return x.ChainId 1211 } 1212 return "" 1213 } 1214 1215 func (m *ERC20MultiSigEvent) GetAction() isERC20MultiSigEvent_Action { 1216 if m != nil { 1217 return m.Action 1218 } 1219 return nil 1220 } 1221 1222 func (x *ERC20MultiSigEvent) GetSignerAdded() *ERC20SignerAdded { 1223 if x, ok := x.GetAction().(*ERC20MultiSigEvent_SignerAdded); ok { 1224 return x.SignerAdded 1225 } 1226 return nil 1227 } 1228 1229 func (x *ERC20MultiSigEvent) GetSignerRemoved() *ERC20SignerRemoved { 1230 if x, ok := x.GetAction().(*ERC20MultiSigEvent_SignerRemoved); ok { 1231 return x.SignerRemoved 1232 } 1233 return nil 1234 } 1235 1236 func (x *ERC20MultiSigEvent) GetThresholdSet() *ERC20ThresholdSet { 1237 if x, ok := x.GetAction().(*ERC20MultiSigEvent_ThresholdSet); ok { 1238 return x.ThresholdSet 1239 } 1240 return nil 1241 } 1242 1243 type isERC20MultiSigEvent_Action interface { 1244 isERC20MultiSigEvent_Action() 1245 } 1246 1247 type ERC20MultiSigEvent_SignerAdded struct { 1248 // Add a signer to the erc20 bridge 1249 SignerAdded *ERC20SignerAdded `protobuf:"bytes,1001,opt,name=signer_added,json=signerAdded,proto3,oneof"` 1250 } 1251 1252 type ERC20MultiSigEvent_SignerRemoved struct { 1253 // Remove a signer from the erc20 bridge 1254 SignerRemoved *ERC20SignerRemoved `protobuf:"bytes,1002,opt,name=signer_removed,json=signerRemoved,proto3,oneof"` 1255 } 1256 1257 type ERC20MultiSigEvent_ThresholdSet struct { 1258 // Threshold set 1259 ThresholdSet *ERC20ThresholdSet `protobuf:"bytes,1003,opt,name=threshold_set,json=thresholdSet,proto3,oneof"` 1260 } 1261 1262 func (*ERC20MultiSigEvent_SignerAdded) isERC20MultiSigEvent_Action() {} 1263 1264 func (*ERC20MultiSigEvent_SignerRemoved) isERC20MultiSigEvent_Action() {} 1265 1266 func (*ERC20MultiSigEvent_ThresholdSet) isERC20MultiSigEvent_Action() {} 1267 1268 // Event related to staking on the Vega network. 1269 type StakingEvent struct { 1270 state protoimpl.MessageState 1271 sizeCache protoimpl.SizeCache 1272 unknownFields protoimpl.UnknownFields 1273 1274 // Index of the log in the transaction. 1275 Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` 1276 // Block in which the transaction was added. 1277 Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` 1278 // Action undertaken by the event. 1279 // 1280 // Types that are assignable to Action: 1281 // 1282 // *StakingEvent_StakeDeposited 1283 // *StakingEvent_StakeRemoved 1284 // *StakingEvent_TotalSupply 1285 Action isStakingEvent_Action `protobuf_oneof:"action"` 1286 } 1287 1288 func (x *StakingEvent) Reset() { 1289 *x = StakingEvent{} 1290 if protoimpl.UnsafeEnabled { 1291 mi := &file_vega_chain_events_proto_msgTypes[15] 1292 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1293 ms.StoreMessageInfo(mi) 1294 } 1295 } 1296 1297 func (x *StakingEvent) String() string { 1298 return protoimpl.X.MessageStringOf(x) 1299 } 1300 1301 func (*StakingEvent) ProtoMessage() {} 1302 1303 func (x *StakingEvent) ProtoReflect() protoreflect.Message { 1304 mi := &file_vega_chain_events_proto_msgTypes[15] 1305 if protoimpl.UnsafeEnabled && x != nil { 1306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1307 if ms.LoadMessageInfo() == nil { 1308 ms.StoreMessageInfo(mi) 1309 } 1310 return ms 1311 } 1312 return mi.MessageOf(x) 1313 } 1314 1315 // Deprecated: Use StakingEvent.ProtoReflect.Descriptor instead. 1316 func (*StakingEvent) Descriptor() ([]byte, []int) { 1317 return file_vega_chain_events_proto_rawDescGZIP(), []int{15} 1318 } 1319 1320 func (x *StakingEvent) GetIndex() uint64 { 1321 if x != nil { 1322 return x.Index 1323 } 1324 return 0 1325 } 1326 1327 func (x *StakingEvent) GetBlock() uint64 { 1328 if x != nil { 1329 return x.Block 1330 } 1331 return 0 1332 } 1333 1334 func (m *StakingEvent) GetAction() isStakingEvent_Action { 1335 if m != nil { 1336 return m.Action 1337 } 1338 return nil 1339 } 1340 1341 func (x *StakingEvent) GetStakeDeposited() *StakeDeposited { 1342 if x, ok := x.GetAction().(*StakingEvent_StakeDeposited); ok { 1343 return x.StakeDeposited 1344 } 1345 return nil 1346 } 1347 1348 func (x *StakingEvent) GetStakeRemoved() *StakeRemoved { 1349 if x, ok := x.GetAction().(*StakingEvent_StakeRemoved); ok { 1350 return x.StakeRemoved 1351 } 1352 return nil 1353 } 1354 1355 func (x *StakingEvent) GetTotalSupply() *StakeTotalSupply { 1356 if x, ok := x.GetAction().(*StakingEvent_TotalSupply); ok { 1357 return x.TotalSupply 1358 } 1359 return nil 1360 } 1361 1362 type isStakingEvent_Action interface { 1363 isStakingEvent_Action() 1364 } 1365 1366 type StakingEvent_StakeDeposited struct { 1367 StakeDeposited *StakeDeposited `protobuf:"bytes,1001,opt,name=stake_deposited,json=stakeDeposited,proto3,oneof"` 1368 } 1369 1370 type StakingEvent_StakeRemoved struct { 1371 StakeRemoved *StakeRemoved `protobuf:"bytes,1002,opt,name=stake_removed,json=stakeRemoved,proto3,oneof"` 1372 } 1373 1374 type StakingEvent_TotalSupply struct { 1375 TotalSupply *StakeTotalSupply `protobuf:"bytes,1003,opt,name=total_supply,json=totalSupply,proto3,oneof"` 1376 } 1377 1378 func (*StakingEvent_StakeDeposited) isStakingEvent_Action() {} 1379 1380 func (*StakingEvent_StakeRemoved) isStakingEvent_Action() {} 1381 1382 func (*StakingEvent_TotalSupply) isStakingEvent_Action() {} 1383 1384 type StakeDeposited struct { 1385 state protoimpl.MessageState 1386 sizeCache protoimpl.SizeCache 1387 unknownFields protoimpl.UnknownFields 1388 1389 // Ethereum Address of the user depositing stake (hex encode with 0x prefix) 1390 EthereumAddress string `protobuf:"bytes,1,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"` 1391 // Hex encoded public key of the party receiving the stake deposit. 1392 VegaPublicKey string `protobuf:"bytes,2,opt,name=vega_public_key,json=vegaPublicKey,proto3" json:"vega_public_key,omitempty"` 1393 // Amount deposited as an unsigned base 10 integer scaled to the asset's decimal places. 1394 Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` 1395 // Time at which the block was produced. 1396 // Will be used to inform the core at what time 1397 // the stake started to be available. 1398 BlockTime int64 `protobuf:"varint,4,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` 1399 } 1400 1401 func (x *StakeDeposited) Reset() { 1402 *x = StakeDeposited{} 1403 if protoimpl.UnsafeEnabled { 1404 mi := &file_vega_chain_events_proto_msgTypes[16] 1405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1406 ms.StoreMessageInfo(mi) 1407 } 1408 } 1409 1410 func (x *StakeDeposited) String() string { 1411 return protoimpl.X.MessageStringOf(x) 1412 } 1413 1414 func (*StakeDeposited) ProtoMessage() {} 1415 1416 func (x *StakeDeposited) ProtoReflect() protoreflect.Message { 1417 mi := &file_vega_chain_events_proto_msgTypes[16] 1418 if protoimpl.UnsafeEnabled && x != nil { 1419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1420 if ms.LoadMessageInfo() == nil { 1421 ms.StoreMessageInfo(mi) 1422 } 1423 return ms 1424 } 1425 return mi.MessageOf(x) 1426 } 1427 1428 // Deprecated: Use StakeDeposited.ProtoReflect.Descriptor instead. 1429 func (*StakeDeposited) Descriptor() ([]byte, []int) { 1430 return file_vega_chain_events_proto_rawDescGZIP(), []int{16} 1431 } 1432 1433 func (x *StakeDeposited) GetEthereumAddress() string { 1434 if x != nil { 1435 return x.EthereumAddress 1436 } 1437 return "" 1438 } 1439 1440 func (x *StakeDeposited) GetVegaPublicKey() string { 1441 if x != nil { 1442 return x.VegaPublicKey 1443 } 1444 return "" 1445 } 1446 1447 func (x *StakeDeposited) GetAmount() string { 1448 if x != nil { 1449 return x.Amount 1450 } 1451 return "" 1452 } 1453 1454 func (x *StakeDeposited) GetBlockTime() int64 { 1455 if x != nil { 1456 return x.BlockTime 1457 } 1458 return 0 1459 } 1460 1461 type StakeRemoved struct { 1462 state protoimpl.MessageState 1463 sizeCache protoimpl.SizeCache 1464 unknownFields protoimpl.UnknownFields 1465 1466 // Ethereum address of the user removing stake. This should be hex encoded with 0x prefix. 1467 EthereumAddress string `protobuf:"bytes,1,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"` 1468 // Hex encoded public key of the party from which to remove stake. 1469 VegaPublicKey string `protobuf:"bytes,2,opt,name=vega_public_key,json=vegaPublicKey,proto3" json:"vega_public_key,omitempty"` 1470 // Amount removed as a base 10 unsigned integer scaled to the asset's decimal places. 1471 Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` 1472 // The time at which the block was produced 1473 // will be used to inform the core at what time 1474 // the stake was made unavailable. 1475 BlockTime int64 `protobuf:"varint,4,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` 1476 } 1477 1478 func (x *StakeRemoved) Reset() { 1479 *x = StakeRemoved{} 1480 if protoimpl.UnsafeEnabled { 1481 mi := &file_vega_chain_events_proto_msgTypes[17] 1482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1483 ms.StoreMessageInfo(mi) 1484 } 1485 } 1486 1487 func (x *StakeRemoved) String() string { 1488 return protoimpl.X.MessageStringOf(x) 1489 } 1490 1491 func (*StakeRemoved) ProtoMessage() {} 1492 1493 func (x *StakeRemoved) ProtoReflect() protoreflect.Message { 1494 mi := &file_vega_chain_events_proto_msgTypes[17] 1495 if protoimpl.UnsafeEnabled && x != nil { 1496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1497 if ms.LoadMessageInfo() == nil { 1498 ms.StoreMessageInfo(mi) 1499 } 1500 return ms 1501 } 1502 return mi.MessageOf(x) 1503 } 1504 1505 // Deprecated: Use StakeRemoved.ProtoReflect.Descriptor instead. 1506 func (*StakeRemoved) Descriptor() ([]byte, []int) { 1507 return file_vega_chain_events_proto_rawDescGZIP(), []int{17} 1508 } 1509 1510 func (x *StakeRemoved) GetEthereumAddress() string { 1511 if x != nil { 1512 return x.EthereumAddress 1513 } 1514 return "" 1515 } 1516 1517 func (x *StakeRemoved) GetVegaPublicKey() string { 1518 if x != nil { 1519 return x.VegaPublicKey 1520 } 1521 return "" 1522 } 1523 1524 func (x *StakeRemoved) GetAmount() string { 1525 if x != nil { 1526 return x.Amount 1527 } 1528 return "" 1529 } 1530 1531 func (x *StakeRemoved) GetBlockTime() int64 { 1532 if x != nil { 1533 return x.BlockTime 1534 } 1535 return 0 1536 } 1537 1538 type StakeTotalSupply struct { 1539 state protoimpl.MessageState 1540 sizeCache protoimpl.SizeCache 1541 unknownFields protoimpl.UnknownFields 1542 1543 // Address of the staking asset 1544 TokenAddress string `protobuf:"bytes,1,opt,name=token_address,json=tokenAddress,proto3" json:"token_address,omitempty"` 1545 // Total supply observed for the token as an unsigned based 10 integer scaled to the asset's decimal places. 1546 TotalSupply string `protobuf:"bytes,2,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` 1547 } 1548 1549 func (x *StakeTotalSupply) Reset() { 1550 *x = StakeTotalSupply{} 1551 if protoimpl.UnsafeEnabled { 1552 mi := &file_vega_chain_events_proto_msgTypes[18] 1553 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1554 ms.StoreMessageInfo(mi) 1555 } 1556 } 1557 1558 func (x *StakeTotalSupply) String() string { 1559 return protoimpl.X.MessageStringOf(x) 1560 } 1561 1562 func (*StakeTotalSupply) ProtoMessage() {} 1563 1564 func (x *StakeTotalSupply) ProtoReflect() protoreflect.Message { 1565 mi := &file_vega_chain_events_proto_msgTypes[18] 1566 if protoimpl.UnsafeEnabled && x != nil { 1567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1568 if ms.LoadMessageInfo() == nil { 1569 ms.StoreMessageInfo(mi) 1570 } 1571 return ms 1572 } 1573 return mi.MessageOf(x) 1574 } 1575 1576 // Deprecated: Use StakeTotalSupply.ProtoReflect.Descriptor instead. 1577 func (*StakeTotalSupply) Descriptor() ([]byte, []int) { 1578 return file_vega_chain_events_proto_rawDescGZIP(), []int{18} 1579 } 1580 1581 func (x *StakeTotalSupply) GetTokenAddress() string { 1582 if x != nil { 1583 return x.TokenAddress 1584 } 1585 return "" 1586 } 1587 1588 func (x *StakeTotalSupply) GetTotalSupply() string { 1589 if x != nil { 1590 return x.TotalSupply 1591 } 1592 return "" 1593 } 1594 1595 var File_vega_chain_events_proto protoreflect.FileDescriptor 1596 1597 var file_vega_chain_events_proto_rawDesc = []byte{ 1598 0x0a, 0x17, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x65, 0x76, 0x65, 1599 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x76, 0x65, 0x67, 0x61, 0x22, 1600 0xa5, 0x01, 0x0a, 0x0e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 1601 0x61, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 1602 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 1603 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 1604 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 1605 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 1606 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 1607 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 1608 0x26, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 1609 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1610 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x8d, 0x02, 0x0a, 0x14, 0x45, 0x74, 0x68, 0x43, 1611 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 1612 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 1613 0x09, 0x52, 0x06, 0x73, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 1614 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 1615 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 1616 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 1617 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 1618 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x72, 0x65, 0x73, 1619 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 1620 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x2b, 1621 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 1622 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 1623 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x09, 0x68, 1624 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 1625 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 1626 0x72, 0x6f, 0x72, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 1627 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x6c, 0x0a, 0x13, 0x42, 0x75, 0x69, 0x6c, 0x74, 1628 0x69, 0x6e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x22, 1629 0x0a, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 1630 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 1631 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 1632 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x72, 0x74, 0x79, 0x49, 0x64, 0x12, 0x16, 0x0a, 1633 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 1634 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x6f, 0x0a, 0x16, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 1635 0x41, 0x73, 0x73, 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x12, 1636 0x22, 0x0a, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 1637 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x41, 0x73, 0x73, 0x65, 1638 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 1639 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x72, 0x74, 0x79, 0x49, 0x64, 0x12, 0x16, 1640 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 1641 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x96, 0x01, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x74, 1642 0x69, 0x6e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x07, 1643 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 1644 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x41, 0x73, 0x73, 1645 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x70, 1646 0x6f, 0x73, 0x69, 0x74, 0x12, 0x3f, 0x0a, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 1647 0x61, 0x6c, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x65, 0x67, 0x61, 1648 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x57, 0x69, 0x74, 1649 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, 1650 0x72, 0x61, 0x77, 0x61, 0x6c, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 1651 0x57, 0x0a, 0x0e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x73, 1652 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 1653 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x41, 0x73, 1654 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x73, 1655 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x73, 0x73, 1656 0x65, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x36, 0x0a, 0x10, 0x45, 0x52, 0x43, 0x32, 1657 0x30, 0x41, 0x73, 0x73, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 1658 0x76, 0x65, 0x67, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 1659 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 1660 0x22, 0xcd, 0x01, 0x0a, 0x17, 0x45, 0x52, 0x43, 0x32, 0x30, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 1661 0x69, 0x6d, 0x69, 0x74, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0d, 1662 0x76, 0x65, 0x67, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 1663 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 1664 0x12, 0x36, 0x0a, 0x17, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x74, 0x68, 0x65, 0x72, 1665 0x65, 0x75, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 1666 0x09, 0x52, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 1667 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6c, 0x69, 0x66, 0x65, 1668 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 1669 0x09, 0x52, 0x0e, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 1670 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x68, 1671 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x77, 1672 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 1673 0x22, 0xaa, 0x01, 0x0a, 0x0c, 0x45, 0x52, 0x43, 0x32, 0x30, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 1674 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 1675 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x41, 0x73, 1676 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 1677 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 1678 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x74, 1679 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 1680 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x69, 0x64, 1681 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 1682 0x72, 0x74, 0x79, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 1683 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x96, 0x01, 1684 0x0a, 0x0f, 0x45, 0x52, 0x43, 0x32, 0x30, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 1685 0x6c, 0x12, 0x22, 0x0a, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 1686 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x41, 0x73, 1687 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 1688 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 1689 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x45, 0x74, 1690 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x0a, 1691 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 1692 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 1693 0x65, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0xe6, 0x03, 0x0a, 0x0a, 0x45, 0x52, 0x43, 0x32, 0x30, 1694 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 1695 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x62, 1696 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 1697 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 1698 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x0a, 1699 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 1700 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x41, 0x73, 1701 0x73, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 1702 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 1703 0x6c, 0x69, 0x73, 0x74, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x65, 1704 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x41, 0x73, 0x73, 0x65, 0x74, 0x44, 0x65, 0x6c, 1705 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x69, 1706 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x07, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18, 0xeb, 0x07, 1707 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 1708 0x30, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x70, 0x6f, 1709 0x73, 0x69, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 1710 0x6c, 0x18, 0xec, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 1711 0x45, 0x52, 0x43, 0x32, 0x30, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x48, 1712 0x00, 0x52, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x12, 0x52, 0x0a, 1713 0x14, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x5f, 0x75, 0x70, 1714 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0xed, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 1715 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x69, 1716 0x6d, 0x69, 0x74, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x12, 0x61, 1717 0x73, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 1718 0x64, 0x12, 0x28, 0x0a, 0x0e, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x70, 1719 0x70, 0x65, 0x64, 0x18, 0xee, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x62, 0x72, 1720 0x69, 0x64, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x0e, 0x62, 1721 0x72, 0x69, 0x64, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x18, 0xef, 0x07, 1722 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x52, 0x65, 1723 0x73, 0x75, 0x6d, 0x65, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 1724 0x66, 0x0a, 0x10, 0x45, 0x52, 0x43, 0x32, 0x30, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x41, 0x64, 1725 0x64, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 1726 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x53, 0x69, 0x67, 0x6e, 1727 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1728 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 1729 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 1730 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x68, 0x0a, 0x12, 0x45, 0x52, 0x43, 0x32, 0x30, 1731 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x1d, 0x0a, 1732 0x0a, 0x6f, 0x6c, 0x64, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 1733 0x09, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 1734 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 1735 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 1736 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 1737 0x65, 0x22, 0x6d, 0x0a, 0x11, 0x45, 0x52, 0x43, 0x32, 0x30, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 1738 0x6f, 0x6c, 0x64, 0x53, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x68, 1739 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 1740 0x65, 0x77, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 1741 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 1742 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 1743 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 1744 0x22, 0xa8, 0x02, 0x0a, 0x12, 0x45, 0x52, 0x43, 0x32, 0x30, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 1745 0x69, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 1746 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 1747 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x62, 0x6c, 1748 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 1749 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x3c, 1750 0x0a, 0x0c, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0xe9, 1751 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 1752 0x32, 0x30, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 1753 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x42, 0x0a, 0x0e, 1754 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0xea, 1755 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 1756 0x32, 0x30, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 1757 0x00, 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 1758 0x12, 0x3f, 0x0a, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x73, 0x65, 1759 0x74, 0x18, 0xeb, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 1760 0x45, 0x52, 0x43, 0x32, 0x30, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x65, 1761 0x74, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x65, 1762 0x74, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x80, 0x02, 0x0a, 0x0c, 1763 0x53, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 1764 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 1765 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 1766 0x04, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x40, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x6b, 1767 0x65, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x64, 0x18, 0xe9, 0x07, 0x20, 0x01, 1768 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x44, 1769 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x6b, 1770 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x0d, 0x73, 0x74, 1771 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0xea, 0x07, 0x20, 0x01, 1772 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 1773 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x52, 1774 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 1775 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0xeb, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 1776 0x76, 0x65, 0x67, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 1777 0x75, 0x70, 0x70, 0x6c, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 1778 0x70, 0x70, 0x6c, 0x79, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9a, 1779 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 1780 0x64, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x61, 0x64, 1781 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x74, 0x68, 1782 0x65, 0x72, 0x65, 0x75, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0f, 1783 0x76, 0x65, 0x67, 0x61, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 1784 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x50, 0x75, 0x62, 0x6c, 0x69, 1785 0x63, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 1786 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 1787 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 1788 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x0c, 1789 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 1790 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 1791 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 1792 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x76, 0x65, 0x67, 0x61, 0x5f, 1793 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1794 0x52, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 1795 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 1796 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 1797 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 1798 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x5a, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x54, 1799 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 1800 0x6b, 0x65, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 1801 0x09, 0x52, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 1802 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 1803 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 1804 0x6c, 0x79, 0x42, 0x27, 0x5a, 0x25, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x70, 1805 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 1806 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 1807 0x74, 0x6f, 0x33, 1808 } 1809 1810 var ( 1811 file_vega_chain_events_proto_rawDescOnce sync.Once 1812 file_vega_chain_events_proto_rawDescData = file_vega_chain_events_proto_rawDesc 1813 ) 1814 1815 func file_vega_chain_events_proto_rawDescGZIP() []byte { 1816 file_vega_chain_events_proto_rawDescOnce.Do(func() { 1817 file_vega_chain_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_vega_chain_events_proto_rawDescData) 1818 }) 1819 return file_vega_chain_events_proto_rawDescData 1820 } 1821 1822 var file_vega_chain_events_proto_msgTypes = make([]protoimpl.MessageInfo, 19) 1823 var file_vega_chain_events_proto_goTypes = []interface{}{ 1824 (*ERC20Heartbeat)(nil), // 0: vega.ERC20Heartbeat 1825 (*EthContractCallEvent)(nil), // 1: vega.EthContractCallEvent 1826 (*BuiltinAssetDeposit)(nil), // 2: vega.BuiltinAssetDeposit 1827 (*BuiltinAssetWithdrawal)(nil), // 3: vega.BuiltinAssetWithdrawal 1828 (*BuiltinAssetEvent)(nil), // 4: vega.BuiltinAssetEvent 1829 (*ERC20AssetList)(nil), // 5: vega.ERC20AssetList 1830 (*ERC20AssetDelist)(nil), // 6: vega.ERC20AssetDelist 1831 (*ERC20AssetLimitsUpdated)(nil), // 7: vega.ERC20AssetLimitsUpdated 1832 (*ERC20Deposit)(nil), // 8: vega.ERC20Deposit 1833 (*ERC20Withdrawal)(nil), // 9: vega.ERC20Withdrawal 1834 (*ERC20Event)(nil), // 10: vega.ERC20Event 1835 (*ERC20SignerAdded)(nil), // 11: vega.ERC20SignerAdded 1836 (*ERC20SignerRemoved)(nil), // 12: vega.ERC20SignerRemoved 1837 (*ERC20ThresholdSet)(nil), // 13: vega.ERC20ThresholdSet 1838 (*ERC20MultiSigEvent)(nil), // 14: vega.ERC20MultiSigEvent 1839 (*StakingEvent)(nil), // 15: vega.StakingEvent 1840 (*StakeDeposited)(nil), // 16: vega.StakeDeposited 1841 (*StakeRemoved)(nil), // 17: vega.StakeRemoved 1842 (*StakeTotalSupply)(nil), // 18: vega.StakeTotalSupply 1843 } 1844 var file_vega_chain_events_proto_depIdxs = []int32{ 1845 2, // 0: vega.BuiltinAssetEvent.deposit:type_name -> vega.BuiltinAssetDeposit 1846 3, // 1: vega.BuiltinAssetEvent.withdrawal:type_name -> vega.BuiltinAssetWithdrawal 1847 5, // 2: vega.ERC20Event.asset_list:type_name -> vega.ERC20AssetList 1848 6, // 3: vega.ERC20Event.asset_delist:type_name -> vega.ERC20AssetDelist 1849 8, // 4: vega.ERC20Event.deposit:type_name -> vega.ERC20Deposit 1850 9, // 5: vega.ERC20Event.withdrawal:type_name -> vega.ERC20Withdrawal 1851 7, // 6: vega.ERC20Event.asset_limits_updated:type_name -> vega.ERC20AssetLimitsUpdated 1852 11, // 7: vega.ERC20MultiSigEvent.signer_added:type_name -> vega.ERC20SignerAdded 1853 12, // 8: vega.ERC20MultiSigEvent.signer_removed:type_name -> vega.ERC20SignerRemoved 1854 13, // 9: vega.ERC20MultiSigEvent.threshold_set:type_name -> vega.ERC20ThresholdSet 1855 16, // 10: vega.StakingEvent.stake_deposited:type_name -> vega.StakeDeposited 1856 17, // 11: vega.StakingEvent.stake_removed:type_name -> vega.StakeRemoved 1857 18, // 12: vega.StakingEvent.total_supply:type_name -> vega.StakeTotalSupply 1858 13, // [13:13] is the sub-list for method output_type 1859 13, // [13:13] is the sub-list for method input_type 1860 13, // [13:13] is the sub-list for extension type_name 1861 13, // [13:13] is the sub-list for extension extendee 1862 0, // [0:13] is the sub-list for field type_name 1863 } 1864 1865 func init() { file_vega_chain_events_proto_init() } 1866 func file_vega_chain_events_proto_init() { 1867 if File_vega_chain_events_proto != nil { 1868 return 1869 } 1870 if !protoimpl.UnsafeEnabled { 1871 file_vega_chain_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1872 switch v := v.(*ERC20Heartbeat); i { 1873 case 0: 1874 return &v.state 1875 case 1: 1876 return &v.sizeCache 1877 case 2: 1878 return &v.unknownFields 1879 default: 1880 return nil 1881 } 1882 } 1883 file_vega_chain_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1884 switch v := v.(*EthContractCallEvent); i { 1885 case 0: 1886 return &v.state 1887 case 1: 1888 return &v.sizeCache 1889 case 2: 1890 return &v.unknownFields 1891 default: 1892 return nil 1893 } 1894 } 1895 file_vega_chain_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1896 switch v := v.(*BuiltinAssetDeposit); i { 1897 case 0: 1898 return &v.state 1899 case 1: 1900 return &v.sizeCache 1901 case 2: 1902 return &v.unknownFields 1903 default: 1904 return nil 1905 } 1906 } 1907 file_vega_chain_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1908 switch v := v.(*BuiltinAssetWithdrawal); i { 1909 case 0: 1910 return &v.state 1911 case 1: 1912 return &v.sizeCache 1913 case 2: 1914 return &v.unknownFields 1915 default: 1916 return nil 1917 } 1918 } 1919 file_vega_chain_events_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1920 switch v := v.(*BuiltinAssetEvent); i { 1921 case 0: 1922 return &v.state 1923 case 1: 1924 return &v.sizeCache 1925 case 2: 1926 return &v.unknownFields 1927 default: 1928 return nil 1929 } 1930 } 1931 file_vega_chain_events_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1932 switch v := v.(*ERC20AssetList); i { 1933 case 0: 1934 return &v.state 1935 case 1: 1936 return &v.sizeCache 1937 case 2: 1938 return &v.unknownFields 1939 default: 1940 return nil 1941 } 1942 } 1943 file_vega_chain_events_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1944 switch v := v.(*ERC20AssetDelist); i { 1945 case 0: 1946 return &v.state 1947 case 1: 1948 return &v.sizeCache 1949 case 2: 1950 return &v.unknownFields 1951 default: 1952 return nil 1953 } 1954 } 1955 file_vega_chain_events_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1956 switch v := v.(*ERC20AssetLimitsUpdated); i { 1957 case 0: 1958 return &v.state 1959 case 1: 1960 return &v.sizeCache 1961 case 2: 1962 return &v.unknownFields 1963 default: 1964 return nil 1965 } 1966 } 1967 file_vega_chain_events_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1968 switch v := v.(*ERC20Deposit); i { 1969 case 0: 1970 return &v.state 1971 case 1: 1972 return &v.sizeCache 1973 case 2: 1974 return &v.unknownFields 1975 default: 1976 return nil 1977 } 1978 } 1979 file_vega_chain_events_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1980 switch v := v.(*ERC20Withdrawal); i { 1981 case 0: 1982 return &v.state 1983 case 1: 1984 return &v.sizeCache 1985 case 2: 1986 return &v.unknownFields 1987 default: 1988 return nil 1989 } 1990 } 1991 file_vega_chain_events_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1992 switch v := v.(*ERC20Event); i { 1993 case 0: 1994 return &v.state 1995 case 1: 1996 return &v.sizeCache 1997 case 2: 1998 return &v.unknownFields 1999 default: 2000 return nil 2001 } 2002 } 2003 file_vega_chain_events_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2004 switch v := v.(*ERC20SignerAdded); i { 2005 case 0: 2006 return &v.state 2007 case 1: 2008 return &v.sizeCache 2009 case 2: 2010 return &v.unknownFields 2011 default: 2012 return nil 2013 } 2014 } 2015 file_vega_chain_events_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2016 switch v := v.(*ERC20SignerRemoved); i { 2017 case 0: 2018 return &v.state 2019 case 1: 2020 return &v.sizeCache 2021 case 2: 2022 return &v.unknownFields 2023 default: 2024 return nil 2025 } 2026 } 2027 file_vega_chain_events_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2028 switch v := v.(*ERC20ThresholdSet); i { 2029 case 0: 2030 return &v.state 2031 case 1: 2032 return &v.sizeCache 2033 case 2: 2034 return &v.unknownFields 2035 default: 2036 return nil 2037 } 2038 } 2039 file_vega_chain_events_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2040 switch v := v.(*ERC20MultiSigEvent); i { 2041 case 0: 2042 return &v.state 2043 case 1: 2044 return &v.sizeCache 2045 case 2: 2046 return &v.unknownFields 2047 default: 2048 return nil 2049 } 2050 } 2051 file_vega_chain_events_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2052 switch v := v.(*StakingEvent); i { 2053 case 0: 2054 return &v.state 2055 case 1: 2056 return &v.sizeCache 2057 case 2: 2058 return &v.unknownFields 2059 default: 2060 return nil 2061 } 2062 } 2063 file_vega_chain_events_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2064 switch v := v.(*StakeDeposited); i { 2065 case 0: 2066 return &v.state 2067 case 1: 2068 return &v.sizeCache 2069 case 2: 2070 return &v.unknownFields 2071 default: 2072 return nil 2073 } 2074 } 2075 file_vega_chain_events_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 2076 switch v := v.(*StakeRemoved); i { 2077 case 0: 2078 return &v.state 2079 case 1: 2080 return &v.sizeCache 2081 case 2: 2082 return &v.unknownFields 2083 default: 2084 return nil 2085 } 2086 } 2087 file_vega_chain_events_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 2088 switch v := v.(*StakeTotalSupply); i { 2089 case 0: 2090 return &v.state 2091 case 1: 2092 return &v.sizeCache 2093 case 2: 2094 return &v.unknownFields 2095 default: 2096 return nil 2097 } 2098 } 2099 } 2100 file_vega_chain_events_proto_msgTypes[1].OneofWrappers = []interface{}{} 2101 file_vega_chain_events_proto_msgTypes[4].OneofWrappers = []interface{}{ 2102 (*BuiltinAssetEvent_Deposit)(nil), 2103 (*BuiltinAssetEvent_Withdrawal)(nil), 2104 } 2105 file_vega_chain_events_proto_msgTypes[10].OneofWrappers = []interface{}{ 2106 (*ERC20Event_AssetList)(nil), 2107 (*ERC20Event_AssetDelist)(nil), 2108 (*ERC20Event_Deposit)(nil), 2109 (*ERC20Event_Withdrawal)(nil), 2110 (*ERC20Event_AssetLimitsUpdated)(nil), 2111 (*ERC20Event_BridgeStopped)(nil), 2112 (*ERC20Event_BridgeResumed)(nil), 2113 } 2114 file_vega_chain_events_proto_msgTypes[14].OneofWrappers = []interface{}{ 2115 (*ERC20MultiSigEvent_SignerAdded)(nil), 2116 (*ERC20MultiSigEvent_SignerRemoved)(nil), 2117 (*ERC20MultiSigEvent_ThresholdSet)(nil), 2118 } 2119 file_vega_chain_events_proto_msgTypes[15].OneofWrappers = []interface{}{ 2120 (*StakingEvent_StakeDeposited)(nil), 2121 (*StakingEvent_StakeRemoved)(nil), 2122 (*StakingEvent_TotalSupply)(nil), 2123 } 2124 type x struct{} 2125 out := protoimpl.TypeBuilder{ 2126 File: protoimpl.DescBuilder{ 2127 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2128 RawDescriptor: file_vega_chain_events_proto_rawDesc, 2129 NumEnums: 0, 2130 NumMessages: 19, 2131 NumExtensions: 0, 2132 NumServices: 0, 2133 }, 2134 GoTypes: file_vega_chain_events_proto_goTypes, 2135 DependencyIndexes: file_vega_chain_events_proto_depIdxs, 2136 MessageInfos: file_vega_chain_events_proto_msgTypes, 2137 }.Build() 2138 File_vega_chain_events_proto = out.File 2139 file_vega_chain_events_proto_rawDesc = nil 2140 file_vega_chain_events_proto_goTypes = nil 2141 file_vega_chain_events_proto_depIdxs = nil 2142 }