@trustwallet/wallet-core 4.2.13 → 4.2.15

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.
@@ -49574,6 +49574,417 @@
49574
49574
  return UserOperation;
49575
49575
  })();
49576
49576
 
49577
+ Proto.UserOperationV0_7 = (function() {
49578
+
49579
+ /**
49580
+ * Properties of a UserOperationV0_7.
49581
+ * @memberof TW.Ethereum.Proto
49582
+ * @interface IUserOperationV0_7
49583
+ * @property {string|null} [entryPoint] UserOperationV0_7 entryPoint
49584
+ * @property {string|null} [factory] UserOperationV0_7 factory
49585
+ * @property {Uint8Array|null} [factoryData] UserOperationV0_7 factoryData
49586
+ * @property {string|null} [sender] UserOperationV0_7 sender
49587
+ * @property {Uint8Array|null} [preVerificationGas] UserOperationV0_7 preVerificationGas
49588
+ * @property {Uint8Array|null} [verificationGasLimit] UserOperationV0_7 verificationGasLimit
49589
+ * @property {string|null} [paymaster] UserOperationV0_7 paymaster
49590
+ * @property {Uint8Array|null} [paymasterVerificationGasLimit] UserOperationV0_7 paymasterVerificationGasLimit
49591
+ * @property {Uint8Array|null} [paymasterPostOpGasLimit] UserOperationV0_7 paymasterPostOpGasLimit
49592
+ * @property {Uint8Array|null} [paymasterData] UserOperationV0_7 paymasterData
49593
+ */
49594
+
49595
+ /**
49596
+ * Constructs a new UserOperationV0_7.
49597
+ * @memberof TW.Ethereum.Proto
49598
+ * @classdesc Represents a UserOperationV0_7.
49599
+ * @implements IUserOperationV0_7
49600
+ * @constructor
49601
+ * @param {TW.Ethereum.Proto.IUserOperationV0_7=} [properties] Properties to set
49602
+ */
49603
+ function UserOperationV0_7(properties) {
49604
+ if (properties)
49605
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
49606
+ if (properties[keys[i]] != null)
49607
+ this[keys[i]] = properties[keys[i]];
49608
+ }
49609
+
49610
+ /**
49611
+ * UserOperationV0_7 entryPoint.
49612
+ * @member {string} entryPoint
49613
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49614
+ * @instance
49615
+ */
49616
+ UserOperationV0_7.prototype.entryPoint = "";
49617
+
49618
+ /**
49619
+ * UserOperationV0_7 factory.
49620
+ * @member {string} factory
49621
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49622
+ * @instance
49623
+ */
49624
+ UserOperationV0_7.prototype.factory = "";
49625
+
49626
+ /**
49627
+ * UserOperationV0_7 factoryData.
49628
+ * @member {Uint8Array} factoryData
49629
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49630
+ * @instance
49631
+ */
49632
+ UserOperationV0_7.prototype.factoryData = $util.newBuffer([]);
49633
+
49634
+ /**
49635
+ * UserOperationV0_7 sender.
49636
+ * @member {string} sender
49637
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49638
+ * @instance
49639
+ */
49640
+ UserOperationV0_7.prototype.sender = "";
49641
+
49642
+ /**
49643
+ * UserOperationV0_7 preVerificationGas.
49644
+ * @member {Uint8Array} preVerificationGas
49645
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49646
+ * @instance
49647
+ */
49648
+ UserOperationV0_7.prototype.preVerificationGas = $util.newBuffer([]);
49649
+
49650
+ /**
49651
+ * UserOperationV0_7 verificationGasLimit.
49652
+ * @member {Uint8Array} verificationGasLimit
49653
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49654
+ * @instance
49655
+ */
49656
+ UserOperationV0_7.prototype.verificationGasLimit = $util.newBuffer([]);
49657
+
49658
+ /**
49659
+ * UserOperationV0_7 paymaster.
49660
+ * @member {string} paymaster
49661
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49662
+ * @instance
49663
+ */
49664
+ UserOperationV0_7.prototype.paymaster = "";
49665
+
49666
+ /**
49667
+ * UserOperationV0_7 paymasterVerificationGasLimit.
49668
+ * @member {Uint8Array} paymasterVerificationGasLimit
49669
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49670
+ * @instance
49671
+ */
49672
+ UserOperationV0_7.prototype.paymasterVerificationGasLimit = $util.newBuffer([]);
49673
+
49674
+ /**
49675
+ * UserOperationV0_7 paymasterPostOpGasLimit.
49676
+ * @member {Uint8Array} paymasterPostOpGasLimit
49677
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49678
+ * @instance
49679
+ */
49680
+ UserOperationV0_7.prototype.paymasterPostOpGasLimit = $util.newBuffer([]);
49681
+
49682
+ /**
49683
+ * UserOperationV0_7 paymasterData.
49684
+ * @member {Uint8Array} paymasterData
49685
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49686
+ * @instance
49687
+ */
49688
+ UserOperationV0_7.prototype.paymasterData = $util.newBuffer([]);
49689
+
49690
+ /**
49691
+ * Creates a new UserOperationV0_7 instance using the specified properties.
49692
+ * @function create
49693
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49694
+ * @static
49695
+ * @param {TW.Ethereum.Proto.IUserOperationV0_7=} [properties] Properties to set
49696
+ * @returns {TW.Ethereum.Proto.UserOperationV0_7} UserOperationV0_7 instance
49697
+ */
49698
+ UserOperationV0_7.create = function create(properties) {
49699
+ return new UserOperationV0_7(properties);
49700
+ };
49701
+
49702
+ /**
49703
+ * Encodes the specified UserOperationV0_7 message. Does not implicitly {@link TW.Ethereum.Proto.UserOperationV0_7.verify|verify} messages.
49704
+ * @function encode
49705
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49706
+ * @static
49707
+ * @param {TW.Ethereum.Proto.IUserOperationV0_7} message UserOperationV0_7 message or plain object to encode
49708
+ * @param {$protobuf.Writer} [writer] Writer to encode to
49709
+ * @returns {$protobuf.Writer} Writer
49710
+ */
49711
+ UserOperationV0_7.encode = function encode(message, writer) {
49712
+ if (!writer)
49713
+ writer = $Writer.create();
49714
+ if (message.entryPoint != null && Object.hasOwnProperty.call(message, "entryPoint"))
49715
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.entryPoint);
49716
+ if (message.factory != null && Object.hasOwnProperty.call(message, "factory"))
49717
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.factory);
49718
+ if (message.factoryData != null && Object.hasOwnProperty.call(message, "factoryData"))
49719
+ writer.uint32(/* id 3, wireType 2 =*/26).bytes(message.factoryData);
49720
+ if (message.sender != null && Object.hasOwnProperty.call(message, "sender"))
49721
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.sender);
49722
+ if (message.preVerificationGas != null && Object.hasOwnProperty.call(message, "preVerificationGas"))
49723
+ writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.preVerificationGas);
49724
+ if (message.verificationGasLimit != null && Object.hasOwnProperty.call(message, "verificationGasLimit"))
49725
+ writer.uint32(/* id 6, wireType 2 =*/50).bytes(message.verificationGasLimit);
49726
+ if (message.paymaster != null && Object.hasOwnProperty.call(message, "paymaster"))
49727
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.paymaster);
49728
+ if (message.paymasterVerificationGasLimit != null && Object.hasOwnProperty.call(message, "paymasterVerificationGasLimit"))
49729
+ writer.uint32(/* id 8, wireType 2 =*/66).bytes(message.paymasterVerificationGasLimit);
49730
+ if (message.paymasterPostOpGasLimit != null && Object.hasOwnProperty.call(message, "paymasterPostOpGasLimit"))
49731
+ writer.uint32(/* id 9, wireType 2 =*/74).bytes(message.paymasterPostOpGasLimit);
49732
+ if (message.paymasterData != null && Object.hasOwnProperty.call(message, "paymasterData"))
49733
+ writer.uint32(/* id 10, wireType 2 =*/82).bytes(message.paymasterData);
49734
+ return writer;
49735
+ };
49736
+
49737
+ /**
49738
+ * Decodes a UserOperationV0_7 message from the specified reader or buffer.
49739
+ * @function decode
49740
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49741
+ * @static
49742
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
49743
+ * @param {number} [length] Message length if known beforehand
49744
+ * @returns {TW.Ethereum.Proto.UserOperationV0_7} UserOperationV0_7
49745
+ * @throws {Error} If the payload is not a reader or valid buffer
49746
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
49747
+ */
49748
+ UserOperationV0_7.decode = function decode(reader, length) {
49749
+ if (!(reader instanceof $Reader))
49750
+ reader = $Reader.create(reader);
49751
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Ethereum.Proto.UserOperationV0_7();
49752
+ while (reader.pos < end) {
49753
+ var tag = reader.uint32();
49754
+ switch (tag >>> 3) {
49755
+ case 1:
49756
+ message.entryPoint = reader.string();
49757
+ break;
49758
+ case 2:
49759
+ message.factory = reader.string();
49760
+ break;
49761
+ case 3:
49762
+ message.factoryData = reader.bytes();
49763
+ break;
49764
+ case 4:
49765
+ message.sender = reader.string();
49766
+ break;
49767
+ case 5:
49768
+ message.preVerificationGas = reader.bytes();
49769
+ break;
49770
+ case 6:
49771
+ message.verificationGasLimit = reader.bytes();
49772
+ break;
49773
+ case 7:
49774
+ message.paymaster = reader.string();
49775
+ break;
49776
+ case 8:
49777
+ message.paymasterVerificationGasLimit = reader.bytes();
49778
+ break;
49779
+ case 9:
49780
+ message.paymasterPostOpGasLimit = reader.bytes();
49781
+ break;
49782
+ case 10:
49783
+ message.paymasterData = reader.bytes();
49784
+ break;
49785
+ default:
49786
+ reader.skipType(tag & 7);
49787
+ break;
49788
+ }
49789
+ }
49790
+ return message;
49791
+ };
49792
+
49793
+ /**
49794
+ * Verifies a UserOperationV0_7 message.
49795
+ * @function verify
49796
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49797
+ * @static
49798
+ * @param {Object.<string,*>} message Plain object to verify
49799
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
49800
+ */
49801
+ UserOperationV0_7.verify = function verify(message) {
49802
+ if (typeof message !== "object" || message === null)
49803
+ return "object expected";
49804
+ if (message.entryPoint != null && message.hasOwnProperty("entryPoint"))
49805
+ if (!$util.isString(message.entryPoint))
49806
+ return "entryPoint: string expected";
49807
+ if (message.factory != null && message.hasOwnProperty("factory"))
49808
+ if (!$util.isString(message.factory))
49809
+ return "factory: string expected";
49810
+ if (message.factoryData != null && message.hasOwnProperty("factoryData"))
49811
+ if (!(message.factoryData && typeof message.factoryData.length === "number" || $util.isString(message.factoryData)))
49812
+ return "factoryData: buffer expected";
49813
+ if (message.sender != null && message.hasOwnProperty("sender"))
49814
+ if (!$util.isString(message.sender))
49815
+ return "sender: string expected";
49816
+ if (message.preVerificationGas != null && message.hasOwnProperty("preVerificationGas"))
49817
+ if (!(message.preVerificationGas && typeof message.preVerificationGas.length === "number" || $util.isString(message.preVerificationGas)))
49818
+ return "preVerificationGas: buffer expected";
49819
+ if (message.verificationGasLimit != null && message.hasOwnProperty("verificationGasLimit"))
49820
+ if (!(message.verificationGasLimit && typeof message.verificationGasLimit.length === "number" || $util.isString(message.verificationGasLimit)))
49821
+ return "verificationGasLimit: buffer expected";
49822
+ if (message.paymaster != null && message.hasOwnProperty("paymaster"))
49823
+ if (!$util.isString(message.paymaster))
49824
+ return "paymaster: string expected";
49825
+ if (message.paymasterVerificationGasLimit != null && message.hasOwnProperty("paymasterVerificationGasLimit"))
49826
+ if (!(message.paymasterVerificationGasLimit && typeof message.paymasterVerificationGasLimit.length === "number" || $util.isString(message.paymasterVerificationGasLimit)))
49827
+ return "paymasterVerificationGasLimit: buffer expected";
49828
+ if (message.paymasterPostOpGasLimit != null && message.hasOwnProperty("paymasterPostOpGasLimit"))
49829
+ if (!(message.paymasterPostOpGasLimit && typeof message.paymasterPostOpGasLimit.length === "number" || $util.isString(message.paymasterPostOpGasLimit)))
49830
+ return "paymasterPostOpGasLimit: buffer expected";
49831
+ if (message.paymasterData != null && message.hasOwnProperty("paymasterData"))
49832
+ if (!(message.paymasterData && typeof message.paymasterData.length === "number" || $util.isString(message.paymasterData)))
49833
+ return "paymasterData: buffer expected";
49834
+ return null;
49835
+ };
49836
+
49837
+ /**
49838
+ * Creates a UserOperationV0_7 message from a plain object. Also converts values to their respective internal types.
49839
+ * @function fromObject
49840
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49841
+ * @static
49842
+ * @param {Object.<string,*>} object Plain object
49843
+ * @returns {TW.Ethereum.Proto.UserOperationV0_7} UserOperationV0_7
49844
+ */
49845
+ UserOperationV0_7.fromObject = function fromObject(object) {
49846
+ if (object instanceof $root.TW.Ethereum.Proto.UserOperationV0_7)
49847
+ return object;
49848
+ var message = new $root.TW.Ethereum.Proto.UserOperationV0_7();
49849
+ if (object.entryPoint != null)
49850
+ message.entryPoint = String(object.entryPoint);
49851
+ if (object.factory != null)
49852
+ message.factory = String(object.factory);
49853
+ if (object.factoryData != null)
49854
+ if (typeof object.factoryData === "string")
49855
+ $util.base64.decode(object.factoryData, message.factoryData = $util.newBuffer($util.base64.length(object.factoryData)), 0);
49856
+ else if (object.factoryData.length)
49857
+ message.factoryData = object.factoryData;
49858
+ if (object.sender != null)
49859
+ message.sender = String(object.sender);
49860
+ if (object.preVerificationGas != null)
49861
+ if (typeof object.preVerificationGas === "string")
49862
+ $util.base64.decode(object.preVerificationGas, message.preVerificationGas = $util.newBuffer($util.base64.length(object.preVerificationGas)), 0);
49863
+ else if (object.preVerificationGas.length)
49864
+ message.preVerificationGas = object.preVerificationGas;
49865
+ if (object.verificationGasLimit != null)
49866
+ if (typeof object.verificationGasLimit === "string")
49867
+ $util.base64.decode(object.verificationGasLimit, message.verificationGasLimit = $util.newBuffer($util.base64.length(object.verificationGasLimit)), 0);
49868
+ else if (object.verificationGasLimit.length)
49869
+ message.verificationGasLimit = object.verificationGasLimit;
49870
+ if (object.paymaster != null)
49871
+ message.paymaster = String(object.paymaster);
49872
+ if (object.paymasterVerificationGasLimit != null)
49873
+ if (typeof object.paymasterVerificationGasLimit === "string")
49874
+ $util.base64.decode(object.paymasterVerificationGasLimit, message.paymasterVerificationGasLimit = $util.newBuffer($util.base64.length(object.paymasterVerificationGasLimit)), 0);
49875
+ else if (object.paymasterVerificationGasLimit.length)
49876
+ message.paymasterVerificationGasLimit = object.paymasterVerificationGasLimit;
49877
+ if (object.paymasterPostOpGasLimit != null)
49878
+ if (typeof object.paymasterPostOpGasLimit === "string")
49879
+ $util.base64.decode(object.paymasterPostOpGasLimit, message.paymasterPostOpGasLimit = $util.newBuffer($util.base64.length(object.paymasterPostOpGasLimit)), 0);
49880
+ else if (object.paymasterPostOpGasLimit.length)
49881
+ message.paymasterPostOpGasLimit = object.paymasterPostOpGasLimit;
49882
+ if (object.paymasterData != null)
49883
+ if (typeof object.paymasterData === "string")
49884
+ $util.base64.decode(object.paymasterData, message.paymasterData = $util.newBuffer($util.base64.length(object.paymasterData)), 0);
49885
+ else if (object.paymasterData.length)
49886
+ message.paymasterData = object.paymasterData;
49887
+ return message;
49888
+ };
49889
+
49890
+ /**
49891
+ * Creates a plain object from a UserOperationV0_7 message. Also converts values to other types if specified.
49892
+ * @function toObject
49893
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49894
+ * @static
49895
+ * @param {TW.Ethereum.Proto.UserOperationV0_7} message UserOperationV0_7
49896
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
49897
+ * @returns {Object.<string,*>} Plain object
49898
+ */
49899
+ UserOperationV0_7.toObject = function toObject(message, options) {
49900
+ if (!options)
49901
+ options = {};
49902
+ var object = {};
49903
+ if (options.defaults) {
49904
+ object.entryPoint = "";
49905
+ object.factory = "";
49906
+ if (options.bytes === String)
49907
+ object.factoryData = "";
49908
+ else {
49909
+ object.factoryData = [];
49910
+ if (options.bytes !== Array)
49911
+ object.factoryData = $util.newBuffer(object.factoryData);
49912
+ }
49913
+ object.sender = "";
49914
+ if (options.bytes === String)
49915
+ object.preVerificationGas = "";
49916
+ else {
49917
+ object.preVerificationGas = [];
49918
+ if (options.bytes !== Array)
49919
+ object.preVerificationGas = $util.newBuffer(object.preVerificationGas);
49920
+ }
49921
+ if (options.bytes === String)
49922
+ object.verificationGasLimit = "";
49923
+ else {
49924
+ object.verificationGasLimit = [];
49925
+ if (options.bytes !== Array)
49926
+ object.verificationGasLimit = $util.newBuffer(object.verificationGasLimit);
49927
+ }
49928
+ object.paymaster = "";
49929
+ if (options.bytes === String)
49930
+ object.paymasterVerificationGasLimit = "";
49931
+ else {
49932
+ object.paymasterVerificationGasLimit = [];
49933
+ if (options.bytes !== Array)
49934
+ object.paymasterVerificationGasLimit = $util.newBuffer(object.paymasterVerificationGasLimit);
49935
+ }
49936
+ if (options.bytes === String)
49937
+ object.paymasterPostOpGasLimit = "";
49938
+ else {
49939
+ object.paymasterPostOpGasLimit = [];
49940
+ if (options.bytes !== Array)
49941
+ object.paymasterPostOpGasLimit = $util.newBuffer(object.paymasterPostOpGasLimit);
49942
+ }
49943
+ if (options.bytes === String)
49944
+ object.paymasterData = "";
49945
+ else {
49946
+ object.paymasterData = [];
49947
+ if (options.bytes !== Array)
49948
+ object.paymasterData = $util.newBuffer(object.paymasterData);
49949
+ }
49950
+ }
49951
+ if (message.entryPoint != null && message.hasOwnProperty("entryPoint"))
49952
+ object.entryPoint = message.entryPoint;
49953
+ if (message.factory != null && message.hasOwnProperty("factory"))
49954
+ object.factory = message.factory;
49955
+ if (message.factoryData != null && message.hasOwnProperty("factoryData"))
49956
+ object.factoryData = options.bytes === String ? $util.base64.encode(message.factoryData, 0, message.factoryData.length) : options.bytes === Array ? Array.prototype.slice.call(message.factoryData) : message.factoryData;
49957
+ if (message.sender != null && message.hasOwnProperty("sender"))
49958
+ object.sender = message.sender;
49959
+ if (message.preVerificationGas != null && message.hasOwnProperty("preVerificationGas"))
49960
+ object.preVerificationGas = options.bytes === String ? $util.base64.encode(message.preVerificationGas, 0, message.preVerificationGas.length) : options.bytes === Array ? Array.prototype.slice.call(message.preVerificationGas) : message.preVerificationGas;
49961
+ if (message.verificationGasLimit != null && message.hasOwnProperty("verificationGasLimit"))
49962
+ object.verificationGasLimit = options.bytes === String ? $util.base64.encode(message.verificationGasLimit, 0, message.verificationGasLimit.length) : options.bytes === Array ? Array.prototype.slice.call(message.verificationGasLimit) : message.verificationGasLimit;
49963
+ if (message.paymaster != null && message.hasOwnProperty("paymaster"))
49964
+ object.paymaster = message.paymaster;
49965
+ if (message.paymasterVerificationGasLimit != null && message.hasOwnProperty("paymasterVerificationGasLimit"))
49966
+ object.paymasterVerificationGasLimit = options.bytes === String ? $util.base64.encode(message.paymasterVerificationGasLimit, 0, message.paymasterVerificationGasLimit.length) : options.bytes === Array ? Array.prototype.slice.call(message.paymasterVerificationGasLimit) : message.paymasterVerificationGasLimit;
49967
+ if (message.paymasterPostOpGasLimit != null && message.hasOwnProperty("paymasterPostOpGasLimit"))
49968
+ object.paymasterPostOpGasLimit = options.bytes === String ? $util.base64.encode(message.paymasterPostOpGasLimit, 0, message.paymasterPostOpGasLimit.length) : options.bytes === Array ? Array.prototype.slice.call(message.paymasterPostOpGasLimit) : message.paymasterPostOpGasLimit;
49969
+ if (message.paymasterData != null && message.hasOwnProperty("paymasterData"))
49970
+ object.paymasterData = options.bytes === String ? $util.base64.encode(message.paymasterData, 0, message.paymasterData.length) : options.bytes === Array ? Array.prototype.slice.call(message.paymasterData) : message.paymasterData;
49971
+ return object;
49972
+ };
49973
+
49974
+ /**
49975
+ * Converts this UserOperationV0_7 to JSON.
49976
+ * @function toJSON
49977
+ * @memberof TW.Ethereum.Proto.UserOperationV0_7
49978
+ * @instance
49979
+ * @returns {Object.<string,*>} JSON object
49980
+ */
49981
+ UserOperationV0_7.prototype.toJSON = function toJSON() {
49982
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
49983
+ };
49984
+
49985
+ return UserOperationV0_7;
49986
+ })();
49987
+
49577
49988
  Proto.Access = (function() {
49578
49989
 
49579
49990
  /**
@@ -49791,6 +50202,7 @@
49791
50202
  * @property {Uint8Array|null} [privateKey] SigningInput privateKey
49792
50203
  * @property {TW.Ethereum.Proto.ITransaction|null} [transaction] SigningInput transaction
49793
50204
  * @property {TW.Ethereum.Proto.IUserOperation|null} [userOperation] SigningInput userOperation
50205
+ * @property {TW.Ethereum.Proto.IUserOperationV0_7|null} [userOperationV0_7] SigningInput userOperationV0_7
49794
50206
  * @property {Array.<TW.Ethereum.Proto.IAccess>|null} [accessList] SigningInput accessList
49795
50207
  */
49796
50208
 
@@ -49898,6 +50310,14 @@
49898
50310
  */
49899
50311
  SigningInput.prototype.userOperation = null;
49900
50312
 
50313
+ /**
50314
+ * SigningInput userOperationV0_7.
50315
+ * @member {TW.Ethereum.Proto.IUserOperationV0_7|null|undefined} userOperationV0_7
50316
+ * @memberof TW.Ethereum.Proto.SigningInput
50317
+ * @instance
50318
+ */
50319
+ SigningInput.prototype.userOperationV0_7 = null;
50320
+
49901
50321
  /**
49902
50322
  * SigningInput accessList.
49903
50323
  * @member {Array.<TW.Ethereum.Proto.IAccess>} accessList
@@ -49906,6 +50326,20 @@
49906
50326
  */
49907
50327
  SigningInput.prototype.accessList = $util.emptyArray;
49908
50328
 
50329
+ // OneOf field names bound to virtual getters and setters
50330
+ var $oneOfFields;
50331
+
50332
+ /**
50333
+ * SigningInput userOperationOneof.
50334
+ * @member {"userOperation"|"userOperationV0_7"|undefined} userOperationOneof
50335
+ * @memberof TW.Ethereum.Proto.SigningInput
50336
+ * @instance
50337
+ */
50338
+ Object.defineProperty(SigningInput.prototype, "userOperationOneof", {
50339
+ get: $util.oneOfGetter($oneOfFields = ["userOperation", "userOperationV0_7"]),
50340
+ set: $util.oneOfSetter($oneOfFields)
50341
+ });
50342
+
49909
50343
  /**
49910
50344
  * Creates a new SigningInput instance using the specified properties.
49911
50345
  * @function create
@@ -49955,6 +50389,8 @@
49955
50389
  if (message.accessList != null && message.accessList.length)
49956
50390
  for (var i = 0; i < message.accessList.length; ++i)
49957
50391
  $root.TW.Ethereum.Proto.Access.encode(message.accessList[i], writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
50392
+ if (message.userOperationV0_7 != null && Object.hasOwnProperty.call(message, "userOperationV0_7"))
50393
+ $root.TW.Ethereum.Proto.UserOperationV0_7.encode(message.userOperationV0_7, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
49958
50394
  return writer;
49959
50395
  };
49960
50396
 
@@ -50009,6 +50445,9 @@
50009
50445
  case 11:
50010
50446
  message.userOperation = $root.TW.Ethereum.Proto.UserOperation.decode(reader, reader.uint32());
50011
50447
  break;
50448
+ case 13:
50449
+ message.userOperationV0_7 = $root.TW.Ethereum.Proto.UserOperationV0_7.decode(reader, reader.uint32());
50450
+ break;
50012
50451
  case 12:
50013
50452
  if (!(message.accessList && message.accessList.length))
50014
50453
  message.accessList = [];
@@ -50033,6 +50472,7 @@
50033
50472
  SigningInput.verify = function verify(message) {
50034
50473
  if (typeof message !== "object" || message === null)
50035
50474
  return "object expected";
50475
+ var properties = {};
50036
50476
  if (message.chainId != null && message.hasOwnProperty("chainId"))
50037
50477
  if (!(message.chainId && typeof message.chainId.length === "number" || $util.isString(message.chainId)))
50038
50478
  return "chainId: buffer expected";
@@ -50072,9 +50512,22 @@
50072
50512
  return "transaction." + error;
50073
50513
  }
50074
50514
  if (message.userOperation != null && message.hasOwnProperty("userOperation")) {
50075
- var error = $root.TW.Ethereum.Proto.UserOperation.verify(message.userOperation);
50076
- if (error)
50077
- return "userOperation." + error;
50515
+ properties.userOperationOneof = 1;
50516
+ {
50517
+ var error = $root.TW.Ethereum.Proto.UserOperation.verify(message.userOperation);
50518
+ if (error)
50519
+ return "userOperation." + error;
50520
+ }
50521
+ }
50522
+ if (message.userOperationV0_7 != null && message.hasOwnProperty("userOperationV0_7")) {
50523
+ if (properties.userOperationOneof === 1)
50524
+ return "userOperationOneof: multiple values";
50525
+ properties.userOperationOneof = 1;
50526
+ {
50527
+ var error = $root.TW.Ethereum.Proto.UserOperationV0_7.verify(message.userOperationV0_7);
50528
+ if (error)
50529
+ return "userOperationV0_7." + error;
50530
+ }
50078
50531
  }
50079
50532
  if (message.accessList != null && message.hasOwnProperty("accessList")) {
50080
50533
  if (!Array.isArray(message.accessList))
@@ -50161,6 +50614,11 @@
50161
50614
  throw TypeError(".TW.Ethereum.Proto.SigningInput.userOperation: object expected");
50162
50615
  message.userOperation = $root.TW.Ethereum.Proto.UserOperation.fromObject(object.userOperation);
50163
50616
  }
50617
+ if (object.userOperationV0_7 != null) {
50618
+ if (typeof object.userOperationV0_7 !== "object")
50619
+ throw TypeError(".TW.Ethereum.Proto.SigningInput.userOperationV0_7: object expected");
50620
+ message.userOperationV0_7 = $root.TW.Ethereum.Proto.UserOperationV0_7.fromObject(object.userOperationV0_7);
50621
+ }
50164
50622
  if (object.accessList) {
50165
50623
  if (!Array.isArray(object.accessList))
50166
50624
  throw TypeError(".TW.Ethereum.Proto.SigningInput.accessList: array expected");
@@ -50242,7 +50700,6 @@
50242
50700
  object.privateKey = $util.newBuffer(object.privateKey);
50243
50701
  }
50244
50702
  object.transaction = null;
50245
- object.userOperation = null;
50246
50703
  }
50247
50704
  if (message.chainId != null && message.hasOwnProperty("chainId"))
50248
50705
  object.chainId = options.bytes === String ? $util.base64.encode(message.chainId, 0, message.chainId.length) : options.bytes === Array ? Array.prototype.slice.call(message.chainId) : message.chainId;
@@ -50264,13 +50721,21 @@
50264
50721
  object.privateKey = options.bytes === String ? $util.base64.encode(message.privateKey, 0, message.privateKey.length) : options.bytes === Array ? Array.prototype.slice.call(message.privateKey) : message.privateKey;
50265
50722
  if (message.transaction != null && message.hasOwnProperty("transaction"))
50266
50723
  object.transaction = $root.TW.Ethereum.Proto.Transaction.toObject(message.transaction, options);
50267
- if (message.userOperation != null && message.hasOwnProperty("userOperation"))
50724
+ if (message.userOperation != null && message.hasOwnProperty("userOperation")) {
50268
50725
  object.userOperation = $root.TW.Ethereum.Proto.UserOperation.toObject(message.userOperation, options);
50726
+ if (options.oneofs)
50727
+ object.userOperationOneof = "userOperation";
50728
+ }
50269
50729
  if (message.accessList && message.accessList.length) {
50270
50730
  object.accessList = [];
50271
50731
  for (var j = 0; j < message.accessList.length; ++j)
50272
50732
  object.accessList[j] = $root.TW.Ethereum.Proto.Access.toObject(message.accessList[j], options);
50273
50733
  }
50734
+ if (message.userOperationV0_7 != null && message.hasOwnProperty("userOperationV0_7")) {
50735
+ object.userOperationV0_7 = $root.TW.Ethereum.Proto.UserOperationV0_7.toObject(message.userOperationV0_7, options);
50736
+ if (options.oneofs)
50737
+ object.userOperationOneof = "userOperationV0_7";
50738
+ }
50274
50739
  return object;
50275
50740
  };
50276
50741
 
@@ -114086,7 +114551,7 @@
114086
114551
  * @property {Long|null} [amount] OperationPayment amount
114087
114552
  * @property {TW.Ripple.Proto.ICurrencyAmount|null} [currencyAmount] OperationPayment currencyAmount
114088
114553
  * @property {string|null} [destination] OperationPayment destination
114089
- * @property {number|null} [destinationTag] OperationPayment destinationTag
114554
+ * @property {Long|null} [destinationTag] OperationPayment destinationTag
114090
114555
  */
114091
114556
 
114092
114557
  /**
@@ -114130,11 +114595,11 @@
114130
114595
 
114131
114596
  /**
114132
114597
  * OperationPayment destinationTag.
114133
- * @member {number} destinationTag
114598
+ * @member {Long} destinationTag
114134
114599
  * @memberof TW.Ripple.Proto.OperationPayment
114135
114600
  * @instance
114136
114601
  */
114137
- OperationPayment.prototype.destinationTag = 0;
114602
+ OperationPayment.prototype.destinationTag = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
114138
114603
 
114139
114604
  // OneOf field names bound to virtual getters and setters
114140
114605
  var $oneOfFields;
@@ -114181,7 +114646,7 @@
114181
114646
  if (message.destination != null && Object.hasOwnProperty.call(message, "destination"))
114182
114647
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.destination);
114183
114648
  if (message.destinationTag != null && Object.hasOwnProperty.call(message, "destinationTag"))
114184
- writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.destinationTag);
114649
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.destinationTag);
114185
114650
  return writer;
