@sparkdreamnft/sparkdreamjs 0.0.43 → 0.0.45

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 (232) hide show
  1. package/akash/bundle.d.ts +134 -134
  2. package/akash/bundle.js +150 -150
  3. package/cosmos/bundle.d.ts +160 -160
  4. package/cosmos/bundle.js +182 -182
  5. package/esm/akash/bundle.js +150 -150
  6. package/esm/cosmos/bundle.js +182 -182
  7. package/esm/ibc/bundle.js +116 -116
  8. package/esm/sparkdream/artifact/module/v1/module.js +71 -0
  9. package/esm/sparkdream/artifact/v1/genesis.js +279 -0
  10. package/esm/sparkdream/artifact/v1/params.js +645 -0
  11. package/esm/sparkdream/artifact/v1/query.js +3415 -0
  12. package/esm/sparkdream/artifact/v1/query.lcd.js +159 -0
  13. package/esm/sparkdream/artifact/v1/query.rpc.Query.js +188 -0
  14. package/esm/sparkdream/artifact/v1/tx.amino.js +159 -0
  15. package/esm/sparkdream/artifact/v1/tx.js +5751 -0
  16. package/esm/sparkdream/artifact/v1/tx.registry.js +573 -0
  17. package/esm/sparkdream/artifact/v1/tx.rpc.msg.js +199 -0
  18. package/esm/sparkdream/artifact/v1/types.js +2603 -0
  19. package/esm/sparkdream/blog/v1/params.js +37 -1
  20. package/esm/sparkdream/blog/v1/post.js +38 -1
  21. package/esm/sparkdream/blog/v1/query.js +351 -0
  22. package/esm/sparkdream/blog/v1/query.lcd.js +12 -0
  23. package/esm/sparkdream/blog/v1/query.rpc.Query.js +21 -1
  24. package/esm/sparkdream/blog/v1/types.js +38 -1
  25. package/esm/sparkdream/bundle.js +521 -483
  26. package/esm/sparkdream/client.js +4 -1
  27. package/esm/sparkdream/collect/v1/params.js +102 -126
  28. package/esm/sparkdream/collect/v1/types.js +207 -123
  29. package/esm/sparkdream/common/v1/media_flag.js +63 -0
  30. package/esm/sparkdream/common/v1/moderation_reason.js +1 -1
  31. package/esm/sparkdream/commons/v1/query.js +27 -3
  32. package/esm/sparkdream/federation/v1/packet.js +13 -1
  33. package/esm/sparkdream/federation/v1/query.js +163 -0
  34. package/esm/sparkdream/federation/v1/query.lcd.js +7 -0
  35. package/esm/sparkdream/federation/v1/query.rpc.Query.js +12 -1
  36. package/esm/sparkdream/federation/v1/tx.js +13 -1
  37. package/esm/sparkdream/federation/v1/types.js +37 -1
  38. package/esm/sparkdream/forum/v1/params.js +37 -1
  39. package/esm/sparkdream/forum/v1/post.js +38 -1
  40. package/esm/sparkdream/forum/v1/query.js +176 -0
  41. package/esm/sparkdream/forum/v1/query.lcd.js +7 -0
  42. package/esm/sparkdream/forum/v1/query.rpc.Query.js +12 -1
  43. package/esm/sparkdream/lcd.js +5 -0
  44. package/esm/sparkdream/name/v1/genesis.js +32 -2
  45. package/esm/sparkdream/rep/v1/accountability.js +22 -0
  46. package/esm/sparkdream/rep/v1/genesis.js +18 -2
  47. package/esm/sparkdream/rep/v1/initiative_bounty.js +200 -0
  48. package/esm/sparkdream/rep/v1/member.js +97 -35
  49. package/esm/sparkdream/rep/v1/params.js +198 -66
  50. package/esm/sparkdream/rep/v1/query.js +530 -0
  51. package/esm/sparkdream/rep/v1/query.lcd.js +23 -0
  52. package/esm/sparkdream/rep/v1/query.rpc.Query.js +26 -1
  53. package/esm/sparkdream/rep/v1/tx.js +499 -7
  54. package/esm/sparkdream/rep/v1/tx.registry.js +56 -2
  55. package/esm/sparkdream/rep/v1/tx.rpc.msg.js +21 -1
  56. package/esm/sparkdream/rpc.query.js +3 -0
  57. package/esm/sparkdream/rpc.tx.js +3 -0
  58. package/esm/sparkdream/season/v1/tx.js +33 -2
  59. package/esm/sparkdream/service/v1/checkpoint.js +125 -0
  60. package/esm/sparkdream/service/v1/genesis.js +17 -1
  61. package/esm/sparkdream/service/v1/operator.js +25 -1
  62. package/esm/sparkdream/service/v1/query.js +317 -0
  63. package/esm/sparkdream/service/v1/query.lcd.js +18 -0
  64. package/esm/sparkdream/service/v1/query.rpc.Query.js +21 -1
  65. package/esm/sparkdream/service/v1/service_type_config.js +37 -1
  66. package/esm/sparkdream/service/v1/tx.amino.js +11 -1
  67. package/esm/sparkdream/service/v1/tx.js +332 -0
  68. package/esm/sparkdream/service/v1/tx.registry.js +38 -2
  69. package/esm/sparkdream/service/v1/tx.rpc.msg.js +20 -1
  70. package/esm/sparkdream/session/v1/grant.js +98 -6
  71. package/esm/sparkdream/session/v1/tx.amino.js +3 -0
  72. package/esm/sparkdream/session/v1/tx.js +15 -3
  73. package/esm/sparkdream/session/v1/tx.rpc.msg.js +2 -2
  74. package/esm/sparkdream/shield/v1/genesis.js +32 -2
  75. package/esm/sparkdream/shield/v1/params.js +25 -1
  76. package/esm/sparkdream/shield/v1/query.js +13 -1
  77. package/esm/sparkdream/shield/v1/types.js +480 -16
  78. package/esm/sparkdream/sparkdream/v1/query.js +176 -0
  79. package/esm/sparkdream/sparkdream/v1/query.lcd.js +9 -0
  80. package/esm/sparkdream/sparkdream/v1/query.rpc.Query.js +14 -1
  81. package/esm/tendermint/bundle.js +20 -20
  82. package/ibc/bundle.d.ts +99 -99
  83. package/ibc/bundle.js +116 -116
  84. package/package.json +1 -1
  85. package/sparkdream/artifact/module/v1/module.d.ts +54 -0
  86. package/sparkdream/artifact/module/v1/module.js +74 -0
  87. package/sparkdream/artifact/v1/genesis.d.ts +88 -0
  88. package/sparkdream/artifact/v1/genesis.js +282 -0
  89. package/sparkdream/artifact/v1/params.d.ts +251 -0
  90. package/sparkdream/artifact/v1/params.js +648 -0
  91. package/sparkdream/artifact/v1/query.d.ts +1986 -0
  92. package/sparkdream/artifact/v1/query.js +3418 -0
  93. package/sparkdream/artifact/v1/query.lcd.d.ts +27 -0
  94. package/sparkdream/artifact/v1/query.lcd.js +163 -0
  95. package/sparkdream/artifact/v1/query.rpc.Query.d.ts +88 -0
  96. package/sparkdream/artifact/v1/query.rpc.Query.js +193 -0
  97. package/sparkdream/artifact/v1/tx.amino.d.ts +158 -0
  98. package/sparkdream/artifact/v1/tx.amino.js +162 -0
  99. package/sparkdream/artifact/v1/tx.d.ts +3268 -0
  100. package/sparkdream/artifact/v1/tx.js +5755 -0
  101. package/sparkdream/artifact/v1/tx.registry.d.ts +385 -0
  102. package/sparkdream/artifact/v1/tx.registry.js +577 -0
  103. package/sparkdream/artifact/v1/tx.rpc.msg.d.ts +109 -0
  104. package/sparkdream/artifact/v1/tx.rpc.msg.js +204 -0
  105. package/sparkdream/artifact/v1/types.d.ts +1157 -0
  106. package/sparkdream/artifact/v1/types.js +2620 -0
  107. package/sparkdream/blog/v1/params.d.ts +46 -0
  108. package/sparkdream/blog/v1/params.js +37 -1
  109. package/sparkdream/blog/v1/post.d.ts +24 -0
  110. package/sparkdream/blog/v1/post.js +38 -1
  111. package/sparkdream/blog/v1/query.d.ts +195 -0
  112. package/sparkdream/blog/v1/query.js +352 -1
  113. package/sparkdream/blog/v1/query.lcd.d.ts +3 -1
  114. package/sparkdream/blog/v1/query.lcd.js +12 -0
  115. package/sparkdream/blog/v1/query.rpc.Query.d.ts +13 -1
  116. package/sparkdream/blog/v1/query.rpc.Query.js +20 -0
  117. package/sparkdream/blog/v1/types.d.ts +24 -0
  118. package/sparkdream/blog/v1/types.js +38 -1
  119. package/sparkdream/bundle.d.ts +20666 -17863
  120. package/sparkdream/bundle.js +521 -483
  121. package/sparkdream/client.d.ts +165 -0
  122. package/sparkdream/client.js +4 -1
  123. package/sparkdream/collect/v1/params.d.ts +0 -4
  124. package/sparkdream/collect/v1/params.js +102 -126
  125. package/sparkdream/collect/v1/types.d.ts +80 -4
  126. package/sparkdream/collect/v1/types.js +207 -123
  127. package/sparkdream/common/v1/media_flag.d.ts +23 -0
  128. package/sparkdream/common/v1/media_flag.js +68 -0
  129. package/sparkdream/common/v1/moderation_reason.d.ts +1 -1
  130. package/sparkdream/common/v1/moderation_reason.js +1 -1
  131. package/sparkdream/commons/v1/query.d.ts +19 -1
  132. package/sparkdream/commons/v1/query.js +26 -2
  133. package/sparkdream/federation/v1/packet.d.ts +14 -0
  134. package/sparkdream/federation/v1/packet.js +13 -1
  135. package/sparkdream/federation/v1/query.d.ts +92 -0
  136. package/sparkdream/federation/v1/query.js +164 -1
  137. package/sparkdream/federation/v1/query.lcd.d.ts +2 -1
  138. package/sparkdream/federation/v1/query.lcd.js +7 -0
  139. package/sparkdream/federation/v1/query.rpc.Query.d.ts +9 -1
  140. package/sparkdream/federation/v1/query.rpc.Query.js +11 -0
  141. package/sparkdream/federation/v1/tx.d.ts +18 -0
  142. package/sparkdream/federation/v1/tx.js +13 -1
  143. package/sparkdream/federation/v1/types.d.ts +34 -0
  144. package/sparkdream/federation/v1/types.js +37 -1
  145. package/sparkdream/forum/v1/params.d.ts +46 -0
  146. package/sparkdream/forum/v1/params.js +37 -1
  147. package/sparkdream/forum/v1/post.d.ts +30 -0
  148. package/sparkdream/forum/v1/post.js +38 -1
  149. package/sparkdream/forum/v1/query.d.ts +98 -0
  150. package/sparkdream/forum/v1/query.js +177 -1
  151. package/sparkdream/forum/v1/query.lcd.d.ts +2 -1
  152. package/sparkdream/forum/v1/query.lcd.js +7 -0
  153. package/sparkdream/forum/v1/query.rpc.Query.d.ts +9 -1
  154. package/sparkdream/forum/v1/query.rpc.Query.js +11 -0
  155. package/sparkdream/lcd.d.ts +3 -0
  156. package/sparkdream/lcd.js +5 -0
  157. package/sparkdream/name/v1/genesis.d.ts +23 -1
  158. package/sparkdream/name/v1/genesis.js +31 -1
  159. package/sparkdream/rep/v1/accountability.d.ts +12 -0
  160. package/sparkdream/rep/v1/accountability.js +22 -0
  161. package/sparkdream/rep/v1/genesis.d.ts +18 -7
  162. package/sparkdream/rep/v1/genesis.js +18 -2
  163. package/sparkdream/rep/v1/initiative_bounty.d.ts +143 -0
  164. package/sparkdream/rep/v1/initiative_bounty.js +203 -0
  165. package/sparkdream/rep/v1/member.d.ts +82 -28
  166. package/sparkdream/rep/v1/member.js +97 -35
  167. package/sparkdream/rep/v1/params.d.ts +144 -28
  168. package/sparkdream/rep/v1/params.js +198 -66
  169. package/sparkdream/rep/v1/query.d.ts +315 -10
  170. package/sparkdream/rep/v1/query.js +531 -1
  171. package/sparkdream/rep/v1/query.lcd.d.ts +3 -1
  172. package/sparkdream/rep/v1/query.lcd.js +23 -0
  173. package/sparkdream/rep/v1/query.rpc.Query.d.ts +18 -1
  174. package/sparkdream/rep/v1/query.rpc.Query.js +25 -0
  175. package/sparkdream/rep/v1/tx.d.ts +338 -1
  176. package/sparkdream/rep/v1/tx.js +500 -8
  177. package/sparkdream/rep/v1/tx.registry.d.ts +37 -1
  178. package/sparkdream/rep/v1/tx.registry.js +55 -1
  179. package/sparkdream/rep/v1/tx.rpc.msg.d.ts +14 -1
  180. package/sparkdream/rep/v1/tx.rpc.msg.js +20 -0
  181. package/sparkdream/rpc.query.d.ts +32 -0
  182. package/sparkdream/rpc.query.js +3 -0
  183. package/sparkdream/rpc.tx.d.ts +3 -0
  184. package/sparkdream/rpc.tx.js +3 -0
  185. package/sparkdream/season/v1/tx.d.ts +19 -0
  186. package/sparkdream/season/v1/tx.js +33 -2
  187. package/sparkdream/service/v1/checkpoint.d.ts +93 -0
  188. package/sparkdream/service/v1/checkpoint.js +128 -0
  189. package/sparkdream/service/v1/genesis.d.ts +15 -0
  190. package/sparkdream/service/v1/genesis.js +17 -1
  191. package/sparkdream/service/v1/operator.d.ts +30 -0
  192. package/sparkdream/service/v1/operator.js +25 -1
  193. package/sparkdream/service/v1/query.d.ts +186 -0
  194. package/sparkdream/service/v1/query.js +318 -1
  195. package/sparkdream/service/v1/query.lcd.d.ts +3 -1
  196. package/sparkdream/service/v1/query.lcd.js +18 -0
  197. package/sparkdream/service/v1/query.rpc.Query.d.ts +13 -1
  198. package/sparkdream/service/v1/query.rpc.Query.js +20 -0
  199. package/sparkdream/service/v1/service_type_config.d.ts +48 -0
  200. package/sparkdream/service/v1/service_type_config.js +37 -1
  201. package/sparkdream/service/v1/tx.amino.d.ts +11 -1
  202. package/sparkdream/service/v1/tx.amino.js +10 -0
  203. package/sparkdream/service/v1/tx.d.ts +216 -0
  204. package/sparkdream/service/v1/tx.js +333 -1
  205. package/sparkdream/service/v1/tx.registry.d.ts +25 -1
  206. package/sparkdream/service/v1/tx.registry.js +37 -1
  207. package/sparkdream/service/v1/tx.rpc.msg.d.ts +18 -1
  208. package/sparkdream/service/v1/tx.rpc.msg.js +19 -0
  209. package/sparkdream/session/v1/grant.d.ts +75 -7
  210. package/sparkdream/session/v1/grant.js +99 -7
  211. package/sparkdream/session/v1/tx.amino.js +3 -0
  212. package/sparkdream/session/v1/tx.d.ts +6 -4
  213. package/sparkdream/session/v1/tx.js +14 -2
  214. package/sparkdream/session/v1/tx.rpc.msg.d.ts +2 -2
  215. package/sparkdream/session/v1/tx.rpc.msg.js +2 -2
  216. package/sparkdream/shield/v1/genesis.d.ts +17 -1
  217. package/sparkdream/shield/v1/genesis.js +31 -1
  218. package/sparkdream/shield/v1/params.d.ts +32 -4
  219. package/sparkdream/shield/v1/params.js +25 -1
  220. package/sparkdream/shield/v1/query.d.ts +8 -0
  221. package/sparkdream/shield/v1/query.js +13 -1
  222. package/sparkdream/shield/v1/tx.d.ts +36 -10
  223. package/sparkdream/shield/v1/types.d.ts +337 -13
  224. package/sparkdream/shield/v1/types.js +483 -17
  225. package/sparkdream/sparkdream/v1/query.d.ts +132 -0
  226. package/sparkdream/sparkdream/v1/query.js +177 -1
  227. package/sparkdream/sparkdream/v1/query.lcd.d.ts +2 -1
  228. package/sparkdream/sparkdream/v1/query.lcd.js +9 -0
  229. package/sparkdream/sparkdream/v1/query.rpc.Query.d.ts +11 -1
  230. package/sparkdream/sparkdream/v1/query.rpc.Query.js +13 -0
  231. package/tendermint/bundle.d.ts +844 -844
  232. package/tendermint/bundle.js +20 -20
