@sparkdreamnft/sparkdreamjs 0.0.48 → 0.0.50

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 (231) hide show
  1. package/akash/bundle.d.ts +134 -134
  2. package/akash/bundle.js +150 -150
  3. package/amino-schema.d.ts +94 -0
  4. package/amino-schema.js +1 -1
  5. package/cosmos/bundle.d.ts +160 -160
  6. package/cosmos/bundle.js +182 -182
  7. package/esm/akash/bundle.js +150 -150
  8. package/esm/amino-schema.js +1 -1
  9. package/esm/cosmos/bundle.js +182 -182
  10. package/esm/ibc/bundle.js +116 -116
  11. package/esm/sparkdream/artifact/v1/types.js +25 -1
  12. package/esm/sparkdream/blog/v1/genesis.js +97 -1
  13. package/esm/sparkdream/bundle.js +447 -439
  14. package/esm/sparkdream/collect/v1/genesis.js +308 -3
  15. package/esm/sparkdream/collect/v1/tx.js +170 -0
  16. package/esm/sparkdream/collect/v1/tx.registry.js +20 -2
  17. package/esm/sparkdream/collect/v1/tx.rpc.msg.js +10 -1
  18. package/esm/sparkdream/collect/v1/types.js +51 -3
  19. package/esm/sparkdream/commons/v1/genesis.js +756 -27
  20. package/esm/sparkdream/commons/v1/group.js +130 -2
  21. package/esm/sparkdream/commons/v1/poll.js +281 -0
  22. package/esm/sparkdream/commons/v1/poll_vote.js +107 -0
  23. package/esm/sparkdream/commons/v1/query.js +759 -0
  24. package/esm/sparkdream/commons/v1/query.lcd.js +46 -0
  25. package/esm/sparkdream/commons/v1/query.rpc.Query.js +49 -1
  26. package/esm/sparkdream/commons/v1/tx.js +730 -4
  27. package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
  28. package/esm/sparkdream/commons/v1/tx.rpc.msg.js +25 -1
  29. package/esm/sparkdream/commons/v1/voter_tree.js +208 -0
  30. package/esm/sparkdream/federation/v1/genesis.js +212 -2
  31. package/esm/sparkdream/federation/v1/tx.js +365 -0
  32. package/esm/sparkdream/federation/v1/tx.registry.js +38 -2
  33. package/esm/sparkdream/federation/v1/tx.rpc.msg.js +14 -1
  34. package/esm/sparkdream/federation/v1/types.js +194 -2
  35. package/esm/sparkdream/forum/v1/archive_metadata.js +13 -1
  36. package/esm/sparkdream/forum/v1/genesis.js +428 -1
  37. package/esm/sparkdream/forum/v1/params.js +182 -254
  38. package/esm/sparkdream/forum/v1/query.js +112 -7
  39. package/esm/sparkdream/forum/v1/user_reaction_limit.js +62 -1
  40. package/esm/sparkdream/futarchy/v1/market.js +37 -1
  41. package/esm/sparkdream/futarchy/v1/tx.js +13 -1
  42. package/esm/sparkdream/name/v1/dispute.js +13 -1
  43. package/esm/sparkdream/rep/v1/genesis.js +272 -2
  44. package/esm/sparkdream/rep/v1/initiative_review.js +13 -1
  45. package/esm/sparkdream/rep/v1/invitation.js +25 -1
  46. package/esm/sparkdream/rep/v1/member_report.js +335 -1
  47. package/esm/sparkdream/rep/v1/migration.js +27 -2
  48. package/esm/sparkdream/rep/v1/params.js +13 -1
  49. package/esm/sparkdream/rep/v1/stake.js +10 -0
  50. package/esm/sparkdream/rep/v1/tx.js +372 -14
  51. package/esm/sparkdream/rep/v1/tx.registry.js +38 -2
  52. package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -2
  53. package/esm/sparkdream/reveal/v1/types.js +9 -21
  54. package/esm/sparkdream/season/v1/display_name_moderation.js +40 -1
  55. package/esm/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
  56. package/esm/sparkdream/season/v1/genesis.js +125 -1
  57. package/esm/sparkdream/season/v1/guild_invite.js +13 -1
  58. package/esm/sparkdream/season/v1/guild_membership.js +13 -1
  59. package/esm/sparkdream/season/v1/member_profile.js +13 -1
  60. package/esm/sparkdream/season/v1/member_quest_progress.js +13 -1
  61. package/esm/sparkdream/season/v1/member_season_snapshot.js +16 -1
  62. package/esm/sparkdream/season/v1/nomination.js +37 -1
  63. package/esm/sparkdream/season/v1/query.js +26 -35
  64. package/esm/sparkdream/season/v1/query.lcd.js +1 -1
  65. package/esm/sparkdream/season/v1/quest.js +13 -1
  66. package/esm/sparkdream/season/v1/season.js +13 -1
  67. package/esm/sparkdream/season/v1/season_stats_counters.js +121 -0
  68. package/esm/sparkdream/season/v1/season_title_eligibility.js +4 -1
  69. package/esm/sparkdream/service/v1/genesis.js +126 -1
  70. package/esm/sparkdream/service/v1/refile_cooldown.js +20 -7
  71. package/esm/sparkdream/session/v1/genesis.js +303 -1
  72. package/esm/sparkdream/session/v1/params.js +24 -0
  73. package/esm/sparkdream/shield/v1/genesis.js +56 -2
  74. package/esm/sparkdream/shield/v1/params.js +13 -1
  75. package/esm/sparkdream/shield/v1/types.js +202 -1
  76. package/esm/sparkdream/vault/v1/genesis.js +25 -1
  77. package/esm/sparkdream/vault/v1/query.js +15 -2
  78. package/esm/sparkdream/vault/v1/query.lcd.js +3 -0
  79. package/esm/sparkdream/vault/v1/tx.js +301 -0
  80. package/esm/sparkdream/vault/v1/tx.registry.js +38 -2
  81. package/esm/sparkdream/vault/v1/tx.rpc.msg.js +13 -1
  82. package/esm/sparkdream/vault/v1/vault_signer.js +15 -2
  83. package/esm/tendermint/bundle.js +20 -20
  84. package/ibc/bundle.d.ts +99 -99
  85. package/ibc/bundle.js +116 -116
  86. package/package.json +1 -1
  87. package/sparkdream/artifact/v1/types.d.ts +14 -0
  88. package/sparkdream/artifact/v1/types.js +25 -1
  89. package/sparkdream/blog/v1/genesis.d.ts +60 -0
  90. package/sparkdream/blog/v1/genesis.js +98 -2
  91. package/sparkdream/bundle.d.ts +17133 -16171
  92. package/sparkdream/bundle.js +447 -439
  93. package/sparkdream/collect/v1/genesis.d.ts +186 -0
  94. package/sparkdream/collect/v1/genesis.js +309 -4
  95. package/sparkdream/collect/v1/tx.d.ts +100 -0
  96. package/sparkdream/collect/v1/tx.js +171 -1
  97. package/sparkdream/collect/v1/tx.registry.d.ts +13 -1
  98. package/sparkdream/collect/v1/tx.registry.js +19 -1
  99. package/sparkdream/collect/v1/tx.rpc.msg.d.ts +9 -1
  100. package/sparkdream/collect/v1/tx.rpc.msg.js +9 -0
  101. package/sparkdream/collect/v1/types.d.ts +52 -0
  102. package/sparkdream/collect/v1/types.js +51 -3
  103. package/sparkdream/commons/v1/genesis.d.ts +443 -22
  104. package/sparkdream/commons/v1/genesis.js +756 -27
  105. package/sparkdream/commons/v1/group.d.ts +75 -0
  106. package/sparkdream/commons/v1/group.js +133 -3
  107. package/sparkdream/commons/v1/poll.d.ts +135 -0
  108. package/sparkdream/commons/v1/poll.js +286 -0
  109. package/sparkdream/commons/v1/poll_vote.d.ts +58 -0
  110. package/sparkdream/commons/v1/poll_vote.js +110 -0
  111. package/sparkdream/commons/v1/query.d.ts +465 -0
  112. package/sparkdream/commons/v1/query.js +760 -1
  113. package/sparkdream/commons/v1/query.lcd.d.ts +6 -1
  114. package/sparkdream/commons/v1/query.lcd.js +46 -0
  115. package/sparkdream/commons/v1/query.rpc.Query.d.ts +30 -1
  116. package/sparkdream/commons/v1/query.rpc.Query.js +48 -0
  117. package/sparkdream/commons/v1/tx.d.ts +475 -1
  118. package/sparkdream/commons/v1/tx.js +731 -4
  119. package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
  120. package/sparkdream/commons/v1/tx.registry.js +73 -1
  121. package/sparkdream/commons/v1/tx.rpc.msg.d.ts +13 -1
  122. package/sparkdream/commons/v1/tx.rpc.msg.js +24 -0
  123. package/sparkdream/commons/v1/voter_tree.d.ts +132 -0
  124. package/sparkdream/commons/v1/voter_tree.js +211 -0
  125. package/sparkdream/federation/v1/genesis.d.ts +136 -1
  126. package/sparkdream/federation/v1/genesis.js +212 -2
  127. package/sparkdream/federation/v1/tx.d.ts +235 -0
  128. package/sparkdream/federation/v1/tx.js +367 -1
  129. package/sparkdream/federation/v1/tx.registry.d.ts +25 -1
  130. package/sparkdream/federation/v1/tx.registry.js +37 -1
  131. package/sparkdream/federation/v1/tx.rpc.msg.d.ts +9 -1
  132. package/sparkdream/federation/v1/tx.rpc.msg.js +13 -0
  133. package/sparkdream/federation/v1/types.d.ts +166 -0
  134. package/sparkdream/federation/v1/types.js +197 -3
  135. package/sparkdream/forum/v1/archive_metadata.d.ts +12 -0
  136. package/sparkdream/forum/v1/archive_metadata.js +13 -1
  137. package/sparkdream/forum/v1/genesis.d.ts +256 -0
  138. package/sparkdream/forum/v1/genesis.js +429 -2
  139. package/sparkdream/forum/v1/params.d.ts +0 -30
  140. package/sparkdream/forum/v1/params.js +182 -254
  141. package/sparkdream/forum/v1/query.d.ts +70 -0
  142. package/sparkdream/forum/v1/query.js +112 -7
  143. package/sparkdream/forum/v1/user_reaction_limit.d.ts +25 -0
  144. package/sparkdream/forum/v1/user_reaction_limit.js +65 -2
  145. package/sparkdream/futarchy/v1/market.d.ts +32 -0
  146. package/sparkdream/futarchy/v1/market.js +37 -1
  147. package/sparkdream/futarchy/v1/tx.d.ts +10 -0
  148. package/sparkdream/futarchy/v1/tx.js +13 -1
  149. package/sparkdream/name/v1/dispute.d.ts +14 -0
  150. package/sparkdream/name/v1/dispute.js +13 -1
  151. package/sparkdream/rep/v1/genesis.d.ts +151 -1
  152. package/sparkdream/rep/v1/genesis.js +272 -2
  153. package/sparkdream/rep/v1/initiative_review.d.ts +14 -0
  154. package/sparkdream/rep/v1/initiative_review.js +13 -1
  155. package/sparkdream/rep/v1/invitation.d.ts +32 -0
  156. package/sparkdream/rep/v1/invitation.js +25 -1
  157. package/sparkdream/rep/v1/member_report.d.ts +215 -0
  158. package/sparkdream/rep/v1/member_report.js +336 -2
  159. package/sparkdream/rep/v1/migration.d.ts +34 -1
  160. package/sparkdream/rep/v1/migration.js +27 -2
  161. package/sparkdream/rep/v1/params.d.ts +18 -0
  162. package/sparkdream/rep/v1/params.js +13 -1
  163. package/sparkdream/rep/v1/stake.d.ts +5 -0
  164. package/sparkdream/rep/v1/stake.js +10 -0
  165. package/sparkdream/rep/v1/tx.d.ts +340 -39
  166. package/sparkdream/rep/v1/tx.js +375 -17
  167. package/sparkdream/rep/v1/tx.registry.d.ts +25 -1
  168. package/sparkdream/rep/v1/tx.registry.js +37 -1
  169. package/sparkdream/rep/v1/tx.rpc.msg.d.ts +12 -2
  170. package/sparkdream/rep/v1/tx.rpc.msg.js +15 -1
  171. package/sparkdream/reveal/v1/types.d.ts +0 -8
  172. package/sparkdream/reveal/v1/types.js +9 -21
  173. package/sparkdream/rpc.query.d.ts +5 -0
  174. package/sparkdream/season/v1/display_name_moderation.d.ts +28 -0
  175. package/sparkdream/season/v1/display_name_moderation.js +40 -1
  176. package/sparkdream/season/v1/epoch_xp_tracker.d.ts +10 -0
  177. package/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
  178. package/sparkdream/season/v1/genesis.d.ts +75 -0
  179. package/sparkdream/season/v1/genesis.js +126 -2
  180. package/sparkdream/season/v1/guild_invite.d.ts +10 -0
  181. package/sparkdream/season/v1/guild_invite.js +13 -1
  182. package/sparkdream/season/v1/guild_membership.d.ts +12 -0
  183. package/sparkdream/season/v1/guild_membership.js +13 -1
  184. package/sparkdream/season/v1/member_profile.d.ts +12 -0
  185. package/sparkdream/season/v1/member_profile.js +13 -1
  186. package/sparkdream/season/v1/member_quest_progress.d.ts +8 -0
  187. package/sparkdream/season/v1/member_quest_progress.js +13 -1
  188. package/sparkdream/season/v1/member_season_snapshot.d.ts +14 -0
  189. package/sparkdream/season/v1/member_season_snapshot.js +16 -1
  190. package/sparkdream/season/v1/nomination.d.ts +32 -0
  191. package/sparkdream/season/v1/nomination.js +37 -1
  192. package/sparkdream/season/v1/query.d.ts +10 -6
  193. package/sparkdream/season/v1/query.js +26 -35
  194. package/sparkdream/season/v1/query.lcd.js +1 -1
  195. package/sparkdream/season/v1/quest.d.ts +12 -0
  196. package/sparkdream/season/v1/quest.js +13 -1
  197. package/sparkdream/season/v1/season.d.ts +12 -0
  198. package/sparkdream/season/v1/season.js +13 -1
  199. package/sparkdream/season/v1/season_stats_counters.d.ts +86 -0
  200. package/sparkdream/season/v1/season_stats_counters.js +124 -0
  201. package/sparkdream/season/v1/season_title_eligibility.d.ts +12 -3
  202. package/sparkdream/season/v1/season_title_eligibility.js +4 -1
  203. package/sparkdream/service/v1/genesis.d.ts +71 -0
  204. package/sparkdream/service/v1/genesis.js +127 -2
  205. package/sparkdream/service/v1/refile_cooldown.d.ts +35 -22
  206. package/sparkdream/service/v1/refile_cooldown.js +20 -7
  207. package/sparkdream/session/v1/genesis.d.ts +190 -0
  208. package/sparkdream/session/v1/genesis.js +304 -2
  209. package/sparkdream/session/v1/params.d.ts +18 -0
  210. package/sparkdream/session/v1/params.js +24 -0
  211. package/sparkdream/shield/v1/genesis.d.ts +37 -1
  212. package/sparkdream/shield/v1/genesis.js +55 -1
  213. package/sparkdream/shield/v1/params.d.ts +26 -2
  214. package/sparkdream/shield/v1/params.js +13 -1
  215. package/sparkdream/shield/v1/types.d.ts +122 -0
  216. package/sparkdream/shield/v1/types.js +203 -2
  217. package/sparkdream/vault/v1/genesis.d.ts +14 -0
  218. package/sparkdream/vault/v1/genesis.js +25 -1
  219. package/sparkdream/vault/v1/query.d.ts +16 -3
  220. package/sparkdream/vault/v1/query.js +15 -2
  221. package/sparkdream/vault/v1/query.lcd.js +3 -0
  222. package/sparkdream/vault/v1/tx.d.ts +219 -0
  223. package/sparkdream/vault/v1/tx.js +302 -1
  224. package/sparkdream/vault/v1/tx.registry.d.ts +25 -1
  225. package/sparkdream/vault/v1/tx.registry.js +37 -1
  226. package/sparkdream/vault/v1/tx.rpc.msg.d.ts +7 -1
  227. package/sparkdream/vault/v1/tx.rpc.msg.js +12 -0
  228. package/sparkdream/vault/v1/vault_signer.d.ts +22 -3
  229. package/sparkdream/vault/v1/vault_signer.js +15 -2
  230. package/tendermint/bundle.d.ts +844 -844
  231. package/tendermint/bundle.js +20 -20
