@sparkdreamnft/sparkdreamjs 0.0.43 → 0.0.45

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.
Files changed (232) hide show
  1. package/akash/bundle.d.ts +134 -134
  2. package/akash/bundle.js +150 -150
  3. package/cosmos/bundle.d.ts +160 -160
  4. package/cosmos/bundle.js +182 -182
  5. package/esm/akash/bundle.js +150 -150
  6. package/esm/cosmos/bundle.js +182 -182
  7. package/esm/ibc/bundle.js +116 -116
  8. package/esm/sparkdream/artifact/module/v1/module.js +71 -0
  9. package/esm/sparkdream/artifact/v1/genesis.js +279 -0
  10. package/esm/sparkdream/artifact/v1/params.js +645 -0
  11. package/esm/sparkdream/artifact/v1/query.js +3415 -0
  12. package/esm/sparkdream/artifact/v1/query.lcd.js +159 -0
  13. package/esm/sparkdream/artifact/v1/query.rpc.Query.js +188 -0
  14. package/esm/sparkdream/artifact/v1/tx.amino.js +159 -0
  15. package/esm/sparkdream/artifact/v1/tx.js +5751 -0
  16. package/esm/sparkdream/artifact/v1/tx.registry.js +573 -0
  17. package/esm/sparkdream/artifact/v1/tx.rpc.msg.js +199 -0
  18. package/esm/sparkdream/artifact/v1/types.js +2603 -0
  19. package/esm/sparkdream/blog/v1/params.js +37 -1
  20. package/esm/sparkdream/blog/v1/post.js +38 -1
  21. package/esm/sparkdream/blog/v1/query.js +351 -0
  22. package/esm/sparkdream/blog/v1/query.lcd.js +12 -0
  23. package/esm/sparkdream/blog/v1/query.rpc.Query.js +21 -1
  24. package/esm/sparkdream/blog/v1/types.js +38 -1
  25. package/esm/sparkdream/bundle.js +521 -483
  26. package/esm/sparkdream/client.js +4 -1
  27. package/esm/sparkdream/collect/v1/params.js +102 -126
  28. package/esm/sparkdream/collect/v1/types.js +207 -123
  29. package/esm/sparkdream/common/v1/media_flag.js +63 -0
  30. package/esm/sparkdream/common/v1/moderation_reason.js +1 -1
  31. package/esm/sparkdream/commons/v1/query.js +27 -3
  32. package/esm/sparkdream/federation/v1/packet.js +13 -1
  33. package/esm/sparkdream/federation/v1/query.js +163 -0
  34. package/esm/sparkdream/federation/v1/query.lcd.js +7 -0
  35. package/esm/sparkdream/federation/v1/query.rpc.Query.js +12 -1
  36. package/esm/sparkdream/federation/v1/tx.js +13 -1
  37. package/esm/sparkdream/federation/v1/types.js +37 -1
  38. package/esm/sparkdream/forum/v1/params.js +37 -1
  39. package/esm/sparkdream/forum/v1/post.js +38 -1
  40. package/esm/sparkdream/forum/v1/query.js +176 -0
  41. package/esm/sparkdream/forum/v1/query.lcd.js +7 -0
  42. package/esm/sparkdream/forum/v1/query.rpc.Query.js +12 -1
  43. package/esm/sparkdream/lcd.js +5 -0
  44. package/esm/sparkdream/name/v1/genesis.js +32 -2
  45. package/esm/sparkdream/rep/v1/accountability.js +22 -0
  46. package/esm/sparkdream/rep/v1/genesis.js +18 -2
  47. package/esm/sparkdream/rep/v1/initiative_bounty.js +200 -0
  48. package/esm/sparkdream/rep/v1/member.js +97 -35
  49. package/esm/sparkdream/rep/v1/params.js +198 -66
  50. package/esm/sparkdream/rep/v1/query.js +530 -0
  51. package/esm/sparkdream/rep/v1/query.lcd.js +23 -0
  52. package/esm/sparkdream/rep/v1/query.rpc.Query.js +26 -1
  53. package/esm/sparkdream/rep/v1/tx.js +499 -7
  54. package/esm/sparkdream/rep/v1/tx.registry.js +56 -2
  55. package/esm/sparkdream/rep/v1/tx.rpc.msg.js +21 -1
  56. package/esm/sparkdream/rpc.query.js +3 -0
  57. package/esm/sparkdream/rpc.tx.js +3 -0
  58. package/esm/sparkdream/season/v1/tx.js +33 -2
  59. package/esm/sparkdream/service/v1/checkpoint.js +125 -0
  60. package/esm/sparkdream/service/v1/genesis.js +17 -1
  61. package/esm/sparkdream/service/v1/operator.js +25 -1
  62. package/esm/sparkdream/service/v1/query.js +317 -0
  63. package/esm/sparkdream/service/v1/query.lcd.js +18 -0
  64. package/esm/sparkdream/service/v1/query.rpc.Query.js +21 -1
  65. package/esm/sparkdream/service/v1/service_type_config.js +37 -1
  66. package/esm/sparkdream/service/v1/tx.amino.js +11 -1
  67. package/esm/sparkdream/service/v1/tx.js +332 -0
  68. package/esm/sparkdream/service/v1/tx.registry.js +38 -2
  69. package/esm/sparkdream/service/v1/tx.rpc.msg.js +20 -1
  70. package/esm/sparkdream/session/v1/grant.js +98 -6
  71. package/esm/sparkdream/session/v1/tx.amino.js +3 -0
  72. package/esm/sparkdream/session/v1/tx.js +15 -3
  73. package/esm/sparkdream/session/v1/tx.rpc.msg.js +2 -2
  74. package/esm/sparkdream/shield/v1/genesis.js +32 -2
  75. package/esm/sparkdream/shield/v1/params.js +25 -1
  76. package/esm/sparkdream/shield/v1/query.js +13 -1
  77. package/esm/sparkdream/shield/v1/types.js +480 -16
  78. package/esm/sparkdream/sparkdream/v1/query.js +176 -0
  79. package/esm/sparkdream/sparkdream/v1/query.lcd.js +9 -0
  80. package/esm/sparkdream/sparkdream/v1/query.rpc.Query.js +14 -1
  81. package/esm/tendermint/bundle.js +20 -20
  82. package/ibc/bundle.d.ts +99 -99
  83. package/ibc/bundle.js +116 -116
  84. package/package.json +1 -1
  85. package/sparkdream/artifact/module/v1/module.d.ts +54 -0
  86. package/sparkdream/artifact/module/v1/module.js +74 -0
  87. package/sparkdream/artifact/v1/genesis.d.ts +88 -0
  88. package/sparkdream/artifact/v1/genesis.js +282 -0
  89. package/sparkdream/artifact/v1/params.d.ts +251 -0
  90. package/sparkdream/artifact/v1/params.js +648 -0
  91. package/sparkdream/artifact/v1/query.d.ts +1986 -0
  92. package/sparkdream/artifact/v1/query.js +3418 -0
  93. package/sparkdream/artifact/v1/query.lcd.d.ts +27 -0
  94. package/sparkdream/artifact/v1/query.lcd.js +163 -0
  95. package/sparkdream/artifact/v1/query.rpc.Query.d.ts +88 -0
  96. package/sparkdream/artifact/v1/query.rpc.Query.js +193 -0
  97. package/sparkdream/artifact/v1/tx.amino.d.ts +158 -0
  98. package/sparkdream/artifact/v1/tx.amino.js +162 -0
  99. package/sparkdream/artifact/v1/tx.d.ts +3268 -0
  100. package/sparkdream/artifact/v1/tx.js +5755 -0
  101. package/sparkdream/artifact/v1/tx.registry.d.ts +385 -0
  102. package/sparkdream/artifact/v1/tx.registry.js +577 -0
  103. package/sparkdream/artifact/v1/tx.rpc.msg.d.ts +109 -0
  104. package/sparkdream/artifact/v1/tx.rpc.msg.js +204 -0
  105. package/sparkdream/artifact/v1/types.d.ts +1157 -0
  106. package/sparkdream/artifact/v1/types.js +2620 -0
  107. package/sparkdream/blog/v1/params.d.ts +46 -0
  108. package/sparkdream/blog/v1/params.js +37 -1
  109. package/sparkdream/blog/v1/post.d.ts +24 -0
  110. package/sparkdream/blog/v1/post.js +38 -1
  111. package/sparkdream/blog/v1/query.d.ts +195 -0
  112. package/sparkdream/blog/v1/query.js +352 -1
  113. package/sparkdream/blog/v1/query.lcd.d.ts +3 -1
  114. package/sparkdream/blog/v1/query.lcd.js +12 -0
  115. package/sparkdream/blog/v1/query.rpc.Query.d.ts +13 -1
  116. package/sparkdream/blog/v1/query.rpc.Query.js +20 -0
  117. package/sparkdream/blog/v1/types.d.ts +24 -0
  118. package/sparkdream/blog/v1/types.js +38 -1
  119. package/sparkdream/bundle.d.ts +20666 -17863
  120. package/sparkdream/bundle.js +521 -483
  121. package/sparkdream/client.d.ts +165 -0
  122. package/sparkdream/client.js +4 -1
  123. package/sparkdream/collect/v1/params.d.ts +0 -4
  124. package/sparkdream/collect/v1/params.js +102 -126
  125. package/sparkdream/collect/v1/types.d.ts +80 -4
  126. package/sparkdream/collect/v1/types.js +207 -123
  127. package/sparkdream/common/v1/media_flag.d.ts +23 -0
  128. package/sparkdream/common/v1/media_flag.js +68 -0
  129. package/sparkdream/common/v1/moderation_reason.d.ts +1 -1
  130. package/sparkdream/common/v1/moderation_reason.js +1 -1
  131. package/sparkdream/commons/v1/query.d.ts +19 -1
  132. package/sparkdream/commons/v1/query.js +26 -2
  133. package/sparkdream/federation/v1/packet.d.ts +14 -0
  134. package/sparkdream/federation/v1/packet.js +13 -1
  135. package/sparkdream/federation/v1/query.d.ts +92 -0
  136. package/sparkdream/federation/v1/query.js +164 -1
  137. package/sparkdream/federation/v1/query.lcd.d.ts +2 -1
  138. package/sparkdream/federation/v1/query.lcd.js +7 -0
  139. package/sparkdream/federation/v1/query.rpc.Query.d.ts +9 -1
  140. package/sparkdream/federation/v1/query.rpc.Query.js +11 -0
  141. package/sparkdream/federation/v1/tx.d.ts +18 -0
  142. package/sparkdream/federation/v1/tx.js +13 -1
  143. package/sparkdream/federation/v1/types.d.ts +34 -0
  144. package/sparkdream/federation/v1/types.js +37 -1
  145. package/sparkdream/forum/v1/params.d.ts +46 -0
  146. package/sparkdream/forum/v1/params.js +37 -1
  147. package/sparkdream/forum/v1/post.d.ts +30 -0
  148. package/sparkdream/forum/v1/post.js +38 -1
  149. package/sparkdream/forum/v1/query.d.ts +98 -0
  150. package/sparkdream/forum/v1/query.js +177 -1
  151. package/sparkdream/forum/v1/query.lcd.d.ts +2 -1
  152. package/sparkdream/forum/v1/query.lcd.js +7 -0
  153. package/sparkdream/forum/v1/query.rpc.Query.d.ts +9 -1
  154. package/sparkdream/forum/v1/query.rpc.Query.js +11 -0
  155. package/sparkdream/lcd.d.ts +3 -0
  156. package/sparkdream/lcd.js +5 -0
  157. package/sparkdream/name/v1/genesis.d.ts +23 -1
  158. package/sparkdream/name/v1/genesis.js +31 -1
  159. package/sparkdream/rep/v1/accountability.d.ts +12 -0
  160. package/sparkdream/rep/v1/accountability.js +22 -0
  161. package/sparkdream/rep/v1/genesis.d.ts +18 -7
  162. package/sparkdream/rep/v1/genesis.js +18 -2
  163. package/sparkdream/rep/v1/initiative_bounty.d.ts +143 -0
  164. package/sparkdream/rep/v1/initiative_bounty.js +203 -0
  165. package/sparkdream/rep/v1/member.d.ts +82 -28
  166. package/sparkdream/rep/v1/member.js +97 -35
  167. package/sparkdream/rep/v1/params.d.ts +144 -28
  168. package/sparkdream/rep/v1/params.js +198 -66
  169. package/sparkdream/rep/v1/query.d.ts +315 -10
  170. package/sparkdream/rep/v1/query.js +531 -1
  171. package/sparkdream/rep/v1/query.lcd.d.ts +3 -1
  172. package/sparkdream/rep/v1/query.lcd.js +23 -0
  173. package/sparkdream/rep/v1/query.rpc.Query.d.ts +18 -1
  174. package/sparkdream/rep/v1/query.rpc.Query.js +25 -0
  175. package/sparkdream/rep/v1/tx.d.ts +338 -1
  176. package/sparkdream/rep/v1/tx.js +500 -8
  177. package/sparkdream/rep/v1/tx.registry.d.ts +37 -1
  178. package/sparkdream/rep/v1/tx.registry.js +55 -1
  179. package/sparkdream/rep/v1/tx.rpc.msg.d.ts +14 -1
  180. package/sparkdream/rep/v1/tx.rpc.msg.js +20 -0
  181. package/sparkdream/rpc.query.d.ts +32 -0
  182. package/sparkdream/rpc.query.js +3 -0
  183. package/sparkdream/rpc.tx.d.ts +3 -0
  184. package/sparkdream/rpc.tx.js +3 -0
  185. package/sparkdream/season/v1/tx.d.ts +19 -0
  186. package/sparkdream/season/v1/tx.js +33 -2
  187. package/sparkdream/service/v1/checkpoint.d.ts +93 -0
  188. package/sparkdream/service/v1/checkpoint.js +128 -0
  189. package/sparkdream/service/v1/genesis.d.ts +15 -0
  190. package/sparkdream/service/v1/genesis.js +17 -1
  191. package/sparkdream/service/v1/operator.d.ts +30 -0
  192. package/sparkdream/service/v1/operator.js +25 -1
  193. package/sparkdream/service/v1/query.d.ts +186 -0
  194. package/sparkdream/service/v1/query.js +318 -1
  195. package/sparkdream/service/v1/query.lcd.d.ts +3 -1
  196. package/sparkdream/service/v1/query.lcd.js +18 -0
  197. package/sparkdream/service/v1/query.rpc.Query.d.ts +13 -1
  198. package/sparkdream/service/v1/query.rpc.Query.js +20 -0
  199. package/sparkdream/service/v1/service_type_config.d.ts +48 -0
  200. package/sparkdream/service/v1/service_type_config.js +37 -1
  201. package/sparkdream/service/v1/tx.amino.d.ts +11 -1
  202. package/sparkdream/service/v1/tx.amino.js +10 -0
  203. package/sparkdream/service/v1/tx.d.ts +216 -0
  204. package/sparkdream/service/v1/tx.js +333 -1
  205. package/sparkdream/service/v1/tx.registry.d.ts +25 -1
  206. package/sparkdream/service/v1/tx.registry.js +37 -1
  207. package/sparkdream/service/v1/tx.rpc.msg.d.ts +18 -1
  208. package/sparkdream/service/v1/tx.rpc.msg.js +19 -0
  209. package/sparkdream/session/v1/grant.d.ts +75 -7
  210. package/sparkdream/session/v1/grant.js +99 -7
  211. package/sparkdream/session/v1/tx.amino.js +3 -0
  212. package/sparkdream/session/v1/tx.d.ts +6 -4
  213. package/sparkdream/session/v1/tx.js +14 -2
  214. package/sparkdream/session/v1/tx.rpc.msg.d.ts +2 -2
  215. package/sparkdream/session/v1/tx.rpc.msg.js +2 -2
  216. package/sparkdream/shield/v1/genesis.d.ts +17 -1
  217. package/sparkdream/shield/v1/genesis.js +31 -1
  218. package/sparkdream/shield/v1/params.d.ts +32 -4
  219. package/sparkdream/shield/v1/params.js +25 -1
  220. package/sparkdream/shield/v1/query.d.ts +8 -0
  221. package/sparkdream/shield/v1/query.js +13 -1
  222. package/sparkdream/shield/v1/tx.d.ts +36 -10
  223. package/sparkdream/shield/v1/types.d.ts +337 -13
  224. package/sparkdream/shield/v1/types.js +483 -17
  225. package/sparkdream/sparkdream/v1/query.d.ts +132 -0
  226. package/sparkdream/sparkdream/v1/query.js +177 -1
  227. package/sparkdream/sparkdream/v1/query.lcd.d.ts +2 -1
  228. package/sparkdream/sparkdream/v1/query.lcd.js +9 -0
  229. package/sparkdream/sparkdream/v1/query.rpc.Query.d.ts +11 -1
  230. package/sparkdream/sparkdream/v1/query.rpc.Query.js +13 -0
  231. package/tendermint/bundle.d.ts +844 -844
  232. package/tendermint/bundle.js +20 -20
