@ocap/proto 1.18.124 → 1.18.126

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.
@@ -931,6 +931,7 @@ type IndexedStakeState {
931
931
  revokedTokens: [TokenInfo!]
932
932
  revokedAssets: [String!]
933
933
  slashers: [String!]
934
+ nonce: String
934
935
  data: Any
935
936
  }
936
937
 
@@ -1067,6 +1068,10 @@ type ItxStub_ResumeRollup {
1067
1068
  resumeRollup: ResumeRollupTx
1068
1069
  }
1069
1070
 
1071
+ type ItxStub_ReturnStake {
1072
+ returnStake: ReturnStakeTx
1073
+ }
1074
+
1070
1075
  type ItxStub_RevokeDelegate {
1071
1076
  revokeDelegate: RevokeDelegateTx
1072
1077
  }
@@ -1426,6 +1431,13 @@ type ResumeRollupTx {
1426
1431
  data: Any
1427
1432
  }
1428
1433
 
1434
+ type ReturnStakeTx {
1435
+ address: String
1436
+ outputs: [TransactionInput!]
1437
+ message: String
1438
+ data: Any
1439
+ }
1440
+
1429
1441
  type RevokeDelegateTx {
1430
1442
  address: String
1431
1443
  to: String
@@ -1533,6 +1545,7 @@ type StakeState {
1533
1545
  revokedTokens: [IndexedTokenInput!]
1534
1546
  revokedAssets: [String!]
1535
1547
  slashers: [String!]
1548
+ nonce: String
1536
1549
  context: StateContext
1537
1550
  data: Any
1538
1551
  }
@@ -1825,7 +1838,7 @@ type Version {
1825
1838
  app: Uint64
1826
1839
  }
1827
1840
 
1828
- union IsItxStubValue = ItxStub_AccountMigrate | ItxStub_AcquireAssetV2 | ItxStub_AcquireAssetV3 | ItxStub_ClaimBlockReward | ItxStub_ClaimStake | ItxStub_CloseRollup | ItxStub_ConsumeAsset | ItxStub_CreateAsset | ItxStub_CreateFactory | ItxStub_CreateRollup | ItxStub_CreateRollupBlock | ItxStub_CreateToken | ItxStub_Declare | ItxStub_Delegate | ItxStub_DepositToken | ItxStub_Exchange | ItxStub_ExchangeV2 | ItxStub_JoinRollup | ItxStub_LeaveRollup | ItxStub_MigrateRollup | ItxStub_MintAsset | ItxStub_PauseRollup | ItxStub_ResumeRollup | ItxStub_RevokeDelegate | ItxStub_RevokeStake | ItxStub_SlashStake | ItxStub_Stake | ItxStub_Transfer | ItxStub_TransferV2 | ItxStub_TransferV3 | ItxStub_UpdateAsset | ItxStub_UpdateRollup | ItxStub_UpgradeNode | ItxStub_WithdrawToken
1841
+ union IsItxStubValue = ItxStub_AccountMigrate | ItxStub_AcquireAssetV2 | ItxStub_AcquireAssetV3 | ItxStub_ClaimBlockReward | ItxStub_ClaimStake | ItxStub_CloseRollup | ItxStub_ConsumeAsset | ItxStub_CreateAsset | ItxStub_CreateFactory | ItxStub_CreateRollup | ItxStub_CreateRollupBlock | ItxStub_CreateToken | ItxStub_Declare | ItxStub_Delegate | ItxStub_DepositToken | ItxStub_Exchange | ItxStub_ExchangeV2 | ItxStub_JoinRollup | ItxStub_LeaveRollup | ItxStub_MigrateRollup | ItxStub_MintAsset | ItxStub_PauseRollup | ItxStub_ResumeRollup | ItxStub_ReturnStake | ItxStub_RevokeDelegate | ItxStub_RevokeStake | ItxStub_SlashStake | ItxStub_Stake | ItxStub_Transfer | ItxStub_TransferV2 | ItxStub_TransferV3 | ItxStub_UpdateAsset | ItxStub_UpdateRollup | ItxStub_UpgradeNode | ItxStub_WithdrawToken
1829
1842
 
1830
1843
  enum Direction {
1831
1844
  MUTUAL
package/lib/gen/spec.json CHANGED
@@ -3932,6 +3932,27 @@
3932
3932
  }
3933
3933
  }
3934
3934
  },