@@ -1,8 +1,10 @@
1
1
  import { Params, ParamsAmino } from "./params";
2
2
  import { PolicyPermissions, PolicyPermissionsAmino } from "./policy_permissions";
3
- import { Group, GroupAmino, Proposal, ProposalAmino, Member, MemberAmino, DecisionPolicy, DecisionPolicyAmino, Vote, VoteAmino } from "./group";
3
+ import { Group, GroupAmino, Proposal, ProposalAmino, AnonVoteTally, AnonVoteTallyAmino, Member, MemberAmino, DecisionPolicy, DecisionPolicyAmino, Vote, VoteAmino } from "./group";
4
4
  import { Category, CategoryAmino } from "./category";
5
- import { RecurringSpend, RecurringSpendAmino } from "./recurring_spend";
5
+ import { Poll, PollAmino } from "./poll";
6
+ import { PollVote, PollVoteAmino } from "./poll_vote";
7
+ import { VoterTree, VoterTreeAmino } from "./voter_tree";
6
8
  import { BinaryReader, BinaryWriter } from "../../../binary";
7
9
  import { DeepPartial } from "../../../helpers";
8
10
  /**
@@ -54,14 +56,6 @@ export interface GenesisState {
54
56
  * next_category_id is the next auto-increment category ID
55
57
  */
