@sparkdreamnft/sparkdreamjs 0.0.37 → 0.0.38
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/esm/sparkdream/rep/v1/initiative.js +11 -14
- package/esm/sparkdream/rep/v1/params.js +169 -1
- package/esm/sparkdream/rep/v1/tx.amino.js +66 -5
- package/esm/sparkdream/rep/v1/tx.js +75 -63
- package/esm/sparkdream/rep/v1/tx.registry.js +18 -18
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +11 -11
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +104 -59
- package/sparkdream/client.d.ts +48 -3
- package/sparkdream/rep/v1/initiative.d.ts +7 -5
- package/sparkdream/rep/v1/initiative.js +11 -14
- package/sparkdream/rep/v1/params.d.ts +146 -2
- package/sparkdream/rep/v1/params.js +169 -1
- package/sparkdream/rep/v1/tx.amino.d.ts +49 -4
- package/sparkdream/rep/v1/tx.amino.js +65 -4
- package/sparkdream/rep/v1/tx.d.ts +145 -109
- package/sparkdream/rep/v1/tx.js +77 -65
- package/sparkdream/rep/v1/tx.registry.d.ts +11 -11
- package/sparkdream/rep/v1/tx.registry.js +17 -17
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +7 -7
- package/sparkdream/rep/v1/tx.rpc.msg.js +10 -10
|
@@ -3147,7 +3147,7 @@ export const MsgApproveInitiativeResponse = {
|
|
|
3147
3147
|
};
|
|
3148
3148
|
}
|
|
3149
3149
|
};
|
|
3150
|
-
function
|
|
3150
|
+
function createBaseMsgUnassignInitiative() {
|
|
3151
3151
|
return {
|
|
3152
3152
|
creator: "",
|
|
3153
3153
|
initiativeId: BigInt(0),
|
|
@@ -3155,14 +3155,23 @@ function createBaseMsgAbandonInitiative() {
|
|
|
3155
3155
|
};
|
|
3156
3156
|
}
|
|
3157
3157
|
/**
|
|
3158
|
-
*
|
|
3159
|
-
*
|
|
3158
|
+
* MsgUnassignInitiative releases an assignment and returns the initiative to
|
|
3159
|
+
* OPEN so someone else can pick it up. It does not retire the work item —
|
|
3160
|
+
* MsgCloseInitiative does that — and it leaves conviction and its stakes
|
|
3161
|
+
* untouched, so the demand the community built up survives a change of hands.
|
|
3162
|
+
*
|
|
3163
|
+
* Signed by the assignee stepping down, or by the Operations Committee forcing
|
|
3164
|
+
* the release of work that has stalled. Deliberately NOT open to the project
|
|
3165
|
+
* creator, unlike MsgAssignInitiative: the creator is an interested party, and
|
|
3166
|
+
* letting them pull an assignment back would be a rug-pull on work in flight.
|
|
3167
|
+
* Their lever is MsgCloseInitiative, which retires the item outright.
|
|
3168
|
+
* @name MsgUnassignInitiative
|
|
3160
3169
|
* @package sparkdream.rep.v1
|
|
3161
|
-
* @see proto type: sparkdream.rep.v1.
|
|
3170
|
+
* @see proto type: sparkdream.rep.v1.MsgUnassignInitiative
|
|
3162
3171
|
*/
|
|
3163
|
-
export const
|
|
3164
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
3165
|
-
aminoType: "sparkdream/x/rep/
|
|
3172
|
+
export const MsgUnassignInitiative = {
|
|
3173
|
+
typeUrl: "/sparkdream.rep.v1.MsgUnassignInitiative",
|
|
3174
|
+
aminoType: "sparkdream/x/rep/MsgUnassignInitiative",
|
|
3166
3175
|
encode(message, writer = BinaryWriter.create()) {
|
|
3167
3176
|
if (message.creator !== "") {
|
|
3168
3177
|
writer.uint32(10).string(message.creator);
|
|
@@ -3178,7 +3187,7 @@ export const MsgAbandonInitiative = {
|
|
|
3178
3187
|
decode(input, length) {
|
|
3179
3188
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3180
3189
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3181
|
-
const message =
|
|
3190
|
+
const message = createBaseMsgUnassignInitiative();
|
|
3182
3191
|
while (reader.pos < end) {
|
|
3183
3192
|
const tag = reader.uint32();
|
|
3184
3193
|
switch (tag >>> 3) {
|
|
@@ -3199,14 +3208,14 @@ export const MsgAbandonInitiative = {
|
|
|
3199
3208
|
return message;
|
|
3200
3209
|
},
|
|
3201
3210
|
fromPartial(object) {
|
|
3202
|
-
const message =
|
|
3211
|
+
const message = createBaseMsgUnassignInitiative();
|
|
3203
3212
|
message.creator = object.creator ?? "";
|
|
3204
3213
|
message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
|
|
3205
3214
|
message.reason = object.reason ?? "";
|
|
3206
3215
|
return message;
|
|
3207
3216
|
},
|
|
3208
3217
|
fromAmino(object) {
|
|
3209
|
-
const message =
|
|
3218
|
+
const message = createBaseMsgUnassignInitiative();
|
|
3210
3219
|
if (object.creator !== undefined && object.creator !== null) {
|
|
3211
3220
|
message.creator = object.creator;
|
|
3212
3221
|
}
|
|
@@ -3226,45 +3235,45 @@ export const MsgAbandonInitiative = {
|
|
|
3226
3235
|
return obj;
|
|
3227
3236
|
},
|
|
3228
3237
|
fromAminoMsg(object) {
|
|
3229
|
-
return
|
|
3238
|
+
return MsgUnassignInitiative.fromAmino(object.value);
|
|
3230
3239
|
},
|
|
3231
3240
|
toAminoMsg(message) {
|
|
3232
3241
|
return {
|
|
3233
|
-
type: "sparkdream/x/rep/
|
|
3234
|
-
value:
|
|
3242
|
+
type: "sparkdream/x/rep/MsgUnassignInitiative",
|
|
3243
|
+
value: MsgUnassignInitiative.toAmino(message)
|
|
3235
3244
|
};
|
|
3236
3245
|
},
|
|
3237
3246
|
fromProtoMsg(message) {
|
|
3238
|
-
return
|
|
3247
|
+
return MsgUnassignInitiative.decode(message.value);
|
|
3239
3248
|
},
|
|
3240
3249
|
toProto(message) {
|
|
3241
|
-
return
|
|
3250
|
+
return MsgUnassignInitiative.encode(message).finish();
|
|
3242
3251
|
},
|
|
3243
3252
|
toProtoMsg(message) {
|
|
3244
3253
|
return {
|
|
3245
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
3246
|
-
value:
|
|
3254
|
+
typeUrl: "/sparkdream.rep.v1.MsgUnassignInitiative",
|
|
3255
|
+
value: MsgUnassignInitiative.encode(message).finish()
|
|
3247
3256
|
};
|
|
3248
3257
|
}
|
|
3249
3258
|
};
|
|
3250
|
-
function
|
|
3259
|
+
function createBaseMsgUnassignInitiativeResponse() {
|
|
3251
3260
|
return {};
|
|
3252
3261
|
}
|
|
3253
3262
|
/**
|
|
3254
|
-
*
|
|
3255
|
-
* @name
|
|
3263
|
+
* MsgUnassignInitiativeResponse defines the MsgUnassignInitiativeResponse message.
|
|
3264
|
+
* @name MsgUnassignInitiativeResponse
|
|
3256
3265
|
* @package sparkdream.rep.v1
|
|
3257
|
-
* @see proto type: sparkdream.rep.v1.
|
|
3266
|
+
* @see proto type: sparkdream.rep.v1.MsgUnassignInitiativeResponse
|
|
3258
3267
|
*/
|
|
3259
|
-
export const
|
|
3260
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
3268
|
+
export const MsgUnassignInitiativeResponse = {
|
|
3269
|
+
typeUrl: "/sparkdream.rep.v1.MsgUnassignInitiativeResponse",
|
|
3261
3270
|
encode(_, writer = BinaryWriter.create()) {
|
|
3262
3271
|
return writer;
|
|
3263
3272
|
},
|
|
3264
3273
|
decode(input, length) {
|
|
3265
3274
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3266
3275
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3267
|
-
const message =
|
|
3276
|
+
const message = createBaseMsgUnassignInitiativeResponse();
|
|
3268
3277
|
while (reader.pos < end) {
|
|
3269
3278
|
const tag = reader.uint32();
|
|
3270
3279
|
switch (tag >>> 3) {
|
|
@@ -3276,11 +3285,11 @@ export const MsgAbandonInitiativeResponse = {
|
|
|
3276
3285
|
return message;
|
|
3277
3286
|
},
|
|
3278
3287
|
fromPartial(_) {
|
|
3279
|
-
const message =
|
|
3288
|
+
const message = createBaseMsgUnassignInitiativeResponse();
|
|
3280
3289
|
return message;
|
|
3281
3290
|
},
|
|
3282
3291
|
fromAmino(_) {
|
|
3283
|
-
const message =
|
|
3292
|
+
const message = createBaseMsgUnassignInitiativeResponse();
|
|
3284
3293
|
return message;
|
|
3285
3294
|
},
|
|
3286
3295
|
toAmino(_) {
|
|
@@ -3288,18 +3297,18 @@ export const MsgAbandonInitiativeResponse = {
|
|
|
3288
3297
|
return obj;
|
|
3289
3298
|
},
|
|
3290
3299
|
fromAminoMsg(object) {
|
|
3291
|
-
return
|
|
3300
|
+
return MsgUnassignInitiativeResponse.fromAmino(object.value);
|
|
3292
3301
|
},
|
|
3293
3302
|
fromProtoMsg(message) {
|
|
3294
|
-
return
|
|
3303
|
+
return MsgUnassignInitiativeResponse.decode(message.value);
|
|
3295
3304
|
},
|
|
3296
3305
|
toProto(message) {
|
|
3297
|
-
return
|
|
3306
|
+
return MsgUnassignInitiativeResponse.encode(message).finish();
|
|
3298
3307
|
},
|
|
3299
3308
|
toProtoMsg(message) {
|
|
3300
3309
|
return {
|
|
3301
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
3302
|
-
value:
|
|
3310
|
+
typeUrl: "/sparkdream.rep.v1.MsgUnassignInitiativeResponse",
|
|
3311
|
+
value: MsgUnassignInitiativeResponse.encode(message).finish()
|
|
3303
3312
|
};
|
|
3304
3313
|
}
|
|
3305
3314
|
};
|
|
@@ -8440,7 +8449,7 @@ export const MsgResolveGovActionAppealResponse = {
|
|
|
8440
8449
|
};
|
|
8441
8450
|
}
|
|
8442
8451
|
};
|
|
8443
|
-
function
|
|
8452
|
+
function createBaseMsgCloseInitiative() {
|
|
8444
8453
|
return {
|
|
8445
8454
|
creator: "",
|
|
8446
8455
|
initiativeId: BigInt(0),
|
|
@@ -8448,15 +8457,18 @@ function createBaseMsgCancelInitiative() {
|
|
|
8448
8457
|
};
|
|
8449
8458
|
}
|
|
8450
8459
|
/**
|
|
8451
|
-
*
|
|
8452
|
-
* parent project's creator or the Operations
|
|
8453
|
-
*
|
|
8460
|
+
* MsgCloseInitiative retires an initiative and returns its budget to the
|
|
8461
|
+
* parent project. Callable by the project's creator or the Operations
|
|
8462
|
+
* Committee, whether or not anyone is currently assigned: the project side
|
|
8463
|
+
* must be able to stop funding work it no longer wants without needing the
|
|
8464
|
+
* assignee's cooperation.
|
|
8465
|
+
* @name MsgCloseInitiative
|
|
8454
8466
|
* @package sparkdream.rep.v1
|
|
8455
|
-
* @see proto type: sparkdream.rep.v1.
|
|
8467
|
+
* @see proto type: sparkdream.rep.v1.MsgCloseInitiative
|
|
8456
8468
|
*/
|
|
8457
|
-
export const
|
|
8458
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
8459
|
-
aminoType: "sparkdream/x/rep/
|
|
8469
|
+
export const MsgCloseInitiative = {
|
|
8470
|
+
typeUrl: "/sparkdream.rep.v1.MsgCloseInitiative",
|
|
8471
|
+
aminoType: "sparkdream/x/rep/MsgCloseInitiative",
|
|
8460
8472
|
encode(message, writer = BinaryWriter.create()) {
|
|
8461
8473
|
if (message.creator !== "") {
|
|
8462
8474
|
writer.uint32(10).string(message.creator);
|
|
@@ -8472,7 +8484,7 @@ export const MsgCancelInitiative = {
|
|
|
8472
8484
|
decode(input, length) {
|
|
8473
8485
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
8474
8486
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
8475
|
-
const message =
|
|
8487
|
+
const message = createBaseMsgCloseInitiative();
|
|
8476
8488
|
while (reader.pos < end) {
|
|
8477
8489
|
const tag = reader.uint32();
|
|
8478
8490
|
switch (tag >>> 3) {
|
|
@@ -8493,14 +8505,14 @@ export const MsgCancelInitiative = {
|
|
|
8493
8505
|
return message;
|
|
8494
8506
|
},
|
|
8495
8507
|
fromPartial(object) {
|
|
8496
|
-
const message =
|
|
8508
|
+
const message = createBaseMsgCloseInitiative();
|
|
8497
8509
|
message.creator = object.creator ?? "";
|
|
8498
8510
|
message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
|
|
8499
8511
|
message.reason = object.reason ?? "";
|
|
8500
8512
|
return message;
|
|
8501
8513
|
},
|
|
8502
8514
|
fromAmino(object) {
|
|
8503
|
-
const message =
|
|
8515
|
+
const message = createBaseMsgCloseInitiative();
|
|
8504
8516
|
if (object.creator !== undefined && object.creator !== null) {
|
|
8505
8517
|
message.creator = object.creator;
|
|
8506
8518
|
}
|
|
@@ -8520,45 +8532,45 @@ export const MsgCancelInitiative = {
|
|
|
8520
8532
|
return obj;
|
|
8521
8533
|
},
|
|
8522
8534
|
fromAminoMsg(object) {
|
|
8523
|
-
return
|
|
8535
|
+
return MsgCloseInitiative.fromAmino(object.value);
|
|
8524
8536
|
},
|
|
8525
8537
|
toAminoMsg(message) {
|
|
8526
8538
|
return {
|
|
8527
|
-
type: "sparkdream/x/rep/
|
|
8528
|
-
value:
|
|
8539
|
+
type: "sparkdream/x/rep/MsgCloseInitiative",
|
|
8540
|
+
value: MsgCloseInitiative.toAmino(message)
|
|
8529
8541
|
};
|
|
8530
8542
|
},
|
|
8531
8543
|
fromProtoMsg(message) {
|
|
8532
|
-
return
|
|
8544
|
+
return MsgCloseInitiative.decode(message.value);
|
|
8533
8545
|
},
|
|
8534
8546
|
toProto(message) {
|
|
8535
|
-
return
|
|
8547
|
+
return MsgCloseInitiative.encode(message).finish();
|
|
8536
8548
|
},
|
|
8537
8549
|
toProtoMsg(message) {
|
|
8538
8550
|
return {
|
|
8539
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
8540
|
-
value:
|
|
8551
|
+
typeUrl: "/sparkdream.rep.v1.MsgCloseInitiative",
|
|
8552
|
+
value: MsgCloseInitiative.encode(message).finish()
|
|
8541
8553
|
};
|
|
8542
8554
|
}
|
|
8543
8555
|
};
|
|
8544
|
-
function
|
|
8556
|
+
function createBaseMsgCloseInitiativeResponse() {
|
|
8545
8557
|
return {};
|
|
8546
8558
|
}
|
|
8547
8559
|
/**
|
|
8548
|
-
*
|
|
8549
|
-
* @name
|
|
8560
|
+
* MsgCloseInitiativeResponse defines the MsgCloseInitiativeResponse message.
|
|
8561
|
+
* @name MsgCloseInitiativeResponse
|
|
8550
8562
|
* @package sparkdream.rep.v1
|
|
8551
|
-
* @see proto type: sparkdream.rep.v1.
|
|
8563
|
+
* @see proto type: sparkdream.rep.v1.MsgCloseInitiativeResponse
|
|
8552
8564
|
*/
|
|
8553
|
-
export const
|
|
8554
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
8565
|
+
export const MsgCloseInitiativeResponse = {
|
|
8566
|
+
typeUrl: "/sparkdream.rep.v1.MsgCloseInitiativeResponse",
|
|
8555
8567
|
encode(_, writer = BinaryWriter.create()) {
|
|
8556
8568
|
return writer;
|
|
8557
8569
|
},
|
|
8558
8570
|
decode(input, length) {
|
|
8559
8571
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
8560
8572
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
8561
|
-
const message =
|
|
8573
|
+
const message = createBaseMsgCloseInitiativeResponse();
|
|
8562
8574
|
while (reader.pos < end) {
|
|
8563
8575
|
const tag = reader.uint32();
|
|
8564
8576
|
switch (tag >>> 3) {
|
|
@@ -8570,11 +8582,11 @@ export const MsgCancelInitiativeResponse = {
|
|
|
8570
8582
|
return message;
|
|
8571
8583
|
},
|
|
8572
8584
|
fromPartial(_) {
|
|
8573
|
-
const message =
|
|
8585
|
+
const message = createBaseMsgCloseInitiativeResponse();
|
|
8574
8586
|
return message;
|
|
8575
8587
|
},
|
|
8576
8588
|
fromAmino(_) {
|
|
8577
|
-
const message =
|
|
8589
|
+
const message = createBaseMsgCloseInitiativeResponse();
|
|
8578
8590
|
return message;
|
|
8579
8591
|
},
|
|
8580
8592
|
toAmino(_) {
|
|
@@ -8582,18 +8594,18 @@ export const MsgCancelInitiativeResponse = {
|
|
|
8582
8594
|
return obj;
|
|
8583
8595
|
},
|
|
8584
8596
|
fromAminoMsg(object) {
|
|
8585
|
-
return
|
|
8597
|
+
return MsgCloseInitiativeResponse.fromAmino(object.value);
|
|
8586
8598
|
},
|
|
8587
8599
|
fromProtoMsg(message) {
|
|
8588
|
-
return
|
|
8600
|
+
return MsgCloseInitiativeResponse.decode(message.value);
|
|
8589
8601
|
},
|
|
8590
8602
|
toProto(message) {
|
|
8591
|
-
return
|
|
8603
|
+
return MsgCloseInitiativeResponse.encode(message).finish();
|
|
8592
8604
|
},
|
|
8593
8605
|
toProtoMsg(message) {
|
|
8594
8606
|
return {
|
|
8595
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
8596
|
-
value:
|
|
8607
|
+
typeUrl: "/sparkdream.rep.v1.MsgCloseInitiativeResponse",
|
|
8608
|
+
value: MsgCloseInitiativeResponse.encode(message).finish()
|
|
8597
8609
|
};
|
|
8598
8610
|
}
|
|
8599
8611
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgInviteMember, MsgAcceptInvitation, MsgTransferDream, MsgCreateInterim, MsgAssignInterim, MsgSubmitInterimWork, MsgApproveInterim, MsgAbandonInterim, MsgCompleteInterim, MsgProposeProject, MsgApproveProjectBudget, MsgCancelProject, MsgCreateInitiative, MsgAssignInitiative, MsgSubmitInitiativeWork, MsgApproveInitiative,
|
|
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.
|
|
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 } 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]];
|
|
3
3
|
export const load = (protoRegistry) => {
|
|
4
4
|
registry.forEach(([typeUrl, mod]) => {
|
|
5
5
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -115,10 +115,10 @@ export const MessageComposer = {
|
|
|
115
115
|
value: MsgApproveInitiative.encode(value).finish()
|
|
116
116
|
};
|
|
117
117
|
},
|
|
118
|
-
|
|
118
|
+
unassignInitiative(value) {
|
|
119
119
|
return {
|
|
120
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
121
|
-
value:
|
|
120
|
+
typeUrl: "/sparkdream.rep.v1.MsgUnassignInitiative",
|
|
121
|
+
value: MsgUnassignInitiative.encode(value).finish()
|
|
122
122
|
};
|
|
123
123
|
},
|
|
124
124
|
completeInitiative(value) {
|
|
@@ -337,10 +337,10 @@ export const MessageComposer = {
|
|
|
337
337
|
value: MsgResolveGovActionAppeal.encode(value).finish()
|
|
338
338
|
};
|
|
339
339
|
},
|
|
340
|
-
|
|
340
|
+
closeInitiative(value) {
|
|
341
341
|
return {
|
|
342
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
343
|
-
value:
|
|
342
|
+
typeUrl: "/sparkdream.rep.v1.MsgCloseInitiative",
|
|
343
|
+
value: MsgCloseInitiative.encode(value).finish()
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
346
|
},
|
|
@@ -453,9 +453,9 @@ export const MessageComposer = {
|
|
|
453
453
|
value
|
|
454
454
|
};
|
|
455
455
|
},
|
|
456
|
-
|
|
456
|
+
unassignInitiative(value) {
|
|
457
457
|
return {
|
|
458
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
458
|
+
typeUrl: "/sparkdream.rep.v1.MsgUnassignInitiative",
|
|
459
459
|
value
|
|
460
460
|
};
|
|
461
461
|
},
|
|
@@ -675,9 +675,9 @@ export const MessageComposer = {
|
|
|
675
675
|
value
|
|
676
676
|
};
|
|
677
677
|
},
|
|
678
|
-
|
|
678
|
+
closeInitiative(value) {
|
|
679
679
|
return {
|
|
680
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
680
|
+
typeUrl: "/sparkdream.rep.v1.MsgCloseInitiative",
|
|
681
681
|
value
|
|
682
682
|
};
|
|
683
683
|
}
|
|
@@ -791,10 +791,10 @@ export const MessageComposer = {
|
|
|
791
791
|
value: MsgApproveInitiative.fromPartial(value)
|
|
792
792
|
};
|
|
793
793
|
},
|
|
794
|
-
|
|
794
|
+
unassignInitiative(value) {
|
|
795
795
|
return {
|
|
796
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
797
|
-
value:
|
|
796
|
+
typeUrl: "/sparkdream.rep.v1.MsgUnassignInitiative",
|
|
797
|
+
value: MsgUnassignInitiative.fromPartial(value)
|
|
798
798
|
};
|
|
799
799
|
},
|
|
800
800
|
completeInitiative(value) {
|
|
@@ -1013,10 +1013,10 @@ export const MessageComposer = {
|
|
|
1013
1013
|
value: MsgResolveGovActionAppeal.fromPartial(value)
|
|
1014
1014
|
};
|
|
1015
1015
|
},
|
|
1016
|
-
|
|
1016
|
+
closeInitiative(value) {
|
|
1017
1017
|
return {
|
|
1018
|
-
typeUrl: "/sparkdream.rep.v1.
|
|
1019
|
-
value:
|
|
1018
|
+
typeUrl: "/sparkdream.rep.v1.MsgCloseInitiative",
|
|
1019
|
+
value: MsgCloseInitiative.fromPartial(value)
|
|
1020
1020
|
};
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
@@ -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,
|
|
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 } from "./tx";
|
|
3
3
|
export class MsgClientImpl {
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
@@ -115,11 +115,11 @@ export class MsgClientImpl {
|
|
|
115
115
|
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "ApproveInitiative", data);
|
|
116
116
|
return promise.then(data => MsgApproveInitiativeResponse.decode(new BinaryReader(data)));
|
|
117
117
|
};
|
|
118
|
-
/*
|
|
119
|
-
|
|
120
|
-
const data =
|
|
121
|
-
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "
|
|
122
|
-
return promise.then(data =>
|
|
118
|
+
/* UnassignInitiative defines the UnassignInitiative RPC. */
|
|
119
|
+
unassignInitiative = async (request) => {
|
|
120
|
+
const data = MsgUnassignInitiative.encode(request).finish();
|
|
121
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "UnassignInitiative", data);
|
|
122
|
+
return promise.then(data => MsgUnassignInitiativeResponse.decode(new BinaryReader(data)));
|
|
123
123
|
};
|
|
124
124
|
/* CompleteInitiative defines the CompleteInitiative RPC. */
|
|
125
125
|
completeInitiative = async (request) => {
|
|
@@ -345,11 +345,11 @@ export class MsgClientImpl {
|
|
|
345
345
|
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "ResolveGovActionAppeal", data);
|
|
346
346
|
return promise.then(data => MsgResolveGovActionAppealResponse.decode(new BinaryReader(data)));
|
|
347
347
|
};
|
|
348
|
-
/*
|
|
349
|
-
|
|
350
|
-
const data =
|
|
351
|
-
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "
|
|
352
|
-
return promise.then(data =>
|
|
348
|
+
/* CloseInitiative defines the CloseInitiative RPC. */
|
|
349
|
+
closeInitiative = async (request) => {
|
|
350
|
+
const data = MsgCloseInitiative.encode(request).finish();
|
|
351
|
+
const promise = this.rpc.request("sparkdream.rep.v1.Msg", "CloseInitiative", data);
|
|
352
|
+
return promise.then(data => MsgCloseInitiativeResponse.decode(new BinaryReader(data)));
|
|
353
353
|
};
|
|
354
354
|
}
|
|
355
355
|
export const createClientImpl = (rpc) => {
|