@trustwallet/wallet-core 3.1.29 → 3.1.31

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.
@@ -4267,6 +4267,795 @@
4267
4267
  return ClaimNftMessage;
4268
4268
  })();
4269
4269
 
4270
+ Proto.TortugaClaim = (function() {
4271
+
4272
+ /**
4273
+ * Properties of a TortugaClaim.
4274
+ * @memberof TW.Aptos.Proto
4275
+ * @interface ITortugaClaim
4276
+ * @property {Long|null} [idx] TortugaClaim idx
4277
+ */
4278
+
4279
+ /**
4280
+ * Constructs a new TortugaClaim.
4281
+ * @memberof TW.Aptos.Proto
4282
+ * @classdesc Represents a TortugaClaim.
4283
+ * @implements ITortugaClaim
4284
+ * @constructor
4285
+ * @param {TW.Aptos.Proto.ITortugaClaim=} [properties] Properties to set
4286
+ */
4287
+ function TortugaClaim(properties) {
4288
+ if (properties)
4289
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
4290
+ if (properties[keys[i]] != null)
4291
+ this[keys[i]] = properties[keys[i]];
4292
+ }
4293
+
4294
+ /**
4295
+ * TortugaClaim idx.
4296
+ * @member {Long} idx
4297
+ * @memberof TW.Aptos.Proto.TortugaClaim
4298
+ * @instance
4299
+ */
4300
+ TortugaClaim.prototype.idx = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
4301
+
4302
+ /**
4303
+ * Creates a new TortugaClaim instance using the specified properties.
4304
+ * @function create
4305
+ * @memberof TW.Aptos.Proto.TortugaClaim
4306
+ * @static
4307
+ * @param {TW.Aptos.Proto.ITortugaClaim=} [properties] Properties to set
4308
+ * @returns {TW.Aptos.Proto.TortugaClaim} TortugaClaim instance
4309
+ */
4310
+ TortugaClaim.create = function create(properties) {
4311
+ return new TortugaClaim(properties);
4312
+ };
4313
+
4314
+ /**
4315
+ * Encodes the specified TortugaClaim message. Does not implicitly {@link TW.Aptos.Proto.TortugaClaim.verify|verify} messages.
4316
+ * @function encode
4317
+ * @memberof TW.Aptos.Proto.TortugaClaim
4318
+ * @static
4319
+ * @param {TW.Aptos.Proto.ITortugaClaim} message TortugaClaim message or plain object to encode
4320
+ * @param {$protobuf.Writer} [writer] Writer to encode to
4321
+ * @returns {$protobuf.Writer} Writer
4322
+ */
4323
+ TortugaClaim.encode = function encode(message, writer) {
4324
+ if (!writer)
4325
+ writer = $Writer.create();
4326
+ if (message.idx != null && Object.hasOwnProperty.call(message, "idx"))
4327
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.idx);
4328
+ return writer;
4329
+ };
4330
+
4331
+ /**
4332
+ * Decodes a TortugaClaim message from the specified reader or buffer.
4333
+ * @function decode
4334
+ * @memberof TW.Aptos.Proto.TortugaClaim
4335
+ * @static
4336
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
4337
+ * @param {number} [length] Message length if known beforehand
4338
+ * @returns {TW.Aptos.Proto.TortugaClaim} TortugaClaim
4339
+ * @throws {Error} If the payload is not a reader or valid buffer
4340
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4341
+ */
4342
+ TortugaClaim.decode = function decode(reader, length) {
4343
+ if (!(reader instanceof $Reader))
4344
+ reader = $Reader.create(reader);
4345
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Aptos.Proto.TortugaClaim();
4346
+ while (reader.pos < end) {
4347
+ var tag = reader.uint32();
4348
+ switch (tag >>> 3) {
4349
+ case 1:
4350
+ message.idx = reader.uint64();
4351
+ break;
4352
+ default:
4353
+ reader.skipType(tag & 7);
4354
+ break;
4355
+ }
4356
+ }
4357
+ return message;
4358
+ };
4359
+
4360
+ /**
4361
+ * Verifies a TortugaClaim message.
4362
+ * @function verify
4363
+ * @memberof TW.Aptos.Proto.TortugaClaim
4364
+ * @static
4365
+ * @param {Object.<string,*>} message Plain object to verify
4366
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
4367
+ */
4368
+ TortugaClaim.verify = function verify(message) {
4369
+ if (typeof message !== "object" || message === null)
4370
+ return "object expected";
4371
+ if (message.idx != null && message.hasOwnProperty("idx"))
4372
+ if (!$util.isInteger(message.idx) && !(message.idx && $util.isInteger(message.idx.low) && $util.isInteger(message.idx.high)))
4373
+ return "idx: integer|Long expected";
4374
+ return null;
4375
+ };
4376
+
4377
+ /**
4378
+ * Creates a TortugaClaim message from a plain object. Also converts values to their respective internal types.
4379
+ * @function fromObject
4380
+ * @memberof TW.Aptos.Proto.TortugaClaim
4381
+ * @static
4382
+ * @param {Object.<string,*>} object Plain object
4383
+ * @returns {TW.Aptos.Proto.TortugaClaim} TortugaClaim
4384
+ */
4385
+ TortugaClaim.fromObject = function fromObject(object) {
4386
+ if (object instanceof $root.TW.Aptos.Proto.TortugaClaim)
4387
+ return object;
4388
+ var message = new $root.TW.Aptos.Proto.TortugaClaim();
4389
+ if (object.idx != null)
4390
+ if ($util.Long)
4391
+ (message.idx = $util.Long.fromValue(object.idx)).unsigned = true;
4392
+ else if (typeof object.idx === "string")
4393
+ message.idx = parseInt(object.idx, 10);
4394
+ else if (typeof object.idx === "number")
4395
+ message.idx = object.idx;
4396
+ else if (typeof object.idx === "object")
4397
+ message.idx = new $util.LongBits(object.idx.low >>> 0, object.idx.high >>> 0).toNumber(true);
4398
+ return message;
4399
+ };
4400
+
4401
+ /**
4402
+ * Creates a plain object from a TortugaClaim message. Also converts values to other types if specified.
4403
+ * @function toObject
4404
+ * @memberof TW.Aptos.Proto.TortugaClaim
4405
+ * @static
4406
+ * @param {TW.Aptos.Proto.TortugaClaim} message TortugaClaim
4407
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
4408
+ * @returns {Object.<string,*>} Plain object
4409
+ */
4410
+ TortugaClaim.toObject = function toObject(message, options) {
4411
+ if (!options)
4412
+ options = {};
4413
+ var object = {};
4414
+ if (options.defaults)
4415
+ if ($util.Long) {
4416
+ var long = new $util.Long(0, 0, true);
4417
+ object.idx = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
4418
+ } else
4419
+ object.idx = options.longs === String ? "0" : 0;
4420
+ if (message.idx != null && message.hasOwnProperty("idx"))
4421
+ if (typeof message.idx === "number")
4422
+ object.idx = options.longs === String ? String(message.idx) : message.idx;
4423
+ else
4424
+ object.idx = options.longs === String ? $util.Long.prototype.toString.call(message.idx) : options.longs === Number ? new $util.LongBits(message.idx.low >>> 0, message.idx.high >>> 0).toNumber(true) : message.idx;
4425
+ return object;
4426
+ };
4427
+
4428
+ /**
4429
+ * Converts this TortugaClaim to JSON.
4430
+ * @function toJSON
4431
+ * @memberof TW.Aptos.Proto.TortugaClaim
4432
+ * @instance
4433
+ * @returns {Object.<string,*>} JSON object
4434
+ */
4435
+ TortugaClaim.prototype.toJSON = function toJSON() {
4436
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
4437
+ };
4438
+
4439
+ return TortugaClaim;
4440
+ })();
4441
+
4442
+ Proto.TortugaStake = (function() {
4443
+
4444
+ /**
4445
+ * Properties of a TortugaStake.
4446
+ * @memberof TW.Aptos.Proto
4447
+ * @interface ITortugaStake
4448
+ * @property {Long|null} [amount] TortugaStake amount
4449
+ */
4450
+
4451
+ /**
4452
+ * Constructs a new TortugaStake.
4453
+ * @memberof TW.Aptos.Proto
4454
+ * @classdesc Represents a TortugaStake.
4455
+ * @implements ITortugaStake
4456
+ * @constructor
4457
+ * @param {TW.Aptos.Proto.ITortugaStake=} [properties] Properties to set
4458
+ */
4459
+ function TortugaStake(properties) {
4460
+ if (properties)
4461
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
4462
+ if (properties[keys[i]] != null)
4463
+ this[keys[i]] = properties[keys[i]];
4464
+ }
4465
+
4466
+ /**
4467
+ * TortugaStake amount.
4468
+ * @member {Long} amount
4469
+ * @memberof TW.Aptos.Proto.TortugaStake
4470
+ * @instance
4471
+ */
4472
+ TortugaStake.prototype.amount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
4473
+
4474
+ /**
4475
+ * Creates a new TortugaStake instance using the specified properties.
4476
+ * @function create
4477
+ * @memberof TW.Aptos.Proto.TortugaStake
4478
+ * @static
4479
+ * @param {TW.Aptos.Proto.ITortugaStake=} [properties] Properties to set
4480
+ * @returns {TW.Aptos.Proto.TortugaStake} TortugaStake instance
4481
+ */
4482
+ TortugaStake.create = function create(properties) {
4483
+ return new TortugaStake(properties);
4484
+ };
4485
+
4486
+ /**
4487
+ * Encodes the specified TortugaStake message. Does not implicitly {@link TW.Aptos.Proto.TortugaStake.verify|verify} messages.
4488
+ * @function encode
4489
+ * @memberof TW.Aptos.Proto.TortugaStake
4490
+ * @static
4491
+ * @param {TW.Aptos.Proto.ITortugaStake} message TortugaStake message or plain object to encode
4492
+ * @param {$protobuf.Writer} [writer] Writer to encode to
4493
+ * @returns {$protobuf.Writer} Writer
4494
+ */
4495
+ TortugaStake.encode = function encode(message, writer) {
4496
+ if (!writer)
4497
+ writer = $Writer.create();
4498
+ if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
4499
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.amount);
4500
+ return writer;
4501
+ };
4502
+
4503
+ /**
4504
+ * Decodes a TortugaStake message from the specified reader or buffer.
4505
+ * @function decode
4506
+ * @memberof TW.Aptos.Proto.TortugaStake
4507
+ * @static
4508
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
4509
+ * @param {number} [length] Message length if known beforehand
4510
+ * @returns {TW.Aptos.Proto.TortugaStake} TortugaStake
4511
+ * @throws {Error} If the payload is not a reader or valid buffer
4512
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4513
+ */
4514
+ TortugaStake.decode = function decode(reader, length) {
4515
+ if (!(reader instanceof $Reader))
4516
+ reader = $Reader.create(reader);
4517
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Aptos.Proto.TortugaStake();
4518
+ while (reader.pos < end) {
4519
+ var tag = reader.uint32();
4520
+ switch (tag >>> 3) {
4521
+ case 1:
4522
+ message.amount = reader.uint64();
4523
+ break;
4524
+ default:
4525
+ reader.skipType(tag & 7);
4526
+ break;
4527
+ }
4528
+ }
4529
+ return message;
4530
+ };
4531
+
4532
+ /**
4533
+ * Verifies a TortugaStake message.
4534
+ * @function verify
4535
+ * @memberof TW.Aptos.Proto.TortugaStake
4536
+ * @static
4537
+ * @param {Object.<string,*>} message Plain object to verify
4538
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
4539
+ */
4540
+ TortugaStake.verify = function verify(message) {
4541
+ if (typeof message !== "object" || message === null)
4542
+ return "object expected";
4543
+ if (message.amount != null && message.hasOwnProperty("amount"))
4544
+ if (!$util.isInteger(message.amount) && !(message.amount && $util.isInteger(message.amount.low) && $util.isInteger(message.amount.high)))
4545
+ return "amount: integer|Long expected";
4546
+ return null;
4547
+ };
4548
+
4549
+ /**
4550
+ * Creates a TortugaStake message from a plain object. Also converts values to their respective internal types.
4551
+ * @function fromObject
4552
+ * @memberof TW.Aptos.Proto.TortugaStake
4553
+ * @static
4554
+ * @param {Object.<string,*>} object Plain object
4555
+ * @returns {TW.Aptos.Proto.TortugaStake} TortugaStake
4556
+ */
4557
+ TortugaStake.fromObject = function fromObject(object) {
4558
+ if (object instanceof $root.TW.Aptos.Proto.TortugaStake)
4559
+ return object;
4560
+ var message = new $root.TW.Aptos.Proto.TortugaStake();
4561
+ if (object.amount != null)
4562
+ if ($util.Long)
4563
+ (message.amount = $util.Long.fromValue(object.amount)).unsigned = true;
4564
+ else if (typeof object.amount === "string")
4565
+ message.amount = parseInt(object.amount, 10);
4566
+ else if (typeof object.amount === "number")
4567
+ message.amount = object.amount;
4568
+ else if (typeof object.amount === "object")
4569
+ message.amount = new $util.LongBits(object.amount.low >>> 0, object.amount.high >>> 0).toNumber(true);
4570
+ return message;
4571
+ };
4572
+
4573
+ /**
4574
+ * Creates a plain object from a TortugaStake message. Also converts values to other types if specified.
4575
+ * @function toObject
4576
+ * @memberof TW.Aptos.Proto.TortugaStake
4577
+ * @static
4578
+ * @param {TW.Aptos.Proto.TortugaStake} message TortugaStake
4579
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
4580
+ * @returns {Object.<string,*>} Plain object
4581
+ */
4582
+ TortugaStake.toObject = function toObject(message, options) {
4583
+ if (!options)
4584
+ options = {};
4585
+ var object = {};
4586
+ if (options.defaults)
4587
+ if ($util.Long) {
4588
+ var long = new $util.Long(0, 0, true);
4589
+ object.amount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
4590
+ } else
4591
+ object.amount = options.longs === String ? "0" : 0;
4592
+ if (message.amount != null && message.hasOwnProperty("amount"))
4593
+ if (typeof message.amount === "number")
4594
+ object.amount = options.longs === String ? String(message.amount) : message.amount;
4595
+ else
4596
+ object.amount = options.longs === String ? $util.Long.prototype.toString.call(message.amount) : options.longs === Number ? new $util.LongBits(message.amount.low >>> 0, message.amount.high >>> 0).toNumber(true) : message.amount;
4597
+ return object;
4598
+ };
4599
+
4600
+ /**
4601
+ * Converts this TortugaStake to JSON.
4602
+ * @function toJSON
4603
+ * @memberof TW.Aptos.Proto.TortugaStake
4604
+ * @instance
4605
+ * @returns {Object.<string,*>} JSON object
4606
+ */
4607
+ TortugaStake.prototype.toJSON = function toJSON() {
4608
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
4609
+ };
4610
+
4611
+ return TortugaStake;
4612
+ })();
4613
+
4614
+ Proto.TortugaUnstake = (function() {
4615
+
4616
+ /**
4617
+ * Properties of a TortugaUnstake.
4618
+ * @memberof TW.Aptos.Proto
4619
+ * @interface ITortugaUnstake
4620
+ * @property {Long|null} [amount] TortugaUnstake amount
4621
+ */
4622
+
4623
+ /**
4624
+ * Constructs a new TortugaUnstake.
4625
+ * @memberof TW.Aptos.Proto
4626
+ * @classdesc Represents a TortugaUnstake.
4627
+ * @implements ITortugaUnstake
4628
+ * @constructor
4629
+ * @param {TW.Aptos.Proto.ITortugaUnstake=} [properties] Properties to set
4630
+ */
4631
+ function TortugaUnstake(properties) {
4632
+ if (properties)
4633
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
4634
+ if (properties[keys[i]] != null)
4635
+ this[keys[i]] = properties[keys[i]];
4636
+ }
4637
+
4638
+ /**
4639
+ * TortugaUnstake amount.
4640
+ * @member {Long} amount
4641
+ * @memberof TW.Aptos.Proto.TortugaUnstake
4642
+ * @instance
4643
+ */
4644
+ TortugaUnstake.prototype.amount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
4645
+
4646
+ /**
4647
+ * Creates a new TortugaUnstake instance using the specified properties.
4648
+ * @function create
4649
+ * @memberof TW.Aptos.Proto.TortugaUnstake
4650
+ * @static
4651
+ * @param {TW.Aptos.Proto.ITortugaUnstake=} [properties] Properties to set
4652
+ * @returns {TW.Aptos.Proto.TortugaUnstake} TortugaUnstake instance
4653
+ */
4654
+ TortugaUnstake.create = function create(properties) {
4655
+ return new TortugaUnstake(properties);
4656
+ };
4657
+
4658
+ /**
4659
+ * Encodes the specified TortugaUnstake message. Does not implicitly {@link TW.Aptos.Proto.TortugaUnstake.verify|verify} messages.
4660
+ * @function encode
4661
+ * @memberof TW.Aptos.Proto.TortugaUnstake
4662
+ * @static
4663
+ * @param {TW.Aptos.Proto.ITortugaUnstake} message TortugaUnstake message or plain object to encode
4664
+ * @param {$protobuf.Writer} [writer] Writer to encode to
4665
+ * @returns {$protobuf.Writer} Writer
4666
+ */
4667
+ TortugaUnstake.encode = function encode(message, writer) {
4668
+ if (!writer)
4669
+ writer = $Writer.create();
4670
+ if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
4671
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.amount);
4672
+ return writer;
4673
+ };
4674
+
4675
+ /**
4676
+ * Decodes a TortugaUnstake message from the specified reader or buffer.
4677
+ * @function decode
4678
+ * @memberof TW.Aptos.Proto.TortugaUnstake
4679
+ * @static
4680
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
4681
+ * @param {number} [length] Message length if known beforehand
4682
+ * @returns {TW.Aptos.Proto.TortugaUnstake} TortugaUnstake
4683
+ * @throws {Error} If the payload is not a reader or valid buffer
4684
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4685
+ */
4686
+ TortugaUnstake.decode = function decode(reader, length) {
4687
+ if (!(reader instanceof $Reader))
4688
+ reader = $Reader.create(reader);
4689
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Aptos.Proto.TortugaUnstake();
4690
+ while (reader.pos < end) {
4691
+ var tag = reader.uint32();
4692
+ switch (tag >>> 3) {
4693
+ case 1:
4694
+ message.amount = reader.uint64();
4695
+ break;
4696
+ default:
4697
+ reader.skipType(tag & 7);
4698
+ break;
4699
+ }
4700
+ }
4701
+ return message;
4702
+ };
4703
+
4704
+ /**
4705
+ * Verifies a TortugaUnstake message.
4706
+ * @function verify
4707
+ * @memberof TW.Aptos.Proto.TortugaUnstake
4708
+ * @static
4709
+ * @param {Object.<string,*>} message Plain object to verify
4710
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
4711
+ */
4712
+ TortugaUnstake.verify = function verify(message) {
4713
+ if (typeof message !== "object" || message === null)
4714
+ return "object expected";
4715
+ if (message.amount != null && message.hasOwnProperty("amount"))
4716
+ if (!$util.isInteger(message.amount) && !(message.amount && $util.isInteger(message.amount.low) && $util.isInteger(message.amount.high)))
4717
+ return "amount: integer|Long expected";
4718
+ return null;
4719
+ };
4720
+
4721
+ /**
4722
+ * Creates a TortugaUnstake message from a plain object. Also converts values to their respective internal types.
4723
+ * @function fromObject
4724
+ * @memberof TW.Aptos.Proto.TortugaUnstake
4725
+ * @static
4726
+ * @param {Object.<string,*>} object Plain object
4727
+ * @returns {TW.Aptos.Proto.TortugaUnstake} TortugaUnstake
4728
+ */
4729
+ TortugaUnstake.fromObject = function fromObject(object) {
4730
+ if (object instanceof $root.TW.Aptos.Proto.TortugaUnstake)
4731
+ return object;
4732
+ var message = new $root.TW.Aptos.Proto.TortugaUnstake();
4733
+ if (object.amount != null)
4734
+ if ($util.Long)
4735
+ (message.amount = $util.Long.fromValue(object.amount)).unsigned = true;
4736
+ else if (typeof object.amount === "string")
4737
+ message.amount = parseInt(object.amount, 10);
4738
+ else if (typeof object.amount === "number")
4739
+ message.amount = object.amount;
4740
+ else if (typeof object.amount === "object")
4741
+ message.amount = new $util.LongBits(object.amount.low >>> 0, object.amount.high >>> 0).toNumber(true);
4742
+ return message;
4743
+ };
4744
+
4745
+ /**
4746
+ * Creates a plain object from a TortugaUnstake message. Also converts values to other types if specified.
4747
+ * @function toObject
4748
+ * @memberof TW.Aptos.Proto.TortugaUnstake
4749
+ * @static
4750
+ * @param {TW.Aptos.Proto.TortugaUnstake} message TortugaUnstake
4751
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
4752
+ * @returns {Object.<string,*>} Plain object
4753
+ */
4754
+ TortugaUnstake.toObject = function toObject(message, options) {
4755
+ if (!options)
4756
+ options = {};
4757
+ var object = {};
4758
+ if (options.defaults)
4759
+ if ($util.Long) {
4760
+ var long = new $util.Long(0, 0, true);
4761
+ object.amount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
4762
+ } else
4763
+ object.amount = options.longs === String ? "0" : 0;
4764
+ if (message.amount != null && message.hasOwnProperty("amount"))
4765
+ if (typeof message.amount === "number")
4766
+ object.amount = options.longs === String ? String(message.amount) : message.amount;
4767
+ else
4768
+ object.amount = options.longs === String ? $util.Long.prototype.toString.call(message.amount) : options.longs === Number ? new $util.LongBits(message.amount.low >>> 0, message.amount.high >>> 0).toNumber(true) : message.amount;
4769
+ return object;
4770
+ };
4771
+
4772
+ /**
4773
+ * Converts this TortugaUnstake to JSON.
4774
+ * @function toJSON
4775
+ * @memberof TW.Aptos.Proto.TortugaUnstake
4776
+ * @instance
4777
+ * @returns {Object.<string,*>} JSON object
4778
+ */
4779
+ TortugaUnstake.prototype.toJSON = function toJSON() {
4780
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
4781
+ };
4782
+
4783
+ return TortugaUnstake;
4784
+ })();
4785
+
4786
+ Proto.LiquidStaking = (function() {
4787
+
4788
+ /**
4789
+ * Properties of a LiquidStaking.
4790
+ * @memberof TW.Aptos.Proto
4791
+ * @interface ILiquidStaking
4792
+ * @property {string|null} [smartContractAddress] LiquidStaking smartContractAddress
4793
+ * @property {TW.Aptos.Proto.ITortugaStake|null} [stake] LiquidStaking stake
4794
+ * @property {TW.Aptos.Proto.ITortugaUnstake|null} [unstake] LiquidStaking unstake
4795
+ * @property {TW.Aptos.Proto.ITortugaClaim|null} [claim] LiquidStaking claim
4796
+ */
4797
+
4798
+ /**
4799
+ * Constructs a new LiquidStaking.
4800
+ * @memberof TW.Aptos.Proto
4801
+ * @classdesc Represents a LiquidStaking.
4802
+ * @implements ILiquidStaking
4803
+ * @constructor
4804
+ * @param {TW.Aptos.Proto.ILiquidStaking=} [properties] Properties to set
4805
+ */
4806
+ function LiquidStaking(properties) {
4807
+ if (properties)
4808
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
4809
+ if (properties[keys[i]] != null)
4810
+ this[keys[i]] = properties[keys[i]];
4811
+ }
4812
+
4813
+ /**
4814
+ * LiquidStaking smartContractAddress.
4815
+ * @member {string} smartContractAddress
4816
+ * @memberof TW.Aptos.Proto.LiquidStaking
4817
+ * @instance
4818
+ */
4819
+ LiquidStaking.prototype.smartContractAddress = "";
4820
+
4821
+ /**
4822
+ * LiquidStaking stake.
4823
+ * @member {TW.Aptos.Proto.ITortugaStake|null|undefined} stake
4824
+ * @memberof TW.Aptos.Proto.LiquidStaking
4825
+ * @instance
4826
+ */
4827
+ LiquidStaking.prototype.stake = null;
4828
+
4829
+ /**
4830
+ * LiquidStaking unstake.
4831
+ * @member {TW.Aptos.Proto.ITortugaUnstake|null|undefined} unstake
4832
+ * @memberof TW.Aptos.Proto.LiquidStaking
4833
+ * @instance
4834
+ */
4835
+ LiquidStaking.prototype.unstake = null;
4836
+
4837
+ /**
4838
+ * LiquidStaking claim.
4839
+ * @member {TW.Aptos.Proto.ITortugaClaim|null|undefined} claim
4840
+ * @memberof TW.Aptos.Proto.LiquidStaking
4841
+ * @instance
4842
+ */
4843
+ LiquidStaking.prototype.claim = null;
4844
+
4845
+ // OneOf field names bound to virtual getters and setters
4846
+ var $oneOfFields;
4847
+
4848
+ /**
4849
+ * LiquidStaking liquidStakeTransactionPayload.
4850
+ * @member {"stake"|"unstake"|"claim"|undefined} liquidStakeTransactionPayload
4851
+ * @memberof TW.Aptos.Proto.LiquidStaking
4852
+ * @instance
4853
+ */
4854
+ Object.defineProperty(LiquidStaking.prototype, "liquidStakeTransactionPayload", {
4855
+ get: $util.oneOfGetter($oneOfFields = ["stake", "unstake", "claim"]),
4856
+ set: $util.oneOfSetter($oneOfFields)
4857
+ });
4858
+
4859
+ /**
4860
+ * Creates a new LiquidStaking instance using the specified properties.
4861
+ * @function create
4862
+ * @memberof TW.Aptos.Proto.LiquidStaking
4863
+ * @static
4864
+ * @param {TW.Aptos.Proto.ILiquidStaking=} [properties] Properties to set
4865
+ * @returns {TW.Aptos.Proto.LiquidStaking} LiquidStaking instance
4866
+ */
4867
+ LiquidStaking.create = function create(properties) {
4868
+ return new LiquidStaking(properties);
4869
+ };
4870
+
4871
+ /**
4872
+ * Encodes the specified LiquidStaking message. Does not implicitly {@link TW.Aptos.Proto.LiquidStaking.verify|verify} messages.
4873
+ * @function encode
4874
+ * @memberof TW.Aptos.Proto.LiquidStaking
4875
+ * @static
4876
+ * @param {TW.Aptos.Proto.ILiquidStaking} message LiquidStaking message or plain object to encode
4877
+ * @param {$protobuf.Writer} [writer] Writer to encode to
4878
+ * @returns {$protobuf.Writer} Writer
4879
+ */
4880
+ LiquidStaking.encode = function encode(message, writer) {
4881
+ if (!writer)
4882
+ writer = $Writer.create();
4883
+ if (message.smartContractAddress != null && Object.hasOwnProperty.call(message, "smartContractAddress"))
4884
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.smartContractAddress);
4885
+ if (message.stake != null && Object.hasOwnProperty.call(message, "stake"))
4886
+ $root.TW.Aptos.Proto.TortugaStake.encode(message.stake, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
4887
+ if (message.unstake != null && Object.hasOwnProperty.call(message, "unstake"))
4888
+ $root.TW.Aptos.Proto.TortugaUnstake.encode(message.unstake, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
4889
+ if (message.claim != null && Object.hasOwnProperty.call(message, "claim"))
4890
+ $root.TW.Aptos.Proto.TortugaClaim.encode(message.claim, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
4891
+ return writer;
4892
+ };
4893
+
4894
+ /**
4895
+ * Decodes a LiquidStaking message from the specified reader or buffer.
4896
+ * @function decode
4897
+ * @memberof TW.Aptos.Proto.LiquidStaking
4898
+ * @static
4899
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
4900
+ * @param {number} [length] Message length if known beforehand
4901
+ * @returns {TW.Aptos.Proto.LiquidStaking} LiquidStaking
4902
+ * @throws {Error} If the payload is not a reader or valid buffer
4903
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4904
+ */
4905
+ LiquidStaking.decode = function decode(reader, length) {
4906
+ if (!(reader instanceof $Reader))
4907
+ reader = $Reader.create(reader);
4908
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Aptos.Proto.LiquidStaking();
4909
+ while (reader.pos < end) {
4910
+ var tag = reader.uint32();
4911
+ switch (tag >>> 3) {
4912
+ case 1:
4913
+ message.smartContractAddress = reader.string();
4914
+ break;
4915
+ case 2:
4916
+ message.stake = $root.TW.Aptos.Proto.TortugaStake.decode(reader, reader.uint32());
4917
+ break;
4918
+ case 3:
4919
+ message.unstake = $root.TW.Aptos.Proto.TortugaUnstake.decode(reader, reader.uint32());
4920
+ break;
4921
+ case 4:
4922
+ message.claim = $root.TW.Aptos.Proto.TortugaClaim.decode(reader, reader.uint32());
4923
+ break;
4924
+ default:
4925
+ reader.skipType(tag & 7);
4926
+ break;
4927
+ }
4928
+ }
4929
+ return message;
4930
+ };
4931
+
4932
+ /**
4933
+ * Verifies a LiquidStaking message.
4934
+ * @function verify
4935
+ * @memberof TW.Aptos.Proto.LiquidStaking
4936
+ * @static
4937
+ * @param {Object.<string,*>} message Plain object to verify
4938
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
4939
+ */
4940
+ LiquidStaking.verify = function verify(message) {
4941
+ if (typeof message !== "object" || message === null)
4942
+ return "object expected";
4943
+ var properties = {};
4944
+ if (message.smartContractAddress != null && message.hasOwnProperty("smartContractAddress"))
4945
+ if (!$util.isString(message.smartContractAddress))
4946
+ return "smartContractAddress: string expected";
4947
+ if (message.stake != null && message.hasOwnProperty("stake")) {
4948
+ properties.liquidStakeTransactionPayload = 1;
4949
+ {
4950
+ var error = $root.TW.Aptos.Proto.TortugaStake.verify(message.stake);
4951
+ if (error)
4952
+ return "stake." + error;
4953
+ }
4954
+ }
4955
+ if (message.unstake != null && message.hasOwnProperty("unstake")) {
4956
+ if (properties.liquidStakeTransactionPayload === 1)
4957
+ return "liquidStakeTransactionPayload: multiple values";
4958
+ properties.liquidStakeTransactionPayload = 1;
4959
+ {
4960
+ var error = $root.TW.Aptos.Proto.TortugaUnstake.verify(message.unstake);
4961
+ if (error)
4962
+ return "unstake." + error;
4963
+ }
4964
+ }
4965
+ if (message.claim != null && message.hasOwnProperty("claim")) {
4966
+ if (properties.liquidStakeTransactionPayload === 1)
4967
+ return "liquidStakeTransactionPayload: multiple values";
4968
+ properties.liquidStakeTransactionPayload = 1;
4969
+ {
4970
+ var error = $root.TW.Aptos.Proto.TortugaClaim.verify(message.claim);
4971
+ if (error)
4972
+ return "claim." + error;
4973
+ }
4974
+ }
4975
+ return null;
4976
+ };
4977
+
4978
+ /**
4979
+ * Creates a LiquidStaking message from a plain object. Also converts values to their respective internal types.
4980
+ * @function fromObject
4981
+ * @memberof TW.Aptos.Proto.LiquidStaking
4982
+ * @static
4983
+ * @param {Object.<string,*>} object Plain object
4984
+ * @returns {TW.Aptos.Proto.LiquidStaking} LiquidStaking
4985
+ */
4986
+ LiquidStaking.fromObject = function fromObject(object) {
4987
+ if (object instanceof $root.TW.Aptos.Proto.LiquidStaking)
4988
+ return object;
4989
+ var message = new $root.TW.Aptos.Proto.LiquidStaking();
4990
+ if (object.smartContractAddress != null)
4991
+ message.smartContractAddress = String(object.smartContractAddress);
4992
+ if (object.stake != null) {
4993
+ if (typeof object.stake !== "object")
4994
+ throw TypeError(".TW.Aptos.Proto.LiquidStaking.stake: object expected");
4995
+ message.stake = $root.TW.Aptos.Proto.TortugaStake.fromObject(object.stake);
4996
+ }
4997
+ if (object.unstake != null) {
4998
+ if (typeof object.unstake !== "object")
4999
+ throw TypeError(".TW.Aptos.Proto.LiquidStaking.unstake: object expected");
5000
+ message.unstake = $root.TW.Aptos.Proto.TortugaUnstake.fromObject(object.unstake);
5001
+ }
5002
+ if (object.claim != null) {
5003
+ if (typeof object.claim !== "object")
5004
+ throw TypeError(".TW.Aptos.Proto.LiquidStaking.claim: object expected");
5005
+ message.claim = $root.TW.Aptos.Proto.TortugaClaim.fromObject(object.claim);
5006
+ }
5007
+ return message;
5008
+ };
5009
+
5010
+ /**
5011
+ * Creates a plain object from a LiquidStaking message. Also converts values to other types if specified.
5012
+ * @function toObject
5013
+ * @memberof TW.Aptos.Proto.LiquidStaking
5014
+ * @static
5015
+ * @param {TW.Aptos.Proto.LiquidStaking} message LiquidStaking
5016
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
5017
+ * @returns {Object.<string,*>} Plain object
5018
+ */
5019
+ LiquidStaking.toObject = function toObject(message, options) {
5020
+ if (!options)
5021
+ options = {};
5022
+ var object = {};
5023
+ if (options.defaults)
5024
+ object.smartContractAddress = "";
5025
+ if (message.smartContractAddress != null && message.hasOwnProperty("smartContractAddress"))
5026
+ object.smartContractAddress = message.smartContractAddress;
5027
+ if (message.stake != null && message.hasOwnProperty("stake")) {
5028
+ object.stake = $root.TW.Aptos.Proto.TortugaStake.toObject(message.stake, options);
5029
+ if (options.oneofs)
5030
+ object.liquidStakeTransactionPayload = "stake";
5031
+ }
5032
+ if (message.unstake != null && message.hasOwnProperty("unstake")) {
5033
+ object.unstake = $root.TW.Aptos.Proto.TortugaUnstake.toObject(message.unstake, options);
5034
+ if (options.oneofs)
5035
+ object.liquidStakeTransactionPayload = "unstake";
5036
+ }
5037
+ if (message.claim != null && message.hasOwnProperty("claim")) {
5038
+ object.claim = $root.TW.Aptos.Proto.TortugaClaim.toObject(message.claim, options);
5039
+ if (options.oneofs)
5040
+ object.liquidStakeTransactionPayload = "claim";
5041
+ }
5042
+ return object;
5043
+ };
5044
+
5045
+ /**
5046
+ * Converts this LiquidStaking to JSON.
5047
+ * @function toJSON
5048
+ * @memberof TW.Aptos.Proto.LiquidStaking
5049
+ * @instance
5050
+ * @returns {Object.<string,*>} JSON object
5051
+ */
5052
+ LiquidStaking.prototype.toJSON = function toJSON() {
5053
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
5054
+ };
5055
+
5056
+ return LiquidStaking;
5057
+ })();
5058
+
4270
5059
  Proto.NftMessage = (function() {
4271
5060
 
4272
5061
  /**
@@ -4536,6 +5325,7 @@
4536
5325
  * @property {TW.Aptos.Proto.ICreateAccountMessage|null} [createAccount] SigningInput createAccount
4537
5326
  * @property {TW.Aptos.Proto.INftMessage|null} [nftMessage] SigningInput nftMessage
4538
5327
  * @property {TW.Aptos.Proto.IManagedTokensRegisterMessage|null} [registerToken] SigningInput registerToken
5328
+ * @property {TW.Aptos.Proto.ILiquidStaking|null} [liquidStakingMessage] SigningInput liquidStakingMessage
4539
5329
  */
4540
5330
 
4541
5331
  /**
@@ -4657,17 +5447,25 @@
4657
5447
  */
4658
5448
  SigningInput.prototype.registerToken = null;
4659
5449
 
5450
+ /**
5451
+ * SigningInput liquidStakingMessage.
5452
+ * @member {TW.Aptos.Proto.ILiquidStaking|null|undefined} liquidStakingMessage
5453
+ * @memberof TW.Aptos.Proto.SigningInput
5454
+ * @instance
5455
+ */
5456
+ SigningInput.prototype.liquidStakingMessage = null;
5457
+
4660
5458
  // OneOf field names bound to virtual getters and setters
4661
5459
  var $oneOfFields;
4662
5460
 
4663
5461
  /**
4664
5462
  * SigningInput transactionPayload.
4665
- * @member {"transfer"|"tokenTransfer"|"createAccount"|"nftMessage"|"registerToken"|undefined} transactionPayload
5463
+ * @member {"transfer"|"tokenTransfer"|"createAccount"|"nftMessage"|"registerToken"|"liquidStakingMessage"|undefined} transactionPayload
4666
5464
  * @memberof TW.Aptos.Proto.SigningInput
4667
5465
  * @instance
4668
5466
  */
4669
5467
  Object.defineProperty(SigningInput.prototype, "transactionPayload", {
4670
- get: $util.oneOfGetter($oneOfFields = ["transfer", "tokenTransfer", "createAccount", "nftMessage", "registerToken"]),
5468
+ get: $util.oneOfGetter($oneOfFields = ["transfer", "tokenTransfer", "createAccount", "nftMessage", "registerToken", "liquidStakingMessage"]),
4671
5469
  set: $util.oneOfSetter($oneOfFields)
4672
5470
  });
4673
5471
 
@@ -4721,6 +5519,8 @@
4721
5519
  $root.TW.Aptos.Proto.NftMessage.encode(message.nftMessage, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
4722
5520
  if (message.registerToken != null && Object.hasOwnProperty.call(message, "registerToken"))
4723
5521
  $root.TW.Aptos.Proto.ManagedTokensRegisterMessage.encode(message.registerToken, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
5522
+ if (message.liquidStakingMessage != null && Object.hasOwnProperty.call(message, "liquidStakingMessage"))
5523
+ $root.TW.Aptos.Proto.LiquidStaking.encode(message.liquidStakingMessage, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
4724
5524
  return writer;
4725
5525
  };
4726
5526
 
@@ -4781,6 +5581,9 @@
4781
5581
  case 13:
4782
5582
  message.registerToken = $root.TW.Aptos.Proto.ManagedTokensRegisterMessage.decode(reader, reader.uint32());
4783
5583
  break;
5584
+ case 14:
5585
+ message.liquidStakingMessage = $root.TW.Aptos.Proto.LiquidStaking.decode(reader, reader.uint32());
5586
+ break;
4784
5587
  default:
4785
5588
  reader.skipType(tag & 7);
4786
5589
  break;
@@ -4873,6 +5676,16 @@
4873
5676
  return "registerToken." + error;
4874
5677
  }
4875
5678
  }
5679
+ if (message.liquidStakingMessage != null && message.hasOwnProperty("liquidStakingMessage")) {
5680
+ if (properties.transactionPayload === 1)
5681
+ return "transactionPayload: multiple values";
5682
+ properties.transactionPayload = 1;
5683
+ {
5684
+ var error = $root.TW.Aptos.Proto.LiquidStaking.verify(message.liquidStakingMessage);
5685
+ if (error)
5686
+ return "liquidStakingMessage." + error;
5687
+ }
5688
+ }
4876
5689
  return null;
4877
5690
  };
4878
5691
 
@@ -4960,6 +5773,11 @@
4960
5773
  throw TypeError(".TW.Aptos.Proto.SigningInput.registerToken: object expected");
4961
5774
  message.registerToken = $root.TW.Aptos.Proto.ManagedTokensRegisterMessage.fromObject(object.registerToken);
4962
5775
  }
5776
+ if (object.liquidStakingMessage != null) {
5777
+ if (typeof object.liquidStakingMessage !== "object")
5778
+ throw TypeError(".TW.Aptos.Proto.SigningInput.liquidStakingMessage: object expected");
5779
+ message.liquidStakingMessage = $root.TW.Aptos.Proto.LiquidStaking.fromObject(object.liquidStakingMessage);
5780
+ }
4963
5781
  return message;
4964
5782
  };
4965
5783
 
@@ -5061,6 +5879,11 @@
5061
5879
  if (options.oneofs)
5062
5880
  object.transactionPayload = "registerToken";
5063
5881
  }
