@ocap/proto 1.13.42 → 1.13.44
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 +16 -0
- package/lib/gen/state_pb.js +60 -0
- package/lib/gen/trace-type_pb.js +60 -0
- package/package.json +2 -2
package/lib/gen/spec.json
CHANGED
|
@@ -3140,6 +3140,14 @@
|
|
|
3140
3140
|
"type": "IndexedTokenInput",
|
|
3141
3141
|
"id": 25
|
|
3142
3142
|
},
|
|
3143
|
+
"totalDepositAmount": {
|
|
3144
|
+
"type": "string",
|
|
3145
|
+
"id": 26
|
|
3146
|
+
},
|
|
3147
|
+
"totalWithdrawAmount": {
|
|
3148
|
+
"type": "string",
|
|
3149
|
+
"id": 27
|
|
3150
|
+
},
|
|
3143
3151
|
"context": {
|
|
3144
3152
|
"type": "StateContext",
|
|
3145
3153
|
"id": 30
|
|
@@ -5072,6 +5080,14 @@
|
|
|
5072
5080
|
"type": "uint32",
|
|
5073
5081
|
"id": 27
|
|
5074
5082
|
},
|
|
5083
|
+
"totalDepositAmount": {
|
|
5084
|
+
"type": "string",
|
|
5085
|
+
"id": 28
|
|
5086
|
+
},
|
|
5087
|
+
"totalWithdrawAmount": {
|
|
5088
|
+
"type": "string",
|
|
5089
|
+
"id": 29
|
|
5090
|
+
},
|
|
5075
5091
|
"data": {
|
|
5076
5092
|
"type": "google.protobuf.Any",
|
|
5077
5093
|
"id": 50
|
package/lib/gen/state_pb.js
CHANGED
|
@@ -6665,6 +6665,8 @@ proto.ocap.RollupState.toObject = function(includeInstance, msg) {
|
|
|
6665
6665
|
blockHeight: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
6666
6666
|
blockHash: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
6667
6667
|
tokenInfo: (f = msg.getTokenInfo()) && type_pb.IndexedTokenInput.toObject(includeInstance, f),
|
|
6668
|
+
totalDepositAmount: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
6669
|
+
totalWithdrawAmount: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
6668
6670
|
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
|
|
6669
6671
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
6670
6672
|
};
|
|
@@ -6806,6 +6808,14 @@ proto.ocap.RollupState.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6806
6808
|
reader.readMessage(value,type_pb.IndexedTokenInput.deserializeBinaryFromReader);
|
|
6807
6809
|
msg.setTokenInfo(value);
|
|
6808
6810
|
break;
|
|
6811
|
+
case 26:
|
|
6812
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6813
|
+
msg.setTotalDepositAmount(value);
|
|
6814
|
+
break;
|
|
6815
|
+
case 27:
|
|
6816
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6817
|
+
msg.setTotalWithdrawAmount(value);
|
|
6818
|
+
break;
|
|
6809
6819
|
case 30:
|
|
6810
6820
|
var value = new type_pb.StateContext;
|
|
6811
6821
|
reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
|
|
@@ -7023,6 +7033,20 @@ proto.ocap.RollupState.serializeBinaryToWriter = function(message, writer) {
|
|
|
7023
7033
|
type_pb.IndexedTokenInput.serializeBinaryToWriter
|
|
7024
7034
|
);
|
|
7025
7035
|
}
|
|
7036
|
+
f = message.getTotalDepositAmount();
|
|
7037
|
+
if (f.length > 0) {
|
|
7038
|
+
writer.writeString(
|
|
7039
|
+
26,
|
|
7040
|
+
f
|
|
7041
|
+
);
|
|
7042
|
+
}
|
|
7043
|
+
f = message.getTotalWithdrawAmount();
|
|
7044
|
+
if (f.length > 0) {
|
|
7045
|
+
writer.writeString(
|
|
7046
|
+
27,
|
|
7047
|
+
f
|
|
7048
|
+
);
|
|
7049
|
+
}
|
|
7026
7050
|
f = message.getContext();
|
|
7027
7051
|
if (f != null) {
|
|
7028
7052
|
writer.writeMessage(
|
|
@@ -7551,6 +7575,42 @@ proto.ocap.RollupState.prototype.hasTokenInfo = function() {
|
|
|
7551
7575
|
};
|
|
7552
7576
|
|
|
7553
7577
|
|
|
7578
|
+
/**
|
|
7579
|
+
* optional string total_deposit_amount = 26;
|
|
7580
|
+
* @return {string}
|
|
7581
|
+
*/
|
|
7582
|
+
proto.ocap.RollupState.prototype.getTotalDepositAmount = function() {
|
|
7583
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
|
|
7584
|
+
};
|
|
7585
|
+
|
|
7586
|
+
|
|
7587
|
+
/**
|
|
7588
|
+
* @param {string} value
|
|
7589
|
+
* @return {!proto.ocap.RollupState} returns this
|
|
7590
|
+
*/
|
|
7591
|
+
proto.ocap.RollupState.prototype.setTotalDepositAmount = function(value) {
|
|
7592
|
+
return jspb.Message.setProto3StringField(this, 26, value);
|
|
7593
|
+
};
|
|
7594
|
+
|
|
7595
|
+
|
|
7596
|
+
/**
|
|
7597
|
+
* optional string total_withdraw_amount = 27;
|
|
7598
|
+
* @return {string}
|
|
7599
|
+
*/
|
|
7600
|
+
proto.ocap.RollupState.prototype.getTotalWithdrawAmount = function() {
|
|
7601
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
7602
|
+
};
|
|
7603
|
+
|
|
7604
|
+
|
|
7605
|
+
/**
|
|
7606
|
+
* @param {string} value
|
|
7607
|
+
* @return {!proto.ocap.RollupState} returns this
|
|
7608
|
+
*/
|
|
7609
|
+
proto.ocap.RollupState.prototype.setTotalWithdrawAmount = function(value) {
|
|
7610
|
+
return jspb.Message.setProto3StringField(this, 27, value);
|
|
7611
|
+
};
|
|
7612
|
+
|
|
7613
|
+
|
|
7554
7614
|
/**
|
|
7555
7615
|
* optional StateContext context = 30;
|
|
7556
7616
|
* @return {?proto.ocap.StateContext}
|
package/lib/gen/trace-type_pb.js
CHANGED
|
@@ -9276,6 +9276,8 @@ proto.ocap.IndexedRollupState.toObject = function(includeInstance, msg) {
|
|
|
9276
9276
|
blockHeight: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
9277
9277
|
blockHash: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
9278
9278
|
minBlockConfirmation: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
9279
|
+
totalDepositAmount: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
9280
|
+
totalWithdrawAmount: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
9279
9281
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
9280
9282
|
};
|
|
9281
9283
|
|
|
@@ -9424,6 +9426,14 @@ proto.ocap.IndexedRollupState.deserializeBinaryFromReader = function(msg, reader
|
|
|
9424
9426
|
var value = /** @type {number} */ (reader.readUint32());
|
|
9425
9427
|
msg.setMinBlockConfirmation(value);
|
|
9426
9428
|
break;
|
|
9429
|
+
case 28:
|
|
9430
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9431
|
+
msg.setTotalDepositAmount(value);
|
|
9432
|
+
break;
|
|
9433
|
+
case 29:
|
|
9434
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9435
|
+
msg.setTotalWithdrawAmount(value);
|
|
9436
|
+
break;
|
|
9427
9437
|
case 50:
|
|
9428
9438
|
var value = new google_protobuf_any_pb.Any;
|
|
9429
9439
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -9650,6 +9660,20 @@ proto.ocap.IndexedRollupState.serializeBinaryToWriter = function(message, writer
|
|
|
9650
9660
|
f
|
|
9651
9661
|
);
|
|
9652
9662
|
}
|
|
9663
|
+
f = message.getTotalDepositAmount();
|
|
9664
|
+
if (f.length > 0) {
|
|
9665
|
+
writer.writeString(
|
|
9666
|
+
28,
|
|
9667
|
+
f
|
|
9668
|
+
);
|
|
9669
|
+
}
|
|
9670
|
+
f = message.getTotalWithdrawAmount();
|
|
9671
|
+
if (f.length > 0) {
|
|
9672
|
+
writer.writeString(
|
|
9673
|
+
29,
|
|
9674
|
+
f
|
|
9675
|
+
);
|
|
9676
|
+
}
|
|
9653
9677
|
f = message.getData();
|
|
9654
9678
|
if (f != null) {
|
|
9655
9679
|
writer.writeMessage(
|
|
@@ -10206,6 +10230,42 @@ proto.ocap.IndexedRollupState.prototype.setMinBlockConfirmation = function(value
|
|
|
10206
10230
|
};
|
|
10207
10231
|
|
|
10208
10232
|
|
|
10233
|
+
/**
|
|
10234
|
+
* optional string total_deposit_amount = 28;
|
|
10235
|
+
* @return {string}
|
|
10236
|
+
*/
|
|
10237
|
+
proto.ocap.IndexedRollupState.prototype.getTotalDepositAmount = function() {
|
|
10238
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
10239
|
+
};
|
|
10240
|
+
|
|
10241
|
+
|
|
10242
|
+
/**
|
|
10243
|
+
* @param {string} value
|
|
10244
|
+
* @return {!proto.ocap.IndexedRollupState} returns this
|
|
10245
|
+
*/
|
|
10246
|
+
proto.ocap.IndexedRollupState.prototype.setTotalDepositAmount = function(value) {
|
|
10247
|
+
return jspb.Message.setProto3StringField(this, 28, value);
|
|
10248
|
+
};
|
|
10249
|
+
|
|
10250
|
+
|
|
10251
|
+
/**
|
|
10252
|
+
* optional string total_withdraw_amount = 29;
|
|
10253
|
+
* @return {string}
|
|
10254
|
+
*/
|
|
10255
|
+
proto.ocap.IndexedRollupState.prototype.getTotalWithdrawAmount = function() {
|
|
10256
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
|
|
10257
|
+
};
|
|
10258
|
+
|
|
10259
|
+
|
|
10260
|
+
/**
|
|
10261
|
+
* @param {string} value
|
|
10262
|
+
* @return {!proto.ocap.IndexedRollupState} returns this
|
|
10263
|
+
*/
|
|
10264
|
+
proto.ocap.IndexedRollupState.prototype.setTotalWithdrawAmount = function(value) {
|
|
10265
|
+
return jspb.Message.setProto3StringField(this, 29, value);
|
|
10266
|
+
};
|
|
10267
|
+
|
|
10268
|
+
|
|
10209
10269
|
/**
|
|
10210
10270
|
* optional google.protobuf.Any data = 50;
|
|
10211
10271
|
* @return {?proto.google.protobuf.Any}
|
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.13.
|
|
4
|
+
"version": "1.13.44",
|
|
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": "72116480f29ddbf98543ffee58205aef29943366"
|
|
51
51
|
}
|