@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.
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +106 -106
- package/esm/sparkdream/blog/v1/genesis.js +87 -1
- package/esm/sparkdream/blog/v1/params.js +433 -5
- package/esm/sparkdream/blog/v1/post.js +205 -2
- package/esm/sparkdream/blog/v1/query.js +1363 -0
- package/esm/sparkdream/blog/v1/query.lcd.js +105 -2
- package/esm/sparkdream/blog/v1/query.rpc.Query.js +75 -3
- package/esm/sparkdream/blog/v1/tx.amino.js +61 -1
- package/esm/sparkdream/blog/v1/tx.js +1861 -3
- package/esm/sparkdream/blog/v1/tx.registry.js +218 -2
- package/esm/sparkdream/blog/v1/tx.rpc.msg.js +77 -4
- package/esm/sparkdream/blog/v1/types.js +809 -0
- package/esm/sparkdream/bundle.js +549 -36
- package/esm/sparkdream/client.js +38 -2
- package/esm/sparkdream/collect/module/v1/module.js +71 -0
- package/esm/sparkdream/collect/v1/genesis.js +271 -0
- package/esm/sparkdream/collect/v1/params.js +763 -0
- package/esm/sparkdream/collect/v1/query.js +3790 -0
- package/esm/sparkdream/collect/v1/query.lcd.js +223 -0
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +252 -0
- package/esm/sparkdream/collect/v1/tx.amino.js +149 -0
- package/esm/sparkdream/collect/v1/tx.js +4767 -0
- package/esm/sparkdream/collect/v1/tx.registry.js +537 -0
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +185 -0
- package/esm/sparkdream/collect/v1/types.js +3434 -0
- package/esm/sparkdream/common/v1/content_type.js +96 -0
- package/esm/sparkdream/common/v1/flag_record.js +119 -0
- package/esm/sparkdream/common/v1/moderation_reason.js +115 -0
- package/esm/sparkdream/common/v1/reserved_tag.js +96 -0
- package/esm/sparkdream/common/v1/tag.js +120 -0
- package/esm/sparkdream/commons/module/v1/module.js +71 -0
- package/esm/sparkdream/commons/v1/genesis.js +533 -0
- package/esm/sparkdream/commons/v1/group.js +1116 -0
- package/esm/sparkdream/commons/v1/params.js +78 -0
- package/esm/sparkdream/commons/v1/policy_permissions.js +86 -0
- package/esm/sparkdream/commons/v1/query.js +1337 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +78 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +100 -0
- package/esm/sparkdream/commons/v1/tx.amino.js +94 -0
- package/esm/sparkdream/commons/v1/tx.js +3282 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +339 -0
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +122 -0
- package/esm/sparkdream/ecosystem/module/v1/module.js +71 -0
- package/esm/sparkdream/ecosystem/v1/genesis.js +72 -0
- package/esm/sparkdream/ecosystem/v1/params.js +65 -0
- package/esm/sparkdream/ecosystem/v1/query.js +128 -0
- package/esm/sparkdream/ecosystem/v1/query.lcd.js +11 -0
- package/esm/sparkdream/ecosystem/v1/query.rpc.Query.js +24 -0
- package/esm/sparkdream/ecosystem/v1/tx.amino.js +14 -0
- package/esm/sparkdream/ecosystem/v1/tx.js +308 -0
- package/esm/sparkdream/ecosystem/v1/tx.registry.js +51 -0
- package/esm/sparkdream/ecosystem/v1/tx.rpc.msg.js +24 -0
- package/esm/sparkdream/forum/module/v1/module.js +71 -0
- package/esm/sparkdream/forum/v1/archive_metadata.js +119 -0
- package/esm/sparkdream/forum/v1/bounty.js +183 -0
- package/esm/sparkdream/forum/v1/category.js +119 -0
- package/esm/sparkdream/forum/v1/genesis.js +516 -0
- package/esm/sparkdream/forum/v1/gov_action_appeal.js +202 -0
- package/esm/sparkdream/forum/v1/hide_record.js +154 -0
- package/esm/sparkdream/forum/v1/jury_participation.js +131 -0
- package/esm/sparkdream/forum/v1/member_report.js +219 -0
- package/esm/sparkdream/forum/v1/member_salvation_status.js +119 -0
- package/esm/sparkdream/forum/v1/member_warning.js +156 -0
- package/esm/sparkdream/forum/v1/params.js +867 -0
- package/esm/sparkdream/forum/v1/post.js +397 -0
- package/esm/sparkdream/forum/v1/post_flag.js +254 -0
- package/esm/sparkdream/forum/v1/query.js +12470 -0
- package/esm/sparkdream/forum/v1/query.lcd.js +730 -0
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +799 -0
- package/esm/sparkdream/forum/v1/sentinel_activity.js +490 -0
- package/esm/sparkdream/forum/v1/tag_budget.js +143 -0
- package/esm/sparkdream/forum/v1/tag_budget_award.js +155 -0
- package/esm/sparkdream/forum/v1/tag_report.js +122 -0
- package/esm/sparkdream/forum/v1/thread_follow.js +95 -0
- package/esm/sparkdream/forum/v1/thread_follow_count.js +83 -0
- package/esm/sparkdream/forum/v1/thread_lock_record.js +155 -0
- package/esm/sparkdream/forum/v1/thread_metadata.js +184 -0
- package/esm/sparkdream/forum/v1/thread_move_record.js +179 -0
- package/esm/sparkdream/forum/v1/tx.amino.js +254 -0
- package/esm/sparkdream/forum/v1/tx.js +7464 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +915 -0
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +313 -0
- package/esm/sparkdream/forum/v1/types.js +758 -0
- package/esm/sparkdream/forum/v1/user_rate_limit.js +119 -0
- package/esm/sparkdream/forum/v1/user_reaction_limit.js +107 -0
- package/esm/sparkdream/futarchy/module/v1/module.js +71 -0
- package/esm/sparkdream/futarchy/v1/genesis.js +88 -0
- package/esm/sparkdream/futarchy/v1/market.js +240 -0
- package/esm/sparkdream/futarchy/v1/params.js +241 -0
- package/esm/sparkdream/futarchy/v1/query.js +596 -0
- package/esm/sparkdream/futarchy/v1/query.lcd.js +45 -0
- package/esm/sparkdream/futarchy/v1/query.rpc.Query.js +53 -0
- package/esm/sparkdream/futarchy/v1/tx.amino.js +39 -0
- package/esm/sparkdream/futarchy/v1/tx.js +1097 -0
- package/esm/sparkdream/futarchy/v1/tx.registry.js +141 -0
- package/esm/sparkdream/futarchy/v1/tx.rpc.msg.js +55 -0
- package/esm/sparkdream/lcd.js +60 -0
- package/esm/sparkdream/name/module/v1/module.js +71 -0
- package/esm/sparkdream/name/v1/dispute.js +341 -0
- package/esm/sparkdream/name/v1/genesis.js +120 -0
- package/esm/sparkdream/name/v1/name_record.js +95 -0
- package/esm/sparkdream/name/v1/owner_info.js +95 -0
- package/esm/sparkdream/name/v1/params.js +306 -0
- package/esm/sparkdream/name/v1/query.js +863 -0
- package/esm/sparkdream/name/v1/query.lcd.js +52 -0
- package/esm/sparkdream/name/v1/query.rpc.Query.js +71 -0
- package/esm/sparkdream/name/v1/tx.amino.js +44 -0
- package/esm/sparkdream/name/v1/tx.js +1222 -0
- package/esm/sparkdream/name/v1/tx.registry.js +159 -0
- package/esm/sparkdream/name/v1/tx.rpc.msg.js +62 -0
- package/esm/sparkdream/rep/module/v1/module.js +71 -0
- package/esm/sparkdream/rep/v1/challenge.js +226 -0
- package/esm/sparkdream/rep/v1/content_challenge.js +303 -0
- package/esm/sparkdream/rep/v1/genesis.js +481 -0
- package/esm/sparkdream/rep/v1/initiative.js +558 -0
- package/esm/sparkdream/rep/v1/interim.js +426 -0
- package/esm/sparkdream/rep/v1/interim_template.js +291 -0
- package/esm/sparkdream/rep/v1/invitation.js +251 -0
- package/esm/sparkdream/rep/v1/jury_review.js +635 -0
- package/esm/sparkdream/rep/v1/member.js +857 -0
- package/esm/sparkdream/rep/v1/params.js +1819 -0
- package/esm/sparkdream/rep/v1/project.js +545 -0
- package/esm/sparkdream/rep/v1/query.js +6896 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +377 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +424 -0
- package/esm/sparkdream/rep/v1/stake.js +575 -0
- package/esm/sparkdream/rep/v1/tx.amino.js +159 -0
- package/esm/sparkdream/rep/v1/tx.js +5198 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +573 -0
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +199 -0
- package/esm/sparkdream/reveal/module/v1/module.js +71 -0
- package/esm/sparkdream/reveal/v1/genesis.js +142 -0
- package/esm/sparkdream/reveal/v1/params.js +235 -0
- package/esm/sparkdream/reveal/v1/query.js +1700 -0
- package/esm/sparkdream/reveal/v1/query.lcd.js +101 -0
- package/esm/sparkdream/reveal/v1/query.rpc.Query.js +116 -0
- package/esm/sparkdream/reveal/v1/tx.amino.js +54 -0
- package/esm/sparkdream/reveal/v1/tx.js +1699 -0
- package/esm/sparkdream/reveal/v1/tx.registry.js +195 -0
- package/esm/sparkdream/reveal/v1/tx.rpc.msg.js +72 -0
- package/esm/sparkdream/reveal/v1/types.js +1141 -0
- package/esm/sparkdream/rpc.query.js +36 -0
- package/esm/sparkdream/rpc.tx.js +36 -0
- package/esm/sparkdream/season/module/v1/module.js +71 -0
- package/esm/sparkdream/season/v1/achievement.js +142 -0
- package/esm/sparkdream/season/v1/display_name_appeal_stake.js +95 -0
- package/esm/sparkdream/season/v1/display_name_moderation.js +155 -0
- package/esm/sparkdream/season/v1/display_name_report_stake.js +95 -0
- package/esm/sparkdream/season/v1/enums.js +391 -0
- package/esm/sparkdream/season/v1/epoch_xp_tracker.js +119 -0
- package/esm/sparkdream/season/v1/forum_xp_cooldown.js +83 -0
- package/esm/sparkdream/season/v1/genesis.js +482 -0
- package/esm/sparkdream/season/v1/guild.js +172 -0
- package/esm/sparkdream/season/v1/guild_invite.js +107 -0
- package/esm/sparkdream/season/v1/guild_membership.js +119 -0
- package/esm/sparkdream/season/v1/member_profile.js +296 -0
- package/esm/sparkdream/season/v1/member_quest_progress.js +132 -0
- package/esm/sparkdream/season/v1/member_registration.js +83 -0
- package/esm/sparkdream/season/v1/member_season_snapshot.js +238 -0
- package/esm/sparkdream/season/v1/next_season_info.js +83 -0
- package/esm/sparkdream/season/v1/nomination.js +428 -0
- package/esm/sparkdream/season/v1/params.js +1597 -0
- package/esm/sparkdream/season/v1/query.js +10569 -0
- package/esm/sparkdream/season/v1/query.lcd.js +598 -0
- package/esm/sparkdream/season/v1/query.rpc.Query.js +673 -0
- package/esm/sparkdream/season/v1/quest.js +334 -0
- package/esm/sparkdream/season/v1/season.js +166 -0
- package/esm/sparkdream/season/v1/season_snapshot.js +83 -0
- package/esm/sparkdream/season/v1/season_title_eligibility.js +194 -0
- package/esm/sparkdream/season/v1/season_transition_state.js +130 -0
- package/esm/sparkdream/season/v1/title.js +154 -0
- package/esm/sparkdream/season/v1/transition_recovery_state.js +118 -0
- package/esm/sparkdream/season/v1/tx.amino.js +219 -0
- package/esm/sparkdream/season/v1/tx.js +6823 -0
- package/esm/sparkdream/season/v1/tx.registry.js +789 -0
- package/esm/sparkdream/season/v1/tx.rpc.msg.js +272 -0
- package/esm/sparkdream/season/v1/vote_xp_record.js +83 -0
- package/esm/sparkdream/session/module/v1/module.js +71 -0
- package/esm/sparkdream/session/v1/genesis.js +88 -0
- package/esm/sparkdream/session/v1/params.js +275 -0
- package/esm/sparkdream/session/v1/query.js +743 -0
- package/esm/sparkdream/session/v1/query.lcd.js +45 -0
- package/esm/sparkdream/session/v1/query.rpc.Query.js +60 -0
- package/esm/sparkdream/session/v1/session.js +185 -0
- package/esm/sparkdream/session/v1/tx.amino.js +29 -0
- package/esm/sparkdream/session/v1/tx.js +768 -0
- package/esm/sparkdream/session/v1/tx.registry.js +105 -0
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +43 -0
- package/esm/sparkdream/shield/module/v1/module.js +71 -0
- package/esm/sparkdream/shield/v1/genesis.js +301 -0
- package/esm/sparkdream/shield/v1/params.js +282 -0
- package/esm/sparkdream/shield/v1/query.js +2323 -0
- package/esm/sparkdream/shield/v1/query.lcd.js +110 -0
- package/esm/sparkdream/shield/v1/query.rpc.Query.js +170 -0
- package/esm/sparkdream/shield/v1/tx.amino.js +29 -0
- package/esm/sparkdream/shield/v1/tx.js +838 -0
- package/esm/sparkdream/shield/v1/tx.registry.js +105 -0
- package/esm/sparkdream/shield/v1/tx.rpc.msg.js +43 -0
- package/esm/sparkdream/shield/v1/types.js +2385 -0
- package/esm/sparkdream/split/module/v1/module.js +71 -0
- package/esm/sparkdream/split/v1/genesis.js +88 -0
- package/esm/sparkdream/split/v1/params.js +65 -0
- package/esm/sparkdream/split/v1/query.js +421 -0
- package/esm/sparkdream/split/v1/query.lcd.js +31 -0
- package/esm/sparkdream/split/v1/query.rpc.Query.js +44 -0
- package/esm/sparkdream/split/v1/share.js +83 -0
- package/esm/sparkdream/split/v1/tx.amino.js +9 -0
- package/esm/sparkdream/split/v1/tx.js +148 -0
- package/esm/sparkdream/split/v1/tx.registry.js +33 -0
- package/esm/sparkdream/split/v1/tx.rpc.msg.js +18 -0
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +106 -106
- package/package.json +1 -1
- package/sparkdream/blog/v1/genesis.d.ts +50 -0
- package/sparkdream/blog/v1/genesis.js +87 -1
- package/sparkdream/blog/v1/params.d.ts +292 -4
- package/sparkdream/blog/v1/params.js +434 -6
- package/sparkdream/blog/v1/post.d.ts +162 -0
- package/sparkdream/blog/v1/post.js +205 -2
- package/sparkdream/blog/v1/query.d.ts +751 -0
- package/sparkdream/blog/v1/query.js +1364 -1
- package/sparkdream/blog/v1/query.lcd.d.ts +9 -1
- package/sparkdream/blog/v1/query.lcd.js +105 -2
- package/sparkdream/blog/v1/query.rpc.Query.d.ts +35 -3
- package/sparkdream/blog/v1/query.rpc.Query.js +74 -2
- package/sparkdream/blog/v1/tx.amino.d.ts +61 -1
- package/sparkdream/blog/v1/tx.amino.js +60 -0
- package/sparkdream/blog/v1/tx.d.ts +1155 -1
- package/sparkdream/blog/v1/tx.js +1861 -3
- package/sparkdream/blog/v1/tx.registry.d.ts +145 -1
- package/sparkdream/blog/v1/tx.registry.js +217 -1
- package/sparkdream/blog/v1/tx.rpc.msg.d.ts +43 -4
- package/sparkdream/blog/v1/tx.rpc.msg.js +76 -3
- package/sparkdream/blog/v1/types.d.ts +463 -0
- package/sparkdream/blog/v1/types.js +818 -0
- package/sparkdream/bundle.d.ts +19847 -226
- package/sparkdream/bundle.js +549 -36
- package/sparkdream/client.d.ts +1105 -0
- package/sparkdream/client.js +38 -2
- package/sparkdream/collect/module/v1/module.d.ts +54 -0
- package/sparkdream/collect/module/v1/module.js +74 -0
- package/sparkdream/collect/v1/genesis.d.ts +82 -0
- package/sparkdream/collect/v1/genesis.js +274 -0
- package/sparkdream/collect/v1/params.d.ts +240 -0
- package/sparkdream/collect/v1/params.js +766 -0
- package/sparkdream/collect/v1/query.d.ts +2157 -0
- package/sparkdream/collect/v1/query.js +3793 -0
- package/sparkdream/collect/v1/query.lcd.d.ts +33 -0
- package/sparkdream/collect/v1/query.lcd.js +227 -0
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +101 -0
- package/sparkdream/collect/v1/query.rpc.Query.js +257 -0
- package/sparkdream/collect/v1/tx.amino.d.ts +148 -0
- package/sparkdream/collect/v1/tx.amino.js +152 -0
- package/sparkdream/collect/v1/tx.d.ts +2581 -0
- package/sparkdream/collect/v1/tx.js +4771 -0
- package/sparkdream/collect/v1/tx.registry.d.ts +361 -0
- package/sparkdream/collect/v1/tx.registry.js +541 -0
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +76 -0
- package/sparkdream/collect/v1/tx.rpc.msg.js +190 -0
- package/sparkdream/collect/v1/types.d.ts +1205 -0
- package/sparkdream/collect/v1/types.js +3453 -0
- package/sparkdream/common/v1/content_type.d.ts +31 -0
- package/sparkdream/common/v1/content_type.js +101 -0
- package/sparkdream/common/v1/flag_record.d.ts +58 -0
- package/sparkdream/common/v1/flag_record.js +122 -0
- package/sparkdream/common/v1/moderation_reason.d.ts +35 -0
- package/sparkdream/common/v1/moderation_reason.js +120 -0
- package/sparkdream/common/v1/reserved_tag.d.ts +53 -0
- package/sparkdream/common/v1/reserved_tag.js +99 -0
- package/sparkdream/common/v1/tag.d.ts +57 -0
- package/sparkdream/common/v1/tag.js +123 -0
- package/sparkdream/commons/module/v1/module.d.ts +54 -0
- package/sparkdream/commons/module/v1/module.js +74 -0
- package/sparkdream/commons/v1/genesis.d.ts +299 -0
- package/sparkdream/commons/v1/genesis.js +536 -0
- package/sparkdream/commons/v1/group.d.ts +529 -0
- package/sparkdream/commons/v1/group.js +1123 -0
- package/sparkdream/commons/v1/params.d.ts +48 -0
- package/sparkdream/commons/v1/params.js +81 -0
- package/sparkdream/commons/v1/policy_permissions.d.ts +48 -0
- package/sparkdream/commons/v1/policy_permissions.js +89 -0
- package/sparkdream/commons/v1/query.d.ts +822 -0
- package/sparkdream/commons/v1/query.js +1340 -0
- package/sparkdream/commons/v1/query.lcd.d.ts +17 -0
- package/sparkdream/commons/v1/query.lcd.js +82 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +48 -0
- package/sparkdream/commons/v1/query.rpc.Query.js +105 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +93 -0
- package/sparkdream/commons/v1/tx.amino.js +97 -0
- package/sparkdream/commons/v1/tx.d.ts +1930 -0
- package/sparkdream/commons/v1/tx.js +3285 -0
- package/sparkdream/commons/v1/tx.registry.d.ts +229 -0
- package/sparkdream/commons/v1/tx.registry.js +343 -0
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +73 -0
- package/sparkdream/commons/v1/tx.rpc.msg.js +127 -0
- package/sparkdream/ecosystem/module/v1/module.d.ts +54 -0
- package/sparkdream/ecosystem/module/v1/module.js +74 -0
- package/sparkdream/ecosystem/v1/genesis.d.ts +53 -0
- package/sparkdream/ecosystem/v1/genesis.js +75 -0
- package/sparkdream/ecosystem/v1/params.d.ts +46 -0
- package/sparkdream/ecosystem/v1/params.js +68 -0
- package/sparkdream/ecosystem/v1/query.d.ts +95 -0
- package/sparkdream/ecosystem/v1/query.js +131 -0
- package/sparkdream/ecosystem/v1/query.lcd.d.ts +9 -0
- package/sparkdream/ecosystem/v1/query.lcd.js +15 -0
- package/sparkdream/ecosystem/v1/query.rpc.Query.d.ts +16 -0
- package/sparkdream/ecosystem/v1/query.rpc.Query.js +29 -0
- package/sparkdream/ecosystem/v1/tx.amino.d.ts +13 -0
- package/sparkdream/ecosystem/v1/tx.amino.js +17 -0
- package/sparkdream/ecosystem/v1/tx.d.ts +201 -0
- package/sparkdream/ecosystem/v1/tx.js +311 -0
- package/sparkdream/ecosystem/v1/tx.registry.d.ts +37 -0
- package/sparkdream/ecosystem/v1/tx.registry.js +55 -0
- package/sparkdream/ecosystem/v1/tx.rpc.msg.d.ts +19 -0
- package/sparkdream/ecosystem/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/forum/module/v1/module.d.ts +54 -0
- package/sparkdream/forum/module/v1/module.js +74 -0
- package/sparkdream/forum/v1/archive_metadata.d.ts +54 -0
- package/sparkdream/forum/v1/archive_metadata.js +122 -0
- package/sparkdream/forum/v1/bounty.d.ts +65 -0
- package/sparkdream/forum/v1/bounty.js +186 -0
- package/sparkdream/forum/v1/category.d.ts +54 -0
- package/sparkdream/forum/v1/category.js +122 -0
- package/sparkdream/forum/v1/genesis.d.ts +135 -0
- package/sparkdream/forum/v1/genesis.js +519 -0
- package/sparkdream/forum/v1/gov_action_appeal.d.ts +69 -0
- package/sparkdream/forum/v1/gov_action_appeal.js +205 -0
- package/sparkdream/forum/v1/hide_record.d.ts +61 -0
- package/sparkdream/forum/v1/hide_record.js +157 -0
- package/sparkdream/forum/v1/jury_participation.d.ts +56 -0
- package/sparkdream/forum/v1/jury_participation.js +134 -0
- package/sparkdream/forum/v1/member_report.d.ts +67 -0
- package/sparkdream/forum/v1/member_report.js +222 -0
- package/sparkdream/forum/v1/member_salvation_status.d.ts +54 -0
- package/sparkdream/forum/v1/member_salvation_status.js +122 -0
- package/sparkdream/forum/v1/member_warning.d.ts +58 -0
- package/sparkdream/forum/v1/member_warning.js +159 -0
- package/sparkdream/forum/v1/params.d.ts +450 -0
- package/sparkdream/forum/v1/params.js +870 -0
- package/sparkdream/forum/v1/post.d.ts +102 -0
- package/sparkdream/forum/v1/post.js +400 -0
- package/sparkdream/forum/v1/post_flag.d.ts +106 -0
- package/sparkdream/forum/v1/post_flag.js +257 -0
- package/sparkdream/forum/v1/query.d.ts +7296 -0
- package/sparkdream/forum/v1/query.js +12476 -0
- package/sparkdream/forum/v1/query.lcd.d.ts +88 -0
- package/sparkdream/forum/v1/query.lcd.js +734 -0
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +332 -0
- package/sparkdream/forum/v1/query.rpc.Query.js +804 -0
- package/sparkdream/forum/v1/sentinel_activity.d.ts +117 -0
- package/sparkdream/forum/v1/sentinel_activity.js +493 -0
- package/sparkdream/forum/v1/tag_budget.d.ts +58 -0
- package/sparkdream/forum/v1/tag_budget.js +146 -0
- package/sparkdream/forum/v1/tag_budget_award.d.ts +60 -0
- package/sparkdream/forum/v1/tag_budget_award.js +158 -0
- package/sparkdream/forum/v1/tag_report.d.ts +54 -0
- package/sparkdream/forum/v1/tag_report.js +125 -0
- package/sparkdream/forum/v1/thread_follow.d.ts +50 -0
- package/sparkdream/forum/v1/thread_follow.js +98 -0
- package/sparkdream/forum/v1/thread_follow_count.d.ts +48 -0
- package/sparkdream/forum/v1/thread_follow_count.js +86 -0
- package/sparkdream/forum/v1/thread_lock_record.d.ts +60 -0
- package/sparkdream/forum/v1/thread_lock_record.js +158 -0
- package/sparkdream/forum/v1/thread_metadata.d.ts +63 -0
- package/sparkdream/forum/v1/thread_metadata.js +187 -0
- package/sparkdream/forum/v1/thread_move_record.d.ts +64 -0
- package/sparkdream/forum/v1/thread_move_record.js +182 -0
- package/sparkdream/forum/v1/tx.amino.d.ts +253 -0
- package/sparkdream/forum/v1/tx.amino.js +257 -0
- package/sparkdream/forum/v1/tx.d.ts +4551 -0
- package/sparkdream/forum/v1/tx.js +7468 -0
- package/sparkdream/forum/v1/tx.registry.d.ts +613 -0
- package/sparkdream/forum/v1/tx.registry.js +919 -0
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +166 -0
- package/sparkdream/forum/v1/tx.rpc.msg.js +318 -0
- package/sparkdream/forum/v1/types.d.ts +221 -0
- package/sparkdream/forum/v1/types.js +777 -0
- package/sparkdream/forum/v1/user_rate_limit.d.ts +54 -0
- package/sparkdream/forum/v1/user_rate_limit.js +122 -0
- package/sparkdream/forum/v1/user_reaction_limit.d.ts +52 -0
- package/sparkdream/forum/v1/user_reaction_limit.js +110 -0
- package/sparkdream/futarchy/module/v1/module.d.ts +54 -0
- package/sparkdream/futarchy/module/v1/module.js +74 -0
- package/sparkdream/futarchy/v1/genesis.d.ts +56 -0
- package/sparkdream/futarchy/v1/genesis.js +91 -0
- package/sparkdream/futarchy/v1/market.d.ts +104 -0
- package/sparkdream/futarchy/v1/market.js +243 -0
- package/sparkdream/futarchy/v1/params.d.ts +171 -0
- package/sparkdream/futarchy/v1/params.js +244 -0
- package/sparkdream/futarchy/v1/query.d.ts +381 -0
- package/sparkdream/futarchy/v1/query.js +599 -0
- package/sparkdream/futarchy/v1/query.lcd.d.ts +12 -0
- package/sparkdream/futarchy/v1/query.lcd.js +49 -0
- package/sparkdream/futarchy/v1/query.rpc.Query.d.ts +28 -0
- package/sparkdream/futarchy/v1/query.rpc.Query.js +58 -0
- package/sparkdream/futarchy/v1/tx.amino.d.ts +38 -0
- package/sparkdream/futarchy/v1/tx.amino.js +42 -0
- package/sparkdream/futarchy/v1/tx.d.ts +688 -0
- package/sparkdream/futarchy/v1/tx.js +1100 -0
- package/sparkdream/futarchy/v1/tx.registry.d.ts +97 -0
- package/sparkdream/futarchy/v1/tx.registry.js +145 -0
- package/sparkdream/futarchy/v1/tx.rpc.msg.d.ts +37 -0
- package/sparkdream/futarchy/v1/tx.rpc.msg.js +60 -0
- package/sparkdream/lcd.d.ts +36 -0
- package/sparkdream/lcd.js +60 -0
- package/sparkdream/name/module/v1/module.d.ts +54 -0
- package/sparkdream/name/module/v1/module.js +74 -0
- package/sparkdream/name/v1/dispute.d.ts +216 -0
- package/sparkdream/name/v1/dispute.js +344 -0
- package/sparkdream/name/v1/genesis.d.ts +62 -0
- package/sparkdream/name/v1/genesis.js +123 -0
- package/sparkdream/name/v1/name_record.d.ts +50 -0
- package/sparkdream/name/v1/name_record.js +98 -0
- package/sparkdream/name/v1/owner_info.d.ts +50 -0
- package/sparkdream/name/v1/owner_info.js +98 -0
- package/sparkdream/name/v1/params.d.ts +165 -0
- package/sparkdream/name/v1/params.js +309 -0
- package/sparkdream/name/v1/query.d.ts +544 -0
- package/sparkdream/name/v1/query.js +866 -0
- package/sparkdream/name/v1/query.lcd.d.ts +14 -0
- package/sparkdream/name/v1/query.lcd.js +56 -0
- package/sparkdream/name/v1/query.rpc.Query.d.ts +36 -0
- package/sparkdream/name/v1/query.rpc.Query.js +76 -0
- package/sparkdream/name/v1/tx.amino.d.ts +43 -0
- package/sparkdream/name/v1/tx.amino.js +47 -0
- package/sparkdream/name/v1/tx.d.ts +804 -0
- package/sparkdream/name/v1/tx.js +1225 -0
- package/sparkdream/name/v1/tx.registry.d.ts +109 -0
- package/sparkdream/name/v1/tx.registry.js +163 -0
- package/sparkdream/name/v1/tx.rpc.msg.d.ts +43 -0
- package/sparkdream/name/v1/tx.rpc.msg.js +67 -0
- package/sparkdream/rep/module/v1/module.d.ts +54 -0
- package/sparkdream/rep/module/v1/module.js +74 -0
- package/sparkdream/rep/v1/challenge.d.ts +74 -0
- package/sparkdream/rep/v1/challenge.js +231 -0
- package/sparkdream/rep/v1/content_challenge.d.ts +154 -0
- package/sparkdream/rep/v1/content_challenge.js +308 -0
- package/sparkdream/rep/v1/genesis.d.ts +185 -0
- package/sparkdream/rep/v1/genesis.js +484 -0
- package/sparkdream/rep/v1/initiative.d.ts +140 -0
- package/sparkdream/rep/v1/initiative.js +567 -0
- package/sparkdream/rep/v1/interim.d.ts +163 -0
- package/sparkdream/rep/v1/interim.js +435 -0
- package/sparkdream/rep/v1/interim_template.d.ts +114 -0
- package/sparkdream/rep/v1/interim_template.js +296 -0
- package/sparkdream/rep/v1/invitation.d.ts +78 -0
- package/sparkdream/rep/v1/invitation.js +256 -0
- package/sparkdream/rep/v1/jury_review.d.ts +235 -0
- package/sparkdream/rep/v1/jury_review.js +640 -0
- package/sparkdream/rep/v1/member.d.ts +408 -0
- package/sparkdream/rep/v1/member.js +864 -0
- package/sparkdream/rep/v1/params.d.ts +730 -0
- package/sparkdream/rep/v1/params.js +1822 -0
- package/sparkdream/rep/v1/project.d.ts +162 -0
- package/sparkdream/rep/v1/project.js +554 -0
- package/sparkdream/rep/v1/query.d.ts +4030 -0
- package/sparkdream/rep/v1/query.js +6900 -0
- package/sparkdream/rep/v1/query.lcd.d.ts +51 -0
- package/sparkdream/rep/v1/query.lcd.js +381 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +184 -0
- package/sparkdream/rep/v1/query.rpc.Query.js +429 -0
- package/sparkdream/rep/v1/stake.d.ts +266 -0
- package/sparkdream/rep/v1/stake.js +580 -0
- package/sparkdream/rep/v1/tx.amino.d.ts +158 -0
- package/sparkdream/rep/v1/tx.amino.js +162 -0
- package/sparkdream/rep/v1/tx.d.ts +2940 -0
- package/sparkdream/rep/v1/tx.js +5204 -0
- package/sparkdream/rep/v1/tx.registry.d.ts +385 -0
- package/sparkdream/rep/v1/tx.registry.js +577 -0
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +109 -0
- package/sparkdream/rep/v1/tx.rpc.msg.js +204 -0
- package/sparkdream/reveal/module/v1/module.d.ts +54 -0
- package/sparkdream/reveal/module/v1/module.js +74 -0
- package/sparkdream/reveal/v1/genesis.d.ts +64 -0
- package/sparkdream/reveal/v1/genesis.js +145 -0
- package/sparkdream/reveal/v1/params.d.ts +140 -0
- package/sparkdream/reveal/v1/params.js +238 -0
- package/sparkdream/reveal/v1/query.d.ts +949 -0
- package/sparkdream/reveal/v1/query.js +1703 -0
- package/sparkdream/reveal/v1/query.lcd.d.ts +19 -0
- package/sparkdream/reveal/v1/query.lcd.js +105 -0
- package/sparkdream/reveal/v1/query.rpc.Query.d.ts +56 -0
- package/sparkdream/reveal/v1/query.rpc.Query.js +121 -0
- package/sparkdream/reveal/v1/tx.amino.d.ts +53 -0
- package/sparkdream/reveal/v1/tx.amino.js +57 -0
- package/sparkdream/reveal/v1/tx.d.ts +1043 -0
- package/sparkdream/reveal/v1/tx.js +1702 -0
- package/sparkdream/reveal/v1/tx.registry.d.ts +133 -0
- package/sparkdream/reveal/v1/tx.registry.js +199 -0
- package/sparkdream/reveal/v1/tx.rpc.msg.d.ts +43 -0
- package/sparkdream/reveal/v1/tx.rpc.msg.js +77 -0
- package/sparkdream/reveal/v1/types.d.ts +455 -0
- package/sparkdream/reveal/v1/types.js +1150 -0
- package/sparkdream/rpc.query.d.ts +328 -0
- package/sparkdream/rpc.query.js +36 -0
- package/sparkdream/rpc.tx.d.ts +36 -0
- package/sparkdream/rpc.tx.js +36 -0
- package/sparkdream/season/module/v1/module.d.ts +54 -0
- package/sparkdream/season/module/v1/module.js +74 -0
- package/sparkdream/season/v1/achievement.d.ts +101 -0
- package/sparkdream/season/v1/achievement.js +145 -0
- package/sparkdream/season/v1/display_name_appeal_stake.d.ts +68 -0
- package/sparkdream/season/v1/display_name_appeal_stake.js +98 -0
- package/sparkdream/season/v1/display_name_moderation.d.ts +60 -0
- package/sparkdream/season/v1/display_name_moderation.js +158 -0
- package/sparkdream/season/v1/display_name_report_stake.d.ts +68 -0
- package/sparkdream/season/v1/display_name_report_stake.js +98 -0
- package/sparkdream/season/v1/enums.d.ts +86 -0
- package/sparkdream/season/v1/enums.js +406 -0
- package/sparkdream/season/v1/epoch_xp_tracker.d.ts +54 -0
- package/sparkdream/season/v1/epoch_xp_tracker.js +122 -0
- package/sparkdream/season/v1/forum_xp_cooldown.d.ts +48 -0
- package/sparkdream/season/v1/forum_xp_cooldown.js +86 -0
- package/sparkdream/season/v1/genesis.d.ts +136 -0
- package/sparkdream/season/v1/genesis.js +485 -0
- package/sparkdream/season/v1/guild.d.ts +117 -0
- package/sparkdream/season/v1/guild.js +175 -0
- package/sparkdream/season/v1/guild_invite.d.ts +52 -0
- package/sparkdream/season/v1/guild_invite.js +110 -0
- package/sparkdream/season/v1/guild_membership.d.ts +54 -0
- package/sparkdream/season/v1/guild_membership.js +122 -0
- package/sparkdream/season/v1/member_profile.d.ts +196 -0
- package/sparkdream/season/v1/member_profile.js +299 -0
- package/sparkdream/season/v1/member_quest_progress.d.ts +84 -0
- package/sparkdream/season/v1/member_quest_progress.js +135 -0
- package/sparkdream/season/v1/member_registration.d.ts +48 -0
- package/sparkdream/season/v1/member_registration.js +86 -0
- package/sparkdream/season/v1/member_season_snapshot.d.ts +145 -0
- package/sparkdream/season/v1/member_season_snapshot.js +241 -0
- package/sparkdream/season/v1/next_season_info.d.ts +48 -0
- package/sparkdream/season/v1/next_season_info.js +86 -0
- package/sparkdream/season/v1/nomination.d.ts +194 -0
- package/sparkdream/season/v1/nomination.js +431 -0
- package/sparkdream/season/v1/params.d.ts +611 -0
- package/sparkdream/season/v1/params.js +1600 -0
- package/sparkdream/season/v1/query.d.ts +6199 -0
- package/sparkdream/season/v1/query.js +10574 -0
- package/sparkdream/season/v1/query.lcd.d.ts +76 -0
- package/sparkdream/season/v1/query.lcd.js +602 -0
- package/sparkdream/season/v1/query.rpc.Query.d.ts +284 -0
- package/sparkdream/season/v1/query.rpc.Query.js +678 -0
- package/sparkdream/season/v1/quest.d.ts +231 -0
- package/sparkdream/season/v1/quest.js +337 -0
- package/sparkdream/season/v1/season.d.ts +117 -0
- package/sparkdream/season/v1/season.js +169 -0
- package/sparkdream/season/v1/season_snapshot.d.ts +48 -0
- package/sparkdream/season/v1/season_snapshot.js +86 -0
- package/sparkdream/season/v1/season_title_eligibility.d.ts +134 -0
- package/sparkdream/season/v1/season_title_eligibility.js +197 -0
- package/sparkdream/season/v1/season_transition_state.d.ts +93 -0
- package/sparkdream/season/v1/season_transition_state.js +133 -0
- package/sparkdream/season/v1/title.d.ts +109 -0
- package/sparkdream/season/v1/title.js +157 -0
- package/sparkdream/season/v1/transition_recovery_state.d.ts +85 -0
- package/sparkdream/season/v1/transition_recovery_state.js +121 -0
- package/sparkdream/season/v1/tx.amino.d.ts +218 -0
- package/sparkdream/season/v1/tx.amino.js +222 -0
- package/sparkdream/season/v1/tx.d.ts +4133 -0
- package/sparkdream/season/v1/tx.js +6827 -0
- package/sparkdream/season/v1/tx.registry.d.ts +529 -0
- package/sparkdream/season/v1/tx.registry.js +793 -0
- package/sparkdream/season/v1/tx.rpc.msg.d.ts +144 -0
- package/sparkdream/season/v1/tx.rpc.msg.js +277 -0
- package/sparkdream/season/v1/vote_xp_record.d.ts +48 -0
- package/sparkdream/season/v1/vote_xp_record.js +86 -0
- package/sparkdream/session/module/v1/module.d.ts +54 -0
- package/sparkdream/session/module/v1/module.js +74 -0
- package/sparkdream/session/v1/genesis.d.ts +62 -0
- package/sparkdream/session/v1/genesis.js +91 -0
- package/sparkdream/session/v1/params.d.ts +168 -0
- package/sparkdream/session/v1/params.js +278 -0
- package/sparkdream/session/v1/query.d.ts +423 -0
- package/sparkdream/session/v1/query.js +746 -0
- package/sparkdream/session/v1/query.lcd.d.ts +13 -0
- package/sparkdream/session/v1/query.lcd.js +49 -0
- package/sparkdream/session/v1/query.rpc.Query.d.ts +32 -0
- package/sparkdream/session/v1/query.rpc.Query.js +65 -0
- package/sparkdream/session/v1/session.d.ts +125 -0
- package/sparkdream/session/v1/session.js +188 -0
- package/sparkdream/session/v1/tx.amino.d.ts +28 -0
- package/sparkdream/session/v1/tx.amino.js +32 -0
- package/sparkdream/session/v1/tx.d.ts +481 -0
- package/sparkdream/session/v1/tx.js +771 -0
- package/sparkdream/session/v1/tx.registry.d.ts +73 -0
- package/sparkdream/session/v1/tx.registry.js +109 -0
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +31 -0
- package/sparkdream/session/v1/tx.rpc.msg.js +48 -0
- package/sparkdream/shield/module/v1/module.d.ts +54 -0
- package/sparkdream/shield/module/v1/module.js +74 -0
- package/sparkdream/shield/v1/genesis.d.ts +182 -0
- package/sparkdream/shield/v1/genesis.js +304 -0
- package/sparkdream/shield/v1/params.d.ts +192 -0
- package/sparkdream/shield/v1/params.js +285 -0
- package/sparkdream/shield/v1/query.d.ts +1406 -0
- package/sparkdream/shield/v1/query.js +2326 -0
- package/sparkdream/shield/v1/query.lcd.d.ts +25 -0
- package/sparkdream/shield/v1/query.lcd.js +114 -0
- package/sparkdream/shield/v1/query.rpc.Query.d.ts +80 -0
- package/sparkdream/shield/v1/query.rpc.Query.js +175 -0
- package/sparkdream/shield/v1/tx.amino.d.ts +28 -0
- package/sparkdream/shield/v1/tx.amino.js +32 -0
- package/sparkdream/shield/v1/tx.d.ts +542 -0
- package/sparkdream/shield/v1/tx.js +841 -0
- package/sparkdream/shield/v1/tx.registry.d.ts +73 -0
- package/sparkdream/shield/v1/tx.registry.js +109 -0
- package/sparkdream/shield/v1/tx.rpc.msg.d.ts +29 -0
- package/sparkdream/shield/v1/tx.rpc.msg.js +48 -0
- package/sparkdream/shield/v1/types.d.ts +1412 -0
- package/sparkdream/shield/v1/types.js +2398 -0
- package/sparkdream/split/module/v1/module.d.ts +54 -0
- package/sparkdream/split/module/v1/module.js +74 -0
- package/sparkdream/split/v1/genesis.d.ts +56 -0
- package/sparkdream/split/v1/genesis.js +91 -0
- package/sparkdream/split/v1/params.d.ts +46 -0
- package/sparkdream/split/v1/params.js +68 -0
- package/sparkdream/split/v1/query.d.ts +275 -0
- package/sparkdream/split/v1/query.js +424 -0
- package/sparkdream/split/v1/query.lcd.d.ts +11 -0
- package/sparkdream/split/v1/query.lcd.js +35 -0
- package/sparkdream/split/v1/query.rpc.Query.d.ts +24 -0
- package/sparkdream/split/v1/query.rpc.Query.js +49 -0
- package/sparkdream/split/v1/share.d.ts +48 -0
- package/sparkdream/split/v1/share.js +86 -0
- package/sparkdream/split/v1/tx.amino.d.ts +8 -0
- package/sparkdream/split/v1/tx.amino.js +12 -0
- package/sparkdream/split/v1/tx.d.ts +108 -0
- package/sparkdream/split/v1/tx.js +151 -0
- package/sparkdream/split/v1/tx.registry.d.ts +25 -0
- package/sparkdream/split/v1/tx.registry.js +37 -0
- package/sparkdream/split/v1/tx.rpc.msg.d.ts +16 -0
- package/sparkdream/split/v1/tx.rpc.msg.js +23 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -0,0 +1,1412 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* ProofDomain identifies which Merkle tree the ZK proof targets.
|
|
5
|
+
* All anonymous operations use the trust tree (leaves = MiMC(zk_pub_key, trust_level)).
|
|
6
|
+
* The unified ShieldCircuit hides the exact trust level — only proves >= minimum.
|
|
7
|
+
*/
|
|
8
|
+
export declare enum ProofDomain {
|
|
9
|
+
PROOF_DOMAIN_UNSPECIFIED = 0,
|
|
10
|
+
PROOF_DOMAIN_TRUST_TREE = 1,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare const ProofDomainAmino: typeof ProofDomain;
|
|
14
|
+
export declare function proofDomainFromJSON(object: any): ProofDomain;
|
|
15
|
+
export declare function proofDomainToJSON(object: ProofDomain): string;
|
|
16
|
+
/** NullifierScopeType determines nullifier uniqueness granularity. */
|
|
17
|
+
export declare enum NullifierScopeType {
|
|
18
|
+
/** NULLIFIER_SCOPE_EPOCH - Scope = current epoch (one op per epoch) */
|
|
19
|
+
NULLIFIER_SCOPE_EPOCH = 0,
|
|
20
|
+
/** NULLIFIER_SCOPE_MESSAGE_FIELD - Scope = extracted from inner message (e.g. post_id for replies) */
|
|
21
|
+
NULLIFIER_SCOPE_MESSAGE_FIELD = 1,
|
|
22
|
+
/** NULLIFIER_SCOPE_GLOBAL - No scoping (nullifier is globally unique) */
|
|
23
|
+
NULLIFIER_SCOPE_GLOBAL = 2,
|
|
24
|
+
UNRECOGNIZED = -1
|
|
25
|
+
}
|
|
26
|
+
export declare const NullifierScopeTypeAmino: typeof NullifierScopeType;
|
|
27
|
+
export declare function nullifierScopeTypeFromJSON(object: any): NullifierScopeType;
|
|
28
|
+
export declare function nullifierScopeTypeToJSON(object: NullifierScopeType): string;
|
|
29
|
+
/** ShieldBatchMode controls which execution modes an operation supports. */
|
|
30
|
+
export declare enum ShieldBatchMode {
|
|
31
|
+
/** SHIELD_BATCH_MODE_IMMEDIATE_ONLY - Only immediate execution allowed */
|
|
32
|
+
SHIELD_BATCH_MODE_IMMEDIATE_ONLY = 0,
|
|
33
|
+
/** SHIELD_BATCH_MODE_ENCRYPTED_ONLY - Only encrypted batch execution allowed */
|
|
34
|
+
SHIELD_BATCH_MODE_ENCRYPTED_ONLY = 1,
|
|
35
|
+
/** SHIELD_BATCH_MODE_EITHER - User chooses per-submission */
|
|
36
|
+
SHIELD_BATCH_MODE_EITHER = 2,
|
|
37
|
+
UNRECOGNIZED = -1
|
|
38
|
+
}
|
|
39
|
+
export declare const ShieldBatchModeAmino: typeof ShieldBatchMode;
|
|
40
|
+
export declare function shieldBatchModeFromJSON(object: any): ShieldBatchMode;
|
|
41
|
+
export declare function shieldBatchModeToJSON(object: ShieldBatchMode): string;
|
|
42
|
+
/** ShieldExecMode selects the execution mode for a shielded operation. */
|
|
43
|
+
export declare enum ShieldExecMode {
|
|
44
|
+
SHIELD_EXEC_IMMEDIATE = 0,
|
|
45
|
+
SHIELD_EXEC_ENCRYPTED_BATCH = 1,
|
|
46
|
+
UNRECOGNIZED = -1
|
|
47
|
+
}
|
|
48
|
+
export declare const ShieldExecModeAmino: typeof ShieldExecMode;
|
|
49
|
+
export declare function shieldExecModeFromJSON(object: any): ShieldExecMode;
|
|
50
|
+
export declare function shieldExecModeToJSON(object: ShieldExecMode): string;
|
|
51
|
+
/** DKGPhase tracks the current phase of the distributed key generation ceremony. */
|
|
52
|
+
export declare enum DKGPhase {
|
|
53
|
+
/** DKG_PHASE_INACTIVE - No DKG running (not enough validators, or TLE not needed yet) */
|
|
54
|
+
DKG_PHASE_INACTIVE = 0,
|
|
55
|
+
/** DKG_PHASE_REGISTERING - Accepting BN256 G1 encryption key registrations from validators */
|
|
56
|
+
DKG_PHASE_REGISTERING = 1,
|
|
57
|
+
/** DKG_PHASE_CONTRIBUTING - Key registration closed; accepting Feldman DKG contributions */
|
|
58
|
+
DKG_PHASE_CONTRIBUTING = 2,
|
|
59
|
+
/** DKG_PHASE_ACTIVE - DKG complete, master key available, encrypted batch enabled */
|
|
60
|
+
DKG_PHASE_ACTIVE = 3,
|
|
61
|
+
UNRECOGNIZED = -1
|
|
62
|
+
}
|
|
63
|
+
export declare const DKGPhaseAmino: typeof DKGPhase;
|
|
64
|
+
export declare function dKGPhaseFromJSON(object: any): DKGPhase;
|
|
65
|
+
export declare function dKGPhaseToJSON(object: DKGPhase): string;
|
|
66
|
+
/**
|
|
67
|
+
* ShieldedOpRegistration defines a registered shielded operation.
|
|
68
|
+
* @name ShieldedOpRegistration
|
|
69
|
+
* @package sparkdream.shield.v1
|
|
70
|
+
* @see proto type: sparkdream.shield.v1.ShieldedOpRegistration
|
|
71
|
+
*/
|
|
72
|
+
export interface ShieldedOpRegistration {
|
|
73
|
+
/**
|
|
74
|
+
* Full protobuf message type URL (e.g. "/sparkdream.blog.v1.MsgCreatePost")
|
|
75
|
+
*/
|
|
76
|
+
messageTypeUrl: string;
|
|
77
|
+
/**
|
|
78
|
+
* Which proof domain is required
|
|
79
|
+
*/
|
|
80
|
+
proofDomain: ProofDomain;
|
|
81
|
+
/**
|
|
82
|
+
* Minimum trust level required (0 = any member)
|
|
83
|
+
*/
|
|
84
|
+
minTrustLevel: number;
|
|
85
|
+
/**
|
|
86
|
+
* Nullifier domain (scopes nullifiers to prevent cross-operation reuse)
|
|
87
|
+
*/
|
|
88
|
+
nullifierDomain: number;
|
|
89
|
+
/**
|
|
90
|
+
* How the nullifier scope is determined
|
|
91
|
+
*/
|
|
92
|
+
nullifierScopeType: NullifierScopeType;
|
|
93
|
+
/**
|
|
94
|
+
* Whether this operation is currently active
|
|
95
|
+
*/
|
|
96
|
+
active: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Which execution modes this operation supports
|
|
99
|
+
*/
|
|
100
|
+
batchMode: ShieldBatchMode;
|
|
101
|
+
/**
|
|
102
|
+
* Proto field name for scope extraction when nullifier_scope_type = MESSAGE_FIELD
|
|
103
|
+
* e.g. "post_id", "proposal_id", "collection_id"
|
|
104
|
+
* Must refer to a uint64 field in the inner message
|
|
105
|
+
*/
|
|
106
|
+
scopeFieldPath: string;
|
|
107
|
+
}
|
|
108
|
+
export interface ShieldedOpRegistrationProtoMsg {
|
|
109
|
+
typeUrl: "/sparkdream.shield.v1.ShieldedOpRegistration";
|
|
110
|
+
value: Uint8Array;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* ShieldedOpRegistration defines a registered shielded operation.
|
|
114
|
+
* @name ShieldedOpRegistrationAmino
|
|
115
|
+
* @package sparkdream.shield.v1
|
|
116
|
+
* @see proto type: sparkdream.shield.v1.ShieldedOpRegistration
|
|
117
|
+
*/
|
|
118
|
+
export interface ShieldedOpRegistrationAmino {
|
|
119
|
+
/**
|
|
120
|
+
* Full protobuf message type URL (e.g. "/sparkdream.blog.v1.MsgCreatePost")
|
|
121
|
+
*/
|
|
122
|
+
message_type_url?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Which proof domain is required
|
|
125
|
+
*/
|
|
126
|
+
proof_domain?: ProofDomain;
|
|
127
|
+
/**
|
|
128
|
+
* Minimum trust level required (0 = any member)
|
|
129
|
+
*/
|
|
130
|
+
min_trust_level?: number;
|
|
131
|
+
/**
|
|
132
|
+
* Nullifier domain (scopes nullifiers to prevent cross-operation reuse)
|
|
133
|
+
*/
|
|
134
|
+
nullifier_domain?: number;
|
|
135
|
+
/**
|
|
136
|
+
* How the nullifier scope is determined
|
|
137
|
+
*/
|
|
138
|
+
nullifier_scope_type?: NullifierScopeType;
|
|
139
|
+
/**
|
|
140
|
+
* Whether this operation is currently active
|
|
141
|
+
*/
|
|
142
|
+
active?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Which execution modes this operation supports
|
|
145
|
+
*/
|
|
146
|
+
batch_mode?: ShieldBatchMode;
|
|
147
|
+
/**
|
|
148
|
+
* Proto field name for scope extraction when nullifier_scope_type = MESSAGE_FIELD
|
|
149
|
+
* e.g. "post_id", "proposal_id", "collection_id"
|
|
150
|
+
* Must refer to a uint64 field in the inner message
|
|
151
|
+
*/
|
|
152
|
+
scope_field_path?: string;
|
|
153
|
+
}
|
|
154
|
+
export interface ShieldedOpRegistrationAminoMsg {
|
|
155
|
+
type: "/sparkdream.shield.v1.ShieldedOpRegistration";
|
|
156
|
+
value: ShieldedOpRegistrationAmino;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* UsedNullifier records a nullifier that has been consumed.
|
|
160
|
+
* Key: domain (uint32) + scope (uint64) + nullifier_hex (string)
|
|
161
|
+
* @name UsedNullifier
|
|
162
|
+
* @package sparkdream.shield.v1
|
|
163
|
+
* @see proto type: sparkdream.shield.v1.UsedNullifier
|
|
164
|
+
*/
|
|
165
|
+
export interface UsedNullifier {
|
|
166
|
+
domain: number;
|
|
167
|
+
scope: bigint;
|
|
168
|
+
nullifierHex: string;
|
|
169
|
+
usedAtHeight: bigint;
|
|
170
|
+
}
|
|
171
|
+
export interface UsedNullifierProtoMsg {
|
|
172
|
+
typeUrl: "/sparkdream.shield.v1.UsedNullifier";
|
|
173
|
+
value: Uint8Array;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* UsedNullifier records a nullifier that has been consumed.
|
|
177
|
+
* Key: domain (uint32) + scope (uint64) + nullifier_hex (string)
|
|
178
|
+
* @name UsedNullifierAmino
|
|
179
|
+
* @package sparkdream.shield.v1
|
|
180
|
+
* @see proto type: sparkdream.shield.v1.UsedNullifier
|
|
181
|
+
*/
|
|
182
|
+
export interface UsedNullifierAmino {
|
|
183
|
+
domain?: number;
|
|
184
|
+
scope?: string;
|
|
185
|
+
nullifier_hex?: string;
|
|
186
|
+
used_at_height?: string;
|
|
187
|
+
}
|
|
188
|
+
export interface UsedNullifierAminoMsg {
|
|
189
|
+
type: "/sparkdream.shield.v1.UsedNullifier";
|
|
190
|
+
value: UsedNullifierAmino;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* DayFunding tracks funding per day to enforce the daily cap.
|
|
194
|
+
* Day is calculated as block_height / 14400 (at 6s/block = 1 day).
|
|
195
|
+
* @name DayFunding
|
|
196
|
+
* @package sparkdream.shield.v1
|
|
197
|
+
* @see proto type: sparkdream.shield.v1.DayFunding
|
|
198
|
+
*/
|
|
199
|
+
export interface DayFunding {
|
|
200
|
+
day: bigint;
|
|
201
|
+
amountFunded: string;
|
|
202
|
+
}
|
|
203
|
+
export interface DayFundingProtoMsg {
|
|
204
|
+
typeUrl: "/sparkdream.shield.v1.DayFunding";
|
|
205
|
+
value: Uint8Array;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* DayFunding tracks funding per day to enforce the daily cap.
|
|
209
|
+
* Day is calculated as block_height / 14400 (at 6s/block = 1 day).
|
|
210
|
+
* @name DayFundingAmino
|
|
211
|
+
* @package sparkdream.shield.v1
|
|
212
|
+
* @see proto type: sparkdream.shield.v1.DayFunding
|
|
213
|
+
*/
|
|
214
|
+
export interface DayFundingAmino {
|
|
215
|
+
day?: string;
|
|
216
|
+
amount_funded?: string;
|
|
217
|
+
}
|
|
218
|
+
export interface DayFundingAminoMsg {
|
|
219
|
+
type: "/sparkdream.shield.v1.DayFunding";
|
|
220
|
+
value: DayFundingAmino;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* PendingShieldedOp is stored in queue until the shield epoch boundary triggers batch execution.
|
|
224
|
+
* @name PendingShieldedOp
|
|
225
|
+
* @package sparkdream.shield.v1
|
|
226
|
+
* @see proto type: sparkdream.shield.v1.PendingShieldedOp
|
|
227
|
+
*/
|
|
228
|
+
export interface PendingShieldedOp {
|
|
229
|
+
id: bigint;
|
|
230
|
+
targetEpoch: bigint;
|
|
231
|
+
nullifier: Uint8Array;
|
|
232
|
+
merkleRoot: Uint8Array;
|
|
233
|
+
proofDomain: ProofDomain;
|
|
234
|
+
minTrustLevel: number;
|
|
235
|
+
encryptedPayload: Uint8Array;
|
|
236
|
+
submittedAtHeight: bigint;
|
|
237
|
+
submittedAtEpoch: bigint;
|
|
238
|
+
}
|
|
239
|
+
export interface PendingShieldedOpProtoMsg {
|
|
240
|
+
typeUrl: "/sparkdream.shield.v1.PendingShieldedOp";
|
|
241
|
+
value: Uint8Array;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* PendingShieldedOp is stored in queue until the shield epoch boundary triggers batch execution.
|
|
245
|
+
* @name PendingShieldedOpAmino
|
|
246
|
+
* @package sparkdream.shield.v1
|
|
247
|
+
* @see proto type: sparkdream.shield.v1.PendingShieldedOp
|
|
248
|
+
*/
|
|
249
|
+
export interface PendingShieldedOpAmino {
|
|
250
|
+
id?: string;
|
|
251
|
+
target_epoch?: string;
|
|
252
|
+
nullifier?: string;
|
|
253
|
+
merkle_root?: string;
|
|
254
|
+
proof_domain?: ProofDomain;
|
|
255
|
+
min_trust_level?: number;
|
|
256
|
+
encrypted_payload?: string;
|
|
257
|
+
submitted_at_height?: string;
|
|
258
|
+
submitted_at_epoch?: string;
|
|
259
|
+
}
|
|
260
|
+
export interface PendingShieldedOpAminoMsg {
|
|
261
|
+
type: "/sparkdream.shield.v1.PendingShieldedOp";
|
|
262
|
+
value: PendingShieldedOpAmino;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* ShieldEpochState tracks the current shield epoch and decryption key availability.
|
|
266
|
+
* @name ShieldEpochState
|
|
267
|
+
* @package sparkdream.shield.v1
|
|
268
|
+
* @see proto type: sparkdream.shield.v1.ShieldEpochState
|
|
269
|
+
*/
|
|
270
|
+
export interface ShieldEpochState {
|
|
271
|
+
currentEpoch: bigint;
|
|
272
|
+
epochStartHeight: bigint;
|
|
273
|
+
decryptionKeyAvailable: boolean;
|
|
274
|
+
}
|
|
275
|
+
export interface ShieldEpochStateProtoMsg {
|
|
276
|
+
typeUrl: "/sparkdream.shield.v1.ShieldEpochState";
|
|
277
|
+
value: Uint8Array;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* ShieldEpochState tracks the current shield epoch and decryption key availability.
|
|
281
|
+
* @name ShieldEpochStateAmino
|
|
282
|
+
* @package sparkdream.shield.v1
|
|
283
|
+
* @see proto type: sparkdream.shield.v1.ShieldEpochState
|
|
284
|
+
*/
|
|
285
|
+
export interface ShieldEpochStateAmino {
|
|
286
|
+
current_epoch?: string;
|
|
287
|
+
epoch_start_height?: string;
|
|
288
|
+
decryption_key_available?: boolean;
|
|
289
|
+
}
|
|
290
|
+
export interface ShieldEpochStateAminoMsg {
|
|
291
|
+
type: "/sparkdream.shield.v1.ShieldEpochState";
|
|
292
|
+
value: ShieldEpochStateAmino;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* ShieldEpochDecryptionKey is the reconstructed epoch decryption key.
|
|
296
|
+
* @name ShieldEpochDecryptionKey
|
|
297
|
+
* @package sparkdream.shield.v1
|
|
298
|
+
* @see proto type: sparkdream.shield.v1.ShieldEpochDecryptionKey
|
|
299
|
+
*/
|
|
300
|
+
export interface ShieldEpochDecryptionKey {
|
|
301
|
+
epoch: bigint;
|
|
302
|
+
/**
|
|
303
|
+
* BN256 G1 point (reconstructed epoch secret)
|
|
304
|
+
*/
|
|
305
|
+
decryptionKey: Uint8Array;
|
|
306
|
+
reconstructedAtHeight: bigint;
|
|
307
|
+
}
|
|
308
|
+
export interface ShieldEpochDecryptionKeyProtoMsg {
|
|
309
|
+
typeUrl: "/sparkdream.shield.v1.ShieldEpochDecryptionKey";
|
|
310
|
+
value: Uint8Array;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* ShieldEpochDecryptionKey is the reconstructed epoch decryption key.
|
|
314
|
+
* @name ShieldEpochDecryptionKeyAmino
|
|
315
|
+
* @package sparkdream.shield.v1
|
|
316
|
+
* @see proto type: sparkdream.shield.v1.ShieldEpochDecryptionKey
|
|
317
|
+
*/
|
|
318
|
+
export interface ShieldEpochDecryptionKeyAmino {
|
|
319
|
+
epoch?: string;
|
|
320
|
+
/**
|
|
321
|
+
* BN256 G1 point (reconstructed epoch secret)
|
|
322
|
+
*/
|
|
323
|
+
decryption_key?: string;
|
|
324
|
+
reconstructed_at_height?: string;
|
|
325
|
+
}
|
|
326
|
+
export interface ShieldEpochDecryptionKeyAminoMsg {
|
|
327
|
+
type: "/sparkdream.shield.v1.ShieldEpochDecryptionKey";
|
|
328
|
+
value: ShieldEpochDecryptionKeyAmino;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* ShieldDecryptionShare is a validator's decryption share for a shield epoch.
|
|
332
|
+
* @name ShieldDecryptionShare
|
|
333
|
+
* @package sparkdream.shield.v1
|
|
334
|
+
* @see proto type: sparkdream.shield.v1.ShieldDecryptionShare
|
|
335
|
+
*/
|
|
336
|
+
export interface ShieldDecryptionShare {
|
|
337
|
+
epoch: bigint;
|
|
338
|
+
validator: string;
|
|
339
|
+
/**
|
|
340
|
+
* epoch-derived share: masterShare_i * H_to_G1(epoch)
|
|
341
|
+
*/
|
|
342
|
+
share: Uint8Array;
|
|
343
|
+
}
|
|
344
|
+
export interface ShieldDecryptionShareProtoMsg {
|
|
345
|
+
typeUrl: "/sparkdream.shield.v1.ShieldDecryptionShare";
|
|
346
|
+
value: Uint8Array;
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* ShieldDecryptionShare is a validator's decryption share for a shield epoch.
|
|
350
|
+
* @name ShieldDecryptionShareAmino
|
|
351
|
+
* @package sparkdream.shield.v1
|
|
352
|
+
* @see proto type: sparkdream.shield.v1.ShieldDecryptionShare
|
|
353
|
+
*/
|
|
354
|
+
export interface ShieldDecryptionShareAmino {
|
|
355
|
+
epoch?: string;
|
|
356
|
+
validator?: string;
|
|
357
|
+
/**
|
|
358
|
+
* epoch-derived share: masterShare_i * H_to_G1(epoch)
|
|
359
|
+
*/
|
|
360
|
+
share?: string;
|
|
361
|
+
}
|
|
362
|
+
export interface ShieldDecryptionShareAminoMsg {
|
|
363
|
+
type: "/sparkdream.shield.v1.ShieldDecryptionShare";
|
|
364
|
+
value: ShieldDecryptionShareAmino;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* TLEKeySet stores the master public key and validator shares from the DKG ceremony.
|
|
368
|
+
* @name TLEKeySet
|
|
369
|
+
* @package sparkdream.shield.v1
|
|
370
|
+
* @see proto type: sparkdream.shield.v1.TLEKeySet
|
|
371
|
+
*/
|
|
372
|
+
export interface TLEKeySet {
|
|
373
|
+
/**
|
|
374
|
+
* BN256 G1 point
|
|
375
|
+
*/
|
|
376
|
+
masterPublicKey: Uint8Array;
|
|
377
|
+
/**
|
|
378
|
+
* e.g. 2
|
|
379
|
+
*/
|
|
380
|
+
thresholdNumerator: bigint;
|
|
381
|
+
/**
|
|
382
|
+
* e.g. 3 -> 2/3 threshold
|
|
383
|
+
*/
|
|
384
|
+
thresholdDenominator: bigint;
|
|
385
|
+
validatorShares: TLEValidatorPublicShare[];
|
|
386
|
+
createdAtHeight: bigint;
|
|
387
|
+
}
|
|
388
|
+
export interface TLEKeySetProtoMsg {
|
|
389
|
+
typeUrl: "/sparkdream.shield.v1.TLEKeySet";
|
|
390
|
+
value: Uint8Array;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* TLEKeySet stores the master public key and validator shares from the DKG ceremony.
|
|
394
|
+
* @name TLEKeySetAmino
|
|
395
|
+
* @package sparkdream.shield.v1
|
|
396
|
+
* @see proto type: sparkdream.shield.v1.TLEKeySet
|
|
397
|
+
*/
|
|
398
|
+
export interface TLEKeySetAmino {
|
|
399
|
+
/**
|
|
400
|
+
* BN256 G1 point
|
|
401
|
+
*/
|
|
402
|
+
master_public_key?: string;
|
|
403
|
+
/**
|
|
404
|
+
* e.g. 2
|
|
405
|
+
*/
|
|
406
|
+
threshold_numerator?: string;
|
|
407
|
+
/**
|
|
408
|
+
* e.g. 3 -> 2/3 threshold
|
|
409
|
+
*/
|
|
410
|
+
threshold_denominator?: string;
|
|
411
|
+
validator_shares?: TLEValidatorPublicShareAmino[];
|
|
412
|
+
created_at_height?: string;
|
|
413
|
+
}
|
|
414
|
+
export interface TLEKeySetAminoMsg {
|
|
415
|
+
type: "/sparkdream.shield.v1.TLEKeySet";
|
|
416
|
+
value: TLEKeySetAmino;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* TLEValidatorPublicShare stores a validator's public key share from the DKG.
|
|
420
|
+
* @name TLEValidatorPublicShare
|
|
421
|
+
* @package sparkdream.shield.v1
|
|
422
|
+
* @see proto type: sparkdream.shield.v1.TLEValidatorPublicShare
|
|
423
|
+
*/
|
|
424
|
+
export interface TLEValidatorPublicShare {
|
|
425
|
+
validatorAddress: string;
|
|
426
|
+
/**
|
|
427
|
+
* BN256 G1 point
|
|
428
|
+
*/
|
|
429
|
+
publicShare: Uint8Array;
|
|
430
|
+
/**
|
|
431
|
+
* Shamir share index
|
|
432
|
+
*/
|
|
433
|
+
shareIndex: number;
|
|
434
|
+
}
|
|
435
|
+
export interface TLEValidatorPublicShareProtoMsg {
|
|
436
|
+
typeUrl: "/sparkdream.shield.v1.TLEValidatorPublicShare";
|
|
437
|
+
value: Uint8Array;
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* TLEValidatorPublicShare stores a validator's public key share from the DKG.
|
|
441
|
+
* @name TLEValidatorPublicShareAmino
|
|
442
|
+
* @package sparkdream.shield.v1
|
|
443
|
+
* @see proto type: sparkdream.shield.v1.TLEValidatorPublicShare
|
|
444
|
+
*/
|
|
445
|
+
export interface TLEValidatorPublicShareAmino {
|
|
446
|
+
validator_address?: string;
|
|
447
|
+
/**
|
|
448
|
+
* BN256 G1 point
|
|
449
|
+
*/
|
|
450
|
+
public_share?: string;
|
|
451
|
+
/**
|
|
452
|
+
* Shamir share index
|
|
453
|
+
*/
|
|
454
|
+
share_index?: number;
|
|
455
|
+
}
|
|
456
|
+
export interface TLEValidatorPublicShareAminoMsg {
|
|
457
|
+
type: "/sparkdream.shield.v1.TLEValidatorPublicShare";
|
|
458
|
+
value: TLEValidatorPublicShareAmino;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* DKGState tracks the current state of the on-chain Feldman DKG ceremony.
|
|
462
|
+
* @name DKGState
|
|
463
|
+
* @package sparkdream.shield.v1
|
|
464
|
+
* @see proto type: sparkdream.shield.v1.DKGState
|
|
465
|
+
*/
|
|
466
|
+
export interface DKGState {
|
|
467
|
+
/**
|
|
468
|
+
* Monotonically increasing round number (new round = new ceremony)
|
|
469
|
+
*/
|
|
470
|
+
round: bigint;
|
|
471
|
+
/**
|
|
472
|
+
* Current phase of the DKG
|
|
473
|
+
*/
|
|
474
|
+
phase: DKGPhase;
|
|
475
|
+
/**
|
|
476
|
+
* Block height when REGISTERING phase started
|
|
477
|
+
*/
|
|
478
|
+
openAtHeight: bigint;
|
|
479
|
+
/**
|
|
480
|
+
* Block height when REGISTERING phase ends and CONTRIBUTING starts
|
|
481
|
+
*/
|
|
482
|
+
registrationDeadline: bigint;
|
|
483
|
+
/**
|
|
484
|
+
* Block height when CONTRIBUTING phase ends
|
|
485
|
+
*/
|
|
486
|
+
contributionDeadline: bigint;
|
|
487
|
+
/**
|
|
488
|
+
* Threshold ratio for this DKG round
|
|
489
|
+
*/
|
|
490
|
+
thresholdNumerator: bigint;
|
|
491
|
+
thresholdDenominator: bigint;
|
|
492
|
+
/**
|
|
493
|
+
* Snapshot of bonded validator addresses at DKG start
|
|
494
|
+
*/
|
|
495
|
+
expectedValidators: string[];
|
|
496
|
+
/**
|
|
497
|
+
* Number of contributions received so far
|
|
498
|
+
*/
|
|
499
|
+
contributionsReceived: bigint;
|
|
500
|
+
}
|
|
501
|
+
export interface DKGStateProtoMsg {
|
|
502
|
+
typeUrl: "/sparkdream.shield.v1.DKGState";
|
|
503
|
+
value: Uint8Array;
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* DKGState tracks the current state of the on-chain Feldman DKG ceremony.
|
|
507
|
+
* @name DKGStateAmino
|
|
508
|
+
* @package sparkdream.shield.v1
|
|
509
|
+
* @see proto type: sparkdream.shield.v1.DKGState
|
|
510
|
+
*/
|
|
511
|
+
export interface DKGStateAmino {
|
|
512
|
+
/**
|
|
513
|
+
* Monotonically increasing round number (new round = new ceremony)
|
|
514
|
+
*/
|
|
515
|
+
round?: string;
|
|
516
|
+
/**
|
|
517
|
+
* Current phase of the DKG
|
|
518
|
+
*/
|
|
519
|
+
phase?: DKGPhase;
|
|
520
|
+
/**
|
|
521
|
+
* Block height when REGISTERING phase started
|
|
522
|
+
*/
|
|
523
|
+
open_at_height?: string;
|
|
524
|
+
/**
|
|
525
|
+
* Block height when REGISTERING phase ends and CONTRIBUTING starts
|
|
526
|
+
*/
|
|
527
|
+
registration_deadline?: string;
|
|
528
|
+
/**
|
|
529
|
+
* Block height when CONTRIBUTING phase ends
|
|
530
|
+
*/
|
|
531
|
+
contribution_deadline?: string;
|
|
532
|
+
/**
|
|
533
|
+
* Threshold ratio for this DKG round
|
|
534
|
+
*/
|
|
535
|
+
threshold_numerator?: string;
|
|
536
|
+
threshold_denominator?: string;
|
|
537
|
+
/**
|
|
538
|
+
* Snapshot of bonded validator addresses at DKG start
|
|
539
|
+
*/
|
|
540
|
+
expected_validators?: string[];
|
|
541
|
+
/**
|
|
542
|
+
* Number of contributions received so far
|
|
543
|
+
*/
|
|
544
|
+
contributions_received?: string;
|
|
545
|
+
}
|
|
546
|
+
export interface DKGStateAminoMsg {
|
|
547
|
+
type: "/sparkdream.shield.v1.DKGState";
|
|
548
|
+
value: DKGStateAmino;
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* DKGContribution is a validator's Feldman DKG contribution.
|
|
552
|
+
* @name DKGContribution
|
|
553
|
+
* @package sparkdream.shield.v1
|
|
554
|
+
* @see proto type: sparkdream.shield.v1.DKGContribution
|
|
555
|
+
*/
|
|
556
|
+
export interface DKGContribution {
|
|
557
|
+
/**
|
|
558
|
+
* Validator who submitted this contribution
|
|
559
|
+
*/
|
|
560
|
+
validatorAddress: string;
|
|
561
|
+
/**
|
|
562
|
+
* DKG round number (must match DKGState.round)
|
|
563
|
+
*/
|
|
564
|
+
round: bigint;
|
|
565
|
+
/**
|
|
566
|
+
* Feldman commitments: [a₀*G, a₁*G, ..., a_{t-1}*G]
|
|
567
|
+
* where a_k are the polynomial coefficients and G is the BN256 G1 generator.
|
|
568
|
+
* Length must equal the threshold for this round.
|
|
569
|
+
*/
|
|
570
|
+
feldmanCommitments: Uint8Array[];
|
|
571
|
+
/**
|
|
572
|
+
* ECIES-encrypted polynomial evaluations, one per other expected validator.
|
|
573
|
+
* Target validator decrypts to get p_i(j) and verifies against commitments.
|
|
574
|
+
*/
|
|
575
|
+
encryptedEvaluations: EncryptedEvaluation[];
|
|
576
|
+
/**
|
|
577
|
+
* Schnorr proof of possession over validator address using a₀ as the secret key.
|
|
578
|
+
* Proves knowledge of the constant term (the validator's secret contribution).
|
|
579
|
+
*/
|
|
580
|
+
proofOfPossession: Uint8Array;
|
|
581
|
+
}
|
|
582
|
+
export interface DKGContributionProtoMsg {
|
|
583
|
+
typeUrl: "/sparkdream.shield.v1.DKGContribution";
|
|
584
|
+
value: Uint8Array;
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* DKGContribution is a validator's Feldman DKG contribution.
|
|
588
|
+
* @name DKGContributionAmino
|
|
589
|
+
* @package sparkdream.shield.v1
|
|
590
|
+
* @see proto type: sparkdream.shield.v1.DKGContribution
|
|
591
|
+
*/
|
|
592
|
+
export interface DKGContributionAmino {
|
|
593
|
+
/**
|
|
594
|
+
* Validator who submitted this contribution
|
|
595
|
+
*/
|
|
596
|
+
validator_address?: string;
|
|
597
|
+
/**
|
|
598
|
+
* DKG round number (must match DKGState.round)
|
|
599
|
+
*/
|
|
600
|
+
round?: string;
|
|
601
|
+
/**
|
|
602
|
+
* Feldman commitments: [a₀*G, a₁*G, ..., a_{t-1}*G]
|
|
603
|
+
* where a_k are the polynomial coefficients and G is the BN256 G1 generator.
|
|
604
|
+
* Length must equal the threshold for this round.
|
|
605
|
+
*/
|
|
606
|
+
feldman_commitments?: string[];
|
|
607
|
+
/**
|
|
608
|
+
* ECIES-encrypted polynomial evaluations, one per other expected validator.
|
|
609
|
+
* Target validator decrypts to get p_i(j) and verifies against commitments.
|
|
610
|
+
*/
|
|
611
|
+
encrypted_evaluations?: EncryptedEvaluationAmino[];
|
|
612
|
+
/**
|
|
613
|
+
* Schnorr proof of possession over validator address using a₀ as the secret key.
|
|
614
|
+
* Proves knowledge of the constant term (the validator's secret contribution).
|
|
615
|
+
*/
|
|
616
|
+
proof_of_possession?: string;
|
|
617
|
+
}
|
|
618
|
+
export interface DKGContributionAminoMsg {
|
|
619
|
+
type: "/sparkdream.shield.v1.DKGContribution";
|
|
620
|
+
value: DKGContributionAmino;
|
|
621
|
+
}
|
|
622
|
+
/**
|
|
623
|
+
* EncryptedEvaluation is an ECIES-encrypted polynomial evaluation for a target validator.
|
|
624
|
+
* @name EncryptedEvaluation
|
|
625
|
+
* @package sparkdream.shield.v1
|
|
626
|
+
* @see proto type: sparkdream.shield.v1.EncryptedEvaluation
|
|
627
|
+
*/
|
|
628
|
+
export interface EncryptedEvaluation {
|
|
629
|
+
/**
|
|
630
|
+
* 1-based index of the target validator in DKGState.expected_validators
|
|
631
|
+
*/
|
|
632
|
+
targetIndex: number;
|
|
633
|
+
/**
|
|
634
|
+
* ECIES ciphertext: Enc(target_pub_key, p_i(target_index))
|
|
635
|
+
*/
|
|
636
|
+
ciphertext: Uint8Array;
|
|
637
|
+
}
|
|
638
|
+
export interface EncryptedEvaluationProtoMsg {
|
|
639
|
+
typeUrl: "/sparkdream.shield.v1.EncryptedEvaluation";
|
|
640
|
+
value: Uint8Array;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* EncryptedEvaluation is an ECIES-encrypted polynomial evaluation for a target validator.
|
|
644
|
+
* @name EncryptedEvaluationAmino
|
|
645
|
+
* @package sparkdream.shield.v1
|
|
646
|
+
* @see proto type: sparkdream.shield.v1.EncryptedEvaluation
|
|
647
|
+
*/
|
|
648
|
+
export interface EncryptedEvaluationAmino {
|
|
649
|
+
/**
|
|
650
|
+
* 1-based index of the target validator in DKGState.expected_validators
|
|
651
|
+
*/
|
|
652
|
+
target_index?: number;
|
|
653
|
+
/**
|
|
654
|
+
* ECIES ciphertext: Enc(target_pub_key, p_i(target_index))
|
|
655
|
+
*/
|
|
656
|
+
ciphertext?: string;
|
|
657
|
+
}
|
|
658
|
+
export interface EncryptedEvaluationAminoMsg {
|
|
659
|
+
type: "/sparkdream.shield.v1.EncryptedEvaluation";
|
|
660
|
+
value: EncryptedEvaluationAmino;
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* DKGContributionEntry is a genesis helper for exporting DKG contributions.
|
|
664
|
+
* @name DKGContributionEntry
|
|
665
|
+
* @package sparkdream.shield.v1
|
|
666
|
+
* @see proto type: sparkdream.shield.v1.DKGContributionEntry
|
|
667
|
+
*/
|
|
668
|
+
export interface DKGContributionEntry {
|
|
669
|
+
validatorAddress: string;
|
|
670
|
+
contribution: DKGContribution;
|
|
671
|
+
}
|
|
672
|
+
export interface DKGContributionEntryProtoMsg {
|
|
673
|
+
typeUrl: "/sparkdream.shield.v1.DKGContributionEntry";
|
|
674
|
+
value: Uint8Array;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* DKGContributionEntry is a genesis helper for exporting DKG contributions.
|
|
678
|
+
* @name DKGContributionEntryAmino
|
|
679
|
+
* @package sparkdream.shield.v1
|
|
680
|
+
* @see proto type: sparkdream.shield.v1.DKGContributionEntry
|
|
681
|
+
*/
|
|
682
|
+
export interface DKGContributionEntryAmino {
|
|
683
|
+
validator_address?: string;
|
|
684
|
+
contribution?: DKGContributionAmino;
|
|
685
|
+
}
|
|
686
|
+
export interface DKGContributionEntryAminoMsg {
|
|
687
|
+
type: "/sparkdream.shield.v1.DKGContributionEntry";
|
|
688
|
+
value: DKGContributionEntryAmino;
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* DKGVoteExtension is the payload validators embed in their vote extensions
|
|
692
|
+
* during DKG ceremonies. The type field determines which data is present.
|
|
693
|
+
* @name DKGVoteExtension
|
|
694
|
+
* @package sparkdream.shield.v1
|
|
695
|
+
* @see proto type: sparkdream.shield.v1.DKGVoteExtension
|
|
696
|
+
*/
|
|
697
|
+
export interface DKGVoteExtension {
|
|
698
|
+
/**
|
|
699
|
+
* DKG round this extension relates to
|
|
700
|
+
*/
|
|
701
|
+
round: bigint;
|
|
702
|
+
/**
|
|
703
|
+
* Which phase data this carries
|
|
704
|
+
*/
|
|
705
|
+
phase: DKGPhase;
|
|
706
|
+
/**
|
|
707
|
+
* --- REGISTERING phase data ---
|
|
708
|
+
* BN256 G1 public key for ECIES encryption of polynomial evaluations
|
|
709
|
+
*/
|
|
710
|
+
registrationPubKey: Uint8Array;
|
|
711
|
+
/**
|
|
712
|
+
* Schnorr proof of possession over the validator address
|
|
713
|
+
*/
|
|
714
|
+
registrationPop: Uint8Array;
|
|
715
|
+
/**
|
|
716
|
+
* --- CONTRIBUTING phase data ---
|
|
717
|
+
* Feldman commitments: [a₀*G, a₁*G, ..., a_{t-1}*G]
|
|
718
|
+
*/
|
|
719
|
+
feldmanCommitments: Uint8Array[];
|
|
720
|
+
/**
|
|
721
|
+
* ECIES-encrypted polynomial evaluations for other validators
|
|
722
|
+
*/
|
|
723
|
+
encryptedEvaluations: EncryptedEvaluation[];
|
|
724
|
+
/**
|
|
725
|
+
* Schnorr proof of possession over validator address using a₀
|
|
726
|
+
*/
|
|
727
|
+
contributionPop: Uint8Array;
|
|
728
|
+
/**
|
|
729
|
+
* --- Decryption share data (ACTIVE phase, when pending ops need decryption) ---
|
|
730
|
+
* The epoch for which this decryption share was computed
|
|
731
|
+
*/
|
|
732
|
+
decryptionEpoch: bigint;
|
|
733
|
+
/**
|
|
734
|
+
* Epoch decryption share: secret_share_i * H_to_G1(epoch)
|
|
735
|
+
*/
|
|
736
|
+
decryptionShare: Uint8Array;
|
|
737
|
+
}
|
|
738
|
+
export interface DKGVoteExtensionProtoMsg {
|
|
739
|
+
typeUrl: "/sparkdream.shield.v1.DKGVoteExtension";
|
|
740
|
+
value: Uint8Array;
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* DKGVoteExtension is the payload validators embed in their vote extensions
|
|
744
|
+
* during DKG ceremonies. The type field determines which data is present.
|
|
745
|
+
* @name DKGVoteExtensionAmino
|
|
746
|
+
* @package sparkdream.shield.v1
|
|
747
|
+
* @see proto type: sparkdream.shield.v1.DKGVoteExtension
|
|
748
|
+
*/
|
|
749
|
+
export interface DKGVoteExtensionAmino {
|
|
750
|
+
/**
|
|
751
|
+
* DKG round this extension relates to
|
|
752
|
+
*/
|
|
753
|
+
round?: string;
|
|
754
|
+
/**
|
|
755
|
+
* Which phase data this carries
|
|
756
|
+
*/
|
|
757
|
+
phase?: DKGPhase;
|
|
758
|
+
/**
|
|
759
|
+
* --- REGISTERING phase data ---
|
|
760
|
+
* BN256 G1 public key for ECIES encryption of polynomial evaluations
|
|
761
|
+
*/
|
|
762
|
+
registration_pub_key?: string;
|
|
763
|
+
/**
|
|
764
|
+
* Schnorr proof of possession over the validator address
|
|
765
|
+
*/
|
|
766
|
+
registration_pop?: string;
|
|
767
|
+
/**
|
|
768
|
+
* --- CONTRIBUTING phase data ---
|
|
769
|
+
* Feldman commitments: [a₀*G, a₁*G, ..., a_{t-1}*G]
|
|
770
|
+
*/
|
|
771
|
+
feldman_commitments?: string[];
|
|
772
|
+
/**
|
|
773
|
+
* ECIES-encrypted polynomial evaluations for other validators
|
|
774
|
+
*/
|
|
775
|
+
encrypted_evaluations?: EncryptedEvaluationAmino[];
|
|
776
|
+
/**
|
|
777
|
+
* Schnorr proof of possession over validator address using a₀
|
|
778
|
+
*/
|
|
779
|
+
contribution_pop?: string;
|
|
780
|
+
/**
|
|
781
|
+
* --- Decryption share data (ACTIVE phase, when pending ops need decryption) ---
|
|
782
|
+
* The epoch for which this decryption share was computed
|
|
783
|
+
*/
|
|
784
|
+
decryption_epoch?: string;
|
|
785
|
+
/**
|
|
786
|
+
* Epoch decryption share: secret_share_i * H_to_G1(epoch)
|
|
787
|
+
*/
|
|
788
|
+
decryption_share?: string;
|
|
789
|
+
}
|
|
790
|
+
export interface DKGVoteExtensionAminoMsg {
|
|
791
|
+
type: "/sparkdream.shield.v1.DKGVoteExtension";
|
|
792
|
+
value: DKGVoteExtensionAmino;
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* InjectedDKGData is the aggregated shield data injected by the block proposer
|
|
796
|
+
* as a pseudo-transaction at position 0 of the block.
|
|
797
|
+
* Carries DKG ceremony data (during REGISTERING/CONTRIBUTING) and/or
|
|
798
|
+
* epoch decryption shares (during ACTIVE phase with pending ops).
|
|
799
|
+
* @name InjectedDKGData
|
|
800
|
+
* @package sparkdream.shield.v1
|
|
801
|
+
* @see proto type: sparkdream.shield.v1.InjectedDKGData
|
|
802
|
+
*/
|
|
803
|
+
export interface InjectedDKGData {
|
|
804
|
+
/**
|
|
805
|
+
* DKG round this injection relates to
|
|
806
|
+
*/
|
|
807
|
+
round: bigint;
|
|
808
|
+
/**
|
|
809
|
+
* DKG phase at the time of injection
|
|
810
|
+
*/
|
|
811
|
+
phase: DKGPhase;
|
|
812
|
+
/**
|
|
813
|
+
* Individual validator extensions (one per validator that provided data)
|
|
814
|
+
*/
|
|
815
|
+
extensions: ValidatorDKGExtension[];
|
|
816
|
+
/**
|
|
817
|
+
* Decryption shares for epoch key reconstruction (populated during ACTIVE phase)
|
|
818
|
+
*/
|
|
819
|
+
decryptionShares: InjectedDecryptionShare[];
|
|
820
|
+
}
|
|
821
|
+
export interface InjectedDKGDataProtoMsg {
|
|
822
|
+
typeUrl: "/sparkdream.shield.v1.InjectedDKGData";
|
|
823
|
+
value: Uint8Array;
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* InjectedDKGData is the aggregated shield data injected by the block proposer
|
|
827
|
+
* as a pseudo-transaction at position 0 of the block.
|
|
828
|
+
* Carries DKG ceremony data (during REGISTERING/CONTRIBUTING) and/or
|
|
829
|
+
* epoch decryption shares (during ACTIVE phase with pending ops).
|
|
830
|
+
* @name InjectedDKGDataAmino
|
|
831
|
+
* @package sparkdream.shield.v1
|
|
832
|
+
* @see proto type: sparkdream.shield.v1.InjectedDKGData
|
|
833
|
+
*/
|
|
834
|
+
export interface InjectedDKGDataAmino {
|
|
835
|
+
/**
|
|
836
|
+
* DKG round this injection relates to
|
|
837
|
+
*/
|
|
838
|
+
round?: string;
|
|
839
|
+
/**
|
|
840
|
+
* DKG phase at the time of injection
|
|
841
|
+
*/
|
|
842
|
+
phase?: DKGPhase;
|
|
843
|
+
/**
|
|
844
|
+
* Individual validator extensions (one per validator that provided data)
|
|
845
|
+
*/
|
|
846
|
+
extensions?: ValidatorDKGExtensionAmino[];
|
|
847
|
+
/**
|
|
848
|
+
* Decryption shares for epoch key reconstruction (populated during ACTIVE phase)
|
|
849
|
+
*/
|
|
850
|
+
decryption_shares?: InjectedDecryptionShareAmino[];
|
|
851
|
+
}
|
|
852
|
+
export interface InjectedDKGDataAminoMsg {
|
|
853
|
+
type: "/sparkdream.shield.v1.InjectedDKGData";
|
|
854
|
+
value: InjectedDKGDataAmino;
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* InjectedDecryptionShare pairs a validator's consensus address with their
|
|
858
|
+
* epoch decryption share for threshold reconstruction.
|
|
859
|
+
* @name InjectedDecryptionShare
|
|
860
|
+
* @package sparkdream.shield.v1
|
|
861
|
+
* @see proto type: sparkdream.shield.v1.InjectedDecryptionShare
|
|
862
|
+
*/
|
|
863
|
+
export interface InjectedDecryptionShare {
|
|
864
|
+
/**
|
|
865
|
+
* CometBFT validator address (consensus address)
|
|
866
|
+
*/
|
|
867
|
+
validatorAddress: Uint8Array;
|
|
868
|
+
/**
|
|
869
|
+
* The shield epoch this share decrypts
|
|
870
|
+
*/
|
|
871
|
+
epoch: bigint;
|
|
872
|
+
/**
|
|
873
|
+
* The decryption share: secret_share_i * H_to_G1(epoch)
|
|
874
|
+
*/
|
|
875
|
+
share: Uint8Array;
|
|
876
|
+
}
|
|
877
|
+
export interface InjectedDecryptionShareProtoMsg {
|
|
878
|
+
typeUrl: "/sparkdream.shield.v1.InjectedDecryptionShare";
|
|
879
|
+
value: Uint8Array;
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* InjectedDecryptionShare pairs a validator's consensus address with their
|
|
883
|
+
* epoch decryption share for threshold reconstruction.
|
|
884
|
+
* @name InjectedDecryptionShareAmino
|
|
885
|
+
* @package sparkdream.shield.v1
|
|
886
|
+
* @see proto type: sparkdream.shield.v1.InjectedDecryptionShare
|
|
887
|
+
*/
|
|
888
|
+
export interface InjectedDecryptionShareAmino {
|
|
889
|
+
/**
|
|
890
|
+
* CometBFT validator address (consensus address)
|
|
891
|
+
*/
|
|
892
|
+
validator_address?: string;
|
|
893
|
+
/**
|
|
894
|
+
* The shield epoch this share decrypts
|
|
895
|
+
*/
|
|
896
|
+
epoch?: string;
|
|
897
|
+
/**
|
|
898
|
+
* The decryption share: secret_share_i * H_to_G1(epoch)
|
|
899
|
+
*/
|
|
900
|
+
share?: string;
|
|
901
|
+
}
|
|
902
|
+
export interface InjectedDecryptionShareAminoMsg {
|
|
903
|
+
type: "/sparkdream.shield.v1.InjectedDecryptionShare";
|
|
904
|
+
value: InjectedDecryptionShareAmino;
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* ValidatorDKGExtension pairs a validator's consensus address with their DKG vote extension.
|
|
908
|
+
* @name ValidatorDKGExtension
|
|
909
|
+
* @package sparkdream.shield.v1
|
|
910
|
+
* @see proto type: sparkdream.shield.v1.ValidatorDKGExtension
|
|
911
|
+
*/
|
|
912
|
+
export interface ValidatorDKGExtension {
|
|
913
|
+
/**
|
|
914
|
+
* CometBFT validator address (consensus address, NOT operator address)
|
|
915
|
+
*/
|
|
916
|
+
validatorAddress: Uint8Array;
|
|
917
|
+
/**
|
|
918
|
+
* The vote extension data from this validator
|
|
919
|
+
*/
|
|
920
|
+
extension: DKGVoteExtension;
|
|
921
|
+
}
|
|
922
|
+
export interface ValidatorDKGExtensionProtoMsg {
|
|
923
|
+
typeUrl: "/sparkdream.shield.v1.ValidatorDKGExtension";
|
|
924
|
+
value: Uint8Array;
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* ValidatorDKGExtension pairs a validator's consensus address with their DKG vote extension.
|
|
928
|
+
* @name ValidatorDKGExtensionAmino
|
|
929
|
+
* @package sparkdream.shield.v1
|
|
930
|
+
* @see proto type: sparkdream.shield.v1.ValidatorDKGExtension
|
|
931
|
+
*/
|
|
932
|
+
export interface ValidatorDKGExtensionAmino {
|
|
933
|
+
/**
|
|
934
|
+
* CometBFT validator address (consensus address, NOT operator address)
|
|
935
|
+
*/
|
|
936
|
+
validator_address?: string;
|
|
937
|
+
/**
|
|
938
|
+
* The vote extension data from this validator
|
|
939
|
+
*/
|
|
940
|
+
extension?: DKGVoteExtensionAmino;
|
|
941
|
+
}
|
|
942
|
+
export interface ValidatorDKGExtensionAminoMsg {
|
|
943
|
+
type: "/sparkdream.shield.v1.ValidatorDKGExtension";
|
|
944
|
+
value: ValidatorDKGExtensionAmino;
|
|
945
|
+
}
|
|
946
|
+
/**
|
|
947
|
+
* VerificationKey stores a ZK circuit verification key.
|
|
948
|
+
* @name VerificationKey
|
|
949
|
+
* @package sparkdream.shield.v1
|
|
950
|
+
* @see proto type: sparkdream.shield.v1.VerificationKey
|
|
951
|
+
*/
|
|
952
|
+
export interface VerificationKey {
|
|
953
|
+
/**
|
|
954
|
+
* e.g. "shield_v1"
|
|
955
|
+
*/
|
|
956
|
+
circuitId: string;
|
|
957
|
+
/**
|
|
958
|
+
* serialized Groth16/PLONK verification key
|
|
959
|
+
*/
|
|
960
|
+
vkBytes: Uint8Array;
|
|
961
|
+
description: string;
|
|
962
|
+
}
|
|
963
|
+
export interface VerificationKeyProtoMsg {
|
|
964
|
+
typeUrl: "/sparkdream.shield.v1.VerificationKey";
|
|
965
|
+
value: Uint8Array;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* VerificationKey stores a ZK circuit verification key.
|
|
969
|
+
* @name VerificationKeyAmino
|
|
970
|
+
* @package sparkdream.shield.v1
|
|
971
|
+
* @see proto type: sparkdream.shield.v1.VerificationKey
|
|
972
|
+
*/
|
|
973
|
+
export interface VerificationKeyAmino {
|
|
974
|
+
/**
|
|
975
|
+
* e.g. "shield_v1"
|
|
976
|
+
*/
|
|
977
|
+
circuit_id?: string;
|
|
978
|
+
/**
|
|
979
|
+
* serialized Groth16/PLONK verification key
|
|
980
|
+
*/
|
|
981
|
+
vk_bytes?: string;
|
|
982
|
+
description?: string;
|
|
983
|
+
}
|
|
984
|
+
export interface VerificationKeyAminoMsg {
|
|
985
|
+
type: "/sparkdream.shield.v1.VerificationKey";
|
|
986
|
+
value: VerificationKeyAmino;
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* IdentityRateLimitEntry is a genesis helper for exporting rate limit state.
|
|
990
|
+
* @name IdentityRateLimitEntry
|
|
991
|
+
* @package sparkdream.shield.v1
|
|
992
|
+
* @see proto type: sparkdream.shield.v1.IdentityRateLimitEntry
|
|
993
|
+
*/
|
|
994
|
+
export interface IdentityRateLimitEntry {
|
|
995
|
+
epoch: bigint;
|
|
996
|
+
rateLimitNullifierHex: string;
|
|
997
|
+
count: bigint;
|
|
998
|
+
}
|
|
999
|
+
export interface IdentityRateLimitEntryProtoMsg {
|
|
1000
|
+
typeUrl: "/sparkdream.shield.v1.IdentityRateLimitEntry";
|
|
1001
|
+
value: Uint8Array;
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
* IdentityRateLimitEntry is a genesis helper for exporting rate limit state.
|
|
1005
|
+
* @name IdentityRateLimitEntryAmino
|
|
1006
|
+
* @package sparkdream.shield.v1
|
|
1007
|
+
* @see proto type: sparkdream.shield.v1.IdentityRateLimitEntry
|
|
1008
|
+
*/
|
|
1009
|
+
export interface IdentityRateLimitEntryAmino {
|
|
1010
|
+
epoch?: string;
|
|
1011
|
+
rate_limit_nullifier_hex?: string;
|
|
1012
|
+
count?: string;
|
|
1013
|
+
}
|
|
1014
|
+
export interface IdentityRateLimitEntryAminoMsg {
|
|
1015
|
+
type: "/sparkdream.shield.v1.IdentityRateLimitEntry";
|
|
1016
|
+
value: IdentityRateLimitEntryAmino;
|
|
1017
|
+
}
|
|
1018
|
+
/**
|
|
1019
|
+
* TLEMissCounterEntry is a genesis helper for exporting TLE miss counters.
|
|
1020
|
+
* @name TLEMissCounterEntry
|
|
1021
|
+
* @package sparkdream.shield.v1
|
|
1022
|
+
* @see proto type: sparkdream.shield.v1.TLEMissCounterEntry
|
|
1023
|
+
*/
|
|
1024
|
+
export interface TLEMissCounterEntry {
|
|
1025
|
+
validatorAddress: string;
|
|
1026
|
+
missCount: bigint;
|
|
1027
|
+
}
|
|
1028
|
+
export interface TLEMissCounterEntryProtoMsg {
|
|
1029
|
+
typeUrl: "/sparkdream.shield.v1.TLEMissCounterEntry";
|
|
1030
|
+
value: Uint8Array;
|
|
1031
|
+
}
|
|
1032
|
+
/**
|
|
1033
|
+
* TLEMissCounterEntry is a genesis helper for exporting TLE miss counters.
|
|
1034
|
+
* @name TLEMissCounterEntryAmino
|
|
1035
|
+
* @package sparkdream.shield.v1
|
|
1036
|
+
* @see proto type: sparkdream.shield.v1.TLEMissCounterEntry
|
|
1037
|
+
*/
|
|
1038
|
+
export interface TLEMissCounterEntryAmino {
|
|
1039
|
+
validator_address?: string;
|
|
1040
|
+
miss_count?: string;
|
|
1041
|
+
}
|
|
1042
|
+
export interface TLEMissCounterEntryAminoMsg {
|
|
1043
|
+
type: "/sparkdream.shield.v1.TLEMissCounterEntry";
|
|
1044
|
+
value: TLEMissCounterEntryAmino;
|
|
1045
|
+
}
|
|
1046
|
+
/**
|
|
1047
|
+
* ShieldedOpRegistration defines a registered shielded operation.
|
|
1048
|
+
* @name ShieldedOpRegistration
|
|
1049
|
+
* @package sparkdream.shield.v1
|
|
1050
|
+
* @see proto type: sparkdream.shield.v1.ShieldedOpRegistration
|
|
1051
|
+
*/
|
|
1052
|
+
export declare const ShieldedOpRegistration: {
|
|
1053
|
+
typeUrl: string;
|
|
1054
|
+
encode(message: ShieldedOpRegistration, writer?: BinaryWriter): BinaryWriter;
|
|
1055
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ShieldedOpRegistration;
|
|
1056
|
+
fromPartial(object: DeepPartial<ShieldedOpRegistration>): ShieldedOpRegistration;
|
|
1057
|
+
fromAmino(object: ShieldedOpRegistrationAmino): ShieldedOpRegistration;
|
|
1058
|
+
toAmino(message: ShieldedOpRegistration): ShieldedOpRegistrationAmino;
|
|
1059
|
+
fromAminoMsg(object: ShieldedOpRegistrationAminoMsg): ShieldedOpRegistration;
|
|
1060
|
+
fromProtoMsg(message: ShieldedOpRegistrationProtoMsg): ShieldedOpRegistration;
|
|
1061
|
+
toProto(message: ShieldedOpRegistration): Uint8Array;
|
|
1062
|
+
toProtoMsg(message: ShieldedOpRegistration): ShieldedOpRegistrationProtoMsg;
|
|
1063
|
+
};
|
|
1064
|
+
/**
|
|
1065
|
+
* UsedNullifier records a nullifier that has been consumed.
|
|
1066
|
+
* Key: domain (uint32) + scope (uint64) + nullifier_hex (string)
|
|
1067
|
+
* @name UsedNullifier
|
|
1068
|
+
* @package sparkdream.shield.v1
|
|
1069
|
+
* @see proto type: sparkdream.shield.v1.UsedNullifier
|
|
1070
|
+
*/
|
|
1071
|
+
export declare const UsedNullifier: {
|
|
1072
|
+
typeUrl: string;
|
|
1073
|
+
encode(message: UsedNullifier, writer?: BinaryWriter): BinaryWriter;
|
|
1074
|
+
decode(input: BinaryReader | Uint8Array, length?: number): UsedNullifier;
|
|
1075
|
+
fromPartial(object: DeepPartial<UsedNullifier>): UsedNullifier;
|
|
1076
|
+
fromAmino(object: UsedNullifierAmino): UsedNullifier;
|
|
1077
|
+
toAmino(message: UsedNullifier): UsedNullifierAmino;
|
|
1078
|
+
fromAminoMsg(object: UsedNullifierAminoMsg): UsedNullifier;
|
|
1079
|
+
fromProtoMsg(message: UsedNullifierProtoMsg): UsedNullifier;
|
|
1080
|
+
toProto(message: UsedNullifier): Uint8Array;
|
|
1081
|
+
toProtoMsg(message: UsedNullifier): UsedNullifierProtoMsg;
|
|
1082
|
+
};
|
|
1083
|
+
/**
|
|
1084
|
+
* DayFunding tracks funding per day to enforce the daily cap.
|
|
1085
|
+
* Day is calculated as block_height / 14400 (at 6s/block = 1 day).
|
|
1086
|
+
* @name DayFunding
|
|
1087
|
+
* @package sparkdream.shield.v1
|
|
1088
|
+
* @see proto type: sparkdream.shield.v1.DayFunding
|
|
1089
|
+
*/
|
|
1090
|
+
export declare const DayFunding: {
|
|
1091
|
+
typeUrl: string;
|
|
1092
|
+
encode(message: DayFunding, writer?: BinaryWriter): BinaryWriter;
|
|
1093
|
+
decode(input: BinaryReader | Uint8Array, length?: number): DayFunding;
|
|
1094
|
+
fromPartial(object: DeepPartial<DayFunding>): DayFunding;
|
|
1095
|
+
fromAmino(object: DayFundingAmino): DayFunding;
|
|
1096
|
+
toAmino(message: DayFunding): DayFundingAmino;
|
|
1097
|
+
fromAminoMsg(object: DayFundingAminoMsg): DayFunding;
|
|
1098
|
+
fromProtoMsg(message: DayFundingProtoMsg): DayFunding;
|
|
1099
|
+
toProto(message: DayFunding): Uint8Array;
|
|
1100
|
+
toProtoMsg(message: DayFunding): DayFundingProtoMsg;
|
|
1101
|
+
};
|
|
1102
|
+
/**
|
|
1103
|
+
* PendingShieldedOp is stored in queue until the shield epoch boundary triggers batch execution.
|
|
1104
|
+
* @name PendingShieldedOp
|
|
1105
|
+
* @package sparkdream.shield.v1
|
|
1106
|
+
* @see proto type: sparkdream.shield.v1.PendingShieldedOp
|
|
1107
|
+
*/
|
|
1108
|
+
export declare const PendingShieldedOp: {
|
|
1109
|
+
typeUrl: string;
|
|
1110
|
+
encode(message: PendingShieldedOp, writer?: BinaryWriter): BinaryWriter;
|
|
1111
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PendingShieldedOp;
|
|
1112
|
+
fromPartial(object: DeepPartial<PendingShieldedOp>): PendingShieldedOp;
|
|
1113
|
+
fromAmino(object: PendingShieldedOpAmino): PendingShieldedOp;
|
|
1114
|
+
toAmino(message: PendingShieldedOp): PendingShieldedOpAmino;
|
|
1115
|
+
fromAminoMsg(object: PendingShieldedOpAminoMsg): PendingShieldedOp;
|
|
1116
|
+
fromProtoMsg(message: PendingShieldedOpProtoMsg): PendingShieldedOp;
|
|
1117
|
+
toProto(message: PendingShieldedOp): Uint8Array;
|
|
1118
|
+
toProtoMsg(message: PendingShieldedOp): PendingShieldedOpProtoMsg;
|
|
1119
|
+
};
|
|
1120
|
+
/**
|
|
1121
|
+
* ShieldEpochState tracks the current shield epoch and decryption key availability.
|
|
1122
|
+
* @name ShieldEpochState
|
|
1123
|
+
* @package sparkdream.shield.v1
|
|
1124
|
+
* @see proto type: sparkdream.shield.v1.ShieldEpochState
|
|
1125
|
+
*/
|
|
1126
|
+
export declare const ShieldEpochState: {
|
|
1127
|
+
typeUrl: string;
|
|
1128
|
+
encode(message: ShieldEpochState, writer?: BinaryWriter): BinaryWriter;
|
|
1129
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ShieldEpochState;
|
|
1130
|
+
fromPartial(object: DeepPartial<ShieldEpochState>): ShieldEpochState;
|
|
1131
|
+
fromAmino(object: ShieldEpochStateAmino): ShieldEpochState;
|
|
1132
|
+
toAmino(message: ShieldEpochState): ShieldEpochStateAmino;
|
|
1133
|
+
fromAminoMsg(object: ShieldEpochStateAminoMsg): ShieldEpochState;
|
|
1134
|
+
fromProtoMsg(message: ShieldEpochStateProtoMsg): ShieldEpochState;
|
|
1135
|
+
toProto(message: ShieldEpochState): Uint8Array;
|
|
1136
|
+
toProtoMsg(message: ShieldEpochState): ShieldEpochStateProtoMsg;
|
|
1137
|
+
};
|
|
1138
|
+
/**
|
|
1139
|
+
* ShieldEpochDecryptionKey is the reconstructed epoch decryption key.
|
|
1140
|
+
* @name ShieldEpochDecryptionKey
|
|
1141
|
+
* @package sparkdream.shield.v1
|
|
1142
|
+
* @see proto type: sparkdream.shield.v1.ShieldEpochDecryptionKey
|
|
1143
|
+
*/
|
|
1144
|
+
export declare const ShieldEpochDecryptionKey: {
|
|
1145
|
+
typeUrl: string;
|
|
1146
|
+
encode(message: ShieldEpochDecryptionKey, writer?: BinaryWriter): BinaryWriter;
|
|
1147
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ShieldEpochDecryptionKey;
|
|
1148
|
+
fromPartial(object: DeepPartial<ShieldEpochDecryptionKey>): ShieldEpochDecryptionKey;
|
|
1149
|
+
fromAmino(object: ShieldEpochDecryptionKeyAmino): ShieldEpochDecryptionKey;
|
|
1150
|
+
toAmino(message: ShieldEpochDecryptionKey): ShieldEpochDecryptionKeyAmino;
|
|
1151
|
+
fromAminoMsg(object: ShieldEpochDecryptionKeyAminoMsg): ShieldEpochDecryptionKey;
|
|
1152
|
+
fromProtoMsg(message: ShieldEpochDecryptionKeyProtoMsg): ShieldEpochDecryptionKey;
|
|
1153
|
+
toProto(message: ShieldEpochDecryptionKey): Uint8Array;
|
|
1154
|
+
toProtoMsg(message: ShieldEpochDecryptionKey): ShieldEpochDecryptionKeyProtoMsg;
|
|
1155
|
+
};
|
|
1156
|
+
/**
|
|
1157
|
+
* ShieldDecryptionShare is a validator's decryption share for a shield epoch.
|
|
1158
|
+
* @name ShieldDecryptionShare
|
|
1159
|
+
* @package sparkdream.shield.v1
|
|
1160
|
+
* @see proto type: sparkdream.shield.v1.ShieldDecryptionShare
|
|
1161
|
+
*/
|
|
1162
|
+
export declare const ShieldDecryptionShare: {
|
|
1163
|
+
typeUrl: string;
|
|
1164
|
+
encode(message: ShieldDecryptionShare, writer?: BinaryWriter): BinaryWriter;
|
|
1165
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ShieldDecryptionShare;
|
|
1166
|
+
fromPartial(object: DeepPartial<ShieldDecryptionShare>): ShieldDecryptionShare;
|
|
1167
|
+
fromAmino(object: ShieldDecryptionShareAmino): ShieldDecryptionShare;
|
|
1168
|
+
toAmino(message: ShieldDecryptionShare): ShieldDecryptionShareAmino;
|
|
1169
|
+
fromAminoMsg(object: ShieldDecryptionShareAminoMsg): ShieldDecryptionShare;
|
|
1170
|
+
fromProtoMsg(message: ShieldDecryptionShareProtoMsg): ShieldDecryptionShare;
|
|
1171
|
+
toProto(message: ShieldDecryptionShare): Uint8Array;
|
|
1172
|
+
toProtoMsg(message: ShieldDecryptionShare): ShieldDecryptionShareProtoMsg;
|
|
1173
|
+
};
|
|
1174
|
+
/**
|
|
1175
|
+
* TLEKeySet stores the master public key and validator shares from the DKG ceremony.
|
|
1176
|
+
* @name TLEKeySet
|
|
1177
|
+
* @package sparkdream.shield.v1
|
|
1178
|
+
* @see proto type: sparkdream.shield.v1.TLEKeySet
|
|
1179
|
+
*/
|
|
1180
|
+
export declare const TLEKeySet: {
|
|
1181
|
+
typeUrl: string;
|
|
1182
|
+
encode(message: TLEKeySet, writer?: BinaryWriter): BinaryWriter;
|
|
1183
|
+
decode(input: BinaryReader | Uint8Array, length?: number): TLEKeySet;
|
|
1184
|
+
fromPartial(object: DeepPartial<TLEKeySet>): TLEKeySet;
|
|
1185
|
+
fromAmino(object: TLEKeySetAmino): TLEKeySet;
|
|
1186
|
+
toAmino(message: TLEKeySet): TLEKeySetAmino;
|
|
1187
|
+
fromAminoMsg(object: TLEKeySetAminoMsg): TLEKeySet;
|
|
1188
|
+
fromProtoMsg(message: TLEKeySetProtoMsg): TLEKeySet;
|
|
1189
|
+
toProto(message: TLEKeySet): Uint8Array;
|
|
1190
|
+
toProtoMsg(message: TLEKeySet): TLEKeySetProtoMsg;
|
|
1191
|
+
};
|
|
1192
|
+
/**
|
|
1193
|
+
* TLEValidatorPublicShare stores a validator's public key share from the DKG.
|
|
1194
|
+
* @name TLEValidatorPublicShare
|
|
1195
|
+
* @package sparkdream.shield.v1
|
|
1196
|
+
* @see proto type: sparkdream.shield.v1.TLEValidatorPublicShare
|
|
1197
|
+
*/
|
|
1198
|
+
export declare const TLEValidatorPublicShare: {
|
|
1199
|
+
typeUrl: string;
|
|
1200
|
+
encode(message: TLEValidatorPublicShare, writer?: BinaryWriter): BinaryWriter;
|
|
1201
|
+
decode(input: BinaryReader | Uint8Array, length?: number): TLEValidatorPublicShare;
|
|
1202
|
+
fromPartial(object: DeepPartial<TLEValidatorPublicShare>): TLEValidatorPublicShare;
|
|
1203
|
+
fromAmino(object: TLEValidatorPublicShareAmino): TLEValidatorPublicShare;
|
|
1204
|
+
toAmino(message: TLEValidatorPublicShare): TLEValidatorPublicShareAmino;
|
|
1205
|
+
fromAminoMsg(object: TLEValidatorPublicShareAminoMsg): TLEValidatorPublicShare;
|
|
1206
|
+
fromProtoMsg(message: TLEValidatorPublicShareProtoMsg): TLEValidatorPublicShare;
|
|
1207
|
+
toProto(message: TLEValidatorPublicShare): Uint8Array;
|
|
1208
|
+
toProtoMsg(message: TLEValidatorPublicShare): TLEValidatorPublicShareProtoMsg;
|
|
1209
|
+
};
|
|
1210
|
+
/**
|
|
1211
|
+
* DKGState tracks the current state of the on-chain Feldman DKG ceremony.
|
|
1212
|
+
* @name DKGState
|
|
1213
|
+
* @package sparkdream.shield.v1
|
|
1214
|
+
* @see proto type: sparkdream.shield.v1.DKGState
|
|
1215
|
+
*/
|
|
1216
|
+
export declare const DKGState: {
|
|
1217
|
+
typeUrl: string;
|
|
1218
|
+
encode(message: DKGState, writer?: BinaryWriter): BinaryWriter;
|
|
1219
|
+
decode(input: BinaryReader | Uint8Array, length?: number): DKGState;
|
|
1220
|
+
fromPartial(object: DeepPartial<DKGState>): DKGState;
|
|
1221
|
+
fromAmino(object: DKGStateAmino): DKGState;
|
|
1222
|
+
toAmino(message: DKGState): DKGStateAmino;
|
|
1223
|
+
fromAminoMsg(object: DKGStateAminoMsg): DKGState;
|
|
1224
|
+
fromProtoMsg(message: DKGStateProtoMsg): DKGState;
|
|
1225
|
+
toProto(message: DKGState): Uint8Array;
|
|
1226
|
+
toProtoMsg(message: DKGState): DKGStateProtoMsg;
|
|
1227
|
+
};
|
|
1228
|
+
/**
|
|
1229
|
+
* DKGContribution is a validator's Feldman DKG contribution.
|
|
1230
|
+
* @name DKGContribution
|
|
1231
|
+
* @package sparkdream.shield.v1
|
|
1232
|
+
* @see proto type: sparkdream.shield.v1.DKGContribution
|
|
1233
|
+
*/
|
|
1234
|
+
export declare const DKGContribution: {
|
|
1235
|
+
typeUrl: string;
|
|
1236
|
+
encode(message: DKGContribution, writer?: BinaryWriter): BinaryWriter;
|
|
1237
|
+
decode(input: BinaryReader | Uint8Array, length?: number): DKGContribution;
|
|
1238
|
+
fromPartial(object: DeepPartial<DKGContribution>): DKGContribution;
|
|
1239
|
+
fromAmino(object: DKGContributionAmino): DKGContribution;
|
|
1240
|
+
toAmino(message: DKGContribution): DKGContributionAmino;
|
|
1241
|
+
fromAminoMsg(object: DKGContributionAminoMsg): DKGContribution;
|
|
1242
|
+
fromProtoMsg(message: DKGContributionProtoMsg): DKGContribution;
|
|
1243
|
+
toProto(message: DKGContribution): Uint8Array;
|
|
1244
|
+
toProtoMsg(message: DKGContribution): DKGContributionProtoMsg;
|
|
1245
|
+
};
|
|
1246
|
+
/**
|
|
1247
|
+
* EncryptedEvaluation is an ECIES-encrypted polynomial evaluation for a target validator.
|
|
1248
|
+
* @name EncryptedEvaluation
|
|
1249
|
+
* @package sparkdream.shield.v1
|
|
1250
|
+
* @see proto type: sparkdream.shield.v1.EncryptedEvaluation
|
|
1251
|
+
*/
|
|
1252
|
+
export declare const EncryptedEvaluation: {
|
|
1253
|
+
typeUrl: string;
|
|
1254
|
+
encode(message: EncryptedEvaluation, writer?: BinaryWriter): BinaryWriter;
|
|
1255
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EncryptedEvaluation;
|
|
1256
|
+
fromPartial(object: DeepPartial<EncryptedEvaluation>): EncryptedEvaluation;
|
|
1257
|
+
fromAmino(object: EncryptedEvaluationAmino): EncryptedEvaluation;
|
|
1258
|
+
toAmino(message: EncryptedEvaluation): EncryptedEvaluationAmino;
|
|
1259
|
+
fromAminoMsg(object: EncryptedEvaluationAminoMsg): EncryptedEvaluation;
|
|
1260
|
+
fromProtoMsg(message: EncryptedEvaluationProtoMsg): EncryptedEvaluation;
|
|
1261
|
+
toProto(message: EncryptedEvaluation): Uint8Array;
|
|
1262
|
+
toProtoMsg(message: EncryptedEvaluation): EncryptedEvaluationProtoMsg;
|
|
1263
|
+
};
|
|
1264
|
+
/**
|
|
1265
|
+
* DKGContributionEntry is a genesis helper for exporting DKG contributions.
|
|
1266
|
+
* @name DKGContributionEntry
|
|
1267
|
+
* @package sparkdream.shield.v1
|
|
1268
|
+
* @see proto type: sparkdream.shield.v1.DKGContributionEntry
|
|
1269
|
+
*/
|
|
1270
|
+
export declare const DKGContributionEntry: {
|
|
1271
|
+
typeUrl: string;
|
|
1272
|
+
encode(message: DKGContributionEntry, writer?: BinaryWriter): BinaryWriter;
|
|
1273
|
+
decode(input: BinaryReader | Uint8Array, length?: number): DKGContributionEntry;
|
|
1274
|
+
fromPartial(object: DeepPartial<DKGContributionEntry>): DKGContributionEntry;
|
|
1275
|
+
fromAmino(object: DKGContributionEntryAmino): DKGContributionEntry;
|
|
1276
|
+
toAmino(message: DKGContributionEntry): DKGContributionEntryAmino;
|
|
1277
|
+
fromAminoMsg(object: DKGContributionEntryAminoMsg): DKGContributionEntry;
|
|
1278
|
+
fromProtoMsg(message: DKGContributionEntryProtoMsg): DKGContributionEntry;
|
|
1279
|
+
toProto(message: DKGContributionEntry): Uint8Array;
|
|
1280
|
+
toProtoMsg(message: DKGContributionEntry): DKGContributionEntryProtoMsg;
|
|
1281
|
+
};
|
|
1282
|
+
/**
|
|
1283
|
+
* DKGVoteExtension is the payload validators embed in their vote extensions
|
|
1284
|
+
* during DKG ceremonies. The type field determines which data is present.
|
|
1285
|
+
* @name DKGVoteExtension
|
|
1286
|
+
* @package sparkdream.shield.v1
|
|
1287
|
+
* @see proto type: sparkdream.shield.v1.DKGVoteExtension
|
|
1288
|
+
*/
|
|
1289
|
+
export declare const DKGVoteExtension: {
|
|
1290
|
+
typeUrl: string;
|
|
1291
|
+
encode(message: DKGVoteExtension, writer?: BinaryWriter): BinaryWriter;
|
|
1292
|
+
decode(input: BinaryReader | Uint8Array, length?: number): DKGVoteExtension;
|
|
1293
|
+
fromPartial(object: DeepPartial<DKGVoteExtension>): DKGVoteExtension;
|
|
1294
|
+
fromAmino(object: DKGVoteExtensionAmino): DKGVoteExtension;
|
|
1295
|
+
toAmino(message: DKGVoteExtension): DKGVoteExtensionAmino;
|
|
1296
|
+
fromAminoMsg(object: DKGVoteExtensionAminoMsg): DKGVoteExtension;
|
|
1297
|
+
fromProtoMsg(message: DKGVoteExtensionProtoMsg): DKGVoteExtension;
|
|
1298
|
+
toProto(message: DKGVoteExtension): Uint8Array;
|
|
1299
|
+
toProtoMsg(message: DKGVoteExtension): DKGVoteExtensionProtoMsg;
|
|
1300
|
+
};
|
|
1301
|
+
/**
|
|
1302
|
+
* InjectedDKGData is the aggregated shield data injected by the block proposer
|
|
1303
|
+
* as a pseudo-transaction at position 0 of the block.
|
|
1304
|
+
* Carries DKG ceremony data (during REGISTERING/CONTRIBUTING) and/or
|
|
1305
|
+
* epoch decryption shares (during ACTIVE phase with pending ops).
|
|
1306
|
+
* @name InjectedDKGData
|
|
1307
|
+
* @package sparkdream.shield.v1
|
|
1308
|
+
* @see proto type: sparkdream.shield.v1.InjectedDKGData
|
|
1309
|
+
*/
|
|
1310
|
+
export declare const InjectedDKGData: {
|
|
1311
|
+
typeUrl: string;
|
|
1312
|
+
encode(message: InjectedDKGData, writer?: BinaryWriter): BinaryWriter;
|
|
1313
|
+
decode(input: BinaryReader | Uint8Array, length?: number): InjectedDKGData;
|
|
1314
|
+
fromPartial(object: DeepPartial<InjectedDKGData>): InjectedDKGData;
|
|
1315
|
+
fromAmino(object: InjectedDKGDataAmino): InjectedDKGData;
|
|
1316
|
+
toAmino(message: InjectedDKGData): InjectedDKGDataAmino;
|
|
1317
|
+
fromAminoMsg(object: InjectedDKGDataAminoMsg): InjectedDKGData;
|
|
1318
|
+
fromProtoMsg(message: InjectedDKGDataProtoMsg): InjectedDKGData;
|
|
1319
|
+
toProto(message: InjectedDKGData): Uint8Array;
|
|
1320
|
+
toProtoMsg(message: InjectedDKGData): InjectedDKGDataProtoMsg;
|
|
1321
|
+
};
|
|
1322
|
+
/**
|
|
1323
|
+
* InjectedDecryptionShare pairs a validator's consensus address with their
|
|
1324
|
+
* epoch decryption share for threshold reconstruction.
|
|
1325
|
+
* @name InjectedDecryptionShare
|
|
1326
|
+
* @package sparkdream.shield.v1
|
|
1327
|
+
* @see proto type: sparkdream.shield.v1.InjectedDecryptionShare
|
|
1328
|
+
*/
|
|
1329
|
+
export declare const InjectedDecryptionShare: {
|
|
1330
|
+
typeUrl: string;
|
|
1331
|
+
encode(message: InjectedDecryptionShare, writer?: BinaryWriter): BinaryWriter;
|
|
1332
|
+
decode(input: BinaryReader | Uint8Array, length?: number): InjectedDecryptionShare;
|
|
1333
|
+
fromPartial(object: DeepPartial<InjectedDecryptionShare>): InjectedDecryptionShare;
|
|
1334
|
+
fromAmino(object: InjectedDecryptionShareAmino): InjectedDecryptionShare;
|
|
1335
|
+
toAmino(message: InjectedDecryptionShare): InjectedDecryptionShareAmino;
|
|
1336
|
+
fromAminoMsg(object: InjectedDecryptionShareAminoMsg): InjectedDecryptionShare;
|
|
1337
|
+
fromProtoMsg(message: InjectedDecryptionShareProtoMsg): InjectedDecryptionShare;
|
|
1338
|
+
toProto(message: InjectedDecryptionShare): Uint8Array;
|
|
1339
|
+
toProtoMsg(message: InjectedDecryptionShare): InjectedDecryptionShareProtoMsg;
|
|
1340
|
+
};
|
|
1341
|
+
/**
|
|
1342
|
+
* ValidatorDKGExtension pairs a validator's consensus address with their DKG vote extension.
|
|
1343
|
+
* @name ValidatorDKGExtension
|
|
1344
|
+
* @package sparkdream.shield.v1
|
|
1345
|
+
* @see proto type: sparkdream.shield.v1.ValidatorDKGExtension
|
|
1346
|
+
*/
|
|
1347
|
+
export declare const ValidatorDKGExtension: {
|
|
1348
|
+
typeUrl: string;
|
|
1349
|
+
encode(message: ValidatorDKGExtension, writer?: BinaryWriter): BinaryWriter;
|
|
1350
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ValidatorDKGExtension;
|
|
1351
|
+
fromPartial(object: DeepPartial<ValidatorDKGExtension>): ValidatorDKGExtension;
|
|
1352
|
+
fromAmino(object: ValidatorDKGExtensionAmino): ValidatorDKGExtension;
|
|
1353
|
+
toAmino(message: ValidatorDKGExtension): ValidatorDKGExtensionAmino;
|
|
1354
|
+
fromAminoMsg(object: ValidatorDKGExtensionAminoMsg): ValidatorDKGExtension;
|
|
1355
|
+
fromProtoMsg(message: ValidatorDKGExtensionProtoMsg): ValidatorDKGExtension;
|
|
1356
|
+
toProto(message: ValidatorDKGExtension): Uint8Array;
|
|
1357
|
+
toProtoMsg(message: ValidatorDKGExtension): ValidatorDKGExtensionProtoMsg;
|
|
1358
|
+
};
|
|
1359
|
+
/**
|
|
1360
|
+
* VerificationKey stores a ZK circuit verification key.
|
|
1361
|
+
* @name VerificationKey
|
|
1362
|
+
* @package sparkdream.shield.v1
|
|
1363
|
+
* @see proto type: sparkdream.shield.v1.VerificationKey
|
|
1364
|
+
*/
|
|
1365
|
+
export declare const VerificationKey: {
|
|
1366
|
+
typeUrl: string;
|
|
1367
|
+
encode(message: VerificationKey, writer?: BinaryWriter): BinaryWriter;
|
|
1368
|
+
decode(input: BinaryReader | Uint8Array, length?: number): VerificationKey;
|
|
1369
|
+
fromPartial(object: DeepPartial<VerificationKey>): VerificationKey;
|
|
1370
|
+
fromAmino(object: VerificationKeyAmino): VerificationKey;
|
|
1371
|
+
toAmino(message: VerificationKey): VerificationKeyAmino;
|
|
1372
|
+
fromAminoMsg(object: VerificationKeyAminoMsg): VerificationKey;
|
|
1373
|
+
fromProtoMsg(message: VerificationKeyProtoMsg): VerificationKey;
|
|
1374
|
+
toProto(message: VerificationKey): Uint8Array;
|
|
1375
|
+
toProtoMsg(message: VerificationKey): VerificationKeyProtoMsg;
|
|
1376
|
+
};
|
|
1377
|
+
/**
|
|
1378
|
+
* IdentityRateLimitEntry is a genesis helper for exporting rate limit state.
|
|
1379
|
+
* @name IdentityRateLimitEntry
|
|
1380
|
+
* @package sparkdream.shield.v1
|
|
1381
|
+
* @see proto type: sparkdream.shield.v1.IdentityRateLimitEntry
|
|
1382
|
+
*/
|
|
1383
|
+
export declare const IdentityRateLimitEntry: {
|
|
1384
|
+
typeUrl: string;
|
|
1385
|
+
encode(message: IdentityRateLimitEntry, writer?: BinaryWriter): BinaryWriter;
|
|
1386
|
+
decode(input: BinaryReader | Uint8Array, length?: number): IdentityRateLimitEntry;
|
|
1387
|
+
fromPartial(object: DeepPartial<IdentityRateLimitEntry>): IdentityRateLimitEntry;
|
|
1388
|
+
fromAmino(object: IdentityRateLimitEntryAmino): IdentityRateLimitEntry;
|
|
1389
|
+
toAmino(message: IdentityRateLimitEntry): IdentityRateLimitEntryAmino;
|
|
1390
|
+
fromAminoMsg(object: IdentityRateLimitEntryAminoMsg): IdentityRateLimitEntry;
|
|
1391
|
+
fromProtoMsg(message: IdentityRateLimitEntryProtoMsg): IdentityRateLimitEntry;
|
|
1392
|
+
toProto(message: IdentityRateLimitEntry): Uint8Array;
|
|
1393
|
+
toProtoMsg(message: IdentityRateLimitEntry): IdentityRateLimitEntryProtoMsg;
|
|
1394
|
+
};
|
|
1395
|
+
/**
|
|
1396
|
+
* TLEMissCounterEntry is a genesis helper for exporting TLE miss counters.
|
|
1397
|
+
* @name TLEMissCounterEntry
|
|
1398
|
+
* @package sparkdream.shield.v1
|
|
1399
|
+
* @see proto type: sparkdream.shield.v1.TLEMissCounterEntry
|
|
1400
|
+
*/
|
|
1401
|
+
export declare const TLEMissCounterEntry: {
|
|
1402
|
+
typeUrl: string;
|
|
1403
|
+
encode(message: TLEMissCounterEntry, writer?: BinaryWriter): BinaryWriter;
|
|
1404
|
+
decode(input: BinaryReader | Uint8Array, length?: number): TLEMissCounterEntry;
|
|
1405
|
+
fromPartial(object: DeepPartial<TLEMissCounterEntry>): TLEMissCounterEntry;
|
|
1406
|
+
fromAmino(object: TLEMissCounterEntryAmino): TLEMissCounterEntry;
|
|
1407
|
+
toAmino(message: TLEMissCounterEntry): TLEMissCounterEntryAmino;
|
|
1408
|
+
fromAminoMsg(object: TLEMissCounterEntryAminoMsg): TLEMissCounterEntry;
|
|
1409
|
+
fromProtoMsg(message: TLEMissCounterEntryProtoMsg): TLEMissCounterEntry;
|
|
1410
|
+
toProto(message: TLEMissCounterEntry): Uint8Array;
|
|
1411
|
+
toProtoMsg(message: TLEMissCounterEntry): TLEMissCounterEntryProtoMsg;
|
|
1412
|
+
};
|