5882
+ if (message.liquidStakingMessage != null && message.hasOwnProperty("liquidStakingMessage")) {
5883
+ object.liquidStakingMessage = $root.TW.Aptos.Proto.LiquidStaking.toObject(message.liquidStakingMessage, options);
5884
+ if (options.oneofs)
5885
+ object.transactionPayload = "liquidStakingMessage";
5886
+ }
5064
5887
  return object;
5065
5888
  };
5066
5889
 
@@ -20577,6 +21400,8 @@
20577
21400
  * @property {TW.Cosmos.Proto.Message.IAuthGrant|null} [authGrant] Message authGrant
20578
21401
  * @property {TW.Cosmos.Proto.Message.IAuthRevoke|null} [authRevoke] Message authRevoke
20579
21402
  * @property {TW.Cosmos.Proto.Message.IMsgVote|null} [msgVote] Message msgVote
21403
+ * @property {TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake|null} [msgStrideLiquidStakingStake] Message msgStrideLiquidStakingStake
21404
+ * @property {TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem|null} [msgStrideLiquidStakingRedeem] Message msgStrideLiquidStakingRedeem
20580
21405
  */
20581
21406
 
20582
21407
  /**
@@ -20738,17 +21563,33 @@
20738
21563
  */
20739
21564
  Message.prototype.msgVote = null;
