@trustwallet/wallet-core 4.2.0-dev-rc4 → 4.2.0
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.
- package/dist/generated/core_proto.d.ts +1079 -2
- package/dist/generated/core_proto.js +2844 -88
- package/dist/lib/wallet-core.js +1 -1
- package/dist/lib/wallet-core.wasm +0 -0
- package/dist/src/wallet-core.d.ts +1 -0
- package/package.json +1 -1
@@ -2456,6 +2456,950 @@ export namespace TW {
|
|
2456
2456
|
}
|
2457
2457
|
}
|
2458
2458
|
|
2459
|
+
/** Namespace BabylonStaking. */
|
2460
|
+
namespace BabylonStaking {
|
2461
|
+
|
2462
|
+
/** Namespace Proto. */
|
2463
|
+
namespace Proto {
|
2464
|
+
|
2465
|
+
/** Properties of a PublicKeySignature. */
|
2466
|
+
interface IPublicKeySignature {
|
2467
|
+
|
2468
|
+
/** PublicKeySignature publicKey */
|
2469
|
+
publicKey?: (Uint8Array|null);
|
2470
|
+
|
2471
|
+
/** PublicKeySignature signature */
|
2472
|
+
signature?: (Uint8Array|null);
|
2473
|
+
}
|
2474
|
+
|
2475
|
+
/** Represents a PublicKeySignature. */
|
2476
|
+
class PublicKeySignature implements IPublicKeySignature {
|
2477
|
+
|
2478
|
+
/**
|
2479
|
+
* Constructs a new PublicKeySignature.
|
2480
|
+
* @param [properties] Properties to set
|
2481
|
+
*/
|
2482
|
+
constructor(properties?: TW.BabylonStaking.Proto.IPublicKeySignature);
|
2483
|
+
|
2484
|
+
/** PublicKeySignature publicKey. */
|
2485
|
+
public publicKey: Uint8Array;
|
2486
|
+
|
2487
|
+
/** PublicKeySignature signature. */
|
2488
|
+
public signature: Uint8Array;
|
2489
|
+
|
2490
|
+
/**
|
2491
|
+
* Creates a new PublicKeySignature instance using the specified properties.
|
2492
|
+
* @param [properties] Properties to set
|
2493
|
+
* @returns PublicKeySignature instance
|
2494
|
+
*/
|
2495
|
+
public static create(properties?: TW.BabylonStaking.Proto.IPublicKeySignature): TW.BabylonStaking.Proto.PublicKeySignature;
|
2496
|
+
|
2497
|
+
/**
|
2498
|
+
* Encodes the specified PublicKeySignature message. Does not implicitly {@link TW.BabylonStaking.Proto.PublicKeySignature.verify|verify} messages.
|
2499
|
+
* @param message PublicKeySignature message or plain object to encode
|
2500
|
+
* @param [writer] Writer to encode to
|
2501
|
+
* @returns Writer
|
2502
|
+
*/
|
2503
|
+
public static encode(message: TW.BabylonStaking.Proto.IPublicKeySignature, writer?: $protobuf.Writer): $protobuf.Writer;
|
2504
|
+
|
2505
|
+
/**
|
2506
|
+
* Decodes a PublicKeySignature message from the specified reader or buffer.
|
2507
|
+
* @param reader Reader or buffer to decode from
|
2508
|
+
* @param [length] Message length if known beforehand
|
2509
|
+
* @returns PublicKeySignature
|
2510
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
2511
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2512
|
+
*/
|
2513
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.PublicKeySignature;
|
2514
|
+
|
2515
|
+
/**
|
2516
|
+
* Verifies a PublicKeySignature message.
|
2517
|
+
* @param message Plain object to verify
|
2518
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
2519
|
+
*/
|
2520
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
2521
|
+
|
2522
|
+
/**
|
2523
|
+
* Creates a PublicKeySignature message from a plain object. Also converts values to their respective internal types.
|
2524
|
+
* @param object Plain object
|
2525
|
+
* @returns PublicKeySignature
|
2526
|
+
*/
|
2527
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.PublicKeySignature;
|
2528
|
+
|
2529
|
+
/**
|
2530
|
+
* Creates a plain object from a PublicKeySignature message. Also converts values to other types if specified.
|
2531
|
+
* @param message PublicKeySignature
|
2532
|
+
* @param [options] Conversion options
|
2533
|
+
* @returns Plain object
|
2534
|
+
*/
|
2535
|
+
public static toObject(message: TW.BabylonStaking.Proto.PublicKeySignature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2536
|
+
|
2537
|
+
/**
|
2538
|
+
* Converts this PublicKeySignature to JSON.
|
2539
|
+
* @returns JSON object
|
2540
|
+
*/
|
2541
|
+
public toJSON(): { [k: string]: any };
|
2542
|
+
}
|
2543
|
+
|
2544
|
+
/** Properties of a StakingInfo. */
|
2545
|
+
interface IStakingInfo {
|
2546
|
+
|
2547
|
+
/** StakingInfo stakerPublicKey */
|
2548
|
+
stakerPublicKey?: (Uint8Array|null);
|
2549
|
+
|
2550
|
+
/** StakingInfo finalityProviderPublicKey */
|
2551
|
+
finalityProviderPublicKey?: (Uint8Array|null);
|
2552
|
+
|
2553
|
+
/** StakingInfo stakingTime */
|
2554
|
+
stakingTime?: (number|null);
|
2555
|
+
|
2556
|
+
/** StakingInfo covenantCommitteePublicKeys */
|
2557
|
+
covenantCommitteePublicKeys?: (Uint8Array[]|null);
|
2558
|
+
|
2559
|
+
/** StakingInfo covenantQuorum */
|
2560
|
+
covenantQuorum?: (number|null);
|
2561
|
+
}
|
2562
|
+
|
2563
|
+
/** Represents a StakingInfo. */
|
2564
|
+
class StakingInfo implements IStakingInfo {
|
2565
|
+
|
2566
|
+
/**
|
2567
|
+
* Constructs a new StakingInfo.
|
2568
|
+
* @param [properties] Properties to set
|
2569
|
+
*/
|
2570
|
+
constructor(properties?: TW.BabylonStaking.Proto.IStakingInfo);
|
2571
|
+
|
2572
|
+
/** StakingInfo stakerPublicKey. */
|
2573
|
+
public stakerPublicKey: Uint8Array;
|
2574
|
+
|
2575
|
+
/** StakingInfo finalityProviderPublicKey. */
|
2576
|
+
public finalityProviderPublicKey: Uint8Array;
|
2577
|
+
|
2578
|
+
/** StakingInfo stakingTime. */
|
2579
|
+
public stakingTime: number;
|
2580
|
+
|
2581
|
+
/** StakingInfo covenantCommitteePublicKeys. */
|
2582
|
+
public covenantCommitteePublicKeys: Uint8Array[];
|
2583
|
+
|
2584
|
+
/** StakingInfo covenantQuorum. */
|
2585
|
+
public covenantQuorum: number;
|
2586
|
+
|
2587
|
+
/**
|
2588
|
+
* Creates a new StakingInfo instance using the specified properties.
|
2589
|
+
* @param [properties] Properties to set
|
2590
|
+
* @returns StakingInfo instance
|
2591
|
+
*/
|
2592
|
+
public static create(properties?: TW.BabylonStaking.Proto.IStakingInfo): TW.BabylonStaking.Proto.StakingInfo;
|
2593
|
+
|
2594
|
+
/**
|
2595
|
+
* Encodes the specified StakingInfo message. Does not implicitly {@link TW.BabylonStaking.Proto.StakingInfo.verify|verify} messages.
|
2596
|
+
* @param message StakingInfo 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.IStakingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
2601
|
+
|
2602
|
+
/**
|
2603
|
+
* Decodes a StakingInfo 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 StakingInfo
|
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.StakingInfo;
|
2611
|
+
|
2612
|
+
/**
|
2613
|
+
* Verifies a StakingInfo 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 StakingInfo message from a plain object. Also converts values to their respective internal types.
|
2621
|
+
* @param object Plain object
|
2622
|
+
* @returns StakingInfo
|
2623
|
+
*/
|
2624
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.StakingInfo;
|
2625
|
+
|
2626
|
+
/**
|
2627
|
+
* Creates a plain object from a StakingInfo message. Also converts values to other types if specified.
|
2628
|
+
* @param message StakingInfo
|
2629
|
+
* @param [options] Conversion options
|
2630
|
+
* @returns Plain object
|
2631
|
+
*/
|
2632
|
+
public static toObject(message: TW.BabylonStaking.Proto.StakingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2633
|
+
|
2634
|
+
/**
|
2635
|
+
* Converts this StakingInfo to JSON.
|
2636
|
+
* @returns JSON object
|
2637
|
+
*/
|
2638
|
+
public toJSON(): { [k: string]: any };
|
2639
|
+
}
|
2640
|
+
|
2641
|
+
/** Properties of an InputBuilder. */
|
2642
|
+
interface IInputBuilder {
|
2643
|
+
}
|
2644
|
+
|
2645
|
+
/** Represents an InputBuilder. */
|
2646
|
+
class InputBuilder implements IInputBuilder {
|
2647
|
+
|
2648
|
+
/**
|
2649
|
+
* Constructs a new InputBuilder.
|
2650
|
+
* @param [properties] Properties to set
|
2651
|
+
*/
|
2652
|
+
constructor(properties?: TW.BabylonStaking.Proto.IInputBuilder);
|
2653
|
+
|
2654
|
+
/**
|
2655
|
+
* Creates a new InputBuilder instance using the specified properties.
|
2656
|
+
* @param [properties] Properties to set
|
2657
|
+
* @returns InputBuilder instance
|
2658
|
+
*/
|
2659
|
+
public static create(properties?: TW.BabylonStaking.Proto.IInputBuilder): TW.BabylonStaking.Proto.InputBuilder;
|
2660
|
+
|
2661
|
+
/**
|
2662
|
+
* Encodes the specified InputBuilder message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.verify|verify} messages.
|
2663
|
+
* @param message InputBuilder message or plain object to encode
|
2664
|
+
* @param [writer] Writer to encode to
|
2665
|
+
* @returns Writer
|
2666
|
+
*/
|
2667
|
+
public static encode(message: TW.BabylonStaking.Proto.IInputBuilder, writer?: $protobuf.Writer): $protobuf.Writer;
|
2668
|
+
|
2669
|
+
/**
|
2670
|
+
* Decodes an InputBuilder message from the specified reader or buffer.
|
2671
|
+
* @param reader Reader or buffer to decode from
|
2672
|
+
* @param [length] Message length if known beforehand
|
2673
|
+
* @returns InputBuilder
|
2674
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
2675
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2676
|
+
*/
|
2677
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder;
|
2678
|
+
|
2679
|
+
/**
|
2680
|
+
* Verifies an InputBuilder message.
|
2681
|
+
* @param message Plain object to verify
|
2682
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
2683
|
+
*/
|
2684
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
2685
|
+
|
2686
|
+
/**
|
2687
|
+
* Creates an InputBuilder message from a plain object. Also converts values to their respective internal types.
|
2688
|
+
* @param object Plain object
|
2689
|
+
* @returns InputBuilder
|
2690
|
+
*/
|
2691
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder;
|
2692
|
+
|
2693
|
+
/**
|
2694
|
+
* Creates a plain object from an InputBuilder message. Also converts values to other types if specified.
|
2695
|
+
* @param message InputBuilder
|
2696
|
+
* @param [options] Conversion options
|
2697
|
+
* @returns Plain object
|
2698
|
+
*/
|
2699
|
+
public static toObject(message: TW.BabylonStaking.Proto.InputBuilder, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2700
|
+
|
2701
|
+
/**
|
2702
|
+
* Converts this InputBuilder to JSON.
|
2703
|
+
* @returns JSON object
|
2704
|
+
*/
|
2705
|
+
public toJSON(): { [k: string]: any };
|
2706
|
+
}
|
2707
|
+
|
2708
|
+
namespace InputBuilder {
|
2709
|
+
|
2710
|
+
/** Properties of a StakingTimelockPath. */
|
2711
|
+
interface IStakingTimelockPath {
|
2712
|
+
|
2713
|
+
/** StakingTimelockPath params */
|
2714
|
+
params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
2715
|
+
}
|
2716
|
+
|
2717
|
+
/** Represents a StakingTimelockPath. */
|
2718
|
+
class StakingTimelockPath implements IStakingTimelockPath {
|
2719
|
+
|
2720
|
+
/**
|
2721
|
+
* Constructs a new StakingTimelockPath.
|
2722
|
+
* @param [properties] Properties to set
|
2723
|
+
*/
|
2724
|
+
constructor(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingTimelockPath);
|
2725
|
+
|
2726
|
+
/** StakingTimelockPath params. */
|
2727
|
+
public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
2728
|
+
|
2729
|
+
/**
|
2730
|
+
* Creates a new StakingTimelockPath instance using the specified properties.
|
2731
|
+
* @param [properties] Properties to set
|
2732
|
+
* @returns StakingTimelockPath instance
|
2733
|
+
*/
|
2734
|
+
public static create(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingTimelockPath): TW.BabylonStaking.Proto.InputBuilder.StakingTimelockPath;
|
2735
|
+
|
2736
|
+
/**
|
2737
|
+
* Encodes the specified StakingTimelockPath message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.StakingTimelockPath.verify|verify} messages.
|
2738
|
+
* @param message StakingTimelockPath message or plain object to encode
|
2739
|
+
* @param [writer] Writer to encode to
|
2740
|
+
* @returns Writer
|
2741
|
+
*/
|
2742
|
+
public static encode(message: TW.BabylonStaking.Proto.InputBuilder.IStakingTimelockPath, writer?: $protobuf.Writer): $protobuf.Writer;
|
2743
|
+
|
2744
|
+
/**
|
2745
|
+
* Decodes a StakingTimelockPath message from the specified reader or buffer.
|
2746
|
+
* @param reader Reader or buffer to decode from
|
2747
|
+
* @param [length] Message length if known beforehand
|
2748
|
+
* @returns StakingTimelockPath
|
2749
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
2750
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2751
|
+
*/
|
2752
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder.StakingTimelockPath;
|
2753
|
+
|
2754
|
+
/**
|
2755
|
+
* Verifies a StakingTimelockPath message.
|
2756
|
+
* @param message Plain object to verify
|
2757
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
2758
|
+
*/
|
2759
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
2760
|
+
|
2761
|
+
/**
|
2762
|
+
* Creates a StakingTimelockPath message from a plain object. Also converts values to their respective internal types.
|
2763
|
+
* @param object Plain object
|
2764
|
+
* @returns StakingTimelockPath
|
2765
|
+
*/
|
2766
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder.StakingTimelockPath;
|
2767
|
+
|
2768
|
+
/**
|
2769
|
+
* Creates a plain object from a StakingTimelockPath message. Also converts values to other types if specified.
|
2770
|
+
* @param message StakingTimelockPath
|
2771
|
+
* @param [options] Conversion options
|
2772
|
+
* @returns Plain object
|
2773
|
+
*/
|
2774
|
+
public static toObject(message: TW.BabylonStaking.Proto.InputBuilder.StakingTimelockPath, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2775
|
+
|
2776
|
+
/**
|
2777
|
+
* Converts this StakingTimelockPath to JSON.
|
2778
|
+
* @returns JSON object
|
2779
|
+
*/
|
2780
|
+
public toJSON(): { [k: string]: any };
|
2781
|
+
}
|
2782
|
+
|
2783
|
+
/** Properties of a StakingUnbondingPath. */
|
2784
|
+
interface IStakingUnbondingPath {
|
2785
|
+
|
2786
|
+
/** StakingUnbondingPath params */
|
2787
|
+
params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
2788
|
+
|
2789
|
+
/** StakingUnbondingPath covenantCommitteeSignatures */
|
2790
|
+
covenantCommitteeSignatures?: (TW.BabylonStaking.Proto.IPublicKeySignature[]|null);
|
2791
|
+
}
|
2792
|
+
|
2793
|
+
/** Represents a StakingUnbondingPath. */
|
2794
|
+
class StakingUnbondingPath implements IStakingUnbondingPath {
|
2795
|
+
|
2796
|
+
/**
|
2797
|
+
* Constructs a new StakingUnbondingPath.
|
2798
|
+
* @param [properties] Properties to set
|
2799
|
+
*/
|
2800
|
+
constructor(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingUnbondingPath);
|
2801
|
+
|
2802
|
+
/** StakingUnbondingPath params. */
|
2803
|
+
public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
2804
|
+
|
2805
|
+
/** StakingUnbondingPath covenantCommitteeSignatures. */
|
2806
|
+
public covenantCommitteeSignatures: TW.BabylonStaking.Proto.IPublicKeySignature[];
|
2807
|
+
|
2808
|
+
/**
|
2809
|
+
* Creates a new StakingUnbondingPath instance using the specified properties.
|
2810
|
+
* @param [properties] Properties to set
|
2811
|
+
* @returns StakingUnbondingPath instance
|
2812
|
+
*/
|
2813
|
+
public static create(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingUnbondingPath): TW.BabylonStaking.Proto.InputBuilder.StakingUnbondingPath;
|
2814
|
+
|
2815
|
+
/**
|
2816
|
+
* Encodes the specified StakingUnbondingPath message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.StakingUnbondingPath.verify|verify} messages.
|
2817
|
+
* @param message StakingUnbondingPath message or plain object to encode
|
2818
|
+
* @param [writer] Writer to encode to
|
2819
|
+
* @returns Writer
|
2820
|
+
*/
|
2821
|
+
public static encode(message: TW.BabylonStaking.Proto.InputBuilder.IStakingUnbondingPath, writer?: $protobuf.Writer): $protobuf.Writer;
|
2822
|
+
|
2823
|
+
/**
|
2824
|
+
* Decodes a StakingUnbondingPath message from the specified reader or buffer.
|
2825
|
+
* @param reader Reader or buffer to decode from
|
2826
|
+
* @param [length] Message length if known beforehand
|
2827
|
+
* @returns StakingUnbondingPath
|
2828
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
2829
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2830
|
+
*/
|
2831
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder.StakingUnbondingPath;
|
2832
|
+
|
2833
|
+
/**
|
2834
|
+
* Verifies a StakingUnbondingPath message.
|
2835
|
+
* @param message Plain object to verify
|
2836
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
2837
|
+
*/
|
2838
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
2839
|
+
|
2840
|
+
/**
|
2841
|
+
* Creates a StakingUnbondingPath message from a plain object. Also converts values to their respective internal types.
|
2842
|
+
* @param object Plain object
|
2843
|
+
* @returns StakingUnbondingPath
|
2844
|
+
*/
|
2845
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder.StakingUnbondingPath;
|
2846
|
+
|
2847
|
+
/**
|
2848
|
+
* Creates a plain object from a StakingUnbondingPath message. Also converts values to other types if specified.
|
2849
|
+
* @param message StakingUnbondingPath
|
2850
|
+
* @param [options] Conversion options
|
2851
|
+
* @returns Plain object
|
2852
|
+
*/
|
2853
|
+
public static toObject(message: TW.BabylonStaking.Proto.InputBuilder.StakingUnbondingPath, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2854
|
+
|
2855
|
+
/**
|
2856
|
+
* Converts this StakingUnbondingPath to JSON.
|
2857
|
+
* @returns JSON object
|
2858
|
+
*/
|
2859
|
+
public toJSON(): { [k: string]: any };
|
2860
|
+
}
|
2861
|
+
|
2862
|
+
/** Properties of a StakingSlashingPath. */
|
2863
|
+
interface IStakingSlashingPath {
|
2864
|
+
|
2865
|
+
/** StakingSlashingPath params */
|
2866
|
+
params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
2867
|
+
|
2868
|
+
/** StakingSlashingPath finalityProviderSignature */
|
2869
|
+
finalityProviderSignature?: (TW.BabylonStaking.Proto.IPublicKeySignature|null);
|
2870
|
+
}
|
2871
|
+
|
2872
|
+
/** Represents a StakingSlashingPath. */
|
2873
|
+
class StakingSlashingPath implements IStakingSlashingPath {
|
2874
|
+
|
2875
|
+
/**
|
2876
|
+
* Constructs a new StakingSlashingPath.
|
2877
|
+
* @param [properties] Properties to set
|
2878
|
+
*/
|
2879
|
+
constructor(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingSlashingPath);
|
2880
|
+
|
2881
|
+
/** StakingSlashingPath params. */
|
2882
|
+
public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
2883
|
+
|
2884
|
+
/** StakingSlashingPath finalityProviderSignature. */
|
2885
|
+
public finalityProviderSignature?: (TW.BabylonStaking.Proto.IPublicKeySignature|null);
|
2886
|
+
|
2887
|
+
/**
|
2888
|
+
* Creates a new StakingSlashingPath instance using the specified properties.
|
2889
|
+
* @param [properties] Properties to set
|
2890
|
+
* @returns StakingSlashingPath instance
|
2891
|
+
*/
|
2892
|
+
public static create(properties?: TW.BabylonStaking.Proto.InputBuilder.IStakingSlashingPath): TW.BabylonStaking.Proto.InputBuilder.StakingSlashingPath;
|
2893
|
+
|
2894
|
+
/**
|
2895
|
+
* Encodes the specified StakingSlashingPath message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.StakingSlashingPath.verify|verify} messages.
|
2896
|
+
* @param message StakingSlashingPath message or plain object to encode
|
2897
|
+
* @param [writer] Writer to encode to
|
2898
|
+
* @returns Writer
|
2899
|
+
*/
|
2900
|
+
public static encode(message: TW.BabylonStaking.Proto.InputBuilder.IStakingSlashingPath, writer?: $protobuf.Writer): $protobuf.Writer;
|
2901
|
+
|
2902
|
+
/**
|
2903
|
+
* Decodes a StakingSlashingPath message from the specified reader or buffer.
|
2904
|
+
* @param reader Reader or buffer to decode from
|
2905
|
+
* @param [length] Message length if known beforehand
|
2906
|
+
* @returns StakingSlashingPath
|
2907
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
2908
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2909
|
+
*/
|
2910
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder.StakingSlashingPath;
|
2911
|
+
|
2912
|
+
/**
|
2913
|
+
* Verifies a StakingSlashingPath message.
|
2914
|
+
* @param message Plain object to verify
|
2915
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
2916
|
+
*/
|
2917
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
2918
|
+
|
2919
|
+
/**
|
2920
|
+
* Creates a StakingSlashingPath message from a plain object. Also converts values to their respective internal types.
|
2921
|
+
* @param object Plain object
|
2922
|
+
* @returns StakingSlashingPath
|
2923
|
+
*/
|
2924
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder.StakingSlashingPath;
|
2925
|
+
|
2926
|
+
/**
|
2927
|
+
* Creates a plain object from a StakingSlashingPath message. Also converts values to other types if specified.
|
2928
|
+
* @param message StakingSlashingPath
|
2929
|
+
* @param [options] Conversion options
|
2930
|
+
* @returns Plain object
|
2931
|
+
*/
|
2932
|
+
public static toObject(message: TW.BabylonStaking.Proto.InputBuilder.StakingSlashingPath, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2933
|
+
|
2934
|
+
/**
|
2935
|
+
* Converts this StakingSlashingPath to JSON.
|
2936
|
+
* @returns JSON object
|
2937
|
+
*/
|
2938
|
+
public toJSON(): { [k: string]: any };
|
2939
|
+
}
|
2940
|
+
|
2941
|
+
/** Properties of an UnbondingTimelockPath. */
|
2942
|
+
interface IUnbondingTimelockPath {
|
2943
|
+
|
2944
|
+
/** UnbondingTimelockPath params */
|
2945
|
+
params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
2946
|
+
}
|
2947
|
+
|
2948
|
+
/** Represents an UnbondingTimelockPath. */
|
2949
|
+
class UnbondingTimelockPath implements IUnbondingTimelockPath {
|
2950
|
+
|
2951
|
+
/**
|
2952
|
+
* Constructs a new UnbondingTimelockPath.
|
2953
|
+
* @param [properties] Properties to set
|
2954
|
+
*/
|
2955
|
+
constructor(properties?: TW.BabylonStaking.Proto.InputBuilder.IUnbondingTimelockPath);
|
2956
|
+
|
2957
|
+
/** UnbondingTimelockPath params. */
|
2958
|
+
public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
2959
|
+
|
2960
|
+
/**
|
2961
|
+
* Creates a new UnbondingTimelockPath instance using the specified properties.
|
2962
|
+
* @param [properties] Properties to set
|
2963
|
+
* @returns UnbondingTimelockPath instance
|
2964
|
+
*/
|
2965
|
+
public static create(properties?: TW.BabylonStaking.Proto.InputBuilder.IUnbondingTimelockPath): TW.BabylonStaking.Proto.InputBuilder.UnbondingTimelockPath;
|
2966
|
+
|
2967
|
+
/**
|
2968
|
+
* Encodes the specified UnbondingTimelockPath message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.UnbondingTimelockPath.verify|verify} messages.
|
2969
|
+
* @param message UnbondingTimelockPath message or plain object to encode
|
2970
|
+
* @param [writer] Writer to encode to
|
2971
|
+
* @returns Writer
|
2972
|
+
*/
|
2973
|
+
public static encode(message: TW.BabylonStaking.Proto.InputBuilder.IUnbondingTimelockPath, writer?: $protobuf.Writer): $protobuf.Writer;
|
2974
|
+
|
2975
|
+
/**
|
2976
|
+
* Decodes an UnbondingTimelockPath message from the specified reader or buffer.
|
2977
|
+
* @param reader Reader or buffer to decode from
|
2978
|
+
* @param [length] Message length if known beforehand
|
2979
|
+
* @returns UnbondingTimelockPath
|
2980
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
2981
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2982
|
+
*/
|
2983
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder.UnbondingTimelockPath;
|
2984
|
+
|
2985
|
+
/**
|
2986
|
+
* Verifies an UnbondingTimelockPath message.
|
2987
|
+
* @param message Plain object to verify
|
2988
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
2989
|
+
*/
|
2990
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
2991
|
+
|
2992
|
+
/**
|
2993
|
+
* Creates an UnbondingTimelockPath message from a plain object. Also converts values to their respective internal types.
|
2994
|
+
* @param object Plain object
|
2995
|
+
* @returns UnbondingTimelockPath
|
2996
|
+
*/
|
2997
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder.UnbondingTimelockPath;
|
2998
|
+
|
2999
|
+
/**
|
3000
|
+
* Creates a plain object from an UnbondingTimelockPath message. Also converts values to other types if specified.
|
3001
|
+
* @param message UnbondingTimelockPath
|
3002
|
+
* @param [options] Conversion options
|
3003
|
+
* @returns Plain object
|
3004
|
+
*/
|
3005
|
+
public static toObject(message: TW.BabylonStaking.Proto.InputBuilder.UnbondingTimelockPath, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3006
|
+
|
3007
|
+
/**
|
3008
|
+
* Converts this UnbondingTimelockPath to JSON.
|
3009
|
+
* @returns JSON object
|
3010
|
+
*/
|
3011
|
+
public toJSON(): { [k: string]: any };
|
3012
|
+
}
|
3013
|
+
|
3014
|
+
/** Properties of an UnbondingSlashingPath. */
|
3015
|
+
interface IUnbondingSlashingPath {
|
3016
|
+
|
3017
|
+
/** UnbondingSlashingPath params */
|
3018
|
+
params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
3019
|
+
|
3020
|
+
/** UnbondingSlashingPath finalityProviderSignature */
|
3021
|
+
finalityProviderSignature?: (TW.BabylonStaking.Proto.IPublicKeySignature|null);
|
3022
|
+
}
|
3023
|
+
|
3024
|
+
/** Represents an UnbondingSlashingPath. */
|
3025
|
+
class UnbondingSlashingPath implements IUnbondingSlashingPath {
|
3026
|
+
|
3027
|
+
/**
|
3028
|
+
* Constructs a new UnbondingSlashingPath.
|
3029
|
+
* @param [properties] Properties to set
|
3030
|
+
*/
|
3031
|
+
constructor(properties?: TW.BabylonStaking.Proto.InputBuilder.IUnbondingSlashingPath);
|
3032
|
+
|
3033
|
+
/** UnbondingSlashingPath params. */
|
3034
|
+
public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
3035
|
+
|
3036
|
+
/** UnbondingSlashingPath finalityProviderSignature. */
|
3037
|
+
public finalityProviderSignature?: (TW.BabylonStaking.Proto.IPublicKeySignature|null);
|
3038
|
+
|
3039
|
+
/**
|
3040
|
+
* Creates a new UnbondingSlashingPath instance using the specified properties.
|
3041
|
+
* @param [properties] Properties to set
|
3042
|
+
* @returns UnbondingSlashingPath instance
|
3043
|
+
*/
|
3044
|
+
public static create(properties?: TW.BabylonStaking.Proto.InputBuilder.IUnbondingSlashingPath): TW.BabylonStaking.Proto.InputBuilder.UnbondingSlashingPath;
|
3045
|
+
|
3046
|
+
/**
|
3047
|
+
* Encodes the specified UnbondingSlashingPath message. Does not implicitly {@link TW.BabylonStaking.Proto.InputBuilder.UnbondingSlashingPath.verify|verify} messages.
|
3048
|
+
* @param message UnbondingSlashingPath message or plain object to encode
|
3049
|
+
* @param [writer] Writer to encode to
|
3050
|
+
* @returns Writer
|
3051
|
+
*/
|
3052
|
+
public static encode(message: TW.BabylonStaking.Proto.InputBuilder.IUnbondingSlashingPath, writer?: $protobuf.Writer): $protobuf.Writer;
|
3053
|
+
|
3054
|
+
/**
|
3055
|
+
* Decodes an UnbondingSlashingPath message from the specified reader or buffer.
|
3056
|
+
* @param reader Reader or buffer to decode from
|
3057
|
+
* @param [length] Message length if known beforehand
|
3058
|
+
* @returns UnbondingSlashingPath
|
3059
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
3060
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3061
|
+
*/
|
3062
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.InputBuilder.UnbondingSlashingPath;
|
3063
|
+
|
3064
|
+
/**
|
3065
|
+
* Verifies an UnbondingSlashingPath message.
|
3066
|
+
* @param message Plain object to verify
|
3067
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
3068
|
+
*/
|
3069
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
3070
|
+
|
3071
|
+
/**
|
3072
|
+
* Creates an UnbondingSlashingPath message from a plain object. Also converts values to their respective internal types.
|
3073
|
+
* @param object Plain object
|
3074
|
+
* @returns UnbondingSlashingPath
|
3075
|
+
*/
|
3076
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.InputBuilder.UnbondingSlashingPath;
|
3077
|
+
|
3078
|
+
/**
|
3079
|
+
* Creates a plain object from an UnbondingSlashingPath message. Also converts values to other types if specified.
|
3080
|
+
* @param message UnbondingSlashingPath
|
3081
|
+
* @param [options] Conversion options
|
3082
|
+
* @returns Plain object
|
3083
|
+
*/
|
3084
|
+
public static toObject(message: TW.BabylonStaking.Proto.InputBuilder.UnbondingSlashingPath, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3085
|
+
|
3086
|
+
/**
|
3087
|
+
* Converts this UnbondingSlashingPath to JSON.
|
3088
|
+
* @returns JSON object
|
3089
|
+
*/
|
3090
|
+
public toJSON(): { [k: string]: any };
|
3091
|
+
}
|
3092
|
+
}
|
3093
|
+
|
3094
|
+
/** Properties of an OutputBuilder. */
|
3095
|
+
interface IOutputBuilder {
|
3096
|
+
}
|
3097
|
+
|
3098
|
+
/** Represents an OutputBuilder. */
|
3099
|
+
class OutputBuilder implements IOutputBuilder {
|
3100
|
+
|
3101
|
+
/**
|
3102
|
+
* Constructs a new OutputBuilder.
|
3103
|
+
* @param [properties] Properties to set
|
3104
|
+
*/
|
3105
|
+
constructor(properties?: TW.BabylonStaking.Proto.IOutputBuilder);
|
3106
|
+
|
3107
|
+
/**
|
3108
|
+
* Creates a new OutputBuilder instance using the specified properties.
|
3109
|
+
* @param [properties] Properties to set
|
3110
|
+
* @returns OutputBuilder instance
|
3111
|
+
*/
|
3112
|
+
public static create(properties?: TW.BabylonStaking.Proto.IOutputBuilder): TW.BabylonStaking.Proto.OutputBuilder;
|
3113
|
+
|
3114
|
+
/**
|
3115
|
+
* Encodes the specified OutputBuilder message. Does not implicitly {@link TW.BabylonStaking.Proto.OutputBuilder.verify|verify} messages.
|
3116
|
+
* @param message OutputBuilder message or plain object to encode
|
3117
|
+
* @param [writer] Writer to encode to
|
3118
|
+
* @returns Writer
|
3119
|
+
*/
|
3120
|
+
public static encode(message: TW.BabylonStaking.Proto.IOutputBuilder, writer?: $protobuf.Writer): $protobuf.Writer;
|
3121
|
+
|
3122
|
+
/**
|
3123
|
+
* Decodes an OutputBuilder message from the specified reader or buffer.
|
3124
|
+
* @param reader Reader or buffer to decode from
|
3125
|
+
* @param [length] Message length if known beforehand
|
3126
|
+
* @returns OutputBuilder
|
3127
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
3128
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3129
|
+
*/
|
3130
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.OutputBuilder;
|
3131
|
+
|
3132
|
+
/**
|
3133
|
+
* Verifies an OutputBuilder message.
|
3134
|
+
* @param message Plain object to verify
|
3135
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
3136
|
+
*/
|
3137
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
3138
|
+
|
3139
|
+
/**
|
3140
|
+
* Creates an OutputBuilder message from a plain object. Also converts values to their respective internal types.
|
3141
|
+
* @param object Plain object
|
3142
|
+
* @returns OutputBuilder
|
3143
|
+
*/
|
3144
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.OutputBuilder;
|
3145
|
+
|
3146
|
+
/**
|
3147
|
+
* Creates a plain object from an OutputBuilder message. Also converts values to other types if specified.
|
3148
|
+
* @param message OutputBuilder
|
3149
|
+
* @param [options] Conversion options
|
3150
|
+
* @returns Plain object
|
3151
|
+
*/
|
3152
|
+
public static toObject(message: TW.BabylonStaking.Proto.OutputBuilder, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3153
|
+
|
3154
|
+
/**
|
3155
|
+
* Converts this OutputBuilder to JSON.
|
3156
|
+
* @returns JSON object
|
3157
|
+
*/
|
3158
|
+
public toJSON(): { [k: string]: any };
|
3159
|
+
}
|
3160
|
+
|
3161
|
+
namespace OutputBuilder {
|
3162
|
+
|
3163
|
+
/** Properties of a StakingOutput. */
|
3164
|
+
interface IStakingOutput {
|
3165
|
+
|
3166
|
+
/** StakingOutput params */
|
3167
|
+
params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
3168
|
+
}
|
3169
|
+
|
3170
|
+
/** Represents a StakingOutput. */
|
3171
|
+
class StakingOutput implements IStakingOutput {
|
3172
|
+
|
3173
|
+
/**
|
3174
|
+
* Constructs a new StakingOutput.
|
3175
|
+
* @param [properties] Properties to set
|
3176
|
+
*/
|
3177
|
+
constructor(properties?: TW.BabylonStaking.Proto.OutputBuilder.IStakingOutput);
|
3178
|
+
|
3179
|
+
/** StakingOutput params. */
|
3180
|
+
public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
3181
|
+
|
3182
|
+
/**
|
3183
|
+
* Creates a new StakingOutput instance using the specified properties.
|
3184
|
+
* @param [properties] Properties to set
|
3185
|
+
* @returns StakingOutput instance
|
3186
|
+
*/
|
3187
|
+
public static create(properties?: TW.BabylonStaking.Proto.OutputBuilder.IStakingOutput): TW.BabylonStaking.Proto.OutputBuilder.StakingOutput;
|
3188
|
+
|
3189
|
+
/**
|
3190
|
+
* Encodes the specified StakingOutput message. Does not implicitly {@link TW.BabylonStaking.Proto.OutputBuilder.StakingOutput.verify|verify} messages.
|
3191
|
+
* @param message StakingOutput message or plain object to encode
|
3192
|
+
* @param [writer] Writer to encode to
|
3193
|
+
* @returns Writer
|
3194
|
+
*/
|
3195
|
+
public static encode(message: TW.BabylonStaking.Proto.OutputBuilder.IStakingOutput, writer?: $protobuf.Writer): $protobuf.Writer;
|
3196
|
+
|
3197
|
+
/**
|
3198
|
+
* Decodes a StakingOutput message from the specified reader or buffer.
|
3199
|
+
* @param reader Reader or buffer to decode from
|
3200
|
+
* @param [length] Message length if known beforehand
|
3201
|
+
* @returns StakingOutput
|
3202
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
3203
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3204
|
+
*/
|
3205
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.OutputBuilder.StakingOutput;
|
3206
|
+
|
3207
|
+
/**
|
3208
|
+
* Verifies a StakingOutput message.
|
3209
|
+
* @param message Plain object to verify
|
3210
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
3211
|
+
*/
|
3212
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
3213
|
+
|
3214
|
+
/**
|
3215
|
+
* Creates a StakingOutput message from a plain object. Also converts values to their respective internal types.
|
3216
|
+
* @param object Plain object
|
3217
|
+
* @returns StakingOutput
|
3218
|
+
*/
|
3219
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.OutputBuilder.StakingOutput;
|
3220
|
+
|
3221
|
+
/**
|
3222
|
+
* Creates a plain object from a StakingOutput message. Also converts values to other types if specified.
|
3223
|
+
* @param message StakingOutput
|
3224
|
+
* @param [options] Conversion options
|
3225
|
+
* @returns Plain object
|
3226
|
+
*/
|
3227
|
+
public static toObject(message: TW.BabylonStaking.Proto.OutputBuilder.StakingOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3228
|
+
|
3229
|
+
/**
|
3230
|
+
* Converts this StakingOutput to JSON.
|
3231
|
+
* @returns JSON object
|
3232
|
+
*/
|
3233
|
+
public toJSON(): { [k: string]: any };
|
3234
|
+
}
|
3235
|
+
|
3236
|
+
/** Properties of an UnbondingOutput. */
|
3237
|
+
interface IUnbondingOutput {
|
3238
|
+
|
3239
|
+
/** UnbondingOutput params */
|
3240
|
+
params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
3241
|
+
}
|
3242
|
+
|
3243
|
+
/** Represents an UnbondingOutput. */
|
3244
|
+
class UnbondingOutput implements IUnbondingOutput {
|
3245
|
+
|
3246
|
+
/**
|
3247
|
+
* Constructs a new UnbondingOutput.
|
3248
|
+
* @param [properties] Properties to set
|
3249
|
+
*/
|
3250
|
+
constructor(properties?: TW.BabylonStaking.Proto.OutputBuilder.IUnbondingOutput);
|
3251
|
+
|
3252
|
+
/** UnbondingOutput params. */
|
3253
|
+
public params?: (TW.BabylonStaking.Proto.IStakingInfo|null);
|
3254
|
+
|
3255
|
+
/**
|
3256
|
+
* Creates a new UnbondingOutput instance using the specified properties.
|
3257
|
+
* @param [properties] Properties to set
|
3258
|
+
* @returns UnbondingOutput instance
|
3259
|
+
*/
|
3260
|
+
public static create(properties?: TW.BabylonStaking.Proto.OutputBuilder.IUnbondingOutput): TW.BabylonStaking.Proto.OutputBuilder.UnbondingOutput;
|
3261
|
+
|
3262
|
+
/**
|
3263
|
+
* Encodes the specified UnbondingOutput message. Does not implicitly {@link TW.BabylonStaking.Proto.OutputBuilder.UnbondingOutput.verify|verify} messages.
|
3264
|
+
* @param message UnbondingOutput message or plain object to encode
|
3265
|
+
* @param [writer] Writer to encode to
|
3266
|
+
* @returns Writer
|
3267
|
+
*/
|
3268
|
+
public static encode(message: TW.BabylonStaking.Proto.OutputBuilder.IUnbondingOutput, writer?: $protobuf.Writer): $protobuf.Writer;
|
3269
|
+
|
3270
|
+
/**
|
3271
|
+
* Decodes an UnbondingOutput message from the specified reader or buffer.
|
3272
|
+
* @param reader Reader or buffer to decode from
|
3273
|
+
* @param [length] Message length if known beforehand
|
3274
|
+
* @returns UnbondingOutput
|
3275
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
3276
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3277
|
+
*/
|
3278
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.OutputBuilder.UnbondingOutput;
|
3279
|
+
|
3280
|
+
/**
|
3281
|
+
* Verifies an UnbondingOutput message.
|
3282
|
+
* @param message Plain object to verify
|
3283
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
3284
|
+
*/
|
3285
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
3286
|
+
|
3287
|
+
/**
|
3288
|
+
* Creates an UnbondingOutput message from a plain object. Also converts values to their respective internal types.
|
3289
|
+
* @param object Plain object
|
3290
|
+
* @returns UnbondingOutput
|
3291
|
+
*/
|
3292
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.OutputBuilder.UnbondingOutput;
|
3293
|
+
|
3294
|
+
/**
|
3295
|
+
* Creates a plain object from an UnbondingOutput message. Also converts values to other types if specified.
|
3296
|
+
* @param message UnbondingOutput
|
3297
|
+
* @param [options] Conversion options
|
3298
|
+
* @returns Plain object
|
3299
|
+
*/
|
3300
|
+
public static toObject(message: TW.BabylonStaking.Proto.OutputBuilder.UnbondingOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3301
|
+
|
3302
|
+
/**
|
3303
|
+
* Converts this UnbondingOutput to JSON.
|
3304
|
+
* @returns JSON object
|
3305
|
+
*/
|
3306
|
+
public toJSON(): { [k: string]: any };
|
3307
|
+
}
|
3308
|
+
|
3309
|
+
/** Properties of an OpReturn. */
|
3310
|
+
interface IOpReturn {
|
3311
|
+
|
3312
|
+
/** OpReturn tag */
|
3313
|
+
tag?: (Uint8Array|null);
|
3314
|
+
|
3315
|
+
/** OpReturn stakerPublicKey */
|
3316
|
+
stakerPublicKey?: (Uint8Array|null);
|
3317
|
+
|
3318
|
+
/** OpReturn finalityProviderPublicKey */
|
3319
|
+
finalityProviderPublicKey?: (Uint8Array|null);
|
3320
|
+
|
3321
|
+
/** OpReturn stakingTime */
|
3322
|
+
stakingTime?: (number|null);
|
3323
|
+
}
|
3324
|
+
|
3325
|
+
/** Represents an OpReturn. */
|
3326
|
+
class OpReturn implements IOpReturn {
|
3327
|
+
|
3328
|
+
/**
|
3329
|
+
* Constructs a new OpReturn.
|
3330
|
+
* @param [properties] Properties to set
|
3331
|
+
*/
|
3332
|
+
constructor(properties?: TW.BabylonStaking.Proto.OutputBuilder.IOpReturn);
|
3333
|
+
|
3334
|
+
/** OpReturn tag. */
|
3335
|
+
public tag: Uint8Array;
|
3336
|
+
|
3337
|
+
/** OpReturn stakerPublicKey. */
|
3338
|
+
public stakerPublicKey: Uint8Array;
|
3339
|
+
|
3340
|
+
/** OpReturn finalityProviderPublicKey. */
|
3341
|
+
public finalityProviderPublicKey: Uint8Array;
|
3342
|
+
|
3343
|
+
/** OpReturn stakingTime. */
|
3344
|
+
public stakingTime: number;
|
3345
|
+
|
3346
|
+
/**
|
3347
|
+
* Creates a new OpReturn instance using the specified properties.
|
3348
|
+
* @param [properties] Properties to set
|
3349
|
+
* @returns OpReturn instance
|
3350
|
+
*/
|
3351
|
+
public static create(properties?: TW.BabylonStaking.Proto.OutputBuilder.IOpReturn): TW.BabylonStaking.Proto.OutputBuilder.OpReturn;
|
3352
|
+
|
3353
|
+
/**
|
3354
|
+
* Encodes the specified OpReturn message. Does not implicitly {@link TW.BabylonStaking.Proto.OutputBuilder.OpReturn.verify|verify} messages.
|
3355
|
+
* @param message OpReturn message or plain object to encode
|
3356
|
+
* @param [writer] Writer to encode to
|
3357
|
+
* @returns Writer
|
3358
|
+
*/
|
3359
|
+
public static encode(message: TW.BabylonStaking.Proto.OutputBuilder.IOpReturn, writer?: $protobuf.Writer): $protobuf.Writer;
|
3360
|
+
|
3361
|
+
/**
|
3362
|
+
* Decodes an OpReturn message from the specified reader or buffer.
|
3363
|
+
* @param reader Reader or buffer to decode from
|
3364
|
+
* @param [length] Message length if known beforehand
|
3365
|
+
* @returns OpReturn
|
3366
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
3367
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3368
|
+
*/
|
3369
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BabylonStaking.Proto.OutputBuilder.OpReturn;
|
3370
|
+
|
3371
|
+
/**
|
3372
|
+
* Verifies an OpReturn message.
|
3373
|
+
* @param message Plain object to verify
|
3374
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
3375
|
+
*/
|
3376
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
3377
|
+
|
3378
|
+
/**
|
3379
|
+
* Creates an OpReturn message from a plain object. Also converts values to their respective internal types.
|
3380
|
+
* @param object Plain object
|
3381
|
+
* @returns OpReturn
|
3382
|
+
*/
|
3383
|
+
public static fromObject(object: { [k: string]: any }): TW.BabylonStaking.Proto.OutputBuilder.OpReturn;
|
3384
|
+
|
3385
|
+
/**
|
3386
|
+
* Creates a plain object from an OpReturn message. Also converts values to other types if specified.
|
3387
|
+
* @param message OpReturn
|
3388
|
+
* @param [options] Conversion options
|
3389
|
+
* @returns Plain object
|
3390
|
+
*/
|
3391
|
+
public static toObject(message: TW.BabylonStaking.Proto.OutputBuilder.OpReturn, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3392
|
+
|
3393
|
+
/**
|
3394
|
+
* Converts this OpReturn to JSON.
|
3395
|
+
* @returns JSON object
|
3396
|
+
*/
|
3397
|
+
public toJSON(): { [k: string]: any };
|
3398
|
+
}
|
3399
|
+
}
|
3400
|
+
}
|
3401
|
+
}
|
3402
|
+
|
2459
3403
|
/** Namespace Barz. */
|
2460
3404
|
namespace Barz {
|
2461
3405
|
|
@@ -6020,6 +6964,9 @@ export namespace TW {
|
|
6020
6964
|
/** SigningInput time */
|
6021
6965
|
time?: (number|null);
|
6022
6966
|
|
6967
|
+
/** SigningInput zip_0317 */
|
6968
|
+
zip_0317?: (boolean|null);
|
6969
|
+
|
6023
6970
|
/** SigningInput signingV2 */
|
6024
6971
|
signingV2?: (TW.BitcoinV2.Proto.ISigningInput|null);
|
6025
6972
|
|
@@ -6090,6 +7037,9 @@ export namespace TW {
|
|
6090
7037
|
/** SigningInput time. */
|
6091
7038
|
public time: number;
|
6092
7039
|
|
7040
|
+
/** SigningInput zip_0317. */
|
7041
|
+
public zip_0317: boolean;
|
7042
|
+
|
6093
7043
|
/** SigningInput signingV2. */
|
6094
7044
|
public signingV2?: (TW.BitcoinV2.Proto.ISigningInput|null);
|
6095
7045
|
|
@@ -6663,6 +7613,85 @@ export namespace TW {
|
|
6663
7613
|
public toJSON(): { [k: string]: any };
|
6664
7614
|
}
|
6665
7615
|
|
7616
|
+
/** Properties of a PublicKeySignature. */
|
7617
|
+
interface IPublicKeySignature {
|
7618
|
+
|
7619
|
+
/** PublicKeySignature publicKey */
|
7620
|
+
publicKey?: (Uint8Array|null);
|
7621
|
+
|
7622
|
+
/** PublicKeySignature signature */
|
7623
|
+
signature?: (Uint8Array|null);
|
7624
|
+
}
|
7625
|
+
|
7626
|
+
/** Represents a PublicKeySignature. */
|
7627
|
+
class PublicKeySignature implements IPublicKeySignature {
|
7628
|
+
|
7629
|
+
/**
|
7630
|
+
* Constructs a new PublicKeySignature.
|
7631
|
+
* @param [properties] Properties to set
|
7632
|
+
*/
|
7633
|
+
constructor(properties?: TW.BitcoinV2.Proto.IPublicKeySignature);
|
7634
|
+
|
7635
|
+
/** PublicKeySignature publicKey. */
|
7636
|
+
public publicKey: Uint8Array;
|
7637
|
+
|
7638
|
+
/** PublicKeySignature signature. */
|
7639
|
+
public signature: Uint8Array;
|
7640
|
+
|
7641
|
+
/**
|
7642
|
+
* Creates a new PublicKeySignature instance using the specified properties.
|
7643
|
+
* @param [properties] Properties to set
|
7644
|
+
* @returns PublicKeySignature instance
|
7645
|
+
*/
|
7646
|
+
public static create(properties?: TW.BitcoinV2.Proto.IPublicKeySignature): TW.BitcoinV2.Proto.PublicKeySignature;
|
7647
|
+
|
7648
|
+
/**
|
7649
|
+
* Encodes the specified PublicKeySignature message. Does not implicitly {@link TW.BitcoinV2.Proto.PublicKeySignature.verify|verify} messages.
|
7650
|
+
* @param message PublicKeySignature message or plain object to encode
|
7651
|
+
* @param [writer] Writer to encode to
|
7652
|
+
* @returns Writer
|
7653
|
+
*/
|
7654
|
+
public static encode(message: TW.BitcoinV2.Proto.IPublicKeySignature, writer?: $protobuf.Writer): $protobuf.Writer;
|
7655
|
+
|
7656
|
+
/**
|
7657
|
+
* Decodes a PublicKeySignature message from the specified reader or buffer.
|
7658
|
+
* @param reader Reader or buffer to decode from
|
7659
|
+
* @param [length] Message length if known beforehand
|
7660
|
+
* @returns PublicKeySignature
|
7661
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
7662
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7663
|
+
*/
|
7664
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.BitcoinV2.Proto.PublicKeySignature;
|
7665
|
+
|
7666
|
+
/**
|
7667
|
+
* Verifies a PublicKeySignature message.
|
7668
|
+
* @param message Plain object to verify
|
7669
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
7670
|
+
*/
|
7671
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
7672
|
+
|
7673
|
+
/**
|
7674
|
+
* Creates a PublicKeySignature message from a plain object. Also converts values to their respective internal types.
|
7675
|
+
* @param object Plain object
|
7676
|
+
* @returns PublicKeySignature
|
7677
|
+
*/
|
7678
|
+
public static fromObject(object: { [k: string]: any }): TW.BitcoinV2.Proto.PublicKeySignature;
|
7679
|
+
|
7680
|
+
/**
|
7681
|
+
* Creates a plain object from a PublicKeySignature message. Also converts values to other types if specified.
|
7682
|
+
* @param message PublicKeySignature
|
7683
|
+
* @param [options] Conversion options
|
7684
|
+
* @returns Plain object
|
7685
|
+
*/
|
7686
|
+
public static toObject(message: TW.BitcoinV2.Proto.PublicKeySignature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7687
|
+
|
7688
|
+
/**
|
7689
|
+
* Converts this PublicKeySignature to JSON.
|
7690
|
+
* @returns JSON object
|
7691
|
+
*/
|
7692
|
+
public toJSON(): { [k: string]: any };
|
7693
|
+
}
|
7694
|
+
|
6666
7695
|
/** Properties of an OutPoint. */
|
6667
7696
|
interface IOutPoint {
|
6668
7697
|
|
@@ -6946,6 +7975,21 @@ export namespace TW {
|
|
6946
7975
|
|
6947
7976
|
/** InputBuilder brc20Inscribe */
|
6948
7977
|
brc20Inscribe?: (TW.BitcoinV2.Proto.Input.IInputBrc20Inscription|null);
|
7978
|
+
|
7979
|
+
/** InputBuilder babylonStakingTimelockPath */
|
7980
|
+
babylonStakingTimelockPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingTimelockPath|null);
|
7981
|
+
|
7982
|
+
/** InputBuilder babylonStakingUnbondingPath */
|
7983
|
+
babylonStakingUnbondingPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingUnbondingPath|null);
|
7984
|
+
|
7985
|
+
/** InputBuilder babylonStakingSlashingPath */
|
7986
|
+
babylonStakingSlashingPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingSlashingPath|null);
|
7987
|
+
|
7988
|
+
/** InputBuilder babylonUnbondingTimelockPath */
|
7989
|
+
babylonUnbondingTimelockPath?: (TW.BabylonStaking.Proto.InputBuilder.IUnbondingTimelockPath|null);
|
7990
|
+
|
7991
|
+
/** InputBuilder babylonUnbondingSlashingPath */
|
7992
|
+
babylonUnbondingSlashingPath?: (TW.BabylonStaking.Proto.InputBuilder.IUnbondingSlashingPath|null);
|
6949
7993
|
}
|
6950
7994
|
|
6951
7995
|
/** Represents an InputBuilder. */
|
@@ -6972,8 +8016,23 @@ export namespace TW {
|
|
6972
8016
|
/** InputBuilder brc20Inscribe. */
|
6973
8017
|
public brc20Inscribe?: (TW.BitcoinV2.Proto.Input.IInputBrc20Inscription|null);
|
6974
8018
|
|
8019
|
+
/** InputBuilder babylonStakingTimelockPath. */
|
8020
|
+
public babylonStakingTimelockPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingTimelockPath|null);
|
8021
|
+
|
8022
|
+
/** InputBuilder babylonStakingUnbondingPath. */
|
8023
|
+
public babylonStakingUnbondingPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingUnbondingPath|null);
|
8024
|
+
|
8025
|
+
/** InputBuilder babylonStakingSlashingPath. */
|
8026
|
+
public babylonStakingSlashingPath?: (TW.BabylonStaking.Proto.InputBuilder.IStakingSlashingPath|null);
|
8027
|
+
|
8028
|
+
/** InputBuilder babylonUnbondingTimelockPath. */
|
8029
|
+
public babylonUnbondingTimelockPath?: (TW.BabylonStaking.Proto.InputBuilder.IUnbondingTimelockPath|null);
|
8030
|
+
|
8031
|
+
/** InputBuilder babylonUnbondingSlashingPath. */
|
8032
|
+
public babylonUnbondingSlashingPath?: (TW.BabylonStaking.Proto.InputBuilder.IUnbondingSlashingPath|null);
|
8033
|
+
|
6975
8034
|
/** InputBuilder variant. */
|
6976
|
-
public variant?: ("p2pk"|"p2pkh"|"p2wpkh"|"p2trKeyPath"|"brc20Inscribe");
|
8035
|
+
public variant?: ("p2pk"|"p2pkh"|"p2wpkh"|"p2trKeyPath"|"brc20Inscribe"|"babylonStakingTimelockPath"|"babylonStakingUnbondingPath"|"babylonStakingSlashingPath"|"babylonUnbondingTimelockPath"|"babylonUnbondingSlashingPath");
|
6977
8036
|
|
6978
8037
|
/**
|
6979
8038
|
* Creates a new InputBuilder instance using the specified properties.
|
@@ -7322,6 +8381,15 @@ export namespace TW {
|
|
7322
8381
|
|
7323
8382
|
/** OutputBuilder opReturn */
|
7324
8383
|
opReturn?: (Uint8Array|null);
|
8384
|
+
|
8385
|
+
/** OutputBuilder babylonStaking */
|
8386
|
+
babylonStaking?: (TW.BabylonStaking.Proto.OutputBuilder.IStakingOutput|null);
|
8387
|
+
|
8388
|
+
/** OutputBuilder babylonUnbonding */
|
8389
|
+
babylonUnbonding?: (TW.BabylonStaking.Proto.OutputBuilder.IUnbondingOutput|null);
|
8390
|
+
|
8391
|
+
/** OutputBuilder babylonStakingOpReturn */
|
8392
|
+
babylonStakingOpReturn?: (TW.BabylonStaking.Proto.OutputBuilder.IOpReturn|null);
|
7325
8393
|
}
|
7326
8394
|
|
7327
8395
|
/** Represents an OutputBuilder. */
|
@@ -7363,8 +8431,17 @@ export namespace TW {
|
|
7363
8431
|
/** OutputBuilder opReturn. */
|
7364
8432
|
public opReturn?: (Uint8Array|null);
|
7365
8433
|
|
8434
|
+
/** OutputBuilder babylonStaking. */
|
8435
|
+
public babylonStaking?: (TW.BabylonStaking.Proto.OutputBuilder.IStakingOutput|null);
|
8436
|
+
|
8437
|
+
/** OutputBuilder babylonUnbonding. */
|
8438
|
+
public babylonUnbonding?: (TW.BabylonStaking.Proto.OutputBuilder.IUnbondingOutput|null);
|
8439
|
+
|
8440
|
+
/** OutputBuilder babylonStakingOpReturn. */
|
8441
|
+
public babylonStakingOpReturn?: (TW.BabylonStaking.Proto.OutputBuilder.IOpReturn|null);
|
8442
|
+
|
7366
8443
|
/** OutputBuilder variant. */
|
7367
|
-
public variant?: ("p2sh"|"p2pk"|"p2pkh"|"p2wsh"|"p2wpkh"|"p2trKeyPath"|"p2trScriptPath"|"p2trDangerousAssumeTweaked"|"brc20Inscribe"|"opReturn");
|
8444
|
+
public variant?: ("p2sh"|"p2pk"|"p2pkh"|"p2wsh"|"p2wpkh"|"p2trKeyPath"|"p2trScriptPath"|"p2trDangerousAssumeTweaked"|"brc20Inscribe"|"opReturn"|"babylonStaking"|"babylonUnbonding"|"babylonStakingOpReturn");
|
7368
8445
|
|
7369
8446
|
/**
|
7370
8447
|
* Creates a new OutputBuilder instance using the specified properties.
|