@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
@@ -1,5 +1,5 @@
1
1
  import { TxRpc } from "../../../types";
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
  /** Msg defines the Msg service. */
4
4
  export interface Msg {
5
5
  updateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
@@ -39,8 +39,19 @@ export interface Msg {
39
39
  endorseCollection(request: MsgEndorseCollection): Promise<MsgEndorseCollectionResponse>;
40
40
  /** SetSeekingEndorsement defines the SetSeekingEndorsement RPC. */
41
41
  setSeekingEndorsement(request: MsgSetSeekingEndorsement): Promise<MsgSetSeekingEndorsementResponse>;
42
- /** PinCollection makes an ephemeral collection permanent by burning its deposits. */
42
+ /**
43
+ * PinCollection sets the display-only pinned marker on a permanent collection.
44
+ * Rejects ephemeral targets; lifecycle promotion is owned by MsgMakeCollectionPermanent.
45
+ */
43
46
  pinCollection(request: MsgPinCollection): Promise<MsgPinCollectionResponse>;
47
+ /** UnpinCollection clears the display-only pinned marker. */
48
+ unpinCollection(request: MsgUnpinCollection): Promise<MsgUnpinCollectionResponse>;
49
+ /**
50
+ * MakeCollectionPermanent flips an ephemeral collection to permanent,
51
+ * burning its escrowed collection + item deposits. Gated on
52
+ * params.make_permanent_min_trust_level. Idempotent on permanent collections.
53
+ */
54
+ makeCollectionPermanent(request: MsgMakeCollectionPermanent): Promise<MsgMakeCollectionPermanentResponse>;
44
55
  }
45
56
  export declare class MsgClientImpl implements Msg {
46
57
  private readonly rpc;
@@ -72,5 +83,7 @@ export declare class MsgClientImpl implements Msg {
72
83
  endorseCollection: (request: MsgEndorseCollection) => Promise<MsgEndorseCollectionResponse>;
73
84
  setSeekingEndorsement: (request: MsgSetSeekingEndorsement) => Promise<MsgSetSeekingEndorsementResponse>;
74
85
  pinCollection: (request: MsgPinCollection) => Promise<MsgPinCollectionResponse>;
86
+ unpinCollection: (request: MsgUnpinCollection) => Promise<MsgUnpinCollectionResponse>;
87
+ makeCollectionPermanent: (request: MsgMakeCollectionPermanent) => Promise<MsgMakeCollectionPermanentResponse>;
75
88
  }
76
89
  export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
@@ -165,12 +165,27 @@ class MsgClientImpl {
165
165
  const promise = this.rpc.request("sparkdream.collect.v1.Msg", "SetSeekingEndorsement", data);
166
166
  return promise.then(data => tx_1.MsgSetSeekingEndorsementResponse.decode(new binary_1.BinaryReader(data)));
167
167
  };
168
- /* PinCollection makes an ephemeral collection permanent by burning its deposits. */
168
+ /* PinCollection sets the display-only pinned marker on a permanent collection.
169
+ Rejects ephemeral targets; lifecycle promotion is owned by MsgMakeCollectionPermanent. */
169
170
  pinCollection = async (request) => {
170
171
  const data = tx_1.MsgPinCollection.encode(request).finish();
171
172
  const promise = this.rpc.request("sparkdream.collect.v1.Msg", "PinCollection", data);
172
173
  return promise.then(data => tx_1.MsgPinCollectionResponse.decode(new binary_1.BinaryReader(data)));
173
174
  };
175
+ /* UnpinCollection clears the display-only pinned marker. */
176
+ unpinCollection = async (request) => {
177
+ const data = tx_1.MsgUnpinCollection.encode(request).finish();
178
+ const promise = this.rpc.request("sparkdream.collect.v1.Msg", "UnpinCollection", data);
179
+ return promise.then(data => tx_1.MsgUnpinCollectionResponse.decode(new binary_1.BinaryReader(data)));
180
+ };
181
+ /* MakeCollectionPermanent flips an ephemeral collection to permanent,
182
+ burning its escrowed collection + item deposits. Gated on
183
+ params.make_permanent_min_trust_level. Idempotent on permanent collections. */
184
+ makeCollectionPermanent = async (request) => {
185
+ const data = tx_1.MsgMakeCollectionPermanent.encode(request).finish();
186
+ const promise = this.rpc.request("sparkdream.collect.v1.Msg", "MakeCollectionPermanent", data);
187
+ return promise.then(data => tx_1.MsgMakeCollectionPermanentResponse.decode(new binary_1.BinaryReader(data)));
188
+ };
174
189
  }
175
190
  exports.MsgClientImpl = MsgClientImpl;
176
191
  const createClientImpl = (rpc) => {
@@ -122,6 +122,20 @@ export interface Collection {
122
122
  immutable: boolean;
123
123
  convictionSustained: boolean;
124
124
  initiativeId: bigint;
125
+ /**
126
+ * pinned is a display-only marker set by MsgPinCollection and cleared by
127
+ * MsgUnpinCollection. Requires the collection to already be permanent
128
+ * (expires_at == 0); does not affect lifecycle. The lifecycle change
129
+ * (ephemeral → permanent + deposit burn) is owned by
130
+ * MsgMakeCollectionPermanent.
131
+ */
132
+ pinned: boolean;
133
+ /**
134
+ * non_member_collaborator_count counts how many of `collaborator_count` are
135
+ * non-members (stake-bearing collaborators). Maintained alongside the total
136
+ * count; bounded by Params.max_non_member_collaborators_per_collection.
137
+ */
138
+ nonMemberCollaboratorCount: number;
125
139
  }
126
140
  export interface CollectionProtoMsg {
127
141
  typeUrl: "/sparkdream.collect.v1.Collection";
@@ -162,6 +176,20 @@ export interface CollectionAmino {
162
176
  immutable?: boolean;
163
177
  conviction_sustained?: boolean;
164
178
  initiative_id?: string;
179
+ /**
180
+ * pinned is a display-only marker set by MsgPinCollection and cleared by
181
+ * MsgUnpinCollection. Requires the collection to already be permanent
182
+ * (expires_at == 0); does not affect lifecycle. The lifecycle change
183
+ * (ephemeral → permanent + deposit burn) is owned by
184
+ * MsgMakeCollectionPermanent.
185
+ */
186
+ pinned?: boolean;
187
+ /**
188
+ * non_member_collaborator_count counts how many of `collaborator_count` are
189
+ * non-members (stake-bearing collaborators). Maintained alongside the total
190
+ * count; bounded by Params.max_non_member_collaborators_per_collection.
191
+ */
192
+ non_member_collaborator_count?: number;
165
193
  }
166
194
  export interface CollectionAminoMsg {
167
195
  type: "/sparkdream.collect.v1.Collection";
@@ -398,6 +426,21 @@ export interface Collaborator {
398
426
  address: string;
399
427
  role: CollaboratorRole;
400
428
  addedAt: bigint;
429
+ /**
430
+ * inviter is the member who added this collaborator. Set only for non-member
431
+ * collaborators (members invite themselves implicitly via the trust-level
432
+ * gate). Used to identify the address whose DREAM stake is locked behind
433
+ * this collaboration.
434
+ */
435
+ inviter: string;
436
+ /**
437
+ * dream_stake is the DREAM amount the inviter locked when the collaborator
438
+ * was added. Zero for member collaborators. Released on RemoveCollaborator
439
+ * when the collection is ACTIVE; a fraction (non_member_collab_burn_fraction)
440
+ * is burned and the remainder refunded when the collection is HIDDEN at
441
+ * removal/deletion time.
442
+ */
443
+ dreamStake: string;
401
444
  }
402
445
  export interface CollaboratorProtoMsg {
403
446
  typeUrl: "/sparkdream.collect.v1.Collaborator";
@@ -414,6 +457,21 @@ export interface CollaboratorAmino {
414
457
  address?: string;
415
458
  role?: CollaboratorRole;
416
459
  added_at?: string;
460
+ /**
461
+ * inviter is the member who added this collaborator. Set only for non-member
462
+ * collaborators (members invite themselves implicitly via the trust-level
463
+ * gate). Used to identify the address whose DREAM stake is locked behind
464
+ * this collaboration.
465
+ */
466
+ inviter?: string;
467
+ /**
468
+ * dream_stake is the DREAM amount the inviter locked when the collaborator
469
+ * was added. Zero for member collaborators. Released on RemoveCollaborator
470
+ * when the collection is ACTIVE; a fraction (non_member_collab_burn_fraction)
471
+ * is burned and the remainder refunded when the collection is HIDDEN at
472
+ * removal/deletion time.
473
+ */
474
+ dream_stake?: string;
417
475
  }
418
476
  export interface CollaboratorAminoMsg {
419
477
  type: "/sparkdream.collect.v1.Collaborator";
@@ -678,6 +736,34 @@ export interface CollectOperationalParams {
678
736
  curatorDemotionCooldown: bigint;
679
737
  curatorDemotionThreshold: string;
680
738
  curatorOverturnDemotionStreak: bigint;
739
+ curatorUnbondCooldown: bigint;
740
+ /**
741
+ * make_permanent_min_trust_level — see Params.make_permanent_min_trust_level.
742
+ */
743
+ makePermanentMinTrustLevel: number;
744
+ /**
745
+ * max_make_permanent_per_day — see Params.max_make_permanent_per_day.
746
+ */
747
+ maxMakePermanentPerDay: number;
748
+ /**
749
+ * non_member_collab_dream_stake is the DREAM amount the inviter locks when
750
+ * adding a non-member as an EDITOR collaborator. Mirrors the endorsement
751
+ * stake model but per-collaborator. See Params.non_member_collab_dream_stake.
752
+ */
753
+ nonMemberCollabDreamStake: string;
754
+ /**
755
+ * non_member_collab_burn_fraction is the fraction of the inviter's locked
756
+ * DREAM that is burned when the collaborator is removed (or the collection
757
+ * is deleted) while the collection's status is HIDDEN. See
758
+ * Params.non_member_collab_burn_fraction.
759
+ */
760
+ nonMemberCollabBurnFraction: string;
761
+ /**
762
+ * Slash rep-penalty parameters — see Params for rationale.
763
+ */
764
+ endorserRepPenalty: string;
765
+ collabInviterRepPenalty: string;
766
+ authorRepPenalty: string;
681
767
  }
682
768
  export interface CollectOperationalParamsProtoMsg {
683
769
  typeUrl: "/sparkdream.collect.v1.CollectOperationalParams";
@@ -742,6 +828,34 @@ export interface CollectOperationalParamsAmino {
742
828
  curator_demotion_cooldown?: string;
743
829
  curator_demotion_threshold?: string;
744
830
  curator_overturn_demotion_streak?: string;
831
+ curator_unbond_cooldown?: string;
832
+ /**
833
+ * make_permanent_min_trust_level — see Params.make_permanent_min_trust_level.
834
+ */
835
+ make_permanent_min_trust_level?: number;
836
+ /**
837
+ * max_make_permanent_per_day — see Params.max_make_permanent_per_day.
838
+ */
839
+ max_make_permanent_per_day?: number;
840
+ /**
841
+ * non_member_collab_dream_stake is the DREAM amount the inviter locks when
842
+ * adding a non-member as an EDITOR collaborator. Mirrors the endorsement
843
+ * stake model but per-collaborator. See Params.non_member_collab_dream_stake.
844
+ */
845
+ non_member_collab_dream_stake?: string;
846
+ /**
847
+ * non_member_collab_burn_fraction is the fraction of the inviter's locked
848
+ * DREAM that is burned when the collaborator is removed (or the collection
849
+ * is deleted) while the collection's status is HIDDEN. See
850
+ * Params.non_member_collab_burn_fraction.
851
+ */
852
+ non_member_collab_burn_fraction?: string;
853
+ /**
854
+ * Slash rep-penalty parameters — see Params for rationale.
855
+ */
856
+ endorser_rep_penalty?: string;
857
+ collab_inviter_rep_penalty?: string;
858
+ author_rep_penalty?: string;
745
859
  }
746
860
  export interface CollectOperationalParamsAminoMsg {
747
861
  type: "/sparkdream.collect.v1.CollectOperationalParams";
@@ -393,7 +393,9 @@ function createBaseCollection() {
393
393
  seekingEndorsement: false,
394
394
  immutable: false,
395
395
  convictionSustained: false,
396
- initiativeId: BigInt(0)
396
+ initiativeId: BigInt(0),
397
+ pinned: false,
398
+ nonMemberCollaboratorCount: 0
397
399
  };
398
400
  }
399
401
  /**
@@ -489,6 +491,12 @@ exports.Collection = {
489
491
  if (message.initiativeId !== BigInt(0)) {
490
492
  writer.uint32(224).uint64(message.initiativeId);
491
493
  }
494
+ if (message.pinned === true) {
495
+ writer.uint32(232).bool(message.pinned);
496
+ }
497
+ if (message.nonMemberCollaboratorCount !== 0) {
498
+ writer.uint32(240).uint32(message.nonMemberCollaboratorCount);
499
+ }
492
500
  return writer;
493
501
  },
494
502
  decode(input, length) {
@@ -582,6 +590,12 @@ exports.Collection = {
582
590
  case 28:
583
591
  message.initiativeId = reader.uint64();
584
592
  break;
593
+ case 29:
594
+ message.pinned = reader.bool();
595
+ break;
596
+ case 30:
597
+ message.nonMemberCollaboratorCount = reader.uint32();
598
+ break;
585
599
  default:
586
600
  reader.skipType(tag & 7);
587
601
  break;
@@ -619,6 +633,8 @@ exports.Collection = {
619
633
  message.immutable = object.immutable ?? false;
620
634
  message.convictionSustained = object.convictionSustained ?? false;
621
635
  message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
636
+ message.pinned = object.pinned ?? false;
637
+ message.nonMemberCollaboratorCount = object.nonMemberCollaboratorCount ?? 0;
622
638
  return message;
623
639
  },
624
640
  fromAmino(object) {
@@ -705,6 +721,12 @@ exports.Collection = {
705
721
  if (object.initiative_id !== undefined && object.initiative_id !== null) {
706
722
  message.initiativeId = BigInt(object.initiative_id);
707
723
  }
724
+ if (object.pinned !== undefined && object.pinned !== null) {
725
+ message.pinned = object.pinned;
726
+ }
727
+ if (object.non_member_collaborator_count !== undefined && object.non_member_collaborator_count !== null) {
728
+ message.nonMemberCollaboratorCount = object.non_member_collaborator_count;
729
+ }
708
730
  return message;
709
731
  },
710
732
  toAmino(message) {
@@ -742,6 +764,8 @@ exports.Collection = {
742
764
  obj.immutable = message.immutable === false ? undefined : message.immutable;
743
765
  obj.conviction_sustained = message.convictionSustained === false ? undefined : message.convictionSustained;
744
766
  obj.initiative_id = message.initiativeId !== BigInt(0) ? message.initiativeId?.toString() : undefined;
767
+ obj.pinned = message.pinned === false ? undefined : message.pinned;
768
+ obj.non_member_collaborator_count = message.nonMemberCollaboratorCount === 0 ? undefined : message.nonMemberCollaboratorCount;
745
769
  return obj;
746
770
  },
747
771
  fromAminoMsg(object) {
@@ -1521,7 +1545,9 @@ function createBaseCollaborator() {
1521
1545
  collectionId: BigInt(0),
1522
1546
  address: "",
1523
1547
  role: 0,
1524
- addedAt: BigInt(0)
1548
+ addedAt: BigInt(0),
1549
+ inviter: "",
1550
+ dreamStake: ""
1525
1551
  };
1526
1552
  }
1527
1553
  /**
@@ -1545,6 +1571,12 @@ exports.Collaborator = {
1545
1571
  if (message.addedAt !== BigInt(0)) {
1546
1572
  writer.uint32(32).int64(message.addedAt);
1547
1573
  }
1574
+ if (message.inviter !== "") {
1575
+ writer.uint32(42).string(message.inviter);
1576
+ }
1577
+ if (message.dreamStake !== "") {
1578
+ writer.uint32(50).string(message.dreamStake);
1579
+ }
1548
1580
  return writer;
1549
1581
  },
1550
1582
  decode(input, length) {
@@ -1566,6 +1598,12 @@ exports.Collaborator = {
1566
1598
  case 4:
1567
1599
  message.addedAt = reader.int64();
1568
1600
  break;
1601
+ case 5:
1602
+ message.inviter = reader.string();
1603
+ break;
1604
+ case 6:
1605
+ message.dreamStake = reader.string();
1606
+ break;
1569
1607
  default:
1570
1608
  reader.skipType(tag & 7);
1571
1609
  break;
@@ -1579,6 +1617,8 @@ exports.Collaborator = {
1579
1617
  message.address = object.address ?? "";
1580
1618
  message.role = object.role ?? 0;
1581
1619
  message.addedAt = object.addedAt !== undefined && object.addedAt !== null ? BigInt(object.addedAt.toString()) : BigInt(0);
1620
+ message.inviter = object.inviter ?? "";
1621
+ message.dreamStake = object.dreamStake ?? "";
1582
1622
  return message;
1583
1623
  },
1584
1624
  fromAmino(object) {
@@ -1595,6 +1635,12 @@ exports.Collaborator = {
1595
1635
  if (object.added_at !== undefined && object.added_at !== null) {
1596
1636
  message.addedAt = BigInt(object.added_at);
1597
1637
  }
1638
+ if (object.inviter !== undefined && object.inviter !== null) {
1639
+ message.inviter = object.inviter;
1640
+ }
1641
+ if (object.dream_stake !== undefined && object.dream_stake !== null) {
1642
+ message.dreamStake = object.dream_stake;
1643
+ }
1598
1644
  return message;
1599
1645
  },
1600
1646
  toAmino(message) {
@@ -1603,6 +1649,8 @@ exports.Collaborator = {
1603
1649
  obj.address = message.address === "" ? undefined : message.address;
1604
1650
  obj.role = message.role === 0 ? undefined : message.role;
1605
1651
  obj.added_at = message.addedAt !== BigInt(0) ? message.addedAt?.toString() : undefined;
1652
+ obj.inviter = message.inviter === "" ? undefined : message.inviter;
1653
+ obj.dream_stake = message.dreamStake === "" ? undefined : message.dreamStake;
1606
1654
  return obj;
1607
1655
  },
1608
1656
  fromAminoMsg(object) {
@@ -2367,7 +2415,15 @@ function createBaseCollectOperationalParams() {
2367
2415
  maxPinsPerDay: 0,
2368
2416
  curatorDemotionCooldown: BigInt(0),
2369
2417
  curatorDemotionThreshold: "",
2370
- curatorOverturnDemotionStreak: BigInt(0)
2418
+ curatorOverturnDemotionStreak: BigInt(0),
2419
+ curatorUnbondCooldown: BigInt(0),
2420
+ makePermanentMinTrustLevel: 0,
2421
+ maxMakePermanentPerDay: 0,
2422
+ nonMemberCollabDreamStake: "",
2423
+ nonMemberCollabBurnFraction: "",
2424
+ endorserRepPenalty: "",
2425
+ collabInviterRepPenalty: "",
2426
+ authorRepPenalty: ""
2371
2427
  };
2372
2428
  }
2373
2429
  /**
@@ -2508,6 +2564,30 @@ exports.CollectOperationalParams = {
2508
2564
  if (message.curatorOverturnDemotionStreak !== BigInt(0)) {
2509
2565
  writer.uint32(376).uint64(message.curatorOverturnDemotionStreak);
2510
2566
  }
2567
+ if (message.curatorUnbondCooldown !== BigInt(0)) {
2568
+ writer.uint32(384).int64(message.curatorUnbondCooldown);
2569
+ }
2570
+ if (message.makePermanentMinTrustLevel !== 0) {
2571
+ writer.uint32(392).uint32(message.makePermanentMinTrustLevel);
2572
+ }
2573
+ if (message.maxMakePermanentPerDay !== 0) {
2574
+ writer.uint32(440).uint32(message.maxMakePermanentPerDay);
2575
+ }
2576
+ if (message.nonMemberCollabDreamStake !== "") {
2577
+ writer.uint32(402).string(message.nonMemberCollabDreamStake);
2578
+ }
2579
+ if (message.nonMemberCollabBurnFraction !== "") {
2580
+ writer.uint32(410).string(math_1.Decimal.fromUserInput(message.nonMemberCollabBurnFraction, 18).atomics);
2581
+ }
2582
+ if (message.endorserRepPenalty !== "") {
2583
+ writer.uint32(418).string(math_1.Decimal.fromUserInput(message.endorserRepPenalty, 18).atomics);
2584
+ }
2585
+ if (message.collabInviterRepPenalty !== "") {
2586
+ writer.uint32(426).string(math_1.Decimal.fromUserInput(message.collabInviterRepPenalty, 18).atomics);
2587
+ }
2588
+ if (message.authorRepPenalty !== "") {
2589
+ writer.uint32(434).string(math_1.Decimal.fromUserInput(message.authorRepPenalty, 18).atomics);
2590
+ }
2511
2591
  return writer;
2512
2592
  },
2513
2593
  decode(input, length) {
@@ -2646,6 +2726,30 @@ exports.CollectOperationalParams = {
2646
2726
  case 47:
2647
2727
  message.curatorOverturnDemotionStreak = reader.uint64();
2648
2728
  break;
2729
+ case 48:
2730
+ message.curatorUnbondCooldown = reader.int64();
2731
+ break;
2732
+ case 49:
2733
+ message.makePermanentMinTrustLevel = reader.uint32();
2734
+ break;
2735
+ case 55:
2736
+ message.maxMakePermanentPerDay = reader.uint32();
2737
+ break;
2738
+ case 50:
2739
+ message.nonMemberCollabDreamStake = reader.string();
2740
+ break;
2741
+ case 51:
2742
+ message.nonMemberCollabBurnFraction = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
2743
+ break;
2744
+ case 52:
2745
+ message.endorserRepPenalty = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
2746
+ break;
2747
+ case 53:
2748
+ message.collabInviterRepPenalty = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
2749
+ break;
2750
+ case 54:
2751
+ message.authorRepPenalty = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
2752
+ break;
2649
2753
  default:
2650
2754
  reader.skipType(tag & 7);
2651
2755
  break;
@@ -2698,6 +2802,14 @@ exports.CollectOperationalParams = {
2698
2802
  message.curatorDemotionCooldown = object.curatorDemotionCooldown !== undefined && object.curatorDemotionCooldown !== null ? BigInt(object.curatorDemotionCooldown.toString()) : BigInt(0);
2699
2803
  message.curatorDemotionThreshold = object.curatorDemotionThreshold ?? "";
2700
2804
  message.curatorOverturnDemotionStreak = object.curatorOverturnDemotionStreak !== undefined && object.curatorOverturnDemotionStreak !== null ? BigInt(object.curatorOverturnDemotionStreak.toString()) : BigInt(0);
2805
+ message.curatorUnbondCooldown = object.curatorUnbondCooldown !== undefined && object.curatorUnbondCooldown !== null ? BigInt(object.curatorUnbondCooldown.toString()) : BigInt(0);
2806
+ message.makePermanentMinTrustLevel = object.makePermanentMinTrustLevel ?? 0;
2807
+ message.maxMakePermanentPerDay = object.maxMakePermanentPerDay ?? 0;
2808
+ message.nonMemberCollabDreamStake = object.nonMemberCollabDreamStake ?? "";
2809
+ message.nonMemberCollabBurnFraction = object.nonMemberCollabBurnFraction ?? "";
2810
+ message.endorserRepPenalty = object.endorserRepPenalty ?? "";
2811
+ message.collabInviterRepPenalty = object.collabInviterRepPenalty ?? "";
2812
+ message.authorRepPenalty = object.authorRepPenalty ?? "";
2701
2813
  return message;
2702
2814
  },
2703
2815
  fromAmino(object) {
@@ -2831,6 +2943,30 @@ exports.CollectOperationalParams = {
2831
2943
  if (object.curator_overturn_demotion_streak !== undefined && object.curator_overturn_demotion_streak !== null) {
2832
2944
  message.curatorOverturnDemotionStreak = BigInt(object.curator_overturn_demotion_streak);
2833
2945
  }
2946
+ if (object.curator_unbond_cooldown !== undefined && object.curator_unbond_cooldown !== null) {
2947
+ message.curatorUnbondCooldown = BigInt(object.curator_unbond_cooldown);
2948
+ }
2949
+ if (object.make_permanent_min_trust_level !== undefined && object.make_permanent_min_trust_level !== null) {
2950
+ message.makePermanentMinTrustLevel = object.make_permanent_min_trust_level;
2951
+ }
2952
+ if (object.max_make_permanent_per_day !== undefined && object.max_make_permanent_per_day !== null) {
2953
+ message.maxMakePermanentPerDay = object.max_make_permanent_per_day;
2954
+ }
2955
+ if (object.non_member_collab_dream_stake !== undefined && object.non_member_collab_dream_stake !== null) {
2956
+ message.nonMemberCollabDreamStake = object.non_member_collab_dream_stake;
2957
+ }
2958
+ if (object.non_member_collab_burn_fraction !== undefined && object.non_member_collab_burn_fraction !== null) {
2959
+ message.nonMemberCollabBurnFraction = object.non_member_collab_burn_fraction;
2960
+ }
2961
+ if (object.endorser_rep_penalty !== undefined && object.endorser_rep_penalty !== null) {
2962
+ message.endorserRepPenalty = object.endorser_rep_penalty;
2963
+ }
2964
+ if (object.collab_inviter_rep_penalty !== undefined && object.collab_inviter_rep_penalty !== null) {
2965
+ message.collabInviterRepPenalty = object.collab_inviter_rep_penalty;
2966
+ }
2967
+ if (object.author_rep_penalty !== undefined && object.author_rep_penalty !== null) {
2968
+ message.authorRepPenalty = object.author_rep_penalty;
2969
+ }
2834
2970
  return message;
2835
2971
  },
2836
2972
  toAmino(message) {
@@ -2878,6 +3014,14 @@ exports.CollectOperationalParams = {
2878
3014
  obj.curator_demotion_cooldown = message.curatorDemotionCooldown !== BigInt(0) ? message.curatorDemotionCooldown?.toString() : undefined;
2879
3015
  obj.curator_demotion_threshold = message.curatorDemotionThreshold === "" ? undefined : message.curatorDemotionThreshold;
2880
3016
  obj.curator_overturn_demotion_streak = message.curatorOverturnDemotionStreak !== BigInt(0) ? message.curatorOverturnDemotionStreak?.toString() : undefined;
3017
+ obj.curator_unbond_cooldown = message.curatorUnbondCooldown !== BigInt(0) ? message.curatorUnbondCooldown?.toString() : undefined;
3018
+ obj.make_permanent_min_trust_level = message.makePermanentMinTrustLevel === 0 ? undefined : message.makePermanentMinTrustLevel;
3019
+ obj.max_make_permanent_per_day = message.maxMakePermanentPerDay === 0 ? undefined : message.maxMakePermanentPerDay;
3020
+ obj.non_member_collab_dream_stake = message.nonMemberCollabDreamStake === "" ? undefined : message.nonMemberCollabDreamStake;
3021
+ obj.non_member_collab_burn_fraction = message.nonMemberCollabBurnFraction === "" ? undefined : message.nonMemberCollabBurnFraction;
3022
+ obj.endorser_rep_penalty = message.endorserRepPenalty === "" ? undefined : message.endorserRepPenalty;
3023
+ obj.collab_inviter_rep_penalty = message.collabInviterRepPenalty === "" ? undefined : message.collabInviterRepPenalty;
3024
+ obj.author_rep_penalty = message.authorRepPenalty === "" ? undefined : message.authorRepPenalty;
2881
3025
  return obj;
2882
3026
  },
2883
3027
  fromAminoMsg(object) {
@@ -2,6 +2,7 @@ import { Params, ParamsAmino } from "./params";
2
2
  import { PolicyPermissions, PolicyPermissionsAmino } from "./policy_permissions";
3
3
  import { Group, GroupAmino, Proposal, ProposalAmino, Member, MemberAmino, DecisionPolicy, DecisionPolicyAmino, Vote, VoteAmino } from "./group";
4
4
  import { Category, CategoryAmino } from "./category";
5
+ import { RecurringSpend, RecurringSpendAmino } from "./recurring_spend";
5
6
  import { BinaryReader, BinaryWriter } from "../../../binary";
6
7
  import { DeepPartial } from "../../../helpers";
7
8
  /**
@@ -53,6 +54,14 @@ export interface GenesisState {
53
54
  * next_category_id is the next auto-increment category ID
54
55
  */
55
56
  nextCategoryId: bigint;
57
+ /**
58
+ * recurring_spends stores all schedules for export.
59
+ */
60
+ recurringSpends: RecurringSpend[];
61
+ /**
62
+ * next_recurring_spend_id is the next auto-increment recurring spend ID.
63
+ */
64
+ nextRecurringSpendId: bigint;
56
65
  }
57
66
  export interface GenesisStateProtoMsg {
58
67
  typeUrl: "/sparkdream.commons.v1.GenesisState";
@@ -107,6 +116,14 @@ export interface GenesisStateAmino {
107
116
  * next_category_id is the next auto-increment category ID
108
117
  */
109
118
  next_category_id?: string;
119
+ /**
120
+ * recurring_spends stores all schedules for export.
121
+ */
122
+ recurring_spends?: RecurringSpendAmino[];
123
+ /**
124
+ * next_recurring_spend_id is the next auto-increment recurring spend ID.
125
+ */
126
+ next_recurring_spend_id?: string;
110
127
  }
111
128
  export interface GenesisStateAminoMsg {
112
129
  type: "/sparkdream.commons.v1.GenesisState";
@@ -6,6 +6,7 @@ const params_1 = require("./params");
6
6
  const policy_permissions_1 = require("./policy_permissions");
7
7
  const group_1 = require("./group");
8
8
  const category_1 = require("./category");
9
+ const recurring_spend_1 = require("./recurring_spend");
9
10
  const binary_1 = require("../../../binary");
10
11
  function createBaseGenesisState() {
11
12
  return {
@@ -20,7 +21,9 @@ function createBaseGenesisState() {
20
21
  policyVersions: [],
21
22
  proposalVotes: [],
22
23
  categoryMap: [],
23
- nextCategoryId: BigInt(0)
24
+ nextCategoryId: BigInt(0),
25
+ recurringSpends: [],
26
+ nextRecurringSpendId: BigInt(0)
24
27
  };
25
28
  }
26
29
  /**
@@ -68,6 +71,12 @@ exports.GenesisState = {
68
71
  if (message.nextCategoryId !== BigInt(0)) {
69
72
  writer.uint32(96).uint64(message.nextCategoryId);
70
73
  }
74
+ for (const v of message.recurringSpends) {
75
+ recurring_spend_1.RecurringSpend.encode(v, writer.uint32(106).fork()).ldelim();
76
+ }
77
+ if (message.nextRecurringSpendId !== BigInt(0)) {
78
+ writer.uint32(112).uint64(message.nextRecurringSpendId);
79
+ }
71
80
  return writer;
72
81
  },
73
82
  decode(input, length) {
@@ -113,6 +122,12 @@ exports.GenesisState = {
113
122
  case 12:
114
123
  message.nextCategoryId = reader.uint64();
115
124
  break;
125
+ case 13:
126
+ message.recurringSpends.push(recurring_spend_1.RecurringSpend.decode(reader, reader.uint32()));
127
+ break;
128
+ case 14:
129
+ message.nextRecurringSpendId = reader.uint64();
130
+ break;
116
131
  default:
117
132
  reader.skipType(tag & 7);
118
133
  break;
@@ -134,6 +149,8 @@ exports.GenesisState = {
134
149
  message.proposalVotes = object.proposalVotes?.map(e => exports.ProposalVotes.fromPartial(e)) || [];
135
150
  message.categoryMap = object.categoryMap?.map(e => category_1.Category.fromPartial(e)) || [];
136
151
  message.nextCategoryId = object.nextCategoryId !== undefined && object.nextCategoryId !== null ? BigInt(object.nextCategoryId.toString()) : BigInt(0);
152
+ message.recurringSpends = object.recurringSpends?.map(e => recurring_spend_1.RecurringSpend.fromPartial(e)) || [];
153
+ message.nextRecurringSpendId = object.nextRecurringSpendId !== undefined && object.nextRecurringSpendId !== null ? BigInt(object.nextRecurringSpendId.toString()) : BigInt(0);
137
154
  return message;
138
155
  },
139
156
  fromAmino(object) {
@@ -158,6 +175,10 @@ exports.GenesisState = {
158
175
  if (object.next_category_id !== undefined && object.next_category_id !== null) {
159
176
  message.nextCategoryId = BigInt(object.next_category_id);
160
177
  }
178
+ message.recurringSpends = object.recurring_spends?.map(e => recurring_spend_1.RecurringSpend.fromAmino(e)) || [];
179
+ if (object.next_recurring_spend_id !== undefined && object.next_recurring_spend_id !== null) {
180
+ message.nextRecurringSpendId = BigInt(object.next_recurring_spend_id);
181
+ }
161
182
  return message;
162
183
  },
163
184
  toAmino(message) {
@@ -214,6 +235,13 @@ exports.GenesisState = {
214
235
  obj.category_map = message.categoryMap;
215
236
  }
216
237
  obj.next_category_id = message.nextCategoryId !== BigInt(0) ? message.nextCategoryId?.toString() : undefined;
238
+ if (message.recurringSpends) {
239
+ obj.recurring_spends = message.recurringSpends.map(e => e ? recurring_spend_1.RecurringSpend.toAmino(e) : undefined);
240
+ }
241
+ else {
242
+ obj.recurring_spends = message.recurringSpends;
243
+ }
244
+ obj.next_recurring_spend_id = message.nextRecurringSpendId !== BigInt(0) ? message.nextRecurringSpendId?.toString() : undefined;
217
245
  return obj;
218
246
  },
219
247
  fromAminoMsg(object) {