@trustwallet/wallet-core 3.1.0 → 3.1.3
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 +589 -18
- package/dist/generated/core_proto.js +1566 -96
- package/dist/lib/wallet-core.js +111 -110
- package/dist/lib/wallet-core.wasm +0 -0
- package/dist/src/keystore/default-impl.d.ts +3 -3
- package/dist/src/keystore/default-impl.js +6 -6
- package/dist/src/keystore/types.d.ts +3 -3
- package/dist/src/wallet-core.d.ts +496 -484
- package/package.json +1 -1
@@ -22271,12 +22271,559 @@ export namespace TW {
|
|
22271
22271
|
/** Namespace Proto. */
|
22272
22272
|
namespace Proto {
|
22273
22273
|
|
22274
|
-
/** Properties of a
|
22275
|
-
interface
|
22274
|
+
/** Properties of a CurrencyAmount. */
|
22275
|
+
interface ICurrencyAmount {
|
22276
22276
|
|
22277
|
-
/**
|
22277
|
+
/** CurrencyAmount currency */
|
22278
|
+
currency?: (string|null);
|
22279
|
+
|
22280
|
+
/** CurrencyAmount value */
|
22281
|
+
value?: (string|null);
|
22282
|
+
|
22283
|
+
/** CurrencyAmount issuer */
|
22284
|
+
issuer?: (string|null);
|
22285
|
+
}
|
22286
|
+
|
22287
|
+
/** Represents a CurrencyAmount. */
|
22288
|
+
class CurrencyAmount implements ICurrencyAmount {
|
22289
|
+
|
22290
|
+
/**
|
22291
|
+
* Constructs a new CurrencyAmount.
|
22292
|
+
* @param [properties] Properties to set
|
22293
|
+
*/
|
22294
|
+
constructor(properties?: TW.Ripple.Proto.ICurrencyAmount);
|
22295
|
+
|
22296
|
+
/** CurrencyAmount currency. */
|
22297
|
+
public currency: string;
|
22298
|
+
|
22299
|
+
/** CurrencyAmount value. */
|
22300
|
+
public value: string;
|
22301
|
+
|
22302
|
+
/** CurrencyAmount issuer. */
|
22303
|
+
public issuer: string;
|
22304
|
+
|
22305
|
+
/**
|
22306
|
+
* Creates a new CurrencyAmount instance using the specified properties.
|
22307
|
+
* @param [properties] Properties to set
|
22308
|
+
* @returns CurrencyAmount instance
|
22309
|
+
*/
|
22310
|
+
public static create(properties?: TW.Ripple.Proto.ICurrencyAmount): TW.Ripple.Proto.CurrencyAmount;
|
22311
|
+
|
22312
|
+
/**
|
22313
|
+
* Encodes the specified CurrencyAmount message. Does not implicitly {@link TW.Ripple.Proto.CurrencyAmount.verify|verify} messages.
|
22314
|
+
* @param message CurrencyAmount message or plain object to encode
|
22315
|
+
* @param [writer] Writer to encode to
|
22316
|
+
* @returns Writer
|
22317
|
+
*/
|
22318
|
+
public static encode(message: TW.Ripple.Proto.ICurrencyAmount, writer?: $protobuf.Writer): $protobuf.Writer;
|
22319
|
+
|
22320
|
+
/**
|
22321
|
+
* Decodes a CurrencyAmount message from the specified reader or buffer.
|
22322
|
+
* @param reader Reader or buffer to decode from
|
22323
|
+
* @param [length] Message length if known beforehand
|
22324
|
+
* @returns CurrencyAmount
|
22325
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
22326
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
22327
|
+
*/
|
22328
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ripple.Proto.CurrencyAmount;
|
22329
|
+
|
22330
|
+
/**
|
22331
|
+
* Verifies a CurrencyAmount message.
|
22332
|
+
* @param message Plain object to verify
|
22333
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
22334
|
+
*/
|
22335
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
22336
|
+
|
22337
|
+
/**
|
22338
|
+
* Creates a CurrencyAmount message from a plain object. Also converts values to their respective internal types.
|
22339
|
+
* @param object Plain object
|
22340
|
+
* @returns CurrencyAmount
|
22341
|
+
*/
|
22342
|
+
public static fromObject(object: { [k: string]: any }): TW.Ripple.Proto.CurrencyAmount;
|
22343
|
+
|
22344
|
+
/**
|
22345
|
+
* Creates a plain object from a CurrencyAmount message. Also converts values to other types if specified.
|
22346
|
+
* @param message CurrencyAmount
|
22347
|
+
* @param [options] Conversion options
|
22348
|
+
* @returns Plain object
|
22349
|
+
*/
|
22350
|
+
public static toObject(message: TW.Ripple.Proto.CurrencyAmount, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
22351
|
+
|
22352
|
+
/**
|
22353
|
+
* Converts this CurrencyAmount to JSON.
|
22354
|
+
* @returns JSON object
|
22355
|
+
*/
|
22356
|
+
public toJSON(): { [k: string]: any };
|
22357
|
+
}
|
22358
|
+
|
22359
|
+
/** Properties of an OperationTrustSet. */
|
22360
|
+
interface IOperationTrustSet {
|
22361
|
+
|
22362
|
+
/** OperationTrustSet limitAmount */
|
22363
|
+
limitAmount?: (TW.Ripple.Proto.ICurrencyAmount|null);
|
22364
|
+
}
|
22365
|
+
|
22366
|
+
/** Represents an OperationTrustSet. */
|
22367
|
+
class OperationTrustSet implements IOperationTrustSet {
|
22368
|
+
|
22369
|
+
/**
|
22370
|
+
* Constructs a new OperationTrustSet.
|
22371
|
+
* @param [properties] Properties to set
|
22372
|
+
*/
|
22373
|
+
constructor(properties?: TW.Ripple.Proto.IOperationTrustSet);
|
22374
|
+
|
22375
|
+
/** OperationTrustSet limitAmount. */
|
22376
|
+
public limitAmount?: (TW.Ripple.Proto.ICurrencyAmount|null);
|
22377
|
+
|
22378
|
+
/**
|
22379
|
+
* Creates a new OperationTrustSet instance using the specified properties.
|
22380
|
+
* @param [properties] Properties to set
|
22381
|
+
* @returns OperationTrustSet instance
|
22382
|
+
*/
|
22383
|
+
public static create(properties?: TW.Ripple.Proto.IOperationTrustSet): TW.Ripple.Proto.OperationTrustSet;
|
22384
|
+
|
22385
|
+
/**
|
22386
|
+
* Encodes the specified OperationTrustSet message. Does not implicitly {@link TW.Ripple.Proto.OperationTrustSet.verify|verify} messages.
|
22387
|
+
* @param message OperationTrustSet message or plain object to encode
|
22388
|
+
* @param [writer] Writer to encode to
|
22389
|
+
* @returns Writer
|
22390
|
+
*/
|
22391
|
+
public static encode(message: TW.Ripple.Proto.IOperationTrustSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
22392
|
+
|
22393
|
+
/**
|
22394
|
+
* Decodes an OperationTrustSet message from the specified reader or buffer.
|
22395
|
+
* @param reader Reader or buffer to decode from
|
22396
|
+
* @param [length] Message length if known beforehand
|
22397
|
+
* @returns OperationTrustSet
|
22398
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
22399
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
22400
|
+
*/
|
22401
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ripple.Proto.OperationTrustSet;
|
22402
|
+
|
22403
|
+
/**
|
22404
|
+
* Verifies an OperationTrustSet message.
|
22405
|
+
* @param message Plain object to verify
|
22406
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
22407
|
+
*/
|
22408
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
22409
|
+
|
22410
|
+
/**
|
22411
|
+
* Creates an OperationTrustSet message from a plain object. Also converts values to their respective internal types.
|
22412
|
+
* @param object Plain object
|
22413
|
+
* @returns OperationTrustSet
|
22414
|
+
*/
|
22415
|
+
public static fromObject(object: { [k: string]: any }): TW.Ripple.Proto.OperationTrustSet;
|
22416
|
+
|
22417
|
+
/**
|
22418
|
+
* Creates a plain object from an OperationTrustSet message. Also converts values to other types if specified.
|
22419
|
+
* @param message OperationTrustSet
|
22420
|
+
* @param [options] Conversion options
|
22421
|
+
* @returns Plain object
|
22422
|
+
*/
|
22423
|
+
public static toObject(message: TW.Ripple.Proto.OperationTrustSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
22424
|
+
|
22425
|
+
/**
|
22426
|
+
* Converts this OperationTrustSet to JSON.
|
22427
|
+
* @returns JSON object
|
22428
|
+
*/
|
22429
|
+
public toJSON(): { [k: string]: any };
|
22430
|
+
}
|
22431
|
+
|
22432
|
+
/** Properties of an OperationPayment. */
|
22433
|
+
interface IOperationPayment {
|
22434
|
+
|
22435
|
+
/** OperationPayment amount */
|
22278
22436
|
amount?: (Long|null);
|
22279
22437
|
|
22438
|
+
/** OperationPayment currencyAmount */
|
22439
|
+
currencyAmount?: (TW.Ripple.Proto.ICurrencyAmount|null);
|
22440
|
+
|
22441
|
+
/** OperationPayment destination */
|
22442
|
+
destination?: (string|null);
|
22443
|
+
|
22444
|
+
/** OperationPayment destinationTag */
|
22445
|
+
destinationTag?: (Long|null);
|
22446
|
+
}
|
22447
|
+
|
22448
|
+
/** Represents an OperationPayment. */
|
22449
|
+
class OperationPayment implements IOperationPayment {
|
22450
|
+
|
22451
|
+
/**
|
22452
|
+
* Constructs a new OperationPayment.
|
22453
|
+
* @param [properties] Properties to set
|
22454
|
+
*/
|
22455
|
+
constructor(properties?: TW.Ripple.Proto.IOperationPayment);
|
22456
|
+
|
22457
|
+
/** OperationPayment amount. */
|
22458
|
+
public amount?: (Long|null);
|
22459
|
+
|
22460
|
+
/** OperationPayment currencyAmount. */
|
22461
|
+
public currencyAmount?: (TW.Ripple.Proto.ICurrencyAmount|null);
|
22462
|
+
|
22463
|
+
/** OperationPayment destination. */
|
22464
|
+
public destination: string;
|
22465
|
+
|
22466
|
+
/** OperationPayment destinationTag. */
|
22467
|
+
public destinationTag: Long;
|
22468
|
+
|
22469
|
+
/** OperationPayment amountOneof. */
|
22470
|
+
public amountOneof?: ("amount"|"currencyAmount");
|
22471
|
+
|
22472
|
+
/**
|
22473
|
+
* Creates a new OperationPayment instance using the specified properties.
|
22474
|
+
* @param [properties] Properties to set
|
22475
|
+
* @returns OperationPayment instance
|
22476
|
+
*/
|
22477
|
+
public static create(properties?: TW.Ripple.Proto.IOperationPayment): TW.Ripple.Proto.OperationPayment;
|
22478
|
+
|
22479
|
+
/**
|
22480
|
+
* Encodes the specified OperationPayment message. Does not implicitly {@link TW.Ripple.Proto.OperationPayment.verify|verify} messages.
|
22481
|
+
* @param message OperationPayment message or plain object to encode
|
22482
|
+
* @param [writer] Writer to encode to
|
22483
|
+
* @returns Writer
|
22484
|
+
*/
|
22485
|
+
public static encode(message: TW.Ripple.Proto.IOperationPayment, writer?: $protobuf.Writer): $protobuf.Writer;
|
22486
|
+
|
22487
|
+
/**
|
22488
|
+
* Decodes an OperationPayment message from the specified reader or buffer.
|
22489
|
+
* @param reader Reader or buffer to decode from
|
22490
|
+
* @param [length] Message length if known beforehand
|
22491
|
+
* @returns OperationPayment
|
22492
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
22493
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
22494
|
+
*/
|
22495
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ripple.Proto.OperationPayment;
|
22496
|
+
|
22497
|
+
/**
|
22498
|
+
* Verifies an OperationPayment message.
|
22499
|
+
* @param message Plain object to verify
|
22500
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
22501
|
+
*/
|
22502
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
22503
|
+
|
22504
|
+
/**
|
22505
|
+
* Creates an OperationPayment message from a plain object. Also converts values to their respective internal types.
|
22506
|
+
* @param object Plain object
|
22507
|
+
* @returns OperationPayment
|
22508
|
+
*/
|
22509
|
+
public static fromObject(object: { [k: string]: any }): TW.Ripple.Proto.OperationPayment;
|
22510
|
+
|
22511
|
+
/**
|
22512
|
+
* Creates a plain object from an OperationPayment message. Also converts values to other types if specified.
|
22513
|
+
* @param message OperationPayment
|
22514
|
+
* @param [options] Conversion options
|
22515
|
+
* @returns Plain object
|
22516
|
+
*/
|
22517
|
+
public static toObject(message: TW.Ripple.Proto.OperationPayment, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
22518
|
+
|
22519
|
+
/**
|
22520
|
+
* Converts this OperationPayment to JSON.
|
22521
|
+
* @returns JSON object
|
22522
|
+
*/
|
22523
|
+
public toJSON(): { [k: string]: any };
|
22524
|
+
}
|
22525
|
+
|
22526
|
+
/** Properties of an OperationNFTokenBurn. */
|
22527
|
+
interface IOperationNFTokenBurn {
|
22528
|
+
|
22529
|
+
/** OperationNFTokenBurn nftokenId */
|
22530
|
+
nftokenId?: (Uint8Array|null);
|
22531
|
+
}
|
22532
|
+
|
22533
|
+
/** Represents an OperationNFTokenBurn. */
|
22534
|
+
class OperationNFTokenBurn implements IOperationNFTokenBurn {
|
22535
|
+
|
22536
|
+
/**
|
22537
|
+
* Constructs a new OperationNFTokenBurn.
|
22538
|
+
* @param [properties] Properties to set
|
22539
|
+
*/
|
22540
|
+
constructor(properties?: TW.Ripple.Proto.IOperationNFTokenBurn);
|
22541
|
+
|
22542
|
+
/** OperationNFTokenBurn nftokenId. */
|
22543
|
+
public nftokenId: Uint8Array;
|
22544
|
+
|
22545
|
+
/**
|
22546
|
+
* Creates a new OperationNFTokenBurn instance using the specified properties.
|
22547
|
+
* @param [properties] Properties to set
|
22548
|
+
* @returns OperationNFTokenBurn instance
|
22549
|
+
*/
|
22550
|
+
public static create(properties?: TW.Ripple.Proto.IOperationNFTokenBurn): TW.Ripple.Proto.OperationNFTokenBurn;
|
22551
|
+
|
22552
|
+
/**
|
22553
|
+
* Encodes the specified OperationNFTokenBurn message. Does not implicitly {@link TW.Ripple.Proto.OperationNFTokenBurn.verify|verify} messages.
|
22554
|
+
* @param message OperationNFTokenBurn message or plain object to encode
|
22555
|
+
* @param [writer] Writer to encode to
|
22556
|
+
* @returns Writer
|
22557
|
+
*/
|
22558
|
+
public static encode(message: TW.Ripple.Proto.IOperationNFTokenBurn, writer?: $protobuf.Writer): $protobuf.Writer;
|
22559
|
+
|
22560
|
+
/**
|
22561
|
+
* Decodes an OperationNFTokenBurn message from the specified reader or buffer.
|
22562
|
+
* @param reader Reader or buffer to decode from
|
22563
|
+
* @param [length] Message length if known beforehand
|
22564
|
+
* @returns OperationNFTokenBurn
|
22565
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
22566
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
22567
|
+
*/
|
22568
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ripple.Proto.OperationNFTokenBurn;
|
22569
|
+
|
22570
|
+
/**
|
22571
|
+
* Verifies an OperationNFTokenBurn message.
|
22572
|
+
* @param message Plain object to verify
|
22573
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
22574
|
+
*/
|
22575
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
22576
|
+
|
22577
|
+
/**
|
22578
|
+
* Creates an OperationNFTokenBurn message from a plain object. Also converts values to their respective internal types.
|
22579
|
+
* @param object Plain object
|
22580
|
+
* @returns OperationNFTokenBurn
|
22581
|
+
*/
|
22582
|
+
public static fromObject(object: { [k: string]: any }): TW.Ripple.Proto.OperationNFTokenBurn;
|
22583
|
+
|
22584
|
+
/**
|
22585
|
+
* Creates a plain object from an OperationNFTokenBurn message. Also converts values to other types if specified.
|
22586
|
+
* @param message OperationNFTokenBurn
|
22587
|
+
* @param [options] Conversion options
|
22588
|
+
* @returns Plain object
|
22589
|
+
*/
|
22590
|
+
public static toObject(message: TW.Ripple.Proto.OperationNFTokenBurn, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
22591
|
+
|
22592
|
+
/**
|
22593
|
+
* Converts this OperationNFTokenBurn to JSON.
|
22594
|
+
* @returns JSON object
|
22595
|
+
*/
|
22596
|
+
public toJSON(): { [k: string]: any };
|
22597
|
+
}
|
22598
|
+
|
22599
|
+
/** Properties of an OperationNFTokenCreateOffer. */
|
22600
|
+
interface IOperationNFTokenCreateOffer {
|
22601
|
+
|
22602
|
+
/** OperationNFTokenCreateOffer nftokenId */
|
22603
|
+
nftokenId?: (Uint8Array|null);
|
22604
|
+
|
22605
|
+
/** OperationNFTokenCreateOffer destination */
|
22606
|
+
destination?: (string|null);
|
22607
|
+
}
|
22608
|
+
|
22609
|
+
/** Represents an OperationNFTokenCreateOffer. */
|
22610
|
+
class OperationNFTokenCreateOffer implements IOperationNFTokenCreateOffer {
|
22611
|
+
|
22612
|
+
/**
|
22613
|
+
* Constructs a new OperationNFTokenCreateOffer.
|
22614
|
+
* @param [properties] Properties to set
|
22615
|
+
*/
|
22616
|
+
constructor(properties?: TW.Ripple.Proto.IOperationNFTokenCreateOffer);
|
22617
|
+
|
22618
|
+
/** OperationNFTokenCreateOffer nftokenId. */
|
22619
|
+
public nftokenId: Uint8Array;
|
22620
|
+
|
22621
|
+
/** OperationNFTokenCreateOffer destination. */
|
22622
|
+
public destination: string;
|
22623
|
+
|
22624
|
+
/**
|
22625
|
+
* Creates a new OperationNFTokenCreateOffer instance using the specified properties.
|
22626
|
+
* @param [properties] Properties to set
|
22627
|
+
* @returns OperationNFTokenCreateOffer instance
|
22628
|
+
*/
|
22629
|
+
public static create(properties?: TW.Ripple.Proto.IOperationNFTokenCreateOffer): TW.Ripple.Proto.OperationNFTokenCreateOffer;
|
22630
|
+
|
22631
|
+
/**
|
22632
|
+
* Encodes the specified OperationNFTokenCreateOffer message. Does not implicitly {@link TW.Ripple.Proto.OperationNFTokenCreateOffer.verify|verify} messages.
|
22633
|
+
* @param message OperationNFTokenCreateOffer message or plain object to encode
|
22634
|
+
* @param [writer] Writer to encode to
|
22635
|
+
* @returns Writer
|
22636
|
+
*/
|
22637
|
+
public static encode(message: TW.Ripple.Proto.IOperationNFTokenCreateOffer, writer?: $protobuf.Writer): $protobuf.Writer;
|
22638
|
+
|
22639
|
+
/**
|
22640
|
+
* Decodes an OperationNFTokenCreateOffer message from the specified reader or buffer.
|
22641
|
+
* @param reader Reader or buffer to decode from
|
22642
|
+
* @param [length] Message length if known beforehand
|
22643
|
+
* @returns OperationNFTokenCreateOffer
|
22644
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
22645
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
22646
|
+
*/
|
22647
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ripple.Proto.OperationNFTokenCreateOffer;
|
22648
|
+
|
22649
|
+
/**
|
22650
|
+
* Verifies an OperationNFTokenCreateOffer message.
|
22651
|
+
* @param message Plain object to verify
|
22652
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
22653
|
+
*/
|
22654
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
22655
|
+
|
22656
|
+
/**
|
22657
|
+
* Creates an OperationNFTokenCreateOffer message from a plain object. Also converts values to their respective internal types.
|
22658
|
+
* @param object Plain object
|
22659
|
+
* @returns OperationNFTokenCreateOffer
|
22660
|
+
*/
|
22661
|
+
public static fromObject(object: { [k: string]: any }): TW.Ripple.Proto.OperationNFTokenCreateOffer;
|
22662
|
+
|
22663
|
+
/**
|
22664
|
+
* Creates a plain object from an OperationNFTokenCreateOffer message. Also converts values to other types if specified.
|
22665
|
+
* @param message OperationNFTokenCreateOffer
|
22666
|
+
* @param [options] Conversion options
|
22667
|
+
* @returns Plain object
|
22668
|
+
*/
|
22669
|
+
public static toObject(message: TW.Ripple.Proto.OperationNFTokenCreateOffer, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
22670
|
+
|
22671
|
+
/**
|
22672
|
+
* Converts this OperationNFTokenCreateOffer to JSON.
|
22673
|
+
* @returns JSON object
|
22674
|
+
*/
|
22675
|
+
public toJSON(): { [k: string]: any };
|
22676
|
+
}
|
22677
|
+
|
22678
|
+
/** Properties of an OperationNFTokenAcceptOffer. */
|
22679
|
+
interface IOperationNFTokenAcceptOffer {
|
22680
|
+
|
22681
|
+
/** OperationNFTokenAcceptOffer sellOffer */
|
22682
|
+
sellOffer?: (Uint8Array|null);
|
22683
|
+
}
|
22684
|
+
|
22685
|
+
/** Represents an OperationNFTokenAcceptOffer. */
|
22686
|
+
class OperationNFTokenAcceptOffer implements IOperationNFTokenAcceptOffer {
|
22687
|
+
|
22688
|
+
/**
|
22689
|
+
* Constructs a new OperationNFTokenAcceptOffer.
|
22690
|
+
* @param [properties] Properties to set
|
22691
|
+
*/
|
22692
|
+
constructor(properties?: TW.Ripple.Proto.IOperationNFTokenAcceptOffer);
|
22693
|
+
|
22694
|
+
/** OperationNFTokenAcceptOffer sellOffer. */
|
22695
|
+
public sellOffer: Uint8Array;
|
22696
|
+
|
22697
|
+
/**
|
22698
|
+
* Creates a new OperationNFTokenAcceptOffer instance using the specified properties.
|
22699
|
+
* @param [properties] Properties to set
|
22700
|
+
* @returns OperationNFTokenAcceptOffer instance
|
22701
|
+
*/
|
22702
|
+
public static create(properties?: TW.Ripple.Proto.IOperationNFTokenAcceptOffer): TW.Ripple.Proto.OperationNFTokenAcceptOffer;
|
22703
|
+
|
22704
|
+
/**
|
22705
|
+
* Encodes the specified OperationNFTokenAcceptOffer message. Does not implicitly {@link TW.Ripple.Proto.OperationNFTokenAcceptOffer.verify|verify} messages.
|
22706
|
+
* @param message OperationNFTokenAcceptOffer message or plain object to encode
|
22707
|
+
* @param [writer] Writer to encode to
|
22708
|
+
* @returns Writer
|
22709
|
+
*/
|
22710
|
+
public static encode(message: TW.Ripple.Proto.IOperationNFTokenAcceptOffer, writer?: $protobuf.Writer): $protobuf.Writer;
|
22711
|
+
|
22712
|
+
/**
|
22713
|
+
* Decodes an OperationNFTokenAcceptOffer message from the specified reader or buffer.
|
22714
|
+
* @param reader Reader or buffer to decode from
|
22715
|
+
* @param [length] Message length if known beforehand
|
22716
|
+
* @returns OperationNFTokenAcceptOffer
|
22717
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
22718
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
22719
|
+
*/
|
22720
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ripple.Proto.OperationNFTokenAcceptOffer;
|
22721
|
+
|
22722
|
+
/**
|
22723
|
+
* Verifies an OperationNFTokenAcceptOffer message.
|
22724
|
+
* @param message Plain object to verify
|
22725
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
22726
|
+
*/
|
22727
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
22728
|
+
|
22729
|
+
/**
|
22730
|
+
* Creates an OperationNFTokenAcceptOffer message from a plain object. Also converts values to their respective internal types.
|
22731
|
+
* @param object Plain object
|
22732
|
+
* @returns OperationNFTokenAcceptOffer
|
22733
|
+
*/
|
22734
|
+
public static fromObject(object: { [k: string]: any }): TW.Ripple.Proto.OperationNFTokenAcceptOffer;
|
22735
|
+
|
22736
|
+
/**
|
22737
|
+
* Creates a plain object from an OperationNFTokenAcceptOffer message. Also converts values to other types if specified.
|
22738
|
+
* @param message OperationNFTokenAcceptOffer
|
22739
|
+
* @param [options] Conversion options
|
22740
|
+
* @returns Plain object
|
22741
|
+
*/
|
22742
|
+
public static toObject(message: TW.Ripple.Proto.OperationNFTokenAcceptOffer, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
22743
|
+
|
22744
|
+
/**
|
22745
|
+
* Converts this OperationNFTokenAcceptOffer to JSON.
|
22746
|
+
* @returns JSON object
|
22747
|
+
*/
|
22748
|
+
public toJSON(): { [k: string]: any };
|
22749
|
+
}
|
22750
|
+
|
22751
|
+
/** Properties of an OperationNFTokenCancelOffer. */
|
22752
|
+
interface IOperationNFTokenCancelOffer {
|
22753
|
+
|
22754
|
+
/** OperationNFTokenCancelOffer tokenOffers */
|
22755
|
+
tokenOffers?: (Uint8Array[]|null);
|
22756
|
+
}
|
22757
|
+
|
22758
|
+
/** Represents an OperationNFTokenCancelOffer. */
|
22759
|
+
class OperationNFTokenCancelOffer implements IOperationNFTokenCancelOffer {
|
22760
|
+
|
22761
|
+
/**
|
22762
|
+
* Constructs a new OperationNFTokenCancelOffer.
|
22763
|
+
* @param [properties] Properties to set
|
22764
|
+
*/
|
22765
|
+
constructor(properties?: TW.Ripple.Proto.IOperationNFTokenCancelOffer);
|
22766
|
+
|
22767
|
+
/** OperationNFTokenCancelOffer tokenOffers. */
|
22768
|
+
public tokenOffers: Uint8Array[];
|
22769
|
+
|
22770
|
+
/**
|
22771
|
+
* Creates a new OperationNFTokenCancelOffer instance using the specified properties.
|
22772
|
+
* @param [properties] Properties to set
|
22773
|
+
* @returns OperationNFTokenCancelOffer instance
|
22774
|
+
*/
|
22775
|
+
public static create(properties?: TW.Ripple.Proto.IOperationNFTokenCancelOffer): TW.Ripple.Proto.OperationNFTokenCancelOffer;
|
22776
|
+
|
22777
|
+
/**
|
22778
|
+
* Encodes the specified OperationNFTokenCancelOffer message. Does not implicitly {@link TW.Ripple.Proto.OperationNFTokenCancelOffer.verify|verify} messages.
|
22779
|
+
* @param message OperationNFTokenCancelOffer message or plain object to encode
|
22780
|
+
* @param [writer] Writer to encode to
|
22781
|
+
* @returns Writer
|
22782
|
+
*/
|
22783
|
+
public static encode(message: TW.Ripple.Proto.IOperationNFTokenCancelOffer, writer?: $protobuf.Writer): $protobuf.Writer;
|
22784
|
+
|
22785
|
+
/**
|
22786
|
+
* Decodes an OperationNFTokenCancelOffer message from the specified reader or buffer.
|
22787
|
+
* @param reader Reader or buffer to decode from
|
22788
|
+
* @param [length] Message length if known beforehand
|
22789
|
+
* @returns OperationNFTokenCancelOffer
|
22790
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
22791
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
22792
|
+
*/
|
22793
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ripple.Proto.OperationNFTokenCancelOffer;
|
22794
|
+
|
22795
|
+
/**
|
22796
|
+
* Verifies an OperationNFTokenCancelOffer message.
|
22797
|
+
* @param message Plain object to verify
|
22798
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
22799
|
+
*/
|
22800
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
22801
|
+
|
22802
|
+
/**
|
22803
|
+
* Creates an OperationNFTokenCancelOffer message from a plain object. Also converts values to their respective internal types.
|
22804
|
+
* @param object Plain object
|
22805
|
+
* @returns OperationNFTokenCancelOffer
|
22806
|
+
*/
|
22807
|
+
public static fromObject(object: { [k: string]: any }): TW.Ripple.Proto.OperationNFTokenCancelOffer;
|
22808
|
+
|
22809
|
+
/**
|
22810
|
+
* Creates a plain object from an OperationNFTokenCancelOffer message. Also converts values to other types if specified.
|
22811
|
+
* @param message OperationNFTokenCancelOffer
|
22812
|
+
* @param [options] Conversion options
|
22813
|
+
* @returns Plain object
|
22814
|
+
*/
|
22815
|
+
public static toObject(message: TW.Ripple.Proto.OperationNFTokenCancelOffer, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
22816
|
+
|
22817
|
+
/**
|
22818
|
+
* Converts this OperationNFTokenCancelOffer to JSON.
|
22819
|
+
* @returns JSON object
|
22820
|
+
*/
|
22821
|
+
public toJSON(): { [k: string]: any };
|
22822
|
+
}
|
22823
|
+
|
22824
|
+
/** Properties of a SigningInput. */
|
22825
|
+
interface ISigningInput {
|
22826
|
+
|
22280
22827
|
/** SigningInput fee */
|
22281
22828
|
fee?: (Long|null);
|
22282
22829
|
|
@@ -22289,17 +22836,29 @@ export namespace TW {
|
|
22289
22836
|
/** SigningInput account */
|
22290
22837
|
account?: (string|null);
|
22291
22838
|
|
22292
|
-
/** SigningInput destination */
|
22293
|
-
destination?: (string|null);
|
22294
|
-
|
22295
|
-
/** SigningInput destinationTag */
|
22296
|
-
destinationTag?: (Long|null);
|
22297
|
-
|
22298
22839
|
/** SigningInput flags */
|
22299
22840
|
flags?: (Long|null);
|
22300
22841
|
|
22301
22842
|
/** SigningInput privateKey */
|
22302
22843
|
privateKey?: (Uint8Array|null);
|
22844
|
+
|
22845
|
+
/** SigningInput opTrustSet */
|
22846
|
+
opTrustSet?: (TW.Ripple.Proto.IOperationTrustSet|null);
|
22847
|
+
|
22848
|
+
/** SigningInput opPayment */
|
22849
|
+
opPayment?: (TW.Ripple.Proto.IOperationPayment|null);
|
22850
|
+
|
22851
|
+
/** SigningInput opNftokenBurn */
|
22852
|
+
opNftokenBurn?: (TW.Ripple.Proto.IOperationNFTokenBurn|null);
|
22853
|
+
|
22854
|
+
/** SigningInput opNftokenCreateOffer */
|
22855
|
+
opNftokenCreateOffer?: (TW.Ripple.Proto.IOperationNFTokenCreateOffer|null);
|
22856
|
+
|
22857
|
+
/** SigningInput opNftokenAcceptOffer */
|
22858
|
+
opNftokenAcceptOffer?: (TW.Ripple.Proto.IOperationNFTokenAcceptOffer|null);
|
22859
|
+
|
22860
|
+
/** SigningInput opNftokenCancelOffer */
|
22861
|
+
opNftokenCancelOffer?: (TW.Ripple.Proto.IOperationNFTokenCancelOffer|null);
|
22303
22862
|
}
|
22304
22863
|
|
22305
22864
|
/** Represents a SigningInput. */
|
@@ -22311,9 +22870,6 @@ export namespace TW {
|
|
22311
22870
|
*/
|
22312
22871
|
constructor(properties?: TW.Ripple.Proto.ISigningInput);
|
22313
22872
|
|
22314
|
-
/** SigningInput amount. */
|
22315
|
-
public amount: Long;
|
22316
|
-
|
22317
22873
|
/** SigningInput fee. */
|
22318
22874
|
public fee: Long;
|
22319
22875
|
|
@@ -22326,18 +22882,33 @@ export namespace TW {
|
|
22326
22882
|
/** SigningInput account. */
|
22327
22883
|
public account: string;
|
22328
22884
|
|
22329
|
-
/** SigningInput destination. */
|
22330
|
-
public destination: string;
|
22331
|
-
|
22332
|
-
/** SigningInput destinationTag. */
|
22333
|
-
public destinationTag: Long;
|
22334
|
-
|
22335
22885
|
/** SigningInput flags. */
|
22336
22886
|
public flags: Long;
|
22337
22887
|
|
22338
22888
|
/** SigningInput privateKey. */
|
22339
22889
|
public privateKey: Uint8Array;
|
22340
22890
|
|
22891
|
+
/** SigningInput opTrustSet. */
|
22892
|
+
public opTrustSet?: (TW.Ripple.Proto.IOperationTrustSet|null);
|
22893
|
+
|
22894
|
+
/** SigningInput opPayment. */
|
22895
|
+
public opPayment?: (TW.Ripple.Proto.IOperationPayment|null);
|
22896
|
+
|
22897
|
+
/** SigningInput opNftokenBurn. */
|
22898
|
+
public opNftokenBurn?: (TW.Ripple.Proto.IOperationNFTokenBurn|null);
|
22899
|
+
|
22900
|
+
/** SigningInput opNftokenCreateOffer. */
|
22901
|
+
public opNftokenCreateOffer?: (TW.Ripple.Proto.IOperationNFTokenCreateOffer|null);
|
22902
|
+
|
22903
|
+
/** SigningInput opNftokenAcceptOffer. */
|
22904
|
+
public opNftokenAcceptOffer?: (TW.Ripple.Proto.IOperationNFTokenAcceptOffer|null);
|
22905
|
+
|
22906
|
+
/** SigningInput opNftokenCancelOffer. */
|
22907
|
+
public opNftokenCancelOffer?: (TW.Ripple.Proto.IOperationNFTokenCancelOffer|null);
|
22908
|
+
|
22909
|
+
/** SigningInput operationOneof. */
|
22910
|
+
public operationOneof?: ("opTrustSet"|"opPayment"|"opNftokenBurn"|"opNftokenCreateOffer"|"opNftokenAcceptOffer"|"opNftokenCancelOffer");
|
22911
|
+
|
22341
22912
|
/**
|
22342
22913
|
* Creates a new SigningInput instance using the specified properties.
|
22343
22914
|
* @param [properties] Properties to set
|