@ocap/proto 1.13.68 → 1.13.72

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/spec.json CHANGED
@@ -3178,9 +3178,14 @@
3178
3178
  "type": "uint32",
3179
3179
  "id": 39
3180
3180
  },
3181
+ "migrateHistory": {
3182
+ "rule": "repeated",
3183
+ "type": "string",
3184
+ "id": 40
3185
+ },
3181
3186
  "context": {
3182
3187
  "type": "StateContext",
3183
- "id": 40
3188
+ "id": 42
3184
3189
  },
3185
3190
  "data": {
3186
3191
  "type": "google.protobuf.Any",
@@ -4064,29 +4069,25 @@
4064
4069
  "type": "string",
4065
4070
  "id": 19
4066
4071
  },
4067
- "paused": {
4068
- "type": "bool",
4069
- "id": 20
4070
- },
4071
- "rollup": {
4072
- "type": "string",
4073
- "id": 21
4074
- },
4075
4072
  "publisherFeeShare": {
4076
4073
  "type": "uint32",
4077
- "id": 22
4074
+ "id": 20
4078
4075
  },
4079
4076
  "leaveWaitingPeriod": {
4080
4077
  "type": "uint32",
4081
- "id": 23
4078
+ "id": 21
4082
4079
  },
4083
4080
  "publishWaitingPeriod": {
4084
4081
  "type": "uint32",
4085
- "id": 24
4082
+ "id": 22
4086
4083
  },
4087
4084
  "publishSlashRate": {
4088
4085
  "type": "uint32",
4089
- "id": 25
4086
+ "id": 23
4087
+ },
4088
+ "rollup": {
4089
+ "type": "string",
4090
+ "id": 40
4090
4091
  },
4091
4092
  "data": {
4092
4093
  "type": "google.protobuf.Any",
@@ -4218,6 +4219,70 @@
4218
4219
  }
4219
4220
  }
4220
4221
  },
4222
+ "PauseRollupTx": {
4223
+ "fields": {
4224
+ "rollup": {
4225
+ "type": "string",
4226
+ "id": 1
4227
+ },
4228
+ "data": {
4229
+ "type": "google.protobuf.Any",
4230
+ "id": 10
4231
+ }
4232
+ }
4233
+ },
4234
+ "ResumeRollupTx": {
4235
+ "fields": {
4236
+ "rollup": {
4237
+ "type": "string",
4238
+ "id": 1
4239
+ },
4240
+ "data": {
4241
+ "type": "google.protobuf.Any",
4242
+ "id": 10
4243
+ }
4244
+ }
4245
+ },
4246
+ "MigrateRollupContractTx": {
4247
+ "fields": {
4248
+ "rollup": {
4249
+ "type": "string",
4250
+ "id": 1
4251
+ },
4252
+ "to": {
4253
+ "type": "string",
4254
+ "id": 2
4255
+ },
4256
+ "data": {
4257
+ "type": "google.protobuf.Any",
4258
+ "id": 10
4259
+ }
4260
+ }
4261
+ },
4262
+ "MigrateRollupTokenTx": {
4263
+ "fields": {
4264
+ "rollup": {
4265
+ "type": "string",
4266
+ "id": 1
4267
+ },
4268
+ "from": {
4269
+ "type": "string",
4270
+ "id": 2
4271
+ },
4272
+ "to": {
4273
+ "type": "string",
4274
+ "id": 3
4275
+ },
4276
+ "token": {
4277
+ "type": "TokenInput",
4278
+ "id": 4
4279
+ },
4280
+ "data": {
4281
+ "type": "google.protobuf.Any",
4282
+ "id": 10
4283
+ }
4284
+ }
4285
+ },
4221
4286
  "DepositTokenV2Tx": {
4222
4287
  "fields": {
4223
4288
  "token": {
@@ -4313,7 +4378,11 @@
4313
4378
  "joinRollup",
4314
4379
  "leaveRollup",
4315
4380
  "createRollupBlock",
4316
- "claimBlockReward"
4381
+ "claimBlockReward",
4382
+ "pauseRollup",
4383
+ "resumeRollup",
4384
+ "migrateRollupContract",
4385
+ "migrateRollupToken"
4317
4386
  ]
4318
4387
  }
4319
4388
  },
@@ -4429,6 +4498,22 @@
4429
4498
  "claimBlockReward": {
4430
4499
  "type": "ClaimBlockRewardTx",
4431
4500
  "id": 55
4501
+ },
4502
+ "pauseRollup": {
4503
+ "type": "PauseRollupTx",
4504
+ "id": 56
4505
+ },
4506
+ "resumeRollup": {
4507
+ "type": "ResumeRollupTx",
4508
+ "id": 57
4509
+ },
4510
+ "migrateRollupContract": {
4511
+ "type": "MigrateRollupContractTx",
4512
+ "id": 58
4513
+ },
4514
+ "migrateRollupToken": {
4515
+ "type": "MigrateRollupTokenTx",
4516
+ "id": 59
4432
4517
  }