20740
21565
 
21566
+ /**
21567
+ * Message msgStrideLiquidStakingStake.
21568
+ * @member {TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake|null|undefined} msgStrideLiquidStakingStake
21569
+ * @memberof TW.Cosmos.Proto.Message
21570
+ * @instance
21571
+ */
21572
+ Message.prototype.msgStrideLiquidStakingStake = null;
21573
+
21574
+ /**
21575
+ * Message msgStrideLiquidStakingRedeem.
21576
+ * @member {TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem|null|undefined} msgStrideLiquidStakingRedeem
21577
+ * @memberof TW.Cosmos.Proto.Message
21578
+ * @instance
21579
+ */
21580
+ Message.prototype.msgStrideLiquidStakingRedeem = null;
21581
+
20741
21582
  // OneOf field names bound to virtual getters and setters
20742
21583
  var $oneOfFields;
20743
21584
 
20744
21585
  /**
20745
21586
  * Message messageOneof.
20746
- * @member {"sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"msgVote"|undefined} messageOneof
21587
+ * @member {"sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"msgVote"|"msgStrideLiquidStakingStake"|"msgStrideLiquidStakingRedeem"|undefined} messageOneof
20747
21588
  * @memberof TW.Cosmos.Proto.Message
20748
21589
  * @instance
20749
21590
  */
