@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
@@ -8,10 +8,12 @@ import * as sparkdreamEcosystemV1TxRegistry from "./ecosystem/v1/tx.registry";
8
8
  import * as sparkdreamFederationV1TxRegistry from "./federation/v1/tx.registry";
9
9
  import * as sparkdreamForumV1TxRegistry from "./forum/v1/tx.registry";
10
10
  import * as sparkdreamFutarchyV1TxRegistry from "./futarchy/v1/tx.registry";
11
+ import * as sparkdreamGuardianV1TxRegistry from "./guardian/v1/tx.registry";
11
12
  import * as sparkdreamNameV1TxRegistry from "./name/v1/tx.registry";
12
13
  import * as sparkdreamRepV1TxRegistry from "./rep/v1/tx.registry";
13
14
  import * as sparkdreamRevealV1TxRegistry from "./reveal/v1/tx.registry";
14
15
  import * as sparkdreamSeasonV1TxRegistry from "./season/v1/tx.registry";
16
+ import * as sparkdreamServiceV1TxRegistry from "./service/v1/tx.registry";
15
17
  import * as sparkdreamSessionV1TxRegistry from "./session/v1/tx.registry";
16
18
  import * as sparkdreamShieldV1TxRegistry from "./shield/v1/tx.registry";
17
19
  import * as sparkdreamSparkdreamV1TxRegistry from "./sparkdream/v1/tx.registry";
@@ -23,10 +25,12 @@ import * as sparkdreamEcosystemV1TxAmino from "./ecosystem/v1/tx.amino";
23
25
  import * as sparkdreamFederationV1TxAmino from "./federation/v1/tx.amino";
24
26
  import * as sparkdreamForumV1TxAmino from "./forum/v1/tx.amino";
25
27
  import * as sparkdreamFutarchyV1TxAmino from "./futarchy/v1/tx.amino";
28
+ import * as sparkdreamGuardianV1TxAmino from "./guardian/v1/tx.amino";
26
29
  import * as sparkdreamNameV1TxAmino from "./name/v1/tx.amino";
27
30
  import * as sparkdreamRepV1TxAmino from "./rep/v1/tx.amino";
28
31
  import * as sparkdreamRevealV1TxAmino from "./reveal/v1/tx.amino";
29
32
  import * as sparkdreamSeasonV1TxAmino from "./season/v1/tx.amino";
33
+ import * as sparkdreamServiceV1TxAmino from "./service/v1/tx.amino";
30
34
  import * as sparkdreamSessionV1TxAmino from "./session/v1/tx.amino";
31
35
  import * as sparkdreamShieldV1TxAmino from "./shield/v1/tx.amino";
32
36
  import * as sparkdreamSparkdreamV1TxAmino from "./sparkdream/v1/tx.amino";
@@ -39,16 +43,18 @@ export const sparkdreamAminoConverters = {
39
43
  ...sparkdreamFederationV1TxAmino.AminoConverter,
40
44
  ...sparkdreamForumV1TxAmino.AminoConverter,
41
45
  ...sparkdreamFutarchyV1TxAmino.AminoConverter,
46
+ ...sparkdreamGuardianV1TxAmino.AminoConverter,
42
47
  ...sparkdreamNameV1TxAmino.AminoConverter,
43
48
  ...sparkdreamRepV1TxAmino.AminoConverter,
44
49
  ...sparkdreamRevealV1TxAmino.AminoConverter,
45
50
  ...sparkdreamSeasonV1TxAmino.AminoConverter,
51
+ ...sparkdreamServiceV1TxAmino.AminoConverter,
46
52
  ...sparkdreamSessionV1TxAmino.AminoConverter,
47
53
  ...sparkdreamShieldV1TxAmino.AminoConverter,
48
54
  ...sparkdreamSparkdreamV1TxAmino.AminoConverter,
49
55
  ...sparkdreamSplitV1TxAmino.AminoConverter
50
56
  };
