@trustwallet/wallet-core 3.1.26 → 3.1.28
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.
@@ -15645,6 +15645,645 @@ export namespace TW {
|
|
15645
15645
|
}
|
15646
15646
|
}
|
15647
15647
|
|
15648
|
+
/** Namespace LiquidStaking. */
|
15649
|
+
namespace LiquidStaking {
|
15650
|
+
|
15651
|
+
/** Namespace Proto. */
|
15652
|
+
namespace Proto {
|
15653
|
+
|
15654
|
+
/** Coin enum. */
|
15655
|
+
enum Coin {
|
15656
|
+
MATIC = 0,
|
15657
|
+
ATOM = 1,
|
15658
|
+
BNB = 2
|
15659
|
+
}
|
15660
|
+
|
15661
|
+
/** Blockchain enum. */
|
15662
|
+
enum Blockchain {
|
15663
|
+
ETHEREUM = 0,
|
15664
|
+
POLYGON = 1,
|
15665
|
+
STRIDE = 2,
|
15666
|
+
BNB_BSC = 3
|
15667
|
+
}
|
15668
|
+
|
15669
|
+
/** Protocol enum. */
|
15670
|
+
enum Protocol {
|
15671
|
+
Strader = 0,
|
15672
|
+
Stride = 1
|
15673
|
+
}
|
15674
|
+
|
15675
|
+
/** StatusCode enum. */
|
15676
|
+
enum StatusCode {
|
15677
|
+
OK = 0,
|
15678
|
+
ERROR_ACTION_NOT_SET = 1,
|
15679
|
+
ERROR_TARGETED_BLOCKCHAIN_NOT_SUPPORTED_BY_PROTOCOL = 2,
|
15680
|
+
ERROR_SMART_CONTRACT_ADDRESS_NOT_SET = 3,
|
15681
|
+
ERROR_INPUT_PROTO_DESERIALIZATION = 4
|
15682
|
+
}
|
15683
|
+
|
15684
|
+
/** Properties of a Status. */
|
15685
|
+
interface IStatus {
|
15686
|
+
|
15687
|
+
/** Status code */
|
15688
|
+
code?: (TW.LiquidStaking.Proto.StatusCode|null);
|
15689
|
+
|
15690
|
+
/** Status message */
|
15691
|
+
message?: (string|null);
|
15692
|
+
}
|
15693
|
+
|
15694
|
+
/** Represents a Status. */
|
15695
|
+
class Status implements IStatus {
|
15696
|
+
|
15697
|
+
/**
|
15698
|
+
* Constructs a new Status.
|
15699
|
+
* @param [properties] Properties to set
|
15700
|
+
*/
|
15701
|
+
constructor(properties?: TW.LiquidStaking.Proto.IStatus);
|
15702
|
+
|
15703
|
+
/** Status code. */
|
15704
|
+
public code: TW.LiquidStaking.Proto.StatusCode;
|
15705
|
+
|
15706
|
+
/** Status message. */
|
15707
|
+
public message: string;
|
15708
|
+
|
15709
|
+
/**
|
15710
|
+
* Creates a new Status instance using the specified properties.
|
15711
|
+
* @param [properties] Properties to set
|
15712
|
+
* @returns Status instance
|
15713
|
+
*/
|
15714
|
+
public static create(properties?: TW.LiquidStaking.Proto.IStatus): TW.LiquidStaking.Proto.Status;
|
15715
|
+
|
15716
|
+
/**
|
15717
|
+
* Encodes the specified Status message. Does not implicitly {@link TW.LiquidStaking.Proto.Status.verify|verify} messages.
|
15718
|
+
* @param message Status message or plain object to encode
|
15719
|
+
* @param [writer] Writer to encode to
|
15720
|
+
* @returns Writer
|
15721
|
+
*/
|
15722
|
+
public static encode(message: TW.LiquidStaking.Proto.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
15723
|
+
|
15724
|
+
/**
|
15725
|
+
* Decodes a Status message from the specified reader or buffer.
|
15726
|
+
* @param reader Reader or buffer to decode from
|
15727
|
+
* @param [length] Message length if known beforehand
|
15728
|
+
* @returns Status
|
15729
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
15730
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15731
|
+
*/
|
15732
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.LiquidStaking.Proto.Status;
|
15733
|
+
|
15734
|
+
/**
|
15735
|
+
* Verifies a Status message.
|
15736
|
+
* @param message Plain object to verify
|
15737
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
15738
|
+
*/
|
15739
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
15740
|
+
|
15741
|
+
/**
|
15742
|
+
* Creates a Status message from a plain object. Also converts values to their respective internal types.
|
15743
|
+
* @param object Plain object
|
15744
|
+
* @returns Status
|
15745
|
+
*/
|
15746
|
+
public static fromObject(object: { [k: string]: any }): TW.LiquidStaking.Proto.Status;
|
15747
|
+
|
15748
|
+
/**
|
15749
|
+
* Creates a plain object from a Status message. Also converts values to other types if specified.
|
15750
|
+
* @param message Status
|
15751
|
+
* @param [options] Conversion options
|
15752
|
+
* @returns Plain object
|
15753
|
+
*/
|
15754
|
+
public static toObject(message: TW.LiquidStaking.Proto.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15755
|
+
|
15756
|
+
/**
|
15757
|
+
* Converts this Status to JSON.
|
15758
|
+
* @returns JSON object
|
15759
|
+
*/
|
15760
|
+
public toJSON(): { [k: string]: any };
|
15761
|
+
}
|
15762
|
+
|
15763
|
+
/** Properties of an Asset. */
|
15764
|
+
interface IAsset {
|
15765
|
+
|
15766
|
+
/** Asset stakingToken */
|
15767
|
+
stakingToken?: (TW.LiquidStaking.Proto.Coin|null);
|
15768
|
+
|
15769
|
+
/** Asset liquidToken */
|
15770
|
+
liquidToken?: (string|null);
|
15771
|
+
|
15772
|
+
/** Asset denom */
|
15773
|
+
denom?: (string|null);
|
15774
|
+
|
15775
|
+
/** Asset fromAddress */
|
15776
|
+
fromAddress?: (string|null);
|
15777
|
+
}
|
15778
|
+
|
15779
|
+
/** Represents an Asset. */
|
15780
|
+
class Asset implements IAsset {
|
15781
|
+
|
15782
|
+
/**
|
15783
|
+
* Constructs a new Asset.
|
15784
|
+
* @param [properties] Properties to set
|
15785
|
+
*/
|
15786
|
+
constructor(properties?: TW.LiquidStaking.Proto.IAsset);
|
15787
|
+
|
15788
|
+
/** Asset stakingToken. */
|
15789
|
+
public stakingToken: TW.LiquidStaking.Proto.Coin;
|
15790
|
+
|
15791
|
+
/** Asset liquidToken. */
|
15792
|
+
public liquidToken: string;
|
15793
|
+
|
15794
|
+
/** Asset denom. */
|
15795
|
+
public denom: string;
|
15796
|
+
|
15797
|
+
/** Asset fromAddress. */
|
15798
|
+
public fromAddress: string;
|
15799
|
+
|
15800
|
+
/**
|
15801
|
+
* Creates a new Asset instance using the specified properties.
|
15802
|
+
* @param [properties] Properties to set
|
15803
|
+
* @returns Asset instance
|
15804
|
+
*/
|
15805
|
+
public static create(properties?: TW.LiquidStaking.Proto.IAsset): TW.LiquidStaking.Proto.Asset;
|
15806
|
+
|
15807
|
+
/**
|
15808
|
+
* Encodes the specified Asset message. Does not implicitly {@link TW.LiquidStaking.Proto.Asset.verify|verify} messages.
|
15809
|
+
* @param message Asset message or plain object to encode
|
15810
|
+
* @param [writer] Writer to encode to
|
15811
|
+
* @returns Writer
|
15812
|
+
*/
|
15813
|
+
public static encode(message: TW.LiquidStaking.Proto.IAsset, writer?: $protobuf.Writer): $protobuf.Writer;
|
15814
|
+
|
15815
|
+
/**
|
15816
|
+
* Decodes an Asset message from the specified reader or buffer.
|
15817
|
+
* @param reader Reader or buffer to decode from
|
15818
|
+
* @param [length] Message length if known beforehand
|
15819
|
+
* @returns Asset
|
15820
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
15821
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15822
|
+
*/
|
15823
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.LiquidStaking.Proto.Asset;
|
15824
|
+
|
15825
|
+
/**
|
15826
|
+
* Verifies an Asset message.
|
15827
|
+
* @param message Plain object to verify
|
15828
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
15829
|
+
*/
|
15830
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
15831
|
+
|
15832
|
+
/**
|
15833
|
+
* Creates an Asset message from a plain object. Also converts values to their respective internal types.
|
15834
|
+
* @param object Plain object
|
15835
|
+
* @returns Asset
|
15836
|
+
*/
|
15837
|
+
public static fromObject(object: { [k: string]: any }): TW.LiquidStaking.Proto.Asset;
|
15838
|
+
|
15839
|
+
/**
|
15840
|
+
* Creates a plain object from an Asset message. Also converts values to other types if specified.
|
15841
|
+
* @param message Asset
|
15842
|
+
* @param [options] Conversion options
|
15843
|
+
* @returns Plain object
|
15844
|
+
*/
|
15845
|
+
public static toObject(message: TW.LiquidStaking.Proto.Asset, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15846
|
+
|
15847
|
+
/**
|
15848
|
+
* Converts this Asset to JSON.
|
15849
|
+
* @returns JSON object
|
15850
|
+
*/
|
15851
|
+
public toJSON(): { [k: string]: any };
|
15852
|
+
}
|
15853
|
+
|
15854
|
+
/** Properties of a Stake. */
|
15855
|
+
interface IStake {
|
15856
|
+
|
15857
|
+
/** Stake asset */
|
15858
|
+
asset?: (TW.LiquidStaking.Proto.IAsset|null);
|
15859
|
+
|
15860
|
+
/** Stake amount */
|
15861
|
+
amount?: (string|null);
|
15862
|
+
}
|
15863
|
+
|
15864
|
+
/** Represents a Stake. */
|
15865
|
+
class Stake implements IStake {
|
15866
|
+
|
15867
|
+
/**
|
15868
|
+
* Constructs a new Stake.
|
15869
|
+
* @param [properties] Properties to set
|
15870
|
+
*/
|
15871
|
+
constructor(properties?: TW.LiquidStaking.Proto.IStake);
|
15872
|
+
|
15873
|
+
/** Stake asset. */
|
15874
|
+
public asset?: (TW.LiquidStaking.Proto.IAsset|null);
|
15875
|
+
|
15876
|
+
/** Stake amount. */
|
15877
|
+
public amount: string;
|
15878
|
+
|
15879
|
+
/**
|
15880
|
+
* Creates a new Stake instance using the specified properties.
|
15881
|
+
* @param [properties] Properties to set
|
15882
|
+
* @returns Stake instance
|
15883
|
+
*/
|
15884
|
+
public static create(properties?: TW.LiquidStaking.Proto.IStake): TW.LiquidStaking.Proto.Stake;
|
15885
|
+
|
15886
|
+
/**
|
15887
|
+
* Encodes the specified Stake message. Does not implicitly {@link TW.LiquidStaking.Proto.Stake.verify|verify} messages.
|
15888
|
+
* @param message Stake message or plain object to encode
|
15889
|
+
* @param [writer] Writer to encode to
|
15890
|
+
* @returns Writer
|
15891
|
+
*/
|
15892
|
+
public static encode(message: TW.LiquidStaking.Proto.IStake, writer?: $protobuf.Writer): $protobuf.Writer;
|
15893
|
+
|
15894
|
+
/**
|
15895
|
+
* Decodes a Stake message from the specified reader or buffer.
|
15896
|
+
* @param reader Reader or buffer to decode from
|
15897
|
+
* @param [length] Message length if known beforehand
|
15898
|
+
* @returns Stake
|
15899
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
15900
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15901
|
+
*/
|
15902
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.LiquidStaking.Proto.Stake;
|
15903
|
+
|
15904
|
+
/**
|
15905
|
+
* Verifies a Stake message.
|
15906
|
+
* @param message Plain object to verify
|
15907
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
15908
|
+
*/
|
15909
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
15910
|
+
|
15911
|
+
/**
|
15912
|
+
* Creates a Stake message from a plain object. Also converts values to their respective internal types.
|
15913
|
+
* @param object Plain object
|
15914
|
+
* @returns Stake
|
15915
|
+
*/
|
15916
|
+
public static fromObject(object: { [k: string]: any }): TW.LiquidStaking.Proto.Stake;
|
15917
|
+
|
15918
|
+
/**
|
15919
|
+
* Creates a plain object from a Stake message. Also converts values to other types if specified.
|
15920
|
+
* @param message Stake
|
15921
|
+
* @param [options] Conversion options
|
15922
|
+
* @returns Plain object
|
15923
|
+
*/
|
15924
|
+
public static toObject(message: TW.LiquidStaking.Proto.Stake, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15925
|
+
|
15926
|
+
/**
|
15927
|
+
* Converts this Stake to JSON.
|
15928
|
+
* @returns JSON object
|
15929
|
+
*/
|
15930
|
+
public toJSON(): { [k: string]: any };
|
15931
|
+
}
|
15932
|
+
|
15933
|
+
/** Properties of an Unstake. */
|
15934
|
+
interface IUnstake {
|
15935
|
+
|
15936
|
+
/** Unstake asset */
|
15937
|
+
asset?: (TW.LiquidStaking.Proto.IAsset|null);
|
15938
|
+
|
15939
|
+
/** Unstake amount */
|
15940
|
+
amount?: (string|null);
|
15941
|
+
}
|
15942
|
+
|
15943
|
+
/** Represents an Unstake. */
|
15944
|
+
class Unstake implements IUnstake {
|
15945
|
+
|
15946
|
+
/**
|
15947
|
+
* Constructs a new Unstake.
|
15948
|
+
* @param [properties] Properties to set
|
15949
|
+
*/
|
15950
|
+
constructor(properties?: TW.LiquidStaking.Proto.IUnstake);
|
15951
|
+
|
15952
|
+
/** Unstake asset. */
|
15953
|
+
public asset?: (TW.LiquidStaking.Proto.IAsset|null);
|
15954
|
+
|
15955
|
+
/** Unstake amount. */
|
15956
|
+
public amount: string;
|
15957
|
+
|
15958
|
+
/**
|
15959
|
+
* Creates a new Unstake instance using the specified properties.
|
15960
|
+
* @param [properties] Properties to set
|
15961
|
+
* @returns Unstake instance
|
15962
|
+
*/
|
15963
|
+
public static create(properties?: TW.LiquidStaking.Proto.IUnstake): TW.LiquidStaking.Proto.Unstake;
|
15964
|
+
|
15965
|
+
/**
|
15966
|
+
* Encodes the specified Unstake message. Does not implicitly {@link TW.LiquidStaking.Proto.Unstake.verify|verify} messages.
|
15967
|
+
* @param message Unstake message or plain object to encode
|
15968
|
+
* @param [writer] Writer to encode to
|
15969
|
+
* @returns Writer
|
15970
|
+
*/
|
15971
|
+
public static encode(message: TW.LiquidStaking.Proto.IUnstake, writer?: $protobuf.Writer): $protobuf.Writer;
|
15972
|
+
|
15973
|
+
/**
|
15974
|
+
* Decodes an Unstake message from the specified reader or buffer.
|
15975
|
+
* @param reader Reader or buffer to decode from
|
15976
|
+
* @param [length] Message length if known beforehand
|
15977
|
+
* @returns Unstake
|
15978
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
15979
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15980
|
+
*/
|
15981
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.LiquidStaking.Proto.Unstake;
|
15982
|
+
|
15983
|
+
/**
|
15984
|
+
* Verifies an Unstake message.
|
15985
|
+
* @param message Plain object to verify
|
15986
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
15987
|
+
*/
|
15988
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
15989
|
+
|
15990
|
+
/**
|
15991
|
+
* Creates an Unstake message from a plain object. Also converts values to their respective internal types.
|
15992
|
+
* @param object Plain object
|
15993
|
+
* @returns Unstake
|
15994
|
+
*/
|
15995
|
+
public static fromObject(object: { [k: string]: any }): TW.LiquidStaking.Proto.Unstake;
|
15996
|
+
|
15997
|
+
/**
|
15998
|
+
* Creates a plain object from an Unstake message. Also converts values to other types if specified.
|
15999
|
+
* @param message Unstake
|
16000
|
+
* @param [options] Conversion options
|
16001
|
+
* @returns Plain object
|
16002
|
+
*/
|
16003
|
+
public static toObject(message: TW.LiquidStaking.Proto.Unstake, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16004
|
+
|
16005
|
+
/**
|
16006
|
+
* Converts this Unstake to JSON.
|
16007
|
+
* @returns JSON object
|
16008
|
+
*/
|
16009
|
+
public toJSON(): { [k: string]: any };
|
16010
|
+
}
|
16011
|
+
|
16012
|
+
/** Properties of a Withdraw. */
|
16013
|
+
interface IWithdraw {
|
16014
|
+
|
16015
|
+
/** Withdraw asset */
|
16016
|
+
asset?: (TW.LiquidStaking.Proto.IAsset|null);
|
16017
|
+
|
16018
|
+
/** Withdraw amount */
|
16019
|
+
amount?: (string|null);
|
16020
|
+
}
|
16021
|
+
|
16022
|
+
/** Represents a Withdraw. */
|
16023
|
+
class Withdraw implements IWithdraw {
|
16024
|
+
|
16025
|
+
/**
|
16026
|
+
* Constructs a new Withdraw.
|
16027
|
+
* @param [properties] Properties to set
|
16028
|
+
*/
|
16029
|
+
constructor(properties?: TW.LiquidStaking.Proto.IWithdraw);
|
16030
|
+
|
16031
|
+
/** Withdraw asset. */
|
16032
|
+
public asset?: (TW.LiquidStaking.Proto.IAsset|null);
|
16033
|
+
|
16034
|
+
/** Withdraw amount. */
|
16035
|
+
public amount: string;
|
16036
|
+
|
16037
|
+
/**
|
16038
|
+
* Creates a new Withdraw instance using the specified properties.
|
16039
|
+
* @param [properties] Properties to set
|
16040
|
+
* @returns Withdraw instance
|
16041
|
+
*/
|
16042
|
+
public static create(properties?: TW.LiquidStaking.Proto.IWithdraw): TW.LiquidStaking.Proto.Withdraw;
|
16043
|
+
|
16044
|
+
/**
|
16045
|
+
* Encodes the specified Withdraw message. Does not implicitly {@link TW.LiquidStaking.Proto.Withdraw.verify|verify} messages.
|
16046
|
+
* @param message Withdraw message or plain object to encode
|
16047
|
+
* @param [writer] Writer to encode to
|
16048
|
+
* @returns Writer
|
16049
|
+
*/
|
16050
|
+
public static encode(message: TW.LiquidStaking.Proto.IWithdraw, writer?: $protobuf.Writer): $protobuf.Writer;
|
16051
|
+
|
16052
|
+
/**
|
16053
|
+
* Decodes a Withdraw message from the specified reader or buffer.
|
16054
|
+
* @param reader Reader or buffer to decode from
|
16055
|
+
* @param [length] Message length if known beforehand
|
16056
|
+
* @returns Withdraw
|
16057
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
16058
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16059
|
+
*/
|
16060
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.LiquidStaking.Proto.Withdraw;
|
16061
|
+
|
16062
|
+
/**
|
16063
|
+
* Verifies a Withdraw message.
|
16064
|
+
* @param message Plain object to verify
|
16065
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
16066
|
+
*/
|
16067
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
16068
|
+
|
16069
|
+
/**
|
16070
|
+
* Creates a Withdraw message from a plain object. Also converts values to their respective internal types.
|
16071
|
+
* @param object Plain object
|
16072
|
+
* @returns Withdraw
|
16073
|
+
*/
|
16074
|
+
public static fromObject(object: { [k: string]: any }): TW.LiquidStaking.Proto.Withdraw;
|
16075
|
+
|
16076
|
+
/**
|
16077
|
+
* Creates a plain object from a Withdraw message. Also converts values to other types if specified.
|
16078
|
+
* @param message Withdraw
|
16079
|
+
* @param [options] Conversion options
|
16080
|
+
* @returns Plain object
|
16081
|
+
*/
|
16082
|
+
public static toObject(message: TW.LiquidStaking.Proto.Withdraw, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16083
|
+
|
16084
|
+
/**
|
16085
|
+
* Converts this Withdraw to JSON.
|
16086
|
+
* @returns JSON object
|
16087
|
+
*/
|
16088
|
+
public toJSON(): { [k: string]: any };
|
16089
|
+
}
|
16090
|
+
|
16091
|
+
/** Properties of an Input. */
|
16092
|
+
interface IInput {
|
16093
|
+
|
16094
|
+
/** Input stake */
|
16095
|
+
stake?: (TW.LiquidStaking.Proto.IStake|null);
|
16096
|
+
|
16097
|
+
/** Input unstake */
|
16098
|
+
unstake?: (TW.LiquidStaking.Proto.IUnstake|null);
|
16099
|
+
|
16100
|
+
/** Input withdraw */
|
16101
|
+
withdraw?: (TW.LiquidStaking.Proto.IWithdraw|null);
|
16102
|
+
|
16103
|
+
/** Input smartContractAddress */
|
16104
|
+
smartContractAddress?: (string|null);
|
16105
|
+
|
16106
|
+
/** Input protocol */
|
16107
|
+
protocol?: (TW.LiquidStaking.Proto.Protocol|null);
|
16108
|
+
|
16109
|
+
/** Input blockchain */
|
16110
|
+
blockchain?: (TW.LiquidStaking.Proto.Blockchain|null);
|
16111
|
+
}
|
16112
|
+
|
16113
|
+
/** Represents an Input. */
|
16114
|
+
class Input implements IInput {
|
16115
|
+
|
16116
|
+
/**
|
16117
|
+
* Constructs a new Input.
|
16118
|
+
* @param [properties] Properties to set
|
16119
|
+
*/
|
16120
|
+
constructor(properties?: TW.LiquidStaking.Proto.IInput);
|
16121
|
+
|
16122
|
+
/** Input stake. */
|
16123
|
+
public stake?: (TW.LiquidStaking.Proto.IStake|null);
|
16124
|
+
|
16125
|
+
/** Input unstake. */
|
16126
|
+
public unstake?: (TW.LiquidStaking.Proto.IUnstake|null);
|
16127
|
+
|
16128
|
+
/** Input withdraw. */
|
16129
|
+
public withdraw?: (TW.LiquidStaking.Proto.IWithdraw|null);
|
16130
|
+
|
16131
|
+
/** Input smartContractAddress. */
|
16132
|
+
public smartContractAddress: string;
|
16133
|
+
|
16134
|
+
/** Input protocol. */
|
16135
|
+
public protocol: TW.LiquidStaking.Proto.Protocol;
|
16136
|
+
|
16137
|
+
/** Input blockchain. */
|
16138
|
+
public blockchain: TW.LiquidStaking.Proto.Blockchain;
|
16139
|
+
|
16140
|
+
/** Input action. */
|
16141
|
+
public action?: ("stake"|"unstake"|"withdraw");
|
16142
|
+
|
16143
|
+
/**
|
16144
|
+
* Creates a new Input instance using the specified properties.
|
16145
|
+
* @param [properties] Properties to set
|
16146
|
+
* @returns Input instance
|
16147
|
+
*/
|
16148
|
+
public static create(properties?: TW.LiquidStaking.Proto.IInput): TW.LiquidStaking.Proto.Input;
|
16149
|
+
|
16150
|
+
/**
|
16151
|
+
* Encodes the specified Input message. Does not implicitly {@link TW.LiquidStaking.Proto.Input.verify|verify} messages.
|
16152
|
+
* @param message Input message or plain object to encode
|
16153
|
+
* @param [writer] Writer to encode to
|
16154
|
+
* @returns Writer
|
16155
|
+
*/
|
16156
|
+
public static encode(message: TW.LiquidStaking.Proto.IInput, writer?: $protobuf.Writer): $protobuf.Writer;
|
16157
|
+
|
16158
|
+
/**
|
16159
|
+
* Decodes an Input message from the specified reader or buffer.
|
16160
|
+
* @param reader Reader or buffer to decode from
|
16161
|
+
* @param [length] Message length if known beforehand
|
16162
|
+
* @returns Input
|
16163
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
16164
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16165
|
+
*/
|
16166
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.LiquidStaking.Proto.Input;
|
16167
|
+
|
16168
|
+
/**
|
16169
|
+
* Verifies an Input message.
|
16170
|
+
* @param message Plain object to verify
|
16171
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
16172
|
+
*/
|
16173
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
16174
|
+
|
16175
|
+
/**
|
16176
|
+
* Creates an Input message from a plain object. Also converts values to their respective internal types.
|
16177
|
+
* @param object Plain object
|
16178
|
+
* @returns Input
|
16179
|
+
*/
|
16180
|
+
public static fromObject(object: { [k: string]: any }): TW.LiquidStaking.Proto.Input;
|
16181
|
+
|
16182
|
+
/**
|
16183
|
+
* Creates a plain object from an Input message. Also converts values to other types if specified.
|
16184
|
+
* @param message Input
|
16185
|
+
* @param [options] Conversion options
|
16186
|
+
* @returns Plain object
|
16187
|
+
*/
|
16188
|
+
public static toObject(message: TW.LiquidStaking.Proto.Input, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16189
|
+
|
16190
|
+
/**
|
16191
|
+
* Converts this Input to JSON.
|
16192
|
+
* @returns JSON object
|
16193
|
+
*/
|
16194
|
+
public toJSON(): { [k: string]: any };
|
16195
|
+
}
|
16196
|
+
|
16197
|
+
/** Properties of an Output. */
|
16198
|
+
interface IOutput {
|
16199
|
+
|
16200
|
+
/** Output status */
|
16201
|
+
status?: (TW.LiquidStaking.Proto.IStatus|null);
|
16202
|
+
|
16203
|
+
/** Output ethereum */
|
16204
|
+
ethereum?: (TW.Ethereum.Proto.ISigningInput|null);
|
16205
|
+
|
16206
|
+
/** Output cosmos */
|
16207
|
+
cosmos?: (TW.Cosmos.Proto.ISigningInput|null);
|
16208
|
+
}
|
16209
|
+
|
16210
|
+
/** Represents an Output. */
|
16211
|
+
class Output implements IOutput {
|
16212
|
+
|
16213
|
+
/**
|
16214
|
+
* Constructs a new Output.
|
16215
|
+
* @param [properties] Properties to set
|
16216
|
+
*/
|
16217
|
+
constructor(properties?: TW.LiquidStaking.Proto.IOutput);
|
16218
|
+
|
16219
|
+
/** Output status. */
|
16220
|
+
public status?: (TW.LiquidStaking.Proto.IStatus|null);
|
16221
|
+
|
16222
|
+
/** Output ethereum. */
|
16223
|
+
public ethereum?: (TW.Ethereum.Proto.ISigningInput|null);
|
16224
|
+
|
16225
|
+
/** Output cosmos. */
|
16226
|
+
public cosmos?: (TW.Cosmos.Proto.ISigningInput|null);
|
16227
|
+
|
16228
|
+
/** Output signingInputOneof. */
|
16229
|
+
public signingInputOneof?: ("ethereum"|"cosmos");
|
16230
|
+
|
16231
|
+
/**
|
16232
|
+
* Creates a new Output instance using the specified properties.
|
16233
|
+
* @param [properties] Properties to set
|
16234
|
+
* @returns Output instance
|
16235
|
+
*/
|
16236
|
+
public static create(properties?: TW.LiquidStaking.Proto.IOutput): TW.LiquidStaking.Proto.Output;
|
16237
|
+
|
16238
|
+
/**
|
16239
|
+
* Encodes the specified Output message. Does not implicitly {@link TW.LiquidStaking.Proto.Output.verify|verify} messages.
|
16240
|
+
* @param message Output message or plain object to encode
|
16241
|
+
* @param [writer] Writer to encode to
|
16242
|
+
* @returns Writer
|
16243
|
+
*/
|
16244
|
+
public static encode(message: TW.LiquidStaking.Proto.IOutput, writer?: $protobuf.Writer): $protobuf.Writer;
|
16245
|
+
|
16246
|
+
/**
|
16247
|
+
* Decodes an Output message from the specified reader or buffer.
|
16248
|
+
* @param reader Reader or buffer to decode from
|
16249
|
+
* @param [length] Message length if known beforehand
|
16250
|
+
* @returns Output
|
16251
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
16252
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16253
|
+
*/
|
16254
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.LiquidStaking.Proto.Output;
|
16255
|
+
|
16256
|
+
/**
|
16257
|
+
* Verifies an Output message.
|
16258
|
+
* @param message Plain object to verify
|
16259
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
16260
|
+
*/
|
16261
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
16262
|
+
|
16263
|
+
/**
|
16264
|
+
* Creates an Output message from a plain object. Also converts values to their respective internal types.
|
16265
|
+
* @param object Plain object
|
16266
|
+
* @returns Output
|
16267
|
+
*/
|
16268
|
+
public static fromObject(object: { [k: string]: any }): TW.LiquidStaking.Proto.Output;
|
16269
|
+
|
16270
|
+
/**
|
16271
|
+
* Creates a plain object from an Output message. Also converts values to other types if specified.
|
16272
|
+
* @param message Output
|
16273
|
+
* @param [options] Conversion options
|
16274
|
+
* @returns Plain object
|
16275
|
+
*/
|
16276
|
+
public static toObject(message: TW.LiquidStaking.Proto.Output, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16277
|
+
|
16278
|
+
/**
|
16279
|
+
* Converts this Output to JSON.
|
16280
|
+
* @returns JSON object
|
16281
|
+
*/
|
16282
|
+
public toJSON(): { [k: string]: any };
|
16283
|
+
}
|
16284
|
+
}
|
16285
|
+
}
|
16286
|
+
|
15648
16287
|
/** Namespace MultiversX. */
|
15649
16288
|
namespace MultiversX {
|
15650
16289
|
|
@@ -16020,6 +16659,9 @@ export namespace TW {
|
|
16020
16659
|
|
16021
16660
|
/** Accounts receiverUsername */
|
16022
16661
|
receiverUsername?: (string|null);
|
16662
|
+
|
16663
|
+
/** Accounts guardian */
|
16664
|
+
guardian?: (string|null);
|
16023
16665
|
}
|
16024
16666
|
|
16025
16667
|
/** Represents an Accounts. */
|
@@ -16046,6 +16688,9 @@ export namespace TW {
|
|
16046
16688
|
/** Accounts receiverUsername. */
|
16047
16689
|
public receiverUsername: string;
|
16048
16690
|
|
16691
|
+
/** Accounts guardian. */
|
16692
|
+
public guardian: string;
|
16693
|
+
|
16049
16694
|
/**
|
16050
16695
|
* Creates a new Accounts instance using the specified properties.
|
16051
16696
|
* @param [properties] Properties to set
|