@ocap/proto 1.18.34 → 1.18.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/gen/tx_pb.js CHANGED
@@ -33,6 +33,7 @@ goog.exportSymbol('proto.ocap.AcquireAssetV3Tx', null, root);
33
33
  goog.exportSymbol('proto.ocap.AssetFactoryInput', null, root);
34
34
  goog.exportSymbol('proto.ocap.ClaimBlockRewardTx', null, root);
35
35
  goog.exportSymbol('proto.ocap.ClaimStakeTx', null, root);
36
+ goog.exportSymbol('proto.ocap.CloseRollupTx', null, root);
36
37
  goog.exportSymbol('proto.ocap.CreateAssetTx', null, root);
37
38
  goog.exportSymbol('proto.ocap.CreateFactoryTx', null, root);
38
39
  goog.exportSymbol('proto.ocap.CreateRollupBlockTx', null, root);
@@ -50,8 +51,7 @@ goog.exportSymbol('proto.ocap.ItxStub', null, root);
50
51
  goog.exportSymbol('proto.ocap.ItxStub.ValueCase', null, root);
51
52
  goog.exportSymbol('proto.ocap.JoinRollupTx', null, root);
52
53
  goog.exportSymbol('proto.ocap.LeaveRollupTx', null, root);
53
- goog.exportSymbol('proto.ocap.MigrateRollupContractTx', null, root);
54
- goog.exportSymbol('proto.ocap.MigrateRollupTokenTx', null, root);
54
+ goog.exportSymbol('proto.ocap.MigrateRollupTx', null, root);
55
55
  goog.exportSymbol('proto.ocap.MintAssetTx', null, root);
56
56
  goog.exportSymbol('proto.ocap.PauseRollupTx', null, root);
57
57
  goog.exportSymbol('proto.ocap.ResumeRollupTx', null, root);
