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