@sparkdreamnft/sparkdreamjs 0.0.34 → 0.0.35

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.
@@ -240,7 +240,8 @@ function createBaseInitiative() {
240
240
  createdAt: BigInt(0),
241
241
  completedAt: BigInt(0),
242
242
  propagatedConviction: "",
243
- selfAssignBond: ""
243
+ selfAssignBond: "",
244
+ creator: ""
244
245
  };
245
246
  }
246
247
  /**
@@ -330,6 +331,9 @@ exports.Initiative = {
330
331
  if (message.selfAssignBond !== "") {
331
332
  writer.uint32(210).string(message.selfAssignBond);
332
333
  }
334
+ if (message.creator !== "") {
335
+ writer.uint32(218).string(message.creator);
336
+ }
333
337
  return writer;
334
338
  },
335
339
  decode(input, length) {
@@ -417,6 +421,9 @@ exports.Initiative = {
417
421
  case 26:
418
422
  message.selfAssignBond = reader.string();
419
423
  break;
424
+ case 27:
425
+ message.creator = reader.string();
426
+ break;
420
427
  default:
421
428
  reader.skipType(tag & 7);
422
429
  break;
@@ -452,6 +459,7 @@ exports.Initiative = {
452
459
  message.completedAt = object.completedAt !== undefined && object.completedAt !== null ? BigInt(object.completedAt.toString()) : BigInt(0);
453
460
  message.propagatedConviction = object.propagatedConviction ?? "";
454
461
  message.selfAssignBond = object.selfAssignBond ?? "";
462
+ message.creator = object.creator ?? "";
455
463
  return message;
456
464
  },
457
465
  fromAmino(object) {
@@ -530,6 +538,9 @@ exports.Initiative = {
530
538
  if (object.self_assign_bond !== undefined && object.self_assign_bond !== null) {
531
539
  message.selfAssignBond = object.self_assign_bond;
532
540
  }
541
+ if (object.creator !== undefined && object.creator !== null) {
542
+ message.creator = object.creator;
543
+ }
533
544
  return message;
534
545
  },
535
546
  toAmino(message) {
@@ -570,6 +581,7 @@ exports.Initiative = {
570
581
  obj.completed_at = message.completedAt !== BigInt(0) ? message.completedAt?.toString() : undefined;
571
582
  obj.propagated_conviction = message.propagatedConviction === "" ? undefined : message.propagatedConviction;
572
583
  obj.self_assign_bond = message.selfAssignBond === "" ? undefined : message.selfAssignBond;
584
+ obj.creator = message.creator === "" ? undefined : message.creator;
573
585
  return obj;
574
586
  },
575
587
  fromAminoMsg(object) {
@@ -1562,6 +1562,134 @@ export interface QueryInitiativesByAssigneeResponseAminoMsg {
1562
1562
  type: "/sparkdream.rep.v1.QueryInitiativesByAssigneeResponse";
1563
1563
  value: QueryInitiativesByAssigneeResponseAmino;
1564
1564
  }
1565
+ /**
1566
+ * QueryInitiativesByCreatorRequest defines the QueryInitiativesByCreatorRequest message.
1567
+ * @name QueryInitiativesByCreatorRequest
1568
+ * @package sparkdream.rep.v1
1569
+ * @see proto type: sparkdream.rep.v1.QueryInitiativesByCreatorRequest
1570
+ */
1571
+ export interface QueryInitiativesByCreatorRequest {
1572
+ creator: string;
1573
+ pagination?: PageRequest;
1574
+ /**
1575
+ * Same keys and semantics as QueryAllInitiativeRequest.sort_by.
1576
+ */
1577
+ sortBy: string;
1578
+ }
1579
+ export interface QueryInitiativesByCreatorRequestProtoMsg {
1580
+ typeUrl: "/sparkdream.rep.v1.QueryInitiativesByCreatorRequest";
1581
+ value: Uint8Array;
1582
+ }
1583
+ /**
1584
+ * QueryInitiativesByCreatorRequest defines the QueryInitiativesByCreatorRequest message.
1585
+ * @name QueryInitiativesByCreatorRequestAmino
1586
+ * @package sparkdream.rep.v1
1587
+ * @see proto type: sparkdream.rep.v1.QueryInitiativesByCreatorRequest
1588
+ */
1589
+ export interface QueryInitiativesByCreatorRequestAmino {
1590
+ creator?: string;
1591
+ pagination?: PageRequestAmino;
1592
+ /**
1593
+ * Same keys and semantics as QueryAllInitiativeRequest.sort_by.
1594
+ */
1595
+ sort_by?: string;
1596
+ }
1597
+ export interface QueryInitiativesByCreatorRequestAminoMsg {
1598
+ type: "/sparkdream.rep.v1.QueryInitiativesByCreatorRequest";
1599
+ value: QueryInitiativesByCreatorRequestAmino;
1600
+ }
1601
+ /**
1602
+ * QueryInitiativesByCreatorResponse defines the QueryInitiativesByCreatorResponse message.
1603
+ * @name QueryInitiativesByCreatorResponse
1604
+ * @package sparkdream.rep.v1
1605
+ * @see proto type: sparkdream.rep.v1.QueryInitiativesByCreatorResponse
1606
+ */
1607
+ export interface QueryInitiativesByCreatorResponse {
1608
+ initiatives: Initiative[];
1609
+ pagination?: PageResponse;
1610
+ }
1611
+ export interface QueryInitiativesByCreatorResponseProtoMsg {
1612
+ typeUrl: "/sparkdream.rep.v1.QueryInitiativesByCreatorResponse";
1613
+ value: Uint8Array;
1614
+ }
1615
+ /**
1616
+ * QueryInitiativesByCreatorResponse defines the QueryInitiativesByCreatorResponse message.
1617
+ * @name QueryInitiativesByCreatorResponseAmino
1618
+ * @package sparkdream.rep.v1
1619
+ * @see proto type: sparkdream.rep.v1.QueryInitiativesByCreatorResponse
1620
+ */
1621
+ export interface QueryInitiativesByCreatorResponseAmino {
1622
+ initiatives?: InitiativeAmino[];
1623
+ pagination?: PageResponseAmino;
1624
+ }
1625
+ export interface QueryInitiativesByCreatorResponseAminoMsg {
1626
+ type: "/sparkdream.rep.v1.QueryInitiativesByCreatorResponse";
1627
+ value: QueryInitiativesByCreatorResponseAmino;
1628
+ }
1629
+ /**
1630
+ * QueryProjectsByCreatorRequest defines the QueryProjectsByCreatorRequest message.
1631
+ * @name QueryProjectsByCreatorRequest
1632
+ * @package sparkdream.rep.v1
1633
+ * @see proto type: sparkdream.rep.v1.QueryProjectsByCreatorRequest
1634
+ */
1635
+ export interface QueryProjectsByCreatorRequest {
1636
+ creator: string;
1637
+ pagination?: PageRequest;
1638
+ /**
1639
+ * Same keys and semantics as QueryAllProjectRequest.sort_by.
1640
+ */
1641
+ sortBy: string;
1642
+ }
1643
+ export interface QueryProjectsByCreatorRequestProtoMsg {
1644
+ typeUrl: "/sparkdream.rep.v1.QueryProjectsByCreatorRequest";
1645
+ value: Uint8Array;
1646
+ }
1647
+ /**
1648
+ * QueryProjectsByCreatorRequest defines the QueryProjectsByCreatorRequest message.
1649
+ * @name QueryProjectsByCreatorRequestAmino
1650
+ * @package sparkdream.rep.v1
1651
+ * @see proto type: sparkdream.rep.v1.QueryProjectsByCreatorRequest
1652
+ */
1653
+ export interface QueryProjectsByCreatorRequestAmino {
1654
+ creator?: string;
1655
+ pagination?: PageRequestAmino;
1656
+ /**
1657
+ * Same keys and semantics as QueryAllProjectRequest.sort_by.
1658
+ */
1659
+ sort_by?: string;
1660
+ }
1661
+ export interface QueryProjectsByCreatorRequestAminoMsg {
1662
+ type: "/sparkdream.rep.v1.QueryProjectsByCreatorRequest";
1663
+ value: QueryProjectsByCreatorRequestAmino;
1664
+ }
1665
+ /**
1666
+ * QueryProjectsByCreatorResponse defines the QueryProjectsByCreatorResponse message.
1667
+ * @name QueryProjectsByCreatorResponse
1668
+ * @package sparkdream.rep.v1
1669
+ * @see proto type: sparkdream.rep.v1.QueryProjectsByCreatorResponse
1670
+ */
1671
+ export interface QueryProjectsByCreatorResponse {
1672
+ projects: Project[];
1673
+ pagination?: PageResponse;
1674
+ }
1675
+ export interface QueryProjectsByCreatorResponseProtoMsg {
1676
+ typeUrl: "/sparkdream.rep.v1.QueryProjectsByCreatorResponse";
1677
+ value: Uint8Array;
1678
+ }
1679
+ /**
1680
+ * QueryProjectsByCreatorResponse defines the QueryProjectsByCreatorResponse message.
1681
+ * @name QueryProjectsByCreatorResponseAmino
1682
+ * @package sparkdream.rep.v1
1683
+ * @see proto type: sparkdream.rep.v1.QueryProjectsByCreatorResponse
1684
+ */
1685
+ export interface QueryProjectsByCreatorResponseAmino {
1686
+ projects?: ProjectAmino[];
1687
+ pagination?: PageResponseAmino;
1688
+ }
1689
+ export interface QueryProjectsByCreatorResponseAminoMsg {
1690
+ type: "/sparkdream.rep.v1.QueryProjectsByCreatorResponse";
1691
+ value: QueryProjectsByCreatorResponseAmino;
1692
+ }
1565
1693
  /**
1566
1694
  * QueryAvailableInitiativesRequest defines the QueryAvailableInitiativesRequest message.
1567
1695
  * @name QueryAvailableInitiativesRequest
@@ -5514,6 +5642,78 @@ export declare const QueryInitiativesByAssigneeResponse: {
5514
5642
  toProto(message: QueryInitiativesByAssigneeResponse): Uint8Array;
5515
5643
  toProtoMsg(message: QueryInitiativesByAssigneeResponse): QueryInitiativesByAssigneeResponseProtoMsg;
5516
5644
  };
5645
+ /**
5646
+ * QueryInitiativesByCreatorRequest defines the QueryInitiativesByCreatorRequest message.
5647
+ * @name QueryInitiativesByCreatorRequest
5648
+ * @package sparkdream.rep.v1
5649
+ * @see proto type: sparkdream.rep.v1.QueryInitiativesByCreatorRequest
5650
+ */
5651
+ export declare const QueryInitiativesByCreatorRequest: {
5652
+ typeUrl: string;
5653
+ encode(message: QueryInitiativesByCreatorRequest, writer?: BinaryWriter): BinaryWriter;
5654
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryInitiativesByCreatorRequest;
5655
+ fromPartial(object: DeepPartial<QueryInitiativesByCreatorRequest>): QueryInitiativesByCreatorRequest;
5656
+ fromAmino(object: QueryInitiativesByCreatorRequestAmino): QueryInitiativesByCreatorRequest;
5657
+ toAmino(message: QueryInitiativesByCreatorRequest): QueryInitiativesByCreatorRequestAmino;
5658
+ fromAminoMsg(object: QueryInitiativesByCreatorRequestAminoMsg): QueryInitiativesByCreatorRequest;
5659
+ fromProtoMsg(message: QueryInitiativesByCreatorRequestProtoMsg): QueryInitiativesByCreatorRequest;
5660
+ toProto(message: QueryInitiativesByCreatorRequest): Uint8Array;
5661
+ toProtoMsg(message: QueryInitiativesByCreatorRequest): QueryInitiativesByCreatorRequestProtoMsg;
5662
+ };
5663
+ /**
5664
+ * QueryInitiativesByCreatorResponse defines the QueryInitiativesByCreatorResponse message.
5665
+ * @name QueryInitiativesByCreatorResponse
5666
+ * @package sparkdream.rep.v1
5667
+ * @see proto type: sparkdream.rep.v1.QueryInitiativesByCreatorResponse
5668
+ */
5669
+ export declare const QueryInitiativesByCreatorResponse: {
5670
+ typeUrl: string;
5671
+ encode(message: QueryInitiativesByCreatorResponse, writer?: BinaryWriter): BinaryWriter;
5672
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryInitiativesByCreatorResponse;
5673
+ fromPartial(object: DeepPartial<QueryInitiativesByCreatorResponse>): QueryInitiativesByCreatorResponse;
5674
+ fromAmino(object: QueryInitiativesByCreatorResponseAmino): QueryInitiativesByCreatorResponse;
5675
+ toAmino(message: QueryInitiativesByCreatorResponse): QueryInitiativesByCreatorResponseAmino;
5676
+ fromAminoMsg(object: QueryInitiativesByCreatorResponseAminoMsg): QueryInitiativesByCreatorResponse;
5677
+ fromProtoMsg(message: QueryInitiativesByCreatorResponseProtoMsg): QueryInitiativesByCreatorResponse;
5678
+ toProto(message: QueryInitiativesByCreatorResponse): Uint8Array;
5679
+ toProtoMsg(message: QueryInitiativesByCreatorResponse): QueryInitiativesByCreatorResponseProtoMsg;
5680
+ };
5681
+ /**
5682
+ * QueryProjectsByCreatorRequest defines the QueryProjectsByCreatorRequest message.
5683
+ * @name QueryProjectsByCreatorRequest
5684
+ * @package sparkdream.rep.v1
5685
+ * @see proto type: sparkdream.rep.v1.QueryProjectsByCreatorRequest
5686
+ */
5687
+ export declare const QueryProjectsByCreatorRequest: {
5688
+ typeUrl: string;
5689
+ encode(message: QueryProjectsByCreatorRequest, writer?: BinaryWriter): BinaryWriter;
5690
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryProjectsByCreatorRequest;
5691
+ fromPartial(object: DeepPartial<QueryProjectsByCreatorRequest>): QueryProjectsByCreatorRequest;
5692
+ fromAmino(object: QueryProjectsByCreatorRequestAmino): QueryProjectsByCreatorRequest;
5693
+ toAmino(message: QueryProjectsByCreatorRequest): QueryProjectsByCreatorRequestAmino;
5694
+ fromAminoMsg(object: QueryProjectsByCreatorRequestAminoMsg): QueryProjectsByCreatorRequest;
5695
+ fromProtoMsg(message: QueryProjectsByCreatorRequestProtoMsg): QueryProjectsByCreatorRequest;
5696
+ toProto(message: QueryProjectsByCreatorRequest): Uint8Array;
5697
+ toProtoMsg(message: QueryProjectsByCreatorRequest): QueryProjectsByCreatorRequestProtoMsg;
5698
+ };
5699
+ /**
5700
+ * QueryProjectsByCreatorResponse defines the QueryProjectsByCreatorResponse message.
5701
+ * @name QueryProjectsByCreatorResponse
5702
+ * @package sparkdream.rep.v1
5703
+ * @see proto type: sparkdream.rep.v1.QueryProjectsByCreatorResponse
5704
+ */
5705
+ export declare const QueryProjectsByCreatorResponse: {
5706
+ typeUrl: string;
5707
+ encode(message: QueryProjectsByCreatorResponse, writer?: BinaryWriter): BinaryWriter;
5708
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryProjectsByCreatorResponse;
5709
+ fromPartial(object: DeepPartial<QueryProjectsByCreatorResponse>): QueryProjectsByCreatorResponse;
5710
+ fromAmino(object: QueryProjectsByCreatorResponseAmino): QueryProjectsByCreatorResponse;
5711
+ toAmino(message: QueryProjectsByCreatorResponse): QueryProjectsByCreatorResponseAmino;
5712
+ fromAminoMsg(object: QueryProjectsByCreatorResponseAminoMsg): QueryProjectsByCreatorResponse;
5713
+ fromProtoMsg(message: QueryProjectsByCreatorResponseProtoMsg): QueryProjectsByCreatorResponse;
5714
+ toProto(message: QueryProjectsByCreatorResponse): Uint8Array;
5715
+ toProtoMsg(message: QueryProjectsByCreatorResponse): QueryProjectsByCreatorResponseProtoMsg;
5716
+ };
5517
5717
  /**
5518
5718
  * QueryAvailableInitiativesRequest defines the QueryAvailableInitiativesRequest message.
5519
5719
  * @name QueryAvailableInitiativesRequest
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.QueryProjectsByCouncilResponse = exports.QueryProjectsByCouncilRequest = exports.QueryInterimsByReferenceResponse = exports.QueryInterimsByReferenceRequest = exports.QueryInterimsByTypeResponse = exports.QueryInterimsByTypeRequest = exports.QueryInterimsByAssigneeResponse = exports.QueryInterimsByAssigneeRequest = exports.QueryInvitationsByInviterResponse = exports.QueryInvitationsByInviterRequest = exports.QueryMembersByTrustLevelResponse = exports.QueryMembersByTrustLevelRequest = exports.QueryAllInterimTemplateResponse = exports.QueryAllInterimTemplateRequest = exports.QueryGetInterimTemplateResponse = exports.QueryGetInterimTemplateRequest = exports.QueryAllInterimResponse = exports.QueryAllInterimRequest = exports.QueryGetInterimResponse = exports.QueryGetInterimRequest = exports.QueryAllJuryReviewResponse = exports.QueryAllJuryReviewRequest = exports.QueryGetJuryReviewResponse = exports.QueryGetJuryReviewRequest = exports.QueryAllChallengeResponse = exports.QueryAllChallengeRequest = exports.QueryGetChallengeResponse = exports.QueryGetChallengeRequest = exports.QueryAllStakeResponse = exports.QueryAllStakeRequest = exports.QueryGetStakeResponse = exports.QueryGetStakeRequest = exports.QueryAllInitiativeResponse = exports.QueryAllInitiativeRequest = exports.QueryGetInitiativeResponse = exports.QueryGetInitiativeRequest = exports.QueryAllProjectResponse = exports.QueryAllProjectRequest = exports.QueryGetProjectResponse = exports.QueryGetProjectRequest = exports.QueryAllInvitationResponse = exports.QueryAllInvitationRequest = exports.QueryGetInvitationResponse = exports.QueryGetInvitationRequest = exports.QueryAllMemberResponse = exports.QueryAllMemberRequest = exports.QueryGetMemberResponse = exports.QueryGetMemberRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = void 0;
4
- exports.QueryAllTagRequest = exports.QueryGetTagResponse = exports.QueryGetTagRequest = exports.QueryTreasuryStatusResponse = exports.QueryTreasuryStatusRequest = exports.QueryEffectiveApyResponse = exports.QueryEffectiveApyRequest = exports.QueryMintBurnRatioResponse = exports.QueryMintBurnRatioRequest = exports.QueryDreamSupplyStatsResponse = exports.QueryDreamSupplyStatsRequest = exports.QueryContentByInitiativeResponse = exports.ContentInitiativeLinkEntry = exports.QueryContentByInitiativeRequest = exports.QueryContentChallengesByTargetResponse = exports.QueryContentChallengesByTargetRequest = exports.QueryAllContentChallengeResponse = exports.QueryAllContentChallengeRequest = exports.QueryGetContentChallengeResponse = exports.QueryGetContentChallengeRequest = exports.QueryAuthorBondResponse = exports.QueryAuthorBondRequest = exports.QueryContentConvictionResponse = exports.QueryContentConvictionRequest = exports.QueryGetProjectStakeInfoResponse = exports.QueryGetProjectStakeInfoRequest = exports.QueryListTagStakePoolsResponse = exports.QueryListTagStakePoolsRequest = exports.QueryGetTagStakePoolResponse = exports.QueryGetTagStakePoolRequest = exports.QueryGetMemberStakePoolResponse = exports.QueryGetMemberStakePoolRequest = exports.QueryPendingStakeRewardsResponse = exports.QueryPendingStakeRewardsRequest = exports.QueryReputationResponse = exports.QueryReputationRequest = exports.QueryChallengesByInitiativeResponse = exports.QueryChallengesByInitiativeRequest = exports.QueryInitiativeConvictionResponse = exports.QueryInitiativeConvictionRequest = exports.QueryStakesByTargetResponse = exports.QueryStakesByTargetRequest = exports.QueryStakesByStakerResponse = exports.QueryStakesByStakerRequest = exports.QueryAvailableInitiativesResponse = exports.QueryAvailableInitiativesRequest = exports.QueryInitiativesByAssigneeResponse = exports.QueryInitiativesByAssigneeRequest = exports.QueryInitiativesByProjectResponse = exports.QueryInitiativesByProjectRequest = void 0;
5
- exports.QueryMemberReportsRequest = exports.QueryAllJuryParticipationResponse = exports.QueryAllJuryParticipationRequest = exports.QueryGetJuryParticipationResponse = exports.QueryGetJuryParticipationRequest = exports.QueryAllGovActionAppealResponse = exports.QueryAllGovActionAppealRequest = exports.QueryGetGovActionAppealResponse = exports.QueryGetGovActionAppealRequest = exports.QueryAllMemberWarningResponse = exports.QueryAllMemberWarningRequest = exports.QueryGetMemberWarningResponse = exports.QueryGetMemberWarningRequest = exports.QueryAllMemberReportResponse = exports.QueryAllMemberReportRequest = exports.QueryGetMemberReportResponse = exports.QueryGetMemberReportRequest = exports.QueryBondedRoleConfigResponse = exports.QueryBondedRoleConfigRequest = exports.QueryBondedRolesByTypeResponse = exports.QueryBondedRolesByTypeRequest = exports.QueryBondedRoleResponse = exports.QueryBondedRoleRequest = exports.QueryTagBudgetAwardsResponse = exports.QueryTagBudgetAwardsRequest = exports.QueryTagBudgetsResponse = exports.QueryTagBudgetsRequest = exports.QueryTagBudgetByTagResponse = exports.QueryTagBudgetByTagRequest = exports.QueryAllTagBudgetAwardResponse = exports.QueryAllTagBudgetAwardRequest = exports.QueryGetTagBudgetAwardResponse = exports.QueryGetTagBudgetAwardRequest = exports.QueryAllTagBudgetResponse = exports.QueryAllTagBudgetRequest = exports.QueryGetTagBudgetResponse = exports.QueryGetTagBudgetRequest = exports.QueryTagReportsResponse = exports.QueryTagReportsRequest = exports.QueryAllTagReportResponse = exports.QueryAllTagReportRequest = exports.QueryGetTagReportResponse = exports.QueryGetTagReportRequest = exports.QueryTagExistsResponse = exports.QueryTagExistsRequest = exports.QueryAllReservedTagResponse = exports.QueryAllReservedTagRequest = exports.QueryGetReservedTagResponse = exports.QueryGetReservedTagRequest = exports.QueryAllTagResponse = void 0;
6
- exports.QueryAuthorBondsByTypeResponse = exports.QueryAuthorBondsByTypeRequest = exports.QueryRequiredInvitationStakeResponse = exports.QueryRequiredInvitationStakeRequest = exports.QueryMemberStandingResponse = exports.QueryMemberStandingRequest = exports.QueryMemberWarningsResponse = exports.QueryMemberWarningsRequest = exports.QueryMemberReportsResponse = void 0;
4
+ exports.QueryTreasuryStatusRequest = exports.QueryEffectiveApyResponse = exports.QueryEffectiveApyRequest = exports.QueryMintBurnRatioResponse = exports.QueryMintBurnRatioRequest = exports.QueryDreamSupplyStatsResponse = exports.QueryDreamSupplyStatsRequest = exports.QueryContentByInitiativeResponse = exports.ContentInitiativeLinkEntry = exports.QueryContentByInitiativeRequest = exports.QueryContentChallengesByTargetResponse = exports.QueryContentChallengesByTargetRequest = exports.QueryAllContentChallengeResponse = exports.QueryAllContentChallengeRequest = exports.QueryGetContentChallengeResponse = exports.QueryGetContentChallengeRequest = exports.QueryAuthorBondResponse = exports.QueryAuthorBondRequest = exports.QueryContentConvictionResponse = exports.QueryContentConvictionRequest = exports.QueryGetProjectStakeInfoResponse = exports.QueryGetProjectStakeInfoRequest = exports.QueryListTagStakePoolsResponse = exports.QueryListTagStakePoolsRequest = exports.QueryGetTagStakePoolResponse = exports.QueryGetTagStakePoolRequest = exports.QueryGetMemberStakePoolResponse = exports.QueryGetMemberStakePoolRequest = exports.QueryPendingStakeRewardsResponse = exports.QueryPendingStakeRewardsRequest = exports.QueryReputationResponse = exports.QueryReputationRequest = exports.QueryChallengesByInitiativeResponse = exports.QueryChallengesByInitiativeRequest = exports.QueryInitiativeConvictionResponse = exports.QueryInitiativeConvictionRequest = exports.QueryStakesByTargetResponse = exports.QueryStakesByTargetRequest = exports.QueryStakesByStakerResponse = exports.QueryStakesByStakerRequest = exports.QueryAvailableInitiativesResponse = exports.QueryAvailableInitiativesRequest = exports.QueryProjectsByCreatorResponse = exports.QueryProjectsByCreatorRequest = exports.QueryInitiativesByCreatorResponse = exports.QueryInitiativesByCreatorRequest = exports.QueryInitiativesByAssigneeResponse = exports.QueryInitiativesByAssigneeRequest = exports.QueryInitiativesByProjectResponse = exports.QueryInitiativesByProjectRequest = void 0;
5
+ exports.QueryGetJuryParticipationRequest = exports.QueryAllGovActionAppealResponse = exports.QueryAllGovActionAppealRequest = exports.QueryGetGovActionAppealResponse = exports.QueryGetGovActionAppealRequest = exports.QueryAllMemberWarningResponse = exports.QueryAllMemberWarningRequest = exports.QueryGetMemberWarningResponse = exports.QueryGetMemberWarningRequest = exports.QueryAllMemberReportResponse = exports.QueryAllMemberReportRequest = exports.QueryGetMemberReportResponse = exports.QueryGetMemberReportRequest = exports.QueryBondedRoleConfigResponse = exports.QueryBondedRoleConfigRequest = exports.QueryBondedRolesByTypeResponse = exports.QueryBondedRolesByTypeRequest = exports.QueryBondedRoleResponse = exports.QueryBondedRoleRequest = exports.QueryTagBudgetAwardsResponse = exports.QueryTagBudgetAwardsRequest = exports.QueryTagBudgetsResponse = exports.QueryTagBudgetsRequest = exports.QueryTagBudgetByTagResponse = exports.QueryTagBudgetByTagRequest = exports.QueryAllTagBudgetAwardResponse = exports.QueryAllTagBudgetAwardRequest = exports.QueryGetTagBudgetAwardResponse = exports.QueryGetTagBudgetAwardRequest = exports.QueryAllTagBudgetResponse = exports.QueryAllTagBudgetRequest = exports.QueryGetTagBudgetResponse = exports.QueryGetTagBudgetRequest = exports.QueryTagReportsResponse = exports.QueryTagReportsRequest = exports.QueryAllTagReportResponse = exports.QueryAllTagReportRequest = exports.QueryGetTagReportResponse = exports.QueryGetTagReportRequest = exports.QueryTagExistsResponse = exports.QueryTagExistsRequest = exports.QueryAllReservedTagResponse = exports.QueryAllReservedTagRequest = exports.QueryGetReservedTagResponse = exports.QueryGetReservedTagRequest = exports.QueryAllTagResponse = exports.QueryAllTagRequest = exports.QueryGetTagResponse = exports.QueryGetTagRequest = exports.QueryTreasuryStatusResponse = void 0;
6
+ exports.QueryAuthorBondsByTypeResponse = exports.QueryAuthorBondsByTypeRequest = exports.QueryRequiredInvitationStakeResponse = exports.QueryRequiredInvitationStakeRequest = exports.QueryMemberStandingResponse = exports.QueryMemberStandingRequest = exports.QueryMemberWarningsResponse = exports.QueryMemberWarningsRequest = exports.QueryMemberReportsResponse = exports.QueryMemberReportsRequest = exports.QueryAllJuryParticipationResponse = exports.QueryAllJuryParticipationRequest = exports.QueryGetJuryParticipationResponse = void 0;
7
7
  //@ts-nocheck
8
8
  const pagination_1 = require("../../../cosmos/base/query/v1beta1/pagination");
9
9
  const bonded_role_1 = require("./bonded_role");
@@ -4234,6 +4234,360 @@ exports.QueryInitiativesByAssigneeResponse = {
4234
4234
  };
4235
4235
  }
4236
4236
  };
4237
+ function createBaseQueryInitiativesByCreatorRequest() {
4238
+ return {
4239
+ creator: "",
4240
+ pagination: undefined,
4241
+ sortBy: ""
4242
+ };
4243
+ }
4244
+ /**
4245
+ * QueryInitiativesByCreatorRequest defines the QueryInitiativesByCreatorRequest message.
4246
+ * @name QueryInitiativesByCreatorRequest
4247
+ * @package sparkdream.rep.v1
4248
+ * @see proto type: sparkdream.rep.v1.QueryInitiativesByCreatorRequest
4249
+ */
4250
+ exports.QueryInitiativesByCreatorRequest = {
4251
+ typeUrl: "/sparkdream.rep.v1.QueryInitiativesByCreatorRequest",
4252
+ encode(message, writer = binary_1.BinaryWriter.create()) {
4253
+ if (message.creator !== "") {
4254
+ writer.uint32(10).string(message.creator);
4255
+ }
4256
+ if (message.pagination !== undefined) {
4257
+ pagination_1.PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
4258
+ }
4259
+ if (message.sortBy !== "") {
4260
+ writer.uint32(26).string(message.sortBy);
4261
+ }
4262
+ return writer;
4263
+ },
4264
+ decode(input, length) {
4265
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
4266
+ let end = length === undefined ? reader.len : reader.pos + length;
4267
+ const message = createBaseQueryInitiativesByCreatorRequest();
4268
+ while (reader.pos < end) {
4269
+ const tag = reader.uint32();
4270
+ switch (tag >>> 3) {
4271
+ case 1:
4272
+ message.creator = reader.string();
4273
+ break;
4274
+ case 2:
4275
+ message.pagination = pagination_1.PageRequest.decode(reader, reader.uint32());
4276
+ break;
4277
+ case 3:
4278
+ message.sortBy = reader.string();
4279
+ break;
4280
+ default:
4281
+ reader.skipType(tag & 7);
4282
+ break;
4283
+ }
4284
+ }
4285
+ return message;
4286
+ },
4287
+ fromPartial(object) {
4288
+ const message = createBaseQueryInitiativesByCreatorRequest();
4289
+ message.creator = object.creator ?? "";
4290
+ message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageRequest.fromPartial(object.pagination) : undefined;
4291
+ message.sortBy = object.sortBy ?? "";
4292
+ return message;
4293
+ },
4294
+ fromAmino(object) {
4295
+ const message = createBaseQueryInitiativesByCreatorRequest();
4296
+ if (object.creator !== undefined && object.creator !== null) {
4297
+ message.creator = object.creator;
4298
+ }
4299
+ if (object.pagination !== undefined && object.pagination !== null) {
4300
+ message.pagination = pagination_1.PageRequest.fromAmino(object.pagination);
4301
+ }
4302
+ if (object.sort_by !== undefined && object.sort_by !== null) {
4303
+ message.sortBy = object.sort_by;
4304
+ }
4305
+ return message;
4306
+ },
4307
+ toAmino(message) {
4308
+ const obj = {};
4309
+ obj.creator = message.creator === "" ? undefined : message.creator;
4310
+ obj.pagination = message.pagination ? pagination_1.PageRequest.toAmino(message.pagination) : undefined;
4311
+ obj.sort_by = message.sortBy === "" ? undefined : message.sortBy;
4312
+ return obj;
4313
+ },
4314
+ fromAminoMsg(object) {
4315
+ return exports.QueryInitiativesByCreatorRequest.fromAmino(object.value);
4316
+ },
4317
+ fromProtoMsg(message) {
4318
+ return exports.QueryInitiativesByCreatorRequest.decode(message.value);
4319
+ },
4320
+ toProto(message) {
4321
+ return exports.QueryInitiativesByCreatorRequest.encode(message).finish();
4322
+ },
4323
+ toProtoMsg(message) {
4324
+ return {
4325
+ typeUrl: "/sparkdream.rep.v1.QueryInitiativesByCreatorRequest",
4326
+ value: exports.QueryInitiativesByCreatorRequest.encode(message).finish()
4327
+ };
4328
+ }
4329
+ };
4330
+ function createBaseQueryInitiativesByCreatorResponse() {
4331
+ return {
4332
+ initiatives: [],
4333
+ pagination: undefined
4334
+ };
4335
+ }
4336
+ /**
4337
+ * QueryInitiativesByCreatorResponse defines the QueryInitiativesByCreatorResponse message.
4338
+ * @name QueryInitiativesByCreatorResponse
4339
+ * @package sparkdream.rep.v1
4340
+ * @see proto type: sparkdream.rep.v1.QueryInitiativesByCreatorResponse
4341
+ */
4342
+ exports.QueryInitiativesByCreatorResponse = {
4343
+ typeUrl: "/sparkdream.rep.v1.QueryInitiativesByCreatorResponse",
4344
+ encode(message, writer = binary_1.BinaryWriter.create()) {
4345
+ for (const v of message.initiatives) {
4346
+ initiative_1.Initiative.encode(v, writer.uint32(10).fork()).ldelim();
4347
+ }
4348
+ if (message.pagination !== undefined) {
4349
+ pagination_1.PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
4350
+ }
4351
+ return writer;
4352
+ },
4353
+ decode(input, length) {
4354
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
4355
+ let end = length === undefined ? reader.len : reader.pos + length;
4356
+ const message = createBaseQueryInitiativesByCreatorResponse();
4357
+ while (reader.pos < end) {
4358
+ const tag = reader.uint32();
4359
+ switch (tag >>> 3) {
4360
+ case 1:
4361
+ message.initiatives.push(initiative_1.Initiative.decode(reader, reader.uint32()));
4362
+ break;
4363
+ case 2:
4364
+ message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
4365
+ break;
4366
+ default:
4367
+ reader.skipType(tag & 7);
4368
+ break;
4369
+ }
4370
+ }
4371
+ return message;
4372
+ },
4373
+ fromPartial(object) {
4374
+ const message = createBaseQueryInitiativesByCreatorResponse();
4375
+ message.initiatives = object.initiatives?.map(e => initiative_1.Initiative.fromPartial(e)) || [];
4376
+ message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
4377
+ return message;
4378
+ },
4379
+ fromAmino(object) {
4380
+ const message = createBaseQueryInitiativesByCreatorResponse();
4381
+ message.initiatives = object.initiatives?.map(e => initiative_1.Initiative.fromAmino(e)) || [];
4382
+ if (object.pagination !== undefined && object.pagination !== null) {
4383
+ message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
4384
+ }
4385
+ return message;
4386
+ },
4387
+ toAmino(message) {
4388
+ const obj = {};
4389
+ if (message.initiatives) {
4390
+ obj.initiatives = message.initiatives.map(e => e ? initiative_1.Initiative.toAmino(e) : undefined);
4391
+ }
4392
+ else {
4393
+ obj.initiatives = message.initiatives;
4394
+ }
4395
+ obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
4396
+ return obj;
4397
+ },
4398
+ fromAminoMsg(object) {
4399
+ return exports.QueryInitiativesByCreatorResponse.fromAmino(object.value);
4400
+ },
4401
+ fromProtoMsg(message) {
4402
+ return exports.QueryInitiativesByCreatorResponse.decode(message.value);
4403
+ },
4404
+ toProto(message) {
4405
+ return exports.QueryInitiativesByCreatorResponse.encode(message).finish();
4406
+ },
4407
+ toProtoMsg(message) {
4408
+ return {
4409
+ typeUrl: "/sparkdream.rep.v1.QueryInitiativesByCreatorResponse",
4410
+ value: exports.QueryInitiativesByCreatorResponse.encode(message).finish()
4411
+ };
4412
+ }
4413
+ };
4414
+ function createBaseQueryProjectsByCreatorRequest() {
4415
+ return {
4416
+ creator: "",
4417
+ pagination: undefined,
4418
+ sortBy: ""
4419
+ };
4420
+ }
4421
+ /**
4422
+ * QueryProjectsByCreatorRequest defines the QueryProjectsByCreatorRequest message.
4423
+ * @name QueryProjectsByCreatorRequest
4424
+ * @package sparkdream.rep.v1
4425
+ * @see proto type: sparkdream.rep.v1.QueryProjectsByCreatorRequest
4426
+ */
4427
+ exports.QueryProjectsByCreatorRequest = {
4428
+ typeUrl: "/sparkdream.rep.v1.QueryProjectsByCreatorRequest",
4429
+ encode(message, writer = binary_1.BinaryWriter.create()) {
4430
+ if (message.creator !== "") {
4431
+ writer.uint32(10).string(message.creator);
4432
+ }
4433
+ if (message.pagination !== undefined) {
4434
+ pagination_1.PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
4435
+ }
4436
+ if (message.sortBy !== "") {
4437
+ writer.uint32(26).string(message.sortBy);
4438
+ }
4439
+ return writer;
4440
+ },
4441
+ decode(input, length) {
4442
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
4443
+ let end = length === undefined ? reader.len : reader.pos + length;
4444
+ const message = createBaseQueryProjectsByCreatorRequest();
4445
+ while (reader.pos < end) {
4446
+ const tag = reader.uint32();
4447
+ switch (tag >>> 3) {
4448
+ case 1:
4449
+ message.creator = reader.string();
4450
+ break;
4451
+ case 2:
4452
+ message.pagination = pagination_1.PageRequest.decode(reader, reader.uint32());
4453
+ break;
4454
+ case 3:
4455
+ message.sortBy = reader.string();
4456
+ break;
4457
+ default:
4458
+ reader.skipType(tag & 7);
4459
+ break;
4460
+ }
4461
+ }
4462
+ return message;
4463
+ },
4464
+ fromPartial(object) {
4465
+ const message = createBaseQueryProjectsByCreatorRequest();
4466
+ message.creator = object.creator ?? "";
4467
+ message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageRequest.fromPartial(object.pagination) : undefined;
4468
+ message.sortBy = object.sortBy ?? "";
4469
+ return message;
4470
+ },
4471
+ fromAmino(object) {
4472
+ const message = createBaseQueryProjectsByCreatorRequest();
4473
+ if (object.creator !== undefined && object.creator !== null) {
4474
+ message.creator = object.creator;
4475
+ }
4476
+ if (object.pagination !== undefined && object.pagination !== null) {
4477
+ message.pagination = pagination_1.PageRequest.fromAmino(object.pagination);
4478
+ }
4479
+ if (object.sort_by !== undefined && object.sort_by !== null) {
4480
+ message.sortBy = object.sort_by;
4481
+ }
4482
+ return message;
4483
+ },
4484
+ toAmino(message) {
4485
+ const obj = {};
4486
+ obj.creator = message.creator === "" ? undefined : message.creator;
4487
+ obj.pagination = message.pagination ? pagination_1.PageRequest.toAmino(message.pagination) : undefined;
4488
+ obj.sort_by = message.sortBy === "" ? undefined : message.sortBy;
4489
+ return obj;
4490
+ },
4491
+ fromAminoMsg(object) {
4492
+ return exports.QueryProjectsByCreatorRequest.fromAmino(object.value);
4493
+ },
4494
+ fromProtoMsg(message) {
4495
+ return exports.QueryProjectsByCreatorRequest.decode(message.value);
4496
+ },
4497
+ toProto(message) {
4498
+ return exports.QueryProjectsByCreatorRequest.encode(message).finish();
4499
+ },
4500
+ toProtoMsg(message) {
4501
+ return {
4502
+ typeUrl: "/sparkdream.rep.v1.QueryProjectsByCreatorRequest",
4503
+ value: exports.QueryProjectsByCreatorRequest.encode(message).finish()
4504
+ };
4505
+ }
4506
+ };
4507
+ function createBaseQueryProjectsByCreatorResponse() {
4508
+ return {
4509
+ projects: [],
4510
+ pagination: undefined
4511
+ };
4512
+ }
4513
+ /**
4514
+ * QueryProjectsByCreatorResponse defines the QueryProjectsByCreatorResponse message.
4515
+ * @name QueryProjectsByCreatorResponse
4516
+ * @package sparkdream.rep.v1
4517
+ * @see proto type: sparkdream.rep.v1.QueryProjectsByCreatorResponse
4518
+ */
4519
+ exports.QueryProjectsByCreatorResponse = {
4520
+ typeUrl: "/sparkdream.rep.v1.QueryProjectsByCreatorResponse",
4521
+ encode(message, writer = binary_1.BinaryWriter.create()) {
4522
+ for (const v of message.projects) {
4523
+ project_1.Project.encode(v, writer.uint32(10).fork()).ldelim();
4524
+ }
4525
+ if (message.pagination !== undefined) {
4526
+ pagination_1.PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
4527
+ }
4528
+ return writer;
4529
+ },
4530
+ decode(input, length) {
4531
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
4532
+ let end = length === undefined ? reader.len : reader.pos + length;
4533
+ const message = createBaseQueryProjectsByCreatorResponse();
4534
+ while (reader.pos < end) {
4535
+ const tag = reader.uint32();
4536
+ switch (tag >>> 3) {
4537
+ case 1:
4538
+ message.projects.push(project_1.Project.decode(reader, reader.uint32()));
4539
+ break;
4540
+ case 2:
4541
+ message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
4542
+ break;
4543
+ default:
4544
+ reader.skipType(tag & 7);
4545
+ break;
4546
+ }
4547
+ }
4548
+ return message;
4549
+ },
4550
+ fromPartial(object) {
4551
+ const message = createBaseQueryProjectsByCreatorResponse();
4552
+ message.projects = object.projects?.map(e => project_1.Project.fromPartial(e)) || [];
4553
+ message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
4554
+ return message;
4555
+ },
4556
+ fromAmino(object) {
4557
+ const message = createBaseQueryProjectsByCreatorResponse();
4558
+ message.projects = object.projects?.map(e => project_1.Project.fromAmino(e)) || [];
4559
+ if (object.pagination !== undefined && object.pagination !== null) {
4560
+ message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
4561
+ }
4562
+ return message;
4563
+ },
4564
+ toAmino(message) {
4565
+ const obj = {};
4566
+ if (message.projects) {
4567
+ obj.projects = message.projects.map(e => e ? project_1.Project.toAmino(e) : undefined);
4568
+ }
4569
+ else {
4570
+ obj.projects = message.projects;
4571
+ }
4572
+ obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
4573
+ return obj;
4574
+ },
4575
+ fromAminoMsg(object) {
4576
+ return exports.QueryProjectsByCreatorResponse.fromAmino(object.value);
4577
+ },
4578
+ fromProtoMsg(message) {
4579
+ return exports.QueryProjectsByCreatorResponse.decode(message.value);
4580
+ },
4581
+ toProto(message) {
4582
+ return exports.QueryProjectsByCreatorResponse.encode(message).finish();
4583
+ },
4584
+ toProtoMsg(message) {
4585
+ return {
4586
+ typeUrl: "/sparkdream.rep.v1.QueryProjectsByCreatorResponse",
4587
+ value: exports.QueryProjectsByCreatorResponse.encode(message).finish()
4588
+ };
4589
+ }
4590
+ };
4237
4591
  function createBaseQueryAvailableInitiativesRequest() {
4238
4592
  return {
4239
4593
  pagination: undefined,