@trustwallet/wallet-core 3.1.30 → 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.
@@ -7236,6 +7236,12 @@ export namespace TW {
7236
7236
 
7237
7237
  /** Message msgVote */
7238
7238
  msgVote?: (TW.Cosmos.Proto.Message.IMsgVote|null);
7239
+
7240
+ /** Message msgStrideLiquidStakingStake */
7241
+ msgStrideLiquidStakingStake?: (TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake|null);
7242
+
7243
+ /** Message msgStrideLiquidStakingRedeem */
7244
+ msgStrideLiquidStakingRedeem?: (TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem|null);
7239
7245
  }
7240
7246
 
7241
7247
  /** Represents a Message. */
@@ -7301,8 +7307,14 @@ export namespace TW {
7301
7307
  /** Message msgVote. */
7302
7308
  public msgVote?: (TW.Cosmos.Proto.Message.IMsgVote|null);
7303
7309
 
7310
+ /** Message msgStrideLiquidStakingStake. */
7311
+ public msgStrideLiquidStakingStake?: (TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake|null);
7312
+
7313
+ /** Message msgStrideLiquidStakingRedeem. */
7314
+ public msgStrideLiquidStakingRedeem?: (TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem|null);
7315
+
7304
7316
  /** Message messageOneof. */
7305
- public messageOneof?: ("sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"msgVote");
7317
+ public messageOneof?: ("sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"msgVote"|"msgStrideLiquidStakingStake"|"msgStrideLiquidStakingRedeem");
7306
7318
 
7307
7319
  /**
7308
7320
  * Creates a new Message instance using the specified properties.
@@ -9187,6 +9199,182 @@ export namespace TW {
9187
9199
  */
9188
9200
  public toJSON(): { [k: string]: any };
9189
9201
  }
9202
+
9203
+ /** Properties of a MsgStrideLiquidStakingStake. */
9204
+ interface IMsgStrideLiquidStakingStake {
9205
+
9206
+ /** MsgStrideLiquidStakingStake creator */
9207
+ creator?: (string|null);
9208
+
9209
+ /** MsgStrideLiquidStakingStake amount */
9210
+ amount?: (string|null);
9211
+
9212
+ /** MsgStrideLiquidStakingStake hostDenom */
9213
+ hostDenom?: (string|null);
9214
+ }
9215
+
9216
+ /** Represents a MsgStrideLiquidStakingStake. */
9217
+ class MsgStrideLiquidStakingStake implements IMsgStrideLiquidStakingStake {
9218
+
9219
+ /**
9220
+ * Constructs a new MsgStrideLiquidStakingStake.
9221
+ * @param [properties] Properties to set
9222
+ */
9223
+ constructor(properties?: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake);
9224
+
9225
+ /** MsgStrideLiquidStakingStake creator. */
9226
+ public creator: string;
9227
+
9228
+ /** MsgStrideLiquidStakingStake amount. */
9229
+ public amount: string;
9230
+
9231
+ /** MsgStrideLiquidStakingStake hostDenom. */
9232
+ public hostDenom: string;
9233
+
9234
+ /**
9235
+ * Creates a new MsgStrideLiquidStakingStake instance using the specified properties.
9236
+ * @param [properties] Properties to set
9237
+ * @returns MsgStrideLiquidStakingStake instance
9238
+ */
9239
+ public static create(properties?: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake;
9240
+
9241
+ /**
9242
+ * Encodes the specified MsgStrideLiquidStakingStake message. Does not implicitly {@link TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake.verify|verify} messages.
9243
+ * @param message MsgStrideLiquidStakingStake message or plain object to encode
9244
+ * @param [writer] Writer to encode to
9245
+ * @returns Writer
9246
+ */
9247
+ public static encode(message: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake, writer?: $protobuf.Writer): $protobuf.Writer;
9248
+
9249
+ /**
9250
+ * Decodes a MsgStrideLiquidStakingStake message from the specified reader or buffer.
9251
+ * @param reader Reader or buffer to decode from
9252
+ * @param [length] Message length if known beforehand
9253
+ * @returns MsgStrideLiquidStakingStake
9254
+ * @throws {Error} If the payload is not a reader or valid buffer
9255
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9256
+ */
9257
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake;
9258
+
9259
+ /**
9260
+ * Verifies a MsgStrideLiquidStakingStake message.
9261
+ * @param message Plain object to verify
9262
+ * @returns `null` if valid, otherwise the reason why it is not
9263
+ */
9264
+ public static verify(message: { [k: string]: any }): (string|null);
9265
+
9266
+ /**
9267
+ * Creates a MsgStrideLiquidStakingStake message from a plain object. Also converts values to their respective internal types.
9268
+ * @param object Plain object
9269
+ * @returns MsgStrideLiquidStakingStake
9270
+ */
9271
+ public static fromObject(object: { [k: string]: any }): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake;
9272
+
9273
+ /**
9274
+ * Creates a plain object from a MsgStrideLiquidStakingStake message. Also converts values to other types if specified.
9275
+ * @param message MsgStrideLiquidStakingStake
9276
+ * @param [options] Conversion options
9277
+ * @returns Plain object
9278
+ */
9279
+ public static toObject(message: TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake, options?: $protobuf.IConversionOptions): { [k: string]: any };
9280
+
9281
+ /**
9282
+ * Converts this MsgStrideLiquidStakingStake to JSON.
9283
+ * @returns JSON object
9284
+ */
9285
+ public toJSON(): { [k: string]: any };
9286
+ }
9287
+
9288
+ /** Properties of a MsgStrideLiquidStakingRedeem. */
9289
+ interface IMsgStrideLiquidStakingRedeem {
9290
+
9291
+ /** MsgStrideLiquidStakingRedeem creator */
9292
+ creator?: (string|null);
9293
+
9294
+ /** MsgStrideLiquidStakingRedeem amount */
9295
+ amount?: (string|null);
9296
+
9297
+ /** MsgStrideLiquidStakingRedeem hostZone */
9298
+ hostZone?: (string|null);
9299
+
9300
+ /** MsgStrideLiquidStakingRedeem receiver */
9301
+ receiver?: (string|null);
9302
+ }
9303
+
9304
+ /** Represents a MsgStrideLiquidStakingRedeem. */
9305
+ class MsgStrideLiquidStakingRedeem implements IMsgStrideLiquidStakingRedeem {
9306
+
9307
+ /**
9308
+ * Constructs a new MsgStrideLiquidStakingRedeem.
9309
+ * @param [properties] Properties to set
9310
+ */
9311
+ constructor(properties?: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem);
9312
+
9313
+ /** MsgStrideLiquidStakingRedeem creator. */
9314
+ public creator: string;
9315
+
9316
+ /** MsgStrideLiquidStakingRedeem amount. */
9317
+ public amount: string;
9318
+
9319
+ /** MsgStrideLiquidStakingRedeem hostZone. */
9320
+ public hostZone: string;
9321
+
9322
+ /** MsgStrideLiquidStakingRedeem receiver. */
9323
+ public receiver: string;
9324
+
9325
+ /**
9326
+ * Creates a new MsgStrideLiquidStakingRedeem instance using the specified properties.
9327
+ * @param [properties] Properties to set
9328
+ * @returns MsgStrideLiquidStakingRedeem instance
9329
+ */
9330
+ public static create(properties?: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem;
9331
+
9332
+ /**
9333
+ * Encodes the specified MsgStrideLiquidStakingRedeem message. Does not implicitly {@link TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem.verify|verify} messages.
9334
+ * @param message MsgStrideLiquidStakingRedeem message or plain object to encode
9335
+ * @param [writer] Writer to encode to
9336
+ * @returns Writer
9337
+ */
9338
+ public static encode(message: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem, writer?: $protobuf.Writer): $protobuf.Writer;
9339
+
9340
+ /**
9341
+ * Decodes a MsgStrideLiquidStakingRedeem message from the specified reader or buffer.
9342
+ * @param reader Reader or buffer to decode from
9343
+ * @param [length] Message length if known beforehand
9344
+ * @returns MsgStrideLiquidStakingRedeem
9345
+ * @throws {Error} If the payload is not a reader or valid buffer
9346
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9347
+ */
9348
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem;
9349
+
9350
+ /**
9351
+ * Verifies a MsgStrideLiquidStakingRedeem message.
9352
+ * @param message Plain object to verify
9353
+ * @returns `null` if valid, otherwise the reason why it is not
9354
+ */
9355
+ public static verify(message: { [k: string]: any }): (string|null);
9356
+
9357
+ /**
9358
+ * Creates a MsgStrideLiquidStakingRedeem message from a plain object. Also converts values to their respective internal types.
9359
+ * @param object Plain object
9360
+ * @returns MsgStrideLiquidStakingRedeem
9361
+ */
9362
+ public static fromObject(object: { [k: string]: any }): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem;
9363
+
9364
+ /**
9365
+ * Creates a plain object from a MsgStrideLiquidStakingRedeem message. Also converts values to other types if specified.
9366
+ * @param message MsgStrideLiquidStakingRedeem
9367
+ * @param [options] Conversion options
9368
+ * @returns Plain object
9369
+ */
9370
+ public static toObject(message: TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem, options?: $protobuf.IConversionOptions): { [k: string]: any };
9371
+
9372
+ /**
9373
+ * Converts this MsgStrideLiquidStakingRedeem to JSON.
9374
+ * @returns JSON object
9375
+ */
9376
+ public toJSON(): { [k: string]: any };
9377
+ }
9190
9378
  }
9191
9379
 
9192
9380
  /** SigningMode enum. */
@@ -16260,6 +16448,12 @@ export namespace TW {
16260
16448
 
16261
16449
  /** Unstake amount */
16262
16450
  amount?: (string|null);
16451
+
16452
+ /** Unstake receiverAddress */
16453
+ receiverAddress?: (string|null);
16454
+
16455
+ /** Unstake receiverChainId */
16456
+ receiverChainId?: (string|null);
16263
16457
  }
16264
16458
 
16265
16459
  /** Represents an Unstake. */
@@ -16277,6 +16471,12 @@ export namespace TW {
16277
16471
  /** Unstake amount. */
16278
16472
  public amount: string;
16279
16473
 
16474
+ /** Unstake receiverAddress. */
16475
+ public receiverAddress: string;
16476
+
16477
+ /** Unstake receiverChainId. */
16478
+ public receiverChainId: string;
16479
+
16280
16480
  /**
16281
16481
  * Creates a new Unstake instance using the specified properties.
16282
16482
  * @param [properties] Properties to set
@@ -21400,6 +21400,8 @@
21400
21400
  * @property {TW.Cosmos.Proto.Message.IAuthGrant|null} [authGrant] Message authGrant
21401
21401
  * @property {TW.Cosmos.Proto.Message.IAuthRevoke|null} [authRevoke] Message authRevoke
21402
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
21403
21405
  */
21404
21406
 
21405
21407
  /**
@@ -21561,17 +21563,33 @@
21561
21563
  */
21562
21564
  Message.prototype.msgVote = null;
21563
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
+
21564
21582
  // OneOf field names bound to virtual getters and setters
21565
21583
  var $oneOfFields;
21566
21584
 
21567
21585
  /**
21568
21586
  * Message messageOneof.
21569
- * @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
21570
21588
  * @memberof TW.Cosmos.Proto.Message
21571
21589
  * @instance
21572
21590
  */
21573
21591
  Object.defineProperty(Message.prototype, "messageOneof", {
21574
- 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"]),
21575
21593
  set: $util.oneOfSetter($oneOfFields)
21576
21594
  });
21577
21595
 
@@ -21635,6 +21653,10 @@
21635
21653
  $root.TW.Cosmos.Proto.Message.AuthRevoke.encode(message.authRevoke, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
21636
21654
  if (message.msgVote != null && Object.hasOwnProperty.call(message, "msgVote"))
21637
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();
21638
21660
  return writer;
21639
21661
  };
21640
21662
 
@@ -21710,6 +21732,12 @@
21710
21732
  case 18:
21711
21733
  message.msgVote = $root.TW.Cosmos.Proto.Message.MsgVote.decode(reader, reader.uint32());
21712
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;
21713
21741
  default:
21714
21742
  reader.skipType(tag & 7);
21715
21743
  break;
@@ -21908,6 +21936,26 @@
21908
21936
  return "msgVote." + error;
21909
21937
  }
21910
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
+ }
21911
21959
  return null;
21912
21960
  };
21913
21961
 
@@ -22013,6 +22061,16 @@
22013
22061
  throw TypeError(".TW.Cosmos.Proto.Message.msgVote: object expected");
22014
22062
  message.msgVote = $root.TW.Cosmos.Proto.Message.MsgVote.fromObject(object.msgVote);
22015
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
+ }
22016
22074
  return message;
