@sparkdreamnft/sparkdreamjs 0.0.48 → 0.0.49

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 (231) hide show
  1. package/akash/bundle.d.ts +134 -134
  2. package/akash/bundle.js +150 -150
  3. package/amino-schema.d.ts +86 -0
  4. package/amino-schema.js +1 -1
  5. package/cosmos/bundle.d.ts +160 -160
  6. package/cosmos/bundle.js +182 -182
  7. package/esm/akash/bundle.js +150 -150
  8. package/esm/amino-schema.js +1 -1
  9. package/esm/cosmos/bundle.js +182 -182
  10. package/esm/ibc/bundle.js +116 -116
  11. package/esm/sparkdream/artifact/v1/types.js +25 -1
  12. package/esm/sparkdream/blog/v1/genesis.js +97 -1
  13. package/esm/sparkdream/bundle.js +447 -439
  14. package/esm/sparkdream/collect/v1/genesis.js +308 -3
  15. package/esm/sparkdream/collect/v1/tx.js +170 -0
  16. package/esm/sparkdream/collect/v1/tx.registry.js +20 -2
  17. package/esm/sparkdream/collect/v1/tx.rpc.msg.js +10 -1
  18. package/esm/sparkdream/collect/v1/types.js +51 -3
  19. package/esm/sparkdream/commons/v1/genesis.js +756 -27
  20. package/esm/sparkdream/commons/v1/group.js +130 -2
  21. package/esm/sparkdream/commons/v1/poll.js +281 -0
  22. package/esm/sparkdream/commons/v1/poll_vote.js +107 -0
  23. package/esm/sparkdream/commons/v1/query.js +759 -0
  24. package/esm/sparkdream/commons/v1/query.lcd.js +46 -0
  25. package/esm/sparkdream/commons/v1/query.rpc.Query.js +49 -1
  26. package/esm/sparkdream/commons/v1/tx.js +730 -4
  27. package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
  28. package/esm/sparkdream/commons/v1/tx.rpc.msg.js +25 -1
  29. package/esm/sparkdream/commons/v1/voter_tree.js +208 -0
  30. package/esm/sparkdream/federation/v1/genesis.js +212 -2
  31. package/esm/sparkdream/federation/v1/tx.js +196 -0
  32. package/esm/sparkdream/federation/v1/tx.registry.js +20 -2
  33. package/esm/sparkdream/federation/v1/tx.rpc.msg.js +8 -1
  34. package/esm/sparkdream/federation/v1/types.js +194 -2
  35. package/esm/sparkdream/forum/v1/archive_metadata.js +13 -1
  36. package/esm/sparkdream/forum/v1/genesis.js +428 -1
  37. package/esm/sparkdream/forum/v1/params.js +182 -254
  38. package/esm/sparkdream/forum/v1/query.js +112 -7
  39. package/esm/sparkdream/forum/v1/user_reaction_limit.js +62 -1
  40. package/esm/sparkdream/futarchy/v1/market.js +37 -1
  41. package/esm/sparkdream/futarchy/v1/tx.js +13 -1
  42. package/esm/sparkdream/name/v1/dispute.js +13 -1
  43. package/esm/sparkdream/rep/v1/genesis.js +272 -2
  44. package/esm/sparkdream/rep/v1/initiative_review.js +13 -1
  45. package/esm/sparkdream/rep/v1/invitation.js +25 -1
  46. package/esm/sparkdream/rep/v1/member_report.js +335 -1
  47. package/esm/sparkdream/rep/v1/migration.js +27 -2
  48. package/esm/sparkdream/rep/v1/params.js +13 -1
  49. package/esm/sparkdream/rep/v1/stake.js +10 -0
  50. package/esm/sparkdream/rep/v1/tx.js +372 -14
  51. package/esm/sparkdream/rep/v1/tx.registry.js +38 -2
  52. package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -2
  53. package/esm/sparkdream/reveal/v1/types.js +9 -21
  54. package/esm/sparkdream/season/v1/display_name_moderation.js +40 -1
  55. package/esm/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
  56. package/esm/sparkdream/season/v1/genesis.js +125 -1
  57. package/esm/sparkdream/season/v1/guild_invite.js +13 -1
  58. package/esm/sparkdream/season/v1/guild_membership.js +13 -1
  59. package/esm/sparkdream/season/v1/member_profile.js +13 -1
  60. package/esm/sparkdream/season/v1/member_quest_progress.js +13 -1
  61. package/esm/sparkdream/season/v1/member_season_snapshot.js +16 -1
  62. package/esm/sparkdream/season/v1/nomination.js +37 -1
  63. package/esm/sparkdream/season/v1/query.js +26 -35
  64. package/esm/sparkdream/season/v1/query.lcd.js +1 -1
  65. package/esm/sparkdream/season/v1/quest.js +13 -1
  66. package/esm/sparkdream/season/v1/season.js +13 -1
  67. package/esm/sparkdream/season/v1/season_stats_counters.js +121 -0
  68. package/esm/sparkdream/season/v1/season_title_eligibility.js +4 -1
  69. package/esm/sparkdream/service/v1/genesis.js +126 -1
  70. package/esm/sparkdream/service/v1/refile_cooldown.js +20 -7
  71. package/esm/sparkdream/session/v1/genesis.js +303 -1
  72. package/esm/sparkdream/session/v1/params.js +24 -0
  73. package/esm/sparkdream/shield/v1/genesis.js +56 -2
  74. package/esm/sparkdream/shield/v1/params.js +13 -1
  75. package/esm/sparkdream/shield/v1/types.js +202 -1
  76. package/esm/sparkdream/vault/v1/genesis.js +25 -1
  77. package/esm/sparkdream/vault/v1/query.js +15 -2
  78. package/esm/sparkdream/vault/v1/query.lcd.js +3 -0
  79. package/esm/sparkdream/vault/v1/tx.js +301 -0
  80. package/esm/sparkdream/vault/v1/tx.registry.js +38 -2
  81. package/esm/sparkdream/vault/v1/tx.rpc.msg.js +13 -1
  82. package/esm/sparkdream/vault/v1/vault_signer.js +15 -2
  83. package/esm/tendermint/bundle.js +20 -20
  84. package/ibc/bundle.d.ts +99 -99
  85. package/ibc/bundle.js +116 -116
  86. package/package.json +1 -1
  87. package/sparkdream/artifact/v1/types.d.ts +14 -0
  88. package/sparkdream/artifact/v1/types.js +25 -1
  89. package/sparkdream/blog/v1/genesis.d.ts +60 -0
  90. package/sparkdream/blog/v1/genesis.js +98 -2
  91. package/sparkdream/bundle.d.ts +17095 -16171
  92. package/sparkdream/bundle.js +447 -439
  93. package/sparkdream/collect/v1/genesis.d.ts +186 -0
  94. package/sparkdream/collect/v1/genesis.js +309 -4
  95. package/sparkdream/collect/v1/tx.d.ts +100 -0
  96. package/sparkdream/collect/v1/tx.js +171 -1
  97. package/sparkdream/collect/v1/tx.registry.d.ts +13 -1
  98. package/sparkdream/collect/v1/tx.registry.js +19 -1
  99. package/sparkdream/collect/v1/tx.rpc.msg.d.ts +9 -1
  100. package/sparkdream/collect/v1/tx.rpc.msg.js +9 -0
  101. package/sparkdream/collect/v1/types.d.ts +52 -0
  102. package/sparkdream/collect/v1/types.js +51 -3
  103. package/sparkdream/commons/v1/genesis.d.ts +443 -22
  104. package/sparkdream/commons/v1/genesis.js +756 -27
  105. package/sparkdream/commons/v1/group.d.ts +75 -0
  106. package/sparkdream/commons/v1/group.js +133 -3
  107. package/sparkdream/commons/v1/poll.d.ts +135 -0
  108. package/sparkdream/commons/v1/poll.js +286 -0
  109. package/sparkdream/commons/v1/poll_vote.d.ts +58 -0
  110. package/sparkdream/commons/v1/poll_vote.js +110 -0
  111. package/sparkdream/commons/v1/query.d.ts +465 -0
  112. package/sparkdream/commons/v1/query.js +760 -1
  113. package/sparkdream/commons/v1/query.lcd.d.ts +6 -1
  114. package/sparkdream/commons/v1/query.lcd.js +46 -0
  115. package/sparkdream/commons/v1/query.rpc.Query.d.ts +30 -1
  116. package/sparkdream/commons/v1/query.rpc.Query.js +48 -0
  117. package/sparkdream/commons/v1/tx.d.ts +475 -1
  118. package/sparkdream/commons/v1/tx.js +731 -4
  119. package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
  120. package/sparkdream/commons/v1/tx.registry.js +73 -1
  121. package/sparkdream/commons/v1/tx.rpc.msg.d.ts +13 -1
  122. package/sparkdream/commons/v1/tx.rpc.msg.js +24 -0
  123. package/sparkdream/commons/v1/voter_tree.d.ts +132 -0
  124. package/sparkdream/commons/v1/voter_tree.js +211 -0
  125. package/sparkdream/federation/v1/genesis.d.ts +136 -1
  126. package/sparkdream/federation/v1/genesis.js +212 -2
  127. package/sparkdream/federation/v1/tx.d.ts +138 -0
  128. package/sparkdream/federation/v1/tx.js +198 -1
  129. package/sparkdream/federation/v1/tx.registry.d.ts +13 -1
  130. package/sparkdream/federation/v1/tx.registry.js +19 -1
  131. package/sparkdream/federation/v1/tx.rpc.msg.d.ts +7 -1
  132. package/sparkdream/federation/v1/tx.rpc.msg.js +7 -0
  133. package/sparkdream/federation/v1/types.d.ts +166 -0
  134. package/sparkdream/federation/v1/types.js +197 -3
  135. package/sparkdream/forum/v1/archive_metadata.d.ts +12 -0
  136. package/sparkdream/forum/v1/archive_metadata.js +13 -1
  137. package/sparkdream/forum/v1/genesis.d.ts +256 -0
  138. package/sparkdream/forum/v1/genesis.js +429 -2
  139. package/sparkdream/forum/v1/params.d.ts +0 -30
  140. package/sparkdream/forum/v1/params.js +182 -254
  141. package/sparkdream/forum/v1/query.d.ts +70 -0
  142. package/sparkdream/forum/v1/query.js +112 -7
  143. package/sparkdream/forum/v1/user_reaction_limit.d.ts +25 -0
  144. package/sparkdream/forum/v1/user_reaction_limit.js +65 -2
  145. package/sparkdream/futarchy/v1/market.d.ts +32 -0
  146. package/sparkdream/futarchy/v1/market.js +37 -1
  147. package/sparkdream/futarchy/v1/tx.d.ts +10 -0
  148. package/sparkdream/futarchy/v1/tx.js +13 -1
  149. package/sparkdream/name/v1/dispute.d.ts +14 -0
  150. package/sparkdream/name/v1/dispute.js +13 -1
  151. package/sparkdream/rep/v1/genesis.d.ts +151 -1
  152. package/sparkdream/rep/v1/genesis.js +272 -2
  153. package/sparkdream/rep/v1/initiative_review.d.ts +14 -0
  154. package/sparkdream/rep/v1/initiative_review.js +13 -1
  155. package/sparkdream/rep/v1/invitation.d.ts +32 -0
  156. package/sparkdream/rep/v1/invitation.js +25 -1
  157. package/sparkdream/rep/v1/member_report.d.ts +215 -0
  158. package/sparkdream/rep/v1/member_report.js +336 -2
  159. package/sparkdream/rep/v1/migration.d.ts +34 -1
  160. package/sparkdream/rep/v1/migration.js +27 -2
  161. package/sparkdream/rep/v1/params.d.ts +18 -0
  162. package/sparkdream/rep/v1/params.js +13 -1
  163. package/sparkdream/rep/v1/stake.d.ts +5 -0
  164. package/sparkdream/rep/v1/stake.js +10 -0
  165. package/sparkdream/rep/v1/tx.d.ts +340 -39
  166. package/sparkdream/rep/v1/tx.js +375 -17
  167. package/sparkdream/rep/v1/tx.registry.d.ts +25 -1
  168. package/sparkdream/rep/v1/tx.registry.js +37 -1
  169. package/sparkdream/rep/v1/tx.rpc.msg.d.ts +12 -2
  170. package/sparkdream/rep/v1/tx.rpc.msg.js +15 -1
  171. package/sparkdream/reveal/v1/types.d.ts +0 -8
  172. package/sparkdream/reveal/v1/types.js +9 -21
  173. package/sparkdream/rpc.query.d.ts +5 -0
  174. package/sparkdream/season/v1/display_name_moderation.d.ts +28 -0
  175. package/sparkdream/season/v1/display_name_moderation.js +40 -1
  176. package/sparkdream/season/v1/epoch_xp_tracker.d.ts +10 -0
  177. package/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
  178. package/sparkdream/season/v1/genesis.d.ts +75 -0
  179. package/sparkdream/season/v1/genesis.js +126 -2
  180. package/sparkdream/season/v1/guild_invite.d.ts +10 -0
  181. package/sparkdream/season/v1/guild_invite.js +13 -1
  182. package/sparkdream/season/v1/guild_membership.d.ts +12 -0
  183. package/sparkdream/season/v1/guild_membership.js +13 -1
  184. package/sparkdream/season/v1/member_profile.d.ts +12 -0
  185. package/sparkdream/season/v1/member_profile.js +13 -1
  186. package/sparkdream/season/v1/member_quest_progress.d.ts +8 -0
  187. package/sparkdream/season/v1/member_quest_progress.js +13 -1
  188. package/sparkdream/season/v1/member_season_snapshot.d.ts +14 -0
  189. package/sparkdream/season/v1/member_season_snapshot.js +16 -1
  190. package/sparkdream/season/v1/nomination.d.ts +32 -0
  191. package/sparkdream/season/v1/nomination.js +37 -1
  192. package/sparkdream/season/v1/query.d.ts +10 -6
  193. package/sparkdream/season/v1/query.js +26 -35
  194. package/sparkdream/season/v1/query.lcd.js +1 -1
  195. package/sparkdream/season/v1/quest.d.ts +12 -0
  196. package/sparkdream/season/v1/quest.js +13 -1
  197. package/sparkdream/season/v1/season.d.ts +12 -0
  198. package/sparkdream/season/v1/season.js +13 -1
  199. package/sparkdream/season/v1/season_stats_counters.d.ts +86 -0
  200. package/sparkdream/season/v1/season_stats_counters.js +124 -0
  201. package/sparkdream/season/v1/season_title_eligibility.d.ts +12 -3
  202. package/sparkdream/season/v1/season_title_eligibility.js +4 -1
  203. package/sparkdream/service/v1/genesis.d.ts +71 -0
  204. package/sparkdream/service/v1/genesis.js +127 -2
  205. package/sparkdream/service/v1/refile_cooldown.d.ts +35 -22
  206. package/sparkdream/service/v1/refile_cooldown.js +20 -7
  207. package/sparkdream/session/v1/genesis.d.ts +190 -0
  208. package/sparkdream/session/v1/genesis.js +304 -2
  209. package/sparkdream/session/v1/params.d.ts +18 -0
  210. package/sparkdream/session/v1/params.js +24 -0
  211. package/sparkdream/shield/v1/genesis.d.ts +37 -1
  212. package/sparkdream/shield/v1/genesis.js +55 -1
  213. package/sparkdream/shield/v1/params.d.ts +26 -2
  214. package/sparkdream/shield/v1/params.js +13 -1
  215. package/sparkdream/shield/v1/types.d.ts +122 -0
  216. package/sparkdream/shield/v1/types.js +203 -2
  217. package/sparkdream/vault/v1/genesis.d.ts +14 -0
  218. package/sparkdream/vault/v1/genesis.js +25 -1
  219. package/sparkdream/vault/v1/query.d.ts +16 -3
  220. package/sparkdream/vault/v1/query.js +15 -2
  221. package/sparkdream/vault/v1/query.lcd.js +3 -0
  222. package/sparkdream/vault/v1/tx.d.ts +219 -0
  223. package/sparkdream/vault/v1/tx.js +302 -1
  224. package/sparkdream/vault/v1/tx.registry.d.ts +25 -1
  225. package/sparkdream/vault/v1/tx.registry.js +37 -1
  226. package/sparkdream/vault/v1/tx.rpc.msg.d.ts +7 -1
  227. package/sparkdream/vault/v1/tx.rpc.msg.js +12 -0
  228. package/sparkdream/vault/v1/vault_signer.d.ts +22 -3
  229. package/sparkdream/vault/v1/vault_signer.js +15 -2
  230. package/tendermint/bundle.d.ts +844 -844
  231. package/tendermint/bundle.js +20 -20
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PeerRemovalState = exports.OutboundAttestation = exports.TagReputation = exports.ReputationAttestation = exports.PendingIdentityChallenge = exports.IdentityLink = exports.ContentRef = exports.FederatedContent = exports.ArbiterHashSubmission = exports.EscalatedChallenge = exports.VerificationRecord = exports.BridgeBinding = exports.IdentityCuration = exports.PeerPolicy = exports.Peer = exports.JuryVerdictAmino = exports.JuryVerdict = exports.PendingVerifierVerdictAmino = exports.PendingVerifierVerdict = exports.VerificationOutcomeAmino = exports.VerificationOutcome = exports.IdentityLinkStatusAmino = exports.IdentityLinkStatus = exports.FederatedContentStatusAmino = exports.FederatedContentStatus = exports.BridgeStatusAmino = exports.BridgeStatus = exports.PeerStatusAmino = exports.PeerStatus = exports.PeerTypeAmino = exports.PeerType = void 0;
3
+ exports.PeerRemovalState = exports.OutboundAttestation = exports.TagReputation = exports.ReputationAttestation = exports.PendingIdentityChallenge = exports.IdentityLink = exports.ContentRef = exports.FederatedContent = exports.ArbiterHashSubmission = exports.EscalatedChallenge = exports.VerificationRecord = exports.BridgeBinding = exports.IdentityCuration = exports.PeerPolicy = exports.Peer = exports.JuryVerdictAmino = exports.JuryVerdict = exports.PendingVerifierVerdictAmino = exports.PendingVerifierVerdict = exports.SettlementKindAmino = exports.SettlementKind = exports.VerificationOutcomeAmino = exports.VerificationOutcome = exports.IdentityLinkStatusAmino = exports.IdentityLinkStatus = exports.FederatedContentStatusAmino = exports.FederatedContentStatus = exports.BridgeStatusAmino = exports.BridgeStatus = exports.PeerStatusAmino = exports.PeerStatus = exports.PeerTypeAmino = exports.PeerType = void 0;
4
4
  exports.peerTypeFromJSON = peerTypeFromJSON;