114186
114651
  };
114187
114652
 
@@ -114213,7 +114678,7 @@
114213
114678
  message.destination = reader.string();
114214
114679
  break;
114215
114680
  case 4:
114216
- message.destinationTag = reader.uint32();
114681
+ message.destinationTag = reader.uint64();
114217
114682
  break;
114218
114683
  default:
114219
114684
  reader.skipType(tag & 7);
@@ -114254,8 +114719,8 @@
114254
114719
  if (!$util.isString(message.destination))
114255
114720
  return "destination: string expected";
114256
114721
  if (message.destinationTag != null && message.hasOwnProperty("destinationTag"))
114257
- if (!$util.isInteger(message.destinationTag))
114258
- return "destinationTag: integer expected";
114722
+ if (!$util.isInteger(message.destinationTag) && !(message.destinationTag && $util.isInteger(message.destinationTag.low) && $util.isInteger(message.destinationTag.high)))
114723
+ return "destinationTag: integer|Long expected";
114259
114724
  return null;
114260
114725
  };
114261
114726
 
@@ -114288,7 +114753,14 @@
114288
114753
  if (object.destination != null)
114289
114754
  message.destination = String(object.destination);
114290
114755
  if (object.destinationTag != null)
114291
- message.destinationTag = object.destinationTag >>> 0;
114756
+ if ($util.Long)
114757
+ (message.destinationTag = $util.Long.fromValue(object.destinationTag)).unsigned = true;
114758
+ else if (typeof object.destinationTag === "string")
114759
+ message.destinationTag = parseInt(object.destinationTag, 10);
114760
+ else if (typeof object.destinationTag === "number")
114761
+ message.destinationTag = object.destinationTag;
114762
+ else if (typeof object.destinationTag === "object")
114763
+ message.destinationTag = new $util.LongBits(object.destinationTag.low >>> 0, object.destinationTag.high >>> 0).toNumber(true);
114292
114764
  return message;
