@ocap/proto 1.13.64 → 1.13.68
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 +21 -119
- package/lib/gen/state_pb.js +52 -384
- package/lib/gen/tx_pb.js +0 -326
- package/lib/gen/type_pb.js +146 -765
- package/lib/index.d.ts +3 -4
- package/package.json +2 -2
package/lib/gen/type_pb.js
CHANGED
|
@@ -34,7 +34,6 @@ goog.exportSymbol('proto.ocap.BlockInfoSimple', null, global);
|
|
|
34
34
|
goog.exportSymbol('proto.ocap.ChainInfo', null, global);
|
|
35
35
|
goog.exportSymbol('proto.ocap.CircularQueue', null, global);
|
|
36
36
|
goog.exportSymbol('proto.ocap.ConsensusParams', null, global);
|
|
37
|
-
goog.exportSymbol('proto.ocap.DeclareConfig', null, global);
|
|
38
37
|
goog.exportSymbol('proto.ocap.DelegateConfig', null, global);
|
|
39
38
|
goog.exportSymbol('proto.ocap.Evidence', null, global);
|
|
40
39
|
goog.exportSymbol('proto.ocap.ForeignToken', null, global);
|
|
@@ -52,18 +51,17 @@ goog.exportSymbol('proto.ocap.ReceiptChange', null, global);
|
|
|
52
51
|
goog.exportSymbol('proto.ocap.RevokedStake', null, global);
|
|
53
52
|
goog.exportSymbol('proto.ocap.RollupSignature', null, global);
|
|
54
53
|
goog.exportSymbol('proto.ocap.RollupValidator', null, global);
|
|
55
|
-
goog.exportSymbol('proto.ocap.StakeConfig', null, global);
|
|
56
54
|
goog.exportSymbol('proto.ocap.StakeContext', null, global);
|
|
57
55
|
goog.exportSymbol('proto.ocap.StakeSummary', null, global);
|
|
58
56
|
goog.exportSymbol('proto.ocap.StateContext', null, global);
|
|
59
57
|
goog.exportSymbol('proto.ocap.TokenInput', null, global);
|
|
60
|
-
goog.exportSymbol('proto.ocap.TokenSwapConfig', null, global);
|
|
61
58
|
goog.exportSymbol('proto.ocap.TokenSymbol', null, global);
|
|
62
59
|
goog.exportSymbol('proto.ocap.Transaction', null, global);
|
|
63
60
|
goog.exportSymbol('proto.ocap.TransactionConfig', null, global);
|
|
64
61
|
goog.exportSymbol('proto.ocap.TransactionInfo', null, global);
|
|
65
62
|
goog.exportSymbol('proto.ocap.TransactionInput', null, global);
|
|
66
63
|
goog.exportSymbol('proto.ocap.TransactionReceipt', null, global);
|
|
64
|
+
goog.exportSymbol('proto.ocap.TxFeeConfig', null, global);
|
|
67
65
|
goog.exportSymbol('proto.ocap.TxStatistics', null, global);
|
|
68
66
|
goog.exportSymbol('proto.ocap.TxStatus', null, global);
|
|
69
67
|
goog.exportSymbol('proto.ocap.UnconfirmedTxs', null, global);
|
|
@@ -486,16 +484,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
486
484
|
* @extends {jspb.Message}
|
|
487
485
|
* @constructor
|
|
488
486
|
*/
|
|
489
|
-
proto.ocap.
|
|
490
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
487
|
+
proto.ocap.DelegateConfig = function(opt_data) {
|
|
488
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ocap.DelegateConfig.repeatedFields_, null);
|
|
491
489
|
};
|
|
492
|
-
goog.inherits(proto.ocap.
|
|
490
|
+
goog.inherits(proto.ocap.DelegateConfig, jspb.Message);
|
|
493
491
|
if (goog.DEBUG && !COMPILED) {
|
|
494
492
|
/**
|
|
495
493
|
* @public
|
|
496
494
|
* @override
|
|
497
495
|
*/
|
|
498
|
-
proto.ocap.
|
|
496
|
+
proto.ocap.DelegateConfig.displayName = 'proto.ocap.DelegateConfig';
|
|
499
497
|
}
|
|
500
498
|
/**
|
|
501
499
|
* Generated by JsPbCodeGenerator.
|
|
@@ -507,16 +505,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
507
505
|
* @extends {jspb.Message}
|
|
508
506
|
* @constructor
|
|
509
507
|
*/
|
|
510
|
-
proto.ocap.
|
|
511
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
508
|
+
proto.ocap.TxFeeConfig = function(opt_data) {
|
|
509
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
512
510
|
};
|
|
513
|
-
goog.inherits(proto.ocap.
|
|
511
|
+
goog.inherits(proto.ocap.TxFeeConfig, jspb.Message);
|
|
514
512
|
if (goog.DEBUG && !COMPILED) {
|
|
515
513
|
/**
|
|
516
514
|
* @public
|
|
517
515
|
* @override
|
|
518
516
|
*/
|
|
519
|
-
proto.ocap.
|
|
517
|
+
proto.ocap.TxFeeConfig.displayName = 'proto.ocap.TxFeeConfig';
|
|
520
518
|
}
|
|
521
519
|
/**
|
|
522
520
|
* Generated by JsPbCodeGenerator.
|
|
@@ -529,7 +527,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
529
527
|
* @constructor
|
|
530
528
|
*/
|
|
531
529
|
proto.ocap.TransactionConfig = function(opt_data) {
|
|
532
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
530
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ocap.TransactionConfig.repeatedFields_, null);
|
|
533
531
|
};
|
|
534
532
|
goog.inherits(proto.ocap.TransactionConfig, jspb.Message);
|
|
535
533
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -686,27 +684,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
686
684
|
*/
|
|
687
685
|
proto.ocap.StakeSummary.displayName = 'proto.ocap.StakeSummary';
|
|
688
686
|
}
|
|
689
|
-
/**
|
|
690
|
-
* Generated by JsPbCodeGenerator.
|
|
691
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
692
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
693
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
694
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
695
|
-
* valid.
|
|
696
|
-
* @extends {jspb.Message}
|
|
697
|
-
* @constructor
|
|
698
|
-
*/
|
|
699
|
-
proto.ocap.StakeConfig = function(opt_data) {
|
|
700
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
701
|
-
};
|
|
702
|
-
goog.inherits(proto.ocap.StakeConfig, jspb.Message);
|
|
703
|
-
if (goog.DEBUG && !COMPILED) {
|
|
704
|
-
/**
|
|
705
|
-
* @public
|
|
706
|
-
* @override
|
|
707
|
-
*/
|
|
708
|
-
proto.ocap.StakeConfig.displayName = 'proto.ocap.StakeConfig';
|
|
709
|
-
}
|
|
710
687
|
/**
|
|
711
688
|
* Generated by JsPbCodeGenerator.
|
|
712
689
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -980,27 +957,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
980
957
|
*/
|
|
981
958
|
proto.ocap.AccountConfig.displayName = 'proto.ocap.AccountConfig';
|
|
982
959
|
}
|
|
983
|
-
/**
|
|
984
|
-
* Generated by JsPbCodeGenerator.
|
|
985
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
986
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
987
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
988
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
989
|
-
* valid.
|
|
990
|
-
* @extends {jspb.Message}
|
|
991
|
-
* @constructor
|
|
992
|
-
*/
|
|
993
|
-
proto.ocap.TokenSwapConfig = function(opt_data) {
|
|
994
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
995
|
-
};
|
|
996
|
-
goog.inherits(proto.ocap.TokenSwapConfig, jspb.Message);
|
|
997
|
-
if (goog.DEBUG && !COMPILED) {
|
|
998
|
-
/**
|
|
999
|
-
* @public
|
|
1000
|
-
* @override
|
|
1001
|
-
*/
|
|
1002
|
-
proto.ocap.TokenSwapConfig.displayName = 'proto.ocap.TokenSwapConfig';
|
|
1003
|
-
}
|
|
1004
960
|
/**
|
|
1005
961
|
* Generated by JsPbCodeGenerator.
|
|
1006
962
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7001,6 +6957,13 @@ proto.ocap.VariableInput.prototype.setRequired = function(value) {
|
|
|
7001
6957
|
|
|
7002
6958
|
|
|
7003
6959
|
|
|
6960
|
+
/**
|
|
6961
|
+
* List of repeated fields within this message type.
|
|
6962
|
+
* @private {!Array<number>}
|
|
6963
|
+
* @const
|
|
6964
|
+
*/
|
|
6965
|
+
proto.ocap.DelegateConfig.repeatedFields_ = [2];
|
|
6966
|
+
|
|
7004
6967
|
|
|
7005
6968
|
|
|
7006
6969
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -7016,8 +6979,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7016
6979
|
* http://goto/soy-param-migration
|
|
7017
6980
|
* @return {!Object}
|
|
7018
6981
|
*/
|
|
7019
|
-
proto.ocap.
|
|
7020
|
-
return proto.ocap.
|
|
6982
|
+
proto.ocap.DelegateConfig.prototype.toObject = function(opt_includeInstance) {
|
|
6983
|
+
return proto.ocap.DelegateConfig.toObject(opt_includeInstance, this);
|
|
7021
6984
|
};
|
|
7022
6985
|
|
|
7023
6986
|
|
|
@@ -7026,15 +6989,14 @@ proto.ocap.DeclareConfig.prototype.toObject = function(opt_includeInstance) {
|
|
|
7026
6989
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7027
6990
|
* the JSPB instance for transitional soy proto support:
|
|
7028
6991
|
* http://goto/soy-param-migration
|
|
7029
|
-
* @param {!proto.ocap.
|
|
6992
|
+
* @param {!proto.ocap.DelegateConfig} msg The msg instance to transform.
|
|
7030
6993
|
* @return {!Object}
|
|
7031
6994
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7032
6995
|
*/
|
|
7033
|
-
proto.ocap.
|
|
6996
|
+
proto.ocap.DelegateConfig.toObject = function(includeInstance, msg) {
|
|
7034
6997
|
var f, obj = {
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
cost: (f = msg.getCost()) && proto.ocap.BigUint.toObject(includeInstance, f)
|
|
6998
|
+
deltaInterval: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6999
|
+
typeUrlsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
7038
7000
|
};
|
|
7039
7001
|
|
|
7040
7002
|
if (includeInstance) {
|
|
@@ -7048,23 +7010,23 @@ proto.ocap.DeclareConfig.toObject = function(includeInstance, msg) {
|
|
|
7048
7010
|
/**
|
|
7049
7011
|
* Deserializes binary data (in protobuf wire format).
|
|
7050
7012
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7051
|
-
* @return {!proto.ocap.
|
|
7013
|
+
* @return {!proto.ocap.DelegateConfig}
|
|
7052
7014
|
*/
|
|
7053
|
-
proto.ocap.
|
|
7015
|
+
proto.ocap.DelegateConfig.deserializeBinary = function(bytes) {
|
|
7054
7016
|
var reader = new jspb.BinaryReader(bytes);
|
|
7055
|
-
var msg = new proto.ocap.
|
|
7056
|
-
return proto.ocap.
|
|
7017
|
+
var msg = new proto.ocap.DelegateConfig;
|
|
7018
|
+
return proto.ocap.DelegateConfig.deserializeBinaryFromReader(msg, reader);
|
|
7057
7019
|
};
|
|
7058
7020
|
|
|
7059
7021
|
|
|
7060
7022
|
/**
|
|
7061
7023
|
* Deserializes binary data (in protobuf wire format) from the
|
|
7062
7024
|
* given reader into the given message object.
|
|
7063
|
-
* @param {!proto.ocap.
|
|
7025
|
+
* @param {!proto.ocap.DelegateConfig} msg The message object to deserialize into.
|
|
7064
7026
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7065
|
-
* @return {!proto.ocap.
|
|
7027
|
+
* @return {!proto.ocap.DelegateConfig}
|
|
7066
7028
|
*/
|
|
7067
|
-
proto.ocap.
|
|
7029
|
+
proto.ocap.DelegateConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
7068
7030
|
while (reader.nextField()) {
|
|
7069
7031
|
if (reader.isEndGroup()) {
|
|
7070
7032
|
break;
|
|
@@ -7072,17 +7034,12 @@ proto.ocap.DeclareConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7072
7034
|
var field = reader.getFieldNumber();
|
|
7073
7035
|
switch (field) {
|
|
7074
7036
|
case 1:
|
|
7075
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
7076
|
-
msg.setRestricted(value);
|
|
7077
|
-
break;
|
|
7078
|
-
case 2:
|
|
7079
7037
|
var value = /** @type {number} */ (reader.readUint32());
|
|
7080
|
-
msg.
|
|
7038
|
+
msg.setDeltaInterval(value);
|
|
7081
7039
|
break;
|
|
7082
|
-
case
|
|
7083
|
-
var value =
|
|
7084
|
-
|
|
7085
|
-
msg.setCost(value);
|
|
7040
|
+
case 2:
|
|
7041
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7042
|
+
msg.addTypeUrls(value);
|
|
7086
7043
|
break;
|
|
7087
7044
|
default:
|
|
7088
7045
|
reader.skipField();
|
|
@@ -7097,9 +7054,9 @@ proto.ocap.DeclareConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7097
7054
|
* Serializes the message to binary data (in protobuf wire format).
|
|
7098
7055
|
* @return {!Uint8Array}
|
|
7099
7056
|
*/
|
|
7100
|
-
proto.ocap.
|
|
7057
|
+
proto.ocap.DelegateConfig.prototype.serializeBinary = function() {
|
|
7101
7058
|
var writer = new jspb.BinaryWriter();
|
|
7102
|
-
proto.ocap.
|
|
7059
|
+
proto.ocap.DelegateConfig.serializeBinaryToWriter(this, writer);
|
|
7103
7060
|
return writer.getResultBuffer();
|
|
7104
7061
|
};
|
|
7105
7062
|
|
|
@@ -7107,118 +7064,85 @@ proto.ocap.DeclareConfig.prototype.serializeBinary = function() {
|
|
|
7107
7064
|
/**
|
|
7108
7065
|
* Serializes the given message to binary data (in protobuf wire
|
|
7109
7066
|
* format), writing to the given BinaryWriter.
|
|
7110
|
-
* @param {!proto.ocap.
|
|
7067
|
+
* @param {!proto.ocap.DelegateConfig} message
|
|
7111
7068
|
* @param {!jspb.BinaryWriter} writer
|
|
7112
7069
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7113
7070
|
*/
|
|
7114
|
-
proto.ocap.
|
|
7071
|
+
proto.ocap.DelegateConfig.serializeBinaryToWriter = function(message, writer) {
|
|
7115
7072
|
var f = undefined;
|
|
7116
|
-
f = message.
|
|
7117
|
-
if (f) {
|
|
7118
|
-
writer.
|
|
7073
|
+
f = message.getDeltaInterval();
|
|
7074
|
+
if (f !== 0) {
|
|
7075
|
+
writer.writeUint32(
|
|
7119
7076
|
1,
|
|
7120
7077
|
f
|
|
7121
7078
|
);
|
|
7122
7079
|
}
|
|
7123
|
-
f = message.
|
|
7124
|
-
if (f
|
|
7125
|
-
writer.
|
|
7080
|
+
f = message.getTypeUrlsList();
|
|
7081
|
+
if (f.length > 0) {
|
|
7082
|
+
writer.writeRepeatedString(
|
|
7126
7083
|
2,
|
|
7127
7084
|
f
|
|
7128
7085
|
);
|
|
7129
7086
|
}
|
|
7130
|
-
f = message.getCost();
|
|
7131
|
-
if (f != null) {
|
|
7132
|
-
writer.writeMessage(
|
|
7133
|
-
3,
|
|
7134
|
-
f,
|
|
7135
|
-
proto.ocap.BigUint.serializeBinaryToWriter
|
|
7136
|
-
);
|
|
7137
|
-
}
|
|
7138
|
-
};
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
/**
|
|
7142
|
-
* optional bool restricted = 1;
|
|
7143
|
-
* @return {boolean}
|
|
7144
|
-
*/
|
|
7145
|
-
proto.ocap.DeclareConfig.prototype.getRestricted = function() {
|
|
7146
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
7147
|
-
};
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
/**
|
|
7151
|
-
* @param {boolean} value
|
|
7152
|
-
* @return {!proto.ocap.DeclareConfig} returns this
|
|
7153
|
-
*/
|
|
7154
|
-
proto.ocap.DeclareConfig.prototype.setRestricted = function(value) {
|
|
7155
|
-
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
7156
7087
|
};
|
|
7157
7088
|
|
|
7158
7089
|
|
|
7159
7090
|
/**
|
|
7160
|
-
* optional uint32
|
|
7091
|
+
* optional uint32 delta_interval = 1;
|
|
7161
7092
|
* @return {number}
|
|
7162
7093
|
*/
|
|
7163
|
-
proto.ocap.
|
|
7164
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
7094
|
+
proto.ocap.DelegateConfig.prototype.getDeltaInterval = function() {
|
|
7095
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7165
7096
|
};
|
|
7166
7097
|
|
|
7167
7098
|
|
|
7168
7099
|
/**
|
|
7169
7100
|
* @param {number} value
|
|
7170
|
-
* @return {!proto.ocap.
|
|
7101
|
+
* @return {!proto.ocap.DelegateConfig} returns this
|
|
7171
7102
|
*/
|
|
7172
|
-
proto.ocap.
|
|
7173
|
-
return jspb.Message.setProto3IntField(this,
|
|
7103
|
+
proto.ocap.DelegateConfig.prototype.setDeltaInterval = function(value) {
|
|
7104
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
7174
7105
|
};
|
|
7175
7106
|
|
|
7176
7107
|
|
|
7177
7108
|
/**
|
|
7178
|
-
*
|
|
7179
|
-
* @return {
|
|
7109
|
+
* repeated string type_urls = 2;
|
|
7110
|
+
* @return {!Array<string>}
|
|
7180
7111
|
*/
|
|
7181
|
-
proto.ocap.
|
|
7182
|
-
return /** @type{
|
|
7183
|
-
jspb.Message.getWrapperField(this, proto.ocap.BigUint, 3));
|
|
7112
|
+
proto.ocap.DelegateConfig.prototype.getTypeUrlsList = function() {
|
|
7113
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
7184
7114
|
};
|
|
7185
7115
|
|
|
7186
7116
|
|
|
7187
7117
|
/**
|
|
7188
|
-
* @param {
|
|
7189
|
-
* @return {!proto.ocap.
|
|
7190
|
-
*/
|
|
7191
|
-
proto.ocap.
|
|
7192
|
-
return jspb.Message.
|
|
7118
|
+
* @param {!Array<string>} value
|
|
7119
|
+
* @return {!proto.ocap.DelegateConfig} returns this
|
|
7120
|
+
*/
|
|
7121
|
+
proto.ocap.DelegateConfig.prototype.setTypeUrlsList = function(value) {
|
|
7122
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
7193
7123
|
};
|
|
7194
7124
|
|
|
7195
7125
|
|
|
7196
7126
|
/**
|
|
7197
|
-
*
|
|
7198
|
-
* @
|
|
7127
|
+
* @param {string} value
|
|
7128
|
+
* @param {number=} opt_index
|
|
7129
|
+
* @return {!proto.ocap.DelegateConfig} returns this
|
|
7199
7130
|
*/
|
|
7200
|
-
proto.ocap.
|
|
7201
|
-
return
|
|
7131
|
+
proto.ocap.DelegateConfig.prototype.addTypeUrls = function(value, opt_index) {
|
|
7132
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
7202
7133
|
};
|
|
7203
7134
|
|
|
7204
7135
|
|
|
7205
7136
|
/**
|
|
7206
|
-
*
|
|
7207
|
-
* @return {
|
|
7137
|
+
* Clears the list making it empty but non-null.
|
|
7138
|
+
* @return {!proto.ocap.DelegateConfig} returns this
|
|
7208
7139
|
*/
|
|
7209
|
-
proto.ocap.
|
|
7210
|
-
return
|
|
7140
|
+
proto.ocap.DelegateConfig.prototype.clearTypeUrlsList = function() {
|
|
7141
|
+
return this.setTypeUrlsList([]);
|
|
7211
7142
|
};
|
|
7212
7143
|
|
|
7213
7144
|
|
|
7214
7145
|
|
|
7215
|
-
/**
|
|
7216
|
-
* List of repeated fields within this message type.
|
|
7217
|
-
* @private {!Array<number>}
|
|
7218
|
-
* @const
|
|
7219
|
-
*/
|
|
7220
|
-
proto.ocap.DelegateConfig.repeatedFields_ = [2];
|
|
7221
|
-
|
|
7222
7146
|
|
|
7223
7147
|
|
|
7224
7148
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -7234,8 +7158,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7234
7158
|
* http://goto/soy-param-migration
|
|
7235
7159
|
* @return {!Object}
|
|
7236
7160
|
*/
|
|
7237
|
-
proto.ocap.
|
|
7238
|
-
return proto.ocap.
|
|
7161
|
+
proto.ocap.TxFeeConfig.prototype.toObject = function(opt_includeInstance) {
|
|
7162
|
+
return proto.ocap.TxFeeConfig.toObject(opt_includeInstance, this);
|
|
7239
7163
|
};
|
|
7240
7164
|
|
|
7241
7165
|
|
|
@@ -7244,14 +7168,14 @@ proto.ocap.DelegateConfig.prototype.toObject = function(opt_includeInstance) {
|
|
|
7244
7168
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7245
7169
|
* the JSPB instance for transitional soy proto support:
|
|
7246
7170
|
* http://goto/soy-param-migration
|
|
7247
|
-
* @param {!proto.ocap.
|
|
7171
|
+
* @param {!proto.ocap.TxFeeConfig} msg The msg instance to transform.
|
|
7248
7172
|
* @return {!Object}
|
|
7249
7173
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7250
7174
|
*/
|
|
7251
|
-
proto.ocap.
|
|
7175
|
+
proto.ocap.TxFeeConfig.toObject = function(includeInstance, msg) {
|
|
7252
7176
|
var f, obj = {
|
|
7253
|
-
|
|
7254
|
-
|
|
7177
|
+
typeUrl: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7178
|
+
fee: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7255
7179
|
};
|
|
7256
7180
|
|
|
7257
7181
|
if (includeInstance) {
|
|
@@ -7265,23 +7189,23 @@ proto.ocap.DelegateConfig.toObject = function(includeInstance, msg) {
|
|
|
7265
7189
|
/**
|
|
7266
7190
|
* Deserializes binary data (in protobuf wire format).
|
|
7267
7191
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7268
|
-
* @return {!proto.ocap.
|
|
7192
|
+
* @return {!proto.ocap.TxFeeConfig}
|
|
7269
7193
|
*/
|
|
7270
|
-
proto.ocap.
|
|
7194
|
+
proto.ocap.TxFeeConfig.deserializeBinary = function(bytes) {
|
|
7271
7195
|
var reader = new jspb.BinaryReader(bytes);
|
|
7272
|
-
var msg = new proto.ocap.
|
|
7273
|
-
return proto.ocap.
|
|
7196
|
+
var msg = new proto.ocap.TxFeeConfig;
|
|
7197
|
+
return proto.ocap.TxFeeConfig.deserializeBinaryFromReader(msg, reader);
|
|
7274
7198
|
};
|
|
7275
7199
|
|
|
7276
7200
|
|
|
7277
7201
|
/**
|
|
7278
7202
|
* Deserializes binary data (in protobuf wire format) from the
|
|
7279
7203
|
* given reader into the given message object.
|
|
7280
|
-
* @param {!proto.ocap.
|
|
7204
|
+
* @param {!proto.ocap.TxFeeConfig} msg The message object to deserialize into.
|
|
7281
7205
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7282
|
-
* @return {!proto.ocap.
|
|
7206
|
+
* @return {!proto.ocap.TxFeeConfig}
|
|
7283
7207
|
*/
|
|
7284
|
-
proto.ocap.
|
|
7208
|
+
proto.ocap.TxFeeConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
7285
7209
|
while (reader.nextField()) {
|
|
7286
7210
|
if (reader.isEndGroup()) {
|
|
7287
7211
|
break;
|
|
@@ -7289,12 +7213,12 @@ proto.ocap.DelegateConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7289
7213
|
var field = reader.getFieldNumber();
|
|
7290
7214
|
switch (field) {
|
|
7291
7215
|
case 1:
|
|
7292
|
-
var value = /** @type {
|
|
7293
|
-
msg.
|
|
7216
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7217
|
+
msg.setTypeUrl(value);
|
|
7294
7218
|
break;
|
|
7295
7219
|
case 2:
|
|
7296
7220
|
var value = /** @type {string} */ (reader.readString());
|
|
7297
|
-
msg.
|
|
7221
|
+
msg.setFee(value);
|
|
7298
7222
|
break;
|
|
7299
7223
|
default:
|
|
7300
7224
|
reader.skipField();
|
|
@@ -7309,9 +7233,9 @@ proto.ocap.DelegateConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7309
7233
|
* Serializes the message to binary data (in protobuf wire format).
|
|
7310
7234
|
* @return {!Uint8Array}
|
|
7311
7235
|
*/
|
|
7312
|
-
proto.ocap.
|
|
7236
|
+
proto.ocap.TxFeeConfig.prototype.serializeBinary = function() {
|
|
7313
7237
|
var writer = new jspb.BinaryWriter();
|
|
7314
|
-
proto.ocap.
|
|
7238
|
+
proto.ocap.TxFeeConfig.serializeBinaryToWriter(this, writer);
|
|
7315
7239
|
return writer.getResultBuffer();
|
|
7316
7240
|
};
|
|
7317
7241
|
|
|
@@ -7319,22 +7243,22 @@ proto.ocap.DelegateConfig.prototype.serializeBinary = function() {
|
|
|
7319
7243
|
/**
|
|
7320
7244
|
* Serializes the given message to binary data (in protobuf wire
|
|
7321
7245
|
* format), writing to the given BinaryWriter.
|
|
7322
|
-
* @param {!proto.ocap.
|
|
7246
|
+
* @param {!proto.ocap.TxFeeConfig} message
|
|
7323
7247
|
* @param {!jspb.BinaryWriter} writer
|
|
7324
7248
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7325
7249
|
*/
|
|
7326
|
-
proto.ocap.
|
|
7250
|
+
proto.ocap.TxFeeConfig.serializeBinaryToWriter = function(message, writer) {
|
|
7327
7251
|
var f = undefined;
|
|
7328
|
-
f = message.
|
|
7329
|
-
if (f
|
|
7330
|
-
writer.
|
|
7252
|
+
f = message.getTypeUrl();
|
|
7253
|
+
if (f.length > 0) {
|
|
7254
|
+
writer.writeString(
|
|
7331
7255
|
1,
|
|
7332
7256
|
f
|
|
7333
7257
|
);
|
|
7334
7258
|
}
|
|
7335
|
-
f = message.
|
|
7259
|
+
f = message.getFee();
|
|
7336
7260
|
if (f.length > 0) {
|
|
7337
|
-
writer.
|
|
7261
|
+
writer.writeString(
|
|
7338
7262
|
2,
|
|
7339
7263
|
f
|
|
7340
7264
|
);
|
|
@@ -7343,60 +7267,48 @@ proto.ocap.DelegateConfig.serializeBinaryToWriter = function(message, writer) {
|
|
|
7343
7267
|
|
|
7344
7268
|
|
|
7345
7269
|
/**
|
|
7346
|
-
* optional
|
|
7347
|
-
* @return {
|
|
7348
|
-
*/
|
|
7349
|
-
proto.ocap.DelegateConfig.prototype.getDeltaInterval = function() {
|
|
7350
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7351
|
-
};
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
/**
|
|
7355
|
-
* @param {number} value
|
|
7356
|
-
* @return {!proto.ocap.DelegateConfig} returns this
|
|
7270
|
+
* optional string type_url = 1;
|
|
7271
|
+
* @return {string}
|
|
7357
7272
|
*/
|
|
7358
|
-
proto.ocap.
|
|
7359
|
-
return jspb.Message.
|
|
7273
|
+
proto.ocap.TxFeeConfig.prototype.getTypeUrl = function() {
|
|
7274
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7360
7275
|
};
|
|
7361
7276
|
|
|
7362
7277
|
|
|
7363
7278
|
/**
|
|
7364
|
-
*
|
|
7365
|
-
* @return {!
|
|
7279
|
+
* @param {string} value
|
|
7280
|
+
* @return {!proto.ocap.TxFeeConfig} returns this
|
|
7366
7281
|
*/
|
|
7367
|
-
proto.ocap.
|
|
7368
|
-
return
|
|
7282
|
+
proto.ocap.TxFeeConfig.prototype.setTypeUrl = function(value) {
|
|
7283
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
7369
7284
|
};
|
|
7370
7285
|
|
|
7371
7286
|
|
|
7372
7287
|
/**
|
|
7373
|
-
*
|
|
7374
|
-
* @return {
|
|
7288
|
+
* optional string fee = 2;
|
|
7289
|
+
* @return {string}
|
|
7375
7290
|
*/
|
|
7376
|
-
proto.ocap.
|
|
7377
|
-
return jspb.Message.
|
|
7291
|
+
proto.ocap.TxFeeConfig.prototype.getFee = function() {
|
|
7292
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7378
7293
|
};
|
|
7379
7294
|
|
|
7380
7295
|
|
|
7381
7296
|
/**
|
|
7382
7297
|
* @param {string} value
|
|
7383
|
-
* @
|
|
7384
|
-
* @return {!proto.ocap.DelegateConfig} returns this
|
|
7298
|
+
* @return {!proto.ocap.TxFeeConfig} returns this
|
|
7385
7299
|
*/
|
|
7386
|
-
proto.ocap.
|
|
7387
|
-
return jspb.Message.
|
|
7300
|
+
proto.ocap.TxFeeConfig.prototype.setFee = function(value) {
|
|
7301
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7388
7302
|
};
|
|
7389
7303
|
|
|
7390
7304
|
|
|
7305
|
+
|
|
7391
7306
|
/**
|
|
7392
|
-
*
|
|
7393
|
-
* @
|
|
7307
|
+
* List of repeated fields within this message type.
|
|
7308
|
+
* @private {!Array<number>}
|
|
7309
|
+
* @const
|
|
7394
7310
|
*/
|
|
7395
|
-
proto.ocap.
|
|
7396
|
-
return this.setTypeUrlsList([]);
|
|
7397
|
-
};
|
|
7398
|
-
|
|
7399
|
-
|
|
7311
|
+
proto.ocap.TransactionConfig.repeatedFields_ = [5];
|
|
7400
7312
|
|
|
7401
7313
|
|
|
7402
7314
|
|
|
@@ -7432,10 +7344,9 @@ proto.ocap.TransactionConfig.toObject = function(includeInstance, msg) {
|
|
|
7432
7344
|
maxAssetSize: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7433
7345
|
maxListSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7434
7346
|
maxMultisig: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
7435
|
-
minimumStake: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7436
|
-
declare: (f = msg.getDeclare()) && proto.ocap.DeclareConfig.toObject(includeInstance, f),
|
|
7437
7347
|
delegate: (f = msg.getDelegate()) && proto.ocap.DelegateConfig.toObject(includeInstance, f),
|
|
7438
|
-
|
|
7348
|
+
txFeeList: jspb.Message.toObjectList(msg.getTxFeeList(),
|
|
7349
|
+
proto.ocap.TxFeeConfig.toObject, includeInstance)
|
|
7439
7350
|
};
|
|
7440
7351
|
|
|
7441
7352
|
if (includeInstance) {
|
|
@@ -7485,23 +7396,14 @@ proto.ocap.TransactionConfig.deserializeBinaryFromReader = function(msg, reader)
|
|
|
7485
7396
|
msg.setMaxMultisig(value);
|
|
7486
7397
|
break;
|
|
7487
7398
|
case 4:
|
|
7488
|
-
var value = /** @type {string} */ (reader.readString());
|
|
7489
|
-
msg.setMinimumStake(value);
|
|
7490
|
-
break;
|
|
7491
|
-
case 5:
|
|
7492
|
-
var value = new proto.ocap.DeclareConfig;
|
|
7493
|
-
reader.readMessage(value,proto.ocap.DeclareConfig.deserializeBinaryFromReader);
|
|
7494
|
-
msg.setDeclare(value);
|
|
7495
|
-
break;
|
|
7496
|
-
case 6:
|
|
7497
7399
|
var value = new proto.ocap.DelegateConfig;
|
|
7498
7400
|
reader.readMessage(value,proto.ocap.DelegateConfig.deserializeBinaryFromReader);
|
|
7499
7401
|
msg.setDelegate(value);
|
|
7500
7402
|
break;
|
|
7501
|
-
case
|
|
7502
|
-
var value = new proto.ocap.
|
|
7503
|
-
reader.readMessage(value,proto.ocap.
|
|
7504
|
-
msg.
|
|
7403
|
+
case 5:
|
|
7404
|
+
var value = new proto.ocap.TxFeeConfig;
|
|
7405
|
+
reader.readMessage(value,proto.ocap.TxFeeConfig.deserializeBinaryFromReader);
|
|
7406
|
+
msg.addTxFee(value);
|
|
7505
7407
|
break;
|
|
7506
7408
|
default:
|
|
7507
7409
|
reader.skipField();
|
|
@@ -7553,35 +7455,20 @@ proto.ocap.TransactionConfig.serializeBinaryToWriter = function(message, writer)
|
|
|
7553
7455
|
f
|
|
7554
7456
|
);
|
|
7555
7457
|
}
|
|
7556
|
-
f = message.getMinimumStake();
|
|
7557
|
-
if (f.length > 0) {
|
|
7558
|
-
writer.writeString(
|
|
7559
|
-
4,
|
|
7560
|
-
f
|
|
7561
|
-
);
|
|
7562
|
-
}
|
|
7563
|
-
f = message.getDeclare();
|
|
7564
|
-
if (f != null) {
|
|
7565
|
-
writer.writeMessage(
|
|
7566
|
-
5,
|
|
7567
|
-
f,
|
|
7568
|
-
proto.ocap.DeclareConfig.serializeBinaryToWriter
|
|
7569
|
-
);
|
|
7570
|
-
}
|
|
7571
7458
|
f = message.getDelegate();
|
|
7572
7459
|
if (f != null) {
|
|
7573
7460
|
writer.writeMessage(
|
|
7574
|
-
|
|
7461
|
+
4,
|
|
7575
7462
|
f,
|
|
7576
7463
|
proto.ocap.DelegateConfig.serializeBinaryToWriter
|
|
7577
7464
|
);
|
|
7578
7465
|
}
|
|
7579
|
-
f = message.
|
|
7580
|
-
if (f
|
|
7581
|
-
writer.
|
|
7582
|
-
|
|
7466
|
+
f = message.getTxFeeList();
|
|
7467
|
+
if (f.length > 0) {
|
|
7468
|
+
writer.writeRepeatedMessage(
|
|
7469
|
+
5,
|
|
7583
7470
|
f,
|
|
7584
|
-
proto.ocap.
|
|
7471
|
+
proto.ocap.TxFeeConfig.serializeBinaryToWriter
|
|
7585
7472
|
);
|
|
7586
7473
|
}
|
|
7587
7474
|
};
|
|
@@ -7642,67 +7529,12 @@ proto.ocap.TransactionConfig.prototype.setMaxMultisig = function(value) {
|
|
|
7642
7529
|
|
|
7643
7530
|
|
|
7644
7531
|
/**
|
|
7645
|
-
* optional
|
|
7646
|
-
* @return {string}
|
|
7647
|
-
*/
|
|
7648
|
-
proto.ocap.TransactionConfig.prototype.getMinimumStake = function() {
|
|
7649
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7650
|
-
};
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
/**
|
|
7654
|
-
* @param {string} value
|
|
7655
|
-
* @return {!proto.ocap.TransactionConfig} returns this
|
|
7656
|
-
*/
|
|
7657
|
-
proto.ocap.TransactionConfig.prototype.setMinimumStake = function(value) {
|
|
7658
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
7659
|
-
};
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
/**
|
|
7663
|
-
* optional DeclareConfig declare = 5;
|
|
7664
|
-
* @return {?proto.ocap.DeclareConfig}
|
|
7665
|
-
*/
|
|
7666
|
-
proto.ocap.TransactionConfig.prototype.getDeclare = function() {
|
|
7667
|
-
return /** @type{?proto.ocap.DeclareConfig} */ (
|
|
7668
|
-
jspb.Message.getWrapperField(this, proto.ocap.DeclareConfig, 5));
|
|
7669
|
-
};
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
/**
|
|
7673
|
-
* @param {?proto.ocap.DeclareConfig|undefined} value
|
|
7674
|
-
* @return {!proto.ocap.TransactionConfig} returns this
|
|
7675
|
-
*/
|
|
7676
|
-
proto.ocap.TransactionConfig.prototype.setDeclare = function(value) {
|
|
7677
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
7678
|
-
};
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
/**
|
|
7682
|
-
* Clears the message field making it undefined.
|
|
7683
|
-
* @return {!proto.ocap.TransactionConfig} returns this
|
|
7684
|
-
*/
|
|
7685
|
-
proto.ocap.TransactionConfig.prototype.clearDeclare = function() {
|
|
7686
|
-
return this.setDeclare(undefined);
|
|
7687
|
-
};
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
/**
|
|
7691
|
-
* Returns whether this field is set.
|
|
7692
|
-
* @return {boolean}
|
|
7693
|
-
*/
|
|
7694
|
-
proto.ocap.TransactionConfig.prototype.hasDeclare = function() {
|
|
7695
|
-
return jspb.Message.getField(this, 5) != null;
|
|
7696
|
-
};
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
/**
|
|
7700
|
-
* optional DelegateConfig delegate = 6;
|
|
7532
|
+
* optional DelegateConfig delegate = 4;
|
|
7701
7533
|
* @return {?proto.ocap.DelegateConfig}
|
|
7702
7534
|
*/
|
|
7703
7535
|
proto.ocap.TransactionConfig.prototype.getDelegate = function() {
|
|
7704
7536
|
return /** @type{?proto.ocap.DelegateConfig} */ (
|
|
7705
|
-
jspb.Message.getWrapperField(this, proto.ocap.DelegateConfig,
|
|
7537
|
+
jspb.Message.getWrapperField(this, proto.ocap.DelegateConfig, 4));
|
|
7706
7538
|
};
|
|
7707
7539
|
|
|
7708
7540
|
|
|
@@ -7711,7 +7543,7 @@ proto.ocap.TransactionConfig.prototype.getDelegate = function() {
|
|
|
7711
7543
|
* @return {!proto.ocap.TransactionConfig} returns this
|
|
7712
7544
|
*/
|
|
7713
7545
|
proto.ocap.TransactionConfig.prototype.setDelegate = function(value) {
|
|
7714
|
-
return jspb.Message.setWrapperField(this,
|
|
7546
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
7715
7547
|
};
|
|
7716
7548
|
|
|
7717
7549
|
|
|
@@ -7729,44 +7561,45 @@ proto.ocap.TransactionConfig.prototype.clearDelegate = function() {
|
|
|
7729
7561
|
* @return {boolean}
|
|
7730
7562
|
*/
|
|
7731
7563
|
proto.ocap.TransactionConfig.prototype.hasDelegate = function() {
|
|
7732
|
-
return jspb.Message.getField(this,
|
|
7564
|
+
return jspb.Message.getField(this, 4) != null;
|
|
7733
7565
|
};
|
|
7734
7566
|
|
|
7735
7567
|
|
|
7736
7568
|
/**
|
|
7737
|
-
*
|
|
7738
|
-
* @return {
|
|
7569
|
+
* repeated TxFeeConfig tx_fee = 5;
|
|
7570
|
+
* @return {!Array<!proto.ocap.TxFeeConfig>}
|
|
7739
7571
|
*/
|
|
7740
|
-
proto.ocap.TransactionConfig.prototype.
|
|
7741
|
-
return /** @type{
|
|
7742
|
-
jspb.Message.
|
|
7572
|
+
proto.ocap.TransactionConfig.prototype.getTxFeeList = function() {
|
|
7573
|
+
return /** @type{!Array<!proto.ocap.TxFeeConfig>} */ (
|
|
7574
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ocap.TxFeeConfig, 5));
|
|
7743
7575
|
};
|
|
7744
7576
|
|
|
7745
7577
|
|
|
7746
7578
|
/**
|
|
7747
|
-
* @param {
|
|
7579
|
+
* @param {!Array<!proto.ocap.TxFeeConfig>} value
|
|
7748
7580
|
* @return {!proto.ocap.TransactionConfig} returns this
|
|
7749
7581
|
*/
|
|
7750
|
-
proto.ocap.TransactionConfig.prototype.
|
|
7751
|
-
return jspb.Message.
|
|
7582
|
+
proto.ocap.TransactionConfig.prototype.setTxFeeList = function(value) {
|
|
7583
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
7752
7584
|
};
|
|
7753
7585
|
|
|
7754
7586
|
|
|
7755
7587
|
/**
|
|
7756
|
-
*
|
|
7757
|
-
* @
|
|
7588
|
+
* @param {!proto.ocap.TxFeeConfig=} opt_value
|
|
7589
|
+
* @param {number=} opt_index
|
|
7590
|
+
* @return {!proto.ocap.TxFeeConfig}
|
|
7758
7591
|
*/
|
|
7759
|
-
proto.ocap.TransactionConfig.prototype.
|
|
7760
|
-
return this.
|
|
7592
|
+
proto.ocap.TransactionConfig.prototype.addTxFee = function(opt_value, opt_index) {
|
|
7593
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.ocap.TxFeeConfig, opt_index);
|
|
7761
7594
|
};
|
|
7762
7595
|
|
|
7763
7596
|
|
|
7764
7597
|
/**
|
|
7765
|
-
*
|
|
7766
|
-
* @return {
|
|
7598
|
+
* Clears the list making it empty but non-null.
|
|
7599
|
+
* @return {!proto.ocap.TransactionConfig} returns this
|
|
7767
7600
|
*/
|
|
7768
|
-
proto.ocap.TransactionConfig.prototype.
|
|
7769
|
-
return
|
|
7601
|
+
proto.ocap.TransactionConfig.prototype.clearTxFeeList = function() {
|
|
7602
|
+
return this.setTxFeeList([]);
|
|
7770
7603
|
};
|
|
7771
7604
|
|
|
7772
7605
|
|
|
@@ -11075,166 +10908,6 @@ proto.ocap.StakeSummary.prototype.hasContext = function() {
|
|
|
11075
10908
|
|
|
11076
10909
|
|
|
11077
10910
|
|
|
11078
|
-
|
|
11079
|
-
|
|
11080
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11081
|
-
/**
|
|
11082
|
-
* Creates an object representation of this proto.
|
|
11083
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11084
|
-
* Optional fields that are not set will be set to undefined.
|
|
11085
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11086
|
-
* For the list of reserved names please see:
|
|
11087
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11088
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11089
|
-
* JSPB instance for transitional soy proto support:
|
|
11090
|
-
* http://goto/soy-param-migration
|
|
11091
|
-
* @return {!Object}
|
|
11092
|
-
*/
|
|
11093
|
-
proto.ocap.StakeConfig.prototype.toObject = function(opt_includeInstance) {
|
|
11094
|
-
return proto.ocap.StakeConfig.toObject(opt_includeInstance, this);
|
|
11095
|
-
};
|
|
11096
|
-
|
|
11097
|
-
|
|
11098
|
-
/**
|
|
11099
|
-
* Static version of the {@see toObject} method.
|
|
11100
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11101
|
-
* the JSPB instance for transitional soy proto support:
|
|
11102
|
-
* http://goto/soy-param-migration
|
|
11103
|
-
* @param {!proto.ocap.StakeConfig} msg The msg instance to transform.
|
|
11104
|
-
* @return {!Object}
|
|
11105
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11106
|
-
*/
|
|
11107
|
-
proto.ocap.StakeConfig.toObject = function(includeInstance, msg) {
|
|
11108
|
-
var f, obj = {
|
|
11109
|
-
timeoutGeneral: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
11110
|
-
timeoutStakeForNode: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
11111
|
-
};
|
|
11112
|
-
|
|
11113
|
-
if (includeInstance) {
|
|
11114
|
-
obj.$jspbMessageInstance = msg;
|
|
11115
|
-
}
|
|
11116
|
-
return obj;
|
|
11117
|
-
};
|
|
11118
|
-
}
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
/**
|
|
11122
|
-
* Deserializes binary data (in protobuf wire format).
|
|
11123
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11124
|
-
* @return {!proto.ocap.StakeConfig}
|
|
11125
|
-
*/
|
|
11126
|
-
proto.ocap.StakeConfig.deserializeBinary = function(bytes) {
|
|
11127
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
11128
|
-
var msg = new proto.ocap.StakeConfig;
|
|
11129
|
-
return proto.ocap.StakeConfig.deserializeBinaryFromReader(msg, reader);
|
|
11130
|
-
};
|
|
11131
|
-
|
|
11132
|
-
|
|
11133
|
-
/**
|
|
11134
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
11135
|
-
* given reader into the given message object.
|
|
11136
|
-
* @param {!proto.ocap.StakeConfig} msg The message object to deserialize into.
|
|
11137
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11138
|
-
* @return {!proto.ocap.StakeConfig}
|
|
11139
|
-
*/
|
|
11140
|
-
proto.ocap.StakeConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
11141
|
-
while (reader.nextField()) {
|
|
11142
|
-
if (reader.isEndGroup()) {
|
|
11143
|
-
break;
|
|
11144
|
-
}
|
|
11145
|
-
var field = reader.getFieldNumber();
|
|
11146
|
-
switch (field) {
|
|
11147
|
-
case 1:
|
|
11148
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
11149
|
-
msg.setTimeoutGeneral(value);
|
|
11150
|
-
break;
|
|
11151
|
-
case 2:
|
|
11152
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
11153
|
-
msg.setTimeoutStakeForNode(value);
|
|
11154
|
-
break;
|
|
11155
|
-
default:
|
|
11156
|
-
reader.skipField();
|
|
11157
|
-
break;
|
|
11158
|
-
}
|
|
11159
|
-
}
|
|
11160
|
-
return msg;
|
|
11161
|
-
};
|
|
11162
|
-
|
|
11163
|
-
|
|
11164
|
-
/**
|
|
11165
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
11166
|
-
* @return {!Uint8Array}
|
|
11167
|
-
*/
|
|
11168
|
-
proto.ocap.StakeConfig.prototype.serializeBinary = function() {
|
|
11169
|
-
var writer = new jspb.BinaryWriter();
|
|
11170
|
-
proto.ocap.StakeConfig.serializeBinaryToWriter(this, writer);
|
|
11171
|
-
return writer.getResultBuffer();
|
|
11172
|
-
};
|
|
11173
|
-
|
|
11174
|
-
|
|
11175
|
-
/**
|
|
11176
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
11177
|
-
* format), writing to the given BinaryWriter.
|
|
11178
|
-
* @param {!proto.ocap.StakeConfig} message
|
|
11179
|
-
* @param {!jspb.BinaryWriter} writer
|
|
11180
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11181
|
-
*/
|
|
11182
|
-
proto.ocap.StakeConfig.serializeBinaryToWriter = function(message, writer) {
|
|
11183
|
-
var f = undefined;
|
|
11184
|
-
f = message.getTimeoutGeneral();
|
|
11185
|
-
if (f !== 0) {
|
|
11186
|
-
writer.writeUint32(
|
|
11187
|
-
1,
|
|
11188
|
-
f
|
|
11189
|
-
);
|
|
11190
|
-
}
|
|
11191
|
-
f = message.getTimeoutStakeForNode();
|
|
11192
|
-
if (f !== 0) {
|
|
11193
|
-
writer.writeUint32(
|
|
11194
|
-
2,
|
|
11195
|
-
f
|
|
11196
|
-
);
|
|
11197
|
-
}
|
|
11198
|
-
};
|
|
11199
|
-
|
|
11200
|
-
|
|
11201
|
-
/**
|
|
11202
|
-
* optional uint32 timeout_general = 1;
|
|
11203
|
-
* @return {number}
|
|
11204
|
-
*/
|
|
11205
|
-
proto.ocap.StakeConfig.prototype.getTimeoutGeneral = function() {
|
|
11206
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
11207
|
-
};
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
/**
|
|
11211
|
-
* @param {number} value
|
|
11212
|
-
* @return {!proto.ocap.StakeConfig} returns this
|
|
11213
|
-
*/
|
|
11214
|
-
proto.ocap.StakeConfig.prototype.setTimeoutGeneral = function(value) {
|
|
11215
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
11216
|
-
};
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
/**
|
|
11220
|
-
* optional uint32 timeout_stake_for_node = 2;
|
|
11221
|
-
* @return {number}
|
|
11222
|
-
*/
|
|
11223
|
-
proto.ocap.StakeConfig.prototype.getTimeoutStakeForNode = function() {
|
|
11224
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
11225
|
-
};
|
|
11226
|
-
|
|
11227
|
-
|
|
11228
|
-
/**
|
|
11229
|
-
* @param {number} value
|
|
11230
|
-
* @return {!proto.ocap.StakeConfig} returns this
|
|
11231
|
-
*/
|
|
11232
|
-
proto.ocap.StakeConfig.prototype.setTimeoutStakeForNode = function(value) {
|
|
11233
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
11234
|
-
};
|
|
11235
|
-
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
10911
|
/**
|
|
11239
10912
|
* List of repeated fields within this message type.
|
|
11240
10913
|
* @private {!Array<number>}
|
|
@@ -15423,298 +15096,6 @@ proto.ocap.AccountConfig.prototype.hasBalance = function() {
|
|
|
15423
15096
|
|
|
15424
15097
|
|
|
15425
15098
|
|
|
15426
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15427
|
-
/**
|
|
15428
|
-
* Creates an object representation of this proto.
|
|
15429
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15430
|
-
* Optional fields that are not set will be set to undefined.
|
|
15431
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15432
|
-
* For the list of reserved names please see:
|
|
15433
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15434
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15435
|
-
* JSPB instance for transitional soy proto support:
|
|
15436
|
-
* http://goto/soy-param-migration
|
|
15437
|
-
* @return {!Object}
|
|
15438
|
-
*/
|
|
15439
|
-
proto.ocap.TokenSwapConfig.prototype.toObject = function(opt_includeInstance) {
|
|
15440
|
-
return proto.ocap.TokenSwapConfig.toObject(opt_includeInstance, this);
|
|
15441
|
-
};
|
|
15442
|
-
|
|
15443
|
-
|
|
15444
|
-
/**
|
|
15445
|
-
* Static version of the {@see toObject} method.
|
|
15446
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15447
|
-
* the JSPB instance for transitional soy proto support:
|
|
15448
|
-
* http://goto/soy-param-migration
|
|
15449
|
-
* @param {!proto.ocap.TokenSwapConfig} msg The msg instance to transform.
|
|
15450
|
-
* @return {!Object}
|
|
15451
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15452
|
-
*/
|
|
15453
|
-
proto.ocap.TokenSwapConfig.toObject = function(includeInstance, msg) {
|
|
15454
|
-
var f, obj = {
|
|
15455
|
-
commissionHolderAddress: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15456
|
-
commissionRate: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
15457
|
-
revokeCommissionRate: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
15458
|
-
minCommission: (f = msg.getMinCommission()) && proto.ocap.BigUint.toObject(includeInstance, f),
|
|
15459
|
-
maxCommission: (f = msg.getMaxCommission()) && proto.ocap.BigUint.toObject(includeInstance, f)
|
|
15460
|
-
};
|
|
15461
|
-
|
|
15462
|
-
if (includeInstance) {
|
|
15463
|
-
obj.$jspbMessageInstance = msg;
|
|
15464
|
-
}
|
|
15465
|
-
return obj;
|
|
15466
|
-
};
|
|
15467
|
-
}
|
|
15468
|
-
|
|
15469
|
-
|
|
15470
|
-
/**
|
|
15471
|
-
* Deserializes binary data (in protobuf wire format).
|
|
15472
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15473
|
-
* @return {!proto.ocap.TokenSwapConfig}
|
|
15474
|
-
*/
|
|
15475
|
-
proto.ocap.TokenSwapConfig.deserializeBinary = function(bytes) {
|
|
15476
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
15477
|
-
var msg = new proto.ocap.TokenSwapConfig;
|
|
15478
|
-
return proto.ocap.TokenSwapConfig.deserializeBinaryFromReader(msg, reader);
|
|
15479
|
-
};
|
|
15480
|
-
|
|
15481
|
-
|
|
15482
|
-
/**
|
|
15483
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
15484
|
-
* given reader into the given message object.
|
|
15485
|
-
* @param {!proto.ocap.TokenSwapConfig} msg The message object to deserialize into.
|
|
15486
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15487
|
-
* @return {!proto.ocap.TokenSwapConfig}
|
|
15488
|
-
*/
|
|
15489
|
-
proto.ocap.TokenSwapConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
15490
|
-
while (reader.nextField()) {
|
|
15491
|
-
if (reader.isEndGroup()) {
|
|
15492
|
-
break;
|
|
15493
|
-
}
|
|
15494
|
-
var field = reader.getFieldNumber();
|
|
15495
|
-
switch (field) {
|
|
15496
|
-
case 1:
|
|
15497
|
-
var value = /** @type {string} */ (reader.readString());
|
|
15498
|
-
msg.setCommissionHolderAddress(value);
|
|
15499
|
-
break;
|
|
15500
|
-
case 4:
|
|
15501
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
15502
|
-
msg.setCommissionRate(value);
|
|
15503
|
-
break;
|
|
15504
|
-
case 5:
|
|
15505
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
15506
|
-
msg.setRevokeCommissionRate(value);
|
|
15507
|
-
break;
|
|
15508
|
-
case 6:
|
|
15509
|
-
var value = new proto.ocap.BigUint;
|
|
15510
|
-
reader.readMessage(value,proto.ocap.BigUint.deserializeBinaryFromReader);
|
|
15511
|
-
msg.setMinCommission(value);
|
|
15512
|
-
break;
|
|
15513
|
-
case 7:
|
|
15514
|
-
var value = new proto.ocap.BigUint;
|
|
15515
|
-
reader.readMessage(value,proto.ocap.BigUint.deserializeBinaryFromReader);
|
|
15516
|
-
msg.setMaxCommission(value);
|
|
15517
|
-
break;
|
|
15518
|
-
default:
|
|
15519
|
-
reader.skipField();
|
|
15520
|
-
break;
|
|
15521
|
-
}
|
|
15522
|
-
}
|
|
15523
|
-
return msg;
|
|
15524
|
-
};
|
|
15525
|
-
|
|
15526
|
-
|
|
15527
|
-
/**
|
|
15528
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
15529
|
-
* @return {!Uint8Array}
|
|
15530
|
-
*/
|
|
15531
|
-
proto.ocap.TokenSwapConfig.prototype.serializeBinary = function() {
|
|
15532
|
-
var writer = new jspb.BinaryWriter();
|
|
15533
|
-
proto.ocap.TokenSwapConfig.serializeBinaryToWriter(this, writer);
|
|
15534
|
-
return writer.getResultBuffer();
|
|
15535
|
-
};
|
|
15536
|
-
|
|
15537
|
-
|
|
15538
|
-
/**
|
|
15539
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
15540
|
-
* format), writing to the given BinaryWriter.
|
|
15541
|
-
* @param {!proto.ocap.TokenSwapConfig} message
|
|
15542
|
-
* @param {!jspb.BinaryWriter} writer
|
|
15543
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15544
|
-
*/
|
|
15545
|
-
proto.ocap.TokenSwapConfig.serializeBinaryToWriter = function(message, writer) {
|
|
15546
|
-
var f = undefined;
|
|
15547
|
-
f = message.getCommissionHolderAddress();
|
|
15548
|
-
if (f.length > 0) {
|
|
15549
|
-
writer.writeString(
|
|
15550
|
-
1,
|
|
15551
|
-
f
|
|
15552
|
-
);
|
|
15553
|
-
}
|
|
15554
|
-
f = message.getCommissionRate();
|
|
15555
|
-
if (f !== 0) {
|
|
15556
|
-
writer.writeUint32(
|
|
15557
|
-
4,
|
|
15558
|
-
f
|
|
15559
|
-
);
|
|
15560
|
-
}
|
|
15561
|
-
f = message.getRevokeCommissionRate();
|
|
15562
|
-
if (f !== 0) {
|
|
15563
|
-
writer.writeUint32(
|
|
15564
|
-
5,
|
|
15565
|
-
f
|
|
15566
|
-
);
|
|
15567
|
-
}
|
|
15568
|
-
f = message.getMinCommission();
|
|
15569
|
-
if (f != null) {
|
|
15570
|
-
writer.writeMessage(
|
|
15571
|
-
6,
|
|
15572
|
-
f,
|
|
15573
|
-
proto.ocap.BigUint.serializeBinaryToWriter
|
|
15574
|
-
);
|
|
15575
|
-
}
|
|
15576
|
-
f = message.getMaxCommission();
|
|
15577
|
-
if (f != null) {
|
|
15578
|
-
writer.writeMessage(
|
|
15579
|
-
7,
|
|
15580
|
-
f,
|
|
15581
|
-
proto.ocap.BigUint.serializeBinaryToWriter
|
|
15582
|
-
);
|
|
15583
|
-
}
|
|
15584
|
-
};
|
|
15585
|
-
|
|
15586
|
-
|
|
15587
|
-
/**
|
|
15588
|
-
* optional string commission_holder_address = 1;
|
|
15589
|
-
* @return {string}
|
|
15590
|
-
*/
|
|
15591
|
-
proto.ocap.TokenSwapConfig.prototype.getCommissionHolderAddress = function() {
|
|
15592
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
15593
|
-
};
|
|
15594
|
-
|
|
15595
|
-
|
|
15596
|
-
/**
|
|
15597
|
-
* @param {string} value
|
|
15598
|
-
* @return {!proto.ocap.TokenSwapConfig} returns this
|
|
15599
|
-
*/
|
|
15600
|
-
proto.ocap.TokenSwapConfig.prototype.setCommissionHolderAddress = function(value) {
|
|
15601
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
15602
|
-
};
|
|
15603
|
-
|
|
15604
|
-
|
|
15605
|
-
/**
|
|
15606
|
-
* optional uint32 commission_rate = 4;
|
|
15607
|
-
* @return {number}
|
|
15608
|
-
*/
|
|
15609
|
-
proto.ocap.TokenSwapConfig.prototype.getCommissionRate = function() {
|
|
15610
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
15611
|
-
};
|
|
15612
|
-
|
|
15613
|
-
|
|
15614
|
-
/**
|
|
15615
|
-
* @param {number} value
|
|
15616
|
-
* @return {!proto.ocap.TokenSwapConfig} returns this
|
|
15617
|
-
*/
|
|
15618
|
-
proto.ocap.TokenSwapConfig.prototype.setCommissionRate = function(value) {
|
|
15619
|
-
return jspb.Message.setProto3IntField(this, 4, value);
|
|
15620
|
-
};
|
|
15621
|
-
|
|
15622
|
-
|
|
15623
|
-
/**
|
|
15624
|
-
* optional uint32 revoke_commission_rate = 5;
|
|
15625
|
-
* @return {number}
|
|
15626
|
-
*/
|
|
15627
|
-
proto.ocap.TokenSwapConfig.prototype.getRevokeCommissionRate = function() {
|
|
15628
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
15629
|
-
};
|
|
15630
|
-
|
|
15631
|
-
|
|
15632
|
-
/**
|
|
15633
|
-
* @param {number} value
|
|
15634
|
-
* @return {!proto.ocap.TokenSwapConfig} returns this
|
|
15635
|
-
*/
|
|
15636
|
-
proto.ocap.TokenSwapConfig.prototype.setRevokeCommissionRate = function(value) {
|
|
15637
|
-
return jspb.Message.setProto3IntField(this, 5, value);
|
|
15638
|
-
};
|
|
15639
|
-
|
|
15640
|
-
|
|
15641
|
-
/**
|
|
15642
|
-
* optional BigUint min_commission = 6;
|
|
15643
|
-
* @return {?proto.ocap.BigUint}
|
|
15644
|
-
*/
|
|
15645
|
-
proto.ocap.TokenSwapConfig.prototype.getMinCommission = function() {
|
|
15646
|
-
return /** @type{?proto.ocap.BigUint} */ (
|
|
15647
|
-
jspb.Message.getWrapperField(this, proto.ocap.BigUint, 6));
|
|
15648
|
-
};
|
|
15649
|
-
|
|
15650
|
-
|
|
15651
|
-
/**
|
|
15652
|
-
* @param {?proto.ocap.BigUint|undefined} value
|
|
15653
|
-
* @return {!proto.ocap.TokenSwapConfig} returns this
|
|
15654
|
-
*/
|
|
15655
|
-
proto.ocap.TokenSwapConfig.prototype.setMinCommission = function(value) {
|
|
15656
|
-
return jspb.Message.setWrapperField(this, 6, value);
|
|
15657
|
-
};
|
|
15658
|
-
|
|
15659
|
-
|
|
15660
|
-
/**
|
|
15661
|
-
* Clears the message field making it undefined.
|
|
15662
|
-
* @return {!proto.ocap.TokenSwapConfig} returns this
|
|
15663
|
-
*/
|
|
15664
|
-
proto.ocap.TokenSwapConfig.prototype.clearMinCommission = function() {
|
|
15665
|
-
return this.setMinCommission(undefined);
|
|
15666
|
-
};
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
-
/**
|
|
15670
|
-
* Returns whether this field is set.
|
|
15671
|
-
* @return {boolean}
|
|
15672
|
-
*/
|
|
15673
|
-
proto.ocap.TokenSwapConfig.prototype.hasMinCommission = function() {
|
|
15674
|
-
return jspb.Message.getField(this, 6) != null;
|
|
15675
|
-
};
|
|
15676
|
-
|
|
15677
|
-
|
|
15678
|
-
/**
|
|
15679
|
-
* optional BigUint max_commission = 7;
|
|
15680
|
-
* @return {?proto.ocap.BigUint}
|
|
15681
|
-
*/
|
|
15682
|
-
proto.ocap.TokenSwapConfig.prototype.getMaxCommission = function() {
|
|
15683
|
-
return /** @type{?proto.ocap.BigUint} */ (
|
|
15684
|
-
jspb.Message.getWrapperField(this, proto.ocap.BigUint, 7));
|
|
15685
|
-
};
|
|
15686
|
-
|
|
15687
|
-
|
|
15688
|
-
/**
|
|
15689
|
-
* @param {?proto.ocap.BigUint|undefined} value
|
|
15690
|
-
* @return {!proto.ocap.TokenSwapConfig} returns this
|
|
15691
|
-
*/
|
|
15692
|
-
proto.ocap.TokenSwapConfig.prototype.setMaxCommission = function(value) {
|
|
15693
|
-
return jspb.Message.setWrapperField(this, 7, value);
|
|
15694
|
-
};
|
|
15695
|
-
|
|
15696
|
-
|
|
15697
|
-
/**
|
|
15698
|
-
* Clears the message field making it undefined.
|
|
15699
|
-
* @return {!proto.ocap.TokenSwapConfig} returns this
|
|
15700
|
-
*/
|
|
15701
|
-
proto.ocap.TokenSwapConfig.prototype.clearMaxCommission = function() {
|
|
15702
|
-
return this.setMaxCommission(undefined);
|
|
15703
|
-
};
|
|
15704
|
-
|
|
15705
|
-
|
|
15706
|
-
/**
|
|
15707
|
-
* Returns whether this field is set.
|
|
15708
|
-
* @return {boolean}
|
|
15709
|
-
*/
|
|
15710
|
-
proto.ocap.TokenSwapConfig.prototype.hasMaxCommission = function() {
|
|
15711
|
-
return jspb.Message.getField(this, 7) != null;
|
|
15712
|
-
};
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
|
|
15716
|
-
|
|
15717
|
-
|
|
15718
15099
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15719
15100
|
/**
|
|
15720
15101
|
* Creates an object representation of this proto.
|