20750
21591
  Object.defineProperty(Message.prototype, "messageOneof", {
20751
- get: $util.oneOfGetter($oneOfFields = ["sendCoinsMessage", "transferTokensMessage", "stakeMessage", "unstakeMessage", "restakeMessage", "withdrawStakeRewardMessage", "rawJsonMessage", "wasmTerraExecuteContractTransferMessage", "wasmTerraExecuteContractSendMessage", "thorchainSendMessage", "wasmTerraExecuteContractGeneric", "wasmExecuteContractTransferMessage", "wasmExecuteContractSendMessage", "wasmExecuteContractGeneric", "signDirectMessage", "authGrant", "authRevoke", "msgVote"]),
21592
+ get: $util.oneOfGetter($oneOfFields = ["sendCoinsMessage", "transferTokensMessage", "stakeMessage", "unstakeMessage", "restakeMessage", "withdrawStakeRewardMessage", "rawJsonMessage", "wasmTerraExecuteContractTransferMessage", "wasmTerraExecuteContractSendMessage", "thorchainSendMessage", "wasmTerraExecuteContractGeneric", "wasmExecuteContractTransferMessage", "wasmExecuteContractSendMessage", "wasmExecuteContractGeneric", "signDirectMessage", "authGrant", "authRevoke", "msgVote", "msgStrideLiquidStakingStake", "msgStrideLiquidStakingRedeem"]),
20752
21593
  set: $util.oneOfSetter($oneOfFields)
20753
21594
  });