3935
+ "ReturnStakeTx": {
3936
+ "fields": {
3937
+ "address": {
3938
+ "type": "string",
3939
+ "id": 1
3940
+ },
3941
+ "outputs": {
3942
+ "rule": "repeated",
3943
+ "type": "TransactionInput",
3944
+ "id": 2
3945
+ },
3946
+ "message": {
3947
+ "type": "string",
3948
+ "id": 3
3949
+ },
3950
+ "data": {
3951
+ "type": "google.protobuf.Any",
3952
+ "id": 50
3953
+ }
3954
+ }
3955
+ },
3935
3956
  "CreateRollupTx": {
3936
3957
  "fields": {
3937
3958
  "address": {
@@ -4452,6 +4473,7 @@
4452
4473
  "revokeStake",
4453
4474
  "claimStake",
4454
4475
  "slashStake",
4476
+ "returnStake",
4455
4477
  "upgradeNode",
4456
4478
  "createRollup",
4457
4479
  "updateRollup",
@@ -4559,6 +4581,10 @@
4559
4581
  "type": "SlashStakeTx",
4560
4582
  "id": 43
4561
4583
  },
4584
+ "returnStake": {
4585
+ "type": "ReturnStakeTx",
4586
+ "id": 44
4587
+ },
4562
4588
  "upgradeNode": {
4563
4589
  "type": "UpgradeNodeTx",
4564
4590
  "id": 49
package/lib/gen/tx_pb.js CHANGED
@@ -56,6 +56,7 @@ goog.exportSymbol('proto.ocap.MigrateRollupTx', null, root);
56
56
  goog.exportSymbol('proto.ocap.MintAssetTx', null, root);
57
57
  goog.exportSymbol('proto.ocap.PauseRollupTx', null, root);
58
58
  goog.exportSymbol('proto.ocap.ResumeRollupTx', null, root);
59
+ goog.exportSymbol('proto.ocap.ReturnStakeTx', null, root);
59
60
  goog.exportSymbol('proto.ocap.RevokeDelegateTx', null, root);
60
61
  goog.exportSymbol('proto.ocap.RevokeStakeTx', null, root);
61
62
  goog.exportSymbol('proto.ocap.SlashStakeTx', null, root);
@@ -613,6 +614,27 @@ if (goog.DEBUG && !COMPILED) {
613
614
  */
614
615
  proto.ocap.SlashStakeTx.displayName = 'proto.ocap.SlashStakeTx';
615
616
  }
617
+ /**
618
+ * Generated by JsPbCodeGenerator.
619
+ * @param {Array=} opt_data Optional initial data array, typically from a
620
+ * server response, or constructed directly in Javascript. The array is used
621
+ * in place and becomes part of the constructed object. It is not cloned.
622
+ * If no data is provided, the constructed object will be empty, but still
623
+ * valid.
624
+ * @extends {jspb.Message}
625
+ * @constructor
626
+ */
627
+ proto.ocap.ReturnStakeTx = function(opt_data) {
628
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ocap.ReturnStakeTx.repeatedFields_, null);
629
+ };
630
+ goog.inherits(proto.ocap.ReturnStakeTx, jspb.Message);
631
+ if (goog.DEBUG && !COMPILED) {
632
+ /**
633
+ * @public
634
+ * @override
635
+ */
636
+ proto.ocap.ReturnStakeTx.displayName = 'proto.ocap.ReturnStakeTx';
637
+ }
616
638
  /**
617
639
  * Generated by JsPbCodeGenerator.
618
640
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8955,6 +8977,277 @@ proto.ocap.SlashStakeTx.prototype.hasData = function() {
8955
8977
 
8956
8978
 
8957
8979
 
8980
+ /**
8981
+ * List of repeated fields within this message type.
8982
+ * @private {!Array<number>}
8983
+ * @const
8984
+ */
8985
+ proto.ocap.ReturnStakeTx.repeatedFields_ = [2];
8986
+
8987
+
8988
+
8989
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8990
+ /**
8991
+ * Creates an object representation of this proto.
8992
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8993
+ * Optional fields that are not set will be set to undefined.
8994
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8995
+ * For the list of reserved names please see:
8996
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8997
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8998
+ * JSPB instance for transitional soy proto support:
8999
+ * http://goto/soy-param-migration
9000
+ * @return {!Object}
9001
+ */
9002
+ proto.ocap.ReturnStakeTx.prototype.toObject = function(opt_includeInstance) {
9003
+ return proto.ocap.ReturnStakeTx.toObject(opt_includeInstance, this);
9004
+ };
9005
+
9006
+
9007
+ /**
9008
+ * Static version of the {@see toObject} method.
9009
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9010
+ * the JSPB instance for transitional soy proto support:
9011
+ * http://goto/soy-param-migration
9012
+ * @param {!proto.ocap.ReturnStakeTx} msg The msg instance to transform.
9013
+ * @return {!Object}
9014
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9015
+ */
9016
+ proto.ocap.ReturnStakeTx.toObject = function(includeInstance, msg) {
9017
+ var f, obj = {
9018
+ address: jspb.Message.getFieldWithDefault(msg, 1, ""),
9019
+ outputsList: jspb.Message.toObjectList(msg.getOutputsList(),
9020
+ type_pb.TransactionInput.toObject, includeInstance),
9021
+ message: jspb.Message.getFieldWithDefault(msg, 3, ""),
9022
+ data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
9023
+ };
9024
+
9025
+ if (includeInstance) {
9026
+ obj.$jspbMessageInstance = msg;
9027
+ }
9028
+ return obj;
9029
+ };
9030
+ }
9031
+
9032
+
9033
+ /**
9034
+ * Deserializes binary data (in protobuf wire format).
9035
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9036
+ * @return {!proto.ocap.ReturnStakeTx}
9037
+ */
9038
+ proto.ocap.ReturnStakeTx.deserializeBinary = function(bytes) {
9039
+ var reader = new jspb.BinaryReader(bytes);
9040
+ var msg = new proto.ocap.ReturnStakeTx;
9041
+ return proto.ocap.ReturnStakeTx.deserializeBinaryFromReader(msg, reader);
9042
+ };
9043
+
9044
+
9045
+ /**
9046
+ * Deserializes binary data (in protobuf wire format) from the
9047
+ * given reader into the given message object.
9048
+ * @param {!proto.ocap.ReturnStakeTx} msg The message object to deserialize into.
9049
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9050
+ * @return {!proto.ocap.ReturnStakeTx}
9051
+ */
9052
+ proto.ocap.ReturnStakeTx.deserializeBinaryFromReader = function(msg, reader) {
9053
+ while (reader.nextField()) {
9054
+ if (reader.isEndGroup()) {
9055
+ break;
9056
+ }
9057
+ var field = reader.getFieldNumber();
9058
+ switch (field) {
9059
+ case 1:
9060
+ var value = /** @type {string} */ (reader.readString());
9061
+ msg.setAddress(value);
9062
+ break;
9063
+ case 2:
9064
+ var value = new type_pb.TransactionInput;
9065
+ reader.readMessage(value,type_pb.TransactionInput.deserializeBinaryFromReader);
9066
+ msg.addOutputs(value);
9067
+ break;
9068
+ case 3:
9069
+ var value = /** @type {string} */ (reader.readString());
9070
+ msg.setMessage(value);
9071
+ break;
9072
+ case 50:
9073
+ var value = new google_protobuf_any_pb.Any;
9074
+ reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
9075
+ msg.setData(value);
9076
+ break;
9077
+ default:
9078
+ reader.skipField();
9079
+ break;
9080
+ }
9081
+ }
9082
+ return msg;
9083
+ };
9084
+
9085
+
9086
+ /**
9087
+ * Serializes the message to binary data (in protobuf wire format).
9088
+ * @return {!Uint8Array}
9089
+ */
9090
+ proto.ocap.ReturnStakeTx.prototype.serializeBinary = function() {
9091
+ var writer = new jspb.BinaryWriter();
9092
+ proto.ocap.ReturnStakeTx.serializeBinaryToWriter(this, writer);
9093
+ return writer.getResultBuffer();
9094
+ };
9095
+
9096
+
9097
+ /**
9098
+ * Serializes the given message to binary data (in protobuf wire
9099
+ * format), writing to the given BinaryWriter.
9100
+ * @param {!proto.ocap.ReturnStakeTx} message
9101
+ * @param {!jspb.BinaryWriter} writer
9102
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9103
+ */
9104
+ proto.ocap.ReturnStakeTx.serializeBinaryToWriter = function(message, writer) {
9105
+ var f = undefined;
9106
+ f = message.getAddress();
9107
+ if (f.length > 0) {
9108
+ writer.writeString(
9109
+ 1,
9110
+ f
9111
+ );
9112
+ }
9113
+ f = message.getOutputsList();
9114
+ if (f.length > 0) {
9115
+ writer.writeRepeatedMessage(
9116
+ 2,
9117
+ f,
9118
+ type_pb.TransactionInput.serializeBinaryToWriter
9119
+ );
9120
+ }
9121
+ f = message.getMessage();
9122
+ if (f.length > 0) {
9123
+ writer.writeString(
9124
+ 3,
9125
+ f
9126
+ );
9127
+ }
9128
+ f = message.getData();
9129
+ if (f != null) {
9130
+ writer.writeMessage(
9131
+ 50,
9132
+ f,
9133
+ google_protobuf_any_pb.Any.serializeBinaryToWriter
9134
+ );
9135
+ }
9136
+ };
9137
+
9138
+
9139
+ /**
9140
+ * optional string address = 1;
9141
+ * @return {string}
9142
+ */
9143
+ proto.ocap.ReturnStakeTx.prototype.getAddress = function() {
9144
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
9145
+ };
9146
+
9147
+
9148
+ /**
9149
+ * @param {string} value
9150
+ * @return {!proto.ocap.ReturnStakeTx} returns this
9151
+ */
9152
+ proto.ocap.ReturnStakeTx.prototype.setAddress = function(value) {
9153
+ return jspb.Message.setProto3StringField(this, 1, value);
9154
+ };
9155
+
9156
+
9157
+ /**
9158
+ * repeated TransactionInput outputs = 2;
9159
+ * @return {!Array<!proto.ocap.TransactionInput>}
9160
+ */
9161
+ proto.ocap.ReturnStakeTx.prototype.getOutputsList = function() {
9162
+ return /** @type{!Array<!proto.ocap.TransactionInput>} */ (
9163
+ jspb.Message.getRepeatedWrapperField(this, type_pb.TransactionInput, 2));
9164
+ };
9165
+
9166
+
9167
+ /**
9168
+ * @param {!Array<!proto.ocap.TransactionInput>} value
9169
+ * @return {!proto.ocap.ReturnStakeTx} returns this
9170
+ */
9171
+ proto.ocap.ReturnStakeTx.prototype.setOutputsList = function(value) {
9172
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
9173
+ };
9174
+
9175
+
9176
+ /**
9177
+ * @param {!proto.ocap.TransactionInput=} opt_value
9178
+ * @param {number=} opt_index
9179
+ * @return {!proto.ocap.TransactionInput}
9180
+ */
9181
+ proto.ocap.ReturnStakeTx.prototype.addOutputs = function(opt_value, opt_index) {
9182
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ocap.TransactionInput, opt_index);
9183
+ };
9184
+
9185
+
9186
+ /**
9187
+ * Clears the list making it empty but non-null.
9188
+ * @return {!proto.ocap.ReturnStakeTx} returns this
9189
+ */
9190
+ proto.ocap.ReturnStakeTx.prototype.clearOutputsList = function() {
9191
+ return this.setOutputsList([]);
9192
+ };
9193
+
9194
+
9195
+ /**
9196
+ * optional string message = 3;
9197
+ * @return {string}
9198
+ */
9199
+ proto.ocap.ReturnStakeTx.prototype.getMessage = function() {
9200
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
9201
+ };
9202
+
9203
+
9204
+ /**
9205
+ * @param {string} value
9206
+ * @return {!proto.ocap.ReturnStakeTx} returns this
9207
+ */
9208
+ proto.ocap.ReturnStakeTx.prototype.setMessage = function(value) {
9209
+ return jspb.Message.setProto3StringField(this, 3, value);
9210
+ };
9211
+
9212
+
9213
+ /**
9214
+ * optional google.protobuf.Any data = 50;
9215
+ * @return {?proto.google.protobuf.Any}
9216
+ */
9217
+ proto.ocap.ReturnStakeTx.prototype.getData = function() {
9218
+ return /** @type{?proto.google.protobuf.Any} */ (
9219
+ jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 50));
9220
+ };
9221
+
9222
+
9223
+ /**
9224
+ * @param {?proto.google.protobuf.Any|undefined} value
9225
+ * @return {!proto.ocap.ReturnStakeTx} returns this
9226
+ */
9227
+ proto.ocap.ReturnStakeTx.prototype.setData = function(value) {
9228
+ return jspb.Message.setWrapperField(this, 50, value);
9229
+ };
9230
+
9231
+
9232
+ /**
9233
+ * Clears the message field making it undefined.
9234
+ * @return {!proto.ocap.ReturnStakeTx} returns this
9235
+ */
9236
+ proto.ocap.ReturnStakeTx.prototype.clearData = function() {
9237
+ return this.setData(undefined);
9238
+ };
9239
+
9240
+
9241
+ /**
9242
+ * Returns whether this field is set.
9243
+ * @return {boolean}
9244
+ */
9245
+ proto.ocap.ReturnStakeTx.prototype.hasData = function() {
9246
+ return jspb.Message.getField(this, 50) != null;
9247
+ };
9248
+
9249
+
9250
+
8958
9251
  /**
8959
9252
  * List of repeated fields within this message type.
8960
9253
  * @private {!Array<number>}
@@ -13980,7 +14273,7 @@ proto.ocap.WithdrawTokenV2Tx.prototype.hasData = function() {
13980
14273
  * @private {!Array<!Array<number>>}
13981
14274
  * @const
13982
14275
  */