@@ -1,6 +1,7 @@
1
1
  //@ts-nocheck
2
2
  import { Registry } from "@cosmjs/proto-signing";
3
3
  import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate";
4
+ import * as sparkdreamArtifactV1TxRegistry from "./artifact/v1/tx.registry";
4
5
  import * as sparkdreamBlogV1TxRegistry from "./blog/v1/tx.registry";
5
6
  import * as sparkdreamCollectV1TxRegistry from "./collect/v1/tx.registry";
6
7
  import * as sparkdreamCommonsV1TxRegistry from "./commons/v1/tx.registry";
@@ -18,6 +19,7 @@ import * as sparkdreamSessionV1TxRegistry from "./session/v1/tx.registry";
18
19
  import * as sparkdreamShieldV1TxRegistry from "./shield/v1/tx.registry";
19
20
  import * as sparkdreamSparkdreamV1TxRegistry from "./sparkdream/v1/tx.registry";
20
21
  import * as sparkdreamSplitV1TxRegistry from "./split/v1/tx.registry";
22
+ import * as sparkdreamArtifactV1TxAmino from "./artifact/v1/tx.amino";
21
23
  import * as sparkdreamBlogV1TxAmino from "./blog/v1/tx.amino";
22
24
  import * as sparkdreamCollectV1TxAmino from "./collect/v1/tx.amino";