114293
114765
  };
114294
114766
 
@@ -114307,7 +114779,11 @@
114307
114779
  var object = {};
114308
114780
  if (options.defaults) {
114309
114781
  object.destination = "";
114310
- object.destinationTag = 0;
114782
+ if ($util.Long) {
114783
+ var long = new $util.Long(0, 0, true);
114784
+ object.destinationTag = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
114785
+ } else
114786
+ object.destinationTag = options.longs === String ? "0" : 0;
114311
114787
  }
114312
114788
  if (message.amount != null && message.hasOwnProperty("amount")) {
114313
114789
  if (typeof message.amount === "number")
@@ -114325,7 +114801,10 @@
114325
114801
  if (message.destination != null && message.hasOwnProperty("destination"))
114326
114802
  object.destination = message.destination;
114327
114803
  if (message.destinationTag != null && message.hasOwnProperty("destinationTag"))
114328
- object.destinationTag = message.destinationTag;
114804
+ if (typeof message.destinationTag === "number")
114805
+ object.destinationTag = options.longs === String ? String(message.destinationTag) : message.destinationTag;
114806
+ else
114807
+ object.destinationTag = options.longs === String ? $util.Long.prototype.toString.call(message.destinationTag) : options.longs === Number ? new $util.LongBits(message.destinationTag.low >>> 0, message.destinationTag.high >>> 0).toNumber(true) : message.destinationTag;
114329
114808
  return object;
114330
114809
  };
