@sparkdreamnft/sparkdreamjs 0.0.8 → 0.0.9
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/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +106 -106
- package/esm/sparkdream/bundle.js +368 -332
- package/esm/sparkdream/client.js +4 -1
- package/esm/sparkdream/{forum → commons}/v1/category.js +7 -5
- package/esm/sparkdream/commons/v1/genesis.js +29 -1
- package/esm/sparkdream/commons/v1/query.js +292 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +18 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +21 -1
- package/esm/sparkdream/commons/v1/tx.amino.js +6 -1
- package/esm/sparkdream/commons/v1/tx.js +193 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +20 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +8 -1
- package/esm/sparkdream/federation/module/v1/module.js +71 -0
- package/esm/sparkdream/federation/v1/genesis.js +244 -0
- package/esm/sparkdream/federation/v1/packet.js +810 -0
- package/esm/sparkdream/federation/v1/params.js +789 -0
- package/esm/sparkdream/federation/v1/query.js +2629 -0
- package/esm/sparkdream/federation/v1/query.lcd.js +152 -0
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +189 -0
- package/esm/sparkdream/federation/v1/tx.amino.js +139 -0
- package/esm/sparkdream/federation/v1/tx.js +4199 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +501 -0
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +173 -0
- package/esm/sparkdream/federation/v1/types.js +2571 -0
- package/esm/sparkdream/forum/v1/genesis.js +26 -250
- package/esm/sparkdream/forum/v1/query.js +2084 -7387
- package/esm/sparkdream/forum/v1/query.lcd.js +0 -310
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +1 -339
- package/esm/sparkdream/forum/v1/sentinel_activity.js +46 -139
- package/esm/sparkdream/forum/v1/tx.amino.js +1 -76
- package/esm/sparkdream/forum/v1/tx.js +333 -2628
- package/esm/sparkdream/forum/v1/tx.registry.js +2 -272
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +1 -91
- package/esm/sparkdream/forum/v1/types.js +0 -216
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/rep/v1/accountability.js +172 -0
- package/esm/sparkdream/rep/v1/genesis.js +209 -1
- package/esm/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
- package/esm/sparkdream/rep/v1/member.js +25 -1
- package/esm/sparkdream/{forum → rep}/v1/member_report.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
- package/esm/sparkdream/rep/v1/params.js +782 -254
- package/esm/sparkdream/rep/v1/project.js +13 -1
- package/esm/sparkdream/rep/v1/query.js +5260 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +286 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +333 -1
- package/esm/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- package/esm/sparkdream/rep/v1/sentinel_activity.js +214 -0
- package/esm/sparkdream/{common → rep}/v1/tag.js +6 -6
- package/esm/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
- package/esm/sparkdream/rep/v1/tx.amino.js +81 -1
- package/esm/sparkdream/rep/v1/tx.js +2439 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +290 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +102 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/params.js +94 -46
- package/esm/sparkdream/shield/v1/types.js +47 -5
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +106 -106
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +13210 -11120
- package/sparkdream/bundle.js +368 -332
- package/sparkdream/client.d.ts +202 -57
- package/sparkdream/client.js +4 -1
- package/sparkdream/{forum → commons}/v1/category.d.ts +17 -11
- package/sparkdream/{forum → commons}/v1/category.js +7 -5
- package/sparkdream/commons/v1/genesis.d.ts +17 -0
- package/sparkdream/commons/v1/genesis.js +29 -1
- package/sparkdream/commons/v1/query.d.ts +179 -0
- package/sparkdream/commons/v1/query.js +293 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +18 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +20 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +6 -1
- package/sparkdream/commons/v1/tx.amino.js +5 -0
- package/sparkdream/commons/v1/tx.d.ts +98 -0
- package/sparkdream/commons/v1/tx.js +194 -1
- package/sparkdream/commons/v1/tx.registry.d.ts +13 -1
- package/sparkdream/commons/v1/tx.registry.js +19 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +7 -0
- package/sparkdream/federation/module/v1/module.d.ts +54 -0
- package/sparkdream/federation/module/v1/module.js +74 -0
- package/sparkdream/federation/v1/genesis.d.ts +78 -0
- package/sparkdream/federation/v1/genesis.js +247 -0
- package/sparkdream/federation/v1/packet.d.ts +397 -0
- package/sparkdream/federation/v1/packet.js +813 -0
- package/sparkdream/federation/v1/params.d.ts +272 -0
- package/sparkdream/federation/v1/params.js +792 -0
- package/sparkdream/federation/v1/query.d.ts +1541 -0
- package/sparkdream/federation/v1/query.js +2632 -0
- package/sparkdream/federation/v1/query.lcd.d.ts +26 -0
- package/sparkdream/federation/v1/query.lcd.js +156 -0
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +66 -0
- package/sparkdream/federation/v1/query.rpc.Query.js +194 -0
- package/sparkdream/federation/v1/tx.amino.d.ts +138 -0
- package/sparkdream/federation/v1/tx.amino.js +142 -0
- package/sparkdream/federation/v1/tx.d.ts +2311 -0
- package/sparkdream/federation/v1/tx.js +4203 -0
- package/sparkdream/federation/v1/tx.registry.d.ts +337 -0
- package/sparkdream/federation/v1/tx.registry.js +505 -0
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +64 -0
- package/sparkdream/federation/v1/tx.rpc.msg.js +178 -0
- package/sparkdream/federation/v1/types.d.ts +906 -0
- package/sparkdream/federation/v1/types.js +2588 -0
- package/sparkdream/forum/v1/genesis.d.ts +0 -41
- package/sparkdream/forum/v1/genesis.js +26 -250
- package/sparkdream/forum/v1/query.d.ts +65 -3164
- package/sparkdream/forum/v1/query.js +2086 -7391
- package/sparkdream/forum/v1/query.lcd.d.ts +1 -35
- package/sparkdream/forum/v1/query.lcd.js +0 -310
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +1 -137
- package/sparkdream/forum/v1/query.rpc.Query.js +0 -338
- package/sparkdream/forum/v1/sentinel_activity.d.ts +9 -20
- package/sparkdream/forum/v1/sentinel_activity.js +46 -139
- package/sparkdream/forum/v1/tx.amino.d.ts +1 -76
- package/sparkdream/forum/v1/tx.amino.js +0 -75
- package/sparkdream/forum/v1/tx.d.ts +85 -1445
- package/sparkdream/forum/v1/tx.js +335 -2630
- package/sparkdream/forum/v1/tx.registry.d.ts +1 -181
- package/sparkdream/forum/v1/tx.registry.js +1 -271
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +1 -46
- package/sparkdream/forum/v1/tx.rpc.msg.js +0 -90
- package/sparkdream/forum/v1/types.d.ts +0 -50
- package/sparkdream/forum/v1/types.js +1 -225
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/rep/v1/accountability.d.ts +39 -0
- package/sparkdream/rep/v1/accountability.js +181 -0
- package/sparkdream/rep/v1/genesis.d.ts +68 -0
- package/sparkdream/rep/v1/genesis.js +209 -1
- package/sparkdream/{forum → rep}/v1/gov_action_appeal.d.ts +9 -9
- package/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
- package/sparkdream/{forum → rep}/v1/jury_participation.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
- package/sparkdream/rep/v1/member.d.ts +16 -0
- package/sparkdream/rep/v1/member.js +25 -1
- package/sparkdream/{forum → rep}/v1/member_report.d.ts +9 -9
- package/sparkdream/{forum → rep}/v1/member_report.js +4 -4
- package/sparkdream/{forum → rep}/v1/member_warning.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
- package/sparkdream/rep/v1/params.d.ts +352 -8
- package/sparkdream/rep/v1/params.js +782 -254
- package/sparkdream/rep/v1/project.d.ts +10 -0
- package/sparkdream/rep/v1/project.js +13 -1
- package/sparkdream/rep/v1/query.d.ts +4197 -1129
- package/sparkdream/rep/v1/query.js +5263 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +35 -1
- package/sparkdream/rep/v1/query.lcd.js +286 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +137 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +332 -0
- package/sparkdream/{common → rep}/v1/reserved_tag.d.ts +11 -11
- package/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- package/sparkdream/rep/v1/sentinel_activity.d.ts +79 -0
- package/sparkdream/rep/v1/sentinel_activity.js +219 -0
- package/sparkdream/{common → rep}/v1/tag.d.ts +14 -14
- package/sparkdream/{common → rep}/v1/tag.js +6 -6
- package/sparkdream/{forum → rep}/v1/tag_budget.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
- package/sparkdream/{forum → rep}/v1/tag_budget_award.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
- package/sparkdream/{forum → rep}/v1/tag_report.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
- package/sparkdream/rep/v1/tx.amino.d.ts +81 -1
- package/sparkdream/rep/v1/tx.amino.js +80 -0
- package/sparkdream/rep/v1/tx.d.ts +1467 -0
- package/sparkdream/rep/v1/tx.js +2440 -1
- package/sparkdream/rep/v1/tx.registry.d.ts +193 -1
- package/sparkdream/rep/v1/tx.registry.js +289 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +62 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +101 -0
- package/sparkdream/rpc.query.d.ts +58 -34
- package/sparkdream/rpc.query.js +3 -0
- package/sparkdream/rpc.tx.d.ts +3 -0
- package/sparkdream/rpc.tx.js +3 -0
- package/sparkdream/season/v1/params.d.ts +36 -4
- package/sparkdream/season/v1/params.js +94 -46
- package/sparkdream/shield/v1/types.d.ts +28 -0
- package/sparkdream/shield/v1/types.js +47 -5
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/esm/sparkdream/forum/v1/member_salvation_status.js +0 -119
- package/sparkdream/forum/v1/member_salvation_status.d.ts +0 -54
- package/sparkdream/forum/v1/member_salvation_status.js +0 -122
|
@@ -292,179 +292,6 @@ export const MsgUpdateOperationalParamsResponse = {
|
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
|
-
function createBaseMsgCreateCategory() {
|
|
296
|
-
return {
|
|
297
|
-
creator: "",
|
|
298
|
-
title: "",
|
|
299
|
-
description: "",
|
|
300
|
-
membersOnlyWrite: false,
|
|
301
|
-
adminOnlyWrite: false
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* MsgCreateCategory defines the MsgCreateCategory message.
|
|
306
|
-
* @name MsgCreateCategory
|
|
307
|
-
* @package sparkdream.forum.v1
|
|
308
|
-
* @see proto type: sparkdream.forum.v1.MsgCreateCategory
|
|
309
|
-
*/
|
|
310
|
-
export const MsgCreateCategory = {
|
|
311
|
-
typeUrl: "/sparkdream.forum.v1.MsgCreateCategory",
|
|
312
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
313
|
-
if (message.creator !== "") {
|
|
314
|
-
writer.uint32(10).string(message.creator);
|
|
315
|
-
}
|
|
316
|
-
if (message.title !== "") {
|
|
317
|
-
writer.uint32(18).string(message.title);
|
|
318
|
-
}
|
|
319
|
-
if (message.description !== "") {
|
|
320
|
-
writer.uint32(26).string(message.description);
|
|
321
|
-
}
|
|
322
|
-
if (message.membersOnlyWrite === true) {
|
|
323
|
-
writer.uint32(32).bool(message.membersOnlyWrite);
|
|
324
|
-
}
|
|
325
|
-
if (message.adminOnlyWrite === true) {
|
|
326
|
-
writer.uint32(40).bool(message.adminOnlyWrite);
|
|
327
|
-
}
|
|
328
|
-
return writer;
|
|
329
|
-
},
|
|
330
|
-
decode(input, length) {
|
|
331
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
332
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
333
|
-
const message = createBaseMsgCreateCategory();
|
|
334
|
-
while (reader.pos < end) {
|
|
335
|
-
const tag = reader.uint32();
|
|
336
|
-
switch (tag >>> 3) {
|
|
337
|
-
case 1:
|
|
338
|
-
message.creator = reader.string();
|
|
339
|
-
break;
|
|
340
|
-
case 2:
|
|
341
|
-
message.title = reader.string();
|
|
342
|
-
break;
|
|
343
|
-
case 3:
|
|
344
|
-
message.description = reader.string();
|
|
345
|
-
break;
|
|
346
|
-
case 4:
|
|
347
|
-
message.membersOnlyWrite = reader.bool();
|
|
348
|
-
break;
|
|
349
|
-
case 5:
|
|
350
|
-
message.adminOnlyWrite = reader.bool();
|
|
351
|
-
break;
|
|
352
|
-
default:
|
|
353
|
-
reader.skipType(tag & 7);
|
|
354
|
-
break;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
return message;
|
|
358
|
-
},
|
|
359
|
-
fromPartial(object) {
|
|
360
|
-
const message = createBaseMsgCreateCategory();
|
|
361
|
-
message.creator = object.creator ?? "";
|
|
362
|
-
message.title = object.title ?? "";
|
|
363
|
-
message.description = object.description ?? "";
|
|
364
|
-
message.membersOnlyWrite = object.membersOnlyWrite ?? false;
|
|
365
|
-
message.adminOnlyWrite = object.adminOnlyWrite ?? false;
|
|
366
|
-
return message;
|
|
367
|
-
},
|
|
368
|
-
fromAmino(object) {
|
|
369
|
-
const message = createBaseMsgCreateCategory();
|
|
370
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
371
|
-
message.creator = object.creator;
|
|
372
|
-
}
|
|
373
|
-
if (object.title !== undefined && object.title !== null) {
|
|
374
|
-
message.title = object.title;
|
|
375
|
-
}
|
|
376
|
-
if (object.description !== undefined && object.description !== null) {
|
|
377
|
-
message.description = object.description;
|
|
378
|
-
}
|
|
379
|
-
if (object.members_only_write !== undefined && object.members_only_write !== null) {
|
|
380
|
-
message.membersOnlyWrite = object.members_only_write;
|
|
381
|
-
}
|
|
382
|
-
if (object.admin_only_write !== undefined && object.admin_only_write !== null) {
|
|
383
|
-
message.adminOnlyWrite = object.admin_only_write;
|
|
384
|
-
}
|
|
385
|
-
return message;
|
|
386
|
-
},
|
|
387
|
-
toAmino(message) {
|
|
388
|
-
const obj = {};
|
|
389
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
390
|
-
obj.title = message.title === "" ? undefined : message.title;
|
|
391
|
-
obj.description = message.description === "" ? undefined : message.description;
|
|
392
|
-
obj.members_only_write = message.membersOnlyWrite === false ? undefined : message.membersOnlyWrite;
|
|
393
|
-
obj.admin_only_write = message.adminOnlyWrite === false ? undefined : message.adminOnlyWrite;
|
|
394
|
-
return obj;
|
|
395
|
-
},
|
|
396
|
-
fromAminoMsg(object) {
|
|
397
|
-
return MsgCreateCategory.fromAmino(object.value);
|
|
398
|
-
},
|
|
399
|
-
fromProtoMsg(message) {
|
|
400
|
-
return MsgCreateCategory.decode(message.value);
|
|
401
|
-
},
|
|
402
|
-
toProto(message) {
|
|
403
|
-
return MsgCreateCategory.encode(message).finish();
|
|
404
|
-
},
|
|
405
|
-
toProtoMsg(message) {
|
|
406
|
-
return {
|
|
407
|
-
typeUrl: "/sparkdream.forum.v1.MsgCreateCategory",
|
|
408
|
-
value: MsgCreateCategory.encode(message).finish()
|
|
409
|
-
};
|
|
410
|
-
}
|
|
411
|
-
};
|
|
412
|
-
function createBaseMsgCreateCategoryResponse() {
|
|
413
|
-
return {};
|
|
414
|
-
}
|
|
415
|
-
/**
|
|
416
|
-
* MsgCreateCategoryResponse defines the MsgCreateCategoryResponse message.
|
|
417
|
-
* @name MsgCreateCategoryResponse
|
|
418
|
-
* @package sparkdream.forum.v1
|
|
419
|
-
* @see proto type: sparkdream.forum.v1.MsgCreateCategoryResponse
|
|
420
|
-
*/
|
|
421
|
-
export const MsgCreateCategoryResponse = {
|
|
422
|
-
typeUrl: "/sparkdream.forum.v1.MsgCreateCategoryResponse",
|
|
423
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
424
|
-
return writer;
|
|
425
|
-
},
|
|
426
|
-
decode(input, length) {
|
|
427
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
428
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
429
|
-
const message = createBaseMsgCreateCategoryResponse();
|
|
430
|
-
while (reader.pos < end) {
|
|
431
|
-
const tag = reader.uint32();
|
|
432
|
-
switch (tag >>> 3) {
|
|
433
|
-
default:
|
|
434
|
-
reader.skipType(tag & 7);
|
|
435
|
-
break;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
return message;
|
|
439
|
-
},
|
|
440
|
-
fromPartial(_) {
|
|
441
|
-
const message = createBaseMsgCreateCategoryResponse();
|
|
442
|
-
return message;
|
|
443
|
-
},
|
|
444
|
-
fromAmino(_) {
|
|
445
|
-
const message = createBaseMsgCreateCategoryResponse();
|
|
446
|
-
return message;
|
|
447
|
-
},
|
|
448
|
-
toAmino(_) {
|
|
449
|
-
const obj = {};
|
|
450
|
-
return obj;
|
|
451
|
-
},
|
|
452
|
-
fromAminoMsg(object) {
|
|
453
|
-
return MsgCreateCategoryResponse.fromAmino(object.value);
|
|
454
|
-
},
|
|
455
|
-
fromProtoMsg(message) {
|
|
456
|
-
return MsgCreateCategoryResponse.decode(message.value);
|
|
457
|
-
},
|
|
458
|
-
toProto(message) {
|
|
459
|
-
return MsgCreateCategoryResponse.encode(message).finish();
|
|
460
|
-
},
|
|
461
|
-
toProtoMsg(message) {
|
|
462
|
-
return {
|
|
463
|
-
typeUrl: "/sparkdream.forum.v1.MsgCreateCategoryResponse",
|
|
464
|
-
value: MsgCreateCategoryResponse.encode(message).finish()
|
|
465
|
-
};
|
|
466
|
-
}
|
|
467
|
-
};
|
|
468
295
|
function createBaseMsgCreatePost() {
|
|
469
296
|
return {
|
|
470
297
|
creator: "",
|
|
@@ -4172,41 +3999,37 @@ export const MsgAssignBountyToReplyResponse = {
|
|
|
4172
3999
|
};
|
|
4173
4000
|
}
|
|
4174
4001
|
};
|
|
4175
|
-
function
|
|
4002
|
+
function createBaseMsgPinReply() {
|
|
4176
4003
|
return {
|
|
4177
4004
|
creator: "",
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
membersOnly: false
|
|
4005
|
+
threadId: BigInt(0),
|
|
4006
|
+
replyId: BigInt(0)
|
|
4181
4007
|
};
|
|
4182
4008
|
}
|
|
4183
4009
|
/**
|
|
4184
|
-
*
|
|
4185
|
-
* @name
|
|
4010
|
+
* MsgPinReply defines the MsgPinReply message.
|
|
4011
|
+
* @name MsgPinReply
|
|
4186
4012
|
* @package sparkdream.forum.v1
|
|
4187
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4013
|
+
* @see proto type: sparkdream.forum.v1.MsgPinReply
|
|
4188
4014
|
*/
|
|
4189
|
-
export const
|
|
4190
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4015
|
+
export const MsgPinReply = {
|
|
4016
|
+
typeUrl: "/sparkdream.forum.v1.MsgPinReply",
|
|
4191
4017
|
encode(message, writer = BinaryWriter.create()) {
|
|
4192
4018
|
if (message.creator !== "") {
|
|
4193
4019
|
writer.uint32(10).string(message.creator);
|
|
4194
4020
|
}
|
|
4195
|
-
if (message.
|
|
4196
|
-
writer.uint32(
|
|
4197
|
-
}
|
|
4198
|
-
if (message.initialPool !== "") {
|
|
4199
|
-
writer.uint32(26).string(message.initialPool);
|
|
4021
|
+
if (message.threadId !== BigInt(0)) {
|
|
4022
|
+
writer.uint32(16).uint64(message.threadId);
|
|
4200
4023
|
}
|
|
4201
|
-
if (message.
|
|
4202
|
-
writer.uint32(
|
|
4024
|
+
if (message.replyId !== BigInt(0)) {
|
|
4025
|
+
writer.uint32(24).uint64(message.replyId);
|
|
4203
4026
|
}
|
|
4204
4027
|
return writer;
|
|
4205
4028
|
},
|
|
4206
4029
|
decode(input, length) {
|
|
4207
4030
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4208
4031
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4209
|
-
const message =
|
|
4032
|
+
const message = createBaseMsgPinReply();
|
|
4210
4033
|
while (reader.pos < end) {
|
|
4211
4034
|
const tag = reader.uint32();
|
|
4212
4035
|
switch (tag >>> 3) {
|
|
@@ -4214,13 +4037,10 @@ export const MsgCreateTagBudget = {
|
|
|
4214
4037
|
message.creator = reader.string();
|
|
4215
4038
|
break;
|
|
4216
4039
|
case 2:
|
|
4217
|
-
message.
|
|
4040
|
+
message.threadId = reader.uint64();
|
|
4218
4041
|
break;
|
|
4219
4042
|
case 3:
|
|
4220
|
-
message.
|
|
4221
|
-
break;
|
|
4222
|
-
case 4:
|
|
4223
|
-
message.membersOnly = reader.bool();
|
|
4043
|
+
message.replyId = reader.uint64();
|
|
4224
4044
|
break;
|
|
4225
4045
|
default:
|
|
4226
4046
|
reader.skipType(tag & 7);
|
|
@@ -4230,71 +4050,66 @@ export const MsgCreateTagBudget = {
|
|
|
4230
4050
|
return message;
|
|
4231
4051
|
},
|
|
4232
4052
|
fromPartial(object) {
|
|
4233
|
-
const message =
|
|
4053
|
+
const message = createBaseMsgPinReply();
|
|
4234
4054
|
message.creator = object.creator ?? "";
|
|
4235
|
-
message.
|
|
4236
|
-
message.
|
|
4237
|
-
message.membersOnly = object.membersOnly ?? false;
|
|
4055
|
+
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
4056
|
+
message.replyId = object.replyId !== undefined && object.replyId !== null ? BigInt(object.replyId.toString()) : BigInt(0);
|
|
4238
4057
|
return message;
|
|
4239
4058
|
},
|
|
4240
4059
|
fromAmino(object) {
|
|
4241
|
-
const message =
|
|
4060
|
+
const message = createBaseMsgPinReply();
|
|
4242
4061
|
if (object.creator !== undefined && object.creator !== null) {
|
|
4243
4062
|
message.creator = object.creator;
|
|
4244
4063
|
}
|
|
4245
|
-
if (object.
|
|
4246
|
-
message.
|
|
4247
|
-
}
|
|
4248
|
-
if (object.initial_pool !== undefined && object.initial_pool !== null) {
|
|
4249
|
-
message.initialPool = object.initial_pool;
|
|
4064
|
+
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
4065
|
+
message.threadId = BigInt(object.thread_id);
|
|
4250
4066
|
}
|
|
4251
|
-
if (object.
|
|
4252
|
-
message.
|
|
4067
|
+
if (object.reply_id !== undefined && object.reply_id !== null) {
|
|
4068
|
+
message.replyId = BigInt(object.reply_id);
|
|
4253
4069
|
}
|
|
4254
4070
|
return message;
|
|
4255
4071
|
},
|
|
4256
4072
|
toAmino(message) {
|
|
4257
4073
|
const obj = {};
|
|
4258
4074
|
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
4259
|
-
obj.
|
|
4260
|
-
obj.
|
|
4261
|
-
obj.members_only = message.membersOnly === false ? undefined : message.membersOnly;
|
|
4075
|
+
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
4076
|
+
obj.reply_id = message.replyId !== BigInt(0) ? message.replyId?.toString() : undefined;
|
|
4262
4077
|
return obj;
|
|
4263
4078
|
},
|
|
4264
4079
|
fromAminoMsg(object) {
|
|
4265
|
-
return
|
|
4080
|
+
return MsgPinReply.fromAmino(object.value);
|
|
4266
4081
|
},
|
|
4267
4082
|
fromProtoMsg(message) {
|
|
4268
|
-
return
|
|
4083
|
+
return MsgPinReply.decode(message.value);
|
|
4269
4084
|
},
|
|
4270
4085
|
toProto(message) {
|
|
4271
|
-
return
|
|
4086
|
+
return MsgPinReply.encode(message).finish();
|
|
4272
4087
|
},
|
|
4273
4088
|
toProtoMsg(message) {
|
|
4274
4089
|
return {
|
|
4275
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4276
|
-
value:
|
|
4090
|
+
typeUrl: "/sparkdream.forum.v1.MsgPinReply",
|
|
4091
|
+
value: MsgPinReply.encode(message).finish()
|
|
4277
4092
|
};
|
|
4278
4093
|
}
|
|
4279
4094
|
};
|
|
4280
|
-
function
|
|
4095
|
+
function createBaseMsgPinReplyResponse() {
|
|
4281
4096
|
return {};
|
|
4282
4097
|
}
|
|
4283
4098
|
/**
|
|
4284
|
-
*
|
|
4285
|
-
* @name
|
|
4099
|
+
* MsgPinReplyResponse defines the MsgPinReplyResponse message.
|
|
4100
|
+
* @name MsgPinReplyResponse
|
|
4286
4101
|
* @package sparkdream.forum.v1
|
|
4287
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4102
|
+
* @see proto type: sparkdream.forum.v1.MsgPinReplyResponse
|
|
4288
4103
|
*/
|
|
4289
|
-
export const
|
|
4290
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4104
|
+
export const MsgPinReplyResponse = {
|
|
4105
|
+
typeUrl: "/sparkdream.forum.v1.MsgPinReplyResponse",
|
|
4291
4106
|
encode(_, writer = BinaryWriter.create()) {
|
|
4292
4107
|
return writer;
|
|
4293
4108
|
},
|
|
4294
4109
|
decode(input, length) {
|
|
4295
4110
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4296
4111
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4297
|
-
const message =
|
|
4112
|
+
const message = createBaseMsgPinReplyResponse();
|
|
4298
4113
|
while (reader.pos < end) {
|
|
4299
4114
|
const tag = reader.uint32();
|
|
4300
4115
|
switch (tag >>> 3) {
|
|
@@ -4306,11 +4121,11 @@ export const MsgCreateTagBudgetResponse = {
|
|
|
4306
4121
|
return message;
|
|
4307
4122
|
},
|
|
4308
4123
|
fromPartial(_) {
|
|
4309
|
-
const message =
|
|
4124
|
+
const message = createBaseMsgPinReplyResponse();
|
|
4310
4125
|
return message;
|
|
4311
4126
|
},
|
|
4312
4127
|
fromAmino(_) {
|
|
4313
|
-
const message =
|
|
4128
|
+
const message = createBaseMsgPinReplyResponse();
|
|
4314
4129
|
return message;
|
|
4315
4130
|
},
|
|
4316
4131
|
toAmino(_) {
|
|
@@ -4318,60 +4133,52 @@ export const MsgCreateTagBudgetResponse = {
|
|
|
4318
4133
|
return obj;
|
|
4319
4134
|
},
|
|
4320
4135
|
fromAminoMsg(object) {
|
|
4321
|
-
return
|
|
4136
|
+
return MsgPinReplyResponse.fromAmino(object.value);
|
|
4322
4137
|
},
|
|
4323
4138
|
fromProtoMsg(message) {
|
|
4324
|
-
return
|
|
4139
|
+
return MsgPinReplyResponse.decode(message.value);
|
|
4325
4140
|
},
|
|
4326
4141
|
toProto(message) {
|
|
4327
|
-
return
|
|
4142
|
+
return MsgPinReplyResponse.encode(message).finish();
|
|
4328
4143
|
},
|
|
4329
4144
|
toProtoMsg(message) {
|
|
4330
4145
|
return {
|
|
4331
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4332
|
-
value:
|
|
4146
|
+
typeUrl: "/sparkdream.forum.v1.MsgPinReplyResponse",
|
|
4147
|
+
value: MsgPinReplyResponse.encode(message).finish()
|
|
4333
4148
|
};
|
|
4334
4149
|
}
|
|
4335
4150
|
};
|
|
4336
|
-
function
|
|
4151
|
+
function createBaseMsgUnpinReply() {
|
|
4337
4152
|
return {
|
|
4338
4153
|
creator: "",
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
amount: "",
|
|
4342
|
-
reason: ""
|
|
4154
|
+
threadId: BigInt(0),
|
|
4155
|
+
replyId: BigInt(0)
|
|
4343
4156
|
};
|
|
4344
4157
|
}
|
|
4345
4158
|
/**
|
|
4346
|
-
*
|
|
4347
|
-
* @name
|
|
4159
|
+
* MsgUnpinReply defines the MsgUnpinReply message.
|
|
4160
|
+
* @name MsgUnpinReply
|
|
4348
4161
|
* @package sparkdream.forum.v1
|
|
4349
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4162
|
+
* @see proto type: sparkdream.forum.v1.MsgUnpinReply
|
|
4350
4163
|
*/
|
|
4351
|
-
export const
|
|
4352
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4164
|
+
export const MsgUnpinReply = {
|
|
4165
|
+
typeUrl: "/sparkdream.forum.v1.MsgUnpinReply",
|
|
4353
4166
|
encode(message, writer = BinaryWriter.create()) {
|
|
4354
4167
|
if (message.creator !== "") {
|
|
4355
4168
|
writer.uint32(10).string(message.creator);
|
|
4356
4169
|
}
|
|
4357
|
-
if (message.
|
|
4358
|
-
writer.uint32(16).uint64(message.
|
|
4359
|
-
}
|
|
4360
|
-
if (message.postId !== BigInt(0)) {
|
|
4361
|
-
writer.uint32(24).uint64(message.postId);
|
|
4362
|
-
}
|
|
4363
|
-
if (message.amount !== "") {
|
|
4364
|
-
writer.uint32(34).string(message.amount);
|
|
4170
|
+
if (message.threadId !== BigInt(0)) {
|
|
4171
|
+
writer.uint32(16).uint64(message.threadId);
|
|
4365
4172
|
}
|
|
4366
|
-
if (message.
|
|
4367
|
-
writer.uint32(
|
|
4173
|
+
if (message.replyId !== BigInt(0)) {
|
|
4174
|
+
writer.uint32(24).uint64(message.replyId);
|
|
4368
4175
|
}
|
|
4369
4176
|
return writer;
|
|
4370
4177
|
},
|
|
4371
4178
|
decode(input, length) {
|
|
4372
4179
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4373
4180
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4374
|
-
const message =
|
|
4181
|
+
const message = createBaseMsgUnpinReply();
|
|
4375
4182
|
while (reader.pos < end) {
|
|
4376
4183
|
const tag = reader.uint32();
|
|
4377
4184
|
switch (tag >>> 3) {
|
|
@@ -4379,16 +4186,10 @@ export const MsgAwardFromTagBudget = {
|
|
|
4379
4186
|
message.creator = reader.string();
|
|
4380
4187
|
break;
|
|
4381
4188
|
case 2:
|
|
4382
|
-
message.
|
|
4189
|
+
message.threadId = reader.uint64();
|
|
4383
4190
|
break;
|
|
4384
4191
|
case 3:
|
|
4385
|
-
message.
|
|
4386
|
-
break;
|
|
4387
|
-
case 4:
|
|
4388
|
-
message.amount = reader.string();
|
|
4389
|
-
break;
|
|
4390
|
-
case 5:
|
|
4391
|
-
message.reason = reader.string();
|
|
4192
|
+
message.replyId = reader.uint64();
|
|
4392
4193
|
break;
|
|
4393
4194
|
default:
|
|
4394
4195
|
reader.skipType(tag & 7);
|
|
@@ -4398,76 +4199,66 @@ export const MsgAwardFromTagBudget = {
|
|
|
4398
4199
|
return message;
|
|
4399
4200
|
},
|
|
4400
4201
|
fromPartial(object) {
|
|
4401
|
-
const message =
|
|
4202
|
+
const message = createBaseMsgUnpinReply();
|
|
4402
4203
|
message.creator = object.creator ?? "";
|
|
4403
|
-
message.
|
|
4404
|
-
message.
|
|
4405
|
-
message.amount = object.amount ?? "";
|
|
4406
|
-
message.reason = object.reason ?? "";
|
|
4204
|
+
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
4205
|
+
message.replyId = object.replyId !== undefined && object.replyId !== null ? BigInt(object.replyId.toString()) : BigInt(0);
|
|
4407
4206
|
return message;
|
|
4408
4207
|
},
|
|
4409
4208
|
fromAmino(object) {
|
|
4410
|
-
const message =
|
|
4209
|
+
const message = createBaseMsgUnpinReply();
|
|
4411
4210
|
if (object.creator !== undefined && object.creator !== null) {
|
|
4412
4211
|
message.creator = object.creator;
|
|
4413
4212
|
}
|
|
4414
|
-
if (object.
|
|
4415
|
-
message.
|
|
4416
|
-
}
|
|
4417
|
-
if (object.post_id !== undefined && object.post_id !== null) {
|
|
4418
|
-
message.postId = BigInt(object.post_id);
|
|
4419
|
-
}
|
|
4420
|
-
if (object.amount !== undefined && object.amount !== null) {
|
|
4421
|
-
message.amount = object.amount;
|
|
4213
|
+
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
4214
|
+
message.threadId = BigInt(object.thread_id);
|
|
4422
4215
|
}
|
|
4423
|
-
if (object.
|
|
4424
|
-
message.
|
|
4216
|
+
if (object.reply_id !== undefined && object.reply_id !== null) {
|
|
4217
|
+
message.replyId = BigInt(object.reply_id);
|
|
4425
4218
|
}
|
|
4426
4219
|
return message;
|
|
4427
4220
|
},
|
|
4428
4221
|
toAmino(message) {
|
|
4429
4222
|
const obj = {};
|
|
4430
4223
|
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
4431
|
-
obj.
|
|
4432
|
-
obj.
|
|
4433
|
-
obj.amount = message.amount === "" ? undefined : message.amount;
|
|
4434
|
-
obj.reason = message.reason === "" ? undefined : message.reason;
|
|
4224
|
+
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
4225
|
+
obj.reply_id = message.replyId !== BigInt(0) ? message.replyId?.toString() : undefined;
|
|
4435
4226
|
return obj;
|
|
4436
4227
|
},
|
|
4437
4228
|
fromAminoMsg(object) {
|
|
4438
|
-
return
|
|
4229
|
+
return MsgUnpinReply.fromAmino(object.value);
|
|
4439
4230
|
},
|
|
4440
4231
|
fromProtoMsg(message) {
|
|
4441
|
-
return
|
|
4232
|
+
return MsgUnpinReply.decode(message.value);
|
|
4442
4233
|
},
|
|
4443
4234
|
toProto(message) {
|
|
4444
|
-
return
|
|
4235
|
+
return MsgUnpinReply.encode(message).finish();
|
|
4445
4236
|
},
|
|
4446
4237
|
toProtoMsg(message) {
|
|
4447
4238
|
return {
|
|
4448
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4449
|
-
value:
|
|
4239
|
+
typeUrl: "/sparkdream.forum.v1.MsgUnpinReply",
|
|
4240
|
+
value: MsgUnpinReply.encode(message).finish()
|
|
4450
4241
|
};
|
|
4451
4242
|
}
|
|
4452
4243
|
};
|
|
4453
|
-
function
|
|
4244
|
+
function createBaseMsgUnpinReplyResponse() {
|
|
4454
4245
|
return {};
|
|
4455
4246
|
}
|
|
4456
4247
|
/**
|
|
4457
|
-
*
|
|
4458
|
-
* @name
|
|
4248
|
+
* MsgUnpinReplyResponse defines the MsgUnpinReplyResponse message.
|
|
4249
|
+
* @name MsgUnpinReplyResponse
|
|
4459
4250
|
* @package sparkdream.forum.v1
|
|
4460
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4251
|
+
* @see proto type: sparkdream.forum.v1.MsgUnpinReplyResponse
|
|
4461
4252
|
*/
|
|
4462
|
-
export const
|
|
4463
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4253
|
+
export const MsgUnpinReplyResponse = {
|
|
4254
|
+
typeUrl: "/sparkdream.forum.v1.MsgUnpinReplyResponse",
|
|
4464
4255
|
encode(_, writer = BinaryWriter.create()) {
|
|
4465
4256
|
return writer;
|
|
4466
4257
|
},
|
|
4467
4258
|
decode(input, length) {
|
|
4468
4259
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4469
4260
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4470
|
-
const message =
|
|
4261
|
+
const message = createBaseMsgUnpinReplyResponse();
|
|
4471
4262
|
while (reader.pos < end) {
|
|
4472
4263
|
const tag = reader.uint32();
|
|
4473
4264
|
switch (tag >>> 3) {
|
|
@@ -4479,11 +4270,11 @@ export const MsgAwardFromTagBudgetResponse = {
|
|
|
4479
4270
|
return message;
|
|
4480
4271
|
},
|
|
4481
4272
|
fromPartial(_) {
|
|
4482
|
-
const message =
|
|
4273
|
+
const message = createBaseMsgUnpinReplyResponse();
|
|
4483
4274
|
return message;
|
|
4484
4275
|
},
|
|
4485
4276
|
fromAmino(_) {
|
|
4486
|
-
const message =
|
|
4277
|
+
const message = createBaseMsgUnpinReplyResponse();
|
|
4487
4278
|
return message;
|
|
4488
4279
|
},
|
|
4489
4280
|
toAmino(_) {
|
|
@@ -4491,52 +4282,56 @@ export const MsgAwardFromTagBudgetResponse = {
|
|
|
4491
4282
|
return obj;
|
|
4492
4283
|
},
|
|
4493
4284
|
fromAminoMsg(object) {
|
|
4494
|
-
return
|
|
4285
|
+
return MsgUnpinReplyResponse.fromAmino(object.value);
|
|
4495
4286
|
},
|
|
4496
4287
|
fromProtoMsg(message) {
|
|
4497
|
-
return
|
|
4288
|
+
return MsgUnpinReplyResponse.decode(message.value);
|
|
4498
4289
|
},
|
|
4499
4290
|
toProto(message) {
|
|
4500
|
-
return
|
|
4291
|
+
return MsgUnpinReplyResponse.encode(message).finish();
|
|
4501
4292
|
},
|
|
4502
4293
|
toProtoMsg(message) {
|
|
4503
4294
|
return {
|
|
4504
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4505
|
-
value:
|
|
4295
|
+
typeUrl: "/sparkdream.forum.v1.MsgUnpinReplyResponse",
|
|
4296
|
+
value: MsgUnpinReplyResponse.encode(message).finish()
|
|
4506
4297
|
};
|
|
4507
4298
|
}
|
|
4508
4299
|
};
|
|
4509
|
-
function
|
|
4300
|
+
function createBaseMsgDisputePin() {
|
|
4510
4301
|
return {
|
|
4511
4302
|
creator: "",
|
|
4512
|
-
|
|
4513
|
-
|
|
4303
|
+
threadId: BigInt(0),
|
|
4304
|
+
replyId: BigInt(0),
|
|
4305
|
+
reason: ""
|
|
4514
4306
|
};
|
|
4515
4307
|
}
|
|
4516
4308
|
/**
|
|
4517
|
-
*
|
|
4518
|
-
* @name
|
|
4309
|
+
* MsgDisputePin defines the MsgDisputePin message.
|
|
4310
|
+
* @name MsgDisputePin
|
|
4519
4311
|
* @package sparkdream.forum.v1
|
|
4520
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4312
|
+
* @see proto type: sparkdream.forum.v1.MsgDisputePin
|
|
4521
4313
|
*/
|
|
4522
|
-
export const
|
|
4523
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4314
|
+
export const MsgDisputePin = {
|
|
4315
|
+
typeUrl: "/sparkdream.forum.v1.MsgDisputePin",
|
|
4524
4316
|
encode(message, writer = BinaryWriter.create()) {
|
|
4525
4317
|
if (message.creator !== "") {
|
|
4526
4318
|
writer.uint32(10).string(message.creator);
|
|
4527
4319
|
}
|
|
4528
|
-
if (message.
|
|
4529
|
-
writer.uint32(16).uint64(message.
|
|
4320
|
+
if (message.threadId !== BigInt(0)) {
|
|
4321
|
+
writer.uint32(16).uint64(message.threadId);
|
|
4530
4322
|
}
|
|
4531
|
-
if (message.
|
|
4532
|
-
writer.uint32(
|
|
4323
|
+
if (message.replyId !== BigInt(0)) {
|
|
4324
|
+
writer.uint32(24).uint64(message.replyId);
|
|
4325
|
+
}
|
|
4326
|
+
if (message.reason !== "") {
|
|
4327
|
+
writer.uint32(34).string(message.reason);
|
|
4533
4328
|
}
|
|
4534
4329
|
return writer;
|
|
4535
4330
|
},
|
|
4536
4331
|
decode(input, length) {
|
|
4537
4332
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4538
4333
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4539
|
-
const message =
|
|
4334
|
+
const message = createBaseMsgDisputePin();
|
|
4540
4335
|
while (reader.pos < end) {
|
|
4541
4336
|
const tag = reader.uint32();
|
|
4542
4337
|
switch (tag >>> 3) {
|
|
@@ -4544,2065 +4339,13 @@ export const MsgTopUpTagBudget = {
|
|
|
4544
4339
|
message.creator = reader.string();
|
|
4545
4340
|
break;
|
|
4546
4341
|
case 2:
|
|
4547
|
-
message.
|
|
4342
|
+
message.threadId = reader.uint64();
|
|
4548
4343
|
break;
|
|
4549
4344
|
case 3:
|
|
4550
|
-
message.
|
|
4345
|
+
message.replyId = reader.uint64();
|
|
4551
4346
|
break;
|
|
4552
|
-
|
|
4553
|
-
reader.
|
|
4554
|
-
break;
|
|
4555
|
-
}
|
|
4556
|
-
}
|
|
4557
|
-
return message;
|
|
4558
|
-
},
|
|
4559
|
-
fromPartial(object) {
|
|
4560
|
-
const message = createBaseMsgTopUpTagBudget();
|
|
4561
|
-
message.creator = object.creator ?? "";
|
|
4562
|
-
message.budgetId = object.budgetId !== undefined && object.budgetId !== null ? BigInt(object.budgetId.toString()) : BigInt(0);
|
|
4563
|
-
message.amount = object.amount ?? "";
|
|
4564
|
-
return message;
|
|
4565
|
-
},
|
|
4566
|
-
fromAmino(object) {
|
|
4567
|
-
const message = createBaseMsgTopUpTagBudget();
|
|
4568
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
4569
|
-
message.creator = object.creator;
|
|
4570
|
-
}
|
|
4571
|
-
if (object.budget_id !== undefined && object.budget_id !== null) {
|
|
4572
|
-
message.budgetId = BigInt(object.budget_id);
|
|
4573
|
-
}
|
|
4574
|
-
if (object.amount !== undefined && object.amount !== null) {
|
|
4575
|
-
message.amount = object.amount;
|
|
4576
|
-
}
|
|
4577
|
-
return message;
|
|
4578
|
-
},
|
|
4579
|
-
toAmino(message) {
|
|
4580
|
-
const obj = {};
|
|
4581
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
4582
|
-
obj.budget_id = message.budgetId !== BigInt(0) ? message.budgetId?.toString() : undefined;
|
|
4583
|
-
obj.amount = message.amount === "" ? undefined : message.amount;
|
|
4584
|
-
return obj;
|
|
4585
|
-
},
|
|
4586
|
-
fromAminoMsg(object) {
|
|
4587
|
-
return MsgTopUpTagBudget.fromAmino(object.value);
|
|
4588
|
-
},
|
|
4589
|
-
fromProtoMsg(message) {
|
|
4590
|
-
return MsgTopUpTagBudget.decode(message.value);
|
|
4591
|
-
},
|
|
4592
|
-
toProto(message) {
|
|
4593
|
-
return MsgTopUpTagBudget.encode(message).finish();
|
|
4594
|
-
},
|
|
4595
|
-
toProtoMsg(message) {
|
|
4596
|
-
return {
|
|
4597
|
-
typeUrl: "/sparkdream.forum.v1.MsgTopUpTagBudget",
|
|
4598
|
-
value: MsgTopUpTagBudget.encode(message).finish()
|
|
4599
|
-
};
|
|
4600
|
-
}
|
|
4601
|
-
};
|
|
4602
|
-
function createBaseMsgTopUpTagBudgetResponse() {
|
|
4603
|
-
return {};
|
|
4604
|
-
}
|
|
4605
|
-
/**
|
|
4606
|
-
* MsgTopUpTagBudgetResponse defines the MsgTopUpTagBudgetResponse message.
|
|
4607
|
-
* @name MsgTopUpTagBudgetResponse
|
|
4608
|
-
* @package sparkdream.forum.v1
|
|
4609
|
-
* @see proto type: sparkdream.forum.v1.MsgTopUpTagBudgetResponse
|
|
4610
|
-
*/
|
|
4611
|
-
export const MsgTopUpTagBudgetResponse = {
|
|
4612
|
-
typeUrl: "/sparkdream.forum.v1.MsgTopUpTagBudgetResponse",
|
|
4613
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
4614
|
-
return writer;
|
|
4615
|
-
},
|
|
4616
|
-
decode(input, length) {
|
|
4617
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4618
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4619
|
-
const message = createBaseMsgTopUpTagBudgetResponse();
|
|
4620
|
-
while (reader.pos < end) {
|
|
4621
|
-
const tag = reader.uint32();
|
|
4622
|
-
switch (tag >>> 3) {
|
|
4623
|
-
default:
|
|
4624
|
-
reader.skipType(tag & 7);
|
|
4625
|
-
break;
|
|
4626
|
-
}
|
|
4627
|
-
}
|
|
4628
|
-
return message;
|
|
4629
|
-
},
|
|
4630
|
-
fromPartial(_) {
|
|
4631
|
-
const message = createBaseMsgTopUpTagBudgetResponse();
|
|
4632
|
-
return message;
|
|
4633
|
-
},
|
|
4634
|
-
fromAmino(_) {
|
|
4635
|
-
const message = createBaseMsgTopUpTagBudgetResponse();
|
|
4636
|
-
return message;
|
|
4637
|
-
},
|
|
4638
|
-
toAmino(_) {
|
|
4639
|
-
const obj = {};
|
|
4640
|
-
return obj;
|
|
4641
|
-
},
|
|
4642
|
-
fromAminoMsg(object) {
|
|
4643
|
-
return MsgTopUpTagBudgetResponse.fromAmino(object.value);
|
|
4644
|
-
},
|
|
4645
|
-
fromProtoMsg(message) {
|
|
4646
|
-
return MsgTopUpTagBudgetResponse.decode(message.value);
|
|
4647
|
-
},
|
|
4648
|
-
toProto(message) {
|
|
4649
|
-
return MsgTopUpTagBudgetResponse.encode(message).finish();
|
|
4650
|
-
},
|
|
4651
|
-
toProtoMsg(message) {
|
|
4652
|
-
return {
|
|
4653
|
-
typeUrl: "/sparkdream.forum.v1.MsgTopUpTagBudgetResponse",
|
|
4654
|
-
value: MsgTopUpTagBudgetResponse.encode(message).finish()
|
|
4655
|
-
};
|
|
4656
|
-
}
|
|
4657
|
-
};
|
|
4658
|
-
function createBaseMsgToggleTagBudget() {
|
|
4659
|
-
return {
|
|
4660
|
-
creator: "",
|
|
4661
|
-
budgetId: BigInt(0),
|
|
4662
|
-
active: false
|
|
4663
|
-
};
|
|
4664
|
-
}
|
|
4665
|
-
/**
|
|
4666
|
-
* MsgToggleTagBudget defines the MsgToggleTagBudget message.
|
|
4667
|
-
* @name MsgToggleTagBudget
|
|
4668
|
-
* @package sparkdream.forum.v1
|
|
4669
|
-
* @see proto type: sparkdream.forum.v1.MsgToggleTagBudget
|
|
4670
|
-
*/
|
|
4671
|
-
export const MsgToggleTagBudget = {
|
|
4672
|
-
typeUrl: "/sparkdream.forum.v1.MsgToggleTagBudget",
|
|
4673
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
4674
|
-
if (message.creator !== "") {
|
|
4675
|
-
writer.uint32(10).string(message.creator);
|
|
4676
|
-
}
|
|
4677
|
-
if (message.budgetId !== BigInt(0)) {
|
|
4678
|
-
writer.uint32(16).uint64(message.budgetId);
|
|
4679
|
-
}
|
|
4680
|
-
if (message.active === true) {
|
|
4681
|
-
writer.uint32(24).bool(message.active);
|
|
4682
|
-
}
|
|
4683
|
-
return writer;
|
|
4684
|
-
},
|
|
4685
|
-
decode(input, length) {
|
|
4686
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4687
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4688
|
-
const message = createBaseMsgToggleTagBudget();
|
|
4689
|
-
while (reader.pos < end) {
|
|
4690
|
-
const tag = reader.uint32();
|
|
4691
|
-
switch (tag >>> 3) {
|
|
4692
|
-
case 1:
|
|
4693
|
-
message.creator = reader.string();
|
|
4694
|
-
break;
|
|
4695
|
-
case 2:
|
|
4696
|
-
message.budgetId = reader.uint64();
|
|
4697
|
-
break;
|
|
4698
|
-
case 3:
|
|
4699
|
-
message.active = reader.bool();
|
|
4700
|
-
break;
|
|
4701
|
-
default:
|
|
4702
|
-
reader.skipType(tag & 7);
|
|
4703
|
-
break;
|
|
4704
|
-
}
|
|
4705
|
-
}
|
|
4706
|
-
return message;
|
|
4707
|
-
},
|
|
4708
|
-
fromPartial(object) {
|
|
4709
|
-
const message = createBaseMsgToggleTagBudget();
|
|
4710
|
-
message.creator = object.creator ?? "";
|
|
4711
|
-
message.budgetId = object.budgetId !== undefined && object.budgetId !== null ? BigInt(object.budgetId.toString()) : BigInt(0);
|
|
4712
|
-
message.active = object.active ?? false;
|
|
4713
|
-
return message;
|
|
4714
|
-
},
|
|
4715
|
-
fromAmino(object) {
|
|
4716
|
-
const message = createBaseMsgToggleTagBudget();
|
|
4717
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
4718
|
-
message.creator = object.creator;
|
|
4719
|
-
}
|
|
4720
|
-
if (object.budget_id !== undefined && object.budget_id !== null) {
|
|
4721
|
-
message.budgetId = BigInt(object.budget_id);
|
|
4722
|
-
}
|
|
4723
|
-
if (object.active !== undefined && object.active !== null) {
|
|
4724
|
-
message.active = object.active;
|
|
4725
|
-
}
|
|
4726
|
-
return message;
|
|
4727
|
-
},
|
|
4728
|
-
toAmino(message) {
|
|
4729
|
-
const obj = {};
|
|
4730
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
4731
|
-
obj.budget_id = message.budgetId !== BigInt(0) ? message.budgetId?.toString() : undefined;
|
|
4732
|
-
obj.active = message.active === false ? undefined : message.active;
|
|
4733
|
-
return obj;
|
|
4734
|
-
},
|
|
4735
|
-
fromAminoMsg(object) {
|
|
4736
|
-
return MsgToggleTagBudget.fromAmino(object.value);
|
|
4737
|
-
},
|
|
4738
|
-
fromProtoMsg(message) {
|
|
4739
|
-
return MsgToggleTagBudget.decode(message.value);
|
|
4740
|
-
},
|
|
4741
|
-
toProto(message) {
|
|
4742
|
-
return MsgToggleTagBudget.encode(message).finish();
|
|
4743
|
-
},
|
|
4744
|
-
toProtoMsg(message) {
|
|
4745
|
-
return {
|
|
4746
|
-
typeUrl: "/sparkdream.forum.v1.MsgToggleTagBudget",
|
|
4747
|
-
value: MsgToggleTagBudget.encode(message).finish()
|
|
4748
|
-
};
|
|
4749
|
-
}
|
|
4750
|
-
};
|
|
4751
|
-
function createBaseMsgToggleTagBudgetResponse() {
|
|
4752
|
-
return {};
|
|
4753
|
-
}
|
|
4754
|
-
/**
|
|
4755
|
-
* MsgToggleTagBudgetResponse defines the MsgToggleTagBudgetResponse message.
|
|
4756
|
-
* @name MsgToggleTagBudgetResponse
|
|
4757
|
-
* @package sparkdream.forum.v1
|
|
4758
|
-
* @see proto type: sparkdream.forum.v1.MsgToggleTagBudgetResponse
|
|
4759
|
-
*/
|
|
4760
|
-
export const MsgToggleTagBudgetResponse = {
|
|
4761
|
-
typeUrl: "/sparkdream.forum.v1.MsgToggleTagBudgetResponse",
|
|
4762
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
4763
|
-
return writer;
|
|
4764
|
-
},
|
|
4765
|
-
decode(input, length) {
|
|
4766
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4767
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4768
|
-
const message = createBaseMsgToggleTagBudgetResponse();
|
|
4769
|
-
while (reader.pos < end) {
|
|
4770
|
-
const tag = reader.uint32();
|
|
4771
|
-
switch (tag >>> 3) {
|
|
4772
|
-
default:
|
|
4773
|
-
reader.skipType(tag & 7);
|
|
4774
|
-
break;
|
|
4775
|
-
}
|
|
4776
|
-
}
|
|
4777
|
-
return message;
|
|
4778
|
-
},
|
|
4779
|
-
fromPartial(_) {
|
|
4780
|
-
const message = createBaseMsgToggleTagBudgetResponse();
|
|
4781
|
-
return message;
|
|
4782
|
-
},
|
|
4783
|
-
fromAmino(_) {
|
|
4784
|
-
const message = createBaseMsgToggleTagBudgetResponse();
|
|
4785
|
-
return message;
|
|
4786
|
-
},
|
|
4787
|
-
toAmino(_) {
|
|
4788
|
-
const obj = {};
|
|
4789
|
-
return obj;
|
|
4790
|
-
},
|
|
4791
|
-
fromAminoMsg(object) {
|
|
4792
|
-
return MsgToggleTagBudgetResponse.fromAmino(object.value);
|
|
4793
|
-
},
|
|
4794
|
-
fromProtoMsg(message) {
|
|
4795
|
-
return MsgToggleTagBudgetResponse.decode(message.value);
|
|
4796
|
-
},
|
|
4797
|
-
toProto(message) {
|
|
4798
|
-
return MsgToggleTagBudgetResponse.encode(message).finish();
|
|
4799
|
-
},
|
|
4800
|
-
toProtoMsg(message) {
|
|
4801
|
-
return {
|
|
4802
|
-
typeUrl: "/sparkdream.forum.v1.MsgToggleTagBudgetResponse",
|
|
4803
|
-
value: MsgToggleTagBudgetResponse.encode(message).finish()
|
|
4804
|
-
};
|
|
4805
|
-
}
|
|
4806
|
-
};
|
|
4807
|
-
function createBaseMsgWithdrawTagBudget() {
|
|
4808
|
-
return {
|
|
4809
|
-
creator: "",
|
|
4810
|
-
budgetId: BigInt(0)
|
|
4811
|
-
};
|
|
4812
|
-
}
|
|
4813
|
-
/**
|
|
4814
|
-
* MsgWithdrawTagBudget defines the MsgWithdrawTagBudget message.
|
|
4815
|
-
* @name MsgWithdrawTagBudget
|
|
4816
|
-
* @package sparkdream.forum.v1
|
|
4817
|
-
* @see proto type: sparkdream.forum.v1.MsgWithdrawTagBudget
|
|
4818
|
-
*/
|
|
4819
|
-
export const MsgWithdrawTagBudget = {
|
|
4820
|
-
typeUrl: "/sparkdream.forum.v1.MsgWithdrawTagBudget",
|
|
4821
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
4822
|
-
if (message.creator !== "") {
|
|
4823
|
-
writer.uint32(10).string(message.creator);
|
|
4824
|
-
}
|
|
4825
|
-
if (message.budgetId !== BigInt(0)) {
|
|
4826
|
-
writer.uint32(16).uint64(message.budgetId);
|
|
4827
|
-
}
|
|
4828
|
-
return writer;
|
|
4829
|
-
},
|
|
4830
|
-
decode(input, length) {
|
|
4831
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4832
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4833
|
-
const message = createBaseMsgWithdrawTagBudget();
|
|
4834
|
-
while (reader.pos < end) {
|
|
4835
|
-
const tag = reader.uint32();
|
|
4836
|
-
switch (tag >>> 3) {
|
|
4837
|
-
case 1:
|
|
4838
|
-
message.creator = reader.string();
|
|
4839
|
-
break;
|
|
4840
|
-
case 2:
|
|
4841
|
-
message.budgetId = reader.uint64();
|
|
4842
|
-
break;
|
|
4843
|
-
default:
|
|
4844
|
-
reader.skipType(tag & 7);
|
|
4845
|
-
break;
|
|
4846
|
-
}
|
|
4847
|
-
}
|
|
4848
|
-
return message;
|
|
4849
|
-
},
|
|
4850
|
-
fromPartial(object) {
|
|
4851
|
-
const message = createBaseMsgWithdrawTagBudget();
|
|
4852
|
-
message.creator = object.creator ?? "";
|
|
4853
|
-
message.budgetId = object.budgetId !== undefined && object.budgetId !== null ? BigInt(object.budgetId.toString()) : BigInt(0);
|
|
4854
|
-
return message;
|
|
4855
|
-
},
|
|
4856
|
-
fromAmino(object) {
|
|
4857
|
-
const message = createBaseMsgWithdrawTagBudget();
|
|
4858
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
4859
|
-
message.creator = object.creator;
|
|
4860
|
-
}
|
|
4861
|
-
if (object.budget_id !== undefined && object.budget_id !== null) {
|
|
4862
|
-
message.budgetId = BigInt(object.budget_id);
|
|
4863
|
-
}
|
|
4864
|
-
return message;
|
|
4865
|
-
},
|
|
4866
|
-
toAmino(message) {
|
|
4867
|
-
const obj = {};
|
|
4868
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
4869
|
-
obj.budget_id = message.budgetId !== BigInt(0) ? message.budgetId?.toString() : undefined;
|
|
4870
|
-
return obj;
|
|
4871
|
-
},
|
|
4872
|
-
fromAminoMsg(object) {
|
|
4873
|
-
return MsgWithdrawTagBudget.fromAmino(object.value);
|
|
4874
|
-
},
|
|
4875
|
-
fromProtoMsg(message) {
|
|
4876
|
-
return MsgWithdrawTagBudget.decode(message.value);
|
|
4877
|
-
},
|
|
4878
|
-
toProto(message) {
|
|
4879
|
-
return MsgWithdrawTagBudget.encode(message).finish();
|
|
4880
|
-
},
|
|
4881
|
-
toProtoMsg(message) {
|
|
4882
|
-
return {
|
|
4883
|
-
typeUrl: "/sparkdream.forum.v1.MsgWithdrawTagBudget",
|
|
4884
|
-
value: MsgWithdrawTagBudget.encode(message).finish()
|
|
4885
|
-
};
|
|
4886
|
-
}
|
|
4887
|
-
};
|
|
4888
|
-
function createBaseMsgWithdrawTagBudgetResponse() {
|
|
4889
|
-
return {};
|
|
4890
|
-
}
|
|
4891
|
-
/**
|
|
4892
|
-
* MsgWithdrawTagBudgetResponse defines the MsgWithdrawTagBudgetResponse message.
|
|
4893
|
-
* @name MsgWithdrawTagBudgetResponse
|
|
4894
|
-
* @package sparkdream.forum.v1
|
|
4895
|
-
* @see proto type: sparkdream.forum.v1.MsgWithdrawTagBudgetResponse
|
|
4896
|
-
*/
|
|
4897
|
-
export const MsgWithdrawTagBudgetResponse = {
|
|
4898
|
-
typeUrl: "/sparkdream.forum.v1.MsgWithdrawTagBudgetResponse",
|
|
4899
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
4900
|
-
return writer;
|
|
4901
|
-
},
|
|
4902
|
-
decode(input, length) {
|
|
4903
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4904
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4905
|
-
const message = createBaseMsgWithdrawTagBudgetResponse();
|
|
4906
|
-
while (reader.pos < end) {
|
|
4907
|
-
const tag = reader.uint32();
|
|
4908
|
-
switch (tag >>> 3) {
|
|
4909
|
-
default:
|
|
4910
|
-
reader.skipType(tag & 7);
|
|
4911
|
-
break;
|
|
4912
|
-
}
|
|
4913
|
-
}
|
|
4914
|
-
return message;
|
|
4915
|
-
},
|
|
4916
|
-
fromPartial(_) {
|
|
4917
|
-
const message = createBaseMsgWithdrawTagBudgetResponse();
|
|
4918
|
-
return message;
|
|
4919
|
-
},
|
|
4920
|
-
fromAmino(_) {
|
|
4921
|
-
const message = createBaseMsgWithdrawTagBudgetResponse();
|
|
4922
|
-
return message;
|
|
4923
|
-
},
|
|
4924
|
-
toAmino(_) {
|
|
4925
|
-
const obj = {};
|
|
4926
|
-
return obj;
|
|
4927
|
-
},
|
|
4928
|
-
fromAminoMsg(object) {
|
|
4929
|
-
return MsgWithdrawTagBudgetResponse.fromAmino(object.value);
|
|
4930
|
-
},
|
|
4931
|
-
fromProtoMsg(message) {
|
|
4932
|
-
return MsgWithdrawTagBudgetResponse.decode(message.value);
|
|
4933
|
-
},
|
|
4934
|
-
toProto(message) {
|
|
4935
|
-
return MsgWithdrawTagBudgetResponse.encode(message).finish();
|
|
4936
|
-
},
|
|
4937
|
-
toProtoMsg(message) {
|
|
4938
|
-
return {
|
|
4939
|
-
typeUrl: "/sparkdream.forum.v1.MsgWithdrawTagBudgetResponse",
|
|
4940
|
-
value: MsgWithdrawTagBudgetResponse.encode(message).finish()
|
|
4941
|
-
};
|
|
4942
|
-
}
|
|
4943
|
-
};
|
|
4944
|
-
function createBaseMsgPinReply() {
|
|
4945
|
-
return {
|
|
4946
|
-
creator: "",
|
|
4947
|
-
threadId: BigInt(0),
|
|
4948
|
-
replyId: BigInt(0)
|
|
4949
|
-
};
|
|
4950
|
-
}
|
|
4951
|
-
/**
|
|
4952
|
-
* MsgPinReply defines the MsgPinReply message.
|
|
4953
|
-
* @name MsgPinReply
|
|
4954
|
-
* @package sparkdream.forum.v1
|
|
4955
|
-
* @see proto type: sparkdream.forum.v1.MsgPinReply
|
|
4956
|
-
*/
|
|
4957
|
-
export const MsgPinReply = {
|
|
4958
|
-
typeUrl: "/sparkdream.forum.v1.MsgPinReply",
|
|
4959
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
4960
|
-
if (message.creator !== "") {
|
|
4961
|
-
writer.uint32(10).string(message.creator);
|
|
4962
|
-
}
|
|
4963
|
-
if (message.threadId !== BigInt(0)) {
|
|
4964
|
-
writer.uint32(16).uint64(message.threadId);
|
|
4965
|
-
}
|
|
4966
|
-
if (message.replyId !== BigInt(0)) {
|
|
4967
|
-
writer.uint32(24).uint64(message.replyId);
|
|
4968
|
-
}
|
|
4969
|
-
return writer;
|
|
4970
|
-
},
|
|
4971
|
-
decode(input, length) {
|
|
4972
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4973
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4974
|
-
const message = createBaseMsgPinReply();
|
|
4975
|
-
while (reader.pos < end) {
|
|
4976
|
-
const tag = reader.uint32();
|
|
4977
|
-
switch (tag >>> 3) {
|
|
4978
|
-
case 1:
|
|
4979
|
-
message.creator = reader.string();
|
|
4980
|
-
break;
|
|
4981
|
-
case 2:
|
|
4982
|
-
message.threadId = reader.uint64();
|
|
4983
|
-
break;
|
|
4984
|
-
case 3:
|
|
4985
|
-
message.replyId = reader.uint64();
|
|
4986
|
-
break;
|
|
4987
|
-
default:
|
|
4988
|
-
reader.skipType(tag & 7);
|
|
4989
|
-
break;
|
|
4990
|
-
}
|
|
4991
|
-
}
|
|
4992
|
-
return message;
|
|
4993
|
-
},
|
|
4994
|
-
fromPartial(object) {
|
|
4995
|
-
const message = createBaseMsgPinReply();
|
|
4996
|
-
message.creator = object.creator ?? "";
|
|
4997
|
-
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
4998
|
-
message.replyId = object.replyId !== undefined && object.replyId !== null ? BigInt(object.replyId.toString()) : BigInt(0);
|
|
4999
|
-
return message;
|
|
5000
|
-
},
|
|
5001
|
-
fromAmino(object) {
|
|
5002
|
-
const message = createBaseMsgPinReply();
|
|
5003
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
5004
|
-
message.creator = object.creator;
|
|
5005
|
-
}
|
|
5006
|
-
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
5007
|
-
message.threadId = BigInt(object.thread_id);
|
|
5008
|
-
}
|
|
5009
|
-
if (object.reply_id !== undefined && object.reply_id !== null) {
|
|
5010
|
-
message.replyId = BigInt(object.reply_id);
|
|
5011
|
-
}
|
|
5012
|
-
return message;
|
|
5013
|
-
},
|
|
5014
|
-
toAmino(message) {
|
|
5015
|
-
const obj = {};
|
|
5016
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
5017
|
-
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
5018
|
-
obj.reply_id = message.replyId !== BigInt(0) ? message.replyId?.toString() : undefined;
|
|
5019
|
-
return obj;
|
|
5020
|
-
},
|
|
5021
|
-
fromAminoMsg(object) {
|
|
5022
|
-
return MsgPinReply.fromAmino(object.value);
|
|
5023
|
-
},
|
|
5024
|
-
fromProtoMsg(message) {
|
|
5025
|
-
return MsgPinReply.decode(message.value);
|
|
5026
|
-
},
|
|
5027
|
-
toProto(message) {
|
|
5028
|
-
return MsgPinReply.encode(message).finish();
|
|
5029
|
-
},
|
|
5030
|
-
toProtoMsg(message) {
|
|
5031
|
-
return {
|
|
5032
|
-
typeUrl: "/sparkdream.forum.v1.MsgPinReply",
|
|
5033
|
-
value: MsgPinReply.encode(message).finish()
|
|
5034
|
-
};
|
|
5035
|
-
}
|
|
5036
|
-
};
|
|
5037
|
-
function createBaseMsgPinReplyResponse() {
|
|
5038
|
-
return {};
|
|
5039
|
-
}
|
|
5040
|
-
/**
|
|
5041
|
-
* MsgPinReplyResponse defines the MsgPinReplyResponse message.
|
|
5042
|
-
* @name MsgPinReplyResponse
|
|
5043
|
-
* @package sparkdream.forum.v1
|
|
5044
|
-
* @see proto type: sparkdream.forum.v1.MsgPinReplyResponse
|
|
5045
|
-
*/
|
|
5046
|
-
export const MsgPinReplyResponse = {
|
|
5047
|
-
typeUrl: "/sparkdream.forum.v1.MsgPinReplyResponse",
|
|
5048
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
5049
|
-
return writer;
|
|
5050
|
-
},
|
|
5051
|
-
decode(input, length) {
|
|
5052
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5053
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5054
|
-
const message = createBaseMsgPinReplyResponse();
|
|
5055
|
-
while (reader.pos < end) {
|
|
5056
|
-
const tag = reader.uint32();
|
|
5057
|
-
switch (tag >>> 3) {
|
|
5058
|
-
default:
|
|
5059
|
-
reader.skipType(tag & 7);
|
|
5060
|
-
break;
|
|
5061
|
-
}
|
|
5062
|
-
}
|
|
5063
|
-
return message;
|
|
5064
|
-
},
|
|
5065
|
-
fromPartial(_) {
|
|
5066
|
-
const message = createBaseMsgPinReplyResponse();
|
|
5067
|
-
return message;
|
|
5068
|
-
},
|
|
5069
|
-
fromAmino(_) {
|
|
5070
|
-
const message = createBaseMsgPinReplyResponse();
|
|
5071
|
-
return message;
|
|
5072
|
-
},
|
|
5073
|
-
toAmino(_) {
|
|
5074
|
-
const obj = {};
|
|
5075
|
-
return obj;
|
|
5076
|
-
},
|
|
5077
|
-
fromAminoMsg(object) {
|
|
5078
|
-
return MsgPinReplyResponse.fromAmino(object.value);
|
|
5079
|
-
},
|
|
5080
|
-
fromProtoMsg(message) {
|
|
5081
|
-
return MsgPinReplyResponse.decode(message.value);
|
|
5082
|
-
},
|
|
5083
|
-
toProto(message) {
|
|
5084
|
-
return MsgPinReplyResponse.encode(message).finish();
|
|
5085
|
-
},
|
|
5086
|
-
toProtoMsg(message) {
|
|
5087
|
-
return {
|
|
5088
|
-
typeUrl: "/sparkdream.forum.v1.MsgPinReplyResponse",
|
|
5089
|
-
value: MsgPinReplyResponse.encode(message).finish()
|
|
5090
|
-
};
|
|
5091
|
-
}
|
|
5092
|
-
};
|
|
5093
|
-
function createBaseMsgUnpinReply() {
|
|
5094
|
-
return {
|
|
5095
|
-
creator: "",
|
|
5096
|
-
threadId: BigInt(0),
|
|
5097
|
-
replyId: BigInt(0)
|
|
5098
|
-
};
|
|
5099
|
-
}
|
|
5100
|
-
/**
|
|
5101
|
-
* MsgUnpinReply defines the MsgUnpinReply message.
|
|
5102
|
-
* @name MsgUnpinReply
|
|
5103
|
-
* @package sparkdream.forum.v1
|
|
5104
|
-
* @see proto type: sparkdream.forum.v1.MsgUnpinReply
|
|
5105
|
-
*/
|
|
5106
|
-
export const MsgUnpinReply = {
|
|
5107
|
-
typeUrl: "/sparkdream.forum.v1.MsgUnpinReply",
|
|
5108
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
5109
|
-
if (message.creator !== "") {
|
|
5110
|
-
writer.uint32(10).string(message.creator);
|
|
5111
|
-
}
|
|
5112
|
-
if (message.threadId !== BigInt(0)) {
|
|
5113
|
-
writer.uint32(16).uint64(message.threadId);
|
|
5114
|
-
}
|
|
5115
|
-
if (message.replyId !== BigInt(0)) {
|
|
5116
|
-
writer.uint32(24).uint64(message.replyId);
|
|
5117
|
-
}
|
|
5118
|
-
return writer;
|
|
5119
|
-
},
|
|
5120
|
-
decode(input, length) {
|
|
5121
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5122
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5123
|
-
const message = createBaseMsgUnpinReply();
|
|
5124
|
-
while (reader.pos < end) {
|
|
5125
|
-
const tag = reader.uint32();
|
|
5126
|
-
switch (tag >>> 3) {
|
|
5127
|
-
case 1:
|
|
5128
|
-
message.creator = reader.string();
|
|
5129
|
-
break;
|
|
5130
|
-
case 2:
|
|
5131
|
-
message.threadId = reader.uint64();
|
|
5132
|
-
break;
|
|
5133
|
-
case 3:
|
|
5134
|
-
message.replyId = reader.uint64();
|
|
5135
|
-
break;
|
|
5136
|
-
default:
|
|
5137
|
-
reader.skipType(tag & 7);
|
|
5138
|
-
break;
|
|
5139
|
-
}
|
|
5140
|
-
}
|
|
5141
|
-
return message;
|
|
5142
|
-
},
|
|
5143
|
-
fromPartial(object) {
|
|
5144
|
-
const message = createBaseMsgUnpinReply();
|
|
5145
|
-
message.creator = object.creator ?? "";
|
|
5146
|
-
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
5147
|
-
message.replyId = object.replyId !== undefined && object.replyId !== null ? BigInt(object.replyId.toString()) : BigInt(0);
|
|
5148
|
-
return message;
|
|
5149
|
-
},
|
|
5150
|
-
fromAmino(object) {
|
|
5151
|
-
const message = createBaseMsgUnpinReply();
|
|
5152
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
5153
|
-
message.creator = object.creator;
|
|
5154
|
-
}
|
|
5155
|
-
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
5156
|
-
message.threadId = BigInt(object.thread_id);
|
|
5157
|
-
}
|
|
5158
|
-
if (object.reply_id !== undefined && object.reply_id !== null) {
|
|
5159
|
-
message.replyId = BigInt(object.reply_id);
|
|
5160
|
-
}
|
|
5161
|
-
return message;
|
|
5162
|
-
},
|
|
5163
|
-
toAmino(message) {
|
|
5164
|
-
const obj = {};
|
|
5165
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
5166
|
-
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
5167
|
-
obj.reply_id = message.replyId !== BigInt(0) ? message.replyId?.toString() : undefined;
|
|
5168
|
-
return obj;
|
|
5169
|
-
},
|
|
5170
|
-
fromAminoMsg(object) {
|
|
5171
|
-
return MsgUnpinReply.fromAmino(object.value);
|
|
5172
|
-
},
|
|
5173
|
-
fromProtoMsg(message) {
|
|
5174
|
-
return MsgUnpinReply.decode(message.value);
|
|
5175
|
-
},
|
|
5176
|
-
toProto(message) {
|
|
5177
|
-
return MsgUnpinReply.encode(message).finish();
|
|
5178
|
-
},
|
|
5179
|
-
toProtoMsg(message) {
|
|
5180
|
-
return {
|
|
5181
|
-
typeUrl: "/sparkdream.forum.v1.MsgUnpinReply",
|
|
5182
|
-
value: MsgUnpinReply.encode(message).finish()
|
|
5183
|
-
};
|
|
5184
|
-
}
|
|
5185
|
-
};
|
|
5186
|
-
function createBaseMsgUnpinReplyResponse() {
|
|
5187
|
-
return {};
|
|
5188
|
-
}
|
|
5189
|
-
/**
|
|
5190
|
-
* MsgUnpinReplyResponse defines the MsgUnpinReplyResponse message.
|
|
5191
|
-
* @name MsgUnpinReplyResponse
|
|
5192
|
-
* @package sparkdream.forum.v1
|
|
5193
|
-
* @see proto type: sparkdream.forum.v1.MsgUnpinReplyResponse
|
|
5194
|
-
*/
|
|
5195
|
-
export const MsgUnpinReplyResponse = {
|
|
5196
|
-
typeUrl: "/sparkdream.forum.v1.MsgUnpinReplyResponse",
|
|
5197
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
5198
|
-
return writer;
|
|
5199
|
-
},
|
|
5200
|
-
decode(input, length) {
|
|
5201
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5202
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5203
|
-
const message = createBaseMsgUnpinReplyResponse();
|
|
5204
|
-
while (reader.pos < end) {
|
|
5205
|
-
const tag = reader.uint32();
|
|
5206
|
-
switch (tag >>> 3) {
|
|
5207
|
-
default:
|
|
5208
|
-
reader.skipType(tag & 7);
|
|
5209
|
-
break;
|
|
5210
|
-
}
|
|
5211
|
-
}
|
|
5212
|
-
return message;
|
|
5213
|
-
},
|
|
5214
|
-
fromPartial(_) {
|
|
5215
|
-
const message = createBaseMsgUnpinReplyResponse();
|
|
5216
|
-
return message;
|
|
5217
|
-
},
|
|
5218
|
-
fromAmino(_) {
|
|
5219
|
-
const message = createBaseMsgUnpinReplyResponse();
|
|
5220
|
-
return message;
|
|
5221
|
-
},
|
|
5222
|
-
toAmino(_) {
|
|
5223
|
-
const obj = {};
|
|
5224
|
-
return obj;
|
|
5225
|
-
},
|
|
5226
|
-
fromAminoMsg(object) {
|
|
5227
|
-
return MsgUnpinReplyResponse.fromAmino(object.value);
|
|
5228
|
-
},
|
|
5229
|
-
fromProtoMsg(message) {
|
|
5230
|
-
return MsgUnpinReplyResponse.decode(message.value);
|
|
5231
|
-
},
|
|
5232
|
-
toProto(message) {
|
|
5233
|
-
return MsgUnpinReplyResponse.encode(message).finish();
|
|
5234
|
-
},
|
|
5235
|
-
toProtoMsg(message) {
|
|
5236
|
-
return {
|
|
5237
|
-
typeUrl: "/sparkdream.forum.v1.MsgUnpinReplyResponse",
|
|
5238
|
-
value: MsgUnpinReplyResponse.encode(message).finish()
|
|
5239
|
-
};
|
|
5240
|
-
}
|
|
5241
|
-
};
|
|
5242
|
-
function createBaseMsgDisputePin() {
|
|
5243
|
-
return {
|
|
5244
|
-
creator: "",
|
|
5245
|
-
threadId: BigInt(0),
|
|
5246
|
-
replyId: BigInt(0),
|
|
5247
|
-
reason: ""
|
|
5248
|
-
};
|
|
5249
|
-
}
|
|
5250
|
-
/**
|
|
5251
|
-
* MsgDisputePin defines the MsgDisputePin message.
|
|
5252
|
-
* @name MsgDisputePin
|
|
5253
|
-
* @package sparkdream.forum.v1
|
|
5254
|
-
* @see proto type: sparkdream.forum.v1.MsgDisputePin
|
|
5255
|
-
*/
|
|
5256
|
-
export const MsgDisputePin = {
|
|
5257
|
-
typeUrl: "/sparkdream.forum.v1.MsgDisputePin",
|
|
5258
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
5259
|
-
if (message.creator !== "") {
|
|
5260
|
-
writer.uint32(10).string(message.creator);
|
|
5261
|
-
}
|
|
5262
|
-
if (message.threadId !== BigInt(0)) {
|
|
5263
|
-
writer.uint32(16).uint64(message.threadId);
|
|
5264
|
-
}
|
|
5265
|
-
if (message.replyId !== BigInt(0)) {
|
|
5266
|
-
writer.uint32(24).uint64(message.replyId);
|
|
5267
|
-
}
|
|
5268
|
-
if (message.reason !== "") {
|
|
5269
|
-
writer.uint32(34).string(message.reason);
|
|
5270
|
-
}
|
|
5271
|
-
return writer;
|
|
5272
|
-
},
|
|
5273
|
-
decode(input, length) {
|
|
5274
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5275
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5276
|
-
const message = createBaseMsgDisputePin();
|
|
5277
|
-
while (reader.pos < end) {
|
|
5278
|
-
const tag = reader.uint32();
|
|
5279
|
-
switch (tag >>> 3) {
|
|
5280
|
-
case 1:
|
|
5281
|
-
message.creator = reader.string();
|
|
5282
|
-
break;
|
|
5283
|
-
case 2:
|
|
5284
|
-
message.threadId = reader.uint64();
|
|
5285
|
-
break;
|
|
5286
|
-
case 3:
|
|
5287
|
-
message.replyId = reader.uint64();
|
|
5288
|
-
break;
|
|
5289
|
-
case 4:
|
|
5290
|
-
message.reason = reader.string();
|
|
5291
|
-
break;
|
|
5292
|
-
default:
|
|
5293
|
-
reader.skipType(tag & 7);
|
|
5294
|
-
break;
|
|
5295
|
-
}
|
|
5296
|
-
}
|
|
5297
|
-
return message;
|
|
5298
|
-
},
|
|
5299
|
-
fromPartial(object) {
|
|
5300
|
-
const message = createBaseMsgDisputePin();
|
|
5301
|
-
message.creator = object.creator ?? "";
|
|
5302
|
-
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
5303
|
-
message.replyId = object.replyId !== undefined && object.replyId !== null ? BigInt(object.replyId.toString()) : BigInt(0);
|
|
5304
|
-
message.reason = object.reason ?? "";
|
|
5305
|
-
return message;
|
|
5306
|
-
},
|
|
5307
|
-
fromAmino(object) {
|
|
5308
|
-
const message = createBaseMsgDisputePin();
|
|
5309
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
5310
|
-
message.creator = object.creator;
|
|
5311
|
-
}
|
|
5312
|
-
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
5313
|
-
message.threadId = BigInt(object.thread_id);
|
|
5314
|
-
}
|
|
5315
|
-
if (object.reply_id !== undefined && object.reply_id !== null) {
|
|
5316
|
-
message.replyId = BigInt(object.reply_id);
|
|
5317
|
-
}
|
|
5318
|
-
if (object.reason !== undefined && object.reason !== null) {
|
|
5319
|
-
message.reason = object.reason;
|
|
5320
|
-
}
|
|
5321
|
-
return message;
|
|
5322
|
-
},
|
|
5323
|
-
toAmino(message) {
|
|
5324
|
-
const obj = {};
|
|
5325
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
5326
|
-
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
5327
|
-
obj.reply_id = message.replyId !== BigInt(0) ? message.replyId?.toString() : undefined;
|
|
5328
|
-
obj.reason = message.reason === "" ? undefined : message.reason;
|
|
5329
|
-
return obj;
|
|
5330
|
-
},
|
|
5331
|
-
fromAminoMsg(object) {
|
|
5332
|
-
return MsgDisputePin.fromAmino(object.value);
|
|
5333
|
-
},
|
|
5334
|
-
fromProtoMsg(message) {
|
|
5335
|
-
return MsgDisputePin.decode(message.value);
|
|
5336
|
-
},
|
|
5337
|
-
toProto(message) {
|
|
5338
|
-
return MsgDisputePin.encode(message).finish();
|
|
5339
|
-
},
|
|
5340
|
-
toProtoMsg(message) {
|
|
5341
|
-
return {
|
|
5342
|
-
typeUrl: "/sparkdream.forum.v1.MsgDisputePin",
|
|
5343
|
-
value: MsgDisputePin.encode(message).finish()
|
|
5344
|
-
};
|
|
5345
|
-
}
|
|
5346
|
-
};
|
|
5347
|
-
function createBaseMsgDisputePinResponse() {
|
|
5348
|
-
return {};
|
|
5349
|
-
}
|
|
5350
|
-
/**
|
|
5351
|
-
* MsgDisputePinResponse defines the MsgDisputePinResponse message.
|
|
5352
|
-
* @name MsgDisputePinResponse
|
|
5353
|
-
* @package sparkdream.forum.v1
|
|
5354
|
-
* @see proto type: sparkdream.forum.v1.MsgDisputePinResponse
|
|
5355
|
-
*/
|
|
5356
|
-
export const MsgDisputePinResponse = {
|
|
5357
|
-
typeUrl: "/sparkdream.forum.v1.MsgDisputePinResponse",
|
|
5358
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
5359
|
-
return writer;
|
|
5360
|
-
},
|
|
5361
|
-
decode(input, length) {
|
|
5362
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5363
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5364
|
-
const message = createBaseMsgDisputePinResponse();
|
|
5365
|
-
while (reader.pos < end) {
|
|
5366
|
-
const tag = reader.uint32();
|
|
5367
|
-
switch (tag >>> 3) {
|
|
5368
|
-
default:
|
|
5369
|
-
reader.skipType(tag & 7);
|
|
5370
|
-
break;
|
|
5371
|
-
}
|
|
5372
|
-
}
|
|
5373
|
-
return message;
|
|
5374
|
-
},
|
|
5375
|
-
fromPartial(_) {
|
|
5376
|
-
const message = createBaseMsgDisputePinResponse();
|
|
5377
|
-
return message;
|
|
5378
|
-
},
|
|
5379
|
-
fromAmino(_) {
|
|
5380
|
-
const message = createBaseMsgDisputePinResponse();
|
|
5381
|
-
return message;
|
|
5382
|
-
},
|
|
5383
|
-
toAmino(_) {
|
|
5384
|
-
const obj = {};
|
|
5385
|
-
return obj;
|
|
5386
|
-
},
|
|
5387
|
-
fromAminoMsg(object) {
|
|
5388
|
-
return MsgDisputePinResponse.fromAmino(object.value);
|
|
5389
|
-
},
|
|
5390
|
-
fromProtoMsg(message) {
|
|
5391
|
-
return MsgDisputePinResponse.decode(message.value);
|
|
5392
|
-
},
|
|
5393
|
-
toProto(message) {
|
|
5394
|
-
return MsgDisputePinResponse.encode(message).finish();
|
|
5395
|
-
},
|
|
5396
|
-
toProtoMsg(message) {
|
|
5397
|
-
return {
|
|
5398
|
-
typeUrl: "/sparkdream.forum.v1.MsgDisputePinResponse",
|
|
5399
|
-
value: MsgDisputePinResponse.encode(message).finish()
|
|
5400
|
-
};
|
|
5401
|
-
}
|
|
5402
|
-
};
|
|
5403
|
-
function createBaseMsgMarkAcceptedReply() {
|
|
5404
|
-
return {
|
|
5405
|
-
creator: "",
|
|
5406
|
-
threadId: BigInt(0),
|
|
5407
|
-
replyId: BigInt(0)
|
|
5408
|
-
};
|
|
5409
|
-
}
|
|
5410
|
-
/**
|
|
5411
|
-
* MsgMarkAcceptedReply defines the MsgMarkAcceptedReply message.
|
|
5412
|
-
* @name MsgMarkAcceptedReply
|
|
5413
|
-
* @package sparkdream.forum.v1
|
|
5414
|
-
* @see proto type: sparkdream.forum.v1.MsgMarkAcceptedReply
|
|
5415
|
-
*/
|
|
5416
|
-
export const MsgMarkAcceptedReply = {
|
|
5417
|
-
typeUrl: "/sparkdream.forum.v1.MsgMarkAcceptedReply",
|
|
5418
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
5419
|
-
if (message.creator !== "") {
|
|
5420
|
-
writer.uint32(10).string(message.creator);
|
|
5421
|
-
}
|
|
5422
|
-
if (message.threadId !== BigInt(0)) {
|
|
5423
|
-
writer.uint32(16).uint64(message.threadId);
|
|
5424
|
-
}
|
|
5425
|
-
if (message.replyId !== BigInt(0)) {
|
|
5426
|
-
writer.uint32(24).uint64(message.replyId);
|
|
5427
|
-
}
|
|
5428
|
-
return writer;
|
|
5429
|
-
},
|
|
5430
|
-
decode(input, length) {
|
|
5431
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5432
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5433
|
-
const message = createBaseMsgMarkAcceptedReply();
|
|
5434
|
-
while (reader.pos < end) {
|
|
5435
|
-
const tag = reader.uint32();
|
|
5436
|
-
switch (tag >>> 3) {
|
|
5437
|
-
case 1:
|
|
5438
|
-
message.creator = reader.string();
|
|
5439
|
-
break;
|
|
5440
|
-
case 2:
|
|
5441
|
-
message.threadId = reader.uint64();
|
|
5442
|
-
break;
|
|
5443
|
-
case 3:
|
|
5444
|
-
message.replyId = reader.uint64();
|
|
5445
|
-
break;
|
|
5446
|
-
default:
|
|
5447
|
-
reader.skipType(tag & 7);
|
|
5448
|
-
break;
|
|
5449
|
-
}
|
|
5450
|
-
}
|
|
5451
|
-
return message;
|
|
5452
|
-
},
|
|
5453
|
-
fromPartial(object) {
|
|
5454
|
-
const message = createBaseMsgMarkAcceptedReply();
|
|
5455
|
-
message.creator = object.creator ?? "";
|
|
5456
|
-
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
5457
|
-
message.replyId = object.replyId !== undefined && object.replyId !== null ? BigInt(object.replyId.toString()) : BigInt(0);
|
|
5458
|
-
return message;
|
|
5459
|
-
},
|
|
5460
|
-
fromAmino(object) {
|
|
5461
|
-
const message = createBaseMsgMarkAcceptedReply();
|
|
5462
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
5463
|
-
message.creator = object.creator;
|
|
5464
|
-
}
|
|
5465
|
-
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
5466
|
-
message.threadId = BigInt(object.thread_id);
|
|
5467
|
-
}
|
|
5468
|
-
if (object.reply_id !== undefined && object.reply_id !== null) {
|
|
5469
|
-
message.replyId = BigInt(object.reply_id);
|
|
5470
|
-
}
|
|
5471
|
-
return message;
|
|
5472
|
-
},
|
|
5473
|
-
toAmino(message) {
|
|
5474
|
-
const obj = {};
|
|
5475
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
5476
|
-
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
5477
|
-
obj.reply_id = message.replyId !== BigInt(0) ? message.replyId?.toString() : undefined;
|
|
5478
|
-
return obj;
|
|
5479
|
-
},
|
|
5480
|
-
fromAminoMsg(object) {
|
|
5481
|
-
return MsgMarkAcceptedReply.fromAmino(object.value);
|
|
5482
|
-
},
|
|
5483
|
-
fromProtoMsg(message) {
|
|
5484
|
-
return MsgMarkAcceptedReply.decode(message.value);
|
|
5485
|
-
},
|
|
5486
|
-
toProto(message) {
|
|
5487
|
-
return MsgMarkAcceptedReply.encode(message).finish();
|
|
5488
|
-
},
|
|
5489
|
-
toProtoMsg(message) {
|
|
5490
|
-
return {
|
|
5491
|
-
typeUrl: "/sparkdream.forum.v1.MsgMarkAcceptedReply",
|
|
5492
|
-
value: MsgMarkAcceptedReply.encode(message).finish()
|
|
5493
|
-
};
|
|
5494
|
-
}
|
|
5495
|
-
};
|
|
5496
|
-
function createBaseMsgMarkAcceptedReplyResponse() {
|
|
5497
|
-
return {};
|
|
5498
|
-
}
|
|
5499
|
-
/**
|
|
5500
|
-
* MsgMarkAcceptedReplyResponse defines the MsgMarkAcceptedReplyResponse message.
|
|
5501
|
-
* @name MsgMarkAcceptedReplyResponse
|
|
5502
|
-
* @package sparkdream.forum.v1
|
|
5503
|
-
* @see proto type: sparkdream.forum.v1.MsgMarkAcceptedReplyResponse
|
|
5504
|
-
*/
|
|
5505
|
-
export const MsgMarkAcceptedReplyResponse = {
|
|
5506
|
-
typeUrl: "/sparkdream.forum.v1.MsgMarkAcceptedReplyResponse",
|
|
5507
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
5508
|
-
return writer;
|
|
5509
|
-
},
|
|
5510
|
-
decode(input, length) {
|
|
5511
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5512
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5513
|
-
const message = createBaseMsgMarkAcceptedReplyResponse();
|
|
5514
|
-
while (reader.pos < end) {
|
|
5515
|
-
const tag = reader.uint32();
|
|
5516
|
-
switch (tag >>> 3) {
|
|
5517
|
-
default:
|
|
5518
|
-
reader.skipType(tag & 7);
|
|
5519
|
-
break;
|
|
5520
|
-
}
|
|
5521
|
-
}
|
|
5522
|
-
return message;
|
|
5523
|
-
},
|
|
5524
|
-
fromPartial(_) {
|
|
5525
|
-
const message = createBaseMsgMarkAcceptedReplyResponse();
|
|
5526
|
-
return message;
|
|
5527
|
-
},
|
|
5528
|
-
fromAmino(_) {
|
|
5529
|
-
const message = createBaseMsgMarkAcceptedReplyResponse();
|
|
5530
|
-
return message;
|
|
5531
|
-
},
|
|
5532
|
-
toAmino(_) {
|
|
5533
|
-
const obj = {};
|
|
5534
|
-
return obj;
|
|
5535
|
-
},
|
|
5536
|
-
fromAminoMsg(object) {
|
|
5537
|
-
return MsgMarkAcceptedReplyResponse.fromAmino(object.value);
|
|
5538
|
-
},
|
|
5539
|
-
fromProtoMsg(message) {
|
|
5540
|
-
return MsgMarkAcceptedReplyResponse.decode(message.value);
|
|
5541
|
-
},
|
|
5542
|
-
toProto(message) {
|
|
5543
|
-
return MsgMarkAcceptedReplyResponse.encode(message).finish();
|
|
5544
|
-
},
|
|
5545
|
-
toProtoMsg(message) {
|
|
5546
|
-
return {
|
|
5547
|
-
typeUrl: "/sparkdream.forum.v1.MsgMarkAcceptedReplyResponse",
|
|
5548
|
-
value: MsgMarkAcceptedReplyResponse.encode(message).finish()
|
|
5549
|
-
};
|
|
5550
|
-
}
|
|
5551
|
-
};
|
|
5552
|
-
function createBaseMsgConfirmProposedReply() {
|
|
5553
|
-
return {
|
|
5554
|
-
creator: "",
|
|
5555
|
-
threadId: BigInt(0)
|
|
5556
|
-
};
|
|
5557
|
-
}
|
|
5558
|
-
/**
|
|
5559
|
-
* MsgConfirmProposedReply defines the MsgConfirmProposedReply message.
|
|
5560
|
-
* @name MsgConfirmProposedReply
|
|
5561
|
-
* @package sparkdream.forum.v1
|
|
5562
|
-
* @see proto type: sparkdream.forum.v1.MsgConfirmProposedReply
|
|
5563
|
-
*/
|
|
5564
|
-
export const MsgConfirmProposedReply = {
|
|
5565
|
-
typeUrl: "/sparkdream.forum.v1.MsgConfirmProposedReply",
|
|
5566
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
5567
|
-
if (message.creator !== "") {
|
|
5568
|
-
writer.uint32(10).string(message.creator);
|
|
5569
|
-
}
|
|
5570
|
-
if (message.threadId !== BigInt(0)) {
|
|
5571
|
-
writer.uint32(16).uint64(message.threadId);
|
|
5572
|
-
}
|
|
5573
|
-
return writer;
|
|
5574
|
-
},
|
|
5575
|
-
decode(input, length) {
|
|
5576
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5577
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5578
|
-
const message = createBaseMsgConfirmProposedReply();
|
|
5579
|
-
while (reader.pos < end) {
|
|
5580
|
-
const tag = reader.uint32();
|
|
5581
|
-
switch (tag >>> 3) {
|
|
5582
|
-
case 1:
|
|
5583
|
-
message.creator = reader.string();
|
|
5584
|
-
break;
|
|
5585
|
-
case 2:
|
|
5586
|
-
message.threadId = reader.uint64();
|
|
5587
|
-
break;
|
|
5588
|
-
default:
|
|
5589
|
-
reader.skipType(tag & 7);
|
|
5590
|
-
break;
|
|
5591
|
-
}
|
|
5592
|
-
}
|
|
5593
|
-
return message;
|
|
5594
|
-
},
|
|
5595
|
-
fromPartial(object) {
|
|
5596
|
-
const message = createBaseMsgConfirmProposedReply();
|
|
5597
|
-
message.creator = object.creator ?? "";
|
|
5598
|
-
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
5599
|
-
return message;
|
|
5600
|
-
},
|
|
5601
|
-
fromAmino(object) {
|
|
5602
|
-
const message = createBaseMsgConfirmProposedReply();
|
|
5603
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
5604
|
-
message.creator = object.creator;
|
|
5605
|
-
}
|
|
5606
|
-
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
5607
|
-
message.threadId = BigInt(object.thread_id);
|
|
5608
|
-
}
|
|
5609
|
-
return message;
|
|
5610
|
-
},
|
|
5611
|
-
toAmino(message) {
|
|
5612
|
-
const obj = {};
|
|
5613
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
5614
|
-
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
5615
|
-
return obj;
|
|
5616
|
-
},
|
|
5617
|
-
fromAminoMsg(object) {
|
|
5618
|
-
return MsgConfirmProposedReply.fromAmino(object.value);
|
|
5619
|
-
},
|
|
5620
|
-
fromProtoMsg(message) {
|
|
5621
|
-
return MsgConfirmProposedReply.decode(message.value);
|
|
5622
|
-
},
|
|
5623
|
-
toProto(message) {
|
|
5624
|
-
return MsgConfirmProposedReply.encode(message).finish();
|
|
5625
|
-
},
|
|
5626
|
-
toProtoMsg(message) {
|
|
5627
|
-
return {
|
|
5628
|
-
typeUrl: "/sparkdream.forum.v1.MsgConfirmProposedReply",
|
|
5629
|
-
value: MsgConfirmProposedReply.encode(message).finish()
|
|
5630
|
-
};
|
|
5631
|
-
}
|
|
5632
|
-
};
|
|
5633
|
-
function createBaseMsgConfirmProposedReplyResponse() {
|
|
5634
|
-
return {};
|
|
5635
|
-
}
|
|
5636
|
-
/**
|
|
5637
|
-
* MsgConfirmProposedReplyResponse defines the MsgConfirmProposedReplyResponse message.
|
|
5638
|
-
* @name MsgConfirmProposedReplyResponse
|
|
5639
|
-
* @package sparkdream.forum.v1
|
|
5640
|
-
* @see proto type: sparkdream.forum.v1.MsgConfirmProposedReplyResponse
|
|
5641
|
-
*/
|
|
5642
|
-
export const MsgConfirmProposedReplyResponse = {
|
|
5643
|
-
typeUrl: "/sparkdream.forum.v1.MsgConfirmProposedReplyResponse",
|
|
5644
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
5645
|
-
return writer;
|
|
5646
|
-
},
|
|
5647
|
-
decode(input, length) {
|
|
5648
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5649
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5650
|
-
const message = createBaseMsgConfirmProposedReplyResponse();
|
|
5651
|
-
while (reader.pos < end) {
|
|
5652
|
-
const tag = reader.uint32();
|
|
5653
|
-
switch (tag >>> 3) {
|
|
5654
|
-
default:
|
|
5655
|
-
reader.skipType(tag & 7);
|
|
5656
|
-
break;
|
|
5657
|
-
}
|
|
5658
|
-
}
|
|
5659
|
-
return message;
|
|
5660
|
-
},
|
|
5661
|
-
fromPartial(_) {
|
|
5662
|
-
const message = createBaseMsgConfirmProposedReplyResponse();
|
|
5663
|
-
return message;
|
|
5664
|
-
},
|
|
5665
|
-
fromAmino(_) {
|
|
5666
|
-
const message = createBaseMsgConfirmProposedReplyResponse();
|
|
5667
|
-
return message;
|
|
5668
|
-
},
|
|
5669
|
-
toAmino(_) {
|
|
5670
|
-
const obj = {};
|
|
5671
|
-
return obj;
|
|
5672
|
-
},
|
|
5673
|
-
fromAminoMsg(object) {
|
|
5674
|
-
return MsgConfirmProposedReplyResponse.fromAmino(object.value);
|
|
5675
|
-
},
|
|
5676
|
-
fromProtoMsg(message) {
|
|
5677
|
-
return MsgConfirmProposedReplyResponse.decode(message.value);
|
|
5678
|
-
},
|
|
5679
|
-
toProto(message) {
|
|
5680
|
-
return MsgConfirmProposedReplyResponse.encode(message).finish();
|
|
5681
|
-
},
|
|
5682
|
-
toProtoMsg(message) {
|
|
5683
|
-
return {
|
|
5684
|
-
typeUrl: "/sparkdream.forum.v1.MsgConfirmProposedReplyResponse",
|
|
5685
|
-
value: MsgConfirmProposedReplyResponse.encode(message).finish()
|
|
5686
|
-
};
|
|
5687
|
-
}
|
|
5688
|
-
};
|
|
5689
|
-
function createBaseMsgRejectProposedReply() {
|
|
5690
|
-
return {
|
|
5691
|
-
creator: "",
|
|
5692
|
-
threadId: BigInt(0),
|
|
5693
|
-
reason: ""
|
|
5694
|
-
};
|
|
5695
|
-
}
|
|
5696
|
-
/**
|
|
5697
|
-
* MsgRejectProposedReply defines the MsgRejectProposedReply message.
|
|
5698
|
-
* @name MsgRejectProposedReply
|
|
5699
|
-
* @package sparkdream.forum.v1
|
|
5700
|
-
* @see proto type: sparkdream.forum.v1.MsgRejectProposedReply
|
|
5701
|
-
*/
|
|
5702
|
-
export const MsgRejectProposedReply = {
|
|
5703
|
-
typeUrl: "/sparkdream.forum.v1.MsgRejectProposedReply",
|
|
5704
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
5705
|
-
if (message.creator !== "") {
|
|
5706
|
-
writer.uint32(10).string(message.creator);
|
|
5707
|
-
}
|
|
5708
|
-
if (message.threadId !== BigInt(0)) {
|
|
5709
|
-
writer.uint32(16).uint64(message.threadId);
|
|
5710
|
-
}
|
|
5711
|
-
if (message.reason !== "") {
|
|
5712
|
-
writer.uint32(26).string(message.reason);
|
|
5713
|
-
}
|
|
5714
|
-
return writer;
|
|
5715
|
-
},
|
|
5716
|
-
decode(input, length) {
|
|
5717
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5718
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5719
|
-
const message = createBaseMsgRejectProposedReply();
|
|
5720
|
-
while (reader.pos < end) {
|
|
5721
|
-
const tag = reader.uint32();
|
|
5722
|
-
switch (tag >>> 3) {
|
|
5723
|
-
case 1:
|
|
5724
|
-
message.creator = reader.string();
|
|
5725
|
-
break;
|
|
5726
|
-
case 2:
|
|
5727
|
-
message.threadId = reader.uint64();
|
|
5728
|
-
break;
|
|
5729
|
-
case 3:
|
|
5730
|
-
message.reason = reader.string();
|
|
5731
|
-
break;
|
|
5732
|
-
default:
|
|
5733
|
-
reader.skipType(tag & 7);
|
|
5734
|
-
break;
|
|
5735
|
-
}
|
|
5736
|
-
}
|
|
5737
|
-
return message;
|
|
5738
|
-
},
|
|
5739
|
-
fromPartial(object) {
|
|
5740
|
-
const message = createBaseMsgRejectProposedReply();
|
|
5741
|
-
message.creator = object.creator ?? "";
|
|
5742
|
-
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
5743
|
-
message.reason = object.reason ?? "";
|
|
5744
|
-
return message;
|
|
5745
|
-
},
|
|
5746
|
-
fromAmino(object) {
|
|
5747
|
-
const message = createBaseMsgRejectProposedReply();
|
|
5748
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
5749
|
-
message.creator = object.creator;
|
|
5750
|
-
}
|
|
5751
|
-
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
5752
|
-
message.threadId = BigInt(object.thread_id);
|
|
5753
|
-
}
|
|
5754
|
-
if (object.reason !== undefined && object.reason !== null) {
|
|
5755
|
-
message.reason = object.reason;
|
|
5756
|
-
}
|
|
5757
|
-
return message;
|
|
5758
|
-
},
|
|
5759
|
-
toAmino(message) {
|
|
5760
|
-
const obj = {};
|
|
5761
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
5762
|
-
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
5763
|
-
obj.reason = message.reason === "" ? undefined : message.reason;
|
|
5764
|
-
return obj;
|
|
5765
|
-
},
|
|
5766
|
-
fromAminoMsg(object) {
|
|
5767
|
-
return MsgRejectProposedReply.fromAmino(object.value);
|
|
5768
|
-
},
|
|
5769
|
-
fromProtoMsg(message) {
|
|
5770
|
-
return MsgRejectProposedReply.decode(message.value);
|
|
5771
|
-
},
|
|
5772
|
-
toProto(message) {
|
|
5773
|
-
return MsgRejectProposedReply.encode(message).finish();
|
|
5774
|
-
},
|
|
5775
|
-
toProtoMsg(message) {
|
|
5776
|
-
return {
|
|
5777
|
-
typeUrl: "/sparkdream.forum.v1.MsgRejectProposedReply",
|
|
5778
|
-
value: MsgRejectProposedReply.encode(message).finish()
|
|
5779
|
-
};
|
|
5780
|
-
}
|
|
5781
|
-
};
|
|
5782
|
-
function createBaseMsgRejectProposedReplyResponse() {
|
|
5783
|
-
return {};
|
|
5784
|
-
}
|
|
5785
|
-
/**
|
|
5786
|
-
* MsgRejectProposedReplyResponse defines the MsgRejectProposedReplyResponse message.
|
|
5787
|
-
* @name MsgRejectProposedReplyResponse
|
|
5788
|
-
* @package sparkdream.forum.v1
|
|
5789
|
-
* @see proto type: sparkdream.forum.v1.MsgRejectProposedReplyResponse
|
|
5790
|
-
*/
|
|
5791
|
-
export const MsgRejectProposedReplyResponse = {
|
|
5792
|
-
typeUrl: "/sparkdream.forum.v1.MsgRejectProposedReplyResponse",
|
|
5793
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
5794
|
-
return writer;
|
|
5795
|
-
},
|
|
5796
|
-
decode(input, length) {
|
|
5797
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5798
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5799
|
-
const message = createBaseMsgRejectProposedReplyResponse();
|
|
5800
|
-
while (reader.pos < end) {
|
|
5801
|
-
const tag = reader.uint32();
|
|
5802
|
-
switch (tag >>> 3) {
|
|
5803
|
-
default:
|
|
5804
|
-
reader.skipType(tag & 7);
|
|
5805
|
-
break;
|
|
5806
|
-
}
|
|
5807
|
-
}
|
|
5808
|
-
return message;
|
|
5809
|
-
},
|
|
5810
|
-
fromPartial(_) {
|
|
5811
|
-
const message = createBaseMsgRejectProposedReplyResponse();
|
|
5812
|
-
return message;
|
|
5813
|
-
},
|
|
5814
|
-
fromAmino(_) {
|
|
5815
|
-
const message = createBaseMsgRejectProposedReplyResponse();
|
|
5816
|
-
return message;
|
|
5817
|
-
},
|
|
5818
|
-
toAmino(_) {
|
|
5819
|
-
const obj = {};
|
|
5820
|
-
return obj;
|
|
5821
|
-
},
|
|
5822
|
-
fromAminoMsg(object) {
|
|
5823
|
-
return MsgRejectProposedReplyResponse.fromAmino(object.value);
|
|
5824
|
-
},
|
|
5825
|
-
fromProtoMsg(message) {
|
|
5826
|
-
return MsgRejectProposedReplyResponse.decode(message.value);
|
|
5827
|
-
},
|
|
5828
|
-
toProto(message) {
|
|
5829
|
-
return MsgRejectProposedReplyResponse.encode(message).finish();
|
|
5830
|
-
},
|
|
5831
|
-
toProtoMsg(message) {
|
|
5832
|
-
return {
|
|
5833
|
-
typeUrl: "/sparkdream.forum.v1.MsgRejectProposedReplyResponse",
|
|
5834
|
-
value: MsgRejectProposedReplyResponse.encode(message).finish()
|
|
5835
|
-
};
|
|
5836
|
-
}
|
|
5837
|
-
};
|
|
5838
|
-
function createBaseMsgSetForumPaused() {
|
|
5839
|
-
return {
|
|
5840
|
-
creator: "",
|
|
5841
|
-
paused: false
|
|
5842
|
-
};
|
|
5843
|
-
}
|
|
5844
|
-
/**
|
|
5845
|
-
* MsgSetForumPaused defines the MsgSetForumPaused message.
|
|
5846
|
-
* @name MsgSetForumPaused
|
|
5847
|
-
* @package sparkdream.forum.v1
|
|
5848
|
-
* @see proto type: sparkdream.forum.v1.MsgSetForumPaused
|
|
5849
|
-
*/
|
|
5850
|
-
export const MsgSetForumPaused = {
|
|
5851
|
-
typeUrl: "/sparkdream.forum.v1.MsgSetForumPaused",
|
|
5852
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
5853
|
-
if (message.creator !== "") {
|
|
5854
|
-
writer.uint32(10).string(message.creator);
|
|
5855
|
-
}
|
|
5856
|
-
if (message.paused === true) {
|
|
5857
|
-
writer.uint32(16).bool(message.paused);
|
|
5858
|
-
}
|
|
5859
|
-
return writer;
|
|
5860
|
-
},
|
|
5861
|
-
decode(input, length) {
|
|
5862
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5863
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5864
|
-
const message = createBaseMsgSetForumPaused();
|
|
5865
|
-
while (reader.pos < end) {
|
|
5866
|
-
const tag = reader.uint32();
|
|
5867
|
-
switch (tag >>> 3) {
|
|
5868
|
-
case 1:
|
|
5869
|
-
message.creator = reader.string();
|
|
5870
|
-
break;
|
|
5871
|
-
case 2:
|
|
5872
|
-
message.paused = reader.bool();
|
|
5873
|
-
break;
|
|
5874
|
-
default:
|
|
5875
|
-
reader.skipType(tag & 7);
|
|
5876
|
-
break;
|
|
5877
|
-
}
|
|
5878
|
-
}
|
|
5879
|
-
return message;
|
|
5880
|
-
},
|
|
5881
|
-
fromPartial(object) {
|
|
5882
|
-
const message = createBaseMsgSetForumPaused();
|
|
5883
|
-
message.creator = object.creator ?? "";
|
|
5884
|
-
message.paused = object.paused ?? false;
|
|
5885
|
-
return message;
|
|
5886
|
-
},
|
|
5887
|
-
fromAmino(object) {
|
|
5888
|
-
const message = createBaseMsgSetForumPaused();
|
|
5889
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
5890
|
-
message.creator = object.creator;
|
|
5891
|
-
}
|
|
5892
|
-
if (object.paused !== undefined && object.paused !== null) {
|
|
5893
|
-
message.paused = object.paused;
|
|
5894
|
-
}
|
|
5895
|
-
return message;
|
|
5896
|
-
},
|
|
5897
|
-
toAmino(message) {
|
|
5898
|
-
const obj = {};
|
|
5899
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
5900
|
-
obj.paused = message.paused === false ? undefined : message.paused;
|
|
5901
|
-
return obj;
|
|
5902
|
-
},
|
|
5903
|
-
fromAminoMsg(object) {
|
|
5904
|
-
return MsgSetForumPaused.fromAmino(object.value);
|
|
5905
|
-
},
|
|
5906
|
-
fromProtoMsg(message) {
|
|
5907
|
-
return MsgSetForumPaused.decode(message.value);
|
|
5908
|
-
},
|
|
5909
|
-
toProto(message) {
|
|
5910
|
-
return MsgSetForumPaused.encode(message).finish();
|
|
5911
|
-
},
|
|
5912
|
-
toProtoMsg(message) {
|
|
5913
|
-
return {
|
|
5914
|
-
typeUrl: "/sparkdream.forum.v1.MsgSetForumPaused",
|
|
5915
|
-
value: MsgSetForumPaused.encode(message).finish()
|
|
5916
|
-
};
|
|
5917
|
-
}
|
|
5918
|
-
};
|
|
5919
|
-
function createBaseMsgSetForumPausedResponse() {
|
|
5920
|
-
return {};
|
|
5921
|
-
}
|
|
5922
|
-
/**
|
|
5923
|
-
* MsgSetForumPausedResponse defines the MsgSetForumPausedResponse message.
|
|
5924
|
-
* @name MsgSetForumPausedResponse
|
|
5925
|
-
* @package sparkdream.forum.v1
|
|
5926
|
-
* @see proto type: sparkdream.forum.v1.MsgSetForumPausedResponse
|
|
5927
|
-
*/
|
|
5928
|
-
export const MsgSetForumPausedResponse = {
|
|
5929
|
-
typeUrl: "/sparkdream.forum.v1.MsgSetForumPausedResponse",
|
|
5930
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
5931
|
-
return writer;
|
|
5932
|
-
},
|
|
5933
|
-
decode(input, length) {
|
|
5934
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5935
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5936
|
-
const message = createBaseMsgSetForumPausedResponse();
|
|
5937
|
-
while (reader.pos < end) {
|
|
5938
|
-
const tag = reader.uint32();
|
|
5939
|
-
switch (tag >>> 3) {
|
|
5940
|
-
default:
|
|
5941
|
-
reader.skipType(tag & 7);
|
|
5942
|
-
break;
|
|
5943
|
-
}
|
|
5944
|
-
}
|
|
5945
|
-
return message;
|
|
5946
|
-
},
|
|
5947
|
-
fromPartial(_) {
|
|
5948
|
-
const message = createBaseMsgSetForumPausedResponse();
|
|
5949
|
-
return message;
|
|
5950
|
-
},
|
|
5951
|
-
fromAmino(_) {
|
|
5952
|
-
const message = createBaseMsgSetForumPausedResponse();
|
|
5953
|
-
return message;
|
|
5954
|
-
},
|
|
5955
|
-
toAmino(_) {
|
|
5956
|
-
const obj = {};
|
|
5957
|
-
return obj;
|
|
5958
|
-
},
|
|
5959
|
-
fromAminoMsg(object) {
|
|
5960
|
-
return MsgSetForumPausedResponse.fromAmino(object.value);
|
|
5961
|
-
},
|
|
5962
|
-
fromProtoMsg(message) {
|
|
5963
|
-
return MsgSetForumPausedResponse.decode(message.value);
|
|
5964
|
-
},
|
|
5965
|
-
toProto(message) {
|
|
5966
|
-
return MsgSetForumPausedResponse.encode(message).finish();
|
|
5967
|
-
},
|
|
5968
|
-
toProtoMsg(message) {
|
|
5969
|
-
return {
|
|
5970
|
-
typeUrl: "/sparkdream.forum.v1.MsgSetForumPausedResponse",
|
|
5971
|
-
value: MsgSetForumPausedResponse.encode(message).finish()
|
|
5972
|
-
};
|
|
5973
|
-
}
|
|
5974
|
-
};
|
|
5975
|
-
function createBaseMsgSetModerationPaused() {
|
|
5976
|
-
return {
|
|
5977
|
-
creator: "",
|
|
5978
|
-
paused: false
|
|
5979
|
-
};
|
|
5980
|
-
}
|
|
5981
|
-
/**
|
|
5982
|
-
* MsgSetModerationPaused defines the MsgSetModerationPaused message.
|
|
5983
|
-
* @name MsgSetModerationPaused
|
|
5984
|
-
* @package sparkdream.forum.v1
|
|
5985
|
-
* @see proto type: sparkdream.forum.v1.MsgSetModerationPaused
|
|
5986
|
-
*/
|
|
5987
|
-
export const MsgSetModerationPaused = {
|
|
5988
|
-
typeUrl: "/sparkdream.forum.v1.MsgSetModerationPaused",
|
|
5989
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
5990
|
-
if (message.creator !== "") {
|
|
5991
|
-
writer.uint32(10).string(message.creator);
|
|
5992
|
-
}
|
|
5993
|
-
if (message.paused === true) {
|
|
5994
|
-
writer.uint32(16).bool(message.paused);
|
|
5995
|
-
}
|
|
5996
|
-
return writer;
|
|
5997
|
-
},
|
|
5998
|
-
decode(input, length) {
|
|
5999
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6000
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6001
|
-
const message = createBaseMsgSetModerationPaused();
|
|
6002
|
-
while (reader.pos < end) {
|
|
6003
|
-
const tag = reader.uint32();
|
|
6004
|
-
switch (tag >>> 3) {
|
|
6005
|
-
case 1:
|
|
6006
|
-
message.creator = reader.string();
|
|
6007
|
-
break;
|
|
6008
|
-
case 2:
|
|
6009
|
-
message.paused = reader.bool();
|
|
6010
|
-
break;
|
|
6011
|
-
default:
|
|
6012
|
-
reader.skipType(tag & 7);
|
|
6013
|
-
break;
|
|
6014
|
-
}
|
|
6015
|
-
}
|
|
6016
|
-
return message;
|
|
6017
|
-
},
|
|
6018
|
-
fromPartial(object) {
|
|
6019
|
-
const message = createBaseMsgSetModerationPaused();
|
|
6020
|
-
message.creator = object.creator ?? "";
|
|
6021
|
-
message.paused = object.paused ?? false;
|
|
6022
|
-
return message;
|
|
6023
|
-
},
|
|
6024
|
-
fromAmino(object) {
|
|
6025
|
-
const message = createBaseMsgSetModerationPaused();
|
|
6026
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
6027
|
-
message.creator = object.creator;
|
|
6028
|
-
}
|
|
6029
|
-
if (object.paused !== undefined && object.paused !== null) {
|
|
6030
|
-
message.paused = object.paused;
|
|
6031
|
-
}
|
|
6032
|
-
return message;
|
|
6033
|
-
},
|
|
6034
|
-
toAmino(message) {
|
|
6035
|
-
const obj = {};
|
|
6036
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
6037
|
-
obj.paused = message.paused === false ? undefined : message.paused;
|
|
6038
|
-
return obj;
|
|
6039
|
-
},
|
|
6040
|
-
fromAminoMsg(object) {
|
|
6041
|
-
return MsgSetModerationPaused.fromAmino(object.value);
|
|
6042
|
-
},
|
|
6043
|
-
fromProtoMsg(message) {
|
|
6044
|
-
return MsgSetModerationPaused.decode(message.value);
|
|
6045
|
-
},
|
|
6046
|
-
toProto(message) {
|
|
6047
|
-
return MsgSetModerationPaused.encode(message).finish();
|
|
6048
|
-
},
|
|
6049
|
-
toProtoMsg(message) {
|
|
6050
|
-
return {
|
|
6051
|
-
typeUrl: "/sparkdream.forum.v1.MsgSetModerationPaused",
|
|
6052
|
-
value: MsgSetModerationPaused.encode(message).finish()
|
|
6053
|
-
};
|
|
6054
|
-
}
|
|
6055
|
-
};
|
|
6056
|
-
function createBaseMsgSetModerationPausedResponse() {
|
|
6057
|
-
return {};
|
|
6058
|
-
}
|
|
6059
|
-
/**
|
|
6060
|
-
* MsgSetModerationPausedResponse defines the MsgSetModerationPausedResponse message.
|
|
6061
|
-
* @name MsgSetModerationPausedResponse
|
|
6062
|
-
* @package sparkdream.forum.v1
|
|
6063
|
-
* @see proto type: sparkdream.forum.v1.MsgSetModerationPausedResponse
|
|
6064
|
-
*/
|
|
6065
|
-
export const MsgSetModerationPausedResponse = {
|
|
6066
|
-
typeUrl: "/sparkdream.forum.v1.MsgSetModerationPausedResponse",
|
|
6067
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
6068
|
-
return writer;
|
|
6069
|
-
},
|
|
6070
|
-
decode(input, length) {
|
|
6071
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6072
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6073
|
-
const message = createBaseMsgSetModerationPausedResponse();
|
|
6074
|
-
while (reader.pos < end) {
|
|
6075
|
-
const tag = reader.uint32();
|
|
6076
|
-
switch (tag >>> 3) {
|
|
6077
|
-
default:
|
|
6078
|
-
reader.skipType(tag & 7);
|
|
6079
|
-
break;
|
|
6080
|
-
}
|
|
6081
|
-
}
|
|
6082
|
-
return message;
|
|
6083
|
-
},
|
|
6084
|
-
fromPartial(_) {
|
|
6085
|
-
const message = createBaseMsgSetModerationPausedResponse();
|
|
6086
|
-
return message;
|
|
6087
|
-
},
|
|
6088
|
-
fromAmino(_) {
|
|
6089
|
-
const message = createBaseMsgSetModerationPausedResponse();
|
|
6090
|
-
return message;
|
|
6091
|
-
},
|
|
6092
|
-
toAmino(_) {
|
|
6093
|
-
const obj = {};
|
|
6094
|
-
return obj;
|
|
6095
|
-
},
|
|
6096
|
-
fromAminoMsg(object) {
|
|
6097
|
-
return MsgSetModerationPausedResponse.fromAmino(object.value);
|
|
6098
|
-
},
|
|
6099
|
-
fromProtoMsg(message) {
|
|
6100
|
-
return MsgSetModerationPausedResponse.decode(message.value);
|
|
6101
|
-
},
|
|
6102
|
-
toProto(message) {
|
|
6103
|
-
return MsgSetModerationPausedResponse.encode(message).finish();
|
|
6104
|
-
},
|
|
6105
|
-
toProtoMsg(message) {
|
|
6106
|
-
return {
|
|
6107
|
-
typeUrl: "/sparkdream.forum.v1.MsgSetModerationPausedResponse",
|
|
6108
|
-
value: MsgSetModerationPausedResponse.encode(message).finish()
|
|
6109
|
-
};
|
|
6110
|
-
}
|
|
6111
|
-
};
|
|
6112
|
-
function createBaseMsgReportTag() {
|
|
6113
|
-
return {
|
|
6114
|
-
creator: "",
|
|
6115
|
-
tagName: "",
|
|
6116
|
-
reason: ""
|
|
6117
|
-
};
|
|
6118
|
-
}
|
|
6119
|
-
/**
|
|
6120
|
-
* MsgReportTag defines the MsgReportTag message.
|
|
6121
|
-
* @name MsgReportTag
|
|
6122
|
-
* @package sparkdream.forum.v1
|
|
6123
|
-
* @see proto type: sparkdream.forum.v1.MsgReportTag
|
|
6124
|
-
*/
|
|
6125
|
-
export const MsgReportTag = {
|
|
6126
|
-
typeUrl: "/sparkdream.forum.v1.MsgReportTag",
|
|
6127
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
6128
|
-
if (message.creator !== "") {
|
|
6129
|
-
writer.uint32(10).string(message.creator);
|
|
6130
|
-
}
|
|
6131
|
-
if (message.tagName !== "") {
|
|
6132
|
-
writer.uint32(18).string(message.tagName);
|
|
6133
|
-
}
|
|
6134
|
-
if (message.reason !== "") {
|
|
6135
|
-
writer.uint32(26).string(message.reason);
|
|
6136
|
-
}
|
|
6137
|
-
return writer;
|
|
6138
|
-
},
|
|
6139
|
-
decode(input, length) {
|
|
6140
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6141
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6142
|
-
const message = createBaseMsgReportTag();
|
|
6143
|
-
while (reader.pos < end) {
|
|
6144
|
-
const tag = reader.uint32();
|
|
6145
|
-
switch (tag >>> 3) {
|
|
6146
|
-
case 1:
|
|
6147
|
-
message.creator = reader.string();
|
|
6148
|
-
break;
|
|
6149
|
-
case 2:
|
|
6150
|
-
message.tagName = reader.string();
|
|
6151
|
-
break;
|
|
6152
|
-
case 3:
|
|
6153
|
-
message.reason = reader.string();
|
|
6154
|
-
break;
|
|
6155
|
-
default:
|
|
6156
|
-
reader.skipType(tag & 7);
|
|
6157
|
-
break;
|
|
6158
|
-
}
|
|
6159
|
-
}
|
|
6160
|
-
return message;
|
|
6161
|
-
},
|
|
6162
|
-
fromPartial(object) {
|
|
6163
|
-
const message = createBaseMsgReportTag();
|
|
6164
|
-
message.creator = object.creator ?? "";
|
|
6165
|
-
message.tagName = object.tagName ?? "";
|
|
6166
|
-
message.reason = object.reason ?? "";
|
|
6167
|
-
return message;
|
|
6168
|
-
},
|
|
6169
|
-
fromAmino(object) {
|
|
6170
|
-
const message = createBaseMsgReportTag();
|
|
6171
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
6172
|
-
message.creator = object.creator;
|
|
6173
|
-
}
|
|
6174
|
-
if (object.tag_name !== undefined && object.tag_name !== null) {
|
|
6175
|
-
message.tagName = object.tag_name;
|
|
6176
|
-
}
|
|
6177
|
-
if (object.reason !== undefined && object.reason !== null) {
|
|
6178
|
-
message.reason = object.reason;
|
|
6179
|
-
}
|
|
6180
|
-
return message;
|
|
6181
|
-
},
|
|
6182
|
-
toAmino(message) {
|
|
6183
|
-
const obj = {};
|
|
6184
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
6185
|
-
obj.tag_name = message.tagName === "" ? undefined : message.tagName;
|
|
6186
|
-
obj.reason = message.reason === "" ? undefined : message.reason;
|
|
6187
|
-
return obj;
|
|
6188
|
-
},
|
|
6189
|
-
fromAminoMsg(object) {
|
|
6190
|
-
return MsgReportTag.fromAmino(object.value);
|
|
6191
|
-
},
|
|
6192
|
-
fromProtoMsg(message) {
|
|
6193
|
-
return MsgReportTag.decode(message.value);
|
|
6194
|
-
},
|
|
6195
|
-
toProto(message) {
|
|
6196
|
-
return MsgReportTag.encode(message).finish();
|
|
6197
|
-
},
|
|
6198
|
-
toProtoMsg(message) {
|
|
6199
|
-
return {
|
|
6200
|
-
typeUrl: "/sparkdream.forum.v1.MsgReportTag",
|
|
6201
|
-
value: MsgReportTag.encode(message).finish()
|
|
6202
|
-
};
|
|
6203
|
-
}
|
|
6204
|
-
};
|
|
6205
|
-
function createBaseMsgReportTagResponse() {
|
|
6206
|
-
return {};
|
|
6207
|
-
}
|
|
6208
|
-
/**
|
|
6209
|
-
* MsgReportTagResponse defines the MsgReportTagResponse message.
|
|
6210
|
-
* @name MsgReportTagResponse
|
|
6211
|
-
* @package sparkdream.forum.v1
|
|
6212
|
-
* @see proto type: sparkdream.forum.v1.MsgReportTagResponse
|
|
6213
|
-
*/
|
|
6214
|
-
export const MsgReportTagResponse = {
|
|
6215
|
-
typeUrl: "/sparkdream.forum.v1.MsgReportTagResponse",
|
|
6216
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
6217
|
-
return writer;
|
|
6218
|
-
},
|
|
6219
|
-
decode(input, length) {
|
|
6220
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6221
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6222
|
-
const message = createBaseMsgReportTagResponse();
|
|
6223
|
-
while (reader.pos < end) {
|
|
6224
|
-
const tag = reader.uint32();
|
|
6225
|
-
switch (tag >>> 3) {
|
|
6226
|
-
default:
|
|
6227
|
-
reader.skipType(tag & 7);
|
|
6228
|
-
break;
|
|
6229
|
-
}
|
|
6230
|
-
}
|
|
6231
|
-
return message;
|
|
6232
|
-
},
|
|
6233
|
-
fromPartial(_) {
|
|
6234
|
-
const message = createBaseMsgReportTagResponse();
|
|
6235
|
-
return message;
|
|
6236
|
-
},
|
|
6237
|
-
fromAmino(_) {
|
|
6238
|
-
const message = createBaseMsgReportTagResponse();
|
|
6239
|
-
return message;
|
|
6240
|
-
},
|
|
6241
|
-
toAmino(_) {
|
|
6242
|
-
const obj = {};
|
|
6243
|
-
return obj;
|
|
6244
|
-
},
|
|
6245
|
-
fromAminoMsg(object) {
|
|
6246
|
-
return MsgReportTagResponse.fromAmino(object.value);
|
|
6247
|
-
},
|
|
6248
|
-
fromProtoMsg(message) {
|
|
6249
|
-
return MsgReportTagResponse.decode(message.value);
|
|
6250
|
-
},
|
|
6251
|
-
toProto(message) {
|
|
6252
|
-
return MsgReportTagResponse.encode(message).finish();
|
|
6253
|
-
},
|
|
6254
|
-
toProtoMsg(message) {
|
|
6255
|
-
return {
|
|
6256
|
-
typeUrl: "/sparkdream.forum.v1.MsgReportTagResponse",
|
|
6257
|
-
value: MsgReportTagResponse.encode(message).finish()
|
|
6258
|
-
};
|
|
6259
|
-
}
|
|
6260
|
-
};
|
|
6261
|
-
function createBaseMsgResolveTagReport() {
|
|
6262
|
-
return {
|
|
6263
|
-
creator: "",
|
|
6264
|
-
tagName: "",
|
|
6265
|
-
action: BigInt(0),
|
|
6266
|
-
reserveAuthority: "",
|
|
6267
|
-
reserveMembersCanUse: false
|
|
6268
|
-
};
|
|
6269
|
-
}
|
|
6270
|
-
/**
|
|
6271
|
-
* MsgResolveTagReport defines the MsgResolveTagReport message.
|
|
6272
|
-
* @name MsgResolveTagReport
|
|
6273
|
-
* @package sparkdream.forum.v1
|
|
6274
|
-
* @see proto type: sparkdream.forum.v1.MsgResolveTagReport
|
|
6275
|
-
*/
|
|
6276
|
-
export const MsgResolveTagReport = {
|
|
6277
|
-
typeUrl: "/sparkdream.forum.v1.MsgResolveTagReport",
|
|
6278
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
6279
|
-
if (message.creator !== "") {
|
|
6280
|
-
writer.uint32(10).string(message.creator);
|
|
6281
|
-
}
|
|
6282
|
-
if (message.tagName !== "") {
|
|
6283
|
-
writer.uint32(18).string(message.tagName);
|
|
6284
|
-
}
|
|
6285
|
-
if (message.action !== BigInt(0)) {
|
|
6286
|
-
writer.uint32(24).uint64(message.action);
|
|
6287
|
-
}
|
|
6288
|
-
if (message.reserveAuthority !== "") {
|
|
6289
|
-
writer.uint32(34).string(message.reserveAuthority);
|
|
6290
|
-
}
|
|
6291
|
-
if (message.reserveMembersCanUse === true) {
|
|
6292
|
-
writer.uint32(40).bool(message.reserveMembersCanUse);
|
|
6293
|
-
}
|
|
6294
|
-
return writer;
|
|
6295
|
-
},
|
|
6296
|
-
decode(input, length) {
|
|
6297
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6298
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6299
|
-
const message = createBaseMsgResolveTagReport();
|
|
6300
|
-
while (reader.pos < end) {
|
|
6301
|
-
const tag = reader.uint32();
|
|
6302
|
-
switch (tag >>> 3) {
|
|
6303
|
-
case 1:
|
|
6304
|
-
message.creator = reader.string();
|
|
6305
|
-
break;
|
|
6306
|
-
case 2:
|
|
6307
|
-
message.tagName = reader.string();
|
|
6308
|
-
break;
|
|
6309
|
-
case 3:
|
|
6310
|
-
message.action = reader.uint64();
|
|
6311
|
-
break;
|
|
6312
|
-
case 4:
|
|
6313
|
-
message.reserveAuthority = reader.string();
|
|
6314
|
-
break;
|
|
6315
|
-
case 5:
|
|
6316
|
-
message.reserveMembersCanUse = reader.bool();
|
|
6317
|
-
break;
|
|
6318
|
-
default:
|
|
6319
|
-
reader.skipType(tag & 7);
|
|
6320
|
-
break;
|
|
6321
|
-
}
|
|
6322
|
-
}
|
|
6323
|
-
return message;
|
|
6324
|
-
},
|
|
6325
|
-
fromPartial(object) {
|
|
6326
|
-
const message = createBaseMsgResolveTagReport();
|
|
6327
|
-
message.creator = object.creator ?? "";
|
|
6328
|
-
message.tagName = object.tagName ?? "";
|
|
6329
|
-
message.action = object.action !== undefined && object.action !== null ? BigInt(object.action.toString()) : BigInt(0);
|
|
6330
|
-
message.reserveAuthority = object.reserveAuthority ?? "";
|
|
6331
|
-
message.reserveMembersCanUse = object.reserveMembersCanUse ?? false;
|
|
6332
|
-
return message;
|
|
6333
|
-
},
|
|
6334
|
-
fromAmino(object) {
|
|
6335
|
-
const message = createBaseMsgResolveTagReport();
|
|
6336
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
6337
|
-
message.creator = object.creator;
|
|
6338
|
-
}
|
|
6339
|
-
if (object.tag_name !== undefined && object.tag_name !== null) {
|
|
6340
|
-
message.tagName = object.tag_name;
|
|
6341
|
-
}
|
|
6342
|
-
if (object.action !== undefined && object.action !== null) {
|
|
6343
|
-
message.action = BigInt(object.action);
|
|
6344
|
-
}
|
|
6345
|
-
if (object.reserve_authority !== undefined && object.reserve_authority !== null) {
|
|
6346
|
-
message.reserveAuthority = object.reserve_authority;
|
|
6347
|
-
}
|
|
6348
|
-
if (object.reserve_members_can_use !== undefined && object.reserve_members_can_use !== null) {
|
|
6349
|
-
message.reserveMembersCanUse = object.reserve_members_can_use;
|
|
6350
|
-
}
|
|
6351
|
-
return message;
|
|
6352
|
-
},
|
|
6353
|
-
toAmino(message) {
|
|
6354
|
-
const obj = {};
|
|
6355
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
6356
|
-
obj.tag_name = message.tagName === "" ? undefined : message.tagName;
|
|
6357
|
-
obj.action = message.action !== BigInt(0) ? message.action?.toString() : undefined;
|
|
6358
|
-
obj.reserve_authority = message.reserveAuthority === "" ? undefined : message.reserveAuthority;
|
|
6359
|
-
obj.reserve_members_can_use = message.reserveMembersCanUse === false ? undefined : message.reserveMembersCanUse;
|
|
6360
|
-
return obj;
|
|
6361
|
-
},
|
|
6362
|
-
fromAminoMsg(object) {
|
|
6363
|
-
return MsgResolveTagReport.fromAmino(object.value);
|
|
6364
|
-
},
|
|
6365
|
-
fromProtoMsg(message) {
|
|
6366
|
-
return MsgResolveTagReport.decode(message.value);
|
|
6367
|
-
},
|
|
6368
|
-
toProto(message) {
|
|
6369
|
-
return MsgResolveTagReport.encode(message).finish();
|
|
6370
|
-
},
|
|
6371
|
-
toProtoMsg(message) {
|
|
6372
|
-
return {
|
|
6373
|
-
typeUrl: "/sparkdream.forum.v1.MsgResolveTagReport",
|
|
6374
|
-
value: MsgResolveTagReport.encode(message).finish()
|
|
6375
|
-
};
|
|
6376
|
-
}
|
|
6377
|
-
};
|
|
6378
|
-
function createBaseMsgResolveTagReportResponse() {
|
|
6379
|
-
return {};
|
|
6380
|
-
}
|
|
6381
|
-
/**
|
|
6382
|
-
* MsgResolveTagReportResponse defines the MsgResolveTagReportResponse message.
|
|
6383
|
-
* @name MsgResolveTagReportResponse
|
|
6384
|
-
* @package sparkdream.forum.v1
|
|
6385
|
-
* @see proto type: sparkdream.forum.v1.MsgResolveTagReportResponse
|
|
6386
|
-
*/
|
|
6387
|
-
export const MsgResolveTagReportResponse = {
|
|
6388
|
-
typeUrl: "/sparkdream.forum.v1.MsgResolveTagReportResponse",
|
|
6389
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
6390
|
-
return writer;
|
|
6391
|
-
},
|
|
6392
|
-
decode(input, length) {
|
|
6393
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6394
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6395
|
-
const message = createBaseMsgResolveTagReportResponse();
|
|
6396
|
-
while (reader.pos < end) {
|
|
6397
|
-
const tag = reader.uint32();
|
|
6398
|
-
switch (tag >>> 3) {
|
|
6399
|
-
default:
|
|
6400
|
-
reader.skipType(tag & 7);
|
|
6401
|
-
break;
|
|
6402
|
-
}
|
|
6403
|
-
}
|
|
6404
|
-
return message;
|
|
6405
|
-
},
|
|
6406
|
-
fromPartial(_) {
|
|
6407
|
-
const message = createBaseMsgResolveTagReportResponse();
|
|
6408
|
-
return message;
|
|
6409
|
-
},
|
|
6410
|
-
fromAmino(_) {
|
|
6411
|
-
const message = createBaseMsgResolveTagReportResponse();
|
|
6412
|
-
return message;
|
|
6413
|
-
},
|
|
6414
|
-
toAmino(_) {
|
|
6415
|
-
const obj = {};
|
|
6416
|
-
return obj;
|
|
6417
|
-
},
|
|
6418
|
-
fromAminoMsg(object) {
|
|
6419
|
-
return MsgResolveTagReportResponse.fromAmino(object.value);
|
|
6420
|
-
},
|
|
6421
|
-
fromProtoMsg(message) {
|
|
6422
|
-
return MsgResolveTagReportResponse.decode(message.value);
|
|
6423
|
-
},
|
|
6424
|
-
toProto(message) {
|
|
6425
|
-
return MsgResolveTagReportResponse.encode(message).finish();
|
|
6426
|
-
},
|
|
6427
|
-
toProtoMsg(message) {
|
|
6428
|
-
return {
|
|
6429
|
-
typeUrl: "/sparkdream.forum.v1.MsgResolveTagReportResponse",
|
|
6430
|
-
value: MsgResolveTagReportResponse.encode(message).finish()
|
|
6431
|
-
};
|
|
6432
|
-
}
|
|
6433
|
-
};
|
|
6434
|
-
function createBaseMsgBondSentinel() {
|
|
6435
|
-
return {
|
|
6436
|
-
creator: "",
|
|
6437
|
-
amount: ""
|
|
6438
|
-
};
|
|
6439
|
-
}
|
|
6440
|
-
/**
|
|
6441
|
-
* MsgBondSentinel defines the MsgBondSentinel message.
|
|
6442
|
-
* @name MsgBondSentinel
|
|
6443
|
-
* @package sparkdream.forum.v1
|
|
6444
|
-
* @see proto type: sparkdream.forum.v1.MsgBondSentinel
|
|
6445
|
-
*/
|
|
6446
|
-
export const MsgBondSentinel = {
|
|
6447
|
-
typeUrl: "/sparkdream.forum.v1.MsgBondSentinel",
|
|
6448
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
6449
|
-
if (message.creator !== "") {
|
|
6450
|
-
writer.uint32(10).string(message.creator);
|
|
6451
|
-
}
|
|
6452
|
-
if (message.amount !== "") {
|
|
6453
|
-
writer.uint32(18).string(message.amount);
|
|
6454
|
-
}
|
|
6455
|
-
return writer;
|
|
6456
|
-
},
|
|
6457
|
-
decode(input, length) {
|
|
6458
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6459
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6460
|
-
const message = createBaseMsgBondSentinel();
|
|
6461
|
-
while (reader.pos < end) {
|
|
6462
|
-
const tag = reader.uint32();
|
|
6463
|
-
switch (tag >>> 3) {
|
|
6464
|
-
case 1:
|
|
6465
|
-
message.creator = reader.string();
|
|
6466
|
-
break;
|
|
6467
|
-
case 2:
|
|
6468
|
-
message.amount = reader.string();
|
|
6469
|
-
break;
|
|
6470
|
-
default:
|
|
6471
|
-
reader.skipType(tag & 7);
|
|
6472
|
-
break;
|
|
6473
|
-
}
|
|
6474
|
-
}
|
|
6475
|
-
return message;
|
|
6476
|
-
},
|
|
6477
|
-
fromPartial(object) {
|
|
6478
|
-
const message = createBaseMsgBondSentinel();
|
|
6479
|
-
message.creator = object.creator ?? "";
|
|
6480
|
-
message.amount = object.amount ?? "";
|
|
6481
|
-
return message;
|
|
6482
|
-
},
|
|
6483
|
-
fromAmino(object) {
|
|
6484
|
-
const message = createBaseMsgBondSentinel();
|
|
6485
|
-
if (object.creator !== undefined && object.creator !== null) {
|
|
6486
|
-
message.creator = object.creator;
|
|
6487
|
-
}
|
|
6488
|
-
if (object.amount !== undefined && object.amount !== null) {
|
|
6489
|
-
message.amount = object.amount;
|
|
6490
|
-
}
|
|
6491
|
-
return message;
|
|
6492
|
-
},
|
|
6493
|
-
toAmino(message) {
|
|
6494
|
-
const obj = {};
|
|
6495
|
-
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
6496
|
-
obj.amount = message.amount === "" ? undefined : message.amount;
|
|
6497
|
-
return obj;
|
|
6498
|
-
},
|
|
6499
|
-
fromAminoMsg(object) {
|
|
6500
|
-
return MsgBondSentinel.fromAmino(object.value);
|
|
6501
|
-
},
|
|
6502
|
-
fromProtoMsg(message) {
|
|
6503
|
-
return MsgBondSentinel.decode(message.value);
|
|
6504
|
-
},
|
|
6505
|
-
toProto(message) {
|
|
6506
|
-
return MsgBondSentinel.encode(message).finish();
|
|
6507
|
-
},
|
|
6508
|
-
toProtoMsg(message) {
|
|
6509
|
-
return {
|
|
6510
|
-
typeUrl: "/sparkdream.forum.v1.MsgBondSentinel",
|
|
6511
|
-
value: MsgBondSentinel.encode(message).finish()
|
|
6512
|
-
};
|
|
6513
|
-
}
|
|
6514
|
-
};
|
|
6515
|
-
function createBaseMsgBondSentinelResponse() {
|
|
6516
|
-
return {};
|
|
6517
|
-
}
|
|
6518
|
-
/**
|
|
6519
|
-
* MsgBondSentinelResponse defines the MsgBondSentinelResponse message.
|
|
6520
|
-
* @name MsgBondSentinelResponse
|
|
6521
|
-
* @package sparkdream.forum.v1
|
|
6522
|
-
* @see proto type: sparkdream.forum.v1.MsgBondSentinelResponse
|
|
6523
|
-
*/
|
|
6524
|
-
export const MsgBondSentinelResponse = {
|
|
6525
|
-
typeUrl: "/sparkdream.forum.v1.MsgBondSentinelResponse",
|
|
6526
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
6527
|
-
return writer;
|
|
6528
|
-
},
|
|
6529
|
-
decode(input, length) {
|
|
6530
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6531
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6532
|
-
const message = createBaseMsgBondSentinelResponse();
|
|
6533
|
-
while (reader.pos < end) {
|
|
6534
|
-
const tag = reader.uint32();
|
|
6535
|
-
switch (tag >>> 3) {
|
|
6536
|
-
default:
|
|
6537
|
-
reader.skipType(tag & 7);
|
|
6538
|
-
break;
|
|
6539
|
-
}
|
|
6540
|
-
}
|
|
6541
|
-
return message;
|
|
6542
|
-
},
|
|
6543
|
-
fromPartial(_) {
|
|
6544
|
-
const message = createBaseMsgBondSentinelResponse();
|
|
6545
|
-
return message;
|
|
6546
|
-
},
|
|
6547
|
-
fromAmino(_) {
|
|
6548
|
-
const message = createBaseMsgBondSentinelResponse();
|
|
6549
|
-
return message;
|
|
6550
|
-
},
|
|
6551
|
-
toAmino(_) {
|
|
6552
|
-
const obj = {};
|
|
6553
|
-
return obj;
|
|
6554
|
-
},
|
|
6555
|
-
fromAminoMsg(object) {
|
|
6556
|
-
return MsgBondSentinelResponse.fromAmino(object.value);
|
|
6557
|
-
},
|
|
6558
|
-
fromProtoMsg(message) {
|
|
6559
|
-
return MsgBondSentinelResponse.decode(message.value);
|
|
6560
|
-
},
|
|
6561
|
-
toProto(message) {
|
|
6562
|
-
return MsgBondSentinelResponse.encode(message).finish();
|
|
6563
|
-
},
|
|
6564
|
-
toProtoMsg(message) {
|
|
6565
|
-
return {
|
|
6566
|
-
typeUrl: "/sparkdream.forum.v1.MsgBondSentinelResponse",
|
|
6567
|
-
value: MsgBondSentinelResponse.encode(message).finish()
|
|
6568
|
-
};
|
|
6569
|
-
}
|
|
6570
|
-
};
|
|
6571
|
-
function createBaseMsgUnbondSentinel() {
|
|
6572
|
-
return {
|
|
6573
|
-
creator: "",
|
|
6574
|
-
amount: ""
|
|
6575
|
-
};
|
|
6576
|
-
}
|
|
6577
|
-
/**
|
|
6578
|
-
* MsgUnbondSentinel defines the MsgUnbondSentinel message.
|
|
6579
|
-
* @name MsgUnbondSentinel
|
|
6580
|
-
* @package sparkdream.forum.v1
|
|
6581
|
-
* @see proto type: sparkdream.forum.v1.MsgUnbondSentinel
|
|
6582
|
-
*/
|
|
6583
|
-
export const MsgUnbondSentinel = {
|
|
6584
|
-
typeUrl: "/sparkdream.forum.v1.MsgUnbondSentinel",
|
|
6585
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
6586
|
-
if (message.creator !== "") {
|
|
6587
|
-
writer.uint32(10).string(message.creator);
|
|
6588
|
-
}
|
|
6589
|
-
if (message.amount !== "") {
|
|
6590
|
-
writer.uint32(18).string(message.amount);
|
|
6591
|
-
}
|
|
6592
|
-
return writer;
|
|
6593
|
-
},
|
|
6594
|
-
decode(input, length) {
|
|
6595
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6596
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6597
|
-
const message = createBaseMsgUnbondSentinel();
|
|
6598
|
-
while (reader.pos < end) {
|
|
6599
|
-
const tag = reader.uint32();
|
|
6600
|
-
switch (tag >>> 3) {
|
|
6601
|
-
case 1:
|
|
6602
|
-
message.creator = reader.string();
|
|
6603
|
-
break;
|
|
6604
|
-
case 2:
|
|
6605
|
-
message.amount = reader.string();
|
|
4347
|
+
case 4:
|
|
4348
|
+
message.reason = reader.string();
|
|
6606
4349
|
break;
|
|
6607
4350
|
default:
|
|
6608
4351
|
reader.skipType(tag & 7);
|
|
@@ -6612,61 +4355,71 @@ export const MsgUnbondSentinel = {
|
|
|
6612
4355
|
return message;
|
|
6613
4356
|
},
|
|
6614
4357
|
fromPartial(object) {
|
|
6615
|
-
const message =
|
|
4358
|
+
const message = createBaseMsgDisputePin();
|
|
6616
4359
|
message.creator = object.creator ?? "";
|
|
6617
|
-
message.
|
|
4360
|
+
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
4361
|
+
message.replyId = object.replyId !== undefined && object.replyId !== null ? BigInt(object.replyId.toString()) : BigInt(0);
|
|
4362
|
+
message.reason = object.reason ?? "";
|
|
6618
4363
|
return message;
|
|
6619
4364
|
},
|
|
6620
4365
|
fromAmino(object) {
|
|
6621
|
-
const message =
|
|
4366
|
+
const message = createBaseMsgDisputePin();
|
|
6622
4367
|
if (object.creator !== undefined && object.creator !== null) {
|
|
6623
4368
|
message.creator = object.creator;
|
|
6624
4369
|
}
|
|
6625
|
-
if (object.
|
|
6626
|
-
message.
|
|
4370
|
+
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
4371
|
+
message.threadId = BigInt(object.thread_id);
|
|
4372
|
+
}
|
|
4373
|
+
if (object.reply_id !== undefined && object.reply_id !== null) {
|
|
4374
|
+
message.replyId = BigInt(object.reply_id);
|
|
4375
|
+
}
|
|
4376
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
4377
|
+
message.reason = object.reason;
|
|
6627
4378
|
}
|
|
6628
4379
|
return message;
|
|
6629
4380
|
},
|
|
6630
4381
|
toAmino(message) {
|
|
6631
4382
|
const obj = {};
|
|
6632
4383
|
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
6633
|
-
obj.
|
|
4384
|
+
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
4385
|
+
obj.reply_id = message.replyId !== BigInt(0) ? message.replyId?.toString() : undefined;
|
|
4386
|
+
obj.reason = message.reason === "" ? undefined : message.reason;
|
|
6634
4387
|
return obj;
|
|
6635
4388
|
},
|
|
6636
4389
|
fromAminoMsg(object) {
|
|
6637
|
-
return
|
|
4390
|
+
return MsgDisputePin.fromAmino(object.value);
|
|
6638
4391
|
},
|
|
6639
4392
|
fromProtoMsg(message) {
|
|
6640
|
-
return
|
|
4393
|
+
return MsgDisputePin.decode(message.value);
|
|
6641
4394
|
},
|
|
6642
4395
|
toProto(message) {
|
|
6643
|
-
return
|
|
4396
|
+
return MsgDisputePin.encode(message).finish();
|
|
6644
4397
|
},
|
|
6645
4398
|
toProtoMsg(message) {
|
|
6646
4399
|
return {
|
|
6647
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
6648
|
-
value:
|
|
4400
|
+
typeUrl: "/sparkdream.forum.v1.MsgDisputePin",
|
|
4401
|
+
value: MsgDisputePin.encode(message).finish()
|
|
6649
4402
|
};
|
|
6650
4403
|
}
|
|
6651
4404
|
};
|
|
6652
|
-
function
|
|
4405
|
+
function createBaseMsgDisputePinResponse() {
|
|
6653
4406
|
return {};
|
|
6654
4407
|
}
|
|
6655
4408
|
/**
|
|
6656
|
-
*
|
|
6657
|
-
* @name
|
|
4409
|
+
* MsgDisputePinResponse defines the MsgDisputePinResponse message.
|
|
4410
|
+
* @name MsgDisputePinResponse
|
|
6658
4411
|
* @package sparkdream.forum.v1
|
|
6659
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4412
|
+
* @see proto type: sparkdream.forum.v1.MsgDisputePinResponse
|
|
6660
4413
|
*/
|
|
6661
|
-
export const
|
|
6662
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4414
|
+
export const MsgDisputePinResponse = {
|
|
4415
|
+
typeUrl: "/sparkdream.forum.v1.MsgDisputePinResponse",
|
|
6663
4416
|
encode(_, writer = BinaryWriter.create()) {
|
|
6664
4417
|
return writer;
|
|
6665
4418
|
},
|
|
6666
4419
|
decode(input, length) {
|
|
6667
4420
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6668
4421
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6669
|
-
const message =
|
|
4422
|
+
const message = createBaseMsgDisputePinResponse();
|
|
6670
4423
|
while (reader.pos < end) {
|
|
6671
4424
|
const tag = reader.uint32();
|
|
6672
4425
|
switch (tag >>> 3) {
|
|
@@ -6678,11 +4431,11 @@ export const MsgUnbondSentinelResponse = {
|
|
|
6678
4431
|
return message;
|
|
6679
4432
|
},
|
|
6680
4433
|
fromPartial(_) {
|
|
6681
|
-
const message =
|
|
4434
|
+
const message = createBaseMsgDisputePinResponse();
|
|
6682
4435
|
return message;
|
|
6683
4436
|
},
|
|
6684
4437
|
fromAmino(_) {
|
|
6685
|
-
const message =
|
|
4438
|
+
const message = createBaseMsgDisputePinResponse();
|
|
6686
4439
|
return message;
|
|
6687
4440
|
},
|
|
6688
4441
|
toAmino(_) {
|
|
@@ -6690,56 +4443,52 @@ export const MsgUnbondSentinelResponse = {
|
|
|
6690
4443
|
return obj;
|
|
6691
4444
|
},
|
|
6692
4445
|
fromAminoMsg(object) {
|
|
6693
|
-
return
|
|
4446
|
+
return MsgDisputePinResponse.fromAmino(object.value);
|
|
6694
4447
|
},
|
|
6695
4448
|
fromProtoMsg(message) {
|
|
6696
|
-
return
|
|
4449
|
+
return MsgDisputePinResponse.decode(message.value);
|
|
6697
4450
|
},
|
|
6698
4451
|
toProto(message) {
|
|
6699
|
-
return
|
|
4452
|
+
return MsgDisputePinResponse.encode(message).finish();
|
|
6700
4453
|
},
|
|
6701
4454
|
toProtoMsg(message) {
|
|
6702
4455
|
return {
|
|
6703
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
6704
|
-
value:
|
|
4456
|
+
typeUrl: "/sparkdream.forum.v1.MsgDisputePinResponse",
|
|
4457
|
+
value: MsgDisputePinResponse.encode(message).finish()
|
|
6705
4458
|
};
|
|
6706
4459
|
}
|
|
6707
4460
|
};
|
|
6708
|
-
function
|
|
4461
|
+
function createBaseMsgMarkAcceptedReply() {
|
|
6709
4462
|
return {
|
|
6710
4463
|
creator: "",
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
recommendedAction: BigInt(0)
|
|
4464
|
+
threadId: BigInt(0),
|
|
4465
|
+
replyId: BigInt(0)
|
|
6714
4466
|
};
|
|
6715
4467
|
}
|
|
6716
4468
|
/**
|
|
6717
|
-
*
|
|
6718
|
-
* @name
|
|
4469
|
+
* MsgMarkAcceptedReply defines the MsgMarkAcceptedReply message.
|
|
4470
|
+
* @name MsgMarkAcceptedReply
|
|
6719
4471
|
* @package sparkdream.forum.v1
|
|
6720
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4472
|
+
* @see proto type: sparkdream.forum.v1.MsgMarkAcceptedReply
|
|
6721
4473
|
*/
|
|
6722
|
-
export const
|
|
6723
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4474
|
+
export const MsgMarkAcceptedReply = {
|
|
4475
|
+
typeUrl: "/sparkdream.forum.v1.MsgMarkAcceptedReply",
|
|
6724
4476
|
encode(message, writer = BinaryWriter.create()) {
|
|
6725
4477
|
if (message.creator !== "") {
|
|
6726
4478
|
writer.uint32(10).string(message.creator);
|
|
6727
4479
|
}
|
|
6728
|
-
if (message.
|
|
6729
|
-
writer.uint32(
|
|
6730
|
-
}
|
|
6731
|
-
if (message.reason !== "") {
|
|
6732
|
-
writer.uint32(26).string(message.reason);
|
|
4480
|
+
if (message.threadId !== BigInt(0)) {
|
|
4481
|
+
writer.uint32(16).uint64(message.threadId);
|
|
6733
4482
|
}
|
|
6734
|
-
if (message.
|
|
6735
|
-
writer.uint32(
|
|
4483
|
+
if (message.replyId !== BigInt(0)) {
|
|
4484
|
+
writer.uint32(24).uint64(message.replyId);
|
|
6736
4485
|
}
|
|
6737
4486
|
return writer;
|
|
6738
4487
|
},
|
|
6739
4488
|
decode(input, length) {
|
|
6740
4489
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6741
4490
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6742
|
-
const message =
|
|
4491
|
+
const message = createBaseMsgMarkAcceptedReply();
|
|
6743
4492
|
while (reader.pos < end) {
|
|
6744
4493
|
const tag = reader.uint32();
|
|
6745
4494
|
switch (tag >>> 3) {
|
|
@@ -6747,13 +4496,10 @@ export const MsgReportMember = {
|
|
|
6747
4496
|
message.creator = reader.string();
|
|
6748
4497
|
break;
|
|
6749
4498
|
case 2:
|
|
6750
|
-
message.
|
|
4499
|
+
message.threadId = reader.uint64();
|
|
6751
4500
|
break;
|
|
6752
4501
|
case 3:
|
|
6753
|
-
message.
|
|
6754
|
-
break;
|
|
6755
|
-
case 4:
|
|
6756
|
-
message.recommendedAction = reader.uint64();
|
|
4502
|
+
message.replyId = reader.uint64();
|
|
6757
4503
|
break;
|
|
6758
4504
|
default:
|
|
6759
4505
|
reader.skipType(tag & 7);
|
|
@@ -6763,71 +4509,66 @@ export const MsgReportMember = {
|
|
|
6763
4509
|
return message;
|
|
6764
4510
|
},
|
|
6765
4511
|
fromPartial(object) {
|
|
6766
|
-
const message =
|
|
4512
|
+
const message = createBaseMsgMarkAcceptedReply();
|
|
6767
4513
|
message.creator = object.creator ?? "";
|
|
6768
|
-
message.
|
|
6769
|
-
message.
|
|
6770
|
-
message.recommendedAction = object.recommendedAction !== undefined && object.recommendedAction !== null ? BigInt(object.recommendedAction.toString()) : BigInt(0);
|
|
4514
|
+
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
4515
|
+
message.replyId = object.replyId !== undefined && object.replyId !== null ? BigInt(object.replyId.toString()) : BigInt(0);
|
|
6771
4516
|
return message;
|
|
6772
4517
|
},
|
|
6773
4518
|
fromAmino(object) {
|
|
6774
|
-
const message =
|
|
4519
|
+
const message = createBaseMsgMarkAcceptedReply();
|
|
6775
4520
|
if (object.creator !== undefined && object.creator !== null) {
|
|
6776
4521
|
message.creator = object.creator;
|
|
6777
4522
|
}
|
|
6778
|
-
if (object.
|
|
6779
|
-
message.
|
|
6780
|
-
}
|
|
6781
|
-
if (object.reason !== undefined && object.reason !== null) {
|
|
6782
|
-
message.reason = object.reason;
|
|
4523
|
+
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
4524
|
+
message.threadId = BigInt(object.thread_id);
|
|
6783
4525
|
}
|
|
6784
|
-
if (object.
|
|
6785
|
-
message.
|
|
4526
|
+
if (object.reply_id !== undefined && object.reply_id !== null) {
|
|
4527
|
+
message.replyId = BigInt(object.reply_id);
|
|
6786
4528
|
}
|
|
6787
4529
|
return message;
|
|
6788
4530
|
},
|
|
6789
4531
|
toAmino(message) {
|
|
6790
4532
|
const obj = {};
|
|
6791
4533
|
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
6792
|
-
obj.
|
|
6793
|
-
obj.
|
|
6794
|
-
obj.recommended_action = message.recommendedAction !== BigInt(0) ? message.recommendedAction?.toString() : undefined;
|
|
4534
|
+
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
4535
|
+
obj.reply_id = message.replyId !== BigInt(0) ? message.replyId?.toString() : undefined;
|
|
6795
4536
|
return obj;
|
|
6796
4537
|
},
|
|
6797
4538
|
fromAminoMsg(object) {
|
|
6798
|
-
return
|
|
4539
|
+
return MsgMarkAcceptedReply.fromAmino(object.value);
|
|
6799
4540
|
},
|
|
6800
4541
|
fromProtoMsg(message) {
|
|
6801
|
-
return
|
|
4542
|
+
return MsgMarkAcceptedReply.decode(message.value);
|
|
6802
4543
|
},
|
|
6803
4544
|
toProto(message) {
|
|
6804
|
-
return
|
|
4545
|
+
return MsgMarkAcceptedReply.encode(message).finish();
|
|
6805
4546
|
},
|
|
6806
4547
|
toProtoMsg(message) {
|
|
6807
4548
|
return {
|
|
6808
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
6809
|
-
value:
|
|
4549
|
+
typeUrl: "/sparkdream.forum.v1.MsgMarkAcceptedReply",
|
|
4550
|
+
value: MsgMarkAcceptedReply.encode(message).finish()
|
|
6810
4551
|
};
|
|
6811
4552
|
}
|
|
6812
4553
|
};
|
|
6813
|
-
function
|
|
4554
|
+
function createBaseMsgMarkAcceptedReplyResponse() {
|
|
6814
4555
|
return {};
|
|
6815
4556
|
}
|
|
6816
4557
|
/**
|
|
6817
|
-
*
|
|
6818
|
-
* @name
|
|
4558
|
+
* MsgMarkAcceptedReplyResponse defines the MsgMarkAcceptedReplyResponse message.
|
|
4559
|
+
* @name MsgMarkAcceptedReplyResponse
|
|
6819
4560
|
* @package sparkdream.forum.v1
|
|
6820
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4561
|
+
* @see proto type: sparkdream.forum.v1.MsgMarkAcceptedReplyResponse
|
|
6821
4562
|
*/
|
|
6822
|
-
export const
|
|
6823
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4563
|
+
export const MsgMarkAcceptedReplyResponse = {
|
|
4564
|
+
typeUrl: "/sparkdream.forum.v1.MsgMarkAcceptedReplyResponse",
|
|
6824
4565
|
encode(_, writer = BinaryWriter.create()) {
|
|
6825
4566
|
return writer;
|
|
6826
4567
|
},
|
|
6827
4568
|
decode(input, length) {
|
|
6828
4569
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6829
4570
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6830
|
-
const message =
|
|
4571
|
+
const message = createBaseMsgMarkAcceptedReplyResponse();
|
|
6831
4572
|
while (reader.pos < end) {
|
|
6832
4573
|
const tag = reader.uint32();
|
|
6833
4574
|
switch (tag >>> 3) {
|
|
@@ -6839,11 +4580,11 @@ export const MsgReportMemberResponse = {
|
|
|
6839
4580
|
return message;
|
|
6840
4581
|
},
|
|
6841
4582
|
fromPartial(_) {
|
|
6842
|
-
const message =
|
|
4583
|
+
const message = createBaseMsgMarkAcceptedReplyResponse();
|
|
6843
4584
|
return message;
|
|
6844
4585
|
},
|
|
6845
4586
|
fromAmino(_) {
|
|
6846
|
-
const message =
|
|
4587
|
+
const message = createBaseMsgMarkAcceptedReplyResponse();
|
|
6847
4588
|
return message;
|
|
6848
4589
|
},
|
|
6849
4590
|
toAmino(_) {
|
|
@@ -6851,48 +4592,48 @@ export const MsgReportMemberResponse = {
|
|
|
6851
4592
|
return obj;
|
|
6852
4593
|
},
|
|
6853
4594
|
fromAminoMsg(object) {
|
|
6854
|
-
return
|
|
4595
|
+
return MsgMarkAcceptedReplyResponse.fromAmino(object.value);
|
|
6855
4596
|
},
|
|
6856
4597
|
fromProtoMsg(message) {
|
|
6857
|
-
return
|
|
4598
|
+
return MsgMarkAcceptedReplyResponse.decode(message.value);
|
|
6858
4599
|
},
|
|
6859
4600
|
toProto(message) {
|
|
6860
|
-
return
|
|
4601
|
+
return MsgMarkAcceptedReplyResponse.encode(message).finish();
|
|
6861
4602
|
},
|
|
6862
4603
|
toProtoMsg(message) {
|
|
6863
4604
|
return {
|
|
6864
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
6865
|
-
value:
|
|
4605
|
+
typeUrl: "/sparkdream.forum.v1.MsgMarkAcceptedReplyResponse",
|
|
4606
|
+
value: MsgMarkAcceptedReplyResponse.encode(message).finish()
|
|
6866
4607
|
};
|
|
6867
4608
|
}
|
|
6868
4609
|
};
|
|
6869
|
-
function
|
|
4610
|
+
function createBaseMsgConfirmProposedReply() {
|
|
6870
4611
|
return {
|
|
6871
4612
|
creator: "",
|
|
6872
|
-
|
|
4613
|
+
threadId: BigInt(0)
|
|
6873
4614
|
};
|
|
6874
4615
|
}
|
|
6875
4616
|
/**
|
|
6876
|
-
*
|
|
6877
|
-
* @name
|
|
4617
|
+
* MsgConfirmProposedReply defines the MsgConfirmProposedReply message.
|
|
4618
|
+
* @name MsgConfirmProposedReply
|
|
6878
4619
|
* @package sparkdream.forum.v1
|
|
6879
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4620
|
+
* @see proto type: sparkdream.forum.v1.MsgConfirmProposedReply
|
|
6880
4621
|
*/
|
|
6881
|
-
export const
|
|
6882
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4622
|
+
export const MsgConfirmProposedReply = {
|
|
4623
|
+
typeUrl: "/sparkdream.forum.v1.MsgConfirmProposedReply",
|
|
6883
4624
|
encode(message, writer = BinaryWriter.create()) {
|
|
6884
4625
|
if (message.creator !== "") {
|
|
6885
4626
|
writer.uint32(10).string(message.creator);
|
|
6886
4627
|
}
|
|
6887
|
-
if (message.
|
|
6888
|
-
writer.uint32(
|
|
4628
|
+
if (message.threadId !== BigInt(0)) {
|
|
4629
|
+
writer.uint32(16).uint64(message.threadId);
|
|
6889
4630
|
}
|
|
6890
4631
|
return writer;
|
|
6891
4632
|
},
|
|
6892
4633
|
decode(input, length) {
|
|
6893
4634
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6894
4635
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6895
|
-
const message =
|
|
4636
|
+
const message = createBaseMsgConfirmProposedReply();
|
|
6896
4637
|
while (reader.pos < end) {
|
|
6897
4638
|
const tag = reader.uint32();
|
|
6898
4639
|
switch (tag >>> 3) {
|
|
@@ -6900,7 +4641,7 @@ export const MsgCosignMemberReport = {
|
|
|
6900
4641
|
message.creator = reader.string();
|
|
6901
4642
|
break;
|
|
6902
4643
|
case 2:
|
|
6903
|
-
message.
|
|
4644
|
+
message.threadId = reader.uint64();
|
|
6904
4645
|
break;
|
|
6905
4646
|
default:
|
|
6906
4647
|
reader.skipType(tag & 7);
|
|
@@ -6910,61 +4651,61 @@ export const MsgCosignMemberReport = {
|
|
|
6910
4651
|
return message;
|
|
6911
4652
|
},
|
|
6912
4653
|
fromPartial(object) {
|
|
6913
|
-
const message =
|
|
4654
|
+
const message = createBaseMsgConfirmProposedReply();
|
|
6914
4655
|
message.creator = object.creator ?? "";
|
|
6915
|
-
message.
|
|
4656
|
+
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
6916
4657
|
return message;
|
|
6917
4658
|
},
|
|
6918
4659
|
fromAmino(object) {
|
|
6919
|
-
const message =
|
|
4660
|
+
const message = createBaseMsgConfirmProposedReply();
|
|
6920
4661
|
if (object.creator !== undefined && object.creator !== null) {
|
|
6921
4662
|
message.creator = object.creator;
|
|
6922
4663
|
}
|
|
6923
|
-
if (object.
|
|
6924
|
-
message.
|
|
4664
|
+
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
4665
|
+
message.threadId = BigInt(object.thread_id);
|
|
6925
4666
|
}
|
|
6926
4667
|
return message;
|
|
6927
4668
|
},
|
|
6928
4669
|
toAmino(message) {
|
|
6929
4670
|
const obj = {};
|
|
6930
4671
|
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
6931
|
-
obj.
|
|
4672
|
+
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
6932
4673
|
return obj;
|
|
6933
4674
|
},
|
|
6934
4675
|
fromAminoMsg(object) {
|
|
6935
|
-
return
|
|
4676
|
+
return MsgConfirmProposedReply.fromAmino(object.value);
|
|
6936
4677
|
},
|
|
6937
4678
|
fromProtoMsg(message) {
|
|
6938
|
-
return
|
|
4679
|
+
return MsgConfirmProposedReply.decode(message.value);
|
|
6939
4680
|
},
|
|
6940
4681
|
toProto(message) {
|
|
6941
|
-
return
|
|
4682
|
+
return MsgConfirmProposedReply.encode(message).finish();
|
|
6942
4683
|
},
|
|
6943
4684
|
toProtoMsg(message) {
|
|
6944
4685
|
return {
|
|
6945
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
6946
|
-
value:
|
|
4686
|
+
typeUrl: "/sparkdream.forum.v1.MsgConfirmProposedReply",
|
|
4687
|
+
value: MsgConfirmProposedReply.encode(message).finish()
|
|
6947
4688
|
};
|
|
6948
4689
|
}
|
|
6949
4690
|
};
|
|
6950
|
-
function
|
|
4691
|
+
function createBaseMsgConfirmProposedReplyResponse() {
|
|
6951
4692
|
return {};
|
|
6952
4693
|
}
|
|
6953
4694
|
/**
|
|
6954
|
-
*
|
|
6955
|
-
* @name
|
|
4695
|
+
* MsgConfirmProposedReplyResponse defines the MsgConfirmProposedReplyResponse message.
|
|
4696
|
+
* @name MsgConfirmProposedReplyResponse
|
|
6956
4697
|
* @package sparkdream.forum.v1
|
|
6957
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4698
|
+
* @see proto type: sparkdream.forum.v1.MsgConfirmProposedReplyResponse
|
|
6958
4699
|
*/
|
|
6959
|
-
export const
|
|
6960
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4700
|
+
export const MsgConfirmProposedReplyResponse = {
|
|
4701
|
+
typeUrl: "/sparkdream.forum.v1.MsgConfirmProposedReplyResponse",
|
|
6961
4702
|
encode(_, writer = BinaryWriter.create()) {
|
|
6962
4703
|
return writer;
|
|
6963
4704
|
},
|
|
6964
4705
|
decode(input, length) {
|
|
6965
4706
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
6966
4707
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
6967
|
-
const message =
|
|
4708
|
+
const message = createBaseMsgConfirmProposedReplyResponse();
|
|
6968
4709
|
while (reader.pos < end) {
|
|
6969
4710
|
const tag = reader.uint32();
|
|
6970
4711
|
switch (tag >>> 3) {
|
|
@@ -6976,11 +4717,11 @@ export const MsgCosignMemberReportResponse = {
|
|
|
6976
4717
|
return message;
|
|
6977
4718
|
},
|
|
6978
4719
|
fromPartial(_) {
|
|
6979
|
-
const message =
|
|
4720
|
+
const message = createBaseMsgConfirmProposedReplyResponse();
|
|
6980
4721
|
return message;
|
|
6981
4722
|
},
|
|
6982
4723
|
fromAmino(_) {
|
|
6983
|
-
const message =
|
|
4724
|
+
const message = createBaseMsgConfirmProposedReplyResponse();
|
|
6984
4725
|
return message;
|
|
6985
4726
|
},
|
|
6986
4727
|
toAmino(_) {
|
|
@@ -6988,56 +4729,52 @@ export const MsgCosignMemberReportResponse = {
|
|
|
6988
4729
|
return obj;
|
|
6989
4730
|
},
|
|
6990
4731
|
fromAminoMsg(object) {
|
|
6991
|
-
return
|
|
4732
|
+
return MsgConfirmProposedReplyResponse.fromAmino(object.value);
|
|
6992
4733
|
},
|
|
6993
4734
|
fromProtoMsg(message) {
|
|
6994
|
-
return
|
|
4735
|
+
return MsgConfirmProposedReplyResponse.decode(message.value);
|
|
6995
4736
|
},
|
|
6996
4737
|
toProto(message) {
|
|
6997
|
-
return
|
|
4738
|
+
return MsgConfirmProposedReplyResponse.encode(message).finish();
|
|
6998
4739
|
},
|
|
6999
4740
|
toProtoMsg(message) {
|
|
7000
4741
|
return {
|
|
7001
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
7002
|
-
value:
|
|
4742
|
+
typeUrl: "/sparkdream.forum.v1.MsgConfirmProposedReplyResponse",
|
|
4743
|
+
value: MsgConfirmProposedReplyResponse.encode(message).finish()
|
|
7003
4744
|
};
|
|
7004
4745
|
}
|
|
7005
4746
|
};
|
|
7006
|
-
function
|
|
4747
|
+
function createBaseMsgRejectProposedReply() {
|
|
7007
4748
|
return {
|
|
7008
4749
|
creator: "",
|
|
7009
|
-
|
|
7010
|
-
action: BigInt(0),
|
|
4750
|
+
threadId: BigInt(0),
|
|
7011
4751
|
reason: ""
|
|
7012
4752
|
};
|
|
7013
4753
|
}
|
|
7014
4754
|
/**
|
|
7015
|
-
*
|
|
7016
|
-
* @name
|
|
4755
|
+
* MsgRejectProposedReply defines the MsgRejectProposedReply message.
|
|
4756
|
+
* @name MsgRejectProposedReply
|
|
7017
4757
|
* @package sparkdream.forum.v1
|
|
7018
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4758
|
+
* @see proto type: sparkdream.forum.v1.MsgRejectProposedReply
|
|
7019
4759
|
*/
|
|
7020
|
-
export const
|
|
7021
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4760
|
+
export const MsgRejectProposedReply = {
|
|
4761
|
+
typeUrl: "/sparkdream.forum.v1.MsgRejectProposedReply",
|
|
7022
4762
|
encode(message, writer = BinaryWriter.create()) {
|
|
7023
4763
|
if (message.creator !== "") {
|
|
7024
4764
|
writer.uint32(10).string(message.creator);
|
|
7025
4765
|
}
|
|
7026
|
-
if (message.
|
|
7027
|
-
writer.uint32(
|
|
7028
|
-
}
|
|
7029
|
-
if (message.action !== BigInt(0)) {
|
|
7030
|
-
writer.uint32(24).uint64(message.action);
|
|
4766
|
+
if (message.threadId !== BigInt(0)) {
|
|
4767
|
+
writer.uint32(16).uint64(message.threadId);
|
|
7031
4768
|
}
|
|
7032
4769
|
if (message.reason !== "") {
|
|
7033
|
-
writer.uint32(
|
|
4770
|
+
writer.uint32(26).string(message.reason);
|
|
7034
4771
|
}
|
|
7035
4772
|
return writer;
|
|
7036
4773
|
},
|
|
7037
4774
|
decode(input, length) {
|
|
7038
4775
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
7039
4776
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7040
|
-
const message =
|
|
4777
|
+
const message = createBaseMsgRejectProposedReply();
|
|
7041
4778
|
while (reader.pos < end) {
|
|
7042
4779
|
const tag = reader.uint32();
|
|
7043
4780
|
switch (tag >>> 3) {
|
|
@@ -7045,12 +4782,9 @@ export const MsgResolveMemberReport = {
|
|
|
7045
4782
|
message.creator = reader.string();
|
|
7046
4783
|
break;
|
|
7047
4784
|
case 2:
|
|
7048
|
-
message.
|
|
4785
|
+
message.threadId = reader.uint64();
|
|
7049
4786
|
break;
|
|
7050
4787
|
case 3:
|
|
7051
|
-
message.action = reader.uint64();
|
|
7052
|
-
break;
|
|
7053
|
-
case 4:
|
|
7054
4788
|
message.reason = reader.string();
|
|
7055
4789
|
break;
|
|
7056
4790
|
default:
|
|
@@ -7061,23 +4795,19 @@ export const MsgResolveMemberReport = {
|
|
|
7061
4795
|
return message;
|
|
7062
4796
|
},
|
|
7063
4797
|
fromPartial(object) {
|
|
7064
|
-
const message =
|
|
4798
|
+
const message = createBaseMsgRejectProposedReply();
|
|
7065
4799
|
message.creator = object.creator ?? "";
|
|
7066
|
-
message.
|
|
7067
|
-
message.action = object.action !== undefined && object.action !== null ? BigInt(object.action.toString()) : BigInt(0);
|
|
4800
|
+
message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
|
|
7068
4801
|
message.reason = object.reason ?? "";
|
|
7069
4802
|
return message;
|
|
7070
4803
|
},
|
|
7071
4804
|
fromAmino(object) {
|
|
7072
|
-
const message =
|
|
4805
|
+
const message = createBaseMsgRejectProposedReply();
|
|
7073
4806
|
if (object.creator !== undefined && object.creator !== null) {
|
|
7074
4807
|
message.creator = object.creator;
|
|
7075
4808
|
}
|
|
7076
|
-
if (object.
|
|
7077
|
-
message.
|
|
7078
|
-
}
|
|
7079
|
-
if (object.action !== undefined && object.action !== null) {
|
|
7080
|
-
message.action = BigInt(object.action);
|
|
4809
|
+
if (object.thread_id !== undefined && object.thread_id !== null) {
|
|
4810
|
+
message.threadId = BigInt(object.thread_id);
|
|
7081
4811
|
}
|
|
7082
4812
|
if (object.reason !== undefined && object.reason !== null) {
|
|
7083
4813
|
message.reason = object.reason;
|
|
@@ -7087,45 +4817,44 @@ export const MsgResolveMemberReport = {
|
|
|
7087
4817
|
toAmino(message) {
|
|
7088
4818
|
const obj = {};
|
|
7089
4819
|
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
7090
|
-
obj.
|
|
7091
|
-
obj.action = message.action !== BigInt(0) ? message.action?.toString() : undefined;
|
|
4820
|
+
obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
|
|
7092
4821
|
obj.reason = message.reason === "" ? undefined : message.reason;
|
|
7093
4822
|
return obj;
|
|
7094
4823
|
},
|
|
7095
4824
|
fromAminoMsg(object) {
|
|
7096
|
-
return
|
|
4825
|
+
return MsgRejectProposedReply.fromAmino(object.value);
|
|
7097
4826
|
},
|
|
7098
4827
|
fromProtoMsg(message) {
|
|
7099
|
-
return
|
|
4828
|
+
return MsgRejectProposedReply.decode(message.value);
|
|
7100
4829
|
},
|
|
7101
4830
|
toProto(message) {
|
|
7102
|
-
return
|
|
4831
|
+
return MsgRejectProposedReply.encode(message).finish();
|
|
7103
4832
|
},
|
|
7104
4833
|
toProtoMsg(message) {
|
|
7105
4834
|
return {
|
|
7106
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
7107
|
-
value:
|
|
4835
|
+
typeUrl: "/sparkdream.forum.v1.MsgRejectProposedReply",
|
|
4836
|
+
value: MsgRejectProposedReply.encode(message).finish()
|
|
7108
4837
|
};
|
|
7109
4838
|
}
|
|
7110
4839
|
};
|
|
7111
|
-
function
|
|
4840
|
+
function createBaseMsgRejectProposedReplyResponse() {
|
|
7112
4841
|
return {};
|
|
7113
4842
|
}
|
|
7114
4843
|
/**
|
|
7115
|
-
*
|
|
7116
|
-
* @name
|
|
4844
|
+
* MsgRejectProposedReplyResponse defines the MsgRejectProposedReplyResponse message.
|
|
4845
|
+
* @name MsgRejectProposedReplyResponse
|
|
7117
4846
|
* @package sparkdream.forum.v1
|
|
7118
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4847
|
+
* @see proto type: sparkdream.forum.v1.MsgRejectProposedReplyResponse
|
|
7119
4848
|
*/
|
|
7120
|
-
export const
|
|
7121
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4849
|
+
export const MsgRejectProposedReplyResponse = {
|
|
4850
|
+
typeUrl: "/sparkdream.forum.v1.MsgRejectProposedReplyResponse",
|
|
7122
4851
|
encode(_, writer = BinaryWriter.create()) {
|
|
7123
4852
|
return writer;
|
|
7124
4853
|
},
|
|
7125
4854
|
decode(input, length) {
|
|
7126
4855
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
7127
4856
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7128
|
-
const message =
|
|
4857
|
+
const message = createBaseMsgRejectProposedReplyResponse();
|
|
7129
4858
|
while (reader.pos < end) {
|
|
7130
4859
|
const tag = reader.uint32();
|
|
7131
4860
|
switch (tag >>> 3) {
|
|
@@ -7137,11 +4866,11 @@ export const MsgResolveMemberReportResponse = {
|
|
|
7137
4866
|
return message;
|
|
7138
4867
|
},
|
|
7139
4868
|
fromPartial(_) {
|
|
7140
|
-
const message =
|
|
4869
|
+
const message = createBaseMsgRejectProposedReplyResponse();
|
|
7141
4870
|
return message;
|
|
7142
4871
|
},
|
|
7143
4872
|
fromAmino(_) {
|
|
7144
|
-
const message =
|
|
4873
|
+
const message = createBaseMsgRejectProposedReplyResponse();
|
|
7145
4874
|
return message;
|
|
7146
4875
|
},
|
|
7147
4876
|
toAmino(_) {
|
|
@@ -7149,48 +4878,48 @@ export const MsgResolveMemberReportResponse = {
|
|
|
7149
4878
|
return obj;
|
|
7150
4879
|
},
|
|
7151
4880
|
fromAminoMsg(object) {
|
|
7152
|
-
return
|
|
4881
|
+
return MsgRejectProposedReplyResponse.fromAmino(object.value);
|
|
7153
4882
|
},
|
|
7154
4883
|
fromProtoMsg(message) {
|
|
7155
|
-
return
|
|
4884
|
+
return MsgRejectProposedReplyResponse.decode(message.value);
|
|
7156
4885
|
},
|
|
7157
4886
|
toProto(message) {
|
|
7158
|
-
return
|
|
4887
|
+
return MsgRejectProposedReplyResponse.encode(message).finish();
|
|
7159
4888
|
},
|
|
7160
4889
|
toProtoMsg(message) {
|
|
7161
4890
|
return {
|
|
7162
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
7163
|
-
value:
|
|
4891
|
+
typeUrl: "/sparkdream.forum.v1.MsgRejectProposedReplyResponse",
|
|
4892
|
+
value: MsgRejectProposedReplyResponse.encode(message).finish()
|
|
7164
4893
|
};
|
|
7165
4894
|
}
|
|
7166
4895
|
};
|
|
7167
|
-
function
|
|
4896
|
+
function createBaseMsgSetForumPaused() {
|
|
7168
4897
|
return {
|
|
7169
4898
|
creator: "",
|
|
7170
|
-
|
|
4899
|
+
paused: false
|
|
7171
4900
|
};
|
|
7172
4901
|
}
|
|
7173
4902
|
/**
|
|
7174
|
-
*
|
|
7175
|
-
* @name
|
|
4903
|
+
* MsgSetForumPaused defines the MsgSetForumPaused message.
|
|
4904
|
+
* @name MsgSetForumPaused
|
|
7176
4905
|
* @package sparkdream.forum.v1
|
|
7177
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4906
|
+
* @see proto type: sparkdream.forum.v1.MsgSetForumPaused
|
|
7178
4907
|
*/
|
|
7179
|
-
export const
|
|
7180
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4908
|
+
export const MsgSetForumPaused = {
|
|
4909
|
+
typeUrl: "/sparkdream.forum.v1.MsgSetForumPaused",
|
|
7181
4910
|
encode(message, writer = BinaryWriter.create()) {
|
|
7182
4911
|
if (message.creator !== "") {
|
|
7183
4912
|
writer.uint32(10).string(message.creator);
|
|
7184
4913
|
}
|
|
7185
|
-
if (message.
|
|
7186
|
-
writer.uint32(
|
|
4914
|
+
if (message.paused === true) {
|
|
4915
|
+
writer.uint32(16).bool(message.paused);
|
|
7187
4916
|
}
|
|
7188
4917
|
return writer;
|
|
7189
4918
|
},
|
|
7190
4919
|
decode(input, length) {
|
|
7191
4920
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
7192
4921
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7193
|
-
const message =
|
|
4922
|
+
const message = createBaseMsgSetForumPaused();
|
|
7194
4923
|
while (reader.pos < end) {
|
|
7195
4924
|
const tag = reader.uint32();
|
|
7196
4925
|
switch (tag >>> 3) {
|
|
@@ -7198,7 +4927,7 @@ export const MsgDefendMemberReport = {
|
|
|
7198
4927
|
message.creator = reader.string();
|
|
7199
4928
|
break;
|
|
7200
4929
|
case 2:
|
|
7201
|
-
message.
|
|
4930
|
+
message.paused = reader.bool();
|
|
7202
4931
|
break;
|
|
7203
4932
|
default:
|
|
7204
4933
|
reader.skipType(tag & 7);
|
|
@@ -7208,61 +4937,61 @@ export const MsgDefendMemberReport = {
|
|
|
7208
4937
|
return message;
|
|
7209
4938
|
},
|
|
7210
4939
|
fromPartial(object) {
|
|
7211
|
-
const message =
|
|
4940
|
+
const message = createBaseMsgSetForumPaused();
|
|
7212
4941
|
message.creator = object.creator ?? "";
|
|
7213
|
-
message.
|
|
4942
|
+
message.paused = object.paused ?? false;
|
|
7214
4943
|
return message;
|
|
7215
4944
|
},
|
|
7216
4945
|
fromAmino(object) {
|
|
7217
|
-
const message =
|
|
4946
|
+
const message = createBaseMsgSetForumPaused();
|
|
7218
4947
|
if (object.creator !== undefined && object.creator !== null) {
|
|
7219
4948
|
message.creator = object.creator;
|
|
7220
4949
|
}
|
|
7221
|
-
if (object.
|
|
7222
|
-
message.
|
|
4950
|
+
if (object.paused !== undefined && object.paused !== null) {
|
|
4951
|
+
message.paused = object.paused;
|
|
7223
4952
|
}
|
|
7224
4953
|
return message;
|
|
7225
4954
|
},
|
|
7226
4955
|
toAmino(message) {
|
|
7227
4956
|
const obj = {};
|
|
7228
4957
|
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
7229
|
-
obj.
|
|
4958
|
+
obj.paused = message.paused === false ? undefined : message.paused;
|
|
7230
4959
|
return obj;
|
|
7231
4960
|
},
|
|
7232
4961
|
fromAminoMsg(object) {
|
|
7233
|
-
return
|
|
4962
|
+
return MsgSetForumPaused.fromAmino(object.value);
|
|
7234
4963
|
},
|
|
7235
4964
|
fromProtoMsg(message) {
|
|
7236
|
-
return
|
|
4965
|
+
return MsgSetForumPaused.decode(message.value);
|
|
7237
4966
|
},
|
|
7238
4967
|
toProto(message) {
|
|
7239
|
-
return
|
|
4968
|
+
return MsgSetForumPaused.encode(message).finish();
|
|
7240
4969
|
},
|
|
7241
4970
|
toProtoMsg(message) {
|
|
7242
4971
|
return {
|
|
7243
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
7244
|
-
value:
|
|
4972
|
+
typeUrl: "/sparkdream.forum.v1.MsgSetForumPaused",
|
|
4973
|
+
value: MsgSetForumPaused.encode(message).finish()
|
|
7245
4974
|
};
|
|
7246
4975
|
}
|
|
7247
4976
|
};
|
|
7248
|
-
function
|
|
4977
|
+
function createBaseMsgSetForumPausedResponse() {
|
|
7249
4978
|
return {};
|
|
7250
4979
|
}
|
|
7251
4980
|
/**
|
|
7252
|
-
*
|
|
7253
|
-
* @name
|
|
4981
|
+
* MsgSetForumPausedResponse defines the MsgSetForumPausedResponse message.
|
|
4982
|
+
* @name MsgSetForumPausedResponse
|
|
7254
4983
|
* @package sparkdream.forum.v1
|
|
7255
|
-
* @see proto type: sparkdream.forum.v1.
|
|
4984
|
+
* @see proto type: sparkdream.forum.v1.MsgSetForumPausedResponse
|
|
7256
4985
|
*/
|
|
7257
|
-
export const
|
|
7258
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
4986
|
+
export const MsgSetForumPausedResponse = {
|
|
4987
|
+
typeUrl: "/sparkdream.forum.v1.MsgSetForumPausedResponse",
|
|
7259
4988
|
encode(_, writer = BinaryWriter.create()) {
|
|
7260
4989
|
return writer;
|
|
7261
4990
|
},
|
|
7262
4991
|
decode(input, length) {
|
|
7263
4992
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
7264
4993
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7265
|
-
const message =
|
|
4994
|
+
const message = createBaseMsgSetForumPausedResponse();
|
|
7266
4995
|
while (reader.pos < end) {
|
|
7267
4996
|
const tag = reader.uint32();
|
|
7268
4997
|
switch (tag >>> 3) {
|
|
@@ -7274,11 +5003,11 @@ export const MsgDefendMemberReportResponse = {
|
|
|
7274
5003
|
return message;
|
|
7275
5004
|
},
|
|
7276
5005
|
fromPartial(_) {
|
|
7277
|
-
const message =
|
|
5006
|
+
const message = createBaseMsgSetForumPausedResponse();
|
|
7278
5007
|
return message;
|
|
7279
5008
|
},
|
|
7280
5009
|
fromAmino(_) {
|
|
7281
|
-
const message =
|
|
5010
|
+
const message = createBaseMsgSetForumPausedResponse();
|
|
7282
5011
|
return message;
|
|
7283
5012
|
},
|
|
7284
5013
|
toAmino(_) {
|
|
@@ -7286,56 +5015,48 @@ export const MsgDefendMemberReportResponse = {
|
|
|
7286
5015
|
return obj;
|
|
7287
5016
|
},
|
|
7288
5017
|
fromAminoMsg(object) {
|
|
7289
|
-
return
|
|
5018
|
+
return MsgSetForumPausedResponse.fromAmino(object.value);
|
|
7290
5019
|
},
|
|
7291
5020
|
fromProtoMsg(message) {
|
|
7292
|
-
return
|
|
5021
|
+
return MsgSetForumPausedResponse.decode(message.value);
|
|
7293
5022
|
},
|
|
7294
5023
|
toProto(message) {
|
|
7295
|
-
return
|
|
5024
|
+
return MsgSetForumPausedResponse.encode(message).finish();
|
|
7296
5025
|
},
|
|
7297
5026
|
toProtoMsg(message) {
|
|
7298
5027
|
return {
|
|
7299
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
7300
|
-
value:
|
|
5028
|
+
typeUrl: "/sparkdream.forum.v1.MsgSetForumPausedResponse",
|
|
5029
|
+
value: MsgSetForumPausedResponse.encode(message).finish()
|
|
7301
5030
|
};
|
|
7302
5031
|
}
|
|
7303
5032
|
};
|
|
7304
|
-
function
|
|
5033
|
+
function createBaseMsgSetModerationPaused() {
|
|
7305
5034
|
return {
|
|
7306
5035
|
creator: "",
|
|
7307
|
-
|
|
7308
|
-
actionTarget: "",
|
|
7309
|
-
appealReason: ""
|
|
5036
|
+
paused: false
|
|
7310
5037
|
};
|
|
7311
5038
|
}
|
|
7312
5039
|
/**
|
|
7313
|
-
*
|
|
7314
|
-
* @name
|
|
5040
|
+
* MsgSetModerationPaused defines the MsgSetModerationPaused message.
|
|
5041
|
+
* @name MsgSetModerationPaused
|
|
7315
5042
|
* @package sparkdream.forum.v1
|
|
7316
|
-
* @see proto type: sparkdream.forum.v1.
|
|
5043
|
+
* @see proto type: sparkdream.forum.v1.MsgSetModerationPaused
|
|
7317
5044
|
*/
|
|
7318
|
-
export const
|
|
7319
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
5045
|
+
export const MsgSetModerationPaused = {
|
|
5046
|
+
typeUrl: "/sparkdream.forum.v1.MsgSetModerationPaused",
|
|
7320
5047
|
encode(message, writer = BinaryWriter.create()) {
|
|
7321
5048
|
if (message.creator !== "") {
|
|
7322
5049
|
writer.uint32(10).string(message.creator);
|
|
7323
5050
|
}
|
|
7324
|
-
if (message.
|
|
7325
|
-
writer.uint32(16).
|
|
7326
|
-
}
|
|
7327
|
-
if (message.actionTarget !== "") {
|
|
7328
|
-
writer.uint32(26).string(message.actionTarget);
|
|
7329
|
-
}
|
|
7330
|
-
if (message.appealReason !== "") {
|
|
7331
|
-
writer.uint32(34).string(message.appealReason);
|
|
5051
|
+
if (message.paused === true) {
|
|
5052
|
+
writer.uint32(16).bool(message.paused);
|
|
7332
5053
|
}
|
|
7333
5054
|
return writer;
|
|
7334
5055
|
},
|
|
7335
5056
|
decode(input, length) {
|
|
7336
5057
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
7337
5058
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7338
|
-
const message =
|
|
5059
|
+
const message = createBaseMsgSetModerationPaused();
|
|
7339
5060
|
while (reader.pos < end) {
|
|
7340
5061
|
const tag = reader.uint32();
|
|
7341
5062
|
switch (tag >>> 3) {
|
|
@@ -7343,13 +5064,7 @@ export const MsgAppealGovAction = {
|
|
|
7343
5064
|
message.creator = reader.string();
|
|
7344
5065
|
break;
|
|
7345
5066
|
case 2:
|
|
7346
|
-
message.
|
|
7347
|
-
break;
|
|
7348
|
-
case 3:
|
|
7349
|
-
message.actionTarget = reader.string();
|
|
7350
|
-
break;
|
|
7351
|
-
case 4:
|
|
7352
|
-
message.appealReason = reader.string();
|
|
5067
|
+
message.paused = reader.bool();
|
|
7353
5068
|
break;
|
|
7354
5069
|
default:
|
|
7355
5070
|
reader.skipType(tag & 7);
|
|
@@ -7359,71 +5074,61 @@ export const MsgAppealGovAction = {
|
|
|
7359
5074
|
return message;
|
|
7360
5075
|
},
|
|
7361
5076
|
fromPartial(object) {
|
|
7362
|
-
const message =
|
|
5077
|
+
const message = createBaseMsgSetModerationPaused();
|
|
7363
5078
|
message.creator = object.creator ?? "";
|
|
7364
|
-
message.
|
|
7365
|
-
message.actionTarget = object.actionTarget ?? "";
|
|
7366
|
-
message.appealReason = object.appealReason ?? "";
|
|
5079
|
+
message.paused = object.paused ?? false;
|
|
7367
5080
|
return message;
|
|
7368
5081
|
},
|
|
7369
5082
|
fromAmino(object) {
|
|
7370
|
-
const message =
|
|
5083
|
+
const message = createBaseMsgSetModerationPaused();
|
|
7371
5084
|
if (object.creator !== undefined && object.creator !== null) {
|
|
7372
5085
|
message.creator = object.creator;
|
|
7373
5086
|
}
|
|
7374
|
-
if (object.
|
|
7375
|
-
message.
|
|
7376
|
-
}
|
|
7377
|
-
if (object.action_target !== undefined && object.action_target !== null) {
|
|
7378
|
-
message.actionTarget = object.action_target;
|
|
7379
|
-
}
|
|
7380
|
-
if (object.appeal_reason !== undefined && object.appeal_reason !== null) {
|
|
7381
|
-
message.appealReason = object.appeal_reason;
|
|
5087
|
+
if (object.paused !== undefined && object.paused !== null) {
|
|
5088
|
+
message.paused = object.paused;
|
|
7382
5089
|
}
|
|
7383
5090
|
return message;
|
|
7384
5091
|
},
|
|
7385
5092
|
toAmino(message) {
|
|
7386
5093
|
const obj = {};
|
|
7387
5094
|
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
7388
|
-
obj.
|
|
7389
|
-
obj.action_target = message.actionTarget === "" ? undefined : message.actionTarget;
|
|
7390
|
-
obj.appeal_reason = message.appealReason === "" ? undefined : message.appealReason;
|
|
5095
|
+
obj.paused = message.paused === false ? undefined : message.paused;
|
|
7391
5096
|
return obj;
|
|
7392
5097
|
},
|
|
7393
5098
|
fromAminoMsg(object) {
|
|
7394
|
-
return
|
|
5099
|
+
return MsgSetModerationPaused.fromAmino(object.value);
|
|
7395
5100
|
},
|
|
7396
5101
|
fromProtoMsg(message) {
|
|
7397
|
-
return
|
|
5102
|
+
return MsgSetModerationPaused.decode(message.value);
|
|
7398
5103
|
},
|
|
7399
5104
|
toProto(message) {
|
|
7400
|
-
return
|
|
5105
|
+
return MsgSetModerationPaused.encode(message).finish();
|
|
7401
5106
|
},
|
|
7402
5107
|
toProtoMsg(message) {
|
|
7403
5108
|
return {
|
|
7404
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
7405
|
-
value:
|
|
5109
|
+
typeUrl: "/sparkdream.forum.v1.MsgSetModerationPaused",
|
|
5110
|
+
value: MsgSetModerationPaused.encode(message).finish()
|
|
7406
5111
|
};
|
|
7407
5112
|
}
|
|
7408
5113
|
};
|
|
7409
|
-
function
|
|
5114
|
+
function createBaseMsgSetModerationPausedResponse() {
|
|
7410
5115
|
return {};
|
|
7411
5116
|
}
|
|
7412
5117
|
/**
|
|
7413
|
-
*
|
|
7414
|
-
* @name
|
|
5118
|
+
* MsgSetModerationPausedResponse defines the MsgSetModerationPausedResponse message.
|
|
5119
|
+
* @name MsgSetModerationPausedResponse
|
|
7415
5120
|
* @package sparkdream.forum.v1
|
|
7416
|
-
* @see proto type: sparkdream.forum.v1.
|
|
5121
|
+
* @see proto type: sparkdream.forum.v1.MsgSetModerationPausedResponse
|
|
7417
5122
|
*/
|
|
7418
|
-
export const
|
|
7419
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
5123
|
+
export const MsgSetModerationPausedResponse = {
|
|
5124
|
+
typeUrl: "/sparkdream.forum.v1.MsgSetModerationPausedResponse",
|
|
7420
5125
|
encode(_, writer = BinaryWriter.create()) {
|
|
7421
5126
|
return writer;
|
|
7422
5127
|
},
|
|
7423
5128
|
decode(input, length) {
|
|
7424
5129
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
7425
5130
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7426
|
-
const message =
|
|
5131
|
+
const message = createBaseMsgSetModerationPausedResponse();
|
|
7427
5132
|
while (reader.pos < end) {
|
|
7428
5133
|
const tag = reader.uint32();
|
|
7429
5134
|
switch (tag >>> 3) {
|
|
@@ -7435,11 +5140,11 @@ export const MsgAppealGovActionResponse = {
|
|
|
7435
5140
|
return message;
|
|
7436
5141
|
},
|
|
7437
5142
|
fromPartial(_) {
|
|
7438
|
-
const message =
|
|
5143
|
+
const message = createBaseMsgSetModerationPausedResponse();
|
|
7439
5144
|
return message;
|
|
7440
5145
|
},
|
|
7441
5146
|
fromAmino(_) {
|
|
7442
|
-
const message =
|
|
5147
|
+
const message = createBaseMsgSetModerationPausedResponse();
|
|
7443
5148
|
return message;
|
|
7444
5149
|
},
|
|
7445
5150
|
toAmino(_) {
|
|
@@ -7447,18 +5152,18 @@ export const MsgAppealGovActionResponse = {
|
|
|
7447
5152
|
return obj;
|
|
7448
5153
|
},
|
|
7449
5154
|
fromAminoMsg(object) {
|
|
7450
|
-
return
|
|
5155
|
+
return MsgSetModerationPausedResponse.fromAmino(object.value);
|
|
7451
5156
|
},
|
|
7452
5157
|
fromProtoMsg(message) {
|
|
7453
|
-
return
|
|
5158
|
+
return MsgSetModerationPausedResponse.decode(message.value);
|
|
7454
5159
|
},
|
|
7455
5160
|
toProto(message) {
|
|
7456
|
-
return
|
|
5161
|
+
return MsgSetModerationPausedResponse.encode(message).finish();
|
|
7457
5162
|
},
|
|
7458
5163
|
toProtoMsg(message) {
|
|
7459
5164
|
return {
|
|
7460
|
-
typeUrl: "/sparkdream.forum.v1.
|
|
7461
|
-
value:
|
|
5165
|
+
typeUrl: "/sparkdream.forum.v1.MsgSetModerationPausedResponse",
|
|
5166
|
+
value: MsgSetModerationPausedResponse.encode(message).finish()
|
|
7462
5167
|
};
|
|
7463
5168
|
}
|
|
7464
5169
|
};
|