20754
21595
 
@@ -20812,6 +21653,10 @@
20812
21653
  $root.TW.Cosmos.Proto.Message.AuthRevoke.encode(message.authRevoke, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
20813
21654
  if (message.msgVote != null && Object.hasOwnProperty.call(message, "msgVote"))
20814
21655
  $root.TW.Cosmos.Proto.Message.MsgVote.encode(message.msgVote, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
21656
+ if (message.msgStrideLiquidStakingStake != null && Object.hasOwnProperty.call(message, "msgStrideLiquidStakingStake"))
21657
+ $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake.encode(message.msgStrideLiquidStakingStake, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
21658
+ if (message.msgStrideLiquidStakingRedeem != null && Object.hasOwnProperty.call(message, "msgStrideLiquidStakingRedeem"))
21659
+ $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem.encode(message.msgStrideLiquidStakingRedeem, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
20815
21660
  return writer;
20816
21661
  };
20817
21662
 
@@ -20887,6 +21732,12 @@
20887
21732
  case 18:
20888
21733
  message.msgVote = $root.TW.Cosmos.Proto.Message.MsgVote.decode(reader, reader.uint32());
20889
21734
  break;
21735
+ case 19:
21736
+ message.msgStrideLiquidStakingStake = $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake.decode(reader, reader.uint32());
21737
+ break;
21738
+ case 20:
21739
+ message.msgStrideLiquidStakingRedeem = $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem.decode(reader, reader.uint32());
21740
+ break;
20890
21741
  default:
20891
21742
  reader.skipType(tag & 7);
20892
21743
  break;
@@ -21085,6 +21936,26 @@
21085
21936
  return "msgVote." + error;
21086
21937
  }
21087
21938
  }
21939
+ if (message.msgStrideLiquidStakingStake != null && message.hasOwnProperty("msgStrideLiquidStakingStake")) {
21940
+ if (properties.messageOneof === 1)
21941
+ return "messageOneof: multiple values";
21942
+ properties.messageOneof = 1;
21943
+ {
21944
+ var error = $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake.verify(message.msgStrideLiquidStakingStake);
21945
+ if (error)
21946
+ return "msgStrideLiquidStakingStake." + error;
21947
+ }
21948
+ }
21949
+ if (message.msgStrideLiquidStakingRedeem != null && message.hasOwnProperty("msgStrideLiquidStakingRedeem")) {
21950
+ if (properties.messageOneof === 1)
21951
+ return "messageOneof: multiple values";
21952
+ properties.messageOneof = 1;
21953
+ {
21954
+ var error = $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem.verify(message.msgStrideLiquidStakingRedeem);
21955
+ if (error)
21956
+ return "msgStrideLiquidStakingRedeem." + error;
21957
+ }
21958
+ }
21088
21959
  return null;
21089
21960
  };
21090
21961
 
@@ -21190,6 +22061,16 @@
21190
22061
  throw TypeError(".TW.Cosmos.Proto.Message.msgVote: object expected");
21191
22062
  message.msgVote = $root.TW.Cosmos.Proto.Message.MsgVote.fromObject(object.msgVote);
21192
22063
  }
22064
+ if (object.msgStrideLiquidStakingStake != null) {
22065
+ if (typeof object.msgStrideLiquidStakingStake !== "object")
22066
+ throw TypeError(".TW.Cosmos.Proto.Message.msgStrideLiquidStakingStake: object expected");
22067
+ message.msgStrideLiquidStakingStake = $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake.fromObject(object.msgStrideLiquidStakingStake);
22068
+ }
22069
+ if (object.msgStrideLiquidStakingRedeem != null) {
22070
+ if (typeof object.msgStrideLiquidStakingRedeem !== "object")
22071
+ throw TypeError(".TW.Cosmos.Proto.Message.msgStrideLiquidStakingRedeem: object expected");
22072
+ message.msgStrideLiquidStakingRedeem = $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem.fromObject(object.msgStrideLiquidStakingRedeem);
22073
+ }
21193
22074
  return message;
21194
22075
  };
21195
22076
 
@@ -21296,6 +22177,16 @@
21296
22177
  if (options.oneofs)
21297
22178
  object.messageOneof = "msgVote";
21298
22179
  }
22180
+ if (message.msgStrideLiquidStakingStake != null && message.hasOwnProperty("msgStrideLiquidStakingStake")) {
22181
+ object.msgStrideLiquidStakingStake = $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake.toObject(message.msgStrideLiquidStakingStake, options);
22182
+ if (options.oneofs)
22183
+ object.messageOneof = "msgStrideLiquidStakingStake";
22184
+ }
22185
+ if (message.msgStrideLiquidStakingRedeem != null && message.hasOwnProperty("msgStrideLiquidStakingRedeem")) {
22186
+ object.msgStrideLiquidStakingRedeem = $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem.toObject(message.msgStrideLiquidStakingRedeem, options);
22187
+ if (options.oneofs)
22188
+ object.messageOneof = "msgStrideLiquidStakingRedeem";
22189
+ }
21299
22190
  return object;
21300
22191
  };
21301
22192
 
@@ -26176,6 +27067,434 @@
26176
27067
  return MsgVote;
26177
27068
  })();
26178
27069
 
