@ocap/proto 1.31.5 → 1.31.6

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
@@ -58,7 +58,6 @@ goog.exportSymbol('proto.ocap.MigrateRollupTx', null, root);
58
58
  goog.exportSymbol('proto.ocap.MintAssetTx', null, root);
59
59
  goog.exportSymbol('proto.ocap.MintTokenTx', null, root);
60
60
  goog.exportSymbol('proto.ocap.PauseRollupTx', null, root);
61
- goog.exportSymbol('proto.ocap.ReleaseBridgeTokenTx', null, root);
62
61
  goog.exportSymbol('proto.ocap.ResumeRollupTx', null, root);
63
62
  goog.exportSymbol('proto.ocap.ReturnStakeTx', null, root);
64
63
  goog.exportSymbol('proto.ocap.RevokeDelegateTx', null, root);
@@ -861,7 +860,7 @@ if (goog.DEBUG && !COMPILED) {
861
860
  * @constructor
862
861
  */
863
862
  proto.ocap.DepositTokenV2Tx = function(opt_data) {
864
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
863
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ocap.DepositTokenV2Tx.repeatedFields_, null);
865
864
  };
866
865
  goog.inherits(proto.ocap.DepositTokenV2Tx, jspb.Message);
867
866
  if (goog.DEBUG && !COMPILED) {
@@ -976,27 +975,6 @@ if (goog.DEBUG && !COMPILED) {
976
975
  */
977
976
  proto.ocap.BurnTokenTx.displayName = 'proto.ocap.BurnTokenTx';
978
977
  }
979
- /**
980
- * Generated by JsPbCodeGenerator.
981
- * @param {Array=} opt_data Optional initial data array, typically from a
982
- * server response, or constructed directly in Javascript. The array is used
983
- * in place and becomes part of the constructed object. It is not cloned.
984
- * If no data is provided, the constructed object will be empty, but still
985
- * valid.
986
- * @extends {jspb.Message}
987
- * @constructor
988
- */
989
- proto.ocap.ReleaseBridgeTokenTx = function(opt_data) {
990
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ocap.ReleaseBridgeTokenTx.repeatedFields_, null);
991
- };
992
- goog.inherits(proto.ocap.ReleaseBridgeTokenTx, jspb.Message);
993
- if (goog.DEBUG && !COMPILED) {
994
- /**
995
- * @public
996
- * @override
997
- */
998
- proto.ocap.ReleaseBridgeTokenTx.displayName = 'proto.ocap.ReleaseBridgeTokenTx';
999
- }
1000
978
  /**
1001
979
  * Generated by JsPbCodeGenerator.
1002
980
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -13815,6 +13793,13 @@ proto.ocap.MigrateRollupTx.prototype.hasData = function() {
13815
13793
 
13816
13794
 
13817
13795
 
13796
+ /**
13797
+ * List of repeated fields within this message type.
13798
+ * @private {!Array<number>}
13799
+ * @const
13800
+ */
13801
+ proto.ocap.DepositTokenV2Tx.repeatedFields_ = [13];
13802
+
13818
13803
 
13819
13804
 
13820
13805
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -13852,6 +13837,12 @@ proto.ocap.DepositTokenV2Tx.toObject = function(includeInstance, msg) {
13852
13837
  evidence: (f = msg.getEvidence()) && type_pb.Evidence.toObject(includeInstance, f),
13853
13838
  rollup: jspb.Message.getFieldWithDefault(msg, 5, ""),
13854
13839
  actualFee: jspb.Message.getFieldWithDefault(msg, 7, ""),
13840
+ kind: jspb.Message.getFieldWithDefault(msg, 8, 0),
13841
+ ordinal: jspb.Message.getFieldWithDefault(msg, 9, 0),
13842
+ epoch: jspb.Message.getFieldWithDefault(msg, 10, 0),
13843
+ ethSender: jspb.Message.getFieldWithDefault(msg, 11, ""),
13844
+ claimSignature: jspb.Message.getFieldWithDefault(msg, 12, ""),
13845
+ validatorSignaturesList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
13855
13846
  data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
13856
13847
  };
13857
13848
 
@@ -13915,6 +13906,30 @@ proto.ocap.DepositTokenV2Tx.deserializeBinaryFromReader = function(msg, reader)
13915
13906
  var value = /** @type {string} */ (reader.readString());
13916
13907
  msg.setActualFee(value);
13917
13908
  break;
13909
+ case 8:
13910
+ var value = /** @type {number} */ (reader.readUint32());
13911
+ msg.setKind(value);
13912
+ break;
13913
+ case 9:
13914
+ var value = /** @type {number} */ (reader.readUint32());
13915
+ msg.setOrdinal(value);
13916
+ break;
13917
+ case 10:
13918
+ var value = /** @type {number} */ (reader.readUint64());
13919
+ msg.setEpoch(value);
13920
+ break;
13921
+ case 11:
13922
+ var value = /** @type {string} */ (reader.readString());
13923
+ msg.setEthSender(value);
13924
+ break;
13925
+ case 12:
13926
+ var value = /** @type {string} */ (reader.readString());
13927
+ msg.setClaimSignature(value);
13928
+ break;
13929
+ case 13:
13930
+ var value = /** @type {string} */ (reader.readString());
13931
+ msg.addValidatorSignatures(value);
13932
+ break;
13918
13933
  case 15:
