@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.
@@ -16703,6 +16703,133 @@ export namespace TW {
16703
16703
  public toJSON(): { [k: string]: any };
16704
16704
  }
16705
16705
 
16706
+ /** Properties of a UserOperationV0_7. */
16707
+ interface IUserOperationV0_7 {
16708
+
16709
+ /** UserOperationV0_7 entryPoint */
16710
+ entryPoint?: (string|null);
16711
+
16712
+ /** UserOperationV0_7 factory */
16713
+ factory?: (string|null);
16714
+
16715
+ /** UserOperationV0_7 factoryData */
16716
+ factoryData?: (Uint8Array|null);
16717
+
16718
+ /** UserOperationV0_7 sender */
16719
+ sender?: (string|null);
16720
+
16721
+ /** UserOperationV0_7 preVerificationGas */
16722
+ preVerificationGas?: (Uint8Array|null);
16723
+
16724
+ /** UserOperationV0_7 verificationGasLimit */
16725
+ verificationGasLimit?: (Uint8Array|null);
16726
+
16727
+ /** UserOperationV0_7 paymaster */
16728
+ paymaster?: (string|null);
16729
+
16730
+ /** UserOperationV0_7 paymasterVerificationGasLimit */
16731
+ paymasterVerificationGasLimit?: (Uint8Array|null);
16732
+
16733
+ /** UserOperationV0_7 paymasterPostOpGasLimit */
16734
+ paymasterPostOpGasLimit?: (Uint8Array|null);
16735
+
16736
+ /** UserOperationV0_7 paymasterData */
16737
+ paymasterData?: (Uint8Array|null);
16738
+ }
16739
+
16740
+ /** Represents a UserOperationV0_7. */
16741
+ class UserOperationV0_7 implements IUserOperationV0_7 {
16742
+
16743
+ /**
16744
+ * Constructs a new UserOperationV0_7.
16745
+ * @param [properties] Properties to set
16746
+ */
16747
+ constructor(properties?: TW.Ethereum.Proto.IUserOperationV0_7);
16748
+
16749
+ /** UserOperationV0_7 entryPoint. */
16750
+ public entryPoint: string;
16751
+
16752
+ /** UserOperationV0_7 factory. */
16753
+ public factory: string;
16754
+
16755
+ /** UserOperationV0_7 factoryData. */
16756
+ public factoryData: Uint8Array;
16757
+
16758
+ /** UserOperationV0_7 sender. */
16759
+ public sender: string;
16760
+
16761
+ /** UserOperationV0_7 preVerificationGas. */
16762
+ public preVerificationGas: Uint8Array;
16763
+
16764
+ /** UserOperationV0_7 verificationGasLimit. */
16765
+ public verificationGasLimit: Uint8Array;
16766
+
16767
+ /** UserOperationV0_7 paymaster. */
16768
+ public paymaster: string;
16769
+
16770
+ /** UserOperationV0_7 paymasterVerificationGasLimit. */
16771
+ public paymasterVerificationGasLimit: Uint8Array;
16772
+
16773
+ /** UserOperationV0_7 paymasterPostOpGasLimit. */
16774
+ public paymasterPostOpGasLimit: Uint8Array;
16775
+
16776
+ /** UserOperationV0_7 paymasterData. */
16777
+ public paymasterData: Uint8Array;
16778
+
16779
+ /**
16780
+ * Creates a new UserOperationV0_7 instance using the specified properties.
16781
+ * @param [properties] Properties to set
16782
+ * @returns UserOperationV0_7 instance
16783
+ */
16784
+ public static create(properties?: TW.Ethereum.Proto.IUserOperationV0_7): TW.Ethereum.Proto.UserOperationV0_7;
16785
+
16786
+ /**
16787
+ * Encodes the specified UserOperationV0_7 message. Does not implicitly {@link TW.Ethereum.Proto.UserOperationV0_7.verify|verify} messages.
16788
+ * @param message UserOperationV0_7 message or plain object to encode
16789
+ * @param [writer] Writer to encode to
16790
+ * @returns Writer
16791
+ */
16792
+ public static encode(message: TW.Ethereum.Proto.IUserOperationV0_7, writer?: $protobuf.Writer): $protobuf.Writer;
16793
+
16794
+ /**
16795
+ * Decodes a UserOperationV0_7 message from the specified reader or buffer.
16796
+ * @param reader Reader or buffer to decode from
16797
+ * @param [length] Message length if known beforehand
16798
+ * @returns UserOperationV0_7
16799
+ * @throws {Error} If the payload is not a reader or valid buffer
16800
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16801
+ */
16802
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ethereum.Proto.UserOperationV0_7;
16803
+
16804
+ /**
16805
+ * Verifies a UserOperationV0_7 message.
16806
+ * @param message Plain object to verify
16807
+ * @returns `null` if valid, otherwise the reason why it is not
16808
+ */
16809
+ public static verify(message: { [k: string]: any }): (string|null);
16810
+
16811
+ /**
16812
+ * Creates a UserOperationV0_7 message from a plain object. Also converts values to their respective internal types.
16813
+ * @param object Plain object
16814
+ * @returns UserOperationV0_7
16815
+ */
16816
+ public static fromObject(object: { [k: string]: any }): TW.Ethereum.Proto.UserOperationV0_7;
16817
+
16818
+ /**
16819
+ * Creates a plain object from a UserOperationV0_7 message. Also converts values to other types if specified.
16820
+ * @param message UserOperationV0_7
16821
+ * @param [options] Conversion options
16822
+ * @returns Plain object
16823
+ */
16824
+ public static toObject(message: TW.Ethereum.Proto.UserOperationV0_7, options?: $protobuf.IConversionOptions): { [k: string]: any };
16825
+
16826
+ /**
16827
+ * Converts this UserOperationV0_7 to JSON.
16828
+ * @returns JSON object
16829
+ */
16830
+ public toJSON(): { [k: string]: any };
16831
+ }
16832
+
16706
16833
  /** Properties of an Access. */
