@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,5 +1,5 @@
|
|
|
1
1
|
import { TxRpc } from "../../../types";
|
|
2
|
-
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse,
|
|
2
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgCreatePost, MsgCreatePostResponse, MsgEditPost, MsgEditPostResponse, MsgDeletePost, MsgDeletePostResponse, MsgFreezeThread, MsgFreezeThreadResponse, MsgUnarchiveThread, MsgUnarchiveThreadResponse, MsgPinPost, MsgPinPostResponse, MsgUnpinPost, MsgUnpinPostResponse, MsgLockThread, MsgLockThreadResponse, MsgUnlockThread, MsgUnlockThreadResponse, MsgMoveThread, MsgMoveThreadResponse, MsgFollowThread, MsgFollowThreadResponse, MsgUnfollowThread, MsgUnfollowThreadResponse, MsgUpvotePost, MsgUpvotePostResponse, MsgDownvotePost, MsgDownvotePostResponse, MsgFlagPost, MsgFlagPostResponse, MsgDismissFlags, MsgDismissFlagsResponse, MsgHidePost, MsgHidePostResponse, MsgAppealPost, MsgAppealPostResponse, MsgAppealThreadLock, MsgAppealThreadLockResponse, MsgAppealThreadMove, MsgAppealThreadMoveResponse, MsgCreateBounty, MsgCreateBountyResponse, MsgAwardBounty, MsgAwardBountyResponse, MsgIncreaseBounty, MsgIncreaseBountyResponse, MsgCancelBounty, MsgCancelBountyResponse, MsgAssignBountyToReply, MsgAssignBountyToReplyResponse, MsgPinReply, MsgPinReplyResponse, MsgUnpinReply, MsgUnpinReplyResponse, MsgDisputePin, MsgDisputePinResponse, MsgMarkAcceptedReply, MsgMarkAcceptedReplyResponse, MsgConfirmProposedReply, MsgConfirmProposedReplyResponse, MsgRejectProposedReply, MsgRejectProposedReplyResponse, MsgSetForumPaused, MsgSetForumPausedResponse, MsgSetModerationPaused, MsgSetModerationPausedResponse } from "./tx";
|
|
3
3
|
/** Msg defines the Msg service. */
|
|
4
4
|
export interface Msg {
|
|
5
5
|
/**
|
|
@@ -12,8 +12,6 @@ export interface Msg {
|
|
|
12
12
|
* operational parameters. Authorized for Commons Council Operations Committee.
|
|
13
13
|
*/
|
|
14
14
|
updateOperationalParams(request: MsgUpdateOperationalParams): Promise<MsgUpdateOperationalParamsResponse>;
|
|
15
|
-
/** CreateCategory defines the CreateCategory RPC. */
|
|
16
|
-
createCategory(request: MsgCreateCategory): Promise<MsgCreateCategoryResponse>;
|
|
17
15
|
/** CreatePost defines the CreatePost RPC. */
|
|
18
16
|
createPost(request: MsgCreatePost): Promise<MsgCreatePostResponse>;
|
|
19
17
|
/** EditPost defines the EditPost RPC. */
|
|
@@ -64,16 +62,6 @@ export interface Msg {
|
|
|
64
62
|
cancelBounty(request: MsgCancelBounty): Promise<MsgCancelBountyResponse>;
|
|
65
63
|
/** AssignBountyToReply defines the AssignBountyToReply RPC. */
|
|
66
64
|
assignBountyToReply(request: MsgAssignBountyToReply): Promise<MsgAssignBountyToReplyResponse>;
|
|
67
|
-
/** CreateTagBudget defines the CreateTagBudget RPC. */
|
|
68
|
-
createTagBudget(request: MsgCreateTagBudget): Promise<MsgCreateTagBudgetResponse>;
|
|
69
|
-
/** AwardFromTagBudget defines the AwardFromTagBudget RPC. */
|
|
70
|
-
awardFromTagBudget(request: MsgAwardFromTagBudget): Promise<MsgAwardFromTagBudgetResponse>;
|
|
71
|
-
/** TopUpTagBudget defines the TopUpTagBudget RPC. */
|
|
72
|
-
topUpTagBudget(request: MsgTopUpTagBudget): Promise<MsgTopUpTagBudgetResponse>;
|
|
73
|
-
/** ToggleTagBudget defines the ToggleTagBudget RPC. */
|
|
74
|
-
toggleTagBudget(request: MsgToggleTagBudget): Promise<MsgToggleTagBudgetResponse>;
|
|
75
|
-
/** WithdrawTagBudget defines the WithdrawTagBudget RPC. */
|
|
76
|
-
withdrawTagBudget(request: MsgWithdrawTagBudget): Promise<MsgWithdrawTagBudgetResponse>;
|
|
77
65
|
/** PinReply defines the PinReply RPC. */
|
|
78
66
|
pinReply(request: MsgPinReply): Promise<MsgPinReplyResponse>;
|
|
79
67
|
/** UnpinReply defines the UnpinReply RPC. */
|
|
@@ -90,31 +78,12 @@ export interface Msg {
|
|
|
90
78
|
setForumPaused(request: MsgSetForumPaused): Promise<MsgSetForumPausedResponse>;
|
|
91
79
|
/** SetModerationPaused defines the SetModerationPaused RPC. */
|
|
92
80
|
setModerationPaused(request: MsgSetModerationPaused): Promise<MsgSetModerationPausedResponse>;
|
|
93
|
-
/** ReportTag defines the ReportTag RPC. */
|
|
94
|
-
reportTag(request: MsgReportTag): Promise<MsgReportTagResponse>;
|
|
95
|
-
/** ResolveTagReport defines the ResolveTagReport RPC. */
|
|
96
|
-
resolveTagReport(request: MsgResolveTagReport): Promise<MsgResolveTagReportResponse>;
|
|
97
|
-
/** BondSentinel defines the BondSentinel RPC. */
|
|
98
|
-
bondSentinel(request: MsgBondSentinel): Promise<MsgBondSentinelResponse>;
|
|
99
|
-
/** UnbondSentinel defines the UnbondSentinel RPC. */
|
|
100
|
-
unbondSentinel(request: MsgUnbondSentinel): Promise<MsgUnbondSentinelResponse>;
|
|
101
|
-
/** ReportMember defines the ReportMember RPC. */
|
|
102
|
-
reportMember(request: MsgReportMember): Promise<MsgReportMemberResponse>;
|
|
103
|
-
/** CosignMemberReport defines the CosignMemberReport RPC. */
|
|
104
|
-
cosignMemberReport(request: MsgCosignMemberReport): Promise<MsgCosignMemberReportResponse>;
|
|
105
|
-
/** ResolveMemberReport defines the ResolveMemberReport RPC. */
|
|
106
|
-
resolveMemberReport(request: MsgResolveMemberReport): Promise<MsgResolveMemberReportResponse>;
|
|
107
|
-
/** DefendMemberReport defines the DefendMemberReport RPC. */
|
|
108
|
-
defendMemberReport(request: MsgDefendMemberReport): Promise<MsgDefendMemberReportResponse>;
|
|
109
|
-
/** AppealGovAction defines the AppealGovAction RPC. */
|
|
110
|
-
appealGovAction(request: MsgAppealGovAction): Promise<MsgAppealGovActionResponse>;
|
|
111
81
|
}
|
|
112
82
|
export declare class MsgClientImpl implements Msg {
|
|
113
83
|
private readonly rpc;
|
|
114
84
|
constructor(rpc: TxRpc);
|
|
115
85
|
updateParams: (request: MsgUpdateParams) => Promise<MsgUpdateParamsResponse>;
|
|
116
86
|
updateOperationalParams: (request: MsgUpdateOperationalParams) => Promise<MsgUpdateOperationalParamsResponse>;
|
|
117
|
-
createCategory: (request: MsgCreateCategory) => Promise<MsgCreateCategoryResponse>;
|
|
118
87
|
createPost: (request: MsgCreatePost) => Promise<MsgCreatePostResponse>;
|
|
119
88
|
editPost: (request: MsgEditPost) => Promise<MsgEditPostResponse>;
|
|
120
89
|
deletePost: (request: MsgDeletePost) => Promise<MsgDeletePostResponse>;
|
|
@@ -140,11 +109,6 @@ export declare class MsgClientImpl implements Msg {
|
|
|
140
109
|
increaseBounty: (request: MsgIncreaseBounty) => Promise<MsgIncreaseBountyResponse>;
|
|
141
110
|
cancelBounty: (request: MsgCancelBounty) => Promise<MsgCancelBountyResponse>;
|
|
142
111
|
assignBountyToReply: (request: MsgAssignBountyToReply) => Promise<MsgAssignBountyToReplyResponse>;
|
|
143
|
-
createTagBudget: (request: MsgCreateTagBudget) => Promise<MsgCreateTagBudgetResponse>;
|
|
144
|
-
awardFromTagBudget: (request: MsgAwardFromTagBudget) => Promise<MsgAwardFromTagBudgetResponse>;
|
|
145
|
-
topUpTagBudget: (request: MsgTopUpTagBudget) => Promise<MsgTopUpTagBudgetResponse>;
|
|
146
|
-
toggleTagBudget: (request: MsgToggleTagBudget) => Promise<MsgToggleTagBudgetResponse>;
|
|
147
|
-
withdrawTagBudget: (request: MsgWithdrawTagBudget) => Promise<MsgWithdrawTagBudgetResponse>;
|
|
148
112
|
pinReply: (request: MsgPinReply) => Promise<MsgPinReplyResponse>;
|
|
149
113
|
unpinReply: (request: MsgUnpinReply) => Promise<MsgUnpinReplyResponse>;
|
|
150
114
|
disputePin: (request: MsgDisputePin) => Promise<MsgDisputePinResponse>;
|
|
@@ -153,14 +117,5 @@ export declare class MsgClientImpl implements Msg {
|
|
|
153
117
|
rejectProposedReply: (request: MsgRejectProposedReply) => Promise<MsgRejectProposedReplyResponse>;
|
|
154
118
|
setForumPaused: (request: MsgSetForumPaused) => Promise<MsgSetForumPausedResponse>;
|
|
155
119
|
setModerationPaused: (request: MsgSetModerationPaused) => Promise<MsgSetModerationPausedResponse>;
|
|
156
|
-
reportTag: (request: MsgReportTag) => Promise<MsgReportTagResponse>;
|
|
157
|
-
resolveTagReport: (request: MsgResolveTagReport) => Promise<MsgResolveTagReportResponse>;
|
|
158
|
-
bondSentinel: (request: MsgBondSentinel) => Promise<MsgBondSentinelResponse>;
|
|
159
|
-
unbondSentinel: (request: MsgUnbondSentinel) => Promise<MsgUnbondSentinelResponse>;
|
|
160
|
-
reportMember: (request: MsgReportMember) => Promise<MsgReportMemberResponse>;
|
|
161
|
-
cosignMemberReport: (request: MsgCosignMemberReport) => Promise<MsgCosignMemberReportResponse>;
|
|
162
|
-
resolveMemberReport: (request: MsgResolveMemberReport) => Promise<MsgResolveMemberReportResponse>;
|
|
163
|
-
defendMemberReport: (request: MsgDefendMemberReport) => Promise<MsgDefendMemberReportResponse>;
|
|
164
|
-
appealGovAction: (request: MsgAppealGovAction) => Promise<MsgAppealGovActionResponse>;
|
|
165
120
|
}
|
|
166
121
|
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|
|
@@ -22,12 +22,6 @@ class MsgClientImpl {
|
|
|
22
22
|
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "UpdateOperationalParams", data);
|
|
23
23
|
return promise.then(data => tx_1.MsgUpdateOperationalParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
24
24
|
};
|
|
25
|
-
/* CreateCategory defines the CreateCategory RPC. */
|
|
26
|
-
createCategory = async (request) => {
|
|
27
|
-
const data = tx_1.MsgCreateCategory.encode(request).finish();
|
|
28
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "CreateCategory", data);
|
|
29
|
-
return promise.then(data => tx_1.MsgCreateCategoryResponse.decode(new binary_1.BinaryReader(data)));
|
|
30
|
-
};
|
|
31
25
|
/* CreatePost defines the CreatePost RPC. */
|
|
32
26
|
createPost = async (request) => {
|
|
33
27
|
const data = tx_1.MsgCreatePost.encode(request).finish();
|
|
@@ -178,36 +172,6 @@ class MsgClientImpl {
|
|
|
178
172
|
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "AssignBountyToReply", data);
|
|
179
173
|
return promise.then(data => tx_1.MsgAssignBountyToReplyResponse.decode(new binary_1.BinaryReader(data)));
|
|
180
174
|
};
|
|
181
|
-
/* CreateTagBudget defines the CreateTagBudget RPC. */
|
|
182
|
-
createTagBudget = async (request) => {
|
|
183
|
-
const data = tx_1.MsgCreateTagBudget.encode(request).finish();
|
|
184
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "CreateTagBudget", data);
|
|
185
|
-
return promise.then(data => tx_1.MsgCreateTagBudgetResponse.decode(new binary_1.BinaryReader(data)));
|
|
186
|
-
};
|
|
187
|
-
/* AwardFromTagBudget defines the AwardFromTagBudget RPC. */
|
|
188
|
-
awardFromTagBudget = async (request) => {
|
|
189
|
-
const data = tx_1.MsgAwardFromTagBudget.encode(request).finish();
|
|
190
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "AwardFromTagBudget", data);
|
|
191
|
-
return promise.then(data => tx_1.MsgAwardFromTagBudgetResponse.decode(new binary_1.BinaryReader(data)));
|
|
192
|
-
};
|
|
193
|
-
/* TopUpTagBudget defines the TopUpTagBudget RPC. */
|
|
194
|
-
topUpTagBudget = async (request) => {
|
|
195
|
-
const data = tx_1.MsgTopUpTagBudget.encode(request).finish();
|
|
196
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "TopUpTagBudget", data);
|
|
197
|
-
return promise.then(data => tx_1.MsgTopUpTagBudgetResponse.decode(new binary_1.BinaryReader(data)));
|
|
198
|
-
};
|
|
199
|
-
/* ToggleTagBudget defines the ToggleTagBudget RPC. */
|
|
200
|
-
toggleTagBudget = async (request) => {
|
|
201
|
-
const data = tx_1.MsgToggleTagBudget.encode(request).finish();
|
|
202
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "ToggleTagBudget", data);
|
|
203
|
-
return promise.then(data => tx_1.MsgToggleTagBudgetResponse.decode(new binary_1.BinaryReader(data)));
|
|
204
|
-
};
|
|
205
|
-
/* WithdrawTagBudget defines the WithdrawTagBudget RPC. */
|
|
206
|
-
withdrawTagBudget = async (request) => {
|
|
207
|
-
const data = tx_1.MsgWithdrawTagBudget.encode(request).finish();
|
|
208
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "WithdrawTagBudget", data);
|
|
209
|
-
return promise.then(data => tx_1.MsgWithdrawTagBudgetResponse.decode(new binary_1.BinaryReader(data)));
|
|
210
|
-
};
|
|
211
175
|
/* PinReply defines the PinReply RPC. */
|
|
212
176
|
pinReply = async (request) => {
|
|
213
177
|
const data = tx_1.MsgPinReply.encode(request).finish();
|
|
@@ -256,60 +220,6 @@ class MsgClientImpl {
|
|
|
256
220
|
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "SetModerationPaused", data);
|
|
257
221
|
return promise.then(data => tx_1.MsgSetModerationPausedResponse.decode(new binary_1.BinaryReader(data)));
|
|
258
222
|
};
|
|
259
|
-
/* ReportTag defines the ReportTag RPC. */
|
|
260
|
-
reportTag = async (request) => {
|
|
261
|
-
const data = tx_1.MsgReportTag.encode(request).finish();
|
|
262
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "ReportTag", data);
|
|
263
|
-
return promise.then(data => tx_1.MsgReportTagResponse.decode(new binary_1.BinaryReader(data)));
|
|
264
|
-
};
|
|
265
|
-
/* ResolveTagReport defines the ResolveTagReport RPC. */
|
|
266
|
-
resolveTagReport = async (request) => {
|
|
267
|
-
const data = tx_1.MsgResolveTagReport.encode(request).finish();
|
|
268
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "ResolveTagReport", data);
|
|
269
|
-
return promise.then(data => tx_1.MsgResolveTagReportResponse.decode(new binary_1.BinaryReader(data)));
|
|
270
|
-
};
|
|
271
|
-
/* BondSentinel defines the BondSentinel RPC. */
|
|
272
|
-
bondSentinel = async (request) => {
|
|
273
|
-
const data = tx_1.MsgBondSentinel.encode(request).finish();
|
|
274
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "BondSentinel", data);
|
|
275
|
-
return promise.then(data => tx_1.MsgBondSentinelResponse.decode(new binary_1.BinaryReader(data)));
|
|
276
|
-
};
|
|
277
|
-
/* UnbondSentinel defines the UnbondSentinel RPC. */
|
|
278
|
-
unbondSentinel = async (request) => {
|
|
279
|
-
const data = tx_1.MsgUnbondSentinel.encode(request).finish();
|
|
280
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "UnbondSentinel", data);
|
|
281
|
-
return promise.then(data => tx_1.MsgUnbondSentinelResponse.decode(new binary_1.BinaryReader(data)));
|
|
282
|
-
};
|
|
283
|
-
/* ReportMember defines the ReportMember RPC. */
|
|
284
|
-
reportMember = async (request) => {
|
|
285
|
-
const data = tx_1.MsgReportMember.encode(request).finish();
|
|
286
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "ReportMember", data);
|
|
287
|
-
return promise.then(data => tx_1.MsgReportMemberResponse.decode(new binary_1.BinaryReader(data)));
|
|
288
|
-
};
|
|
289
|
-
/* CosignMemberReport defines the CosignMemberReport RPC. */
|
|
290
|
-
cosignMemberReport = async (request) => {
|
|
291
|
-
const data = tx_1.MsgCosignMemberReport.encode(request).finish();
|
|
292
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "CosignMemberReport", data);
|
|
293
|
-
return promise.then(data => tx_1.MsgCosignMemberReportResponse.decode(new binary_1.BinaryReader(data)));
|
|
294
|
-
};
|
|
295
|
-
/* ResolveMemberReport defines the ResolveMemberReport RPC. */
|
|
296
|
-
resolveMemberReport = async (request) => {
|
|
297
|
-
const data = tx_1.MsgResolveMemberReport.encode(request).finish();
|
|
298
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "ResolveMemberReport", data);
|
|
299
|
-
return promise.then(data => tx_1.MsgResolveMemberReportResponse.decode(new binary_1.BinaryReader(data)));
|
|
300
|
-
};
|
|
301
|
-
/* DefendMemberReport defines the DefendMemberReport RPC. */
|
|
302
|
-
defendMemberReport = async (request) => {
|
|
303
|
-
const data = tx_1.MsgDefendMemberReport.encode(request).finish();
|
|
304
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "DefendMemberReport", data);
|
|
305
|
-
return promise.then(data => tx_1.MsgDefendMemberReportResponse.decode(new binary_1.BinaryReader(data)));
|
|
306
|
-
};
|
|
307
|
-
/* AppealGovAction defines the AppealGovAction RPC. */
|
|
308
|
-
appealGovAction = async (request) => {
|
|
309
|
-
const data = tx_1.MsgAppealGovAction.encode(request).finish();
|
|
310
|
-
const promise = this.rpc.request("sparkdream.forum.v1.Msg", "AppealGovAction", data);
|
|
311
|
-
return promise.then(data => tx_1.MsgAppealGovActionResponse.decode(new binary_1.BinaryReader(data)));
|
|
312
|
-
};
|
|
313
223
|
}
|
|
314
224
|
exports.MsgClientImpl = MsgClientImpl;
|
|
315
225
|
const createClientImpl = (rpc) => {
|
|
@@ -12,17 +12,6 @@ export declare enum PostStatus {
|
|
|
12
12
|
export declare const PostStatusAmino: typeof PostStatus;
|
|
13
13
|
export declare function postStatusFromJSON(object: any): PostStatus;
|
|
14
14
|
export declare function postStatusToJSON(object: PostStatus): string;
|
|
15
|
-
/** SentinelBondStatus represents the bond status of a sentinel. */
|
|
16
|
-
export declare enum SentinelBondStatus {
|
|
17
|
-
SENTINEL_BOND_STATUS_UNSPECIFIED = 0,
|
|
18
|
-
SENTINEL_BOND_STATUS_NORMAL = 1,
|
|
19
|
-
SENTINEL_BOND_STATUS_RECOVERY = 2,
|
|
20
|
-
SENTINEL_BOND_STATUS_DEMOTED = 3,
|
|
21
|
-
UNRECOGNIZED = -1
|
|
22
|
-
}
|
|
23
|
-
export declare const SentinelBondStatusAmino: typeof SentinelBondStatus;
|
|
24
|
-
export declare function sentinelBondStatusFromJSON(object: any): SentinelBondStatus;
|
|
25
|
-
export declare function sentinelBondStatusToJSON(object: SentinelBondStatus): string;
|
|
26
15
|
/** BountyStatus represents the status of a bounty. */
|
|
27
16
|
export declare enum BountyStatus {
|
|
28
17
|
BOUNTY_STATUS_UNSPECIFIED = 0,
|
|
@@ -72,45 +61,6 @@ export declare enum ModerationSource {
|
|
|
72
61
|
export declare const ModerationSourceAmino: typeof ModerationSource;
|
|
73
62
|
export declare function moderationSourceFromJSON(object: any): ModerationSource;
|
|
74
63
|
export declare function moderationSourceToJSON(object: ModerationSource): string;
|
|
75
|
-
/** GovActionType represents the type of governance action. */
|
|
76
|
-
export declare enum GovActionType {
|
|
77
|
-
GOV_ACTION_TYPE_UNSPECIFIED = 0,
|
|
78
|
-
GOV_ACTION_TYPE_WARNING = 1,
|
|
79
|
-
GOV_ACTION_TYPE_DEMOTION = 2,
|
|
80
|
-
GOV_ACTION_TYPE_ZEROING = 3,
|
|
81
|
-
GOV_ACTION_TYPE_TAG_REMOVAL = 4,
|
|
82
|
-
GOV_ACTION_TYPE_FORUM_PAUSE = 5,
|
|
83
|
-
GOV_ACTION_TYPE_THREAD_LOCK = 6,
|
|
84
|
-
GOV_ACTION_TYPE_THREAD_MOVE = 7,
|
|
85
|
-
UNRECOGNIZED = -1
|
|
86
|
-
}
|
|
87
|
-
export declare const GovActionTypeAmino: typeof GovActionType;
|
|
88
|
-
export declare function govActionTypeFromJSON(object: any): GovActionType;
|
|
89
|
-
export declare function govActionTypeToJSON(object: GovActionType): string;
|
|
90
|
-
/** MemberReportStatus represents the status of a member report. */
|
|
91
|
-
export declare enum MemberReportStatus {
|
|
92
|
-
MEMBER_REPORT_STATUS_UNSPECIFIED = 0,
|
|
93
|
-
MEMBER_REPORT_STATUS_PENDING = 1,
|
|
94
|
-
MEMBER_REPORT_STATUS_ESCALATED = 2,
|
|
95
|
-
MEMBER_REPORT_STATUS_RESOLVED = 3,
|
|
96
|
-
MEMBER_REPORT_STATUS_META_APPEALED = 4,
|
|
97
|
-
UNRECOGNIZED = -1
|
|
98
|
-
}
|
|
99
|
-
export declare const MemberReportStatusAmino: typeof MemberReportStatus;
|
|
100
|
-
export declare function memberReportStatusFromJSON(object: any): MemberReportStatus;
|
|
101
|
-
export declare function memberReportStatusToJSON(object: MemberReportStatus): string;
|
|
102
|
-
/** GovAppealStatus represents the status of a governance appeal. */
|
|
103
|
-
export declare enum GovAppealStatus {
|
|
104
|
-
GOV_APPEAL_STATUS_UNSPECIFIED = 0,
|
|
105
|
-
GOV_APPEAL_STATUS_PENDING = 1,
|
|
106
|
-
GOV_APPEAL_STATUS_UPHELD = 2,
|
|
107
|
-
GOV_APPEAL_STATUS_OVERTURNED = 3,
|
|
108
|
-
GOV_APPEAL_STATUS_TIMEOUT = 4,
|
|
109
|
-
UNRECOGNIZED = -1
|
|
110
|
-
}
|
|
111
|
-
export declare const GovAppealStatusAmino: typeof GovAppealStatus;
|
|
112
|
-
export declare function govAppealStatusFromJSON(object: any): GovAppealStatus;
|
|
113
|
-
export declare function govAppealStatusToJSON(object: GovAppealStatus): string;
|
|
114
64
|
/**
|
|
115
65
|
* BountyAward represents an award given from a bounty.
|
|
116
66
|
* @name BountyAward
|
|
@@ -1,22 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PinnedReplyRecord = exports.BountyAward = exports.
|
|
3
|
+
exports.PinnedReplyRecord = exports.BountyAward = exports.ModerationSourceAmino = exports.ModerationSource = exports.ModerationActionTypeAmino = exports.ModerationActionType = exports.BountyStatusAmino = exports.BountyStatus = exports.PostStatusAmino = exports.PostStatus = void 0;
|
|
4
4
|
exports.postStatusFromJSON = postStatusFromJSON;
|
|
5
5
|
exports.postStatusToJSON = postStatusToJSON;
|
|
6
|
-
exports.sentinelBondStatusFromJSON = sentinelBondStatusFromJSON;
|
|
7
|
-
exports.sentinelBondStatusToJSON = sentinelBondStatusToJSON;
|
|
8
6
|
exports.bountyStatusFromJSON = bountyStatusFromJSON;
|
|
9
7
|
exports.bountyStatusToJSON = bountyStatusToJSON;
|
|
10
8
|
exports.moderationActionTypeFromJSON = moderationActionTypeFromJSON;
|
|
11
9
|
exports.moderationActionTypeToJSON = moderationActionTypeToJSON;
|
|
12
10
|
exports.moderationSourceFromJSON = moderationSourceFromJSON;
|
|
13
11
|
exports.moderationSourceToJSON = moderationSourceToJSON;
|
|
14
|
-
exports.govActionTypeFromJSON = govActionTypeFromJSON;
|
|
15
|
-
exports.govActionTypeToJSON = govActionTypeToJSON;
|
|
16
|
-
exports.memberReportStatusFromJSON = memberReportStatusFromJSON;
|
|
17
|
-
exports.memberReportStatusToJSON = memberReportStatusToJSON;
|
|
18
|
-
exports.govAppealStatusFromJSON = govAppealStatusFromJSON;
|
|
19
|
-
exports.govAppealStatusToJSON = govAppealStatusToJSON;
|
|
20
12
|
//@ts-nocheck
|
|
21
13
|
const binary_1 = require("../../../binary");
|
|
22
14
|
/** PostStatus represents the status of a post. */
|
|
@@ -70,51 +62,6 @@ function postStatusToJSON(object) {
|
|
|
70
62
|
return "UNRECOGNIZED";
|
|
71
63
|
}
|
|
72
64
|
}
|
|
73
|
-
/** SentinelBondStatus represents the bond status of a sentinel. */
|
|
74
|
-
var SentinelBondStatus;
|
|
75
|
-
(function (SentinelBondStatus) {
|
|
76
|
-
SentinelBondStatus[SentinelBondStatus["SENTINEL_BOND_STATUS_UNSPECIFIED"] = 0] = "SENTINEL_BOND_STATUS_UNSPECIFIED";
|
|
77
|
-
SentinelBondStatus[SentinelBondStatus["SENTINEL_BOND_STATUS_NORMAL"] = 1] = "SENTINEL_BOND_STATUS_NORMAL";
|
|
78
|
-
SentinelBondStatus[SentinelBondStatus["SENTINEL_BOND_STATUS_RECOVERY"] = 2] = "SENTINEL_BOND_STATUS_RECOVERY";
|
|
79
|
-
SentinelBondStatus[SentinelBondStatus["SENTINEL_BOND_STATUS_DEMOTED"] = 3] = "SENTINEL_BOND_STATUS_DEMOTED";
|
|
80
|
-
SentinelBondStatus[SentinelBondStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
81
|
-
})(SentinelBondStatus || (exports.SentinelBondStatus = SentinelBondStatus = {}));
|
|
82
|
-
exports.SentinelBondStatusAmino = SentinelBondStatus;
|
|
83
|
-
function sentinelBondStatusFromJSON(object) {
|
|
84
|
-
switch (object) {
|
|
85
|
-
case 0:
|
|
86
|
-
case "SENTINEL_BOND_STATUS_UNSPECIFIED":
|
|
87
|
-
return SentinelBondStatus.SENTINEL_BOND_STATUS_UNSPECIFIED;
|
|
88
|
-
case 1:
|
|
89
|
-
case "SENTINEL_BOND_STATUS_NORMAL":
|
|
90
|
-
return SentinelBondStatus.SENTINEL_BOND_STATUS_NORMAL;
|
|
91
|
-
case 2:
|
|
92
|
-
case "SENTINEL_BOND_STATUS_RECOVERY":
|
|
93
|
-
return SentinelBondStatus.SENTINEL_BOND_STATUS_RECOVERY;
|
|
94
|
-
case 3:
|
|
95
|
-
case "SENTINEL_BOND_STATUS_DEMOTED":
|
|
96
|
-
return SentinelBondStatus.SENTINEL_BOND_STATUS_DEMOTED;
|
|
97
|
-
case -1:
|
|
98
|
-
case "UNRECOGNIZED":
|
|
99
|
-
default:
|
|
100
|
-
return SentinelBondStatus.UNRECOGNIZED;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
function sentinelBondStatusToJSON(object) {
|
|
104
|
-
switch (object) {
|
|
105
|
-
case SentinelBondStatus.SENTINEL_BOND_STATUS_UNSPECIFIED:
|
|
106
|
-
return "SENTINEL_BOND_STATUS_UNSPECIFIED";
|
|
107
|
-
case SentinelBondStatus.SENTINEL_BOND_STATUS_NORMAL:
|
|
108
|
-
return "SENTINEL_BOND_STATUS_NORMAL";
|
|
109
|
-
case SentinelBondStatus.SENTINEL_BOND_STATUS_RECOVERY:
|
|
110
|
-
return "SENTINEL_BOND_STATUS_RECOVERY";
|
|
111
|
-
case SentinelBondStatus.SENTINEL_BOND_STATUS_DEMOTED:
|
|
112
|
-
return "SENTINEL_BOND_STATUS_DEMOTED";
|
|
113
|
-
case SentinelBondStatus.UNRECOGNIZED:
|
|
114
|
-
default:
|
|
115
|
-
return "UNRECOGNIZED";
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
65
|
/** BountyStatus represents the status of a bounty. */
|
|
119
66
|
var BountyStatus;
|
|
120
67
|
(function (BountyStatus) {
|
|
@@ -346,177 +293,6 @@ function moderationSourceToJSON(object) {
|
|
|
346
293
|
return "UNRECOGNIZED";
|
|
347
294
|
}
|
|
348
295
|
}
|
|
349
|
-
/** GovActionType represents the type of governance action. */
|
|
350
|
-
var GovActionType;
|
|
351
|
-
(function (GovActionType) {
|
|
352
|
-
GovActionType[GovActionType["GOV_ACTION_TYPE_UNSPECIFIED"] = 0] = "GOV_ACTION_TYPE_UNSPECIFIED";
|
|
353
|
-
GovActionType[GovActionType["GOV_ACTION_TYPE_WARNING"] = 1] = "GOV_ACTION_TYPE_WARNING";
|
|
354
|
-
GovActionType[GovActionType["GOV_ACTION_TYPE_DEMOTION"] = 2] = "GOV_ACTION_TYPE_DEMOTION";
|
|
355
|
-
GovActionType[GovActionType["GOV_ACTION_TYPE_ZEROING"] = 3] = "GOV_ACTION_TYPE_ZEROING";
|
|
356
|
-
GovActionType[GovActionType["GOV_ACTION_TYPE_TAG_REMOVAL"] = 4] = "GOV_ACTION_TYPE_TAG_REMOVAL";
|
|
357
|
-
GovActionType[GovActionType["GOV_ACTION_TYPE_FORUM_PAUSE"] = 5] = "GOV_ACTION_TYPE_FORUM_PAUSE";
|
|
358
|
-
GovActionType[GovActionType["GOV_ACTION_TYPE_THREAD_LOCK"] = 6] = "GOV_ACTION_TYPE_THREAD_LOCK";
|
|
359
|
-
GovActionType[GovActionType["GOV_ACTION_TYPE_THREAD_MOVE"] = 7] = "GOV_ACTION_TYPE_THREAD_MOVE";
|
|
360
|
-
GovActionType[GovActionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
361
|
-
})(GovActionType || (exports.GovActionType = GovActionType = {}));
|
|
362
|
-
exports.GovActionTypeAmino = GovActionType;
|
|
363
|
-
function govActionTypeFromJSON(object) {
|
|
364
|
-
switch (object) {
|
|
365
|
-
case 0:
|
|
366
|
-
case "GOV_ACTION_TYPE_UNSPECIFIED":
|
|
367
|
-
return GovActionType.GOV_ACTION_TYPE_UNSPECIFIED;
|
|
368
|
-
case 1:
|
|
369
|
-
case "GOV_ACTION_TYPE_WARNING":
|
|
370
|
-
return GovActionType.GOV_ACTION_TYPE_WARNING;
|
|
371
|
-
case 2:
|
|
372
|
-
case "GOV_ACTION_TYPE_DEMOTION":
|
|
373
|
-
return GovActionType.GOV_ACTION_TYPE_DEMOTION;
|
|
374
|
-
case 3:
|
|
375
|
-
case "GOV_ACTION_TYPE_ZEROING":
|
|
376
|
-
return GovActionType.GOV_ACTION_TYPE_ZEROING;
|
|
377
|
-
case 4:
|
|
378
|
-
case "GOV_ACTION_TYPE_TAG_REMOVAL":
|
|
379
|
-
return GovActionType.GOV_ACTION_TYPE_TAG_REMOVAL;
|
|
380
|
-
case 5:
|
|
381
|
-
case "GOV_ACTION_TYPE_FORUM_PAUSE":
|
|
382
|
-
return GovActionType.GOV_ACTION_TYPE_FORUM_PAUSE;
|
|
383
|
-
case 6:
|
|
384
|
-
case "GOV_ACTION_TYPE_THREAD_LOCK":
|
|
385
|
-
return GovActionType.GOV_ACTION_TYPE_THREAD_LOCK;
|
|
386
|
-
case 7:
|
|
387
|
-
case "GOV_ACTION_TYPE_THREAD_MOVE":
|
|
388
|
-
return GovActionType.GOV_ACTION_TYPE_THREAD_MOVE;
|
|
389
|
-
case -1:
|
|
390
|
-
case "UNRECOGNIZED":
|
|
391
|
-
default:
|
|
392
|
-
return GovActionType.UNRECOGNIZED;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
function govActionTypeToJSON(object) {
|
|
396
|
-
switch (object) {
|
|
397
|
-
case GovActionType.GOV_ACTION_TYPE_UNSPECIFIED:
|
|
398
|
-
return "GOV_ACTION_TYPE_UNSPECIFIED";
|
|
399
|
-
case GovActionType.GOV_ACTION_TYPE_WARNING:
|
|
400
|
-
return "GOV_ACTION_TYPE_WARNING";
|
|
401
|
-
case GovActionType.GOV_ACTION_TYPE_DEMOTION:
|
|
402
|
-
return "GOV_ACTION_TYPE_DEMOTION";
|
|
403
|
-
case GovActionType.GOV_ACTION_TYPE_ZEROING:
|
|
404
|
-
return "GOV_ACTION_TYPE_ZEROING";
|
|
405
|
-
case GovActionType.GOV_ACTION_TYPE_TAG_REMOVAL:
|
|
406
|
-
return "GOV_ACTION_TYPE_TAG_REMOVAL";
|
|
407
|
-
case GovActionType.GOV_ACTION_TYPE_FORUM_PAUSE:
|
|
408
|
-
return "GOV_ACTION_TYPE_FORUM_PAUSE";
|
|
409
|
-
case GovActionType.GOV_ACTION_TYPE_THREAD_LOCK:
|
|
410
|
-
return "GOV_ACTION_TYPE_THREAD_LOCK";
|
|
411
|
-
case GovActionType.GOV_ACTION_TYPE_THREAD_MOVE:
|
|
412
|
-
return "GOV_ACTION_TYPE_THREAD_MOVE";
|
|
413
|
-
case GovActionType.UNRECOGNIZED:
|
|
414
|
-
default:
|
|
415
|
-
return "UNRECOGNIZED";
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
/** MemberReportStatus represents the status of a member report. */
|
|
419
|
-
var MemberReportStatus;
|
|
420
|
-
(function (MemberReportStatus) {
|
|
421
|
-
MemberReportStatus[MemberReportStatus["MEMBER_REPORT_STATUS_UNSPECIFIED"] = 0] = "MEMBER_REPORT_STATUS_UNSPECIFIED";
|
|
422
|
-
MemberReportStatus[MemberReportStatus["MEMBER_REPORT_STATUS_PENDING"] = 1] = "MEMBER_REPORT_STATUS_PENDING";
|
|
423
|
-
MemberReportStatus[MemberReportStatus["MEMBER_REPORT_STATUS_ESCALATED"] = 2] = "MEMBER_REPORT_STATUS_ESCALATED";
|
|
424
|
-
MemberReportStatus[MemberReportStatus["MEMBER_REPORT_STATUS_RESOLVED"] = 3] = "MEMBER_REPORT_STATUS_RESOLVED";
|
|
425
|
-
MemberReportStatus[MemberReportStatus["MEMBER_REPORT_STATUS_META_APPEALED"] = 4] = "MEMBER_REPORT_STATUS_META_APPEALED";
|
|
426
|
-
MemberReportStatus[MemberReportStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
427
|
-
})(MemberReportStatus || (exports.MemberReportStatus = MemberReportStatus = {}));
|
|
428
|
-
exports.MemberReportStatusAmino = MemberReportStatus;
|
|
429
|
-
function memberReportStatusFromJSON(object) {
|
|
430
|
-
switch (object) {
|
|
431
|
-
case 0:
|
|
432
|
-
case "MEMBER_REPORT_STATUS_UNSPECIFIED":
|
|
433
|
-
return MemberReportStatus.MEMBER_REPORT_STATUS_UNSPECIFIED;
|
|
434
|
-
case 1:
|
|
435
|
-
case "MEMBER_REPORT_STATUS_PENDING":
|
|
436
|
-
return MemberReportStatus.MEMBER_REPORT_STATUS_PENDING;
|
|
437
|
-
case 2:
|
|
438
|
-
case "MEMBER_REPORT_STATUS_ESCALATED":
|
|
439
|
-
return MemberReportStatus.MEMBER_REPORT_STATUS_ESCALATED;
|
|
440
|
-
case 3:
|
|
441
|
-
case "MEMBER_REPORT_STATUS_RESOLVED":
|
|
442
|
-
return MemberReportStatus.MEMBER_REPORT_STATUS_RESOLVED;
|
|
443
|
-
case 4:
|
|
444
|
-
case "MEMBER_REPORT_STATUS_META_APPEALED":
|
|
445
|
-
return MemberReportStatus.MEMBER_REPORT_STATUS_META_APPEALED;
|
|
446
|
-
case -1:
|
|
447
|
-
case "UNRECOGNIZED":
|
|
448
|
-
default:
|
|
449
|
-
return MemberReportStatus.UNRECOGNIZED;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
function memberReportStatusToJSON(object) {
|
|
453
|
-
switch (object) {
|
|
454
|
-
case MemberReportStatus.MEMBER_REPORT_STATUS_UNSPECIFIED:
|
|
455
|
-
return "MEMBER_REPORT_STATUS_UNSPECIFIED";
|
|
456
|
-
case MemberReportStatus.MEMBER_REPORT_STATUS_PENDING:
|
|
457
|
-
return "MEMBER_REPORT_STATUS_PENDING";
|
|
458
|
-
case MemberReportStatus.MEMBER_REPORT_STATUS_ESCALATED:
|
|
459
|
-
return "MEMBER_REPORT_STATUS_ESCALATED";
|
|
460
|
-
case MemberReportStatus.MEMBER_REPORT_STATUS_RESOLVED:
|
|
461
|
-
return "MEMBER_REPORT_STATUS_RESOLVED";
|
|
462
|
-
case MemberReportStatus.MEMBER_REPORT_STATUS_META_APPEALED:
|
|
463
|
-
return "MEMBER_REPORT_STATUS_META_APPEALED";
|
|
464
|
-
case MemberReportStatus.UNRECOGNIZED:
|
|
465
|
-
default:
|
|
466
|
-
return "UNRECOGNIZED";
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
/** GovAppealStatus represents the status of a governance appeal. */
|
|
470
|
-
var GovAppealStatus;
|
|
471
|
-
(function (GovAppealStatus) {
|
|
472
|
-
GovAppealStatus[GovAppealStatus["GOV_APPEAL_STATUS_UNSPECIFIED"] = 0] = "GOV_APPEAL_STATUS_UNSPECIFIED";
|
|
473
|
-
GovAppealStatus[GovAppealStatus["GOV_APPEAL_STATUS_PENDING"] = 1] = "GOV_APPEAL_STATUS_PENDING";
|
|
474
|
-
GovAppealStatus[GovAppealStatus["GOV_APPEAL_STATUS_UPHELD"] = 2] = "GOV_APPEAL_STATUS_UPHELD";
|
|
475
|
-
GovAppealStatus[GovAppealStatus["GOV_APPEAL_STATUS_OVERTURNED"] = 3] = "GOV_APPEAL_STATUS_OVERTURNED";
|
|
476
|
-
GovAppealStatus[GovAppealStatus["GOV_APPEAL_STATUS_TIMEOUT"] = 4] = "GOV_APPEAL_STATUS_TIMEOUT";
|
|
477
|
-
GovAppealStatus[GovAppealStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
478
|
-
})(GovAppealStatus || (exports.GovAppealStatus = GovAppealStatus = {}));
|
|
479
|
-
exports.GovAppealStatusAmino = GovAppealStatus;
|
|
480
|
-
function govAppealStatusFromJSON(object) {
|
|
481
|
-
switch (object) {
|
|
482
|
-
case 0:
|
|
483
|
-
case "GOV_APPEAL_STATUS_UNSPECIFIED":
|
|
484
|
-
return GovAppealStatus.GOV_APPEAL_STATUS_UNSPECIFIED;
|
|
485
|
-
case 1:
|
|
486
|
-
case "GOV_APPEAL_STATUS_PENDING":
|
|
487
|
-
return GovAppealStatus.GOV_APPEAL_STATUS_PENDING;
|
|
488
|
-
case 2:
|
|
489
|
-
case "GOV_APPEAL_STATUS_UPHELD":
|
|
490
|
-
return GovAppealStatus.GOV_APPEAL_STATUS_UPHELD;
|
|
491
|
-
case 3:
|
|
492
|
-
case "GOV_APPEAL_STATUS_OVERTURNED":
|
|
493
|
-
return GovAppealStatus.GOV_APPEAL_STATUS_OVERTURNED;
|
|
494
|
-
case 4:
|
|
495
|
-
case "GOV_APPEAL_STATUS_TIMEOUT":
|
|
496
|
-
return GovAppealStatus.GOV_APPEAL_STATUS_TIMEOUT;
|
|
497
|
-
case -1:
|
|
498
|
-
case "UNRECOGNIZED":
|
|
499
|
-
default:
|
|
500
|
-
return GovAppealStatus.UNRECOGNIZED;
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
function govAppealStatusToJSON(object) {
|
|
504
|
-
switch (object) {
|
|
505
|
-
case GovAppealStatus.GOV_APPEAL_STATUS_UNSPECIFIED:
|
|
506
|
-
return "GOV_APPEAL_STATUS_UNSPECIFIED";
|
|
507
|
-
case GovAppealStatus.GOV_APPEAL_STATUS_PENDING:
|
|
508
|
-
return "GOV_APPEAL_STATUS_PENDING";
|
|
509
|
-
case GovAppealStatus.GOV_APPEAL_STATUS_UPHELD:
|
|
510
|
-
return "GOV_APPEAL_STATUS_UPHELD";
|
|
511
|
-
case GovAppealStatus.GOV_APPEAL_STATUS_OVERTURNED:
|
|
512
|
-
return "GOV_APPEAL_STATUS_OVERTURNED";
|
|
513
|
-
case GovAppealStatus.GOV_APPEAL_STATUS_TIMEOUT:
|
|
514
|
-
return "GOV_APPEAL_STATUS_TIMEOUT";
|
|
515
|
-
case GovAppealStatus.UNRECOGNIZED:
|
|
516
|
-
default:
|
|
517
|
-
return "UNRECOGNIZED";
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
296
|
function createBaseBountyAward() {
|
|
521
297
|
return {
|
|
522
298
|
postId: BigInt(0),
|
package/sparkdream/lcd.d.ts
CHANGED
|
@@ -70,6 +70,9 @@ export declare const createLCDClient: ({ restEndpoint }: {
|
|
|
70
70
|
ecosystem: {
|
|
71
71
|
v1: import("./ecosystem/v1/query.lcd").LCDQueryClient;
|
|
72
72
|
};
|
|
73
|
+
federation: {
|
|
74
|
+
v1: import("./federation/v1/query.lcd").LCDQueryClient;
|
|
75
|
+
};
|
|
73
76
|
forum: {
|
|
74
77
|
v1: import("./forum/v1/query.lcd").LCDQueryClient;
|
|
75
78
|
};
|
package/sparkdream/lcd.js
CHANGED
|
@@ -154,6 +154,11 @@ const createLCDClient = async ({ restEndpoint }) => {
|
|
|
154
154
|
requestClient
|
|
155
155
|
})
|
|
156
156
|
},
|
|
157
|
+
federation: {
|
|
158
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("./federation/v1/query.lcd")))).LCDQueryClient({
|
|
159
|
+
requestClient
|
|
160
|
+
})
|
|
161
|
+
},
|
|
157
162
|
forum: {
|
|
158
163
|
v1: new (await Promise.resolve().then(() => __importStar(require("./forum/v1/query.lcd")))).LCDQueryClient({
|
|
159
164
|
requestClient
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/** GovActionType represents the type of governance action. */
|
|
2
|
+
export declare enum GovActionType {
|
|
3
|
+
GOV_ACTION_TYPE_UNSPECIFIED = 0,
|
|
4
|
+
GOV_ACTION_TYPE_WARNING = 1,
|
|
5
|
+
GOV_ACTION_TYPE_DEMOTION = 2,
|
|
6
|
+
GOV_ACTION_TYPE_ZEROING = 3,
|
|
7
|
+
GOV_ACTION_TYPE_TAG_REMOVAL = 4,
|
|
8
|
+
GOV_ACTION_TYPE_FORUM_PAUSE = 5,
|
|
9
|
+
GOV_ACTION_TYPE_THREAD_LOCK = 6,
|
|
10
|
+
GOV_ACTION_TYPE_THREAD_MOVE = 7,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare const GovActionTypeAmino: typeof GovActionType;
|
|
14
|
+
export declare function govActionTypeFromJSON(object: any): GovActionType;
|
|
15
|
+
export declare function govActionTypeToJSON(object: GovActionType): string;
|
|
16
|
+
/** MemberReportStatus represents the status of a member report. */
|
|
17
|
+
export declare enum MemberReportStatus {
|
|
18
|
+
MEMBER_REPORT_STATUS_UNSPECIFIED = 0,
|
|
19
|
+
MEMBER_REPORT_STATUS_PENDING = 1,
|
|
20
|
+
MEMBER_REPORT_STATUS_ESCALATED = 2,
|
|
21
|
+
MEMBER_REPORT_STATUS_RESOLVED = 3,
|
|
22
|
+
MEMBER_REPORT_STATUS_META_APPEALED = 4,
|
|
23
|
+
UNRECOGNIZED = -1
|
|
24
|
+
}
|
|
25
|
+
export declare const MemberReportStatusAmino: typeof MemberReportStatus;
|
|
26
|
+
export declare function memberReportStatusFromJSON(object: any): MemberReportStatus;
|
|
27
|
+
export declare function memberReportStatusToJSON(object: MemberReportStatus): string;
|
|
28
|
+
/** GovAppealStatus represents the status of a governance appeal. */
|
|
29
|
+
export declare enum GovAppealStatus {
|
|
30
|
+
GOV_APPEAL_STATUS_UNSPECIFIED = 0,
|
|
31
|
+
GOV_APPEAL_STATUS_PENDING = 1,
|
|
32
|
+
GOV_APPEAL_STATUS_UPHELD = 2,
|
|
33
|
+
GOV_APPEAL_STATUS_OVERTURNED = 3,
|
|
34
|
+
GOV_APPEAL_STATUS_TIMEOUT = 4,
|
|
35
|
+
UNRECOGNIZED = -1
|
|
36
|
+
}
|
|
37
|
+
export declare const GovAppealStatusAmino: typeof GovAppealStatus;
|
|
38
|
+
export declare function govAppealStatusFromJSON(object: any): GovAppealStatus;
|
|
39
|
+
export declare function govAppealStatusToJSON(object: GovAppealStatus): string;
|