22017
22075
  };
22018
22076
 
@@ -22119,6 +22177,16 @@
22119
22177
  if (options.oneofs)
22120
22178
  object.messageOneof = "msgVote";
22121
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
+ }
22122
22190
  return object;
22123
22191
  };
22124
22192
 
@@ -26999,6 +27067,434 @@
26999
27067
  return MsgVote;
27000
27068
  })();
27001
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
+
27002
27498
  return Message;
27003
27499
  })();
27004
27500
 
@@ -47543,6 +48039,8 @@
47543
48039
  * @interface IUnstake
47544
48040
  * @property {TW.LiquidStaking.Proto.IAsset|null} [asset] Unstake asset
47545
48041
  * @property {string|null} [amount] Unstake amount
48042
+ * @property {string|null} [receiverAddress] Unstake receiverAddress
48043
+ * @property {string|null} [receiverChainId] Unstake receiverChainId
47546
48044
  */
47547
48045
 
47548
48046
  /**
@@ -47576,6 +48074,22 @@
47576
48074
  */
47577
48075
  Unstake.prototype.amount = "";
47578
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
+
47579
48093
  /**
47580
48094
  * Creates a new Unstake instance using the specified properties.
47581
48095
  * @function create
@@ -47604,6 +48118,10 @@
47604
48118
  $root.TW.LiquidStaking.Proto.Asset.encode(message.asset, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
47605
48119
  if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
47606
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);
47607
48125
  return writer;
47608
48126
  };
47609
48127
 
@@ -47631,6 +48149,12 @@
47631
48149
  case 2:
47632
48150
  message.amount = reader.string();
47633
48151
  break;
48152
+ case 3:
48153
+ message.receiverAddress = reader.string();
48154
+ break;
48155
+ case 4:
48156
+ message.receiverChainId = reader.string();
48157
+ break;
47634
48158
  default:
47635
48159
  reader.skipType(tag & 7);
47636
48160
  break;
@@ -47658,6 +48182,12 @@
47658
48182
  if (message.amount != null && message.hasOwnProperty("amount"))
47659
48183
  if (!$util.isString(message.amount))
47660
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";
47661
48191
  return null;
47662
48192
  };
47663
48193
 
@@ -47680,6 +48210,10 @@
47680
48210
  }
47681
48211
  if (object.amount != null)
47682
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);
47683
48217
  return message;
47684
48218
  };
47685
48219
 
@@ -47699,11 +48233,17 @@
47699
48233
  if (options.defaults) {
47700
48234
  object.asset = null;
47701
48235
  object.amount = "";
48236
+ object.receiverAddress = "";
48237
+ object.receiverChainId = "";
47702
48238
  }
47703
48239
  if (message.asset != null && message.hasOwnProperty("asset"))
47704
48240
  object.asset = $root.TW.LiquidStaking.Proto.Asset.toObject(message.asset, options);
47705
48241
  if (message.amount != null && message.hasOwnProperty("amount"))
47706
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;
47707
48247
  return object;
47708
48248
  };
47709
48249
 
@@ -34,7 +34,7 @@ function Ua(){Qa++;g.monitorRunDependencies&&g.monitorRunDependencies(Qa);assert
34
34
  function Va(){return G.startsWith("data:application/octet-stream;base64,")}function ma(a){return a.startsWith("file://")}function H(a){return function(){var b=g.asm;assert(Oa,"native function `"+a+"` called before runtime initialization");b[a]||assert(b[a],"exported native function `"+a+"` not found");return b[a].apply(null,arguments)}}var G;G="wallet-core.wasm";if(!Va()){var Wa=G;G=g.locateFile?g.locateFile(Wa,w):w+Wa}
35
35
  function Xa(){var a=G;try{if(a==G&&qa)return new Uint8Array(qa);if(ka)return ka(a);throw"both async and sync fetching of the wasm failed";}catch(b){n(b)}}
36
36
  function Ya(){if(!qa&&(ea||fa)){if("function"==typeof fetch&&!ma(G))return fetch(G,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+G+"'";return a.arrayBuffer()}).catch(function(){return Xa()});if(ja)return new Promise(function(a,b){ja(G,function(c){a(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return Xa()})}
37
- var Za,$a,ab={661924:()=>{if(void 0===g.ea)try{var a="object"===typeof window?window:self,b="undefined"!==typeof a.crypto?a.crypto:a.msCrypto;a=function(){var d=new Uint32Array(1);b.getRandomValues(d);return d[0]>>>0};a();g.ea=a}catch(d){try{var c=require("crypto");a=function(){var e=c.randomBytes(4);return(e[0]<<24|e[1]<<16|e[2]<<8|e[3])>>>0};a();g.ea=a}catch(e){throw"No secure random number generator found";}}},662646:()=>g.ea()};function bb(a){for(;0<a.length;)a.shift()(g)}
37
+ var Za,$a,ab={664676:()=>{if(void 0===g.ea)try{var a="object"===typeof window?window:self,b="undefined"!==typeof a.crypto?a.crypto:a.msCrypto;a=function(){var d=new Uint32Array(1);b.getRandomValues(d);return d[0]>>>0};a();g.ea=a}catch(d){try{var c=require("crypto");a=function(){var e=c.randomBytes(4);return(e[0]<<24|e[1]<<16|e[2]<<8|e[3])>>>0};a();g.ea=a}catch(e){throw"No secure random number generator found";}}},665398:()=>g.ea()};function bb(a){for(;0<a.length;)a.shift()(g)}
38
38
  function va(a){assert("number"===typeof a);return"0x"+a.toString(16).padStart(8,"0")}function pa(a){cb||(cb={});cb[a]||(cb[a]=1,v&&(a="warning: "+a),y(a))}var cb,db=0;
39
39
  function eb(a){this.l=a-24;this.Sa=function(b){F[this.l+4>>2]=b};this.Ca=function(){return F[this.l+4>>2]};this.Ia=function(b){F[this.l+8>>2]=b};this.Ja=function(){E[this.l>>2]=0};this.Ha=function(){C[this.l+12>>0]=0};this.Ma=function(){C[this.l+13>>0]=0};this.Da=function(b,c){this.F(0);this.Sa(b);this.Ia(c);this.Ja();this.Ha();this.Ma()};this.F=function(b){F[this.l+16>>2]=b}}
40
40
  var fb=0,gb=(a,b)=>{for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");return a},hb=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=gb(a.split("/").filter(d=>!!d),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},ib=a=>{var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&(b=b.substr(0,b.length-1));return a+b},jb=
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustwallet/wallet-core",
3
- "version": "3.1.30",
3
+ "version": "3.1.31",
4
4
  "description": "wallet core wasm and protobuf models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",