51
- export const sparkdreamProtoRegistry = [...sparkdreamBlogV1TxRegistry.registry, ...sparkdreamCollectV1TxRegistry.registry, ...sparkdreamCommonsV1TxRegistry.registry, ...sparkdreamEcosystemV1TxRegistry.registry, ...sparkdreamFederationV1TxRegistry.registry, ...sparkdreamForumV1TxRegistry.registry, ...sparkdreamFutarchyV1TxRegistry.registry, ...sparkdreamNameV1TxRegistry.registry, ...sparkdreamRepV1TxRegistry.registry, ...sparkdreamRevealV1TxRegistry.registry, ...sparkdreamSeasonV1TxRegistry.registry, ...sparkdreamSessionV1TxRegistry.registry, ...sparkdreamShieldV1TxRegistry.registry, ...sparkdreamSparkdreamV1TxRegistry.registry, ...sparkdreamSplitV1TxRegistry.registry];
57
+ export const sparkdreamProtoRegistry = [...sparkdreamBlogV1TxRegistry.registry, ...sparkdreamCollectV1TxRegistry.registry, ...sparkdreamCommonsV1TxRegistry.registry, ...sparkdreamEcosystemV1TxRegistry.registry, ...sparkdreamFederationV1TxRegistry.registry, ...sparkdreamForumV1TxRegistry.registry, ...sparkdreamFutarchyV1TxRegistry.registry, ...sparkdreamGuardianV1TxRegistry.registry, ...sparkdreamNameV1TxRegistry.registry, ...sparkdreamRepV1TxRegistry.registry, ...sparkdreamRevealV1TxRegistry.registry, ...sparkdreamSeasonV1TxRegistry.registry, ...sparkdreamServiceV1TxRegistry.registry, ...sparkdreamSessionV1TxRegistry.registry, ...sparkdreamShieldV1TxRegistry.registry, ...sparkdreamSparkdreamV1TxRegistry.registry, ...sparkdreamSplitV1TxRegistry.registry];
52
58
  export const getSigningSparkdreamClientOptions = ({ defaultTypes = defaultRegistryTypes } = {}) => {
53
59
  const registry = new Registry([...defaultTypes, ...sparkdreamProtoRegistry]);
54
60
  const aminoTypes = new AminoTypes({
@@ -63,7 +63,17 @@ function createBaseParams() {
63
63
  maxPinsPerDay: 0,
64
64
  curatorDemotionCooldown: BigInt(0),
65
65
  curatorDemotionThreshold: "",
66
- curatorOverturnDemotionStreak: BigInt(0)
66
+ curatorOverturnDemotionStreak: BigInt(0),
67
+ curatorUnbondCooldown: BigInt(0),
68
+ makePermanentMinTrustLevel: 0,
69
+ maxMakePermanentPerDay: 0,
70
+ nonMemberCollabDreamStake: "",
71
+ nonMemberCollabBurnFraction: "",
72
+ maxNonMemberCollaboratorsPerCollection: 0,
73
+ maxPromotionsPerBlock: 0,
74
+ endorserRepPenalty: "",
75
+ collabInviterRepPenalty: "",
76
+ authorRepPenalty: ""
67
77
  };
68
78
  }
69
79
  /**
@@ -259,6 +269,36 @@ export const Params = {
259
269
  if (message.curatorOverturnDemotionStreak !== BigInt(0)) {
260
270
  writer.uint32(520).uint64(message.curatorOverturnDemotionStreak);
261
271
  }
272
+ if (message.curatorUnbondCooldown !== BigInt(0)) {
273
+ writer.uint32(528).int64(message.curatorUnbondCooldown);
274
+ }
275
+ if (message.makePermanentMinTrustLevel !== 0) {
276
+ writer.uint32(536).uint32(message.makePermanentMinTrustLevel);
277
+ }
278
+ if (message.maxMakePermanentPerDay !== 0) {
279
+ writer.uint32(600).uint32(message.maxMakePermanentPerDay);
280
+ }
281
+ if (message.nonMemberCollabDreamStake !== "") {
282
+ writer.uint32(546).string(message.nonMemberCollabDreamStake);
283
+ }
284
+ if (message.nonMemberCollabBurnFraction !== "") {
285
+ writer.uint32(554).string(Decimal.fromUserInput(message.nonMemberCollabBurnFraction, 18).atomics);
286
+ }
287
+ if (message.maxNonMemberCollaboratorsPerCollection !== 0) {
288
+ writer.uint32(560).uint32(message.maxNonMemberCollaboratorsPerCollection);
289
+ }
290
+ if (message.maxPromotionsPerBlock !== 0) {
291
+ writer.uint32(568).uint32(message.maxPromotionsPerBlock);
292
+ }
293
+ if (message.endorserRepPenalty !== "") {
294
+ writer.uint32(578).string(Decimal.fromUserInput(message.endorserRepPenalty, 18).atomics);
295
+ }
296
+ if (message.collabInviterRepPenalty !== "") {
297
+ writer.uint32(586).string(Decimal.fromUserInput(message.collabInviterRepPenalty, 18).atomics);
298
+ }
299
+ if (message.authorRepPenalty !== "") {
300
+ writer.uint32(594).string(Decimal.fromUserInput(message.authorRepPenalty, 18).atomics);
301
+ }
262
302
  return writer;
263
303
  },
264
304
  decode(input, length) {
@@ -451,6 +491,36 @@ export const Params = {
451
491
  case 65:
452
492
  message.curatorOverturnDemotionStreak = reader.uint64();
453
493
  break;
494
+ case 66:
495
+ message.curatorUnbondCooldown = reader.int64();
496
+ break;
497
+ case 67:
498
+ message.makePermanentMinTrustLevel = reader.uint32();
499
+ break;
500
+ case 75:
501
+ message.maxMakePermanentPerDay = reader.uint32();
502
+ break;
503
+ case 68:
504
+ message.nonMemberCollabDreamStake = reader.string();
505
+ break;
506
+ case 69:
507
+ message.nonMemberCollabBurnFraction = Decimal.fromAtomics(reader.string(), 18).toString();
508
+ break;
509
+ case 70:
510
+ message.maxNonMemberCollaboratorsPerCollection = reader.uint32();
511
+ break;
512
+ case 71:
513
+ message.maxPromotionsPerBlock = reader.uint32();
514
+ break;
515
+ case 72:
516
+ message.endorserRepPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
517
+ break;
518
+ case 73:
519
+ message.collabInviterRepPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
520
+ break;
521
+ case 74:
522
+ message.authorRepPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
523
+ break;
454
524
  default:
455
525
  reader.skipType(tag & 7);
456
526
  break;
@@ -521,6 +591,16 @@ export const Params = {
521
591
  message.curatorDemotionCooldown = object.curatorDemotionCooldown !== undefined && object.curatorDemotionCooldown !== null ? BigInt(object.curatorDemotionCooldown.toString()) : BigInt(0);
522
592
  message.curatorDemotionThreshold = object.curatorDemotionThreshold ?? "";
523
593
  message.curatorOverturnDemotionStreak = object.curatorOverturnDemotionStreak !== undefined && object.curatorOverturnDemotionStreak !== null ? BigInt(object.curatorOverturnDemotionStreak.toString()) : BigInt(0);
594
+ message.curatorUnbondCooldown = object.curatorUnbondCooldown !== undefined && object.curatorUnbondCooldown !== null ? BigInt(object.curatorUnbondCooldown.toString()) : BigInt(0);
595
+ message.makePermanentMinTrustLevel = object.makePermanentMinTrustLevel ?? 0;
596
+ message.maxMakePermanentPerDay = object.maxMakePermanentPerDay ?? 0;
597
+ message.nonMemberCollabDreamStake = object.nonMemberCollabDreamStake ?? "";
598
+ message.nonMemberCollabBurnFraction = object.nonMemberCollabBurnFraction ?? "";
599
+ message.maxNonMemberCollaboratorsPerCollection = object.maxNonMemberCollaboratorsPerCollection ?? 0;
600
+ message.maxPromotionsPerBlock = object.maxPromotionsPerBlock ?? 0;
601
+ message.endorserRepPenalty = object.endorserRepPenalty ?? "";
602
+ message.collabInviterRepPenalty = object.collabInviterRepPenalty ?? "";
603
+ message.authorRepPenalty = object.authorRepPenalty ?? "";
524
604
  return message;
525
605
  },
526
606
  fromAmino(object) {
@@ -708,6 +788,36 @@ export const Params = {
708
788
  if (object.curator_overturn_demotion_streak !== undefined && object.curator_overturn_demotion_streak !== null) {
709
789
  message.curatorOverturnDemotionStreak = BigInt(object.curator_overturn_demotion_streak);
710
790
  }
791
+ if (object.curator_unbond_cooldown !== undefined && object.curator_unbond_cooldown !== null) {
792
+ message.curatorUnbondCooldown = BigInt(object.curator_unbond_cooldown);
793
+ }
794
+ if (object.make_permanent_min_trust_level !== undefined && object.make_permanent_min_trust_level !== null) {
795
+ message.makePermanentMinTrustLevel = object.make_permanent_min_trust_level;
796
+ }
797
+ if (object.max_make_permanent_per_day !== undefined && object.max_make_permanent_per_day !== null) {
798
+ message.maxMakePermanentPerDay = object.max_make_permanent_per_day;
799
+ }
800
+ if (object.non_member_collab_dream_stake !== undefined && object.non_member_collab_dream_stake !== null) {
801
+ message.nonMemberCollabDreamStake = object.non_member_collab_dream_stake;
802
+ }
803
+ if (object.non_member_collab_burn_fraction !== undefined && object.non_member_collab_burn_fraction !== null) {
804
+ message.nonMemberCollabBurnFraction = object.non_member_collab_burn_fraction;
805
+ }
806
+ if (object.max_non_member_collaborators_per_collection !== undefined && object.max_non_member_collaborators_per_collection !== null) {
807
+ message.maxNonMemberCollaboratorsPerCollection = object.max_non_member_collaborators_per_collection;
808
+ }
809
+ if (object.max_promotions_per_block !== undefined && object.max_promotions_per_block !== null) {
810
+ message.maxPromotionsPerBlock = object.max_promotions_per_block;
811
+ }
812
+ if (object.endorser_rep_penalty !== undefined && object.endorser_rep_penalty !== null) {
813
+ message.endorserRepPenalty = object.endorser_rep_penalty;
814
+ }
815
+ if (object.collab_inviter_rep_penalty !== undefined && object.collab_inviter_rep_penalty !== null) {
816
+ message.collabInviterRepPenalty = object.collab_inviter_rep_penalty;
817
+ }
818
+ if (object.author_rep_penalty !== undefined && object.author_rep_penalty !== null) {
819
+ message.authorRepPenalty = object.author_rep_penalty;
820
+ }
711
821
  return message;
712
822
  },
713
823
  toAmino(message) {
@@ -773,6 +883,16 @@ export const Params = {
773
883
  obj.curator_demotion_cooldown = message.curatorDemotionCooldown !== BigInt(0) ? message.curatorDemotionCooldown?.toString() : undefined;
774
884
  obj.curator_demotion_threshold = message.curatorDemotionThreshold === "" ? undefined : message.curatorDemotionThreshold;
775
885
  obj.curator_overturn_demotion_streak = message.curatorOverturnDemotionStreak !== BigInt(0) ? message.curatorOverturnDemotionStreak?.toString() : undefined;
886
+ obj.curator_unbond_cooldown = message.curatorUnbondCooldown !== BigInt(0) ? message.curatorUnbondCooldown?.toString() : undefined;
887
+ obj.make_permanent_min_trust_level = message.makePermanentMinTrustLevel === 0 ? undefined : message.makePermanentMinTrustLevel;
888
+ obj.max_make_permanent_per_day = message.maxMakePermanentPerDay === 0 ? undefined : message.maxMakePermanentPerDay;
889
+ obj.non_member_collab_dream_stake = message.nonMemberCollabDreamStake === "" ? undefined : message.nonMemberCollabDreamStake;
890
+ obj.non_member_collab_burn_fraction = message.nonMemberCollabBurnFraction === "" ? undefined : message.nonMemberCollabBurnFraction;
891
+ obj.max_non_member_collaborators_per_collection = message.maxNonMemberCollaboratorsPerCollection === 0 ? undefined : message.maxNonMemberCollaboratorsPerCollection;
892
+ obj.max_promotions_per_block = message.maxPromotionsPerBlock === 0 ? undefined : message.maxPromotionsPerBlock;
893
+ obj.endorser_rep_penalty = message.endorserRepPenalty === "" ? undefined : message.endorserRepPenalty;
894
+ obj.collab_inviter_rep_penalty = message.collabInviterRepPenalty === "" ? undefined : message.collabInviterRepPenalty;
895
+ obj.author_rep_penalty = message.authorRepPenalty === "" ? undefined : message.authorRepPenalty;
776
896
  return obj;
777
897
  },
778
898
  fromAminoMsg(object) {
@@ -4546,7 +4546,9 @@ function createBaseMsgPinCollection() {
4546
4546
  };
4547
4547
  }
4548
4548
  /**
4549
- * MsgPinCollection makes an ephemeral collection permanent by burning its deposits.
4549
+ * MsgPinCollection sets the display-only pinned marker on a permanent
4550
+ * collection. Rejects ephemeral targets with ErrCannotPinEphemeral —
4551
+ * callers must promote via MsgMakeCollectionPermanent first.
4550
4552
  * @name MsgPinCollection
4551
4553
  * @package sparkdream.collect.v1
4552
4554
  * @see proto type: sparkdream.collect.v1.MsgPinCollection
@@ -4682,3 +4684,293 @@ export const MsgPinCollectionResponse = {
4682
4684
  };
4683
4685
  }
4684
4686
  };
4687
+ function createBaseMsgUnpinCollection() {
4688
+ return {
4689
+ creator: "",
4690
+ collectionId: BigInt(0)
4691
+ };
4692
+ }
4693
+ /**
4694
+ * MsgUnpinCollection clears the display-only pinned marker. Idempotent on
4695
+ * already-unpinned collections.
4696
+ * @name MsgUnpinCollection
4697
+ * @package sparkdream.collect.v1
4698
+ * @see proto type: sparkdream.collect.v1.MsgUnpinCollection
4699
+ */
4700
+ export const MsgUnpinCollection = {
4701
+ typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
4702
+ aminoType: "sparkdream/x/collect/MsgUnpinCollection",
4703
+ encode(message, writer = BinaryWriter.create()) {
4704
+ if (message.creator !== "") {
4705
+ writer.uint32(10).string(message.creator);
4706
+ }
4707
+ if (message.collectionId !== BigInt(0)) {
4708
+ writer.uint32(16).uint64(message.collectionId);
4709
+ }
4710
+ return writer;
4711
+ },
4712
+ decode(input, length) {
4713
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
4714
+ let end = length === undefined ? reader.len : reader.pos + length;
4715
+ const message = createBaseMsgUnpinCollection();
4716
+ while (reader.pos < end) {
4717
+ const tag = reader.uint32();
4718
+ switch (tag >>> 3) {
4719
+ case 1:
4720
+ message.creator = reader.string();
4721
+ break;
4722
+ case 2:
4723
+ message.collectionId = reader.uint64();
4724
+ break;
4725
+ default:
4726
+ reader.skipType(tag & 7);
4727
+ break;
4728
+ }
4729
+ }
4730
+ return message;
4731
+ },
4732
+ fromPartial(object) {
4733
+ const message = createBaseMsgUnpinCollection();
4734
+ message.creator = object.creator ?? "";
4735
+ message.collectionId = object.collectionId !== undefined && object.collectionId !== null ? BigInt(object.collectionId.toString()) : BigInt(0);
4736
+ return message;
4737
+ },
4738
+ fromAmino(object) {
4739
+ const message = createBaseMsgUnpinCollection();
4740
+ if (object.creator !== undefined && object.creator !== null) {
4741
+ message.creator = object.creator;
4742
+ }
4743
+ if (object.collection_id !== undefined && object.collection_id !== null) {
4744
+ message.collectionId = BigInt(object.collection_id);
4745
+ }
4746
+ return message;
4747
+ },
4748
+ toAmino(message) {
4749
+ const obj = {};
4750
+ obj.creator = message.creator === "" ? undefined : message.creator;
4751
+ obj.collection_id = message.collectionId !== BigInt(0) ? message.collectionId?.toString() : undefined;
4752
+ return obj;
4753
+ },
4754
+ fromAminoMsg(object) {
4755
+ return MsgUnpinCollection.fromAmino(object.value);
4756
+ },
4757
+ toAminoMsg(message) {
4758
+ return {
4759
+ type: "sparkdream/x/collect/MsgUnpinCollection",
4760
+ value: MsgUnpinCollection.toAmino(message)
4761
+ };
4762
+ },
4763
+ fromProtoMsg(message) {
4764
+ return MsgUnpinCollection.decode(message.value);
4765
+ },
4766
+ toProto(message) {
4767
+ return MsgUnpinCollection.encode(message).finish();
4768
+ },
4769
+ toProtoMsg(message) {
4770
+ return {
4771
+ typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
4772
+ value: MsgUnpinCollection.encode(message).finish()
4773
+ };
4774
+ }
4775
+ };
4776
+ function createBaseMsgUnpinCollectionResponse() {
4777
+ return {};
4778
+ }
4779
+ /**
4780
+ * @name MsgUnpinCollectionResponse
4781
+ * @package sparkdream.collect.v1
4782
+ * @see proto type: sparkdream.collect.v1.MsgUnpinCollectionResponse
4783
+ */
4784
+ export const MsgUnpinCollectionResponse = {
4785
+ typeUrl: "/sparkdream.collect.v1.MsgUnpinCollectionResponse",
4786
+ encode(_, writer = BinaryWriter.create()) {
4787
+ return writer;
4788
+ },
4789
+ decode(input, length) {
4790
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
4791
+ let end = length === undefined ? reader.len : reader.pos + length;
4792
+ const message = createBaseMsgUnpinCollectionResponse();
4793
+ while (reader.pos < end) {
4794
+ const tag = reader.uint32();
4795
+ switch (tag >>> 3) {
4796
+ default:
4797
+ reader.skipType(tag & 7);
4798
+ break;
4799
+ }
4800
+ }
4801
+ return message;
4802
+ },
4803
+ fromPartial(_) {
4804
+ const message = createBaseMsgUnpinCollectionResponse();
4805
+ return message;
4806
+ },
4807
+ fromAmino(_) {
4808
+ const message = createBaseMsgUnpinCollectionResponse();
4809
+ return message;
4810
+ },
4811
+ toAmino(_) {
4812
+ const obj = {};
4813
+ return obj;
4814
+ },
4815
+ fromAminoMsg(object) {
4816
+ return MsgUnpinCollectionResponse.fromAmino(object.value);
4817
+ },
4818
+ fromProtoMsg(message) {
4819
+ return MsgUnpinCollectionResponse.decode(message.value);
4820
+ },
4821
+ toProto(message) {
4822
+ return MsgUnpinCollectionResponse.encode(message).finish();
4823
+ },
4824
+ toProtoMsg(message) {
4825
+ return {
4826
+ typeUrl: "/sparkdream.collect.v1.MsgUnpinCollectionResponse",
4827
+ value: MsgUnpinCollectionResponse.encode(message).finish()
4828
+ };
4829
+ }
4830
+ };
4831
+ function createBaseMsgMakeCollectionPermanent() {
4832
+ return {
4833
+ creator: "",
4834
+ collectionId: BigInt(0)
4835
+ };
4836
+ }
4837
+ /**
4838
+ * MsgMakeCollectionPermanent promotes an ephemeral collection to permanent
4839
+ * by burning the escrowed collection + item deposits. Gated on
4840
+ * params.make_permanent_min_trust_level. Idempotent on already-permanent
4841
+ * collections.
4842
+ * @name MsgMakeCollectionPermanent
4843
+ * @package sparkdream.collect.v1
4844
+ * @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanent
4845
+ */
4846
+ export const MsgMakeCollectionPermanent = {
4847
+ typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
4848
+ aminoType: "sparkdream/x/collect/MsgMakeCollectionPermanent",
4849
+ encode(message, writer = BinaryWriter.create()) {
4850
+ if (message.creator !== "") {
4851
+ writer.uint32(10).string(message.creator);
4852
+ }
4853
+ if (message.collectionId !== BigInt(0)) {
4854
+ writer.uint32(16).uint64(message.collectionId);
4855
+ }
4856
+ return writer;
4857
+ },
4858
+ decode(input, length) {
4859
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
4860
+ let end = length === undefined ? reader.len : reader.pos + length;
4861
+ const message = createBaseMsgMakeCollectionPermanent();
4862
+ while (reader.pos < end) {
4863
+ const tag = reader.uint32();
4864
+ switch (tag >>> 3) {
4865
+ case 1:
4866
+ message.creator = reader.string();
4867
+ break;
4868
+ case 2:
4869
+ message.collectionId = reader.uint64();
4870
+ break;
4871
+ default:
4872
+ reader.skipType(tag & 7);
4873
+ break;
4874
+ }
4875
+ }
4876
+ return message;
4877
+ },
4878
+ fromPartial(object) {
4879
+ const message = createBaseMsgMakeCollectionPermanent();
4880
+ message.creator = object.creator ?? "";
4881
+ message.collectionId = object.collectionId !== undefined && object.collectionId !== null ? BigInt(object.collectionId.toString()) : BigInt(0);
4882
+ return message;
4883
+ },
4884
+ fromAmino(object) {
4885
+ const message = createBaseMsgMakeCollectionPermanent();
4886
+ if (object.creator !== undefined && object.creator !== null) {
4887
+ message.creator = object.creator;
4888
+ }
4889
+ if (object.collection_id !== undefined && object.collection_id !== null) {
4890
+ message.collectionId = BigInt(object.collection_id);
4891
+ }
4892
+ return message;
4893
+ },
4894
+ toAmino(message) {
4895
+ const obj = {};
4896
+ obj.creator = message.creator === "" ? undefined : message.creator;
4897
+ obj.collection_id = message.collectionId !== BigInt(0) ? message.collectionId?.toString() : undefined;
4898
+ return obj;
4899
+ },
4900
+ fromAminoMsg(object) {
4901
+ return MsgMakeCollectionPermanent.fromAmino(object.value);
4902
+ },
4903
+ toAminoMsg(message) {
4904
+ return {
4905
+ type: "sparkdream/x/collect/MsgMakeCollectionPermanent",
4906
+ value: MsgMakeCollectionPermanent.toAmino(message)
4907
+ };
4908
+ },
4909
+ fromProtoMsg(message) {
4910
+ return MsgMakeCollectionPermanent.decode(message.value);
4911
+ },
4912
+ toProto(message) {
4913
+ return MsgMakeCollectionPermanent.encode(message).finish();
4914
+ },
4915
+ toProtoMsg(message) {
4916
+ return {
4917
+ typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
4918
+ value: MsgMakeCollectionPermanent.encode(message).finish()
4919
+ };
4920
+ }
4921
+ };
4922
+ function createBaseMsgMakeCollectionPermanentResponse() {
4923
+ return {};
4924
+ }
4925
+ /**
4926
+ * @name MsgMakeCollectionPermanentResponse
4927
+ * @package sparkdream.collect.v1
4928
+ * @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanentResponse
4929
+ */
4930
+ export const MsgMakeCollectionPermanentResponse = {
4931
+ typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse",
4932
+ encode(_, writer = BinaryWriter.create()) {
4933
+ return writer;
4934
+ },
4935
+ decode(input, length) {
4936
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
4937
+ let end = length === undefined ? reader.len : reader.pos + length;
4938
+ const message = createBaseMsgMakeCollectionPermanentResponse();
4939
+ while (reader.pos < end) {
4940
+ const tag = reader.uint32();
4941
+ switch (tag >>> 3) {
4942
+ default:
4943
+ reader.skipType(tag & 7);
4944
+ break;
4945
+ }
4946
+ }
4947
+ return message;
4948
+ },
4949
+ fromPartial(_) {
4950
+ const message = createBaseMsgMakeCollectionPermanentResponse();
4951
+ return message;
4952
+ },
4953
+ fromAmino(_) {
4954
+ const message = createBaseMsgMakeCollectionPermanentResponse();
4955
+ return message;
4956
+ },
4957
+ toAmino(_) {
4958
+ const obj = {};
4959
+ return obj;
4960
+ },
4961
+ fromAminoMsg(object) {
4962
+ return MsgMakeCollectionPermanentResponse.fromAmino(object.value);
4963
+ },
4964
+ fromProtoMsg(message) {
4965
+ return MsgMakeCollectionPermanentResponse.decode(message.value);
4966
+ },
4967
+ toProto(message) {
4968
+ return MsgMakeCollectionPermanentResponse.encode(message).finish();
4969
+ },
4970
+ toProtoMsg(message) {
4971
+ return {
4972
+ typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse",
4973
+ value: MsgMakeCollectionPermanentResponse.encode(message).finish()
4974
+ };
4975
+ }
4976
+ };
@@ -1,5 +1,5 @@
1
- import { MsgUpdateParams, MsgCreateCollection, MsgUpdateCollection, MsgDeleteCollection, MsgAddItem, MsgAddItems, MsgUpdateItem, MsgRemoveItem, MsgRemoveItems, MsgReorderItem, MsgAddCollaborator, MsgRemoveCollaborator, MsgUpdateCollaboratorRole, MsgRateCollection, MsgChallengeReview, MsgRequestSponsorship, MsgCancelSponsorshipRequest, MsgSponsorCollection, MsgUpdateOperationalParams, MsgUpvoteContent, MsgDownvoteContent, MsgFlagContent, MsgHideContent, MsgAppealHide, MsgEndorseCollection, MsgSetSeekingEndorsement, MsgPinCollection } from "./tx";
2
- export const registry = [["/sparkdream.collect.v1.MsgUpdateParams", MsgUpdateParams], ["/sparkdream.collect.v1.MsgCreateCollection", MsgCreateCollection], ["/sparkdream.collect.v1.MsgUpdateCollection", MsgUpdateCollection], ["/sparkdream.collect.v1.MsgDeleteCollection", MsgDeleteCollection], ["/sparkdream.collect.v1.MsgAddItem", MsgAddItem], ["/sparkdream.collect.v1.MsgAddItems", MsgAddItems], ["/sparkdream.collect.v1.MsgUpdateItem", MsgUpdateItem], ["/sparkdream.collect.v1.MsgRemoveItem", MsgRemoveItem], ["/sparkdream.collect.v1.MsgRemoveItems", MsgRemoveItems], ["/sparkdream.collect.v1.MsgReorderItem", MsgReorderItem], ["/sparkdream.collect.v1.MsgAddCollaborator", MsgAddCollaborator], ["/sparkdream.collect.v1.MsgRemoveCollaborator", MsgRemoveCollaborator], ["/sparkdream.collect.v1.MsgUpdateCollaboratorRole", MsgUpdateCollaboratorRole], ["/sparkdream.collect.v1.MsgRateCollection", MsgRateCollection], ["/sparkdream.collect.v1.MsgChallengeReview", MsgChallengeReview], ["/sparkdream.collect.v1.MsgRequestSponsorship", MsgRequestSponsorship], ["/sparkdream.collect.v1.MsgCancelSponsorshipRequest", MsgCancelSponsorshipRequest], ["/sparkdream.collect.v1.MsgSponsorCollection", MsgSponsorCollection], ["/sparkdream.collect.v1.MsgUpdateOperationalParams", MsgUpdateOperationalParams], ["/sparkdream.collect.v1.MsgUpvoteContent", MsgUpvoteContent], ["/sparkdream.collect.v1.MsgDownvoteContent", MsgDownvoteContent], ["/sparkdream.collect.v1.MsgFlagContent", MsgFlagContent], ["/sparkdream.collect.v1.MsgHideContent", MsgHideContent], ["/sparkdream.collect.v1.MsgAppealHide", MsgAppealHide], ["/sparkdream.collect.v1.MsgEndorseCollection", MsgEndorseCollection], ["/sparkdream.collect.v1.MsgSetSeekingEndorsement", MsgSetSeekingEndorsement], ["/sparkdream.collect.v1.MsgPinCollection", MsgPinCollection]];
1
+ import { MsgUpdateParams, MsgCreateCollection, MsgUpdateCollection, MsgDeleteCollection, MsgAddItem, MsgAddItems, MsgUpdateItem, MsgRemoveItem, MsgRemoveItems, MsgReorderItem, MsgAddCollaborator, MsgRemoveCollaborator, MsgUpdateCollaboratorRole, MsgRateCollection, MsgChallengeReview, MsgRequestSponsorship, MsgCancelSponsorshipRequest, MsgSponsorCollection, MsgUpdateOperationalParams, MsgUpvoteContent, MsgDownvoteContent, MsgFlagContent, MsgHideContent, MsgAppealHide, MsgEndorseCollection, MsgSetSeekingEndorsement, MsgPinCollection, MsgUnpinCollection, MsgMakeCollectionPermanent } from "./tx";
2
+ export const registry = [["/sparkdream.collect.v1.MsgUpdateParams", MsgUpdateParams], ["/sparkdream.collect.v1.MsgCreateCollection", MsgCreateCollection], ["/sparkdream.collect.v1.MsgUpdateCollection", MsgUpdateCollection], ["/sparkdream.collect.v1.MsgDeleteCollection", MsgDeleteCollection], ["/sparkdream.collect.v1.MsgAddItem", MsgAddItem], ["/sparkdream.collect.v1.MsgAddItems", MsgAddItems], ["/sparkdream.collect.v1.MsgUpdateItem", MsgUpdateItem], ["/sparkdream.collect.v1.MsgRemoveItem", MsgRemoveItem], ["/sparkdream.collect.v1.MsgRemoveItems", MsgRemoveItems], ["/sparkdream.collect.v1.MsgReorderItem", MsgReorderItem], ["/sparkdream.collect.v1.MsgAddCollaborator", MsgAddCollaborator], ["/sparkdream.collect.v1.MsgRemoveCollaborator", MsgRemoveCollaborator], ["/sparkdream.collect.v1.MsgUpdateCollaboratorRole", MsgUpdateCollaboratorRole], ["/sparkdream.collect.v1.MsgRateCollection", MsgRateCollection], ["/sparkdream.collect.v1.MsgChallengeReview", MsgChallengeReview], ["/sparkdream.collect.v1.MsgRequestSponsorship", MsgRequestSponsorship], ["/sparkdream.collect.v1.MsgCancelSponsorshipRequest", MsgCancelSponsorshipRequest], ["/sparkdream.collect.v1.MsgSponsorCollection", MsgSponsorCollection], ["/sparkdream.collect.v1.MsgUpdateOperationalParams", MsgUpdateOperationalParams], ["/sparkdream.collect.v1.MsgUpvoteContent", MsgUpvoteContent], ["/sparkdream.collect.v1.MsgDownvoteContent", MsgDownvoteContent], ["/sparkdream.collect.v1.MsgFlagContent", MsgFlagContent], ["/sparkdream.collect.v1.MsgHideContent", MsgHideContent], ["/sparkdream.collect.v1.MsgAppealHide", MsgAppealHide], ["/sparkdream.collect.v1.MsgEndorseCollection", MsgEndorseCollection], ["/sparkdream.collect.v1.MsgSetSeekingEndorsement", MsgSetSeekingEndorsement], ["/sparkdream.collect.v1.MsgPinCollection", MsgPinCollection], ["/sparkdream.collect.v1.MsgUnpinCollection", MsgUnpinCollection], ["/sparkdream.collect.v1.MsgMakeCollectionPermanent", MsgMakeCollectionPermanent]];
3
3
  export const load = (protoRegistry) => {
4
4
  registry.forEach(([typeUrl, mod]) => {
5
5
  protoRegistry.register(typeUrl, mod);
@@ -168,6 +168,18 @@ export const MessageComposer = {
168
168
  typeUrl: "/sparkdream.collect.v1.MsgPinCollection",
169
169
  value: MsgPinCollection.encode(value).finish()
170
170
  };
171
+ },
172
+ unpinCollection(value) {
173
+ return {
174
+ typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
175
+ value: MsgUnpinCollection.encode(value).finish()
176
+ };
177
+ },
178
+ makeCollectionPermanent(value) {
179
+ return {
180
+ typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
181
+ value: MsgMakeCollectionPermanent.encode(value).finish()
182
+ };
171
183
  }
172
184
  },
173
185
  withTypeUrl: {
@@ -332,6 +344,18 @@ export const MessageComposer = {
332
344
  typeUrl: "/sparkdream.collect.v1.MsgPinCollection",
333
345
  value
334
346
  };
347
+ },
348
+ unpinCollection(value) {
349
+ return {
350
+ typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
351
+ value
352
+ };
353
+ },
354
+ makeCollectionPermanent(value) {
355
+ return {
356
+ typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
357
+ value
358
+ };
335
359
  }
336
360
  },
337
361
  fromPartial: {
@@ -496,6 +520,18 @@ export const MessageComposer = {
496
520
  typeUrl: "/sparkdream.collect.v1.MsgPinCollection",
497
521
  value: MsgPinCollection.fromPartial(value)
498
522
  };
523
+ },
524
+ unpinCollection(value) {
525
+ return {
526
+ typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
527
+ value: MsgUnpinCollection.fromPartial(value)
528
+ };
529
+ },
530
+ makeCollectionPermanent(value) {
531
+ return {
532
+ typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
533
+ value: MsgMakeCollectionPermanent.fromPartial(value)
534
+ };
499
535
  }
500
536
  }
501
537
  };
