@sparkdreamnft/sparkdreamjs 0.0.26 → 0.0.28

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.
Files changed (56) hide show
  1. package/cosmos/bundle.d.ts +160 -160
  2. package/cosmos/bundle.js +181 -181
  3. package/esm/cosmos/bundle.js +181 -181
  4. package/esm/ibc/bundle.js +105 -105
  5. package/esm/sparkdream/bundle.js +275 -273
  6. package/esm/sparkdream/collect/v1/params.js +24 -0
  7. package/esm/sparkdream/collect/v1/query.js +165 -0
  8. package/esm/sparkdream/collect/v1/query.lcd.js +11 -0
  9. package/esm/sparkdream/collect/v1/query.rpc.Query.js +10 -1
  10. package/esm/sparkdream/collect/v1/tx.js +216 -1
  11. package/esm/sparkdream/collect/v1/tx.registry.js +20 -2
  12. package/esm/sparkdream/collect/v1/tx.rpc.msg.js +11 -1
  13. package/esm/sparkdream/collect/v1/types.js +92 -2
  14. package/esm/sparkdream/forum/v1/sentinel_activity.js +58 -1
  15. package/esm/sparkdream/forum/v1/tx.js +1 -1
  16. package/esm/sparkdream/rep/v1/bonded_role.js +17 -5
  17. package/esm/sparkdream/rep/v1/genesis.js +17 -1
  18. package/esm/sparkdream/rep/v1/query.js +13 -34
  19. package/esm/sparkdream/rep/v1/role_activity.js +670 -0
  20. package/esm/tendermint/bundle.js +17 -17
  21. package/ibc/bundle.d.ts +90 -90
  22. package/ibc/bundle.js +105 -105
  23. package/package.json +1 -1
  24. package/sparkdream/bundle.d.ts +7194 -7061
  25. package/sparkdream/bundle.js +275 -273
  26. package/sparkdream/collect/v1/params.d.ts +28 -0
  27. package/sparkdream/collect/v1/params.js +24 -0
  28. package/sparkdream/collect/v1/query.d.ts +92 -0
  29. package/sparkdream/collect/v1/query.js +167 -1
  30. package/sparkdream/collect/v1/query.lcd.d.ts +2 -1
  31. package/sparkdream/collect/v1/query.lcd.js +11 -0
  32. package/sparkdream/collect/v1/query.rpc.Query.d.ts +5 -1
  33. package/sparkdream/collect/v1/query.rpc.Query.js +9 -0
  34. package/sparkdream/collect/v1/tx.d.ts +130 -6
  35. package/sparkdream/collect/v1/tx.js +220 -3
  36. package/sparkdream/collect/v1/tx.registry.d.ts +13 -1
  37. package/sparkdream/collect/v1/tx.registry.js +19 -1
  38. package/sparkdream/collect/v1/tx.rpc.msg.d.ts +10 -1
  39. package/sparkdream/collect/v1/tx.rpc.msg.js +10 -0
  40. package/sparkdream/collect/v1/types.d.ts +72 -0
  41. package/sparkdream/collect/v1/types.js +92 -2
  42. package/sparkdream/forum/v1/sentinel_activity.d.ts +53 -0
  43. package/sparkdream/forum/v1/sentinel_activity.js +58 -1
  44. package/sparkdream/forum/v1/tx.d.ts +1 -1
  45. package/sparkdream/forum/v1/tx.js +1 -1
  46. package/sparkdream/rep/v1/bonded_role.d.ts +13 -1
  47. package/sparkdream/rep/v1/bonded_role.js +17 -5
  48. package/sparkdream/rep/v1/genesis.d.ts +3 -0
  49. package/sparkdream/rep/v1/genesis.js +17 -1
  50. package/sparkdream/rep/v1/query.d.ts +2 -6
  51. package/sparkdream/rep/v1/query.js +13 -34
  52. package/sparkdream/rep/v1/role_activity.d.ts +395 -0
  53. package/sparkdream/rep/v1/role_activity.js +673 -0
  54. package/sparkdream/rpc.query.d.ts +1 -0
  55. package/tendermint/bundle.d.ts +844 -844
  56. package/tendermint/bundle.js +17 -17
@@ -3,6 +3,36 @@ import { CollectionType, Visibility, ReferenceType, NftReference, NftReferenceAm
3
3
  import { ModerationReason } from "../../common/v1/moderation_reason";
4
4
  import { BinaryReader, BinaryWriter } from "../../../binary";
5
5
  import { DeepPartial } from "../../../helpers";
6
+ /**
7
+ * ModerationAuthority selects which authority the caller of MsgHideContent
8
+ * is invoking. Mirrors x/forum's enum: it disambiguates the case where an
9
+ * account is BOTH a bonded content sentinel and a Commons Operations
10
+ * Committee member — without it the handler would have to silently pick one
11
+ * path. See the authority-selection notes in docs/x-collect-spec.md
12
+ * (MsgHideContent).
13
+ */
14
+ export declare enum ModerationAuthority {
15
+ /**
16
+ * MODERATION_AUTHORITY_AUTO - AUTO (default, back-compat): sentinel path whenever the account is an
17
+ * eligible bonded sentinel, else the council path if council-authorized,
18
+ * else error. Prefers the accountable (bonded) sentinel path.
19
+ */
20
+ MODERATION_AUTHORITY_AUTO = 0,
21
+ /**
22
+ * MODERATION_AUTHORITY_SENTINEL - SENTINEL: force the sentinel path; error if not an eligible sentinel
23
+ * (no silent fallback to council).
24
+ */
25
+ MODERATION_AUTHORITY_SENTINEL = 1,
26
+ /**
27
+ * MODERATION_AUTHORITY_COUNCIL - COUNCIL: force the council (gov-authority) path; error if not
28
+ * council-authorized. The deliberate "act as committee" choice.
29
+ */
30
+ MODERATION_AUTHORITY_COUNCIL = 2,
31
+ UNRECOGNIZED = -1
32
+ }
33
+ export declare const ModerationAuthorityAmino: typeof ModerationAuthority;
34
+ export declare function moderationAuthorityFromJSON(object: any): ModerationAuthority;
35
+ export declare function moderationAuthorityToJSON(object: ModerationAuthority): string;
6
36
  /**
7
37
  * MsgUpdateParams is the Msg/UpdateParams request type.
8
38
  * @name MsgUpdateParams
@@ -69,9 +99,6 @@ export interface MsgCreateCollection {
69
99
  coverUri: string;
70
100
  tags: string[];
71
101
  encryptedData: Uint8Array;
72
- /**
73
- * Optional DREAM amount to lock as author bond
74
- */
75
102
  authorBond?: string;
76
103
  /**
77
104
  * Optional x/rep initiative to link for conviction propagation
@@ -98,9 +125,6 @@ export interface MsgCreateCollectionAmino {
98
125
  cover_uri?: string;
99
126
  tags?: string[];
100
127
  encrypted_data?: string;
101
- /**
102
- * Optional DREAM amount to lock as author bond
103
- */
104
128
  author_bond?: string;
105
129
  /**
106
130
  * Optional x/rep initiative to link for conviction propagation
@@ -1223,6 +1247,11 @@ export interface MsgHideContent {
1223
1247
  targetType: FlagTargetType;
1224
1248
  reasonCode: ModerationReason;
1225
1249
  reasonText: string;
1250
+ /**
1251
+ * Which authority the caller is invoking — see the enum docs. AUTO
1252
+ * (zero value) preserves pre-council wire behavior for sentinels.
1253
+ */
1254
+ authority: ModerationAuthority;
1226
1255
  }
