@ocap/proto 1.18.33 → 1.18.35

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
@@ -2805,6 +2805,10 @@
2805
2805
  "type": "string",
2806
2806
  "id": 2
2807
2807
  },
2808
+ "vaultAddress": {
2809
+ "type": "string",
2810
+ "id": 3
2811
+ },
2808
2812
  "contractAddress": {
2809
2813
  "type": "string",
2810
2814
  "id": 4
@@ -2948,9 +2952,18 @@
2948
2952
  "type": "string",
2949
2953
  "id": 40
2950
2954
  },
2955
+ "closed": {
2956
+ "type": "bool",
2957
+ "id": 41
2958
+ },
2959
+ "vaultHistory": {
2960
+ "rule": "repeated",
2961
+ "type": "string",
2962
+ "id": 42
2963
+ },
2951
2964
  "context": {
2952
2965
  "type": "StateContext",
2953
- "id": 42
2966
+ "id": 43
2954
2967
  },
2955
2968
  "data": {
2956
2969
  "type": "google.protobuf.Any",
@@ -3014,6 +3027,10 @@
3014
3027
  "type": "string",
3015
3028
  "id": 14
3016
3029
  },
3030
+ "governance": {
3031
+ "type": "bool",
3032
+ "id": 15
3033
+ },
3017
3034
  "context": {
3018
3035
  "type": "StateContext",
3019
3036
  "id": 30
@@ -3676,6 +3693,10 @@
3676
3693
  "type": "string",
3677
3694
  "id": 2
3678
3695
  },
3696
+ "vaultAddress": {
3697
+ "type": "string",
3698
+ "id": 3
3699
+ },
3679
3700
  "contractAddress": {
3680
3701
  "type": "string",
3681
3702
  "id": 4
@@ -3989,6 +4010,10 @@
3989
4010
  "type": "string",
3990
4011
  "id": 11
3991
4012
  },
4013
+ "governance": {
4014
+ "type": "bool",
4015
+ "id": 12
4016
+ },
3992
4017
  "data": {
3993
4018
  "type": "google.protobuf.Any",
3994
4019
  "id": 50
@@ -4047,13 +4072,13 @@
4047
4072
  }
4048
4073
  }
4049
4074
  },
