@dashevo/dapi-grpc 5.0.0-beta.1 → 5.0.0-beta.2
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/clients/drive/v0/nodejs/drive_pbjs.js +776 -7
- package/clients/platform/v0/nodejs/platform_pbjs.js +776 -7
- package/clients/platform/v0/nodejs/platform_protoc.js +1053 -9
- package/clients/platform/v0/web/platform_pb.d.ts +126 -0
- package/clients/platform/v0/web/platform_pb.js +1053 -9
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +25 -0
- package/test/unit/shielded-requests.spec.js +51 -0
|
@@ -387,6 +387,7 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsRequest.Versio
|
|
|
387
387
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse', null, { proto });
|
|
388
388
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0', null, { proto });
|
|
389
389
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent', null, { proto });
|
|
390
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent', null, { proto });
|
|
390
391
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractEvent', null, { proto });
|
|
391
392
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractEvent.TypeCase', null, { proto });
|
|
392
393
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractUpdateEvent', null, { proto });
|
|
@@ -402,6 +403,7 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGr
|
|
|
402
403
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEvent.EventTypeCase', null, { proto });
|
|
403
404
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActions', null, { proto });
|
|
404
405
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintEvent', null, { proto });
|
|
406
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent', null, { proto });
|
|
405
407
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.PersonalEncryptedNote', null, { proto });
|
|
406
408
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ResultCase', null, { proto });
|
|
407
409
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.SharedEncryptedNote', null, { proto });
|
|
@@ -9480,6 +9482,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
9480
9482
|
*/
|
|
9481
9483
|
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PricingSchedule.displayName = 'proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PricingSchedule';
|
|
9482
9484
|
}
|
|
9485
|
+
/**
|
|
9486
|
+
* Generated by JsPbCodeGenerator.
|
|
9487
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
9488
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
9489
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
9490
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
9491
|
+
* valid.
|
|
9492
|
+
* @extends {jspb.Message}
|
|
9493
|
+
* @constructor
|
|
9494
|
+
*/
|
|
9495
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent = function(opt_data) {
|
|
9496
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
9497
|
+
};
|
|
9498
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent, jspb.Message);
|
|
9499
|
+
if (goog.DEBUG && !COMPILED) {
|
|
9500
|
+
/**
|
|
9501
|
+
* @public
|
|
9502
|
+
* @override
|
|
9503
|
+
*/
|
|
9504
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.displayName = 'proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent';
|
|
9505
|
+
}
|
|
9506
|
+
/**
|
|
9507
|
+
* Generated by JsPbCodeGenerator.
|
|
9508
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
9509
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
9510
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
9511
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
9512
|
+
* valid.
|
|
9513
|
+
* @extends {jspb.Message}
|
|
9514
|
+
* @constructor
|
|
9515
|
+
*/
|
|
9516
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent = function(opt_data) {
|
|
9517
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
9518
|
+
};
|
|
9519
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent, jspb.Message);
|
|
9520
|
+
if (goog.DEBUG && !COMPILED) {
|
|
9521
|
+
/**
|
|
9522
|
+
* @public
|
|
9523
|
+
* @override
|
|
9524
|
+
*/
|
|
9525
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.displayName = 'proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent';
|
|
9526
|
+
}
|
|
9483
9527
|
/**
|
|
9484
9528
|
* Generated by JsPbCodeGenerator.
|
|
9485
9529
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -103368,6 +103412,470 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
103368
103412
|
|
|
103369
103413
|
|
|
103370
103414
|
|
|
103415
|
+
|
|
103416
|
+
|
|
103417
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
103418
|
+
/**
|
|
103419
|
+
* Creates an object representation of this proto.
|
|
103420
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
103421
|
+
* Optional fields that are not set will be set to undefined.
|
|
103422
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
103423
|
+
* For the list of reserved names please see:
|
|
103424
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
103425
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
103426
|
+
* JSPB instance for transitional soy proto support:
|
|
103427
|
+
* http://goto/soy-param-migration
|
|
103428
|
+
* @return {!Object}
|
|
103429
|
+
*/
|
|
103430
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.toObject = function(opt_includeInstance) {
|
|
103431
|
+
return proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.toObject(opt_includeInstance, this);
|
|
103432
|
+
};
|
|
103433
|
+
|
|
103434
|
+
|
|
103435
|
+
/**
|
|
103436
|
+
* Static version of the {@see toObject} method.
|
|
103437
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
103438
|
+
* the JSPB instance for transitional soy proto support:
|
|
103439
|
+
* http://goto/soy-param-migration
|
|
103440
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent} msg The msg instance to transform.
|
|
103441
|
+
* @return {!Object}
|
|
103442
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
103443
|
+
*/
|
|
103444
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.toObject = function(includeInstance, msg) {
|
|
103445
|
+
var f, obj = {
|
|
103446
|
+
amount: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
103447
|
+
actionsDigest: msg.getActionsDigest_asB64(),
|
|
103448
|
+
publicNote: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
103449
|
+
};
|
|
103450
|
+
|
|
103451
|
+
if (includeInstance) {
|
|
103452
|
+
obj.$jspbMessageInstance = msg;
|
|
103453
|
+
}
|
|
103454
|
+
return obj;
|
|
103455
|
+
};
|
|
103456
|
+
}
|
|
103457
|
+
|
|
103458
|
+
|
|
103459
|
+
/**
|
|
103460
|
+
* Deserializes binary data (in protobuf wire format).
|
|
103461
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
103462
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent}
|
|
103463
|
+
*/
|
|
103464
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.deserializeBinary = function(bytes) {
|
|
103465
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
103466
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent;
|
|
103467
|
+
return proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.deserializeBinaryFromReader(msg, reader);
|
|
103468
|
+
};
|
|
103469
|
+
|
|
103470
|
+
|
|
103471
|
+
/**
|
|
103472
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
103473
|
+
* given reader into the given message object.
|
|
103474
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent} msg The message object to deserialize into.
|
|
103475
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
103476
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent}
|
|
103477
|
+
*/
|
|
103478
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.deserializeBinaryFromReader = function(msg, reader) {
|
|
103479
|
+
while (reader.nextField()) {
|
|
103480
|
+
if (reader.isEndGroup()) {
|
|
103481
|
+
break;
|
|
103482
|
+
}
|
|
103483
|
+
var field = reader.getFieldNumber();
|
|
103484
|
+
switch (field) {
|
|
103485
|
+
case 1:
|
|
103486
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
103487
|
+
msg.setAmount(value);
|
|
103488
|
+
break;
|
|
103489
|
+
case 2:
|
|
103490
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
103491
|
+
msg.setActionsDigest(value);
|
|
103492
|
+
break;
|
|
103493
|
+
case 3:
|
|
103494
|
+
var value = /** @type {string} */ (reader.readString());
|
|
103495
|
+
msg.setPublicNote(value);
|
|
103496
|
+
break;
|
|
103497
|
+
default:
|
|
103498
|
+
reader.skipField();
|
|
103499
|
+
break;
|
|
103500
|
+
}
|
|
103501
|
+
}
|
|
103502
|
+
return msg;
|
|
103503
|
+
};
|
|
103504
|
+
|
|
103505
|
+
|
|
103506
|
+
/**
|
|
103507
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
103508
|
+
* @return {!Uint8Array}
|
|
103509
|
+
*/
|
|
103510
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.serializeBinary = function() {
|
|
103511
|
+
var writer = new jspb.BinaryWriter();
|
|
103512
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.serializeBinaryToWriter(this, writer);
|
|
103513
|
+
return writer.getResultBuffer();
|
|
103514
|
+
};
|
|
103515
|
+
|
|
103516
|
+
|
|
103517
|
+
/**
|
|
103518
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
103519
|
+
* format), writing to the given BinaryWriter.
|
|
103520
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent} message
|
|
103521
|
+
* @param {!jspb.BinaryWriter} writer
|
|
103522
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
103523
|
+
*/
|
|
103524
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.serializeBinaryToWriter = function(message, writer) {
|
|
103525
|
+
var f = undefined;
|
|
103526
|
+
f = message.getAmount();
|
|
103527
|
+
if (f !== 0) {
|
|
103528
|
+
writer.writeUint64(
|
|
103529
|
+
1,
|
|
103530
|
+
f
|
|
103531
|
+
);
|
|
103532
|
+
}
|
|
103533
|
+
f = message.getActionsDigest_asU8();
|
|
103534
|
+
if (f.length > 0) {
|
|
103535
|
+
writer.writeBytes(
|
|
103536
|
+
2,
|
|
103537
|
+
f
|
|
103538
|
+
);
|
|
103539
|
+
}
|
|
103540
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
103541
|
+
if (f != null) {
|
|
103542
|
+
writer.writeString(
|
|
103543
|
+
3,
|
|
103544
|
+
f
|
|
103545
|
+
);
|
|
103546
|
+
}
|
|
103547
|
+
};
|
|
103548
|
+
|
|
103549
|
+
|
|
103550
|
+
/**
|
|
103551
|
+
* optional uint64 amount = 1;
|
|
103552
|
+
* @return {number}
|
|
103553
|
+
*/
|
|
103554
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.getAmount = function() {
|
|
103555
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
103556
|
+
};
|
|
103557
|
+
|
|
103558
|
+
|
|
103559
|
+
/**
|
|
103560
|
+
* @param {number} value
|
|
103561
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent} returns this
|
|
103562
|
+
*/
|
|
103563
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.setAmount = function(value) {
|
|
103564
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
103565
|
+
};
|
|
103566
|
+
|
|
103567
|
+
|
|
103568
|
+
/**
|
|
103569
|
+
* optional bytes actions_digest = 2;
|
|
103570
|
+
* @return {string}
|
|
103571
|
+
*/
|
|
103572
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.getActionsDigest = function() {
|
|
103573
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
103574
|
+
};
|
|
103575
|
+
|
|
103576
|
+
|
|
103577
|
+
/**
|
|
103578
|
+
* optional bytes actions_digest = 2;
|
|
103579
|
+
* This is a type-conversion wrapper around `getActionsDigest()`
|
|
103580
|
+
* @return {string}
|
|
103581
|
+
*/
|
|
103582
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.getActionsDigest_asB64 = function() {
|
|
103583
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
103584
|
+
this.getActionsDigest()));
|
|
103585
|
+
};
|
|
103586
|
+
|
|
103587
|
+
|
|
103588
|
+
/**
|
|
103589
|
+
* optional bytes actions_digest = 2;
|
|
103590
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
103591
|
+
* @see http://caniuse.com/Uint8Array
|
|
103592
|
+
* This is a type-conversion wrapper around `getActionsDigest()`
|
|
103593
|
+
* @return {!Uint8Array}
|
|
103594
|
+
*/
|
|
103595
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.getActionsDigest_asU8 = function() {
|
|
103596
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
103597
|
+
this.getActionsDigest()));
|
|
103598
|
+
};
|
|
103599
|
+
|
|
103600
|
+
|
|
103601
|
+
/**
|
|
103602
|
+
* @param {!(string|Uint8Array)} value
|
|
103603
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent} returns this
|
|
103604
|
+
*/
|
|
103605
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.setActionsDigest = function(value) {
|
|
103606
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
103607
|
+
};
|
|
103608
|
+
|
|
103609
|
+
|
|
103610
|
+
/**
|
|
103611
|
+
* optional string public_note = 3;
|
|
103612
|
+
* @return {string}
|
|
103613
|
+
*/
|
|
103614
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.getPublicNote = function() {
|
|
103615
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
103616
|
+
};
|
|
103617
|
+
|
|
103618
|
+
|
|
103619
|
+
/**
|
|
103620
|
+
* @param {string} value
|
|
103621
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent} returns this
|
|
103622
|
+
*/
|
|
103623
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.setPublicNote = function(value) {
|
|
103624
|
+
return jspb.Message.setField(this, 3, value);
|
|
103625
|
+
};
|
|
103626
|
+
|
|
103627
|
+
|
|
103628
|
+
/**
|
|
103629
|
+
* Clears the field making it undefined.
|
|
103630
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent} returns this
|
|
103631
|
+
*/
|
|
103632
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.clearPublicNote = function() {
|
|
103633
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
103634
|
+
};
|
|
103635
|
+
|
|
103636
|
+
|
|
103637
|
+
/**
|
|
103638
|
+
* Returns whether this field is set.
|
|
103639
|
+
* @return {boolean}
|
|
103640
|
+
*/
|
|
103641
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.prototype.hasPublicNote = function() {
|
|
103642
|
+
return jspb.Message.getField(this, 3) != null;
|
|
103643
|
+
};
|
|
103644
|
+
|
|
103645
|
+
|
|
103646
|
+
|
|
103647
|
+
|
|
103648
|
+
|
|
103649
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
103650
|
+
/**
|
|
103651
|
+
* Creates an object representation of this proto.
|
|
103652
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
103653
|
+
* Optional fields that are not set will be set to undefined.
|
|
103654
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
103655
|
+
* For the list of reserved names please see:
|
|
103656
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
103657
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
103658
|
+
* JSPB instance for transitional soy proto support:
|
|
103659
|
+
* http://goto/soy-param-migration
|
|
103660
|
+
* @return {!Object}
|
|
103661
|
+
*/
|
|
103662
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.toObject = function(opt_includeInstance) {
|
|
103663
|
+
return proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.toObject(opt_includeInstance, this);
|
|
103664
|
+
};
|
|
103665
|
+
|
|
103666
|
+
|
|
103667
|
+
/**
|
|
103668
|
+
* Static version of the {@see toObject} method.
|
|
103669
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
103670
|
+
* the JSPB instance for transitional soy proto support:
|
|
103671
|
+
* http://goto/soy-param-migration
|
|
103672
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent} msg The msg instance to transform.
|
|
103673
|
+
* @return {!Object}
|
|
103674
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
103675
|
+
*/
|
|
103676
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.toObject = function(includeInstance, msg) {
|
|
103677
|
+
var f, obj = {
|
|
103678
|
+
amount: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
103679
|
+
actionsDigest: msg.getActionsDigest_asB64(),
|
|
103680
|
+
publicNote: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
103681
|
+
};
|
|
103682
|
+
|
|
103683
|
+
if (includeInstance) {
|
|
103684
|
+
obj.$jspbMessageInstance = msg;
|
|
103685
|
+
}
|
|
103686
|
+
return obj;
|
|
103687
|
+
};
|
|
103688
|
+
}
|
|
103689
|
+
|
|
103690
|
+
|
|
103691
|
+
/**
|
|
103692
|
+
* Deserializes binary data (in protobuf wire format).
|
|
103693
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
103694
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent}
|
|
103695
|
+
*/
|
|
103696
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.deserializeBinary = function(bytes) {
|
|
103697
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
103698
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent;
|
|
103699
|
+
return proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.deserializeBinaryFromReader(msg, reader);
|
|
103700
|
+
};
|
|
103701
|
+
|
|
103702
|
+
|
|
103703
|
+
/**
|
|
103704
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
103705
|
+
* given reader into the given message object.
|
|
103706
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent} msg The message object to deserialize into.
|
|
103707
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
103708
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent}
|
|
103709
|
+
*/
|
|
103710
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.deserializeBinaryFromReader = function(msg, reader) {
|
|
103711
|
+
while (reader.nextField()) {
|
|
103712
|
+
if (reader.isEndGroup()) {
|
|
103713
|
+
break;
|
|
103714
|
+
}
|
|
103715
|
+
var field = reader.getFieldNumber();
|
|
103716
|
+
switch (field) {
|
|
103717
|
+
case 1:
|
|
103718
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
103719
|
+
msg.setAmount(value);
|
|
103720
|
+
break;
|
|
103721
|
+
case 2:
|
|
103722
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
103723
|
+
msg.setActionsDigest(value);
|
|
103724
|
+
break;
|
|
103725
|
+
case 3:
|
|
103726
|
+
var value = /** @type {string} */ (reader.readString());
|
|
103727
|
+
msg.setPublicNote(value);
|
|
103728
|
+
break;
|
|
103729
|
+
default:
|
|
103730
|
+
reader.skipField();
|
|
103731
|
+
break;
|
|
103732
|
+
}
|
|
103733
|
+
}
|
|
103734
|
+
return msg;
|
|
103735
|
+
};
|
|
103736
|
+
|
|
103737
|
+
|
|
103738
|
+
/**
|
|
103739
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
103740
|
+
* @return {!Uint8Array}
|
|
103741
|
+
*/
|
|
103742
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.serializeBinary = function() {
|
|
103743
|
+
var writer = new jspb.BinaryWriter();
|
|
103744
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.serializeBinaryToWriter(this, writer);
|
|
103745
|
+
return writer.getResultBuffer();
|
|
103746
|
+
};
|
|
103747
|
+
|
|
103748
|
+
|
|
103749
|
+
/**
|
|
103750
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
103751
|
+
* format), writing to the given BinaryWriter.
|
|
103752
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent} message
|
|
103753
|
+
* @param {!jspb.BinaryWriter} writer
|
|
103754
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
103755
|
+
*/
|
|
103756
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.serializeBinaryToWriter = function(message, writer) {
|
|
103757
|
+
var f = undefined;
|
|
103758
|
+
f = message.getAmount();
|
|
103759
|
+
if (f !== 0) {
|
|
103760
|
+
writer.writeUint64(
|
|
103761
|
+
1,
|
|
103762
|
+
f
|
|
103763
|
+
);
|
|
103764
|
+
}
|
|
103765
|
+
f = message.getActionsDigest_asU8();
|
|
103766
|
+
if (f.length > 0) {
|
|
103767
|
+
writer.writeBytes(
|
|
103768
|
+
2,
|
|
103769
|
+
f
|
|
103770
|
+
);
|
|
103771
|
+
}
|
|
103772
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
103773
|
+
if (f != null) {
|
|
103774
|
+
writer.writeString(
|
|
103775
|
+
3,
|
|
103776
|
+
f
|
|
103777
|
+
);
|
|
103778
|
+
}
|
|
103779
|
+
};
|
|
103780
|
+
|
|
103781
|
+
|
|
103782
|
+
/**
|
|
103783
|
+
* optional uint64 amount = 1;
|
|
103784
|
+
* @return {number}
|
|
103785
|
+
*/
|
|
103786
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.getAmount = function() {
|
|
103787
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
103788
|
+
};
|
|
103789
|
+
|
|
103790
|
+
|
|
103791
|
+
/**
|
|
103792
|
+
* @param {number} value
|
|
103793
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent} returns this
|
|
103794
|
+
*/
|
|
103795
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.setAmount = function(value) {
|
|
103796
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
103797
|
+
};
|
|
103798
|
+
|
|
103799
|
+
|
|
103800
|
+
/**
|
|
103801
|
+
* optional bytes actions_digest = 2;
|
|
103802
|
+
* @return {string}
|
|
103803
|
+
*/
|
|
103804
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.getActionsDigest = function() {
|
|
103805
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
103806
|
+
};
|
|
103807
|
+
|
|
103808
|
+
|
|
103809
|
+
/**
|
|
103810
|
+
* optional bytes actions_digest = 2;
|
|
103811
|
+
* This is a type-conversion wrapper around `getActionsDigest()`
|
|
103812
|
+
* @return {string}
|
|
103813
|
+
*/
|
|
103814
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.getActionsDigest_asB64 = function() {
|
|
103815
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
103816
|
+
this.getActionsDigest()));
|
|
103817
|
+
};
|
|
103818
|
+
|
|
103819
|
+
|
|
103820
|
+
/**
|
|
103821
|
+
* optional bytes actions_digest = 2;
|
|
103822
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
103823
|
+
* @see http://caniuse.com/Uint8Array
|
|
103824
|
+
* This is a type-conversion wrapper around `getActionsDigest()`
|
|
103825
|
+
* @return {!Uint8Array}
|
|
103826
|
+
*/
|
|
103827
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.getActionsDigest_asU8 = function() {
|
|
103828
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
103829
|
+
this.getActionsDigest()));
|
|
103830
|
+
};
|
|
103831
|
+
|
|
103832
|
+
|
|
103833
|
+
/**
|
|
103834
|
+
* @param {!(string|Uint8Array)} value
|
|
103835
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent} returns this
|
|
103836
|
+
*/
|
|
103837
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.setActionsDigest = function(value) {
|
|
103838
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
103839
|
+
};
|
|
103840
|
+
|
|
103841
|
+
|
|
103842
|
+
/**
|
|
103843
|
+
* optional string public_note = 3;
|
|
103844
|
+
* @return {string}
|
|
103845
|
+
*/
|
|
103846
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.getPublicNote = function() {
|
|
103847
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
103848
|
+
};
|
|
103849
|
+
|
|
103850
|
+
|
|
103851
|
+
/**
|
|
103852
|
+
* @param {string} value
|
|
103853
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent} returns this
|
|
103854
|
+
*/
|
|
103855
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.setPublicNote = function(value) {
|
|
103856
|
+
return jspb.Message.setField(this, 3, value);
|
|
103857
|
+
};
|
|
103858
|
+
|
|
103859
|
+
|
|
103860
|
+
/**
|
|
103861
|
+
* Clears the field making it undefined.
|
|
103862
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent} returns this
|
|
103863
|
+
*/
|
|
103864
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.clearPublicNote = function() {
|
|
103865
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
103866
|
+
};
|
|
103867
|
+
|
|
103868
|
+
|
|
103869
|
+
/**
|
|
103870
|
+
* Returns whether this field is set.
|
|
103871
|
+
* @return {boolean}
|
|
103872
|
+
*/
|
|
103873
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.prototype.hasPublicNote = function() {
|
|
103874
|
+
return jspb.Message.getField(this, 3) != null;
|
|
103875
|
+
};
|
|
103876
|
+
|
|
103877
|
+
|
|
103878
|
+
|
|
103371
103879
|
/**
|
|
103372
103880
|
* Oneof group definitions for this message. Each group defines the field
|
|
103373
103881
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -104316,7 +104824,7 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
104316
104824
|
* @private {!Array<!Array<number>>}
|
|
104317
104825
|
* @const
|
|
104318
104826
|
*/
|
|
104319
|
-
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.oneofGroups_ = [[1,2,3,4,5,6,7,8]];
|
|
104827
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.oneofGroups_ = [[1,2,3,4,5,6,7,8,9,10]];
|
|
104320
104828
|
|
|
104321
104829
|
/**
|
|
104322
104830
|
* @enum {number}
|
|
@@ -104330,7 +104838,9 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
104330
104838
|
DESTROY_FROZEN_FUNDS: 5,
|
|
104331
104839
|
EMERGENCY_ACTION: 6,
|
|
104332
104840
|
TOKEN_CONFIG_UPDATE: 7,
|
|
104333
|
-
UPDATE_PRICE: 8
|
|
104841
|
+
UPDATE_PRICE: 8,
|
|
104842
|
+
MINT_TO_POOL: 9,
|
|
104843
|
+
BURN_FROM_POOL: 10
|
|
104334
104844
|
};
|
|
104335
104845
|
|
|
104336
104846
|
/**
|
|
@@ -104378,7 +104888,9 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
104378
104888
|
destroyFrozenFunds: (f = msg.getDestroyFrozenFunds()) && proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DestroyFrozenFundsEvent.toObject(includeInstance, f),
|
|
104379
104889
|
emergencyAction: (f = msg.getEmergencyAction()) && proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEvent.toObject(includeInstance, f),
|
|
104380
104890
|
tokenConfigUpdate: (f = msg.getTokenConfigUpdate()) && proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenConfigUpdateEvent.toObject(includeInstance, f),
|
|
104381
|
-
updatePrice: (f = msg.getUpdatePrice()) && proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.toObject(includeInstance, f)
|
|
104891
|
+
updatePrice: (f = msg.getUpdatePrice()) && proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.toObject(includeInstance, f),
|
|
104892
|
+
mintToPool: (f = msg.getMintToPool()) && proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.toObject(includeInstance, f),
|
|
104893
|
+
burnFromPool: (f = msg.getBurnFromPool()) && proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.toObject(includeInstance, f)
|
|
104382
104894
|
};
|
|
104383
104895
|
|
|
104384
104896
|
if (includeInstance) {
|
|
@@ -104455,6 +104967,16 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
104455
104967
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.deserializeBinaryFromReader);
|
|
104456
104968
|
msg.setUpdatePrice(value);
|
|
104457
104969
|
break;
|
|
104970
|
+
case 9:
|
|
104971
|
+
var value = new proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent;
|
|
104972
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.deserializeBinaryFromReader);
|
|
104973
|
+
msg.setMintToPool(value);
|
|
104974
|
+
break;
|
|
104975
|
+
case 10:
|
|
104976
|
+
var value = new proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent;
|
|
104977
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.deserializeBinaryFromReader);
|
|
104978
|
+
msg.setBurnFromPool(value);
|
|
104979
|
+
break;
|
|
104458
104980
|
default:
|
|
104459
104981
|
reader.skipField();
|
|
104460
104982
|
break;
|
|
@@ -104548,6 +105070,22 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
104548
105070
|
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.serializeBinaryToWriter
|
|
104549
105071
|
);
|
|
104550
105072
|
}
|
|
105073
|
+
f = message.getMintToPool();
|
|
105074
|
+
if (f != null) {
|
|
105075
|
+
writer.writeMessage(
|
|
105076
|
+
9,
|
|
105077
|
+
f,
|
|
105078
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent.serializeBinaryToWriter
|
|
105079
|
+
);
|
|
105080
|
+
}
|
|
105081
|
+
f = message.getBurnFromPool();
|
|
105082
|
+
if (f != null) {
|
|
105083
|
+
writer.writeMessage(
|
|
105084
|
+
10,
|
|
105085
|
+
f,
|
|
105086
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent.serializeBinaryToWriter
|
|
105087
|
+
);
|
|
105088
|
+
}
|
|
104551
105089
|
};
|
|
104552
105090
|
|
|
104553
105091
|
|
|
@@ -104847,6 +105385,80 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
|
|
|
104847
105385
|
};
|
|
104848
105386
|
|
|
104849
105387
|
|
|
105388
|
+
/**
|
|
105389
|
+
* optional MintToPoolEvent mint_to_pool = 9;
|
|
105390
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent}
|
|
105391
|
+
*/
|
|
105392
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.prototype.getMintToPool = function() {
|
|
105393
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent} */ (
|
|
105394
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent, 9));
|
|
105395
|
+
};
|
|
105396
|
+
|
|
105397
|
+
|
|
105398
|
+
/**
|
|
105399
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintToPoolEvent|undefined} value
|
|
105400
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent} returns this
|
|
105401
|
+
*/
|
|
105402
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.prototype.setMintToPool = function(value) {
|
|
105403
|
+
return jspb.Message.setOneofWrapperField(this, 9, proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.oneofGroups_[0], value);
|
|
105404
|
+
};
|
|
105405
|
+
|
|
105406
|
+
|
|
105407
|
+
/**
|
|
105408
|
+
* Clears the message field making it undefined.
|
|
105409
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent} returns this
|
|
105410
|
+
*/
|
|
105411
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.prototype.clearMintToPool = function() {
|
|
105412
|
+
return this.setMintToPool(undefined);
|
|
105413
|
+
};
|
|
105414
|
+
|
|
105415
|
+
|
|
105416
|
+
/**
|
|
105417
|
+
* Returns whether this field is set.
|
|
105418
|
+
* @return {boolean}
|
|
105419
|
+
*/
|
|
105420
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.prototype.hasMintToPool = function() {
|
|
105421
|
+
return jspb.Message.getField(this, 9) != null;
|
|
105422
|
+
};
|
|
105423
|
+
|
|
105424
|
+
|
|
105425
|
+
/**
|
|
105426
|
+
* optional BurnFromPoolEvent burn_from_pool = 10;
|
|
105427
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent}
|
|
105428
|
+
*/
|
|
105429
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.prototype.getBurnFromPool = function() {
|
|
105430
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent} */ (
|
|
105431
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent, 10));
|
|
105432
|
+
};
|
|
105433
|
+
|
|
105434
|
+
|
|
105435
|
+
/**
|
|
105436
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnFromPoolEvent|undefined} value
|
|
105437
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent} returns this
|
|
105438
|
+
*/
|
|
105439
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.prototype.setBurnFromPool = function(value) {
|
|
105440
|
+
return jspb.Message.setOneofWrapperField(this, 10, proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.oneofGroups_[0], value);
|
|
105441
|
+
};
|
|
105442
|
+
|
|
105443
|
+
|
|
105444
|
+
/**
|
|
105445
|
+
* Clears the message field making it undefined.
|
|
105446
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent} returns this
|
|
105447
|
+
*/
|
|
105448
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.prototype.clearBurnFromPool = function() {
|
|
105449
|
+
return this.setBurnFromPool(undefined);
|
|
105450
|
+
};
|
|
105451
|
+
|
|
105452
|
+
|
|
105453
|
+
/**
|
|
105454
|
+
* Returns whether this field is set.
|
|
105455
|
+
* @return {boolean}
|
|
105456
|
+
*/
|
|
105457
|
+
proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent.prototype.hasBurnFromPool = function() {
|
|
105458
|
+
return jspb.Message.getField(this, 10) != null;
|
|
105459
|
+
};
|
|
105460
|
+
|
|
105461
|
+
|
|
104850
105462
|
|
|
104851
105463
|
|
|
104852
105464
|
|
|
@@ -113587,7 +114199,8 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncr
|
|
|
113587
114199
|
var f, obj = {
|
|
113588
114200
|
startIndex: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
113589
114201
|
count: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
113590
|
-
prove: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
114202
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
114203
|
+
tokenId: msg.getTokenId_asB64()
|
|
113591
114204
|
};
|
|
113592
114205
|
|
|
113593
114206
|
if (includeInstance) {
|
|
@@ -113636,6 +114249,10 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncr
|
|
|
113636
114249
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
113637
114250
|
msg.setProve(value);
|
|
113638
114251
|
break;
|
|
114252
|
+
case 4:
|
|
114253
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
114254
|
+
msg.setTokenId(value);
|
|
114255
|
+
break;
|
|
113639
114256
|
default:
|
|
113640
114257
|
reader.skipField();
|
|
113641
114258
|
break;
|
|
@@ -113686,6 +114303,13 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncr
|
|
|
113686
114303
|
f
|
|
113687
114304
|
);
|
|
113688
114305
|
}
|
|
114306
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 4));
|
|
114307
|
+
if (f != null) {
|
|
114308
|
+
writer.writeBytes(
|
|
114309
|
+
4,
|
|
114310
|
+
f
|
|
114311
|
+
);
|
|
114312
|
+
}
|
|
113689
114313
|
};
|
|
113690
114314
|
|
|
113691
114315
|
|
|
@@ -113743,6 +114367,66 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncr
|
|
|
113743
114367
|
};
|
|
113744
114368
|
|
|
113745
114369
|
|
|
114370
|
+
/**
|
|
114371
|
+
* optional bytes token_id = 4;
|
|
114372
|
+
* @return {string}
|
|
114373
|
+
*/
|
|
114374
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0.prototype.getTokenId = function() {
|
|
114375
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
114376
|
+
};
|
|
114377
|
+
|
|
114378
|
+
|
|
114379
|
+
/**
|
|
114380
|
+
* optional bytes token_id = 4;
|
|
114381
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
114382
|
+
* @return {string}
|
|
114383
|
+
*/
|
|
114384
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0.prototype.getTokenId_asB64 = function() {
|
|
114385
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
114386
|
+
this.getTokenId()));
|
|
114387
|
+
};
|
|
114388
|
+
|
|
114389
|
+
|
|
114390
|
+
/**
|
|
114391
|
+
* optional bytes token_id = 4;
|
|
114392
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
114393
|
+
* @see http://caniuse.com/Uint8Array
|
|
114394
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
114395
|
+
* @return {!Uint8Array}
|
|
114396
|
+
*/
|
|
114397
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0.prototype.getTokenId_asU8 = function() {
|
|
114398
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
114399
|
+
this.getTokenId()));
|
|
114400
|
+
};
|
|
114401
|
+
|
|
114402
|
+
|
|
114403
|
+
/**
|
|
114404
|
+
* @param {!(string|Uint8Array)} value
|
|
114405
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0} returns this
|
|
114406
|
+
*/
|
|
114407
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0.prototype.setTokenId = function(value) {
|
|
114408
|
+
return jspb.Message.setField(this, 4, value);
|
|
114409
|
+
};
|
|
114410
|
+
|
|
114411
|
+
|
|
114412
|
+
/**
|
|
114413
|
+
* Clears the field making it undefined.
|
|
114414
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0} returns this
|
|
114415
|
+
*/
|
|
114416
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0.prototype.clearTokenId = function() {
|
|
114417
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
114418
|
+
};
|
|
114419
|
+
|
|
114420
|
+
|
|
114421
|
+
/**
|
|
114422
|
+
* Returns whether this field is set.
|
|
114423
|
+
* @return {boolean}
|
|
114424
|
+
*/
|
|
114425
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0.prototype.hasTokenId = function() {
|
|
114426
|
+
return jspb.Message.getField(this, 4) != null;
|
|
114427
|
+
};
|
|
114428
|
+
|
|
114429
|
+
|
|
113746
114430
|
/**
|
|
113747
114431
|
* optional GetShieldedEncryptedNotesRequestV0 v0 = 1;
|
|
113748
114432
|
* @return {?proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0}
|
|
@@ -114882,7 +115566,8 @@ proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequ
|
|
|
114882
115566
|
*/
|
|
114883
115567
|
proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0.toObject = function(includeInstance, msg) {
|
|
114884
115568
|
var f, obj = {
|
|
114885
|
-
prove: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
115569
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
115570
|
+
tokenId: msg.getTokenId_asB64()
|
|
114886
115571
|
};
|
|
114887
115572
|
|
|
114888
115573
|
if (includeInstance) {
|
|
@@ -114923,6 +115608,10 @@ proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequ
|
|
|
114923
115608
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
114924
115609
|
msg.setProve(value);
|
|
114925
115610
|
break;
|
|
115611
|
+
case 2:
|
|
115612
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
115613
|
+
msg.setTokenId(value);
|
|
115614
|
+
break;
|
|
114926
115615
|
default:
|
|
114927
115616
|
reader.skipField();
|
|
114928
115617
|
break;
|
|
@@ -114959,6 +115648,13 @@ proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequ
|
|
|
114959
115648
|
f
|
|
114960
115649
|
);
|
|
114961
115650
|
}
|
|
115651
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
|
|
115652
|
+
if (f != null) {
|
|
115653
|
+
writer.writeBytes(
|
|
115654
|
+
2,
|
|
115655
|
+
f
|
|
115656
|
+
);
|
|
115657
|
+
}
|
|
114962
115658
|
};
|
|
114963
115659
|
|
|
114964
115660
|
|
|
@@ -114980,6 +115676,66 @@ proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequ
|
|
|
114980
115676
|
};
|
|
114981
115677
|
|
|
114982
115678
|
|
|
115679
|
+
/**
|
|
115680
|
+
* optional bytes token_id = 2;
|
|
115681
|
+
* @return {string}
|
|
115682
|
+
*/
|
|
115683
|
+
proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0.prototype.getTokenId = function() {
|
|
115684
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
115685
|
+
};
|
|
115686
|
+
|
|
115687
|
+
|
|
115688
|
+
/**
|
|
115689
|
+
* optional bytes token_id = 2;
|
|
115690
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
115691
|
+
* @return {string}
|
|
115692
|
+
*/
|
|
115693
|
+
proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0.prototype.getTokenId_asB64 = function() {
|
|
115694
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
115695
|
+
this.getTokenId()));
|
|
115696
|
+
};
|
|
115697
|
+
|
|
115698
|
+
|
|
115699
|
+
/**
|
|
115700
|
+
* optional bytes token_id = 2;
|
|
115701
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
115702
|
+
* @see http://caniuse.com/Uint8Array
|
|
115703
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
115704
|
+
* @return {!Uint8Array}
|
|
115705
|
+
*/
|
|
115706
|
+
proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0.prototype.getTokenId_asU8 = function() {
|
|
115707
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
115708
|
+
this.getTokenId()));
|
|
115709
|
+
};
|
|
115710
|
+
|
|
115711
|
+
|
|
115712
|
+
/**
|
|
115713
|
+
* @param {!(string|Uint8Array)} value
|
|
115714
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0} returns this
|
|
115715
|
+
*/
|
|
115716
|
+
proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0.prototype.setTokenId = function(value) {
|
|
115717
|
+
return jspb.Message.setField(this, 2, value);
|
|
115718
|
+
};
|
|
115719
|
+
|
|
115720
|
+
|
|
115721
|
+
/**
|
|
115722
|
+
* Clears the field making it undefined.
|
|
115723
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0} returns this
|
|
115724
|
+
*/
|
|
115725
|
+
proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0.prototype.clearTokenId = function() {
|
|
115726
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
115727
|
+
};
|
|
115728
|
+
|
|
115729
|
+
|
|
115730
|
+
/**
|
|
115731
|
+
* Returns whether this field is set.
|
|
115732
|
+
* @return {boolean}
|
|
115733
|
+
*/
|
|
115734
|
+
proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0.prototype.hasTokenId = function() {
|
|
115735
|
+
return jspb.Message.getField(this, 2) != null;
|
|
115736
|
+
};
|
|
115737
|
+
|
|
115738
|
+
|
|
114983
115739
|
/**
|
|
114984
115740
|
* optional GetShieldedAnchorsRequestV0 v0 = 1;
|
|
114985
115741
|
* @return {?proto.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0}
|
|
@@ -115823,7 +116579,8 @@ proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecent
|
|
|
115823
116579
|
*/
|
|
115824
116580
|
proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0.toObject = function(includeInstance, msg) {
|
|
115825
116581
|
var f, obj = {
|
|
115826
|
-
prove: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
116582
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
116583
|
+
tokenId: msg.getTokenId_asB64()
|
|
115827
116584
|
};
|
|
115828
116585
|
|
|
115829
116586
|
if (includeInstance) {
|
|
@@ -115864,6 +116621,10 @@ proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecent
|
|
|
115864
116621
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
115865
116622
|
msg.setProve(value);
|
|
115866
116623
|
break;
|
|
116624
|
+
case 2:
|
|
116625
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
116626
|
+
msg.setTokenId(value);
|
|
116627
|
+
break;
|
|
115867
116628
|
default:
|
|
115868
116629
|
reader.skipField();
|
|
115869
116630
|
break;
|
|
@@ -115900,6 +116661,13 @@ proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecent
|
|
|
115900
116661
|
f
|
|
115901
116662
|
);
|
|
115902
116663
|
}
|
|
116664
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
|
|
116665
|
+
if (f != null) {
|
|
116666
|
+
writer.writeBytes(
|
|
116667
|
+
2,
|
|
116668
|
+
f
|
|
116669
|
+
);
|
|
116670
|
+
}
|
|
115903
116671
|
};
|
|
115904
116672
|
|
|
115905
116673
|
|
|
@@ -115921,6 +116689,66 @@ proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecent
|
|
|
115921
116689
|
};
|
|
115922
116690
|
|
|
115923
116691
|
|
|
116692
|
+
/**
|
|
116693
|
+
* optional bytes token_id = 2;
|
|
116694
|
+
* @return {string}
|
|
116695
|
+
*/
|
|
116696
|
+
proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0.prototype.getTokenId = function() {
|
|
116697
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
116698
|
+
};
|
|
116699
|
+
|
|
116700
|
+
|
|
116701
|
+
/**
|
|
116702
|
+
* optional bytes token_id = 2;
|
|
116703
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
116704
|
+
* @return {string}
|
|
116705
|
+
*/
|
|
116706
|
+
proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0.prototype.getTokenId_asB64 = function() {
|
|
116707
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
116708
|
+
this.getTokenId()));
|
|
116709
|
+
};
|
|
116710
|
+
|
|
116711
|
+
|
|
116712
|
+
/**
|
|
116713
|
+
* optional bytes token_id = 2;
|
|
116714
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
116715
|
+
* @see http://caniuse.com/Uint8Array
|
|
116716
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
116717
|
+
* @return {!Uint8Array}
|
|
116718
|
+
*/
|
|
116719
|
+
proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0.prototype.getTokenId_asU8 = function() {
|
|
116720
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
116721
|
+
this.getTokenId()));
|
|
116722
|
+
};
|
|
116723
|
+
|
|
116724
|
+
|
|
116725
|
+
/**
|
|
116726
|
+
* @param {!(string|Uint8Array)} value
|
|
116727
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0} returns this
|
|
116728
|
+
*/
|
|
116729
|
+
proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0.prototype.setTokenId = function(value) {
|
|
116730
|
+
return jspb.Message.setField(this, 2, value);
|
|
116731
|
+
};
|
|
116732
|
+
|
|
116733
|
+
|
|
116734
|
+
/**
|
|
116735
|
+
* Clears the field making it undefined.
|
|
116736
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0} returns this
|
|
116737
|
+
*/
|
|
116738
|
+
proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0.prototype.clearTokenId = function() {
|
|
116739
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
116740
|
+
};
|
|
116741
|
+
|
|
116742
|
+
|
|
116743
|
+
/**
|
|
116744
|
+
* Returns whether this field is set.
|
|
116745
|
+
* @return {boolean}
|
|
116746
|
+
*/
|
|
116747
|
+
proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0.prototype.hasTokenId = function() {
|
|
116748
|
+
return jspb.Message.getField(this, 2) != null;
|
|
116749
|
+
};
|
|
116750
|
+
|
|
116751
|
+
|
|
115924
116752
|
/**
|
|
115925
116753
|
* optional GetMostRecentShieldedAnchorRequestV0 v0 = 1;
|
|
115926
116754
|
* @return {?proto.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0}
|
|
@@ -116605,7 +117433,8 @@ proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolState
|
|
|
116605
117433
|
*/
|
|
116606
117434
|
proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0.toObject = function(includeInstance, msg) {
|
|
116607
117435
|
var f, obj = {
|
|
116608
|
-
prove: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
117436
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
117437
|
+
tokenId: msg.getTokenId_asB64()
|
|
116609
117438
|
};
|
|
116610
117439
|
|
|
116611
117440
|
if (includeInstance) {
|
|
@@ -116646,6 +117475,10 @@ proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolState
|
|
|
116646
117475
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
116647
117476
|
msg.setProve(value);
|
|
116648
117477
|
break;
|
|
117478
|
+
case 2:
|
|
117479
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
117480
|
+
msg.setTokenId(value);
|
|
117481
|
+
break;
|
|
116649
117482
|
default:
|
|
116650
117483
|
reader.skipField();
|
|
116651
117484
|
break;
|
|
@@ -116682,6 +117515,13 @@ proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolState
|
|
|
116682
117515
|
f
|
|
116683
117516
|
);
|
|
116684
117517
|
}
|
|
117518
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
|
|
117519
|
+
if (f != null) {
|
|
117520
|
+
writer.writeBytes(
|
|
117521
|
+
2,
|
|
117522
|
+
f
|
|
117523
|
+
);
|
|
117524
|
+
}
|
|
116685
117525
|
};
|
|
116686
117526
|
|
|
116687
117527
|
|
|
@@ -116703,6 +117543,66 @@ proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolState
|
|
|
116703
117543
|
};
|
|
116704
117544
|
|
|
116705
117545
|
|
|
117546
|
+
/**
|
|
117547
|
+
* optional bytes token_id = 2;
|
|
117548
|
+
* @return {string}
|
|
117549
|
+
*/
|
|
117550
|
+
proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0.prototype.getTokenId = function() {
|
|
117551
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
117552
|
+
};
|
|
117553
|
+
|
|
117554
|
+
|
|
117555
|
+
/**
|
|
117556
|
+
* optional bytes token_id = 2;
|
|
117557
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
117558
|
+
* @return {string}
|
|
117559
|
+
*/
|
|
117560
|
+
proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0.prototype.getTokenId_asB64 = function() {
|
|
117561
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
117562
|
+
this.getTokenId()));
|
|
117563
|
+
};
|
|
117564
|
+
|
|
117565
|
+
|
|
117566
|
+
/**
|
|
117567
|
+
* optional bytes token_id = 2;
|
|
117568
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
117569
|
+
* @see http://caniuse.com/Uint8Array
|
|
117570
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
117571
|
+
* @return {!Uint8Array}
|
|
117572
|
+
*/
|
|
117573
|
+
proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0.prototype.getTokenId_asU8 = function() {
|
|
117574
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
117575
|
+
this.getTokenId()));
|
|
117576
|
+
};
|
|
117577
|
+
|
|
117578
|
+
|
|
117579
|
+
/**
|
|
117580
|
+
* @param {!(string|Uint8Array)} value
|
|
117581
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0} returns this
|
|
117582
|
+
*/
|
|
117583
|
+
proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0.prototype.setTokenId = function(value) {
|
|
117584
|
+
return jspb.Message.setField(this, 2, value);
|
|
117585
|
+
};
|
|
117586
|
+
|
|
117587
|
+
|
|
117588
|
+
/**
|
|
117589
|
+
* Clears the field making it undefined.
|
|
117590
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0} returns this
|
|
117591
|
+
*/
|
|
117592
|
+
proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0.prototype.clearTokenId = function() {
|
|
117593
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
117594
|
+
};
|
|
117595
|
+
|
|
117596
|
+
|
|
117597
|
+
/**
|
|
117598
|
+
* Returns whether this field is set.
|
|
117599
|
+
* @return {boolean}
|
|
117600
|
+
*/
|
|
117601
|
+
proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0.prototype.hasTokenId = function() {
|
|
117602
|
+
return jspb.Message.getField(this, 2) != null;
|
|
117603
|
+
};
|
|
117604
|
+
|
|
117605
|
+
|
|
116706
117606
|
/**
|
|
116707
117607
|
* optional GetShieldedPoolStateRequestV0 v0 = 1;
|
|
116708
117608
|
* @return {?proto.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0}
|
|
@@ -117363,7 +118263,8 @@ proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCou
|
|
|
117363
118263
|
*/
|
|
117364
118264
|
proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0.toObject = function(includeInstance, msg) {
|
|
117365
118265
|
var f, obj = {
|
|
117366
|
-
prove: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
118266
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
118267
|
+
tokenId: msg.getTokenId_asB64()
|
|
117367
118268
|
};
|
|
117368
118269
|
|
|
117369
118270
|
if (includeInstance) {
|
|
@@ -117404,6 +118305,10 @@ proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCou
|
|
|
117404
118305
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
117405
118306
|
msg.setProve(value);
|
|
117406
118307
|
break;
|
|
118308
|
+
case 2:
|
|
118309
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
118310
|
+
msg.setTokenId(value);
|
|
118311
|
+
break;
|
|
117407
118312
|
default:
|
|
117408
118313
|
reader.skipField();
|
|
117409
118314
|
break;
|
|
@@ -117440,6 +118345,13 @@ proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCou
|
|
|
117440
118345
|
f
|
|
117441
118346
|
);
|
|
117442
118347
|
}
|
|
118348
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
|
|
118349
|
+
if (f != null) {
|
|
118350
|
+
writer.writeBytes(
|
|
118351
|
+
2,
|
|
118352
|
+
f
|
|
118353
|
+
);
|
|
118354
|
+
}
|
|
117443
118355
|
};
|
|
117444
118356
|
|
|
117445
118357
|
|
|
@@ -117461,6 +118373,66 @@ proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCou
|
|
|
117461
118373
|
};
|
|
117462
118374
|
|
|
117463
118375
|
|
|
118376
|
+
/**
|
|
118377
|
+
* optional bytes token_id = 2;
|
|
118378
|
+
* @return {string}
|
|
118379
|
+
*/
|
|
118380
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0.prototype.getTokenId = function() {
|
|
118381
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
118382
|
+
};
|
|
118383
|
+
|
|
118384
|
+
|
|
118385
|
+
/**
|
|
118386
|
+
* optional bytes token_id = 2;
|
|
118387
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
118388
|
+
* @return {string}
|
|
118389
|
+
*/
|
|
118390
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0.prototype.getTokenId_asB64 = function() {
|
|
118391
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
118392
|
+
this.getTokenId()));
|
|
118393
|
+
};
|
|
118394
|
+
|
|
118395
|
+
|
|
118396
|
+
/**
|
|
118397
|
+
* optional bytes token_id = 2;
|
|
118398
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
118399
|
+
* @see http://caniuse.com/Uint8Array
|
|
118400
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
118401
|
+
* @return {!Uint8Array}
|
|
118402
|
+
*/
|
|
118403
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0.prototype.getTokenId_asU8 = function() {
|
|
118404
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
118405
|
+
this.getTokenId()));
|
|
118406
|
+
};
|
|
118407
|
+
|
|
118408
|
+
|
|
118409
|
+
/**
|
|
118410
|
+
* @param {!(string|Uint8Array)} value
|
|
118411
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0} returns this
|
|
118412
|
+
*/
|
|
118413
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0.prototype.setTokenId = function(value) {
|
|
118414
|
+
return jspb.Message.setField(this, 2, value);
|
|
118415
|
+
};
|
|
118416
|
+
|
|
118417
|
+
|
|
118418
|
+
/**
|
|
118419
|
+
* Clears the field making it undefined.
|
|
118420
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0} returns this
|
|
118421
|
+
*/
|
|
118422
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0.prototype.clearTokenId = function() {
|
|
118423
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
118424
|
+
};
|
|
118425
|
+
|
|
118426
|
+
|
|
118427
|
+
/**
|
|
118428
|
+
* Returns whether this field is set.
|
|
118429
|
+
* @return {boolean}
|
|
118430
|
+
*/
|
|
118431
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0.prototype.hasTokenId = function() {
|
|
118432
|
+
return jspb.Message.getField(this, 2) != null;
|
|
118433
|
+
};
|
|
118434
|
+
|
|
118435
|
+
|
|
117464
118436
|
/**
|
|
117465
118437
|
* optional GetShieldedNotesCountRequestV0 v0 = 1;
|
|
117466
118438
|
* @return {?proto.org.dash.platform.dapi.v0.GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0}
|
|
@@ -118129,7 +119101,8 @@ proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifie
|
|
|
118129
119101
|
proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0.toObject = function(includeInstance, msg) {
|
|
118130
119102
|
var f, obj = {
|
|
118131
119103
|
nullifiersList: msg.getNullifiersList_asB64(),
|
|
118132
|
-
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
119104
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
119105
|
+
tokenId: msg.getTokenId_asB64()
|
|
118133
119106
|
};
|
|
118134
119107
|
|
|
118135
119108
|
if (includeInstance) {
|
|
@@ -118174,6 +119147,10 @@ proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifie
|
|
|
118174
119147
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
118175
119148
|
msg.setProve(value);
|
|
118176
119149
|
break;
|
|
119150
|
+
case 3:
|
|
119151
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
119152
|
+
msg.setTokenId(value);
|
|
119153
|
+
break;
|
|
118177
119154
|
default:
|
|
118178
119155
|
reader.skipField();
|
|
118179
119156
|
break;
|
|
@@ -118217,6 +119194,13 @@ proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifie
|
|
|
118217
119194
|
f
|
|
118218
119195
|
);
|
|
118219
119196
|
}
|
|
119197
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 3));
|
|
119198
|
+
if (f != null) {
|
|
119199
|
+
writer.writeBytes(
|
|
119200
|
+
3,
|
|
119201
|
+
f
|
|
119202
|
+
);
|
|
119203
|
+
}
|
|
118220
119204
|
};
|
|
118221
119205
|
|
|
118222
119206
|
|
|
@@ -118299,6 +119283,66 @@ proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifie
|
|
|
118299
119283
|
};
|
|
118300
119284
|
|
|
118301
119285
|
|
|
119286
|
+
/**
|
|
119287
|
+
* optional bytes token_id = 3;
|
|
119288
|
+
* @return {string}
|
|
119289
|
+
*/
|
|
119290
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0.prototype.getTokenId = function() {
|
|
119291
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
119292
|
+
};
|
|
119293
|
+
|
|
119294
|
+
|
|
119295
|
+
/**
|
|
119296
|
+
* optional bytes token_id = 3;
|
|
119297
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
119298
|
+
* @return {string}
|
|
119299
|
+
*/
|
|
119300
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0.prototype.getTokenId_asB64 = function() {
|
|
119301
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
119302
|
+
this.getTokenId()));
|
|
119303
|
+
};
|
|
119304
|
+
|
|
119305
|
+
|
|
119306
|
+
/**
|
|
119307
|
+
* optional bytes token_id = 3;
|
|
119308
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
119309
|
+
* @see http://caniuse.com/Uint8Array
|
|
119310
|
+
* This is a type-conversion wrapper around `getTokenId()`
|
|
119311
|
+
* @return {!Uint8Array}
|
|
119312
|
+
*/
|
|
119313
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0.prototype.getTokenId_asU8 = function() {
|
|
119314
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
119315
|
+
this.getTokenId()));
|
|
119316
|
+
};
|
|
119317
|
+
|
|
119318
|
+
|
|
119319
|
+
/**
|
|
119320
|
+
* @param {!(string|Uint8Array)} value
|
|
119321
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0} returns this
|
|
119322
|
+
*/
|
|
119323
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0.prototype.setTokenId = function(value) {
|
|
119324
|
+
return jspb.Message.setField(this, 3, value);
|
|
119325
|
+
};
|
|
119326
|
+
|
|
119327
|
+
|
|
119328
|
+
/**
|
|
119329
|
+
* Clears the field making it undefined.
|
|
119330
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0} returns this
|
|
119331
|
+
*/
|
|
119332
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0.prototype.clearTokenId = function() {
|
|
119333
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
119334
|
+
};
|
|
119335
|
+
|
|
119336
|
+
|
|
119337
|
+
/**
|
|
119338
|
+
* Returns whether this field is set.
|
|
119339
|
+
* @return {boolean}
|
|
119340
|
+
*/
|
|
119341
|
+
proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0.prototype.hasTokenId = function() {
|
|
119342
|
+
return jspb.Message.getField(this, 3) != null;
|
|
119343
|
+
};
|
|
119344
|
+
|
|
119345
|
+
|
|
118302
119346
|
/**
|
|
118303
119347
|
* optional GetShieldedNullifiersRequestV0 v0 = 1;
|
|
118304
119348
|
* @return {?proto.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0}
|