@ocap/proto 1.14.4 → 1.14.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gen/spec.json +125 -0
- package/lib/gen/trace-type_pb.js +159 -1
- package/lib/gen/type_pb.js +1015 -0
- package/package.json +2 -2
package/lib/gen/spec.json
CHANGED
|
@@ -1016,6 +1016,18 @@
|
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
1018
|
},
|
|
1019
|
+
"ResponseGetForgeStats": {
|
|
1020
|
+
"fields": {
|
|
1021
|
+
"code": {
|
|
1022
|
+
"type": "StatusCode",
|
|
1023
|
+
"id": 1
|
|
1024
|
+
},
|
|
1025
|
+
"forgeStats": {
|
|
1026
|
+
"type": "ForgeStats",
|
|
1027
|
+
"id": 2
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1019
1031
|
"BigUint": {
|
|
1020
1032
|
"fields": {
|
|
1021
1033
|
"value": {
|
|
@@ -2152,6 +2164,102 @@
|
|
|
2152
2164
|
}
|
|
2153
2165
|
}
|
|
2154
2166
|
},
|
|
2167
|
+
"ForgeStats": {
|
|
2168
|
+
"fields": {
|
|
2169
|
+
"numBlocks": {
|
|
2170
|
+
"rule": "repeated",
|
|
2171
|
+
"type": "string",
|
|
2172
|
+
"id": 1
|
|
2173
|
+
},
|
|
2174
|
+
"numTxs": {
|
|
2175
|
+
"rule": "repeated",
|
|
2176
|
+
"type": "string",
|
|
2177
|
+
"id": 2
|
|
2178
|
+
},
|
|
2179
|
+
"numStakes": {
|
|
2180
|
+
"rule": "repeated",
|
|
2181
|
+
"type": "BigUint",
|
|
2182
|
+
"id": 3
|
|
2183
|
+
},
|
|
2184
|
+
"numValidators": {
|
|
2185
|
+
"rule": "repeated",
|
|
2186
|
+
"type": "uint32",
|
|
2187
|
+
"id": 4
|
|
2188
|
+
},
|
|
2189
|
+
"numAccountMigrateTxs": {
|
|
2190
|
+
"rule": "repeated",
|
|
2191
|
+
"type": "string",
|
|
2192
|
+
"id": 5
|
|
2193
|
+
},
|
|
2194
|
+
"numCreateAssetTxs": {
|
|
2195
|
+
"rule": "repeated",
|
|
2196
|
+
"type": "string",
|
|
2197
|
+
"id": 6
|
|
2198
|
+
},
|
|
2199
|
+
"numConsensusUpgradeTxs": {
|
|
2200
|
+
"rule": "repeated",
|
|
2201
|
+
"type": "uint32",
|
|
2202
|
+
"id": 7
|
|
2203
|
+
},
|
|
2204
|
+
"numDeclareTxs": {
|
|
2205
|
+
"rule": "repeated",
|
|
2206
|
+
"type": "string",
|
|
2207
|
+
"id": 8
|
|
2208
|
+
},
|
|
2209
|
+
"numDeclareFileTxs": {
|
|
2210
|
+
"rule": "repeated",
|
|
2211
|
+
"type": "string",
|
|
2212
|
+
"id": 9
|
|
2213
|
+
},
|
|
2214
|
+
"numExchangeTxs": {
|
|
2215
|
+
"rule": "repeated",
|
|
2216
|
+
"type": "string",
|
|
2217
|
+
"id": 10
|
|
2218
|
+
},
|
|
2219
|
+
"numStakeTxs": {
|
|
2220
|
+
"rule": "repeated",
|
|
2221
|
+
"type": "string",
|
|
2222
|
+
"id": 11
|
|
2223
|
+
},
|
|
2224
|
+
"numSysUpgradeTxs": {
|
|
2225
|
+
"rule": "repeated",
|
|
2226
|
+
"type": "uint32",
|
|
2227
|
+
"id": 12
|
|
2228
|
+
},
|
|
2229
|
+
"numTransferTxs": {
|
|
2230
|
+
"rule": "repeated",
|
|
2231
|
+
"type": "string",
|
|
2232
|
+
"id": 13
|
|
2233
|
+
},
|
|
2234
|
+
"numUpdateAssetTxs": {
|
|
2235
|
+
"rule": "repeated",
|
|
2236
|
+
"type": "string",
|
|
2237
|
+
"id": 14
|
|
2238
|
+
},
|
|
2239
|
+
"numConsumeAssetTxs": {
|
|
2240
|
+
"rule": "repeated",
|
|
2241
|
+
"type": "string",
|
|
2242
|
+
"id": 15
|
|
2243
|
+
},
|
|
2244
|
+
"tps": {
|
|
2245
|
+
"rule": "repeated",
|
|
2246
|
+
"type": "uint32",
|
|
2247
|
+
"id": 16
|
|
2248
|
+
},
|
|
2249
|
+
"maxTps": {
|
|
2250
|
+
"type": "uint32",
|
|
2251
|
+
"id": 17
|
|
2252
|
+
},
|
|
2253
|
+
"avgTps": {
|
|
2254
|
+
"type": "uint32",
|
|
2255
|
+
"id": 18
|
|
2256
|
+
},
|
|
2257
|
+
"avgBlockTime": {
|
|
2258
|
+
"type": "float",
|
|
2259
|
+
"id": 19
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
},
|
|
2155
2263
|
"AccountState": {
|
|
2156
2264
|
"fields": {
|
|
2157
2265
|
"balance": {
|
|
@@ -4493,6 +4601,19 @@
|
|
|
4493
4601
|
"type": "string",
|
|
4494
4602
|
"id": 11
|
|
4495
4603
|
},
|
|
4604
|
+
"display": {
|
|
4605
|
+
"type": "NFTDisplay",
|
|
4606
|
+
"id": 12
|
|
4607
|
+
},
|
|
4608
|
+
"endpoint": {
|
|
4609
|
+
"type": "NFTEndpoint",
|
|
4610
|
+
"id": 13
|
|
4611
|
+
},
|
|
4612
|
+
"tags": {
|
|
4613
|
+
"rule": "repeated",
|
|
4614
|
+
"type": "string",
|
|
4615
|
+
"id": 14
|
|
4616
|
+
},
|
|
4496
4617
|
"data": {
|
|
4497
4618
|
"type": "google.protobuf.Any",
|
|
4498
4619
|
"id": 50
|
|
@@ -5081,6 +5202,10 @@
|
|
|
5081
5202
|
"requestType": "RequestGetConfig",
|
|
5082
5203
|
"responseType": "ResponseGetConfig"
|
|
5083
5204
|
},
|
|
5205
|
+
"getForgeStats": {
|
|
5206
|
+
"requestType": "RequestEmpty",
|
|
5207
|
+
"responseType": "ResponseGetForgeStats"
|
|
5208
|
+
},
|
|
5084
5209
|
"getAccountState": {
|
|
5085
5210
|
"requestType": "RequestGetState",
|
|
5086
5211
|
"requestStream": true,
|
package/lib/gen/trace-type_pb.js
CHANGED
|
@@ -507,7 +507,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
507
507
|
* @constructor
|
|
508
508
|
*/
|
|
509
509
|
proto.ocap.IndexedAssetState = function(opt_data) {
|
|
510
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
510
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ocap.IndexedAssetState.repeatedFields_, null);
|
|
511
511
|
};
|
|
512
512
|
goog.inherits(proto.ocap.IndexedAssetState, jspb.Message);
|
|
513
513
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -5091,6 +5091,13 @@ proto.ocap.IndexedAccountState.prototype.clearTokensList = function() {
|
|
|
5091
5091
|
|
|
5092
5092
|
|
|
5093
5093
|
|
|
5094
|
+
/**
|
|
5095
|
+
* List of repeated fields within this message type.
|
|
5096
|
+
* @private {!Array<number>}
|
|
5097
|
+
* @const
|
|
5098
|
+
*/
|
|
5099
|
+
proto.ocap.IndexedAssetState.repeatedFields_ = [14];
|
|
5100
|
+
|
|
5094
5101
|
|
|
5095
5102
|
|
|
5096
5103
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5133,6 +5140,9 @@ proto.ocap.IndexedAssetState.toObject = function(includeInstance, msg) {
|
|
|
5133
5140
|
parent: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5134
5141
|
transferrable: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
5135
5142
|
ttl: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5143
|
+
display: (f = msg.getDisplay()) && type_pb.NFTDisplay.toObject(includeInstance, f),
|
|
5144
|
+
endpoint: (f = msg.getEndpoint()) && type_pb.NFTEndpoint.toObject(includeInstance, f),
|
|
5145
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
|
|
5136
5146
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
5137
5147
|
};
|
|
5138
5148
|
|
|
@@ -5214,6 +5224,20 @@ proto.ocap.IndexedAssetState.deserializeBinaryFromReader = function(msg, reader)
|
|
|
5214
5224
|
var value = /** @type {string} */ (reader.readString());
|
|
5215
5225
|
msg.setTtl(value);
|
|
5216
5226
|
break;
|
|
5227
|
+
case 12:
|
|
5228
|
+
var value = new type_pb.NFTDisplay;
|
|
5229
|
+
reader.readMessage(value,type_pb.NFTDisplay.deserializeBinaryFromReader);
|
|
5230
|
+
msg.setDisplay(value);
|
|
5231
|
+
break;
|
|
5232
|
+
case 13:
|
|
5233
|
+
var value = new type_pb.NFTEndpoint;
|
|
5234
|
+
reader.readMessage(value,type_pb.NFTEndpoint.deserializeBinaryFromReader);
|
|
5235
|
+
msg.setEndpoint(value);
|
|
5236
|
+
break;
|
|
5237
|
+
case 14:
|
|
5238
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5239
|
+
msg.addTags(value);
|
|
5240
|
+
break;
|
|
5217
5241
|
case 50:
|
|
5218
5242
|
var value = new google_protobuf_any_pb.Any;
|
|
5219
5243
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -5325,6 +5349,29 @@ proto.ocap.IndexedAssetState.serializeBinaryToWriter = function(message, writer)
|
|
|
5325
5349
|
f
|
|
5326
5350
|
);
|
|
5327
5351
|
}
|
|
5352
|
+
f = message.getDisplay();
|
|
5353
|
+
if (f != null) {
|
|
5354
|
+
writer.writeMessage(
|
|
5355
|
+
12,
|
|
5356
|
+
f,
|
|
5357
|
+
type_pb.NFTDisplay.serializeBinaryToWriter
|
|
5358
|
+
);
|
|
5359
|
+
}
|
|
5360
|
+
f = message.getEndpoint();
|
|
5361
|
+
if (f != null) {
|
|
5362
|
+
writer.writeMessage(
|
|
5363
|
+
13,
|
|
5364
|
+
f,
|
|
5365
|
+
type_pb.NFTEndpoint.serializeBinaryToWriter
|
|
5366
|
+
);
|
|
5367
|
+
}
|
|
5368
|
+
f = message.getTagsList();
|
|
5369
|
+
if (f.length > 0) {
|
|
5370
|
+
writer.writeRepeatedString(
|
|
5371
|
+
14,
|
|
5372
|
+
f
|
|
5373
|
+
);
|
|
5374
|
+
}
|
|
5328
5375
|
f = message.getData();
|
|
5329
5376
|
if (f != null) {
|
|
5330
5377
|
writer.writeMessage(
|
|
@@ -5534,6 +5581,117 @@ proto.ocap.IndexedAssetState.prototype.setTtl = function(value) {
|
|
|
5534
5581
|
};
|
|
5535
5582
|
|
|
5536
5583
|
|
|
5584
|
+
/**
|
|
5585
|
+
* optional NFTDisplay display = 12;
|
|
5586
|
+
* @return {?proto.ocap.NFTDisplay}
|
|
5587
|
+
*/
|
|
5588
|
+
proto.ocap.IndexedAssetState.prototype.getDisplay = function() {
|
|
5589
|
+
return /** @type{?proto.ocap.NFTDisplay} */ (
|
|
5590
|
+
jspb.Message.getWrapperField(this, type_pb.NFTDisplay, 12));
|
|
5591
|
+
};
|
|
5592
|
+
|
|
5593
|
+
|
|
5594
|
+
/**
|
|
5595
|
+
* @param {?proto.ocap.NFTDisplay|undefined} value
|
|
5596
|
+
* @return {!proto.ocap.IndexedAssetState} returns this
|
|
5597
|
+
*/
|
|
5598
|
+
proto.ocap.IndexedAssetState.prototype.setDisplay = function(value) {
|
|
5599
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
5600
|
+
};
|
|
5601
|
+
|
|
5602
|
+
|
|
5603
|
+
/**
|
|
5604
|
+
* Clears the message field making it undefined.
|
|
5605
|
+
* @return {!proto.ocap.IndexedAssetState} returns this
|
|
5606
|
+
*/
|
|
5607
|
+
proto.ocap.IndexedAssetState.prototype.clearDisplay = function() {
|
|
5608
|
+
return this.setDisplay(undefined);
|
|
5609
|
+
};
|
|
5610
|
+
|
|
5611
|
+
|
|
5612
|
+
/**
|
|
5613
|
+
* Returns whether this field is set.
|
|
5614
|
+
* @return {boolean}
|
|
5615
|
+
*/
|
|
5616
|
+
proto.ocap.IndexedAssetState.prototype.hasDisplay = function() {
|
|
5617
|
+
return jspb.Message.getField(this, 12) != null;
|
|
5618
|
+
};
|
|
5619
|
+
|
|
5620
|
+
|
|
5621
|
+
/**
|
|
5622
|
+
* optional NFTEndpoint endpoint = 13;
|
|
5623
|
+
* @return {?proto.ocap.NFTEndpoint}
|
|
5624
|
+
*/
|
|
5625
|
+
proto.ocap.IndexedAssetState.prototype.getEndpoint = function() {
|
|
5626
|
+
return /** @type{?proto.ocap.NFTEndpoint} */ (
|
|
5627
|
+
jspb.Message.getWrapperField(this, type_pb.NFTEndpoint, 13));
|
|
5628
|
+
};
|
|
5629
|
+
|
|
5630
|
+
|
|
5631
|
+
/**
|
|
5632
|
+
* @param {?proto.ocap.NFTEndpoint|undefined} value
|
|
5633
|
+
* @return {!proto.ocap.IndexedAssetState} returns this
|
|
5634
|
+
*/
|
|
5635
|
+
proto.ocap.IndexedAssetState.prototype.setEndpoint = function(value) {
|
|
5636
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
5637
|
+
};
|
|
5638
|
+
|
|
5639
|
+
|
|
5640
|
+
/**
|
|
5641
|
+
* Clears the message field making it undefined.
|
|
5642
|
+
* @return {!proto.ocap.IndexedAssetState} returns this
|
|
5643
|
+
*/
|
|
5644
|
+
proto.ocap.IndexedAssetState.prototype.clearEndpoint = function() {
|
|
5645
|
+
return this.setEndpoint(undefined);
|
|
5646
|
+
};
|
|
5647
|
+
|
|
5648
|
+
|
|
5649
|
+
/**
|
|
5650
|
+
* Returns whether this field is set.
|
|
5651
|
+
* @return {boolean}
|
|
5652
|
+
*/
|
|
5653
|
+
proto.ocap.IndexedAssetState.prototype.hasEndpoint = function() {
|
|
5654
|
+
return jspb.Message.getField(this, 13) != null;
|
|
5655
|
+
};
|
|
5656
|
+
|
|
5657
|
+
|
|
5658
|
+
/**
|
|
5659
|
+
* repeated string tags = 14;
|
|
5660
|
+
* @return {!Array<string>}
|
|
5661
|
+
*/
|
|
5662
|
+
proto.ocap.IndexedAssetState.prototype.getTagsList = function() {
|
|
5663
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14));
|
|
5664
|
+
};
|
|
5665
|
+
|
|
5666
|
+
|
|
5667
|
+
/**
|
|
5668
|
+
* @param {!Array<string>} value
|
|
5669
|
+
* @return {!proto.ocap.IndexedAssetState} returns this
|
|
5670
|
+
*/
|
|
5671
|
+
proto.ocap.IndexedAssetState.prototype.setTagsList = function(value) {
|
|
5672
|
+
return jspb.Message.setField(this, 14, value || []);
|
|
5673
|
+
};
|
|
5674
|
+
|
|
5675
|
+
|
|
5676
|
+
/**
|
|
5677
|
+
* @param {string} value
|
|
5678
|
+
* @param {number=} opt_index
|
|
5679
|
+
* @return {!proto.ocap.IndexedAssetState} returns this
|
|
5680
|
+
*/
|
|
5681
|
+
proto.ocap.IndexedAssetState.prototype.addTags = function(value, opt_index) {
|
|
5682
|
+
return jspb.Message.addToRepeatedField(this, 14, value, opt_index);
|
|
5683
|
+
};
|
|
5684
|
+
|
|
5685
|
+
|
|
5686
|
+
/**
|
|
5687
|
+
* Clears the list making it empty but non-null.
|
|
5688
|
+
* @return {!proto.ocap.IndexedAssetState} returns this
|
|
5689
|
+
*/
|
|
5690
|
+
proto.ocap.IndexedAssetState.prototype.clearTagsList = function() {
|
|
5691
|
+
return this.setTagsList([]);
|
|
5692
|
+
};
|
|
5693
|
+
|
|
5694
|
+
|
|
5537
5695
|
/**
|
|
5538
5696
|
* optional google.protobuf.Any data = 50;
|
|
5539
5697
|
* @return {?proto.google.protobuf.Any}
|
package/lib/gen/type_pb.js
CHANGED
|
@@ -34,6 +34,7 @@ goog.exportSymbol('proto.ocap.ConsensusParams', null, global);
|
|
|
34
34
|
goog.exportSymbol('proto.ocap.DelegateConfig', null, global);
|
|
35
35
|
goog.exportSymbol('proto.ocap.Evidence', null, global);
|
|
36
36
|
goog.exportSymbol('proto.ocap.ForeignToken', null, global);
|
|
37
|
+
goog.exportSymbol('proto.ocap.ForgeStats', null, global);
|
|
37
38
|
goog.exportSymbol('proto.ocap.ForgeToken', null, global);
|
|
38
39
|
goog.exportSymbol('proto.ocap.GeoInfo', null, global);
|
|
39
40
|
goog.exportSymbol('proto.ocap.IndexedFactoryInput', null, global);
|
|
@@ -1057,6 +1058,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1057
1058
|
*/
|
|
1058
1059
|
proto.ocap.RevokedStake.displayName = 'proto.ocap.RevokedStake';
|
|
1059
1060
|
}
|
|
1061
|
+
/**
|
|
1062
|
+
* Generated by JsPbCodeGenerator.
|
|
1063
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1064
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1065
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1066
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1067
|
+
* valid.
|
|
1068
|
+
* @extends {jspb.Message}
|
|
1069
|
+
* @constructor
|
|
1070
|
+
*/
|
|
1071
|
+
proto.ocap.ForgeStats = function(opt_data) {
|
|
1072
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ocap.ForgeStats.repeatedFields_, null);
|
|
1073
|
+
};
|
|
1074
|
+
goog.inherits(proto.ocap.ForgeStats, jspb.Message);
|
|
1075
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1076
|
+
/**
|
|
1077
|
+
* @public
|
|
1078
|
+
* @override
|
|
1079
|
+
*/
|
|
1080
|
+
proto.ocap.ForgeStats.displayName = 'proto.ocap.ForgeStats';
|
|
1081
|
+
}
|
|
1060
1082
|
|
|
1061
1083
|
|
|
1062
1084
|
|
|
@@ -14685,4 +14707,997 @@ proto.ocap.RevokedStake.prototype.clearAssetsList = function() {
|
|
|
14685
14707
|
};
|
|
14686
14708
|
|
|
14687
14709
|
|
|
14710
|
+
|
|
14711
|
+
/**
|
|
14712
|
+
* List of repeated fields within this message type.
|
|
14713
|
+
* @private {!Array<number>}
|
|
14714
|
+
* @const
|
|
14715
|
+
*/
|
|
14716
|
+
proto.ocap.ForgeStats.repeatedFields_ = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16];
|
|
14717
|
+
|
|
14718
|
+
|
|
14719
|
+
|
|
14720
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14721
|
+
/**
|
|
14722
|
+
* Creates an object representation of this proto.
|
|
14723
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14724
|
+
* Optional fields that are not set will be set to undefined.
|
|
14725
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14726
|
+
* For the list of reserved names please see:
|
|
14727
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14728
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14729
|
+
* JSPB instance for transitional soy proto support:
|
|
14730
|
+
* http://goto/soy-param-migration
|
|
14731
|
+
* @return {!Object}
|
|
14732
|
+
*/
|
|
14733
|
+
proto.ocap.ForgeStats.prototype.toObject = function(opt_includeInstance) {
|
|
14734
|
+
return proto.ocap.ForgeStats.toObject(opt_includeInstance, this);
|
|
14735
|
+
};
|
|
14736
|
+
|
|
14737
|
+
|
|
14738
|
+
/**
|
|
14739
|
+
* Static version of the {@see toObject} method.
|
|
14740
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14741
|
+
* the JSPB instance for transitional soy proto support:
|
|
14742
|
+
* http://goto/soy-param-migration
|
|
14743
|
+
* @param {!proto.ocap.ForgeStats} msg The msg instance to transform.
|
|
14744
|
+
* @return {!Object}
|
|
14745
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14746
|
+
*/
|
|
14747
|
+
proto.ocap.ForgeStats.toObject = function(includeInstance, msg) {
|
|
14748
|
+
var f, obj = {
|
|
14749
|
+
numBlocksList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
14750
|
+
numTxsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
14751
|
+
numStakesList: jspb.Message.toObjectList(msg.getNumStakesList(),
|
|
14752
|
+
proto.ocap.BigUint.toObject, includeInstance),
|
|
14753
|
+
numValidatorsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
14754
|
+
numAccountMigrateTxsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
14755
|
+
numCreateAssetTxsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
14756
|
+
numConsensusUpgradeTxsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
14757
|
+
numDeclareTxsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
14758
|
+
numDeclareFileTxsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
14759
|
+
numExchangeTxsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
|
|
14760
|
+
numStakeTxsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
14761
|
+
numSysUpgradeTxsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
|
|
14762
|
+
numTransferTxsList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
|
|
14763
|
+
numUpdateAssetTxsList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
|
|
14764
|
+
numConsumeAssetTxsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
|
|
14765
|
+
tpsList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f,
|
|
14766
|
+
maxTps: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
14767
|
+
avgTps: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
14768
|
+
avgBlockTime: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0)
|
|
14769
|
+
};
|
|
14770
|
+
|
|
14771
|
+
if (includeInstance) {
|
|
14772
|
+
obj.$jspbMessageInstance = msg;
|
|
14773
|
+
}
|
|
14774
|
+
return obj;
|
|
14775
|
+
};
|
|
14776
|
+
}
|
|
14777
|
+
|
|
14778
|
+
|
|
14779
|
+
/**
|
|
14780
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14781
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14782
|
+
* @return {!proto.ocap.ForgeStats}
|
|
14783
|
+
*/
|
|
14784
|
+
proto.ocap.ForgeStats.deserializeBinary = function(bytes) {
|
|
14785
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14786
|
+
var msg = new proto.ocap.ForgeStats;
|
|
14787
|
+
return proto.ocap.ForgeStats.deserializeBinaryFromReader(msg, reader);
|
|
14788
|
+
};
|
|
14789
|
+
|
|
14790
|
+
|
|
14791
|
+
/**
|
|
14792
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14793
|
+
* given reader into the given message object.
|
|
14794
|
+
* @param {!proto.ocap.ForgeStats} msg The message object to deserialize into.
|
|
14795
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14796
|
+
* @return {!proto.ocap.ForgeStats}
|
|
14797
|
+
*/
|
|
14798
|
+
proto.ocap.ForgeStats.deserializeBinaryFromReader = function(msg, reader) {
|
|
14799
|
+
while (reader.nextField()) {
|
|
14800
|
+
if (reader.isEndGroup()) {
|
|
14801
|
+
break;
|
|
14802
|
+
}
|
|
14803
|
+
var field = reader.getFieldNumber();
|
|
14804
|
+
switch (field) {
|
|
14805
|
+
case 1:
|
|
14806
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14807
|
+
msg.addNumBlocks(value);
|
|
14808
|
+
break;
|
|
14809
|
+
case 2:
|
|
14810
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14811
|
+
msg.addNumTxs(value);
|
|
14812
|
+
break;
|
|
14813
|
+
case 3:
|
|
14814
|
+
var value = new proto.ocap.BigUint;
|
|
14815
|
+
reader.readMessage(value,proto.ocap.BigUint.deserializeBinaryFromReader);
|
|
14816
|
+
msg.addNumStakes(value);
|
|
14817
|
+
break;
|
|
14818
|
+
case 4:
|
|
14819
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
|
|
14820
|
+
for (var i = 0; i < values.length; i++) {
|
|
14821
|
+
msg.addNumValidators(values[i]);
|
|
14822
|
+
}
|
|
14823
|
+
break;
|
|
14824
|
+
case 5:
|
|
14825
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14826
|
+
msg.addNumAccountMigrateTxs(value);
|
|
14827
|
+
break;
|
|
14828
|
+
case 6:
|
|
14829
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14830
|
+
msg.addNumCreateAssetTxs(value);
|
|
14831
|
+
break;
|
|
14832
|
+
case 7:
|
|
14833
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
|
|
14834
|
+
for (var i = 0; i < values.length; i++) {
|
|
14835
|
+
msg.addNumConsensusUpgradeTxs(values[i]);
|
|
14836
|
+
}
|
|
14837
|
+
break;
|
|
14838
|
+
case 8:
|
|
14839
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14840
|
+
msg.addNumDeclareTxs(value);
|
|
14841
|
+
break;
|
|
14842
|
+
case 9:
|
|
14843
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14844
|
+
msg.addNumDeclareFileTxs(value);
|
|
14845
|
+
break;
|
|
14846
|
+
case 10:
|
|
14847
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14848
|
+
msg.addNumExchangeTxs(value);
|
|
14849
|
+
break;
|
|
14850
|
+
case 11:
|
|
14851
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14852
|
+
msg.addNumStakeTxs(value);
|
|
14853
|
+
break;
|
|
14854
|
+
case 12:
|
|
14855
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
|
|
14856
|
+
for (var i = 0; i < values.length; i++) {
|
|
14857
|
+
msg.addNumSysUpgradeTxs(values[i]);
|
|
14858
|
+
}
|
|
14859
|
+
break;
|
|
14860
|
+
case 13:
|
|
14861
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14862
|
+
msg.addNumTransferTxs(value);
|
|
14863
|
+
break;
|
|
14864
|
+
case 14:
|
|
14865
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14866
|
+
msg.addNumUpdateAssetTxs(value);
|
|
14867
|
+
break;
|
|
14868
|
+
case 15:
|
|
14869
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14870
|
+
msg.addNumConsumeAssetTxs(value);
|
|
14871
|
+
break;
|
|
14872
|
+
case 16:
|
|
14873
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
|
|
14874
|
+
for (var i = 0; i < values.length; i++) {
|
|
14875
|
+
msg.addTps(values[i]);
|
|
14876
|
+
}
|
|
14877
|
+
break;
|
|
14878
|
+
case 17:
|
|
14879
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
14880
|
+
msg.setMaxTps(value);
|
|
14881
|
+
break;
|
|
14882
|
+
case 18:
|
|
14883
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
14884
|
+
msg.setAvgTps(value);
|
|
14885
|
+
break;
|
|
14886
|
+
case 19:
|
|
14887
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
14888
|
+
msg.setAvgBlockTime(value);
|
|
14889
|
+
break;
|
|
14890
|
+
default:
|
|
14891
|
+
reader.skipField();
|
|
14892
|
+
break;
|
|
14893
|
+
}
|
|
14894
|
+
}
|
|
14895
|
+
return msg;
|
|
14896
|
+
};
|
|
14897
|
+
|
|
14898
|
+
|
|
14899
|
+
/**
|
|
14900
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14901
|
+
* @return {!Uint8Array}
|
|
14902
|
+
*/
|
|
14903
|
+
proto.ocap.ForgeStats.prototype.serializeBinary = function() {
|
|
14904
|
+
var writer = new jspb.BinaryWriter();
|
|
14905
|
+
proto.ocap.ForgeStats.serializeBinaryToWriter(this, writer);
|
|
14906
|
+
return writer.getResultBuffer();
|
|
14907
|
+
};
|
|
14908
|
+
|
|
14909
|
+
|
|
14910
|
+
/**
|
|
14911
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14912
|
+
* format), writing to the given BinaryWriter.
|
|
14913
|
+
* @param {!proto.ocap.ForgeStats} message
|
|
14914
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14915
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14916
|
+
*/
|
|
14917
|
+
proto.ocap.ForgeStats.serializeBinaryToWriter = function(message, writer) {
|
|
14918
|
+
var f = undefined;
|
|
14919
|
+
f = message.getNumBlocksList();
|
|
14920
|
+
if (f.length > 0) {
|
|
14921
|
+
writer.writeRepeatedString(
|
|
14922
|
+
1,
|
|
14923
|
+
f
|
|
14924
|
+
);
|
|
14925
|
+
}
|
|
14926
|
+
f = message.getNumTxsList();
|
|
14927
|
+
if (f.length > 0) {
|
|
14928
|
+
writer.writeRepeatedString(
|
|
14929
|
+
2,
|
|
14930
|
+
f
|
|
14931
|
+
);
|
|
14932
|
+
}
|
|
14933
|
+
f = message.getNumStakesList();
|
|
14934
|
+
if (f.length > 0) {
|
|
14935
|
+
writer.writeRepeatedMessage(
|
|
14936
|
+
3,
|
|
14937
|
+
f,
|
|
14938
|
+
proto.ocap.BigUint.serializeBinaryToWriter
|
|
14939
|
+
);
|
|
14940
|
+
}
|
|
14941
|
+
f = message.getNumValidatorsList();
|
|
14942
|
+
if (f.length > 0) {
|
|
14943
|
+
writer.writePackedUint32(
|
|
14944
|
+
4,
|
|
14945
|
+
f
|
|
14946
|
+
);
|
|
14947
|
+
}
|
|
14948
|
+
f = message.getNumAccountMigrateTxsList();
|
|
14949
|
+
if (f.length > 0) {
|
|
14950
|
+
writer.writeRepeatedString(
|
|
14951
|
+
5,
|
|
14952
|
+
f
|
|
14953
|
+
);
|
|
14954
|
+
}
|
|
14955
|
+
f = message.getNumCreateAssetTxsList();
|
|
14956
|
+
if (f.length > 0) {
|
|
14957
|
+
writer.writeRepeatedString(
|
|
14958
|
+
6,
|
|
14959
|
+
f
|
|
14960
|
+
);
|
|
14961
|
+
}
|
|
14962
|
+
f = message.getNumConsensusUpgradeTxsList();
|
|
14963
|
+
if (f.length > 0) {
|
|
14964
|
+
writer.writePackedUint32(
|
|
14965
|
+
7,
|
|
14966
|
+
f
|
|
14967
|
+
);
|
|
14968
|
+
}
|
|
14969
|
+
f = message.getNumDeclareTxsList();
|
|
14970
|
+
if (f.length > 0) {
|
|
14971
|
+
writer.writeRepeatedString(
|
|
14972
|
+
8,
|
|
14973
|
+
f
|
|
14974
|
+
);
|
|
14975
|
+
}
|
|
14976
|
+
f = message.getNumDeclareFileTxsList();
|
|
14977
|
+
if (f.length > 0) {
|
|
14978
|
+
writer.writeRepeatedString(
|
|
14979
|
+
9,
|
|
14980
|
+
f
|
|
14981
|
+
);
|
|
14982
|
+
}
|
|
14983
|
+
f = message.getNumExchangeTxsList();
|
|
14984
|
+
if (f.length > 0) {
|
|
14985
|
+
writer.writeRepeatedString(
|
|
14986
|
+
10,
|
|
14987
|
+
f
|
|
14988
|
+
);
|
|
14989
|
+
}
|
|
14990
|
+
f = message.getNumStakeTxsList();
|
|
14991
|
+
if (f.length > 0) {
|
|
14992
|
+
writer.writeRepeatedString(
|
|
14993
|
+
11,
|
|
14994
|
+
f
|
|
14995
|
+
);
|
|
14996
|
+
}
|
|
14997
|
+
f = message.getNumSysUpgradeTxsList();
|
|
14998
|
+
if (f.length > 0) {
|
|
14999
|
+
writer.writePackedUint32(
|
|
15000
|
+
12,
|
|
15001
|
+
f
|
|
15002
|
+
);
|
|
15003
|
+
}
|
|
15004
|
+
f = message.getNumTransferTxsList();
|
|
15005
|
+
if (f.length > 0) {
|
|
15006
|
+
writer.writeRepeatedString(
|
|
15007
|
+
13,
|
|
15008
|
+
f
|
|
15009
|
+
);
|
|
15010
|
+
}
|
|
15011
|
+
f = message.getNumUpdateAssetTxsList();
|
|
15012
|
+
if (f.length > 0) {
|
|
15013
|
+
writer.writeRepeatedString(
|
|
15014
|
+
14,
|
|
15015
|
+
f
|
|
15016
|
+
);
|
|
15017
|
+
}
|
|
15018
|
+
f = message.getNumConsumeAssetTxsList();
|
|
15019
|
+
if (f.length > 0) {
|
|
15020
|
+
writer.writeRepeatedString(
|
|
15021
|
+
15,
|
|
15022
|
+
f
|
|
15023
|
+
);
|
|
15024
|
+
}
|
|
15025
|
+
f = message.getTpsList();
|
|
15026
|
+
if (f.length > 0) {
|
|
15027
|
+
writer.writePackedUint32(
|
|
15028
|
+
16,
|
|
15029
|
+
f
|
|
15030
|
+
);
|
|
15031
|
+
}
|
|
15032
|
+
f = message.getMaxTps();
|
|
15033
|
+
if (f !== 0) {
|
|
15034
|
+
writer.writeUint32(
|
|
15035
|
+
17,
|
|
15036
|
+
f
|
|
15037
|
+
);
|
|
15038
|
+
}
|
|
15039
|
+
f = message.getAvgTps();
|
|
15040
|
+
if (f !== 0) {
|
|
15041
|
+
writer.writeUint32(
|
|
15042
|
+
18,
|
|
15043
|
+
f
|
|
15044
|
+
);
|
|
15045
|
+
}
|
|
15046
|
+
f = message.getAvgBlockTime();
|
|
15047
|
+
if (f !== 0.0) {
|
|
15048
|
+
writer.writeFloat(
|
|
15049
|
+
19,
|
|
15050
|
+
f
|
|
15051
|
+
);
|
|
15052
|
+
}
|
|
15053
|
+
};
|
|
15054
|
+
|
|
15055
|
+
|
|
15056
|
+
/**
|
|
15057
|
+
* repeated string num_blocks = 1;
|
|
15058
|
+
* @return {!Array<string>}
|
|
15059
|
+
*/
|
|
15060
|
+
proto.ocap.ForgeStats.prototype.getNumBlocksList = function() {
|
|
15061
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
15062
|
+
};
|
|
15063
|
+
|
|
15064
|
+
|
|
15065
|
+
/**
|
|
15066
|
+
* @param {!Array<string>} value
|
|
15067
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15068
|
+
*/
|
|
15069
|
+
proto.ocap.ForgeStats.prototype.setNumBlocksList = function(value) {
|
|
15070
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
15071
|
+
};
|
|
15072
|
+
|
|
15073
|
+
|
|
15074
|
+
/**
|
|
15075
|
+
* @param {string} value
|
|
15076
|
+
* @param {number=} opt_index
|
|
15077
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15078
|
+
*/
|
|
15079
|
+
proto.ocap.ForgeStats.prototype.addNumBlocks = function(value, opt_index) {
|
|
15080
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
15081
|
+
};
|
|
15082
|
+
|
|
15083
|
+
|
|
15084
|
+
/**
|
|
15085
|
+
* Clears the list making it empty but non-null.
|
|
15086
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15087
|
+
*/
|
|
15088
|
+
proto.ocap.ForgeStats.prototype.clearNumBlocksList = function() {
|
|
15089
|
+
return this.setNumBlocksList([]);
|
|
15090
|
+
};
|
|
15091
|
+
|
|
15092
|
+
|
|
15093
|
+
/**
|
|
15094
|
+
* repeated string num_txs = 2;
|
|
15095
|
+
* @return {!Array<string>}
|
|
15096
|
+
*/
|
|
15097
|
+
proto.ocap.ForgeStats.prototype.getNumTxsList = function() {
|
|
15098
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
15099
|
+
};
|
|
15100
|
+
|
|
15101
|
+
|
|
15102
|
+
/**
|
|
15103
|
+
* @param {!Array<string>} value
|
|
15104
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15105
|
+
*/
|
|
15106
|
+
proto.ocap.ForgeStats.prototype.setNumTxsList = function(value) {
|
|
15107
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
15108
|
+
};
|
|
15109
|
+
|
|
15110
|
+
|
|
15111
|
+
/**
|
|
15112
|
+
* @param {string} value
|
|
15113
|
+
* @param {number=} opt_index
|
|
15114
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15115
|
+
*/
|
|
15116
|
+
proto.ocap.ForgeStats.prototype.addNumTxs = function(value, opt_index) {
|
|
15117
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
15118
|
+
};
|
|
15119
|
+
|
|
15120
|
+
|
|
15121
|
+
/**
|
|
15122
|
+
* Clears the list making it empty but non-null.
|
|
15123
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15124
|
+
*/
|
|
15125
|
+
proto.ocap.ForgeStats.prototype.clearNumTxsList = function() {
|
|
15126
|
+
return this.setNumTxsList([]);
|
|
15127
|
+
};
|
|
15128
|
+
|
|
15129
|
+
|
|
15130
|
+
/**
|
|
15131
|
+
* repeated BigUint num_stakes = 3;
|
|
15132
|
+
* @return {!Array<!proto.ocap.BigUint>}
|
|
15133
|
+
*/
|
|
15134
|
+
proto.ocap.ForgeStats.prototype.getNumStakesList = function() {
|
|
15135
|
+
return /** @type{!Array<!proto.ocap.BigUint>} */ (
|
|
15136
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ocap.BigUint, 3));
|
|
15137
|
+
};
|
|
15138
|
+
|
|
15139
|
+
|
|
15140
|
+
/**
|
|
15141
|
+
* @param {!Array<!proto.ocap.BigUint>} value
|
|
15142
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15143
|
+
*/
|
|
15144
|
+
proto.ocap.ForgeStats.prototype.setNumStakesList = function(value) {
|
|
15145
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
15146
|
+
};
|
|
15147
|
+
|
|
15148
|
+
|
|
15149
|
+
/**
|
|
15150
|
+
* @param {!proto.ocap.BigUint=} opt_value
|
|
15151
|
+
* @param {number=} opt_index
|
|
15152
|
+
* @return {!proto.ocap.BigUint}
|
|
15153
|
+
*/
|
|
15154
|
+
proto.ocap.ForgeStats.prototype.addNumStakes = function(opt_value, opt_index) {
|
|
15155
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ocap.BigUint, opt_index);
|
|
15156
|
+
};
|
|
15157
|
+
|
|
15158
|
+
|
|
15159
|
+
/**
|
|
15160
|
+
* Clears the list making it empty but non-null.
|
|
15161
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15162
|
+
*/
|
|
15163
|
+
proto.ocap.ForgeStats.prototype.clearNumStakesList = function() {
|
|
15164
|
+
return this.setNumStakesList([]);
|
|
15165
|
+
};
|
|
15166
|
+
|
|
15167
|
+
|
|
15168
|
+
/**
|
|
15169
|
+
* repeated uint32 num_validators = 4;
|
|
15170
|
+
* @return {!Array<number>}
|
|
15171
|
+
*/
|
|
15172
|
+
proto.ocap.ForgeStats.prototype.getNumValidatorsList = function() {
|
|
15173
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
15174
|
+
};
|
|
15175
|
+
|
|
15176
|
+
|
|
15177
|
+
/**
|
|
15178
|
+
* @param {!Array<number>} value
|
|
15179
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15180
|
+
*/
|
|
15181
|
+
proto.ocap.ForgeStats.prototype.setNumValidatorsList = function(value) {
|
|
15182
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
15183
|
+
};
|
|
15184
|
+
|
|
15185
|
+
|
|
15186
|
+
/**
|
|
15187
|
+
* @param {number} value
|
|
15188
|
+
* @param {number=} opt_index
|
|
15189
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15190
|
+
*/
|
|
15191
|
+
proto.ocap.ForgeStats.prototype.addNumValidators = function(value, opt_index) {
|
|
15192
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
15193
|
+
};
|
|
15194
|
+
|
|
15195
|
+
|
|
15196
|
+
/**
|
|
15197
|
+
* Clears the list making it empty but non-null.
|
|
15198
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15199
|
+
*/
|
|
15200
|
+
proto.ocap.ForgeStats.prototype.clearNumValidatorsList = function() {
|
|
15201
|
+
return this.setNumValidatorsList([]);
|
|
15202
|
+
};
|
|
15203
|
+
|
|
15204
|
+
|
|
15205
|
+
/**
|
|
15206
|
+
* repeated string num_account_migrate_txs = 5;
|
|
15207
|
+
* @return {!Array<string>}
|
|
15208
|
+
*/
|
|
15209
|
+
proto.ocap.ForgeStats.prototype.getNumAccountMigrateTxsList = function() {
|
|
15210
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
15211
|
+
};
|
|
15212
|
+
|
|
15213
|
+
|
|
15214
|
+
/**
|
|
15215
|
+
* @param {!Array<string>} value
|
|
15216
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15217
|
+
*/
|
|
15218
|
+
proto.ocap.ForgeStats.prototype.setNumAccountMigrateTxsList = function(value) {
|
|
15219
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
15220
|
+
};
|
|
15221
|
+
|
|
15222
|
+
|
|
15223
|
+
/**
|
|
15224
|
+
* @param {string} value
|
|
15225
|
+
* @param {number=} opt_index
|
|
15226
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15227
|
+
*/
|
|
15228
|
+
proto.ocap.ForgeStats.prototype.addNumAccountMigrateTxs = function(value, opt_index) {
|
|
15229
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
15230
|
+
};
|
|
15231
|
+
|
|
15232
|
+
|
|
15233
|
+
/**
|
|
15234
|
+
* Clears the list making it empty but non-null.
|
|
15235
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15236
|
+
*/
|
|
15237
|
+
proto.ocap.ForgeStats.prototype.clearNumAccountMigrateTxsList = function() {
|
|
15238
|
+
return this.setNumAccountMigrateTxsList([]);
|
|
15239
|
+
};
|
|
15240
|
+
|
|
15241
|
+
|
|
15242
|
+
/**
|
|
15243
|
+
* repeated string num_create_asset_txs = 6;
|
|
15244
|
+
* @return {!Array<string>}
|
|
15245
|
+
*/
|
|
15246
|
+
proto.ocap.ForgeStats.prototype.getNumCreateAssetTxsList = function() {
|
|
15247
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
15248
|
+
};
|
|
15249
|
+
|
|
15250
|
+
|
|
15251
|
+
/**
|
|
15252
|
+
* @param {!Array<string>} value
|
|
15253
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15254
|
+
*/
|
|
15255
|
+
proto.ocap.ForgeStats.prototype.setNumCreateAssetTxsList = function(value) {
|
|
15256
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
15257
|
+
};
|
|
15258
|
+
|
|
15259
|
+
|
|
15260
|
+
/**
|
|
15261
|
+
* @param {string} value
|
|
15262
|
+
* @param {number=} opt_index
|
|
15263
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15264
|
+
*/
|
|
15265
|
+
proto.ocap.ForgeStats.prototype.addNumCreateAssetTxs = function(value, opt_index) {
|
|
15266
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
15267
|
+
};
|
|
15268
|
+
|
|
15269
|
+
|
|
15270
|
+
/**
|
|
15271
|
+
* Clears the list making it empty but non-null.
|
|
15272
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15273
|
+
*/
|
|
15274
|
+
proto.ocap.ForgeStats.prototype.clearNumCreateAssetTxsList = function() {
|
|
15275
|
+
return this.setNumCreateAssetTxsList([]);
|
|
15276
|
+
};
|
|
15277
|
+
|
|
15278
|
+
|
|
15279
|
+
/**
|
|
15280
|
+
* repeated uint32 num_consensus_upgrade_txs = 7;
|
|
15281
|
+
* @return {!Array<number>}
|
|
15282
|
+
*/
|
|
15283
|
+
proto.ocap.ForgeStats.prototype.getNumConsensusUpgradeTxsList = function() {
|
|
15284
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
15285
|
+
};
|
|
15286
|
+
|
|
15287
|
+
|
|
15288
|
+
/**
|
|
15289
|
+
* @param {!Array<number>} value
|
|
15290
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15291
|
+
*/
|
|
15292
|
+
proto.ocap.ForgeStats.prototype.setNumConsensusUpgradeTxsList = function(value) {
|
|
15293
|
+
return jspb.Message.setField(this, 7, value || []);
|
|
15294
|
+
};
|
|
15295
|
+
|
|
15296
|
+
|
|
15297
|
+
/**
|
|
15298
|
+
* @param {number} value
|
|
15299
|
+
* @param {number=} opt_index
|
|
15300
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15301
|
+
*/
|
|
15302
|
+
proto.ocap.ForgeStats.prototype.addNumConsensusUpgradeTxs = function(value, opt_index) {
|
|
15303
|
+
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
15304
|
+
};
|
|
15305
|
+
|
|
15306
|
+
|
|
15307
|
+
/**
|
|
15308
|
+
* Clears the list making it empty but non-null.
|
|
15309
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15310
|
+
*/
|
|
15311
|
+
proto.ocap.ForgeStats.prototype.clearNumConsensusUpgradeTxsList = function() {
|
|
15312
|
+
return this.setNumConsensusUpgradeTxsList([]);
|
|
15313
|
+
};
|
|
15314
|
+
|
|
15315
|
+
|
|
15316
|
+
/**
|
|
15317
|
+
* repeated string num_declare_txs = 8;
|
|
15318
|
+
* @return {!Array<string>}
|
|
15319
|
+
*/
|
|
15320
|
+
proto.ocap.ForgeStats.prototype.getNumDeclareTxsList = function() {
|
|
15321
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
|
|
15322
|
+
};
|
|
15323
|
+
|
|
15324
|
+
|
|
15325
|
+
/**
|
|
15326
|
+
* @param {!Array<string>} value
|
|
15327
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15328
|
+
*/
|
|
15329
|
+
proto.ocap.ForgeStats.prototype.setNumDeclareTxsList = function(value) {
|
|
15330
|
+
return jspb.Message.setField(this, 8, value || []);
|
|
15331
|
+
};
|
|
15332
|
+
|
|
15333
|
+
|
|
15334
|
+
/**
|
|
15335
|
+
* @param {string} value
|
|
15336
|
+
* @param {number=} opt_index
|
|
15337
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15338
|
+
*/
|
|
15339
|
+
proto.ocap.ForgeStats.prototype.addNumDeclareTxs = function(value, opt_index) {
|
|
15340
|
+
return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
|
|
15341
|
+
};
|
|
15342
|
+
|
|
15343
|
+
|
|
15344
|
+
/**
|
|
15345
|
+
* Clears the list making it empty but non-null.
|
|
15346
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15347
|
+
*/
|
|
15348
|
+
proto.ocap.ForgeStats.prototype.clearNumDeclareTxsList = function() {
|
|
15349
|
+
return this.setNumDeclareTxsList([]);
|
|
15350
|
+
};
|
|
15351
|
+
|
|
15352
|
+
|
|
15353
|
+
/**
|
|
15354
|
+
* repeated string num_declare_file_txs = 9;
|
|
15355
|
+
* @return {!Array<string>}
|
|
15356
|
+
*/
|
|
15357
|
+
proto.ocap.ForgeStats.prototype.getNumDeclareFileTxsList = function() {
|
|
15358
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
15359
|
+
};
|
|
15360
|
+
|
|
15361
|
+
|
|
15362
|
+
/**
|
|
15363
|
+
* @param {!Array<string>} value
|
|
15364
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15365
|
+
*/
|
|
15366
|
+
proto.ocap.ForgeStats.prototype.setNumDeclareFileTxsList = function(value) {
|
|
15367
|
+
return jspb.Message.setField(this, 9, value || []);
|
|
15368
|
+
};
|
|
15369
|
+
|
|
15370
|
+
|
|
15371
|
+
/**
|
|
15372
|
+
* @param {string} value
|
|
15373
|
+
* @param {number=} opt_index
|
|
15374
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15375
|
+
*/
|
|
15376
|
+
proto.ocap.ForgeStats.prototype.addNumDeclareFileTxs = function(value, opt_index) {
|
|
15377
|
+
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
15378
|
+
};
|
|
15379
|
+
|
|
15380
|
+
|
|
15381
|
+
/**
|
|
15382
|
+
* Clears the list making it empty but non-null.
|
|
15383
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15384
|
+
*/
|
|
15385
|
+
proto.ocap.ForgeStats.prototype.clearNumDeclareFileTxsList = function() {
|
|
15386
|
+
return this.setNumDeclareFileTxsList([]);
|
|
15387
|
+
};
|
|
15388
|
+
|
|
15389
|
+
|
|
15390
|
+
/**
|
|
15391
|
+
* repeated string num_exchange_txs = 10;
|
|
15392
|
+
* @return {!Array<string>}
|
|
15393
|
+
*/
|
|
15394
|
+
proto.ocap.ForgeStats.prototype.getNumExchangeTxsList = function() {
|
|
15395
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
15396
|
+
};
|
|
15397
|
+
|
|
15398
|
+
|
|
15399
|
+
/**
|
|
15400
|
+
* @param {!Array<string>} value
|
|
15401
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15402
|
+
*/
|
|
15403
|
+
proto.ocap.ForgeStats.prototype.setNumExchangeTxsList = function(value) {
|
|
15404
|
+
return jspb.Message.setField(this, 10, value || []);
|
|
15405
|
+
};
|
|
15406
|
+
|
|
15407
|
+
|
|
15408
|
+
/**
|
|
15409
|
+
* @param {string} value
|
|
15410
|
+
* @param {number=} opt_index
|
|
15411
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15412
|
+
*/
|
|
15413
|
+
proto.ocap.ForgeStats.prototype.addNumExchangeTxs = function(value, opt_index) {
|
|
15414
|
+
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
15415
|
+
};
|
|
15416
|
+
|
|
15417
|
+
|
|
15418
|
+
/**
|
|
15419
|
+
* Clears the list making it empty but non-null.
|
|
15420
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15421
|
+
*/
|
|
15422
|
+
proto.ocap.ForgeStats.prototype.clearNumExchangeTxsList = function() {
|
|
15423
|
+
return this.setNumExchangeTxsList([]);
|
|
15424
|
+
};
|
|
15425
|
+
|
|
15426
|
+
|
|
15427
|
+
/**
|
|
15428
|
+
* repeated string num_stake_txs = 11;
|
|
15429
|
+
* @return {!Array<string>}
|
|
15430
|
+
*/
|
|
15431
|
+
proto.ocap.ForgeStats.prototype.getNumStakeTxsList = function() {
|
|
15432
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
15433
|
+
};
|
|
15434
|
+
|
|
15435
|
+
|
|
15436
|
+
/**
|
|
15437
|
+
* @param {!Array<string>} value
|
|
15438
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15439
|
+
*/
|
|
15440
|
+
proto.ocap.ForgeStats.prototype.setNumStakeTxsList = function(value) {
|
|
15441
|
+
return jspb.Message.setField(this, 11, value || []);
|
|
15442
|
+
};
|
|
15443
|
+
|
|
15444
|
+
|
|
15445
|
+
/**
|
|
15446
|
+
* @param {string} value
|
|
15447
|
+
* @param {number=} opt_index
|
|
15448
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15449
|
+
*/
|
|
15450
|
+
proto.ocap.ForgeStats.prototype.addNumStakeTxs = function(value, opt_index) {
|
|
15451
|
+
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
15452
|
+
};
|
|
15453
|
+
|
|
15454
|
+
|
|
15455
|
+
/**
|
|
15456
|
+
* Clears the list making it empty but non-null.
|
|
15457
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15458
|
+
*/
|
|
15459
|
+
proto.ocap.ForgeStats.prototype.clearNumStakeTxsList = function() {
|
|
15460
|
+
return this.setNumStakeTxsList([]);
|
|
15461
|
+
};
|
|
15462
|
+
|
|
15463
|
+
|
|
15464
|
+
/**
|
|
15465
|
+
* repeated uint32 num_sys_upgrade_txs = 12;
|
|
15466
|
+
* @return {!Array<number>}
|
|
15467
|
+
*/
|
|
15468
|
+
proto.ocap.ForgeStats.prototype.getNumSysUpgradeTxsList = function() {
|
|
15469
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 12));
|
|
15470
|
+
};
|
|
15471
|
+
|
|
15472
|
+
|
|
15473
|
+
/**
|
|
15474
|
+
* @param {!Array<number>} value
|
|
15475
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15476
|
+
*/
|
|
15477
|
+
proto.ocap.ForgeStats.prototype.setNumSysUpgradeTxsList = function(value) {
|
|
15478
|
+
return jspb.Message.setField(this, 12, value || []);
|
|
15479
|
+
};
|
|
15480
|
+
|
|
15481
|
+
|
|
15482
|
+
/**
|
|
15483
|
+
* @param {number} value
|
|
15484
|
+
* @param {number=} opt_index
|
|
15485
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15486
|
+
*/
|
|
15487
|
+
proto.ocap.ForgeStats.prototype.addNumSysUpgradeTxs = function(value, opt_index) {
|
|
15488
|
+
return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
|
|
15489
|
+
};
|
|
15490
|
+
|
|
15491
|
+
|
|
15492
|
+
/**
|
|
15493
|
+
* Clears the list making it empty but non-null.
|
|
15494
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15495
|
+
*/
|
|
15496
|
+
proto.ocap.ForgeStats.prototype.clearNumSysUpgradeTxsList = function() {
|
|
15497
|
+
return this.setNumSysUpgradeTxsList([]);
|
|
15498
|
+
};
|
|
15499
|
+
|
|
15500
|
+
|
|
15501
|
+
/**
|
|
15502
|
+
* repeated string num_transfer_txs = 13;
|
|
15503
|
+
* @return {!Array<string>}
|
|
15504
|
+
*/
|
|
15505
|
+
proto.ocap.ForgeStats.prototype.getNumTransferTxsList = function() {
|
|
15506
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
|
|
15507
|
+
};
|
|
15508
|
+
|
|
15509
|
+
|
|
15510
|
+
/**
|
|
15511
|
+
* @param {!Array<string>} value
|
|
15512
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15513
|
+
*/
|
|
15514
|
+
proto.ocap.ForgeStats.prototype.setNumTransferTxsList = function(value) {
|
|
15515
|
+
return jspb.Message.setField(this, 13, value || []);
|
|
15516
|
+
};
|
|
15517
|
+
|
|
15518
|
+
|
|
15519
|
+
/**
|
|
15520
|
+
* @param {string} value
|
|
15521
|
+
* @param {number=} opt_index
|
|
15522
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15523
|
+
*/
|
|
15524
|
+
proto.ocap.ForgeStats.prototype.addNumTransferTxs = function(value, opt_index) {
|
|
15525
|
+
return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
|
|
15526
|
+
};
|
|
15527
|
+
|
|
15528
|
+
|
|
15529
|
+
/**
|
|
15530
|
+
* Clears the list making it empty but non-null.
|
|
15531
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15532
|
+
*/
|
|
15533
|
+
proto.ocap.ForgeStats.prototype.clearNumTransferTxsList = function() {
|
|
15534
|
+
return this.setNumTransferTxsList([]);
|
|
15535
|
+
};
|
|
15536
|
+
|
|
15537
|
+
|
|
15538
|
+
/**
|
|
15539
|
+
* repeated string num_update_asset_txs = 14;
|
|
15540
|
+
* @return {!Array<string>}
|
|
15541
|
+
*/
|
|
15542
|
+
proto.ocap.ForgeStats.prototype.getNumUpdateAssetTxsList = function() {
|
|
15543
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14));
|
|
15544
|
+
};
|
|
15545
|
+
|
|
15546
|
+
|
|
15547
|
+
/**
|
|
15548
|
+
* @param {!Array<string>} value
|
|
15549
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15550
|
+
*/
|
|
15551
|
+
proto.ocap.ForgeStats.prototype.setNumUpdateAssetTxsList = function(value) {
|
|
15552
|
+
return jspb.Message.setField(this, 14, value || []);
|
|
15553
|
+
};
|
|
15554
|
+
|
|
15555
|
+
|
|
15556
|
+
/**
|
|
15557
|
+
* @param {string} value
|
|
15558
|
+
* @param {number=} opt_index
|
|
15559
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15560
|
+
*/
|
|
15561
|
+
proto.ocap.ForgeStats.prototype.addNumUpdateAssetTxs = function(value, opt_index) {
|
|
15562
|
+
return jspb.Message.addToRepeatedField(this, 14, value, opt_index);
|
|
15563
|
+
};
|
|
15564
|
+
|
|
15565
|
+
|
|
15566
|
+
/**
|
|
15567
|
+
* Clears the list making it empty but non-null.
|
|
15568
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15569
|
+
*/
|
|
15570
|
+
proto.ocap.ForgeStats.prototype.clearNumUpdateAssetTxsList = function() {
|
|
15571
|
+
return this.setNumUpdateAssetTxsList([]);
|
|
15572
|
+
};
|
|
15573
|
+
|
|
15574
|
+
|
|
15575
|
+
/**
|
|
15576
|
+
* repeated string num_consume_asset_txs = 15;
|
|
15577
|
+
* @return {!Array<string>}
|
|
15578
|
+
*/
|
|
15579
|
+
proto.ocap.ForgeStats.prototype.getNumConsumeAssetTxsList = function() {
|
|
15580
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 15));
|
|
15581
|
+
};
|
|
15582
|
+
|
|
15583
|
+
|
|
15584
|
+
/**
|
|
15585
|
+
* @param {!Array<string>} value
|
|
15586
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15587
|
+
*/
|
|
15588
|
+
proto.ocap.ForgeStats.prototype.setNumConsumeAssetTxsList = function(value) {
|
|
15589
|
+
return jspb.Message.setField(this, 15, value || []);
|
|
15590
|
+
};
|
|
15591
|
+
|
|
15592
|
+
|
|
15593
|
+
/**
|
|
15594
|
+
* @param {string} value
|
|
15595
|
+
* @param {number=} opt_index
|
|
15596
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15597
|
+
*/
|
|
15598
|
+
proto.ocap.ForgeStats.prototype.addNumConsumeAssetTxs = function(value, opt_index) {
|
|
15599
|
+
return jspb.Message.addToRepeatedField(this, 15, value, opt_index);
|
|
15600
|
+
};
|
|
15601
|
+
|
|
15602
|
+
|
|
15603
|
+
/**
|
|
15604
|
+
* Clears the list making it empty but non-null.
|
|
15605
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15606
|
+
*/
|
|
15607
|
+
proto.ocap.ForgeStats.prototype.clearNumConsumeAssetTxsList = function() {
|
|
15608
|
+
return this.setNumConsumeAssetTxsList([]);
|
|
15609
|
+
};
|
|
15610
|
+
|
|
15611
|
+
|
|
15612
|
+
/**
|
|
15613
|
+
* repeated uint32 tps = 16;
|
|
15614
|
+
* @return {!Array<number>}
|
|
15615
|
+
*/
|
|
15616
|
+
proto.ocap.ForgeStats.prototype.getTpsList = function() {
|
|
15617
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 16));
|
|
15618
|
+
};
|
|
15619
|
+
|
|
15620
|
+
|
|
15621
|
+
/**
|
|
15622
|
+
* @param {!Array<number>} value
|
|
15623
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15624
|
+
*/
|
|
15625
|
+
proto.ocap.ForgeStats.prototype.setTpsList = function(value) {
|
|
15626
|
+
return jspb.Message.setField(this, 16, value || []);
|
|
15627
|
+
};
|
|
15628
|
+
|
|
15629
|
+
|
|
15630
|
+
/**
|
|
15631
|
+
* @param {number} value
|
|
15632
|
+
* @param {number=} opt_index
|
|
15633
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15634
|
+
*/
|
|
15635
|
+
proto.ocap.ForgeStats.prototype.addTps = function(value, opt_index) {
|
|
15636
|
+
return jspb.Message.addToRepeatedField(this, 16, value, opt_index);
|
|
15637
|
+
};
|
|
15638
|
+
|
|
15639
|
+
|
|
15640
|
+
/**
|
|
15641
|
+
* Clears the list making it empty but non-null.
|
|
15642
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15643
|
+
*/
|
|
15644
|
+
proto.ocap.ForgeStats.prototype.clearTpsList = function() {
|
|
15645
|
+
return this.setTpsList([]);
|
|
15646
|
+
};
|
|
15647
|
+
|
|
15648
|
+
|
|
15649
|
+
/**
|
|
15650
|
+
* optional uint32 max_tps = 17;
|
|
15651
|
+
* @return {number}
|
|
15652
|
+
*/
|
|
15653
|
+
proto.ocap.ForgeStats.prototype.getMaxTps = function() {
|
|
15654
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
15655
|
+
};
|
|
15656
|
+
|
|
15657
|
+
|
|
15658
|
+
/**
|
|
15659
|
+
* @param {number} value
|
|
15660
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15661
|
+
*/
|
|
15662
|
+
proto.ocap.ForgeStats.prototype.setMaxTps = function(value) {
|
|
15663
|
+
return jspb.Message.setProto3IntField(this, 17, value);
|
|
15664
|
+
};
|
|
15665
|
+
|
|
15666
|
+
|
|
15667
|
+
/**
|
|
15668
|
+
* optional uint32 avg_tps = 18;
|
|
15669
|
+
* @return {number}
|
|
15670
|
+
*/
|
|
15671
|
+
proto.ocap.ForgeStats.prototype.getAvgTps = function() {
|
|
15672
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
15673
|
+
};
|
|
15674
|
+
|
|
15675
|
+
|
|
15676
|
+
/**
|
|
15677
|
+
* @param {number} value
|
|
15678
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15679
|
+
*/
|
|
15680
|
+
proto.ocap.ForgeStats.prototype.setAvgTps = function(value) {
|
|
15681
|
+
return jspb.Message.setProto3IntField(this, 18, value);
|
|
15682
|
+
};
|
|
15683
|
+
|
|
15684
|
+
|
|
15685
|
+
/**
|
|
15686
|
+
* optional float avg_block_time = 19;
|
|
15687
|
+
* @return {number}
|
|
15688
|
+
*/
|
|
15689
|
+
proto.ocap.ForgeStats.prototype.getAvgBlockTime = function() {
|
|
15690
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0));
|
|
15691
|
+
};
|
|
15692
|
+
|
|
15693
|
+
|
|
15694
|
+
/**
|
|
15695
|
+
* @param {number} value
|
|
15696
|
+
* @return {!proto.ocap.ForgeStats} returns this
|
|
15697
|
+
*/
|
|
15698
|
+
proto.ocap.ForgeStats.prototype.setAvgBlockTime = function(value) {
|
|
15699
|
+
return jspb.Message.setProto3FloatField(this, 19, value);
|
|
15700
|
+
};
|
|
15701
|
+
|
|
15702
|
+
|
|
14688
15703
|
goog.object.extend(exports, proto.ocap);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/proto",
|
|
3
3
|
"description": "Static modules generated from forge-sdk protobuf files",
|
|
4
|
-
"version": "1.14.
|
|
4
|
+
"version": "1.14.8",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"debug": "^4.3.2",
|
|
48
48
|
"lodash": "^4.17.21"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "1d41025b5e00840e7cba0887c3b60adc4f388b7a"
|
|
51
51
|
}
|