13983
- proto.ocap.ItxStub.oneofGroups_ = [[1,2,3,4,5,6,7,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]];
14276
+ proto.ocap.ItxStub.oneofGroups_ = [[1,2,3,4,5,6,7,10,12,13,14,15,20,21,22,30,31,32,33,40,41,42,43,44,49,50,51,52,53,54,55,56,57,58,60]];
13984
14277
 
13985
14278
  /**
13986
14279
  * @enum {number}
@@ -14010,6 +14303,7 @@ proto.ocap.ItxStub.ValueCase = {
14010
14303
  REVOKE_STAKE: 41,
14011
14304
  CLAIM_STAKE: 42,
14012
14305
  SLASH_STAKE: 43,
14306
+ RETURN_STAKE: 44,
14013
14307
  UPGRADE_NODE: 49,
14014
14308
  CREATE_ROLLUP: 50,
14015
14309
  UPDATE_ROLLUP: 51,
@@ -14084,6 +14378,7 @@ proto.ocap.ItxStub.toObject = function(includeInstance, msg) {
14084
14378
  revokeStake: (f = msg.getRevokeStake()) && proto.ocap.RevokeStakeTx.toObject(includeInstance, f),
14085
14379
  claimStake: (f = msg.getClaimStake()) && proto.ocap.ClaimStakeTx.toObject(includeInstance, f),
14086
14380
  slashStake: (f = msg.getSlashStake()) && proto.ocap.SlashStakeTx.toObject(includeInstance, f),
14381
+ returnStake: (f = msg.getReturnStake()) && proto.ocap.ReturnStakeTx.toObject(includeInstance, f),
14087
14382
  upgradeNode: (f = msg.getUpgradeNode()) && proto.ocap.UpgradeNodeTx.toObject(includeInstance, f),
14088
14383
  createRollup: (f = msg.getCreateRollup()) && proto.ocap.CreateRollupTx.toObject(includeInstance, f),
14089
14384
  updateRollup: (f = msg.getUpdateRollup()) && proto.ocap.UpdateRollupTx.toObject(includeInstance, f),
@@ -14246,6 +14541,11 @@ proto.ocap.ItxStub.deserializeBinaryFromReader = function(msg, reader) {
14246
14541
  reader.readMessage(value,proto.ocap.SlashStakeTx.deserializeBinaryFromReader);
14247
14542
  msg.setSlashStake(value);
14248
14543
  break;
14544
+ case 44:
14545
+ var value = new proto.ocap.ReturnStakeTx;
14546
+ reader.readMessage(value,proto.ocap.ReturnStakeTx.deserializeBinaryFromReader);
14547
+ msg.setReturnStake(value);
14548
+ break;
14249
14549
  case 49:
14250
14550
  var value = new proto.ocap.UpgradeNodeTx;
14251
14551
  reader.readMessage(value,proto.ocap.UpgradeNodeTx.deserializeBinaryFromReader);
@@ -14514,6 +14814,14 @@ proto.ocap.ItxStub.serializeBinaryToWriter = function(message, writer) {
14514
14814
  proto.ocap.SlashStakeTx.serializeBinaryToWriter
14515
14815
  );
14516
14816
  }
14817
+ f = message.getReturnStake();
14818
+ if (f != null) {
14819
+ writer.writeMessage(
14820
+ 44,
14821
+ f,
14822
+ proto.ocap.ReturnStakeTx.serializeBinaryToWriter
14823
+ );
14824
+ }
14517
14825
  f = message.getUpgradeNode();
14518
14826
  if (f != null) {
14519
14827
  writer.writeMessage(
@@ -15456,6 +15764,43 @@ proto.ocap.ItxStub.prototype.hasSlashStake = function() {
15456
15764
  };
15457
15765
 
15458
15766
 
15767
+ /**
15768
+ * optional ReturnStakeTx return_stake = 44;
15769
+ * @return {?proto.ocap.ReturnStakeTx}
15770
+ */
15771
+ proto.ocap.ItxStub.prototype.getReturnStake = function() {
15772
+ return /** @type{?proto.ocap.ReturnStakeTx} */ (
15773
+ jspb.Message.getWrapperField(this, proto.ocap.ReturnStakeTx, 44));
15774
+ };
15775
+
15776
+
15777
+ /**
15778
+ * @param {?proto.ocap.ReturnStakeTx|undefined} value
15779
+ * @return {!proto.ocap.ItxStub} returns this
15780
+ */
15781
+ proto.ocap.ItxStub.prototype.setReturnStake = function(value) {
15782
+ return jspb.Message.setOneofWrapperField(this, 44, proto.ocap.ItxStub.oneofGroups_[0], value);
15783
+ };
15784
+
15785
+
15786
+ /**
15787
+ * Clears the message field making it undefined.
15788
+ * @return {!proto.ocap.ItxStub} returns this
15789
+ */
15790
+ proto.ocap.ItxStub.prototype.clearReturnStake = function() {
15791
+ return this.setReturnStake(undefined);
15792
+ };
15793
+
15794
+
15795
+ /**
15796
+ * Returns whether this field is set.
15797
+ * @return {boolean}
15798
+ */
15799
+ proto.ocap.ItxStub.prototype.hasReturnStake = function() {
15800
+ return jspb.Message.getField(this, 44) != null;
15801
+ };
15802
+
15803
+
15459
15804
  /**
15460
15805
  * optional UpgradeNodeTx upgrade_node = 49;
15461
15806
  * @return {?proto.ocap.UpgradeNodeTx}
package/lib/index.d.ts CHANGED
@@ -213,17 +213,18 @@ declare namespace Enums {
213
213
  20 = MintAssetTx,
214
214
  21 = PauseRollupTx,
215
215
  22 = ResumeRollupTx,
216
- 23 = RevokeDelegateTx,
217
- 24 = RevokeStakeTx,
218
- 25 = SlashStakeTx,
219
- 26 = StakeTx,
220
- 27 = TransferTx,
221
- 28 = TransferV2Tx,
222
- 29 = TransferV3Tx,
223
- 30 = UpdateAssetTx,
224
- 31 = UpdateRollupTx,
225
- 32 = UpgradeNodeTx,
226
- 33 = WithdrawTokenV2Tx,
216
+ 23 = ReturnStakeTx,
217
+ 24 = RevokeDelegateTx,
218
+ 25 = RevokeStakeTx,
219
+ 26 = SlashStakeTx,
220
+ 27 = StakeTx,
221
+ 28 = TransferTx,
222
+ 29 = TransferV2Tx,
223
+ 30 = TransferV3Tx,
224
+ 31 = UpdateAssetTx,
225
+ 32 = UpdateRollupTx,
226
+ 33 = UpgradeNodeTx,
227
+ 34 = WithdrawTokenV2Tx,
227
228
  }
228
229
 
229
230
  export enum SupportedStakes {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocap/proto",
3
3
  "description": "Static modules generated from forge-sdk protobuf files",
4
- "version": "1.18.124",
4
+ "version": "1.18.126",
5
5
  "author": {
6
6
  "name": "wangshijun",
7
7
  "email": "shijun@arcblock.io",
@@ -48,5 +48,5 @@
48
48
  "debug": "^4.3.4",
49
49
  "lodash": "^4.17.21"
50
50
  },
51
- "gitHead": "c48ab6ae29affa47c479c77333ce3a4dc40ba46a"
51
+ "gitHead": "f25463b1fb916131d6cca7077cc12badb4abd52e"
52
52
  }