@sparkdreamnft/sparkdreamjs 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +585 -36
- package/esm/sparkdream/client.js +41 -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/commons/module/v1/module.js +71 -0
- package/esm/sparkdream/commons/v1/category.js +121 -0
- package/esm/sparkdream/commons/v1/genesis.js +561 -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 +1629 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +96 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +120 -0
- package/esm/sparkdream/commons/v1/tx.amino.js +99 -0
- package/esm/sparkdream/commons/v1/tx.js +3475 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +357 -0
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +129 -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/federation/module/v1/module.js +71 -0
- package/esm/sparkdream/federation/v1/genesis.js +244 -0
- package/esm/sparkdream/federation/v1/packet.js +810 -0
- package/esm/sparkdream/federation/v1/params.js +789 -0
- package/esm/sparkdream/federation/v1/query.js +2629 -0
- package/esm/sparkdream/federation/v1/query.lcd.js +152 -0
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +189 -0
- package/esm/sparkdream/federation/v1/tx.amino.js +139 -0
- package/esm/sparkdream/federation/v1/tx.js +4199 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +501 -0
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +173 -0
- package/esm/sparkdream/federation/v1/types.js +2571 -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/genesis.js +292 -0
- package/esm/sparkdream/forum/v1/hide_record.js +154 -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 +7167 -0
- package/esm/sparkdream/forum/v1/query.lcd.js +420 -0
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +461 -0
- package/esm/sparkdream/forum/v1/sentinel_activity.js +397 -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 +179 -0
- package/esm/sparkdream/forum/v1/tx.js +5169 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +645 -0
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +223 -0
- package/esm/sparkdream/forum/v1/types.js +542 -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 +65 -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/accountability.js +172 -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 +689 -0
- package/esm/sparkdream/rep/v1/gov_action_appeal.js +202 -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_participation.js +131 -0
- package/esm/sparkdream/rep/v1/jury_review.js +635 -0
- package/esm/sparkdream/rep/v1/member.js +881 -0
- package/esm/sparkdream/rep/v1/member_report.js +219 -0
- package/esm/sparkdream/rep/v1/member_warning.js +156 -0
- package/esm/sparkdream/rep/v1/params.js +2347 -0
- package/esm/sparkdream/rep/v1/project.js +557 -0
- package/esm/sparkdream/rep/v1/query.js +12156 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +663 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +756 -0
- package/esm/sparkdream/rep/v1/reserved_tag.js +96 -0
- package/esm/sparkdream/rep/v1/sentinel_activity.js +214 -0
- package/esm/sparkdream/rep/v1/stake.js +575 -0
- package/esm/sparkdream/rep/v1/tag.js +120 -0
- package/esm/sparkdream/rep/v1/tag_budget.js +143 -0
- package/esm/sparkdream/rep/v1/tag_budget_award.js +155 -0
- package/esm/sparkdream/rep/v1/tag_report.js +122 -0
- package/esm/sparkdream/rep/v1/tx.amino.js +239 -0
- package/esm/sparkdream/rep/v1/tx.js +7637 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +861 -0
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +300 -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 +39 -0
- package/esm/sparkdream/rpc.tx.js +39 -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 +1645 -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 +2427 -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 +21937 -226
- package/sparkdream/bundle.js +585 -36
- package/sparkdream/client.d.ts +1250 -0
- package/sparkdream/client.js +41 -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/commons/module/v1/module.d.ts +54 -0
- package/sparkdream/commons/module/v1/module.js +74 -0
- package/sparkdream/commons/v1/category.d.ts +60 -0
- package/sparkdream/commons/v1/category.js +124 -0
- package/sparkdream/commons/v1/genesis.d.ts +316 -0
- package/sparkdream/commons/v1/genesis.js +564 -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 +1001 -0
- package/sparkdream/commons/v1/query.js +1632 -0
- package/sparkdream/commons/v1/query.lcd.d.ts +19 -0
- package/sparkdream/commons/v1/query.lcd.js +100 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +56 -0
- package/sparkdream/commons/v1/query.rpc.Query.js +125 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +98 -0
- package/sparkdream/commons/v1/tx.amino.js +102 -0
- package/sparkdream/commons/v1/tx.d.ts +2028 -0
- package/sparkdream/commons/v1/tx.js +3478 -0
- package/sparkdream/commons/v1/tx.registry.d.ts +241 -0
- package/sparkdream/commons/v1/tx.registry.js +361 -0
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +79 -0
- package/sparkdream/commons/v1/tx.rpc.msg.js +134 -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/federation/module/v1/module.d.ts +54 -0
- package/sparkdream/federation/module/v1/module.js +74 -0
- package/sparkdream/federation/v1/genesis.d.ts +78 -0
- package/sparkdream/federation/v1/genesis.js +247 -0
- package/sparkdream/federation/v1/packet.d.ts +397 -0
- package/sparkdream/federation/v1/packet.js +813 -0
- package/sparkdream/federation/v1/params.d.ts +272 -0
- package/sparkdream/federation/v1/params.js +792 -0
- package/sparkdream/federation/v1/query.d.ts +1541 -0
- package/sparkdream/federation/v1/query.js +2632 -0
- package/sparkdream/federation/v1/query.lcd.d.ts +26 -0
- package/sparkdream/federation/v1/query.lcd.js +156 -0
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +66 -0
- package/sparkdream/federation/v1/query.rpc.Query.js +194 -0
- package/sparkdream/federation/v1/tx.amino.d.ts +138 -0
- package/sparkdream/federation/v1/tx.amino.js +142 -0
- package/sparkdream/federation/v1/tx.d.ts +2311 -0
- package/sparkdream/federation/v1/tx.js +4203 -0
- package/sparkdream/federation/v1/tx.registry.d.ts +337 -0
- package/sparkdream/federation/v1/tx.registry.js +505 -0
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +64 -0
- package/sparkdream/federation/v1/tx.rpc.msg.js +178 -0
- package/sparkdream/federation/v1/types.d.ts +906 -0
- package/sparkdream/federation/v1/types.js +2588 -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/genesis.d.ts +94 -0
- package/sparkdream/forum/v1/genesis.js +295 -0
- package/sparkdream/forum/v1/hide_record.d.ts +61 -0
- package/sparkdream/forum/v1/hide_record.js +157 -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 +4197 -0
- package/sparkdream/forum/v1/query.js +7171 -0
- package/sparkdream/forum/v1/query.lcd.d.ts +54 -0
- package/sparkdream/forum/v1/query.lcd.js +424 -0
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +196 -0
- package/sparkdream/forum/v1/query.rpc.Query.js +466 -0
- package/sparkdream/forum/v1/sentinel_activity.d.ts +106 -0
- package/sparkdream/forum/v1/sentinel_activity.js +400 -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 +178 -0
- package/sparkdream/forum/v1/tx.amino.js +182 -0
- package/sparkdream/forum/v1/tx.d.ts +3191 -0
- package/sparkdream/forum/v1/tx.js +5173 -0
- package/sparkdream/forum/v1/tx.registry.d.ts +433 -0
- package/sparkdream/forum/v1/tx.registry.js +649 -0
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +121 -0
- package/sparkdream/forum/v1/tx.rpc.msg.js +228 -0
- package/sparkdream/forum/v1/types.d.ts +171 -0
- package/sparkdream/forum/v1/types.js +553 -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 +39 -0
- package/sparkdream/lcd.js +65 -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/accountability.d.ts +39 -0
- package/sparkdream/rep/v1/accountability.js +181 -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 +253 -0
- package/sparkdream/rep/v1/genesis.js +692 -0
- package/sparkdream/rep/v1/gov_action_appeal.d.ts +69 -0
- package/sparkdream/rep/v1/gov_action_appeal.js +205 -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_participation.d.ts +56 -0
- package/sparkdream/rep/v1/jury_participation.js +134 -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 +424 -0
- package/sparkdream/rep/v1/member.js +888 -0
- package/sparkdream/rep/v1/member_report.d.ts +67 -0
- package/sparkdream/rep/v1/member_report.js +222 -0
- package/sparkdream/rep/v1/member_warning.d.ts +58 -0
- package/sparkdream/rep/v1/member_warning.js +159 -0
- package/sparkdream/rep/v1/params.d.ts +1074 -0
- package/sparkdream/rep/v1/params.js +2350 -0
- package/sparkdream/rep/v1/project.d.ts +172 -0
- package/sparkdream/rep/v1/project.js +566 -0
- package/sparkdream/rep/v1/query.d.ts +7098 -0
- package/sparkdream/rep/v1/query.js +12162 -0
- package/sparkdream/rep/v1/query.lcd.d.ts +85 -0
- package/sparkdream/rep/v1/query.lcd.js +667 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +320 -0
- package/sparkdream/rep/v1/query.rpc.Query.js +761 -0
- package/sparkdream/rep/v1/reserved_tag.d.ts +53 -0
- package/sparkdream/rep/v1/reserved_tag.js +99 -0
- package/sparkdream/rep/v1/sentinel_activity.d.ts +79 -0
- package/sparkdream/rep/v1/sentinel_activity.js +219 -0
- package/sparkdream/rep/v1/stake.d.ts +266 -0
- package/sparkdream/rep/v1/stake.js +580 -0
- package/sparkdream/rep/v1/tag.d.ts +57 -0
- package/sparkdream/rep/v1/tag.js +123 -0
- package/sparkdream/rep/v1/tag_budget.d.ts +58 -0
- package/sparkdream/rep/v1/tag_budget.js +146 -0
- package/sparkdream/rep/v1/tag_budget_award.d.ts +60 -0
- package/sparkdream/rep/v1/tag_budget_award.js +158 -0
- package/sparkdream/rep/v1/tag_report.d.ts +54 -0
- package/sparkdream/rep/v1/tag_report.js +125 -0
- package/sparkdream/rep/v1/tx.amino.d.ts +238 -0
- package/sparkdream/rep/v1/tx.amino.js +242 -0
- package/sparkdream/rep/v1/tx.d.ts +4407 -0
- package/sparkdream/rep/v1/tx.js +7643 -0
- package/sparkdream/rep/v1/tx.registry.d.ts +577 -0
- package/sparkdream/rep/v1/tx.registry.js +865 -0
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +170 -0
- package/sparkdream/rep/v1/tx.rpc.msg.js +305 -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 +352 -0
- package/sparkdream/rpc.query.js +39 -0
- package/sparkdream/rpc.tx.d.ts +39 -0
- package/sparkdream/rpc.tx.js +39 -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 +643 -0
- package/sparkdream/season/v1/params.js +1648 -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 +1440 -0
- package/sparkdream/shield/v1/types.js +2440 -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,256 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Invitation = exports.InvitationStatusAmino = exports.InvitationStatus = void 0;
|
|
4
|
+
exports.invitationStatusFromJSON = invitationStatusFromJSON;
|
|
5
|
+
exports.invitationStatusToJSON = invitationStatusToJSON;
|
|
6
|
+
//@ts-nocheck
|
|
7
|
+
const binary_1 = require("../../../binary");
|
|
8
|
+
const math_1 = require("@interchainjs/math");
|
|
9
|
+
var InvitationStatus;
|
|
10
|
+
(function (InvitationStatus) {
|
|
11
|
+
InvitationStatus[InvitationStatus["INVITATION_STATUS_PENDING"] = 0] = "INVITATION_STATUS_PENDING";
|
|
12
|
+
InvitationStatus[InvitationStatus["INVITATION_STATUS_ACCEPTED"] = 1] = "INVITATION_STATUS_ACCEPTED";
|
|
13
|
+
InvitationStatus[InvitationStatus["INVITATION_STATUS_EXPIRED"] = 2] = "INVITATION_STATUS_EXPIRED";
|
|
14
|
+
InvitationStatus[InvitationStatus["INVITATION_STATUS_REVOKED"] = 3] = "INVITATION_STATUS_REVOKED";
|
|
15
|
+
InvitationStatus[InvitationStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
16
|
+
})(InvitationStatus || (exports.InvitationStatus = InvitationStatus = {}));
|
|
17
|
+
exports.InvitationStatusAmino = InvitationStatus;
|
|
18
|
+
function invitationStatusFromJSON(object) {
|
|
19
|
+
switch (object) {
|
|
20
|
+
case 0:
|
|
21
|
+
case "INVITATION_STATUS_PENDING":
|
|
22
|
+
return InvitationStatus.INVITATION_STATUS_PENDING;
|
|
23
|
+
case 1:
|
|
24
|
+
case "INVITATION_STATUS_ACCEPTED":
|
|
25
|
+
return InvitationStatus.INVITATION_STATUS_ACCEPTED;
|
|
26
|
+
case 2:
|
|
27
|
+
case "INVITATION_STATUS_EXPIRED":
|
|
28
|
+
return InvitationStatus.INVITATION_STATUS_EXPIRED;
|
|
29
|
+
case 3:
|
|
30
|
+
case "INVITATION_STATUS_REVOKED":
|
|
31
|
+
return InvitationStatus.INVITATION_STATUS_REVOKED;
|
|
32
|
+
case -1:
|
|
33
|
+
case "UNRECOGNIZED":
|
|
34
|
+
default:
|
|
35
|
+
return InvitationStatus.UNRECOGNIZED;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function invitationStatusToJSON(object) {
|
|
39
|
+
switch (object) {
|
|
40
|
+
case InvitationStatus.INVITATION_STATUS_PENDING:
|
|
41
|
+
return "INVITATION_STATUS_PENDING";
|
|
42
|
+
case InvitationStatus.INVITATION_STATUS_ACCEPTED:
|
|
43
|
+
return "INVITATION_STATUS_ACCEPTED";
|
|
44
|
+
case InvitationStatus.INVITATION_STATUS_EXPIRED:
|
|
45
|
+
return "INVITATION_STATUS_EXPIRED";
|
|
46
|
+
case InvitationStatus.INVITATION_STATUS_REVOKED:
|
|
47
|
+
return "INVITATION_STATUS_REVOKED";
|
|
48
|
+
case InvitationStatus.UNRECOGNIZED:
|
|
49
|
+
default:
|
|
50
|
+
return "UNRECOGNIZED";
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function createBaseInvitation() {
|
|
54
|
+
return {
|
|
55
|
+
id: BigInt(0),
|
|
56
|
+
inviter: "",
|
|
57
|
+
inviteeAddress: "",
|
|
58
|
+
stakedDream: "",
|
|
59
|
+
vouchedTags: [],
|
|
60
|
+
accountabilityEnd: BigInt(0),
|
|
61
|
+
referralRate: "",
|
|
62
|
+
referralEnd: BigInt(0),
|
|
63
|
+
referralEarned: "",
|
|
64
|
+
status: 0,
|
|
65
|
+
createdAt: BigInt(0),
|
|
66
|
+
acceptedAt: BigInt(0)
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Invitation defines the Invitation message.
|
|
71
|
+
* @name Invitation
|
|
72
|
+
* @package sparkdream.rep.v1
|
|
73
|
+
* @see proto type: sparkdream.rep.v1.Invitation
|
|
74
|
+
*/
|
|
75
|
+
exports.Invitation = {
|
|
76
|
+
typeUrl: "/sparkdream.rep.v1.Invitation",
|
|
77
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
78
|
+
if (message.id !== BigInt(0)) {
|
|
79
|
+
writer.uint32(8).uint64(message.id);
|
|
80
|
+
}
|
|
81
|
+
if (message.inviter !== "") {
|
|
82
|
+
writer.uint32(18).string(message.inviter);
|
|
83
|
+
}
|
|
84
|
+
if (message.inviteeAddress !== "") {
|
|
85
|
+
writer.uint32(26).string(message.inviteeAddress);
|
|
86
|
+
}
|
|
87
|
+
if (message.stakedDream !== "") {
|
|
88
|
+
writer.uint32(34).string(message.stakedDream);
|
|
89
|
+
}
|
|
90
|
+
for (const v of message.vouchedTags) {
|
|
91
|
+
writer.uint32(42).string(v);
|
|
92
|
+
}
|
|
93
|
+
if (message.accountabilityEnd !== BigInt(0)) {
|
|
94
|
+
writer.uint32(48).int64(message.accountabilityEnd);
|
|
95
|
+
}
|
|
96
|
+
if (message.referralRate !== "") {
|
|
97
|
+
writer.uint32(58).string(math_1.Decimal.fromUserInput(message.referralRate, 18).atomics);
|
|
98
|
+
}
|
|
99
|
+
if (message.referralEnd !== BigInt(0)) {
|
|
100
|
+
writer.uint32(64).int64(message.referralEnd);
|
|
101
|
+
}
|
|
102
|
+
if (message.referralEarned !== "") {
|
|
103
|
+
writer.uint32(74).string(message.referralEarned);
|
|
104
|
+
}
|
|
105
|
+
if (message.status !== 0) {
|
|
106
|
+
writer.uint32(80).int32(message.status);
|
|
107
|
+
}
|
|
108
|
+
if (message.createdAt !== BigInt(0)) {
|
|
109
|
+
writer.uint32(88).int64(message.createdAt);
|
|
110
|
+
}
|
|
111
|
+
if (message.acceptedAt !== BigInt(0)) {
|
|
112
|
+
writer.uint32(96).int64(message.acceptedAt);
|
|
113
|
+
}
|
|
114
|
+
return writer;
|
|
115
|
+
},
|
|
116
|
+
decode(input, length) {
|
|
117
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
118
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
119
|
+
const message = createBaseInvitation();
|
|
120
|
+
while (reader.pos < end) {
|
|
121
|
+
const tag = reader.uint32();
|
|
122
|
+
switch (tag >>> 3) {
|
|
123
|
+
case 1:
|
|
124
|
+
message.id = reader.uint64();
|
|
125
|
+
break;
|
|
126
|
+
case 2:
|
|
127
|
+
message.inviter = reader.string();
|
|
128
|
+
break;
|
|
129
|
+
case 3:
|
|
130
|
+
message.inviteeAddress = reader.string();
|
|
131
|
+
break;
|
|
132
|
+
case 4:
|
|
133
|
+
message.stakedDream = reader.string();
|
|
134
|
+
break;
|
|
135
|
+
case 5:
|
|
136
|
+
message.vouchedTags.push(reader.string());
|
|
137
|
+
break;
|
|
138
|
+
case 6:
|
|
139
|
+
message.accountabilityEnd = reader.int64();
|
|
140
|
+
break;
|
|
141
|
+
case 7:
|
|
142
|
+
message.referralRate = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
143
|
+
break;
|
|
144
|
+
case 8:
|
|
145
|
+
message.referralEnd = reader.int64();
|
|
146
|
+
break;
|
|
147
|
+
case 9:
|
|
148
|
+
message.referralEarned = reader.string();
|
|
149
|
+
break;
|
|
150
|
+
case 10:
|
|
151
|
+
message.status = reader.int32();
|
|
152
|
+
break;
|
|
153
|
+
case 11:
|
|
154
|
+
message.createdAt = reader.int64();
|
|
155
|
+
break;
|
|
156
|
+
case 12:
|
|
157
|
+
message.acceptedAt = reader.int64();
|
|
158
|
+
break;
|
|
159
|
+
default:
|
|
160
|
+
reader.skipType(tag & 7);
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return message;
|
|
165
|
+
},
|
|
166
|
+
fromPartial(object) {
|
|
167
|
+
const message = createBaseInvitation();
|
|
168
|
+
message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0);
|
|
169
|
+
message.inviter = object.inviter ?? "";
|
|
170
|
+
message.inviteeAddress = object.inviteeAddress ?? "";
|
|
171
|
+
message.stakedDream = object.stakedDream ?? "";
|
|
172
|
+
message.vouchedTags = object.vouchedTags?.map(e => e) || [];
|
|
173
|
+
message.accountabilityEnd = object.accountabilityEnd !== undefined && object.accountabilityEnd !== null ? BigInt(object.accountabilityEnd.toString()) : BigInt(0);
|
|
174
|
+
message.referralRate = object.referralRate ?? "";
|
|
175
|
+
message.referralEnd = object.referralEnd !== undefined && object.referralEnd !== null ? BigInt(object.referralEnd.toString()) : BigInt(0);
|
|
176
|
+
message.referralEarned = object.referralEarned ?? "";
|
|
177
|
+
message.status = object.status ?? 0;
|
|
178
|
+
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
179
|
+
message.acceptedAt = object.acceptedAt !== undefined && object.acceptedAt !== null ? BigInt(object.acceptedAt.toString()) : BigInt(0);
|
|
180
|
+
return message;
|
|
181
|
+
},
|
|
182
|
+
fromAmino(object) {
|
|
183
|
+
const message = createBaseInvitation();
|
|
184
|
+
if (object.id !== undefined && object.id !== null) {
|
|
185
|
+
message.id = BigInt(object.id);
|
|
186
|
+
}
|
|
187
|
+
if (object.inviter !== undefined && object.inviter !== null) {
|
|
188
|
+
message.inviter = object.inviter;
|
|
189
|
+
}
|
|
190
|
+
if (object.invitee_address !== undefined && object.invitee_address !== null) {
|
|
191
|
+
message.inviteeAddress = object.invitee_address;
|
|
192
|
+
}
|
|
193
|
+
if (object.staked_dream !== undefined && object.staked_dream !== null) {
|
|
194
|
+
message.stakedDream = object.staked_dream;
|
|
195
|
+
}
|
|
196
|
+
message.vouchedTags = object.vouched_tags?.map(e => e) || [];
|
|
197
|
+
if (object.accountability_end !== undefined && object.accountability_end !== null) {
|
|
198
|
+
message.accountabilityEnd = BigInt(object.accountability_end);
|
|
199
|
+
}
|
|
200
|
+
if (object.referral_rate !== undefined && object.referral_rate !== null) {
|
|
201
|
+
message.referralRate = object.referral_rate;
|
|
202
|
+
}
|
|
203
|
+
if (object.referral_end !== undefined && object.referral_end !== null) {
|
|
204
|
+
message.referralEnd = BigInt(object.referral_end);
|
|
205
|
+
}
|
|
206
|
+
if (object.referral_earned !== undefined && object.referral_earned !== null) {
|
|
207
|
+
message.referralEarned = object.referral_earned;
|
|
208
|
+
}
|
|
209
|
+
if (object.status !== undefined && object.status !== null) {
|
|
210
|
+
message.status = object.status;
|
|
211
|
+
}
|
|
212
|
+
if (object.created_at !== undefined && object.created_at !== null) {
|
|
213
|
+
message.createdAt = BigInt(object.created_at);
|
|
214
|
+
}
|
|
215
|
+
if (object.accepted_at !== undefined && object.accepted_at !== null) {
|
|
216
|
+
message.acceptedAt = BigInt(object.accepted_at);
|
|
217
|
+
}
|
|
218
|
+
return message;
|
|
219
|
+
},
|
|
220
|
+
toAmino(message) {
|
|
221
|
+
const obj = {};
|
|
222
|
+
obj.id = message.id !== BigInt(0) ? message.id?.toString() : undefined;
|
|
223
|
+
obj.inviter = message.inviter === "" ? undefined : message.inviter;
|
|
224
|
+
obj.invitee_address = message.inviteeAddress === "" ? undefined : message.inviteeAddress;
|
|
225
|
+
obj.staked_dream = message.stakedDream === "" ? undefined : message.stakedDream;
|
|
226
|
+
if (message.vouchedTags) {
|
|
227
|
+
obj.vouched_tags = message.vouchedTags.map(e => e);
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
obj.vouched_tags = message.vouchedTags;
|
|
231
|
+
}
|
|
232
|
+
obj.accountability_end = message.accountabilityEnd !== BigInt(0) ? message.accountabilityEnd?.toString() : undefined;
|
|
233
|
+
obj.referral_rate = message.referralRate === "" ? undefined : message.referralRate;
|
|
234
|
+
obj.referral_end = message.referralEnd !== BigInt(0) ? message.referralEnd?.toString() : undefined;
|
|
235
|
+
obj.referral_earned = message.referralEarned === "" ? undefined : message.referralEarned;
|
|
236
|
+
obj.status = message.status === 0 ? undefined : message.status;
|
|
237
|
+
obj.created_at = message.createdAt !== BigInt(0) ? message.createdAt?.toString() : undefined;
|
|
238
|
+
obj.accepted_at = message.acceptedAt !== BigInt(0) ? message.acceptedAt?.toString() : undefined;
|
|
239
|
+
return obj;
|
|
240
|
+
},
|
|
241
|
+
fromAminoMsg(object) {
|
|
242
|
+
return exports.Invitation.fromAmino(object.value);
|
|
243
|
+
},
|
|
244
|
+
fromProtoMsg(message) {
|
|
245
|
+
return exports.Invitation.decode(message.value);
|
|
246
|
+
},
|
|
247
|
+
toProto(message) {
|
|
248
|
+
return exports.Invitation.encode(message).finish();
|
|
249
|
+
},
|
|
250
|
+
toProtoMsg(message) {
|
|
251
|
+
return {
|
|
252
|
+
typeUrl: "/sparkdream.rep.v1.Invitation",
|
|
253
|
+
value: exports.Invitation.encode(message).finish()
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* JuryParticipation defines the JuryParticipation message.
|
|
5
|
+
* @name JuryParticipation
|
|
6
|
+
* @package sparkdream.rep.v1
|
|
7
|
+
* @see proto type: sparkdream.rep.v1.JuryParticipation
|
|
8
|
+
*/
|
|
9
|
+
export interface JuryParticipation {
|
|
10
|
+
juror: string;
|
|
11
|
+
totalAssigned: bigint;
|
|
12
|
+
totalVoted: bigint;
|
|
13
|
+
totalTimeouts: bigint;
|
|
14
|
+
lastAssignedAt: bigint;
|
|
15
|
+
excluded: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface JuryParticipationProtoMsg {
|
|
18
|
+
typeUrl: "/sparkdream.rep.v1.JuryParticipation";
|
|
19
|
+
value: Uint8Array;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* JuryParticipation defines the JuryParticipation message.
|
|
23
|
+
* @name JuryParticipationAmino
|
|
24
|
+
* @package sparkdream.rep.v1
|
|
25
|
+
* @see proto type: sparkdream.rep.v1.JuryParticipation
|
|
26
|
+
*/
|
|
27
|
+
export interface JuryParticipationAmino {
|
|
28
|
+
juror?: string;
|
|
29
|
+
total_assigned?: string;
|
|
30
|
+
total_voted?: string;
|
|
31
|
+
total_timeouts?: string;
|
|
32
|
+
last_assigned_at?: string;
|
|
33
|
+
excluded?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface JuryParticipationAminoMsg {
|
|
36
|
+
type: "/sparkdream.rep.v1.JuryParticipation";
|
|
37
|
+
value: JuryParticipationAmino;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* JuryParticipation defines the JuryParticipation message.
|
|
41
|
+
* @name JuryParticipation
|
|
42
|
+
* @package sparkdream.rep.v1
|
|
43
|
+
* @see proto type: sparkdream.rep.v1.JuryParticipation
|
|
44
|
+
*/
|
|
45
|
+
export declare const JuryParticipation: {
|
|
46
|
+
typeUrl: string;
|
|
47
|
+
encode(message: JuryParticipation, writer?: BinaryWriter): BinaryWriter;
|
|
48
|
+
decode(input: BinaryReader | Uint8Array, length?: number): JuryParticipation;
|
|
49
|
+
fromPartial(object: DeepPartial<JuryParticipation>): JuryParticipation;
|
|
50
|
+
fromAmino(object: JuryParticipationAmino): JuryParticipation;
|
|
51
|
+
toAmino(message: JuryParticipation): JuryParticipationAmino;
|
|
52
|
+
fromAminoMsg(object: JuryParticipationAminoMsg): JuryParticipation;
|
|
53
|
+
fromProtoMsg(message: JuryParticipationProtoMsg): JuryParticipation;
|
|
54
|
+
toProto(message: JuryParticipation): Uint8Array;
|
|
55
|
+
toProtoMsg(message: JuryParticipation): JuryParticipationProtoMsg;
|
|
56
|
+
};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JuryParticipation = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const binary_1 = require("../../../binary");
|
|
6
|
+
function createBaseJuryParticipation() {
|
|
7
|
+
return {
|
|
8
|
+
juror: "",
|
|
9
|
+
totalAssigned: BigInt(0),
|
|
10
|
+
totalVoted: BigInt(0),
|
|
11
|
+
totalTimeouts: BigInt(0),
|
|
12
|
+
lastAssignedAt: BigInt(0),
|
|
13
|
+
excluded: false
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* JuryParticipation defines the JuryParticipation message.
|
|
18
|
+
* @name JuryParticipation
|
|
19
|
+
* @package sparkdream.rep.v1
|
|
20
|
+
* @see proto type: sparkdream.rep.v1.JuryParticipation
|
|
21
|
+
*/
|
|
22
|
+
exports.JuryParticipation = {
|
|
23
|
+
typeUrl: "/sparkdream.rep.v1.JuryParticipation",
|
|
24
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
25
|
+
if (message.juror !== "") {
|
|
26
|
+
writer.uint32(10).string(message.juror);
|
|
27
|
+
}
|
|
28
|
+
if (message.totalAssigned !== BigInt(0)) {
|
|
29
|
+
writer.uint32(16).uint64(message.totalAssigned);
|
|
30
|
+
}
|
|
31
|
+
if (message.totalVoted !== BigInt(0)) {
|
|
32
|
+
writer.uint32(24).uint64(message.totalVoted);
|
|
33
|
+
}
|
|
34
|
+
if (message.totalTimeouts !== BigInt(0)) {
|
|
35
|
+
writer.uint32(32).uint64(message.totalTimeouts);
|
|
36
|
+
}
|
|
37
|
+
if (message.lastAssignedAt !== BigInt(0)) {
|
|
38
|
+
writer.uint32(40).int64(message.lastAssignedAt);
|
|
39
|
+
}
|
|
40
|
+
if (message.excluded === true) {
|
|
41
|
+
writer.uint32(48).bool(message.excluded);
|
|
42
|
+
}
|
|
43
|
+
return writer;
|
|
44
|
+
},
|
|
45
|
+
decode(input, length) {
|
|
46
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
47
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
48
|
+
const message = createBaseJuryParticipation();
|
|
49
|
+
while (reader.pos < end) {
|
|
50
|
+
const tag = reader.uint32();
|
|
51
|
+
switch (tag >>> 3) {
|
|
52
|
+
case 1:
|
|
53
|
+
message.juror = reader.string();
|
|
54
|
+
break;
|
|
55
|
+
case 2:
|
|
56
|
+
message.totalAssigned = reader.uint64();
|
|
57
|
+
break;
|
|
58
|
+
case 3:
|
|
59
|
+
message.totalVoted = reader.uint64();
|
|
60
|
+
break;
|
|
61
|
+
case 4:
|
|
62
|
+
message.totalTimeouts = reader.uint64();
|
|
63
|
+
break;
|
|
64
|
+
case 5:
|
|
65
|
+
message.lastAssignedAt = reader.int64();
|
|
66
|
+
break;
|
|
67
|
+
case 6:
|
|
68
|
+
message.excluded = reader.bool();
|
|
69
|
+
break;
|
|
70
|
+
default:
|
|
71
|
+
reader.skipType(tag & 7);
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return message;
|
|
76
|
+
},
|
|
77
|
+
fromPartial(object) {
|
|
78
|
+
const message = createBaseJuryParticipation();
|
|
79
|
+
message.juror = object.juror ?? "";
|
|
80
|
+
message.totalAssigned = object.totalAssigned !== undefined && object.totalAssigned !== null ? BigInt(object.totalAssigned.toString()) : BigInt(0);
|
|
81
|
+
message.totalVoted = object.totalVoted !== undefined && object.totalVoted !== null ? BigInt(object.totalVoted.toString()) : BigInt(0);
|
|
82
|
+
message.totalTimeouts = object.totalTimeouts !== undefined && object.totalTimeouts !== null ? BigInt(object.totalTimeouts.toString()) : BigInt(0);
|
|
83
|
+
message.lastAssignedAt = object.lastAssignedAt !== undefined && object.lastAssignedAt !== null ? BigInt(object.lastAssignedAt.toString()) : BigInt(0);
|
|
84
|
+
message.excluded = object.excluded ?? false;
|
|
85
|
+
return message;
|
|
86
|
+
},
|
|
87
|
+
fromAmino(object) {
|
|
88
|
+
const message = createBaseJuryParticipation();
|
|
89
|
+
if (object.juror !== undefined && object.juror !== null) {
|
|
90
|
+
message.juror = object.juror;
|
|
91
|
+
}
|
|
92
|
+
if (object.total_assigned !== undefined && object.total_assigned !== null) {
|
|
93
|
+
message.totalAssigned = BigInt(object.total_assigned);
|
|
94
|
+
}
|
|
95
|
+
if (object.total_voted !== undefined && object.total_voted !== null) {
|
|
96
|
+
message.totalVoted = BigInt(object.total_voted);
|
|
97
|
+
}
|
|
98
|
+
if (object.total_timeouts !== undefined && object.total_timeouts !== null) {
|
|
99
|
+
message.totalTimeouts = BigInt(object.total_timeouts);
|
|
100
|
+
}
|
|
101
|
+
if (object.last_assigned_at !== undefined && object.last_assigned_at !== null) {
|
|
102
|
+
message.lastAssignedAt = BigInt(object.last_assigned_at);
|
|
103
|
+
}
|
|
104
|
+
if (object.excluded !== undefined && object.excluded !== null) {
|
|
105
|
+
message.excluded = object.excluded;
|
|
106
|
+
}
|
|
107
|
+
return message;
|
|
108
|
+
},
|
|
109
|
+
toAmino(message) {
|
|
110
|
+
const obj = {};
|
|
111
|
+
obj.juror = message.juror === "" ? undefined : message.juror;
|
|
112
|
+
obj.total_assigned = message.totalAssigned !== BigInt(0) ? message.totalAssigned?.toString() : undefined;
|
|
113
|
+
obj.total_voted = message.totalVoted !== BigInt(0) ? message.totalVoted?.toString() : undefined;
|
|
114
|
+
obj.total_timeouts = message.totalTimeouts !== BigInt(0) ? message.totalTimeouts?.toString() : undefined;
|
|
115
|
+
obj.last_assigned_at = message.lastAssignedAt !== BigInt(0) ? message.lastAssignedAt?.toString() : undefined;
|
|
116
|
+
obj.excluded = message.excluded === false ? undefined : message.excluded;
|
|
117
|
+
return obj;
|
|
118
|
+
},
|
|
119
|
+
fromAminoMsg(object) {
|
|
120
|
+
return exports.JuryParticipation.fromAmino(object.value);
|
|
121
|
+
},
|
|
122
|
+
fromProtoMsg(message) {
|
|
123
|
+
return exports.JuryParticipation.decode(message.value);
|
|
124
|
+
},
|
|
125
|
+
toProto(message) {
|
|
126
|
+
return exports.JuryParticipation.encode(message).finish();
|
|
127
|
+
},
|
|
128
|
+
toProtoMsg(message) {
|
|
129
|
+
return {
|
|
130
|
+
typeUrl: "/sparkdream.rep.v1.JuryParticipation",
|
|
131
|
+
value: exports.JuryParticipation.encode(message).finish()
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
};
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
export declare enum Verdict {
|
|
4
|
+
VERDICT_PENDING = 0,
|
|
5
|
+
VERDICT_UPHOLD_CHALLENGE = 1,
|
|
6
|
+
VERDICT_REJECT_CHALLENGE = 2,
|
|
7
|
+
VERDICT_INCONCLUSIVE = 3,
|
|
8
|
+
UNRECOGNIZED = -1
|
|
9
|
+
}
|
|
10
|
+
export declare const VerdictAmino: typeof Verdict;
|
|
11
|
+
export declare function verdictFromJSON(object: any): Verdict;
|
|
12
|
+
export declare function verdictToJSON(object: Verdict): string;
|
|
13
|
+
/**
|
|
14
|
+
* JuryReview defines the JuryReview message.
|
|
15
|
+
* @name JuryReview
|
|
16
|
+
* @package sparkdream.rep.v1
|
|
17
|
+
* @see proto type: sparkdream.rep.v1.JuryReview
|
|
18
|
+
*/
|
|
19
|
+
export interface JuryReview {
|
|
20
|
+
id: bigint;
|
|
21
|
+
challengeId: bigint;
|
|
22
|
+
initiativeId: bigint;
|
|
23
|
+
jurors: string[];
|
|
24
|
+
requiredVotes: number;
|
|
25
|
+
expertWitnesses: string[];
|
|
26
|
+
testimonies: ExpertTestimony[];
|
|
27
|
+
reviewDeliverable: string;
|
|
28
|
+
challengerClaim: string;
|
|
29
|
+
assigneeResponse: string;
|
|
30
|
+
votes: JurorVote[];
|
|
31
|
+
deadline: bigint;
|
|
32
|
+
verdict: Verdict;
|
|
33
|
+
reasoning: string;
|
|
34
|
+
/**
|
|
35
|
+
* For content challenges (non-zero means this review is for a content challenge, not an initiative challenge)
|
|
36
|
+
*/
|
|
37
|
+
contentChallengeId: bigint;
|
|
38
|
+
}
|
|
39
|
+
export interface JuryReviewProtoMsg {
|
|
40
|
+
typeUrl: "/sparkdream.rep.v1.JuryReview";
|
|
41
|
+
value: Uint8Array;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* JuryReview defines the JuryReview message.
|
|
45
|
+
* @name JuryReviewAmino
|
|
46
|
+
* @package sparkdream.rep.v1
|
|
47
|
+
* @see proto type: sparkdream.rep.v1.JuryReview
|
|
48
|
+
*/
|
|
49
|
+
export interface JuryReviewAmino {
|
|
50
|
+
id?: string;
|
|
51
|
+
challenge_id?: string;
|
|
52
|
+
initiative_id?: string;
|
|
53
|
+
jurors?: string[];
|
|
54
|
+
required_votes?: number;
|
|
55
|
+
expert_witnesses?: string[];
|
|
56
|
+
testimonies?: ExpertTestimonyAmino[];
|
|
57
|
+
review_deliverable?: string;
|
|
58
|
+
challenger_claim?: string;
|
|
59
|
+
assignee_response?: string;
|
|
60
|
+
votes?: JurorVoteAmino[];
|
|
61
|
+
deadline?: string;
|
|
62
|
+
verdict?: Verdict;
|
|
63
|
+
reasoning?: string;
|
|
64
|
+
/**
|
|
65
|
+
* For content challenges (non-zero means this review is for a content challenge, not an initiative challenge)
|
|
66
|
+
*/
|
|
67
|
+
content_challenge_id?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface JuryReviewAminoMsg {
|
|
70
|
+
type: "/sparkdream.rep.v1.JuryReview";
|
|
71
|
+
value: JuryReviewAmino;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @name JurorVote
|
|
75
|
+
* @package sparkdream.rep.v1
|
|
76
|
+
* @see proto type: sparkdream.rep.v1.JurorVote
|
|
77
|
+
*/
|
|
78
|
+
export interface JurorVote {
|
|
79
|
+
juror: string;
|
|
80
|
+
criteriaVotes: CriteriaVote[];
|
|
81
|
+
verdict: Verdict;
|
|
82
|
+
confidence: string;
|
|
83
|
+
reasoning: string;
|
|
84
|
+
submittedAt: bigint;
|
|
85
|
+
}
|
|
86
|
+
export interface JurorVoteProtoMsg {
|
|
87
|
+
typeUrl: "/sparkdream.rep.v1.JurorVote";
|
|
88
|
+
value: Uint8Array;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @name JurorVoteAmino
|
|
92
|
+
* @package sparkdream.rep.v1
|
|
93
|
+
* @see proto type: sparkdream.rep.v1.JurorVote
|
|
94
|
+
*/
|
|
95
|
+
export interface JurorVoteAmino {
|
|
96
|
+
juror?: string;
|
|
97
|
+
criteria_votes?: CriteriaVoteAmino[];
|
|
98
|
+
verdict?: Verdict;
|
|
99
|
+
confidence?: string;
|
|
100
|
+
reasoning?: string;
|
|
101
|
+
submitted_at?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface JurorVoteAminoMsg {
|
|
104
|
+
type: "/sparkdream.rep.v1.JurorVote";
|
|
105
|
+
value: JurorVoteAmino;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* @name ExpertTestimony
|
|
109
|
+
* @package sparkdream.rep.v1
|
|
110
|
+
* @see proto type: sparkdream.rep.v1.ExpertTestimony
|
|
111
|
+
*/
|
|
112
|
+
export interface ExpertTestimony {
|
|
113
|
+
expert: string;
|
|
114
|
+
opinion: string;
|
|
115
|
+
reasoning: string;
|
|
116
|
+
submittedAt: bigint;
|
|
117
|
+
}
|
|
118
|
+
export interface ExpertTestimonyProtoMsg {
|
|
119
|
+
typeUrl: "/sparkdream.rep.v1.ExpertTestimony";
|
|
120
|
+
value: Uint8Array;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @name ExpertTestimonyAmino
|
|
124
|
+
* @package sparkdream.rep.v1
|
|
125
|
+
* @see proto type: sparkdream.rep.v1.ExpertTestimony
|
|
126
|
+
*/
|
|
127
|
+
export interface ExpertTestimonyAmino {
|
|
128
|
+
expert?: string;
|
|
129
|
+
opinion?: string;
|
|
130
|
+
reasoning?: string;
|
|
131
|
+
submitted_at?: string;
|
|
132
|
+
}
|
|
133
|
+
export interface ExpertTestimonyAminoMsg {
|
|
134
|
+
type: "/sparkdream.rep.v1.ExpertTestimony";
|
|
135
|
+
value: ExpertTestimonyAmino;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @name CriteriaVote
|
|
139
|
+
* @package sparkdream.rep.v1
|
|
140
|
+
* @see proto type: sparkdream.rep.v1.CriteriaVote
|
|
141
|
+
*/
|
|
142
|
+
export interface CriteriaVote {
|
|
143
|
+
criteriaId: string;
|
|
144
|
+
passed: boolean;
|
|
145
|
+
score: number;
|
|
146
|
+
notes: string;
|
|
147
|
+
}
|
|
148
|
+
export interface CriteriaVoteProtoMsg {
|
|
149
|
+
typeUrl: "/sparkdream.rep.v1.CriteriaVote";
|
|
150
|
+
value: Uint8Array;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @name CriteriaVoteAmino
|
|
154
|
+
* @package sparkdream.rep.v1
|
|
155
|
+
* @see proto type: sparkdream.rep.v1.CriteriaVote
|
|
156
|
+
*/
|
|
157
|
+
export interface CriteriaVoteAmino {
|
|
158
|
+
criteria_id?: string;
|
|
159
|
+
passed?: boolean;
|
|
160
|
+
score?: number;
|
|
161
|
+
notes?: string;
|
|
162
|
+
}
|
|
163
|
+
export interface CriteriaVoteAminoMsg {
|
|
164
|
+
type: "/sparkdream.rep.v1.CriteriaVote";
|
|
165
|
+
value: CriteriaVoteAmino;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* JuryReview defines the JuryReview message.
|
|
169
|
+
* @name JuryReview
|
|
170
|
+
* @package sparkdream.rep.v1
|
|
171
|
+
* @see proto type: sparkdream.rep.v1.JuryReview
|
|
172
|
+
*/
|
|
173
|
+
export declare const JuryReview: {
|
|
174
|
+
typeUrl: string;
|
|
175
|
+
encode(message: JuryReview, writer?: BinaryWriter): BinaryWriter;
|
|
176
|
+
decode(input: BinaryReader | Uint8Array, length?: number): JuryReview;
|
|
177
|
+
fromPartial(object: DeepPartial<JuryReview>): JuryReview;
|
|
178
|
+
fromAmino(object: JuryReviewAmino): JuryReview;
|
|
179
|
+
toAmino(message: JuryReview): JuryReviewAmino;
|
|
180
|
+
fromAminoMsg(object: JuryReviewAminoMsg): JuryReview;
|
|
181
|
+
fromProtoMsg(message: JuryReviewProtoMsg): JuryReview;
|
|
182
|
+
toProto(message: JuryReview): Uint8Array;
|
|
183
|
+
toProtoMsg(message: JuryReview): JuryReviewProtoMsg;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* @name JurorVote
|
|
187
|
+
* @package sparkdream.rep.v1
|
|
188
|
+
* @see proto type: sparkdream.rep.v1.JurorVote
|
|
189
|
+
*/
|
|
190
|
+
export declare const JurorVote: {
|
|
191
|
+
typeUrl: string;
|
|
192
|
+
encode(message: JurorVote, writer?: BinaryWriter): BinaryWriter;
|
|
193
|
+
decode(input: BinaryReader | Uint8Array, length?: number): JurorVote;
|
|
194
|
+
fromPartial(object: DeepPartial<JurorVote>): JurorVote;
|
|
195
|
+
fromAmino(object: JurorVoteAmino): JurorVote;
|
|
196
|
+
toAmino(message: JurorVote): JurorVoteAmino;
|
|
197
|
+
fromAminoMsg(object: JurorVoteAminoMsg): JurorVote;
|
|
198
|
+
fromProtoMsg(message: JurorVoteProtoMsg): JurorVote;
|
|
199
|
+
toProto(message: JurorVote): Uint8Array;
|
|
200
|
+
toProtoMsg(message: JurorVote): JurorVoteProtoMsg;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* @name ExpertTestimony
|
|
204
|
+
* @package sparkdream.rep.v1
|
|
205
|
+
* @see proto type: sparkdream.rep.v1.ExpertTestimony
|
|
206
|
+
*/
|
|
207
|
+
export declare const ExpertTestimony: {
|
|
208
|
+
typeUrl: string;
|
|
209
|
+
encode(message: ExpertTestimony, writer?: BinaryWriter): BinaryWriter;
|
|
210
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ExpertTestimony;
|
|
211
|
+
fromPartial(object: DeepPartial<ExpertTestimony>): ExpertTestimony;
|
|
212
|
+
fromAmino(object: ExpertTestimonyAmino): ExpertTestimony;
|
|
213
|
+
toAmino(message: ExpertTestimony): ExpertTestimonyAmino;
|
|
214
|
+
fromAminoMsg(object: ExpertTestimonyAminoMsg): ExpertTestimony;
|
|
215
|
+
fromProtoMsg(message: ExpertTestimonyProtoMsg): ExpertTestimony;
|
|
216
|
+
toProto(message: ExpertTestimony): Uint8Array;
|
|
217
|
+
toProtoMsg(message: ExpertTestimony): ExpertTestimonyProtoMsg;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* @name CriteriaVote
|
|
221
|
+
* @package sparkdream.rep.v1
|
|
222
|
+
* @see proto type: sparkdream.rep.v1.CriteriaVote
|
|
223
|
+
*/
|
|
224
|
+
export declare const CriteriaVote: {
|
|
225
|
+
typeUrl: string;
|
|
226
|
+
encode(message: CriteriaVote, writer?: BinaryWriter): BinaryWriter;
|
|
227
|
+
decode(input: BinaryReader | Uint8Array, length?: number): CriteriaVote;
|
|
228
|
+
fromPartial(object: DeepPartial<CriteriaVote>): CriteriaVote;
|
|
229
|
+
fromAmino(object: CriteriaVoteAmino): CriteriaVote;
|
|
230
|
+
toAmino(message: CriteriaVote): CriteriaVoteAmino;
|
|
231
|
+
fromAminoMsg(object: CriteriaVoteAminoMsg): CriteriaVote;
|
|
232
|
+
fromProtoMsg(message: CriteriaVoteProtoMsg): CriteriaVote;
|
|
233
|
+
toProto(message: CriteriaVote): Uint8Array;
|
|
234
|
+
toProtoMsg(message: CriteriaVote): CriteriaVoteProtoMsg;
|
|
235
|
+
};
|