4433
4518
  }
4434
4519
  },
@@ -5330,6 +5415,11 @@
5330
5415
  "type": "uint32",
5331
5416
  "id": 41
5332
5417
  },
5418
+ "migrateHistory": {
5419
+ "rule": "repeated",
5420
+ "type": "string",
5421
+ "id": 42
5422
+ },
5333
5423
  "data": {
5334
5424
  "type": "google.protobuf.Any",
5335
5425
  "id": 50
@@ -6448,7 +6448,7 @@ proto.ocap.StakeState.prototype.hasData = function() {
6448
6448
  * @private {!Array<number>}
6449
6449
  * @const
6450
6450
  */
6451
- proto.ocap.RollupState.repeatedFields_ = [5,6];
6451
+ proto.ocap.RollupState.repeatedFields_ = [5,6,40];
6452
6452
 
6453
6453
 
6454
6454
 
@@ -6519,6 +6519,7 @@ proto.ocap.RollupState.toObject = function(includeInstance, msg) {
6519
6519
  leaveWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 37, 0),
6520
6520
  publishWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 38, 0),
6521
6521
  publishSlashRate: jspb.Message.getFieldWithDefault(msg, 39, 0),
6522
+ migrateHistoryList: (f = jspb.Message.getRepeatedField(msg, 40)) == null ? undefined : f,
6522
6523
  context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
6523
6524
  data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
6524
6525
  };
@@ -6706,6 +6707,10 @@ proto.ocap.RollupState.deserializeBinaryFromReader = function(msg, reader) {
6706
6707
  msg.setPublishSlashRate(value);
6707
6708
  break;
6708
6709
  case 40:
6710
+ var value = /** @type {string} */ (reader.readString());
6711
+ msg.addMigrateHistory(value);
6712
+ break;
6713
+ case 42:
6709
6714
  var value = new type_pb.StateContext;
6710
6715
  reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
6711
6716
  msg.setContext(value);
@@ -7000,10 +7005,17 @@ proto.ocap.RollupState.serializeBinaryToWriter = function(message, writer) {
7000
7005
  f
7001
7006
  );
7002
7007
  }
7008
+ f = message.getMigrateHistoryList();
7009
+ if (f.length > 0) {
7010
+ writer.writeRepeatedString(
7011
+ 40,
7012
+ f
7013
+ );
7014
+ }
7003
7015
  f = message.getContext();
7004
7016
  if (f != null) {
7005
7017
  writer.writeMessage(
7006
- 40,
7018
+ 42,
7007
7019
  f,
7008
7020
  type_pb.StateContext.serializeBinaryToWriter
7009
7021
  );
@@ -7746,12 +7758,49 @@ proto.ocap.RollupState.prototype.setPublishSlashRate = function(value) {
7746
7758
 
7747
7759
 
7748
7760
  /**
7749
- * optional StateContext context = 40;
7761
+ * repeated string migrate_history = 40;
7762
+ * @return {!Array<string>}
7763
+ */
7764
+ proto.ocap.RollupState.prototype.getMigrateHistoryList = function() {
7765
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 40));
7766
+ };
7767
+
7768
+
7769
+ /**
7770
+ * @param {!Array<string>} value
7771
+ * @return {!proto.ocap.RollupState} returns this
7772
+ */
7773
+ proto.ocap.RollupState.prototype.setMigrateHistoryList = function(value) {
7774
+ return jspb.Message.setField(this, 40, value || []);
7775
+ };
7776
+
7777
+
7778
+ /**
7779
+ * @param {string} value
7780
+ * @param {number=} opt_index
7781
+ * @return {!proto.ocap.RollupState} returns this
7782
+ */
7783
+ proto.ocap.RollupState.prototype.addMigrateHistory = function(value, opt_index) {
7784
+ return jspb.Message.addToRepeatedField(this, 40, value, opt_index);
7785
+ };
7786
+
7787
+
7788
+ /**
7789
+ * Clears the list making it empty but non-null.
7790
+ * @return {!proto.ocap.RollupState} returns this
7791
+ */
7792
+ proto.ocap.RollupState.prototype.clearMigrateHistoryList = function() {
7793
+ return this.setMigrateHistoryList([]);
7794
+ };
7795
+
7796
+
7797
+ /**
7798
+ * optional StateContext context = 42;
7750
7799
  * @return {?proto.ocap.StateContext}
7751
7800
  */
7752
7801
  proto.ocap.RollupState.prototype.getContext = function() {
7753
7802
  return /** @type{?proto.ocap.StateContext} */ (
7754
- jspb.Message.getWrapperField(this, type_pb.StateContext, 40));
7803
+ jspb.Message.getWrapperField(this, type_pb.StateContext, 42));
7755
7804
  };
