@trustwallet/wallet-core 4.1.8 → 4.1.10

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.
@@ -7759,99 +7759,254 @@ export namespace TW {
7759
7759
  V2 = 2
7760
7760
  }
7761
7761
 
7762
- /** Properties of a SigningInput. */
7763
- interface ISigningInput {
7762
+ /** Properties of a TransactionBuilder. */
7763
+ interface ITransactionBuilder {
7764
7764
 
7765
- /** SigningInput version */
7765
+ /** TransactionBuilder version */
7766
7766
  version?: (TW.BitcoinV2.Proto.TransactionVersion|null);
7767
7767
 
7768
- /** SigningInput privateKeys */
7769
- privateKeys?: (Uint8Array[]|null);
7770
-
7771
- /** SigningInput publicKeys */
7772
- publicKeys?: (Uint8Array[]|null);
7773
-
7774
- /** SigningInput lockTime */
7768
+ /** TransactionBuilder lockTime */
7775
7769
  lockTime?: (number|null);
7776
7770
 
7777
- /** SigningInput inputs */
7771
+ /** TransactionBuilder inputs */
7778
7772
  inputs?: (TW.BitcoinV2.Proto.IInput[]|null);
7779
7773
 
7780
- /** SigningInput outputs */
7774
+ /** TransactionBuilder outputs */
7781
7775
  outputs?: (TW.BitcoinV2.Proto.IOutput[]|null);
7782
7776
 
7783
- /** SigningInput inputSelector */
7777
+ /** TransactionBuilder inputSelector */
7784
7778
  inputSelector?: (TW.BitcoinV2.Proto.InputSelector|null);
7785
7779
 
7786
- /** SigningInput feePerVb */
7780
+ /** TransactionBuilder feePerVb */
7787
7781
  feePerVb?: (Long|null);
7788
7782
 
7789
- /** SigningInput changeOutput */
7783
+ /** TransactionBuilder changeOutput */
7790
7784
  changeOutput?: (TW.BitcoinV2.Proto.IOutput|null);
7791
7785
 
7792
- /** SigningInput maxAmountOutput */
7786
+ /** TransactionBuilder maxAmountOutput */
7793
7787
  maxAmountOutput?: (TW.BitcoinV2.Proto.IOutput|null);
7794
7788
 
7795
- /** SigningInput chainInfo */
7796
- chainInfo?: (TW.BitcoinV2.Proto.IChainInfo|null);
7797
-
7798
- /** SigningInput fixedDustThreshold */
7789
+ /** TransactionBuilder fixedDustThreshold */
7799
7790
  fixedDustThreshold?: (Long|null);
7800
-
7801
- /** SigningInput dangerousUseFixedSchnorrRng */
7802
- dangerousUseFixedSchnorrRng?: (boolean|null);
7803
7791
  }
7804
7792
 
7805
- /** Represents a SigningInput. */
7806
- class SigningInput implements ISigningInput {
7793
+ /** Represents a TransactionBuilder. */
7794
+ class TransactionBuilder implements ITransactionBuilder {
7807
7795
 
7808
7796
  /**
7809
- * Constructs a new SigningInput.
7797
+ * Constructs a new TransactionBuilder.
7810
7798
  * @param [properties] Properties to set
7811
7799
  */
7812
- constructor(properties?: TW.BitcoinV2.Proto.ISigningInput);
7800
+ constructor(properties?: TW.BitcoinV2.Proto.ITransactionBuilder);
7813
7801
 
7814
- /** SigningInput version. */
7802
+ /** TransactionBuilder version. */
7815
7803
  public version: TW.BitcoinV2.Proto.TransactionVersion;
7816
7804
 
7817
- /** SigningInput privateKeys. */
7818
- public privateKeys: Uint8Array[];
7819
-
7820
- /** SigningInput publicKeys. */
7821
- public publicKeys: Uint8Array[];
7822
-
7823
- /** SigningInput lockTime. */
7805
+ /** TransactionBuilder lockTime. */
7824
7806
  public lockTime: number;
7825
7807
 
7826
- /** SigningInput inputs. */
7808
+ /** TransactionBuilder inputs. */
7827
7809
  public inputs: TW.BitcoinV2.Proto.IInput[];
7828
7810
 
7829
- /** SigningInput outputs. */
7811
+ /** TransactionBuilder outputs. */
7830
7812
  public outputs: TW.BitcoinV2.Proto.IOutput[];
7831
7813
 
7832
- /** SigningInput inputSelector. */
7814
+ /** TransactionBuilder inputSelector. */
7833
7815
  public inputSelector: TW.BitcoinV2.Proto.InputSelector;
7834
7816
 
7835
- /** SigningInput feePerVb. */
7817
+ /** TransactionBuilder feePerVb. */
7836
7818
  public feePerVb: Long;
7837
7819
 
7838
- /** SigningInput changeOutput. */
7820
+ /** TransactionBuilder changeOutput. */
7839
7821
  public changeOutput?: (TW.BitcoinV2.Proto.IOutput|null);
7840
7822
 
7841
- /** SigningInput maxAmountOutput. */
7823
+ /** TransactionBuilder maxAmountOutput. */
7842
7824
  public maxAmountOutput?: (TW.BitcoinV2.Proto.IOutput|null);
7843
7825
 
7826
+ /** TransactionBuilder fixedDustThreshold. */
7827
+ public fixedDustThreshold?: (Long|null);
7828
+
7829
+ /** TransactionBuilder dustPolicy. */
7830
+ public dustPolicy?: "fixedDustThreshold";
7831
+
7832
+ /**
7833
+ * Creates a new TransactionBuilder instance using the specified properties.
7834
+ * @param [properties] Properties to set
7835
+ * @returns TransactionBuilder instance
7836
+ */
7837
+ public static create(properties?: TW.BitcoinV2.Proto.ITransactionBuilder): TW.BitcoinV2.Proto.TransactionBuilder;
7838
+
7839
+ /**
7840
+ * Encodes the specified TransactionBuilder message. Does not implicitly {@link TW.BitcoinV2.Proto.TransactionBuilder.verify|verify} messages.
7841
+ * @param message TransactionBuilder message or plain object to encode
7842
+ * @param [writer] Writer to encode to
7843
+ * @returns Writer
7844
+ */
7845
+ public static encode(message: TW.BitcoinV2.Proto.ITransactionBuilder, writer?: $protobuf.Writer): $protobuf.Writer;
7846
+
7847
+ /**
7848
+ * Decodes a TransactionBuilder message from the specified reader or buffer.
7849
+ * @param reader Reader or buffer to decode from
7850
+ * @param [length] Message length if known beforehand
7851
+ * @returns TransactionBuilder
7852
+ * @throws {Error} If the payload is not a reader or valid buffer
7853
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7854
+ */
7855
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BitcoinV2.Proto.TransactionBuilder;
7856
+
7857
+ /**
7858
+ * Verifies a TransactionBuilder message.
7859
+ * @param message Plain object to verify
7860
+ * @returns `null` if valid, otherwise the reason why it is not
7861
+ */
7862
+ public static verify(message: { [k: string]: any }): (string|null);
7863
+
7864
+ /**
7865
+ * Creates a TransactionBuilder message from a plain object. Also converts values to their respective internal types.
7866
+ * @param object Plain object
7867
+ * @returns TransactionBuilder
7868
+ */
7869
+ public static fromObject(object: { [k: string]: any }): TW.BitcoinV2.Proto.TransactionBuilder;
7870
+
7871
+ /**
7872
+ * Creates a plain object from a TransactionBuilder message. Also converts values to other types if specified.
7873
+ * @param message TransactionBuilder
7874
+ * @param [options] Conversion options
7875
+ * @returns Plain object
7876
+ */
7877
+ public static toObject(message: TW.BitcoinV2.Proto.TransactionBuilder, options?: $protobuf.IConversionOptions): { [k: string]: any };
7878
+
7879
+ /**
7880
+ * Converts this TransactionBuilder to JSON.
7881
+ * @returns JSON object
7882
+ */
7883
+ public toJSON(): { [k: string]: any };
7884
+ }
7885
+
7886
+ /** Properties of a Psbt. */
7887
+ interface IPsbt {
7888
+
7889
+ /** Psbt psbt */
7890
+ psbt?: (Uint8Array|null);
7891
+ }
7892
+
7893
+ /** Represents a Psbt. */
7894
+ class Psbt implements IPsbt {
7895
+
7896
+ /**
7897
+ * Constructs a new Psbt.
7898
+ * @param [properties] Properties to set
7899
+ */
7900
+ constructor(properties?: TW.BitcoinV2.Proto.IPsbt);
7901
+
7902
+ /** Psbt psbt. */
7903
+ public psbt: Uint8Array;
7904
+
7905
+ /**
7906
+ * Creates a new Psbt instance using the specified properties.
7907
+ * @param [properties] Properties to set
7908
+ * @returns Psbt instance
7909
+ */
7910
+ public static create(properties?: TW.BitcoinV2.Proto.IPsbt): TW.BitcoinV2.Proto.Psbt;
7911
+
7912
+ /**
7913
+ * Encodes the specified Psbt message. Does not implicitly {@link TW.BitcoinV2.Proto.Psbt.verify|verify} messages.
7914
+ * @param message Psbt message or plain object to encode
7915
+ * @param [writer] Writer to encode to
7916
+ * @returns Writer
7917
+ */
7918
+ public static encode(message: TW.BitcoinV2.Proto.IPsbt, writer?: $protobuf.Writer): $protobuf.Writer;
7919
+
7920
+ /**
7921
+ * Decodes a Psbt message from the specified reader or buffer.
7922
+ * @param reader Reader or buffer to decode from
7923
+ * @param [length] Message length if known beforehand
7924
+ * @returns Psbt
7925
+ * @throws {Error} If the payload is not a reader or valid buffer
7926
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7927
+ */
7928
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BitcoinV2.Proto.Psbt;
7929
+
7930
+ /**
7931
+ * Verifies a Psbt message.
7932
+ * @param message Plain object to verify
7933
+ * @returns `null` if valid, otherwise the reason why it is not
7934
+ */
7935
+ public static verify(message: { [k: string]: any }): (string|null);
7936
+
7937
+ /**
7938
+ * Creates a Psbt message from a plain object. Also converts values to their respective internal types.
7939
+ * @param object Plain object
7940
+ * @returns Psbt
7941
+ */
7942
+ public static fromObject(object: { [k: string]: any }): TW.BitcoinV2.Proto.Psbt;
7943
+
7944
+ /**
7945
+ * Creates a plain object from a Psbt message. Also converts values to other types if specified.
7946
+ * @param message Psbt
7947
+ * @param [options] Conversion options
7948
+ * @returns Plain object
7949
+ */
7950
+ public static toObject(message: TW.BitcoinV2.Proto.Psbt, options?: $protobuf.IConversionOptions): { [k: string]: any };
7951
+
7952
+ /**
7953
+ * Converts this Psbt to JSON.
7954
+ * @returns JSON object
7955
+ */
7956
+ public toJSON(): { [k: string]: any };
7957
+ }
7958
+
7959
+ /** Properties of a SigningInput. */
7960
+ interface ISigningInput {
7961
+
7962
+ /** SigningInput privateKeys */
7963
+ privateKeys?: (Uint8Array[]|null);
7964
+
7965
+ /** SigningInput publicKeys */
7966
+ publicKeys?: (Uint8Array[]|null);
7967
+
7968
+ /** SigningInput chainInfo */
7969
+ chainInfo?: (TW.BitcoinV2.Proto.IChainInfo|null);
7970
+
7971
+ /** SigningInput dangerousUseFixedSchnorrRng */
7972
+ dangerousUseFixedSchnorrRng?: (boolean|null);
7973
+
7974
+ /** SigningInput builder */
7975
+ builder?: (TW.BitcoinV2.Proto.ITransactionBuilder|null);
7976
+
7977
+ /** SigningInput psbt */
7978
+ psbt?: (TW.BitcoinV2.Proto.IPsbt|null);
7979
+ }
7980
+
7981
+ /** Represents a SigningInput. */
7982
+ class SigningInput implements ISigningInput {
7983
+
7984
+ /**
7985
+ * Constructs a new SigningInput.
7986
+ * @param [properties] Properties to set
7987
+ */
7988
+ constructor(properties?: TW.BitcoinV2.Proto.ISigningInput);
7989
+
7990
+ /** SigningInput privateKeys. */
7991
+ public privateKeys: Uint8Array[];
7992
+
7993
+ /** SigningInput publicKeys. */
7994
+ public publicKeys: Uint8Array[];
7995
+
7844
7996
  /** SigningInput chainInfo. */
7845
7997
  public chainInfo?: (TW.BitcoinV2.Proto.IChainInfo|null);
7846
7998
 
7847
- /** SigningInput fixedDustThreshold. */
7848
- public fixedDustThreshold?: (Long|null);
7849
-
7850
7999
  /** SigningInput dangerousUseFixedSchnorrRng. */
7851
8000
  public dangerousUseFixedSchnorrRng: boolean;
7852
8001
 
7853
- /** SigningInput dustPolicy. */
7854
- public dustPolicy?: "fixedDustThreshold";
8002
+ /** SigningInput builder. */
8003
+ public builder?: (TW.BitcoinV2.Proto.ITransactionBuilder|null);
8004
+
8005
+ /** SigningInput psbt. */
8006
+ public psbt?: (TW.BitcoinV2.Proto.IPsbt|null);
8007
+
8008
+ /** SigningInput transaction. */
8009
+ public transaction?: ("builder"|"psbt");
7855
8010
 
7856
8011
  /**
7857
8012
  * Creates a new SigningInput instance using the specified properties.
@@ -8577,6 +8732,9 @@ export namespace TW {
8577
8732
 
8578
8733
  /** SigningOutput fee */
8579
8734
  fee?: (Long|null);
8735
+
8736
+ /** SigningOutput psbt */
8737
+ psbt?: (TW.BitcoinV2.Proto.IPsbt|null);
8580
8738
  }
8581
8739
 
8582
8740
  /** Represents a SigningOutput. */
@@ -8612,6 +8770,9 @@ export namespace TW {
8612
8770
  /** SigningOutput fee. */
8613
8771
  public fee: Long;
8614
8772
 
8773
+ /** SigningOutput psbt. */
8774
+ public psbt?: (TW.BitcoinV2.Proto.IPsbt|null);
8775
+
8615
8776
  /**
8616
8777
  * Creates a new SigningOutput instance using the specified properties.
8617
8778
  * @param [properties] Properties to set
@@ -8665,224 +8826,6 @@ export namespace TW {
8665
8826
  */
8666
8827
  public toJSON(): { [k: string]: any };
8667
8828
  }
8668
-
8669
- /** Properties of a PsbtSigningInput. */
8670
- interface IPsbtSigningInput {
8671
-
8672
- /** PsbtSigningInput psbt */
8673
- psbt?: (Uint8Array|null);
8674
-
8675
- /** PsbtSigningInput privateKeys */
8676
- privateKeys?: (Uint8Array[]|null);
8677
-
8678
- /** PsbtSigningInput publicKeys */
8679
- publicKeys?: (Uint8Array[]|null);
8680
-
8681
- /** PsbtSigningInput chainInfo */
8682
- chainInfo?: (TW.BitcoinV2.Proto.IChainInfo|null);
8683
-
8684
- /** PsbtSigningInput dangerousUseFixedSchnorrRng */
8685
- dangerousUseFixedSchnorrRng?: (boolean|null);
8686
- }
8687
-
8688
- /** Represents a PsbtSigningInput. */
8689
- class PsbtSigningInput implements IPsbtSigningInput {
8690
-
8691
- /**
8692
- * Constructs a new PsbtSigningInput.
8693
- * @param [properties] Properties to set
8694
- */
8695
- constructor(properties?: TW.BitcoinV2.Proto.IPsbtSigningInput);
8696
-
8697
- /** PsbtSigningInput psbt. */
8698
- public psbt: Uint8Array;
8699
-
8700
- /** PsbtSigningInput privateKeys. */
8701
- public privateKeys: Uint8Array[];
8702
-
8703
- /** PsbtSigningInput publicKeys. */
8704
- public publicKeys: Uint8Array[];
8705
-
8706
- /** PsbtSigningInput chainInfo. */
8707
- public chainInfo?: (TW.BitcoinV2.Proto.IChainInfo|null);
8708
-
8709
- /** PsbtSigningInput dangerousUseFixedSchnorrRng. */
8710
- public dangerousUseFixedSchnorrRng: boolean;
8711
-
8712
- /**
8713
- * Creates a new PsbtSigningInput instance using the specified properties.
8714
- * @param [properties] Properties to set
8715
- * @returns PsbtSigningInput instance
8716
- */
8717
- public static create(properties?: TW.BitcoinV2.Proto.IPsbtSigningInput): TW.BitcoinV2.Proto.PsbtSigningInput;
8718
-
8719
- /**
8720
- * Encodes the specified PsbtSigningInput message. Does not implicitly {@link TW.BitcoinV2.Proto.PsbtSigningInput.verify|verify} messages.
8721
- * @param message PsbtSigningInput message or plain object to encode
8722
- * @param [writer] Writer to encode to
8723
- * @returns Writer
8724
- */
8725
- public static encode(message: TW.BitcoinV2.Proto.IPsbtSigningInput, writer?: $protobuf.Writer): $protobuf.Writer;
8726
-
8727
- /**
8728
- * Decodes a PsbtSigningInput message from the specified reader or buffer.
8729
- * @param reader Reader or buffer to decode from
8730
- * @param [length] Message length if known beforehand
8731
- * @returns PsbtSigningInput
8732
- * @throws {Error} If the payload is not a reader or valid buffer
8733
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
8734
- */
8735
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BitcoinV2.Proto.PsbtSigningInput;
8736
-
8737
- /**
8738
- * Verifies a PsbtSigningInput message.
8739
- * @param message Plain object to verify
8740
- * @returns `null` if valid, otherwise the reason why it is not
8741
- */
8742
- public static verify(message: { [k: string]: any }): (string|null);
8743
-
8744
- /**
8745
- * Creates a PsbtSigningInput message from a plain object. Also converts values to their respective internal types.
8746
- * @param object Plain object
8747
- * @returns PsbtSigningInput
8748
- */
8749
- public static fromObject(object: { [k: string]: any }): TW.BitcoinV2.Proto.PsbtSigningInput;
8750
-
8751
- /**
8752
- * Creates a plain object from a PsbtSigningInput message. Also converts values to other types if specified.
8753
- * @param message PsbtSigningInput
8754
- * @param [options] Conversion options
8755
- * @returns Plain object
8756
- */
8757
- public static toObject(message: TW.BitcoinV2.Proto.PsbtSigningInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
8758
-
8759
- /**
8760
- * Converts this PsbtSigningInput to JSON.
8761
- * @returns JSON object
8762
- */
8763
- public toJSON(): { [k: string]: any };
8764
- }
8765
-
8766
- /** Properties of a PsbtSigningOutput. */
8767
- interface IPsbtSigningOutput {
8768
-
8769
- /** PsbtSigningOutput error */
8770
- error?: (TW.Common.Proto.SigningError|null);
8771
-
8772
- /** PsbtSigningOutput errorMessage */
8773
- errorMessage?: (string|null);
8774
-
8775
- /** PsbtSigningOutput transaction */
8776
- transaction?: (TW.BitcoinV2.Proto.ITransaction|null);
8777
-
8778
- /** PsbtSigningOutput encoded */
8779
- encoded?: (Uint8Array|null);
8780
-
8781
- /** PsbtSigningOutput txid */
8782
- txid?: (Uint8Array|null);
8783
-
8784
- /** PsbtSigningOutput vsize */
8785
- vsize?: (Long|null);
8786
-
8787
- /** PsbtSigningOutput weight */
8788
- weight?: (Long|null);
8789
-
8790
- /** PsbtSigningOutput fee */
8791
- fee?: (Long|null);
8792
-
8793
- /** PsbtSigningOutput psbt */
8794
- psbt?: (Uint8Array|null);
8795
- }
8796
-
8797
- /** Represents a PsbtSigningOutput. */
8798
- class PsbtSigningOutput implements IPsbtSigningOutput {
8799
-
8800
- /**
8801
- * Constructs a new PsbtSigningOutput.
8802
- * @param [properties] Properties to set
8803
- */
8804
- constructor(properties?: TW.BitcoinV2.Proto.IPsbtSigningOutput);
8805
-
8806
- /** PsbtSigningOutput error. */
8807
- public error: TW.Common.Proto.SigningError;
8808
-
8809
- /** PsbtSigningOutput errorMessage. */
8810
- public errorMessage: string;
8811
-
8812
- /** PsbtSigningOutput transaction. */
8813
- public transaction?: (TW.BitcoinV2.Proto.ITransaction|null);
8814
-
8815
- /** PsbtSigningOutput encoded. */
8816
- public encoded: Uint8Array;
8817
-
8818
- /** PsbtSigningOutput txid. */
8819
- public txid: Uint8Array;
8820
-
8821
- /** PsbtSigningOutput vsize. */
8822
- public vsize: Long;
8823
-
8824
- /** PsbtSigningOutput weight. */
8825
- public weight: Long;
8826
-
8827
- /** PsbtSigningOutput fee. */
8828
- public fee: Long;
8829
-
8830
- /** PsbtSigningOutput psbt. */
8831
- public psbt: Uint8Array;
8832
-
8833
- /**
8834
- * Creates a new PsbtSigningOutput instance using the specified properties.
8835
- * @param [properties] Properties to set
8836
- * @returns PsbtSigningOutput instance
8837
- */
8838
- public static create(properties?: TW.BitcoinV2.Proto.IPsbtSigningOutput): TW.BitcoinV2.Proto.PsbtSigningOutput;
8839
-
8840
- /**
8841
- * Encodes the specified PsbtSigningOutput message. Does not implicitly {@link TW.BitcoinV2.Proto.PsbtSigningOutput.verify|verify} messages.
8842
- * @param message PsbtSigningOutput message or plain object to encode
8843
- * @param [writer] Writer to encode to
8844
- * @returns Writer
8845
- */
8846
- public static encode(message: TW.BitcoinV2.Proto.IPsbtSigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
8847
-
8848
- /**
8849
- * Decodes a PsbtSigningOutput message from the specified reader or buffer.
8850
- * @param reader Reader or buffer to decode from
8851
- * @param [length] Message length if known beforehand
8852
- * @returns PsbtSigningOutput
8853
- * @throws {Error} If the payload is not a reader or valid buffer
8854
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
8855
- */
8856
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BitcoinV2.Proto.PsbtSigningOutput;
8857
-
8858
- /**
8859
- * Verifies a PsbtSigningOutput message.
8860
- * @param message Plain object to verify
8861
- * @returns `null` if valid, otherwise the reason why it is not
8862
- */
8863
- public static verify(message: { [k: string]: any }): (string|null);
8864
-
8865
- /**
8866
- * Creates a PsbtSigningOutput message from a plain object. Also converts values to their respective internal types.
8867
- * @param object Plain object
8868
- * @returns PsbtSigningOutput
8869
- */
8870
- public static fromObject(object: { [k: string]: any }): TW.BitcoinV2.Proto.PsbtSigningOutput;
8871
-
8872
- /**
8873
- * Creates a plain object from a PsbtSigningOutput message. Also converts values to other types if specified.
8874
- * @param message PsbtSigningOutput
8875
- * @param [options] Conversion options
8876
- * @returns Plain object
8877
- */
8878
- public static toObject(message: TW.BitcoinV2.Proto.PsbtSigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
8879
-
8880
- /**
8881
- * Converts this PsbtSigningOutput to JSON.
8882
- * @returns JSON object
8883
- */
8884
- public toJSON(): { [k: string]: any };
8885
- }
8886
8829
  }
8887
8830
  }
8888
8831
 
@@ -40978,11 +40921,14 @@ export namespace TW {
40978
40921
  /** Transfer bounceable */
40979
40922
  bounceable?: (boolean|null);
40980
40923
 
40924
+ /** Transfer stateInit */
40925
+ stateInit?: (string|null);
40926
+
40981
40927
  /** Transfer jettonTransfer */
40982
40928
  jettonTransfer?: (TW.TheOpenNetwork.Proto.IJettonTransfer|null);
40983
40929
 
40984
40930
  /** Transfer customPayload */
40985
- customPayload?: (TW.TheOpenNetwork.Proto.ICustomPayload|null);
40931
+ customPayload?: (string|null);
40986
40932
  }
40987
40933
 
40988
40934
  /** Represents a Transfer. */
@@ -41009,11 +40955,14 @@ export namespace TW {
41009
40955
  /** Transfer bounceable. */
41010
40956
  public bounceable: boolean;
41011
40957
 
40958
+ /** Transfer stateInit. */
40959
+ public stateInit: string;
40960
+
41012
40961
  /** Transfer jettonTransfer. */
41013
40962
  public jettonTransfer?: (TW.TheOpenNetwork.Proto.IJettonTransfer|null);
41014
40963
 
41015
40964
  /** Transfer customPayload. */
41016
- public customPayload?: (TW.TheOpenNetwork.Proto.ICustomPayload|null);
40965
+ public customPayload?: (string|null);
41017
40966
 
41018
40967
  /** Transfer payload. */
41019
40968
  public payload?: ("jettonTransfer"|"customPayload");
@@ -41089,6 +41038,9 @@ export namespace TW {
41089
41038
 
41090
41039
  /** JettonTransfer forwardAmount */
41091
41040
  forwardAmount?: (Long|null);
41041
+
41042
+ /** JettonTransfer customPayload */
41043
+ customPayload?: (string|null);
41092
41044
  }
41093
41045
 
41094
41046
  /** Represents a JettonTransfer. */
@@ -41115,6 +41067,9 @@ export namespace TW {
41115
41067
  /** JettonTransfer forwardAmount. */
41116
41068
  public forwardAmount: Long;
41117
41069
 
41070
+ /** JettonTransfer customPayload. */
41071
+ public customPayload: string;
41072
+
41118
41073
  /**
41119
41074
  * Creates a new JettonTransfer instance using the specified properties.
41120
41075
  * @param [properties] Properties to set
@@ -41169,85 +41124,6 @@ export namespace TW {
41169
41124
  public toJSON(): { [k: string]: any };
41170
41125
  }
41171
41126
 
41172
- /** Properties of a CustomPayload. */
41173
- interface ICustomPayload {
41174
-
41175
- /** CustomPayload stateInit */
41176
- stateInit?: (string|null);
41177
-
41178
- /** CustomPayload payload */
41179
- payload?: (string|null);
41180
- }
41181
-
41182
- /** Represents a CustomPayload. */
41183
- class CustomPayload implements ICustomPayload {
41184
-
41185
- /**
41186
- * Constructs a new CustomPayload.
41187
- * @param [properties] Properties to set
41188
- */
41189
- constructor(properties?: TW.TheOpenNetwork.Proto.ICustomPayload);
41190
-
41191
- /** CustomPayload stateInit. */
41192
- public stateInit: string;
41193
-
41194
- /** CustomPayload payload. */
41195
- public payload: string;
41196
-
41197
- /**
41198
- * Creates a new CustomPayload instance using the specified properties.
41199
- * @param [properties] Properties to set
41200
- * @returns CustomPayload instance
41201
- */
41202
- public static create(properties?: TW.TheOpenNetwork.Proto.ICustomPayload): TW.TheOpenNetwork.Proto.CustomPayload;
41203
-
41204
- /**
41205
- * Encodes the specified CustomPayload message. Does not implicitly {@link TW.TheOpenNetwork.Proto.CustomPayload.verify|verify} messages.
41206
- * @param message CustomPayload message or plain object to encode
41207
- * @param [writer] Writer to encode to
41208
- * @returns Writer
41209
- */
41210
- public static encode(message: TW.TheOpenNetwork.Proto.ICustomPayload, writer?: $protobuf.Writer): $protobuf.Writer;
41211
-
41212
- /**
41213
- * Decodes a CustomPayload message from the specified reader or buffer.
41214
- * @param reader Reader or buffer to decode from
41215
- * @param [length] Message length if known beforehand
41216
- * @returns CustomPayload
41217
- * @throws {Error} If the payload is not a reader or valid buffer
41218
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
41219
- */
41220
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.TheOpenNetwork.Proto.CustomPayload;
41221
-
41222
- /**
41223
- * Verifies a CustomPayload message.
41224
- * @param message Plain object to verify
41225
- * @returns `null` if valid, otherwise the reason why it is not
41226
- */
41227
- public static verify(message: { [k: string]: any }): (string|null);
41228
-
41229
- /**
41230
- * Creates a CustomPayload message from a plain object. Also converts values to their respective internal types.
41231
- * @param object Plain object
41232
- * @returns CustomPayload
41233
- */
41234
- public static fromObject(object: { [k: string]: any }): TW.TheOpenNetwork.Proto.CustomPayload;
41235
-
41236
- /**
41237
- * Creates a plain object from a CustomPayload message. Also converts values to other types if specified.
41238
- * @param message CustomPayload
41239
- * @param [options] Conversion options
41240
- * @returns Plain object
41241
- */
41242
- public static toObject(message: TW.TheOpenNetwork.Proto.CustomPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
41243
-
41244
- /**
41245
- * Converts this CustomPayload to JSON.
41246
- * @returns JSON object
41247
- */
41248
- public toJSON(): { [k: string]: any };
41249
- }
41250
-
41251
41127
  /** Properties of a SigningInput. */
41252
41128
  interface ISigningInput {
41253
41129