@sparkdreamnft/sparkdreamjs 0.0.7 → 0.0.9

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 (676) 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/genesis.js +87 -1
  6. package/esm/sparkdream/blog/v1/params.js +433 -5
  7. package/esm/sparkdream/blog/v1/post.js +205 -2
  8. package/esm/sparkdream/blog/v1/query.js +1363 -0
  9. package/esm/sparkdream/blog/v1/query.lcd.js +105 -2
  10. package/esm/sparkdream/blog/v1/query.rpc.Query.js +75 -3
  11. package/esm/sparkdream/blog/v1/tx.amino.js +61 -1
  12. package/esm/sparkdream/blog/v1/tx.js +1861 -3
  13. package/esm/sparkdream/blog/v1/tx.registry.js +218 -2
  14. package/esm/sparkdream/blog/v1/tx.rpc.msg.js +77 -4
  15. package/esm/sparkdream/blog/v1/types.js +809 -0
  16. package/esm/sparkdream/bundle.js +585 -36
  17. package/esm/sparkdream/client.js +41 -2
  18. package/esm/sparkdream/collect/module/v1/module.js +71 -0
  19. package/esm/sparkdream/collect/v1/genesis.js +271 -0
  20. package/esm/sparkdream/collect/v1/params.js +763 -0
  21. package/esm/sparkdream/collect/v1/query.js +3790 -0
  22. package/esm/sparkdream/collect/v1/query.lcd.js +223 -0
  23. package/esm/sparkdream/collect/v1/query.rpc.Query.js +252 -0
  24. package/esm/sparkdream/collect/v1/tx.amino.js +149 -0
  25. package/esm/sparkdream/collect/v1/tx.js +4767 -0
  26. package/esm/sparkdream/collect/v1/tx.registry.js +537 -0
  27. package/esm/sparkdream/collect/v1/tx.rpc.msg.js +185 -0
  28. package/esm/sparkdream/collect/v1/types.js +3434 -0
  29. package/esm/sparkdream/common/v1/content_type.js +96 -0
  30. package/esm/sparkdream/common/v1/flag_record.js +119 -0
  31. package/esm/sparkdream/common/v1/moderation_reason.js +115 -0
  32. package/esm/sparkdream/commons/module/v1/module.js +71 -0
  33. package/esm/sparkdream/commons/v1/category.js +121 -0
  34. package/esm/sparkdream/commons/v1/genesis.js +561 -0
  35. package/esm/sparkdream/commons/v1/group.js +1116 -0
  36. package/esm/sparkdream/commons/v1/params.js +78 -0
  37. package/esm/sparkdream/commons/v1/policy_permissions.js +86 -0
  38. package/esm/sparkdream/commons/v1/query.js +1629 -0
  39. package/esm/sparkdream/commons/v1/query.lcd.js +96 -0
  40. package/esm/sparkdream/commons/v1/query.rpc.Query.js +120 -0
  41. package/esm/sparkdream/commons/v1/tx.amino.js +99 -0
  42. package/esm/sparkdream/commons/v1/tx.js +3475 -0
  43. package/esm/sparkdream/commons/v1/tx.registry.js +357 -0
  44. package/esm/sparkdream/commons/v1/tx.rpc.msg.js +129 -0
  45. package/esm/sparkdream/ecosystem/module/v1/module.js +71 -0
  46. package/esm/sparkdream/ecosystem/v1/genesis.js +72 -0
  47. package/esm/sparkdream/ecosystem/v1/params.js +65 -0
  48. package/esm/sparkdream/ecosystem/v1/query.js +128 -0
  49. package/esm/sparkdream/ecosystem/v1/query.lcd.js +11 -0
  50. package/esm/sparkdream/ecosystem/v1/query.rpc.Query.js +24 -0
  51. package/esm/sparkdream/ecosystem/v1/tx.amino.js +14 -0
  52. package/esm/sparkdream/ecosystem/v1/tx.js +308 -0
  53. package/esm/sparkdream/ecosystem/v1/tx.registry.js +51 -0
  54. package/esm/sparkdream/ecosystem/v1/tx.rpc.msg.js +24 -0
  55. package/esm/sparkdream/federation/module/v1/module.js +71 -0
  56. package/esm/sparkdream/federation/v1/genesis.js +244 -0
  57. package/esm/sparkdream/federation/v1/packet.js +810 -0
  58. package/esm/sparkdream/federation/v1/params.js +789 -0
  59. package/esm/sparkdream/federation/v1/query.js +2629 -0
  60. package/esm/sparkdream/federation/v1/query.lcd.js +152 -0
  61. package/esm/sparkdream/federation/v1/query.rpc.Query.js +189 -0
  62. package/esm/sparkdream/federation/v1/tx.amino.js +139 -0
  63. package/esm/sparkdream/federation/v1/tx.js +4199 -0
  64. package/esm/sparkdream/federation/v1/tx.registry.js +501 -0
  65. package/esm/sparkdream/federation/v1/tx.rpc.msg.js +173 -0
  66. package/esm/sparkdream/federation/v1/types.js +2571 -0
  67. package/esm/sparkdream/forum/module/v1/module.js +71 -0
  68. package/esm/sparkdream/forum/v1/archive_metadata.js +119 -0
  69. package/esm/sparkdream/forum/v1/bounty.js +183 -0
  70. package/esm/sparkdream/forum/v1/genesis.js +292 -0
  71. package/esm/sparkdream/forum/v1/hide_record.js +154 -0
  72. package/esm/sparkdream/forum/v1/params.js +867 -0
  73. package/esm/sparkdream/forum/v1/post.js +397 -0
  74. package/esm/sparkdream/forum/v1/post_flag.js +254 -0
  75. package/esm/sparkdream/forum/v1/query.js +7167 -0
  76. package/esm/sparkdream/forum/v1/query.lcd.js +420 -0
  77. package/esm/sparkdream/forum/v1/query.rpc.Query.js +461 -0
  78. package/esm/sparkdream/forum/v1/sentinel_activity.js +397 -0
  79. package/esm/sparkdream/forum/v1/thread_follow.js +95 -0
  80. package/esm/sparkdream/forum/v1/thread_follow_count.js +83 -0
  81. package/esm/sparkdream/forum/v1/thread_lock_record.js +155 -0
  82. package/esm/sparkdream/forum/v1/thread_metadata.js +184 -0
  83. package/esm/sparkdream/forum/v1/thread_move_record.js +179 -0
  84. package/esm/sparkdream/forum/v1/tx.amino.js +179 -0
  85. package/esm/sparkdream/forum/v1/tx.js +5169 -0
  86. package/esm/sparkdream/forum/v1/tx.registry.js +645 -0
  87. package/esm/sparkdream/forum/v1/tx.rpc.msg.js +223 -0
  88. package/esm/sparkdream/forum/v1/types.js +542 -0
  89. package/esm/sparkdream/forum/v1/user_rate_limit.js +119 -0
  90. package/esm/sparkdream/forum/v1/user_reaction_limit.js +107 -0
  91. package/esm/sparkdream/futarchy/module/v1/module.js +71 -0
  92. package/esm/sparkdream/futarchy/v1/genesis.js +88 -0
  93. package/esm/sparkdream/futarchy/v1/market.js +240 -0
  94. package/esm/sparkdream/futarchy/v1/params.js +241 -0
  95. package/esm/sparkdream/futarchy/v1/query.js +596 -0
  96. package/esm/sparkdream/futarchy/v1/query.lcd.js +45 -0
  97. package/esm/sparkdream/futarchy/v1/query.rpc.Query.js +53 -0
  98. package/esm/sparkdream/futarchy/v1/tx.amino.js +39 -0
  99. package/esm/sparkdream/futarchy/v1/tx.js +1097 -0
  100. package/esm/sparkdream/futarchy/v1/tx.registry.js +141 -0
  101. package/esm/sparkdream/futarchy/v1/tx.rpc.msg.js +55 -0
  102. package/esm/sparkdream/lcd.js +65 -0
  103. package/esm/sparkdream/name/module/v1/module.js +71 -0
  104. package/esm/sparkdream/name/v1/dispute.js +341 -0
  105. package/esm/sparkdream/name/v1/genesis.js +120 -0
  106. package/esm/sparkdream/name/v1/name_record.js +95 -0
  107. package/esm/sparkdream/name/v1/owner_info.js +95 -0
  108. package/esm/sparkdream/name/v1/params.js +306 -0
  109. package/esm/sparkdream/name/v1/query.js +863 -0
  110. package/esm/sparkdream/name/v1/query.lcd.js +52 -0
  111. package/esm/sparkdream/name/v1/query.rpc.Query.js +71 -0
  112. package/esm/sparkdream/name/v1/tx.amino.js +44 -0
  113. package/esm/sparkdream/name/v1/tx.js +1222 -0
  114. package/esm/sparkdream/name/v1/tx.registry.js +159 -0
  115. package/esm/sparkdream/name/v1/tx.rpc.msg.js +62 -0
  116. package/esm/sparkdream/rep/module/v1/module.js +71 -0
  117. package/esm/sparkdream/rep/v1/accountability.js +172 -0
  118. package/esm/sparkdream/rep/v1/challenge.js +226 -0
  119. package/esm/sparkdream/rep/v1/content_challenge.js +303 -0
  120. package/esm/sparkdream/rep/v1/genesis.js +689 -0
  121. package/esm/sparkdream/rep/v1/gov_action_appeal.js +202 -0
  122. package/esm/sparkdream/rep/v1/initiative.js +558 -0
  123. package/esm/sparkdream/rep/v1/interim.js +426 -0
  124. package/esm/sparkdream/rep/v1/interim_template.js +291 -0
  125. package/esm/sparkdream/rep/v1/invitation.js +251 -0
  126. package/esm/sparkdream/rep/v1/jury_participation.js +131 -0
  127. package/esm/sparkdream/rep/v1/jury_review.js +635 -0
  128. package/esm/sparkdream/rep/v1/member.js +881 -0
  129. package/esm/sparkdream/rep/v1/member_report.js +219 -0
  130. package/esm/sparkdream/rep/v1/member_warning.js +156 -0
  131. package/esm/sparkdream/rep/v1/params.js +2347 -0
  132. package/esm/sparkdream/rep/v1/project.js +557 -0
  133. package/esm/sparkdream/rep/v1/query.js +12156 -0
  134. package/esm/sparkdream/rep/v1/query.lcd.js +663 -0
  135. package/esm/sparkdream/rep/v1/query.rpc.Query.js +756 -0
  136. package/esm/sparkdream/rep/v1/reserved_tag.js +96 -0
  137. package/esm/sparkdream/rep/v1/sentinel_activity.js +214 -0
  138. package/esm/sparkdream/rep/v1/stake.js +575 -0
  139. package/esm/sparkdream/rep/v1/tag.js +120 -0
  140. package/esm/sparkdream/rep/v1/tag_budget.js +143 -0
  141. package/esm/sparkdream/rep/v1/tag_budget_award.js +155 -0
  142. package/esm/sparkdream/rep/v1/tag_report.js +122 -0
  143. package/esm/sparkdream/rep/v1/tx.amino.js +239 -0
  144. package/esm/sparkdream/rep/v1/tx.js +7637 -0
  145. package/esm/sparkdream/rep/v1/tx.registry.js +861 -0
  146. package/esm/sparkdream/rep/v1/tx.rpc.msg.js +300 -0
  147. package/esm/sparkdream/reveal/module/v1/module.js +71 -0
  148. package/esm/sparkdream/reveal/v1/genesis.js +142 -0
  149. package/esm/sparkdream/reveal/v1/params.js +235 -0
  150. package/esm/sparkdream/reveal/v1/query.js +1700 -0
  151. package/esm/sparkdream/reveal/v1/query.lcd.js +101 -0
  152. package/esm/sparkdream/reveal/v1/query.rpc.Query.js +116 -0
  153. package/esm/sparkdream/reveal/v1/tx.amino.js +54 -0
  154. package/esm/sparkdream/reveal/v1/tx.js +1699 -0
  155. package/esm/sparkdream/reveal/v1/tx.registry.js +195 -0
  156. package/esm/sparkdream/reveal/v1/tx.rpc.msg.js +72 -0
  157. package/esm/sparkdream/reveal/v1/types.js +1141 -0
  158. package/esm/sparkdream/rpc.query.js +39 -0
  159. package/esm/sparkdream/rpc.tx.js +39 -0
  160. package/esm/sparkdream/season/module/v1/module.js +71 -0
  161. package/esm/sparkdream/season/v1/achievement.js +142 -0
  162. package/esm/sparkdream/season/v1/display_name_appeal_stake.js +95 -0
  163. package/esm/sparkdream/season/v1/display_name_moderation.js +155 -0
  164. package/esm/sparkdream/season/v1/display_name_report_stake.js +95 -0
  165. package/esm/sparkdream/season/v1/enums.js +391 -0
  166. package/esm/sparkdream/season/v1/epoch_xp_tracker.js +119 -0
  167. package/esm/sparkdream/season/v1/forum_xp_cooldown.js +83 -0
  168. package/esm/sparkdream/season/v1/genesis.js +482 -0
  169. package/esm/sparkdream/season/v1/guild.js +172 -0
  170. package/esm/sparkdream/season/v1/guild_invite.js +107 -0
  171. package/esm/sparkdream/season/v1/guild_membership.js +119 -0
  172. package/esm/sparkdream/season/v1/member_profile.js +296 -0
  173. package/esm/sparkdream/season/v1/member_quest_progress.js +132 -0
  174. package/esm/sparkdream/season/v1/member_registration.js +83 -0
  175. package/esm/sparkdream/season/v1/member_season_snapshot.js +238 -0
  176. package/esm/sparkdream/season/v1/next_season_info.js +83 -0
  177. package/esm/sparkdream/season/v1/nomination.js +428 -0
  178. package/esm/sparkdream/season/v1/params.js +1645 -0
  179. package/esm/sparkdream/season/v1/query.js +10569 -0
  180. package/esm/sparkdream/season/v1/query.lcd.js +598 -0
  181. package/esm/sparkdream/season/v1/query.rpc.Query.js +673 -0
  182. package/esm/sparkdream/season/v1/quest.js +334 -0
  183. package/esm/sparkdream/season/v1/season.js +166 -0
  184. package/esm/sparkdream/season/v1/season_snapshot.js +83 -0
  185. package/esm/sparkdream/season/v1/season_title_eligibility.js +194 -0
  186. package/esm/sparkdream/season/v1/season_transition_state.js +130 -0
  187. package/esm/sparkdream/season/v1/title.js +154 -0
  188. package/esm/sparkdream/season/v1/transition_recovery_state.js +118 -0
  189. package/esm/sparkdream/season/v1/tx.amino.js +219 -0
  190. package/esm/sparkdream/season/v1/tx.js +6823 -0
  191. package/esm/sparkdream/season/v1/tx.registry.js +789 -0
  192. package/esm/sparkdream/season/v1/tx.rpc.msg.js +272 -0
  193. package/esm/sparkdream/season/v1/vote_xp_record.js +83 -0
  194. package/esm/sparkdream/session/module/v1/module.js +71 -0
  195. package/esm/sparkdream/session/v1/genesis.js +88 -0
  196. package/esm/sparkdream/session/v1/params.js +275 -0
  197. package/esm/sparkdream/session/v1/query.js +743 -0
  198. package/esm/sparkdream/session/v1/query.lcd.js +45 -0
  199. package/esm/sparkdream/session/v1/query.rpc.Query.js +60 -0
  200. package/esm/sparkdream/session/v1/session.js +185 -0
  201. package/esm/sparkdream/session/v1/tx.amino.js +29 -0
  202. package/esm/sparkdream/session/v1/tx.js +768 -0
  203. package/esm/sparkdream/session/v1/tx.registry.js +105 -0
  204. package/esm/sparkdream/session/v1/tx.rpc.msg.js +43 -0
  205. package/esm/sparkdream/shield/module/v1/module.js +71 -0
  206. package/esm/sparkdream/shield/v1/genesis.js +301 -0
  207. package/esm/sparkdream/shield/v1/params.js +282 -0
  208. package/esm/sparkdream/shield/v1/query.js +2323 -0
  209. package/esm/sparkdream/shield/v1/query.lcd.js +110 -0
  210. package/esm/sparkdream/shield/v1/query.rpc.Query.js +170 -0
  211. package/esm/sparkdream/shield/v1/tx.amino.js +29 -0
  212. package/esm/sparkdream/shield/v1/tx.js +838 -0
  213. package/esm/sparkdream/shield/v1/tx.registry.js +105 -0
  214. package/esm/sparkdream/shield/v1/tx.rpc.msg.js +43 -0
  215. package/esm/sparkdream/shield/v1/types.js +2427 -0
  216. package/esm/sparkdream/split/module/v1/module.js +71 -0
  217. package/esm/sparkdream/split/v1/genesis.js +88 -0
  218. package/esm/sparkdream/split/v1/params.js +65 -0
  219. package/esm/sparkdream/split/v1/query.js +421 -0
  220. package/esm/sparkdream/split/v1/query.lcd.js +31 -0
  221. package/esm/sparkdream/split/v1/query.rpc.Query.js +44 -0
  222. package/esm/sparkdream/split/v1/share.js +83 -0
  223. package/esm/sparkdream/split/v1/tx.amino.js +9 -0
  224. package/esm/sparkdream/split/v1/tx.js +148 -0
  225. package/esm/sparkdream/split/v1/tx.registry.js +33 -0
  226. package/esm/sparkdream/split/v1/tx.rpc.msg.js +18 -0
  227. package/esm/tendermint/bundle.js +20 -20
  228. package/ibc/bundle.d.ts +90 -90
  229. package/ibc/bundle.js +106 -106
  230. package/package.json +1 -1
  231. package/sparkdream/blog/v1/genesis.d.ts +50 -0
  232. package/sparkdream/blog/v1/genesis.js +87 -1
  233. package/sparkdream/blog/v1/params.d.ts +292 -4
  234. package/sparkdream/blog/v1/params.js +434 -6
  235. package/sparkdream/blog/v1/post.d.ts +162 -0
  236. package/sparkdream/blog/v1/post.js +205 -2
  237. package/sparkdream/blog/v1/query.d.ts +751 -0
  238. package/sparkdream/blog/v1/query.js +1364 -1
  239. package/sparkdream/blog/v1/query.lcd.d.ts +9 -1
  240. package/sparkdream/blog/v1/query.lcd.js +105 -2
  241. package/sparkdream/blog/v1/query.rpc.Query.d.ts +35 -3
  242. package/sparkdream/blog/v1/query.rpc.Query.js +74 -2
  243. package/sparkdream/blog/v1/tx.amino.d.ts +61 -1
  244. package/sparkdream/blog/v1/tx.amino.js +60 -0
  245. package/sparkdream/blog/v1/tx.d.ts +1155 -1
  246. package/sparkdream/blog/v1/tx.js +1861 -3
  247. package/sparkdream/blog/v1/tx.registry.d.ts +145 -1
  248. package/sparkdream/blog/v1/tx.registry.js +217 -1
  249. package/sparkdream/blog/v1/tx.rpc.msg.d.ts +43 -4
  250. package/sparkdream/blog/v1/tx.rpc.msg.js +76 -3
  251. package/sparkdream/blog/v1/types.d.ts +463 -0
  252. package/sparkdream/blog/v1/types.js +818 -0
  253. package/sparkdream/bundle.d.ts +21937 -226
  254. package/sparkdream/bundle.js +585 -36
  255. package/sparkdream/client.d.ts +1250 -0
  256. package/sparkdream/client.js +41 -2
  257. package/sparkdream/collect/module/v1/module.d.ts +54 -0
  258. package/sparkdream/collect/module/v1/module.js +74 -0
  259. package/sparkdream/collect/v1/genesis.d.ts +82 -0
  260. package/sparkdream/collect/v1/genesis.js +274 -0
  261. package/sparkdream/collect/v1/params.d.ts +240 -0
  262. package/sparkdream/collect/v1/params.js +766 -0
  263. package/sparkdream/collect/v1/query.d.ts +2157 -0
  264. package/sparkdream/collect/v1/query.js +3793 -0
  265. package/sparkdream/collect/v1/query.lcd.d.ts +33 -0
  266. package/sparkdream/collect/v1/query.lcd.js +227 -0
  267. package/sparkdream/collect/v1/query.rpc.Query.d.ts +101 -0
  268. package/sparkdream/collect/v1/query.rpc.Query.js +257 -0
  269. package/sparkdream/collect/v1/tx.amino.d.ts +148 -0
  270. package/sparkdream/collect/v1/tx.amino.js +152 -0
  271. package/sparkdream/collect/v1/tx.d.ts +2581 -0
  272. package/sparkdream/collect/v1/tx.js +4771 -0
  273. package/sparkdream/collect/v1/tx.registry.d.ts +361 -0
  274. package/sparkdream/collect/v1/tx.registry.js +541 -0
  275. package/sparkdream/collect/v1/tx.rpc.msg.d.ts +76 -0
  276. package/sparkdream/collect/v1/tx.rpc.msg.js +190 -0
  277. package/sparkdream/collect/v1/types.d.ts +1205 -0
  278. package/sparkdream/collect/v1/types.js +3453 -0
  279. package/sparkdream/common/v1/content_type.d.ts +31 -0
  280. package/sparkdream/common/v1/content_type.js +101 -0
  281. package/sparkdream/common/v1/flag_record.d.ts +58 -0
  282. package/sparkdream/common/v1/flag_record.js +122 -0
  283. package/sparkdream/common/v1/moderation_reason.d.ts +35 -0
  284. package/sparkdream/common/v1/moderation_reason.js +120 -0
  285. package/sparkdream/commons/module/v1/module.d.ts +54 -0
  286. package/sparkdream/commons/module/v1/module.js +74 -0
  287. package/sparkdream/commons/v1/category.d.ts +60 -0
  288. package/sparkdream/commons/v1/category.js +124 -0
  289. package/sparkdream/commons/v1/genesis.d.ts +316 -0
  290. package/sparkdream/commons/v1/genesis.js +564 -0
  291. package/sparkdream/commons/v1/group.d.ts +529 -0
  292. package/sparkdream/commons/v1/group.js +1123 -0
  293. package/sparkdream/commons/v1/params.d.ts +48 -0
  294. package/sparkdream/commons/v1/params.js +81 -0
  295. package/sparkdream/commons/v1/policy_permissions.d.ts +48 -0
  296. package/sparkdream/commons/v1/policy_permissions.js +89 -0
  297. package/sparkdream/commons/v1/query.d.ts +1001 -0
  298. package/sparkdream/commons/v1/query.js +1632 -0
  299. package/sparkdream/commons/v1/query.lcd.d.ts +19 -0
  300. package/sparkdream/commons/v1/query.lcd.js +100 -0
  301. package/sparkdream/commons/v1/query.rpc.Query.d.ts +56 -0
  302. package/sparkdream/commons/v1/query.rpc.Query.js +125 -0
  303. package/sparkdream/commons/v1/tx.amino.d.ts +98 -0
  304. package/sparkdream/commons/v1/tx.amino.js +102 -0
  305. package/sparkdream/commons/v1/tx.d.ts +2028 -0
  306. package/sparkdream/commons/v1/tx.js +3478 -0
  307. package/sparkdream/commons/v1/tx.registry.d.ts +241 -0
  308. package/sparkdream/commons/v1/tx.registry.js +361 -0
  309. package/sparkdream/commons/v1/tx.rpc.msg.d.ts +79 -0
  310. package/sparkdream/commons/v1/tx.rpc.msg.js +134 -0
  311. package/sparkdream/ecosystem/module/v1/module.d.ts +54 -0
  312. package/sparkdream/ecosystem/module/v1/module.js +74 -0
  313. package/sparkdream/ecosystem/v1/genesis.d.ts +53 -0
  314. package/sparkdream/ecosystem/v1/genesis.js +75 -0
  315. package/sparkdream/ecosystem/v1/params.d.ts +46 -0
  316. package/sparkdream/ecosystem/v1/params.js +68 -0
  317. package/sparkdream/ecosystem/v1/query.d.ts +95 -0
  318. package/sparkdream/ecosystem/v1/query.js +131 -0
  319. package/sparkdream/ecosystem/v1/query.lcd.d.ts +9 -0
  320. package/sparkdream/ecosystem/v1/query.lcd.js +15 -0
  321. package/sparkdream/ecosystem/v1/query.rpc.Query.d.ts +16 -0
  322. package/sparkdream/ecosystem/v1/query.rpc.Query.js +29 -0
  323. package/sparkdream/ecosystem/v1/tx.amino.d.ts +13 -0
  324. package/sparkdream/ecosystem/v1/tx.amino.js +17 -0
  325. package/sparkdream/ecosystem/v1/tx.d.ts +201 -0
  326. package/sparkdream/ecosystem/v1/tx.js +311 -0
  327. package/sparkdream/ecosystem/v1/tx.registry.d.ts +37 -0
  328. package/sparkdream/ecosystem/v1/tx.registry.js +55 -0
  329. package/sparkdream/ecosystem/v1/tx.rpc.msg.d.ts +19 -0
  330. package/sparkdream/ecosystem/v1/tx.rpc.msg.js +29 -0
  331. package/sparkdream/federation/module/v1/module.d.ts +54 -0
  332. package/sparkdream/federation/module/v1/module.js +74 -0
  333. package/sparkdream/federation/v1/genesis.d.ts +78 -0
  334. package/sparkdream/federation/v1/genesis.js +247 -0
  335. package/sparkdream/federation/v1/packet.d.ts +397 -0
  336. package/sparkdream/federation/v1/packet.js +813 -0
  337. package/sparkdream/federation/v1/params.d.ts +272 -0
  338. package/sparkdream/federation/v1/params.js +792 -0
  339. package/sparkdream/federation/v1/query.d.ts +1541 -0
  340. package/sparkdream/federation/v1/query.js +2632 -0
  341. package/sparkdream/federation/v1/query.lcd.d.ts +26 -0
  342. package/sparkdream/federation/v1/query.lcd.js +156 -0
  343. package/sparkdream/federation/v1/query.rpc.Query.d.ts +66 -0
  344. package/sparkdream/federation/v1/query.rpc.Query.js +194 -0
  345. package/sparkdream/federation/v1/tx.amino.d.ts +138 -0
  346. package/sparkdream/federation/v1/tx.amino.js +142 -0
  347. package/sparkdream/federation/v1/tx.d.ts +2311 -0
  348. package/sparkdream/federation/v1/tx.js +4203 -0
  349. package/sparkdream/federation/v1/tx.registry.d.ts +337 -0
  350. package/sparkdream/federation/v1/tx.registry.js +505 -0
  351. package/sparkdream/federation/v1/tx.rpc.msg.d.ts +64 -0
  352. package/sparkdream/federation/v1/tx.rpc.msg.js +178 -0
  353. package/sparkdream/federation/v1/types.d.ts +906 -0
  354. package/sparkdream/federation/v1/types.js +2588 -0
  355. package/sparkdream/forum/module/v1/module.d.ts +54 -0
  356. package/sparkdream/forum/module/v1/module.js +74 -0
  357. package/sparkdream/forum/v1/archive_metadata.d.ts +54 -0
  358. package/sparkdream/forum/v1/archive_metadata.js +122 -0
  359. package/sparkdream/forum/v1/bounty.d.ts +65 -0
  360. package/sparkdream/forum/v1/bounty.js +186 -0
  361. package/sparkdream/forum/v1/genesis.d.ts +94 -0
  362. package/sparkdream/forum/v1/genesis.js +295 -0
  363. package/sparkdream/forum/v1/hide_record.d.ts +61 -0
  364. package/sparkdream/forum/v1/hide_record.js +157 -0
  365. package/sparkdream/forum/v1/params.d.ts +450 -0
  366. package/sparkdream/forum/v1/params.js +870 -0
  367. package/sparkdream/forum/v1/post.d.ts +102 -0
  368. package/sparkdream/forum/v1/post.js +400 -0
  369. package/sparkdream/forum/v1/post_flag.d.ts +106 -0
  370. package/sparkdream/forum/v1/post_flag.js +257 -0
  371. package/sparkdream/forum/v1/query.d.ts +4197 -0
  372. package/sparkdream/forum/v1/query.js +7171 -0
  373. package/sparkdream/forum/v1/query.lcd.d.ts +54 -0
  374. package/sparkdream/forum/v1/query.lcd.js +424 -0
  375. package/sparkdream/forum/v1/query.rpc.Query.d.ts +196 -0
  376. package/sparkdream/forum/v1/query.rpc.Query.js +466 -0
  377. package/sparkdream/forum/v1/sentinel_activity.d.ts +106 -0
  378. package/sparkdream/forum/v1/sentinel_activity.js +400 -0
  379. package/sparkdream/forum/v1/thread_follow.d.ts +50 -0
  380. package/sparkdream/forum/v1/thread_follow.js +98 -0
  381. package/sparkdream/forum/v1/thread_follow_count.d.ts +48 -0
  382. package/sparkdream/forum/v1/thread_follow_count.js +86 -0
  383. package/sparkdream/forum/v1/thread_lock_record.d.ts +60 -0
  384. package/sparkdream/forum/v1/thread_lock_record.js +158 -0
  385. package/sparkdream/forum/v1/thread_metadata.d.ts +63 -0
  386. package/sparkdream/forum/v1/thread_metadata.js +187 -0
  387. package/sparkdream/forum/v1/thread_move_record.d.ts +64 -0
  388. package/sparkdream/forum/v1/thread_move_record.js +182 -0
  389. package/sparkdream/forum/v1/tx.amino.d.ts +178 -0
  390. package/sparkdream/forum/v1/tx.amino.js +182 -0
  391. package/sparkdream/forum/v1/tx.d.ts +3191 -0
  392. package/sparkdream/forum/v1/tx.js +5173 -0
  393. package/sparkdream/forum/v1/tx.registry.d.ts +433 -0
  394. package/sparkdream/forum/v1/tx.registry.js +649 -0
  395. package/sparkdream/forum/v1/tx.rpc.msg.d.ts +121 -0
  396. package/sparkdream/forum/v1/tx.rpc.msg.js +228 -0
  397. package/sparkdream/forum/v1/types.d.ts +171 -0
  398. package/sparkdream/forum/v1/types.js +553 -0
  399. package/sparkdream/forum/v1/user_rate_limit.d.ts +54 -0
  400. package/sparkdream/forum/v1/user_rate_limit.js +122 -0
  401. package/sparkdream/forum/v1/user_reaction_limit.d.ts +52 -0
  402. package/sparkdream/forum/v1/user_reaction_limit.js +110 -0
  403. package/sparkdream/futarchy/module/v1/module.d.ts +54 -0
  404. package/sparkdream/futarchy/module/v1/module.js +74 -0
  405. package/sparkdream/futarchy/v1/genesis.d.ts +56 -0
  406. package/sparkdream/futarchy/v1/genesis.js +91 -0
  407. package/sparkdream/futarchy/v1/market.d.ts +104 -0
  408. package/sparkdream/futarchy/v1/market.js +243 -0
  409. package/sparkdream/futarchy/v1/params.d.ts +171 -0
  410. package/sparkdream/futarchy/v1/params.js +244 -0
  411. package/sparkdream/futarchy/v1/query.d.ts +381 -0
  412. package/sparkdream/futarchy/v1/query.js +599 -0
  413. package/sparkdream/futarchy/v1/query.lcd.d.ts +12 -0
  414. package/sparkdream/futarchy/v1/query.lcd.js +49 -0
  415. package/sparkdream/futarchy/v1/query.rpc.Query.d.ts +28 -0
  416. package/sparkdream/futarchy/v1/query.rpc.Query.js +58 -0
  417. package/sparkdream/futarchy/v1/tx.amino.d.ts +38 -0
  418. package/sparkdream/futarchy/v1/tx.amino.js +42 -0
  419. package/sparkdream/futarchy/v1/tx.d.ts +688 -0
  420. package/sparkdream/futarchy/v1/tx.js +1100 -0
  421. package/sparkdream/futarchy/v1/tx.registry.d.ts +97 -0
  422. package/sparkdream/futarchy/v1/tx.registry.js +145 -0
  423. package/sparkdream/futarchy/v1/tx.rpc.msg.d.ts +37 -0
  424. package/sparkdream/futarchy/v1/tx.rpc.msg.js +60 -0
  425. package/sparkdream/lcd.d.ts +39 -0
  426. package/sparkdream/lcd.js +65 -0
  427. package/sparkdream/name/module/v1/module.d.ts +54 -0
  428. package/sparkdream/name/module/v1/module.js +74 -0
  429. package/sparkdream/name/v1/dispute.d.ts +216 -0
  430. package/sparkdream/name/v1/dispute.js +344 -0
  431. package/sparkdream/name/v1/genesis.d.ts +62 -0
  432. package/sparkdream/name/v1/genesis.js +123 -0
  433. package/sparkdream/name/v1/name_record.d.ts +50 -0
  434. package/sparkdream/name/v1/name_record.js +98 -0
  435. package/sparkdream/name/v1/owner_info.d.ts +50 -0
  436. package/sparkdream/name/v1/owner_info.js +98 -0
  437. package/sparkdream/name/v1/params.d.ts +165 -0
  438. package/sparkdream/name/v1/params.js +309 -0
  439. package/sparkdream/name/v1/query.d.ts +544 -0
  440. package/sparkdream/name/v1/query.js +866 -0
  441. package/sparkdream/name/v1/query.lcd.d.ts +14 -0
  442. package/sparkdream/name/v1/query.lcd.js +56 -0
  443. package/sparkdream/name/v1/query.rpc.Query.d.ts +36 -0
  444. package/sparkdream/name/v1/query.rpc.Query.js +76 -0
  445. package/sparkdream/name/v1/tx.amino.d.ts +43 -0
  446. package/sparkdream/name/v1/tx.amino.js +47 -0
  447. package/sparkdream/name/v1/tx.d.ts +804 -0
  448. package/sparkdream/name/v1/tx.js +1225 -0
  449. package/sparkdream/name/v1/tx.registry.d.ts +109 -0
  450. package/sparkdream/name/v1/tx.registry.js +163 -0
  451. package/sparkdream/name/v1/tx.rpc.msg.d.ts +43 -0
  452. package/sparkdream/name/v1/tx.rpc.msg.js +67 -0
  453. package/sparkdream/rep/module/v1/module.d.ts +54 -0
  454. package/sparkdream/rep/module/v1/module.js +74 -0
  455. package/sparkdream/rep/v1/accountability.d.ts +39 -0
  456. package/sparkdream/rep/v1/accountability.js +181 -0
  457. package/sparkdream/rep/v1/challenge.d.ts +74 -0
  458. package/sparkdream/rep/v1/challenge.js +231 -0
  459. package/sparkdream/rep/v1/content_challenge.d.ts +154 -0
  460. package/sparkdream/rep/v1/content_challenge.js +308 -0
  461. package/sparkdream/rep/v1/genesis.d.ts +253 -0
  462. package/sparkdream/rep/v1/genesis.js +692 -0
  463. package/sparkdream/rep/v1/gov_action_appeal.d.ts +69 -0
  464. package/sparkdream/rep/v1/gov_action_appeal.js +205 -0
  465. package/sparkdream/rep/v1/initiative.d.ts +140 -0
  466. package/sparkdream/rep/v1/initiative.js +567 -0
  467. package/sparkdream/rep/v1/interim.d.ts +163 -0
  468. package/sparkdream/rep/v1/interim.js +435 -0
  469. package/sparkdream/rep/v1/interim_template.d.ts +114 -0
  470. package/sparkdream/rep/v1/interim_template.js +296 -0
  471. package/sparkdream/rep/v1/invitation.d.ts +78 -0
  472. package/sparkdream/rep/v1/invitation.js +256 -0
  473. package/sparkdream/rep/v1/jury_participation.d.ts +56 -0
  474. package/sparkdream/rep/v1/jury_participation.js +134 -0
  475. package/sparkdream/rep/v1/jury_review.d.ts +235 -0
  476. package/sparkdream/rep/v1/jury_review.js +640 -0
  477. package/sparkdream/rep/v1/member.d.ts +424 -0
  478. package/sparkdream/rep/v1/member.js +888 -0
  479. package/sparkdream/rep/v1/member_report.d.ts +67 -0
  480. package/sparkdream/rep/v1/member_report.js +222 -0
  481. package/sparkdream/rep/v1/member_warning.d.ts +58 -0
  482. package/sparkdream/rep/v1/member_warning.js +159 -0
  483. package/sparkdream/rep/v1/params.d.ts +1074 -0
  484. package/sparkdream/rep/v1/params.js +2350 -0
  485. package/sparkdream/rep/v1/project.d.ts +172 -0
  486. package/sparkdream/rep/v1/project.js +566 -0
  487. package/sparkdream/rep/v1/query.d.ts +7098 -0
  488. package/sparkdream/rep/v1/query.js +12162 -0
  489. package/sparkdream/rep/v1/query.lcd.d.ts +85 -0
  490. package/sparkdream/rep/v1/query.lcd.js +667 -0
  491. package/sparkdream/rep/v1/query.rpc.Query.d.ts +320 -0
  492. package/sparkdream/rep/v1/query.rpc.Query.js +761 -0
  493. package/sparkdream/rep/v1/reserved_tag.d.ts +53 -0
  494. package/sparkdream/rep/v1/reserved_tag.js +99 -0
  495. package/sparkdream/rep/v1/sentinel_activity.d.ts +79 -0
  496. package/sparkdream/rep/v1/sentinel_activity.js +219 -0
  497. package/sparkdream/rep/v1/stake.d.ts +266 -0
  498. package/sparkdream/rep/v1/stake.js +580 -0
  499. package/sparkdream/rep/v1/tag.d.ts +57 -0
  500. package/sparkdream/rep/v1/tag.js +123 -0
  501. package/sparkdream/rep/v1/tag_budget.d.ts +58 -0
  502. package/sparkdream/rep/v1/tag_budget.js +146 -0
  503. package/sparkdream/rep/v1/tag_budget_award.d.ts +60 -0
  504. package/sparkdream/rep/v1/tag_budget_award.js +158 -0
  505. package/sparkdream/rep/v1/tag_report.d.ts +54 -0
  506. package/sparkdream/rep/v1/tag_report.js +125 -0
  507. package/sparkdream/rep/v1/tx.amino.d.ts +238 -0
  508. package/sparkdream/rep/v1/tx.amino.js +242 -0
  509. package/sparkdream/rep/v1/tx.d.ts +4407 -0
  510. package/sparkdream/rep/v1/tx.js +7643 -0
  511. package/sparkdream/rep/v1/tx.registry.d.ts +577 -0
  512. package/sparkdream/rep/v1/tx.registry.js +865 -0
  513. package/sparkdream/rep/v1/tx.rpc.msg.d.ts +170 -0
  514. package/sparkdream/rep/v1/tx.rpc.msg.js +305 -0
  515. package/sparkdream/reveal/module/v1/module.d.ts +54 -0
  516. package/sparkdream/reveal/module/v1/module.js +74 -0
  517. package/sparkdream/reveal/v1/genesis.d.ts +64 -0
  518. package/sparkdream/reveal/v1/genesis.js +145 -0
  519. package/sparkdream/reveal/v1/params.d.ts +140 -0
  520. package/sparkdream/reveal/v1/params.js +238 -0
  521. package/sparkdream/reveal/v1/query.d.ts +949 -0
  522. package/sparkdream/reveal/v1/query.js +1703 -0
  523. package/sparkdream/reveal/v1/query.lcd.d.ts +19 -0
  524. package/sparkdream/reveal/v1/query.lcd.js +105 -0
  525. package/sparkdream/reveal/v1/query.rpc.Query.d.ts +56 -0
  526. package/sparkdream/reveal/v1/query.rpc.Query.js +121 -0
  527. package/sparkdream/reveal/v1/tx.amino.d.ts +53 -0
  528. package/sparkdream/reveal/v1/tx.amino.js +57 -0
  529. package/sparkdream/reveal/v1/tx.d.ts +1043 -0
  530. package/sparkdream/reveal/v1/tx.js +1702 -0
  531. package/sparkdream/reveal/v1/tx.registry.d.ts +133 -0
  532. package/sparkdream/reveal/v1/tx.registry.js +199 -0
  533. package/sparkdream/reveal/v1/tx.rpc.msg.d.ts +43 -0
  534. package/sparkdream/reveal/v1/tx.rpc.msg.js +77 -0
  535. package/sparkdream/reveal/v1/types.d.ts +455 -0
  536. package/sparkdream/reveal/v1/types.js +1150 -0
  537. package/sparkdream/rpc.query.d.ts +352 -0
  538. package/sparkdream/rpc.query.js +39 -0
  539. package/sparkdream/rpc.tx.d.ts +39 -0
  540. package/sparkdream/rpc.tx.js +39 -0
  541. package/sparkdream/season/module/v1/module.d.ts +54 -0
  542. package/sparkdream/season/module/v1/module.js +74 -0
  543. package/sparkdream/season/v1/achievement.d.ts +101 -0
  544. package/sparkdream/season/v1/achievement.js +145 -0
  545. package/sparkdream/season/v1/display_name_appeal_stake.d.ts +68 -0
  546. package/sparkdream/season/v1/display_name_appeal_stake.js +98 -0
  547. package/sparkdream/season/v1/display_name_moderation.d.ts +60 -0
  548. package/sparkdream/season/v1/display_name_moderation.js +158 -0
  549. package/sparkdream/season/v1/display_name_report_stake.d.ts +68 -0
  550. package/sparkdream/season/v1/display_name_report_stake.js +98 -0
  551. package/sparkdream/season/v1/enums.d.ts +86 -0
  552. package/sparkdream/season/v1/enums.js +406 -0
  553. package/sparkdream/season/v1/epoch_xp_tracker.d.ts +54 -0
  554. package/sparkdream/season/v1/epoch_xp_tracker.js +122 -0
  555. package/sparkdream/season/v1/forum_xp_cooldown.d.ts +48 -0
  556. package/sparkdream/season/v1/forum_xp_cooldown.js +86 -0
  557. package/sparkdream/season/v1/genesis.d.ts +136 -0
  558. package/sparkdream/season/v1/genesis.js +485 -0
  559. package/sparkdream/season/v1/guild.d.ts +117 -0
  560. package/sparkdream/season/v1/guild.js +175 -0
  561. package/sparkdream/season/v1/guild_invite.d.ts +52 -0
  562. package/sparkdream/season/v1/guild_invite.js +110 -0
  563. package/sparkdream/season/v1/guild_membership.d.ts +54 -0
  564. package/sparkdream/season/v1/guild_membership.js +122 -0
  565. package/sparkdream/season/v1/member_profile.d.ts +196 -0
  566. package/sparkdream/season/v1/member_profile.js +299 -0
  567. package/sparkdream/season/v1/member_quest_progress.d.ts +84 -0
  568. package/sparkdream/season/v1/member_quest_progress.js +135 -0
  569. package/sparkdream/season/v1/member_registration.d.ts +48 -0
  570. package/sparkdream/season/v1/member_registration.js +86 -0
  571. package/sparkdream/season/v1/member_season_snapshot.d.ts +145 -0
  572. package/sparkdream/season/v1/member_season_snapshot.js +241 -0
  573. package/sparkdream/season/v1/next_season_info.d.ts +48 -0
  574. package/sparkdream/season/v1/next_season_info.js +86 -0
  575. package/sparkdream/season/v1/nomination.d.ts +194 -0
  576. package/sparkdream/season/v1/nomination.js +431 -0
  577. package/sparkdream/season/v1/params.d.ts +643 -0
  578. package/sparkdream/season/v1/params.js +1648 -0
  579. package/sparkdream/season/v1/query.d.ts +6199 -0
  580. package/sparkdream/season/v1/query.js +10574 -0
  581. package/sparkdream/season/v1/query.lcd.d.ts +76 -0
  582. package/sparkdream/season/v1/query.lcd.js +602 -0
  583. package/sparkdream/season/v1/query.rpc.Query.d.ts +284 -0
  584. package/sparkdream/season/v1/query.rpc.Query.js +678 -0
  585. package/sparkdream/season/v1/quest.d.ts +231 -0
  586. package/sparkdream/season/v1/quest.js +337 -0
  587. package/sparkdream/season/v1/season.d.ts +117 -0
  588. package/sparkdream/season/v1/season.js +169 -0
  589. package/sparkdream/season/v1/season_snapshot.d.ts +48 -0
  590. package/sparkdream/season/v1/season_snapshot.js +86 -0
  591. package/sparkdream/season/v1/season_title_eligibility.d.ts +134 -0
  592. package/sparkdream/season/v1/season_title_eligibility.js +197 -0
  593. package/sparkdream/season/v1/season_transition_state.d.ts +93 -0
  594. package/sparkdream/season/v1/season_transition_state.js +133 -0
  595. package/sparkdream/season/v1/title.d.ts +109 -0
  596. package/sparkdream/season/v1/title.js +157 -0
  597. package/sparkdream/season/v1/transition_recovery_state.d.ts +85 -0
  598. package/sparkdream/season/v1/transition_recovery_state.js +121 -0
  599. package/sparkdream/season/v1/tx.amino.d.ts +218 -0
  600. package/sparkdream/season/v1/tx.amino.js +222 -0
  601. package/sparkdream/season/v1/tx.d.ts +4133 -0
  602. package/sparkdream/season/v1/tx.js +6827 -0
  603. package/sparkdream/season/v1/tx.registry.d.ts +529 -0
  604. package/sparkdream/season/v1/tx.registry.js +793 -0
  605. package/sparkdream/season/v1/tx.rpc.msg.d.ts +144 -0
  606. package/sparkdream/season/v1/tx.rpc.msg.js +277 -0
  607. package/sparkdream/season/v1/vote_xp_record.d.ts +48 -0
  608. package/sparkdream/season/v1/vote_xp_record.js +86 -0
  609. package/sparkdream/session/module/v1/module.d.ts +54 -0
  610. package/sparkdream/session/module/v1/module.js +74 -0
  611. package/sparkdream/session/v1/genesis.d.ts +62 -0
  612. package/sparkdream/session/v1/genesis.js +91 -0
  613. package/sparkdream/session/v1/params.d.ts +168 -0
  614. package/sparkdream/session/v1/params.js +278 -0
  615. package/sparkdream/session/v1/query.d.ts +423 -0
  616. package/sparkdream/session/v1/query.js +746 -0
  617. package/sparkdream/session/v1/query.lcd.d.ts +13 -0
  618. package/sparkdream/session/v1/query.lcd.js +49 -0
  619. package/sparkdream/session/v1/query.rpc.Query.d.ts +32 -0
  620. package/sparkdream/session/v1/query.rpc.Query.js +65 -0
  621. package/sparkdream/session/v1/session.d.ts +125 -0
  622. package/sparkdream/session/v1/session.js +188 -0
  623. package/sparkdream/session/v1/tx.amino.d.ts +28 -0
  624. package/sparkdream/session/v1/tx.amino.js +32 -0
  625. package/sparkdream/session/v1/tx.d.ts +481 -0
  626. package/sparkdream/session/v1/tx.js +771 -0
  627. package/sparkdream/session/v1/tx.registry.d.ts +73 -0
  628. package/sparkdream/session/v1/tx.registry.js +109 -0
  629. package/sparkdream/session/v1/tx.rpc.msg.d.ts +31 -0
  630. package/sparkdream/session/v1/tx.rpc.msg.js +48 -0
  631. package/sparkdream/shield/module/v1/module.d.ts +54 -0
  632. package/sparkdream/shield/module/v1/module.js +74 -0
  633. package/sparkdream/shield/v1/genesis.d.ts +182 -0
  634. package/sparkdream/shield/v1/genesis.js +304 -0
  635. package/sparkdream/shield/v1/params.d.ts +192 -0
  636. package/sparkdream/shield/v1/params.js +285 -0
  637. package/sparkdream/shield/v1/query.d.ts +1406 -0
  638. package/sparkdream/shield/v1/query.js +2326 -0
  639. package/sparkdream/shield/v1/query.lcd.d.ts +25 -0
  640. package/sparkdream/shield/v1/query.lcd.js +114 -0
  641. package/sparkdream/shield/v1/query.rpc.Query.d.ts +80 -0
  642. package/sparkdream/shield/v1/query.rpc.Query.js +175 -0
  643. package/sparkdream/shield/v1/tx.amino.d.ts +28 -0
  644. package/sparkdream/shield/v1/tx.amino.js +32 -0
  645. package/sparkdream/shield/v1/tx.d.ts +542 -0
  646. package/sparkdream/shield/v1/tx.js +841 -0
  647. package/sparkdream/shield/v1/tx.registry.d.ts +73 -0
  648. package/sparkdream/shield/v1/tx.registry.js +109 -0
  649. package/sparkdream/shield/v1/tx.rpc.msg.d.ts +29 -0
  650. package/sparkdream/shield/v1/tx.rpc.msg.js +48 -0
  651. package/sparkdream/shield/v1/types.d.ts +1440 -0
  652. package/sparkdream/shield/v1/types.js +2440 -0
  653. package/sparkdream/split/module/v1/module.d.ts +54 -0
  654. package/sparkdream/split/module/v1/module.js +74 -0
  655. package/sparkdream/split/v1/genesis.d.ts +56 -0
  656. package/sparkdream/split/v1/genesis.js +91 -0
  657. package/sparkdream/split/v1/params.d.ts +46 -0
  658. package/sparkdream/split/v1/params.js +68 -0
  659. package/sparkdream/split/v1/query.d.ts +275 -0
  660. package/sparkdream/split/v1/query.js +424 -0
  661. package/sparkdream/split/v1/query.lcd.d.ts +11 -0
  662. package/sparkdream/split/v1/query.lcd.js +35 -0
  663. package/sparkdream/split/v1/query.rpc.Query.d.ts +24 -0
  664. package/sparkdream/split/v1/query.rpc.Query.js +49 -0
  665. package/sparkdream/split/v1/share.d.ts +48 -0
  666. package/sparkdream/split/v1/share.js +86 -0
  667. package/sparkdream/split/v1/tx.amino.d.ts +8 -0
  668. package/sparkdream/split/v1/tx.amino.js +12 -0
  669. package/sparkdream/split/v1/tx.d.ts +108 -0
  670. package/sparkdream/split/v1/tx.js +151 -0
  671. package/sparkdream/split/v1/tx.registry.d.ts +25 -0
  672. package/sparkdream/split/v1/tx.registry.js +37 -0
  673. package/sparkdream/split/v1/tx.rpc.msg.d.ts +16 -0
  674. package/sparkdream/split/v1/tx.rpc.msg.js +23 -0
  675. package/tendermint/bundle.d.ts +844 -844
  676. package/tendermint/bundle.js +20 -20
