@sparkdreamnft/sparkdreamjs 0.0.35 → 0.0.37
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/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/sparkdream/bundle.js +305 -301
- package/esm/sparkdream/federation/v1/genesis.js +101 -3
- package/esm/sparkdream/federation/v1/params.js +129 -117
- package/esm/sparkdream/federation/v1/query.js +204 -7
- package/esm/sparkdream/federation/v1/query.lcd.js +11 -2
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +16 -3
- package/esm/sparkdream/federation/v1/types.js +73 -1
- package/esm/sparkdream/federation/v1/verifier_activity.js +143 -45
- package/esm/sparkdream/rep/v1/{interim_template.js → acceptance_criteria.js} +13 -123
- package/esm/sparkdream/rep/v1/accountability.js +11 -0
- package/esm/sparkdream/rep/v1/bonded_role.js +50 -1
- package/esm/sparkdream/rep/v1/challenge.js +21 -9
- package/esm/sparkdream/rep/v1/genesis.js +198 -59
- package/esm/sparkdream/rep/v1/initiative.js +160 -49
- package/esm/sparkdream/rep/v1/initiative_review.js +179 -0
- package/esm/sparkdream/rep/v1/jury_participation.js +39 -9
- package/esm/sparkdream/rep/v1/jury_review.js +40 -1
- package/esm/sparkdream/rep/v1/member_report.js +8 -8
- package/esm/sparkdream/rep/v1/member_warning.js +2 -2
- package/esm/sparkdream/rep/v1/params.js +806 -2
- package/esm/sparkdream/rep/v1/query.js +1446 -325
- package/esm/sparkdream/rep/v1/query.lcd.js +49 -16
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +67 -21
- package/esm/sparkdream/rep/v1/review_bounty.js +215 -0
- package/esm/sparkdream/rep/v1/role_activity.js +13 -1
- package/esm/sparkdream/rep/v1/tag_report.js +2 -2
- package/esm/sparkdream/rep/v1/tx.js +2610 -1442
- package/esm/sparkdream/rep/v1/tx.registry.js +128 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +43 -1
- package/esm/tendermint/bundle.js +18 -18
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +9709 -9199
- package/sparkdream/bundle.js +305 -301
- package/sparkdream/federation/v1/genesis.d.ts +66 -0
- package/sparkdream/federation/v1/genesis.js +102 -4
- package/sparkdream/federation/v1/params.d.ts +72 -10
- package/sparkdream/federation/v1/params.js +129 -117
- package/sparkdream/federation/v1/query.d.ts +120 -3
- package/sparkdream/federation/v1/query.js +204 -7
- package/sparkdream/federation/v1/query.lcd.d.ts +2 -1
- package/sparkdream/federation/v1/query.lcd.js +11 -2
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +13 -3
- package/sparkdream/federation/v1/query.rpc.Query.js +15 -2
- package/sparkdream/federation/v1/types.d.ts +44 -0
- package/sparkdream/federation/v1/types.js +73 -1
- package/sparkdream/federation/v1/verifier_activity.d.ts +151 -68
- package/sparkdream/federation/v1/verifier_activity.js +144 -46
- package/sparkdream/rep/v1/{interim_template.d.ts → acceptance_criteria.d.ts} +39 -52
- package/sparkdream/rep/v1/{interim_template.js → acceptance_criteria.js} +14 -124
- package/sparkdream/rep/v1/accountability.d.ts +6 -0
- package/sparkdream/rep/v1/accountability.js +11 -0
- package/sparkdream/rep/v1/bonded_role.d.ts +50 -0
- package/sparkdream/rep/v1/bonded_role.js +50 -1
- package/sparkdream/rep/v1/challenge.d.ts +14 -0
- package/sparkdream/rep/v1/challenge.js +21 -9
- package/sparkdream/rep/v1/genesis.d.ts +100 -3
- package/sparkdream/rep/v1/genesis.js +199 -60
- package/sparkdream/rep/v1/initiative.d.ts +106 -2
- package/sparkdream/rep/v1/initiative.js +163 -50
- package/sparkdream/rep/v1/initiative_review.d.ts +121 -0
- package/sparkdream/rep/v1/initiative_review.js +182 -0
- package/sparkdream/rep/v1/jury_participation.d.ts +89 -5
- package/sparkdream/rep/v1/jury_participation.js +39 -9
- package/sparkdream/rep/v1/jury_review.d.ts +38 -0
- package/sparkdream/rep/v1/jury_review.js +40 -1
- package/sparkdream/rep/v1/member_report.js +8 -8
- package/sparkdream/rep/v1/member_warning.js +2 -2
- package/sparkdream/rep/v1/params.d.ts +764 -16
- package/sparkdream/rep/v1/params.js +806 -2
- package/sparkdream/rep/v1/query.d.ts +929 -179
- package/sparkdream/rep/v1/query.js +1450 -329
- package/sparkdream/rep/v1/query.lcd.d.ts +7 -3
- package/sparkdream/rep/v1/query.lcd.js +49 -16
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +47 -9
- package/sparkdream/rep/v1/query.rpc.Query.js +66 -20
- package/sparkdream/rep/v1/review_bounty.d.ts +168 -0
- package/sparkdream/rep/v1/review_bounty.js +218 -0
- package/sparkdream/rep/v1/role_activity.d.ts +26 -0
- package/sparkdream/rep/v1/role_activity.js +13 -1
- package/sparkdream/rep/v1/tag_report.js +2 -2
- package/sparkdream/rep/v1/tx.d.ts +816 -9
- package/sparkdream/rep/v1/tx.js +2612 -1443
- package/sparkdream/rep/v1/tx.registry.d.ts +85 -1
- package/sparkdream/rep/v1/tx.registry.js +127 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +20 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +42 -0
- package/sparkdream/rpc.query.d.ts +7 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +18 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
2
|
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
-
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgInviteMember, MsgAcceptInvitation, MsgTransferDream, MsgCreateInterim, MsgAssignInterim, MsgSubmitInterimWork, MsgApproveInterim, MsgAbandonInterim, MsgCompleteInterim, MsgProposeProject, MsgApproveProjectBudget, MsgCancelProject, MsgCreateInitiative, MsgAssignInitiative, MsgSubmitInitiativeWork, MsgApproveInitiative, MsgAbandonInitiative, MsgCompleteInitiative, MsgStake, MsgUnstake, MsgClaimStakingRewards, MsgCompoundStakingRewards, MsgCreateChallenge, MsgRespondToChallenge, MsgSubmitJurorVote, MsgSubmitExpertTestimony, MsgChallengeContent, MsgRespondToContentChallenge, MsgRegisterZkPublicKey, MsgCreateTag, MsgReportTag, MsgResolveTagReport, MsgCreateTagBudget, MsgAwardFromTagBudget, MsgTopUpTagBudget, MsgToggleTagBudget, MsgWithdrawTagBudget, MsgBondRole, MsgUnbondRole, MsgCancelUnbondRole, MsgReportMember, MsgCosignMemberReport, MsgResolveMemberReport, MsgDefendMemberReport, MsgAppealGovAction, MsgResolveGovActionAppeal, MsgCancelInitiative } from "./tx";
|
|
3
|
+
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgInviteMember, MsgAcceptInvitation, MsgTransferDream, MsgCreateInterim, MsgAssignInterim, MsgSubmitInterimWork, MsgApproveInterim, MsgAbandonInterim, MsgCompleteInterim, MsgProposeProject, MsgApproveProjectBudget, MsgCancelProject, MsgCreateInitiative, MsgAssignInitiative, MsgSubmitInitiativeWork, MsgApproveInitiative, MsgAbandonInitiative, 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, MsgCancelInitiative } from "./tx";
|
|
4
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
5
|
export declare const load: (protoRegistry: Registry) => void;
|
|
6
6
|
export declare const MessageComposer: {
|
|
@@ -113,6 +113,34 @@ export declare const MessageComposer: {
|
|
|
113
113
|
typeUrl: string;
|
|
114
114
|
value: Uint8Array<ArrayBufferLike>;
|
|
115
115
|
};
|
|
116
|
+
acceptJuryDuty(value: MsgAcceptJuryDuty): {
|
|
117
|
+
typeUrl: string;
|
|
118
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
119
|
+
};
|
|
120
|
+
submitInitiativeReview(value: MsgSubmitInitiativeReview): {
|
|
121
|
+
typeUrl: string;
|
|
122
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
123
|
+
};
|
|
124
|
+
setVerificationPolicy(value: MsgSetVerificationPolicy): {
|
|
125
|
+
typeUrl: string;
|
|
126
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
127
|
+
};
|
|
128
|
+
resolveReviewEscalation(value: MsgResolveReviewEscalation): {
|
|
129
|
+
typeUrl: string;
|
|
130
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
131
|
+
};
|
|
132
|
+
declineJuryDuty(value: MsgDeclineJuryDuty): {
|
|
133
|
+
typeUrl: string;
|
|
134
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
135
|
+
};
|
|
136
|
+
fundReviewBounty(value: MsgFundReviewBounty): {
|
|
137
|
+
typeUrl: string;
|
|
138
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
139
|
+
};
|
|
140
|
+
reclaimReviewBounty(value: MsgReclaimReviewBounty): {
|
|
141
|
+
typeUrl: string;
|
|
142
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
143
|
+
};
|
|
116
144
|
submitExpertTestimony(value: MsgSubmitExpertTestimony): {
|
|
117
145
|
typeUrl: string;
|
|
118
146
|
value: Uint8Array<ArrayBufferLike>;
|
|
@@ -311,6 +339,34 @@ export declare const MessageComposer: {
|
|
|
311
339
|
typeUrl: string;
|
|
312
340
|
value: MsgSubmitJurorVote;
|
|
313
341
|
};
|
|
342
|
+
acceptJuryDuty(value: MsgAcceptJuryDuty): {
|
|
343
|
+
typeUrl: string;
|
|
344
|
+
value: MsgAcceptJuryDuty;
|
|
345
|
+
};
|
|
346
|
+
submitInitiativeReview(value: MsgSubmitInitiativeReview): {
|
|
347
|
+
typeUrl: string;
|
|
348
|
+
value: MsgSubmitInitiativeReview;
|
|
349
|
+
};
|
|
350
|
+
setVerificationPolicy(value: MsgSetVerificationPolicy): {
|
|
351
|
+
typeUrl: string;
|
|
352
|
+
value: MsgSetVerificationPolicy;
|
|
353
|
+
};
|
|
354
|
+
resolveReviewEscalation(value: MsgResolveReviewEscalation): {
|
|
355
|
+
typeUrl: string;
|
|
356
|
+
value: MsgResolveReviewEscalation;
|
|
357
|
+
};
|
|
358
|
+
declineJuryDuty(value: MsgDeclineJuryDuty): {
|
|
359
|
+
typeUrl: string;
|
|
360
|
+
value: MsgDeclineJuryDuty;
|
|
361
|
+
};
|
|
362
|
+
fundReviewBounty(value: MsgFundReviewBounty): {
|
|
363
|
+
typeUrl: string;
|
|
364
|
+
value: MsgFundReviewBounty;
|
|
365
|
+
};
|
|
366
|
+
reclaimReviewBounty(value: MsgReclaimReviewBounty): {
|
|
367
|
+
typeUrl: string;
|
|
368
|
+
value: MsgReclaimReviewBounty;
|
|
369
|
+
};
|
|
314
370
|
submitExpertTestimony(value: MsgSubmitExpertTestimony): {
|
|
315
371
|
typeUrl: string;
|
|
316
372
|
value: MsgSubmitExpertTestimony;
|
|
@@ -509,6 +565,34 @@ export declare const MessageComposer: {
|
|
|
509
565
|
typeUrl: string;
|
|
510
566
|
value: MsgSubmitJurorVote;
|
|
511
567
|
};
|
|
568
|
+
acceptJuryDuty(value: MsgAcceptJuryDuty): {
|
|
569
|
+
typeUrl: string;
|
|
570
|
+
value: MsgAcceptJuryDuty;
|
|
571
|
+
};
|
|
572
|
+
submitInitiativeReview(value: MsgSubmitInitiativeReview): {
|
|
573
|
+
typeUrl: string;
|
|
574
|
+
value: MsgSubmitInitiativeReview;
|
|
575
|
+
};
|
|
576
|
+
setVerificationPolicy(value: MsgSetVerificationPolicy): {
|
|
577
|
+
typeUrl: string;
|
|
578
|
+
value: MsgSetVerificationPolicy;
|
|
579
|
+
};
|
|
580
|
+
resolveReviewEscalation(value: MsgResolveReviewEscalation): {
|
|
581
|
+
typeUrl: string;
|
|
582
|
+
value: MsgResolveReviewEscalation;
|
|
583
|
+
};
|
|
584
|
+
declineJuryDuty(value: MsgDeclineJuryDuty): {
|
|
585
|
+
typeUrl: string;
|
|
586
|
+
value: MsgDeclineJuryDuty;
|
|
587
|
+
};
|
|
588
|
+
fundReviewBounty(value: MsgFundReviewBounty): {
|
|
589
|
+
typeUrl: string;
|
|
590
|
+
value: MsgFundReviewBounty;
|
|
591
|
+
};
|
|
592
|
+
reclaimReviewBounty(value: MsgReclaimReviewBounty): {
|
|
593
|
+
typeUrl: string;
|
|
594
|
+
value: MsgReclaimReviewBounty;
|
|
595
|
+
};
|
|
512
596
|
submitExpertTestimony(value: MsgSubmitExpertTestimony): {
|
|
513
597
|
typeUrl: string;
|
|
514
598
|
value: MsgSubmitExpertTestimony;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
|
-
exports.registry = [["/sparkdream.rep.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.rep.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams], ["/sparkdream.rep.v1.MsgInviteMember", tx_1.MsgInviteMember], ["/sparkdream.rep.v1.MsgAcceptInvitation", tx_1.MsgAcceptInvitation], ["/sparkdream.rep.v1.MsgTransferDream", tx_1.MsgTransferDream], ["/sparkdream.rep.v1.MsgCreateInterim", tx_1.MsgCreateInterim], ["/sparkdream.rep.v1.MsgAssignInterim", tx_1.MsgAssignInterim], ["/sparkdream.rep.v1.MsgSubmitInterimWork", tx_1.MsgSubmitInterimWork], ["/sparkdream.rep.v1.MsgApproveInterim", tx_1.MsgApproveInterim], ["/sparkdream.rep.v1.MsgAbandonInterim", tx_1.MsgAbandonInterim], ["/sparkdream.rep.v1.MsgCompleteInterim", tx_1.MsgCompleteInterim], ["/sparkdream.rep.v1.MsgProposeProject", tx_1.MsgProposeProject], ["/sparkdream.rep.v1.MsgApproveProjectBudget", tx_1.MsgApproveProjectBudget], ["/sparkdream.rep.v1.MsgCancelProject", tx_1.MsgCancelProject], ["/sparkdream.rep.v1.MsgCreateInitiative", tx_1.MsgCreateInitiative], ["/sparkdream.rep.v1.MsgAssignInitiative", tx_1.MsgAssignInitiative], ["/sparkdream.rep.v1.MsgSubmitInitiativeWork", tx_1.MsgSubmitInitiativeWork], ["/sparkdream.rep.v1.MsgApproveInitiative", tx_1.MsgApproveInitiative], ["/sparkdream.rep.v1.MsgAbandonInitiative", tx_1.MsgAbandonInitiative], ["/sparkdream.rep.v1.MsgCompleteInitiative", tx_1.MsgCompleteInitiative], ["/sparkdream.rep.v1.MsgStake", tx_1.MsgStake], ["/sparkdream.rep.v1.MsgUnstake", tx_1.MsgUnstake], ["/sparkdream.rep.v1.MsgClaimStakingRewards", tx_1.MsgClaimStakingRewards], ["/sparkdream.rep.v1.MsgCompoundStakingRewards", tx_1.MsgCompoundStakingRewards], ["/sparkdream.rep.v1.MsgCreateChallenge", tx_1.MsgCreateChallenge], ["/sparkdream.rep.v1.MsgRespondToChallenge", tx_1.MsgRespondToChallenge], ["/sparkdream.rep.v1.MsgSubmitJurorVote", tx_1.MsgSubmitJurorVote], ["/sparkdream.rep.v1.MsgSubmitExpertTestimony", tx_1.MsgSubmitExpertTestimony], ["/sparkdream.rep.v1.MsgChallengeContent", tx_1.MsgChallengeContent], ["/sparkdream.rep.v1.MsgRespondToContentChallenge", tx_1.MsgRespondToContentChallenge], ["/sparkdream.rep.v1.MsgRegisterZkPublicKey", tx_1.MsgRegisterZkPublicKey], ["/sparkdream.rep.v1.MsgCreateTag", tx_1.MsgCreateTag], ["/sparkdream.rep.v1.MsgReportTag", tx_1.MsgReportTag], ["/sparkdream.rep.v1.MsgResolveTagReport", tx_1.MsgResolveTagReport], ["/sparkdream.rep.v1.MsgCreateTagBudget", tx_1.MsgCreateTagBudget], ["/sparkdream.rep.v1.MsgAwardFromTagBudget", tx_1.MsgAwardFromTagBudget], ["/sparkdream.rep.v1.MsgTopUpTagBudget", tx_1.MsgTopUpTagBudget], ["/sparkdream.rep.v1.MsgToggleTagBudget", tx_1.MsgToggleTagBudget], ["/sparkdream.rep.v1.MsgWithdrawTagBudget", tx_1.MsgWithdrawTagBudget], ["/sparkdream.rep.v1.MsgBondRole", tx_1.MsgBondRole], ["/sparkdream.rep.v1.MsgUnbondRole", tx_1.MsgUnbondRole], ["/sparkdream.rep.v1.MsgCancelUnbondRole", tx_1.MsgCancelUnbondRole], ["/sparkdream.rep.v1.MsgReportMember", tx_1.MsgReportMember], ["/sparkdream.rep.v1.MsgCosignMemberReport", tx_1.MsgCosignMemberReport], ["/sparkdream.rep.v1.MsgResolveMemberReport", tx_1.MsgResolveMemberReport], ["/sparkdream.rep.v1.MsgDefendMemberReport", tx_1.MsgDefendMemberReport], ["/sparkdream.rep.v1.MsgAppealGovAction", tx_1.MsgAppealGovAction], ["/sparkdream.rep.v1.MsgResolveGovActionAppeal", tx_1.MsgResolveGovActionAppeal], ["/sparkdream.rep.v1.MsgCancelInitiative", tx_1.MsgCancelInitiative]];
|
|
5
|
+
exports.registry = [["/sparkdream.rep.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.rep.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams], ["/sparkdream.rep.v1.MsgInviteMember", tx_1.MsgInviteMember], ["/sparkdream.rep.v1.MsgAcceptInvitation", tx_1.MsgAcceptInvitation], ["/sparkdream.rep.v1.MsgTransferDream", tx_1.MsgTransferDream], ["/sparkdream.rep.v1.MsgCreateInterim", tx_1.MsgCreateInterim], ["/sparkdream.rep.v1.MsgAssignInterim", tx_1.MsgAssignInterim], ["/sparkdream.rep.v1.MsgSubmitInterimWork", tx_1.MsgSubmitInterimWork], ["/sparkdream.rep.v1.MsgApproveInterim", tx_1.MsgApproveInterim], ["/sparkdream.rep.v1.MsgAbandonInterim", tx_1.MsgAbandonInterim], ["/sparkdream.rep.v1.MsgCompleteInterim", tx_1.MsgCompleteInterim], ["/sparkdream.rep.v1.MsgProposeProject", tx_1.MsgProposeProject], ["/sparkdream.rep.v1.MsgApproveProjectBudget", tx_1.MsgApproveProjectBudget], ["/sparkdream.rep.v1.MsgCancelProject", tx_1.MsgCancelProject], ["/sparkdream.rep.v1.MsgCreateInitiative", tx_1.MsgCreateInitiative], ["/sparkdream.rep.v1.MsgAssignInitiative", tx_1.MsgAssignInitiative], ["/sparkdream.rep.v1.MsgSubmitInitiativeWork", tx_1.MsgSubmitInitiativeWork], ["/sparkdream.rep.v1.MsgApproveInitiative", tx_1.MsgApproveInitiative], ["/sparkdream.rep.v1.MsgAbandonInitiative", tx_1.MsgAbandonInitiative], ["/sparkdream.rep.v1.MsgCompleteInitiative", tx_1.MsgCompleteInitiative], ["/sparkdream.rep.v1.MsgStake", tx_1.MsgStake], ["/sparkdream.rep.v1.MsgUnstake", tx_1.MsgUnstake], ["/sparkdream.rep.v1.MsgClaimStakingRewards", tx_1.MsgClaimStakingRewards], ["/sparkdream.rep.v1.MsgCompoundStakingRewards", tx_1.MsgCompoundStakingRewards], ["/sparkdream.rep.v1.MsgCreateChallenge", tx_1.MsgCreateChallenge], ["/sparkdream.rep.v1.MsgRespondToChallenge", tx_1.MsgRespondToChallenge], ["/sparkdream.rep.v1.MsgSubmitJurorVote", tx_1.MsgSubmitJurorVote], ["/sparkdream.rep.v1.MsgAcceptJuryDuty", tx_1.MsgAcceptJuryDuty], ["/sparkdream.rep.v1.MsgSubmitInitiativeReview", tx_1.MsgSubmitInitiativeReview], ["/sparkdream.rep.v1.MsgSetVerificationPolicy", tx_1.MsgSetVerificationPolicy], ["/sparkdream.rep.v1.MsgResolveReviewEscalation", tx_1.MsgResolveReviewEscalation], ["/sparkdream.rep.v1.MsgDeclineJuryDuty", tx_1.MsgDeclineJuryDuty], ["/sparkdream.rep.v1.MsgFundReviewBounty", tx_1.MsgFundReviewBounty], ["/sparkdream.rep.v1.MsgReclaimReviewBounty", tx_1.MsgReclaimReviewBounty], ["/sparkdream.rep.v1.MsgSubmitExpertTestimony", tx_1.MsgSubmitExpertTestimony], ["/sparkdream.rep.v1.MsgChallengeContent", tx_1.MsgChallengeContent], ["/sparkdream.rep.v1.MsgRespondToContentChallenge", tx_1.MsgRespondToContentChallenge], ["/sparkdream.rep.v1.MsgRegisterZkPublicKey", tx_1.MsgRegisterZkPublicKey], ["/sparkdream.rep.v1.MsgCreateTag", tx_1.MsgCreateTag], ["/sparkdream.rep.v1.MsgReportTag", tx_1.MsgReportTag], ["/sparkdream.rep.v1.MsgResolveTagReport", tx_1.MsgResolveTagReport], ["/sparkdream.rep.v1.MsgCreateTagBudget", tx_1.MsgCreateTagBudget], ["/sparkdream.rep.v1.MsgAwardFromTagBudget", tx_1.MsgAwardFromTagBudget], ["/sparkdream.rep.v1.MsgTopUpTagBudget", tx_1.MsgTopUpTagBudget], ["/sparkdream.rep.v1.MsgToggleTagBudget", tx_1.MsgToggleTagBudget], ["/sparkdream.rep.v1.MsgWithdrawTagBudget", tx_1.MsgWithdrawTagBudget], ["/sparkdream.rep.v1.MsgBondRole", tx_1.MsgBondRole], ["/sparkdream.rep.v1.MsgUnbondRole", tx_1.MsgUnbondRole], ["/sparkdream.rep.v1.MsgCancelUnbondRole", tx_1.MsgCancelUnbondRole], ["/sparkdream.rep.v1.MsgReportMember", tx_1.MsgReportMember], ["/sparkdream.rep.v1.MsgCosignMemberReport", tx_1.MsgCosignMemberReport], ["/sparkdream.rep.v1.MsgResolveMemberReport", tx_1.MsgResolveMemberReport], ["/sparkdream.rep.v1.MsgDefendMemberReport", tx_1.MsgDefendMemberReport], ["/sparkdream.rep.v1.MsgAppealGovAction", tx_1.MsgAppealGovAction], ["/sparkdream.rep.v1.MsgResolveGovActionAppeal", tx_1.MsgResolveGovActionAppeal], ["/sparkdream.rep.v1.MsgCancelInitiative", tx_1.MsgCancelInitiative]];
|
|
6
6
|
const load = (protoRegistry) => {
|
|
7
7
|
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
8
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -173,6 +173,48 @@ exports.MessageComposer = {
|
|
|
173
173
|
value: tx_1.MsgSubmitJurorVote.encode(value).finish()
|
|
174
174
|
};
|
|
175
175
|
},
|
|
176
|
+
acceptJuryDuty(value) {
|
|
177
|
+
return {
|
|
178
|
+
typeUrl: "/sparkdream.rep.v1.MsgAcceptJuryDuty",
|
|
179
|
+
value: tx_1.MsgAcceptJuryDuty.encode(value).finish()
|
|
180
|
+
};
|
|
181
|
+
},
|
|
182
|
+
submitInitiativeReview(value) {
|
|
183
|
+
return {
|
|
184
|
+
typeUrl: "/sparkdream.rep.v1.MsgSubmitInitiativeReview",
|
|
185
|
+
value: tx_1.MsgSubmitInitiativeReview.encode(value).finish()
|
|
186
|
+
};
|
|
187
|
+
},
|
|
188
|
+
setVerificationPolicy(value) {
|
|
189
|
+
return {
|
|
190
|
+
typeUrl: "/sparkdream.rep.v1.MsgSetVerificationPolicy",
|
|
191
|
+
value: tx_1.MsgSetVerificationPolicy.encode(value).finish()
|
|
192
|
+
};
|
|
193
|
+
},
|
|
194
|
+
resolveReviewEscalation(value) {
|
|
195
|
+
return {
|
|
196
|
+
typeUrl: "/sparkdream.rep.v1.MsgResolveReviewEscalation",
|
|
197
|
+
value: tx_1.MsgResolveReviewEscalation.encode(value).finish()
|
|
198
|
+
};
|
|
199
|
+
},
|
|
200
|
+
declineJuryDuty(value) {
|
|
201
|
+
return {
|
|
202
|
+
typeUrl: "/sparkdream.rep.v1.MsgDeclineJuryDuty",
|
|
203
|
+
value: tx_1.MsgDeclineJuryDuty.encode(value).finish()
|
|
204
|
+
};
|
|
205
|
+
},
|
|
206
|
+
fundReviewBounty(value) {
|
|
207
|
+
return {
|
|
208
|
+
typeUrl: "/sparkdream.rep.v1.MsgFundReviewBounty",
|
|
209
|
+
value: tx_1.MsgFundReviewBounty.encode(value).finish()
|
|
210
|
+
};
|
|
211
|
+
},
|
|
212
|
+
reclaimReviewBounty(value) {
|
|
213
|
+
return {
|
|
214
|
+
typeUrl: "/sparkdream.rep.v1.MsgReclaimReviewBounty",
|
|
215
|
+
value: tx_1.MsgReclaimReviewBounty.encode(value).finish()
|
|
216
|
+
};
|
|
217
|
+
},
|
|
176
218
|
submitExpertTestimony(value) {
|
|
177
219
|
return {
|
|
178
220
|
typeUrl: "/sparkdream.rep.v1.MsgSubmitExpertTestimony",
|
|
@@ -469,6 +511,48 @@ exports.MessageComposer = {
|
|
|
469
511
|
value
|
|
470
512
|
};
|
|
471
513
|
},
|
|
514
|
+
acceptJuryDuty(value) {
|
|
515
|
+
return {
|
|
516
|
+
typeUrl: "/sparkdream.rep.v1.MsgAcceptJuryDuty",
|
|
517
|
+
value
|
|
518
|
+
};
|
|
519
|
+
},
|
|
520
|
+
submitInitiativeReview(value) {
|
|
521
|
+
return {
|
|
522
|
+
typeUrl: "/sparkdream.rep.v1.MsgSubmitInitiativeReview",
|
|
523
|
+
value
|
|
524
|
+
};
|
|
525
|
+
},
|
|
526
|
+
setVerificationPolicy(value) {
|
|
527
|
+
return {
|
|
528
|
+
typeUrl: "/sparkdream.rep.v1.MsgSetVerificationPolicy",
|
|
529
|
+
value
|
|
530
|
+
};
|
|
531
|
+
},
|
|
532
|
+
resolveReviewEscalation(value) {
|
|
533
|
+
return {
|
|
534
|
+
typeUrl: "/sparkdream.rep.v1.MsgResolveReviewEscalation",
|
|
535
|
+
value
|
|
536
|
+
};
|
|
537
|
+
},
|
|
538
|
+
declineJuryDuty(value) {
|
|
539
|
+
return {
|
|
540
|
+
typeUrl: "/sparkdream.rep.v1.MsgDeclineJuryDuty",
|
|
541
|
+
value
|
|
542
|
+
};
|
|
543
|
+
},
|
|
544
|
+
fundReviewBounty(value) {
|
|
545
|
+
return {
|
|
546
|
+
typeUrl: "/sparkdream.rep.v1.MsgFundReviewBounty",
|
|
547
|
+
value
|
|
548
|
+
};
|
|
549
|
+
},
|
|
550
|
+
reclaimReviewBounty(value) {
|
|
551
|
+
return {
|
|
552
|
+
typeUrl: "/sparkdream.rep.v1.MsgReclaimReviewBounty",
|
|
553
|
+
value
|
|
554
|
+
};
|
|
555
|
+
},
|
|
472
556
|
submitExpertTestimony(value) {
|
|
473
557
|
return {
|
|
474
558
|
typeUrl: "/sparkdream.rep.v1.MsgSubmitExpertTestimony",
|
|
@@ -765,6 +849,48 @@ exports.MessageComposer = {
|
|
|
765
849
|
value: tx_1.MsgSubmitJurorVote.fromPartial(value)
|
|
766
850
|
};
|
|
767
851
|
},
|
|
852
|
+
acceptJuryDuty(value) {
|
|
853
|
+
return {
|
|
854
|
+
typeUrl: "/sparkdream.rep.v1.MsgAcceptJuryDuty",
|
|
855
|
+
value: tx_1.MsgAcceptJuryDuty.fromPartial(value)
|
|
856
|
+
};
|
|
857
|
+
},
|
|
858
|
+
submitInitiativeReview(value) {
|
|
859
|
+
return {
|
|
860
|
+
typeUrl: "/sparkdream.rep.v1.MsgSubmitInitiativeReview",
|
|
861
|
+
value: tx_1.MsgSubmitInitiativeReview.fromPartial(value)
|
|
862
|
+
};
|
|
863
|
+
},
|
|
864
|
+
setVerificationPolicy(value) {
|
|
865
|
+
return {
|
|
866
|
+
typeUrl: "/sparkdream.rep.v1.MsgSetVerificationPolicy",
|
|
867
|
+
value: tx_1.MsgSetVerificationPolicy.fromPartial(value)
|
|
868
|
+
};
|
|
869
|
+
},
|
|
870
|
+
resolveReviewEscalation(value) {
|
|
871
|
+
return {
|
|
872
|
+
typeUrl: "/sparkdream.rep.v1.MsgResolveReviewEscalation",
|
|
873
|
+
value: tx_1.MsgResolveReviewEscalation.fromPartial(value)
|
|
874
|
+
};
|
|
875
|
+
},
|
|
876
|
+
declineJuryDuty(value) {
|
|
877
|
+
return {
|
|
878
|
+
typeUrl: "/sparkdream.rep.v1.MsgDeclineJuryDuty",
|
|
879
|
+
value: tx_1.MsgDeclineJuryDuty.fromPartial(value)
|
|
880
|
+
};
|
|
881
|
+
},
|
|
882
|
+
fundReviewBounty(value) {
|
|
883
|
+
return {
|
|
884
|
+
typeUrl: "/sparkdream.rep.v1.MsgFundReviewBounty",
|
|
885
|
+
value: tx_1.MsgFundReviewBounty.fromPartial(value)
|
|
886
|
+
};
|
|
887
|
+
},
|
|
888
|
+
reclaimReviewBounty(value) {
|
|
889
|
+
return {
|
|
890
|
+
typeUrl: "/sparkdream.rep.v1.MsgReclaimReviewBounty",
|
|
891
|
+
value: tx_1.MsgReclaimReviewBounty.fromPartial(value)
|
|
892
|
+
};
|
|
893
|
+
},
|
|
768
894
|
submitExpertTestimony(value) {
|
|
769
895
|
return {
|
|
770
896
|
typeUrl: "/sparkdream.rep.v1.MsgSubmitExpertTestimony",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TxRpc } from "../../../types";
|
|
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, MsgAbandonInitiative, MsgAbandonInitiativeResponse, MsgCompleteInitiative, MsgCompleteInitiativeResponse, MsgStake, MsgStakeResponse, MsgUnstake, MsgUnstakeResponse, MsgClaimStakingRewards, MsgClaimStakingRewardsResponse, MsgCompoundStakingRewards, MsgCompoundStakingRewardsResponse, MsgCreateChallenge, MsgCreateChallengeResponse, MsgRespondToChallenge, MsgRespondToChallengeResponse, MsgSubmitJurorVote, MsgSubmitJurorVoteResponse, 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, MsgCancelInitiative, MsgCancelInitiativeResponse } 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, MsgAbandonInitiative, MsgAbandonInitiativeResponse, 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, MsgCancelInitiative, MsgCancelInitiativeResponse } from "./tx";
|
|
3
3
|
/** Msg defines the Msg service. */
|
|
4
4
|
export interface Msg {
|
|
5
5
|
/**
|
|
@@ -62,6 +62,18 @@ export interface Msg {
|
|
|
62
62
|
respondToChallenge(request: MsgRespondToChallenge): Promise<MsgRespondToChallengeResponse>;
|
|
63
63
|
/** SubmitJurorVote defines the SubmitJurorVote RPC. */
|
|
64
64
|
submitJurorVote(request: MsgSubmitJurorVote): Promise<MsgSubmitJurorVoteResponse>;
|
|
65
|
+
acceptJuryDuty(request: MsgAcceptJuryDuty): Promise<MsgAcceptJuryDutyResponse>;
|
|
66
|
+
/** SubmitInitiativeReview files a bonded reviewer's verdict on submitted work. */
|
|
67
|
+
submitInitiativeReview(request: MsgSubmitInitiativeReview): Promise<MsgSubmitInitiativeReviewResponse>;
|
|
68
|
+
/** SetVerificationPolicy configures how a project's initiatives are reviewed. */
|
|
69
|
+
setVerificationPolicy(request: MsgSetVerificationPolicy): Promise<MsgSetVerificationPolicyResponse>;
|
|
70
|
+
/** ResolveReviewEscalation settles a review round that reached its deadline. */
|
|
71
|
+
resolveReviewEscalation(request: MsgResolveReviewEscalation): Promise<MsgResolveReviewEscalationResponse>;
|
|
72
|
+
declineJuryDuty(request: MsgDeclineJuryDuty): Promise<MsgDeclineJuryDutyResponse>;
|
|
73
|
+
/** FundReviewBounty escrows DREAM against an initiative to attract reviewers. */
|
|
74
|
+
fundReviewBounty(request: MsgFundReviewBounty): Promise<MsgFundReviewBountyResponse>;
|
|
75
|
+
/** ReclaimReviewBounty withdraws a funder's own unpaid contribution. */
|
|
76
|
+
reclaimReviewBounty(request: MsgReclaimReviewBounty): Promise<MsgReclaimReviewBountyResponse>;
|
|
65
77
|
/** SubmitExpertTestimony defines the SubmitExpertTestimony RPC. */
|
|
66
78
|
submitExpertTestimony(request: MsgSubmitExpertTestimony): Promise<MsgSubmitExpertTestimonyResponse>;
|
|
67
79
|
/** ChallengeContent creates a challenge against bonded content. */
|
|
@@ -155,6 +167,13 @@ export declare class MsgClientImpl implements Msg {
|
|
|
155
167
|
createChallenge: (request: MsgCreateChallenge) => Promise<MsgCreateChallengeResponse>;
|
|
156
168
|
respondToChallenge: (request: MsgRespondToChallenge) => Promise<MsgRespondToChallengeResponse>;
|
|
157
169
|
submitJurorVote: (request: MsgSubmitJurorVote) => Promise<MsgSubmitJurorVoteResponse>;
|
|
170
|
+
acceptJuryDuty: (request: MsgAcceptJuryDuty) => Promise<MsgAcceptJuryDutyResponse>;
|
|
171
|
+
submitInitiativeReview: (request: MsgSubmitInitiativeReview) => Promise<MsgSubmitInitiativeReviewResponse>;
|
|
172
|
+
setVerificationPolicy: (request: MsgSetVerificationPolicy) => Promise<MsgSetVerificationPolicyResponse>;
|
|
173
|
+
resolveReviewEscalation: (request: MsgResolveReviewEscalation) => Promise<MsgResolveReviewEscalationResponse>;
|
|
174
|
+
declineJuryDuty: (request: MsgDeclineJuryDuty) => Promise<MsgDeclineJuryDutyResponse>;
|
|
175
|
+
fundReviewBounty: (request: MsgFundReviewBounty) => Promise<MsgFundReviewBountyResponse>;
|
|
176
|
+
reclaimReviewBounty: (request: MsgReclaimReviewBounty) => Promise<MsgReclaimReviewBountyResponse>;
|
|
158
177
|
submitExpertTestimony: (request: MsgSubmitExpertTestimony) => Promise<MsgSubmitExpertTestimonyResponse>;
|
|
159
178
|
challengeContent: (request: MsgChallengeContent) => Promise<MsgChallengeContentResponse>;
|
|
160
179
|
respondToContentChallenge: (request: MsgRespondToContentChallenge) => Promise<MsgRespondToContentChallengeResponse>;
|
|
@@ -172,6 +172,48 @@ class MsgClientImpl {
|
|
|
172
172
|
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "SubmitJurorVote", data);
|
|
173
173
|
return promise.then(data => tx_1.MsgSubmitJurorVoteResponse.decode(new binary_1.BinaryReader(data)));
|
|
174
174
|
};
|
|
175
|
+
/* AcceptJuryDuty */
|
|
176
|
+
acceptJuryDuty = async (request) => {
|
|
177
|
+
const data = tx_1.MsgAcceptJuryDuty.encode(request).finish();
|
|
178
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "AcceptJuryDuty", data);
|
|
179
|
+
return promise.then(data => tx_1.MsgAcceptJuryDutyResponse.decode(new binary_1.BinaryReader(data)));
|
|
180
|
+
};
|
|
181
|
+
/* SubmitInitiativeReview files a bonded reviewer's verdict on submitted work. */
|
|
182
|
+
submitInitiativeReview = async (request) => {
|
|
183
|
+
const data = tx_1.MsgSubmitInitiativeReview.encode(request).finish();
|
|
184
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "SubmitInitiativeReview", data);
|
|
185
|
+
return promise.then(data => tx_1.MsgSubmitInitiativeReviewResponse.decode(new binary_1.BinaryReader(data)));
|
|
186
|
+
};
|
|
187
|
+
/* SetVerificationPolicy configures how a project's initiatives are reviewed. */
|
|
188
|
+
setVerificationPolicy = async (request) => {
|
|
189
|
+
const data = tx_1.MsgSetVerificationPolicy.encode(request).finish();
|
|
190
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "SetVerificationPolicy", data);
|
|
191
|
+
return promise.then(data => tx_1.MsgSetVerificationPolicyResponse.decode(new binary_1.BinaryReader(data)));
|
|
192
|
+
};
|
|
193
|
+
/* ResolveReviewEscalation settles a review round that reached its deadline. */
|
|
194
|
+
resolveReviewEscalation = async (request) => {
|
|
195
|
+
const data = tx_1.MsgResolveReviewEscalation.encode(request).finish();
|
|
196
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "ResolveReviewEscalation", data);
|
|
197
|
+
return promise.then(data => tx_1.MsgResolveReviewEscalationResponse.decode(new binary_1.BinaryReader(data)));
|
|
198
|
+
};
|
|
199
|
+
/* DeclineJuryDuty */
|
|
200
|
+
declineJuryDuty = async (request) => {
|
|
201
|
+
const data = tx_1.MsgDeclineJuryDuty.encode(request).finish();
|
|
202
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "DeclineJuryDuty", data);
|
|
203
|
+
return promise.then(data => tx_1.MsgDeclineJuryDutyResponse.decode(new binary_1.BinaryReader(data)));
|
|
204
|
+
};
|
|
205
|
+
/* FundReviewBounty escrows DREAM against an initiative to attract reviewers. */
|
|
206
|
+
fundReviewBounty = async (request) => {
|
|
207
|
+
const data = tx_1.MsgFundReviewBounty.encode(request).finish();
|
|
208
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "FundReviewBounty", data);
|
|
209
|
+
return promise.then(data => tx_1.MsgFundReviewBountyResponse.decode(new binary_1.BinaryReader(data)));
|
|
210
|
+
};
|
|
211
|
+
/* ReclaimReviewBounty withdraws a funder's own unpaid contribution. */
|
|
212
|
+
reclaimReviewBounty = async (request) => {
|
|
213
|
+
const data = tx_1.MsgReclaimReviewBounty.encode(request).finish();
|
|
214
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "ReclaimReviewBounty", data);
|
|
215
|
+
return promise.then(data => tx_1.MsgReclaimReviewBountyResponse.decode(new binary_1.BinaryReader(data)));
|
|
216
|
+
};
|
|
175
217
|
/* SubmitExpertTestimony defines the SubmitExpertTestimony RPC. */
|
|
176
218
|
submitExpertTestimony = async (request) => {
|
|
177
219
|
const data = tx_1.MsgSubmitExpertTestimony.encode(request).finish();
|
|
@@ -285,6 +285,7 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
|
285
285
|
getReputationAttestation(request: import("./federation/v1/query").QueryGetReputationAttestationRequest): Promise<import("./federation/v1/query").QueryGetReputationAttestationResponse>;
|
|
286
286
|
listOutboundAttestations(request?: import("./federation/v1/query").QueryListOutboundAttestationsRequest): Promise<import("./federation/v1/query").QueryListOutboundAttestationsResponse>;
|
|
287
287
|
verifierActivity(request: import("./federation/v1/query").QueryVerifierActivityRequest): Promise<import("./federation/v1/query").QueryVerifierActivityResponse>;
|
|
288
|
+
operatorRewardPool(request?: import("./federation/v1/query").QueryOperatorRewardPoolRequest): Promise<import("./federation/v1/query").QueryOperatorRewardPoolResponse>;
|
|
288
289
|
getVerificationRecord(request: import("./federation/v1/query").QueryGetVerificationRecordRequest): Promise<import("./federation/v1/query").QueryGetVerificationRecordResponse>;
|
|
289
290
|
getEscalatedChallenge(request: import("./federation/v1/query").QueryGetEscalatedChallengeRequest): Promise<import("./federation/v1/query").QueryGetEscalatedChallengeResponse>;
|
|
290
291
|
};
|
|
@@ -391,10 +392,10 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
|
391
392
|
listChallenge(request?: import("./rep/v1/query").QueryAllChallengeRequest): Promise<import("./rep/v1/query").QueryAllChallengeResponse>;
|
|
392
393
|
getJuryReview(request: import("./rep/v1/query").QueryGetJuryReviewRequest): Promise<import("./rep/v1/query").QueryGetJuryReviewResponse>;
|
|
393
394
|
listJuryReview(request?: import("./rep/v1/query").QueryAllJuryReviewRequest): Promise<import("./rep/v1/query").QueryAllJuryReviewResponse>;
|
|
395
|
+
juryReviewsByJuror(request: import("./rep/v1/query").QueryJuryReviewsByJurorRequest): Promise<import("./rep/v1/query").QueryJuryReviewsByJurorResponse>;
|
|
396
|
+
roleActivity(request: import("./rep/v1/query").QueryRoleActivityRequest): Promise<import("./rep/v1/query").QueryRoleActivityResponse>;
|
|
394
397
|
getInterim(request: import("./rep/v1/query").QueryGetInterimRequest): Promise<import("./rep/v1/query").QueryGetInterimResponse>;
|
|
395
398
|
listInterim(request?: import("./rep/v1/query").QueryAllInterimRequest): Promise<import("./rep/v1/query").QueryAllInterimResponse>;
|
|
396
|
-
getInterimTemplate(request: import("./rep/v1/query").QueryGetInterimTemplateRequest): Promise<import("./rep/v1/query").QueryGetInterimTemplateResponse>;
|
|
397
|
-
listInterimTemplate(request?: import("./rep/v1/query").QueryAllInterimTemplateRequest): Promise<import("./rep/v1/query").QueryAllInterimTemplateResponse>;
|
|
398
399
|
membersByTrustLevel(request: import("./rep/v1/query").QueryMembersByTrustLevelRequest): Promise<import("./rep/v1/query").QueryMembersByTrustLevelResponse>;
|
|
399
400
|
invitationsByInviter(request: import("./rep/v1/query").QueryInvitationsByInviterRequest): Promise<import("./rep/v1/query").QueryInvitationsByInviterResponse>;
|
|
400
401
|
interimsByAssignee(request: import("./rep/v1/query").QueryInterimsByAssigneeRequest): Promise<import("./rep/v1/query").QueryInterimsByAssigneeResponse>;
|
|
@@ -457,6 +458,10 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
|
457
458
|
memberStanding(request: import("./rep/v1/query").QueryMemberStandingRequest): Promise<import("./rep/v1/query").QueryMemberStandingResponse>;
|
|
458
459
|
requiredInvitationStake(request: import("./rep/v1/query").QueryRequiredInvitationStakeRequest): Promise<import("./rep/v1/query").QueryRequiredInvitationStakeResponse>;
|
|
459
460
|
authorBondsByType(request: import("./rep/v1/query").QueryAuthorBondsByTypeRequest): Promise<import("./rep/v1/query").QueryAuthorBondsByTypeResponse>;
|
|
461
|
+
initiativeReviews(request: import("./rep/v1/query").QueryInitiativeReviewsRequest): Promise<import("./rep/v1/query").QueryInitiativeReviewsResponse>;
|
|
462
|
+
reviewBounty(request: import("./rep/v1/query").QueryReviewBountyRequest): Promise<import("./rep/v1/query").QueryReviewBountyResponse>;
|
|
463
|
+
escalatedReviews(request?: import("./rep/v1/query").QueryEscalatedReviewsRequest): Promise<import("./rep/v1/query").QueryEscalatedReviewsResponse>;
|
|
464
|
+
roleRewardPools(request?: import("./rep/v1/query").QueryRoleRewardPoolsRequest): Promise<import("./rep/v1/query").QueryRoleRewardPoolsResponse>;
|
|
460
465
|
};
|
|
461
466
|
};
|
|
462
467
|
reveal: {
|