@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,3 +1,4 @@
1
+ //@ts-nocheck
1
2
  import { BinaryReader, BinaryWriter } from "../../../binary";
2
3
  function createBaseSentinelActivity() {
3
4
  return {
@@ -8,16 +9,10 @@ function createBaseSentinelActivity() {
8
9
  unchallengedHides: BigInt(0),
9
10
  epochHides: BigInt(0),
10
11
  epochAppealsResolved: BigInt(0),
11
- lastRewardEpoch: BigInt(0),
12
- cumulativeRewards: "",
13
12
  overturnCooldownUntil: BigInt(0),
14
13
  consecutiveOverturns: BigInt(0),
15
- bondStatus: 0,
16
- currentBond: "",
17
- totalCommittedBond: "",
18
14
  pendingHideCount: BigInt(0),
19
15
  consecutiveUpheld: BigInt(0),
20
- demotionCooldownUntil: BigInt(0),
21
16
  epochAppealsFiled: BigInt(0),
22
17
  totalLocks: BigInt(0),
23
18
  upheldLocks: BigInt(0),
@@ -34,13 +29,13 @@ function createBaseSentinelActivity() {
34
29
  totalProposals: BigInt(0),
35
30
  confirmedProposals: BigInt(0),
36
31
  rejectedProposals: BigInt(0),
37
- epochCurations: BigInt(0),
38
- lastActiveEpoch: BigInt(0),
39
- consecutiveInactiveEpochs: BigInt(0)
32
+ epochCurations: BigInt(0)
40
33
  };
41
34
  }
42
35
  /**
43
- * SentinelActivity defines the SentinelActivity message.
36
+ * SentinelActivity holds forum-specific action counters and local cooldowns
37
+ * for a sentinel. The accountability record (bond, bond status, activity
38
+ * stamps) lives in sparkdream.rep.v1.SentinelActivity.
44
39
  * @name SentinelActivity
45
40
  * @package sparkdream.forum.v1
46
41
  * @see proto type: sparkdream.forum.v1.SentinelActivity
@@ -69,92 +64,68 @@ export const SentinelActivity = {
69
64
  if (message.epochAppealsResolved !== BigInt(0)) {
70
65
  writer.uint32(56).uint64(message.epochAppealsResolved);
71
66
  }
72
- if (message.lastRewardEpoch !== BigInt(0)) {
73
- writer.uint32(64).int64(message.lastRewardEpoch);
74
- }
75
- if (message.cumulativeRewards !== "") {
76
- writer.uint32(74).string(message.cumulativeRewards);
77
- }
78
67
  if (message.overturnCooldownUntil !== BigInt(0)) {
79
- writer.uint32(80).int64(message.overturnCooldownUntil);
68
+ writer.uint32(64).int64(message.overturnCooldownUntil);
80
69
  }
81
70
  if (message.consecutiveOverturns !== BigInt(0)) {
82
- writer.uint32(88).uint64(message.consecutiveOverturns);
83
- }
84
- if (message.bondStatus !== 0) {
85
- writer.uint32(96).int32(message.bondStatus);
86
- }
87
- if (message.currentBond !== "") {
88
- writer.uint32(106).string(message.currentBond);
89
- }
90
- if (message.totalCommittedBond !== "") {
91
- writer.uint32(114).string(message.totalCommittedBond);
71
+ writer.uint32(72).uint64(message.consecutiveOverturns);
92
72
  }
93
73
  if (message.pendingHideCount !== BigInt(0)) {
94
- writer.uint32(120).uint64(message.pendingHideCount);
74
+ writer.uint32(80).uint64(message.pendingHideCount);
95
75
  }
96
76
  if (message.consecutiveUpheld !== BigInt(0)) {
97
- writer.uint32(128).uint64(message.consecutiveUpheld);
98
- }
99
- if (message.demotionCooldownUntil !== BigInt(0)) {
100
- writer.uint32(136).int64(message.demotionCooldownUntil);
77
+ writer.uint32(88).uint64(message.consecutiveUpheld);
101
78
  }
102
79
  if (message.epochAppealsFiled !== BigInt(0)) {
103
- writer.uint32(144).uint64(message.epochAppealsFiled);
80
+ writer.uint32(96).uint64(message.epochAppealsFiled);
104
81
  }
105
82
  if (message.totalLocks !== BigInt(0)) {
106
- writer.uint32(152).uint64(message.totalLocks);
83
+ writer.uint32(104).uint64(message.totalLocks);
107
84
  }
108
85
  if (message.upheldLocks !== BigInt(0)) {
109
- writer.uint32(160).uint64(message.upheldLocks);
86
+ writer.uint32(112).uint64(message.upheldLocks);
110
87
  }
111
88
  if (message.overturnedLocks !== BigInt(0)) {
112
- writer.uint32(168).uint64(message.overturnedLocks);
89
+ writer.uint32(120).uint64(message.overturnedLocks);
113
90
  }
114
91
  if (message.epochLocks !== BigInt(0)) {
115
- writer.uint32(176).uint64(message.epochLocks);
92
+ writer.uint32(128).uint64(message.epochLocks);
116
93
  }
117
94
  if (message.totalMoves !== BigInt(0)) {
118
- writer.uint32(184).uint64(message.totalMoves);
95
+ writer.uint32(136).uint64(message.totalMoves);
119
96
  }
120
97
  if (message.upheldMoves !== BigInt(0)) {
121
- writer.uint32(192).uint64(message.upheldMoves);
98
+ writer.uint32(144).uint64(message.upheldMoves);
122
99
  }
123
100
  if (message.overturnedMoves !== BigInt(0)) {
124
- writer.uint32(200).uint64(message.overturnedMoves);
101
+ writer.uint32(152).uint64(message.overturnedMoves);
125
102
  }
126
103
  if (message.epochMoves !== BigInt(0)) {
127
- writer.uint32(208).uint64(message.epochMoves);
104
+ writer.uint32(160).uint64(message.epochMoves);
128
105
  }
129
106
  if (message.totalPins !== BigInt(0)) {
130
- writer.uint32(216).uint64(message.totalPins);
107
+ writer.uint32(168).uint64(message.totalPins);
131
108
  }
132
109
  if (message.upheldPins !== BigInt(0)) {
133
- writer.uint32(224).uint64(message.upheldPins);
110
+ writer.uint32(176).uint64(message.upheldPins);
134
111
  }
135
112
  if (message.overturnedPins !== BigInt(0)) {
136
- writer.uint32(232).uint64(message.overturnedPins);
113
+ writer.uint32(184).uint64(message.overturnedPins);
137
114
  }
138
115
  if (message.epochPins !== BigInt(0)) {
139
- writer.uint32(240).uint64(message.epochPins);
116
+ writer.uint32(192).uint64(message.epochPins);
140
117
  }
141
118
  if (message.totalProposals !== BigInt(0)) {
142
- writer.uint32(248).uint64(message.totalProposals);
119
+ writer.uint32(200).uint64(message.totalProposals);
143
120
  }
144
121
  if (message.confirmedProposals !== BigInt(0)) {
145
- writer.uint32(256).uint64(message.confirmedProposals);
122
+ writer.uint32(208).uint64(message.confirmedProposals);
146
123
  }
147
124
  if (message.rejectedProposals !== BigInt(0)) {
148
- writer.uint32(264).uint64(message.rejectedProposals);
125
+ writer.uint32(216).uint64(message.rejectedProposals);
149
126
  }
150
127
  if (message.epochCurations !== BigInt(0)) {
151
- writer.uint32(272).uint64(message.epochCurations);
152
- }
153
- if (message.lastActiveEpoch !== BigInt(0)) {
154
- writer.uint32(280).int64(message.lastActiveEpoch);
155
- }
156
- if (message.consecutiveInactiveEpochs !== BigInt(0)) {
157
- writer.uint32(288).uint64(message.consecutiveInactiveEpochs);
128
+ writer.uint32(224).uint64(message.epochCurations);
158
129
  }
159
130
  return writer;
160
131
  },
@@ -187,92 +158,68 @@ export const SentinelActivity = {
187
158
  message.epochAppealsResolved = reader.uint64();
188
159
  break;
189
160
  case 8:
190
- message.lastRewardEpoch = reader.int64();
191
- break;
192
- case 9:
193
- message.cumulativeRewards = reader.string();
194
- break;
195
- case 10:
196
161
  message.overturnCooldownUntil = reader.int64();
197
162
  break;
198
- case 11:
163
+ case 9:
199
164
  message.consecutiveOverturns = reader.uint64();
200
165
  break;
201
- case 12:
202
- message.bondStatus = reader.int32();
203
- break;
204
- case 13:
205
- message.currentBond = reader.string();
206
- break;
207
- case 14:
208
- message.totalCommittedBond = reader.string();
209
- break;
210
- case 15:
166
+ case 10:
211
167
  message.pendingHideCount = reader.uint64();
212
168
  break;
213
- case 16:
169
+ case 11:
214
170
  message.consecutiveUpheld = reader.uint64();
215
171
  break;
216
- case 17:
217
- message.demotionCooldownUntil = reader.int64();
218
- break;
219
- case 18:
172
+ case 12:
220
173
  message.epochAppealsFiled = reader.uint64();
221
174
  break;
222
- case 19:
175
+ case 13:
223
176
  message.totalLocks = reader.uint64();
224
177
  break;
225
- case 20:
178
+ case 14:
226
179
  message.upheldLocks = reader.uint64();
227
180
  break;
228
- case 21:
181
+ case 15:
229
182
  message.overturnedLocks = reader.uint64();
230
183
  break;
231
- case 22:
184
+ case 16:
232
185
  message.epochLocks = reader.uint64();
233
186
  break;
234
- case 23:
187
+ case 17:
235
188
  message.totalMoves = reader.uint64();
236
189
  break;
237
- case 24:
190
+ case 18:
238
191
  message.upheldMoves = reader.uint64();
239
192
  break;
240
- case 25:
193
+ case 19:
241
194
  message.overturnedMoves = reader.uint64();
242
195
  break;
243
- case 26:
196
+ case 20:
244
197
  message.epochMoves = reader.uint64();
245
198
  break;
246
- case 27:
199
+ case 21:
247
200
  message.totalPins = reader.uint64();
248
201
  break;
249
- case 28:
202
+ case 22:
250
203
  message.upheldPins = reader.uint64();
251
204
  break;
252
- case 29:
205
+ case 23:
253
206
  message.overturnedPins = reader.uint64();
254
207
  break;
255
- case 30:
208
+ case 24:
256
209
  message.epochPins = reader.uint64();
257
210
  break;
258
- case 31:
211
+ case 25:
259
212
  message.totalProposals = reader.uint64();
260
213
  break;
261
- case 32:
214
+ case 26:
262
215
  message.confirmedProposals = reader.uint64();
263
216
  break;
264
- case 33:
217
+ case 27:
265
218
  message.rejectedProposals = reader.uint64();
266
219
  break;
267
- case 34:
220
+ case 28:
268
221
  message.epochCurations = reader.uint64();
269
222
  break;
270
- case 35:
271
- message.lastActiveEpoch = reader.int64();
272
- break;
273
- case 36:
274
- message.consecutiveInactiveEpochs = reader.uint64();
275
- break;
276
223
  default:
277
224
  reader.skipType(tag & 7);
278
225
  break;
@@ -289,16 +236,10 @@ export const SentinelActivity = {
289
236
  message.unchallengedHides = object.unchallengedHides !== undefined && object.unchallengedHides !== null ? BigInt(object.unchallengedHides.toString()) : BigInt(0);
290
237
  message.epochHides = object.epochHides !== undefined && object.epochHides !== null ? BigInt(object.epochHides.toString()) : BigInt(0);
291
238
  message.epochAppealsResolved = object.epochAppealsResolved !== undefined && object.epochAppealsResolved !== null ? BigInt(object.epochAppealsResolved.toString()) : BigInt(0);
292
- message.lastRewardEpoch = object.lastRewardEpoch !== undefined && object.lastRewardEpoch !== null ? BigInt(object.lastRewardEpoch.toString()) : BigInt(0);
293
- message.cumulativeRewards = object.cumulativeRewards ?? "";
294
239
  message.overturnCooldownUntil = object.overturnCooldownUntil !== undefined && object.overturnCooldownUntil !== null ? BigInt(object.overturnCooldownUntil.toString()) : BigInt(0);
295
240
  message.consecutiveOverturns = object.consecutiveOverturns !== undefined && object.consecutiveOverturns !== null ? BigInt(object.consecutiveOverturns.toString()) : BigInt(0);
296
- message.bondStatus = object.bondStatus ?? 0;
297
- message.currentBond = object.currentBond ?? "";
298
- message.totalCommittedBond = object.totalCommittedBond ?? "";
299
241
  message.pendingHideCount = object.pendingHideCount !== undefined && object.pendingHideCount !== null ? BigInt(object.pendingHideCount.toString()) : BigInt(0);
300
242
  message.consecutiveUpheld = object.consecutiveUpheld !== undefined && object.consecutiveUpheld !== null ? BigInt(object.consecutiveUpheld.toString()) : BigInt(0);
301
- message.demotionCooldownUntil = object.demotionCooldownUntil !== undefined && object.demotionCooldownUntil !== null ? BigInt(object.demotionCooldownUntil.toString()) : BigInt(0);
302
243
  message.epochAppealsFiled = object.epochAppealsFiled !== undefined && object.epochAppealsFiled !== null ? BigInt(object.epochAppealsFiled.toString()) : BigInt(0);
303
244
  message.totalLocks = object.totalLocks !== undefined && object.totalLocks !== null ? BigInt(object.totalLocks.toString()) : BigInt(0);
304
245
  message.upheldLocks = object.upheldLocks !== undefined && object.upheldLocks !== null ? BigInt(object.upheldLocks.toString()) : BigInt(0);
@@ -316,8 +257,6 @@ export const SentinelActivity = {
316
257
  message.confirmedProposals = object.confirmedProposals !== undefined && object.confirmedProposals !== null ? BigInt(object.confirmedProposals.toString()) : BigInt(0);
317
258
  message.rejectedProposals = object.rejectedProposals !== undefined && object.rejectedProposals !== null ? BigInt(object.rejectedProposals.toString()) : BigInt(0);
318
259
  message.epochCurations = object.epochCurations !== undefined && object.epochCurations !== null ? BigInt(object.epochCurations.toString()) : BigInt(0);
319
- message.lastActiveEpoch = object.lastActiveEpoch !== undefined && object.lastActiveEpoch !== null ? BigInt(object.lastActiveEpoch.toString()) : BigInt(0);
320
- message.consecutiveInactiveEpochs = object.consecutiveInactiveEpochs !== undefined && object.consecutiveInactiveEpochs !== null ? BigInt(object.consecutiveInactiveEpochs.toString()) : BigInt(0);
321
260
  return message;
322
261
  },
323
262
  fromAmino(object) {
@@ -343,36 +282,18 @@ export const SentinelActivity = {
343
282
  if (object.epoch_appeals_resolved !== undefined && object.epoch_appeals_resolved !== null) {
344
283
  message.epochAppealsResolved = BigInt(object.epoch_appeals_resolved);
345
284
  }
346
- if (object.last_reward_epoch !== undefined && object.last_reward_epoch !== null) {
347
- message.lastRewardEpoch = BigInt(object.last_reward_epoch);
348
- }
349
- if (object.cumulative_rewards !== undefined && object.cumulative_rewards !== null) {
350
- message.cumulativeRewards = object.cumulative_rewards;
351
- }
352
285
  if (object.overturn_cooldown_until !== undefined && object.overturn_cooldown_until !== null) {
353
286
  message.overturnCooldownUntil = BigInt(object.overturn_cooldown_until);
354
287
  }
355
288
  if (object.consecutive_overturns !== undefined && object.consecutive_overturns !== null) {
356
289
  message.consecutiveOverturns = BigInt(object.consecutive_overturns);
357
290
  }
358
- if (object.bond_status !== undefined && object.bond_status !== null) {
359
- message.bondStatus = object.bond_status;
360
- }
361
- if (object.current_bond !== undefined && object.current_bond !== null) {
362
- message.currentBond = object.current_bond;
363
- }
364
- if (object.total_committed_bond !== undefined && object.total_committed_bond !== null) {
365
- message.totalCommittedBond = object.total_committed_bond;
366
- }
367
291
  if (object.pending_hide_count !== undefined && object.pending_hide_count !== null) {
368
292
  message.pendingHideCount = BigInt(object.pending_hide_count);
369
293
  }
370
294
  if (object.consecutive_upheld !== undefined && object.consecutive_upheld !== null) {
371
295
  message.consecutiveUpheld = BigInt(object.consecutive_upheld);
372
296
  }
373
- if (object.demotion_cooldown_until !== undefined && object.demotion_cooldown_until !== null) {
374
- message.demotionCooldownUntil = BigInt(object.demotion_cooldown_until);
375
- }
376
297
  if (object.epoch_appeals_filed !== undefined && object.epoch_appeals_filed !== null) {
377
298
  message.epochAppealsFiled = BigInt(object.epoch_appeals_filed);
378
299
  }
@@ -424,12 +345,6 @@ export const SentinelActivity = {
424
345
  if (object.epoch_curations !== undefined && object.epoch_curations !== null) {
425
346
  message.epochCurations = BigInt(object.epoch_curations);
426
347
  }
427
- if (object.last_active_epoch !== undefined && object.last_active_epoch !== null) {
428
- message.lastActiveEpoch = BigInt(object.last_active_epoch);
429
- }
430
- if (object.consecutive_inactive_epochs !== undefined && object.consecutive_inactive_epochs !== null) {
431
- message.consecutiveInactiveEpochs = BigInt(object.consecutive_inactive_epochs);
432
- }
433
348
  return message;
434
349
  },
435
350
  toAmino(message) {
@@ -441,16 +356,10 @@ export const SentinelActivity = {
441
356
  obj.unchallenged_hides = message.unchallengedHides !== BigInt(0) ? message.unchallengedHides?.toString() : undefined;
442
357
  obj.epoch_hides = message.epochHides !== BigInt(0) ? message.epochHides?.toString() : undefined;
443
358
  obj.epoch_appeals_resolved = message.epochAppealsResolved !== BigInt(0) ? message.epochAppealsResolved?.toString() : undefined;
444
- obj.last_reward_epoch = message.lastRewardEpoch !== BigInt(0) ? message.lastRewardEpoch?.toString() : undefined;
445
- obj.cumulative_rewards = message.cumulativeRewards === "" ? undefined : message.cumulativeRewards;
446
359
  obj.overturn_cooldown_until = message.overturnCooldownUntil !== BigInt(0) ? message.overturnCooldownUntil?.toString() : undefined;
447
360
  obj.consecutive_overturns = message.consecutiveOverturns !== BigInt(0) ? message.consecutiveOverturns?.toString() : undefined;
448
- obj.bond_status = message.bondStatus === 0 ? undefined : message.bondStatus;
449
- obj.current_bond = message.currentBond === "" ? undefined : message.currentBond;
450
- obj.total_committed_bond = message.totalCommittedBond === "" ? undefined : message.totalCommittedBond;
451
361
  obj.pending_hide_count = message.pendingHideCount !== BigInt(0) ? message.pendingHideCount?.toString() : undefined;
452
362
  obj.consecutive_upheld = message.consecutiveUpheld !== BigInt(0) ? message.consecutiveUpheld?.toString() : undefined;
453
- obj.demotion_cooldown_until = message.demotionCooldownUntil !== BigInt(0) ? message.demotionCooldownUntil?.toString() : undefined;
454
363
  obj.epoch_appeals_filed = message.epochAppealsFiled !== BigInt(0) ? message.epochAppealsFiled?.toString() : undefined;
455
364
  obj.total_locks = message.totalLocks !== BigInt(0) ? message.totalLocks?.toString() : undefined;
456
365
  obj.upheld_locks = message.upheldLocks !== BigInt(0) ? message.upheldLocks?.toString() : undefined;
@@ -468,8 +377,6 @@ export const SentinelActivity = {
468
377
  obj.confirmed_proposals = message.confirmedProposals !== BigInt(0) ? message.confirmedProposals?.toString() : undefined;
469
378
  obj.rejected_proposals = message.rejectedProposals !== BigInt(0) ? message.rejectedProposals?.toString() : undefined;
470
379
  obj.epoch_curations = message.epochCurations !== BigInt(0) ? message.epochCurations?.toString() : undefined;
471
- obj.last_active_epoch = message.lastActiveEpoch !== BigInt(0) ? message.lastActiveEpoch?.toString() : undefined;
472
- obj.consecutive_inactive_epochs = message.consecutiveInactiveEpochs !== BigInt(0) ? message.consecutiveInactiveEpochs?.toString() : undefined;
473
380
  return obj;
474
381
  },
475
382
  fromAminoMsg(object) {
@@ -1,5 +1,5 @@
1
1
  //@ts-nocheck
2
- import { MsgUpdateParams, MsgUpdateOperationalParams, MsgCreateCategory, MsgCreatePost, MsgEditPost, MsgDeletePost, MsgFreezeThread, MsgUnarchiveThread, MsgPinPost, MsgUnpinPost, MsgLockThread, MsgUnlockThread, MsgMoveThread, MsgFollowThread, MsgUnfollowThread, MsgUpvotePost, MsgDownvotePost, MsgFlagPost, MsgDismissFlags, MsgHidePost, MsgAppealPost, MsgAppealThreadLock, MsgAppealThreadMove, MsgCreateBounty, MsgAwardBounty, MsgIncreaseBounty, MsgCancelBounty, MsgAssignBountyToReply, MsgCreateTagBudget, MsgAwardFromTagBudget, MsgTopUpTagBudget, MsgToggleTagBudget, MsgWithdrawTagBudget, MsgPinReply, MsgUnpinReply, MsgDisputePin, MsgMarkAcceptedReply, MsgConfirmProposedReply, MsgRejectProposedReply, MsgSetForumPaused, MsgSetModerationPaused, MsgReportTag, MsgResolveTagReport, MsgBondSentinel, MsgUnbondSentinel, MsgReportMember, MsgCosignMemberReport, MsgResolveMemberReport, MsgDefendMemberReport, MsgAppealGovAction } from "./tx";
2
+ import { MsgUpdateParams, MsgUpdateOperationalParams, MsgCreatePost, MsgEditPost, MsgDeletePost, MsgFreezeThread, MsgUnarchiveThread, MsgPinPost, MsgUnpinPost, MsgLockThread, MsgUnlockThread, MsgMoveThread, MsgFollowThread, MsgUnfollowThread, MsgUpvotePost, MsgDownvotePost, MsgFlagPost, MsgDismissFlags, MsgHidePost, MsgAppealPost, MsgAppealThreadLock, MsgAppealThreadMove, MsgCreateBounty, MsgAwardBounty, MsgIncreaseBounty, MsgCancelBounty, MsgAssignBountyToReply, MsgPinReply, MsgUnpinReply, MsgDisputePin, MsgMarkAcceptedReply, MsgConfirmProposedReply, MsgRejectProposedReply, MsgSetForumPaused, MsgSetModerationPaused } from "./tx";
3
3
  export const AminoConverter = {
4
4
  "/sparkdream.forum.v1.MsgUpdateParams": {
5
5
  aminoType: "sparkdream/x/forum/MsgUpdateParams",
@@ -11,11 +11,6 @@ export const AminoConverter = {
11
11
  toAmino: MsgUpdateOperationalParams.toAmino,
12
12
  fromAmino: MsgUpdateOperationalParams.fromAmino
13
13
  },
14
- "/sparkdream.forum.v1.MsgCreateCategory": {
15
- aminoType: "/sparkdream.forum.v1.MsgCreateCategory",
16
- toAmino: MsgCreateCategory.toAmino,
17
- fromAmino: MsgCreateCategory.fromAmino
18
- },
19
14
  "/sparkdream.forum.v1.MsgCreatePost": {
20
15
  aminoType: "/sparkdream.forum.v1.MsgCreatePost",
21
16
  toAmino: MsgCreatePost.toAmino,
@@ -141,31 +136,6 @@ export const AminoConverter = {
141
136
  toAmino: MsgAssignBountyToReply.toAmino,
142
137
  fromAmino: MsgAssignBountyToReply.fromAmino
143
138
  },
144
- "/sparkdream.forum.v1.MsgCreateTagBudget": {
145
- aminoType: "/sparkdream.forum.v1.MsgCreateTagBudget",
146
- toAmino: MsgCreateTagBudget.toAmino,
147
- fromAmino: MsgCreateTagBudget.fromAmino
148
- },
149
- "/sparkdream.forum.v1.MsgAwardFromTagBudget": {
150
- aminoType: "/sparkdream.forum.v1.MsgAwardFromTagBudget",
151
- toAmino: MsgAwardFromTagBudget.toAmino,
152
- fromAmino: MsgAwardFromTagBudget.fromAmino
153
- },
154
- "/sparkdream.forum.v1.MsgTopUpTagBudget": {
155
- aminoType: "/sparkdream.forum.v1.MsgTopUpTagBudget",
156
- toAmino: MsgTopUpTagBudget.toAmino,
157
- fromAmino: MsgTopUpTagBudget.fromAmino
158
- },
159
- "/sparkdream.forum.v1.MsgToggleTagBudget": {
160
- aminoType: "/sparkdream.forum.v1.MsgToggleTagBudget",
161
- toAmino: MsgToggleTagBudget.toAmino,
162
- fromAmino: MsgToggleTagBudget.fromAmino
163
- },
164
- "/sparkdream.forum.v1.MsgWithdrawTagBudget": {
165
- aminoType: "/sparkdream.forum.v1.MsgWithdrawTagBudget",
166
- toAmino: MsgWithdrawTagBudget.toAmino,
167
- fromAmino: MsgWithdrawTagBudget.fromAmino
168
- },
169
139
  "/sparkdream.forum.v1.MsgPinReply": {
170
140
  aminoType: "/sparkdream.forum.v1.MsgPinReply",
171
141
  toAmino: MsgPinReply.toAmino,
@@ -205,50 +175,5 @@ export const AminoConverter = {
205
175
  aminoType: "/sparkdream.forum.v1.MsgSetModerationPaused",
206
176
  toAmino: MsgSetModerationPaused.toAmino,
207
177
  fromAmino: MsgSetModerationPaused.fromAmino
208
- },
209
- "/sparkdream.forum.v1.MsgReportTag": {
210
- aminoType: "/sparkdream.forum.v1.MsgReportTag",
211
- toAmino: MsgReportTag.toAmino,
212
- fromAmino: MsgReportTag.fromAmino
213
- },
214
- "/sparkdream.forum.v1.MsgResolveTagReport": {
215
- aminoType: "/sparkdream.forum.v1.MsgResolveTagReport",
216
- toAmino: MsgResolveTagReport.toAmino,
217
- fromAmino: MsgResolveTagReport.fromAmino
218
- },
219
- "/sparkdream.forum.v1.MsgBondSentinel": {
220
- aminoType: "/sparkdream.forum.v1.MsgBondSentinel",
221
- toAmino: MsgBondSentinel.toAmino,
222
- fromAmino: MsgBondSentinel.fromAmino
223
- },
224
- "/sparkdream.forum.v1.MsgUnbondSentinel": {
225
- aminoType: "/sparkdream.forum.v1.MsgUnbondSentinel",
226
- toAmino: MsgUnbondSentinel.toAmino,
227
- fromAmino: MsgUnbondSentinel.fromAmino
228
- },
229
- "/sparkdream.forum.v1.MsgReportMember": {
230
- aminoType: "/sparkdream.forum.v1.MsgReportMember",
231
- toAmino: MsgReportMember.toAmino,
232
- fromAmino: MsgReportMember.fromAmino
233
- },
234
- "/sparkdream.forum.v1.MsgCosignMemberReport": {
235
- aminoType: "/sparkdream.forum.v1.MsgCosignMemberReport",
236
- toAmino: MsgCosignMemberReport.toAmino,
237
- fromAmino: MsgCosignMemberReport.fromAmino
238
- },
239
- "/sparkdream.forum.v1.MsgResolveMemberReport": {
240
- aminoType: "/sparkdream.forum.v1.MsgResolveMemberReport",
241
- toAmino: MsgResolveMemberReport.toAmino,
242
- fromAmino: MsgResolveMemberReport.fromAmino
243
- },
244
- "/sparkdream.forum.v1.MsgDefendMemberReport": {
245
- aminoType: "/sparkdream.forum.v1.MsgDefendMemberReport",
246
- toAmino: MsgDefendMemberReport.toAmino,
247
- fromAmino: MsgDefendMemberReport.fromAmino
248
- },
249
- "/sparkdream.forum.v1.MsgAppealGovAction": {
250
- aminoType: "/sparkdream.forum.v1.MsgAppealGovAction",
251
- toAmino: MsgAppealGovAction.toAmino,
252
- fromAmino: MsgAppealGovAction.fromAmino
253
178
  }
254
179
  };