@dashevo/dapi-grpc 2.0.0-rc.1 → 2.0.0-rc.11
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/Cargo.toml +1 -1
- package/build.rs +4 -2
- package/clients/drive/v0/nodejs/drive_pbjs.js +1810 -243
- package/clients/platform/v0/nodejs/platform_pbjs.js +1810 -243
- package/clients/platform/v0/nodejs/platform_protoc.js +1755 -117
- package/clients/platform/v0/web/platform_pb.d.ts +218 -0
- package/clients/platform/v0/web/platform_pb.js +1755 -117
- package/clients/platform/v0/web/platform_pb_service.d.ts +19 -0
- package/clients/platform/v0/web/platform_pb_service.js +40 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +57 -2
- package/src/deserialization.rs +1 -1
|
@@ -383,6 +383,16 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesR
|
|
|
383
383
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry.PriceCase', null, { proto });
|
|
384
384
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices', null, { proto });
|
|
385
385
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.VersionCase', null, { proto });
|
|
386
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest', null, { proto });
|
|
387
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo', null, { proto });
|
|
388
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0', null, { proto });
|
|
389
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.VersionCase', null, { proto });
|
|
390
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse', null, { proto });
|
|
391
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0', null, { proto });
|
|
392
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo', null, { proto });
|
|
393
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.PaidAtCase', null, { proto });
|
|
394
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.ResultCase', null, { proto });
|
|
395
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.VersionCase', null, { proto });
|
|
386
396
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest', null, { proto });
|
|
387
397
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0', null, { proto });
|
|
388
398
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0.StartAtInfo', null, { proto });
|
|
@@ -5339,6 +5349,132 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5339
5349
|
*/
|
|
5340
5350
|
proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributions.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributions';
|
|
5341
5351
|
}
|
|
5352
|
+
/**
|
|
5353
|
+
* Generated by JsPbCodeGenerator.
|
|
5354
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5355
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5356
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5357
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5358
|
+
* valid.
|
|
5359
|
+
* @extends {jspb.Message}
|
|
5360
|
+
* @constructor
|
|
5361
|
+
*/
|
|
5362
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest = function(opt_data) {
|
|
5363
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.oneofGroups_);
|
|
5364
|
+
};
|
|
5365
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest, jspb.Message);
|
|
5366
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5367
|
+
/**
|
|
5368
|
+
* @public
|
|
5369
|
+
* @override
|
|
5370
|
+
*/
|
|
5371
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest';
|
|
5372
|
+
}
|
|
5373
|
+
/**
|
|
5374
|
+
* Generated by JsPbCodeGenerator.
|
|
5375
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5376
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5377
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5378
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5379
|
+
* valid.
|
|
5380
|
+
* @extends {jspb.Message}
|
|
5381
|
+
* @constructor
|
|
5382
|
+
*/
|
|
5383
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo = function(opt_data) {
|
|
5384
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5385
|
+
};
|
|
5386
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo, jspb.Message);
|
|
5387
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5388
|
+
/**
|
|
5389
|
+
* @public
|
|
5390
|
+
* @override
|
|
5391
|
+
*/
|
|
5392
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo';
|
|
5393
|
+
}
|
|
5394
|
+
/**
|
|
5395
|
+
* Generated by JsPbCodeGenerator.
|
|
5396
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5397
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5398
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5399
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5400
|
+
* valid.
|
|
5401
|
+
* @extends {jspb.Message}
|
|
5402
|
+
* @constructor
|
|
5403
|
+
*/
|
|
5404
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0 = function(opt_data) {
|
|
5405
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5406
|
+
};
|
|
5407
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0, jspb.Message);
|
|
5408
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5409
|
+
/**
|
|
5410
|
+
* @public
|
|
5411
|
+
* @override
|
|
5412
|
+
*/
|
|
5413
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0';
|
|
5414
|
+
}
|
|
5415
|
+
/**
|
|
5416
|
+
* Generated by JsPbCodeGenerator.
|
|
5417
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5418
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5419
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5420
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5421
|
+
* valid.
|
|
5422
|
+
* @extends {jspb.Message}
|
|
5423
|
+
* @constructor
|
|
5424
|
+
*/
|
|
5425
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse = function(opt_data) {
|
|
5426
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.oneofGroups_);
|
|
5427
|
+
};
|
|
5428
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse, jspb.Message);
|
|
5429
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5430
|
+
/**
|
|
5431
|
+
* @public
|
|
5432
|
+
* @override
|
|
5433
|
+
*/
|
|
5434
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse';
|
|
5435
|
+
}
|
|
5436
|
+
/**
|
|
5437
|
+
* Generated by JsPbCodeGenerator.
|
|
5438
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5439
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5440
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5441
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5442
|
+
* valid.
|
|
5443
|
+
* @extends {jspb.Message}
|
|
5444
|
+
* @constructor
|
|
5445
|
+
*/
|
|
5446
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0 = function(opt_data) {
|
|
5447
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.oneofGroups_);
|
|
5448
|
+
};
|
|
5449
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0, jspb.Message);
|
|
5450
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5451
|
+
/**
|
|
5452
|
+
* @public
|
|
5453
|
+
* @override
|
|
5454
|
+
*/
|
|
5455
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0';
|
|
5456
|
+
}
|
|
5457
|
+
/**
|
|
5458
|
+
* Generated by JsPbCodeGenerator.
|
|
5459
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5460
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5461
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5462
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5463
|
+
* valid.
|
|
5464
|
+
* @extends {jspb.Message}
|
|
5465
|
+
* @constructor
|
|
5466
|
+
*/
|
|
5467
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo = function(opt_data) {
|
|
5468
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_);
|
|
5469
|
+
};
|
|
5470
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo, jspb.Message);
|
|
5471
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5472
|
+
/**
|
|
5473
|
+
* @public
|
|
5474
|
+
* @override
|
|
5475
|
+
*/
|
|
5476
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.displayName = 'proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo';
|
|
5477
|
+
}
|
|
5342
5478
|
/**
|
|
5343
5479
|
* Generated by JsPbCodeGenerator.
|
|
5344
5480
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -56685,21 +56821,21 @@ proto.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.proto
|
|
|
56685
56821
|
* @private {!Array<!Array<number>>}
|
|
56686
56822
|
* @const
|
|
56687
56823
|
*/
|
|
56688
|
-
proto.org.dash.platform.dapi.v0.
|
|
56824
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.oneofGroups_ = [[1]];
|
|
56689
56825
|
|
|
56690
56826
|
/**
|
|
56691
56827
|
* @enum {number}
|
|
56692
56828
|
*/
|
|
56693
|
-
proto.org.dash.platform.dapi.v0.
|
|
56829
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.VersionCase = {
|
|
56694
56830
|
VERSION_NOT_SET: 0,
|
|
56695
56831
|
V0: 1
|
|
56696
56832
|
};
|
|
56697
56833
|
|
|
56698
56834
|
/**
|
|
56699
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
56835
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.VersionCase}
|
|
56700
56836
|
*/
|
|
56701
|
-
proto.org.dash.platform.dapi.v0.
|
|
56702
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
56837
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.getVersionCase = function() {
|
|
56838
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.oneofGroups_[0]));
|
|
56703
56839
|
};
|
|
56704
56840
|
|
|
56705
56841
|
|
|
@@ -56717,8 +56853,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
56717
56853
|
* http://goto/soy-param-migration
|
|
56718
56854
|
* @return {!Object}
|
|
56719
56855
|
*/
|
|
56720
|
-
proto.org.dash.platform.dapi.v0.
|
|
56721
|
-
return proto.org.dash.platform.dapi.v0.
|
|
56856
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.toObject = function(opt_includeInstance) {
|
|
56857
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.toObject(opt_includeInstance, this);
|
|
56722
56858
|
};
|
|
56723
56859
|
|
|
56724
56860
|
|
|
@@ -56727,13 +56863,13 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.toObject =
|
|
|
56727
56863
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
56728
56864
|
* the JSPB instance for transitional soy proto support:
|
|
56729
56865
|
* http://goto/soy-param-migration
|
|
56730
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
56866
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest} msg The msg instance to transform.
|
|
56731
56867
|
* @return {!Object}
|
|
56732
56868
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56733
56869
|
*/
|
|
56734
|
-
proto.org.dash.platform.dapi.v0.
|
|
56870
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.toObject = function(includeInstance, msg) {
|
|
56735
56871
|
var f, obj = {
|
|
56736
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.
|
|
56872
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.toObject(includeInstance, f)
|
|
56737
56873
|
};
|
|
56738
56874
|
|
|
56739
56875
|
if (includeInstance) {
|
|
@@ -56747,23 +56883,23 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.toObject = function(i
|
|
|
56747
56883
|
/**
|
|
56748
56884
|
* Deserializes binary data (in protobuf wire format).
|
|
56749
56885
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
56750
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
56886
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest}
|
|
56751
56887
|
*/
|
|
56752
|
-
proto.org.dash.platform.dapi.v0.
|
|
56888
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.deserializeBinary = function(bytes) {
|
|
56753
56889
|
var reader = new jspb.BinaryReader(bytes);
|
|
56754
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
56755
|
-
return proto.org.dash.platform.dapi.v0.
|
|
56890
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest;
|
|
56891
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.deserializeBinaryFromReader(msg, reader);
|
|
56756
56892
|
};
|
|
56757
56893
|
|
|
56758
56894
|
|
|
56759
56895
|
/**
|
|
56760
56896
|
* Deserializes binary data (in protobuf wire format) from the
|
|
56761
56897
|
* given reader into the given message object.
|
|
56762
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
56898
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest} msg The message object to deserialize into.
|
|
56763
56899
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
56764
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
56900
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest}
|
|
56765
56901
|
*/
|
|
56766
|
-
proto.org.dash.platform.dapi.v0.
|
|
56902
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
56767
56903
|
while (reader.nextField()) {
|
|
56768
56904
|
if (reader.isEndGroup()) {
|
|
56769
56905
|
break;
|
|
@@ -56771,8 +56907,8 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.deserializeBinaryFrom
|
|
|
56771
56907
|
var field = reader.getFieldNumber();
|
|
56772
56908
|
switch (field) {
|
|
56773
56909
|
case 1:
|
|
56774
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
56775
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
56910
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0;
|
|
56911
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.deserializeBinaryFromReader);
|
|
56776
56912
|
msg.setV0(value);
|
|
56777
56913
|
break;
|
|
56778
56914
|
default:
|
|
@@ -56788,9 +56924,9 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.deserializeBinaryFrom
|
|
|
56788
56924
|
* Serializes the message to binary data (in protobuf wire format).
|
|
56789
56925
|
* @return {!Uint8Array}
|
|
56790
56926
|
*/
|
|
56791
|
-
proto.org.dash.platform.dapi.v0.
|
|
56927
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.serializeBinary = function() {
|
|
56792
56928
|
var writer = new jspb.BinaryWriter();
|
|
56793
|
-
proto.org.dash.platform.dapi.v0.
|
|
56929
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.serializeBinaryToWriter(this, writer);
|
|
56794
56930
|
return writer.getResultBuffer();
|
|
56795
56931
|
};
|
|
56796
56932
|
|
|
@@ -56798,18 +56934,18 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.serializeBi
|
|
|
56798
56934
|
/**
|
|
56799
56935
|
* Serializes the given message to binary data (in protobuf wire
|
|
56800
56936
|
* format), writing to the given BinaryWriter.
|
|
56801
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
56937
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest} message
|
|
56802
56938
|
* @param {!jspb.BinaryWriter} writer
|
|
56803
56939
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56804
56940
|
*/
|
|
56805
|
-
proto.org.dash.platform.dapi.v0.
|
|
56941
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.serializeBinaryToWriter = function(message, writer) {
|
|
56806
56942
|
var f = undefined;
|
|
56807
56943
|
f = message.getV0();
|
|
56808
56944
|
if (f != null) {
|
|
56809
56945
|
writer.writeMessage(
|
|
56810
56946
|
1,
|
|
56811
56947
|
f,
|
|
56812
|
-
proto.org.dash.platform.dapi.v0.
|
|
56948
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.serializeBinaryToWriter
|
|
56813
56949
|
);
|
|
56814
56950
|
}
|
|
56815
56951
|
};
|
|
@@ -56831,8 +56967,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
56831
56967
|
* http://goto/soy-param-migration
|
|
56832
56968
|
* @return {!Object}
|
|
56833
56969
|
*/
|
|
56834
|
-
proto.org.dash.platform.dapi.v0.
|
|
56835
|
-
return proto.org.dash.platform.dapi.v0.
|
|
56970
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.toObject = function(opt_includeInstance) {
|
|
56971
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.toObject(opt_includeInstance, this);
|
|
56836
56972
|
};
|
|
56837
56973
|
|
|
56838
56974
|
|
|
@@ -56841,14 +56977,200 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRe
|
|
|
56841
56977
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
56842
56978
|
* the JSPB instance for transitional soy proto support:
|
|
56843
56979
|
* http://goto/soy-param-migration
|
|
56844
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
56980
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} msg The msg instance to transform.
|
|
56845
56981
|
* @return {!Object}
|
|
56846
56982
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56847
56983
|
*/
|
|
56848
|
-
proto.org.dash.platform.dapi.v0.
|
|
56984
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.toObject = function(includeInstance, msg) {
|
|
56985
|
+
var f, obj = {
|
|
56986
|
+
contractId: msg.getContractId_asB64(),
|
|
56987
|
+
tokenContractPosition: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
56988
|
+
};
|
|
56989
|
+
|
|
56990
|
+
if (includeInstance) {
|
|
56991
|
+
obj.$jspbMessageInstance = msg;
|
|
56992
|
+
}
|
|
56993
|
+
return obj;
|
|
56994
|
+
};
|
|
56995
|
+
}
|
|
56996
|
+
|
|
56997
|
+
|
|
56998
|
+
/**
|
|
56999
|
+
* Deserializes binary data (in protobuf wire format).
|
|
57000
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
57001
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo}
|
|
57002
|
+
*/
|
|
57003
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.deserializeBinary = function(bytes) {
|
|
57004
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
57005
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo;
|
|
57006
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.deserializeBinaryFromReader(msg, reader);
|
|
57007
|
+
};
|
|
57008
|
+
|
|
57009
|
+
|
|
57010
|
+
/**
|
|
57011
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
57012
|
+
* given reader into the given message object.
|
|
57013
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} msg The message object to deserialize into.
|
|
57014
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
57015
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo}
|
|
57016
|
+
*/
|
|
57017
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
57018
|
+
while (reader.nextField()) {
|
|
57019
|
+
if (reader.isEndGroup()) {
|
|
57020
|
+
break;
|
|
57021
|
+
}
|
|
57022
|
+
var field = reader.getFieldNumber();
|
|
57023
|
+
switch (field) {
|
|
57024
|
+
case 1:
|
|
57025
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
57026
|
+
msg.setContractId(value);
|
|
57027
|
+
break;
|
|
57028
|
+
case 2:
|
|
57029
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
57030
|
+
msg.setTokenContractPosition(value);
|
|
57031
|
+
break;
|
|
57032
|
+
default:
|
|
57033
|
+
reader.skipField();
|
|
57034
|
+
break;
|
|
57035
|
+
}
|
|
57036
|
+
}
|
|
57037
|
+
return msg;
|
|
57038
|
+
};
|
|
57039
|
+
|
|
57040
|
+
|
|
57041
|
+
/**
|
|
57042
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
57043
|
+
* @return {!Uint8Array}
|
|
57044
|
+
*/
|
|
57045
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.serializeBinary = function() {
|
|
57046
|
+
var writer = new jspb.BinaryWriter();
|
|
57047
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.serializeBinaryToWriter(this, writer);
|
|
57048
|
+
return writer.getResultBuffer();
|
|
57049
|
+
};
|
|
57050
|
+
|
|
57051
|
+
|
|
57052
|
+
/**
|
|
57053
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
57054
|
+
* format), writing to the given BinaryWriter.
|
|
57055
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} message
|
|
57056
|
+
* @param {!jspb.BinaryWriter} writer
|
|
57057
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57058
|
+
*/
|
|
57059
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.serializeBinaryToWriter = function(message, writer) {
|
|
57060
|
+
var f = undefined;
|
|
57061
|
+
f = message.getContractId_asU8();
|
|
57062
|
+
if (f.length > 0) {
|
|
57063
|
+
writer.writeBytes(
|
|
57064
|
+
1,
|
|
57065
|
+
f
|
|
57066
|
+
);
|
|
57067
|
+
}
|
|
57068
|
+
f = message.getTokenContractPosition();
|
|
57069
|
+
if (f !== 0) {
|
|
57070
|
+
writer.writeUint32(
|
|
57071
|
+
2,
|
|
57072
|
+
f
|
|
57073
|
+
);
|
|
57074
|
+
}
|
|
57075
|
+
};
|
|
57076
|
+
|
|
57077
|
+
|
|
57078
|
+
/**
|
|
57079
|
+
* optional bytes contract_id = 1;
|
|
57080
|
+
* @return {string}
|
|
57081
|
+
*/
|
|
57082
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.getContractId = function() {
|
|
57083
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
57084
|
+
};
|
|
57085
|
+
|
|
57086
|
+
|
|
57087
|
+
/**
|
|
57088
|
+
* optional bytes contract_id = 1;
|
|
57089
|
+
* This is a type-conversion wrapper around `getContractId()`
|
|
57090
|
+
* @return {string}
|
|
57091
|
+
*/
|
|
57092
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.getContractId_asB64 = function() {
|
|
57093
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
57094
|
+
this.getContractId()));
|
|
57095
|
+
};
|
|
57096
|
+
|
|
57097
|
+
|
|
57098
|
+
/**
|
|
57099
|
+
* optional bytes contract_id = 1;
|
|
57100
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
57101
|
+
* @see http://caniuse.com/Uint8Array
|
|
57102
|
+
* This is a type-conversion wrapper around `getContractId()`
|
|
57103
|
+
* @return {!Uint8Array}
|
|
57104
|
+
*/
|
|
57105
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.getContractId_asU8 = function() {
|
|
57106
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
57107
|
+
this.getContractId()));
|
|
57108
|
+
};
|
|
57109
|
+
|
|
57110
|
+
|
|
57111
|
+
/**
|
|
57112
|
+
* @param {!(string|Uint8Array)} value
|
|
57113
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} returns this
|
|
57114
|
+
*/
|
|
57115
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.setContractId = function(value) {
|
|
57116
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
57117
|
+
};
|
|
57118
|
+
|
|
57119
|
+
|
|
57120
|
+
/**
|
|
57121
|
+
* optional uint32 token_contract_position = 2;
|
|
57122
|
+
* @return {number}
|
|
57123
|
+
*/
|
|
57124
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.getTokenContractPosition = function() {
|
|
57125
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
57126
|
+
};
|
|
57127
|
+
|
|
57128
|
+
|
|
57129
|
+
/**
|
|
57130
|
+
* @param {number} value
|
|
57131
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} returns this
|
|
57132
|
+
*/
|
|
57133
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.prototype.setTokenContractPosition = function(value) {
|
|
57134
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
57135
|
+
};
|
|
57136
|
+
|
|
57137
|
+
|
|
57138
|
+
|
|
57139
|
+
|
|
57140
|
+
|
|
57141
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
57142
|
+
/**
|
|
57143
|
+
* Creates an object representation of this proto.
|
|
57144
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
57145
|
+
* Optional fields that are not set will be set to undefined.
|
|
57146
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57147
|
+
* For the list of reserved names please see:
|
|
57148
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
57149
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
57150
|
+
* JSPB instance for transitional soy proto support:
|
|
57151
|
+
* http://goto/soy-param-migration
|
|
57152
|
+
* @return {!Object}
|
|
57153
|
+
*/
|
|
57154
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
57155
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.toObject(opt_includeInstance, this);
|
|
57156
|
+
};
|
|
57157
|
+
|
|
57158
|
+
|
|
57159
|
+
/**
|
|
57160
|
+
* Static version of the {@see toObject} method.
|
|
57161
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
57162
|
+
* the JSPB instance for transitional soy proto support:
|
|
57163
|
+
* http://goto/soy-param-migration
|
|
57164
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} msg The msg instance to transform.
|
|
57165
|
+
* @return {!Object}
|
|
57166
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57167
|
+
*/
|
|
57168
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.toObject = function(includeInstance, msg) {
|
|
56849
57169
|
var f, obj = {
|
|
56850
57170
|
tokenId: msg.getTokenId_asB64(),
|
|
56851
|
-
|
|
57171
|
+
contractInfo: (f = msg.getContractInfo()) && proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.toObject(includeInstance, f),
|
|
57172
|
+
identityId: msg.getIdentityId_asB64(),
|
|
57173
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
56852
57174
|
};
|
|
56853
57175
|
|
|
56854
57176
|
if (includeInstance) {
|
|
@@ -56862,23 +57184,23 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRe
|
|
|
56862
57184
|
/**
|
|
56863
57185
|
* Deserializes binary data (in protobuf wire format).
|
|
56864
57186
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
56865
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57187
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0}
|
|
56866
57188
|
*/
|
|
56867
|
-
proto.org.dash.platform.dapi.v0.
|
|
57189
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.deserializeBinary = function(bytes) {
|
|
56868
57190
|
var reader = new jspb.BinaryReader(bytes);
|
|
56869
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
56870
|
-
return proto.org.dash.platform.dapi.v0.
|
|
57191
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0;
|
|
57192
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
56871
57193
|
};
|
|
56872
57194
|
|
|
56873
57195
|
|
|
56874
57196
|
/**
|
|
56875
57197
|
* Deserializes binary data (in protobuf wire format) from the
|
|
56876
57198
|
* given reader into the given message object.
|
|
56877
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57199
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} msg The message object to deserialize into.
|
|
56878
57200
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
56879
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57201
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0}
|
|
56880
57202
|
*/
|
|
56881
|
-
proto.org.dash.platform.dapi.v0.
|
|
57203
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
56882
57204
|
while (reader.nextField()) {
|
|
56883
57205
|
if (reader.isEndGroup()) {
|
|
56884
57206
|
break;
|
|
@@ -56890,6 +57212,15 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRe
|
|
|
56890
57212
|
msg.setTokenId(value);
|
|
56891
57213
|
break;
|
|
56892
57214
|
case 2:
|
|
57215
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo;
|
|
57216
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.deserializeBinaryFromReader);
|
|
57217
|
+
msg.setContractInfo(value);
|
|
57218
|
+
break;
|
|
57219
|
+
case 4:
|
|
57220
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
57221
|
+
msg.setIdentityId(value);
|
|
57222
|
+
break;
|
|
57223
|
+
case 5:
|
|
56893
57224
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
56894
57225
|
msg.setProve(value);
|
|
56895
57226
|
break;
|
|
@@ -56906,9 +57237,9 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRe
|
|
|
56906
57237
|
* Serializes the message to binary data (in protobuf wire format).
|
|
56907
57238
|
* @return {!Uint8Array}
|
|
56908
57239
|
*/
|
|
56909
|
-
proto.org.dash.platform.dapi.v0.
|
|
57240
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.serializeBinary = function() {
|
|
56910
57241
|
var writer = new jspb.BinaryWriter();
|
|
56911
|
-
proto.org.dash.platform.dapi.v0.
|
|
57242
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.serializeBinaryToWriter(this, writer);
|
|
56912
57243
|
return writer.getResultBuffer();
|
|
56913
57244
|
};
|
|
56914
57245
|
|
|
@@ -56916,11 +57247,11 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRe
|
|
|
56916
57247
|
/**
|
|
56917
57248
|
* Serializes the given message to binary data (in protobuf wire
|
|
56918
57249
|
* format), writing to the given BinaryWriter.
|
|
56919
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57250
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} message
|
|
56920
57251
|
* @param {!jspb.BinaryWriter} writer
|
|
56921
57252
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56922
57253
|
*/
|
|
56923
|
-
proto.org.dash.platform.dapi.v0.
|
|
57254
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
56924
57255
|
var f = undefined;
|
|
56925
57256
|
f = message.getTokenId_asU8();
|
|
56926
57257
|
if (f.length > 0) {
|
|
@@ -56929,10 +57260,25 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRe
|
|
|
56929
57260
|
f
|
|
56930
57261
|
);
|
|
56931
57262
|
}
|
|
57263
|
+
f = message.getContractInfo();
|
|
57264
|
+
if (f != null) {
|
|
57265
|
+
writer.writeMessage(
|
|
57266
|
+
2,
|
|
57267
|
+
f,
|
|
57268
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo.serializeBinaryToWriter
|
|
57269
|
+
);
|
|
57270
|
+
}
|
|
57271
|
+
f = message.getIdentityId_asU8();
|
|
57272
|
+
if (f.length > 0) {
|
|
57273
|
+
writer.writeBytes(
|
|
57274
|
+
4,
|
|
57275
|
+
f
|
|
57276
|
+
);
|
|
57277
|
+
}
|
|
56932
57278
|
f = message.getProve();
|
|
56933
57279
|
if (f) {
|
|
56934
57280
|
writer.writeBool(
|
|
56935
|
-
|
|
57281
|
+
5,
|
|
56936
57282
|
f
|
|
56937
57283
|
);
|
|
56938
57284
|
}
|
|
@@ -56943,7 +57289,7 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRe
|
|
|
56943
57289
|
* optional bytes token_id = 1;
|
|
56944
57290
|
* @return {string}
|
|
56945
57291
|
*/
|
|
56946
|
-
proto.org.dash.platform.dapi.v0.
|
|
57292
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getTokenId = function() {
|
|
56947
57293
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
56948
57294
|
};
|
|
56949
57295
|
|
|
@@ -56953,7 +57299,7 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRe
|
|
|
56953
57299
|
* This is a type-conversion wrapper around `getTokenId()`
|
|
56954
57300
|
* @return {string}
|
|
56955
57301
|
*/
|
|
56956
|
-
proto.org.dash.platform.dapi.v0.
|
|
57302
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getTokenId_asB64 = function() {
|
|
56957
57303
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
56958
57304
|
this.getTokenId()));
|
|
56959
57305
|
};
|
|
@@ -56966,7 +57312,7 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRe
|
|
|
56966
57312
|
* This is a type-conversion wrapper around `getTokenId()`
|
|
56967
57313
|
* @return {!Uint8Array}
|
|
56968
57314
|
*/
|
|
56969
|
-
proto.org.dash.platform.dapi.v0.
|
|
57315
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getTokenId_asU8 = function() {
|
|
56970
57316
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
56971
57317
|
this.getTokenId()));
|
|
56972
57318
|
};
|
|
@@ -56974,55 +57320,134 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRe
|
|
|
56974
57320
|
|
|
56975
57321
|
/**
|
|
56976
57322
|
* @param {!(string|Uint8Array)} value
|
|
56977
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57323
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} returns this
|
|
56978
57324
|
*/
|
|
56979
|
-
proto.org.dash.platform.dapi.v0.
|
|
57325
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.setTokenId = function(value) {
|
|
56980
57326
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
56981
57327
|
};
|
|
56982
57328
|
|
|
56983
57329
|
|
|
56984
57330
|
/**
|
|
56985
|
-
* optional
|
|
57331
|
+
* optional ContractTokenInfo contract_info = 2;
|
|
57332
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo}
|
|
57333
|
+
*/
|
|
57334
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getContractInfo = function() {
|
|
57335
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo} */ (
|
|
57336
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo, 2));
|
|
57337
|
+
};
|
|
57338
|
+
|
|
57339
|
+
|
|
57340
|
+
/**
|
|
57341
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo|undefined} value
|
|
57342
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} returns this
|
|
57343
|
+
*/
|
|
57344
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.setContractInfo = function(value) {
|
|
57345
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
57346
|
+
};
|
|
57347
|
+
|
|
57348
|
+
|
|
57349
|
+
/**
|
|
57350
|
+
* Clears the message field making it undefined.
|
|
57351
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} returns this
|
|
57352
|
+
*/
|
|
57353
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.clearContractInfo = function() {
|
|
57354
|
+
return this.setContractInfo(undefined);
|
|
57355
|
+
};
|
|
57356
|
+
|
|
57357
|
+
|
|
57358
|
+
/**
|
|
57359
|
+
* Returns whether this field is set.
|
|
56986
57360
|
* @return {boolean}
|
|
56987
57361
|
*/
|
|
56988
|
-
proto.org.dash.platform.dapi.v0.
|
|
56989
|
-
return
|
|
57362
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.hasContractInfo = function() {
|
|
57363
|
+
return jspb.Message.getField(this, 2) != null;
|
|
57364
|
+
};
|
|
57365
|
+
|
|
57366
|
+
|
|
57367
|
+
/**
|
|
57368
|
+
* optional bytes identity_id = 4;
|
|
57369
|
+
* @return {string}
|
|
57370
|
+
*/
|
|
57371
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getIdentityId = function() {
|
|
57372
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
57373
|
+
};
|
|
57374
|
+
|
|
57375
|
+
|
|
57376
|
+
/**
|
|
57377
|
+
* optional bytes identity_id = 4;
|
|
57378
|
+
* This is a type-conversion wrapper around `getIdentityId()`
|
|
57379
|
+
* @return {string}
|
|
57380
|
+
*/
|
|
57381
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getIdentityId_asB64 = function() {
|
|
57382
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
57383
|
+
this.getIdentityId()));
|
|
57384
|
+
};
|
|
57385
|
+
|
|
57386
|
+
|
|
57387
|
+
/**
|
|
57388
|
+
* optional bytes identity_id = 4;
|
|
57389
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
57390
|
+
* @see http://caniuse.com/Uint8Array
|
|
57391
|
+
* This is a type-conversion wrapper around `getIdentityId()`
|
|
57392
|
+
* @return {!Uint8Array}
|
|
57393
|
+
*/
|
|
57394
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getIdentityId_asU8 = function() {
|
|
57395
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
57396
|
+
this.getIdentityId()));
|
|
57397
|
+
};
|
|
57398
|
+
|
|
57399
|
+
|
|
57400
|
+
/**
|
|
57401
|
+
* @param {!(string|Uint8Array)} value
|
|
57402
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} returns this
|
|
57403
|
+
*/
|
|
57404
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.setIdentityId = function(value) {
|
|
57405
|
+
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
57406
|
+
};
|
|
57407
|
+
|
|
57408
|
+
|
|
57409
|
+
/**
|
|
57410
|
+
* optional bool prove = 5;
|
|
57411
|
+
* @return {boolean}
|
|
57412
|
+
*/
|
|
57413
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.getProve = function() {
|
|
57414
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
56990
57415
|
};
|
|
56991
57416
|
|
|
56992
57417
|
|
|
56993
57418
|
/**
|
|
56994
57419
|
* @param {boolean} value
|
|
56995
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57420
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} returns this
|
|
56996
57421
|
*/
|
|
56997
|
-
proto.org.dash.platform.dapi.v0.
|
|
56998
|
-
return jspb.Message.setProto3BooleanField(this,
|
|
57422
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0.prototype.setProve = function(value) {
|
|
57423
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
56999
57424
|
};
|
|
57000
57425
|
|
|
57001
57426
|
|
|
57002
57427
|
/**
|
|
57003
|
-
* optional
|
|
57004
|
-
* @return {?proto.org.dash.platform.dapi.v0.
|
|
57428
|
+
* optional GetTokenPerpetualDistributionLastClaimRequestV0 v0 = 1;
|
|
57429
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0}
|
|
57005
57430
|
*/
|
|
57006
|
-
proto.org.dash.platform.dapi.v0.
|
|
57007
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.
|
|
57008
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.
|
|
57431
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.getV0 = function() {
|
|
57432
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0} */ (
|
|
57433
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0, 1));
|
|
57009
57434
|
};
|
|
57010
57435
|
|
|
57011
57436
|
|
|
57012
57437
|
/**
|
|
57013
|
-
* @param {?proto.org.dash.platform.dapi.v0.
|
|
57014
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57438
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0|undefined} value
|
|
57439
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest} returns this
|
|
57015
57440
|
*/
|
|
57016
|
-
proto.org.dash.platform.dapi.v0.
|
|
57017
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.
|
|
57441
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.setV0 = function(value) {
|
|
57442
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.oneofGroups_[0], value);
|
|
57018
57443
|
};
|
|
57019
57444
|
|
|
57020
57445
|
|
|
57021
57446
|
/**
|
|
57022
57447
|
* Clears the message field making it undefined.
|
|
57023
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57448
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest} returns this
|
|
57024
57449
|
*/
|
|
57025
|
-
proto.org.dash.platform.dapi.v0.
|
|
57450
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.clearV0 = function() {
|
|
57026
57451
|
return this.setV0(undefined);
|
|
57027
57452
|
};
|
|
57028
57453
|
|
|
@@ -57031,7 +57456,7 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.clearV0 = f
|
|
|
57031
57456
|
* Returns whether this field is set.
|
|
57032
57457
|
* @return {boolean}
|
|
57033
57458
|
*/
|
|
57034
|
-
proto.org.dash.platform.dapi.v0.
|
|
57459
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.prototype.hasV0 = function() {
|
|
57035
57460
|
return jspb.Message.getField(this, 1) != null;
|
|
57036
57461
|
};
|
|
57037
57462
|
|
|
@@ -57045,21 +57470,21 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.hasV0 = fun
|
|
|
57045
57470
|
* @private {!Array<!Array<number>>}
|
|
57046
57471
|
* @const
|
|
57047
57472
|
*/
|
|
57048
|
-
proto.org.dash.platform.dapi.v0.
|
|
57473
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.oneofGroups_ = [[1]];
|
|
57049
57474
|
|
|
57050
57475
|
/**
|
|
57051
57476
|
* @enum {number}
|
|
57052
57477
|
*/
|
|
57053
|
-
proto.org.dash.platform.dapi.v0.
|
|
57478
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.VersionCase = {
|
|
57054
57479
|
VERSION_NOT_SET: 0,
|
|
57055
57480
|
V0: 1
|
|
57056
57481
|
};
|
|
57057
57482
|
|
|
57058
57483
|
/**
|
|
57059
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
57484
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.VersionCase}
|
|
57060
57485
|
*/
|
|
57061
|
-
proto.org.dash.platform.dapi.v0.
|
|
57062
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
57486
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.getVersionCase = function() {
|
|
57487
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.oneofGroups_[0]));
|
|
57063
57488
|
};
|
|
57064
57489
|
|
|
57065
57490
|
|
|
@@ -57077,8 +57502,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
57077
57502
|
* http://goto/soy-param-migration
|
|
57078
57503
|
* @return {!Object}
|
|
57079
57504
|
*/
|
|
57080
|
-
proto.org.dash.platform.dapi.v0.
|
|
57081
|
-
return proto.org.dash.platform.dapi.v0.
|
|
57505
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.toObject = function(opt_includeInstance) {
|
|
57506
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.toObject(opt_includeInstance, this);
|
|
57082
57507
|
};
|
|
57083
57508
|
|
|
57084
57509
|
|
|
@@ -57087,13 +57512,13 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.prototype.toObject =
|
|
|
57087
57512
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
57088
57513
|
* the JSPB instance for transitional soy proto support:
|
|
57089
57514
|
* http://goto/soy-param-migration
|
|
57090
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57515
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse} msg The msg instance to transform.
|
|
57091
57516
|
* @return {!Object}
|
|
57092
57517
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57093
57518
|
*/
|
|
57094
|
-
proto.org.dash.platform.dapi.v0.
|
|
57519
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.toObject = function(includeInstance, msg) {
|
|
57095
57520
|
var f, obj = {
|
|
57096
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.
|
|
57521
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.toObject(includeInstance, f)
|
|
57097
57522
|
};
|
|
57098
57523
|
|
|
57099
57524
|
if (includeInstance) {
|
|
@@ -57107,23 +57532,23 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.toObject = function(
|
|
|
57107
57532
|
/**
|
|
57108
57533
|
* Deserializes binary data (in protobuf wire format).
|
|
57109
57534
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
57110
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57535
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse}
|
|
57111
57536
|
*/
|
|
57112
|
-
proto.org.dash.platform.dapi.v0.
|
|
57537
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.deserializeBinary = function(bytes) {
|
|
57113
57538
|
var reader = new jspb.BinaryReader(bytes);
|
|
57114
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
57115
|
-
return proto.org.dash.platform.dapi.v0.
|
|
57539
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse;
|
|
57540
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.deserializeBinaryFromReader(msg, reader);
|
|
57116
57541
|
};
|
|
57117
57542
|
|
|
57118
57543
|
|
|
57119
57544
|
/**
|
|
57120
57545
|
* Deserializes binary data (in protobuf wire format) from the
|
|
57121
57546
|
* given reader into the given message object.
|
|
57122
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57547
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse} msg The message object to deserialize into.
|
|
57123
57548
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
57124
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57549
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse}
|
|
57125
57550
|
*/
|
|
57126
|
-
proto.org.dash.platform.dapi.v0.
|
|
57551
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
57127
57552
|
while (reader.nextField()) {
|
|
57128
57553
|
if (reader.isEndGroup()) {
|
|
57129
57554
|
break;
|
|
@@ -57131,8 +57556,8 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.deserializeBinaryFro
|
|
|
57131
57556
|
var field = reader.getFieldNumber();
|
|
57132
57557
|
switch (field) {
|
|
57133
57558
|
case 1:
|
|
57134
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
57135
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
57559
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0;
|
|
57560
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.deserializeBinaryFromReader);
|
|
57136
57561
|
msg.setV0(value);
|
|
57137
57562
|
break;
|
|
57138
57563
|
default:
|
|
@@ -57148,9 +57573,9 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.deserializeBinaryFro
|
|
|
57148
57573
|
* Serializes the message to binary data (in protobuf wire format).
|
|
57149
57574
|
* @return {!Uint8Array}
|
|
57150
57575
|
*/
|
|
57151
|
-
proto.org.dash.platform.dapi.v0.
|
|
57576
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.serializeBinary = function() {
|
|
57152
57577
|
var writer = new jspb.BinaryWriter();
|
|
57153
|
-
proto.org.dash.platform.dapi.v0.
|
|
57578
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.serializeBinaryToWriter(this, writer);
|
|
57154
57579
|
return writer.getResultBuffer();
|
|
57155
57580
|
};
|
|
57156
57581
|
|
|
@@ -57158,18 +57583,18 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.prototype.serializeB
|
|
|
57158
57583
|
/**
|
|
57159
57584
|
* Serializes the given message to binary data (in protobuf wire
|
|
57160
57585
|
* format), writing to the given BinaryWriter.
|
|
57161
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57586
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse} message
|
|
57162
57587
|
* @param {!jspb.BinaryWriter} writer
|
|
57163
57588
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57164
57589
|
*/
|
|
57165
|
-
proto.org.dash.platform.dapi.v0.
|
|
57590
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.serializeBinaryToWriter = function(message, writer) {
|
|
57166
57591
|
var f = undefined;
|
|
57167
57592
|
f = message.getV0();
|
|
57168
57593
|
if (f != null) {
|
|
57169
57594
|
writer.writeMessage(
|
|
57170
57595
|
1,
|
|
57171
57596
|
f,
|
|
57172
|
-
proto.org.dash.platform.dapi.v0.
|
|
57597
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.serializeBinaryToWriter
|
|
57173
57598
|
);
|
|
57174
57599
|
}
|
|
57175
57600
|
};
|
|
@@ -57184,22 +57609,22 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.serializeBinaryToWri
|
|
|
57184
57609
|
* @private {!Array<!Array<number>>}
|
|
57185
57610
|
* @const
|
|
57186
57611
|
*/
|
|
57187
|
-
proto.org.dash.platform.dapi.v0.
|
|
57612
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.oneofGroups_ = [[1,2]];
|
|
57188
57613
|
|
|
57189
57614
|
/**
|
|
57190
57615
|
* @enum {number}
|
|
57191
57616
|
*/
|
|
57192
|
-
proto.org.dash.platform.dapi.v0.
|
|
57617
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.ResultCase = {
|
|
57193
57618
|
RESULT_NOT_SET: 0,
|
|
57194
|
-
|
|
57619
|
+
LAST_CLAIM: 1,
|
|
57195
57620
|
PROOF: 2
|
|
57196
57621
|
};
|
|
57197
57622
|
|
|
57198
57623
|
/**
|
|
57199
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
57624
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.ResultCase}
|
|
57200
57625
|
*/
|
|
57201
|
-
proto.org.dash.platform.dapi.v0.
|
|
57202
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
57626
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.getResultCase = function() {
|
|
57627
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.oneofGroups_[0]));
|
|
57203
57628
|
};
|
|
57204
57629
|
|
|
57205
57630
|
|
|
@@ -57217,8 +57642,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
57217
57642
|
* http://goto/soy-param-migration
|
|
57218
57643
|
* @return {!Object}
|
|
57219
57644
|
*/
|
|
57220
|
-
proto.org.dash.platform.dapi.v0.
|
|
57221
|
-
return proto.org.dash.platform.dapi.v0.
|
|
57645
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
57646
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.toObject(opt_includeInstance, this);
|
|
57222
57647
|
};
|
|
57223
57648
|
|
|
57224
57649
|
|
|
@@ -57227,13 +57652,13 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyR
|
|
|
57227
57652
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
57228
57653
|
* the JSPB instance for transitional soy proto support:
|
|
57229
57654
|
* http://goto/soy-param-migration
|
|
57230
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57655
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} msg The msg instance to transform.
|
|
57231
57656
|
* @return {!Object}
|
|
57232
57657
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57233
57658
|
*/
|
|
57234
|
-
proto.org.dash.platform.dapi.v0.
|
|
57659
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.toObject = function(includeInstance, msg) {
|
|
57235
57660
|
var f, obj = {
|
|
57236
|
-
|
|
57661
|
+
lastClaim: (f = msg.getLastClaim()) && proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.toObject(includeInstance, f),
|
|
57237
57662
|
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
57238
57663
|
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
57239
57664
|
};
|
|
@@ -57249,23 +57674,23 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyR
|
|
|
57249
57674
|
/**
|
|
57250
57675
|
* Deserializes binary data (in protobuf wire format).
|
|
57251
57676
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
57252
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57677
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0}
|
|
57253
57678
|
*/
|
|
57254
|
-
proto.org.dash.platform.dapi.v0.
|
|
57679
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.deserializeBinary = function(bytes) {
|
|
57255
57680
|
var reader = new jspb.BinaryReader(bytes);
|
|
57256
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
57257
|
-
return proto.org.dash.platform.dapi.v0.
|
|
57681
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0;
|
|
57682
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
57258
57683
|
};
|
|
57259
57684
|
|
|
57260
57685
|
|
|
57261
57686
|
/**
|
|
57262
57687
|
* Deserializes binary data (in protobuf wire format) from the
|
|
57263
57688
|
* given reader into the given message object.
|
|
57264
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
57689
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} msg The message object to deserialize into.
|
|
57265
57690
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
57266
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
57691
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0}
|
|
57267
57692
|
*/
|
|
57268
|
-
proto.org.dash.platform.dapi.v0.
|
|
57693
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
57269
57694
|
while (reader.nextField()) {
|
|
57270
57695
|
if (reader.isEndGroup()) {
|
|
57271
57696
|
break;
|
|
@@ -57273,9 +57698,1168 @@ proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyR
|
|
|
57273
57698
|
var field = reader.getFieldNumber();
|
|
57274
57699
|
switch (field) {
|
|
57275
57700
|
case 1:
|
|
57276
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
57277
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
57278
|
-
msg.
|
|
57701
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo;
|
|
57702
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.deserializeBinaryFromReader);
|
|
57703
|
+
msg.setLastClaim(value);
|
|
57704
|
+
break;
|
|
57705
|
+
case 2:
|
|
57706
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
57707
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
57708
|
+
msg.setProof(value);
|
|
57709
|
+
break;
|
|
57710
|
+
case 3:
|
|
57711
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
57712
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
57713
|
+
msg.setMetadata(value);
|
|
57714
|
+
break;
|
|
57715
|
+
default:
|
|
57716
|
+
reader.skipField();
|
|
57717
|
+
break;
|
|
57718
|
+
}
|
|
57719
|
+
}
|
|
57720
|
+
return msg;
|
|
57721
|
+
};
|
|
57722
|
+
|
|
57723
|
+
|
|
57724
|
+
/**
|
|
57725
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
57726
|
+
* @return {!Uint8Array}
|
|
57727
|
+
*/
|
|
57728
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.serializeBinary = function() {
|
|
57729
|
+
var writer = new jspb.BinaryWriter();
|
|
57730
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.serializeBinaryToWriter(this, writer);
|
|
57731
|
+
return writer.getResultBuffer();
|
|
57732
|
+
};
|
|
57733
|
+
|
|
57734
|
+
|
|
57735
|
+
/**
|
|
57736
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
57737
|
+
* format), writing to the given BinaryWriter.
|
|
57738
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} message
|
|
57739
|
+
* @param {!jspb.BinaryWriter} writer
|
|
57740
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57741
|
+
*/
|
|
57742
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
57743
|
+
var f = undefined;
|
|
57744
|
+
f = message.getLastClaim();
|
|
57745
|
+
if (f != null) {
|
|
57746
|
+
writer.writeMessage(
|
|
57747
|
+
1,
|
|
57748
|
+
f,
|
|
57749
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.serializeBinaryToWriter
|
|
57750
|
+
);
|
|
57751
|
+
}
|
|
57752
|
+
f = message.getProof();
|
|
57753
|
+
if (f != null) {
|
|
57754
|
+
writer.writeMessage(
|
|
57755
|
+
2,
|
|
57756
|
+
f,
|
|
57757
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
57758
|
+
);
|
|
57759
|
+
}
|
|
57760
|
+
f = message.getMetadata();
|
|
57761
|
+
if (f != null) {
|
|
57762
|
+
writer.writeMessage(
|
|
57763
|
+
3,
|
|
57764
|
+
f,
|
|
57765
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
57766
|
+
);
|
|
57767
|
+
}
|
|
57768
|
+
};
|
|
57769
|
+
|
|
57770
|
+
|
|
57771
|
+
|
|
57772
|
+
/**
|
|
57773
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
57774
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
57775
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
57776
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
57777
|
+
* @private {!Array<!Array<number>>}
|
|
57778
|
+
* @const
|
|
57779
|
+
*/
|
|
57780
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_ = [[1,2,3,4]];
|
|
57781
|
+
|
|
57782
|
+
/**
|
|
57783
|
+
* @enum {number}
|
|
57784
|
+
*/
|
|
57785
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.PaidAtCase = {
|
|
57786
|
+
PAID_AT_NOT_SET: 0,
|
|
57787
|
+
TIMESTAMP_MS: 1,
|
|
57788
|
+
BLOCK_HEIGHT: 2,
|
|
57789
|
+
EPOCH: 3,
|
|
57790
|
+
RAW_BYTES: 4
|
|
57791
|
+
};
|
|
57792
|
+
|
|
57793
|
+
/**
|
|
57794
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.PaidAtCase}
|
|
57795
|
+
*/
|
|
57796
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getPaidAtCase = function() {
|
|
57797
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.PaidAtCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0]));
|
|
57798
|
+
};
|
|
57799
|
+
|
|
57800
|
+
|
|
57801
|
+
|
|
57802
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
57803
|
+
/**
|
|
57804
|
+
* Creates an object representation of this proto.
|
|
57805
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
57806
|
+
* Optional fields that are not set will be set to undefined.
|
|
57807
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57808
|
+
* For the list of reserved names please see:
|
|
57809
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
57810
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
57811
|
+
* JSPB instance for transitional soy proto support:
|
|
57812
|
+
* http://goto/soy-param-migration
|
|
57813
|
+
* @return {!Object}
|
|
57814
|
+
*/
|
|
57815
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.toObject = function(opt_includeInstance) {
|
|
57816
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.toObject(opt_includeInstance, this);
|
|
57817
|
+
};
|
|
57818
|
+
|
|
57819
|
+
|
|
57820
|
+
/**
|
|
57821
|
+
* Static version of the {@see toObject} method.
|
|
57822
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
57823
|
+
* the JSPB instance for transitional soy proto support:
|
|
57824
|
+
* http://goto/soy-param-migration
|
|
57825
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} msg The msg instance to transform.
|
|
57826
|
+
* @return {!Object}
|
|
57827
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57828
|
+
*/
|
|
57829
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.toObject = function(includeInstance, msg) {
|
|
57830
|
+
var f, obj = {
|
|
57831
|
+
timestampMs: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
57832
|
+
blockHeight: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
57833
|
+
epoch: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
57834
|
+
rawBytes: msg.getRawBytes_asB64()
|
|
57835
|
+
};
|
|
57836
|
+
|
|
57837
|
+
if (includeInstance) {
|
|
57838
|
+
obj.$jspbMessageInstance = msg;
|
|
57839
|
+
}
|
|
57840
|
+
return obj;
|
|
57841
|
+
};
|
|
57842
|
+
}
|
|
57843
|
+
|
|
57844
|
+
|
|
57845
|
+
/**
|
|
57846
|
+
* Deserializes binary data (in protobuf wire format).
|
|
57847
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
57848
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo}
|
|
57849
|
+
*/
|
|
57850
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.deserializeBinary = function(bytes) {
|
|
57851
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
57852
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo;
|
|
57853
|
+
return proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.deserializeBinaryFromReader(msg, reader);
|
|
57854
|
+
};
|
|
57855
|
+
|
|
57856
|
+
|
|
57857
|
+
/**
|
|
57858
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
57859
|
+
* given reader into the given message object.
|
|
57860
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} msg The message object to deserialize into.
|
|
57861
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
57862
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo}
|
|
57863
|
+
*/
|
|
57864
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
57865
|
+
while (reader.nextField()) {
|
|
57866
|
+
if (reader.isEndGroup()) {
|
|
57867
|
+
break;
|
|
57868
|
+
}
|
|
57869
|
+
var field = reader.getFieldNumber();
|
|
57870
|
+
switch (field) {
|
|
57871
|
+
case 1:
|
|
57872
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
57873
|
+
msg.setTimestampMs(value);
|
|
57874
|
+
break;
|
|
57875
|
+
case 2:
|
|
57876
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
57877
|
+
msg.setBlockHeight(value);
|
|
57878
|
+
break;
|
|
57879
|
+
case 3:
|
|
57880
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
57881
|
+
msg.setEpoch(value);
|
|
57882
|
+
break;
|
|
57883
|
+
case 4:
|
|
57884
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
57885
|
+
msg.setRawBytes(value);
|
|
57886
|
+
break;
|
|
57887
|
+
default:
|
|
57888
|
+
reader.skipField();
|
|
57889
|
+
break;
|
|
57890
|
+
}
|
|
57891
|
+
}
|
|
57892
|
+
return msg;
|
|
57893
|
+
};
|
|
57894
|
+
|
|
57895
|
+
|
|
57896
|
+
/**
|
|
57897
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
57898
|
+
* @return {!Uint8Array}
|
|
57899
|
+
*/
|
|
57900
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.serializeBinary = function() {
|
|
57901
|
+
var writer = new jspb.BinaryWriter();
|
|
57902
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.serializeBinaryToWriter(this, writer);
|
|
57903
|
+
return writer.getResultBuffer();
|
|
57904
|
+
};
|
|
57905
|
+
|
|
57906
|
+
|
|
57907
|
+
/**
|
|
57908
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
57909
|
+
* format), writing to the given BinaryWriter.
|
|
57910
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} message
|
|
57911
|
+
* @param {!jspb.BinaryWriter} writer
|
|
57912
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
57913
|
+
*/
|
|
57914
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.serializeBinaryToWriter = function(message, writer) {
|
|
57915
|
+
var f = undefined;
|
|
57916
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
57917
|
+
if (f != null) {
|
|
57918
|
+
writer.writeUint64String(
|
|
57919
|
+
1,
|
|
57920
|
+
f
|
|
57921
|
+
);
|
|
57922
|
+
}
|
|
57923
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
57924
|
+
if (f != null) {
|
|
57925
|
+
writer.writeUint64String(
|
|
57926
|
+
2,
|
|
57927
|
+
f
|
|
57928
|
+
);
|
|
57929
|
+
}
|
|
57930
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
57931
|
+
if (f != null) {
|
|
57932
|
+
writer.writeUint32(
|
|
57933
|
+
3,
|
|
57934
|
+
f
|
|
57935
|
+
);
|
|
57936
|
+
}
|
|
57937
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 4));
|
|
57938
|
+
if (f != null) {
|
|
57939
|
+
writer.writeBytes(
|
|
57940
|
+
4,
|
|
57941
|
+
f
|
|
57942
|
+
);
|
|
57943
|
+
}
|
|
57944
|
+
};
|
|
57945
|
+
|
|
57946
|
+
|
|
57947
|
+
/**
|
|
57948
|
+
* optional uint64 timestamp_ms = 1;
|
|
57949
|
+
* @return {string}
|
|
57950
|
+
*/
|
|
57951
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getTimestampMs = function() {
|
|
57952
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
|
|
57953
|
+
};
|
|
57954
|
+
|
|
57955
|
+
|
|
57956
|
+
/**
|
|
57957
|
+
* @param {string} value
|
|
57958
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
|
|
57959
|
+
*/
|
|
57960
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.setTimestampMs = function(value) {
|
|
57961
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], value);
|
|
57962
|
+
};
|
|
57963
|
+
|
|
57964
|
+
|
|
57965
|
+
/**
|
|
57966
|
+
* Clears the field making it undefined.
|
|
57967
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
|
|
57968
|
+
*/
|
|
57969
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.clearTimestampMs = function() {
|
|
57970
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], undefined);
|
|
57971
|
+
};
|
|
57972
|
+
|
|
57973
|
+
|
|
57974
|
+
/**
|
|
57975
|
+
* Returns whether this field is set.
|
|
57976
|
+
* @return {boolean}
|
|
57977
|
+
*/
|
|
57978
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.hasTimestampMs = function() {
|
|
57979
|
+
return jspb.Message.getField(this, 1) != null;
|
|
57980
|
+
};
|
|
57981
|
+
|
|
57982
|
+
|
|
57983
|
+
/**
|
|
57984
|
+
* optional uint64 block_height = 2;
|
|
57985
|
+
* @return {string}
|
|
57986
|
+
*/
|
|
57987
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getBlockHeight = function() {
|
|
57988
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
57989
|
+
};
|
|
57990
|
+
|
|
57991
|
+
|
|
57992
|
+
/**
|
|
57993
|
+
* @param {string} value
|
|
57994
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
|
|
57995
|
+
*/
|
|
57996
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.setBlockHeight = function(value) {
|
|
57997
|
+
return jspb.Message.setOneofField(this, 2, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], value);
|
|
57998
|
+
};
|
|
57999
|
+
|
|
58000
|
+
|
|
58001
|
+
/**
|
|
58002
|
+
* Clears the field making it undefined.
|
|
58003
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
|
|
58004
|
+
*/
|
|
58005
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.clearBlockHeight = function() {
|
|
58006
|
+
return jspb.Message.setOneofField(this, 2, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], undefined);
|
|
58007
|
+
};
|
|
58008
|
+
|
|
58009
|
+
|
|
58010
|
+
/**
|
|
58011
|
+
* Returns whether this field is set.
|
|
58012
|
+
* @return {boolean}
|
|
58013
|
+
*/
|
|
58014
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.hasBlockHeight = function() {
|
|
58015
|
+
return jspb.Message.getField(this, 2) != null;
|
|
58016
|
+
};
|
|
58017
|
+
|
|
58018
|
+
|
|
58019
|
+
/**
|
|
58020
|
+
* optional uint32 epoch = 3;
|
|
58021
|
+
* @return {number}
|
|
58022
|
+
*/
|
|
58023
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getEpoch = function() {
|
|
58024
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
58025
|
+
};
|
|
58026
|
+
|
|
58027
|
+
|
|
58028
|
+
/**
|
|
58029
|
+
* @param {number} value
|
|
58030
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
|
|
58031
|
+
*/
|
|
58032
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.setEpoch = function(value) {
|
|
58033
|
+
return jspb.Message.setOneofField(this, 3, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], value);
|
|
58034
|
+
};
|
|
58035
|
+
|
|
58036
|
+
|
|
58037
|
+
/**
|
|
58038
|
+
* Clears the field making it undefined.
|
|
58039
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
|
|
58040
|
+
*/
|
|
58041
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.clearEpoch = function() {
|
|
58042
|
+
return jspb.Message.setOneofField(this, 3, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], undefined);
|
|
58043
|
+
};
|
|
58044
|
+
|
|
58045
|
+
|
|
58046
|
+
/**
|
|
58047
|
+
* Returns whether this field is set.
|
|
58048
|
+
* @return {boolean}
|
|
58049
|
+
*/
|
|
58050
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.hasEpoch = function() {
|
|
58051
|
+
return jspb.Message.getField(this, 3) != null;
|
|
58052
|
+
};
|
|
58053
|
+
|
|
58054
|
+
|
|
58055
|
+
/**
|
|
58056
|
+
* optional bytes raw_bytes = 4;
|
|
58057
|
+
* @return {string}
|
|
58058
|
+
*/
|
|
58059
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getRawBytes = function() {
|
|
58060
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
58061
|
+
};
|
|
58062
|
+
|
|
58063
|
+
|
|
58064
|
+
/**
|
|
58065
|
+
* optional bytes raw_bytes = 4;
|
|
58066
|
+
* This is a type-conversion wrapper around `getRawBytes()`
|
|
58067
|
+
* @return {string}
|
|
58068
|
+
*/
|
|
58069
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getRawBytes_asB64 = function() {
|
|
58070
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
58071
|
+
this.getRawBytes()));
|
|
58072
|
+
};
|
|
58073
|
+
|
|
58074
|
+
|
|
58075
|
+
/**
|
|
58076
|
+
* optional bytes raw_bytes = 4;
|
|
58077
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
58078
|
+
* @see http://caniuse.com/Uint8Array
|
|
58079
|
+
* This is a type-conversion wrapper around `getRawBytes()`
|
|
58080
|
+
* @return {!Uint8Array}
|
|
58081
|
+
*/
|
|
58082
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.getRawBytes_asU8 = function() {
|
|
58083
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
58084
|
+
this.getRawBytes()));
|
|
58085
|
+
};
|
|
58086
|
+
|
|
58087
|
+
|
|
58088
|
+
/**
|
|
58089
|
+
* @param {!(string|Uint8Array)} value
|
|
58090
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
|
|
58091
|
+
*/
|
|
58092
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.setRawBytes = function(value) {
|
|
58093
|
+
return jspb.Message.setOneofField(this, 4, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], value);
|
|
58094
|
+
};
|
|
58095
|
+
|
|
58096
|
+
|
|
58097
|
+
/**
|
|
58098
|
+
* Clears the field making it undefined.
|
|
58099
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} returns this
|
|
58100
|
+
*/
|
|
58101
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.clearRawBytes = function() {
|
|
58102
|
+
return jspb.Message.setOneofField(this, 4, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.oneofGroups_[0], undefined);
|
|
58103
|
+
};
|
|
58104
|
+
|
|
58105
|
+
|
|
58106
|
+
/**
|
|
58107
|
+
* Returns whether this field is set.
|
|
58108
|
+
* @return {boolean}
|
|
58109
|
+
*/
|
|
58110
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo.prototype.hasRawBytes = function() {
|
|
58111
|
+
return jspb.Message.getField(this, 4) != null;
|
|
58112
|
+
};
|
|
58113
|
+
|
|
58114
|
+
|
|
58115
|
+
/**
|
|
58116
|
+
* optional LastClaimInfo last_claim = 1;
|
|
58117
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo}
|
|
58118
|
+
*/
|
|
58119
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.getLastClaim = function() {
|
|
58120
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo} */ (
|
|
58121
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo, 1));
|
|
58122
|
+
};
|
|
58123
|
+
|
|
58124
|
+
|
|
58125
|
+
/**
|
|
58126
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo|undefined} value
|
|
58127
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
|
|
58128
|
+
*/
|
|
58129
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.setLastClaim = function(value) {
|
|
58130
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.oneofGroups_[0], value);
|
|
58131
|
+
};
|
|
58132
|
+
|
|
58133
|
+
|
|
58134
|
+
/**
|
|
58135
|
+
* Clears the message field making it undefined.
|
|
58136
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
|
|
58137
|
+
*/
|
|
58138
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.clearLastClaim = function() {
|
|
58139
|
+
return this.setLastClaim(undefined);
|
|
58140
|
+
};
|
|
58141
|
+
|
|
58142
|
+
|
|
58143
|
+
/**
|
|
58144
|
+
* Returns whether this field is set.
|
|
58145
|
+
* @return {boolean}
|
|
58146
|
+
*/
|
|
58147
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.hasLastClaim = function() {
|
|
58148
|
+
return jspb.Message.getField(this, 1) != null;
|
|
58149
|
+
};
|
|
58150
|
+
|
|
58151
|
+
|
|
58152
|
+
/**
|
|
58153
|
+
* optional Proof proof = 2;
|
|
58154
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
58155
|
+
*/
|
|
58156
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.getProof = function() {
|
|
58157
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
58158
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
58159
|
+
};
|
|
58160
|
+
|
|
58161
|
+
|
|
58162
|
+
/**
|
|
58163
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
58164
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
|
|
58165
|
+
*/
|
|
58166
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.setProof = function(value) {
|
|
58167
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.oneofGroups_[0], value);
|
|
58168
|
+
};
|
|
58169
|
+
|
|
58170
|
+
|
|
58171
|
+
/**
|
|
58172
|
+
* Clears the message field making it undefined.
|
|
58173
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
|
|
58174
|
+
*/
|
|
58175
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.clearProof = function() {
|
|
58176
|
+
return this.setProof(undefined);
|
|
58177
|
+
};
|
|
58178
|
+
|
|
58179
|
+
|
|
58180
|
+
/**
|
|
58181
|
+
* Returns whether this field is set.
|
|
58182
|
+
* @return {boolean}
|
|
58183
|
+
*/
|
|
58184
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.hasProof = function() {
|
|
58185
|
+
return jspb.Message.getField(this, 2) != null;
|
|
58186
|
+
};
|
|
58187
|
+
|
|
58188
|
+
|
|
58189
|
+
/**
|
|
58190
|
+
* optional ResponseMetadata metadata = 3;
|
|
58191
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
58192
|
+
*/
|
|
58193
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.getMetadata = function() {
|
|
58194
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
58195
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
58196
|
+
};
|
|
58197
|
+
|
|
58198
|
+
|
|
58199
|
+
/**
|
|
58200
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
58201
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
|
|
58202
|
+
*/
|
|
58203
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.setMetadata = function(value) {
|
|
58204
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
58205
|
+
};
|
|
58206
|
+
|
|
58207
|
+
|
|
58208
|
+
/**
|
|
58209
|
+
* Clears the message field making it undefined.
|
|
58210
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} returns this
|
|
58211
|
+
*/
|
|
58212
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.clearMetadata = function() {
|
|
58213
|
+
return this.setMetadata(undefined);
|
|
58214
|
+
};
|
|
58215
|
+
|
|
58216
|
+
|
|
58217
|
+
/**
|
|
58218
|
+
* Returns whether this field is set.
|
|
58219
|
+
* @return {boolean}
|
|
58220
|
+
*/
|
|
58221
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.prototype.hasMetadata = function() {
|
|
58222
|
+
return jspb.Message.getField(this, 3) != null;
|
|
58223
|
+
};
|
|
58224
|
+
|
|
58225
|
+
|
|
58226
|
+
/**
|
|
58227
|
+
* optional GetTokenPerpetualDistributionLastClaimResponseV0 v0 = 1;
|
|
58228
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0}
|
|
58229
|
+
*/
|
|
58230
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.getV0 = function() {
|
|
58231
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0} */ (
|
|
58232
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0, 1));
|
|
58233
|
+
};
|
|
58234
|
+
|
|
58235
|
+
|
|
58236
|
+
/**
|
|
58237
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0|undefined} value
|
|
58238
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse} returns this
|
|
58239
|
+
*/
|
|
58240
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.setV0 = function(value) {
|
|
58241
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.oneofGroups_[0], value);
|
|
58242
|
+
};
|
|
58243
|
+
|
|
58244
|
+
|
|
58245
|
+
/**
|
|
58246
|
+
* Clears the message field making it undefined.
|
|
58247
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse} returns this
|
|
58248
|
+
*/
|
|
58249
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.clearV0 = function() {
|
|
58250
|
+
return this.setV0(undefined);
|
|
58251
|
+
};
|
|
58252
|
+
|
|
58253
|
+
|
|
58254
|
+
/**
|
|
58255
|
+
* Returns whether this field is set.
|
|
58256
|
+
* @return {boolean}
|
|
58257
|
+
*/
|
|
58258
|
+
proto.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.prototype.hasV0 = function() {
|
|
58259
|
+
return jspb.Message.getField(this, 1) != null;
|
|
58260
|
+
};
|
|
58261
|
+
|
|
58262
|
+
|
|
58263
|
+
|
|
58264
|
+
/**
|
|
58265
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
58266
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
58267
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
58268
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
58269
|
+
* @private {!Array<!Array<number>>}
|
|
58270
|
+
* @const
|
|
58271
|
+
*/
|
|
58272
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.oneofGroups_ = [[1]];
|
|
58273
|
+
|
|
58274
|
+
/**
|
|
58275
|
+
* @enum {number}
|
|
58276
|
+
*/
|
|
58277
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.VersionCase = {
|
|
58278
|
+
VERSION_NOT_SET: 0,
|
|
58279
|
+
V0: 1
|
|
58280
|
+
};
|
|
58281
|
+
|
|
58282
|
+
/**
|
|
58283
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.VersionCase}
|
|
58284
|
+
*/
|
|
58285
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.getVersionCase = function() {
|
|
58286
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.oneofGroups_[0]));
|
|
58287
|
+
};
|
|
58288
|
+
|
|
58289
|
+
|
|
58290
|
+
|
|
58291
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58292
|
+
/**
|
|
58293
|
+
* Creates an object representation of this proto.
|
|
58294
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
58295
|
+
* Optional fields that are not set will be set to undefined.
|
|
58296
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
58297
|
+
* For the list of reserved names please see:
|
|
58298
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
58299
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
58300
|
+
* JSPB instance for transitional soy proto support:
|
|
58301
|
+
* http://goto/soy-param-migration
|
|
58302
|
+
* @return {!Object}
|
|
58303
|
+
*/
|
|
58304
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.toObject = function(opt_includeInstance) {
|
|
58305
|
+
return proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.toObject(opt_includeInstance, this);
|
|
58306
|
+
};
|
|
58307
|
+
|
|
58308
|
+
|
|
58309
|
+
/**
|
|
58310
|
+
* Static version of the {@see toObject} method.
|
|
58311
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
58312
|
+
* the JSPB instance for transitional soy proto support:
|
|
58313
|
+
* http://goto/soy-param-migration
|
|
58314
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest} msg The msg instance to transform.
|
|
58315
|
+
* @return {!Object}
|
|
58316
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
58317
|
+
*/
|
|
58318
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.toObject = function(includeInstance, msg) {
|
|
58319
|
+
var f, obj = {
|
|
58320
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.toObject(includeInstance, f)
|
|
58321
|
+
};
|
|
58322
|
+
|
|
58323
|
+
if (includeInstance) {
|
|
58324
|
+
obj.$jspbMessageInstance = msg;
|
|
58325
|
+
}
|
|
58326
|
+
return obj;
|
|
58327
|
+
};
|
|
58328
|
+
}
|
|
58329
|
+
|
|
58330
|
+
|
|
58331
|
+
/**
|
|
58332
|
+
* Deserializes binary data (in protobuf wire format).
|
|
58333
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
58334
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest}
|
|
58335
|
+
*/
|
|
58336
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.deserializeBinary = function(bytes) {
|
|
58337
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
58338
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest;
|
|
58339
|
+
return proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.deserializeBinaryFromReader(msg, reader);
|
|
58340
|
+
};
|
|
58341
|
+
|
|
58342
|
+
|
|
58343
|
+
/**
|
|
58344
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
58345
|
+
* given reader into the given message object.
|
|
58346
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest} msg The message object to deserialize into.
|
|
58347
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
58348
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest}
|
|
58349
|
+
*/
|
|
58350
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
58351
|
+
while (reader.nextField()) {
|
|
58352
|
+
if (reader.isEndGroup()) {
|
|
58353
|
+
break;
|
|
58354
|
+
}
|
|
58355
|
+
var field = reader.getFieldNumber();
|
|
58356
|
+
switch (field) {
|
|
58357
|
+
case 1:
|
|
58358
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0;
|
|
58359
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.deserializeBinaryFromReader);
|
|
58360
|
+
msg.setV0(value);
|
|
58361
|
+
break;
|
|
58362
|
+
default:
|
|
58363
|
+
reader.skipField();
|
|
58364
|
+
break;
|
|
58365
|
+
}
|
|
58366
|
+
}
|
|
58367
|
+
return msg;
|
|
58368
|
+
};
|
|
58369
|
+
|
|
58370
|
+
|
|
58371
|
+
/**
|
|
58372
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
58373
|
+
* @return {!Uint8Array}
|
|
58374
|
+
*/
|
|
58375
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.serializeBinary = function() {
|
|
58376
|
+
var writer = new jspb.BinaryWriter();
|
|
58377
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.serializeBinaryToWriter(this, writer);
|
|
58378
|
+
return writer.getResultBuffer();
|
|
58379
|
+
};
|
|
58380
|
+
|
|
58381
|
+
|
|
58382
|
+
/**
|
|
58383
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
58384
|
+
* format), writing to the given BinaryWriter.
|
|
58385
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest} message
|
|
58386
|
+
* @param {!jspb.BinaryWriter} writer
|
|
58387
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
58388
|
+
*/
|
|
58389
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.serializeBinaryToWriter = function(message, writer) {
|
|
58390
|
+
var f = undefined;
|
|
58391
|
+
f = message.getV0();
|
|
58392
|
+
if (f != null) {
|
|
58393
|
+
writer.writeMessage(
|
|
58394
|
+
1,
|
|
58395
|
+
f,
|
|
58396
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.serializeBinaryToWriter
|
|
58397
|
+
);
|
|
58398
|
+
}
|
|
58399
|
+
};
|
|
58400
|
+
|
|
58401
|
+
|
|
58402
|
+
|
|
58403
|
+
|
|
58404
|
+
|
|
58405
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58406
|
+
/**
|
|
58407
|
+
* Creates an object representation of this proto.
|
|
58408
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
58409
|
+
* Optional fields that are not set will be set to undefined.
|
|
58410
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
58411
|
+
* For the list of reserved names please see:
|
|
58412
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
58413
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
58414
|
+
* JSPB instance for transitional soy proto support:
|
|
58415
|
+
* http://goto/soy-param-migration
|
|
58416
|
+
* @return {!Object}
|
|
58417
|
+
*/
|
|
58418
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
58419
|
+
return proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.toObject(opt_includeInstance, this);
|
|
58420
|
+
};
|
|
58421
|
+
|
|
58422
|
+
|
|
58423
|
+
/**
|
|
58424
|
+
* Static version of the {@see toObject} method.
|
|
58425
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
58426
|
+
* the JSPB instance for transitional soy proto support:
|
|
58427
|
+
* http://goto/soy-param-migration
|
|
58428
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0} msg The msg instance to transform.
|
|
58429
|
+
* @return {!Object}
|
|
58430
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
58431
|
+
*/
|
|
58432
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.toObject = function(includeInstance, msg) {
|
|
58433
|
+
var f, obj = {
|
|
58434
|
+
tokenId: msg.getTokenId_asB64(),
|
|
58435
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
58436
|
+
};
|
|
58437
|
+
|
|
58438
|
+
if (includeInstance) {
|
|
58439
|
+
obj.$jspbMessageInstance = msg;
|
|
58440
|
+
}
|
|
58441
|
+
return obj;
|
|
58442
|
+
};
|
|
58443
|
+
}
|
|
58444
|
+
|
|
58445
|
+
|
|
58446
|
+
/**
|
|
58447
|
+
* Deserializes binary data (in protobuf wire format).
|
|
58448
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
58449
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0}
|
|
58450
|
+
*/
|
|
58451
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.deserializeBinary = function(bytes) {
|
|
58452
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
58453
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0;
|
|
58454
|
+
return proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
58455
|
+
};
|
|
58456
|
+
|
|
58457
|
+
|
|
58458
|
+
/**
|
|
58459
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
58460
|
+
* given reader into the given message object.
|
|
58461
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0} msg The message object to deserialize into.
|
|
58462
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
58463
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0}
|
|
58464
|
+
*/
|
|
58465
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
58466
|
+
while (reader.nextField()) {
|
|
58467
|
+
if (reader.isEndGroup()) {
|
|
58468
|
+
break;
|
|
58469
|
+
}
|
|
58470
|
+
var field = reader.getFieldNumber();
|
|
58471
|
+
switch (field) {
|
|
58472
|
+
case 1:
|
|
58473
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
58474
|
+
msg.setTokenId(value);
|
|
58475
|
+
break;
|
|
58476
|
+
case 2:
|
|
58477
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
58478
|
+
msg.setProve(value);
|
|
58479
|
+
break;
|
|
58480
|
+
default:
|
|
58481
|
+
reader.skipField();
|
|
58482
|
+
break;
|
|
58483
|
+
}
|
|
58484
|
+
}
|
|
58485
|
+
return msg;
|
|
58486
|
+
};
|
|
58487
|
+
|
|
58488
|
+
|
|
58489
|
+
/**
|
|
58490
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
58491
|
+
* @return {!Uint8Array}
|
|
58492
|
+
*/
|
|
58493
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.prototype.serializeBinary = function() {
|
|
58494
|
+
var writer = new jspb.BinaryWriter();
|
|
58495
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.serializeBinaryToWriter(this, writer);
|
|
58496
|
+
return writer.getResultBuffer();
|
|
58497
|
+
};
|
|
58498
|
+
|
|
58499
|
+
|
|
58500
|
+
/**
|
|
58501
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
58502
|
+
* format), writing to the given BinaryWriter.
|
|
58503
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0} message
|
|
58504
|
+
* @param {!jspb.BinaryWriter} writer
|
|
58505
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
58506
|
+
*/
|
|
58507
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
58508
|
+
var f = undefined;
|
|
58509
|
+
f = message.getTokenId_asU8();
|
|
58510
|
+
if (f.length > 0) {
|
|
58511
|
+
writer.writeBytes(
|
|
58512
|
+
1,
|
|
58513
|
+
f
|
|
58514
|
+
);
|
|
58515
|
+
}
|
|
58516
|
+
f = message.getProve();
|
|
58517
|
+
if (f) {
|
|
58518
|
+
writer.writeBool(
|
|
58519
|
+
2,
|
|
58520
|
+
f
|
|
58521
|
+
);
|
|
58522
|
+
}
|
|
58523
|
+
};
|
|
58524
|
+
|
|
58525
|
+
|
|
58526
|
+
/**
|
|
58527
|
+
* optional bytes token_id = 1;
|
|
58528
|
+
* @return {string}
|
|
58529
|
+
*/
|
|
58530
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.prototype.getTokenId = function() {
|
|
58531
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
58532
|
+
};
|
|
58533
|
+
|
|
58534
|
+
|
|
58535
|
+
/**
|
|
58536
|
+
* optional bytes token_id = 1;
|
|
58537
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
58538
|
+
* @return {string}
|
|
58539
|
+
*/
|
|
58540
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.prototype.getTokenId_asB64 = function() {
|
|
58541
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
58542
|
+
this.getTokenId()));
|
|
58543
|
+
};
|
|
58544
|
+
|
|
58545
|
+
|
|
58546
|
+
/**
|
|
58547
|
+
* optional bytes token_id = 1;
|
|
58548
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
58549
|
+
* @see http://caniuse.com/Uint8Array
|
|
58550
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
58551
|
+
* @return {!Uint8Array}
|
|
58552
|
+
*/
|
|
58553
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.prototype.getTokenId_asU8 = function() {
|
|
58554
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
58555
|
+
this.getTokenId()));
|
|
58556
|
+
};
|
|
58557
|
+
|
|
58558
|
+
|
|
58559
|
+
/**
|
|
58560
|
+
* @param {!(string|Uint8Array)} value
|
|
58561
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0} returns this
|
|
58562
|
+
*/
|
|
58563
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.prototype.setTokenId = function(value) {
|
|
58564
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
58565
|
+
};
|
|
58566
|
+
|
|
58567
|
+
|
|
58568
|
+
/**
|
|
58569
|
+
* optional bool prove = 2;
|
|
58570
|
+
* @return {boolean}
|
|
58571
|
+
*/
|
|
58572
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.prototype.getProve = function() {
|
|
58573
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
58574
|
+
};
|
|
58575
|
+
|
|
58576
|
+
|
|
58577
|
+
/**
|
|
58578
|
+
* @param {boolean} value
|
|
58579
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0} returns this
|
|
58580
|
+
*/
|
|
58581
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0.prototype.setProve = function(value) {
|
|
58582
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
58583
|
+
};
|
|
58584
|
+
|
|
58585
|
+
|
|
58586
|
+
/**
|
|
58587
|
+
* optional GetTokenTotalSupplyRequestV0 v0 = 1;
|
|
58588
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0}
|
|
58589
|
+
*/
|
|
58590
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.getV0 = function() {
|
|
58591
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0} */ (
|
|
58592
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0, 1));
|
|
58593
|
+
};
|
|
58594
|
+
|
|
58595
|
+
|
|
58596
|
+
/**
|
|
58597
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0|undefined} value
|
|
58598
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest} returns this
|
|
58599
|
+
*/
|
|
58600
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.setV0 = function(value) {
|
|
58601
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.oneofGroups_[0], value);
|
|
58602
|
+
};
|
|
58603
|
+
|
|
58604
|
+
|
|
58605
|
+
/**
|
|
58606
|
+
* Clears the message field making it undefined.
|
|
58607
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest} returns this
|
|
58608
|
+
*/
|
|
58609
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.clearV0 = function() {
|
|
58610
|
+
return this.setV0(undefined);
|
|
58611
|
+
};
|
|
58612
|
+
|
|
58613
|
+
|
|
58614
|
+
/**
|
|
58615
|
+
* Returns whether this field is set.
|
|
58616
|
+
* @return {boolean}
|
|
58617
|
+
*/
|
|
58618
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.prototype.hasV0 = function() {
|
|
58619
|
+
return jspb.Message.getField(this, 1) != null;
|
|
58620
|
+
};
|
|
58621
|
+
|
|
58622
|
+
|
|
58623
|
+
|
|
58624
|
+
/**
|
|
58625
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
58626
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
58627
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
58628
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
58629
|
+
* @private {!Array<!Array<number>>}
|
|
58630
|
+
* @const
|
|
58631
|
+
*/
|
|
58632
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.oneofGroups_ = [[1]];
|
|
58633
|
+
|
|
58634
|
+
/**
|
|
58635
|
+
* @enum {number}
|
|
58636
|
+
*/
|
|
58637
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.VersionCase = {
|
|
58638
|
+
VERSION_NOT_SET: 0,
|
|
58639
|
+
V0: 1
|
|
58640
|
+
};
|
|
58641
|
+
|
|
58642
|
+
/**
|
|
58643
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.VersionCase}
|
|
58644
|
+
*/
|
|
58645
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.prototype.getVersionCase = function() {
|
|
58646
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.oneofGroups_[0]));
|
|
58647
|
+
};
|
|
58648
|
+
|
|
58649
|
+
|
|
58650
|
+
|
|
58651
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58652
|
+
/**
|
|
58653
|
+
* Creates an object representation of this proto.
|
|
58654
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
58655
|
+
* Optional fields that are not set will be set to undefined.
|
|
58656
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
58657
|
+
* For the list of reserved names please see:
|
|
58658
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
58659
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
58660
|
+
* JSPB instance for transitional soy proto support:
|
|
58661
|
+
* http://goto/soy-param-migration
|
|
58662
|
+
* @return {!Object}
|
|
58663
|
+
*/
|
|
58664
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.prototype.toObject = function(opt_includeInstance) {
|
|
58665
|
+
return proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.toObject(opt_includeInstance, this);
|
|
58666
|
+
};
|
|
58667
|
+
|
|
58668
|
+
|
|
58669
|
+
/**
|
|
58670
|
+
* Static version of the {@see toObject} method.
|
|
58671
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
58672
|
+
* the JSPB instance for transitional soy proto support:
|
|
58673
|
+
* http://goto/soy-param-migration
|
|
58674
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse} msg The msg instance to transform.
|
|
58675
|
+
* @return {!Object}
|
|
58676
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
58677
|
+
*/
|
|
58678
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.toObject = function(includeInstance, msg) {
|
|
58679
|
+
var f, obj = {
|
|
58680
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.toObject(includeInstance, f)
|
|
58681
|
+
};
|
|
58682
|
+
|
|
58683
|
+
if (includeInstance) {
|
|
58684
|
+
obj.$jspbMessageInstance = msg;
|
|
58685
|
+
}
|
|
58686
|
+
return obj;
|
|
58687
|
+
};
|
|
58688
|
+
}
|
|
58689
|
+
|
|
58690
|
+
|
|
58691
|
+
/**
|
|
58692
|
+
* Deserializes binary data (in protobuf wire format).
|
|
58693
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
58694
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse}
|
|
58695
|
+
*/
|
|
58696
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.deserializeBinary = function(bytes) {
|
|
58697
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
58698
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse;
|
|
58699
|
+
return proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.deserializeBinaryFromReader(msg, reader);
|
|
58700
|
+
};
|
|
58701
|
+
|
|
58702
|
+
|
|
58703
|
+
/**
|
|
58704
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
58705
|
+
* given reader into the given message object.
|
|
58706
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse} msg The message object to deserialize into.
|
|
58707
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
58708
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse}
|
|
58709
|
+
*/
|
|
58710
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
58711
|
+
while (reader.nextField()) {
|
|
58712
|
+
if (reader.isEndGroup()) {
|
|
58713
|
+
break;
|
|
58714
|
+
}
|
|
58715
|
+
var field = reader.getFieldNumber();
|
|
58716
|
+
switch (field) {
|
|
58717
|
+
case 1:
|
|
58718
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0;
|
|
58719
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.deserializeBinaryFromReader);
|
|
58720
|
+
msg.setV0(value);
|
|
58721
|
+
break;
|
|
58722
|
+
default:
|
|
58723
|
+
reader.skipField();
|
|
58724
|
+
break;
|
|
58725
|
+
}
|
|
58726
|
+
}
|
|
58727
|
+
return msg;
|
|
58728
|
+
};
|
|
58729
|
+
|
|
58730
|
+
|
|
58731
|
+
/**
|
|
58732
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
58733
|
+
* @return {!Uint8Array}
|
|
58734
|
+
*/
|
|
58735
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.prototype.serializeBinary = function() {
|
|
58736
|
+
var writer = new jspb.BinaryWriter();
|
|
58737
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.serializeBinaryToWriter(this, writer);
|
|
58738
|
+
return writer.getResultBuffer();
|
|
58739
|
+
};
|
|
58740
|
+
|
|
58741
|
+
|
|
58742
|
+
/**
|
|
58743
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
58744
|
+
* format), writing to the given BinaryWriter.
|
|
58745
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse} message
|
|
58746
|
+
* @param {!jspb.BinaryWriter} writer
|
|
58747
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
58748
|
+
*/
|
|
58749
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.serializeBinaryToWriter = function(message, writer) {
|
|
58750
|
+
var f = undefined;
|
|
58751
|
+
f = message.getV0();
|
|
58752
|
+
if (f != null) {
|
|
58753
|
+
writer.writeMessage(
|
|
58754
|
+
1,
|
|
58755
|
+
f,
|
|
58756
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.serializeBinaryToWriter
|
|
58757
|
+
);
|
|
58758
|
+
}
|
|
58759
|
+
};
|
|
58760
|
+
|
|
58761
|
+
|
|
58762
|
+
|
|
58763
|
+
/**
|
|
58764
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
58765
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
58766
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
58767
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
58768
|
+
* @private {!Array<!Array<number>>}
|
|
58769
|
+
* @const
|
|
58770
|
+
*/
|
|
58771
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.oneofGroups_ = [[1,2]];
|
|
58772
|
+
|
|
58773
|
+
/**
|
|
58774
|
+
* @enum {number}
|
|
58775
|
+
*/
|
|
58776
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.ResultCase = {
|
|
58777
|
+
RESULT_NOT_SET: 0,
|
|
58778
|
+
TOKEN_TOTAL_SUPPLY: 1,
|
|
58779
|
+
PROOF: 2
|
|
58780
|
+
};
|
|
58781
|
+
|
|
58782
|
+
/**
|
|
58783
|
+
* @return {proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.ResultCase}
|
|
58784
|
+
*/
|
|
58785
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.prototype.getResultCase = function() {
|
|
58786
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.oneofGroups_[0]));
|
|
58787
|
+
};
|
|
58788
|
+
|
|
58789
|
+
|
|
58790
|
+
|
|
58791
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58792
|
+
/**
|
|
58793
|
+
* Creates an object representation of this proto.
|
|
58794
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
58795
|
+
* Optional fields that are not set will be set to undefined.
|
|
58796
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
58797
|
+
* For the list of reserved names please see:
|
|
58798
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
58799
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
58800
|
+
* JSPB instance for transitional soy proto support:
|
|
58801
|
+
* http://goto/soy-param-migration
|
|
58802
|
+
* @return {!Object}
|
|
58803
|
+
*/
|
|
58804
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
58805
|
+
return proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.toObject(opt_includeInstance, this);
|
|
58806
|
+
};
|
|
58807
|
+
|
|
58808
|
+
|
|
58809
|
+
/**
|
|
58810
|
+
* Static version of the {@see toObject} method.
|
|
58811
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
58812
|
+
* the JSPB instance for transitional soy proto support:
|
|
58813
|
+
* http://goto/soy-param-migration
|
|
58814
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0} msg The msg instance to transform.
|
|
58815
|
+
* @return {!Object}
|
|
58816
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
58817
|
+
*/
|
|
58818
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.toObject = function(includeInstance, msg) {
|
|
58819
|
+
var f, obj = {
|
|
58820
|
+
tokenTotalSupply: (f = msg.getTokenTotalSupply()) && proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.TokenTotalSupplyEntry.toObject(includeInstance, f),
|
|
58821
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
58822
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
58823
|
+
};
|
|
58824
|
+
|
|
58825
|
+
if (includeInstance) {
|
|
58826
|
+
obj.$jspbMessageInstance = msg;
|
|
58827
|
+
}
|
|
58828
|
+
return obj;
|
|
58829
|
+
};
|
|
58830
|
+
}
|
|
58831
|
+
|
|
58832
|
+
|
|
58833
|
+
/**
|
|
58834
|
+
* Deserializes binary data (in protobuf wire format).
|
|
58835
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
58836
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0}
|
|
58837
|
+
*/
|
|
58838
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.deserializeBinary = function(bytes) {
|
|
58839
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
58840
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0;
|
|
58841
|
+
return proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
58842
|
+
};
|
|
58843
|
+
|
|
58844
|
+
|
|
58845
|
+
/**
|
|
58846
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
58847
|
+
* given reader into the given message object.
|
|
58848
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0} msg The message object to deserialize into.
|
|
58849
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
58850
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0}
|
|
58851
|
+
*/
|
|
58852
|
+
proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
58853
|
+
while (reader.nextField()) {
|
|
58854
|
+
if (reader.isEndGroup()) {
|
|
58855
|
+
break;
|
|
58856
|
+
}
|
|
58857
|
+
var field = reader.getFieldNumber();
|
|
58858
|
+
switch (field) {
|
|
58859
|
+
case 1:
|
|
58860
|
+
var value = new proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.TokenTotalSupplyEntry;
|
|
58861
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.TokenTotalSupplyEntry.deserializeBinaryFromReader);
|
|
58862
|
+
msg.setTokenTotalSupply(value);
|
|
57279
58863
|
break;
|
|
57280
58864
|
case 2:
|
|
57281
58865
|
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
@@ -61996,7 +63580,8 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
61996
63580
|
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.toObject = function(includeInstance, msg) {
|
|
61997
63581
|
var f, obj = {
|
|
61998
63582
|
amount: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
61999
|
-
|
|
63583
|
+
burnFromId: msg.getBurnFromId_asB64(),
|
|
63584
|
+
publicNote: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
62000
63585
|
};
|
|
62001
63586
|
|
|
62002
63587
|
if (includeInstance) {
|
|
@@ -62038,6 +63623,10 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
62038
63623
|
msg.setAmount(value);
|
|
62039
63624
|
break;
|
|
62040
63625
|
case 2:
|
|
63626
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
63627
|
+
msg.setBurnFromId(value);
|
|
63628
|
+
break;
|
|
63629
|
+
case 3:
|
|
62041
63630
|
var value = /** @type {string} */ (reader.readString());
|
|
62042
63631
|
msg.setPublicNote(value);
|
|
62043
63632
|
break;
|
|
@@ -62077,10 +63666,17 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
62077
63666
|
f
|
|
62078
63667
|
);
|
|
62079
63668
|
}
|
|
62080
|
-
f =
|
|
63669
|
+
f = message.getBurnFromId_asU8();
|
|
63670
|
+
if (f.length > 0) {
|
|
63671
|
+
writer.writeBytes(
|
|
63672
|
+
2,
|
|
63673
|
+
f
|
|
63674
|
+
);
|
|
63675
|
+
}
|
|
63676
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
62081
63677
|
if (f != null) {
|
|
62082
63678
|
writer.writeString(
|
|
62083
|
-
|
|
63679
|
+
3,
|
|
62084
63680
|
f
|
|
62085
63681
|
);
|
|
62086
63682
|
}
|
|
@@ -62106,20 +63702,62 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
62106
63702
|
|
|
62107
63703
|
|
|
62108
63704
|
/**
|
|
62109
|
-
* optional
|
|
63705
|
+
* optional bytes burn_from_id = 2;
|
|
62110
63706
|
* @return {string}
|
|
62111
63707
|
*/
|
|
62112
|
-
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.
|
|
63708
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId = function() {
|
|
62113
63709
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
62114
63710
|
};
|
|
62115
63711
|
|
|
62116
63712
|
|
|
63713
|
+
/**
|
|
63714
|
+
* optional bytes burn_from_id = 2;
|
|
63715
|
+
* This is a type-conversion wrapper around `getBurnFromId()`
|
|
63716
|
+
* @return {string}
|
|
63717
|
+
*/
|
|
63718
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId_asB64 = function() {
|
|
63719
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
63720
|
+
this.getBurnFromId()));
|
|
63721
|
+
};
|
|
63722
|
+
|
|
63723
|
+
|
|
63724
|
+
/**
|
|
63725
|
+
* optional bytes burn_from_id = 2;
|
|
63726
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
63727
|
+
* @see http://caniuse.com/Uint8Array
|
|
63728
|
+
* This is a type-conversion wrapper around `getBurnFromId()`
|
|
63729
|
+
* @return {!Uint8Array}
|
|
63730
|
+
*/
|
|
63731
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId_asU8 = function() {
|
|
63732
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
63733
|
+
this.getBurnFromId()));
|
|
63734
|
+
};
|
|
63735
|
+
|
|
63736
|
+
|
|
63737
|
+
/**
|
|
63738
|
+
* @param {!(string|Uint8Array)} value
|
|
63739
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
|
|
63740
|
+
*/
|
|
63741
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.setBurnFromId = function(value) {
|
|
63742
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
63743
|
+
};
|
|
63744
|
+
|
|
63745
|
+
|
|
63746
|
+
/**
|
|
63747
|
+
* optional string public_note = 3;
|
|
63748
|
+
* @return {string}
|
|
63749
|
+
*/
|
|
63750
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getPublicNote = function() {
|
|
63751
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
63752
|
+
};
|
|
63753
|
+
|
|
63754
|
+
|
|
62117
63755
|
/**
|
|
62118
63756
|
* @param {string} value
|
|
62119
63757
|
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
|
|
62120
63758
|
*/
|
|
62121
63759
|
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.setPublicNote = function(value) {
|
|
62122
|
-
return jspb.Message.setField(this,
|
|
63760
|
+
return jspb.Message.setField(this, 3, value);
|
|
62123
63761
|
};
|
|
62124
63762
|
|
|
62125
63763
|
|
|
@@ -62128,7 +63766,7 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
62128
63766
|
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
|
|
62129
63767
|
*/
|
|
62130
63768
|
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.clearPublicNote = function() {
|
|
62131
|
-
return jspb.Message.setField(this,
|
|
63769
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
62132
63770
|
};
|
|
62133
63771
|
|
|
62134
63772
|
|
|
@@ -62137,7 +63775,7 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
62137
63775
|
* @return {boolean}
|
|
62138
63776
|
*/
|
|
62139
63777
|
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.hasPublicNote = function() {
|
|
62140
|
-
return jspb.Message.getField(this,
|
|
63778
|
+
return jspb.Message.getField(this, 3) != null;
|
|
62141
63779
|
};
|
|
62142
63780
|
|
|
62143
63781
|
|