@miradorlabs/web-grpc 2.36.0 → 2.38.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.
@@ -31,6 +31,7 @@ goog.exportSymbol('proto.gateway.web.v1.ActivityType', null, global);
31
31
  goog.exportSymbol('proto.gateway.web.v1.ApprovalActivity', null, global);
32
32
  goog.exportSymbol('proto.gateway.web.v1.ApprovalStandard', null, global);
33
33
  goog.exportSymbol('proto.gateway.web.v1.BridgeActivity', null, global);
34
+ goog.exportSymbol('proto.gateway.web.v1.CallFrame', null, global);
34
35
  goog.exportSymbol('proto.gateway.web.v1.CalldataInfo', null, global);
35
36
  goog.exportSymbol('proto.gateway.web.v1.ContractInfo', null, global);
36
37
  goog.exportSymbol('proto.gateway.web.v1.ContractInteractionActivity', null, global);
@@ -492,6 +493,27 @@ if (goog.DEBUG && !COMPILED) {
492
493
  */
493
494
  proto.gateway.web.v1.DecodedParam.displayName = 'proto.gateway.web.v1.DecodedParam';
494
495
  }
496
+ /**
497
+ * Generated by JsPbCodeGenerator.
498
+ * @param {Array=} opt_data Optional initial data array, typically from a
499
+ * server response, or constructed directly in Javascript. The array is used
500
+ * in place and becomes part of the constructed object. It is not cloned.
501
+ * If no data is provided, the constructed object will be empty, but still
502
+ * valid.
503
+ * @extends {jspb.Message}
504
+ * @constructor
505
+ */
506
+ proto.gateway.web.v1.CallFrame = function(opt_data) {
507
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.CallFrame.repeatedFields_, null);
508
+ };
509
+ goog.inherits(proto.gateway.web.v1.CallFrame, jspb.Message);
510
+ if (goog.DEBUG && !COMPILED) {
511
+ /**
512
+ * @public
513
+ * @override
514
+ */
515
+ proto.gateway.web.v1.CallFrame.displayName = 'proto.gateway.web.v1.CallFrame';
516
+ }
495
517
  /**
496
518
  * Generated by JsPbCodeGenerator.
497
519
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1332,7 +1354,8 @@ tokensList: jspb.Message.toObjectList(msg.getTokensList(),
1332
1354
  nativeValueFiat: (f = msg.getNativeValueFiat()) && proto.gateway.web.v1.FiatValue.toObject(includeInstance, f),
1333
1355
  calldata: (f = msg.getCalldata()) && proto.gateway.web.v1.CalldataInfo.toObject(includeInstance, f),
1334
1356
  eventLogsList: jspb.Message.toObjectList(msg.getEventLogsList(),
1335
- proto.gateway.web.v1.EventLog.toObject, includeInstance)
1357
+ proto.gateway.web.v1.EventLog.toObject, includeInstance),
1358
+ callTrace: (f = msg.getCallTrace()) && proto.gateway.web.v1.CallFrame.toObject(includeInstance, f)
1336
1359
  };
1337
1360
 
1338
1361
  if (includeInstance) {
@@ -1410,6 +1433,11 @@ proto.gateway.web.v1.TransactionActivity.deserializeBinaryFromReader = function(
1410
1433
  reader.readMessage(value,proto.gateway.web.v1.EventLog.deserializeBinaryFromReader);
1411
1434
  msg.addEventLogs(value);
1412
1435
  break;
1436
+ case 11:
1437
+ var value = new proto.gateway.web.v1.CallFrame;
1438
+ reader.readMessage(value,proto.gateway.web.v1.CallFrame.deserializeBinaryFromReader);
1439
+ msg.setCallTrace(value);
1440
+ break;
1413
1441
  default:
1414
1442
  reader.skipField();
1415
1443
  break;
@@ -1507,6 +1535,14 @@ proto.gateway.web.v1.TransactionActivity.serializeBinaryToWriter = function(mess
1507
1535
  proto.gateway.web.v1.EventLog.serializeBinaryToWriter
1508
1536
  );
1509
1537
  }
1538
+ f = message.getCallTrace();
1539
+ if (f != null) {
1540
+ writer.writeMessage(
1541
+ 11,
1542
+ f,
1543
+ proto.gateway.web.v1.CallFrame.serializeBinaryToWriter
1544
+ );
1545
+ }
1510
1546
  };
1511
1547
 
1512
1548
 
@@ -1770,6 +1806,43 @@ proto.gateway.web.v1.TransactionActivity.prototype.clearEventLogsList = function
1770
1806
  };
1771
1807
 
1772
1808
 
1809
+ /**
1810
+ * optional CallFrame call_trace = 11;
1811
+ * @return {?proto.gateway.web.v1.CallFrame}
1812
+ */
1813
+ proto.gateway.web.v1.TransactionActivity.prototype.getCallTrace = function() {
1814
+ return /** @type{?proto.gateway.web.v1.CallFrame} */ (
1815
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.CallFrame, 11));
1816
+ };
1817
+
1818
+
1819
+ /**
1820
+ * @param {?proto.gateway.web.v1.CallFrame|undefined} value
1821
+ * @return {!proto.gateway.web.v1.TransactionActivity} returns this
1822
+ */
1823
+ proto.gateway.web.v1.TransactionActivity.prototype.setCallTrace = function(value) {
1824
+ return jspb.Message.setWrapperField(this, 11, value);
1825
+ };
1826
+
1827
+
1828
+ /**
1829
+ * Clears the message field making it undefined.
1830
+ * @return {!proto.gateway.web.v1.TransactionActivity} returns this
1831
+ */
1832
+ proto.gateway.web.v1.TransactionActivity.prototype.clearCallTrace = function() {
1833
+ return this.setCallTrace(undefined);
1834
+ };
1835
+
1836
+
1837
+ /**
1838
+ * Returns whether this field is set.
1839
+ * @return {boolean}
1840
+ */
1841
+ proto.gateway.web.v1.TransactionActivity.prototype.hasCallTrace = function() {
1842
+ return jspb.Message.getField(this, 11) != null;
1843
+ };
1844
+
1845
+
1773
1846
 