5
5
  exports.peerTypeToJSON = peerTypeToJSON;
6
6
  exports.peerStatusFromJSON = peerStatusFromJSON;
@@ -13,6 +13,8 @@ exports.identityLinkStatusFromJSON = identityLinkStatusFromJSON;
13
13
  exports.identityLinkStatusToJSON = identityLinkStatusToJSON;
14
14
  exports.verificationOutcomeFromJSON = verificationOutcomeFromJSON;
15
15
  exports.verificationOutcomeToJSON = verificationOutcomeToJSON;
16
+ exports.settlementKindFromJSON = settlementKindFromJSON;
17
+ exports.settlementKindToJSON = settlementKindToJSON;
16
18
  exports.pendingVerifierVerdictFromJSON = pendingVerifierVerdictFromJSON;
17
19
  exports.pendingVerifierVerdictToJSON = pendingVerifierVerdictToJSON;
18
20
  exports.juryVerdictFromJSON = juryVerdictFromJSON;
@@ -376,6 +378,54 @@ function verificationOutcomeToJSON(object) {
376
378
  return "UNRECOGNIZED";
377
379
  }
378
380
  }
381
+ /** SettlementKind names an EndBlocker settlement that failed and is retried. */
382
+ var SettlementKind;
383
+ (function (SettlementKind) {
384
+ SettlementKind[SettlementKind["SETTLEMENT_KIND_UNSPECIFIED"] = 0] = "SETTLEMENT_KIND_UNSPECIFIED";
385
+ /** SETTLEMENT_KIND_NO_QUORUM - The arbiter resolution window closed without a quorum. */
386
+ SettlementKind[SettlementKind["SETTLEMENT_KIND_NO_QUORUM"] = 1] = "SETTLEMENT_KIND_NO_QUORUM";
387
+ /** SETTLEMENT_KIND_AUTO_VERDICT - The escalation window of a stashed arbiter verdict closed. */
388
+ SettlementKind[SettlementKind["SETTLEMENT_KIND_AUTO_VERDICT"] = 2] = "SETTLEMENT_KIND_AUTO_VERDICT";
389
+ /** SETTLEMENT_KIND_JURY_TIMEOUT - The jury deadline of an escalated challenge passed (TIMEOUT). */
390
+ SettlementKind[SettlementKind["SETTLEMENT_KIND_JURY_TIMEOUT"] = 3] = "SETTLEMENT_KIND_JURY_TIMEOUT";
391
+ SettlementKind[SettlementKind["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
392
+ })(SettlementKind || (exports.SettlementKind = SettlementKind = {}));
393
+ exports.SettlementKindAmino = SettlementKind;
394
+ function settlementKindFromJSON(object) {
395
+ switch (object) {
396
+ case 0:
397
+ case "SETTLEMENT_KIND_UNSPECIFIED":
398
+ return SettlementKind.SETTLEMENT_KIND_UNSPECIFIED;
399
+ case 1:
400
+ case "SETTLEMENT_KIND_NO_QUORUM":
401
+ return SettlementKind.SETTLEMENT_KIND_NO_QUORUM;
402
+ case 2:
403
+ case "SETTLEMENT_KIND_AUTO_VERDICT":
404
+ return SettlementKind.SETTLEMENT_KIND_AUTO_VERDICT;
405
+ case 3:
406
+ case "SETTLEMENT_KIND_JURY_TIMEOUT":
407
+ return SettlementKind.SETTLEMENT_KIND_JURY_TIMEOUT;
408
+ case -1:
409
+ case "UNRECOGNIZED":
410
+ default:
411
+ return SettlementKind.UNRECOGNIZED;
412
+ }
413
+ }
414
+ function settlementKindToJSON(object) {
415
+ switch (object) {
416
+ case SettlementKind.SETTLEMENT_KIND_UNSPECIFIED:
417
+ return "SETTLEMENT_KIND_UNSPECIFIED";
418
+ case SettlementKind.SETTLEMENT_KIND_NO_QUORUM:
419
+ return "SETTLEMENT_KIND_NO_QUORUM";
420
+ case SettlementKind.SETTLEMENT_KIND_AUTO_VERDICT:
421
+ return "SETTLEMENT_KIND_AUTO_VERDICT";
422
+ case SettlementKind.SETTLEMENT_KIND_JURY_TIMEOUT:
423
+ return "SETTLEMENT_KIND_JURY_TIMEOUT";
424
+ case SettlementKind.UNRECOGNIZED:
425
+ default:
426
+ return "UNRECOGNIZED";
427
+ }
428
+ }
379
429
  /**
380
430
  * PendingVerifierVerdict captures an arbiter-quorum auto-verdict that
381
431
  * hasn't yet been applied (escalation window still open). Drives the
@@ -1267,7 +1317,15 @@ function createBaseVerificationRecord() {
1267
1317
  challenger: "",
1268
1318
  escrowedChallengeFee: "",
1269
1319
  pendingVerifierVerdict: 0,
1270
- commitmentReleased: false
1320
+ commitmentReleased: false,
1321
+ arbiterEscalationDeadline: BigInt(0),
1322
+ arbiterResolutionDeadline: BigInt(0),
1323
+ challengeReportId: BigInt(0),
1324
+ pendingChallengeReport: "",
1325
+ quorumFalsifiedContent: false,
1326
+ settlementRetryKind: 0,
1327
+ settlementAttempts: 0,
1328
+ settlementRetryAt: BigInt(0)
1271
1329
  };
1272
1330
  }
1273
1331
  /**
@@ -1321,6 +1379,30 @@ exports.VerificationRecord = {
1321
1379
  if (message.commitmentReleased === true) {
1322
1380
  writer.uint32(112).bool(message.commitmentReleased);
1323
1381
  }
1382
+ if (message.arbiterEscalationDeadline !== BigInt(0)) {
1383
+ writer.uint32(120).int64(message.arbiterEscalationDeadline);
1384
+ }
1385
+ if (message.arbiterResolutionDeadline !== BigInt(0)) {
1386
+ writer.uint32(128).int64(message.arbiterResolutionDeadline);
1387
+ }
1388
+ if (message.challengeReportId !== BigInt(0)) {
1389
+ writer.uint32(136).uint64(message.challengeReportId);
1390
+ }
1391
+ if (message.pendingChallengeReport !== "") {
1392
+ writer.uint32(146).string(message.pendingChallengeReport);
1393
+ }
1394
+ if (message.quorumFalsifiedContent === true) {
1395
+ writer.uint32(152).bool(message.quorumFalsifiedContent);
1396
+ }
1397
+ if (message.settlementRetryKind !== 0) {
1398
+ writer.uint32(160).int32(message.settlementRetryKind);
1399
+ }
1400
+ if (message.settlementAttempts !== 0) {
1401
+ writer.uint32(168).uint32(message.settlementAttempts);
1402
+ }
1403
+ if (message.settlementRetryAt !== BigInt(0)) {
1404
+ writer.uint32(176).int64(message.settlementRetryAt);
1405
+ }
1324
1406
  return writer;
1325
1407
  },
1326
1408
  decode(input, length) {
@@ -1372,6 +1454,30 @@ exports.VerificationRecord = {
1372
1454
  case 14:
1373
1455
  message.commitmentReleased = reader.bool();
1374
1456
  break;
1457
+ case 15:
1458
+ message.arbiterEscalationDeadline = reader.int64();
1459
+ break;
1460
+ case 16:
1461
+ message.arbiterResolutionDeadline = reader.int64();
1462
+ break;
1463
+ case 17:
1464
+ message.challengeReportId = reader.uint64();
1465
+ break;
1466
+ case 18:
1467
+ message.pendingChallengeReport = reader.string();
1468
+ break;
1469
+ case 19:
1470
+ message.quorumFalsifiedContent = reader.bool();
1471
+ break;
1472
+ case 20:
1473
+ message.settlementRetryKind = reader.int32();
1474
+ break;
1475
+ case 21:
1476
+ message.settlementAttempts = reader.uint32();
1477
+ break;
1478
+ case 22:
1479
+ message.settlementRetryAt = reader.int64();
1480
+ break;
1375
1481
  default:
1376
1482
  reader.skipType(tag & 7);
1377
1483
  break;
@@ -1395,6 +1501,14 @@ exports.VerificationRecord = {
1395
1501
  message.escrowedChallengeFee = object.escrowedChallengeFee ?? "";
1396
1502
  message.pendingVerifierVerdict = object.pendingVerifierVerdict ?? 0;
1397
1503
  message.commitmentReleased = object.commitmentReleased ?? false;
1504
+ message.arbiterEscalationDeadline = object.arbiterEscalationDeadline !== undefined && object.arbiterEscalationDeadline !== null ? BigInt(object.arbiterEscalationDeadline.toString()) : BigInt(0);
1505
+ message.arbiterResolutionDeadline = object.arbiterResolutionDeadline !== undefined && object.arbiterResolutionDeadline !== null ? BigInt(object.arbiterResolutionDeadline.toString()) : BigInt(0);
1506
+ message.challengeReportId = object.challengeReportId !== undefined && object.challengeReportId !== null ? BigInt(object.challengeReportId.toString()) : BigInt(0);
1507
+ message.pendingChallengeReport = object.pendingChallengeReport ?? "";
1508
+ message.quorumFalsifiedContent = object.quorumFalsifiedContent ?? false;
1509
+ message.settlementRetryKind = object.settlementRetryKind ?? 0;
1510
+ message.settlementAttempts = object.settlementAttempts ?? 0;
1511
+ message.settlementRetryAt = object.settlementRetryAt !== undefined && object.settlementRetryAt !== null ? BigInt(object.settlementRetryAt.toString()) : BigInt(0);
1398
1512
  return message;
1399
1513
  },
1400
1514
  fromAmino(object) {
@@ -1441,6 +1555,30 @@ exports.VerificationRecord = {
1441
1555
  if (object.commitment_released !== undefined && object.commitment_released !== null) {
1442
1556
  message.commitmentReleased = object.commitment_released;
1443
1557
  }
1558
+ if (object.arbiter_escalation_deadline !== undefined && object.arbiter_escalation_deadline !== null) {
1559
+ message.arbiterEscalationDeadline = BigInt(object.arbiter_escalation_deadline);
1560
+ }
1561
+ if (object.arbiter_resolution_deadline !== undefined && object.arbiter_resolution_deadline !== null) {
1562
+ message.arbiterResolutionDeadline = BigInt(object.arbiter_resolution_deadline);
1563
+ }
1564
+ if (object.challenge_report_id !== undefined && object.challenge_report_id !== null) {
1565
+ message.challengeReportId = BigInt(object.challenge_report_id);
1566
+ }
1567
+ if (object.pending_challenge_report !== undefined && object.pending_challenge_report !== null) {
1568
+ message.pendingChallengeReport = object.pending_challenge_report;
1569
+ }
1570
+ if (object.quorum_falsified_content !== undefined && object.quorum_falsified_content !== null) {
1571
+ message.quorumFalsifiedContent = object.quorum_falsified_content;
1572
+ }
1573
+ if (object.settlement_retry_kind !== undefined && object.settlement_retry_kind !== null) {
1574
+ message.settlementRetryKind = object.settlement_retry_kind;
1575
+ }
1576
+ if (object.settlement_attempts !== undefined && object.settlement_attempts !== null) {
1577
+ message.settlementAttempts = object.settlement_attempts;
1578
+ }
1579
+ if (object.settlement_retry_at !== undefined && object.settlement_retry_at !== null) {
1580
+ message.settlementRetryAt = BigInt(object.settlement_retry_at);
1581
+ }
1444
1582
  return message;
1445
1583
  },
1446
1584
  toAmino(message) {
@@ -1459,6 +1597,14 @@ exports.VerificationRecord = {
1459
1597
  obj.escrowed_challenge_fee = message.escrowedChallengeFee === "" ? undefined : message.escrowedChallengeFee;
1460
1598
  obj.pending_verifier_verdict = message.pendingVerifierVerdict === 0 ? undefined : message.pendingVerifierVerdict;
1461
1599
  obj.commitment_released = message.commitmentReleased === false ? undefined : message.commitmentReleased;
1600
+ obj.arbiter_escalation_deadline = message.arbiterEscalationDeadline !== BigInt(0) ? message.arbiterEscalationDeadline?.toString() : undefined;
1601
+ obj.arbiter_resolution_deadline = message.arbiterResolutionDeadline !== BigInt(0) ? message.arbiterResolutionDeadline?.toString() : undefined;
1602
+ obj.challenge_report_id = message.challengeReportId !== BigInt(0) ? message.challengeReportId?.toString() : undefined;
1603
+ obj.pending_challenge_report = message.pendingChallengeReport === "" ? undefined : message.pendingChallengeReport;
1604
+ obj.quorum_falsified_content = message.quorumFalsifiedContent === false ? undefined : message.quorumFalsifiedContent;
1605
+ obj.settlement_retry_kind = message.settlementRetryKind === 0 ? undefined : message.settlementRetryKind;
1606
+ obj.settlement_attempts = message.settlementAttempts === 0 ? undefined : message.settlementAttempts;
1607
+ obj.settlement_retry_at = message.settlementRetryAt !== BigInt(0) ? message.settlementRetryAt?.toString() : undefined;
1462
1608
  return obj;
1463
1609
  },
1464
1610
  fromAminoMsg(object) {
@@ -2106,7 +2252,11 @@ function createBaseIdentityLink() {
2106
2252
  status: 0,
2107
2253
  linkedAt: BigInt(0),
2108
2254
  verifiedAt: BigInt(0),
2109
- challenge: new Uint8Array()
2255
+ challenge: new Uint8Array(),
2256
+ verificationAttempts: 0,
2257
+ unverifiedExpiresAt: BigInt(0),
2258
+ attestedBy: "",
2259
+ attestationEvidence: ""
2110
2260
  };
2111
2261
  }
2112
2262
  /**
@@ -2139,6 +2289,18 @@ exports.IdentityLink = {
2139
2289
  if (message.challenge.length !== 0) {
2140
2290
  writer.uint32(58).bytes(message.challenge);
2141
2291
  }
2292
+ if (message.verificationAttempts !== 0) {
2293
+ writer.uint32(64).uint32(message.verificationAttempts);
2294
+ }
2295
+ if (message.unverifiedExpiresAt !== BigInt(0)) {
2296
+ writer.uint32(72).int64(message.unverifiedExpiresAt);
2297
+ }
2298
+ if (message.attestedBy !== "") {
2299
+ writer.uint32(82).string(message.attestedBy);
2300
+ }
2301
+ if (message.attestationEvidence !== "") {
2302
+ writer.uint32(90).string(message.attestationEvidence);
2303
+ }
2142
2304
  return writer;
2143
2305
  },
2144
2306
  decode(input, length) {
@@ -2169,6 +2331,18 @@ exports.IdentityLink = {
2169
2331
  case 7:
2170
2332
  message.challenge = reader.bytes();
2171
2333
  break;
2334
+ case 8:
2335
+ message.verificationAttempts = reader.uint32();
2336
+ break;
2337
+ case 9:
2338
+ message.unverifiedExpiresAt = reader.int64();
2339
+ break;
2340
+ case 10:
2341
+ message.attestedBy = reader.string();
2342
+ break;
2343
+ case 11:
2344
+ message.attestationEvidence = reader.string();
2345
+ break;
2172
2346
  default:
2173
2347
  reader.skipType(tag & 7);
2174
2348
  break;
@@ -2185,6 +2359,10 @@ exports.IdentityLink = {
2185
2359
  message.linkedAt = object.linkedAt !== undefined && object.linkedAt !== null ? BigInt(object.linkedAt.toString()) : BigInt(0);
2186
2360
  message.verifiedAt = object.verifiedAt !== undefined && object.verifiedAt !== null ? BigInt(object.verifiedAt.toString()) : BigInt(0);
2187
2361
  message.challenge = object.challenge ?? new Uint8Array();
2362
+ message.verificationAttempts = object.verificationAttempts ?? 0;
2363
+ message.unverifiedExpiresAt = object.unverifiedExpiresAt !== undefined && object.unverifiedExpiresAt !== null ? BigInt(object.unverifiedExpiresAt.toString()) : BigInt(0);
2364
+ message.attestedBy = object.attestedBy ?? "";
2365
+ message.attestationEvidence = object.attestationEvidence ?? "";
2188
2366
  return message;
2189
2367
  },
2190
2368
  fromAmino(object) {
@@ -2210,6 +2388,18 @@ exports.IdentityLink = {
2210
2388
  if (object.challenge !== undefined && object.challenge !== null) {
2211
2389
  message.challenge = (0, helpers_1.bytesFromBase64)(object.challenge);
2212
2390
  }
2391
+ if (object.verification_attempts !== undefined && object.verification_attempts !== null) {
2392
+ message.verificationAttempts = object.verification_attempts;
2393
+ }
2394
+ if (object.unverified_expires_at !== undefined && object.unverified_expires_at !== null) {
2395
+ message.unverifiedExpiresAt = BigInt(object.unverified_expires_at);
2396
+ }
2397
+ if (object.attested_by !== undefined && object.attested_by !== null) {
2398
+ message.attestedBy = object.attested_by;
2399
+ }
2400
+ if (object.attestation_evidence !== undefined && object.attestation_evidence !== null) {
2401
+ message.attestationEvidence = object.attestation_evidence;
2402
+ }
2213
2403
  return message;
2214
2404
  },
2215
2405
  toAmino(message) {
@@ -2221,6 +2411,10 @@ exports.IdentityLink = {
2221
2411
  obj.linked_at = message.linkedAt !== BigInt(0) ? message.linkedAt?.toString() : undefined;
2222
2412
  obj.verified_at = message.verifiedAt !== BigInt(0) ? message.verifiedAt?.toString() : undefined;
2223
2413
  obj.challenge = message.challenge ? (0, helpers_1.base64FromBytes)(message.challenge) : undefined;
2414
+ obj.verification_attempts = message.verificationAttempts === 0 ? undefined : message.verificationAttempts;
2415
+ obj.unverified_expires_at = message.unverifiedExpiresAt !== BigInt(0) ? message.unverifiedExpiresAt?.toString() : undefined;
2416
+ obj.attested_by = message.attestedBy === "" ? undefined : message.attestedBy;
2417
+ obj.attestation_evidence = message.attestationEvidence === "" ? undefined : message.attestationEvidence;
2224
2418
  return obj;
2225
2419
  },
2226
2420
  fromAminoMsg(object) {
@@ -12,6 +12,12 @@ export interface ArchiveMetadata {
12
12
  firstArchivedAt: bigint;
13
13
  lastArchivedAt: bigint;
14
14
  hrOverrideRequired: boolean;
15
+ /**
16
+ * last_unarchived_at is the block time of the most recent MsgUnarchiveThread.
17
+ * MsgFreezeThread refuses to re-archive until last_unarchived_at +
18
+ * archive_cooldown has passed. 0 when the thread was never unarchived.
19
+ */
20
+ lastUnarchivedAt: bigint;
15
21
  }
16
22
  export interface ArchiveMetadataProtoMsg {
17
23
  typeUrl: "/sparkdream.forum.v1.ArchiveMetadata";
@@ -29,6 +35,12 @@ export interface ArchiveMetadataAmino {
29
35
  first_archived_at?: string;
30
36
  last_archived_at?: string;
31
37
  hr_override_required?: boolean;
38
+ /**
39
+ * last_unarchived_at is the block time of the most recent MsgUnarchiveThread.
40
+ * MsgFreezeThread refuses to re-archive until last_unarchived_at +
41
+ * archive_cooldown has passed. 0 when the thread was never unarchived.
42
+ */
43
+ last_unarchived_at?: string;
32
44
  }
33
45
  export interface ArchiveMetadataAminoMsg {
34
46
  type: "/sparkdream.forum.v1.ArchiveMetadata";
@@ -9,7 +9,8 @@ function createBaseArchiveMetadata() {
9
9
  archiveCount: BigInt(0),
10
10
  firstArchivedAt: BigInt(0),
11
11
  lastArchivedAt: BigInt(0),
12
- hrOverrideRequired: false
12
+ hrOverrideRequired: false,
13
+ lastUnarchivedAt: BigInt(0)
13
14
  };
14
15
  }
15
16
  /**
@@ -36,6 +37,9 @@ exports.ArchiveMetadata = {
36
37
  if (message.hrOverrideRequired === true) {
37
38
  writer.uint32(40).bool(message.hrOverrideRequired);
38
39
  }
40
+ if (message.lastUnarchivedAt !== BigInt(0)) {
41
+ writer.uint32(48).int64(message.lastUnarchivedAt);
42
+ }
39
43
  return writer;
40
44
  },
41
45
  decode(input, length) {
@@ -60,6 +64,9 @@ exports.ArchiveMetadata = {
60
64
  case 5:
61
65
  message.hrOverrideRequired = reader.bool();
62
66
  break;
67
+ case 6:
68
+ message.lastUnarchivedAt = reader.int64();
69
+ break;
63
70
  default:
64
71
  reader.skipType(tag & 7);
65
72
  break;
@@ -74,6 +81,7 @@ exports.ArchiveMetadata = {
74
81
  message.firstArchivedAt = object.firstArchivedAt !== undefined && object.firstArchivedAt !== null ? BigInt(object.firstArchivedAt.toString()) : BigInt(0);
75
82
  message.lastArchivedAt = object.lastArchivedAt !== undefined && object.lastArchivedAt !== null ? BigInt(object.lastArchivedAt.toString()) : BigInt(0);
76
83
  message.hrOverrideRequired = object.hrOverrideRequired ?? false;
84
+ message.lastUnarchivedAt = object.lastUnarchivedAt !== undefined && object.lastUnarchivedAt !== null ? BigInt(object.lastUnarchivedAt.toString()) : BigInt(0);
77
85
  return message;
78
86
  },
79
87
  fromAmino(object) {
@@ -93,6 +101,9 @@ exports.ArchiveMetadata = {
93
101
  if (object.hr_override_required !== undefined && object.hr_override_required !== null) {
94
102
  message.hrOverrideRequired = object.hr_override_required;
95
103
  }
104
+ if (object.last_unarchived_at !== undefined && object.last_unarchived_at !== null) {
105
+ message.lastUnarchivedAt = BigInt(object.last_unarchived_at);
106
+ }
96
107
  return message;
97
108
  },
98
109
  toAmino(message) {
@@ -102,6 +113,7 @@ exports.ArchiveMetadata = {
102
113
  obj.first_archived_at = message.firstArchivedAt !== BigInt(0) ? message.firstArchivedAt?.toString() : undefined;
103
114
  obj.last_archived_at = message.lastArchivedAt !== BigInt(0) ? message.lastArchivedAt?.toString() : undefined;
104
115
  obj.hr_override_required = message.hrOverrideRequired === false ? undefined : message.hrOverrideRequired;
116
+ obj.last_unarchived_at = message.lastUnarchivedAt !== BigInt(0) ? message.lastUnarchivedAt?.toString() : undefined;
105
117
  return obj;
106
118
  },
107
119
  fromAminoMsg(object) {
@@ -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
+ };