27070
+ Message.MsgStrideLiquidStakingStake = (function() {
27071
+
27072
+ /**
27073
+ * Properties of a MsgStrideLiquidStakingStake.
27074
+ * @memberof TW.Cosmos.Proto.Message
27075
+ * @interface IMsgStrideLiquidStakingStake
27076
+ * @property {string|null} [creator] MsgStrideLiquidStakingStake creator
27077
+ * @property {string|null} [amount] MsgStrideLiquidStakingStake amount
27078
+ * @property {string|null} [hostDenom] MsgStrideLiquidStakingStake hostDenom
27079
+ */
27080
+
27081
+ /**
27082
+ * Constructs a new MsgStrideLiquidStakingStake.
27083
+ * @memberof TW.Cosmos.Proto.Message
27084
+ * @classdesc Represents a MsgStrideLiquidStakingStake.
27085
+ * @implements IMsgStrideLiquidStakingStake
27086
+ * @constructor
27087
+ * @param {TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake=} [properties] Properties to set
27088
+ */
27089
+ function MsgStrideLiquidStakingStake(properties) {
27090
+ if (properties)
27091
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
27092
+ if (properties[keys[i]] != null)
27093
+ this[keys[i]] = properties[keys[i]];
27094
+ }
27095
+
27096
+ /**
27097
+ * MsgStrideLiquidStakingStake creator.
27098
+ * @member {string} creator
27099
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake
27100
+ * @instance
27101
+ */
27102
+ MsgStrideLiquidStakingStake.prototype.creator = "";
27103
+
27104
+ /**
27105
+ * MsgStrideLiquidStakingStake amount.
27106
+ * @member {string} amount
27107
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake
27108
+ * @instance
27109
+ */
27110
+ MsgStrideLiquidStakingStake.prototype.amount = "";
27111
+
27112
+ /**
27113
+ * MsgStrideLiquidStakingStake hostDenom.
27114
+ * @member {string} hostDenom
27115
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake
27116
+ * @instance
27117
+ */
27118
+ MsgStrideLiquidStakingStake.prototype.hostDenom = "";
27119
+
27120
+ /**
27121
+ * Creates a new MsgStrideLiquidStakingStake instance using the specified properties.
27122
+ * @function create
27123
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake
27124
+ * @static
27125
+ * @param {TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake=} [properties] Properties to set
27126
+ * @returns {TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake} MsgStrideLiquidStakingStake instance
27127
+ */
27128
+ MsgStrideLiquidStakingStake.create = function create(properties) {
27129
+ return new MsgStrideLiquidStakingStake(properties);
27130
+ };
27131
+
27132
+ /**
27133
+ * Encodes the specified MsgStrideLiquidStakingStake message. Does not implicitly {@link TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake.verify|verify} messages.
27134
+ * @function encode
27135
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake
27136
+ * @static
27137
+ * @param {TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake} message MsgStrideLiquidStakingStake message or plain object to encode
27138
+ * @param {$protobuf.Writer} [writer] Writer to encode to
27139
+ * @returns {$protobuf.Writer} Writer
27140
+ */
27141
+ MsgStrideLiquidStakingStake.encode = function encode(message, writer) {
27142
+ if (!writer)
27143
+ writer = $Writer.create();
27144
+ if (message.creator != null && Object.hasOwnProperty.call(message, "creator"))
27145
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.creator);
27146
+ if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
27147
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.amount);
27148
+ if (message.hostDenom != null && Object.hasOwnProperty.call(message, "hostDenom"))
27149
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.hostDenom);
27150
+ return writer;
27151
+ };
27152
+
27153
+ /**
27154
+ * Decodes a MsgStrideLiquidStakingStake message from the specified reader or buffer.
27155
+ * @function decode
27156
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake
27157
+ * @static
27158
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
27159
+ * @param {number} [length] Message length if known beforehand
27160
+ * @returns {TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake} MsgStrideLiquidStakingStake
27161
+ * @throws {Error} If the payload is not a reader or valid buffer
27162
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27163
+ */
27164
+ MsgStrideLiquidStakingStake.decode = function decode(reader, length) {
27165
+ if (!(reader instanceof $Reader))
27166
+ reader = $Reader.create(reader);
27167
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake();
27168
+ while (reader.pos < end) {
27169
+ var tag = reader.uint32();
27170
+ switch (tag >>> 3) {
27171
+ case 1:
27172
+ message.creator = reader.string();
27173
+ break;
27174
+ case 2:
27175
+ message.amount = reader.string();
27176
+ break;
27177
+ case 3:
27178
+ message.hostDenom = reader.string();
27179
+ break;
27180
+ default:
27181
+ reader.skipType(tag & 7);
27182
+ break;
27183
+ }
27184
+ }
27185
+ return message;
27186
+ };
27187
+
27188
+ /**
27189
+ * Verifies a MsgStrideLiquidStakingStake message.
27190
+ * @function verify
27191
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake
27192
+ * @static
27193
+ * @param {Object.<string,*>} message Plain object to verify
27194
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
27195
+ */
27196
+ MsgStrideLiquidStakingStake.verify = function verify(message) {
27197
+ if (typeof message !== "object" || message === null)
27198
+ return "object expected";
27199
+ if (message.creator != null && message.hasOwnProperty("creator"))
27200
+ if (!$util.isString(message.creator))
27201
+ return "creator: string expected";
27202
+ if (message.amount != null && message.hasOwnProperty("amount"))
27203
+ if (!$util.isString(message.amount))
27204
+ return "amount: string expected";
27205
+ if (message.hostDenom != null && message.hasOwnProperty("hostDenom"))
27206
+ if (!$util.isString(message.hostDenom))
27207
+ return "hostDenom: string expected";
27208
+ return null;
27209
+ };
27210
+
27211
+ /**
27212
+ * Creates a MsgStrideLiquidStakingStake message from a plain object. Also converts values to their respective internal types.
27213
+ * @function fromObject
27214
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake
27215
+ * @static
27216
+ * @param {Object.<string,*>} object Plain object
27217
+ * @returns {TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake} MsgStrideLiquidStakingStake
27218
+ */
27219
+ MsgStrideLiquidStakingStake.fromObject = function fromObject(object) {
27220
+ if (object instanceof $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake)
27221
+ return object;
27222
+ var message = new $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake();
27223
+ if (object.creator != null)
27224
+ message.creator = String(object.creator);
27225
+ if (object.amount != null)
27226
+ message.amount = String(object.amount);
27227
+ if (object.hostDenom != null)
27228
+ message.hostDenom = String(object.hostDenom);
27229
+ return message;
27230
+ };
27231
+
27232
+ /**
27233
+ * Creates a plain object from a MsgStrideLiquidStakingStake message. Also converts values to other types if specified.
27234
+ * @function toObject
27235
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake
27236
+ * @static
27237
+ * @param {TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake} message MsgStrideLiquidStakingStake
27238
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
27239
+ * @returns {Object.<string,*>} Plain object
27240
+ */
27241
+ MsgStrideLiquidStakingStake.toObject = function toObject(message, options) {
27242
+ if (!options)
27243
+ options = {};
27244
+ var object = {};
27245
+ if (options.defaults) {
27246
+ object.creator = "";
27247
+ object.amount = "";
27248
+ object.hostDenom = "";
27249
+ }
27250
+ if (message.creator != null && message.hasOwnProperty("creator"))
27251
+ object.creator = message.creator;
27252
+ if (message.amount != null && message.hasOwnProperty("amount"))
27253
+ object.amount = message.amount;
27254
+ if (message.hostDenom != null && message.hasOwnProperty("hostDenom"))
27255
+ object.hostDenom = message.hostDenom;
27256
+ return object;
27257
+ };
27258
+
27259
+ /**
27260
+ * Converts this MsgStrideLiquidStakingStake to JSON.
27261
+ * @function toJSON
27262
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake
27263
+ * @instance
27264
+ * @returns {Object.<string,*>} JSON object
27265
+ */
27266
+ MsgStrideLiquidStakingStake.prototype.toJSON = function toJSON() {
27267
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
27268
+ };
27269
+
27270
+ return MsgStrideLiquidStakingStake;
27271
+ })();
27272
+
27273
+ Message.MsgStrideLiquidStakingRedeem = (function() {
27274
+
27275
+ /**
27276
+ * Properties of a MsgStrideLiquidStakingRedeem.
27277
+ * @memberof TW.Cosmos.Proto.Message
27278
+ * @interface IMsgStrideLiquidStakingRedeem
27279
+ * @property {string|null} [creator] MsgStrideLiquidStakingRedeem creator
27280
+ * @property {string|null} [amount] MsgStrideLiquidStakingRedeem amount
27281
+ * @property {string|null} [hostZone] MsgStrideLiquidStakingRedeem hostZone
27282
+ * @property {string|null} [receiver] MsgStrideLiquidStakingRedeem receiver
27283
+ */
27284
+
27285
+ /**
27286
+ * Constructs a new MsgStrideLiquidStakingRedeem.
27287
+ * @memberof TW.Cosmos.Proto.Message
27288
+ * @classdesc Represents a MsgStrideLiquidStakingRedeem.
27289
+ * @implements IMsgStrideLiquidStakingRedeem
27290
+ * @constructor
27291
+ * @param {TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem=} [properties] Properties to set
27292
+ */
27293
+ function MsgStrideLiquidStakingRedeem(properties) {
27294
+ if (properties)
27295
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
27296
+ if (properties[keys[i]] != null)
27297
+ this[keys[i]] = properties[keys[i]];
27298
+ }
27299
+
27300
+ /**
27301
+ * MsgStrideLiquidStakingRedeem creator.
27302
+ * @member {string} creator
27303
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27304
+ * @instance
27305
+ */
27306
+ MsgStrideLiquidStakingRedeem.prototype.creator = "";
27307
+
27308
+ /**
27309
+ * MsgStrideLiquidStakingRedeem amount.
27310
+ * @member {string} amount
27311
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27312
+ * @instance
27313
+ */
27314
+ MsgStrideLiquidStakingRedeem.prototype.amount = "";
27315
+
27316
+ /**
27317
+ * MsgStrideLiquidStakingRedeem hostZone.
27318
+ * @member {string} hostZone
27319
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27320
+ * @instance
27321
+ */
27322
+ MsgStrideLiquidStakingRedeem.prototype.hostZone = "";
27323
+
27324
+ /**
27325
+ * MsgStrideLiquidStakingRedeem receiver.
27326
+ * @member {string} receiver
27327
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27328
+ * @instance
27329
+ */
27330
+ MsgStrideLiquidStakingRedeem.prototype.receiver = "";
27331
+
27332
+ /**
27333
+ * Creates a new MsgStrideLiquidStakingRedeem instance using the specified properties.
27334
+ * @function create
27335
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27336
+ * @static
27337
+ * @param {TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem=} [properties] Properties to set
27338
+ * @returns {TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem} MsgStrideLiquidStakingRedeem instance
27339
+ */
27340
+ MsgStrideLiquidStakingRedeem.create = function create(properties) {
27341
+ return new MsgStrideLiquidStakingRedeem(properties);
27342
+ };
27343
+
27344
+ /**
27345
+ * Encodes the specified MsgStrideLiquidStakingRedeem message. Does not implicitly {@link TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem.verify|verify} messages.
27346
+ * @function encode
27347
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27348
+ * @static
27349
+ * @param {TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem} message MsgStrideLiquidStakingRedeem message or plain object to encode
27350
+ * @param {$protobuf.Writer} [writer] Writer to encode to
27351
+ * @returns {$protobuf.Writer} Writer
27352
+ */
27353
+ MsgStrideLiquidStakingRedeem.encode = function encode(message, writer) {
27354
+ if (!writer)
27355
+ writer = $Writer.create();
27356
+ if (message.creator != null && Object.hasOwnProperty.call(message, "creator"))
27357
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.creator);
27358
+ if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
27359
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.amount);
27360
+ if (message.hostZone != null && Object.hasOwnProperty.call(message, "hostZone"))
27361
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.hostZone);
27362
+ if (message.receiver != null && Object.hasOwnProperty.call(message, "receiver"))
27363
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.receiver);
27364
+ return writer;
27365
+ };
27366
+
27367
+ /**
27368
+ * Decodes a MsgStrideLiquidStakingRedeem message from the specified reader or buffer.
27369
+ * @function decode
27370
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27371
+ * @static
27372
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
27373
+ * @param {number} [length] Message length if known beforehand
27374
+ * @returns {TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem} MsgStrideLiquidStakingRedeem
27375
+ * @throws {Error} If the payload is not a reader or valid buffer
27376
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27377
+ */
27378
+ MsgStrideLiquidStakingRedeem.decode = function decode(reader, length) {
27379
+ if (!(reader instanceof $Reader))
27380
+ reader = $Reader.create(reader);
27381
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem();
27382
+ while (reader.pos < end) {
27383
+ var tag = reader.uint32();
27384
+ switch (tag >>> 3) {
27385
+ case 1:
27386
+ message.creator = reader.string();
27387
+ break;
27388
+ case 2:
27389
+ message.amount = reader.string();
27390
+ break;
27391
+ case 3:
27392
+ message.hostZone = reader.string();
27393
+ break;
27394
+ case 4:
27395
+ message.receiver = reader.string();
27396
+ break;
27397
+ default:
27398
+ reader.skipType(tag & 7);
27399
+ break;
27400
+ }
27401
+ }
27402
+ return message;
27403
+ };
27404
+
27405
+ /**
27406
+ * Verifies a MsgStrideLiquidStakingRedeem message.
27407
+ * @function verify
27408
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27409
+ * @static
27410
+ * @param {Object.<string,*>} message Plain object to verify
27411
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
27412
+ */
27413
+ MsgStrideLiquidStakingRedeem.verify = function verify(message) {
27414
+ if (typeof message !== "object" || message === null)
27415
+ return "object expected";
27416
+ if (message.creator != null && message.hasOwnProperty("creator"))
27417
+ if (!$util.isString(message.creator))
27418
+ return "creator: string expected";
27419
+ if (message.amount != null && message.hasOwnProperty("amount"))
27420
+ if (!$util.isString(message.amount))
27421
+ return "amount: string expected";
27422
+ if (message.hostZone != null && message.hasOwnProperty("hostZone"))
27423
+ if (!$util.isString(message.hostZone))
27424
+ return "hostZone: string expected";
27425
+ if (message.receiver != null && message.hasOwnProperty("receiver"))
27426
+ if (!$util.isString(message.receiver))
27427
+ return "receiver: string expected";
27428
+ return null;
27429
+ };
27430
+
27431
+ /**
27432
+ * Creates a MsgStrideLiquidStakingRedeem message from a plain object. Also converts values to their respective internal types.
27433
+ * @function fromObject
27434
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27435
+ * @static
27436
+ * @param {Object.<string,*>} object Plain object
27437
+ * @returns {TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem} MsgStrideLiquidStakingRedeem
27438
+ */
27439
+ MsgStrideLiquidStakingRedeem.fromObject = function fromObject(object) {
27440
+ if (object instanceof $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem)
27441
+ return object;
27442
+ var message = new $root.TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem();
27443
+ if (object.creator != null)
27444
+ message.creator = String(object.creator);
27445
+ if (object.amount != null)
27446
+ message.amount = String(object.amount);
27447
+ if (object.hostZone != null)
27448
+ message.hostZone = String(object.hostZone);
27449
+ if (object.receiver != null)
27450
+ message.receiver = String(object.receiver);
27451
+ return message;
27452
+ };
27453
+
27454
+ /**
27455
+ * Creates a plain object from a MsgStrideLiquidStakingRedeem message. Also converts values to other types if specified.
27456
+ * @function toObject
27457
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27458
+ * @static
27459
+ * @param {TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem} message MsgStrideLiquidStakingRedeem
27460
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
27461
+ * @returns {Object.<string,*>} Plain object
27462
+ */
27463
+ MsgStrideLiquidStakingRedeem.toObject = function toObject(message, options) {
27464
+ if (!options)
27465
+ options = {};
27466
+ var object = {};
27467
+ if (options.defaults) {
27468
+ object.creator = "";
27469
+ object.amount = "";
27470
+ object.hostZone = "";
27471
+ object.receiver = "";
27472
+ }
27473
+ if (message.creator != null && message.hasOwnProperty("creator"))
27474
+ object.creator = message.creator;
27475
+ if (message.amount != null && message.hasOwnProperty("amount"))
27476
+ object.amount = message.amount;
27477
+ if (message.hostZone != null && message.hasOwnProperty("hostZone"))
27478
+ object.hostZone = message.hostZone;
27479
+ if (message.receiver != null && message.hasOwnProperty("receiver"))
27480
+ object.receiver = message.receiver;
27481
+ return object;
27482
+ };
27483
+
27484
+ /**
27485
+ * Converts this MsgStrideLiquidStakingRedeem to JSON.
27486
+ * @function toJSON
27487
+ * @memberof TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem
27488
+ * @instance
27489
+ * @returns {Object.<string,*>} JSON object
27490
+ */
27491
+ MsgStrideLiquidStakingRedeem.prototype.toJSON = function toJSON() {
27492
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
27493
+ };
27494
+
27495
+ return MsgStrideLiquidStakingRedeem;
27496
+ })();
27497
+
26179
27498
  return Message;