13919
13934
  var value = new google_protobuf_any_pb.Any;
13920
13935
  reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
@@ -13993,6 +14008,48 @@ proto.ocap.DepositTokenV2Tx.serializeBinaryToWriter = function(message, writer)
13993
14008
  f
13994
14009
  );
13995
14010
  }
14011
+ f = message.getKind();
14012
+ if (f !== 0) {
14013
+ writer.writeUint32(
14014
+ 8,
14015
+ f
14016
+ );
14017
+ }
14018
+ f = message.getOrdinal();
14019
+ if (f !== 0) {
14020
+ writer.writeUint32(
14021
+ 9,
14022
+ f
14023
+ );
14024
+ }
14025
+ f = message.getEpoch();
14026
+ if (f !== 0) {
14027
+ writer.writeUint64(
14028
+ 10,
14029
+ f
14030
+ );
14031
+ }
14032
+ f = message.getEthSender();
14033
+ if (f.length > 0) {
14034
+ writer.writeString(
14035
+ 11,
14036
+ f
14037
+ );
14038
+ }
14039
+ f = message.getClaimSignature();
14040
+ if (f.length > 0) {
14041
+ writer.writeString(
14042
+ 12,
14043
+ f
14044
+ );
14045
+ }
14046
+ f = message.getValidatorSignaturesList();
14047
+ if (f.length > 0) {
14048
+ writer.writeRepeatedString(
14049
+ 13,
14050
+ f
14051
+ );
14052
+ }
13996
14053
  f = message.getData();
