@trustwallet/wallet-core 4.2.0-dev-rc4 → 4.2.1

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.
@@ -1268,6 +1268,91 @@ export namespace TW {
1268
1268
  public toJSON(): { [k: string]: any };
1269
1269
  }
1270
1270
 
1271
+ /** Properties of a FungibleAssetTransferMessage. */
1272
+ interface IFungibleAssetTransferMessage {
1273
+
1274
+ /** FungibleAssetTransferMessage metadataAddress */
1275
+ metadataAddress?: (string|null);
1276
+
1277
+ /** FungibleAssetTransferMessage to */
1278
+ to?: (string|null);
1279
+
1280
+ /** FungibleAssetTransferMessage amount */
1281
+ amount?: (Long|null);
1282
+ }
1283
+
1284
+ /** Represents a FungibleAssetTransferMessage. */
1285
+ class FungibleAssetTransferMessage implements IFungibleAssetTransferMessage {
1286
+
1287
+ /**
1288
+ * Constructs a new FungibleAssetTransferMessage.
1289
+ * @param [properties] Properties to set
1290
+ */
1291
+ constructor(properties?: TW.Aptos.Proto.IFungibleAssetTransferMessage);
1292
+
1293
+ /** FungibleAssetTransferMessage metadataAddress. */
1294
+ public metadataAddress: string;
1295
+
1296
+ /** FungibleAssetTransferMessage to. */
1297
+ public to: string;
1298
+
1299
+ /** FungibleAssetTransferMessage amount. */
1300
+ public amount: Long;
1301
+
1302
+ /**
1303
+ * Creates a new FungibleAssetTransferMessage instance using the specified properties.
1304
+ * @param [properties] Properties to set
1305
+ * @returns FungibleAssetTransferMessage instance
1306
+ */
1307
+ public static create(properties?: TW.Aptos.Proto.IFungibleAssetTransferMessage): TW.Aptos.Proto.FungibleAssetTransferMessage;
1308
+
1309
+ /**
1310
+ * Encodes the specified FungibleAssetTransferMessage message. Does not implicitly {@link TW.Aptos.Proto.FungibleAssetTransferMessage.verify|verify} messages.
1311
+ * @param message FungibleAssetTransferMessage message or plain object to encode
1312
+ * @param [writer] Writer to encode to
1313
+ * @returns Writer
1314
+ */
1315
+ public static encode(message: TW.Aptos.Proto.IFungibleAssetTransferMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1316
+
1317
+ /**
1318
+ * Decodes a FungibleAssetTransferMessage message from the specified reader or buffer.
1319
+ * @param reader Reader or buffer to decode from
1320
+ * @param [length] Message length if known beforehand
1321
+ * @returns FungibleAssetTransferMessage
1322
+ * @throws {Error} If the payload is not a reader or valid buffer
1323
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1324
+ */
1325
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Aptos.Proto.FungibleAssetTransferMessage;
1326
+
1327
+ /**
1328
+ * Verifies a FungibleAssetTransferMessage message.
1329
+ * @param message Plain object to verify
1330
+ * @returns `null` if valid, otherwise the reason why it is not
1331
+ */
1332
+ public static verify(message: { [k: string]: any }): (string|null);
1333
+
1334
+ /**
1335
+ * Creates a FungibleAssetTransferMessage message from a plain object. Also converts values to their respective internal types.
1336
+ * @param object Plain object
1337
+ * @returns FungibleAssetTransferMessage
1338
+ */
1339
+ public static fromObject(object: { [k: string]: any }): TW.Aptos.Proto.FungibleAssetTransferMessage;
1340
+
1341
+ /**
1342
+ * Creates a plain object from a FungibleAssetTransferMessage message. Also converts values to other types if specified.
1343
+ * @param message FungibleAssetTransferMessage
1344
+ * @param [options] Conversion options
1345
+ * @returns Plain object
1346
+ */
1347
+ public static toObject(message: TW.Aptos.Proto.FungibleAssetTransferMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
1348
+
1349
+ /**
1350
+ * Converts this FungibleAssetTransferMessage to JSON.
1351
+ * @returns JSON object
1352
+ */
1353
+ public toJSON(): { [k: string]: any };
1354
+ }
1355
+
1271
1356
  /** Properties of a ManagedTokensRegisterMessage. */
1272
1357
  interface IManagedTokensRegisterMessage {
1273
1358
 
@@ -2159,6 +2244,12 @@ export namespace TW {
2159
2244
 
2160
2245
  /** SigningInput tokenTransferCoins */
2161
2246
  tokenTransferCoins?: (TW.Aptos.Proto.ITokenTransferCoinsMessage|null);
2247
+
2248
+ /** SigningInput fungibleAssetTransfer */
2249
+ fungibleAssetTransfer?: (TW.Aptos.Proto.IFungibleAssetTransferMessage|null);
2250
+
2251
+ /** SigningInput abi */
2252
+ abi?: (string|null);
2162
2253
  }
2163
2254
 
2164
2255
  /** Represents a SigningInput. */
@@ -2215,8 +2306,14 @@ export namespace TW {
2215
2306
  /** SigningInput tokenTransferCoins. */
2216
2307
  public tokenTransferCoins?: (TW.Aptos.Proto.ITokenTransferCoinsMessage|null);
2217
2308
 
2309
+ /** SigningInput fungibleAssetTransfer. */
2310
+ public fungibleAssetTransfer?: (TW.Aptos.Proto.IFungibleAssetTransferMessage|null);
2311
+
2312
+ /** SigningInput abi. */
2313
+ public abi: string;
2314
+
2218
2315
  /** SigningInput transactionPayload. */
2219
- public transactionPayload?: ("transfer"|"tokenTransfer"|"createAccount"|"nftMessage"|"registerToken"|"liquidStakingMessage"|"tokenTransferCoins");
2316
+ public transactionPayload?: ("transfer"|"tokenTransfer"|"createAccount"|"nftMessage"|"registerToken"|"liquidStakingMessage"|"tokenTransferCoins"|"fungibleAssetTransfer");
2220
2317
 
2221
2318
  /**
2222
2319
  * Creates a new SigningInput instance using the specified properties.
@@ -2373,86 +2470,1030 @@ export namespace TW {
2373
2470
  errorMessage?: (string|null);
2374
2471
  }
2375
2472
 
2376
- /** Represents a SigningOutput. */
2377
- class SigningOutput implements ISigningOutput {
2473
+ /** Represents a SigningOutput. */
2474
+ class SigningOutput implements ISigningOutput {
2475
+
2476
+ /**
2477
+ * Constructs a new SigningOutput.
2478
+ * @param [properties] Properties to set
2479
+ */
2480
+ constructor(properties?: TW.Aptos.Proto.ISigningOutput);
2481
+
2482
+ /** The raw transaction (bytes) */
2483
+ public rawTxn: Uint8Array;
2484
+
2485
+ /** Public key and signature to authenticate */
2486
+ public authenticator?: (TW.Aptos.Proto.ITransactionAuthenticator|null);
2487
+
2488
+ /** Signed and encoded transaction bytes. */
2489
+ public encoded: Uint8Array;
2490
+
2491
+ /** SigningOutput json. */
2492
+ public json: string;
2493
+
2494
+ /** SigningOutput error. */
2495
+ public error: TW.Common.Proto.SigningError;
2496
+
2497
+ /** SigningOutput errorMessage. */
2498
+ public errorMessage: string;
2499
+
2500
+ /**
2501
+ * Creates a new SigningOutput instance using the specified properties.
2502
+ * @param [properties] Properties to set
2503
+ * @returns SigningOutput instance
2504
+ */
2505
+ public static create(properties?: TW.Aptos.Proto.ISigningOutput): TW.Aptos.Proto.SigningOutput;
2506
+
2507
+ /**
2508
+ * Encodes the specified SigningOutput message. Does not implicitly {@link TW.Aptos.Proto.SigningOutput.verify|verify} messages.
2509
+ * @param message SigningOutput message or plain object to encode
2510
+ * @param [writer] Writer to encode to
2511
+ * @returns Writer
2512
+ */
2513
+ public static encode(message: TW.Aptos.Proto.ISigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
2514
+
2515
+ /**
2516
+ * Decodes a SigningOutput message from the specified reader or buffer.
2517
+ * @param reader Reader or buffer to decode from
2518
+ * @param [length] Message length if known beforehand
2519
+ * @returns SigningOutput
2520
+ * @throws {Error} If the payload is not a reader or valid buffer
2521
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2522
+ */
2523
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Aptos.Proto.SigningOutput;
2524
+
2525
+ /**
2526
+ * Verifies a SigningOutput message.
2527
+ * @param message Plain object to verify
2528
+ * @returns `null` if valid, otherwise the reason why it is not
2529
+ */
2530
+ public static verify(message: { [k: string]: any }): (string|null);
2531
+
2532
+ /**
2533
+ * Creates a SigningOutput message from a plain object. Also converts values to their respective internal types.
2534
+ * @param object Plain object
2535
+ * @returns SigningOutput
2536
+ */
2537
+ public static fromObject(object: { [k: string]: any }): TW.Aptos.Proto.SigningOutput;
2538
+
2539
+ /**
2540
+ * Creates a plain object from a SigningOutput message. Also converts values to other types if specified.
2541
+ * @param message SigningOutput
2542
+ * @param [options] Conversion options
2543
+ * @returns Plain object
2544
+ */
2545
+ public static toObject(message: TW.Aptos.Proto.SigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
2546
+
2547
+ /**
2548
+ * Converts this SigningOutput to JSON.
2549
+ * @returns JSON object
2550
+ */
2551
+ public toJSON(): { [k: string]: any };
2552
+ }
2553
+ }
2554
+ }
2555
+
2556
+ /** Namespace BabylonStaking. */
2557
+ namespace BabylonStaking {
2558
+
2559
+ /** Namespace Proto. */
2560
+ namespace Proto {
2561
+
2562
+ /** Properties of a PublicKeySignature. */
2563
+ interface IPublicKeySignature {
2564
+
2565
+ /** PublicKeySignature publicKey */
2566
+ publicKey?: (Uint8Array|null);
2567
+
2568
+ /** PublicKeySignature signature */
2569
+ signature?: (Uint8Array|null);
2570
+ }
2571
+
2572
+ /** Represents a PublicKeySignature. */
2573
+ class PublicKeySignature implements IPublicKeySignature {
2574
+
2575
+ /**
2576
+ * Constructs a new PublicKeySignature.
2577
+ * @param [properties] Properties to set
2578
+ */
2579
+ constructor(properties?: TW.BabylonStaking.Proto.IPublicKeySignature);
2580
+
2581
+ /** PublicKeySignature publicKey. */
2582
+ public publicKey: Uint8Array;
2583
+
2584
+ /** PublicKeySignature signature. */
2585
+ public signature: Uint8Array;
2586
+
2587
+ /**
2588
+ * Creates a new PublicKeySignature instance using the specified properties.
2589
+ * @param [properties] Properties to set
2590
+ * @returns PublicKeySignature instance
2591
+ */
2592
+ public static create(properties?: TW.BabylonStaking.Proto.IPublicKeySignature): TW.BabylonStaking.Proto.PublicKeySignature;
2593
+
2594
+ /**
2595
+ * Encodes the specified PublicKeySignature message. Does not implicitly {@link TW.BabylonStaking.Proto.PublicKeySignature.verify|verify} messages.
2596
+ * @param message PublicKeySignature message or plain object to encode
2597
+ * @param [writer] Writer to encode to
2598
+ * @returns Writer
2599
+ */
2600
+ public static encode(message: TW.BabylonStaking.Proto.IPublicKeySignature, writer?: $protobuf.Writer): $protobuf.Writer;
2601
+
2602
+ /**
2603
+ * Decodes a PublicKeySignature message from the specified reader or buffer.
2604
+ * @param reader Reader or buffer to decode from
2605
+ * @param [length] Message length if known beforehand
2606
+ * @returns PublicKeySignature
2607
+ * @throws {Error} If the payload is not a reader or valid buffer
2608
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2609
+ */
2610
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.PublicKeySignature;
2611
+
2612
+ /**
2613
+ * Verifies a PublicKeySignature message.
2614
+ * @param message Plain object to verify
2615
+ * @returns `null` if valid, otherwise the reason why it is not
2616
+ */
2617
+ public static verify(message: { [k: string]: any }): (string|null);
2618
+
2619
+ /**
2620
+ * Creates a PublicKeySignature message from a plain object. Also converts values to their respective internal types.
2621
+ * @param object Plain object
2622
+ * @returns PublicKeySignature
2623
+ */
2624
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.PublicKeySignature;
2625
+
2626
+ /**
2627
+ * Creates a plain object from a PublicKeySignature message. Also converts values to other types if specified.
2628
+ * @param message PublicKeySignature
2629
+ * @param [options] Conversion options
2630
+ * @returns Plain object
2631
+ */
2632
+ public static toObject(message: TW.BabylonStaking.Proto.PublicKeySignature, options?: $protobuf.IConversionOptions): { [k: string]: any };
2633
+
2634
+ /**
2635
+ * Converts this PublicKeySignature to JSON.
2636
+ * @returns JSON object
2637
+ */
2638
+ public toJSON(): { [k: string]: any };
2639
+ }
2640
+
2641
+ /** Properties of a StakingInfo. */
2642
+ interface IStakingInfo {
2643
+
2644
+ /** StakingInfo stakerPublicKey */
2645
+ stakerPublicKey?: (Uint8Array|null);
2646
+
2647
+ /** StakingInfo finalityProviderPublicKey */
2648
+ finalityProviderPublicKey?: (Uint8Array|null);
2649
+
2650
+ /** StakingInfo stakingTime */
2651
+ stakingTime?: (number|null);
2652
+
2653
+ /** StakingInfo covenantCommitteePublicKeys */
2654
+ covenantCommitteePublicKeys?: (Uint8Array[]|null);
2655
+
2656
+ /** StakingInfo covenantQuorum */
2657
+ covenantQuorum?: (number|null);
2658
+ }
2659
+
2660
+ /** Represents a StakingInfo. */
2661
+ class StakingInfo implements IStakingInfo {
2662
+
2663
+ /**
2664
+ * Constructs a new StakingInfo.
2665
+ * @param [properties] Properties to set
2666
+ */
2667
+ constructor(properties?: TW.BabylonStaking.Proto.IStakingInfo);
2668
+
2669
+ /** StakingInfo stakerPublicKey. */
2670
+ public stakerPublicKey: Uint8Array;
2671
+
2672
+ /** StakingInfo finalityProviderPublicKey. */
2673
+ public finalityProviderPublicKey: Uint8Array;
2674
+
2675
+ /** StakingInfo stakingTime. */
2676
+ public stakingTime: number;
2677
+
2678
+ /** StakingInfo covenantCommitteePublicKeys. */
2679
+ public covenantCommitteePublicKeys: Uint8Array[];
2680
+
2681
+ /** StakingInfo covenantQuorum. */
2682
+ public covenantQuorum: number;
2683
+
2684
+ /**
2685
+ * Creates a new StakingInfo instance using the specified properties.
2686
+ * @param [properties] Properties to set
2687
+ * @returns StakingInfo instance
2688
+ */
2689
+ public static create(properties?: TW.BabylonStaking.Proto.IStakingInfo): TW.BabylonStaking.Proto.StakingInfo;
2690
+
2691
+ /**
2692
+ * Encodes the specified StakingInfo message. Does not implicitly {@link TW.BabylonStaking.Proto.StakingInfo.verify|verify} messages.
2693
+ * @param message StakingInfo message or plain object to encode
2694
+ * @param [writer] Writer to encode to
2695
+ * @returns Writer
2696
+ */
2697
+ public static encode(message: TW.BabylonStaking.Proto.IStakingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
2698
+
2699
+ /**
2700
+ * Decodes a StakingInfo message from the specified reader or buffer.
2701
+ * @param reader Reader or buffer to decode from
2702
+ * @param [length] Message length if known beforehand
2703
+ * @returns StakingInfo
2704
+ * @throws {Error} If the payload is not a reader or valid buffer
2705
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2706
+ */
2707
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.StakingInfo;
2708
+
2709
+ /**
2710
+ * Verifies a StakingInfo message.
2711
+ * @param message Plain object to verify
2712
+ * @returns `null` if valid, otherwise the reason why it is not
2713
+ */
2714
+ public static verify(message: { [k: string]: any }): (string|null);
2715
+
2716
+ /**
2717
+ * Creates a StakingInfo message from a plain object. Also converts values to their respective internal types.
2718
+ * @param object Plain object
2719
+ * @returns StakingInfo
2720
+ */
2721
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.StakingInfo;
2722
+
2723
+ /**
2724
+ * Creates a plain object from a StakingInfo message. Also converts values to other types if specified.
2725
+ * @param message StakingInfo
2726
+ * @param [options] Conversion options
2727
+ * @returns Plain object
2728
+ */
2729
+ public static toObject(message: TW.BabylonStaking.Proto.StakingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
2730
+
2731
+ /**
2732
+ * Converts this StakingInfo to JSON.
2733
+ * @returns JSON object
2734
+ */
2735
+ public toJSON(): { [k: string]: any };
2736
+ }
2737
+
2738
+ /** Properties of an InputBuilder. */
2739
+ interface IInputBuilder {
2740
+ }
2741
+
2742
+ /** Represents an InputBuilder. */
2743
+ class InputBuilder implements IInputBuilder {
2744
+
2745
+ /**
2746
+ * Constructs a new InputBuilder.
2747
+ * @param [properties] Properties to set
2748
+ */
2749
+ constructor(properties?: TW.BabylonStaking.Proto.IInputBuilder);
2750
+
2751
+ /**
2752
+ * Creates a new InputBuilder instance using the specified properties.
2753
+ * @param [properties] Properties to set
2754
+ * @returns InputBuilder instance
2755
+ */
2756
+ public static create(properties?: TW.BabylonStaking.Proto.IInputBuilder): TW.BabylonStaking.Proto.InputBuilder;
2757
+
2758
+ /**
2759
+ * Encodes the specified InputBuilder message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.verify|verify} messages.
2760
+ * @param message InputBuilder message or plain object to encode
2761
+ * @param [writer] Writer to encode to
2762
+ * @returns Writer
2763
+ */
2764
+ public static encode(message: TW.BabylonStaking.Proto.IInputBuilder, writer?: $protobuf.Writer): $protobuf.Writer;
2765
+
2766
+ /**
2767
+ * Decodes an InputBuilder message from the specified reader or buffer.
2768
+ * @param reader Reader or buffer to decode from
2769
+ * @param [length] Message length if known beforehand
2770
+ * @returns InputBuilder
2771
+ * @throws {Error} If the payload is not a reader or valid buffer
2772
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2773
+ */
2774
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder;
2775
+
2776
+ /**
2777
+ * Verifies an InputBuilder message.
2778
+ * @param message Plain object to verify
2779
+ * @returns `null` if valid, otherwise the reason why it is not
2780
+ */
2781
+ public static verify(message: { [k: string]: any }): (string|null);
2782
+
2783
+ /**
2784
+ * Creates an InputBuilder message from a plain object. Also converts values to their respective internal types.
2785
+ * @param object Plain object
2786
+ * @returns InputBuilder
2787
+ */
2788
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder;
2789
+
2790
+ /**
2791
+ * Creates a plain object from an InputBuilder message. Also converts values to other types if specified.
2792
+ * @param message InputBuilder
2793
+ * @param [options] Conversion options
2794
+ * @returns Plain object
2795
+ */
2796
+ public static toObject(message: TW.BabylonStaking.Proto.InputBuilder, options?: $protobuf.IConversionOptions): { [k: string]: any };
2797
+
2798
+ /**
2799
+ * Converts this InputBuilder to JSON.
2800
+ * @returns JSON object
2801
+ */
2802
+ public toJSON(): { [k: string]: any };
2803
+ }
2804
+
2805
+ namespace InputBuilder {
2806
+
2807
+ /** Properties of a StakingTimelockPath. */
2808
+ interface IStakingTimelockPath {
2809
+
2810
+ /** StakingTimelockPath params */
2811
+ params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
2812
+ }
2813
+
2814
+ /** Represents a StakingTimelockPath. */
2815
+ class StakingTimelockPath implements IStakingTimelockPath {
2816
+
2817
+ /**
2818
+ * Constructs a new StakingTimelockPath.
2819
+ * @param [properties] Properties to set
2820
+ */
2821
+ constructor(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingTimelockPath);
2822
+
2823
+ /** StakingTimelockPath params. */
2824
+ public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
2825
+
2826
+ /**
2827
+ * Creates a new StakingTimelockPath instance using the specified properties.
2828
+ * @param [properties] Properties to set
2829
+ * @returns StakingTimelockPath instance
2830
+ */
2831
+ public static create(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingTimelockPath): TW.BabylonStaking.Proto.InputBuilder.StakingTimelockPath;
2832
+
2833
+ /**
2834
+ * Encodes the specified StakingTimelockPath message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.StakingTimelockPath.verify|verify} messages.
2835
+ * @param message StakingTimelockPath message or plain object to encode
2836
+ * @param [writer] Writer to encode to
2837
+ * @returns Writer
2838
+ */
2839
+ public static encode(message: TW.BabylonStaking.Proto.InputBuilder.IStakingTimelockPath, writer?: $protobuf.Writer): $protobuf.Writer;
2840
+
2841
+ /**
2842
+ * Decodes a StakingTimelockPath message from the specified reader or buffer.
2843
+ * @param reader Reader or buffer to decode from
2844
+ * @param [length] Message length if known beforehand
2845
+ * @returns StakingTimelockPath
2846
+ * @throws {Error} If the payload is not a reader or valid buffer
2847
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2848
+ */
2849
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder.StakingTimelockPath;
2850
+
2851
+ /**
2852
+ * Verifies a StakingTimelockPath message.
2853
+ * @param message Plain object to verify
2854
+ * @returns `null` if valid, otherwise the reason why it is not
2855
+ */
2856
+ public static verify(message: { [k: string]: any }): (string|null);
2857
+
2858
+ /**
2859
+ * Creates a StakingTimelockPath message from a plain object. Also converts values to their respective internal types.
2860
+ * @param object Plain object
2861
+ * @returns StakingTimelockPath
2862
+ */
2863
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder.StakingTimelockPath;
2864
+
2865
+ /**
2866
+ * Creates a plain object from a StakingTimelockPath message. Also converts values to other types if specified.
2867
+ * @param message StakingTimelockPath
2868
+ * @param [options] Conversion options
2869
+ * @returns Plain object
2870
+ */
2871
+ public static toObject(message: TW.BabylonStaking.Proto.InputBuilder.StakingTimelockPath, options?: $protobuf.IConversionOptions): { [k: string]: any };
2872
+
2873
+ /**
2874
+ * Converts this StakingTimelockPath to JSON.
2875
+ * @returns JSON object
2876
+ */
2877
+ public toJSON(): { [k: string]: any };
2878
+ }
2879
+
2880
+ /** Properties of a StakingUnbondingPath. */
2881
+ interface IStakingUnbondingPath {
2882
+
2883
+ /** StakingUnbondingPath params */
2884
+ params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
2885
+
2886
+ /** StakingUnbondingPath covenantCommitteeSignatures */
2887
+ covenantCommitteeSignatures?: (TW.BabylonStaking.Proto.IPublicKeySignature[]|null);
2888
+ }
2889
+
2890
+ /** Represents a StakingUnbondingPath. */
2891
+ class StakingUnbondingPath implements IStakingUnbondingPath {
2892
+
2893
+ /**
2894
+ * Constructs a new StakingUnbondingPath.
2895
+ * @param [properties] Properties to set
2896
+ */
2897
+ constructor(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingUnbondingPath);
2898
+
2899
+ /** StakingUnbondingPath params. */
2900
+ public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
2901
+
2902
+ /** StakingUnbondingPath covenantCommitteeSignatures. */
2903
+ public covenantCommitteeSignatures: TW.BabylonStaking.Proto.IPublicKeySignature[];
2904
+
2905
+ /**
2906
+ * Creates a new StakingUnbondingPath instance using the specified properties.
2907
+ * @param [properties] Properties to set
2908
+ * @returns StakingUnbondingPath instance
2909
+ */
2910
+ public static create(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingUnbondingPath): TW.BabylonStaking.Proto.InputBuilder.StakingUnbondingPath;
2911
+
2912
+ /**
2913
+ * Encodes the specified StakingUnbondingPath message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.StakingUnbondingPath.verify|verify} messages.
2914
+ * @param message StakingUnbondingPath message or plain object to encode
2915
+ * @param [writer] Writer to encode to
2916
+ * @returns Writer
2917
+ */
2918
+ public static encode(message: TW.BabylonStaking.Proto.InputBuilder.IStakingUnbondingPath, writer?: $protobuf.Writer): $protobuf.Writer;
2919
+
2920
+ /**
2921
+ * Decodes a StakingUnbondingPath message from the specified reader or buffer.
2922
+ * @param reader Reader or buffer to decode from
2923
+ * @param [length] Message length if known beforehand
2924
+ * @returns StakingUnbondingPath
2925
+ * @throws {Error} If the payload is not a reader or valid buffer
2926
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2927
+ */
2928
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder.StakingUnbondingPath;
2929
+
2930
+ /**
2931
+ * Verifies a StakingUnbondingPath message.
2932
+ * @param message Plain object to verify
2933
+ * @returns `null` if valid, otherwise the reason why it is not
2934
+ */
2935
+ public static verify(message: { [k: string]: any }): (string|null);
2936
+
2937
+ /**
2938
+ * Creates a StakingUnbondingPath message from a plain object. Also converts values to their respective internal types.
2939
+ * @param object Plain object
2940
+ * @returns StakingUnbondingPath
2941
+ */
2942
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder.StakingUnbondingPath;
2943
+
2944
+ /**
2945
+ * Creates a plain object from a StakingUnbondingPath message. Also converts values to other types if specified.
2946
+ * @param message StakingUnbondingPath
2947
+ * @param [options] Conversion options
2948
+ * @returns Plain object
2949
+ */
2950
+ public static toObject(message: TW.BabylonStaking.Proto.InputBuilder.StakingUnbondingPath, options?: $protobuf.IConversionOptions): { [k: string]: any };
2951
+
2952
+ /**
2953
+ * Converts this StakingUnbondingPath to JSON.
2954
+ * @returns JSON object
2955
+ */
2956
+ public toJSON(): { [k: string]: any };
2957
+ }
2958
+
2959
+ /** Properties of a StakingSlashingPath. */
2960
+ interface IStakingSlashingPath {
2961
+
2962
+ /** StakingSlashingPath params */
2963
+ params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
2964
+
2965
+ /** StakingSlashingPath finalityProviderSignature */
2966
+ finalityProviderSignature?: (TW.BabylonStaking.Proto.IPublicKeySignature|null);
2967
+ }
2968
+
2969
+ /** Represents a StakingSlashingPath. */
2970
+ class StakingSlashingPath implements IStakingSlashingPath {
2971
+
2972
+ /**
2973
+ * Constructs a new StakingSlashingPath.
2974
+ * @param [properties] Properties to set
2975
+ */
2976
+ constructor(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingSlashingPath);
2977
+
2978
+ /** StakingSlashingPath params. */
2979
+ public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
2980
+
2981
+ /** StakingSlashingPath finalityProviderSignature. */
2982
+ public finalityProviderSignature?: (TW.BabylonStaking.Proto.IPublicKeySignature|null);
2983
+
2984
+ /**
2985
+ * Creates a new StakingSlashingPath instance using the specified properties.
2986
+ * @param [properties] Properties to set
2987
+ * @returns StakingSlashingPath instance
2988
+ */
2989
+ public static create(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingSlashingPath): TW.BabylonStaking.Proto.InputBuilder.StakingSlashingPath;
2990
+
2991
+ /**
2992
+ * Encodes the specified StakingSlashingPath message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.StakingSlashingPath.verify|verify} messages.
2993
+ * @param message StakingSlashingPath message or plain object to encode
2994
+ * @param [writer] Writer to encode to
2995
+ * @returns Writer
2996
+ */
2997
+ public static encode(message: TW.BabylonStaking.Proto.InputBuilder.IStakingSlashingPath, writer?: $protobuf.Writer): $protobuf.Writer;
2998
+
2999
+ /**
3000
+ * Decodes a StakingSlashingPath message from the specified reader or buffer.
3001
+ * @param reader Reader or buffer to decode from
3002
+ * @param [length] Message length if known beforehand
3003
+ * @returns StakingSlashingPath
3004
+ * @throws {Error} If the payload is not a reader or valid buffer
3005
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3006
+ */
3007
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder.StakingSlashingPath;
3008
+
3009
+ /**
3010
+ * Verifies a StakingSlashingPath message.
3011
+ * @param message Plain object to verify
3012
+ * @returns `null` if valid, otherwise the reason why it is not
3013
+ */
3014
+ public static verify(message: { [k: string]: any }): (string|null);
3015
+
3016
+ /**
3017
+ * Creates a StakingSlashingPath message from a plain object. Also converts values to their respective internal types.
3018
+ * @param object Plain object
3019
+ * @returns StakingSlashingPath
3020
+ */
3021
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder.StakingSlashingPath;
3022
+
3023
+ /**
3024
+ * Creates a plain object from a StakingSlashingPath message. Also converts values to other types if specified.
3025
+ * @param message StakingSlashingPath
3026
+ * @param [options] Conversion options
3027
+ * @returns Plain object
3028
+ */
3029
+ public static toObject(message: TW.BabylonStaking.Proto.InputBuilder.StakingSlashingPath, options?: $protobuf.IConversionOptions): { [k: string]: any };
3030
+
3031
+ /**
3032
+ * Converts this StakingSlashingPath to JSON.
3033
+ * @returns JSON object
3034
+ */
3035
+ public toJSON(): { [k: string]: any };
3036
+ }
3037
+
3038
+ /** Properties of an UnbondingTimelockPath. */
3039
+ interface IUnbondingTimelockPath {
3040
+
3041
+ /** UnbondingTimelockPath params */
3042
+ params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
3043
+ }
3044
+
3045
+ /** Represents an UnbondingTimelockPath. */
3046
+ class UnbondingTimelockPath implements IUnbondingTimelockPath {
3047
+
3048
+ /**
3049
+ * Constructs a new UnbondingTimelockPath.
3050
+ * @param [properties] Properties to set
3051
+ */
3052
+ constructor(properties?: TW.BabylonStaking.Proto.InputBuilder.IUnbondingTimelockPath);
3053
+
3054
+ /** UnbondingTimelockPath params. */
3055
+ public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
3056
+
3057
+ /**
3058
+ * Creates a new UnbondingTimelockPath instance using the specified properties.
3059
+ * @param [properties] Properties to set
3060
+ * @returns UnbondingTimelockPath instance
3061
+ */
3062
+ public static create(properties?: TW.BabylonStaking.Proto.InputBuilder.IUnbondingTimelockPath): TW.BabylonStaking.Proto.InputBuilder.UnbondingTimelockPath;
3063
+
3064
+ /**
3065
+ * Encodes the specified UnbondingTimelockPath message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.UnbondingTimelockPath.verify|verify} messages.
3066
+ * @param message UnbondingTimelockPath message or plain object to encode
3067
+ * @param [writer] Writer to encode to
3068
+ * @returns Writer
3069
+ */
3070
+ public static encode(message: TW.BabylonStaking.Proto.InputBuilder.IUnbondingTimelockPath, writer?: $protobuf.Writer): $protobuf.Writer;
3071
+
3072
+ /**
3073
+ * Decodes an UnbondingTimelockPath message from the specified reader or buffer.
3074
+ * @param reader Reader or buffer to decode from
3075
+ * @param [length] Message length if known beforehand
3076
+ * @returns UnbondingTimelockPath
3077
+ * @throws {Error} If the payload is not a reader or valid buffer
3078
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3079
+ */
3080
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder.UnbondingTimelockPath;
3081
+
3082
+ /**
3083
+ * Verifies an UnbondingTimelockPath message.
3084
+ * @param message Plain object to verify
3085
+ * @returns `null` if valid, otherwise the reason why it is not
3086
+ */
3087
+ public static verify(message: { [k: string]: any }): (string|null);
3088
+
3089
+ /**
3090
+ * Creates an UnbondingTimelockPath message from a plain object. Also converts values to their respective internal types.
3091
+ * @param object Plain object
3092
+ * @returns UnbondingTimelockPath
3093
+ */
3094
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder.UnbondingTimelockPath;
3095
+
3096
+ /**
3097
+ * Creates a plain object from an UnbondingTimelockPath message. Also converts values to other types if specified.
3098
+ * @param message UnbondingTimelockPath
3099
+ * @param [options] Conversion options
3100
+ * @returns Plain object
3101
+ */
3102
+ public static toObject(message: TW.BabylonStaking.Proto.InputBuilder.UnbondingTimelockPath, options?: $protobuf.IConversionOptions): { [k: string]: any };
3103
+
3104
+ /**
3105
+ * Converts this UnbondingTimelockPath to JSON.
3106
+ * @returns JSON object
3107
+ */
3108
+ public toJSON(): { [k: string]: any };
3109
+ }
3110
+
3111
+ /** Properties of an UnbondingSlashingPath. */
3112
+ interface IUnbondingSlashingPath {
3113
+
3114
+ /** UnbondingSlashingPath params */
3115
+ params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
3116
+
3117
+ /** UnbondingSlashingPath finalityProviderSignature */
3118
+ finalityProviderSignature?: (TW.BabylonStaking.Proto.IPublicKeySignature|null);
3119
+ }
3120
+
3121
+ /** Represents an UnbondingSlashingPath. */
3122
+ class UnbondingSlashingPath implements IUnbondingSlashingPath {
3123
+
3124
+ /**
3125
+ * Constructs a new UnbondingSlashingPath.
3126
+ * @param [properties] Properties to set
3127
+ */
3128
+ constructor(properties?: TW.BabylonStaking.Proto.InputBuilder.IUnbondingSlashingPath);
3129
+
3130
+ /** UnbondingSlashingPath params. */
3131
+ public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
3132
+
3133
+ /** UnbondingSlashingPath finalityProviderSignature. */
3134
+ public finalityProviderSignature?: (TW.BabylonStaking.Proto.IPublicKeySignature|null);
3135
+
3136
+ /**
3137
+ * Creates a new UnbondingSlashingPath instance using the specified properties.
3138
+ * @param [properties] Properties to set
3139
+ * @returns UnbondingSlashingPath instance
3140
+ */
3141
+ public static create(properties?: TW.BabylonStaking.Proto.InputBuilder.IUnbondingSlashingPath): TW.BabylonStaking.Proto.InputBuilder.UnbondingSlashingPath;
3142
+
3143
+ /**
3144
+ * Encodes the specified UnbondingSlashingPath message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.UnbondingSlashingPath.verify|verify} messages.
3145
+ * @param message UnbondingSlashingPath message or plain object to encode
3146
+ * @param [writer] Writer to encode to
3147
+ * @returns Writer
3148
+ */
3149
+ public static encode(message: TW.BabylonStaking.Proto.InputBuilder.IUnbondingSlashingPath, writer?: $protobuf.Writer): $protobuf.Writer;
3150
+
3151
+ /**
3152
+ * Decodes an UnbondingSlashingPath message from the specified reader or buffer.
3153
+ * @param reader Reader or buffer to decode from
3154
+ * @param [length] Message length if known beforehand
3155
+ * @returns UnbondingSlashingPath
3156
+ * @throws {Error} If the payload is not a reader or valid buffer
3157
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3158
+ */
3159
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder.UnbondingSlashingPath;
3160
+
3161
+ /**
3162
+ * Verifies an UnbondingSlashingPath message.
3163
+ * @param message Plain object to verify
3164
+ * @returns `null` if valid, otherwise the reason why it is not
3165
+ */
3166
+ public static verify(message: { [k: string]: any }): (string|null);
3167
+
3168
+ /**
3169
+ * Creates an UnbondingSlashingPath message from a plain object. Also converts values to their respective internal types.
3170
+ * @param object Plain object
3171
+ * @returns UnbondingSlashingPath
3172
+ */
3173
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder.UnbondingSlashingPath;
3174
+
3175
+ /**
3176
+ * Creates a plain object from an UnbondingSlashingPath message. Also converts values to other types if specified.
3177
+ * @param message UnbondingSlashingPath
3178
+ * @param [options] Conversion options
3179
+ * @returns Plain object
3180
+ */
3181
+ public static toObject(message: TW.BabylonStaking.Proto.InputBuilder.UnbondingSlashingPath, options?: $protobuf.IConversionOptions): { [k: string]: any };
3182
+
3183
+ /**
3184
+ * Converts this UnbondingSlashingPath to JSON.
3185
+ * @returns JSON object
3186
+ */
3187
+ public toJSON(): { [k: string]: any };
3188
+ }
3189
+ }
3190
+
3191
+ /** Properties of an OutputBuilder. */
3192
+ interface IOutputBuilder {
3193
+ }
3194
+
3195
+ /** Represents an OutputBuilder. */
3196
+ class OutputBuilder implements IOutputBuilder {
2378
3197
 
2379
3198
  /**
2380
- * Constructs a new SigningOutput.
3199
+ * Constructs a new OutputBuilder.
2381
3200
  * @param [properties] Properties to set
2382
3201
  */
2383
- constructor(properties?: TW.Aptos.Proto.ISigningOutput);
2384
-
2385
- /** The raw transaction (bytes) */
2386
- public rawTxn: Uint8Array;
2387
-
2388
- /** Public key and signature to authenticate */
2389
- public authenticator?: (TW.Aptos.Proto.ITransactionAuthenticator|null);
2390
-
2391
- /** Signed and encoded transaction bytes. */
2392
- public encoded: Uint8Array;
2393
-
2394
- /** SigningOutput json. */
2395
- public json: string;
2396
-
2397
- /** SigningOutput error. */
2398
- public error: TW.Common.Proto.SigningError;
2399
-
2400
- /** SigningOutput errorMessage. */
2401
- public errorMessage: string;
3202
+ constructor(properties?: TW.BabylonStaking.Proto.IOutputBuilder);
2402
3203
 
2403
3204
  /**
2404
- * Creates a new SigningOutput instance using the specified properties.
3205
+ * Creates a new OutputBuilder instance using the specified properties.
2405
3206
  * @param [properties] Properties to set
2406
- * @returns SigningOutput instance
3207
+ * @returns OutputBuilder instance
2407
3208
  */
2408
- public static create(properties?: TW.Aptos.Proto.ISigningOutput): TW.Aptos.Proto.SigningOutput;
3209
+ public static create(properties?: TW.BabylonStaking.Proto.IOutputBuilder): TW.BabylonStaking.Proto.OutputBuilder;
2409
3210
 
2410
3211
  /**
2411
- * Encodes the specified SigningOutput message. Does not implicitly {@link TW.Aptos.Proto.SigningOutput.verify|verify} messages.
2412
- * @param message SigningOutput message or plain object to encode
3212
+ * Encodes the specified OutputBuilder message. Does not implicitly {@link TW.BabylonStaking.Proto.OutputBuilder.verify|verify} messages.
3213
+ * @param message OutputBuilder message or plain object to encode
2413
3214
  * @param [writer] Writer to encode to
2414
3215
  * @returns Writer
2415
3216
  */
2416
- public static encode(message: TW.Aptos.Proto.ISigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
3217
+ public static encode(message: TW.BabylonStaking.Proto.IOutputBuilder, writer?: $protobuf.Writer): $protobuf.Writer;
2417
3218
 
2418
3219
  /**
2419
- * Decodes a SigningOutput message from the specified reader or buffer.
3220
+ * Decodes an OutputBuilder message from the specified reader or buffer.
2420
3221
  * @param reader Reader or buffer to decode from
2421
3222
  * @param [length] Message length if known beforehand
2422
- * @returns SigningOutput
3223
+ * @returns OutputBuilder
2423
3224
  * @throws {Error} If the payload is not a reader or valid buffer
2424
3225
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
2425
3226
  */
2426
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Aptos.Proto.SigningOutput;
3227
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.OutputBuilder;
2427
3228
 
2428
3229
  /**
2429
- * Verifies a SigningOutput message.
3230
+ * Verifies an OutputBuilder message.
2430
3231
  * @param message Plain object to verify
2431
3232
  * @returns `null` if valid, otherwise the reason why it is not
2432
3233
  */
2433
3234
  public static verify(message: { [k: string]: any }): (string|null);
2434
3235
 
2435
3236
  /**
2436
- * Creates a SigningOutput message from a plain object. Also converts values to their respective internal types.
3237
+ * Creates an OutputBuilder message from a plain object. Also converts values to their respective internal types.
2437
3238
  * @param object Plain object
2438
- * @returns SigningOutput
3239
+ * @returns OutputBuilder
2439
3240
  */
2440
- public static fromObject(object: { [k: string]: any }): TW.Aptos.Proto.SigningOutput;
3241
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.OutputBuilder;
2441
3242
 
2442
3243
  /**
2443
- * Creates a plain object from a SigningOutput message. Also converts values to other types if specified.
2444
- * @param message SigningOutput
3244
+ * Creates a plain object from an OutputBuilder message. Also converts values to other types if specified.
3245
+ * @param message OutputBuilder
2445
3246
  * @param [options] Conversion options
2446
3247
  * @returns Plain object
2447
3248
  */
2448
- public static toObject(message: TW.Aptos.Proto.SigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
3249
+ public static toObject(message: TW.BabylonStaking.Proto.OutputBuilder, options?: $protobuf.IConversionOptions): { [k: string]: any };
2449
3250
 
2450
3251
  /**
2451
- * Converts this SigningOutput to JSON.
3252
+ * Converts this OutputBuilder to JSON.
2452
3253
  * @returns JSON object
2453
3254
  */
2454
3255
  public toJSON(): { [k: string]: any };
2455
3256
  }
3257
+
3258
+ namespace OutputBuilder {
3259
+
3260
+ /** Properties of a StakingOutput. */
3261
+ interface IStakingOutput {
3262
+
3263
+ /** StakingOutput params */
3264
+ params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
3265
+ }
3266
+
3267
+ /** Represents a StakingOutput. */
3268
+ class StakingOutput implements IStakingOutput {
3269
+
3270
+ /**
3271
+ * Constructs a new StakingOutput.
3272
+ * @param [properties] Properties to set
3273
+ */
3274
+ constructor(properties?: TW.BabylonStaking.Proto.OutputBuilder.IStakingOutput);
3275
+
3276
+ /** StakingOutput params. */
3277
+ public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
3278
+
3279
+ /**
3280
+ * Creates a new StakingOutput instance using the specified properties.
3281
+ * @param [properties] Properties to set
3282
+ * @returns StakingOutput instance
3283
+ */
3284
+ public static create(properties?: TW.BabylonStaking.Proto.OutputBuilder.IStakingOutput): TW.BabylonStaking.Proto.OutputBuilder.StakingOutput;
3285
+
3286
+ /**
3287
+ * Encodes the specified StakingOutput message. Does not implicitly {@link TW.BabylonStaking.Proto.OutputBuilder.StakingOutput.verify|verify} messages.
3288
+ * @param message StakingOutput message or plain object to encode
3289
+ * @param [writer] Writer to encode to
3290
+ * @returns Writer
3291
+ */
3292
+ public static encode(message: TW.BabylonStaking.Proto.OutputBuilder.IStakingOutput, writer?: $protobuf.Writer): $protobuf.Writer;
3293
+
3294
+ /**
3295
+ * Decodes a StakingOutput message from the specified reader or buffer.
3296
+ * @param reader Reader or buffer to decode from
3297
+ * @param [length] Message length if known beforehand
3298
+ * @returns StakingOutput
3299
+ * @throws {Error} If the payload is not a reader or valid buffer
3300
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3301
+ */
3302
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.OutputBuilder.StakingOutput;
3303
+
3304
+ /**
3305
+ * Verifies a StakingOutput message.
3306
+ * @param message Plain object to verify
3307
+ * @returns `null` if valid, otherwise the reason why it is not
3308
+ */
3309
+ public static verify(message: { [k: string]: any }): (string|null);
3310
+
3311
+ /**
3312
+ * Creates a StakingOutput message from a plain object. Also converts values to their respective internal types.
3313
+ * @param object Plain object
3314
+ * @returns StakingOutput
3315
+ */
3316
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.OutputBuilder.StakingOutput;
3317
+
3318
+ /**
3319
+ * Creates a plain object from a StakingOutput message. Also converts values to other types if specified.
3320
+ * @param message StakingOutput
3321
+ * @param [options] Conversion options
3322
+ * @returns Plain object
3323
+ */
3324
+ public static toObject(message: TW.BabylonStaking.Proto.OutputBuilder.StakingOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
3325
+
3326
+ /**
3327
+ * Converts this StakingOutput to JSON.
3328
+ * @returns JSON object
3329
+ */
3330
+ public toJSON(): { [k: string]: any };
3331
+ }
3332
+
3333
+ /** Properties of an UnbondingOutput. */
3334
+ interface IUnbondingOutput {
3335
+
3336
+ /** UnbondingOutput params */
3337
+ params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
3338
+ }
3339
+
3340
+ /** Represents an UnbondingOutput. */
3341
+ class UnbondingOutput implements IUnbondingOutput {
3342
+
3343
+ /**
3344
+ * Constructs a new UnbondingOutput.
3345
+ * @param [properties] Properties to set
3346
+ */
3347
+ constructor(properties?: TW.BabylonStaking.Proto.OutputBuilder.IUnbondingOutput);
3348
+
3349
+ /** UnbondingOutput params. */
3350
+ public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
3351
+
3352
+ /**
3353
+ * Creates a new UnbondingOutput instance using the specified properties.
3354
+ * @param [properties] Properties to set
3355
+ * @returns UnbondingOutput instance
3356
+ */
3357
+ public static create(properties?: TW.BabylonStaking.Proto.OutputBuilder.IUnbondingOutput): TW.BabylonStaking.Proto.OutputBuilder.UnbondingOutput;
3358
+
3359
+ /**
3360
+ * Encodes the specified UnbondingOutput message. Does not implicitly {@link TW.BabylonStaking.Proto.OutputBuilder.UnbondingOutput.verify|verify} messages.
3361
+ * @param message UnbondingOutput message or plain object to encode
3362
+ * @param [writer] Writer to encode to
3363
+ * @returns Writer
3364
+ */
3365
+ public static encode(message: TW.BabylonStaking.Proto.OutputBuilder.IUnbondingOutput, writer?: $protobuf.Writer): $protobuf.Writer;
3366
+
3367
+ /**
3368
+ * Decodes an UnbondingOutput message from the specified reader or buffer.
3369
+ * @param reader Reader or buffer to decode from
3370
+ * @param [length] Message length if known beforehand
3371
+ * @returns UnbondingOutput
3372
+ * @throws {Error} If the payload is not a reader or valid buffer
3373
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3374
+ */
3375
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.OutputBuilder.UnbondingOutput;
3376
+
3377
+ /**
3378
+ * Verifies an UnbondingOutput message.
3379
+ * @param message Plain object to verify
3380
+ * @returns `null` if valid, otherwise the reason why it is not
3381
+ */
3382
+ public static verify(message: { [k: string]: any }): (string|null);
3383
+
3384
+ /**
3385
+ * Creates an UnbondingOutput message from a plain object. Also converts values to their respective internal types.
3386
+ * @param object Plain object
3387
+ * @returns UnbondingOutput
3388
+ */
3389
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.OutputBuilder.UnbondingOutput;
3390
+
3391
+ /**
3392
+ * Creates a plain object from an UnbondingOutput message. Also converts values to other types if specified.
3393
+ * @param message UnbondingOutput
3394
+ * @param [options] Conversion options
3395
+ * @returns Plain object
3396
+ */
3397
+ public static toObject(message: TW.BabylonStaking.Proto.OutputBuilder.UnbondingOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
3398
+
3399
+ /**
3400
+ * Converts this UnbondingOutput to JSON.
3401
+ * @returns JSON object
3402
+ */
3403
+ public toJSON(): { [k: string]: any };
3404
+ }
3405
+
3406
+ /** Properties of an OpReturn. */
3407
+ interface IOpReturn {
3408
+
3409
+ /** OpReturn tag */
3410
+ tag?: (Uint8Array|null);
3411
+
3412
+ /** OpReturn stakerPublicKey */
3413
+ stakerPublicKey?: (Uint8Array|null);
3414
+
3415
+ /** OpReturn finalityProviderPublicKey */
3416
+ finalityProviderPublicKey?: (Uint8Array|null);
3417
+
3418
+ /** OpReturn stakingTime */
3419
+ stakingTime?: (number|null);
3420
+ }
3421
+
3422
+ /** Represents an OpReturn. */
3423
+ class OpReturn implements IOpReturn {
3424
+
3425
+ /**
3426
+ * Constructs a new OpReturn.
3427
+ * @param [properties] Properties to set
3428
+ */
3429
+ constructor(properties?: TW.BabylonStaking.Proto.OutputBuilder.IOpReturn);
3430
+
3431
+ /** OpReturn tag. */
3432
+ public tag: Uint8Array;
3433
+
3434
+ /** OpReturn stakerPublicKey. */
3435
+ public stakerPublicKey: Uint8Array;
3436
+
3437
+ /** OpReturn finalityProviderPublicKey. */
3438
+ public finalityProviderPublicKey: Uint8Array;
3439
+
3440
+ /** OpReturn stakingTime. */
3441
+ public stakingTime: number;
3442
+
3443
+ /**
3444
+ * Creates a new OpReturn instance using the specified properties.
3445
+ * @param [properties] Properties to set
3446
+ * @returns OpReturn instance
3447
+ */
3448
+ public static create(properties?: TW.BabylonStaking.Proto.OutputBuilder.IOpReturn): TW.BabylonStaking.Proto.OutputBuilder.OpReturn;
3449
+
3450
+ /**
3451
+ * Encodes the specified OpReturn message. Does not implicitly {@link TW.BabylonStaking.Proto.OutputBuilder.OpReturn.verify|verify} messages.
3452
+ * @param message OpReturn message or plain object to encode
3453
+ * @param [writer] Writer to encode to
3454
+ * @returns Writer
3455
+ */
3456
+ public static encode(message: TW.BabylonStaking.Proto.OutputBuilder.IOpReturn, writer?: $protobuf.Writer): $protobuf.Writer;
3457
+
3458
+ /**
3459
+ * Decodes an OpReturn message from the specified reader or buffer.
3460
+ * @param reader Reader or buffer to decode from
3461
+ * @param [length] Message length if known beforehand
3462
+ * @returns OpReturn
3463
+ * @throws {Error} If the payload is not a reader or valid buffer
3464
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3465
+ */
3466
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.OutputBuilder.OpReturn;
3467
+
3468
+ /**
3469
+ * Verifies an OpReturn message.
3470
+ * @param message Plain object to verify
3471
+ * @returns `null` if valid, otherwise the reason why it is not
3472
+ */
3473
+ public static verify(message: { [k: string]: any }): (string|null);
3474
+
3475
+ /**
3476
+ * Creates an OpReturn message from a plain object. Also converts values to their respective internal types.
3477
+ * @param object Plain object
3478
+ * @returns OpReturn
3479
+ */
3480
+ public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.OutputBuilder.OpReturn;
3481
+
3482
+ /**
3483
+ * Creates a plain object from an OpReturn message. Also converts values to other types if specified.
3484
+ * @param message OpReturn
3485
+ * @param [options] Conversion options
3486
+ * @returns Plain object
3487
+ */
3488
+ public static toObject(message: TW.BabylonStaking.Proto.OutputBuilder.OpReturn, options?: $protobuf.IConversionOptions): { [k: string]: any };
3489
+
3490
+ /**
3491
+ * Converts this OpReturn to JSON.
3492
+ * @returns JSON object
3493
+ */
3494
+ public toJSON(): { [k: string]: any };
3495
+ }
3496
+ }
2456
3497
  }
2457
3498
  }
2458
3499
 
@@ -6020,6 +7061,9 @@ export namespace TW {
6020
7061
  /** SigningInput time */
6021
7062
  time?: (number|null);
6022
7063
 
7064
+ /** SigningInput zip_0317 */
7065
+ zip_0317?: (boolean|null);
7066
+
6023
7067
  /** SigningInput signingV2 */
6024
7068
  signingV2?: (TW.BitcoinV2.Proto.ISigningInput|null);
6025
7069
 
@@ -6090,6 +7134,9 @@ export namespace TW {
6090
7134
  /** SigningInput time. */
6091
7135
  public time: number;
6092
7136
 
7137
+ /** SigningInput zip_0317. */
7138
+ public zip_0317: boolean;
7139
+
6093
7140
  /** SigningInput signingV2. */
6094
7141
  public signingV2?: (TW.BitcoinV2.Proto.ISigningInput|null);
6095
7142
 
@@ -6663,6 +7710,85 @@ export namespace TW {
6663
7710
  public toJSON(): { [k: string]: any };
6664
7711
  }
6665
7712
 
7713
+ /** Properties of a PublicKeySignature. */
7714
+ interface IPublicKeySignature {
7715
+
7716
+ /** PublicKeySignature publicKey */
7717
+ publicKey?: (Uint8Array|null);
7718
+
7719
+ /** PublicKeySignature signature */
7720
+ signature?: (Uint8Array|null);
7721
+ }
7722
+
7723
+ /** Represents a PublicKeySignature. */
7724
+ class PublicKeySignature implements IPublicKeySignature {
7725
+
7726
+ /**
7727
+ * Constructs a new PublicKeySignature.
7728
+ * @param [properties] Properties to set
7729
+ */
7730
+ constructor(properties?: TW.BitcoinV2.Proto.IPublicKeySignature);
7731
+
7732
+ /** PublicKeySignature publicKey. */
7733
+ public publicKey: Uint8Array;
7734
+
7735
+ /** PublicKeySignature signature. */
7736
+ public signature: Uint8Array;
7737
+
7738
+ /**
7739
+ * Creates a new PublicKeySignature instance using the specified properties.
7740
+ * @param [properties] Properties to set
7741
+ * @returns PublicKeySignature instance
7742
+ */
7743
+ public static create(properties?: TW.BitcoinV2.Proto.IPublicKeySignature): TW.BitcoinV2.Proto.PublicKeySignature;
7744
+
7745
+ /**
7746
+ * Encodes the specified PublicKeySignature message. Does not implicitly {@link TW.BitcoinV2.Proto.PublicKeySignature.verify|verify} messages.
7747
+ * @param message PublicKeySignature message or plain object to encode
7748
+ * @param [writer] Writer to encode to
7749
+ * @returns Writer
7750
+ */
7751
+ public static encode(message: TW.BitcoinV2.Proto.IPublicKeySignature, writer?: $protobuf.Writer): $protobuf.Writer;
7752
+
7753
+ /**
7754
+ * Decodes a PublicKeySignature message from the specified reader or buffer.
7755
+ * @param reader Reader or buffer to decode from
7756
+ * @param [length] Message length if known beforehand
7757
+ * @returns PublicKeySignature
7758
+ * @throws {Error} If the payload is not a reader or valid buffer
7759
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7760
+ */
7761
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BitcoinV2.Proto.PublicKeySignature;
7762
+
7763
+ /**
7764
+ * Verifies a PublicKeySignature message.
7765
+ * @param message Plain object to verify
7766
+ * @returns `null` if valid, otherwise the reason why it is not
7767
+ */
7768
+ public static verify(message: { [k: string]: any }): (string|null);
7769
+
7770
+ /**
7771
+ * Creates a PublicKeySignature message from a plain object. Also converts values to their respective internal types.
7772
+ * @param object Plain object
7773
+ * @returns PublicKeySignature
7774
+ */
7775
+ public static fromObject(object: { [k: string]: any }): TW.BitcoinV2.Proto.PublicKeySignature;
7776
+
7777
+ /**
7778
+ * Creates a plain object from a PublicKeySignature message. Also converts values to other types if specified.
7779
+ * @param message PublicKeySignature
7780
+ * @param [options] Conversion options
7781
+ * @returns Plain object
7782
+ */
7783
+ public static toObject(message: TW.BitcoinV2.Proto.PublicKeySignature, options?: $protobuf.IConversionOptions): { [k: string]: any };
7784
+
7785
+ /**
7786
+ * Converts this PublicKeySignature to JSON.
7787
+ * @returns JSON object
7788
+ */
7789
+ public toJSON(): { [k: string]: any };
7790
+ }
7791
+
6666
7792
  /** Properties of an OutPoint. */
6667
7793
  interface IOutPoint {
6668
7794
 
@@ -6946,6 +8072,21 @@ export namespace TW {
6946
8072
 
6947
8073
  /** InputBuilder brc20Inscribe */
6948
8074
  brc20Inscribe?: (TW.BitcoinV2.Proto.Input.IInputBrc20Inscription|null);
8075
+
8076
+ /** InputBuilder babylonStakingTimelockPath */
8077
+ babylonStakingTimelockPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingTimelockPath|null);
8078
+
8079
+ /** InputBuilder babylonStakingUnbondingPath */
8080
+ babylonStakingUnbondingPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingUnbondingPath|null);
8081
+
8082
+ /** InputBuilder babylonStakingSlashingPath */
8083
+ babylonStakingSlashingPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingSlashingPath|null);
8084
+
8085
+ /** InputBuilder babylonUnbondingTimelockPath */
8086
+ babylonUnbondingTimelockPath?: (TW.BabylonStaking.Proto.InputBuilder.IUnbondingTimelockPath|null);
8087
+
8088
+ /** InputBuilder babylonUnbondingSlashingPath */
8089
+ babylonUnbondingSlashingPath?: (TW.BabylonStaking.Proto.InputBuilder.IUnbondingSlashingPath|null);
6949
8090
  }
6950
8091
 
6951
8092
  /** Represents an InputBuilder. */
@@ -6972,8 +8113,23 @@ export namespace TW {
6972
8113
  /** InputBuilder brc20Inscribe. */
6973
8114
  public brc20Inscribe?: (TW.BitcoinV2.Proto.Input.IInputBrc20Inscription|null);
6974
8115
 
8116
+ /** InputBuilder babylonStakingTimelockPath. */
8117
+ public babylonStakingTimelockPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingTimelockPath|null);
8118
+
8119
+ /** InputBuilder babylonStakingUnbondingPath. */
8120
+ public babylonStakingUnbondingPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingUnbondingPath|null);
8121
+
8122
+ /** InputBuilder babylonStakingSlashingPath. */
8123
+ public babylonStakingSlashingPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingSlashingPath|null);
8124
+
8125
+ /** InputBuilder babylonUnbondingTimelockPath. */
8126
+ public babylonUnbondingTimelockPath?: (TW.BabylonStaking.Proto.InputBuilder.IUnbondingTimelockPath|null);
8127
+
8128
+ /** InputBuilder babylonUnbondingSlashingPath. */
8129
+ public babylonUnbondingSlashingPath?: (TW.BabylonStaking.Proto.InputBuilder.IUnbondingSlashingPath|null);
8130
+
6975
8131
  /** InputBuilder variant. */
6976
- public variant?: ("p2pk"|"p2pkh"|"p2wpkh"|"p2trKeyPath"|"brc20Inscribe");
8132
+ public variant?: ("p2pk"|"p2pkh"|"p2wpkh"|"p2trKeyPath"|"brc20Inscribe"|"babylonStakingTimelockPath"|"babylonStakingUnbondingPath"|"babylonStakingSlashingPath"|"babylonUnbondingTimelockPath"|"babylonUnbondingSlashingPath");
6977
8133
 
6978
8134
  /**
6979
8135
  * Creates a new InputBuilder instance using the specified properties.
@@ -7322,6 +8478,15 @@ export namespace TW {
7322
8478
 
7323
8479
  /** OutputBuilder opReturn */
7324
8480
  opReturn?: (Uint8Array|null);
8481
+
8482
+ /** OutputBuilder babylonStaking */
8483
+ babylonStaking?: (TW.BabylonStaking.Proto.OutputBuilder.IStakingOutput|null);
8484
+
8485
+ /** OutputBuilder babylonUnbonding */
8486
+ babylonUnbonding?: (TW.BabylonStaking.Proto.OutputBuilder.IUnbondingOutput|null);
8487
+
8488
+ /** OutputBuilder babylonStakingOpReturn */
8489
+ babylonStakingOpReturn?: (TW.BabylonStaking.Proto.OutputBuilder.IOpReturn|null);
7325
8490
  }
7326
8491
 
7327
8492
  /** Represents an OutputBuilder. */
@@ -7363,8 +8528,17 @@ export namespace TW {
7363
8528
  /** OutputBuilder opReturn. */
7364
8529
  public opReturn?: (Uint8Array|null);
7365
8530
 
8531
+ /** OutputBuilder babylonStaking. */
8532
+ public babylonStaking?: (TW.BabylonStaking.Proto.OutputBuilder.IStakingOutput|null);
8533
+
8534
+ /** OutputBuilder babylonUnbonding. */
8535
+ public babylonUnbonding?: (TW.BabylonStaking.Proto.OutputBuilder.IUnbondingOutput|null);
8536
+
8537
+ /** OutputBuilder babylonStakingOpReturn. */
8538
+ public babylonStakingOpReturn?: (TW.BabylonStaking.Proto.OutputBuilder.IOpReturn|null);
8539
+
7366
8540
  /** OutputBuilder variant. */
7367
- public variant?: ("p2sh"|"p2pk"|"p2pkh"|"p2wsh"|"p2wpkh"|"p2trKeyPath"|"p2trScriptPath"|"p2trDangerousAssumeTweaked"|"brc20Inscribe"|"opReturn");
8541
+ public variant?: ("p2sh"|"p2pk"|"p2pkh"|"p2wsh"|"p2wpkh"|"p2trKeyPath"|"p2trScriptPath"|"p2trDangerousAssumeTweaked"|"brc20Inscribe"|"opReturn"|"babylonStaking"|"babylonUnbonding"|"babylonStakingOpReturn");
7368
8542
 
7369
8543
  /**
7370
8544
  * Creates a new OutputBuilder instance using the specified properties.