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

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.
@@ -30446,6 +30446,13 @@ export namespace TW {
30446
30446
  /** Namespace Proto. */
30447
30447
  namespace Proto {
30448
30448
 
30449
+ /** NetworkId enum. */
30450
+ enum NetworkId {
30451
+ UseDefault = 0,
30452
+ Mainnet = 42,
30453
+ MainnetAlbatross = 24
30454
+ }
30455
+
30449
30456
  /** Properties of a SigningInput. */
30450
30457
  interface ISigningInput {
30451
30458
 
@@ -30463,6 +30470,9 @@ export namespace TW {
30463
30470
 
30464
30471
  /** SigningInput validityStartHeight */
30465
30472
  validityStartHeight?: (number|null);
30473
+
30474
+ /** SigningInput networkId */
30475
+ networkId?: (TW.Nimiq.Proto.NetworkId|null);
30466
30476
  }
30467
30477
 
30468
30478
  /** Represents a SigningInput. */
@@ -30489,6 +30499,9 @@ export namespace TW {
30489
30499
  /** SigningInput validityStartHeight. */
30490
30500
  public validityStartHeight: number;
30491
30501
 
30502
+ /** SigningInput networkId. */
30503
+ public networkId: TW.Nimiq.Proto.NetworkId;
30504
+
30492
30505
  /**
30493
30506
  * Creates a new SigningInput instance using the specified properties.
30494
30507
  * @param [properties] Properties to set
@@ -31929,10 +31942,470 @@ export namespace TW {
31929
31942
  * Constructs a new SigningOutput.
31930
31943
  * @param [properties] Properties to set
31931
31944
  */
31932
- constructor(properties?: TW.Ontology.Proto.ISigningOutput);
31945
+ constructor(properties?: TW.Ontology.Proto.ISigningOutput);
31946
+
31947
+ /** SigningOutput encoded. */
31948
+ public encoded: Uint8Array;
31949
+
31950
+ /** SigningOutput error. */
31951
+ public error: TW.Common.Proto.SigningError;
31952
+
31953
+ /** SigningOutput errorMessage. */
31954
+ public errorMessage: string;
31955
+
31956
+ /**
31957
+ * Creates a new SigningOutput instance using the specified properties.
31958
+ * @param [properties] Properties to set
31959
+ * @returns SigningOutput instance
31960
+ */
31961
+ public static create(properties?: TW.Ontology.Proto.ISigningOutput): TW.Ontology.Proto.SigningOutput;
31962
+
31963
+ /**
31964
+ * Encodes the specified SigningOutput message. Does not implicitly {@link TW.Ontology.Proto.SigningOutput.verify|verify} messages.
31965
+ * @param message SigningOutput message or plain object to encode
31966
+ * @param [writer] Writer to encode to
31967
+ * @returns Writer
31968
+ */
31969
+ public static encode(message: TW.Ontology.Proto.ISigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
31970
+
31971
+ /**
31972
+ * Decodes a SigningOutput message from the specified reader or buffer.
31973
+ * @param reader Reader or buffer to decode from
31974
+ * @param [length] Message length if known beforehand
31975
+ * @returns SigningOutput
31976
+ * @throws {Error} If the payload is not a reader or valid buffer
31977
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31978
+ */
31979
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ontology.Proto.SigningOutput;
31980
+
31981
+ /**
31982
+ * Verifies a SigningOutput message.
31983
+ * @param message Plain object to verify
31984
+ * @returns `null` if valid, otherwise the reason why it is not
31985
+ */
31986
+ public static verify(message: { [k: string]: any }): (string|null);
31987
+
31988
+ /**
31989
+ * Creates a SigningOutput message from a plain object. Also converts values to their respective internal types.
31990
+ * @param object Plain object
31991
+ * @returns SigningOutput
31992
+ */
31993
+ public static fromObject(object: { [k: string]: any }): TW.Ontology.Proto.SigningOutput;
31994
+
31995
+ /**
31996
+ * Creates a plain object from a SigningOutput message. Also converts values to other types if specified.
31997
+ * @param message SigningOutput
31998
+ * @param [options] Conversion options
31999
+ * @returns Plain object
32000
+ */
32001
+ public static toObject(message: TW.Ontology.Proto.SigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
32002
+
32003
+ /**
32004
+ * Converts this SigningOutput to JSON.
32005
+ * @returns JSON object
32006
+ */
32007
+ public toJSON(): { [k: string]: any };
32008
+ }
32009
+ }
32010
+ }
32011
+
32012
+ /** Namespace Pactus. */
32013
+ namespace Pactus {
32014
+
32015
+ /** Namespace Proto. */
32016
+ namespace Proto {
32017
+
32018
+ /** Properties of a TransactionMessage. */
32019
+ interface ITransactionMessage {
32020
+
32021
+ /** TransactionMessage lockTime */
32022
+ lockTime?: (number|null);
32023
+
32024
+ /** TransactionMessage fee */
32025
+ fee?: (Long|null);
32026
+
32027
+ /** TransactionMessage memo */
32028
+ memo?: (string|null);
32029
+
32030
+ /** TransactionMessage transfer */
32031
+ transfer?: (TW.Pactus.Proto.ITransferPayload|null);
32032
+
32033
+ /** TransactionMessage bond */
32034
+ bond?: (TW.Pactus.Proto.IBondPayload|null);
32035
+ }
32036
+
32037
+ /** Represents a TransactionMessage. */
32038
+ class TransactionMessage implements ITransactionMessage {
32039
+
32040
+ /**
32041
+ * Constructs a new TransactionMessage.
32042
+ * @param [properties] Properties to set
32043
+ */
32044
+ constructor(properties?: TW.Pactus.Proto.ITransactionMessage);
32045
+
32046
+ /** TransactionMessage lockTime. */
32047
+ public lockTime: number;
32048
+
32049
+ /** TransactionMessage fee. */
32050
+ public fee: Long;
32051
+
32052
+ /** TransactionMessage memo. */
32053
+ public memo: string;
32054
+
32055
+ /** TransactionMessage transfer. */
32056
+ public transfer?: (TW.Pactus.Proto.ITransferPayload|null);
32057
+
32058
+ /** TransactionMessage bond. */
32059
+ public bond?: (TW.Pactus.Proto.IBondPayload|null);
32060
+
32061
+ /** TransactionMessage payload. */
32062
+ public payload?: ("transfer"|"bond");
32063
+
32064
+ /**
32065
+ * Creates a new TransactionMessage instance using the specified properties.
32066
+ * @param [properties] Properties to set
32067
+ * @returns TransactionMessage instance
32068
+ */
32069
+ public static create(properties?: TW.Pactus.Proto.ITransactionMessage): TW.Pactus.Proto.TransactionMessage;
32070
+
32071
+ /**
32072
+ * Encodes the specified TransactionMessage message. Does not implicitly {@link TW.Pactus.Proto.TransactionMessage.verify|verify} messages.
32073
+ * @param message TransactionMessage message or plain object to encode
32074
+ * @param [writer] Writer to encode to
32075
+ * @returns Writer
32076
+ */
32077
+ public static encode(message: TW.Pactus.Proto.ITransactionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
32078
+
32079
+ /**
32080
+ * Decodes a TransactionMessage message from the specified reader or buffer.
32081
+ * @param reader Reader or buffer to decode from
32082
+ * @param [length] Message length if known beforehand
32083
+ * @returns TransactionMessage
32084
+ * @throws {Error} If the payload is not a reader or valid buffer
32085
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32086
+ */
32087
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Pactus.Proto.TransactionMessage;
32088
+
32089
+ /**
32090
+ * Verifies a TransactionMessage message.
32091
+ * @param message Plain object to verify
32092
+ * @returns `null` if valid, otherwise the reason why it is not
32093
+ */
32094
+ public static verify(message: { [k: string]: any }): (string|null);
32095
+
32096
+ /**
32097
+ * Creates a TransactionMessage message from a plain object. Also converts values to their respective internal types.
32098
+ * @param object Plain object
32099
+ * @returns TransactionMessage
32100
+ */
32101
+ public static fromObject(object: { [k: string]: any }): TW.Pactus.Proto.TransactionMessage;
32102
+
32103
+ /**
32104
+ * Creates a plain object from a TransactionMessage message. Also converts values to other types if specified.
32105
+ * @param message TransactionMessage
32106
+ * @param [options] Conversion options
32107
+ * @returns Plain object
32108
+ */
32109
+ public static toObject(message: TW.Pactus.Proto.TransactionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
32110
+
32111
+ /**
32112
+ * Converts this TransactionMessage to JSON.
32113
+ * @returns JSON object
32114
+ */
32115
+ public toJSON(): { [k: string]: any };
32116
+ }
32117
+
32118
+ /** Properties of a TransferPayload. */
32119
+ interface ITransferPayload {
32120
+
32121
+ /** TransferPayload sender */
32122
+ sender?: (string|null);
32123
+
32124
+ /** TransferPayload receiver */
32125
+ receiver?: (string|null);
32126
+
32127
+ /** TransferPayload amount */
32128
+ amount?: (Long|null);
32129
+ }
32130
+
32131
+ /** Represents a TransferPayload. */
32132
+ class TransferPayload implements ITransferPayload {
32133
+
32134
+ /**
32135
+ * Constructs a new TransferPayload.
32136
+ * @param [properties] Properties to set
32137
+ */
32138
+ constructor(properties?: TW.Pactus.Proto.ITransferPayload);
32139
+
32140
+ /** TransferPayload sender. */
32141
+ public sender: string;
32142
+
32143
+ /** TransferPayload receiver. */
32144
+ public receiver: string;
32145
+
32146
+ /** TransferPayload amount. */
32147
+ public amount: Long;
32148
+
32149
+ /**
32150
+ * Creates a new TransferPayload instance using the specified properties.
32151
+ * @param [properties] Properties to set
32152
+ * @returns TransferPayload instance
32153
+ */
32154
+ public static create(properties?: TW.Pactus.Proto.ITransferPayload): TW.Pactus.Proto.TransferPayload;
32155
+
32156
+ /**
32157
+ * Encodes the specified TransferPayload message. Does not implicitly {@link TW.Pactus.Proto.TransferPayload.verify|verify} messages.
32158
+ * @param message TransferPayload message or plain object to encode
32159
+ * @param [writer] Writer to encode to
32160
+ * @returns Writer
32161
+ */
32162
+ public static encode(message: TW.Pactus.Proto.ITransferPayload, writer?: $protobuf.Writer): $protobuf.Writer;
32163
+
32164
+ /**
32165
+ * Decodes a TransferPayload message from the specified reader or buffer.
32166
+ * @param reader Reader or buffer to decode from
32167
+ * @param [length] Message length if known beforehand
32168
+ * @returns TransferPayload
32169
+ * @throws {Error} If the payload is not a reader or valid buffer
32170
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32171
+ */
32172
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Pactus.Proto.TransferPayload;
32173
+
32174
+ /**
32175
+ * Verifies a TransferPayload message.
32176
+ * @param message Plain object to verify
32177
+ * @returns `null` if valid, otherwise the reason why it is not
32178
+ */
32179
+ public static verify(message: { [k: string]: any }): (string|null);
32180
+
32181
+ /**
32182
+ * Creates a TransferPayload message from a plain object. Also converts values to their respective internal types.
32183
+ * @param object Plain object
32184
+ * @returns TransferPayload
32185
+ */
32186
+ public static fromObject(object: { [k: string]: any }): TW.Pactus.Proto.TransferPayload;
32187
+
32188
+ /**
32189
+ * Creates a plain object from a TransferPayload message. Also converts values to other types if specified.
32190
+ * @param message TransferPayload
32191
+ * @param [options] Conversion options
32192
+ * @returns Plain object
32193
+ */
32194
+ public static toObject(message: TW.Pactus.Proto.TransferPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
32195
+
32196
+ /**
32197
+ * Converts this TransferPayload to JSON.
32198
+ * @returns JSON object
32199
+ */
32200
+ public toJSON(): { [k: string]: any };
32201
+ }
32202
+
32203
+ /** Properties of a BondPayload. */
32204
+ interface IBondPayload {
32205
+
32206
+ /** BondPayload sender */
32207
+ sender?: (string|null);
32208
+
32209
+ /** BondPayload receiver */
32210
+ receiver?: (string|null);
32211
+
32212
+ /** BondPayload stake */
32213
+ stake?: (Long|null);
32214
+
32215
+ /** BondPayload publicKey */
32216
+ publicKey?: (string|null);
32217
+ }
32218
+
32219
+ /** Represents a BondPayload. */
32220
+ class BondPayload implements IBondPayload {
32221
+
32222
+ /**
32223
+ * Constructs a new BondPayload.
32224
+ * @param [properties] Properties to set
32225
+ */
32226
+ constructor(properties?: TW.Pactus.Proto.IBondPayload);
32227
+
32228
+ /** BondPayload sender. */
32229
+ public sender: string;
32230
+
32231
+ /** BondPayload receiver. */
32232
+ public receiver: string;
32233
+
32234
+ /** BondPayload stake. */
32235
+ public stake: Long;
32236
+
32237
+ /** BondPayload publicKey. */
32238
+ public publicKey: string;
32239
+
32240
+ /**
32241
+ * Creates a new BondPayload instance using the specified properties.
32242
+ * @param [properties] Properties to set
32243
+ * @returns BondPayload instance
32244
+ */
32245
+ public static create(properties?: TW.Pactus.Proto.IBondPayload): TW.Pactus.Proto.BondPayload;
32246
+
32247
+ /**
32248
+ * Encodes the specified BondPayload message. Does not implicitly {@link TW.Pactus.Proto.BondPayload.verify|verify} messages.
32249
+ * @param message BondPayload message or plain object to encode
32250
+ * @param [writer] Writer to encode to
32251
+ * @returns Writer
32252
+ */
32253
+ public static encode(message: TW.Pactus.Proto.IBondPayload, writer?: $protobuf.Writer): $protobuf.Writer;
32254
+
32255
+ /**
32256
+ * Decodes a BondPayload message from the specified reader or buffer.
32257
+ * @param reader Reader or buffer to decode from
32258
+ * @param [length] Message length if known beforehand
32259
+ * @returns BondPayload
32260
+ * @throws {Error} If the payload is not a reader or valid buffer
32261
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32262
+ */
32263
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Pactus.Proto.BondPayload;
32264
+
32265
+ /**
32266
+ * Verifies a BondPayload message.
32267
+ * @param message Plain object to verify
32268
+ * @returns `null` if valid, otherwise the reason why it is not
32269
+ */
32270
+ public static verify(message: { [k: string]: any }): (string|null);
32271
+
32272
+ /**
32273
+ * Creates a BondPayload message from a plain object. Also converts values to their respective internal types.
32274
+ * @param object Plain object
32275
+ * @returns BondPayload
32276
+ */
32277
+ public static fromObject(object: { [k: string]: any }): TW.Pactus.Proto.BondPayload;
32278
+
32279
+ /**
32280
+ * Creates a plain object from a BondPayload message. Also converts values to other types if specified.
32281
+ * @param message BondPayload
32282
+ * @param [options] Conversion options
32283
+ * @returns Plain object
32284
+ */
32285
+ public static toObject(message: TW.Pactus.Proto.BondPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
32286
+
32287
+ /**
32288
+ * Converts this BondPayload to JSON.
32289
+ * @returns JSON object
32290
+ */
32291
+ public toJSON(): { [k: string]: any };
32292
+ }
32293
+
32294
+ /** Properties of a SigningInput. */
32295
+ interface ISigningInput {
32296
+
32297
+ /** SigningInput privateKey */
32298
+ privateKey?: (Uint8Array|null);
32299
+
32300
+ /** SigningInput transaction */
32301
+ transaction?: (TW.Pactus.Proto.ITransactionMessage|null);
32302
+ }
32303
+
32304
+ /** Represents a SigningInput. */
32305
+ class SigningInput implements ISigningInput {
32306
+
32307
+ /**
32308
+ * Constructs a new SigningInput.
32309
+ * @param [properties] Properties to set
32310
+ */
32311
+ constructor(properties?: TW.Pactus.Proto.ISigningInput);
32312
+
32313
+ /** SigningInput privateKey. */
32314
+ public privateKey: Uint8Array;
32315
+
32316
+ /** SigningInput transaction. */
32317
+ public transaction?: (TW.Pactus.Proto.ITransactionMessage|null);
32318
+
32319
+ /**
32320
+ * Creates a new SigningInput instance using the specified properties.
32321
+ * @param [properties] Properties to set
32322
+ * @returns SigningInput instance
32323
+ */
32324
+ public static create(properties?: TW.Pactus.Proto.ISigningInput): TW.Pactus.Proto.SigningInput;
32325
+
32326
+ /**
32327
+ * Encodes the specified SigningInput message. Does not implicitly {@link TW.Pactus.Proto.SigningInput.verify|verify} messages.
32328
+ * @param message SigningInput message or plain object to encode
32329
+ * @param [writer] Writer to encode to
32330
+ * @returns Writer
32331
+ */
32332
+ public static encode(message: TW.Pactus.Proto.ISigningInput, writer?: $protobuf.Writer): $protobuf.Writer;
32333
+
32334
+ /**
32335
+ * Decodes a SigningInput message from the specified reader or buffer.
32336
+ * @param reader Reader or buffer to decode from
32337
+ * @param [length] Message length if known beforehand
32338
+ * @returns SigningInput
32339
+ * @throws {Error} If the payload is not a reader or valid buffer
32340
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32341
+ */
32342
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Pactus.Proto.SigningInput;
32343
+
32344
+ /**
32345
+ * Verifies a SigningInput message.
32346
+ * @param message Plain object to verify
32347
+ * @returns `null` if valid, otherwise the reason why it is not
32348
+ */
32349
+ public static verify(message: { [k: string]: any }): (string|null);
32350
+
32351
+ /**
32352
+ * Creates a SigningInput message from a plain object. Also converts values to their respective internal types.
32353
+ * @param object Plain object
32354
+ * @returns SigningInput
32355
+ */
32356
+ public static fromObject(object: { [k: string]: any }): TW.Pactus.Proto.SigningInput;
32357
+
32358
+ /**
32359
+ * Creates a plain object from a SigningInput message. Also converts values to other types if specified.
32360
+ * @param message SigningInput
32361
+ * @param [options] Conversion options
32362
+ * @returns Plain object
32363
+ */
32364
+ public static toObject(message: TW.Pactus.Proto.SigningInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
32365
+
32366
+ /**
32367
+ * Converts this SigningInput to JSON.
32368
+ * @returns JSON object
32369
+ */
32370
+ public toJSON(): { [k: string]: any };
32371
+ }
32372
+
32373
+ /** Properties of a SigningOutput. */
32374
+ interface ISigningOutput {
32375
+
32376
+ /** SigningOutput transactionId */
32377
+ transactionId?: (Uint8Array|null);
32378
+
32379
+ /** SigningOutput signedTransactionData */
32380
+ signedTransactionData?: (Uint8Array|null);
32381
+
32382
+ /** SigningOutput signature */
32383
+ signature?: (Uint8Array|null);
32384
+
32385
+ /** SigningOutput error */
32386
+ error?: (TW.Common.Proto.SigningError|null);
32387
+
32388
+ /** SigningOutput errorMessage */
32389
+ errorMessage?: (string|null);
32390
+ }
32391
+
32392
+ /** Represents a SigningOutput. */
32393
+ class SigningOutput implements ISigningOutput {
32394
+
32395
+ /**
32396
+ * Constructs a new SigningOutput.
32397
+ * @param [properties] Properties to set
32398
+ */
32399
+ constructor(properties?: TW.Pactus.Proto.ISigningOutput);
31933
32400
 
31934
- /** SigningOutput encoded. */
31935
- public encoded: Uint8Array;
32401
+ /** SigningOutput transactionId. */
32402
+ public transactionId: Uint8Array;
32403
+
32404
+ /** SigningOutput signedTransactionData. */
32405
+ public signedTransactionData: Uint8Array;
32406
+
32407
+ /** SigningOutput signature. */
32408
+ public signature: Uint8Array;
31936
32409
 
31937
32410
  /** SigningOutput error. */
31938
32411
  public error: TW.Common.Proto.SigningError;
@@ -31945,15 +32418,15 @@ export namespace TW {
31945
32418
  * @param [properties] Properties to set
31946
32419
  * @returns SigningOutput instance
31947
32420
  */
31948
- public static create(properties?: TW.Ontology.Proto.ISigningOutput): TW.Ontology.Proto.SigningOutput;
32421
+ public static create(properties?: TW.Pactus.Proto.ISigningOutput): TW.Pactus.Proto.SigningOutput;
31949
32422
 
31950
32423
  /**
31951
- * Encodes the specified SigningOutput message. Does not implicitly {@link TW.Ontology.Proto.SigningOutput.verify|verify} messages.
32424
+ * Encodes the specified SigningOutput message. Does not implicitly {@link TW.Pactus.Proto.SigningOutput.verify|verify} messages.
31952
32425
  * @param message SigningOutput message or plain object to encode
31953
32426
  * @param [writer] Writer to encode to
31954
32427
  * @returns Writer
31955
32428
  */
31956
- public static encode(message: TW.Ontology.Proto.ISigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
32429
+ public static encode(message: TW.Pactus.Proto.ISigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
31957
32430
 
31958
32431
  /**
31959
32432
  * Decodes a SigningOutput message from the specified reader or buffer.
@@ -31963,7 +32436,7 @@ export namespace TW {
31963
32436
  * @throws {Error} If the payload is not a reader or valid buffer
31964
32437
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31965
32438
  */
31966
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ontology.Proto.SigningOutput;
32439
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Pactus.Proto.SigningOutput;
31967
32440
 
31968
32441
  /**
31969
32442
  * Verifies a SigningOutput message.
@@ -31977,7 +32450,7 @@ export namespace TW {
31977
32450
  * @param object Plain object
31978
32451
  * @returns SigningOutput
31979
32452
  */
31980
- public static fromObject(object: { [k: string]: any }): TW.Ontology.Proto.SigningOutput;
32453
+ public static fromObject(object: { [k: string]: any }): TW.Pactus.Proto.SigningOutput;
31981
32454
 
31982
32455
  /**
31983
32456
  * Creates a plain object from a SigningOutput message. Also converts values to other types if specified.
@@ -31985,7 +32458,7 @@ export namespace TW {
31985
32458
  * @param [options] Conversion options
31986
32459
  * @returns Plain object
31987
32460
  */
31988
- public static toObject(message: TW.Ontology.Proto.SigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
32461
+ public static toObject(message: TW.Pactus.Proto.SigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
31989
32462
 
31990
32463
  /**
31991
32464
  * Converts this SigningOutput to JSON.
@@ -32926,6 +33399,12 @@ export namespace TW {
32926
33399
 
32927
33400
  /** BondAndNominate callIndices */
32928
33401
  callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
33402
+
33403
+ /** BondAndNominate bondCallIndices */
33404
+ bondCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
33405
+
33406
+ /** BondAndNominate nominateCallIndices */
33407
+ nominateCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
32929
33408
  }
32930
33409
 
32931
33410
  /** Represents a BondAndNominate. */
@@ -32952,6 +33431,12 @@ export namespace TW {
32952
33431
  /** BondAndNominate callIndices. */
32953
33432
  public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
32954
33433
 
33434
+ /** BondAndNominate bondCallIndices. */
33435
+ public bondCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
33436
+
33437
+ /** BondAndNominate nominateCallIndices. */
33438
+ public nominateCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
33439
+
32955
33440
  /**
32956
33441
  * Creates a new BondAndNominate instance using the specified properties.
32957
33442
  * @param [properties] Properties to set
@@ -33409,6 +33894,12 @@ export namespace TW {
33409
33894
 
33410
33895
  /** ChillAndUnbond callIndices */
33411
33896
  callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
33897
+
33898
+ /** ChillAndUnbond chillCallIndices */
33899
+ chillCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
33900
+
33901
+ /** ChillAndUnbond unbondCallIndices */
33902
+ unbondCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
33412
33903
  }
33413
33904
 
33414
33905
  /** Represents a ChillAndUnbond. */
@@ -33426,6 +33917,12 @@ export namespace TW {
33426
33917
  /** ChillAndUnbond callIndices. */
33427
33918
  public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
33428
33919
 
33920
+ /** ChillAndUnbond chillCallIndices. */
33921
+ public chillCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
33922
+
33923
+ /** ChillAndUnbond unbondCallIndices. */
33924
+ public unbondCallIndices?: (TW.Polkadot.Proto.ICallIndices|null);
33925
+
33429
33926
  /**
33430
33927
  * Creates a new ChillAndUnbond instance using the specified properties.
33431
33928
  * @param [properties] Properties to set
@@ -37743,6 +38240,255 @@ export namespace TW {
37743
38240
  */
37744
38241
  public toJSON(): { [k: string]: any };
37745
38242
  }
38243
+
38244
+ /** Properties of a MessageSigningInput. */
38245
+ interface IMessageSigningInput {
38246
+
38247
+ /** MessageSigningInput privateKey */
38248
+ privateKey?: (Uint8Array|null);
38249
+
38250
+ /** MessageSigningInput message */
38251
+ message?: (string|null);
38252
+ }
38253
+
38254
+ /** Represents a MessageSigningInput. */
38255
+ class MessageSigningInput implements IMessageSigningInput {
38256
+
38257
+ /**
38258
+ * Constructs a new MessageSigningInput.
38259
+ * @param [properties] Properties to set
38260
+ */
38261
+ constructor(properties?: TW.Solana.Proto.IMessageSigningInput);
38262
+
38263
+ /** MessageSigningInput privateKey. */
38264
+ public privateKey: Uint8Array;
38265
+
38266
+ /** MessageSigningInput message. */
38267
+ public message: string;
38268
+
38269
+ /**
38270
+ * Creates a new MessageSigningInput instance using the specified properties.
38271
+ * @param [properties] Properties to set
38272
+ * @returns MessageSigningInput instance
38273
+ */
38274
+ public static create(properties?: TW.Solana.Proto.IMessageSigningInput): TW.Solana.Proto.MessageSigningInput;
38275
+
38276
+ /**
38277
+ * Encodes the specified MessageSigningInput message. Does not implicitly {@link TW.Solana.Proto.MessageSigningInput.verify|verify} messages.
38278
+ * @param message MessageSigningInput message or plain object to encode
38279
+ * @param [writer] Writer to encode to
38280
+ * @returns Writer
38281
+ */
38282
+ public static encode(message: TW.Solana.Proto.IMessageSigningInput, writer?: $protobuf.Writer): $protobuf.Writer;
38283
+
38284
+ /**
38285
+ * Decodes a MessageSigningInput message from the specified reader or buffer.
38286
+ * @param reader Reader or buffer to decode from
38287
+ * @param [length] Message length if known beforehand
38288
+ * @returns MessageSigningInput
38289
+ * @throws {Error} If the payload is not a reader or valid buffer
38290
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38291
+ */
38292
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.MessageSigningInput;
38293
+
38294
+ /**
38295
+ * Verifies a MessageSigningInput message.
38296
+ * @param message Plain object to verify
38297
+ * @returns `null` if valid, otherwise the reason why it is not
38298
+ */
38299
+ public static verify(message: { [k: string]: any }): (string|null);
38300
+
38301
+ /**
38302
+ * Creates a MessageSigningInput message from a plain object. Also converts values to their respective internal types.
38303
+ * @param object Plain object
38304
+ * @returns MessageSigningInput
38305
+ */
38306
+ public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.MessageSigningInput;
38307
+
38308
+ /**
38309
+ * Creates a plain object from a MessageSigningInput message. Also converts values to other types if specified.
38310
+ * @param message MessageSigningInput
38311
+ * @param [options] Conversion options
38312
+ * @returns Plain object
38313
+ */
38314
+ public static toObject(message: TW.Solana.Proto.MessageSigningInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
38315
+
38316
+ /**
38317
+ * Converts this MessageSigningInput to JSON.
38318
+ * @returns JSON object
38319
+ */
38320
+ public toJSON(): { [k: string]: any };
38321
+ }
38322
+
38323
+ /** Properties of a MessageSigningOutput. */
38324
+ interface IMessageSigningOutput {
38325
+
38326
+ /** MessageSigningOutput signature */
38327
+ signature?: (string|null);
38328
+
38329
+ /** MessageSigningOutput error */
38330
+ error?: (TW.Common.Proto.SigningError|null);
38331
+
38332
+ /** MessageSigningOutput errorMessage */
38333
+ errorMessage?: (string|null);
38334
+ }
38335
+
38336
+ /** Represents a MessageSigningOutput. */
38337
+ class MessageSigningOutput implements IMessageSigningOutput {
38338
+
38339
+ /**
38340
+ * Constructs a new MessageSigningOutput.
38341
+ * @param [properties] Properties to set
38342
+ */
38343
+ constructor(properties?: TW.Solana.Proto.IMessageSigningOutput);
38344
+
38345
+ /** MessageSigningOutput signature. */
38346
+ public signature: string;
38347
+
38348
+ /** MessageSigningOutput error. */
38349
+ public error: TW.Common.Proto.SigningError;
38350
+
38351
+ /** MessageSigningOutput errorMessage. */
38352
+ public errorMessage: string;
38353
+
38354
+ /**
38355
+ * Creates a new MessageSigningOutput instance using the specified properties.
38356
+ * @param [properties] Properties to set
38357
+ * @returns MessageSigningOutput instance
38358
+ */
38359
+ public static create(properties?: TW.Solana.Proto.IMessageSigningOutput): TW.Solana.Proto.MessageSigningOutput;
38360
+
38361
+ /**
38362
+ * Encodes the specified MessageSigningOutput message. Does not implicitly {@link TW.Solana.Proto.MessageSigningOutput.verify|verify} messages.
38363
+ * @param message MessageSigningOutput message or plain object to encode
38364
+ * @param [writer] Writer to encode to
38365
+ * @returns Writer
38366
+ */
38367
+ public static encode(message: TW.Solana.Proto.IMessageSigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
38368
+
38369
+ /**
38370
+ * Decodes a MessageSigningOutput message from the specified reader or buffer.
38371
+ * @param reader Reader or buffer to decode from
38372
+ * @param [length] Message length if known beforehand
38373
+ * @returns MessageSigningOutput
38374
+ * @throws {Error} If the payload is not a reader or valid buffer
38375
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38376
+ */
38377
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.MessageSigningOutput;
38378
+
38379
+ /**
38380
+ * Verifies a MessageSigningOutput message.
38381
+ * @param message Plain object to verify
38382
+ * @returns `null` if valid, otherwise the reason why it is not
38383
+ */
38384
+ public static verify(message: { [k: string]: any }): (string|null);
38385
+
38386
+ /**
38387
+ * Creates a MessageSigningOutput message from a plain object. Also converts values to their respective internal types.
38388
+ * @param object Plain object
38389
+ * @returns MessageSigningOutput
38390
+ */
38391
+ public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.MessageSigningOutput;
38392
+
38393
+ /**
38394
+ * Creates a plain object from a MessageSigningOutput message. Also converts values to other types if specified.
38395
+ * @param message MessageSigningOutput
38396
+ * @param [options] Conversion options
38397
+ * @returns Plain object
38398
+ */
38399
+ public static toObject(message: TW.Solana.Proto.MessageSigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
38400
+
38401
+ /**
38402
+ * Converts this MessageSigningOutput to JSON.
38403
+ * @returns JSON object
38404
+ */
38405
+ public toJSON(): { [k: string]: any };
38406
+ }
38407
+
38408
+ /** Properties of a MessageVerifyingInput. */
38409
+ interface IMessageVerifyingInput {
38410
+
38411
+ /** MessageVerifyingInput message */
38412
+ message?: (string|null);
38413
+
38414
+ /** MessageVerifyingInput publicKey */
38415
+ publicKey?: (Uint8Array|null);
38416
+
38417
+ /** MessageVerifyingInput signature */
38418
+ signature?: (string|null);
38419
+ }
38420
+
38421
+ /** Represents a MessageVerifyingInput. */
38422
+ class MessageVerifyingInput implements IMessageVerifyingInput {
38423
+
38424
+ /**
38425
+ * Constructs a new MessageVerifyingInput.
38426
+ * @param [properties] Properties to set
38427
+ */
38428
+ constructor(properties?: TW.Solana.Proto.IMessageVerifyingInput);
38429
+
38430
+ /** MessageVerifyingInput message. */
38431
+ public message: string;
38432
+
38433
+ /** MessageVerifyingInput publicKey. */
38434
+ public publicKey: Uint8Array;
38435
+
38436
+ /** MessageVerifyingInput signature. */
38437
+ public signature: string;
38438
+
38439
+ /**
38440
+ * Creates a new MessageVerifyingInput instance using the specified properties.
38441
+ * @param [properties] Properties to set
38442
+ * @returns MessageVerifyingInput instance
38443
+ */
38444
+ public static create(properties?: TW.Solana.Proto.IMessageVerifyingInput): TW.Solana.Proto.MessageVerifyingInput;
38445
+
38446
+ /**
38447
+ * Encodes the specified MessageVerifyingInput message. Does not implicitly {@link TW.Solana.Proto.MessageVerifyingInput.verify|verify} messages.
38448
+ * @param message MessageVerifyingInput message or plain object to encode
38449
+ * @param [writer] Writer to encode to
38450
+ * @returns Writer
38451
+ */
38452
+ public static encode(message: TW.Solana.Proto.IMessageVerifyingInput, writer?: $protobuf.Writer): $protobuf.Writer;
38453
+
38454
+ /**
38455
+ * Decodes a MessageVerifyingInput message from the specified reader or buffer.
38456
+ * @param reader Reader or buffer to decode from
38457
+ * @param [length] Message length if known beforehand
38458
+ * @returns MessageVerifyingInput
38459
+ * @throws {Error} If the payload is not a reader or valid buffer
38460
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38461
+ */
38462
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.MessageVerifyingInput;
38463
+
38464
+ /**
38465
+ * Verifies a MessageVerifyingInput message.
38466
+ * @param message Plain object to verify
38467
+ * @returns `null` if valid, otherwise the reason why it is not
38468
+ */
38469
+ public static verify(message: { [k: string]: any }): (string|null);
38470
+
38471
+ /**
38472
+ * Creates a MessageVerifyingInput message from a plain object. Also converts values to their respective internal types.
38473
+ * @param object Plain object
38474
+ * @returns MessageVerifyingInput
38475
+ */
38476
+ public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.MessageVerifyingInput;
38477
+
38478
+ /**
38479
+ * Creates a plain object from a MessageVerifyingInput message. Also converts values to other types if specified.
38480
+ * @param message MessageVerifyingInput
38481
+ * @param [options] Conversion options
38482
+ * @returns Plain object
38483
+ */
38484
+ public static toObject(message: TW.Solana.Proto.MessageVerifyingInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
38485
+
38486
+ /**
38487
+ * Converts this MessageVerifyingInput to JSON.
38488
+ * @returns JSON object
38489
+ */
38490
+ public toJSON(): { [k: string]: any };
38491
+ }
37746
38492
  }
37747
38493
  }
37748
38494
 
@@ -43679,6 +44425,9 @@ export namespace TW {
43679
44425
  /** Transaction feeLimit */
43680
44426
  feeLimit?: (Long|null);
43681
44427
 
44428
+ /** Transaction memo */
44429
+ memo?: (string|null);
44430
+
43682
44431
  /** Transaction transfer */
43683
44432
  transfer?: (TW.Tron.Proto.ITransferContract|null);
43684
44433
 
@@ -43746,6 +44495,9 @@ export namespace TW {
43746
44495
  /** Transaction feeLimit. */
43747
44496
  public feeLimit: Long;
43748
44497
 
44498
+ /** Transaction memo. */
44499
+ public memo: string;
44500
+
43749
44501
  /** Transaction transfer. */
43750
44502
  public transfer?: (TW.Tron.Proto.ITransferContract|null);
43751
44503