13997
14054
  if (f != null) {
13998
14055
  writer.writeMessage(
@@ -14150,6 +14207,133 @@ proto.ocap.DepositTokenV2Tx.prototype.setActualFee = function(value) {
14150
14207
  };
14151
14208
 
14152
14209
 
14210
+ /**
14211
+ * optional uint32 kind = 8;
14212
+ * @return {number}
14213
+ */
14214
+ proto.ocap.DepositTokenV2Tx.prototype.getKind = function() {
14215
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
14216
+ };
14217
+
14218
+
14219
+ /**
14220
+ * @param {number} value
14221
+ * @return {!proto.ocap.DepositTokenV2Tx} returns this
14222
+ */
14223
+ proto.ocap.DepositTokenV2Tx.prototype.setKind = function(value) {
14224
+ return jspb.Message.setProto3IntField(this, 8, value);
14225
+ };
14226
+
14227
+
14228
+ /**
14229
+ * optional uint32 ordinal = 9;
14230
+ * @return {number}
14231
+ */
14232
+ proto.ocap.DepositTokenV2Tx.prototype.getOrdinal = function() {
14233
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
14234
+ };
14235
+
14236
+
14237
+ /**
14238
+ * @param {number} value
14239
+ * @return {!proto.ocap.DepositTokenV2Tx} returns this
14240
+ */
14241
+ proto.ocap.DepositTokenV2Tx.prototype.setOrdinal = function(value) {
14242
+ return jspb.Message.setProto3IntField(this, 9, value);
14243
+ };
14244
+
14245
+
14246
+ /**
14247
+ * optional uint64 epoch = 10;
14248
+ * @return {number}
14249
+ */
14250
+ proto.ocap.DepositTokenV2Tx.prototype.getEpoch = function() {
14251
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
14252
+ };
14253
+
14254
+
14255
+ /**
14256
+ * @param {number} value
14257
+ * @return {!proto.ocap.DepositTokenV2Tx} returns this
14258
+ */
14259
+ proto.ocap.DepositTokenV2Tx.prototype.setEpoch = function(value) {
14260
+ return jspb.Message.setProto3IntField(this, 10, value);
14261
+ };
14262
+
14263
+
14264
+ /**
14265
+ * optional string eth_sender = 11;
14266
+ * @return {string}
14267
+ */
14268
+ proto.ocap.DepositTokenV2Tx.prototype.getEthSender = function() {
14269
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
14270
+ };
14271
+
14272
+
14273
+ /**
14274
+ * @param {string} value
14275
+ * @return {!proto.ocap.DepositTokenV2Tx} returns this
14276
+ */
14277
+ proto.ocap.DepositTokenV2Tx.prototype.setEthSender = function(value) {
14278
+ return jspb.Message.setProto3StringField(this, 11, value);
14279
+ };
14280
+
14281
+
14282
+ /**
14283
+ * optional string claim_signature = 12;
14284
+ * @return {string}
14285
+ */
14286
+ proto.ocap.DepositTokenV2Tx.prototype.getClaimSignature = function() {
14287
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
14288
+ };
14289
+
14290
+
14291
+ /**
14292
+ * @param {string} value
14293
+ * @return {!proto.ocap.DepositTokenV2Tx} returns this
14294
+ */
14295
+ proto.ocap.DepositTokenV2Tx.prototype.setClaimSignature = function(value) {
14296
+ return jspb.Message.setProto3StringField(this, 12, value);
14297
+ };
14298
+
14299
+
14300
+ /**
14301
+ * repeated string validator_signatures = 13;
14302
+ * @return {!Array<string>}
14303
+ */
14304
+ proto.ocap.DepositTokenV2Tx.prototype.getValidatorSignaturesList = function() {
14305
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
14306
+ };
14307
+
14308
+
14309
+ /**
14310
+ * @param {!Array<string>} value
14311
+ * @return {!proto.ocap.DepositTokenV2Tx} returns this
14312
+ */
14313
+ proto.ocap.DepositTokenV2Tx.prototype.setValidatorSignaturesList = function(value) {
14314
+ return jspb.Message.setField(this, 13, value || []);
14315
+ };
14316
+
14317
+
14318
+ /**
14319
+ * @param {string} value
14320
+ * @param {number=} opt_index
14321
+ * @return {!proto.ocap.DepositTokenV2Tx} returns this
14322
+ */
14323
+ proto.ocap.DepositTokenV2Tx.prototype.addValidatorSignatures = function(value, opt_index) {
14324
+ return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
14325
+ };
14326
+
14327
+
14328
+ /**
14329
+ * Clears the list making it empty but non-null.
14330
+ * @return {!proto.ocap.DepositTokenV2Tx} returns this
14331
+ */
14332
+ proto.ocap.DepositTokenV2Tx.prototype.clearValidatorSignaturesList = function() {
14333
+ return this.setValidatorSignaturesList([]);
14334
+ };
14335
+
14336
+
14153
14337
  /**
14154
14338
  * optional google.protobuf.Any data = 15;
14155
14339
  * @return {?proto.google.protobuf.Any}
@@ -15748,11 +15932,67 @@ proto.ocap.BurnTokenTx.prototype.hasData = function() {
15748
15932
 
15749
15933
 
15750
15934
  /**
15751
- * List of repeated fields within this message type.
15752
- * @private {!Array<number>}
15935
+ * Oneof group definitions for this message. Each group defines the field
15936
+ * numbers belonging to that group. When of these fields' value is set, all
15937
+ * other fields in the group are cleared. During deserialization, if multiple
15938
+ * fields are encountered for a group, only the last value seen will be kept.
15939
+ * @private {!Array<!Array<number>>}
15753
15940
  * @const
15754
15941
  */
15755
- proto.ocap.ReleaseBridgeTokenTx.repeatedFields_ = [10];
15942
+ proto.ocap.ItxStub.oneofGroups_ = [[1,2,3,4,5,6,7,10,12,13,14,15,20,21,22,23,24,25,26,30,31,32,33,40,41,42,43,44,49,50,51,52,53,54,55,56,57,58,60]];
15943
+
15944
+ /**
15945
+ * @enum {number}
15946
+ */
15947
+ proto.ocap.ItxStub.ValueCase = {
15948
+ VALUE_NOT_SET: 0,
15949
+ DECLARE: 1,
15950
+ DELEGATE: 2,
15951
+ REVOKE_DELEGATE: 3,
15952
+ ACCOUNT_MIGRATE: 4,
15953
+ CREATE_ASSET: 5,
15954
+ UPDATE_ASSET: 6,
15955
+ CONSUME_ASSET: 7,
15956
+ EXCHANGE: 10,
15957
+ EXCHANGE_V2: 12,
15958
+ TRANSFER: 13,
15959
+ TRANSFER_V2: 14,
15960
+ TRANSFER_V3: 15,
15961
+ CREATE_TOKEN: 20,
15962
+ DEPOSIT_TOKEN: 21,
15963
+ WITHDRAW_TOKEN: 22,
15964
+ CREATE_TOKEN_FACTORY: 23,
15965
+ UPDATE_TOKEN_FACTORY: 24,
15966
+ MINT_TOKEN: 25,
15967
+ BURN_TOKEN: 26,
15968
+ CREATE_FACTORY: 30,
15969
+ ACQUIRE_ASSET_V2: 31,
15970
+ ACQUIRE_ASSET_V3: 32,
15971
+ MINT_ASSET: 33,
15972
+ STAKE: 40,
15973
+ REVOKE_STAKE: 41,
15974
+ CLAIM_STAKE: 42,
15975
+ SLASH_STAKE: 43,
15976
+ RETURN_STAKE: 44,
15977
+ UPGRADE_NODE: 49,
15978
+ CREATE_ROLLUP: 50,
15979
+ UPDATE_ROLLUP: 51,
15980
+ JOIN_ROLLUP: 52,
15981
+ LEAVE_ROLLUP: 53,
15982
+ CREATE_ROLLUP_BLOCK: 54,
15983
+ CLAIM_BLOCK_REWARD: 55,
15984
+ PAUSE_ROLLUP: 56,
15985
+ RESUME_ROLLUP: 57,
15986
+ MIGRATE_ROLLUP: 58,
15987
+ CLOSE_ROLLUP: 60
15988
+ };
15989
+
15990
+ /**
15991
+ * @return {proto.ocap.ItxStub.ValueCase}
15992
+ */
15993
+ proto.ocap.ItxStub.prototype.getValueCase = function() {
15994
+ return /** @type {proto.ocap.ItxStub.ValueCase} */(jspb.Message.computeOneofCase(this, proto.ocap.ItxStub.oneofGroups_[0]));
15995
+ };
15756
15996
 
15757
15997
 
15758
15998
 
@@ -15769,8 +16009,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
15769
16009
  * http://goto/soy-param-migration
15770
16010
  * @return {!Object}
15771
16011
  */
15772
- proto.ocap.ReleaseBridgeTokenTx.prototype.toObject = function(opt_includeInstance) {
15773
- return proto.ocap.ReleaseBridgeTokenTx.toObject(opt_includeInstance, this);
16012
+ proto.ocap.ItxStub.prototype.toObject = function(opt_includeInstance) {
16013
+ return proto.ocap.ItxStub.toObject(opt_includeInstance, this);
15774
16014
  };
15775
16015
 
15776
16016
 
@@ -15779,575 +16019,11 @@ proto.ocap.ReleaseBridgeTokenTx.prototype.toObject = function(opt_includeInstanc
15779
16019
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15780
16020
  * the JSPB instance for transitional soy proto support:
15781
16021
  * http://goto/soy-param-migration
15782
- * @param {!proto.ocap.ReleaseBridgeTokenTx} msg The msg instance to transform.
16022
+ * @param {!proto.ocap.ItxStub} msg The msg instance to transform.
15783
16023
  * @return {!Object}
15784
16024
  * @suppress {unusedLocalVariables} f is only used for nested messages
15785
16025
  */
15786
- proto.ocap.ReleaseBridgeTokenTx.toObject = function(includeInstance, msg) {
15787
- var f, obj = {
15788
- kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
15789
- evidence: jspb.Message.getFieldWithDefault(msg, 2, ""),
15790
- ordinal: jspb.Message.getFieldWithDefault(msg, 3, 0),
15791
- to: jspb.Message.getFieldWithDefault(msg, 4, ""),
15792
- amount: jspb.Message.getFieldWithDefault(msg, 5, ""),
15793
- ethChainId: jspb.Message.getFieldWithDefault(msg, 6, ""),
15794
- epoch: jspb.Message.getFieldWithDefault(msg, 7, 0),
15795
- ethSender: jspb.Message.getFieldWithDefault(msg, 8, ""),
15796
- claimSignature: jspb.Message.getFieldWithDefault(msg, 9, ""),
15797
- signaturesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
15798
- bridge: jspb.Message.getFieldWithDefault(msg, 11, ""),
15799
- data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
15800
- };
15801
-
15802
- if (includeInstance) {
15803
- obj.$jspbMessageInstance = msg;
15804
- }
15805
- return obj;
15806
- };
15807
- }
15808
-
15809
-
15810
- /**
15811
- * Deserializes binary data (in protobuf wire format).
15812
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
15813
- * @return {!proto.ocap.ReleaseBridgeTokenTx}
15814
- */
15815
- proto.ocap.ReleaseBridgeTokenTx.deserializeBinary = function(bytes) {
15816
- var reader = new jspb.BinaryReader(bytes);
15817
- var msg = new proto.ocap.ReleaseBridgeTokenTx;
15818
- return proto.ocap.ReleaseBridgeTokenTx.deserializeBinaryFromReader(msg, reader);
15819
- };
15820
-
15821
-
15822
- /**
15823
- * Deserializes binary data (in protobuf wire format) from the
15824
- * given reader into the given message object.
15825
- * @param {!proto.ocap.ReleaseBridgeTokenTx} msg The message object to deserialize into.
15826
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15827
- * @return {!proto.ocap.ReleaseBridgeTokenTx}
15828
- */
15829
- proto.ocap.ReleaseBridgeTokenTx.deserializeBinaryFromReader = function(msg, reader) {
15830
- while (reader.nextField()) {
15831
- if (reader.isEndGroup()) {
15832
- break;
15833
- }
15834
- var field = reader.getFieldNumber();
15835
- switch (field) {
15836
- case 1:
15837
- var value = /** @type {number} */ (reader.readUint32());
15838
- msg.setKind(value);
15839
- break;
15840
- case 2:
15841
- var value = /** @type {string} */ (reader.readString());
15842
- msg.setEvidence(value);
15843
- break;
15844
- case 3:
15845
- var value = /** @type {number} */ (reader.readUint32());
15846
- msg.setOrdinal(value);
15847
- break;
15848
- case 4:
15849
- var value = /** @type {string} */ (reader.readString());
15850
- msg.setTo(value);
15851
- break;
15852
- case 5:
15853
- var value = /** @type {string} */ (reader.readString());
15854
- msg.setAmount(value);
15855
- break;
15856
- case 6:
15857
- var value = /** @type {string} */ (reader.readString());
15858
- msg.setEthChainId(value);
15859
- break;
15860
- case 7:
15861
- var value = /** @type {number} */ (reader.readUint64());
15862
- msg.setEpoch(value);
15863
- break;
15864
- case 8:
15865
- var value = /** @type {string} */ (reader.readString());
15866
- msg.setEthSender(value);
15867
- break;
15868
- case 9:
15869
- var value = /** @type {string} */ (reader.readString());
15870
- msg.setClaimSignature(value);
15871
- break;
15872
- case 10:
15873
- var value = /** @type {string} */ (reader.readString());
15874
- msg.addSignatures(value);
15875
- break;
15876
- case 11:
15877
- var value = /** @type {string} */ (reader.readString());
15878
- msg.setBridge(value);
15879
- break;
15880
- case 50:
15881
- var value = new google_protobuf_any_pb.Any;
15882
- reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
15883
- msg.setData(value);
15884
- break;
15885
- default:
15886
- reader.skipField();
15887
- break;
15888
- }
15889
- }
15890
- return msg;
15891
- };
15892
-
15893
-
15894
- /**
15895
- * Serializes the message to binary data (in protobuf wire format).
15896
- * @return {!Uint8Array}
15897
- */
15898
- proto.ocap.ReleaseBridgeTokenTx.prototype.serializeBinary = function() {
15899
- var writer = new jspb.BinaryWriter();
15900
- proto.ocap.ReleaseBridgeTokenTx.serializeBinaryToWriter(this, writer);
15901
- return writer.getResultBuffer();
15902
- };
15903
-
15904
-
15905
- /**
15906
- * Serializes the given message to binary data (in protobuf wire
15907
- * format), writing to the given BinaryWriter.
15908
- * @param {!proto.ocap.ReleaseBridgeTokenTx} message
15909
- * @param {!jspb.BinaryWriter} writer
15910
- * @suppress {unusedLocalVariables} f is only used for nested messages
15911
- */
15912
- proto.ocap.ReleaseBridgeTokenTx.serializeBinaryToWriter = function(message, writer) {
15913
- var f = undefined;
15914
- f = message.getKind();
15915
- if (f !== 0) {
15916
- writer.writeUint32(
15917
- 1,
15918
- f
15919
- );
15920
- }
15921
- f = message.getEvidence();
15922
- if (f.length > 0) {
15923
- writer.writeString(
15924
- 2,
15925
- f
15926
- );
15927
- }
15928
- f = message.getOrdinal();
15929
- if (f !== 0) {
15930
- writer.writeUint32(
15931
- 3,
15932
- f
15933
- );
15934
- }
15935
- f = message.getTo();
15936
- if (f.length > 0) {
15937
- writer.writeString(
15938
- 4,
15939
- f
15940
- );
15941
- }
15942
- f = message.getAmount();
15943
- if (f.length > 0) {
15944
- writer.writeString(
15945
- 5,
15946
- f
15947
- );
15948
- }
15949
- f = message.getEthChainId();
15950
- if (f.length > 0) {
15951
- writer.writeString(
15952
- 6,
15953
- f
15954
- );
15955
- }
15956
- f = message.getEpoch();
15957
- if (f !== 0) {
15958
- writer.writeUint64(
15959
- 7,
15960
- f
15961
- );
15962
- }
15963
- f = message.getEthSender();
15964
- if (f.length > 0) {
15965
- writer.writeString(
15966
- 8,
15967
- f
15968
- );
15969
- }
15970
- f = message.getClaimSignature();
15971
- if (f.length > 0) {
15972
- writer.writeString(
15973
- 9,
15974
- f
15975
- );
15976
- }
15977
- f = message.getSignaturesList();
15978
- if (f.length > 0) {
15979
- writer.writeRepeatedString(
15980
- 10,
15981
- f
15982
- );
15983
- }
15984
- f = message.getBridge();
15985
- if (f.length > 0) {
15986
- writer.writeString(
15987
- 11,
15988
- f
15989
- );
15990
- }
15991
- f = message.getData();
15992
- if (f != null) {
15993
- writer.writeMessage(
15994
- 50,
15995
- f,
15996
- google_protobuf_any_pb.Any.serializeBinaryToWriter
15997
- );
15998
- }
15999
- };
16000
-
16001
-
16002
- /**
16003
- * optional uint32 kind = 1;
16004
- * @return {number}
16005
- */
16006
- proto.ocap.ReleaseBridgeTokenTx.prototype.getKind = function() {
16007
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16008
- };
16009
-
16010
-
16011
- /**
16012
- * @param {number} value
16013
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16014
- */
16015
- proto.ocap.ReleaseBridgeTokenTx.prototype.setKind = function(value) {
16016
- return jspb.Message.setProto3IntField(this, 1, value);
16017
- };
16018
-
16019
-
16020
- /**
16021
- * optional string evidence = 2;
16022
- * @return {string}
16023
- */
16024
- proto.ocap.ReleaseBridgeTokenTx.prototype.getEvidence = function() {
16025
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16026
- };
16027
-
16028
-
16029
- /**
16030
- * @param {string} value
16031
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16032
- */
16033
- proto.ocap.ReleaseBridgeTokenTx.prototype.setEvidence = function(value) {
16034
- return jspb.Message.setProto3StringField(this, 2, value);
16035
- };
16036
-
16037
-
16038
- /**
16039
- * optional uint32 ordinal = 3;
16040
- * @return {number}
16041
- */
16042
- proto.ocap.ReleaseBridgeTokenTx.prototype.getOrdinal = function() {
16043
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
16044
- };
16045
-
16046
-
16047
- /**
16048
- * @param {number} value
16049
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16050
- */
16051
- proto.ocap.ReleaseBridgeTokenTx.prototype.setOrdinal = function(value) {
16052
- return jspb.Message.setProto3IntField(this, 3, value);
16053
- };
16054
-
16055
-
16056
- /**
16057
- * optional string to = 4;
16058
- * @return {string}
16059
- */
16060
- proto.ocap.ReleaseBridgeTokenTx.prototype.getTo = function() {
16061
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
16062
- };
16063
-
16064
-
16065
- /**
16066
- * @param {string} value
16067
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16068
- */
16069
- proto.ocap.ReleaseBridgeTokenTx.prototype.setTo = function(value) {
16070
- return jspb.Message.setProto3StringField(this, 4, value);
16071
- };
16072
-
16073
-
16074
- /**
16075
- * optional string amount = 5;
16076
- * @return {string}
16077
- */
16078
- proto.ocap.ReleaseBridgeTokenTx.prototype.getAmount = function() {
16079
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
16080
- };
16081
-
16082
-
16083
- /**
16084
- * @param {string} value
16085
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16086
- */
16087
- proto.ocap.ReleaseBridgeTokenTx.prototype.setAmount = function(value) {
16088
- return jspb.Message.setProto3StringField(this, 5, value);
16089
- };
16090
-
16091
-
16092
- /**
16093
- * optional string eth_chain_id = 6;
16094
- * @return {string}
16095
- */
16096
- proto.ocap.ReleaseBridgeTokenTx.prototype.getEthChainId = function() {
16097
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
16098
- };
16099
-
16100
-
16101
- /**
16102
- * @param {string} value
16103
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16104
- */
16105
- proto.ocap.ReleaseBridgeTokenTx.prototype.setEthChainId = function(value) {
16106
- return jspb.Message.setProto3StringField(this, 6, value);
16107
- };
16108
-
16109
-
16110
- /**
16111
- * optional uint64 epoch = 7;
16112
- * @return {number}
16113
- */
16114
- proto.ocap.ReleaseBridgeTokenTx.prototype.getEpoch = function() {
16115
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
16116
- };
16117
-
16118
-
16119
- /**
16120
- * @param {number} value
16121
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16122
- */
16123
- proto.ocap.ReleaseBridgeTokenTx.prototype.setEpoch = function(value) {
16124
- return jspb.Message.setProto3IntField(this, 7, value);
16125
- };
16126
-
16127
-
16128
- /**
16129
- * optional string eth_sender = 8;
16130
- * @return {string}
16131
- */
16132
- proto.ocap.ReleaseBridgeTokenTx.prototype.getEthSender = function() {
16133
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
16134
- };
16135
-
16136
-
16137
- /**
16138
- * @param {string} value
16139
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16140
- */
16141
- proto.ocap.ReleaseBridgeTokenTx.prototype.setEthSender = function(value) {
16142
- return jspb.Message.setProto3StringField(this, 8, value);
16143
- };
16144
-
16145
-
16146
- /**
16147
- * optional string claim_signature = 9;
16148
- * @return {string}
16149
- */
16150
- proto.ocap.ReleaseBridgeTokenTx.prototype.getClaimSignature = function() {
16151
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
16152
- };
16153
-
16154
-
16155
- /**
16156
- * @param {string} value
16157
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16158
- */
16159
- proto.ocap.ReleaseBridgeTokenTx.prototype.setClaimSignature = function(value) {
16160
- return jspb.Message.setProto3StringField(this, 9, value);
16161
- };
16162
-
16163
-
16164
- /**
16165
- * repeated string signatures = 10;
16166
- * @return {!Array<string>}
16167
- */
16168
- proto.ocap.ReleaseBridgeTokenTx.prototype.getSignaturesList = function() {
16169
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
16170
- };
16171
-
16172
-
16173
- /**
16174
- * @param {!Array<string>} value
16175
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16176
- */
16177
- proto.ocap.ReleaseBridgeTokenTx.prototype.setSignaturesList = function(value) {
16178
- return jspb.Message.setField(this, 10, value || []);
16179
- };
16180
-
16181
-
16182
- /**
16183
- * @param {string} value
16184
- * @param {number=} opt_index
16185
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16186
- */
16187
- proto.ocap.ReleaseBridgeTokenTx.prototype.addSignatures = function(value, opt_index) {
16188
- return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
16189
- };
16190
-
16191
-
16192
- /**
16193
- * Clears the list making it empty but non-null.
16194
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16195
- */
16196
- proto.ocap.ReleaseBridgeTokenTx.prototype.clearSignaturesList = function() {
16197
- return this.setSignaturesList([]);
16198
- };
16199
-
16200
-
16201
- /**
16202
- * optional string bridge = 11;
16203
- * @return {string}
16204
- */
16205
- proto.ocap.ReleaseBridgeTokenTx.prototype.getBridge = function() {
16206
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
16207
- };
16208
-
16209
-
16210
- /**
16211
- * @param {string} value
16212
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16213
- */
16214
- proto.ocap.ReleaseBridgeTokenTx.prototype.setBridge = function(value) {
16215
- return jspb.Message.setProto3StringField(this, 11, value);
16216
- };
16217
-
16218
-
16219
- /**
16220
- * optional google.protobuf.Any data = 50;
16221
- * @return {?proto.google.protobuf.Any}
16222
- */
16223
- proto.ocap.ReleaseBridgeTokenTx.prototype.getData = function() {
16224
- return /** @type{?proto.google.protobuf.Any} */ (
16225
- jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 50));
16226
- };
16227
-
16228
-
16229
- /**
16230
- * @param {?proto.google.protobuf.Any|undefined} value
16231
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16232
- */
16233
- proto.ocap.ReleaseBridgeTokenTx.prototype.setData = function(value) {
16234
- return jspb.Message.setWrapperField(this, 50, value);
16235
- };
16236
-
16237
-
16238
- /**
16239
- * Clears the message field making it undefined.
16240
- * @return {!proto.ocap.ReleaseBridgeTokenTx} returns this
16241
- */
16242
- proto.ocap.ReleaseBridgeTokenTx.prototype.clearData = function() {
16243
- return this.setData(undefined);
16244
- };
16245
-
16246
-
16247
- /**
16248
- * Returns whether this field is set.
16249
- * @return {boolean}
16250
- */
16251
- proto.ocap.ReleaseBridgeTokenTx.prototype.hasData = function() {
16252
- return jspb.Message.getField(this, 50) != null;
16253
- };
16254
-
16255
-
16256
-
16257
- /**
16258
- * Oneof group definitions for this message. Each group defines the field
16259
- * numbers belonging to that group. When of these fields' value is set, all
16260
- * other fields in the group are cleared. During deserialization, if multiple
16261
- * fields are encountered for a group, only the last value seen will be kept.
16262
- * @private {!Array<!Array<number>>}
16263
- * @const
16264
- */
16265
- proto.ocap.ItxStub.oneofGroups_ = [[1,2,3,4,5,6,7,10,12,13,14,15,20,21,22,23,24,25,26,27,30,31,32,33,40,41,42,43,44,49,50,51,52,53,54,55,56,57,58,60]];
16266
-
16267
- /**
16268
- * @enum {number}
16269
- */
16270
- proto.ocap.ItxStub.ValueCase = {
16271
- VALUE_NOT_SET: 0,
16272
- DECLARE: 1,
16273
- DELEGATE: 2,
16274
- REVOKE_DELEGATE: 3,
16275
- ACCOUNT_MIGRATE: 4,
16276
- CREATE_ASSET: 5,
16277
- UPDATE_ASSET: 6,
16278
- CONSUME_ASSET: 7,
16279
- EXCHANGE: 10,
16280
- EXCHANGE_V2: 12,
16281
- TRANSFER: 13,
16282
- TRANSFER_V2: 14,
16283
- TRANSFER_V3: 15,
16284
- CREATE_TOKEN: 20,
16285
- DEPOSIT_TOKEN: 21,
16286
- WITHDRAW_TOKEN: 22,
16287
- CREATE_TOKEN_FACTORY: 23,
16288
- UPDATE_TOKEN_FACTORY: 24,
16289
- MINT_TOKEN: 25,
16290
- BURN_TOKEN: 26,
16291
- RELEASE_BRIDGE_TOKEN: 27,
16292
- CREATE_FACTORY: 30,
16293
- ACQUIRE_ASSET_V2: 31,
16294
- ACQUIRE_ASSET_V3: 32,
16295
- MINT_ASSET: 33,
16296
- STAKE: 40,
16297
- REVOKE_STAKE: 41,
16298
- CLAIM_STAKE: 42,
16299
- SLASH_STAKE: 43,
16300
- RETURN_STAKE: 44,
16301
- UPGRADE_NODE: 49,
16302
- CREATE_ROLLUP: 50,
16303
- UPDATE_ROLLUP: 51,
16304
- JOIN_ROLLUP: 52,
16305
- LEAVE_ROLLUP: 53,
16306
- CREATE_ROLLUP_BLOCK: 54,
16307
- CLAIM_BLOCK_REWARD: 55,
16308
- PAUSE_ROLLUP: 56,
16309
- RESUME_ROLLUP: 57,
16310
- MIGRATE_ROLLUP: 58,
16311
- CLOSE_ROLLUP: 60
16312
- };
16313
-
16314
- /**
16315
- * @return {proto.ocap.ItxStub.ValueCase}
16316
- */
16317
- proto.ocap.ItxStub.prototype.getValueCase = function() {
16318
- return /** @type {proto.ocap.ItxStub.ValueCase} */(jspb.Message.computeOneofCase(this, proto.ocap.ItxStub.oneofGroups_[0]));
16319
- };
16320
-
16321
-
16322
-
16323
- if (jspb.Message.GENERATE_TO_OBJECT) {
16324
- /**
16325
- * Creates an object representation of this proto.
16326
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
16327
- * Optional fields that are not set will be set to undefined.
16328
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16329
- * For the list of reserved names please see:
16330
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16331
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16332
- * JSPB instance for transitional soy proto support:
16333
- * http://goto/soy-param-migration
16334
- * @return {!Object}
16335
- */
16336
- proto.ocap.ItxStub.prototype.toObject = function(opt_includeInstance) {
16337
- return proto.ocap.ItxStub.toObject(opt_includeInstance, this);
16338
- };
16339
-
16340
-
16341
- /**
16342
- * Static version of the {@see toObject} method.
16343
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16344
- * the JSPB instance for transitional soy proto support:
16345
- * http://goto/soy-param-migration
16346
- * @param {!proto.ocap.ItxStub} msg The msg instance to transform.
16347
- * @return {!Object}
16348
- * @suppress {unusedLocalVariables} f is only used for nested messages
16349
- */
16350
- proto.ocap.ItxStub.toObject = function(includeInstance, msg) {
16026
+ proto.ocap.ItxStub.toObject = function(includeInstance, msg) {
16351
16027
  var f, obj = {
16352
16028
  declare: (f = msg.getDeclare()) && proto.ocap.DeclareTx.toObject(includeInstance, f),
16353
16029
  delegate: (f = msg.getDelegate()) && proto.ocap.DelegateTx.toObject(includeInstance, f),
@@ -16368,7 +16044,6 @@ proto.ocap.ItxStub.toObject = function(includeInstance, msg) {
16368
16044
  updateTokenFactory: (f = msg.getUpdateTokenFactory()) && proto.ocap.UpdateTokenFactoryTx.toObject(includeInstance, f),
16369
16045
  mintToken: (f = msg.getMintToken()) && proto.ocap.MintTokenTx.toObject(includeInstance, f),
16370
16046
  burnToken: (f = msg.getBurnToken()) && proto.ocap.BurnTokenTx.toObject(includeInstance, f),
16371
- releaseBridgeToken: (f = msg.getReleaseBridgeToken()) && proto.ocap.ReleaseBridgeTokenTx.toObject(includeInstance, f),
16372
16047
  createFactory: (f = msg.getCreateFactory()) && proto.ocap.CreateFactoryTx.toObject(includeInstance, f),
16373
16048
  acquireAssetV2: (f = msg.getAcquireAssetV2()) && proto.ocap.AcquireAssetV2Tx.toObject(includeInstance, f),
16374
16049
  acquireAssetV3: (f = msg.getAcquireAssetV3()) && proto.ocap.AcquireAssetV3Tx.toObject(includeInstance, f),
@@ -16520,11 +16195,6 @@ proto.ocap.ItxStub.deserializeBinaryFromReader = function(msg, reader) {
16520
16195
  reader.readMessage(value,proto.ocap.BurnTokenTx.deserializeBinaryFromReader);
16521
16196
  msg.setBurnToken(value);
16522
16197
  break;
16523
- case 27:
16524
- var value = new proto.ocap.ReleaseBridgeTokenTx;
16525
- reader.readMessage(value,proto.ocap.ReleaseBridgeTokenTx.deserializeBinaryFromReader);
16526
- msg.setReleaseBridgeToken(value);
16527
- break;
16528
16198
  case 30:
16529
16199
  var value = new proto.ocap.CreateFactoryTx;
16530
16200
  reader.readMessage(value,proto.ocap.CreateFactoryTx.deserializeBinaryFromReader);
@@ -16806,14 +16476,6 @@ proto.ocap.ItxStub.serializeBinaryToWriter = function(message, writer) {
16806
16476
  proto.ocap.BurnTokenTx.serializeBinaryToWriter
16807
16477
  );
16808
16478
  }
16809
- f = message.getReleaseBridgeToken();
16810
- if (f != null) {
16811
- writer.writeMessage(
16812
- 27,
16813
- f,
16814
- proto.ocap.ReleaseBridgeTokenTx.serializeBinaryToWriter
16815
- );
16816
- }
16817
16479
  f = message.getCreateFactory();
16818
16480
  if (f != null) {
16819
16481
  writer.writeMessage(
@@ -17680,43 +17342,6 @@ proto.ocap.ItxStub.prototype.hasBurnToken = function() {
17680
17342
  };
17681
17343
 
17682
17344
 
17683
- /**
17684
- * optional ReleaseBridgeTokenTx release_bridge_token = 27;
17685
- * @return {?proto.ocap.ReleaseBridgeTokenTx}
17686
- */
17687
- proto.ocap.ItxStub.prototype.getReleaseBridgeToken = function() {
17688
- return /** @type{?proto.ocap.ReleaseBridgeTokenTx} */ (
17689
- jspb.Message.getWrapperField(this, proto.ocap.ReleaseBridgeTokenTx, 27));
17690
- };
17691
-
17692
-
17693
- /**
17694
- * @param {?proto.ocap.ReleaseBridgeTokenTx|undefined} value
17695
- * @return {!proto.ocap.ItxStub} returns this
17696
- */
17697
- proto.ocap.ItxStub.prototype.setReleaseBridgeToken = function(value) {
17698
- return jspb.Message.setOneofWrapperField(this, 27, proto.ocap.ItxStub.oneofGroups_[0], value);
17699
- };
17700
-
17701
-
17702
- /**
17703
- * Clears the message field making it undefined.
17704
- * @return {!proto.ocap.ItxStub} returns this
17705
- */
17706
- proto.ocap.ItxStub.prototype.clearReleaseBridgeToken = function() {
17707
- return this.setReleaseBridgeToken(undefined);
17708
- };
17709
-
17710
-
17711
- /**
17712
- * Returns whether this field is set.
17713
- * @return {boolean}
17714
- */
17715
- proto.ocap.ItxStub.prototype.hasReleaseBridgeToken = function() {
17716
- return jspb.Message.getField(this, 27) != null;
17717
- };
17718
-
17719
-
17720
17345
  /**
17721
17346
  * optional CreateFactoryTx create_factory = 30;
17722
17347
  * @return {?proto.ocap.CreateFactoryTx}