@sparkdreamnft/sparkdreamjs 0.0.7 → 0.0.8

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