@@ -0,0 +1,1645 @@
1
+ //@ts-nocheck
2
+ import { BinaryReader, BinaryWriter } from "../../../binary";
3
+ import { Decimal } from "@interchainjs/math";
4
+ function createBaseParams() {
5
+ return {
6
+ epochBlocks: BigInt(0),
7
+ seasonDurationEpochs: BigInt(0),
8
+ seasonTransitionEpochs: BigInt(0),
9
+ xpVoteCast: BigInt(0),
10
+ xpProposalCreated: BigInt(0),
11
+ xpForumReplyReceived: BigInt(0),
12
+ xpForumMarkedHelpful: BigInt(0),
13
+ xpInviteeFirstInitiative: BigInt(0),
14
+ xpInviteeEstablished: BigInt(0),
15
+ maxVoteXpPerEpoch: 0,
16
+ maxForumXpPerEpoch: BigInt(0),
17
+ maxXpPerEpoch: BigInt(0),
18
+ levelThresholds: [],
19
+ baselineReputation: "",
20
+ minGuildMembers: 0,
21
+ maxGuildMembers: 0,
22
+ maxGuildOfficers: 0,
23
+ guildCreationCost: "",
24
+ guildHopCooldownEpochs: BigInt(0),
25
+ maxGuildsPerSeason: 0,
26
+ minGuildAgeEpochs: BigInt(0),
27
+ maxPendingInvites: 0,
28
+ displayNameMinLength: 0,
29
+ displayNameMaxLength: 0,
30
+ displayNameChangeCooldownEpochs: BigInt(0),
31
+ maxTransitionEpochs: BigInt(0),
32
+ transitionBatchSize: 0,
33
+ maxSeasonExtensions: 0,
34
+ maxExtensionEpochs: BigInt(0),
35
+ guildDescriptionMaxLength: 0,
36
+ guildInviteTtlEpochs: BigInt(0),
37
+ maxQuestObjectives: 0,
38
+ snapshotRetentionSeasons: 0,
39
+ epochTrackerRetentionEpochs: 0,
40
+ voteXpRecordRetentionSeasons: 0,
41
+ forumCooldownRetentionEpochs: 0,
42
+ forumXpMinAccountAgeEpochs: BigInt(0),
43
+ forumXpReciprocalCooldownEpochs: BigInt(0),
44
+ forumXpSelfReplyCooldownEpochs: BigInt(0),
45
+ transitionGracePeriod: 0,
46
+ maxQuestXpReward: BigInt(0),
47
+ usernameMinLength: 0,
48
+ usernameMaxLength: 0,
49
+ usernameChangeCooldownEpochs: BigInt(0),
50
+ usernameCostDream: "",
51
+ transitionMaxRetries: 0,
52
+ maxActiveQuestsPerMember: 0,
53
+ displayNameReportStakeDream: "",
54
+ maxDisplayableTitles: 0,
55
+ inviteCleanupIntervalBlocks: 0,
56
+ inviteCleanupBatchSize: 0,
57
+ maxObjectiveDescriptionLength: 0,
58
+ displayNameAppealStakeDream: "",
59
+ displayNameAppealPeriodBlocks: BigInt(0),
60
+ maxArchivedTitles: 0,
61
+ nominationWindowEpochs: BigInt(0),
62
+ maxNominationsPerMember: BigInt(0),
63
+ retroRewardMaxRecipients: BigInt(0),
64
+ retroRewardMinConviction: "",
65
+ nominationConvictionHalfLifeEpochs: BigInt(0),
66
+ nominationRationaleMaxLength: 0,
67
+ nominationMinTrustLevel: 0,
68
+ nominationStakeMinTrustLevel: 0,
69
+ nominationMinStake: "",
70
+ retroRewardBudgetRatio: "",
71
+ retroRewardBudgetMin: "",
72
+ retroRewardBudgetMax: ""
73
+ };
74
+ }
75
+ /**
76
+ * Params defines the parameters for the module.
77
+ * @name Params
78
+ * @package sparkdream.season.v1
79
+ * @see proto type: sparkdream.season.v1.Params
80
+ */
81
+ export const Params = {
82
+ typeUrl: "/sparkdream.season.v1.Params",
83
+ aminoType: "sparkdream/x/season/Params",
84
+ encode(message, writer = BinaryWriter.create()) {
85
+ if (message.epochBlocks !== BigInt(0)) {
86
+ writer.uint32(8).int64(message.epochBlocks);
87
+ }
88
+ if (message.seasonDurationEpochs !== BigInt(0)) {
89
+ writer.uint32(16).int64(message.seasonDurationEpochs);
90
+ }
91
+ if (message.seasonTransitionEpochs !== BigInt(0)) {
92
+ writer.uint32(24).int64(message.seasonTransitionEpochs);
93
+ }
94
+ if (message.xpVoteCast !== BigInt(0)) {
95
+ writer.uint32(32).uint64(message.xpVoteCast);
96
+ }
97
+ if (message.xpProposalCreated !== BigInt(0)) {
98
+ writer.uint32(40).uint64(message.xpProposalCreated);
99
+ }
100
+ if (message.xpForumReplyReceived !== BigInt(0)) {
101
+ writer.uint32(48).uint64(message.xpForumReplyReceived);
102
+ }
103
+ if (message.xpForumMarkedHelpful !== BigInt(0)) {
104
+ writer.uint32(56).uint64(message.xpForumMarkedHelpful);
105
+ }
106
+ if (message.xpInviteeFirstInitiative !== BigInt(0)) {
107
+ writer.uint32(64).uint64(message.xpInviteeFirstInitiative);
108
+ }
109
+ if (message.xpInviteeEstablished !== BigInt(0)) {
110
+ writer.uint32(72).uint64(message.xpInviteeEstablished);
111
+ }
112
+ if (message.maxVoteXpPerEpoch !== 0) {
113
+ writer.uint32(80).uint32(message.maxVoteXpPerEpoch);
114
+ }
115
+ if (message.maxForumXpPerEpoch !== BigInt(0)) {
116
+ writer.uint32(88).uint64(message.maxForumXpPerEpoch);
117
+ }
118
+ if (message.maxXpPerEpoch !== BigInt(0)) {
119
+ writer.uint32(96).uint64(message.maxXpPerEpoch);
120
+ }
121
+ writer.uint32(106).fork();
122
+ for (const v of message.levelThresholds) {
123
+ writer.uint64(v);
124
+ }
125
+ writer.ldelim();
126
+ if (message.baselineReputation !== "") {
127
+ writer.uint32(114).string(Decimal.fromUserInput(message.baselineReputation, 18).atomics);
128
+ }
129
+ if (message.minGuildMembers !== 0) {
130
+ writer.uint32(120).uint32(message.minGuildMembers);
131
+ }
132
+ if (message.maxGuildMembers !== 0) {
133
+ writer.uint32(128).uint32(message.maxGuildMembers);
134
+ }
135
+ if (message.maxGuildOfficers !== 0) {
136
+ writer.uint32(136).uint32(message.maxGuildOfficers);
137
+ }
138
+ if (message.guildCreationCost !== "") {
139
+ writer.uint32(146).string(message.guildCreationCost);
140
+ }
141
+ if (message.guildHopCooldownEpochs !== BigInt(0)) {
142
+ writer.uint32(152).uint64(message.guildHopCooldownEpochs);
143
+ }
144
+ if (message.maxGuildsPerSeason !== 0) {
145
+ writer.uint32(160).uint32(message.maxGuildsPerSeason);
146
+ }
147
+ if (message.minGuildAgeEpochs !== BigInt(0)) {
148
+ writer.uint32(168).uint64(message.minGuildAgeEpochs);
149
+ }
150
+ if (message.maxPendingInvites !== 0) {
151
+ writer.uint32(176).uint32(message.maxPendingInvites);
152
+ }
153
+ if (message.displayNameMinLength !== 0) {
154
+ writer.uint32(184).uint32(message.displayNameMinLength);
155
+ }
156
+ if (message.displayNameMaxLength !== 0) {
157
+ writer.uint32(192).uint32(message.displayNameMaxLength);
158
+ }
159
+ if (message.displayNameChangeCooldownEpochs !== BigInt(0)) {
160
+ writer.uint32(200).uint64(message.displayNameChangeCooldownEpochs);
161
+ }
162
+ if (message.maxTransitionEpochs !== BigInt(0)) {
163
+ writer.uint32(208).uint64(message.maxTransitionEpochs);
164
+ }
165
+ if (message.transitionBatchSize !== 0) {
166
+ writer.uint32(216).uint32(message.transitionBatchSize);
167
+ }
168
+ if (message.maxSeasonExtensions !== 0) {
169
+ writer.uint32(224).uint32(message.maxSeasonExtensions);
170
+ }
171
+ if (message.maxExtensionEpochs !== BigInt(0)) {
172
+ writer.uint32(232).uint64(message.maxExtensionEpochs);
173
+ }
174
+ if (message.guildDescriptionMaxLength !== 0) {
175
+ writer.uint32(240).uint32(message.guildDescriptionMaxLength);
176
+ }
177
+ if (message.guildInviteTtlEpochs !== BigInt(0)) {
178
+ writer.uint32(248).uint64(message.guildInviteTtlEpochs);
179
+ }
180
+ if (message.maxQuestObjectives !== 0) {
181
+ writer.uint32(256).uint32(message.maxQuestObjectives);
182
+ }
183
+ if (message.snapshotRetentionSeasons !== 0) {
184
+ writer.uint32(264).uint32(message.snapshotRetentionSeasons);
185
+ }
186
+ if (message.epochTrackerRetentionEpochs !== 0) {
187
+ writer.uint32(272).uint32(message.epochTrackerRetentionEpochs);
188
+ }
189
+ if (message.voteXpRecordRetentionSeasons !== 0) {
190
+ writer.uint32(280).uint32(message.voteXpRecordRetentionSeasons);
191
+ }
192
+ if (message.forumCooldownRetentionEpochs !== 0) {
193
+ writer.uint32(288).uint32(message.forumCooldownRetentionEpochs);
194
+ }
195
+ if (message.forumXpMinAccountAgeEpochs !== BigInt(0)) {
196
+ writer.uint32(296).uint64(message.forumXpMinAccountAgeEpochs);
197
+ }
198
+ if (message.forumXpReciprocalCooldownEpochs !== BigInt(0)) {
199
+ writer.uint32(304).uint64(message.forumXpReciprocalCooldownEpochs);
200
+ }
201
+ if (message.forumXpSelfReplyCooldownEpochs !== BigInt(0)) {
202
+ writer.uint32(312).uint64(message.forumXpSelfReplyCooldownEpochs);
203
+ }
204
+ if (message.transitionGracePeriod !== 0) {
205
+ writer.uint32(320).uint32(message.transitionGracePeriod);
206
+ }
207
+ if (message.maxQuestXpReward !== BigInt(0)) {
208
+ writer.uint32(328).uint64(message.maxQuestXpReward);
209
+ }
210
+ if (message.usernameMinLength !== 0) {
211
+ writer.uint32(336).uint32(message.usernameMinLength);
212
+ }
213
+ if (message.usernameMaxLength !== 0) {
214
+ writer.uint32(344).uint32(message.usernameMaxLength);
215
+ }
216
+ if (message.usernameChangeCooldownEpochs !== BigInt(0)) {
217
+ writer.uint32(352).uint64(message.usernameChangeCooldownEpochs);
218
+ }
219
+ if (message.usernameCostDream !== "") {
220
+ writer.uint32(362).string(message.usernameCostDream);
221
+ }
222
+ if (message.transitionMaxRetries !== 0) {
223
+ writer.uint32(368).uint32(message.transitionMaxRetries);
224
+ }
225
+ if (message.maxActiveQuestsPerMember !== 0) {
226
+ writer.uint32(376).uint32(message.maxActiveQuestsPerMember);
227
+ }
228
+ if (message.displayNameReportStakeDream !== "") {
229
+ writer.uint32(386).string(message.displayNameReportStakeDream);
230
+ }
231
+ if (message.maxDisplayableTitles !== 0) {
232
+ writer.uint32(392).uint32(message.maxDisplayableTitles);
233
+ }
234
+ if (message.inviteCleanupIntervalBlocks !== 0) {
235
+ writer.uint32(400).uint32(message.inviteCleanupIntervalBlocks);
236
+ }
237
+ if (message.inviteCleanupBatchSize !== 0) {
238
+ writer.uint32(408).uint32(message.inviteCleanupBatchSize);
239
+ }
240
+ if (message.maxObjectiveDescriptionLength !== 0) {
241
+ writer.uint32(416).uint32(message.maxObjectiveDescriptionLength);
242
+ }
243
+ if (message.displayNameAppealStakeDream !== "") {
244
+ writer.uint32(426).string(message.displayNameAppealStakeDream);
245
+ }
246
+ if (message.displayNameAppealPeriodBlocks !== BigInt(0)) {
247
+ writer.uint32(432).uint64(message.displayNameAppealPeriodBlocks);
248
+ }
249
+ if (message.maxArchivedTitles !== 0) {
250
+ writer.uint32(440).uint32(message.maxArchivedTitles);
251
+ }
252
+ if (message.nominationWindowEpochs !== BigInt(0)) {
253
+ writer.uint32(448).uint64(message.nominationWindowEpochs);
254
+ }
255
+ if (message.maxNominationsPerMember !== BigInt(0)) {
256
+ writer.uint32(456).uint64(message.maxNominationsPerMember);
257
+ }
258
+ if (message.retroRewardMaxRecipients !== BigInt(0)) {
259
+ writer.uint32(464).uint64(message.retroRewardMaxRecipients);
260
+ }
261
+ if (message.retroRewardMinConviction !== "") {
262
+ writer.uint32(474).string(Decimal.fromUserInput(message.retroRewardMinConviction, 18).atomics);
263
+ }
264
+ if (message.nominationConvictionHalfLifeEpochs !== BigInt(0)) {
265
+ writer.uint32(480).uint64(message.nominationConvictionHalfLifeEpochs);
266
+ }
267
+ if (message.nominationRationaleMaxLength !== 0) {
268
+ writer.uint32(488).uint32(message.nominationRationaleMaxLength);
269
+ }
270
+ if (message.nominationMinTrustLevel !== 0) {
271
+ writer.uint32(496).uint32(message.nominationMinTrustLevel);
272
+ }
273
+ if (message.nominationStakeMinTrustLevel !== 0) {
274
+ writer.uint32(504).uint32(message.nominationStakeMinTrustLevel);
275
+ }
276
+ if (message.nominationMinStake !== "") {
277
+ writer.uint32(514).string(Decimal.fromUserInput(message.nominationMinStake, 18).atomics);
278
+ }
279
+ if (message.retroRewardBudgetRatio !== "") {
280
+ writer.uint32(522).string(Decimal.fromUserInput(message.retroRewardBudgetRatio, 18).atomics);
281
+ }
282
+ if (message.retroRewardBudgetMin !== "") {
283
+ writer.uint32(530).string(message.retroRewardBudgetMin);
284
+ }
285
+ if (message.retroRewardBudgetMax !== "") {
286
+ writer.uint32(538).string(message.retroRewardBudgetMax);
287
+ }
288
+ return writer;
289
+ },
290
+ decode(input, length) {
291
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
292
+ let end = length === undefined ? reader.len : reader.pos + length;
293
+ const message = createBaseParams();
294
+ while (reader.pos < end) {
295
+ const tag = reader.uint32();
296
+ switch (tag >>> 3) {
297
+ case 1:
298
+ message.epochBlocks = reader.int64();
299
+ break;
300
+ case 2:
301
+ message.seasonDurationEpochs = reader.int64();
302
+ break;
303
+ case 3:
304
+ message.seasonTransitionEpochs = reader.int64();
305
+ break;
306
+ case 4:
307
+ message.xpVoteCast = reader.uint64();
308
+ break;
309
+ case 5:
310
+ message.xpProposalCreated = reader.uint64();
311
+ break;
312
+ case 6:
313
+ message.xpForumReplyReceived = reader.uint64();
314
+ break;
315
+ case 7:
316
+ message.xpForumMarkedHelpful = reader.uint64();
317
+ break;
318
+ case 8:
319
+ message.xpInviteeFirstInitiative = reader.uint64();
320
+ break;
321
+ case 9:
322
+ message.xpInviteeEstablished = reader.uint64();
323
+ break;
324
+ case 10:
325
+ message.maxVoteXpPerEpoch = reader.uint32();
326
+ break;
327
+ case 11:
328
+ message.maxForumXpPerEpoch = reader.uint64();
329
+ break;
330
+ case 12:
331
+ message.maxXpPerEpoch = reader.uint64();
332
+ break;
333
+ case 13:
334
+ if ((tag & 7) === 2) {
335
+ const end2 = reader.uint32() + reader.pos;
336
+ while (reader.pos < end2) {
337
+ message.levelThresholds.push(reader.uint64());
338
+ }
339
+ }
340
+ else {
341
+ message.levelThresholds.push(reader.uint64());
342
+ }
343
+ break;
344
+ case 14:
345
+ message.baselineReputation = Decimal.fromAtomics(reader.string(), 18).toString();
346
+ break;
347
+ case 15:
348
+ message.minGuildMembers = reader.uint32();
349
+ break;
350
+ case 16:
351
+ message.maxGuildMembers = reader.uint32();
352
+ break;
353
+ case 17:
354
+ message.maxGuildOfficers = reader.uint32();
355
+ break;
356
+ case 18:
357
+ message.guildCreationCost = reader.string();
358
+ break;
359
+ case 19:
360
+ message.guildHopCooldownEpochs = reader.uint64();
361
+ break;
362
+ case 20:
363
+ message.maxGuildsPerSeason = reader.uint32();
364
+ break;
365
+ case 21:
366
+ message.minGuildAgeEpochs = reader.uint64();
367
+ break;
368
+ case 22:
369
+ message.maxPendingInvites = reader.uint32();
370
+ break;
371
+ case 23:
372
+ message.displayNameMinLength = reader.uint32();
373
+ break;
374
+ case 24:
375
+ message.displayNameMaxLength = reader.uint32();
376
+ break;
377
+ case 25:
378
+ message.displayNameChangeCooldownEpochs = reader.uint64();
379
+ break;
380
+ case 26:
381
+ message.maxTransitionEpochs = reader.uint64();
382
+ break;
383
+ case 27:
384
+ message.transitionBatchSize = reader.uint32();
385
+ break;
386
+ case 28:
387
+ message.maxSeasonExtensions = reader.uint32();
388
+ break;
389
+ case 29:
390
+ message.maxExtensionEpochs = reader.uint64();
391
+ break;
392
+ case 30:
393
+ message.guildDescriptionMaxLength = reader.uint32();
394
+ break;
395
+ case 31:
396
+ message.guildInviteTtlEpochs = reader.uint64();
397
+ break;
398
+ case 32:
399
+ message.maxQuestObjectives = reader.uint32();
400
+ break;
401
+ case 33:
402
+ message.snapshotRetentionSeasons = reader.uint32();
403
+ break;
404
+ case 34:
405
+ message.epochTrackerRetentionEpochs = reader.uint32();
406
+ break;
407
+ case 35:
408
+ message.voteXpRecordRetentionSeasons = reader.uint32();
409
+ break;
410
+ case 36:
411
+ message.forumCooldownRetentionEpochs = reader.uint32();
412
+ break;
413
+ case 37:
414
+ message.forumXpMinAccountAgeEpochs = reader.uint64();
415
+ break;
416
+ case 38:
417
+ message.forumXpReciprocalCooldownEpochs = reader.uint64();
418
+ break;
419
+ case 39:
420
+ message.forumXpSelfReplyCooldownEpochs = reader.uint64();
421
+ break;
422
+ case 40:
423
+ message.transitionGracePeriod = reader.uint32();
424
+ break;
425
+ case 41:
426
+ message.maxQuestXpReward = reader.uint64();
427
+ break;
428
+ case 42:
429
+ message.usernameMinLength = reader.uint32();
430
+ break;
431
+ case 43:
432
+ message.usernameMaxLength = reader.uint32();
433
+ break;
434
+ case 44:
435
+ message.usernameChangeCooldownEpochs = reader.uint64();
436
+ break;
437
+ case 45:
438
+ message.usernameCostDream = reader.string();
439
+ break;
440
+ case 46:
441
+ message.transitionMaxRetries = reader.uint32();
442
+ break;
443
+ case 47:
444
+ message.maxActiveQuestsPerMember = reader.uint32();
445
+ break;
446
+ case 48:
447
+ message.displayNameReportStakeDream = reader.string();
448
+ break;
449
+ case 49:
450
+ message.maxDisplayableTitles = reader.uint32();
451
+ break;
452
+ case 50:
453
+ message.inviteCleanupIntervalBlocks = reader.uint32();
454
+ break;
455
+ case 51:
456
+ message.inviteCleanupBatchSize = reader.uint32();
457
+ break;
458
+ case 52:
459
+ message.maxObjectiveDescriptionLength = reader.uint32();
460
+ break;
461
+ case 53:
462
+ message.displayNameAppealStakeDream = reader.string();
463
+ break;
464
+ case 54:
465
+ message.displayNameAppealPeriodBlocks = reader.uint64();
466
+ break;
467
+ case 55:
468
+ message.maxArchivedTitles = reader.uint32();
469
+ break;
470
+ case 56:
471
+ message.nominationWindowEpochs = reader.uint64();
472
+ break;
473
+ case 57:
474
+ message.maxNominationsPerMember = reader.uint64();
475
+ break;
476
+ case 58:
477
+ message.retroRewardMaxRecipients = reader.uint64();
478
+ break;
479
+ case 59:
480
+ message.retroRewardMinConviction = Decimal.fromAtomics(reader.string(), 18).toString();
481
+ break;
482
+ case 60:
483
+ message.nominationConvictionHalfLifeEpochs = reader.uint64();
484
+ break;
485
+ case 61:
486
+ message.nominationRationaleMaxLength = reader.uint32();
487
+ break;
488
+ case 62:
489
+ message.nominationMinTrustLevel = reader.uint32();
490
+ break;
491
+ case 63:
492
+ message.nominationStakeMinTrustLevel = reader.uint32();
493
+ break;
494
+ case 64:
495
+ message.nominationMinStake = Decimal.fromAtomics(reader.string(), 18).toString();
496
+ break;
497
+ case 65:
498
+ message.retroRewardBudgetRatio = Decimal.fromAtomics(reader.string(), 18).toString();
499
+ break;
500
+ case 66:
501
+ message.retroRewardBudgetMin = reader.string();
502
+ break;
503
+ case 67:
504
+ message.retroRewardBudgetMax = reader.string();
505
+ break;
506
+ default:
507
+ reader.skipType(tag & 7);
508
+ break;
509
+ }
510
+ }
511
+ return message;
512
+ },
513
+ fromPartial(object) {
514
+ const message = createBaseParams();
515
+ message.epochBlocks = object.epochBlocks !== undefined && object.epochBlocks !== null ? BigInt(object.epochBlocks.toString()) : BigInt(0);
516
+ message.seasonDurationEpochs = object.seasonDurationEpochs !== undefined && object.seasonDurationEpochs !== null ? BigInt(object.seasonDurationEpochs.toString()) : BigInt(0);
517
+ message.seasonTransitionEpochs = object.seasonTransitionEpochs !== undefined && object.seasonTransitionEpochs !== null ? BigInt(object.seasonTransitionEpochs.toString()) : BigInt(0);
518
+ message.xpVoteCast = object.xpVoteCast !== undefined && object.xpVoteCast !== null ? BigInt(object.xpVoteCast.toString()) : BigInt(0);
519
+ message.xpProposalCreated = object.xpProposalCreated !== undefined && object.xpProposalCreated !== null ? BigInt(object.xpProposalCreated.toString()) : BigInt(0);
520
+ message.xpForumReplyReceived = object.xpForumReplyReceived !== undefined && object.xpForumReplyReceived !== null ? BigInt(object.xpForumReplyReceived.toString()) : BigInt(0);
521
+ message.xpForumMarkedHelpful = object.xpForumMarkedHelpful !== undefined && object.xpForumMarkedHelpful !== null ? BigInt(object.xpForumMarkedHelpful.toString()) : BigInt(0);
522
+ message.xpInviteeFirstInitiative = object.xpInviteeFirstInitiative !== undefined && object.xpInviteeFirstInitiative !== null ? BigInt(object.xpInviteeFirstInitiative.toString()) : BigInt(0);
523
+ message.xpInviteeEstablished = object.xpInviteeEstablished !== undefined && object.xpInviteeEstablished !== null ? BigInt(object.xpInviteeEstablished.toString()) : BigInt(0);
524
+ message.maxVoteXpPerEpoch = object.maxVoteXpPerEpoch ?? 0;
525
+ message.maxForumXpPerEpoch = object.maxForumXpPerEpoch !== undefined && object.maxForumXpPerEpoch !== null ? BigInt(object.maxForumXpPerEpoch.toString()) : BigInt(0);
526
+ message.maxXpPerEpoch = object.maxXpPerEpoch !== undefined && object.maxXpPerEpoch !== null ? BigInt(object.maxXpPerEpoch.toString()) : BigInt(0);
527
+ message.levelThresholds = object.levelThresholds?.map(e => BigInt(e.toString())) || [];
528
+ message.baselineReputation = object.baselineReputation ?? "";
529
+ message.minGuildMembers = object.minGuildMembers ?? 0;
530
+ message.maxGuildMembers = object.maxGuildMembers ?? 0;
531
+ message.maxGuildOfficers = object.maxGuildOfficers ?? 0;
532
+ message.guildCreationCost = object.guildCreationCost ?? "";
533
+ message.guildHopCooldownEpochs = object.guildHopCooldownEpochs !== undefined && object.guildHopCooldownEpochs !== null ? BigInt(object.guildHopCooldownEpochs.toString()) : BigInt(0);
534
+ message.maxGuildsPerSeason = object.maxGuildsPerSeason ?? 0;
535
+ message.minGuildAgeEpochs = object.minGuildAgeEpochs !== undefined && object.minGuildAgeEpochs !== null ? BigInt(object.minGuildAgeEpochs.toString()) : BigInt(0);
536
+ message.maxPendingInvites = object.maxPendingInvites ?? 0;
537
+ message.displayNameMinLength = object.displayNameMinLength ?? 0;
538
+ message.displayNameMaxLength = object.displayNameMaxLength ?? 0;
539
+ message.displayNameChangeCooldownEpochs = object.displayNameChangeCooldownEpochs !== undefined && object.displayNameChangeCooldownEpochs !== null ? BigInt(object.displayNameChangeCooldownEpochs.toString()) : BigInt(0);
540
+ message.maxTransitionEpochs = object.maxTransitionEpochs !== undefined && object.maxTransitionEpochs !== null ? BigInt(object.maxTransitionEpochs.toString()) : BigInt(0);
541
+ message.transitionBatchSize = object.transitionBatchSize ?? 0;
542
+ message.maxSeasonExtensions = object.maxSeasonExtensions ?? 0;
543
+ message.maxExtensionEpochs = object.maxExtensionEpochs !== undefined && object.maxExtensionEpochs !== null ? BigInt(object.maxExtensionEpochs.toString()) : BigInt(0);
544
+ message.guildDescriptionMaxLength = object.guildDescriptionMaxLength ?? 0;
545
+ message.guildInviteTtlEpochs = object.guildInviteTtlEpochs !== undefined && object.guildInviteTtlEpochs !== null ? BigInt(object.guildInviteTtlEpochs.toString()) : BigInt(0);
546
+ message.maxQuestObjectives = object.maxQuestObjectives ?? 0;
547
+ message.snapshotRetentionSeasons = object.snapshotRetentionSeasons ?? 0;
548
+ message.epochTrackerRetentionEpochs = object.epochTrackerRetentionEpochs ?? 0;
549
+ message.voteXpRecordRetentionSeasons = object.voteXpRecordRetentionSeasons ?? 0;
550
+ message.forumCooldownRetentionEpochs = object.forumCooldownRetentionEpochs ?? 0;
551
+ message.forumXpMinAccountAgeEpochs = object.forumXpMinAccountAgeEpochs !== undefined && object.forumXpMinAccountAgeEpochs !== null ? BigInt(object.forumXpMinAccountAgeEpochs.toString()) : BigInt(0);
552
+ message.forumXpReciprocalCooldownEpochs = object.forumXpReciprocalCooldownEpochs !== undefined && object.forumXpReciprocalCooldownEpochs !== null ? BigInt(object.forumXpReciprocalCooldownEpochs.toString()) : BigInt(0);
553
+ message.forumXpSelfReplyCooldownEpochs = object.forumXpSelfReplyCooldownEpochs !== undefined && object.forumXpSelfReplyCooldownEpochs !== null ? BigInt(object.forumXpSelfReplyCooldownEpochs.toString()) : BigInt(0);
554
+ message.transitionGracePeriod = object.transitionGracePeriod ?? 0;
555
+ message.maxQuestXpReward = object.maxQuestXpReward !== undefined && object.maxQuestXpReward !== null ? BigInt(object.maxQuestXpReward.toString()) : BigInt(0);
556
+ message.usernameMinLength = object.usernameMinLength ?? 0;
557
+ message.usernameMaxLength = object.usernameMaxLength ?? 0;
558
+ message.usernameChangeCooldownEpochs = object.usernameChangeCooldownEpochs !== undefined && object.usernameChangeCooldownEpochs !== null ? BigInt(object.usernameChangeCooldownEpochs.toString()) : BigInt(0);
559
+ message.usernameCostDream = object.usernameCostDream ?? "";
560
+ message.transitionMaxRetries = object.transitionMaxRetries ?? 0;
561
+ message.maxActiveQuestsPerMember = object.maxActiveQuestsPerMember ?? 0;
562
+ message.displayNameReportStakeDream = object.displayNameReportStakeDream ?? "";
563
+ message.maxDisplayableTitles = object.maxDisplayableTitles ?? 0;
564
+ message.inviteCleanupIntervalBlocks = object.inviteCleanupIntervalBlocks ?? 0;
565
+ message.inviteCleanupBatchSize = object.inviteCleanupBatchSize ?? 0;
566
+ message.maxObjectiveDescriptionLength = object.maxObjectiveDescriptionLength ?? 0;
567
+ message.displayNameAppealStakeDream = object.displayNameAppealStakeDream ?? "";
568
+ message.displayNameAppealPeriodBlocks = object.displayNameAppealPeriodBlocks !== undefined && object.displayNameAppealPeriodBlocks !== null ? BigInt(object.displayNameAppealPeriodBlocks.toString()) : BigInt(0);
569
+ message.maxArchivedTitles = object.maxArchivedTitles ?? 0;
570
+ message.nominationWindowEpochs = object.nominationWindowEpochs !== undefined && object.nominationWindowEpochs !== null ? BigInt(object.nominationWindowEpochs.toString()) : BigInt(0);
571
+ message.maxNominationsPerMember = object.maxNominationsPerMember !== undefined && object.maxNominationsPerMember !== null ? BigInt(object.maxNominationsPerMember.toString()) : BigInt(0);
572
+ message.retroRewardMaxRecipients = object.retroRewardMaxRecipients !== undefined && object.retroRewardMaxRecipients !== null ? BigInt(object.retroRewardMaxRecipients.toString()) : BigInt(0);
573
+ message.retroRewardMinConviction = object.retroRewardMinConviction ?? "";
574
+ message.nominationConvictionHalfLifeEpochs = object.nominationConvictionHalfLifeEpochs !== undefined && object.nominationConvictionHalfLifeEpochs !== null ? BigInt(object.nominationConvictionHalfLifeEpochs.toString()) : BigInt(0);
575
+ message.nominationRationaleMaxLength = object.nominationRationaleMaxLength ?? 0;
576
+ message.nominationMinTrustLevel = object.nominationMinTrustLevel ?? 0;
577
+ message.nominationStakeMinTrustLevel = object.nominationStakeMinTrustLevel ?? 0;
578
+ message.nominationMinStake = object.nominationMinStake ?? "";
579
+ message.retroRewardBudgetRatio = object.retroRewardBudgetRatio ?? "";
580
+ message.retroRewardBudgetMin = object.retroRewardBudgetMin ?? "";
581
+ message.retroRewardBudgetMax = object.retroRewardBudgetMax ?? "";
582
+ return message;
583
+ },
584
+ fromAmino(object) {
585
+ const message = createBaseParams();
586
+ if (object.epoch_blocks !== undefined && object.epoch_blocks !== null) {
587
+ message.epochBlocks = BigInt(object.epoch_blocks);
588
+ }
589
+ if (object.season_duration_epochs !== undefined && object.season_duration_epochs !== null) {
590
+ message.seasonDurationEpochs = BigInt(object.season_duration_epochs);
591
+ }
592
+ if (object.season_transition_epochs !== undefined && object.season_transition_epochs !== null) {
593
+ message.seasonTransitionEpochs = BigInt(object.season_transition_epochs);
594
+ }
595
+ if (object.xp_vote_cast !== undefined && object.xp_vote_cast !== null) {
596
+ message.xpVoteCast = BigInt(object.xp_vote_cast);
597
+ }
598
+ if (object.xp_proposal_created !== undefined && object.xp_proposal_created !== null) {
599
+ message.xpProposalCreated = BigInt(object.xp_proposal_created);
600
+ }
601
+ if (object.xp_forum_reply_received !== undefined && object.xp_forum_reply_received !== null) {
602
+ message.xpForumReplyReceived = BigInt(object.xp_forum_reply_received);
603
+ }
604
+ if (object.xp_forum_marked_helpful !== undefined && object.xp_forum_marked_helpful !== null) {
605
+ message.xpForumMarkedHelpful = BigInt(object.xp_forum_marked_helpful);
606
+ }
607
+ if (object.xp_invitee_first_initiative !== undefined && object.xp_invitee_first_initiative !== null) {
608
+ message.xpInviteeFirstInitiative = BigInt(object.xp_invitee_first_initiative);
609
+ }
610
+ if (object.xp_invitee_established !== undefined && object.xp_invitee_established !== null) {
611
+ message.xpInviteeEstablished = BigInt(object.xp_invitee_established);
612
+ }
613
+ if (object.max_vote_xp_per_epoch !== undefined && object.max_vote_xp_per_epoch !== null) {
614
+ message.maxVoteXpPerEpoch = object.max_vote_xp_per_epoch;
615
+ }
616
+ if (object.max_forum_xp_per_epoch !== undefined && object.max_forum_xp_per_epoch !== null) {
617
+ message.maxForumXpPerEpoch = BigInt(object.max_forum_xp_per_epoch);
618
+ }
619
+ if (object.max_xp_per_epoch !== undefined && object.max_xp_per_epoch !== null) {
620
+ message.maxXpPerEpoch = BigInt(object.max_xp_per_epoch);
621
+ }
622
+ message.levelThresholds = object.level_thresholds?.map(e => BigInt(e)) || [];
623
+ if (object.baseline_reputation !== undefined && object.baseline_reputation !== null) {
624
+ message.baselineReputation = object.baseline_reputation;
625
+ }
626
+ if (object.min_guild_members !== undefined && object.min_guild_members !== null) {
627
+ message.minGuildMembers = object.min_guild_members;
628
+ }
629
+ if (object.max_guild_members !== undefined && object.max_guild_members !== null) {
630
+ message.maxGuildMembers = object.max_guild_members;
631
+ }
632
+ if (object.max_guild_officers !== undefined && object.max_guild_officers !== null) {
633
+ message.maxGuildOfficers = object.max_guild_officers;
634
+ }
635
+ if (object.guild_creation_cost !== undefined && object.guild_creation_cost !== null) {
636
+ message.guildCreationCost = object.guild_creation_cost;
637
+ }
638
+ if (object.guild_hop_cooldown_epochs !== undefined && object.guild_hop_cooldown_epochs !== null) {
639
+ message.guildHopCooldownEpochs = BigInt(object.guild_hop_cooldown_epochs);
640
+ }
641
+ if (object.max_guilds_per_season !== undefined && object.max_guilds_per_season !== null) {
642
+ message.maxGuildsPerSeason = object.max_guilds_per_season;
643
+ }
644
+ if (object.min_guild_age_epochs !== undefined && object.min_guild_age_epochs !== null) {
645
+ message.minGuildAgeEpochs = BigInt(object.min_guild_age_epochs);
646
+ }
647
+ if (object.max_pending_invites !== undefined && object.max_pending_invites !== null) {
648
+ message.maxPendingInvites = object.max_pending_invites;
649
+ }
650
+ if (object.display_name_min_length !== undefined && object.display_name_min_length !== null) {
651
+ message.displayNameMinLength = object.display_name_min_length;
652
+ }
653
+ if (object.display_name_max_length !== undefined && object.display_name_max_length !== null) {
654
+ message.displayNameMaxLength = object.display_name_max_length;
655
+ }
656
+ if (object.display_name_change_cooldown_epochs !== undefined && object.display_name_change_cooldown_epochs !== null) {
657
+ message.displayNameChangeCooldownEpochs = BigInt(object.display_name_change_cooldown_epochs);
658
+ }
659
+ if (object.max_transition_epochs !== undefined && object.max_transition_epochs !== null) {
660
+ message.maxTransitionEpochs = BigInt(object.max_transition_epochs);
661
+ }
662
+ if (object.transition_batch_size !== undefined && object.transition_batch_size !== null) {
663
+ message.transitionBatchSize = object.transition_batch_size;
664
+ }
665
+ if (object.max_season_extensions !== undefined && object.max_season_extensions !== null) {
666
+ message.maxSeasonExtensions = object.max_season_extensions;
667
+ }
668
+ if (object.max_extension_epochs !== undefined && object.max_extension_epochs !== null) {
669
+ message.maxExtensionEpochs = BigInt(object.max_extension_epochs);
670
+ }
671
+ if (object.guild_description_max_length !== undefined && object.guild_description_max_length !== null) {
672
+ message.guildDescriptionMaxLength = object.guild_description_max_length;
673
+ }
674
+ if (object.guild_invite_ttl_epochs !== undefined && object.guild_invite_ttl_epochs !== null) {
675
+ message.guildInviteTtlEpochs = BigInt(object.guild_invite_ttl_epochs);
676
+ }
677
+ if (object.max_quest_objectives !== undefined && object.max_quest_objectives !== null) {
678
+ message.maxQuestObjectives = object.max_quest_objectives;
679
+ }
680
+ if (object.snapshot_retention_seasons !== undefined && object.snapshot_retention_seasons !== null) {
681
+ message.snapshotRetentionSeasons = object.snapshot_retention_seasons;
682
+ }
683
+ if (object.epoch_tracker_retention_epochs !== undefined && object.epoch_tracker_retention_epochs !== null) {
684
+ message.epochTrackerRetentionEpochs = object.epoch_tracker_retention_epochs;
685
+ }
686
+ if (object.vote_xp_record_retention_seasons !== undefined && object.vote_xp_record_retention_seasons !== null) {
687
+ message.voteXpRecordRetentionSeasons = object.vote_xp_record_retention_seasons;
688
+ }
689
+ if (object.forum_cooldown_retention_epochs !== undefined && object.forum_cooldown_retention_epochs !== null) {
690
+ message.forumCooldownRetentionEpochs = object.forum_cooldown_retention_epochs;
691
+ }
692
+ if (object.forum_xp_min_account_age_epochs !== undefined && object.forum_xp_min_account_age_epochs !== null) {
693
+ message.forumXpMinAccountAgeEpochs = BigInt(object.forum_xp_min_account_age_epochs);
694
+ }
695
+ if (object.forum_xp_reciprocal_cooldown_epochs !== undefined && object.forum_xp_reciprocal_cooldown_epochs !== null) {
696
+ message.forumXpReciprocalCooldownEpochs = BigInt(object.forum_xp_reciprocal_cooldown_epochs);
697
+ }
698
+ if (object.forum_xp_self_reply_cooldown_epochs !== undefined && object.forum_xp_self_reply_cooldown_epochs !== null) {
699
+ message.forumXpSelfReplyCooldownEpochs = BigInt(object.forum_xp_self_reply_cooldown_epochs);
700
+ }
701
+ if (object.transition_grace_period !== undefined && object.transition_grace_period !== null) {
702
+ message.transitionGracePeriod = object.transition_grace_period;
703
+ }
704
+ if (object.max_quest_xp_reward !== undefined && object.max_quest_xp_reward !== null) {
705
+ message.maxQuestXpReward = BigInt(object.max_quest_xp_reward);
706
+ }
707
+ if (object.username_min_length !== undefined && object.username_min_length !== null) {
708
+ message.usernameMinLength = object.username_min_length;
709
+ }
710
+ if (object.username_max_length !== undefined && object.username_max_length !== null) {
711
+ message.usernameMaxLength = object.username_max_length;
712
+ }
713
+ if (object.username_change_cooldown_epochs !== undefined && object.username_change_cooldown_epochs !== null) {
714
+ message.usernameChangeCooldownEpochs = BigInt(object.username_change_cooldown_epochs);
715
+ }
716
+ if (object.username_cost_dream !== undefined && object.username_cost_dream !== null) {
717
+ message.usernameCostDream = object.username_cost_dream;
718
+ }
719
+ if (object.transition_max_retries !== undefined && object.transition_max_retries !== null) {
720
+ message.transitionMaxRetries = object.transition_max_retries;
721
+ }
722
+ if (object.max_active_quests_per_member !== undefined && object.max_active_quests_per_member !== null) {
723
+ message.maxActiveQuestsPerMember = object.max_active_quests_per_member;
724
+ }
725
+ if (object.display_name_report_stake_dream !== undefined && object.display_name_report_stake_dream !== null) {
726
+ message.displayNameReportStakeDream = object.display_name_report_stake_dream;
727
+ }
728
+ if (object.max_displayable_titles !== undefined && object.max_displayable_titles !== null) {
729
+ message.maxDisplayableTitles = object.max_displayable_titles;
730
+ }
731
+ if (object.invite_cleanup_interval_blocks !== undefined && object.invite_cleanup_interval_blocks !== null) {
732
+ message.inviteCleanupIntervalBlocks = object.invite_cleanup_interval_blocks;
733
+ }
734
+ if (object.invite_cleanup_batch_size !== undefined && object.invite_cleanup_batch_size !== null) {
735
+ message.inviteCleanupBatchSize = object.invite_cleanup_batch_size;
736
+ }
737
+ if (object.max_objective_description_length !== undefined && object.max_objective_description_length !== null) {
738
+ message.maxObjectiveDescriptionLength = object.max_objective_description_length;
739
+ }
740
+ if (object.display_name_appeal_stake_dream !== undefined && object.display_name_appeal_stake_dream !== null) {
741
+ message.displayNameAppealStakeDream = object.display_name_appeal_stake_dream;
742
+ }
743
+ if (object.display_name_appeal_period_blocks !== undefined && object.display_name_appeal_period_blocks !== null) {
744
+ message.displayNameAppealPeriodBlocks = BigInt(object.display_name_appeal_period_blocks);
745
+ }
746
+ if (object.max_archived_titles !== undefined && object.max_archived_titles !== null) {
747
+ message.maxArchivedTitles = object.max_archived_titles;
748
+ }
749
+ if (object.nomination_window_epochs !== undefined && object.nomination_window_epochs !== null) {
750
+ message.nominationWindowEpochs = BigInt(object.nomination_window_epochs);
751
+ }
752
+ if (object.max_nominations_per_member !== undefined && object.max_nominations_per_member !== null) {
753
+ message.maxNominationsPerMember = BigInt(object.max_nominations_per_member);
754
+ }
755
+ if (object.retro_reward_max_recipients !== undefined && object.retro_reward_max_recipients !== null) {
756
+ message.retroRewardMaxRecipients = BigInt(object.retro_reward_max_recipients);
757
+ }
758
+ if (object.retro_reward_min_conviction !== undefined && object.retro_reward_min_conviction !== null) {
759
+ message.retroRewardMinConviction = object.retro_reward_min_conviction;
760
+ }
761
+ if (object.nomination_conviction_half_life_epochs !== undefined && object.nomination_conviction_half_life_epochs !== null) {
762
+ message.nominationConvictionHalfLifeEpochs = BigInt(object.nomination_conviction_half_life_epochs);
763
+ }
764
+ if (object.nomination_rationale_max_length !== undefined && object.nomination_rationale_max_length !== null) {
765
+ message.nominationRationaleMaxLength = object.nomination_rationale_max_length;
766
+ }
767
+ if (object.nomination_min_trust_level !== undefined && object.nomination_min_trust_level !== null) {
768
+ message.nominationMinTrustLevel = object.nomination_min_trust_level;
769
+ }
770
+ if (object.nomination_stake_min_trust_level !== undefined && object.nomination_stake_min_trust_level !== null) {
771
+ message.nominationStakeMinTrustLevel = object.nomination_stake_min_trust_level;
772
+ }
773
+ if (object.nomination_min_stake !== undefined && object.nomination_min_stake !== null) {
774
+ message.nominationMinStake = object.nomination_min_stake;
775
+ }
776
+ if (object.retro_reward_budget_ratio !== undefined && object.retro_reward_budget_ratio !== null) {
777
+ message.retroRewardBudgetRatio = object.retro_reward_budget_ratio;
778
+ }
779
+ if (object.retro_reward_budget_min !== undefined && object.retro_reward_budget_min !== null) {
780
+ message.retroRewardBudgetMin = object.retro_reward_budget_min;
781
+ }
782
+ if (object.retro_reward_budget_max !== undefined && object.retro_reward_budget_max !== null) {
783
+ message.retroRewardBudgetMax = object.retro_reward_budget_max;
784
+ }
785
+ return message;
786
+ },
787
+ toAmino(message) {
788
+ const obj = {};
789
+ obj.epoch_blocks = message.epochBlocks !== BigInt(0) ? message.epochBlocks?.toString() : undefined;
790
+ obj.season_duration_epochs = message.seasonDurationEpochs !== BigInt(0) ? message.seasonDurationEpochs?.toString() : undefined;
791
+ obj.season_transition_epochs = message.seasonTransitionEpochs !== BigInt(0) ? message.seasonTransitionEpochs?.toString() : undefined;
792
+ obj.xp_vote_cast = message.xpVoteCast !== BigInt(0) ? message.xpVoteCast?.toString() : undefined;
793
+ obj.xp_proposal_created = message.xpProposalCreated !== BigInt(0) ? message.xpProposalCreated?.toString() : undefined;
794
+ obj.xp_forum_reply_received = message.xpForumReplyReceived !== BigInt(0) ? message.xpForumReplyReceived?.toString() : undefined;
795
+ obj.xp_forum_marked_helpful = message.xpForumMarkedHelpful !== BigInt(0) ? message.xpForumMarkedHelpful?.toString() : undefined;
796
+ obj.xp_invitee_first_initiative = message.xpInviteeFirstInitiative !== BigInt(0) ? message.xpInviteeFirstInitiative?.toString() : undefined;
797
+ obj.xp_invitee_established = message.xpInviteeEstablished !== BigInt(0) ? message.xpInviteeEstablished?.toString() : undefined;
798
+ obj.max_vote_xp_per_epoch = message.maxVoteXpPerEpoch === 0 ? undefined : message.maxVoteXpPerEpoch;
799
+ obj.max_forum_xp_per_epoch = message.maxForumXpPerEpoch !== BigInt(0) ? message.maxForumXpPerEpoch?.toString() : undefined;
800
+ obj.max_xp_per_epoch = message.maxXpPerEpoch !== BigInt(0) ? message.maxXpPerEpoch?.toString() : undefined;
801
+ if (message.levelThresholds) {
802
+ obj.level_thresholds = message.levelThresholds.map(e => e.toString());
803
+ }
804
+ else {
805
+ obj.level_thresholds = message.levelThresholds;
806
+ }
807
+ obj.baseline_reputation = message.baselineReputation === "" ? undefined : message.baselineReputation;
808
+ obj.min_guild_members = message.minGuildMembers === 0 ? undefined : message.minGuildMembers;
809
+ obj.max_guild_members = message.maxGuildMembers === 0 ? undefined : message.maxGuildMembers;
810
+ obj.max_guild_officers = message.maxGuildOfficers === 0 ? undefined : message.maxGuildOfficers;
811
+ obj.guild_creation_cost = message.guildCreationCost === "" ? undefined : message.guildCreationCost;
812
+ obj.guild_hop_cooldown_epochs = message.guildHopCooldownEpochs !== BigInt(0) ? message.guildHopCooldownEpochs?.toString() : undefined;
813
+ obj.max_guilds_per_season = message.maxGuildsPerSeason === 0 ? undefined : message.maxGuildsPerSeason;
814
+ obj.min_guild_age_epochs = message.minGuildAgeEpochs !== BigInt(0) ? message.minGuildAgeEpochs?.toString() : undefined;
815
+ obj.max_pending_invites = message.maxPendingInvites === 0 ? undefined : message.maxPendingInvites;
816
+ obj.display_name_min_length = message.displayNameMinLength === 0 ? undefined : message.displayNameMinLength;
817
+ obj.display_name_max_length = message.displayNameMaxLength === 0 ? undefined : message.displayNameMaxLength;
818
+ obj.display_name_change_cooldown_epochs = message.displayNameChangeCooldownEpochs !== BigInt(0) ? message.displayNameChangeCooldownEpochs?.toString() : undefined;
819
+ obj.max_transition_epochs = message.maxTransitionEpochs !== BigInt(0) ? message.maxTransitionEpochs?.toString() : undefined;
820
+ obj.transition_batch_size = message.transitionBatchSize === 0 ? undefined : message.transitionBatchSize;
821
+ obj.max_season_extensions = message.maxSeasonExtensions === 0 ? undefined : message.maxSeasonExtensions;
822
+ obj.max_extension_epochs = message.maxExtensionEpochs !== BigInt(0) ? message.maxExtensionEpochs?.toString() : undefined;
823
+ obj.guild_description_max_length = message.guildDescriptionMaxLength === 0 ? undefined : message.guildDescriptionMaxLength;
824
+ obj.guild_invite_ttl_epochs = message.guildInviteTtlEpochs !== BigInt(0) ? message.guildInviteTtlEpochs?.toString() : undefined;
825
+ obj.max_quest_objectives = message.maxQuestObjectives === 0 ? undefined : message.maxQuestObjectives;
826
+ obj.snapshot_retention_seasons = message.snapshotRetentionSeasons === 0 ? undefined : message.snapshotRetentionSeasons;
827
+ obj.epoch_tracker_retention_epochs = message.epochTrackerRetentionEpochs === 0 ? undefined : message.epochTrackerRetentionEpochs;
828
+ obj.vote_xp_record_retention_seasons = message.voteXpRecordRetentionSeasons === 0 ? undefined : message.voteXpRecordRetentionSeasons;
829
+ obj.forum_cooldown_retention_epochs = message.forumCooldownRetentionEpochs === 0 ? undefined : message.forumCooldownRetentionEpochs;
830
+ obj.forum_xp_min_account_age_epochs = message.forumXpMinAccountAgeEpochs !== BigInt(0) ? message.forumXpMinAccountAgeEpochs?.toString() : undefined;
831
+ obj.forum_xp_reciprocal_cooldown_epochs = message.forumXpReciprocalCooldownEpochs !== BigInt(0) ? message.forumXpReciprocalCooldownEpochs?.toString() : undefined;
832
+ obj.forum_xp_self_reply_cooldown_epochs = message.forumXpSelfReplyCooldownEpochs !== BigInt(0) ? message.forumXpSelfReplyCooldownEpochs?.toString() : undefined;
833
+ obj.transition_grace_period = message.transitionGracePeriod === 0 ? undefined : message.transitionGracePeriod;
834
+ obj.max_quest_xp_reward = message.maxQuestXpReward !== BigInt(0) ? message.maxQuestXpReward?.toString() : undefined;
835
+ obj.username_min_length = message.usernameMinLength === 0 ? undefined : message.usernameMinLength;
836
+ obj.username_max_length = message.usernameMaxLength === 0 ? undefined : message.usernameMaxLength;
837
+ obj.username_change_cooldown_epochs = message.usernameChangeCooldownEpochs !== BigInt(0) ? message.usernameChangeCooldownEpochs?.toString() : undefined;
838
+ obj.username_cost_dream = message.usernameCostDream === "" ? undefined : message.usernameCostDream;
839
+ obj.transition_max_retries = message.transitionMaxRetries === 0 ? undefined : message.transitionMaxRetries;
840
+ obj.max_active_quests_per_member = message.maxActiveQuestsPerMember === 0 ? undefined : message.maxActiveQuestsPerMember;
841
+ obj.display_name_report_stake_dream = message.displayNameReportStakeDream === "" ? undefined : message.displayNameReportStakeDream;
842
+ obj.max_displayable_titles = message.maxDisplayableTitles === 0 ? undefined : message.maxDisplayableTitles;
843
+ obj.invite_cleanup_interval_blocks = message.inviteCleanupIntervalBlocks === 0 ? undefined : message.inviteCleanupIntervalBlocks;
844
+ obj.invite_cleanup_batch_size = message.inviteCleanupBatchSize === 0 ? undefined : message.inviteCleanupBatchSize;
845
+ obj.max_objective_description_length = message.maxObjectiveDescriptionLength === 0 ? undefined : message.maxObjectiveDescriptionLength;
846
+ obj.display_name_appeal_stake_dream = message.displayNameAppealStakeDream === "" ? undefined : message.displayNameAppealStakeDream;
847
+ obj.display_name_appeal_period_blocks = message.displayNameAppealPeriodBlocks !== BigInt(0) ? message.displayNameAppealPeriodBlocks?.toString() : undefined;
848
+ obj.max_archived_titles = message.maxArchivedTitles === 0 ? undefined : message.maxArchivedTitles;
849
+ obj.nomination_window_epochs = message.nominationWindowEpochs !== BigInt(0) ? message.nominationWindowEpochs?.toString() : undefined;
850
+ obj.max_nominations_per_member = message.maxNominationsPerMember !== BigInt(0) ? message.maxNominationsPerMember?.toString() : undefined;
851
+ obj.retro_reward_max_recipients = message.retroRewardMaxRecipients !== BigInt(0) ? message.retroRewardMaxRecipients?.toString() : undefined;
852
+ obj.retro_reward_min_conviction = message.retroRewardMinConviction === "" ? undefined : message.retroRewardMinConviction;
853
+ obj.nomination_conviction_half_life_epochs = message.nominationConvictionHalfLifeEpochs !== BigInt(0) ? message.nominationConvictionHalfLifeEpochs?.toString() : undefined;
854
+ obj.nomination_rationale_max_length = message.nominationRationaleMaxLength === 0 ? undefined : message.nominationRationaleMaxLength;
855
+ obj.nomination_min_trust_level = message.nominationMinTrustLevel === 0 ? undefined : message.nominationMinTrustLevel;
856
+ obj.nomination_stake_min_trust_level = message.nominationStakeMinTrustLevel === 0 ? undefined : message.nominationStakeMinTrustLevel;
857
+ obj.nomination_min_stake = message.nominationMinStake === "" ? undefined : message.nominationMinStake;
858
+ obj.retro_reward_budget_ratio = message.retroRewardBudgetRatio === "" ? undefined : message.retroRewardBudgetRatio;
859
+ obj.retro_reward_budget_min = message.retroRewardBudgetMin === "" ? undefined : message.retroRewardBudgetMin;
860
+ obj.retro_reward_budget_max = message.retroRewardBudgetMax === "" ? undefined : message.retroRewardBudgetMax;
861
+ return obj;
862
+ },
863
+ fromAminoMsg(object) {
864
+ return Params.fromAmino(object.value);
865
+ },
866
+ toAminoMsg(message) {
867
+ return {
868
+ type: "sparkdream/x/season/Params",
869
+ value: Params.toAmino(message)
870
+ };
871
+ },
872
+ fromProtoMsg(message) {
873
+ return Params.decode(message.value);
874
+ },
875
+ toProto(message) {
876
+ return Params.encode(message).finish();
877
+ },
878
+ toProtoMsg(message) {
879
+ return {
880
+ typeUrl: "/sparkdream.season.v1.Params",
881
+ value: Params.encode(message).finish()
882
+ };
883
+ }
884
+ };
885
+ function createBaseSeasonOperationalParams() {
886
+ return {
887
+ epochBlocks: BigInt(0),
888
+ seasonDurationEpochs: BigInt(0),
889
+ seasonTransitionEpochs: BigInt(0),
890
+ xpVoteCast: BigInt(0),
891
+ xpProposalCreated: BigInt(0),
892
+ xpForumReplyReceived: BigInt(0),
893
+ xpForumMarkedHelpful: BigInt(0),
894
+ xpInviteeFirstInitiative: BigInt(0),
895
+ xpInviteeEstablished: BigInt(0),
896
+ maxVoteXpPerEpoch: 0,
897
+ maxForumXpPerEpoch: BigInt(0),
898
+ maxXpPerEpoch: BigInt(0),
899
+ minGuildMembers: 0,
900
+ maxGuildOfficers: 0,
901
+ guildCreationCost: "",
902
+ guildHopCooldownEpochs: BigInt(0),
903
+ maxGuildsPerSeason: 0,
904
+ minGuildAgeEpochs: BigInt(0),
905
+ maxPendingInvites: 0,
906
+ displayNameMinLength: 0,
907
+ displayNameMaxLength: 0,
908
+ displayNameChangeCooldownEpochs: BigInt(0),
909
+ transitionBatchSize: 0,
910
+ maxSeasonExtensions: 0,
911
+ maxExtensionEpochs: BigInt(0),
912
+ guildDescriptionMaxLength: 0,
913
+ guildInviteTtlEpochs: BigInt(0),
914
+ maxQuestObjectives: 0,
915
+ forumXpMinAccountAgeEpochs: BigInt(0),
916
+ forumXpReciprocalCooldownEpochs: BigInt(0),
917
+ forumXpSelfReplyCooldownEpochs: BigInt(0),
918
+ transitionGracePeriod: 0,
919
+ maxQuestXpReward: BigInt(0),
920
+ usernameMinLength: 0,
921
+ usernameMaxLength: 0,
922
+ usernameChangeCooldownEpochs: BigInt(0),
923
+ usernameCostDream: "",
924
+ maxActiveQuestsPerMember: 0,
925
+ displayNameReportStakeDream: "",
926
+ maxDisplayableTitles: 0,
927
+ inviteCleanupIntervalBlocks: 0,
928
+ inviteCleanupBatchSize: 0,
929
+ maxObjectiveDescriptionLength: 0,
930
+ displayNameAppealStakeDream: "",
931
+ displayNameAppealPeriodBlocks: BigInt(0),
932
+ maxArchivedTitles: 0,
933
+ nominationWindowEpochs: BigInt(0),
934
+ maxNominationsPerMember: BigInt(0),
935
+ retroRewardMaxRecipients: BigInt(0),
936
+ retroRewardMinConviction: "",
937
+ nominationConvictionHalfLifeEpochs: BigInt(0),
938
+ nominationRationaleMaxLength: 0,
939
+ nominationMinTrustLevel: 0,
940
+ nominationStakeMinTrustLevel: 0,
941
+ nominationMinStake: "",
942
+ retroRewardBudgetRatio: "",
943
+ retroRewardBudgetMin: "",
944
+ retroRewardBudgetMax: ""
945
+ };
946
+ }
947
+ /**
948
+ * SeasonOperationalParams defines the operational parameters that can be updated
949
+ * by the Operations Committee without full governance proposals.
950
+ * @name SeasonOperationalParams
951
+ * @package sparkdream.season.v1
952
+ * @see proto type: sparkdream.season.v1.SeasonOperationalParams
953
+ */
954
+ export const SeasonOperationalParams = {
955
+ typeUrl: "/sparkdream.season.v1.SeasonOperationalParams",
956
+ aminoType: "sparkdream/x/season/SeasonOperationalParams",
957
+ encode(message, writer = BinaryWriter.create()) {
958
+ if (message.epochBlocks !== BigInt(0)) {
959
+ writer.uint32(8).int64(message.epochBlocks);
960
+ }
961
+ if (message.seasonDurationEpochs !== BigInt(0)) {
962
+ writer.uint32(16).int64(message.seasonDurationEpochs);
963
+ }
964
+ if (message.seasonTransitionEpochs !== BigInt(0)) {
965
+ writer.uint32(24).int64(message.seasonTransitionEpochs);
966
+ }
967
+ if (message.xpVoteCast !== BigInt(0)) {
968
+ writer.uint32(32).uint64(message.xpVoteCast);
969
+ }
970
+ if (message.xpProposalCreated !== BigInt(0)) {
971
+ writer.uint32(40).uint64(message.xpProposalCreated);
972
+ }
973
+ if (message.xpForumReplyReceived !== BigInt(0)) {
974
+ writer.uint32(48).uint64(message.xpForumReplyReceived);
975
+ }
976
+ if (message.xpForumMarkedHelpful !== BigInt(0)) {
977
+ writer.uint32(56).uint64(message.xpForumMarkedHelpful);
978
+ }
979
+ if (message.xpInviteeFirstInitiative !== BigInt(0)) {
980
+ writer.uint32(64).uint64(message.xpInviteeFirstInitiative);
981
+ }
982
+ if (message.xpInviteeEstablished !== BigInt(0)) {
983
+ writer.uint32(72).uint64(message.xpInviteeEstablished);
984
+ }
985
+ if (message.maxVoteXpPerEpoch !== 0) {
986
+ writer.uint32(80).uint32(message.maxVoteXpPerEpoch);
987
+ }
988
+ if (message.maxForumXpPerEpoch !== BigInt(0)) {
989
+ writer.uint32(88).uint64(message.maxForumXpPerEpoch);
990
+ }
991
+ if (message.maxXpPerEpoch !== BigInt(0)) {
992
+ writer.uint32(96).uint64(message.maxXpPerEpoch);
993
+ }
994
+ if (message.minGuildMembers !== 0) {
995
+ writer.uint32(104).uint32(message.minGuildMembers);
996
+ }
997
+ if (message.maxGuildOfficers !== 0) {
998
+ writer.uint32(112).uint32(message.maxGuildOfficers);
999
+ }
1000
+ if (message.guildCreationCost !== "") {
1001
+ writer.uint32(122).string(message.guildCreationCost);
1002
+ }
1003
+ if (message.guildHopCooldownEpochs !== BigInt(0)) {
1004
+ writer.uint32(128).uint64(message.guildHopCooldownEpochs);
1005
+ }
1006
+ if (message.maxGuildsPerSeason !== 0) {
1007
+ writer.uint32(136).uint32(message.maxGuildsPerSeason);
1008
+ }
1009
+ if (message.minGuildAgeEpochs !== BigInt(0)) {
1010
+ writer.uint32(144).uint64(message.minGuildAgeEpochs);
1011
+ }
1012
+ if (message.maxPendingInvites !== 0) {
1013
+ writer.uint32(152).uint32(message.maxPendingInvites);
1014
+ }
1015
+ if (message.displayNameMinLength !== 0) {
1016
+ writer.uint32(160).uint32(message.displayNameMinLength);
1017
+ }
1018
+ if (message.displayNameMaxLength !== 0) {
1019
+ writer.uint32(168).uint32(message.displayNameMaxLength);
1020
+ }
1021
+ if (message.displayNameChangeCooldownEpochs !== BigInt(0)) {
1022
+ writer.uint32(176).uint64(message.displayNameChangeCooldownEpochs);
1023
+ }
1024
+ if (message.transitionBatchSize !== 0) {
1025
+ writer.uint32(184).uint32(message.transitionBatchSize);
1026
+ }
1027
+ if (message.maxSeasonExtensions !== 0) {
1028
+ writer.uint32(192).uint32(message.maxSeasonExtensions);
1029
+ }
1030
+ if (message.maxExtensionEpochs !== BigInt(0)) {
1031
+ writer.uint32(200).uint64(message.maxExtensionEpochs);
1032
+ }
1033
+ if (message.guildDescriptionMaxLength !== 0) {
1034
+ writer.uint32(208).uint32(message.guildDescriptionMaxLength);
1035
+ }
1036
+ if (message.guildInviteTtlEpochs !== BigInt(0)) {
1037
+ writer.uint32(216).uint64(message.guildInviteTtlEpochs);
1038
+ }
1039
+ if (message.maxQuestObjectives !== 0) {
1040
+ writer.uint32(224).uint32(message.maxQuestObjectives);
1041
+ }
1042
+ if (message.forumXpMinAccountAgeEpochs !== BigInt(0)) {
1043
+ writer.uint32(232).uint64(message.forumXpMinAccountAgeEpochs);
1044
+ }
1045
+ if (message.forumXpReciprocalCooldownEpochs !== BigInt(0)) {
1046
+ writer.uint32(240).uint64(message.forumXpReciprocalCooldownEpochs);
1047
+ }
1048
+ if (message.forumXpSelfReplyCooldownEpochs !== BigInt(0)) {
1049
+ writer.uint32(248).uint64(message.forumXpSelfReplyCooldownEpochs);
1050
+ }
1051
+ if (message.transitionGracePeriod !== 0) {
1052
+ writer.uint32(256).uint32(message.transitionGracePeriod);
1053
+ }
1054
+ if (message.maxQuestXpReward !== BigInt(0)) {
1055
+ writer.uint32(264).uint64(message.maxQuestXpReward);
1056
+ }
1057
+ if (message.usernameMinLength !== 0) {
1058
+ writer.uint32(272).uint32(message.usernameMinLength);
1059
+ }
1060
+ if (message.usernameMaxLength !== 0) {
1061
+ writer.uint32(280).uint32(message.usernameMaxLength);
1062
+ }
1063
+ if (message.usernameChangeCooldownEpochs !== BigInt(0)) {
1064
+ writer.uint32(288).uint64(message.usernameChangeCooldownEpochs);
1065
+ }
1066
+ if (message.usernameCostDream !== "") {
1067
+ writer.uint32(298).string(message.usernameCostDream);
1068
+ }
1069
+ if (message.maxActiveQuestsPerMember !== 0) {
1070
+ writer.uint32(304).uint32(message.maxActiveQuestsPerMember);
1071
+ }
1072
+ if (message.displayNameReportStakeDream !== "") {
1073
+ writer.uint32(314).string(message.displayNameReportStakeDream);
1074
+ }
1075
+ if (message.maxDisplayableTitles !== 0) {
1076
+ writer.uint32(320).uint32(message.maxDisplayableTitles);
1077
+ }
1078
+ if (message.inviteCleanupIntervalBlocks !== 0) {
1079
+ writer.uint32(328).uint32(message.inviteCleanupIntervalBlocks);
1080
+ }
1081
+ if (message.inviteCleanupBatchSize !== 0) {
1082
+ writer.uint32(336).uint32(message.inviteCleanupBatchSize);
1083
+ }
1084
+ if (message.maxObjectiveDescriptionLength !== 0) {
1085
+ writer.uint32(344).uint32(message.maxObjectiveDescriptionLength);
1086
+ }
1087
+ if (message.displayNameAppealStakeDream !== "") {
1088
+ writer.uint32(354).string(message.displayNameAppealStakeDream);
1089
+ }
1090
+ if (message.displayNameAppealPeriodBlocks !== BigInt(0)) {
1091
+ writer.uint32(360).uint64(message.displayNameAppealPeriodBlocks);
1092
+ }
1093
+ if (message.maxArchivedTitles !== 0) {
1094
+ writer.uint32(368).uint32(message.maxArchivedTitles);
1095
+ }
1096
+ if (message.nominationWindowEpochs !== BigInt(0)) {
1097
+ writer.uint32(376).uint64(message.nominationWindowEpochs);
1098
+ }
1099
+ if (message.maxNominationsPerMember !== BigInt(0)) {
1100
+ writer.uint32(384).uint64(message.maxNominationsPerMember);
1101
+ }
1102
+ if (message.retroRewardMaxRecipients !== BigInt(0)) {
1103
+ writer.uint32(392).uint64(message.retroRewardMaxRecipients);
1104
+ }
1105
+ if (message.retroRewardMinConviction !== "") {
1106
+ writer.uint32(402).string(Decimal.fromUserInput(message.retroRewardMinConviction, 18).atomics);
1107
+ }
1108
+ if (message.nominationConvictionHalfLifeEpochs !== BigInt(0)) {
1109
+ writer.uint32(408).uint64(message.nominationConvictionHalfLifeEpochs);
1110
+ }
1111
+ if (message.nominationRationaleMaxLength !== 0) {
1112
+ writer.uint32(416).uint32(message.nominationRationaleMaxLength);
1113
+ }
1114
+ if (message.nominationMinTrustLevel !== 0) {
1115
+ writer.uint32(424).uint32(message.nominationMinTrustLevel);
1116
+ }
1117
+ if (message.nominationStakeMinTrustLevel !== 0) {
1118
+ writer.uint32(432).uint32(message.nominationStakeMinTrustLevel);
1119
+ }
1120
+ if (message.nominationMinStake !== "") {
1121
+ writer.uint32(442).string(Decimal.fromUserInput(message.nominationMinStake, 18).atomics);
1122
+ }
1123
+ if (message.retroRewardBudgetRatio !== "") {
1124
+ writer.uint32(450).string(Decimal.fromUserInput(message.retroRewardBudgetRatio, 18).atomics);
1125
+ }
1126
+ if (message.retroRewardBudgetMin !== "") {
1127
+ writer.uint32(458).string(message.retroRewardBudgetMin);
1128
+ }
1129
+ if (message.retroRewardBudgetMax !== "") {
1130
+ writer.uint32(466).string(message.retroRewardBudgetMax);
1131
+ }
1132
+ return writer;
1133
+ },
1134
+ decode(input, length) {
1135
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1136
+ let end = length === undefined ? reader.len : reader.pos + length;
1137
+ const message = createBaseSeasonOperationalParams();
1138
+ while (reader.pos < end) {
1139
+ const tag = reader.uint32();
1140
+ switch (tag >>> 3) {
1141
+ case 1:
1142
+ message.epochBlocks = reader.int64();
1143
+ break;
1144
+ case 2:
1145
+ message.seasonDurationEpochs = reader.int64();
1146
+ break;
1147
+ case 3:
1148
+ message.seasonTransitionEpochs = reader.int64();
1149
+ break;
1150
+ case 4:
1151
+ message.xpVoteCast = reader.uint64();
1152
+ break;
1153
+ case 5:
1154
+ message.xpProposalCreated = reader.uint64();
1155
+ break;
1156
+ case 6:
1157
+ message.xpForumReplyReceived = reader.uint64();
1158
+ break;
1159
+ case 7:
1160
+ message.xpForumMarkedHelpful = reader.uint64();
1161
+ break;
1162
+ case 8:
1163
+ message.xpInviteeFirstInitiative = reader.uint64();
1164
+ break;
1165
+ case 9:
1166
+ message.xpInviteeEstablished = reader.uint64();
1167
+ break;
1168
+ case 10:
1169
+ message.maxVoteXpPerEpoch = reader.uint32();
1170
+ break;
1171
+ case 11:
1172
+ message.maxForumXpPerEpoch = reader.uint64();
1173
+ break;
1174
+ case 12:
1175
+ message.maxXpPerEpoch = reader.uint64();
1176
+ break;
1177
+ case 13:
1178
+ message.minGuildMembers = reader.uint32();
1179
+ break;
1180
+ case 14:
1181
+ message.maxGuildOfficers = reader.uint32();
1182
+ break;
1183
+ case 15:
1184
+ message.guildCreationCost = reader.string();
1185
+ break;
1186
+ case 16:
1187
+ message.guildHopCooldownEpochs = reader.uint64();
1188
+ break;
1189
+ case 17:
1190
+ message.maxGuildsPerSeason = reader.uint32();
1191
+ break;
1192
+ case 18:
1193
+ message.minGuildAgeEpochs = reader.uint64();
1194
+ break;
1195
+ case 19:
1196
+ message.maxPendingInvites = reader.uint32();
1197
+ break;
1198
+ case 20:
1199
+ message.displayNameMinLength = reader.uint32();
1200
+ break;
1201
+ case 21:
1202
+ message.displayNameMaxLength = reader.uint32();
1203
+ break;
1204
+ case 22:
1205
+ message.displayNameChangeCooldownEpochs = reader.uint64();
1206
+ break;
1207
+ case 23:
1208
+ message.transitionBatchSize = reader.uint32();
1209
+ break;
1210
+ case 24:
1211
+ message.maxSeasonExtensions = reader.uint32();
1212
+ break;
1213
+ case 25:
1214
+ message.maxExtensionEpochs = reader.uint64();
1215
+ break;
1216
+ case 26:
1217
+ message.guildDescriptionMaxLength = reader.uint32();
1218
+ break;
1219
+ case 27:
1220
+ message.guildInviteTtlEpochs = reader.uint64();
1221
+ break;
1222
+ case 28:
1223
+ message.maxQuestObjectives = reader.uint32();
1224
+ break;
1225
+ case 29:
1226
+ message.forumXpMinAccountAgeEpochs = reader.uint64();
1227
+ break;
1228
+ case 30:
1229
+ message.forumXpReciprocalCooldownEpochs = reader.uint64();
1230
+ break;
1231
+ case 31:
1232
+ message.forumXpSelfReplyCooldownEpochs = reader.uint64();
1233
+ break;
1234
+ case 32:
1235
+ message.transitionGracePeriod = reader.uint32();
1236
+ break;
1237
+ case 33:
1238
+ message.maxQuestXpReward = reader.uint64();
1239
+ break;
1240
+ case 34:
1241
+ message.usernameMinLength = reader.uint32();
1242
+ break;
1243
+ case 35:
1244
+ message.usernameMaxLength = reader.uint32();
1245
+ break;
1246
+ case 36:
1247
+ message.usernameChangeCooldownEpochs = reader.uint64();
1248
+ break;
1249
+ case 37:
1250
+ message.usernameCostDream = reader.string();
1251
+ break;
1252
+ case 38:
1253
+ message.maxActiveQuestsPerMember = reader.uint32();
1254
+ break;
1255
+ case 39:
1256
+ message.displayNameReportStakeDream = reader.string();
1257
+ break;
1258
+ case 40:
1259
+ message.maxDisplayableTitles = reader.uint32();
1260
+ break;
1261
+ case 41:
1262
+ message.inviteCleanupIntervalBlocks = reader.uint32();
1263
+ break;
1264
+ case 42:
1265
+ message.inviteCleanupBatchSize = reader.uint32();
1266
+ break;
1267
+ case 43:
1268
+ message.maxObjectiveDescriptionLength = reader.uint32();
1269
+ break;
1270
+ case 44:
1271
+ message.displayNameAppealStakeDream = reader.string();
1272
+ break;
1273
+ case 45:
1274
+ message.displayNameAppealPeriodBlocks = reader.uint64();
1275
+ break;
1276
+ case 46:
1277
+ message.maxArchivedTitles = reader.uint32();
1278
+ break;
1279
+ case 47:
1280
+ message.nominationWindowEpochs = reader.uint64();
1281
+ break;
1282
+ case 48:
1283
+ message.maxNominationsPerMember = reader.uint64();
1284
+ break;
1285
+ case 49:
1286
+ message.retroRewardMaxRecipients = reader.uint64();
1287
+ break;
1288
+ case 50:
1289
+ message.retroRewardMinConviction = Decimal.fromAtomics(reader.string(), 18).toString();
1290
+ break;
1291
+ case 51:
1292
+ message.nominationConvictionHalfLifeEpochs = reader.uint64();
1293
+ break;
1294
+ case 52:
1295
+ message.nominationRationaleMaxLength = reader.uint32();
1296
+ break;
1297
+ case 53:
1298
+ message.nominationMinTrustLevel = reader.uint32();
1299
+ break;
1300
+ case 54:
1301
+ message.nominationStakeMinTrustLevel = reader.uint32();
1302
+ break;
1303
+ case 55:
1304
+ message.nominationMinStake = Decimal.fromAtomics(reader.string(), 18).toString();
1305
+ break;
1306
+ case 56:
1307
+ message.retroRewardBudgetRatio = Decimal.fromAtomics(reader.string(), 18).toString();
1308
+ break;
1309
+ case 57:
1310
+ message.retroRewardBudgetMin = reader.string();
1311
+ break;
1312
+ case 58:
1313
+ message.retroRewardBudgetMax = reader.string();
1314
+ break;
1315
+ default:
1316
+ reader.skipType(tag & 7);
1317
+ break;
1318
+ }
1319
+ }
1320
+ return message;
1321
+ },
1322
+ fromPartial(object) {
1323
+ const message = createBaseSeasonOperationalParams();
1324
+ message.epochBlocks = object.epochBlocks !== undefined && object.epochBlocks !== null ? BigInt(object.epochBlocks.toString()) : BigInt(0);
1325
+ message.seasonDurationEpochs = object.seasonDurationEpochs !== undefined && object.seasonDurationEpochs !== null ? BigInt(object.seasonDurationEpochs.toString()) : BigInt(0);
1326
+ message.seasonTransitionEpochs = object.seasonTransitionEpochs !== undefined && object.seasonTransitionEpochs !== null ? BigInt(object.seasonTransitionEpochs.toString()) : BigInt(0);
1327
+ message.xpVoteCast = object.xpVoteCast !== undefined && object.xpVoteCast !== null ? BigInt(object.xpVoteCast.toString()) : BigInt(0);
1328
+ message.xpProposalCreated = object.xpProposalCreated !== undefined && object.xpProposalCreated !== null ? BigInt(object.xpProposalCreated.toString()) : BigInt(0);
1329
+ message.xpForumReplyReceived = object.xpForumReplyReceived !== undefined && object.xpForumReplyReceived !== null ? BigInt(object.xpForumReplyReceived.toString()) : BigInt(0);
1330
+ message.xpForumMarkedHelpful = object.xpForumMarkedHelpful !== undefined && object.xpForumMarkedHelpful !== null ? BigInt(object.xpForumMarkedHelpful.toString()) : BigInt(0);
1331
+ message.xpInviteeFirstInitiative = object.xpInviteeFirstInitiative !== undefined && object.xpInviteeFirstInitiative !== null ? BigInt(object.xpInviteeFirstInitiative.toString()) : BigInt(0);
1332
+ message.xpInviteeEstablished = object.xpInviteeEstablished !== undefined && object.xpInviteeEstablished !== null ? BigInt(object.xpInviteeEstablished.toString()) : BigInt(0);
1333
+ message.maxVoteXpPerEpoch = object.maxVoteXpPerEpoch ?? 0;
1334
+ message.maxForumXpPerEpoch = object.maxForumXpPerEpoch !== undefined && object.maxForumXpPerEpoch !== null ? BigInt(object.maxForumXpPerEpoch.toString()) : BigInt(0);
1335
+ message.maxXpPerEpoch = object.maxXpPerEpoch !== undefined && object.maxXpPerEpoch !== null ? BigInt(object.maxXpPerEpoch.toString()) : BigInt(0);
1336
+ message.minGuildMembers = object.minGuildMembers ?? 0;
1337
+ message.maxGuildOfficers = object.maxGuildOfficers ?? 0;
1338
+ message.guildCreationCost = object.guildCreationCost ?? "";
1339
+ message.guildHopCooldownEpochs = object.guildHopCooldownEpochs !== undefined && object.guildHopCooldownEpochs !== null ? BigInt(object.guildHopCooldownEpochs.toString()) : BigInt(0);
1340
+ message.maxGuildsPerSeason = object.maxGuildsPerSeason ?? 0;
1341
+ message.minGuildAgeEpochs = object.minGuildAgeEpochs !== undefined && object.minGuildAgeEpochs !== null ? BigInt(object.minGuildAgeEpochs.toString()) : BigInt(0);
1342
+ message.maxPendingInvites = object.maxPendingInvites ?? 0;
1343
+ message.displayNameMinLength = object.displayNameMinLength ?? 0;
1344
+ message.displayNameMaxLength = object.displayNameMaxLength ?? 0;
1345
+ message.displayNameChangeCooldownEpochs = object.displayNameChangeCooldownEpochs !== undefined && object.displayNameChangeCooldownEpochs !== null ? BigInt(object.displayNameChangeCooldownEpochs.toString()) : BigInt(0);
1346
+ message.transitionBatchSize = object.transitionBatchSize ?? 0;
1347
+ message.maxSeasonExtensions = object.maxSeasonExtensions ?? 0;
1348
+ message.maxExtensionEpochs = object.maxExtensionEpochs !== undefined && object.maxExtensionEpochs !== null ? BigInt(object.maxExtensionEpochs.toString()) : BigInt(0);
1349
+ message.guildDescriptionMaxLength = object.guildDescriptionMaxLength ?? 0;
1350
+ message.guildInviteTtlEpochs = object.guildInviteTtlEpochs !== undefined && object.guildInviteTtlEpochs !== null ? BigInt(object.guildInviteTtlEpochs.toString()) : BigInt(0);
1351
+ message.maxQuestObjectives = object.maxQuestObjectives ?? 0;
1352
+ message.forumXpMinAccountAgeEpochs = object.forumXpMinAccountAgeEpochs !== undefined && object.forumXpMinAccountAgeEpochs !== null ? BigInt(object.forumXpMinAccountAgeEpochs.toString()) : BigInt(0);
1353
+ message.forumXpReciprocalCooldownEpochs = object.forumXpReciprocalCooldownEpochs !== undefined && object.forumXpReciprocalCooldownEpochs !== null ? BigInt(object.forumXpReciprocalCooldownEpochs.toString()) : BigInt(0);
1354
+ message.forumXpSelfReplyCooldownEpochs = object.forumXpSelfReplyCooldownEpochs !== undefined && object.forumXpSelfReplyCooldownEpochs !== null ? BigInt(object.forumXpSelfReplyCooldownEpochs.toString()) : BigInt(0);
1355
+ message.transitionGracePeriod = object.transitionGracePeriod ?? 0;
1356
+ message.maxQuestXpReward = object.maxQuestXpReward !== undefined && object.maxQuestXpReward !== null ? BigInt(object.maxQuestXpReward.toString()) : BigInt(0);
1357
+ message.usernameMinLength = object.usernameMinLength ?? 0;
1358
+ message.usernameMaxLength = object.usernameMaxLength ?? 0;
1359
+ message.usernameChangeCooldownEpochs = object.usernameChangeCooldownEpochs !== undefined && object.usernameChangeCooldownEpochs !== null ? BigInt(object.usernameChangeCooldownEpochs.toString()) : BigInt(0);
1360
+ message.usernameCostDream = object.usernameCostDream ?? "";
1361
+ message.maxActiveQuestsPerMember = object.maxActiveQuestsPerMember ?? 0;
1362
+ message.displayNameReportStakeDream = object.displayNameReportStakeDream ?? "";
1363
+ message.maxDisplayableTitles = object.maxDisplayableTitles ?? 0;
1364
+ message.inviteCleanupIntervalBlocks = object.inviteCleanupIntervalBlocks ?? 0;
1365
+ message.inviteCleanupBatchSize = object.inviteCleanupBatchSize ?? 0;
1366
+ message.maxObjectiveDescriptionLength = object.maxObjectiveDescriptionLength ?? 0;
1367
+ message.displayNameAppealStakeDream = object.displayNameAppealStakeDream ?? "";
1368
+ message.displayNameAppealPeriodBlocks = object.displayNameAppealPeriodBlocks !== undefined && object.displayNameAppealPeriodBlocks !== null ? BigInt(object.displayNameAppealPeriodBlocks.toString()) : BigInt(0);
1369
+ message.maxArchivedTitles = object.maxArchivedTitles ?? 0;
1370
+ message.nominationWindowEpochs = object.nominationWindowEpochs !== undefined && object.nominationWindowEpochs !== null ? BigInt(object.nominationWindowEpochs.toString()) : BigInt(0);
1371
+ message.maxNominationsPerMember = object.maxNominationsPerMember !== undefined && object.maxNominationsPerMember !== null ? BigInt(object.maxNominationsPerMember.toString()) : BigInt(0);
1372
+ message.retroRewardMaxRecipients = object.retroRewardMaxRecipients !== undefined && object.retroRewardMaxRecipients !== null ? BigInt(object.retroRewardMaxRecipients.toString()) : BigInt(0);
1373
+ message.retroRewardMinConviction = object.retroRewardMinConviction ?? "";
1374
+ message.nominationConvictionHalfLifeEpochs = object.nominationConvictionHalfLifeEpochs !== undefined && object.nominationConvictionHalfLifeEpochs !== null ? BigInt(object.nominationConvictionHalfLifeEpochs.toString()) : BigInt(0);
1375
+ message.nominationRationaleMaxLength = object.nominationRationaleMaxLength ?? 0;
1376
+ message.nominationMinTrustLevel = object.nominationMinTrustLevel ?? 0;
1377
+ message.nominationStakeMinTrustLevel = object.nominationStakeMinTrustLevel ?? 0;
1378
+ message.nominationMinStake = object.nominationMinStake ?? "";
1379
+ message.retroRewardBudgetRatio = object.retroRewardBudgetRatio ?? "";
1380
+ message.retroRewardBudgetMin = object.retroRewardBudgetMin ?? "";
1381
+ message.retroRewardBudgetMax = object.retroRewardBudgetMax ?? "";
1382
+ return message;
1383
+ },
1384
+ fromAmino(object) {
1385
+ const message = createBaseSeasonOperationalParams();
1386
+ if (object.epoch_blocks !== undefined && object.epoch_blocks !== null) {
1387
+ message.epochBlocks = BigInt(object.epoch_blocks);
1388
+ }
1389
+ if (object.season_duration_epochs !== undefined && object.season_duration_epochs !== null) {
1390
+ message.seasonDurationEpochs = BigInt(object.season_duration_epochs);
1391
+ }
1392
+ if (object.season_transition_epochs !== undefined && object.season_transition_epochs !== null) {
1393
+ message.seasonTransitionEpochs = BigInt(object.season_transition_epochs);
1394
+ }
1395
+ if (object.xp_vote_cast !== undefined && object.xp_vote_cast !== null) {
1396
+ message.xpVoteCast = BigInt(object.xp_vote_cast);
1397
+ }
1398
+ if (object.xp_proposal_created !== undefined && object.xp_proposal_created !== null) {
1399
+ message.xpProposalCreated = BigInt(object.xp_proposal_created);
1400
+ }
1401
+ if (object.xp_forum_reply_received !== undefined && object.xp_forum_reply_received !== null) {
1402
+ message.xpForumReplyReceived = BigInt(object.xp_forum_reply_received);
1403
+ }
1404
+ if (object.xp_forum_marked_helpful !== undefined && object.xp_forum_marked_helpful !== null) {
1405
+ message.xpForumMarkedHelpful = BigInt(object.xp_forum_marked_helpful);
1406
+ }
1407
+ if (object.xp_invitee_first_initiative !== undefined && object.xp_invitee_first_initiative !== null) {
1408
+ message.xpInviteeFirstInitiative = BigInt(object.xp_invitee_first_initiative);
1409
+ }
1410
+ if (object.xp_invitee_established !== undefined && object.xp_invitee_established !== null) {
1411
+ message.xpInviteeEstablished = BigInt(object.xp_invitee_established);
1412
+ }
1413
+ if (object.max_vote_xp_per_epoch !== undefined && object.max_vote_xp_per_epoch !== null) {
1414
+ message.maxVoteXpPerEpoch = object.max_vote_xp_per_epoch;
1415
+ }
1416
+ if (object.max_forum_xp_per_epoch !== undefined && object.max_forum_xp_per_epoch !== null) {
1417
+ message.maxForumXpPerEpoch = BigInt(object.max_forum_xp_per_epoch);
1418
+ }
1419
+ if (object.max_xp_per_epoch !== undefined && object.max_xp_per_epoch !== null) {
1420
+ message.maxXpPerEpoch = BigInt(object.max_xp_per_epoch);
1421
+ }
1422
+ if (object.min_guild_members !== undefined && object.min_guild_members !== null) {
1423
+ message.minGuildMembers = object.min_guild_members;
1424
+ }
1425
+ if (object.max_guild_officers !== undefined && object.max_guild_officers !== null) {
1426
+ message.maxGuildOfficers = object.max_guild_officers;
1427
+ }
1428
+ if (object.guild_creation_cost !== undefined && object.guild_creation_cost !== null) {
1429
+ message.guildCreationCost = object.guild_creation_cost;
1430
+ }
1431
+ if (object.guild_hop_cooldown_epochs !== undefined && object.guild_hop_cooldown_epochs !== null) {
1432
+ message.guildHopCooldownEpochs = BigInt(object.guild_hop_cooldown_epochs);
1433
+ }
1434
+ if (object.max_guilds_per_season !== undefined && object.max_guilds_per_season !== null) {
1435
+ message.maxGuildsPerSeason = object.max_guilds_per_season;
1436
+ }
1437
+ if (object.min_guild_age_epochs !== undefined && object.min_guild_age_epochs !== null) {
1438
+ message.minGuildAgeEpochs = BigInt(object.min_guild_age_epochs);
1439
+ }
1440
+ if (object.max_pending_invites !== undefined && object.max_pending_invites !== null) {
1441
+ message.maxPendingInvites = object.max_pending_invites;
1442
+ }
1443
+ if (object.display_name_min_length !== undefined && object.display_name_min_length !== null) {
1444
+ message.displayNameMinLength = object.display_name_min_length;
1445
+ }
1446
+ if (object.display_name_max_length !== undefined && object.display_name_max_length !== null) {
1447
+ message.displayNameMaxLength = object.display_name_max_length;
1448
+ }
1449
+ if (object.display_name_change_cooldown_epochs !== undefined && object.display_name_change_cooldown_epochs !== null) {
1450
+ message.displayNameChangeCooldownEpochs = BigInt(object.display_name_change_cooldown_epochs);
1451
+ }
1452
+ if (object.transition_batch_size !== undefined && object.transition_batch_size !== null) {
1453
+ message.transitionBatchSize = object.transition_batch_size;
1454
+ }
1455
+ if (object.max_season_extensions !== undefined && object.max_season_extensions !== null) {
1456
+ message.maxSeasonExtensions = object.max_season_extensions;
1457
+ }
1458
+ if (object.max_extension_epochs !== undefined && object.max_extension_epochs !== null) {
1459
+ message.maxExtensionEpochs = BigInt(object.max_extension_epochs);
1460
+ }
1461
+ if (object.guild_description_max_length !== undefined && object.guild_description_max_length !== null) {
1462
+ message.guildDescriptionMaxLength = object.guild_description_max_length;
1463
+ }
1464
+ if (object.guild_invite_ttl_epochs !== undefined && object.guild_invite_ttl_epochs !== null) {
1465
+ message.guildInviteTtlEpochs = BigInt(object.guild_invite_ttl_epochs);
1466
+ }
1467
+ if (object.max_quest_objectives !== undefined && object.max_quest_objectives !== null) {
1468
+ message.maxQuestObjectives = object.max_quest_objectives;
1469
+ }
1470
+ if (object.forum_xp_min_account_age_epochs !== undefined && object.forum_xp_min_account_age_epochs !== null) {
1471
+ message.forumXpMinAccountAgeEpochs = BigInt(object.forum_xp_min_account_age_epochs);
1472
+ }
1473
+ if (object.forum_xp_reciprocal_cooldown_epochs !== undefined && object.forum_xp_reciprocal_cooldown_epochs !== null) {
1474
+ message.forumXpReciprocalCooldownEpochs = BigInt(object.forum_xp_reciprocal_cooldown_epochs);
1475
+ }
1476
+ if (object.forum_xp_self_reply_cooldown_epochs !== undefined && object.forum_xp_self_reply_cooldown_epochs !== null) {
1477
+ message.forumXpSelfReplyCooldownEpochs = BigInt(object.forum_xp_self_reply_cooldown_epochs);
1478
+ }
1479
+ if (object.transition_grace_period !== undefined && object.transition_grace_period !== null) {
1480
+ message.transitionGracePeriod = object.transition_grace_period;
1481
+ }
1482
+ if (object.max_quest_xp_reward !== undefined && object.max_quest_xp_reward !== null) {
1483
+ message.maxQuestXpReward = BigInt(object.max_quest_xp_reward);
1484
+ }
1485
+ if (object.username_min_length !== undefined && object.username_min_length !== null) {
1486
+ message.usernameMinLength = object.username_min_length;
1487
+ }
1488
+ if (object.username_max_length !== undefined && object.username_max_length !== null) {
1489
+ message.usernameMaxLength = object.username_max_length;
1490
+ }
1491
+ if (object.username_change_cooldown_epochs !== undefined && object.username_change_cooldown_epochs !== null) {
1492
+ message.usernameChangeCooldownEpochs = BigInt(object.username_change_cooldown_epochs);
1493
+ }
1494
+ if (object.username_cost_dream !== undefined && object.username_cost_dream !== null) {
1495
+ message.usernameCostDream = object.username_cost_dream;
1496
+ }
1497
+ if (object.max_active_quests_per_member !== undefined && object.max_active_quests_per_member !== null) {
1498
+ message.maxActiveQuestsPerMember = object.max_active_quests_per_member;
1499
+ }
1500
+ if (object.display_name_report_stake_dream !== undefined && object.display_name_report_stake_dream !== null) {
1501
+ message.displayNameReportStakeDream = object.display_name_report_stake_dream;
1502
+ }
1503
+ if (object.max_displayable_titles !== undefined && object.max_displayable_titles !== null) {
1504
+ message.maxDisplayableTitles = object.max_displayable_titles;
1505
+ }
1506
+ if (object.invite_cleanup_interval_blocks !== undefined && object.invite_cleanup_interval_blocks !== null) {
1507
+ message.inviteCleanupIntervalBlocks = object.invite_cleanup_interval_blocks;
1508
+ }
1509
+ if (object.invite_cleanup_batch_size !== undefined && object.invite_cleanup_batch_size !== null) {
1510
+ message.inviteCleanupBatchSize = object.invite_cleanup_batch_size;
1511
+ }
1512
+ if (object.max_objective_description_length !== undefined && object.max_objective_description_length !== null) {
1513
+ message.maxObjectiveDescriptionLength = object.max_objective_description_length;
1514
+ }
1515
+ if (object.display_name_appeal_stake_dream !== undefined && object.display_name_appeal_stake_dream !== null) {
1516
+ message.displayNameAppealStakeDream = object.display_name_appeal_stake_dream;
1517
+ }
1518
+ if (object.display_name_appeal_period_blocks !== undefined && object.display_name_appeal_period_blocks !== null) {
1519
+ message.displayNameAppealPeriodBlocks = BigInt(object.display_name_appeal_period_blocks);
1520
+ }
1521
+ if (object.max_archived_titles !== undefined && object.max_archived_titles !== null) {
1522
+ message.maxArchivedTitles = object.max_archived_titles;
1523
+ }
1524
+ if (object.nomination_window_epochs !== undefined && object.nomination_window_epochs !== null) {
1525
+ message.nominationWindowEpochs = BigInt(object.nomination_window_epochs);
1526
+ }
1527
+ if (object.max_nominations_per_member !== undefined && object.max_nominations_per_member !== null) {
1528
+ message.maxNominationsPerMember = BigInt(object.max_nominations_per_member);
1529
+ }
1530
+ if (object.retro_reward_max_recipients !== undefined && object.retro_reward_max_recipients !== null) {
1531
+ message.retroRewardMaxRecipients = BigInt(object.retro_reward_max_recipients);
1532
+ }
1533
+ if (object.retro_reward_min_conviction !== undefined && object.retro_reward_min_conviction !== null) {
1534
+ message.retroRewardMinConviction = object.retro_reward_min_conviction;
1535
+ }
1536
+ if (object.nomination_conviction_half_life_epochs !== undefined && object.nomination_conviction_half_life_epochs !== null) {
1537
+ message.nominationConvictionHalfLifeEpochs = BigInt(object.nomination_conviction_half_life_epochs);
1538
+ }
1539
+ if (object.nomination_rationale_max_length !== undefined && object.nomination_rationale_max_length !== null) {
1540
+ message.nominationRationaleMaxLength = object.nomination_rationale_max_length;
1541
+ }
1542
+ if (object.nomination_min_trust_level !== undefined && object.nomination_min_trust_level !== null) {
1543
+ message.nominationMinTrustLevel = object.nomination_min_trust_level;
1544
+ }
1545
+ if (object.nomination_stake_min_trust_level !== undefined && object.nomination_stake_min_trust_level !== null) {
1546
+ message.nominationStakeMinTrustLevel = object.nomination_stake_min_trust_level;
1547
+ }
1548
+ if (object.nomination_min_stake !== undefined && object.nomination_min_stake !== null) {
1549
+ message.nominationMinStake = object.nomination_min_stake;
1550
+ }
1551
+ if (object.retro_reward_budget_ratio !== undefined && object.retro_reward_budget_ratio !== null) {
1552
+ message.retroRewardBudgetRatio = object.retro_reward_budget_ratio;
1553
+ }
1554
+ if (object.retro_reward_budget_min !== undefined && object.retro_reward_budget_min !== null) {
1555
+ message.retroRewardBudgetMin = object.retro_reward_budget_min;
1556
+ }
1557
+ if (object.retro_reward_budget_max !== undefined && object.retro_reward_budget_max !== null) {
1558
+ message.retroRewardBudgetMax = object.retro_reward_budget_max;
1559
+ }
1560
+ return message;
1561
+ },
1562
+ toAmino(message) {
1563
+ const obj = {};
1564
+ obj.epoch_blocks = message.epochBlocks !== BigInt(0) ? message.epochBlocks?.toString() : undefined;
1565
+ obj.season_duration_epochs = message.seasonDurationEpochs !== BigInt(0) ? message.seasonDurationEpochs?.toString() : undefined;
1566
+ obj.season_transition_epochs = message.seasonTransitionEpochs !== BigInt(0) ? message.seasonTransitionEpochs?.toString() : undefined;
1567
+ obj.xp_vote_cast = message.xpVoteCast !== BigInt(0) ? message.xpVoteCast?.toString() : undefined;
1568
+ obj.xp_proposal_created = message.xpProposalCreated !== BigInt(0) ? message.xpProposalCreated?.toString() : undefined;
1569
+ obj.xp_forum_reply_received = message.xpForumReplyReceived !== BigInt(0) ? message.xpForumReplyReceived?.toString() : undefined;
1570
+ obj.xp_forum_marked_helpful = message.xpForumMarkedHelpful !== BigInt(0) ? message.xpForumMarkedHelpful?.toString() : undefined;
1571
+ obj.xp_invitee_first_initiative = message.xpInviteeFirstInitiative !== BigInt(0) ? message.xpInviteeFirstInitiative?.toString() : undefined;
1572
+ obj.xp_invitee_established = message.xpInviteeEstablished !== BigInt(0) ? message.xpInviteeEstablished?.toString() : undefined;
1573
+ obj.max_vote_xp_per_epoch = message.maxVoteXpPerEpoch === 0 ? undefined : message.maxVoteXpPerEpoch;
1574
+ obj.max_forum_xp_per_epoch = message.maxForumXpPerEpoch !== BigInt(0) ? message.maxForumXpPerEpoch?.toString() : undefined;
1575
+ obj.max_xp_per_epoch = message.maxXpPerEpoch !== BigInt(0) ? message.maxXpPerEpoch?.toString() : undefined;
1576
+ obj.min_guild_members = message.minGuildMembers === 0 ? undefined : message.minGuildMembers;
1577
+ obj.max_guild_officers = message.maxGuildOfficers === 0 ? undefined : message.maxGuildOfficers;
1578
+ obj.guild_creation_cost = message.guildCreationCost === "" ? undefined : message.guildCreationCost;
1579
+ obj.guild_hop_cooldown_epochs = message.guildHopCooldownEpochs !== BigInt(0) ? message.guildHopCooldownEpochs?.toString() : undefined;
1580
+ obj.max_guilds_per_season = message.maxGuildsPerSeason === 0 ? undefined : message.maxGuildsPerSeason;
1581
+ obj.min_guild_age_epochs = message.minGuildAgeEpochs !== BigInt(0) ? message.minGuildAgeEpochs?.toString() : undefined;
1582
+ obj.max_pending_invites = message.maxPendingInvites === 0 ? undefined : message.maxPendingInvites;
1583
+ obj.display_name_min_length = message.displayNameMinLength === 0 ? undefined : message.displayNameMinLength;
1584
+ obj.display_name_max_length = message.displayNameMaxLength === 0 ? undefined : message.displayNameMaxLength;
1585
+ obj.display_name_change_cooldown_epochs = message.displayNameChangeCooldownEpochs !== BigInt(0) ? message.displayNameChangeCooldownEpochs?.toString() : undefined;
1586
+ obj.transition_batch_size = message.transitionBatchSize === 0 ? undefined : message.transitionBatchSize;
1587
+ obj.max_season_extensions = message.maxSeasonExtensions === 0 ? undefined : message.maxSeasonExtensions;
1588
+ obj.max_extension_epochs = message.maxExtensionEpochs !== BigInt(0) ? message.maxExtensionEpochs?.toString() : undefined;
1589
+ obj.guild_description_max_length = message.guildDescriptionMaxLength === 0 ? undefined : message.guildDescriptionMaxLength;
1590
+ obj.guild_invite_ttl_epochs = message.guildInviteTtlEpochs !== BigInt(0) ? message.guildInviteTtlEpochs?.toString() : undefined;
1591
+ obj.max_quest_objectives = message.maxQuestObjectives === 0 ? undefined : message.maxQuestObjectives;
1592
+ obj.forum_xp_min_account_age_epochs = message.forumXpMinAccountAgeEpochs !== BigInt(0) ? message.forumXpMinAccountAgeEpochs?.toString() : undefined;
1593
+ obj.forum_xp_reciprocal_cooldown_epochs = message.forumXpReciprocalCooldownEpochs !== BigInt(0) ? message.forumXpReciprocalCooldownEpochs?.toString() : undefined;
1594
+ obj.forum_xp_self_reply_cooldown_epochs = message.forumXpSelfReplyCooldownEpochs !== BigInt(0) ? message.forumXpSelfReplyCooldownEpochs?.toString() : undefined;
1595
+ obj.transition_grace_period = message.transitionGracePeriod === 0 ? undefined : message.transitionGracePeriod;
1596
+ obj.max_quest_xp_reward = message.maxQuestXpReward !== BigInt(0) ? message.maxQuestXpReward?.toString() : undefined;
1597
+ obj.username_min_length = message.usernameMinLength === 0 ? undefined : message.usernameMinLength;
1598
+ obj.username_max_length = message.usernameMaxLength === 0 ? undefined : message.usernameMaxLength;
1599
+ obj.username_change_cooldown_epochs = message.usernameChangeCooldownEpochs !== BigInt(0) ? message.usernameChangeCooldownEpochs?.toString() : undefined;
1600
+ obj.username_cost_dream = message.usernameCostDream === "" ? undefined : message.usernameCostDream;
1601
+ obj.max_active_quests_per_member = message.maxActiveQuestsPerMember === 0 ? undefined : message.maxActiveQuestsPerMember;
1602
+ obj.display_name_report_stake_dream = message.displayNameReportStakeDream === "" ? undefined : message.displayNameReportStakeDream;
1603
+ obj.max_displayable_titles = message.maxDisplayableTitles === 0 ? undefined : message.maxDisplayableTitles;
1604
+ obj.invite_cleanup_interval_blocks = message.inviteCleanupIntervalBlocks === 0 ? undefined : message.inviteCleanupIntervalBlocks;
1605
+ obj.invite_cleanup_batch_size = message.inviteCleanupBatchSize === 0 ? undefined : message.inviteCleanupBatchSize;
1606
+ obj.max_objective_description_length = message.maxObjectiveDescriptionLength === 0 ? undefined : message.maxObjectiveDescriptionLength;
1607
+ obj.display_name_appeal_stake_dream = message.displayNameAppealStakeDream === "" ? undefined : message.displayNameAppealStakeDream;
1608
+ obj.display_name_appeal_period_blocks = message.displayNameAppealPeriodBlocks !== BigInt(0) ? message.displayNameAppealPeriodBlocks?.toString() : undefined;
1609
+ obj.max_archived_titles = message.maxArchivedTitles === 0 ? undefined : message.maxArchivedTitles;
1610
+ obj.nomination_window_epochs = message.nominationWindowEpochs !== BigInt(0) ? message.nominationWindowEpochs?.toString() : undefined;
1611
+ obj.max_nominations_per_member = message.maxNominationsPerMember !== BigInt(0) ? message.maxNominationsPerMember?.toString() : undefined;
1612
+ obj.retro_reward_max_recipients = message.retroRewardMaxRecipients !== BigInt(0) ? message.retroRewardMaxRecipients?.toString() : undefined;
1613
+ obj.retro_reward_min_conviction = message.retroRewardMinConviction === "" ? undefined : message.retroRewardMinConviction;
1614
+ obj.nomination_conviction_half_life_epochs = message.nominationConvictionHalfLifeEpochs !== BigInt(0) ? message.nominationConvictionHalfLifeEpochs?.toString() : undefined;
1615
+ obj.nomination_rationale_max_length = message.nominationRationaleMaxLength === 0 ? undefined : message.nominationRationaleMaxLength;
1616
+ obj.nomination_min_trust_level = message.nominationMinTrustLevel === 0 ? undefined : message.nominationMinTrustLevel;
1617
+ obj.nomination_stake_min_trust_level = message.nominationStakeMinTrustLevel === 0 ? undefined : message.nominationStakeMinTrustLevel;
1618
+ obj.nomination_min_stake = message.nominationMinStake === "" ? undefined : message.nominationMinStake;
1619
+ obj.retro_reward_budget_ratio = message.retroRewardBudgetRatio === "" ? undefined : message.retroRewardBudgetRatio;
1620
+ obj.retro_reward_budget_min = message.retroRewardBudgetMin === "" ? undefined : message.retroRewardBudgetMin;
1621
+ obj.retro_reward_budget_max = message.retroRewardBudgetMax === "" ? undefined : message.retroRewardBudgetMax;
1622
+ return obj;
1623
+ },
1624
+ fromAminoMsg(object) {
1625
+ return SeasonOperationalParams.fromAmino(object.value);
1626
+ },
1627
+ toAminoMsg(message) {
1628
+ return {
1629
+ type: "sparkdream/x/season/SeasonOperationalParams",
1630
+ value: SeasonOperationalParams.toAmino(message)
1631
+ };
1632
+ },
1633
+ fromProtoMsg(message) {
1634
+ return SeasonOperationalParams.decode(message.value);
1635
+ },
1636
+ toProto(message) {
1637
+ return SeasonOperationalParams.encode(message).finish();
1638
+ },
1639
+ toProtoMsg(message) {
1640
+ return {
1641
+ typeUrl: "/sparkdream.season.v1.SeasonOperationalParams",
1642
+ value: SeasonOperationalParams.encode(message).finish()
1643
+ };
1644
+ }
1645
+ };