4050
- "MigrateRollupContractTx": {
4075
+ "CloseRollupTx": {
4051
4076
  "fields": {
4052
4077
  "rollup": {
4053
4078
  "type": "string",
4054
4079
  "id": 1
4055
4080
  },
4056
- "to": {
4081
+ "message": {
4057
4082
  "type": "string",
4058
4083
  "id": 2
4059
4084
  },
@@ -4063,22 +4088,22 @@
4063
4088
  }
4064
4089
  }
4065
4090
  },
4066
- "MigrateRollupTokenTx": {
4091
+ "MigrateRollupTx": {
4067
4092
  "fields": {
4068
4093
  "rollup": {
4069
4094
  "type": "string",
4070
4095
  "id": 1
4071
4096
  },
4072
- "from": {
4097
+ "to": {
4073
4098
  "type": "string",
4074
4099
  "id": 2
4075
4100
  },
4076
- "to": {
4101
+ "type": {
4077
4102
  "type": "string",
4078
4103
  "id": 3
4079
4104
  },
4080
- "token": {
4081
- "type": "TokenInput",
4105
+ "message": {
4106
+ "type": "string",
4082
4107
  "id": 4
4083
4108
  },
4084
4109
  "data": {
@@ -4186,8 +4211,8 @@
4186
4211
  "claimBlockReward",
4187
4212
  "pauseRollup",
4188
4213
  "resumeRollup",
4189
- "migrateRollupContract",
4190
- "migrateRollupToken"
4214
+ "migrateRollup",
4215
+ "closeRollup"
4191
4216
  ]
4192
4217
  }
4193
4218
  },
@@ -4316,13 +4341,13 @@
4316
4341
  "type": "ResumeRollupTx",
4317
4342
  "id": 57
4318
4343
  },
4319
- "migrateRollupContract": {
4320
- "type": "MigrateRollupContractTx",
4344
+ "migrateRollup": {
4345
+ "type": "MigrateRollupTx",
4321
4346
  "id": 58
4322
4347
  },
4323
- "migrateRollupToken": {
4324
- "type": "MigrateRollupTokenTx",
4325
- "id": 59
4348
+ "closeRollup": {
4349
+ "type": "CloseRollupTx",
4350
+ "id": 60
4326
4351
  }
4327
4352
  }
4328
4353
  },
@@ -4993,6 +5018,10 @@
4993
5018
  "type": "string",
4994
5019
  "id": 2
4995
5020
  },
5021
+ "vaultAddress": {
5022
+ "type": "string",
5023
+ "id": 3
5024
+ },
4996
5025
  "contractAddress": {
4997
5026
  "type": "string",
4998
5027
  "id": 4
@@ -5144,6 +5173,15 @@
5144
5173
  "type": "string",
5145
5174
  "id": 42
5146
5175
  },
5176
+ "closed": {
5177
+ "type": "bool",
5178
+ "id": 43
5179
+ },
5180
+ "vaultHistory": {
5181
+ "rule": "repeated",
5182
+ "type": "string",
5183
+ "id": 44
5184
+ },
5147
5185
  "data": {
5148
5186
  "type": "google.protobuf.Any",
5149
5187
  "id": 50
@@ -5210,6 +5248,10 @@
5210
5248
  "type": "string",
5211
5249
  "id": 15
5212
5250
  },
5251
+ "governance": {
5252
+ "type": "bool",
5253
+ "id": 16
5254
+ },
5213
5255
  "tokenInfo": {
5214
5256
  "type": "IndexedTokenInput",
5215
5257
  "id": 18
@@ -5261,7 +5261,7 @@ proto.ocap.StakeState.prototype.hasData = function() {
5261
5261
  * @private {!Array<number>}
5262
5262
  * @const
5263
5263
  */
5264
- proto.ocap.RollupState.repeatedFields_ = [5,6,40];
5264
+ proto.ocap.RollupState.repeatedFields_ = [5,6,40,42];
5265
5265
 
5266
5266
 
5267
5267
 
@@ -5296,6 +5296,7 @@ proto.ocap.RollupState.toObject = function(includeInstance, msg) {
5296
5296
  var f, obj = {
5297
5297
  address: jspb.Message.getFieldWithDefault(msg, 1, ""),
5298
5298
  tokenAddress: jspb.Message.getFieldWithDefault(msg, 2, ""),
5299
+ vaultAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
5299
5300
  contractAddress: jspb.Message.getFieldWithDefault(msg, 4, ""),
5300
5301
  seedValidatorsList: jspb.Message.toObjectList(msg.getSeedValidatorsList(),
5301
5302
  type_pb.RollupValidator.toObject, includeInstance),
@@ -5333,6 +5334,8 @@ proto.ocap.RollupState.toObject = function(includeInstance, msg) {
5333
5334
  publishWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 38, 0),
5334
5335
  publishSlashRate: jspb.Message.getFieldWithDefault(msg, 39, 0),
5335
5336
  migrateHistoryList: (f = jspb.Message.getRepeatedField(msg, 40)) == null ? undefined : f,
5337
+ closed: jspb.Message.getBooleanFieldWithDefault(msg, 41, false),
5338
+ vaultHistoryList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f,
5336
5339
  context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
5337
5340
  data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
5338
5341
  };
@@ -5379,6 +5382,10 @@ proto.ocap.RollupState.deserializeBinaryFromReader = function(msg, reader) {
5379
5382
  var value = /** @type {string} */ (reader.readString());
5380
5383
  msg.setTokenAddress(value);
5381
5384
  break;
5385
+ case 3:
5386
+ var value = /** @type {string} */ (reader.readString());
5387
+ msg.setVaultAddress(value);
5388
+ break;
5382
5389
  case 4:
5383
5390
  var value = /** @type {string} */ (reader.readString());
5384
5391
  msg.setContractAddress(value);
@@ -5523,7 +5530,15 @@ proto.ocap.RollupState.deserializeBinaryFromReader = function(msg, reader) {
5523
5530
  var value = /** @type {string} */ (reader.readString());
5524
5531
  msg.addMigrateHistory(value);
5525
5532
  break;
5533
+ case 41:
5534
+ var value = /** @type {boolean} */ (reader.readBool());
5535
+ msg.setClosed(value);
5536
+ break;
5526
5537
  case 42:
5538
+ var value = /** @type {string} */ (reader.readString());
5539
+ msg.addVaultHistory(value);
5540
+ break;
5541
+ case 43:
5527
5542
  var value = new type_pb.StateContext;
5528
5543
  reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
5529
5544
  msg.setContext(value);
@@ -5576,6 +5591,13 @@ proto.ocap.RollupState.serializeBinaryToWriter = function(message, writer) {
5576
5591
  f
5577
5592
  );
5578
5593
  }
5594
+ f = message.getVaultAddress();
5595
+ if (f.length > 0) {
5596
+ writer.writeString(
5597
+ 3,
5598
+ f
5599
+ );
5600
+ }
5579
5601
  f = message.getContractAddress();
5580
5602
  if (f.length > 0) {
5581
5603
  writer.writeString(
@@ -5825,10 +5847,24 @@ proto.ocap.RollupState.serializeBinaryToWriter = function(message, writer) {
5825
5847
  f
5826
5848
  );
5827
5849
  }
5850
+ f = message.getClosed();
5851
+ if (f) {
5852
+ writer.writeBool(
5853
+ 41,
5854
+ f
5855
+ );
5856
+ }
5857
+ f = message.getVaultHistoryList();
5858
+ if (f.length > 0) {
5859
+ writer.writeRepeatedString(
5860
+ 42,
5861
+ f
5862
+ );
5863
+ }
5828
5864
  f = message.getContext();
5829
5865
  if (f != null) {
5830
5866
  writer.writeMessage(
5831
- 42,
5867
+ 43,
5832
5868
  f,
5833
5869
  type_pb.StateContext.serializeBinaryToWriter
5834
5870
  );
@@ -5880,6 +5916,24 @@ proto.ocap.RollupState.prototype.setTokenAddress = function(value) {
5880
5916
  };
5881
5917
 
5882
5918
 
5919
+ /**
5920
+ * optional string vault_address = 3;
5921
+ * @return {string}
5922
+ */
5923
+ proto.ocap.RollupState.prototype.getVaultAddress = function() {
5924
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5925
+ };
5926
+
5927
+
5928
+ /**
5929
+ * @param {string} value
5930
+ * @return {!proto.ocap.RollupState} returns this
5931
+ */
5932
+ proto.ocap.RollupState.prototype.setVaultAddress = function(value) {
5933
+ return jspb.Message.setProto3StringField(this, 3, value);
5934
+ };
5935
+
5936
+
5883
5937
  /**
5884
5938
  * optional string contract_address = 4;
5885
5939
  * @return {string}
@@ -6608,12 +6662,67 @@ proto.ocap.RollupState.prototype.clearMigrateHistoryList = function() {
6608
6662
 
6609
6663
 
6610
6664
  /**
6611
- * optional StateContext context = 42;
6665
+ * optional bool closed = 41;
6666
+ * @return {boolean}
6667
+ */
6668
+ proto.ocap.RollupState.prototype.getClosed = function() {
6669
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 41, false));
6670
+ };
6671
+
6672
+
6673
+ /**
6674
+ * @param {boolean} value
6675
+ * @return {!proto.ocap.RollupState} returns this
6676
+ */
6677
+ proto.ocap.RollupState.prototype.setClosed = function(value) {
6678
+ return jspb.Message.setProto3BooleanField(this, 41, value);
6679
+ };
6680
+
6681
+
6682
+ /**
6683
+ * repeated string vault_history = 42;
6684
+ * @return {!Array<string>}
6685
+ */
6686
+ proto.ocap.RollupState.prototype.getVaultHistoryList = function() {
6687
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 42));
6688
+ };
6689
+
6690
+
6691
+ /**
6692
+ * @param {!Array<string>} value
6693
+ * @return {!proto.ocap.RollupState} returns this
6694
+ */
6695
+ proto.ocap.RollupState.prototype.setVaultHistoryList = function(value) {
6696
+ return jspb.Message.setField(this, 42, value || []);
6697
+ };
6698
+
6699
+
6700
+ /**
6701
+ * @param {string} value
6702
+ * @param {number=} opt_index
6703
+ * @return {!proto.ocap.RollupState} returns this
6704
+ */
6705
+ proto.ocap.RollupState.prototype.addVaultHistory = function(value, opt_index) {
6706
+ return jspb.Message.addToRepeatedField(this, 42, value, opt_index);
6707
+ };
6708
+
6709
+
6710
+ /**
6711
+ * Clears the list making it empty but non-null.
6712
+ * @return {!proto.ocap.RollupState} returns this
6713
+ */
6714
+ proto.ocap.RollupState.prototype.clearVaultHistoryList = function() {
6715
+ return this.setVaultHistoryList([]);
6716
+ };
6717
+
6718
+
6719
+ /**
6720
+ * optional StateContext context = 43;
6612
6721
  * @return {?proto.ocap.StateContext}
6613
6722
  */
6614
6723
  proto.ocap.RollupState.prototype.getContext = function() {
6615
6724
  return /** @type{?proto.ocap.StateContext} */ (
6616
- jspb.Message.getWrapperField(this, type_pb.StateContext, 42));
6725
+ jspb.Message.getWrapperField(this, type_pb.StateContext, 43));
6617
6726
  };
6618
6727
 
6619
6728
 
@@ -6622,7 +6731,7 @@ proto.ocap.RollupState.prototype.getContext = function() {
6622
6731
  * @return {!proto.ocap.RollupState} returns this
6623
6732
  */
6624
6733
  proto.ocap.RollupState.prototype.setContext = function(value) {
6625
- return jspb.Message.setWrapperField(this, 42, value);
6734
+ return jspb.Message.setWrapperField(this, 43, value);
6626
6735
  };
6627
6736
 
6628
6737
 
@@ -6640,7 +6749,7 @@ proto.ocap.RollupState.prototype.clearContext = function() {
6640
6749
  * @return {boolean}
6641
6750
  */
6642
6751
  proto.ocap.RollupState.prototype.hasContext = function() {
6643
- return jspb.Message.getField(this, 42) != null;
6752
+ return jspb.Message.getField(this, 43) != null;
6644
6753
  };
6645
6754
 
6646
6755
 
@@ -6734,6 +6843,7 @@ proto.ocap.RollupBlock.toObject = function(includeInstance, msg) {
6734
6843
  burnedAmount: jspb.Message.getFieldWithDefault(msg, 12, ""),
6735
6844
  rewardAmount: jspb.Message.getFieldWithDefault(msg, 13, ""),
6736
6845
  minReward: jspb.Message.getFieldWithDefault(msg, 14, ""),
6846
+ governance: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
6737
6847
  context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
6738
6848
  data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
6739
6849
  };
@@ -6825,6 +6935,10 @@ proto.ocap.RollupBlock.deserializeBinaryFromReader = function(msg, reader) {
6825
6935
  var value = /** @type {string} */ (reader.readString());
6826
6936
  msg.setMinReward(value);
6827
6937
  break;
6938
+ case 15:
6939
+ var value = /** @type {boolean} */ (reader.readBool());
6940
+ msg.setGovernance(value);
6941
+ break;
6828
6942
  case 30:
6829
6943
  var value = new type_pb.StateContext;
6830
6944
  reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
@@ -6956,6 +7070,13 @@ proto.ocap.RollupBlock.serializeBinaryToWriter = function(message, writer) {
6956
7070
  f
6957
7071
  );
6958
7072
  }
7073
+ f = message.getGovernance();
7074
+ if (f) {
7075
+ writer.writeBool(
7076
+ 15,
7077
+ f
7078
+ );
7079
+ }
6959
7080
  f = message.getContext();
6960
7081
  if (f != null) {
6961
7082
  writer.writeMessage(
@@ -7248,6 +7369,24 @@ proto.ocap.RollupBlock.prototype.setMinReward = function(value) {
7248
7369
  };
7249
7370
 
7250
7371
 
7372
+ /**
7373
+ * optional bool governance = 15;
7374
+ * @return {boolean}
7375
+ */
7376
+ proto.ocap.RollupBlock.prototype.getGovernance = function() {
7377
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
7378
+ };
7379
+
7380
+
7381
+ /**
7382
+ * @param {boolean} value
7383
+ * @return {!proto.ocap.RollupBlock} returns this
7384
+ */
7385
+ proto.ocap.RollupBlock.prototype.setGovernance = function(value) {
7386
+ return jspb.Message.setProto3BooleanField(this, 15, value);
7387
+ };
7388
+
7389
+
7251
7390
  /**
7252
7391
  * optional StateContext context = 30;
7253
7392
  * @return {?proto.ocap.StateContext}
@@ -8148,7 +8148,7 @@ proto.ocap.IndexedStakeState.prototype.hasData = function() {
8148
8148
  * @private {!Array<number>}
8149
8149
  * @const
8150
8150
  */
8151
- proto.ocap.IndexedRollupState.repeatedFields_ = [5,6,42];
8151
+ proto.ocap.IndexedRollupState.repeatedFields_ = [5,6,42,44];
8152
8152
 
8153
8153
 
8154
8154
 
@@ -8183,6 +8183,7 @@ proto.ocap.IndexedRollupState.toObject = function(includeInstance, msg) {
8183
8183
  var f, obj = {
8184
8184
  address: jspb.Message.getFieldWithDefault(msg, 1, ""),
8185
8185
  tokenAddress: jspb.Message.getFieldWithDefault(msg, 2, ""),
8186
+ vaultAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
8186
8187
  contractAddress: jspb.Message.getFieldWithDefault(msg, 4, ""),
8187
8188
  seedValidatorsList: jspb.Message.toObjectList(msg.getSeedValidatorsList(),
8188
8189
  type_pb.RollupValidator.toObject, includeInstance),
@@ -8222,6 +8223,8 @@ proto.ocap.IndexedRollupState.toObject = function(includeInstance, msg) {
8222
8223
  publishWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 40, 0),
8223
8224
  publishSlashRate: jspb.Message.getFieldWithDefault(msg, 41, 0),
8224
8225
  migrateHistoryList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f,
8226
+ closed: jspb.Message.getBooleanFieldWithDefault(msg, 43, false),
8227
+ vaultHistoryList: (f = jspb.Message.getRepeatedField(msg, 44)) == null ? undefined : f,
8225
8228
  data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
8226
8229
  };
8227
8230
 
@@ -8267,6 +8270,10 @@ proto.ocap.IndexedRollupState.deserializeBinaryFromReader = function(msg, reader
8267
8270
  var value = /** @type {string} */ (reader.readString());
8268
8271
  msg.setTokenAddress(value);
8269
8272
  break;
8273
+ case 3:
8274
+ var value = /** @type {string} */ (reader.readString());
8275
+ msg.setVaultAddress(value);
8276
+ break;
8270
8277
  case 4:
8271
8278
  var value = /** @type {string} */ (reader.readString());
8272
8279
  msg.setContractAddress(value);
@@ -8419,6 +8426,14 @@ proto.ocap.IndexedRollupState.deserializeBinaryFromReader = function(msg, reader
8419
8426
  var value = /** @type {string} */ (reader.readString());
8420
8427
  msg.addMigrateHistory(value);
8421
8428
  break;
8429
+ case 43:
8430
+ var value = /** @type {boolean} */ (reader.readBool());
8431
+ msg.setClosed(value);
8432
+ break;
8433
+ case 44:
8434
+ var value = /** @type {string} */ (reader.readString());
8435
+ msg.addVaultHistory(value);
8436
+ break;
8422
8437
  case 50:
8423
8438
  var value = new google_protobuf_any_pb.Any;
8424
8439
  reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
@@ -8467,6 +8482,13 @@ proto.ocap.IndexedRollupState.serializeBinaryToWriter = function(message, writer
8467
8482
  f
8468
8483
  );
8469
8484
  }
8485
+ f = message.getVaultAddress();
8486
+ if (f.length > 0) {
8487
+ writer.writeString(
8488
+ 3,
8489
+ f
8490
+ );
8491
+ }
8470
8492
  f = message.getContractAddress();
8471
8493
  if (f.length > 0) {
8472
8494
  writer.writeString(
@@ -8730,6 +8752,20 @@ proto.ocap.IndexedRollupState.serializeBinaryToWriter = function(message, writer
8730
8752
  f
8731
8753
  );
8732
8754
  }
8755
+ f = message.getClosed();
8756
+ if (f) {
8757
+ writer.writeBool(
8758
+ 43,
8759
+ f
8760
+ );
8761
+ }
8762
+ f = message.getVaultHistoryList();
8763
+ if (f.length > 0) {
8764
+ writer.writeRepeatedString(
8765
+ 44,
8766
+ f
8767
+ );
8768
+ }
8733
8769
  f = message.getData();
8734
8770
  if (f != null) {
8735
8771
  writer.writeMessage(
@@ -8777,6 +8813,24 @@ proto.ocap.IndexedRollupState.prototype.setTokenAddress = function(value) {
8777
8813
  };
8778
8814
 
8779
8815
 
8816
+ /**
8817
+ * optional string vault_address = 3;
8818
+ * @return {string}
8819
+ */
8820
+ proto.ocap.IndexedRollupState.prototype.getVaultAddress = function() {
8821
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8822
+ };
8823
+
8824
+
8825
+ /**
8826
+ * @param {string} value
8827
+ * @return {!proto.ocap.IndexedRollupState} returns this
8828
+ */
8829
+ proto.ocap.IndexedRollupState.prototype.setVaultAddress = function(value) {
8830
+ return jspb.Message.setProto3StringField(this, 3, value);
8831
+ };
8832
+
8833
+
8780
8834
  /**
8781
8835
  * optional string contract_address = 4;
8782
8836
  * @return {string}
@@ -9540,6 +9594,61 @@ proto.ocap.IndexedRollupState.prototype.clearMigrateHistoryList = function() {
9540
9594
  };
9541
9595
 
9542
9596
 
9597
+ /**
9598
+ * optional bool closed = 43;
9599
+ * @return {boolean}
9600
+ */
9601
+ proto.ocap.IndexedRollupState.prototype.getClosed = function() {
9602
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 43, false));
9603
+ };
9604
+
9605
+
9606
+ /**
9607
+ * @param {boolean} value
9608
+ * @return {!proto.ocap.IndexedRollupState} returns this
9609
+ */
9610
+ proto.ocap.IndexedRollupState.prototype.setClosed = function(value) {
9611
+ return jspb.Message.setProto3BooleanField(this, 43, value);
9612
+ };
9613
+
9614
+
9615
+ /**
9616
+ * repeated string vault_history = 44;
9617
+ * @return {!Array<string>}
9618
+ */
9619
+ proto.ocap.IndexedRollupState.prototype.getVaultHistoryList = function() {
9620
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 44));
9621
+ };
9622
+
9623
+
9624
+ /**
9625
+ * @param {!Array<string>} value
9626
+ * @return {!proto.ocap.IndexedRollupState} returns this
9627
+ */
9628
+ proto.ocap.IndexedRollupState.prototype.setVaultHistoryList = function(value) {
9629
+ return jspb.Message.setField(this, 44, value || []);
9630
+ };
9631
+
9632
+
9633
+ /**
9634
+ * @param {string} value
9635
+ * @param {number=} opt_index
9636
+ * @return {!proto.ocap.IndexedRollupState} returns this
9637
+ */
9638
+ proto.ocap.IndexedRollupState.prototype.addVaultHistory = function(value, opt_index) {
9639
+ return jspb.Message.addToRepeatedField(this, 44, value, opt_index);
9640
+ };
9641
+
9642
+
9643
+ /**
9644
+ * Clears the list making it empty but non-null.
9645
+ * @return {!proto.ocap.IndexedRollupState} returns this
9646
+ */
9647
+ proto.ocap.IndexedRollupState.prototype.clearVaultHistoryList = function() {
9648
+ return this.setVaultHistoryList([]);
9649
+ };
9650
+
9651
+
9543
9652
  /**
9544
9653
  * optional google.protobuf.Any data = 50;
9545
9654
  * @return {?proto.google.protobuf.Any}
@@ -9631,6 +9740,7 @@ proto.ocap.IndexedRollupBlock.toObject = function(includeInstance, msg) {
9631
9740
  mintedAmount: jspb.Message.getFieldWithDefault(msg, 13, ""),
9632
9741
  burnedAmount: jspb.Message.getFieldWithDefault(msg, 14, ""),
9633
9742
  rewardAmount: jspb.Message.getFieldWithDefault(msg, 15, ""),
9743
+ governance: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
9634
9744
  tokenInfo: (f = msg.getTokenInfo()) && type_pb.IndexedTokenInput.toObject(includeInstance, f),
9635
9745
  data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
9636
9746
  };
@@ -9726,6 +9836,10 @@ proto.ocap.IndexedRollupBlock.deserializeBinaryFromReader = function(msg, reader
9726
9836
  var value = /** @type {string} */ (reader.readString());
9727
9837
  msg.setRewardAmount(value);
9728
9838
  break;
9839
+ case 16:
9840
+ var value = /** @type {boolean} */ (reader.readBool());
9841
+ msg.setGovernance(value);
9842
+ break;
9729
9843
  case 18:
9730
9844
  var value = new type_pb.IndexedTokenInput;
9731
9845
  reader.readMessage(value,type_pb.IndexedTokenInput.deserializeBinaryFromReader);
@@ -9864,6 +9978,13 @@ proto.ocap.IndexedRollupBlock.serializeBinaryToWriter = function(message, writer
9864
9978
  f
9865
9979
  );
9866
9980
  }
9981
+ f = message.getGovernance();
9982
+ if (f) {
9983
+ writer.writeBool(
9984
+ 16,
9985
+ f
9986
+ );
9987
+ }
9867
9988
  f = message.getTokenInfo();
9868
9989
  if (f != null) {
9869
9990
  writer.writeMessage(
@@ -10174,6 +10295,24 @@ proto.ocap.IndexedRollupBlock.prototype.setRewardAmount = function(value) {
10174
10295
  };
10175
10296
 
10176
10297
 
10298
+ /**
10299
+ * optional bool governance = 16;
10300
+ * @return {boolean}
10301
+ */
10302
+ proto.ocap.IndexedRollupBlock.prototype.getGovernance = function() {
10303
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
10304
+ };
10305
+
10306
+
10307
+ /**
10308
+ * @param {boolean} value
10309
+ * @return {!proto.ocap.IndexedRollupBlock} returns this
10310
+ */
10311
+ proto.ocap.IndexedRollupBlock.prototype.setGovernance = function(value) {
10312
+ return jspb.Message.setProto3BooleanField(this, 16, value);
10313
+ };
10314
+
10315
+
10177
10316
  /**
10178
10317
  * optional IndexedTokenInput token_info = 18;
10179
10318
  * @return {?proto.ocap.IndexedTokenInput}