@sparkdreamnft/sparkdreamjs 0.0.8 → 0.0.10

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 (257) hide show
  1. package/cosmos/bundle.d.ts +160 -160
  2. package/cosmos/bundle.js +182 -182
  3. package/esm/cosmos/bundle.js +182 -182
  4. package/esm/ibc/bundle.js +76 -76
  5. package/esm/sparkdream/blog/v1/params.js +25 -1
  6. package/esm/sparkdream/blog/v1/post.js +16 -1
  7. package/esm/sparkdream/blog/v1/query.js +165 -0
  8. package/esm/sparkdream/blog/v1/query.lcd.js +11 -0
  9. package/esm/sparkdream/blog/v1/query.rpc.Query.js +10 -1
  10. package/esm/sparkdream/blog/v1/tx.js +32 -2
  11. package/esm/sparkdream/bundle.js +367 -327
  12. package/esm/sparkdream/client.js +4 -1
  13. package/esm/sparkdream/collect/v1/curator_activity.js +158 -0
  14. package/esm/sparkdream/collect/v1/genesis.js +12 -11
  15. package/esm/sparkdream/collect/v1/params.js +37 -1
  16. package/esm/sparkdream/collect/v1/query.js +201 -186
  17. package/esm/sparkdream/collect/v1/query.lcd.js +16 -16
  18. package/esm/sparkdream/collect/v1/query.rpc.Query.js +19 -19
  19. package/esm/sparkdream/collect/v1/tx.amino.js +1 -11
  20. package/esm/sparkdream/collect/v1/tx.js +0 -258
  21. package/esm/sparkdream/collect/v1/tx.registry.js +2 -38
  22. package/esm/sparkdream/collect/v1/tx.rpc.msg.js +3 -14
  23. package/esm/sparkdream/collect/v1/types.js +50 -143
  24. package/esm/sparkdream/{forum → commons}/v1/category.js +7 -5
  25. package/esm/sparkdream/commons/v1/genesis.js +29 -1
  26. package/esm/sparkdream/commons/v1/query.js +292 -0
  27. package/esm/sparkdream/commons/v1/query.lcd.js +18 -0
  28. package/esm/sparkdream/commons/v1/query.rpc.Query.js +21 -1
  29. package/esm/sparkdream/commons/v1/tx.amino.js +6 -1
  30. package/esm/sparkdream/commons/v1/tx.js +193 -0
  31. package/esm/sparkdream/commons/v1/tx.registry.js +20 -2
  32. package/esm/sparkdream/commons/v1/tx.rpc.msg.js +8 -1
  33. package/esm/sparkdream/federation/module/v1/module.js +71 -0
  34. package/esm/sparkdream/federation/v1/genesis.js +245 -0
  35. package/esm/sparkdream/federation/v1/packet.js +810 -0
  36. package/esm/sparkdream/federation/v1/params.js +789 -0
  37. package/esm/sparkdream/federation/v1/query.js +2479 -0
  38. package/esm/sparkdream/federation/v1/query.lcd.js +142 -0
  39. package/esm/sparkdream/federation/v1/query.rpc.Query.js +181 -0
  40. package/esm/sparkdream/federation/v1/tx.amino.js +129 -0
  41. package/esm/sparkdream/federation/v1/tx.js +3929 -0
  42. package/esm/sparkdream/federation/v1/tx.registry.js +465 -0
  43. package/esm/sparkdream/federation/v1/tx.rpc.msg.js +163 -0
  44. package/esm/sparkdream/federation/v1/types.js +2266 -0
  45. package/esm/sparkdream/federation/v1/verifier_activity.js +194 -0
  46. package/esm/sparkdream/forum/v1/genesis.js +26 -250
  47. package/esm/sparkdream/forum/v1/params.js +146 -2
  48. package/esm/sparkdream/forum/v1/query.js +2084 -7387
  49. package/esm/sparkdream/forum/v1/query.lcd.js +0 -310
  50. package/esm/sparkdream/forum/v1/query.rpc.Query.js +1 -339
  51. package/esm/sparkdream/forum/v1/sentinel_activity.js +46 -139
  52. package/esm/sparkdream/forum/v1/tx.amino.js +1 -76
  53. package/esm/sparkdream/forum/v1/tx.js +333 -2628
  54. package/esm/sparkdream/forum/v1/tx.registry.js +2 -272
  55. package/esm/sparkdream/forum/v1/tx.rpc.msg.js +1 -91
  56. package/esm/sparkdream/forum/v1/types.js +0 -216
  57. package/esm/sparkdream/futarchy/v1/market.js +13 -1
  58. package/esm/sparkdream/lcd.js +5 -0
  59. package/esm/sparkdream/rep/v1/accountability.js +172 -0
  60. package/esm/sparkdream/rep/v1/bonded_role.js +446 -0
  61. package/esm/sparkdream/rep/v1/genesis.js +224 -1
  62. package/esm/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
  63. package/esm/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
  64. package/esm/sparkdream/rep/v1/member.js +25 -1
  65. package/esm/sparkdream/{forum → rep}/v1/member_report.js +102 -5
  66. package/esm/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
  67. package/esm/sparkdream/rep/v1/params.js +782 -254
  68. package/esm/sparkdream/rep/v1/project.js +13 -1
  69. package/esm/sparkdream/rep/v1/query.js +5251 -0
  70. package/esm/sparkdream/rep/v1/query.lcd.js +293 -0
  71. package/esm/sparkdream/rep/v1/query.rpc.Query.js +334 -1
  72. package/esm/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
  73. package/esm/sparkdream/{common → rep}/v1/tag.js +6 -6
  74. package/esm/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
  75. package/esm/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
  76. package/esm/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
  77. package/esm/sparkdream/rep/v1/tx.amino.js +81 -1
  78. package/esm/sparkdream/rep/v1/tx.js +2467 -0
  79. package/esm/sparkdream/rep/v1/tx.registry.js +290 -2
  80. package/esm/sparkdream/rep/v1/tx.rpc.msg.js +104 -1
  81. package/esm/sparkdream/rpc.query.js +3 -0
  82. package/esm/sparkdream/rpc.tx.js +3 -0
  83. package/esm/sparkdream/season/v1/enums.js +10 -0
  84. package/esm/sparkdream/season/v1/params.js +94 -46
  85. package/esm/sparkdream/shield/v1/types.js +47 -5
  86. package/esm/tendermint/bundle.js +20 -20
  87. package/ibc/bundle.d.ts +90 -90
  88. package/ibc/bundle.js +76 -76
  89. package/package.json +1 -1
  90. package/sparkdream/blog/v1/params.d.ts +16 -0
  91. package/sparkdream/blog/v1/params.js +25 -1
  92. package/sparkdream/blog/v1/post.d.ts +8 -0
  93. package/sparkdream/blog/v1/post.js +16 -1
  94. package/sparkdream/blog/v1/query.d.ts +92 -0
  95. package/sparkdream/blog/v1/query.js +166 -1
  96. package/sparkdream/blog/v1/query.lcd.d.ts +2 -1
  97. package/sparkdream/blog/v1/query.lcd.js +11 -0
  98. package/sparkdream/blog/v1/query.rpc.Query.d.ts +5 -1
  99. package/sparkdream/blog/v1/query.rpc.Query.js +9 -0
  100. package/sparkdream/blog/v1/tx.d.ts +16 -0
  101. package/sparkdream/blog/v1/tx.js +32 -2
  102. package/sparkdream/bundle.d.ts +14529 -12577
  103. package/sparkdream/bundle.js +367 -327
  104. package/sparkdream/client.d.ts +192 -67
  105. package/sparkdream/client.js +4 -1
  106. package/sparkdream/collect/v1/curator_activity.d.ts +123 -0
  107. package/sparkdream/collect/v1/curator_activity.js +161 -0
  108. package/sparkdream/collect/v1/genesis.d.ts +4 -3
  109. package/sparkdream/collect/v1/genesis.js +11 -10
  110. package/sparkdream/collect/v1/params.d.ts +32 -0
  111. package/sparkdream/collect/v1/params.js +37 -1
  112. package/sparkdream/collect/v1/query.d.ts +142 -133
  113. package/sparkdream/collect/v1/query.js +201 -186
  114. package/sparkdream/collect/v1/query.lcd.d.ts +3 -3
  115. package/sparkdream/collect/v1/query.lcd.js +16 -16
  116. package/sparkdream/collect/v1/query.rpc.Query.d.ts +13 -7
  117. package/sparkdream/collect/v1/query.rpc.Query.js +18 -18
  118. package/sparkdream/collect/v1/tx.amino.d.ts +1 -11
  119. package/sparkdream/collect/v1/tx.amino.js +0 -10
  120. package/sparkdream/collect/v1/tx.d.ts +0 -162
  121. package/sparkdream/collect/v1/tx.js +2 -260
  122. package/sparkdream/collect/v1/tx.registry.d.ts +1 -25
  123. package/sparkdream/collect/v1/tx.registry.js +1 -37
  124. package/sparkdream/collect/v1/tx.rpc.msg.d.ts +5 -5
  125. package/sparkdream/collect/v1/tx.rpc.msg.js +2 -13
  126. package/sparkdream/collect/v1/types.d.ts +26 -56
  127. package/sparkdream/collect/v1/types.js +51 -144
  128. package/sparkdream/{forum → commons}/v1/category.d.ts +17 -11
  129. package/sparkdream/{forum → commons}/v1/category.js +7 -5
  130. package/sparkdream/commons/v1/genesis.d.ts +17 -0
  131. package/sparkdream/commons/v1/genesis.js +29 -1
  132. package/sparkdream/commons/v1/query.d.ts +179 -0
  133. package/sparkdream/commons/v1/query.js +293 -1
  134. package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
  135. package/sparkdream/commons/v1/query.lcd.js +18 -0
  136. package/sparkdream/commons/v1/query.rpc.Query.d.ts +9 -1
  137. package/sparkdream/commons/v1/query.rpc.Query.js +20 -0
  138. package/sparkdream/commons/v1/tx.amino.d.ts +6 -1
  139. package/sparkdream/commons/v1/tx.amino.js +5 -0
  140. package/sparkdream/commons/v1/tx.d.ts +98 -0
  141. package/sparkdream/commons/v1/tx.js +194 -1
  142. package/sparkdream/commons/v1/tx.registry.d.ts +13 -1
  143. package/sparkdream/commons/v1/tx.registry.js +19 -1
  144. package/sparkdream/commons/v1/tx.rpc.msg.d.ts +7 -1
  145. package/sparkdream/commons/v1/tx.rpc.msg.js +7 -0
  146. package/sparkdream/federation/module/v1/module.d.ts +54 -0
  147. package/sparkdream/federation/module/v1/module.js +74 -0
  148. package/sparkdream/federation/v1/genesis.d.ts +79 -0
  149. package/sparkdream/federation/v1/genesis.js +248 -0
  150. package/sparkdream/federation/v1/packet.d.ts +397 -0
  151. package/sparkdream/federation/v1/packet.js +813 -0
  152. package/sparkdream/federation/v1/params.d.ts +272 -0
  153. package/sparkdream/federation/v1/params.js +792 -0
  154. package/sparkdream/federation/v1/query.d.ts +1458 -0
  155. package/sparkdream/federation/v1/query.js +2482 -0
  156. package/sparkdream/federation/v1/query.lcd.d.ts +25 -0
  157. package/sparkdream/federation/v1/query.lcd.js +146 -0
  158. package/sparkdream/federation/v1/query.rpc.Query.d.ts +69 -0
  159. package/sparkdream/federation/v1/query.rpc.Query.js +186 -0
  160. package/sparkdream/federation/v1/tx.amino.d.ts +128 -0
  161. package/sparkdream/federation/v1/tx.amino.js +132 -0
  162. package/sparkdream/federation/v1/tx.d.ts +2147 -0
  163. package/sparkdream/federation/v1/tx.js +3932 -0
  164. package/sparkdream/federation/v1/tx.registry.d.ts +313 -0
  165. package/sparkdream/federation/v1/tx.registry.js +469 -0
  166. package/sparkdream/federation/v1/tx.rpc.msg.d.ts +65 -0
  167. package/sparkdream/federation/v1/tx.rpc.msg.js +168 -0
  168. package/sparkdream/federation/v1/types.d.ts +810 -0
  169. package/sparkdream/federation/v1/types.js +2281 -0
  170. package/sparkdream/federation/v1/verifier_activity.d.ts +113 -0
  171. package/sparkdream/federation/v1/verifier_activity.js +197 -0
  172. package/sparkdream/forum/v1/genesis.d.ts +0 -41
  173. package/sparkdream/forum/v1/genesis.js +26 -250
  174. package/sparkdream/forum/v1/params.d.ts +112 -0
  175. package/sparkdream/forum/v1/params.js +146 -2
  176. package/sparkdream/forum/v1/query.d.ts +65 -3164
  177. package/sparkdream/forum/v1/query.js +2086 -7391
  178. package/sparkdream/forum/v1/query.lcd.d.ts +1 -35
  179. package/sparkdream/forum/v1/query.lcd.js +0 -310
  180. package/sparkdream/forum/v1/query.rpc.Query.d.ts +1 -137
  181. package/sparkdream/forum/v1/query.rpc.Query.js +0 -338
  182. package/sparkdream/forum/v1/sentinel_activity.d.ts +9 -20
  183. package/sparkdream/forum/v1/sentinel_activity.js +46 -139
  184. package/sparkdream/forum/v1/tx.amino.d.ts +1 -76
  185. package/sparkdream/forum/v1/tx.amino.js +0 -75
  186. package/sparkdream/forum/v1/tx.d.ts +85 -1445
  187. package/sparkdream/forum/v1/tx.js +335 -2630
  188. package/sparkdream/forum/v1/tx.registry.d.ts +1 -181
  189. package/sparkdream/forum/v1/tx.registry.js +1 -271
  190. package/sparkdream/forum/v1/tx.rpc.msg.d.ts +1 -46
  191. package/sparkdream/forum/v1/tx.rpc.msg.js +0 -90
  192. package/sparkdream/forum/v1/types.d.ts +0 -50
  193. package/sparkdream/forum/v1/types.js +1 -225
  194. package/sparkdream/futarchy/v1/market.d.ts +14 -0
  195. package/sparkdream/futarchy/v1/market.js +13 -1
  196. package/sparkdream/lcd.d.ts +3 -0
  197. package/sparkdream/lcd.js +5 -0
  198. package/sparkdream/rep/v1/accountability.d.ts +39 -0
  199. package/sparkdream/rep/v1/accountability.js +181 -0
  200. package/sparkdream/rep/v1/bonded_role.d.ts +330 -0
  201. package/sparkdream/rep/v1/bonded_role.js +453 -0
  202. package/sparkdream/rep/v1/genesis.d.ts +70 -0
  203. package/sparkdream/rep/v1/genesis.js +224 -1
  204. package/sparkdream/{forum → rep}/v1/gov_action_appeal.d.ts +9 -9
  205. package/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
  206. package/sparkdream/{forum → rep}/v1/jury_participation.d.ts +8 -8
  207. package/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
  208. package/sparkdream/rep/v1/member.d.ts +16 -0
  209. package/sparkdream/rep/v1/member.js +25 -1
  210. package/sparkdream/rep/v1/member_report.d.ts +128 -0
  211. package/sparkdream/{forum → rep}/v1/member_report.js +103 -6
  212. package/sparkdream/{forum → rep}/v1/member_warning.d.ts +8 -8
  213. package/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
  214. package/sparkdream/rep/v1/params.d.ts +352 -8
  215. package/sparkdream/rep/v1/params.js +782 -254
  216. package/sparkdream/rep/v1/project.d.ts +10 -0
  217. package/sparkdream/rep/v1/project.js +13 -1
  218. package/sparkdream/rep/v1/query.d.ts +4222 -1156
  219. package/sparkdream/rep/v1/query.js +5254 -1
  220. package/sparkdream/rep/v1/query.lcd.d.ts +35 -1
  221. package/sparkdream/rep/v1/query.lcd.js +293 -0
  222. package/sparkdream/rep/v1/query.rpc.Query.d.ts +140 -1
  223. package/sparkdream/rep/v1/query.rpc.Query.js +333 -0
  224. package/sparkdream/{common → rep}/v1/reserved_tag.d.ts +11 -11
  225. package/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
  226. package/sparkdream/{common → rep}/v1/tag.d.ts +14 -14
  227. package/sparkdream/{common → rep}/v1/tag.js +6 -6
  228. package/sparkdream/{forum → rep}/v1/tag_budget.d.ts +8 -8
  229. package/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
  230. package/sparkdream/{forum → rep}/v1/tag_budget_award.d.ts +8 -8
  231. package/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
  232. package/sparkdream/{forum → rep}/v1/tag_report.d.ts +8 -8
  233. package/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
  234. package/sparkdream/rep/v1/tx.amino.d.ts +81 -1
  235. package/sparkdream/rep/v1/tx.amino.js +80 -0
  236. package/sparkdream/rep/v1/tx.d.ts +1484 -0
  237. package/sparkdream/rep/v1/tx.js +2468 -1
  238. package/sparkdream/rep/v1/tx.registry.d.ts +193 -1
  239. package/sparkdream/rep/v1/tx.registry.js +289 -1
  240. package/sparkdream/rep/v1/tx.rpc.msg.d.ts +64 -1
  241. package/sparkdream/rep/v1/tx.rpc.msg.js +103 -0
  242. package/sparkdream/rpc.query.d.ts +60 -36
  243. package/sparkdream/rpc.query.js +3 -0
  244. package/sparkdream/rpc.tx.d.ts +3 -0
  245. package/sparkdream/rpc.tx.js +3 -0
  246. package/sparkdream/season/v1/enums.d.ts +5 -0
  247. package/sparkdream/season/v1/enums.js +10 -0
  248. package/sparkdream/season/v1/params.d.ts +36 -4
  249. package/sparkdream/season/v1/params.js +94 -46
  250. package/sparkdream/shield/v1/types.d.ts +28 -0
  251. package/sparkdream/shield/v1/types.js +47 -5
  252. package/tendermint/bundle.d.ts +844 -844
  253. package/tendermint/bundle.js +20 -20
  254. package/esm/sparkdream/forum/v1/member_salvation_status.js +0 -119
  255. package/sparkdream/forum/v1/member_report.d.ts +0 -67
  256. package/sparkdream/forum/v1/member_salvation_status.d.ts +0 -54
  257. package/sparkdream/forum/v1/member_salvation_status.js +0 -122
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MemberReport = void 0;
3
+ exports.ReporterBondEntry = exports.MemberReport = void 0;
4
4
  const binary_1 = require("../../../binary");
