@trustwallet/wallet-core 4.2.0-dev-rc1 → 4.2.0-dev-rc3

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
@@ -31996,6 +32009,466 @@ export namespace TW {
31996
32009
  }
31997
32010
  }
31998
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);
32400
+
32401
+ /** SigningOutput transactionId. */
32402
+ public transactionId: Uint8Array;
32403
+
32404
+ /** SigningOutput signedTransactionData. */
32405
+ public signedTransactionData: Uint8Array;
32406
+
32407
+ /** SigningOutput signature. */
32408
+ public signature: Uint8Array;
32409
+
32410
+ /** SigningOutput error. */
32411
+ public error: TW.Common.Proto.SigningError;
32412
+
32413
+ /** SigningOutput errorMessage. */
32414
+ public errorMessage: string;
32415
+
32416
+ /**
32417
+ * Creates a new SigningOutput instance using the specified properties.
32418
+ * @param [properties] Properties to set
32419
+ * @returns SigningOutput instance
32420
+ */
32421
+ public static create(properties?: TW.Pactus.Proto.ISigningOutput): TW.Pactus.Proto.SigningOutput;
32422
+
32423
+ /**
32424
+ * Encodes the specified SigningOutput message. Does not implicitly {@link TW.Pactus.Proto.SigningOutput.verify|verify} messages.
32425
+ * @param message SigningOutput message or plain object to encode
32426
+ * @param [writer] Writer to encode to
32427
+ * @returns Writer
32428
+ */
32429
+ public static encode(message: TW.Pactus.Proto.ISigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
32430
+
32431
+ /**
32432
+ * Decodes a SigningOutput message from the specified reader or buffer.
32433
+ * @param reader Reader or buffer to decode from
32434
+ * @param [length] Message length if known beforehand
32435
+ * @returns SigningOutput
32436
+ * @throws {Error} If the payload is not a reader or valid buffer
32437
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32438
+ */
32439
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Pactus.Proto.SigningOutput;
32440
+
32441
+ /**
32442
+ * Verifies a SigningOutput message.
32443
+ * @param message Plain object to verify
32444
+ * @returns `null` if valid, otherwise the reason why it is not
32445
+ */
32446
+ public static verify(message: { [k: string]: any }): (string|null);
32447
+
32448
+ /**
32449
+ * Creates a SigningOutput message from a plain object. Also converts values to their respective internal types.
32450
+ * @param object Plain object
32451
+ * @returns SigningOutput
32452
+ */
32453
+ public static fromObject(object: { [k: string]: any }): TW.Pactus.Proto.SigningOutput;
32454
+
32455
+ /**
32456
+ * Creates a plain object from a SigningOutput message. Also converts values to other types if specified.
32457
+ * @param message SigningOutput
32458
+ * @param [options] Conversion options
32459
+ * @returns Plain object
32460
+ */
32461
+ public static toObject(message: TW.Pactus.Proto.SigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
32462
+
32463
+ /**
32464
+ * Converts this SigningOutput to JSON.
32465
+ * @returns JSON object
32466
+ */
32467
+ public toJSON(): { [k: string]: any };
32468
+ }
32469
+ }
32470
+ }
32471
+
31999
32472
  /** Namespace Polkadot. */
