@sparkdreamnft/sparkdreamjs 0.0.17 → 0.0.19

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 (275) 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 +106 -106
  5. package/esm/sparkdream/blog/v1/params.js +113 -52
  6. package/esm/sparkdream/blog/v1/tx.js +583 -2
  7. package/esm/sparkdream/blog/v1/tx.registry.js +74 -2
  8. package/esm/sparkdream/blog/v1/tx.rpc.msg.js +33 -3
  9. package/esm/sparkdream/bundle.js +448 -346
  10. package/esm/sparkdream/client.js +7 -1
  11. package/esm/sparkdream/collect/v1/params.js +121 -1
  12. package/esm/sparkdream/collect/v1/tx.js +293 -1
  13. package/esm/sparkdream/collect/v1/tx.registry.js +38 -2
  14. package/esm/sparkdream/collect/v1/tx.rpc.msg.js +17 -2
  15. package/esm/sparkdream/collect/v1/types.js +147 -3
  16. package/esm/sparkdream/commons/v1/genesis.js +29 -1
  17. package/esm/sparkdream/commons/v1/query.js +317 -0
  18. package/esm/sparkdream/commons/v1/query.lcd.js +23 -0
  19. package/esm/sparkdream/commons/v1/query.rpc.Query.js +20 -1
  20. package/esm/sparkdream/commons/v1/recurring_spend.js +296 -0
  21. package/esm/sparkdream/commons/v1/tx.js +693 -0
  22. package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
  23. package/esm/sparkdream/commons/v1/tx.rpc.msg.js +33 -1
  24. package/esm/sparkdream/federation/v1/genesis.js +10 -10
  25. package/esm/sparkdream/federation/v1/params.js +29 -54
  26. package/esm/sparkdream/federation/v1/query.js +216 -71
  27. package/esm/sparkdream/federation/v1/query.lcd.js +11 -6
  28. package/esm/sparkdream/federation/v1/query.rpc.Query.js +24 -15
  29. package/esm/sparkdream/federation/v1/tx.amino.js +21 -21
  30. package/esm/sparkdream/federation/v1/tx.js +1146 -1105
  31. package/esm/sparkdream/federation/v1/tx.registry.js +74 -74
  32. package/esm/sparkdream/federation/v1/tx.rpc.msg.js +32 -26
  33. package/esm/sparkdream/federation/v1/types.js +355 -99
  34. package/esm/sparkdream/federation/v1/verifier_activity.js +13 -1
  35. package/esm/sparkdream/forum/v1/params.js +389 -148
  36. package/esm/sparkdream/forum/v1/post.js +25 -1
  37. package/esm/sparkdream/forum/v1/tx.js +460 -0
  38. package/esm/sparkdream/forum/v1/tx.registry.js +56 -2
  39. package/esm/sparkdream/forum/v1/tx.rpc.msg.js +30 -1
  40. package/esm/sparkdream/forum/v1/types.js +355 -0
  41. package/esm/sparkdream/forum/v1/user_rate_limit.js +41 -2
  42. package/esm/sparkdream/guardian/module/v1/module.js +68 -0
  43. package/esm/sparkdream/guardian/v1/query.js +128 -0
  44. package/esm/sparkdream/guardian/v1/query.lcd.js +13 -0
  45. package/esm/sparkdream/guardian/v1/query.rpc.Query.js +26 -0
  46. package/esm/sparkdream/guardian/v1/tx.amino.js +9 -0
  47. package/esm/sparkdream/guardian/v1/tx.js +175 -0
  48. package/esm/sparkdream/guardian/v1/tx.registry.js +33 -0
  49. package/esm/sparkdream/guardian/v1/tx.rpc.msg.js +24 -0
  50. package/esm/sparkdream/identity/module/v1/module.js +71 -0
  51. package/esm/sparkdream/identity/v1/chain_identity.js +199 -0
  52. package/esm/sparkdream/identity/v1/genesis.js +84 -0
  53. package/esm/sparkdream/identity/v1/query.js +372 -0
  54. package/esm/sparkdream/identity/v1/query.lcd.js +21 -0
  55. package/esm/sparkdream/identity/v1/query.rpc.Query.js +42 -0
  56. package/esm/sparkdream/lcd.js +15 -0
  57. package/esm/sparkdream/name/v1/params.js +19 -18
  58. package/esm/sparkdream/rep/v1/bonded_role.js +48 -2
  59. package/esm/sparkdream/rep/v1/member.js +209 -1
  60. package/esm/sparkdream/rep/v1/tag.js +6 -13
  61. package/esm/sparkdream/rpc.query.js +9 -0
  62. package/esm/sparkdream/rpc.tx.js +6 -0
  63. package/esm/sparkdream/service/module/v1/module.js +71 -0
  64. package/esm/sparkdream/service/v1/controller_transfer_case.js +155 -0
  65. package/esm/sparkdream/service/v1/genesis.js +240 -0
  66. package/esm/sparkdream/service/v1/operator.js +250 -0
  67. package/esm/sparkdream/service/v1/params.js +355 -0
  68. package/esm/sparkdream/service/v1/query.js +1582 -0
  69. package/esm/sparkdream/service/v1/query.lcd.js +107 -0
  70. package/esm/sparkdream/service/v1/query.rpc.Query.js +109 -0
  71. package/esm/sparkdream/service/v1/refile_cooldown.js +121 -0
  72. package/esm/sparkdream/service/v1/report.js +212 -0
  73. package/esm/sparkdream/service/v1/reporter_rate_limit.js +137 -0
  74. package/esm/sparkdream/service/v1/service_type_config.js +264 -0
  75. package/esm/sparkdream/service/v1/system_report_rate_limit.js +115 -0
  76. package/esm/sparkdream/service/v1/tier1_escrow_entry.js +145 -0
  77. package/esm/sparkdream/service/v1/tier1_last_slash.js +121 -0
  78. package/esm/sparkdream/service/v1/tx.amino.js +69 -0
  79. package/esm/sparkdream/service/v1/tx.js +2124 -0
  80. package/esm/sparkdream/service/v1/tx.registry.js +249 -0
  81. package/esm/sparkdream/service/v1/tx.rpc.msg.js +100 -0
  82. package/esm/sparkdream/service/v1/types.js +353 -0
  83. package/esm/sparkdream/session/v1/genesis.js +136 -10
  84. package/esm/sparkdream/session/v1/grant.js +1020 -0
  85. package/esm/sparkdream/session/v1/params.js +543 -19
  86. package/esm/sparkdream/session/v1/query.js +487 -0
  87. package/esm/sparkdream/session/v1/query.lcd.js +41 -3
  88. package/esm/sparkdream/session/v1/query.rpc.Query.js +36 -4
  89. package/esm/sparkdream/session/v1/session.js +6 -0
  90. package/esm/sparkdream/session/v1/tx.js +1066 -0
  91. package/esm/sparkdream/session/v1/tx.registry.js +110 -2
  92. package/esm/sparkdream/session/v1/tx.rpc.msg.js +65 -3
  93. package/esm/tendermint/bundle.js +20 -20
  94. package/ibc/bundle.d.ts +90 -90
  95. package/ibc/bundle.js +106 -106
  96. package/package.json +1 -1
  97. package/sparkdream/blog/v1/params.d.ts +89 -28
  98. package/sparkdream/blog/v1/params.js +113 -52
  99. package/sparkdream/blog/v1/post.d.ts +2 -2
  100. package/sparkdream/blog/v1/tx.d.ts +385 -10
  101. package/sparkdream/blog/v1/tx.js +584 -3
  102. package/sparkdream/blog/v1/tx.registry.d.ts +49 -1
  103. package/sparkdream/blog/v1/tx.registry.js +73 -1
  104. package/sparkdream/blog/v1/tx.rpc.msg.d.ts +27 -3
  105. package/sparkdream/blog/v1/tx.rpc.msg.js +32 -2
  106. package/sparkdream/bundle.d.ts +15308 -12896
  107. package/sparkdream/bundle.js +448 -346
  108. package/sparkdream/client.d.ts +90 -20
  109. package/sparkdream/client.js +7 -1
  110. package/sparkdream/collect/v1/params.d.ts +140 -0
  111. package/sparkdream/collect/v1/params.js +121 -1
  112. package/sparkdream/collect/v1/tx.d.ts +195 -3
  113. package/sparkdream/collect/v1/tx.js +294 -2
  114. package/sparkdream/collect/v1/tx.registry.d.ts +25 -1
  115. package/sparkdream/collect/v1/tx.registry.js +37 -1
  116. package/sparkdream/collect/v1/tx.rpc.msg.d.ts +15 -2
  117. package/sparkdream/collect/v1/tx.rpc.msg.js +16 -1
  118. package/sparkdream/collect/v1/types.d.ts +114 -0
  119. package/sparkdream/collect/v1/types.js +147 -3
  120. package/sparkdream/commons/v1/genesis.d.ts +17 -0
  121. package/sparkdream/commons/v1/genesis.js +29 -1
  122. package/sparkdream/commons/v1/query.d.ts +186 -0
  123. package/sparkdream/commons/v1/query.js +318 -1
  124. package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
  125. package/sparkdream/commons/v1/query.lcd.js +23 -0
  126. package/sparkdream/commons/v1/query.rpc.Query.d.ts +12 -1
  127. package/sparkdream/commons/v1/query.rpc.Query.js +19 -0
  128. package/sparkdream/commons/v1/recurring_spend.d.ts +234 -0
  129. package/sparkdream/commons/v1/recurring_spend.js +301 -0
  130. package/sparkdream/commons/v1/tx.d.ts +472 -0
  131. package/sparkdream/commons/v1/tx.js +694 -1
  132. package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
  133. package/sparkdream/commons/v1/tx.registry.js +73 -1
  134. package/sparkdream/commons/v1/tx.rpc.msg.d.ts +29 -1
  135. package/sparkdream/commons/v1/tx.rpc.msg.js +32 -0
  136. package/sparkdream/federation/v1/genesis.d.ts +3 -3
  137. package/sparkdream/federation/v1/genesis.js +9 -9
  138. package/sparkdream/federation/v1/params.d.ts +64 -13
  139. package/sparkdream/federation/v1/params.js +29 -54
  140. package/sparkdream/federation/v1/query.d.ts +209 -100
  141. package/sparkdream/federation/v1/query.js +216 -71
  142. package/sparkdream/federation/v1/query.lcd.d.ts +4 -3
  143. package/sparkdream/federation/v1/query.lcd.js +11 -6
  144. package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
  145. package/sparkdream/federation/v1/query.rpc.Query.js +24 -15
  146. package/sparkdream/federation/v1/tx.amino.d.ts +21 -21
  147. package/sparkdream/federation/v1/tx.amino.js +20 -20
  148. package/sparkdream/federation/v1/tx.d.ts +479 -352
  149. package/sparkdream/federation/v1/tx.js +1147 -1106
  150. package/sparkdream/federation/v1/tx.registry.d.ts +49 -49
  151. package/sparkdream/federation/v1/tx.registry.js +73 -73
  152. package/sparkdream/federation/v1/tx.rpc.msg.d.ts +18 -9
  153. package/sparkdream/federation/v1/tx.rpc.msg.js +31 -25
  154. package/sparkdream/federation/v1/types.d.ts +307 -41
  155. package/sparkdream/federation/v1/types.js +360 -100
  156. package/sparkdream/federation/v1/verifier_activity.d.ts +18 -0
  157. package/sparkdream/federation/v1/verifier_activity.js +13 -1
  158. package/sparkdream/forum/v1/params.d.ts +309 -62
  159. package/sparkdream/forum/v1/params.js +389 -148
  160. package/sparkdream/forum/v1/post.d.ts +28 -0
  161. package/sparkdream/forum/v1/post.js +25 -1
  162. package/sparkdream/forum/v1/tx.d.ts +291 -0
  163. package/sparkdream/forum/v1/tx.js +462 -2
  164. package/sparkdream/forum/v1/tx.registry.d.ts +37 -1
  165. package/sparkdream/forum/v1/tx.registry.js +55 -1
  166. package/sparkdream/forum/v1/tx.rpc.msg.d.ts +27 -1
  167. package/sparkdream/forum/v1/tx.rpc.msg.js +29 -0
  168. package/sparkdream/forum/v1/types.d.ts +247 -0
  169. package/sparkdream/forum/v1/types.js +356 -1
  170. package/sparkdream/forum/v1/user_rate_limit.d.ts +24 -3
  171. package/sparkdream/forum/v1/user_rate_limit.js +41 -2
  172. package/sparkdream/guardian/module/v1/module.d.ts +74 -0
  173. package/sparkdream/guardian/module/v1/module.js +71 -0
  174. package/sparkdream/guardian/v1/query.d.ts +88 -0
  175. package/sparkdream/guardian/v1/query.js +131 -0
  176. package/sparkdream/guardian/v1/query.lcd.d.ts +9 -0
  177. package/sparkdream/guardian/v1/query.lcd.js +17 -0
  178. package/sparkdream/guardian/v1/query.rpc.Query.d.ts +20 -0
  179. package/sparkdream/guardian/v1/query.rpc.Query.js +31 -0
  180. package/sparkdream/guardian/v1/tx.amino.d.ts +8 -0
  181. package/sparkdream/guardian/v1/tx.amino.js +12 -0
  182. package/sparkdream/guardian/v1/tx.d.ts +138 -0
  183. package/sparkdream/guardian/v1/tx.js +181 -0
  184. package/sparkdream/guardian/v1/tx.registry.d.ts +25 -0
  185. package/sparkdream/guardian/v1/tx.registry.js +37 -0
  186. package/sparkdream/guardian/v1/tx.rpc.msg.d.ts +22 -0
  187. package/sparkdream/guardian/v1/tx.rpc.msg.js +29 -0
  188. package/sparkdream/identity/module/v1/module.d.ts +54 -0
  189. package/sparkdream/identity/module/v1/module.js +74 -0
  190. package/sparkdream/identity/v1/chain_identity.d.ts +131 -0
  191. package/sparkdream/identity/v1/chain_identity.js +202 -0
  192. package/sparkdream/identity/v1/genesis.d.ts +65 -0
  193. package/sparkdream/identity/v1/genesis.js +87 -0
  194. package/sparkdream/identity/v1/query.d.ts +243 -0
  195. package/sparkdream/identity/v1/query.js +375 -0
  196. package/sparkdream/identity/v1/query.lcd.d.ts +11 -0
  197. package/sparkdream/identity/v1/query.lcd.js +25 -0
  198. package/sparkdream/identity/v1/query.rpc.Query.d.ts +26 -0
  199. package/sparkdream/identity/v1/query.rpc.Query.js +47 -0
  200. package/sparkdream/lcd.d.ts +9 -0
  201. package/sparkdream/lcd.js +15 -0
  202. package/sparkdream/name/v1/params.d.ts +25 -8
  203. package/sparkdream/name/v1/params.js +19 -18
  204. package/sparkdream/rep/v1/bonded_role.d.ts +51 -0
  205. package/sparkdream/rep/v1/bonded_role.js +48 -2
  206. package/sparkdream/rep/v1/member.d.ts +134 -0
  207. package/sparkdream/rep/v1/member.js +210 -2
  208. package/sparkdream/rep/v1/tag.d.ts +15 -2
  209. package/sparkdream/rep/v1/tag.js +6 -13
  210. package/sparkdream/rpc.query.d.ts +34 -2
  211. package/sparkdream/rpc.query.js +9 -0
  212. package/sparkdream/rpc.tx.d.ts +6 -0
  213. package/sparkdream/rpc.tx.js +6 -0
  214. package/sparkdream/service/module/v1/module.d.ts +54 -0
  215. package/sparkdream/service/module/v1/module.js +74 -0
  216. package/sparkdream/service/v1/controller_transfer_case.d.ts +125 -0
  217. package/sparkdream/service/v1/controller_transfer_case.js +158 -0
  218. package/sparkdream/service/v1/genesis.d.ts +172 -0
  219. package/sparkdream/service/v1/genesis.js +243 -0
  220. package/sparkdream/service/v1/operator.d.ts +215 -0
  221. package/sparkdream/service/v1/operator.js +253 -0
  222. package/sparkdream/service/v1/params.d.ts +346 -0
  223. package/sparkdream/service/v1/params.js +358 -0
  224. package/sparkdream/service/v1/query.d.ts +964 -0
  225. package/sparkdream/service/v1/query.js +1585 -0
  226. package/sparkdream/service/v1/query.lcd.d.ts +18 -0
  227. package/sparkdream/service/v1/query.lcd.js +111 -0
  228. package/sparkdream/service/v1/query.rpc.Query.d.ts +63 -0
  229. package/sparkdream/service/v1/query.rpc.Query.js +114 -0
  230. package/sparkdream/service/v1/refile_cooldown.d.ts +105 -0
  231. package/sparkdream/service/v1/refile_cooldown.js +124 -0
  232. package/sparkdream/service/v1/report.d.ts +174 -0
  233. package/sparkdream/service/v1/report.js +215 -0
  234. package/sparkdream/service/v1/reporter_rate_limit.d.ts +112 -0
  235. package/sparkdream/service/v1/reporter_rate_limit.js +140 -0
  236. package/sparkdream/service/v1/service_type_config.d.ts +222 -0
  237. package/sparkdream/service/v1/service_type_config.js +269 -0
  238. package/sparkdream/service/v1/system_report_rate_limit.d.ts +106 -0
  239. package/sparkdream/service/v1/system_report_rate_limit.js +118 -0
  240. package/sparkdream/service/v1/tier1_escrow_entry.d.ts +125 -0
  241. package/sparkdream/service/v1/tier1_escrow_entry.js +148 -0
  242. package/sparkdream/service/v1/tier1_last_slash.d.ts +101 -0
  243. package/sparkdream/service/v1/tier1_last_slash.js +124 -0
  244. package/sparkdream/service/v1/tx.amino.d.ts +68 -0
  245. package/sparkdream/service/v1/tx.amino.js +72 -0
  246. package/sparkdream/service/v1/tx.d.ts +1264 -0
  247. package/sparkdream/service/v1/tx.js +2127 -0
  248. package/sparkdream/service/v1/tx.registry.d.ts +169 -0
  249. package/sparkdream/service/v1/tx.registry.js +253 -0
  250. package/sparkdream/service/v1/tx.rpc.msg.d.ts +80 -0
  251. package/sparkdream/service/v1/tx.rpc.msg.js +105 -0
  252. package/sparkdream/service/v1/types.d.ts +94 -0
  253. package/sparkdream/service/v1/types.js +370 -0
  254. package/sparkdream/session/v1/genesis.d.ts +93 -9
  255. package/sparkdream/session/v1/genesis.js +137 -11
  256. package/sparkdream/session/v1/grant.d.ts +517 -0
  257. package/sparkdream/session/v1/grant.js +1027 -0
  258. package/sparkdream/session/v1/params.d.ts +338 -7
  259. package/sparkdream/session/v1/params.js +543 -19
  260. package/sparkdream/session/v1/query.d.ts +265 -0
  261. package/sparkdream/session/v1/query.js +488 -1
  262. package/sparkdream/session/v1/query.lcd.d.ts +4 -1
  263. package/sparkdream/session/v1/query.lcd.js +41 -3
  264. package/sparkdream/session/v1/query.rpc.Query.d.ts +27 -4
  265. package/sparkdream/session/v1/query.rpc.Query.js +35 -3
  266. package/sparkdream/session/v1/session.d.ts +18 -0
  267. package/sparkdream/session/v1/session.js +6 -0
  268. package/sparkdream/session/v1/tx.d.ts +660 -0
  269. package/sparkdream/session/v1/tx.js +1067 -1
  270. package/sparkdream/session/v1/tx.registry.d.ts +73 -1
  271. package/sparkdream/session/v1/tx.registry.js +109 -1
  272. package/sparkdream/session/v1/tx.rpc.msg.d.ts +63 -3
  273. package/sparkdream/session/v1/tx.rpc.msg.js +64 -2
  274. package/tendermint/bundle.d.ts +844 -844
  275. package/tendermint/bundle.js +20 -20