5
5
  function createBaseMemberReport() {
6
6
  return {
@@ -14,17 +14,18 @@ function createBaseMemberReport() {
14
14
  defenseSubmittedAt: BigInt(0),
15
15
  reporters: [],
16
16
  evidencePostIds: [],
17
- defensePostIds: []
17
+ defensePostIds: [],
18
+ reporterBonds: []
18
19
  };
19
20
  }
20
21
  /**
21
22
  * MemberReport defines the MemberReport message.
22
23
  * @name MemberReport
23
- * @package sparkdream.forum.v1
24
- * @see proto type: sparkdream.forum.v1.MemberReport
24
+ * @package sparkdream.rep.v1
25
+ * @see proto type: sparkdream.rep.v1.MemberReport
25
26
  */
26
27
  exports.MemberReport = {
27
- typeUrl: "/sparkdream.forum.v1.MemberReport",
28
+ typeUrl: "/sparkdream.rep.v1.MemberReport",
28
29
  encode(message, writer = binary_1.BinaryWriter.create()) {
29
30
  if (message.member !== "") {
30
31
  writer.uint32(10).string(message.member);
@@ -63,6 +64,9 @@ exports.MemberReport = {
63
64
  writer.uint64(v);
64
65
  }
65
66
  writer.ldelim();
67
+ for (const v of message.reporterBonds) {
68
+ exports.ReporterBondEntry.encode(v, writer.uint32(106).fork()).ldelim();
69
+ }
66
70
  return writer;
67
71
  },
68
72
  decode(input, length) {
@@ -121,6 +125,9 @@ exports.MemberReport = {
121
125
  message.defensePostIds.push(reader.uint64());
122
126
  }
123
127
  break;
128
+ case 13:
129
+ message.reporterBonds.push(exports.ReporterBondEntry.decode(reader, reader.uint32()));
130
+ break;
124
131
  default:
125
132
  reader.skipType(tag & 7);
126
133
  break;
@@ -141,6 +148,7 @@ exports.MemberReport = {
141
148
  message.reporters = object.reporters?.map(e => e) || [];
142
149
  message.evidencePostIds = object.evidencePostIds?.map(e => BigInt(e.toString())) || [];
143
150
  message.defensePostIds = object.defensePostIds?.map(e => BigInt(e.toString())) || [];
151
+ message.reporterBonds = object.reporterBonds?.map(e => exports.ReporterBondEntry.fromPartial(e)) || [];
144
152
  return message;
145
153
  },
146
154
  fromAmino(object) {
@@ -172,6 +180,7 @@ exports.MemberReport = {
172
180
  message.reporters = object.reporters?.map(e => e) || [];
173
181
  message.evidencePostIds = object.evidence_post_ids?.map(e => BigInt(e)) || [];
174
182
  message.defensePostIds = object.defense_post_ids?.map(e => BigInt(e)) || [];
183
+ message.reporterBonds = object.reporter_bonds?.map(e => exports.ReporterBondEntry.fromAmino(e)) || [];
175
184
  return message;
176
185
  },
177
186
  toAmino(message) {
@@ -202,6 +211,12 @@ exports.MemberReport = {
202
211
  else {
203
212
  obj.defense_post_ids = message.defensePostIds;
204
213
  }
214
+ if (message.reporterBonds) {
215
+ obj.reporter_bonds = message.reporterBonds.map(e => e ? exports.ReporterBondEntry.toAmino(e) : undefined);
216
+ }
217
+ else {
218
+ obj.reporter_bonds = message.reporterBonds;
219
+ }
205
220
  return obj;
206
221
  },
207
222
  fromAminoMsg(object) {
@@ -215,8 +230,90 @@ exports.MemberReport = {
215
230
  },
216
231
  toProtoMsg(message) {
217
232
  return {
218
- typeUrl: "/sparkdream.forum.v1.MemberReport",
233
+ typeUrl: "/sparkdream.rep.v1.MemberReport",
219
234
  value: exports.MemberReport.encode(message).finish()
220
235
  };
221
236
  }
222
237
  };
238
+ function createBaseReporterBondEntry() {
239
+ return {
240
+ address: "",
241
+ amount: ""
242
+ };
243
+ }
244
+ /**
245
+ * ReporterBondEntry tracks the DREAM amount locked by a specific reporter
246
+ * or cosigner against a member report.
247
+ * @name ReporterBondEntry
248
+ * @package sparkdream.rep.v1
249
+ * @see proto type: sparkdream.rep.v1.ReporterBondEntry
250
+ */
251
+ exports.ReporterBondEntry = {
252
+ typeUrl: "/sparkdream.rep.v1.ReporterBondEntry",
253
+ encode(message, writer = binary_1.BinaryWriter.create()) {
254
+ if (message.address !== "") {
255
+ writer.uint32(10).string(message.address);
256
+ }
257
+ if (message.amount !== "") {
258
+ writer.uint32(18).string(message.amount);
259
+ }
260
+ return writer;
261
+ },
262
+ decode(input, length) {
263
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
264
+ let end = length === undefined ? reader.len : reader.pos + length;
265
+ const message = createBaseReporterBondEntry();
266
+ while (reader.pos < end) {
267
+ const tag = reader.uint32();
268
+ switch (tag >>> 3) {
269
+ case 1:
270
+ message.address = reader.string();
271
+ break;
272
+ case 2:
273
+ message.amount = reader.string();
274
+ break;
275
+ default:
276
+ reader.skipType(tag & 7);
277
+ break;
278
+ }
279
+ }
280
+ return message;
281
+ },
282
+ fromPartial(object) {
283
+ const message = createBaseReporterBondEntry();
284
+ message.address = object.address ?? "";
285
+ message.amount = object.amount ?? "";
286
+ return message;
287
+ },
288
+ fromAmino(object) {
289
+ const message = createBaseReporterBondEntry();
290
+ if (object.address !== undefined && object.address !== null) {
291
+ message.address = object.address;
292
+ }
293
+ if (object.amount !== undefined && object.amount !== null) {
294
+ message.amount = object.amount;
295
+ }
296
+ return message;
297
+ },
298
+ toAmino(message) {
299
+ const obj = {};
300
+ obj.address = message.address === "" ? undefined : message.address;
301
+ obj.amount = message.amount === "" ? undefined : message.amount;
302
+ return obj;
303
+ },
304
+ fromAminoMsg(object) {
305
+ return exports.ReporterBondEntry.fromAmino(object.value);
306
+ },
307
+ fromProtoMsg(message) {
308
+ return exports.ReporterBondEntry.decode(message.value);
309
+ },
310
+ toProto(message) {
311
+ return exports.ReporterBondEntry.encode(message).finish();
312
+ },
313
+ toProtoMsg(message) {
314
+ return {
315
+ typeUrl: "/sparkdream.rep.v1.ReporterBondEntry",
316
+ value: exports.ReporterBondEntry.encode(message).finish()
317
+ };
318
+ }
319
+ };
@@ -3,8 +3,8 @@ import { DeepPartial } from "../../../helpers";
3
3
  /**
4
4
  * MemberWarning defines the MemberWarning message.
5
5
  * @name MemberWarning
6
- * @package sparkdream.forum.v1
7
- * @see proto type: sparkdream.forum.v1.MemberWarning
6
+ * @package sparkdream.rep.v1
7
+ * @see proto type: sparkdream.rep.v1.MemberWarning
8
8
  */
9
9
  export interface MemberWarning {
10
10
  id: bigint;
@@ -16,14 +16,14 @@ export interface MemberWarning {
16
16
  evidencePostIds: bigint[];
17
17
  }
18
18
  export interface MemberWarningProtoMsg {
19
- typeUrl: "/sparkdream.forum.v1.MemberWarning";
19
+ typeUrl: "/sparkdream.rep.v1.MemberWarning";
20
20
  value: Uint8Array;
21
21
  }
22
22
  /**
23
23
  * MemberWarning defines the MemberWarning message.
24
24
  * @name MemberWarningAmino
25
- * @package sparkdream.forum.v1
26
- * @see proto type: sparkdream.forum.v1.MemberWarning
25
+ * @package sparkdream.rep.v1
26
+ * @see proto type: sparkdream.rep.v1.MemberWarning
27
27
  */
28
28
  export interface MemberWarningAmino {
29
29
  id?: string;
@@ -35,14 +35,14 @@ export interface MemberWarningAmino {
35
35
  evidence_post_ids?: string[];
36
36
  }
37
37
  export interface MemberWarningAminoMsg {
38
- type: "/sparkdream.forum.v1.MemberWarning";
38
+ type: "/sparkdream.rep.v1.MemberWarning";
39
39
  value: MemberWarningAmino;
40
40
  }
41
41
  /**
42
42
  * MemberWarning defines the MemberWarning message.
43
43
  * @name MemberWarning
44
- * @package sparkdream.forum.v1
45
- * @see proto type: sparkdream.forum.v1.MemberWarning
44
+ * @package sparkdream.rep.v1
45
+ * @see proto type: sparkdream.rep.v1.MemberWarning
46
46
  */
47
47
  export declare const MemberWarning: {
48
48
  typeUrl: string;
@@ -17,11 +17,11 @@ function createBaseMemberWarning() {
17
17
  /**
18
18
  * MemberWarning defines the MemberWarning message.
19
19
  * @name MemberWarning
20
- * @package sparkdream.forum.v1
21
- * @see proto type: sparkdream.forum.v1.MemberWarning
20
+ * @package sparkdream.rep.v1
21
+ * @see proto type: sparkdream.rep.v1.MemberWarning
22
22
  */
23
23
  exports.MemberWarning = {
24
- typeUrl: "/sparkdream.forum.v1.MemberWarning",
24
+ typeUrl: "/sparkdream.rep.v1.MemberWarning",
25
25
  encode(message, writer = binary_1.BinaryWriter.create()) {
26
26
  if (message.id !== BigInt(0)) {
27
27
  writer.uint32(8).uint64(message.id);
@@ -152,7 +152,7 @@ exports.MemberWarning = {
152
152
  },
153
153
  toProtoMsg(message) {
154
154
  return {
155
- typeUrl: "/sparkdream.forum.v1.MemberWarning",
155
+ typeUrl: "/sparkdream.rep.v1.MemberWarning",
156
156
  value: exports.MemberWarning.encode(message).finish()
157
157
  };
158
158
  }
@@ -105,7 +105,6 @@ export interface Params {
105
105
  /**
106
106
  * DREAM economics
107
107
  */
108
- stakingApy: string;
109
108
  unstakedDecayRate: string;
110
109
  transferTaxRate: string;
111
110
  maxTipAmount: string;
@@ -180,7 +179,6 @@ export interface Params {
180
179
  /**
181
180
  * Extended staking
182
181
  */
183
- projectStakingApy: string;
184
182
  projectCompletionBonusRate: string;
185
183
  memberStakeRevenueShare: string;
186
184
  tagStakeRevenueShare: string;
@@ -244,6 +242,113 @@ export interface Params {
244
242
  * Max reputation any member can earn per tag per epoch (default 50)
245
243
  */
246
244
  maxReputationGainPerEpoch: string;
245
+ /**
246
+ * Seasonal staking reward pool
247
+ */
248
+ maxStakingRewardsPerSeason: string;
249
+ /**
250
+ * Per-epoch decay on staked DREAM (default 0.05% = 0.0005)
251
+ */
252
+ stakedDecayRate: string;
253
+ /**
254
+ * Epochs new members are exempt from decay (default 30 ~1 month)
255
+ */
256
+ newMemberDecayGraceEpochs: bigint;
257
+ /**
258
+ * Treasury management
259
+ */
260
+ maxTreasuryBalance: string;
261
+ /**
262
+ * Pay interims from treasury first, mint only if empty (default true)
263
+ */
264
+ treasuryFundsInterims: boolean;
265
+ /**
266
+ * Pay retro PGF from treasury first, mint remainder (default true)
267
+ */
268
+ treasuryFundsRetroPgf: boolean;
269
+ /**
270
+ * Anti-whale staking cap: max DREAM one member can stake on a single initiative (default 50,000 DREAM)
271
+ * Prevents reward pool extraction — conviction is already capped by max_conviction_share_per_member,
272
+ * but without this cap, a whale can stake disproportionately and extract most seasonal staking rewards.
273
+ */
274
+ maxInitiativeStakePerMember: string;
275
+ /**
276
+ * Per-season cap on total DREAM minted via initiative completion rewards (default 100,000 DREAM).
277
+ * Bounds total extraction even if colluding members rubber-stamp initiatives.
278
+ */
279
+ maxInitiativeRewardsPerSeason: string;
280
+ /**
281
+ * Projects with approved budget above this threshold require council proposal approval
282
+ * instead of single Operations Committee member approval (default 10,000 DREAM).
283
+ */
284
+ largeProjectBudgetThreshold: string;
285
+ /**
286
+ * Permissionless creation fees (burned on creation — anti-spam + deflationary)
287
+ */
288
+ projectCreationFee: string;
289
+ /**
290
+ * DREAM burned for apprentice initiative under permissionless project (default 1 DREAM)
291
+ */
292
+ initiativeCreationFeeApprentice: string;
293
+ /**
294
+ * DREAM burned for standard initiative under permissionless project (default 3 DREAM)
295
+ */
296
+ initiativeCreationFeeStandard: string;
297
+ /**
298
+ * Permissionless access control (governance-only — not in RepOperationalParams)
299
+ */
300
+ permissionlessMinTrustLevel: number;
301
+ /**
302
+ * Highest initiative tier allowed in permissionless projects (default 1 = STANDARD)
303
+ */
304
+ permissionlessMaxTier: number;
305
+ /**
306
+ * DREAM burned when creating a member-registered tag (default 100 micro-DREAM)
307
+ */
308
+ tagCreationFee: string;
309
+ /**
310
+ * Sentinel SPARK reward pool (x/rep holds SPARK fed by spam taxes;
311
+ * drained each epoch to sentinels according to accuracy/activity gates).
312
+ */
313
+ maxSentinelRewardPool: string;
314
+ /**
315
+ * Fraction of overflow burned per epoch (default 0.5).
316
+ */
317
+ sentinelRewardPoolOverflowBurnRatio: string;
318
+ /**
319
+ * Cadence of sentinel reward distribution (default 14400 ~= 1 day).
320
+ */
321
+ sentinelRewardEpochBlocks: bigint;
322
+ /**
323
+ * Minimum accuracy to qualify for a reward (default 0.70).
324
+ */
325
+ minSentinelAccuracy: string;
326
+ /**
327
+ * Minimum appeal sample size before accuracy is meaningful (default 10).
328
+ */
329
+ minAppealsForAccuracy: bigint;
330
+ /**
331
+ * Minimum moderation actions in an epoch to qualify for a reward (default 1).
332
+ */
333
+ minEpochActivityForReward: bigint;
334
+ /**
335
+ * Minimum appeal rate (appeals / actions) to qualify for a reward (default 0.05).
336
+ */
337
+ minAppealRate: string;
338
+ /**
339
+ * Per-member active work caps (anti-monopolization). 0 = unbounded.
340
+ */
341
+ maxActiveInitiativesPerMember: number;
342
+ /**
343
+ * Max in-flight interims (PENDING/IN_PROGRESS) where the member is an assignee (default 10)
344
+ */
345
+ maxActiveInterimsPerMember: number;
346
+ /**
347
+ * Global per-epoch ceiling on DREAM minted across every path (initiative rewards,
348
+ * referral rewards, interim compensation, retro PGF, jury rewards, etc.). Counter
349
+ * resets at the first MintDREAM of each new epoch. 0 = unbounded.
350
+ */
351
+ maxDreamMintPerEpoch: string;
247
352
  }
248
353
  export interface ParamsProtoMsg {
249
354
  typeUrl: "/sparkdream.rep.v1.Params";
@@ -264,7 +369,6 @@ export interface ParamsAmino {
264
369
  /**
265
370
  * DREAM economics
266
371
  */
267
- staking_apy?: string;
268
372
  unstaked_decay_rate?: string;
269
373
  transfer_tax_rate?: string;
270
374
  max_tip_amount?: string;
@@ -339,7 +443,6 @@ export interface ParamsAmino {
339
443
  /**
340
444
  * Extended staking
341
445
  */
342
- project_staking_apy?: string;
343
446
  project_completion_bonus_rate?: string;
344
447
  member_stake_revenue_share?: string;
345
448
  tag_stake_revenue_share?: string;
@@ -403,6 +506,113 @@ export interface ParamsAmino {
403
506
  * Max reputation any member can earn per tag per epoch (default 50)
404
507
  */
405
508
  max_reputation_gain_per_epoch?: string;
509
+ /**
510
+ * Seasonal staking reward pool
511
+ */
512
+ max_staking_rewards_per_season?: string;
513
+ /**
514
+ * Per-epoch decay on staked DREAM (default 0.05% = 0.0005)
515
+ */
516
+ staked_decay_rate?: string;
517
+ /**
518
+ * Epochs new members are exempt from decay (default 30 ~1 month)
519
+ */
520
+ new_member_decay_grace_epochs?: string;
521
+ /**
522
+ * Treasury management
523
+ */
524
+ max_treasury_balance?: string;
525
+ /**
526
+ * Pay interims from treasury first, mint only if empty (default true)
527
+ */
528
+ treasury_funds_interims?: boolean;
529
+ /**
530
+ * Pay retro PGF from treasury first, mint remainder (default true)
531
+ */
532
+ treasury_funds_retro_pgf?: boolean;
533
+ /**
534
+ * Anti-whale staking cap: max DREAM one member can stake on a single initiative (default 50,000 DREAM)
535
+ * Prevents reward pool extraction — conviction is already capped by max_conviction_share_per_member,
536
+ * but without this cap, a whale can stake disproportionately and extract most seasonal staking rewards.
537
+ */
538
+ max_initiative_stake_per_member?: string;
539
+ /**
540
+ * Per-season cap on total DREAM minted via initiative completion rewards (default 100,000 DREAM).
541
+ * Bounds total extraction even if colluding members rubber-stamp initiatives.
542
+ */
543
+ max_initiative_rewards_per_season?: string;
544
+ /**
545
+ * Projects with approved budget above this threshold require council proposal approval
546
+ * instead of single Operations Committee member approval (default 10,000 DREAM).
547
+ */
548
+ large_project_budget_threshold?: string;
549
+ /**
550
+ * Permissionless creation fees (burned on creation — anti-spam + deflationary)
551
+ */
552
+ project_creation_fee?: string;
553
+ /**
554
+ * DREAM burned for apprentice initiative under permissionless project (default 1 DREAM)
555
+ */
556
+ initiative_creation_fee_apprentice?: string;
557
+ /**
558
+ * DREAM burned for standard initiative under permissionless project (default 3 DREAM)
559
+ */
560
+ initiative_creation_fee_standard?: string;
561
+ /**
562
+ * Permissionless access control (governance-only — not in RepOperationalParams)
563
+ */
564
+ permissionless_min_trust_level?: number;
565
+ /**
566
+ * Highest initiative tier allowed in permissionless projects (default 1 = STANDARD)
567
+ */
568
+ permissionless_max_tier?: number;
569
+ /**
570
+ * DREAM burned when creating a member-registered tag (default 100 micro-DREAM)
571
+ */
572
+ tag_creation_fee?: string;
573
+ /**
574
+ * Sentinel SPARK reward pool (x/rep holds SPARK fed by spam taxes;
575
+ * drained each epoch to sentinels according to accuracy/activity gates).
576
+ */
577
+ max_sentinel_reward_pool?: string;
578
+ /**
579
+ * Fraction of overflow burned per epoch (default 0.5).
580
+ */
581
+ sentinel_reward_pool_overflow_burn_ratio?: string;
582
+ /**
583
+ * Cadence of sentinel reward distribution (default 14400 ~= 1 day).
584
+ */
585
+ sentinel_reward_epoch_blocks?: string;
586
+ /**
587
+ * Minimum accuracy to qualify for a reward (default 0.70).
588
+ */
589
+ min_sentinel_accuracy?: string;
590
+ /**
591
+ * Minimum appeal sample size before accuracy is meaningful (default 10).
592
+ */
593
+ min_appeals_for_accuracy?: string;
594
+ /**
595
+ * Minimum moderation actions in an epoch to qualify for a reward (default 1).
596
+ */
597
+ min_epoch_activity_for_reward?: string;
598
+ /**
599
+ * Minimum appeal rate (appeals / actions) to qualify for a reward (default 0.05).
600
+ */
601
+ min_appeal_rate?: string;
602
+ /**
603
+ * Per-member active work caps (anti-monopolization). 0 = unbounded.
604
+ */
605
+ max_active_initiatives_per_member?: number;
606
+ /**
607
+ * Max in-flight interims (PENDING/IN_PROGRESS) where the member is an assignee (default 10)
608
+ */
609
+ max_active_interims_per_member?: number;
610
+ /**
611
+ * Global per-epoch ceiling on DREAM minted across every path (initiative rewards,
612
+ * referral rewards, interim compensation, retro PGF, jury rewards, etc.). Counter
613
+ * resets at the first MintDREAM of each new epoch. 0 = unbounded.
614
+ */
615
+ max_dream_mint_per_epoch?: string;
406
616
  }
407
617
  export interface ParamsAminoMsg {
408
618
  type: "sparkdream/x/rep/Params";
@@ -425,7 +635,6 @@ export interface RepOperationalParams {
425
635
  /**
426
636
  * DREAM economics
427
637
  */
428
- stakingApy: string;
429
638
  unstakedDecayRate: string;
430
639
  transferTaxRate: string;
431
640
  maxTipAmount: string;
@@ -474,7 +683,6 @@ export interface RepOperationalParams {
474
683
  /**
475
684
  * Extended staking
476
685
  */
477
- projectStakingApy: string;
478
686
  projectCompletionBonusRate: string;
479
687
  memberStakeRevenueShare: string;
480
688
  tagStakeRevenueShare: string;
@@ -524,6 +732,75 @@ export interface RepOperationalParams {
524
732
  * Max reputation any member can earn per tag per epoch (default 50)
525
733
  */
526
734
  maxReputationGainPerEpoch: string;
735
+ /**
736
+ * Seasonal staking reward pool
737
+ */
738
+ maxStakingRewardsPerSeason: string;
739
+ stakedDecayRate: string;
740
+ newMemberDecayGraceEpochs: bigint;
741
+ /**
742
+ * Treasury management
743
+ */
744
+ maxTreasuryBalance: string;
745
+ treasuryFundsInterims: boolean;
746
+ treasuryFundsRetroPgf: boolean;
747
+ /**
748
+ * Anti-whale staking cap (mirrors Params.max_initiative_stake_per_member)
749
+ */
750
+ maxInitiativeStakePerMember: string;
751
+ /**
752
+ * Per-season initiative reward minting cap (mirrors Params.max_initiative_rewards_per_season)
753
+ */
754
+ maxInitiativeRewardsPerSeason: string;
755
+ /**
756
+ * Large project budget threshold for council approval (mirrors Params.large_project_budget_threshold)
757
+ */
758
+ largeProjectBudgetThreshold: string;
759
+ /**
760
+ * Permissionless creation fees (council-tunable)
761
+ */
762
+ projectCreationFee: string;
763
+ initiativeCreationFeeApprentice: string;
764
+ initiativeCreationFeeStandard: string;
765
+ tagCreationFee: string;
766
+ /**
767
+ * Sentinel SPARK reward pool (x/rep holds SPARK fed by spam taxes;
768
+ * drained each epoch to sentinels according to accuracy/activity gates).
769
+ */
770
+ maxSentinelRewardPool: string;
771
+ /**
772
+ * Fraction of overflow burned per epoch (default 0.5).
773
+ */
774
+ sentinelRewardPoolOverflowBurnRatio: string;
775
+ /**
776
+ * Cadence of sentinel reward distribution (default 14400 ~= 1 day).
777
+ */
778
+ sentinelRewardEpochBlocks: bigint;
779
+ /**
780
+ * Minimum accuracy to qualify for a reward (default 0.70).
781
+ */
782
+ minSentinelAccuracy: string;
783
+ /**
784
+ * Minimum appeal sample size before accuracy is meaningful (default 10).
785
+ */
786
+ minAppealsForAccuracy: bigint;
787
+ /**
788
+ * Minimum moderation actions in an epoch to qualify for a reward (default 1).
789
+ */
790
+ minEpochActivityForReward: bigint;
791
+ /**
792
+ * Minimum appeal rate (appeals / actions) to qualify for a reward (default 0.05).
793
+ */
794
+ minAppealRate: string;
795
+ /**
796
+ * Per-member active work caps (mirrors Params.max_active_{initiatives,interims}_per_member). 0 = unbounded.
797
+ */
798
+ maxActiveInitiativesPerMember: number;
799
+ maxActiveInterimsPerMember: number;
800
+ /**
801
+ * Global per-epoch DREAM minting cap (mirrors Params.max_dream_mint_per_epoch). 0 = unbounded.
802
+ */
803
+ maxDreamMintPerEpoch: string;
527
804
  }
528
805
  export interface RepOperationalParamsProtoMsg {
529
806
  typeUrl: "/sparkdream.rep.v1.RepOperationalParams";
@@ -546,7 +823,6 @@ export interface RepOperationalParamsAmino {
546
823
  /**
547
824
  * DREAM economics
548
825
  */
549
- staking_apy?: string;
550
826
  unstaked_decay_rate?: string;
551
827
  transfer_tax_rate?: string;
552
828
  max_tip_amount?: string;
@@ -595,7 +871,6 @@ export interface RepOperationalParamsAmino {
595
871
  /**
596
872
  * Extended staking
597
873
  */
598
- project_staking_apy?: string;
599
874
  project_completion_bonus_rate?: string;
600
875
  member_stake_revenue_share?: string;
601
876
  tag_stake_revenue_share?: string;
@@ -645,6 +920,75 @@ export interface RepOperationalParamsAmino {
645
920
  * Max reputation any member can earn per tag per epoch (default 50)
646
921
  */
647
922
  max_reputation_gain_per_epoch?: string;
923
+ /**
924
+ * Seasonal staking reward pool
925
+ */
926
+ max_staking_rewards_per_season?: string;
927
+ staked_decay_rate?: string;
928
+ new_member_decay_grace_epochs?: string;
929
+ /**
930
+ * Treasury management
931
+ */
932
+ max_treasury_balance?: string;
933
+ treasury_funds_interims?: boolean;
934
+ treasury_funds_retro_pgf?: boolean;
935
+ /**
936
+ * Anti-whale staking cap (mirrors Params.max_initiative_stake_per_member)
937
+ */
938
+ max_initiative_stake_per_member?: string;
939
+ /**
940
+ * Per-season initiative reward minting cap (mirrors Params.max_initiative_rewards_per_season)
941
+ */
942
+ max_initiative_rewards_per_season?: string;
943
+ /**
944
+ * Large project budget threshold for council approval (mirrors Params.large_project_budget_threshold)
945
+ */
946
+ large_project_budget_threshold?: string;
947
+ /**
948
+ * Permissionless creation fees (council-tunable)
949
+ */
950
+ project_creation_fee?: string;
951
+ initiative_creation_fee_apprentice?: string;
952
+ initiative_creation_fee_standard?: string;
953
+ tag_creation_fee?: string;
954
+ /**
955
+ * Sentinel SPARK reward pool (x/rep holds SPARK fed by spam taxes;
956
+ * drained each epoch to sentinels according to accuracy/activity gates).
957
+ */
958
+ max_sentinel_reward_pool?: string;
959
+ /**
960
+ * Fraction of overflow burned per epoch (default 0.5).
961
+ */
962
+ sentinel_reward_pool_overflow_burn_ratio?: string;
963
+ /**
964
+ * Cadence of sentinel reward distribution (default 14400 ~= 1 day).
965
+ */
966
+ sentinel_reward_epoch_blocks?: string;
967
+ /**
968
+ * Minimum accuracy to qualify for a reward (default 0.70).
969
+ */
970
+ min_sentinel_accuracy?: string;
971
+ /**
972
+ * Minimum appeal sample size before accuracy is meaningful (default 10).
973
+ */
974
+ min_appeals_for_accuracy?: string;
975
+ /**
976
+ * Minimum moderation actions in an epoch to qualify for a reward (default 1).
977
+ */
978
+ min_epoch_activity_for_reward?: string;
979
+ /**
980
+ * Minimum appeal rate (appeals / actions) to qualify for a reward (default 0.05).
981
+ */
982
+ min_appeal_rate?: string;
983
+ /**
984
+ * Per-member active work caps (mirrors Params.max_active_{initiatives,interims}_per_member). 0 = unbounded.
985
+ */
986
+ max_active_initiatives_per_member?: number;
987
+ max_active_interims_per_member?: number;
988
+ /**
989
+ * Global per-epoch DREAM minting cap (mirrors Params.max_dream_mint_per_epoch). 0 = unbounded.
990
+ */
991
+ max_dream_mint_per_epoch?: string;
648
992
  }
649
993
  export interface RepOperationalParamsAminoMsg {
650
994
  type: "sparkdream/x/rep/RepOperationalParams";