@sparkdreamnft/sparkdreamjs 0.0.48 → 0.0.50
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/akash/bundle.d.ts +134 -134
- package/akash/bundle.js +150 -150
- package/amino-schema.d.ts +94 -0
- package/amino-schema.js +1 -1
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/amino-schema.js +1 -1
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/sparkdream/artifact/v1/types.js +25 -1
- package/esm/sparkdream/blog/v1/genesis.js +97 -1
- package/esm/sparkdream/bundle.js +447 -439
- package/esm/sparkdream/collect/v1/genesis.js +308 -3
- package/esm/sparkdream/collect/v1/tx.js +170 -0
- package/esm/sparkdream/collect/v1/tx.registry.js +20 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +10 -1
- package/esm/sparkdream/collect/v1/types.js +51 -3
- package/esm/sparkdream/commons/v1/genesis.js +756 -27
- package/esm/sparkdream/commons/v1/group.js +130 -2
- package/esm/sparkdream/commons/v1/poll.js +281 -0
- package/esm/sparkdream/commons/v1/poll_vote.js +107 -0
- package/esm/sparkdream/commons/v1/query.js +759 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +46 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +49 -1
- package/esm/sparkdream/commons/v1/tx.js +730 -4
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +25 -1
- package/esm/sparkdream/commons/v1/voter_tree.js +208 -0
- package/esm/sparkdream/federation/v1/genesis.js +212 -2
- package/esm/sparkdream/federation/v1/tx.js +365 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +38 -2
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +14 -1
- package/esm/sparkdream/federation/v1/types.js +194 -2
- package/esm/sparkdream/forum/v1/archive_metadata.js +13 -1
- package/esm/sparkdream/forum/v1/genesis.js +428 -1
- package/esm/sparkdream/forum/v1/params.js +182 -254
- package/esm/sparkdream/forum/v1/query.js +112 -7
- package/esm/sparkdream/forum/v1/user_reaction_limit.js +62 -1
- package/esm/sparkdream/futarchy/v1/market.js +37 -1
- package/esm/sparkdream/futarchy/v1/tx.js +13 -1
- package/esm/sparkdream/name/v1/dispute.js +13 -1
- package/esm/sparkdream/rep/v1/genesis.js +272 -2
- package/esm/sparkdream/rep/v1/initiative_review.js +13 -1
- package/esm/sparkdream/rep/v1/invitation.js +25 -1
- package/esm/sparkdream/rep/v1/member_report.js +335 -1
- package/esm/sparkdream/rep/v1/migration.js +27 -2
- package/esm/sparkdream/rep/v1/params.js +13 -1
- package/esm/sparkdream/rep/v1/stake.js +10 -0
- package/esm/sparkdream/rep/v1/tx.js +372 -14
- package/esm/sparkdream/rep/v1/tx.registry.js +38 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -2
- package/esm/sparkdream/reveal/v1/types.js +9 -21
- package/esm/sparkdream/season/v1/display_name_moderation.js +40 -1
- package/esm/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
- package/esm/sparkdream/season/v1/genesis.js +125 -1
- package/esm/sparkdream/season/v1/guild_invite.js +13 -1
- package/esm/sparkdream/season/v1/guild_membership.js +13 -1
- package/esm/sparkdream/season/v1/member_profile.js +13 -1
- package/esm/sparkdream/season/v1/member_quest_progress.js +13 -1
- package/esm/sparkdream/season/v1/member_season_snapshot.js +16 -1
- package/esm/sparkdream/season/v1/nomination.js +37 -1
- package/esm/sparkdream/season/v1/query.js +26 -35
- package/esm/sparkdream/season/v1/query.lcd.js +1 -1
- package/esm/sparkdream/season/v1/quest.js +13 -1
- package/esm/sparkdream/season/v1/season.js +13 -1
- package/esm/sparkdream/season/v1/season_stats_counters.js +121 -0
- package/esm/sparkdream/season/v1/season_title_eligibility.js +4 -1
- package/esm/sparkdream/service/v1/genesis.js +126 -1
- package/esm/sparkdream/service/v1/refile_cooldown.js +20 -7
- package/esm/sparkdream/session/v1/genesis.js +303 -1
- package/esm/sparkdream/session/v1/params.js +24 -0
- package/esm/sparkdream/shield/v1/genesis.js +56 -2
- package/esm/sparkdream/shield/v1/params.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +202 -1
- package/esm/sparkdream/vault/v1/genesis.js +25 -1
- package/esm/sparkdream/vault/v1/query.js +15 -2
- package/esm/sparkdream/vault/v1/query.lcd.js +3 -0
- package/esm/sparkdream/vault/v1/tx.js +301 -0
- package/esm/sparkdream/vault/v1/tx.registry.js +38 -2
- package/esm/sparkdream/vault/v1/tx.rpc.msg.js +13 -1
- package/esm/sparkdream/vault/v1/vault_signer.js +15 -2
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/package.json +1 -1
- package/sparkdream/artifact/v1/types.d.ts +14 -0
- package/sparkdream/artifact/v1/types.js +25 -1
- package/sparkdream/blog/v1/genesis.d.ts +60 -0
- package/sparkdream/blog/v1/genesis.js +98 -2
- package/sparkdream/bundle.d.ts +17133 -16171
- package/sparkdream/bundle.js +447 -439
- package/sparkdream/collect/v1/genesis.d.ts +186 -0
- package/sparkdream/collect/v1/genesis.js +309 -4
- package/sparkdream/collect/v1/tx.d.ts +100 -0
- package/sparkdream/collect/v1/tx.js +171 -1
- package/sparkdream/collect/v1/tx.registry.d.ts +13 -1
- package/sparkdream/collect/v1/tx.registry.js +19 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +9 -1
- package/sparkdream/collect/v1/tx.rpc.msg.js +9 -0
- package/sparkdream/collect/v1/types.d.ts +52 -0
- package/sparkdream/collect/v1/types.js +51 -3
- package/sparkdream/commons/v1/genesis.d.ts +443 -22
- package/sparkdream/commons/v1/genesis.js +756 -27
- package/sparkdream/commons/v1/group.d.ts +75 -0
- package/sparkdream/commons/v1/group.js +133 -3
- package/sparkdream/commons/v1/poll.d.ts +135 -0
- package/sparkdream/commons/v1/poll.js +286 -0
- package/sparkdream/commons/v1/poll_vote.d.ts +58 -0
- package/sparkdream/commons/v1/poll_vote.js +110 -0
- package/sparkdream/commons/v1/query.d.ts +465 -0
- package/sparkdream/commons/v1/query.js +760 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +6 -1
- package/sparkdream/commons/v1/query.lcd.js +46 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +30 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +48 -0
- package/sparkdream/commons/v1/tx.d.ts +475 -1
- package/sparkdream/commons/v1/tx.js +731 -4
- package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
- package/sparkdream/commons/v1/tx.registry.js +73 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +13 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +24 -0
- package/sparkdream/commons/v1/voter_tree.d.ts +132 -0
- package/sparkdream/commons/v1/voter_tree.js +211 -0
- package/sparkdream/federation/v1/genesis.d.ts +136 -1
- package/sparkdream/federation/v1/genesis.js +212 -2
- package/sparkdream/federation/v1/tx.d.ts +235 -0
- package/sparkdream/federation/v1/tx.js +367 -1
- package/sparkdream/federation/v1/tx.registry.d.ts +25 -1
- package/sparkdream/federation/v1/tx.registry.js +37 -1
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +9 -1
- package/sparkdream/federation/v1/tx.rpc.msg.js +13 -0
- package/sparkdream/federation/v1/types.d.ts +166 -0
- package/sparkdream/federation/v1/types.js +197 -3
- package/sparkdream/forum/v1/archive_metadata.d.ts +12 -0
- package/sparkdream/forum/v1/archive_metadata.js +13 -1
- package/sparkdream/forum/v1/genesis.d.ts +256 -0
- package/sparkdream/forum/v1/genesis.js +429 -2
- package/sparkdream/forum/v1/params.d.ts +0 -30
- package/sparkdream/forum/v1/params.js +182 -254
- package/sparkdream/forum/v1/query.d.ts +70 -0
- package/sparkdream/forum/v1/query.js +112 -7
- package/sparkdream/forum/v1/user_reaction_limit.d.ts +25 -0
- package/sparkdream/forum/v1/user_reaction_limit.js +65 -2
- package/sparkdream/futarchy/v1/market.d.ts +32 -0
- package/sparkdream/futarchy/v1/market.js +37 -1
- package/sparkdream/futarchy/v1/tx.d.ts +10 -0
- package/sparkdream/futarchy/v1/tx.js +13 -1
- package/sparkdream/name/v1/dispute.d.ts +14 -0
- package/sparkdream/name/v1/dispute.js +13 -1
- package/sparkdream/rep/v1/genesis.d.ts +151 -1
- package/sparkdream/rep/v1/genesis.js +272 -2
- package/sparkdream/rep/v1/initiative_review.d.ts +14 -0
- package/sparkdream/rep/v1/initiative_review.js +13 -1
- package/sparkdream/rep/v1/invitation.d.ts +32 -0
- package/sparkdream/rep/v1/invitation.js +25 -1
- package/sparkdream/rep/v1/member_report.d.ts +215 -0
- package/sparkdream/rep/v1/member_report.js +336 -2
- package/sparkdream/rep/v1/migration.d.ts +34 -1
- package/sparkdream/rep/v1/migration.js +27 -2
- package/sparkdream/rep/v1/params.d.ts +18 -0
- package/sparkdream/rep/v1/params.js +13 -1
- package/sparkdream/rep/v1/stake.d.ts +5 -0
- package/sparkdream/rep/v1/stake.js +10 -0
- package/sparkdream/rep/v1/tx.d.ts +340 -39
- package/sparkdream/rep/v1/tx.js +375 -17
- package/sparkdream/rep/v1/tx.registry.d.ts +25 -1
- package/sparkdream/rep/v1/tx.registry.js +37 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +12 -2
- package/sparkdream/rep/v1/tx.rpc.msg.js +15 -1
- package/sparkdream/reveal/v1/types.d.ts +0 -8
- package/sparkdream/reveal/v1/types.js +9 -21
- package/sparkdream/rpc.query.d.ts +5 -0
- package/sparkdream/season/v1/display_name_moderation.d.ts +28 -0
- package/sparkdream/season/v1/display_name_moderation.js +40 -1
- package/sparkdream/season/v1/epoch_xp_tracker.d.ts +10 -0
- package/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
- package/sparkdream/season/v1/genesis.d.ts +75 -0
- package/sparkdream/season/v1/genesis.js +126 -2
- package/sparkdream/season/v1/guild_invite.d.ts +10 -0
- package/sparkdream/season/v1/guild_invite.js +13 -1
- package/sparkdream/season/v1/guild_membership.d.ts +12 -0
- package/sparkdream/season/v1/guild_membership.js +13 -1
- package/sparkdream/season/v1/member_profile.d.ts +12 -0
- package/sparkdream/season/v1/member_profile.js +13 -1
- package/sparkdream/season/v1/member_quest_progress.d.ts +8 -0
- package/sparkdream/season/v1/member_quest_progress.js +13 -1
- package/sparkdream/season/v1/member_season_snapshot.d.ts +14 -0
- package/sparkdream/season/v1/member_season_snapshot.js +16 -1
- package/sparkdream/season/v1/nomination.d.ts +32 -0
- package/sparkdream/season/v1/nomination.js +37 -1
- package/sparkdream/season/v1/query.d.ts +10 -6
- package/sparkdream/season/v1/query.js +26 -35
- package/sparkdream/season/v1/query.lcd.js +1 -1
- package/sparkdream/season/v1/quest.d.ts +12 -0
- package/sparkdream/season/v1/quest.js +13 -1
- package/sparkdream/season/v1/season.d.ts +12 -0
- package/sparkdream/season/v1/season.js +13 -1
- package/sparkdream/season/v1/season_stats_counters.d.ts +86 -0
- package/sparkdream/season/v1/season_stats_counters.js +124 -0
- package/sparkdream/season/v1/season_title_eligibility.d.ts +12 -3
- package/sparkdream/season/v1/season_title_eligibility.js +4 -1
- package/sparkdream/service/v1/genesis.d.ts +71 -0
- package/sparkdream/service/v1/genesis.js +127 -2
- package/sparkdream/service/v1/refile_cooldown.d.ts +35 -22
- package/sparkdream/service/v1/refile_cooldown.js +20 -7
- package/sparkdream/session/v1/genesis.d.ts +190 -0
- package/sparkdream/session/v1/genesis.js +304 -2
- package/sparkdream/session/v1/params.d.ts +18 -0
- package/sparkdream/session/v1/params.js +24 -0
- package/sparkdream/shield/v1/genesis.d.ts +37 -1
- package/sparkdream/shield/v1/genesis.js +55 -1
- package/sparkdream/shield/v1/params.d.ts +26 -2
- package/sparkdream/shield/v1/params.js +13 -1
- package/sparkdream/shield/v1/types.d.ts +122 -0
- package/sparkdream/shield/v1/types.js +203 -2
- package/sparkdream/vault/v1/genesis.d.ts +14 -0
- package/sparkdream/vault/v1/genesis.js +25 -1
- package/sparkdream/vault/v1/query.d.ts +16 -3
- package/sparkdream/vault/v1/query.js +15 -2
- package/sparkdream/vault/v1/query.lcd.js +3 -0
- package/sparkdream/vault/v1/tx.d.ts +219 -0
- package/sparkdream/vault/v1/tx.js +302 -1
- package/sparkdream/vault/v1/tx.registry.d.ts +25 -1
- package/sparkdream/vault/v1/tx.registry.js +37 -1
- package/sparkdream/vault/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/vault/v1/tx.rpc.msg.js +12 -0
- package/sparkdream/vault/v1/vault_signer.d.ts +22 -3
- package/sparkdream/vault/v1/vault_signer.js +15 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -12,6 +12,7 @@ import { ThreadMetadata, ThreadMetadataAmino } from "./thread_metadata";
|
|
|
12
12
|
import { ThreadFollow, ThreadFollowAmino } from "./thread_follow";
|
|
13
13
|
import { ThreadFollowCount, ThreadFollowCountAmino } from "./thread_follow_count";
|
|
14
14
|
import { ArchiveMetadata, ArchiveMetadataAmino } from "./archive_metadata";
|
|
15
|
+
import { PostConvictionStake, PostConvictionStakeAmino, ForumRepEpochCounter, ForumRepEpochCounterAmino } from "./types";
|
|
15
16
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
16
17
|
import { DeepPartial } from "../../../helpers";
|
|
17
18
|
/**
|
|
@@ -53,6 +54,36 @@ export interface GenesisState {
|
|
|
53
54
|
* through genesis like sentinel_activity_map.
|
|
54
55
|
*/
|
|
55
56
|
proposalCountMap: ProposalCountEntry[];
|
|
57
|
+
/**
|
|
58
|
+
* post_conviction_stake_list carries every PostConvictionStake (active and
|
|
59
|
+
* released-but-not-GC'd). The staker's DREAM stays locked in x/rep while a
|
|
60
|
+
* stake is active, so dropping the record would strand it.
|
|
61
|
+
*/
|
|
62
|
+
postConvictionStakeList: PostConvictionStake[];
|
|
63
|
+
/**
|
|
64
|
+
* post_conviction_stake_count persists PostConvictionStakeSeq (next id).
|
|
65
|
+
*/
|
|
66
|
+
postConvictionStakeCount: bigint;
|
|
67
|
+
/**
|
|
68
|
+
* post_vote_list persists the one-vote-per-(post, voter) dedup set.
|
|
69
|
+
*/
|
|
70
|
+
postVoteList: PostVoteEntry[];
|
|
71
|
+
/**
|
|
72
|
+
* forum_rep_epoch_counter_list persists the per-(author, tag) epoch rep cap
|
|
73
|
+
* counters so an export/import cannot reset the daily cap mid-epoch.
|
|
74
|
+
*/
|
|
75
|
+
forumRepEpochCounterList: ForumRepEpochCounterEntry[];
|
|
76
|
+
/**
|
|
77
|
+
* pending_stake_slash_list persists the posts whose stood hide is still
|
|
78
|
+
* being settled against their conviction stakes, a bounded batch per block.
|
|
79
|
+
*/
|
|
80
|
+
pendingStakeSlashList: PendingStakeSlash[];
|
|
81
|
+
/**
|
|
82
|
+
* Members queued for eager promotion of their ephemeral content (admitted
|
|
83
|
+
* after posting). Hook-driven, so carried verbatim with the enqueue height;
|
|
84
|
+
* without it an import would leave that content to the lazy TTL-time path.
|
|
85
|
+
*/
|
|
86
|
+
promotionQueue: PromotionQueueEntry[];
|
|
56
87
|
}
|
|
57
88
|
export interface GenesisStateProtoMsg {
|
|
58
89
|
typeUrl: "/sparkdream.forum.v1.GenesisState";
|
|
@@ -97,11 +128,133 @@ export interface GenesisStateAmino {
|
|
|
97
128
|
* through genesis like sentinel_activity_map.
|
|
98
129
|
*/
|
|
99
130
|
proposal_count_map?: ProposalCountEntryAmino[];
|
|
131
|
+
/**
|
|
132
|
+
* post_conviction_stake_list carries every PostConvictionStake (active and
|
|
133
|
+
* released-but-not-GC'd). The staker's DREAM stays locked in x/rep while a
|
|
134
|
+
* stake is active, so dropping the record would strand it.
|
|
135
|
+
*/
|
|
136
|
+
post_conviction_stake_list?: PostConvictionStakeAmino[];
|
|
137
|
+
/**
|
|
138
|
+
* post_conviction_stake_count persists PostConvictionStakeSeq (next id).
|
|
139
|
+
*/
|
|
140
|
+
post_conviction_stake_count?: string;
|
|
141
|
+
/**
|
|
142
|
+
* post_vote_list persists the one-vote-per-(post, voter) dedup set.
|
|
143
|
+
*/
|
|
144
|
+
post_vote_list?: PostVoteEntryAmino[];
|
|
145
|
+
/**
|
|
146
|
+
* forum_rep_epoch_counter_list persists the per-(author, tag) epoch rep cap
|
|
147
|
+
* counters so an export/import cannot reset the daily cap mid-epoch.
|
|
148
|
+
*/
|
|
149
|
+
forum_rep_epoch_counter_list?: ForumRepEpochCounterEntryAmino[];
|
|
150
|
+
/**
|
|
151
|
+
* pending_stake_slash_list persists the posts whose stood hide is still
|
|
152
|
+
* being settled against their conviction stakes, a bounded batch per block.
|
|
153
|
+
*/
|
|
154
|
+
pending_stake_slash_list?: PendingStakeSlashAmino[];
|
|
155
|
+
/**
|
|
156
|
+
* Members queued for eager promotion of their ephemeral content (admitted
|
|
157
|
+
* after posting). Hook-driven, so carried verbatim with the enqueue height;
|
|
158
|
+
* without it an import would leave that content to the lazy TTL-time path.
|
|
159
|
+
*/
|
|
160
|
+
promotion_queue?: PromotionQueueEntryAmino[];
|
|
100
161
|
}
|
|
101
162
|
export interface GenesisStateAminoMsg {
|
|
102
163
|
type: "/sparkdream.forum.v1.GenesisState";
|
|
103
164
|
value: GenesisStateAmino;
|
|
104
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* PendingStakeSlash is a post whose conviction stakes are still to be
|
|
168
|
+
* slashed, with the author the reputation is clawed back from (kept here
|
|
169
|
+
* because the post itself may be pruned before the slash finishes).
|
|
170
|
+
* @name PendingStakeSlash
|
|
171
|
+
* @package sparkdream.forum.v1
|
|
172
|
+
* @see proto type: sparkdream.forum.v1.PendingStakeSlash
|
|
173
|
+
*/
|
|
174
|
+
export interface PendingStakeSlash {
|
|
175
|
+
postId: bigint;
|
|
176
|
+
author: string;
|
|
177
|
+
}
|
|
178
|
+
export interface PendingStakeSlashProtoMsg {
|
|
179
|
+
typeUrl: "/sparkdream.forum.v1.PendingStakeSlash";
|
|
180
|
+
value: Uint8Array;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* PendingStakeSlash is a post whose conviction stakes are still to be
|
|
184
|
+
* slashed, with the author the reputation is clawed back from (kept here
|
|
185
|
+
* because the post itself may be pruned before the slash finishes).
|
|
186
|
+
* @name PendingStakeSlashAmino
|
|
187
|
+
* @package sparkdream.forum.v1
|
|
188
|
+
* @see proto type: sparkdream.forum.v1.PendingStakeSlash
|
|
189
|
+
*/
|
|
190
|
+
export interface PendingStakeSlashAmino {
|
|
191
|
+
post_id?: string;
|
|
192
|
+
author?: string;
|
|
193
|
+
}
|
|
194
|
+
export interface PendingStakeSlashAminoMsg {
|
|
195
|
+
type: "/sparkdream.forum.v1.PendingStakeSlash";
|
|
196
|
+
value: PendingStakeSlashAmino;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* PostVoteEntry is one (post_id, voter) dedup key of the PostVote set.
|
|
200
|
+
* @name PostVoteEntry
|
|
201
|
+
* @package sparkdream.forum.v1
|
|
202
|
+
* @see proto type: sparkdream.forum.v1.PostVoteEntry
|
|
203
|
+
*/
|
|
204
|
+
export interface PostVoteEntry {
|
|
205
|
+
postId: bigint;
|
|
206
|
+
voter: string;
|
|
207
|
+
}
|
|
208
|
+
export interface PostVoteEntryProtoMsg {
|
|
209
|
+
typeUrl: "/sparkdream.forum.v1.PostVoteEntry";
|
|
210
|
+
value: Uint8Array;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* PostVoteEntry is one (post_id, voter) dedup key of the PostVote set.
|
|
214
|
+
* @name PostVoteEntryAmino
|
|
215
|
+
* @package sparkdream.forum.v1
|
|
216
|
+
* @see proto type: sparkdream.forum.v1.PostVoteEntry
|
|
217
|
+
*/
|
|
218
|
+
export interface PostVoteEntryAmino {
|
|
219
|
+
post_id?: string;
|
|
220
|
+
voter?: string;
|
|
221
|
+
}
|
|
222
|
+
export interface PostVoteEntryAminoMsg {
|
|
223
|
+
type: "/sparkdream.forum.v1.PostVoteEntry";
|
|
224
|
+
value: PostVoteEntryAmino;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* ForumRepEpochCounterEntry is one (author, tag) -> ForumRepEpochCounter
|
|
228
|
+
* tuple, flattened for genesis import/export.
|
|
229
|
+
* @name ForumRepEpochCounterEntry
|
|
230
|
+
* @package sparkdream.forum.v1
|
|
231
|
+
* @see proto type: sparkdream.forum.v1.ForumRepEpochCounterEntry
|
|
232
|
+
*/
|
|
233
|
+
export interface ForumRepEpochCounterEntry {
|
|
234
|
+
author: string;
|
|
235
|
+
tag: string;
|
|
236
|
+
counter: ForumRepEpochCounter;
|
|
237
|
+
}
|
|
238
|
+
export interface ForumRepEpochCounterEntryProtoMsg {
|
|
239
|
+
typeUrl: "/sparkdream.forum.v1.ForumRepEpochCounterEntry";
|
|
240
|
+
value: Uint8Array;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* ForumRepEpochCounterEntry is one (author, tag) -> ForumRepEpochCounter
|
|
244
|
+
* tuple, flattened for genesis import/export.
|
|
245
|
+
* @name ForumRepEpochCounterEntryAmino
|
|
246
|
+
* @package sparkdream.forum.v1
|
|
247
|
+
* @see proto type: sparkdream.forum.v1.ForumRepEpochCounterEntry
|
|
248
|
+
*/
|
|
249
|
+
export interface ForumRepEpochCounterEntryAmino {
|
|
250
|
+
author?: string;
|
|
251
|
+
tag?: string;
|
|
252
|
+
counter?: ForumRepEpochCounterAmino;
|
|
253
|
+
}
|
|
254
|
+
export interface ForumRepEpochCounterEntryAminoMsg {
|
|
255
|
+
type: "/sparkdream.forum.v1.ForumRepEpochCounterEntry";
|
|
256
|
+
value: ForumRepEpochCounterEntryAmino;
|
|
257
|
+
}
|
|
105
258
|
/**
|
|
106
259
|
* ProposalCountEntry is one (thread_id, sentinel) -> count tuple of the
|
|
107
260
|
* accepted-reply proposal cap counter, flattened for genesis import/export.
|
|
@@ -134,6 +287,34 @@ export interface ProposalCountEntryAminoMsg {
|
|
|
134
287
|
type: "/sparkdream.forum.v1.ProposalCountEntry";
|
|
135
288
|
value: ProposalCountEntryAmino;
|
|
136
289
|
}
|
|
290
|
+
/**
|
|
291
|
+
* PromotionQueueEntry is one queued author and the height it was enqueued.
|
|
292
|
+
* @name PromotionQueueEntry
|
|
293
|
+
* @package sparkdream.forum.v1
|
|
294
|
+
* @see proto type: sparkdream.forum.v1.PromotionQueueEntry
|
|
295
|
+
*/
|
|
296
|
+
export interface PromotionQueueEntry {
|
|
297
|
+
address: string;
|
|
298
|
+
enqueuedAt: bigint;
|
|
299
|
+
}
|
|
300
|
+
export interface PromotionQueueEntryProtoMsg {
|
|
301
|
+
typeUrl: "/sparkdream.forum.v1.PromotionQueueEntry";
|
|
302
|
+
value: Uint8Array;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* PromotionQueueEntry is one queued author and the height it was enqueued.
|
|
306
|
+
* @name PromotionQueueEntryAmino
|
|
307
|
+
* @package sparkdream.forum.v1
|
|
308
|
+
* @see proto type: sparkdream.forum.v1.PromotionQueueEntry
|
|
309
|
+
*/
|
|
310
|
+
export interface PromotionQueueEntryAmino {
|
|
311
|
+
address?: string;
|
|
312
|
+
enqueued_at?: string;
|
|
313
|
+
}
|
|
314
|
+
export interface PromotionQueueEntryAminoMsg {
|
|
315
|
+
type: "/sparkdream.forum.v1.PromotionQueueEntry";
|
|
316
|
+
value: PromotionQueueEntryAmino;
|
|
317
|
+
}
|
|
137
318
|
/**
|
|
138
319
|
* GenesisState defines the forum module's genesis state.
|
|
139
320
|
* @name GenesisState
|
|
@@ -152,6 +333,63 @@ export declare const GenesisState: {
|
|
|
152
333
|
toProto(message: GenesisState): Uint8Array;
|
|
153
334
|
toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
|
|
154
335
|
};
|
|
336
|
+
/**
|
|
337
|
+
* PendingStakeSlash is a post whose conviction stakes are still to be
|
|
338
|
+
* slashed, with the author the reputation is clawed back from (kept here
|
|
339
|
+
* because the post itself may be pruned before the slash finishes).
|
|
340
|
+
* @name PendingStakeSlash
|
|
341
|
+
* @package sparkdream.forum.v1
|
|
342
|
+
* @see proto type: sparkdream.forum.v1.PendingStakeSlash
|
|
343
|
+
*/
|
|
344
|
+
export declare const PendingStakeSlash: {
|
|
345
|
+
typeUrl: string;
|
|
346
|
+
encode(message: PendingStakeSlash, writer?: BinaryWriter): BinaryWriter;
|
|
347
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PendingStakeSlash;
|
|
348
|
+
fromPartial(object: DeepPartial<PendingStakeSlash>): PendingStakeSlash;
|
|
349
|
+
fromAmino(object: PendingStakeSlashAmino): PendingStakeSlash;
|
|
350
|
+
toAmino(message: PendingStakeSlash): PendingStakeSlashAmino;
|
|
351
|
+
fromAminoMsg(object: PendingStakeSlashAminoMsg): PendingStakeSlash;
|
|
352
|
+
fromProtoMsg(message: PendingStakeSlashProtoMsg): PendingStakeSlash;
|
|
353
|
+
toProto(message: PendingStakeSlash): Uint8Array;
|
|
354
|
+
toProtoMsg(message: PendingStakeSlash): PendingStakeSlashProtoMsg;
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* PostVoteEntry is one (post_id, voter) dedup key of the PostVote set.
|
|
358
|
+
* @name PostVoteEntry
|
|
359
|
+
* @package sparkdream.forum.v1
|
|
360
|
+
* @see proto type: sparkdream.forum.v1.PostVoteEntry
|
|
361
|
+
*/
|
|
362
|
+
export declare const PostVoteEntry: {
|
|
363
|
+
typeUrl: string;
|
|
364
|
+
encode(message: PostVoteEntry, writer?: BinaryWriter): BinaryWriter;
|
|
365
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PostVoteEntry;
|
|
366
|
+
fromPartial(object: DeepPartial<PostVoteEntry>): PostVoteEntry;
|
|
367
|
+
fromAmino(object: PostVoteEntryAmino): PostVoteEntry;
|
|
368
|
+
toAmino(message: PostVoteEntry): PostVoteEntryAmino;
|
|
369
|
+
fromAminoMsg(object: PostVoteEntryAminoMsg): PostVoteEntry;
|
|
370
|
+
fromProtoMsg(message: PostVoteEntryProtoMsg): PostVoteEntry;
|
|
371
|
+
toProto(message: PostVoteEntry): Uint8Array;
|
|
372
|
+
toProtoMsg(message: PostVoteEntry): PostVoteEntryProtoMsg;
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* ForumRepEpochCounterEntry is one (author, tag) -> ForumRepEpochCounter
|
|
376
|
+
* tuple, flattened for genesis import/export.
|
|
377
|
+
* @name ForumRepEpochCounterEntry
|
|
378
|
+
* @package sparkdream.forum.v1
|
|
379
|
+
* @see proto type: sparkdream.forum.v1.ForumRepEpochCounterEntry
|
|
380
|
+
*/
|
|
381
|
+
export declare const ForumRepEpochCounterEntry: {
|
|
382
|
+
typeUrl: string;
|
|
383
|
+
encode(message: ForumRepEpochCounterEntry, writer?: BinaryWriter): BinaryWriter;
|
|
384
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ForumRepEpochCounterEntry;
|
|
385
|
+
fromPartial(object: DeepPartial<ForumRepEpochCounterEntry>): ForumRepEpochCounterEntry;
|
|
386
|
+
fromAmino(object: ForumRepEpochCounterEntryAmino): ForumRepEpochCounterEntry;
|
|
387
|
+
toAmino(message: ForumRepEpochCounterEntry): ForumRepEpochCounterEntryAmino;
|
|
388
|
+
fromAminoMsg(object: ForumRepEpochCounterEntryAminoMsg): ForumRepEpochCounterEntry;
|
|
389
|
+
fromProtoMsg(message: ForumRepEpochCounterEntryProtoMsg): ForumRepEpochCounterEntry;
|
|
390
|
+
toProto(message: ForumRepEpochCounterEntry): Uint8Array;
|
|
391
|
+
toProtoMsg(message: ForumRepEpochCounterEntry): ForumRepEpochCounterEntryProtoMsg;
|
|
392
|
+
};
|
|
155
393
|
/**
|
|
156
394
|
* ProposalCountEntry is one (thread_id, sentinel) -> count tuple of the
|
|
157
395
|
* accepted-reply proposal cap counter, flattened for genesis import/export.
|
|
@@ -171,3 +409,21 @@ export declare const ProposalCountEntry: {
|
|
|
171
409
|
toProto(message: ProposalCountEntry): Uint8Array;
|
|
172
410
|
toProtoMsg(message: ProposalCountEntry): ProposalCountEntryProtoMsg;
|
|
173
411
|
};
|
|
412
|
+
/**
|
|
413
|
+
* PromotionQueueEntry is one queued author and the height it was enqueued.
|
|
414
|
+
* @name PromotionQueueEntry
|
|
415
|
+
* @package sparkdream.forum.v1
|
|
416
|
+
* @see proto type: sparkdream.forum.v1.PromotionQueueEntry
|
|
417
|
+
*/
|
|
418
|
+
export declare const PromotionQueueEntry: {
|
|
419
|
+
typeUrl: string;
|
|
420
|
+
encode(message: PromotionQueueEntry, writer?: BinaryWriter): BinaryWriter;
|
|
421
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PromotionQueueEntry;
|
|
422
|
+
fromPartial(object: DeepPartial<PromotionQueueEntry>): PromotionQueueEntry;
|
|
423
|
+
fromAmino(object: PromotionQueueEntryAmino): PromotionQueueEntry;
|
|
424
|
+
toAmino(message: PromotionQueueEntry): PromotionQueueEntryAmino;
|
|
425
|
+
fromAminoMsg(object: PromotionQueueEntryAminoMsg): PromotionQueueEntry;
|
|
426
|
+
fromProtoMsg(message: PromotionQueueEntryProtoMsg): PromotionQueueEntry;
|
|
427
|
+
toProto(message: PromotionQueueEntry): Uint8Array;
|
|
428
|
+
toProtoMsg(message: PromotionQueueEntry): PromotionQueueEntryProtoMsg;
|
|
429
|
+
};
|