@@ -6,11 +6,15 @@ import { CriteriaVote } from "./jury_review";
6
6
  import { BinaryReader, BinaryWriter } from "../../../binary";
7
7
  import { bytesFromBase64, base64FromBytes } from "../../../helpers";
8
8
  import { Decimal } from "@interchainjs/math";
9
+ /**
10
+ * TransferPurpose selects which limits a MsgTransferDream is held to. Any
11
+ * other value is rejected. Bounties are not a transfer purpose: they are
12
+ * escrowed against an initiative with MsgFundInitiativeBounty.
13
+ */
9
14
  export var TransferPurpose;
10
15
  (function (TransferPurpose) {
11
16
  TransferPurpose[TransferPurpose["TRANSFER_PURPOSE_TIP"] = 0] = "TRANSFER_PURPOSE_TIP";
12
17
  TransferPurpose[TransferPurpose["TRANSFER_PURPOSE_GIFT"] = 1] = "TRANSFER_PURPOSE_GIFT";
13
- TransferPurpose[TransferPurpose["TRANSFER_PURPOSE_BOUNTY"] = 2] = "TRANSFER_PURPOSE_BOUNTY";
14
18
  TransferPurpose[TransferPurpose["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
15
19
  })(TransferPurpose || (TransferPurpose = {}));
16
20
  export const TransferPurposeAmino = TransferPurpose;
@@ -22,9 +26,6 @@ export function transferPurposeFromJSON(object) {
22
26
  case 1:
23
27
  case "TRANSFER_PURPOSE_GIFT":
24
28
  return TransferPurpose.TRANSFER_PURPOSE_GIFT;
25
- case 2:
26
- case "TRANSFER_PURPOSE_BOUNTY":
27
- return TransferPurpose.TRANSFER_PURPOSE_BOUNTY;
28
29
  case -1:
29
30
  case "UNRECOGNIZED":
30
31
  default:
@@ -37,8 +38,6 @@ export function transferPurposeToJSON(object) {
37
38
  return "TRANSFER_PURPOSE_TIP";
38
39
  case TransferPurpose.TRANSFER_PURPOSE_GIFT:
39
40
  return "TRANSFER_PURPOSE_GIFT";
40
- case TransferPurpose.TRANSFER_PURPOSE_BOUNTY:
41
- return "TRANSFER_PURPOSE_BOUNTY";
42
41
  case TransferPurpose.UNRECOGNIZED:
43
42
  default:
44
43
  return "UNRECOGNIZED";
@@ -508,7 +507,8 @@ export const MsgInviteMemberResponse = {
508
507
  function createBaseMsgAcceptInvitation() {
509
508
  return {
510
509
  invitee: "",
511
- invitationId: BigInt(0)
510
+ invitationId: BigInt(0),
511
+ acceptedContentLicense: ""
512
512
  };
513
513
  }
514
514
  /**
@@ -527,6 +527,9 @@ export const MsgAcceptInvitation = {
527
527
  if (message.invitationId !== BigInt(0)) {
528
528
  writer.uint32(16).uint64(message.invitationId);
529
529
  }
530
+ if (message.acceptedContentLicense !== "") {
531
+ writer.uint32(26).string(message.acceptedContentLicense);
532
+ }
530
533
  return writer;
531
534
  },
532
535
  decode(input, length) {
@@ -542,6 +545,9 @@ export const MsgAcceptInvitation = {
542
545
  case 2:
543
546
  message.invitationId = reader.uint64();
544
547
  break;
548
+ case 3:
549
+ message.acceptedContentLicense = reader.string();
550
+ break;
545
551
  default:
546
552
  reader.skipType(tag & 7);
547
553
  break;
@@ -553,6 +559,7 @@ export const MsgAcceptInvitation = {
553
559
  const message = createBaseMsgAcceptInvitation();
554
560
  message.invitee = object.invitee ?? "";
555
561
  message.invitationId = object.invitationId !== undefined && object.invitationId !== null ? BigInt(object.invitationId.toString()) : BigInt(0);
562
+ message.acceptedContentLicense = object.acceptedContentLicense ?? "";
556
563
  return message;
557
564
  },
558
565
  fromAmino(object) {
@@ -563,12 +570,16 @@ export const MsgAcceptInvitation = {
563
570
  if (object.invitation_id !== undefined && object.invitation_id !== null) {
564
571
  message.invitationId = BigInt(object.invitation_id);
565
572
  }
573
+ if (object.accepted_content_license !== undefined && object.accepted_content_license !== null) {
574
+ message.acceptedContentLicense = object.accepted_content_license;
575
+ }
566
576
  return message;
567
577
  },
568
578
  toAmino(message) {
569
579
  const obj = {};
570
580
  obj.invitee = message.invitee === "" ? undefined : message.invitee;
571
581
  obj.invitation_id = message.invitationId !== BigInt(0) ? message.invitationId?.toString() : undefined;
582
+ obj.accepted_content_license = message.acceptedContentLicense === "" ? undefined : message.acceptedContentLicense;
572
583
  return obj;
573
584
  },
574
585
  fromAminoMsg(object) {
@@ -9486,3 +9497,484 @@ export const MsgReclaimReviewBountyResponse = {
9486
9497
  };
9487
9498
  }
9488
9499
  };
9500
+ function createBaseMsgFundInitiativeBounty() {
9501
+ return {
9502
+ funder: "",
9503
+ initiativeId: BigInt(0),
9504
+ amount: ""
9505
+ };
9506
+ }
9507
+ /**
9508
+ * MsgFundInitiativeBounty escrows DREAM against an OPEN or ASSIGNED initiative,
9509
+ * paid to its assignee if it completes and refunded if it closes or is
9510
+ * rejected.
9511
+ *
9512
+ * The funder must not be affiliated with the initiative. The total bounty is
9513
+ * capped at initiative_bounty_max_budget_ratio of the budget, and each funder
9514
+ * at max_initiative_bounty_per_funder_epoch.
9515
+ * @name MsgFundInitiativeBounty
9516
+ * @package sparkdream.rep.v1
9517
+ * @see proto type: sparkdream.rep.v1.MsgFundInitiativeBounty
9518
+ */
9519
+ export const MsgFundInitiativeBounty = {
9520
+ typeUrl: "/sparkdream.rep.v1.MsgFundInitiativeBounty",
9521
+ aminoType: "sparkdream/x/rep/MsgFundInitiativeBounty",
9522
+ encode(message, writer = BinaryWriter.create()) {
9523
+ if (message.funder !== "") {
9524
+ writer.uint32(10).string(message.funder);
9525
+ }
9526
+ if (message.initiativeId !== BigInt(0)) {
9527
+ writer.uint32(16).uint64(message.initiativeId);
9528
+ }
9529
+ if (message.amount !== "") {
9530
+ writer.uint32(26).string(message.amount);
9531
+ }
9532
+ return writer;
9533
+ },
9534
+ decode(input, length) {
9535
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
9536
+ let end = length === undefined ? reader.len : reader.pos + length;
9537
+ const message = createBaseMsgFundInitiativeBounty();
9538
+ while (reader.pos < end) {
9539
+ const tag = reader.uint32();
9540
+ switch (tag >>> 3) {
9541
+ case 1:
9542
+ message.funder = reader.string();
9543
+ break;
9544
+ case 2:
9545
+ message.initiativeId = reader.uint64();
9546
+ break;
9547
+ case 3:
9548
+ message.amount = reader.string();
9549
+ break;
9550
+ default:
9551
+ reader.skipType(tag & 7);
9552
+ break;
9553
+ }
9554
+ }
9555
+ return message;
9556
+ },
9557
+ fromPartial(object) {
9558
+ const message = createBaseMsgFundInitiativeBounty();
9559
+ message.funder = object.funder ?? "";
9560
+ message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
9561
+ message.amount = object.amount ?? "";
9562
+ return message;
9563
+ },
9564
+ fromAmino(object) {
9565
+ const message = createBaseMsgFundInitiativeBounty();
9566
+ if (object.funder !== undefined && object.funder !== null) {
9567
+ message.funder = object.funder;
9568
+ }
9569
+ if (object.initiative_id !== undefined && object.initiative_id !== null) {
9570
+ message.initiativeId = BigInt(object.initiative_id);
9571
+ }
9572
+ if (object.amount !== undefined && object.amount !== null) {
9573
+ message.amount = object.amount;
9574
+ }
9575
+ return message;
9576
+ },
9577
+ toAmino(message) {
9578
+ const obj = {};
9579
+ obj.funder = message.funder === "" ? undefined : message.funder;
9580
+ obj.initiative_id = message.initiativeId !== BigInt(0) ? message.initiativeId?.toString() : undefined;
9581
+ obj.amount = message.amount === "" ? undefined : message.amount;
9582
+ return obj;
9583
+ },
9584
+ fromAminoMsg(object) {
9585
+ return MsgFundInitiativeBounty.fromAmino(object.value);
9586
+ },
9587
+ toAminoMsg(message) {
9588
+ return {
9589
+ type: "sparkdream/x/rep/MsgFundInitiativeBounty",
9590
+ value: MsgFundInitiativeBounty.toAmino(message)
9591
+ };
9592
+ },
9593
+ fromProtoMsg(message) {
9594
+ return MsgFundInitiativeBounty.decode(message.value);
9595
+ },
9596
+ toProto(message) {
9597
+ return MsgFundInitiativeBounty.encode(message).finish();
9598
+ },
9599
+ toProtoMsg(message) {
9600
+ return {
9601
+ typeUrl: "/sparkdream.rep.v1.MsgFundInitiativeBounty",
9602
+ value: MsgFundInitiativeBounty.encode(message).finish()
9603
+ };
9604
+ }
9605
+ };
9606
+ function createBaseMsgFundInitiativeBountyResponse() {
9607
+ return {
9608
+ total: ""
9609
+ };
9610
+ }
9611
+ /**
9612
+ * MsgFundInitiativeBountyResponse defines the MsgFundInitiativeBounty response.
9613
+ * @name MsgFundInitiativeBountyResponse
9614
+ * @package sparkdream.rep.v1
9615
+ * @see proto type: sparkdream.rep.v1.MsgFundInitiativeBountyResponse
9616
+ */
9617
+ export const MsgFundInitiativeBountyResponse = {
9618
+ typeUrl: "/sparkdream.rep.v1.MsgFundInitiativeBountyResponse",
9619
+ encode(message, writer = BinaryWriter.create()) {
9620
+ if (message.total !== "") {
9621
+ writer.uint32(10).string(message.total);
9622
+ }
9623
+ return writer;
9624
+ },
9625
+ decode(input, length) {
9626
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
9627
+ let end = length === undefined ? reader.len : reader.pos + length;
9628
+ const message = createBaseMsgFundInitiativeBountyResponse();
9629
+ while (reader.pos < end) {
9630
+ const tag = reader.uint32();
9631
+ switch (tag >>> 3) {
9632
+ case 1:
9633
+ message.total = reader.string();
9634
+ break;
9635
+ default:
9636
+ reader.skipType(tag & 7);
9637
+ break;
9638
+ }
9639
+ }
9640
+ return message;
9641
+ },
9642
+ fromPartial(object) {
9643
+ const message = createBaseMsgFundInitiativeBountyResponse();
9644
+ message.total = object.total ?? "";
9645
+ return message;
9646
+ },
9647
+ fromAmino(object) {
9648
+ const message = createBaseMsgFundInitiativeBountyResponse();
9649
+ if (object.total !== undefined && object.total !== null) {
9650
+ message.total = object.total;
9651
+ }
9652
+ return message;
9653
+ },
9654
+ toAmino(message) {
9655
+ const obj = {};
9656
+ obj.total = message.total === "" ? undefined : message.total;
9657
+ return obj;
9658
+ },
9659
+ fromAminoMsg(object) {
9660
+ return MsgFundInitiativeBountyResponse.fromAmino(object.value);
9661
+ },
9662
+ fromProtoMsg(message) {
9663
+ return MsgFundInitiativeBountyResponse.decode(message.value);
9664
+ },
9665
+ toProto(message) {
9666
+ return MsgFundInitiativeBountyResponse.encode(message).finish();
9667
+ },
9668
+ toProtoMsg(message) {
9669
+ return {
9670
+ typeUrl: "/sparkdream.rep.v1.MsgFundInitiativeBountyResponse",
9671
+ value: MsgFundInitiativeBountyResponse.encode(message).finish()
9672
+ };
9673
+ }
9674
+ };
9675
+ function createBaseMsgReclaimInitiativeBounty() {
9676
+ return {
9677
+ funder: "",
9678
+ initiativeId: BigInt(0)
9679
+ };
9680
+ }
9681
+ /**
9682
+ * MsgReclaimInitiativeBounty returns a funder's own matured contributions.
9683
+ *
9684
+ * Permitted only while the initiative is OPEN (unassigned) and only for
9685
+ * contributions older than initiative_bounty_reclaim_delay blocks. Once someone
9686
+ * is assigned they are working on the strength of the advertised bounty.
9687
+ * @name MsgReclaimInitiativeBounty
9688
+ * @package sparkdream.rep.v1
9689
+ * @see proto type: sparkdream.rep.v1.MsgReclaimInitiativeBounty
9690
+ */
9691
+ export const MsgReclaimInitiativeBounty = {
9692
+ typeUrl: "/sparkdream.rep.v1.MsgReclaimInitiativeBounty",
9693
+ aminoType: "sparkdream/x/rep/MsgReclaimInitiativeBounty",
9694
+ encode(message, writer = BinaryWriter.create()) {
9695
+ if (message.funder !== "") {
9696
+ writer.uint32(10).string(message.funder);
9697
+ }
9698
+ if (message.initiativeId !== BigInt(0)) {
9699
+ writer.uint32(16).uint64(message.initiativeId);
9700
+ }
9701
+ return writer;
9702
+ },
9703
+ decode(input, length) {
9704
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
9705
+ let end = length === undefined ? reader.len : reader.pos + length;
9706
+ const message = createBaseMsgReclaimInitiativeBounty();
9707
+ while (reader.pos < end) {
9708
+ const tag = reader.uint32();
9709
+ switch (tag >>> 3) {
9710
+ case 1:
9711
+ message.funder = reader.string();
9712
+ break;
9713
+ case 2:
9714
+ message.initiativeId = reader.uint64();
9715
+ break;
9716
+ default:
9717
+ reader.skipType(tag & 7);
9718
+ break;
9719
+ }
9720
+ }
9721
+ return message;
9722
+ },
9723
+ fromPartial(object) {
9724
+ const message = createBaseMsgReclaimInitiativeBounty();
9725
+ message.funder = object.funder ?? "";
9726
+ message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
9727
+ return message;
9728
+ },
9729
+ fromAmino(object) {
9730
+ const message = createBaseMsgReclaimInitiativeBounty();
9731
+ if (object.funder !== undefined && object.funder !== null) {
9732
+ message.funder = object.funder;
9733
+ }
9734
+ if (object.initiative_id !== undefined && object.initiative_id !== null) {
9735
+ message.initiativeId = BigInt(object.initiative_id);
9736
+ }
9737
+ return message;
9738
+ },
9739
+ toAmino(message) {
9740
+ const obj = {};
9741
+ obj.funder = message.funder === "" ? undefined : message.funder;
9742
+ obj.initiative_id = message.initiativeId !== BigInt(0) ? message.initiativeId?.toString() : undefined;
9743
+ return obj;
9744
+ },
9745
+ fromAminoMsg(object) {
9746
+ return MsgReclaimInitiativeBounty.fromAmino(object.value);
9747
+ },
9748
+ toAminoMsg(message) {
9749
+ return {
9750
+ type: "sparkdream/x/rep/MsgReclaimInitiativeBounty",
9751
+ value: MsgReclaimInitiativeBounty.toAmino(message)
9752
+ };
9753
+ },
9754
+ fromProtoMsg(message) {
9755
+ return MsgReclaimInitiativeBounty.decode(message.value);
9756
+ },
9757
+ toProto(message) {
9758
+ return MsgReclaimInitiativeBounty.encode(message).finish();
9759
+ },
9760
+ toProtoMsg(message) {
9761
+ return {
9762
+ typeUrl: "/sparkdream.rep.v1.MsgReclaimInitiativeBounty",
9763
+ value: MsgReclaimInitiativeBounty.encode(message).finish()
9764
+ };
9765
+ }
9766
+ };
9767
+ function createBaseMsgReclaimInitiativeBountyResponse() {
9768
+ return {
9769
+ refunded: ""
9770
+ };
9771
+ }
9772
+ /**
9773
+ * MsgReclaimInitiativeBountyResponse defines the MsgReclaimInitiativeBounty response.
9774
+ * @name MsgReclaimInitiativeBountyResponse
9775
+ * @package sparkdream.rep.v1
9776
+ * @see proto type: sparkdream.rep.v1.MsgReclaimInitiativeBountyResponse
9777
+ */
9778
+ export const MsgReclaimInitiativeBountyResponse = {
9779
+ typeUrl: "/sparkdream.rep.v1.MsgReclaimInitiativeBountyResponse",
9780
+ encode(message, writer = BinaryWriter.create()) {
9781
+ if (message.refunded !== "") {
9782
+ writer.uint32(10).string(message.refunded);
9783
+ }
9784
+ return writer;
9785
+ },
9786
+ decode(input, length) {
9787
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
9788
+ let end = length === undefined ? reader.len : reader.pos + length;
9789
+ const message = createBaseMsgReclaimInitiativeBountyResponse();
9790
+ while (reader.pos < end) {
9791
+ const tag = reader.uint32();
9792
+ switch (tag >>> 3) {
9793
+ case 1:
9794
+ message.refunded = reader.string();
9795
+ break;
9796
+ default:
9797
+ reader.skipType(tag & 7);
9798
+ break;
9799
+ }
9800
+ }
9801
+ return message;
9802
+ },
9803
+ fromPartial(object) {
9804
+ const message = createBaseMsgReclaimInitiativeBountyResponse();
9805
+ message.refunded = object.refunded ?? "";
9806
+ return message;
9807
+ },
9808
+ fromAmino(object) {
9809
+ const message = createBaseMsgReclaimInitiativeBountyResponse();
9810
+ if (object.refunded !== undefined && object.refunded !== null) {
9811
+ message.refunded = object.refunded;
9812
+ }
9813
+ return message;
9814
+ },
9815
+ toAmino(message) {
9816
+ const obj = {};
9817
+ obj.refunded = message.refunded === "" ? undefined : message.refunded;
9818
+ return obj;
9819
+ },
9820
+ fromAminoMsg(object) {
9821
+ return MsgReclaimInitiativeBountyResponse.fromAmino(object.value);
9822
+ },
9823
+ fromProtoMsg(message) {
9824
+ return MsgReclaimInitiativeBountyResponse.decode(message.value);
9825
+ },
9826
+ toProto(message) {
9827
+ return MsgReclaimInitiativeBountyResponse.encode(message).finish();
9828
+ },
9829
+ toProtoMsg(message) {
9830
+ return {
9831
+ typeUrl: "/sparkdream.rep.v1.MsgReclaimInitiativeBountyResponse",
9832
+ value: MsgReclaimInitiativeBountyResponse.encode(message).finish()
9833
+ };
9834
+ }
9835
+ };
9836
+ function createBaseMsgRevokeInvitation() {
9837
+ return {
9838
+ inviter: "",
9839
+ invitationId: BigInt(0)
9840
+ };
9841
+ }
9842
+ /**
9843
+ * MsgRevokeInvitation withdraws a PENDING invitation. Only the inviter may
9844
+ * revoke; an accepted, expired or already-revoked invitation is rejected.
9845
+ * @name MsgRevokeInvitation
9846
+ * @package sparkdream.rep.v1
9847
+ * @see proto type: sparkdream.rep.v1.MsgRevokeInvitation
9848
+ */
9849
+ export const MsgRevokeInvitation = {
9850
+ typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitation",
9851
+ aminoType: "sparkdream/x/rep/MsgRevokeInvitation",
9852
+ encode(message, writer = BinaryWriter.create()) {
9853
+ if (message.inviter !== "") {
9854
+ writer.uint32(10).string(message.inviter);
9855
+ }
9856
+ if (message.invitationId !== BigInt(0)) {
9857
+ writer.uint32(16).uint64(message.invitationId);
9858
+ }
9859
+ return writer;
9860
+ },
9861
+ decode(input, length) {
9862
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
9863
+ let end = length === undefined ? reader.len : reader.pos + length;
9864
+ const message = createBaseMsgRevokeInvitation();
9865
+ while (reader.pos < end) {
9866
+ const tag = reader.uint32();
9867
+ switch (tag >>> 3) {
9868
+ case 1:
9869
+ message.inviter = reader.string();
9870
+ break;
9871
+ case 2:
9872
+ message.invitationId = reader.uint64();
9873
+ break;
9874
+ default:
9875
+ reader.skipType(tag & 7);
9876
+ break;
9877
+ }
9878
+ }
9879
+ return message;
9880
+ },
9881
+ fromPartial(object) {
9882
+ const message = createBaseMsgRevokeInvitation();
9883
+ message.inviter = object.inviter ?? "";
9884
+ message.invitationId = object.invitationId !== undefined && object.invitationId !== null ? BigInt(object.invitationId.toString()) : BigInt(0);
9885
+ return message;
9886
+ },
9887
+ fromAmino(object) {
9888
+ const message = createBaseMsgRevokeInvitation();
9889
+ if (object.inviter !== undefined && object.inviter !== null) {
9890
+ message.inviter = object.inviter;
9891
+ }
9892
+ if (object.invitation_id !== undefined && object.invitation_id !== null) {
9893
+ message.invitationId = BigInt(object.invitation_id);
9894
+ }
9895
+ return message;
9896
+ },
9897
+ toAmino(message) {
9898
+ const obj = {};
9899
+ obj.inviter = message.inviter === "" ? undefined : message.inviter;
9900
+ obj.invitation_id = message.invitationId !== BigInt(0) ? message.invitationId?.toString() : undefined;
9901
+ return obj;
9902
+ },
9903
+ fromAminoMsg(object) {
9904
+ return MsgRevokeInvitation.fromAmino(object.value);
9905
+ },
9906
+ toAminoMsg(message) {
9907
+ return {
9908
+ type: "sparkdream/x/rep/MsgRevokeInvitation",
9909
+ value: MsgRevokeInvitation.toAmino(message)
9910
+ };
9911
+ },
9912
+ fromProtoMsg(message) {
9913
+ return MsgRevokeInvitation.decode(message.value);
9914
+ },
9915
+ toProto(message) {
9916
+ return MsgRevokeInvitation.encode(message).finish();
9917
+ },
9918
+ toProtoMsg(message) {
9919
+ return {
9920
+ typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitation",
9921
+ value: MsgRevokeInvitation.encode(message).finish()
9922
+ };
9923
+ }
9924
+ };
9925
+ function createBaseMsgRevokeInvitationResponse() {
9926
+ return {};
9927
+ }
9928
+ /**
9929
+ * MsgRevokeInvitationResponse defines the MsgRevokeInvitationResponse message.
9930
+ * @name MsgRevokeInvitationResponse
9931
+ * @package sparkdream.rep.v1
9932
+ * @see proto type: sparkdream.rep.v1.MsgRevokeInvitationResponse
9933
+ */
9934
+ export const MsgRevokeInvitationResponse = {
9935
+ typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitationResponse",
9936
+ encode(_, writer = BinaryWriter.create()) {
9937
+ return writer;
9938
+ },
9939
+ decode(input, length) {
9940
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
9941
+ let end = length === undefined ? reader.len : reader.pos + length;
9942
+ const message = createBaseMsgRevokeInvitationResponse();
9943
+ while (reader.pos < end) {
9944
+ const tag = reader.uint32();
9945
+ switch (tag >>> 3) {
9946
+ default:
9947
+ reader.skipType(tag & 7);
9948
+ break;
9949
+ }
9950
+ }
9951
+ return message;
9952
+ },
9953
+ fromPartial(_) {
9954
+ const message = createBaseMsgRevokeInvitationResponse();
9955
+ return message;
9956
+ },
9957
+ fromAmino(_) {
9958
+ const message = createBaseMsgRevokeInvitationResponse();
9959
+ return message;
9960
+ },
9961
+ toAmino(_) {
9962
+ const obj = {};
9963
+ return obj;
9964
+ },
9965
+ fromAminoMsg(object) {
9966
+ return MsgRevokeInvitationResponse.fromAmino(object.value);
9967
+ },
9968
+ fromProtoMsg(message) {
9969
+ return MsgRevokeInvitationResponse.decode(message.value);
9970
+ },
9971
+ toProto(message) {
9972
+ return MsgRevokeInvitationResponse.encode(message).finish();
9973
+ },
9974
+ toProtoMsg(message) {
9975
+ return {
9976
+ typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitationResponse",
9977
+ value: MsgRevokeInvitationResponse.encode(message).finish()
9978
+ };
9979
+ }
9980
+ };
@@ -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 } 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]];
1
+ import { MsgUpdateParams, MsgUpdateOperationalParams, MsgInviteMember, MsgAcceptInvitation, MsgTransferDream, MsgCreateInterim, MsgAssignInterim, MsgSubmitInterimWork, MsgApproveInterim, MsgAbandonInterim, MsgCompleteInterim, MsgProposeProject, MsgApproveProjectBudget, MsgCancelProject, MsgCreateInitiative, MsgAssignInitiative, MsgSubmitInitiativeWork, MsgApproveInitiative, MsgUnassignInitiative, MsgCompleteInitiative, MsgStake, MsgUnstake, MsgClaimStakingRewards, MsgCompoundStakingRewards, MsgCreateChallenge, MsgRespondToChallenge, MsgSubmitJurorVote, MsgAcceptJuryDuty, MsgSubmitInitiativeReview, MsgSetVerificationPolicy, MsgResolveReviewEscalation, MsgDeclineJuryDuty, MsgFundReviewBounty, MsgReclaimReviewBounty, MsgSubmitExpertTestimony, MsgChallengeContent, MsgRespondToContentChallenge, MsgRegisterZkPublicKey, MsgCreateTag, MsgReportTag, MsgResolveTagReport, MsgCreateTagBudget, MsgAwardFromTagBudget, MsgTopUpTagBudget, MsgToggleTagBudget, MsgWithdrawTagBudget, MsgBondRole, MsgUnbondRole, MsgCancelUnbondRole, MsgReportMember, MsgCosignMemberReport, MsgResolveMemberReport, MsgDefendMemberReport, MsgAppealGovAction, MsgResolveGovActionAppeal, MsgCloseInitiative, MsgFundInitiativeBounty, MsgReclaimInitiativeBounty, MsgRevokeInvitation } from "./tx";
2
+ export const registry = [["/sparkdream.rep.v1.MsgUpdateParams", MsgUpdateParams], ["/sparkdream.rep.v1.MsgUpdateOperationalParams", MsgUpdateOperationalParams], ["/sparkdream.rep.v1.MsgInviteMember", MsgInviteMember], ["/sparkdream.rep.v1.MsgAcceptInvitation", MsgAcceptInvitation], ["/sparkdream.rep.v1.MsgTransferDream", MsgTransferDream], ["/sparkdream.rep.v1.MsgCreateInterim", MsgCreateInterim], ["/sparkdream.rep.v1.MsgAssignInterim", MsgAssignInterim], ["/sparkdream.rep.v1.MsgSubmitInterimWork", MsgSubmitInterimWork], ["/sparkdream.rep.v1.MsgApproveInterim", MsgApproveInterim], ["/sparkdream.rep.v1.MsgAbandonInterim", MsgAbandonInterim], ["/sparkdream.rep.v1.MsgCompleteInterim", MsgCompleteInterim], ["/sparkdream.rep.v1.MsgProposeProject", MsgProposeProject], ["/sparkdream.rep.v1.MsgApproveProjectBudget", MsgApproveProjectBudget], ["/sparkdream.rep.v1.MsgCancelProject", MsgCancelProject], ["/sparkdream.rep.v1.MsgCreateInitiative", MsgCreateInitiative], ["/sparkdream.rep.v1.MsgAssignInitiative", MsgAssignInitiative], ["/sparkdream.rep.v1.MsgSubmitInitiativeWork", MsgSubmitInitiativeWork], ["/sparkdream.rep.v1.MsgApproveInitiative", MsgApproveInitiative], ["/sparkdream.rep.v1.MsgUnassignInitiative", MsgUnassignInitiative], ["/sparkdream.rep.v1.MsgCompleteInitiative", MsgCompleteInitiative], ["/sparkdream.rep.v1.MsgStake", MsgStake], ["/sparkdream.rep.v1.MsgUnstake", MsgUnstake], ["/sparkdream.rep.v1.MsgClaimStakingRewards", MsgClaimStakingRewards], ["/sparkdream.rep.v1.MsgCompoundStakingRewards", MsgCompoundStakingRewards], ["/sparkdream.rep.v1.MsgCreateChallenge", MsgCreateChallenge], ["/sparkdream.rep.v1.MsgRespondToChallenge", MsgRespondToChallenge], ["/sparkdream.rep.v1.MsgSubmitJurorVote", MsgSubmitJurorVote], ["/sparkdream.rep.v1.MsgAcceptJuryDuty", MsgAcceptJuryDuty], ["/sparkdream.rep.v1.MsgSubmitInitiativeReview", MsgSubmitInitiativeReview], ["/sparkdream.rep.v1.MsgSetVerificationPolicy", MsgSetVerificationPolicy], ["/sparkdream.rep.v1.MsgResolveReviewEscalation", MsgResolveReviewEscalation], ["/sparkdream.rep.v1.MsgDeclineJuryDuty", MsgDeclineJuryDuty], ["/sparkdream.rep.v1.MsgFundReviewBounty", MsgFundReviewBounty], ["/sparkdream.rep.v1.MsgReclaimReviewBounty", MsgReclaimReviewBounty], ["/sparkdream.rep.v1.MsgSubmitExpertTestimony", MsgSubmitExpertTestimony], ["/sparkdream.rep.v1.MsgChallengeContent", MsgChallengeContent], ["/sparkdream.rep.v1.MsgRespondToContentChallenge", MsgRespondToContentChallenge], ["/sparkdream.rep.v1.MsgRegisterZkPublicKey", MsgRegisterZkPublicKey], ["/sparkdream.rep.v1.MsgCreateTag", MsgCreateTag], ["/sparkdream.rep.v1.MsgReportTag", MsgReportTag], ["/sparkdream.rep.v1.MsgResolveTagReport", MsgResolveTagReport], ["/sparkdream.rep.v1.MsgCreateTagBudget", MsgCreateTagBudget], ["/sparkdream.rep.v1.MsgAwardFromTagBudget", MsgAwardFromTagBudget], ["/sparkdream.rep.v1.MsgTopUpTagBudget", MsgTopUpTagBudget], ["/sparkdream.rep.v1.MsgToggleTagBudget", MsgToggleTagBudget], ["/sparkdream.rep.v1.MsgWithdrawTagBudget", MsgWithdrawTagBudget], ["/sparkdream.rep.v1.MsgBondRole", MsgBondRole], ["/sparkdream.rep.v1.MsgUnbondRole", MsgUnbondRole], ["/sparkdream.rep.v1.MsgCancelUnbondRole", MsgCancelUnbondRole], ["/sparkdream.rep.v1.MsgReportMember", MsgReportMember], ["/sparkdream.rep.v1.MsgCosignMemberReport", MsgCosignMemberReport], ["/sparkdream.rep.v1.MsgResolveMemberReport", MsgResolveMemberReport], ["/sparkdream.rep.v1.MsgDefendMemberReport", MsgDefendMemberReport], ["/sparkdream.rep.v1.MsgAppealGovAction", MsgAppealGovAction], ["/sparkdream.rep.v1.MsgResolveGovActionAppeal", MsgResolveGovActionAppeal], ["/sparkdream.rep.v1.MsgCloseInitiative", MsgCloseInitiative], ["/sparkdream.rep.v1.MsgFundInitiativeBounty", MsgFundInitiativeBounty], ["/sparkdream.rep.v1.MsgReclaimInitiativeBounty", MsgReclaimInitiativeBounty], ["/sparkdream.rep.v1.MsgRevokeInvitation", MsgRevokeInvitation]];
3
3
  export const load = (protoRegistry) => {
4
4
  registry.forEach(([typeUrl, mod]) => {
5
5
  protoRegistry.register(typeUrl, mod);
@@ -342,6 +342,24 @@ export const MessageComposer = {
342
342
  typeUrl: "/sparkdream.rep.v1.MsgCloseInitiative",
343
343
  value: MsgCloseInitiative.encode(value).finish()
344
344
  };
345
+ },
346
+ fundInitiativeBounty(value) {
347
+ return {
348
+ typeUrl: "/sparkdream.rep.v1.MsgFundInitiativeBounty",
349
+ value: MsgFundInitiativeBounty.encode(value).finish()
350
+ };
351
+ },
352
+ reclaimInitiativeBounty(value) {
353
+ return {
354
+ typeUrl: "/sparkdream.rep.v1.MsgReclaimInitiativeBounty",
355
+ value: MsgReclaimInitiativeBounty.encode(value).finish()
356
+ };
357
+ },
358
+ revokeInvitation(value) {
359
+ return {
360
+ typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitation",
361
+ value: MsgRevokeInvitation.encode(value).finish()
362
+ };
345
363
  }
346
364
  },
347
365
  withTypeUrl: {
@@ -680,6 +698,24 @@ export const MessageComposer = {
680
698
  typeUrl: "/sparkdream.rep.v1.MsgCloseInitiative",
681
699
  value
682
700
  };
701
+ },
702
+ fundInitiativeBounty(value) {
703
+ return {
704
+ typeUrl: "/sparkdream.rep.v1.MsgFundInitiativeBounty",
705
+ value
706
+ };
707
+ },
708
+ reclaimInitiativeBounty(value) {
709
+ return {
710
+ typeUrl: "/sparkdream.rep.v1.MsgReclaimInitiativeBounty",
711
+ value
712
+ };
713
+ },
714
+ revokeInvitation(value) {
715
+ return {
716
+ typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitation",
717
+ value
718
+ };
683
719
  }
684
720
  },
685
721
  fromPartial: {
@@ -1018,6 +1054,24 @@ export const MessageComposer = {
1018
1054
  typeUrl: "/sparkdream.rep.v1.MsgCloseInitiative",
1019
1055
  value: MsgCloseInitiative.fromPartial(value)
1020
1056
  };
1057
+ },
1058
+ fundInitiativeBounty(value) {
1059
+ return {
1060
+ typeUrl: "/sparkdream.rep.v1.MsgFundInitiativeBounty",
1061
+ value: MsgFundInitiativeBounty.fromPartial(value)
1062
+ };
1063
+ },
1064
+ reclaimInitiativeBounty(value) {
1065
+ return {
1066
+ typeUrl: "/sparkdream.rep.v1.MsgReclaimInitiativeBounty",
1067
+ value: MsgReclaimInitiativeBounty.fromPartial(value)
1068
+ };
1069
+ },
1070
+ revokeInvitation(value) {
1071
+ return {
1072
+ typeUrl: "/sparkdream.rep.v1.MsgRevokeInvitation",
1073
+ value: MsgRevokeInvitation.fromPartial(value)
1074
+ };
1021
1075
  }
1022
1076
  }
1023
1077
  };