7756
7805
 
7757
7806
 
@@ -7760,7 +7809,7 @@ proto.ocap.RollupState.prototype.getContext = function() {
7760
7809
  * @return {!proto.ocap.RollupState} returns this
7761
7810
  */
7762
7811
  proto.ocap.RollupState.prototype.setContext = function(value) {
7763
- return jspb.Message.setWrapperField(this, 40, value);
7812
+ return jspb.Message.setWrapperField(this, 42, value);
7764
7813
  };
7765
7814
 
7766
7815
 
@@ -7778,7 +7827,7 @@ proto.ocap.RollupState.prototype.clearContext = function() {
7778
7827
  * @return {boolean}
7779
7828
  */
7780
7829
  proto.ocap.RollupState.prototype.hasContext = function() {
7781
- return jspb.Message.getField(this, 40) != null;
7830
+ return jspb.Message.getField(this, 42) != null;
7782
7831
  };
7783
7832
 
7784
7833
 
@@ -9367,7 +9367,7 @@ proto.ocap.IndexedStakeState.prototype.hasData = function() {
9367
9367
  * @private {!Array<number>}
9368
9368
  * @const
9369
9369
  */
9370
- proto.ocap.IndexedRollupState.repeatedFields_ = [5,6];
9370
+ proto.ocap.IndexedRollupState.repeatedFields_ = [5,6,42];
9371
9371
 
9372
9372
 
9373
9373
 
@@ -9440,6 +9440,7 @@ proto.ocap.IndexedRollupState.toObject = function(includeInstance, msg) {
9440
9440
  publisherFeeShare: jspb.Message.getFieldWithDefault(msg, 39, 0),
9441
9441
  publishWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 40, 0),
9442
9442
  publishSlashRate: jspb.Message.getFieldWithDefault(msg, 41, 0),
9443
+ migrateHistoryList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f,
9443
9444
  data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
9444
9445
  };
9445
9446
 
@@ -9633,6 +9634,10 @@ proto.ocap.IndexedRollupState.deserializeBinaryFromReader = function(msg, reader
9633
9634
  var value = /** @type {number} */ (reader.readUint32());
9634
9635
  msg.setPublishSlashRate(value);
9635
9636
  break;
9637
+ case 42:
9638
+ var value = /** @type {string} */ (reader.readString());
9639
+ msg.addMigrateHistory(value);
9640
+ break;
9636
9641
  case 50:
9637
9642
  var value = new google_protobuf_any_pb.Any;
9638
9643
  reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
@@ -9937,6 +9942,13 @@ proto.ocap.IndexedRollupState.serializeBinaryToWriter = function(message, writer
9937
9942
  f
9938
9943
  );
9939
9944
  }
9945
+ f = message.getMigrateHistoryList();
9946
+ if (f.length > 0) {
9947
+ writer.writeRepeatedString(
9948
+ 42,
9949
+ f
9950
+ );
9951
+ }
9940
9952
  f = message.getData();
9941
9953
  if (f != null) {
9942
9954
  writer.writeMessage(
@@ -10710,6 +10722,43 @@ proto.ocap.IndexedRollupState.prototype.setPublishSlashRate = function(value) {
10710
10722
  };
10711
10723
 
10712
10724
 
10725
+ /**
10726
+ * repeated string migrate_history = 42;
10727
+ * @return {!Array<string>}
10728
+ */
10729
+ proto.ocap.IndexedRollupState.prototype.getMigrateHistoryList = function() {
10730
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 42));
10731
+ };
10732
+
10733
+
10734
+ /**
10735
+ * @param {!Array<string>} value
10736
+ * @return {!proto.ocap.IndexedRollupState} returns this
10737
+ */
10738
+ proto.ocap.IndexedRollupState.prototype.setMigrateHistoryList = function(value) {
10739
+ return jspb.Message.setField(this, 42, value || []);
10740
+ };
10741
+
10742
+
10743
+ /**
10744
+ * @param {string} value
10745
+ * @param {number=} opt_index
10746
+ * @return {!proto.ocap.IndexedRollupState} returns this
10747
+ */
10748
+ proto.ocap.IndexedRollupState.prototype.addMigrateHistory = function(value, opt_index) {
10749
+ return jspb.Message.addToRepeatedField(this, 42, value, opt_index);
10750
+ };
10751
+
10752
+
10753
+ /**
10754
+ * Clears the list making it empty but non-null.
10755
+ * @return {!proto.ocap.IndexedRollupState} returns this
10756
+ */
10757
+ proto.ocap.IndexedRollupState.prototype.clearMigrateHistoryList = function() {
10758
+ return this.setMigrateHistoryList([]);
10759
+ };
10760
+
10761
+
10713
10762
  /**
10714
10763
  * optional google.protobuf.Any data = 50;
10715
10764
  * @return {?proto.google.protobuf.Any}