26180
27499
  })();
26181
27500
 
@@ -46002,12 +47321,14 @@
46002
47321
  * @property {number} MATIC=0 MATIC value
46003
47322
  * @property {number} ATOM=1 ATOM value
46004
47323
  * @property {number} BNB=2 BNB value
47324
+ * @property {number} APT=3 APT value
46005
47325
  */
46006
47326
  Proto.Coin = (function() {
46007
47327
  var valuesById = {}, values = Object.create(valuesById);
46008
47328
  values[valuesById[0] = "MATIC"] = 0;
46009
47329
  values[valuesById[1] = "ATOM"] = 1;
46010
47330
  values[valuesById[2] = "BNB"] = 2;
47331
+ values[valuesById[3] = "APT"] = 3;
46011
47332
  return values;
46012
47333
  })();
46013
47334
 
@@ -46019,6 +47340,7 @@
46019
47340
  * @property {number} POLYGON=1 POLYGON value
46020
47341
  * @property {number} STRIDE=2 STRIDE value
46021
47342
  * @property {number} BNB_BSC=3 BNB_BSC value
47343
+ * @property {number} APTOS=4 APTOS value
46022
47344
  */
46023
47345
  Proto.Blockchain = (function() {
46024
47346
  var valuesById = {}, values = Object.create(valuesById);
@@ -46026,6 +47348,7 @@
46026
47348
  values[valuesById[1] = "POLYGON"] = 1;
46027
47349
  values[valuesById[2] = "STRIDE"] = 2;
46028
47350
  values[valuesById[3] = "BNB_BSC"] = 3;
47351
+ values[valuesById[4] = "APTOS"] = 4;
46029
47352
  return values;
46030
47353
  })();
46031
47354
 
@@ -46035,11 +47358,13 @@
46035
47358
  * @enum {number}
46036
47359
  * @property {number} Strader=0 Strader value
46037
47360
  * @property {number} Stride=1 Stride value
47361
+ * @property {number} Tortuga=2 Tortuga value
46038
47362
  */
46039
47363
  Proto.Protocol = (function() {
46040
47364
  var valuesById = {}, values = Object.create(valuesById);
46041
47365
  values[valuesById[0] = "Strader"] = 0;
46042
47366
  values[valuesById[1] = "Stride"] = 1;
47367
+ values[valuesById[2] = "Tortuga"] = 2;
46043
47368
  return values;
46044
47369
  })();
46045
47370
 
@@ -46422,6 +47747,7 @@
46422
47747
  case 0:
46423
47748
  case 1:
46424
47749
  case 2:
47750
+ case 3:
46425
47751
  break;
46426
47752
  }
46427
47753
  if (message.liquidToken != null && message.hasOwnProperty("liquidToken"))
@@ -46461,6 +47787,10 @@
46461
47787
  case 2:
46462
47788
  message.stakingToken = 2;
46463
47789
  break;
47790
+ case "APT":
47791
+ case 3:
47792
+ message.stakingToken = 3;
47793
+ break;
46464
47794
  }
46465
47795
  if (object.liquidToken != null)
46466
47796
  message.liquidToken = String(object.liquidToken);
@@ -46709,6 +48039,8 @@
46709
48039
  * @interface IUnstake
46710
48040
  * @property {TW.LiquidStaking.Proto.IAsset|null} [asset] Unstake asset
46711
48041
  * @property {string|null} [amount] Unstake amount
48042
+ * @property {string|null} [receiverAddress] Unstake receiverAddress
48043
+ * @property {string|null} [receiverChainId] Unstake receiverChainId
46712
48044
  */
