@miradorlabs/web-grpc 2.5.0 → 2.7.0
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/package.json +1 -1
- package/proto/gateway/web/v1/log_gateway.ts +64 -0
- package/proto/gateway/web/v1/log_gateway_pb.js +112 -1
- package/proto/gateway/web/v1/metric_gateway.ts +174 -2
- package/proto/gateway/web/v1/metric_gateway_pb.js +251 -3
- package/proto/gateway/web/v1/trace_gateway.ts +218 -0
- package/proto/gateway/web/v1/trace_gateway_pb.js +400 -5
|
@@ -91,6 +91,7 @@ goog.exportSymbol('proto.gateway.web.v1.SafeTxExecuted', null, global);
|
|
|
91
91
|
goog.exportSymbol('proto.gateway.web.v1.SafeTxFound', null, global);
|
|
92
92
|
goog.exportSymbol('proto.gateway.web.v1.SafeTxHintAdded', null, global);
|
|
93
93
|
goog.exportSymbol('proto.gateway.web.v1.SafeTxNotFound', null, global);
|
|
94
|
+
goog.exportSymbol('proto.gateway.web.v1.SafeTxSuperseded', null, global);
|
|
94
95
|
goog.exportSymbol('proto.gateway.web.v1.SafeTxTrackingFinished', null, global);
|
|
95
96
|
goog.exportSymbol('proto.gateway.web.v1.SafeTxTrackingFinished.SafeTxHintStatus', null, global);
|
|
96
97
|
goog.exportSymbol('proto.gateway.web.v1.SafeTxTrackingStarted', null, global);
|
|
@@ -1509,6 +1510,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1509
1510
|
*/
|
|
1510
1511
|
proto.gateway.web.v1.SafeTxNotFound.displayName = 'proto.gateway.web.v1.SafeTxNotFound';
|
|
1511
1512
|
}
|
|
1513
|
+
/**
|
|
1514
|
+
* Generated by JsPbCodeGenerator.
|
|
1515
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1516
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1517
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1518
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1519
|
+
* valid.
|
|
1520
|
+
* @extends {jspb.Message}
|
|
1521
|
+
* @constructor
|
|
1522
|
+
*/
|
|
1523
|
+
proto.gateway.web.v1.SafeTxSuperseded = function(opt_data) {
|
|
1524
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1525
|
+
};
|
|
1526
|
+
goog.inherits(proto.gateway.web.v1.SafeTxSuperseded, jspb.Message);
|
|
1527
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1528
|
+
/**
|
|
1529
|
+
* @public
|
|
1530
|
+
* @override
|
|
1531
|
+
*/
|
|
1532
|
+
proto.gateway.web.v1.SafeTxSuperseded.displayName = 'proto.gateway.web.v1.SafeTxSuperseded';
|
|
1533
|
+
}
|
|
1512
1534
|
/**
|
|
1513
1535
|
* Generated by JsPbCodeGenerator.
|
|
1514
1536
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9619,7 +9641,7 @@ proto.gateway.web.v1.RuleMatch.prototype.hasMatchedAt = function() {
|
|
|
9619
9641
|
* @private {!Array<!Array<number>>}
|
|
9620
9642
|
* @const
|
|
9621
9643
|
*/
|
|
9622
|
-
proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_ = [[20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72]];
|
|
9644
|
+
proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_ = [[20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73]];
|
|
9623
9645
|
|
|
9624
9646
|
/**
|
|
9625
9647
|
* @enum {number}
|
|
@@ -9675,7 +9697,8 @@ proto.gateway.web.v1.TraceEventEnvelope.PayloadCase = {
|
|
|
9675
9697
|
STRIPE_PAYMENT_SUCCEEDED: 69,
|
|
9676
9698
|
STRIPE_FUNDS_AVAILABLE: 70,
|
|
9677
9699
|
STRIPE_PAYOUT_PAID: 71,
|
|
9678
|
-
STRIPE_TRACKING_FINISHED: 72
|
|
9700
|
+
STRIPE_TRACKING_FINISHED: 72,
|
|
9701
|
+
SAFE_TX_SUPERSEDED: 73
|
|
9679
9702
|
};
|
|
9680
9703
|
|
|
9681
9704
|
/**
|
|
@@ -9777,7 +9800,8 @@ stripeTrackingStarted: (f = msg.getStripeTrackingStarted()) && proto.gateway.web
|
|
|
9777
9800
|
stripePaymentSucceeded: (f = msg.getStripePaymentSucceeded()) && proto.gateway.web.v1.StripePaymentSucceeded.toObject(includeInstance, f),
|
|
9778
9801
|
stripeFundsAvailable: (f = msg.getStripeFundsAvailable()) && proto.gateway.web.v1.StripeFundsAvailable.toObject(includeInstance, f),
|
|
9779
9802
|
stripePayoutPaid: (f = msg.getStripePayoutPaid()) && proto.gateway.web.v1.StripePayoutPaid.toObject(includeInstance, f),
|
|
9780
|
-
stripeTrackingFinished: (f = msg.getStripeTrackingFinished()) && proto.gateway.web.v1.StripeTrackingFinished.toObject(includeInstance, f)
|
|
9803
|
+
stripeTrackingFinished: (f = msg.getStripeTrackingFinished()) && proto.gateway.web.v1.StripeTrackingFinished.toObject(includeInstance, f),
|
|
9804
|
+
safeTxSuperseded: (f = msg.getSafeTxSuperseded()) && proto.gateway.web.v1.SafeTxSuperseded.toObject(includeInstance, f)
|
|
9781
9805
|
};
|
|
9782
9806
|
|
|
9783
9807
|
if (includeInstance) {
|
|
@@ -10114,6 +10138,11 @@ proto.gateway.web.v1.TraceEventEnvelope.deserializeBinaryFromReader = function(m
|
|
|
10114
10138
|
reader.readMessage(value,proto.gateway.web.v1.StripeTrackingFinished.deserializeBinaryFromReader);
|
|
10115
10139
|
msg.setStripeTrackingFinished(value);
|
|
10116
10140
|
break;
|
|
10141
|
+
case 73:
|
|
10142
|
+
var value = new proto.gateway.web.v1.SafeTxSuperseded;
|
|
10143
|
+
reader.readMessage(value,proto.gateway.web.v1.SafeTxSuperseded.deserializeBinaryFromReader);
|
|
10144
|
+
msg.setSafeTxSuperseded(value);
|
|
10145
|
+
break;
|
|
10117
10146
|
default:
|
|
10118
10147
|
reader.skipField();
|
|
10119
10148
|
break;
|
|
@@ -10629,6 +10658,14 @@ proto.gateway.web.v1.TraceEventEnvelope.serializeBinaryToWriter = function(messa
|
|
|
10629
10658
|
proto.gateway.web.v1.StripeTrackingFinished.serializeBinaryToWriter
|
|
10630
10659
|
);
|
|
10631
10660
|
}
|
|
10661
|
+
f = message.getSafeTxSuperseded();
|
|
10662
|
+
if (f != null) {
|
|
10663
|
+
writer.writeMessage(
|
|
10664
|
+
73,
|
|
10665
|
+
f,
|
|
10666
|
+
proto.gateway.web.v1.SafeTxSuperseded.serializeBinaryToWriter
|
|
10667
|
+
);
|
|
10668
|
+
}
|
|
10632
10669
|
};
|
|
10633
10670
|
|
|
10634
10671
|
|
|
@@ -12736,6 +12773,43 @@ proto.gateway.web.v1.TraceEventEnvelope.prototype.hasStripeTrackingFinished = fu
|
|
|
12736
12773
|
};
|
|
12737
12774
|
|
|
12738
12775
|
|
|
12776
|
+
/**
|
|
12777
|
+
* optional SafeTxSuperseded safe_tx_superseded = 73;
|
|
12778
|
+
* @return {?proto.gateway.web.v1.SafeTxSuperseded}
|
|
12779
|
+
*/
|
|
12780
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getSafeTxSuperseded = function() {
|
|
12781
|
+
return /** @type{?proto.gateway.web.v1.SafeTxSuperseded} */ (
|
|
12782
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.SafeTxSuperseded, 73));
|
|
12783
|
+
};
|
|
12784
|
+
|
|
12785
|
+
|
|
12786
|
+
/**
|
|
12787
|
+
* @param {?proto.gateway.web.v1.SafeTxSuperseded|undefined} value
|
|
12788
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12789
|
+
*/
|
|
12790
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setSafeTxSuperseded = function(value) {
|
|
12791
|
+
return jspb.Message.setOneofWrapperField(this, 73, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
|
|
12792
|
+
};
|
|
12793
|
+
|
|
12794
|
+
|
|
12795
|
+
/**
|
|
12796
|
+
* Clears the message field making it undefined.
|
|
12797
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12798
|
+
*/
|
|
12799
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.clearSafeTxSuperseded = function() {
|
|
12800
|
+
return this.setSafeTxSuperseded(undefined);
|
|
12801
|
+
};
|
|
12802
|
+
|
|
12803
|
+
|
|
12804
|
+
/**
|
|
12805
|
+
* Returns whether this field is set.
|
|
12806
|
+
* @return {boolean}
|
|
12807
|
+
*/
|
|
12808
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.hasSafeTxSuperseded = function() {
|
|
12809
|
+
return jspb.Message.getField(this, 73) != null;
|
|
12810
|
+
};
|
|
12811
|
+
|
|
12812
|
+
|
|
12739
12813
|
|
|
12740
12814
|
|
|
12741
12815
|
|
|
@@ -22982,6 +23056,325 @@ proto.gateway.web.v1.SafeTxNotFound.prototype.hasMessage = function() {
|
|
|
22982
23056
|
|
|
22983
23057
|
|
|
22984
23058
|
|
|
23059
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23060
|
+
/**
|
|
23061
|
+
* Creates an object representation of this proto.
|
|
23062
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23063
|
+
* Optional fields that are not set will be set to undefined.
|
|
23064
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23065
|
+
* For the list of reserved names please see:
|
|
23066
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23067
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23068
|
+
* JSPB instance for transitional soy proto support:
|
|
23069
|
+
* http://goto/soy-param-migration
|
|
23070
|
+
* @return {!Object}
|
|
23071
|
+
*/
|
|
23072
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.toObject = function(opt_includeInstance) {
|
|
23073
|
+
return proto.gateway.web.v1.SafeTxSuperseded.toObject(opt_includeInstance, this);
|
|
23074
|
+
};
|
|
23075
|
+
|
|
23076
|
+
|
|
23077
|
+
/**
|
|
23078
|
+
* Static version of the {@see toObject} method.
|
|
23079
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23080
|
+
* the JSPB instance for transitional soy proto support:
|
|
23081
|
+
* http://goto/soy-param-migration
|
|
23082
|
+
* @param {!proto.gateway.web.v1.SafeTxSuperseded} msg The msg instance to transform.
|
|
23083
|
+
* @return {!Object}
|
|
23084
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23085
|
+
*/
|
|
23086
|
+
proto.gateway.web.v1.SafeTxSuperseded.toObject = function(includeInstance, msg) {
|
|
23087
|
+
var f, obj = {
|
|
23088
|
+
pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
23089
|
+
safeTxHash: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23090
|
+
chainDetails: (f = msg.getChainDetails()) && proto_gateway_common_v1_types_pb.ChainDetails.toObject(includeInstance, f),
|
|
23091
|
+
message: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
|
|
23092
|
+
proposalNonce: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
23093
|
+
onChainNonce: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
23094
|
+
};
|
|
23095
|
+
|
|
23096
|
+
if (includeInstance) {
|
|
23097
|
+
obj.$jspbMessageInstance = msg;
|
|
23098
|
+
}
|
|
23099
|
+
return obj;
|
|
23100
|
+
};
|
|
23101
|
+
}
|
|
23102
|
+
|
|
23103
|
+
|
|
23104
|
+
/**
|
|
23105
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23106
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23107
|
+
* @return {!proto.gateway.web.v1.SafeTxSuperseded}
|
|
23108
|
+
*/
|
|
23109
|
+
proto.gateway.web.v1.SafeTxSuperseded.deserializeBinary = function(bytes) {
|
|
23110
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23111
|
+
var msg = new proto.gateway.web.v1.SafeTxSuperseded;
|
|
23112
|
+
return proto.gateway.web.v1.SafeTxSuperseded.deserializeBinaryFromReader(msg, reader);
|
|
23113
|
+
};
|
|
23114
|
+
|
|
23115
|
+
|
|
23116
|
+
/**
|
|
23117
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23118
|
+
* given reader into the given message object.
|
|
23119
|
+
* @param {!proto.gateway.web.v1.SafeTxSuperseded} msg The message object to deserialize into.
|
|
23120
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23121
|
+
* @return {!proto.gateway.web.v1.SafeTxSuperseded}
|
|
23122
|
+
*/
|
|
23123
|
+
proto.gateway.web.v1.SafeTxSuperseded.deserializeBinaryFromReader = function(msg, reader) {
|
|
23124
|
+
while (reader.nextField()) {
|
|
23125
|
+
if (reader.isEndGroup()) {
|
|
23126
|
+
break;
|
|
23127
|
+
}
|
|
23128
|
+
var field = reader.getFieldNumber();
|
|
23129
|
+
switch (field) {
|
|
23130
|
+
case 1:
|
|
23131
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23132
|
+
msg.setPluginCorrelationId(value);
|
|
23133
|
+
break;
|
|
23134
|
+
case 2:
|
|
23135
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23136
|
+
msg.setSafeTxHash(value);
|
|
23137
|
+
break;
|
|
23138
|
+
case 3:
|
|
23139
|
+
var value = new proto_gateway_common_v1_types_pb.ChainDetails;
|
|
23140
|
+
reader.readMessage(value,proto_gateway_common_v1_types_pb.ChainDetails.deserializeBinaryFromReader);
|
|
23141
|
+
msg.setChainDetails(value);
|
|
23142
|
+
break;
|
|
23143
|
+
case 4:
|
|
23144
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23145
|
+
msg.setMessage(value);
|
|
23146
|
+
break;
|
|
23147
|
+
case 5:
|
|
23148
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23149
|
+
msg.setProposalNonce(value);
|
|
23150
|
+
break;
|
|
23151
|
+
case 6:
|
|
23152
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
23153
|
+
msg.setOnChainNonce(value);
|
|
23154
|
+
break;
|
|
23155
|
+
default:
|
|
23156
|
+
reader.skipField();
|
|
23157
|
+
break;
|
|
23158
|
+
}
|
|
23159
|
+
}
|
|
23160
|
+
return msg;
|
|
23161
|
+
};
|
|
23162
|
+
|
|
23163
|
+
|
|
23164
|
+
/**
|
|
23165
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23166
|
+
* @return {!Uint8Array}
|
|
23167
|
+
*/
|
|
23168
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.serializeBinary = function() {
|
|
23169
|
+
var writer = new jspb.BinaryWriter();
|
|
23170
|
+
proto.gateway.web.v1.SafeTxSuperseded.serializeBinaryToWriter(this, writer);
|
|
23171
|
+
return writer.getResultBuffer();
|
|
23172
|
+
};
|
|
23173
|
+
|
|
23174
|
+
|
|
23175
|
+
/**
|
|
23176
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23177
|
+
* format), writing to the given BinaryWriter.
|
|
23178
|
+
* @param {!proto.gateway.web.v1.SafeTxSuperseded} message
|
|
23179
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23180
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23181
|
+
*/
|
|
23182
|
+
proto.gateway.web.v1.SafeTxSuperseded.serializeBinaryToWriter = function(message, writer) {
|
|
23183
|
+
var f = undefined;
|
|
23184
|
+
f = message.getPluginCorrelationId();
|
|
23185
|
+
if (f.length > 0) {
|
|
23186
|
+
writer.writeString(
|
|
23187
|
+
1,
|
|
23188
|
+
f
|
|
23189
|
+
);
|
|
23190
|
+
}
|
|
23191
|
+
f = message.getSafeTxHash();
|
|
23192
|
+
if (f.length > 0) {
|
|
23193
|
+
writer.writeString(
|
|
23194
|
+
2,
|
|
23195
|
+
f
|
|
23196
|
+
);
|
|
23197
|
+
}
|
|
23198
|
+
f = message.getChainDetails();
|
|
23199
|
+
if (f != null) {
|
|
23200
|
+
writer.writeMessage(
|
|
23201
|
+
3,
|
|
23202
|
+
f,
|
|
23203
|
+
proto_gateway_common_v1_types_pb.ChainDetails.serializeBinaryToWriter
|
|
23204
|
+
);
|
|
23205
|
+
}
|
|
23206
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
23207
|
+
if (f != null) {
|
|
23208
|
+
writer.writeString(
|
|
23209
|
+
4,
|
|
23210
|
+
f
|
|
23211
|
+
);
|
|
23212
|
+
}
|
|
23213
|
+
f = message.getProposalNonce();
|
|
23214
|
+
if (f !== 0) {
|
|
23215
|
+
writer.writeInt32(
|
|
23216
|
+
5,
|
|
23217
|
+
f
|
|
23218
|
+
);
|
|
23219
|
+
}
|
|
23220
|
+
f = message.getOnChainNonce();
|
|
23221
|
+
if (f !== 0) {
|
|
23222
|
+
writer.writeUint64(
|
|
23223
|
+
6,
|
|
23224
|
+
f
|
|
23225
|
+
);
|
|
23226
|
+
}
|
|
23227
|
+
};
|
|
23228
|
+
|
|
23229
|
+
|
|
23230
|
+
/**
|
|
23231
|
+
* optional string plugin_correlation_id = 1;
|
|
23232
|
+
* @return {string}
|
|
23233
|
+
*/
|
|
23234
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.getPluginCorrelationId = function() {
|
|
23235
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
23236
|
+
};
|
|
23237
|
+
|
|
23238
|
+
|
|
23239
|
+
/**
|
|
23240
|
+
* @param {string} value
|
|
23241
|
+
* @return {!proto.gateway.web.v1.SafeTxSuperseded} returns this
|
|
23242
|
+
*/
|
|
23243
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.setPluginCorrelationId = function(value) {
|
|
23244
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
23245
|
+
};
|
|
23246
|
+
|
|
23247
|
+
|
|
23248
|
+
/**
|
|
23249
|
+
* optional string safe_tx_hash = 2;
|
|
23250
|
+
* @return {string}
|
|
23251
|
+
*/
|
|
23252
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.getSafeTxHash = function() {
|
|
23253
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
23254
|
+
};
|
|
23255
|
+
|
|
23256
|
+
|
|
23257
|
+
/**
|
|
23258
|
+
* @param {string} value
|
|
23259
|
+
* @return {!proto.gateway.web.v1.SafeTxSuperseded} returns this
|
|
23260
|
+
*/
|
|
23261
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.setSafeTxHash = function(value) {
|
|
23262
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
23263
|
+
};
|
|
23264
|
+
|
|
23265
|
+
|
|
23266
|
+
/**
|
|
23267
|
+
* optional gateway.common.v1.ChainDetails chain_details = 3;
|
|
23268
|
+
* @return {?proto.gateway.common.v1.ChainDetails}
|
|
23269
|
+
*/
|
|
23270
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.getChainDetails = function() {
|
|
23271
|
+
return /** @type{?proto.gateway.common.v1.ChainDetails} */ (
|
|
23272
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_types_pb.ChainDetails, 3));
|
|
23273
|
+
};
|
|
23274
|
+
|
|
23275
|
+
|
|
23276
|
+
/**
|
|
23277
|
+
* @param {?proto.gateway.common.v1.ChainDetails|undefined} value
|
|
23278
|
+
* @return {!proto.gateway.web.v1.SafeTxSuperseded} returns this
|
|
23279
|
+
*/
|
|
23280
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.setChainDetails = function(value) {
|
|
23281
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
23282
|
+
};
|
|
23283
|
+
|
|
23284
|
+
|
|
23285
|
+
/**
|
|
23286
|
+
* Clears the message field making it undefined.
|
|
23287
|
+
* @return {!proto.gateway.web.v1.SafeTxSuperseded} returns this
|
|
23288
|
+
*/
|
|
23289
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.clearChainDetails = function() {
|
|
23290
|
+
return this.setChainDetails(undefined);
|
|
23291
|
+
};
|
|
23292
|
+
|
|
23293
|
+
|
|
23294
|
+
/**
|
|
23295
|
+
* Returns whether this field is set.
|
|
23296
|
+
* @return {boolean}
|
|
23297
|
+
*/
|
|
23298
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.hasChainDetails = function() {
|
|
23299
|
+
return jspb.Message.getField(this, 3) != null;
|
|
23300
|
+
};
|
|
23301
|
+
|
|
23302
|
+
|
|
23303
|
+
/**
|
|
23304
|
+
* optional string message = 4;
|
|
23305
|
+
* @return {string}
|
|
23306
|
+
*/
|
|
23307
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.getMessage = function() {
|
|
23308
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
23309
|
+
};
|
|
23310
|
+
|
|
23311
|
+
|
|
23312
|
+
/**
|
|
23313
|
+
* @param {string} value
|
|
23314
|
+
* @return {!proto.gateway.web.v1.SafeTxSuperseded} returns this
|
|
23315
|
+
*/
|
|
23316
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.setMessage = function(value) {
|
|
23317
|
+
return jspb.Message.setField(this, 4, value);
|
|
23318
|
+
};
|
|
23319
|
+
|
|
23320
|
+
|
|
23321
|
+
/**
|
|
23322
|
+
* Clears the field making it undefined.
|
|
23323
|
+
* @return {!proto.gateway.web.v1.SafeTxSuperseded} returns this
|
|
23324
|
+
*/
|
|
23325
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.clearMessage = function() {
|
|
23326
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
23327
|
+
};
|
|
23328
|
+
|
|
23329
|
+
|
|
23330
|
+
/**
|
|
23331
|
+
* Returns whether this field is set.
|
|
23332
|
+
* @return {boolean}
|
|
23333
|
+
*/
|
|
23334
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.hasMessage = function() {
|
|
23335
|
+
return jspb.Message.getField(this, 4) != null;
|
|
23336
|
+
};
|
|
23337
|
+
|
|
23338
|
+
|
|
23339
|
+
/**
|
|
23340
|
+
* optional int32 proposal_nonce = 5;
|
|
23341
|
+
* @return {number}
|
|
23342
|
+
*/
|
|
23343
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.getProposalNonce = function() {
|
|
23344
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
23345
|
+
};
|
|
23346
|
+
|
|
23347
|
+
|
|
23348
|
+
/**
|
|
23349
|
+
* @param {number} value
|
|
23350
|
+
* @return {!proto.gateway.web.v1.SafeTxSuperseded} returns this
|
|
23351
|
+
*/
|
|
23352
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.setProposalNonce = function(value) {
|
|
23353
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
23354
|
+
};
|
|
23355
|
+
|
|
23356
|
+
|
|
23357
|
+
/**
|
|
23358
|
+
* optional uint64 on_chain_nonce = 6;
|
|
23359
|
+
* @return {number}
|
|
23360
|
+
*/
|
|
23361
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.getOnChainNonce = function() {
|
|
23362
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
23363
|
+
};
|
|
23364
|
+
|
|
23365
|
+
|
|
23366
|
+
/**
|
|
23367
|
+
* @param {number} value
|
|
23368
|
+
* @return {!proto.gateway.web.v1.SafeTxSuperseded} returns this
|
|
23369
|
+
*/
|
|
23370
|
+
proto.gateway.web.v1.SafeTxSuperseded.prototype.setOnChainNonce = function(value) {
|
|
23371
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
23372
|
+
};
|
|
23373
|
+
|
|
23374
|
+
|
|
23375
|
+
|
|
23376
|
+
|
|
23377
|
+
|
|
22985
23378
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22986
23379
|
/**
|
|
22987
23380
|
* Creates an object representation of this proto.
|
|
@@ -23312,7 +23705,8 @@ proto.gateway.web.v1.SafeTxTrackingFinished.SafeTxHintStatus = {
|
|
|
23312
23705
|
SAFE_TX_HINT_STATUS_SUCCESS: 1,
|
|
23313
23706
|
SAFE_TX_HINT_STATUS_TIMEOUT: 2,
|
|
23314
23707
|
SAFE_TX_HINT_STATUS_NOT_FOUND: 3,
|
|
23315
|
-
SAFE_TX_HINT_STATUS_FAILED: 4
|
|
23708
|
+
SAFE_TX_HINT_STATUS_FAILED: 4,
|
|
23709
|
+
SAFE_TX_HINT_STATUS_SUPERSEDED: 5
|
|
23316
23710
|
};
|
|
23317
23711
|
|
|
23318
23712
|
/**
|
|
@@ -31936,7 +32330,8 @@ proto.gateway.web.v1.TraceEventType = {
|
|
|
31936
32330
|
TRACE_EVENT_TYPE_STRIPE_PAYMENT_SUCCEEDED: 59,
|
|
31937
32331
|
TRACE_EVENT_TYPE_STRIPE_FUNDS_AVAILABLE: 60,
|
|
31938
32332
|
TRACE_EVENT_TYPE_STRIPE_PAYOUT_PAID: 61,
|
|
31939
|
-
TRACE_EVENT_TYPE_STRIPE_TRACKING_FINISHED: 62
|
|
32333
|
+
TRACE_EVENT_TYPE_STRIPE_TRACKING_FINISHED: 62,
|
|
32334
|
+
TRACE_EVENT_TYPE_SAFE_TX_SUPERSEDED: 63
|
|
31940
32335
|
};
|
|
31941
32336
|
|
|
31942
32337
|
/**
|