1774
1847
  /**
1775
1848
  * List of repeated fields within this message type.
@@ -6577,6 +6650,660 @@ proto.gateway.web.v1.DecodedParam.prototype.setIndexed = function(value) {
6577
6650
 
6578
6651
 
6579
6652
 
6653
+ /**
6654
+ * List of repeated fields within this message type.
6655
+ * @private {!Array<number>}
6656
+ * @const
6657
+ */
6658
+ proto.gateway.web.v1.CallFrame.repeatedFields_ = [14,15];
6659
+
6660
+
6661
+
6662
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6663
+ /**
6664
+ * Creates an object representation of this proto.
6665
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6666
+ * Optional fields that are not set will be set to undefined.
6667
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6668
+ * For the list of reserved names please see:
6669
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6670
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6671
+ * JSPB instance for transitional soy proto support:
6672
+ * http://goto/soy-param-migration
6673
+ * @return {!Object}
6674
+ */
6675
+ proto.gateway.web.v1.CallFrame.prototype.toObject = function(opt_includeInstance) {
6676
+ return proto.gateway.web.v1.CallFrame.toObject(opt_includeInstance, this);
6677
+ };
6678
+
6679
+
6680
+ /**
6681
+ * Static version of the {@see toObject} method.
6682
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6683
+ * the JSPB instance for transitional soy proto support:
6684
+ * http://goto/soy-param-migration
6685
+ * @param {!proto.gateway.web.v1.CallFrame} msg The msg instance to transform.
6686
+ * @return {!Object}
6687
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6688
+ */
6689
+ proto.gateway.web.v1.CallFrame.toObject = function(includeInstance, msg) {
6690
+ var f, obj = {
6691
+ callType: jspb.Message.getFieldWithDefault(msg, 1, ""),
6692
+ fromAddress: jspb.Message.getFieldWithDefault(msg, 2, ""),
6693
+ toAddress: jspb.Message.getFieldWithDefault(msg, 3, ""),
6694
+ valueRaw: jspb.Message.getFieldWithDefault(msg, 4, ""),
6695
+ valueFormatted: jspb.Message.getFieldWithDefault(msg, 5, ""),
6696
+ gas: jspb.Message.getFieldWithDefault(msg, 6, 0),
6697
+ gasUsed: jspb.Message.getFieldWithDefault(msg, 7, 0),
6698
+ depth: jspb.Message.getFieldWithDefault(msg, 8, 0),
6699
+ calldata: (f = msg.getCalldata()) && proto.gateway.web.v1.CalldataInfo.toObject(includeInstance, f),
6700
+ outputHex: jspb.Message.getFieldWithDefault(msg, 10, ""),
6701
+ reverted: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
6702
+ errorMessage: jspb.Message.getFieldWithDefault(msg, 12, ""),
6703
+ revertReason: jspb.Message.getFieldWithDefault(msg, 13, ""),
6704
+ eventLogsList: jspb.Message.toObjectList(msg.getEventLogsList(),
6705
+ proto.gateway.web.v1.EventLog.toObject, includeInstance),
6706
+ callsList: jspb.Message.toObjectList(msg.getCallsList(),
6707
+ proto.gateway.web.v1.CallFrame.toObject, includeInstance),
6708
+ truncated: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
6709
+ };
6710
+
6711
+ if (includeInstance) {
6712
+ obj.$jspbMessageInstance = msg;
6713
+ }
6714
+ return obj;
6715
+ };
6716
+ }
6717
+
6718
+
6719
+ /**
6720
+ * Deserializes binary data (in protobuf wire format).
6721
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6722
+ * @return {!proto.gateway.web.v1.CallFrame}
6723
+ */
6724
+ proto.gateway.web.v1.CallFrame.deserializeBinary = function(bytes) {
6725
+ var reader = new jspb.BinaryReader(bytes);
6726
+ var msg = new proto.gateway.web.v1.CallFrame;
6727
+ return proto.gateway.web.v1.CallFrame.deserializeBinaryFromReader(msg, reader);
6728
+ };
6729
+
6730
+
6731
+ /**
6732
+ * Deserializes binary data (in protobuf wire format) from the
6733
+ * given reader into the given message object.
6734
+ * @param {!proto.gateway.web.v1.CallFrame} msg The message object to deserialize into.
6735
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6736
+ * @return {!proto.gateway.web.v1.CallFrame}
6737
+ */
6738
+ proto.gateway.web.v1.CallFrame.deserializeBinaryFromReader = function(msg, reader) {
6739
+ while (reader.nextField()) {
6740
+ if (reader.isEndGroup()) {
6741
+ break;
6742
+ }
6743
+ var field = reader.getFieldNumber();
6744
+ switch (field) {
6745
+ case 1:
6746
+ var value = /** @type {string} */ (reader.readString());
6747
+ msg.setCallType(value);
6748
+ break;
6749
+ case 2:
6750
+ var value = /** @type {string} */ (reader.readString());
6751
+ msg.setFromAddress(value);
6752
+ break;
6753
+ case 3:
6754
+ var value = /** @type {string} */ (reader.readString());
6755
+ msg.setToAddress(value);
6756
+ break;
6757
+ case 4:
6758
+ var value = /** @type {string} */ (reader.readString());
6759
+ msg.setValueRaw(value);
6760
+ break;
6761
+ case 5:
6762
+ var value = /** @type {string} */ (reader.readString());
6763
+ msg.setValueFormatted(value);
6764
+ break;
6765
+ case 6:
6766
+ var value = /** @type {number} */ (reader.readUint64());
6767
+ msg.setGas(value);
6768
+ break;
6769
+ case 7:
6770
+ var value = /** @type {number} */ (reader.readUint64());
6771
+ msg.setGasUsed(value);
6772
+ break;
6773
+ case 8:
6774
+ var value = /** @type {number} */ (reader.readUint32());
6775
+ msg.setDepth(value);
6776
+ break;
6777
+ case 9:
6778
+ var value = new proto.gateway.web.v1.CalldataInfo;
6779
+ reader.readMessage(value,proto.gateway.web.v1.CalldataInfo.deserializeBinaryFromReader);
6780
+ msg.setCalldata(value);
6781
+ break;
6782
+ case 10:
6783
+ var value = /** @type {string} */ (reader.readString());
6784
+ msg.setOutputHex(value);
6785
+ break;
6786
+ case 11:
6787
+ var value = /** @type {boolean} */ (reader.readBool());
6788
+ msg.setReverted(value);
6789
+ break;
6790
+ case 12:
6791
+ var value = /** @type {string} */ (reader.readString());
6792
+ msg.setErrorMessage(value);
6793
+ break;
6794
+ case 13:
6795
+ var value = /** @type {string} */ (reader.readString());
6796
+ msg.setRevertReason(value);
6797
+ break;
6798
+ case 14:
6799
+ var value = new proto.gateway.web.v1.EventLog;
6800
+ reader.readMessage(value,proto.gateway.web.v1.EventLog.deserializeBinaryFromReader);
6801
+ msg.addEventLogs(value);
6802
+ break;
6803
+ case 15:
6804
+ var value = new proto.gateway.web.v1.CallFrame;
6805
+ reader.readMessage(value,proto.gateway.web.v1.CallFrame.deserializeBinaryFromReader);
6806
+ msg.addCalls(value);
6807
+ break;
6808
+ case 16:
6809
+ var value = /** @type {boolean} */ (reader.readBool());
6810
+ msg.setTruncated(value);
6811
+ break;
6812
+ default:
6813
+ reader.skipField();
6814
+ break;
6815
+ }
6816
+ }
6817
+ return msg;
6818
+ };
6819
+
6820
+
6821
+ /**
6822
+ * Serializes the message to binary data (in protobuf wire format).
6823
+ * @return {!Uint8Array}
6824
+ */
6825
+ proto.gateway.web.v1.CallFrame.prototype.serializeBinary = function() {
6826
+ var writer = new jspb.BinaryWriter();
6827
+ proto.gateway.web.v1.CallFrame.serializeBinaryToWriter(this, writer);
6828
+ return writer.getResultBuffer();
6829
+ };
6830
+
6831
+
6832
+ /**
6833
+ * Serializes the given message to binary data (in protobuf wire
6834
+ * format), writing to the given BinaryWriter.
6835
+ * @param {!proto.gateway.web.v1.CallFrame} message
6836
+ * @param {!jspb.BinaryWriter} writer
6837
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6838
+ */
6839
+ proto.gateway.web.v1.CallFrame.serializeBinaryToWriter = function(message, writer) {
6840
+ var f = undefined;
6841
+ f = message.getCallType();
6842
+ if (f.length > 0) {
6843
+ writer.writeString(
6844
+ 1,
6845
+ f
6846
+ );
6847
+ }
6848
+ f = message.getFromAddress();
6849
+ if (f.length > 0) {
6850
+ writer.writeString(
6851
+ 2,
6852
+ f
6853
+ );
6854
+ }
6855
+ f = message.getToAddress();
6856
+ if (f.length > 0) {
6857
+ writer.writeString(
6858
+ 3,
6859
+ f
6860
+ );
6861
+ }
6862
+ f = message.getValueRaw();
6863
+ if (f.length > 0) {
6864
+ writer.writeString(
6865
+ 4,
6866
+ f
6867
+ );
6868
+ }
6869
+ f = message.getValueFormatted();
6870
+ if (f.length > 0) {
6871
+ writer.writeString(
6872
+ 5,
6873
+ f
6874
+ );
6875
+ }
6876
+ f = message.getGas();
6877
+ if (f !== 0) {
6878
+ writer.writeUint64(
6879
+ 6,
6880
+ f
6881
+ );
6882
+ }
6883
+ f = message.getGasUsed();
6884
+ if (f !== 0) {
6885
+ writer.writeUint64(
6886
+ 7,
6887
+ f
6888
+ );
6889
+ }
6890
+ f = message.getDepth();
6891
+ if (f !== 0) {
6892
+ writer.writeUint32(
6893
+ 8,
6894
+ f
6895
+ );
6896
+ }
6897
+ f = message.getCalldata();
6898
+ if (f != null) {
6899
+ writer.writeMessage(
6900
+ 9,
6901
+ f,
6902
+ proto.gateway.web.v1.CalldataInfo.serializeBinaryToWriter
6903
+ );
6904
+ }
6905
+ f = message.getOutputHex();
6906
+ if (f.length > 0) {
6907
+ writer.writeString(
6908
+ 10,
6909
+ f
6910
+ );
6911
+ }
6912
+ f = message.getReverted();
6913
+ if (f) {
6914
+ writer.writeBool(
6915
+ 11,
6916
+ f
6917
+ );
6918
+ }
6919
+ f = message.getErrorMessage();
6920
+ if (f.length > 0) {
6921
+ writer.writeString(
6922
+ 12,
6923
+ f
6924
+ );
6925
+ }
6926
+ f = message.getRevertReason();
6927
+ if (f.length > 0) {
6928
+ writer.writeString(
6929
+ 13,
6930
+ f
6931
+ );
6932
+ }
6933
+ f = message.getEventLogsList();
6934
+ if (f.length > 0) {
6935
+ writer.writeRepeatedMessage(
6936
+ 14,
6937
+ f,
6938
+ proto.gateway.web.v1.EventLog.serializeBinaryToWriter
6939
+ );
6940
+ }
6941
+ f = message.getCallsList();
6942
+ if (f.length > 0) {
6943
+ writer.writeRepeatedMessage(
6944
+ 15,
6945
+ f,
6946
+ proto.gateway.web.v1.CallFrame.serializeBinaryToWriter
6947
+ );
6948
+ }
6949
+ f = message.getTruncated();
6950
+ if (f) {
6951
+ writer.writeBool(
6952
+ 16,
6953
+ f
6954
+ );
6955
+ }
6956
+ };
6957
+
6958
+
6959
+ /**
6960
+ * optional string call_type = 1;
6961
+ * @return {string}
6962
+ */
6963
+ proto.gateway.web.v1.CallFrame.prototype.getCallType = function() {
6964
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6965
+ };
6966
+
6967
+
6968
+ /**
6969
+ * @param {string} value
6970
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
6971
+ */
6972
+ proto.gateway.web.v1.CallFrame.prototype.setCallType = function(value) {
6973
+ return jspb.Message.setProto3StringField(this, 1, value);
6974
+ };
6975
+
6976
+
6977
+ /**
6978
+ * optional string from_address = 2;
6979
+ * @return {string}
6980
+ */
6981
+ proto.gateway.web.v1.CallFrame.prototype.getFromAddress = function() {
6982
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6983
+ };
6984
+
6985
+
6986
+ /**
6987
+ * @param {string} value
6988
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
6989
+ */
6990
+ proto.gateway.web.v1.CallFrame.prototype.setFromAddress = function(value) {
6991
+ return jspb.Message.setProto3StringField(this, 2, value);
6992
+ };
6993
+
6994
+
6995
+ /**
6996
+ * optional string to_address = 3;
6997
+ * @return {string}
6998
+ */
6999
+ proto.gateway.web.v1.CallFrame.prototype.getToAddress = function() {
7000
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
7001
+ };
7002
+
7003
+
7004
+ /**
7005
+ * @param {string} value
7006
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7007
+ */
7008
+ proto.gateway.web.v1.CallFrame.prototype.setToAddress = function(value) {
7009
+ return jspb.Message.setProto3StringField(this, 3, value);
7010
+ };
7011
+
7012
+
7013
+ /**
7014
+ * optional string value_raw = 4;
7015
+ * @return {string}
7016
+ */
7017
+ proto.gateway.web.v1.CallFrame.prototype.getValueRaw = function() {
7018
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
7019
+ };
7020
+
7021
+
7022
+ /**
7023
+ * @param {string} value
7024
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7025
+ */
7026
+ proto.gateway.web.v1.CallFrame.prototype.setValueRaw = function(value) {
7027
+ return jspb.Message.setProto3StringField(this, 4, value);
7028
+ };
7029
+
7030
+
7031
+ /**
7032
+ * optional string value_formatted = 5;
7033
+ * @return {string}
7034
+ */
7035
+ proto.gateway.web.v1.CallFrame.prototype.getValueFormatted = function() {
7036
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
7037
+ };
7038
+
7039
+
7040
+ /**
7041
+ * @param {string} value
7042
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7043
+ */
7044
+ proto.gateway.web.v1.CallFrame.prototype.setValueFormatted = function(value) {
7045
+ return jspb.Message.setProto3StringField(this, 5, value);
7046
+ };
7047
+
7048
+
7049
+ /**
7050
+ * optional uint64 gas = 6;
7051
+ * @return {number}
7052
+ */
7053
+ proto.gateway.web.v1.CallFrame.prototype.getGas = function() {
7054
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
7055
+ };
7056
+
7057
+
7058
+ /**
7059
+ * @param {number} value
7060
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7061
+ */
7062
+ proto.gateway.web.v1.CallFrame.prototype.setGas = function(value) {
7063
+ return jspb.Message.setProto3IntField(this, 6, value);
7064
+ };
7065
+
7066
+
7067
+ /**
7068
+ * optional uint64 gas_used = 7;
7069
+ * @return {number}
7070
+ */
7071
+ proto.gateway.web.v1.CallFrame.prototype.getGasUsed = function() {
7072
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
7073
+ };
7074
+
7075
+
7076
+ /**
7077
+ * @param {number} value
7078
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7079
+ */
7080
+ proto.gateway.web.v1.CallFrame.prototype.setGasUsed = function(value) {
7081
+ return jspb.Message.setProto3IntField(this, 7, value);
7082
+ };
7083
+
7084
+
7085
+ /**
7086
+ * optional uint32 depth = 8;
7087
+ * @return {number}
7088
+ */
7089
+ proto.gateway.web.v1.CallFrame.prototype.getDepth = function() {
7090
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
7091
+ };
7092
+
7093
+
7094
+ /**
7095
+ * @param {number} value
7096
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7097
+ */
7098
+ proto.gateway.web.v1.CallFrame.prototype.setDepth = function(value) {
7099
+ return jspb.Message.setProto3IntField(this, 8, value);
7100
+ };
7101
+
7102
+
7103
+ /**
7104
+ * optional CalldataInfo calldata = 9;
7105
+ * @return {?proto.gateway.web.v1.CalldataInfo}
7106
+ */
7107
+ proto.gateway.web.v1.CallFrame.prototype.getCalldata = function() {
7108
+ return /** @type{?proto.gateway.web.v1.CalldataInfo} */ (
7109
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.CalldataInfo, 9));
7110
+ };
7111
+
7112
+
7113
+ /**
7114
+ * @param {?proto.gateway.web.v1.CalldataInfo|undefined} value
7115
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7116
+ */
7117
+ proto.gateway.web.v1.CallFrame.prototype.setCalldata = function(value) {
7118
+ return jspb.Message.setWrapperField(this, 9, value);
7119
+ };
7120
+
7121
+
7122
+ /**
7123
+ * Clears the message field making it undefined.
7124
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7125
+ */
7126
+ proto.gateway.web.v1.CallFrame.prototype.clearCalldata = function() {
7127
+ return this.setCalldata(undefined);
7128
+ };
7129
+
7130
+
7131
+ /**
7132
+ * Returns whether this field is set.
7133
+ * @return {boolean}
7134
+ */
7135
+ proto.gateway.web.v1.CallFrame.prototype.hasCalldata = function() {
7136
+ return jspb.Message.getField(this, 9) != null;
7137
+ };
7138
+
7139
+
7140
+ /**
7141
+ * optional string output_hex = 10;
7142
+ * @return {string}
7143
+ */
7144
+ proto.gateway.web.v1.CallFrame.prototype.getOutputHex = function() {
7145
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
7146
+ };
7147
+
7148
+
7149
+ /**
7150
+ * @param {string} value
7151
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7152
+ */
7153
+ proto.gateway.web.v1.CallFrame.prototype.setOutputHex = function(value) {
7154
+ return jspb.Message.setProto3StringField(this, 10, value);
7155
+ };
7156
+
7157
+
7158
+ /**
7159
+ * optional bool reverted = 11;
7160
+ * @return {boolean}
7161
+ */
7162
+ proto.gateway.web.v1.CallFrame.prototype.getReverted = function() {
7163
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
7164
+ };
7165
+
7166
+
7167
+ /**
7168
+ * @param {boolean} value
7169
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7170
+ */
7171
+ proto.gateway.web.v1.CallFrame.prototype.setReverted = function(value) {
7172
+ return jspb.Message.setProto3BooleanField(this, 11, value);
7173
+ };
7174
+
7175
+
7176
+ /**
7177
+ * optional string error_message = 12;
7178
+ * @return {string}
7179
+ */
7180
+ proto.gateway.web.v1.CallFrame.prototype.getErrorMessage = function() {
7181
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
7182
+ };
7183
+
7184
+
7185
+ /**
7186
+ * @param {string} value
7187
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7188
+ */
7189
+ proto.gateway.web.v1.CallFrame.prototype.setErrorMessage = function(value) {
7190
+ return jspb.Message.setProto3StringField(this, 12, value);
7191
+ };
7192
+
7193
+
7194
+ /**
7195
+ * optional string revert_reason = 13;
7196
+ * @return {string}
7197
+ */
7198
+ proto.gateway.web.v1.CallFrame.prototype.getRevertReason = function() {
7199
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
7200
+ };
7201
+
7202
+
7203
+ /**
7204
+ * @param {string} value
7205
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7206
+ */
7207
+ proto.gateway.web.v1.CallFrame.prototype.setRevertReason = function(value) {
7208
+ return jspb.Message.setProto3StringField(this, 13, value);
7209
+ };
7210
+
7211
+
7212
+ /**
7213
+ * repeated EventLog event_logs = 14;
7214
+ * @return {!Array<!proto.gateway.web.v1.EventLog>}
7215
+ */
7216
+ proto.gateway.web.v1.CallFrame.prototype.getEventLogsList = function() {
7217
+ return /** @type{!Array<!proto.gateway.web.v1.EventLog>} */ (
7218
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.EventLog, 14));
7219
+ };
7220
+
7221
+
7222
+ /**
7223
+ * @param {!Array<!proto.gateway.web.v1.EventLog>} value
7224
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7225
+ */
7226
+ proto.gateway.web.v1.CallFrame.prototype.setEventLogsList = function(value) {
7227
+ return jspb.Message.setRepeatedWrapperField(this, 14, value);
7228
+ };
7229
+
7230
+
7231
+ /**
7232
+ * @param {!proto.gateway.web.v1.EventLog=} opt_value
7233
+ * @param {number=} opt_index
7234
+ * @return {!proto.gateway.web.v1.EventLog}
7235
+ */
7236
+ proto.gateway.web.v1.CallFrame.prototype.addEventLogs = function(opt_value, opt_index) {
7237
+ return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.gateway.web.v1.EventLog, opt_index);
7238
+ };
7239
+
7240
+
7241
+ /**
7242
+ * Clears the list making it empty but non-null.
7243
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7244
+ */
7245
+ proto.gateway.web.v1.CallFrame.prototype.clearEventLogsList = function() {
7246
+ return this.setEventLogsList([]);
7247
+ };
7248
+
7249
+
7250
+ /**
7251
+ * repeated CallFrame calls = 15;
7252
+ * @return {!Array<!proto.gateway.web.v1.CallFrame>}
7253
+ */
7254
+ proto.gateway.web.v1.CallFrame.prototype.getCallsList = function() {
7255
+ return /** @type{!Array<!proto.gateway.web.v1.CallFrame>} */ (
7256
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.CallFrame, 15));
7257
+ };
7258
+
7259
+
7260
+ /**
7261
+ * @param {!Array<!proto.gateway.web.v1.CallFrame>} value
7262
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7263
+ */
7264
+ proto.gateway.web.v1.CallFrame.prototype.setCallsList = function(value) {
7265
+ return jspb.Message.setRepeatedWrapperField(this, 15, value);
7266
+ };
7267
+
7268
+
7269
+ /**
7270
+ * @param {!proto.gateway.web.v1.CallFrame=} opt_value
7271
+ * @param {number=} opt_index
7272
+ * @return {!proto.gateway.web.v1.CallFrame}
7273
+ */
7274
+ proto.gateway.web.v1.CallFrame.prototype.addCalls = function(opt_value, opt_index) {
7275
+ return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.gateway.web.v1.CallFrame, opt_index);
7276
+ };
7277
+
7278
+
7279
+ /**
7280
+ * Clears the list making it empty but non-null.
7281
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7282
+ */
7283
+ proto.gateway.web.v1.CallFrame.prototype.clearCallsList = function() {
7284
+ return this.setCallsList([]);
7285
+ };
7286
+
7287
+
7288
+ /**
7289
+ * optional bool truncated = 16;
7290
+ * @return {boolean}
7291
+ */
7292
+ proto.gateway.web.v1.CallFrame.prototype.getTruncated = function() {
7293
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
7294
+ };
7295
+
7296
+
7297
+ /**
7298
+ * @param {boolean} value
7299
+ * @return {!proto.gateway.web.v1.CallFrame} returns this
7300
+ */
7301
+ proto.gateway.web.v1.CallFrame.prototype.setTruncated = function(value) {
7302
+ return jspb.Message.setProto3BooleanField(this, 16, value);
7303
+ };
7304
+
7305
+
7306
+
6580
7307
  /**
6581
7308
  * List of repeated fields within this message type.
6582
7309
  * @private {!Array<number>}