@sparkdreamnft/sparkdreamjs 0.0.45 → 0.0.47
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/akash/bundle.d.ts +134 -134
- package/akash/bundle.js +150 -150
- package/amino-schema.d.ts +5741 -0
- package/amino-schema.js +8 -0
- package/chain-amino.d.ts +61 -0
- package/chain-amino.js +670 -0
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/amino-schema.js +5 -0
- package/esm/chain-amino.js +665 -0
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/nested-amino.js +12 -4
- package/esm/sparkdream/artifact/v1/genesis.js +217 -3
- package/esm/sparkdream/artifact/v1/params.js +146 -2
- package/esm/sparkdream/artifact/v1/query.js +3767 -5
- package/esm/sparkdream/artifact/v1/query.lcd.js +173 -0
- package/esm/sparkdream/artifact/v1/query.rpc.Query.js +195 -1
- package/esm/sparkdream/artifact/v1/tx.amino.js +16 -158
- package/esm/sparkdream/artifact/v1/tx.js +7498 -5
- package/esm/sparkdream/artifact/v1/tx.registry.js +704 -2
- package/esm/sparkdream/artifact/v1/tx.rpc.msg.js +241 -1
- package/esm/sparkdream/artifact/v1/types.js +4312 -1120
- package/esm/sparkdream/blog/v1/tx.amino.js +15 -115
- package/esm/sparkdream/bundle.js +329 -291
- package/esm/sparkdream/client.js +5 -2
- package/esm/sparkdream/collect/v1/tx.amino.js +15 -239
- package/esm/sparkdream/commons/v1/tx.amino.js +12 -226
- package/esm/sparkdream/commons/v1/tx.js +25 -1
- package/esm/sparkdream/ecosystem/v1/tx.amino.js +15 -26
- package/esm/sparkdream/federation/v1/tx.amino.js +16 -128
- package/esm/sparkdream/forum/v1/tx.amino.js +15 -211
- package/esm/sparkdream/futarchy/v1/tx.amino.js +16 -38
- package/esm/sparkdream/guardian/v1/tx.amino.js +17 -8
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/name/v1/tx.amino.js +16 -63
- package/esm/sparkdream/rep/v1/genesis.js +74 -1
- package/esm/sparkdream/rep/v1/member.js +110 -1
- package/esm/sparkdream/rep/v1/migration.js +957 -0
- package/esm/sparkdream/rep/v1/params.js +181 -1
- package/esm/sparkdream/rep/v1/query.js +1060 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +48 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +65 -1
- package/esm/sparkdream/rep/v1/tx.amino.js +12 -414
- package/esm/sparkdream/rep/v1/tx.js +1741 -1
- package/esm/sparkdream/rep/v1/tx.registry.js +200 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +67 -1
- package/esm/sparkdream/reveal/v1/tx.amino.js +15 -73
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/tx.amino.js +16 -218
- package/esm/sparkdream/service/v1/tx.amino.js +16 -78
- package/esm/sparkdream/session/v1/tx.amino.js +16 -271
- package/esm/sparkdream/session/v1/tx.js +38 -2
- package/esm/sparkdream/shield/v1/tx.amino.js +15 -80
- package/esm/sparkdream/sparkdream/v1/tx.amino.js +16 -8
- package/esm/sparkdream/split/v1/tx.amino.js +16 -8
- package/esm/sparkdream/vault/module/v1/module.js +71 -0
- package/esm/sparkdream/vault/v1/genesis.js +104 -0
- package/esm/sparkdream/vault/v1/params.js +90 -0
- package/esm/sparkdream/vault/v1/query.js +1535 -0
- package/esm/sparkdream/vault/v1/query.lcd.js +100 -0
- package/esm/sparkdream/vault/v1/query.rpc.Query.js +111 -0
- package/esm/sparkdream/vault/v1/tx.amino.js +18 -0
- package/esm/sparkdream/vault/v1/tx.js +1393 -0
- package/esm/sparkdream/vault/v1/tx.registry.js +159 -0
- package/esm/sparkdream/vault/v1/tx.rpc.msg.js +60 -0
- package/esm/sparkdream/vault/v1/vault.js +163 -0
- package/esm/sparkdream/vault/v1/vault_proposal.js +277 -0
- package/esm/sparkdream/vault/v1/vault_signer.js +85 -0
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/nested-amino.d.ts +7 -2
- package/nested-amino.js +13 -4
- package/package.json +1 -13
- package/sparkdream/artifact/v1/genesis.d.ts +37 -4
- package/sparkdream/artifact/v1/genesis.js +216 -2
- package/sparkdream/artifact/v1/params.d.ts +92 -0
- package/sparkdream/artifact/v1/params.js +146 -2
- package/sparkdream/artifact/v1/query.d.ts +2373 -168
- package/sparkdream/artifact/v1/query.js +3768 -5
- package/sparkdream/artifact/v1/query.lcd.d.ts +22 -1
- package/sparkdream/artifact/v1/query.lcd.js +173 -0
- package/sparkdream/artifact/v1/query.rpc.Query.d.ts +98 -1
- package/sparkdream/artifact/v1/query.rpc.Query.js +194 -0
- package/sparkdream/artifact/v1/tx.amino.d.ts +1 -158
- package/sparkdream/artifact/v1/tx.amino.js +49 -158
- package/sparkdream/artifact/v1/tx.d.ts +5188 -930
- package/sparkdream/artifact/v1/tx.js +7499 -5
- package/sparkdream/artifact/v1/tx.registry.d.ts +469 -1
- package/sparkdream/artifact/v1/tx.registry.js +703 -1
- package/sparkdream/artifact/v1/tx.rpc.msg.d.ts +136 -1
- package/sparkdream/artifact/v1/tx.rpc.msg.js +240 -0
- package/sparkdream/artifact/v1/types.d.ts +1797 -25
- package/sparkdream/artifact/v1/types.js +4322 -1121
- package/sparkdream/blog/v1/tx.amino.d.ts +1 -83
- package/sparkdream/blog/v1/tx.amino.js +50 -117
- package/sparkdream/bundle.d.ts +12983 -10912
- package/sparkdream/bundle.js +329 -291
- package/sparkdream/client.d.ts +1 -1629
- package/sparkdream/client.js +5 -2
- package/sparkdream/collect/v1/tx.amino.d.ts +1 -138
- package/sparkdream/collect/v1/tx.amino.js +50 -241
- package/sparkdream/commons/v1/tx.amino.d.ts +1 -103
- package/sparkdream/commons/v1/tx.amino.js +49 -230
- package/sparkdream/commons/v1/tx.d.ts +18 -0
- package/sparkdream/commons/v1/tx.js +25 -1
- package/sparkdream/ecosystem/v1/tx.amino.d.ts +1 -13
- package/sparkdream/ecosystem/v1/tx.amino.js +50 -28
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -128
- package/sparkdream/federation/v1/tx.amino.js +49 -128
- package/sparkdream/forum/v1/tx.amino.d.ts +1 -183
- package/sparkdream/forum/v1/tx.amino.js +50 -213
- package/sparkdream/futarchy/v1/tx.amino.d.ts +1 -38
- package/sparkdream/futarchy/v1/tx.amino.js +49 -38
- package/sparkdream/guardian/v1/tx.amino.d.ts +2 -8
- package/sparkdream/guardian/v1/tx.amino.js +52 -9
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/name/v1/tx.amino.d.ts +1 -63
- package/sparkdream/name/v1/tx.amino.js +49 -63
- package/sparkdream/rep/v1/genesis.d.ts +19 -0
- package/sparkdream/rep/v1/genesis.js +74 -1
- package/sparkdream/rep/v1/member.d.ts +92 -0
- package/sparkdream/rep/v1/member.js +110 -1
- package/sparkdream/rep/v1/migration.d.ts +587 -0
- package/sparkdream/rep/v1/migration.js +964 -0
- package/sparkdream/rep/v1/params.d.ts +174 -0
- package/sparkdream/rep/v1/params.js +181 -1
- package/sparkdream/rep/v1/query.d.ts +679 -0
- package/sparkdream/rep/v1/query.js +1061 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +8 -1
- package/sparkdream/rep/v1/query.lcd.js +48 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +32 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +64 -0
- package/sparkdream/rep/v1/tx.amino.d.ts +1 -283
- package/sparkdream/rep/v1/tx.amino.js +47 -416
- package/sparkdream/rep/v1/tx.d.ts +1185 -0
- package/sparkdream/rep/v1/tx.js +1742 -2
- package/sparkdream/rep/v1/tx.registry.d.ts +133 -1
- package/sparkdream/rep/v1/tx.registry.js +199 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +34 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +66 -0
- package/sparkdream/reveal/v1/tx.amino.d.ts +1 -53
- package/sparkdream/reveal/v1/tx.amino.js +50 -75
- package/sparkdream/rpc.query.d.ts +42 -0
- package/sparkdream/rpc.query.js +3 -0
- package/sparkdream/rpc.tx.d.ts +3 -0
- package/sparkdream/rpc.tx.js +3 -0
- package/sparkdream/season/v1/tx.amino.d.ts +1 -218
- package/sparkdream/season/v1/tx.amino.js +49 -218
- package/sparkdream/service/v1/tx.amino.d.ts +1 -78
- package/sparkdream/service/v1/tx.amino.js +49 -78
- package/sparkdream/session/v1/tx.amino.d.ts +1 -93
- package/sparkdream/session/v1/tx.amino.js +48 -270
- package/sparkdream/session/v1/tx.d.ts +30 -0
- package/sparkdream/session/v1/tx.js +38 -2
- package/sparkdream/shield/v1/tx.amino.d.ts +1 -28
- package/sparkdream/shield/v1/tx.amino.js +50 -82
- package/sparkdream/sparkdream/v1/tx.amino.d.ts +1 -8
- package/sparkdream/sparkdream/v1/tx.amino.js +49 -8
- package/sparkdream/split/v1/tx.amino.d.ts +1 -8
- package/sparkdream/split/v1/tx.amino.js +49 -8
- package/sparkdream/vault/module/v1/module.d.ts +54 -0
- package/sparkdream/vault/module/v1/module.js +74 -0
- package/sparkdream/vault/v1/genesis.d.ts +59 -0
- package/sparkdream/vault/v1/genesis.js +107 -0
- package/sparkdream/vault/v1/params.d.ts +68 -0
- package/sparkdream/vault/v1/params.js +93 -0
- package/sparkdream/vault/v1/query.d.ts +935 -0
- package/sparkdream/vault/v1/query.js +1538 -0
- package/sparkdream/vault/v1/query.lcd.d.ts +18 -0
- package/sparkdream/vault/v1/query.lcd.js +104 -0
- package/sparkdream/vault/v1/query.rpc.Query.d.ts +56 -0
- package/sparkdream/vault/v1/query.rpc.Query.js +116 -0
- package/sparkdream/vault/v1/tx.amino.d.ts +2 -0
- package/sparkdream/vault/v1/tx.amino.js +55 -0
- package/sparkdream/vault/v1/tx.d.ts +826 -0
- package/sparkdream/vault/v1/tx.js +1399 -0
- package/sparkdream/vault/v1/tx.registry.d.ts +109 -0
- package/sparkdream/vault/v1/tx.registry.js +163 -0
- package/sparkdream/vault/v1/tx.rpc.msg.d.ts +37 -0
- package/sparkdream/vault/v1/tx.rpc.msg.js +65 -0
- package/sparkdream/vault/v1/vault.d.ts +117 -0
- package/sparkdream/vault/v1/vault.js +166 -0
- package/sparkdream/vault/v1/vault_proposal.d.ts +158 -0
- package/sparkdream/vault/v1/vault_proposal.js +285 -0
- package/sparkdream/vault/v1/vault_signer.d.ts +54 -0
- package/sparkdream/vault/v1/vault_signer.js +88 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/varint.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgInviteMember, MsgAcceptInvitation, MsgTransferDream, MsgCreateInterim, MsgAssignInterim, MsgSubmitInterimWork, MsgApproveInterim, MsgAbandonInterim, MsgCompleteInterim, MsgProposeProject, MsgApproveProjectBudget, MsgCancelProject, MsgCreateInitiative, MsgAssignInitiative, MsgSubmitInitiativeWork, MsgApproveInitiative, MsgUnassignInitiative, MsgCompleteInitiative, MsgStake, MsgUnstake, MsgClaimStakingRewards, MsgCompoundStakingRewards, MsgCreateChallenge, MsgRespondToChallenge, MsgSubmitJurorVote, MsgAcceptJuryDuty, MsgSubmitInitiativeReview, MsgSetVerificationPolicy, MsgResolveReviewEscalation, MsgDeclineJuryDuty, MsgFundReviewBounty, MsgReclaimReviewBounty, MsgSubmitExpertTestimony, MsgChallengeContent, MsgRespondToContentChallenge, MsgRegisterZkPublicKey, MsgCreateTag, MsgReportTag, MsgResolveTagReport, MsgCreateTagBudget, MsgAwardFromTagBudget, MsgTopUpTagBudget, MsgToggleTagBudget, MsgWithdrawTagBudget, MsgBondRole, MsgUnbondRole, MsgCancelUnbondRole, MsgReportMember, MsgCosignMemberReport, MsgResolveMemberReport, MsgDefendMemberReport, MsgAppealGovAction, MsgResolveGovActionAppeal, MsgCloseInitiative, MsgFundInitiativeBounty, MsgReclaimInitiativeBounty, MsgRevokeInvitation } from "./tx";
|
|
2
|
-
export const registry = [["/sparkdream.rep.v1.MsgUpdateParams", MsgUpdateParams], ["/sparkdream.rep.v1.MsgUpdateOperationalParams", MsgUpdateOperationalParams], ["/sparkdream.rep.v1.MsgInviteMember", MsgInviteMember], ["/sparkdream.rep.v1.MsgAcceptInvitation", MsgAcceptInvitation], ["/sparkdream.rep.v1.MsgTransferDream", MsgTransferDream], ["/sparkdream.rep.v1.MsgCreateInterim", MsgCreateInterim], ["/sparkdream.rep.v1.MsgAssignInterim", MsgAssignInterim], ["/sparkdream.rep.v1.MsgSubmitInterimWork", MsgSubmitInterimWork], ["/sparkdream.rep.v1.MsgApproveInterim", MsgApproveInterim], ["/sparkdream.rep.v1.MsgAbandonInterim", MsgAbandonInterim], ["/sparkdream.rep.v1.MsgCompleteInterim", MsgCompleteInterim], ["/sparkdream.rep.v1.MsgProposeProject", MsgProposeProject], ["/sparkdream.rep.v1.MsgApproveProjectBudget", MsgApproveProjectBudget], ["/sparkdream.rep.v1.MsgCancelProject", MsgCancelProject], ["/sparkdream.rep.v1.MsgCreateInitiative", MsgCreateInitiative], ["/sparkdream.rep.v1.MsgAssignInitiative", MsgAssignInitiative], ["/sparkdream.rep.v1.MsgSubmitInitiativeWork", MsgSubmitInitiativeWork], ["/sparkdream.rep.v1.MsgApproveInitiative", MsgApproveInitiative], ["/sparkdream.rep.v1.MsgUnassignInitiative", MsgUnassignInitiative], ["/sparkdream.rep.v1.MsgCompleteInitiative", MsgCompleteInitiative], ["/sparkdream.rep.v1.MsgStake", MsgStake], ["/sparkdream.rep.v1.MsgUnstake", MsgUnstake], ["/sparkdream.rep.v1.MsgClaimStakingRewards", MsgClaimStakingRewards], ["/sparkdream.rep.v1.MsgCompoundStakingRewards", MsgCompoundStakingRewards], ["/sparkdream.rep.v1.MsgCreateChallenge", MsgCreateChallenge], ["/sparkdream.rep.v1.MsgRespondToChallenge", MsgRespondToChallenge], ["/sparkdream.rep.v1.MsgSubmitJurorVote", MsgSubmitJurorVote], ["/sparkdream.rep.v1.MsgAcceptJuryDuty", MsgAcceptJuryDuty], ["/sparkdream.rep.v1.MsgSubmitInitiativeReview", MsgSubmitInitiativeReview], ["/sparkdream.rep.v1.MsgSetVerificationPolicy", MsgSetVerificationPolicy], ["/sparkdream.rep.v1.MsgResolveReviewEscalation", MsgResolveReviewEscalation], ["/sparkdream.rep.v1.MsgDeclineJuryDuty", MsgDeclineJuryDuty], ["/sparkdream.rep.v1.MsgFundReviewBounty", MsgFundReviewBounty], ["/sparkdream.rep.v1.MsgReclaimReviewBounty", MsgReclaimReviewBounty], ["/sparkdream.rep.v1.MsgSubmitExpertTestimony", MsgSubmitExpertTestimony], ["/sparkdream.rep.v1.MsgChallengeContent", MsgChallengeContent], ["/sparkdream.rep.v1.MsgRespondToContentChallenge", MsgRespondToContentChallenge], ["/sparkdream.rep.v1.MsgRegisterZkPublicKey", MsgRegisterZkPublicKey], ["/sparkdream.rep.v1.MsgCreateTag", MsgCreateTag], ["/sparkdream.rep.v1.MsgReportTag", MsgReportTag], ["/sparkdream.rep.v1.MsgResolveTagReport", MsgResolveTagReport], ["/sparkdream.rep.v1.MsgCreateTagBudget", MsgCreateTagBudget], ["/sparkdream.rep.v1.MsgAwardFromTagBudget", MsgAwardFromTagBudget], ["/sparkdream.rep.v1.MsgTopUpTagBudget", MsgTopUpTagBudget], ["/sparkdream.rep.v1.MsgToggleTagBudget", MsgToggleTagBudget], ["/sparkdream.rep.v1.MsgWithdrawTagBudget", MsgWithdrawTagBudget], ["/sparkdream.rep.v1.MsgBondRole", MsgBondRole], ["/sparkdream.rep.v1.MsgUnbondRole", MsgUnbondRole], ["/sparkdream.rep.v1.MsgCancelUnbondRole", MsgCancelUnbondRole], ["/sparkdream.rep.v1.MsgReportMember", MsgReportMember], ["/sparkdream.rep.v1.MsgCosignMemberReport", MsgCosignMemberReport], ["/sparkdream.rep.v1.MsgResolveMemberReport", MsgResolveMemberReport], ["/sparkdream.rep.v1.MsgDefendMemberReport", MsgDefendMemberReport], ["/sparkdream.rep.v1.MsgAppealGovAction", MsgAppealGovAction], ["/sparkdream.rep.v1.MsgResolveGovActionAppeal", MsgResolveGovActionAppeal], ["/sparkdream.rep.v1.MsgCloseInitiative", MsgCloseInitiative], ["/sparkdream.rep.v1.MsgFundInitiativeBounty", MsgFundInitiativeBounty], ["/sparkdream.rep.v1.MsgReclaimInitiativeBounty", MsgReclaimInitiativeBounty], ["/sparkdream.rep.v1.MsgRevokeInvitation", MsgRevokeInvitation]];
|
|
1
|
+
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgInviteMember, MsgAcceptInvitation, MsgTransferDream, MsgCreateInterim, MsgAssignInterim, MsgSubmitInterimWork, MsgApproveInterim, MsgAbandonInterim, MsgCompleteInterim, MsgProposeProject, MsgApproveProjectBudget, MsgCancelProject, MsgCreateInitiative, MsgAssignInitiative, MsgSubmitInitiativeWork, MsgApproveInitiative, MsgUnassignInitiative, MsgCompleteInitiative, MsgStake, MsgUnstake, MsgClaimStakingRewards, MsgCompoundStakingRewards, MsgCreateChallenge, MsgRespondToChallenge, MsgSubmitJurorVote, MsgAcceptJuryDuty, MsgSubmitInitiativeReview, MsgSetVerificationPolicy, MsgResolveReviewEscalation, MsgDeclineJuryDuty, MsgFundReviewBounty, MsgReclaimReviewBounty, MsgSubmitExpertTestimony, MsgChallengeContent, MsgRespondToContentChallenge, MsgRegisterZkPublicKey, MsgCreateTag, MsgReportTag, MsgResolveTagReport, MsgCreateTagBudget, MsgAwardFromTagBudget, MsgTopUpTagBudget, MsgToggleTagBudget, MsgWithdrawTagBudget, MsgBondRole, MsgUnbondRole, MsgCancelUnbondRole, MsgReportMember, MsgCosignMemberReport, MsgResolveMemberReport, MsgDefendMemberReport, MsgAppealGovAction, MsgResolveGovActionAppeal, MsgCloseInitiative, MsgFundInitiativeBounty, MsgReclaimInitiativeBounty, MsgRevokeInvitation, MsgRequestMigration, MsgAcceptMigration, MsgCancelMigration, MsgSetRecoveryCommitment, MsgRemoveRecoveryCommitment, MsgCommitRecovery, MsgRevealRecovery, MsgObjectMigration, MsgSweepTombstone, MsgForceMigration, MsgClearZkPublicKey } from "./tx";
|
|
2
|
+
export const registry = [["/sparkdream.rep.v1.MsgUpdateParams", MsgUpdateParams], ["/sparkdream.rep.v1.MsgUpdateOperationalParams", MsgUpdateOperationalParams], ["/sparkdream.rep.v1.MsgInviteMember", MsgInviteMember], ["/sparkdream.rep.v1.MsgAcceptInvitation", MsgAcceptInvitation], ["/sparkdream.rep.v1.MsgTransferDream", MsgTransferDream], ["/sparkdream.rep.v1.MsgCreateInterim", MsgCreateInterim], ["/sparkdream.rep.v1.MsgAssignInterim", MsgAssignInterim], ["/sparkdream.rep.v1.MsgSubmitInterimWork", MsgSubmitInterimWork], ["/sparkdream.rep.v1.MsgApproveInterim", MsgApproveInterim], ["/sparkdream.rep.v1.MsgAbandonInterim", MsgAbandonInterim], ["/sparkdream.rep.v1.MsgCompleteInterim", MsgCompleteInterim], ["/sparkdream.rep.v1.MsgProposeProject", MsgProposeProject], ["/sparkdream.rep.v1.MsgApproveProjectBudget", MsgApproveProjectBudget], ["/sparkdream.rep.v1.MsgCancelProject", MsgCancelProject], ["/sparkdream.rep.v1.MsgCreateInitiative", MsgCreateInitiative], ["/sparkdream.rep.v1.MsgAssignInitiative", MsgAssignInitiative], ["/sparkdream.rep.v1.MsgSubmitInitiativeWork", MsgSubmitInitiativeWork], ["/sparkdream.rep.v1.MsgApproveInitiative", MsgApproveInitiative], ["/sparkdream.rep.v1.MsgUnassignInitiative", MsgUnassignInitiative], ["/sparkdream.rep.v1.MsgCompleteInitiative", MsgCompleteInitiative], ["/sparkdream.rep.v1.MsgStake", MsgStake], ["/sparkdream.rep.v1.MsgUnstake", MsgUnstake], ["/sparkdream.rep.v1.MsgClaimStakingRewards", MsgClaimStakingRewards], ["/sparkdream.rep.v1.MsgCompoundStakingRewards", MsgCompoundStakingRewards], ["/sparkdream.rep.v1.MsgCreateChallenge", MsgCreateChallenge], ["/sparkdream.rep.v1.MsgRespondToChallenge", MsgRespondToChallenge], ["/sparkdream.rep.v1.MsgSubmitJurorVote", MsgSubmitJurorVote], ["/sparkdream.rep.v1.MsgAcceptJuryDuty", MsgAcceptJuryDuty], ["/sparkdream.rep.v1.MsgSubmitInitiativeReview", MsgSubmitInitiativeReview], ["/sparkdream.rep.v1.MsgSetVerificationPolicy", MsgSetVerificationPolicy], ["/sparkdream.rep.v1.MsgResolveReviewEscalation", MsgResolveReviewEscalation], ["/sparkdream.rep.v1.MsgDeclineJuryDuty", MsgDeclineJuryDuty], ["/sparkdream.rep.v1.MsgFundReviewBounty", MsgFundReviewBounty], ["/sparkdream.rep.v1.MsgReclaimReviewBounty", MsgReclaimReviewBounty], ["/sparkdream.rep.v1.MsgSubmitExpertTestimony", MsgSubmitExpertTestimony], ["/sparkdream.rep.v1.MsgChallengeContent", MsgChallengeContent], ["/sparkdream.rep.v1.MsgRespondToContentChallenge", MsgRespondToContentChallenge], ["/sparkdream.rep.v1.MsgRegisterZkPublicKey", MsgRegisterZkPublicKey], ["/sparkdream.rep.v1.MsgCreateTag", MsgCreateTag], ["/sparkdream.rep.v1.MsgReportTag", MsgReportTag], ["/sparkdream.rep.v1.MsgResolveTagReport", MsgResolveTagReport], ["/sparkdream.rep.v1.MsgCreateTagBudget", MsgCreateTagBudget], ["/sparkdream.rep.v1.MsgAwardFromTagBudget", MsgAwardFromTagBudget], ["/sparkdream.rep.v1.MsgTopUpTagBudget", MsgTopUpTagBudget], ["/sparkdream.rep.v1.MsgToggleTagBudget", MsgToggleTagBudget], ["/sparkdream.rep.v1.MsgWithdrawTagBudget", MsgWithdrawTagBudget], ["/sparkdream.rep.v1.MsgBondRole", MsgBondRole], ["/sparkdream.rep.v1.MsgUnbondRole", MsgUnbondRole], ["/sparkdream.rep.v1.MsgCancelUnbondRole", MsgCancelUnbondRole], ["/sparkdream.rep.v1.MsgReportMember", MsgReportMember], ["/sparkdream.rep.v1.MsgCosignMemberReport", MsgCosignMemberReport], ["/sparkdream.rep.v1.MsgResolveMemberReport", MsgResolveMemberReport], ["/sparkdream.rep.v1.MsgDefendMemberReport", MsgDefendMemberReport], ["/sparkdream.rep.v1.MsgAppealGovAction", MsgAppealGovAction], ["/sparkdream.rep.v1.MsgResolveGovActionAppeal", MsgResolveGovActionAppeal], ["/sparkdream.rep.v1.MsgCloseInitiative", MsgCloseInitiative], ["/sparkdream.rep.v1.MsgFundInitiativeBounty", MsgFundInitiativeBounty], ["/sparkdream.rep.v1.MsgReclaimInitiativeBounty", MsgReclaimInitiativeBounty], ["/sparkdream.rep.v1.MsgRevokeInvitation", MsgRevokeInvitation], ["/sparkdream.rep.v1.MsgRequestMigration", MsgRequestMigration], ["/sparkdream.rep.v1.MsgAcceptMigration", MsgAcceptMigration], ["/sparkdream.rep.v1.MsgCancelMigration", MsgCancelMigration], ["/sparkdream.rep.v1.MsgSetRecoveryCommitment", MsgSetRecoveryCommitment], ["/sparkdream.rep.v1.MsgRemoveRecoveryCommitment", MsgRemoveRecoveryCommitment], ["/sparkdream.rep.v1.MsgCommitRecovery", MsgCommitRecovery], ["/sparkdream.rep.v1.MsgRevealRecovery", MsgRevealRecovery], ["/sparkdream.rep.v1.MsgObjectMigration", MsgObjectMigration], ["/sparkdream.rep.v1.MsgSweepTombstone", MsgSweepTombstone], ["/sparkdream.rep.v1.MsgForceMigration", MsgForceMigration], ["/sparkdream.rep.v1.MsgClearZkPublicKey", MsgClearZkPublicKey]];
|
|
3
3
|
export const load = (protoRegistry) => {
|
|
4
4
|
registry.forEach(([typeUrl, mod]) => {
|
|
5
5
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -360,6 +360,72 @@ export const MessageComposer = {
|
|
|
360
360
|
typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitation",
|
|
361
361
|
value: MsgRevokeInvitation.encode(value).finish()
|
|
362
362
|
};
|
|
363
|
+
},
|
|
364
|
+
requestMigration(value) {
|
|
365
|
+
return {
|
|
366
|
+
typeUrl: "/sparkdream.rep.v1.MsgRequestMigration",
|
|
367
|
+
value: MsgRequestMigration.encode(value).finish()
|
|
368
|
+
};
|
|
369
|
+
},
|
|
370
|
+
acceptMigration(value) {
|
|
371
|
+
return {
|
|
372
|
+
typeUrl: "/sparkdream.rep.v1.MsgAcceptMigration",
|
|
373
|
+
value: MsgAcceptMigration.encode(value).finish()
|
|
374
|
+
};
|
|
375
|
+
},
|
|
376
|
+
cancelMigration(value) {
|
|
377
|
+
return {
|
|
378
|
+
typeUrl: "/sparkdream.rep.v1.MsgCancelMigration",
|
|
379
|
+
value: MsgCancelMigration.encode(value).finish()
|
|
380
|
+
};
|
|
381
|
+
},
|
|
382
|
+
setRecoveryCommitment(value) {
|
|
383
|
+
return {
|
|
384
|
+
typeUrl: "/sparkdream.rep.v1.MsgSetRecoveryCommitment",
|
|
385
|
+
value: MsgSetRecoveryCommitment.encode(value).finish()
|
|
386
|
+
};
|
|
387
|
+
},
|
|
388
|
+
removeRecoveryCommitment(value) {
|
|
389
|
+
return {
|
|
390
|
+
typeUrl: "/sparkdream.rep.v1.MsgRemoveRecoveryCommitment",
|
|
391
|
+
value: MsgRemoveRecoveryCommitment.encode(value).finish()
|
|
392
|
+
};
|
|
393
|
+
},
|
|
394
|
+
commitRecovery(value) {
|
|
395
|
+
return {
|
|
396
|
+
typeUrl: "/sparkdream.rep.v1.MsgCommitRecovery",
|
|
397
|
+
value: MsgCommitRecovery.encode(value).finish()
|
|
398
|
+
};
|
|
399
|
+
},
|
|
400
|
+
revealRecovery(value) {
|
|
401
|
+
return {
|
|
402
|
+
typeUrl: "/sparkdream.rep.v1.MsgRevealRecovery",
|
|
403
|
+
value: MsgRevealRecovery.encode(value).finish()
|
|
404
|
+
};
|
|
405
|
+
},
|
|
406
|
+
objectMigration(value) {
|
|
407
|
+
return {
|
|
408
|
+
typeUrl: "/sparkdream.rep.v1.MsgObjectMigration",
|
|
409
|
+
value: MsgObjectMigration.encode(value).finish()
|
|
410
|
+
};
|
|
411
|
+
},
|
|
412
|
+
sweepTombstone(value) {
|
|
413
|
+
return {
|
|
414
|
+
typeUrl: "/sparkdream.rep.v1.MsgSweepTombstone",
|
|
415
|
+
value: MsgSweepTombstone.encode(value).finish()
|
|
416
|
+
};
|
|
417
|
+
},
|
|
418
|
+
forceMigration(value) {
|
|
419
|
+
return {
|
|
420
|
+
typeUrl: "/sparkdream.rep.v1.MsgForceMigration",
|
|
421
|
+
value: MsgForceMigration.encode(value).finish()
|
|
422
|
+
};
|
|
423
|
+
},
|
|
424
|
+
clearZkPublicKey(value) {
|
|
425
|
+
return {
|
|
426
|
+
typeUrl: "/sparkdream.rep.v1.MsgClearZkPublicKey",
|
|
427
|
+
value: MsgClearZkPublicKey.encode(value).finish()
|
|
428
|
+
};
|
|
363
429
|
}
|
|
364
430
|
},
|
|
365
431
|
withTypeUrl: {
|
|
@@ -716,6 +782,72 @@ export const MessageComposer = {
|
|
|
716
782
|
typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitation",
|
|
717
783
|
value
|
|
718
784
|
};
|
|
785
|
+
},
|
|
786
|
+
requestMigration(value) {
|
|
787
|
+
return {
|
|
788
|
+
typeUrl: "/sparkdream.rep.v1.MsgRequestMigration",
|
|
789
|
+
value
|
|
790
|
+
};
|
|
791
|
+
},
|
|
792
|
+
acceptMigration(value) {
|
|
793
|
+
return {
|
|
794
|
+
typeUrl: "/sparkdream.rep.v1.MsgAcceptMigration",
|
|
795
|
+
value
|
|
796
|
+
};
|
|
797
|
+
},
|
|
798
|
+
cancelMigration(value) {
|
|
799
|
+
return {
|
|
800
|
+
typeUrl: "/sparkdream.rep.v1.MsgCancelMigration",
|
|
801
|
+
value
|
|
802
|
+
};
|
|
803
|
+
},
|
|
804
|
+
setRecoveryCommitment(value) {
|
|
805
|
+
return {
|
|
806
|
+
typeUrl: "/sparkdream.rep.v1.MsgSetRecoveryCommitment",
|
|
807
|
+
value
|
|
808
|
+
};
|
|
809
|
+
},
|
|
810
|
+
removeRecoveryCommitment(value) {
|
|
811
|
+
return {
|
|
812
|
+
typeUrl: "/sparkdream.rep.v1.MsgRemoveRecoveryCommitment",
|
|
813
|
+
value
|
|
814
|
+
};
|
|
815
|
+
},
|
|
816
|
+
commitRecovery(value) {
|
|
817
|
+
return {
|
|
818
|
+
typeUrl: "/sparkdream.rep.v1.MsgCommitRecovery",
|
|
819
|
+
value
|
|
820
|
+
};
|
|
821
|
+
},
|
|
822
|
+
revealRecovery(value) {
|
|
823
|
+
return {
|
|
824
|
+
typeUrl: "/sparkdream.rep.v1.MsgRevealRecovery",
|
|
825
|
+
value
|
|
826
|
+
};
|
|
827
|
+
},
|
|
828
|
+
objectMigration(value) {
|
|
829
|
+
return {
|
|
830
|
+
typeUrl: "/sparkdream.rep.v1.MsgObjectMigration",
|
|
831
|
+
value
|
|
832
|
+
};
|
|
833
|
+
},
|
|
834
|
+
sweepTombstone(value) {
|
|
835
|
+
return {
|
|
836
|
+
typeUrl: "/sparkdream.rep.v1.MsgSweepTombstone",
|
|
837
|
+
value
|
|
838
|
+
};
|
|
839
|
+
},
|
|
840
|
+
forceMigration(value) {
|
|
841
|
+
return {
|
|
842
|
+
typeUrl: "/sparkdream.rep.v1.MsgForceMigration",
|
|
843
|
+
value
|
|
844
|
+
};
|
|
845
|
+
},
|
|
846
|
+
clearZkPublicKey(value) {
|
|
847
|
+
return {
|
|
848
|
+
typeUrl: "/sparkdream.rep.v1.MsgClearZkPublicKey",
|
|
849
|
+
value
|
|
850
|
+
};
|
|
719
851
|
}
|
|
720
852
|
},
|
|
721
853
|
fromPartial: {
|
|
@@ -1072,6 +1204,72 @@ export const MessageComposer = {
|
|
|
1072
1204
|
typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitation",
|
|
1073
1205
|
value: MsgRevokeInvitation.fromPartial(value)
|
|
1074
1206
|
};
|
|
1207
|
+
},
|
|
1208
|
+
requestMigration(value) {
|
|
1209
|
+
return {
|
|
1210
|
+
typeUrl: "/sparkdream.rep.v1.MsgRequestMigration",
|
|
1211
|
+
value: MsgRequestMigration.fromPartial(value)
|
|
1212
|
+
};
|
|
1213
|
+
},
|
|
1214
|
+
acceptMigration(value) {
|
|
1215
|
+
return {
|
|
1216
|
+
typeUrl: "/sparkdream.rep.v1.MsgAcceptMigration",
|
|
1217
|
+
value: MsgAcceptMigration.fromPartial(value)
|
|
1218
|
+
};
|
|
1219
|
+
},
|
|
1220
|
+
cancelMigration(value) {
|
|
1221
|
+
return {
|
|
1222
|
+
typeUrl: "/sparkdream.rep.v1.MsgCancelMigration",
|
|
1223
|
+
value: MsgCancelMigration.fromPartial(value)
|
|
1224
|
+
};
|
|
1225
|
+
},
|
|
1226
|
+
setRecoveryCommitment(value) {
|
|
1227
|
+
return {
|
|
1228
|
+
typeUrl: "/sparkdream.rep.v1.MsgSetRecoveryCommitment",
|
|
1229
|
+
value: MsgSetRecoveryCommitment.fromPartial(value)
|
|
1230
|
+
};
|
|
1231
|
+
},
|
|
1232
|
+
removeRecoveryCommitment(value) {
|
|
1233
|
+
return {
|
|
1234
|
+
typeUrl: "/sparkdream.rep.v1.MsgRemoveRecoveryCommitment",
|
|
1235
|
+
value: MsgRemoveRecoveryCommitment.fromPartial(value)
|
|
1236
|
+
};
|
|
1237
|
+
},
|
|
1238
|
+
commitRecovery(value) {
|
|
1239
|
+
return {
|
|
1240
|
+
typeUrl: "/sparkdream.rep.v1.MsgCommitRecovery",
|
|
1241
|
+
value: MsgCommitRecovery.fromPartial(value)
|
|
1242
|
+
};
|
|
1243
|
+
},
|
|
1244
|
+
revealRecovery(value) {
|
|
1245
|
+
return {
|
|
1246
|
+
typeUrl: "/sparkdream.rep.v1.MsgRevealRecovery",
|
|
1247
|
+
value: MsgRevealRecovery.fromPartial(value)
|
|
1248
|
+
};
|
|
1249
|
+
},
|
|
1250
|
+
objectMigration(value) {
|
|
1251
|
+
return {
|
|
1252
|
+
typeUrl: "/sparkdream.rep.v1.MsgObjectMigration",
|
|
1253
|
+
value: MsgObjectMigration.fromPartial(value)
|
|
1254
|
+
};
|
|
1255
|
+
},
|
|
1256
|
+
sweepTombstone(value) {
|
|
1257
|
+
return {
|
|
1258
|
+
typeUrl: "/sparkdream.rep.v1.MsgSweepTombstone",
|
|
1259
|
+
value: MsgSweepTombstone.fromPartial(value)
|
|
1260
|
+
};
|
|
1261
|
+
},
|
|
1262
|
+
forceMigration(value) {
|
|
1263
|
+
return {
|
|
1264
|
+
typeUrl: "/sparkdream.rep.v1.MsgForceMigration",
|
|
1265
|
+
value: MsgForceMigration.fromPartial(value)
|
|
1266
|
+
};
|
|
1267
|
+
},
|
|
1268
|
+
clearZkPublicKey(value) {
|
|
1269
|
+
return {
|
|
1270
|
+
typeUrl: "/sparkdream.rep.v1.MsgClearZkPublicKey",
|
|
1271
|
+
value: MsgClearZkPublicKey.fromPartial(value)
|
|
1272
|
+
};
|
|
1075
1273
|
}
|
|
1076
1274
|
}
|
|
1077
1275
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinaryReader } from "../../../binary";
|
|
2
|
-
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgInviteMember, MsgInviteMemberResponse, MsgAcceptInvitation, MsgAcceptInvitationResponse, MsgTransferDream, MsgTransferDreamResponse, MsgCreateInterim, MsgCreateInterimResponse, MsgAssignInterim, MsgAssignInterimResponse, MsgSubmitInterimWork, MsgSubmitInterimWorkResponse, MsgApproveInterim, MsgApproveInterimResponse, MsgAbandonInterim, MsgAbandonInterimResponse, MsgCompleteInterim, MsgCompleteInterimResponse, MsgProposeProject, MsgProposeProjectResponse, MsgApproveProjectBudget, MsgApproveProjectBudgetResponse, MsgCancelProject, MsgCancelProjectResponse, MsgCreateInitiative, MsgCreateInitiativeResponse, MsgAssignInitiative, MsgAssignInitiativeResponse, MsgSubmitInitiativeWork, MsgSubmitInitiativeWorkResponse, MsgApproveInitiative, MsgApproveInitiativeResponse, MsgUnassignInitiative, MsgUnassignInitiativeResponse, MsgCompleteInitiative, MsgCompleteInitiativeResponse, MsgStake, MsgStakeResponse, MsgUnstake, MsgUnstakeResponse, MsgClaimStakingRewards, MsgClaimStakingRewardsResponse, MsgCompoundStakingRewards, MsgCompoundStakingRewardsResponse, MsgCreateChallenge, MsgCreateChallengeResponse, MsgRespondToChallenge, MsgRespondToChallengeResponse, MsgSubmitJurorVote, MsgSubmitJurorVoteResponse, MsgAcceptJuryDuty, MsgAcceptJuryDutyResponse, MsgSubmitInitiativeReview, MsgSubmitInitiativeReviewResponse, MsgSetVerificationPolicy, MsgSetVerificationPolicyResponse, MsgResolveReviewEscalation, MsgResolveReviewEscalationResponse, MsgDeclineJuryDuty, MsgDeclineJuryDutyResponse, MsgFundReviewBounty, MsgFundReviewBountyResponse, MsgReclaimReviewBounty, MsgReclaimReviewBountyResponse, MsgSubmitExpertTestimony, MsgSubmitExpertTestimonyResponse, MsgChallengeContent, MsgChallengeContentResponse, MsgRespondToContentChallenge, MsgRespondToContentChallengeResponse, MsgRegisterZkPublicKey, MsgRegisterZkPublicKeyResponse, MsgCreateTag, MsgCreateTagResponse, MsgReportTag, MsgReportTagResponse, MsgResolveTagReport, MsgResolveTagReportResponse, MsgCreateTagBudget, MsgCreateTagBudgetResponse, MsgAwardFromTagBudget, MsgAwardFromTagBudgetResponse, MsgTopUpTagBudget, MsgTopUpTagBudgetResponse, MsgToggleTagBudget, MsgToggleTagBudgetResponse, MsgWithdrawTagBudget, MsgWithdrawTagBudgetResponse, MsgBondRole, MsgBondRoleResponse, MsgUnbondRole, MsgUnbondRoleResponse, MsgCancelUnbondRole, MsgCancelUnbondRoleResponse, MsgReportMember, MsgReportMemberResponse, MsgCosignMemberReport, MsgCosignMemberReportResponse, MsgResolveMemberReport, MsgResolveMemberReportResponse, MsgDefendMemberReport, MsgDefendMemberReportResponse, MsgAppealGovAction, MsgAppealGovActionResponse, MsgResolveGovActionAppeal, MsgResolveGovActionAppealResponse, MsgCloseInitiative, MsgCloseInitiativeResponse, MsgFundInitiativeBounty, MsgFundInitiativeBountyResponse, MsgReclaimInitiativeBounty, MsgReclaimInitiativeBountyResponse, MsgRevokeInvitation, MsgRevokeInvitationResponse } from "./tx";
|
|
2
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgInviteMember, MsgInviteMemberResponse, MsgAcceptInvitation, MsgAcceptInvitationResponse, MsgTransferDream, MsgTransferDreamResponse, MsgCreateInterim, MsgCreateInterimResponse, MsgAssignInterim, MsgAssignInterimResponse, MsgSubmitInterimWork, MsgSubmitInterimWorkResponse, MsgApproveInterim, MsgApproveInterimResponse, MsgAbandonInterim, MsgAbandonInterimResponse, MsgCompleteInterim, MsgCompleteInterimResponse, MsgProposeProject, MsgProposeProjectResponse, MsgApproveProjectBudget, MsgApproveProjectBudgetResponse, MsgCancelProject, MsgCancelProjectResponse, MsgCreateInitiative, MsgCreateInitiativeResponse, MsgAssignInitiative, MsgAssignInitiativeResponse, MsgSubmitInitiativeWork, MsgSubmitInitiativeWorkResponse, MsgApproveInitiative, MsgApproveInitiativeResponse, MsgUnassignInitiative, MsgUnassignInitiativeResponse, MsgCompleteInitiative, MsgCompleteInitiativeResponse, MsgStake, MsgStakeResponse, MsgUnstake, MsgUnstakeResponse, MsgClaimStakingRewards, MsgClaimStakingRewardsResponse, MsgCompoundStakingRewards, MsgCompoundStakingRewardsResponse, MsgCreateChallenge, MsgCreateChallengeResponse, MsgRespondToChallenge, MsgRespondToChallengeResponse, MsgSubmitJurorVote, MsgSubmitJurorVoteResponse, MsgAcceptJuryDuty, MsgAcceptJuryDutyResponse, MsgSubmitInitiativeReview, MsgSubmitInitiativeReviewResponse, MsgSetVerificationPolicy, MsgSetVerificationPolicyResponse, MsgResolveReviewEscalation, MsgResolveReviewEscalationResponse, MsgDeclineJuryDuty, MsgDeclineJuryDutyResponse, MsgFundReviewBounty, MsgFundReviewBountyResponse, MsgReclaimReviewBounty, MsgReclaimReviewBountyResponse, MsgSubmitExpertTestimony, MsgSubmitExpertTestimonyResponse, MsgChallengeContent, MsgChallengeContentResponse, MsgRespondToContentChallenge, MsgRespondToContentChallengeResponse, MsgRegisterZkPublicKey, MsgRegisterZkPublicKeyResponse, MsgCreateTag, MsgCreateTagResponse, MsgReportTag, MsgReportTagResponse, MsgResolveTagReport, MsgResolveTagReportResponse, MsgCreateTagBudget, MsgCreateTagBudgetResponse, MsgAwardFromTagBudget, MsgAwardFromTagBudgetResponse, MsgTopUpTagBudget, MsgTopUpTagBudgetResponse, MsgToggleTagBudget, MsgToggleTagBudgetResponse, MsgWithdrawTagBudget, MsgWithdrawTagBudgetResponse, MsgBondRole, MsgBondRoleResponse, MsgUnbondRole, MsgUnbondRoleResponse, MsgCancelUnbondRole, MsgCancelUnbondRoleResponse, MsgReportMember, MsgReportMemberResponse, MsgCosignMemberReport, MsgCosignMemberReportResponse, MsgResolveMemberReport, MsgResolveMemberReportResponse, MsgDefendMemberReport, MsgDefendMemberReportResponse, MsgAppealGovAction, MsgAppealGovActionResponse, MsgResolveGovActionAppeal, MsgResolveGovActionAppealResponse, MsgCloseInitiative, MsgCloseInitiativeResponse, MsgFundInitiativeBounty, MsgFundInitiativeBountyResponse, MsgReclaimInitiativeBounty, MsgReclaimInitiativeBountyResponse, MsgRevokeInvitation, MsgRevokeInvitationResponse, MsgRequestMigration, MsgRequestMigrationResponse, MsgAcceptMigration, MsgAcceptMigrationResponse, MsgCancelMigration, MsgCancelMigrationResponse, MsgSetRecoveryCommitment, MsgSetRecoveryCommitmentResponse, MsgRemoveRecoveryCommitment, MsgRemoveRecoveryCommitmentResponse, MsgCommitRecovery, MsgCommitRecoveryResponse, MsgRevealRecovery, MsgRevealRecoveryResponse, MsgObjectMigration, MsgObjectMigrationResponse, MsgSweepTombstone, MsgSweepTombstoneResponse, MsgForceMigration, MsgForceMigrationResponse, MsgClearZkPublicKey, MsgClearZkPublicKeyResponse } from "./tx";
|
|
3
3
|
export class MsgClientImpl {
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
@@ -371,6 +371,72 @@ export class MsgClientImpl {
|
|
|
371
371
|
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "RevokeInvitation", data);
|
|
372
372
|
return promise.then(data => MsgRevokeInvitationResponse.decode(new BinaryReader(data)));
|
|
373
373
|
};
|
|
374
|
+
/* RequestMigration defines the RequestMigration RPC. */
|
|
375
|
+
requestMigration = async (request) => {
|
|
376
|
+
const data = MsgRequestMigration.encode(request).finish();
|
|
377
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "RequestMigration", data);
|
|
378
|
+
return promise.then(data => MsgRequestMigrationResponse.decode(new BinaryReader(data)));
|
|
379
|
+
};
|
|
380
|
+
/* AcceptMigration defines the AcceptMigration RPC. */
|
|
381
|
+
acceptMigration = async (request) => {
|
|
382
|
+
const data = MsgAcceptMigration.encode(request).finish();
|
|
383
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "AcceptMigration", data);
|
|
384
|
+
return promise.then(data => MsgAcceptMigrationResponse.decode(new BinaryReader(data)));
|
|
385
|
+
};
|
|
386
|
+
/* CancelMigration defines the CancelMigration RPC. */
|
|
387
|
+
cancelMigration = async (request) => {
|
|
388
|
+
const data = MsgCancelMigration.encode(request).finish();
|
|
389
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "CancelMigration", data);
|
|
390
|
+
return promise.then(data => MsgCancelMigrationResponse.decode(new BinaryReader(data)));
|
|
391
|
+
};
|
|
392
|
+
/* SetRecoveryCommitment defines the SetRecoveryCommitment RPC. */
|
|
393
|
+
setRecoveryCommitment = async (request) => {
|
|
394
|
+
const data = MsgSetRecoveryCommitment.encode(request).finish();
|
|
395
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "SetRecoveryCommitment", data);
|
|
396
|
+
return promise.then(data => MsgSetRecoveryCommitmentResponse.decode(new BinaryReader(data)));
|
|
397
|
+
};
|
|
398
|
+
/* RemoveRecoveryCommitment defines the RemoveRecoveryCommitment RPC. */
|
|
399
|
+
removeRecoveryCommitment = async (request) => {
|
|
400
|
+
const data = MsgRemoveRecoveryCommitment.encode(request).finish();
|
|
401
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "RemoveRecoveryCommitment", data);
|
|
402
|
+
return promise.then(data => MsgRemoveRecoveryCommitmentResponse.decode(new BinaryReader(data)));
|
|
403
|
+
};
|
|
404
|
+
/* CommitRecovery defines the CommitRecovery RPC. */
|
|
405
|
+
commitRecovery = async (request) => {
|
|
406
|
+
const data = MsgCommitRecovery.encode(request).finish();
|
|
407
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "CommitRecovery", data);
|
|
408
|
+
return promise.then(data => MsgCommitRecoveryResponse.decode(new BinaryReader(data)));
|
|
409
|
+
};
|
|
410
|
+
/* RevealRecovery defines the RevealRecovery RPC. */
|
|
411
|
+
revealRecovery = async (request) => {
|
|
412
|
+
const data = MsgRevealRecovery.encode(request).finish();
|
|
413
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "RevealRecovery", data);
|
|
414
|
+
return promise.then(data => MsgRevealRecoveryResponse.decode(new BinaryReader(data)));
|
|
415
|
+
};
|
|
416
|
+
/* ObjectMigration defines the ObjectMigration RPC. */
|
|
417
|
+
objectMigration = async (request) => {
|
|
418
|
+
const data = MsgObjectMigration.encode(request).finish();
|
|
419
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "ObjectMigration", data);
|
|
420
|
+
return promise.then(data => MsgObjectMigrationResponse.decode(new BinaryReader(data)));
|
|
421
|
+
};
|
|
422
|
+
/* SweepTombstone defines the SweepTombstone RPC. */
|
|
423
|
+
sweepTombstone = async (request) => {
|
|
424
|
+
const data = MsgSweepTombstone.encode(request).finish();
|
|
425
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "SweepTombstone", data);
|
|
426
|
+
return promise.then(data => MsgSweepTombstoneResponse.decode(new BinaryReader(data)));
|
|
427
|
+
};
|
|
428
|
+
/* ForceMigration defines the ForceMigration RPC (COUNCIL path). */
|
|
429
|
+
forceMigration = async (request) => {
|
|
430
|
+
const data = MsgForceMigration.encode(request).finish();
|
|
431
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "ForceMigration", data);
|
|
432
|
+
return promise.then(data => MsgForceMigrationResponse.decode(new BinaryReader(data)));
|
|
433
|
+
};
|
|
434
|
+
/* ClearZkPublicKey zeroes the member's ZK key at once (leaked shield secret). */
|
|
435
|
+
clearZkPublicKey = async (request) => {
|
|
436
|
+
const data = MsgClearZkPublicKey.encode(request).finish();
|
|
437
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "ClearZkPublicKey", data);
|
|
438
|
+
return promise.then(data => MsgClearZkPublicKeyResponse.decode(new BinaryReader(data)));
|
|
439
|
+
};
|
|
374
440
|
}
|
|
375
441
|
export const createClientImpl = (rpc) => {
|
|
376
442
|
return new MsgClientImpl(rpc);
|
|
@@ -1,75 +1,17 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
// HAND-WRITTEN OVERRIDE — overlaid
|
|
3
|
-
//
|
|
2
|
+
// HAND-WRITTEN OVERRIDE — overlaid on top of the Telescope-generated tx.amino.ts
|
|
3
|
+
// by scripts/codegen.ts after each codegen run. Do not let codegen wipe this.
|
|
4
4
|
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"/sparkdream.reveal.v1.MsgPropose": {
|
|
19
|
-
aminoType: "sparkdream/x/reveal/MsgPropose",
|
|
20
|
-
toAmino(message) {
|
|
21
|
-
const obj = {};
|
|
22
|
-
obj.contributor = message.contributor === "" ? undefined : message.contributor;
|
|
23
|
-
obj.project_name = message.projectName === "" ? undefined : message.projectName;
|
|
24
|
-
obj.description = message.description === "" ? undefined : message.description;
|
|
25
|
-
obj.total_valuation = message.totalValuation === "" ? undefined : message.totalValuation;
|
|
26
|
-
obj.tranches = (message.tranches?.length ?? 0) > 0
|
|
27
|
-
? message.tranches.map((e) => e ? TrancheDef.toAmino(e) : undefined)
|
|
28
|
-
: undefined;
|
|
29
|
-
obj.initial_license = message.initialLicense === "" ? undefined : message.initialLicense;
|
|
30
|
-
obj.final_license = message.finalLicense === "" ? undefined : message.finalLicense;
|
|
31
|
-
return obj;
|
|
32
|
-
},
|
|
33
|
-
fromAmino: MsgPropose.fromAmino,
|
|
34
|
-
},
|
|
35
|
-
"/sparkdream.reveal.v1.MsgApprove": {
|
|
36
|
-
aminoType: "sparkdream/x/reveal/MsgApprove",
|
|
37
|
-
toAmino: MsgApprove.toAmino,
|
|
38
|
-
fromAmino: MsgApprove.fromAmino,
|
|
39
|
-
},
|
|
40
|
-
"/sparkdream.reveal.v1.MsgReject": {
|
|
41
|
-
aminoType: "sparkdream/x/reveal/MsgReject",
|
|
42
|
-
toAmino: MsgReject.toAmino,
|
|
43
|
-
fromAmino: MsgReject.fromAmino,
|
|
44
|
-
},
|
|
45
|
-
"/sparkdream.reveal.v1.MsgStake": {
|
|
46
|
-
aminoType: "sparkdream/x/reveal/MsgStake",
|
|
47
|
-
toAmino: MsgStake.toAmino,
|
|
48
|
-
fromAmino: MsgStake.fromAmino,
|
|
49
|
-
},
|
|
50
|
-
"/sparkdream.reveal.v1.MsgWithdraw": {
|
|
51
|
-
aminoType: "sparkdream/x/reveal/MsgWithdraw",
|
|
52
|
-
toAmino: MsgWithdraw.toAmino,
|
|
53
|
-
fromAmino: MsgWithdraw.fromAmino,
|
|
54
|
-
},
|
|
55
|
-
"/sparkdream.reveal.v1.MsgReveal": {
|
|
56
|
-
aminoType: "sparkdream/x/reveal/MsgReveal",
|
|
57
|
-
toAmino: MsgReveal.toAmino,
|
|
58
|
-
fromAmino: MsgReveal.fromAmino,
|
|
59
|
-
},
|
|
60
|
-
"/sparkdream.reveal.v1.MsgVerify": {
|
|
61
|
-
aminoType: "sparkdream/x/reveal/MsgVerify",
|
|
62
|
-
toAmino: MsgVerify.toAmino,
|
|
63
|
-
fromAmino: MsgVerify.fromAmino,
|
|
64
|
-
},
|
|
65
|
-
"/sparkdream.reveal.v1.MsgCancel": {
|
|
66
|
-
aminoType: "sparkdream/x/reveal/MsgCancel",
|
|
67
|
-
toAmino: MsgCancel.toAmino,
|
|
68
|
-
fromAmino: MsgCancel.fromAmino,
|
|
69
|
-
},
|
|
70
|
-
"/sparkdream.reveal.v1.MsgResolveDispute": {
|
|
71
|
-
aminoType: "sparkdream/x/reveal/MsgResolveDispute",
|
|
72
|
-
toAmino: MsgResolveDispute.toAmino,
|
|
73
|
-
fromAmino: MsgResolveDispute.fromAmino,
|
|
74
|
-
},
|
|
75
|
-
};
|
|
5
|
+
// Why: Telescope's generated converters (and the per-message overrides that
|
|
6
|
+
// used to patch them) disagree with the chain's aminojson on empty lists,
|
|
7
|
+
// empty bytes, Dec strings, oneofs and non-nullable messages, and went stale
|
|
8
|
+
// whenever a proto changed. Every Msg of x/reveal is converted by the
|
|
9
|
+
// schema-driven engine in chain-amino.ts instead, which renders amino JSON
|
|
10
|
+
// from the protobuf bytes exactly as the chain does.
|
|
11
|
+
//
|
|
12
|
+
// MAINTENANCE: none per message. The schema (amino-schema.ts, regenerated from
|
|
13
|
+
// the chain on every proto sync) lists every Msg; __tests__/amino-golden.test.ts
|
|
14
|
+
// checks them all against the chain's encoder.
|
|
15
|
+
import * as tx from "./tx";
|
|
16
|
+
import { chainAminoConverters } from "../../../chain-amino";
|
|
17
|
+
export const AminoConverter = chainAminoConverters("sparkdream.reveal.v1", tx);
|
|
@@ -121,6 +121,9 @@ export const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
|
121
121
|
},
|
|
122
122
|
split: {
|
|
123
123
|
v1: (await import("./split/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
124
|
+
},
|
|
125
|
+
vault: {
|
|
126
|
+
v1: (await import("./vault/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
124
127
|
}
|
|
125
128
|
}
|
|
126
129
|
};
|
package/esm/sparkdream/rpc.tx.js
CHANGED
|
@@ -104,6 +104,9 @@ export const createRPCMsgClient = async ({ rpc }) => ({
|
|
|
104
104
|
},
|
|
105
105
|
split: {
|
|
106
106
|
v1: new (await import("./split/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
107
|
+
},
|
|
108
|
+
vault: {
|
|
109
|
+
v1: new (await import("./vault/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
107
110
|
}
|
|
108
111
|
}
|
|
109
112
|
});
|