114331
114810
 
@@ -114351,9 +114830,9 @@
114351
114830
  * @interface IOperationEscrowCreate
114352
114831
  * @property {Long|null} [amount] OperationEscrowCreate amount
114353
114832
  * @property {string|null} [destination] OperationEscrowCreate destination
114354
- * @property {number|null} [destinationTag] OperationEscrowCreate destinationTag
114355
- * @property {number|null} [cancelAfter] OperationEscrowCreate cancelAfter
114356
- * @property {number|null} [finishAfter] OperationEscrowCreate finishAfter
114833
+ * @property {Long|null} [destinationTag] OperationEscrowCreate destinationTag
114834
+ * @property {Long|null} [cancelAfter] OperationEscrowCreate cancelAfter
114835
+ * @property {Long|null} [finishAfter] OperationEscrowCreate finishAfter
114357
114836
  * @property {string|null} [condition] OperationEscrowCreate condition
114358
114837
  */
114359
114838
 
@@ -114390,27 +114869,27 @@
114390
114869
 
114391
114870
  /**
114392
114871
  * OperationEscrowCreate destinationTag.
114393
- * @member {number} destinationTag
114872
+ * @member {Long} destinationTag
114394
114873
  * @memberof TW.Ripple.Proto.OperationEscrowCreate
114395
114874
  * @instance
114396
114875
  */