23
25
  import * as sparkdreamCommonsV1TxAmino from "./commons/v1/tx.amino";
@@ -36,6 +38,7 @@ import * as sparkdreamShieldV1TxAmino from "./shield/v1/tx.amino";
36
38
  import * as sparkdreamSparkdreamV1TxAmino from "./sparkdream/v1/tx.amino";
37
39
  import * as sparkdreamSplitV1TxAmino from "./split/v1/tx.amino";
38
40
  export const sparkdreamAminoConverters = {
41
+ ...sparkdreamArtifactV1TxAmino.AminoConverter,
39
42
  ...sparkdreamBlogV1TxAmino.AminoConverter,
40
43
  ...sparkdreamCollectV1TxAmino.AminoConverter,
41
44
  ...sparkdreamCommonsV1TxAmino.AminoConverter,
@@ -54,7 +57,7 @@ export const sparkdreamAminoConverters = {
54
57
  ...sparkdreamSparkdreamV1TxAmino.AminoConverter,
55
58
  ...sparkdreamSplitV1TxAmino.AminoConverter
56
59
  };
57
- export const sparkdreamProtoRegistry = [...sparkdreamBlogV1TxRegistry.registry, ...sparkdreamCollectV1TxRegistry.registry, ...sparkdreamCommonsV1TxRegistry.registry, ...sparkdreamEcosystemV1TxRegistry.registry, ...sparkdreamFederationV1TxRegistry.registry, ...sparkdreamForumV1TxRegistry.registry, ...sparkdreamFutarchyV1TxRegistry.registry, ...sparkdreamGuardianV1TxRegistry.registry, ...sparkdreamNameV1TxRegistry.registry, ...sparkdreamRepV1TxRegistry.registry, ...sparkdreamRevealV1TxRegistry.registry, ...sparkdreamSeasonV1TxRegistry.registry, ...sparkdreamServiceV1TxRegistry.registry, ...sparkdreamSessionV1TxRegistry.registry, ...sparkdreamShieldV1TxRegistry.registry, ...sparkdreamSparkdreamV1TxRegistry.registry, ...sparkdreamSplitV1TxRegistry.registry];
60
+ export const sparkdreamProtoRegistry = [...sparkdreamArtifactV1TxRegistry.registry, ...sparkdreamBlogV1TxRegistry.registry, ...sparkdreamCollectV1TxRegistry.registry, ...sparkdreamCommonsV1TxRegistry.registry, ...sparkdreamEcosystemV1TxRegistry.registry, ...sparkdreamFederationV1TxRegistry.registry, ...sparkdreamForumV1TxRegistry.registry, ...sparkdreamFutarchyV1TxRegistry.registry, ...sparkdreamGuardianV1TxRegistry.registry, ...sparkdreamNameV1TxRegistry.registry, ...sparkdreamRepV1TxRegistry.registry, ...sparkdreamRevealV1TxRegistry.registry, ...sparkdreamSeasonV1TxRegistry.registry, ...sparkdreamServiceV1TxRegistry.registry, ...sparkdreamSessionV1TxRegistry.registry, ...sparkdreamShieldV1TxRegistry.registry, ...sparkdreamSparkdreamV1TxRegistry.registry, ...sparkdreamSplitV1TxRegistry.registry];
58
61
  export const getSigningSparkdreamClientOptions = ({ defaultTypes = defaultRegistryTypes } = {}) => {
59
62
  const registry = new Registry([...defaultTypes, ...sparkdreamProtoRegistry]);
60
63
  const aminoTypes = new AminoTypes({
@@ -48,9 +48,7 @@ function createBaseParams() {
48
48
  maxFlagReasonLength: 0,
49
49
  sentinelCommitAmount: "",
50
50
  hideExpiryBlocks: BigInt(0),
51
- appealFee: "",
52
51
  appealCooldownBlocks: BigInt(0),
53
- appealDeadlineBlocks: BigInt(0),
54
52
  sentinelUnhideWindowBlocks: BigInt(0),
55
53
  maxHidesPerSentinelPerDay: 0,
56
54
  endorsementCreationFee: "",
@@ -149,163 +147,157 @@ export const Params = {
149
147
  writer.uint32(162).string(message.perItemSpamTax);
150
148
  }
151
149
  if (message.sponsorFee !== "") {
152
- writer.uint32(178).string(message.sponsorFee);
150
+ writer.uint32(170).string(message.sponsorFee);
153
151
  }
154
152
  if (message.minSponsorTrustLevel !== "") {
155
- writer.uint32(186).string(message.minSponsorTrustLevel);
153
+ writer.uint32(178).string(message.minSponsorTrustLevel);
156
154
  }
157
155
  if (message.sponsorshipRequestTtlBlocks !== BigInt(0)) {
158
- writer.uint32(192).int64(message.sponsorshipRequestTtlBlocks);
156
+ writer.uint32(184).int64(message.sponsorshipRequestTtlBlocks);
159
157
  }
160
158
  if (message.minCuratorBond !== "") {
161
- writer.uint32(202).string(message.minCuratorBond);
159
+ writer.uint32(194).string(message.minCuratorBond);
162
160
  }
163
161
  if (message.minCuratorTrustLevel !== "") {
164
- writer.uint32(210).string(message.minCuratorTrustLevel);
162
+ writer.uint32(202).string(message.minCuratorTrustLevel);
165
163
  }
166
164
  if (message.minCuratorAgeBlocks !== BigInt(0)) {
167
- writer.uint32(216).int64(message.minCuratorAgeBlocks);
165
+ writer.uint32(208).int64(message.minCuratorAgeBlocks);
168
166
  }
169
167
  if (message.maxTagsPerReview !== 0) {
170
- writer.uint32(224).uint32(message.maxTagsPerReview);
168
+ writer.uint32(216).uint32(message.maxTagsPerReview);
171
169
  }
172
170
  if (message.maxReviewCommentLength !== 0) {
173
- writer.uint32(232).uint32(message.maxReviewCommentLength);
171
+ writer.uint32(224).uint32(message.maxReviewCommentLength);
174
172
  }
175
173
  if (message.maxReviewsPerCollection !== 0) {
176
- writer.uint32(240).uint32(message.maxReviewsPerCollection);
174
+ writer.uint32(232).uint32(message.maxReviewsPerCollection);
177
175
  }
178
176
  if (message.curatorSlashFraction !== "") {
179
- writer.uint32(250).string(Decimal.fromUserInput(message.curatorSlashFraction, 18).atomics);
177
+ writer.uint32(242).string(Decimal.fromUserInput(message.curatorSlashFraction, 18).atomics);
180
178
  }
181
179
  if (message.challengeWindowBlocks !== BigInt(0)) {
182
- writer.uint32(256).int64(message.challengeWindowBlocks);
180
+ writer.uint32(248).int64(message.challengeWindowBlocks);
183
181
  }
184
182
  if (message.challengeDeposit !== "") {
185
- writer.uint32(266).string(message.challengeDeposit);
183
+ writer.uint32(258).string(message.challengeDeposit);
186
184
  }
187
185
  if (message.maxChallengeReasonLength !== 0) {
188
- writer.uint32(272).uint32(message.maxChallengeReasonLength);
186
+ writer.uint32(264).uint32(message.maxChallengeReasonLength);
189
187
  }
190
188
  if (message.maxPrunePerBlock !== 0) {
191
- writer.uint32(280).uint32(message.maxPrunePerBlock);
189
+ writer.uint32(272).uint32(message.maxPrunePerBlock);
192
190
  }
193
191
  if (message.challengeRewardFraction !== "") {
194
- writer.uint32(290).string(Decimal.fromUserInput(message.challengeRewardFraction, 18).atomics);
192
+ writer.uint32(282).string(Decimal.fromUserInput(message.challengeRewardFraction, 18).atomics);
195
193
  }
196
194
  if (message.downvoteCost !== "") {
197
- writer.uint32(298).string(message.downvoteCost);
195
+ writer.uint32(290).string(message.downvoteCost);
198
196
  }
199
197
  if (message.maxUpvotesPerDay !== 0) {
200
- writer.uint32(304).uint32(message.maxUpvotesPerDay);
198
+ writer.uint32(296).uint32(message.maxUpvotesPerDay);
201
199
  }
202
200
  if (message.maxDownvotesPerDay !== 0) {
203
- writer.uint32(312).uint32(message.maxDownvotesPerDay);
201
+ writer.uint32(304).uint32(message.maxDownvotesPerDay);
204
202
  }
205
203
  if (message.flagReviewThreshold !== 0) {
206
- writer.uint32(320).uint32(message.flagReviewThreshold);
204
+ writer.uint32(312).uint32(message.flagReviewThreshold);
207
205
  }
208
206
  if (message.maxFlagsPerDay !== 0) {
209
- writer.uint32(328).uint32(message.maxFlagsPerDay);
207
+ writer.uint32(320).uint32(message.maxFlagsPerDay);
210
208
  }
211
209
  if (message.maxFlaggersPerTarget !== 0) {
212
- writer.uint32(336).uint32(message.maxFlaggersPerTarget);
210
+ writer.uint32(328).uint32(message.maxFlaggersPerTarget);
213
211
  }
214
212
  if (message.flagExpirationBlocks !== BigInt(0)) {
215
- writer.uint32(344).int64(message.flagExpirationBlocks);
213
+ writer.uint32(336).int64(message.flagExpirationBlocks);
216
214
  }
217
215
  if (message.maxFlagReasonLength !== 0) {
218
- writer.uint32(352).uint32(message.maxFlagReasonLength);
216
+ writer.uint32(344).uint32(message.maxFlagReasonLength);
219
217
  }
220
218
  if (message.sentinelCommitAmount !== "") {
221
- writer.uint32(362).string(message.sentinelCommitAmount);
219
+ writer.uint32(354).string(message.sentinelCommitAmount);
222
220
  }
223
221
  if (message.hideExpiryBlocks !== BigInt(0)) {
224
- writer.uint32(368).int64(message.hideExpiryBlocks);
225
- }
226
- if (message.appealFee !== "") {
227
- writer.uint32(378).string(message.appealFee);
222
+ writer.uint32(360).int64(message.hideExpiryBlocks);
228
223
  }
229
224
  if (message.appealCooldownBlocks !== BigInt(0)) {
230
- writer.uint32(384).int64(message.appealCooldownBlocks);
231
- }
232
- if (message.appealDeadlineBlocks !== BigInt(0)) {
233
- writer.uint32(392).int64(message.appealDeadlineBlocks);
225
+ writer.uint32(368).int64(message.appealCooldownBlocks);
234
226
  }
235
227
  if (message.sentinelUnhideWindowBlocks !== BigInt(0)) {
236
- writer.uint32(608).int64(message.sentinelUnhideWindowBlocks);
228
+ writer.uint32(560).int64(message.sentinelUnhideWindowBlocks);
237
229
  }
238
230
  if (message.maxHidesPerSentinelPerDay !== 0) {
239
- writer.uint32(616).uint32(message.maxHidesPerSentinelPerDay);
231
+ writer.uint32(568).uint32(message.maxHidesPerSentinelPerDay);
240
232
  }
241
233
  if (message.endorsementCreationFee !== "") {
242
- writer.uint32(402).string(message.endorsementCreationFee);
234
+ writer.uint32(378).string(message.endorsementCreationFee);
243
235
  }
244
236
  if (message.endorsementDreamStake !== "") {
245
- writer.uint32(410).string(message.endorsementDreamStake);
237
+ writer.uint32(386).string(message.endorsementDreamStake);
246
238
  }
247
239
  if (message.endorsementStakeDuration !== BigInt(0)) {
248
- writer.uint32(416).int64(message.endorsementStakeDuration);
240
+ writer.uint32(392).int64(message.endorsementStakeDuration);
249
241
  }
250
242
  if (message.endorsementExpiryBlocks !== BigInt(0)) {
251
- writer.uint32(424).int64(message.endorsementExpiryBlocks);
243
+ writer.uint32(400).int64(message.endorsementExpiryBlocks);
252
244
  }
253
245
  if (message.endorsementFeeEndorserShare !== "") {
254
- writer.uint32(434).string(Decimal.fromUserInput(message.endorsementFeeEndorserShare, 18).atomics);
246
+ writer.uint32(410).string(Decimal.fromUserInput(message.endorsementFeeEndorserShare, 18).atomics);
255
247
  }
256
248
  if (message.endorsementDeletionBurnFraction !== "") {
257
- writer.uint32(442).string(Decimal.fromUserInput(message.endorsementDeletionBurnFraction, 18).atomics);
249
+ writer.uint32(418).string(Decimal.fromUserInput(message.endorsementDeletionBurnFraction, 18).atomics);
258
250
  }
259
251
  if (message.convictionRenewalThreshold !== "") {
260
- writer.uint32(450).string(Decimal.fromUserInput(message.convictionRenewalThreshold, 18).atomics);
252
+ writer.uint32(426).string(Decimal.fromUserInput(message.convictionRenewalThreshold, 18).atomics);
261
253
  }
262
254
  if (message.convictionRenewalPeriod !== BigInt(0)) {
263
- writer.uint32(456).int64(message.convictionRenewalPeriod);
255
+ writer.uint32(432).int64(message.convictionRenewalPeriod);
264
256
  }
265
257
  if (message.pinMinTrustLevel !== 0) {
266
- writer.uint32(488).uint32(message.pinMinTrustLevel);
258
+ writer.uint32(440).uint32(message.pinMinTrustLevel);
267
259
  }
268
260
  if (message.maxPinsPerDay !== 0) {
269
- writer.uint32(496).uint32(message.maxPinsPerDay);
261
+ writer.uint32(448).uint32(message.maxPinsPerDay);
270
262
  }
271
263
  if (message.curatorDemotionCooldown !== BigInt(0)) {
272
- writer.uint32(504).int64(message.curatorDemotionCooldown);
264
+ writer.uint32(456).int64(message.curatorDemotionCooldown);
273
265
  }
274
266
  if (message.curatorDemotionThreshold !== "") {
275
- writer.uint32(514).string(message.curatorDemotionThreshold);
267
+ writer.uint32(466).string(message.curatorDemotionThreshold);
276
268
  }
277
269
  if (message.curatorOverturnDemotionStreak !== BigInt(0)) {
278
- writer.uint32(520).uint64(message.curatorOverturnDemotionStreak);
270
+ writer.uint32(472).uint64(message.curatorOverturnDemotionStreak);
279
271
  }
280
272
  if (message.curatorUnbondCooldown !== BigInt(0)) {
281
- writer.uint32(528).int64(message.curatorUnbondCooldown);
273
+ writer.uint32(480).int64(message.curatorUnbondCooldown);
282
274
  }
283
275
  if (message.makePermanentMinTrustLevel !== 0) {
284
- writer.uint32(536).uint32(message.makePermanentMinTrustLevel);
276
+ writer.uint32(488).uint32(message.makePermanentMinTrustLevel);
285
277
  }
286
278
  if (message.maxMakePermanentPerDay !== 0) {
287
- writer.uint32(600).uint32(message.maxMakePermanentPerDay);
279
+ writer.uint32(552).uint32(message.maxMakePermanentPerDay);
288
280
  }
289
281
  if (message.nonMemberCollabDreamStake !== "") {
290
- writer.uint32(546).string(message.nonMemberCollabDreamStake);
282
+ writer.uint32(498).string(message.nonMemberCollabDreamStake);
291
283
  }
292
284
  if (message.nonMemberCollabBurnFraction !== "") {
293
- writer.uint32(554).string(Decimal.fromUserInput(message.nonMemberCollabBurnFraction, 18).atomics);
285
+ writer.uint32(506).string(Decimal.fromUserInput(message.nonMemberCollabBurnFraction, 18).atomics);
294
286
  }
295
287
  if (message.maxNonMemberCollaboratorsPerCollection !== 0) {
296
- writer.uint32(560).uint32(message.maxNonMemberCollaboratorsPerCollection);
288
+ writer.uint32(512).uint32(message.maxNonMemberCollaboratorsPerCollection);
297
289
  }
298
290
  if (message.maxPromotionsPerBlock !== 0) {
299
- writer.uint32(568).uint32(message.maxPromotionsPerBlock);
291
+ writer.uint32(520).uint32(message.maxPromotionsPerBlock);
300
292
  }
301
293
  if (message.endorserRepPenalty !== "") {
302
- writer.uint32(578).string(Decimal.fromUserInput(message.endorserRepPenalty, 18).atomics);
294
+ writer.uint32(530).string(Decimal.fromUserInput(message.endorserRepPenalty, 18).atomics);
303
295
  }
304
296
  if (message.collabInviterRepPenalty !== "") {
305
- writer.uint32(586).string(Decimal.fromUserInput(message.collabInviterRepPenalty, 18).atomics);
297
+ writer.uint32(538).string(Decimal.fromUserInput(message.collabInviterRepPenalty, 18).atomics);
306
298
  }
307
299
  if (message.authorRepPenalty !== "") {
308
- writer.uint32(594).string(Decimal.fromUserInput(message.authorRepPenalty, 18).atomics);
300
+ writer.uint32(546).string(Decimal.fromUserInput(message.authorRepPenalty, 18).atomics);
309
301
  }
310
302
  return writer;
311
303
  },
@@ -376,163 +368,157 @@ export const Params = {
376
368
  case 20:
377
369
  message.perItemSpamTax = reader.string();
378
370
  break;
379
- case 22:
371
+ case 21:
380
372
  message.sponsorFee = reader.string();
381
373
  break;
382
- case 23:
374
+ case 22:
383
375
  message.minSponsorTrustLevel = reader.string();
384
376
  break;
385
- case 24:
377
+ case 23:
386
378
  message.sponsorshipRequestTtlBlocks = reader.int64();
387
379
  break;
388
- case 25:
380
+ case 24:
389
381
  message.minCuratorBond = reader.string();
390
382
  break;
391
- case 26:
383
+ case 25:
392
384
  message.minCuratorTrustLevel = reader.string();
393
385
  break;
394
- case 27:
386
+ case 26:
395
387
  message.minCuratorAgeBlocks = reader.int64();
396
388
  break;
397
- case 28:
389
+ case 27:
398
390
  message.maxTagsPerReview = reader.uint32();
399
391
  break;
400
- case 29:
392
+ case 28:
401
393
  message.maxReviewCommentLength = reader.uint32();
402
394
  break;
403
- case 30:
395
+ case 29:
404
396
  message.maxReviewsPerCollection = reader.uint32();
405
397
  break;
406
- case 31:
398
+ case 30:
407
399
  message.curatorSlashFraction = Decimal.fromAtomics(reader.string(), 18).toString();
408
400
  break;
409
- case 32:
401
+ case 31:
410
402
  message.challengeWindowBlocks = reader.int64();
411
403
  break;
412
- case 33:
404
+ case 32:
413
405
  message.challengeDeposit = reader.string();
414
406
  break;
415
- case 34:
407
+ case 33:
416
408
  message.maxChallengeReasonLength = reader.uint32();
417
409
  break;
418
- case 35:
410
+ case 34:
419
411
  message.maxPrunePerBlock = reader.uint32();
420
412
  break;
421
- case 36:
413
+ case 35:
422
414
  message.challengeRewardFraction = Decimal.fromAtomics(reader.string(), 18).toString();
423
415
  break;
424
- case 37:
416
+ case 36:
425
417
  message.downvoteCost = reader.string();
426
418
  break;
427
- case 38:
419
+ case 37:
428
420
  message.maxUpvotesPerDay = reader.uint32();
429
421
  break;
430
- case 39:
422
+ case 38:
431
423
  message.maxDownvotesPerDay = reader.uint32();
432
424
  break;
433
- case 40:
425
+ case 39:
434
426
  message.flagReviewThreshold = reader.uint32();
435
427
  break;
436
- case 41:
428
+ case 40:
437
429
  message.maxFlagsPerDay = reader.uint32();
438
430
  break;
439
- case 42:
431
+ case 41:
440
432
  message.maxFlaggersPerTarget = reader.uint32();
441
433
  break;
442
- case 43:
434
+ case 42:
443
435
  message.flagExpirationBlocks = reader.int64();
444
436
  break;
445
- case 44:
437
+ case 43:
446
438
  message.maxFlagReasonLength = reader.uint32();
447
439
  break;
448
- case 45:
440
+ case 44:
449
441
  message.sentinelCommitAmount = reader.string();
450
442
  break;
451
- case 46:
443
+ case 45:
452
444
  message.hideExpiryBlocks = reader.int64();
453
445
  break;
454
- case 47:
455
- message.appealFee = reader.string();
456
- break;
457
- case 48:
446
+ case 46:
458
447
  message.appealCooldownBlocks = reader.int64();
459
448
  break;
460
- case 49:
461
- message.appealDeadlineBlocks = reader.int64();
462
- break;
463
- case 76:
449
+ case 70:
464
450
  message.sentinelUnhideWindowBlocks = reader.int64();
465
451
  break;
466
- case 77:
452
+ case 71:
467
453
  message.maxHidesPerSentinelPerDay = reader.uint32();
468
454
  break;
469
- case 50:
455
+ case 47:
470
456
  message.endorsementCreationFee = reader.string();
471
457
  break;
472
- case 51:
458
+ case 48:
473
459
  message.endorsementDreamStake = reader.string();
474
460
  break;
475
- case 52:
461
+ case 49:
476
462
  message.endorsementStakeDuration = reader.int64();
477
463
  break;
478
- case 53:
464
+ case 50:
479
465
  message.endorsementExpiryBlocks = reader.int64();
480
466
  break;
481
- case 54:
467
+ case 51:
482
468
  message.endorsementFeeEndorserShare = Decimal.fromAtomics(reader.string(), 18).toString();
483
469
  break;
484
- case 55:
470
+ case 52:
485
471
  message.endorsementDeletionBurnFraction = Decimal.fromAtomics(reader.string(), 18).toString();
486
472
  break;
487
- case 56:
473
+ case 53:
488
474
  message.convictionRenewalThreshold = Decimal.fromAtomics(reader.string(), 18).toString();
489
475
  break;
490
- case 57:
476
+ case 54:
491
477
  message.convictionRenewalPeriod = reader.int64();
492
478
  break;
493
- case 61:
479
+ case 55:
494
480
  message.pinMinTrustLevel = reader.uint32();
495
481
  break;
496
- case 62:
482
+ case 56:
497
483
  message.maxPinsPerDay = reader.uint32();
498
484
  break;
499
- case 63:
485
+ case 57:
500
486
  message.curatorDemotionCooldown = reader.int64();
501
487
  break;
502
- case 64:
488
+ case 58:
503
489
  message.curatorDemotionThreshold = reader.string();
504
490
  break;
505
- case 65:
491
+ case 59:
506
492
  message.curatorOverturnDemotionStreak = reader.uint64();
507
493
  break;
508
- case 66:
494
+ case 60:
509
495
  message.curatorUnbondCooldown = reader.int64();
510
496
  break;
511
- case 67:
497
+ case 61:
512
498
  message.makePermanentMinTrustLevel = reader.uint32();
513
499
  break;
514
- case 75:
500
+ case 69:
515
501
  message.maxMakePermanentPerDay = reader.uint32();
516
502
  break;
517
- case 68:
503
+ case 62:
518
504
  message.nonMemberCollabDreamStake = reader.string();
519
505
  break;
520
- case 69:
506
+ case 63:
521
507
  message.nonMemberCollabBurnFraction = Decimal.fromAtomics(reader.string(), 18).toString();
522
508
  break;
523
- case 70:
509
+ case 64:
524
510
  message.maxNonMemberCollaboratorsPerCollection = reader.uint32();
525
511
  break;
526
- case 71:
512
+ case 65:
527
513
  message.maxPromotionsPerBlock = reader.uint32();
528
514
  break;
529
- case 72:
515
+ case 66:
530
516
  message.endorserRepPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
531
517
  break;
532
- case 73:
518
+ case 67:
533
519
  message.collabInviterRepPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
534
520
  break;
535
- case 74:
521
+ case 68:
536
522
  message.authorRepPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
537
523
  break;
538
524
  default:
@@ -589,9 +575,7 @@ export const Params = {
589
575
  message.maxFlagReasonLength = object.maxFlagReasonLength ?? 0;
590
576
  message.sentinelCommitAmount = object.sentinelCommitAmount ?? "";
591
577
  message.hideExpiryBlocks = object.hideExpiryBlocks !== undefined && object.hideExpiryBlocks !== null ? BigInt(object.hideExpiryBlocks.toString()) : BigInt(0);
592
- message.appealFee = object.appealFee ?? "";
593
578
  message.appealCooldownBlocks = object.appealCooldownBlocks !== undefined && object.appealCooldownBlocks !== null ? BigInt(object.appealCooldownBlocks.toString()) : BigInt(0);
594
- message.appealDeadlineBlocks = object.appealDeadlineBlocks !== undefined && object.appealDeadlineBlocks !== null ? BigInt(object.appealDeadlineBlocks.toString()) : BigInt(0);
595
579
  message.sentinelUnhideWindowBlocks = object.sentinelUnhideWindowBlocks !== undefined && object.sentinelUnhideWindowBlocks !== null ? BigInt(object.sentinelUnhideWindowBlocks.toString()) : BigInt(0);
596
580
  message.maxHidesPerSentinelPerDay = object.maxHidesPerSentinelPerDay ?? 0;
597
581
  message.endorsementCreationFee = object.endorsementCreationFee ?? "";
@@ -756,15 +740,9 @@ export const Params = {
756
740
  if (object.hide_expiry_blocks !== undefined && object.hide_expiry_blocks !== null) {
757
741
  message.hideExpiryBlocks = BigInt(object.hide_expiry_blocks);
758
742
  }
759
- if (object.appeal_fee !== undefined && object.appeal_fee !== null) {
760
- message.appealFee = object.appeal_fee;
761
- }
762
743
  if (object.appeal_cooldown_blocks !== undefined && object.appeal_cooldown_blocks !== null) {
763
744
  message.appealCooldownBlocks = BigInt(object.appeal_cooldown_blocks);
764
745
  }
765
- if (object.appeal_deadline_blocks !== undefined && object.appeal_deadline_blocks !== null) {
766
- message.appealDeadlineBlocks = BigInt(object.appeal_deadline_blocks);
767
- }
768
746
  if (object.sentinel_unhide_window_blocks !== undefined && object.sentinel_unhide_window_blocks !== null) {
769
747
  message.sentinelUnhideWindowBlocks = BigInt(object.sentinel_unhide_window_blocks);
770
748
  }
@@ -889,9 +867,7 @@ export const Params = {
889
867
  obj.max_flag_reason_length = message.maxFlagReasonLength === 0 ? undefined : message.maxFlagReasonLength;
890
868
  obj.sentinel_commit_amount = message.sentinelCommitAmount === "" ? undefined : message.sentinelCommitAmount;
891
869
  obj.hide_expiry_blocks = message.hideExpiryBlocks !== BigInt(0) ? message.hideExpiryBlocks?.toString() : undefined;
892
- obj.appeal_fee = message.appealFee === "" ? undefined : message.appealFee;
893
870
  obj.appeal_cooldown_blocks = message.appealCooldownBlocks !== BigInt(0) ? message.appealCooldownBlocks?.toString() : undefined;
894
- obj.appeal_deadline_blocks = message.appealDeadlineBlocks !== BigInt(0) ? message.appealDeadlineBlocks?.toString() : undefined;
895
871
  obj.sentinel_unhide_window_blocks = message.sentinelUnhideWindowBlocks !== BigInt(0) ? message.sentinelUnhideWindowBlocks?.toString() : undefined;
896
872
  obj.max_hides_per_sentinel_per_day = message.maxHidesPerSentinelPerDay === 0 ? undefined : message.maxHidesPerSentinelPerDay;
897
873
  obj.endorsement_creation_fee = message.endorsementCreationFee === "" ? undefined : message.endorsementCreationFee;