32000
32473
  namespace Polkadot {
32001
32474
 
@@ -40921,11 +41394,14 @@ export namespace TW {
40921
41394
  /** Transfer bounceable */
40922
41395
  bounceable?: (boolean|null);
40923
41396
 
41397
+ /** Transfer stateInit */
41398
+ stateInit?: (string|null);
41399
+
40924
41400
  /** Transfer jettonTransfer */
40925
41401
  jettonTransfer?: (TW.TheOpenNetwork.Proto.IJettonTransfer|null);
40926
41402
 
40927
41403
  /** Transfer customPayload */
40928
- customPayload?: (TW.TheOpenNetwork.Proto.ICustomPayload|null);
41404
+ customPayload?: (string|null);
40929
41405
  }
40930
41406
 
40931
41407
  /** Represents a Transfer. */
@@ -40952,11 +41428,14 @@ export namespace TW {
40952
41428
  /** Transfer bounceable. */
40953
41429
  public bounceable: boolean;
40954
41430
 
41431
+ /** Transfer stateInit. */
41432
+ public stateInit: string;
41433
+
40955
41434
  /** Transfer jettonTransfer. */
40956
41435
  public jettonTransfer?: (TW.TheOpenNetwork.Proto.IJettonTransfer|null);
40957
41436
 
40958
41437
  /** Transfer customPayload. */
40959
- public customPayload?: (TW.TheOpenNetwork.Proto.ICustomPayload|null);
41438
+ public customPayload?: (string|null);
40960
41439
 
40961
41440
  /** Transfer payload. */
40962
41441
  public payload?: ("jettonTransfer"|"customPayload");
@@ -41032,6 +41511,9 @@ export namespace TW {
41032
41511
 
41033
41512
  /** JettonTransfer forwardAmount */
41034
41513
  forwardAmount?: (Long|null);
41514
+
41515
+ /** JettonTransfer customPayload */
41516
+ customPayload?: (string|null);
41035
41517
  }
41036
41518
 
41037
41519
  /** Represents a JettonTransfer. */
@@ -41058,6 +41540,9 @@ export namespace TW {
41058
41540
  /** JettonTransfer forwardAmount. */
41059
41541
  public forwardAmount: Long;
41060
41542
 
41543
+ /** JettonTransfer customPayload. */
41544
+ public customPayload: string;
41545
+
41061
41546
  /**
41062
41547
  * Creates a new JettonTransfer instance using the specified properties.
41063
41548
  * @param [properties] Properties to set
@@ -41112,85 +41597,6 @@ export namespace TW {
41112
41597
  public toJSON(): { [k: string]: any };
41113
41598
  }
41114
41599
 
41115
- /** Properties of a CustomPayload. */
41116
- interface ICustomPayload {
41117
-
41118
- /** CustomPayload stateInit */
41119
- stateInit?: (string|null);
41120
-
41121
- /** CustomPayload payload */
41122
- payload?: (string|null);
41123
- }
41124
-
41125
- /** Represents a CustomPayload. */
41126
- class CustomPayload implements ICustomPayload {
41127
-
41128
- /**
41129
- * Constructs a new CustomPayload.
41130
- * @param [properties] Properties to set
41131
- */
41132
- constructor(properties?: TW.TheOpenNetwork.Proto.ICustomPayload);
41133
-
41134
- /** CustomPayload stateInit. */
41135
- public stateInit: string;
41136
-
41137
- /** CustomPayload payload. */
41138
- public payload: string;
41139
-
41140
- /**
41141
- * Creates a new CustomPayload instance using the specified properties.
41142
- * @param [properties] Properties to set
41143
- * @returns CustomPayload instance
41144
- */
41145
- public static create(properties?: TW.TheOpenNetwork.Proto.ICustomPayload): TW.TheOpenNetwork.Proto.CustomPayload;
41146
-
41147
- /**
41148
- * Encodes the specified CustomPayload message. Does not implicitly {@link TW.TheOpenNetwork.Proto.CustomPayload.verify|verify} messages.
41149
- * @param message CustomPayload message or plain object to encode
41150
- * @param [writer] Writer to encode to
41151
- * @returns Writer
41152
- */
41153
- public static encode(message: TW.TheOpenNetwork.Proto.ICustomPayload, writer?: $protobuf.Writer): $protobuf.Writer;
41154
-
41155
- /**
41156
- * Decodes a CustomPayload message from the specified reader or buffer.
41157
- * @param reader Reader or buffer to decode from
41158
- * @param [length] Message length if known beforehand
41159
- * @returns CustomPayload
41160
- * @throws {Error} If the payload is not a reader or valid buffer
41161
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
41162
- */
41163
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.TheOpenNetwork.Proto.CustomPayload;
41164
-
41165
- /**
41166
- * Verifies a CustomPayload message.
41167
- * @param message Plain object to verify
41168
- * @returns `null` if valid, otherwise the reason why it is not
41169
- */
41170
- public static verify(message: { [k: string]: any }): (string|null);
41171
-
41172
- /**
41173
- * Creates a CustomPayload message from a plain object. Also converts values to their respective internal types.
41174
- * @param object Plain object
41175
- * @returns CustomPayload
41176
- */
41177
- public static fromObject(object: { [k: string]: any }): TW.TheOpenNetwork.Proto.CustomPayload;
41178
-
41179
- /**
41180
- * Creates a plain object from a CustomPayload message. Also converts values to other types if specified.
41181
- * @param message CustomPayload
41182
- * @param [options] Conversion options
41183
- * @returns Plain object
41184
- */
41185
- public static toObject(message: TW.TheOpenNetwork.Proto.CustomPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
41186
-
41187
- /**
41188
- * Converts this CustomPayload to JSON.
41189
- * @returns JSON object
41190
- */
41191
- public toJSON(): { [k: string]: any };
41192
- }
41193
-
41194
41600
  /** Properties of a SigningInput. */
41195
41601
  interface ISigningInput {
41196
41602
 
@@ -43746,6 +44152,9 @@ export namespace TW {
43746
44152
  /** Transaction feeLimit */
43747
44153
  feeLimit?: (Long|null);
43748
44154
 
44155
+ /** Transaction memo */
44156
+ memo?: (string|null);
44157
+
43749
44158
  /** Transaction transfer */
43750
44159
  transfer?: (TW.Tron.Proto.ITransferContract|null);
43751
44160
 
@@ -43813,6 +44222,9 @@ export namespace TW {
43813
44222
  /** Transaction feeLimit. */
43814
44223
  public feeLimit: Long;
43815
44224
 
44225
+ /** Transaction memo. */
44226
+ public memo: string;
44227
+
43816
44228
  /** Transaction transfer. */
43817
44229
  public transfer?: (TW.Tron.Proto.ITransferContract|null);
43818
44230