114397
- OperationEscrowCreate.prototype.destinationTag = 0;
114876
+ OperationEscrowCreate.prototype.destinationTag = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
114398
114877
 
114399
114878
  /**
114400
114879
  * OperationEscrowCreate cancelAfter.
114401
- * @member {number} cancelAfter
114880
+ * @member {Long} cancelAfter
114402
114881
  * @memberof TW.Ripple.Proto.OperationEscrowCreate
114403
114882
  * @instance
114404
114883
  */
114405
- OperationEscrowCreate.prototype.cancelAfter = 0;
114884
+ OperationEscrowCreate.prototype.cancelAfter = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
114406
114885
 
114407
114886
  /**
114408
114887
  * OperationEscrowCreate finishAfter.
114409
- * @member {number} finishAfter
114888
+ * @member {Long} finishAfter
114410
114889
  * @memberof TW.Ripple.Proto.OperationEscrowCreate
114411
114890
  * @instance
114412
114891
  */
114413
- OperationEscrowCreate.prototype.finishAfter = 0;
114892
+ OperationEscrowCreate.prototype.finishAfter = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
114414
114893
 
114415
114894
  /**
114416
114895
  * OperationEscrowCreate condition.
@@ -114449,11 +114928,11 @@
114449
114928
  if (message.destination != null && Object.hasOwnProperty.call(message, "destination"))
114450
114929
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.destination);
114451
114930
  if (message.destinationTag != null && Object.hasOwnProperty.call(message, "destinationTag"))
114452
- writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.destinationTag);
114931
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.destinationTag);
114453
114932
  if (message.cancelAfter != null && Object.hasOwnProperty.call(message, "cancelAfter"))
114454
- writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.cancelAfter);
114933
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.cancelAfter);
114455
114934
  if (message.finishAfter != null && Object.hasOwnProperty.call(message, "finishAfter"))
114456
- writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.finishAfter);
114935
+ writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.finishAfter);
114457
114936
  if (message.condition != null && Object.hasOwnProperty.call(message, "condition"))
114458
114937
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.condition);
114459
114938
  return writer;
@@ -114484,13 +114963,13 @@
114484
114963
  message.destination = reader.string();
114485
114964
  break;
114486
114965
  case 3:
114487
- message.destinationTag = reader.uint32();
114966
+ message.destinationTag = reader.uint64();
114488
114967
  break;
114489
114968
  case 4:
114490
- message.cancelAfter = reader.uint32();
114969
+ message.cancelAfter = reader.uint64();
114491
114970
  break;
114492
114971
  case 5:
114493
- message.finishAfter = reader.uint32();
114972
+ message.finishAfter = reader.uint64();
114494
114973
  break;
114495
114974
  case 6:
114496
114975
  message.condition = reader.string();
@@ -114521,14 +115000,14 @@
114521
115000
  if (!$util.isString(message.destination))
114522
115001
  return "destination: string expected";
114523
115002
  if (message.destinationTag != null && message.hasOwnProperty("destinationTag"))
114524
- if (!$util.isInteger(message.destinationTag))
114525
- return "destinationTag: integer expected";
115003
+ if (!$util.isInteger(message.destinationTag) && !(message.destinationTag && $util.isInteger(message.destinationTag.low) && $util.isInteger(message.destinationTag.high)))
115004
+ return "destinationTag: integer|Long expected";
114526
115005
  if (message.cancelAfter != null && message.hasOwnProperty("cancelAfter"))
114527
- if (!$util.isInteger(message.cancelAfter))
114528
- return "cancelAfter: integer expected";
115006
+ if (!$util.isInteger(message.cancelAfter) && !(message.cancelAfter && $util.isInteger(message.cancelAfter.low) && $util.isInteger(message.cancelAfter.high)))
115007
+ return "cancelAfter: integer|Long expected";
114529
115008
  if (message.finishAfter != null && message.hasOwnProperty("finishAfter"))
114530
- if (!$util.isInteger(message.finishAfter))
114531
- return "finishAfter: integer expected";
115009
+ if (!$util.isInteger(message.finishAfter) && !(message.finishAfter && $util.isInteger(message.finishAfter.low) && $util.isInteger(message.finishAfter.high)))
115010
+ return "finishAfter: integer|Long expected";
114532
115011
  if (message.condition != null && message.hasOwnProperty("condition"))
114533
115012
  if (!$util.isString(message.condition))
114534
115013
  return "condition: string expected";
@@ -114559,11 +115038,32 @@
114559
115038
  if (object.destination != null)
114560
115039
  message.destination = String(object.destination);
114561
115040
  if (object.destinationTag != null)
114562
- message.destinationTag = object.destinationTag >>> 0;
115041
+ if ($util.Long)
115042
+ (message.destinationTag = $util.Long.fromValue(object.destinationTag)).unsigned = true;
115043
+ else if (typeof object.destinationTag === "string")
115044
+ message.destinationTag = parseInt(object.destinationTag, 10);
115045
+ else if (typeof object.destinationTag === "number")
115046
+ message.destinationTag = object.destinationTag;
115047
+ else if (typeof object.destinationTag === "object")
115048
+ message.destinationTag = new $util.LongBits(object.destinationTag.low >>> 0, object.destinationTag.high >>> 0).toNumber(true);
114563
115049
  if (object.cancelAfter != null)
114564
- message.cancelAfter = object.cancelAfter >>> 0;
115050
+ if ($util.Long)
115051
+ (message.cancelAfter = $util.Long.fromValue(object.cancelAfter)).unsigned = true;
115052
+ else if (typeof object.cancelAfter === "string")
115053
+ message.cancelAfter = parseInt(object.cancelAfter, 10);
115054
+ else if (typeof object.cancelAfter === "number")
115055
+ message.cancelAfter = object.cancelAfter;
115056
+ else if (typeof object.cancelAfter === "object")
115057
+ message.cancelAfter = new $util.LongBits(object.cancelAfter.low >>> 0, object.cancelAfter.high >>> 0).toNumber(true);
114565
115058
  if (object.finishAfter != null)
114566
- message.finishAfter = object.finishAfter >>> 0;
115059
+ if ($util.Long)
115060
+ (message.finishAfter = $util.Long.fromValue(object.finishAfter)).unsigned = true;
115061
+ else if (typeof object.finishAfter === "string")
115062
+ message.finishAfter = parseInt(object.finishAfter, 10);
115063
+ else if (typeof object.finishAfter === "number")
115064
+ message.finishAfter = object.finishAfter;
115065
+ else if (typeof object.finishAfter === "object")
115066
+ message.finishAfter = new $util.LongBits(object.finishAfter.low >>> 0, object.finishAfter.high >>> 0).toNumber(true);
114567
115067
  if (object.condition != null)
114568
115068
  message.condition = String(object.condition);
114569
115069
  return message;
@@ -114589,9 +115089,21 @@
114589
115089
  } else
114590
115090
  object.amount = options.longs === String ? "0" : 0;
114591
115091
  object.destination = "";
114592
- object.destinationTag = 0;
114593
- object.cancelAfter = 0;
114594
- object.finishAfter = 0;
115092
+ if ($util.Long) {
115093
+ var long = new $util.Long(0, 0, true);
115094
+ object.destinationTag = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
115095
+ } else
115096
+ object.destinationTag = options.longs === String ? "0" : 0;
115097
+ if ($util.Long) {
115098
+ var long = new $util.Long(0, 0, true);
115099
+ object.cancelAfter = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
115100
+ } else
115101
+ object.cancelAfter = options.longs === String ? "0" : 0;
115102
+ if ($util.Long) {
115103
+ var long = new $util.Long(0, 0, true);
115104
+ object.finishAfter = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
115105
+ } else
115106
+ object.finishAfter = options.longs === String ? "0" : 0;
114595
115107
  object.condition = "";
114596
115108
  }
114597
115109
  if (message.amount != null && message.hasOwnProperty("amount"))
@@ -114602,11 +115114,20 @@
114602
115114
  if (message.destination != null && message.hasOwnProperty("destination"))
114603
115115
  object.destination = message.destination;
114604
115116
  if (message.destinationTag != null && message.hasOwnProperty("destinationTag"))
114605
- object.destinationTag = message.destinationTag;
115117
+ if (typeof message.destinationTag === "number")
115118
+ object.destinationTag = options.longs === String ? String(message.destinationTag) : message.destinationTag;
115119
+ else
115120
+ object.destinationTag = options.longs === String ? $util.Long.prototype.toString.call(message.destinationTag) : options.longs === Number ? new $util.LongBits(message.destinationTag.low >>> 0, message.destinationTag.high >>> 0).toNumber(true) : message.destinationTag;
114606
115121
  if (message.cancelAfter != null && message.hasOwnProperty("cancelAfter"))
114607
- object.cancelAfter = message.cancelAfter;
115122
+ if (typeof message.cancelAfter === "number")
115123
+ object.cancelAfter = options.longs === String ? String(message.cancelAfter) : message.cancelAfter;
115124
+ else
115125
+ object.cancelAfter = options.longs === String ? $util.Long.prototype.toString.call(message.cancelAfter) : options.longs === Number ? new $util.LongBits(message.cancelAfter.low >>> 0, message.cancelAfter.high >>> 0).toNumber(true) : message.cancelAfter;
114608
115126
  if (message.finishAfter != null && message.hasOwnProperty("finishAfter"))
114609
- object.finishAfter = message.finishAfter;
115127
+ if (typeof message.finishAfter === "number")
115128
+ object.finishAfter = options.longs === String ? String(message.finishAfter) : message.finishAfter;
115129
+ else
115130
+ object.finishAfter = options.longs === String ? $util.Long.prototype.toString.call(message.finishAfter) : options.longs === Number ? new $util.LongBits(message.finishAfter.low >>> 0, message.finishAfter.high >>> 0).toNumber(true) : message.finishAfter;
114610
115131
  if (message.condition != null && message.hasOwnProperty("condition"))
114611
115132
  object.condition = message.condition;
114612
115133
  return object;
@@ -115713,7 +116234,7 @@
115713
116234
  * @property {number|null} [sequence] SigningInput sequence
115714
116235
  * @property {number|null} [lastLedgerSequence] SigningInput lastLedgerSequence
115715
116236
  * @property {string|null} [account] SigningInput account
115716
- * @property {number|null} [flags] SigningInput flags
116237
+ * @property {Long|null} [flags] SigningInput flags
115717
116238
  * @property {Uint8Array|null} [privateKey] SigningInput privateKey
115718
116239
  * @property {TW.Ripple.Proto.IOperationTrustSet|null} [opTrustSet] SigningInput opTrustSet
115719
116240
  * @property {TW.Ripple.Proto.IOperationPayment|null} [opPayment] SigningInput opPayment
@@ -115726,7 +116247,7 @@
115726
116247
  * @property {TW.Ripple.Proto.IOperationEscrowFinish|null} [opEscrowFinish] SigningInput opEscrowFinish
115727
116248
  * @property {Uint8Array|null} [publicKey] SigningInput publicKey
115728
116249
  * @property {string|null} [rawJson] SigningInput rawJson
115729
- * @property {number|null} [sourceTag] SigningInput sourceTag
116250
+ * @property {Long|null} [sourceTag] SigningInput sourceTag
115730
116251
  */
