@ocap/proto 1.13.67 → 1.13.71
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 +104 -14
- package/lib/gen/state_pb.js +55 -6
- package/lib/gen/trace-type_pb.js +50 -1
- package/lib/gen/tx_pb.js +1300 -169
- package/lib/index.d.ts +15 -11
- package/lib/provider.js +4 -0
- package/package.json +2 -2
package/lib/gen/tx_pb.js
CHANGED
|
@@ -44,7 +44,11 @@ goog.exportSymbol('proto.ocap.ItxStub', null, global);
|
|
|
44
44
|
goog.exportSymbol('proto.ocap.ItxStub.ValueCase', null, global);
|
|
45
45
|
goog.exportSymbol('proto.ocap.JoinRollupTx', null, global);
|
|
46
46
|
goog.exportSymbol('proto.ocap.LeaveRollupTx', null, global);
|
|
47
|
+
goog.exportSymbol('proto.ocap.MigrateRollupContractTx', null, global);
|
|
48
|
+
goog.exportSymbol('proto.ocap.MigrateRollupTokenTx', null, global);
|
|
47
49
|
goog.exportSymbol('proto.ocap.MintAssetTx', null, global);
|
|
50
|
+
goog.exportSymbol('proto.ocap.PauseRollupTx', null, global);
|
|
51
|
+
goog.exportSymbol('proto.ocap.ResumeRollupTx', null, global);
|
|
48
52
|
goog.exportSymbol('proto.ocap.RevokeDelegateTx', null, global);
|
|
49
53
|
goog.exportSymbol('proto.ocap.RevokeStakeTx', null, global);
|
|
50
54
|
goog.exportSymbol('proto.ocap.StakeTx', null, global);
|
|
@@ -685,6 +689,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
685
689
|
*/
|
|
686
690
|
proto.ocap.ClaimBlockRewardTx.displayName = 'proto.ocap.ClaimBlockRewardTx';
|
|
687
691
|
}
|
|
692
|
+
/**
|
|
693
|
+
* Generated by JsPbCodeGenerator.
|
|
694
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
695
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
696
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
697
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
698
|
+
* valid.
|
|
699
|
+
* @extends {jspb.Message}
|
|
700
|
+
* @constructor
|
|
701
|
+
*/
|
|
702
|
+
proto.ocap.PauseRollupTx = function(opt_data) {
|
|
703
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
704
|
+
};
|
|
705
|
+
goog.inherits(proto.ocap.PauseRollupTx, jspb.Message);
|
|
706
|
+
if (goog.DEBUG && !COMPILED) {
|
|
707
|
+
/**
|
|
708
|
+
* @public
|
|
709
|
+
* @override
|
|
710
|
+
*/
|
|
711
|
+
proto.ocap.PauseRollupTx.displayName = 'proto.ocap.PauseRollupTx';
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* Generated by JsPbCodeGenerator.
|
|
715
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
716
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
717
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
718
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
719
|
+
* valid.
|
|
720
|
+
* @extends {jspb.Message}
|
|
721
|
+
* @constructor
|
|
722
|
+
*/
|
|
723
|
+
proto.ocap.ResumeRollupTx = function(opt_data) {
|
|
724
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
725
|
+
};
|
|
726
|
+
goog.inherits(proto.ocap.ResumeRollupTx, jspb.Message);
|
|
727
|
+
if (goog.DEBUG && !COMPILED) {
|
|
728
|
+
/**
|
|
729
|
+
* @public
|
|
730
|
+
* @override
|
|
731
|
+
*/
|
|
732
|
+
proto.ocap.ResumeRollupTx.displayName = 'proto.ocap.ResumeRollupTx';
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* Generated by JsPbCodeGenerator.
|
|
736
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
737
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
738
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
739
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
740
|
+
* valid.
|
|
741
|
+
* @extends {jspb.Message}
|
|
742
|
+
* @constructor
|
|
743
|
+
*/
|
|
744
|
+
proto.ocap.MigrateRollupContractTx = function(opt_data) {
|
|
745
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
746
|
+
};
|
|
747
|
+
goog.inherits(proto.ocap.MigrateRollupContractTx, jspb.Message);
|
|
748
|
+
if (goog.DEBUG && !COMPILED) {
|
|
749
|
+
/**
|
|
750
|
+
* @public
|
|
751
|
+
* @override
|
|
752
|
+
*/
|
|
753
|
+
proto.ocap.MigrateRollupContractTx.displayName = 'proto.ocap.MigrateRollupContractTx';
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* Generated by JsPbCodeGenerator.
|
|
757
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
758
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
759
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
760
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
761
|
+
* valid.
|
|
762
|
+
* @extends {jspb.Message}
|
|
763
|
+
* @constructor
|
|
764
|
+
*/
|
|
765
|
+
proto.ocap.MigrateRollupTokenTx = function(opt_data) {
|
|
766
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
767
|
+
};
|
|
768
|
+
goog.inherits(proto.ocap.MigrateRollupTokenTx, jspb.Message);
|
|
769
|
+
if (goog.DEBUG && !COMPILED) {
|
|
770
|
+
/**
|
|
771
|
+
* @public
|
|
772
|
+
* @override
|
|
773
|
+
*/
|
|
774
|
+
proto.ocap.MigrateRollupTokenTx.displayName = 'proto.ocap.MigrateRollupTokenTx';
|
|
775
|
+
}
|
|
688
776
|
/**
|
|
689
777
|
* Generated by JsPbCodeGenerator.
|
|
690
778
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9178,12 +9266,11 @@ proto.ocap.UpdateRollupTx.toObject = function(includeInstance, msg) {
|
|
|
9178
9266
|
maxDepositFee: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
9179
9267
|
minWithdrawFee: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
9180
9268
|
maxWithdrawFee: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
9181
|
-
|
|
9182
|
-
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
publishSlashRate: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
9269
|
+
publisherFeeShare: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
9270
|
+
leaveWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
9271
|
+
publishWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 22, 0),
|
|
9272
|
+
publishSlashRate: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
9273
|
+
rollup: jspb.Message.getFieldWithDefault(msg, 40, ""),
|
|
9187
9274
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
9188
9275
|
};
|
|
9189
9276
|
|
|
@@ -9298,29 +9385,25 @@ proto.ocap.UpdateRollupTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
9298
9385
|
msg.setMaxWithdrawFee(value);
|
|
9299
9386
|
break;
|
|
9300
9387
|
case 20:
|
|
9301
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
9302
|
-
msg.setPaused(value);
|
|
9303
|
-
break;
|
|
9304
|
-
case 21:
|
|
9305
|
-
var value = /** @type {string} */ (reader.readString());
|
|
9306
|
-
msg.setRollup(value);
|
|
9307
|
-
break;
|
|
9308
|
-
case 22:
|
|
9309
9388
|
var value = /** @type {number} */ (reader.readUint32());
|
|
9310
9389
|
msg.setPublisherFeeShare(value);
|
|
9311
9390
|
break;
|
|
9312
|
-
case
|
|
9391
|
+
case 21:
|
|
9313
9392
|
var value = /** @type {number} */ (reader.readUint32());
|
|
9314
9393
|
msg.setLeaveWaitingPeriod(value);
|
|
9315
9394
|
break;
|
|
9316
|
-
case
|
|
9395
|
+
case 22:
|
|
9317
9396
|
var value = /** @type {number} */ (reader.readUint32());
|
|
9318
9397
|
msg.setPublishWaitingPeriod(value);
|
|
9319
9398
|
break;
|
|
9320
|
-
case
|
|
9399
|
+
case 23:
|
|
9321
9400
|
var value = /** @type {number} */ (reader.readUint32());
|
|
9322
9401
|
msg.setPublishSlashRate(value);
|
|
9323
9402
|
break;
|
|
9403
|
+
case 40:
|
|
9404
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9405
|
+
msg.setRollup(value);
|
|
9406
|
+
break;
|
|
9324
9407
|
case 50:
|
|
9325
9408
|
var value = new google_protobuf_any_pb.Any;
|
|
9326
9409
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -9488,45 +9571,38 @@ proto.ocap.UpdateRollupTx.serializeBinaryToWriter = function(message, writer) {
|
|
|
9488
9571
|
f
|
|
9489
9572
|
);
|
|
9490
9573
|
}
|
|
9491
|
-
f = message.getPaused();
|
|
9492
|
-
if (f) {
|
|
9493
|
-
writer.writeBool(
|
|
9494
|
-
20,
|
|
9495
|
-
f
|
|
9496
|
-
);
|
|
9497
|
-
}
|
|
9498
|
-
f = message.getRollup();
|
|
9499
|
-
if (f.length > 0) {
|
|
9500
|
-
writer.writeString(
|
|
9501
|
-
21,
|
|
9502
|
-
f
|
|
9503
|
-
);
|
|
9504
|
-
}
|
|
9505
9574
|
f = message.getPublisherFeeShare();
|
|
9506
9575
|
if (f !== 0) {
|
|
9507
9576
|
writer.writeUint32(
|
|
9508
|
-
|
|
9577
|
+
20,
|
|
9509
9578
|
f
|
|
9510
9579
|
);
|
|
9511
9580
|
}
|
|
9512
9581
|
f = message.getLeaveWaitingPeriod();
|
|
9513
9582
|
if (f !== 0) {
|
|
9514
9583
|
writer.writeUint32(
|
|
9515
|
-
|
|
9584
|
+
21,
|
|
9516
9585
|
f
|
|
9517
9586
|
);
|
|
9518
9587
|
}
|
|
9519
9588
|
f = message.getPublishWaitingPeriod();
|
|
9520
9589
|
if (f !== 0) {
|
|
9521
9590
|
writer.writeUint32(
|
|
9522
|
-
|
|
9591
|
+
22,
|
|
9523
9592
|
f
|
|
9524
9593
|
);
|
|
9525
9594
|
}
|
|
9526
9595
|
f = message.getPublishSlashRate();
|
|
9527
9596
|
if (f !== 0) {
|
|
9528
9597
|
writer.writeUint32(
|
|
9529
|
-
|
|
9598
|
+
23,
|
|
9599
|
+
f
|
|
9600
|
+
);
|
|
9601
|
+
}
|
|
9602
|
+
f = message.getRollup();
|
|
9603
|
+
if (f.length > 0) {
|
|
9604
|
+
writer.writeString(
|
|
9605
|
+
40,
|
|
9530
9606
|
f
|
|
9531
9607
|
);
|
|
9532
9608
|
}
|
|
@@ -9884,46 +9960,46 @@ proto.ocap.UpdateRollupTx.prototype.setMaxWithdrawFee = function(value) {
|
|
|
9884
9960
|
|
|
9885
9961
|
|
|
9886
9962
|
/**
|
|
9887
|
-
* optional
|
|
9888
|
-
* @return {
|
|
9963
|
+
* optional uint32 publisher_fee_share = 20;
|
|
9964
|
+
* @return {number}
|
|
9889
9965
|
*/
|
|
9890
|
-
proto.ocap.UpdateRollupTx.prototype.
|
|
9891
|
-
return /** @type {
|
|
9966
|
+
proto.ocap.UpdateRollupTx.prototype.getPublisherFeeShare = function() {
|
|
9967
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
9892
9968
|
};
|
|
9893
9969
|
|
|
9894
9970
|
|
|
9895
9971
|
/**
|
|
9896
|
-
* @param {
|
|
9972
|
+
* @param {number} value
|
|
9897
9973
|
* @return {!proto.ocap.UpdateRollupTx} returns this
|
|
9898
9974
|
*/
|
|
9899
|
-
proto.ocap.UpdateRollupTx.prototype.
|
|
9900
|
-
return jspb.Message.
|
|
9975
|
+
proto.ocap.UpdateRollupTx.prototype.setPublisherFeeShare = function(value) {
|
|
9976
|
+
return jspb.Message.setProto3IntField(this, 20, value);
|
|
9901
9977
|
};
|
|
9902
9978
|
|
|
9903
9979
|
|
|
9904
9980
|
/**
|
|
9905
|
-
* optional
|
|
9906
|
-
* @return {
|
|
9981
|
+
* optional uint32 leave_waiting_period = 21;
|
|
9982
|
+
* @return {number}
|
|
9907
9983
|
*/
|
|
9908
|
-
proto.ocap.UpdateRollupTx.prototype.
|
|
9909
|
-
return /** @type {
|
|
9984
|
+
proto.ocap.UpdateRollupTx.prototype.getLeaveWaitingPeriod = function() {
|
|
9985
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
|
|
9910
9986
|
};
|
|
9911
9987
|
|
|
9912
9988
|
|
|
9913
9989
|
/**
|
|
9914
|
-
* @param {
|
|
9990
|
+
* @param {number} value
|
|
9915
9991
|
* @return {!proto.ocap.UpdateRollupTx} returns this
|
|
9916
9992
|
*/
|
|
9917
|
-
proto.ocap.UpdateRollupTx.prototype.
|
|
9918
|
-
return jspb.Message.
|
|
9993
|
+
proto.ocap.UpdateRollupTx.prototype.setLeaveWaitingPeriod = function(value) {
|
|
9994
|
+
return jspb.Message.setProto3IntField(this, 21, value);
|
|
9919
9995
|
};
|
|
9920
9996
|
|
|
9921
9997
|
|
|
9922
9998
|
/**
|
|
9923
|
-
* optional uint32
|
|
9999
|
+
* optional uint32 publish_waiting_period = 22;
|
|
9924
10000
|
* @return {number}
|
|
9925
10001
|
*/
|
|
9926
|
-
proto.ocap.UpdateRollupTx.prototype.
|
|
10002
|
+
proto.ocap.UpdateRollupTx.prototype.getPublishWaitingPeriod = function() {
|
|
9927
10003
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
|
|
9928
10004
|
};
|
|
9929
10005
|
|
|
@@ -9932,16 +10008,16 @@ proto.ocap.UpdateRollupTx.prototype.getPublisherFeeShare = function() {
|
|
|
9932
10008
|
* @param {number} value
|
|
9933
10009
|
* @return {!proto.ocap.UpdateRollupTx} returns this
|
|
9934
10010
|
*/
|
|
9935
|
-
proto.ocap.UpdateRollupTx.prototype.
|
|
10011
|
+
proto.ocap.UpdateRollupTx.prototype.setPublishWaitingPeriod = function(value) {
|
|
9936
10012
|
return jspb.Message.setProto3IntField(this, 22, value);
|
|
9937
10013
|
};
|
|
9938
10014
|
|
|
9939
10015
|
|
|
9940
10016
|
/**
|
|
9941
|
-
* optional uint32
|
|
10017
|
+
* optional uint32 publish_slash_rate = 23;
|
|
9942
10018
|
* @return {number}
|
|
9943
10019
|
*/
|
|
9944
|
-
proto.ocap.UpdateRollupTx.prototype.
|
|
10020
|
+
proto.ocap.UpdateRollupTx.prototype.getPublishSlashRate = function() {
|
|
9945
10021
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
|
|
9946
10022
|
};
|
|
9947
10023
|
|
|
@@ -9950,44 +10026,26 @@ proto.ocap.UpdateRollupTx.prototype.getLeaveWaitingPeriod = function() {
|
|
|
9950
10026
|
* @param {number} value
|
|
9951
10027
|
* @return {!proto.ocap.UpdateRollupTx} returns this
|
|
9952
10028
|
*/
|
|
9953
|
-
proto.ocap.UpdateRollupTx.prototype.
|
|
10029
|
+
proto.ocap.UpdateRollupTx.prototype.setPublishSlashRate = function(value) {
|
|
9954
10030
|
return jspb.Message.setProto3IntField(this, 23, value);
|
|
9955
10031
|
};
|
|
9956
10032
|
|
|
9957
10033
|
|
|
9958
10034
|
/**
|
|
9959
|
-
* optional
|
|
9960
|
-
* @return {
|
|
9961
|
-
*/
|
|
9962
|
-
proto.ocap.UpdateRollupTx.prototype.getPublishWaitingPeriod = function() {
|
|
9963
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
|
|
9964
|
-
};
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
/**
|
|
9968
|
-
* @param {number} value
|
|
9969
|
-
* @return {!proto.ocap.UpdateRollupTx} returns this
|
|
9970
|
-
*/
|
|
9971
|
-
proto.ocap.UpdateRollupTx.prototype.setPublishWaitingPeriod = function(value) {
|
|
9972
|
-
return jspb.Message.setProto3IntField(this, 24, value);
|
|
9973
|
-
};
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
/**
|
|
9977
|
-
* optional uint32 publish_slash_rate = 25;
|
|
9978
|
-
* @return {number}
|
|
10035
|
+
* optional string rollup = 40;
|
|
10036
|
+
* @return {string}
|
|
9979
10037
|
*/
|
|
9980
|
-
proto.ocap.UpdateRollupTx.prototype.
|
|
9981
|
-
return /** @type {
|
|
10038
|
+
proto.ocap.UpdateRollupTx.prototype.getRollup = function() {
|
|
10039
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 40, ""));
|
|
9982
10040
|
};
|
|
9983
10041
|
|
|
9984
10042
|
|
|
9985
10043
|
/**
|
|
9986
|
-
* @param {
|
|
10044
|
+
* @param {string} value
|
|
9987
10045
|
* @return {!proto.ocap.UpdateRollupTx} returns this
|
|
9988
10046
|
*/
|
|
9989
|
-
proto.ocap.UpdateRollupTx.prototype.
|
|
9990
|
-
return jspb.Message.
|
|
10047
|
+
proto.ocap.UpdateRollupTx.prototype.setRollup = function(value) {
|
|
10048
|
+
return jspb.Message.setProto3StringField(this, 40, value);
|
|
9991
10049
|
};
|
|
9992
10050
|
|
|
9993
10051
|
|
|
@@ -11480,8 +11538,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
11480
11538
|
* http://goto/soy-param-migration
|
|
11481
11539
|
* @return {!Object}
|
|
11482
11540
|
*/
|
|
11483
|
-
proto.ocap.
|
|
11484
|
-
return proto.ocap.
|
|
11541
|
+
proto.ocap.PauseRollupTx.prototype.toObject = function(opt_includeInstance) {
|
|
11542
|
+
return proto.ocap.PauseRollupTx.toObject(opt_includeInstance, this);
|
|
11485
11543
|
};
|
|
11486
11544
|
|
|
11487
11545
|
|
|
@@ -11490,18 +11548,13 @@ proto.ocap.DepositTokenV2Tx.prototype.toObject = function(opt_includeInstance) {
|
|
|
11490
11548
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11491
11549
|
* the JSPB instance for transitional soy proto support:
|
|
11492
11550
|
* http://goto/soy-param-migration
|
|
11493
|
-
* @param {!proto.ocap.
|
|
11551
|
+
* @param {!proto.ocap.PauseRollupTx} msg The msg instance to transform.
|
|
11494
11552
|
* @return {!Object}
|
|
11495
11553
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11496
11554
|
*/
|
|
11497
|
-
proto.ocap.
|
|
11555
|
+
proto.ocap.PauseRollupTx.toObject = function(includeInstance, msg) {
|
|
11498
11556
|
var f, obj = {
|
|
11499
|
-
|
|
11500
|
-
to: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11501
|
-
proposer: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11502
|
-
evidence: (f = msg.getEvidence()) && type_pb.Evidence.toObject(includeInstance, f),
|
|
11503
|
-
rollup: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
11504
|
-
actualFee: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11557
|
+
rollup: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11505
11558
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
11506
11559
|
};
|
|
11507
11560
|
|
|
@@ -11516,23 +11569,23 @@ proto.ocap.DepositTokenV2Tx.toObject = function(includeInstance, msg) {
|
|
|
11516
11569
|
/**
|
|
11517
11570
|
* Deserializes binary data (in protobuf wire format).
|
|
11518
11571
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11519
|
-
* @return {!proto.ocap.
|
|
11572
|
+
* @return {!proto.ocap.PauseRollupTx}
|
|
11520
11573
|
*/
|
|
11521
|
-
proto.ocap.
|
|
11574
|
+
proto.ocap.PauseRollupTx.deserializeBinary = function(bytes) {
|
|
11522
11575
|
var reader = new jspb.BinaryReader(bytes);
|
|
11523
|
-
var msg = new proto.ocap.
|
|
11524
|
-
return proto.ocap.
|
|
11576
|
+
var msg = new proto.ocap.PauseRollupTx;
|
|
11577
|
+
return proto.ocap.PauseRollupTx.deserializeBinaryFromReader(msg, reader);
|
|
11525
11578
|
};
|
|
11526
11579
|
|
|
11527
11580
|
|
|
11528
11581
|
/**
|
|
11529
11582
|
* Deserializes binary data (in protobuf wire format) from the
|
|
11530
11583
|
* given reader into the given message object.
|
|
11531
|
-
* @param {!proto.ocap.
|
|
11584
|
+
* @param {!proto.ocap.PauseRollupTx} msg The message object to deserialize into.
|
|
11532
11585
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11533
|
-
* @return {!proto.ocap.
|
|
11586
|
+
* @return {!proto.ocap.PauseRollupTx}
|
|
11534
11587
|
*/
|
|
11535
|
-
proto.ocap.
|
|
11588
|
+
proto.ocap.PauseRollupTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
11536
11589
|
while (reader.nextField()) {
|
|
11537
11590
|
if (reader.isEndGroup()) {
|
|
11538
11591
|
break;
|
|
@@ -11540,32 +11593,10 @@ proto.ocap.DepositTokenV2Tx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
11540
11593
|
var field = reader.getFieldNumber();
|
|
11541
11594
|
switch (field) {
|
|
11542
11595
|
case 1:
|
|
11543
|
-
var value = new type_pb.TokenInput;
|
|
11544
|
-
reader.readMessage(value,type_pb.TokenInput.deserializeBinaryFromReader);
|
|
11545
|
-
msg.setToken(value);
|
|
11546
|
-
break;
|
|
11547
|
-
case 2:
|
|
11548
|
-
var value = /** @type {string} */ (reader.readString());
|
|
11549
|
-
msg.setTo(value);
|
|
11550
|
-
break;
|
|
11551
|
-
case 3:
|
|
11552
|
-
var value = /** @type {string} */ (reader.readString());
|
|
11553
|
-
msg.setProposer(value);
|
|
11554
|
-
break;
|
|
11555
|
-
case 4:
|
|
11556
|
-
var value = new type_pb.Evidence;
|
|
11557
|
-
reader.readMessage(value,type_pb.Evidence.deserializeBinaryFromReader);
|
|
11558
|
-
msg.setEvidence(value);
|
|
11559
|
-
break;
|
|
11560
|
-
case 5:
|
|
11561
11596
|
var value = /** @type {string} */ (reader.readString());
|
|
11562
11597
|
msg.setRollup(value);
|
|
11563
11598
|
break;
|
|
11564
|
-
case
|
|
11565
|
-
var value = /** @type {string} */ (reader.readString());
|
|
11566
|
-
msg.setActualFee(value);
|
|
11567
|
-
break;
|
|
11568
|
-
case 15:
|
|
11599
|
+
case 10:
|
|
11569
11600
|
var value = new google_protobuf_any_pb.Any;
|
|
11570
11601
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
11571
11602
|
msg.setData(value);
|
|
@@ -11583,9 +11614,9 @@ proto.ocap.DepositTokenV2Tx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
11583
11614
|
* Serializes the message to binary data (in protobuf wire format).
|
|
11584
11615
|
* @return {!Uint8Array}
|
|
11585
11616
|
*/
|
|
11586
|
-
proto.ocap.
|
|
11617
|
+
proto.ocap.PauseRollupTx.prototype.serializeBinary = function() {
|
|
11587
11618
|
var writer = new jspb.BinaryWriter();
|
|
11588
|
-
proto.ocap.
|
|
11619
|
+
proto.ocap.PauseRollupTx.serializeBinaryToWriter(this, writer);
|
|
11589
11620
|
return writer.getResultBuffer();
|
|
11590
11621
|
};
|
|
11591
11622
|
|
|
@@ -11593,60 +11624,23 @@ proto.ocap.DepositTokenV2Tx.prototype.serializeBinary = function() {
|
|
|
11593
11624
|
/**
|
|
11594
11625
|
* Serializes the given message to binary data (in protobuf wire
|
|
11595
11626
|
* format), writing to the given BinaryWriter.
|
|
11596
|
-
* @param {!proto.ocap.
|
|
11627
|
+
* @param {!proto.ocap.PauseRollupTx} message
|
|
11597
11628
|
* @param {!jspb.BinaryWriter} writer
|
|
11598
11629
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11599
11630
|
*/
|
|
11600
|
-
proto.ocap.
|
|
11631
|
+
proto.ocap.PauseRollupTx.serializeBinaryToWriter = function(message, writer) {
|
|
11601
11632
|
var f = undefined;
|
|
11602
|
-
f = message.getToken();
|
|
11603
|
-
if (f != null) {
|
|
11604
|
-
writer.writeMessage(
|
|
11605
|
-
1,
|
|
11606
|
-
f,
|
|
11607
|
-
type_pb.TokenInput.serializeBinaryToWriter
|
|
11608
|
-
);
|
|
11609
|
-
}
|
|
11610
|
-
f = message.getTo();
|
|
11611
|
-
if (f.length > 0) {
|
|
11612
|
-
writer.writeString(
|
|
11613
|
-
2,
|
|
11614
|
-
f
|
|
11615
|
-
);
|
|
11616
|
-
}
|
|
11617
|
-
f = message.getProposer();
|
|
11618
|
-
if (f.length > 0) {
|
|
11619
|
-
writer.writeString(
|
|
11620
|
-
3,
|
|
11621
|
-
f
|
|
11622
|
-
);
|
|
11623
|
-
}
|
|
11624
|
-
f = message.getEvidence();
|
|
11625
|
-
if (f != null) {
|
|
11626
|
-
writer.writeMessage(
|
|
11627
|
-
4,
|
|
11628
|
-
f,
|
|
11629
|
-
type_pb.Evidence.serializeBinaryToWriter
|
|
11630
|
-
);
|
|
11631
|
-
}
|
|
11632
11633
|
f = message.getRollup();
|
|
11633
11634
|
if (f.length > 0) {
|
|
11634
11635
|
writer.writeString(
|
|
11635
|
-
|
|
11636
|
-
f
|
|
11637
|
-
);
|
|
11638
|
-
}
|
|
11639
|
-
f = message.getActualFee();
|
|
11640
|
-
if (f.length > 0) {
|
|
11641
|
-
writer.writeString(
|
|
11642
|
-
7,
|
|
11636
|
+
1,
|
|
11643
11637
|
f
|
|
11644
11638
|
);
|
|
11645
11639
|
}
|
|
11646
11640
|
f = message.getData();
|
|
11647
11641
|
if (f != null) {
|
|
11648
11642
|
writer.writeMessage(
|
|
11649
|
-
|
|
11643
|
+
10,
|
|
11650
11644
|
f,
|
|
11651
11645
|
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
11652
11646
|
);
|
|
@@ -11655,9 +11649,938 @@ proto.ocap.DepositTokenV2Tx.serializeBinaryToWriter = function(message, writer)
|
|
|
11655
11649
|
|
|
11656
11650
|
|
|
11657
11651
|
/**
|
|
11658
|
-
* optional
|
|
11659
|
-
* @return {
|
|
11660
|
-
*/
|
|
11652
|
+
* optional string rollup = 1;
|
|
11653
|
+
* @return {string}
|
|
11654
|
+
*/
|
|
11655
|
+
proto.ocap.PauseRollupTx.prototype.getRollup = function() {
|
|
11656
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11657
|
+
};
|
|
11658
|
+
|
|
11659
|
+
|
|
11660
|
+
/**
|
|
11661
|
+
* @param {string} value
|
|
11662
|
+
* @return {!proto.ocap.PauseRollupTx} returns this
|
|
11663
|
+
*/
|
|
11664
|
+
proto.ocap.PauseRollupTx.prototype.setRollup = function(value) {
|
|
11665
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11666
|
+
};
|
|
11667
|
+
|
|
11668
|
+
|
|
11669
|
+
/**
|
|
11670
|
+
* optional google.protobuf.Any data = 10;
|
|
11671
|
+
* @return {?proto.google.protobuf.Any}
|
|
11672
|
+
*/
|
|
11673
|
+
proto.ocap.PauseRollupTx.prototype.getData = function() {
|
|
11674
|
+
return /** @type{?proto.google.protobuf.Any} */ (
|
|
11675
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 10));
|
|
11676
|
+
};
|
|
11677
|
+
|
|
11678
|
+
|
|
11679
|
+
/**
|
|
11680
|
+
* @param {?proto.google.protobuf.Any|undefined} value
|
|
11681
|
+
* @return {!proto.ocap.PauseRollupTx} returns this
|
|
11682
|
+
*/
|
|
11683
|
+
proto.ocap.PauseRollupTx.prototype.setData = function(value) {
|
|
11684
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
11685
|
+
};
|
|
11686
|
+
|
|
11687
|
+
|
|
11688
|
+
/**
|
|
11689
|
+
* Clears the message field making it undefined.
|
|
11690
|
+
* @return {!proto.ocap.PauseRollupTx} returns this
|
|
11691
|
+
*/
|
|
11692
|
+
proto.ocap.PauseRollupTx.prototype.clearData = function() {
|
|
11693
|
+
return this.setData(undefined);
|
|
11694
|
+
};
|
|
11695
|
+
|
|
11696
|
+
|
|
11697
|
+
/**
|
|
11698
|
+
* Returns whether this field is set.
|
|
11699
|
+
* @return {boolean}
|
|
11700
|
+
*/
|
|
11701
|
+
proto.ocap.PauseRollupTx.prototype.hasData = function() {
|
|
11702
|
+
return jspb.Message.getField(this, 10) != null;
|
|
11703
|
+
};
|
|
11704
|
+
|
|
11705
|
+
|
|
11706
|
+
|
|
11707
|
+
|
|
11708
|
+
|
|
11709
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11710
|
+
/**
|
|
11711
|
+
* Creates an object representation of this proto.
|
|
11712
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11713
|
+
* Optional fields that are not set will be set to undefined.
|
|
11714
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11715
|
+
* For the list of reserved names please see:
|
|
11716
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11717
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11718
|
+
* JSPB instance for transitional soy proto support:
|
|
11719
|
+
* http://goto/soy-param-migration
|
|
11720
|
+
* @return {!Object}
|
|
11721
|
+
*/
|
|
11722
|
+
proto.ocap.ResumeRollupTx.prototype.toObject = function(opt_includeInstance) {
|
|
11723
|
+
return proto.ocap.ResumeRollupTx.toObject(opt_includeInstance, this);
|
|
11724
|
+
};
|
|
11725
|
+
|
|
11726
|
+
|
|
11727
|
+
/**
|
|
11728
|
+
* Static version of the {@see toObject} method.
|
|
11729
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11730
|
+
* the JSPB instance for transitional soy proto support:
|
|
11731
|
+
* http://goto/soy-param-migration
|
|
11732
|
+
* @param {!proto.ocap.ResumeRollupTx} msg The msg instance to transform.
|
|
11733
|
+
* @return {!Object}
|
|
11734
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11735
|
+
*/
|
|
11736
|
+
proto.ocap.ResumeRollupTx.toObject = function(includeInstance, msg) {
|
|
11737
|
+
var f, obj = {
|
|
11738
|
+
rollup: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11739
|
+
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
11740
|
+
};
|
|
11741
|
+
|
|
11742
|
+
if (includeInstance) {
|
|
11743
|
+
obj.$jspbMessageInstance = msg;
|
|
11744
|
+
}
|
|
11745
|
+
return obj;
|
|
11746
|
+
};
|
|
11747
|
+
}
|
|
11748
|
+
|
|
11749
|
+
|
|
11750
|
+
/**
|
|
11751
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11752
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11753
|
+
* @return {!proto.ocap.ResumeRollupTx}
|
|
11754
|
+
*/
|
|
11755
|
+
proto.ocap.ResumeRollupTx.deserializeBinary = function(bytes) {
|
|
11756
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11757
|
+
var msg = new proto.ocap.ResumeRollupTx;
|
|
11758
|
+
return proto.ocap.ResumeRollupTx.deserializeBinaryFromReader(msg, reader);
|
|
11759
|
+
};
|
|
11760
|
+
|
|
11761
|
+
|
|
11762
|
+
/**
|
|
11763
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11764
|
+
* given reader into the given message object.
|
|
11765
|
+
* @param {!proto.ocap.ResumeRollupTx} msg The message object to deserialize into.
|
|
11766
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11767
|
+
* @return {!proto.ocap.ResumeRollupTx}
|
|
11768
|
+
*/
|
|
11769
|
+
proto.ocap.ResumeRollupTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
11770
|
+
while (reader.nextField()) {
|
|
11771
|
+
if (reader.isEndGroup()) {
|
|
11772
|
+
break;
|
|
11773
|
+
}
|
|
11774
|
+
var field = reader.getFieldNumber();
|
|
11775
|
+
switch (field) {
|
|
11776
|
+
case 1:
|
|
11777
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11778
|
+
msg.setRollup(value);
|
|
11779
|
+
break;
|
|
11780
|
+
case 10:
|
|
11781
|
+
var value = new google_protobuf_any_pb.Any;
|
|
11782
|
+
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
11783
|
+
msg.setData(value);
|
|
11784
|
+
break;
|
|
11785
|
+
default:
|
|
11786
|
+
reader.skipField();
|
|
11787
|
+
break;
|
|
11788
|
+
}
|
|
11789
|
+
}
|
|
11790
|
+
return msg;
|
|
11791
|
+
};
|
|
11792
|
+
|
|
11793
|
+
|
|
11794
|
+
/**
|
|
11795
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11796
|
+
* @return {!Uint8Array}
|
|
11797
|
+
*/
|
|
11798
|
+
proto.ocap.ResumeRollupTx.prototype.serializeBinary = function() {
|
|
11799
|
+
var writer = new jspb.BinaryWriter();
|
|
11800
|
+
proto.ocap.ResumeRollupTx.serializeBinaryToWriter(this, writer);
|
|
11801
|
+
return writer.getResultBuffer();
|
|
11802
|
+
};
|
|
11803
|
+
|
|
11804
|
+
|
|
11805
|
+
/**
|
|
11806
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11807
|
+
* format), writing to the given BinaryWriter.
|
|
11808
|
+
* @param {!proto.ocap.ResumeRollupTx} message
|
|
11809
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11810
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11811
|
+
*/
|
|
11812
|
+
proto.ocap.ResumeRollupTx.serializeBinaryToWriter = function(message, writer) {
|
|
11813
|
+
var f = undefined;
|
|
11814
|
+
f = message.getRollup();
|
|
11815
|
+
if (f.length > 0) {
|
|
11816
|
+
writer.writeString(
|
|
11817
|
+
1,
|
|
11818
|
+
f
|
|
11819
|
+
);
|
|
11820
|
+
}
|
|
11821
|
+
f = message.getData();
|
|
11822
|
+
if (f != null) {
|
|
11823
|
+
writer.writeMessage(
|
|
11824
|
+
10,
|
|
11825
|
+
f,
|
|
11826
|
+
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
11827
|
+
);
|
|
11828
|
+
}
|
|
11829
|
+
};
|
|
11830
|
+
|
|
11831
|
+
|
|
11832
|
+
/**
|
|
11833
|
+
* optional string rollup = 1;
|
|
11834
|
+
* @return {string}
|
|
11835
|
+
*/
|
|
11836
|
+
proto.ocap.ResumeRollupTx.prototype.getRollup = function() {
|
|
11837
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11838
|
+
};
|
|
11839
|
+
|
|
11840
|
+
|
|
11841
|
+
/**
|
|
11842
|
+
* @param {string} value
|
|
11843
|
+
* @return {!proto.ocap.ResumeRollupTx} returns this
|
|
11844
|
+
*/
|
|
11845
|
+
proto.ocap.ResumeRollupTx.prototype.setRollup = function(value) {
|
|
11846
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11847
|
+
};
|
|
11848
|
+
|
|
11849
|
+
|
|
11850
|
+
/**
|
|
11851
|
+
* optional google.protobuf.Any data = 10;
|
|
11852
|
+
* @return {?proto.google.protobuf.Any}
|
|
11853
|
+
*/
|
|
11854
|
+
proto.ocap.ResumeRollupTx.prototype.getData = function() {
|
|
11855
|
+
return /** @type{?proto.google.protobuf.Any} */ (
|
|
11856
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 10));
|
|
11857
|
+
};
|
|
11858
|
+
|
|
11859
|
+
|
|
11860
|
+
/**
|
|
11861
|
+
* @param {?proto.google.protobuf.Any|undefined} value
|
|
11862
|
+
* @return {!proto.ocap.ResumeRollupTx} returns this
|
|
11863
|
+
*/
|
|
11864
|
+
proto.ocap.ResumeRollupTx.prototype.setData = function(value) {
|
|
11865
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
11866
|
+
};
|
|
11867
|
+
|
|
11868
|
+
|
|
11869
|
+
/**
|
|
11870
|
+
* Clears the message field making it undefined.
|
|
11871
|
+
* @return {!proto.ocap.ResumeRollupTx} returns this
|
|
11872
|
+
*/
|
|
11873
|
+
proto.ocap.ResumeRollupTx.prototype.clearData = function() {
|
|
11874
|
+
return this.setData(undefined);
|
|
11875
|
+
};
|
|
11876
|
+
|
|
11877
|
+
|
|
11878
|
+
/**
|
|
11879
|
+
* Returns whether this field is set.
|
|
11880
|
+
* @return {boolean}
|
|
11881
|
+
*/
|
|
11882
|
+
proto.ocap.ResumeRollupTx.prototype.hasData = function() {
|
|
11883
|
+
return jspb.Message.getField(this, 10) != null;
|
|
11884
|
+
};
|
|
11885
|
+
|
|
11886
|
+
|
|
11887
|
+
|
|
11888
|
+
|
|
11889
|
+
|
|
11890
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11891
|
+
/**
|
|
11892
|
+
* Creates an object representation of this proto.
|
|
11893
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11894
|
+
* Optional fields that are not set will be set to undefined.
|
|
11895
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11896
|
+
* For the list of reserved names please see:
|
|
11897
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11898
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11899
|
+
* JSPB instance for transitional soy proto support:
|
|
11900
|
+
* http://goto/soy-param-migration
|
|
11901
|
+
* @return {!Object}
|
|
11902
|
+
*/
|
|
11903
|
+
proto.ocap.MigrateRollupContractTx.prototype.toObject = function(opt_includeInstance) {
|
|
11904
|
+
return proto.ocap.MigrateRollupContractTx.toObject(opt_includeInstance, this);
|
|
11905
|
+
};
|
|
11906
|
+
|
|
11907
|
+
|
|
11908
|
+
/**
|
|
11909
|
+
* Static version of the {@see toObject} method.
|
|
11910
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11911
|
+
* the JSPB instance for transitional soy proto support:
|
|
11912
|
+
* http://goto/soy-param-migration
|
|
11913
|
+
* @param {!proto.ocap.MigrateRollupContractTx} msg The msg instance to transform.
|
|
11914
|
+
* @return {!Object}
|
|
11915
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11916
|
+
*/
|
|
11917
|
+
proto.ocap.MigrateRollupContractTx.toObject = function(includeInstance, msg) {
|
|
11918
|
+
var f, obj = {
|
|
11919
|
+
rollup: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11920
|
+
to: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11921
|
+
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
11922
|
+
};
|
|
11923
|
+
|
|
11924
|
+
if (includeInstance) {
|
|
11925
|
+
obj.$jspbMessageInstance = msg;
|
|
11926
|
+
}
|
|
11927
|
+
return obj;
|
|
11928
|
+
};
|
|
11929
|
+
}
|
|
11930
|
+
|
|
11931
|
+
|
|
11932
|
+
/**
|
|
11933
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11934
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11935
|
+
* @return {!proto.ocap.MigrateRollupContractTx}
|
|
11936
|
+
*/
|
|
11937
|
+
proto.ocap.MigrateRollupContractTx.deserializeBinary = function(bytes) {
|
|
11938
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11939
|
+
var msg = new proto.ocap.MigrateRollupContractTx;
|
|
11940
|
+
return proto.ocap.MigrateRollupContractTx.deserializeBinaryFromReader(msg, reader);
|
|
11941
|
+
};
|
|
11942
|
+
|
|
11943
|
+
|
|
11944
|
+
/**
|
|
11945
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11946
|
+
* given reader into the given message object.
|
|
11947
|
+
* @param {!proto.ocap.MigrateRollupContractTx} msg The message object to deserialize into.
|
|
11948
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11949
|
+
* @return {!proto.ocap.MigrateRollupContractTx}
|
|
11950
|
+
*/
|
|
11951
|
+
proto.ocap.MigrateRollupContractTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
11952
|
+
while (reader.nextField()) {
|
|
11953
|
+
if (reader.isEndGroup()) {
|
|
11954
|
+
break;
|
|
11955
|
+
}
|
|
11956
|
+
var field = reader.getFieldNumber();
|
|
11957
|
+
switch (field) {
|
|
11958
|
+
case 1:
|
|
11959
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11960
|
+
msg.setRollup(value);
|
|
11961
|
+
break;
|
|
11962
|
+
case 2:
|
|
11963
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11964
|
+
msg.setTo(value);
|
|
11965
|
+
break;
|
|
11966
|
+
case 10:
|
|
11967
|
+
var value = new google_protobuf_any_pb.Any;
|
|
11968
|
+
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
11969
|
+
msg.setData(value);
|
|
11970
|
+
break;
|
|
11971
|
+
default:
|
|
11972
|
+
reader.skipField();
|
|
11973
|
+
break;
|
|
11974
|
+
}
|
|
11975
|
+
}
|
|
11976
|
+
return msg;
|
|
11977
|
+
};
|
|
11978
|
+
|
|
11979
|
+
|
|
11980
|
+
/**
|
|
11981
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11982
|
+
* @return {!Uint8Array}
|
|
11983
|
+
*/
|
|
11984
|
+
proto.ocap.MigrateRollupContractTx.prototype.serializeBinary = function() {
|
|
11985
|
+
var writer = new jspb.BinaryWriter();
|
|
11986
|
+
proto.ocap.MigrateRollupContractTx.serializeBinaryToWriter(this, writer);
|
|
11987
|
+
return writer.getResultBuffer();
|
|
11988
|
+
};
|
|
11989
|
+
|
|
11990
|
+
|
|
11991
|
+
/**
|
|
11992
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11993
|
+
* format), writing to the given BinaryWriter.
|
|
11994
|
+
* @param {!proto.ocap.MigrateRollupContractTx} message
|
|
11995
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11996
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11997
|
+
*/
|
|
11998
|
+
proto.ocap.MigrateRollupContractTx.serializeBinaryToWriter = function(message, writer) {
|
|
11999
|
+
var f = undefined;
|
|
12000
|
+
f = message.getRollup();
|
|
12001
|
+
if (f.length > 0) {
|
|
12002
|
+
writer.writeString(
|
|
12003
|
+
1,
|
|
12004
|
+
f
|
|
12005
|
+
);
|
|
12006
|
+
}
|
|
12007
|
+
f = message.getTo();
|
|
12008
|
+
if (f.length > 0) {
|
|
12009
|
+
writer.writeString(
|
|
12010
|
+
2,
|
|
12011
|
+
f
|
|
12012
|
+
);
|
|
12013
|
+
}
|
|
12014
|
+
f = message.getData();
|
|
12015
|
+
if (f != null) {
|
|
12016
|
+
writer.writeMessage(
|
|
12017
|
+
10,
|
|
12018
|
+
f,
|
|
12019
|
+
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
12020
|
+
);
|
|
12021
|
+
}
|
|
12022
|
+
};
|
|
12023
|
+
|
|
12024
|
+
|
|
12025
|
+
/**
|
|
12026
|
+
* optional string rollup = 1;
|
|
12027
|
+
* @return {string}
|
|
12028
|
+
*/
|
|
12029
|
+
proto.ocap.MigrateRollupContractTx.prototype.getRollup = function() {
|
|
12030
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
12031
|
+
};
|
|
12032
|
+
|
|
12033
|
+
|
|
12034
|
+
/**
|
|
12035
|
+
* @param {string} value
|
|
12036
|
+
* @return {!proto.ocap.MigrateRollupContractTx} returns this
|
|
12037
|
+
*/
|
|
12038
|
+
proto.ocap.MigrateRollupContractTx.prototype.setRollup = function(value) {
|
|
12039
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
12040
|
+
};
|
|
12041
|
+
|
|
12042
|
+
|
|
12043
|
+
/**
|
|
12044
|
+
* optional string to = 2;
|
|
12045
|
+
* @return {string}
|
|
12046
|
+
*/
|
|
12047
|
+
proto.ocap.MigrateRollupContractTx.prototype.getTo = function() {
|
|
12048
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12049
|
+
};
|
|
12050
|
+
|
|
12051
|
+
|
|
12052
|
+
/**
|
|
12053
|
+
* @param {string} value
|
|
12054
|
+
* @return {!proto.ocap.MigrateRollupContractTx} returns this
|
|
12055
|
+
*/
|
|
12056
|
+
proto.ocap.MigrateRollupContractTx.prototype.setTo = function(value) {
|
|
12057
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12058
|
+
};
|
|
12059
|
+
|
|
12060
|
+
|
|
12061
|
+
/**
|
|
12062
|
+
* optional google.protobuf.Any data = 10;
|
|
12063
|
+
* @return {?proto.google.protobuf.Any}
|
|
12064
|
+
*/
|
|
12065
|
+
proto.ocap.MigrateRollupContractTx.prototype.getData = function() {
|
|
12066
|
+
return /** @type{?proto.google.protobuf.Any} */ (
|
|
12067
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 10));
|
|
12068
|
+
};
|
|
12069
|
+
|
|
12070
|
+
|
|
12071
|
+
/**
|
|
12072
|
+
* @param {?proto.google.protobuf.Any|undefined} value
|
|
12073
|
+
* @return {!proto.ocap.MigrateRollupContractTx} returns this
|
|
12074
|
+
*/
|
|
12075
|
+
proto.ocap.MigrateRollupContractTx.prototype.setData = function(value) {
|
|
12076
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
12077
|
+
};
|
|
12078
|
+
|
|
12079
|
+
|
|
12080
|
+
/**
|
|
12081
|
+
* Clears the message field making it undefined.
|
|
12082
|
+
* @return {!proto.ocap.MigrateRollupContractTx} returns this
|
|
12083
|
+
*/
|
|
12084
|
+
proto.ocap.MigrateRollupContractTx.prototype.clearData = function() {
|
|
12085
|
+
return this.setData(undefined);
|
|
12086
|
+
};
|
|
12087
|
+
|
|
12088
|
+
|
|
12089
|
+
/**
|
|
12090
|
+
* Returns whether this field is set.
|
|
12091
|
+
* @return {boolean}
|
|
12092
|
+
*/
|
|
12093
|
+
proto.ocap.MigrateRollupContractTx.prototype.hasData = function() {
|
|
12094
|
+
return jspb.Message.getField(this, 10) != null;
|
|
12095
|
+
};
|
|
12096
|
+
|
|
12097
|
+
|
|
12098
|
+
|
|
12099
|
+
|
|
12100
|
+
|
|
12101
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12102
|
+
/**
|
|
12103
|
+
* Creates an object representation of this proto.
|
|
12104
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12105
|
+
* Optional fields that are not set will be set to undefined.
|
|
12106
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12107
|
+
* For the list of reserved names please see:
|
|
12108
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12109
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12110
|
+
* JSPB instance for transitional soy proto support:
|
|
12111
|
+
* http://goto/soy-param-migration
|
|
12112
|
+
* @return {!Object}
|
|
12113
|
+
*/
|
|
12114
|
+
proto.ocap.MigrateRollupTokenTx.prototype.toObject = function(opt_includeInstance) {
|
|
12115
|
+
return proto.ocap.MigrateRollupTokenTx.toObject(opt_includeInstance, this);
|
|
12116
|
+
};
|
|
12117
|
+
|
|
12118
|
+
|
|
12119
|
+
/**
|
|
12120
|
+
* Static version of the {@see toObject} method.
|
|
12121
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12122
|
+
* the JSPB instance for transitional soy proto support:
|
|
12123
|
+
* http://goto/soy-param-migration
|
|
12124
|
+
* @param {!proto.ocap.MigrateRollupTokenTx} msg The msg instance to transform.
|
|
12125
|
+
* @return {!Object}
|
|
12126
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12127
|
+
*/
|
|
12128
|
+
proto.ocap.MigrateRollupTokenTx.toObject = function(includeInstance, msg) {
|
|
12129
|
+
var f, obj = {
|
|
12130
|
+
rollup: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12131
|
+
from: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12132
|
+
to: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12133
|
+
token: (f = msg.getToken()) && type_pb.TokenInput.toObject(includeInstance, f),
|
|
12134
|
+
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
12135
|
+
};
|
|
12136
|
+
|
|
12137
|
+
if (includeInstance) {
|
|
12138
|
+
obj.$jspbMessageInstance = msg;
|
|
12139
|
+
}
|
|
12140
|
+
return obj;
|
|
12141
|
+
};
|
|
12142
|
+
}
|
|
12143
|
+
|
|
12144
|
+
|
|
12145
|
+
/**
|
|
12146
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12147
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12148
|
+
* @return {!proto.ocap.MigrateRollupTokenTx}
|
|
12149
|
+
*/
|
|
12150
|
+
proto.ocap.MigrateRollupTokenTx.deserializeBinary = function(bytes) {
|
|
12151
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12152
|
+
var msg = new proto.ocap.MigrateRollupTokenTx;
|
|
12153
|
+
return proto.ocap.MigrateRollupTokenTx.deserializeBinaryFromReader(msg, reader);
|
|
12154
|
+
};
|
|
12155
|
+
|
|
12156
|
+
|
|
12157
|
+
/**
|
|
12158
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12159
|
+
* given reader into the given message object.
|
|
12160
|
+
* @param {!proto.ocap.MigrateRollupTokenTx} msg The message object to deserialize into.
|
|
12161
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12162
|
+
* @return {!proto.ocap.MigrateRollupTokenTx}
|
|
12163
|
+
*/
|
|
12164
|
+
proto.ocap.MigrateRollupTokenTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
12165
|
+
while (reader.nextField()) {
|
|
12166
|
+
if (reader.isEndGroup()) {
|
|
12167
|
+
break;
|
|
12168
|
+
}
|
|
12169
|
+
var field = reader.getFieldNumber();
|
|
12170
|
+
switch (field) {
|
|
12171
|
+
case 1:
|
|
12172
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12173
|
+
msg.setRollup(value);
|
|
12174
|
+
break;
|
|
12175
|
+
case 2:
|
|
12176
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12177
|
+
msg.setFrom(value);
|
|
12178
|
+
break;
|
|
12179
|
+
case 3:
|
|
12180
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12181
|
+
msg.setTo(value);
|
|
12182
|
+
break;
|
|
12183
|
+
case 4:
|
|
12184
|
+
var value = new type_pb.TokenInput;
|
|
12185
|
+
reader.readMessage(value,type_pb.TokenInput.deserializeBinaryFromReader);
|
|
12186
|
+
msg.setToken(value);
|
|
12187
|
+
break;
|
|
12188
|
+
case 10:
|
|
12189
|
+
var value = new google_protobuf_any_pb.Any;
|
|
12190
|
+
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
12191
|
+
msg.setData(value);
|
|
12192
|
+
break;
|
|
12193
|
+
default:
|
|
12194
|
+
reader.skipField();
|
|
12195
|
+
break;
|
|
12196
|
+
}
|
|
12197
|
+
}
|
|
12198
|
+
return msg;
|
|
12199
|
+
};
|
|
12200
|
+
|
|
12201
|
+
|
|
12202
|
+
/**
|
|
12203
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12204
|
+
* @return {!Uint8Array}
|
|
12205
|
+
*/
|
|
12206
|
+
proto.ocap.MigrateRollupTokenTx.prototype.serializeBinary = function() {
|
|
12207
|
+
var writer = new jspb.BinaryWriter();
|
|
12208
|
+
proto.ocap.MigrateRollupTokenTx.serializeBinaryToWriter(this, writer);
|
|
12209
|
+
return writer.getResultBuffer();
|
|
12210
|
+
};
|
|
12211
|
+
|
|
12212
|
+
|
|
12213
|
+
/**
|
|
12214
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12215
|
+
* format), writing to the given BinaryWriter.
|
|
12216
|
+
* @param {!proto.ocap.MigrateRollupTokenTx} message
|
|
12217
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12218
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12219
|
+
*/
|
|
12220
|
+
proto.ocap.MigrateRollupTokenTx.serializeBinaryToWriter = function(message, writer) {
|
|
12221
|
+
var f = undefined;
|
|
12222
|
+
f = message.getRollup();
|
|
12223
|
+
if (f.length > 0) {
|
|
12224
|
+
writer.writeString(
|
|
12225
|
+
1,
|
|
12226
|
+
f
|
|
12227
|
+
);
|
|
12228
|
+
}
|
|
12229
|
+
f = message.getFrom();
|
|
12230
|
+
if (f.length > 0) {
|
|
12231
|
+
writer.writeString(
|
|
12232
|
+
2,
|
|
12233
|
+
f
|
|
12234
|
+
);
|
|
12235
|
+
}
|
|
12236
|
+
f = message.getTo();
|
|
12237
|
+
if (f.length > 0) {
|
|
12238
|
+
writer.writeString(
|
|
12239
|
+
3,
|
|
12240
|
+
f
|
|
12241
|
+
);
|
|
12242
|
+
}
|
|
12243
|
+
f = message.getToken();
|
|
12244
|
+
if (f != null) {
|
|
12245
|
+
writer.writeMessage(
|
|
12246
|
+
4,
|
|
12247
|
+
f,
|
|
12248
|
+
type_pb.TokenInput.serializeBinaryToWriter
|
|
12249
|
+
);
|
|
12250
|
+
}
|
|
12251
|
+
f = message.getData();
|
|
12252
|
+
if (f != null) {
|
|
12253
|
+
writer.writeMessage(
|
|
12254
|
+
10,
|
|
12255
|
+
f,
|
|
12256
|
+
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
12257
|
+
);
|
|
12258
|
+
}
|
|
12259
|
+
};
|
|
12260
|
+
|
|
12261
|
+
|
|
12262
|
+
/**
|
|
12263
|
+
* optional string rollup = 1;
|
|
12264
|
+
* @return {string}
|
|
12265
|
+
*/
|
|
12266
|
+
proto.ocap.MigrateRollupTokenTx.prototype.getRollup = function() {
|
|
12267
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
12268
|
+
};
|
|
12269
|
+
|
|
12270
|
+
|
|
12271
|
+
/**
|
|
12272
|
+
* @param {string} value
|
|
12273
|
+
* @return {!proto.ocap.MigrateRollupTokenTx} returns this
|
|
12274
|
+
*/
|
|
12275
|
+
proto.ocap.MigrateRollupTokenTx.prototype.setRollup = function(value) {
|
|
12276
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
12277
|
+
};
|
|
12278
|
+
|
|
12279
|
+
|
|
12280
|
+
/**
|
|
12281
|
+
* optional string from = 2;
|
|
12282
|
+
* @return {string}
|
|
12283
|
+
*/
|
|
12284
|
+
proto.ocap.MigrateRollupTokenTx.prototype.getFrom = function() {
|
|
12285
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12286
|
+
};
|
|
12287
|
+
|
|
12288
|
+
|
|
12289
|
+
/**
|
|
12290
|
+
* @param {string} value
|
|
12291
|
+
* @return {!proto.ocap.MigrateRollupTokenTx} returns this
|
|
12292
|
+
*/
|
|
12293
|
+
proto.ocap.MigrateRollupTokenTx.prototype.setFrom = function(value) {
|
|
12294
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12295
|
+
};
|
|
12296
|
+
|
|
12297
|
+
|
|
12298
|
+
/**
|
|
12299
|
+
* optional string to = 3;
|
|
12300
|
+
* @return {string}
|
|
12301
|
+
*/
|
|
12302
|
+
proto.ocap.MigrateRollupTokenTx.prototype.getTo = function() {
|
|
12303
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
12304
|
+
};
|
|
12305
|
+
|
|
12306
|
+
|
|
12307
|
+
/**
|
|
12308
|
+
* @param {string} value
|
|
12309
|
+
* @return {!proto.ocap.MigrateRollupTokenTx} returns this
|
|
12310
|
+
*/
|
|
12311
|
+
proto.ocap.MigrateRollupTokenTx.prototype.setTo = function(value) {
|
|
12312
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
12313
|
+
};
|
|
12314
|
+
|
|
12315
|
+
|
|
12316
|
+
/**
|
|
12317
|
+
* optional TokenInput token = 4;
|
|
12318
|
+
* @return {?proto.ocap.TokenInput}
|
|
12319
|
+
*/
|
|
12320
|
+
proto.ocap.MigrateRollupTokenTx.prototype.getToken = function() {
|
|
12321
|
+
return /** @type{?proto.ocap.TokenInput} */ (
|
|
12322
|
+
jspb.Message.getWrapperField(this, type_pb.TokenInput, 4));
|
|
12323
|
+
};
|
|
12324
|
+
|
|
12325
|
+
|
|
12326
|
+
/**
|
|
12327
|
+
* @param {?proto.ocap.TokenInput|undefined} value
|
|
12328
|
+
* @return {!proto.ocap.MigrateRollupTokenTx} returns this
|
|
12329
|
+
*/
|
|
12330
|
+
proto.ocap.MigrateRollupTokenTx.prototype.setToken = function(value) {
|
|
12331
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
12332
|
+
};
|
|
12333
|
+
|
|
12334
|
+
|
|
12335
|
+
/**
|
|
12336
|
+
* Clears the message field making it undefined.
|
|
12337
|
+
* @return {!proto.ocap.MigrateRollupTokenTx} returns this
|
|
12338
|
+
*/
|
|
12339
|
+
proto.ocap.MigrateRollupTokenTx.prototype.clearToken = function() {
|
|
12340
|
+
return this.setToken(undefined);
|
|
12341
|
+
};
|
|
12342
|
+
|
|
12343
|
+
|
|
12344
|
+
/**
|
|
12345
|
+
* Returns whether this field is set.
|
|
12346
|
+
* @return {boolean}
|
|
12347
|
+
*/
|
|
12348
|
+
proto.ocap.MigrateRollupTokenTx.prototype.hasToken = function() {
|
|
12349
|
+
return jspb.Message.getField(this, 4) != null;
|
|
12350
|
+
};
|
|
12351
|
+
|
|
12352
|
+
|
|
12353
|
+
/**
|
|
12354
|
+
* optional google.protobuf.Any data = 10;
|
|
12355
|
+
* @return {?proto.google.protobuf.Any}
|
|
12356
|
+
*/
|
|
12357
|
+
proto.ocap.MigrateRollupTokenTx.prototype.getData = function() {
|
|
12358
|
+
return /** @type{?proto.google.protobuf.Any} */ (
|
|
12359
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 10));
|
|
12360
|
+
};
|
|
12361
|
+
|
|
12362
|
+
|
|
12363
|
+
/**
|
|
12364
|
+
* @param {?proto.google.protobuf.Any|undefined} value
|
|
12365
|
+
* @return {!proto.ocap.MigrateRollupTokenTx} returns this
|
|
12366
|
+
*/
|
|
12367
|
+
proto.ocap.MigrateRollupTokenTx.prototype.setData = function(value) {
|
|
12368
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
12369
|
+
};
|
|
12370
|
+
|
|
12371
|
+
|
|
12372
|
+
/**
|
|
12373
|
+
* Clears the message field making it undefined.
|
|
12374
|
+
* @return {!proto.ocap.MigrateRollupTokenTx} returns this
|
|
12375
|
+
*/
|
|
12376
|
+
proto.ocap.MigrateRollupTokenTx.prototype.clearData = function() {
|
|
12377
|
+
return this.setData(undefined);
|
|
12378
|
+
};
|
|
12379
|
+
|
|
12380
|
+
|
|
12381
|
+
/**
|
|
12382
|
+
* Returns whether this field is set.
|
|
12383
|
+
* @return {boolean}
|
|
12384
|
+
*/
|
|
12385
|
+
proto.ocap.MigrateRollupTokenTx.prototype.hasData = function() {
|
|
12386
|
+
return jspb.Message.getField(this, 10) != null;
|
|
12387
|
+
};
|
|
12388
|
+
|
|
12389
|
+
|
|
12390
|
+
|
|
12391
|
+
|
|
12392
|
+
|
|
12393
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12394
|
+
/**
|
|
12395
|
+
* Creates an object representation of this proto.
|
|
12396
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12397
|
+
* Optional fields that are not set will be set to undefined.
|
|
12398
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12399
|
+
* For the list of reserved names please see:
|
|
12400
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12401
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12402
|
+
* JSPB instance for transitional soy proto support:
|
|
12403
|
+
* http://goto/soy-param-migration
|
|
12404
|
+
* @return {!Object}
|
|
12405
|
+
*/
|
|
12406
|
+
proto.ocap.DepositTokenV2Tx.prototype.toObject = function(opt_includeInstance) {
|
|
12407
|
+
return proto.ocap.DepositTokenV2Tx.toObject(opt_includeInstance, this);
|
|
12408
|
+
};
|
|
12409
|
+
|
|
12410
|
+
|
|
12411
|
+
/**
|
|
12412
|
+
* Static version of the {@see toObject} method.
|
|
12413
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12414
|
+
* the JSPB instance for transitional soy proto support:
|
|
12415
|
+
* http://goto/soy-param-migration
|
|
12416
|
+
* @param {!proto.ocap.DepositTokenV2Tx} msg The msg instance to transform.
|
|
12417
|
+
* @return {!Object}
|
|
12418
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12419
|
+
*/
|
|
12420
|
+
proto.ocap.DepositTokenV2Tx.toObject = function(includeInstance, msg) {
|
|
12421
|
+
var f, obj = {
|
|
12422
|
+
token: (f = msg.getToken()) && type_pb.TokenInput.toObject(includeInstance, f),
|
|
12423
|
+
to: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12424
|
+
proposer: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12425
|
+
evidence: (f = msg.getEvidence()) && type_pb.Evidence.toObject(includeInstance, f),
|
|
12426
|
+
rollup: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
12427
|
+
actualFee: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
12428
|
+
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
12429
|
+
};
|
|
12430
|
+
|
|
12431
|
+
if (includeInstance) {
|
|
12432
|
+
obj.$jspbMessageInstance = msg;
|
|
12433
|
+
}
|
|
12434
|
+
return obj;
|
|
12435
|
+
};
|
|
12436
|
+
}
|
|
12437
|
+
|
|
12438
|
+
|
|
12439
|
+
/**
|
|
12440
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12441
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12442
|
+
* @return {!proto.ocap.DepositTokenV2Tx}
|
|
12443
|
+
*/
|
|
12444
|
+
proto.ocap.DepositTokenV2Tx.deserializeBinary = function(bytes) {
|
|
12445
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12446
|
+
var msg = new proto.ocap.DepositTokenV2Tx;
|
|
12447
|
+
return proto.ocap.DepositTokenV2Tx.deserializeBinaryFromReader(msg, reader);
|
|
12448
|
+
};
|
|
12449
|
+
|
|
12450
|
+
|
|
12451
|
+
/**
|
|
12452
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12453
|
+
* given reader into the given message object.
|
|
12454
|
+
* @param {!proto.ocap.DepositTokenV2Tx} msg The message object to deserialize into.
|
|
12455
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12456
|
+
* @return {!proto.ocap.DepositTokenV2Tx}
|
|
12457
|
+
*/
|
|
12458
|
+
proto.ocap.DepositTokenV2Tx.deserializeBinaryFromReader = function(msg, reader) {
|
|
12459
|
+
while (reader.nextField()) {
|
|
12460
|
+
if (reader.isEndGroup()) {
|
|
12461
|
+
break;
|
|
12462
|
+
}
|
|
12463
|
+
var field = reader.getFieldNumber();
|
|
12464
|
+
switch (field) {
|
|
12465
|
+
case 1:
|
|
12466
|
+
var value = new type_pb.TokenInput;
|
|
12467
|
+
reader.readMessage(value,type_pb.TokenInput.deserializeBinaryFromReader);
|
|
12468
|
+
msg.setToken(value);
|
|
12469
|
+
break;
|
|
12470
|
+
case 2:
|
|
12471
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12472
|
+
msg.setTo(value);
|
|
12473
|
+
break;
|
|
12474
|
+
case 3:
|
|
12475
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12476
|
+
msg.setProposer(value);
|
|
12477
|
+
break;
|
|
12478
|
+
case 4:
|
|
12479
|
+
var value = new type_pb.Evidence;
|
|
12480
|
+
reader.readMessage(value,type_pb.Evidence.deserializeBinaryFromReader);
|
|
12481
|
+
msg.setEvidence(value);
|
|
12482
|
+
break;
|
|
12483
|
+
case 5:
|
|
12484
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12485
|
+
msg.setRollup(value);
|
|
12486
|
+
break;
|
|
12487
|
+
case 7:
|
|
12488
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12489
|
+
msg.setActualFee(value);
|
|
12490
|
+
break;
|
|
12491
|
+
case 15:
|
|
12492
|
+
var value = new google_protobuf_any_pb.Any;
|
|
12493
|
+
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
12494
|
+
msg.setData(value);
|
|
12495
|
+
break;
|
|
12496
|
+
default:
|
|
12497
|
+
reader.skipField();
|
|
12498
|
+
break;
|
|
12499
|
+
}
|
|
12500
|
+
}
|
|
12501
|
+
return msg;
|
|
12502
|
+
};
|
|
12503
|
+
|
|
12504
|
+
|
|
12505
|
+
/**
|
|
12506
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12507
|
+
* @return {!Uint8Array}
|
|
12508
|
+
*/
|
|
12509
|
+
proto.ocap.DepositTokenV2Tx.prototype.serializeBinary = function() {
|
|
12510
|
+
var writer = new jspb.BinaryWriter();
|
|
12511
|
+
proto.ocap.DepositTokenV2Tx.serializeBinaryToWriter(this, writer);
|
|
12512
|
+
return writer.getResultBuffer();
|
|
12513
|
+
};
|
|
12514
|
+
|
|
12515
|
+
|
|
12516
|
+
/**
|
|
12517
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12518
|
+
* format), writing to the given BinaryWriter.
|
|
12519
|
+
* @param {!proto.ocap.DepositTokenV2Tx} message
|
|
12520
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12521
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12522
|
+
*/
|
|
12523
|
+
proto.ocap.DepositTokenV2Tx.serializeBinaryToWriter = function(message, writer) {
|
|
12524
|
+
var f = undefined;
|
|
12525
|
+
f = message.getToken();
|
|
12526
|
+
if (f != null) {
|
|
12527
|
+
writer.writeMessage(
|
|
12528
|
+
1,
|
|
12529
|
+
f,
|
|
12530
|
+
type_pb.TokenInput.serializeBinaryToWriter
|
|
12531
|
+
);
|
|
12532
|
+
}
|
|
12533
|
+
f = message.getTo();
|
|
12534
|
+
if (f.length > 0) {
|
|
12535
|
+
writer.writeString(
|
|
12536
|
+
2,
|
|
12537
|
+
f
|
|
12538
|
+
);
|
|
12539
|
+
}
|
|
12540
|
+
f = message.getProposer();
|
|
12541
|
+
if (f.length > 0) {
|
|
12542
|
+
writer.writeString(
|
|
12543
|
+
3,
|
|
12544
|
+
f
|
|
12545
|
+
);
|
|
12546
|
+
}
|
|
12547
|
+
f = message.getEvidence();
|
|
12548
|
+
if (f != null) {
|
|
12549
|
+
writer.writeMessage(
|
|
12550
|
+
4,
|
|
12551
|
+
f,
|
|
12552
|
+
type_pb.Evidence.serializeBinaryToWriter
|
|
12553
|
+
);
|
|
12554
|
+
}
|
|
12555
|
+
f = message.getRollup();
|
|
12556
|
+
if (f.length > 0) {
|
|
12557
|
+
writer.writeString(
|
|
12558
|
+
5,
|
|
12559
|
+
f
|
|
12560
|
+
);
|
|
12561
|
+
}
|
|
12562
|
+
f = message.getActualFee();
|
|
12563
|
+
if (f.length > 0) {
|
|
12564
|
+
writer.writeString(
|
|
12565
|
+
7,
|
|
12566
|
+
f
|
|
12567
|
+
);
|
|
12568
|
+
}
|
|
12569
|
+
f = message.getData();
|
|
12570
|
+
if (f != null) {
|
|
12571
|
+
writer.writeMessage(
|
|
12572
|
+
15,
|
|
12573
|
+
f,
|
|
12574
|
+
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
12575
|
+
);
|
|
12576
|
+
}
|
|
12577
|
+
};
|
|
12578
|
+
|
|
12579
|
+
|
|
12580
|
+
/**
|
|
12581
|
+
* optional TokenInput token = 1;
|
|
12582
|
+
* @return {?proto.ocap.TokenInput}
|
|
12583
|
+
*/
|
|
11661
12584
|
proto.ocap.DepositTokenV2Tx.prototype.getToken = function() {
|
|
11662
12585
|
return /** @type{?proto.ocap.TokenInput} */ (
|
|
11663
12586
|
jspb.Message.getWrapperField(this, type_pb.TokenInput, 1));
|
|
@@ -12198,7 +13121,7 @@ proto.ocap.WithdrawTokenV2Tx.prototype.hasData = function() {
|
|
|
12198
13121
|
* @private {!Array<!Array<number>>}
|
|
12199
13122
|
* @const
|
|
12200
13123
|
*/
|
|
12201
|
-
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,49,50,51,52,53,54,55]];
|
|
13124
|
+
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,49,50,51,52,53,54,55,56,57,58,59]];
|
|
12202
13125
|
|
|
12203
13126
|
/**
|
|
12204
13127
|
* @enum {number}
|
|
@@ -12232,7 +13155,11 @@ proto.ocap.ItxStub.ValueCase = {
|
|
|
12232
13155
|
JOIN_ROLLUP: 52,
|
|
12233
13156
|
LEAVE_ROLLUP: 53,
|
|
12234
13157
|
CREATE_ROLLUP_BLOCK: 54,
|
|
12235
|
-
CLAIM_BLOCK_REWARD: 55
|
|
13158
|
+
CLAIM_BLOCK_REWARD: 55,
|
|
13159
|
+
PAUSE_ROLLUP: 56,
|
|
13160
|
+
RESUME_ROLLUP: 57,
|
|
13161
|
+
MIGRATE_ROLLUP_CONTRACT: 58,
|
|
13162
|
+
MIGRATE_ROLLUP_TOKEN: 59
|
|
12236
13163
|
};
|
|
12237
13164
|
|
|
12238
13165
|
/**
|
|
@@ -12300,7 +13227,11 @@ proto.ocap.ItxStub.toObject = function(includeInstance, msg) {
|
|
|
12300
13227
|
joinRollup: (f = msg.getJoinRollup()) && proto.ocap.JoinRollupTx.toObject(includeInstance, f),
|
|
12301
13228
|
leaveRollup: (f = msg.getLeaveRollup()) && proto.ocap.LeaveRollupTx.toObject(includeInstance, f),
|
|
12302
13229
|
createRollupBlock: (f = msg.getCreateRollupBlock()) && proto.ocap.CreateRollupBlockTx.toObject(includeInstance, f),
|
|
12303
|
-
claimBlockReward: (f = msg.getClaimBlockReward()) && proto.ocap.ClaimBlockRewardTx.toObject(includeInstance, f)
|
|
13230
|
+
claimBlockReward: (f = msg.getClaimBlockReward()) && proto.ocap.ClaimBlockRewardTx.toObject(includeInstance, f),
|
|
13231
|
+
pauseRollup: (f = msg.getPauseRollup()) && proto.ocap.PauseRollupTx.toObject(includeInstance, f),
|
|
13232
|
+
resumeRollup: (f = msg.getResumeRollup()) && proto.ocap.ResumeRollupTx.toObject(includeInstance, f),
|
|
13233
|
+
migrateRollupContract: (f = msg.getMigrateRollupContract()) && proto.ocap.MigrateRollupContractTx.toObject(includeInstance, f),
|
|
13234
|
+
migrateRollupToken: (f = msg.getMigrateRollupToken()) && proto.ocap.MigrateRollupTokenTx.toObject(includeInstance, f)
|
|
12304
13235
|
};
|
|
12305
13236
|
|
|
12306
13237
|
if (includeInstance) {
|
|
@@ -12477,6 +13408,26 @@ proto.ocap.ItxStub.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
12477
13408
|
reader.readMessage(value,proto.ocap.ClaimBlockRewardTx.deserializeBinaryFromReader);
|
|
12478
13409
|
msg.setClaimBlockReward(value);
|
|
12479
13410
|
break;
|
|
13411
|
+
case 56:
|
|
13412
|
+
var value = new proto.ocap.PauseRollupTx;
|
|
13413
|
+
reader.readMessage(value,proto.ocap.PauseRollupTx.deserializeBinaryFromReader);
|
|
13414
|
+
msg.setPauseRollup(value);
|
|
13415
|
+
break;
|
|
13416
|
+
case 57:
|
|
13417
|
+
var value = new proto.ocap.ResumeRollupTx;
|
|
13418
|
+
reader.readMessage(value,proto.ocap.ResumeRollupTx.deserializeBinaryFromReader);
|
|
13419
|
+
msg.setResumeRollup(value);
|
|
13420
|
+
break;
|
|
13421
|
+
case 58:
|
|
13422
|
+
var value = new proto.ocap.MigrateRollupContractTx;
|
|
13423
|
+
reader.readMessage(value,proto.ocap.MigrateRollupContractTx.deserializeBinaryFromReader);
|
|
13424
|
+
msg.setMigrateRollupContract(value);
|
|
13425
|
+
break;
|
|
13426
|
+
case 59:
|
|
13427
|
+
var value = new proto.ocap.MigrateRollupTokenTx;
|
|
13428
|
+
reader.readMessage(value,proto.ocap.MigrateRollupTokenTx.deserializeBinaryFromReader);
|
|
13429
|
+
msg.setMigrateRollupToken(value);
|
|
13430
|
+
break;
|
|
12480
13431
|
default:
|
|
12481
13432
|
reader.skipField();
|
|
12482
13433
|
break;
|
|
@@ -12730,6 +13681,38 @@ proto.ocap.ItxStub.serializeBinaryToWriter = function(message, writer) {
|
|
|
12730
13681
|
proto.ocap.ClaimBlockRewardTx.serializeBinaryToWriter
|
|
12731
13682
|
);
|
|
12732
13683
|
}
|
|
13684
|
+
f = message.getPauseRollup();
|
|
13685
|
+
if (f != null) {
|
|
13686
|
+
writer.writeMessage(
|
|
13687
|
+
56,
|
|
13688
|
+
f,
|
|
13689
|
+
proto.ocap.PauseRollupTx.serializeBinaryToWriter
|
|
13690
|
+
);
|
|
13691
|
+
}
|
|
13692
|
+
f = message.getResumeRollup();
|
|
13693
|
+
if (f != null) {
|
|
13694
|
+
writer.writeMessage(
|
|
13695
|
+
57,
|
|
13696
|
+
f,
|
|
13697
|
+
proto.ocap.ResumeRollupTx.serializeBinaryToWriter
|
|
13698
|
+
);
|
|
13699
|
+
}
|
|
13700
|
+
f = message.getMigrateRollupContract();
|
|
13701
|
+
if (f != null) {
|
|
13702
|
+
writer.writeMessage(
|
|
13703
|
+
58,
|
|
13704
|
+
f,
|
|
13705
|
+
proto.ocap.MigrateRollupContractTx.serializeBinaryToWriter
|
|
13706
|
+
);
|
|
13707
|
+
}
|
|
13708
|
+
f = message.getMigrateRollupToken();
|
|
13709
|
+
if (f != null) {
|
|
13710
|
+
writer.writeMessage(
|
|
13711
|
+
59,
|
|
13712
|
+
f,
|
|
13713
|
+
proto.ocap.MigrateRollupTokenTx.serializeBinaryToWriter
|
|
13714
|
+
);
|
|
13715
|
+
}
|
|
12733
13716
|
};
|
|
12734
13717
|
|
|
12735
13718
|
|
|
@@ -13769,4 +14752,152 @@ proto.ocap.ItxStub.prototype.hasClaimBlockReward = function() {
|
|
|
13769
14752
|
};
|
|
13770
14753
|
|
|
13771
14754
|
|
|
14755
|
+
/**
|
|
14756
|
+
* optional PauseRollupTx pause_rollup = 56;
|
|
14757
|
+
* @return {?proto.ocap.PauseRollupTx}
|
|
14758
|
+
*/
|
|
14759
|
+
proto.ocap.ItxStub.prototype.getPauseRollup = function() {
|
|
14760
|
+
return /** @type{?proto.ocap.PauseRollupTx} */ (
|
|
14761
|
+
jspb.Message.getWrapperField(this, proto.ocap.PauseRollupTx, 56));
|
|
14762
|
+
};
|
|
14763
|
+
|
|
14764
|
+
|
|
14765
|
+
/**
|
|
14766
|
+
* @param {?proto.ocap.PauseRollupTx|undefined} value
|
|
14767
|
+
* @return {!proto.ocap.ItxStub} returns this
|
|
14768
|
+
*/
|
|
14769
|
+
proto.ocap.ItxStub.prototype.setPauseRollup = function(value) {
|
|
14770
|
+
return jspb.Message.setOneofWrapperField(this, 56, proto.ocap.ItxStub.oneofGroups_[0], value);
|
|
14771
|
+
};
|
|
14772
|
+
|
|
14773
|
+
|
|
14774
|
+
/**
|
|
14775
|
+
* Clears the message field making it undefined.
|
|
14776
|
+
* @return {!proto.ocap.ItxStub} returns this
|
|
14777
|
+
*/
|
|
14778
|
+
proto.ocap.ItxStub.prototype.clearPauseRollup = function() {
|
|
14779
|
+
return this.setPauseRollup(undefined);
|
|
14780
|
+
};
|
|
14781
|
+
|
|
14782
|
+
|
|
14783
|
+
/**
|
|
14784
|
+
* Returns whether this field is set.
|
|
14785
|
+
* @return {boolean}
|
|
14786
|
+
*/
|
|
14787
|
+
proto.ocap.ItxStub.prototype.hasPauseRollup = function() {
|
|
14788
|
+
return jspb.Message.getField(this, 56) != null;
|
|
14789
|
+
};
|
|
14790
|
+
|
|
14791
|
+
|
|
14792
|
+
/**
|
|
14793
|
+
* optional ResumeRollupTx resume_rollup = 57;
|
|
14794
|
+
* @return {?proto.ocap.ResumeRollupTx}
|
|
14795
|
+
*/
|
|
14796
|
+
proto.ocap.ItxStub.prototype.getResumeRollup = function() {
|
|
14797
|
+
return /** @type{?proto.ocap.ResumeRollupTx} */ (
|
|
14798
|
+
jspb.Message.getWrapperField(this, proto.ocap.ResumeRollupTx, 57));
|
|
14799
|
+
};
|
|
14800
|
+
|
|
14801
|
+
|
|
14802
|
+
/**
|
|
14803
|
+
* @param {?proto.ocap.ResumeRollupTx|undefined} value
|
|
14804
|
+
* @return {!proto.ocap.ItxStub} returns this
|
|
14805
|
+
*/
|
|
14806
|
+
proto.ocap.ItxStub.prototype.setResumeRollup = function(value) {
|
|
14807
|
+
return jspb.Message.setOneofWrapperField(this, 57, proto.ocap.ItxStub.oneofGroups_[0], value);
|
|
14808
|
+
};
|
|
14809
|
+
|
|
14810
|
+
|
|
14811
|
+
/**
|
|
14812
|
+
* Clears the message field making it undefined.
|
|
14813
|
+
* @return {!proto.ocap.ItxStub} returns this
|
|
14814
|
+
*/
|
|
14815
|
+
proto.ocap.ItxStub.prototype.clearResumeRollup = function() {
|
|
14816
|
+
return this.setResumeRollup(undefined);
|
|
14817
|
+
};
|
|
14818
|
+
|
|
14819
|
+
|
|
14820
|
+
/**
|
|
14821
|
+
* Returns whether this field is set.
|
|
14822
|
+
* @return {boolean}
|
|
14823
|
+
*/
|
|
14824
|
+
proto.ocap.ItxStub.prototype.hasResumeRollup = function() {
|
|
14825
|
+
return jspb.Message.getField(this, 57) != null;
|
|
14826
|
+
};
|
|
14827
|
+
|
|
14828
|
+
|
|
14829
|
+
/**
|
|
14830
|
+
* optional MigrateRollupContractTx migrate_rollup_contract = 58;
|
|
14831
|
+
* @return {?proto.ocap.MigrateRollupContractTx}
|
|
14832
|
+
*/
|
|
14833
|
+
proto.ocap.ItxStub.prototype.getMigrateRollupContract = function() {
|
|
14834
|
+
return /** @type{?proto.ocap.MigrateRollupContractTx} */ (
|
|
14835
|
+
jspb.Message.getWrapperField(this, proto.ocap.MigrateRollupContractTx, 58));
|
|
14836
|
+
};
|
|
14837
|
+
|
|
14838
|
+
|
|
14839
|
+
/**
|
|
14840
|
+
* @param {?proto.ocap.MigrateRollupContractTx|undefined} value
|
|
14841
|
+
* @return {!proto.ocap.ItxStub} returns this
|
|
14842
|
+
*/
|
|
14843
|
+
proto.ocap.ItxStub.prototype.setMigrateRollupContract = function(value) {
|
|
14844
|
+
return jspb.Message.setOneofWrapperField(this, 58, proto.ocap.ItxStub.oneofGroups_[0], value);
|
|
14845
|
+
};
|
|
14846
|
+
|
|
14847
|
+
|
|
14848
|
+
/**
|
|
14849
|
+
* Clears the message field making it undefined.
|
|
14850
|
+
* @return {!proto.ocap.ItxStub} returns this
|
|
14851
|
+
*/
|
|
14852
|
+
proto.ocap.ItxStub.prototype.clearMigrateRollupContract = function() {
|
|
14853
|
+
return this.setMigrateRollupContract(undefined);
|
|
14854
|
+
};
|
|
14855
|
+
|
|
14856
|
+
|
|
14857
|
+
/**
|
|
14858
|
+
* Returns whether this field is set.
|
|
14859
|
+
* @return {boolean}
|
|
14860
|
+
*/
|
|
14861
|
+
proto.ocap.ItxStub.prototype.hasMigrateRollupContract = function() {
|
|
14862
|
+
return jspb.Message.getField(this, 58) != null;
|
|
14863
|
+
};
|
|
14864
|
+
|
|
14865
|
+
|
|
14866
|
+
/**
|
|
14867
|
+
* optional MigrateRollupTokenTx migrate_rollup_token = 59;
|
|
14868
|
+
* @return {?proto.ocap.MigrateRollupTokenTx}
|
|
14869
|
+
*/
|
|
14870
|
+
proto.ocap.ItxStub.prototype.getMigrateRollupToken = function() {
|
|
14871
|
+
return /** @type{?proto.ocap.MigrateRollupTokenTx} */ (
|
|
14872
|
+
jspb.Message.getWrapperField(this, proto.ocap.MigrateRollupTokenTx, 59));
|
|
14873
|
+
};
|
|
14874
|
+
|
|
14875
|
+
|
|
14876
|
+
/**
|
|
14877
|
+
* @param {?proto.ocap.MigrateRollupTokenTx|undefined} value
|
|
14878
|
+
* @return {!proto.ocap.ItxStub} returns this
|
|
14879
|
+
*/
|
|
14880
|
+
proto.ocap.ItxStub.prototype.setMigrateRollupToken = function(value) {
|
|
14881
|
+
return jspb.Message.setOneofWrapperField(this, 59, proto.ocap.ItxStub.oneofGroups_[0], value);
|
|
14882
|
+
};
|
|
14883
|
+
|
|
14884
|
+
|
|
14885
|
+
/**
|
|
14886
|
+
* Clears the message field making it undefined.
|
|
14887
|
+
* @return {!proto.ocap.ItxStub} returns this
|
|
14888
|
+
*/
|
|
14889
|
+
proto.ocap.ItxStub.prototype.clearMigrateRollupToken = function() {
|
|
14890
|
+
return this.setMigrateRollupToken(undefined);
|
|
14891
|
+
};
|
|
14892
|
+
|
|
14893
|
+
|
|
14894
|
+
/**
|
|
14895
|
+
* Returns whether this field is set.
|
|
14896
|
+
* @return {boolean}
|
|
14897
|
+
*/
|
|
14898
|
+
proto.ocap.ItxStub.prototype.hasMigrateRollupToken = function() {
|
|
14899
|
+
return jspb.Message.getField(this, 59) != null;
|
|
14900
|
+
};
|
|
14901
|
+
|
|
14902
|
+
|
|
13772
14903
|
goog.object.extend(exports, proto.ocap);
|