@trustwallet/wallet-core 4.0.25 → 4.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/core_proto.d.ts +902 -11
- package/dist/generated/core_proto.js +3251 -390
- package/dist/lib/wallet-core.js +38 -37
- package/dist/lib/wallet-core.wasm +0 -0
- package/dist/src/wallet-core.d.ts +4 -0
- package/package.json +1 -1
@@ -450,7 +450,8 @@ export namespace TW {
|
|
450
450
|
Error_signatures_count = 21,
|
451
451
|
Error_invalid_params = 22,
|
452
452
|
Error_invalid_requested_token_amount = 23,
|
453
|
-
Error_not_supported = 24
|
453
|
+
Error_not_supported = 24,
|
454
|
+
Error_dust_amount_requested = 25
|
454
455
|
}
|
455
456
|
}
|
456
457
|
}
|
@@ -5848,6 +5849,9 @@ export namespace TW {
|
|
5848
5849
|
|
5849
5850
|
/** SigningInput signingV2 */
|
5850
5851
|
signingV2?: (TW.BitcoinV2.Proto.ISigningInput|null);
|
5852
|
+
|
5853
|
+
/** SigningInput fixedDustThreshold */
|
5854
|
+
fixedDustThreshold?: (Long|null);
|
5851
5855
|
}
|
5852
5856
|
|
5853
5857
|
/** Represents a SigningInput. */
|
@@ -5919,6 +5923,12 @@ export namespace TW {
|
|
5919
5923
|
/** SigningInput signingV2. */
|
5920
5924
|
public signingV2?: (TW.BitcoinV2.Proto.ISigningInput|null);
|
5921
5925
|
|
5926
|
+
/** SigningInput fixedDustThreshold. */
|
5927
|
+
public fixedDustThreshold?: (Long|null);
|
5928
|
+
|
5929
|
+
/** SigningInput dustPolicy. */
|
5930
|
+
public dustPolicy?: "fixedDustThreshold";
|
5931
|
+
|
5922
5932
|
/**
|
5923
5933
|
* Creates a new SigningInput instance using the specified properties.
|
5924
5934
|
* @param [properties] Properties to set
|
@@ -37054,6 +37064,856 @@ export namespace TW {
|
|
37054
37064
|
public toJSON(): { [k: string]: any };
|
37055
37065
|
}
|
37056
37066
|
|
37067
|
+
/** Properties of a PubkeySignature. */
|
37068
|
+
interface IPubkeySignature {
|
37069
|
+
|
37070
|
+
/** PubkeySignature pubkey */
|
37071
|
+
pubkey?: (string|null);
|
37072
|
+
|
37073
|
+
/** PubkeySignature signature */
|
37074
|
+
signature?: (string|null);
|
37075
|
+
}
|
37076
|
+
|
37077
|
+
/** Represents a PubkeySignature. */
|
37078
|
+
class PubkeySignature implements IPubkeySignature {
|
37079
|
+
|
37080
|
+
/**
|
37081
|
+
* Constructs a new PubkeySignature.
|
37082
|
+
* @param [properties] Properties to set
|
37083
|
+
*/
|
37084
|
+
constructor(properties?: TW.Solana.Proto.IPubkeySignature);
|
37085
|
+
|
37086
|
+
/** PubkeySignature pubkey. */
|
37087
|
+
public pubkey: string;
|
37088
|
+
|
37089
|
+
/** PubkeySignature signature. */
|
37090
|
+
public signature: string;
|
37091
|
+
|
37092
|
+
/**
|
37093
|
+
* Creates a new PubkeySignature instance using the specified properties.
|
37094
|
+
* @param [properties] Properties to set
|
37095
|
+
* @returns PubkeySignature instance
|
37096
|
+
*/
|
37097
|
+
public static create(properties?: TW.Solana.Proto.IPubkeySignature): TW.Solana.Proto.PubkeySignature;
|
37098
|
+
|
37099
|
+
/**
|
37100
|
+
* Encodes the specified PubkeySignature message. Does not implicitly {@link TW.Solana.Proto.PubkeySignature.verify|verify} messages.
|
37101
|
+
* @param message PubkeySignature message or plain object to encode
|
37102
|
+
* @param [writer] Writer to encode to
|
37103
|
+
* @returns Writer
|
37104
|
+
*/
|
37105
|
+
public static encode(message: TW.Solana.Proto.IPubkeySignature, writer?: $protobuf.Writer): $protobuf.Writer;
|
37106
|
+
|
37107
|
+
/**
|
37108
|
+
* Decodes a PubkeySignature message from the specified reader or buffer.
|
37109
|
+
* @param reader Reader or buffer to decode from
|
37110
|
+
* @param [length] Message length if known beforehand
|
37111
|
+
* @returns PubkeySignature
|
37112
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37113
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37114
|
+
*/
|
37115
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.PubkeySignature;
|
37116
|
+
|
37117
|
+
/**
|
37118
|
+
* Verifies a PubkeySignature message.
|
37119
|
+
* @param message Plain object to verify
|
37120
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37121
|
+
*/
|
37122
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37123
|
+
|
37124
|
+
/**
|
37125
|
+
* Creates a PubkeySignature message from a plain object. Also converts values to their respective internal types.
|
37126
|
+
* @param object Plain object
|
37127
|
+
* @returns PubkeySignature
|
37128
|
+
*/
|
37129
|
+
public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.PubkeySignature;
|
37130
|
+
|
37131
|
+
/**
|
37132
|
+
* Creates a plain object from a PubkeySignature message. Also converts values to other types if specified.
|
37133
|
+
* @param message PubkeySignature
|
37134
|
+
* @param [options] Conversion options
|
37135
|
+
* @returns Plain object
|
37136
|
+
*/
|
37137
|
+
public static toObject(message: TW.Solana.Proto.PubkeySignature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37138
|
+
|
37139
|
+
/**
|
37140
|
+
* Converts this PubkeySignature to JSON.
|
37141
|
+
* @returns JSON object
|
37142
|
+
*/
|
37143
|
+
public toJSON(): { [k: string]: any };
|
37144
|
+
}
|
37145
|
+
|
37146
|
+
/** Properties of a RawMessage. */
|
37147
|
+
interface IRawMessage {
|
37148
|
+
|
37149
|
+
/** RawMessage signatures */
|
37150
|
+
signatures?: (TW.Solana.Proto.IPubkeySignature[]|null);
|
37151
|
+
|
37152
|
+
/** RawMessage legacy */
|
37153
|
+
legacy?: (TW.Solana.Proto.RawMessage.IMessageLegacy|null);
|
37154
|
+
|
37155
|
+
/** RawMessage v0 */
|
37156
|
+
v0?: (TW.Solana.Proto.RawMessage.IMessageV0|null);
|
37157
|
+
}
|
37158
|
+
|
37159
|
+
/** Represents a RawMessage. */
|
37160
|
+
class RawMessage implements IRawMessage {
|
37161
|
+
|
37162
|
+
/**
|
37163
|
+
* Constructs a new RawMessage.
|
37164
|
+
* @param [properties] Properties to set
|
37165
|
+
*/
|
37166
|
+
constructor(properties?: TW.Solana.Proto.IRawMessage);
|
37167
|
+
|
37168
|
+
/** RawMessage signatures. */
|
37169
|
+
public signatures: TW.Solana.Proto.IPubkeySignature[];
|
37170
|
+
|
37171
|
+
/** RawMessage legacy. */
|
37172
|
+
public legacy?: (TW.Solana.Proto.RawMessage.IMessageLegacy|null);
|
37173
|
+
|
37174
|
+
/** RawMessage v0. */
|
37175
|
+
public v0?: (TW.Solana.Proto.RawMessage.IMessageV0|null);
|
37176
|
+
|
37177
|
+
/** RawMessage message. */
|
37178
|
+
public message?: ("legacy"|"v0");
|
37179
|
+
|
37180
|
+
/**
|
37181
|
+
* Creates a new RawMessage instance using the specified properties.
|
37182
|
+
* @param [properties] Properties to set
|
37183
|
+
* @returns RawMessage instance
|
37184
|
+
*/
|
37185
|
+
public static create(properties?: TW.Solana.Proto.IRawMessage): TW.Solana.Proto.RawMessage;
|
37186
|
+
|
37187
|
+
/**
|
37188
|
+
* Encodes the specified RawMessage message. Does not implicitly {@link TW.Solana.Proto.RawMessage.verify|verify} messages.
|
37189
|
+
* @param message RawMessage message or plain object to encode
|
37190
|
+
* @param [writer] Writer to encode to
|
37191
|
+
* @returns Writer
|
37192
|
+
*/
|
37193
|
+
public static encode(message: TW.Solana.Proto.IRawMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
37194
|
+
|
37195
|
+
/**
|
37196
|
+
* Decodes a RawMessage message from the specified reader or buffer.
|
37197
|
+
* @param reader Reader or buffer to decode from
|
37198
|
+
* @param [length] Message length if known beforehand
|
37199
|
+
* @returns RawMessage
|
37200
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37201
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37202
|
+
*/
|
37203
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.RawMessage;
|
37204
|
+
|
37205
|
+
/**
|
37206
|
+
* Verifies a RawMessage message.
|
37207
|
+
* @param message Plain object to verify
|
37208
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37209
|
+
*/
|
37210
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37211
|
+
|
37212
|
+
/**
|
37213
|
+
* Creates a RawMessage message from a plain object. Also converts values to their respective internal types.
|
37214
|
+
* @param object Plain object
|
37215
|
+
* @returns RawMessage
|
37216
|
+
*/
|
37217
|
+
public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.RawMessage;
|
37218
|
+
|
37219
|
+
/**
|
37220
|
+
* Creates a plain object from a RawMessage message. Also converts values to other types if specified.
|
37221
|
+
* @param message RawMessage
|
37222
|
+
* @param [options] Conversion options
|
37223
|
+
* @returns Plain object
|
37224
|
+
*/
|
37225
|
+
public static toObject(message: TW.Solana.Proto.RawMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37226
|
+
|
37227
|
+
/**
|
37228
|
+
* Converts this RawMessage to JSON.
|
37229
|
+
* @returns JSON object
|
37230
|
+
*/
|
37231
|
+
public toJSON(): { [k: string]: any };
|
37232
|
+
}
|
37233
|
+
|
37234
|
+
namespace RawMessage {
|
37235
|
+
|
37236
|
+
/** Properties of a MessageHeader. */
|
37237
|
+
interface IMessageHeader {
|
37238
|
+
|
37239
|
+
/** MessageHeader numRequiredSignatures */
|
37240
|
+
numRequiredSignatures?: (number|null);
|
37241
|
+
|
37242
|
+
/** MessageHeader numReadonlySignedAccounts */
|
37243
|
+
numReadonlySignedAccounts?: (number|null);
|
37244
|
+
|
37245
|
+
/** MessageHeader numReadonlyUnsignedAccounts */
|
37246
|
+
numReadonlyUnsignedAccounts?: (number|null);
|
37247
|
+
}
|
37248
|
+
|
37249
|
+
/** Represents a MessageHeader. */
|
37250
|
+
class MessageHeader implements IMessageHeader {
|
37251
|
+
|
37252
|
+
/**
|
37253
|
+
* Constructs a new MessageHeader.
|
37254
|
+
* @param [properties] Properties to set
|
37255
|
+
*/
|
37256
|
+
constructor(properties?: TW.Solana.Proto.RawMessage.IMessageHeader);
|
37257
|
+
|
37258
|
+
/** MessageHeader numRequiredSignatures. */
|
37259
|
+
public numRequiredSignatures: number;
|
37260
|
+
|
37261
|
+
/** MessageHeader numReadonlySignedAccounts. */
|
37262
|
+
public numReadonlySignedAccounts: number;
|
37263
|
+
|
37264
|
+
/** MessageHeader numReadonlyUnsignedAccounts. */
|
37265
|
+
public numReadonlyUnsignedAccounts: number;
|
37266
|
+
|
37267
|
+
/**
|
37268
|
+
* Creates a new MessageHeader instance using the specified properties.
|
37269
|
+
* @param [properties] Properties to set
|
37270
|
+
* @returns MessageHeader instance
|
37271
|
+
*/
|
37272
|
+
public static create(properties?: TW.Solana.Proto.RawMessage.IMessageHeader): TW.Solana.Proto.RawMessage.MessageHeader;
|
37273
|
+
|
37274
|
+
/**
|
37275
|
+
* Encodes the specified MessageHeader message. Does not implicitly {@link TW.Solana.Proto.RawMessage.MessageHeader.verify|verify} messages.
|
37276
|
+
* @param message MessageHeader message or plain object to encode
|
37277
|
+
* @param [writer] Writer to encode to
|
37278
|
+
* @returns Writer
|
37279
|
+
*/
|
37280
|
+
public static encode(message: TW.Solana.Proto.RawMessage.IMessageHeader, writer?: $protobuf.Writer): $protobuf.Writer;
|
37281
|
+
|
37282
|
+
/**
|
37283
|
+
* Decodes a MessageHeader message from the specified reader or buffer.
|
37284
|
+
* @param reader Reader or buffer to decode from
|
37285
|
+
* @param [length] Message length if known beforehand
|
37286
|
+
* @returns MessageHeader
|
37287
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37288
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37289
|
+
*/
|
37290
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.RawMessage.MessageHeader;
|
37291
|
+
|
37292
|
+
/**
|
37293
|
+
* Verifies a MessageHeader message.
|
37294
|
+
* @param message Plain object to verify
|
37295
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37296
|
+
*/
|
37297
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37298
|
+
|
37299
|
+
/**
|
37300
|
+
* Creates a MessageHeader message from a plain object. Also converts values to their respective internal types.
|
37301
|
+
* @param object Plain object
|
37302
|
+
* @returns MessageHeader
|
37303
|
+
*/
|
37304
|
+
public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.RawMessage.MessageHeader;
|
37305
|
+
|
37306
|
+
/**
|
37307
|
+
* Creates a plain object from a MessageHeader message. Also converts values to other types if specified.
|
37308
|
+
* @param message MessageHeader
|
37309
|
+
* @param [options] Conversion options
|
37310
|
+
* @returns Plain object
|
37311
|
+
*/
|
37312
|
+
public static toObject(message: TW.Solana.Proto.RawMessage.MessageHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37313
|
+
|
37314
|
+
/**
|
37315
|
+
* Converts this MessageHeader to JSON.
|
37316
|
+
* @returns JSON object
|
37317
|
+
*/
|
37318
|
+
public toJSON(): { [k: string]: any };
|
37319
|
+
}
|
37320
|
+
|
37321
|
+
/** Properties of an Instruction. */
|
37322
|
+
interface IInstruction {
|
37323
|
+
|
37324
|
+
/** Instruction programId */
|
37325
|
+
programId?: (number|null);
|
37326
|
+
|
37327
|
+
/** Instruction accounts */
|
37328
|
+
accounts?: (number[]|null);
|
37329
|
+
|
37330
|
+
/** Instruction programData */
|
37331
|
+
programData?: (Uint8Array|null);
|
37332
|
+
}
|
37333
|
+
|
37334
|
+
/** Represents an Instruction. */
|
37335
|
+
class Instruction implements IInstruction {
|
37336
|
+
|
37337
|
+
/**
|
37338
|
+
* Constructs a new Instruction.
|
37339
|
+
* @param [properties] Properties to set
|
37340
|
+
*/
|
37341
|
+
constructor(properties?: TW.Solana.Proto.RawMessage.IInstruction);
|
37342
|
+
|
37343
|
+
/** Instruction programId. */
|
37344
|
+
public programId: number;
|
37345
|
+
|
37346
|
+
/** Instruction accounts. */
|
37347
|
+
public accounts: number[];
|
37348
|
+
|
37349
|
+
/** Instruction programData. */
|
37350
|
+
public programData: Uint8Array;
|
37351
|
+
|
37352
|
+
/**
|
37353
|
+
* Creates a new Instruction instance using the specified properties.
|
37354
|
+
* @param [properties] Properties to set
|
37355
|
+
* @returns Instruction instance
|
37356
|
+
*/
|
37357
|
+
public static create(properties?: TW.Solana.Proto.RawMessage.IInstruction): TW.Solana.Proto.RawMessage.Instruction;
|
37358
|
+
|
37359
|
+
/**
|
37360
|
+
* Encodes the specified Instruction message. Does not implicitly {@link TW.Solana.Proto.RawMessage.Instruction.verify|verify} messages.
|
37361
|
+
* @param message Instruction message or plain object to encode
|
37362
|
+
* @param [writer] Writer to encode to
|
37363
|
+
* @returns Writer
|
37364
|
+
*/
|
37365
|
+
public static encode(message: TW.Solana.Proto.RawMessage.IInstruction, writer?: $protobuf.Writer): $protobuf.Writer;
|
37366
|
+
|
37367
|
+
/**
|
37368
|
+
* Decodes an Instruction message from the specified reader or buffer.
|
37369
|
+
* @param reader Reader or buffer to decode from
|
37370
|
+
* @param [length] Message length if known beforehand
|
37371
|
+
* @returns Instruction
|
37372
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37373
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37374
|
+
*/
|
37375
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.RawMessage.Instruction;
|
37376
|
+
|
37377
|
+
/**
|
37378
|
+
* Verifies an Instruction message.
|
37379
|
+
* @param message Plain object to verify
|
37380
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37381
|
+
*/
|
37382
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37383
|
+
|
37384
|
+
/**
|
37385
|
+
* Creates an Instruction message from a plain object. Also converts values to their respective internal types.
|
37386
|
+
* @param object Plain object
|
37387
|
+
* @returns Instruction
|
37388
|
+
*/
|
37389
|
+
public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.RawMessage.Instruction;
|
37390
|
+
|
37391
|
+
/**
|
37392
|
+
* Creates a plain object from an Instruction message. Also converts values to other types if specified.
|
37393
|
+
* @param message Instruction
|
37394
|
+
* @param [options] Conversion options
|
37395
|
+
* @returns Plain object
|
37396
|
+
*/
|
37397
|
+
public static toObject(message: TW.Solana.Proto.RawMessage.Instruction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37398
|
+
|
37399
|
+
/**
|
37400
|
+
* Converts this Instruction to JSON.
|
37401
|
+
* @returns JSON object
|
37402
|
+
*/
|
37403
|
+
public toJSON(): { [k: string]: any };
|
37404
|
+
}
|
37405
|
+
|
37406
|
+
/** Properties of a MessageAddressTableLookup. */
|
37407
|
+
interface IMessageAddressTableLookup {
|
37408
|
+
|
37409
|
+
/** MessageAddressTableLookup accountKey */
|
37410
|
+
accountKey?: (string|null);
|
37411
|
+
|
37412
|
+
/** MessageAddressTableLookup writableIndexes */
|
37413
|
+
writableIndexes?: (number[]|null);
|
37414
|
+
|
37415
|
+
/** MessageAddressTableLookup readonlyIndexes */
|
37416
|
+
readonlyIndexes?: (number[]|null);
|
37417
|
+
}
|
37418
|
+
|
37419
|
+
/** Represents a MessageAddressTableLookup. */
|
37420
|
+
class MessageAddressTableLookup implements IMessageAddressTableLookup {
|
37421
|
+
|
37422
|
+
/**
|
37423
|
+
* Constructs a new MessageAddressTableLookup.
|
37424
|
+
* @param [properties] Properties to set
|
37425
|
+
*/
|
37426
|
+
constructor(properties?: TW.Solana.Proto.RawMessage.IMessageAddressTableLookup);
|
37427
|
+
|
37428
|
+
/** MessageAddressTableLookup accountKey. */
|
37429
|
+
public accountKey: string;
|
37430
|
+
|
37431
|
+
/** MessageAddressTableLookup writableIndexes. */
|
37432
|
+
public writableIndexes: number[];
|
37433
|
+
|
37434
|
+
/** MessageAddressTableLookup readonlyIndexes. */
|
37435
|
+
public readonlyIndexes: number[];
|
37436
|
+
|
37437
|
+
/**
|
37438
|
+
* Creates a new MessageAddressTableLookup instance using the specified properties.
|
37439
|
+
* @param [properties] Properties to set
|
37440
|
+
* @returns MessageAddressTableLookup instance
|
37441
|
+
*/
|
37442
|
+
public static create(properties?: TW.Solana.Proto.RawMessage.IMessageAddressTableLookup): TW.Solana.Proto.RawMessage.MessageAddressTableLookup;
|
37443
|
+
|
37444
|
+
/**
|
37445
|
+
* Encodes the specified MessageAddressTableLookup message. Does not implicitly {@link TW.Solana.Proto.RawMessage.MessageAddressTableLookup.verify|verify} messages.
|
37446
|
+
* @param message MessageAddressTableLookup message or plain object to encode
|
37447
|
+
* @param [writer] Writer to encode to
|
37448
|
+
* @returns Writer
|
37449
|
+
*/
|
37450
|
+
public static encode(message: TW.Solana.Proto.RawMessage.IMessageAddressTableLookup, writer?: $protobuf.Writer): $protobuf.Writer;
|
37451
|
+
|
37452
|
+
/**
|
37453
|
+
* Decodes a MessageAddressTableLookup message from the specified reader or buffer.
|
37454
|
+
* @param reader Reader or buffer to decode from
|
37455
|
+
* @param [length] Message length if known beforehand
|
37456
|
+
* @returns MessageAddressTableLookup
|
37457
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37458
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37459
|
+
*/
|
37460
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.RawMessage.MessageAddressTableLookup;
|
37461
|
+
|
37462
|
+
/**
|
37463
|
+
* Verifies a MessageAddressTableLookup message.
|
37464
|
+
* @param message Plain object to verify
|
37465
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37466
|
+
*/
|
37467
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37468
|
+
|
37469
|
+
/**
|
37470
|
+
* Creates a MessageAddressTableLookup message from a plain object. Also converts values to their respective internal types.
|
37471
|
+
* @param object Plain object
|
37472
|
+
* @returns MessageAddressTableLookup
|
37473
|
+
*/
|
37474
|
+
public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.RawMessage.MessageAddressTableLookup;
|
37475
|
+
|
37476
|
+
/**
|
37477
|
+
* Creates a plain object from a MessageAddressTableLookup message. Also converts values to other types if specified.
|
37478
|
+
* @param message MessageAddressTableLookup
|
37479
|
+
* @param [options] Conversion options
|
37480
|
+
* @returns Plain object
|
37481
|
+
*/
|
37482
|
+
public static toObject(message: TW.Solana.Proto.RawMessage.MessageAddressTableLookup, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37483
|
+
|
37484
|
+
/**
|
37485
|
+
* Converts this MessageAddressTableLookup to JSON.
|
37486
|
+
* @returns JSON object
|
37487
|
+
*/
|
37488
|
+
public toJSON(): { [k: string]: any };
|
37489
|
+
}
|
37490
|
+
|
37491
|
+
/** Properties of a MessageLegacy. */
|
37492
|
+
interface IMessageLegacy {
|
37493
|
+
|
37494
|
+
/** MessageLegacy header */
|
37495
|
+
header?: (TW.Solana.Proto.RawMessage.IMessageHeader|null);
|
37496
|
+
|
37497
|
+
/** MessageLegacy accountKeys */
|
37498
|
+
accountKeys?: (string[]|null);
|
37499
|
+
|
37500
|
+
/** MessageLegacy recentBlockhash */
|
37501
|
+
recentBlockhash?: (string|null);
|
37502
|
+
|
37503
|
+
/** MessageLegacy instructions */
|
37504
|
+
instructions?: (TW.Solana.Proto.RawMessage.IInstruction[]|null);
|
37505
|
+
}
|
37506
|
+
|
37507
|
+
/** Represents a MessageLegacy. */
|
37508
|
+
class MessageLegacy implements IMessageLegacy {
|
37509
|
+
|
37510
|
+
/**
|
37511
|
+
* Constructs a new MessageLegacy.
|
37512
|
+
* @param [properties] Properties to set
|
37513
|
+
*/
|
37514
|
+
constructor(properties?: TW.Solana.Proto.RawMessage.IMessageLegacy);
|
37515
|
+
|
37516
|
+
/** MessageLegacy header. */
|
37517
|
+
public header?: (TW.Solana.Proto.RawMessage.IMessageHeader|null);
|
37518
|
+
|
37519
|
+
/** MessageLegacy accountKeys. */
|
37520
|
+
public accountKeys: string[];
|
37521
|
+
|
37522
|
+
/** MessageLegacy recentBlockhash. */
|
37523
|
+
public recentBlockhash: string;
|
37524
|
+
|
37525
|
+
/** MessageLegacy instructions. */
|
37526
|
+
public instructions: TW.Solana.Proto.RawMessage.IInstruction[];
|
37527
|
+
|
37528
|
+
/**
|
37529
|
+
* Creates a new MessageLegacy instance using the specified properties.
|
37530
|
+
* @param [properties] Properties to set
|
37531
|
+
* @returns MessageLegacy instance
|
37532
|
+
*/
|
37533
|
+
public static create(properties?: TW.Solana.Proto.RawMessage.IMessageLegacy): TW.Solana.Proto.RawMessage.MessageLegacy;
|
37534
|
+
|
37535
|
+
/**
|
37536
|
+
* Encodes the specified MessageLegacy message. Does not implicitly {@link TW.Solana.Proto.RawMessage.MessageLegacy.verify|verify} messages.
|
37537
|
+
* @param message MessageLegacy message or plain object to encode
|
37538
|
+
* @param [writer] Writer to encode to
|
37539
|
+
* @returns Writer
|
37540
|
+
*/
|
37541
|
+
public static encode(message: TW.Solana.Proto.RawMessage.IMessageLegacy, writer?: $protobuf.Writer): $protobuf.Writer;
|
37542
|
+
|
37543
|
+
/**
|
37544
|
+
* Decodes a MessageLegacy message from the specified reader or buffer.
|
37545
|
+
* @param reader Reader or buffer to decode from
|
37546
|
+
* @param [length] Message length if known beforehand
|
37547
|
+
* @returns MessageLegacy
|
37548
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37549
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37550
|
+
*/
|
37551
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.RawMessage.MessageLegacy;
|
37552
|
+
|
37553
|
+
/**
|
37554
|
+
* Verifies a MessageLegacy message.
|
37555
|
+
* @param message Plain object to verify
|
37556
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37557
|
+
*/
|
37558
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37559
|
+
|
37560
|
+
/**
|
37561
|
+
* Creates a MessageLegacy message from a plain object. Also converts values to their respective internal types.
|
37562
|
+
* @param object Plain object
|
37563
|
+
* @returns MessageLegacy
|
37564
|
+
*/
|
37565
|
+
public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.RawMessage.MessageLegacy;
|
37566
|
+
|
37567
|
+
/**
|
37568
|
+
* Creates a plain object from a MessageLegacy message. Also converts values to other types if specified.
|
37569
|
+
* @param message MessageLegacy
|
37570
|
+
* @param [options] Conversion options
|
37571
|
+
* @returns Plain object
|
37572
|
+
*/
|
37573
|
+
public static toObject(message: TW.Solana.Proto.RawMessage.MessageLegacy, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37574
|
+
|
37575
|
+
/**
|
37576
|
+
* Converts this MessageLegacy to JSON.
|
37577
|
+
* @returns JSON object
|
37578
|
+
*/
|
37579
|
+
public toJSON(): { [k: string]: any };
|
37580
|
+
}
|
37581
|
+
|
37582
|
+
/** Properties of a MessageV0. */
|
37583
|
+
interface IMessageV0 {
|
37584
|
+
|
37585
|
+
/** MessageV0 header */
|
37586
|
+
header?: (TW.Solana.Proto.RawMessage.IMessageHeader|null);
|
37587
|
+
|
37588
|
+
/** MessageV0 accountKeys */
|
37589
|
+
accountKeys?: (string[]|null);
|
37590
|
+
|
37591
|
+
/** MessageV0 recentBlockhash */
|
37592
|
+
recentBlockhash?: (string|null);
|
37593
|
+
|
37594
|
+
/** MessageV0 instructions */
|
37595
|
+
instructions?: (TW.Solana.Proto.RawMessage.IInstruction[]|null);
|
37596
|
+
|
37597
|
+
/** MessageV0 addressTableLookups */
|
37598
|
+
addressTableLookups?: (TW.Solana.Proto.RawMessage.IMessageAddressTableLookup[]|null);
|
37599
|
+
}
|
37600
|
+
|
37601
|
+
/** Represents a MessageV0. */
|
37602
|
+
class MessageV0 implements IMessageV0 {
|
37603
|
+
|
37604
|
+
/**
|
37605
|
+
* Constructs a new MessageV0.
|
37606
|
+
* @param [properties] Properties to set
|
37607
|
+
*/
|
37608
|
+
constructor(properties?: TW.Solana.Proto.RawMessage.IMessageV0);
|
37609
|
+
|
37610
|
+
/** MessageV0 header. */
|
37611
|
+
public header?: (TW.Solana.Proto.RawMessage.IMessageHeader|null);
|
37612
|
+
|
37613
|
+
/** MessageV0 accountKeys. */
|
37614
|
+
public accountKeys: string[];
|
37615
|
+
|
37616
|
+
/** MessageV0 recentBlockhash. */
|
37617
|
+
public recentBlockhash: string;
|
37618
|
+
|
37619
|
+
/** MessageV0 instructions. */
|
37620
|
+
public instructions: TW.Solana.Proto.RawMessage.IInstruction[];
|
37621
|
+
|
37622
|
+
/** MessageV0 addressTableLookups. */
|
37623
|
+
public addressTableLookups: TW.Solana.Proto.RawMessage.IMessageAddressTableLookup[];
|
37624
|
+
|
37625
|
+
/**
|
37626
|
+
* Creates a new MessageV0 instance using the specified properties.
|
37627
|
+
* @param [properties] Properties to set
|
37628
|
+
* @returns MessageV0 instance
|
37629
|
+
*/
|
37630
|
+
public static create(properties?: TW.Solana.Proto.RawMessage.IMessageV0): TW.Solana.Proto.RawMessage.MessageV0;
|
37631
|
+
|
37632
|
+
/**
|
37633
|
+
* Encodes the specified MessageV0 message. Does not implicitly {@link TW.Solana.Proto.RawMessage.MessageV0.verify|verify} messages.
|
37634
|
+
* @param message MessageV0 message or plain object to encode
|
37635
|
+
* @param [writer] Writer to encode to
|
37636
|
+
* @returns Writer
|
37637
|
+
*/
|
37638
|
+
public static encode(message: TW.Solana.Proto.RawMessage.IMessageV0, writer?: $protobuf.Writer): $protobuf.Writer;
|
37639
|
+
|
37640
|
+
/**
|
37641
|
+
* Decodes a MessageV0 message from the specified reader or buffer.
|
37642
|
+
* @param reader Reader or buffer to decode from
|
37643
|
+
* @param [length] Message length if known beforehand
|
37644
|
+
* @returns MessageV0
|
37645
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37646
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37647
|
+
*/
|
37648
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.RawMessage.MessageV0;
|
37649
|
+
|
37650
|
+
/**
|
37651
|
+
* Verifies a MessageV0 message.
|
37652
|
+
* @param message Plain object to verify
|
37653
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37654
|
+
*/
|
37655
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37656
|
+
|
37657
|
+
/**
|
37658
|
+
* Creates a MessageV0 message from a plain object. Also converts values to their respective internal types.
|
37659
|
+
* @param object Plain object
|
37660
|
+
* @returns MessageV0
|
37661
|
+
*/
|
37662
|
+
public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.RawMessage.MessageV0;
|
37663
|
+
|
37664
|
+
/**
|
37665
|
+
* Creates a plain object from a MessageV0 message. Also converts values to other types if specified.
|
37666
|
+
* @param message MessageV0
|
37667
|
+
* @param [options] Conversion options
|
37668
|
+
* @returns Plain object
|
37669
|
+
*/
|
37670
|
+
public static toObject(message: TW.Solana.Proto.RawMessage.MessageV0, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37671
|
+
|
37672
|
+
/**
|
37673
|
+
* Converts this MessageV0 to JSON.
|
37674
|
+
* @returns JSON object
|
37675
|
+
*/
|
37676
|
+
public toJSON(): { [k: string]: any };
|
37677
|
+
}
|
37678
|
+
}
|
37679
|
+
|
37680
|
+
/** Properties of a DecodingTransactionOutput. */
|
37681
|
+
interface IDecodingTransactionOutput {
|
37682
|
+
|
37683
|
+
/** DecodingTransactionOutput transaction */
|
37684
|
+
transaction?: (TW.Solana.Proto.IRawMessage|null);
|
37685
|
+
|
37686
|
+
/** DecodingTransactionOutput error */
|
37687
|
+
error?: (TW.Common.Proto.SigningError|null);
|
37688
|
+
|
37689
|
+
/** DecodingTransactionOutput errorMessage */
|
37690
|
+
errorMessage?: (string|null);
|
37691
|
+
}
|
37692
|
+
|
37693
|
+
/** Represents a DecodingTransactionOutput. */
|
37694
|
+
class DecodingTransactionOutput implements IDecodingTransactionOutput {
|
37695
|
+
|
37696
|
+
/**
|
37697
|
+
* Constructs a new DecodingTransactionOutput.
|
37698
|
+
* @param [properties] Properties to set
|
37699
|
+
*/
|
37700
|
+
constructor(properties?: TW.Solana.Proto.IDecodingTransactionOutput);
|
37701
|
+
|
37702
|
+
/** DecodingTransactionOutput transaction. */
|
37703
|
+
public transaction?: (TW.Solana.Proto.IRawMessage|null);
|
37704
|
+
|
37705
|
+
/** DecodingTransactionOutput error. */
|
37706
|
+
public error: TW.Common.Proto.SigningError;
|
37707
|
+
|
37708
|
+
/** DecodingTransactionOutput errorMessage. */
|
37709
|
+
public errorMessage: string;
|
37710
|
+
|
37711
|
+
/**
|
37712
|
+
* Creates a new DecodingTransactionOutput instance using the specified properties.
|
37713
|
+
* @param [properties] Properties to set
|
37714
|
+
* @returns DecodingTransactionOutput instance
|
37715
|
+
*/
|
37716
|
+
public static create(properties?: TW.Solana.Proto.IDecodingTransactionOutput): TW.Solana.Proto.DecodingTransactionOutput;
|
37717
|
+
|
37718
|
+
/**
|
37719
|
+
* Encodes the specified DecodingTransactionOutput message. Does not implicitly {@link TW.Solana.Proto.DecodingTransactionOutput.verify|verify} messages.
|
37720
|
+
* @param message DecodingTransactionOutput message or plain object to encode
|
37721
|
+
* @param [writer] Writer to encode to
|
37722
|
+
* @returns Writer
|
37723
|
+
*/
|
37724
|
+
public static encode(message: TW.Solana.Proto.IDecodingTransactionOutput, writer?: $protobuf.Writer): $protobuf.Writer;
|
37725
|
+
|
37726
|
+
/**
|
37727
|
+
* Decodes a DecodingTransactionOutput message from the specified reader or buffer.
|
37728
|
+
* @param reader Reader or buffer to decode from
|
37729
|
+
* @param [length] Message length if known beforehand
|
37730
|
+
* @returns DecodingTransactionOutput
|
37731
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37732
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37733
|
+
*/
|
37734
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.DecodingTransactionOutput;
|
37735
|
+
|
37736
|
+
/**
|
37737
|
+
* Verifies a DecodingTransactionOutput message.
|
37738
|
+
* @param message Plain object to verify
|
37739
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37740
|
+
*/
|
37741
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37742
|
+
|
37743
|
+
/**
|
37744
|
+
* Creates a DecodingTransactionOutput message from a plain object. Also converts values to their respective internal types.
|
37745
|
+
* @param object Plain object
|
37746
|
+
* @returns DecodingTransactionOutput
|
37747
|
+
*/
|
37748
|
+
public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.DecodingTransactionOutput;
|
37749
|
+
|
37750
|
+
/**
|
37751
|
+
* Creates a plain object from a DecodingTransactionOutput message. Also converts values to other types if specified.
|
37752
|
+
* @param message DecodingTransactionOutput
|
37753
|
+
* @param [options] Conversion options
|
37754
|
+
* @returns Plain object
|
37755
|
+
*/
|
37756
|
+
public static toObject(message: TW.Solana.Proto.DecodingTransactionOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37757
|
+
|
37758
|
+
/**
|
37759
|
+
* Converts this DecodingTransactionOutput to JSON.
|
37760
|
+
* @returns JSON object
|
37761
|
+
*/
|
37762
|
+
public toJSON(): { [k: string]: any };
|
37763
|
+
}
|
37764
|
+
|
37765
|
+
/** Encoding enum. */
|
37766
|
+
enum Encoding {
|
37767
|
+
Base58 = 0,
|
37768
|
+
Base64 = 1
|
37769
|
+
}
|
37770
|
+
|
37771
|
+
/** Properties of a PriorityFeePrice. */
|
37772
|
+
interface IPriorityFeePrice {
|
37773
|
+
|
37774
|
+
/** PriorityFeePrice price */
|
37775
|
+
price?: (Long|null);
|
37776
|
+
}
|
37777
|
+
|
37778
|
+
/** Represents a PriorityFeePrice. */
|
37779
|
+
class PriorityFeePrice implements IPriorityFeePrice {
|
37780
|
+
|
37781
|
+
/**
|
37782
|
+
* Constructs a new PriorityFeePrice.
|
37783
|
+
* @param [properties] Properties to set
|
37784
|
+
*/
|
37785
|
+
constructor(properties?: TW.Solana.Proto.IPriorityFeePrice);
|
37786
|
+
|
37787
|
+
/** PriorityFeePrice price. */
|
37788
|
+
public price: Long;
|
37789
|
+
|
37790
|
+
/**
|
37791
|
+
* Creates a new PriorityFeePrice instance using the specified properties.
|
37792
|
+
* @param [properties] Properties to set
|
37793
|
+
* @returns PriorityFeePrice instance
|
37794
|
+
*/
|
37795
|
+
public static create(properties?: TW.Solana.Proto.IPriorityFeePrice): TW.Solana.Proto.PriorityFeePrice;
|
37796
|
+
|
37797
|
+
/**
|
37798
|
+
* Encodes the specified PriorityFeePrice message. Does not implicitly {@link TW.Solana.Proto.PriorityFeePrice.verify|verify} messages.
|
37799
|
+
* @param message PriorityFeePrice message or plain object to encode
|
37800
|
+
* @param [writer] Writer to encode to
|
37801
|
+
* @returns Writer
|
37802
|
+
*/
|
37803
|
+
public static encode(message: TW.Solana.Proto.IPriorityFeePrice, writer?: $protobuf.Writer): $protobuf.Writer;
|
37804
|
+
|
37805
|
+
/**
|
37806
|
+
* Decodes a PriorityFeePrice message from the specified reader or buffer.
|
37807
|
+
* @param reader Reader or buffer to decode from
|
37808
|
+
* @param [length] Message length if known beforehand
|
37809
|
+
* @returns PriorityFeePrice
|
37810
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37811
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37812
|
+
*/
|
37813
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.PriorityFeePrice;
|
37814
|
+
|
37815
|
+
/**
|
37816
|
+
* Verifies a PriorityFeePrice message.
|
37817
|
+
* @param message Plain object to verify
|
37818
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37819
|
+
*/
|
37820
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37821
|
+
|
37822
|
+
/**
|
37823
|
+
* Creates a PriorityFeePrice message from a plain object. Also converts values to their respective internal types.
|
37824
|
+
* @param object Plain object
|
37825
|
+
* @returns PriorityFeePrice
|
37826
|
+
*/
|
37827
|
+
public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.PriorityFeePrice;
|
37828
|
+
|
37829
|
+
/**
|
37830
|
+
* Creates a plain object from a PriorityFeePrice message. Also converts values to other types if specified.
|
37831
|
+
* @param message PriorityFeePrice
|
37832
|
+
* @param [options] Conversion options
|
37833
|
+
* @returns Plain object
|
37834
|
+
*/
|
37835
|
+
public static toObject(message: TW.Solana.Proto.PriorityFeePrice, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37836
|
+
|
37837
|
+
/**
|
37838
|
+
* Converts this PriorityFeePrice to JSON.
|
37839
|
+
* @returns JSON object
|
37840
|
+
*/
|
37841
|
+
public toJSON(): { [k: string]: any };
|
37842
|
+
}
|
37843
|
+
|
37844
|
+
/** Properties of a PriorityFeeLimit. */
|
37845
|
+
interface IPriorityFeeLimit {
|
37846
|
+
|
37847
|
+
/** PriorityFeeLimit limit */
|
37848
|
+
limit?: (number|null);
|
37849
|
+
}
|
37850
|
+
|
37851
|
+
/** Represents a PriorityFeeLimit. */
|
37852
|
+
class PriorityFeeLimit implements IPriorityFeeLimit {
|
37853
|
+
|
37854
|
+
/**
|
37855
|
+
* Constructs a new PriorityFeeLimit.
|
37856
|
+
* @param [properties] Properties to set
|
37857
|
+
*/
|
37858
|
+
constructor(properties?: TW.Solana.Proto.IPriorityFeeLimit);
|
37859
|
+
|
37860
|
+
/** PriorityFeeLimit limit. */
|
37861
|
+
public limit: number;
|
37862
|
+
|
37863
|
+
/**
|
37864
|
+
* Creates a new PriorityFeeLimit instance using the specified properties.
|
37865
|
+
* @param [properties] Properties to set
|
37866
|
+
* @returns PriorityFeeLimit instance
|
37867
|
+
*/
|
37868
|
+
public static create(properties?: TW.Solana.Proto.IPriorityFeeLimit): TW.Solana.Proto.PriorityFeeLimit;
|
37869
|
+
|
37870
|
+
/**
|
37871
|
+
* Encodes the specified PriorityFeeLimit message. Does not implicitly {@link TW.Solana.Proto.PriorityFeeLimit.verify|verify} messages.
|
37872
|
+
* @param message PriorityFeeLimit message or plain object to encode
|
37873
|
+
* @param [writer] Writer to encode to
|
37874
|
+
* @returns Writer
|
37875
|
+
*/
|
37876
|
+
public static encode(message: TW.Solana.Proto.IPriorityFeeLimit, writer?: $protobuf.Writer): $protobuf.Writer;
|
37877
|
+
|
37878
|
+
/**
|
37879
|
+
* Decodes a PriorityFeeLimit message from the specified reader or buffer.
|
37880
|
+
* @param reader Reader or buffer to decode from
|
37881
|
+
* @param [length] Message length if known beforehand
|
37882
|
+
* @returns PriorityFeeLimit
|
37883
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
37884
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
37885
|
+
*/
|
37886
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Solana.Proto.PriorityFeeLimit;
|
37887
|
+
|
37888
|
+
/**
|
37889
|
+
* Verifies a PriorityFeeLimit message.
|
37890
|
+
* @param message Plain object to verify
|
37891
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
37892
|
+
*/
|
37893
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
37894
|
+
|
37895
|
+
/**
|
37896
|
+
* Creates a PriorityFeeLimit message from a plain object. Also converts values to their respective internal types.
|
37897
|
+
* @param object Plain object
|
37898
|
+
* @returns PriorityFeeLimit
|
37899
|
+
*/
|
37900
|
+
public static fromObject(object: { [k: string]: any }): TW.Solana.Proto.PriorityFeeLimit;
|
37901
|
+
|
37902
|
+
/**
|
37903
|
+
* Creates a plain object from a PriorityFeeLimit message. Also converts values to other types if specified.
|
37904
|
+
* @param message PriorityFeeLimit
|
37905
|
+
* @param [options] Conversion options
|
37906
|
+
* @returns Plain object
|
37907
|
+
*/
|
37908
|
+
public static toObject(message: TW.Solana.Proto.PriorityFeeLimit, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
37909
|
+
|
37910
|
+
/**
|
37911
|
+
* Converts this PriorityFeeLimit to JSON.
|
37912
|
+
* @returns JSON object
|
37913
|
+
*/
|
37914
|
+
public toJSON(): { [k: string]: any };
|
37915
|
+
}
|
37916
|
+
|
37057
37917
|
/** Properties of a SigningInput. */
|
37058
37918
|
interface ISigningInput {
|
37059
37919
|
|
@@ -37113,6 +37973,18 @@ export namespace TW {
|
|
37113
37973
|
|
37114
37974
|
/** SigningInput feePayer */
|
37115
37975
|
feePayer?: (string|null);
|
37976
|
+
|
37977
|
+
/** SigningInput rawMessage */
|
37978
|
+
rawMessage?: (TW.Solana.Proto.IRawMessage|null);
|
37979
|
+
|
37980
|
+
/** SigningInput txEncoding */
|
37981
|
+
txEncoding?: (TW.Solana.Proto.Encoding|null);
|
37982
|
+
|
37983
|
+
/** SigningInput priorityFeePrice */
|
37984
|
+
priorityFeePrice?: (TW.Solana.Proto.IPriorityFeePrice|null);
|
37985
|
+
|
37986
|
+
/** SigningInput priorityFeeLimit */
|
37987
|
+
priorityFeeLimit?: (TW.Solana.Proto.IPriorityFeeLimit|null);
|
37116
37988
|
}
|
37117
37989
|
|
37118
37990
|
/** Represents a SigningInput. */
|
@@ -37181,6 +38053,18 @@ export namespace TW {
|
|
37181
38053
|
/** SigningInput feePayer. */
|
37182
38054
|
public feePayer: string;
|
37183
38055
|
|
38056
|
+
/** SigningInput rawMessage. */
|
38057
|
+
public rawMessage?: (TW.Solana.Proto.IRawMessage|null);
|
38058
|
+
|
38059
|
+
/** SigningInput txEncoding. */
|
38060
|
+
public txEncoding: TW.Solana.Proto.Encoding;
|
38061
|
+
|
38062
|
+
/** SigningInput priorityFeePrice. */
|
38063
|
+
public priorityFeePrice?: (TW.Solana.Proto.IPriorityFeePrice|null);
|
38064
|
+
|
38065
|
+
/** SigningInput priorityFeeLimit. */
|
38066
|
+
public priorityFeeLimit?: (TW.Solana.Proto.IPriorityFeeLimit|null);
|
38067
|
+
|
37184
38068
|
/** SigningInput transactionType. */
|
37185
38069
|
public transactionType?: ("transferTransaction"|"delegateStakeTransaction"|"deactivateStakeTransaction"|"deactivateAllStakeTransaction"|"withdrawTransaction"|"withdrawAllTransaction"|"createTokenAccountTransaction"|"tokenTransferTransaction"|"createAndTransferTokenTransaction"|"createNonceAccount"|"withdrawNonceAccount"|"advanceNonceAccount");
|
37186
38070
|
|
@@ -37253,8 +38137,8 @@ export namespace TW {
|
|
37253
38137
|
/** SigningOutput unsignedTx */
|
37254
38138
|
unsignedTx?: (string|null);
|
37255
38139
|
|
37256
|
-
/** SigningOutput
|
37257
|
-
|
38140
|
+
/** SigningOutput signatures */
|
38141
|
+
signatures?: (TW.Solana.Proto.IPubkeySignature[]|null);
|
37258
38142
|
}
|
37259
38143
|
|
37260
38144
|
/** Represents a SigningOutput. */
|
@@ -37278,8 +38162,8 @@ export namespace TW {
|
|
37278
38162
|
/** SigningOutput unsignedTx. */
|
37279
38163
|
public unsignedTx: string;
|
37280
38164
|
|
37281
|
-
/** SigningOutput
|
37282
|
-
public
|
38165
|
+
/** SigningOutput signatures. */
|
38166
|
+
public signatures: TW.Solana.Proto.IPubkeySignature[];
|
37283
38167
|
|
37284
38168
|
/**
|
37285
38169
|
* Creates a new SigningOutput instance using the specified properties.
|
@@ -37338,10 +38222,10 @@ export namespace TW {
|
|
37338
38222
|
/** Properties of a PreSigningOutput. */
|
37339
38223
|
interface IPreSigningOutput {
|
37340
38224
|
|
37341
|
-
/**
|
38225
|
+
/** PreSigningOutput signers */
|
37342
38226
|
signers?: (Uint8Array[]|null);
|
37343
38227
|
|
37344
|
-
/**
|
38228
|
+
/** PreSigningOutput data */
|
37345
38229
|
data?: (Uint8Array|null);
|
37346
38230
|
|
37347
38231
|
/** PreSigningOutput error */
|
@@ -37360,10 +38244,10 @@ export namespace TW {
|
|
37360
38244
|
*/
|
37361
38245
|
constructor(properties?: TW.Solana.Proto.IPreSigningOutput);
|
37362
38246
|
|
37363
|
-
/**
|
38247
|
+
/** PreSigningOutput signers. */
|
37364
38248
|
public signers: Uint8Array[];
|
37365
38249
|
|
37366
|
-
/**
|
38250
|
+
/** PreSigningOutput data. */
|
37367
38251
|
public data: Uint8Array;
|
37368
38252
|
|
37369
38253
|
/** PreSigningOutput error. */
|
@@ -43298,7 +44182,8 @@ export namespace TW {
|
|
43298
44182
|
/** Method enum. */
|
43299
44183
|
enum Method {
|
43300
44184
|
Unknown = 0,
|
43301
|
-
CosmosSignAmino = 1
|
44185
|
+
CosmosSignAmino = 1,
|
44186
|
+
SolanaSignTransaction = 2
|
43302
44187
|
}
|
43303
44188
|
|
43304
44189
|
/** Properties of a ParseRequestInput. */
|
@@ -43397,6 +44282,9 @@ export namespace TW {
|
|
43397
44282
|
|
43398
44283
|
/** ParseRequestOutput binance */
|
43399
44284
|
binance?: (TW.Binance.Proto.ISigningInput|null);
|
44285
|
+
|
44286
|
+
/** ParseRequestOutput solana */
|
44287
|
+
solana?: (TW.Solana.Proto.ISigningInput|null);
|
43400
44288
|
}
|
43401
44289
|
|
43402
44290
|
/** Represents a ParseRequestOutput. */
|
@@ -43417,8 +44305,11 @@ export namespace TW {
|
|
43417
44305
|
/** ParseRequestOutput binance. */
|
43418
44306
|
public binance?: (TW.Binance.Proto.ISigningInput|null);
|
43419
44307
|
|
44308
|
+
/** ParseRequestOutput solana. */
|
44309
|
+
public solana?: (TW.Solana.Proto.ISigningInput|null);
|
44310
|
+
|
43420
44311
|
/** ParseRequestOutput signingInputOneof. */
|
43421
|
-
public signingInputOneof?: "binance";
|
44312
|
+
public signingInputOneof?: ("binance"|"solana");
|
43422
44313
|
|
43423
44314
|
/**
|
43424
44315
|
* Creates a new ParseRequestOutput instance using the specified properties.
|