1227
1256
  export interface MsgHideContentProtoMsg {
1228
1257
  typeUrl: "/sparkdream.collect.v1.MsgHideContent";
@@ -1240,6 +1269,11 @@ export interface MsgHideContentAmino {
1240
1269
  target_type?: FlagTargetType;
1241
1270
  reason_code?: ModerationReason;
1242
1271
  reason_text?: string;
1272
+ /**
1273
+ * Which authority the caller is invoking — see the enum docs. AUTO
1274
+ * (zero value) preserves pre-council wire behavior for sentinels.
1275
+ */
1276
+ authority?: ModerationAuthority;
1243
1277
  }
1244
1278
  export interface MsgHideContentAminoMsg {
1245
1279
  type: "sparkdream/x/collect/MsgHideContent";
@@ -1591,6 +1625,58 @@ export interface MsgMakeCollectionPermanentResponseAminoMsg {
1591
1625
  type: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse";
1592
1626
  value: MsgMakeCollectionPermanentResponseAmino;
1593
1627
  }
1628
+ /**
1629
+ * MsgUnhideContent defines the MsgUnhideContent message.
1630
+ * @name MsgUnhideContent
1631
+ * @package sparkdream.collect.v1
1632
+ * @see proto type: sparkdream.collect.v1.MsgUnhideContent
1633
+ */
1634
+ export interface MsgUnhideContent {
1635
+ creator: string;
1636
+ hideRecordId: bigint;
1637
+ }
1638
+ export interface MsgUnhideContentProtoMsg {
1639
+ typeUrl: "/sparkdream.collect.v1.MsgUnhideContent";
1640
+ value: Uint8Array;
1641
+ }
1642
+ /**
1643
+ * MsgUnhideContent defines the MsgUnhideContent message.
1644
+ * @name MsgUnhideContentAmino
1645
+ * @package sparkdream.collect.v1
1646
+ * @see proto type: sparkdream.collect.v1.MsgUnhideContent
1647
+ */
1648
+ export interface MsgUnhideContentAmino {
1649
+ creator?: string;
1650
+ hide_record_id?: string;
1651
+ }
1652
+ export interface MsgUnhideContentAminoMsg {
1653
+ type: "sparkdream/x/collect/MsgUnhideContent";
1654
+ value: MsgUnhideContentAmino;
1655
+ }
1656
+ /**
1657
+ * MsgUnhideContentResponse defines the MsgUnhideContentResponse message.
1658
+ * @name MsgUnhideContentResponse
1659
+ * @package sparkdream.collect.v1
1660
+ * @see proto type: sparkdream.collect.v1.MsgUnhideContentResponse
1661
+ */
1662
+ export interface MsgUnhideContentResponse {
1663
+ }
1664
+ export interface MsgUnhideContentResponseProtoMsg {
1665
+ typeUrl: "/sparkdream.collect.v1.MsgUnhideContentResponse";
1666
+ value: Uint8Array;
1667
+ }
1668
+ /**
1669
+ * MsgUnhideContentResponse defines the MsgUnhideContentResponse message.
1670
+ * @name MsgUnhideContentResponseAmino
1671
+ * @package sparkdream.collect.v1
1672
+ * @see proto type: sparkdream.collect.v1.MsgUnhideContentResponse
1673
+ */
1674
+ export interface MsgUnhideContentResponseAmino {
1675
+ }
1676
+ export interface MsgUnhideContentResponseAminoMsg {
1677
+ type: "/sparkdream.collect.v1.MsgUnhideContentResponse";
1678
+ value: MsgUnhideContentResponseAmino;
1679
+ }
1594
1680
  /**
1595
1681
  * MsgUpdateParams is the Msg/UpdateParams request type.
1596
1682
  * @name MsgUpdateParams
@@ -2659,3 +2745,41 @@ export declare const MsgMakeCollectionPermanentResponse: {
2659
2745
  toProto(message: MsgMakeCollectionPermanentResponse): Uint8Array;
2660
2746
  toProtoMsg(message: MsgMakeCollectionPermanentResponse): MsgMakeCollectionPermanentResponseProtoMsg;
2661
2747
  };
2748
+ /**
2749
+ * MsgUnhideContent defines the MsgUnhideContent message.
2750
+ * @name MsgUnhideContent
2751
+ * @package sparkdream.collect.v1
2752
+ * @see proto type: sparkdream.collect.v1.MsgUnhideContent
2753
+ */
2754
+ export declare const MsgUnhideContent: {
2755
+ typeUrl: string;
2756
+ aminoType: string;
2757
+ encode(message: MsgUnhideContent, writer?: BinaryWriter): BinaryWriter;
2758
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgUnhideContent;
2759
+ fromPartial(object: DeepPartial<MsgUnhideContent>): MsgUnhideContent;
2760
+ fromAmino(object: MsgUnhideContentAmino): MsgUnhideContent;
2761
+ toAmino(message: MsgUnhideContent): MsgUnhideContentAmino;
2762
+ fromAminoMsg(object: MsgUnhideContentAminoMsg): MsgUnhideContent;
2763
+ toAminoMsg(message: MsgUnhideContent): MsgUnhideContentAminoMsg;
2764
+ fromProtoMsg(message: MsgUnhideContentProtoMsg): MsgUnhideContent;
2765
+ toProto(message: MsgUnhideContent): Uint8Array;
2766
+ toProtoMsg(message: MsgUnhideContent): MsgUnhideContentProtoMsg;
2767
+ };
2768
+ /**
2769
+ * MsgUnhideContentResponse defines the MsgUnhideContentResponse message.
2770
+ * @name MsgUnhideContentResponse
2771
+ * @package sparkdream.collect.v1
2772
+ * @see proto type: sparkdream.collect.v1.MsgUnhideContentResponse
2773
+ */
2774
+ export declare const MsgUnhideContentResponse: {
2775
+ typeUrl: string;
2776
+ encode(_: MsgUnhideContentResponse, writer?: BinaryWriter): BinaryWriter;
2777
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgUnhideContentResponse;
2778
+ fromPartial(_: DeepPartial<MsgUnhideContentResponse>): MsgUnhideContentResponse;
2779
+ fromAmino(_: MsgUnhideContentResponseAmino): MsgUnhideContentResponse;
2780
+ toAmino(_: MsgUnhideContentResponse): MsgUnhideContentResponseAmino;
2781
+ fromAminoMsg(object: MsgUnhideContentResponseAminoMsg): MsgUnhideContentResponse;
2782
+ fromProtoMsg(message: MsgUnhideContentResponseProtoMsg): MsgUnhideContentResponse;
2783
+ toProto(message: MsgUnhideContentResponse): Uint8Array;
2784
+ toProtoMsg(message: MsgUnhideContentResponse): MsgUnhideContentResponseProtoMsg;
2785
+ };
@@ -1,12 +1,73 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MsgEndorseCollectionResponse = exports.MsgEndorseCollection = exports.MsgAppealHideResponse = exports.MsgAppealHide = exports.MsgHideContentResponse = exports.MsgHideContent = exports.MsgFlagContentResponse = exports.MsgFlagContent = exports.MsgDownvoteContentResponse = exports.MsgDownvoteContent = exports.MsgUpvoteContentResponse = exports.MsgUpvoteContent = exports.MsgUpdateOperationalParamsResponse = exports.MsgUpdateOperationalParams = exports.MsgSponsorCollectionResponse = exports.MsgSponsorCollection = exports.MsgCancelSponsorshipRequestResponse = exports.MsgCancelSponsorshipRequest = exports.MsgRequestSponsorshipResponse = exports.MsgRequestSponsorship = exports.MsgChallengeReviewResponse = exports.MsgChallengeReview = exports.MsgRateCollectionResponse = exports.MsgRateCollection = exports.MsgUpdateCollaboratorRoleResponse = exports.MsgUpdateCollaboratorRole = exports.MsgRemoveCollaboratorResponse = exports.MsgRemoveCollaborator = exports.MsgAddCollaboratorResponse = exports.MsgAddCollaborator = exports.MsgReorderItemResponse = exports.MsgReorderItem = exports.MsgRemoveItemsResponse = exports.MsgRemoveItems = exports.MsgRemoveItemResponse = exports.MsgRemoveItem = exports.MsgUpdateItemResponse = exports.MsgUpdateItem = exports.MsgAddItemsResponse = exports.MsgAddItems = exports.MsgAddItemResponse = exports.MsgAddItem = exports.MsgDeleteCollectionResponse = exports.MsgDeleteCollection = exports.MsgUpdateCollectionResponse = exports.MsgUpdateCollection = exports.MsgCreateCollectionResponse = exports.MsgCreateCollection = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = void 0;
4
- exports.MsgMakeCollectionPermanentResponse = exports.MsgMakeCollectionPermanent = exports.MsgUnpinCollectionResponse = exports.MsgUnpinCollection = exports.MsgPinCollectionResponse = exports.MsgPinCollection = exports.MsgSetSeekingEndorsementResponse = exports.MsgSetSeekingEndorsement = void 0;
3
+ exports.MsgAppealHideResponse = exports.MsgAppealHide = exports.MsgHideContentResponse = exports.MsgHideContent = exports.MsgFlagContentResponse = exports.MsgFlagContent = exports.MsgDownvoteContentResponse = exports.MsgDownvoteContent = exports.MsgUpvoteContentResponse = exports.MsgUpvoteContent = exports.MsgUpdateOperationalParamsResponse = exports.MsgUpdateOperationalParams = exports.MsgSponsorCollectionResponse = exports.MsgSponsorCollection = exports.MsgCancelSponsorshipRequestResponse = exports.MsgCancelSponsorshipRequest = exports.MsgRequestSponsorshipResponse = exports.MsgRequestSponsorship = exports.MsgChallengeReviewResponse = exports.MsgChallengeReview = exports.MsgRateCollectionResponse = exports.MsgRateCollection = exports.MsgUpdateCollaboratorRoleResponse = exports.MsgUpdateCollaboratorRole = exports.MsgRemoveCollaboratorResponse = exports.MsgRemoveCollaborator = exports.MsgAddCollaboratorResponse = exports.MsgAddCollaborator = exports.MsgReorderItemResponse = exports.MsgReorderItem = exports.MsgRemoveItemsResponse = exports.MsgRemoveItems = exports.MsgRemoveItemResponse = exports.MsgRemoveItem = exports.MsgUpdateItemResponse = exports.MsgUpdateItem = exports.MsgAddItemsResponse = exports.MsgAddItems = exports.MsgAddItemResponse = exports.MsgAddItem = exports.MsgDeleteCollectionResponse = exports.MsgDeleteCollection = exports.MsgUpdateCollectionResponse = exports.MsgUpdateCollection = exports.MsgCreateCollectionResponse = exports.MsgCreateCollection = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.ModerationAuthorityAmino = exports.ModerationAuthority = void 0;
4
+ exports.MsgUnhideContentResponse = exports.MsgUnhideContent = exports.MsgMakeCollectionPermanentResponse = exports.MsgMakeCollectionPermanent = exports.MsgUnpinCollectionResponse = exports.MsgUnpinCollection = exports.MsgPinCollectionResponse = exports.MsgPinCollection = exports.MsgSetSeekingEndorsementResponse = exports.MsgSetSeekingEndorsement = exports.MsgEndorseCollectionResponse = exports.MsgEndorseCollection = void 0;
5
+ exports.moderationAuthorityFromJSON = moderationAuthorityFromJSON;
6
+ exports.moderationAuthorityToJSON = moderationAuthorityToJSON;
5
7
  //@ts-nocheck
6
8
  const params_1 = require("./params");
7
9
  const types_1 = require("./types");
8
10
  const binary_1 = require("../../../binary");
9
11
  const helpers_1 = require("../../../helpers");
12
+ /**
13
+ * ModerationAuthority selects which authority the caller of MsgHideContent
14
+ * is invoking. Mirrors x/forum's enum: it disambiguates the case where an
15
+ * account is BOTH a bonded content sentinel and a Commons Operations
16
+ * Committee member — without it the handler would have to silently pick one
17
+ * path. See the authority-selection notes in docs/x-collect-spec.md
18
+ * (MsgHideContent).
19
+ */
20
+ var ModerationAuthority;
21
+ (function (ModerationAuthority) {
22
+ /**
23
+ * MODERATION_AUTHORITY_AUTO - AUTO (default, back-compat): sentinel path whenever the account is an
24
+ * eligible bonded sentinel, else the council path if council-authorized,
25
+ * else error. Prefers the accountable (bonded) sentinel path.
26
+ */
27
+ ModerationAuthority[ModerationAuthority["MODERATION_AUTHORITY_AUTO"] = 0] = "MODERATION_AUTHORITY_AUTO";
28
+ /**
29
+ * MODERATION_AUTHORITY_SENTINEL - SENTINEL: force the sentinel path; error if not an eligible sentinel
30
+ * (no silent fallback to council).
31
+ */
32
+ ModerationAuthority[ModerationAuthority["MODERATION_AUTHORITY_SENTINEL"] = 1] = "MODERATION_AUTHORITY_SENTINEL";
33
+ /**
34
+ * MODERATION_AUTHORITY_COUNCIL - COUNCIL: force the council (gov-authority) path; error if not
35
+ * council-authorized. The deliberate "act as committee" choice.
36
+ */
37
+ ModerationAuthority[ModerationAuthority["MODERATION_AUTHORITY_COUNCIL"] = 2] = "MODERATION_AUTHORITY_COUNCIL";
38
+ ModerationAuthority[ModerationAuthority["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
39
+ })(ModerationAuthority || (exports.ModerationAuthority = ModerationAuthority = {}));
40
+ exports.ModerationAuthorityAmino = ModerationAuthority;
41
+ function moderationAuthorityFromJSON(object) {
42
+ switch (object) {
43
+ case 0:
44
+ case "MODERATION_AUTHORITY_AUTO":
45
+ return ModerationAuthority.MODERATION_AUTHORITY_AUTO;
46
+ case 1:
47
+ case "MODERATION_AUTHORITY_SENTINEL":
48
+ return ModerationAuthority.MODERATION_AUTHORITY_SENTINEL;
49
+ case 2:
50
+ case "MODERATION_AUTHORITY_COUNCIL":
51
+ return ModerationAuthority.MODERATION_AUTHORITY_COUNCIL;
52
+ case -1:
53
+ case "UNRECOGNIZED":
54
+ default:
55
+ return ModerationAuthority.UNRECOGNIZED;
56
+ }
57
+ }
58
+ function moderationAuthorityToJSON(object) {
59
+ switch (object) {
60
+ case ModerationAuthority.MODERATION_AUTHORITY_AUTO:
61
+ return "MODERATION_AUTHORITY_AUTO";
62
+ case ModerationAuthority.MODERATION_AUTHORITY_SENTINEL:
63
+ return "MODERATION_AUTHORITY_SENTINEL";
64
+ case ModerationAuthority.MODERATION_AUTHORITY_COUNCIL:
65
+ return "MODERATION_AUTHORITY_COUNCIL";
66
+ case ModerationAuthority.UNRECOGNIZED:
67
+ default:
68
+ return "UNRECOGNIZED";
69
+ }
70
+ }
10
71
  function createBaseMsgUpdateParams() {
11
72
  return {
12
73
  authority: "",
@@ -3912,7 +3973,8 @@ function createBaseMsgHideContent() {
3912
3973
  targetId: BigInt(0),
3913
3974
  targetType: 0,
3914
3975
  reasonCode: 0,
3915
- reasonText: ""
3976
+ reasonText: "",
3977
+ authority: 0
3916
3978
  };
3917
3979
  }
3918
3980
  /**
@@ -3940,6 +4002,9 @@ exports.MsgHideContent = {
3940
4002
  if (message.reasonText !== "") {
3941
4003
  writer.uint32(42).string(message.reasonText);
3942
4004
  }
4005
+ if (message.authority !== 0) {
4006
+ writer.uint32(48).int32(message.authority);
4007
+ }
3943
4008
  return writer;
3944
4009
  },
3945
4010
  decode(input, length) {
@@ -3964,6 +4029,9 @@ exports.MsgHideContent = {
3964
4029
  case 5:
3965
4030
  message.reasonText = reader.string();
3966
4031
  break;
4032
+ case 6:
4033
+ message.authority = reader.int32();
4034
+ break;
3967
4035
  default:
3968
4036
  reader.skipType(tag & 7);
3969
4037
  break;
@@ -3978,6 +4046,7 @@ exports.MsgHideContent = {
3978
4046
  message.targetType = object.targetType ?? 0;
3979
4047
  message.reasonCode = object.reasonCode ?? 0;
3980
4048
  message.reasonText = object.reasonText ?? "";
4049
+ message.authority = object.authority ?? 0;
3981
4050
  return message;
3982
4051
  },
3983
4052
  fromAmino(object) {
@@ -3997,6 +4066,9 @@ exports.MsgHideContent = {
3997
4066
  if (object.reason_text !== undefined && object.reason_text !== null) {
3998
4067
  message.reasonText = object.reason_text;
3999
4068
  }
4069
+ if (object.authority !== undefined && object.authority !== null) {
4070
+ message.authority = object.authority;
4071
+ }
4000
4072
  return message;
4001
4073
  },
4002
4074
  toAmino(message) {
@@ -4006,6 +4078,7 @@ exports.MsgHideContent = {
4006
4078
  obj.target_type = message.targetType === 0 ? undefined : message.targetType;
4007
4079
  obj.reason_code = message.reasonCode === 0 ? undefined : message.reasonCode;
4008
4080
  obj.reason_text = message.reasonText === "" ? undefined : message.reasonText;
4081
+ obj.authority = message.authority === 0 ? undefined : message.authority;
4009
4082
  return obj;
4010
4083
  },
4011
4084
  fromAminoMsg(object) {
@@ -4978,3 +5051,147 @@ exports.MsgMakeCollectionPermanentResponse = {
4978
5051
  };
4979
5052
  }
4980
5053
  };
5054
+ function createBaseMsgUnhideContent() {
5055
+ return {
5056
+ creator: "",
5057
+ hideRecordId: BigInt(0)
5058
+ };
5059
+ }
5060
+ /**
5061
+ * MsgUnhideContent defines the MsgUnhideContent message.
5062
+ * @name MsgUnhideContent
5063
+ * @package sparkdream.collect.v1
5064
+ * @see proto type: sparkdream.collect.v1.MsgUnhideContent
5065
+ */
5066
+ exports.MsgUnhideContent = {
5067
+ typeUrl: "/sparkdream.collect.v1.MsgUnhideContent",
5068
+ aminoType: "sparkdream/x/collect/MsgUnhideContent",
5069
+ encode(message, writer = binary_1.BinaryWriter.create()) {
5070
+ if (message.creator !== "") {
5071
+ writer.uint32(10).string(message.creator);
5072
+ }
5073
+ if (message.hideRecordId !== BigInt(0)) {
5074
+ writer.uint32(16).uint64(message.hideRecordId);
5075
+ }
5076
+ return writer;
5077
+ },
5078
+ decode(input, length) {
5079
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
5080
+ let end = length === undefined ? reader.len : reader.pos + length;
5081
+ const message = createBaseMsgUnhideContent();
5082
+ while (reader.pos < end) {
5083
+ const tag = reader.uint32();
5084
+ switch (tag >>> 3) {
5085
+ case 1:
5086
+ message.creator = reader.string();
5087
+ break;
5088
+ case 2:
5089
+ message.hideRecordId = reader.uint64();
5090
+ break;
5091
+ default:
5092
+ reader.skipType(tag & 7);
5093
+ break;
5094
+ }
5095
+ }
5096
+ return message;
5097
+ },
5098
+ fromPartial(object) {
5099
+ const message = createBaseMsgUnhideContent();
5100
+ message.creator = object.creator ?? "";
5101
+ message.hideRecordId = object.hideRecordId !== undefined && object.hideRecordId !== null ? BigInt(object.hideRecordId.toString()) : BigInt(0);
5102
+ return message;
5103
+ },
5104
+ fromAmino(object) {
5105
+ const message = createBaseMsgUnhideContent();
5106
+ if (object.creator !== undefined && object.creator !== null) {
5107
+ message.creator = object.creator;
5108
+ }
5109
+ if (object.hide_record_id !== undefined && object.hide_record_id !== null) {
5110
+ message.hideRecordId = BigInt(object.hide_record_id);
5111
+ }
5112
+ return message;
5113
+ },
5114
+ toAmino(message) {
5115
+ const obj = {};
5116
+ obj.creator = message.creator === "" ? undefined : message.creator;
5117
+ obj.hide_record_id = message.hideRecordId !== BigInt(0) ? message.hideRecordId?.toString() : undefined;
5118
+ return obj;
5119
+ },
5120
+ fromAminoMsg(object) {
5121
+ return exports.MsgUnhideContent.fromAmino(object.value);
5122
+ },
5123
+ toAminoMsg(message) {
5124
+ return {
5125
+ type: "sparkdream/x/collect/MsgUnhideContent",
5126
+ value: exports.MsgUnhideContent.toAmino(message)
5127
+ };
5128
+ },
5129
+ fromProtoMsg(message) {
5130
+ return exports.MsgUnhideContent.decode(message.value);
5131
+ },
5132
+ toProto(message) {
5133
+ return exports.MsgUnhideContent.encode(message).finish();
5134
+ },
5135
+ toProtoMsg(message) {
5136
+ return {
5137
+ typeUrl: "/sparkdream.collect.v1.MsgUnhideContent",
5138
+ value: exports.MsgUnhideContent.encode(message).finish()
5139
+ };
5140
+ }
5141
+ };
5142
+ function createBaseMsgUnhideContentResponse() {
5143
+ return {};
5144
+ }
5145
+ /**
5146
+ * MsgUnhideContentResponse defines the MsgUnhideContentResponse message.
5147
+ * @name MsgUnhideContentResponse
5148
+ * @package sparkdream.collect.v1
5149
+ * @see proto type: sparkdream.collect.v1.MsgUnhideContentResponse
5150
+ */
5151
+ exports.MsgUnhideContentResponse = {
5152
+ typeUrl: "/sparkdream.collect.v1.MsgUnhideContentResponse",
5153
+ encode(_, writer = binary_1.BinaryWriter.create()) {
5154
+ return writer;
5155
+ },
5156
+ decode(input, length) {
5157
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
5158
+ let end = length === undefined ? reader.len : reader.pos + length;
5159
+ const message = createBaseMsgUnhideContentResponse();
5160
+ while (reader.pos < end) {
5161
+ const tag = reader.uint32();
5162
+ switch (tag >>> 3) {
5163
+ default:
5164
+ reader.skipType(tag & 7);
5165
+ break;
5166
+ }
5167
+ }
5168
+ return message;
5169
+ },
5170
+ fromPartial(_) {
5171
+ const message = createBaseMsgUnhideContentResponse();
5172
+ return message;
5173
+ },
5174
+ fromAmino(_) {
5175
+ const message = createBaseMsgUnhideContentResponse();
5176
+ return message;
5177
+ },
5178
+ toAmino(_) {
5179
+ const obj = {};
5180
+ return obj;
5181
+ },
5182
+ fromAminoMsg(object) {
5183
+ return exports.MsgUnhideContentResponse.fromAmino(object.value);
5184
+ },
5185
+ fromProtoMsg(message) {
5186
+ return exports.MsgUnhideContentResponse.decode(message.value);
5187
+ },
5188
+ toProto(message) {
5189
+ return exports.MsgUnhideContentResponse.encode(message).finish();
5190
+ },
5191
+ toProtoMsg(message) {
5192
+ return {
5193
+ typeUrl: "/sparkdream.collect.v1.MsgUnhideContentResponse",
5194
+ value: exports.MsgUnhideContentResponse.encode(message).finish()
5195
+ };
5196
+ }
5197
+ };
@@ -1,6 +1,6 @@
1
1
  import { TelescopeGeneratedType } from "../../../types";
2
2
  import { Registry } from "@cosmjs/proto-signing";
3
- import { MsgUpdateParams, MsgCreateCollection, MsgUpdateCollection, MsgDeleteCollection, MsgAddItem, MsgAddItems, MsgUpdateItem, MsgRemoveItem, MsgRemoveItems, MsgReorderItem, MsgAddCollaborator, MsgRemoveCollaborator, MsgUpdateCollaboratorRole, MsgRateCollection, MsgChallengeReview, MsgRequestSponsorship, MsgCancelSponsorshipRequest, MsgSponsorCollection, MsgUpdateOperationalParams, MsgUpvoteContent, MsgDownvoteContent, MsgFlagContent, MsgHideContent, MsgAppealHide, MsgEndorseCollection, MsgSetSeekingEndorsement, MsgPinCollection, MsgUnpinCollection, MsgMakeCollectionPermanent } from "./tx";
3
+ import { MsgUpdateParams, MsgCreateCollection, MsgUpdateCollection, MsgDeleteCollection, MsgAddItem, MsgAddItems, MsgUpdateItem, MsgRemoveItem, MsgRemoveItems, MsgReorderItem, MsgAddCollaborator, MsgRemoveCollaborator, MsgUpdateCollaboratorRole, MsgRateCollection, MsgChallengeReview, MsgRequestSponsorship, MsgCancelSponsorshipRequest, MsgSponsorCollection, MsgUpdateOperationalParams, MsgUpvoteContent, MsgDownvoteContent, MsgFlagContent, MsgHideContent, MsgAppealHide, MsgEndorseCollection, MsgSetSeekingEndorsement, MsgPinCollection, MsgUnpinCollection, MsgMakeCollectionPermanent, MsgUnhideContent } from "./tx";
4
4
  export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
5
5
  export declare const load: (protoRegistry: Registry) => void;
6
6
  export declare const MessageComposer: {
@@ -121,6 +121,10 @@ export declare const MessageComposer: {
121
121
  typeUrl: string;
122
122
  value: Uint8Array<ArrayBufferLike>;
123
123
  };
124
+ unhideContent(value: MsgUnhideContent): {
125
+ typeUrl: string;
126
+ value: Uint8Array<ArrayBufferLike>;
127
+ };
124
128
  };
125
129
  withTypeUrl: {
126
130
  updateParams(value: MsgUpdateParams): {
@@ -239,6 +243,10 @@ export declare const MessageComposer: {
239
243
  typeUrl: string;
240
244
  value: MsgMakeCollectionPermanent;
241
245
  };
246
+ unhideContent(value: MsgUnhideContent): {
247
+ typeUrl: string;
248
+ value: MsgUnhideContent;
249
+ };
242
250
  };
243
251
  fromPartial: {
244
252
  updateParams(value: MsgUpdateParams): {
@@ -357,5 +365,9 @@ export declare const MessageComposer: {
357
365
  typeUrl: string;
358
366
  value: MsgMakeCollectionPermanent;
359
367
  };
368
+ unhideContent(value: MsgUnhideContent): {
369
+ typeUrl: string;
370
+ value: MsgUnhideContent;
371
+ };
360
372
  };
361
373
  };
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MessageComposer = exports.load = exports.registry = void 0;
4
4
  const tx_1 = require("./tx");
5
- exports.registry = [["/sparkdream.collect.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.collect.v1.MsgCreateCollection", tx_1.MsgCreateCollection], ["/sparkdream.collect.v1.MsgUpdateCollection", tx_1.MsgUpdateCollection], ["/sparkdream.collect.v1.MsgDeleteCollection", tx_1.MsgDeleteCollection], ["/sparkdream.collect.v1.MsgAddItem", tx_1.MsgAddItem], ["/sparkdream.collect.v1.MsgAddItems", tx_1.MsgAddItems], ["/sparkdream.collect.v1.MsgUpdateItem", tx_1.MsgUpdateItem], ["/sparkdream.collect.v1.MsgRemoveItem", tx_1.MsgRemoveItem], ["/sparkdream.collect.v1.MsgRemoveItems", tx_1.MsgRemoveItems], ["/sparkdream.collect.v1.MsgReorderItem", tx_1.MsgReorderItem], ["/sparkdream.collect.v1.MsgAddCollaborator", tx_1.MsgAddCollaborator], ["/sparkdream.collect.v1.MsgRemoveCollaborator", tx_1.MsgRemoveCollaborator], ["/sparkdream.collect.v1.MsgUpdateCollaboratorRole", tx_1.MsgUpdateCollaboratorRole], ["/sparkdream.collect.v1.MsgRateCollection", tx_1.MsgRateCollection], ["/sparkdream.collect.v1.MsgChallengeReview", tx_1.MsgChallengeReview], ["/sparkdream.collect.v1.MsgRequestSponsorship", tx_1.MsgRequestSponsorship], ["/sparkdream.collect.v1.MsgCancelSponsorshipRequest", tx_1.MsgCancelSponsorshipRequest], ["/sparkdream.collect.v1.MsgSponsorCollection", tx_1.MsgSponsorCollection], ["/sparkdream.collect.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams], ["/sparkdream.collect.v1.MsgUpvoteContent", tx_1.MsgUpvoteContent], ["/sparkdream.collect.v1.MsgDownvoteContent", tx_1.MsgDownvoteContent], ["/sparkdream.collect.v1.MsgFlagContent", tx_1.MsgFlagContent], ["/sparkdream.collect.v1.MsgHideContent", tx_1.MsgHideContent], ["/sparkdream.collect.v1.MsgAppealHide", tx_1.MsgAppealHide], ["/sparkdream.collect.v1.MsgEndorseCollection", tx_1.MsgEndorseCollection], ["/sparkdream.collect.v1.MsgSetSeekingEndorsement", tx_1.MsgSetSeekingEndorsement], ["/sparkdream.collect.v1.MsgPinCollection", tx_1.MsgPinCollection], ["/sparkdream.collect.v1.MsgUnpinCollection", tx_1.MsgUnpinCollection], ["/sparkdream.collect.v1.MsgMakeCollectionPermanent", tx_1.MsgMakeCollectionPermanent]];
5
+ exports.registry = [["/sparkdream.collect.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.collect.v1.MsgCreateCollection", tx_1.MsgCreateCollection], ["/sparkdream.collect.v1.MsgUpdateCollection", tx_1.MsgUpdateCollection], ["/sparkdream.collect.v1.MsgDeleteCollection", tx_1.MsgDeleteCollection], ["/sparkdream.collect.v1.MsgAddItem", tx_1.MsgAddItem], ["/sparkdream.collect.v1.MsgAddItems", tx_1.MsgAddItems], ["/sparkdream.collect.v1.MsgUpdateItem", tx_1.MsgUpdateItem], ["/sparkdream.collect.v1.MsgRemoveItem", tx_1.MsgRemoveItem], ["/sparkdream.collect.v1.MsgRemoveItems", tx_1.MsgRemoveItems], ["/sparkdream.collect.v1.MsgReorderItem", tx_1.MsgReorderItem], ["/sparkdream.collect.v1.MsgAddCollaborator", tx_1.MsgAddCollaborator], ["/sparkdream.collect.v1.MsgRemoveCollaborator", tx_1.MsgRemoveCollaborator], ["/sparkdream.collect.v1.MsgUpdateCollaboratorRole", tx_1.MsgUpdateCollaboratorRole], ["/sparkdream.collect.v1.MsgRateCollection", tx_1.MsgRateCollection], ["/sparkdream.collect.v1.MsgChallengeReview", tx_1.MsgChallengeReview], ["/sparkdream.collect.v1.MsgRequestSponsorship", tx_1.MsgRequestSponsorship], ["/sparkdream.collect.v1.MsgCancelSponsorshipRequest", tx_1.MsgCancelSponsorshipRequest], ["/sparkdream.collect.v1.MsgSponsorCollection", tx_1.MsgSponsorCollection], ["/sparkdream.collect.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams], ["/sparkdream.collect.v1.MsgUpvoteContent", tx_1.MsgUpvoteContent], ["/sparkdream.collect.v1.MsgDownvoteContent", tx_1.MsgDownvoteContent], ["/sparkdream.collect.v1.MsgFlagContent", tx_1.MsgFlagContent], ["/sparkdream.collect.v1.MsgHideContent", tx_1.MsgHideContent], ["/sparkdream.collect.v1.MsgAppealHide", tx_1.MsgAppealHide], ["/sparkdream.collect.v1.MsgEndorseCollection", tx_1.MsgEndorseCollection], ["/sparkdream.collect.v1.MsgSetSeekingEndorsement", tx_1.MsgSetSeekingEndorsement], ["/sparkdream.collect.v1.MsgPinCollection", tx_1.MsgPinCollection], ["/sparkdream.collect.v1.MsgUnpinCollection", tx_1.MsgUnpinCollection], ["/sparkdream.collect.v1.MsgMakeCollectionPermanent", tx_1.MsgMakeCollectionPermanent], ["/sparkdream.collect.v1.MsgUnhideContent", tx_1.MsgUnhideContent]];
6
6
  const load = (protoRegistry) => {
7
7
  exports.registry.forEach(([typeUrl, mod]) => {
8
8
  protoRegistry.register(typeUrl, mod);
@@ -184,6 +184,12 @@ exports.MessageComposer = {
184
184
  typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
185
185
  value: tx_1.MsgMakeCollectionPermanent.encode(value).finish()
186
186
  };
187
+ },
188
+ unhideContent(value) {
189
+ return {
190
+ typeUrl: "/sparkdream.collect.v1.MsgUnhideContent",
191
+ value: tx_1.MsgUnhideContent.encode(value).finish()
192
+ };
187
193
  }
188
194
  },
189
195
  withTypeUrl: {
@@ -360,6 +366,12 @@ exports.MessageComposer = {
360
366
  typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
361
367
  value
362
368
  };
369
+ },
370
+ unhideContent(value) {
371
+ return {
372
+ typeUrl: "/sparkdream.collect.v1.MsgUnhideContent",
373
+ value
374
+ };
363
375
  }
364
376
  },
365
377
  fromPartial: {
@@ -536,6 +548,12 @@ exports.MessageComposer = {
536
548
  typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
537
549
  value: tx_1.MsgMakeCollectionPermanent.fromPartial(value)
538
550
  };
551
+ },
552
+ unhideContent(value) {
553
+ return {
554
+ typeUrl: "/sparkdream.collect.v1.MsgUnhideContent",
555
+ value: tx_1.MsgUnhideContent.fromPartial(value)
556
+ };
539
557
  }
540
558
  }
541
559
  };
@@ -1,5 +1,5 @@
1
1
  import { TxRpc } from "../../../types";
2
- import { MsgUpdateParams, MsgUpdateParamsResponse, MsgCreateCollection, MsgCreateCollectionResponse, MsgUpdateCollection, MsgUpdateCollectionResponse, MsgDeleteCollection, MsgDeleteCollectionResponse, MsgAddItem, MsgAddItemResponse, MsgAddItems, MsgAddItemsResponse, MsgUpdateItem, MsgUpdateItemResponse, MsgRemoveItem, MsgRemoveItemResponse, MsgRemoveItems, MsgRemoveItemsResponse, MsgReorderItem, MsgReorderItemResponse, MsgAddCollaborator, MsgAddCollaboratorResponse, MsgRemoveCollaborator, MsgRemoveCollaboratorResponse, MsgUpdateCollaboratorRole, MsgUpdateCollaboratorRoleResponse, MsgRateCollection, MsgRateCollectionResponse, MsgChallengeReview, MsgChallengeReviewResponse, MsgRequestSponsorship, MsgRequestSponsorshipResponse, MsgCancelSponsorshipRequest, MsgCancelSponsorshipRequestResponse, MsgSponsorCollection, MsgSponsorCollectionResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgUpvoteContent, MsgUpvoteContentResponse, MsgDownvoteContent, MsgDownvoteContentResponse, MsgFlagContent, MsgFlagContentResponse, MsgHideContent, MsgHideContentResponse, MsgAppealHide, MsgAppealHideResponse, MsgEndorseCollection, MsgEndorseCollectionResponse, MsgSetSeekingEndorsement, MsgSetSeekingEndorsementResponse, MsgPinCollection, MsgPinCollectionResponse, MsgUnpinCollection, MsgUnpinCollectionResponse, MsgMakeCollectionPermanent, MsgMakeCollectionPermanentResponse } from "./tx";
2
+ import { MsgUpdateParams, MsgUpdateParamsResponse, MsgCreateCollection, MsgCreateCollectionResponse, MsgUpdateCollection, MsgUpdateCollectionResponse, MsgDeleteCollection, MsgDeleteCollectionResponse, MsgAddItem, MsgAddItemResponse, MsgAddItems, MsgAddItemsResponse, MsgUpdateItem, MsgUpdateItemResponse, MsgRemoveItem, MsgRemoveItemResponse, MsgRemoveItems, MsgRemoveItemsResponse, MsgReorderItem, MsgReorderItemResponse, MsgAddCollaborator, MsgAddCollaboratorResponse, MsgRemoveCollaborator, MsgRemoveCollaboratorResponse, MsgUpdateCollaboratorRole, MsgUpdateCollaboratorRoleResponse, MsgRateCollection, MsgRateCollectionResponse, MsgChallengeReview, MsgChallengeReviewResponse, MsgRequestSponsorship, MsgRequestSponsorshipResponse, MsgCancelSponsorshipRequest, MsgCancelSponsorshipRequestResponse, MsgSponsorCollection, MsgSponsorCollectionResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgUpvoteContent, MsgUpvoteContentResponse, MsgDownvoteContent, MsgDownvoteContentResponse, MsgFlagContent, MsgFlagContentResponse, MsgHideContent, MsgHideContentResponse, MsgAppealHide, MsgAppealHideResponse, MsgEndorseCollection, MsgEndorseCollectionResponse, MsgSetSeekingEndorsement, MsgSetSeekingEndorsementResponse, MsgPinCollection, MsgPinCollectionResponse, MsgUnpinCollection, MsgUnpinCollectionResponse, MsgMakeCollectionPermanent, MsgMakeCollectionPermanentResponse, MsgUnhideContent, MsgUnhideContentResponse } from "./tx";
3
3
  /** Msg defines the Msg service. */
4
4
  export interface Msg {
5
5
  updateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
@@ -52,6 +52,14 @@ export interface Msg {
52
52
  * params.make_permanent_min_trust_level. Idempotent on permanent collections.
53
53
  */
54
54
  makeCollectionPermanent(request: MsgMakeCollectionPermanent): Promise<MsgMakeCollectionPermanentResponse>;
55
+ /**
56
+ * UnhideContent reverses MsgHideContent. Original sentinel only, within
57
+ * params.sentinel_unhide_window_blocks, and only before an appeal is
58
+ * filed. Restores the author bond and rep penalty slashed at hide time.
59
+ * The sentinel's committed bond stays reserved until the original
60
+ * appeal_deadline (anti hide/unhide cycling).
61
+ */
62
+ unhideContent(request: MsgUnhideContent): Promise<MsgUnhideContentResponse>;
55
63
  }
56
64
  export declare class MsgClientImpl implements Msg {
57
65
  private readonly rpc;
@@ -85,5 +93,6 @@ export declare class MsgClientImpl implements Msg {
85
93
  pinCollection: (request: MsgPinCollection) => Promise<MsgPinCollectionResponse>;
86
94
  unpinCollection: (request: MsgUnpinCollection) => Promise<MsgUnpinCollectionResponse>;
87
95
  makeCollectionPermanent: (request: MsgMakeCollectionPermanent) => Promise<MsgMakeCollectionPermanentResponse>;
96
+ unhideContent: (request: MsgUnhideContent) => Promise<MsgUnhideContentResponse>;
88
97
  }
89
98
  export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
@@ -186,6 +186,16 @@ class MsgClientImpl {
186
186
  const promise = this.rpc.request("sparkdream.collect.v1.Msg", "MakeCollectionPermanent", data);
187
187
  return promise.then(data => tx_1.MsgMakeCollectionPermanentResponse.decode(new binary_1.BinaryReader(data)));
188
188
  };
189
+ /* UnhideContent reverses MsgHideContent. Original sentinel only, within
190
+ params.sentinel_unhide_window_blocks, and only before an appeal is
191
+ filed. Restores the author bond and rep penalty slashed at hide time.
192
+ The sentinel's committed bond stays reserved until the original
193
+ appeal_deadline (anti hide/unhide cycling). */
194
+ unhideContent = async (request) => {
195
+ const data = tx_1.MsgUnhideContent.encode(request).finish();
196
+ const promise = this.rpc.request("sparkdream.collect.v1.Msg", "UnhideContent", data);
197
+ return promise.then(data => tx_1.MsgUnhideContentResponse.decode(new binary_1.BinaryReader(data)));
198
+ };
189
199
  }
190
200
  exports.MsgClientImpl = MsgClientImpl;
191
201
  const createClientImpl = (rpc) => {