46713
48045
 
46714
48046
  /**
@@ -46742,6 +48074,22 @@
46742
48074
  */
46743
48075
  Unstake.prototype.amount = "";
46744
48076
 
48077
+ /**
48078
+ * Unstake receiverAddress.
48079
+ * @member {string} receiverAddress
48080
+ * @memberof TW.LiquidStaking.Proto.Unstake
48081
+ * @instance
48082
+ */
48083
+ Unstake.prototype.receiverAddress = "";
48084
+
48085
+ /**
48086
+ * Unstake receiverChainId.
48087
+ * @member {string} receiverChainId
48088
+ * @memberof TW.LiquidStaking.Proto.Unstake
48089
+ * @instance
48090
+ */
48091
+ Unstake.prototype.receiverChainId = "";
48092
+
46745
48093
  /**
46746
48094
  * Creates a new Unstake instance using the specified properties.
46747
48095
  * @function create
@@ -46770,6 +48118,10 @@
46770
48118
  $root.TW.LiquidStaking.Proto.Asset.encode(message.asset, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
46771
48119
  if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
46772
48120
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.amount);
48121
+ if (message.receiverAddress != null && Object.hasOwnProperty.call(message, "receiverAddress"))
48122
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.receiverAddress);
48123
+ if (message.receiverChainId != null && Object.hasOwnProperty.call(message, "receiverChainId"))
48124
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.receiverChainId);
46773
48125
  return writer;
46774
48126
  };
46775
48127
 
@@ -46797,6 +48149,12 @@
46797
48149
  case 2:
46798
48150
  message.amount = reader.string();
46799
48151
  break;
48152
+ case 3:
48153
+ message.receiverAddress = reader.string();
48154
+ break;
48155
+ case 4:
48156
+ message.receiverChainId = reader.string();
48157
+ break;
46800
48158
  default:
46801
48159
  reader.skipType(tag & 7);
46802
48160
  break;
@@ -46824,6 +48182,12 @@
46824
48182
  if (message.amount != null && message.hasOwnProperty("amount"))
46825
48183
  if (!$util.isString(message.amount))
46826
48184
  return "amount: string expected";
48185
+ if (message.receiverAddress != null && message.hasOwnProperty("receiverAddress"))
48186
+ if (!$util.isString(message.receiverAddress))
48187
+ return "receiverAddress: string expected";
48188
+ if (message.receiverChainId != null && message.hasOwnProperty("receiverChainId"))
48189
+ if (!$util.isString(message.receiverChainId))
48190
+ return "receiverChainId: string expected";
46827
48191
  return null;
46828
48192
  };
46829
48193
 
@@ -46846,6 +48210,10 @@
46846
48210
  }
46847
48211
  if (object.amount != null)
46848
48212
  message.amount = String(object.amount);
48213
+ if (object.receiverAddress != null)
48214
+ message.receiverAddress = String(object.receiverAddress);
48215
+ if (object.receiverChainId != null)
48216
+ message.receiverChainId = String(object.receiverChainId);
46849
48217
  return message;
46850
48218
  };
46851
48219
 
@@ -46865,11 +48233,17 @@
46865
48233
  if (options.defaults) {
46866
48234
  object.asset = null;
46867
48235
  object.amount = "";
48236
+ object.receiverAddress = "";
48237
+ object.receiverChainId = "";
46868
48238
  }
46869
48239
  if (message.asset != null && message.hasOwnProperty("asset"))
46870
48240
  object.asset = $root.TW.LiquidStaking.Proto.Asset.toObject(message.asset, options);
46871
48241
  if (message.amount != null && message.hasOwnProperty("amount"))
46872
48242
  object.amount = message.amount;
48243
+ if (message.receiverAddress != null && message.hasOwnProperty("receiverAddress"))
48244
+ object.receiverAddress = message.receiverAddress;
48245
+ if (message.receiverChainId != null && message.hasOwnProperty("receiverChainId"))
48246
+ object.receiverChainId = message.receiverChainId;
46873
48247
  return object;
46874
48248
  };
46875
48249
 
@@ -47318,6 +48692,7 @@
47318
48692
  return "protocol: enum value expected";
47319
48693
  case 0:
47320
48694
  case 1:
48695
+ case 2:
47321
48696
  break;
47322
48697
  }
47323
48698
  if (message.blockchain != null && message.hasOwnProperty("blockchain"))
@@ -47328,6 +48703,7 @@
47328
48703
  case 1:
47329
48704
  case 2:
47330
48705
  case 3:
48706
+ case 4:
47331
48707
  break;
47332
48708
  }
47333
48709
  return null;
@@ -47371,6 +48747,10 @@
47371
48747
  case 1:
47372
48748
  message.protocol = 1;
47373
48749
  break;
48750
+ case "Tortuga":
48751
+ case 2:
48752
+ message.protocol = 2;
48753
+ break;
47374
48754
  }
47375
48755
  switch (object.blockchain) {
47376
48756
  case "ETHEREUM":
@@ -47389,6 +48769,10 @@
47389
48769
  case 3:
47390
48770
  message.blockchain = 3;
47391
48771
  break;
48772
+ case "APTOS":
48773
+ case 4:
48774
+ message.blockchain = 4;
48775
+ break;
47392
48776
  }
47393
48777
  return message;
47394
48778
  };
@@ -47458,6 +48842,7 @@
47458
48842
  * @property {TW.LiquidStaking.Proto.IStatus|null} [status] Output status
47459
48843
  * @property {TW.Ethereum.Proto.ISigningInput|null} [ethereum] Output ethereum
47460
48844
  * @property {TW.Cosmos.Proto.ISigningInput|null} [cosmos] Output cosmos
48845
+ * @property {TW.Aptos.Proto.ISigningInput|null} [aptos] Output aptos
47461
48846
  */
47462
48847
 
47463
48848
  /**
@@ -47499,17 +48884,25 @@
47499
48884
  */
47500
48885
  Output.prototype.cosmos = null;
47501
48886
 
48887
+ /**
48888
+ * Output aptos.
48889
+ * @member {TW.Aptos.Proto.ISigningInput|null|undefined} aptos
48890
+ * @memberof TW.LiquidStaking.Proto.Output
48891
+ * @instance
48892
+ */
48893
+ Output.prototype.aptos = null;
48894
+
47502
48895
  // OneOf field names bound to virtual getters and setters
47503
48896
  var $oneOfFields;
47504
48897
 
47505
48898
  /**
47506
48899
  * Output signingInputOneof.
47507
- * @member {"ethereum"|"cosmos"|undefined} signingInputOneof
48900
+ * @member {"ethereum"|"cosmos"|"aptos"|undefined} signingInputOneof
47508
48901
  * @memberof TW.LiquidStaking.Proto.Output
47509
48902
  * @instance
47510
48903
  */
47511
48904
  Object.defineProperty(Output.prototype, "signingInputOneof", {
47512
- get: $util.oneOfGetter($oneOfFields = ["ethereum", "cosmos"]),
48905
+ get: $util.oneOfGetter($oneOfFields = ["ethereum", "cosmos", "aptos"]),
47513
48906
  set: $util.oneOfSetter($oneOfFields)
47514
48907
  });
47515
48908
 
@@ -47543,6 +48936,8 @@
47543
48936
  $root.TW.Ethereum.Proto.SigningInput.encode(message.ethereum, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
47544
48937
  if (message.cosmos != null && Object.hasOwnProperty.call(message, "cosmos"))
47545
48938
  $root.TW.Cosmos.Proto.SigningInput.encode(message.cosmos, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
48939
+ if (message.aptos != null && Object.hasOwnProperty.call(message, "aptos"))
48940
+ $root.TW.Aptos.Proto.SigningInput.encode(message.aptos, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
47546
48941
  return writer;
47547
48942
  };
47548
48943
 
@@ -47573,6 +48968,9 @@
47573
48968
  case 3:
47574
48969
  message.cosmos = $root.TW.Cosmos.Proto.SigningInput.decode(reader, reader.uint32());
47575
48970
  break;
48971
+ case 4:
48972
+ message.aptos = $root.TW.Aptos.Proto.SigningInput.decode(reader, reader.uint32());
48973
+ break;
47576
48974
  default:
47577
48975
  reader.skipType(tag & 7);
47578
48976
  break;
@@ -47616,6 +49014,16 @@
47616
49014
  return "cosmos." + error;
47617
49015
  }
47618
49016
  }
49017
+ if (message.aptos != null && message.hasOwnProperty("aptos")) {
49018
+ if (properties.signingInputOneof === 1)
49019
+ return "signingInputOneof: multiple values";
49020
+ properties.signingInputOneof = 1;
49021
+ {
49022
+ var error = $root.TW.Aptos.Proto.SigningInput.verify(message.aptos);
49023
+ if (error)
49024
+ return "aptos." + error;
49025
+ }
49026
+ }
47619
49027
  return null;
47620
49028
  };
47621
49029
 
@@ -47646,6 +49054,11 @@
47646
49054
  throw TypeError(".TW.LiquidStaking.Proto.Output.cosmos: object expected");
47647
49055
  message.cosmos = $root.TW.Cosmos.Proto.SigningInput.fromObject(object.cosmos);
47648
49056
  }
49057
+ if (object.aptos != null) {
49058
+ if (typeof object.aptos !== "object")
49059
+ throw TypeError(".TW.LiquidStaking.Proto.Output.aptos: object expected");
49060
+ message.aptos = $root.TW.Aptos.Proto.SigningInput.fromObject(object.aptos);
49061
+ }
47649
49062
  return message;
47650
49063
  };
47651
49064
 
@@ -47676,6 +49089,11 @@
47676
49089
  if (options.oneofs)
47677
49090
  object.signingInputOneof = "cosmos";
47678
49091
  }
49092
+ if (message.aptos != null && message.hasOwnProperty("aptos")) {
49093
+ object.aptos = $root.TW.Aptos.Proto.SigningInput.toObject(message.aptos, options);
49094
+ if (options.oneofs)
49095
+ object.signingInputOneof = "aptos";
49096
+ }
47679
49097
  return object;
47680
49098
  };
47681
49099