@keepkey/device-protocol 7.11.2 → 7.12.0

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.
@@ -411,16 +411,6 @@ export class OsmosisMsgRewards extends jspb.Message {
411
411
  getValidatorAddress(): string | undefined;
412
412
  setValidatorAddress(value: string): void;
413
413
 
414
- hasDenom(): boolean;
415
- clearDenom(): void;
416
- getDenom(): string | undefined;
417
- setDenom(value: string): void;
418
-
419
- hasAmount(): boolean;
420
- clearAmount(): void;
421
- getAmount(): string | undefined;
422
- setAmount(value: string): void;
423
-
424
414
  serializeBinary(): Uint8Array;
425
415
  toObject(includeInstance?: boolean): OsmosisMsgRewards.AsObject;
426
416
  static toObject(includeInstance: boolean, msg: OsmosisMsgRewards): OsmosisMsgRewards.AsObject;
@@ -435,8 +425,6 @@ export namespace OsmosisMsgRewards {
435
425
  export type AsObject = {
436
426
  delegatorAddress?: string,
437
427
  validatorAddress?: string,
438
- denom?: string,
439
- amount?: string,
440
428
  }
441
429
  }
442
430
 
@@ -453,8 +441,8 @@ export class OsmosisMsgLPAdd extends jspb.Message {
453
441
 
454
442
  hasShareOutAmount(): boolean;
455
443
  clearShareOutAmount(): void;
456
- getShareOutAmount(): number | undefined;
457
- setShareOutAmount(value: number): void;
444
+ getShareOutAmount(): string | undefined;
445
+ setShareOutAmount(value: string): void;
458
446
 
459
447
  hasDenomInMaxA(): boolean;
460
448
  clearDenomInMaxA(): void;
@@ -490,7 +478,7 @@ export namespace OsmosisMsgLPAdd {
490
478
  export type AsObject = {
491
479
  sender?: string,
492
480
  poolId?: number,
493
- shareOutAmount?: number,
481
+ shareOutAmount?: string,
494
482
  denomInMaxA?: string,
495
483
  amountInMaxA?: string,
496
484
  denomInMaxB?: string,
@@ -511,8 +499,8 @@ export class OsmosisMsgLPRemove extends jspb.Message {
511
499
 
512
500
  hasShareOutAmount(): boolean;
513
501
  clearShareOutAmount(): void;
514
- getShareOutAmount(): number | undefined;
515
- setShareOutAmount(value: number): void;
502
+ getShareOutAmount(): string | undefined;
503
+ setShareOutAmount(value: string): void;
516
504
 
517
505
  hasDenomOutMinA(): boolean;
518
506
  clearDenomOutMinA(): void;
@@ -548,7 +536,7 @@ export namespace OsmosisMsgLPRemove {
548
536
  export type AsObject = {
549
537
  sender?: string,
550
538
  poolId?: number,
551
- shareOutAmount?: number,
539
+ shareOutAmount?: string,
552
540
  denomOutMinA?: string,
553
541
  amountOutMinA?: string,
554
542
  denomOutMinB?: string,
@@ -716,8 +704,8 @@ export class OsmosisMsgSwap extends jspb.Message {
716
704
 
717
705
  hasTokenOutMinAmount(): boolean;
718
706
  clearTokenOutMinAmount(): void;
719
- getTokenOutMinAmount(): number | undefined;
720
- setTokenOutMinAmount(value: number): void;
707
+ getTokenOutMinAmount(): string | undefined;
708
+ setTokenOutMinAmount(value: string): void;
721
709
 
722
710
  serializeBinary(): Uint8Array;
723
711
  toObject(includeInstance?: boolean): OsmosisMsgSwap.AsObject;
@@ -736,7 +724,7 @@ export namespace OsmosisMsgSwap {
736
724
  tokenOutDenom?: string,
737
725
  tokenInDenom?: string,
738
726
  tokenInAmount?: string,
739
- tokenOutMinAmount?: number,
727
+ tokenOutMinAmount?: string,
740
728
  }
741
729
  }
742
730
 
@@ -2183,7 +2183,7 @@ proto.OsmosisMsgSend.deserializeBinaryFromReader = function(msg, reader) {
2183
2183
  msg.setDenom(value);
2184
2184
  break;
2185
2185
  case 4:
2186
- var value = /** @type {string} */ (reader.readUint64String());
2186
+ var value = /** @type {string} */ (reader.readString());
2187
2187
  msg.setAmount(value);
2188
2188
  break;
2189
2189
  case 5:
@@ -2242,7 +2242,7 @@ proto.OsmosisMsgSend.serializeBinaryToWriter = function(message, writer) {
2242
2242
  }
2243
2243
  f = /** @type {string} */ (jspb.Message.getField(message, 4));
2244
2244
  if (f != null) {
2245
- writer.writeUint64String(
2245
+ writer.writeString(
2246
2246
  4,
2247
2247
  f
2248
2248
  );
@@ -2366,11 +2366,11 @@ proto.OsmosisMsgSend.prototype.hasDenom = function() {
2366
2366
 
2367
2367
 
2368
2368
  /**
2369
- * optional uint64 amount = 4;
2369
+ * optional string amount = 4;
2370
2370
  * @return {string}
2371
2371
  */
2372
2372
  proto.OsmosisMsgSend.prototype.getAmount = function() {
2373
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
2373
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2374
2374
  };
2375
2375
 
2376
2376
 
@@ -2522,7 +2522,7 @@ proto.OsmosisMsgDelegate.deserializeBinaryFromReader = function(msg, reader) {
2522
2522
  msg.setDenom(value);
2523
2523
  break;
2524
2524
  case 4:
2525
- var value = /** @type {string} */ (reader.readUint64String());
2525
+ var value = /** @type {string} */ (reader.readString());
2526
2526
  msg.setAmount(value);
2527
2527
  break;
2528
2528
  default:
@@ -2577,7 +2577,7 @@ proto.OsmosisMsgDelegate.serializeBinaryToWriter = function(message, writer) {
2577
2577
  }
2578
2578
  f = /** @type {string} */ (jspb.Message.getField(message, 4));
2579
2579
  if (f != null) {
2580
- writer.writeUint64String(
2580
+ writer.writeString(
2581
2581
  4,
2582
2582
  f
2583
2583
  );
@@ -2694,11 +2694,11 @@ proto.OsmosisMsgDelegate.prototype.hasDenom = function() {
2694
2694
 
2695
2695
 
2696
2696
  /**
2697
- * optional uint64 amount = 4;
2697
+ * optional string amount = 4;
2698
2698
  * @return {string}
2699
2699
  */
2700
2700
  proto.OsmosisMsgDelegate.prototype.getAmount = function() {
2701
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
2701
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2702
2702
  };
2703
2703
 
2704
2704
 
@@ -2814,7 +2814,7 @@ proto.OsmosisMsgUndelegate.deserializeBinaryFromReader = function(msg, reader) {
2814
2814
  msg.setDenom(value);
2815
2815
  break;
2816
2816
  case 4:
2817
- var value = /** @type {string} */ (reader.readUint64String());
2817
+ var value = /** @type {string} */ (reader.readString());
2818
2818
  msg.setAmount(value);
2819
2819
  break;
2820
2820
  default:
@@ -2869,7 +2869,7 @@ proto.OsmosisMsgUndelegate.serializeBinaryToWriter = function(message, writer) {
2869
2869
  }
2870
2870
  f = /** @type {string} */ (jspb.Message.getField(message, 4));
2871
2871
  if (f != null) {
2872
- writer.writeUint64String(
2872
+ writer.writeString(
2873
2873
  4,
2874
2874
  f
2875
2875
  );
@@ -2986,11 +2986,11 @@ proto.OsmosisMsgUndelegate.prototype.hasDenom = function() {
2986
2986
 
2987
2987
 
2988
2988
  /**
2989
- * optional uint64 amount = 4;
2989
+ * optional string amount = 4;
2990
2990
  * @return {string}
2991
2991
  */
2992
2992
  proto.OsmosisMsgUndelegate.prototype.getAmount = function() {
2993
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
2993
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2994
2994
  };
2995
2995
 
2996
2996
 
@@ -3111,7 +3111,7 @@ proto.OsmosisMsgRedelegate.deserializeBinaryFromReader = function(msg, reader) {
3111
3111
  msg.setDenom(value);
3112
3112
  break;
3113
3113
  case 5:
3114
- var value = /** @type {string} */ (reader.readUint64String());
3114
+ var value = /** @type {string} */ (reader.readString());
3115
3115
  msg.setAmount(value);
3116
3116
  break;
3117
3117
  default:
@@ -3173,7 +3173,7 @@ proto.OsmosisMsgRedelegate.serializeBinaryToWriter = function(message, writer) {
3173
3173
  }
3174
3174
  f = /** @type {string} */ (jspb.Message.getField(message, 5));
3175
3175
  if (f != null) {
3176
- writer.writeUint64String(
3176
+ writer.writeString(
3177
3177
  5,
3178
3178
  f
3179
3179
  );
@@ -3326,11 +3326,11 @@ proto.OsmosisMsgRedelegate.prototype.hasDenom = function() {
3326
3326
 
3327
3327
 
3328
3328
  /**
3329
- * optional uint64 amount = 5;
3329
+ * optional string amount = 5;
3330
3330
  * @return {string}
3331
3331
  */
3332
3332
  proto.OsmosisMsgRedelegate.prototype.getAmount = function() {
3333
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "0"));
3333
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3334
3334
  };
3335
3335
 
3336
3336
 
@@ -3394,9 +3394,7 @@ proto.OsmosisMsgRewards.prototype.toObject = function(opt_includeInstance) {
3394
3394
  proto.OsmosisMsgRewards.toObject = function(includeInstance, msg) {
3395
3395
  var f, obj = {
3396
3396
  delegatorAddress: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
3397
- validatorAddress: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
3398
- denom: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
3399
- amount: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
3397
+ validatorAddress: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
3400
3398
  };
3401
3399
 
3402
3400
  if (includeInstance) {
@@ -3441,14 +3439,6 @@ proto.OsmosisMsgRewards.deserializeBinaryFromReader = function(msg, reader) {
3441
3439
  var value = /** @type {string} */ (reader.readString());
3442
3440
  msg.setValidatorAddress(value);
3443
3441
  break;
3444
- case 3:
3445
- var value = /** @type {string} */ (reader.readString());
3446
- msg.setDenom(value);
3447
- break;
3448
- case 4:
3449
- var value = /** @type {string} */ (reader.readUint64String());
3450
- msg.setAmount(value);
3451
- break;
3452
3442
  default:
3453
3443
  reader.skipField();
3454
3444
  break;
@@ -3492,20 +3482,6 @@ proto.OsmosisMsgRewards.serializeBinaryToWriter = function(message, writer) {
3492
3482
  f
3493
3483
  );
3494
3484
  }
3495
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
3496
- if (f != null) {
3497
- writer.writeString(
3498
- 3,
3499
- f
3500
- );
3501
- }
3502
- f = /** @type {string} */ (jspb.Message.getField(message, 4));
3503
- if (f != null) {
3504
- writer.writeUint64String(
3505
- 4,
3506
- f
3507
- );
3508
- }
3509
3485
  };
3510
3486
 
3511
3487
 
@@ -3581,78 +3557,6 @@ proto.OsmosisMsgRewards.prototype.hasValidatorAddress = function() {
3581
3557
  };
3582
3558
 
3583
3559
 
3584
- /**
3585
- * optional string denom = 3;
3586
- * @return {string}
3587
- */
3588
- proto.OsmosisMsgRewards.prototype.getDenom = function() {
3589
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3590
- };
3591
-
3592
-
3593
- /**
3594
- * @param {string} value
3595
- * @return {!proto.OsmosisMsgRewards} returns this
3596
- */
3597
- proto.OsmosisMsgRewards.prototype.setDenom = function(value) {
3598
- return jspb.Message.setField(this, 3, value);
3599
- };
3600
-
3601
-
3602
- /**
3603
- * Clears the field making it undefined.
3604
- * @return {!proto.OsmosisMsgRewards} returns this
3605
- */
3606
- proto.OsmosisMsgRewards.prototype.clearDenom = function() {
3607
- return jspb.Message.setField(this, 3, undefined);
3608
- };
3609
-
3610
-
3611
- /**
3612
- * Returns whether this field is set.
3613
- * @return {boolean}
3614
- */
3615
- proto.OsmosisMsgRewards.prototype.hasDenom = function() {
3616
- return jspb.Message.getField(this, 3) != null;
3617
- };
3618
-
3619
-
3620
- /**
3621
- * optional uint64 amount = 4;
3622
- * @return {string}
3623
- */
3624
- proto.OsmosisMsgRewards.prototype.getAmount = function() {
3625
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
3626
- };
3627
-
3628
-
3629
- /**
3630
- * @param {string} value
3631
- * @return {!proto.OsmosisMsgRewards} returns this
3632
- */
3633
- proto.OsmosisMsgRewards.prototype.setAmount = function(value) {
3634
- return jspb.Message.setField(this, 4, value);
3635
- };
3636
-
3637
-
3638
- /**
3639
- * Clears the field making it undefined.
3640
- * @return {!proto.OsmosisMsgRewards} returns this
3641
- */
3642
- proto.OsmosisMsgRewards.prototype.clearAmount = function() {
3643
- return jspb.Message.setField(this, 4, undefined);
3644
- };
3645
-
3646
-
3647
- /**
3648
- * Returns whether this field is set.
3649
- * @return {boolean}
3650
- */
3651
- proto.OsmosisMsgRewards.prototype.hasAmount = function() {
3652
- return jspb.Message.getField(this, 4) != null;
3653
- };
3654
-
3655
-
3656
3560
 
3657
3561
 
3658
3562
 
@@ -3737,7 +3641,7 @@ proto.OsmosisMsgLPAdd.deserializeBinaryFromReader = function(msg, reader) {
3737
3641
  msg.setPoolId(value);
3738
3642
  break;
3739
3643
  case 3:
3740
- var value = /** @type {number} */ (reader.readUint64());
3644
+ var value = /** @type {string} */ (reader.readString());
3741
3645
  msg.setShareOutAmount(value);
3742
3646
  break;
3743
3647
  case 4:
@@ -3745,7 +3649,7 @@ proto.OsmosisMsgLPAdd.deserializeBinaryFromReader = function(msg, reader) {
3745
3649
  msg.setDenomInMaxA(value);
3746
3650
  break;
3747
3651
  case 5:
3748
- var value = /** @type {string} */ (reader.readUint64String());
3652
+ var value = /** @type {string} */ (reader.readString());
3749
3653
  msg.setAmountInMaxA(value);
3750
3654
  break;
3751
3655
  case 6:
@@ -3753,7 +3657,7 @@ proto.OsmosisMsgLPAdd.deserializeBinaryFromReader = function(msg, reader) {
3753
3657
  msg.setDenomInMaxB(value);
3754
3658
  break;
3755
3659
  case 7:
3756
- var value = /** @type {string} */ (reader.readUint64String());
3660
+ var value = /** @type {string} */ (reader.readString());
3757
3661
  msg.setAmountInMaxB(value);
3758
3662
  break;
3759
3663
  default:
@@ -3799,9 +3703,9 @@ proto.OsmosisMsgLPAdd.serializeBinaryToWriter = function(message, writer) {
3799
3703
  f
3800
3704
  );
3801
3705
  }
3802
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
3706
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
3803
3707
  if (f != null) {
3804
- writer.writeUint64(
3708
+ writer.writeString(
3805
3709
  3,
3806
3710
  f
3807
3711
  );
@@ -3815,7 +3719,7 @@ proto.OsmosisMsgLPAdd.serializeBinaryToWriter = function(message, writer) {
3815
3719
  }
3816
3720
  f = /** @type {string} */ (jspb.Message.getField(message, 5));
3817
3721
  if (f != null) {
3818
- writer.writeUint64String(
3722
+ writer.writeString(
3819
3723
  5,
3820
3724
  f
3821
3725
  );
@@ -3829,7 +3733,7 @@ proto.OsmosisMsgLPAdd.serializeBinaryToWriter = function(message, writer) {
3829
3733
  }
3830
3734
  f = /** @type {string} */ (jspb.Message.getField(message, 7));
3831
3735
  if (f != null) {
3832
- writer.writeUint64String(
3736
+ writer.writeString(
3833
3737
  7,
3834
3738
  f
3835
3739
  );
@@ -3910,16 +3814,16 @@ proto.OsmosisMsgLPAdd.prototype.hasPoolId = function() {
3910
3814
 
3911
3815
 
3912
3816
  /**
3913
- * optional uint64 share_out_amount = 3;
3914
- * @return {number}
3817
+ * optional string share_out_amount = 3;
3818
+ * @return {string}
3915
3819
  */
3916
3820
  proto.OsmosisMsgLPAdd.prototype.getShareOutAmount = function() {
3917
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
3821
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3918
3822
  };
3919
3823
 
3920
3824
 
3921
3825
  /**
3922
- * @param {number} value
3826
+ * @param {string} value
3923
3827
  * @return {!proto.OsmosisMsgLPAdd} returns this
3924
3828
  */
3925
3829
  proto.OsmosisMsgLPAdd.prototype.setShareOutAmount = function(value) {
@@ -3982,11 +3886,11 @@ proto.OsmosisMsgLPAdd.prototype.hasDenomInMaxA = function() {
3982
3886
 
3983
3887
 
3984
3888
  /**
3985
- * optional uint64 amount_in_max_a = 5;
3889
+ * optional string amount_in_max_a = 5;
3986
3890
  * @return {string}
3987
3891
  */
3988
3892
  proto.OsmosisMsgLPAdd.prototype.getAmountInMaxA = function() {
3989
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "0"));
3893
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3990
3894
  };
3991
3895
 
3992
3896
 
@@ -4054,11 +3958,11 @@ proto.OsmosisMsgLPAdd.prototype.hasDenomInMaxB = function() {
4054
3958
 
4055
3959
 
4056
3960
  /**
4057
- * optional uint64 amount_in_max_b = 7;
3961
+ * optional string amount_in_max_b = 7;
4058
3962
  * @return {string}
4059
3963
  */
4060
3964
  proto.OsmosisMsgLPAdd.prototype.getAmountInMaxB = function() {
4061
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "0"));
3965
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4062
3966
  };
4063
3967
 
4064
3968
 
@@ -4173,7 +4077,7 @@ proto.OsmosisMsgLPRemove.deserializeBinaryFromReader = function(msg, reader) {
4173
4077
  msg.setPoolId(value);
4174
4078
  break;
4175
4079
  case 3:
4176
- var value = /** @type {number} */ (reader.readUint64());
4080
+ var value = /** @type {string} */ (reader.readString());
4177
4081
  msg.setShareOutAmount(value);
4178
4082
  break;
4179
4083
  case 4:
@@ -4181,7 +4085,7 @@ proto.OsmosisMsgLPRemove.deserializeBinaryFromReader = function(msg, reader) {
4181
4085
  msg.setDenomOutMinA(value);
4182
4086
  break;
4183
4087
  case 5:
4184
- var value = /** @type {string} */ (reader.readUint64String());
4088
+ var value = /** @type {string} */ (reader.readString());
4185
4089
  msg.setAmountOutMinA(value);
4186
4090
  break;
4187
4091
  case 6:
@@ -4189,7 +4093,7 @@ proto.OsmosisMsgLPRemove.deserializeBinaryFromReader = function(msg, reader) {
4189
4093
  msg.setDenomOutMinB(value);
4190
4094
  break;
4191
4095
  case 7:
4192
- var value = /** @type {string} */ (reader.readUint64String());
4096
+ var value = /** @type {string} */ (reader.readString());
4193
4097
  msg.setAmountOutMinB(value);
4194
4098
  break;
4195
4099
  default:
@@ -4235,9 +4139,9 @@ proto.OsmosisMsgLPRemove.serializeBinaryToWriter = function(message, writer) {
4235
4139
  f
4236
4140
  );
4237
4141
  }
4238
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
4142
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
4239
4143
  if (f != null) {
4240
- writer.writeUint64(
4144
+ writer.writeString(
4241
4145
  3,
4242
4146
  f
4243
4147
  );
@@ -4251,7 +4155,7 @@ proto.OsmosisMsgLPRemove.serializeBinaryToWriter = function(message, writer) {
4251
4155
  }
4252
4156
  f = /** @type {string} */ (jspb.Message.getField(message, 5));
4253
4157
  if (f != null) {
4254
- writer.writeUint64String(
4158
+ writer.writeString(
4255
4159
  5,
4256
4160
  f
4257
4161
  );
@@ -4265,7 +4169,7 @@ proto.OsmosisMsgLPRemove.serializeBinaryToWriter = function(message, writer) {
4265
4169
  }
4266
4170
  f = /** @type {string} */ (jspb.Message.getField(message, 7));
4267
4171
  if (f != null) {
4268
- writer.writeUint64String(
4172
+ writer.writeString(
4269
4173
  7,
4270
4174
  f
4271
4175
  );
@@ -4346,16 +4250,16 @@ proto.OsmosisMsgLPRemove.prototype.hasPoolId = function() {
4346
4250
 
4347
4251
 
4348
4252
  /**
4349
- * optional uint64 share_out_amount = 3;
4350
- * @return {number}
4253
+ * optional string share_out_amount = 3;
4254
+ * @return {string}
4351
4255
  */
4352
4256
  proto.OsmosisMsgLPRemove.prototype.getShareOutAmount = function() {
4353
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
4257
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4354
4258
  };
4355
4259
 
4356
4260
 
4357
4261
  /**
4358
- * @param {number} value
4262
+ * @param {string} value
4359
4263
  * @return {!proto.OsmosisMsgLPRemove} returns this
4360
4264
  */
4361
4265
  proto.OsmosisMsgLPRemove.prototype.setShareOutAmount = function(value) {
@@ -4418,11 +4322,11 @@ proto.OsmosisMsgLPRemove.prototype.hasDenomOutMinA = function() {
4418
4322
 
4419
4323
 
4420
4324
  /**
4421
- * optional uint64 amount_out_min_a = 5;
4325
+ * optional string amount_out_min_a = 5;
4422
4326
  * @return {string}
4423
4327
  */
4424
4328
  proto.OsmosisMsgLPRemove.prototype.getAmountOutMinA = function() {
4425
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "0"));
4329
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4426
4330
  };
4427
4331
 
4428
4332
 
@@ -4490,11 +4394,11 @@ proto.OsmosisMsgLPRemove.prototype.hasDenomOutMinB = function() {
4490
4394
 
4491
4395
 
4492
4396
  /**
4493
- * optional uint64 amount_out_min_b = 7;
4397
+ * optional string amount_out_min_b = 7;
4494
4398
  * @return {string}
4495
4399
  */
4496
4400
  proto.OsmosisMsgLPRemove.prototype.getAmountOutMinB = function() {
4497
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "0"));
4401
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4498
4402
  };
4499
4403
 
4500
4404
 
@@ -4610,7 +4514,7 @@ proto.OsmosisMsgLPStake.deserializeBinaryFromReader = function(msg, reader) {
4610
4514
  msg.setDenom(value);
4611
4515
  break;
4612
4516
  case 5:
4613
- var value = /** @type {string} */ (reader.readUint64String());
4517
+ var value = /** @type {string} */ (reader.readString());
4614
4518
  msg.setAmount(value);
4615
4519
  break;
4616
4520
  default:
@@ -4665,7 +4569,7 @@ proto.OsmosisMsgLPStake.serializeBinaryToWriter = function(message, writer) {
4665
4569
  }
4666
4570
  f = /** @type {string} */ (jspb.Message.getField(message, 5));
4667
4571
  if (f != null) {
4668
- writer.writeUint64String(
4572
+ writer.writeString(
4669
4573
  5,
4670
4574
  f
4671
4575
  );
@@ -4782,11 +4686,11 @@ proto.OsmosisMsgLPStake.prototype.hasDenom = function() {
4782
4686
 
4783
4687
 
4784
4688
  /**
4785
- * optional uint64 amount = 5;
4689
+ * optional string amount = 5;
4786
4690
  * @return {string}
4787
4691
  */
4788
4692
  proto.OsmosisMsgLPStake.prototype.getAmount = function() {
4789
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "0"));
4693
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4790
4694
  };
4791
4695
 
4792
4696
 
@@ -5102,7 +5006,7 @@ proto.OsmosisMsgIBCTransfer.deserializeBinaryFromReader = function(msg, reader)
5102
5006
  msg.setDenom(value);
5103
5007
  break;
5104
5008
  case 4:
5105
- var value = /** @type {string} */ (reader.readUint64String());
5009
+ var value = /** @type {string} */ (reader.readString());
5106
5010
  msg.setAmount(value);
5107
5011
  break;
5108
5012
  case 5:
@@ -5173,7 +5077,7 @@ proto.OsmosisMsgIBCTransfer.serializeBinaryToWriter = function(message, writer)
5173
5077
  }
5174
5078
  f = /** @type {string} */ (jspb.Message.getField(message, 4));
5175
5079
  if (f != null) {
5176
- writer.writeUint64String(
5080
+ writer.writeString(
5177
5081
  4,
5178
5082
  f
5179
5083
  );
@@ -5318,11 +5222,11 @@ proto.OsmosisMsgIBCTransfer.prototype.hasDenom = function() {
5318
5222
 
5319
5223
 
5320
5224
  /**
5321
- * optional uint64 amount = 4;
5225
+ * optional string amount = 4;
5322
5226
  * @return {string}
5323
5227
  */
5324
5228
  proto.OsmosisMsgIBCTransfer.prototype.getAmount = function() {
5325
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
5229
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
5326
5230
  };
5327
5231
 
5328
5232
 
@@ -5588,11 +5492,11 @@ proto.OsmosisMsgSwap.deserializeBinaryFromReader = function(msg, reader) {
5588
5492
  msg.setTokenInDenom(value);
5589
5493
  break;
5590
5494
  case 5:
5591
- var value = /** @type {string} */ (reader.readUint64String());
5495
+ var value = /** @type {string} */ (reader.readString());
5592
5496
  msg.setTokenInAmount(value);
5593
5497
  break;
5594
5498
  case 6:
5595
- var value = /** @type {number} */ (reader.readUint64());
5499
+ var value = /** @type {string} */ (reader.readString());
5596
5500
  msg.setTokenOutMinAmount(value);
5597
5501
  break;
5598
5502
  default:
@@ -5654,14 +5558,14 @@ proto.OsmosisMsgSwap.serializeBinaryToWriter = function(message, writer) {
5654
5558
  }
5655
5559
  f = /** @type {string} */ (jspb.Message.getField(message, 5));
5656
5560
  if (f != null) {
5657
- writer.writeUint64String(
5561
+ writer.writeString(
5658
5562
  5,
5659
5563
  f
5660
5564
  );
5661
5565
  }
5662
- f = /** @type {number} */ (jspb.Message.getField(message, 6));
5566
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
5663
5567
  if (f != null) {
5664
- writer.writeUint64(
5568
+ writer.writeString(
5665
5569
  6,
5666
5570
  f
5667
5571
  );
@@ -5814,11 +5718,11 @@ proto.OsmosisMsgSwap.prototype.hasTokenInDenom = function() {
5814
5718
 
5815
5719
 
5816
5720
  /**
5817
- * optional uint64 token_in_amount = 5;
5721
+ * optional string token_in_amount = 5;
5818
5722
  * @return {string}
5819
5723
  */
5820
5724
  proto.OsmosisMsgSwap.prototype.getTokenInAmount = function() {
5821
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "0"));
5725
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
5822
5726
  };
5823
5727
 
5824
5728
 
@@ -5850,16 +5754,16 @@ proto.OsmosisMsgSwap.prototype.hasTokenInAmount = function() {
5850
5754
 
5851
5755
 
5852
5756
  /**
5853
- * optional uint64 token_out_min_amount = 6;
5854
- * @return {number}
5757
+ * optional string token_out_min_amount = 6;
5758
+ * @return {string}
5855
5759
  */
5856
5760
  proto.OsmosisMsgSwap.prototype.getTokenOutMinAmount = function() {
5857
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
5761
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
5858
5762
  };
5859
5763
 
5860
5764
 
5861
5765
  /**
5862
- * @param {number} value
5766
+ * @param {string} value
5863
5767
  * @return {!proto.OsmosisMsgSwap} returns this
5864
5768
  */
5865
5769
  proto.OsmosisMsgSwap.prototype.setTokenOutMinAmount = function(value) {
package/lib/proto.json CHANGED
@@ -4896,11 +4896,8 @@
4896
4896
  "id": 3
4897
4897
  },
4898
4898
  "amount": {
4899
- "type": "uint64",
4900
- "id": 4,
4901
- "options": {
4902
- "jstype": "JS_STRING"
4903
- }
4899
+ "type": "string",
4900
+ "id": 4
4904
4901
  },
4905
4902
  "address_type": {
4906
4903
  "type": "OutputAddressType",
@@ -4923,11 +4920,8 @@
4923
4920
  "id": 3
4924
4921
  },
4925
4922
  "amount": {
4926
- "type": "uint64",
4927
- "id": 4,
4928
- "options": {
4929
- "jstype": "JS_STRING"
4930
- }
4923
+ "type": "string",
4924
+ "id": 4
4931
4925
  }
4932
4926
  }
4933
4927
  },
@@ -4946,11 +4940,8 @@
4946
4940
  "id": 3
4947
4941
  },
4948
4942
  "amount": {
4949
- "type": "uint64",
4950
- "id": 4,
4951
- "options": {
4952
- "jstype": "JS_STRING"
4953
- }
4943
+ "type": "string",
4944
+ "id": 4
4954
4945
  }
4955
4946
  }
4956
4947
  },
@@ -4973,11 +4964,8 @@
4973
4964
  "id": 4
4974
4965
  },
4975
4966
  "amount": {
4976
- "type": "uint64",
4977
- "id": 5,
4978
- "options": {
4979
- "jstype": "JS_STRING"
4980
- }
4967
+ "type": "string",
4968
+ "id": 5
4981
4969
  }
4982
4970
  }
4983
4971
  },
@@ -4990,17 +4978,6 @@
4990
4978
  "validator_address": {
4991
4979
  "type": "string",
4992
4980
  "id": 2
4993
- },
4994
- "denom": {
4995
- "type": "string",
4996
- "id": 3
4997
- },
4998
- "amount": {
4999
- "type": "uint64",
5000
- "id": 4,
5001
- "options": {
5002
- "jstype": "JS_STRING"
5003
- }
5004
4981
  }
5005
4982
  }
5006
4983
  },
@@ -5015,7 +4992,7 @@
5015
4992
  "id": 2
5016
4993
  },
5017
4994
  "share_out_amount": {
5018
- "type": "uint64",
4995
+ "type": "string",
5019
4996
  "id": 3
5020
4997
  },
5021
4998
  "denom_in_max_a": {
@@ -5023,22 +5000,16 @@
5023
5000
  "id": 4
5024
5001
  },
5025
5002
  "amount_in_max_a": {
5026
- "type": "uint64",
5027
- "id": 5,
5028
- "options": {
5029
- "jstype": "JS_STRING"
5030
- }
5003
+ "type": "string",
5004
+ "id": 5
5031
5005
  },
5032
5006
  "denom_in_max_b": {
5033
5007
  "type": "string",
5034
5008
  "id": 6
5035
5009
  },
5036
5010
  "amount_in_max_b": {
5037
- "type": "uint64",
5038
- "id": 7,
5039
- "options": {
5040
- "jstype": "JS_STRING"
5041
- }
5011
+ "type": "string",
5012
+ "id": 7
5042
5013
  }
5043
5014
  }
5044
5015
  },
@@ -5053,7 +5024,7 @@
5053
5024
  "id": 2
5054
5025
  },
5055
5026
  "share_out_amount": {
5056
- "type": "uint64",
5027
+ "type": "string",
5057
5028
  "id": 3
5058
5029
  },
5059
5030
  "denom_out_min_a": {
@@ -5061,22 +5032,16 @@
5061
5032
  "id": 4
5062
5033
  },
5063
5034
  "amount_out_min_a": {
5064
- "type": "uint64",
5065
- "id": 5,
5066
- "options": {
5067
- "jstype": "JS_STRING"
5068
- }
5035
+ "type": "string",
5036
+ "id": 5
5069
5037
  },
5070
5038
  "denom_out_min_b": {
5071
5039
  "type": "string",
5072
5040
  "id": 6
5073
5041
  },
5074
5042
  "amount_out_min_b": {
5075
- "type": "uint64",
5076
- "id": 7,
5077
- "options": {
5078
- "jstype": "JS_STRING"
5079
- }
5043
+ "type": "string",
5044
+ "id": 7
5080
5045
  }
5081
5046
  }
5082
5047
  },
@@ -5095,11 +5060,8 @@
5095
5060
  "id": 4
5096
5061
  },
5097
5062
  "amount": {
5098
- "type": "uint64",
5099
- "id": 5,
5100
- "options": {
5101
- "jstype": "JS_STRING"
5102
- }
5063
+ "type": "string",
5064
+ "id": 5
5103
5065
  }
5104
5066
  }
5105
5067
  },
@@ -5130,11 +5092,8 @@
5130
5092
  "id": 3
5131
5093
  },
5132
5094
  "amount": {
5133
- "type": "uint64",
5134
- "id": 4,
5135
- "options": {
5136
- "jstype": "JS_STRING"
5137
- }
5095
+ "type": "string",
5096
+ "id": 4
5138
5097
  },
5139
5098
  "sender": {
5140
5099
  "type": "string",
@@ -5173,14 +5132,11 @@
5173
5132
  "id": 4
5174
5133
  },
5175
5134
  "token_in_amount": {
5176
- "type": "uint64",
5177
- "id": 5,
5178
- "options": {
5179
- "jstype": "JS_STRING"
5180
- }
5135
+ "type": "string",
5136
+ "id": 5
5181
5137
  },
5182
5138
  "token_out_min_amount": {
5183
- "type": "uint64",
5139
+ "type": "string",
5184
5140
  "id": 6
5185
5141
  }
5186
5142
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keepkey/device-protocol",
3
- "version": "7.11.2",
3
+ "version": "7.12.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },