@sparkdreamnft/sparkdreamjs 0.0.43 → 0.0.44

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 (206) 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/rep/v1/accountability.js +22 -0
  45. package/esm/sparkdream/rep/v1/genesis.js +18 -2
  46. package/esm/sparkdream/rep/v1/initiative_bounty.js +200 -0
  47. package/esm/sparkdream/rep/v1/member.js +97 -35
  48. package/esm/sparkdream/rep/v1/params.js +186 -66
  49. package/esm/sparkdream/rep/v1/query.js +530 -0
  50. package/esm/sparkdream/rep/v1/query.lcd.js +23 -0
  51. package/esm/sparkdream/rep/v1/query.rpc.Query.js +26 -1
  52. package/esm/sparkdream/rep/v1/tx.js +354 -7
  53. package/esm/sparkdream/rep/v1/tx.registry.js +38 -2
  54. package/esm/sparkdream/rep/v1/tx.rpc.msg.js +13 -1
  55. package/esm/sparkdream/rpc.query.js +3 -0
  56. package/esm/sparkdream/rpc.tx.js +3 -0
  57. package/esm/sparkdream/service/v1/checkpoint.js +125 -0
  58. package/esm/sparkdream/service/v1/genesis.js +17 -1
  59. package/esm/sparkdream/service/v1/query.js +317 -0
  60. package/esm/sparkdream/service/v1/query.lcd.js +18 -0
  61. package/esm/sparkdream/service/v1/query.rpc.Query.js +21 -1
  62. package/esm/sparkdream/service/v1/service_type_config.js +37 -1
  63. package/esm/sparkdream/service/v1/tx.amino.js +6 -1
  64. package/esm/sparkdream/service/v1/tx.js +169 -0
  65. package/esm/sparkdream/service/v1/tx.registry.js +20 -2
  66. package/esm/sparkdream/service/v1/tx.rpc.msg.js +10 -1
  67. package/esm/sparkdream/shield/v1/params.js +13 -1
  68. package/esm/sparkdream/shield/v1/types.js +66 -1
  69. package/esm/sparkdream/sparkdream/v1/query.js +176 -0
  70. package/esm/sparkdream/sparkdream/v1/query.lcd.js +9 -0
  71. package/esm/sparkdream/sparkdream/v1/query.rpc.Query.js +14 -1
  72. package/esm/tendermint/bundle.js +20 -20
  73. package/ibc/bundle.d.ts +99 -99
  74. package/ibc/bundle.js +116 -116
  75. package/package.json +1 -1
  76. package/sparkdream/artifact/module/v1/module.d.ts +54 -0
  77. package/sparkdream/artifact/module/v1/module.js +74 -0
  78. package/sparkdream/artifact/v1/genesis.d.ts +88 -0
  79. package/sparkdream/artifact/v1/genesis.js +282 -0
  80. package/sparkdream/artifact/v1/params.d.ts +251 -0
  81. package/sparkdream/artifact/v1/params.js +648 -0
  82. package/sparkdream/artifact/v1/query.d.ts +1986 -0
  83. package/sparkdream/artifact/v1/query.js +3418 -0
  84. package/sparkdream/artifact/v1/query.lcd.d.ts +27 -0
  85. package/sparkdream/artifact/v1/query.lcd.js +163 -0
  86. package/sparkdream/artifact/v1/query.rpc.Query.d.ts +88 -0
  87. package/sparkdream/artifact/v1/query.rpc.Query.js +193 -0
  88. package/sparkdream/artifact/v1/tx.amino.d.ts +158 -0
  89. package/sparkdream/artifact/v1/tx.amino.js +162 -0
  90. package/sparkdream/artifact/v1/tx.d.ts +3268 -0
  91. package/sparkdream/artifact/v1/tx.js +5755 -0
  92. package/sparkdream/artifact/v1/tx.registry.d.ts +385 -0
  93. package/sparkdream/artifact/v1/tx.registry.js +577 -0
  94. package/sparkdream/artifact/v1/tx.rpc.msg.d.ts +109 -0
  95. package/sparkdream/artifact/v1/tx.rpc.msg.js +204 -0
  96. package/sparkdream/artifact/v1/types.d.ts +1157 -0
  97. package/sparkdream/artifact/v1/types.js +2620 -0
  98. package/sparkdream/blog/v1/params.d.ts +46 -0
  99. package/sparkdream/blog/v1/params.js +37 -1
  100. package/sparkdream/blog/v1/post.d.ts +24 -0
  101. package/sparkdream/blog/v1/post.js +38 -1
  102. package/sparkdream/blog/v1/query.d.ts +195 -0
  103. package/sparkdream/blog/v1/query.js +352 -1
  104. package/sparkdream/blog/v1/query.lcd.d.ts +3 -1
  105. package/sparkdream/blog/v1/query.lcd.js +12 -0
  106. package/sparkdream/blog/v1/query.rpc.Query.d.ts +13 -1
  107. package/sparkdream/blog/v1/query.rpc.Query.js +20 -0
  108. package/sparkdream/blog/v1/types.d.ts +24 -0
  109. package/sparkdream/blog/v1/types.js +38 -1
  110. package/sparkdream/bundle.d.ts +20537 -17863
  111. package/sparkdream/bundle.js +521 -483
  112. package/sparkdream/client.d.ts +160 -0
  113. package/sparkdream/client.js +4 -1
  114. package/sparkdream/collect/v1/params.d.ts +0 -4
  115. package/sparkdream/collect/v1/params.js +102 -126
  116. package/sparkdream/collect/v1/types.d.ts +80 -4
  117. package/sparkdream/collect/v1/types.js +207 -123
  118. package/sparkdream/common/v1/media_flag.d.ts +23 -0
  119. package/sparkdream/common/v1/media_flag.js +68 -0
  120. package/sparkdream/common/v1/moderation_reason.d.ts +1 -1
  121. package/sparkdream/common/v1/moderation_reason.js +1 -1
  122. package/sparkdream/commons/v1/query.d.ts +19 -1
  123. package/sparkdream/commons/v1/query.js +26 -2
  124. package/sparkdream/federation/v1/packet.d.ts +14 -0
  125. package/sparkdream/federation/v1/packet.js +13 -1
  126. package/sparkdream/federation/v1/query.d.ts +92 -0
  127. package/sparkdream/federation/v1/query.js +164 -1
  128. package/sparkdream/federation/v1/query.lcd.d.ts +2 -1
  129. package/sparkdream/federation/v1/query.lcd.js +7 -0
  130. package/sparkdream/federation/v1/query.rpc.Query.d.ts +9 -1
  131. package/sparkdream/federation/v1/query.rpc.Query.js +11 -0
  132. package/sparkdream/federation/v1/tx.d.ts +18 -0
  133. package/sparkdream/federation/v1/tx.js +13 -1
  134. package/sparkdream/federation/v1/types.d.ts +34 -0
  135. package/sparkdream/federation/v1/types.js +37 -1
  136. package/sparkdream/forum/v1/params.d.ts +46 -0
  137. package/sparkdream/forum/v1/params.js +37 -1
  138. package/sparkdream/forum/v1/post.d.ts +30 -0
  139. package/sparkdream/forum/v1/post.js +38 -1
  140. package/sparkdream/forum/v1/query.d.ts +98 -0
  141. package/sparkdream/forum/v1/query.js +177 -1
  142. package/sparkdream/forum/v1/query.lcd.d.ts +2 -1
  143. package/sparkdream/forum/v1/query.lcd.js +7 -0
  144. package/sparkdream/forum/v1/query.rpc.Query.d.ts +9 -1
  145. package/sparkdream/forum/v1/query.rpc.Query.js +11 -0
  146. package/sparkdream/lcd.d.ts +3 -0
  147. package/sparkdream/lcd.js +5 -0
  148. package/sparkdream/rep/v1/accountability.d.ts +12 -0
  149. package/sparkdream/rep/v1/accountability.js +22 -0
  150. package/sparkdream/rep/v1/genesis.d.ts +18 -7
  151. package/sparkdream/rep/v1/genesis.js +18 -2
  152. package/sparkdream/rep/v1/initiative_bounty.d.ts +143 -0
  153. package/sparkdream/rep/v1/initiative_bounty.js +203 -0
  154. package/sparkdream/rep/v1/member.d.ts +82 -28
  155. package/sparkdream/rep/v1/member.js +97 -35
  156. package/sparkdream/rep/v1/params.d.ts +128 -28
  157. package/sparkdream/rep/v1/params.js +186 -66
  158. package/sparkdream/rep/v1/query.d.ts +315 -10
  159. package/sparkdream/rep/v1/query.js +531 -1
  160. package/sparkdream/rep/v1/query.lcd.d.ts +3 -1
  161. package/sparkdream/rep/v1/query.lcd.js +23 -0
  162. package/sparkdream/rep/v1/query.rpc.Query.d.ts +18 -1
  163. package/sparkdream/rep/v1/query.rpc.Query.js +25 -0
  164. package/sparkdream/rep/v1/tx.d.ts +245 -1
  165. package/sparkdream/rep/v1/tx.js +355 -8
  166. package/sparkdream/rep/v1/tx.registry.d.ts +25 -1
  167. package/sparkdream/rep/v1/tx.registry.js +37 -1
  168. package/sparkdream/rep/v1/tx.rpc.msg.d.ts +7 -1
  169. package/sparkdream/rep/v1/tx.rpc.msg.js +12 -0
  170. package/sparkdream/rpc.query.d.ts +32 -0
  171. package/sparkdream/rpc.query.js +3 -0
  172. package/sparkdream/rpc.tx.d.ts +3 -0
  173. package/sparkdream/rpc.tx.js +3 -0
  174. package/sparkdream/service/v1/checkpoint.d.ts +93 -0
  175. package/sparkdream/service/v1/checkpoint.js +128 -0
  176. package/sparkdream/service/v1/genesis.d.ts +15 -0
  177. package/sparkdream/service/v1/genesis.js +17 -1
  178. package/sparkdream/service/v1/query.d.ts +186 -0
  179. package/sparkdream/service/v1/query.js +318 -1
  180. package/sparkdream/service/v1/query.lcd.d.ts +3 -1
  181. package/sparkdream/service/v1/query.lcd.js +18 -0
  182. package/sparkdream/service/v1/query.rpc.Query.d.ts +13 -1
  183. package/sparkdream/service/v1/query.rpc.Query.js +20 -0
  184. package/sparkdream/service/v1/service_type_config.d.ts +48 -0
  185. package/sparkdream/service/v1/service_type_config.js +37 -1
  186. package/sparkdream/service/v1/tx.amino.d.ts +6 -1
  187. package/sparkdream/service/v1/tx.amino.js +5 -0
  188. package/sparkdream/service/v1/tx.d.ts +97 -0
  189. package/sparkdream/service/v1/tx.js +170 -1
  190. package/sparkdream/service/v1/tx.registry.d.ts +13 -1
  191. package/sparkdream/service/v1/tx.registry.js +19 -1
  192. package/sparkdream/service/v1/tx.rpc.msg.d.ts +9 -1
  193. package/sparkdream/service/v1/tx.rpc.msg.js +9 -0
  194. package/sparkdream/shield/v1/params.d.ts +16 -0
  195. package/sparkdream/shield/v1/params.js +13 -1
  196. package/sparkdream/shield/v1/tx.d.ts +2 -2
  197. package/sparkdream/shield/v1/types.d.ts +45 -2
  198. package/sparkdream/shield/v1/types.js +69 -2
  199. package/sparkdream/sparkdream/v1/query.d.ts +132 -0
  200. package/sparkdream/sparkdream/v1/query.js +177 -1
  201. package/sparkdream/sparkdream/v1/query.lcd.d.ts +2 -1
  202. package/sparkdream/sparkdream/v1/query.lcd.js +9 -0
  203. package/sparkdream/sparkdream/v1/query.rpc.Query.d.ts +11 -1
  204. package/sparkdream/sparkdream/v1/query.rpc.Query.js +13 -0
  205. package/tendermint/bundle.d.ts +844 -844
  206. package/tendermint/bundle.js +20 -20
@@ -481,12 +481,12 @@ function createBaseMember() {
481
481
  zeroedAt: BigInt(0),
482
482
  zeroedCount: 0,
483
483
  lastDecayEpoch: BigInt(0),
484
- tipsGivenThisEpoch: 0,
484
+ tipsSentThisEpoch: "",
485
485
  lastTipEpoch: BigInt(0),
486
486
  completedInterimsCount: 0,
487
487
  completedInitiativesCount: 0,
488
- giftsSentThisEpoch: "",
489
- lastGiftEpoch: BigInt(0),
488
+ transferReceivedThisEpoch: "",
489
+ lastTransferReceivedEpoch: BigInt(0),
490
490
  lastCreditResetSeason: BigInt(0),
491
491
  reputationGainedThisEpoch: {},
492
492
  lastRepGainEpoch: BigInt(0),
@@ -496,7 +496,12 @@ function createBaseMember() {
496
496
  forumRepPerTag: {},
497
497
  lifetimeForumRepPerTag: {},
498
498
  joinedAtHeight: BigInt(0),
499
- contentStakedDream: ""
499
+ contentStakedDream: "",
500
+ transferReceivedThisSeason: "",
501
+ lastTransferReceivedSeason: BigInt(0),
502
+ initiativeBountyFundedThisEpoch: "",
503
+ lastInitiativeBountyEpoch: BigInt(0),
504
+ contentLicense: ""
500
505
  };
501
506
  }
502
507
  /**
@@ -568,8 +573,8 @@ exports.Member = {
568
573
  if (message.lastDecayEpoch !== BigInt(0)) {
569
574
  writer.uint32(144).int64(message.lastDecayEpoch);
570
575
  }
571
- if (message.tipsGivenThisEpoch !== 0) {
572
- writer.uint32(152).uint32(message.tipsGivenThisEpoch);
576
+ if (message.tipsSentThisEpoch !== "") {
577
+ writer.uint32(154).string(message.tipsSentThisEpoch);
573
578
  }
574
579
  if (message.lastTipEpoch !== BigInt(0)) {
575
580
  writer.uint32(160).int64(message.lastTipEpoch);
@@ -580,11 +585,11 @@ exports.Member = {
580
585
  if (message.completedInitiativesCount !== 0) {
581
586
  writer.uint32(176).uint32(message.completedInitiativesCount);
582
587
  }
583
- if (message.giftsSentThisEpoch !== "") {
584
- writer.uint32(186).string(message.giftsSentThisEpoch);
588
+ if (message.transferReceivedThisEpoch !== "") {
589
+ writer.uint32(186).string(message.transferReceivedThisEpoch);
585
590
  }
586
- if (message.lastGiftEpoch !== BigInt(0)) {
587
- writer.uint32(192).int64(message.lastGiftEpoch);
591
+ if (message.lastTransferReceivedEpoch !== BigInt(0)) {
592
+ writer.uint32(192).int64(message.lastTransferReceivedEpoch);
588
593
  }
589
594
  if (message.lastCreditResetSeason !== BigInt(0)) {
590
595
  writer.uint32(200).int64(message.lastCreditResetSeason);
@@ -625,6 +630,21 @@ exports.Member = {
625
630
  if (message.contentStakedDream !== "") {
626
631
  writer.uint32(274).string(message.contentStakedDream);
627
632
  }
633
+ if (message.transferReceivedThisSeason !== "") {
634
+ writer.uint32(282).string(message.transferReceivedThisSeason);
635
+ }
636
+ if (message.lastTransferReceivedSeason !== BigInt(0)) {
637
+ writer.uint32(288).int64(message.lastTransferReceivedSeason);
638
+ }
639
+ if (message.initiativeBountyFundedThisEpoch !== "") {
640
+ writer.uint32(298).string(message.initiativeBountyFundedThisEpoch);
641
+ }
642
+ if (message.lastInitiativeBountyEpoch !== BigInt(0)) {
643
+ writer.uint32(304).int64(message.lastInitiativeBountyEpoch);
644
+ }
645
+ if (message.contentLicense !== "") {
646
+ writer.uint32(314).string(message.contentLicense);
647
+ }
628
648
  return writer;
629
649
  },
630
650
  decode(input, length) {
@@ -695,7 +715,7 @@ exports.Member = {
695
715
  message.lastDecayEpoch = reader.int64();
696
716
  break;
697
717
  case 19:
698
- message.tipsGivenThisEpoch = reader.uint32();
718
+ message.tipsSentThisEpoch = reader.string();
699
719
  break;
700
720
  case 20:
701
721
  message.lastTipEpoch = reader.int64();
@@ -707,10 +727,10 @@ exports.Member = {
707
727
  message.completedInitiativesCount = reader.uint32();
708
728
  break;
709
729
  case 23:
710
- message.giftsSentThisEpoch = reader.string();
730
+ message.transferReceivedThisEpoch = reader.string();
711
731
  break;
712
732
  case 24:
713
- message.lastGiftEpoch = reader.int64();
733
+ message.lastTransferReceivedEpoch = reader.int64();
714
734
  break;
715
735
  case 25:
716
736
  message.lastCreditResetSeason = reader.int64();
@@ -751,6 +771,21 @@ exports.Member = {
751
771
  case 34:
752
772
  message.contentStakedDream = reader.string();
753
773
  break;
774
+ case 35:
775
+ message.transferReceivedThisSeason = reader.string();
776
+ break;
777
+ case 36:
778
+ message.lastTransferReceivedSeason = reader.int64();
779
+ break;
780
+ case 37:
781
+ message.initiativeBountyFundedThisEpoch = reader.string();
782
+ break;
783
+ case 38:
784
+ message.lastInitiativeBountyEpoch = reader.int64();
785
+ break;
786
+ case 39:
787
+ message.contentLicense = reader.string();
788
+ break;
754
789
  default:
755
790
  reader.skipType(tag & 7);
756
791
  break;
@@ -788,12 +823,12 @@ exports.Member = {
788
823
  message.zeroedAt = object.zeroedAt !== undefined && object.zeroedAt !== null ? BigInt(object.zeroedAt.toString()) : BigInt(0);
789
824
  message.zeroedCount = object.zeroedCount ?? 0;
790
825
  message.lastDecayEpoch = object.lastDecayEpoch !== undefined && object.lastDecayEpoch !== null ? BigInt(object.lastDecayEpoch.toString()) : BigInt(0);
791
- message.tipsGivenThisEpoch = object.tipsGivenThisEpoch ?? 0;
826
+ message.tipsSentThisEpoch = object.tipsSentThisEpoch ?? "";
792
827
  message.lastTipEpoch = object.lastTipEpoch !== undefined && object.lastTipEpoch !== null ? BigInt(object.lastTipEpoch.toString()) : BigInt(0);
793
828
  message.completedInterimsCount = object.completedInterimsCount ?? 0;
794
829
  message.completedInitiativesCount = object.completedInitiativesCount ?? 0;
795
- message.giftsSentThisEpoch = object.giftsSentThisEpoch ?? "";
796
- message.lastGiftEpoch = object.lastGiftEpoch !== undefined && object.lastGiftEpoch !== null ? BigInt(object.lastGiftEpoch.toString()) : BigInt(0);
830
+ message.transferReceivedThisEpoch = object.transferReceivedThisEpoch ?? "";
831
+ message.lastTransferReceivedEpoch = object.lastTransferReceivedEpoch !== undefined && object.lastTransferReceivedEpoch !== null ? BigInt(object.lastTransferReceivedEpoch.toString()) : BigInt(0);
797
832
  message.lastCreditResetSeason = object.lastCreditResetSeason !== undefined && object.lastCreditResetSeason !== null ? BigInt(object.lastCreditResetSeason.toString()) : BigInt(0);
798
833
  message.reputationGainedThisEpoch = Object.entries(object.reputationGainedThisEpoch ?? {}).reduce((acc, [key, value]) => {
799
834
  if (value !== undefined) {
@@ -819,6 +854,11 @@ exports.Member = {
819
854
  }, {});
820
855
  message.joinedAtHeight = object.joinedAtHeight !== undefined && object.joinedAtHeight !== null ? BigInt(object.joinedAtHeight.toString()) : BigInt(0);
821
856
  message.contentStakedDream = object.contentStakedDream ?? "";
857
+ message.transferReceivedThisSeason = object.transferReceivedThisSeason ?? "";
858
+ message.lastTransferReceivedSeason = object.lastTransferReceivedSeason !== undefined && object.lastTransferReceivedSeason !== null ? BigInt(object.lastTransferReceivedSeason.toString()) : BigInt(0);
859
+ message.initiativeBountyFundedThisEpoch = object.initiativeBountyFundedThisEpoch ?? "";
860
+ message.lastInitiativeBountyEpoch = object.lastInitiativeBountyEpoch !== undefined && object.lastInitiativeBountyEpoch !== null ? BigInt(object.lastInitiativeBountyEpoch.toString()) : BigInt(0);
861
+ message.contentLicense = object.contentLicense ?? "";
822
862
  return message;
823
863
  },
824
864
  fromAmino(object) {
@@ -881,8 +921,8 @@ exports.Member = {
881
921
  if (object.last_decay_epoch !== undefined && object.last_decay_epoch !== null) {
882
922
  message.lastDecayEpoch = BigInt(object.last_decay_epoch);
883
923
  }
884
- if (object.tips_given_this_epoch !== undefined && object.tips_given_this_epoch !== null) {
885
- message.tipsGivenThisEpoch = object.tips_given_this_epoch;
924
+ if (object.tips_sent_this_epoch !== undefined && object.tips_sent_this_epoch !== null) {
925
+ message.tipsSentThisEpoch = object.tips_sent_this_epoch;
886
926
  }
887
927
  if (object.last_tip_epoch !== undefined && object.last_tip_epoch !== null) {
888
928
  message.lastTipEpoch = BigInt(object.last_tip_epoch);
@@ -893,11 +933,11 @@ exports.Member = {
893
933
  if (object.completed_initiatives_count !== undefined && object.completed_initiatives_count !== null) {
894
934
  message.completedInitiativesCount = object.completed_initiatives_count;
895
935
  }
896
- if (object.gifts_sent_this_epoch !== undefined && object.gifts_sent_this_epoch !== null) {
897
- message.giftsSentThisEpoch = object.gifts_sent_this_epoch;
936
+ if (object.transfer_received_this_epoch !== undefined && object.transfer_received_this_epoch !== null) {
937
+ message.transferReceivedThisEpoch = object.transfer_received_this_epoch;
898
938
  }
899
- if (object.last_gift_epoch !== undefined && object.last_gift_epoch !== null) {
900
- message.lastGiftEpoch = BigInt(object.last_gift_epoch);
939
+ if (object.last_transfer_received_epoch !== undefined && object.last_transfer_received_epoch !== null) {
940
+ message.lastTransferReceivedEpoch = BigInt(object.last_transfer_received_epoch);
901
941
  }
902
942
  if (object.last_credit_reset_season !== undefined && object.last_credit_reset_season !== null) {
903
943
  message.lastCreditResetSeason = BigInt(object.last_credit_reset_season);
@@ -938,6 +978,21 @@ exports.Member = {
938
978
  if (object.content_staked_dream !== undefined && object.content_staked_dream !== null) {
939
979
  message.contentStakedDream = object.content_staked_dream;
940
980
  }
981
+ if (object.transfer_received_this_season !== undefined && object.transfer_received_this_season !== null) {
982
+ message.transferReceivedThisSeason = object.transfer_received_this_season;
983
+ }
984
+ if (object.last_transfer_received_season !== undefined && object.last_transfer_received_season !== null) {
985
+ message.lastTransferReceivedSeason = BigInt(object.last_transfer_received_season);
986
+ }
987
+ if (object.initiative_bounty_funded_this_epoch !== undefined && object.initiative_bounty_funded_this_epoch !== null) {
988
+ message.initiativeBountyFundedThisEpoch = object.initiative_bounty_funded_this_epoch;
989
+ }
990
+ if (object.last_initiative_bounty_epoch !== undefined && object.last_initiative_bounty_epoch !== null) {
991
+ message.lastInitiativeBountyEpoch = BigInt(object.last_initiative_bounty_epoch);
992
+ }
993
+ if (object.content_license !== undefined && object.content_license !== null) {
994
+ message.contentLicense = object.content_license;
995
+ }
941
996
  return message;
942
997
  },
943
998
  toAmino(message) {
@@ -975,12 +1030,12 @@ exports.Member = {
975
1030
  obj.zeroed_at = message.zeroedAt !== BigInt(0) ? message.zeroedAt?.toString() : undefined;
976
1031
  obj.zeroed_count = message.zeroedCount === 0 ? undefined : message.zeroedCount;
977
1032
  obj.last_decay_epoch = message.lastDecayEpoch !== BigInt(0) ? message.lastDecayEpoch?.toString() : undefined;
978
- obj.tips_given_this_epoch = message.tipsGivenThisEpoch === 0 ? undefined : message.tipsGivenThisEpoch;
1033
+ obj.tips_sent_this_epoch = message.tipsSentThisEpoch === "" ? undefined : message.tipsSentThisEpoch;
979
1034
  obj.last_tip_epoch = message.lastTipEpoch !== BigInt(0) ? message.lastTipEpoch?.toString() : undefined;
980
1035
  obj.completed_interims_count = message.completedInterimsCount === 0 ? undefined : message.completedInterimsCount;
981
1036
  obj.completed_initiatives_count = message.completedInitiativesCount === 0 ? undefined : message.completedInitiativesCount;
982
- obj.gifts_sent_this_epoch = message.giftsSentThisEpoch === "" ? undefined : message.giftsSentThisEpoch;
983
- obj.last_gift_epoch = message.lastGiftEpoch !== BigInt(0) ? message.lastGiftEpoch?.toString() : undefined;
1037
+ obj.transfer_received_this_epoch = message.transferReceivedThisEpoch === "" ? undefined : message.transferReceivedThisEpoch;
1038
+ obj.last_transfer_received_epoch = message.lastTransferReceivedEpoch !== BigInt(0) ? message.lastTransferReceivedEpoch?.toString() : undefined;
984
1039
  obj.last_credit_reset_season = message.lastCreditResetSeason !== BigInt(0) ? message.lastCreditResetSeason?.toString() : undefined;
985
1040
  obj.reputation_gained_this_epoch = {};
986
1041
  if (message.reputationGainedThisEpoch) {
@@ -1006,6 +1061,11 @@ exports.Member = {
1006
1061
  }
1007
1062
  obj.joined_at_height = message.joinedAtHeight !== BigInt(0) ? message.joinedAtHeight?.toString() : undefined;
1008
1063
  obj.content_staked_dream = message.contentStakedDream === "" ? undefined : message.contentStakedDream;
1064
+ obj.transfer_received_this_season = message.transferReceivedThisSeason === "" ? undefined : message.transferReceivedThisSeason;
1065
+ obj.last_transfer_received_season = message.lastTransferReceivedSeason !== BigInt(0) ? message.lastTransferReceivedSeason?.toString() : undefined;
1066
+ obj.initiative_bounty_funded_this_epoch = message.initiativeBountyFundedThisEpoch === "" ? undefined : message.initiativeBountyFundedThisEpoch;
1067
+ obj.last_initiative_bounty_epoch = message.lastInitiativeBountyEpoch !== BigInt(0) ? message.lastInitiativeBountyEpoch?.toString() : undefined;
1068
+ obj.content_license = message.contentLicense === "" ? undefined : message.contentLicense;
1009
1069
  return obj;
1010
1070
  },
1011
1071
  fromAminoMsg(object) {
@@ -1028,12 +1088,14 @@ function createBaseGiftRecord() {
1028
1088
  return {
1029
1089
  sender: "",
1030
1090
  recipient: "",
1031
- lastGiftBlock: BigInt(0)
1091
+ totalGifted: ""
1032
1092
  };
1033
1093
  }
1034
1094
  /**
1035
- * GiftRecord tracks the last time a sender gifted a specific recipient
1036
- * Used to enforce per-recipient cooldown periods
1095
+ * GiftRecord is the lifetime ledger of what a sender has gifted one of their
1096
+ * invitees, bounded by max_gift_per_invitee. A gift is a one-time seed to help
1097
+ * an invitee get started, so the cap is per invitee for life rather than per
1098
+ * epoch.
1037
1099
  * @name GiftRecord
1038
1100
  * @package sparkdream.rep.v1
1039
1101
  * @see proto type: sparkdream.rep.v1.GiftRecord
@@ -1047,8 +1109,8 @@ exports.GiftRecord = {
1047
1109
  if (message.recipient !== "") {
1048
1110
  writer.uint32(18).string(message.recipient);
1049
1111
  }
1050
- if (message.lastGiftBlock !== BigInt(0)) {
1051
- writer.uint32(24).int64(message.lastGiftBlock);
1112
+ if (message.totalGifted !== "") {
1113
+ writer.uint32(26).string(message.totalGifted);
1052
1114
  }
1053
1115
  return writer;
1054
1116
  },
@@ -1066,7 +1128,7 @@ exports.GiftRecord = {
1066
1128
  message.recipient = reader.string();
1067
1129
  break;
1068
1130
  case 3:
1069
- message.lastGiftBlock = reader.int64();
1131
+ message.totalGifted = reader.string();
1070
1132
  break;
1071
1133
  default:
1072
1134
  reader.skipType(tag & 7);
@@ -1079,7 +1141,7 @@ exports.GiftRecord = {
1079
1141
  const message = createBaseGiftRecord();
1080
1142
  message.sender = object.sender ?? "";
1081
1143
  message.recipient = object.recipient ?? "";
1082
- message.lastGiftBlock = object.lastGiftBlock !== undefined && object.lastGiftBlock !== null ? BigInt(object.lastGiftBlock.toString()) : BigInt(0);
1144
+ message.totalGifted = object.totalGifted ?? "";
1083
1145
  return message;
1084
1146
  },
1085
1147
  fromAmino(object) {
@@ -1090,8 +1152,8 @@ exports.GiftRecord = {
1090
1152
  if (object.recipient !== undefined && object.recipient !== null) {
1091
1153
  message.recipient = object.recipient;
1092
1154
  }
1093
- if (object.last_gift_block !== undefined && object.last_gift_block !== null) {
1094
- message.lastGiftBlock = BigInt(object.last_gift_block);
1155
+ if (object.total_gifted !== undefined && object.total_gifted !== null) {
1156
+ message.totalGifted = object.total_gifted;
1095
1157
  }
1096
1158
  return message;
1097
1159
  },
@@ -1099,7 +1161,7 @@ exports.GiftRecord = {
1099
1161
  const obj = {};
1100
1162
  obj.sender = message.sender === "" ? undefined : message.sender;
1101
1163
  obj.recipient = message.recipient === "" ? undefined : message.recipient;
1102
- obj.last_gift_block = message.lastGiftBlock !== BigInt(0) ? message.lastGiftBlock?.toString() : undefined;
1164
+ obj.total_gifted = message.totalGifted === "" ? undefined : message.totalGifted;
1103
1165
  return obj;
1104
1166
  },
1105
1167
  fromAminoMsg(object) {
@@ -107,9 +107,17 @@ export interface Params {
107
107
  */
108
108
  unstakedDecayRate: string;
109
109
  transferTaxRate: string;
110
+ /**
111
+ * Tips are gratitude, so a token amount suffices: max_tip_amount per tip and
112
+ * max_tips_sent_per_epoch DREAM in total per sender per epoch.
113
+ */
110
114
  maxTipAmount: string;
111
- maxTipsPerEpoch: number;
112
- maxGiftAmount: string;
115
+ maxTipsSentPerEpoch: string;
116
+ /**
117
+ * Lifetime total a sender may gift each of their own invitees. A gift is a
118
+ * one-time seed to help an invitee get started.
119
+ */
120
+ maxGiftPerInvitee: string;
113
121
  giftOnlyToInvitees: boolean;
114
122
  /**
115
123
  * Initiative rewards
@@ -190,14 +198,14 @@ export interface Params {
190
198
  */
191
199
  challengeResponseDeadlineEpochs: bigint;
192
200
  /**
193
- * Gift rate limiting
194
- * Cooldown period in blocks before same sender can gift same recipient again
195
- */
196
- giftCooldownBlocks: bigint;
197
- /**
198
- * Maximum total DREAM a sender can gift per epoch (across all recipients)
201
+ * Recipient-side transfer limits. DREAM an account may take in through tips
202
+ * and initiative bounty payouts per epoch and per season. Sender caps alone
203
+ * cannot bound a buyer, who can collect from any number of senders; these
204
+ * bound how fast any one position can be bought. Gifts are excluded: each
205
+ * member has one inviter, so max_gift_per_invitee already bounds them.
199
206
  */
200
- maxGiftsPerSenderEpoch: string;
207
+ maxTransferReceivedPerEpoch: string;
208
+ maxTransferReceivedPerSeason: string;
201
209
  /**
202
210
  * Content conviction staking
203
211
  */
@@ -837,6 +845,21 @@ export interface Params {
837
845
  */
838
846
  verifierDreamReward: string;
839
847
  maxVerifierDreamMintPerEpoch: string;
848
+ /**
849
+ * Initiative bounties: DREAM escrowed against an initiative, paid to the
850
+ * assignee on completion. Total bounty is capped at
851
+ * initiative_bounty_max_budget_ratio x budget (zero disables funding), each
852
+ * funder at max_initiative_bounty_per_funder_epoch, and contributions below
853
+ * min_initiative_bounty_contribution or beyond
854
+ * max_initiative_bounty_contributions are refused. A funder may reclaim a
855
+ * contribution older than initiative_bounty_reclaim_delay blocks while the
856
+ * initiative is unassigned.
857
+ */
858
+ initiativeBountyMaxBudgetRatio: string;
859
+ maxInitiativeBountyPerFunderEpoch: string;
860
+ minInitiativeBountyContribution: string;
861
+ maxInitiativeBountyContributions: number;
862
+ initiativeBountyReclaimDelay: bigint;
840
863
  }
841
864
  export interface ParamsProtoMsg {
842
865
  typeUrl: "/sparkdream.rep.v1.Params";
@@ -859,9 +882,17 @@ export interface ParamsAmino {
859
882
  */
860
883
  unstaked_decay_rate?: string;
861
884
  transfer_tax_rate?: string;
885
+ /**
886
+ * Tips are gratitude, so a token amount suffices: max_tip_amount per tip and
887
+ * max_tips_sent_per_epoch DREAM in total per sender per epoch.
888
+ */
862
889
  max_tip_amount?: string;
863
- max_tips_per_epoch?: number;
864
- max_gift_amount?: string;
890
+ max_tips_sent_per_epoch?: string;
891
+ /**
892
+ * Lifetime total a sender may gift each of their own invitees. A gift is a
893
+ * one-time seed to help an invitee get started.
894
+ */
895
+ max_gift_per_invitee?: string;
865
896
  gift_only_to_invitees?: boolean;
866
897
  /**
867
898
  * Initiative rewards
@@ -942,14 +973,14 @@ export interface ParamsAmino {
942
973
  */
943
974
  challenge_response_deadline_epochs?: string;
944
975
  /**
945
- * Gift rate limiting
946
- * Cooldown period in blocks before same sender can gift same recipient again
947
- */
948
- gift_cooldown_blocks?: string;
949
- /**
950
- * Maximum total DREAM a sender can gift per epoch (across all recipients)
976
+ * Recipient-side transfer limits. DREAM an account may take in through tips
977
+ * and initiative bounty payouts per epoch and per season. Sender caps alone
978
+ * cannot bound a buyer, who can collect from any number of senders; these
979
+ * bound how fast any one position can be bought. Gifts are excluded: each
980
+ * member has one inviter, so max_gift_per_invitee already bounds them.
951
981
  */
952
- max_gifts_per_sender_epoch?: string;
982
+ max_transfer_received_per_epoch?: string;
983
+ max_transfer_received_per_season?: string;
953
984
  /**
954
985
  * Content conviction staking
955
986
  */
@@ -1589,6 +1620,21 @@ export interface ParamsAmino {
1589
1620
  */
1590
1621
  verifier_dream_reward?: string;
1591
1622
  max_verifier_dream_mint_per_epoch?: string;
1623
+ /**
1624
+ * Initiative bounties: DREAM escrowed against an initiative, paid to the
1625
+ * assignee on completion. Total bounty is capped at
1626
+ * initiative_bounty_max_budget_ratio x budget (zero disables funding), each
1627
+ * funder at max_initiative_bounty_per_funder_epoch, and contributions below
1628
+ * min_initiative_bounty_contribution or beyond
1629
+ * max_initiative_bounty_contributions are refused. A funder may reclaim a
1630
+ * contribution older than initiative_bounty_reclaim_delay blocks while the
1631
+ * initiative is unassigned.
1632
+ */
1633
+ initiative_bounty_max_budget_ratio?: string;
1634
+ max_initiative_bounty_per_funder_epoch?: string;
1635
+ min_initiative_bounty_contribution?: string;
1636
+ max_initiative_bounty_contributions?: number;
1637
+ initiative_bounty_reclaim_delay?: string;
1592
1638
  }
1593
1639
  export interface ParamsAminoMsg {
1594
1640
  type: "sparkdream/x/rep/Params";
@@ -1613,9 +1659,17 @@ export interface RepOperationalParams {
1613
1659
  */
1614
1660
  unstakedDecayRate: string;
1615
1661
  transferTaxRate: string;
1662
+ /**
1663
+ * Tips are gratitude, so a token amount suffices: max_tip_amount per tip and
1664
+ * max_tips_sent_per_epoch DREAM in total per sender per epoch.
1665
+ */
1616
1666
  maxTipAmount: string;
1617
- maxTipsPerEpoch: number;
1618
- maxGiftAmount: string;
1667
+ maxTipsSentPerEpoch: string;
1668
+ /**
1669
+ * Lifetime total a sender may gift each of their own invitees. A gift is a
1670
+ * one-time seed to help an invitee get started.
1671
+ */
1672
+ maxGiftPerInvitee: string;
1619
1673
  giftOnlyToInvitees: boolean;
1620
1674
  /**
1621
1675
  * Reputation
@@ -1669,10 +1723,14 @@ export interface RepOperationalParams {
1669
1723
  */
1670
1724
  challengeResponseDeadlineEpochs: bigint;
1671
1725
  /**
1672
- * Gift rate limiting
1726
+ * Recipient-side transfer limits. DREAM an account may take in through tips
1727
+ * and initiative bounty payouts per epoch and per season. Sender caps alone
1728
+ * cannot bound a buyer, who can collect from any number of senders; these
1729
+ * bound how fast any one position can be bought. Gifts are excluded: each
1730
+ * member has one inviter, so max_gift_per_invitee already bounds them.
1673
1731
  */
1674
- giftCooldownBlocks: bigint;
1675
- maxGiftsPerSenderEpoch: string;
1732
+ maxTransferReceivedPerEpoch: string;
1733
+ maxTransferReceivedPerSeason: string;
1676
1734
  /**
1677
1735
  * Content conviction staking
1678
1736
  */
@@ -1912,6 +1970,21 @@ export interface RepOperationalParams {
1912
1970
  stakingPoolMintShare: string;
1913
1971
  stakingPoolCapBase: string;
1914
1972
  stakingPoolCapRate: string;
1973
+ /**
1974
+ * Initiative bounties: DREAM escrowed against an initiative, paid to the
1975
+ * assignee on completion. Total bounty is capped at
1976
+ * initiative_bounty_max_budget_ratio x budget (zero disables funding), each
1977
+ * funder at max_initiative_bounty_per_funder_epoch, and contributions below
1978
+ * min_initiative_bounty_contribution or beyond
1979
+ * max_initiative_bounty_contributions are refused. A funder may reclaim a
1980
+ * contribution older than initiative_bounty_reclaim_delay blocks while the
1981
+ * initiative is unassigned.
1982
+ */
1983
+ initiativeBountyMaxBudgetRatio: string;
1984
+ maxInitiativeBountyPerFunderEpoch: string;
1985
+ minInitiativeBountyContribution: string;
1986
+ maxInitiativeBountyContributions: number;
1987
+ initiativeBountyReclaimDelay: bigint;
1915
1988
  }
1916
1989
  export interface RepOperationalParamsProtoMsg {
1917
1990
  typeUrl: "/sparkdream.rep.v1.RepOperationalParams";
@@ -1936,9 +2009,17 @@ export interface RepOperationalParamsAmino {
1936
2009
  */
1937
2010
  unstaked_decay_rate?: string;
1938
2011
  transfer_tax_rate?: string;
2012
+ /**
2013
+ * Tips are gratitude, so a token amount suffices: max_tip_amount per tip and
2014
+ * max_tips_sent_per_epoch DREAM in total per sender per epoch.
2015
+ */
1939
2016
  max_tip_amount?: string;
1940
- max_tips_per_epoch?: number;
1941
- max_gift_amount?: string;
2017
+ max_tips_sent_per_epoch?: string;
2018
+ /**
2019
+ * Lifetime total a sender may gift each of their own invitees. A gift is a
2020
+ * one-time seed to help an invitee get started.
2021
+ */
2022
+ max_gift_per_invitee?: string;
1942
2023
  gift_only_to_invitees?: boolean;
1943
2024
  /**
1944
2025
  * Reputation
@@ -1992,10 +2073,14 @@ export interface RepOperationalParamsAmino {
1992
2073
  */
1993
2074
  challenge_response_deadline_epochs?: string;
1994
2075
  /**
1995
- * Gift rate limiting
2076
+ * Recipient-side transfer limits. DREAM an account may take in through tips
2077
+ * and initiative bounty payouts per epoch and per season. Sender caps alone
2078
+ * cannot bound a buyer, who can collect from any number of senders; these
2079
+ * bound how fast any one position can be bought. Gifts are excluded: each
2080
+ * member has one inviter, so max_gift_per_invitee already bounds them.
1996
2081
  */
1997
- gift_cooldown_blocks?: string;
1998
- max_gifts_per_sender_epoch?: string;
2082
+ max_transfer_received_per_epoch?: string;
2083
+ max_transfer_received_per_season?: string;
1999
2084
  /**
2000
2085
  * Content conviction staking
2001
2086
  */
@@ -2235,6 +2320,21 @@ export interface RepOperationalParamsAmino {
2235
2320
  staking_pool_mint_share?: string;
2236
2321
  staking_pool_cap_base?: string;
2237
2322
  staking_pool_cap_rate?: string;
2323
+ /**
2324
+ * Initiative bounties: DREAM escrowed against an initiative, paid to the
2325
+ * assignee on completion. Total bounty is capped at
2326
+ * initiative_bounty_max_budget_ratio x budget (zero disables funding), each
2327
+ * funder at max_initiative_bounty_per_funder_epoch, and contributions below
2328
+ * min_initiative_bounty_contribution or beyond
2329
+ * max_initiative_bounty_contributions are refused. A funder may reclaim a
2330
+ * contribution older than initiative_bounty_reclaim_delay blocks while the
2331
+ * initiative is unassigned.
2332
+ */
2333
+ initiative_bounty_max_budget_ratio?: string;
2334
+ max_initiative_bounty_per_funder_epoch?: string;
2335
+ min_initiative_bounty_contribution?: string;
2336
+ max_initiative_bounty_contributions?: number;
2337
+ initiative_bounty_reclaim_delay?: string;
2238
2338
  }
2239
2339
  export interface RepOperationalParamsAminoMsg {
2240
2340
  type: "sparkdream/x/rep/RepOperationalParams";