@sparkdreamnft/sparkdreamjs 0.0.48 → 0.0.49
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 +86 -0
- package/amino-schema.js +1 -1
- 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 +1 -1
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/sparkdream/artifact/v1/types.js +25 -1
- package/esm/sparkdream/blog/v1/genesis.js +97 -1
- package/esm/sparkdream/bundle.js +447 -439
- package/esm/sparkdream/collect/v1/genesis.js +308 -3
- package/esm/sparkdream/collect/v1/tx.js +170 -0
- package/esm/sparkdream/collect/v1/tx.registry.js +20 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +10 -1
- package/esm/sparkdream/collect/v1/types.js +51 -3
- package/esm/sparkdream/commons/v1/genesis.js +756 -27
- package/esm/sparkdream/commons/v1/group.js +130 -2
- package/esm/sparkdream/commons/v1/poll.js +281 -0
- package/esm/sparkdream/commons/v1/poll_vote.js +107 -0
- package/esm/sparkdream/commons/v1/query.js +759 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +46 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +49 -1
- package/esm/sparkdream/commons/v1/tx.js +730 -4
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +25 -1
- package/esm/sparkdream/commons/v1/voter_tree.js +208 -0
- package/esm/sparkdream/federation/v1/genesis.js +212 -2
- package/esm/sparkdream/federation/v1/tx.js +196 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +20 -2
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +8 -1
- package/esm/sparkdream/federation/v1/types.js +194 -2
- package/esm/sparkdream/forum/v1/archive_metadata.js +13 -1
- package/esm/sparkdream/forum/v1/genesis.js +428 -1
- package/esm/sparkdream/forum/v1/params.js +182 -254
- package/esm/sparkdream/forum/v1/query.js +112 -7
- package/esm/sparkdream/forum/v1/user_reaction_limit.js +62 -1
- package/esm/sparkdream/futarchy/v1/market.js +37 -1
- package/esm/sparkdream/futarchy/v1/tx.js +13 -1
- package/esm/sparkdream/name/v1/dispute.js +13 -1
- package/esm/sparkdream/rep/v1/genesis.js +272 -2
- package/esm/sparkdream/rep/v1/initiative_review.js +13 -1
- package/esm/sparkdream/rep/v1/invitation.js +25 -1
- package/esm/sparkdream/rep/v1/member_report.js +335 -1
- package/esm/sparkdream/rep/v1/migration.js +27 -2
- package/esm/sparkdream/rep/v1/params.js +13 -1
- package/esm/sparkdream/rep/v1/stake.js +10 -0
- package/esm/sparkdream/rep/v1/tx.js +372 -14
- package/esm/sparkdream/rep/v1/tx.registry.js +38 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -2
- package/esm/sparkdream/reveal/v1/types.js +9 -21
- package/esm/sparkdream/season/v1/display_name_moderation.js +40 -1
- package/esm/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
- package/esm/sparkdream/season/v1/genesis.js +125 -1
- package/esm/sparkdream/season/v1/guild_invite.js +13 -1
- package/esm/sparkdream/season/v1/guild_membership.js +13 -1
- package/esm/sparkdream/season/v1/member_profile.js +13 -1
- package/esm/sparkdream/season/v1/member_quest_progress.js +13 -1
- package/esm/sparkdream/season/v1/member_season_snapshot.js +16 -1
- package/esm/sparkdream/season/v1/nomination.js +37 -1
- package/esm/sparkdream/season/v1/query.js +26 -35
- package/esm/sparkdream/season/v1/query.lcd.js +1 -1
- package/esm/sparkdream/season/v1/quest.js +13 -1
- package/esm/sparkdream/season/v1/season.js +13 -1
- package/esm/sparkdream/season/v1/season_stats_counters.js +121 -0
- package/esm/sparkdream/season/v1/season_title_eligibility.js +4 -1
- package/esm/sparkdream/service/v1/genesis.js +126 -1
- package/esm/sparkdream/service/v1/refile_cooldown.js +20 -7
- package/esm/sparkdream/session/v1/genesis.js +303 -1
- package/esm/sparkdream/session/v1/params.js +24 -0
- package/esm/sparkdream/shield/v1/genesis.js +56 -2
- package/esm/sparkdream/shield/v1/params.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +202 -1
- package/esm/sparkdream/vault/v1/genesis.js +25 -1
- package/esm/sparkdream/vault/v1/query.js +15 -2
- package/esm/sparkdream/vault/v1/query.lcd.js +3 -0
- package/esm/sparkdream/vault/v1/tx.js +301 -0
- package/esm/sparkdream/vault/v1/tx.registry.js +38 -2
- package/esm/sparkdream/vault/v1/tx.rpc.msg.js +13 -1
- package/esm/sparkdream/vault/v1/vault_signer.js +15 -2
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/package.json +1 -1
- package/sparkdream/artifact/v1/types.d.ts +14 -0
- package/sparkdream/artifact/v1/types.js +25 -1
- package/sparkdream/blog/v1/genesis.d.ts +60 -0
- package/sparkdream/blog/v1/genesis.js +98 -2
- package/sparkdream/bundle.d.ts +17095 -16171
- package/sparkdream/bundle.js +447 -439
- package/sparkdream/collect/v1/genesis.d.ts +186 -0
- package/sparkdream/collect/v1/genesis.js +309 -4
- package/sparkdream/collect/v1/tx.d.ts +100 -0
- package/sparkdream/collect/v1/tx.js +171 -1
- package/sparkdream/collect/v1/tx.registry.d.ts +13 -1
- package/sparkdream/collect/v1/tx.registry.js +19 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +9 -1
- package/sparkdream/collect/v1/tx.rpc.msg.js +9 -0
- package/sparkdream/collect/v1/types.d.ts +52 -0
- package/sparkdream/collect/v1/types.js +51 -3
- package/sparkdream/commons/v1/genesis.d.ts +443 -22
- package/sparkdream/commons/v1/genesis.js +756 -27
- package/sparkdream/commons/v1/group.d.ts +75 -0
- package/sparkdream/commons/v1/group.js +133 -3
- package/sparkdream/commons/v1/poll.d.ts +135 -0
- package/sparkdream/commons/v1/poll.js +286 -0
- package/sparkdream/commons/v1/poll_vote.d.ts +58 -0
- package/sparkdream/commons/v1/poll_vote.js +110 -0
- package/sparkdream/commons/v1/query.d.ts +465 -0
- package/sparkdream/commons/v1/query.js +760 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +6 -1
- package/sparkdream/commons/v1/query.lcd.js +46 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +30 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +48 -0
- package/sparkdream/commons/v1/tx.d.ts +475 -1
- package/sparkdream/commons/v1/tx.js +731 -4
- package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
- package/sparkdream/commons/v1/tx.registry.js +73 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +13 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +24 -0
- package/sparkdream/commons/v1/voter_tree.d.ts +132 -0
- package/sparkdream/commons/v1/voter_tree.js +211 -0
- package/sparkdream/federation/v1/genesis.d.ts +136 -1
- package/sparkdream/federation/v1/genesis.js +212 -2
- package/sparkdream/federation/v1/tx.d.ts +138 -0
- package/sparkdream/federation/v1/tx.js +198 -1
- package/sparkdream/federation/v1/tx.registry.d.ts +13 -1
- package/sparkdream/federation/v1/tx.registry.js +19 -1
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/federation/v1/tx.rpc.msg.js +7 -0
- package/sparkdream/federation/v1/types.d.ts +166 -0
- package/sparkdream/federation/v1/types.js +197 -3
- package/sparkdream/forum/v1/archive_metadata.d.ts +12 -0
- package/sparkdream/forum/v1/archive_metadata.js +13 -1
- package/sparkdream/forum/v1/genesis.d.ts +256 -0
- package/sparkdream/forum/v1/genesis.js +429 -2
- package/sparkdream/forum/v1/params.d.ts +0 -30
- package/sparkdream/forum/v1/params.js +182 -254
- package/sparkdream/forum/v1/query.d.ts +70 -0
- package/sparkdream/forum/v1/query.js +112 -7
- package/sparkdream/forum/v1/user_reaction_limit.d.ts +25 -0
- package/sparkdream/forum/v1/user_reaction_limit.js +65 -2
- package/sparkdream/futarchy/v1/market.d.ts +32 -0
- package/sparkdream/futarchy/v1/market.js +37 -1
- package/sparkdream/futarchy/v1/tx.d.ts +10 -0
- package/sparkdream/futarchy/v1/tx.js +13 -1
- package/sparkdream/name/v1/dispute.d.ts +14 -0
- package/sparkdream/name/v1/dispute.js +13 -1
- package/sparkdream/rep/v1/genesis.d.ts +151 -1
- package/sparkdream/rep/v1/genesis.js +272 -2
- package/sparkdream/rep/v1/initiative_review.d.ts +14 -0
- package/sparkdream/rep/v1/initiative_review.js +13 -1
- package/sparkdream/rep/v1/invitation.d.ts +32 -0
- package/sparkdream/rep/v1/invitation.js +25 -1
- package/sparkdream/rep/v1/member_report.d.ts +215 -0
- package/sparkdream/rep/v1/member_report.js +336 -2
- package/sparkdream/rep/v1/migration.d.ts +34 -1
- package/sparkdream/rep/v1/migration.js +27 -2
- package/sparkdream/rep/v1/params.d.ts +18 -0
- package/sparkdream/rep/v1/params.js +13 -1
- package/sparkdream/rep/v1/stake.d.ts +5 -0
- package/sparkdream/rep/v1/stake.js +10 -0
- package/sparkdream/rep/v1/tx.d.ts +340 -39
- package/sparkdream/rep/v1/tx.js +375 -17
- package/sparkdream/rep/v1/tx.registry.d.ts +25 -1
- package/sparkdream/rep/v1/tx.registry.js +37 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +12 -2
- package/sparkdream/rep/v1/tx.rpc.msg.js +15 -1
- package/sparkdream/reveal/v1/types.d.ts +0 -8
- package/sparkdream/reveal/v1/types.js +9 -21
- package/sparkdream/rpc.query.d.ts +5 -0
- package/sparkdream/season/v1/display_name_moderation.d.ts +28 -0
- package/sparkdream/season/v1/display_name_moderation.js +40 -1
- package/sparkdream/season/v1/epoch_xp_tracker.d.ts +10 -0
- package/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
- package/sparkdream/season/v1/genesis.d.ts +75 -0
- package/sparkdream/season/v1/genesis.js +126 -2
- package/sparkdream/season/v1/guild_invite.d.ts +10 -0
- package/sparkdream/season/v1/guild_invite.js +13 -1
- package/sparkdream/season/v1/guild_membership.d.ts +12 -0
- package/sparkdream/season/v1/guild_membership.js +13 -1
- package/sparkdream/season/v1/member_profile.d.ts +12 -0
- package/sparkdream/season/v1/member_profile.js +13 -1
- package/sparkdream/season/v1/member_quest_progress.d.ts +8 -0
- package/sparkdream/season/v1/member_quest_progress.js +13 -1
- package/sparkdream/season/v1/member_season_snapshot.d.ts +14 -0
- package/sparkdream/season/v1/member_season_snapshot.js +16 -1
- package/sparkdream/season/v1/nomination.d.ts +32 -0
- package/sparkdream/season/v1/nomination.js +37 -1
- package/sparkdream/season/v1/query.d.ts +10 -6
- package/sparkdream/season/v1/query.js +26 -35
- package/sparkdream/season/v1/query.lcd.js +1 -1
- package/sparkdream/season/v1/quest.d.ts +12 -0
- package/sparkdream/season/v1/quest.js +13 -1
- package/sparkdream/season/v1/season.d.ts +12 -0
- package/sparkdream/season/v1/season.js +13 -1
- package/sparkdream/season/v1/season_stats_counters.d.ts +86 -0
- package/sparkdream/season/v1/season_stats_counters.js +124 -0
- package/sparkdream/season/v1/season_title_eligibility.d.ts +12 -3
- package/sparkdream/season/v1/season_title_eligibility.js +4 -1
- package/sparkdream/service/v1/genesis.d.ts +71 -0
- package/sparkdream/service/v1/genesis.js +127 -2
- package/sparkdream/service/v1/refile_cooldown.d.ts +35 -22
- package/sparkdream/service/v1/refile_cooldown.js +20 -7
- package/sparkdream/session/v1/genesis.d.ts +190 -0
- package/sparkdream/session/v1/genesis.js +304 -2
- package/sparkdream/session/v1/params.d.ts +18 -0
- package/sparkdream/session/v1/params.js +24 -0
- package/sparkdream/shield/v1/genesis.d.ts +37 -1
- package/sparkdream/shield/v1/genesis.js +55 -1
- package/sparkdream/shield/v1/params.d.ts +26 -2
- package/sparkdream/shield/v1/params.js +13 -1
- package/sparkdream/shield/v1/types.d.ts +122 -0
- package/sparkdream/shield/v1/types.js +203 -2
- package/sparkdream/vault/v1/genesis.d.ts +14 -0
- package/sparkdream/vault/v1/genesis.js +25 -1
- package/sparkdream/vault/v1/query.d.ts +16 -3
- package/sparkdream/vault/v1/query.js +15 -2
- package/sparkdream/vault/v1/query.lcd.js +3 -0
- package/sparkdream/vault/v1/tx.d.ts +219 -0
- package/sparkdream/vault/v1/tx.js +302 -1
- package/sparkdream/vault/v1/tx.registry.d.ts +25 -1
- package/sparkdream/vault/v1/tx.registry.js +37 -1
- package/sparkdream/vault/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/vault/v1/tx.rpc.msg.js +12 -0
- package/sparkdream/vault/v1/vault_signer.d.ts +22 -3
- package/sparkdream/vault/v1/vault_signer.js +15 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -1377,7 +1377,9 @@ function createBaseMsgApproveInterim() {
|
|
|
1377
1377
|
};
|
|
1378
1378
|
}
|
|
1379
1379
|
/**
|
|
1380
|
-
* MsgApproveInterim
|
|
1380
|
+
* MsgApproveInterim approves (pays) or rejects an interim. creator must be
|
|
1381
|
+
* the Commons Operations Committee policy address (an executed committee
|
|
1382
|
+
* proposal), the Commons Council policy or x/gov, never a single member.
|
|
1381
1383
|
* @name MsgApproveInterim
|
|
1382
1384
|
* @package sparkdream.rep.v1
|
|
1383
1385
|
* @see proto type: sparkdream.rep.v1.MsgApproveInterim
|
|
@@ -1701,7 +1703,9 @@ function createBaseMsgCompleteInterim() {
|
|
|
1701
1703
|
};
|
|
1702
1704
|
}
|
|
1703
1705
|
/**
|
|
1704
|
-
* MsgCompleteInterim
|
|
1706
|
+
* MsgCompleteInterim settles an ADJUDICATION interim with an explicit
|
|
1707
|
+
* decision. creator must be the Commons Operations Committee policy address
|
|
1708
|
+
* (an executed committee proposal), the Commons Council policy or x/gov.
|
|
1705
1709
|
* @name MsgCompleteInterim
|
|
1706
1710
|
* @package sparkdream.rep.v1
|
|
1707
1711
|
* @see proto type: sparkdream.rep.v1.MsgCompleteInterim
|
|
@@ -2433,6 +2437,155 @@ export const MsgCancelProjectResponse = {
|
|
|
2433
2437
|
};
|
|
2434
2438
|
}
|
|
2435
2439
|
};
|
|
2440
|
+
function createBaseMsgCompleteProject() {
|
|
2441
|
+
return {
|
|
2442
|
+
creator: "",
|
|
2443
|
+
projectId: BigInt(0)
|
|
2444
|
+
};
|
|
2445
|
+
}
|
|
2446
|
+
/**
|
|
2447
|
+
* MsgCompleteProject records an ACTIVE project as COMPLETED: pays the staker
|
|
2448
|
+
* completion bonus, settles and releases every project stake, and moves the
|
|
2449
|
+
* project to its terminal status. Signed by the project's council or
|
|
2450
|
+
* Operations Committee policy address (an executed proposal) or x/gov; never
|
|
2451
|
+
* by an individual committee member. Refused while any initiative of the
|
|
2452
|
+
* project is non-terminal or any challenge on it is active.
|
|
2453
|
+
* @name MsgCompleteProject
|
|
2454
|
+
* @package sparkdream.rep.v1
|
|
2455
|
+
* @see proto type: sparkdream.rep.v1.MsgCompleteProject
|
|
2456
|
+
*/
|
|
2457
|
+
export const MsgCompleteProject = {
|
|
2458
|
+
typeUrl: "/sparkdream.rep.v1.MsgCompleteProject",
|
|
2459
|
+
aminoType: "sparkdream/x/rep/MsgCompleteProject",
|
|
2460
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
2461
|
+
if (message.creator !== "") {
|
|
2462
|
+
writer.uint32(10).string(message.creator);
|
|
2463
|
+
}
|
|
2464
|
+
if (message.projectId !== BigInt(0)) {
|
|
2465
|
+
writer.uint32(16).uint64(message.projectId);
|
|
2466
|
+
}
|
|
2467
|
+
return writer;
|
|
2468
|
+
},
|
|
2469
|
+
decode(input, length) {
|
|
2470
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2471
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2472
|
+
const message = createBaseMsgCompleteProject();
|
|
2473
|
+
while (reader.pos < end) {
|
|
2474
|
+
const tag = reader.uint32();
|
|
2475
|
+
switch (tag >>> 3) {
|
|
2476
|
+
case 1:
|
|
2477
|
+
message.creator = reader.string();
|
|
2478
|
+
break;
|
|
2479
|
+
case 2:
|
|
2480
|
+
message.projectId = reader.uint64();
|
|
2481
|
+
break;
|
|
2482
|
+
default:
|
|
2483
|
+
reader.skipType(tag & 7);
|
|
2484
|
+
break;
|
|
2485
|
+
}
|
|
2486
|
+
}
|
|
2487
|
+
return message;
|
|
2488
|
+
},
|
|
2489
|
+
fromPartial(object) {
|
|
2490
|
+
const message = createBaseMsgCompleteProject();
|
|
2491
|
+
message.creator = object.creator ?? "";
|
|
2492
|
+
message.projectId = object.projectId !== undefined && object.projectId !== null ? BigInt(object.projectId.toString()) : BigInt(0);
|
|
2493
|
+
return message;
|
|
2494
|
+
},
|
|
2495
|
+
fromAmino(object) {
|
|
2496
|
+
const message = createBaseMsgCompleteProject();
|
|
2497
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
2498
|
+
message.creator = object.creator;
|
|
2499
|
+
}
|
|
2500
|
+
if (object.project_id !== undefined && object.project_id !== null) {
|
|
2501
|
+
message.projectId = BigInt(object.project_id);
|
|
2502
|
+
}
|
|
2503
|
+
return message;
|
|
2504
|
+
},
|
|
2505
|
+
toAmino(message) {
|
|
2506
|
+
const obj = {};
|
|
2507
|
+
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
2508
|
+
obj.project_id = message.projectId !== BigInt(0) ? message.projectId?.toString() : undefined;
|
|
2509
|
+
return obj;
|
|
2510
|
+
},
|
|
2511
|
+
fromAminoMsg(object) {
|
|
2512
|
+
return MsgCompleteProject.fromAmino(object.value);
|
|
2513
|
+
},
|
|
2514
|
+
toAminoMsg(message) {
|
|
2515
|
+
return {
|
|
2516
|
+
type: "sparkdream/x/rep/MsgCompleteProject",
|
|
2517
|
+
value: MsgCompleteProject.toAmino(message)
|
|
2518
|
+
};
|
|
2519
|
+
},
|
|
2520
|
+
fromProtoMsg(message) {
|
|
2521
|
+
return MsgCompleteProject.decode(message.value);
|
|
2522
|
+
},
|
|
2523
|
+
toProto(message) {
|
|
2524
|
+
return MsgCompleteProject.encode(message).finish();
|
|
2525
|
+
},
|
|
2526
|
+
toProtoMsg(message) {
|
|
2527
|
+
return {
|
|
2528
|
+
typeUrl: "/sparkdream.rep.v1.MsgCompleteProject",
|
|
2529
|
+
value: MsgCompleteProject.encode(message).finish()
|
|
2530
|
+
};
|
|
2531
|
+
}
|
|
2532
|
+
};
|
|
2533
|
+
function createBaseMsgCompleteProjectResponse() {
|
|
2534
|
+
return {};
|
|
2535
|
+
}
|
|
2536
|
+
/**
|
|
2537
|
+
* MsgCompleteProjectResponse defines the MsgCompleteProjectResponse message.
|
|
2538
|
+
* @name MsgCompleteProjectResponse
|
|
2539
|
+
* @package sparkdream.rep.v1
|
|
2540
|
+
* @see proto type: sparkdream.rep.v1.MsgCompleteProjectResponse
|
|
2541
|
+
*/
|
|
2542
|
+
export const MsgCompleteProjectResponse = {
|
|
2543
|
+
typeUrl: "/sparkdream.rep.v1.MsgCompleteProjectResponse",
|
|
2544
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
2545
|
+
return writer;
|
|
2546
|
+
},
|
|
2547
|
+
decode(input, length) {
|
|
2548
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2549
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2550
|
+
const message = createBaseMsgCompleteProjectResponse();
|
|
2551
|
+
while (reader.pos < end) {
|
|
2552
|
+
const tag = reader.uint32();
|
|
2553
|
+
switch (tag >>> 3) {
|
|
2554
|
+
default:
|
|
2555
|
+
reader.skipType(tag & 7);
|
|
2556
|
+
break;
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
return message;
|
|
2560
|
+
},
|
|
2561
|
+
fromPartial(_) {
|
|
2562
|
+
const message = createBaseMsgCompleteProjectResponse();
|
|
2563
|
+
return message;
|
|
2564
|
+
},
|
|
2565
|
+
fromAmino(_) {
|
|
2566
|
+
const message = createBaseMsgCompleteProjectResponse();
|
|
2567
|
+
return message;
|
|
2568
|
+
},
|
|
2569
|
+
toAmino(_) {
|
|
2570
|
+
const obj = {};
|
|
2571
|
+
return obj;
|
|
2572
|
+
},
|
|
2573
|
+
fromAminoMsg(object) {
|
|
2574
|
+
return MsgCompleteProjectResponse.fromAmino(object.value);
|
|
2575
|
+
},
|
|
2576
|
+
fromProtoMsg(message) {
|
|
2577
|
+
return MsgCompleteProjectResponse.decode(message.value);
|
|
2578
|
+
},
|
|
2579
|
+
toProto(message) {
|
|
2580
|
+
return MsgCompleteProjectResponse.encode(message).finish();
|
|
2581
|
+
},
|
|
2582
|
+
toProtoMsg(message) {
|
|
2583
|
+
return {
|
|
2584
|
+
typeUrl: "/sparkdream.rep.v1.MsgCompleteProjectResponse",
|
|
2585
|
+
value: MsgCompleteProjectResponse.encode(message).finish()
|
|
2586
|
+
};
|
|
2587
|
+
}
|
|
2588
|
+
};
|
|
2436
2589
|
function createBaseMsgCreateInitiative() {
|
|
2437
2590
|
return {
|
|
2438
2591
|
creator: "",
|
|
@@ -5223,6 +5376,182 @@ export const MsgSubmitExpertTestimonyResponse = {
|
|
|
5223
5376
|
};
|
|
5224
5377
|
}
|
|
5225
5378
|
};
|
|
5379
|
+
function createBaseMsgInviteExpertWitness() {
|
|
5380
|
+
return {
|
|
5381
|
+
juror: "",
|
|
5382
|
+
juryReviewId: BigInt(0),
|
|
5383
|
+
expert: ""
|
|
5384
|
+
};
|
|
5385
|
+
}
|
|
5386
|
+
/**
|
|
5387
|
+
* MsgInviteExpertWitness lets a juror seated on a pending initiative jury
|
|
5388
|
+
* review call an expert witness. The expert must be an active ESTABLISHED+
|
|
5389
|
+
* member with reputation in one of the initiative's tags and no stake in the
|
|
5390
|
+
* dispute (not the challenger, assignee, initiative creator or a juror). The
|
|
5391
|
+
* invitation opens an EXPERT_TESTIMONY interim that pays the expert when they
|
|
5392
|
+
* testify and expires with the review. At most MaxExpertWitnessesPerReview
|
|
5393
|
+
* experts per review.
|
|
5394
|
+
* @name MsgInviteExpertWitness
|
|
5395
|
+
* @package sparkdream.rep.v1
|
|
5396
|
+
* @see proto type: sparkdream.rep.v1.MsgInviteExpertWitness
|
|
5397
|
+
*/
|
|
5398
|
+
export const MsgInviteExpertWitness = {
|
|
5399
|
+
typeUrl: "/sparkdream.rep.v1.MsgInviteExpertWitness",
|
|
5400
|
+
aminoType: "sparkdream/x/rep/MsgInviteExpertWitness",
|
|
5401
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
5402
|
+
if (message.juror !== "") {
|
|
5403
|
+
writer.uint32(10).string(message.juror);
|
|
5404
|
+
}
|
|
5405
|
+
if (message.juryReviewId !== BigInt(0)) {
|
|
5406
|
+
writer.uint32(16).uint64(message.juryReviewId);
|
|
5407
|
+
}
|
|
5408
|
+
if (message.expert !== "") {
|
|
5409
|
+
writer.uint32(26).string(message.expert);
|
|
5410
|
+
}
|
|
5411
|
+
return writer;
|
|
5412
|
+
},
|
|
5413
|
+
decode(input, length) {
|
|
5414
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5415
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5416
|
+
const message = createBaseMsgInviteExpertWitness();
|
|
5417
|
+
while (reader.pos < end) {
|
|
5418
|
+
const tag = reader.uint32();
|
|
5419
|
+
switch (tag >>> 3) {
|
|
5420
|
+
case 1:
|
|
5421
|
+
message.juror = reader.string();
|
|
5422
|
+
break;
|
|
5423
|
+
case 2:
|
|
5424
|
+
message.juryReviewId = reader.uint64();
|
|
5425
|
+
break;
|
|
5426
|
+
case 3:
|
|
5427
|
+
message.expert = reader.string();
|
|
5428
|
+
break;
|
|
5429
|
+
default:
|
|
5430
|
+
reader.skipType(tag & 7);
|
|
5431
|
+
break;
|
|
5432
|
+
}
|
|
5433
|
+
}
|
|
5434
|
+
return message;
|
|
5435
|
+
},
|
|
5436
|
+
fromPartial(object) {
|
|
5437
|
+
const message = createBaseMsgInviteExpertWitness();
|
|
5438
|
+
message.juror = object.juror ?? "";
|
|
5439
|
+
message.juryReviewId = object.juryReviewId !== undefined && object.juryReviewId !== null ? BigInt(object.juryReviewId.toString()) : BigInt(0);
|
|
5440
|
+
message.expert = object.expert ?? "";
|
|
5441
|
+
return message;
|
|
5442
|
+
},
|
|
5443
|
+
fromAmino(object) {
|
|
5444
|
+
const message = createBaseMsgInviteExpertWitness();
|
|
5445
|
+
if (object.juror !== undefined && object.juror !== null) {
|
|
5446
|
+
message.juror = object.juror;
|
|
5447
|
+
}
|
|
5448
|
+
if (object.jury_review_id !== undefined && object.jury_review_id !== null) {
|
|
5449
|
+
message.juryReviewId = BigInt(object.jury_review_id);
|
|
5450
|
+
}
|
|
5451
|
+
if (object.expert !== undefined && object.expert !== null) {
|
|
5452
|
+
message.expert = object.expert;
|
|
5453
|
+
}
|
|
5454
|
+
return message;
|
|
5455
|
+
},
|
|
5456
|
+
toAmino(message) {
|
|
5457
|
+
const obj = {};
|
|
5458
|
+
obj.juror = message.juror === "" ? undefined : message.juror;
|
|
5459
|
+
obj.jury_review_id = message.juryReviewId !== BigInt(0) ? message.juryReviewId?.toString() : undefined;
|
|
5460
|
+
obj.expert = message.expert === "" ? undefined : message.expert;
|
|
5461
|
+
return obj;
|
|
5462
|
+
},
|
|
5463
|
+
fromAminoMsg(object) {
|
|
5464
|
+
return MsgInviteExpertWitness.fromAmino(object.value);
|
|
5465
|
+
},
|
|
5466
|
+
toAminoMsg(message) {
|
|
5467
|
+
return {
|
|
5468
|
+
type: "sparkdream/x/rep/MsgInviteExpertWitness",
|
|
5469
|
+
value: MsgInviteExpertWitness.toAmino(message)
|
|
5470
|
+
};
|
|
5471
|
+
},
|
|
5472
|
+
fromProtoMsg(message) {
|
|
5473
|
+
return MsgInviteExpertWitness.decode(message.value);
|
|
5474
|
+
},
|
|
5475
|
+
toProto(message) {
|
|
5476
|
+
return MsgInviteExpertWitness.encode(message).finish();
|
|
5477
|
+
},
|
|
5478
|
+
toProtoMsg(message) {
|
|
5479
|
+
return {
|
|
5480
|
+
typeUrl: "/sparkdream.rep.v1.MsgInviteExpertWitness",
|
|
5481
|
+
value: MsgInviteExpertWitness.encode(message).finish()
|
|
5482
|
+
};
|
|
5483
|
+
}
|
|
5484
|
+
};
|
|
5485
|
+
function createBaseMsgInviteExpertWitnessResponse() {
|
|
5486
|
+
return {
|
|
5487
|
+
interimId: BigInt(0)
|
|
5488
|
+
};
|
|
5489
|
+
}
|
|
5490
|
+
/**
|
|
5491
|
+
* MsgInviteExpertWitnessResponse returns the EXPERT_TESTIMONY interim opened
|
|
5492
|
+
* for the expert.
|
|
5493
|
+
* @name MsgInviteExpertWitnessResponse
|
|
5494
|
+
* @package sparkdream.rep.v1
|
|
5495
|
+
* @see proto type: sparkdream.rep.v1.MsgInviteExpertWitnessResponse
|
|
5496
|
+
*/
|
|
5497
|
+
export const MsgInviteExpertWitnessResponse = {
|
|
5498
|
+
typeUrl: "/sparkdream.rep.v1.MsgInviteExpertWitnessResponse",
|
|
5499
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
5500
|
+
if (message.interimId !== BigInt(0)) {
|
|
5501
|
+
writer.uint32(8).uint64(message.interimId);
|
|
5502
|
+
}
|
|
5503
|
+
return writer;
|
|
5504
|
+
},
|
|
5505
|
+
decode(input, length) {
|
|
5506
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
5507
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
5508
|
+
const message = createBaseMsgInviteExpertWitnessResponse();
|
|
5509
|
+
while (reader.pos < end) {
|
|
5510
|
+
const tag = reader.uint32();
|
|
5511
|
+
switch (tag >>> 3) {
|
|
5512
|
+
case 1:
|
|
5513
|
+
message.interimId = reader.uint64();
|
|
5514
|
+
break;
|
|
5515
|
+
default:
|
|
5516
|
+
reader.skipType(tag & 7);
|
|
5517
|
+
break;
|
|
5518
|
+
}
|
|
5519
|
+
}
|
|
5520
|
+
return message;
|
|
5521
|
+
},
|
|
5522
|
+
fromPartial(object) {
|
|
5523
|
+
const message = createBaseMsgInviteExpertWitnessResponse();
|
|
5524
|
+
message.interimId = object.interimId !== undefined && object.interimId !== null ? BigInt(object.interimId.toString()) : BigInt(0);
|
|
5525
|
+
return message;
|
|
5526
|
+
},
|
|
5527
|
+
fromAmino(object) {
|
|
5528
|
+
const message = createBaseMsgInviteExpertWitnessResponse();
|
|
5529
|
+
if (object.interim_id !== undefined && object.interim_id !== null) {
|
|
5530
|
+
message.interimId = BigInt(object.interim_id);
|
|
5531
|
+
}
|
|
5532
|
+
return message;
|
|
5533
|
+
},
|
|
5534
|
+
toAmino(message) {
|
|
5535
|
+
const obj = {};
|
|
5536
|
+
obj.interim_id = message.interimId !== BigInt(0) ? message.interimId?.toString() : undefined;
|
|
5537
|
+
return obj;
|
|
5538
|
+
},
|
|
5539
|
+
fromAminoMsg(object) {
|
|
5540
|
+
return MsgInviteExpertWitnessResponse.fromAmino(object.value);
|
|
5541
|
+
},
|
|
5542
|
+
fromProtoMsg(message) {
|
|
5543
|
+
return MsgInviteExpertWitnessResponse.decode(message.value);
|
|
5544
|
+
},
|
|
5545
|
+
toProto(message) {
|
|
5546
|
+
return MsgInviteExpertWitnessResponse.encode(message).finish();
|
|
5547
|
+
},
|
|
5548
|
+
toProtoMsg(message) {
|
|
5549
|
+
return {
|
|
5550
|
+
typeUrl: "/sparkdream.rep.v1.MsgInviteExpertWitnessResponse",
|
|
5551
|
+
value: MsgInviteExpertWitnessResponse.encode(message).finish()
|
|
5552
|
+
};
|
|
5553
|
+
}
|
|
5554
|
+
};
|
|
5226
5555
|
function createBaseMsgChallengeContent() {
|
|
5227
5556
|
return {
|
|
5228
5557
|
challenger: "",
|
|
@@ -7841,7 +8170,10 @@ function createBaseMsgResolveMemberReport() {
|
|
|
7841
8170
|
};
|
|
7842
8171
|
}
|
|
7843
8172
|
/**
|
|
7844
|
-
* MsgResolveMemberReport
|
|
8173
|
+
* MsgResolveMemberReport resolves a member report (dismiss, warning,
|
|
8174
|
+
* demotion or zeroing). creator must be the Commons Operations Committee
|
|
8175
|
+
* policy address (an executed committee proposal), the Commons Council policy
|
|
8176
|
+
* or x/gov, never a single committee member.
|
|
7845
8177
|
* @name MsgResolveMemberReport
|
|
7846
8178
|
* @package sparkdream.rep.v1
|
|
7847
8179
|
* @see proto type: sparkdream.rep.v1.MsgResolveMemberReport
|
|
@@ -8321,10 +8653,11 @@ function createBaseMsgResolveGovActionAppeal() {
|
|
|
8321
8653
|
};
|
|
8322
8654
|
}
|
|
8323
8655
|
/**
|
|
8324
|
-
* MsgResolveGovActionAppeal resolves a pending appeal
|
|
8325
|
-
*
|
|
8326
|
-
*
|
|
8327
|
-
*
|
|
8656
|
+
* MsgResolveGovActionAppeal resolves a pending appeal. resolver must be the
|
|
8657
|
+
* Commons Operations Committee policy address (an executed committee
|
|
8658
|
+
* proposal), the Commons Council policy or x/gov, never a single committee
|
|
8659
|
+
* member. The verdict must be UPHELD or OVERTURNED; TIMEOUT is EndBlocker-only
|
|
8660
|
+
* and UNSPECIFIED is rejected.
|
|
8328
8661
|
* @name MsgResolveGovActionAppeal
|
|
8329
8662
|
* @package sparkdream.rep.v1
|
|
8330
8663
|
* @see proto type: sparkdream.rep.v1.MsgResolveGovActionAppeal
|
|
@@ -10310,7 +10643,9 @@ function createBaseMsgCancelMigration() {
|
|
|
10310
10643
|
* MsgCancelMigration cancels a pending migration. The old or new address may
|
|
10311
10644
|
* cancel a KEY migration; the Commons HR committee policy may cancel KEY and
|
|
10312
10645
|
* COUNCIL migrations; governance may cancel any path and is the only
|
|
10313
|
-
* authority over a RECOVERY migration.
|
|
10646
|
+
* authority over a RECOVERY migration. Cancelling an OBJECTED migration
|
|
10647
|
+
* refunds the objector: governance cancelling a migration whose objection was
|
|
10648
|
+
* escalated to it upholds the objection.
|
|
10314
10649
|
* @name MsgCancelMigration
|
|
10315
10650
|
* @package sparkdream.rep.v1
|
|
10316
10651
|
* @see proto type: sparkdream.rep.v1.MsgCancelMigration
|
|
@@ -10916,6 +11251,10 @@ function createBaseMsgRevealRecovery() {
|
|
|
10916
11251
|
* the target, and new_address confirms control afterwards with
|
|
10917
11252
|
* MsgAcceptMigration. The matched commitment is consumed, pending commitment
|
|
10918
11253
|
* changes are voided and any pending KEY or COUNCIL migration is cancelled.
|
|
11254
|
+
* Once the preimage and the aged seal check out, the commitment and the seal
|
|
11255
|
+
* are consumed even when the migration cannot be opened (the preimage is
|
|
11256
|
+
* public from that block on): the tx then succeeds with migration_id 0 and
|
|
11257
|
+
* failure_reason set, so nobody can re-seal the leaked preimage.
|
|
10919
11258
|
* @name MsgRevealRecovery
|
|
10920
11259
|
* @package sparkdream.rep.v1
|
|
10921
11260
|
* @see proto type: sparkdream.rep.v1.MsgRevealRecovery
|
|
@@ -11020,7 +11359,8 @@ export const MsgRevealRecovery = {
|
|
|
11020
11359
|
};
|
|
11021
11360
|
function createBaseMsgRevealRecoveryResponse() {
|
|
11022
11361
|
return {
|
|
11023
|
-
migrationId: BigInt(0)
|
|
11362
|
+
migrationId: BigInt(0),
|
|
11363
|
+
failureReason: ""
|
|
11024
11364
|
};
|
|
11025
11365
|
}
|
|
11026
11366
|
/**
|
|
@@ -11035,6 +11375,9 @@ export const MsgRevealRecoveryResponse = {
|
|
|
11035
11375
|
if (message.migrationId !== BigInt(0)) {
|
|
11036
11376
|
writer.uint32(8).uint64(message.migrationId);
|
|
11037
11377
|
}
|
|
11378
|
+
if (message.failureReason !== "") {
|
|
11379
|
+
writer.uint32(18).string(message.failureReason);
|
|
11380
|
+
}
|
|
11038
11381
|
return writer;
|
|
11039
11382
|
},
|
|
11040
11383
|
decode(input, length) {
|
|
@@ -11047,6 +11390,9 @@ export const MsgRevealRecoveryResponse = {
|
|
|
11047
11390
|
case 1:
|
|
11048
11391
|
message.migrationId = reader.uint64();
|
|
11049
11392
|
break;
|
|
11393
|
+
case 2:
|
|
11394
|
+
message.failureReason = reader.string();
|
|
11395
|
+
break;
|
|
11050
11396
|
default:
|
|
11051
11397
|
reader.skipType(tag & 7);
|
|
11052
11398
|
break;
|
|
@@ -11057,6 +11403,7 @@ export const MsgRevealRecoveryResponse = {
|
|
|
11057
11403
|
fromPartial(object) {
|
|
11058
11404
|
const message = createBaseMsgRevealRecoveryResponse();
|
|
11059
11405
|
message.migrationId = object.migrationId !== undefined && object.migrationId !== null ? BigInt(object.migrationId.toString()) : BigInt(0);
|
|
11406
|
+
message.failureReason = object.failureReason ?? "";
|
|
11060
11407
|
return message;
|
|
11061
11408
|
},
|
|
11062
11409
|
fromAmino(object) {
|
|
@@ -11064,11 +11411,15 @@ export const MsgRevealRecoveryResponse = {
|
|
|
11064
11411
|
if (object.migration_id !== undefined && object.migration_id !== null) {
|
|
11065
11412
|
message.migrationId = BigInt(object.migration_id);
|
|
11066
11413
|
}
|
|
11414
|
+
if (object.failure_reason !== undefined && object.failure_reason !== null) {
|
|
11415
|
+
message.failureReason = object.failure_reason;
|
|
11416
|
+
}
|
|
11067
11417
|
return message;
|
|
11068
11418
|
},
|
|
11069
11419
|
toAmino(message) {
|
|
11070
11420
|
const obj = {};
|
|
11071
11421
|
obj.migration_id = message.migrationId !== BigInt(0) ? message.migrationId?.toString() : undefined;
|
|
11422
|
+
obj.failure_reason = message.failureReason === "" ? undefined : message.failureReason;
|
|
11072
11423
|
return obj;
|
|
11073
11424
|
},
|
|
11074
11425
|
fromAminoMsg(object) {
|
|
@@ -11097,9 +11448,10 @@ function createBaseMsgObjectMigration() {
|
|
|
11097
11448
|
/**
|
|
11098
11449
|
* MsgObjectMigration lets the old address contest a COUNCIL migration
|
|
11099
11450
|
* during its delay. It does not cancel the migration: the objector posts
|
|
11100
|
-
* migration_objection_bond and an x/rep jury decides.
|
|
11101
|
-
*
|
|
11102
|
-
*
|
|
11451
|
+
* migration_objection_bond and an x/rep jury decides. An inconclusive jury
|
|
11452
|
+
* (including one that could not be seated) escalates the objection to x/gov
|
|
11453
|
+
* with the bond still locked. The bond is paid to the new address if the
|
|
11454
|
+
* migration is upheld and refunded otherwise, never burned.
|
|
11103
11455
|
* @name MsgObjectMigration
|
|
11104
11456
|
* @package sparkdream.rep.v1
|
|
11105
11457
|
* @see proto type: sparkdream.rep.v1.MsgObjectMigration
|
|
@@ -11257,7 +11609,10 @@ function createBaseMsgSweepTombstone() {
|
|
|
11257
11609
|
* MsgSweepTombstone moves a tombstone's spendable SPARK to its canonical
|
|
11258
11610
|
* address, which signs. Unbonding completes to the old address outside the
|
|
11259
11611
|
* bank send restriction; on the recovery and council paths the old key may
|
|
11260
|
-
* not MsgSend it, so this is how the member collects it.
|
|
11612
|
+
* not MsgSend it, so this is how the member collects it. On those paths
|
|
11613
|
+
* finalization starts unbonding every delegation of the old address; the
|
|
11614
|
+
* sweep also starts any it left behind, and collects the SPARK once the
|
|
11615
|
+
* unbonding matures.
|
|
11261
11616
|
* @name MsgSweepTombstone
|
|
11262
11617
|
* @package sparkdream.rep.v1
|
|
11263
11618
|
* @see proto type: sparkdream.rep.v1.MsgSweepTombstone
|
|
@@ -11407,7 +11762,10 @@ function createBaseMsgForceMigration() {
|
|
|
11407
11762
|
* off-chain evidence (a lost key with no recovery commitment). The authority
|
|
11408
11763
|
* is the Commons HR (governance) committee policy or x/gov. new_address must
|
|
11409
11764
|
* still accept; the old address may object to a jury during
|
|
11410
|
-
* council_migration_delay. An open member report does not block it.
|
|
11765
|
+
* council_migration_delay. An open member report does not block it. Signed
|
|
11766
|
+
* by x/gov for the member and new address of a migration whose objection was
|
|
11767
|
+
* escalated to governance, it rejects the objection (the migration
|
|
11768
|
+
* finalizes, the bond goes to new_address) instead of opening a new one.
|
|
11411
11769
|
* @name MsgForceMigration
|
|
11412
11770
|
* @package sparkdream.rep.v1
|
|
11413
11771
|
* @see proto type: sparkdream.rep.v1.MsgForceMigration
|
|
@@ -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, 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]];
|
|
1
|
+
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgInviteMember, MsgAcceptInvitation, MsgTransferDream, MsgCreateInterim, MsgAssignInterim, MsgSubmitInterimWork, MsgApproveInterim, MsgAbandonInterim, MsgCompleteInterim, MsgProposeProject, MsgApproveProjectBudget, MsgCancelProject, MsgCompleteProject, MsgCreateInitiative, MsgAssignInitiative, MsgSubmitInitiativeWork, MsgApproveInitiative, MsgUnassignInitiative, MsgCompleteInitiative, MsgStake, MsgUnstake, MsgClaimStakingRewards, MsgCompoundStakingRewards, MsgCreateChallenge, MsgRespondToChallenge, MsgSubmitJurorVote, MsgAcceptJuryDuty, MsgSubmitInitiativeReview, MsgSetVerificationPolicy, MsgResolveReviewEscalation, MsgDeclineJuryDuty, MsgFundReviewBounty, MsgReclaimReviewBounty, MsgSubmitExpertTestimony, MsgInviteExpertWitness, 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.MsgCompleteProject", MsgCompleteProject], ["/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.MsgInviteExpertWitness", MsgInviteExpertWitness], ["/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);
|
|
@@ -91,6 +91,12 @@ export const MessageComposer = {
|
|
|
91
91
|
value: MsgCancelProject.encode(value).finish()
|
|
92
92
|
};
|
|
93
93
|
},
|
|
94
|
+
completeProject(value) {
|
|
95
|
+
return {
|
|
96
|
+
typeUrl: "/sparkdream.rep.v1.MsgCompleteProject",
|
|
97
|
+
value: MsgCompleteProject.encode(value).finish()
|
|
98
|
+
};
|
|
99
|
+
},
|
|
94
100
|
createInitiative(value) {
|
|
95
101
|
return {
|
|
96
102
|
typeUrl: "/sparkdream.rep.v1.MsgCreateInitiative",
|
|
@@ -217,6 +223,12 @@ export const MessageComposer = {
|
|
|
217
223
|
value: MsgSubmitExpertTestimony.encode(value).finish()
|
|
218
224
|
};
|
|
219
225
|
},
|
|
226
|
+
inviteExpertWitness(value) {
|
|
227
|
+
return {
|
|
228
|
+
typeUrl: "/sparkdream.rep.v1.MsgInviteExpertWitness",
|
|
229
|
+
value: MsgInviteExpertWitness.encode(value).finish()
|
|
230
|
+
};
|
|
231
|
+
},
|
|
220
232
|
challengeContent(value) {
|
|
221
233
|
return {
|
|
222
234
|
typeUrl: "/sparkdream.rep.v1.MsgChallengeContent",
|
|
@@ -513,6 +525,12 @@ export const MessageComposer = {
|
|
|
513
525
|
value
|
|
514
526
|
};
|
|
515
527
|
},
|
|
528
|
+
completeProject(value) {
|
|
529
|
+
return {
|
|
530
|
+
typeUrl: "/sparkdream.rep.v1.MsgCompleteProject",
|
|
531
|
+
value
|
|
532
|
+
};
|
|
533
|
+
},
|
|
516
534
|
createInitiative(value) {
|
|
517
535
|
return {
|
|
518
536
|
typeUrl: "/sparkdream.rep.v1.MsgCreateInitiative",
|
|
@@ -639,6 +657,12 @@ export const MessageComposer = {
|
|
|
639
657
|
value
|
|
640
658
|
};
|
|
641
659
|
},
|
|
660
|
+
inviteExpertWitness(value) {
|
|
661
|
+
return {
|
|
662
|
+
typeUrl: "/sparkdream.rep.v1.MsgInviteExpertWitness",
|
|
663
|
+
value
|
|
664
|
+
};
|
|
665
|
+
},
|
|
642
666
|
challengeContent(value) {
|
|
643
667
|
return {
|
|
644
668
|
typeUrl: "/sparkdream.rep.v1.MsgChallengeContent",
|
|
@@ -935,6 +959,12 @@ export const MessageComposer = {
|
|
|
935
959
|
value: MsgCancelProject.fromPartial(value)
|
|
936
960
|
};
|
|
937
961
|
},
|
|
962
|
+
completeProject(value) {
|
|
963
|
+
return {
|
|
964
|
+
typeUrl: "/sparkdream.rep.v1.MsgCompleteProject",
|
|
965
|
+
value: MsgCompleteProject.fromPartial(value)
|
|
966
|
+
};
|
|
967
|
+
},
|
|
938
968
|
createInitiative(value) {
|
|
939
969
|
return {
|
|
940
970
|
typeUrl: "/sparkdream.rep.v1.MsgCreateInitiative",
|
|
@@ -1061,6 +1091,12 @@ export const MessageComposer = {
|
|
|
1061
1091
|
value: MsgSubmitExpertTestimony.fromPartial(value)
|
|
1062
1092
|
};
|
|
1063
1093
|
},
|
|
1094
|
+
inviteExpertWitness(value) {
|
|
1095
|
+
return {
|
|
1096
|
+
typeUrl: "/sparkdream.rep.v1.MsgInviteExpertWitness",
|
|
1097
|
+
value: MsgInviteExpertWitness.fromPartial(value)
|
|
1098
|
+
};
|
|
1099
|
+
},
|
|
1064
1100
|
challengeContent(value) {
|
|
1065
1101
|
return {
|
|
1066
1102
|
typeUrl: "/sparkdream.rep.v1.MsgChallengeContent",
|
|
@@ -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, MsgRequestMigration, MsgRequestMigrationResponse, MsgAcceptMigration, MsgAcceptMigrationResponse, MsgCancelMigration, MsgCancelMigrationResponse, MsgSetRecoveryCommitment, MsgSetRecoveryCommitmentResponse, MsgRemoveRecoveryCommitment, MsgRemoveRecoveryCommitmentResponse, MsgCommitRecovery, MsgCommitRecoveryResponse, MsgRevealRecovery, MsgRevealRecoveryResponse, MsgObjectMigration, MsgObjectMigrationResponse, MsgSweepTombstone, MsgSweepTombstoneResponse, MsgForceMigration, MsgForceMigrationResponse, MsgClearZkPublicKey, MsgClearZkPublicKeyResponse } 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, MsgCompleteProject, MsgCompleteProjectResponse, 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, MsgInviteExpertWitness, MsgInviteExpertWitnessResponse, 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) {
|
|
@@ -91,6 +91,12 @@ export class MsgClientImpl {
|
|
|
91
91
|
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "CancelProject", data);
|
|
92
92
|
return promise.then(data => MsgCancelProjectResponse.decode(new BinaryReader(data)));
|
|
93
93
|
};
|
|
94
|
+
/* CompleteProject defines the CompleteProject RPC. */
|
|
95
|
+
completeProject = async (request) => {
|
|
96
|
+
const data = MsgCompleteProject.encode(request).finish();
|
|
97
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "CompleteProject", data);
|
|
98
|
+
return promise.then(data => MsgCompleteProjectResponse.decode(new BinaryReader(data)));
|
|
99
|
+
};
|
|
94
100
|
/* CreateInitiative defines the CreateInitiative RPC. */
|
|
95
101
|
createInitiative = async (request) => {
|
|
96
102
|
const data = MsgCreateInitiative.encode(request).finish();
|
|
@@ -217,6 +223,13 @@ export class MsgClientImpl {
|
|
|
217
223
|
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "SubmitExpertTestimony", data);
|
|
218
224
|
return promise.then(data => MsgSubmitExpertTestimonyResponse.decode(new BinaryReader(data)));
|
|
219
225
|
};
|
|
226
|
+
/* InviteExpertWitness lets a seated juror call an expert witness onto a
|
|
227
|
+
pending initiative jury review. */
|
|
228
|
+
inviteExpertWitness = async (request) => {
|
|
229
|
+
const data = MsgInviteExpertWitness.encode(request).finish();
|
|
230
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "InviteExpertWitness", data);
|
|
231
|
+
return promise.then(data => MsgInviteExpertWitnessResponse.decode(new BinaryReader(data)));
|
|
232
|
+
};
|
|
220
233
|
/* ChallengeContent creates a challenge against bonded content. */
|
|
221
234
|
challengeContent = async (request) => {
|
|
222
235
|
const data = MsgChallengeContent.encode(request).finish();
|
|
@@ -339,7 +352,8 @@ export class MsgClientImpl {
|
|
|
339
352
|
return promise.then(data => MsgAppealGovActionResponse.decode(new BinaryReader(data)));
|
|
340
353
|
};
|
|
341
354
|
/* ResolveGovActionAppeal defines the ResolveGovActionAppeal RPC. Resolves
|
|
342
|
-
a pending gov action appeal
|
|
355
|
+
a pending gov action appeal (UPHELD or OVERTURNED); Operations Committee
|
|
356
|
+
policy, Commons Council policy or x/gov only. */
|
|
343
357
|
resolveGovActionAppeal = async (request) => {
|
|
344
358
|
const data = MsgResolveGovActionAppeal.encode(request).finish();
|
|
345
359
|
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "ResolveGovActionAppeal", data);
|