@@ -769,16 +769,16 @@ if (goog.DEBUG && !COMPILED) {
769
769
  * @extends {jspb.Message}
770
770
  * @constructor
771
771
  */
772
- proto.ocap.MigrateRollupContractTx = function(opt_data) {
772
+ proto.ocap.CloseRollupTx = function(opt_data) {
773
773
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
774
774
  };
775
- goog.inherits(proto.ocap.MigrateRollupContractTx, jspb.Message);
775
+ goog.inherits(proto.ocap.CloseRollupTx, jspb.Message);
776
776
  if (goog.DEBUG && !COMPILED) {
777
777
  /**
778
778
  * @public
779
779
  * @override
780
780
  */
781
- proto.ocap.MigrateRollupContractTx.displayName = 'proto.ocap.MigrateRollupContractTx';
781
+ proto.ocap.CloseRollupTx.displayName = 'proto.ocap.CloseRollupTx';
782
782
  }
783
783
  /**
784
784
  * Generated by JsPbCodeGenerator.
@@ -790,16 +790,16 @@ if (goog.DEBUG && !COMPILED) {
790
790
  * @extends {jspb.Message}
791
791
  * @constructor
792
792
  */
793
- proto.ocap.MigrateRollupTokenTx = function(opt_data) {
793
+ proto.ocap.MigrateRollupTx = function(opt_data) {
794
794
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
795
795
  };
796
- goog.inherits(proto.ocap.MigrateRollupTokenTx, jspb.Message);
796
+ goog.inherits(proto.ocap.MigrateRollupTx, jspb.Message);
797
797
  if (goog.DEBUG && !COMPILED) {
798
798
  /**
799
799
  * @public
800
800
  * @override
801
801
  */
802
- proto.ocap.MigrateRollupTokenTx.displayName = 'proto.ocap.MigrateRollupTokenTx';
802
+ proto.ocap.MigrateRollupTx.displayName = 'proto.ocap.MigrateRollupTx';
803
803
  }
804
804
  /**
805
805
  * Generated by JsPbCodeGenerator.
@@ -8681,6 +8681,7 @@ proto.ocap.CreateRollupTx.toObject = function(includeInstance, msg) {
8681
8681
  var f, obj = {
8682
8682
  address: jspb.Message.getFieldWithDefault(msg, 1, ""),
8683
8683
  tokenAddress: jspb.Message.getFieldWithDefault(msg, 2, ""),
8684
+ vaultAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
8684
8685
  contractAddress: jspb.Message.getFieldWithDefault(msg, 4, ""),
8685
8686
  seedValidatorsList: jspb.Message.toObjectList(msg.getSeedValidatorsList(),
8686
8687
  type_pb.RollupValidator.toObject, includeInstance),
@@ -8755,6 +8756,10 @@ proto.ocap.CreateRollupTx.deserializeBinaryFromReader = function(msg, reader) {
8755
8756
  var value = /** @type {string} */ (reader.readString());
8756
8757
  msg.setTokenAddress(value);
8757
8758
  break;
8759
+ case 3:
8760
+ var value = /** @type {string} */ (reader.readString());
8761
+ msg.setVaultAddress(value);
8762
+ break;
8758
8763
  case 4:
8759
8764
  var value = /** @type {string} */ (reader.readString());
8760
8765
  msg.setContractAddress(value);
@@ -8916,6 +8921,13 @@ proto.ocap.CreateRollupTx.serializeBinaryToWriter = function(message, writer) {
8916
8921
  f
8917
8922
  );
8918
8923
  }
8924
+ f = message.getVaultAddress();
8925
+ if (f.length > 0) {
8926
+ writer.writeString(
8927
+ 3,
8928
+ f
8929
+ );
8930
+ }
8919
8931
  f = message.getContractAddress();
8920
8932
  if (f.length > 0) {
8921
8933
  writer.writeString(
@@ -9160,6 +9172,24 @@ proto.ocap.CreateRollupTx.prototype.setTokenAddress = function(value) {
9160
9172
  };
9161
9173
 
9162
9174
 
9175
+ /**
9176
+ * optional string vault_address = 3;
9177
+ * @return {string}
9178
+ */
9179
+ proto.ocap.CreateRollupTx.prototype.getVaultAddress = function() {
9180
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
9181
+ };
9182
+
9183
+
9184
+ /**
9185
+ * @param {string} value
9186
+ * @return {!proto.ocap.CreateRollupTx} returns this
9187
+ */
9188
+ proto.ocap.CreateRollupTx.prototype.setVaultAddress = function(value) {
9189
+ return jspb.Message.setProto3StringField(this, 3, value);
9190
+ };
9191
+
9192
+
9163
9193
  /**
9164
9194
  * optional string contract_address = 4;
9165
9195
  * @return {string}
@@ -11256,6 +11286,7 @@ proto.ocap.CreateRollupBlockTx.toObject = function(includeInstance, msg) {
11256
11286
  type_pb.Multisig.toObject, includeInstance),
11257
11287
  rollup: jspb.Message.getFieldWithDefault(msg, 10, ""),
11258
11288
  minReward: jspb.Message.getFieldWithDefault(msg, 11, ""),
11289
+ governance: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
11259
11290
  data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
11260
11291
  };
11261
11292
 
@@ -11334,6 +11365,10 @@ proto.ocap.CreateRollupBlockTx.deserializeBinaryFromReader = function(msg, reade
11334
11365
  var value = /** @type {string} */ (reader.readString());
11335
11366
  msg.setMinReward(value);
11336
11367
  break;
11368
+ case 12:
11369
+ var value = /** @type {boolean} */ (reader.readBool());
11370
+ msg.setGovernance(value);
11371
+ break;
11337
11372
  case 50:
11338
11373
  var value = new google_protobuf_any_pb.Any;
11339
11374
  reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
@@ -11439,6 +11474,13 @@ proto.ocap.CreateRollupBlockTx.serializeBinaryToWriter = function(message, write
11439
11474
  f
11440
11475
  );
11441
11476
  }
11477
+ f = message.getGovernance();
11478
+ if (f) {
11479
+ writer.writeBool(
11480
+ 12,
11481
+ f
11482
+ );
11483
+ }
11442
11484
  f = message.getData();
11443
11485
  if (f != null) {
11444
11486
  writer.writeMessage(
@@ -11669,6 +11711,24 @@ proto.ocap.CreateRollupBlockTx.prototype.setMinReward = function(value) {
11669
11711
  };
11670
11712
 
11671
11713
 
11714
+ /**
11715
+ * optional bool governance = 12;
11716
+ * @return {boolean}
11717
+ */
11718
+ proto.ocap.CreateRollupBlockTx.prototype.getGovernance = function() {
11719
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
11720
+ };
11721
+
11722
+
11723
+ /**
11724
+ * @param {boolean} value
11725
+ * @return {!proto.ocap.CreateRollupBlockTx} returns this
11726
+ */
11727
+ proto.ocap.CreateRollupBlockTx.prototype.setGovernance = function(value) {
11728
+ return jspb.Message.setProto3BooleanField(this, 12, value);
11729
+ };
11730
+
11731
+
11672
11732
  /**
11673
11733
  * optional google.protobuf.Any data = 50;
11674
11734
  * @return {?proto.google.protobuf.Any}
@@ -12406,8 +12466,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
12406
12466
  * http://goto/soy-param-migration
12407
12467
  * @return {!Object}
12408
12468
  */
12409
- proto.ocap.MigrateRollupContractTx.prototype.toObject = function(opt_includeInstance) {
12410
- return proto.ocap.MigrateRollupContractTx.toObject(opt_includeInstance, this);
12469
+ proto.ocap.CloseRollupTx.prototype.toObject = function(opt_includeInstance) {
12470
+ return proto.ocap.CloseRollupTx.toObject(opt_includeInstance, this);
12411
12471
  };
12412
12472
 
12413
12473
 
@@ -12416,14 +12476,14 @@ proto.ocap.MigrateRollupContractTx.prototype.toObject = function(opt_includeInst
12416
12476
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12417
12477
  * the JSPB instance for transitional soy proto support:
12418
12478
  * http://goto/soy-param-migration
12419
- * @param {!proto.ocap.MigrateRollupContractTx} msg The msg instance to transform.
12479
+ * @param {!proto.ocap.CloseRollupTx} msg The msg instance to transform.
12420
12480
  * @return {!Object}
12421
12481
  * @suppress {unusedLocalVariables} f is only used for nested messages
12422
12482
  */
12423
- proto.ocap.MigrateRollupContractTx.toObject = function(includeInstance, msg) {
12483
+ proto.ocap.CloseRollupTx.toObject = function(includeInstance, msg) {
12424
12484
  var f, obj = {
12425
12485
  rollup: jspb.Message.getFieldWithDefault(msg, 1, ""),
12426
- to: jspb.Message.getFieldWithDefault(msg, 2, ""),
12486
+ message: jspb.Message.getFieldWithDefault(msg, 2, ""),
12427
12487
  data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
12428
12488
  };
12429
12489
 
@@ -12438,23 +12498,23 @@ proto.ocap.MigrateRollupContractTx.toObject = function(includeInstance, msg) {
12438
12498
  /**
12439
12499
  * Deserializes binary data (in protobuf wire format).
12440
12500
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
12441
- * @return {!proto.ocap.MigrateRollupContractTx}
12501
+ * @return {!proto.ocap.CloseRollupTx}
12442
12502
  */
12443
- proto.ocap.MigrateRollupContractTx.deserializeBinary = function(bytes) {
12503
+ proto.ocap.CloseRollupTx.deserializeBinary = function(bytes) {
12444
12504
  var reader = new jspb.BinaryReader(bytes);
12445
- var msg = new proto.ocap.MigrateRollupContractTx;
12446
- return proto.ocap.MigrateRollupContractTx.deserializeBinaryFromReader(msg, reader);
12505
+ var msg = new proto.ocap.CloseRollupTx;
12506
+ return proto.ocap.CloseRollupTx.deserializeBinaryFromReader(msg, reader);
12447
12507
  };
12448
12508
 
12449
12509
 
12450
12510
  /**
12451
12511
  * Deserializes binary data (in protobuf wire format) from the
12452
12512
  * given reader into the given message object.
12453
- * @param {!proto.ocap.MigrateRollupContractTx} msg The message object to deserialize into.
12513
+ * @param {!proto.ocap.CloseRollupTx} msg The message object to deserialize into.
12454
12514
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12455
- * @return {!proto.ocap.MigrateRollupContractTx}
12515
+ * @return {!proto.ocap.CloseRollupTx}
12456
12516
  */
12457
- proto.ocap.MigrateRollupContractTx.deserializeBinaryFromReader = function(msg, reader) {
12517
+ proto.ocap.CloseRollupTx.deserializeBinaryFromReader = function(msg, reader) {
12458
12518
  while (reader.nextField()) {
12459
12519
  if (reader.isEndGroup()) {
12460
12520
  break;
@@ -12467,7 +12527,7 @@ proto.ocap.MigrateRollupContractTx.deserializeBinaryFromReader = function(msg, r
12467
12527
  break;
12468
12528
  case 2:
12469
12529
  var value = /** @type {string} */ (reader.readString());
12470
- msg.setTo(value);
12530
+ msg.setMessage(value);
12471
12531
  break;
12472
12532
  case 10:
12473
12533
  var value = new google_protobuf_any_pb.Any;
@@ -12487,9 +12547,9 @@ proto.ocap.MigrateRollupContractTx.deserializeBinaryFromReader = function(msg, r
12487
12547
  * Serializes the message to binary data (in protobuf wire format).
12488
12548
  * @return {!Uint8Array}
12489
12549
  */
12490
- proto.ocap.MigrateRollupContractTx.prototype.serializeBinary = function() {
12550
+ proto.ocap.CloseRollupTx.prototype.serializeBinary = function() {
12491
12551
  var writer = new jspb.BinaryWriter();
12492
- proto.ocap.MigrateRollupContractTx.serializeBinaryToWriter(this, writer);
12552
+ proto.ocap.CloseRollupTx.serializeBinaryToWriter(this, writer);
12493
12553
  return writer.getResultBuffer();
12494
12554
  };
12495
12555
 
@@ -12497,11 +12557,11 @@ proto.ocap.MigrateRollupContractTx.prototype.serializeBinary = function() {
12497
12557
  /**
12498
12558
  * Serializes the given message to binary data (in protobuf wire
12499
12559
  * format), writing to the given BinaryWriter.
12500
- * @param {!proto.ocap.MigrateRollupContractTx} message
12560
+ * @param {!proto.ocap.CloseRollupTx} message
12501
12561
  * @param {!jspb.BinaryWriter} writer
12502
12562
  * @suppress {unusedLocalVariables} f is only used for nested messages
12503
12563
  */
12504
- proto.ocap.MigrateRollupContractTx.serializeBinaryToWriter = function(message, writer) {
12564
+ proto.ocap.CloseRollupTx.serializeBinaryToWriter = function(message, writer) {
12505
12565
  var f = undefined;
12506
12566
  f = message.getRollup();
12507
12567
  if (f.length > 0) {
@@ -12510,7 +12570,7 @@ proto.ocap.MigrateRollupContractTx.serializeBinaryToWriter = function(message, w
12510
12570
  f
12511
12571
  );
12512
12572
  }
12513
- f = message.getTo();
12573
+ f = message.getMessage();
12514
12574
  if (f.length > 0) {
12515
12575
  writer.writeString(
12516
12576
  2,
@@ -12532,34 +12592,34 @@ proto.ocap.MigrateRollupContractTx.serializeBinaryToWriter = function(message, w
12532
12592
  * optional string rollup = 1;
12533
12593
  * @return {string}
12534
12594
  */
12535
- proto.ocap.MigrateRollupContractTx.prototype.getRollup = function() {
12595
+ proto.ocap.CloseRollupTx.prototype.getRollup = function() {
12536
12596
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
12537
12597
  };
12538
12598
 
12539
12599
 
12540
12600
  /**
12541
12601
  * @param {string} value
12542
- * @return {!proto.ocap.MigrateRollupContractTx} returns this
12602
+ * @return {!proto.ocap.CloseRollupTx} returns this
12543
12603
  */
12544
- proto.ocap.MigrateRollupContractTx.prototype.setRollup = function(value) {
12604
+ proto.ocap.CloseRollupTx.prototype.setRollup = function(value) {
12545
12605
  return jspb.Message.setProto3StringField(this, 1, value);
12546
12606
  };
12547
12607
 
12548
12608
 
12549
12609
  /**
12550
- * optional string to = 2;
12610
+ * optional string message = 2;
12551
12611
  * @return {string}
12552
12612
  */
12553
- proto.ocap.MigrateRollupContractTx.prototype.getTo = function() {
12613
+ proto.ocap.CloseRollupTx.prototype.getMessage = function() {
12554
12614
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
12555
12615
  };
12556
12616
 
12557
12617
 
12558
12618
  /**
12559
12619
  * @param {string} value
12560
- * @return {!proto.ocap.MigrateRollupContractTx} returns this
12620
+ * @return {!proto.ocap.CloseRollupTx} returns this
12561
12621
  */
12562
- proto.ocap.MigrateRollupContractTx.prototype.setTo = function(value) {
12622
+ proto.ocap.CloseRollupTx.prototype.setMessage = function(value) {
12563
12623
  return jspb.Message.setProto3StringField(this, 2, value);
12564
12624
  };
12565
12625
 
@@ -12568,7 +12628,7 @@ proto.ocap.MigrateRollupContractTx.prototype.setTo = function(value) {
12568
12628
  * optional google.protobuf.Any data = 10;
12569
12629
  * @return {?proto.google.protobuf.Any}
12570
12630
  */
12571
- proto.ocap.MigrateRollupContractTx.prototype.getData = function() {
12631
+ proto.ocap.CloseRollupTx.prototype.getData = function() {
12572
12632
  return /** @type{?proto.google.protobuf.Any} */ (
12573
12633
  jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 10));
12574
12634
  };
@@ -12576,18 +12636,18 @@ proto.ocap.MigrateRollupContractTx.prototype.getData = function() {
12576
12636
 
12577
12637
  /**
12578
12638
  * @param {?proto.google.protobuf.Any|undefined} value
12579
- * @return {!proto.ocap.MigrateRollupContractTx} returns this
12639
+ * @return {!proto.ocap.CloseRollupTx} returns this
12580
12640
  */
12581
- proto.ocap.MigrateRollupContractTx.prototype.setData = function(value) {
12641
+ proto.ocap.CloseRollupTx.prototype.setData = function(value) {
12582
12642
  return jspb.Message.setWrapperField(this, 10, value);
12583
12643
  };
12584
12644
 
12585
12645
 
12586
12646
  /**
12587
12647
  * Clears the message field making it undefined.
12588
- * @return {!proto.ocap.MigrateRollupContractTx} returns this
12648
+ * @return {!proto.ocap.CloseRollupTx} returns this
12589
12649
  */
12590
- proto.ocap.MigrateRollupContractTx.prototype.clearData = function() {
12650
+ proto.ocap.CloseRollupTx.prototype.clearData = function() {
12591
12651
  return this.setData(undefined);
12592
12652
  };
12593
12653
 
@@ -12596,7 +12656,7 @@ proto.ocap.MigrateRollupContractTx.prototype.clearData = function() {
12596
12656
  * Returns whether this field is set.
12597
12657
  * @return {boolean}
12598
12658
  */
12599
- proto.ocap.MigrateRollupContractTx.prototype.hasData = function() {
12659
+ proto.ocap.CloseRollupTx.prototype.hasData = function() {
12600
12660
  return jspb.Message.getField(this, 10) != null;
12601
12661
  };
12602
12662
 
@@ -12617,8 +12677,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
12617
12677
  * http://goto/soy-param-migration
12618
12678
  * @return {!Object}
12619
12679
  */
12620
- proto.ocap.MigrateRollupTokenTx.prototype.toObject = function(opt_includeInstance) {
12621
- return proto.ocap.MigrateRollupTokenTx.toObject(opt_includeInstance, this);
12680
+ proto.ocap.MigrateRollupTx.prototype.toObject = function(opt_includeInstance) {
12681
+ return proto.ocap.MigrateRollupTx.toObject(opt_includeInstance, this);
12622
12682
  };
12623
12683
 
12624
12684
 
@@ -12627,16 +12687,16 @@ proto.ocap.MigrateRollupTokenTx.prototype.toObject = function(opt_includeInstanc
12627
12687
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12628
12688
  * the JSPB instance for transitional soy proto support:
12629
12689
  * http://goto/soy-param-migration
12630
- * @param {!proto.ocap.MigrateRollupTokenTx} msg The msg instance to transform.
12690
+ * @param {!proto.ocap.MigrateRollupTx} msg The msg instance to transform.
12631
12691
  * @return {!Object}
12632
12692
  * @suppress {unusedLocalVariables} f is only used for nested messages
12633
12693
  */
12634
- proto.ocap.MigrateRollupTokenTx.toObject = function(includeInstance, msg) {
12694
+ proto.ocap.MigrateRollupTx.toObject = function(includeInstance, msg) {
12635
12695
  var f, obj = {
12636
12696
  rollup: jspb.Message.getFieldWithDefault(msg, 1, ""),
12637
- from: jspb.Message.getFieldWithDefault(msg, 2, ""),
12638
- to: jspb.Message.getFieldWithDefault(msg, 3, ""),
12639
- token: (f = msg.getToken()) && type_pb.TokenInput.toObject(includeInstance, f),
12697
+ to: jspb.Message.getFieldWithDefault(msg, 2, ""),
12698
+ type: jspb.Message.getFieldWithDefault(msg, 3, ""),
12699
+ message: jspb.Message.getFieldWithDefault(msg, 4, ""),
12640
12700
  data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
12641
12701
  };
12642
12702
 
@@ -12651,23 +12711,23 @@ proto.ocap.MigrateRollupTokenTx.toObject = function(includeInstance, msg) {
12651
12711
  /**
12652
12712
  * Deserializes binary data (in protobuf wire format).
12653
12713
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
12654
- * @return {!proto.ocap.MigrateRollupTokenTx}
12714
+ * @return {!proto.ocap.MigrateRollupTx}
12655
12715
  */
12656
- proto.ocap.MigrateRollupTokenTx.deserializeBinary = function(bytes) {
12716
+ proto.ocap.MigrateRollupTx.deserializeBinary = function(bytes) {
12657
12717
  var reader = new jspb.BinaryReader(bytes);
12658
- var msg = new proto.ocap.MigrateRollupTokenTx;
12659
- return proto.ocap.MigrateRollupTokenTx.deserializeBinaryFromReader(msg, reader);
12718
+ var msg = new proto.ocap.MigrateRollupTx;
12719
+ return proto.ocap.MigrateRollupTx.deserializeBinaryFromReader(msg, reader);
12660
12720
  };
12661
12721
 
12662
12722
 
12663
12723
  /**
12664
12724
  * Deserializes binary data (in protobuf wire format) from the
12665
12725
  * given reader into the given message object.
12666
- * @param {!proto.ocap.MigrateRollupTokenTx} msg The message object to deserialize into.
12726
+ * @param {!proto.ocap.MigrateRollupTx} msg The message object to deserialize into.
12667
12727
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12668
- * @return {!proto.ocap.MigrateRollupTokenTx}
12728
+ * @return {!proto.ocap.MigrateRollupTx}
12669
12729
  */
12670
- proto.ocap.MigrateRollupTokenTx.deserializeBinaryFromReader = function(msg, reader) {
12730
+ proto.ocap.MigrateRollupTx.deserializeBinaryFromReader = function(msg, reader) {
12671
12731
  while (reader.nextField()) {
12672
12732
  if (reader.isEndGroup()) {
12673
12733
  break;
@@ -12680,16 +12740,15 @@ proto.ocap.MigrateRollupTokenTx.deserializeBinaryFromReader = function(msg, read
12680
12740
  break;
12681
12741
  case 2:
12682
12742
  var value = /** @type {string} */ (reader.readString());
12683
- msg.setFrom(value);
12743
+ msg.setTo(value);
12684
12744
  break;
12685
12745
  case 3:
12686
12746
  var value = /** @type {string} */ (reader.readString());
12687
- msg.setTo(value);
12747
+ msg.setType(value);
12688
12748
  break;
12689
12749
  case 4:
12690
- var value = new type_pb.TokenInput;
12691
- reader.readMessage(value,type_pb.TokenInput.deserializeBinaryFromReader);
12692
- msg.setToken(value);
12750
+ var value = /** @type {string} */ (reader.readString());
12751
+ msg.setMessage(value);
12693
12752
  break;
12694
12753
  case 10:
12695
12754
  var value = new google_protobuf_any_pb.Any;
@@ -12709,9 +12768,9 @@ proto.ocap.MigrateRollupTokenTx.deserializeBinaryFromReader = function(msg, read
12709
12768
  * Serializes the message to binary data (in protobuf wire format).
12710
12769
  * @return {!Uint8Array}
12711
12770
  */
12712
- proto.ocap.MigrateRollupTokenTx.prototype.serializeBinary = function() {
12771
+ proto.ocap.MigrateRollupTx.prototype.serializeBinary = function() {
12713
12772
  var writer = new jspb.BinaryWriter();
12714
- proto.ocap.MigrateRollupTokenTx.serializeBinaryToWriter(this, writer);
12773
+ proto.ocap.MigrateRollupTx.serializeBinaryToWriter(this, writer);
12715
12774
  return writer.getResultBuffer();
12716
12775
  };
12717
12776
 
@@ -12719,11 +12778,11 @@ proto.ocap.MigrateRollupTokenTx.prototype.serializeBinary = function() {
12719
12778
  /**
12720
12779
  * Serializes the given message to binary data (in protobuf wire
12721
12780
  * format), writing to the given BinaryWriter.
12722
- * @param {!proto.ocap.MigrateRollupTokenTx} message
12781
+ * @param {!proto.ocap.MigrateRollupTx} message
12723
12782
  * @param {!jspb.BinaryWriter} writer
12724
12783
  * @suppress {unusedLocalVariables} f is only used for nested messages
12725
12784
  */
12726
- proto.ocap.MigrateRollupTokenTx.serializeBinaryToWriter = function(message, writer) {
12785
+ proto.ocap.MigrateRollupTx.serializeBinaryToWriter = function(message, writer) {
12727
12786
  var f = undefined;
12728
12787
  f = message.getRollup();
12729
12788
  if (f.length > 0) {
@@ -12732,26 +12791,25 @@ proto.ocap.MigrateRollupTokenTx.serializeBinaryToWriter = function(message, writ
12732
12791
  f
12733
12792
  );
12734
12793
  }
12735
- f = message.getFrom();
12794
+ f = message.getTo();
12736
12795
  if (f.length > 0) {
12737
12796
  writer.writeString(
12738
12797
  2,
12739
12798
  f
12740
12799
  );
12741
12800
  }
12742
- f = message.getTo();
12801
+ f = message.getType();
12743
12802
  if (f.length > 0) {
12744
12803
  writer.writeString(
12745
12804
  3,
12746
12805
  f
12747
12806
  );
12748
12807
  }
12749
- f = message.getToken();
12750
- if (f != null) {
12751
- writer.writeMessage(
12808
+ f = message.getMessage();
12809
+ if (f.length > 0) {
12810
+ writer.writeString(
12752
12811
  4,
12753
- f,
12754
- type_pb.TokenInput.serializeBinaryToWriter
12812
+ f
12755
12813
  );
12756
12814
  }
12757
12815
  f = message.getData();
@@ -12769,90 +12827,71 @@ proto.ocap.MigrateRollupTokenTx.serializeBinaryToWriter = function(message, writ
12769
12827
  * optional string rollup = 1;
12770
12828
  * @return {string}
12771
12829
  */
12772
- proto.ocap.MigrateRollupTokenTx.prototype.getRollup = function() {
12830
+ proto.ocap.MigrateRollupTx.prototype.getRollup = function() {
12773
12831
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
12774
12832
  };
12775
12833
 
12776
12834
 
12777
12835
  /**
12778
12836
  * @param {string} value
12779
- * @return {!proto.ocap.MigrateRollupTokenTx} returns this
12837
+ * @return {!proto.ocap.MigrateRollupTx} returns this
12780
12838
  */
12781
- proto.ocap.MigrateRollupTokenTx.prototype.setRollup = function(value) {
12839
+ proto.ocap.MigrateRollupTx.prototype.setRollup = function(value) {
12782
12840
  return jspb.Message.setProto3StringField(this, 1, value);
12783
12841
  };
12784
12842
 
12785
12843
 
12786
12844
  /**
12787
- * optional string from = 2;
12845
+ * optional string to = 2;
12788
12846
  * @return {string}
12789
12847
  */
12790
- proto.ocap.MigrateRollupTokenTx.prototype.getFrom = function() {
12848
+ proto.ocap.MigrateRollupTx.prototype.getTo = function() {
12791
12849
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
12792
12850
  };
12793
12851
 
12794
12852
 
12795
12853
  /**
12796
12854
  * @param {string} value
12797
- * @return {!proto.ocap.MigrateRollupTokenTx} returns this
12855
+ * @return {!proto.ocap.MigrateRollupTx} returns this
12798
12856
  */
12799
- proto.ocap.MigrateRollupTokenTx.prototype.setFrom = function(value) {
12857
+ proto.ocap.MigrateRollupTx.prototype.setTo = function(value) {
12800
12858
  return jspb.Message.setProto3StringField(this, 2, value);
12801
12859
  };
12802
12860
 
12803
12861
 
12804
12862
  /**
12805
- * optional string to = 3;
12863
+ * optional string type = 3;
12806
12864
  * @return {string}
12807
12865
  */
12808
- proto.ocap.MigrateRollupTokenTx.prototype.getTo = function() {
12866
+ proto.ocap.MigrateRollupTx.prototype.getType = function() {
12809
12867
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
12810
12868
  };
12811
12869
 
12812
12870
 
12813
12871
  /**
12814
12872
  * @param {string} value
12815
- * @return {!proto.ocap.MigrateRollupTokenTx} returns this
12873
+ * @return {!proto.ocap.MigrateRollupTx} returns this
12816
12874
  */
12817
- proto.ocap.MigrateRollupTokenTx.prototype.setTo = function(value) {
12875
+ proto.ocap.MigrateRollupTx.prototype.setType = function(value) {
12818
12876
  return jspb.Message.setProto3StringField(this, 3, value);
12819
12877
  };
12820
12878
 
12821
12879
 
12822
12880
  /**
12823
- * optional TokenInput token = 4;
12824
- * @return {?proto.ocap.TokenInput}
12825
- */
12826
- proto.ocap.MigrateRollupTokenTx.prototype.getToken = function() {
12827
- return /** @type{?proto.ocap.TokenInput} */ (
12828
- jspb.Message.getWrapperField(this, type_pb.TokenInput, 4));
12829
- };
12830
-
12831
-
12832
- /**
12833
- * @param {?proto.ocap.TokenInput|undefined} value
12834
- * @return {!proto.ocap.MigrateRollupTokenTx} returns this
12835
- */
12836
- proto.ocap.MigrateRollupTokenTx.prototype.setToken = function(value) {
12837
- return jspb.Message.setWrapperField(this, 4, value);
12838
- };
12839
-
12840
-
12841
- /**
12842
- * Clears the message field making it undefined.
12843
- * @return {!proto.ocap.MigrateRollupTokenTx} returns this
12881
+ * optional string message = 4;
12882
+ * @return {string}
12844
12883
  */
12845
- proto.ocap.MigrateRollupTokenTx.prototype.clearToken = function() {
12846
- return this.setToken(undefined);
12884
+ proto.ocap.MigrateRollupTx.prototype.getMessage = function() {
12885
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
12847
12886
  };
12848
12887
 
12849
12888
 
12850
12889
  /**
12851
- * Returns whether this field is set.
12852
- * @return {boolean}
12890
+ * @param {string} value
12891
+ * @return {!proto.ocap.MigrateRollupTx} returns this
12853
12892
  */
12854
- proto.ocap.MigrateRollupTokenTx.prototype.hasToken = function() {
12855
- return jspb.Message.getField(this, 4) != null;
12893
+ proto.ocap.MigrateRollupTx.prototype.setMessage = function(value) {
12894
+ return jspb.Message.setProto3StringField(this, 4, value);
12856
12895
  };
12857
12896
 
12858
12897
 
@@ -12860,7 +12899,7 @@ proto.ocap.MigrateRollupTokenTx.prototype.hasToken = function() {
12860
12899
  * optional google.protobuf.Any data = 10;
12861
12900
  * @return {?proto.google.protobuf.Any}
12862
12901
  */
12863
- proto.ocap.MigrateRollupTokenTx.prototype.getData = function() {
12902
+ proto.ocap.MigrateRollupTx.prototype.getData = function() {
12864
12903
  return /** @type{?proto.google.protobuf.Any} */ (
12865
12904
  jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 10));
12866
12905
  };
@@ -12868,18 +12907,18 @@ proto.ocap.MigrateRollupTokenTx.prototype.getData = function() {
12868
12907
 
12869
12908
  /**
12870
12909
  * @param {?proto.google.protobuf.Any|undefined} value
12871
- * @return {!proto.ocap.MigrateRollupTokenTx} returns this
12910
+ * @return {!proto.ocap.MigrateRollupTx} returns this
12872
12911
  */
12873
- proto.ocap.MigrateRollupTokenTx.prototype.setData = function(value) {
12912
+ proto.ocap.MigrateRollupTx.prototype.setData = function(value) {
12874
12913
  return jspb.Message.setWrapperField(this, 10, value);
12875
12914
  };
12876
12915
 
12877
12916
 
12878
12917
  /**
12879
12918
  * Clears the message field making it undefined.
12880
- * @return {!proto.ocap.MigrateRollupTokenTx} returns this
12919
+ * @return {!proto.ocap.MigrateRollupTx} returns this
12881
12920
  */
12882
- proto.ocap.MigrateRollupTokenTx.prototype.clearData = function() {
12921
+ proto.ocap.MigrateRollupTx.prototype.clearData = function() {
12883
12922
  return this.setData(undefined);
12884
12923
  };
12885
12924
 
@@ -12888,7 +12927,7 @@ proto.ocap.MigrateRollupTokenTx.prototype.clearData = function() {
12888
12927
  * Returns whether this field is set.
12889
12928
  * @return {boolean}
12890
12929
  */
12891
- proto.ocap.MigrateRollupTokenTx.prototype.hasData = function() {
12930
+ proto.ocap.MigrateRollupTx.prototype.hasData = function() {
12892
12931
  return jspb.Message.getField(this, 10) != null;
12893
12932
  };
12894
12933
 
@@ -13627,7 +13666,7 @@ proto.ocap.WithdrawTokenV2Tx.prototype.hasData = function() {
13627
13666
  * @private {!Array<!Array<number>>}
13628
13667
  * @const
13629
13668
  */
13630
- proto.ocap.ItxStub.oneofGroups_ = [[1,2,3,4,5,6,10,12,13,14,15,20,21,22,30,31,32,33,40,41,42,43,49,50,51,52,53,54,55,56,57,58,59]];
13669
+ proto.ocap.ItxStub.oneofGroups_ = [[1,2,3,4,5,6,10,12,13,14,15,20,21,22,30,31,32,33,40,41,42,43,49,50,51,52,53,54,55,56,57,58,60]];
13631
13670
 
13632
13671
  /**
13633
13672
  * @enum {number}
@@ -13665,8 +13704,8 @@ proto.ocap.ItxStub.ValueCase = {
13665
13704
  CLAIM_BLOCK_REWARD: 55,
13666
13705
  PAUSE_ROLLUP: 56,
13667
13706
  RESUME_ROLLUP: 57,
13668
- MIGRATE_ROLLUP_CONTRACT: 58,
13669
- MIGRATE_ROLLUP_TOKEN: 59
13707
+ MIGRATE_ROLLUP: 58,
13708
+ CLOSE_ROLLUP: 60
13670
13709
  };
13671
13710
 
13672
13711
  /**
@@ -13738,8 +13777,8 @@ proto.ocap.ItxStub.toObject = function(includeInstance, msg) {
13738
13777
  claimBlockReward: (f = msg.getClaimBlockReward()) && proto.ocap.ClaimBlockRewardTx.toObject(includeInstance, f),
13739
13778
  pauseRollup: (f = msg.getPauseRollup()) && proto.ocap.PauseRollupTx.toObject(includeInstance, f),
13740
13779
  resumeRollup: (f = msg.getResumeRollup()) && proto.ocap.ResumeRollupTx.toObject(includeInstance, f),
13741
- migrateRollupContract: (f = msg.getMigrateRollupContract()) && proto.ocap.MigrateRollupContractTx.toObject(includeInstance, f),
13742
- migrateRollupToken: (f = msg.getMigrateRollupToken()) && proto.ocap.MigrateRollupTokenTx.toObject(includeInstance, f)
13780
+ migrateRollup: (f = msg.getMigrateRollup()) && proto.ocap.MigrateRollupTx.toObject(includeInstance, f),
13781
+ closeRollup: (f = msg.getCloseRollup()) && proto.ocap.CloseRollupTx.toObject(includeInstance, f)
13743
13782
  };
13744
13783
 
13745
13784
  if (includeInstance) {
@@ -13932,14 +13971,14 @@ proto.ocap.ItxStub.deserializeBinaryFromReader = function(msg, reader) {
13932
13971
  msg.setResumeRollup(value);
13933
13972
  break;
13934
13973
  case 58:
13935
- var value = new proto.ocap.MigrateRollupContractTx;
13936
- reader.readMessage(value,proto.ocap.MigrateRollupContractTx.deserializeBinaryFromReader);
13937
- msg.setMigrateRollupContract(value);
13974
+ var value = new proto.ocap.MigrateRollupTx;
13975
+ reader.readMessage(value,proto.ocap.MigrateRollupTx.deserializeBinaryFromReader);
13976
+ msg.setMigrateRollup(value);
13938
13977
  break;
13939
- case 59:
13940
- var value = new proto.ocap.MigrateRollupTokenTx;
13941
- reader.readMessage(value,proto.ocap.MigrateRollupTokenTx.deserializeBinaryFromReader);
13942
- msg.setMigrateRollupToken(value);
13978
+ case 60:
13979
+ var value = new proto.ocap.CloseRollupTx;
13980
+ reader.readMessage(value,proto.ocap.CloseRollupTx.deserializeBinaryFromReader);
13981
+ msg.setCloseRollup(value);
13943
13982
  break;
13944
13983
  default:
13945
13984
  reader.skipField();
@@ -14218,20 +14257,20 @@ proto.ocap.ItxStub.serializeBinaryToWriter = function(message, writer) {
14218
14257
  proto.ocap.ResumeRollupTx.serializeBinaryToWriter
14219
14258
  );
14220
14259
  }
14221
- f = message.getMigrateRollupContract();
14260
+ f = message.getMigrateRollup();
14222
14261
  if (f != null) {
14223
14262
  writer.writeMessage(
14224
14263
  58,
14225
14264
  f,
14226
- proto.ocap.MigrateRollupContractTx.serializeBinaryToWriter
14265
+ proto.ocap.MigrateRollupTx.serializeBinaryToWriter
14227
14266
  );
14228
14267
  }
14229
- f = message.getMigrateRollupToken();
14268
+ f = message.getCloseRollup();
14230
14269
  if (f != null) {
14231
14270
  writer.writeMessage(
14232
- 59,
14271
+ 60,
14233
14272
  f,
14234
- proto.ocap.MigrateRollupTokenTx.serializeBinaryToWriter
14273
+ proto.ocap.CloseRollupTx.serializeBinaryToWriter
14235
14274
  );
14236
14275
  }
14237
14276
  };
@@ -15385,20 +15424,20 @@ proto.ocap.ItxStub.prototype.hasResumeRollup = function() {
15385
15424
 
15386
15425
 
15387
15426
  /**
15388
- * optional MigrateRollupContractTx migrate_rollup_contract = 58;
15389
- * @return {?proto.ocap.MigrateRollupContractTx}
15427
+ * optional MigrateRollupTx migrate_rollup = 58;
15428
+ * @return {?proto.ocap.MigrateRollupTx}
15390
15429
  */
15391
- proto.ocap.ItxStub.prototype.getMigrateRollupContract = function() {
15392
- return /** @type{?proto.ocap.MigrateRollupContractTx} */ (
15393
- jspb.Message.getWrapperField(this, proto.ocap.MigrateRollupContractTx, 58));
15430
+ proto.ocap.ItxStub.prototype.getMigrateRollup = function() {
15431
+ return /** @type{?proto.ocap.MigrateRollupTx} */ (
15432
+ jspb.Message.getWrapperField(this, proto.ocap.MigrateRollupTx, 58));
15394
15433
  };
15395
15434
 
15396
15435
 
15397
15436
  /**
15398
- * @param {?proto.ocap.MigrateRollupContractTx|undefined} value
15437
+ * @param {?proto.ocap.MigrateRollupTx|undefined} value
15399
15438
  * @return {!proto.ocap.ItxStub} returns this
15400
15439
  */
15401
- proto.ocap.ItxStub.prototype.setMigrateRollupContract = function(value) {
15440
+ proto.ocap.ItxStub.prototype.setMigrateRollup = function(value) {
15402
15441
  return jspb.Message.setOneofWrapperField(this, 58, proto.ocap.ItxStub.oneofGroups_[0], value);
15403
15442
  };
15404
15443
 
@@ -15407,8 +15446,8 @@ proto.ocap.ItxStub.prototype.setMigrateRollupContract = function(value) {
15407
15446
  * Clears the message field making it undefined.
15408
15447
  * @return {!proto.ocap.ItxStub} returns this
15409
15448
  */
15410
- proto.ocap.ItxStub.prototype.clearMigrateRollupContract = function() {
15411
- return this.setMigrateRollupContract(undefined);
15449
+ proto.ocap.ItxStub.prototype.clearMigrateRollup = function() {
15450
+ return this.setMigrateRollup(undefined);
15412
15451
  };
15413
15452
 
15414
15453
 
@@ -15416,27 +15455,27 @@ proto.ocap.ItxStub.prototype.clearMigrateRollupContract = function() {
15416
15455
  * Returns whether this field is set.
15417
15456
  * @return {boolean}
15418
15457
  */
15419
- proto.ocap.ItxStub.prototype.hasMigrateRollupContract = function() {
15458
+ proto.ocap.ItxStub.prototype.hasMigrateRollup = function() {
15420
15459
  return jspb.Message.getField(this, 58) != null;
15421
15460
  };
15422
15461
 
15423
15462
 
15424
15463
  /**
15425
- * optional MigrateRollupTokenTx migrate_rollup_token = 59;
15426
- * @return {?proto.ocap.MigrateRollupTokenTx}
15464
+ * optional CloseRollupTx close_rollup = 60;
15465
+ * @return {?proto.ocap.CloseRollupTx}
15427
15466
  */
15428
- proto.ocap.ItxStub.prototype.getMigrateRollupToken = function() {
15429
- return /** @type{?proto.ocap.MigrateRollupTokenTx} */ (
15430
- jspb.Message.getWrapperField(this, proto.ocap.MigrateRollupTokenTx, 59));
15467
+ proto.ocap.ItxStub.prototype.getCloseRollup = function() {
15468
+ return /** @type{?proto.ocap.CloseRollupTx} */ (
15469
+ jspb.Message.getWrapperField(this, proto.ocap.CloseRollupTx, 60));
15431
15470
  };
15432
15471
 
15433
15472
 
15434
15473
  /**
15435
- * @param {?proto.ocap.MigrateRollupTokenTx|undefined} value
15474
+ * @param {?proto.ocap.CloseRollupTx|undefined} value
15436
15475
  * @return {!proto.ocap.ItxStub} returns this
15437
15476
  */
15438
- proto.ocap.ItxStub.prototype.setMigrateRollupToken = function(value) {
15439
- return jspb.Message.setOneofWrapperField(this, 59, proto.ocap.ItxStub.oneofGroups_[0], value);
15477
+ proto.ocap.ItxStub.prototype.setCloseRollup = function(value) {
15478
+ return jspb.Message.setOneofWrapperField(this, 60, proto.ocap.ItxStub.oneofGroups_[0], value);
15440
15479
  };
15441
15480
 
15442
15481
 
@@ -15444,8 +15483,8 @@ proto.ocap.ItxStub.prototype.setMigrateRollupToken = function(value) {
15444
15483
  * Clears the message field making it undefined.
15445
15484
  * @return {!proto.ocap.ItxStub} returns this
15446
15485
  */
15447
- proto.ocap.ItxStub.prototype.clearMigrateRollupToken = function() {
15448
- return this.setMigrateRollupToken(undefined);
15486
+ proto.ocap.ItxStub.prototype.clearCloseRollup = function() {
15487
+ return this.setCloseRollup(undefined);
15449
15488
  };
15450
15489
 
15451
15490
 
@@ -15453,8 +15492,8 @@ proto.ocap.ItxStub.prototype.clearMigrateRollupToken = function() {
15453
15492
  * Returns whether this field is set.
15454
15493
  * @return {boolean}
15455
15494
  */
15456
- proto.ocap.ItxStub.prototype.hasMigrateRollupToken = function() {
15457
- return jspb.Message.getField(this, 59) != null;
15495
+ proto.ocap.ItxStub.prototype.hasCloseRollup = function() {
15496
+ return jspb.Message.getField(this, 60) != null;
15458
15497
  };
15459
15498
 
15460
15499