@@ -37,6 +37,20 @@ export interface Post {
37
37
  contentType: ContentType;
38
38
  initiativeId: bigint;
39
39
  convictionSustained: boolean;
40
+ /**
41
+ * promoted_by is the member who called MsgMakePostPermanent on this post
42
+ * (or reply). Empty if still ephemeral, or if it became permanent via
43
+ * author-admission auto-promotion / explicit author self-promotion. Used by
44
+ * ExpireHiddenPosts to issue a MemberWarning against the promoter on
45
+ * unappealed sentinel hide — they vouched for content the community
46
+ * rejected.
47
+ */
48
+ promotedBy: string;
49
+ /**
50
+ * promoted_at is the block-time (unix seconds) at which promoted_by called
51
+ * MsgMakePostPermanent. Zero when promoted_by is empty.
52
+ */
53
+ promotedAt: bigint;
40
54
  }
41
55
  export interface PostProtoMsg {
42
56
  typeUrl: "/sparkdream.forum.v1.Post";
@@ -77,6 +91,20 @@ export interface PostAmino {
77
91
  content_type?: ContentType;
78
92
  initiative_id?: string;
79
93
  conviction_sustained?: boolean;
94
+ /**
95
+ * promoted_by is the member who called MsgMakePostPermanent on this post
96
+ * (or reply). Empty if still ephemeral, or if it became permanent via
97
+ * author-admission auto-promotion / explicit author self-promotion. Used by
98
+ * ExpireHiddenPosts to issue a MemberWarning against the promoter on
99
+ * unappealed sentinel hide — they vouched for content the community
100
+ * rejected.
101
+ */
102
+ promoted_by?: string;
103
+ /**
104
+ * promoted_at is the block-time (unix seconds) at which promoted_by called
105
+ * MsgMakePostPermanent. Zero when promoted_by is empty.
106
+ */
107
+ promoted_at?: string;
80
108
  }
81
109
  export interface PostAminoMsg {
82
110
  type: "/sparkdream.forum.v1.Post";
@@ -31,7 +31,9 @@ function createBasePost() {
31
31
  tags: [],
32
32
  contentType: 0,
33
33
  initiativeId: BigInt(0),
34
- convictionSustained: false
34
+ convictionSustained: false,
35
+ promotedBy: "",
36
+ promotedAt: BigInt(0)
35
37
  };
36
38
  }
37
39
  /**
@@ -127,6 +129,12 @@ exports.Post = {
127
129
  if (message.convictionSustained === true) {
128
130
  writer.uint32(264).bool(message.convictionSustained);
129
131
  }
132
+ if (message.promotedBy !== "") {
133
+ writer.uint32(274).string(message.promotedBy);
134
+ }
135
+ if (message.promotedAt !== BigInt(0)) {
136
+ writer.uint32(280).int64(message.promotedAt);
137
+ }
130
138
  return writer;
131
139
  },
132
140
  decode(input, length) {
@@ -220,6 +228,12 @@ exports.Post = {
220
228
  case 33:
221
229
  message.convictionSustained = reader.bool();
222
230
  break;
231
+ case 34:
232
+ message.promotedBy = reader.string();
233
+ break;
234
+ case 35:
235
+ message.promotedAt = reader.int64();
236
+ break;
223
237
  default:
224
238
  reader.skipType(tag & 7);
225
239
  break;
@@ -257,6 +271,8 @@ exports.Post = {
257
271
  message.contentType = object.contentType ?? 0;
258
272
  message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
259
273
  message.convictionSustained = object.convictionSustained ?? false;
274
+ message.promotedBy = object.promotedBy ?? "";
275
+ message.promotedAt = object.promotedAt !== undefined && object.promotedAt !== null ? BigInt(object.promotedAt.toString()) : BigInt(0);
260
276
  return message;
261
277
  },
262
278
  fromAmino(object) {
@@ -343,6 +359,12 @@ exports.Post = {
343
359
  if (object.conviction_sustained !== undefined && object.conviction_sustained !== null) {
344
360
  message.convictionSustained = object.conviction_sustained;
345
361
  }
362
+ if (object.promoted_by !== undefined && object.promoted_by !== null) {
363
+ message.promotedBy = object.promoted_by;
364
+ }
365
+ if (object.promoted_at !== undefined && object.promoted_at !== null) {
366
+ message.promotedAt = BigInt(object.promoted_at);
367
+ }
346
368
  return message;
347
369
  },
348
370
  toAmino(message) {
@@ -380,6 +402,8 @@ exports.Post = {
380
402
  obj.content_type = message.contentType === 0 ? undefined : message.contentType;
381
403
  obj.initiative_id = message.initiativeId !== BigInt(0) ? message.initiativeId?.toString() : undefined;
382
404
  obj.conviction_sustained = message.convictionSustained === false ? undefined : message.convictionSustained;
405
+ obj.promoted_by = message.promotedBy === "" ? undefined : message.promotedBy;
406
+ obj.promoted_at = message.promotedAt !== BigInt(0) ? message.promotedAt?.toString() : undefined;
383
407
  return obj;
384
408
  },
385
409
  fromAminoMsg(object) {
@@ -532,6 +532,60 @@ export interface MsgUnpinPostResponseAminoMsg {
532
532
  type: "/sparkdream.forum.v1.MsgUnpinPostResponse";
533
533
  value: MsgUnpinPostResponseAmino;
534
534
  }
535
+ /**
536
+ * MsgMakePostPermanent promotes an ephemeral post (root post or reply) to
537
+ * permanent.
538
+ * @name MsgMakePostPermanent
539
+ * @package sparkdream.forum.v1
540
+ * @see proto type: sparkdream.forum.v1.MsgMakePostPermanent
541
+ */
542
+ export interface MsgMakePostPermanent {
543
+ creator: string;
544
+ postId: bigint;
545
+ }
546
+ export interface MsgMakePostPermanentProtoMsg {
547
+ typeUrl: "/sparkdream.forum.v1.MsgMakePostPermanent";
548
+ value: Uint8Array;
549
+ }
550
+ /**
551
+ * MsgMakePostPermanent promotes an ephemeral post (root post or reply) to
552
+ * permanent.
553
+ * @name MsgMakePostPermanentAmino
554
+ * @package sparkdream.forum.v1
555
+ * @see proto type: sparkdream.forum.v1.MsgMakePostPermanent
556
+ */
557
+ export interface MsgMakePostPermanentAmino {
558
+ creator?: string;
559
+ post_id?: string;
560
+ }
561
+ export interface MsgMakePostPermanentAminoMsg {
562
+ type: "sparkdream/x/forum/MsgMakePostPermanent";
563
+ value: MsgMakePostPermanentAmino;
564
+ }
565
+ /**
566
+ * MsgMakePostPermanentResponse defines the MsgMakePostPermanent response.
567
+ * @name MsgMakePostPermanentResponse
568
+ * @package sparkdream.forum.v1
569
+ * @see proto type: sparkdream.forum.v1.MsgMakePostPermanentResponse
570
+ */
571
+ export interface MsgMakePostPermanentResponse {
572
+ }
573
+ export interface MsgMakePostPermanentResponseProtoMsg {
574
+ typeUrl: "/sparkdream.forum.v1.MsgMakePostPermanentResponse";
575
+ value: Uint8Array;
576
+ }
577
+ /**
578
+ * MsgMakePostPermanentResponse defines the MsgMakePostPermanent response.
579
+ * @name MsgMakePostPermanentResponseAmino
580
+ * @package sparkdream.forum.v1
581
+ * @see proto type: sparkdream.forum.v1.MsgMakePostPermanentResponse
582
+ */
583
+ export interface MsgMakePostPermanentResponseAmino {
584
+ }
585
+ export interface MsgMakePostPermanentResponseAminoMsg {
586
+ type: "/sparkdream.forum.v1.MsgMakePostPermanentResponse";
587
+ value: MsgMakePostPermanentResponseAmino;
588
+ }
535
589
  /**
536
590
  * MsgLockThread defines the MsgLockThread message.
537
591
  * @name MsgLockThread
@@ -902,6 +956,126 @@ export interface MsgDownvotePostResponseAminoMsg {
902
956
  type: "/sparkdream.forum.v1.MsgDownvotePostResponse";
903
957
  value: MsgDownvotePostResponseAmino;
904
958
  }
959
+ /**
960
+ * MsgStakePostConviction opens a PostConvictionStake. The signer is the
961
+ * staker; the post's author cannot stake on their own post.
962
+ * @name MsgStakePostConviction
963
+ * @package sparkdream.forum.v1
964
+ * @see proto type: sparkdream.forum.v1.MsgStakePostConviction
965
+ */
966
+ export interface MsgStakePostConviction {
967
+ creator: string;
968
+ postId: bigint;
969
+ /**
970
+ * amount is the DREAM (uDREAM) to lock for this stake. Must be at least
971
+ * Params.min_post_conviction_stake.
972
+ */
973
+ amount: string;
974
+ }
975
+ export interface MsgStakePostConvictionProtoMsg {
976
+ typeUrl: "/sparkdream.forum.v1.MsgStakePostConviction";
977
+ value: Uint8Array;
978
+ }
979
+ /**
980
+ * MsgStakePostConviction opens a PostConvictionStake. The signer is the
981
+ * staker; the post's author cannot stake on their own post.
982
+ * @name MsgStakePostConvictionAmino
983
+ * @package sparkdream.forum.v1
984
+ * @see proto type: sparkdream.forum.v1.MsgStakePostConviction
985
+ */
986
+ export interface MsgStakePostConvictionAmino {
987
+ creator?: string;
988
+ post_id?: string;
989
+ /**
990
+ * amount is the DREAM (uDREAM) to lock for this stake. Must be at least
991
+ * Params.min_post_conviction_stake.
992
+ */
993
+ amount?: string;
994
+ }
995
+ export interface MsgStakePostConvictionAminoMsg {
996
+ type: "sparkdream/x/forum/MsgStakePostConviction";
997
+ value: MsgStakePostConvictionAmino;
998
+ }
999
+ /**
1000
+ * MsgStakePostConvictionResponse returns the new stake's id.
1001
+ * @name MsgStakePostConvictionResponse
1002
+ * @package sparkdream.forum.v1
1003
+ * @see proto type: sparkdream.forum.v1.MsgStakePostConvictionResponse
1004
+ */
1005
+ export interface MsgStakePostConvictionResponse {
1006
+ stakeId: bigint;
1007
+ }
1008
+ export interface MsgStakePostConvictionResponseProtoMsg {
1009
+ typeUrl: "/sparkdream.forum.v1.MsgStakePostConvictionResponse";
1010
+ value: Uint8Array;
1011
+ }
1012
+ /**
1013
+ * MsgStakePostConvictionResponse returns the new stake's id.
1014
+ * @name MsgStakePostConvictionResponseAmino
1015
+ * @package sparkdream.forum.v1
1016
+ * @see proto type: sparkdream.forum.v1.MsgStakePostConvictionResponse
1017
+ */
1018
+ export interface MsgStakePostConvictionResponseAmino {
1019
+ stake_id?: string;
1020
+ }
1021
+ export interface MsgStakePostConvictionResponseAminoMsg {
1022
+ type: "/sparkdream.forum.v1.MsgStakePostConvictionResponse";
1023
+ value: MsgStakePostConvictionResponseAmino;
1024
+ }
1025
+ /**
1026
+ * MsgReleasePostConviction closes a PostConvictionStake. Only the original
1027
+ * staker may release; release before unlocks_at is rejected.
1028
+ * @name MsgReleasePostConviction
1029
+ * @package sparkdream.forum.v1
1030
+ * @see proto type: sparkdream.forum.v1.MsgReleasePostConviction
1031
+ */
1032
+ export interface MsgReleasePostConviction {
1033
+ creator: string;
1034
+ stakeId: bigint;
1035
+ }
1036
+ export interface MsgReleasePostConvictionProtoMsg {
1037
+ typeUrl: "/sparkdream.forum.v1.MsgReleasePostConviction";
1038
+ value: Uint8Array;
1039
+ }
1040
+ /**
1041
+ * MsgReleasePostConviction closes a PostConvictionStake. Only the original
1042
+ * staker may release; release before unlocks_at is rejected.
1043
+ * @name MsgReleasePostConvictionAmino
1044
+ * @package sparkdream.forum.v1
1045
+ * @see proto type: sparkdream.forum.v1.MsgReleasePostConviction
1046
+ */
1047
+ export interface MsgReleasePostConvictionAmino {
1048
+ creator?: string;
1049
+ stake_id?: string;
1050
+ }
1051
+ export interface MsgReleasePostConvictionAminoMsg {
1052
+ type: "sparkdream/x/forum/MsgReleasePostConviction";
1053
+ value: MsgReleasePostConvictionAmino;
1054
+ }
1055
+ /**
1056
+ * MsgReleasePostConvictionResponse defines the MsgReleasePostConviction response.
1057
+ * @name MsgReleasePostConvictionResponse
1058
+ * @package sparkdream.forum.v1
1059
+ * @see proto type: sparkdream.forum.v1.MsgReleasePostConvictionResponse
1060
+ */
1061
+ export interface MsgReleasePostConvictionResponse {
1062
+ }
1063
+ export interface MsgReleasePostConvictionResponseProtoMsg {
1064
+ typeUrl: "/sparkdream.forum.v1.MsgReleasePostConvictionResponse";
1065
+ value: Uint8Array;
1066
+ }
1067
+ /**
1068
+ * MsgReleasePostConvictionResponse defines the MsgReleasePostConviction response.
1069
+ * @name MsgReleasePostConvictionResponseAmino
1070
+ * @package sparkdream.forum.v1
1071
+ * @see proto type: sparkdream.forum.v1.MsgReleasePostConvictionResponse
1072
+ */
1073
+ export interface MsgReleasePostConvictionResponseAmino {
1074
+ }
1075
+ export interface MsgReleasePostConvictionResponseAminoMsg {
1076
+ type: "/sparkdream.forum.v1.MsgReleasePostConvictionResponse";
1077
+ value: MsgReleasePostConvictionResponseAmino;
1078
+ }
905
1079
  /**
906
1080
  * MsgFlagPost defines the MsgFlagPost message.
907
1081
  * @name MsgFlagPost
@@ -2319,6 +2493,45 @@ export declare const MsgUnpinPostResponse: {
2319
2493
  toProto(message: MsgUnpinPostResponse): Uint8Array;
2320
2494
  toProtoMsg(message: MsgUnpinPostResponse): MsgUnpinPostResponseProtoMsg;
2321
2495
  };
2496
+ /**
2497
+ * MsgMakePostPermanent promotes an ephemeral post (root post or reply) to
2498
+ * permanent.
2499
+ * @name MsgMakePostPermanent
2500
+ * @package sparkdream.forum.v1
2501
+ * @see proto type: sparkdream.forum.v1.MsgMakePostPermanent
2502
+ */
2503
+ export declare const MsgMakePostPermanent: {
2504
+ typeUrl: string;
2505
+ aminoType: string;
2506
+ encode(message: MsgMakePostPermanent, writer?: BinaryWriter): BinaryWriter;
2507
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgMakePostPermanent;
2508
+ fromPartial(object: DeepPartial<MsgMakePostPermanent>): MsgMakePostPermanent;
2509
+ fromAmino(object: MsgMakePostPermanentAmino): MsgMakePostPermanent;
2510
+ toAmino(message: MsgMakePostPermanent): MsgMakePostPermanentAmino;
2511
+ fromAminoMsg(object: MsgMakePostPermanentAminoMsg): MsgMakePostPermanent;
2512
+ toAminoMsg(message: MsgMakePostPermanent): MsgMakePostPermanentAminoMsg;
2513
+ fromProtoMsg(message: MsgMakePostPermanentProtoMsg): MsgMakePostPermanent;
2514
+ toProto(message: MsgMakePostPermanent): Uint8Array;
2515
+ toProtoMsg(message: MsgMakePostPermanent): MsgMakePostPermanentProtoMsg;
2516
+ };
2517
+ /**
2518
+ * MsgMakePostPermanentResponse defines the MsgMakePostPermanent response.
2519
+ * @name MsgMakePostPermanentResponse
2520
+ * @package sparkdream.forum.v1
2521
+ * @see proto type: sparkdream.forum.v1.MsgMakePostPermanentResponse
2522
+ */
2523
+ export declare const MsgMakePostPermanentResponse: {
2524
+ typeUrl: string;
2525
+ encode(_: MsgMakePostPermanentResponse, writer?: BinaryWriter): BinaryWriter;
2526
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgMakePostPermanentResponse;
2527
+ fromPartial(_: DeepPartial<MsgMakePostPermanentResponse>): MsgMakePostPermanentResponse;
2528
+ fromAmino(_: MsgMakePostPermanentResponseAmino): MsgMakePostPermanentResponse;
2529
+ toAmino(_: MsgMakePostPermanentResponse): MsgMakePostPermanentResponseAmino;
2530
+ fromAminoMsg(object: MsgMakePostPermanentResponseAminoMsg): MsgMakePostPermanentResponse;
2531
+ fromProtoMsg(message: MsgMakePostPermanentResponseProtoMsg): MsgMakePostPermanentResponse;
2532
+ toProto(message: MsgMakePostPermanentResponse): Uint8Array;
2533
+ toProtoMsg(message: MsgMakePostPermanentResponse): MsgMakePostPermanentResponseProtoMsg;
2534
+ };
2322
2535
  /**
2323
2536
  * MsgLockThread defines the MsgLockThread message.
2324
2537
  * @name MsgLockThread
@@ -2585,6 +2798,84 @@ export declare const MsgDownvotePostResponse: {
2585
2798
  toProto(message: MsgDownvotePostResponse): Uint8Array;
2586
2799
  toProtoMsg(message: MsgDownvotePostResponse): MsgDownvotePostResponseProtoMsg;
2587
2800
  };
2801
+ /**
2802
+ * MsgStakePostConviction opens a PostConvictionStake. The signer is the
2803
+ * staker; the post's author cannot stake on their own post.
2804
+ * @name MsgStakePostConviction
2805
+ * @package sparkdream.forum.v1
2806
+ * @see proto type: sparkdream.forum.v1.MsgStakePostConviction
2807
+ */
2808
+ export declare const MsgStakePostConviction: {
2809
+ typeUrl: string;
2810
+ aminoType: string;
2811
+ encode(message: MsgStakePostConviction, writer?: BinaryWriter): BinaryWriter;
2812
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgStakePostConviction;
2813
+ fromPartial(object: DeepPartial<MsgStakePostConviction>): MsgStakePostConviction;
2814
+ fromAmino(object: MsgStakePostConvictionAmino): MsgStakePostConviction;
2815
+ toAmino(message: MsgStakePostConviction): MsgStakePostConvictionAmino;
2816
+ fromAminoMsg(object: MsgStakePostConvictionAminoMsg): MsgStakePostConviction;
2817
+ toAminoMsg(message: MsgStakePostConviction): MsgStakePostConvictionAminoMsg;
2818
+ fromProtoMsg(message: MsgStakePostConvictionProtoMsg): MsgStakePostConviction;
2819
+ toProto(message: MsgStakePostConviction): Uint8Array;
2820
+ toProtoMsg(message: MsgStakePostConviction): MsgStakePostConvictionProtoMsg;
2821
+ };
2822
+ /**
2823
+ * MsgStakePostConvictionResponse returns the new stake's id.
2824
+ * @name MsgStakePostConvictionResponse
2825
+ * @package sparkdream.forum.v1
2826
+ * @see proto type: sparkdream.forum.v1.MsgStakePostConvictionResponse
2827
+ */
2828
+ export declare const MsgStakePostConvictionResponse: {
2829
+ typeUrl: string;
2830
+ encode(message: MsgStakePostConvictionResponse, writer?: BinaryWriter): BinaryWriter;
2831
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgStakePostConvictionResponse;
2832
+ fromPartial(object: DeepPartial<MsgStakePostConvictionResponse>): MsgStakePostConvictionResponse;
2833
+ fromAmino(object: MsgStakePostConvictionResponseAmino): MsgStakePostConvictionResponse;
2834
+ toAmino(message: MsgStakePostConvictionResponse): MsgStakePostConvictionResponseAmino;
2835
+ fromAminoMsg(object: MsgStakePostConvictionResponseAminoMsg): MsgStakePostConvictionResponse;
2836
+ fromProtoMsg(message: MsgStakePostConvictionResponseProtoMsg): MsgStakePostConvictionResponse;
2837
+ toProto(message: MsgStakePostConvictionResponse): Uint8Array;
2838
+ toProtoMsg(message: MsgStakePostConvictionResponse): MsgStakePostConvictionResponseProtoMsg;
2839
+ };
2840
+ /**
2841
+ * MsgReleasePostConviction closes a PostConvictionStake. Only the original
2842
+ * staker may release; release before unlocks_at is rejected.
2843
+ * @name MsgReleasePostConviction
2844
+ * @package sparkdream.forum.v1
2845
+ * @see proto type: sparkdream.forum.v1.MsgReleasePostConviction
2846
+ */
2847
+ export declare const MsgReleasePostConviction: {
2848
+ typeUrl: string;
2849
+ aminoType: string;
2850
+ encode(message: MsgReleasePostConviction, writer?: BinaryWriter): BinaryWriter;
2851
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgReleasePostConviction;
2852
+ fromPartial(object: DeepPartial<MsgReleasePostConviction>): MsgReleasePostConviction;
2853
+ fromAmino(object: MsgReleasePostConvictionAmino): MsgReleasePostConviction;
2854
+ toAmino(message: MsgReleasePostConviction): MsgReleasePostConvictionAmino;
2855
+ fromAminoMsg(object: MsgReleasePostConvictionAminoMsg): MsgReleasePostConviction;
2856
+ toAminoMsg(message: MsgReleasePostConviction): MsgReleasePostConvictionAminoMsg;
2857
+ fromProtoMsg(message: MsgReleasePostConvictionProtoMsg): MsgReleasePostConviction;
2858
+ toProto(message: MsgReleasePostConviction): Uint8Array;
2859
+ toProtoMsg(message: MsgReleasePostConviction): MsgReleasePostConvictionProtoMsg;
2860
+ };
2861
+ /**
2862
+ * MsgReleasePostConvictionResponse defines the MsgReleasePostConviction response.
2863
+ * @name MsgReleasePostConvictionResponse
2864
+ * @package sparkdream.forum.v1
2865
+ * @see proto type: sparkdream.forum.v1.MsgReleasePostConvictionResponse
2866
+ */
2867
+ export declare const MsgReleasePostConvictionResponse: {
2868
+ typeUrl: string;
2869
+ encode(_: MsgReleasePostConvictionResponse, writer?: BinaryWriter): BinaryWriter;
2870
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgReleasePostConvictionResponse;
2871
+ fromPartial(_: DeepPartial<MsgReleasePostConvictionResponse>): MsgReleasePostConvictionResponse;
2872
+ fromAmino(_: MsgReleasePostConvictionResponseAmino): MsgReleasePostConvictionResponse;
2873
+ toAmino(_: MsgReleasePostConvictionResponse): MsgReleasePostConvictionResponseAmino;
2874
+ fromAminoMsg(object: MsgReleasePostConvictionResponseAminoMsg): MsgReleasePostConvictionResponse;
2875
+ fromProtoMsg(message: MsgReleasePostConvictionResponseProtoMsg): MsgReleasePostConvictionResponse;
2876
+ toProto(message: MsgReleasePostConvictionResponse): Uint8Array;
2877
+ toProtoMsg(message: MsgReleasePostConvictionResponse): MsgReleasePostConvictionResponseProtoMsg;
2878
+ };
2588
2879
  /**
2589
2880
  * MsgFlagPost defines the MsgFlagPost message.
2590
2881
  * @name MsgFlagPost