@trustwallet/wallet-core 4.6.6 → 4.6.8

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.
@@ -4450,443 +4450,6 @@ export namespace TW {
4450
4450
  }
4451
4451
  }
4452
4452
 
4453
- /** Properties of a TokenIssueOrder. */
4454
- interface ITokenIssueOrder {
4455
-
4456
- /** TokenIssueOrder from */
4457
- from?: (Uint8Array|null);
4458
-
4459
- /** TokenIssueOrder name */
4460
- name?: (string|null);
4461
-
4462
- /** TokenIssueOrder symbol */
4463
- symbol?: (string|null);
4464
-
4465
- /** TokenIssueOrder totalSupply */
4466
- totalSupply?: (Long|null);
4467
-
4468
- /** TokenIssueOrder mintable */
4469
- mintable?: (boolean|null);
4470
- }
4471
-
4472
- /** Represents a TokenIssueOrder. */
4473
- class TokenIssueOrder implements ITokenIssueOrder {
4474
-
4475
- /**
4476
- * Constructs a new TokenIssueOrder.
4477
- * @param [properties] Properties to set
4478
- */
4479
- constructor(properties?: TW.Binance.Proto.ITokenIssueOrder);
4480
-
4481
- /** TokenIssueOrder from. */
4482
- public from: Uint8Array;
4483
-
4484
- /** TokenIssueOrder name. */
4485
- public name: string;
4486
-
4487
- /** TokenIssueOrder symbol. */
4488
- public symbol: string;
4489
-
4490
- /** TokenIssueOrder totalSupply. */
4491
- public totalSupply: Long;
4492
-
4493
- /** TokenIssueOrder mintable. */
4494
- public mintable: boolean;
4495
-
4496
- /**
4497
- * Creates a new TokenIssueOrder instance using the specified properties.
4498
- * @param [properties] Properties to set
4499
- * @returns TokenIssueOrder instance
4500
- */
4501
- public static create(properties?: TW.Binance.Proto.ITokenIssueOrder): TW.Binance.Proto.TokenIssueOrder;
4502
-
4503
- /**
4504
- * Encodes the specified TokenIssueOrder message. Does not implicitly {@link TW.Binance.Proto.TokenIssueOrder.verify|verify} messages.
4505
- * @param message TokenIssueOrder message or plain object to encode
4506
- * @param [writer] Writer to encode to
4507
- * @returns Writer
4508
- */
4509
- public static encode(message: TW.Binance.Proto.ITokenIssueOrder, writer?: $protobuf.Writer): $protobuf.Writer;
4510
-
4511
- /**
4512
- * Decodes a TokenIssueOrder message from the specified reader or buffer.
4513
- * @param reader Reader or buffer to decode from
4514
- * @param [length] Message length if known beforehand
4515
- * @returns TokenIssueOrder
4516
- * @throws {Error} If the payload is not a reader or valid buffer
4517
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4518
- */
4519
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Binance.Proto.TokenIssueOrder;
4520
-
4521
- /**
4522
- * Verifies a TokenIssueOrder message.
4523
- * @param message Plain object to verify
4524
- * @returns `null` if valid, otherwise the reason why it is not
4525
- */
4526
- public static verify(message: { [k: string]: any }): (string|null);
4527
-
4528
- /**
4529
- * Creates a TokenIssueOrder message from a plain object. Also converts values to their respective internal types.
4530
- * @param object Plain object
4531
- * @returns TokenIssueOrder
4532
- */
4533
- public static fromObject(object: { [k: string]: any }): TW.Binance.Proto.TokenIssueOrder;
4534
-
4535
- /**
4536
- * Creates a plain object from a TokenIssueOrder message. Also converts values to other types if specified.
4537
- * @param message TokenIssueOrder
4538
- * @param [options] Conversion options
4539
- * @returns Plain object
4540
- */
4541
- public static toObject(message: TW.Binance.Proto.TokenIssueOrder, options?: $protobuf.IConversionOptions): { [k: string]: any };
4542
-
4543
- /**
4544
- * Converts this TokenIssueOrder to JSON.
4545
- * @returns JSON object
4546
- */
4547
- public toJSON(): { [k: string]: any };
4548
- }
4549
-
4550
- /** Properties of a TokenMintOrder. */
4551
- interface ITokenMintOrder {
4552
-
4553
- /** TokenMintOrder from */
4554
- from?: (Uint8Array|null);
4555
-
4556
- /** TokenMintOrder symbol */
4557
- symbol?: (string|null);
4558
-
4559
- /** TokenMintOrder amount */
4560
- amount?: (Long|null);
4561
- }
4562
-
4563
- /** Represents a TokenMintOrder. */
4564
- class TokenMintOrder implements ITokenMintOrder {
4565
-
4566
- /**
4567
- * Constructs a new TokenMintOrder.
4568
- * @param [properties] Properties to set
4569
- */
4570
- constructor(properties?: TW.Binance.Proto.ITokenMintOrder);
4571
-
4572
- /** TokenMintOrder from. */
4573
- public from: Uint8Array;
4574
-
4575
- /** TokenMintOrder symbol. */
4576
- public symbol: string;
4577
-
4578
- /** TokenMintOrder amount. */
4579
- public amount: Long;
4580
-
4581
- /**
4582
- * Creates a new TokenMintOrder instance using the specified properties.
4583
- * @param [properties] Properties to set
4584
- * @returns TokenMintOrder instance
4585
- */
4586
- public static create(properties?: TW.Binance.Proto.ITokenMintOrder): TW.Binance.Proto.TokenMintOrder;
4587
-
4588
- /**
4589
- * Encodes the specified TokenMintOrder message. Does not implicitly {@link TW.Binance.Proto.TokenMintOrder.verify|verify} messages.
4590
- * @param message TokenMintOrder message or plain object to encode
4591
- * @param [writer] Writer to encode to
4592
- * @returns Writer
4593
- */
4594
- public static encode(message: TW.Binance.Proto.ITokenMintOrder, writer?: $protobuf.Writer): $protobuf.Writer;
4595
-
4596
- /**
4597
- * Decodes a TokenMintOrder message from the specified reader or buffer.
4598
- * @param reader Reader or buffer to decode from
4599
- * @param [length] Message length if known beforehand
4600
- * @returns TokenMintOrder
4601
- * @throws {Error} If the payload is not a reader or valid buffer
4602
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4603
- */
4604
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Binance.Proto.TokenMintOrder;
4605
-
4606
- /**
4607
- * Verifies a TokenMintOrder message.
4608
- * @param message Plain object to verify
4609
- * @returns `null` if valid, otherwise the reason why it is not
4610
- */
4611
- public static verify(message: { [k: string]: any }): (string|null);
4612
-
4613
- /**
4614
- * Creates a TokenMintOrder message from a plain object. Also converts values to their respective internal types.
4615
- * @param object Plain object
4616
- * @returns TokenMintOrder
4617
- */
4618
- public static fromObject(object: { [k: string]: any }): TW.Binance.Proto.TokenMintOrder;
4619
-
4620
- /**
4621
- * Creates a plain object from a TokenMintOrder message. Also converts values to other types if specified.
4622
- * @param message TokenMintOrder
4623
- * @param [options] Conversion options
4624
- * @returns Plain object
4625
- */
4626
- public static toObject(message: TW.Binance.Proto.TokenMintOrder, options?: $protobuf.IConversionOptions): { [k: string]: any };
4627
-
4628
- /**
4629
- * Converts this TokenMintOrder to JSON.
4630
- * @returns JSON object
4631
- */
4632
- public toJSON(): { [k: string]: any };
4633
- }
4634
-
4635
- /** Properties of a TokenBurnOrder. */
4636
- interface ITokenBurnOrder {
4637
-
4638
- /** TokenBurnOrder from */
4639
- from?: (Uint8Array|null);
4640
-
4641
- /** TokenBurnOrder symbol */
4642
- symbol?: (string|null);
4643
-
4644
- /** TokenBurnOrder amount */
4645
- amount?: (Long|null);
4646
- }
4647
-
4648
- /** Represents a TokenBurnOrder. */
4649
- class TokenBurnOrder implements ITokenBurnOrder {
4650
-
4651
- /**
4652
- * Constructs a new TokenBurnOrder.
4653
- * @param [properties] Properties to set
4654
- */
4655
- constructor(properties?: TW.Binance.Proto.ITokenBurnOrder);
4656
-
4657
- /** TokenBurnOrder from. */
4658
- public from: Uint8Array;
4659
-
4660
- /** TokenBurnOrder symbol. */
4661
- public symbol: string;
4662
-
4663
- /** TokenBurnOrder amount. */
4664
- public amount: Long;
4665
-
4666
- /**
4667
- * Creates a new TokenBurnOrder instance using the specified properties.
4668
- * @param [properties] Properties to set
4669
- * @returns TokenBurnOrder instance
4670
- */
4671
- public static create(properties?: TW.Binance.Proto.ITokenBurnOrder): TW.Binance.Proto.TokenBurnOrder;
4672
-
4673
- /**
4674
- * Encodes the specified TokenBurnOrder message. Does not implicitly {@link TW.Binance.Proto.TokenBurnOrder.verify|verify} messages.
4675
- * @param message TokenBurnOrder message or plain object to encode
4676
- * @param [writer] Writer to encode to
4677
- * @returns Writer
4678
- */
4679
- public static encode(message: TW.Binance.Proto.ITokenBurnOrder, writer?: $protobuf.Writer): $protobuf.Writer;
4680
-
4681
- /**
4682
- * Decodes a TokenBurnOrder message from the specified reader or buffer.
4683
- * @param reader Reader or buffer to decode from
4684
- * @param [length] Message length if known beforehand
4685
- * @returns TokenBurnOrder
4686
- * @throws {Error} If the payload is not a reader or valid buffer
4687
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4688
- */
4689
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Binance.Proto.TokenBurnOrder;
4690
-
4691
- /**
4692
- * Verifies a TokenBurnOrder message.
4693
- * @param message Plain object to verify
4694
- * @returns `null` if valid, otherwise the reason why it is not
4695
- */
4696
- public static verify(message: { [k: string]: any }): (string|null);
4697
-
4698
- /**
4699
- * Creates a TokenBurnOrder message from a plain object. Also converts values to their respective internal types.
4700
- * @param object Plain object
4701
- * @returns TokenBurnOrder
4702
- */
4703
- public static fromObject(object: { [k: string]: any }): TW.Binance.Proto.TokenBurnOrder;
4704
-
4705
- /**
4706
- * Creates a plain object from a TokenBurnOrder message. Also converts values to other types if specified.
4707
- * @param message TokenBurnOrder
4708
- * @param [options] Conversion options
4709
- * @returns Plain object
4710
- */
4711
- public static toObject(message: TW.Binance.Proto.TokenBurnOrder, options?: $protobuf.IConversionOptions): { [k: string]: any };
4712
-
4713
- /**
4714
- * Converts this TokenBurnOrder to JSON.
4715
- * @returns JSON object
4716
- */
4717
- public toJSON(): { [k: string]: any };
4718
- }
4719
-
4720
- /** Properties of a TokenFreezeOrder. */
4721
- interface ITokenFreezeOrder {
4722
-
4723
- /** TokenFreezeOrder from */
4724
- from?: (Uint8Array|null);
4725
-
4726
- /** TokenFreezeOrder symbol */
4727
- symbol?: (string|null);
4728
-
4729
- /** TokenFreezeOrder amount */
4730
- amount?: (Long|null);
4731
- }
4732
-
4733
- /** Represents a TokenFreezeOrder. */
4734
- class TokenFreezeOrder implements ITokenFreezeOrder {
4735
-
4736
- /**
4737
- * Constructs a new TokenFreezeOrder.
4738
- * @param [properties] Properties to set
4739
- */
4740
- constructor(properties?: TW.Binance.Proto.ITokenFreezeOrder);
4741
-
4742
- /** TokenFreezeOrder from. */
4743
- public from: Uint8Array;
4744
-
4745
- /** TokenFreezeOrder symbol. */
4746
- public symbol: string;
4747
-
4748
- /** TokenFreezeOrder amount. */
4749
- public amount: Long;
4750
-
4751
- /**
4752
- * Creates a new TokenFreezeOrder instance using the specified properties.
4753
- * @param [properties] Properties to set
4754
- * @returns TokenFreezeOrder instance
4755
- */
4756
- public static create(properties?: TW.Binance.Proto.ITokenFreezeOrder): TW.Binance.Proto.TokenFreezeOrder;
4757
-
4758
- /**
4759
- * Encodes the specified TokenFreezeOrder message. Does not implicitly {@link TW.Binance.Proto.TokenFreezeOrder.verify|verify} messages.
4760
- * @param message TokenFreezeOrder message or plain object to encode
4761
- * @param [writer] Writer to encode to
4762
- * @returns Writer
4763
- */
4764
- public static encode(message: TW.Binance.Proto.ITokenFreezeOrder, writer?: $protobuf.Writer): $protobuf.Writer;
4765
-
4766
- /**
4767
- * Decodes a TokenFreezeOrder message from the specified reader or buffer.
4768
- * @param reader Reader or buffer to decode from
4769
- * @param [length] Message length if known beforehand
4770
- * @returns TokenFreezeOrder
4771
- * @throws {Error} If the payload is not a reader or valid buffer
4772
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4773
- */
4774
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Binance.Proto.TokenFreezeOrder;
4775
-
4776
- /**
4777
- * Verifies a TokenFreezeOrder message.
4778
- * @param message Plain object to verify
4779
- * @returns `null` if valid, otherwise the reason why it is not
4780
- */
4781
- public static verify(message: { [k: string]: any }): (string|null);
4782
-
4783
- /**
4784
- * Creates a TokenFreezeOrder message from a plain object. Also converts values to their respective internal types.
4785
- * @param object Plain object
4786
- * @returns TokenFreezeOrder
4787
- */
4788
- public static fromObject(object: { [k: string]: any }): TW.Binance.Proto.TokenFreezeOrder;
4789
-
4790
- /**
4791
- * Creates a plain object from a TokenFreezeOrder message. Also converts values to other types if specified.
4792
- * @param message TokenFreezeOrder
4793
- * @param [options] Conversion options
4794
- * @returns Plain object
4795
- */
4796
- public static toObject(message: TW.Binance.Proto.TokenFreezeOrder, options?: $protobuf.IConversionOptions): { [k: string]: any };
4797
-
4798
- /**
4799
- * Converts this TokenFreezeOrder to JSON.
4800
- * @returns JSON object
4801
- */
4802
- public toJSON(): { [k: string]: any };
4803
- }
4804
-
4805
- /** Properties of a TokenUnfreezeOrder. */
4806
- interface ITokenUnfreezeOrder {
4807
-
4808
- /** TokenUnfreezeOrder from */
4809
- from?: (Uint8Array|null);
4810
-
4811
- /** TokenUnfreezeOrder symbol */
4812
- symbol?: (string|null);
4813
-
4814
- /** TokenUnfreezeOrder amount */
4815
- amount?: (Long|null);
4816
- }
4817
-
4818
- /** Represents a TokenUnfreezeOrder. */
4819
- class TokenUnfreezeOrder implements ITokenUnfreezeOrder {
4820
-
4821
- /**
4822
- * Constructs a new TokenUnfreezeOrder.
4823
- * @param [properties] Properties to set
4824
- */
4825
- constructor(properties?: TW.Binance.Proto.ITokenUnfreezeOrder);
4826
-
4827
- /** TokenUnfreezeOrder from. */
4828
- public from: Uint8Array;
4829
-
4830
- /** TokenUnfreezeOrder symbol. */
4831
- public symbol: string;
4832
-
4833
- /** TokenUnfreezeOrder amount. */
4834
- public amount: Long;
4835
-
4836
- /**
4837
- * Creates a new TokenUnfreezeOrder instance using the specified properties.
4838
- * @param [properties] Properties to set
4839
- * @returns TokenUnfreezeOrder instance
4840
- */
4841
- public static create(properties?: TW.Binance.Proto.ITokenUnfreezeOrder): TW.Binance.Proto.TokenUnfreezeOrder;
4842
-
4843
- /**
4844
- * Encodes the specified TokenUnfreezeOrder message. Does not implicitly {@link TW.Binance.Proto.TokenUnfreezeOrder.verify|verify} messages.
4845
- * @param message TokenUnfreezeOrder message or plain object to encode
4846
- * @param [writer] Writer to encode to
4847
- * @returns Writer
4848
- */
4849
- public static encode(message: TW.Binance.Proto.ITokenUnfreezeOrder, writer?: $protobuf.Writer): $protobuf.Writer;
4850
-
4851
- /**
4852
- * Decodes a TokenUnfreezeOrder message from the specified reader or buffer.
4853
- * @param reader Reader or buffer to decode from
4854
- * @param [length] Message length if known beforehand
4855
- * @returns TokenUnfreezeOrder
4856
- * @throws {Error} If the payload is not a reader or valid buffer
4857
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4858
- */
4859
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Binance.Proto.TokenUnfreezeOrder;
4860
-
4861
- /**
4862
- * Verifies a TokenUnfreezeOrder message.
4863
- * @param message Plain object to verify
4864
- * @returns `null` if valid, otherwise the reason why it is not
4865
- */
4866
- public static verify(message: { [k: string]: any }): (string|null);
4867
-
4868
- /**
4869
- * Creates a TokenUnfreezeOrder message from a plain object. Also converts values to their respective internal types.
4870
- * @param object Plain object
4871
- * @returns TokenUnfreezeOrder
4872
- */
4873
- public static fromObject(object: { [k: string]: any }): TW.Binance.Proto.TokenUnfreezeOrder;
4874
-
4875
- /**
4876
- * Creates a plain object from a TokenUnfreezeOrder message. Also converts values to other types if specified.
4877
- * @param message TokenUnfreezeOrder
4878
- * @param [options] Conversion options
4879
- * @returns Plain object
4880
- */
4881
- public static toObject(message: TW.Binance.Proto.TokenUnfreezeOrder, options?: $protobuf.IConversionOptions): { [k: string]: any };
4882
-
4883
- /**
4884
- * Converts this TokenUnfreezeOrder to JSON.
4885
- * @returns JSON object
4886
- */
4887
- public toJSON(): { [k: string]: any };
4888
- }
4889
-
4890
4453
  /** Properties of a HTLTOrder. */
