@ocap/proto 1.21.3 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gen/service.graphqls +1827 -0
- package/lib/gen/spec.json +350 -3
- package/lib/gen/state_pb.js +605 -0
- package/lib/gen/trace-type_pb.js +834 -0
- package/lib/gen/tx_pb.js +1564 -172
- package/lib/gen/type_pb.js +363 -1
- package/lib/index.d.ts +48 -32
- package/package.json +1 -1
package/lib/gen/trace-type_pb.js
CHANGED
|
@@ -49,6 +49,7 @@ goog.exportSymbol('proto.ocap.IndexedRollupBlock', null, root);
|
|
|
49
49
|
goog.exportSymbol('proto.ocap.IndexedRollupState', null, root);
|
|
50
50
|
goog.exportSymbol('proto.ocap.IndexedRollupValidator', null, root);
|
|
51
51
|
goog.exportSymbol('proto.ocap.IndexedStakeState', null, root);
|
|
52
|
+
goog.exportSymbol('proto.ocap.IndexedTokenFactoryState', null, root);
|
|
52
53
|
goog.exportSymbol('proto.ocap.IndexedTokenFlow', null, root);
|
|
53
54
|
goog.exportSymbol('proto.ocap.IndexedTokenState', null, root);
|
|
54
55
|
goog.exportSymbol('proto.ocap.IndexedTransaction', null, root);
|
|
@@ -61,6 +62,7 @@ goog.exportSymbol('proto.ocap.SearchResult', null, root);
|
|
|
61
62
|
goog.exportSymbol('proto.ocap.StakeFilter', null, root);
|
|
62
63
|
goog.exportSymbol('proto.ocap.TimeFilter', null, root);
|
|
63
64
|
goog.exportSymbol('proto.ocap.TokenDistribution', null, root);
|
|
65
|
+
goog.exportSymbol('proto.ocap.TokenFactoryFilter', null, root);
|
|
64
66
|
goog.exportSymbol('proto.ocap.TokenFilter', null, root);
|
|
65
67
|
goog.exportSymbol('proto.ocap.TokenFlowDirection', null, root);
|
|
66
68
|
goog.exportSymbol('proto.ocap.TokenInfo', null, root);
|
|
@@ -323,6 +325,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
323
325
|
*/
|
|
324
326
|
proto.ocap.ValidatorFilter.displayName = 'proto.ocap.ValidatorFilter';
|
|
325
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* Generated by JsPbCodeGenerator.
|
|
330
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
331
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
332
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
333
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
334
|
+
* valid.
|
|
335
|
+
* @extends {jspb.Message}
|
|
336
|
+
* @constructor
|
|
337
|
+
*/
|
|
338
|
+
proto.ocap.TokenFactoryFilter = function(opt_data) {
|
|
339
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ocap.TokenFactoryFilter.repeatedFields_, null);
|
|
340
|
+
};
|
|
341
|
+
goog.inherits(proto.ocap.TokenFactoryFilter, jspb.Message);
|
|
342
|
+
if (goog.DEBUG && !COMPILED) {
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
* @override
|
|
346
|
+
*/
|
|
347
|
+
proto.ocap.TokenFactoryFilter.displayName = 'proto.ocap.TokenFactoryFilter';
|
|
348
|
+
}
|
|
326
349
|
/**
|
|
327
350
|
* Generated by JsPbCodeGenerator.
|
|
328
351
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -617,6 +640,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
617
640
|
*/
|
|
618
641
|
proto.ocap.IndexedTokenState.displayName = 'proto.ocap.IndexedTokenState';
|
|
619
642
|
}
|
|
643
|
+
/**
|
|
644
|
+
* Generated by JsPbCodeGenerator.
|
|
645
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
646
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
647
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
648
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
649
|
+
* valid.
|
|
650
|
+
* @extends {jspb.Message}
|
|
651
|
+
* @constructor
|
|
652
|
+
*/
|
|
653
|
+
proto.ocap.IndexedTokenFactoryState = function(opt_data) {
|
|
654
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
655
|
+
};
|
|
656
|
+
goog.inherits(proto.ocap.IndexedTokenFactoryState, jspb.Message);
|
|
657
|
+
if (goog.DEBUG && !COMPILED) {
|
|
658
|
+
/**
|
|
659
|
+
* @public
|
|
660
|
+
* @override
|
|
661
|
+
*/
|
|
662
|
+
proto.ocap.IndexedTokenFactoryState.displayName = 'proto.ocap.IndexedTokenFactoryState';
|
|
663
|
+
}
|
|
620
664
|
/**
|
|
621
665
|
* Generated by JsPbCodeGenerator.
|
|
622
666
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2789,6 +2833,162 @@ proto.ocap.ValidatorFilter.prototype.clearValidatorsList = function() {
|
|
|
2789
2833
|
|
|
2790
2834
|
|
|
2791
2835
|
|
|
2836
|
+
/**
|
|
2837
|
+
* List of repeated fields within this message type.
|
|
2838
|
+
* @private {!Array<number>}
|
|
2839
|
+
* @const
|
|
2840
|
+
*/
|
|
2841
|
+
proto.ocap.TokenFactoryFilter.repeatedFields_ = [1];
|
|
2842
|
+
|
|
2843
|
+
|
|
2844
|
+
|
|
2845
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2846
|
+
/**
|
|
2847
|
+
* Creates an object representation of this proto.
|
|
2848
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2849
|
+
* Optional fields that are not set will be set to undefined.
|
|
2850
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2851
|
+
* For the list of reserved names please see:
|
|
2852
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2853
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2854
|
+
* JSPB instance for transitional soy proto support:
|
|
2855
|
+
* http://goto/soy-param-migration
|
|
2856
|
+
* @return {!Object}
|
|
2857
|
+
*/
|
|
2858
|
+
proto.ocap.TokenFactoryFilter.prototype.toObject = function(opt_includeInstance) {
|
|
2859
|
+
return proto.ocap.TokenFactoryFilter.toObject(opt_includeInstance, this);
|
|
2860
|
+
};
|
|
2861
|
+
|
|
2862
|
+
|
|
2863
|
+
/**
|
|
2864
|
+
* Static version of the {@see toObject} method.
|
|
2865
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2866
|
+
* the JSPB instance for transitional soy proto support:
|
|
2867
|
+
* http://goto/soy-param-migration
|
|
2868
|
+
* @param {!proto.ocap.TokenFactoryFilter} msg The msg instance to transform.
|
|
2869
|
+
* @return {!Object}
|
|
2870
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2871
|
+
*/
|
|
2872
|
+
proto.ocap.TokenFactoryFilter.toObject = function(includeInstance, msg) {
|
|
2873
|
+
var f, obj = {
|
|
2874
|
+
tokenFactoriesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2875
|
+
};
|
|
2876
|
+
|
|
2877
|
+
if (includeInstance) {
|
|
2878
|
+
obj.$jspbMessageInstance = msg;
|
|
2879
|
+
}
|
|
2880
|
+
return obj;
|
|
2881
|
+
};
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
/**
|
|
2886
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2887
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2888
|
+
* @return {!proto.ocap.TokenFactoryFilter}
|
|
2889
|
+
*/
|
|
2890
|
+
proto.ocap.TokenFactoryFilter.deserializeBinary = function(bytes) {
|
|
2891
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2892
|
+
var msg = new proto.ocap.TokenFactoryFilter;
|
|
2893
|
+
return proto.ocap.TokenFactoryFilter.deserializeBinaryFromReader(msg, reader);
|
|
2894
|
+
};
|
|
2895
|
+
|
|
2896
|
+
|
|
2897
|
+
/**
|
|
2898
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2899
|
+
* given reader into the given message object.
|
|
2900
|
+
* @param {!proto.ocap.TokenFactoryFilter} msg The message object to deserialize into.
|
|
2901
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2902
|
+
* @return {!proto.ocap.TokenFactoryFilter}
|
|
2903
|
+
*/
|
|
2904
|
+
proto.ocap.TokenFactoryFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
2905
|
+
while (reader.nextField()) {
|
|
2906
|
+
if (reader.isEndGroup()) {
|
|
2907
|
+
break;
|
|
2908
|
+
}
|
|
2909
|
+
var field = reader.getFieldNumber();
|
|
2910
|
+
switch (field) {
|
|
2911
|
+
case 1:
|
|
2912
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2913
|
+
msg.addTokenFactories(value);
|
|
2914
|
+
break;
|
|
2915
|
+
default:
|
|
2916
|
+
reader.skipField();
|
|
2917
|
+
break;
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
return msg;
|
|
2921
|
+
};
|
|
2922
|
+
|
|
2923
|
+
|
|
2924
|
+
/**
|
|
2925
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2926
|
+
* @return {!Uint8Array}
|
|
2927
|
+
*/
|
|
2928
|
+
proto.ocap.TokenFactoryFilter.prototype.serializeBinary = function() {
|
|
2929
|
+
var writer = new jspb.BinaryWriter();
|
|
2930
|
+
proto.ocap.TokenFactoryFilter.serializeBinaryToWriter(this, writer);
|
|
2931
|
+
return writer.getResultBuffer();
|
|
2932
|
+
};
|
|
2933
|
+
|
|
2934
|
+
|
|
2935
|
+
/**
|
|
2936
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2937
|
+
* format), writing to the given BinaryWriter.
|
|
2938
|
+
* @param {!proto.ocap.TokenFactoryFilter} message
|
|
2939
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2940
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2941
|
+
*/
|
|
2942
|
+
proto.ocap.TokenFactoryFilter.serializeBinaryToWriter = function(message, writer) {
|
|
2943
|
+
var f = undefined;
|
|
2944
|
+
f = message.getTokenFactoriesList();
|
|
2945
|
+
if (f.length > 0) {
|
|
2946
|
+
writer.writeRepeatedString(
|
|
2947
|
+
1,
|
|
2948
|
+
f
|
|
2949
|
+
);
|
|
2950
|
+
}
|
|
2951
|
+
};
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
/**
|
|
2955
|
+
* repeated string token_factories = 1;
|
|
2956
|
+
* @return {!Array<string>}
|
|
2957
|
+
*/
|
|
2958
|
+
proto.ocap.TokenFactoryFilter.prototype.getTokenFactoriesList = function() {
|
|
2959
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2960
|
+
};
|
|
2961
|
+
|
|
2962
|
+
|
|
2963
|
+
/**
|
|
2964
|
+
* @param {!Array<string>} value
|
|
2965
|
+
* @return {!proto.ocap.TokenFactoryFilter} returns this
|
|
2966
|
+
*/
|
|
2967
|
+
proto.ocap.TokenFactoryFilter.prototype.setTokenFactoriesList = function(value) {
|
|
2968
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2969
|
+
};
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
/**
|
|
2973
|
+
* @param {string} value
|
|
2974
|
+
* @param {number=} opt_index
|
|
2975
|
+
* @return {!proto.ocap.TokenFactoryFilter} returns this
|
|
2976
|
+
*/
|
|
2977
|
+
proto.ocap.TokenFactoryFilter.prototype.addTokenFactories = function(value, opt_index) {
|
|
2978
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2979
|
+
};
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
/**
|
|
2983
|
+
* Clears the list making it empty but non-null.
|
|
2984
|
+
* @return {!proto.ocap.TokenFactoryFilter} returns this
|
|
2985
|
+
*/
|
|
2986
|
+
proto.ocap.TokenFactoryFilter.prototype.clearTokenFactoriesList = function() {
|
|
2987
|
+
return this.setTokenFactoriesList([]);
|
|
2988
|
+
};
|
|
2989
|
+
|
|
2990
|
+
|
|
2991
|
+
|
|
2792
2992
|
|
|
2793
2993
|
|
|
2794
2994
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -6498,6 +6698,7 @@ proto.ocap.IndexedTokenState.toObject = function(includeInstance, msg) {
|
|
|
6498
6698
|
genesisTime: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
6499
6699
|
renaissanceTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
6500
6700
|
foreignToken: (f = msg.getForeignToken()) && type_pb.ForeignToken.toObject(includeInstance, f),
|
|
6701
|
+
tokenFactoryAddress: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
6501
6702
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
6502
6703
|
};
|
|
6503
6704
|
|
|
@@ -6584,6 +6785,10 @@ proto.ocap.IndexedTokenState.deserializeBinaryFromReader = function(msg, reader)
|
|
|
6584
6785
|
reader.readMessage(value,type_pb.ForeignToken.deserializeBinaryFromReader);
|
|
6585
6786
|
msg.setForeignToken(value);
|
|
6586
6787
|
break;
|
|
6788
|
+
case 14:
|
|
6789
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6790
|
+
msg.setTokenFactoryAddress(value);
|
|
6791
|
+
break;
|
|
6587
6792
|
case 50:
|
|
6588
6793
|
var value = new google_protobuf_any_pb.Any;
|
|
6589
6794
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -6703,6 +6908,13 @@ proto.ocap.IndexedTokenState.serializeBinaryToWriter = function(message, writer)
|
|
|
6703
6908
|
type_pb.ForeignToken.serializeBinaryToWriter
|
|
6704
6909
|
);
|
|
6705
6910
|
}
|
|
6911
|
+
f = message.getTokenFactoryAddress();
|
|
6912
|
+
if (f.length > 0) {
|
|
6913
|
+
writer.writeString(
|
|
6914
|
+
14,
|
|
6915
|
+
f
|
|
6916
|
+
);
|
|
6917
|
+
}
|
|
6706
6918
|
f = message.getData();
|
|
6707
6919
|
if (f != null) {
|
|
6708
6920
|
writer.writeMessage(
|
|
@@ -6949,6 +7161,24 @@ proto.ocap.IndexedTokenState.prototype.hasForeignToken = function() {
|
|
|
6949
7161
|
};
|
|
6950
7162
|
|
|
6951
7163
|
|
|
7164
|
+
/**
|
|
7165
|
+
* optional string token_factory_address = 14;
|
|
7166
|
+
* @return {string}
|
|
7167
|
+
*/
|
|
7168
|
+
proto.ocap.IndexedTokenState.prototype.getTokenFactoryAddress = function() {
|
|
7169
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
7170
|
+
};
|
|
7171
|
+
|
|
7172
|
+
|
|
7173
|
+
/**
|
|
7174
|
+
* @param {string} value
|
|
7175
|
+
* @return {!proto.ocap.IndexedTokenState} returns this
|
|
7176
|
+
*/
|
|
7177
|
+
proto.ocap.IndexedTokenState.prototype.setTokenFactoryAddress = function(value) {
|
|
7178
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
7179
|
+
};
|
|
7180
|
+
|
|
7181
|
+
|
|
6952
7182
|
/**
|
|
6953
7183
|
* optional google.protobuf.Any data = 50;
|
|
6954
7184
|
* @return {?proto.google.protobuf.Any}
|
|
@@ -6987,6 +7217,610 @@ proto.ocap.IndexedTokenState.prototype.hasData = function() {
|
|
|
6987
7217
|
|
|
6988
7218
|
|
|
6989
7219
|
|
|
7220
|
+
|
|
7221
|
+
|
|
7222
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7223
|
+
/**
|
|
7224
|
+
* Creates an object representation of this proto.
|
|
7225
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7226
|
+
* Optional fields that are not set will be set to undefined.
|
|
7227
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7228
|
+
* For the list of reserved names please see:
|
|
7229
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7230
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7231
|
+
* JSPB instance for transitional soy proto support:
|
|
7232
|
+
* http://goto/soy-param-migration
|
|
7233
|
+
* @return {!Object}
|
|
7234
|
+
*/
|
|
7235
|
+
proto.ocap.IndexedTokenFactoryState.prototype.toObject = function(opt_includeInstance) {
|
|
7236
|
+
return proto.ocap.IndexedTokenFactoryState.toObject(opt_includeInstance, this);
|
|
7237
|
+
};
|
|
7238
|
+
|
|
7239
|
+
|
|
7240
|
+
/**
|
|
7241
|
+
* Static version of the {@see toObject} method.
|
|
7242
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7243
|
+
* the JSPB instance for transitional soy proto support:
|
|
7244
|
+
* http://goto/soy-param-migration
|
|
7245
|
+
* @param {!proto.ocap.IndexedTokenFactoryState} msg The msg instance to transform.
|
|
7246
|
+
* @return {!Object}
|
|
7247
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7248
|
+
*/
|
|
7249
|
+
proto.ocap.IndexedTokenFactoryState.toObject = function(includeInstance, msg) {
|
|
7250
|
+
var f, obj = {
|
|
7251
|
+
address: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7252
|
+
owner: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7253
|
+
tokenAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7254
|
+
reserveAddress: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7255
|
+
curve: (f = msg.getCurve()) && type_pb.CurveConfig.toObject(includeInstance, f),
|
|
7256
|
+
feeRate: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
7257
|
+
currentSupply: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
7258
|
+
reserveBalance: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
7259
|
+
status: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
7260
|
+
genesisTime: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
7261
|
+
renaissanceTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
7262
|
+
token: (f = msg.getToken()) && type_pb.IndexedTokenInput.toObject(includeInstance, f),
|
|
7263
|
+
reserveToken: (f = msg.getReserveToken()) && type_pb.IndexedTokenInput.toObject(includeInstance, f),
|
|
7264
|
+
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
7265
|
+
};
|
|
7266
|
+
|
|
7267
|
+
if (includeInstance) {
|
|
7268
|
+
obj.$jspbMessageInstance = msg;
|
|
7269
|
+
}
|
|
7270
|
+
return obj;
|
|
7271
|
+
};
|
|
7272
|
+
}
|
|
7273
|
+
|
|
7274
|
+
|
|
7275
|
+
/**
|
|
7276
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7277
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7278
|
+
* @return {!proto.ocap.IndexedTokenFactoryState}
|
|
7279
|
+
*/
|
|
7280
|
+
proto.ocap.IndexedTokenFactoryState.deserializeBinary = function(bytes) {
|
|
7281
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7282
|
+
var msg = new proto.ocap.IndexedTokenFactoryState;
|
|
7283
|
+
return proto.ocap.IndexedTokenFactoryState.deserializeBinaryFromReader(msg, reader);
|
|
7284
|
+
};
|
|
7285
|
+
|
|
7286
|
+
|
|
7287
|
+
/**
|
|
7288
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7289
|
+
* given reader into the given message object.
|
|
7290
|
+
* @param {!proto.ocap.IndexedTokenFactoryState} msg The message object to deserialize into.
|
|
7291
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7292
|
+
* @return {!proto.ocap.IndexedTokenFactoryState}
|
|
7293
|
+
*/
|
|
7294
|
+
proto.ocap.IndexedTokenFactoryState.deserializeBinaryFromReader = function(msg, reader) {
|
|
7295
|
+
while (reader.nextField()) {
|
|
7296
|
+
if (reader.isEndGroup()) {
|
|
7297
|
+
break;
|
|
7298
|
+
}
|
|
7299
|
+
var field = reader.getFieldNumber();
|
|
7300
|
+
switch (field) {
|
|
7301
|
+
case 1:
|
|
7302
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7303
|
+
msg.setAddress(value);
|
|
7304
|
+
break;
|
|
7305
|
+
case 2:
|
|
7306
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7307
|
+
msg.setOwner(value);
|
|
7308
|
+
break;
|
|
7309
|
+
case 3:
|
|
7310
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7311
|
+
msg.setTokenAddress(value);
|
|
7312
|
+
break;
|
|
7313
|
+
case 4:
|
|
7314
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7315
|
+
msg.setReserveAddress(value);
|
|
7316
|
+
break;
|
|
7317
|
+
case 5:
|
|
7318
|
+
var value = new type_pb.CurveConfig;
|
|
7319
|
+
reader.readMessage(value,type_pb.CurveConfig.deserializeBinaryFromReader);
|
|
7320
|
+
msg.setCurve(value);
|
|
7321
|
+
break;
|
|
7322
|
+
case 6:
|
|
7323
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7324
|
+
msg.setFeeRate(value);
|
|
7325
|
+
break;
|
|
7326
|
+
case 7:
|
|
7327
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7328
|
+
msg.setCurrentSupply(value);
|
|
7329
|
+
break;
|
|
7330
|
+
case 8:
|
|
7331
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7332
|
+
msg.setReserveBalance(value);
|
|
7333
|
+
break;
|
|
7334
|
+
case 9:
|
|
7335
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7336
|
+
msg.setStatus(value);
|
|
7337
|
+
break;
|
|
7338
|
+
case 10:
|
|
7339
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7340
|
+
msg.setGenesisTime(value);
|
|
7341
|
+
break;
|
|
7342
|
+
case 11:
|
|
7343
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7344
|
+
msg.setRenaissanceTime(value);
|
|
7345
|
+
break;
|
|
7346
|
+
case 12:
|
|
7347
|
+
var value = new type_pb.IndexedTokenInput;
|
|
7348
|
+
reader.readMessage(value,type_pb.IndexedTokenInput.deserializeBinaryFromReader);
|
|
7349
|
+
msg.setToken(value);
|
|
7350
|
+
break;
|
|
7351
|
+
case 13:
|
|
7352
|
+
var value = new type_pb.IndexedTokenInput;
|
|
7353
|
+
reader.readMessage(value,type_pb.IndexedTokenInput.deserializeBinaryFromReader);
|
|
7354
|
+
msg.setReserveToken(value);
|
|
7355
|
+
break;
|
|
7356
|
+
case 50:
|
|
7357
|
+
var value = new google_protobuf_any_pb.Any;
|
|
7358
|
+
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
7359
|
+
msg.setData(value);
|
|
7360
|
+
break;
|
|
7361
|
+
default:
|
|
7362
|
+
reader.skipField();
|
|
7363
|
+
break;
|
|
7364
|
+
}
|
|
7365
|
+
}
|
|
7366
|
+
return msg;
|
|
7367
|
+
};
|
|
7368
|
+
|
|
7369
|
+
|
|
7370
|
+
/**
|
|
7371
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7372
|
+
* @return {!Uint8Array}
|
|
7373
|
+
*/
|
|
7374
|
+
proto.ocap.IndexedTokenFactoryState.prototype.serializeBinary = function() {
|
|
7375
|
+
var writer = new jspb.BinaryWriter();
|
|
7376
|
+
proto.ocap.IndexedTokenFactoryState.serializeBinaryToWriter(this, writer);
|
|
7377
|
+
return writer.getResultBuffer();
|
|
7378
|
+
};
|
|
7379
|
+
|
|
7380
|
+
|
|
7381
|
+
/**
|
|
7382
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7383
|
+
* format), writing to the given BinaryWriter.
|
|
7384
|
+
* @param {!proto.ocap.IndexedTokenFactoryState} message
|
|
7385
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7386
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7387
|
+
*/
|
|
7388
|
+
proto.ocap.IndexedTokenFactoryState.serializeBinaryToWriter = function(message, writer) {
|
|
7389
|
+
var f = undefined;
|
|
7390
|
+
f = message.getAddress();
|
|
7391
|
+
if (f.length > 0) {
|
|
7392
|
+
writer.writeString(
|
|
7393
|
+
1,
|
|
7394
|
+
f
|
|
7395
|
+
);
|
|
7396
|
+
}
|
|
7397
|
+
f = message.getOwner();
|
|
7398
|
+
if (f.length > 0) {
|
|
7399
|
+
writer.writeString(
|
|
7400
|
+
2,
|
|
7401
|
+
f
|
|
7402
|
+
);
|
|
7403
|
+
}
|
|
7404
|
+
f = message.getTokenAddress();
|
|
7405
|
+
if (f.length > 0) {
|
|
7406
|
+
writer.writeString(
|
|
7407
|
+
3,
|
|
7408
|
+
f
|
|
7409
|
+
);
|
|
7410
|
+
}
|
|
7411
|
+
f = message.getReserveAddress();
|
|
7412
|
+
if (f.length > 0) {
|
|
7413
|
+
writer.writeString(
|
|
7414
|
+
4,
|
|
7415
|
+
f
|
|
7416
|
+
);
|
|
7417
|
+
}
|
|
7418
|
+
f = message.getCurve();
|
|
7419
|
+
if (f != null) {
|
|
7420
|
+
writer.writeMessage(
|
|
7421
|
+
5,
|
|
7422
|
+
f,
|
|
7423
|
+
type_pb.CurveConfig.serializeBinaryToWriter
|
|
7424
|
+
);
|
|
7425
|
+
}
|
|
7426
|
+
f = message.getFeeRate();
|
|
7427
|
+
if (f !== 0) {
|
|
7428
|
+
writer.writeInt32(
|
|
7429
|
+
6,
|
|
7430
|
+
f
|
|
7431
|
+
);
|
|
7432
|
+
}
|
|
7433
|
+
f = message.getCurrentSupply();
|
|
7434
|
+
if (f.length > 0) {
|
|
7435
|
+
writer.writeString(
|
|
7436
|
+
7,
|
|
7437
|
+
f
|
|
7438
|
+
);
|
|
7439
|
+
}
|
|
7440
|
+
f = message.getReserveBalance();
|
|
7441
|
+
if (f.length > 0) {
|
|
7442
|
+
writer.writeString(
|
|
7443
|
+
8,
|
|
7444
|
+
f
|
|
7445
|
+
);
|
|
7446
|
+
}
|
|
7447
|
+
f = message.getStatus();
|
|
7448
|
+
if (f.length > 0) {
|
|
7449
|
+
writer.writeString(
|
|
7450
|
+
9,
|
|
7451
|
+
f
|
|
7452
|
+
);
|
|
7453
|
+
}
|
|
7454
|
+
f = message.getGenesisTime();
|
|
7455
|
+
if (f.length > 0) {
|
|
7456
|
+
writer.writeString(
|
|
7457
|
+
10,
|
|
7458
|
+
f
|
|
7459
|
+
);
|
|
7460
|
+
}
|
|
7461
|
+
f = message.getRenaissanceTime();
|
|
7462
|
+
if (f.length > 0) {
|
|
7463
|
+
writer.writeString(
|
|
7464
|
+
11,
|
|
7465
|
+
f
|
|
7466
|
+
);
|
|
7467
|
+
}
|
|
7468
|
+
f = message.getToken();
|
|
7469
|
+
if (f != null) {
|
|
7470
|
+
writer.writeMessage(
|
|
7471
|
+
12,
|
|
7472
|
+
f,
|
|
7473
|
+
type_pb.IndexedTokenInput.serializeBinaryToWriter
|
|
7474
|
+
);
|
|
7475
|
+
}
|
|
7476
|
+
f = message.getReserveToken();
|
|
7477
|
+
if (f != null) {
|
|
7478
|
+
writer.writeMessage(
|
|
7479
|
+
13,
|
|
7480
|
+
f,
|
|
7481
|
+
type_pb.IndexedTokenInput.serializeBinaryToWriter
|
|
7482
|
+
);
|
|
7483
|
+
}
|
|
7484
|
+
f = message.getData();
|
|
7485
|
+
if (f != null) {
|
|
7486
|
+
writer.writeMessage(
|
|
7487
|
+
50,
|
|
7488
|
+
f,
|
|
7489
|
+
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
7490
|
+
);
|
|
7491
|
+
}
|
|
7492
|
+
};
|
|
7493
|
+
|
|
7494
|
+
|
|
7495
|
+
/**
|
|
7496
|
+
* optional string address = 1;
|
|
7497
|
+
* @return {string}
|
|
7498
|
+
*/
|
|
7499
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getAddress = function() {
|
|
7500
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7501
|
+
};
|
|
7502
|
+
|
|
7503
|
+
|
|
7504
|
+
/**
|
|
7505
|
+
* @param {string} value
|
|
7506
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7507
|
+
*/
|
|
7508
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setAddress = function(value) {
|
|
7509
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7510
|
+
};
|
|
7511
|
+
|
|
7512
|
+
|
|
7513
|
+
/**
|
|
7514
|
+
* optional string owner = 2;
|
|
7515
|
+
* @return {string}
|
|
7516
|
+
*/
|
|
7517
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getOwner = function() {
|
|
7518
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7519
|
+
};
|
|
7520
|
+
|
|
7521
|
+
|
|
7522
|
+
/**
|
|
7523
|
+
* @param {string} value
|
|
7524
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7525
|
+
*/
|
|
7526
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setOwner = function(value) {
|
|
7527
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7528
|
+
};
|
|
7529
|
+
|
|
7530
|
+
|
|
7531
|
+
/**
|
|
7532
|
+
* optional string token_address = 3;
|
|
7533
|
+
* @return {string}
|
|
7534
|
+
*/
|
|
7535
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getTokenAddress = function() {
|
|
7536
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7537
|
+
};
|
|
7538
|
+
|
|
7539
|
+
|
|
7540
|
+
/**
|
|
7541
|
+
* @param {string} value
|
|
7542
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7543
|
+
*/
|
|
7544
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setTokenAddress = function(value) {
|
|
7545
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7546
|
+
};
|
|
7547
|
+
|
|
7548
|
+
|
|
7549
|
+
/**
|
|
7550
|
+
* optional string reserve_address = 4;
|
|
7551
|
+
* @return {string}
|
|
7552
|
+
*/
|
|
7553
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getReserveAddress = function() {
|
|
7554
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7555
|
+
};
|
|
7556
|
+
|
|
7557
|
+
|
|
7558
|
+
/**
|
|
7559
|
+
* @param {string} value
|
|
7560
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7561
|
+
*/
|
|
7562
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setReserveAddress = function(value) {
|
|
7563
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
7564
|
+
};
|
|
7565
|
+
|
|
7566
|
+
|
|
7567
|
+
/**
|
|
7568
|
+
* optional CurveConfig curve = 5;
|
|
7569
|
+
* @return {?proto.ocap.CurveConfig}
|
|
7570
|
+
*/
|
|
7571
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getCurve = function() {
|
|
7572
|
+
return /** @type{?proto.ocap.CurveConfig} */ (
|
|
7573
|
+
jspb.Message.getWrapperField(this, type_pb.CurveConfig, 5));
|
|
7574
|
+
};
|
|
7575
|
+
|
|
7576
|
+
|
|
7577
|
+
/**
|
|
7578
|
+
* @param {?proto.ocap.CurveConfig|undefined} value
|
|
7579
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7580
|
+
*/
|
|
7581
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setCurve = function(value) {
|
|
7582
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
7583
|
+
};
|
|
7584
|
+
|
|
7585
|
+
|
|
7586
|
+
/**
|
|
7587
|
+
* Clears the message field making it undefined.
|
|
7588
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7589
|
+
*/
|
|
7590
|
+
proto.ocap.IndexedTokenFactoryState.prototype.clearCurve = function() {
|
|
7591
|
+
return this.setCurve(undefined);
|
|
7592
|
+
};
|
|
7593
|
+
|
|
7594
|
+
|
|
7595
|
+
/**
|
|
7596
|
+
* Returns whether this field is set.
|
|
7597
|
+
* @return {boolean}
|
|
7598
|
+
*/
|
|
7599
|
+
proto.ocap.IndexedTokenFactoryState.prototype.hasCurve = function() {
|
|
7600
|
+
return jspb.Message.getField(this, 5) != null;
|
|
7601
|
+
};
|
|
7602
|
+
|
|
7603
|
+
|
|
7604
|
+
/**
|
|
7605
|
+
* optional int32 fee_rate = 6;
|
|
7606
|
+
* @return {number}
|
|
7607
|
+
*/
|
|
7608
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getFeeRate = function() {
|
|
7609
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
7610
|
+
};
|
|
7611
|
+
|
|
7612
|
+
|
|
7613
|
+
/**
|
|
7614
|
+
* @param {number} value
|
|
7615
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7616
|
+
*/
|
|
7617
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setFeeRate = function(value) {
|
|
7618
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
7619
|
+
};
|
|
7620
|
+
|
|
7621
|
+
|
|
7622
|
+
/**
|
|
7623
|
+
* optional string current_supply = 7;
|
|
7624
|
+
* @return {string}
|
|
7625
|
+
*/
|
|
7626
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getCurrentSupply = function() {
|
|
7627
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
7628
|
+
};
|
|
7629
|
+
|
|
7630
|
+
|
|
7631
|
+
/**
|
|
7632
|
+
* @param {string} value
|
|
7633
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7634
|
+
*/
|
|
7635
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setCurrentSupply = function(value) {
|
|
7636
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
7637
|
+
};
|
|
7638
|
+
|
|
7639
|
+
|
|
7640
|
+
/**
|
|
7641
|
+
* optional string reserve_balance = 8;
|
|
7642
|
+
* @return {string}
|
|
7643
|
+
*/
|
|
7644
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getReserveBalance = function() {
|
|
7645
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
7646
|
+
};
|
|
7647
|
+
|
|
7648
|
+
|
|
7649
|
+
/**
|
|
7650
|
+
* @param {string} value
|
|
7651
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7652
|
+
*/
|
|
7653
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setReserveBalance = function(value) {
|
|
7654
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
7655
|
+
};
|
|
7656
|
+
|
|
7657
|
+
|
|
7658
|
+
/**
|
|
7659
|
+
* optional string status = 9;
|
|
7660
|
+
* @return {string}
|
|
7661
|
+
*/
|
|
7662
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getStatus = function() {
|
|
7663
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
7664
|
+
};
|
|
7665
|
+
|
|
7666
|
+
|
|
7667
|
+
/**
|
|
7668
|
+
* @param {string} value
|
|
7669
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7670
|
+
*/
|
|
7671
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setStatus = function(value) {
|
|
7672
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
7673
|
+
};
|
|
7674
|
+
|
|
7675
|
+
|
|
7676
|
+
/**
|
|
7677
|
+
* optional string genesis_time = 10;
|
|
7678
|
+
* @return {string}
|
|
7679
|
+
*/
|
|
7680
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getGenesisTime = function() {
|
|
7681
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
7682
|
+
};
|
|
7683
|
+
|
|
7684
|
+
|
|
7685
|
+
/**
|
|
7686
|
+
* @param {string} value
|
|
7687
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7688
|
+
*/
|
|
7689
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setGenesisTime = function(value) {
|
|
7690
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
7691
|
+
};
|
|
7692
|
+
|
|
7693
|
+
|
|
7694
|
+
/**
|
|
7695
|
+
* optional string renaissance_time = 11;
|
|
7696
|
+
* @return {string}
|
|
7697
|
+
*/
|
|
7698
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getRenaissanceTime = function() {
|
|
7699
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
7700
|
+
};
|
|
7701
|
+
|
|
7702
|
+
|
|
7703
|
+
/**
|
|
7704
|
+
* @param {string} value
|
|
7705
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7706
|
+
*/
|
|
7707
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setRenaissanceTime = function(value) {
|
|
7708
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
7709
|
+
};
|
|
7710
|
+
|
|
7711
|
+
|
|
7712
|
+
/**
|
|
7713
|
+
* optional IndexedTokenInput token = 12;
|
|
7714
|
+
* @return {?proto.ocap.IndexedTokenInput}
|
|
7715
|
+
*/
|
|
7716
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getToken = function() {
|
|
7717
|
+
return /** @type{?proto.ocap.IndexedTokenInput} */ (
|
|
7718
|
+
jspb.Message.getWrapperField(this, type_pb.IndexedTokenInput, 12));
|
|
7719
|
+
};
|
|
7720
|
+
|
|
7721
|
+
|
|
7722
|
+
/**
|
|
7723
|
+
* @param {?proto.ocap.IndexedTokenInput|undefined} value
|
|
7724
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7725
|
+
*/
|
|
7726
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setToken = function(value) {
|
|
7727
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
7728
|
+
};
|
|
7729
|
+
|
|
7730
|
+
|
|
7731
|
+
/**
|
|
7732
|
+
* Clears the message field making it undefined.
|
|
7733
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7734
|
+
*/
|
|
7735
|
+
proto.ocap.IndexedTokenFactoryState.prototype.clearToken = function() {
|
|
7736
|
+
return this.setToken(undefined);
|
|
7737
|
+
};
|
|
7738
|
+
|
|
7739
|
+
|
|
7740
|
+
/**
|
|
7741
|
+
* Returns whether this field is set.
|
|
7742
|
+
* @return {boolean}
|
|
7743
|
+
*/
|
|
7744
|
+
proto.ocap.IndexedTokenFactoryState.prototype.hasToken = function() {
|
|
7745
|
+
return jspb.Message.getField(this, 12) != null;
|
|
7746
|
+
};
|
|
7747
|
+
|
|
7748
|
+
|
|
7749
|
+
/**
|
|
7750
|
+
* optional IndexedTokenInput reserve_token = 13;
|
|
7751
|
+
* @return {?proto.ocap.IndexedTokenInput}
|
|
7752
|
+
*/
|
|
7753
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getReserveToken = function() {
|
|
7754
|
+
return /** @type{?proto.ocap.IndexedTokenInput} */ (
|
|
7755
|
+
jspb.Message.getWrapperField(this, type_pb.IndexedTokenInput, 13));
|
|
7756
|
+
};
|
|
7757
|
+
|
|
7758
|
+
|
|
7759
|
+
/**
|
|
7760
|
+
* @param {?proto.ocap.IndexedTokenInput|undefined} value
|
|
7761
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7762
|
+
*/
|
|
7763
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setReserveToken = function(value) {
|
|
7764
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
7765
|
+
};
|
|
7766
|
+
|
|
7767
|
+
|
|
7768
|
+
/**
|
|
7769
|
+
* Clears the message field making it undefined.
|
|
7770
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7771
|
+
*/
|
|
7772
|
+
proto.ocap.IndexedTokenFactoryState.prototype.clearReserveToken = function() {
|
|
7773
|
+
return this.setReserveToken(undefined);
|
|
7774
|
+
};
|
|
7775
|
+
|
|
7776
|
+
|
|
7777
|
+
/**
|
|
7778
|
+
* Returns whether this field is set.
|
|
7779
|
+
* @return {boolean}
|
|
7780
|
+
*/
|
|
7781
|
+
proto.ocap.IndexedTokenFactoryState.prototype.hasReserveToken = function() {
|
|
7782
|
+
return jspb.Message.getField(this, 13) != null;
|
|
7783
|
+
};
|
|
7784
|
+
|
|
7785
|
+
|
|
7786
|
+
/**
|
|
7787
|
+
* optional google.protobuf.Any data = 50;
|
|
7788
|
+
* @return {?proto.google.protobuf.Any}
|
|
7789
|
+
*/
|
|
7790
|
+
proto.ocap.IndexedTokenFactoryState.prototype.getData = function() {
|
|
7791
|
+
return /** @type{?proto.google.protobuf.Any} */ (
|
|
7792
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 50));
|
|
7793
|
+
};
|
|
7794
|
+
|
|
7795
|
+
|
|
7796
|
+
/**
|
|
7797
|
+
* @param {?proto.google.protobuf.Any|undefined} value
|
|
7798
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7799
|
+
*/
|
|
7800
|
+
proto.ocap.IndexedTokenFactoryState.prototype.setData = function(value) {
|
|
7801
|
+
return jspb.Message.setWrapperField(this, 50, value);
|
|
7802
|
+
};
|
|
7803
|
+
|
|
7804
|
+
|
|
7805
|
+
/**
|
|
7806
|
+
* Clears the message field making it undefined.
|
|
7807
|
+
* @return {!proto.ocap.IndexedTokenFactoryState} returns this
|
|
7808
|
+
*/
|
|
7809
|
+
proto.ocap.IndexedTokenFactoryState.prototype.clearData = function() {
|
|
7810
|
+
return this.setData(undefined);
|
|
7811
|
+
};
|
|
7812
|
+
|
|
7813
|
+
|
|
7814
|
+
/**
|
|
7815
|
+
* Returns whether this field is set.
|
|
7816
|
+
* @return {boolean}
|
|
7817
|
+
*/
|
|
7818
|
+
proto.ocap.IndexedTokenFactoryState.prototype.hasData = function() {
|
|
7819
|
+
return jspb.Message.getField(this, 50) != null;
|
|
7820
|
+
};
|
|
7821
|
+
|
|
7822
|
+
|
|
7823
|
+
|
|
6990
7824
|
/**
|
|
6991
7825
|
* List of repeated fields within this message type.
|
|
6992
7826
|
* @private {!Array<number>}
|