56
58
  nextCategoryId: bigint;
57
- /**
58
- * recurring_spends stores all schedules for export.
59
- */
60
- recurringSpends: RecurringSpend[];
61
- /**
62
- * next_recurring_spend_id is the next auto-increment recurring spend ID.
63
- */
64
- nextRecurringSpendId: bigint;
65
59
  /**
66
60
  * founding_members overrides the build's compiled-in genesis founders
67
61
  * (GenesisNames / GenesisHandles / FounderName) when non-empty, so a chain
@@ -69,10 +63,60 @@ export interface GenesisState {
69
63
  * accounts. Empty means: use the build's founders. Consumed by the
70
64
  * governance bootstrap at InitGenesis and intentionally not exported: an
71
65
  * exported chain already carries its bootstrapped councils in group_map /
72
- * council_members, and the bootstrap's early return (no founder accounts
73
- * in the auth store) keeps a re-import from re-running it.
66
+ * council_members, and InitGenesis skips the bootstrap whenever group_map
67
+ * is non-empty.
74
68
  */
75
69
  foundingMembers: FoundingMember[];
70
+ /**
71
+ * epoch_spending carries the per-(policy, UTC day) spend buckets so a
72
+ * round trip does not reset the daily caps.
73
+ */
74
+ epochSpending: EpochSpendingEntry[];
75
+ /**
76
+ * market_to_group links open confidence-vote markets to their group.
77
+ */
78
+ marketToGroup: MarketToGroupEntry[];
79
+ /**
80
+ * market_trigger_queue holds the scheduled confidence-vote markets.
81
+ */
82
+ marketTriggerQueue: MarketTriggerEntry[];
83
+ /**
84
+ * deleted_policies lists the policy addresses of deleted groups; claims
85
+ * granted by a former group policy are refused.
86
+ */
87
+ deletedPolicies: string[];
88
+ /**
89
+ * anon_vote_tallies carries the anonymous vote counts per proposal, so a
90
+ * round trip keeps them visible in proposal queries.
91
+ */
92
+ anonVoteTallies: AnonVoteTallyEntry[];
93
+ /**
94
+ * anon_proposal_counts carries the per-(council, UTC day) anonymous
95
+ * proposal counters, so a round trip does not reset the daily cap.
96
+ */
97
+ anonProposalCounts: AnonProposalCountEntry[];
98
+ /**
99
+ * polls are every stored poll (open, and closed or cancelled ones still
100
+ * inside the retention window).
101
+ */
102
+ polls: Poll[];
103
+ /**
104
+ * poll_votes are the open votes on stored polls.
105
+ */
106
+ pollVotes: PollVote[];
107
+ /**
108
+ * next_poll_id is the next poll ID to assign.
109
+ */
110
+ nextPollId: bigint;
111
+ /**
112
+ * proposal_voter_trees are the voter snapshots of secret-ballot proposals
113
+ * still open for voting.
114
+ */
115
+ proposalVoterTrees: ProposalVoterTreeEntry[];
116
+ /**
117
+ * poll_voter_trees are the voter snapshots of open secret-ballot polls.
118
+ */
119
+ pollVoterTrees: PollVoterTreeEntry[];
76
120
  }
