@ocap/proto 1.17.23 → 1.18.1
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 +36 -0
- package/lib/gen/type_pb.js +384 -1
- package/package.json +2 -2
package/lib/gen/spec.json
CHANGED
|
@@ -1561,6 +1561,38 @@
|
|
|
1561
1561
|
}
|
|
1562
1562
|
}
|
|
1563
1563
|
},
|
|
1564
|
+
"TxGasConfig": {
|
|
1565
|
+
"fields": {
|
|
1566
|
+
"price": {
|
|
1567
|
+
"type": "uint64",
|
|
1568
|
+
"id": 1
|
|
1569
|
+
},
|
|
1570
|
+
"createState": {
|
|
1571
|
+
"type": "uint64",
|
|
1572
|
+
"id": 2
|
|
1573
|
+
},
|
|
1574
|
+
"updateState": {
|
|
1575
|
+
"type": "uint64",
|
|
1576
|
+
"id": 3
|
|
1577
|
+
},
|
|
1578
|
+
"dataStorage": {
|
|
1579
|
+
"type": "uint64",
|
|
1580
|
+
"id": 4
|
|
1581
|
+
},
|
|
1582
|
+
"minStake": {
|
|
1583
|
+
"type": "string",
|
|
1584
|
+
"id": 5
|
|
1585
|
+
},
|
|
1586
|
+
"maxStake": {
|
|
1587
|
+
"type": "string",
|
|
1588
|
+
"id": 6
|
|
1589
|
+
},
|
|
1590
|
+
"stakeLockPeriod": {
|
|
1591
|
+
"type": "uint64",
|
|
1592
|
+
"id": 7
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1564
1596
|
"TransactionConfig": {
|
|
1565
1597
|
"fields": {
|
|
1566
1598
|
"maxAssetSize": {
|
|
@@ -1583,6 +1615,10 @@
|
|
|
1583
1615
|
"rule": "repeated",
|
|
1584
1616
|
"type": "TxFeeConfig",
|
|
1585
1617
|
"id": 5
|
|
1618
|
+
},
|
|
1619
|
+
"txGas": {
|
|
1620
|
+
"type": "TxGasConfig",
|
|
1621
|
+
"id": 6
|
|
1586
1622
|
}
|
|
1587
1623
|
}
|
|
1588
1624
|
},
|
package/lib/gen/type_pb.js
CHANGED
|
@@ -60,6 +60,7 @@ goog.exportSymbol('proto.ocap.TransactionInfo', null, root);
|
|
|
60
60
|
goog.exportSymbol('proto.ocap.TransactionInput', null, root);
|
|
61
61
|
goog.exportSymbol('proto.ocap.TransactionReceipt', null, root);
|
|
62
62
|
goog.exportSymbol('proto.ocap.TxFeeConfig', null, root);
|
|
63
|
+
goog.exportSymbol('proto.ocap.TxGasConfig', null, root);
|
|
63
64
|
goog.exportSymbol('proto.ocap.UnconfirmedTxs', null, root);
|
|
64
65
|
goog.exportSymbol('proto.ocap.UpgradeInfo', null, root);
|
|
65
66
|
goog.exportSymbol('proto.ocap.UpgradeTask', null, root);
|
|
@@ -512,6 +513,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
512
513
|
*/
|
|
513
514
|
proto.ocap.TxFeeConfig.displayName = 'proto.ocap.TxFeeConfig';
|
|
514
515
|
}
|
|
516
|
+
/**
|
|
517
|
+
* Generated by JsPbCodeGenerator.
|
|
518
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
519
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
520
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
521
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
522
|
+
* valid.
|
|
523
|
+
* @extends {jspb.Message}
|
|
524
|
+
* @constructor
|
|
525
|
+
*/
|
|
526
|
+
proto.ocap.TxGasConfig = function(opt_data) {
|
|
527
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
528
|
+
};
|
|
529
|
+
goog.inherits(proto.ocap.TxGasConfig, jspb.Message);
|
|
530
|
+
if (goog.DEBUG && !COMPILED) {
|
|
531
|
+
/**
|
|
532
|
+
* @public
|
|
533
|
+
* @override
|
|
534
|
+
*/
|
|
535
|
+
proto.ocap.TxGasConfig.displayName = 'proto.ocap.TxGasConfig';
|
|
536
|
+
}
|
|
515
537
|
/**
|
|
516
538
|
* Generated by JsPbCodeGenerator.
|
|
517
539
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7245,6 +7267,316 @@ proto.ocap.TxFeeConfig.prototype.setFee = function(value) {
|
|
|
7245
7267
|
|
|
7246
7268
|
|
|
7247
7269
|
|
|
7270
|
+
|
|
7271
|
+
|
|
7272
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7273
|
+
/**
|
|
7274
|
+
* Creates an object representation of this proto.
|
|
7275
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7276
|
+
* Optional fields that are not set will be set to undefined.
|
|
7277
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7278
|
+
* For the list of reserved names please see:
|
|
7279
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7280
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7281
|
+
* JSPB instance for transitional soy proto support:
|
|
7282
|
+
* http://goto/soy-param-migration
|
|
7283
|
+
* @return {!Object}
|
|
7284
|
+
*/
|
|
7285
|
+
proto.ocap.TxGasConfig.prototype.toObject = function(opt_includeInstance) {
|
|
7286
|
+
return proto.ocap.TxGasConfig.toObject(opt_includeInstance, this);
|
|
7287
|
+
};
|
|
7288
|
+
|
|
7289
|
+
|
|
7290
|
+
/**
|
|
7291
|
+
* Static version of the {@see toObject} method.
|
|
7292
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7293
|
+
* the JSPB instance for transitional soy proto support:
|
|
7294
|
+
* http://goto/soy-param-migration
|
|
7295
|
+
* @param {!proto.ocap.TxGasConfig} msg The msg instance to transform.
|
|
7296
|
+
* @return {!Object}
|
|
7297
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7298
|
+
*/
|
|
7299
|
+
proto.ocap.TxGasConfig.toObject = function(includeInstance, msg) {
|
|
7300
|
+
var f, obj = {
|
|
7301
|
+
price: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7302
|
+
createState: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7303
|
+
updateState: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
7304
|
+
dataStorage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7305
|
+
minStake: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
7306
|
+
maxStake: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
7307
|
+
stakeLockPeriod: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
7308
|
+
};
|
|
7309
|
+
|
|
7310
|
+
if (includeInstance) {
|
|
7311
|
+
obj.$jspbMessageInstance = msg;
|
|
7312
|
+
}
|
|
7313
|
+
return obj;
|
|
7314
|
+
};
|
|
7315
|
+
}
|
|
7316
|
+
|
|
7317
|
+
|
|
7318
|
+
/**
|
|
7319
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7320
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7321
|
+
* @return {!proto.ocap.TxGasConfig}
|
|
7322
|
+
*/
|
|
7323
|
+
proto.ocap.TxGasConfig.deserializeBinary = function(bytes) {
|
|
7324
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7325
|
+
var msg = new proto.ocap.TxGasConfig;
|
|
7326
|
+
return proto.ocap.TxGasConfig.deserializeBinaryFromReader(msg, reader);
|
|
7327
|
+
};
|
|
7328
|
+
|
|
7329
|
+
|
|
7330
|
+
/**
|
|
7331
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7332
|
+
* given reader into the given message object.
|
|
7333
|
+
* @param {!proto.ocap.TxGasConfig} msg The message object to deserialize into.
|
|
7334
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7335
|
+
* @return {!proto.ocap.TxGasConfig}
|
|
7336
|
+
*/
|
|
7337
|
+
proto.ocap.TxGasConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
7338
|
+
while (reader.nextField()) {
|
|
7339
|
+
if (reader.isEndGroup()) {
|
|
7340
|
+
break;
|
|
7341
|
+
}
|
|
7342
|
+
var field = reader.getFieldNumber();
|
|
7343
|
+
switch (field) {
|
|
7344
|
+
case 1:
|
|
7345
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7346
|
+
msg.setPrice(value);
|
|
7347
|
+
break;
|
|
7348
|
+
case 2:
|
|
7349
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7350
|
+
msg.setCreateState(value);
|
|
7351
|
+
break;
|
|
7352
|
+
case 3:
|
|
7353
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7354
|
+
msg.setUpdateState(value);
|
|
7355
|
+
break;
|
|
7356
|
+
case 4:
|
|
7357
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7358
|
+
msg.setDataStorage(value);
|
|
7359
|
+
break;
|
|
7360
|
+
case 5:
|
|
7361
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7362
|
+
msg.setMinStake(value);
|
|
7363
|
+
break;
|
|
7364
|
+
case 6:
|
|
7365
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7366
|
+
msg.setMaxStake(value);
|
|
7367
|
+
break;
|
|
7368
|
+
case 7:
|
|
7369
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7370
|
+
msg.setStakeLockPeriod(value);
|
|
7371
|
+
break;
|
|
7372
|
+
default:
|
|
7373
|
+
reader.skipField();
|
|
7374
|
+
break;
|
|
7375
|
+
}
|
|
7376
|
+
}
|
|
7377
|
+
return msg;
|
|
7378
|
+
};
|
|
7379
|
+
|
|
7380
|
+
|
|
7381
|
+
/**
|
|
7382
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7383
|
+
* @return {!Uint8Array}
|
|
7384
|
+
*/
|
|
7385
|
+
proto.ocap.TxGasConfig.prototype.serializeBinary = function() {
|
|
7386
|
+
var writer = new jspb.BinaryWriter();
|
|
7387
|
+
proto.ocap.TxGasConfig.serializeBinaryToWriter(this, writer);
|
|
7388
|
+
return writer.getResultBuffer();
|
|
7389
|
+
};
|
|
7390
|
+
|
|
7391
|
+
|
|
7392
|
+
/**
|
|
7393
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7394
|
+
* format), writing to the given BinaryWriter.
|
|
7395
|
+
* @param {!proto.ocap.TxGasConfig} message
|
|
7396
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7397
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7398
|
+
*/
|
|
7399
|
+
proto.ocap.TxGasConfig.serializeBinaryToWriter = function(message, writer) {
|
|
7400
|
+
var f = undefined;
|
|
7401
|
+
f = message.getPrice();
|
|
7402
|
+
if (f !== 0) {
|
|
7403
|
+
writer.writeUint64(
|
|
7404
|
+
1,
|
|
7405
|
+
f
|
|
7406
|
+
);
|
|
7407
|
+
}
|
|
7408
|
+
f = message.getCreateState();
|
|
7409
|
+
if (f !== 0) {
|
|
7410
|
+
writer.writeUint64(
|
|
7411
|
+
2,
|
|
7412
|
+
f
|
|
7413
|
+
);
|
|
7414
|
+
}
|
|
7415
|
+
f = message.getUpdateState();
|
|
7416
|
+
if (f !== 0) {
|
|
7417
|
+
writer.writeUint64(
|
|
7418
|
+
3,
|
|
7419
|
+
f
|
|
7420
|
+
);
|
|
7421
|
+
}
|
|
7422
|
+
f = message.getDataStorage();
|
|
7423
|
+
if (f !== 0) {
|
|
7424
|
+
writer.writeUint64(
|
|
7425
|
+
4,
|
|
7426
|
+
f
|
|
7427
|
+
);
|
|
7428
|
+
}
|
|
7429
|
+
f = message.getMinStake();
|
|
7430
|
+
if (f.length > 0) {
|
|
7431
|
+
writer.writeString(
|
|
7432
|
+
5,
|
|
7433
|
+
f
|
|
7434
|
+
);
|
|
7435
|
+
}
|
|
7436
|
+
f = message.getMaxStake();
|
|
7437
|
+
if (f.length > 0) {
|
|
7438
|
+
writer.writeString(
|
|
7439
|
+
6,
|
|
7440
|
+
f
|
|
7441
|
+
);
|
|
7442
|
+
}
|
|
7443
|
+
f = message.getStakeLockPeriod();
|
|
7444
|
+
if (f !== 0) {
|
|
7445
|
+
writer.writeUint64(
|
|
7446
|
+
7,
|
|
7447
|
+
f
|
|
7448
|
+
);
|
|
7449
|
+
}
|
|
7450
|
+
};
|
|
7451
|
+
|
|
7452
|
+
|
|
7453
|
+
/**
|
|
7454
|
+
* optional uint64 price = 1;
|
|
7455
|
+
* @return {number}
|
|
7456
|
+
*/
|
|
7457
|
+
proto.ocap.TxGasConfig.prototype.getPrice = function() {
|
|
7458
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7459
|
+
};
|
|
7460
|
+
|
|
7461
|
+
|
|
7462
|
+
/**
|
|
7463
|
+
* @param {number} value
|
|
7464
|
+
* @return {!proto.ocap.TxGasConfig} returns this
|
|
7465
|
+
*/
|
|
7466
|
+
proto.ocap.TxGasConfig.prototype.setPrice = function(value) {
|
|
7467
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
7468
|
+
};
|
|
7469
|
+
|
|
7470
|
+
|
|
7471
|
+
/**
|
|
7472
|
+
* optional uint64 create_state = 2;
|
|
7473
|
+
* @return {number}
|
|
7474
|
+
*/
|
|
7475
|
+
proto.ocap.TxGasConfig.prototype.getCreateState = function() {
|
|
7476
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
7477
|
+
};
|
|
7478
|
+
|
|
7479
|
+
|
|
7480
|
+
/**
|
|
7481
|
+
* @param {number} value
|
|
7482
|
+
* @return {!proto.ocap.TxGasConfig} returns this
|
|
7483
|
+
*/
|
|
7484
|
+
proto.ocap.TxGasConfig.prototype.setCreateState = function(value) {
|
|
7485
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
7486
|
+
};
|
|
7487
|
+
|
|
7488
|
+
|
|
7489
|
+
/**
|
|
7490
|
+
* optional uint64 update_state = 3;
|
|
7491
|
+
* @return {number}
|
|
7492
|
+
*/
|
|
7493
|
+
proto.ocap.TxGasConfig.prototype.getUpdateState = function() {
|
|
7494
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
7495
|
+
};
|
|
7496
|
+
|
|
7497
|
+
|
|
7498
|
+
/**
|
|
7499
|
+
* @param {number} value
|
|
7500
|
+
* @return {!proto.ocap.TxGasConfig} returns this
|
|
7501
|
+
*/
|
|
7502
|
+
proto.ocap.TxGasConfig.prototype.setUpdateState = function(value) {
|
|
7503
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
7504
|
+
};
|
|
7505
|
+
|
|
7506
|
+
|
|
7507
|
+
/**
|
|
7508
|
+
* optional uint64 data_storage = 4;
|
|
7509
|
+
* @return {number}
|
|
7510
|
+
*/
|
|
7511
|
+
proto.ocap.TxGasConfig.prototype.getDataStorage = function() {
|
|
7512
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
7513
|
+
};
|
|
7514
|
+
|
|
7515
|
+
|
|
7516
|
+
/**
|
|
7517
|
+
* @param {number} value
|
|
7518
|
+
* @return {!proto.ocap.TxGasConfig} returns this
|
|
7519
|
+
*/
|
|
7520
|
+
proto.ocap.TxGasConfig.prototype.setDataStorage = function(value) {
|
|
7521
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
7522
|
+
};
|
|
7523
|
+
|
|
7524
|
+
|
|
7525
|
+
/**
|
|
7526
|
+
* optional string min_stake = 5;
|
|
7527
|
+
* @return {string}
|
|
7528
|
+
*/
|
|
7529
|
+
proto.ocap.TxGasConfig.prototype.getMinStake = function() {
|
|
7530
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7531
|
+
};
|
|
7532
|
+
|
|
7533
|
+
|
|
7534
|
+
/**
|
|
7535
|
+
* @param {string} value
|
|
7536
|
+
* @return {!proto.ocap.TxGasConfig} returns this
|
|
7537
|
+
*/
|
|
7538
|
+
proto.ocap.TxGasConfig.prototype.setMinStake = function(value) {
|
|
7539
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
7540
|
+
};
|
|
7541
|
+
|
|
7542
|
+
|
|
7543
|
+
/**
|
|
7544
|
+
* optional string max_stake = 6;
|
|
7545
|
+
* @return {string}
|
|
7546
|
+
*/
|
|
7547
|
+
proto.ocap.TxGasConfig.prototype.getMaxStake = function() {
|
|
7548
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
7549
|
+
};
|
|
7550
|
+
|
|
7551
|
+
|
|
7552
|
+
/**
|
|
7553
|
+
* @param {string} value
|
|
7554
|
+
* @return {!proto.ocap.TxGasConfig} returns this
|
|
7555
|
+
*/
|
|
7556
|
+
proto.ocap.TxGasConfig.prototype.setMaxStake = function(value) {
|
|
7557
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
7558
|
+
};
|
|
7559
|
+
|
|
7560
|
+
|
|
7561
|
+
/**
|
|
7562
|
+
* optional uint64 stake_lock_period = 7;
|
|
7563
|
+
* @return {number}
|
|
7564
|
+
*/
|
|
7565
|
+
proto.ocap.TxGasConfig.prototype.getStakeLockPeriod = function() {
|
|
7566
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
7567
|
+
};
|
|
7568
|
+
|
|
7569
|
+
|
|
7570
|
+
/**
|
|
7571
|
+
* @param {number} value
|
|
7572
|
+
* @return {!proto.ocap.TxGasConfig} returns this
|
|
7573
|
+
*/
|
|
7574
|
+
proto.ocap.TxGasConfig.prototype.setStakeLockPeriod = function(value) {
|
|
7575
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
7576
|
+
};
|
|
7577
|
+
|
|
7578
|
+
|
|
7579
|
+
|
|
7248
7580
|
/**
|
|
7249
7581
|
* List of repeated fields within this message type.
|
|
7250
7582
|
* @private {!Array<number>}
|
|
@@ -7288,7 +7620,8 @@ proto.ocap.TransactionConfig.toObject = function(includeInstance, msg) {
|
|
|
7288
7620
|
maxMultisig: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
7289
7621
|
delegate: (f = msg.getDelegate()) && proto.ocap.DelegateConfig.toObject(includeInstance, f),
|
|
7290
7622
|
txFeeList: jspb.Message.toObjectList(msg.getTxFeeList(),
|
|
7291
|
-
proto.ocap.TxFeeConfig.toObject, includeInstance)
|
|
7623
|
+
proto.ocap.TxFeeConfig.toObject, includeInstance),
|
|
7624
|
+
txGas: (f = msg.getTxGas()) && proto.ocap.TxGasConfig.toObject(includeInstance, f)
|
|
7292
7625
|
};
|
|
7293
7626
|
|
|
7294
7627
|
if (includeInstance) {
|
|
@@ -7347,6 +7680,11 @@ proto.ocap.TransactionConfig.deserializeBinaryFromReader = function(msg, reader)
|
|
|
7347
7680
|
reader.readMessage(value,proto.ocap.TxFeeConfig.deserializeBinaryFromReader);
|
|
7348
7681
|
msg.addTxFee(value);
|
|
7349
7682
|
break;
|
|
7683
|
+
case 6:
|
|
7684
|
+
var value = new proto.ocap.TxGasConfig;
|
|
7685
|
+
reader.readMessage(value,proto.ocap.TxGasConfig.deserializeBinaryFromReader);
|
|
7686
|
+
msg.setTxGas(value);
|
|
7687
|
+
break;
|
|
7350
7688
|
default:
|
|
7351
7689
|
reader.skipField();
|
|
7352
7690
|
break;
|
|
@@ -7413,6 +7751,14 @@ proto.ocap.TransactionConfig.serializeBinaryToWriter = function(message, writer)
|
|
|
7413
7751
|
proto.ocap.TxFeeConfig.serializeBinaryToWriter
|
|
7414
7752
|
);
|
|
7415
7753
|
}
|
|
7754
|
+
f = message.getTxGas();
|
|
7755
|
+
if (f != null) {
|
|
7756
|
+
writer.writeMessage(
|
|
7757
|
+
6,
|
|
7758
|
+
f,
|
|
7759
|
+
proto.ocap.TxGasConfig.serializeBinaryToWriter
|
|
7760
|
+
);
|
|
7761
|
+
}
|
|
7416
7762
|
};
|
|
7417
7763
|
|
|
7418
7764
|
|
|
@@ -7545,6 +7891,43 @@ proto.ocap.TransactionConfig.prototype.clearTxFeeList = function() {
|
|
|
7545
7891
|
};
|
|
7546
7892
|
|
|
7547
7893
|
|
|
7894
|
+
/**
|
|
7895
|
+
* optional TxGasConfig tx_gas = 6;
|
|
7896
|
+
* @return {?proto.ocap.TxGasConfig}
|
|
7897
|
+
*/
|
|
7898
|
+
proto.ocap.TransactionConfig.prototype.getTxGas = function() {
|
|
7899
|
+
return /** @type{?proto.ocap.TxGasConfig} */ (
|
|
7900
|
+
jspb.Message.getWrapperField(this, proto.ocap.TxGasConfig, 6));
|
|
7901
|
+
};
|
|
7902
|
+
|
|
7903
|
+
|
|
7904
|
+
/**
|
|
7905
|
+
* @param {?proto.ocap.TxGasConfig|undefined} value
|
|
7906
|
+
* @return {!proto.ocap.TransactionConfig} returns this
|
|
7907
|
+
*/
|
|
7908
|
+
proto.ocap.TransactionConfig.prototype.setTxGas = function(value) {
|
|
7909
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
7910
|
+
};
|
|
7911
|
+
|
|
7912
|
+
|
|
7913
|
+
/**
|
|
7914
|
+
* Clears the message field making it undefined.
|
|
7915
|
+
* @return {!proto.ocap.TransactionConfig} returns this
|
|
7916
|
+
*/
|
|
7917
|
+
proto.ocap.TransactionConfig.prototype.clearTxGas = function() {
|
|
7918
|
+
return this.setTxGas(undefined);
|
|
7919
|
+
};
|
|
7920
|
+
|
|
7921
|
+
|
|
7922
|
+
/**
|
|
7923
|
+
* Returns whether this field is set.
|
|
7924
|
+
* @return {boolean}
|
|
7925
|
+
*/
|
|
7926
|
+
proto.ocap.TransactionConfig.prototype.hasTxGas = function() {
|
|
7927
|
+
return jspb.Message.getField(this, 6) != null;
|
|
7928
|
+
};
|
|
7929
|
+
|
|
7930
|
+
|
|
7548
7931
|
|
|
7549
7932
|
/**
|
|
7550
7933
|
* List of repeated fields within this message type.
|
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.
|
|
4
|
+
"version": "1.18.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"debug": "^4.3.4",
|
|
49
49
|
"lodash": "^4.17.21"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "7735e4243a1ba253eb14d960ca272974eaf94623"
|
|
52
52
|
}
|