@@ -1,5 +1,5 @@
1
1
  import { BinaryReader } from "../../../binary";
2
- import { MsgUpdateParams, MsgUpdateParamsResponse, MsgCreateCollection, MsgCreateCollectionResponse, MsgUpdateCollection, MsgUpdateCollectionResponse, MsgDeleteCollection, MsgDeleteCollectionResponse, MsgAddItem, MsgAddItemResponse, MsgAddItems, MsgAddItemsResponse, MsgUpdateItem, MsgUpdateItemResponse, MsgRemoveItem, MsgRemoveItemResponse, MsgRemoveItems, MsgRemoveItemsResponse, MsgReorderItem, MsgReorderItemResponse, MsgAddCollaborator, MsgAddCollaboratorResponse, MsgRemoveCollaborator, MsgRemoveCollaboratorResponse, MsgUpdateCollaboratorRole, MsgUpdateCollaboratorRoleResponse, MsgRateCollection, MsgRateCollectionResponse, MsgChallengeReview, MsgChallengeReviewResponse, MsgRequestSponsorship, MsgRequestSponsorshipResponse, MsgCancelSponsorshipRequest, MsgCancelSponsorshipRequestResponse, MsgSponsorCollection, MsgSponsorCollectionResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgUpvoteContent, MsgUpvoteContentResponse, MsgDownvoteContent, MsgDownvoteContentResponse, MsgFlagContent, MsgFlagContentResponse, MsgHideContent, MsgHideContentResponse, MsgAppealHide, MsgAppealHideResponse, MsgEndorseCollection, MsgEndorseCollectionResponse, MsgSetSeekingEndorsement, MsgSetSeekingEndorsementResponse, MsgPinCollection, MsgPinCollectionResponse } from "./tx";
2
+ import { MsgUpdateParams, MsgUpdateParamsResponse, MsgCreateCollection, MsgCreateCollectionResponse, MsgUpdateCollection, MsgUpdateCollectionResponse, MsgDeleteCollection, MsgDeleteCollectionResponse, MsgAddItem, MsgAddItemResponse, MsgAddItems, MsgAddItemsResponse, MsgUpdateItem, MsgUpdateItemResponse, MsgRemoveItem, MsgRemoveItemResponse, MsgRemoveItems, MsgRemoveItemsResponse, MsgReorderItem, MsgReorderItemResponse, MsgAddCollaborator, MsgAddCollaboratorResponse, MsgRemoveCollaborator, MsgRemoveCollaboratorResponse, MsgUpdateCollaboratorRole, MsgUpdateCollaboratorRoleResponse, MsgRateCollection, MsgRateCollectionResponse, MsgChallengeReview, MsgChallengeReviewResponse, MsgRequestSponsorship, MsgRequestSponsorshipResponse, MsgCancelSponsorshipRequest, MsgCancelSponsorshipRequestResponse, MsgSponsorCollection, MsgSponsorCollectionResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgUpvoteContent, MsgUpvoteContentResponse, MsgDownvoteContent, MsgDownvoteContentResponse, MsgFlagContent, MsgFlagContentResponse, MsgHideContent, MsgHideContentResponse, MsgAppealHide, MsgAppealHideResponse, MsgEndorseCollection, MsgEndorseCollectionResponse, MsgSetSeekingEndorsement, MsgSetSeekingEndorsementResponse, MsgPinCollection, MsgPinCollectionResponse, MsgUnpinCollection, MsgUnpinCollectionResponse, MsgMakeCollectionPermanent, MsgMakeCollectionPermanentResponse } from "./tx";
3
3
  export class MsgClientImpl {
4
4
  rpc;
5
5
  constructor(rpc) {
@@ -162,12 +162,27 @@ export class MsgClientImpl {
162
162
  const promise = this.rpc.request("sparkdream.collect.v1.Msg", "SetSeekingEndorsement", data);
163
163
  return promise.then(data => MsgSetSeekingEndorsementResponse.decode(new BinaryReader(data)));
164
164
  };
165
- /* PinCollection makes an ephemeral collection permanent by burning its deposits. */
165
+ /* PinCollection sets the display-only pinned marker on a permanent collection.
166
+ Rejects ephemeral targets; lifecycle promotion is owned by MsgMakeCollectionPermanent. */
166
167
  pinCollection = async (request) => {
167
168
  const data = MsgPinCollection.encode(request).finish();
168
169
  const promise = this.rpc.request("sparkdream.collect.v1.Msg", "PinCollection", data);
169
170
  return promise.then(data => MsgPinCollectionResponse.decode(new BinaryReader(data)));
170
171
  };
172
+ /* UnpinCollection clears the display-only pinned marker. */
173
+ unpinCollection = async (request) => {
174
+ const data = MsgUnpinCollection.encode(request).finish();
175
+ const promise = this.rpc.request("sparkdream.collect.v1.Msg", "UnpinCollection", data);
176
+ return promise.then(data => MsgUnpinCollectionResponse.decode(new BinaryReader(data)));
177
+ };
178
+ /* MakeCollectionPermanent flips an ephemeral collection to permanent,
179
+ burning its escrowed collection + item deposits. Gated on
180
+ params.make_permanent_min_trust_level. Idempotent on permanent collections. */
181
+ makeCollectionPermanent = async (request) => {
182
+ const data = MsgMakeCollectionPermanent.encode(request).finish();
183
+ const promise = this.rpc.request("sparkdream.collect.v1.Msg", "MakeCollectionPermanent", data);
184
+ return promise.then(data => MsgMakeCollectionPermanentResponse.decode(new BinaryReader(data)));
185
+ };
171
186
  }
172
187
  export const createClientImpl = (rpc) => {
173
188
  return new MsgClientImpl(rpc);