4891
4454
  interface IHTLTOrder {
4892
4455
 
@@ -6027,12 +5590,6 @@ export namespace TW {
6027
5590
  /** SigningInput sendOrder */
6028
5591
  sendOrder?: (TW.Binance.Proto.ISendOrder|null);
6029
5592
 
6030
- /** SigningInput freezeOrder */
6031
- freezeOrder?: (TW.Binance.Proto.ITokenFreezeOrder|null);
6032
-
6033
- /** SigningInput unfreezeOrder */
6034
- unfreezeOrder?: (TW.Binance.Proto.ITokenUnfreezeOrder|null);
6035
-
6036
5593
  /** SigningInput htltOrder */
6037
5594
  htltOrder?: (TW.Binance.Proto.IHTLTOrder|null);
6038
5595
 
@@ -6045,15 +5602,6 @@ export namespace TW {
6045
5602
  /** SigningInput refundHTLTOrder */
6046
5603
  refundHTLTOrder?: (TW.Binance.Proto.IRefundHTLTOrder|null);
6047
5604
 
6048
- /** SigningInput issueOrder */
6049
- issueOrder?: (TW.Binance.Proto.ITokenIssueOrder|null);
6050
-
6051
- /** SigningInput mintOrder */
6052
- mintOrder?: (TW.Binance.Proto.ITokenMintOrder|null);
6053
-
6054
- /** SigningInput burnOrder */
6055
- burnOrder?: (TW.Binance.Proto.ITokenBurnOrder|null);
6056
-
6057
5605
  /** SigningInput transferOutOrder */
6058
5606
  transferOutOrder?: (TW.Binance.Proto.ITransferOut|null);
6059
5607
 
@@ -6115,12 +5663,6 @@ export namespace TW {
6115
5663
  /** SigningInput sendOrder. */
6116
5664
  public sendOrder?: (TW.Binance.Proto.ISendOrder|null);
6117
5665
 
6118
- /** SigningInput freezeOrder. */
6119
- public freezeOrder?: (TW.Binance.Proto.ITokenFreezeOrder|null);
6120
-
6121
- /** SigningInput unfreezeOrder. */
6122
- public unfreezeOrder?: (TW.Binance.Proto.ITokenUnfreezeOrder|null);
6123
-
6124
5666
  /** SigningInput htltOrder. */
6125
5667
  public htltOrder?: (TW.Binance.Proto.IHTLTOrder|null);
6126
5668
 
@@ -6133,15 +5675,6 @@ export namespace TW {
6133
5675
  /** SigningInput refundHTLTOrder. */
6134
5676
  public refundHTLTOrder?: (TW.Binance.Proto.IRefundHTLTOrder|null);
6135
5677
 
6136
- /** SigningInput issueOrder. */
6137
- public issueOrder?: (TW.Binance.Proto.ITokenIssueOrder|null);
6138
-
6139
- /** SigningInput mintOrder. */
6140
- public mintOrder?: (TW.Binance.Proto.ITokenMintOrder|null);
6141
-
6142
- /** SigningInput burnOrder. */
6143
- public burnOrder?: (TW.Binance.Proto.ITokenBurnOrder|null);
6144
-
6145
5678
  /** SigningInput transferOutOrder. */
6146
5679
  public transferOutOrder?: (TW.Binance.Proto.ITransferOut|null);
6147
5680
 
@@ -6167,7 +5700,7 @@ export namespace TW {
6167
5700
  public sideStakeMigrationOrder?: (TW.Binance.Proto.ISideChainStakeMigration|null);
6168
5701
 
6169
5702
  /** SigningInput orderOneof. */
6170
- public orderOneof?: ("tradeOrder"|"cancelTradeOrder"|"sendOrder"|"freezeOrder"|"unfreezeOrder"|"htltOrder"|"depositHTLTOrder"|"claimHTLTOrder"|"refundHTLTOrder"|"issueOrder"|"mintOrder"|"burnOrder"|"transferOutOrder"|"sideDelegateOrder"|"sideRedelegateOrder"|"sideUndelegateOrder"|"timeLockOrder"|"timeRelockOrder"|"timeUnlockOrder"|"sideStakeMigrationOrder");
5703
+ public orderOneof?: ("tradeOrder"|"cancelTradeOrder"|"sendOrder"|"htltOrder"|"depositHTLTOrder"|"claimHTLTOrder"|"refundHTLTOrder"|"transferOutOrder"|"sideDelegateOrder"|"sideRedelegateOrder"|"sideUndelegateOrder"|"timeLockOrder"|"timeRelockOrder"|"timeUnlockOrder"|"sideStakeMigrationOrder");
6171
5704
 
6172
5705
  /**
6173
5706
  * Creates a new SigningInput instance using the specified properties.
@@ -8820,6 +8353,9 @@ export namespace TW {
8820
8353
 
8821
8354
  /** TransactionBuilder zcashExtraData */
8822
8355
  zcashExtraData?: (TW.Zcash.Proto.ITransactionBuilderExtraData|null);
8356
+
8357
+ /** TransactionBuilder decredExtraData */
8358
+ decredExtraData?: (TW.DecredV2.Proto.ITransactionBuilderExtraData|null);
8823
8359
  }
8824
8360
 
8825
8361
  /** Represents a TransactionBuilder. */
@@ -8861,11 +8397,14 @@ export namespace TW {
8861
8397
  /** TransactionBuilder zcashExtraData. */
8862
8398
  public zcashExtraData?: (TW.Zcash.Proto.ITransactionBuilderExtraData|null);
8863
8399
 
8400
+ /** TransactionBuilder decredExtraData. */
8401
+ public decredExtraData?: (TW.DecredV2.Proto.ITransactionBuilderExtraData|null);
8402
+
8864
8403
  /** TransactionBuilder dustPolicy. */
8865
8404
  public dustPolicy?: "fixedDustThreshold";
8866
8405
 
8867
8406
  /** TransactionBuilder chainSpecific. */
8868
- public chainSpecific?: "zcashExtraData";
8407
+ public chainSpecific?: ("zcashExtraData"|"decredExtraData");
8869
8408
 
8870
8409
  /**
8871
8410
  * Creates a new TransactionBuilder instance using the specified properties.
@@ -9999,6 +9538,79 @@ export namespace TW {
9999
9538
  */
10000
9539
  public toJSON(): { [k: string]: any };
10001
9540
  }
9541
+
9542
+ /** Properties of a TransactionBuilderExtraData. */
9543
+ interface ITransactionBuilderExtraData {
9544
+
9545
+ /** TransactionBuilderExtraData expiryHeight */
9546
+ expiryHeight?: (number|null);
9547
+ }
9548
+
9549
+ /** Represents a TransactionBuilderExtraData. */
9550
+ class TransactionBuilderExtraData implements ITransactionBuilderExtraData {
9551
+
9552
+ /**
9553
+ * Constructs a new TransactionBuilderExtraData.
9554
+ * @param [properties] Properties to set
9555
+ */
9556
+ constructor(properties?: TW.DecredV2.Proto.ITransactionBuilderExtraData);
9557
+
9558
+ /** TransactionBuilderExtraData expiryHeight. */
9559
+ public expiryHeight: number;
9560
+
9561
+ /**
9562
+ * Creates a new TransactionBuilderExtraData instance using the specified properties.
9563
+ * @param [properties] Properties to set
9564
+ * @returns TransactionBuilderExtraData instance
9565
+ */
9566
+ public static create(properties?: TW.DecredV2.Proto.ITransactionBuilderExtraData): TW.DecredV2.Proto.TransactionBuilderExtraData;
9567
+
9568
+ /**
9569
+ * Encodes the specified TransactionBuilderExtraData message. Does not implicitly {@link TW.DecredV2.Proto.TransactionBuilderExtraData.verify|verify} messages.
9570
+ * @param message TransactionBuilderExtraData message or plain object to encode
9571
+ * @param [writer] Writer to encode to
9572
+ * @returns Writer
9573
+ */
9574
+ public static encode(message: TW.DecredV2.Proto.ITransactionBuilderExtraData, writer?: $protobuf.Writer): $protobuf.Writer;
9575
+
9576
+ /**
9577
+ * Decodes a TransactionBuilderExtraData message from the specified reader or buffer.
9578
+ * @param reader Reader or buffer to decode from
9579
+ * @param [length] Message length if known beforehand
9580
+ * @returns TransactionBuilderExtraData
9581
+ * @throws {Error} If the payload is not a reader or valid buffer
9582
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9583
+ */
9584
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.DecredV2.Proto.TransactionBuilderExtraData;
9585
+
9586
+ /**
9587
+ * Verifies a TransactionBuilderExtraData message.
9588
+ * @param message Plain object to verify
9589
+ * @returns `null` if valid, otherwise the reason why it is not
9590
+ */
9591
+ public static verify(message: { [k: string]: any }): (string|null);
9592
+
9593
+ /**
9594
+ * Creates a TransactionBuilderExtraData message from a plain object. Also converts values to their respective internal types.
9595
+ * @param object Plain object
9596
+ * @returns TransactionBuilderExtraData
9597
+ */
9598
+ public static fromObject(object: { [k: string]: any }): TW.DecredV2.Proto.TransactionBuilderExtraData;
9599
+
9600
+ /**
9601
+ * Creates a plain object from a TransactionBuilderExtraData message. Also converts values to other types if specified.
9602
+ * @param message TransactionBuilderExtraData
9603
+ * @param [options] Conversion options
9604
+ * @returns Plain object
9605
+ */
9606
+ public static toObject(message: TW.DecredV2.Proto.TransactionBuilderExtraData, options?: $protobuf.IConversionOptions): { [k: string]: any };
9607
+
9608
+ /**
9609
+ * Converts this TransactionBuilderExtraData to JSON.
9610
+ * @returns JSON object
9611
+ */
9612
+ public toJSON(): { [k: string]: any };
9613
+ }
10002
9614
  }
10003
9615
  }
10004
9616