77
121
  export interface GenesisStateProtoMsg {
78
122
  typeUrl: "/sparkdream.commons.v1.GenesisState";
@@ -127,14 +171,6 @@ export interface GenesisStateAmino {
127
171
  * next_category_id is the next auto-increment category ID
128
172
  */
129
173
  next_category_id?: string;
130
- /**
131
- * recurring_spends stores all schedules for export.
132
- */
133
- recurring_spends?: RecurringSpendAmino[];
134
- /**
135
- * next_recurring_spend_id is the next auto-increment recurring spend ID.
136
- */
137
- next_recurring_spend_id?: string;
138
174
  /**
139
175
  * founding_members overrides the build's compiled-in genesis founders
140
176
  * (GenesisNames / GenesisHandles / FounderName) when non-empty, so a chain
@@ -142,15 +178,273 @@ export interface GenesisStateAmino {
142
178
  * accounts. Empty means: use the build's founders. Consumed by the
143
179
  * governance bootstrap at InitGenesis and intentionally not exported: an
144
180
  * exported chain already carries its bootstrapped councils in group_map /
145
- * council_members, and the bootstrap's early return (no founder accounts
146
- * in the auth store) keeps a re-import from re-running it.
181
+ * council_members, and InitGenesis skips the bootstrap whenever group_map
182
+ * is non-empty.
147
183
  */
148
184
  founding_members?: FoundingMemberAmino[];
185
+ /**
186
+ * epoch_spending carries the per-(policy, UTC day) spend buckets so a
187
+ * round trip does not reset the daily caps.
188
+ */
189
+ epoch_spending?: EpochSpendingEntryAmino[];
190
+ /**
191
+ * market_to_group links open confidence-vote markets to their group.
192
+ */
193
+ market_to_group?: MarketToGroupEntryAmino[];
194
+ /**
195
+ * market_trigger_queue holds the scheduled confidence-vote markets.
196
+ */
197
+ market_trigger_queue?: MarketTriggerEntryAmino[];
198
+ /**
199
+ * deleted_policies lists the policy addresses of deleted groups; claims
200
+ * granted by a former group policy are refused.
201
+ */
202
+ deleted_policies?: string[];
203
+ /**
204
+ * anon_vote_tallies carries the anonymous vote counts per proposal, so a
205
+ * round trip keeps them visible in proposal queries.
206
+ */
207
+ anon_vote_tallies?: AnonVoteTallyEntryAmino[];
208
+ /**
209
+ * anon_proposal_counts carries the per-(council, UTC day) anonymous
210
+ * proposal counters, so a round trip does not reset the daily cap.
211
+ */
212
+ anon_proposal_counts?: AnonProposalCountEntryAmino[];
213
+ /**
214
+ * polls are every stored poll (open, and closed or cancelled ones still
215
+ * inside the retention window).
216
+ */
217
+ polls?: PollAmino[];
218
+ /**
219
+ * poll_votes are the open votes on stored polls.
220
+ */
221
+ poll_votes?: PollVoteAmino[];
222
+ /**
223
+ * next_poll_id is the next poll ID to assign.
224
+ */
225
+ next_poll_id?: string;
226
+ /**
227
+ * proposal_voter_trees are the voter snapshots of secret-ballot proposals
228
+ * still open for voting.
229
+ */
230
+ proposal_voter_trees?: ProposalVoterTreeEntryAmino[];
231
+ /**
232
+ * poll_voter_trees are the voter snapshots of open secret-ballot polls.
233
+ */
234
+ poll_voter_trees?: PollVoterTreeEntryAmino[];
149
235
  }
150
236
  export interface GenesisStateAminoMsg {
151
237
  type: "/sparkdream.commons.v1.GenesisState";
152
238
  value: GenesisStateAmino;
153
239
  }
240
+ /**
241
+ * ProposalVoterTreeEntry pairs a proposal ID with its voter snapshot.
242
+ * @name ProposalVoterTreeEntry
243
+ * @package sparkdream.commons.v1
244
+ * @see proto type: sparkdream.commons.v1.ProposalVoterTreeEntry
245
+ */
246
+ export interface ProposalVoterTreeEntry {
247
+ proposalId: bigint;
248
+ tree: VoterTree;
249
+ }
250
+ export interface ProposalVoterTreeEntryProtoMsg {
251
+ typeUrl: "/sparkdream.commons.v1.ProposalVoterTreeEntry";
252
+ value: Uint8Array;
253
+ }
254
+ /**
255
+ * ProposalVoterTreeEntry pairs a proposal ID with its voter snapshot.
256
+ * @name ProposalVoterTreeEntryAmino
257
+ * @package sparkdream.commons.v1
258
+ * @see proto type: sparkdream.commons.v1.ProposalVoterTreeEntry
259
+ */
260
+ export interface ProposalVoterTreeEntryAmino {
261
+ proposal_id?: string;
262
+ tree?: VoterTreeAmino;
263
+ }
264
+ export interface ProposalVoterTreeEntryAminoMsg {
265
+ type: "/sparkdream.commons.v1.ProposalVoterTreeEntry";
266
+ value: ProposalVoterTreeEntryAmino;
267
+ }
268
+ /**
269
+ * PollVoterTreeEntry pairs a poll ID with its voter snapshot.
270
+ * @name PollVoterTreeEntry
271
+ * @package sparkdream.commons.v1
272
+ * @see proto type: sparkdream.commons.v1.PollVoterTreeEntry
273
+ */
274
+ export interface PollVoterTreeEntry {
275
+ pollId: bigint;
276
+ tree: VoterTree;
277
+ }
278
+ export interface PollVoterTreeEntryProtoMsg {
279
+ typeUrl: "/sparkdream.commons.v1.PollVoterTreeEntry";
280
+ value: Uint8Array;
281
+ }
282
+ /**
283
+ * PollVoterTreeEntry pairs a poll ID with its voter snapshot.
284
+ * @name PollVoterTreeEntryAmino
285
+ * @package sparkdream.commons.v1
286
+ * @see proto type: sparkdream.commons.v1.PollVoterTreeEntry
287
+ */
288
+ export interface PollVoterTreeEntryAmino {
289
+ poll_id?: string;
290
+ tree?: VoterTreeAmino;
291
+ }
292
+ export interface PollVoterTreeEntryAminoMsg {
293
+ type: "/sparkdream.commons.v1.PollVoterTreeEntry";
294
+ value: PollVoterTreeEntryAmino;
295
+ }
296
+ /**
297
+ * AnonVoteTallyEntry pairs a proposal ID with its anonymous vote tally.
298
+ * @name AnonVoteTallyEntry
299
+ * @package sparkdream.commons.v1
300
+ * @see proto type: sparkdream.commons.v1.AnonVoteTallyEntry
301
+ */
302
+ export interface AnonVoteTallyEntry {
303
+ proposalId: bigint;
304
+ tally: AnonVoteTally;
305
+ }
306
+ export interface AnonVoteTallyEntryProtoMsg {
307
+ typeUrl: "/sparkdream.commons.v1.AnonVoteTallyEntry";
308
+ value: Uint8Array;
309
+ }
310
+ /**
311
+ * AnonVoteTallyEntry pairs a proposal ID with its anonymous vote tally.
312
+ * @name AnonVoteTallyEntryAmino
313
+ * @package sparkdream.commons.v1
314
+ * @see proto type: sparkdream.commons.v1.AnonVoteTallyEntry
315
+ */
316
+ export interface AnonVoteTallyEntryAmino {
317
+ proposal_id?: string;
318
+ tally?: AnonVoteTallyAmino;
319
+ }
320
+ export interface AnonVoteTallyEntryAminoMsg {
321
+ type: "/sparkdream.commons.v1.AnonVoteTallyEntry";
322
+ value: AnonVoteTallyEntryAmino;
323
+ }
324
+ /**
325
+ * AnonProposalCountEntry is one per-(council, UTC day) anonymous proposal
326
+ * counter.
327
+ * @name AnonProposalCountEntry
328
+ * @package sparkdream.commons.v1
329
+ * @see proto type: sparkdream.commons.v1.AnonProposalCountEntry
330
+ */
331
+ export interface AnonProposalCountEntry {
332
+ councilName: string;
333
+ /**
334
+ * utc_day is the block time in unix seconds divided by 86400.
335
+ */
336
+ utcDay: bigint;
337
+ count: bigint;
338
+ }
339
+ export interface AnonProposalCountEntryProtoMsg {
340
+ typeUrl: "/sparkdream.commons.v1.AnonProposalCountEntry";
341
+ value: Uint8Array;
342
+ }
343
+ /**
344
+ * AnonProposalCountEntry is one per-(council, UTC day) anonymous proposal
345
+ * counter.
346
+ * @name AnonProposalCountEntryAmino
347
+ * @package sparkdream.commons.v1
348
+ * @see proto type: sparkdream.commons.v1.AnonProposalCountEntry
349
+ */
350
+ export interface AnonProposalCountEntryAmino {
351
+ council_name?: string;
352
+ /**
353
+ * utc_day is the block time in unix seconds divided by 86400.
354
+ */
355
+ utc_day?: string;
356
+ count?: string;
357
+ }
358
+ export interface AnonProposalCountEntryAminoMsg {
359
+ type: "/sparkdream.commons.v1.AnonProposalCountEntry";
360
+ value: AnonProposalCountEntryAmino;
361
+ }
362
+ /**
363
+ * EpochSpendingEntry is one per-epoch spend bucket of a group policy.
364
+ * @name EpochSpendingEntry
365
+ * @package sparkdream.commons.v1
366
+ * @see proto type: sparkdream.commons.v1.EpochSpendingEntry
367
+ */
368
+ export interface EpochSpendingEntry {
369
+ policyAddress: string;
370
+ epochDay: bigint;
371
+ amount: string;
372
+ }
373
+ export interface EpochSpendingEntryProtoMsg {
374
+ typeUrl: "/sparkdream.commons.v1.EpochSpendingEntry";
375
+ value: Uint8Array;
376
+ }
377
+ /**
378
+ * EpochSpendingEntry is one per-epoch spend bucket of a group policy.
379
+ * @name EpochSpendingEntryAmino
380
+ * @package sparkdream.commons.v1
381
+ * @see proto type: sparkdream.commons.v1.EpochSpendingEntry
382
+ */
383
+ export interface EpochSpendingEntryAmino {
384
+ policy_address?: string;
385
+ epoch_day?: string;
386
+ amount?: string;
387
+ }
388
+ export interface EpochSpendingEntryAminoMsg {
389
+ type: "/sparkdream.commons.v1.EpochSpendingEntry";
390
+ value: EpochSpendingEntryAmino;
391
+ }
392
+ /**
393
+ * MarketToGroupEntry links a confidence-vote market to its group.
394
+ * @name MarketToGroupEntry
395
+ * @package sparkdream.commons.v1
396
+ * @see proto type: sparkdream.commons.v1.MarketToGroupEntry
397
+ */
398
+ export interface MarketToGroupEntry {
399
+ marketId: bigint;
400
+ groupName: string;
401
+ }
402
+ export interface MarketToGroupEntryProtoMsg {
403
+ typeUrl: "/sparkdream.commons.v1.MarketToGroupEntry";
404
+ value: Uint8Array;
405
+ }
406
+ /**
407
+ * MarketToGroupEntry links a confidence-vote market to its group.
408
+ * @name MarketToGroupEntryAmino
409
+ * @package sparkdream.commons.v1
410
+ * @see proto type: sparkdream.commons.v1.MarketToGroupEntry
411
+ */
412
+ export interface MarketToGroupEntryAmino {
413
+ market_id?: string;
414
+ group_name?: string;
415
+ }
416
+ export interface MarketToGroupEntryAminoMsg {
417
+ type: "/sparkdream.commons.v1.MarketToGroupEntry";
418
+ value: MarketToGroupEntryAmino;
419
+ }
420
+ /**
421
+ * MarketTriggerEntry is one scheduled confidence-vote market.
422
+ * @name MarketTriggerEntry
423
+ * @package sparkdream.commons.v1
424
+ * @see proto type: sparkdream.commons.v1.MarketTriggerEntry
425
+ */
426
+ export interface MarketTriggerEntry {
427
+ triggerTime: bigint;
428
+ groupName: string;
429
+ }
430
+ export interface MarketTriggerEntryProtoMsg {
431
+ typeUrl: "/sparkdream.commons.v1.MarketTriggerEntry";
432
+ value: Uint8Array;
433
+ }
434
+ /**
435
+ * MarketTriggerEntry is one scheduled confidence-vote market.
436
+ * @name MarketTriggerEntryAmino
437
+ * @package sparkdream.commons.v1
438
+ * @see proto type: sparkdream.commons.v1.MarketTriggerEntry
439
+ */
440
+ export interface MarketTriggerEntryAmino {
441
+ trigger_time?: string;
442
+ group_name?: string;
443
+ }
444
+ export interface MarketTriggerEntryAminoMsg {
445
+ type: "/sparkdream.commons.v1.MarketTriggerEntry";
446
+ value: MarketTriggerEntryAmino;
447
+ }
154
448
  /**
155
449
  * FoundingMember is one governance founding member for the InitGenesis
156
450
  * bootstrap: a seat on the founding councils, a seeded x/name display name,
@@ -351,6 +645,133 @@ export declare const GenesisState: {
351
645
  toProto(message: GenesisState): Uint8Array;
352
646
  toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
353
647
  };
648
+ /**
649
+ * ProposalVoterTreeEntry pairs a proposal ID with its voter snapshot.
650
+ * @name ProposalVoterTreeEntry
651
+ * @package sparkdream.commons.v1
652
+ * @see proto type: sparkdream.commons.v1.ProposalVoterTreeEntry
653
+ */
654
+ export declare const ProposalVoterTreeEntry: {
655
+ typeUrl: string;
656
+ encode(message: ProposalVoterTreeEntry, writer?: BinaryWriter): BinaryWriter;
657
+ decode(input: BinaryReader | Uint8Array, length?: number): ProposalVoterTreeEntry;
658
+ fromPartial(object: DeepPartial<ProposalVoterTreeEntry>): ProposalVoterTreeEntry;
659
+ fromAmino(object: ProposalVoterTreeEntryAmino): ProposalVoterTreeEntry;
660
+ toAmino(message: ProposalVoterTreeEntry): ProposalVoterTreeEntryAmino;
661
+ fromAminoMsg(object: ProposalVoterTreeEntryAminoMsg): ProposalVoterTreeEntry;
662
+ fromProtoMsg(message: ProposalVoterTreeEntryProtoMsg): ProposalVoterTreeEntry;
663
+ toProto(message: ProposalVoterTreeEntry): Uint8Array;
664
+ toProtoMsg(message: ProposalVoterTreeEntry): ProposalVoterTreeEntryProtoMsg;
665
+ };
666
+ /**
667
+ * PollVoterTreeEntry pairs a poll ID with its voter snapshot.
668
+ * @name PollVoterTreeEntry
669
+ * @package sparkdream.commons.v1
670
+ * @see proto type: sparkdream.commons.v1.PollVoterTreeEntry
671
+ */
672
+ export declare const PollVoterTreeEntry: {
673
+ typeUrl: string;
674
+ encode(message: PollVoterTreeEntry, writer?: BinaryWriter): BinaryWriter;
675
+ decode(input: BinaryReader | Uint8Array, length?: number): PollVoterTreeEntry;
676
+ fromPartial(object: DeepPartial<PollVoterTreeEntry>): PollVoterTreeEntry;
677
+ fromAmino(object: PollVoterTreeEntryAmino): PollVoterTreeEntry;
678
+ toAmino(message: PollVoterTreeEntry): PollVoterTreeEntryAmino;
679
+ fromAminoMsg(object: PollVoterTreeEntryAminoMsg): PollVoterTreeEntry;
680
+ fromProtoMsg(message: PollVoterTreeEntryProtoMsg): PollVoterTreeEntry;
681
+ toProto(message: PollVoterTreeEntry): Uint8Array;
682
+ toProtoMsg(message: PollVoterTreeEntry): PollVoterTreeEntryProtoMsg;
683
+ };
684
+ /**
685
+ * AnonVoteTallyEntry pairs a proposal ID with its anonymous vote tally.
686
+ * @name AnonVoteTallyEntry
687
+ * @package sparkdream.commons.v1
688
+ * @see proto type: sparkdream.commons.v1.AnonVoteTallyEntry
689
+ */
690
+ export declare const AnonVoteTallyEntry: {
691
+ typeUrl: string;
692
+ encode(message: AnonVoteTallyEntry, writer?: BinaryWriter): BinaryWriter;
693
+ decode(input: BinaryReader | Uint8Array, length?: number): AnonVoteTallyEntry;
694
+ fromPartial(object: DeepPartial<AnonVoteTallyEntry>): AnonVoteTallyEntry;
695
+ fromAmino(object: AnonVoteTallyEntryAmino): AnonVoteTallyEntry;
696
+ toAmino(message: AnonVoteTallyEntry): AnonVoteTallyEntryAmino;
697
+ fromAminoMsg(object: AnonVoteTallyEntryAminoMsg): AnonVoteTallyEntry;
698
+ fromProtoMsg(message: AnonVoteTallyEntryProtoMsg): AnonVoteTallyEntry;
699
+ toProto(message: AnonVoteTallyEntry): Uint8Array;
700
+ toProtoMsg(message: AnonVoteTallyEntry): AnonVoteTallyEntryProtoMsg;
701
+ };
702
+ /**
703
+ * AnonProposalCountEntry is one per-(council, UTC day) anonymous proposal
704
+ * counter.
705
+ * @name AnonProposalCountEntry
706
+ * @package sparkdream.commons.v1
707
+ * @see proto type: sparkdream.commons.v1.AnonProposalCountEntry
708
+ */
709
+ export declare const AnonProposalCountEntry: {
710
+ typeUrl: string;
711
+ encode(message: AnonProposalCountEntry, writer?: BinaryWriter): BinaryWriter;
712
+ decode(input: BinaryReader | Uint8Array, length?: number): AnonProposalCountEntry;
713
+ fromPartial(object: DeepPartial<AnonProposalCountEntry>): AnonProposalCountEntry;
714
+ fromAmino(object: AnonProposalCountEntryAmino): AnonProposalCountEntry;
715
+ toAmino(message: AnonProposalCountEntry): AnonProposalCountEntryAmino;
716
+ fromAminoMsg(object: AnonProposalCountEntryAminoMsg): AnonProposalCountEntry;
717
+ fromProtoMsg(message: AnonProposalCountEntryProtoMsg): AnonProposalCountEntry;
718
+ toProto(message: AnonProposalCountEntry): Uint8Array;
719
+ toProtoMsg(message: AnonProposalCountEntry): AnonProposalCountEntryProtoMsg;
720
+ };
721
+ /**
722
+ * EpochSpendingEntry is one per-epoch spend bucket of a group policy.
723
+ * @name EpochSpendingEntry
724
+ * @package sparkdream.commons.v1
725
+ * @see proto type: sparkdream.commons.v1.EpochSpendingEntry
726
+ */
727
+ export declare const EpochSpendingEntry: {
728
+ typeUrl: string;
729
+ encode(message: EpochSpendingEntry, writer?: BinaryWriter): BinaryWriter;
730
+ decode(input: BinaryReader | Uint8Array, length?: number): EpochSpendingEntry;
731
+ fromPartial(object: DeepPartial<EpochSpendingEntry>): EpochSpendingEntry;
732
+ fromAmino(object: EpochSpendingEntryAmino): EpochSpendingEntry;
733
+ toAmino(message: EpochSpendingEntry): EpochSpendingEntryAmino;
734
+ fromAminoMsg(object: EpochSpendingEntryAminoMsg): EpochSpendingEntry;
735
+ fromProtoMsg(message: EpochSpendingEntryProtoMsg): EpochSpendingEntry;
736
+ toProto(message: EpochSpendingEntry): Uint8Array;
737
+ toProtoMsg(message: EpochSpendingEntry): EpochSpendingEntryProtoMsg;
738
+ };
739
+ /**
740
+ * MarketToGroupEntry links a confidence-vote market to its group.
741
+ * @name MarketToGroupEntry
742
+ * @package sparkdream.commons.v1
743
+ * @see proto type: sparkdream.commons.v1.MarketToGroupEntry
744
+ */
745
+ export declare const MarketToGroupEntry: {
746
+ typeUrl: string;
747
+ encode(message: MarketToGroupEntry, writer?: BinaryWriter): BinaryWriter;
748
+ decode(input: BinaryReader | Uint8Array, length?: number): MarketToGroupEntry;
749
+ fromPartial(object: DeepPartial<MarketToGroupEntry>): MarketToGroupEntry;
750
+ fromAmino(object: MarketToGroupEntryAmino): MarketToGroupEntry;
751
+ toAmino(message: MarketToGroupEntry): MarketToGroupEntryAmino;
752
+ fromAminoMsg(object: MarketToGroupEntryAminoMsg): MarketToGroupEntry;
753
+ fromProtoMsg(message: MarketToGroupEntryProtoMsg): MarketToGroupEntry;
754
+ toProto(message: MarketToGroupEntry): Uint8Array;
755
+ toProtoMsg(message: MarketToGroupEntry): MarketToGroupEntryProtoMsg;
756
+ };
757
+ /**
758
+ * MarketTriggerEntry is one scheduled confidence-vote market.
759
+ * @name MarketTriggerEntry
760
+ * @package sparkdream.commons.v1
761
+ * @see proto type: sparkdream.commons.v1.MarketTriggerEntry
762
+ */
763
+ export declare const MarketTriggerEntry: {
764
+ typeUrl: string;
765
+ encode(message: MarketTriggerEntry, writer?: BinaryWriter): BinaryWriter;
766
+ decode(input: BinaryReader | Uint8Array, length?: number): MarketTriggerEntry;
767
+ fromPartial(object: DeepPartial<MarketTriggerEntry>): MarketTriggerEntry;
768
+ fromAmino(object: MarketTriggerEntryAmino): MarketTriggerEntry;
769
+ toAmino(message: MarketTriggerEntry): MarketTriggerEntryAmino;
770
+ fromAminoMsg(object: MarketTriggerEntryAminoMsg): MarketTriggerEntry;
771
+ fromProtoMsg(message: MarketTriggerEntryProtoMsg): MarketTriggerEntry;
772
+ toProto(message: MarketTriggerEntry): Uint8Array;
773
+ toProtoMsg(message: MarketTriggerEntry): MarketTriggerEntryProtoMsg;
774
+ };
354
775
  /**
355
776
  * FoundingMember is one governance founding member for the InitGenesis
356
777
  * bootstrap: a seat on the founding councils, a seeded x/name display name,