@trustwallet/wallet-core 4.2.12 → 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.
@@ -35959,14 +35959,1744 @@ export namespace TW {
35959
35959
  }
35960
35960
  }
35961
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 };
37264
+
37265
+ /**
37266
+ * Converts this PortfolioId to JSON.
37267
+ * @returns JSON object
37268
+ */
37269
+ public toJSON(): { [k: string]: any };
37270
+ }
37271
+
37272
+ /** Properties of a SecondaryKeyPermissions. */
37273
+ interface ISecondaryKeyPermissions {
37274
+
37275
+ /** SecondaryKeyPermissions asset */
37276
+ asset?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IAssetPermissions|null);
37277
+
37278
+ /** SecondaryKeyPermissions extrinsic */
37279
+ extrinsic?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IExtrinsicPermissions|null);
37280
+
37281
+ /** SecondaryKeyPermissions portfolio */
37282
+ portfolio?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IPortfolioPermissions|null);
37283
+ }
37284
+
37285
+ /** Represents a SecondaryKeyPermissions. */
37286
+ class SecondaryKeyPermissions implements ISecondaryKeyPermissions {
37287
+
37288
+ /**
37289
+ * Constructs a new SecondaryKeyPermissions.
37290
+ * @param [properties] Properties to set
37291
+ */
37292
+ constructor(properties?: TW.Polymesh.Proto.ISecondaryKeyPermissions);
37293
+
37294
+ /** SecondaryKeyPermissions asset. */
37295
+ public asset?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IAssetPermissions|null);
37296
+
37297
+ /** SecondaryKeyPermissions extrinsic. */
37298
+ public extrinsic?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IExtrinsicPermissions|null);
37299
+
37300
+ /** SecondaryKeyPermissions portfolio. */
37301
+ public portfolio?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IPortfolioPermissions|null);
37302
+
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;
37309
+
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;
37317
+
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;
37327
+
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);
37334
+
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;
37341
+
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 };
37349
+
37350
+ /**
37351
+ * Converts this SecondaryKeyPermissions to JSON.
37352
+ * @returns JSON object
37353
+ */
37354
+ public toJSON(): { [k: string]: any };
37355
+ }
37356
+
37357
+ namespace SecondaryKeyPermissions {
37358
+
37359
+ /** RestrictionKind enum. */
37360
+ enum RestrictionKind {
37361
+ Whole = 0,
37362
+ These = 1,
37363
+ Except = 2
37364
+ }
37365
+
37366
+ /** Properties of an AssetPermissions. */
37367
+ interface IAssetPermissions {
37368
+
37369
+ /** AssetPermissions kind */
37370
+ kind?: (TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind|null);
37371
+
37372
+ /** AssetPermissions assets */
37373
+ assets?: (TW.Polymesh.Proto.IAssetId[]|null);
37374
+ }
37375
+
37376
+ /** Represents an AssetPermissions. */
37377
+ class AssetPermissions implements IAssetPermissions {
37378
+
37379
+ /**
37380
+ * Constructs a new AssetPermissions.
37381
+ * @param [properties] Properties to set
37382
+ */
37383
+ constructor(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IAssetPermissions);
37384
+
37385
+ /** AssetPermissions kind. */
37386
+ public kind: TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind;
37387
+
37388
+ /** AssetPermissions assets. */
37389
+ public assets: TW.Polymesh.Proto.IAssetId[];
37390
+
37391
+ /**
37392
+ * Creates a new AssetPermissions instance using the specified properties.
37393
+ * @param [properties] Properties to set
37394
+ * @returns AssetPermissions instance
37395
+ */
37396
+ public static create(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IAssetPermissions): TW.Polymesh.Proto.SecondaryKeyPermissions.AssetPermissions;
37397
+
37398
+ /**
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
37401
+ * @param [writer] Writer to encode to
37402
+ * @returns Writer
37403
+ */
37404
+ public static encode(message: TW.Polymesh.Proto.SecondaryKeyPermissions.IAssetPermissions, writer?: $protobuf.Writer): $protobuf.Writer;
37405
+
37406
+ /**
37407
+ * Decodes an AssetPermissions message from the specified reader or buffer.
37408
+ * @param reader Reader or buffer to decode from
37409
+ * @param [length] Message length if known beforehand
37410
+ * @returns AssetPermissions
37411
+ * @throws {Error} If the payload is not a reader or valid buffer
37412
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37413
+ */
37414
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SecondaryKeyPermissions.AssetPermissions;
37415
+
37416
+ /**
37417
+ * Verifies an AssetPermissions message.
37418
+ * @param message Plain object to verify
37419
+ * @returns `null` if valid, otherwise the reason why it is not
37420
+ */
37421
+ public static verify(message: { [k: string]: any }): (string|null);
37422
+
37423
+ /**
37424
+ * Creates an AssetPermissions message from a plain object. Also converts values to their respective internal types.
37425
+ * @param object Plain object
37426
+ * @returns AssetPermissions
37427
+ */
37428
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SecondaryKeyPermissions.AssetPermissions;
37429
+
37430
+ /**
37431
+ * Creates a plain object from an AssetPermissions message. Also converts values to other types if specified.
37432
+ * @param message AssetPermissions
37433
+ * @param [options] Conversion options
37434
+ * @returns Plain object
37435
+ */
37436
+ public static toObject(message: TW.Polymesh.Proto.SecondaryKeyPermissions.AssetPermissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
37437
+
37438
+ /**
37439
+ * Converts this AssetPermissions to JSON.
37440
+ * @returns JSON object
37441
+ */
37442
+ public toJSON(): { [k: string]: any };
37443
+ }
37444
+
37445
+ /** Properties of a PortfolioPermissions. */
37446
+ interface IPortfolioPermissions {
37447
+
37448
+ /** PortfolioPermissions kind */
37449
+ kind?: (TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind|null);
37450
+
37451
+ /** PortfolioPermissions portfolios */
37452
+ portfolios?: (TW.Polymesh.Proto.IPortfolioId[]|null);
37453
+ }
37454
+
37455
+ /** Represents a PortfolioPermissions. */
37456
+ class PortfolioPermissions implements IPortfolioPermissions {
37457
+
37458
+ /**
37459
+ * Constructs a new PortfolioPermissions.
37460
+ * @param [properties] Properties to set
37461
+ */
37462
+ constructor(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IPortfolioPermissions);
37463
+
37464
+ /** PortfolioPermissions kind. */
37465
+ public kind: TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind;
37466
+
37467
+ /** PortfolioPermissions portfolios. */
37468
+ public portfolios: TW.Polymesh.Proto.IPortfolioId[];
37469
+
37470
+ /**
37471
+ * Creates a new PortfolioPermissions instance using the specified properties.
37472
+ * @param [properties] Properties to set
37473
+ * @returns PortfolioPermissions instance
37474
+ */
37475
+ public static create(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IPortfolioPermissions): TW.Polymesh.Proto.SecondaryKeyPermissions.PortfolioPermissions;
37476
+
37477
+ /**
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
37480
+ * @param [writer] Writer to encode to
37481
+ * @returns Writer
37482
+ */
37483
+ public static encode(message: TW.Polymesh.Proto.SecondaryKeyPermissions.IPortfolioPermissions, writer?: $protobuf.Writer): $protobuf.Writer;
37484
+
37485
+ /**
37486
+ * Decodes a PortfolioPermissions message from the specified reader or buffer.
37487
+ * @param reader Reader or buffer to decode from
37488
+ * @param [length] Message length if known beforehand
37489
+ * @returns PortfolioPermissions
37490
+ * @throws {Error} If the payload is not a reader or valid buffer
37491
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37492
+ */
37493
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SecondaryKeyPermissions.PortfolioPermissions;
37494
+
37495
+ /**
37496
+ * Verifies a PortfolioPermissions message.
37497
+ * @param message Plain object to verify
37498
+ * @returns `null` if valid, otherwise the reason why it is not
37499
+ */
37500
+ public static verify(message: { [k: string]: any }): (string|null);
37501
+
37502
+ /**
37503
+ * Creates a PortfolioPermissions message from a plain object. Also converts values to their respective internal types.
37504
+ * @param object Plain object
37505
+ * @returns PortfolioPermissions
37506
+ */
37507
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SecondaryKeyPermissions.PortfolioPermissions;
37508
+
37509
+ /**
37510
+ * Creates a plain object from a PortfolioPermissions message. Also converts values to other types if specified.
37511
+ * @param message PortfolioPermissions
37512
+ * @param [options] Conversion options
37513
+ * @returns Plain object
37514
+ */
37515
+ public static toObject(message: TW.Polymesh.Proto.SecondaryKeyPermissions.PortfolioPermissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
37516
+
37517
+ /**
37518
+ * Converts this PortfolioPermissions to JSON.
37519
+ * @returns JSON object
37520
+ */
37521
+ public toJSON(): { [k: string]: any };
37522
+ }
37523
+
37524
+ /** Properties of a PalletPermissions. */
37525
+ interface IPalletPermissions {
37526
+
37527
+ /** PalletPermissions palletName */
37528
+ palletName?: (string|null);
37529
+
37530
+ /** PalletPermissions kind */
37531
+ kind?: (TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind|null);
37532
+
37533
+ /** PalletPermissions extrinsicNames */
37534
+ extrinsicNames?: (string[]|null);
37535
+ }
37536
+
37537
+ /** Represents a PalletPermissions. */
37538
+ class PalletPermissions implements IPalletPermissions {
37539
+
37540
+ /**
37541
+ * Constructs a new PalletPermissions.
37542
+ * @param [properties] Properties to set
37543
+ */
37544
+ constructor(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IPalletPermissions);
37545
+
37546
+ /** PalletPermissions palletName. */
37547
+ public palletName: string;
37548
+
37549
+ /** PalletPermissions kind. */
37550
+ public kind: TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind;
37551
+
37552
+ /** PalletPermissions extrinsicNames. */
37553
+ public extrinsicNames: string[];
37554
+
37555
+ /**
37556
+ * Creates a new PalletPermissions instance using the specified properties.
37557
+ * @param [properties] Properties to set
37558
+ * @returns PalletPermissions instance
37559
+ */
37560
+ public static create(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IPalletPermissions): TW.Polymesh.Proto.SecondaryKeyPermissions.PalletPermissions;
37561
+
37562
+ /**
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
37565
+ * @param [writer] Writer to encode to
37566
+ * @returns Writer
37567
+ */
37568
+ public static encode(message: TW.Polymesh.Proto.SecondaryKeyPermissions.IPalletPermissions, writer?: $protobuf.Writer): $protobuf.Writer;
37569
+
37570
+ /**
37571
+ * Decodes a PalletPermissions message from the specified reader or buffer.
37572
+ * @param reader Reader or buffer to decode from
37573
+ * @param [length] Message length if known beforehand
37574
+ * @returns PalletPermissions
37575
+ * @throws {Error} If the payload is not a reader or valid buffer
37576
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37577
+ */
37578
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SecondaryKeyPermissions.PalletPermissions;
37579
+
37580
+ /**
37581
+ * Verifies a PalletPermissions message.
37582
+ * @param message Plain object to verify
37583
+ * @returns `null` if valid, otherwise the reason why it is not
37584
+ */
37585
+ public static verify(message: { [k: string]: any }): (string|null);
37586
+
37587
+ /**
37588
+ * Creates a PalletPermissions message from a plain object. Also converts values to their respective internal types.
37589
+ * @param object Plain object
37590
+ * @returns PalletPermissions
37591
+ */
37592
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SecondaryKeyPermissions.PalletPermissions;
37593
+
37594
+ /**
37595
+ * Creates a plain object from a PalletPermissions message. Also converts values to other types if specified.
37596
+ * @param message PalletPermissions
37597
+ * @param [options] Conversion options
37598
+ * @returns Plain object
37599
+ */
37600
+ public static toObject(message: TW.Polymesh.Proto.SecondaryKeyPermissions.PalletPermissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
37601
+
37602
+ /**
37603
+ * Converts this PalletPermissions to JSON.
37604
+ * @returns JSON object
37605
+ */
37606
+ public toJSON(): { [k: string]: any };
37607
+ }
37608
+
37609
+ /** Properties of an ExtrinsicPermissions. */
37610
+ interface IExtrinsicPermissions {
37611
+
37612
+ /** ExtrinsicPermissions kind */
37613
+ kind?: (TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind|null);
37614
+
37615
+ /** ExtrinsicPermissions pallets */
37616
+ pallets?: (TW.Polymesh.Proto.SecondaryKeyPermissions.IPalletPermissions[]|null);
37617
+ }
37618
+
37619
+ /** Represents an ExtrinsicPermissions. */
37620
+ class ExtrinsicPermissions implements IExtrinsicPermissions {
37621
+
37622
+ /**
37623
+ * Constructs a new ExtrinsicPermissions.
37624
+ * @param [properties] Properties to set
37625
+ */
37626
+ constructor(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IExtrinsicPermissions);
37627
+
37628
+ /** ExtrinsicPermissions kind. */
37629
+ public kind: TW.Polymesh.Proto.SecondaryKeyPermissions.RestrictionKind;
37630
+
37631
+ /** ExtrinsicPermissions pallets. */
37632
+ public pallets: TW.Polymesh.Proto.SecondaryKeyPermissions.IPalletPermissions[];
37633
+
37634
+ /**
37635
+ * Creates a new ExtrinsicPermissions instance using the specified properties.
37636
+ * @param [properties] Properties to set
37637
+ * @returns ExtrinsicPermissions instance
37638
+ */
37639
+ public static create(properties?: TW.Polymesh.Proto.SecondaryKeyPermissions.IExtrinsicPermissions): TW.Polymesh.Proto.SecondaryKeyPermissions.ExtrinsicPermissions;
37640
+
37641
+ /**
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
37644
+ * @param [writer] Writer to encode to
37645
+ * @returns Writer
37646
+ */
37647
+ public static encode(message: TW.Polymesh.Proto.SecondaryKeyPermissions.IExtrinsicPermissions, writer?: $protobuf.Writer): $protobuf.Writer;
37648
+
37649
+ /**
37650
+ * Decodes an ExtrinsicPermissions message from the specified reader or buffer.
37651
+ * @param reader Reader or buffer to decode from
37652
+ * @param [length] Message length if known beforehand
37653
+ * @returns ExtrinsicPermissions
37654
+ * @throws {Error} If the payload is not a reader or valid buffer
37655
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37656
+ */
37657
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SecondaryKeyPermissions.ExtrinsicPermissions;
37658
+
37659
+ /**
37660
+ * Verifies an ExtrinsicPermissions message.
37661
+ * @param message Plain object to verify
37662
+ * @returns `null` if valid, otherwise the reason why it is not
37663
+ */
37664
+ public static verify(message: { [k: string]: any }): (string|null);
37665
+
37666
+ /**
37667
+ * Creates an ExtrinsicPermissions message from a plain object. Also converts values to their respective internal types.
37668
+ * @param object Plain object
37669
+ * @returns ExtrinsicPermissions
37670
+ */
37671
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SecondaryKeyPermissions.ExtrinsicPermissions;
37672
+
37673
+ /**
37674
+ * Creates a plain object from an ExtrinsicPermissions message. Also converts values to other types if specified.
37675
+ * @param message ExtrinsicPermissions
37676
+ * @param [options] Conversion options
37677
+ * @returns Plain object
37678
+ */
37679
+ public static toObject(message: TW.Polymesh.Proto.SecondaryKeyPermissions.ExtrinsicPermissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
37680
+
37681
+ /**
37682
+ * Converts this ExtrinsicPermissions to JSON.
37683
+ * @returns JSON object
37684
+ */
37685
+ public toJSON(): { [k: string]: any };
37686
+ }
37687
+ }
37688
+
35962
37689
  /** Properties of an Identity. */
35963
37690
  interface IIdentity {
35964
37691
 
35965
37692
  /** Identity joinIdentityAsKey */
35966
- joinIdentityAsKey?: (TW.Polkadot.Proto.Identity.IJoinIdentityAsKey|null);
37693
+ joinIdentityAsKey?: (TW.Polymesh.Proto.Identity.IJoinIdentityAsKey|null);
35967
37694
 
35968
37695
  /** Identity addAuthorization */
35969
- addAuthorization?: (TW.Polkadot.Proto.Identity.IAddAuthorization|null);
37696
+ addAuthorization?: (TW.Polymesh.Proto.Identity.IAddAuthorization|null);
37697
+
37698
+ /** Identity leaveIdentityAsKey */
37699
+ leaveIdentityAsKey?: (TW.Polymesh.Proto.Identity.ILeaveIdentityAsKey|null);
35970
37700
  }
35971
37701
 
35972
37702
  /** Represents an Identity. */
@@ -35976,31 +37706,34 @@ export namespace TW {
35976
37706
  * Constructs a new Identity.
35977
37707
  * @param [properties] Properties to set
35978
37708
  */
35979
- constructor(properties?: TW.Polkadot.Proto.IIdentity);
37709
+ constructor(properties?: TW.Polymesh.Proto.IIdentity);
35980
37710
 
35981
37711
  /** Identity joinIdentityAsKey. */
35982
- public joinIdentityAsKey?: (TW.Polkadot.Proto.Identity.IJoinIdentityAsKey|null);
37712
+ public joinIdentityAsKey?: (TW.Polymesh.Proto.Identity.IJoinIdentityAsKey|null);
35983
37713
 
35984
37714
  /** Identity addAuthorization. */
35985
- public addAuthorization?: (TW.Polkadot.Proto.Identity.IAddAuthorization|null);
37715
+ public addAuthorization?: (TW.Polymesh.Proto.Identity.IAddAuthorization|null);
37716
+
37717
+ /** Identity leaveIdentityAsKey. */
37718
+ public leaveIdentityAsKey?: (TW.Polymesh.Proto.Identity.ILeaveIdentityAsKey|null);
35986
37719
 
35987
37720
  /** Identity messageOneof. */
35988
- public messageOneof?: ("joinIdentityAsKey"|"addAuthorization");
37721
+ public messageOneof?: ("joinIdentityAsKey"|"addAuthorization"|"leaveIdentityAsKey");
35989
37722
 
35990
37723
  /**
35991
37724
  * Creates a new Identity instance using the specified properties.
35992
37725
  * @param [properties] Properties to set
35993
37726
  * @returns Identity instance
35994
37727
  */
35995
- public static create(properties?: TW.Polkadot.Proto.IIdentity): TW.Polkadot.Proto.Identity;
37728
+ public static create(properties?: TW.Polymesh.Proto.IIdentity): TW.Polymesh.Proto.Identity;
35996
37729
 
35997
37730
  /**
35998
- * Encodes the specified Identity message. Does not implicitly {@link TW.Polkadot.Proto.Identity.verify|verify} messages.
37731
+ * Encodes the specified Identity message. Does not implicitly {@link TW.Polymesh.Proto.Identity.verify|verify} messages.
35999
37732
  * @param message Identity message or plain object to encode
36000
37733
  * @param [writer] Writer to encode to
36001
37734
  * @returns Writer
36002
37735
  */
36003
- public static encode(message: TW.Polkadot.Proto.IIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
37736
+ public static encode(message: TW.Polymesh.Proto.IIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
36004
37737
 
36005
37738
  /**
36006
37739
  * Decodes an Identity message from the specified reader or buffer.
@@ -36010,7 +37743,7 @@ export namespace TW {
36010
37743
  * @throws {Error} If the payload is not a reader or valid buffer
36011
37744
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
36012
37745
  */
36013
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Identity;
37746
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Identity;
36014
37747
 
36015
37748
  /**
36016
37749
  * Verifies an Identity message.
@@ -36024,7 +37757,7 @@ export namespace TW {
36024
37757
  * @param object Plain object
36025
37758
  * @returns Identity
36026
37759
  */
36027
- public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Identity;
37760
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Identity;
36028
37761
 
36029
37762
  /**
36030
37763
  * Creates a plain object from an Identity message. Also converts values to other types if specified.
@@ -36032,7 +37765,7 @@ export namespace TW {
36032
37765
  * @param [options] Conversion options
36033
37766
  * @returns Plain object
36034
37767
  */
36035
- public static toObject(message: TW.Polkadot.Proto.Identity, options?: $protobuf.IConversionOptions): { [k: string]: any };
37768
+ public static toObject(message: TW.Polymesh.Proto.Identity, options?: $protobuf.IConversionOptions): { [k: string]: any };
36036
37769
 
36037
37770
  /**
36038
37771
  * Converts this Identity to JSON.
@@ -36060,7 +37793,7 @@ export namespace TW {
36060
37793
  * Constructs a new JoinIdentityAsKey.
36061
37794
  * @param [properties] Properties to set
36062
37795
  */
36063
- constructor(properties?: TW.Polkadot.Proto.Identity.IJoinIdentityAsKey);
37796
+ constructor(properties?: TW.Polymesh.Proto.Identity.IJoinIdentityAsKey);
36064
37797
 
36065
37798
  /** JoinIdentityAsKey callIndices. */
36066
37799
  public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
@@ -36073,15 +37806,15 @@ export namespace TW {
36073
37806
  * @param [properties] Properties to set
36074
37807
  * @returns JoinIdentityAsKey instance
36075
37808
  */
36076
- public static create(properties?: TW.Polkadot.Proto.Identity.IJoinIdentityAsKey): TW.Polkadot.Proto.Identity.JoinIdentityAsKey;
37809
+ public static create(properties?: TW.Polymesh.Proto.Identity.IJoinIdentityAsKey): TW.Polymesh.Proto.Identity.JoinIdentityAsKey;
36077
37810
 
36078
37811
  /**
36079
- * Encodes the specified JoinIdentityAsKey message. Does not implicitly {@link TW.Polkadot.Proto.Identity.JoinIdentityAsKey.verify|verify} messages.
37812
+ * Encodes the specified JoinIdentityAsKey message. Does not implicitly {@link TW.Polymesh.Proto.Identity.JoinIdentityAsKey.verify|verify} messages.
36080
37813
  * @param message JoinIdentityAsKey message or plain object to encode
36081
37814
  * @param [writer] Writer to encode to
36082
37815
  * @returns Writer
36083
37816
  */
36084
- public static encode(message: TW.Polkadot.Proto.Identity.IJoinIdentityAsKey, writer?: $protobuf.Writer): $protobuf.Writer;
37817
+ public static encode(message: TW.Polymesh.Proto.Identity.IJoinIdentityAsKey, writer?: $protobuf.Writer): $protobuf.Writer;
36085
37818
 
36086
37819
  /**
36087
37820
  * Decodes a JoinIdentityAsKey message from the specified reader or buffer.
@@ -36091,7 +37824,7 @@ export namespace TW {
36091
37824
  * @throws {Error} If the payload is not a reader or valid buffer
36092
37825
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
36093
37826
  */
36094
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Identity.JoinIdentityAsKey;
37827
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Identity.JoinIdentityAsKey;
36095
37828
 
36096
37829
  /**
36097
37830
  * Verifies a JoinIdentityAsKey message.
@@ -36105,7 +37838,7 @@ export namespace TW {
36105
37838
  * @param object Plain object
36106
37839
  * @returns JoinIdentityAsKey
36107
37840
  */
36108
- public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Identity.JoinIdentityAsKey;
37841
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Identity.JoinIdentityAsKey;
36109
37842
 
36110
37843
  /**
36111
37844
  * Creates a plain object from a JoinIdentityAsKey message. Also converts values to other types if specified.
@@ -36113,7 +37846,7 @@ export namespace TW {
36113
37846
  * @param [options] Conversion options
36114
37847
  * @returns Plain object
36115
37848
  */
36116
- public static toObject(message: TW.Polkadot.Proto.Identity.JoinIdentityAsKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
37849
+ public static toObject(message: TW.Polymesh.Proto.Identity.JoinIdentityAsKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
36117
37850
 
36118
37851
  /**
36119
37852
  * Converts this JoinIdentityAsKey to JSON.
@@ -36122,6 +37855,79 @@ export namespace TW {
36122
37855
  public toJSON(): { [k: string]: any };
36123
37856
  }
36124
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
+
36125
37931
  /** Properties of an AddAuthorization. */
36126
37932
  interface IAddAuthorization {
36127
37933
 
@@ -36131,8 +37937,8 @@ export namespace TW {
36131
37937
  /** AddAuthorization target */
36132
37938
  target?: (string|null);
36133
37939
 
36134
- /** AddAuthorization data */
36135
- data?: (TW.Polkadot.Proto.Identity.AddAuthorization.IAuthData|null);
37940
+ /** AddAuthorization authorization */
37941
+ authorization?: (TW.Polymesh.Proto.Identity.AddAuthorization.IAuthorization|null);
36136
37942
 
36137
37943
  /** AddAuthorization expiry */
36138
37944
  expiry?: (Long|null);
@@ -36145,7 +37951,7 @@ export namespace TW {
36145
37951
  * Constructs a new AddAuthorization.
36146
37952
  * @param [properties] Properties to set
36147
37953
  */
36148
- constructor(properties?: TW.Polkadot.Proto.Identity.IAddAuthorization);
37954
+ constructor(properties?: TW.Polymesh.Proto.Identity.IAddAuthorization);
36149
37955
 
36150
37956
  /** AddAuthorization callIndices. */
36151
37957
  public callIndices?: (TW.Polkadot.Proto.ICallIndices|null);
@@ -36153,8 +37959,8 @@ export namespace TW {
36153
37959
  /** AddAuthorization target. */
36154
37960
  public target: string;
36155
37961
 
36156
- /** AddAuthorization data. */
36157
- public data?: (TW.Polkadot.Proto.Identity.AddAuthorization.IAuthData|null);
37962
+ /** AddAuthorization authorization. */
37963
+ public authorization?: (TW.Polymesh.Proto.Identity.AddAuthorization.IAuthorization|null);
36158
37964
 
36159
37965
  /** AddAuthorization expiry. */
36160
37966
  public expiry: Long;
@@ -36164,15 +37970,15 @@ export namespace TW {
36164
37970
  * @param [properties] Properties to set
36165
37971
  * @returns AddAuthorization instance
36166
37972
  */
36167
- public static create(properties?: TW.Polkadot.Proto.Identity.IAddAuthorization): TW.Polkadot.Proto.Identity.AddAuthorization;
37973
+ public static create(properties?: TW.Polymesh.Proto.Identity.IAddAuthorization): TW.Polymesh.Proto.Identity.AddAuthorization;
36168
37974
 
36169
37975
  /**
36170
- * Encodes the specified AddAuthorization message. Does not implicitly {@link TW.Polkadot.Proto.Identity.AddAuthorization.verify|verify} messages.
37976
+ * Encodes the specified AddAuthorization message. Does not implicitly {@link TW.Polymesh.Proto.Identity.AddAuthorization.verify|verify} messages.
36171
37977
  * @param message AddAuthorization message or plain object to encode
36172
37978
  * @param [writer] Writer to encode to
36173
37979
  * @returns Writer
36174
37980
  */
36175
- public static encode(message: TW.Polkadot.Proto.Identity.IAddAuthorization, writer?: $protobuf.Writer): $protobuf.Writer;
37981
+ public static encode(message: TW.Polymesh.Proto.Identity.IAddAuthorization, writer?: $protobuf.Writer): $protobuf.Writer;
36176
37982
 
36177
37983
  /**
36178
37984
  * Decodes an AddAuthorization message from the specified reader or buffer.
@@ -36182,7 +37988,7 @@ export namespace TW {
36182
37988
  * @throws {Error} If the payload is not a reader or valid buffer
36183
37989
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
36184
37990
  */
36185
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Identity.AddAuthorization;
37991
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Identity.AddAuthorization;
36186
37992
 
36187
37993
  /**
36188
37994
  * Verifies an AddAuthorization message.
@@ -36196,7 +38002,7 @@ export namespace TW {
36196
38002
  * @param object Plain object
36197
38003
  * @returns AddAuthorization
36198
38004
  */
36199
- public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Identity.AddAuthorization;
38005
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Identity.AddAuthorization;
36200
38006
 
36201
38007
  /**
36202
38008
  * Creates a plain object from an AddAuthorization message. Also converts values to other types if specified.
@@ -36204,7 +38010,7 @@ export namespace TW {
36204
38010
  * @param [options] Conversion options
36205
38011
  * @returns Plain object
36206
38012
  */
36207
- public static toObject(message: TW.Polkadot.Proto.Identity.AddAuthorization, options?: $protobuf.IConversionOptions): { [k: string]: any };
38013
+ public static toObject(message: TW.Polymesh.Proto.Identity.AddAuthorization, options?: $protobuf.IConversionOptions): { [k: string]: any };
36208
38014
 
36209
38015
  /**
36210
38016
  * Converts this AddAuthorization to JSON.
@@ -36215,237 +38021,344 @@ export namespace TW {
36215
38021
 
36216
38022
  namespace AddAuthorization {
36217
38023
 
36218
- /** Properties of a Data. */
36219
- interface IData {
38024
+ /** Properties of an Authorization. */
38025
+ interface IAuthorization {
36220
38026
 
36221
- /** Data data */
36222
- data?: (Uint8Array|null);
38027
+ /** Authorization joinIdentity */
38028
+ joinIdentity?: (TW.Polymesh.Proto.ISecondaryKeyPermissions|null);
36223
38029
  }
36224
38030
 
36225
- /** Represents a Data. */
36226
- class Data implements IData {
38031
+ /** Represents an Authorization. */
38032
+ class Authorization implements IAuthorization {
36227
38033
 
36228
38034
  /**
36229
- * Constructs a new Data.
38035
+ * Constructs a new Authorization.
36230
38036
  * @param [properties] Properties to set
36231
38037
  */
36232
- constructor(properties?: TW.Polkadot.Proto.Identity.AddAuthorization.IData);
38038
+ constructor(properties?: TW.Polymesh.Proto.Identity.AddAuthorization.IAuthorization);
36233
38039
 
36234
- /** Data data. */
36235
- public data: Uint8Array;
38040
+ /** Authorization joinIdentity. */
38041
+ public joinIdentity?: (TW.Polymesh.Proto.ISecondaryKeyPermissions|null);
38042
+
38043
+ /** Authorization authOneof. */
38044
+ public authOneof?: "joinIdentity";
36236
38045
 
36237
38046
  /**
36238
- * Creates a new Data instance using the specified properties.
38047
+ * Creates a new Authorization instance using the specified properties.
36239
38048
  * @param [properties] Properties to set
36240
- * @returns Data instance
38049
+ * @returns Authorization instance
36241
38050
  */
36242
- public static create(properties?: TW.Polkadot.Proto.Identity.AddAuthorization.IData): TW.Polkadot.Proto.Identity.AddAuthorization.Data;
38051
+ public static create(properties?: TW.Polymesh.Proto.Identity.AddAuthorization.IAuthorization): TW.Polymesh.Proto.Identity.AddAuthorization.Authorization;
36243
38052
 
36244
38053
  /**
36245
- * Encodes the specified Data message. Does not implicitly {@link TW.Polkadot.Proto.Identity.AddAuthorization.Data.verify|verify} messages.
36246
- * @param message Data message or plain object to encode
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
36247
38056
  * @param [writer] Writer to encode to
36248
38057
  * @returns Writer
36249
38058
  */
36250
- public static encode(message: TW.Polkadot.Proto.Identity.AddAuthorization.IData, writer?: $protobuf.Writer): $protobuf.Writer;
38059
+ public static encode(message: TW.Polymesh.Proto.Identity.AddAuthorization.IAuthorization, writer?: $protobuf.Writer): $protobuf.Writer;
36251
38060
 
36252
38061
  /**
36253
- * Decodes a Data message from the specified reader or buffer.
38062
+ * Decodes an Authorization message from the specified reader or buffer.
36254
38063
  * @param reader Reader or buffer to decode from
36255
38064
  * @param [length] Message length if known beforehand
36256
- * @returns Data
38065
+ * @returns Authorization
36257
38066
  * @throws {Error} If the payload is not a reader or valid buffer
36258
38067
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
36259
38068
  */
36260
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.Identity.AddAuthorization.Data;
38069
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.Identity.AddAuthorization.Authorization;
36261
38070
 
36262
38071
  /**
36263
- * Verifies a Data message.
38072
+ * Verifies an Authorization message.
36264
38073
  * @param message Plain object to verify
36265
38074
  * @returns `null` if valid, otherwise the reason why it is not
36266
38075
  */
36267
38076
  public static verify(message: { [k: string]: any }): (string|null);
36268
38077
 
36269
38078
  /**
36270
- * Creates a Data message from a plain object. Also converts values to their respective internal types.
38079
+ * Creates an Authorization message from a plain object. Also converts values to their respective internal types.
36271
38080
  * @param object Plain object
36272
- * @returns Data
38081
+ * @returns Authorization
36273
38082
  */
36274
- public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Identity.AddAuthorization.Data;
38083
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.Identity.AddAuthorization.Authorization;
36275
38084
 
36276
38085
  /**
36277
- * Creates a plain object from a Data message. Also converts values to other types if specified.
36278
- * @param message Data
38086
+ * Creates a plain object from an Authorization message. Also converts values to other types if specified.
38087
+ * @param message Authorization
36279
38088
  * @param [options] Conversion options
36280
38089
  * @returns Plain object
36281
38090
  */
36282
- public static toObject(message: TW.Polkadot.Proto.Identity.AddAuthorization.Data, options?: $protobuf.IConversionOptions): { [k: string]: any };
38091
+ public static toObject(message: TW.Polymesh.Proto.Identity.AddAuthorization.Authorization, options?: $protobuf.IConversionOptions): { [k: string]: any };
36283
38092
 
36284
38093
  /**
36285
- * Converts this Data to JSON.
38094
+ * Converts this Authorization to JSON.
36286
38095
  * @returns JSON object
36287
38096
  */
36288
38097
  public toJSON(): { [k: string]: any };
36289
38098
  }
38099
+ }
38100
+ }
36290
38101
 
36291
- /** Properties of an AuthData. */
36292
- interface IAuthData {
38102
+ /** Properties of an Utility. */
38103
+ interface IUtility {
36293
38104
 
36294
- /** AuthData asset */
36295
- asset?: (TW.Polkadot.Proto.Identity.AddAuthorization.IData|null);
38105
+ /** Utility batch */
38106
+ batch?: (TW.Polymesh.Proto.Utility.IBatch|null);
38107
+ }
36296
38108
 
36297
- /** AuthData extrinsic */
36298
- extrinsic?: (TW.Polkadot.Proto.Identity.AddAuthorization.IData|null);
38109
+ /** Represents an Utility. */
38110
+ class Utility implements IUtility {
36299
38111
 
36300
- /** AuthData portfolio */
36301
- portfolio?: (TW.Polkadot.Proto.Identity.AddAuthorization.IData|null);
36302
- }
38112
+ /**
38113
+ * Constructs a new Utility.
38114
+ * @param [properties] Properties to set
38115
+ */
38116
+ constructor(properties?: TW.Polymesh.Proto.IUtility);
36303
38117
 
36304
- /** Represents an AuthData. */
36305
- class AuthData implements IAuthData {
38118
+ /** Utility batch. */
38119
+ public batch?: (TW.Polymesh.Proto.Utility.IBatch|null);
36306
38120
 
36307
- /**
36308
- * Constructs a new AuthData.
36309
- * @param [properties] Properties to set
36310
- */
36311
- constructor(properties?: TW.Polkadot.Proto.Identity.AddAuthorization.IAuthData);
38121
+ /** Utility messageOneof. */
38122
+ public messageOneof?: "batch";
36312
38123
 
36313
- /** AuthData asset. */
36314
- public asset?: (TW.Polkadot.Proto.Identity.AddAuthorization.IData|null);
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;
36315
38130
 
36316
- /** AuthData extrinsic. */
36317
- public extrinsic?: (TW.Polkadot.Proto.Identity.AddAuthorization.IData|null);
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;
36318
38138
 
36319
- /** AuthData portfolio. */
36320
- public portfolio?: (TW.Polkadot.Proto.Identity.AddAuthorization.IData|null);
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;
36321
38148
 
36322
- /**
36323
- * Creates a new AuthData instance using the specified properties.
36324
- * @param [properties] Properties to set
36325
- * @returns AuthData instance
36326
- */
36327
- public static create(properties?: TW.Polkadot.Proto.Identity.AddAuthorization.IAuthData): TW.Polkadot.Proto.Identity.AddAuthorization.AuthData;
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);
36328
38155
 
36329
- /**
36330
- * Encodes the specified AuthData message. Does not implicitly {@link TW.Polkadot.Proto.Identity.AddAuthorization.AuthData.verify|verify} messages.
36331
- * @param message AuthData message or plain object to encode
36332
- * @param [writer] Writer to encode to
36333
- * @returns Writer
36334
- */
36335
- 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;
36336
38162
 
36337
- /**
36338
- * Decodes an AuthData message from the specified reader or buffer.
36339
- * @param reader Reader or buffer to decode from
36340
- * @param [length] Message length if known beforehand
36341
- * @returns AuthData
36342
- * @throws {Error} If the payload is not a reader or valid buffer
36343
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
36344
- */
36345
- 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 };
36346
38170
 
36347
- /**
36348
- * Verifies an AuthData message.
36349
- * @param message Plain object to verify
36350
- * @returns `null` if valid, otherwise the reason why it is not
36351
- */
36352
- public static verify(message: { [k: string]: any }): (string|null);
38171
+ /**
38172
+ * Converts this Utility to JSON.
38173
+ * @returns JSON object
38174
+ */
38175
+ public toJSON(): { [k: string]: any };
38176
+ }
36353
38177
 
36354
- /**
36355
- * Creates an AuthData message from a plain object. Also converts values to their respective internal types.
36356
- * @param object Plain object
36357
- * @returns AuthData
36358
- */
36359
- public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.Identity.AddAuthorization.AuthData;
38178
+ namespace Utility {
36360
38179
 
36361
- /**
36362
- * Creates a plain object from an AuthData message. Also converts values to other types if specified.
36363
- * @param message AuthData
36364
- * @param [options] Conversion options
36365
- * @returns Plain object
36366
- */
36367
- 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
+ }
36368
38186
 
36369
- /**
36370
- * Converts this AuthData to JSON.
36371
- * @returns JSON object
36372
- */
36373
- public toJSON(): { [k: string]: any };
36374
- }
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 };
36375
38270
  }
36376
38271
  }
36377
38272
 
36378
- /** Properties of a PolymeshCall. */
36379
- interface IPolymeshCall {
38273
+ /** Properties of a RuntimeCall. */
38274
+ interface IRuntimeCall {
36380
38275
 
36381
- /** PolymeshCall identityCall */
36382
- identityCall?: (TW.Polkadot.Proto.IIdentity|null);
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);
36383
38287
  }
36384
38288
 
36385
- /** Represents a PolymeshCall. */
36386
- class PolymeshCall implements IPolymeshCall {
38289
+ /** Represents a RuntimeCall. */
38290
+ class RuntimeCall implements IRuntimeCall {
36387
38291
 
36388
38292
  /**
36389
- * Constructs a new PolymeshCall.
38293
+ * Constructs a new RuntimeCall.
36390
38294
  * @param [properties] Properties to set
36391
38295
  */
36392
- constructor(properties?: TW.Polkadot.Proto.IPolymeshCall);
38296
+ constructor(properties?: TW.Polymesh.Proto.IRuntimeCall);
38297
+
38298
+ /** RuntimeCall balanceCall. */
38299
+ public balanceCall?: (TW.Polymesh.Proto.IBalance|null);
36393
38300
 
36394
- /** PolymeshCall identityCall. */
36395
- public identityCall?: (TW.Polkadot.Proto.IIdentity|null);
38301
+ /** RuntimeCall stakingCall. */
38302
+ public stakingCall?: (TW.Polymesh.Proto.IStaking|null);
36396
38303
 
36397
- /** PolymeshCall messageOneof. */
36398
- public messageOneof?: "identityCall";
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");
36399
38312
 
36400
38313
  /**
36401
- * Creates a new PolymeshCall instance using the specified properties.
38314
+ * Creates a new RuntimeCall instance using the specified properties.
36402
38315
  * @param [properties] Properties to set
36403
- * @returns PolymeshCall instance
38316
+ * @returns RuntimeCall instance
36404
38317
  */
36405
- public static create(properties?: TW.Polkadot.Proto.IPolymeshCall): TW.Polkadot.Proto.PolymeshCall;
38318
+ public static create(properties?: TW.Polymesh.Proto.IRuntimeCall): TW.Polymesh.Proto.RuntimeCall;
36406
38319
 
36407
38320
  /**
36408
- * Encodes the specified PolymeshCall message. Does not implicitly {@link TW.Polkadot.Proto.PolymeshCall.verify|verify} messages.
36409
- * @param message PolymeshCall message or plain object to encode
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
36410
38323
  * @param [writer] Writer to encode to
36411
38324
  * @returns Writer
36412
38325
  */
36413
- public static encode(message: TW.Polkadot.Proto.IPolymeshCall, writer?: $protobuf.Writer): $protobuf.Writer;
38326
+ public static encode(message: TW.Polymesh.Proto.IRuntimeCall, writer?: $protobuf.Writer): $protobuf.Writer;
36414
38327
 
36415
38328
  /**
36416
- * Decodes a PolymeshCall message from the specified reader or buffer.
38329
+ * Decodes a RuntimeCall message from the specified reader or buffer.
36417
38330
  * @param reader Reader or buffer to decode from
36418
38331
  * @param [length] Message length if known beforehand
36419
- * @returns PolymeshCall
38332
+ * @returns RuntimeCall
36420
38333
  * @throws {Error} If the payload is not a reader or valid buffer
36421
38334
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
36422
38335
  */
36423
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.PolymeshCall;
38336
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.RuntimeCall;
36424
38337
 
36425
38338
  /**
36426
- * Verifies a PolymeshCall message.
38339
+ * Verifies a RuntimeCall message.
36427
38340
  * @param message Plain object to verify
36428
38341
  * @returns `null` if valid, otherwise the reason why it is not
36429
38342
  */
36430
38343
  public static verify(message: { [k: string]: any }): (string|null);
36431
38344
 
36432
38345
  /**
36433
- * Creates a PolymeshCall message from a plain object. Also converts values to their respective internal types.
38346
+ * Creates a RuntimeCall message from a plain object. Also converts values to their respective internal types.
36434
38347
  * @param object Plain object
36435
- * @returns PolymeshCall
38348
+ * @returns RuntimeCall
36436
38349
  */
36437
- public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.PolymeshCall;
38350
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.RuntimeCall;
36438
38351
 
36439
38352
  /**
36440
- * Creates a plain object from a PolymeshCall message. Also converts values to other types if specified.
36441
- * @param message PolymeshCall
38353
+ * Creates a plain object from a RuntimeCall message. Also converts values to other types if specified.
38354
+ * @param message RuntimeCall
36442
38355
  * @param [options] Conversion options
36443
38356
  * @returns Plain object
36444
38357
  */
36445
- public static toObject(message: TW.Polkadot.Proto.PolymeshCall, options?: $protobuf.IConversionOptions): { [k: string]: any };
38358
+ public static toObject(message: TW.Polymesh.Proto.RuntimeCall, options?: $protobuf.IConversionOptions): { [k: string]: any };
36446
38359
 
36447
38360
  /**
36448
- * Converts this PolymeshCall to JSON.
38361
+ * Converts this RuntimeCall to JSON.
36449
38362
  * @returns JSON object
36450
38363
  */
36451
38364
  public toJSON(): { [k: string]: any };
@@ -36481,17 +38394,8 @@ export namespace TW {
36481
38394
  /** SigningInput network */
36482
38395
  network?: (number|null);
36483
38396
 
36484
- /** SigningInput multiAddress */
36485
- multiAddress?: (boolean|null);
36486
-
36487
- /** SigningInput balanceCall */
36488
- balanceCall?: (TW.Polkadot.Proto.IBalance|null);
36489
-
36490
- /** SigningInput stakingCall */
36491
- stakingCall?: (TW.Polkadot.Proto.IStaking|null);
36492
-
36493
- /** SigningInput polymeshCall */
36494
- polymeshCall?: (TW.Polkadot.Proto.IPolymeshCall|null);
38397
+ /** SigningInput runtimeCall */
38398
+ runtimeCall?: (TW.Polymesh.Proto.IRuntimeCall|null);
36495
38399
  }
36496
38400
 
36497
38401
  /** Represents a SigningInput. */
@@ -36501,7 +38405,7 @@ export namespace TW {
36501
38405
  * Constructs a new SigningInput.
36502
38406
  * @param [properties] Properties to set
36503
38407
  */
36504
- constructor(properties?: TW.Polkadot.Proto.ISigningInput);
38408
+ constructor(properties?: TW.Polymesh.Proto.ISigningInput);
36505
38409
 
36506
38410
  /** SigningInput blockHash. */
36507
38411
  public blockHash: Uint8Array;
@@ -36530,35 +38434,23 @@ export namespace TW {
36530
38434
  /** SigningInput network. */
36531
38435
  public network: number;
36532
38436
 
36533
- /** SigningInput multiAddress. */
36534
- public multiAddress: boolean;
36535
-
36536
- /** SigningInput balanceCall. */
36537
- public balanceCall?: (TW.Polkadot.Proto.IBalance|null);
36538
-
36539
- /** SigningInput stakingCall. */
36540
- public stakingCall?: (TW.Polkadot.Proto.IStaking|null);
36541
-
36542
- /** SigningInput polymeshCall. */
36543
- public polymeshCall?: (TW.Polkadot.Proto.IPolymeshCall|null);
36544
-
36545
- /** SigningInput messageOneof. */
36546
- public messageOneof?: ("balanceCall"|"stakingCall"|"polymeshCall");
38437
+ /** SigningInput runtimeCall. */
38438
+ public runtimeCall?: (TW.Polymesh.Proto.IRuntimeCall|null);
36547
38439
 
36548
38440
  /**
36549
38441
  * Creates a new SigningInput instance using the specified properties.
36550
38442
  * @param [properties] Properties to set
36551
38443
  * @returns SigningInput instance
36552
38444
  */
36553
- public static create(properties?: TW.Polkadot.Proto.ISigningInput): TW.Polkadot.Proto.SigningInput;
38445
+ public static create(properties?: TW.Polymesh.Proto.ISigningInput): TW.Polymesh.Proto.SigningInput;
36554
38446
 
36555
38447
  /**
36556
- * Encodes the specified SigningInput message. Does not implicitly {@link TW.Polkadot.Proto.SigningInput.verify|verify} messages.
38448
+ * Encodes the specified SigningInput message. Does not implicitly {@link TW.Polymesh.Proto.SigningInput.verify|verify} messages.
36557
38449
  * @param message SigningInput message or plain object to encode
36558
38450
  * @param [writer] Writer to encode to
36559
38451
  * @returns Writer
36560
38452
  */
36561
- public static encode(message: TW.Polkadot.Proto.ISigningInput, writer?: $protobuf.Writer): $protobuf.Writer;
38453
+ public static encode(message: TW.Polymesh.Proto.ISigningInput, writer?: $protobuf.Writer): $protobuf.Writer;
36562
38454
 
36563
38455
  /**
36564
38456
  * Decodes a SigningInput message from the specified reader or buffer.
@@ -36568,7 +38460,7 @@ export namespace TW {
36568
38460
  * @throws {Error} If the payload is not a reader or valid buffer
36569
38461
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
36570
38462
  */
36571
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.SigningInput;
38463
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SigningInput;
36572
38464
 
36573
38465
  /**
36574
38466
  * Verifies a SigningInput message.
@@ -36582,7 +38474,7 @@ export namespace TW {
36582
38474
  * @param object Plain object
36583
38475
  * @returns SigningInput
36584
38476
  */
36585
- public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.SigningInput;
38477
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SigningInput;
36586
38478
 
36587
38479
  /**
36588
38480
  * Creates a plain object from a SigningInput message. Also converts values to other types if specified.
@@ -36590,7 +38482,7 @@ export namespace TW {
36590
38482
  * @param [options] Conversion options
36591
38483
  * @returns Plain object
36592
38484
  */
36593
- public static toObject(message: TW.Polkadot.Proto.SigningInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
38485
+ public static toObject(message: TW.Polymesh.Proto.SigningInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
36594
38486
 
36595
38487
  /**
36596
38488
  * Converts this SigningInput to JSON.
@@ -36619,7 +38511,7 @@ export namespace TW {
36619
38511
  * Constructs a new SigningOutput.
36620
38512
  * @param [properties] Properties to set
36621
38513
  */
36622
- constructor(properties?: TW.Polkadot.Proto.ISigningOutput);
38514
+ constructor(properties?: TW.Polymesh.Proto.ISigningOutput);
36623
38515
 
36624
38516
  /** SigningOutput encoded. */
36625
38517
  public encoded: Uint8Array;
@@ -36635,15 +38527,15 @@ export namespace TW {
36635
38527
  * @param [properties] Properties to set
36636
38528
  * @returns SigningOutput instance
36637
38529
  */
36638
- public static create(properties?: TW.Polkadot.Proto.ISigningOutput): TW.Polkadot.Proto.SigningOutput;
38530
+ public static create(properties?: TW.Polymesh.Proto.ISigningOutput): TW.Polymesh.Proto.SigningOutput;
36639
38531
 
36640
38532
  /**
36641
- * Encodes the specified SigningOutput message. Does not implicitly {@link TW.Polkadot.Proto.SigningOutput.verify|verify} messages.
38533
+ * Encodes the specified SigningOutput message. Does not implicitly {@link TW.Polymesh.Proto.SigningOutput.verify|verify} messages.
36642
38534
  * @param message SigningOutput message or plain object to encode
36643
38535
  * @param [writer] Writer to encode to
36644
38536
  * @returns Writer
36645
38537
  */
36646
- public static encode(message: TW.Polkadot.Proto.ISigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
38538
+ public static encode(message: TW.Polymesh.Proto.ISigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
36647
38539
 
36648
38540
  /**
36649
38541
  * Decodes a SigningOutput message from the specified reader or buffer.
@@ -36653,7 +38545,7 @@ export namespace TW {
36653
38545
  * @throws {Error} If the payload is not a reader or valid buffer
36654
38546
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
36655
38547
  */
36656
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polkadot.Proto.SigningOutput;
38548
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Polymesh.Proto.SigningOutput;
36657
38549
 
36658
38550
  /**
36659
38551
  * Verifies a SigningOutput message.
@@ -36667,7 +38559,7 @@ export namespace TW {
36667
38559
  * @param object Plain object
36668
38560
  * @returns SigningOutput
36669
38561
  */
36670
- public static fromObject(object: { [k: string]: any }): TW.Polkadot.Proto.SigningOutput;
38562
+ public static fromObject(object: { [k: string]: any }): TW.Polymesh.Proto.SigningOutput;
36671
38563
 
36672
38564
  /**
36673
38565
  * Creates a plain object from a SigningOutput message. Also converts values to other types if specified.
@@ -36675,7 +38567,7 @@ export namespace TW {
36675
38567
  * @param [options] Conversion options
36676
38568
  * @returns Plain object
36677
38569
  */
36678
- public static toObject(message: TW.Polkadot.Proto.SigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
38570
+ public static toObject(message: TW.Polymesh.Proto.SigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
36679
38571
 
36680
38572
  /**
36681
38573
  * Converts this SigningOutput to JSON.