@ocap/proto 1.13.60 → 1.13.64
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 +62 -38
- package/lib/gen/state_pb.js +95 -125
- package/lib/gen/trace-type_pb.js +60 -120
- package/lib/gen/tx_pb.js +300 -0
- package/lib/provider.js +1 -0
- package/package.json +2 -2
package/lib/gen/spec.json
CHANGED
|
@@ -951,13 +951,9 @@
|
|
|
951
951
|
"type": "string",
|
|
952
952
|
"id": 2
|
|
953
953
|
},
|
|
954
|
-
"erc20TokenAddress": {
|
|
955
|
-
"type": "string",
|
|
956
|
-
"id": 3
|
|
957
|
-
},
|
|
958
954
|
"foreignTokenAddress": {
|
|
959
955
|
"type": "string",
|
|
960
|
-
"id":
|
|
956
|
+
"id": 3
|
|
961
957
|
}
|
|
962
958
|
}
|
|
963
959
|
},
|
|
@@ -2967,13 +2963,9 @@
|
|
|
2967
2963
|
"type": "string",
|
|
2968
2964
|
"id": 9
|
|
2969
2965
|
},
|
|
2970
|
-
"erc20ContractAddress": {
|
|
2971
|
-
"type": "string",
|
|
2972
|
-
"id": 10
|
|
2973
|
-
},
|
|
2974
2966
|
"foreignToken": {
|
|
2975
2967
|
"type": "ForeignToken",
|
|
2976
|
-
"id":
|
|
2968
|
+
"id": 10
|
|
2977
2969
|
},
|
|
2978
2970
|
"context": {
|
|
2979
2971
|
"type": "StateContext",
|
|
@@ -3126,10 +3118,6 @@
|
|
|
3126
3118
|
"type": "string",
|
|
3127
3119
|
"id": 2
|
|
3128
3120
|
},
|
|
3129
|
-
"erc20TokenAddress": {
|
|
3130
|
-
"type": "string",
|
|
3131
|
-
"id": 3
|
|
3132
|
-
},
|
|
3133
3121
|
"contractAddress": {
|
|
3134
3122
|
"type": "string",
|
|
3135
3123
|
"id": 4
|
|
@@ -3176,14 +3164,6 @@
|
|
|
3176
3164
|
"type": "uint32",
|
|
3177
3165
|
"id": 14
|
|
3178
3166
|
},
|
|
3179
|
-
"foreignChainType": {
|
|
3180
|
-
"type": "string",
|
|
3181
|
-
"id": 15
|
|
3182
|
-
},
|
|
3183
|
-
"foreignChainId": {
|
|
3184
|
-
"type": "string",
|
|
3185
|
-
"id": 16
|
|
3186
|
-
},
|
|
3187
3167
|
"issuer": {
|
|
3188
3168
|
"type": "string",
|
|
3189
3169
|
"id": 17
|
|
@@ -3268,6 +3248,14 @@
|
|
|
3268
3248
|
"type": "uint32",
|
|
3269
3249
|
"id": 37
|
|
3270
3250
|
},
|
|
3251
|
+
"publishWaitingPeriod": {
|
|
3252
|
+
"type": "uint32",
|
|
3253
|
+
"id": 38
|
|
3254
|
+
},
|
|
3255
|
+
"publishSlashRate": {
|
|
3256
|
+
"type": "uint32",
|
|
3257
|
+
"id": 39
|
|
3258
|
+
},
|
|
3271
3259
|
"context": {
|
|
3272
3260
|
"type": "StateContext",
|
|
3273
3261
|
"id": 40
|
|
@@ -3330,6 +3318,10 @@
|
|
|
3330
3318
|
"type": "string",
|
|
3331
3319
|
"id": 13
|
|
3332
3320
|
},
|
|
3321
|
+
"minReward": {
|
|
3322
|
+
"type": "string",
|
|
3323
|
+
"id": 14
|
|
3324
|
+
},
|
|
3333
3325
|
"context": {
|
|
3334
3326
|
"type": "StateContext",
|
|
3335
3327
|
"id": 30
|
|
@@ -4078,6 +4070,14 @@
|
|
|
4078
4070
|
"type": "uint32",
|
|
4079
4071
|
"id": 29
|
|
4080
4072
|
},
|
|
4073
|
+
"publishWaitingPeriod": {
|
|
4074
|
+
"type": "uint32",
|
|
4075
|
+
"id": 30
|
|
4076
|
+
},
|
|
4077
|
+
"publishSlashRate": {
|
|
4078
|
+
"type": "uint32",
|
|
4079
|
+
"id": 31
|
|
4080
|
+
},
|
|
4081
4081
|
"data": {
|
|
4082
4082
|
"type": "google.protobuf.Any",
|
|
4083
4083
|
"id": 50
|
|
@@ -4174,6 +4174,18 @@
|
|
|
4174
4174
|
"type": "uint32",
|
|
4175
4175
|
"id": 22
|
|
4176
4176
|
},
|
|
4177
|
+
"leaveWaitingPeriod": {
|
|
4178
|
+
"type": "uint32",
|
|
4179
|
+
"id": 23
|
|
4180
|
+
},
|
|
4181
|
+
"publishWaitingPeriod": {
|
|
4182
|
+
"type": "uint32",
|
|
4183
|
+
"id": 24
|
|
4184
|
+
},
|
|
4185
|
+
"publishSlashRate": {
|
|
4186
|
+
"type": "uint32",
|
|
4187
|
+
"id": 25
|
|
4188
|
+
},
|
|
4177
4189
|
"data": {
|
|
4178
4190
|
"type": "google.protobuf.Any",
|
|
4179
4191
|
"id": 50
|
|
@@ -4266,6 +4278,10 @@
|
|
|
4266
4278
|
"type": "string",
|
|
4267
4279
|
"id": 10
|
|
4268
4280
|
},
|
|
4281
|
+
"minReward": {
|
|
4282
|
+
"type": "string",
|
|
4283
|
+
"id": 11
|
|
4284
|
+
},
|
|
4269
4285
|
"data": {
|
|
4270
4286
|
"type": "google.protobuf.Any",
|
|
4271
4287
|
"id": 50
|
|
@@ -4322,6 +4338,10 @@
|
|
|
4322
4338
|
"type": "string",
|
|
4323
4339
|
"id": 5
|
|
4324
4340
|
},
|
|
4341
|
+
"actualFee": {
|
|
4342
|
+
"type": "string",
|
|
4343
|
+
"id": 7
|
|
4344
|
+
},
|
|
4325
4345
|
"data": {
|
|
4326
4346
|
"type": "google.protobuf.Any",
|
|
4327
4347
|
"id": 15
|
|
@@ -4342,6 +4362,18 @@
|
|
|
4342
4362
|
"type": "string",
|
|
4343
4363
|
"id": 3
|
|
4344
4364
|
},
|
|
4365
|
+
"proposer": {
|
|
4366
|
+
"type": "string",
|
|
4367
|
+
"id": 5
|
|
4368
|
+
},
|
|
4369
|
+
"maxFee": {
|
|
4370
|
+
"type": "string",
|
|
4371
|
+
"id": 6
|
|
4372
|
+
},
|
|
4373
|
+
"actualFee": {
|
|
4374
|
+
"type": "string",
|
|
4375
|
+
"id": 7
|
|
4376
|
+
},
|
|
4345
4377
|
"data": {
|
|
4346
4378
|
"type": "google.protobuf.Any",
|
|
4347
4379
|
"id": 15
|
|
@@ -5091,10 +5123,6 @@
|
|
|
5091
5123
|
"type": "string",
|
|
5092
5124
|
"id": 11
|
|
5093
5125
|
},
|
|
5094
|
-
"erc20ContractAddress": {
|
|
5095
|
-
"type": "string",
|
|
5096
|
-
"id": 12
|
|
5097
|
-
},
|
|
5098
5126
|
"foreignToken": {
|
|
5099
5127
|
"type": "ForeignToken",
|
|
5100
5128
|
"id": 13
|
|
@@ -5254,10 +5282,6 @@
|
|
|
5254
5282
|
"type": "string",
|
|
5255
5283
|
"id": 2
|
|
5256
5284
|
},
|
|
5257
|
-
"erc20TokenAddress": {
|
|
5258
|
-
"type": "string",
|
|
5259
|
-
"id": 3
|
|
5260
|
-
},
|
|
5261
5285
|
"contractAddress": {
|
|
5262
5286
|
"type": "string",
|
|
5263
5287
|
"id": 4
|
|
@@ -5300,14 +5324,6 @@
|
|
|
5300
5324
|
"type": "uint32",
|
|
5301
5325
|
"id": 13
|
|
5302
5326
|
},
|
|
5303
|
-
"foreignChainType": {
|
|
5304
|
-
"type": "string",
|
|
5305
|
-
"id": 14
|
|
5306
|
-
},
|
|
5307
|
-
"foreignChainId": {
|
|
5308
|
-
"type": "string",
|
|
5309
|
-
"id": 15
|
|
5310
|
-
},
|
|
5311
5327
|
"genesisTime": {
|
|
5312
5328
|
"type": "string",
|
|
5313
5329
|
"id": 16
|
|
@@ -5404,6 +5420,14 @@
|
|
|
5404
5420
|
"type": "uint32",
|
|
5405
5421
|
"id": 39
|
|
5406
5422
|
},
|
|
5423
|
+
"publishWaitingPeriod": {
|
|
5424
|
+
"type": "uint32",
|
|
5425
|
+
"id": 40
|
|
5426
|
+
},
|
|
5427
|
+
"publishSlashRate": {
|
|
5428
|
+
"type": "uint32",
|
|
5429
|
+
"id": 41
|
|
5430
|
+
},
|
|
5407
5431
|
"data": {
|
|
5408
5432
|
"type": "google.protobuf.Any",
|
|
5409
5433
|
"id": 50
|
package/lib/gen/state_pb.js
CHANGED
|
@@ -4870,7 +4870,6 @@ proto.ocap.TokenState.toObject = function(includeInstance, msg) {
|
|
|
4870
4870
|
decimal: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
4871
4871
|
icon: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4872
4872
|
totalSupply: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4873
|
-
erc20ContractAddress: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4874
4873
|
foreignToken: (f = msg.getForeignToken()) && type_pb.ForeignToken.toObject(includeInstance, f),
|
|
4875
4874
|
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
|
|
4876
4875
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
@@ -4947,10 +4946,6 @@ proto.ocap.TokenState.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
4947
4946
|
msg.setTotalSupply(value);
|
|
4948
4947
|
break;
|
|
4949
4948
|
case 10:
|
|
4950
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4951
|
-
msg.setErc20ContractAddress(value);
|
|
4952
|
-
break;
|
|
4953
|
-
case 11:
|
|
4954
4949
|
var value = new type_pb.ForeignToken;
|
|
4955
4950
|
reader.readMessage(value,type_pb.ForeignToken.deserializeBinaryFromReader);
|
|
4956
4951
|
msg.setForeignToken(value);
|
|
@@ -5057,17 +5052,10 @@ proto.ocap.TokenState.serializeBinaryToWriter = function(message, writer) {
|
|
|
5057
5052
|
f
|
|
5058
5053
|
);
|
|
5059
5054
|
}
|
|
5060
|
-
f = message.getErc20ContractAddress();
|
|
5061
|
-
if (f.length > 0) {
|
|
5062
|
-
writer.writeString(
|
|
5063
|
-
10,
|
|
5064
|
-
f
|
|
5065
|
-
);
|
|
5066
|
-
}
|
|
5067
5055
|
f = message.getForeignToken();
|
|
5068
5056
|
if (f != null) {
|
|
5069
5057
|
writer.writeMessage(
|
|
5070
|
-
|
|
5058
|
+
10,
|
|
5071
5059
|
f,
|
|
5072
5060
|
type_pb.ForeignToken.serializeBinaryToWriter
|
|
5073
5061
|
);
|
|
@@ -5254,30 +5242,12 @@ proto.ocap.TokenState.prototype.setTotalSupply = function(value) {
|
|
|
5254
5242
|
|
|
5255
5243
|
|
|
5256
5244
|
/**
|
|
5257
|
-
* optional
|
|
5258
|
-
* @return {string}
|
|
5259
|
-
*/
|
|
5260
|
-
proto.ocap.TokenState.prototype.getErc20ContractAddress = function() {
|
|
5261
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5262
|
-
};
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
/**
|
|
5266
|
-
* @param {string} value
|
|
5267
|
-
* @return {!proto.ocap.TokenState} returns this
|
|
5268
|
-
*/
|
|
5269
|
-
proto.ocap.TokenState.prototype.setErc20ContractAddress = function(value) {
|
|
5270
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5271
|
-
};
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
/**
|
|
5275
|
-
* optional ForeignToken foreign_token = 11;
|
|
5245
|
+
* optional ForeignToken foreign_token = 10;
|
|
5276
5246
|
* @return {?proto.ocap.ForeignToken}
|
|
5277
5247
|
*/
|
|
5278
5248
|
proto.ocap.TokenState.prototype.getForeignToken = function() {
|
|
5279
5249
|
return /** @type{?proto.ocap.ForeignToken} */ (
|
|
5280
|
-
jspb.Message.getWrapperField(this, type_pb.ForeignToken,
|
|
5250
|
+
jspb.Message.getWrapperField(this, type_pb.ForeignToken, 10));
|
|
5281
5251
|
};
|
|
5282
5252
|
|
|
5283
5253
|
|
|
@@ -5286,7 +5256,7 @@ proto.ocap.TokenState.prototype.getForeignToken = function() {
|
|
|
5286
5256
|
* @return {!proto.ocap.TokenState} returns this
|
|
5287
5257
|
*/
|
|
5288
5258
|
proto.ocap.TokenState.prototype.setForeignToken = function(value) {
|
|
5289
|
-
return jspb.Message.setWrapperField(this,
|
|
5259
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
5290
5260
|
};
|
|
5291
5261
|
|
|
5292
5262
|
|
|
@@ -5304,7 +5274,7 @@ proto.ocap.TokenState.prototype.clearForeignToken = function() {
|
|
|
5304
5274
|
* @return {boolean}
|
|
5305
5275
|
*/
|
|
5306
5276
|
proto.ocap.TokenState.prototype.hasForeignToken = function() {
|
|
5307
|
-
return jspb.Message.getField(this,
|
|
5277
|
+
return jspb.Message.getField(this, 10) != null;
|
|
5308
5278
|
};
|
|
5309
5279
|
|
|
5310
5280
|
|
|
@@ -6845,7 +6815,6 @@ proto.ocap.RollupState.toObject = function(includeInstance, msg) {
|
|
|
6845
6815
|
var f, obj = {
|
|
6846
6816
|
address: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6847
6817
|
tokenAddress: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6848
|
-
erc20TokenAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6849
6818
|
contractAddress: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6850
6819
|
seedValidatorsList: jspb.Message.toObjectList(msg.getSeedValidatorsList(),
|
|
6851
6820
|
type_pb.RollupValidator.toObject, includeInstance),
|
|
@@ -6859,8 +6828,6 @@ proto.ocap.RollupState.toObject = function(includeInstance, msg) {
|
|
|
6859
6828
|
maxBlockSize: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
6860
6829
|
minBlockInterval: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
6861
6830
|
minBlockConfirmation: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
6862
|
-
foreignChainType: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
6863
|
-
foreignChainId: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
6864
6831
|
issuer: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
6865
6832
|
depositFeeRate: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
6866
6833
|
withdrawFeeRate: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
@@ -6882,6 +6849,8 @@ proto.ocap.RollupState.toObject = function(includeInstance, msg) {
|
|
|
6882
6849
|
paused: jspb.Message.getBooleanFieldWithDefault(msg, 35, false),
|
|
6883
6850
|
foreignToken: (f = msg.getForeignToken()) && type_pb.ForeignToken.toObject(includeInstance, f),
|
|
6884
6851
|
leaveWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 37, 0),
|
|
6852
|
+
publishWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 38, 0),
|
|
6853
|
+
publishSlashRate: jspb.Message.getFieldWithDefault(msg, 39, 0),
|
|
6885
6854
|
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
|
|
6886
6855
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
6887
6856
|
};
|
|
@@ -6928,10 +6897,6 @@ proto.ocap.RollupState.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6928
6897
|
var value = /** @type {string} */ (reader.readString());
|
|
6929
6898
|
msg.setTokenAddress(value);
|
|
6930
6899
|
break;
|
|
6931
|
-
case 3:
|
|
6932
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6933
|
-
msg.setErc20TokenAddress(value);
|
|
6934
|
-
break;
|
|
6935
6900
|
case 4:
|
|
6936
6901
|
var value = /** @type {string} */ (reader.readString());
|
|
6937
6902
|
msg.setContractAddress(value);
|
|
@@ -6978,14 +6943,6 @@ proto.ocap.RollupState.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6978
6943
|
var value = /** @type {number} */ (reader.readUint32());
|
|
6979
6944
|
msg.setMinBlockConfirmation(value);
|
|
6980
6945
|
break;
|
|
6981
|
-
case 15:
|
|
6982
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6983
|
-
msg.setForeignChainType(value);
|
|
6984
|
-
break;
|
|
6985
|
-
case 16:
|
|
6986
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6987
|
-
msg.setForeignChainId(value);
|
|
6988
|
-
break;
|
|
6989
6946
|
case 17:
|
|
6990
6947
|
var value = /** @type {string} */ (reader.readString());
|
|
6991
6948
|
msg.setIssuer(value);
|
|
@@ -7072,6 +7029,14 @@ proto.ocap.RollupState.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7072
7029
|
var value = /** @type {number} */ (reader.readUint32());
|
|
7073
7030
|
msg.setLeaveWaitingPeriod(value);
|
|
7074
7031
|
break;
|
|
7032
|
+
case 38:
|
|
7033
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
7034
|
+
msg.setPublishWaitingPeriod(value);
|
|
7035
|
+
break;
|
|
7036
|
+
case 39:
|
|
7037
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
7038
|
+
msg.setPublishSlashRate(value);
|
|
7039
|
+
break;
|
|
7075
7040
|
case 40:
|
|
7076
7041
|
var value = new type_pb.StateContext;
|
|
7077
7042
|
reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
|
|
@@ -7125,13 +7090,6 @@ proto.ocap.RollupState.serializeBinaryToWriter = function(message, writer) {
|
|
|
7125
7090
|
f
|
|
7126
7091
|
);
|
|
7127
7092
|
}
|
|
7128
|
-
f = message.getErc20TokenAddress();
|
|
7129
|
-
if (f.length > 0) {
|
|
7130
|
-
writer.writeString(
|
|
7131
|
-
3,
|
|
7132
|
-
f
|
|
7133
|
-
);
|
|
7134
|
-
}
|
|
7135
7093
|
f = message.getContractAddress();
|
|
7136
7094
|
if (f.length > 0) {
|
|
7137
7095
|
writer.writeString(
|
|
@@ -7211,20 +7169,6 @@ proto.ocap.RollupState.serializeBinaryToWriter = function(message, writer) {
|
|
|
7211
7169
|
f
|
|
7212
7170
|
);
|
|
7213
7171
|
}
|
|
7214
|
-
f = message.getForeignChainType();
|
|
7215
|
-
if (f.length > 0) {
|
|
7216
|
-
writer.writeString(
|
|
7217
|
-
15,
|
|
7218
|
-
f
|
|
7219
|
-
);
|
|
7220
|
-
}
|
|
7221
|
-
f = message.getForeignChainId();
|
|
7222
|
-
if (f.length > 0) {
|
|
7223
|
-
writer.writeString(
|
|
7224
|
-
16,
|
|
7225
|
-
f
|
|
7226
|
-
);
|
|
7227
|
-
}
|
|
7228
7172
|
f = message.getIssuer();
|
|
7229
7173
|
if (f.length > 0) {
|
|
7230
7174
|
writer.writeString(
|
|
@@ -7374,6 +7318,20 @@ proto.ocap.RollupState.serializeBinaryToWriter = function(message, writer) {
|
|
|
7374
7318
|
f
|
|
7375
7319
|
);
|
|
7376
7320
|
}
|
|
7321
|
+
f = message.getPublishWaitingPeriod();
|
|
7322
|
+
if (f !== 0) {
|
|
7323
|
+
writer.writeUint32(
|
|
7324
|
+
38,
|
|
7325
|
+
f
|
|
7326
|
+
);
|
|
7327
|
+
}
|
|
7328
|
+
f = message.getPublishSlashRate();
|
|
7329
|
+
if (f !== 0) {
|
|
7330
|
+
writer.writeUint32(
|
|
7331
|
+
39,
|
|
7332
|
+
f
|
|
7333
|
+
);
|
|
7334
|
+
}
|
|
7377
7335
|
f = message.getContext();
|
|
7378
7336
|
if (f != null) {
|
|
7379
7337
|
writer.writeMessage(
|
|
@@ -7429,24 +7387,6 @@ proto.ocap.RollupState.prototype.setTokenAddress = function(value) {
|
|
|
7429
7387
|
};
|
|
7430
7388
|
|
|
7431
7389
|
|
|
7432
|
-
/**
|
|
7433
|
-
* optional string erc20_token_address = 3;
|
|
7434
|
-
* @return {string}
|
|
7435
|
-
*/
|
|
7436
|
-
proto.ocap.RollupState.prototype.getErc20TokenAddress = function() {
|
|
7437
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7438
|
-
};
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
/**
|
|
7442
|
-
* @param {string} value
|
|
7443
|
-
* @return {!proto.ocap.RollupState} returns this
|
|
7444
|
-
*/
|
|
7445
|
-
proto.ocap.RollupState.prototype.setErc20TokenAddress = function(value) {
|
|
7446
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7447
|
-
};
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
7390
|
/**
|
|
7451
7391
|
* optional string contract_address = 4;
|
|
7452
7392
|
* @return {string}
|
|
@@ -7685,42 +7625,6 @@ proto.ocap.RollupState.prototype.setMinBlockConfirmation = function(value) {
|
|
|
7685
7625
|
};
|
|
7686
7626
|
|
|
7687
7627
|
|
|
7688
|
-
/**
|
|
7689
|
-
* optional string foreign_chain_type = 15;
|
|
7690
|
-
* @return {string}
|
|
7691
|
-
*/
|
|
7692
|
-
proto.ocap.RollupState.prototype.getForeignChainType = function() {
|
|
7693
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
7694
|
-
};
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
/**
|
|
7698
|
-
* @param {string} value
|
|
7699
|
-
* @return {!proto.ocap.RollupState} returns this
|
|
7700
|
-
*/
|
|
7701
|
-
proto.ocap.RollupState.prototype.setForeignChainType = function(value) {
|
|
7702
|
-
return jspb.Message.setProto3StringField(this, 15, value);
|
|
7703
|
-
};
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
/**
|
|
7707
|
-
* optional string foreign_chain_id = 16;
|
|
7708
|
-
* @return {string}
|
|
7709
|
-
*/
|
|
7710
|
-
proto.ocap.RollupState.prototype.getForeignChainId = function() {
|
|
7711
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
7712
|
-
};
|
|
7713
|
-
|
|
7714
|
-
|
|
7715
|
-
/**
|
|
7716
|
-
* @param {string} value
|
|
7717
|
-
* @return {!proto.ocap.RollupState} returns this
|
|
7718
|
-
*/
|
|
7719
|
-
proto.ocap.RollupState.prototype.setForeignChainId = function(value) {
|
|
7720
|
-
return jspb.Message.setProto3StringField(this, 16, value);
|
|
7721
|
-
};
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
7628
|
/**
|
|
7725
7629
|
* optional string issuer = 17;
|
|
7726
7630
|
* @return {string}
|
|
@@ -8137,6 +8041,42 @@ proto.ocap.RollupState.prototype.setLeaveWaitingPeriod = function(value) {
|
|
|
8137
8041
|
};
|
|
8138
8042
|
|
|
8139
8043
|
|
|
8044
|
+
/**
|
|
8045
|
+
* optional uint32 publish_waiting_period = 38;
|
|
8046
|
+
* @return {number}
|
|
8047
|
+
*/
|
|
8048
|
+
proto.ocap.RollupState.prototype.getPublishWaitingPeriod = function() {
|
|
8049
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 38, 0));
|
|
8050
|
+
};
|
|
8051
|
+
|
|
8052
|
+
|
|
8053
|
+
/**
|
|
8054
|
+
* @param {number} value
|
|
8055
|
+
* @return {!proto.ocap.RollupState} returns this
|
|
8056
|
+
*/
|
|
8057
|
+
proto.ocap.RollupState.prototype.setPublishWaitingPeriod = function(value) {
|
|
8058
|
+
return jspb.Message.setProto3IntField(this, 38, value);
|
|
8059
|
+
};
|
|
8060
|
+
|
|
8061
|
+
|
|
8062
|
+
/**
|
|
8063
|
+
* optional uint32 publish_slash_rate = 39;
|
|
8064
|
+
* @return {number}
|
|
8065
|
+
*/
|
|
8066
|
+
proto.ocap.RollupState.prototype.getPublishSlashRate = function() {
|
|
8067
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 39, 0));
|
|
8068
|
+
};
|
|
8069
|
+
|
|
8070
|
+
|
|
8071
|
+
/**
|
|
8072
|
+
* @param {number} value
|
|
8073
|
+
* @return {!proto.ocap.RollupState} returns this
|
|
8074
|
+
*/
|
|
8075
|
+
proto.ocap.RollupState.prototype.setPublishSlashRate = function(value) {
|
|
8076
|
+
return jspb.Message.setProto3IntField(this, 39, value);
|
|
8077
|
+
};
|
|
8078
|
+
|
|
8079
|
+
|
|
8140
8080
|
/**
|
|
8141
8081
|
* optional StateContext context = 40;
|
|
8142
8082
|
* @return {?proto.ocap.StateContext}
|
|
@@ -8263,6 +8203,7 @@ proto.ocap.RollupBlock.toObject = function(includeInstance, msg) {
|
|
|
8263
8203
|
mintedAmount: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
8264
8204
|
burnedAmount: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
8265
8205
|
rewardAmount: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
8206
|
+
minReward: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
8266
8207
|
context: (f = msg.getContext()) && type_pb.StateContext.toObject(includeInstance, f),
|
|
8267
8208
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
8268
8209
|
};
|
|
@@ -8350,6 +8291,10 @@ proto.ocap.RollupBlock.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8350
8291
|
var value = /** @type {string} */ (reader.readString());
|
|
8351
8292
|
msg.setRewardAmount(value);
|
|
8352
8293
|
break;
|
|
8294
|
+
case 14:
|
|
8295
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8296
|
+
msg.setMinReward(value);
|
|
8297
|
+
break;
|
|
8353
8298
|
case 30:
|
|
8354
8299
|
var value = new type_pb.StateContext;
|
|
8355
8300
|
reader.readMessage(value,type_pb.StateContext.deserializeBinaryFromReader);
|
|
@@ -8474,6 +8419,13 @@ proto.ocap.RollupBlock.serializeBinaryToWriter = function(message, writer) {
|
|
|
8474
8419
|
f
|
|
8475
8420
|
);
|
|
8476
8421
|
}
|
|
8422
|
+
f = message.getMinReward();
|
|
8423
|
+
if (f.length > 0) {
|
|
8424
|
+
writer.writeString(
|
|
8425
|
+
14,
|
|
8426
|
+
f
|
|
8427
|
+
);
|
|
8428
|
+
}
|
|
8477
8429
|
f = message.getContext();
|
|
8478
8430
|
if (f != null) {
|
|
8479
8431
|
writer.writeMessage(
|
|
@@ -8748,6 +8700,24 @@ proto.ocap.RollupBlock.prototype.setRewardAmount = function(value) {
|
|
|
8748
8700
|
};
|
|
8749
8701
|
|
|
8750
8702
|
|
|
8703
|
+
/**
|
|
8704
|
+
* optional string min_reward = 14;
|
|
8705
|
+
* @return {string}
|
|
8706
|
+
*/
|
|
8707
|
+
proto.ocap.RollupBlock.prototype.getMinReward = function() {
|
|
8708
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
8709
|
+
};
|
|
8710
|
+
|
|
8711
|
+
|
|
8712
|
+
/**
|
|
8713
|
+
* @param {string} value
|
|
8714
|
+
* @return {!proto.ocap.RollupBlock} returns this
|
|
8715
|
+
*/
|
|
8716
|
+
proto.ocap.RollupBlock.prototype.setMinReward = function(value) {
|
|
8717
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
8718
|
+
};
|
|
8719
|
+
|
|
8720
|
+
|
|
8751
8721
|
/**
|
|
8752
8722
|
* optional StateContext context = 30;
|
|
8753
8723
|
* @return {?proto.ocap.StateContext}
|
package/lib/gen/trace-type_pb.js
CHANGED
|
@@ -7474,7 +7474,6 @@ proto.ocap.IndexedTokenState.toObject = function(includeInstance, msg) {
|
|
|
7474
7474
|
address: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
7475
7475
|
genesisTime: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
7476
7476
|
renaissanceTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
7477
|
-
erc20ContractAddress: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
7478
7477
|
foreignToken: (f = msg.getForeignToken()) && type_pb.ForeignToken.toObject(includeInstance, f),
|
|
7479
7478
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
7480
7479
|
};
|
|
@@ -7557,10 +7556,6 @@ proto.ocap.IndexedTokenState.deserializeBinaryFromReader = function(msg, reader)
|
|
|
7557
7556
|
var value = /** @type {string} */ (reader.readString());
|
|
7558
7557
|
msg.setRenaissanceTime(value);
|
|
7559
7558
|
break;
|
|
7560
|
-
case 12:
|
|
7561
|
-
var value = /** @type {string} */ (reader.readString());
|
|
7562
|
-
msg.setErc20ContractAddress(value);
|
|
7563
|
-
break;
|
|
7564
7559
|
case 13:
|
|
7565
7560
|
var value = new type_pb.ForeignToken;
|
|
7566
7561
|
reader.readMessage(value,type_pb.ForeignToken.deserializeBinaryFromReader);
|
|
@@ -7677,13 +7672,6 @@ proto.ocap.IndexedTokenState.serializeBinaryToWriter = function(message, writer)
|
|
|
7677
7672
|
f
|
|
7678
7673
|
);
|
|
7679
7674
|
}
|
|
7680
|
-
f = message.getErc20ContractAddress();
|
|
7681
|
-
if (f.length > 0) {
|
|
7682
|
-
writer.writeString(
|
|
7683
|
-
12,
|
|
7684
|
-
f
|
|
7685
|
-
);
|
|
7686
|
-
}
|
|
7687
7675
|
f = message.getForeignToken();
|
|
7688
7676
|
if (f != null) {
|
|
7689
7677
|
writer.writeMessage(
|
|
@@ -7901,24 +7889,6 @@ proto.ocap.IndexedTokenState.prototype.setRenaissanceTime = function(value) {
|
|
|
7901
7889
|
};
|
|
7902
7890
|
|
|
7903
7891
|
|
|
7904
|
-
/**
|
|
7905
|
-
* optional string erc20_contract_address = 12;
|
|
7906
|
-
* @return {string}
|
|
7907
|
-
*/
|
|
7908
|
-
proto.ocap.IndexedTokenState.prototype.getErc20ContractAddress = function() {
|
|
7909
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
7910
|
-
};
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
/**
|
|
7914
|
-
* @param {string} value
|
|
7915
|
-
* @return {!proto.ocap.IndexedTokenState} returns this
|
|
7916
|
-
*/
|
|
7917
|
-
proto.ocap.IndexedTokenState.prototype.setErc20ContractAddress = function(value) {
|
|
7918
|
-
return jspb.Message.setProto3StringField(this, 12, value);
|
|
7919
|
-
};
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
7892
|
/**
|
|
7923
7893
|
* optional ForeignToken foreign_token = 13;
|
|
7924
7894
|
* @return {?proto.ocap.ForeignToken}
|
|
@@ -9432,7 +9402,6 @@ proto.ocap.IndexedRollupState.toObject = function(includeInstance, msg) {
|
|
|
9432
9402
|
var f, obj = {
|
|
9433
9403
|
address: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9434
9404
|
tokenAddress: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9435
|
-
erc20TokenAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9436
9405
|
contractAddress: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9437
9406
|
seedValidatorsList: jspb.Message.toObjectList(msg.getSeedValidatorsList(),
|
|
9438
9407
|
type_pb.RollupValidator.toObject, includeInstance),
|
|
@@ -9445,8 +9414,6 @@ proto.ocap.IndexedRollupState.toObject = function(includeInstance, msg) {
|
|
|
9445
9414
|
minBlockSize: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
9446
9415
|
maxBlockSize: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
9447
9416
|
minBlockInterval: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
9448
|
-
foreignChainType: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
9449
|
-
foreignChainId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
9450
9417
|
genesisTime: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
9451
9418
|
renaissanceTime: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
9452
9419
|
tokenInfo: (f = msg.getTokenInfo()) && type_pb.IndexedTokenInput.toObject(includeInstance, f),
|
|
@@ -9471,6 +9438,8 @@ proto.ocap.IndexedRollupState.toObject = function(includeInstance, msg) {
|
|
|
9471
9438
|
foreignToken: (f = msg.getForeignToken()) && type_pb.ForeignToken.toObject(includeInstance, f),
|
|
9472
9439
|
leaveWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 38, 0),
|
|
9473
9440
|
publisherFeeShare: jspb.Message.getFieldWithDefault(msg, 39, 0),
|
|
9441
|
+
publishWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 40, 0),
|
|
9442
|
+
publishSlashRate: jspb.Message.getFieldWithDefault(msg, 41, 0),
|
|
9474
9443
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
9475
9444
|
};
|
|
9476
9445
|
|
|
@@ -9516,10 +9485,6 @@ proto.ocap.IndexedRollupState.deserializeBinaryFromReader = function(msg, reader
|
|
|
9516
9485
|
var value = /** @type {string} */ (reader.readString());
|
|
9517
9486
|
msg.setTokenAddress(value);
|
|
9518
9487
|
break;
|
|
9519
|
-
case 3:
|
|
9520
|
-
var value = /** @type {string} */ (reader.readString());
|
|
9521
|
-
msg.setErc20TokenAddress(value);
|
|
9522
|
-
break;
|
|
9523
9488
|
case 4:
|
|
9524
9489
|
var value = /** @type {string} */ (reader.readString());
|
|
9525
9490
|
msg.setContractAddress(value);
|
|
@@ -9562,14 +9527,6 @@ proto.ocap.IndexedRollupState.deserializeBinaryFromReader = function(msg, reader
|
|
|
9562
9527
|
var value = /** @type {number} */ (reader.readUint32());
|
|
9563
9528
|
msg.setMinBlockInterval(value);
|
|
9564
9529
|
break;
|
|
9565
|
-
case 14:
|
|
9566
|
-
var value = /** @type {string} */ (reader.readString());
|
|
9567
|
-
msg.setForeignChainType(value);
|
|
9568
|
-
break;
|
|
9569
|
-
case 15:
|
|
9570
|
-
var value = /** @type {string} */ (reader.readString());
|
|
9571
|
-
msg.setForeignChainId(value);
|
|
9572
|
-
break;
|
|
9573
9530
|
case 16:
|
|
9574
9531
|
var value = /** @type {string} */ (reader.readString());
|
|
9575
9532
|
msg.setGenesisTime(value);
|
|
@@ -9668,6 +9625,14 @@ proto.ocap.IndexedRollupState.deserializeBinaryFromReader = function(msg, reader
|
|
|
9668
9625
|
var value = /** @type {number} */ (reader.readUint32());
|
|
9669
9626
|
msg.setPublisherFeeShare(value);
|
|
9670
9627
|
break;
|
|
9628
|
+
case 40:
|
|
9629
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
9630
|
+
msg.setPublishWaitingPeriod(value);
|
|
9631
|
+
break;
|
|
9632
|
+
case 41:
|
|
9633
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
9634
|
+
msg.setPublishSlashRate(value);
|
|
9635
|
+
break;
|
|
9671
9636
|
case 50:
|
|
9672
9637
|
var value = new google_protobuf_any_pb.Any;
|
|
9673
9638
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -9716,13 +9681,6 @@ proto.ocap.IndexedRollupState.serializeBinaryToWriter = function(message, writer
|
|
|
9716
9681
|
f
|
|
9717
9682
|
);
|
|
9718
9683
|
}
|
|
9719
|
-
f = message.getErc20TokenAddress();
|
|
9720
|
-
if (f.length > 0) {
|
|
9721
|
-
writer.writeString(
|
|
9722
|
-
3,
|
|
9723
|
-
f
|
|
9724
|
-
);
|
|
9725
|
-
}
|
|
9726
9684
|
f = message.getContractAddress();
|
|
9727
9685
|
if (f.length > 0) {
|
|
9728
9686
|
writer.writeString(
|
|
@@ -9795,20 +9753,6 @@ proto.ocap.IndexedRollupState.serializeBinaryToWriter = function(message, writer
|
|
|
9795
9753
|
f
|
|
9796
9754
|
);
|
|
9797
9755
|
}
|
|
9798
|
-
f = message.getForeignChainType();
|
|
9799
|
-
if (f.length > 0) {
|
|
9800
|
-
writer.writeString(
|
|
9801
|
-
14,
|
|
9802
|
-
f
|
|
9803
|
-
);
|
|
9804
|
-
}
|
|
9805
|
-
f = message.getForeignChainId();
|
|
9806
|
-
if (f.length > 0) {
|
|
9807
|
-
writer.writeString(
|
|
9808
|
-
15,
|
|
9809
|
-
f
|
|
9810
|
-
);
|
|
9811
|
-
}
|
|
9812
9756
|
f = message.getGenesisTime();
|
|
9813
9757
|
if (f.length > 0) {
|
|
9814
9758
|
writer.writeString(
|
|
@@ -9979,6 +9923,20 @@ proto.ocap.IndexedRollupState.serializeBinaryToWriter = function(message, writer
|
|
|
9979
9923
|
f
|
|
9980
9924
|
);
|
|
9981
9925
|
}
|
|
9926
|
+
f = message.getPublishWaitingPeriod();
|
|
9927
|
+
if (f !== 0) {
|
|
9928
|
+
writer.writeUint32(
|
|
9929
|
+
40,
|
|
9930
|
+
f
|
|
9931
|
+
);
|
|
9932
|
+
}
|
|
9933
|
+
f = message.getPublishSlashRate();
|
|
9934
|
+
if (f !== 0) {
|
|
9935
|
+
writer.writeUint32(
|
|
9936
|
+
41,
|
|
9937
|
+
f
|
|
9938
|
+
);
|
|
9939
|
+
}
|
|
9982
9940
|
f = message.getData();
|
|
9983
9941
|
if (f != null) {
|
|
9984
9942
|
writer.writeMessage(
|
|
@@ -10026,24 +9984,6 @@ proto.ocap.IndexedRollupState.prototype.setTokenAddress = function(value) {
|
|
|
10026
9984
|
};
|
|
10027
9985
|
|
|
10028
9986
|
|
|
10029
|
-
/**
|
|
10030
|
-
* optional string erc20_token_address = 3;
|
|
10031
|
-
* @return {string}
|
|
10032
|
-
*/
|
|
10033
|
-
proto.ocap.IndexedRollupState.prototype.getErc20TokenAddress = function() {
|
|
10034
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10035
|
-
};
|
|
10036
|
-
|
|
10037
|
-
|
|
10038
|
-
/**
|
|
10039
|
-
* @param {string} value
|
|
10040
|
-
* @return {!proto.ocap.IndexedRollupState} returns this
|
|
10041
|
-
*/
|
|
10042
|
-
proto.ocap.IndexedRollupState.prototype.setErc20TokenAddress = function(value) {
|
|
10043
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
10044
|
-
};
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
9987
|
/**
|
|
10048
9988
|
* optional string contract_address = 4;
|
|
10049
9989
|
* @return {string}
|
|
@@ -10264,42 +10204,6 @@ proto.ocap.IndexedRollupState.prototype.setMinBlockInterval = function(value) {
|
|
|
10264
10204
|
};
|
|
10265
10205
|
|
|
10266
10206
|
|
|
10267
|
-
/**
|
|
10268
|
-
* optional string foreign_chain_type = 14;
|
|
10269
|
-
* @return {string}
|
|
10270
|
-
*/
|
|
10271
|
-
proto.ocap.IndexedRollupState.prototype.getForeignChainType = function() {
|
|
10272
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
10273
|
-
};
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
/**
|
|
10277
|
-
* @param {string} value
|
|
10278
|
-
* @return {!proto.ocap.IndexedRollupState} returns this
|
|
10279
|
-
*/
|
|
10280
|
-
proto.ocap.IndexedRollupState.prototype.setForeignChainType = function(value) {
|
|
10281
|
-
return jspb.Message.setProto3StringField(this, 14, value);
|
|
10282
|
-
};
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
/**
|
|
10286
|
-
* optional string foreign_chain_id = 15;
|
|
10287
|
-
* @return {string}
|
|
10288
|
-
*/
|
|
10289
|
-
proto.ocap.IndexedRollupState.prototype.getForeignChainId = function() {
|
|
10290
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
10291
|
-
};
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
/**
|
|
10295
|
-
* @param {string} value
|
|
10296
|
-
* @return {!proto.ocap.IndexedRollupState} returns this
|
|
10297
|
-
*/
|
|
10298
|
-
proto.ocap.IndexedRollupState.prototype.setForeignChainId = function(value) {
|
|
10299
|
-
return jspb.Message.setProto3StringField(this, 15, value);
|
|
10300
|
-
};
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
10207
|
/**
|
|
10304
10208
|
* optional string genesis_time = 16;
|
|
10305
10209
|
* @return {string}
|
|
@@ -10770,6 +10674,42 @@ proto.ocap.IndexedRollupState.prototype.setPublisherFeeShare = function(value) {
|
|
|
10770
10674
|
};
|
|
10771
10675
|
|
|
10772
10676
|
|
|
10677
|
+
/**
|
|
10678
|
+
* optional uint32 publish_waiting_period = 40;
|
|
10679
|
+
* @return {number}
|
|
10680
|
+
*/
|
|
10681
|
+
proto.ocap.IndexedRollupState.prototype.getPublishWaitingPeriod = function() {
|
|
10682
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 40, 0));
|
|
10683
|
+
};
|
|
10684
|
+
|
|
10685
|
+
|
|
10686
|
+
/**
|
|
10687
|
+
* @param {number} value
|
|
10688
|
+
* @return {!proto.ocap.IndexedRollupState} returns this
|
|
10689
|
+
*/
|
|
10690
|
+
proto.ocap.IndexedRollupState.prototype.setPublishWaitingPeriod = function(value) {
|
|
10691
|
+
return jspb.Message.setProto3IntField(this, 40, value);
|
|
10692
|
+
};
|
|
10693
|
+
|
|
10694
|
+
|
|
10695
|
+
/**
|
|
10696
|
+
* optional uint32 publish_slash_rate = 41;
|
|
10697
|
+
* @return {number}
|
|
10698
|
+
*/
|
|
10699
|
+
proto.ocap.IndexedRollupState.prototype.getPublishSlashRate = function() {
|
|
10700
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 41, 0));
|
|
10701
|
+
};
|
|
10702
|
+
|
|
10703
|
+
|
|
10704
|
+
/**
|
|
10705
|
+
* @param {number} value
|
|
10706
|
+
* @return {!proto.ocap.IndexedRollupState} returns this
|
|
10707
|
+
*/
|
|
10708
|
+
proto.ocap.IndexedRollupState.prototype.setPublishSlashRate = function(value) {
|
|
10709
|
+
return jspb.Message.setProto3IntField(this, 41, value);
|
|
10710
|
+
};
|
|
10711
|
+
|
|
10712
|
+
|
|
10773
10713
|
/**
|
|
10774
10714
|
* optional google.protobuf.Any data = 50;
|
|
10775
10715
|
* @return {?proto.google.protobuf.Any}
|
package/lib/gen/tx_pb.js
CHANGED
|
@@ -8440,6 +8440,8 @@ proto.ocap.CreateRollupTx.toObject = function(includeInstance, msg) {
|
|
|
8440
8440
|
paused: jspb.Message.getBooleanFieldWithDefault(msg, 27, false),
|
|
8441
8441
|
leaveWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 28, 0),
|
|
8442
8442
|
publisherFeeShare: jspb.Message.getFieldWithDefault(msg, 29, 0),
|
|
8443
|
+
publishWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 30, 0),
|
|
8444
|
+
publishSlashRate: jspb.Message.getFieldWithDefault(msg, 31, 0),
|
|
8443
8445
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
8444
8446
|
};
|
|
8445
8447
|
|
|
@@ -8590,6 +8592,14 @@ proto.ocap.CreateRollupTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8590
8592
|
var value = /** @type {number} */ (reader.readUint32());
|
|
8591
8593
|
msg.setPublisherFeeShare(value);
|
|
8592
8594
|
break;
|
|
8595
|
+
case 30:
|
|
8596
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
8597
|
+
msg.setPublishWaitingPeriod(value);
|
|
8598
|
+
break;
|
|
8599
|
+
case 31:
|
|
8600
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
8601
|
+
msg.setPublishSlashRate(value);
|
|
8602
|
+
break;
|
|
8593
8603
|
case 50:
|
|
8594
8604
|
var value = new google_protobuf_any_pb.Any;
|
|
8595
8605
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -8821,6 +8831,20 @@ proto.ocap.CreateRollupTx.serializeBinaryToWriter = function(message, writer) {
|
|
|
8821
8831
|
f
|
|
8822
8832
|
);
|
|
8823
8833
|
}
|
|
8834
|
+
f = message.getPublishWaitingPeriod();
|
|
8835
|
+
if (f !== 0) {
|
|
8836
|
+
writer.writeUint32(
|
|
8837
|
+
30,
|
|
8838
|
+
f
|
|
8839
|
+
);
|
|
8840
|
+
}
|
|
8841
|
+
f = message.getPublishSlashRate();
|
|
8842
|
+
if (f !== 0) {
|
|
8843
|
+
writer.writeUint32(
|
|
8844
|
+
31,
|
|
8845
|
+
f
|
|
8846
|
+
);
|
|
8847
|
+
}
|
|
8824
8848
|
f = message.getData();
|
|
8825
8849
|
if (f != null) {
|
|
8826
8850
|
writer.writeMessage(
|
|
@@ -9356,6 +9380,42 @@ proto.ocap.CreateRollupTx.prototype.setPublisherFeeShare = function(value) {
|
|
|
9356
9380
|
};
|
|
9357
9381
|
|
|
9358
9382
|
|
|
9383
|
+
/**
|
|
9384
|
+
* optional uint32 publish_waiting_period = 30;
|
|
9385
|
+
* @return {number}
|
|
9386
|
+
*/
|
|
9387
|
+
proto.ocap.CreateRollupTx.prototype.getPublishWaitingPeriod = function() {
|
|
9388
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 30, 0));
|
|
9389
|
+
};
|
|
9390
|
+
|
|
9391
|
+
|
|
9392
|
+
/**
|
|
9393
|
+
* @param {number} value
|
|
9394
|
+
* @return {!proto.ocap.CreateRollupTx} returns this
|
|
9395
|
+
*/
|
|
9396
|
+
proto.ocap.CreateRollupTx.prototype.setPublishWaitingPeriod = function(value) {
|
|
9397
|
+
return jspb.Message.setProto3IntField(this, 30, value);
|
|
9398
|
+
};
|
|
9399
|
+
|
|
9400
|
+
|
|
9401
|
+
/**
|
|
9402
|
+
* optional uint32 publish_slash_rate = 31;
|
|
9403
|
+
* @return {number}
|
|
9404
|
+
*/
|
|
9405
|
+
proto.ocap.CreateRollupTx.prototype.getPublishSlashRate = function() {
|
|
9406
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 31, 0));
|
|
9407
|
+
};
|
|
9408
|
+
|
|
9409
|
+
|
|
9410
|
+
/**
|
|
9411
|
+
* @param {number} value
|
|
9412
|
+
* @return {!proto.ocap.CreateRollupTx} returns this
|
|
9413
|
+
*/
|
|
9414
|
+
proto.ocap.CreateRollupTx.prototype.setPublishSlashRate = function(value) {
|
|
9415
|
+
return jspb.Message.setProto3IntField(this, 31, value);
|
|
9416
|
+
};
|
|
9417
|
+
|
|
9418
|
+
|
|
9359
9419
|
/**
|
|
9360
9420
|
* optional google.protobuf.Any data = 50;
|
|
9361
9421
|
* @return {?proto.google.protobuf.Any}
|
|
@@ -9447,6 +9507,9 @@ proto.ocap.UpdateRollupTx.toObject = function(includeInstance, msg) {
|
|
|
9447
9507
|
paused: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
|
|
9448
9508
|
rollup: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
9449
9509
|
publisherFeeShare: jspb.Message.getFieldWithDefault(msg, 22, 0),
|
|
9510
|
+
leaveWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
9511
|
+
publishWaitingPeriod: jspb.Message.getFieldWithDefault(msg, 24, 0),
|
|
9512
|
+
publishSlashRate: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
9450
9513
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
9451
9514
|
};
|
|
9452
9515
|
|
|
@@ -9572,6 +9635,18 @@ proto.ocap.UpdateRollupTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
9572
9635
|
var value = /** @type {number} */ (reader.readUint32());
|
|
9573
9636
|
msg.setPublisherFeeShare(value);
|
|
9574
9637
|
break;
|
|
9638
|
+
case 23:
|
|
9639
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
9640
|
+
msg.setLeaveWaitingPeriod(value);
|
|
9641
|
+
break;
|
|
9642
|
+
case 24:
|
|
9643
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
9644
|
+
msg.setPublishWaitingPeriod(value);
|
|
9645
|
+
break;
|
|
9646
|
+
case 25:
|
|
9647
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
9648
|
+
msg.setPublishSlashRate(value);
|
|
9649
|
+
break;
|
|
9575
9650
|
case 50:
|
|
9576
9651
|
var value = new google_protobuf_any_pb.Any;
|
|
9577
9652
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -9760,6 +9835,27 @@ proto.ocap.UpdateRollupTx.serializeBinaryToWriter = function(message, writer) {
|
|
|
9760
9835
|
f
|
|
9761
9836
|
);
|
|
9762
9837
|
}
|
|
9838
|
+
f = message.getLeaveWaitingPeriod();
|
|
9839
|
+
if (f !== 0) {
|
|
9840
|
+
writer.writeUint32(
|
|
9841
|
+
23,
|
|
9842
|
+
f
|
|
9843
|
+
);
|
|
9844
|
+
}
|
|
9845
|
+
f = message.getPublishWaitingPeriod();
|
|
9846
|
+
if (f !== 0) {
|
|
9847
|
+
writer.writeUint32(
|
|
9848
|
+
24,
|
|
9849
|
+
f
|
|
9850
|
+
);
|
|
9851
|
+
}
|
|
9852
|
+
f = message.getPublishSlashRate();
|
|
9853
|
+
if (f !== 0) {
|
|
9854
|
+
writer.writeUint32(
|
|
9855
|
+
25,
|
|
9856
|
+
f
|
|
9857
|
+
);
|
|
9858
|
+
}
|
|
9763
9859
|
f = message.getData();
|
|
9764
9860
|
if (f != null) {
|
|
9765
9861
|
writer.writeMessage(
|
|
@@ -10167,6 +10263,60 @@ proto.ocap.UpdateRollupTx.prototype.setPublisherFeeShare = function(value) {
|
|
|
10167
10263
|
};
|
|
10168
10264
|
|
|
10169
10265
|
|
|
10266
|
+
/**
|
|
10267
|
+
* optional uint32 leave_waiting_period = 23;
|
|
10268
|
+
* @return {number}
|
|
10269
|
+
*/
|
|
10270
|
+
proto.ocap.UpdateRollupTx.prototype.getLeaveWaitingPeriod = function() {
|
|
10271
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
|
|
10272
|
+
};
|
|
10273
|
+
|
|
10274
|
+
|
|
10275
|
+
/**
|
|
10276
|
+
* @param {number} value
|
|
10277
|
+
* @return {!proto.ocap.UpdateRollupTx} returns this
|
|
10278
|
+
*/
|
|
10279
|
+
proto.ocap.UpdateRollupTx.prototype.setLeaveWaitingPeriod = function(value) {
|
|
10280
|
+
return jspb.Message.setProto3IntField(this, 23, value);
|
|
10281
|
+
};
|
|
10282
|
+
|
|
10283
|
+
|
|
10284
|
+
/**
|
|
10285
|
+
* optional uint32 publish_waiting_period = 24;
|
|
10286
|
+
* @return {number}
|
|
10287
|
+
*/
|
|
10288
|
+
proto.ocap.UpdateRollupTx.prototype.getPublishWaitingPeriod = function() {
|
|
10289
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
|
|
10290
|
+
};
|
|
10291
|
+
|
|
10292
|
+
|
|
10293
|
+
/**
|
|
10294
|
+
* @param {number} value
|
|
10295
|
+
* @return {!proto.ocap.UpdateRollupTx} returns this
|
|
10296
|
+
*/
|
|
10297
|
+
proto.ocap.UpdateRollupTx.prototype.setPublishWaitingPeriod = function(value) {
|
|
10298
|
+
return jspb.Message.setProto3IntField(this, 24, value);
|
|
10299
|
+
};
|
|
10300
|
+
|
|
10301
|
+
|
|
10302
|
+
/**
|
|
10303
|
+
* optional uint32 publish_slash_rate = 25;
|
|
10304
|
+
* @return {number}
|
|
10305
|
+
*/
|
|
10306
|
+
proto.ocap.UpdateRollupTx.prototype.getPublishSlashRate = function() {
|
|
10307
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0));
|
|
10308
|
+
};
|
|
10309
|
+
|
|
10310
|
+
|
|
10311
|
+
/**
|
|
10312
|
+
* @param {number} value
|
|
10313
|
+
* @return {!proto.ocap.UpdateRollupTx} returns this
|
|
10314
|
+
*/
|
|
10315
|
+
proto.ocap.UpdateRollupTx.prototype.setPublishSlashRate = function(value) {
|
|
10316
|
+
return jspb.Message.setProto3IntField(this, 25, value);
|
|
10317
|
+
};
|
|
10318
|
+
|
|
10319
|
+
|
|
10170
10320
|
/**
|
|
10171
10321
|
* optional google.protobuf.Any data = 50;
|
|
10172
10322
|
* @return {?proto.google.protobuf.Any}
|
|
@@ -10867,6 +11017,7 @@ proto.ocap.CreateRollupBlockTx.toObject = function(includeInstance, msg) {
|
|
|
10867
11017
|
signaturesList: jspb.Message.toObjectList(msg.getSignaturesList(),
|
|
10868
11018
|
type_pb.Multisig.toObject, includeInstance),
|
|
10869
11019
|
rollup: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
11020
|
+
minReward: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
10870
11021
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
10871
11022
|
};
|
|
10872
11023
|
|
|
@@ -10941,6 +11092,10 @@ proto.ocap.CreateRollupBlockTx.deserializeBinaryFromReader = function(msg, reade
|
|
|
10941
11092
|
var value = /** @type {string} */ (reader.readString());
|
|
10942
11093
|
msg.setRollup(value);
|
|
10943
11094
|
break;
|
|
11095
|
+
case 11:
|
|
11096
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11097
|
+
msg.setMinReward(value);
|
|
11098
|
+
break;
|
|
10944
11099
|
case 50:
|
|
10945
11100
|
var value = new google_protobuf_any_pb.Any;
|
|
10946
11101
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -11039,6 +11194,13 @@ proto.ocap.CreateRollupBlockTx.serializeBinaryToWriter = function(message, write
|
|
|
11039
11194
|
f
|
|
11040
11195
|
);
|
|
11041
11196
|
}
|
|
11197
|
+
f = message.getMinReward();
|
|
11198
|
+
if (f.length > 0) {
|
|
11199
|
+
writer.writeString(
|
|
11200
|
+
11,
|
|
11201
|
+
f
|
|
11202
|
+
);
|
|
11203
|
+
}
|
|
11042
11204
|
f = message.getData();
|
|
11043
11205
|
if (f != null) {
|
|
11044
11206
|
writer.writeMessage(
|
|
@@ -11251,6 +11413,24 @@ proto.ocap.CreateRollupBlockTx.prototype.setRollup = function(value) {
|
|
|
11251
11413
|
};
|
|
11252
11414
|
|
|
11253
11415
|
|
|
11416
|
+
/**
|
|
11417
|
+
* optional string min_reward = 11;
|
|
11418
|
+
* @return {string}
|
|
11419
|
+
*/
|
|
11420
|
+
proto.ocap.CreateRollupBlockTx.prototype.getMinReward = function() {
|
|
11421
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
11422
|
+
};
|
|
11423
|
+
|
|
11424
|
+
|
|
11425
|
+
/**
|
|
11426
|
+
* @param {string} value
|
|
11427
|
+
* @return {!proto.ocap.CreateRollupBlockTx} returns this
|
|
11428
|
+
*/
|
|
11429
|
+
proto.ocap.CreateRollupBlockTx.prototype.setMinReward = function(value) {
|
|
11430
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
11431
|
+
};
|
|
11432
|
+
|
|
11433
|
+
|
|
11254
11434
|
/**
|
|
11255
11435
|
* optional google.protobuf.Any data = 50;
|
|
11256
11436
|
* @return {?proto.google.protobuf.Any}
|
|
@@ -11647,6 +11827,7 @@ proto.ocap.DepositTokenV2Tx.toObject = function(includeInstance, msg) {
|
|
|
11647
11827
|
proposer: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11648
11828
|
evidence: (f = msg.getEvidence()) && type_pb.Evidence.toObject(includeInstance, f),
|
|
11649
11829
|
rollup: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
11830
|
+
actualFee: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11650
11831
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
11651
11832
|
};
|
|
11652
11833
|
|
|
@@ -11706,6 +11887,10 @@ proto.ocap.DepositTokenV2Tx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
11706
11887
|
var value = /** @type {string} */ (reader.readString());
|
|
11707
11888
|
msg.setRollup(value);
|
|
11708
11889
|
break;
|
|
11890
|
+
case 7:
|
|
11891
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11892
|
+
msg.setActualFee(value);
|
|
11893
|
+
break;
|
|
11709
11894
|
case 15:
|
|
11710
11895
|
var value = new google_protobuf_any_pb.Any;
|
|
11711
11896
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -11777,6 +11962,13 @@ proto.ocap.DepositTokenV2Tx.serializeBinaryToWriter = function(message, writer)
|
|
|
11777
11962
|
f
|
|
11778
11963
|
);
|
|
11779
11964
|
}
|
|
11965
|
+
f = message.getActualFee();
|
|
11966
|
+
if (f.length > 0) {
|
|
11967
|
+
writer.writeString(
|
|
11968
|
+
7,
|
|
11969
|
+
f
|
|
11970
|
+
);
|
|
11971
|
+
}
|
|
11780
11972
|
f = message.getData();
|
|
11781
11973
|
if (f != null) {
|
|
11782
11974
|
writer.writeMessage(
|
|
@@ -11916,6 +12108,24 @@ proto.ocap.DepositTokenV2Tx.prototype.setRollup = function(value) {
|
|
|
11916
12108
|
};
|
|
11917
12109
|
|
|
11918
12110
|
|
|
12111
|
+
/**
|
|
12112
|
+
* optional string actual_fee = 7;
|
|
12113
|
+
* @return {string}
|
|
12114
|
+
*/
|
|
12115
|
+
proto.ocap.DepositTokenV2Tx.prototype.getActualFee = function() {
|
|
12116
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
12117
|
+
};
|
|
12118
|
+
|
|
12119
|
+
|
|
12120
|
+
/**
|
|
12121
|
+
* @param {string} value
|
|
12122
|
+
* @return {!proto.ocap.DepositTokenV2Tx} returns this
|
|
12123
|
+
*/
|
|
12124
|
+
proto.ocap.DepositTokenV2Tx.prototype.setActualFee = function(value) {
|
|
12125
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
12126
|
+
};
|
|
12127
|
+
|
|
12128
|
+
|
|
11919
12129
|
/**
|
|
11920
12130
|
* optional google.protobuf.Any data = 15;
|
|
11921
12131
|
* @return {?proto.google.protobuf.Any}
|
|
@@ -11988,6 +12198,9 @@ proto.ocap.WithdrawTokenV2Tx.toObject = function(includeInstance, msg) {
|
|
|
11988
12198
|
token: (f = msg.getToken()) && type_pb.TokenInput.toObject(includeInstance, f),
|
|
11989
12199
|
to: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11990
12200
|
rollup: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12201
|
+
proposer: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
12202
|
+
maxFee: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
12203
|
+
actualFee: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11991
12204
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
11992
12205
|
};
|
|
11993
12206
|
|
|
@@ -12038,6 +12251,18 @@ proto.ocap.WithdrawTokenV2Tx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
12038
12251
|
var value = /** @type {string} */ (reader.readString());
|
|
12039
12252
|
msg.setRollup(value);
|
|
12040
12253
|
break;
|
|
12254
|
+
case 5:
|
|
12255
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12256
|
+
msg.setProposer(value);
|
|
12257
|
+
break;
|
|
12258
|
+
case 6:
|
|
12259
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12260
|
+
msg.setMaxFee(value);
|
|
12261
|
+
break;
|
|
12262
|
+
case 7:
|
|
12263
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12264
|
+
msg.setActualFee(value);
|
|
12265
|
+
break;
|
|
12041
12266
|
case 15:
|
|
12042
12267
|
var value = new google_protobuf_any_pb.Any;
|
|
12043
12268
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -12094,6 +12319,27 @@ proto.ocap.WithdrawTokenV2Tx.serializeBinaryToWriter = function(message, writer)
|
|
|
12094
12319
|
f
|
|
12095
12320
|
);
|
|
12096
12321
|
}
|
|
12322
|
+
f = message.getProposer();
|
|
12323
|
+
if (f.length > 0) {
|
|
12324
|
+
writer.writeString(
|
|
12325
|
+
5,
|
|
12326
|
+
f
|
|
12327
|
+
);
|
|
12328
|
+
}
|
|
12329
|
+
f = message.getMaxFee();
|
|
12330
|
+
if (f.length > 0) {
|
|
12331
|
+
writer.writeString(
|
|
12332
|
+
6,
|
|
12333
|
+
f
|
|
12334
|
+
);
|
|
12335
|
+
}
|
|
12336
|
+
f = message.getActualFee();
|
|
12337
|
+
if (f.length > 0) {
|
|
12338
|
+
writer.writeString(
|
|
12339
|
+
7,
|
|
12340
|
+
f
|
|
12341
|
+
);
|
|
12342
|
+
}
|
|
12097
12343
|
f = message.getData();
|
|
12098
12344
|
if (f != null) {
|
|
12099
12345
|
writer.writeMessage(
|
|
@@ -12178,6 +12424,60 @@ proto.ocap.WithdrawTokenV2Tx.prototype.setRollup = function(value) {
|
|
|
12178
12424
|
};
|
|
12179
12425
|
|
|
12180
12426
|
|
|
12427
|
+
/**
|
|
12428
|
+
* optional string proposer = 5;
|
|
12429
|
+
* @return {string}
|
|
12430
|
+
*/
|
|
12431
|
+
proto.ocap.WithdrawTokenV2Tx.prototype.getProposer = function() {
|
|
12432
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
12433
|
+
};
|
|
12434
|
+
|
|
12435
|
+
|
|
12436
|
+
/**
|
|
12437
|
+
* @param {string} value
|
|
12438
|
+
* @return {!proto.ocap.WithdrawTokenV2Tx} returns this
|
|
12439
|
+
*/
|
|
12440
|
+
proto.ocap.WithdrawTokenV2Tx.prototype.setProposer = function(value) {
|
|
12441
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
12442
|
+
};
|
|
12443
|
+
|
|
12444
|
+
|
|
12445
|
+
/**
|
|
12446
|
+
* optional string max_fee = 6;
|
|
12447
|
+
* @return {string}
|
|
12448
|
+
*/
|
|
12449
|
+
proto.ocap.WithdrawTokenV2Tx.prototype.getMaxFee = function() {
|
|
12450
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
12451
|
+
};
|
|
12452
|
+
|
|
12453
|
+
|
|
12454
|
+
/**
|
|
12455
|
+
* @param {string} value
|
|
12456
|
+
* @return {!proto.ocap.WithdrawTokenV2Tx} returns this
|
|
12457
|
+
*/
|
|
12458
|
+
proto.ocap.WithdrawTokenV2Tx.prototype.setMaxFee = function(value) {
|
|
12459
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
12460
|
+
};
|
|
12461
|
+
|
|
12462
|
+
|
|
12463
|
+
/**
|
|
12464
|
+
* optional string actual_fee = 7;
|
|
12465
|
+
* @return {string}
|
|
12466
|
+
*/
|
|
12467
|
+
proto.ocap.WithdrawTokenV2Tx.prototype.getActualFee = function() {
|
|
12468
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
12469
|
+
};
|
|
12470
|
+
|
|
12471
|
+
|
|
12472
|
+
/**
|
|
12473
|
+
* @param {string} value
|
|
12474
|
+
* @return {!proto.ocap.WithdrawTokenV2Tx} returns this
|
|
12475
|
+
*/
|
|
12476
|
+
proto.ocap.WithdrawTokenV2Tx.prototype.setActualFee = function(value) {
|
|
12477
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
12478
|
+
};
|
|
12479
|
+
|
|
12480
|
+
|
|
12181
12481
|
/**
|
|
12182
12482
|
* optional google.protobuf.Any data = 15;
|
|
12183
12483
|
* @return {?proto.google.protobuf.Any}
|
package/lib/provider.js
CHANGED
|
@@ -198,6 +198,7 @@ module.exports = function createProvider(proto, json, urls = {}) {
|
|
|
198
198
|
'JoinRollupTx',
|
|
199
199
|
'LeaveRollupTx',
|
|
200
200
|
'DepositTokenV2Tx',
|
|
201
|
+
'WithdrawTokenV2Tx',
|
|
201
202
|
'CreateRollupBlockTx',
|
|
202
203
|
'ClaimBlockRewardTx',
|
|
203
204
|
].filter((x) => enums.SupportedTxs.includes(x)),
|
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.64",
|
|
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": "49c94d9fd5f12ec63c34ad609d041a92f68322a8"
|
|
51
51
|
}
|