@trustwallet/wallet-core 4.2.11 → 4.2.13
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 +2900 -612
- package/dist/generated/core_proto.js +8863 -2548
- package/dist/lib/wallet-core.js +1 -1
- package/dist/lib/wallet-core.wasm +0 -0
- package/dist/src/keystore/default-impl.js +1 -3
- package/dist/src/keystore/types.d.ts +1 -1
- package/dist/src/keystore/types.js +1 -1
- package/dist/src/wallet-core.d.ts +4 -1
- package/package.json +1 -1
@@ -9578,6 +9578,9 @@ export namespace TW {
|
|
9578
9578
|
|
9579
9579
|
/** SigningOutput zcash */
|
9580
9580
|
zcash?: (TW.Zcash.Proto.ITransaction|null);
|
9581
|
+
|
9582
|
+
/** SigningOutput decred */
|
9583
|
+
decred?: (TW.DecredV2.Proto.ITransaction|null);
|
9581
9584
|
}
|
9582
9585
|
|
9583
9586
|
/** Represents a SigningOutput. */
|
@@ -9619,8 +9622,11 @@ export namespace TW {
|
|
9619
9622
|
/** SigningOutput zcash. */
|
9620
9623
|
public zcash?: (TW.Zcash.Proto.ITransaction|null);
|
9621
9624
|
|
9625
|
+
/** SigningOutput decred. */
|
9626
|
+
public decred?: (TW.DecredV2.Proto.ITransaction|null);
|
9627
|
+
|
9622
9628
|
/** SigningOutput transaction. */
|
9623
|
-
public transaction?: ("bitcoin"|"zcash");
|
9629
|
+
public transaction?: ("bitcoin"|"zcash"|"decred");
|
9624
9630
|
|
9625
9631
|
/**
|
9626
9632
|
* Creates a new SigningOutput instance using the specified properties.
|
@@ -9678,8 +9684,8 @@ export namespace TW {
|
|
9678
9684
|
}
|
9679
9685
|
}
|
9680
9686
|
|
9681
|
-
/** Namespace
|
9682
|
-
namespace
|
9687
|
+
/** Namespace DecredV2. */
|
9688
|
+
namespace DecredV2 {
|
9683
9689
|
|
9684
9690
|
/** Namespace Proto. */
|
9685
9691
|
namespace Proto {
|
@@ -9692,6 +9698,9 @@ export namespace TW {
|
|
9692
9698
|
|
9693
9699
|
/** OutPoint vout */
|
9694
9700
|
vout?: (number|null);
|
9701
|
+
|
9702
|
+
/** OutPoint tree */
|
9703
|
+
tree?: (number|null);
|
9695
9704
|
}
|
9696
9705
|
|
9697
9706
|
/** Represents an OutPoint. */
|
@@ -9701,7 +9710,7 @@ export namespace TW {
|
|
9701
9710
|
* Constructs a new OutPoint.
|
9702
9711
|
* @param [properties] Properties to set
|
9703
9712
|
*/
|
9704
|
-
constructor(properties?: TW.
|
9713
|
+
constructor(properties?: TW.DecredV2.Proto.IOutPoint);
|
9705
9714
|
|
9706
9715
|
/** OutPoint hash. */
|
9707
9716
|
public hash: Uint8Array;
|
@@ -9709,20 +9718,23 @@ export namespace TW {
|
|
9709
9718
|
/** OutPoint vout. */
|
9710
9719
|
public vout: number;
|
9711
9720
|
|
9721
|
+
/** OutPoint tree. */
|
9722
|
+
public tree: number;
|
9723
|
+
|
9712
9724
|
/**
|
9713
9725
|
* Creates a new OutPoint instance using the specified properties.
|
9714
9726
|
* @param [properties] Properties to set
|
9715
9727
|
* @returns OutPoint instance
|
9716
9728
|
*/
|
9717
|
-
public static create(properties?: TW.
|
9729
|
+
public static create(properties?: TW.DecredV2.Proto.IOutPoint): TW.DecredV2.Proto.OutPoint;
|
9718
9730
|
|
9719
9731
|
/**
|
9720
|
-
* Encodes the specified OutPoint message. Does not implicitly {@link TW.
|
9732
|
+
* Encodes the specified OutPoint message. Does not implicitly {@link TW.DecredV2.Proto.OutPoint.verify|verify} messages.
|
9721
9733
|
* @param message OutPoint message or plain object to encode
|
9722
9734
|
* @param [writer] Writer to encode to
|
9723
9735
|
* @returns Writer
|
9724
9736
|
*/
|
9725
|
-
public static encode(message: TW.
|
9737
|
+
public static encode(message: TW.DecredV2.Proto.IOutPoint, writer?: $protobuf.Writer): $protobuf.Writer;
|
9726
9738
|
|
9727
9739
|
/**
|
9728
9740
|
* Decodes an OutPoint message from the specified reader or buffer.
|
@@ -9732,7 +9744,7 @@ export namespace TW {
|
|
9732
9744
|
* @throws {Error} If the payload is not a reader or valid buffer
|
9733
9745
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9734
9746
|
*/
|
9735
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
9747
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.DecredV2.Proto.OutPoint;
|
9736
9748
|
|
9737
9749
|
/**
|
9738
9750
|
* Verifies an OutPoint message.
|
@@ -9746,7 +9758,7 @@ export namespace TW {
|
|
9746
9758
|
* @param object Plain object
|
9747
9759
|
* @returns OutPoint
|
9748
9760
|
*/
|
9749
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
9761
|
+
public static fromObject(object: { [k: string]: any }): TW.DecredV2.Proto.OutPoint;
|
9750
9762
|
|
9751
9763
|
/**
|
9752
9764
|
* Creates a plain object from an OutPoint message. Also converts values to other types if specified.
|
@@ -9754,7 +9766,7 @@ export namespace TW {
|
|
9754
9766
|
* @param [options] Conversion options
|
9755
9767
|
* @returns Plain object
|
9756
9768
|
*/
|
9757
|
-
public static toObject(message: TW.
|
9769
|
+
public static toObject(message: TW.DecredV2.Proto.OutPoint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9758
9770
|
|
9759
9771
|
/**
|
9760
9772
|
* Converts this OutPoint to JSON.
|
@@ -9763,20 +9775,129 @@ export namespace TW {
|
|
9763
9775
|
public toJSON(): { [k: string]: any };
|
9764
9776
|
}
|
9765
9777
|
|
9778
|
+
/** Properties of a Transaction. */
|
9779
|
+
interface ITransaction {
|
9780
|
+
|
9781
|
+
/** Transaction serializeType */
|
9782
|
+
serializeType?: (number|null);
|
9783
|
+
|
9784
|
+
/** Transaction version */
|
9785
|
+
version?: (number|null);
|
9786
|
+
|
9787
|
+
/** Transaction inputs */
|
9788
|
+
inputs?: (TW.DecredV2.Proto.ITransactionInput[]|null);
|
9789
|
+
|
9790
|
+
/** Transaction outputs */
|
9791
|
+
outputs?: (TW.DecredV2.Proto.ITransactionOutput[]|null);
|
9792
|
+
|
9793
|
+
/** Transaction lockTime */
|
9794
|
+
lockTime?: (number|null);
|
9795
|
+
|
9796
|
+
/** Transaction expiry */
|
9797
|
+
expiry?: (number|null);
|
9798
|
+
}
|
9799
|
+
|
9800
|
+
/** Represents a Transaction. */
|
9801
|
+
class Transaction implements ITransaction {
|
9802
|
+
|
9803
|
+
/**
|
9804
|
+
* Constructs a new Transaction.
|
9805
|
+
* @param [properties] Properties to set
|
9806
|
+
*/
|
9807
|
+
constructor(properties?: TW.DecredV2.Proto.ITransaction);
|
9808
|
+
|
9809
|
+
/** Transaction serializeType. */
|
9810
|
+
public serializeType: number;
|
9811
|
+
|
9812
|
+
/** Transaction version. */
|
9813
|
+
public version: number;
|
9814
|
+
|
9815
|
+
/** Transaction inputs. */
|
9816
|
+
public inputs: TW.DecredV2.Proto.ITransactionInput[];
|
9817
|
+
|
9818
|
+
/** Transaction outputs. */
|
9819
|
+
public outputs: TW.DecredV2.Proto.ITransactionOutput[];
|
9820
|
+
|
9821
|
+
/** Transaction lockTime. */
|
9822
|
+
public lockTime: number;
|
9823
|
+
|
9824
|
+
/** Transaction expiry. */
|
9825
|
+
public expiry: number;
|
9826
|
+
|
9827
|
+
/**
|
9828
|
+
* Creates a new Transaction instance using the specified properties.
|
9829
|
+
* @param [properties] Properties to set
|
9830
|
+
* @returns Transaction instance
|
9831
|
+
*/
|
9832
|
+
public static create(properties?: TW.DecredV2.Proto.ITransaction): TW.DecredV2.Proto.Transaction;
|
9833
|
+
|
9834
|
+
/**
|
9835
|
+
* Encodes the specified Transaction message. Does not implicitly {@link TW.DecredV2.Proto.Transaction.verify|verify} messages.
|
9836
|
+
* @param message Transaction message or plain object to encode
|
9837
|
+
* @param [writer] Writer to encode to
|
9838
|
+
* @returns Writer
|
9839
|
+
*/
|
9840
|
+
public static encode(message: TW.DecredV2.Proto.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
9841
|
+
|
9842
|
+
/**
|
9843
|
+
* Decodes a Transaction message from the specified reader or buffer.
|
9844
|
+
* @param reader Reader or buffer to decode from
|
9845
|
+
* @param [length] Message length if known beforehand
|
9846
|
+
* @returns Transaction
|
9847
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
9848
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9849
|
+
*/
|
9850
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.DecredV2.Proto.Transaction;
|
9851
|
+
|
9852
|
+
/**
|
9853
|
+
* Verifies a Transaction message.
|
9854
|
+
* @param message Plain object to verify
|
9855
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
9856
|
+
*/
|
9857
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
9858
|
+
|
9859
|
+
/**
|
9860
|
+
* Creates a Transaction message from a plain object. Also converts values to their respective internal types.
|
9861
|
+
* @param object Plain object
|
9862
|
+
* @returns Transaction
|
9863
|
+
*/
|
9864
|
+
public static fromObject(object: { [k: string]: any }): TW.DecredV2.Proto.Transaction;
|
9865
|
+
|
9866
|
+
/**
|
9867
|
+
* Creates a plain object from a Transaction message. Also converts values to other types if specified.
|
9868
|
+
* @param message Transaction
|
9869
|
+
* @param [options] Conversion options
|
9870
|
+
* @returns Plain object
|
9871
|
+
*/
|
9872
|
+
public static toObject(message: TW.DecredV2.Proto.Transaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9873
|
+
|
9874
|
+
/**
|
9875
|
+
* Converts this Transaction to JSON.
|
9876
|
+
* @returns JSON object
|
9877
|
+
*/
|
9878
|
+
public toJSON(): { [k: string]: any };
|
9879
|
+
}
|
9880
|
+
|
9766
9881
|
/** Properties of a TransactionInput. */
|
9767
9882
|
interface ITransactionInput {
|
9768
9883
|
|
9769
9884
|
/** TransactionInput outPoint */
|
9770
|
-
outPoint?: (TW.
|
9885
|
+
outPoint?: (TW.DecredV2.Proto.IOutPoint|null);
|
9771
9886
|
|
9772
9887
|
/** TransactionInput sequence */
|
9773
9888
|
sequence?: (number|null);
|
9774
9889
|
|
9890
|
+
/** TransactionInput value */
|
9891
|
+
value?: (Long|null);
|
9892
|
+
|
9893
|
+
/** TransactionInput blockHeight */
|
9894
|
+
blockHeight?: (number|null);
|
9895
|
+
|
9896
|
+
/** TransactionInput blockIndex */
|
9897
|
+
blockIndex?: (number|null);
|
9898
|
+
|
9775
9899
|
/** TransactionInput scriptSig */
|
9776
9900
|
scriptSig?: (Uint8Array|null);
|
9777
|
-
|
9778
|
-
/** TransactionInput witnessItems */
|
9779
|
-
witnessItems?: (Uint8Array[]|null);
|
9780
9901
|
}
|
9781
9902
|
|
9782
9903
|
/** Represents a TransactionInput. */
|
@@ -9786,34 +9907,40 @@ export namespace TW {
|
|
9786
9907
|
* Constructs a new TransactionInput.
|
9787
9908
|
* @param [properties] Properties to set
|
9788
9909
|
*/
|
9789
|
-
constructor(properties?: TW.
|
9910
|
+
constructor(properties?: TW.DecredV2.Proto.ITransactionInput);
|
9790
9911
|
|
9791
9912
|
/** TransactionInput outPoint. */
|
9792
|
-
public outPoint?: (TW.
|
9913
|
+
public outPoint?: (TW.DecredV2.Proto.IOutPoint|null);
|
9793
9914
|
|
9794
9915
|
/** TransactionInput sequence. */
|
9795
9916
|
public sequence: number;
|
9796
9917
|
|
9918
|
+
/** TransactionInput value. */
|
9919
|
+
public value: Long;
|
9920
|
+
|
9921
|
+
/** TransactionInput blockHeight. */
|
9922
|
+
public blockHeight: number;
|
9923
|
+
|
9924
|
+
/** TransactionInput blockIndex. */
|
9925
|
+
public blockIndex: number;
|
9926
|
+
|
9797
9927
|
/** TransactionInput scriptSig. */
|
9798
9928
|
public scriptSig: Uint8Array;
|
9799
9929
|
|
9800
|
-
/** TransactionInput witnessItems. */
|
9801
|
-
public witnessItems: Uint8Array[];
|
9802
|
-
|
9803
9930
|
/**
|
9804
9931
|
* Creates a new TransactionInput instance using the specified properties.
|
9805
9932
|
* @param [properties] Properties to set
|
9806
9933
|
* @returns TransactionInput instance
|
9807
9934
|
*/
|
9808
|
-
public static create(properties?: TW.
|
9935
|
+
public static create(properties?: TW.DecredV2.Proto.ITransactionInput): TW.DecredV2.Proto.TransactionInput;
|
9809
9936
|
|
9810
9937
|
/**
|
9811
|
-
* Encodes the specified TransactionInput message. Does not implicitly {@link TW.
|
9938
|
+
* Encodes the specified TransactionInput message. Does not implicitly {@link TW.DecredV2.Proto.TransactionInput.verify|verify} messages.
|
9812
9939
|
* @param message TransactionInput message or plain object to encode
|
9813
9940
|
* @param [writer] Writer to encode to
|
9814
9941
|
* @returns Writer
|
9815
9942
|
*/
|
9816
|
-
public static encode(message: TW.
|
9943
|
+
public static encode(message: TW.DecredV2.Proto.ITransactionInput, writer?: $protobuf.Writer): $protobuf.Writer;
|
9817
9944
|
|
9818
9945
|
/**
|
9819
9946
|
* Decodes a TransactionInput message from the specified reader or buffer.
|
@@ -9823,7 +9950,7 @@ export namespace TW {
|
|
9823
9950
|
* @throws {Error} If the payload is not a reader or valid buffer
|
9824
9951
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9825
9952
|
*/
|
9826
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
9953
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.DecredV2.Proto.TransactionInput;
|
9827
9954
|
|
9828
9955
|
/**
|
9829
9956
|
* Verifies a TransactionInput message.
|
@@ -9837,7 +9964,7 @@ export namespace TW {
|
|
9837
9964
|
* @param object Plain object
|
9838
9965
|
* @returns TransactionInput
|
9839
9966
|
*/
|
9840
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
9967
|
+
public static fromObject(object: { [k: string]: any }): TW.DecredV2.Proto.TransactionInput;
|
9841
9968
|
|
9842
9969
|
/**
|
9843
9970
|
* Creates a plain object from a TransactionInput message. Also converts values to other types if specified.
|
@@ -9845,7 +9972,7 @@ export namespace TW {
|
|
9845
9972
|
* @param [options] Conversion options
|
9846
9973
|
* @returns Plain object
|
9847
9974
|
*/
|
9848
|
-
public static toObject(message: TW.
|
9975
|
+
public static toObject(message: TW.DecredV2.Proto.TransactionInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9849
9976
|
|
9850
9977
|
/**
|
9851
9978
|
* Converts this TransactionInput to JSON.
|
@@ -9857,11 +9984,14 @@ export namespace TW {
|
|
9857
9984
|
/** Properties of a TransactionOutput. */
|
9858
9985
|
interface ITransactionOutput {
|
9859
9986
|
|
9860
|
-
/** TransactionOutput scriptPubkey */
|
9861
|
-
scriptPubkey?: (Uint8Array|null);
|
9862
|
-
|
9863
9987
|
/** TransactionOutput value */
|
9864
9988
|
value?: (Long|null);
|
9989
|
+
|
9990
|
+
/** TransactionOutput version */
|
9991
|
+
version?: (number|null);
|
9992
|
+
|
9993
|
+
/** TransactionOutput script */
|
9994
|
+
script?: (Uint8Array|null);
|
9865
9995
|
}
|
9866
9996
|
|
9867
9997
|
/** Represents a TransactionOutput. */
|
@@ -9871,28 +10001,31 @@ export namespace TW {
|
|
9871
10001
|
* Constructs a new TransactionOutput.
|
9872
10002
|
* @param [properties] Properties to set
|
9873
10003
|
*/
|
9874
|
-
constructor(properties?: TW.
|
9875
|
-
|
9876
|
-
/** TransactionOutput scriptPubkey. */
|
9877
|
-
public scriptPubkey: Uint8Array;
|
10004
|
+
constructor(properties?: TW.DecredV2.Proto.ITransactionOutput);
|
9878
10005
|
|
9879
10006
|
/** TransactionOutput value. */
|
9880
10007
|
public value: Long;
|
9881
10008
|
|
10009
|
+
/** TransactionOutput version. */
|
10010
|
+
public version: number;
|
10011
|
+
|
10012
|
+
/** TransactionOutput script. */
|
10013
|
+
public script: Uint8Array;
|
10014
|
+
|
9882
10015
|
/**
|
9883
10016
|
* Creates a new TransactionOutput instance using the specified properties.
|
9884
10017
|
* @param [properties] Properties to set
|
9885
10018
|
* @returns TransactionOutput instance
|
9886
10019
|
*/
|
9887
|
-
public static create(properties?: TW.
|
10020
|
+
public static create(properties?: TW.DecredV2.Proto.ITransactionOutput): TW.DecredV2.Proto.TransactionOutput;
|
9888
10021
|
|
9889
10022
|
/**
|
9890
|
-
* Encodes the specified TransactionOutput message. Does not implicitly {@link TW.
|
10023
|
+
* Encodes the specified TransactionOutput message. Does not implicitly {@link TW.DecredV2.Proto.TransactionOutput.verify|verify} messages.
|
9891
10024
|
* @param message TransactionOutput message or plain object to encode
|
9892
10025
|
* @param [writer] Writer to encode to
|
9893
10026
|
* @returns Writer
|
9894
10027
|
*/
|
9895
|
-
public static encode(message: TW.
|
10028
|
+
public static encode(message: TW.DecredV2.Proto.ITransactionOutput, writer?: $protobuf.Writer): $protobuf.Writer;
|
9896
10029
|
|
9897
10030
|
/**
|
9898
10031
|
* Decodes a TransactionOutput message from the specified reader or buffer.
|
@@ -9902,7 +10035,7 @@ export namespace TW {
|
|
9902
10035
|
* @throws {Error} If the payload is not a reader or valid buffer
|
9903
10036
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9904
10037
|
*/
|
9905
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
10038
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.DecredV2.Proto.TransactionOutput;
|
9906
10039
|
|
9907
10040
|
/**
|
9908
10041
|
* Verifies a TransactionOutput message.
|
@@ -9916,7 +10049,7 @@ export namespace TW {
|
|
9916
10049
|
* @param object Plain object
|
9917
10050
|
* @returns TransactionOutput
|
9918
10051
|
*/
|
9919
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
10052
|
+
public static fromObject(object: { [k: string]: any }): TW.DecredV2.Proto.TransactionOutput;
|
9920
10053
|
|
9921
10054
|
/**
|
9922
10055
|
* Creates a plain object from a TransactionOutput message. Also converts values to other types if specified.
|
@@ -9924,7 +10057,7 @@ export namespace TW {
|
|
9924
10057
|
* @param [options] Conversion options
|
9925
10058
|
* @returns Plain object
|
9926
10059
|
*/
|
9927
|
-
public static toObject(message: TW.
|
10060
|
+
public static toObject(message: TW.DecredV2.Proto.TransactionOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9928
10061
|
|
9929
10062
|
/**
|
9930
10063
|
* Converts this TransactionOutput to JSON.
|
@@ -9932,186 +10065,259 @@ export namespace TW {
|
|
9932
10065
|
*/
|
9933
10066
|
public toJSON(): { [k: string]: any };
|
9934
10067
|
}
|
10068
|
+
}
|
10069
|
+
}
|
9935
10070
|
|
9936
|
-
|
9937
|
-
|
10071
|
+
/** Namespace Utxo. */
|
10072
|
+
namespace Utxo {
|
9938
10073
|
|
9939
|
-
|
9940
|
-
|
10074
|
+
/** Namespace Proto. */
|
10075
|
+
namespace Proto {
|
9941
10076
|
|
9942
|
-
|
9943
|
-
|
10077
|
+
/** Properties of an OutPoint. */
|
10078
|
+
interface IOutPoint {
|
9944
10079
|
|
9945
|
-
/**
|
9946
|
-
|
10080
|
+
/** OutPoint hash */
|
10081
|
+
hash?: (Uint8Array|null);
|
9947
10082
|
|
9948
|
-
/**
|
9949
|
-
|
10083
|
+
/** OutPoint vout */
|
10084
|
+
vout?: (number|null);
|
9950
10085
|
}
|
9951
10086
|
|
9952
|
-
/** Represents
|
9953
|
-
class
|
10087
|
+
/** Represents an OutPoint. */
|
10088
|
+
class OutPoint implements IOutPoint {
|
9954
10089
|
|
9955
10090
|
/**
|
9956
|
-
* Constructs a new
|
10091
|
+
* Constructs a new OutPoint.
|
9957
10092
|
* @param [properties] Properties to set
|
9958
10093
|
*/
|
9959
|
-
constructor(properties?: TW.Utxo.Proto.
|
9960
|
-
|
9961
|
-
/** Transaction version. */
|
9962
|
-
public version: number;
|
9963
|
-
|
9964
|
-
/** Transaction lockTime. */
|
9965
|
-
public lockTime: number;
|
10094
|
+
constructor(properties?: TW.Utxo.Proto.IOutPoint);
|
9966
10095
|
|
9967
|
-
/**
|
9968
|
-
public
|
10096
|
+
/** OutPoint hash. */
|
10097
|
+
public hash: Uint8Array;
|
9969
10098
|
|
9970
|
-
/**
|
9971
|
-
public
|
10099
|
+
/** OutPoint vout. */
|
10100
|
+
public vout: number;
|
9972
10101
|
|
9973
10102
|
/**
|
9974
|
-
* Creates a new
|
10103
|
+
* Creates a new OutPoint instance using the specified properties.
|
9975
10104
|
* @param [properties] Properties to set
|
9976
|
-
* @returns
|
10105
|
+
* @returns OutPoint instance
|
9977
10106
|
*/
|
9978
|
-
public static create(properties?: TW.Utxo.Proto.
|
10107
|
+
public static create(properties?: TW.Utxo.Proto.IOutPoint): TW.Utxo.Proto.OutPoint;
|
9979
10108
|
|
9980
10109
|
/**
|
9981
|
-
* Encodes the specified
|
9982
|
-
* @param message
|
10110
|
+
* Encodes the specified OutPoint message. Does not implicitly {@link TW.Utxo.Proto.OutPoint.verify|verify} messages.
|
10111
|
+
* @param message OutPoint message or plain object to encode
|
9983
10112
|
* @param [writer] Writer to encode to
|
9984
10113
|
* @returns Writer
|
9985
10114
|
*/
|
9986
|
-
public static encode(message: TW.Utxo.Proto.
|
10115
|
+
public static encode(message: TW.Utxo.Proto.IOutPoint, writer?: $protobuf.Writer): $protobuf.Writer;
|
9987
10116
|
|
9988
10117
|
/**
|
9989
|
-
* Decodes
|
10118
|
+
* Decodes an OutPoint message from the specified reader or buffer.
|
9990
10119
|
* @param reader Reader or buffer to decode from
|
9991
10120
|
* @param [length] Message length if known beforehand
|
9992
|
-
* @returns
|
10121
|
+
* @returns OutPoint
|
9993
10122
|
* @throws {Error} If the payload is not a reader or valid buffer
|
9994
10123
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9995
10124
|
*/
|
9996
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Utxo.Proto.
|
10125
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Utxo.Proto.OutPoint;
|
9997
10126
|
|
9998
10127
|
/**
|
9999
|
-
* Verifies
|
10128
|
+
* Verifies an OutPoint message.
|
10000
10129
|
* @param message Plain object to verify
|
10001
10130
|
* @returns `null` if valid, otherwise the reason why it is not
|
10002
10131
|
*/
|
10003
10132
|
public static verify(message: { [k: string]: any }): (string|null);
|
10004
10133
|
|
10005
10134
|
/**
|
10006
|
-
* Creates
|
10135
|
+
* Creates an OutPoint message from a plain object. Also converts values to their respective internal types.
|
10007
10136
|
* @param object Plain object
|
10008
|
-
* @returns
|
10137
|
+
* @returns OutPoint
|
10009
10138
|
*/
|
10010
|
-
public static fromObject(object: { [k: string]: any }): TW.Utxo.Proto.
|
10139
|
+
public static fromObject(object: { [k: string]: any }): TW.Utxo.Proto.OutPoint;
|
10011
10140
|
|
10012
10141
|
/**
|
10013
|
-
* Creates a plain object from
|
10014
|
-
* @param message
|
10142
|
+
* Creates a plain object from an OutPoint message. Also converts values to other types if specified.
|
10143
|
+
* @param message OutPoint
|
10015
10144
|
* @param [options] Conversion options
|
10016
10145
|
* @returns Plain object
|
10017
10146
|
*/
|
10018
|
-
public static toObject(message: TW.Utxo.Proto.
|
10147
|
+
public static toObject(message: TW.Utxo.Proto.OutPoint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10019
10148
|
|
10020
10149
|
/**
|
10021
|
-
* Converts this
|
10150
|
+
* Converts this OutPoint to JSON.
|
10022
10151
|
* @returns JSON object
|
10023
10152
|
*/
|
10024
10153
|
public toJSON(): { [k: string]: any };
|
10025
10154
|
}
|
10026
|
-
}
|
10027
|
-
}
|
10028
10155
|
|
10029
|
-
|
10030
|
-
|
10156
|
+
/** Properties of a TransactionInput. */
|
10157
|
+
interface ITransactionInput {
|
10031
10158
|
|
10032
|
-
|
10033
|
-
|
10159
|
+
/** TransactionInput outPoint */
|
10160
|
+
outPoint?: (TW.Utxo.Proto.IOutPoint|null);
|
10034
10161
|
|
10035
|
-
|
10036
|
-
|
10037
|
-
|
10038
|
-
/** TransactionBuilderExtraData branchId */
|
10039
|
-
branchId?: (Uint8Array|null);
|
10162
|
+
/** TransactionInput sequence */
|
10163
|
+
sequence?: (number|null);
|
10040
10164
|
|
10041
|
-
/**
|
10042
|
-
|
10165
|
+
/** TransactionInput scriptSig */
|
10166
|
+
scriptSig?: (Uint8Array|null);
|
10043
10167
|
|
10044
|
-
/**
|
10045
|
-
|
10168
|
+
/** TransactionInput witnessItems */
|
10169
|
+
witnessItems?: (Uint8Array[]|null);
|
10046
10170
|
}
|
10047
10171
|
|
10048
|
-
/** Represents a
|
10049
|
-
class
|
10172
|
+
/** Represents a TransactionInput. */
|
10173
|
+
class TransactionInput implements ITransactionInput {
|
10050
10174
|
|
10051
10175
|
/**
|
10052
|
-
* Constructs a new
|
10176
|
+
* Constructs a new TransactionInput.
|
10053
10177
|
* @param [properties] Properties to set
|
10054
10178
|
*/
|
10055
|
-
constructor(properties?: TW.
|
10179
|
+
constructor(properties?: TW.Utxo.Proto.ITransactionInput);
|
10056
10180
|
|
10057
|
-
/**
|
10058
|
-
public
|
10181
|
+
/** TransactionInput outPoint. */
|
10182
|
+
public outPoint?: (TW.Utxo.Proto.IOutPoint|null);
|
10059
10183
|
|
10060
|
-
/**
|
10061
|
-
public
|
10184
|
+
/** TransactionInput sequence. */
|
10185
|
+
public sequence: number;
|
10062
10186
|
|
10063
|
-
/**
|
10064
|
-
public
|
10187
|
+
/** TransactionInput scriptSig. */
|
10188
|
+
public scriptSig: Uint8Array;
|
10189
|
+
|
10190
|
+
/** TransactionInput witnessItems. */
|
10191
|
+
public witnessItems: Uint8Array[];
|
10065
10192
|
|
10066
10193
|
/**
|
10067
|
-
* Creates a new
|
10194
|
+
* Creates a new TransactionInput instance using the specified properties.
|
10068
10195
|
* @param [properties] Properties to set
|
10069
|
-
* @returns
|
10196
|
+
* @returns TransactionInput instance
|
10070
10197
|
*/
|
10071
|
-
public static create(properties?: TW.
|
10198
|
+
public static create(properties?: TW.Utxo.Proto.ITransactionInput): TW.Utxo.Proto.TransactionInput;
|
10072
10199
|
|
10073
10200
|
/**
|
10074
|
-
* Encodes the specified
|
10075
|
-
* @param message
|
10201
|
+
* Encodes the specified TransactionInput message. Does not implicitly {@link TW.Utxo.Proto.TransactionInput.verify|verify} messages.
|
10202
|
+
* @param message TransactionInput message or plain object to encode
|
10076
10203
|
* @param [writer] Writer to encode to
|
10077
10204
|
* @returns Writer
|
10078
10205
|
*/
|
10079
|
-
public static encode(message: TW.
|
10206
|
+
public static encode(message: TW.Utxo.Proto.ITransactionInput, writer?: $protobuf.Writer): $protobuf.Writer;
|
10080
10207
|
|
10081
10208
|
/**
|
10082
|
-
* Decodes a
|
10209
|
+
* Decodes a TransactionInput message from the specified reader or buffer.
|
10083
10210
|
* @param reader Reader or buffer to decode from
|
10084
10211
|
* @param [length] Message length if known beforehand
|
10085
|
-
* @returns
|
10212
|
+
* @returns TransactionInput
|
10086
10213
|
* @throws {Error} If the payload is not a reader or valid buffer
|
10087
10214
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10088
10215
|
*/
|
10089
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
10216
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Utxo.Proto.TransactionInput;
|
10090
10217
|
|
10091
10218
|
/**
|
10092
|
-
* Verifies a
|
10219
|
+
* Verifies a TransactionInput message.
|
10093
10220
|
* @param message Plain object to verify
|
10094
10221
|
* @returns `null` if valid, otherwise the reason why it is not
|
10095
10222
|
*/
|
10096
10223
|
public static verify(message: { [k: string]: any }): (string|null);
|
10097
10224
|
|
10098
10225
|
/**
|
10099
|
-
* Creates a
|
10226
|
+
* Creates a TransactionInput message from a plain object. Also converts values to their respective internal types.
|
10100
10227
|
* @param object Plain object
|
10101
|
-
* @returns
|
10228
|
+
* @returns TransactionInput
|
10102
10229
|
*/
|
10103
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
10230
|
+
public static fromObject(object: { [k: string]: any }): TW.Utxo.Proto.TransactionInput;
|
10104
10231
|
|
10105
10232
|
/**
|
10106
|
-
* Creates a plain object from a
|
10107
|
-
* @param message
|
10233
|
+
* Creates a plain object from a TransactionInput message. Also converts values to other types if specified.
|
10234
|
+
* @param message TransactionInput
|
10108
10235
|
* @param [options] Conversion options
|
10109
10236
|
* @returns Plain object
|
10110
10237
|
*/
|
10111
|
-
public static toObject(message: TW.
|
10238
|
+
public static toObject(message: TW.Utxo.Proto.TransactionInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10112
10239
|
|
10113
10240
|
/**
|
10114
|
-
* Converts this
|
10241
|
+
* Converts this TransactionInput to JSON.
|
10242
|
+
* @returns JSON object
|
10243
|
+
*/
|
10244
|
+
public toJSON(): { [k: string]: any };
|
10245
|
+
}
|
10246
|
+
|
10247
|
+
/** Properties of a TransactionOutput. */
|
10248
|
+
interface ITransactionOutput {
|
10249
|
+
|
10250
|
+
/** TransactionOutput scriptPubkey */
|
10251
|
+
scriptPubkey?: (Uint8Array|null);
|
10252
|
+
|
10253
|
+
/** TransactionOutput value */
|
10254
|
+
value?: (Long|null);
|
10255
|
+
}
|
10256
|
+
|
10257
|
+
/** Represents a TransactionOutput. */
|
10258
|
+
class TransactionOutput implements ITransactionOutput {
|
10259
|
+
|
10260
|
+
/**
|
10261
|
+
* Constructs a new TransactionOutput.
|
10262
|
+
* @param [properties] Properties to set
|
10263
|
+
*/
|
10264
|
+
constructor(properties?: TW.Utxo.Proto.ITransactionOutput);
|
10265
|
+
|
10266
|
+
/** TransactionOutput scriptPubkey. */
|
10267
|
+
public scriptPubkey: Uint8Array;
|
10268
|
+
|
10269
|
+
/** TransactionOutput value. */
|
10270
|
+
public value: Long;
|
10271
|
+
|
10272
|
+
/**
|
10273
|
+
* Creates a new TransactionOutput instance using the specified properties.
|
10274
|
+
* @param [properties] Properties to set
|
10275
|
+
* @returns TransactionOutput instance
|
10276
|
+
*/
|
10277
|
+
public static create(properties?: TW.Utxo.Proto.ITransactionOutput): TW.Utxo.Proto.TransactionOutput;
|
10278
|
+
|
10279
|
+
/**
|
10280
|
+
* Encodes the specified TransactionOutput message. Does not implicitly {@link TW.Utxo.Proto.TransactionOutput.verify|verify} messages.
|
10281
|
+
* @param message TransactionOutput message or plain object to encode
|
10282
|
+
* @param [writer] Writer to encode to
|
10283
|
+
* @returns Writer
|
10284
|
+
*/
|
10285
|
+
public static encode(message: TW.Utxo.Proto.ITransactionOutput, writer?: $protobuf.Writer): $protobuf.Writer;
|
10286
|
+
|
10287
|
+
/**
|
10288
|
+
* Decodes a TransactionOutput message from the specified reader or buffer.
|
10289
|
+
* @param reader Reader or buffer to decode from
|
10290
|
+
* @param [length] Message length if known beforehand
|
10291
|
+
* @returns TransactionOutput
|
10292
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
10293
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10294
|
+
*/
|
10295
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Utxo.Proto.TransactionOutput;
|
10296
|
+
|
10297
|
+
/**
|
10298
|
+
* Verifies a TransactionOutput message.
|
10299
|
+
* @param message Plain object to verify
|
10300
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
10301
|
+
*/
|
10302
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
10303
|
+
|
10304
|
+
/**
|
10305
|
+
* Creates a TransactionOutput message from a plain object. Also converts values to their respective internal types.
|
10306
|
+
* @param object Plain object
|
10307
|
+
* @returns TransactionOutput
|
10308
|
+
*/
|
10309
|
+
public static fromObject(object: { [k: string]: any }): TW.Utxo.Proto.TransactionOutput;
|
10310
|
+
|
10311
|
+
/**
|
10312
|
+
* Creates a plain object from a TransactionOutput message. Also converts values to other types if specified.
|
10313
|
+
* @param message TransactionOutput
|
10314
|
+
* @param [options] Conversion options
|
10315
|
+
* @returns Plain object
|
10316
|
+
*/
|
10317
|
+
public static toObject(message: TW.Utxo.Proto.TransactionOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10318
|
+
|
10319
|
+
/**
|
10320
|
+
* Converts this TransactionOutput to JSON.
|
10115
10321
|
* @returns JSON object
|
10116
10322
|
*/
|
10117
10323
|
public toJSON(): { [k: string]: any };
|
@@ -10120,29 +10326,17 @@ export namespace TW {
|
|
10120
10326
|
/** Properties of a Transaction. */
|
10121
10327
|
interface ITransaction {
|
10122
10328
|
|
10123
|
-
/**
|
10329
|
+
/** Transaction version */
|
10124
10330
|
version?: (number|null);
|
10125
10331
|
|
10126
|
-
/** Transaction
|
10127
|
-
|
10332
|
+
/** Transaction lockTime */
|
10333
|
+
lockTime?: (number|null);
|
10128
10334
|
|
10129
10335
|
/** Transaction inputs */
|
10130
10336
|
inputs?: (TW.Utxo.Proto.ITransactionInput[]|null);
|
10131
10337
|
|
10132
10338
|
/** Transaction outputs */
|
10133
10339
|
outputs?: (TW.Utxo.Proto.ITransactionOutput[]|null);
|
10134
|
-
|
10135
|
-
/** Transaction lockTime */
|
10136
|
-
lockTime?: (number|null);
|
10137
|
-
|
10138
|
-
/** Transaction expiryHeight */
|
10139
|
-
expiryHeight?: (number|null);
|
10140
|
-
|
10141
|
-
/** Transaction saplingValueBalance */
|
10142
|
-
saplingValueBalance?: (Long|null);
|
10143
|
-
|
10144
|
-
/** Transaction branchId */
|
10145
|
-
branchId?: (Uint8Array|null);
|
10146
10340
|
}
|
10147
10341
|
|
10148
10342
|
/** Represents a Transaction. */
|
@@ -10152,13 +10346,13 @@ export namespace TW {
|
|
10152
10346
|
* Constructs a new Transaction.
|
10153
10347
|
* @param [properties] Properties to set
|
10154
10348
|
*/
|
10155
|
-
constructor(properties?: TW.
|
10349
|
+
constructor(properties?: TW.Utxo.Proto.ITransaction);
|
10156
10350
|
|
10157
|
-
/**
|
10351
|
+
/** Transaction version. */
|
10158
10352
|
public version: number;
|
10159
10353
|
|
10160
|
-
/** Transaction
|
10161
|
-
public
|
10354
|
+
/** Transaction lockTime. */
|
10355
|
+
public lockTime: number;
|
10162
10356
|
|
10163
10357
|
/** Transaction inputs. */
|
10164
10358
|
public inputs: TW.Utxo.Proto.ITransactionInput[];
|
@@ -10166,32 +10360,20 @@ export namespace TW {
|
|
10166
10360
|
/** Transaction outputs. */
|
10167
10361
|
public outputs: TW.Utxo.Proto.ITransactionOutput[];
|
10168
10362
|
|
10169
|
-
/** Transaction lockTime. */
|
10170
|
-
public lockTime: number;
|
10171
|
-
|
10172
|
-
/** Transaction expiryHeight. */
|
10173
|
-
public expiryHeight: number;
|
10174
|
-
|
10175
|
-
/** Transaction saplingValueBalance. */
|
10176
|
-
public saplingValueBalance: Long;
|
10177
|
-
|
10178
|
-
/** Transaction branchId. */
|
10179
|
-
public branchId: Uint8Array;
|
10180
|
-
|
10181
10363
|
/**
|
10182
10364
|
* Creates a new Transaction instance using the specified properties.
|
10183
10365
|
* @param [properties] Properties to set
|
10184
10366
|
* @returns Transaction instance
|
10185
10367
|
*/
|
10186
|
-
public static create(properties?: TW.
|
10368
|
+
public static create(properties?: TW.Utxo.Proto.ITransaction): TW.Utxo.Proto.Transaction;
|
10187
10369
|
|
10188
10370
|
/**
|
10189
|
-
* Encodes the specified Transaction message. Does not implicitly {@link TW.
|
10371
|
+
* Encodes the specified Transaction message. Does not implicitly {@link TW.Utxo.Proto.Transaction.verify|verify} messages.
|
10190
10372
|
* @param message Transaction message or plain object to encode
|
10191
10373
|
* @param [writer] Writer to encode to
|
10192
10374
|
* @returns Writer
|
10193
10375
|
*/
|
10194
|
-
public static encode(message: TW.
|
10376
|
+
public static encode(message: TW.Utxo.Proto.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
10195
10377
|
|
10196
10378
|
/**
|
10197
10379
|
* Decodes a Transaction message from the specified reader or buffer.
|
@@ -10201,7 +10383,7 @@ export namespace TW {
|
|
10201
10383
|
* @throws {Error} If the payload is not a reader or valid buffer
|
10202
10384
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10203
10385
|
*/
|
10204
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
10386
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Utxo.Proto.Transaction;
|
10205
10387
|
|
10206
10388
|
/**
|
10207
10389
|
* Verifies a Transaction message.
|
@@ -10215,7 +10397,7 @@ export namespace TW {
|
|
10215
10397
|
* @param object Plain object
|
10216
10398
|
* @returns Transaction
|
10217
10399
|
*/
|
10218
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
10400
|
+
public static fromObject(object: { [k: string]: any }): TW.Utxo.Proto.Transaction;
|
10219
10401
|
|
10220
10402
|
/**
|
10221
10403
|
* Creates a plain object from a Transaction message. Also converts values to other types if specified.
|
@@ -10223,7 +10405,7 @@ export namespace TW {
|
|
10223
10405
|
* @param [options] Conversion options
|
10224
10406
|
* @returns Plain object
|
10225
10407
|
*/
|
10226
|
-
public static toObject(message: TW.
|
10408
|
+
public static toObject(message: TW.Utxo.Proto.Transaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10227
10409
|
|
10228
10410
|
/**
|
10229
10411
|
* Converts this Transaction to JSON.
|
@@ -10234,61 +10416,269 @@ export namespace TW {
|
|
10234
10416
|
}
|
10235
10417
|
}
|
10236
10418
|
|
10237
|
-
/** Namespace
|
10238
|
-
namespace
|
10419
|
+
/** Namespace Zcash. */
|
10420
|
+
namespace Zcash {
|
10239
10421
|
|
10240
10422
|
/** Namespace Proto. */
|
10241
10423
|
namespace Proto {
|
10242
10424
|
|
10243
|
-
/** Properties of
|
10244
|
-
interface
|
10425
|
+
/** Properties of a TransactionBuilderExtraData. */
|
10426
|
+
interface ITransactionBuilderExtraData {
|
10245
10427
|
|
10246
|
-
/**
|
10247
|
-
|
10428
|
+
/** TransactionBuilderExtraData branchId */
|
10429
|
+
branchId?: (Uint8Array|null);
|
10248
10430
|
|
10249
|
-
/**
|
10250
|
-
|
10431
|
+
/** TransactionBuilderExtraData expiryHeight */
|
10432
|
+
expiryHeight?: (number|null);
|
10433
|
+
|
10434
|
+
/** TransactionBuilderExtraData zip_0317 */
|
10435
|
+
zip_0317?: (boolean|null);
|
10251
10436
|
}
|
10252
10437
|
|
10253
|
-
/** Represents
|
10254
|
-
class
|
10438
|
+
/** Represents a TransactionBuilderExtraData. */
|
10439
|
+
class TransactionBuilderExtraData implements ITransactionBuilderExtraData {
|
10255
10440
|
|
10256
10441
|
/**
|
10257
|
-
* Constructs a new
|
10442
|
+
* Constructs a new TransactionBuilderExtraData.
|
10258
10443
|
* @param [properties] Properties to set
|
10259
10444
|
*/
|
10260
|
-
constructor(properties?: TW.
|
10445
|
+
constructor(properties?: TW.Zcash.Proto.ITransactionBuilderExtraData);
|
10261
10446
|
|
10262
|
-
/**
|
10263
|
-
public
|
10447
|
+
/** TransactionBuilderExtraData branchId. */
|
10448
|
+
public branchId: Uint8Array;
|
10264
10449
|
|
10265
|
-
/**
|
10266
|
-
public
|
10450
|
+
/** TransactionBuilderExtraData expiryHeight. */
|
10451
|
+
public expiryHeight: number;
|
10452
|
+
|
10453
|
+
/** TransactionBuilderExtraData zip_0317. */
|
10454
|
+
public zip_0317: boolean;
|
10267
10455
|
|
10268
10456
|
/**
|
10269
|
-
* Creates a new
|
10457
|
+
* Creates a new TransactionBuilderExtraData instance using the specified properties.
|
10270
10458
|
* @param [properties] Properties to set
|
10271
|
-
* @returns
|
10459
|
+
* @returns TransactionBuilderExtraData instance
|
10272
10460
|
*/
|
10273
|
-
public static create(properties?: TW.
|
10461
|
+
public static create(properties?: TW.Zcash.Proto.ITransactionBuilderExtraData): TW.Zcash.Proto.TransactionBuilderExtraData;
|
10274
10462
|
|
10275
10463
|
/**
|
10276
|
-
* Encodes the specified
|
10277
|
-
* @param message
|
10464
|
+
* Encodes the specified TransactionBuilderExtraData message. Does not implicitly {@link TW.Zcash.Proto.TransactionBuilderExtraData.verify|verify} messages.
|
10465
|
+
* @param message TransactionBuilderExtraData message or plain object to encode
|
10278
10466
|
* @param [writer] Writer to encode to
|
10279
10467
|
* @returns Writer
|
10280
10468
|
*/
|
10281
|
-
public static encode(message: TW.
|
10469
|
+
public static encode(message: TW.Zcash.Proto.ITransactionBuilderExtraData, writer?: $protobuf.Writer): $protobuf.Writer;
|
10282
10470
|
|
10283
10471
|
/**
|
10284
|
-
* Decodes
|
10472
|
+
* Decodes a TransactionBuilderExtraData message from the specified reader or buffer.
|
10285
10473
|
* @param reader Reader or buffer to decode from
|
10286
10474
|
* @param [length] Message length if known beforehand
|
10287
|
-
* @returns
|
10475
|
+
* @returns TransactionBuilderExtraData
|
10288
10476
|
* @throws {Error} If the payload is not a reader or valid buffer
|
10289
10477
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10290
10478
|
*/
|
10291
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
10479
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Zcash.Proto.TransactionBuilderExtraData;
|
10480
|
+
|
10481
|
+
/**
|
10482
|
+
* Verifies a TransactionBuilderExtraData message.
|
10483
|
+
* @param message Plain object to verify
|
10484
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
10485
|
+
*/
|
10486
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
10487
|
+
|
10488
|
+
/**
|
10489
|
+
* Creates a TransactionBuilderExtraData message from a plain object. Also converts values to their respective internal types.
|
10490
|
+
* @param object Plain object
|
10491
|
+
* @returns TransactionBuilderExtraData
|
10492
|
+
*/
|
10493
|
+
public static fromObject(object: { [k: string]: any }): TW.Zcash.Proto.TransactionBuilderExtraData;
|
10494
|
+
|
10495
|
+
/**
|
10496
|
+
* Creates a plain object from a TransactionBuilderExtraData message. Also converts values to other types if specified.
|
10497
|
+
* @param message TransactionBuilderExtraData
|
10498
|
+
* @param [options] Conversion options
|
10499
|
+
* @returns Plain object
|
10500
|
+
*/
|
10501
|
+
public static toObject(message: TW.Zcash.Proto.TransactionBuilderExtraData, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10502
|
+
|
10503
|
+
/**
|
10504
|
+
* Converts this TransactionBuilderExtraData to JSON.
|
10505
|
+
* @returns JSON object
|
10506
|
+
*/
|
10507
|
+
public toJSON(): { [k: string]: any };
|
10508
|
+
}
|
10509
|
+
|
10510
|
+
/** Properties of a Transaction. */
|
10511
|
+
interface ITransaction {
|
10512
|
+
|
10513
|
+
/** Currently, version 4 (0x80000004) is supported only. */
|
10514
|
+
version?: (number|null);
|
10515
|
+
|
10516
|
+
/** Transaction versionGroupId */
|
10517
|
+
versionGroupId?: (number|null);
|
10518
|
+
|
10519
|
+
/** Transaction inputs */
|
10520
|
+
inputs?: (TW.Utxo.Proto.ITransactionInput[]|null);
|
10521
|
+
|
10522
|
+
/** Transaction outputs */
|
10523
|
+
outputs?: (TW.Utxo.Proto.ITransactionOutput[]|null);
|
10524
|
+
|
10525
|
+
/** Transaction lockTime */
|
10526
|
+
lockTime?: (number|null);
|
10527
|
+
|
10528
|
+
/** Transaction expiryHeight */
|
10529
|
+
expiryHeight?: (number|null);
|
10530
|
+
|
10531
|
+
/** Transaction saplingValueBalance */
|
10532
|
+
saplingValueBalance?: (Long|null);
|
10533
|
+
|
10534
|
+
/** Transaction branchId */
|
10535
|
+
branchId?: (Uint8Array|null);
|
10536
|
+
}
|
10537
|
+
|
10538
|
+
/** Represents a Transaction. */
|
10539
|
+
class Transaction implements ITransaction {
|
10540
|
+
|
10541
|
+
/**
|
10542
|
+
* Constructs a new Transaction.
|
10543
|
+
* @param [properties] Properties to set
|
10544
|
+
*/
|
10545
|
+
constructor(properties?: TW.Zcash.Proto.ITransaction);
|
10546
|
+
|
10547
|
+
/** Currently, version 4 (0x80000004) is supported only. */
|
10548
|
+
public version: number;
|
10549
|
+
|
10550
|
+
/** Transaction versionGroupId. */
|
10551
|
+
public versionGroupId: number;
|
10552
|
+
|
10553
|
+
/** Transaction inputs. */
|
10554
|
+
public inputs: TW.Utxo.Proto.ITransactionInput[];
|
10555
|
+
|
10556
|
+
/** Transaction outputs. */
|
10557
|
+
public outputs: TW.Utxo.Proto.ITransactionOutput[];
|
10558
|
+
|
10559
|
+
/** Transaction lockTime. */
|
10560
|
+
public lockTime: number;
|
10561
|
+
|
10562
|
+
/** Transaction expiryHeight. */
|
10563
|
+
public expiryHeight: number;
|
10564
|
+
|
10565
|
+
/** Transaction saplingValueBalance. */
|
10566
|
+
public saplingValueBalance: Long;
|
10567
|
+
|
10568
|
+
/** Transaction branchId. */
|
10569
|
+
public branchId: Uint8Array;
|
10570
|
+
|
10571
|
+
/**
|
10572
|
+
* Creates a new Transaction instance using the specified properties.
|
10573
|
+
* @param [properties] Properties to set
|
10574
|
+
* @returns Transaction instance
|
10575
|
+
*/
|
10576
|
+
public static create(properties?: TW.Zcash.Proto.ITransaction): TW.Zcash.Proto.Transaction;
|
10577
|
+
|
10578
|
+
/**
|
10579
|
+
* Encodes the specified Transaction message. Does not implicitly {@link TW.Zcash.Proto.Transaction.verify|verify} messages.
|
10580
|
+
* @param message Transaction message or plain object to encode
|
10581
|
+
* @param [writer] Writer to encode to
|
10582
|
+
* @returns Writer
|
10583
|
+
*/
|
10584
|
+
public static encode(message: TW.Zcash.Proto.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
10585
|
+
|
10586
|
+
/**
|
10587
|
+
* Decodes a Transaction message from the specified reader or buffer.
|
10588
|
+
* @param reader Reader or buffer to decode from
|
10589
|
+
* @param [length] Message length if known beforehand
|
10590
|
+
* @returns Transaction
|
10591
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
10592
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10593
|
+
*/
|
10594
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Zcash.Proto.Transaction;
|
10595
|
+
|
10596
|
+
/**
|
10597
|
+
* Verifies a Transaction message.
|
10598
|
+
* @param message Plain object to verify
|
10599
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
10600
|
+
*/
|
10601
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
10602
|
+
|
10603
|
+
/**
|
10604
|
+
* Creates a Transaction message from a plain object. Also converts values to their respective internal types.
|
10605
|
+
* @param object Plain object
|
10606
|
+
* @returns Transaction
|
10607
|
+
*/
|
10608
|
+
public static fromObject(object: { [k: string]: any }): TW.Zcash.Proto.Transaction;
|
10609
|
+
|
10610
|
+
/**
|
10611
|
+
* Creates a plain object from a Transaction message. Also converts values to other types if specified.
|
10612
|
+
* @param message Transaction
|
10613
|
+
* @param [options] Conversion options
|
10614
|
+
* @returns Plain object
|
10615
|
+
*/
|
10616
|
+
public static toObject(message: TW.Zcash.Proto.Transaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10617
|
+
|
10618
|
+
/**
|
10619
|
+
* Converts this Transaction to JSON.
|
10620
|
+
* @returns JSON object
|
10621
|
+
*/
|
10622
|
+
public toJSON(): { [k: string]: any };
|
10623
|
+
}
|
10624
|
+
}
|
10625
|
+
}
|
10626
|
+
|
10627
|
+
/** Namespace Cardano. */
|
10628
|
+
namespace Cardano {
|
10629
|
+
|
10630
|
+
/** Namespace Proto. */
|
10631
|
+
namespace Proto {
|
10632
|
+
|
10633
|
+
/** Properties of an OutPoint. */
|
10634
|
+
interface IOutPoint {
|
10635
|
+
|
10636
|
+
/** OutPoint txHash */
|
10637
|
+
txHash?: (Uint8Array|null);
|
10638
|
+
|
10639
|
+
/** OutPoint outputIndex */
|
10640
|
+
outputIndex?: (Long|null);
|
10641
|
+
}
|
10642
|
+
|
10643
|
+
/** Represents an OutPoint. */
|
10644
|
+
class OutPoint implements IOutPoint {
|
10645
|
+
|
10646
|
+
/**
|
10647
|
+
* Constructs a new OutPoint.
|
10648
|
+
* @param [properties] Properties to set
|
10649
|
+
*/
|
10650
|
+
constructor(properties?: TW.Cardano.Proto.IOutPoint);
|
10651
|
+
|
10652
|
+
/** OutPoint txHash. */
|
10653
|
+
public txHash: Uint8Array;
|
10654
|
+
|
10655
|
+
/** OutPoint outputIndex. */
|
10656
|
+
public outputIndex: Long;
|
10657
|
+
|
10658
|
+
/**
|
10659
|
+
* Creates a new OutPoint instance using the specified properties.
|
10660
|
+
* @param [properties] Properties to set
|
10661
|
+
* @returns OutPoint instance
|
10662
|
+
*/
|
10663
|
+
public static create(properties?: TW.Cardano.Proto.IOutPoint): TW.Cardano.Proto.OutPoint;
|
10664
|
+
|
10665
|
+
/**
|
10666
|
+
* Encodes the specified OutPoint message. Does not implicitly {@link TW.Cardano.Proto.OutPoint.verify|verify} messages.
|
10667
|
+
* @param message OutPoint message or plain object to encode
|
10668
|
+
* @param [writer] Writer to encode to
|
10669
|
+
* @returns Writer
|
10670
|
+
*/
|
10671
|
+
public static encode(message: TW.Cardano.Proto.IOutPoint, writer?: $protobuf.Writer): $protobuf.Writer;
|
10672
|
+
|
10673
|
+
/**
|
10674
|
+
* Decodes an OutPoint message from the specified reader or buffer.
|
10675
|
+
* @param reader Reader or buffer to decode from
|
10676
|
+
* @param [length] Message length if known beforehand
|
10677
|
+
* @returns OutPoint
|
10678
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
10679
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10680
|
+
*/
|
10681
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Cardano.Proto.OutPoint;
|
10292
10682
|
|
10293
10683
|
/**
|
10294
10684
|
* Verifies an OutPoint message.
|
@@ -15017,6 +15407,9 @@ export namespace TW {
|
|
15017
15407
|
|
15018
15408
|
/** SigningOutput errorMessage */
|
15019
15409
|
errorMessage?: (string|null);
|
15410
|
+
|
15411
|
+
/** SigningOutput signingResultV2 */
|
15412
|
+
signingResultV2?: (TW.BitcoinV2.Proto.ISigningOutput|null);
|
15020
15413
|
}
|
15021
15414
|
|
15022
15415
|
/** Represents a SigningOutput. */
|
@@ -15043,6 +15436,9 @@ export namespace TW {
|
|
15043
15436
|
/** SigningOutput errorMessage. */
|
15044
15437
|
public errorMessage: string;
|
15045
15438
|
|
15439
|
+
/** SigningOutput signingResultV2. */
|
15440
|
+
public signingResultV2?: (TW.BitcoinV2.Proto.ISigningOutput|null);
|
15441
|
+
|
15046
15442
|
/**
|
15047
15443
|
* Creates a new SigningOutput instance using the specified properties.
|
15048
15444
|
* @param [properties] Properties to set
|
@@ -35114,449 +35510,2176 @@ export namespace TW {
|
|
35114
35510
|
*/
|
35115
35511
|
public static create(properties?: TW.Polkadot.Proto.Staking.IUnbond): TW.Polkadot.Proto.Staking.Unbond;
|
35116
35512
|
|
35117
|
-
/**
|
35118
|
-
* Encodes the specified Unbond message. Does not implicitly {@link TW.Polkadot.Proto.Staking.Unbond.verify|verify} messages.
|
35119
|
-
* @param message Unbond message or plain object to encode
|
35120
|
-
* @param [writer] Writer to encode to
|
35121
|
-
* @returns Writer
|
35122
|
-
*/
|
35123
|
-
public static encode(message: TW.Polkadot.Proto.Staking.IUnbond, writer?: $protobuf.Writer): $protobuf.Writer;
|
35513
|
+
/**
|
35514
|
+
* Encodes the specified Unbond message. Does not implicitly {@link TW.Polkadot.Proto.Staking.Unbond.verify|verify} messages.
|
35515
|
+
* @param message Unbond message or plain object to encode
|
35516
|
+
* @param [writer] Writer to encode to
|
35517
|
+
* @returns Writer
|
35518
|
+
*/
|
35519
|
+
public static encode(message: TW.Polkadot.Proto.Staking.IUnbond, writer?: $protobuf.Writer): $protobuf.Writer;
|
35520
|
+
|
35521
|
+
/**
|
35522
|
+
* Decodes an Unbond message from the specified reader or buffer.
|
35523
|
+
* @param reader Reader or buffer to decode from
|
35524
|
+
* @param [length] Message length if known beforehand
|
35525
|
+
* @returns Unbond
|
35526
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
35527
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35528
|
+
*/
|
35529
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Staking.Unbond;
|
35530
|
+
|
35531
|
+
/**
|
35532
|
+
* Verifies an Unbond message.
|
35533
|
+
* @param message Plain object to verify
|
35534
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
35535
|
+
*/
|
35536
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
35537
|
+
|
35538
|
+
/**
|
35539
|
+
* Creates an Unbond message from a plain object. Also converts values to their respective internal types.
|
35540
|
+
* @param object Plain object
|
35541
|
+
* @returns Unbond
|
35542
|
+
*/
|
35543
|
+
public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Staking.Unbond;
|
35544
|
+
|
35545
|
+
/**
|
35546
|
+
* Creates a plain object from an Unbond message. Also converts values to other types if specified.
|
35547
|
+
* @param message Unbond
|
35548
|
+
* @param [options] Conversion options
|
35549
|
+
* @returns Plain object
|
35550
|
+
*/
|
35551
|
+
public static toObject(message: TW.Polkadot.Proto.Staking.Unbond, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35552
|
+
|
35553
|
+
/**
|
35554
|
+
* Converts this Unbond to JSON.
|
35555
|
+
* @returns JSON object
|
35556
|
+
*/
|
35557
|
+
public toJSON(): { [k: string]: any };
|
35558
|
+
}
|
35559
|
+
|
35560
|
+
/** Properties of a Rebond. */
|
35561
|
+
interface IRebond {
|
35562
|
+
|
35563
|
+
/** Rebond value */
|
35564
|
+
value?: (Uint8Array|null);
|
35565
|
+
|
35566
|
+
/** Rebond callIndices */
|
35567
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35568
|
+
}
|
35569
|
+
|
35570
|
+
/** Represents a Rebond. */
|
35571
|
+
class Rebond implements IRebond {
|
35572
|
+
|
35573
|
+
/**
|
35574
|
+
* Constructs a new Rebond.
|
35575
|
+
* @param [properties] Properties to set
|
35576
|
+
*/
|
35577
|
+
constructor(properties?: TW.Polkadot.Proto.Staking.IRebond);
|
35578
|
+
|
35579
|
+
/** Rebond value. */
|
35580
|
+
public value: Uint8Array;
|
35581
|
+
|
35582
|
+
/** Rebond callIndices. */
|
35583
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35584
|
+
|
35585
|
+
/**
|
35586
|
+
* Creates a new Rebond instance using the specified properties.
|
35587
|
+
* @param [properties] Properties to set
|
35588
|
+
* @returns Rebond instance
|
35589
|
+
*/
|
35590
|
+
public static create(properties?: TW.Polkadot.Proto.Staking.IRebond): TW.Polkadot.Proto.Staking.Rebond;
|
35591
|
+
|
35592
|
+
/**
|
35593
|
+
* Encodes the specified Rebond message. Does not implicitly {@link TW.Polkadot.Proto.Staking.Rebond.verify|verify} messages.
|
35594
|
+
* @param message Rebond message or plain object to encode
|
35595
|
+
* @param [writer] Writer to encode to
|
35596
|
+
* @returns Writer
|
35597
|
+
*/
|
35598
|
+
public static encode(message: TW.Polkadot.Proto.Staking.IRebond, writer?: $protobuf.Writer): $protobuf.Writer;
|
35599
|
+
|
35600
|
+
/**
|
35601
|
+
* Decodes a Rebond message from the specified reader or buffer.
|
35602
|
+
* @param reader Reader or buffer to decode from
|
35603
|
+
* @param [length] Message length if known beforehand
|
35604
|
+
* @returns Rebond
|
35605
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
35606
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35607
|
+
*/
|
35608
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Staking.Rebond;
|
35609
|
+
|
35610
|
+
/**
|
35611
|
+
* Verifies a Rebond message.
|
35612
|
+
* @param message Plain object to verify
|
35613
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
35614
|
+
*/
|
35615
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
35616
|
+
|
35617
|
+
/**
|
35618
|
+
* Creates a Rebond message from a plain object. Also converts values to their respective internal types.
|
35619
|
+
* @param object Plain object
|
35620
|
+
* @returns Rebond
|
35621
|
+
*/
|
35622
|
+
public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Staking.Rebond;
|
35623
|
+
|
35624
|
+
/**
|
35625
|
+
* Creates a plain object from a Rebond message. Also converts values to other types if specified.
|
35626
|
+
* @param message Rebond
|
35627
|
+
* @param [options] Conversion options
|
35628
|
+
* @returns Plain object
|
35629
|
+
*/
|
35630
|
+
public static toObject(message: TW.Polkadot.Proto.Staking.Rebond, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35631
|
+
|
35632
|
+
/**
|
35633
|
+
* Converts this Rebond to JSON.
|
35634
|
+
* @returns JSON object
|
35635
|
+
*/
|
35636
|
+
public toJSON(): { [k: string]: any };
|
35637
|
+
}
|
35638
|
+
|
35639
|
+
/** Properties of a WithdrawUnbonded. */
|
35640
|
+
interface IWithdrawUnbonded {
|
35641
|
+
|
35642
|
+
/** WithdrawUnbonded slashingSpans */
|
35643
|
+
slashingSpans?: (number|null);
|
35644
|
+
|
35645
|
+
/** WithdrawUnbonded callIndices */
|
35646
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35647
|
+
}
|
35648
|
+
|
35649
|
+
/** Represents a WithdrawUnbonded. */
|
35650
|
+
class WithdrawUnbonded implements IWithdrawUnbonded {
|
35651
|
+
|
35652
|
+
/**
|
35653
|
+
* Constructs a new WithdrawUnbonded.
|
35654
|
+
* @param [properties] Properties to set
|
35655
|
+
*/
|
35656
|
+
constructor(properties?: TW.Polkadot.Proto.Staking.IWithdrawUnbonded);
|
35657
|
+
|
35658
|
+
/** WithdrawUnbonded slashingSpans. */
|
35659
|
+
public slashingSpans: number;
|
35660
|
+
|
35661
|
+
/** WithdrawUnbonded callIndices. */
|
35662
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35663
|
+
|
35664
|
+
/**
|
35665
|
+
* Creates a new WithdrawUnbonded instance using the specified properties.
|
35666
|
+
* @param [properties] Properties to set
|
35667
|
+
* @returns WithdrawUnbonded instance
|
35668
|
+
*/
|
35669
|
+
public static create(properties?: TW.Polkadot.Proto.Staking.IWithdrawUnbonded): TW.Polkadot.Proto.Staking.WithdrawUnbonded;
|
35670
|
+
|
35671
|
+
/**
|
35672
|
+
* Encodes the specified WithdrawUnbonded message. Does not implicitly {@link TW.Polkadot.Proto.Staking.WithdrawUnbonded.verify|verify} messages.
|
35673
|
+
* @param message WithdrawUnbonded message or plain object to encode
|
35674
|
+
* @param [writer] Writer to encode to
|
35675
|
+
* @returns Writer
|
35676
|
+
*/
|
35677
|
+
public static encode(message: TW.Polkadot.Proto.Staking.IWithdrawUnbonded, writer?: $protobuf.Writer): $protobuf.Writer;
|
35678
|
+
|
35679
|
+
/**
|
35680
|
+
* Decodes a WithdrawUnbonded message from the specified reader or buffer.
|
35681
|
+
* @param reader Reader or buffer to decode from
|
35682
|
+
* @param [length] Message length if known beforehand
|
35683
|
+
* @returns WithdrawUnbonded
|
35684
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
35685
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35686
|
+
*/
|
35687
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Staking.WithdrawUnbonded;
|
35688
|
+
|
35689
|
+
/**
|
35690
|
+
* Verifies a WithdrawUnbonded message.
|
35691
|
+
* @param message Plain object to verify
|
35692
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
35693
|
+
*/
|
35694
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
35695
|
+
|
35696
|
+
/**
|
35697
|
+
* Creates a WithdrawUnbonded message from a plain object. Also converts values to their respective internal types.
|
35698
|
+
* @param object Plain object
|
35699
|
+
* @returns WithdrawUnbonded
|
35700
|
+
*/
|
35701
|
+
public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Staking.WithdrawUnbonded;
|
35702
|
+
|
35703
|
+
/**
|
35704
|
+
* Creates a plain object from a WithdrawUnbonded message. Also converts values to other types if specified.
|
35705
|
+
* @param message WithdrawUnbonded
|
35706
|
+
* @param [options] Conversion options
|
35707
|
+
* @returns Plain object
|
35708
|
+
*/
|
35709
|
+
public static toObject(message: TW.Polkadot.Proto.Staking.WithdrawUnbonded, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35710
|
+
|
35711
|
+
/**
|
35712
|
+
* Converts this WithdrawUnbonded to JSON.
|
35713
|
+
* @returns JSON object
|
35714
|
+
*/
|
35715
|
+
public toJSON(): { [k: string]: any };
|
35716
|
+
}
|
35717
|
+
|
35718
|
+
/** Properties of a Nominate. */
|
35719
|
+
interface INominate {
|
35720
|
+
|
35721
|
+
/** Nominate nominators */
|
35722
|
+
nominators?: (string[]|null);
|
35723
|
+
|
35724
|
+
/** Nominate callIndices */
|
35725
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35726
|
+
}
|
35727
|
+
|
35728
|
+
/** Represents a Nominate. */
|
35729
|
+
class Nominate implements INominate {
|
35730
|
+
|
35731
|
+
/**
|
35732
|
+
* Constructs a new Nominate.
|
35733
|
+
* @param [properties] Properties to set
|
35734
|
+
*/
|
35735
|
+
constructor(properties?: TW.Polkadot.Proto.Staking.INominate);
|
35736
|
+
|
35737
|
+
/** Nominate nominators. */
|
35738
|
+
public nominators: string[];
|
35739
|
+
|
35740
|
+
/** Nominate callIndices. */
|
35741
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35742
|
+
|
35743
|
+
/**
|
35744
|
+
* Creates a new Nominate instance using the specified properties.
|
35745
|
+
* @param [properties] Properties to set
|
35746
|
+
* @returns Nominate instance
|
35747
|
+
*/
|
35748
|
+
public static create(properties?: TW.Polkadot.Proto.Staking.INominate): TW.Polkadot.Proto.Staking.Nominate;
|
35749
|
+
|
35750
|
+
/**
|
35751
|
+
* Encodes the specified Nominate message. Does not implicitly {@link TW.Polkadot.Proto.Staking.Nominate.verify|verify} messages.
|
35752
|
+
* @param message Nominate message or plain object to encode
|
35753
|
+
* @param [writer] Writer to encode to
|
35754
|
+
* @returns Writer
|
35755
|
+
*/
|
35756
|
+
public static encode(message: TW.Polkadot.Proto.Staking.INominate, writer?: $protobuf.Writer): $protobuf.Writer;
|
35757
|
+
|
35758
|
+
/**
|
35759
|
+
* Decodes a Nominate message from the specified reader or buffer.
|
35760
|
+
* @param reader Reader or buffer to decode from
|
35761
|
+
* @param [length] Message length if known beforehand
|
35762
|
+
* @returns Nominate
|
35763
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
35764
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35765
|
+
*/
|
35766
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Staking.Nominate;
|
35767
|
+
|
35768
|
+
/**
|
35769
|
+
* Verifies a Nominate message.
|
35770
|
+
* @param message Plain object to verify
|
35771
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
35772
|
+
*/
|
35773
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
35774
|
+
|
35775
|
+
/**
|
35776
|
+
* Creates a Nominate message from a plain object. Also converts values to their respective internal types.
|
35777
|
+
* @param object Plain object
|
35778
|
+
* @returns Nominate
|
35779
|
+
*/
|
35780
|
+
public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Staking.Nominate;
|
35781
|
+
|
35782
|
+
/**
|
35783
|
+
* Creates a plain object from a Nominate message. Also converts values to other types if specified.
|
35784
|
+
* @param message Nominate
|
35785
|
+
* @param [options] Conversion options
|
35786
|
+
* @returns Plain object
|
35787
|
+
*/
|
35788
|
+
public static toObject(message: TW.Polkadot.Proto.Staking.Nominate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35789
|
+
|
35790
|
+
/**
|
35791
|
+
* Converts this Nominate to JSON.
|
35792
|
+
* @returns JSON object
|
35793
|
+
*/
|
35794
|
+
public toJSON(): { [k: string]: any };
|
35795
|
+
}
|
35796
|
+
|
35797
|
+
/** Properties of a ChillAndUnbond. */
|
35798
|
+
interface IChillAndUnbond {
|
35799
|
+
|
35800
|
+
/** ChillAndUnbond value */
|
35801
|
+
value?: (Uint8Array|null);
|
35802
|
+
|
35803
|
+
/** ChillAndUnbond callIndices */
|
35804
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35805
|
+
|
35806
|
+
/** ChillAndUnbond chillCallIndices */
|
35807
|
+
chillCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35808
|
+
|
35809
|
+
/** ChillAndUnbond unbondCallIndices */
|
35810
|
+
unbondCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35811
|
+
}
|
35812
|
+
|
35813
|
+
/** Represents a ChillAndUnbond. */
|
35814
|
+
class ChillAndUnbond implements IChillAndUnbond {
|
35815
|
+
|
35816
|
+
/**
|
35817
|
+
* Constructs a new ChillAndUnbond.
|
35818
|
+
* @param [properties] Properties to set
|
35819
|
+
*/
|
35820
|
+
constructor(properties?: TW.Polkadot.Proto.Staking.IChillAndUnbond);
|
35821
|
+
|
35822
|
+
/** ChillAndUnbond value. */
|
35823
|
+
public value: Uint8Array;
|
35824
|
+
|
35825
|
+
/** ChillAndUnbond callIndices. */
|
35826
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35827
|
+
|
35828
|
+
/** ChillAndUnbond chillCallIndices. */
|
35829
|
+
public chillCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35830
|
+
|
35831
|
+
/** ChillAndUnbond unbondCallIndices. */
|
35832
|
+
public unbondCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35833
|
+
|
35834
|
+
/**
|
35835
|
+
* Creates a new ChillAndUnbond instance using the specified properties.
|
35836
|
+
* @param [properties] Properties to set
|
35837
|
+
* @returns ChillAndUnbond instance
|
35838
|
+
*/
|
35839
|
+
public static create(properties?: TW.Polkadot.Proto.Staking.IChillAndUnbond): TW.Polkadot.Proto.Staking.ChillAndUnbond;
|
35840
|
+
|
35841
|
+
/**
|
35842
|
+
* Encodes the specified ChillAndUnbond message. Does not implicitly {@link TW.Polkadot.Proto.Staking.ChillAndUnbond.verify|verify} messages.
|
35843
|
+
* @param message ChillAndUnbond message or plain object to encode
|
35844
|
+
* @param [writer] Writer to encode to
|
35845
|
+
* @returns Writer
|
35846
|
+
*/
|
35847
|
+
public static encode(message: TW.Polkadot.Proto.Staking.IChillAndUnbond, writer?: $protobuf.Writer): $protobuf.Writer;
|
35848
|
+
|
35849
|
+
/**
|
35850
|
+
* Decodes a ChillAndUnbond message from the specified reader or buffer.
|
35851
|
+
* @param reader Reader or buffer to decode from
|
35852
|
+
* @param [length] Message length if known beforehand
|
35853
|
+
* @returns ChillAndUnbond
|
35854
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
35855
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35856
|
+
*/
|
35857
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Staking.ChillAndUnbond;
|
35858
|
+
|
35859
|
+
/**
|
35860
|
+
* Verifies a ChillAndUnbond message.
|
35861
|
+
* @param message Plain object to verify
|
35862
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
35863
|
+
*/
|
35864
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
35865
|
+
|
35866
|
+
/**
|
35867
|
+
* Creates a ChillAndUnbond message from a plain object. Also converts values to their respective internal types.
|
35868
|
+
* @param object Plain object
|
35869
|
+
* @returns ChillAndUnbond
|
35870
|
+
*/
|
35871
|
+
public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Staking.ChillAndUnbond;
|
35872
|
+
|
35873
|
+
/**
|
35874
|
+
* Creates a plain object from a ChillAndUnbond message. Also converts values to other types if specified.
|
35875
|
+
* @param message ChillAndUnbond
|
35876
|
+
* @param [options] Conversion options
|
35877
|
+
* @returns Plain object
|
35878
|
+
*/
|
35879
|
+
public static toObject(message: TW.Polkadot.Proto.Staking.ChillAndUnbond, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35880
|
+
|
35881
|
+
/**
|
35882
|
+
* Converts this ChillAndUnbond to JSON.
|
35883
|
+
* @returns JSON object
|
35884
|
+
*/
|
35885
|
+
public toJSON(): { [k: string]: any };
|
35886
|
+
}
|
35887
|
+
|
35888
|
+
/** Properties of a Chill. */
|
35889
|
+
interface IChill {
|
35890
|
+
|
35891
|
+
/** Chill callIndices */
|
35892
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35893
|
+
}
|
35894
|
+
|
35895
|
+
/** Represents a Chill. */
|
35896
|
+
class Chill implements IChill {
|
35897
|
+
|
35898
|
+
/**
|
35899
|
+
* Constructs a new Chill.
|
35900
|
+
* @param [properties] Properties to set
|
35901
|
+
*/
|
35902
|
+
constructor(properties?: TW.Polkadot.Proto.Staking.IChill);
|
35903
|
+
|
35904
|
+
/** Chill callIndices. */
|
35905
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
35906
|
+
|
35907
|
+
/**
|
35908
|
+
* Creates a new Chill instance using the specified properties.
|
35909
|
+
* @param [properties] Properties to set
|
35910
|
+
* @returns Chill instance
|
35911
|
+
*/
|
35912
|
+
public static create(properties?: TW.Polkadot.Proto.Staking.IChill): TW.Polkadot.Proto.Staking.Chill;
|
35913
|
+
|
35914
|
+
/**
|
35915
|
+
* Encodes the specified Chill message. Does not implicitly {@link TW.Polkadot.Proto.Staking.Chill.verify|verify} messages.
|
35916
|
+
* @param message Chill message or plain object to encode
|
35917
|
+
* @param [writer] Writer to encode to
|
35918
|
+
* @returns Writer
|
35919
|
+
*/
|
35920
|
+
public static encode(message: TW.Polkadot.Proto.Staking.IChill, writer?: $protobuf.Writer): $protobuf.Writer;
|
35921
|
+
|
35922
|
+
/**
|
35923
|
+
* Decodes a Chill message from the specified reader or buffer.
|
35924
|
+
* @param reader Reader or buffer to decode from
|
35925
|
+
* @param [length] Message length if known beforehand
|
35926
|
+
* @returns Chill
|
35927
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
35928
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35929
|
+
*/
|
35930
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Staking.Chill;
|
35931
|
+
|
35932
|
+
/**
|
35933
|
+
* Verifies a Chill message.
|
35934
|
+
* @param message Plain object to verify
|
35935
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
35936
|
+
*/
|
35937
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
35938
|
+
|
35939
|
+
/**
|
35940
|
+
* Creates a Chill message from a plain object. Also converts values to their respective internal types.
|
35941
|
+
* @param object Plain object
|
35942
|
+
* @returns Chill
|
35943
|
+
*/
|
35944
|
+
public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Staking.Chill;
|
35945
|
+
|
35946
|
+
/**
|
35947
|
+
* Creates a plain object from a Chill message. Also converts values to other types if specified.
|
35948
|
+
* @param message Chill
|
35949
|
+
* @param [options] Conversion options
|
35950
|
+
* @returns Plain object
|
35951
|
+
*/
|
35952
|
+
public static toObject(message: TW.Polkadot.Proto.Staking.Chill, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35953
|
+
|
35954
|
+
/**
|
35955
|
+
* Converts this Chill to JSON.
|
35956
|
+
* @returns JSON object
|
35957
|
+
*/
|
35958
|
+
public toJSON(): { [k: string]: any };
|
35959
|
+
}
|
35960
|
+
}
|
35961
|
+
|
35962
|
+
/** Properties of a SigningInput. */
|
35963
|
+
interface ISigningInput {
|
35964
|
+
|
35965
|
+
/** SigningInput blockHash */
|
35966
|
+
blockHash?: (Uint8Array|null);
|
35967
|
+
|
35968
|
+
/** SigningInput genesisHash */
|
35969
|
+
genesisHash?: (Uint8Array|null);
|
35970
|
+
|
35971
|
+
/** SigningInput nonce */
|
35972
|
+
nonce?: (Long|null);
|
35973
|
+
|
35974
|
+
/** SigningInput specVersion */
|
35975
|
+
specVersion?: (number|null);
|
35976
|
+
|
35977
|
+
/** SigningInput transactionVersion */
|
35978
|
+
transactionVersion?: (number|null);
|
35979
|
+
|
35980
|
+
/** SigningInput tip */
|
35981
|
+
tip?: (Uint8Array|null);
|
35982
|
+
|
35983
|
+
/** SigningInput era */
|
35984
|
+
era?: (TW.Polkadot.Proto.IEra|null);
|
35985
|
+
|
35986
|
+
/** SigningInput privateKey */
|
35987
|
+
privateKey?: (Uint8Array|null);
|
35988
|
+
|
35989
|
+
/** SigningInput network */
|
35990
|
+
network?: (number|null);
|
35991
|
+
|
35992
|
+
/** SigningInput multiAddress */
|
35993
|
+
multiAddress?: (boolean|null);
|
35994
|
+
|
35995
|
+
/** SigningInput balanceCall */
|
35996
|
+
balanceCall?: (TW.Polkadot.Proto.IBalance|null);
|
35997
|
+
|
35998
|
+
/** SigningInput stakingCall */
|
35999
|
+
stakingCall?: (TW.Polkadot.Proto.IStaking|null);
|
36000
|
+
}
|
36001
|
+
|
36002
|
+
/** Represents a SigningInput. */
|
36003
|
+
class SigningInput implements ISigningInput {
|
36004
|
+
|
36005
|
+
/**
|
36006
|
+
* Constructs a new SigningInput.
|
36007
|
+
* @param [properties] Properties to set
|
36008
|
+
*/
|
36009
|
+
constructor(properties?: TW.Polkadot.Proto.ISigningInput);
|
36010
|
+
|
36011
|
+
/** SigningInput blockHash. */
|
36012
|
+
public blockHash: Uint8Array;
|
36013
|
+
|
36014
|
+
/** SigningInput genesisHash. */
|
36015
|
+
public genesisHash: Uint8Array;
|
36016
|
+
|
36017
|
+
/** SigningInput nonce. */
|
36018
|
+
public nonce: Long;
|
36019
|
+
|
36020
|
+
/** SigningInput specVersion. */
|
36021
|
+
public specVersion: number;
|
36022
|
+
|
36023
|
+
/** SigningInput transactionVersion. */
|
36024
|
+
public transactionVersion: number;
|
36025
|
+
|
36026
|
+
/** SigningInput tip. */
|
36027
|
+
public tip: Uint8Array;
|
36028
|
+
|
36029
|
+
/** SigningInput era. */
|
36030
|
+
public era?: (TW.Polkadot.Proto.IEra|null);
|
36031
|
+
|
36032
|
+
/** SigningInput privateKey. */
|
36033
|
+
public privateKey: Uint8Array;
|
36034
|
+
|
36035
|
+
/** SigningInput network. */
|
36036
|
+
public network: number;
|
36037
|
+
|
36038
|
+
/** SigningInput multiAddress. */
|
36039
|
+
public multiAddress: boolean;
|
36040
|
+
|
36041
|
+
/** SigningInput balanceCall. */
|
36042
|
+
public balanceCall?: (TW.Polkadot.Proto.IBalance|null);
|
36043
|
+
|
36044
|
+
/** SigningInput stakingCall. */
|
36045
|
+
public stakingCall?: (TW.Polkadot.Proto.IStaking|null);
|
36046
|
+
|
36047
|
+
/** SigningInput messageOneof. */
|
36048
|
+
public messageOneof?: ("balanceCall"|"stakingCall");
|
36049
|
+
|
36050
|
+
/**
|
36051
|
+
* Creates a new SigningInput instance using the specified properties.
|
36052
|
+
* @param [properties] Properties to set
|
36053
|
+
* @returns SigningInput instance
|
36054
|
+
*/
|
36055
|
+
public static create(properties?: TW.Polkadot.Proto.ISigningInput): TW.Polkadot.Proto.SigningInput;
|
36056
|
+
|
36057
|
+
/**
|
36058
|
+
* Encodes the specified SigningInput message. Does not implicitly {@link TW.Polkadot.Proto.SigningInput.verify|verify} messages.
|
36059
|
+
* @param message SigningInput message or plain object to encode
|
36060
|
+
* @param [writer] Writer to encode to
|
36061
|
+
* @returns Writer
|
36062
|
+
*/
|
36063
|
+
public static encode(message: TW.Polkadot.Proto.ISigningInput, writer?: $protobuf.Writer): $protobuf.Writer;
|
36064
|
+
|
36065
|
+
/**
|
36066
|
+
* Decodes a SigningInput message from the specified reader or buffer.
|
36067
|
+
* @param reader Reader or buffer to decode from
|
36068
|
+
* @param [length] Message length if known beforehand
|
36069
|
+
* @returns SigningInput
|
36070
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36071
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36072
|
+
*/
|
36073
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.SigningInput;
|
36074
|
+
|
36075
|
+
/**
|
36076
|
+
* Verifies a SigningInput message.
|
36077
|
+
* @param message Plain object to verify
|
36078
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36079
|
+
*/
|
36080
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36081
|
+
|
36082
|
+
/**
|
36083
|
+
* Creates a SigningInput message from a plain object. Also converts values to their respective internal types.
|
36084
|
+
* @param object Plain object
|
36085
|
+
* @returns SigningInput
|
36086
|
+
*/
|
36087
|
+
public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.SigningInput;
|
36088
|
+
|
36089
|
+
/**
|
36090
|
+
* Creates a plain object from a SigningInput message. Also converts values to other types if specified.
|
36091
|
+
* @param message SigningInput
|
36092
|
+
* @param [options] Conversion options
|
36093
|
+
* @returns Plain object
|
36094
|
+
*/
|
36095
|
+
public static toObject(message: TW.Polkadot.Proto.SigningInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36096
|
+
|
36097
|
+
/**
|
36098
|
+
* Converts this SigningInput to JSON.
|
36099
|
+
* @returns JSON object
|
36100
|
+
*/
|
36101
|
+
public toJSON(): { [k: string]: any };
|
36102
|
+
}
|
36103
|
+
|
36104
|
+
/** Properties of a SigningOutput. */
|
36105
|
+
interface ISigningOutput {
|
36106
|
+
|
36107
|
+
/** SigningOutput encoded */
|
36108
|
+
encoded?: (Uint8Array|null);
|
36109
|
+
|
36110
|
+
/** SigningOutput error */
|
36111
|
+
error?: (TW.Common.Proto.SigningError|null);
|
36112
|
+
|
36113
|
+
/** SigningOutput errorMessage */
|
36114
|
+
errorMessage?: (string|null);
|
36115
|
+
}
|
36116
|
+
|
36117
|
+
/** Represents a SigningOutput. */
|
36118
|
+
class SigningOutput implements ISigningOutput {
|
36119
|
+
|
36120
|
+
/**
|
36121
|
+
* Constructs a new SigningOutput.
|
36122
|
+
* @param [properties] Properties to set
|
36123
|
+
*/
|
36124
|
+
constructor(properties?: TW.Polkadot.Proto.ISigningOutput);
|
36125
|
+
|
36126
|
+
/** SigningOutput encoded. */
|
36127
|
+
public encoded: Uint8Array;
|
36128
|
+
|
36129
|
+
/** SigningOutput error. */
|
36130
|
+
public error: TW.Common.Proto.SigningError;
|
36131
|
+
|
36132
|
+
/** SigningOutput errorMessage. */
|
36133
|
+
public errorMessage: string;
|
36134
|
+
|
36135
|
+
/**
|
36136
|
+
* Creates a new SigningOutput instance using the specified properties.
|
36137
|
+
* @param [properties] Properties to set
|
36138
|
+
* @returns SigningOutput instance
|
36139
|
+
*/
|
36140
|
+
public static create(properties?: TW.Polkadot.Proto.ISigningOutput): TW.Polkadot.Proto.SigningOutput;
|
36141
|
+
|
36142
|
+
/**
|
36143
|
+
* Encodes the specified SigningOutput message. Does not implicitly {@link TW.Polkadot.Proto.SigningOutput.verify|verify} messages.
|
36144
|
+
* @param message SigningOutput message or plain object to encode
|
36145
|
+
* @param [writer] Writer to encode to
|
36146
|
+
* @returns Writer
|
36147
|
+
*/
|
36148
|
+
public static encode(message: TW.Polkadot.Proto.ISigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
|
36149
|
+
|
36150
|
+
/**
|
36151
|
+
* Decodes a SigningOutput message from the specified reader or buffer.
|
36152
|
+
* @param reader Reader or buffer to decode from
|
36153
|
+
* @param [length] Message length if known beforehand
|
36154
|
+
* @returns SigningOutput
|
36155
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36156
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36157
|
+
*/
|
36158
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.SigningOutput;
|
36159
|
+
|
36160
|
+
/**
|
36161
|
+
* Verifies a SigningOutput message.
|
36162
|
+
* @param message Plain object to verify
|
36163
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36164
|
+
*/
|
36165
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36166
|
+
|
36167
|
+
/**
|
36168
|
+
* Creates a SigningOutput message from a plain object. Also converts values to their respective internal types.
|
36169
|
+
* @param object Plain object
|
36170
|
+
* @returns SigningOutput
|
36171
|
+
*/
|
36172
|
+
public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.SigningOutput;
|
36173
|
+
|
36174
|
+
/**
|
36175
|
+
* Creates a plain object from a SigningOutput message. Also converts values to other types if specified.
|
36176
|
+
* @param message SigningOutput
|
36177
|
+
* @param [options] Conversion options
|
36178
|
+
* @returns Plain object
|
36179
|
+
*/
|
36180
|
+
public static toObject(message: TW.Polkadot.Proto.SigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36181
|
+
|
36182
|
+
/**
|
36183
|
+
* Converts this SigningOutput to JSON.
|
36184
|
+
* @returns JSON object
|
36185
|
+
*/
|
36186
|
+
public toJSON(): { [k: string]: any };
|
36187
|
+
}
|
36188
|
+
}
|
36189
|
+
}
|
36190
|
+
|
36191
|
+
/** Namespace Polymesh. */
|
36192
|
+
namespace Polymesh {
|
36193
|
+
|
36194
|
+
/** Namespace Proto. */
|
36195
|
+
namespace Proto {
|
36196
|
+
|
36197
|
+
/** Properties of a Balance. */
|
36198
|
+
interface IBalance {
|
36199
|
+
|
36200
|
+
/** Balance transfer */
|
36201
|
+
transfer?: (TW.Polymesh.Proto.Balance.ITransfer|null);
|
36202
|
+
}
|
36203
|
+
|
36204
|
+
/** Represents a Balance. */
|
36205
|
+
class Balance implements IBalance {
|
36206
|
+
|
36207
|
+
/**
|
36208
|
+
* Constructs a new Balance.
|
36209
|
+
* @param [properties] Properties to set
|
36210
|
+
*/
|
36211
|
+
constructor(properties?: TW.Polymesh.Proto.IBalance);
|
36212
|
+
|
36213
|
+
/** Balance transfer. */
|
36214
|
+
public transfer?: (TW.Polymesh.Proto.Balance.ITransfer|null);
|
36215
|
+
|
36216
|
+
/** Balance messageOneof. */
|
36217
|
+
public messageOneof?: "transfer";
|
36218
|
+
|
36219
|
+
/**
|
36220
|
+
* Creates a new Balance instance using the specified properties.
|
36221
|
+
* @param [properties] Properties to set
|
36222
|
+
* @returns Balance instance
|
36223
|
+
*/
|
36224
|
+
public static create(properties?: TW.Polymesh.Proto.IBalance): TW.Polymesh.Proto.Balance;
|
36225
|
+
|
36226
|
+
/**
|
36227
|
+
* Encodes the specified Balance message. Does not implicitly {@link TW.Polymesh.Proto.Balance.verify|verify} messages.
|
36228
|
+
* @param message Balance message or plain object to encode
|
36229
|
+
* @param [writer] Writer to encode to
|
36230
|
+
* @returns Writer
|
36231
|
+
*/
|
36232
|
+
public static encode(message: TW.Polymesh.Proto.IBalance, writer?: $protobuf.Writer): $protobuf.Writer;
|
36233
|
+
|
36234
|
+
/**
|
36235
|
+
* Decodes a Balance message from the specified reader or buffer.
|
36236
|
+
* @param reader Reader or buffer to decode from
|
36237
|
+
* @param [length] Message length if known beforehand
|
36238
|
+
* @returns Balance
|
36239
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36240
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36241
|
+
*/
|
36242
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Balance;
|
36243
|
+
|
36244
|
+
/**
|
36245
|
+
* Verifies a Balance message.
|
36246
|
+
* @param message Plain object to verify
|
36247
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36248
|
+
*/
|
36249
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36250
|
+
|
36251
|
+
/**
|
36252
|
+
* Creates a Balance message from a plain object. Also converts values to their respective internal types.
|
36253
|
+
* @param object Plain object
|
36254
|
+
* @returns Balance
|
36255
|
+
*/
|
36256
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Balance;
|
36257
|
+
|
36258
|
+
/**
|
36259
|
+
* Creates a plain object from a Balance message. Also converts values to other types if specified.
|
36260
|
+
* @param message Balance
|
36261
|
+
* @param [options] Conversion options
|
36262
|
+
* @returns Plain object
|
36263
|
+
*/
|
36264
|
+
public static toObject(message: TW.Polymesh.Proto.Balance, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36265
|
+
|
36266
|
+
/**
|
36267
|
+
* Converts this Balance to JSON.
|
36268
|
+
* @returns JSON object
|
36269
|
+
*/
|
36270
|
+
public toJSON(): { [k: string]: any };
|
36271
|
+
}
|
36272
|
+
|
36273
|
+
namespace Balance {
|
36274
|
+
|
36275
|
+
/** Properties of a Transfer. */
|
36276
|
+
interface ITransfer {
|
36277
|
+
|
36278
|
+
/** Transfer toAddress */
|
36279
|
+
toAddress?: (string|null);
|
36280
|
+
|
36281
|
+
/** Transfer value */
|
36282
|
+
value?: (Uint8Array|null);
|
36283
|
+
|
36284
|
+
/** Transfer memo */
|
36285
|
+
memo?: (string|null);
|
36286
|
+
|
36287
|
+
/** Transfer callIndices */
|
36288
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36289
|
+
}
|
36290
|
+
|
36291
|
+
/** Represents a Transfer. */
|
36292
|
+
class Transfer implements ITransfer {
|
36293
|
+
|
36294
|
+
/**
|
36295
|
+
* Constructs a new Transfer.
|
36296
|
+
* @param [properties] Properties to set
|
36297
|
+
*/
|
36298
|
+
constructor(properties?: TW.Polymesh.Proto.Balance.ITransfer);
|
36299
|
+
|
36300
|
+
/** Transfer toAddress. */
|
36301
|
+
public toAddress: string;
|
36302
|
+
|
36303
|
+
/** Transfer value. */
|
36304
|
+
public value: Uint8Array;
|
36305
|
+
|
36306
|
+
/** Transfer memo. */
|
36307
|
+
public memo: string;
|
36308
|
+
|
36309
|
+
/** Transfer callIndices. */
|
36310
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36311
|
+
|
36312
|
+
/**
|
36313
|
+
* Creates a new Transfer instance using the specified properties.
|
36314
|
+
* @param [properties] Properties to set
|
36315
|
+
* @returns Transfer instance
|
36316
|
+
*/
|
36317
|
+
public static create(properties?: TW.Polymesh.Proto.Balance.ITransfer): TW.Polymesh.Proto.Balance.Transfer;
|
36318
|
+
|
36319
|
+
/**
|
36320
|
+
* Encodes the specified Transfer message. Does not implicitly {@link TW.Polymesh.Proto.Balance.Transfer.verify|verify} messages.
|
36321
|
+
* @param message Transfer message or plain object to encode
|
36322
|
+
* @param [writer] Writer to encode to
|
36323
|
+
* @returns Writer
|
36324
|
+
*/
|
36325
|
+
public static encode(message: TW.Polymesh.Proto.Balance.ITransfer, writer?: $protobuf.Writer): $protobuf.Writer;
|
36326
|
+
|
36327
|
+
/**
|
36328
|
+
* Decodes a Transfer message from the specified reader or buffer.
|
36329
|
+
* @param reader Reader or buffer to decode from
|
36330
|
+
* @param [length] Message length if known beforehand
|
36331
|
+
* @returns Transfer
|
36332
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36333
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36334
|
+
*/
|
36335
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Balance.Transfer;
|
36336
|
+
|
36337
|
+
/**
|
36338
|
+
* Verifies a Transfer message.
|
36339
|
+
* @param message Plain object to verify
|
36340
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36341
|
+
*/
|
36342
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36343
|
+
|
36344
|
+
/**
|
36345
|
+
* Creates a Transfer message from a plain object. Also converts values to their respective internal types.
|
36346
|
+
* @param object Plain object
|
36347
|
+
* @returns Transfer
|
36348
|
+
*/
|
36349
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Balance.Transfer;
|
36350
|
+
|
36351
|
+
/**
|
36352
|
+
* Creates a plain object from a Transfer message. Also converts values to other types if specified.
|
36353
|
+
* @param message Transfer
|
36354
|
+
* @param [options] Conversion options
|
36355
|
+
* @returns Plain object
|
36356
|
+
*/
|
36357
|
+
public static toObject(message: TW.Polymesh.Proto.Balance.Transfer, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36358
|
+
|
36359
|
+
/**
|
36360
|
+
* Converts this Transfer to JSON.
|
36361
|
+
* @returns JSON object
|
36362
|
+
*/
|
36363
|
+
public toJSON(): { [k: string]: any };
|
36364
|
+
}
|
36365
|
+
}
|
36366
|
+
|
36367
|
+
/** Properties of a Staking. */
|
36368
|
+
interface IStaking {
|
36369
|
+
|
36370
|
+
/** Staking bond */
|
36371
|
+
bond?: (TW.Polymesh.Proto.Staking.IBond|null);
|
36372
|
+
|
36373
|
+
/** Staking bondExtra */
|
36374
|
+
bondExtra?: (TW.Polymesh.Proto.Staking.IBondExtra|null);
|
36375
|
+
|
36376
|
+
/** Staking unbond */
|
36377
|
+
unbond?: (TW.Polymesh.Proto.Staking.IUnbond|null);
|
36378
|
+
|
36379
|
+
/** Staking withdrawUnbonded */
|
36380
|
+
withdrawUnbonded?: (TW.Polymesh.Proto.Staking.IWithdrawUnbonded|null);
|
36381
|
+
|
36382
|
+
/** Staking nominate */
|
36383
|
+
nominate?: (TW.Polymesh.Proto.Staking.INominate|null);
|
36384
|
+
|
36385
|
+
/** Staking chill */
|
36386
|
+
chill?: (TW.Polymesh.Proto.Staking.IChill|null);
|
36387
|
+
|
36388
|
+
/** Staking rebond */
|
36389
|
+
rebond?: (TW.Polymesh.Proto.Staking.IRebond|null);
|
36390
|
+
}
|
36391
|
+
|
36392
|
+
/** Represents a Staking. */
|
36393
|
+
class Staking implements IStaking {
|
36394
|
+
|
36395
|
+
/**
|
36396
|
+
* Constructs a new Staking.
|
36397
|
+
* @param [properties] Properties to set
|
36398
|
+
*/
|
36399
|
+
constructor(properties?: TW.Polymesh.Proto.IStaking);
|
36400
|
+
|
36401
|
+
/** Staking bond. */
|
36402
|
+
public bond?: (TW.Polymesh.Proto.Staking.IBond|null);
|
36403
|
+
|
36404
|
+
/** Staking bondExtra. */
|
36405
|
+
public bondExtra?: (TW.Polymesh.Proto.Staking.IBondExtra|null);
|
36406
|
+
|
36407
|
+
/** Staking unbond. */
|
36408
|
+
public unbond?: (TW.Polymesh.Proto.Staking.IUnbond|null);
|
36409
|
+
|
36410
|
+
/** Staking withdrawUnbonded. */
|
36411
|
+
public withdrawUnbonded?: (TW.Polymesh.Proto.Staking.IWithdrawUnbonded|null);
|
36412
|
+
|
36413
|
+
/** Staking nominate. */
|
36414
|
+
public nominate?: (TW.Polymesh.Proto.Staking.INominate|null);
|
36415
|
+
|
36416
|
+
/** Staking chill. */
|
36417
|
+
public chill?: (TW.Polymesh.Proto.Staking.IChill|null);
|
36418
|
+
|
36419
|
+
/** Staking rebond. */
|
36420
|
+
public rebond?: (TW.Polymesh.Proto.Staking.IRebond|null);
|
36421
|
+
|
36422
|
+
/** Staking messageOneof. */
|
36423
|
+
public messageOneof?: ("bond"|"bondExtra"|"unbond"|"withdrawUnbonded"|"nominate"|"chill"|"rebond");
|
36424
|
+
|
36425
|
+
/**
|
36426
|
+
* Creates a new Staking instance using the specified properties.
|
36427
|
+
* @param [properties] Properties to set
|
36428
|
+
* @returns Staking instance
|
36429
|
+
*/
|
36430
|
+
public static create(properties?: TW.Polymesh.Proto.IStaking): TW.Polymesh.Proto.Staking;
|
36431
|
+
|
36432
|
+
/**
|
36433
|
+
* Encodes the specified Staking message. Does not implicitly {@link TW.Polymesh.Proto.Staking.verify|verify} messages.
|
36434
|
+
* @param message Staking message or plain object to encode
|
36435
|
+
* @param [writer] Writer to encode to
|
36436
|
+
* @returns Writer
|
36437
|
+
*/
|
36438
|
+
public static encode(message: TW.Polymesh.Proto.IStaking, writer?: $protobuf.Writer): $protobuf.Writer;
|
36439
|
+
|
36440
|
+
/**
|
36441
|
+
* Decodes a Staking message from the specified reader or buffer.
|
36442
|
+
* @param reader Reader or buffer to decode from
|
36443
|
+
* @param [length] Message length if known beforehand
|
36444
|
+
* @returns Staking
|
36445
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36446
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36447
|
+
*/
|
36448
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Staking;
|
36449
|
+
|
36450
|
+
/**
|
36451
|
+
* Verifies a Staking message.
|
36452
|
+
* @param message Plain object to verify
|
36453
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36454
|
+
*/
|
36455
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36456
|
+
|
36457
|
+
/**
|
36458
|
+
* Creates a Staking message from a plain object. Also converts values to their respective internal types.
|
36459
|
+
* @param object Plain object
|
36460
|
+
* @returns Staking
|
36461
|
+
*/
|
36462
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Staking;
|
36463
|
+
|
36464
|
+
/**
|
36465
|
+
* Creates a plain object from a Staking message. Also converts values to other types if specified.
|
36466
|
+
* @param message Staking
|
36467
|
+
* @param [options] Conversion options
|
36468
|
+
* @returns Plain object
|
36469
|
+
*/
|
36470
|
+
public static toObject(message: TW.Polymesh.Proto.Staking, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36471
|
+
|
36472
|
+
/**
|
36473
|
+
* Converts this Staking to JSON.
|
36474
|
+
* @returns JSON object
|
36475
|
+
*/
|
36476
|
+
public toJSON(): { [k: string]: any };
|
36477
|
+
}
|
36478
|
+
|
36479
|
+
namespace Staking {
|
36480
|
+
|
36481
|
+
/** Properties of a Bond. */
|
36482
|
+
interface IBond {
|
36483
|
+
|
36484
|
+
/** Bond controller */
|
36485
|
+
controller?: (string|null);
|
36486
|
+
|
36487
|
+
/** Bond value */
|
36488
|
+
value?: (Uint8Array|null);
|
36489
|
+
|
36490
|
+
/** Bond rewardDestination */
|
36491
|
+
rewardDestination?: (TW.Polkadot.Proto.RewardDestination|null);
|
36492
|
+
|
36493
|
+
/** Bond callIndices */
|
36494
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36495
|
+
}
|
36496
|
+
|
36497
|
+
/** Represents a Bond. */
|
36498
|
+
class Bond implements IBond {
|
36499
|
+
|
36500
|
+
/**
|
36501
|
+
* Constructs a new Bond.
|
36502
|
+
* @param [properties] Properties to set
|
36503
|
+
*/
|
36504
|
+
constructor(properties?: TW.Polymesh.Proto.Staking.IBond);
|
36505
|
+
|
36506
|
+
/** Bond controller. */
|
36507
|
+
public controller: string;
|
36508
|
+
|
36509
|
+
/** Bond value. */
|
36510
|
+
public value: Uint8Array;
|
36511
|
+
|
36512
|
+
/** Bond rewardDestination. */
|
36513
|
+
public rewardDestination: TW.Polkadot.Proto.RewardDestination;
|
36514
|
+
|
36515
|
+
/** Bond callIndices. */
|
36516
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36517
|
+
|
36518
|
+
/**
|
36519
|
+
* Creates a new Bond instance using the specified properties.
|
36520
|
+
* @param [properties] Properties to set
|
36521
|
+
* @returns Bond instance
|
36522
|
+
*/
|
36523
|
+
public static create(properties?: TW.Polymesh.Proto.Staking.IBond): TW.Polymesh.Proto.Staking.Bond;
|
36524
|
+
|
36525
|
+
/**
|
36526
|
+
* Encodes the specified Bond message. Does not implicitly {@link TW.Polymesh.Proto.Staking.Bond.verify|verify} messages.
|
36527
|
+
* @param message Bond message or plain object to encode
|
36528
|
+
* @param [writer] Writer to encode to
|
36529
|
+
* @returns Writer
|
36530
|
+
*/
|
36531
|
+
public static encode(message: TW.Polymesh.Proto.Staking.IBond, writer?: $protobuf.Writer): $protobuf.Writer;
|
36532
|
+
|
36533
|
+
/**
|
36534
|
+
* Decodes a Bond message from the specified reader or buffer.
|
36535
|
+
* @param reader Reader or buffer to decode from
|
36536
|
+
* @param [length] Message length if known beforehand
|
36537
|
+
* @returns Bond
|
36538
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36539
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36540
|
+
*/
|
36541
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Staking.Bond;
|
36542
|
+
|
36543
|
+
/**
|
36544
|
+
* Verifies a Bond message.
|
36545
|
+
* @param message Plain object to verify
|
36546
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36547
|
+
*/
|
36548
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36549
|
+
|
36550
|
+
/**
|
36551
|
+
* Creates a Bond message from a plain object. Also converts values to their respective internal types.
|
36552
|
+
* @param object Plain object
|
36553
|
+
* @returns Bond
|
36554
|
+
*/
|
36555
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Staking.Bond;
|
36556
|
+
|
36557
|
+
/**
|
36558
|
+
* Creates a plain object from a Bond message. Also converts values to other types if specified.
|
36559
|
+
* @param message Bond
|
36560
|
+
* @param [options] Conversion options
|
36561
|
+
* @returns Plain object
|
36562
|
+
*/
|
36563
|
+
public static toObject(message: TW.Polymesh.Proto.Staking.Bond, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36564
|
+
|
36565
|
+
/**
|
36566
|
+
* Converts this Bond to JSON.
|
36567
|
+
* @returns JSON object
|
36568
|
+
*/
|
36569
|
+
public toJSON(): { [k: string]: any };
|
36570
|
+
}
|
36571
|
+
|
36572
|
+
/** Properties of a BondExtra. */
|
36573
|
+
interface IBondExtra {
|
36574
|
+
|
36575
|
+
/** BondExtra value */
|
36576
|
+
value?: (Uint8Array|null);
|
36577
|
+
|
36578
|
+
/** BondExtra callIndices */
|
36579
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36580
|
+
}
|
36581
|
+
|
36582
|
+
/** Represents a BondExtra. */
|
36583
|
+
class BondExtra implements IBondExtra {
|
36584
|
+
|
36585
|
+
/**
|
36586
|
+
* Constructs a new BondExtra.
|
36587
|
+
* @param [properties] Properties to set
|
36588
|
+
*/
|
36589
|
+
constructor(properties?: TW.Polymesh.Proto.Staking.IBondExtra);
|
36590
|
+
|
36591
|
+
/** BondExtra value. */
|
36592
|
+
public value: Uint8Array;
|
36593
|
+
|
36594
|
+
/** BondExtra callIndices. */
|
36595
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36596
|
+
|
36597
|
+
/**
|
36598
|
+
* Creates a new BondExtra instance using the specified properties.
|
36599
|
+
* @param [properties] Properties to set
|
36600
|
+
* @returns BondExtra instance
|
36601
|
+
*/
|
36602
|
+
public static create(properties?: TW.Polymesh.Proto.Staking.IBondExtra): TW.Polymesh.Proto.Staking.BondExtra;
|
36603
|
+
|
36604
|
+
/**
|
36605
|
+
* Encodes the specified BondExtra message. Does not implicitly {@link TW.Polymesh.Proto.Staking.BondExtra.verify|verify} messages.
|
36606
|
+
* @param message BondExtra message or plain object to encode
|
36607
|
+
* @param [writer] Writer to encode to
|
36608
|
+
* @returns Writer
|
36609
|
+
*/
|
36610
|
+
public static encode(message: TW.Polymesh.Proto.Staking.IBondExtra, writer?: $protobuf.Writer): $protobuf.Writer;
|
36611
|
+
|
36612
|
+
/**
|
36613
|
+
* Decodes a BondExtra message from the specified reader or buffer.
|
36614
|
+
* @param reader Reader or buffer to decode from
|
36615
|
+
* @param [length] Message length if known beforehand
|
36616
|
+
* @returns BondExtra
|
36617
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36618
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36619
|
+
*/
|
36620
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Staking.BondExtra;
|
36621
|
+
|
36622
|
+
/**
|
36623
|
+
* Verifies a BondExtra message.
|
36624
|
+
* @param message Plain object to verify
|
36625
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36626
|
+
*/
|
36627
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36628
|
+
|
36629
|
+
/**
|
36630
|
+
* Creates a BondExtra message from a plain object. Also converts values to their respective internal types.
|
36631
|
+
* @param object Plain object
|
36632
|
+
* @returns BondExtra
|
36633
|
+
*/
|
36634
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Staking.BondExtra;
|
36635
|
+
|
36636
|
+
/**
|
36637
|
+
* Creates a plain object from a BondExtra message. Also converts values to other types if specified.
|
36638
|
+
* @param message BondExtra
|
36639
|
+
* @param [options] Conversion options
|
36640
|
+
* @returns Plain object
|
36641
|
+
*/
|
36642
|
+
public static toObject(message: TW.Polymesh.Proto.Staking.BondExtra, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36643
|
+
|
36644
|
+
/**
|
36645
|
+
* Converts this BondExtra to JSON.
|
36646
|
+
* @returns JSON object
|
36647
|
+
*/
|
36648
|
+
public toJSON(): { [k: string]: any };
|
36649
|
+
}
|
36650
|
+
|
36651
|
+
/** Properties of an Unbond. */
|
36652
|
+
interface IUnbond {
|
36653
|
+
|
36654
|
+
/** Unbond value */
|
36655
|
+
value?: (Uint8Array|null);
|
36656
|
+
|
36657
|
+
/** Unbond callIndices */
|
36658
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36659
|
+
}
|
36660
|
+
|
36661
|
+
/** Represents an Unbond. */
|
36662
|
+
class Unbond implements IUnbond {
|
36663
|
+
|
36664
|
+
/**
|
36665
|
+
* Constructs a new Unbond.
|
36666
|
+
* @param [properties] Properties to set
|
36667
|
+
*/
|
36668
|
+
constructor(properties?: TW.Polymesh.Proto.Staking.IUnbond);
|
36669
|
+
|
36670
|
+
/** Unbond value. */
|
36671
|
+
public value: Uint8Array;
|
36672
|
+
|
36673
|
+
/** Unbond callIndices. */
|
36674
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36675
|
+
|
36676
|
+
/**
|
36677
|
+
* Creates a new Unbond instance using the specified properties.
|
36678
|
+
* @param [properties] Properties to set
|
36679
|
+
* @returns Unbond instance
|
36680
|
+
*/
|
36681
|
+
public static create(properties?: TW.Polymesh.Proto.Staking.IUnbond): TW.Polymesh.Proto.Staking.Unbond;
|
36682
|
+
|
36683
|
+
/**
|
36684
|
+
* Encodes the specified Unbond message. Does not implicitly {@link TW.Polymesh.Proto.Staking.Unbond.verify|verify} messages.
|
36685
|
+
* @param message Unbond message or plain object to encode
|
36686
|
+
* @param [writer] Writer to encode to
|
36687
|
+
* @returns Writer
|
36688
|
+
*/
|
36689
|
+
public static encode(message: TW.Polymesh.Proto.Staking.IUnbond, writer?: $protobuf.Writer): $protobuf.Writer;
|
36690
|
+
|
36691
|
+
/**
|
36692
|
+
* Decodes an Unbond message from the specified reader or buffer.
|
36693
|
+
* @param reader Reader or buffer to decode from
|
36694
|
+
* @param [length] Message length if known beforehand
|
36695
|
+
* @returns Unbond
|
36696
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36697
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36698
|
+
*/
|
36699
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Staking.Unbond;
|
36700
|
+
|
36701
|
+
/**
|
36702
|
+
* Verifies an Unbond message.
|
36703
|
+
* @param message Plain object to verify
|
36704
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36705
|
+
*/
|
36706
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36707
|
+
|
36708
|
+
/**
|
36709
|
+
* Creates an Unbond message from a plain object. Also converts values to their respective internal types.
|
36710
|
+
* @param object Plain object
|
36711
|
+
* @returns Unbond
|
36712
|
+
*/
|
36713
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Staking.Unbond;
|
36714
|
+
|
36715
|
+
/**
|
36716
|
+
* Creates a plain object from an Unbond message. Also converts values to other types if specified.
|
36717
|
+
* @param message Unbond
|
36718
|
+
* @param [options] Conversion options
|
36719
|
+
* @returns Plain object
|
36720
|
+
*/
|
36721
|
+
public static toObject(message: TW.Polymesh.Proto.Staking.Unbond, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36722
|
+
|
36723
|
+
/**
|
36724
|
+
* Converts this Unbond to JSON.
|
36725
|
+
* @returns JSON object
|
36726
|
+
*/
|
36727
|
+
public toJSON(): { [k: string]: any };
|
36728
|
+
}
|
36729
|
+
|
36730
|
+
/** Properties of a Rebond. */
|
36731
|
+
interface IRebond {
|
36732
|
+
|
36733
|
+
/** Rebond value */
|
36734
|
+
value?: (Uint8Array|null);
|
36735
|
+
|
36736
|
+
/** Rebond callIndices */
|
36737
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36738
|
+
}
|
36739
|
+
|
36740
|
+
/** Represents a Rebond. */
|
36741
|
+
class Rebond implements IRebond {
|
36742
|
+
|
36743
|
+
/**
|
36744
|
+
* Constructs a new Rebond.
|
36745
|
+
* @param [properties] Properties to set
|
36746
|
+
*/
|
36747
|
+
constructor(properties?: TW.Polymesh.Proto.Staking.IRebond);
|
36748
|
+
|
36749
|
+
/** Rebond value. */
|
36750
|
+
public value: Uint8Array;
|
36751
|
+
|
36752
|
+
/** Rebond callIndices. */
|
36753
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36754
|
+
|
36755
|
+
/**
|
36756
|
+
* Creates a new Rebond instance using the specified properties.
|
36757
|
+
* @param [properties] Properties to set
|
36758
|
+
* @returns Rebond instance
|
36759
|
+
*/
|
36760
|
+
public static create(properties?: TW.Polymesh.Proto.Staking.IRebond): TW.Polymesh.Proto.Staking.Rebond;
|
36761
|
+
|
36762
|
+
/**
|
36763
|
+
* Encodes the specified Rebond message. Does not implicitly {@link TW.Polymesh.Proto.Staking.Rebond.verify|verify} messages.
|
36764
|
+
* @param message Rebond message or plain object to encode
|
36765
|
+
* @param [writer] Writer to encode to
|
36766
|
+
* @returns Writer
|
36767
|
+
*/
|
36768
|
+
public static encode(message: TW.Polymesh.Proto.Staking.IRebond, writer?: $protobuf.Writer): $protobuf.Writer;
|
36769
|
+
|
36770
|
+
/**
|
36771
|
+
* Decodes a Rebond message from the specified reader or buffer.
|
36772
|
+
* @param reader Reader or buffer to decode from
|
36773
|
+
* @param [length] Message length if known beforehand
|
36774
|
+
* @returns Rebond
|
36775
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36776
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36777
|
+
*/
|
36778
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Staking.Rebond;
|
36779
|
+
|
36780
|
+
/**
|
36781
|
+
* Verifies a Rebond message.
|
36782
|
+
* @param message Plain object to verify
|
36783
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36784
|
+
*/
|
36785
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36786
|
+
|
36787
|
+
/**
|
36788
|
+
* Creates a Rebond message from a plain object. Also converts values to their respective internal types.
|
36789
|
+
* @param object Plain object
|
36790
|
+
* @returns Rebond
|
36791
|
+
*/
|
36792
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Staking.Rebond;
|
36793
|
+
|
36794
|
+
/**
|
36795
|
+
* Creates a plain object from a Rebond message. Also converts values to other types if specified.
|
36796
|
+
* @param message Rebond
|
36797
|
+
* @param [options] Conversion options
|
36798
|
+
* @returns Plain object
|
36799
|
+
*/
|
36800
|
+
public static toObject(message: TW.Polymesh.Proto.Staking.Rebond, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36801
|
+
|
36802
|
+
/**
|
36803
|
+
* Converts this Rebond to JSON.
|
36804
|
+
* @returns JSON object
|
36805
|
+
*/
|
36806
|
+
public toJSON(): { [k: string]: any };
|
36807
|
+
}
|
36808
|
+
|
36809
|
+
/** Properties of a WithdrawUnbonded. */
|
36810
|
+
interface IWithdrawUnbonded {
|
36811
|
+
|
36812
|
+
/** WithdrawUnbonded slashingSpans */
|
36813
|
+
slashingSpans?: (number|null);
|
36814
|
+
|
36815
|
+
/** WithdrawUnbonded callIndices */
|
36816
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36817
|
+
}
|
36818
|
+
|
36819
|
+
/** Represents a WithdrawUnbonded. */
|
36820
|
+
class WithdrawUnbonded implements IWithdrawUnbonded {
|
36821
|
+
|
36822
|
+
/**
|
36823
|
+
* Constructs a new WithdrawUnbonded.
|
36824
|
+
* @param [properties] Properties to set
|
36825
|
+
*/
|
36826
|
+
constructor(properties?: TW.Polymesh.Proto.Staking.IWithdrawUnbonded);
|
36827
|
+
|
36828
|
+
/** WithdrawUnbonded slashingSpans. */
|
36829
|
+
public slashingSpans: number;
|
36830
|
+
|
36831
|
+
/** WithdrawUnbonded callIndices. */
|
36832
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36833
|
+
|
36834
|
+
/**
|
36835
|
+
* Creates a new WithdrawUnbonded instance using the specified properties.
|
36836
|
+
* @param [properties] Properties to set
|
36837
|
+
* @returns WithdrawUnbonded instance
|
36838
|
+
*/
|
36839
|
+
public static create(properties?: TW.Polymesh.Proto.Staking.IWithdrawUnbonded): TW.Polymesh.Proto.Staking.WithdrawUnbonded;
|
36840
|
+
|
36841
|
+
/**
|
36842
|
+
* Encodes the specified WithdrawUnbonded message. Does not implicitly {@link TW.Polymesh.Proto.Staking.WithdrawUnbonded.verify|verify} messages.
|
36843
|
+
* @param message WithdrawUnbonded message or plain object to encode
|
36844
|
+
* @param [writer] Writer to encode to
|
36845
|
+
* @returns Writer
|
36846
|
+
*/
|
36847
|
+
public static encode(message: TW.Polymesh.Proto.Staking.IWithdrawUnbonded, writer?: $protobuf.Writer): $protobuf.Writer;
|
36848
|
+
|
36849
|
+
/**
|
36850
|
+
* Decodes a WithdrawUnbonded message from the specified reader or buffer.
|
36851
|
+
* @param reader Reader or buffer to decode from
|
36852
|
+
* @param [length] Message length if known beforehand
|
36853
|
+
* @returns WithdrawUnbonded
|
36854
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36855
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36856
|
+
*/
|
36857
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Staking.WithdrawUnbonded;
|
36858
|
+
|
36859
|
+
/**
|
36860
|
+
* Verifies a WithdrawUnbonded message.
|
36861
|
+
* @param message Plain object to verify
|
36862
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36863
|
+
*/
|
36864
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36865
|
+
|
36866
|
+
/**
|
36867
|
+
* Creates a WithdrawUnbonded message from a plain object. Also converts values to their respective internal types.
|
36868
|
+
* @param object Plain object
|
36869
|
+
* @returns WithdrawUnbonded
|
36870
|
+
*/
|
36871
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Staking.WithdrawUnbonded;
|
36872
|
+
|
36873
|
+
/**
|
36874
|
+
* Creates a plain object from a WithdrawUnbonded message. Also converts values to other types if specified.
|
36875
|
+
* @param message WithdrawUnbonded
|
36876
|
+
* @param [options] Conversion options
|
36877
|
+
* @returns Plain object
|
36878
|
+
*/
|
36879
|
+
public static toObject(message: TW.Polymesh.Proto.Staking.WithdrawUnbonded, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36880
|
+
|
36881
|
+
/**
|
36882
|
+
* Converts this WithdrawUnbonded to JSON.
|
36883
|
+
* @returns JSON object
|
36884
|
+
*/
|
36885
|
+
public toJSON(): { [k: string]: any };
|
36886
|
+
}
|
36887
|
+
|
36888
|
+
/** Properties of a Nominate. */
|
36889
|
+
interface INominate {
|
36890
|
+
|
36891
|
+
/** Nominate nominators */
|
36892
|
+
nominators?: (string[]|null);
|
36893
|
+
|
36894
|
+
/** Nominate callIndices */
|
36895
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36896
|
+
}
|
36897
|
+
|
36898
|
+
/** Represents a Nominate. */
|
36899
|
+
class Nominate implements INominate {
|
36900
|
+
|
36901
|
+
/**
|
36902
|
+
* Constructs a new Nominate.
|
36903
|
+
* @param [properties] Properties to set
|
36904
|
+
*/
|
36905
|
+
constructor(properties?: TW.Polymesh.Proto.Staking.INominate);
|
36906
|
+
|
36907
|
+
/** Nominate nominators. */
|
36908
|
+
public nominators: string[];
|
36909
|
+
|
36910
|
+
/** Nominate callIndices. */
|
36911
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36912
|
+
|
36913
|
+
/**
|
36914
|
+
* Creates a new Nominate instance using the specified properties.
|
36915
|
+
* @param [properties] Properties to set
|
36916
|
+
* @returns Nominate instance
|
36917
|
+
*/
|
36918
|
+
public static create(properties?: TW.Polymesh.Proto.Staking.INominate): TW.Polymesh.Proto.Staking.Nominate;
|
36919
|
+
|
36920
|
+
/**
|
36921
|
+
* Encodes the specified Nominate message. Does not implicitly {@link TW.Polymesh.Proto.Staking.Nominate.verify|verify} messages.
|
36922
|
+
* @param message Nominate message or plain object to encode
|
36923
|
+
* @param [writer] Writer to encode to
|
36924
|
+
* @returns Writer
|
36925
|
+
*/
|
36926
|
+
public static encode(message: TW.Polymesh.Proto.Staking.INominate, writer?: $protobuf.Writer): $protobuf.Writer;
|
36927
|
+
|
36928
|
+
/**
|
36929
|
+
* Decodes a Nominate message from the specified reader or buffer.
|
36930
|
+
* @param reader Reader or buffer to decode from
|
36931
|
+
* @param [length] Message length if known beforehand
|
36932
|
+
* @returns Nominate
|
36933
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
36934
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36935
|
+
*/
|
36936
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Staking.Nominate;
|
36937
|
+
|
36938
|
+
/**
|
36939
|
+
* Verifies a Nominate message.
|
36940
|
+
* @param message Plain object to verify
|
36941
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
36942
|
+
*/
|
36943
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
36944
|
+
|
36945
|
+
/**
|
36946
|
+
* Creates a Nominate message from a plain object. Also converts values to their respective internal types.
|
36947
|
+
* @param object Plain object
|
36948
|
+
* @returns Nominate
|
36949
|
+
*/
|
36950
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Staking.Nominate;
|
36951
|
+
|
36952
|
+
/**
|
36953
|
+
* Creates a plain object from a Nominate message. Also converts values to other types if specified.
|
36954
|
+
* @param message Nominate
|
36955
|
+
* @param [options] Conversion options
|
36956
|
+
* @returns Plain object
|
36957
|
+
*/
|
36958
|
+
public static toObject(message: TW.Polymesh.Proto.Staking.Nominate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36959
|
+
|
36960
|
+
/**
|
36961
|
+
* Converts this Nominate to JSON.
|
36962
|
+
* @returns JSON object
|
36963
|
+
*/
|
36964
|
+
public toJSON(): { [k: string]: any };
|
36965
|
+
}
|
36966
|
+
|
36967
|
+
/** Properties of a Chill. */
|
36968
|
+
interface IChill {
|
36969
|
+
|
36970
|
+
/** Chill callIndices */
|
36971
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36972
|
+
}
|
36973
|
+
|
36974
|
+
/** Represents a Chill. */
|
36975
|
+
class Chill implements IChill {
|
36976
|
+
|
36977
|
+
/**
|
36978
|
+
* Constructs a new Chill.
|
36979
|
+
* @param [properties] Properties to set
|
36980
|
+
*/
|
36981
|
+
constructor(properties?: TW.Polymesh.Proto.Staking.IChill);
|
36982
|
+
|
36983
|
+
/** Chill callIndices. */
|
36984
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
36985
|
+
|
36986
|
+
/**
|
36987
|
+
* Creates a new Chill instance using the specified properties.
|
36988
|
+
* @param [properties] Properties to set
|
36989
|
+
* @returns Chill instance
|
36990
|
+
*/
|
36991
|
+
public static create(properties?: TW.Polymesh.Proto.Staking.IChill): TW.Polymesh.Proto.Staking.Chill;
|
36992
|
+
|
36993
|
+
/**
|
36994
|
+
* Encodes the specified Chill message. Does not implicitly {@link TW.Polymesh.Proto.Staking.Chill.verify|verify} messages.
|
36995
|
+
* @param message Chill message or plain object to encode
|
36996
|
+
* @param [writer] Writer to encode to
|
36997
|
+
* @returns Writer
|
36998
|
+
*/
|
36999
|
+
public static encode(message: TW.Polymesh.Proto.Staking.IChill, writer?: $protobuf.Writer): $protobuf.Writer;
|
37000
|
+
|
37001
|
+
/**
|
37002
|
+
* Decodes a Chill message from the specified reader or buffer.
|
37003
|
+
* @param reader Reader or buffer to decode from
|
37004
|
+
* @param [length] Message length if known beforehand
|
37005
|
+
* @returns Chill
|
37006
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37007
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37008
|
+
*/
|
37009
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Staking.Chill;
|
37010
|
+
|
37011
|
+
/**
|
37012
|
+
* Verifies a Chill message.
|
37013
|
+
* @param message Plain object to verify
|
37014
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37015
|
+
*/
|
37016
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37017
|
+
|
37018
|
+
/**
|
37019
|
+
* Creates a Chill message from a plain object. Also converts values to their respective internal types.
|
37020
|
+
* @param object Plain object
|
37021
|
+
* @returns Chill
|
37022
|
+
*/
|
37023
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Staking.Chill;
|
37024
|
+
|
37025
|
+
/**
|
37026
|
+
* Creates a plain object from a Chill message. Also converts values to other types if specified.
|
37027
|
+
* @param message Chill
|
37028
|
+
* @param [options] Conversion options
|
37029
|
+
* @returns Plain object
|
37030
|
+
*/
|
37031
|
+
public static toObject(message: TW.Polymesh.Proto.Staking.Chill, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37032
|
+
|
37033
|
+
/**
|
37034
|
+
* Converts this Chill to JSON.
|
37035
|
+
* @returns JSON object
|
37036
|
+
*/
|
37037
|
+
public toJSON(): { [k: string]: any };
|
37038
|
+
}
|
37039
|
+
}
|
37040
|
+
|
37041
|
+
/** Properties of an IdentityId. */
|
37042
|
+
interface IIdentityId {
|
37043
|
+
|
37044
|
+
/** IdentityId id */
|
37045
|
+
id?: (Uint8Array|null);
|
37046
|
+
}
|
37047
|
+
|
37048
|
+
/** Represents an IdentityId. */
|
37049
|
+
class IdentityId implements IIdentityId {
|
37050
|
+
|
37051
|
+
/**
|
37052
|
+
* Constructs a new IdentityId.
|
37053
|
+
* @param [properties] Properties to set
|
37054
|
+
*/
|
37055
|
+
constructor(properties?: TW.Polymesh.Proto.IIdentityId);
|
37056
|
+
|
37057
|
+
/** IdentityId id. */
|
37058
|
+
public id: Uint8Array;
|
37059
|
+
|
37060
|
+
/**
|
37061
|
+
* Creates a new IdentityId instance using the specified properties.
|
37062
|
+
* @param [properties] Properties to set
|
37063
|
+
* @returns IdentityId instance
|
37064
|
+
*/
|
37065
|
+
public static create(properties?: TW.Polymesh.Proto.IIdentityId): TW.Polymesh.Proto.IdentityId;
|
37066
|
+
|
37067
|
+
/**
|
37068
|
+
* Encodes the specified IdentityId message. Does not implicitly {@link TW.Polymesh.Proto.IdentityId.verify|verify} messages.
|
37069
|
+
* @param message IdentityId message or plain object to encode
|
37070
|
+
* @param [writer] Writer to encode to
|
37071
|
+
* @returns Writer
|
37072
|
+
*/
|
37073
|
+
public static encode(message: TW.Polymesh.Proto.IIdentityId, writer?: $protobuf.Writer): $protobuf.Writer;
|
37074
|
+
|
37075
|
+
/**
|
37076
|
+
* Decodes an IdentityId message from the specified reader or buffer.
|
37077
|
+
* @param reader Reader or buffer to decode from
|
37078
|
+
* @param [length] Message length if known beforehand
|
37079
|
+
* @returns IdentityId
|
37080
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37081
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37082
|
+
*/
|
37083
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.IdentityId;
|
37084
|
+
|
37085
|
+
/**
|
37086
|
+
* Verifies an IdentityId message.
|
37087
|
+
* @param message Plain object to verify
|
37088
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37089
|
+
*/
|
37090
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37091
|
+
|
37092
|
+
/**
|
37093
|
+
* Creates an IdentityId message from a plain object. Also converts values to their respective internal types.
|
37094
|
+
* @param object Plain object
|
37095
|
+
* @returns IdentityId
|
37096
|
+
*/
|
37097
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.IdentityId;
|
37098
|
+
|
37099
|
+
/**
|
37100
|
+
* Creates a plain object from an IdentityId message. Also converts values to other types if specified.
|
37101
|
+
* @param message IdentityId
|
37102
|
+
* @param [options] Conversion options
|
37103
|
+
* @returns Plain object
|
37104
|
+
*/
|
37105
|
+
public static toObject(message: TW.Polymesh.Proto.IdentityId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37106
|
+
|
37107
|
+
/**
|
37108
|
+
* Converts this IdentityId to JSON.
|
37109
|
+
* @returns JSON object
|
37110
|
+
*/
|
37111
|
+
public toJSON(): { [k: string]: any };
|
37112
|
+
}
|
37113
|
+
|
37114
|
+
/** Properties of an AssetId. */
|
37115
|
+
interface IAssetId {
|
37116
|
+
|
37117
|
+
/** AssetId id */
|
37118
|
+
id?: (Uint8Array|null);
|
37119
|
+
}
|
37120
|
+
|
37121
|
+
/** Represents an AssetId. */
|
37122
|
+
class AssetId implements IAssetId {
|
37123
|
+
|
37124
|
+
/**
|
37125
|
+
* Constructs a new AssetId.
|
37126
|
+
* @param [properties] Properties to set
|
37127
|
+
*/
|
37128
|
+
constructor(properties?: TW.Polymesh.Proto.IAssetId);
|
37129
|
+
|
37130
|
+
/** AssetId id. */
|
37131
|
+
public id: Uint8Array;
|
37132
|
+
|
37133
|
+
/**
|
37134
|
+
* Creates a new AssetId instance using the specified properties.
|
37135
|
+
* @param [properties] Properties to set
|
37136
|
+
* @returns AssetId instance
|
37137
|
+
*/
|
37138
|
+
public static create(properties?: TW.Polymesh.Proto.IAssetId): TW.Polymesh.Proto.AssetId;
|
37139
|
+
|
37140
|
+
/**
|
37141
|
+
* Encodes the specified AssetId message. Does not implicitly {@link TW.Polymesh.Proto.AssetId.verify|verify} messages.
|
37142
|
+
* @param message AssetId message or plain object to encode
|
37143
|
+
* @param [writer] Writer to encode to
|
37144
|
+
* @returns Writer
|
37145
|
+
*/
|
37146
|
+
public static encode(message: TW.Polymesh.Proto.IAssetId, writer?: $protobuf.Writer): $protobuf.Writer;
|
37147
|
+
|
37148
|
+
/**
|
37149
|
+
* Decodes an AssetId message from the specified reader or buffer.
|
37150
|
+
* @param reader Reader or buffer to decode from
|
37151
|
+
* @param [length] Message length if known beforehand
|
37152
|
+
* @returns AssetId
|
37153
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37154
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37155
|
+
*/
|
37156
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.AssetId;
|
37157
|
+
|
37158
|
+
/**
|
37159
|
+
* Verifies an AssetId message.
|
37160
|
+
* @param message Plain object to verify
|
37161
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37162
|
+
*/
|
37163
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37164
|
+
|
37165
|
+
/**
|
37166
|
+
* Creates an AssetId message from a plain object. Also converts values to their respective internal types.
|
37167
|
+
* @param object Plain object
|
37168
|
+
* @returns AssetId
|
37169
|
+
*/
|
37170
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.AssetId;
|
37171
|
+
|
37172
|
+
/**
|
37173
|
+
* Creates a plain object from an AssetId message. Also converts values to other types if specified.
|
37174
|
+
* @param message AssetId
|
37175
|
+
* @param [options] Conversion options
|
37176
|
+
* @returns Plain object
|
37177
|
+
*/
|
37178
|
+
public static toObject(message: TW.Polymesh.Proto.AssetId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37179
|
+
|
37180
|
+
/**
|
37181
|
+
* Converts this AssetId to JSON.
|
37182
|
+
* @returns JSON object
|
37183
|
+
*/
|
37184
|
+
public toJSON(): { [k: string]: any };
|
37185
|
+
}
|
37186
|
+
|
37187
|
+
/** Properties of a PortfolioId. */
|
37188
|
+
interface IPortfolioId {
|
37189
|
+
|
37190
|
+
/** PortfolioId identity */
|
37191
|
+
identity?: (TW.Polymesh.Proto.IIdentityId|null);
|
37192
|
+
|
37193
|
+
/** PortfolioId default */
|
37194
|
+
"default"?: (boolean|null);
|
37195
|
+
|
37196
|
+
/** PortfolioId user */
|
37197
|
+
user?: (Long|null);
|
37198
|
+
}
|
37199
|
+
|
37200
|
+
/** Represents a PortfolioId. */
|
37201
|
+
class PortfolioId implements IPortfolioId {
|
37202
|
+
|
37203
|
+
/**
|
37204
|
+
* Constructs a new PortfolioId.
|
37205
|
+
* @param [properties] Properties to set
|
37206
|
+
*/
|
37207
|
+
constructor(properties?: TW.Polymesh.Proto.IPortfolioId);
|
37208
|
+
|
37209
|
+
/** PortfolioId identity. */
|
37210
|
+
public identity?: (TW.Polymesh.Proto.IIdentityId|null);
|
37211
|
+
|
37212
|
+
/** PortfolioId default. */
|
37213
|
+
public default: boolean;
|
37214
|
+
|
37215
|
+
/** PortfolioId user. */
|
37216
|
+
public user: Long;
|
37217
|
+
|
37218
|
+
/**
|
37219
|
+
* Creates a new PortfolioId instance using the specified properties.
|
37220
|
+
* @param [properties] Properties to set
|
37221
|
+
* @returns PortfolioId instance
|
37222
|
+
*/
|
37223
|
+
public static create(properties?: TW.Polymesh.Proto.IPortfolioId): TW.Polymesh.Proto.PortfolioId;
|
37224
|
+
|
37225
|
+
/**
|
37226
|
+
* Encodes the specified PortfolioId message. Does not implicitly {@link TW.Polymesh.Proto.PortfolioId.verify|verify} messages.
|
37227
|
+
* @param message PortfolioId message or plain object to encode
|
37228
|
+
* @param [writer] Writer to encode to
|
37229
|
+
* @returns Writer
|
37230
|
+
*/
|
37231
|
+
public static encode(message: TW.Polymesh.Proto.IPortfolioId, writer?: $protobuf.Writer): $protobuf.Writer;
|
37232
|
+
|
37233
|
+
/**
|
37234
|
+
* Decodes a PortfolioId message from the specified reader or buffer.
|
37235
|
+
* @param reader Reader or buffer to decode from
|
37236
|
+
* @param [length] Message length if known beforehand
|
37237
|
+
* @returns PortfolioId
|
37238
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37239
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37240
|
+
*/
|
37241
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.PortfolioId;
|
37242
|
+
|
37243
|
+
/**
|
37244
|
+
* Verifies a PortfolioId message.
|
37245
|
+
* @param message Plain object to verify
|
37246
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37247
|
+
*/
|
37248
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37249
|
+
|
37250
|
+
/**
|
37251
|
+
* Creates a PortfolioId message from a plain object. Also converts values to their respective internal types.
|
37252
|
+
* @param object Plain object
|
37253
|
+
* @returns PortfolioId
|
37254
|
+
*/
|
37255
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.PortfolioId;
|
37256
|
+
|
37257
|
+
/**
|
37258
|
+
* Creates a plain object from a PortfolioId message. Also converts values to other types if specified.
|
37259
|
+
* @param message PortfolioId
|
37260
|
+
* @param [options] Conversion options
|
37261
|
+
* @returns Plain object
|
37262
|
+
*/
|
37263
|
+
public static toObject(message: TW.Polymesh.Proto.PortfolioId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35124
37264
|
|
35125
|
-
|
35126
|
-
|
35127
|
-
|
35128
|
-
|
35129
|
-
|
35130
|
-
|
35131
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35132
|
-
*/
|
35133
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Staking.Unbond;
|
37265
|
+
/**
|
37266
|
+
* Converts this PortfolioId to JSON.
|
37267
|
+
* @returns JSON object
|
37268
|
+
*/
|
37269
|
+
public toJSON(): { [k: string]: any };
|
37270
|
+
}
|
35134
37271
|
|
35135
|
-
|
35136
|
-
|
35137
|
-
* @param message Plain object to verify
|
35138
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
35139
|
-
*/
|
35140
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
37272
|
+
/** Properties of a SecondaryKeyPermissions. */
|
37273
|
+
interface ISecondaryKeyPermissions {
|
35141
37274
|
|
35142
|
-
|
35143
|
-
|
35144
|
-
* @param object Plain object
|
35145
|
-
* @returns Unbond
|
35146
|
-
*/
|
35147
|
-
public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Staking.Unbond;
|
37275
|
+
/** SecondaryKeyPermissions asset */
|
37276
|
+
asset?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IAssetPermissions|null);
|
35148
37277
|
|
35149
|
-
|
35150
|
-
|
35151
|
-
* @param message Unbond
|
35152
|
-
* @param [options] Conversion options
|
35153
|
-
* @returns Plain object
|
35154
|
-
*/
|
35155
|
-
public static toObject(message: TW.Polkadot.Proto.Staking.Unbond, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37278
|
+
/** SecondaryKeyPermissions extrinsic */
|
37279
|
+
extrinsic?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IExtrinsicPermissions|null);
|
35156
37280
|
|
35157
|
-
|
35158
|
-
|
35159
|
-
|
35160
|
-
*/
|
35161
|
-
public toJSON(): { [k: string]: any };
|
35162
|
-
}
|
37281
|
+
/** SecondaryKeyPermissions portfolio */
|
37282
|
+
portfolio?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IPortfolioPermissions|null);
|
37283
|
+
}
|
35163
37284
|
|
35164
|
-
|
35165
|
-
|
37285
|
+
/** Represents a SecondaryKeyPermissions. */
|
37286
|
+
class SecondaryKeyPermissions implements ISecondaryKeyPermissions {
|
35166
37287
|
|
35167
|
-
|
35168
|
-
|
37288
|
+
/**
|
37289
|
+
* Constructs a new SecondaryKeyPermissions.
|
37290
|
+
* @param [properties] Properties to set
|
37291
|
+
*/
|
37292
|
+
constructor(properties?: TW.Polymesh.Proto.ISecondaryKeyPermissions);
|
35169
37293
|
|
35170
|
-
|
35171
|
-
|
35172
|
-
}
|
37294
|
+
/** SecondaryKeyPermissions asset. */
|
37295
|
+
public asset?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IAssetPermissions|null);
|
35173
37296
|
|
35174
|
-
/**
|
35175
|
-
|
37297
|
+
/** SecondaryKeyPermissions extrinsic. */
|
37298
|
+
public extrinsic?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IExtrinsicPermissions|null);
|
35176
37299
|
|
35177
|
-
|
35178
|
-
|
35179
|
-
* @param [properties] Properties to set
|
35180
|
-
*/
|
35181
|
-
constructor(properties?: TW.Polkadot.Proto.Staking.IRebond);
|
37300
|
+
/** SecondaryKeyPermissions portfolio. */
|
37301
|
+
public portfolio?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IPortfolioPermissions|null);
|
35182
37302
|
|
35183
|
-
|
35184
|
-
|
37303
|
+
/**
|
37304
|
+
* Creates a new SecondaryKeyPermissions instance using the specified properties.
|
37305
|
+
* @param [properties] Properties to set
|
37306
|
+
* @returns SecondaryKeyPermissions instance
|
37307
|
+
*/
|
37308
|
+
public static create(properties?: TW.Polymesh.Proto.ISecondaryKeyPermissions): TW.Polymesh.Proto.SecondaryKeyPermissions;
|
35185
37309
|
|
35186
|
-
|
35187
|
-
|
37310
|
+
/**
|
37311
|
+
* Encodes the specified SecondaryKeyPermissions message. Does not implicitly {@link TW.Polymesh.Proto.SecondaryKeyPermissions.verify|verify} messages.
|
37312
|
+
* @param message SecondaryKeyPermissions message or plain object to encode
|
37313
|
+
* @param [writer] Writer to encode to
|
37314
|
+
* @returns Writer
|
37315
|
+
*/
|
37316
|
+
public static encode(message: TW.Polymesh.Proto.ISecondaryKeyPermissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
35188
37317
|
|
35189
|
-
|
35190
|
-
|
35191
|
-
|
35192
|
-
|
35193
|
-
|
35194
|
-
|
37318
|
+
/**
|
37319
|
+
* Decodes a SecondaryKeyPermissions message from the specified reader or buffer.
|
37320
|
+
* @param reader Reader or buffer to decode from
|
37321
|
+
* @param [length] Message length if known beforehand
|
37322
|
+
* @returns SecondaryKeyPermissions
|
37323
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37324
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37325
|
+
*/
|
37326
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SecondaryKeyPermissions;
|
35195
37327
|
|
35196
|
-
|
35197
|
-
|
35198
|
-
|
35199
|
-
|
35200
|
-
|
35201
|
-
|
35202
|
-
public static encode(message: TW.Polkadot.Proto.Staking.IRebond, writer?: $protobuf.Writer): $protobuf.Writer;
|
37328
|
+
/**
|
37329
|
+
* Verifies a SecondaryKeyPermissions message.
|
37330
|
+
* @param message Plain object to verify
|
37331
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37332
|
+
*/
|
37333
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
35203
37334
|
|
35204
|
-
|
35205
|
-
|
35206
|
-
|
35207
|
-
|
35208
|
-
|
35209
|
-
|
35210
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35211
|
-
*/
|
35212
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Staking.Rebond;
|
37335
|
+
/**
|
37336
|
+
* Creates a SecondaryKeyPermissions message from a plain object. Also converts values to their respective internal types.
|
37337
|
+
* @param object Plain object
|
37338
|
+
* @returns SecondaryKeyPermissions
|
37339
|
+
*/
|
37340
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SecondaryKeyPermissions;
|
35213
37341
|
|
35214
|
-
|
35215
|
-
|
35216
|
-
|
35217
|
-
|
35218
|
-
|
35219
|
-
|
37342
|
+
/**
|
37343
|
+
* Creates a plain object from a SecondaryKeyPermissions message. Also converts values to other types if specified.
|
37344
|
+
* @param message SecondaryKeyPermissions
|
37345
|
+
* @param [options] Conversion options
|
37346
|
+
* @returns Plain object
|
37347
|
+
*/
|
37348
|
+
public static toObject(message: TW.Polymesh.Proto.SecondaryKeyPermissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35220
37349
|
|
35221
|
-
|
35222
|
-
|
35223
|
-
|
35224
|
-
|
35225
|
-
|
35226
|
-
|
37350
|
+
/**
|
37351
|
+
* Converts this SecondaryKeyPermissions to JSON.
|
37352
|
+
* @returns JSON object
|
37353
|
+
*/
|
37354
|
+
public toJSON(): { [k: string]: any };
|
37355
|
+
}
|
35227
37356
|
|
35228
|
-
|
35229
|
-
* Creates a plain object from a Rebond message. Also converts values to other types if specified.
|
35230
|
-
* @param message Rebond
|
35231
|
-
* @param [options] Conversion options
|
35232
|
-
* @returns Plain object
|
35233
|
-
*/
|
35234
|
-
public static toObject(message: TW.Polkadot.Proto.Staking.Rebond, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37357
|
+
namespace SecondaryKeyPermissions {
|
35235
37358
|
|
35236
|
-
|
35237
|
-
|
35238
|
-
|
35239
|
-
|
35240
|
-
|
37359
|
+
/** RestrictionKind enum. */
|
37360
|
+
enum RestrictionKind {
|
37361
|
+
Whole = 0,
|
37362
|
+
These = 1,
|
37363
|
+
Except = 2
|
35241
37364
|
}
|
35242
37365
|
|
35243
|
-
/** Properties of
|
35244
|
-
interface
|
37366
|
+
/** Properties of an AssetPermissions. */
|
37367
|
+
interface IAssetPermissions {
|
35245
37368
|
|
35246
|
-
/**
|
35247
|
-
|
37369
|
+
/** AssetPermissions kind */
|
37370
|
+
kind?: (TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind|null);
|
35248
37371
|
|
35249
|
-
/**
|
35250
|
-
|
37372
|
+
/** AssetPermissions assets */
|
37373
|
+
assets?: (TW.Polymesh.Proto.IAssetId[]|null);
|
35251
37374
|
}
|
35252
37375
|
|
35253
|
-
/** Represents
|
35254
|
-
class
|
37376
|
+
/** Represents an AssetPermissions. */
|
37377
|
+
class AssetPermissions implements IAssetPermissions {
|
35255
37378
|
|
35256
37379
|
/**
|
35257
|
-
* Constructs a new
|
37380
|
+
* Constructs a new AssetPermissions.
|
35258
37381
|
* @param [properties] Properties to set
|
35259
37382
|
*/
|
35260
|
-
constructor(properties?: TW.
|
37383
|
+
constructor(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IAssetPermissions);
|
35261
37384
|
|
35262
|
-
/**
|
35263
|
-
public
|
37385
|
+
/** AssetPermissions kind. */
|
37386
|
+
public kind: TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind;
|
35264
37387
|
|
35265
|
-
/**
|
35266
|
-
public
|
37388
|
+
/** AssetPermissions assets. */
|
37389
|
+
public assets: TW.Polymesh.Proto.IAssetId[];
|
35267
37390
|
|
35268
37391
|
/**
|
35269
|
-
* Creates a new
|
37392
|
+
* Creates a new AssetPermissions instance using the specified properties.
|
35270
37393
|
* @param [properties] Properties to set
|
35271
|
-
* @returns
|
37394
|
+
* @returns AssetPermissions instance
|
35272
37395
|
*/
|
35273
|
-
public static create(properties?: TW.
|
37396
|
+
public static create(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IAssetPermissions): TW.Polymesh.Proto.SecondaryKeyPermissions.AssetPermissions;
|
35274
37397
|
|
35275
37398
|
/**
|
35276
|
-
* Encodes the specified
|
35277
|
-
* @param message
|
37399
|
+
* Encodes the specified AssetPermissions message. Does not implicitly {@link TW.Polymesh.Proto.SecondaryKeyPermissions.AssetPermissions.verify|verify} messages.
|
37400
|
+
* @param message AssetPermissions message or plain object to encode
|
35278
37401
|
* @param [writer] Writer to encode to
|
35279
37402
|
* @returns Writer
|
35280
37403
|
*/
|
35281
|
-
public static encode(message: TW.
|
37404
|
+
public static encode(message: TW.Polymesh.Proto.SecondaryKeyPermissions.IAssetPermissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
35282
37405
|
|
35283
37406
|
/**
|
35284
|
-
* Decodes
|
37407
|
+
* Decodes an AssetPermissions message from the specified reader or buffer.
|
35285
37408
|
* @param reader Reader or buffer to decode from
|
35286
37409
|
* @param [length] Message length if known beforehand
|
35287
|
-
* @returns
|
37410
|
+
* @returns AssetPermissions
|
35288
37411
|
* @throws {Error} If the payload is not a reader or valid buffer
|
35289
37412
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35290
37413
|
*/
|
35291
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
37414
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SecondaryKeyPermissions.AssetPermissions;
|
35292
37415
|
|
35293
37416
|
/**
|
35294
|
-
* Verifies
|
37417
|
+
* Verifies an AssetPermissions message.
|
35295
37418
|
* @param message Plain object to verify
|
35296
37419
|
* @returns `null` if valid, otherwise the reason why it is not
|
35297
37420
|
*/
|
35298
37421
|
public static verify(message: { [k: string]: any }): (string|null);
|
35299
37422
|
|
35300
37423
|
/**
|
35301
|
-
* Creates
|
37424
|
+
* Creates an AssetPermissions message from a plain object. Also converts values to their respective internal types.
|
35302
37425
|
* @param object Plain object
|
35303
|
-
* @returns
|
37426
|
+
* @returns AssetPermissions
|
35304
37427
|
*/
|
35305
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
37428
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SecondaryKeyPermissions.AssetPermissions;
|
35306
37429
|
|
35307
37430
|
/**
|
35308
|
-
* Creates a plain object from
|
35309
|
-
* @param message
|
37431
|
+
* Creates a plain object from an AssetPermissions message. Also converts values to other types if specified.
|
37432
|
+
* @param message AssetPermissions
|
35310
37433
|
* @param [options] Conversion options
|
35311
37434
|
* @returns Plain object
|
35312
37435
|
*/
|
35313
|
-
public static toObject(message: TW.
|
37436
|
+
public static toObject(message: TW.Polymesh.Proto.SecondaryKeyPermissions.AssetPermissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35314
37437
|
|
35315
37438
|
/**
|
35316
|
-
* Converts this
|
37439
|
+
* Converts this AssetPermissions to JSON.
|
35317
37440
|
* @returns JSON object
|
35318
37441
|
*/
|
35319
37442
|
public toJSON(): { [k: string]: any };
|
35320
37443
|
}
|
35321
37444
|
|
35322
|
-
/** Properties of a
|
35323
|
-
interface
|
37445
|
+
/** Properties of a PortfolioPermissions. */
|
37446
|
+
interface IPortfolioPermissions {
|
35324
37447
|
|
35325
|
-
/**
|
35326
|
-
|
37448
|
+
/** PortfolioPermissions kind */
|
37449
|
+
kind?: (TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind|null);
|
35327
37450
|
|
35328
|
-
/**
|
35329
|
-
|
37451
|
+
/** PortfolioPermissions portfolios */
|
37452
|
+
portfolios?: (TW.Polymesh.Proto.IPortfolioId[]|null);
|
35330
37453
|
}
|
35331
37454
|
|
35332
|
-
/** Represents a
|
35333
|
-
class
|
37455
|
+
/** Represents a PortfolioPermissions. */
|
37456
|
+
class PortfolioPermissions implements IPortfolioPermissions {
|
35334
37457
|
|
35335
37458
|
/**
|
35336
|
-
* Constructs a new
|
37459
|
+
* Constructs a new PortfolioPermissions.
|
35337
37460
|
* @param [properties] Properties to set
|
35338
37461
|
*/
|
35339
|
-
constructor(properties?: TW.
|
37462
|
+
constructor(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IPortfolioPermissions);
|
35340
37463
|
|
35341
|
-
/**
|
35342
|
-
public
|
37464
|
+
/** PortfolioPermissions kind. */
|
37465
|
+
public kind: TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind;
|
35343
37466
|
|
35344
|
-
/**
|
35345
|
-
public
|
37467
|
+
/** PortfolioPermissions portfolios. */
|
37468
|
+
public portfolios: TW.Polymesh.Proto.IPortfolioId[];
|
35346
37469
|
|
35347
37470
|
/**
|
35348
|
-
* Creates a new
|
37471
|
+
* Creates a new PortfolioPermissions instance using the specified properties.
|
35349
37472
|
* @param [properties] Properties to set
|
35350
|
-
* @returns
|
37473
|
+
* @returns PortfolioPermissions instance
|
35351
37474
|
*/
|
35352
|
-
public static create(properties?: TW.
|
37475
|
+
public static create(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IPortfolioPermissions): TW.Polymesh.Proto.SecondaryKeyPermissions.PortfolioPermissions;
|
35353
37476
|
|
35354
37477
|
/**
|
35355
|
-
* Encodes the specified
|
35356
|
-
* @param message
|
37478
|
+
* Encodes the specified PortfolioPermissions message. Does not implicitly {@link TW.Polymesh.Proto.SecondaryKeyPermissions.PortfolioPermissions.verify|verify} messages.
|
37479
|
+
* @param message PortfolioPermissions message or plain object to encode
|
35357
37480
|
* @param [writer] Writer to encode to
|
35358
37481
|
* @returns Writer
|
35359
37482
|
*/
|
35360
|
-
public static encode(message: TW.
|
37483
|
+
public static encode(message: TW.Polymesh.Proto.SecondaryKeyPermissions.IPortfolioPermissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
35361
37484
|
|
35362
37485
|
/**
|
35363
|
-
* Decodes a
|
37486
|
+
* Decodes a PortfolioPermissions message from the specified reader or buffer.
|
35364
37487
|
* @param reader Reader or buffer to decode from
|
35365
37488
|
* @param [length] Message length if known beforehand
|
35366
|
-
* @returns
|
37489
|
+
* @returns PortfolioPermissions
|
35367
37490
|
* @throws {Error} If the payload is not a reader or valid buffer
|
35368
37491
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35369
37492
|
*/
|
35370
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
37493
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SecondaryKeyPermissions.PortfolioPermissions;
|
35371
37494
|
|
35372
37495
|
/**
|
35373
|
-
* Verifies a
|
37496
|
+
* Verifies a PortfolioPermissions message.
|
35374
37497
|
* @param message Plain object to verify
|
35375
37498
|
* @returns `null` if valid, otherwise the reason why it is not
|
35376
37499
|
*/
|
35377
37500
|
public static verify(message: { [k: string]: any }): (string|null);
|
35378
37501
|
|
35379
37502
|
/**
|
35380
|
-
* Creates a
|
37503
|
+
* Creates a PortfolioPermissions message from a plain object. Also converts values to their respective internal types.
|
35381
37504
|
* @param object Plain object
|
35382
|
-
* @returns
|
37505
|
+
* @returns PortfolioPermissions
|
35383
37506
|
*/
|
35384
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
37507
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SecondaryKeyPermissions.PortfolioPermissions;
|
35385
37508
|
|
35386
37509
|
/**
|
35387
|
-
* Creates a plain object from a
|
35388
|
-
* @param message
|
37510
|
+
* Creates a plain object from a PortfolioPermissions message. Also converts values to other types if specified.
|
37511
|
+
* @param message PortfolioPermissions
|
35389
37512
|
* @param [options] Conversion options
|
35390
37513
|
* @returns Plain object
|
35391
37514
|
*/
|
35392
|
-
public static toObject(message: TW.
|
37515
|
+
public static toObject(message: TW.Polymesh.Proto.SecondaryKeyPermissions.PortfolioPermissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35393
37516
|
|
35394
37517
|
/**
|
35395
|
-
* Converts this
|
37518
|
+
* Converts this PortfolioPermissions to JSON.
|
35396
37519
|
* @returns JSON object
|
35397
37520
|
*/
|
35398
37521
|
public toJSON(): { [k: string]: any };
|
35399
37522
|
}
|
35400
37523
|
|
35401
|
-
/** Properties of a
|
35402
|
-
interface
|
35403
|
-
|
35404
|
-
/** ChillAndUnbond value */
|
35405
|
-
value?: (Uint8Array|null);
|
37524
|
+
/** Properties of a PalletPermissions. */
|
37525
|
+
interface IPalletPermissions {
|
35406
37526
|
|
35407
|
-
/**
|
35408
|
-
|
37527
|
+
/** PalletPermissions palletName */
|
37528
|
+
palletName?: (string|null);
|
35409
37529
|
|
35410
|
-
/**
|
35411
|
-
|
37530
|
+
/** PalletPermissions kind */
|
37531
|
+
kind?: (TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind|null);
|
35412
37532
|
|
35413
|
-
/**
|
35414
|
-
|
37533
|
+
/** PalletPermissions extrinsicNames */
|
37534
|
+
extrinsicNames?: (string[]|null);
|
35415
37535
|
}
|
35416
37536
|
|
35417
|
-
/** Represents a
|
35418
|
-
class
|
37537
|
+
/** Represents a PalletPermissions. */
|
37538
|
+
class PalletPermissions implements IPalletPermissions {
|
35419
37539
|
|
35420
37540
|
/**
|
35421
|
-
* Constructs a new
|
37541
|
+
* Constructs a new PalletPermissions.
|
35422
37542
|
* @param [properties] Properties to set
|
35423
37543
|
*/
|
35424
|
-
constructor(properties?: TW.
|
35425
|
-
|
35426
|
-
/** ChillAndUnbond value. */
|
35427
|
-
public value: Uint8Array;
|
37544
|
+
constructor(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IPalletPermissions);
|
35428
37545
|
|
35429
|
-
/**
|
35430
|
-
public
|
37546
|
+
/** PalletPermissions palletName. */
|
37547
|
+
public palletName: string;
|
35431
37548
|
|
35432
|
-
/**
|
35433
|
-
public
|
37549
|
+
/** PalletPermissions kind. */
|
37550
|
+
public kind: TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind;
|
35434
37551
|
|
35435
|
-
/**
|
35436
|
-
public
|
37552
|
+
/** PalletPermissions extrinsicNames. */
|
37553
|
+
public extrinsicNames: string[];
|
35437
37554
|
|
35438
37555
|
/**
|
35439
|
-
* Creates a new
|
37556
|
+
* Creates a new PalletPermissions instance using the specified properties.
|
35440
37557
|
* @param [properties] Properties to set
|
35441
|
-
* @returns
|
37558
|
+
* @returns PalletPermissions instance
|
35442
37559
|
*/
|
35443
|
-
public static create(properties?: TW.
|
37560
|
+
public static create(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IPalletPermissions): TW.Polymesh.Proto.SecondaryKeyPermissions.PalletPermissions;
|
35444
37561
|
|
35445
37562
|
/**
|
35446
|
-
* Encodes the specified
|
35447
|
-
* @param message
|
37563
|
+
* Encodes the specified PalletPermissions message. Does not implicitly {@link TW.Polymesh.Proto.SecondaryKeyPermissions.PalletPermissions.verify|verify} messages.
|
37564
|
+
* @param message PalletPermissions message or plain object to encode
|
35448
37565
|
* @param [writer] Writer to encode to
|
35449
37566
|
* @returns Writer
|
35450
37567
|
*/
|
35451
|
-
public static encode(message: TW.
|
37568
|
+
public static encode(message: TW.Polymesh.Proto.SecondaryKeyPermissions.IPalletPermissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
35452
37569
|
|
35453
37570
|
/**
|
35454
|
-
* Decodes a
|
37571
|
+
* Decodes a PalletPermissions message from the specified reader or buffer.
|
35455
37572
|
* @param reader Reader or buffer to decode from
|
35456
37573
|
* @param [length] Message length if known beforehand
|
35457
|
-
* @returns
|
37574
|
+
* @returns PalletPermissions
|
35458
37575
|
* @throws {Error} If the payload is not a reader or valid buffer
|
35459
37576
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35460
37577
|
*/
|
35461
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
37578
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SecondaryKeyPermissions.PalletPermissions;
|
35462
37579
|
|
35463
37580
|
/**
|
35464
|
-
* Verifies a
|
37581
|
+
* Verifies a PalletPermissions message.
|
35465
37582
|
* @param message Plain object to verify
|
35466
37583
|
* @returns `null` if valid, otherwise the reason why it is not
|
35467
37584
|
*/
|
35468
37585
|
public static verify(message: { [k: string]: any }): (string|null);
|
35469
37586
|
|
35470
37587
|
/**
|
35471
|
-
* Creates a
|
37588
|
+
* Creates a PalletPermissions message from a plain object. Also converts values to their respective internal types.
|
35472
37589
|
* @param object Plain object
|
35473
|
-
* @returns
|
37590
|
+
* @returns PalletPermissions
|
35474
37591
|
*/
|
35475
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
37592
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SecondaryKeyPermissions.PalletPermissions;
|
35476
37593
|
|
35477
37594
|
/**
|
35478
|
-
* Creates a plain object from a
|
35479
|
-
* @param message
|
37595
|
+
* Creates a plain object from a PalletPermissions message. Also converts values to other types if specified.
|
37596
|
+
* @param message PalletPermissions
|
35480
37597
|
* @param [options] Conversion options
|
35481
37598
|
* @returns Plain object
|
35482
37599
|
*/
|
35483
|
-
public static toObject(message: TW.
|
37600
|
+
public static toObject(message: TW.Polymesh.Proto.SecondaryKeyPermissions.PalletPermissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35484
37601
|
|
35485
37602
|
/**
|
35486
|
-
* Converts this
|
37603
|
+
* Converts this PalletPermissions to JSON.
|
35487
37604
|
* @returns JSON object
|
35488
37605
|
*/
|
35489
37606
|
public toJSON(): { [k: string]: any };
|
35490
37607
|
}
|
35491
37608
|
|
35492
|
-
/** Properties of
|
35493
|
-
interface
|
37609
|
+
/** Properties of an ExtrinsicPermissions. */
|
37610
|
+
interface IExtrinsicPermissions {
|
37611
|
+
|
37612
|
+
/** ExtrinsicPermissions kind */
|
37613
|
+
kind?: (TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind|null);
|
35494
37614
|
|
35495
|
-
/**
|
35496
|
-
|
37615
|
+
/** ExtrinsicPermissions pallets */
|
37616
|
+
pallets?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IPalletPermissions[]|null);
|
35497
37617
|
}
|
35498
37618
|
|
35499
|
-
/** Represents
|
35500
|
-
class
|
37619
|
+
/** Represents an ExtrinsicPermissions. */
|
37620
|
+
class ExtrinsicPermissions implements IExtrinsicPermissions {
|
35501
37621
|
|
35502
37622
|
/**
|
35503
|
-
* Constructs a new
|
37623
|
+
* Constructs a new ExtrinsicPermissions.
|
35504
37624
|
* @param [properties] Properties to set
|
35505
37625
|
*/
|
35506
|
-
constructor(properties?: TW.
|
37626
|
+
constructor(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IExtrinsicPermissions);
|
35507
37627
|
|
35508
|
-
/**
|
35509
|
-
public
|
37628
|
+
/** ExtrinsicPermissions kind. */
|
37629
|
+
public kind: TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind;
|
37630
|
+
|
37631
|
+
/** ExtrinsicPermissions pallets. */
|
37632
|
+
public pallets: TW.Polymesh.Proto.SecondaryKeyPermissions.IPalletPermissions[];
|
35510
37633
|
|
35511
37634
|
/**
|
35512
|
-
* Creates a new
|
37635
|
+
* Creates a new ExtrinsicPermissions instance using the specified properties.
|
35513
37636
|
* @param [properties] Properties to set
|
35514
|
-
* @returns
|
37637
|
+
* @returns ExtrinsicPermissions instance
|
35515
37638
|
*/
|
35516
|
-
public static create(properties?: TW.
|
37639
|
+
public static create(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IExtrinsicPermissions): TW.Polymesh.Proto.SecondaryKeyPermissions.ExtrinsicPermissions;
|
35517
37640
|
|
35518
37641
|
/**
|
35519
|
-
* Encodes the specified
|
35520
|
-
* @param message
|
37642
|
+
* Encodes the specified ExtrinsicPermissions message. Does not implicitly {@link TW.Polymesh.Proto.SecondaryKeyPermissions.ExtrinsicPermissions.verify|verify} messages.
|
37643
|
+
* @param message ExtrinsicPermissions message or plain object to encode
|
35521
37644
|
* @param [writer] Writer to encode to
|
35522
37645
|
* @returns Writer
|
35523
37646
|
*/
|
35524
|
-
public static encode(message: TW.
|
37647
|
+
public static encode(message: TW.Polymesh.Proto.SecondaryKeyPermissions.IExtrinsicPermissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
35525
37648
|
|
35526
37649
|
/**
|
35527
|
-
* Decodes
|
37650
|
+
* Decodes an ExtrinsicPermissions message from the specified reader or buffer.
|
35528
37651
|
* @param reader Reader or buffer to decode from
|
35529
37652
|
* @param [length] Message length if known beforehand
|
35530
|
-
* @returns
|
37653
|
+
* @returns ExtrinsicPermissions
|
35531
37654
|
* @throws {Error} If the payload is not a reader or valid buffer
|
35532
37655
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35533
37656
|
*/
|
35534
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
37657
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SecondaryKeyPermissions.ExtrinsicPermissions;
|
35535
37658
|
|
35536
37659
|
/**
|
35537
|
-
* Verifies
|
37660
|
+
* Verifies an ExtrinsicPermissions message.
|
35538
37661
|
* @param message Plain object to verify
|
35539
37662
|
* @returns `null` if valid, otherwise the reason why it is not
|
35540
37663
|
*/
|
35541
37664
|
public static verify(message: { [k: string]: any }): (string|null);
|
35542
37665
|
|
35543
37666
|
/**
|
35544
|
-
* Creates
|
37667
|
+
* Creates an ExtrinsicPermissions message from a plain object. Also converts values to their respective internal types.
|
35545
37668
|
* @param object Plain object
|
35546
|
-
* @returns
|
37669
|
+
* @returns ExtrinsicPermissions
|
35547
37670
|
*/
|
35548
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
37671
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SecondaryKeyPermissions.ExtrinsicPermissions;
|
35549
37672
|
|
35550
37673
|
/**
|
35551
|
-
* Creates a plain object from
|
35552
|
-
* @param message
|
37674
|
+
* Creates a plain object from an ExtrinsicPermissions message. Also converts values to other types if specified.
|
37675
|
+
* @param message ExtrinsicPermissions
|
35553
37676
|
* @param [options] Conversion options
|
35554
37677
|
* @returns Plain object
|
35555
37678
|
*/
|
35556
|
-
public static toObject(message: TW.
|
37679
|
+
public static toObject(message: TW.Polymesh.Proto.SecondaryKeyPermissions.ExtrinsicPermissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35557
37680
|
|
35558
37681
|
/**
|
35559
|
-
* Converts this
|
37682
|
+
* Converts this ExtrinsicPermissions to JSON.
|
35560
37683
|
* @returns JSON object
|
35561
37684
|
*/
|
35562
37685
|
public toJSON(): { [k: string]: any };
|
@@ -35567,10 +37690,13 @@ export namespace TW {
|
|
35567
37690
|
interface IIdentity {
|
35568
37691
|
|
35569
37692
|
/** Identity joinIdentityAsKey */
|
35570
|
-
joinIdentityAsKey?: (TW.
|
37693
|
+
joinIdentityAsKey?: (TW.Polymesh.Proto.Identity.IJoinIdentityAsKey|null);
|
35571
37694
|
|
35572
37695
|
/** Identity addAuthorization */
|
35573
|
-
addAuthorization?: (TW.
|
37696
|
+
addAuthorization?: (TW.Polymesh.Proto.Identity.IAddAuthorization|null);
|
37697
|
+
|
37698
|
+
/** Identity leaveIdentityAsKey */
|
37699
|
+
leaveIdentityAsKey?: (TW.Polymesh.Proto.Identity.ILeaveIdentityAsKey|null);
|
35574
37700
|
}
|
35575
37701
|
|
35576
37702
|
/** Represents an Identity. */
|
@@ -35580,31 +37706,34 @@ export namespace TW {
|
|
35580
37706
|
* Constructs a new Identity.
|
35581
37707
|
* @param [properties] Properties to set
|
35582
37708
|
*/
|
35583
|
-
constructor(properties?: TW.
|
37709
|
+
constructor(properties?: TW.Polymesh.Proto.IIdentity);
|
35584
37710
|
|
35585
37711
|
/** Identity joinIdentityAsKey. */
|
35586
|
-
public joinIdentityAsKey?: (TW.
|
37712
|
+
public joinIdentityAsKey?: (TW.Polymesh.Proto.Identity.IJoinIdentityAsKey|null);
|
35587
37713
|
|
35588
37714
|
/** Identity addAuthorization. */
|
35589
|
-
public addAuthorization?: (TW.
|
37715
|
+
public addAuthorization?: (TW.Polymesh.Proto.Identity.IAddAuthorization|null);
|
37716
|
+
|
37717
|
+
/** Identity leaveIdentityAsKey. */
|
37718
|
+
public leaveIdentityAsKey?: (TW.Polymesh.Proto.Identity.ILeaveIdentityAsKey|null);
|
35590
37719
|
|
35591
37720
|
/** Identity messageOneof. */
|
35592
|
-
public messageOneof?: ("joinIdentityAsKey"|"addAuthorization");
|
37721
|
+
public messageOneof?: ("joinIdentityAsKey"|"addAuthorization"|"leaveIdentityAsKey");
|
35593
37722
|
|
35594
37723
|
/**
|
35595
37724
|
* Creates a new Identity instance using the specified properties.
|
35596
37725
|
* @param [properties] Properties to set
|
35597
37726
|
* @returns Identity instance
|
35598
37727
|
*/
|
35599
|
-
public static create(properties?: TW.
|
37728
|
+
public static create(properties?: TW.Polymesh.Proto.IIdentity): TW.Polymesh.Proto.Identity;
|
35600
37729
|
|
35601
37730
|
/**
|
35602
|
-
* Encodes the specified Identity message. Does not implicitly {@link TW.
|
37731
|
+
* Encodes the specified Identity message. Does not implicitly {@link TW.Polymesh.Proto.Identity.verify|verify} messages.
|
35603
37732
|
* @param message Identity message or plain object to encode
|
35604
37733
|
* @param [writer] Writer to encode to
|
35605
37734
|
* @returns Writer
|
35606
37735
|
*/
|
35607
|
-
public static encode(message: TW.
|
37736
|
+
public static encode(message: TW.Polymesh.Proto.IIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
|
35608
37737
|
|
35609
37738
|
/**
|
35610
37739
|
* Decodes an Identity message from the specified reader or buffer.
|
@@ -35614,7 +37743,7 @@ export namespace TW {
|
|
35614
37743
|
* @throws {Error} If the payload is not a reader or valid buffer
|
35615
37744
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35616
37745
|
*/
|
35617
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
37746
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Identity;
|
35618
37747
|
|
35619
37748
|
/**
|
35620
37749
|
* Verifies an Identity message.
|
@@ -35628,7 +37757,7 @@ export namespace TW {
|
|
35628
37757
|
* @param object Plain object
|
35629
37758
|
* @returns Identity
|
35630
37759
|
*/
|
35631
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
37760
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Identity;
|
35632
37761
|
|
35633
37762
|
/**
|
35634
37763
|
* Creates a plain object from an Identity message. Also converts values to other types if specified.
|
@@ -35636,7 +37765,7 @@ export namespace TW {
|
|
35636
37765
|
* @param [options] Conversion options
|
35637
37766
|
* @returns Plain object
|
35638
37767
|
*/
|
35639
|
-
public static toObject(message: TW.
|
37768
|
+
public static toObject(message: TW.Polymesh.Proto.Identity, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35640
37769
|
|
35641
37770
|
/**
|
35642
37771
|
* Converts this Identity to JSON.
|
@@ -35664,7 +37793,7 @@ export namespace TW {
|
|
35664
37793
|
* Constructs a new JoinIdentityAsKey.
|
35665
37794
|
* @param [properties] Properties to set
|
35666
37795
|
*/
|
35667
|
-
constructor(properties?: TW.
|
37796
|
+
constructor(properties?: TW.Polymesh.Proto.Identity.IJoinIdentityAsKey);
|
35668
37797
|
|
35669
37798
|
/** JoinIdentityAsKey callIndices. */
|
35670
37799
|
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
@@ -35677,15 +37806,15 @@ export namespace TW {
|
|
35677
37806
|
* @param [properties] Properties to set
|
35678
37807
|
* @returns JoinIdentityAsKey instance
|
35679
37808
|
*/
|
35680
|
-
public static create(properties?: TW.
|
37809
|
+
public static create(properties?: TW.Polymesh.Proto.Identity.IJoinIdentityAsKey): TW.Polymesh.Proto.Identity.JoinIdentityAsKey;
|
35681
37810
|
|
35682
37811
|
/**
|
35683
|
-
* Encodes the specified JoinIdentityAsKey message. Does not implicitly {@link TW.
|
37812
|
+
* Encodes the specified JoinIdentityAsKey message. Does not implicitly {@link TW.Polymesh.Proto.Identity.JoinIdentityAsKey.verify|verify} messages.
|
35684
37813
|
* @param message JoinIdentityAsKey message or plain object to encode
|
35685
37814
|
* @param [writer] Writer to encode to
|
35686
37815
|
* @returns Writer
|
35687
37816
|
*/
|
35688
|
-
public static encode(message: TW.
|
37817
|
+
public static encode(message: TW.Polymesh.Proto.Identity.IJoinIdentityAsKey, writer?: $protobuf.Writer): $protobuf.Writer;
|
35689
37818
|
|
35690
37819
|
/**
|
35691
37820
|
* Decodes a JoinIdentityAsKey message from the specified reader or buffer.
|
@@ -35695,7 +37824,7 @@ export namespace TW {
|
|
35695
37824
|
* @throws {Error} If the payload is not a reader or valid buffer
|
35696
37825
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35697
37826
|
*/
|
35698
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
37827
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Identity.JoinIdentityAsKey;
|
35699
37828
|
|
35700
37829
|
/**
|
35701
37830
|
* Verifies a JoinIdentityAsKey message.
|
@@ -35709,7 +37838,7 @@ export namespace TW {
|
|
35709
37838
|
* @param object Plain object
|
35710
37839
|
* @returns JoinIdentityAsKey
|
35711
37840
|
*/
|
35712
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
37841
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Identity.JoinIdentityAsKey;
|
35713
37842
|
|
35714
37843
|
/**
|
35715
37844
|
* Creates a plain object from a JoinIdentityAsKey message. Also converts values to other types if specified.
|
@@ -35717,7 +37846,7 @@ export namespace TW {
|
|
35717
37846
|
* @param [options] Conversion options
|
35718
37847
|
* @returns Plain object
|
35719
37848
|
*/
|
35720
|
-
public static toObject(message: TW.
|
37849
|
+
public static toObject(message: TW.Polymesh.Proto.Identity.JoinIdentityAsKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35721
37850
|
|
35722
37851
|
/**
|
35723
37852
|
* Converts this JoinIdentityAsKey to JSON.
|
@@ -35726,6 +37855,79 @@ export namespace TW {
|
|
35726
37855
|
public toJSON(): { [k: string]: any };
|
35727
37856
|
}
|
35728
37857
|
|
37858
|
+
/** Properties of a LeaveIdentityAsKey. */
|
37859
|
+
interface ILeaveIdentityAsKey {
|
37860
|
+
|
37861
|
+
/** LeaveIdentityAsKey callIndices */
|
37862
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
37863
|
+
}
|
37864
|
+
|
37865
|
+
/** Represents a LeaveIdentityAsKey. */
|
37866
|
+
class LeaveIdentityAsKey implements ILeaveIdentityAsKey {
|
37867
|
+
|
37868
|
+
/**
|
37869
|
+
* Constructs a new LeaveIdentityAsKey.
|
37870
|
+
* @param [properties] Properties to set
|
37871
|
+
*/
|
37872
|
+
constructor(properties?: TW.Polymesh.Proto.Identity.ILeaveIdentityAsKey);
|
37873
|
+
|
37874
|
+
/** LeaveIdentityAsKey callIndices. */
|
37875
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
37876
|
+
|
37877
|
+
/**
|
37878
|
+
* Creates a new LeaveIdentityAsKey instance using the specified properties.
|
37879
|
+
* @param [properties] Properties to set
|
37880
|
+
* @returns LeaveIdentityAsKey instance
|
37881
|
+
*/
|
37882
|
+
public static create(properties?: TW.Polymesh.Proto.Identity.ILeaveIdentityAsKey): TW.Polymesh.Proto.Identity.LeaveIdentityAsKey;
|
37883
|
+
|
37884
|
+
/**
|
37885
|
+
* Encodes the specified LeaveIdentityAsKey message. Does not implicitly {@link TW.Polymesh.Proto.Identity.LeaveIdentityAsKey.verify|verify} messages.
|
37886
|
+
* @param message LeaveIdentityAsKey message or plain object to encode
|
37887
|
+
* @param [writer] Writer to encode to
|
37888
|
+
* @returns Writer
|
37889
|
+
*/
|
37890
|
+
public static encode(message: TW.Polymesh.Proto.Identity.ILeaveIdentityAsKey, writer?: $protobuf.Writer): $protobuf.Writer;
|
37891
|
+
|
37892
|
+
/**
|
37893
|
+
* Decodes a LeaveIdentityAsKey message from the specified reader or buffer.
|
37894
|
+
* @param reader Reader or buffer to decode from
|
37895
|
+
* @param [length] Message length if known beforehand
|
37896
|
+
* @returns LeaveIdentityAsKey
|
37897
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37898
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37899
|
+
*/
|
37900
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Identity.LeaveIdentityAsKey;
|
37901
|
+
|
37902
|
+
/**
|
37903
|
+
* Verifies a LeaveIdentityAsKey message.
|
37904
|
+
* @param message Plain object to verify
|
37905
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37906
|
+
*/
|
37907
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37908
|
+
|
37909
|
+
/**
|
37910
|
+
* Creates a LeaveIdentityAsKey message from a plain object. Also converts values to their respective internal types.
|
37911
|
+
* @param object Plain object
|
37912
|
+
* @returns LeaveIdentityAsKey
|
37913
|
+
*/
|
37914
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Identity.LeaveIdentityAsKey;
|
37915
|
+
|
37916
|
+
/**
|
37917
|
+
* Creates a plain object from a LeaveIdentityAsKey message. Also converts values to other types if specified.
|
37918
|
+
* @param message LeaveIdentityAsKey
|
37919
|
+
* @param [options] Conversion options
|
37920
|
+
* @returns Plain object
|
37921
|
+
*/
|
37922
|
+
public static toObject(message: TW.Polymesh.Proto.Identity.LeaveIdentityAsKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37923
|
+
|
37924
|
+
/**
|
37925
|
+
* Converts this LeaveIdentityAsKey to JSON.
|
37926
|
+
* @returns JSON object
|
37927
|
+
*/
|
37928
|
+
public toJSON(): { [k: string]: any };
|
37929
|
+
}
|
37930
|
+
|
35729
37931
|
/** Properties of an AddAuthorization. */
|
35730
37932
|
interface IAddAuthorization {
|
35731
37933
|
|
@@ -35735,8 +37937,8 @@ export namespace TW {
|
|
35735
37937
|
/** AddAuthorization target */
|
35736
37938
|
target?: (string|null);
|
35737
37939
|
|
35738
|
-
/** AddAuthorization
|
35739
|
-
|
37940
|
+
/** AddAuthorization authorization */
|
37941
|
+
authorization?: (TW.Polymesh.Proto.Identity.AddAuthorization.IAuthorization|null);
|
35740
37942
|
|
35741
37943
|
/** AddAuthorization expiry */
|
35742
37944
|
expiry?: (Long|null);
|
@@ -35749,7 +37951,7 @@ export namespace TW {
|
|
35749
37951
|
* Constructs a new AddAuthorization.
|
35750
37952
|
* @param [properties] Properties to set
|
35751
37953
|
*/
|
35752
|
-
constructor(properties?: TW.
|
37954
|
+
constructor(properties?: TW.Polymesh.Proto.Identity.IAddAuthorization);
|
35753
37955
|
|
35754
37956
|
/** AddAuthorization callIndices. */
|
35755
37957
|
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
@@ -35757,8 +37959,8 @@ export namespace TW {
|
|
35757
37959
|
/** AddAuthorization target. */
|
35758
37960
|
public target: string;
|
35759
37961
|
|
35760
|
-
/** AddAuthorization
|
35761
|
-
public
|
37962
|
+
/** AddAuthorization authorization. */
|
37963
|
+
public authorization?: (TW.Polymesh.Proto.Identity.AddAuthorization.IAuthorization|null);
|
35762
37964
|
|
35763
37965
|
/** AddAuthorization expiry. */
|
35764
37966
|
public expiry: Long;
|
@@ -35768,15 +37970,15 @@ export namespace TW {
|
|
35768
37970
|
* @param [properties] Properties to set
|
35769
37971
|
* @returns AddAuthorization instance
|
35770
37972
|
*/
|
35771
|
-
public static create(properties?: TW.
|
37973
|
+
public static create(properties?: TW.Polymesh.Proto.Identity.IAddAuthorization): TW.Polymesh.Proto.Identity.AddAuthorization;
|
35772
37974
|
|
35773
37975
|
/**
|
35774
|
-
* Encodes the specified AddAuthorization message. Does not implicitly {@link TW.
|
37976
|
+
* Encodes the specified AddAuthorization message. Does not implicitly {@link TW.Polymesh.Proto.Identity.AddAuthorization.verify|verify} messages.
|
35775
37977
|
* @param message AddAuthorization message or plain object to encode
|
35776
37978
|
* @param [writer] Writer to encode to
|
35777
37979
|
* @returns Writer
|
35778
37980
|
*/
|
35779
|
-
public static encode(message: TW.
|
37981
|
+
public static encode(message: TW.Polymesh.Proto.Identity.IAddAuthorization, writer?: $protobuf.Writer): $protobuf.Writer;
|
35780
37982
|
|
35781
37983
|
/**
|
35782
37984
|
* Decodes an AddAuthorization message from the specified reader or buffer.
|
@@ -35786,7 +37988,7 @@ export namespace TW {
|
|
35786
37988
|
* @throws {Error} If the payload is not a reader or valid buffer
|
35787
37989
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35788
37990
|
*/
|
35789
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
37991
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Identity.AddAuthorization;
|
35790
37992
|
|
35791
37993
|
/**
|
35792
37994
|
* Verifies an AddAuthorization message.
|
@@ -35800,7 +38002,7 @@ export namespace TW {
|
|
35800
38002
|
* @param object Plain object
|
35801
38003
|
* @returns AddAuthorization
|
35802
38004
|
*/
|
35803
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
38005
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Identity.AddAuthorization;
|
35804
38006
|
|
35805
38007
|
/**
|
35806
38008
|
* Creates a plain object from an AddAuthorization message. Also converts values to other types if specified.
|
@@ -35808,7 +38010,7 @@ export namespace TW {
|
|
35808
38010
|
* @param [options] Conversion options
|
35809
38011
|
* @returns Plain object
|
35810
38012
|
*/
|
35811
|
-
public static toObject(message: TW.
|
38013
|
+
public static toObject(message: TW.Polymesh.Proto.Identity.AddAuthorization, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35812
38014
|
|
35813
38015
|
/**
|
35814
38016
|
* Converts this AddAuthorization to JSON.
|
@@ -35819,237 +38021,344 @@ export namespace TW {
|
|
35819
38021
|
|
35820
38022
|
namespace AddAuthorization {
|
35821
38023
|
|
35822
|
-
/** Properties of
|
35823
|
-
interface
|
38024
|
+
/** Properties of an Authorization. */
|
38025
|
+
interface IAuthorization {
|
35824
38026
|
|
35825
|
-
/**
|
35826
|
-
|
38027
|
+
/** Authorization joinIdentity */
|
38028
|
+
joinIdentity?: (TW.Polymesh.Proto.ISecondaryKeyPermissions|null);
|
35827
38029
|
}
|
35828
38030
|
|
35829
|
-
/** Represents
|
35830
|
-
class
|
38031
|
+
/** Represents an Authorization. */
|
38032
|
+
class Authorization implements IAuthorization {
|
35831
38033
|
|
35832
38034
|
/**
|
35833
|
-
* Constructs a new
|
38035
|
+
* Constructs a new Authorization.
|
35834
38036
|
* @param [properties] Properties to set
|
35835
38037
|
*/
|
35836
|
-
constructor(properties?: TW.
|
38038
|
+
constructor(properties?: TW.Polymesh.Proto.Identity.AddAuthorization.IAuthorization);
|
35837
38039
|
|
35838
|
-
/**
|
35839
|
-
public
|
38040
|
+
/** Authorization joinIdentity. */
|
38041
|
+
public joinIdentity?: (TW.Polymesh.Proto.ISecondaryKeyPermissions|null);
|
38042
|
+
|
38043
|
+
/** Authorization authOneof. */
|
38044
|
+
public authOneof?: "joinIdentity";
|
35840
38045
|
|
35841
38046
|
/**
|
35842
|
-
* Creates a new
|
38047
|
+
* Creates a new Authorization instance using the specified properties.
|
35843
38048
|
* @param [properties] Properties to set
|
35844
|
-
* @returns
|
38049
|
+
* @returns Authorization instance
|
35845
38050
|
*/
|
35846
|
-
public static create(properties?: TW.
|
38051
|
+
public static create(properties?: TW.Polymesh.Proto.Identity.AddAuthorization.IAuthorization): TW.Polymesh.Proto.Identity.AddAuthorization.Authorization;
|
35847
38052
|
|
35848
38053
|
/**
|
35849
|
-
* Encodes the specified
|
35850
|
-
* @param message
|
38054
|
+
* Encodes the specified Authorization message. Does not implicitly {@link TW.Polymesh.Proto.Identity.AddAuthorization.Authorization.verify|verify} messages.
|
38055
|
+
* @param message Authorization message or plain object to encode
|
35851
38056
|
* @param [writer] Writer to encode to
|
35852
38057
|
* @returns Writer
|
35853
38058
|
*/
|
35854
|
-
public static encode(message: TW.
|
38059
|
+
public static encode(message: TW.Polymesh.Proto.Identity.AddAuthorization.IAuthorization, writer?: $protobuf.Writer): $protobuf.Writer;
|
35855
38060
|
|
35856
38061
|
/**
|
35857
|
-
* Decodes
|
38062
|
+
* Decodes an Authorization message from the specified reader or buffer.
|
35858
38063
|
* @param reader Reader or buffer to decode from
|
35859
38064
|
* @param [length] Message length if known beforehand
|
35860
|
-
* @returns
|
38065
|
+
* @returns Authorization
|
35861
38066
|
* @throws {Error} If the payload is not a reader or valid buffer
|
35862
38067
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
35863
38068
|
*/
|
35864
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
38069
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Identity.AddAuthorization.Authorization;
|
35865
38070
|
|
35866
38071
|
/**
|
35867
|
-
* Verifies
|
38072
|
+
* Verifies an Authorization message.
|
35868
38073
|
* @param message Plain object to verify
|
35869
38074
|
* @returns `null` if valid, otherwise the reason why it is not
|
35870
38075
|
*/
|
35871
38076
|
public static verify(message: { [k: string]: any }): (string|null);
|
35872
38077
|
|
35873
38078
|
/**
|
35874
|
-
* Creates
|
38079
|
+
* Creates an Authorization message from a plain object. Also converts values to their respective internal types.
|
35875
38080
|
* @param object Plain object
|
35876
|
-
* @returns
|
38081
|
+
* @returns Authorization
|
35877
38082
|
*/
|
35878
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
38083
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Identity.AddAuthorization.Authorization;
|
35879
38084
|
|
35880
38085
|
/**
|
35881
|
-
* Creates a plain object from
|
35882
|
-
* @param message
|
38086
|
+
* Creates a plain object from an Authorization message. Also converts values to other types if specified.
|
38087
|
+
* @param message Authorization
|
35883
38088
|
* @param [options] Conversion options
|
35884
38089
|
* @returns Plain object
|
35885
38090
|
*/
|
35886
|
-
public static toObject(message: TW.
|
38091
|
+
public static toObject(message: TW.Polymesh.Proto.Identity.AddAuthorization.Authorization, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35887
38092
|
|
35888
38093
|
/**
|
35889
|
-
* Converts this
|
38094
|
+
* Converts this Authorization to JSON.
|
35890
38095
|
* @returns JSON object
|
35891
38096
|
*/
|
35892
38097
|
public toJSON(): { [k: string]: any };
|
35893
38098
|
}
|
38099
|
+
}
|
38100
|
+
}
|
35894
38101
|
|
35895
|
-
|
35896
|
-
|
38102
|
+
/** Properties of an Utility. */
|
38103
|
+
interface IUtility {
|
35897
38104
|
|
35898
|
-
|
35899
|
-
|
38105
|
+
/** Utility batch */
|
38106
|
+
batch?: (TW.Polymesh.Proto.Utility.IBatch|null);
|
38107
|
+
}
|
35900
38108
|
|
35901
|
-
|
35902
|
-
|
38109
|
+
/** Represents an Utility. */
|
38110
|
+
class Utility implements IUtility {
|
35903
38111
|
|
35904
|
-
|
35905
|
-
|
35906
|
-
|
38112
|
+
/**
|
38113
|
+
* Constructs a new Utility.
|
38114
|
+
* @param [properties] Properties to set
|
38115
|
+
*/
|
38116
|
+
constructor(properties?: TW.Polymesh.Proto.IUtility);
|
35907
38117
|
|
35908
|
-
|
35909
|
-
|
38118
|
+
/** Utility batch. */
|
38119
|
+
public batch?: (TW.Polymesh.Proto.Utility.IBatch|null);
|
35910
38120
|
|
35911
|
-
|
35912
|
-
|
35913
|
-
* @param [properties] Properties to set
|
35914
|
-
*/
|
35915
|
-
constructor(properties?: TW.Polkadot.Proto.Identity.AddAuthorization.IAuthData);
|
38121
|
+
/** Utility messageOneof. */
|
38122
|
+
public messageOneof?: "batch";
|
35916
38123
|
|
35917
|
-
|
35918
|
-
|
38124
|
+
/**
|
38125
|
+
* Creates a new Utility instance using the specified properties.
|
38126
|
+
* @param [properties] Properties to set
|
38127
|
+
* @returns Utility instance
|
38128
|
+
*/
|
38129
|
+
public static create(properties?: TW.Polymesh.Proto.IUtility): TW.Polymesh.Proto.Utility;
|
35919
38130
|
|
35920
|
-
|
35921
|
-
|
38131
|
+
/**
|
38132
|
+
* Encodes the specified Utility message. Does not implicitly {@link TW.Polymesh.Proto.Utility.verify|verify} messages.
|
38133
|
+
* @param message Utility message or plain object to encode
|
38134
|
+
* @param [writer] Writer to encode to
|
38135
|
+
* @returns Writer
|
38136
|
+
*/
|
38137
|
+
public static encode(message: TW.Polymesh.Proto.IUtility, writer?: $protobuf.Writer): $protobuf.Writer;
|
35922
38138
|
|
35923
|
-
|
35924
|
-
|
38139
|
+
/**
|
38140
|
+
* Decodes an Utility message from the specified reader or buffer.
|
38141
|
+
* @param reader Reader or buffer to decode from
|
38142
|
+
* @param [length] Message length if known beforehand
|
38143
|
+
* @returns Utility
|
38144
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38145
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38146
|
+
*/
|
38147
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Utility;
|
35925
38148
|
|
35926
|
-
|
35927
|
-
|
35928
|
-
|
35929
|
-
|
35930
|
-
|
35931
|
-
|
38149
|
+
/**
|
38150
|
+
* Verifies an Utility message.
|
38151
|
+
* @param message Plain object to verify
|
38152
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
38153
|
+
*/
|
38154
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
35932
38155
|
|
35933
|
-
|
35934
|
-
|
35935
|
-
|
35936
|
-
|
35937
|
-
|
35938
|
-
|
35939
|
-
public static encode(message: TW.Polkadot.Proto.Identity.AddAuthorization.IAuthData, writer?: $protobuf.Writer): $protobuf.Writer;
|
38156
|
+
/**
|
38157
|
+
* Creates an Utility message from a plain object. Also converts values to their respective internal types.
|
38158
|
+
* @param object Plain object
|
38159
|
+
* @returns Utility
|
38160
|
+
*/
|
38161
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Utility;
|
35940
38162
|
|
35941
|
-
|
35942
|
-
|
35943
|
-
|
35944
|
-
|
35945
|
-
|
35946
|
-
|
35947
|
-
|
35948
|
-
*/
|
35949
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Identity.AddAuthorization.AuthData;
|
38163
|
+
/**
|
38164
|
+
* Creates a plain object from an Utility message. Also converts values to other types if specified.
|
38165
|
+
* @param message Utility
|
38166
|
+
* @param [options] Conversion options
|
38167
|
+
* @returns Plain object
|
38168
|
+
*/
|
38169
|
+
public static toObject(message: TW.Polymesh.Proto.Utility, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
35950
38170
|
|
35951
|
-
|
35952
|
-
|
35953
|
-
|
35954
|
-
|
35955
|
-
|
35956
|
-
|
38171
|
+
/**
|
38172
|
+
* Converts this Utility to JSON.
|
38173
|
+
* @returns JSON object
|
38174
|
+
*/
|
38175
|
+
public toJSON(): { [k: string]: any };
|
38176
|
+
}
|
35957
38177
|
|
35958
|
-
|
35959
|
-
* Creates an AuthData message from a plain object. Also converts values to their respective internal types.
|
35960
|
-
* @param object Plain object
|
35961
|
-
* @returns AuthData
|
35962
|
-
*/
|
35963
|
-
public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Identity.AddAuthorization.AuthData;
|
38178
|
+
namespace Utility {
|
35964
38179
|
|
35965
|
-
|
35966
|
-
|
35967
|
-
|
35968
|
-
|
35969
|
-
|
35970
|
-
|
35971
|
-
public static toObject(message: TW.Polkadot.Proto.Identity.AddAuthorization.AuthData, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
38180
|
+
/** BatchKind enum. */
|
38181
|
+
enum BatchKind {
|
38182
|
+
StopOnError = 0,
|
38183
|
+
Atomic = 1,
|
38184
|
+
Optimistic = 2
|
38185
|
+
}
|
35972
38186
|
|
35973
|
-
|
35974
|
-
|
35975
|
-
|
35976
|
-
|
35977
|
-
|
35978
|
-
|
38187
|
+
/** Properties of a Batch. */
|
38188
|
+
interface IBatch {
|
38189
|
+
|
38190
|
+
/** Batch kind */
|
38191
|
+
kind?: (TW.Polymesh.Proto.Utility.BatchKind|null);
|
38192
|
+
|
38193
|
+
/** Batch calls */
|
38194
|
+
calls?: (TW.Polymesh.Proto.IRuntimeCall[]|null);
|
38195
|
+
|
38196
|
+
/** Batch callIndices */
|
38197
|
+
callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
38198
|
+
}
|
38199
|
+
|
38200
|
+
/** Represents a Batch. */
|
38201
|
+
class Batch implements IBatch {
|
38202
|
+
|
38203
|
+
/**
|
38204
|
+
* Constructs a new Batch.
|
38205
|
+
* @param [properties] Properties to set
|
38206
|
+
*/
|
38207
|
+
constructor(properties?: TW.Polymesh.Proto.Utility.IBatch);
|
38208
|
+
|
38209
|
+
/** Batch kind. */
|
38210
|
+
public kind: TW.Polymesh.Proto.Utility.BatchKind;
|
38211
|
+
|
38212
|
+
/** Batch calls. */
|
38213
|
+
public calls: TW.Polymesh.Proto.IRuntimeCall[];
|
38214
|
+
|
38215
|
+
/** Batch callIndices. */
|
38216
|
+
public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
|
38217
|
+
|
38218
|
+
/**
|
38219
|
+
* Creates a new Batch instance using the specified properties.
|
38220
|
+
* @param [properties] Properties to set
|
38221
|
+
* @returns Batch instance
|
38222
|
+
*/
|
38223
|
+
public static create(properties?: TW.Polymesh.Proto.Utility.IBatch): TW.Polymesh.Proto.Utility.Batch;
|
38224
|
+
|
38225
|
+
/**
|
38226
|
+
* Encodes the specified Batch message. Does not implicitly {@link TW.Polymesh.Proto.Utility.Batch.verify|verify} messages.
|
38227
|
+
* @param message Batch message or plain object to encode
|
38228
|
+
* @param [writer] Writer to encode to
|
38229
|
+
* @returns Writer
|
38230
|
+
*/
|
38231
|
+
public static encode(message: TW.Polymesh.Proto.Utility.IBatch, writer?: $protobuf.Writer): $protobuf.Writer;
|
38232
|
+
|
38233
|
+
/**
|
38234
|
+
* Decodes a Batch message from the specified reader or buffer.
|
38235
|
+
* @param reader Reader or buffer to decode from
|
38236
|
+
* @param [length] Message length if known beforehand
|
38237
|
+
* @returns Batch
|
38238
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
38239
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
38240
|
+
*/
|
38241
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Utility.Batch;
|
38242
|
+
|
38243
|
+
/**
|
38244
|
+
* Verifies a Batch message.
|
38245
|
+
* @param message Plain object to verify
|
38246
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
38247
|
+
*/
|
38248
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
38249
|
+
|
38250
|
+
/**
|
38251
|
+
* Creates a Batch message from a plain object. Also converts values to their respective internal types.
|
38252
|
+
* @param object Plain object
|
38253
|
+
* @returns Batch
|
38254
|
+
*/
|
38255
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Utility.Batch;
|
38256
|
+
|
38257
|
+
/**
|
38258
|
+
* Creates a plain object from a Batch message. Also converts values to other types if specified.
|
38259
|
+
* @param message Batch
|
38260
|
+
* @param [options] Conversion options
|
38261
|
+
* @returns Plain object
|
38262
|
+
*/
|
38263
|
+
public static toObject(message: TW.Polymesh.Proto.Utility.Batch, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
38264
|
+
|
38265
|
+
/**
|
38266
|
+
* Converts this Batch to JSON.
|
38267
|
+
* @returns JSON object
|
38268
|
+
*/
|
38269
|
+
public toJSON(): { [k: string]: any };
|
35979
38270
|
}
|
35980
38271
|
}
|
35981
38272
|
|
35982
|
-
/** Properties of a
|
35983
|
-
interface
|
38273
|
+
/** Properties of a RuntimeCall. */
|
38274
|
+
interface IRuntimeCall {
|
35984
38275
|
|
35985
|
-
/**
|
35986
|
-
|
38276
|
+
/** RuntimeCall balanceCall */
|
38277
|
+
balanceCall?: (TW.Polymesh.Proto.IBalance|null);
|
38278
|
+
|
38279
|
+
/** RuntimeCall stakingCall */
|
38280
|
+
stakingCall?: (TW.Polymesh.Proto.IStaking|null);
|
38281
|
+
|
38282
|
+
/** RuntimeCall identityCall */
|
38283
|
+
identityCall?: (TW.Polymesh.Proto.IIdentity|null);
|
38284
|
+
|
38285
|
+
/** RuntimeCall utilityCall */
|
38286
|
+
utilityCall?: (TW.Polymesh.Proto.IUtility|null);
|
35987
38287
|
}
|
35988
38288
|
|
35989
|
-
/** Represents a
|
35990
|
-
class
|
38289
|
+
/** Represents a RuntimeCall. */
|
38290
|
+
class RuntimeCall implements IRuntimeCall {
|
35991
38291
|
|
35992
38292
|
/**
|
35993
|
-
* Constructs a new
|
38293
|
+
* Constructs a new RuntimeCall.
|
35994
38294
|
* @param [properties] Properties to set
|
35995
38295
|
*/
|
35996
|
-
constructor(properties?: TW.
|
38296
|
+
constructor(properties?: TW.Polymesh.Proto.IRuntimeCall);
|
38297
|
+
|
38298
|
+
/** RuntimeCall balanceCall. */
|
38299
|
+
public balanceCall?: (TW.Polymesh.Proto.IBalance|null);
|
35997
38300
|
|
35998
|
-
/**
|
35999
|
-
public
|
38301
|
+
/** RuntimeCall stakingCall. */
|
38302
|
+
public stakingCall?: (TW.Polymesh.Proto.IStaking|null);
|
36000
38303
|
|
36001
|
-
/**
|
36002
|
-
public
|
38304
|
+
/** RuntimeCall identityCall. */
|
38305
|
+
public identityCall?: (TW.Polymesh.Proto.IIdentity|null);
|
38306
|
+
|
38307
|
+
/** RuntimeCall utilityCall. */
|
38308
|
+
public utilityCall?: (TW.Polymesh.Proto.IUtility|null);
|
38309
|
+
|
38310
|
+
/** RuntimeCall palletOneof. */
|
38311
|
+
public palletOneof?: ("balanceCall"|"stakingCall"|"identityCall"|"utilityCall");
|
36003
38312
|
|
36004
38313
|
/**
|
36005
|
-
* Creates a new
|
38314
|
+
* Creates a new RuntimeCall instance using the specified properties.
|
36006
38315
|
* @param [properties] Properties to set
|
36007
|
-
* @returns
|
38316
|
+
* @returns RuntimeCall instance
|
36008
38317
|
*/
|
36009
|
-
public static create(properties?: TW.
|
38318
|
+
public static create(properties?: TW.Polymesh.Proto.IRuntimeCall): TW.Polymesh.Proto.RuntimeCall;
|
36010
38319
|
|
36011
38320
|
/**
|
36012
|
-
* Encodes the specified
|
36013
|
-
* @param message
|
38321
|
+
* Encodes the specified RuntimeCall message. Does not implicitly {@link TW.Polymesh.Proto.RuntimeCall.verify|verify} messages.
|
38322
|
+
* @param message RuntimeCall message or plain object to encode
|
36014
38323
|
* @param [writer] Writer to encode to
|
36015
38324
|
* @returns Writer
|
36016
38325
|
*/
|
36017
|
-
public static encode(message: TW.
|
38326
|
+
public static encode(message: TW.Polymesh.Proto.IRuntimeCall, writer?: $protobuf.Writer): $protobuf.Writer;
|
36018
38327
|
|
36019
38328
|
/**
|
36020
|
-
* Decodes a
|
38329
|
+
* Decodes a RuntimeCall message from the specified reader or buffer.
|
36021
38330
|
* @param reader Reader or buffer to decode from
|
36022
38331
|
* @param [length] Message length if known beforehand
|
36023
|
-
* @returns
|
38332
|
+
* @returns RuntimeCall
|
36024
38333
|
* @throws {Error} If the payload is not a reader or valid buffer
|
36025
38334
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36026
38335
|
*/
|
36027
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
38336
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.RuntimeCall;
|
36028
38337
|
|
36029
38338
|
/**
|
36030
|
-
* Verifies a
|
38339
|
+
* Verifies a RuntimeCall message.
|
36031
38340
|
* @param message Plain object to verify
|
36032
38341
|
* @returns `null` if valid, otherwise the reason why it is not
|
36033
38342
|
*/
|
36034
38343
|
public static verify(message: { [k: string]: any }): (string|null);
|
36035
38344
|
|
36036
38345
|
/**
|
36037
|
-
* Creates a
|
38346
|
+
* Creates a RuntimeCall message from a plain object. Also converts values to their respective internal types.
|
36038
38347
|
* @param object Plain object
|
36039
|
-
* @returns
|
38348
|
+
* @returns RuntimeCall
|
36040
38349
|
*/
|
36041
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
38350
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.RuntimeCall;
|
36042
38351
|
|
36043
38352
|
/**
|
36044
|
-
* Creates a plain object from a
|
36045
|
-
* @param message
|
38353
|
+
* Creates a plain object from a RuntimeCall message. Also converts values to other types if specified.
|
38354
|
+
* @param message RuntimeCall
|
36046
38355
|
* @param [options] Conversion options
|
36047
38356
|
* @returns Plain object
|
36048
38357
|
*/
|
36049
|
-
public static toObject(message: TW.
|
38358
|
+
public static toObject(message: TW.Polymesh.Proto.RuntimeCall, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36050
38359
|
|
36051
38360
|
/**
|
36052
|
-
* Converts this
|
38361
|
+
* Converts this RuntimeCall to JSON.
|
36053
38362
|
* @returns JSON object
|
36054
38363
|
*/
|
36055
38364
|
public toJSON(): { [k: string]: any };
|
@@ -36085,17 +38394,8 @@ export namespace TW {
|
|
36085
38394
|
/** SigningInput network */
|
36086
38395
|
network?: (number|null);
|
36087
38396
|
|
36088
|
-
/** SigningInput
|
36089
|
-
|
36090
|
-
|
36091
|
-
/** SigningInput balanceCall */
|
36092
|
-
balanceCall?: (TW.Polkadot.Proto.IBalance|null);
|
36093
|
-
|
36094
|
-
/** SigningInput stakingCall */
|
36095
|
-
stakingCall?: (TW.Polkadot.Proto.IStaking|null);
|
36096
|
-
|
36097
|
-
/** SigningInput polymeshCall */
|
36098
|
-
polymeshCall?: (TW.Polkadot.Proto.IPolymeshCall|null);
|
38397
|
+
/** SigningInput runtimeCall */
|
38398
|
+
runtimeCall?: (TW.Polymesh.Proto.IRuntimeCall|null);
|
36099
38399
|
}
|
36100
38400
|
|
36101
38401
|
/** Represents a SigningInput. */
|
@@ -36105,7 +38405,7 @@ export namespace TW {
|
|
36105
38405
|
* Constructs a new SigningInput.
|
36106
38406
|
* @param [properties] Properties to set
|
36107
38407
|
*/
|
36108
|
-
constructor(properties?: TW.
|
38408
|
+
constructor(properties?: TW.Polymesh.Proto.ISigningInput);
|
36109
38409
|
|
36110
38410
|
/** SigningInput blockHash. */
|
36111
38411
|
public blockHash: Uint8Array;
|
@@ -36134,35 +38434,23 @@ export namespace TW {
|
|
36134
38434
|
/** SigningInput network. */
|
36135
38435
|
public network: number;
|
36136
38436
|
|
36137
|
-
/** SigningInput
|
36138
|
-
public
|
36139
|
-
|
36140
|
-
/** SigningInput balanceCall. */
|
36141
|
-
public balanceCall?: (TW.Polkadot.Proto.IBalance|null);
|
36142
|
-
|
36143
|
-
/** SigningInput stakingCall. */
|
36144
|
-
public stakingCall?: (TW.Polkadot.Proto.IStaking|null);
|
36145
|
-
|
36146
|
-
/** SigningInput polymeshCall. */
|
36147
|
-
public polymeshCall?: (TW.Polkadot.Proto.IPolymeshCall|null);
|
36148
|
-
|
36149
|
-
/** SigningInput messageOneof. */
|
36150
|
-
public messageOneof?: ("balanceCall"|"stakingCall"|"polymeshCall");
|
38437
|
+
/** SigningInput runtimeCall. */
|
38438
|
+
public runtimeCall?: (TW.Polymesh.Proto.IRuntimeCall|null);
|
36151
38439
|
|
36152
38440
|
/**
|
36153
38441
|
* Creates a new SigningInput instance using the specified properties.
|
36154
38442
|
* @param [properties] Properties to set
|
36155
38443
|
* @returns SigningInput instance
|
36156
38444
|
*/
|
36157
|
-
public static create(properties?: TW.
|
38445
|
+
public static create(properties?: TW.Polymesh.Proto.ISigningInput): TW.Polymesh.Proto.SigningInput;
|
36158
38446
|
|
36159
38447
|
/**
|
36160
|
-
* Encodes the specified SigningInput message. Does not implicitly {@link TW.
|
38448
|
+
* Encodes the specified SigningInput message. Does not implicitly {@link TW.Polymesh.Proto.SigningInput.verify|verify} messages.
|
36161
38449
|
* @param message SigningInput message or plain object to encode
|
36162
38450
|
* @param [writer] Writer to encode to
|
36163
38451
|
* @returns Writer
|
36164
38452
|
*/
|
36165
|
-
public static encode(message: TW.
|
38453
|
+
public static encode(message: TW.Polymesh.Proto.ISigningInput, writer?: $protobuf.Writer): $protobuf.Writer;
|
36166
38454
|
|
36167
38455
|
/**
|
36168
38456
|
* Decodes a SigningInput message from the specified reader or buffer.
|
@@ -36172,7 +38460,7 @@ export namespace TW {
|
|
36172
38460
|
* @throws {Error} If the payload is not a reader or valid buffer
|
36173
38461
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36174
38462
|
*/
|
36175
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
38463
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SigningInput;
|
36176
38464
|
|
36177
38465
|
/**
|
36178
38466
|
* Verifies a SigningInput message.
|
@@ -36186,7 +38474,7 @@ export namespace TW {
|
|
36186
38474
|
* @param object Plain object
|
36187
38475
|
* @returns SigningInput
|
36188
38476
|
*/
|
36189
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
38477
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SigningInput;
|
36190
38478
|
|
36191
38479
|
/**
|
36192
38480
|
* Creates a plain object from a SigningInput message. Also converts values to other types if specified.
|
@@ -36194,7 +38482,7 @@ export namespace TW {
|
|
36194
38482
|
* @param [options] Conversion options
|
36195
38483
|
* @returns Plain object
|
36196
38484
|
*/
|
36197
|
-
public static toObject(message: TW.
|
38485
|
+
public static toObject(message: TW.Polymesh.Proto.SigningInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36198
38486
|
|
36199
38487
|
/**
|
36200
38488
|
* Converts this SigningInput to JSON.
|
@@ -36223,7 +38511,7 @@ export namespace TW {
|
|
36223
38511
|
* Constructs a new SigningOutput.
|
36224
38512
|
* @param [properties] Properties to set
|
36225
38513
|
*/
|
36226
|
-
constructor(properties?: TW.
|
38514
|
+
constructor(properties?: TW.Polymesh.Proto.ISigningOutput);
|
36227
38515
|
|
36228
38516
|
/** SigningOutput encoded. */
|
36229
38517
|
public encoded: Uint8Array;
|
@@ -36239,15 +38527,15 @@ export namespace TW {
|
|
36239
38527
|
* @param [properties] Properties to set
|
36240
38528
|
* @returns SigningOutput instance
|
36241
38529
|
*/
|
36242
|
-
public static create(properties?: TW.
|
38530
|
+
public static create(properties?: TW.Polymesh.Proto.ISigningOutput): TW.Polymesh.Proto.SigningOutput;
|
36243
38531
|
|
36244
38532
|
/**
|
36245
|
-
* Encodes the specified SigningOutput message. Does not implicitly {@link TW.
|
38533
|
+
* Encodes the specified SigningOutput message. Does not implicitly {@link TW.Polymesh.Proto.SigningOutput.verify|verify} messages.
|
36246
38534
|
* @param message SigningOutput message or plain object to encode
|
36247
38535
|
* @param [writer] Writer to encode to
|
36248
38536
|
* @returns Writer
|
36249
38537
|
*/
|
36250
|
-
public static encode(message: TW.
|
38538
|
+
public static encode(message: TW.Polymesh.Proto.ISigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
|
36251
38539
|
|
36252
38540
|
/**
|
36253
38541
|
* Decodes a SigningOutput message from the specified reader or buffer.
|
@@ -36257,7 +38545,7 @@ export namespace TW {
|
|
36257
38545
|
* @throws {Error} If the payload is not a reader or valid buffer
|
36258
38546
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
36259
38547
|
*/
|
36260
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.
|
38548
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SigningOutput;
|
36261
38549
|
|
36262
38550
|
/**
|
36263
38551
|
* Verifies a SigningOutput message.
|
@@ -36271,7 +38559,7 @@ export namespace TW {
|
|
36271
38559
|
* @param object Plain object
|
36272
38560
|
* @returns SigningOutput
|
36273
38561
|
*/
|
36274
|
-
public static fromObject(object: { [k: string]: any }): TW.
|
38562
|
+
public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SigningOutput;
|
36275
38563
|
|
36276
38564
|
/**
|
36277
38565
|
* Creates a plain object from a SigningOutput message. Also converts values to other types if specified.
|
@@ -36279,7 +38567,7 @@ export namespace TW {
|
|
36279
38567
|
* @param [options] Conversion options
|
36280
38568
|
* @returns Plain object
|
36281
38569
|
*/
|
36282
|
-
public static toObject(message: TW.
|
38570
|
+
public static toObject(message: TW.Polymesh.Proto.SigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
36283
38571
|
|
36284
38572
|
/**
|
36285
38573
|
* Converts this SigningOutput to JSON.
|