@trustwallet/wallet-core 4.0.34 → 4.0.36
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.
@@ -4658,6 +4658,103 @@ export namespace TW {
|
|
4658
4658
|
public toJSON(): { [k: string]: any };
|
4659
4659
|
}
|
4660
4660
|
|
4661
|
+
/** Properties of a SideChainStakeMigration. */
|
4662
|
+
interface ISideChainStakeMigration {
|
4663
|
+
|
4664
|
+
/** SideChainStakeMigration validatorSrcAddr */
|
4665
|
+
validatorSrcAddr?: (Uint8Array|null);
|
4666
|
+
|
4667
|
+
/** SideChainStakeMigration validatorDstAddr */
|
4668
|
+
validatorDstAddr?: (Uint8Array|null);
|
4669
|
+
|
4670
|
+
/** SideChainStakeMigration delegatorAddr */
|
4671
|
+
delegatorAddr?: (Uint8Array|null);
|
4672
|
+
|
4673
|
+
/** SideChainStakeMigration refundAddr */
|
4674
|
+
refundAddr?: (Uint8Array|null);
|
4675
|
+
|
4676
|
+
/** SideChainStakeMigration amount */
|
4677
|
+
amount?: (TW.Binance.Proto.SendOrder.IToken|null);
|
4678
|
+
}
|
4679
|
+
|
4680
|
+
/** Represents a SideChainStakeMigration. */
|
4681
|
+
class SideChainStakeMigration implements ISideChainStakeMigration {
|
4682
|
+
|
4683
|
+
/**
|
4684
|
+
* Constructs a new SideChainStakeMigration.
|
4685
|
+
* @param [properties] Properties to set
|
4686
|
+
*/
|
4687
|
+
constructor(properties?: TW.Binance.Proto.ISideChainStakeMigration);
|
4688
|
+
|
4689
|
+
/** SideChainStakeMigration validatorSrcAddr. */
|
4690
|
+
public validatorSrcAddr: Uint8Array;
|
4691
|
+
|
4692
|
+
/** SideChainStakeMigration validatorDstAddr. */
|
4693
|
+
public validatorDstAddr: Uint8Array;
|
4694
|
+
|
4695
|
+
/** SideChainStakeMigration delegatorAddr. */
|
4696
|
+
public delegatorAddr: Uint8Array;
|
4697
|
+
|
4698
|
+
/** SideChainStakeMigration refundAddr. */
|
4699
|
+
public refundAddr: Uint8Array;
|
4700
|
+
|
4701
|
+
/** SideChainStakeMigration amount. */
|
4702
|
+
public amount?: (TW.Binance.Proto.SendOrder.IToken|null);
|
4703
|
+
|
4704
|
+
/**
|
4705
|
+
* Creates a new SideChainStakeMigration instance using the specified properties.
|
4706
|
+
* @param [properties] Properties to set
|
4707
|
+
* @returns SideChainStakeMigration instance
|
4708
|
+
*/
|
4709
|
+
public static create(properties?: TW.Binance.Proto.ISideChainStakeMigration): TW.Binance.Proto.SideChainStakeMigration;
|
4710
|
+
|
4711
|
+
/**
|
4712
|
+
* Encodes the specified SideChainStakeMigration message. Does not implicitly {@link TW.Binance.Proto.SideChainStakeMigration.verify|verify} messages.
|
4713
|
+
* @param message SideChainStakeMigration message or plain object to encode
|
4714
|
+
* @param [writer] Writer to encode to
|
4715
|
+
* @returns Writer
|
4716
|
+
*/
|
4717
|
+
public static encode(message: TW.Binance.Proto.ISideChainStakeMigration, writer?: $protobuf.Writer): $protobuf.Writer;
|
4718
|
+
|
4719
|
+
/**
|
4720
|
+
* Decodes a SideChainStakeMigration message from the specified reader or buffer.
|
4721
|
+
* @param reader Reader or buffer to decode from
|
4722
|
+
* @param [length] Message length if known beforehand
|
4723
|
+
* @returns SideChainStakeMigration
|
4724
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
4725
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4726
|
+
*/
|
4727
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Binance.Proto.SideChainStakeMigration;
|
4728
|
+
|
4729
|
+
/**
|
4730
|
+
* Verifies a SideChainStakeMigration message.
|
4731
|
+
* @param message Plain object to verify
|
4732
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
4733
|
+
*/
|
4734
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
4735
|
+
|
4736
|
+
/**
|
4737
|
+
* Creates a SideChainStakeMigration message from a plain object. Also converts values to their respective internal types.
|
4738
|
+
* @param object Plain object
|
4739
|
+
* @returns SideChainStakeMigration
|
4740
|
+
*/
|
4741
|
+
public static fromObject(object: { [k: string]: any }): TW.Binance.Proto.SideChainStakeMigration;
|
4742
|
+
|
4743
|
+
/**
|
4744
|
+
* Creates a plain object from a SideChainStakeMigration message. Also converts values to other types if specified.
|
4745
|
+
* @param message SideChainStakeMigration
|
4746
|
+
* @param [options] Conversion options
|
4747
|
+
* @returns Plain object
|
4748
|
+
*/
|
4749
|
+
public static toObject(message: TW.Binance.Proto.SideChainStakeMigration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4750
|
+
|
4751
|
+
/**
|
4752
|
+
* Converts this SideChainStakeMigration to JSON.
|
4753
|
+
* @returns JSON object
|
4754
|
+
*/
|
4755
|
+
public toJSON(): { [k: string]: any };
|
4756
|
+
}
|
4757
|
+
|
4661
4758
|
/** Properties of a TimeLockOrder. */
|
4662
4759
|
interface ITimeLockOrder {
|
4663
4760
|
|
@@ -5002,6 +5099,9 @@ export namespace TW {
|
|
5002
5099
|
|
5003
5100
|
/** SigningInput timeUnlockOrder */
|
5004
5101
|
timeUnlockOrder?: (TW.Binance.Proto.ITimeUnlockOrder|null);
|
5102
|
+
|
5103
|
+
/** SigningInput sideStakeMigrationOrder */
|
5104
|
+
sideStakeMigrationOrder?: (TW.Binance.Proto.ISideChainStakeMigration|null);
|
5005
5105
|
}
|
5006
5106
|
|
5007
5107
|
/** Represents a SigningInput. */
|
@@ -5088,8 +5188,11 @@ export namespace TW {
|
|
5088
5188
|
/** SigningInput timeUnlockOrder. */
|
5089
5189
|
public timeUnlockOrder?: (TW.Binance.Proto.ITimeUnlockOrder|null);
|
5090
5190
|
|
5191
|
+
/** SigningInput sideStakeMigrationOrder. */
|
5192
|
+
public sideStakeMigrationOrder?: (TW.Binance.Proto.ISideChainStakeMigration|null);
|
5193
|
+
|
5091
5194
|
/** SigningInput orderOneof. */
|
5092
|
-
public orderOneof?: ("tradeOrder"|"cancelTradeOrder"|"sendOrder"|"freezeOrder"|"unfreezeOrder"|"htltOrder"|"depositHTLTOrder"|"claimHTLTOrder"|"refundHTLTOrder"|"issueOrder"|"mintOrder"|"burnOrder"|"transferOutOrder"|"sideDelegateOrder"|"sideRedelegateOrder"|"sideUndelegateOrder"|"timeLockOrder"|"timeRelockOrder"|"timeUnlockOrder");
|
5195
|
+
public orderOneof?: ("tradeOrder"|"cancelTradeOrder"|"sendOrder"|"freezeOrder"|"unfreezeOrder"|"htltOrder"|"depositHTLTOrder"|"claimHTLTOrder"|"refundHTLTOrder"|"issueOrder"|"mintOrder"|"burnOrder"|"transferOutOrder"|"sideDelegateOrder"|"sideRedelegateOrder"|"sideUndelegateOrder"|"timeLockOrder"|"timeRelockOrder"|"timeUnlockOrder"|"sideStakeMigrationOrder");
|
5093
5196
|
|
5094
5197
|
/**
|
5095
5198
|
* Creates a new SigningInput instance using the specified properties.
|
@@ -19563,6 +19666,9 @@ export namespace TW {
|
|
19563
19666
|
|
19564
19667
|
/** Action newFundsRequestMessage */
|
19565
19668
|
newFundsRequestMessage?: (TW.FIO.Proto.Action.INewFundsRequest|null);
|
19669
|
+
|
19670
|
+
/** Action removePubAddressMessage */
|
19671
|
+
removePubAddressMessage?: (TW.FIO.Proto.Action.IRemovePubAddress|null);
|
19566
19672
|
}
|
19567
19673
|
|
19568
19674
|
/** Represents an Action. */
|
@@ -19589,8 +19695,11 @@ export namespace TW {
|
|
19589
19695
|
/** Action newFundsRequestMessage. */
|
19590
19696
|
public newFundsRequestMessage?: (TW.FIO.Proto.Action.INewFundsRequest|null);
|
19591
19697
|
|
19698
|
+
/** Action removePubAddressMessage. */
|
19699
|
+
public removePubAddressMessage?: (TW.FIO.Proto.Action.IRemovePubAddress|null);
|
19700
|
+
|
19592
19701
|
/** Action messageOneof. */
|
19593
|
-
public messageOneof?: ("registerFioAddressMessage"|"addPubAddressMessage"|"transferMessage"|"renewFioAddressMessage"|"newFundsRequestMessage");
|
19702
|
+
public messageOneof?: ("registerFioAddressMessage"|"addPubAddressMessage"|"transferMessage"|"renewFioAddressMessage"|"newFundsRequestMessage"|"removePubAddressMessage");
|
19594
19703
|
|
19595
19704
|
/**
|
19596
19705
|
* Creates a new Action instance using the specified properties.
|
@@ -19818,6 +19927,91 @@ export namespace TW {
|
|
19818
19927
|
public toJSON(): { [k: string]: any };
|
19819
19928
|
}
|
19820
19929
|
|
19930
|
+
/** Properties of a RemovePubAddress. */
|
19931
|
+
interface IRemovePubAddress {
|
19932
|
+
|
19933
|
+
/** RemovePubAddress fioAddress */
|
19934
|
+
fioAddress?: (string|null);
|
19935
|
+
|
19936
|
+
/** RemovePubAddress publicAddresses */
|
19937
|
+
publicAddresses?: (TW.FIO.Proto.IPublicAddress[]|null);
|
19938
|
+
|
19939
|
+
/** RemovePubAddress fee */
|
19940
|
+
fee?: (Long|null);
|
19941
|
+
}
|
19942
|
+
|
19943
|
+
/** Represents a RemovePubAddress. */
|
19944
|
+
class RemovePubAddress implements IRemovePubAddress {
|
19945
|
+
|
19946
|
+
/**
|
19947
|
+
* Constructs a new RemovePubAddress.
|
19948
|
+
* @param [properties] Properties to set
|
19949
|
+
*/
|
19950
|
+
constructor(properties?: TW.FIO.Proto.Action.IRemovePubAddress);
|
19951
|
+
|
19952
|
+
/** RemovePubAddress fioAddress. */
|
19953
|
+
public fioAddress: string;
|
19954
|
+
|
19955
|
+
/** RemovePubAddress publicAddresses. */
|
19956
|
+
public publicAddresses: TW.FIO.Proto.IPublicAddress[];
|
19957
|
+
|
19958
|
+
/** RemovePubAddress fee. */
|
19959
|
+
public fee: Long;
|
19960
|
+
|
19961
|
+
/**
|
19962
|
+
* Creates a new RemovePubAddress instance using the specified properties.
|
19963
|
+
* @param [properties] Properties to set
|
19964
|
+
* @returns RemovePubAddress instance
|
19965
|
+
*/
|
19966
|
+
public static create(properties?: TW.FIO.Proto.Action.IRemovePubAddress): TW.FIO.Proto.Action.RemovePubAddress;
|
19967
|
+
|
19968
|
+
/**
|
19969
|
+
* Encodes the specified RemovePubAddress message. Does not implicitly {@link TW.FIO.Proto.Action.RemovePubAddress.verify|verify} messages.
|
19970
|
+
* @param message RemovePubAddress message or plain object to encode
|
19971
|
+
* @param [writer] Writer to encode to
|
19972
|
+
* @returns Writer
|
19973
|
+
*/
|
19974
|
+
public static encode(message: TW.FIO.Proto.Action.IRemovePubAddress, writer?: $protobuf.Writer): $protobuf.Writer;
|
19975
|
+
|
19976
|
+
/**
|
19977
|
+
* Decodes a RemovePubAddress message from the specified reader or buffer.
|
19978
|
+
* @param reader Reader or buffer to decode from
|
19979
|
+
* @param [length] Message length if known beforehand
|
19980
|
+
* @returns RemovePubAddress
|
19981
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
19982
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
19983
|
+
*/
|
19984
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.FIO.Proto.Action.RemovePubAddress;
|
19985
|
+
|
19986
|
+
/**
|
19987
|
+
* Verifies a RemovePubAddress message.
|
19988
|
+
* @param message Plain object to verify
|
19989
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
19990
|
+
*/
|
19991
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
19992
|
+
|
19993
|
+
/**
|
19994
|
+
* Creates a RemovePubAddress message from a plain object. Also converts values to their respective internal types.
|
19995
|
+
* @param object Plain object
|
19996
|
+
* @returns RemovePubAddress
|
19997
|
+
*/
|
19998
|
+
public static fromObject(object: { [k: string]: any }): TW.FIO.Proto.Action.RemovePubAddress;
|
19999
|
+
|
20000
|
+
/**
|
20001
|
+
* Creates a plain object from a RemovePubAddress message. Also converts values to other types if specified.
|
20002
|
+
* @param message RemovePubAddress
|
20003
|
+
* @param [options] Conversion options
|
20004
|
+
* @returns Plain object
|
20005
|
+
*/
|
20006
|
+
public static toObject(message: TW.FIO.Proto.Action.RemovePubAddress, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
20007
|
+
|
20008
|
+
/**
|
20009
|
+
* Converts this RemovePubAddress to JSON.
|
20010
|
+
* @returns JSON object
|
20011
|
+
*/
|
20012
|
+
public toJSON(): { [k: string]: any };
|
20013
|
+
}
|
20014
|
+
|
19821
20015
|
/** Properties of a Transfer. */
|
19822
20016
|
interface ITransfer {
|
19823
20017
|
|
@@ -20285,6 +20479,9 @@ export namespace TW {
|
|
20285
20479
|
|
20286
20480
|
/** SigningOutput errorMessage */
|
20287
20481
|
errorMessage?: (string|null);
|
20482
|
+
|
20483
|
+
/** SigningOutput actionName */
|
20484
|
+
actionName?: (string|null);
|
20288
20485
|
}
|
20289
20486
|
|
20290
20487
|
/** Represents a SigningOutput. */
|
@@ -20305,6 +20502,9 @@ export namespace TW {
|
|
20305
20502
|
/** SigningOutput errorMessage. */
|
20306
20503
|
public errorMessage: string;
|
20307
20504
|
|
20505
|
+
/** SigningOutput actionName. */
|
20506
|
+
public actionName: string;
|
20507
|
+
|
20308
20508
|
/**
|
20309
20509
|
* Creates a new SigningOutput instance using the specified properties.
|
20310
20510
|
* @param [properties] Properties to set
|
@@ -23057,6 +23257,9 @@ export namespace TW {
|
|
23057
23257
|
|
23058
23258
|
/** Transfer currentTimestampNanos */
|
23059
23259
|
currentTimestampNanos?: (Long|null);
|
23260
|
+
|
23261
|
+
/** Transfer permittedDrift */
|
23262
|
+
permittedDrift?: (Long|null);
|
23060
23263
|
}
|
23061
23264
|
|
23062
23265
|
/** Represents a Transfer. */
|
@@ -23080,6 +23283,9 @@ export namespace TW {
|
|
23080
23283
|
/** Transfer currentTimestampNanos. */
|
23081
23284
|
public currentTimestampNanos: Long;
|
23082
23285
|
|
23286
|
+
/** Transfer permittedDrift. */
|
23287
|
+
public permittedDrift: Long;
|
23288
|
+
|
23083
23289
|
/**
|
23084
23290
|
* Creates a new Transfer instance using the specified properties.
|
23085
23291
|
* @param [properties] Properties to set
|
@@ -39515,6 +39721,164 @@ export namespace TW {
|
|
39515
39721
|
/** Namespace Proto. */
|
39516
39722
|
namespace Proto {
|
39517
39723
|
|
39724
|
+
/** Properties of an ObjectRef. */
|
39725
|
+
interface IObjectRef {
|
39726
|
+
|
39727
|
+
/** ObjectRef objectId */
|
39728
|
+
objectId?: (string|null);
|
39729
|
+
|
39730
|
+
/** ObjectRef version */
|
39731
|
+
version?: (Long|null);
|
39732
|
+
|
39733
|
+
/** ObjectRef objectDigest */
|
39734
|
+
objectDigest?: (string|null);
|
39735
|
+
}
|
39736
|
+
|
39737
|
+
/** Represents an ObjectRef. */
|
39738
|
+
class ObjectRef implements IObjectRef {
|
39739
|
+
|
39740
|
+
/**
|
39741
|
+
* Constructs a new ObjectRef.
|
39742
|
+
* @param [properties] Properties to set
|
39743
|
+
*/
|
39744
|
+
constructor(properties?: TW.Sui.Proto.IObjectRef);
|
39745
|
+
|
39746
|
+
/** ObjectRef objectId. */
|
39747
|
+
public objectId: string;
|
39748
|
+
|
39749
|
+
/** ObjectRef version. */
|
39750
|
+
public version: Long;
|
39751
|
+
|
39752
|
+
/** ObjectRef objectDigest. */
|
39753
|
+
public objectDigest: string;
|
39754
|
+
|
39755
|
+
/**
|
39756
|
+
* Creates a new ObjectRef instance using the specified properties.
|
39757
|
+
* @param [properties] Properties to set
|
39758
|
+
* @returns ObjectRef instance
|
39759
|
+
*/
|
39760
|
+
public static create(properties?: TW.Sui.Proto.IObjectRef): TW.Sui.Proto.ObjectRef;
|
39761
|
+
|
39762
|
+
/**
|
39763
|
+
* Encodes the specified ObjectRef message. Does not implicitly {@link TW.Sui.Proto.ObjectRef.verify|verify} messages.
|
39764
|
+
* @param message ObjectRef message or plain object to encode
|
39765
|
+
* @param [writer] Writer to encode to
|
39766
|
+
* @returns Writer
|
39767
|
+
*/
|
39768
|
+
public static encode(message: TW.Sui.Proto.IObjectRef, writer?: $protobuf.Writer): $protobuf.Writer;
|
39769
|
+
|
39770
|
+
/**
|
39771
|
+
* Decodes an ObjectRef message from the specified reader or buffer.
|
39772
|
+
* @param reader Reader or buffer to decode from
|
39773
|
+
* @param [length] Message length if known beforehand
|
39774
|
+
* @returns ObjectRef
|
39775
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
39776
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
39777
|
+
*/
|
39778
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.ObjectRef;
|
39779
|
+
|
39780
|
+
/**
|
39781
|
+
* Verifies an ObjectRef message.
|
39782
|
+
* @param message Plain object to verify
|
39783
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
39784
|
+
*/
|
39785
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
39786
|
+
|
39787
|
+
/**
|
39788
|
+
* Creates an ObjectRef message from a plain object. Also converts values to their respective internal types.
|
39789
|
+
* @param object Plain object
|
39790
|
+
* @returns ObjectRef
|
39791
|
+
*/
|
39792
|
+
public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.ObjectRef;
|
39793
|
+
|
39794
|
+
/**
|
39795
|
+
* Creates a plain object from an ObjectRef message. Also converts values to other types if specified.
|
39796
|
+
* @param message ObjectRef
|
39797
|
+
* @param [options] Conversion options
|
39798
|
+
* @returns Plain object
|
39799
|
+
*/
|
39800
|
+
public static toObject(message: TW.Sui.Proto.ObjectRef, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
39801
|
+
|
39802
|
+
/**
|
39803
|
+
* Converts this ObjectRef to JSON.
|
39804
|
+
* @returns JSON object
|
39805
|
+
*/
|
39806
|
+
public toJSON(): { [k: string]: any };
|
39807
|
+
}
|
39808
|
+
|
39809
|
+
/** Properties of an Amount. */
|
39810
|
+
interface IAmount {
|
39811
|
+
|
39812
|
+
/** Amount amount */
|
39813
|
+
amount?: (Long|null);
|
39814
|
+
}
|
39815
|
+
|
39816
|
+
/** Represents an Amount. */
|
39817
|
+
class Amount implements IAmount {
|
39818
|
+
|
39819
|
+
/**
|
39820
|
+
* Constructs a new Amount.
|
39821
|
+
* @param [properties] Properties to set
|
39822
|
+
*/
|
39823
|
+
constructor(properties?: TW.Sui.Proto.IAmount);
|
39824
|
+
|
39825
|
+
/** Amount amount. */
|
39826
|
+
public amount: Long;
|
39827
|
+
|
39828
|
+
/**
|
39829
|
+
* Creates a new Amount instance using the specified properties.
|
39830
|
+
* @param [properties] Properties to set
|
39831
|
+
* @returns Amount instance
|
39832
|
+
*/
|
39833
|
+
public static create(properties?: TW.Sui.Proto.IAmount): TW.Sui.Proto.Amount;
|
39834
|
+
|
39835
|
+
/**
|
39836
|
+
* Encodes the specified Amount message. Does not implicitly {@link TW.Sui.Proto.Amount.verify|verify} messages.
|
39837
|
+
* @param message Amount message or plain object to encode
|
39838
|
+
* @param [writer] Writer to encode to
|
39839
|
+
* @returns Writer
|
39840
|
+
*/
|
39841
|
+
public static encode(message: TW.Sui.Proto.IAmount, writer?: $protobuf.Writer): $protobuf.Writer;
|
39842
|
+
|
39843
|
+
/**
|
39844
|
+
* Decodes an Amount message from the specified reader or buffer.
|
39845
|
+
* @param reader Reader or buffer to decode from
|
39846
|
+
* @param [length] Message length if known beforehand
|
39847
|
+
* @returns Amount
|
39848
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
39849
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
39850
|
+
*/
|
39851
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.Amount;
|
39852
|
+
|
39853
|
+
/**
|
39854
|
+
* Verifies an Amount message.
|
39855
|
+
* @param message Plain object to verify
|
39856
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
39857
|
+
*/
|
39858
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
39859
|
+
|
39860
|
+
/**
|
39861
|
+
* Creates an Amount message from a plain object. Also converts values to their respective internal types.
|
39862
|
+
* @param object Plain object
|
39863
|
+
* @returns Amount
|
39864
|
+
*/
|
39865
|
+
public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.Amount;
|
39866
|
+
|
39867
|
+
/**
|
39868
|
+
* Creates a plain object from an Amount message. Also converts values to other types if specified.
|
39869
|
+
* @param message Amount
|
39870
|
+
* @param [options] Conversion options
|
39871
|
+
* @returns Plain object
|
39872
|
+
*/
|
39873
|
+
public static toObject(message: TW.Sui.Proto.Amount, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
39874
|
+
|
39875
|
+
/**
|
39876
|
+
* Converts this Amount to JSON.
|
39877
|
+
* @returns JSON object
|
39878
|
+
*/
|
39879
|
+
public toJSON(): { [k: string]: any };
|
39880
|
+
}
|
39881
|
+
|
39518
39882
|
/** Properties of a SignDirect. */
|
39519
39883
|
interface ISignDirect {
|
39520
39884
|
|
@@ -39588,14 +39952,551 @@ export namespace TW {
|
|
39588
39952
|
public toJSON(): { [k: string]: any };
|
39589
39953
|
}
|
39590
39954
|
|
39955
|
+
/** Properties of a Pay. */
|
39956
|
+
interface IPay {
|
39957
|
+
|
39958
|
+
/** Pay inputCoins */
|
39959
|
+
inputCoins?: (TW.Sui.Proto.IObjectRef[]|null);
|
39960
|
+
|
39961
|
+
/** Pay recipients */
|
39962
|
+
recipients?: (string[]|null);
|
39963
|
+
|
39964
|
+
/** Pay amounts */
|
39965
|
+
amounts?: (Long[]|null);
|
39966
|
+
|
39967
|
+
/** Pay gas */
|
39968
|
+
gas?: (TW.Sui.Proto.IObjectRef|null);
|
39969
|
+
}
|
39970
|
+
|
39971
|
+
/** Represents a Pay. */
|
39972
|
+
class Pay implements IPay {
|
39973
|
+
|
39974
|
+
/**
|
39975
|
+
* Constructs a new Pay.
|
39976
|
+
* @param [properties] Properties to set
|
39977
|
+
*/
|
39978
|
+
constructor(properties?: TW.Sui.Proto.IPay);
|
39979
|
+
|
39980
|
+
/** Pay inputCoins. */
|
39981
|
+
public inputCoins: TW.Sui.Proto.IObjectRef[];
|
39982
|
+
|
39983
|
+
/** Pay recipients. */
|
39984
|
+
public recipients: string[];
|
39985
|
+
|
39986
|
+
/** Pay amounts. */
|
39987
|
+
public amounts: Long[];
|
39988
|
+
|
39989
|
+
/** Pay gas. */
|
39990
|
+
public gas?: (TW.Sui.Proto.IObjectRef|null);
|
39991
|
+
|
39992
|
+
/**
|
39993
|
+
* Creates a new Pay instance using the specified properties.
|
39994
|
+
* @param [properties] Properties to set
|
39995
|
+
* @returns Pay instance
|
39996
|
+
*/
|
39997
|
+
public static create(properties?: TW.Sui.Proto.IPay): TW.Sui.Proto.Pay;
|
39998
|
+
|
39999
|
+
/**
|
40000
|
+
* Encodes the specified Pay message. Does not implicitly {@link TW.Sui.Proto.Pay.verify|verify} messages.
|
40001
|
+
* @param message Pay message or plain object to encode
|
40002
|
+
* @param [writer] Writer to encode to
|
40003
|
+
* @returns Writer
|
40004
|
+
*/
|
40005
|
+
public static encode(message: TW.Sui.Proto.IPay, writer?: $protobuf.Writer): $protobuf.Writer;
|
40006
|
+
|
40007
|
+
/**
|
40008
|
+
* Decodes a Pay message from the specified reader or buffer.
|
40009
|
+
* @param reader Reader or buffer to decode from
|
40010
|
+
* @param [length] Message length if known beforehand
|
40011
|
+
* @returns Pay
|
40012
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
40013
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
40014
|
+
*/
|
40015
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.Pay;
|
40016
|
+
|
40017
|
+
/**
|
40018
|
+
* Verifies a Pay message.
|
40019
|
+
* @param message Plain object to verify
|
40020
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
40021
|
+
*/
|
40022
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
40023
|
+
|
40024
|
+
/**
|
40025
|
+
* Creates a Pay message from a plain object. Also converts values to their respective internal types.
|
40026
|
+
* @param object Plain object
|
40027
|
+
* @returns Pay
|
40028
|
+
*/
|
40029
|
+
public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.Pay;
|
40030
|
+
|
40031
|
+
/**
|
40032
|
+
* Creates a plain object from a Pay message. Also converts values to other types if specified.
|
40033
|
+
* @param message Pay
|
40034
|
+
* @param [options] Conversion options
|
40035
|
+
* @returns Plain object
|
40036
|
+
*/
|
40037
|
+
public static toObject(message: TW.Sui.Proto.Pay, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
40038
|
+
|
40039
|
+
/**
|
40040
|
+
* Converts this Pay to JSON.
|
40041
|
+
* @returns JSON object
|
40042
|
+
*/
|
40043
|
+
public toJSON(): { [k: string]: any };
|
40044
|
+
}
|
40045
|
+
|
40046
|
+
/** Properties of a PaySui. */
|
40047
|
+
interface IPaySui {
|
40048
|
+
|
40049
|
+
/** PaySui inputCoins */
|
40050
|
+
inputCoins?: (TW.Sui.Proto.IObjectRef[]|null);
|
40051
|
+
|
40052
|
+
/** PaySui recipients */
|
40053
|
+
recipients?: (string[]|null);
|
40054
|
+
|
40055
|
+
/** PaySui amounts */
|
40056
|
+
amounts?: (Long[]|null);
|
40057
|
+
}
|
40058
|
+
|
40059
|
+
/** Represents a PaySui. */
|
40060
|
+
class PaySui implements IPaySui {
|
40061
|
+
|
40062
|
+
/**
|
40063
|
+
* Constructs a new PaySui.
|
40064
|
+
* @param [properties] Properties to set
|
40065
|
+
*/
|
40066
|
+
constructor(properties?: TW.Sui.Proto.IPaySui);
|
40067
|
+
|
40068
|
+
/** PaySui inputCoins. */
|
40069
|
+
public inputCoins: TW.Sui.Proto.IObjectRef[];
|
40070
|
+
|
40071
|
+
/** PaySui recipients. */
|
40072
|
+
public recipients: string[];
|
40073
|
+
|
40074
|
+
/** PaySui amounts. */
|
40075
|
+
public amounts: Long[];
|
40076
|
+
|
40077
|
+
/**
|
40078
|
+
* Creates a new PaySui instance using the specified properties.
|
40079
|
+
* @param [properties] Properties to set
|
40080
|
+
* @returns PaySui instance
|
40081
|
+
*/
|
40082
|
+
public static create(properties?: TW.Sui.Proto.IPaySui): TW.Sui.Proto.PaySui;
|
40083
|
+
|
40084
|
+
/**
|
40085
|
+
* Encodes the specified PaySui message. Does not implicitly {@link TW.Sui.Proto.PaySui.verify|verify} messages.
|
40086
|
+
* @param message PaySui message or plain object to encode
|
40087
|
+
* @param [writer] Writer to encode to
|
40088
|
+
* @returns Writer
|
40089
|
+
*/
|
40090
|
+
public static encode(message: TW.Sui.Proto.IPaySui, writer?: $protobuf.Writer): $protobuf.Writer;
|
40091
|
+
|
40092
|
+
/**
|
40093
|
+
* Decodes a PaySui message from the specified reader or buffer.
|
40094
|
+
* @param reader Reader or buffer to decode from
|
40095
|
+
* @param [length] Message length if known beforehand
|
40096
|
+
* @returns PaySui
|
40097
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
40098
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
40099
|
+
*/
|
40100
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.PaySui;
|
40101
|
+
|
40102
|
+
/**
|
40103
|
+
* Verifies a PaySui message.
|
40104
|
+
* @param message Plain object to verify
|
40105
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
40106
|
+
*/
|
40107
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
40108
|
+
|
40109
|
+
/**
|
40110
|
+
* Creates a PaySui message from a plain object. Also converts values to their respective internal types.
|
40111
|
+
* @param object Plain object
|
40112
|
+
* @returns PaySui
|
40113
|
+
*/
|
40114
|
+
public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.PaySui;
|
40115
|
+
|
40116
|
+
/**
|
40117
|
+
* Creates a plain object from a PaySui message. Also converts values to other types if specified.
|
40118
|
+
* @param message PaySui
|
40119
|
+
* @param [options] Conversion options
|
40120
|
+
* @returns Plain object
|
40121
|
+
*/
|
40122
|
+
public static toObject(message: TW.Sui.Proto.PaySui, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
40123
|
+
|
40124
|
+
/**
|
40125
|
+
* Converts this PaySui to JSON.
|
40126
|
+
* @returns JSON object
|
40127
|
+
*/
|
40128
|
+
public toJSON(): { [k: string]: any };
|
40129
|
+
}
|
40130
|
+
|
40131
|
+
/** Properties of a PayAllSui. */
|
40132
|
+
interface IPayAllSui {
|
40133
|
+
|
40134
|
+
/** PayAllSui inputCoins */
|
40135
|
+
inputCoins?: (TW.Sui.Proto.IObjectRef[]|null);
|
40136
|
+
|
40137
|
+
/** PayAllSui recipient */
|
40138
|
+
recipient?: (string|null);
|
40139
|
+
}
|
40140
|
+
|
40141
|
+
/** Represents a PayAllSui. */
|
40142
|
+
class PayAllSui implements IPayAllSui {
|
40143
|
+
|
40144
|
+
/**
|
40145
|
+
* Constructs a new PayAllSui.
|
40146
|
+
* @param [properties] Properties to set
|
40147
|
+
*/
|
40148
|
+
constructor(properties?: TW.Sui.Proto.IPayAllSui);
|
40149
|
+
|
40150
|
+
/** PayAllSui inputCoins. */
|
40151
|
+
public inputCoins: TW.Sui.Proto.IObjectRef[];
|
40152
|
+
|
40153
|
+
/** PayAllSui recipient. */
|
40154
|
+
public recipient: string;
|
40155
|
+
|
40156
|
+
/**
|
40157
|
+
* Creates a new PayAllSui instance using the specified properties.
|
40158
|
+
* @param [properties] Properties to set
|
40159
|
+
* @returns PayAllSui instance
|
40160
|
+
*/
|
40161
|
+
public static create(properties?: TW.Sui.Proto.IPayAllSui): TW.Sui.Proto.PayAllSui;
|
40162
|
+
|
40163
|
+
/**
|
40164
|
+
* Encodes the specified PayAllSui message. Does not implicitly {@link TW.Sui.Proto.PayAllSui.verify|verify} messages.
|
40165
|
+
* @param message PayAllSui message or plain object to encode
|
40166
|
+
* @param [writer] Writer to encode to
|
40167
|
+
* @returns Writer
|
40168
|
+
*/
|
40169
|
+
public static encode(message: TW.Sui.Proto.IPayAllSui, writer?: $protobuf.Writer): $protobuf.Writer;
|
40170
|
+
|
40171
|
+
/**
|
40172
|
+
* Decodes a PayAllSui message from the specified reader or buffer.
|
40173
|
+
* @param reader Reader or buffer to decode from
|
40174
|
+
* @param [length] Message length if known beforehand
|
40175
|
+
* @returns PayAllSui
|
40176
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
40177
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
40178
|
+
*/
|
40179
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.PayAllSui;
|
40180
|
+
|
40181
|
+
/**
|
40182
|
+
* Verifies a PayAllSui message.
|
40183
|
+
* @param message Plain object to verify
|
40184
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
40185
|
+
*/
|
40186
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
40187
|
+
|
40188
|
+
/**
|
40189
|
+
* Creates a PayAllSui message from a plain object. Also converts values to their respective internal types.
|
40190
|
+
* @param object Plain object
|
40191
|
+
* @returns PayAllSui
|
40192
|
+
*/
|
40193
|
+
public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.PayAllSui;
|
40194
|
+
|
40195
|
+
/**
|
40196
|
+
* Creates a plain object from a PayAllSui message. Also converts values to other types if specified.
|
40197
|
+
* @param message PayAllSui
|
40198
|
+
* @param [options] Conversion options
|
40199
|
+
* @returns Plain object
|
40200
|
+
*/
|
40201
|
+
public static toObject(message: TW.Sui.Proto.PayAllSui, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
40202
|
+
|
40203
|
+
/**
|
40204
|
+
* Converts this PayAllSui to JSON.
|
40205
|
+
* @returns JSON object
|
40206
|
+
*/
|
40207
|
+
public toJSON(): { [k: string]: any };
|
40208
|
+
}
|
40209
|
+
|
40210
|
+
/** Properties of a RequestAddStake. */
|
40211
|
+
interface IRequestAddStake {
|
40212
|
+
|
40213
|
+
/** RequestAddStake coins */
|
40214
|
+
coins?: (TW.Sui.Proto.IObjectRef[]|null);
|
40215
|
+
|
40216
|
+
/** RequestAddStake amount */
|
40217
|
+
amount?: (TW.Sui.Proto.IAmount|null);
|
40218
|
+
|
40219
|
+
/** RequestAddStake validator */
|
40220
|
+
validator?: (string|null);
|
40221
|
+
|
40222
|
+
/** RequestAddStake gas */
|
40223
|
+
gas?: (TW.Sui.Proto.IObjectRef|null);
|
40224
|
+
}
|
40225
|
+
|
40226
|
+
/** Represents a RequestAddStake. */
|
40227
|
+
class RequestAddStake implements IRequestAddStake {
|
40228
|
+
|
40229
|
+
/**
|
40230
|
+
* Constructs a new RequestAddStake.
|
40231
|
+
* @param [properties] Properties to set
|
40232
|
+
*/
|
40233
|
+
constructor(properties?: TW.Sui.Proto.IRequestAddStake);
|
40234
|
+
|
40235
|
+
/** RequestAddStake coins. */
|
40236
|
+
public coins: TW.Sui.Proto.IObjectRef[];
|
40237
|
+
|
40238
|
+
/** RequestAddStake amount. */
|
40239
|
+
public amount?: (TW.Sui.Proto.IAmount|null);
|
40240
|
+
|
40241
|
+
/** RequestAddStake validator. */
|
40242
|
+
public validator: string;
|
40243
|
+
|
40244
|
+
/** RequestAddStake gas. */
|
40245
|
+
public gas?: (TW.Sui.Proto.IObjectRef|null);
|
40246
|
+
|
40247
|
+
/**
|
40248
|
+
* Creates a new RequestAddStake instance using the specified properties.
|
40249
|
+
* @param [properties] Properties to set
|
40250
|
+
* @returns RequestAddStake instance
|
40251
|
+
*/
|
40252
|
+
public static create(properties?: TW.Sui.Proto.IRequestAddStake): TW.Sui.Proto.RequestAddStake;
|
40253
|
+
|
40254
|
+
/**
|
40255
|
+
* Encodes the specified RequestAddStake message. Does not implicitly {@link TW.Sui.Proto.RequestAddStake.verify|verify} messages.
|
40256
|
+
* @param message RequestAddStake message or plain object to encode
|
40257
|
+
* @param [writer] Writer to encode to
|
40258
|
+
* @returns Writer
|
40259
|
+
*/
|
40260
|
+
public static encode(message: TW.Sui.Proto.IRequestAddStake, writer?: $protobuf.Writer): $protobuf.Writer;
|
40261
|
+
|
40262
|
+
/**
|
40263
|
+
* Decodes a RequestAddStake message from the specified reader or buffer.
|
40264
|
+
* @param reader Reader or buffer to decode from
|
40265
|
+
* @param [length] Message length if known beforehand
|
40266
|
+
* @returns RequestAddStake
|
40267
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
40268
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
40269
|
+
*/
|
40270
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.RequestAddStake;
|
40271
|
+
|
40272
|
+
/**
|
40273
|
+
* Verifies a RequestAddStake message.
|
40274
|
+
* @param message Plain object to verify
|
40275
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
40276
|
+
*/
|
40277
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
40278
|
+
|
40279
|
+
/**
|
40280
|
+
* Creates a RequestAddStake message from a plain object. Also converts values to their respective internal types.
|
40281
|
+
* @param object Plain object
|
40282
|
+
* @returns RequestAddStake
|
40283
|
+
*/
|
40284
|
+
public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.RequestAddStake;
|
40285
|
+
|
40286
|
+
/**
|
40287
|
+
* Creates a plain object from a RequestAddStake message. Also converts values to other types if specified.
|
40288
|
+
* @param message RequestAddStake
|
40289
|
+
* @param [options] Conversion options
|
40290
|
+
* @returns Plain object
|
40291
|
+
*/
|
40292
|
+
public static toObject(message: TW.Sui.Proto.RequestAddStake, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
40293
|
+
|
40294
|
+
/**
|
40295
|
+
* Converts this RequestAddStake to JSON.
|
40296
|
+
* @returns JSON object
|
40297
|
+
*/
|
40298
|
+
public toJSON(): { [k: string]: any };
|
40299
|
+
}
|
40300
|
+
|
40301
|
+
/** Properties of a RequestWithdrawStake. */
|
40302
|
+
interface IRequestWithdrawStake {
|
40303
|
+
|
40304
|
+
/** RequestWithdrawStake stakedSui */
|
40305
|
+
stakedSui?: (TW.Sui.Proto.IObjectRef|null);
|
40306
|
+
|
40307
|
+
/** RequestWithdrawStake gas */
|
40308
|
+
gas?: (TW.Sui.Proto.IObjectRef|null);
|
40309
|
+
}
|
40310
|
+
|
40311
|
+
/** Represents a RequestWithdrawStake. */
|
40312
|
+
class RequestWithdrawStake implements IRequestWithdrawStake {
|
40313
|
+
|
40314
|
+
/**
|
40315
|
+
* Constructs a new RequestWithdrawStake.
|
40316
|
+
* @param [properties] Properties to set
|
40317
|
+
*/
|
40318
|
+
constructor(properties?: TW.Sui.Proto.IRequestWithdrawStake);
|
40319
|
+
|
40320
|
+
/** RequestWithdrawStake stakedSui. */
|
40321
|
+
public stakedSui?: (TW.Sui.Proto.IObjectRef|null);
|
40322
|
+
|
40323
|
+
/** RequestWithdrawStake gas. */
|
40324
|
+
public gas?: (TW.Sui.Proto.IObjectRef|null);
|
40325
|
+
|
40326
|
+
/**
|
40327
|
+
* Creates a new RequestWithdrawStake instance using the specified properties.
|
40328
|
+
* @param [properties] Properties to set
|
40329
|
+
* @returns RequestWithdrawStake instance
|
40330
|
+
*/
|
40331
|
+
public static create(properties?: TW.Sui.Proto.IRequestWithdrawStake): TW.Sui.Proto.RequestWithdrawStake;
|
40332
|
+
|
40333
|
+
/**
|
40334
|
+
* Encodes the specified RequestWithdrawStake message. Does not implicitly {@link TW.Sui.Proto.RequestWithdrawStake.verify|verify} messages.
|
40335
|
+
* @param message RequestWithdrawStake message or plain object to encode
|
40336
|
+
* @param [writer] Writer to encode to
|
40337
|
+
* @returns Writer
|
40338
|
+
*/
|
40339
|
+
public static encode(message: TW.Sui.Proto.IRequestWithdrawStake, writer?: $protobuf.Writer): $protobuf.Writer;
|
40340
|
+
|
40341
|
+
/**
|
40342
|
+
* Decodes a RequestWithdrawStake message from the specified reader or buffer.
|
40343
|
+
* @param reader Reader or buffer to decode from
|
40344
|
+
* @param [length] Message length if known beforehand
|
40345
|
+
* @returns RequestWithdrawStake
|
40346
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
40347
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
40348
|
+
*/
|
40349
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.RequestWithdrawStake;
|
40350
|
+
|
40351
|
+
/**
|
40352
|
+
* Verifies a RequestWithdrawStake message.
|
40353
|
+
* @param message Plain object to verify
|
40354
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
40355
|
+
*/
|
40356
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
40357
|
+
|
40358
|
+
/**
|
40359
|
+
* Creates a RequestWithdrawStake message from a plain object. Also converts values to their respective internal types.
|
40360
|
+
* @param object Plain object
|
40361
|
+
* @returns RequestWithdrawStake
|
40362
|
+
*/
|
40363
|
+
public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.RequestWithdrawStake;
|
40364
|
+
|
40365
|
+
/**
|
40366
|
+
* Creates a plain object from a RequestWithdrawStake message. Also converts values to other types if specified.
|
40367
|
+
* @param message RequestWithdrawStake
|
40368
|
+
* @param [options] Conversion options
|
40369
|
+
* @returns Plain object
|
40370
|
+
*/
|
40371
|
+
public static toObject(message: TW.Sui.Proto.RequestWithdrawStake, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
40372
|
+
|
40373
|
+
/**
|
40374
|
+
* Converts this RequestWithdrawStake to JSON.
|
40375
|
+
* @returns JSON object
|
40376
|
+
*/
|
40377
|
+
public toJSON(): { [k: string]: any };
|
40378
|
+
}
|
40379
|
+
|
40380
|
+
/** Properties of a TransferObject. */
|
40381
|
+
interface ITransferObject {
|
40382
|
+
|
40383
|
+
/** TransferObject object */
|
40384
|
+
object?: (TW.Sui.Proto.IObjectRef|null);
|
40385
|
+
|
40386
|
+
/** TransferObject recipient */
|
40387
|
+
recipient?: (string|null);
|
40388
|
+
|
40389
|
+
/** TransferObject gas */
|
40390
|
+
gas?: (TW.Sui.Proto.IObjectRef|null);
|
40391
|
+
}
|
40392
|
+
|
40393
|
+
/** https://docs.sui.io/sui-api-ref#unsafe_transferobject */
|
40394
|
+
class TransferObject implements ITransferObject {
|
40395
|
+
|
40396
|
+
/**
|
40397
|
+
* Constructs a new TransferObject.
|
40398
|
+
* @param [properties] Properties to set
|
40399
|
+
*/
|
40400
|
+
constructor(properties?: TW.Sui.Proto.ITransferObject);
|
40401
|
+
|
40402
|
+
/** TransferObject object. */
|
40403
|
+
public object?: (TW.Sui.Proto.IObjectRef|null);
|
40404
|
+
|
40405
|
+
/** TransferObject recipient. */
|
40406
|
+
public recipient: string;
|
40407
|
+
|
40408
|
+
/** TransferObject gas. */
|
40409
|
+
public gas?: (TW.Sui.Proto.IObjectRef|null);
|
40410
|
+
|
40411
|
+
/**
|
40412
|
+
* Creates a new TransferObject instance using the specified properties.
|
40413
|
+
* @param [properties] Properties to set
|
40414
|
+
* @returns TransferObject instance
|
40415
|
+
*/
|
40416
|
+
public static create(properties?: TW.Sui.Proto.ITransferObject): TW.Sui.Proto.TransferObject;
|
40417
|
+
|
40418
|
+
/**
|
40419
|
+
* Encodes the specified TransferObject message. Does not implicitly {@link TW.Sui.Proto.TransferObject.verify|verify} messages.
|
40420
|
+
* @param message TransferObject message or plain object to encode
|
40421
|
+
* @param [writer] Writer to encode to
|
40422
|
+
* @returns Writer
|
40423
|
+
*/
|
40424
|
+
public static encode(message: TW.Sui.Proto.ITransferObject, writer?: $protobuf.Writer): $protobuf.Writer;
|
40425
|
+
|
40426
|
+
/**
|
40427
|
+
* Decodes a TransferObject message from the specified reader or buffer.
|
40428
|
+
* @param reader Reader or buffer to decode from
|
40429
|
+
* @param [length] Message length if known beforehand
|
40430
|
+
* @returns TransferObject
|
40431
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
40432
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
40433
|
+
*/
|
40434
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.TransferObject;
|
40435
|
+
|
40436
|
+
/**
|
40437
|
+
* Verifies a TransferObject message.
|
40438
|
+
* @param message Plain object to verify
|
40439
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
40440
|
+
*/
|
40441
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
40442
|
+
|
40443
|
+
/**
|
40444
|
+
* Creates a TransferObject message from a plain object. Also converts values to their respective internal types.
|
40445
|
+
* @param object Plain object
|
40446
|
+
* @returns TransferObject
|
40447
|
+
*/
|
40448
|
+
public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.TransferObject;
|
40449
|
+
|
40450
|
+
/**
|
40451
|
+
* Creates a plain object from a TransferObject message. Also converts values to other types if specified.
|
40452
|
+
* @param message TransferObject
|
40453
|
+
* @param [options] Conversion options
|
40454
|
+
* @returns Plain object
|
40455
|
+
*/
|
40456
|
+
public static toObject(message: TW.Sui.Proto.TransferObject, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
40457
|
+
|
40458
|
+
/**
|
40459
|
+
* Converts this TransferObject to JSON.
|
40460
|
+
* @returns JSON object
|
40461
|
+
*/
|
40462
|
+
public toJSON(): { [k: string]: any };
|
40463
|
+
}
|
40464
|
+
|
39591
40465
|
/** Properties of a SigningInput. */
|
39592
40466
|
interface ISigningInput {
|
39593
40467
|
|
39594
40468
|
/** SigningInput privateKey */
|
39595
40469
|
privateKey?: (Uint8Array|null);
|
39596
40470
|
|
40471
|
+
/** SigningInput signer */
|
40472
|
+
signer?: (string|null);
|
40473
|
+
|
39597
40474
|
/** SigningInput signDirectMessage */
|
39598
40475
|
signDirectMessage?: (TW.Sui.Proto.ISignDirect|null);
|
40476
|
+
|
40477
|
+
/** SigningInput pay */
|
40478
|
+
pay?: (TW.Sui.Proto.IPay|null);
|
40479
|
+
|
40480
|
+
/** SigningInput paySui */
|
40481
|
+
paySui?: (TW.Sui.Proto.IPaySui|null);
|
40482
|
+
|
40483
|
+
/** SigningInput payAllSui */
|
40484
|
+
payAllSui?: (TW.Sui.Proto.IPayAllSui|null);
|
40485
|
+
|
40486
|
+
/** SigningInput requestAddStake */
|
40487
|
+
requestAddStake?: (TW.Sui.Proto.IRequestAddStake|null);
|
40488
|
+
|
40489
|
+
/** SigningInput requestWithdrawStake */
|
40490
|
+
requestWithdrawStake?: (TW.Sui.Proto.IRequestWithdrawStake|null);
|
40491
|
+
|
40492
|
+
/** SigningInput transferObject */
|
40493
|
+
transferObject?: (TW.Sui.Proto.ITransferObject|null);
|
40494
|
+
|
40495
|
+
/** SigningInput gasBudget */
|
40496
|
+
gasBudget?: (Long|null);
|
40497
|
+
|
40498
|
+
/** SigningInput referenceGasPrice */
|
40499
|
+
referenceGasPrice?: (Long|null);
|
39599
40500
|
}
|
39600
40501
|
|
39601
40502
|
/** Represents a SigningInput. */
|
@@ -39610,11 +40511,38 @@ export namespace TW {
|
|
39610
40511
|
/** SigningInput privateKey. */
|
39611
40512
|
public privateKey: Uint8Array;
|
39612
40513
|
|
40514
|
+
/** SigningInput signer. */
|
40515
|
+
public signer: string;
|
40516
|
+
|
39613
40517
|
/** SigningInput signDirectMessage. */
|
39614
40518
|
public signDirectMessage?: (TW.Sui.Proto.ISignDirect|null);
|
39615
40519
|
|
40520
|
+
/** SigningInput pay. */
|
40521
|
+
public pay?: (TW.Sui.Proto.IPay|null);
|
40522
|
+
|
40523
|
+
/** SigningInput paySui. */
|
40524
|
+
public paySui?: (TW.Sui.Proto.IPaySui|null);
|
40525
|
+
|
40526
|
+
/** SigningInput payAllSui. */
|
40527
|
+
public payAllSui?: (TW.Sui.Proto.IPayAllSui|null);
|
40528
|
+
|
40529
|
+
/** SigningInput requestAddStake. */
|
40530
|
+
public requestAddStake?: (TW.Sui.Proto.IRequestAddStake|null);
|
40531
|
+
|
40532
|
+
/** SigningInput requestWithdrawStake. */
|
40533
|
+
public requestWithdrawStake?: (TW.Sui.Proto.IRequestWithdrawStake|null);
|
40534
|
+
|
40535
|
+
/** SigningInput transferObject. */
|
40536
|
+
public transferObject?: (TW.Sui.Proto.ITransferObject|null);
|
40537
|
+
|
40538
|
+
/** SigningInput gasBudget. */
|
40539
|
+
public gasBudget: Long;
|
40540
|
+
|
40541
|
+
/** SigningInput referenceGasPrice. */
|
40542
|
+
public referenceGasPrice: Long;
|
40543
|
+
|
39616
40544
|
/** SigningInput transactionPayload. */
|
39617
|
-
public transactionPayload?: "signDirectMessage";
|
40545
|
+
public transactionPayload?: ("signDirectMessage"|"pay"|"paySui"|"payAllSui"|"requestAddStake"|"requestWithdrawStake"|"transferObject");
|
39618
40546
|
|
39619
40547
|
/**
|
39620
40548
|
* Creates a new SigningInput instance using the specified properties.
|