code.vegaprotocol.io/vega@v0.79.0/protos/vega/commands/v1/commands.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/commands/v1/commands.proto 6 7 package v1 8 9 import ( 10 vega "code.vegaprotocol.io/vega/protos/vega" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type UpdateMarginMode_Mode int32 25 26 const ( 27 // Never valid. 28 UpdateMarginMode_MODE_UNSPECIFIED UpdateMarginMode_Mode = 0 29 // Cross margin mode - margin is dynamically acquired and released as a position is marked to market 30 UpdateMarginMode_MODE_CROSS_MARGIN UpdateMarginMode_Mode = 1 31 // Isolated margin mode - margin for any newly opened position volume is transferred to the margin account when the trade is executed 32 UpdateMarginMode_MODE_ISOLATED_MARGIN UpdateMarginMode_Mode = 2 33 ) 34 35 // Enum value maps for UpdateMarginMode_Mode. 36 var ( 37 UpdateMarginMode_Mode_name = map[int32]string{ 38 0: "MODE_UNSPECIFIED", 39 1: "MODE_CROSS_MARGIN", 40 2: "MODE_ISOLATED_MARGIN", 41 } 42 UpdateMarginMode_Mode_value = map[string]int32{ 43 "MODE_UNSPECIFIED": 0, 44 "MODE_CROSS_MARGIN": 1, 45 "MODE_ISOLATED_MARGIN": 2, 46 } 47 ) 48 49 func (x UpdateMarginMode_Mode) Enum() *UpdateMarginMode_Mode { 50 p := new(UpdateMarginMode_Mode) 51 *p = x 52 return p 53 } 54 55 func (x UpdateMarginMode_Mode) String() string { 56 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 57 } 58 59 func (UpdateMarginMode_Mode) Descriptor() protoreflect.EnumDescriptor { 60 return file_vega_commands_v1_commands_proto_enumTypes[0].Descriptor() 61 } 62 63 func (UpdateMarginMode_Mode) Type() protoreflect.EnumType { 64 return &file_vega_commands_v1_commands_proto_enumTypes[0] 65 } 66 67 func (x UpdateMarginMode_Mode) Number() protoreflect.EnumNumber { 68 return protoreflect.EnumNumber(x) 69 } 70 71 // Deprecated: Use UpdateMarginMode_Mode.Descriptor instead. 72 func (UpdateMarginMode_Mode) EnumDescriptor() ([]byte, []int) { 73 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{6, 0} 74 } 75 76 type UndelegateSubmission_Method int32 77 78 const ( 79 UndelegateSubmission_METHOD_UNSPECIFIED UndelegateSubmission_Method = 0 80 // Undelegate straight away, losing all rewards for the current epoch. 81 UndelegateSubmission_METHOD_NOW UndelegateSubmission_Method = 1 82 // Undelegate at the end of an epoch, retaining all rewards for the current epoch. 83 UndelegateSubmission_METHOD_AT_END_OF_EPOCH UndelegateSubmission_Method = 2 84 ) 85 86 // Enum value maps for UndelegateSubmission_Method. 87 var ( 88 UndelegateSubmission_Method_name = map[int32]string{ 89 0: "METHOD_UNSPECIFIED", 90 1: "METHOD_NOW", 91 2: "METHOD_AT_END_OF_EPOCH", 92 } 93 UndelegateSubmission_Method_value = map[string]int32{ 94 "METHOD_UNSPECIFIED": 0, 95 "METHOD_NOW": 1, 96 "METHOD_AT_END_OF_EPOCH": 2, 97 } 98 ) 99 100 func (x UndelegateSubmission_Method) Enum() *UndelegateSubmission_Method { 101 p := new(UndelegateSubmission_Method) 102 *p = x 103 return p 104 } 105 106 func (x UndelegateSubmission_Method) String() string { 107 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 108 } 109 110 func (UndelegateSubmission_Method) Descriptor() protoreflect.EnumDescriptor { 111 return file_vega_commands_v1_commands_proto_enumTypes[1].Descriptor() 112 } 113 114 func (UndelegateSubmission_Method) Type() protoreflect.EnumType { 115 return &file_vega_commands_v1_commands_proto_enumTypes[1] 116 } 117 118 func (x UndelegateSubmission_Method) Number() protoreflect.EnumNumber { 119 return protoreflect.EnumNumber(x) 120 } 121 122 // Deprecated: Use UndelegateSubmission_Method.Descriptor instead. 123 func (UndelegateSubmission_Method) EnumDescriptor() ([]byte, []int) { 124 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{18, 0} 125 } 126 127 type CancelAMM_Method int32 128 129 const ( 130 CancelAMM_METHOD_UNSPECIFIED CancelAMM_Method = 0 131 // Cancellation will be immediate and any open positions will be transferred to the network for liquidation. 132 CancelAMM_METHOD_IMMEDIATE CancelAMM_Method = 1 133 // AMM will only trade to reduce its position, and will be cancelled once its position reaches zero. 134 CancelAMM_METHOD_REDUCE_ONLY CancelAMM_Method = 2 135 ) 136 137 // Enum value maps for CancelAMM_Method. 138 var ( 139 CancelAMM_Method_name = map[int32]string{ 140 0: "METHOD_UNSPECIFIED", 141 1: "METHOD_IMMEDIATE", 142 2: "METHOD_REDUCE_ONLY", 143 } 144 CancelAMM_Method_value = map[string]int32{ 145 "METHOD_UNSPECIFIED": 0, 146 "METHOD_IMMEDIATE": 1, 147 "METHOD_REDUCE_ONLY": 2, 148 } 149 ) 150 151 func (x CancelAMM_Method) Enum() *CancelAMM_Method { 152 p := new(CancelAMM_Method) 153 *p = x 154 return p 155 } 156 157 func (x CancelAMM_Method) String() string { 158 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 159 } 160 161 func (CancelAMM_Method) Descriptor() protoreflect.EnumDescriptor { 162 return file_vega_commands_v1_commands_proto_enumTypes[2].Descriptor() 163 } 164 165 func (CancelAMM_Method) Type() protoreflect.EnumType { 166 return &file_vega_commands_v1_commands_proto_enumTypes[2] 167 } 168 169 func (x CancelAMM_Method) Number() protoreflect.EnumNumber { 170 return protoreflect.EnumNumber(x) 171 } 172 173 // Deprecated: Use CancelAMM_Method.Descriptor instead. 174 func (CancelAMM_Method) EnumDescriptor() ([]byte, []int) { 175 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{31, 0} 176 } 177 178 // A command that allows the submission of a batch market instruction which wraps up multiple market instructions into a single transaction. 179 // These instructions are then processed sequentially in the following order: 180 // - OrderCancellation 181 // - OrderAmendment 182 // - OrderSubmission 183 // - StopOrderSubmission 184 // where the maximum allow of instructions in a batch is controlled by the network parameter "spam.protection.max.batchSize". 185 type BatchMarketInstructions struct { 186 state protoimpl.MessageState 187 sizeCache protoimpl.SizeCache 188 unknownFields protoimpl.UnknownFields 189 190 // List of order cancellations to be processed sequentially. 191 Cancellations []*OrderCancellation `protobuf:"bytes,1,rep,name=cancellations,proto3" json:"cancellations,omitempty"` 192 // List of order amendments to be processed sequentially. 193 Amendments []*OrderAmendment `protobuf:"bytes,2,rep,name=amendments,proto3" json:"amendments,omitempty"` 194 // List of order submissions to be processed sequentially. 195 Submissions []*OrderSubmission `protobuf:"bytes,3,rep,name=submissions,proto3" json:"submissions,omitempty"` 196 // List of stop order cancellations to be processed sequentially. 197 StopOrdersCancellation []*StopOrdersCancellation `protobuf:"bytes,4,rep,name=stop_orders_cancellation,json=stopOrdersCancellation,proto3" json:"stop_orders_cancellation,omitempty"` 198 // List of stop order submissions to be processed sequentially. 199 StopOrdersSubmission []*StopOrdersSubmission `protobuf:"bytes,5,rep,name=stop_orders_submission,json=stopOrdersSubmission,proto3" json:"stop_orders_submission,omitempty"` 200 // Update margin mode instruction 201 UpdateMarginMode []*UpdateMarginMode `protobuf:"bytes,6,rep,name=update_margin_mode,json=updateMarginMode,proto3" json:"update_margin_mode,omitempty"` 202 } 203 204 func (x *BatchMarketInstructions) Reset() { 205 *x = BatchMarketInstructions{} 206 if protoimpl.UnsafeEnabled { 207 mi := &file_vega_commands_v1_commands_proto_msgTypes[0] 208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 209 ms.StoreMessageInfo(mi) 210 } 211 } 212 213 func (x *BatchMarketInstructions) String() string { 214 return protoimpl.X.MessageStringOf(x) 215 } 216 217 func (*BatchMarketInstructions) ProtoMessage() {} 218 219 func (x *BatchMarketInstructions) ProtoReflect() protoreflect.Message { 220 mi := &file_vega_commands_v1_commands_proto_msgTypes[0] 221 if protoimpl.UnsafeEnabled && x != nil { 222 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 223 if ms.LoadMessageInfo() == nil { 224 ms.StoreMessageInfo(mi) 225 } 226 return ms 227 } 228 return mi.MessageOf(x) 229 } 230 231 // Deprecated: Use BatchMarketInstructions.ProtoReflect.Descriptor instead. 232 func (*BatchMarketInstructions) Descriptor() ([]byte, []int) { 233 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{0} 234 } 235 236 func (x *BatchMarketInstructions) GetCancellations() []*OrderCancellation { 237 if x != nil { 238 return x.Cancellations 239 } 240 return nil 241 } 242 243 func (x *BatchMarketInstructions) GetAmendments() []*OrderAmendment { 244 if x != nil { 245 return x.Amendments 246 } 247 return nil 248 } 249 250 func (x *BatchMarketInstructions) GetSubmissions() []*OrderSubmission { 251 if x != nil { 252 return x.Submissions 253 } 254 return nil 255 } 256 257 func (x *BatchMarketInstructions) GetStopOrdersCancellation() []*StopOrdersCancellation { 258 if x != nil { 259 return x.StopOrdersCancellation 260 } 261 return nil 262 } 263 264 func (x *BatchMarketInstructions) GetStopOrdersSubmission() []*StopOrdersSubmission { 265 if x != nil { 266 return x.StopOrdersSubmission 267 } 268 return nil 269 } 270 271 func (x *BatchMarketInstructions) GetUpdateMarginMode() []*UpdateMarginMode { 272 if x != nil { 273 return x.UpdateMarginMode 274 } 275 return nil 276 } 277 278 // A command that allows a party to submit a stop order for a given market. 279 // A stop order is a normal order that remains off the order book and is only submitted if a given trigger is breached from a particular direction. 280 // If both rises-above and falls-below are configured, then if one is triggered the other will be cancelled (OCO). 281 type StopOrdersSubmission struct { 282 state protoimpl.MessageState 283 sizeCache protoimpl.SizeCache 284 unknownFields protoimpl.UnknownFields 285 286 // Stop order that will be triggered if the price rises above a given trigger price. 287 RisesAbove *StopOrderSetup `protobuf:"bytes,1,opt,name=rises_above,json=risesAbove,proto3,oneof" json:"rises_above,omitempty"` 288 // Stop order that will be triggered if the price falls below a given trigger price. 289 FallsBelow *StopOrderSetup `protobuf:"bytes,2,opt,name=falls_below,json=fallsBelow,proto3,oneof" json:"falls_below,omitempty"` 290 } 291 292 func (x *StopOrdersSubmission) Reset() { 293 *x = StopOrdersSubmission{} 294 if protoimpl.UnsafeEnabled { 295 mi := &file_vega_commands_v1_commands_proto_msgTypes[1] 296 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 297 ms.StoreMessageInfo(mi) 298 } 299 } 300 301 func (x *StopOrdersSubmission) String() string { 302 return protoimpl.X.MessageStringOf(x) 303 } 304 305 func (*StopOrdersSubmission) ProtoMessage() {} 306 307 func (x *StopOrdersSubmission) ProtoReflect() protoreflect.Message { 308 mi := &file_vega_commands_v1_commands_proto_msgTypes[1] 309 if protoimpl.UnsafeEnabled && x != nil { 310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 311 if ms.LoadMessageInfo() == nil { 312 ms.StoreMessageInfo(mi) 313 } 314 return ms 315 } 316 return mi.MessageOf(x) 317 } 318 319 // Deprecated: Use StopOrdersSubmission.ProtoReflect.Descriptor instead. 320 func (*StopOrdersSubmission) Descriptor() ([]byte, []int) { 321 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{1} 322 } 323 324 func (x *StopOrdersSubmission) GetRisesAbove() *StopOrderSetup { 325 if x != nil { 326 return x.RisesAbove 327 } 328 return nil 329 } 330 331 func (x *StopOrdersSubmission) GetFallsBelow() *StopOrderSetup { 332 if x != nil { 333 return x.FallsBelow 334 } 335 return nil 336 } 337 338 // Price and expiry configuration for a stop order. 339 type StopOrderSetup struct { 340 state protoimpl.MessageState 341 sizeCache protoimpl.SizeCache 342 unknownFields protoimpl.UnknownFields 343 344 // Order to be submitted once the trigger is breached. 345 OrderSubmission *OrderSubmission `protobuf:"bytes,1,opt,name=order_submission,json=orderSubmission,proto3" json:"order_submission,omitempty"` 346 // Timestamp, in Unix nanoseconds, for when the stop order should expire. If not set the stop order will not expire. 347 ExpiresAt *int64 `protobuf:"varint,2,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` 348 // Strategy to adopt if the expiry time is reached. 349 ExpiryStrategy *vega.StopOrder_ExpiryStrategy `protobuf:"varint,3,opt,name=expiry_strategy,json=expiryStrategy,proto3,enum=vega.StopOrder_ExpiryStrategy,oneof" json:"expiry_strategy,omitempty"` 350 // Indicates if this order is linked to an order or position to derive the order size 351 SizeOverrideSetting *vega.StopOrder_SizeOverrideSetting `protobuf:"varint,4,opt,name=size_override_setting,json=sizeOverrideSetting,proto3,enum=vega.StopOrder_SizeOverrideSetting,oneof" json:"size_override_setting,omitempty"` 352 // If this order is linked to a position, provide an optional scaling factor 353 SizeOverrideValue *vega.StopOrder_SizeOverrideValue `protobuf:"bytes,5,opt,name=size_override_value,json=sizeOverrideValue,proto3,oneof" json:"size_override_value,omitempty"` 354 // Trigger that will need to be breached for the order to be submitted to the book. 355 // 356 // Types that are assignable to Trigger: 357 // 358 // *StopOrderSetup_Price 359 // *StopOrderSetup_TrailingPercentOffset 360 Trigger isStopOrderSetup_Trigger `protobuf_oneof:"trigger"` 361 } 362 363 func (x *StopOrderSetup) Reset() { 364 *x = StopOrderSetup{} 365 if protoimpl.UnsafeEnabled { 366 mi := &file_vega_commands_v1_commands_proto_msgTypes[2] 367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 368 ms.StoreMessageInfo(mi) 369 } 370 } 371 372 func (x *StopOrderSetup) String() string { 373 return protoimpl.X.MessageStringOf(x) 374 } 375 376 func (*StopOrderSetup) ProtoMessage() {} 377 378 func (x *StopOrderSetup) ProtoReflect() protoreflect.Message { 379 mi := &file_vega_commands_v1_commands_proto_msgTypes[2] 380 if protoimpl.UnsafeEnabled && x != nil { 381 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 382 if ms.LoadMessageInfo() == nil { 383 ms.StoreMessageInfo(mi) 384 } 385 return ms 386 } 387 return mi.MessageOf(x) 388 } 389 390 // Deprecated: Use StopOrderSetup.ProtoReflect.Descriptor instead. 391 func (*StopOrderSetup) Descriptor() ([]byte, []int) { 392 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{2} 393 } 394 395 func (x *StopOrderSetup) GetOrderSubmission() *OrderSubmission { 396 if x != nil { 397 return x.OrderSubmission 398 } 399 return nil 400 } 401 402 func (x *StopOrderSetup) GetExpiresAt() int64 { 403 if x != nil && x.ExpiresAt != nil { 404 return *x.ExpiresAt 405 } 406 return 0 407 } 408 409 func (x *StopOrderSetup) GetExpiryStrategy() vega.StopOrder_ExpiryStrategy { 410 if x != nil && x.ExpiryStrategy != nil { 411 return *x.ExpiryStrategy 412 } 413 return vega.StopOrder_ExpiryStrategy(0) 414 } 415 416 func (x *StopOrderSetup) GetSizeOverrideSetting() vega.StopOrder_SizeOverrideSetting { 417 if x != nil && x.SizeOverrideSetting != nil { 418 return *x.SizeOverrideSetting 419 } 420 return vega.StopOrder_SizeOverrideSetting(0) 421 } 422 423 func (x *StopOrderSetup) GetSizeOverrideValue() *vega.StopOrder_SizeOverrideValue { 424 if x != nil { 425 return x.SizeOverrideValue 426 } 427 return nil 428 } 429 430 func (m *StopOrderSetup) GetTrigger() isStopOrderSetup_Trigger { 431 if m != nil { 432 return m.Trigger 433 } 434 return nil 435 } 436 437 func (x *StopOrderSetup) GetPrice() string { 438 if x, ok := x.GetTrigger().(*StopOrderSetup_Price); ok { 439 return x.Price 440 } 441 return "" 442 } 443 444 func (x *StopOrderSetup) GetTrailingPercentOffset() string { 445 if x, ok := x.GetTrigger().(*StopOrderSetup_TrailingPercentOffset); ok { 446 return x.TrailingPercentOffset 447 } 448 return "" 449 } 450 451 type isStopOrderSetup_Trigger interface { 452 isStopOrderSetup_Trigger() 453 } 454 455 type StopOrderSetup_Price struct { 456 // Order will be submitted if the last traded price on the market breaches the given price. 457 Price string `protobuf:"bytes,100,opt,name=price,proto3,oneof"` 458 } 459 460 type StopOrderSetup_TrailingPercentOffset struct { 461 // Order will be submitted if the last traded price has moved the given percent from the highest/lowest mark price since the stop order was submitted. 462 TrailingPercentOffset string `protobuf:"bytes,101,opt,name=trailing_percent_offset,json=trailingPercentOffset,proto3,oneof"` 463 } 464 465 func (*StopOrderSetup_Price) isStopOrderSetup_Trigger() {} 466 467 func (*StopOrderSetup_TrailingPercentOffset) isStopOrderSetup_Trigger() {} 468 469 // A command that instructs the network to cancel untriggered stop orders that were submitted by the sender of this transaction. 470 // If any cancelled stop order is part of an OCO, both stop orders will be cancelled. 471 // It is not possible to cancel another party's stop orders with this command. 472 type StopOrdersCancellation struct { 473 state protoimpl.MessageState 474 sizeCache protoimpl.SizeCache 475 unknownFields protoimpl.UnknownFields 476 477 // Restrict cancellations to those submitted to the given market. If not set, all stop orders across all markets will be cancelled. 478 MarketId *string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3,oneof" json:"market_id,omitempty"` 479 // Restrict cancellations to a stop order with the given ID. If set, then a market ID must also be provided. 480 StopOrderId *string `protobuf:"bytes,2,opt,name=stop_order_id,json=stopOrderId,proto3,oneof" json:"stop_order_id,omitempty"` 481 } 482 483 func (x *StopOrdersCancellation) Reset() { 484 *x = StopOrdersCancellation{} 485 if protoimpl.UnsafeEnabled { 486 mi := &file_vega_commands_v1_commands_proto_msgTypes[3] 487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 488 ms.StoreMessageInfo(mi) 489 } 490 } 491 492 func (x *StopOrdersCancellation) String() string { 493 return protoimpl.X.MessageStringOf(x) 494 } 495 496 func (*StopOrdersCancellation) ProtoMessage() {} 497 498 func (x *StopOrdersCancellation) ProtoReflect() protoreflect.Message { 499 mi := &file_vega_commands_v1_commands_proto_msgTypes[3] 500 if protoimpl.UnsafeEnabled && x != nil { 501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 502 if ms.LoadMessageInfo() == nil { 503 ms.StoreMessageInfo(mi) 504 } 505 return ms 506 } 507 return mi.MessageOf(x) 508 } 509 510 // Deprecated: Use StopOrdersCancellation.ProtoReflect.Descriptor instead. 511 func (*StopOrdersCancellation) Descriptor() ([]byte, []int) { 512 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{3} 513 } 514 515 func (x *StopOrdersCancellation) GetMarketId() string { 516 if x != nil && x.MarketId != nil { 517 return *x.MarketId 518 } 519 return "" 520 } 521 522 func (x *StopOrdersCancellation) GetStopOrderId() string { 523 if x != nil && x.StopOrderId != nil { 524 return *x.StopOrderId 525 } 526 return "" 527 } 528 529 // A command that submits an order to the Vega network for a given market. 530 type OrderSubmission struct { 531 state protoimpl.MessageState 532 sizeCache protoimpl.SizeCache 533 unknownFields protoimpl.UnknownFields 534 535 // Market ID to submit the order to. 536 MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 537 // Price for the order, the price is an integer, for example `123456` is a correctly 538 // formatted price of `1.23456` assuming market configured to 5 decimal places, 539 // required field for limit orders, however it is not required for market orders. 540 // This field is an unsigned integer scaled to the market's decimal places. 541 Price string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` 542 // Size for the order, for example, in a futures market the size equals the number of units. 543 Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` 544 // Which side of the order book the order is for, e.g. buy or sell. 545 Side vega.Side `protobuf:"varint,4,opt,name=side,proto3,enum=vega.Side" json:"side,omitempty"` 546 // Time in force indicates how long an order will remain active before it is executed or expires.. 547 TimeInForce vega.Order_TimeInForce `protobuf:"varint,5,opt,name=time_in_force,json=timeInForce,proto3,enum=vega.Order_TimeInForce" json:"time_in_force,omitempty"` 548 // Timestamp, in Unix nanoseconds, for when the order will expire. Can only be set when the order's time-in-force is GTT. 549 ExpiresAt int64 `protobuf:"varint,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` 550 // Type of the order. 551 Type vega.Order_Type `protobuf:"varint,7,opt,name=type,proto3,enum=vega.Order_Type" json:"type,omitempty"` 552 // Arbitrary optional reference for the order, to be used as a human-readable non-unique identifier for the order. 553 Reference string `protobuf:"bytes,8,opt,name=reference,proto3" json:"reference,omitempty"` 554 // Pegged order details. If set, the order's price will be offset from a particular reference price of the order book at all times. 555 PeggedOrder *vega.PeggedOrder `protobuf:"bytes,9,opt,name=pegged_order,json=peggedOrder,proto3" json:"pegged_order,omitempty"` 556 // If set, the order will only be executed if it would not trade on entry to the order book. Only valid for limit orders. 557 PostOnly bool `protobuf:"varint,10,opt,name=post_only,json=postOnly,proto3" json:"post_only,omitempty"` 558 // If set, the order will only be executed if the outcome of the trade moves the trader's position closer to 0. 559 // Only valid for non-persistent orders. 560 ReduceOnly bool `protobuf:"varint,11,opt,name=reduce_only,json=reduceOnly,proto3" json:"reduce_only,omitempty"` 561 // Iceberg order details. If set, the order will exist on the order book in chunks. 562 IcebergOpts *IcebergOpts `protobuf:"bytes,12,opt,name=iceberg_opts,json=icebergOpts,proto3,oneof" json:"iceberg_opts,omitempty"` 563 } 564 565 func (x *OrderSubmission) Reset() { 566 *x = OrderSubmission{} 567 if protoimpl.UnsafeEnabled { 568 mi := &file_vega_commands_v1_commands_proto_msgTypes[4] 569 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 570 ms.StoreMessageInfo(mi) 571 } 572 } 573 574 func (x *OrderSubmission) String() string { 575 return protoimpl.X.MessageStringOf(x) 576 } 577 578 func (*OrderSubmission) ProtoMessage() {} 579 580 func (x *OrderSubmission) ProtoReflect() protoreflect.Message { 581 mi := &file_vega_commands_v1_commands_proto_msgTypes[4] 582 if protoimpl.UnsafeEnabled && x != nil { 583 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 584 if ms.LoadMessageInfo() == nil { 585 ms.StoreMessageInfo(mi) 586 } 587 return ms 588 } 589 return mi.MessageOf(x) 590 } 591 592 // Deprecated: Use OrderSubmission.ProtoReflect.Descriptor instead. 593 func (*OrderSubmission) Descriptor() ([]byte, []int) { 594 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{4} 595 } 596 597 func (x *OrderSubmission) GetMarketId() string { 598 if x != nil { 599 return x.MarketId 600 } 601 return "" 602 } 603 604 func (x *OrderSubmission) GetPrice() string { 605 if x != nil { 606 return x.Price 607 } 608 return "" 609 } 610 611 func (x *OrderSubmission) GetSize() uint64 { 612 if x != nil { 613 return x.Size 614 } 615 return 0 616 } 617 618 func (x *OrderSubmission) GetSide() vega.Side { 619 if x != nil { 620 return x.Side 621 } 622 return vega.Side(0) 623 } 624 625 func (x *OrderSubmission) GetTimeInForce() vega.Order_TimeInForce { 626 if x != nil { 627 return x.TimeInForce 628 } 629 return vega.Order_TimeInForce(0) 630 } 631 632 func (x *OrderSubmission) GetExpiresAt() int64 { 633 if x != nil { 634 return x.ExpiresAt 635 } 636 return 0 637 } 638 639 func (x *OrderSubmission) GetType() vega.Order_Type { 640 if x != nil { 641 return x.Type 642 } 643 return vega.Order_Type(0) 644 } 645 646 func (x *OrderSubmission) GetReference() string { 647 if x != nil { 648 return x.Reference 649 } 650 return "" 651 } 652 653 func (x *OrderSubmission) GetPeggedOrder() *vega.PeggedOrder { 654 if x != nil { 655 return x.PeggedOrder 656 } 657 return nil 658 } 659 660 func (x *OrderSubmission) GetPostOnly() bool { 661 if x != nil { 662 return x.PostOnly 663 } 664 return false 665 } 666 667 func (x *OrderSubmission) GetReduceOnly() bool { 668 if x != nil { 669 return x.ReduceOnly 670 } 671 return false 672 } 673 674 func (x *OrderSubmission) GetIcebergOpts() *IcebergOpts { 675 if x != nil { 676 return x.IcebergOpts 677 } 678 return nil 679 } 680 681 // Iceberg order options 682 type IcebergOpts struct { 683 state protoimpl.MessageState 684 sizeCache protoimpl.SizeCache 685 unknownFields protoimpl.UnknownFields 686 687 // Size of the order that is made visible and can be traded with during the execution of a single order. 688 PeakSize uint64 `protobuf:"varint,1,opt,name=peak_size,json=peakSize,proto3" json:"peak_size,omitempty"` 689 // Minimum allowed remaining size of the order before it is replenished back to its peak size. 690 MinimumVisibleSize uint64 `protobuf:"varint,2,opt,name=minimum_visible_size,json=minimumVisibleSize,proto3" json:"minimum_visible_size,omitempty"` 691 } 692 693 func (x *IcebergOpts) Reset() { 694 *x = IcebergOpts{} 695 if protoimpl.UnsafeEnabled { 696 mi := &file_vega_commands_v1_commands_proto_msgTypes[5] 697 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 698 ms.StoreMessageInfo(mi) 699 } 700 } 701 702 func (x *IcebergOpts) String() string { 703 return protoimpl.X.MessageStringOf(x) 704 } 705 706 func (*IcebergOpts) ProtoMessage() {} 707 708 func (x *IcebergOpts) ProtoReflect() protoreflect.Message { 709 mi := &file_vega_commands_v1_commands_proto_msgTypes[5] 710 if protoimpl.UnsafeEnabled && x != nil { 711 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 712 if ms.LoadMessageInfo() == nil { 713 ms.StoreMessageInfo(mi) 714 } 715 return ms 716 } 717 return mi.MessageOf(x) 718 } 719 720 // Deprecated: Use IcebergOpts.ProtoReflect.Descriptor instead. 721 func (*IcebergOpts) Descriptor() ([]byte, []int) { 722 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{5} 723 } 724 725 func (x *IcebergOpts) GetPeakSize() uint64 { 726 if x != nil { 727 return x.PeakSize 728 } 729 return 0 730 } 731 732 func (x *IcebergOpts) GetMinimumVisibleSize() uint64 { 733 if x != nil { 734 return x.MinimumVisibleSize 735 } 736 return 0 737 } 738 739 type UpdateMarginMode struct { 740 state protoimpl.MessageState 741 sizeCache protoimpl.SizeCache 742 unknownFields protoimpl.UnknownFields 743 744 // Market to change margin mode for. 745 MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 746 // Margin mode to use. 747 Mode UpdateMarginMode_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=vega.commands.v1.UpdateMarginMode_Mode" json:"mode,omitempty"` 748 // Margin factor to use for margin in isolated mode. It is a multiplier that defines how much margin needs to be set aside 749 MarginFactor *string `protobuf:"bytes,3,opt,name=margin_factor,json=marginFactor,proto3,oneof" json:"margin_factor,omitempty"` 750 } 751 752 func (x *UpdateMarginMode) Reset() { 753 *x = UpdateMarginMode{} 754 if protoimpl.UnsafeEnabled { 755 mi := &file_vega_commands_v1_commands_proto_msgTypes[6] 756 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 757 ms.StoreMessageInfo(mi) 758 } 759 } 760 761 func (x *UpdateMarginMode) String() string { 762 return protoimpl.X.MessageStringOf(x) 763 } 764 765 func (*UpdateMarginMode) ProtoMessage() {} 766 767 func (x *UpdateMarginMode) ProtoReflect() protoreflect.Message { 768 mi := &file_vega_commands_v1_commands_proto_msgTypes[6] 769 if protoimpl.UnsafeEnabled && x != nil { 770 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 771 if ms.LoadMessageInfo() == nil { 772 ms.StoreMessageInfo(mi) 773 } 774 return ms 775 } 776 return mi.MessageOf(x) 777 } 778 779 // Deprecated: Use UpdateMarginMode.ProtoReflect.Descriptor instead. 780 func (*UpdateMarginMode) Descriptor() ([]byte, []int) { 781 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{6} 782 } 783 784 func (x *UpdateMarginMode) GetMarketId() string { 785 if x != nil { 786 return x.MarketId 787 } 788 return "" 789 } 790 791 func (x *UpdateMarginMode) GetMode() UpdateMarginMode_Mode { 792 if x != nil { 793 return x.Mode 794 } 795 return UpdateMarginMode_MODE_UNSPECIFIED 796 } 797 798 func (x *UpdateMarginMode) GetMarginFactor() string { 799 if x != nil && x.MarginFactor != nil { 800 return *x.MarginFactor 801 } 802 return "" 803 } 804 805 // A command that instructs the network to cancel orders, active or partially filled, that were previously submitted by the sender of this transaction. 806 // It is not possible to cancel another party's order with this command. 807 type OrderCancellation struct { 808 state protoimpl.MessageState 809 sizeCache protoimpl.SizeCache 810 unknownFields protoimpl.UnknownFields 811 812 // Restrict cancellations to an order with the given ID. If set, then a market ID must also be provided. 813 OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` 814 // Restrict cancellations to those submitted to the given market. If not set, all stop orders across all markets will be cancelled. 815 MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 816 } 817 818 func (x *OrderCancellation) Reset() { 819 *x = OrderCancellation{} 820 if protoimpl.UnsafeEnabled { 821 mi := &file_vega_commands_v1_commands_proto_msgTypes[7] 822 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 823 ms.StoreMessageInfo(mi) 824 } 825 } 826 827 func (x *OrderCancellation) String() string { 828 return protoimpl.X.MessageStringOf(x) 829 } 830 831 func (*OrderCancellation) ProtoMessage() {} 832 833 func (x *OrderCancellation) ProtoReflect() protoreflect.Message { 834 mi := &file_vega_commands_v1_commands_proto_msgTypes[7] 835 if protoimpl.UnsafeEnabled && x != nil { 836 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 837 if ms.LoadMessageInfo() == nil { 838 ms.StoreMessageInfo(mi) 839 } 840 return ms 841 } 842 return mi.MessageOf(x) 843 } 844 845 // Deprecated: Use OrderCancellation.ProtoReflect.Descriptor instead. 846 func (*OrderCancellation) Descriptor() ([]byte, []int) { 847 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{7} 848 } 849 850 func (x *OrderCancellation) GetOrderId() string { 851 if x != nil { 852 return x.OrderId 853 } 854 return "" 855 } 856 857 func (x *OrderCancellation) GetMarketId() string { 858 if x != nil { 859 return x.MarketId 860 } 861 return "" 862 } 863 864 // A command that allows a party to update the details of an existing order. 865 // Any field that is left unset or as a default value indicates that this field on the original order will be left unchanged. 866 // It is not possible to change an order's type through this command. 867 type OrderAmendment struct { 868 state protoimpl.MessageState 869 sizeCache protoimpl.SizeCache 870 unknownFields protoimpl.UnknownFields 871 872 // ID of the order to amend. 873 OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` 874 // Market ID that the order was originally submitted to. 875 MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 876 // New price for the order. This field is an unsigned integer scaled to the market's decimal places. 877 Price *string `protobuf:"bytes,3,opt,name=price,proto3,oneof" json:"price,omitempty"` 878 // Amend the size for the order by the delta specified: 879 // - To reduce the size from the current value set a negative integer value 880 // - To increase the size from the current value, set a positive integer value 881 // - To leave the size unchanged set a value of zero 882 // This field needs to be scaled using the market's position decimal places. 883 // If specified, size must not be set. 884 SizeDelta int64 `protobuf:"varint,4,opt,name=size_delta,json=sizeDelta,proto3" json:"size_delta,omitempty"` 885 // Timestamp, in Unix nanoseconds, for the new expiry time for the order. 886 ExpiresAt *int64 `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` 887 // New time in force for the order. 888 TimeInForce vega.Order_TimeInForce `protobuf:"varint,6,opt,name=time_in_force,json=timeInForce,proto3,enum=vega.Order_TimeInForce" json:"time_in_force,omitempty"` 889 // New pegged offset for the order. 890 // This field is an unsigned integer scaled to the market's decimal places. 891 PeggedOffset string `protobuf:"bytes,7,opt,name=pegged_offset,json=peggedOffset,proto3" json:"pegged_offset,omitempty"` 892 // New pegged reference for the order. 893 PeggedReference vega.PeggedReference `protobuf:"varint,8,opt,name=pegged_reference,json=peggedReference,proto3,enum=vega.PeggedReference" json:"pegged_reference,omitempty"` 894 // New size for the order. 895 // Amending the size causes the size and remaining part of the order to be changed by the difference between the original and amended size. 896 // - Specifying a size smaller than the current size leaves the order at its current order book position. 897 // - Specifying a size larger than the current size removes and reinserts the order at the back of the price level. 898 // - Specifying a size that results in the remaining part of the order being reduced to zero cancels the order. 899 // This field is an unsigned integer scaled to the market's decimal places. 900 // If specified, size_delta must be set to 0. 901 Size *uint64 `protobuf:"varint,9,opt,name=size,proto3,oneof" json:"size,omitempty"` 902 } 903 904 func (x *OrderAmendment) Reset() { 905 *x = OrderAmendment{} 906 if protoimpl.UnsafeEnabled { 907 mi := &file_vega_commands_v1_commands_proto_msgTypes[8] 908 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 909 ms.StoreMessageInfo(mi) 910 } 911 } 912 913 func (x *OrderAmendment) String() string { 914 return protoimpl.X.MessageStringOf(x) 915 } 916 917 func (*OrderAmendment) ProtoMessage() {} 918 919 func (x *OrderAmendment) ProtoReflect() protoreflect.Message { 920 mi := &file_vega_commands_v1_commands_proto_msgTypes[8] 921 if protoimpl.UnsafeEnabled && x != nil { 922 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 923 if ms.LoadMessageInfo() == nil { 924 ms.StoreMessageInfo(mi) 925 } 926 return ms 927 } 928 return mi.MessageOf(x) 929 } 930 931 // Deprecated: Use OrderAmendment.ProtoReflect.Descriptor instead. 932 func (*OrderAmendment) Descriptor() ([]byte, []int) { 933 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{8} 934 } 935 936 func (x *OrderAmendment) GetOrderId() string { 937 if x != nil { 938 return x.OrderId 939 } 940 return "" 941 } 942 943 func (x *OrderAmendment) GetMarketId() string { 944 if x != nil { 945 return x.MarketId 946 } 947 return "" 948 } 949 950 func (x *OrderAmendment) GetPrice() string { 951 if x != nil && x.Price != nil { 952 return *x.Price 953 } 954 return "" 955 } 956 957 func (x *OrderAmendment) GetSizeDelta() int64 { 958 if x != nil { 959 return x.SizeDelta 960 } 961 return 0 962 } 963 964 func (x *OrderAmendment) GetExpiresAt() int64 { 965 if x != nil && x.ExpiresAt != nil { 966 return *x.ExpiresAt 967 } 968 return 0 969 } 970 971 func (x *OrderAmendment) GetTimeInForce() vega.Order_TimeInForce { 972 if x != nil { 973 return x.TimeInForce 974 } 975 return vega.Order_TimeInForce(0) 976 } 977 978 func (x *OrderAmendment) GetPeggedOffset() string { 979 if x != nil { 980 return x.PeggedOffset 981 } 982 return "" 983 } 984 985 func (x *OrderAmendment) GetPeggedReference() vega.PeggedReference { 986 if x != nil { 987 return x.PeggedReference 988 } 989 return vega.PeggedReference(0) 990 } 991 992 func (x *OrderAmendment) GetSize() uint64 { 993 if x != nil && x.Size != nil { 994 return *x.Size 995 } 996 return 0 997 } 998 999 // A command that indicates to the network the party's intention to supply liquidity to the given market and become a liquidity provider. 1000 // An active liquidity provider for a market will earn fees based on the trades that occur in the market. 1001 type LiquidityProvisionSubmission struct { 1002 state protoimpl.MessageState 1003 sizeCache protoimpl.SizeCache 1004 unknownFields protoimpl.UnknownFields 1005 1006 // Market that the submitter wishes to provide liquidity for. 1007 MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 1008 // Amount that the submitter will commit as liquidity to the market, specified as a unitless number in the settlement asset of the market. 1009 // This field is an unsigned integer scaled using the asset's decimal places. 1010 CommitmentAmount string `protobuf:"bytes,2,opt,name=commitment_amount,json=commitmentAmount,proto3" json:"commitment_amount,omitempty"` 1011 // Nominated liquidity fee factor, which is an input to the calculation of taker fees on the market, as per setting fees and rewarding liquidity providers. 1012 Fee string `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` 1013 // Arbitrary reference to be added to every order created out of this liquidity provision submission. 1014 Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` 1015 } 1016 1017 func (x *LiquidityProvisionSubmission) Reset() { 1018 *x = LiquidityProvisionSubmission{} 1019 if protoimpl.UnsafeEnabled { 1020 mi := &file_vega_commands_v1_commands_proto_msgTypes[9] 1021 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1022 ms.StoreMessageInfo(mi) 1023 } 1024 } 1025 1026 func (x *LiquidityProvisionSubmission) String() string { 1027 return protoimpl.X.MessageStringOf(x) 1028 } 1029 1030 func (*LiquidityProvisionSubmission) ProtoMessage() {} 1031 1032 func (x *LiquidityProvisionSubmission) ProtoReflect() protoreflect.Message { 1033 mi := &file_vega_commands_v1_commands_proto_msgTypes[9] 1034 if protoimpl.UnsafeEnabled && x != nil { 1035 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1036 if ms.LoadMessageInfo() == nil { 1037 ms.StoreMessageInfo(mi) 1038 } 1039 return ms 1040 } 1041 return mi.MessageOf(x) 1042 } 1043 1044 // Deprecated: Use LiquidityProvisionSubmission.ProtoReflect.Descriptor instead. 1045 func (*LiquidityProvisionSubmission) Descriptor() ([]byte, []int) { 1046 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{9} 1047 } 1048 1049 func (x *LiquidityProvisionSubmission) GetMarketId() string { 1050 if x != nil { 1051 return x.MarketId 1052 } 1053 return "" 1054 } 1055 1056 func (x *LiquidityProvisionSubmission) GetCommitmentAmount() string { 1057 if x != nil { 1058 return x.CommitmentAmount 1059 } 1060 return "" 1061 } 1062 1063 func (x *LiquidityProvisionSubmission) GetFee() string { 1064 if x != nil { 1065 return x.Fee 1066 } 1067 return "" 1068 } 1069 1070 func (x *LiquidityProvisionSubmission) GetReference() string { 1071 if x != nil { 1072 return x.Reference 1073 } 1074 return "" 1075 } 1076 1077 // Command that allows a liquidity provider to inform the network that they will stop providing liquidity for a market. 1078 type LiquidityProvisionCancellation struct { 1079 state protoimpl.MessageState 1080 sizeCache protoimpl.SizeCache 1081 unknownFields protoimpl.UnknownFields 1082 1083 // Market that the submitter will stop providing liquidity for. 1084 MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 1085 } 1086 1087 func (x *LiquidityProvisionCancellation) Reset() { 1088 *x = LiquidityProvisionCancellation{} 1089 if protoimpl.UnsafeEnabled { 1090 mi := &file_vega_commands_v1_commands_proto_msgTypes[10] 1091 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1092 ms.StoreMessageInfo(mi) 1093 } 1094 } 1095 1096 func (x *LiquidityProvisionCancellation) String() string { 1097 return protoimpl.X.MessageStringOf(x) 1098 } 1099 1100 func (*LiquidityProvisionCancellation) ProtoMessage() {} 1101 1102 func (x *LiquidityProvisionCancellation) ProtoReflect() protoreflect.Message { 1103 mi := &file_vega_commands_v1_commands_proto_msgTypes[10] 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 LiquidityProvisionCancellation.ProtoReflect.Descriptor instead. 1115 func (*LiquidityProvisionCancellation) Descriptor() ([]byte, []int) { 1116 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{10} 1117 } 1118 1119 func (x *LiquidityProvisionCancellation) GetMarketId() string { 1120 if x != nil { 1121 return x.MarketId 1122 } 1123 return "" 1124 } 1125 1126 // Command that allows a liquidity provider to update the details of their existing liquidity commitment. 1127 // Any field that is left unset or as a default value indicates that this field on the original submission will be left unchanged. 1128 type LiquidityProvisionAmendment struct { 1129 state protoimpl.MessageState 1130 sizeCache protoimpl.SizeCache 1131 unknownFields protoimpl.UnknownFields 1132 1133 // Market that the submitter wants to amend the liquidity commitment for. 1134 MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 1135 // New commitment amount. 1136 CommitmentAmount string `protobuf:"bytes,2,opt,name=commitment_amount,json=commitmentAmount,proto3" json:"commitment_amount,omitempty"` 1137 // New nominated liquidity fee factor. 1138 Fee string `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` 1139 // New arbitrary reference to be added to every order created out of this liquidity provision submission. 1140 Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` 1141 } 1142 1143 func (x *LiquidityProvisionAmendment) Reset() { 1144 *x = LiquidityProvisionAmendment{} 1145 if protoimpl.UnsafeEnabled { 1146 mi := &file_vega_commands_v1_commands_proto_msgTypes[11] 1147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1148 ms.StoreMessageInfo(mi) 1149 } 1150 } 1151 1152 func (x *LiquidityProvisionAmendment) String() string { 1153 return protoimpl.X.MessageStringOf(x) 1154 } 1155 1156 func (*LiquidityProvisionAmendment) ProtoMessage() {} 1157 1158 func (x *LiquidityProvisionAmendment) ProtoReflect() protoreflect.Message { 1159 mi := &file_vega_commands_v1_commands_proto_msgTypes[11] 1160 if protoimpl.UnsafeEnabled && x != nil { 1161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1162 if ms.LoadMessageInfo() == nil { 1163 ms.StoreMessageInfo(mi) 1164 } 1165 return ms 1166 } 1167 return mi.MessageOf(x) 1168 } 1169 1170 // Deprecated: Use LiquidityProvisionAmendment.ProtoReflect.Descriptor instead. 1171 func (*LiquidityProvisionAmendment) Descriptor() ([]byte, []int) { 1172 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{11} 1173 } 1174 1175 func (x *LiquidityProvisionAmendment) GetMarketId() string { 1176 if x != nil { 1177 return x.MarketId 1178 } 1179 return "" 1180 } 1181 1182 func (x *LiquidityProvisionAmendment) GetCommitmentAmount() string { 1183 if x != nil { 1184 return x.CommitmentAmount 1185 } 1186 return "" 1187 } 1188 1189 func (x *LiquidityProvisionAmendment) GetFee() string { 1190 if x != nil { 1191 return x.Fee 1192 } 1193 return "" 1194 } 1195 1196 func (x *LiquidityProvisionAmendment) GetReference() string { 1197 if x != nil { 1198 return x.Reference 1199 } 1200 return "" 1201 } 1202 1203 // Command to instruct the network to process an asset withdrawal from the Vega network. 1204 // The process is specific to the destination foreign chain, for example, a withdrawal to Ethereum will generate signatures 1205 // that allow funds to be taken across the bridge. 1206 type WithdrawSubmission struct { 1207 state protoimpl.MessageState 1208 sizeCache protoimpl.SizeCache 1209 unknownFields protoimpl.UnknownFields 1210 1211 // Amount to be withdrawn, as an unsigned integer scaled to the asset's decimal places. 1212 Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` 1213 // Asset to be withdrawn. 1214 Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` 1215 // Details specific to the foreign chain, such as the receiver address. 1216 Ext *vega.WithdrawExt `protobuf:"bytes,3,opt,name=ext,proto3" json:"ext,omitempty"` 1217 } 1218 1219 func (x *WithdrawSubmission) Reset() { 1220 *x = WithdrawSubmission{} 1221 if protoimpl.UnsafeEnabled { 1222 mi := &file_vega_commands_v1_commands_proto_msgTypes[12] 1223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1224 ms.StoreMessageInfo(mi) 1225 } 1226 } 1227 1228 func (x *WithdrawSubmission) String() string { 1229 return protoimpl.X.MessageStringOf(x) 1230 } 1231 1232 func (*WithdrawSubmission) ProtoMessage() {} 1233 1234 func (x *WithdrawSubmission) ProtoReflect() protoreflect.Message { 1235 mi := &file_vega_commands_v1_commands_proto_msgTypes[12] 1236 if protoimpl.UnsafeEnabled && x != nil { 1237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1238 if ms.LoadMessageInfo() == nil { 1239 ms.StoreMessageInfo(mi) 1240 } 1241 return ms 1242 } 1243 return mi.MessageOf(x) 1244 } 1245 1246 // Deprecated: Use WithdrawSubmission.ProtoReflect.Descriptor instead. 1247 func (*WithdrawSubmission) Descriptor() ([]byte, []int) { 1248 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{12} 1249 } 1250 1251 func (x *WithdrawSubmission) GetAmount() string { 1252 if x != nil { 1253 return x.Amount 1254 } 1255 return "" 1256 } 1257 1258 func (x *WithdrawSubmission) GetAsset() string { 1259 if x != nil { 1260 return x.Asset 1261 } 1262 return "" 1263 } 1264 1265 func (x *WithdrawSubmission) GetExt() *vega.WithdrawExt { 1266 if x != nil { 1267 return x.Ext 1268 } 1269 return nil 1270 } 1271 1272 // Command that allows a token holder to submit a governance proposal that can be voted on by any other token holders, and eventually enacted on the Vega network. 1273 // For example this command can be used to propose a new market. 1274 type ProposalSubmission struct { 1275 state protoimpl.MessageState 1276 sizeCache protoimpl.SizeCache 1277 unknownFields protoimpl.UnknownFields 1278 1279 // Arbitrary human-readable reference identifying the proposal. 1280 Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` 1281 // Proposal terms containing the type and details of the proposal, as well as time spans for voting and enactment. 1282 Terms *vega.ProposalTerms `protobuf:"bytes,2,opt,name=terms,proto3" json:"terms,omitempty"` 1283 // Rationale behind a proposal. 1284 Rationale *vega.ProposalRationale `protobuf:"bytes,3,opt,name=rationale,proto3" json:"rationale,omitempty"` 1285 } 1286 1287 func (x *ProposalSubmission) Reset() { 1288 *x = ProposalSubmission{} 1289 if protoimpl.UnsafeEnabled { 1290 mi := &file_vega_commands_v1_commands_proto_msgTypes[13] 1291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1292 ms.StoreMessageInfo(mi) 1293 } 1294 } 1295 1296 func (x *ProposalSubmission) String() string { 1297 return protoimpl.X.MessageStringOf(x) 1298 } 1299 1300 func (*ProposalSubmission) ProtoMessage() {} 1301 1302 func (x *ProposalSubmission) ProtoReflect() protoreflect.Message { 1303 mi := &file_vega_commands_v1_commands_proto_msgTypes[13] 1304 if protoimpl.UnsafeEnabled && x != nil { 1305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1306 if ms.LoadMessageInfo() == nil { 1307 ms.StoreMessageInfo(mi) 1308 } 1309 return ms 1310 } 1311 return mi.MessageOf(x) 1312 } 1313 1314 // Deprecated: Use ProposalSubmission.ProtoReflect.Descriptor instead. 1315 func (*ProposalSubmission) Descriptor() ([]byte, []int) { 1316 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{13} 1317 } 1318 1319 func (x *ProposalSubmission) GetReference() string { 1320 if x != nil { 1321 return x.Reference 1322 } 1323 return "" 1324 } 1325 1326 func (x *ProposalSubmission) GetTerms() *vega.ProposalTerms { 1327 if x != nil { 1328 return x.Terms 1329 } 1330 return nil 1331 } 1332 1333 func (x *ProposalSubmission) GetRationale() *vega.ProposalRationale { 1334 if x != nil { 1335 return x.Rationale 1336 } 1337 return nil 1338 } 1339 1340 // Terms for a batch governance proposal submission 1341 type BatchProposalSubmissionTerms struct { 1342 state protoimpl.MessageState 1343 sizeCache protoimpl.SizeCache 1344 unknownFields protoimpl.UnknownFields 1345 1346 // Closing timestamp in Unix time; adheres to `minClose` and `maxClose` limits. 1347 ClosingTimestamp int64 `protobuf:"varint,1,opt,name=closing_timestamp,json=closingTimestamp,proto3" json:"closing_timestamp,omitempty"` 1348 // List of individual changes included in the batch proposal. 1349 Changes []*vega.BatchProposalTermsChange `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"` 1350 } 1351 1352 func (x *BatchProposalSubmissionTerms) Reset() { 1353 *x = BatchProposalSubmissionTerms{} 1354 if protoimpl.UnsafeEnabled { 1355 mi := &file_vega_commands_v1_commands_proto_msgTypes[14] 1356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1357 ms.StoreMessageInfo(mi) 1358 } 1359 } 1360 1361 func (x *BatchProposalSubmissionTerms) String() string { 1362 return protoimpl.X.MessageStringOf(x) 1363 } 1364 1365 func (*BatchProposalSubmissionTerms) ProtoMessage() {} 1366 1367 func (x *BatchProposalSubmissionTerms) ProtoReflect() protoreflect.Message { 1368 mi := &file_vega_commands_v1_commands_proto_msgTypes[14] 1369 if protoimpl.UnsafeEnabled && x != nil { 1370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1371 if ms.LoadMessageInfo() == nil { 1372 ms.StoreMessageInfo(mi) 1373 } 1374 return ms 1375 } 1376 return mi.MessageOf(x) 1377 } 1378 1379 // Deprecated: Use BatchProposalSubmissionTerms.ProtoReflect.Descriptor instead. 1380 func (*BatchProposalSubmissionTerms) Descriptor() ([]byte, []int) { 1381 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{14} 1382 } 1383 1384 func (x *BatchProposalSubmissionTerms) GetClosingTimestamp() int64 { 1385 if x != nil { 1386 return x.ClosingTimestamp 1387 } 1388 return 0 1389 } 1390 1391 func (x *BatchProposalSubmissionTerms) GetChanges() []*vega.BatchProposalTermsChange { 1392 if x != nil { 1393 return x.Changes 1394 } 1395 return nil 1396 } 1397 1398 // Command that allows a token holder to submit a batch governance proposal that can be voted on by any other token holders, and eventually enacted on the Vega network. 1399 // For example this command can be used to propose a new market and a network parameter change with it. 1400 type BatchProposalSubmission struct { 1401 state protoimpl.MessageState 1402 sizeCache protoimpl.SizeCache 1403 unknownFields protoimpl.UnknownFields 1404 1405 // Arbitrary human-readable reference identifying the proposal. 1406 Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` 1407 // Proposal terms containing the type and details of the proposal, as well as time spans for voting and enactment. 1408 Terms *BatchProposalSubmissionTerms `protobuf:"bytes,2,opt,name=terms,proto3" json:"terms,omitempty"` 1409 // Rationale behind a proposal. 1410 Rationale *vega.ProposalRationale `protobuf:"bytes,3,opt,name=rationale,proto3" json:"rationale,omitempty"` 1411 } 1412 1413 func (x *BatchProposalSubmission) Reset() { 1414 *x = BatchProposalSubmission{} 1415 if protoimpl.UnsafeEnabled { 1416 mi := &file_vega_commands_v1_commands_proto_msgTypes[15] 1417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1418 ms.StoreMessageInfo(mi) 1419 } 1420 } 1421 1422 func (x *BatchProposalSubmission) String() string { 1423 return protoimpl.X.MessageStringOf(x) 1424 } 1425 1426 func (*BatchProposalSubmission) ProtoMessage() {} 1427 1428 func (x *BatchProposalSubmission) ProtoReflect() protoreflect.Message { 1429 mi := &file_vega_commands_v1_commands_proto_msgTypes[15] 1430 if protoimpl.UnsafeEnabled && x != nil { 1431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1432 if ms.LoadMessageInfo() == nil { 1433 ms.StoreMessageInfo(mi) 1434 } 1435 return ms 1436 } 1437 return mi.MessageOf(x) 1438 } 1439 1440 // Deprecated: Use BatchProposalSubmission.ProtoReflect.Descriptor instead. 1441 func (*BatchProposalSubmission) Descriptor() ([]byte, []int) { 1442 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{15} 1443 } 1444 1445 func (x *BatchProposalSubmission) GetReference() string { 1446 if x != nil { 1447 return x.Reference 1448 } 1449 return "" 1450 } 1451 1452 func (x *BatchProposalSubmission) GetTerms() *BatchProposalSubmissionTerms { 1453 if x != nil { 1454 return x.Terms 1455 } 1456 return nil 1457 } 1458 1459 func (x *BatchProposalSubmission) GetRationale() *vega.ProposalRationale { 1460 if x != nil { 1461 return x.Rationale 1462 } 1463 return nil 1464 } 1465 1466 // Command that allows a token holder to vote for or against an active governance proposal. 1467 type VoteSubmission struct { 1468 state protoimpl.MessageState 1469 sizeCache protoimpl.SizeCache 1470 unknownFields protoimpl.UnknownFields 1471 1472 // Submit vote for the specified proposal ID. 1473 ProposalId string `protobuf:"bytes,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` 1474 // Actual value of the vote. 1475 Value vega.Vote_Value `protobuf:"varint,2,opt,name=value,proto3,enum=vega.Vote_Value" json:"value,omitempty"` 1476 } 1477 1478 func (x *VoteSubmission) Reset() { 1479 *x = VoteSubmission{} 1480 if protoimpl.UnsafeEnabled { 1481 mi := &file_vega_commands_v1_commands_proto_msgTypes[16] 1482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1483 ms.StoreMessageInfo(mi) 1484 } 1485 } 1486 1487 func (x *VoteSubmission) String() string { 1488 return protoimpl.X.MessageStringOf(x) 1489 } 1490 1491 func (*VoteSubmission) ProtoMessage() {} 1492 1493 func (x *VoteSubmission) ProtoReflect() protoreflect.Message { 1494 mi := &file_vega_commands_v1_commands_proto_msgTypes[16] 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 VoteSubmission.ProtoReflect.Descriptor instead. 1506 func (*VoteSubmission) Descriptor() ([]byte, []int) { 1507 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{16} 1508 } 1509 1510 func (x *VoteSubmission) GetProposalId() string { 1511 if x != nil { 1512 return x.ProposalId 1513 } 1514 return "" 1515 } 1516 1517 func (x *VoteSubmission) GetValue() vega.Vote_Value { 1518 if x != nil { 1519 return x.Value 1520 } 1521 return vega.Vote_Value(0) 1522 } 1523 1524 // Command to allow a token holder to delegate their tokens to a validator to help secure the network. 1525 // A token holder delegating to a validator will earn rewards based on the amount they have delegated, and the performance of the chosen validator. 1526 type DelegateSubmission struct { 1527 state protoimpl.MessageState 1528 sizeCache protoimpl.SizeCache 1529 unknownFields protoimpl.UnknownFields 1530 1531 // Node ID to delegate stake to. 1532 NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` 1533 // Amount of stake to delegate, as an unsigned integer scaled to the governance asset's decimal places. 1534 Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` 1535 } 1536 1537 func (x *DelegateSubmission) Reset() { 1538 *x = DelegateSubmission{} 1539 if protoimpl.UnsafeEnabled { 1540 mi := &file_vega_commands_v1_commands_proto_msgTypes[17] 1541 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1542 ms.StoreMessageInfo(mi) 1543 } 1544 } 1545 1546 func (x *DelegateSubmission) String() string { 1547 return protoimpl.X.MessageStringOf(x) 1548 } 1549 1550 func (*DelegateSubmission) ProtoMessage() {} 1551 1552 func (x *DelegateSubmission) ProtoReflect() protoreflect.Message { 1553 mi := &file_vega_commands_v1_commands_proto_msgTypes[17] 1554 if protoimpl.UnsafeEnabled && x != nil { 1555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1556 if ms.LoadMessageInfo() == nil { 1557 ms.StoreMessageInfo(mi) 1558 } 1559 return ms 1560 } 1561 return mi.MessageOf(x) 1562 } 1563 1564 // Deprecated: Use DelegateSubmission.ProtoReflect.Descriptor instead. 1565 func (*DelegateSubmission) Descriptor() ([]byte, []int) { 1566 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{17} 1567 } 1568 1569 func (x *DelegateSubmission) GetNodeId() string { 1570 if x != nil { 1571 return x.NodeId 1572 } 1573 return "" 1574 } 1575 1576 func (x *DelegateSubmission) GetAmount() string { 1577 if x != nil { 1578 return x.Amount 1579 } 1580 return "" 1581 } 1582 1583 // Command to allow a token holder to instruct the network to remove their delegated stake from a given validator node. 1584 type UndelegateSubmission struct { 1585 state protoimpl.MessageState 1586 sizeCache protoimpl.SizeCache 1587 unknownFields protoimpl.UnknownFields 1588 1589 // Node ID to undelegate stake from. 1590 NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` 1591 // Amount to undelegate, as an unsigned integer scaled to the governance asset's decimal places. 1592 // If not set, then all delegations to the given validator node will be removed. 1593 Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` 1594 // Method of delegation. 1595 Method UndelegateSubmission_Method `protobuf:"varint,3,opt,name=method,proto3,enum=vega.commands.v1.UndelegateSubmission_Method" json:"method,omitempty"` 1596 } 1597 1598 func (x *UndelegateSubmission) Reset() { 1599 *x = UndelegateSubmission{} 1600 if protoimpl.UnsafeEnabled { 1601 mi := &file_vega_commands_v1_commands_proto_msgTypes[18] 1602 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1603 ms.StoreMessageInfo(mi) 1604 } 1605 } 1606 1607 func (x *UndelegateSubmission) String() string { 1608 return protoimpl.X.MessageStringOf(x) 1609 } 1610 1611 func (*UndelegateSubmission) ProtoMessage() {} 1612 1613 func (x *UndelegateSubmission) ProtoReflect() protoreflect.Message { 1614 mi := &file_vega_commands_v1_commands_proto_msgTypes[18] 1615 if protoimpl.UnsafeEnabled && x != nil { 1616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1617 if ms.LoadMessageInfo() == nil { 1618 ms.StoreMessageInfo(mi) 1619 } 1620 return ms 1621 } 1622 return mi.MessageOf(x) 1623 } 1624 1625 // Deprecated: Use UndelegateSubmission.ProtoReflect.Descriptor instead. 1626 func (*UndelegateSubmission) Descriptor() ([]byte, []int) { 1627 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{18} 1628 } 1629 1630 func (x *UndelegateSubmission) GetNodeId() string { 1631 if x != nil { 1632 return x.NodeId 1633 } 1634 return "" 1635 } 1636 1637 func (x *UndelegateSubmission) GetAmount() string { 1638 if x != nil { 1639 return x.Amount 1640 } 1641 return "" 1642 } 1643 1644 func (x *UndelegateSubmission) GetMethod() UndelegateSubmission_Method { 1645 if x != nil { 1646 return x.Method 1647 } 1648 return UndelegateSubmission_METHOD_UNSPECIFIED 1649 } 1650 1651 // Command that allows a party to move assets from one account to another. 1652 // A transfer can be set up as a single one-off transfer, or a recurring transfer that occurs once at the start of each epoch. 1653 // Each transfer incurs a fee as specified by the network parameter `transfer.fee.factor` 1654 type Transfer struct { 1655 state protoimpl.MessageState 1656 sizeCache protoimpl.SizeCache 1657 unknownFields protoimpl.UnknownFields 1658 1659 // Account type from which the funds of the party should be taken. 1660 FromAccountType vega.AccountType `protobuf:"varint,1,opt,name=from_account_type,json=fromAccountType,proto3,enum=vega.AccountType" json:"from_account_type,omitempty"` 1661 // Public key of the destination account. 1662 To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` 1663 // Type of the destination account. 1664 ToAccountType vega.AccountType `protobuf:"varint,3,opt,name=to_account_type,json=toAccountType,proto3,enum=vega.AccountType" json:"to_account_type,omitempty"` 1665 // Asset ID of the asset to be transferred. 1666 Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"` 1667 // Amount to be taken from the source account, as an unsigned integer scaled to the asset's decimal places. 1668 Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` 1669 // Reference to be attached to the transfer. 1670 Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` 1671 // AMM key from which assets are to be transferred, if applicable. 1672 // The submitter of the transaction must be the owner of this AMM key. 1673 // If provided, the 'from_account_type' must be REWARDS_VESTED, and the asset in this account 1674 // must match the asset specified in the transfer. 1675 From *string `protobuf:"bytes,7,opt,name=from,proto3,oneof" json:"from,omitempty"` 1676 // Specific details of the transfer. 1677 // 1678 // Types that are assignable to Kind: 1679 // 1680 // *Transfer_OneOff 1681 // *Transfer_Recurring 1682 Kind isTransfer_Kind `protobuf_oneof:"kind"` 1683 } 1684 1685 func (x *Transfer) Reset() { 1686 *x = Transfer{} 1687 if protoimpl.UnsafeEnabled { 1688 mi := &file_vega_commands_v1_commands_proto_msgTypes[19] 1689 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1690 ms.StoreMessageInfo(mi) 1691 } 1692 } 1693 1694 func (x *Transfer) String() string { 1695 return protoimpl.X.MessageStringOf(x) 1696 } 1697 1698 func (*Transfer) ProtoMessage() {} 1699 1700 func (x *Transfer) ProtoReflect() protoreflect.Message { 1701 mi := &file_vega_commands_v1_commands_proto_msgTypes[19] 1702 if protoimpl.UnsafeEnabled && x != nil { 1703 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1704 if ms.LoadMessageInfo() == nil { 1705 ms.StoreMessageInfo(mi) 1706 } 1707 return ms 1708 } 1709 return mi.MessageOf(x) 1710 } 1711 1712 // Deprecated: Use Transfer.ProtoReflect.Descriptor instead. 1713 func (*Transfer) Descriptor() ([]byte, []int) { 1714 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{19} 1715 } 1716 1717 func (x *Transfer) GetFromAccountType() vega.AccountType { 1718 if x != nil { 1719 return x.FromAccountType 1720 } 1721 return vega.AccountType(0) 1722 } 1723 1724 func (x *Transfer) GetTo() string { 1725 if x != nil { 1726 return x.To 1727 } 1728 return "" 1729 } 1730 1731 func (x *Transfer) GetToAccountType() vega.AccountType { 1732 if x != nil { 1733 return x.ToAccountType 1734 } 1735 return vega.AccountType(0) 1736 } 1737 1738 func (x *Transfer) GetAsset() string { 1739 if x != nil { 1740 return x.Asset 1741 } 1742 return "" 1743 } 1744 1745 func (x *Transfer) GetAmount() string { 1746 if x != nil { 1747 return x.Amount 1748 } 1749 return "" 1750 } 1751 1752 func (x *Transfer) GetReference() string { 1753 if x != nil { 1754 return x.Reference 1755 } 1756 return "" 1757 } 1758 1759 func (x *Transfer) GetFrom() string { 1760 if x != nil && x.From != nil { 1761 return *x.From 1762 } 1763 return "" 1764 } 1765 1766 func (m *Transfer) GetKind() isTransfer_Kind { 1767 if m != nil { 1768 return m.Kind 1769 } 1770 return nil 1771 } 1772 1773 func (x *Transfer) GetOneOff() *OneOffTransfer { 1774 if x, ok := x.GetKind().(*Transfer_OneOff); ok { 1775 return x.OneOff 1776 } 1777 return nil 1778 } 1779 1780 func (x *Transfer) GetRecurring() *RecurringTransfer { 1781 if x, ok := x.GetKind().(*Transfer_Recurring); ok { 1782 return x.Recurring 1783 } 1784 return nil 1785 } 1786 1787 type isTransfer_Kind interface { 1788 isTransfer_Kind() 1789 } 1790 1791 type Transfer_OneOff struct { 1792 // Details of a one-off transfer that is executed once at a specified time. 1793 OneOff *OneOffTransfer `protobuf:"bytes,101,opt,name=one_off,json=oneOff,proto3,oneof"` 1794 } 1795 1796 type Transfer_Recurring struct { 1797 // Details of a transfer that is executed once every epoch until stopped. 1798 Recurring *RecurringTransfer `protobuf:"bytes,102,opt,name=recurring,proto3,oneof"` 1799 } 1800 1801 func (*Transfer_OneOff) isTransfer_Kind() {} 1802 1803 func (*Transfer_Recurring) isTransfer_Kind() {} 1804 1805 // Details for a one-off transfer. 1806 type OneOffTransfer struct { 1807 state protoimpl.MessageState 1808 sizeCache protoimpl.SizeCache 1809 unknownFields protoimpl.UnknownFields 1810 1811 // Timestamp, in Unix nanoseconds, for when the transfer should be executed, i.e., assets transferred into the receiver's account. 1812 DeliverOn int64 `protobuf:"varint,1,opt,name=deliver_on,json=deliverOn,proto3" json:"deliver_on,omitempty"` 1813 } 1814 1815 func (x *OneOffTransfer) Reset() { 1816 *x = OneOffTransfer{} 1817 if protoimpl.UnsafeEnabled { 1818 mi := &file_vega_commands_v1_commands_proto_msgTypes[20] 1819 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1820 ms.StoreMessageInfo(mi) 1821 } 1822 } 1823 1824 func (x *OneOffTransfer) String() string { 1825 return protoimpl.X.MessageStringOf(x) 1826 } 1827 1828 func (*OneOffTransfer) ProtoMessage() {} 1829 1830 func (x *OneOffTransfer) ProtoReflect() protoreflect.Message { 1831 mi := &file_vega_commands_v1_commands_proto_msgTypes[20] 1832 if protoimpl.UnsafeEnabled && x != nil { 1833 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1834 if ms.LoadMessageInfo() == nil { 1835 ms.StoreMessageInfo(mi) 1836 } 1837 return ms 1838 } 1839 return mi.MessageOf(x) 1840 } 1841 1842 // Deprecated: Use OneOffTransfer.ProtoReflect.Descriptor instead. 1843 func (*OneOffTransfer) Descriptor() ([]byte, []int) { 1844 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{20} 1845 } 1846 1847 func (x *OneOffTransfer) GetDeliverOn() int64 { 1848 if x != nil { 1849 return x.DeliverOn 1850 } 1851 return 0 1852 } 1853 1854 // Details for a recurring transfer 1855 type RecurringTransfer struct { 1856 state protoimpl.MessageState 1857 sizeCache protoimpl.SizeCache 1858 unknownFields protoimpl.UnknownFields 1859 1860 // First epoch from which this transfer shall be executed. 1861 StartEpoch uint64 `protobuf:"varint,1,opt,name=start_epoch,json=startEpoch,proto3" json:"start_epoch,omitempty"` 1862 // Last epoch at which this transfer shall be executed. 1863 EndEpoch *uint64 `protobuf:"varint,2,opt,name=end_epoch,json=endEpoch,proto3,oneof" json:"end_epoch,omitempty"` 1864 // Factor that the initial transfer amount is multiplied by for each epoch that it is executed. 1865 // For example if the initial transfer amount is 1000 and the factor is 0.5, then the amounts transferred per epoch will be 1000, 500, 250, 125, etc. 1866 Factor string `protobuf:"bytes,3,opt,name=factor,proto3" json:"factor,omitempty"` 1867 // Optional parameter defining how a transfer is dispatched. 1868 DispatchStrategy *vega.DispatchStrategy `protobuf:"bytes,4,opt,name=dispatch_strategy,json=dispatchStrategy,proto3" json:"dispatch_strategy,omitempty"` 1869 } 1870 1871 func (x *RecurringTransfer) Reset() { 1872 *x = RecurringTransfer{} 1873 if protoimpl.UnsafeEnabled { 1874 mi := &file_vega_commands_v1_commands_proto_msgTypes[21] 1875 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1876 ms.StoreMessageInfo(mi) 1877 } 1878 } 1879 1880 func (x *RecurringTransfer) String() string { 1881 return protoimpl.X.MessageStringOf(x) 1882 } 1883 1884 func (*RecurringTransfer) ProtoMessage() {} 1885 1886 func (x *RecurringTransfer) ProtoReflect() protoreflect.Message { 1887 mi := &file_vega_commands_v1_commands_proto_msgTypes[21] 1888 if protoimpl.UnsafeEnabled && x != nil { 1889 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1890 if ms.LoadMessageInfo() == nil { 1891 ms.StoreMessageInfo(mi) 1892 } 1893 return ms 1894 } 1895 return mi.MessageOf(x) 1896 } 1897 1898 // Deprecated: Use RecurringTransfer.ProtoReflect.Descriptor instead. 1899 func (*RecurringTransfer) Descriptor() ([]byte, []int) { 1900 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{21} 1901 } 1902 1903 func (x *RecurringTransfer) GetStartEpoch() uint64 { 1904 if x != nil { 1905 return x.StartEpoch 1906 } 1907 return 0 1908 } 1909 1910 func (x *RecurringTransfer) GetEndEpoch() uint64 { 1911 if x != nil && x.EndEpoch != nil { 1912 return *x.EndEpoch 1913 } 1914 return 0 1915 } 1916 1917 func (x *RecurringTransfer) GetFactor() string { 1918 if x != nil { 1919 return x.Factor 1920 } 1921 return "" 1922 } 1923 1924 func (x *RecurringTransfer) GetDispatchStrategy() *vega.DispatchStrategy { 1925 if x != nil { 1926 return x.DispatchStrategy 1927 } 1928 return nil 1929 } 1930 1931 // Command that can be used by the party that initiated a transfer to instruct the network to stop an active recurring transaction. 1932 type CancelTransfer struct { 1933 state protoimpl.MessageState 1934 sizeCache protoimpl.SizeCache 1935 unknownFields protoimpl.UnknownFields 1936 1937 // Transfer ID of the transfer to cancel. 1938 TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"` 1939 } 1940 1941 func (x *CancelTransfer) Reset() { 1942 *x = CancelTransfer{} 1943 if protoimpl.UnsafeEnabled { 1944 mi := &file_vega_commands_v1_commands_proto_msgTypes[22] 1945 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1946 ms.StoreMessageInfo(mi) 1947 } 1948 } 1949 1950 func (x *CancelTransfer) String() string { 1951 return protoimpl.X.MessageStringOf(x) 1952 } 1953 1954 func (*CancelTransfer) ProtoMessage() {} 1955 1956 func (x *CancelTransfer) ProtoReflect() protoreflect.Message { 1957 mi := &file_vega_commands_v1_commands_proto_msgTypes[22] 1958 if protoimpl.UnsafeEnabled && x != nil { 1959 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1960 if ms.LoadMessageInfo() == nil { 1961 ms.StoreMessageInfo(mi) 1962 } 1963 return ms 1964 } 1965 return mi.MessageOf(x) 1966 } 1967 1968 // Deprecated: Use CancelTransfer.ProtoReflect.Descriptor instead. 1969 func (*CancelTransfer) Descriptor() ([]byte, []int) { 1970 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{22} 1971 } 1972 1973 func (x *CancelTransfer) GetTransferId() string { 1974 if x != nil { 1975 return x.TransferId 1976 } 1977 return "" 1978 } 1979 1980 // Command that can be used by a validator to instruct the network to generate signatures to add or remove validators from the multisig-control contract. 1981 // Signatures can only be generated for validator nodes that have been promoted or demoted from the consensus validator set, and any attempt to generate signatures for another node will be rejected. 1982 // The generated signatures can only be submitted to the contract by the Ethereum addresses included in the command. 1983 type IssueSignatures struct { 1984 state protoimpl.MessageState 1985 sizeCache protoimpl.SizeCache 1986 unknownFields protoimpl.UnknownFields 1987 1988 // Ethereum address which will submit the signatures to the smart contract. 1989 Submitter string `protobuf:"bytes,1,opt,name=submitter,proto3" json:"submitter,omitempty"` 1990 // What kind of signatures to generate, namely for whether a signer is being added or removed. 1991 Kind NodeSignatureKind `protobuf:"varint,2,opt,name=kind,proto3,enum=vega.commands.v1.NodeSignatureKind" json:"kind,omitempty"` 1992 // Node ID of the validator node that will be signed in or out of the smart contract. 1993 ValidatorNodeId string `protobuf:"bytes,3,opt,name=validator_node_id,json=validatorNodeId,proto3" json:"validator_node_id,omitempty"` 1994 // Chain ID of the bridge to generate signatures for. 1995 ChainId string `protobuf:"bytes,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 1996 } 1997 1998 func (x *IssueSignatures) Reset() { 1999 *x = IssueSignatures{} 2000 if protoimpl.UnsafeEnabled { 2001 mi := &file_vega_commands_v1_commands_proto_msgTypes[23] 2002 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2003 ms.StoreMessageInfo(mi) 2004 } 2005 } 2006 2007 func (x *IssueSignatures) String() string { 2008 return protoimpl.X.MessageStringOf(x) 2009 } 2010 2011 func (*IssueSignatures) ProtoMessage() {} 2012 2013 func (x *IssueSignatures) ProtoReflect() protoreflect.Message { 2014 mi := &file_vega_commands_v1_commands_proto_msgTypes[23] 2015 if protoimpl.UnsafeEnabled && x != nil { 2016 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2017 if ms.LoadMessageInfo() == nil { 2018 ms.StoreMessageInfo(mi) 2019 } 2020 return ms 2021 } 2022 return mi.MessageOf(x) 2023 } 2024 2025 // Deprecated: Use IssueSignatures.ProtoReflect.Descriptor instead. 2026 func (*IssueSignatures) Descriptor() ([]byte, []int) { 2027 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{23} 2028 } 2029 2030 func (x *IssueSignatures) GetSubmitter() string { 2031 if x != nil { 2032 return x.Submitter 2033 } 2034 return "" 2035 } 2036 2037 func (x *IssueSignatures) GetKind() NodeSignatureKind { 2038 if x != nil { 2039 return x.Kind 2040 } 2041 return NodeSignatureKind_NODE_SIGNATURE_KIND_UNSPECIFIED 2042 } 2043 2044 func (x *IssueSignatures) GetValidatorNodeId() string { 2045 if x != nil { 2046 return x.ValidatorNodeId 2047 } 2048 return "" 2049 } 2050 2051 func (x *IssueSignatures) GetChainId() string { 2052 if x != nil { 2053 return x.ChainId 2054 } 2055 return "" 2056 } 2057 2058 // Command that a party can use to instruct the network to create a new referral set on the network. 2059 // The submitter of this command will become the referrer of the new set and cannot be the referrer or a referee of another set. 2060 // A referrer can use the referral set ID as a referral code to attract others to the Vega network and have fees reduced for the referral set. 2061 type CreateReferralSet struct { 2062 state protoimpl.MessageState 2063 sizeCache protoimpl.SizeCache 2064 unknownFields protoimpl.UnknownFields 2065 2066 // Whether or not the referral set should be considered a team that can participate in team games on the network. 2067 IsTeam bool `protobuf:"varint,1,opt,name=is_team,json=isTeam,proto3" json:"is_team,omitempty"` 2068 // Team details, if the referral set is to be considered a team. 2069 Team *CreateReferralSet_Team `protobuf:"bytes,2,opt,name=team,proto3,oneof" json:"team,omitempty"` 2070 // Should a referral set be created as well or only a team. 2071 // the default is false so the existing behaviour is kept if older versions of the protobufs are used. 2072 DoNotCreateReferralSet bool `protobuf:"varint,3,opt,name=do_not_create_referral_set,json=doNotCreateReferralSet,proto3" json:"do_not_create_referral_set,omitempty"` 2073 } 2074 2075 func (x *CreateReferralSet) Reset() { 2076 *x = CreateReferralSet{} 2077 if protoimpl.UnsafeEnabled { 2078 mi := &file_vega_commands_v1_commands_proto_msgTypes[24] 2079 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2080 ms.StoreMessageInfo(mi) 2081 } 2082 } 2083 2084 func (x *CreateReferralSet) String() string { 2085 return protoimpl.X.MessageStringOf(x) 2086 } 2087 2088 func (*CreateReferralSet) ProtoMessage() {} 2089 2090 func (x *CreateReferralSet) ProtoReflect() protoreflect.Message { 2091 mi := &file_vega_commands_v1_commands_proto_msgTypes[24] 2092 if protoimpl.UnsafeEnabled && x != nil { 2093 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2094 if ms.LoadMessageInfo() == nil { 2095 ms.StoreMessageInfo(mi) 2096 } 2097 return ms 2098 } 2099 return mi.MessageOf(x) 2100 } 2101 2102 // Deprecated: Use CreateReferralSet.ProtoReflect.Descriptor instead. 2103 func (*CreateReferralSet) Descriptor() ([]byte, []int) { 2104 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{24} 2105 } 2106 2107 func (x *CreateReferralSet) GetIsTeam() bool { 2108 if x != nil { 2109 return x.IsTeam 2110 } 2111 return false 2112 } 2113 2114 func (x *CreateReferralSet) GetTeam() *CreateReferralSet_Team { 2115 if x != nil { 2116 return x.Team 2117 } 2118 return nil 2119 } 2120 2121 func (x *CreateReferralSet) GetDoNotCreateReferralSet() bool { 2122 if x != nil { 2123 return x.DoNotCreateReferralSet 2124 } 2125 return false 2126 } 2127 2128 // A command that allows the referrer of a referral set to update team details for a referral set. 2129 // Any field that is left unset or has a default value indicates that this field on the original referral set will be left unchanged. 2130 type UpdateReferralSet struct { 2131 state protoimpl.MessageState 2132 sizeCache protoimpl.SizeCache 2133 unknownFields protoimpl.UnknownFields 2134 2135 // ID of the referral set to update. 2136 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 2137 // Whether or not the referral set should be considered a team that can participate in team games on the network. 2138 IsTeam bool `protobuf:"varint,2,opt,name=is_team,json=isTeam,proto3" json:"is_team,omitempty"` 2139 // Team details, if the referral set is to be considered a team. 2140 Team *UpdateReferralSet_Team `protobuf:"bytes,3,opt,name=team,proto3,oneof" json:"team,omitempty"` 2141 } 2142 2143 func (x *UpdateReferralSet) Reset() { 2144 *x = UpdateReferralSet{} 2145 if protoimpl.UnsafeEnabled { 2146 mi := &file_vega_commands_v1_commands_proto_msgTypes[25] 2147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2148 ms.StoreMessageInfo(mi) 2149 } 2150 } 2151 2152 func (x *UpdateReferralSet) String() string { 2153 return protoimpl.X.MessageStringOf(x) 2154 } 2155 2156 func (*UpdateReferralSet) ProtoMessage() {} 2157 2158 func (x *UpdateReferralSet) ProtoReflect() protoreflect.Message { 2159 mi := &file_vega_commands_v1_commands_proto_msgTypes[25] 2160 if protoimpl.UnsafeEnabled && x != nil { 2161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2162 if ms.LoadMessageInfo() == nil { 2163 ms.StoreMessageInfo(mi) 2164 } 2165 return ms 2166 } 2167 return mi.MessageOf(x) 2168 } 2169 2170 // Deprecated: Use UpdateReferralSet.ProtoReflect.Descriptor instead. 2171 func (*UpdateReferralSet) Descriptor() ([]byte, []int) { 2172 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{25} 2173 } 2174 2175 func (x *UpdateReferralSet) GetId() string { 2176 if x != nil { 2177 return x.Id 2178 } 2179 return "" 2180 } 2181 2182 func (x *UpdateReferralSet) GetIsTeam() bool { 2183 if x != nil { 2184 return x.IsTeam 2185 } 2186 return false 2187 } 2188 2189 func (x *UpdateReferralSet) GetTeam() *UpdateReferralSet_Team { 2190 if x != nil { 2191 return x.Team 2192 } 2193 return nil 2194 } 2195 2196 // Command that allows the submitter to join a referral set and earn a collective reduction in fees based on the activity of all members of that set. 2197 // A party that joins a referral set is called a referee. A referee can only be a member of one referral set and cannot themselves be or become a referrer. 2198 // To switch to another referral set, a subsequent command can be sent and the switch will take effect at the end of the epoch. 2199 type ApplyReferralCode struct { 2200 state protoimpl.MessageState 2201 sizeCache protoimpl.SizeCache 2202 unknownFields protoimpl.UnknownFields 2203 2204 // Referral code, normally the referral set ID, for the party to join. 2205 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 2206 // Should the key applying the referral code also join the team. 2207 // the default is false so the existing behaviour is kept if older versions of the protobufs are used. 2208 DoNotJoinTeam bool `protobuf:"varint,2,opt,name=do_not_join_team,json=doNotJoinTeam,proto3" json:"do_not_join_team,omitempty"` 2209 } 2210 2211 func (x *ApplyReferralCode) Reset() { 2212 *x = ApplyReferralCode{} 2213 if protoimpl.UnsafeEnabled { 2214 mi := &file_vega_commands_v1_commands_proto_msgTypes[26] 2215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2216 ms.StoreMessageInfo(mi) 2217 } 2218 } 2219 2220 func (x *ApplyReferralCode) String() string { 2221 return protoimpl.X.MessageStringOf(x) 2222 } 2223 2224 func (*ApplyReferralCode) ProtoMessage() {} 2225 2226 func (x *ApplyReferralCode) ProtoReflect() protoreflect.Message { 2227 mi := &file_vega_commands_v1_commands_proto_msgTypes[26] 2228 if protoimpl.UnsafeEnabled && x != nil { 2229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2230 if ms.LoadMessageInfo() == nil { 2231 ms.StoreMessageInfo(mi) 2232 } 2233 return ms 2234 } 2235 return mi.MessageOf(x) 2236 } 2237 2238 // Deprecated: Use ApplyReferralCode.ProtoReflect.Descriptor instead. 2239 func (*ApplyReferralCode) Descriptor() ([]byte, []int) { 2240 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{26} 2241 } 2242 2243 func (x *ApplyReferralCode) GetId() string { 2244 if x != nil { 2245 return x.Id 2246 } 2247 return "" 2248 } 2249 2250 func (x *ApplyReferralCode) GetDoNotJoinTeam() bool { 2251 if x != nil { 2252 return x.DoNotJoinTeam 2253 } 2254 return false 2255 } 2256 2257 // Command that allows the submitter to join a team or change teams if they are already a member of a team. 2258 type JoinTeam struct { 2259 state protoimpl.MessageState 2260 sizeCache protoimpl.SizeCache 2261 unknownFields protoimpl.UnknownFields 2262 2263 // ID of the team to join, this is the same as the referral code used to generate the team. 2264 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 2265 } 2266 2267 func (x *JoinTeam) Reset() { 2268 *x = JoinTeam{} 2269 if protoimpl.UnsafeEnabled { 2270 mi := &file_vega_commands_v1_commands_proto_msgTypes[27] 2271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2272 ms.StoreMessageInfo(mi) 2273 } 2274 } 2275 2276 func (x *JoinTeam) String() string { 2277 return protoimpl.X.MessageStringOf(x) 2278 } 2279 2280 func (*JoinTeam) ProtoMessage() {} 2281 2282 func (x *JoinTeam) ProtoReflect() protoreflect.Message { 2283 mi := &file_vega_commands_v1_commands_proto_msgTypes[27] 2284 if protoimpl.UnsafeEnabled && x != nil { 2285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2286 if ms.LoadMessageInfo() == nil { 2287 ms.StoreMessageInfo(mi) 2288 } 2289 return ms 2290 } 2291 return mi.MessageOf(x) 2292 } 2293 2294 // Deprecated: Use JoinTeam.ProtoReflect.Descriptor instead. 2295 func (*JoinTeam) Descriptor() ([]byte, []int) { 2296 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{27} 2297 } 2298 2299 func (x *JoinTeam) GetId() string { 2300 if x != nil { 2301 return x.Id 2302 } 2303 return "" 2304 } 2305 2306 // Command to associate metadata to a public key, known as a party ID. 2307 // Partial update is not supported, meaning previous values must be included in 2308 // the update, otherwise they are removed. 2309 type UpdatePartyProfile struct { 2310 state protoimpl.MessageState 2311 sizeCache protoimpl.SizeCache 2312 unknownFields protoimpl.UnknownFields 2313 2314 // Alias given to the party. It must be unique network-wide. 2315 Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"` 2316 // Freeform data to associate to the party. 2317 // Support a maximum of 10 entries. 2318 Metadata []*vega.Metadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"` 2319 } 2320 2321 func (x *UpdatePartyProfile) Reset() { 2322 *x = UpdatePartyProfile{} 2323 if protoimpl.UnsafeEnabled { 2324 mi := &file_vega_commands_v1_commands_proto_msgTypes[28] 2325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2326 ms.StoreMessageInfo(mi) 2327 } 2328 } 2329 2330 func (x *UpdatePartyProfile) String() string { 2331 return protoimpl.X.MessageStringOf(x) 2332 } 2333 2334 func (*UpdatePartyProfile) ProtoMessage() {} 2335 2336 func (x *UpdatePartyProfile) ProtoReflect() protoreflect.Message { 2337 mi := &file_vega_commands_v1_commands_proto_msgTypes[28] 2338 if protoimpl.UnsafeEnabled && x != nil { 2339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2340 if ms.LoadMessageInfo() == nil { 2341 ms.StoreMessageInfo(mi) 2342 } 2343 return ms 2344 } 2345 return mi.MessageOf(x) 2346 } 2347 2348 // Deprecated: Use UpdatePartyProfile.ProtoReflect.Descriptor instead. 2349 func (*UpdatePartyProfile) Descriptor() ([]byte, []int) { 2350 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{28} 2351 } 2352 2353 func (x *UpdatePartyProfile) GetAlias() string { 2354 if x != nil { 2355 return x.Alias 2356 } 2357 return "" 2358 } 2359 2360 func (x *UpdatePartyProfile) GetMetadata() []*vega.Metadata { 2361 if x != nil { 2362 return x.Metadata 2363 } 2364 return nil 2365 } 2366 2367 // Command to create an automated market maker for a given market. 2368 type SubmitAMM struct { 2369 state protoimpl.MessageState 2370 sizeCache protoimpl.SizeCache 2371 unknownFields protoimpl.UnknownFields 2372 2373 // Market ID for which to create an AMM. 2374 MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 2375 // Amount to be committed to the AMM. 2376 CommitmentAmount string `protobuf:"bytes,2,opt,name=commitment_amount,json=commitmentAmount,proto3" json:"commitment_amount,omitempty"` 2377 // Slippage tolerance used for rebasing the AMM if its base price crosses with existing order 2378 SlippageTolerance string `protobuf:"bytes,3,opt,name=slippage_tolerance,json=slippageTolerance,proto3" json:"slippage_tolerance,omitempty"` 2379 // Concentrated liquidity parameters defining the shape of the AMM's volume curves. 2380 ConcentratedLiquidityParameters *SubmitAMM_ConcentratedLiquidityParameters `protobuf:"bytes,4,opt,name=concentrated_liquidity_parameters,json=concentratedLiquidityParameters,proto3" json:"concentrated_liquidity_parameters,omitempty"` 2381 // Nominated liquidity fee factor, which is an input to the calculation of taker fees on the market. 2382 ProposedFee string `protobuf:"bytes,5,opt,name=proposed_fee,json=proposedFee,proto3" json:"proposed_fee,omitempty"` 2383 // An AMM with an oracle driven base price will only be updated if abs(new-base-price / old-base-price - 1) >= minimum_price_change_trigger. 2384 MinimumPriceChangeTrigger *string `protobuf:"bytes,7,opt,name=minimum_price_change_trigger,json=minimumPriceChangeTrigger,proto3,oneof" json:"minimum_price_change_trigger,omitempty"` 2385 } 2386 2387 func (x *SubmitAMM) Reset() { 2388 *x = SubmitAMM{} 2389 if protoimpl.UnsafeEnabled { 2390 mi := &file_vega_commands_v1_commands_proto_msgTypes[29] 2391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2392 ms.StoreMessageInfo(mi) 2393 } 2394 } 2395 2396 func (x *SubmitAMM) String() string { 2397 return protoimpl.X.MessageStringOf(x) 2398 } 2399 2400 func (*SubmitAMM) ProtoMessage() {} 2401 2402 func (x *SubmitAMM) ProtoReflect() protoreflect.Message { 2403 mi := &file_vega_commands_v1_commands_proto_msgTypes[29] 2404 if protoimpl.UnsafeEnabled && x != nil { 2405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2406 if ms.LoadMessageInfo() == nil { 2407 ms.StoreMessageInfo(mi) 2408 } 2409 return ms 2410 } 2411 return mi.MessageOf(x) 2412 } 2413 2414 // Deprecated: Use SubmitAMM.ProtoReflect.Descriptor instead. 2415 func (*SubmitAMM) Descriptor() ([]byte, []int) { 2416 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{29} 2417 } 2418 2419 func (x *SubmitAMM) GetMarketId() string { 2420 if x != nil { 2421 return x.MarketId 2422 } 2423 return "" 2424 } 2425 2426 func (x *SubmitAMM) GetCommitmentAmount() string { 2427 if x != nil { 2428 return x.CommitmentAmount 2429 } 2430 return "" 2431 } 2432 2433 func (x *SubmitAMM) GetSlippageTolerance() string { 2434 if x != nil { 2435 return x.SlippageTolerance 2436 } 2437 return "" 2438 } 2439 2440 func (x *SubmitAMM) GetConcentratedLiquidityParameters() *SubmitAMM_ConcentratedLiquidityParameters { 2441 if x != nil { 2442 return x.ConcentratedLiquidityParameters 2443 } 2444 return nil 2445 } 2446 2447 func (x *SubmitAMM) GetProposedFee() string { 2448 if x != nil { 2449 return x.ProposedFee 2450 } 2451 return "" 2452 } 2453 2454 func (x *SubmitAMM) GetMinimumPriceChangeTrigger() string { 2455 if x != nil && x.MinimumPriceChangeTrigger != nil { 2456 return *x.MinimumPriceChangeTrigger 2457 } 2458 return "" 2459 } 2460 2461 // Command to amend an existing automated market maker on a market. 2462 type AmendAMM struct { 2463 state protoimpl.MessageState 2464 sizeCache protoimpl.SizeCache 2465 unknownFields protoimpl.UnknownFields 2466 2467 // Market ID for the AMM to be amended. 2468 MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 2469 // Amount to be committed to the AMM. If not supplied the commitment will remain unchanged. 2470 CommitmentAmount *string `protobuf:"bytes,2,opt,name=commitment_amount,json=commitmentAmount,proto3,oneof" json:"commitment_amount,omitempty"` 2471 // Slippage tolerance for rebasing position when updating the AMM. 2472 SlippageTolerance string `protobuf:"bytes,3,opt,name=slippage_tolerance,json=slippageTolerance,proto3" json:"slippage_tolerance,omitempty"` 2473 // Concentrated liquidity parameters defining the shape of the AMM's volume curves. If not supplied the parameters will remain unchanged. 2474 ConcentratedLiquidityParameters *AmendAMM_ConcentratedLiquidityParameters `protobuf:"bytes,4,opt,name=concentrated_liquidity_parameters,json=concentratedLiquidityParameters,proto3,oneof" json:"concentrated_liquidity_parameters,omitempty"` 2475 // Nominated liquidity fee factor, which is an input to the calculation of taker fees on the market. If not supplied the proposed fee will remain unchanged. 2476 ProposedFee *string `protobuf:"bytes,5,opt,name=proposed_fee,json=proposedFee,proto3,oneof" json:"proposed_fee,omitempty"` 2477 // An AMM with an oracle driven base price will only be updated if abs(new-base-price / old-base-price - 1) >= minimum_price_change_trigger. 2478 MinimumPriceChangeTrigger *string `protobuf:"bytes,7,opt,name=minimum_price_change_trigger,json=minimumPriceChangeTrigger,proto3,oneof" json:"minimum_price_change_trigger,omitempty"` 2479 } 2480 2481 func (x *AmendAMM) Reset() { 2482 *x = AmendAMM{} 2483 if protoimpl.UnsafeEnabled { 2484 mi := &file_vega_commands_v1_commands_proto_msgTypes[30] 2485 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2486 ms.StoreMessageInfo(mi) 2487 } 2488 } 2489 2490 func (x *AmendAMM) String() string { 2491 return protoimpl.X.MessageStringOf(x) 2492 } 2493 2494 func (*AmendAMM) ProtoMessage() {} 2495 2496 func (x *AmendAMM) ProtoReflect() protoreflect.Message { 2497 mi := &file_vega_commands_v1_commands_proto_msgTypes[30] 2498 if protoimpl.UnsafeEnabled && x != nil { 2499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2500 if ms.LoadMessageInfo() == nil { 2501 ms.StoreMessageInfo(mi) 2502 } 2503 return ms 2504 } 2505 return mi.MessageOf(x) 2506 } 2507 2508 // Deprecated: Use AmendAMM.ProtoReflect.Descriptor instead. 2509 func (*AmendAMM) Descriptor() ([]byte, []int) { 2510 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{30} 2511 } 2512 2513 func (x *AmendAMM) GetMarketId() string { 2514 if x != nil { 2515 return x.MarketId 2516 } 2517 return "" 2518 } 2519 2520 func (x *AmendAMM) GetCommitmentAmount() string { 2521 if x != nil && x.CommitmentAmount != nil { 2522 return *x.CommitmentAmount 2523 } 2524 return "" 2525 } 2526 2527 func (x *AmendAMM) GetSlippageTolerance() string { 2528 if x != nil { 2529 return x.SlippageTolerance 2530 } 2531 return "" 2532 } 2533 2534 func (x *AmendAMM) GetConcentratedLiquidityParameters() *AmendAMM_ConcentratedLiquidityParameters { 2535 if x != nil { 2536 return x.ConcentratedLiquidityParameters 2537 } 2538 return nil 2539 } 2540 2541 func (x *AmendAMM) GetProposedFee() string { 2542 if x != nil && x.ProposedFee != nil { 2543 return *x.ProposedFee 2544 } 2545 return "" 2546 } 2547 2548 func (x *AmendAMM) GetMinimumPriceChangeTrigger() string { 2549 if x != nil && x.MinimumPriceChangeTrigger != nil { 2550 return *x.MinimumPriceChangeTrigger 2551 } 2552 return "" 2553 } 2554 2555 // Command to cancel an automated market maker for a given market. 2556 type CancelAMM struct { 2557 state protoimpl.MessageState 2558 sizeCache protoimpl.SizeCache 2559 unknownFields protoimpl.UnknownFields 2560 2561 // Market ID to cancel an AMM for. 2562 MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 2563 // Method to use to cancel the AMM. 2564 Method CancelAMM_Method `protobuf:"varint,2,opt,name=method,proto3,enum=vega.commands.v1.CancelAMM_Method" json:"method,omitempty"` 2565 } 2566 2567 func (x *CancelAMM) Reset() { 2568 *x = CancelAMM{} 2569 if protoimpl.UnsafeEnabled { 2570 mi := &file_vega_commands_v1_commands_proto_msgTypes[31] 2571 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2572 ms.StoreMessageInfo(mi) 2573 } 2574 } 2575 2576 func (x *CancelAMM) String() string { 2577 return protoimpl.X.MessageStringOf(x) 2578 } 2579 2580 func (*CancelAMM) ProtoMessage() {} 2581 2582 func (x *CancelAMM) ProtoReflect() protoreflect.Message { 2583 mi := &file_vega_commands_v1_commands_proto_msgTypes[31] 2584 if protoimpl.UnsafeEnabled && x != nil { 2585 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2586 if ms.LoadMessageInfo() == nil { 2587 ms.StoreMessageInfo(mi) 2588 } 2589 return ms 2590 } 2591 return mi.MessageOf(x) 2592 } 2593 2594 // Deprecated: Use CancelAMM.ProtoReflect.Descriptor instead. 2595 func (*CancelAMM) Descriptor() ([]byte, []int) { 2596 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{31} 2597 } 2598 2599 func (x *CancelAMM) GetMarketId() string { 2600 if x != nil { 2601 return x.MarketId 2602 } 2603 return "" 2604 } 2605 2606 func (x *CancelAMM) GetMethod() CancelAMM_Method { 2607 if x != nil { 2608 return x.Method 2609 } 2610 return CancelAMM_METHOD_UNSPECIFIED 2611 } 2612 2613 // Internal transactions used to convey delayed transactions to be included in the next block. 2614 type DelayedTransactionsWrapper struct { 2615 state protoimpl.MessageState 2616 sizeCache protoimpl.SizeCache 2617 unknownFields protoimpl.UnknownFields 2618 2619 Transactions [][]byte `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` 2620 Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` 2621 } 2622 2623 func (x *DelayedTransactionsWrapper) Reset() { 2624 *x = DelayedTransactionsWrapper{} 2625 if protoimpl.UnsafeEnabled { 2626 mi := &file_vega_commands_v1_commands_proto_msgTypes[32] 2627 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2628 ms.StoreMessageInfo(mi) 2629 } 2630 } 2631 2632 func (x *DelayedTransactionsWrapper) String() string { 2633 return protoimpl.X.MessageStringOf(x) 2634 } 2635 2636 func (*DelayedTransactionsWrapper) ProtoMessage() {} 2637 2638 func (x *DelayedTransactionsWrapper) ProtoReflect() protoreflect.Message { 2639 mi := &file_vega_commands_v1_commands_proto_msgTypes[32] 2640 if protoimpl.UnsafeEnabled && x != nil { 2641 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2642 if ms.LoadMessageInfo() == nil { 2643 ms.StoreMessageInfo(mi) 2644 } 2645 return ms 2646 } 2647 return mi.MessageOf(x) 2648 } 2649 2650 // Deprecated: Use DelayedTransactionsWrapper.ProtoReflect.Descriptor instead. 2651 func (*DelayedTransactionsWrapper) Descriptor() ([]byte, []int) { 2652 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{32} 2653 } 2654 2655 func (x *DelayedTransactionsWrapper) GetTransactions() [][]byte { 2656 if x != nil { 2657 return x.Transactions 2658 } 2659 return nil 2660 } 2661 2662 func (x *DelayedTransactionsWrapper) GetHeight() uint64 { 2663 if x != nil { 2664 return x.Height 2665 } 2666 return 0 2667 } 2668 2669 type CreateReferralSet_Team struct { 2670 state protoimpl.MessageState 2671 sizeCache protoimpl.SizeCache 2672 unknownFields protoimpl.UnknownFields 2673 2674 // Name of the team. 2675 Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` 2676 // External link to the team's homepage. 2677 TeamUrl *string `protobuf:"bytes,11,opt,name=team_url,json=teamUrl,proto3,oneof" json:"team_url,omitempty"` 2678 // External link to an avatar for the team. 2679 AvatarUrl *string `protobuf:"bytes,12,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"` 2680 // Whether or not the team is closed to new party members. 2681 Closed bool `protobuf:"varint,13,opt,name=closed,proto3" json:"closed,omitempty"` 2682 // List of public keys that are allowed to join the team. 2683 // Only applicable to closed teams. Removing a party from the allow list does not remove 2684 // the party from the team. 2685 AllowList []string `protobuf:"bytes,14,rep,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"` 2686 } 2687 2688 func (x *CreateReferralSet_Team) Reset() { 2689 *x = CreateReferralSet_Team{} 2690 if protoimpl.UnsafeEnabled { 2691 mi := &file_vega_commands_v1_commands_proto_msgTypes[33] 2692 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2693 ms.StoreMessageInfo(mi) 2694 } 2695 } 2696 2697 func (x *CreateReferralSet_Team) String() string { 2698 return protoimpl.X.MessageStringOf(x) 2699 } 2700 2701 func (*CreateReferralSet_Team) ProtoMessage() {} 2702 2703 func (x *CreateReferralSet_Team) ProtoReflect() protoreflect.Message { 2704 mi := &file_vega_commands_v1_commands_proto_msgTypes[33] 2705 if protoimpl.UnsafeEnabled && x != nil { 2706 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2707 if ms.LoadMessageInfo() == nil { 2708 ms.StoreMessageInfo(mi) 2709 } 2710 return ms 2711 } 2712 return mi.MessageOf(x) 2713 } 2714 2715 // Deprecated: Use CreateReferralSet_Team.ProtoReflect.Descriptor instead. 2716 func (*CreateReferralSet_Team) Descriptor() ([]byte, []int) { 2717 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{24, 0} 2718 } 2719 2720 func (x *CreateReferralSet_Team) GetName() string { 2721 if x != nil { 2722 return x.Name 2723 } 2724 return "" 2725 } 2726 2727 func (x *CreateReferralSet_Team) GetTeamUrl() string { 2728 if x != nil && x.TeamUrl != nil { 2729 return *x.TeamUrl 2730 } 2731 return "" 2732 } 2733 2734 func (x *CreateReferralSet_Team) GetAvatarUrl() string { 2735 if x != nil && x.AvatarUrl != nil { 2736 return *x.AvatarUrl 2737 } 2738 return "" 2739 } 2740 2741 func (x *CreateReferralSet_Team) GetClosed() bool { 2742 if x != nil { 2743 return x.Closed 2744 } 2745 return false 2746 } 2747 2748 func (x *CreateReferralSet_Team) GetAllowList() []string { 2749 if x != nil { 2750 return x.AllowList 2751 } 2752 return nil 2753 } 2754 2755 type UpdateReferralSet_Team struct { 2756 state protoimpl.MessageState 2757 sizeCache protoimpl.SizeCache 2758 unknownFields protoimpl.UnknownFields 2759 2760 // New name of the team. 2761 Name *string `protobuf:"bytes,10,opt,name=name,proto3,oneof" json:"name,omitempty"` 2762 // New link to the team's homepage. 2763 TeamUrl *string `protobuf:"bytes,11,opt,name=team_url,json=teamUrl,proto3,oneof" json:"team_url,omitempty"` 2764 // New link to an avatar for the team. 2765 AvatarUrl *string `protobuf:"bytes,12,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"` 2766 // Whether or not the team is closed to new party members. When closed, only parties specified in the allow list can 2767 // join the team. 2768 Closed *bool `protobuf:"varint,13,opt,name=closed,proto3,oneof" json:"closed,omitempty"` 2769 // List of public keys that are allowed to join the team. 2770 // Only applicable to closed teams. Removing a party from the allow list does not remove 2771 // the party from the team. 2772 AllowList []string `protobuf:"bytes,14,rep,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"` 2773 } 2774 2775 func (x *UpdateReferralSet_Team) Reset() { 2776 *x = UpdateReferralSet_Team{} 2777 if protoimpl.UnsafeEnabled { 2778 mi := &file_vega_commands_v1_commands_proto_msgTypes[34] 2779 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2780 ms.StoreMessageInfo(mi) 2781 } 2782 } 2783 2784 func (x *UpdateReferralSet_Team) String() string { 2785 return protoimpl.X.MessageStringOf(x) 2786 } 2787 2788 func (*UpdateReferralSet_Team) ProtoMessage() {} 2789 2790 func (x *UpdateReferralSet_Team) ProtoReflect() protoreflect.Message { 2791 mi := &file_vega_commands_v1_commands_proto_msgTypes[34] 2792 if protoimpl.UnsafeEnabled && x != nil { 2793 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2794 if ms.LoadMessageInfo() == nil { 2795 ms.StoreMessageInfo(mi) 2796 } 2797 return ms 2798 } 2799 return mi.MessageOf(x) 2800 } 2801 2802 // Deprecated: Use UpdateReferralSet_Team.ProtoReflect.Descriptor instead. 2803 func (*UpdateReferralSet_Team) Descriptor() ([]byte, []int) { 2804 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{25, 0} 2805 } 2806 2807 func (x *UpdateReferralSet_Team) GetName() string { 2808 if x != nil && x.Name != nil { 2809 return *x.Name 2810 } 2811 return "" 2812 } 2813 2814 func (x *UpdateReferralSet_Team) GetTeamUrl() string { 2815 if x != nil && x.TeamUrl != nil { 2816 return *x.TeamUrl 2817 } 2818 return "" 2819 } 2820 2821 func (x *UpdateReferralSet_Team) GetAvatarUrl() string { 2822 if x != nil && x.AvatarUrl != nil { 2823 return *x.AvatarUrl 2824 } 2825 return "" 2826 } 2827 2828 func (x *UpdateReferralSet_Team) GetClosed() bool { 2829 if x != nil && x.Closed != nil { 2830 return *x.Closed 2831 } 2832 return false 2833 } 2834 2835 func (x *UpdateReferralSet_Team) GetAllowList() []string { 2836 if x != nil { 2837 return x.AllowList 2838 } 2839 return nil 2840 } 2841 2842 // Liquidity parameters that define the size and range of the AMM's tradeable volume. 2843 type SubmitAMM_ConcentratedLiquidityParameters struct { 2844 state protoimpl.MessageState 2845 sizeCache protoimpl.SizeCache 2846 unknownFields protoimpl.UnknownFields 2847 2848 // Price at which the AMM will stop quoting sell volume. If not supplied the AMM will never hold a short position. 2849 UpperBound *string `protobuf:"bytes,1,opt,name=upper_bound,json=upperBound,proto3,oneof" json:"upper_bound,omitempty"` 2850 // Price at which the AMM will stop quoting buy volume. If not supplied the AMM will never hold a long position. 2851 LowerBound *string `protobuf:"bytes,2,opt,name=lower_bound,json=lowerBound,proto3,oneof" json:"lower_bound,omitempty"` 2852 // Price that the AMM will quote as its "fair price" when its position is zero. 2853 Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"` 2854 // Leverage at upper bound. If not set the markets risk-factors will be used to calculate leverage. 2855 LeverageAtUpperBound *string `protobuf:"bytes,4,opt,name=leverage_at_upper_bound,json=leverageAtUpperBound,proto3,oneof" json:"leverage_at_upper_bound,omitempty"` 2856 // Leverage at lower bound. If not set the markets risk-factors will be used to calculate leverage. 2857 LeverageAtLowerBound *string `protobuf:"bytes,5,opt,name=leverage_at_lower_bound,json=leverageAtLowerBound,proto3,oneof" json:"leverage_at_lower_bound,omitempty"` 2858 // ID of a data source already used by the market which will be used as the base price for the AMM. 2859 DataSourceId *string `protobuf:"bytes,6,opt,name=data_source_id,json=dataSourceId,proto3,oneof" json:"data_source_id,omitempty"` 2860 } 2861 2862 func (x *SubmitAMM_ConcentratedLiquidityParameters) Reset() { 2863 *x = SubmitAMM_ConcentratedLiquidityParameters{} 2864 if protoimpl.UnsafeEnabled { 2865 mi := &file_vega_commands_v1_commands_proto_msgTypes[35] 2866 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2867 ms.StoreMessageInfo(mi) 2868 } 2869 } 2870 2871 func (x *SubmitAMM_ConcentratedLiquidityParameters) String() string { 2872 return protoimpl.X.MessageStringOf(x) 2873 } 2874 2875 func (*SubmitAMM_ConcentratedLiquidityParameters) ProtoMessage() {} 2876 2877 func (x *SubmitAMM_ConcentratedLiquidityParameters) ProtoReflect() protoreflect.Message { 2878 mi := &file_vega_commands_v1_commands_proto_msgTypes[35] 2879 if protoimpl.UnsafeEnabled && x != nil { 2880 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2881 if ms.LoadMessageInfo() == nil { 2882 ms.StoreMessageInfo(mi) 2883 } 2884 return ms 2885 } 2886 return mi.MessageOf(x) 2887 } 2888 2889 // Deprecated: Use SubmitAMM_ConcentratedLiquidityParameters.ProtoReflect.Descriptor instead. 2890 func (*SubmitAMM_ConcentratedLiquidityParameters) Descriptor() ([]byte, []int) { 2891 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{29, 0} 2892 } 2893 2894 func (x *SubmitAMM_ConcentratedLiquidityParameters) GetUpperBound() string { 2895 if x != nil && x.UpperBound != nil { 2896 return *x.UpperBound 2897 } 2898 return "" 2899 } 2900 2901 func (x *SubmitAMM_ConcentratedLiquidityParameters) GetLowerBound() string { 2902 if x != nil && x.LowerBound != nil { 2903 return *x.LowerBound 2904 } 2905 return "" 2906 } 2907 2908 func (x *SubmitAMM_ConcentratedLiquidityParameters) GetBase() string { 2909 if x != nil { 2910 return x.Base 2911 } 2912 return "" 2913 } 2914 2915 func (x *SubmitAMM_ConcentratedLiquidityParameters) GetLeverageAtUpperBound() string { 2916 if x != nil && x.LeverageAtUpperBound != nil { 2917 return *x.LeverageAtUpperBound 2918 } 2919 return "" 2920 } 2921 2922 func (x *SubmitAMM_ConcentratedLiquidityParameters) GetLeverageAtLowerBound() string { 2923 if x != nil && x.LeverageAtLowerBound != nil { 2924 return *x.LeverageAtLowerBound 2925 } 2926 return "" 2927 } 2928 2929 func (x *SubmitAMM_ConcentratedLiquidityParameters) GetDataSourceId() string { 2930 if x != nil && x.DataSourceId != nil { 2931 return *x.DataSourceId 2932 } 2933 return "" 2934 } 2935 2936 // Liquidity parameters that define the size and range of the AMM's tradeable volume. 2937 type AmendAMM_ConcentratedLiquidityParameters struct { 2938 state protoimpl.MessageState 2939 sizeCache protoimpl.SizeCache 2940 unknownFields protoimpl.UnknownFields 2941 2942 // Price at which the AMM will stop quoting sell volume. If not supplied the AMM will never hold a short position. 2943 UpperBound *string `protobuf:"bytes,1,opt,name=upper_bound,json=upperBound,proto3,oneof" json:"upper_bound,omitempty"` 2944 // Price at which the AMM will stop quoting buy volume. If not supplied the AMM will never hold a long position. 2945 LowerBound *string `protobuf:"bytes,2,opt,name=lower_bound,json=lowerBound,proto3,oneof" json:"lower_bound,omitempty"` 2946 // Price that the AMM will quote as its "fair price" when its position is zero. 2947 Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"` 2948 // Leverage at upper bound. If not set the markets risk-factors will be used to calculate leverage. 2949 LeverageAtUpperBound *string `protobuf:"bytes,4,opt,name=leverage_at_upper_bound,json=leverageAtUpperBound,proto3,oneof" json:"leverage_at_upper_bound,omitempty"` 2950 // Leverage at lower bound. If not set the markets risk-factors will be used to calculate leverage. 2951 LeverageAtLowerBound *string `protobuf:"bytes,5,opt,name=leverage_at_lower_bound,json=leverageAtLowerBound,proto3,oneof" json:"leverage_at_lower_bound,omitempty"` 2952 // ID of a data source already used by the market which will be used as the base price for the AMM. 2953 DataSourceId *string `protobuf:"bytes,6,opt,name=data_source_id,json=dataSourceId,proto3,oneof" json:"data_source_id,omitempty"` 2954 } 2955 2956 func (x *AmendAMM_ConcentratedLiquidityParameters) Reset() { 2957 *x = AmendAMM_ConcentratedLiquidityParameters{} 2958 if protoimpl.UnsafeEnabled { 2959 mi := &file_vega_commands_v1_commands_proto_msgTypes[36] 2960 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2961 ms.StoreMessageInfo(mi) 2962 } 2963 } 2964 2965 func (x *AmendAMM_ConcentratedLiquidityParameters) String() string { 2966 return protoimpl.X.MessageStringOf(x) 2967 } 2968 2969 func (*AmendAMM_ConcentratedLiquidityParameters) ProtoMessage() {} 2970 2971 func (x *AmendAMM_ConcentratedLiquidityParameters) ProtoReflect() protoreflect.Message { 2972 mi := &file_vega_commands_v1_commands_proto_msgTypes[36] 2973 if protoimpl.UnsafeEnabled && x != nil { 2974 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2975 if ms.LoadMessageInfo() == nil { 2976 ms.StoreMessageInfo(mi) 2977 } 2978 return ms 2979 } 2980 return mi.MessageOf(x) 2981 } 2982 2983 // Deprecated: Use AmendAMM_ConcentratedLiquidityParameters.ProtoReflect.Descriptor instead. 2984 func (*AmendAMM_ConcentratedLiquidityParameters) Descriptor() ([]byte, []int) { 2985 return file_vega_commands_v1_commands_proto_rawDescGZIP(), []int{30, 0} 2986 } 2987 2988 func (x *AmendAMM_ConcentratedLiquidityParameters) GetUpperBound() string { 2989 if x != nil && x.UpperBound != nil { 2990 return *x.UpperBound 2991 } 2992 return "" 2993 } 2994 2995 func (x *AmendAMM_ConcentratedLiquidityParameters) GetLowerBound() string { 2996 if x != nil && x.LowerBound != nil { 2997 return *x.LowerBound 2998 } 2999 return "" 3000 } 3001 3002 func (x *AmendAMM_ConcentratedLiquidityParameters) GetBase() string { 3003 if x != nil { 3004 return x.Base 3005 } 3006 return "" 3007 } 3008 3009 func (x *AmendAMM_ConcentratedLiquidityParameters) GetLeverageAtUpperBound() string { 3010 if x != nil && x.LeverageAtUpperBound != nil { 3011 return *x.LeverageAtUpperBound 3012 } 3013 return "" 3014 } 3015 3016 func (x *AmendAMM_ConcentratedLiquidityParameters) GetLeverageAtLowerBound() string { 3017 if x != nil && x.LeverageAtLowerBound != nil { 3018 return *x.LeverageAtLowerBound 3019 } 3020 return "" 3021 } 3022 3023 func (x *AmendAMM_ConcentratedLiquidityParameters) GetDataSourceId() string { 3024 if x != nil && x.DataSourceId != nil { 3025 return *x.DataSourceId 3026 } 3027 return "" 3028 } 3029 3030 var File_vega_commands_v1_commands_proto protoreflect.FileDescriptor 3031 3032 var file_vega_commands_v1_commands_proto_rawDesc = []byte{ 3033 0x0a, 0x1f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 3034 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 3035 0x6f, 0x12, 0x10, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 3036 0x2e, 0x76, 0x31, 0x1a, 0x29, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 3037 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 3038 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 3039 0x76, 0x65, 0x67, 0x61, 0x2f, 0x67, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 3040 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x76, 0x65, 0x67, 0x61, 3041 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x03, 0x0a, 0x17, 0x42, 0x61, 0x74, 0x63, 0x68, 3042 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 3043 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x0d, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 3044 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x65, 0x67, 0x61, 3045 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x64, 3046 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 3047 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 3048 0x0a, 0x61, 0x6d, 0x65, 0x6e, 0x64, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 3049 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 3050 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x6d, 0x65, 0x6e, 0x64, 0x6d, 3051 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x61, 0x6d, 0x65, 0x6e, 0x64, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 3052 0x43, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 3053 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 3054 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x62, 3055 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 3056 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x62, 0x0a, 0x18, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6f, 0x72, 0x64, 3057 0x65, 0x72, 0x73, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 3058 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 3059 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4f, 0x72, 3060 0x64, 0x65, 0x72, 0x73, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 3061 0x52, 0x16, 0x73, 0x74, 0x6f, 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x43, 0x61, 0x6e, 0x63, 3062 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x16, 0x73, 0x74, 0x6f, 0x70, 3063 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 3064 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 3065 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 3066 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 3067 0x52, 0x14, 0x73, 0x74, 0x6f, 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x53, 0x75, 0x62, 0x6d, 3068 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 3069 0x5f, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x03, 3070 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 3071 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x67, 3072 0x69, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 3073 0x72, 0x67, 0x69, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x6f, 3074 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 3075 0x6e, 0x12, 0x46, 0x0a, 0x0b, 0x72, 0x69, 0x73, 0x65, 0x73, 0x5f, 0x61, 0x62, 0x6f, 0x76, 0x65, 3076 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 3077 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4f, 0x72, 3078 0x64, 0x65, 0x72, 0x53, 0x65, 0x74, 0x75, 0x70, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x69, 0x73, 0x65, 3079 0x73, 0x41, 0x62, 0x6f, 0x76, 0x65, 0x88, 0x01, 0x01, 0x12, 0x46, 0x0a, 0x0b, 0x66, 0x61, 0x6c, 3080 0x6c, 0x73, 0x5f, 0x62, 0x65, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 3081 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 3082 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x65, 0x74, 0x75, 0x70, 3083 0x48, 0x01, 0x52, 0x0a, 0x66, 0x61, 0x6c, 0x6c, 0x73, 0x42, 0x65, 0x6c, 0x6f, 0x77, 0x88, 0x01, 3084 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x72, 0x69, 0x73, 0x65, 0x73, 0x5f, 0x61, 0x62, 0x6f, 0x76, 3085 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x66, 0x61, 0x6c, 0x6c, 0x73, 0x5f, 0x62, 0x65, 0x6c, 0x6f, 3086 0x77, 0x22, 0xb8, 0x04, 0x0a, 0x0e, 0x53, 0x74, 0x6f, 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 3087 0x65, 0x74, 0x75, 0x70, 0x12, 0x4c, 0x0a, 0x10, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x75, 3088 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 3089 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 3090 0x31, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 3091 0x6e, 0x52, 0x0f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 3092 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 3093 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 3094 0x73, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x4c, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 3095 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 3096 0x1e, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 3097 0x2e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x48, 3098 0x02, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 3099 0x79, 0x88, 0x01, 0x01, 0x12, 0x5c, 0x0a, 0x15, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6f, 0x76, 0x65, 3100 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 3101 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4f, 3102 0x72, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 3103 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x03, 0x52, 0x13, 0x73, 0x69, 0x7a, 0x65, 3104 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x88, 3105 0x01, 0x01, 0x12, 0x56, 0x0a, 0x13, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 3106 0x69, 0x64, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 3107 0x21, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 3108 0x2e, 0x53, 0x69, 0x7a, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x56, 0x61, 0x6c, 3109 0x75, 0x65, 0x48, 0x04, 0x52, 0x11, 0x73, 0x69, 0x7a, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 3110 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x05, 0x70, 0x72, 3111 0x69, 0x63, 0x65, 0x18, 0x64, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x70, 0x72, 0x69, 3112 0x63, 0x65, 0x12, 0x38, 0x0a, 0x17, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 3113 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x65, 0x20, 3114 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x15, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x50, 3115 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x42, 0x09, 0x0a, 0x07, 3116 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x65, 0x78, 0x70, 0x69, 3117 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 3118 0x79, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x73, 3119 0x69, 0x7a, 0x65, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x74, 3120 0x74, 0x69, 0x6e, 0x67, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6f, 0x76, 3121 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x83, 0x01, 0x0a, 3122 0x16, 0x53, 0x74, 0x6f, 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x43, 0x61, 0x6e, 0x63, 0x65, 3123 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 3124 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 3125 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 3126 0x70, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 3127 0x48, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x88, 3128 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 3129 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 3130 0x69, 0x64, 0x22, 0xe4, 0x03, 0x0a, 0x0f, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x62, 0x6d, 3131 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 3132 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 3133 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 3134 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 3135 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x0a, 3136 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x76, 0x65, 3137 0x67, 0x61, 0x2e, 0x53, 0x69, 0x64, 0x65, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65, 0x12, 0x3b, 0x0a, 3138 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x05, 3139 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x4f, 0x72, 0x64, 0x65, 3140 0x72, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x0b, 0x74, 3141 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 3142 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 3143 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x74, 0x79, 0x70, 3144 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x4f, 3145 0x72, 0x64, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 3146 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 3147 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x34, 0x0a, 3148 0x0c, 0x70, 0x65, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x09, 0x20, 3149 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x50, 0x65, 0x67, 0x67, 0x65, 3150 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x70, 0x65, 0x67, 0x67, 0x65, 0x64, 0x4f, 0x72, 3151 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 3152 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 3153 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 3154 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x4f, 0x6e, 0x6c, 3155 0x79, 0x12, 0x45, 0x0a, 0x0c, 0x69, 0x63, 0x65, 0x62, 0x65, 0x72, 0x67, 0x5f, 0x6f, 0x70, 0x74, 3156 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 3157 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x63, 0x65, 0x62, 0x65, 3158 0x72, 0x67, 0x4f, 0x70, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x69, 0x63, 0x65, 0x62, 0x65, 0x72, 3159 0x67, 0x4f, 0x70, 0x74, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x69, 0x63, 0x65, 3160 0x62, 0x65, 0x72, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x73, 0x22, 0x5c, 0x0a, 0x0b, 0x49, 0x63, 0x65, 3161 0x62, 0x65, 0x72, 0x67, 0x4f, 0x70, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x65, 0x61, 0x6b, 3162 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x65, 0x61, 3163 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 3164 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 3165 0x01, 0x28, 0x04, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x56, 0x69, 0x73, 0x69, 3166 0x62, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xf7, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 3167 0x74, 0x65, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 3168 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 3169 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 3170 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 3171 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 3172 0x65, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 3173 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 3174 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 3175 0x0c, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 3176 0x22, 0x4d, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 3177 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 3178 0x0a, 0x11, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x43, 0x52, 0x4f, 0x53, 0x53, 0x5f, 0x4d, 0x41, 0x52, 3179 0x47, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x53, 3180 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x4d, 0x41, 0x52, 0x47, 0x49, 0x4e, 0x10, 0x02, 0x42, 3181 0x10, 0x0a, 0x0e, 0x5f, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 3182 0x72, 0x22, 0x4b, 0x0a, 0x11, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 3183 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 3184 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 3185 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 3186 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x85, 3187 0x03, 0x0a, 0x0e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x6d, 0x65, 0x6e, 0x64, 0x6d, 0x65, 0x6e, 3188 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 3189 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 3190 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 3191 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x70, 0x72, 0x69, 3192 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 3193 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x64, 0x65, 0x6c, 3194 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x44, 0x65, 3195 0x6c, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 3196 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 3197 0x65, 0x73, 0x41, 0x74, 0x88, 0x01, 0x01, 0x12, 0x3b, 0x0a, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x5f, 3198 0x69, 0x6e, 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 3199 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x54, 0x69, 0x6d, 0x65, 3200 0x49, 0x6e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x46, 3201 0x6f, 0x72, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x65, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x6f, 3202 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x65, 0x67, 3203 0x67, 0x65, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x40, 0x0a, 0x10, 0x70, 0x65, 0x67, 3204 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 3205 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x50, 0x65, 0x67, 0x67, 0x65, 3206 0x64, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x70, 0x65, 0x67, 0x67, 3207 0x65, 0x64, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x73, 3208 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x48, 0x02, 0x52, 0x04, 0x73, 0x69, 0x7a, 3209 0x65, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x42, 0x0d, 3210 0x0a, 0x0b, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x42, 0x07, 0x0a, 3211 0x05, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x71, 0x75, 0x69, 3212 0x64, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x62, 3213 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 3214 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 3215 0x65, 0x74, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 3216 0x6e, 0x74, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 3217 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 3218 0x74, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 3219 0x66, 0x65, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 3220 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 3221 0x65, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x3d, 0x0a, 3222 0x1e, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 3223 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 3224 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 3225 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0xa3, 0x01, 0x0a, 3226 0x1b, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 3227 0x69, 0x6f, 0x6e, 0x41, 0x6d, 0x65, 0x6e, 0x64, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 3228 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 3229 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 3230 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 3231 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 3232 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x03, 0x20, 3233 0x01, 0x28, 0x09, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 3234 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 3235 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 3236 0x10, 0x06, 0x22, 0x67, 0x0a, 0x12, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x53, 0x75, 3237 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 3238 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 3239 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 3240 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x03, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 3241 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 3242 0x72, 0x61, 0x77, 0x45, 0x78, 0x74, 0x52, 0x03, 0x65, 0x78, 0x74, 0x22, 0x94, 0x01, 0x0a, 0x12, 3243 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 3244 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 3245 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 3246 0x12, 0x29, 0x0a, 0x05, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 3247 0x13, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x54, 3248 0x65, 0x72, 0x6d, 0x73, 0x52, 0x05, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x12, 0x35, 0x0a, 0x09, 0x72, 3249 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 3250 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x61, 3251 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x65, 0x52, 0x09, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 3252 0x6c, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x1c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x70, 3253 0x6f, 0x73, 0x61, 0x6c, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x65, 3254 0x72, 0x6d, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x74, 3255 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 3256 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 3257 0x12, 0x38, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 3258 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 3259 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 3260 0x65, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xb4, 0x01, 0x0a, 0x17, 0x42, 3261 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x53, 0x75, 0x62, 0x6d, 3262 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 3263 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 3264 0x65, 0x6e, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x05, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x02, 0x20, 3265 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 3266 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x70, 3267 0x6f, 0x73, 0x61, 0x6c, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x65, 3268 0x72, 0x6d, 0x73, 0x52, 0x05, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x12, 0x35, 0x0a, 0x09, 0x72, 0x61, 3269 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 3270 0x76, 0x65, 0x67, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x61, 0x74, 3271 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x65, 0x52, 0x09, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 3272 0x65, 0x22, 0x59, 0x0a, 0x0e, 0x56, 0x6f, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 3273 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 3274 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 3275 0x61, 0x6c, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 3276 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x2e, 3277 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x45, 0x0a, 0x12, 3278 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 3279 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 3280 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 3281 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 3282 0x75, 0x6e, 0x74, 0x22, 0xe2, 0x01, 0x0a, 0x14, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 3283 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 3284 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 3285 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 3286 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x45, 0x0a, 3287 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 3288 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 3289 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x69, 3290 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x06, 0x6d, 0x65, 3291 0x74, 0x68, 0x6f, 0x64, 0x22, 0x52, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x16, 3292 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 3293 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 3294 0x5f, 0x4e, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 3295 0x5f, 0x41, 0x54, 0x5f, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x46, 0x5f, 0x45, 0x50, 0x4f, 0x43, 0x48, 3296 0x10, 0x02, 0x22, 0x04, 0x08, 0x03, 0x10, 0x03, 0x22, 0x8c, 0x03, 0x0a, 0x08, 0x54, 0x72, 0x61, 3297 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x11, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x63, 3298 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 3299 0x32, 0x11, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 3300 0x79, 0x70, 0x65, 0x52, 0x0f, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 3301 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 3302 0x52, 0x02, 0x74, 0x6f, 0x12, 0x39, 0x0a, 0x0f, 0x74, 0x6f, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 3303 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 3304 0x76, 0x65, 0x67, 0x61, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 3305 0x52, 0x0d, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 3306 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 3307 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 3308 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 3309 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 3310 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x66, 3311 0x72, 0x6f, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x04, 0x66, 0x72, 0x6f, 3312 0x6d, 0x88, 0x01, 0x01, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x66, 0x66, 0x18, 3313 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 3314 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x65, 0x4f, 0x66, 0x66, 0x54, 3315 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x6f, 0x6e, 0x65, 0x4f, 0x66, 3316 0x66, 0x12, 0x43, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x66, 3317 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 3318 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x75, 0x72, 0x72, 0x69, 0x6e, 3319 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x63, 3320 0x75, 0x72, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x42, 0x07, 3321 0x0a, 0x05, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0x2f, 0x0a, 0x0e, 0x4f, 0x6e, 0x65, 0x4f, 0x66, 3322 0x66, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 3323 0x69, 0x76, 0x65, 0x72, 0x5f, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 3324 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x4f, 0x6e, 0x22, 0xc1, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x63, 3325 0x75, 0x72, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x1f, 3326 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 3327 0x01, 0x28, 0x04, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 3328 0x20, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 3329 0x28, 0x04, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 3330 0x01, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 3331 0x09, 0x52, 0x06, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x43, 0x0a, 0x11, 0x64, 0x69, 0x73, 3332 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x04, 3333 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x44, 0x69, 0x73, 0x70, 3334 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x10, 0x64, 0x69, 3335 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x42, 0x0c, 3336 0x0a, 0x0a, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x31, 0x0a, 0x0e, 3337 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x1f, 3338 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 3339 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, 0x64, 0x22, 3340 0xaf, 0x01, 0x0a, 0x0f, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 3341 0x72, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 3342 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 3343 0x72, 0x12, 0x37, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 3344 0x23, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 3345 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 3346 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x76, 0x61, 3347 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 3348 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 3349 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 3350 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 3351 0x64, 0x22, 0xe8, 0x02, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 3352 0x72, 0x72, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x74, 0x65, 3353 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x54, 0x65, 0x61, 0x6d, 3354 0x12, 0x41, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 3355 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 3356 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x72, 0x61, 0x6c, 3357 0x53, 0x65, 0x74, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 3358 0x88, 0x01, 0x01, 0x12, 0x3a, 0x0a, 0x1a, 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x63, 0x72, 3359 0x65, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x61, 0x6c, 0x5f, 0x73, 0x65, 3360 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x43, 0x72, 3361 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x72, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x1a, 3362 0xb1, 0x01, 0x0a, 0x04, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 3363 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x08, 3364 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 3365 0x52, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 3366 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 3367 0x48, 0x01, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 3368 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 3369 0x52, 0x06, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 3370 0x77, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x6c, 3371 0x6c, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x74, 0x65, 0x61, 0x6d, 3372 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 3373 0x75, 0x72, 0x6c, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x22, 0xda, 0x02, 0x0a, 3374 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x72, 0x61, 0x6c, 0x53, 3375 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 3376 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20, 3377 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x41, 0x0a, 0x04, 0x74, 3378 0x65, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x65, 0x67, 0x61, 3379 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 3380 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x72, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x2e, 0x54, 3381 0x65, 0x61, 0x6d, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x88, 0x01, 0x01, 0x1a, 0xcf, 3382 0x01, 0x0a, 0x04, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 3383 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 3384 0x12, 0x1e, 0x0a, 0x08, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0b, 0x20, 0x01, 3385 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 3386 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0c, 3387 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 3388 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x0d, 3389 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x06, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x88, 0x01, 3390 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 3391 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 3392 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x74, 0x65, 3393 0x61, 0x6d, 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 3394 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 3395 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x22, 0x4c, 0x0a, 0x11, 0x41, 0x70, 0x70, 3396 0x6c, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x72, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0e, 3397 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x27, 3398 0x0a, 0x10, 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x5f, 0x74, 0x65, 3399 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x4a, 3400 0x6f, 0x69, 0x6e, 0x54, 0x65, 0x61, 0x6d, 0x22, 0x1a, 0x0a, 0x08, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 3401 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 3402 0x02, 0x69, 0x64, 0x22, 0x56, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 3403 0x74, 0x79, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 3404 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 3405 0x2a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 3406 0x0b, 0x32, 0x0e, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 3407 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xaa, 0x06, 0x0a, 0x09, 3408 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x41, 0x4d, 0x4d, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 3409 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 3410 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 3411 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 3412 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x6d, 0x6f, 3413 0x75, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x6c, 0x69, 0x70, 0x70, 0x61, 0x67, 0x65, 0x5f, 3414 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 3415 0x11, 0x73, 0x6c, 0x69, 0x70, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x6e, 3416 0x63, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 3417 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x61, 3418 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 3419 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 3420 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x41, 0x4d, 0x4d, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 3421 0x65, 0x6e, 0x74, 0x72, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 3422 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x1f, 0x63, 0x6f, 0x6e, 3423 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 3424 0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x21, 0x0a, 0x0c, 3425 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 3426 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x46, 0x65, 0x65, 0x12, 3427 0x44, 0x0a, 0x1c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 3428 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 3429 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x19, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 3430 0x50, 0x72, 0x69, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 3431 0x65, 0x72, 0x88, 0x01, 0x01, 0x1a, 0x8f, 0x03, 0x0a, 0x1f, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x6e, 3432 0x74, 0x72, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 3433 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x75, 0x70, 0x70, 3434 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 3435 0x52, 0x0a, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 3436 0x24, 0x0a, 0x0b, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 3437 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0a, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, 0x75, 3438 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 3439 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x17, 0x6c, 0x65, 0x76, 3440 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x74, 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x62, 3441 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x14, 0x6c, 0x65, 3442 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x41, 0x74, 0x55, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 3443 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3a, 0x0a, 0x17, 0x6c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 3444 0x65, 0x5f, 0x61, 0x74, 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 3445 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x14, 0x6c, 0x65, 0x76, 0x65, 0x72, 0x61, 3446 0x67, 0x65, 0x41, 0x74, 0x4c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x88, 0x01, 3447 0x01, 0x12, 0x29, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 3448 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x0c, 0x64, 0x61, 0x74, 3449 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 3450 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 3451 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x1a, 0x0a, 0x18, 3452 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x74, 0x5f, 0x75, 0x70, 0x70, 3453 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x1a, 0x0a, 0x18, 0x5f, 0x6c, 0x65, 0x76, 3454 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x74, 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 3455 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 3456 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x42, 0x1f, 0x0a, 0x1d, 0x5f, 0x6d, 0x69, 0x6e, 0x69, 3457 0x6d, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 3458 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x22, 0x84, 0x07, 0x0a, 0x08, 0x41, 0x6d, 0x65, 3459 0x6e, 0x64, 0x41, 0x4d, 0x4d, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 3460 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 3461 0x49, 0x64, 0x12, 0x30, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 3462 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 3463 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 3464 0x74, 0x88, 0x01, 0x01, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x6c, 0x69, 0x70, 0x70, 0x61, 0x67, 0x65, 3465 0x5f, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 3466 0x52, 0x11, 0x73, 0x6c, 0x69, 0x70, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6c, 0x65, 0x72, 0x61, 3467 0x6e, 0x63, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x72, 3468 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x5f, 0x70, 3469 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 3470 0x3a, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 3471 0x76, 0x31, 0x2e, 0x41, 0x6d, 0x65, 0x6e, 0x64, 0x41, 0x4d, 0x4d, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 3472 0x65, 0x6e, 0x74, 0x72, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 3473 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x01, 0x52, 0x1f, 0x63, 3474 0x6f, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x71, 0x75, 0x69, 3475 0x64, 0x69, 0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x88, 0x01, 3476 0x01, 0x12, 0x26, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x66, 0x65, 3477 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 3478 0x73, 0x65, 0x64, 0x46, 0x65, 0x65, 0x88, 0x01, 0x01, 0x12, 0x44, 0x0a, 0x1c, 0x6d, 0x69, 0x6e, 3479 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 3480 0x65, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 3481 0x03, 0x52, 0x19, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x43, 3482 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x88, 0x01, 0x01, 0x1a, 3483 0x8f, 0x03, 0x0a, 0x1f, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x74, 0x65, 0x64, 3484 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 0x74, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 3485 0x65, 0x72, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 3486 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x75, 0x70, 0x70, 0x65, 3487 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x6c, 0x6f, 0x77, 3488 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 3489 0x52, 0x0a, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 3490 0x12, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 3491 0x61, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x17, 0x6c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 3492 0x61, 0x74, 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x04, 3493 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x14, 0x6c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 3494 0x41, 0x74, 0x55, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 3495 0x3a, 0x0a, 0x17, 0x6c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x74, 0x5f, 0x6c, 3496 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 3497 0x48, 0x03, 0x52, 0x14, 0x6c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x41, 0x74, 0x4c, 0x6f, 3498 0x77, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 0x29, 0x0a, 0x0e, 0x64, 3499 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 3500 0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 3501 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 3502 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x72, 3503 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x1a, 0x0a, 0x18, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x72, 3504 0x61, 0x67, 0x65, 0x5f, 0x61, 0x74, 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 3505 0x6e, 0x64, 0x42, 0x1a, 0x0a, 0x18, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 3506 0x61, 0x74, 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x11, 3507 0x0a, 0x0f, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 3508 0x64, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 3509 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x24, 0x0a, 0x22, 0x5f, 0x63, 0x6f, 0x6e, 0x63, 3510 0x65, 0x6e, 0x74, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x69, 3511 0x74, 0x79, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x42, 0x0f, 0x0a, 3512 0x0d, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x65, 0x42, 0x1f, 3513 0x0a, 0x1d, 0x5f, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 3514 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x22, 3515 0xb4, 0x01, 0x0a, 0x09, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x4d, 0x4d, 0x12, 0x1b, 0x0a, 3516 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 3517 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x06, 0x6d, 0x65, 3518 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x76, 0x65, 0x67, 3519 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 3520 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x4d, 0x4d, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x06, 3521 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0x4e, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 3522 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 3523 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x45, 0x54, 0x48, 3524 0x4f, 0x44, 0x5f, 0x49, 0x4d, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x16, 3525 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x52, 0x45, 0x44, 0x55, 0x43, 0x45, 0x5f, 3526 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x22, 0x58, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x65, 3527 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x72, 0x61, 3528 0x70, 0x70, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 3529 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 3530 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 3531 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 3532 0x42, 0x33, 0x5a, 0x31, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x70, 0x72, 0x6f, 3533 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x70, 0x72, 3534 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 3535 0x64, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 3536 } 3537 3538 var ( 3539 file_vega_commands_v1_commands_proto_rawDescOnce sync.Once 3540 file_vega_commands_v1_commands_proto_rawDescData = file_vega_commands_v1_commands_proto_rawDesc 3541 ) 3542 3543 func file_vega_commands_v1_commands_proto_rawDescGZIP() []byte { 3544 file_vega_commands_v1_commands_proto_rawDescOnce.Do(func() { 3545 file_vega_commands_v1_commands_proto_rawDescData = protoimpl.X.CompressGZIP(file_vega_commands_v1_commands_proto_rawDescData) 3546 }) 3547 return file_vega_commands_v1_commands_proto_rawDescData 3548 } 3549 3550 var file_vega_commands_v1_commands_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 3551 var file_vega_commands_v1_commands_proto_msgTypes = make([]protoimpl.MessageInfo, 37) 3552 var file_vega_commands_v1_commands_proto_goTypes = []interface{}{ 3553 (UpdateMarginMode_Mode)(0), // 0: vega.commands.v1.UpdateMarginMode.Mode 3554 (UndelegateSubmission_Method)(0), // 1: vega.commands.v1.UndelegateSubmission.Method 3555 (CancelAMM_Method)(0), // 2: vega.commands.v1.CancelAMM.Method 3556 (*BatchMarketInstructions)(nil), // 3: vega.commands.v1.BatchMarketInstructions 3557 (*StopOrdersSubmission)(nil), // 4: vega.commands.v1.StopOrdersSubmission 3558 (*StopOrderSetup)(nil), // 5: vega.commands.v1.StopOrderSetup 3559 (*StopOrdersCancellation)(nil), // 6: vega.commands.v1.StopOrdersCancellation 3560 (*OrderSubmission)(nil), // 7: vega.commands.v1.OrderSubmission 3561 (*IcebergOpts)(nil), // 8: vega.commands.v1.IcebergOpts 3562 (*UpdateMarginMode)(nil), // 9: vega.commands.v1.UpdateMarginMode 3563 (*OrderCancellation)(nil), // 10: vega.commands.v1.OrderCancellation 3564 (*OrderAmendment)(nil), // 11: vega.commands.v1.OrderAmendment 3565 (*LiquidityProvisionSubmission)(nil), // 12: vega.commands.v1.LiquidityProvisionSubmission 3566 (*LiquidityProvisionCancellation)(nil), // 13: vega.commands.v1.LiquidityProvisionCancellation 3567 (*LiquidityProvisionAmendment)(nil), // 14: vega.commands.v1.LiquidityProvisionAmendment 3568 (*WithdrawSubmission)(nil), // 15: vega.commands.v1.WithdrawSubmission 3569 (*ProposalSubmission)(nil), // 16: vega.commands.v1.ProposalSubmission 3570 (*BatchProposalSubmissionTerms)(nil), // 17: vega.commands.v1.BatchProposalSubmissionTerms 3571 (*BatchProposalSubmission)(nil), // 18: vega.commands.v1.BatchProposalSubmission 3572 (*VoteSubmission)(nil), // 19: vega.commands.v1.VoteSubmission 3573 (*DelegateSubmission)(nil), // 20: vega.commands.v1.DelegateSubmission 3574 (*UndelegateSubmission)(nil), // 21: vega.commands.v1.UndelegateSubmission 3575 (*Transfer)(nil), // 22: vega.commands.v1.Transfer 3576 (*OneOffTransfer)(nil), // 23: vega.commands.v1.OneOffTransfer 3577 (*RecurringTransfer)(nil), // 24: vega.commands.v1.RecurringTransfer 3578 (*CancelTransfer)(nil), // 25: vega.commands.v1.CancelTransfer 3579 (*IssueSignatures)(nil), // 26: vega.commands.v1.IssueSignatures 3580 (*CreateReferralSet)(nil), // 27: vega.commands.v1.CreateReferralSet 3581 (*UpdateReferralSet)(nil), // 28: vega.commands.v1.UpdateReferralSet 3582 (*ApplyReferralCode)(nil), // 29: vega.commands.v1.ApplyReferralCode 3583 (*JoinTeam)(nil), // 30: vega.commands.v1.JoinTeam 3584 (*UpdatePartyProfile)(nil), // 31: vega.commands.v1.UpdatePartyProfile 3585 (*SubmitAMM)(nil), // 32: vega.commands.v1.SubmitAMM 3586 (*AmendAMM)(nil), // 33: vega.commands.v1.AmendAMM 3587 (*CancelAMM)(nil), // 34: vega.commands.v1.CancelAMM 3588 (*DelayedTransactionsWrapper)(nil), // 35: vega.commands.v1.DelayedTransactionsWrapper 3589 (*CreateReferralSet_Team)(nil), // 36: vega.commands.v1.CreateReferralSet.Team 3590 (*UpdateReferralSet_Team)(nil), // 37: vega.commands.v1.UpdateReferralSet.Team 3591 (*SubmitAMM_ConcentratedLiquidityParameters)(nil), // 38: vega.commands.v1.SubmitAMM.ConcentratedLiquidityParameters 3592 (*AmendAMM_ConcentratedLiquidityParameters)(nil), // 39: vega.commands.v1.AmendAMM.ConcentratedLiquidityParameters 3593 (vega.StopOrder_ExpiryStrategy)(0), // 40: vega.StopOrder.ExpiryStrategy 3594 (vega.StopOrder_SizeOverrideSetting)(0), // 41: vega.StopOrder.SizeOverrideSetting 3595 (*vega.StopOrder_SizeOverrideValue)(nil), // 42: vega.StopOrder.SizeOverrideValue 3596 (vega.Side)(0), // 43: vega.Side 3597 (vega.Order_TimeInForce)(0), // 44: vega.Order.TimeInForce 3598 (vega.Order_Type)(0), // 45: vega.Order.Type 3599 (*vega.PeggedOrder)(nil), // 46: vega.PeggedOrder 3600 (vega.PeggedReference)(0), // 47: vega.PeggedReference 3601 (*vega.WithdrawExt)(nil), // 48: vega.WithdrawExt 3602 (*vega.ProposalTerms)(nil), // 49: vega.ProposalTerms 3603 (*vega.ProposalRationale)(nil), // 50: vega.ProposalRationale 3604 (*vega.BatchProposalTermsChange)(nil), // 51: vega.BatchProposalTermsChange 3605 (vega.Vote_Value)(0), // 52: vega.Vote.Value 3606 (vega.AccountType)(0), // 53: vega.AccountType 3607 (*vega.DispatchStrategy)(nil), // 54: vega.DispatchStrategy 3608 (NodeSignatureKind)(0), // 55: vega.commands.v1.NodeSignatureKind 3609 (*vega.Metadata)(nil), // 56: vega.Metadata 3610 } 3611 var file_vega_commands_v1_commands_proto_depIdxs = []int32{ 3612 10, // 0: vega.commands.v1.BatchMarketInstructions.cancellations:type_name -> vega.commands.v1.OrderCancellation 3613 11, // 1: vega.commands.v1.BatchMarketInstructions.amendments:type_name -> vega.commands.v1.OrderAmendment 3614 7, // 2: vega.commands.v1.BatchMarketInstructions.submissions:type_name -> vega.commands.v1.OrderSubmission 3615 6, // 3: vega.commands.v1.BatchMarketInstructions.stop_orders_cancellation:type_name -> vega.commands.v1.StopOrdersCancellation 3616 4, // 4: vega.commands.v1.BatchMarketInstructions.stop_orders_submission:type_name -> vega.commands.v1.StopOrdersSubmission 3617 9, // 5: vega.commands.v1.BatchMarketInstructions.update_margin_mode:type_name -> vega.commands.v1.UpdateMarginMode 3618 5, // 6: vega.commands.v1.StopOrdersSubmission.rises_above:type_name -> vega.commands.v1.StopOrderSetup 3619 5, // 7: vega.commands.v1.StopOrdersSubmission.falls_below:type_name -> vega.commands.v1.StopOrderSetup 3620 7, // 8: vega.commands.v1.StopOrderSetup.order_submission:type_name -> vega.commands.v1.OrderSubmission 3621 40, // 9: vega.commands.v1.StopOrderSetup.expiry_strategy:type_name -> vega.StopOrder.ExpiryStrategy 3622 41, // 10: vega.commands.v1.StopOrderSetup.size_override_setting:type_name -> vega.StopOrder.SizeOverrideSetting 3623 42, // 11: vega.commands.v1.StopOrderSetup.size_override_value:type_name -> vega.StopOrder.SizeOverrideValue 3624 43, // 12: vega.commands.v1.OrderSubmission.side:type_name -> vega.Side 3625 44, // 13: vega.commands.v1.OrderSubmission.time_in_force:type_name -> vega.Order.TimeInForce 3626 45, // 14: vega.commands.v1.OrderSubmission.type:type_name -> vega.Order.Type 3627 46, // 15: vega.commands.v1.OrderSubmission.pegged_order:type_name -> vega.PeggedOrder 3628 8, // 16: vega.commands.v1.OrderSubmission.iceberg_opts:type_name -> vega.commands.v1.IcebergOpts 3629 0, // 17: vega.commands.v1.UpdateMarginMode.mode:type_name -> vega.commands.v1.UpdateMarginMode.Mode 3630 44, // 18: vega.commands.v1.OrderAmendment.time_in_force:type_name -> vega.Order.TimeInForce 3631 47, // 19: vega.commands.v1.OrderAmendment.pegged_reference:type_name -> vega.PeggedReference 3632 48, // 20: vega.commands.v1.WithdrawSubmission.ext:type_name -> vega.WithdrawExt 3633 49, // 21: vega.commands.v1.ProposalSubmission.terms:type_name -> vega.ProposalTerms 3634 50, // 22: vega.commands.v1.ProposalSubmission.rationale:type_name -> vega.ProposalRationale 3635 51, // 23: vega.commands.v1.BatchProposalSubmissionTerms.changes:type_name -> vega.BatchProposalTermsChange 3636 17, // 24: vega.commands.v1.BatchProposalSubmission.terms:type_name -> vega.commands.v1.BatchProposalSubmissionTerms 3637 50, // 25: vega.commands.v1.BatchProposalSubmission.rationale:type_name -> vega.ProposalRationale 3638 52, // 26: vega.commands.v1.VoteSubmission.value:type_name -> vega.Vote.Value 3639 1, // 27: vega.commands.v1.UndelegateSubmission.method:type_name -> vega.commands.v1.UndelegateSubmission.Method 3640 53, // 28: vega.commands.v1.Transfer.from_account_type:type_name -> vega.AccountType 3641 53, // 29: vega.commands.v1.Transfer.to_account_type:type_name -> vega.AccountType 3642 23, // 30: vega.commands.v1.Transfer.one_off:type_name -> vega.commands.v1.OneOffTransfer 3643 24, // 31: vega.commands.v1.Transfer.recurring:type_name -> vega.commands.v1.RecurringTransfer 3644 54, // 32: vega.commands.v1.RecurringTransfer.dispatch_strategy:type_name -> vega.DispatchStrategy 3645 55, // 33: vega.commands.v1.IssueSignatures.kind:type_name -> vega.commands.v1.NodeSignatureKind 3646 36, // 34: vega.commands.v1.CreateReferralSet.team:type_name -> vega.commands.v1.CreateReferralSet.Team 3647 37, // 35: vega.commands.v1.UpdateReferralSet.team:type_name -> vega.commands.v1.UpdateReferralSet.Team 3648 56, // 36: vega.commands.v1.UpdatePartyProfile.metadata:type_name -> vega.Metadata 3649 38, // 37: vega.commands.v1.SubmitAMM.concentrated_liquidity_parameters:type_name -> vega.commands.v1.SubmitAMM.ConcentratedLiquidityParameters 3650 39, // 38: vega.commands.v1.AmendAMM.concentrated_liquidity_parameters:type_name -> vega.commands.v1.AmendAMM.ConcentratedLiquidityParameters 3651 2, // 39: vega.commands.v1.CancelAMM.method:type_name -> vega.commands.v1.CancelAMM.Method 3652 40, // [40:40] is the sub-list for method output_type 3653 40, // [40:40] is the sub-list for method input_type 3654 40, // [40:40] is the sub-list for extension type_name 3655 40, // [40:40] is the sub-list for extension extendee 3656 0, // [0:40] is the sub-list for field type_name 3657 } 3658 3659 func init() { file_vega_commands_v1_commands_proto_init() } 3660 func file_vega_commands_v1_commands_proto_init() { 3661 if File_vega_commands_v1_commands_proto != nil { 3662 return 3663 } 3664 file_vega_commands_v1_validator_commands_proto_init() 3665 if !protoimpl.UnsafeEnabled { 3666 file_vega_commands_v1_commands_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 3667 switch v := v.(*BatchMarketInstructions); i { 3668 case 0: 3669 return &v.state 3670 case 1: 3671 return &v.sizeCache 3672 case 2: 3673 return &v.unknownFields 3674 default: 3675 return nil 3676 } 3677 } 3678 file_vega_commands_v1_commands_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 3679 switch v := v.(*StopOrdersSubmission); i { 3680 case 0: 3681 return &v.state 3682 case 1: 3683 return &v.sizeCache 3684 case 2: 3685 return &v.unknownFields 3686 default: 3687 return nil 3688 } 3689 } 3690 file_vega_commands_v1_commands_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 3691 switch v := v.(*StopOrderSetup); i { 3692 case 0: 3693 return &v.state 3694 case 1: 3695 return &v.sizeCache 3696 case 2: 3697 return &v.unknownFields 3698 default: 3699 return nil 3700 } 3701 } 3702 file_vega_commands_v1_commands_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 3703 switch v := v.(*StopOrdersCancellation); i { 3704 case 0: 3705 return &v.state 3706 case 1: 3707 return &v.sizeCache 3708 case 2: 3709 return &v.unknownFields 3710 default: 3711 return nil 3712 } 3713 } 3714 file_vega_commands_v1_commands_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 3715 switch v := v.(*OrderSubmission); i { 3716 case 0: 3717 return &v.state 3718 case 1: 3719 return &v.sizeCache 3720 case 2: 3721 return &v.unknownFields 3722 default: 3723 return nil 3724 } 3725 } 3726 file_vega_commands_v1_commands_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 3727 switch v := v.(*IcebergOpts); i { 3728 case 0: 3729 return &v.state 3730 case 1: 3731 return &v.sizeCache 3732 case 2: 3733 return &v.unknownFields 3734 default: 3735 return nil 3736 } 3737 } 3738 file_vega_commands_v1_commands_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 3739 switch v := v.(*UpdateMarginMode); i { 3740 case 0: 3741 return &v.state 3742 case 1: 3743 return &v.sizeCache 3744 case 2: 3745 return &v.unknownFields 3746 default: 3747 return nil 3748 } 3749 } 3750 file_vega_commands_v1_commands_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 3751 switch v := v.(*OrderCancellation); i { 3752 case 0: 3753 return &v.state 3754 case 1: 3755 return &v.sizeCache 3756 case 2: 3757 return &v.unknownFields 3758 default: 3759 return nil 3760 } 3761 } 3762 file_vega_commands_v1_commands_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 3763 switch v := v.(*OrderAmendment); i { 3764 case 0: 3765 return &v.state 3766 case 1: 3767 return &v.sizeCache 3768 case 2: 3769 return &v.unknownFields 3770 default: 3771 return nil 3772 } 3773 } 3774 file_vega_commands_v1_commands_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 3775 switch v := v.(*LiquidityProvisionSubmission); i { 3776 case 0: 3777 return &v.state 3778 case 1: 3779 return &v.sizeCache 3780 case 2: 3781 return &v.unknownFields 3782 default: 3783 return nil 3784 } 3785 } 3786 file_vega_commands_v1_commands_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 3787 switch v := v.(*LiquidityProvisionCancellation); i { 3788 case 0: 3789 return &v.state 3790 case 1: 3791 return &v.sizeCache 3792 case 2: 3793 return &v.unknownFields 3794 default: 3795 return nil 3796 } 3797 } 3798 file_vega_commands_v1_commands_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 3799 switch v := v.(*LiquidityProvisionAmendment); i { 3800 case 0: 3801 return &v.state 3802 case 1: 3803 return &v.sizeCache 3804 case 2: 3805 return &v.unknownFields 3806 default: 3807 return nil 3808 } 3809 } 3810 file_vega_commands_v1_commands_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 3811 switch v := v.(*WithdrawSubmission); i { 3812 case 0: 3813 return &v.state 3814 case 1: 3815 return &v.sizeCache 3816 case 2: 3817 return &v.unknownFields 3818 default: 3819 return nil 3820 } 3821 } 3822 file_vega_commands_v1_commands_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 3823 switch v := v.(*ProposalSubmission); i { 3824 case 0: 3825 return &v.state 3826 case 1: 3827 return &v.sizeCache 3828 case 2: 3829 return &v.unknownFields 3830 default: 3831 return nil 3832 } 3833 } 3834 file_vega_commands_v1_commands_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 3835 switch v := v.(*BatchProposalSubmissionTerms); i { 3836 case 0: 3837 return &v.state 3838 case 1: 3839 return &v.sizeCache 3840 case 2: 3841 return &v.unknownFields 3842 default: 3843 return nil 3844 } 3845 } 3846 file_vega_commands_v1_commands_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 3847 switch v := v.(*BatchProposalSubmission); i { 3848 case 0: 3849 return &v.state 3850 case 1: 3851 return &v.sizeCache 3852 case 2: 3853 return &v.unknownFields 3854 default: 3855 return nil 3856 } 3857 } 3858 file_vega_commands_v1_commands_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 3859 switch v := v.(*VoteSubmission); i { 3860 case 0: 3861 return &v.state 3862 case 1: 3863 return &v.sizeCache 3864 case 2: 3865 return &v.unknownFields 3866 default: 3867 return nil 3868 } 3869 } 3870 file_vega_commands_v1_commands_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 3871 switch v := v.(*DelegateSubmission); i { 3872 case 0: 3873 return &v.state 3874 case 1: 3875 return &v.sizeCache 3876 case 2: 3877 return &v.unknownFields 3878 default: 3879 return nil 3880 } 3881 } 3882 file_vega_commands_v1_commands_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 3883 switch v := v.(*UndelegateSubmission); i { 3884 case 0: 3885 return &v.state 3886 case 1: 3887 return &v.sizeCache 3888 case 2: 3889 return &v.unknownFields 3890 default: 3891 return nil 3892 } 3893 } 3894 file_vega_commands_v1_commands_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 3895 switch v := v.(*Transfer); i { 3896 case 0: 3897 return &v.state 3898 case 1: 3899 return &v.sizeCache 3900 case 2: 3901 return &v.unknownFields 3902 default: 3903 return nil 3904 } 3905 } 3906 file_vega_commands_v1_commands_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 3907 switch v := v.(*OneOffTransfer); i { 3908 case 0: 3909 return &v.state 3910 case 1: 3911 return &v.sizeCache 3912 case 2: 3913 return &v.unknownFields 3914 default: 3915 return nil 3916 } 3917 } 3918 file_vega_commands_v1_commands_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 3919 switch v := v.(*RecurringTransfer); i { 3920 case 0: 3921 return &v.state 3922 case 1: 3923 return &v.sizeCache 3924 case 2: 3925 return &v.unknownFields 3926 default: 3927 return nil 3928 } 3929 } 3930 file_vega_commands_v1_commands_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 3931 switch v := v.(*CancelTransfer); i { 3932 case 0: 3933 return &v.state 3934 case 1: 3935 return &v.sizeCache 3936 case 2: 3937 return &v.unknownFields 3938 default: 3939 return nil 3940 } 3941 } 3942 file_vega_commands_v1_commands_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 3943 switch v := v.(*IssueSignatures); i { 3944 case 0: 3945 return &v.state 3946 case 1: 3947 return &v.sizeCache 3948 case 2: 3949 return &v.unknownFields 3950 default: 3951 return nil 3952 } 3953 } 3954 file_vega_commands_v1_commands_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 3955 switch v := v.(*CreateReferralSet); i { 3956 case 0: 3957 return &v.state 3958 case 1: 3959 return &v.sizeCache 3960 case 2: 3961 return &v.unknownFields 3962 default: 3963 return nil 3964 } 3965 } 3966 file_vega_commands_v1_commands_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 3967 switch v := v.(*UpdateReferralSet); i { 3968 case 0: 3969 return &v.state 3970 case 1: 3971 return &v.sizeCache 3972 case 2: 3973 return &v.unknownFields 3974 default: 3975 return nil 3976 } 3977 } 3978 file_vega_commands_v1_commands_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { 3979 switch v := v.(*ApplyReferralCode); i { 3980 case 0: 3981 return &v.state 3982 case 1: 3983 return &v.sizeCache 3984 case 2: 3985 return &v.unknownFields 3986 default: 3987 return nil 3988 } 3989 } 3990 file_vega_commands_v1_commands_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { 3991 switch v := v.(*JoinTeam); i { 3992 case 0: 3993 return &v.state 3994 case 1: 3995 return &v.sizeCache 3996 case 2: 3997 return &v.unknownFields 3998 default: 3999 return nil 4000 } 4001 } 4002 file_vega_commands_v1_commands_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { 4003 switch v := v.(*UpdatePartyProfile); i { 4004 case 0: 4005 return &v.state 4006 case 1: 4007 return &v.sizeCache 4008 case 2: 4009 return &v.unknownFields 4010 default: 4011 return nil 4012 } 4013 } 4014 file_vega_commands_v1_commands_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { 4015 switch v := v.(*SubmitAMM); i { 4016 case 0: 4017 return &v.state 4018 case 1: 4019 return &v.sizeCache 4020 case 2: 4021 return &v.unknownFields 4022 default: 4023 return nil 4024 } 4025 } 4026 file_vega_commands_v1_commands_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { 4027 switch v := v.(*AmendAMM); i { 4028 case 0: 4029 return &v.state 4030 case 1: 4031 return &v.sizeCache 4032 case 2: 4033 return &v.unknownFields 4034 default: 4035 return nil 4036 } 4037 } 4038 file_vega_commands_v1_commands_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { 4039 switch v := v.(*CancelAMM); i { 4040 case 0: 4041 return &v.state 4042 case 1: 4043 return &v.sizeCache 4044 case 2: 4045 return &v.unknownFields 4046 default: 4047 return nil 4048 } 4049 } 4050 file_vega_commands_v1_commands_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { 4051 switch v := v.(*DelayedTransactionsWrapper); i { 4052 case 0: 4053 return &v.state 4054 case 1: 4055 return &v.sizeCache 4056 case 2: 4057 return &v.unknownFields 4058 default: 4059 return nil 4060 } 4061 } 4062 file_vega_commands_v1_commands_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { 4063 switch v := v.(*CreateReferralSet_Team); i { 4064 case 0: 4065 return &v.state 4066 case 1: 4067 return &v.sizeCache 4068 case 2: 4069 return &v.unknownFields 4070 default: 4071 return nil 4072 } 4073 } 4074 file_vega_commands_v1_commands_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { 4075 switch v := v.(*UpdateReferralSet_Team); i { 4076 case 0: 4077 return &v.state 4078 case 1: 4079 return &v.sizeCache 4080 case 2: 4081 return &v.unknownFields 4082 default: 4083 return nil 4084 } 4085 } 4086 file_vega_commands_v1_commands_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { 4087 switch v := v.(*SubmitAMM_ConcentratedLiquidityParameters); i { 4088 case 0: 4089 return &v.state 4090 case 1: 4091 return &v.sizeCache 4092 case 2: 4093 return &v.unknownFields 4094 default: 4095 return nil 4096 } 4097 } 4098 file_vega_commands_v1_commands_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { 4099 switch v := v.(*AmendAMM_ConcentratedLiquidityParameters); i { 4100 case 0: 4101 return &v.state 4102 case 1: 4103 return &v.sizeCache 4104 case 2: 4105 return &v.unknownFields 4106 default: 4107 return nil 4108 } 4109 } 4110 } 4111 file_vega_commands_v1_commands_proto_msgTypes[1].OneofWrappers = []interface{}{} 4112 file_vega_commands_v1_commands_proto_msgTypes[2].OneofWrappers = []interface{}{ 4113 (*StopOrderSetup_Price)(nil), 4114 (*StopOrderSetup_TrailingPercentOffset)(nil), 4115 } 4116 file_vega_commands_v1_commands_proto_msgTypes[3].OneofWrappers = []interface{}{} 4117 file_vega_commands_v1_commands_proto_msgTypes[4].OneofWrappers = []interface{}{} 4118 file_vega_commands_v1_commands_proto_msgTypes[6].OneofWrappers = []interface{}{} 4119 file_vega_commands_v1_commands_proto_msgTypes[8].OneofWrappers = []interface{}{} 4120 file_vega_commands_v1_commands_proto_msgTypes[19].OneofWrappers = []interface{}{ 4121 (*Transfer_OneOff)(nil), 4122 (*Transfer_Recurring)(nil), 4123 } 4124 file_vega_commands_v1_commands_proto_msgTypes[21].OneofWrappers = []interface{}{} 4125 file_vega_commands_v1_commands_proto_msgTypes[24].OneofWrappers = []interface{}{} 4126 file_vega_commands_v1_commands_proto_msgTypes[25].OneofWrappers = []interface{}{} 4127 file_vega_commands_v1_commands_proto_msgTypes[29].OneofWrappers = []interface{}{} 4128 file_vega_commands_v1_commands_proto_msgTypes[30].OneofWrappers = []interface{}{} 4129 file_vega_commands_v1_commands_proto_msgTypes[33].OneofWrappers = []interface{}{} 4130 file_vega_commands_v1_commands_proto_msgTypes[34].OneofWrappers = []interface{}{} 4131 file_vega_commands_v1_commands_proto_msgTypes[35].OneofWrappers = []interface{}{} 4132 file_vega_commands_v1_commands_proto_msgTypes[36].OneofWrappers = []interface{}{} 4133 type x struct{} 4134 out := protoimpl.TypeBuilder{ 4135 File: protoimpl.DescBuilder{ 4136 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 4137 RawDescriptor: file_vega_commands_v1_commands_proto_rawDesc, 4138 NumEnums: 3, 4139 NumMessages: 37, 4140 NumExtensions: 0, 4141 NumServices: 0, 4142 }, 4143 GoTypes: file_vega_commands_v1_commands_proto_goTypes, 4144 DependencyIndexes: file_vega_commands_v1_commands_proto_depIdxs, 4145 EnumInfos: file_vega_commands_v1_commands_proto_enumTypes, 4146 MessageInfos: file_vega_commands_v1_commands_proto_msgTypes, 4147 }.Build() 4148 File_vega_commands_v1_commands_proto = out.File 4149 file_vega_commands_v1_commands_proto_rawDesc = nil 4150 file_vega_commands_v1_commands_proto_goTypes = nil 4151 file_vega_commands_v1_commands_proto_depIdxs = nil 4152 }