115731
116252
 
115732
116253
  /**
@@ -115778,11 +116299,11 @@
115778
116299
 
115779
116300
  /**
115780
116301
  * SigningInput flags.
115781
- * @member {number} flags
116302
+ * @member {Long} flags
115782
116303
  * @memberof TW.Ripple.Proto.SigningInput
115783
116304
  * @instance
115784
116305
  */
115785
- SigningInput.prototype.flags = 0;
116306
+ SigningInput.prototype.flags = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
115786
116307
 
115787
116308
  /**
115788
116309
  * SigningInput privateKey.
@@ -115882,11 +116403,11 @@
115882
116403
 
115883
116404
  /**
115884
116405
  * SigningInput sourceTag.
115885
- * @member {number} sourceTag
116406
+ * @member {Long} sourceTag
115886
116407
  * @memberof TW.Ripple.Proto.SigningInput
115887
116408
  * @instance
115888
116409
  */
115889
- SigningInput.prototype.sourceTag = 0;
116410
+ SigningInput.prototype.sourceTag = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
115890
116411
 
115891
116412
  // OneOf field names bound to virtual getters and setters
115892
116413
  var $oneOfFields;
@@ -115935,7 +116456,7 @@
115935
116456
  if (message.account != null && Object.hasOwnProperty.call(message, "account"))
115936
116457
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.account);
115937
116458
  if (message.flags != null && Object.hasOwnProperty.call(message, "flags"))
115938
- writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.flags);
116459
+ writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.flags);
115939
116460
  if (message.privateKey != null && Object.hasOwnProperty.call(message, "privateKey"))
115940
116461
  writer.uint32(/* id 6, wireType 2 =*/50).bytes(message.privateKey);
115941
116462
  if (message.opTrustSet != null && Object.hasOwnProperty.call(message, "opTrustSet"))
@@ -115961,7 +116482,7 @@
115961
116482
  if (message.rawJson != null && Object.hasOwnProperty.call(message, "rawJson"))
115962
116483
  writer.uint32(/* id 20, wireType 2 =*/162).string(message.rawJson);
115963
116484
  if (message.sourceTag != null && Object.hasOwnProperty.call(message, "sourceTag"))
115964
- writer.uint32(/* id 25, wireType 0 =*/200).uint32(message.sourceTag);
116485
+ writer.uint32(/* id 25, wireType 0 =*/200).uint64(message.sourceTag);
115965
116486
  return writer;
115966
116487
  };
115967
116488
 
@@ -115996,7 +116517,7 @@
115996
116517
  message.account = reader.string();
115997
116518
  break;
115998
116519
  case 5:
115999
- message.flags = reader.uint32();
116520
+ message.flags = reader.uint64();
116000
116521
  break;
116001
116522
  case 6:
116002
116523
  message.privateKey = reader.bytes();
@@ -116035,7 +116556,7 @@
116035
116556
  message.rawJson = reader.string();
116036
116557
  break;
116037
116558
  case 25:
116038
- message.sourceTag = reader.uint32();
116559
+ message.sourceTag = reader.uint64();
116039
116560
  break;
116040
116561
  default:
116041
116562
  reader.skipType(tag & 7);
@@ -116070,8 +116591,8 @@
116070
116591
  if (!$util.isString(message.account))
116071
116592
  return "account: string expected";
116072
116593
  if (message.flags != null && message.hasOwnProperty("flags"))
116073
- if (!$util.isInteger(message.flags))
116074
- return "flags: integer expected";
116594
+ if (!$util.isInteger(message.flags) && !(message.flags && $util.isInteger(message.flags.low) && $util.isInteger(message.flags.high)))
116595
+ return "flags: integer|Long expected";
116075
116596
  if (message.privateKey != null && message.hasOwnProperty("privateKey"))
116076
116597
  if (!(message.privateKey && typeof message.privateKey.length === "number" || $util.isString(message.privateKey)))
116077
116598
  return "privateKey: buffer expected";
@@ -116170,8 +116691,8 @@
116170
116691
  if (!$util.isString(message.rawJson))
116171
116692
  return "rawJson: string expected";
116172
116693
  if (message.sourceTag != null && message.hasOwnProperty("sourceTag"))
116173
- if (!$util.isInteger(message.sourceTag))
116174
- return "sourceTag: integer expected";
116694
+ if (!$util.isInteger(message.sourceTag) && !(message.sourceTag && $util.isInteger(message.sourceTag.low) && $util.isInteger(message.sourceTag.high)))
116695
+ return "sourceTag: integer|Long expected";
116175
116696
  return null;
116176
116697
  };
116177
116698
 
@@ -116203,7 +116724,14 @@
116203
116724
  if (object.account != null)
116204
116725
  message.account = String(object.account);
116205
116726
  if (object.flags != null)
116206
- message.flags = object.flags >>> 0;
116727
+ if ($util.Long)
116728
+ (message.flags = $util.Long.fromValue(object.flags)).unsigned = true;
116729
+ else if (typeof object.flags === "string")
116730
+ message.flags = parseInt(object.flags, 10);
116731
+ else if (typeof object.flags === "number")
116732
+ message.flags = object.flags;
116733
+ else if (typeof object.flags === "object")
116734
+ message.flags = new $util.LongBits(object.flags.low >>> 0, object.flags.high >>> 0).toNumber(true);
116207
116735
  if (object.privateKey != null)
116208
116736
  if (typeof object.privateKey === "string")
116209
116737
  $util.base64.decode(object.privateKey, message.privateKey = $util.newBuffer($util.base64.length(object.privateKey)), 0);
@@ -116262,7 +116790,14 @@
116262
116790
  if (object.rawJson != null)
116263
116791
  message.rawJson = String(object.rawJson);
116264
116792
  if (object.sourceTag != null)
116265
- message.sourceTag = object.sourceTag >>> 0;
116793
+ if ($util.Long)
116794
+ (message.sourceTag = $util.Long.fromValue(object.sourceTag)).unsigned = true;
116795
+ else if (typeof object.sourceTag === "string")
116796
+ message.sourceTag = parseInt(object.sourceTag, 10);
116797
+ else if (typeof object.sourceTag === "number")
116798
+ message.sourceTag = object.sourceTag;
116799
+ else if (typeof object.sourceTag === "object")
116800
+ message.sourceTag = new $util.LongBits(object.sourceTag.low >>> 0, object.sourceTag.high >>> 0).toNumber(true);
116266
116801
  return message;
116267
116802
  };
116268
116803
 
@@ -116288,7 +116823,11 @@
116288
116823
  object.sequence = 0;
116289
116824
  object.lastLedgerSequence = 0;
116290
116825
  object.account = "";
116291
- object.flags = 0;
116826
+ if ($util.Long) {
116827
+ var long = new $util.Long(0, 0, true);
116828
+ object.flags = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
116829
+ } else
116830
+ object.flags = options.longs === String ? "0" : 0;
116292
116831
  if (options.bytes === String)
116293
116832
  object.privateKey = "";
116294
116833
  else {
@@ -116304,7 +116843,11 @@
116304
116843
  object.publicKey = $util.newBuffer(object.publicKey);
116305
116844
  }
116306
116845
  object.rawJson = "";
116307
- object.sourceTag = 0;
116846
+ if ($util.Long) {
116847
+ var long = new $util.Long(0, 0, true);
116848
+ object.sourceTag = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
116849
+ } else
116850
+ object.sourceTag = options.longs === String ? "0" : 0;
116308
116851
  }
116309
116852
  if (message.fee != null && message.hasOwnProperty("fee"))
116310
116853
  if (typeof message.fee === "number")
@@ -116318,7 +116861,10 @@
116318
116861
  if (message.account != null && message.hasOwnProperty("account"))
116319
116862
  object.account = message.account;
116320
116863
  if (message.flags != null && message.hasOwnProperty("flags"))
116321
- object.flags = message.flags;
116864
+ if (typeof message.flags === "number")
116865
+ object.flags = options.longs === String ? String(message.flags) : message.flags;
116866
+ else
116867
+ object.flags = options.longs === String ? $util.Long.prototype.toString.call(message.flags) : options.longs === Number ? new $util.LongBits(message.flags.low >>> 0, message.flags.high >>> 0).toNumber(true) : message.flags;
116322
116868
  if (message.privateKey != null && message.hasOwnProperty("privateKey"))
116323
116869
  object.privateKey = options.bytes === String ? $util.base64.encode(message.privateKey, 0, message.privateKey.length) : options.bytes === Array ? Array.prototype.slice.call(message.privateKey) : message.privateKey;
116324
116870
  if (message.opTrustSet != null && message.hasOwnProperty("opTrustSet")) {
@@ -116371,7 +116917,10 @@
116371
116917
  if (message.rawJson != null && message.hasOwnProperty("rawJson"))
116372
116918
  object.rawJson = message.rawJson;
116373
116919
  if (message.sourceTag != null && message.hasOwnProperty("sourceTag"))
116374
- object.sourceTag = message.sourceTag;
116920
+ if (typeof message.sourceTag === "number")
116921
+ object.sourceTag = options.longs === String ? String(message.sourceTag) : message.sourceTag;
116922
+ else
116923
+ object.sourceTag = options.longs === String ? $util.Long.prototype.toString.call(message.sourceTag) : options.longs === Number ? new $util.LongBits(message.sourceTag.low >>> 0, message.sourceTag.high >>> 0).toNumber(true) : message.sourceTag;
116375
116924
  return object;
116376
116925
  };
116377
116926