@keepkey/device-protocol 7.11.2 → 7.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/messages-osmosis_pb.d.ts +49 -61
- package/lib/messages-osmosis_pb.js +393 -489
- package/lib/proto.json +52 -84
- package/package.json +1 -1
@@ -233,16 +233,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
233
233
|
* @extends {jspb.Message}
|
234
234
|
* @constructor
|
235
235
|
*/
|
236
|
-
proto.
|
236
|
+
proto.OsmosisMsgLPAdd = function(opt_data) {
|
237
237
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
238
238
|
};
|
239
|
-
goog.inherits(proto.
|
239
|
+
goog.inherits(proto.OsmosisMsgLPAdd, jspb.Message);
|
240
240
|
if (goog.DEBUG && !COMPILED) {
|
241
241
|
/**
|
242
242
|
* @public
|
243
243
|
* @override
|
244
244
|
*/
|
245
|
-
proto.
|
245
|
+
proto.OsmosisMsgLPAdd.displayName = 'proto.OsmosisMsgLPAdd';
|
246
246
|
}
|
247
247
|
/**
|
248
248
|
* Generated by JsPbCodeGenerator.
|
@@ -254,16 +254,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
254
254
|
* @extends {jspb.Message}
|
255
255
|
* @constructor
|
256
256
|
*/
|
257
|
-
proto.
|
257
|
+
proto.OsmosisMsgLPRemove = function(opt_data) {
|
258
258
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
259
259
|
};
|
260
|
-
goog.inherits(proto.
|
260
|
+
goog.inherits(proto.OsmosisMsgLPRemove, jspb.Message);
|
261
261
|
if (goog.DEBUG && !COMPILED) {
|
262
262
|
/**
|
263
263
|
* @public
|
264
264
|
* @override
|
265
265
|
*/
|
266
|
-
proto.
|
266
|
+
proto.OsmosisMsgLPRemove.displayName = 'proto.OsmosisMsgLPRemove';
|
267
267
|
}
|
268
268
|
/**
|
269
269
|
* Generated by JsPbCodeGenerator.
|
@@ -275,16 +275,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
275
275
|
* @extends {jspb.Message}
|
276
276
|
* @constructor
|
277
277
|
*/
|
278
|
-
proto.
|
278
|
+
proto.OsmosisMsgLPStake = function(opt_data) {
|
279
279
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
280
280
|
};
|
281
|
-
goog.inherits(proto.
|
281
|
+
goog.inherits(proto.OsmosisMsgLPStake, jspb.Message);
|
282
282
|
if (goog.DEBUG && !COMPILED) {
|
283
283
|
/**
|
284
284
|
* @public
|
285
285
|
* @override
|
286
286
|
*/
|
287
|
-
proto.
|
287
|
+
proto.OsmosisMsgLPStake.displayName = 'proto.OsmosisMsgLPStake';
|
288
288
|
}
|
289
289
|
/**
|
290
290
|
* Generated by JsPbCodeGenerator.
|
@@ -296,16 +296,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
296
296
|
* @extends {jspb.Message}
|
297
297
|
* @constructor
|
298
298
|
*/
|
299
|
-
proto.
|
299
|
+
proto.OsmosisMsgLPUnstake = function(opt_data) {
|
300
300
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
301
301
|
};
|
302
|
-
goog.inherits(proto.
|
302
|
+
goog.inherits(proto.OsmosisMsgLPUnstake, jspb.Message);
|
303
303
|
if (goog.DEBUG && !COMPILED) {
|
304
304
|
/**
|
305
305
|
* @public
|
306
306
|
* @override
|
307
307
|
*/
|
308
|
-
proto.
|
308
|
+
proto.OsmosisMsgLPUnstake.displayName = 'proto.OsmosisMsgLPUnstake';
|
309
309
|
}
|
310
310
|
/**
|
311
311
|
* Generated by JsPbCodeGenerator.
|
@@ -317,16 +317,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
317
317
|
* @extends {jspb.Message}
|
318
318
|
* @constructor
|
319
319
|
*/
|
320
|
-
proto.
|
320
|
+
proto.OsmosisMsgRewards = function(opt_data) {
|
321
321
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
322
322
|
};
|
323
|
-
goog.inherits(proto.
|
323
|
+
goog.inherits(proto.OsmosisMsgRewards, jspb.Message);
|
324
324
|
if (goog.DEBUG && !COMPILED) {
|
325
325
|
/**
|
326
326
|
* @public
|
327
327
|
* @override
|
328
328
|
*/
|
329
|
-
proto.
|
329
|
+
proto.OsmosisMsgRewards.displayName = 'proto.OsmosisMsgRewards';
|
330
330
|
}
|
331
331
|
/**
|
332
332
|
* Generated by JsPbCodeGenerator.
|
@@ -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.
|
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.
|
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
|
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, "
|
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.
|
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.
|
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
|
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, "
|
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.
|
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.
|
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
|
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, "
|
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.
|
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.
|
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
|
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, "
|
3333
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
3334
3334
|
};
|
3335
3335
|
|
3336
3336
|
|
@@ -3377,8 +3377,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3377
3377
|
* http://goto/soy-param-migration
|
3378
3378
|
* @return {!Object}
|
3379
3379
|
*/
|
3380
|
-
proto.
|
3381
|
-
return proto.
|
3380
|
+
proto.OsmosisMsgLPAdd.prototype.toObject = function(opt_includeInstance) {
|
3381
|
+
return proto.OsmosisMsgLPAdd.toObject(opt_includeInstance, this);
|
3382
3382
|
};
|
3383
3383
|
|
3384
3384
|
|
@@ -3387,16 +3387,19 @@ proto.OsmosisMsgRewards.prototype.toObject = function(opt_includeInstance) {
|
|
3387
3387
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3388
3388
|
* the JSPB instance for transitional soy proto support:
|
3389
3389
|
* http://goto/soy-param-migration
|
3390
|
-
* @param {!proto.
|
3390
|
+
* @param {!proto.OsmosisMsgLPAdd} msg The msg instance to transform.
|
3391
3391
|
* @return {!Object}
|
3392
3392
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3393
3393
|
*/
|
3394
|
-
proto.
|
3394
|
+
proto.OsmosisMsgLPAdd.toObject = function(includeInstance, msg) {
|
3395
3395
|
var f, obj = {
|
3396
|
-
|
3397
|
-
|
3398
|
-
|
3399
|
-
|
3396
|
+
sender: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
3397
|
+
poolId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
3398
|
+
shareOutAmount: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
3399
|
+
denomInMaxA: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
|
3400
|
+
amountInMaxA: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
|
3401
|
+
denomInMaxB: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
|
3402
|
+
amountInMaxB: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f
|
3400
3403
|
};
|
3401
3404
|
|
3402
3405
|
if (includeInstance) {
|
@@ -3410,23 +3413,23 @@ proto.OsmosisMsgRewards.toObject = function(includeInstance, msg) {
|
|
3410
3413
|
/**
|
3411
3414
|
* Deserializes binary data (in protobuf wire format).
|
3412
3415
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3413
|
-
* @return {!proto.
|
3416
|
+
* @return {!proto.OsmosisMsgLPAdd}
|
3414
3417
|
*/
|
3415
|
-
proto.
|
3418
|
+
proto.OsmosisMsgLPAdd.deserializeBinary = function(bytes) {
|
3416
3419
|
var reader = new jspb.BinaryReader(bytes);
|
3417
|
-
var msg = new proto.
|
3418
|
-
return proto.
|
3420
|
+
var msg = new proto.OsmosisMsgLPAdd;
|
3421
|
+
return proto.OsmosisMsgLPAdd.deserializeBinaryFromReader(msg, reader);
|
3419
3422
|
};
|
3420
3423
|
|
3421
3424
|
|
3422
3425
|
/**
|
3423
3426
|
* Deserializes binary data (in protobuf wire format) from the
|
3424
3427
|
* given reader into the given message object.
|
3425
|
-
* @param {!proto.
|
3428
|
+
* @param {!proto.OsmosisMsgLPAdd} msg The message object to deserialize into.
|
3426
3429
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3427
|
-
* @return {!proto.
|
3430
|
+
* @return {!proto.OsmosisMsgLPAdd}
|
3428
3431
|
*/
|
3429
|
-
proto.
|
3432
|
+
proto.OsmosisMsgLPAdd.deserializeBinaryFromReader = function(msg, reader) {
|
3430
3433
|
while (reader.nextField()) {
|
3431
3434
|
if (reader.isEndGroup()) {
|
3432
3435
|
break;
|
@@ -3435,19 +3438,31 @@ proto.OsmosisMsgRewards.deserializeBinaryFromReader = function(msg, reader) {
|
|
3435
3438
|
switch (field) {
|
3436
3439
|
case 1:
|
3437
3440
|
var value = /** @type {string} */ (reader.readString());
|
3438
|
-
msg.
|
3441
|
+
msg.setSender(value);
|
3439
3442
|
break;
|
3440
3443
|
case 2:
|
3441
|
-
var value = /** @type {string} */ (reader.
|
3442
|
-
msg.
|
3444
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
3445
|
+
msg.setPoolId(value);
|
3443
3446
|
break;
|
3444
3447
|
case 3:
|
3445
3448
|
var value = /** @type {string} */ (reader.readString());
|
3446
|
-
msg.
|
3449
|
+
msg.setShareOutAmount(value);
|
3447
3450
|
break;
|
3448
3451
|
case 4:
|
3449
|
-
var value = /** @type {string} */ (reader.
|
3450
|
-
msg.
|
3452
|
+
var value = /** @type {string} */ (reader.readString());
|
3453
|
+
msg.setDenomInMaxA(value);
|
3454
|
+
break;
|
3455
|
+
case 5:
|
3456
|
+
var value = /** @type {string} */ (reader.readString());
|
3457
|
+
msg.setAmountInMaxA(value);
|
3458
|
+
break;
|
3459
|
+
case 6:
|
3460
|
+
var value = /** @type {string} */ (reader.readString());
|
3461
|
+
msg.setDenomInMaxB(value);
|
3462
|
+
break;
|
3463
|
+
case 7:
|
3464
|
+
var value = /** @type {string} */ (reader.readString());
|
3465
|
+
msg.setAmountInMaxB(value);
|
3451
3466
|
break;
|
3452
3467
|
default:
|
3453
3468
|
reader.skipField();
|
@@ -3462,9 +3477,9 @@ proto.OsmosisMsgRewards.deserializeBinaryFromReader = function(msg, reader) {
|
|
3462
3477
|
* Serializes the message to binary data (in protobuf wire format).
|
3463
3478
|
* @return {!Uint8Array}
|
3464
3479
|
*/
|
3465
|
-
proto.
|
3480
|
+
proto.OsmosisMsgLPAdd.prototype.serializeBinary = function() {
|
3466
3481
|
var writer = new jspb.BinaryWriter();
|
3467
|
-
proto.
|
3482
|
+
proto.OsmosisMsgLPAdd.serializeBinaryToWriter(this, writer);
|
3468
3483
|
return writer.getResultBuffer();
|
3469
3484
|
};
|
3470
3485
|
|
@@ -3472,11 +3487,11 @@ proto.OsmosisMsgRewards.prototype.serializeBinary = function() {
|
|
3472
3487
|
/**
|
3473
3488
|
* Serializes the given message to binary data (in protobuf wire
|
3474
3489
|
* format), writing to the given BinaryWriter.
|
3475
|
-
* @param {!proto.
|
3490
|
+
* @param {!proto.OsmosisMsgLPAdd} message
|
3476
3491
|
* @param {!jspb.BinaryWriter} writer
|
3477
3492
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3478
3493
|
*/
|
3479
|
-
proto.
|
3494
|
+
proto.OsmosisMsgLPAdd.serializeBinaryToWriter = function(message, writer) {
|
3480
3495
|
var f = undefined;
|
3481
3496
|
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
3482
3497
|
if (f != null) {
|
@@ -3487,7 +3502,7 @@ proto.OsmosisMsgRewards.serializeBinaryToWriter = function(message, writer) {
|
|
3487
3502
|
}
|
3488
3503
|
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
3489
3504
|
if (f != null) {
|
3490
|
-
writer.
|
3505
|
+
writer.writeUint64String(
|
3491
3506
|
2,
|
3492
3507
|
f
|
3493
3508
|
);
|
@@ -3501,37 +3516,58 @@ proto.OsmosisMsgRewards.serializeBinaryToWriter = function(message, writer) {
|
|
3501
3516
|
}
|
3502
3517
|
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
3503
3518
|
if (f != null) {
|
3504
|
-
writer.
|
3519
|
+
writer.writeString(
|
3505
3520
|
4,
|
3506
3521
|
f
|
3507
3522
|
);
|
3508
3523
|
}
|
3524
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
3525
|
+
if (f != null) {
|
3526
|
+
writer.writeString(
|
3527
|
+
5,
|
3528
|
+
f
|
3529
|
+
);
|
3530
|
+
}
|
3531
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
3532
|
+
if (f != null) {
|
3533
|
+
writer.writeString(
|
3534
|
+
6,
|
3535
|
+
f
|
3536
|
+
);
|
3537
|
+
}
|
3538
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
3539
|
+
if (f != null) {
|
3540
|
+
writer.writeString(
|
3541
|
+
7,
|
3542
|
+
f
|
3543
|
+
);
|
3544
|
+
}
|
3509
3545
|
};
|
3510
3546
|
|
3511
3547
|
|
3512
3548
|
/**
|
3513
|
-
* optional string
|
3549
|
+
* optional string sender = 1;
|
3514
3550
|
* @return {string}
|
3515
3551
|
*/
|
3516
|
-
proto.
|
3552
|
+
proto.OsmosisMsgLPAdd.prototype.getSender = function() {
|
3517
3553
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3518
3554
|
};
|
3519
3555
|
|
3520
3556
|
|
3521
3557
|
/**
|
3522
3558
|
* @param {string} value
|
3523
|
-
* @return {!proto.
|
3559
|
+
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3524
3560
|
*/
|
3525
|
-
proto.
|
3561
|
+
proto.OsmosisMsgLPAdd.prototype.setSender = function(value) {
|
3526
3562
|
return jspb.Message.setField(this, 1, value);
|
3527
3563
|
};
|
3528
3564
|
|
3529
3565
|
|
3530
3566
|
/**
|
3531
3567
|
* Clears the field making it undefined.
|
3532
|
-
* @return {!proto.
|
3568
|
+
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3533
3569
|
*/
|
3534
|
-
proto.
|
3570
|
+
proto.OsmosisMsgLPAdd.prototype.clearSender = function() {
|
3535
3571
|
return jspb.Message.setField(this, 1, undefined);
|
3536
3572
|
};
|
3537
3573
|
|
@@ -3540,34 +3576,34 @@ proto.OsmosisMsgRewards.prototype.clearDelegatorAddress = function() {
|
|
3540
3576
|
* Returns whether this field is set.
|
3541
3577
|
* @return {boolean}
|
3542
3578
|
*/
|
3543
|
-
proto.
|
3579
|
+
proto.OsmosisMsgLPAdd.prototype.hasSender = function() {
|
3544
3580
|
return jspb.Message.getField(this, 1) != null;
|
3545
3581
|
};
|
3546
3582
|
|
3547
3583
|
|
3548
3584
|
/**
|
3549
|
-
* optional
|
3585
|
+
* optional uint64 pool_id = 2;
|
3550
3586
|
* @return {string}
|
3551
3587
|
*/
|
3552
|
-
proto.
|
3553
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3588
|
+
proto.OsmosisMsgLPAdd.prototype.getPoolId = function() {
|
3589
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
3554
3590
|
};
|
3555
3591
|
|
3556
3592
|
|
3557
3593
|
/**
|
3558
3594
|
* @param {string} value
|
3559
|
-
* @return {!proto.
|
3595
|
+
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3560
3596
|
*/
|
3561
|
-
proto.
|
3597
|
+
proto.OsmosisMsgLPAdd.prototype.setPoolId = function(value) {
|
3562
3598
|
return jspb.Message.setField(this, 2, value);
|
3563
3599
|
};
|
3564
3600
|
|
3565
3601
|
|
3566
3602
|
/**
|
3567
3603
|
* Clears the field making it undefined.
|
3568
|
-
* @return {!proto.
|
3604
|
+
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3569
3605
|
*/
|
3570
|
-
proto.
|
3606
|
+
proto.OsmosisMsgLPAdd.prototype.clearPoolId = function() {
|
3571
3607
|
return jspb.Message.setField(this, 2, undefined);
|
3572
3608
|
};
|
3573
3609
|
|
@@ -3576,34 +3612,34 @@ proto.OsmosisMsgRewards.prototype.clearValidatorAddress = function() {
|
|
3576
3612
|
* Returns whether this field is set.
|
3577
3613
|
* @return {boolean}
|
3578
3614
|
*/
|
3579
|
-
proto.
|
3615
|
+
proto.OsmosisMsgLPAdd.prototype.hasPoolId = function() {
|
3580
3616
|
return jspb.Message.getField(this, 2) != null;
|
3581
3617
|
};
|
3582
3618
|
|
3583
3619
|
|
3584
3620
|
/**
|
3585
|
-
* optional string
|
3621
|
+
* optional string share_out_amount = 3;
|
3586
3622
|
* @return {string}
|
3587
3623
|
*/
|
3588
|
-
proto.
|
3624
|
+
proto.OsmosisMsgLPAdd.prototype.getShareOutAmount = function() {
|
3589
3625
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
3590
3626
|
};
|
3591
3627
|
|
3592
3628
|
|
3593
3629
|
/**
|
3594
3630
|
* @param {string} value
|
3595
|
-
* @return {!proto.
|
3631
|
+
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3596
3632
|
*/
|
3597
|
-
proto.
|
3633
|
+
proto.OsmosisMsgLPAdd.prototype.setShareOutAmount = function(value) {
|
3598
3634
|
return jspb.Message.setField(this, 3, value);
|
3599
3635
|
};
|
3600
3636
|
|
3601
3637
|
|
3602
3638
|
/**
|
3603
3639
|
* Clears the field making it undefined.
|
3604
|
-
* @return {!proto.
|
3640
|
+
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3605
3641
|
*/
|
3606
|
-
proto.
|
3642
|
+
proto.OsmosisMsgLPAdd.prototype.clearShareOutAmount = function() {
|
3607
3643
|
return jspb.Message.setField(this, 3, undefined);
|
3608
3644
|
};
|
3609
3645
|
|
@@ -3612,34 +3648,34 @@ proto.OsmosisMsgRewards.prototype.clearDenom = function() {
|
|
3612
3648
|
* Returns whether this field is set.
|
3613
3649
|
* @return {boolean}
|
3614
3650
|
*/
|
3615
|
-
proto.
|
3651
|
+
proto.OsmosisMsgLPAdd.prototype.hasShareOutAmount = function() {
|
3616
3652
|
return jspb.Message.getField(this, 3) != null;
|
3617
3653
|
};
|
3618
3654
|
|
3619
3655
|
|
3620
3656
|
/**
|
3621
|
-
* optional
|
3657
|
+
* optional string denom_in_max_a = 4;
|
3622
3658
|
* @return {string}
|
3623
3659
|
*/
|
3624
|
-
proto.
|
3625
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "
|
3660
|
+
proto.OsmosisMsgLPAdd.prototype.getDenomInMaxA = function() {
|
3661
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
3626
3662
|
};
|
3627
3663
|
|
3628
3664
|
|
3629
3665
|
/**
|
3630
3666
|
* @param {string} value
|
3631
|
-
* @return {!proto.
|
3667
|
+
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3632
3668
|
*/
|
3633
|
-
proto.
|
3669
|
+
proto.OsmosisMsgLPAdd.prototype.setDenomInMaxA = function(value) {
|
3634
3670
|
return jspb.Message.setField(this, 4, value);
|
3635
3671
|
};
|
3636
3672
|
|
3637
3673
|
|
3638
3674
|
/**
|
3639
3675
|
* Clears the field making it undefined.
|
3640
|
-
* @return {!proto.
|
3676
|
+
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3641
3677
|
*/
|
3642
|
-
proto.
|
3678
|
+
proto.OsmosisMsgLPAdd.prototype.clearDenomInMaxA = function() {
|
3643
3679
|
return jspb.Message.setField(this, 4, undefined);
|
3644
3680
|
};
|
3645
3681
|
|
@@ -3648,372 +3684,44 @@ proto.OsmosisMsgRewards.prototype.clearAmount = function() {
|
|
3648
3684
|
* Returns whether this field is set.
|
3649
3685
|
* @return {boolean}
|
3650
3686
|
*/
|
3651
|
-
proto.
|
3687
|
+
proto.OsmosisMsgLPAdd.prototype.hasDenomInMaxA = function() {
|
3652
3688
|
return jspb.Message.getField(this, 4) != null;
|
3653
3689
|
};
|
3654
3690
|
|
3655
3691
|
|
3692
|
+
/**
|
3693
|
+
* optional string amount_in_max_a = 5;
|
3694
|
+
* @return {string}
|
3695
|
+
*/
|
3696
|
+
proto.OsmosisMsgLPAdd.prototype.getAmountInMaxA = function() {
|
3697
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
3698
|
+
};
|
3656
3699
|
|
3657
3700
|
|
3658
|
-
|
3659
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3660
3701
|
/**
|
3661
|
-
*
|
3662
|
-
*
|
3663
|
-
* Optional fields that are not set will be set to undefined.
|
3664
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3665
|
-
* For the list of reserved names please see:
|
3666
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3667
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3668
|
-
* JSPB instance for transitional soy proto support:
|
3669
|
-
* http://goto/soy-param-migration
|
3670
|
-
* @return {!Object}
|
3702
|
+
* @param {string} value
|
3703
|
+
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3671
3704
|
*/
|
3672
|
-
proto.OsmosisMsgLPAdd.prototype.
|
3673
|
-
return
|
3705
|
+
proto.OsmosisMsgLPAdd.prototype.setAmountInMaxA = function(value) {
|
3706
|
+
return jspb.Message.setField(this, 5, value);
|
3674
3707
|
};
|
3675
3708
|
|
3676
3709
|
|
3677
3710
|
/**
|
3678
|
-
*
|
3679
|
-
* @
|
3680
|
-
* the JSPB instance for transitional soy proto support:
|
3681
|
-
* http://goto/soy-param-migration
|
3682
|
-
* @param {!proto.OsmosisMsgLPAdd} msg The msg instance to transform.
|
3683
|
-
* @return {!Object}
|
3684
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3711
|
+
* Clears the field making it undefined.
|
3712
|
+
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3685
3713
|
*/
|
3686
|
-
proto.OsmosisMsgLPAdd.
|
3687
|
-
|
3688
|
-
sender: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
3689
|
-
poolId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
3690
|
-
shareOutAmount: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
3691
|
-
denomInMaxA: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
|
3692
|
-
amountInMaxA: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
|
3693
|
-
denomInMaxB: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
|
3694
|
-
amountInMaxB: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f
|
3695
|
-
};
|
3696
|
-
|
3697
|
-
if (includeInstance) {
|
3698
|
-
obj.$jspbMessageInstance = msg;
|
3699
|
-
}
|
3700
|
-
return obj;
|
3714
|
+
proto.OsmosisMsgLPAdd.prototype.clearAmountInMaxA = function() {
|
3715
|
+
return jspb.Message.setField(this, 5, undefined);
|
3701
3716
|
};
|
3702
|
-
}
|
3703
3717
|
|
3704
3718
|
|
3705
3719
|
/**
|
3706
|
-
*
|
3707
|
-
* @
|
3708
|
-
* @return {!proto.OsmosisMsgLPAdd}
|
3720
|
+
* Returns whether this field is set.
|
3721
|
+
* @return {boolean}
|
3709
3722
|
*/
|
3710
|
-
proto.OsmosisMsgLPAdd.
|
3711
|
-
|
3712
|
-
var msg = new proto.OsmosisMsgLPAdd;
|
3713
|
-
return proto.OsmosisMsgLPAdd.deserializeBinaryFromReader(msg, reader);
|
3714
|
-
};
|
3715
|
-
|
3716
|
-
|
3717
|
-
/**
|
3718
|
-
* Deserializes binary data (in protobuf wire format) from the
|
3719
|
-
* given reader into the given message object.
|
3720
|
-
* @param {!proto.OsmosisMsgLPAdd} msg The message object to deserialize into.
|
3721
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3722
|
-
* @return {!proto.OsmosisMsgLPAdd}
|
3723
|
-
*/
|
3724
|
-
proto.OsmosisMsgLPAdd.deserializeBinaryFromReader = function(msg, reader) {
|
3725
|
-
while (reader.nextField()) {
|
3726
|
-
if (reader.isEndGroup()) {
|
3727
|
-
break;
|
3728
|
-
}
|
3729
|
-
var field = reader.getFieldNumber();
|
3730
|
-
switch (field) {
|
3731
|
-
case 1:
|
3732
|
-
var value = /** @type {string} */ (reader.readString());
|
3733
|
-
msg.setSender(value);
|
3734
|
-
break;
|
3735
|
-
case 2:
|
3736
|
-
var value = /** @type {number} */ (reader.readUint64());
|
3737
|
-
msg.setPoolId(value);
|
3738
|
-
break;
|
3739
|
-
case 3:
|
3740
|
-
var value = /** @type {number} */ (reader.readUint64());
|
3741
|
-
msg.setShareOutAmount(value);
|
3742
|
-
break;
|
3743
|
-
case 4:
|
3744
|
-
var value = /** @type {string} */ (reader.readString());
|
3745
|
-
msg.setDenomInMaxA(value);
|
3746
|
-
break;
|
3747
|
-
case 5:
|
3748
|
-
var value = /** @type {string} */ (reader.readUint64String());
|
3749
|
-
msg.setAmountInMaxA(value);
|
3750
|
-
break;
|
3751
|
-
case 6:
|
3752
|
-
var value = /** @type {string} */ (reader.readString());
|
3753
|
-
msg.setDenomInMaxB(value);
|
3754
|
-
break;
|
3755
|
-
case 7:
|
3756
|
-
var value = /** @type {string} */ (reader.readUint64String());
|
3757
|
-
msg.setAmountInMaxB(value);
|
3758
|
-
break;
|
3759
|
-
default:
|
3760
|
-
reader.skipField();
|
3761
|
-
break;
|
3762
|
-
}
|
3763
|
-
}
|
3764
|
-
return msg;
|
3765
|
-
};
|
3766
|
-
|
3767
|
-
|
3768
|
-
/**
|
3769
|
-
* Serializes the message to binary data (in protobuf wire format).
|
3770
|
-
* @return {!Uint8Array}
|
3771
|
-
*/
|
3772
|
-
proto.OsmosisMsgLPAdd.prototype.serializeBinary = function() {
|
3773
|
-
var writer = new jspb.BinaryWriter();
|
3774
|
-
proto.OsmosisMsgLPAdd.serializeBinaryToWriter(this, writer);
|
3775
|
-
return writer.getResultBuffer();
|
3776
|
-
};
|
3777
|
-
|
3778
|
-
|
3779
|
-
/**
|
3780
|
-
* Serializes the given message to binary data (in protobuf wire
|
3781
|
-
* format), writing to the given BinaryWriter.
|
3782
|
-
* @param {!proto.OsmosisMsgLPAdd} message
|
3783
|
-
* @param {!jspb.BinaryWriter} writer
|
3784
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3785
|
-
*/
|
3786
|
-
proto.OsmosisMsgLPAdd.serializeBinaryToWriter = function(message, writer) {
|
3787
|
-
var f = undefined;
|
3788
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
3789
|
-
if (f != null) {
|
3790
|
-
writer.writeString(
|
3791
|
-
1,
|
3792
|
-
f
|
3793
|
-
);
|
3794
|
-
}
|
3795
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
3796
|
-
if (f != null) {
|
3797
|
-
writer.writeUint64(
|
3798
|
-
2,
|
3799
|
-
f
|
3800
|
-
);
|
3801
|
-
}
|
3802
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
3803
|
-
if (f != null) {
|
3804
|
-
writer.writeUint64(
|
3805
|
-
3,
|
3806
|
-
f
|
3807
|
-
);
|
3808
|
-
}
|
3809
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
3810
|
-
if (f != null) {
|
3811
|
-
writer.writeString(
|
3812
|
-
4,
|
3813
|
-
f
|
3814
|
-
);
|
3815
|
-
}
|
3816
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
3817
|
-
if (f != null) {
|
3818
|
-
writer.writeUint64String(
|
3819
|
-
5,
|
3820
|
-
f
|
3821
|
-
);
|
3822
|
-
}
|
3823
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
3824
|
-
if (f != null) {
|
3825
|
-
writer.writeString(
|
3826
|
-
6,
|
3827
|
-
f
|
3828
|
-
);
|
3829
|
-
}
|
3830
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
3831
|
-
if (f != null) {
|
3832
|
-
writer.writeUint64String(
|
3833
|
-
7,
|
3834
|
-
f
|
3835
|
-
);
|
3836
|
-
}
|
3837
|
-
};
|
3838
|
-
|
3839
|
-
|
3840
|
-
/**
|
3841
|
-
* optional string sender = 1;
|
3842
|
-
* @return {string}
|
3843
|
-
*/
|
3844
|
-
proto.OsmosisMsgLPAdd.prototype.getSender = function() {
|
3845
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3846
|
-
};
|
3847
|
-
|
3848
|
-
|
3849
|
-
/**
|
3850
|
-
* @param {string} value
|
3851
|
-
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3852
|
-
*/
|
3853
|
-
proto.OsmosisMsgLPAdd.prototype.setSender = function(value) {
|
3854
|
-
return jspb.Message.setField(this, 1, value);
|
3855
|
-
};
|
3856
|
-
|
3857
|
-
|
3858
|
-
/**
|
3859
|
-
* Clears the field making it undefined.
|
3860
|
-
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3861
|
-
*/
|
3862
|
-
proto.OsmosisMsgLPAdd.prototype.clearSender = function() {
|
3863
|
-
return jspb.Message.setField(this, 1, undefined);
|
3864
|
-
};
|
3865
|
-
|
3866
|
-
|
3867
|
-
/**
|
3868
|
-
* Returns whether this field is set.
|
3869
|
-
* @return {boolean}
|
3870
|
-
*/
|
3871
|
-
proto.OsmosisMsgLPAdd.prototype.hasSender = function() {
|
3872
|
-
return jspb.Message.getField(this, 1) != null;
|
3873
|
-
};
|
3874
|
-
|
3875
|
-
|
3876
|
-
/**
|
3877
|
-
* optional uint64 pool_id = 2;
|
3878
|
-
* @return {number}
|
3879
|
-
*/
|
3880
|
-
proto.OsmosisMsgLPAdd.prototype.getPoolId = function() {
|
3881
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
3882
|
-
};
|
3883
|
-
|
3884
|
-
|
3885
|
-
/**
|
3886
|
-
* @param {number} value
|
3887
|
-
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3888
|
-
*/
|
3889
|
-
proto.OsmosisMsgLPAdd.prototype.setPoolId = function(value) {
|
3890
|
-
return jspb.Message.setField(this, 2, value);
|
3891
|
-
};
|
3892
|
-
|
3893
|
-
|
3894
|
-
/**
|
3895
|
-
* Clears the field making it undefined.
|
3896
|
-
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3897
|
-
*/
|
3898
|
-
proto.OsmosisMsgLPAdd.prototype.clearPoolId = function() {
|
3899
|
-
return jspb.Message.setField(this, 2, undefined);
|
3900
|
-
};
|
3901
|
-
|
3902
|
-
|
3903
|
-
/**
|
3904
|
-
* Returns whether this field is set.
|
3905
|
-
* @return {boolean}
|
3906
|
-
*/
|
3907
|
-
proto.OsmosisMsgLPAdd.prototype.hasPoolId = function() {
|
3908
|
-
return jspb.Message.getField(this, 2) != null;
|
3909
|
-
};
|
3910
|
-
|
3911
|
-
|
3912
|
-
/**
|
3913
|
-
* optional uint64 share_out_amount = 3;
|
3914
|
-
* @return {number}
|
3915
|
-
*/
|
3916
|
-
proto.OsmosisMsgLPAdd.prototype.getShareOutAmount = function() {
|
3917
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
3918
|
-
};
|
3919
|
-
|
3920
|
-
|
3921
|
-
/**
|
3922
|
-
* @param {number} value
|
3923
|
-
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3924
|
-
*/
|
3925
|
-
proto.OsmosisMsgLPAdd.prototype.setShareOutAmount = function(value) {
|
3926
|
-
return jspb.Message.setField(this, 3, value);
|
3927
|
-
};
|
3928
|
-
|
3929
|
-
|
3930
|
-
/**
|
3931
|
-
* Clears the field making it undefined.
|
3932
|
-
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3933
|
-
*/
|
3934
|
-
proto.OsmosisMsgLPAdd.prototype.clearShareOutAmount = function() {
|
3935
|
-
return jspb.Message.setField(this, 3, undefined);
|
3936
|
-
};
|
3937
|
-
|
3938
|
-
|
3939
|
-
/**
|
3940
|
-
* Returns whether this field is set.
|
3941
|
-
* @return {boolean}
|
3942
|
-
*/
|
3943
|
-
proto.OsmosisMsgLPAdd.prototype.hasShareOutAmount = function() {
|
3944
|
-
return jspb.Message.getField(this, 3) != null;
|
3945
|
-
};
|
3946
|
-
|
3947
|
-
|
3948
|
-
/**
|
3949
|
-
* optional string denom_in_max_a = 4;
|
3950
|
-
* @return {string}
|
3951
|
-
*/
|
3952
|
-
proto.OsmosisMsgLPAdd.prototype.getDenomInMaxA = function() {
|
3953
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
3954
|
-
};
|
3955
|
-
|
3956
|
-
|
3957
|
-
/**
|
3958
|
-
* @param {string} value
|
3959
|
-
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3960
|
-
*/
|
3961
|
-
proto.OsmosisMsgLPAdd.prototype.setDenomInMaxA = function(value) {
|
3962
|
-
return jspb.Message.setField(this, 4, value);
|
3963
|
-
};
|
3964
|
-
|
3965
|
-
|
3966
|
-
/**
|
3967
|
-
* Clears the field making it undefined.
|
3968
|
-
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3969
|
-
*/
|
3970
|
-
proto.OsmosisMsgLPAdd.prototype.clearDenomInMaxA = function() {
|
3971
|
-
return jspb.Message.setField(this, 4, undefined);
|
3972
|
-
};
|
3973
|
-
|
3974
|
-
|
3975
|
-
/**
|
3976
|
-
* Returns whether this field is set.
|
3977
|
-
* @return {boolean}
|
3978
|
-
*/
|
3979
|
-
proto.OsmosisMsgLPAdd.prototype.hasDenomInMaxA = function() {
|
3980
|
-
return jspb.Message.getField(this, 4) != null;
|
3981
|
-
};
|
3982
|
-
|
3983
|
-
|
3984
|
-
/**
|
3985
|
-
* optional uint64 amount_in_max_a = 5;
|
3986
|
-
* @return {string}
|
3987
|
-
*/
|
3988
|
-
proto.OsmosisMsgLPAdd.prototype.getAmountInMaxA = function() {
|
3989
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "0"));
|
3990
|
-
};
|
3991
|
-
|
3992
|
-
|
3993
|
-
/**
|
3994
|
-
* @param {string} value
|
3995
|
-
* @return {!proto.OsmosisMsgLPAdd} returns this
|
3996
|
-
*/
|
3997
|
-
proto.OsmosisMsgLPAdd.prototype.setAmountInMaxA = function(value) {
|
3998
|
-
return jspb.Message.setField(this, 5, value);
|
3999
|
-
};
|
4000
|
-
|
4001
|
-
|
4002
|
-
/**
|
4003
|
-
* Clears the field making it undefined.
|
4004
|
-
* @return {!proto.OsmosisMsgLPAdd} returns this
|
4005
|
-
*/
|
4006
|
-
proto.OsmosisMsgLPAdd.prototype.clearAmountInMaxA = function() {
|
4007
|
-
return jspb.Message.setField(this, 5, undefined);
|
4008
|
-
};
|
4009
|
-
|
4010
|
-
|
4011
|
-
/**
|
4012
|
-
* Returns whether this field is set.
|
4013
|
-
* @return {boolean}
|
4014
|
-
*/
|
4015
|
-
proto.OsmosisMsgLPAdd.prototype.hasAmountInMaxA = function() {
|
4016
|
-
return jspb.Message.getField(this, 5) != null;
|
3723
|
+
proto.OsmosisMsgLPAdd.prototype.hasAmountInMaxA = function() {
|
3724
|
+
return jspb.Message.getField(this, 5) != null;
|
4017
3725
|
};
|
4018
3726
|
|
4019
3727
|
|
@@ -4054,11 +3762,11 @@ proto.OsmosisMsgLPAdd.prototype.hasDenomInMaxB = function() {
|
|
4054
3762
|
|
4055
3763
|
|
4056
3764
|
/**
|
4057
|
-
* optional
|
3765
|
+
* optional string amount_in_max_b = 7;
|
4058
3766
|
* @return {string}
|
4059
3767
|
*/
|
4060
3768
|
proto.OsmosisMsgLPAdd.prototype.getAmountInMaxB = function() {
|
4061
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "
|
3769
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
4062
3770
|
};
|
4063
3771
|
|
4064
3772
|
|
@@ -4169,11 +3877,11 @@ proto.OsmosisMsgLPRemove.deserializeBinaryFromReader = function(msg, reader) {
|
|
4169
3877
|
msg.setSender(value);
|
4170
3878
|
break;
|
4171
3879
|
case 2:
|
4172
|
-
var value = /** @type {
|
3880
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
4173
3881
|
msg.setPoolId(value);
|
4174
3882
|
break;
|
4175
3883
|
case 3:
|
4176
|
-
var value = /** @type {
|
3884
|
+
var value = /** @type {string} */ (reader.readString());
|
4177
3885
|
msg.setShareOutAmount(value);
|
4178
3886
|
break;
|
4179
3887
|
case 4:
|
@@ -4181,7 +3889,7 @@ proto.OsmosisMsgLPRemove.deserializeBinaryFromReader = function(msg, reader) {
|
|
4181
3889
|
msg.setDenomOutMinA(value);
|
4182
3890
|
break;
|
4183
3891
|
case 5:
|
4184
|
-
var value = /** @type {string} */ (reader.
|
3892
|
+
var value = /** @type {string} */ (reader.readString());
|
4185
3893
|
msg.setAmountOutMinA(value);
|
4186
3894
|
break;
|
4187
3895
|
case 6:
|
@@ -4189,7 +3897,7 @@ proto.OsmosisMsgLPRemove.deserializeBinaryFromReader = function(msg, reader) {
|
|
4189
3897
|
msg.setDenomOutMinB(value);
|
4190
3898
|
break;
|
4191
3899
|
case 7:
|
4192
|
-
var value = /** @type {string} */ (reader.
|
3900
|
+
var value = /** @type {string} */ (reader.readString());
|
4193
3901
|
msg.setAmountOutMinB(value);
|
4194
3902
|
break;
|
4195
3903
|
default:
|
@@ -4228,16 +3936,16 @@ proto.OsmosisMsgLPRemove.serializeBinaryToWriter = function(message, writer) {
|
|
4228
3936
|
f
|
4229
3937
|
);
|
4230
3938
|
}
|
4231
|
-
f = /** @type {
|
3939
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
4232
3940
|
if (f != null) {
|
4233
|
-
writer.
|
3941
|
+
writer.writeUint64String(
|
4234
3942
|
2,
|
4235
3943
|
f
|
4236
3944
|
);
|
4237
3945
|
}
|
4238
|
-
f = /** @type {
|
3946
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
4239
3947
|
if (f != null) {
|
4240
|
-
writer.
|
3948
|
+
writer.writeString(
|
4241
3949
|
3,
|
4242
3950
|
f
|
4243
3951
|
);
|
@@ -4251,7 +3959,7 @@ proto.OsmosisMsgLPRemove.serializeBinaryToWriter = function(message, writer) {
|
|
4251
3959
|
}
|
4252
3960
|
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
4253
3961
|
if (f != null) {
|
4254
|
-
writer.
|
3962
|
+
writer.writeString(
|
4255
3963
|
5,
|
4256
3964
|
f
|
4257
3965
|
);
|
@@ -4265,7 +3973,7 @@ proto.OsmosisMsgLPRemove.serializeBinaryToWriter = function(message, writer) {
|
|
4265
3973
|
}
|
4266
3974
|
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
4267
3975
|
if (f != null) {
|
4268
|
-
writer.
|
3976
|
+
writer.writeString(
|
4269
3977
|
7,
|
4270
3978
|
f
|
4271
3979
|
);
|
@@ -4311,15 +4019,15 @@ proto.OsmosisMsgLPRemove.prototype.hasSender = function() {
|
|
4311
4019
|
|
4312
4020
|
/**
|
4313
4021
|
* optional uint64 pool_id = 2;
|
4314
|
-
* @return {
|
4022
|
+
* @return {string}
|
4315
4023
|
*/
|
4316
4024
|
proto.OsmosisMsgLPRemove.prototype.getPoolId = function() {
|
4317
|
-
return /** @type {
|
4025
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
4318
4026
|
};
|
4319
4027
|
|
4320
4028
|
|
4321
4029
|
/**
|
4322
|
-
* @param {
|
4030
|
+
* @param {string} value
|
4323
4031
|
* @return {!proto.OsmosisMsgLPRemove} returns this
|
4324
4032
|
*/
|
4325
4033
|
proto.OsmosisMsgLPRemove.prototype.setPoolId = function(value) {
|
@@ -4346,16 +4054,16 @@ proto.OsmosisMsgLPRemove.prototype.hasPoolId = function() {
|
|
4346
4054
|
|
4347
4055
|
|
4348
4056
|
/**
|
4349
|
-
* optional
|
4350
|
-
* @return {
|
4057
|
+
* optional string share_out_amount = 3;
|
4058
|
+
* @return {string}
|
4351
4059
|
*/
|
4352
4060
|
proto.OsmosisMsgLPRemove.prototype.getShareOutAmount = function() {
|
4353
|
-
return /** @type {
|
4061
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
4354
4062
|
};
|
4355
4063
|
|
4356
4064
|
|
4357
4065
|
/**
|
4358
|
-
* @param {
|
4066
|
+
* @param {string} value
|
4359
4067
|
* @return {!proto.OsmosisMsgLPRemove} returns this
|
4360
4068
|
*/
|
4361
4069
|
proto.OsmosisMsgLPRemove.prototype.setShareOutAmount = function(value) {
|
@@ -4418,11 +4126,11 @@ proto.OsmosisMsgLPRemove.prototype.hasDenomOutMinA = function() {
|
|
4418
4126
|
|
4419
4127
|
|
4420
4128
|
/**
|
4421
|
-
* optional
|
4129
|
+
* optional string amount_out_min_a = 5;
|
4422
4130
|
* @return {string}
|
4423
4131
|
*/
|
4424
4132
|
proto.OsmosisMsgLPRemove.prototype.getAmountOutMinA = function() {
|
4425
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "
|
4133
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
4426
4134
|
};
|
4427
4135
|
|
4428
4136
|
|
@@ -4490,11 +4198,11 @@ proto.OsmosisMsgLPRemove.prototype.hasDenomOutMinB = function() {
|
|
4490
4198
|
|
4491
4199
|
|
4492
4200
|
/**
|
4493
|
-
* optional
|
4201
|
+
* optional string amount_out_min_b = 7;
|
4494
4202
|
* @return {string}
|
4495
4203
|
*/
|
4496
4204
|
proto.OsmosisMsgLPRemove.prototype.getAmountOutMinB = function() {
|
4497
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "
|
4205
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
4498
4206
|
};
|
4499
4207
|
|
4500
4208
|
|
@@ -4602,7 +4310,7 @@ proto.OsmosisMsgLPStake.deserializeBinaryFromReader = function(msg, reader) {
|
|
4602
4310
|
msg.setOwner(value);
|
4603
4311
|
break;
|
4604
4312
|
case 2:
|
4605
|
-
var value = /** @type {
|
4313
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
4606
4314
|
msg.setDuration(value);
|
4607
4315
|
break;
|
4608
4316
|
case 4:
|
@@ -4610,7 +4318,7 @@ proto.OsmosisMsgLPStake.deserializeBinaryFromReader = function(msg, reader) {
|
|
4610
4318
|
msg.setDenom(value);
|
4611
4319
|
break;
|
4612
4320
|
case 5:
|
4613
|
-
var value = /** @type {string} */ (reader.
|
4321
|
+
var value = /** @type {string} */ (reader.readString());
|
4614
4322
|
msg.setAmount(value);
|
4615
4323
|
break;
|
4616
4324
|
default:
|
@@ -4649,9 +4357,9 @@ proto.OsmosisMsgLPStake.serializeBinaryToWriter = function(message, writer) {
|
|
4649
4357
|
f
|
4650
4358
|
);
|
4651
4359
|
}
|
4652
|
-
f = /** @type {
|
4360
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
4653
4361
|
if (f != null) {
|
4654
|
-
writer.
|
4362
|
+
writer.writeUint64String(
|
4655
4363
|
2,
|
4656
4364
|
f
|
4657
4365
|
);
|
@@ -4665,7 +4373,7 @@ proto.OsmosisMsgLPStake.serializeBinaryToWriter = function(message, writer) {
|
|
4665
4373
|
}
|
4666
4374
|
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
4667
4375
|
if (f != null) {
|
4668
|
-
writer.
|
4376
|
+
writer.writeString(
|
4669
4377
|
5,
|
4670
4378
|
f
|
4671
4379
|
);
|
@@ -4711,15 +4419,15 @@ proto.OsmosisMsgLPStake.prototype.hasOwner = function() {
|
|
4711
4419
|
|
4712
4420
|
/**
|
4713
4421
|
* optional uint64 duration = 2;
|
4714
|
-
* @return {
|
4422
|
+
* @return {string}
|
4715
4423
|
*/
|
4716
4424
|
proto.OsmosisMsgLPStake.prototype.getDuration = function() {
|
4717
|
-
return /** @type {
|
4425
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
4718
4426
|
};
|
4719
4427
|
|
4720
4428
|
|
4721
4429
|
/**
|
4722
|
-
* @param {
|
4430
|
+
* @param {string} value
|
4723
4431
|
* @return {!proto.OsmosisMsgLPStake} returns this
|
4724
4432
|
*/
|
4725
4433
|
proto.OsmosisMsgLPStake.prototype.setDuration = function(value) {
|
@@ -4782,11 +4490,11 @@ proto.OsmosisMsgLPStake.prototype.hasDenom = function() {
|
|
4782
4490
|
|
4783
4491
|
|
4784
4492
|
/**
|
4785
|
-
* optional
|
4493
|
+
* optional string amount = 5;
|
4786
4494
|
* @return {string}
|
4787
4495
|
*/
|
4788
4496
|
proto.OsmosisMsgLPStake.prototype.getAmount = function() {
|
4789
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "
|
4497
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
4790
4498
|
};
|
4791
4499
|
|
4792
4500
|
|
@@ -5016,6 +4724,202 @@ proto.OsmosisMsgLPUnstake.prototype.hasId = function() {
|
|
5016
4724
|
|
5017
4725
|
|
5018
4726
|
|
4727
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
4728
|
+
/**
|
4729
|
+
* Creates an object representation of this proto.
|
4730
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
4731
|
+
* Optional fields that are not set will be set to undefined.
|
4732
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
4733
|
+
* For the list of reserved names please see:
|
4734
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
4735
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
4736
|
+
* JSPB instance for transitional soy proto support:
|
4737
|
+
* http://goto/soy-param-migration
|
4738
|
+
* @return {!Object}
|
4739
|
+
*/
|
4740
|
+
proto.OsmosisMsgRewards.prototype.toObject = function(opt_includeInstance) {
|
4741
|
+
return proto.OsmosisMsgRewards.toObject(opt_includeInstance, this);
|
4742
|
+
};
|
4743
|
+
|
4744
|
+
|
4745
|
+
/**
|
4746
|
+
* Static version of the {@see toObject} method.
|
4747
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
4748
|
+
* the JSPB instance for transitional soy proto support:
|
4749
|
+
* http://goto/soy-param-migration
|
4750
|
+
* @param {!proto.OsmosisMsgRewards} msg The msg instance to transform.
|
4751
|
+
* @return {!Object}
|
4752
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4753
|
+
*/
|
4754
|
+
proto.OsmosisMsgRewards.toObject = function(includeInstance, msg) {
|
4755
|
+
var f, obj = {
|
4756
|
+
delegatorAddress: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
4757
|
+
validatorAddress: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
4758
|
+
};
|
4759
|
+
|
4760
|
+
if (includeInstance) {
|
4761
|
+
obj.$jspbMessageInstance = msg;
|
4762
|
+
}
|
4763
|
+
return obj;
|
4764
|
+
};
|
4765
|
+
}
|
4766
|
+
|
4767
|
+
|
4768
|
+
/**
|
4769
|
+
* Deserializes binary data (in protobuf wire format).
|
4770
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
4771
|
+
* @return {!proto.OsmosisMsgRewards}
|
4772
|
+
*/
|
4773
|
+
proto.OsmosisMsgRewards.deserializeBinary = function(bytes) {
|
4774
|
+
var reader = new jspb.BinaryReader(bytes);
|
4775
|
+
var msg = new proto.OsmosisMsgRewards;
|
4776
|
+
return proto.OsmosisMsgRewards.deserializeBinaryFromReader(msg, reader);
|
4777
|
+
};
|
4778
|
+
|
4779
|
+
|
4780
|
+
/**
|
4781
|
+
* Deserializes binary data (in protobuf wire format) from the
|
4782
|
+
* given reader into the given message object.
|
4783
|
+
* @param {!proto.OsmosisMsgRewards} msg The message object to deserialize into.
|
4784
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
4785
|
+
* @return {!proto.OsmosisMsgRewards}
|
4786
|
+
*/
|
4787
|
+
proto.OsmosisMsgRewards.deserializeBinaryFromReader = function(msg, reader) {
|
4788
|
+
while (reader.nextField()) {
|
4789
|
+
if (reader.isEndGroup()) {
|
4790
|
+
break;
|
4791
|
+
}
|
4792
|
+
var field = reader.getFieldNumber();
|
4793
|
+
switch (field) {
|
4794
|
+
case 1:
|
4795
|
+
var value = /** @type {string} */ (reader.readString());
|
4796
|
+
msg.setDelegatorAddress(value);
|
4797
|
+
break;
|
4798
|
+
case 2:
|
4799
|
+
var value = /** @type {string} */ (reader.readString());
|
4800
|
+
msg.setValidatorAddress(value);
|
4801
|
+
break;
|
4802
|
+
default:
|
4803
|
+
reader.skipField();
|
4804
|
+
break;
|
4805
|
+
}
|
4806
|
+
}
|
4807
|
+
return msg;
|
4808
|
+
};
|
4809
|
+
|
4810
|
+
|
4811
|
+
/**
|
4812
|
+
* Serializes the message to binary data (in protobuf wire format).
|
4813
|
+
* @return {!Uint8Array}
|
4814
|
+
*/
|
4815
|
+
proto.OsmosisMsgRewards.prototype.serializeBinary = function() {
|
4816
|
+
var writer = new jspb.BinaryWriter();
|
4817
|
+
proto.OsmosisMsgRewards.serializeBinaryToWriter(this, writer);
|
4818
|
+
return writer.getResultBuffer();
|
4819
|
+
};
|
4820
|
+
|
4821
|
+
|
4822
|
+
/**
|
4823
|
+
* Serializes the given message to binary data (in protobuf wire
|
4824
|
+
* format), writing to the given BinaryWriter.
|
4825
|
+
* @param {!proto.OsmosisMsgRewards} message
|
4826
|
+
* @param {!jspb.BinaryWriter} writer
|
4827
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4828
|
+
*/
|
4829
|
+
proto.OsmosisMsgRewards.serializeBinaryToWriter = function(message, writer) {
|
4830
|
+
var f = undefined;
|
4831
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
4832
|
+
if (f != null) {
|
4833
|
+
writer.writeString(
|
4834
|
+
1,
|
4835
|
+
f
|
4836
|
+
);
|
4837
|
+
}
|
4838
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
4839
|
+
if (f != null) {
|
4840
|
+
writer.writeString(
|
4841
|
+
2,
|
4842
|
+
f
|
4843
|
+
);
|
4844
|
+
}
|
4845
|
+
};
|
4846
|
+
|
4847
|
+
|
4848
|
+
/**
|
4849
|
+
* optional string delegator_address = 1;
|
4850
|
+
* @return {string}
|
4851
|
+
*/
|
4852
|
+
proto.OsmosisMsgRewards.prototype.getDelegatorAddress = function() {
|
4853
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
4854
|
+
};
|
4855
|
+
|
4856
|
+
|
4857
|
+
/**
|
4858
|
+
* @param {string} value
|
4859
|
+
* @return {!proto.OsmosisMsgRewards} returns this
|
4860
|
+
*/
|
4861
|
+
proto.OsmosisMsgRewards.prototype.setDelegatorAddress = function(value) {
|
4862
|
+
return jspb.Message.setField(this, 1, value);
|
4863
|
+
};
|
4864
|
+
|
4865
|
+
|
4866
|
+
/**
|
4867
|
+
* Clears the field making it undefined.
|
4868
|
+
* @return {!proto.OsmosisMsgRewards} returns this
|
4869
|
+
*/
|
4870
|
+
proto.OsmosisMsgRewards.prototype.clearDelegatorAddress = function() {
|
4871
|
+
return jspb.Message.setField(this, 1, undefined);
|
4872
|
+
};
|
4873
|
+
|
4874
|
+
|
4875
|
+
/**
|
4876
|
+
* Returns whether this field is set.
|
4877
|
+
* @return {boolean}
|
4878
|
+
*/
|
4879
|
+
proto.OsmosisMsgRewards.prototype.hasDelegatorAddress = function() {
|
4880
|
+
return jspb.Message.getField(this, 1) != null;
|
4881
|
+
};
|
4882
|
+
|
4883
|
+
|
4884
|
+
/**
|
4885
|
+
* optional string validator_address = 2;
|
4886
|
+
* @return {string}
|
4887
|
+
*/
|
4888
|
+
proto.OsmosisMsgRewards.prototype.getValidatorAddress = function() {
|
4889
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
4890
|
+
};
|
4891
|
+
|
4892
|
+
|
4893
|
+
/**
|
4894
|
+
* @param {string} value
|
4895
|
+
* @return {!proto.OsmosisMsgRewards} returns this
|
4896
|
+
*/
|
4897
|
+
proto.OsmosisMsgRewards.prototype.setValidatorAddress = function(value) {
|
4898
|
+
return jspb.Message.setField(this, 2, value);
|
4899
|
+
};
|
4900
|
+
|
4901
|
+
|
4902
|
+
/**
|
4903
|
+
* Clears the field making it undefined.
|
4904
|
+
* @return {!proto.OsmosisMsgRewards} returns this
|
4905
|
+
*/
|
4906
|
+
proto.OsmosisMsgRewards.prototype.clearValidatorAddress = function() {
|
4907
|
+
return jspb.Message.setField(this, 2, undefined);
|
4908
|
+
};
|
4909
|
+
|
4910
|
+
|
4911
|
+
/**
|
4912
|
+
* Returns whether this field is set.
|
4913
|
+
* @return {boolean}
|
4914
|
+
*/
|
4915
|
+
proto.OsmosisMsgRewards.prototype.hasValidatorAddress = function() {
|
4916
|
+
return jspb.Message.getField(this, 2) != null;
|
4917
|
+
};
|
4918
|
+
|
4919
|
+
|
4920
|
+
|
4921
|
+
|
4922
|
+
|
5019
4923
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
5020
4924
|
/**
|
5021
4925
|
* Creates an object representation of this proto.
|
@@ -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.
|
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.
|
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
|
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, "
|
5229
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
5326
5230
|
};
|
5327
5231
|
|
5328
5232
|
|
@@ -5576,7 +5480,7 @@ proto.OsmosisMsgSwap.deserializeBinaryFromReader = function(msg, reader) {
|
|
5576
5480
|
msg.setSender(value);
|
5577
5481
|
break;
|
5578
5482
|
case 2:
|
5579
|
-
var value = /** @type {
|
5483
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
5580
5484
|
msg.setPoolId(value);
|
5581
5485
|
break;
|
5582
5486
|
case 3:
|
@@ -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.
|
5495
|
+
var value = /** @type {string} */ (reader.readString());
|
5592
5496
|
msg.setTokenInAmount(value);
|
5593
5497
|
break;
|
5594
5498
|
case 6:
|
5595
|
-
var value = /** @type {
|
5499
|
+
var value = /** @type {string} */ (reader.readString());
|
5596
5500
|
msg.setTokenOutMinAmount(value);
|
5597
5501
|
break;
|
5598
5502
|
default:
|
@@ -5631,9 +5535,9 @@ proto.OsmosisMsgSwap.serializeBinaryToWriter = function(message, writer) {
|
|
5631
5535
|
f
|
5632
5536
|
);
|
5633
5537
|
}
|
5634
|
-
f = /** @type {
|
5538
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
5635
5539
|
if (f != null) {
|
5636
|
-
writer.
|
5540
|
+
writer.writeUint64String(
|
5637
5541
|
2,
|
5638
5542
|
f
|
5639
5543
|
);
|
@@ -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.
|
5561
|
+
writer.writeString(
|
5658
5562
|
5,
|
5659
5563
|
f
|
5660
5564
|
);
|
5661
5565
|
}
|
5662
|
-
f = /** @type {
|
5566
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
5663
5567
|
if (f != null) {
|
5664
|
-
writer.
|
5568
|
+
writer.writeString(
|
5665
5569
|
6,
|
5666
5570
|
f
|
5667
5571
|
);
|
@@ -5707,15 +5611,15 @@ proto.OsmosisMsgSwap.prototype.hasSender = function() {
|
|
5707
5611
|
|
5708
5612
|
/**
|
5709
5613
|
* optional uint64 pool_id = 2;
|
5710
|
-
* @return {
|
5614
|
+
* @return {string}
|
5711
5615
|
*/
|
5712
5616
|
proto.OsmosisMsgSwap.prototype.getPoolId = function() {
|
5713
|
-
return /** @type {
|
5617
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
5714
5618
|
};
|
5715
5619
|
|
5716
5620
|
|
5717
5621
|
/**
|
5718
|
-
* @param {
|
5622
|
+
* @param {string} value
|
5719
5623
|
* @return {!proto.OsmosisMsgSwap} returns this
|
5720
5624
|
*/
|
5721
5625
|
proto.OsmosisMsgSwap.prototype.setPoolId = function(value) {
|
@@ -5814,11 +5718,11 @@ proto.OsmosisMsgSwap.prototype.hasTokenInDenom = function() {
|
|
5814
5718
|
|
5815
5719
|
|
5816
5720
|
/**
|
5817
|
-
* optional
|
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, "
|
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
|
5854
|
-
* @return {
|
5757
|
+
* optional string token_out_min_amount = 6;
|
5758
|
+
* @return {string}
|
5855
5759
|
*/
|
5856
5760
|
proto.OsmosisMsgSwap.prototype.getTokenOutMinAmount = function() {
|
5857
|
-
return /** @type {
|
5761
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
5858
5762
|
};
|
5859
5763
|
|
5860
5764
|
|
5861
5765
|
/**
|
5862
|
-
* @param {
|
5766
|
+
* @param {string} value
|
5863
5767
|
* @return {!proto.OsmosisMsgSwap} returns this
|
5864
5768
|
*/
|
5865
5769
|
proto.OsmosisMsgSwap.prototype.setTokenOutMinAmount = function(value) {
|