16707
16834
  interface IAccess {
16708
16835
 
@@ -16818,6 +16945,9 @@ export namespace TW {
16818
16945
  /** SigningInput userOperation */
16819
16946
  userOperation?: (TW.Ethereum.Proto.IUserOperation|null);
16820
16947
 
16948
+ /** SigningInput userOperationV0_7 */
16949
+ userOperationV0_7?: (TW.Ethereum.Proto.IUserOperationV0_7|null);
16950
+
16821
16951
  /** SigningInput accessList */
16822
16952
  accessList?: (TW.Ethereum.Proto.IAccess[]|null);
16823
16953
  }
@@ -16864,9 +16994,15 @@ export namespace TW {
16864
16994
  /** SigningInput userOperation. */
16865
16995
  public userOperation?: (TW.Ethereum.Proto.IUserOperation|null);
16866
16996
 
16997
+ /** SigningInput userOperationV0_7. */
16998
+ public userOperationV0_7?: (TW.Ethereum.Proto.IUserOperationV0_7|null);
16999
+
16867
17000
  /** SigningInput accessList. */
16868
17001
  public accessList: TW.Ethereum.Proto.IAccess[];
16869
17002
 
17003
+ /** SigningInput userOperationOneof. */
17004
+ public userOperationOneof?: ("userOperation"|"userOperationV0_7");
17005
+
16870
17006
  /**
16871
17007
  * Creates a new SigningInput instance using the specified properties.
16872
17008
  * @param [properties] Properties to set
@@ -38755,7 +38891,7 @@ export namespace TW {
38755
38891
  destination?: (string|null);
38756
38892
 
38757
38893
  /** OperationPayment destinationTag */
38758
- destinationTag?: (number|null);
38894
+ destinationTag?: (Long|null);
38759
38895
  }
38760
38896
 
38761
38897
  /** Represents an OperationPayment. */
@@ -38777,7 +38913,7 @@ export namespace TW {
38777
38913
  public destination: string;
38778
38914
 
38779
38915
  /** OperationPayment destinationTag. */
38780
- public destinationTag: number;
38916
+ public destinationTag: Long;
38781
38917
 
38782
38918
  /** OperationPayment amountOneof. */
38783
38919
  public amountOneof?: ("amount"|"currencyAmount");
@@ -38846,13 +38982,13 @@ export namespace TW {
38846
38982
  destination?: (string|null);
38847
38983
 
38848
38984
  /** OperationEscrowCreate destinationTag */
38849
- destinationTag?: (number|null);
38985
+ destinationTag?: (Long|null);
38850
38986
 
38851
38987
  /** OperationEscrowCreate cancelAfter */
38852
- cancelAfter?: (number|null);
38988
+ cancelAfter?: (Long|null);
38853
38989
 
38854
38990
  /** OperationEscrowCreate finishAfter */
38855
- finishAfter?: (number|null);
38991
+ finishAfter?: (Long|null);
38856
38992
 
38857
38993
  /** OperationEscrowCreate condition */
38858
38994
  condition?: (string|null);
@@ -38874,13 +39010,13 @@ export namespace TW {
38874
39010
  public destination: string;
38875
39011
 
38876
39012
  /** OperationEscrowCreate destinationTag. */
38877
- public destinationTag: number;
39013
+ public destinationTag: Long;
38878
39014
 
38879
39015
  /** OperationEscrowCreate cancelAfter. */
38880
- public cancelAfter: number;
39016
+ public cancelAfter: Long;
38881
39017
 
38882
39018
  /** OperationEscrowCreate finishAfter. */
38883
- public finishAfter: number;
39019
+ public finishAfter: Long;
38884
39020
 
38885
39021
  /** OperationEscrowCreate condition. */
38886
39022
  public condition: string;
@@ -39423,7 +39559,7 @@ export namespace TW {
39423
39559
  account?: (string|null);
39424
39560
 
39425
39561
  /** SigningInput flags */
39426
- flags?: (number|null);
39562
+ flags?: (Long|null);
39427
39563
 
39428
39564
  /** SigningInput privateKey */
39429
39565
  privateKey?: (Uint8Array|null);
@@ -39462,7 +39598,7 @@ export namespace TW {
39462
39598
  rawJson?: (string|null);
39463
39599
 
39464
39600
  /** SigningInput sourceTag */
39465
- sourceTag?: (number|null);
39601
+ sourceTag?: (Long|null);
39466
39602
  }
39467
39603
 
39468
39604
  /** Represents a SigningInput. */
@@ -39487,7 +39623,7 @@ export namespace TW {
39487
39623
  public account: string;
39488
39624
 
39489
39625
  /** SigningInput flags. */
39490
- public flags: number;
39626
+ public flags: Long;
39491
39627
 
39492
39628
  /** SigningInput privateKey. */
39493
39629
  public privateKey: Uint8Array;
@@ -39526,7 +39662,7 @@ export namespace TW {
39526
39662
  public rawJson: string;
39527
39663
 
39528
39664
  /** SigningInput sourceTag. */
39529
- public sourceTag: number;
39665
+ public sourceTag: Long;
39530
39666
 
39531
39667
  /** SigningInput operationOneof. */
39532
39668
  public operationOneof?: ("opTrustSet"|"opPayment"|"opNftokenBurn"|"opNftokenCreateOffer"|"opNftokenAcceptOffer"|"opNftokenCancelOffer"|"opEscrowCreate"|"opEscrowCancel"|"opEscrowFinish");