@sparkdreamnft/sparkdreamjs 0.0.42 → 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 +134 -2
  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 +20540 -17854
  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 +128 -0
  135. package/sparkdream/federation/v1/types.js +135 -3
  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
@@ -200,7 +200,11 @@ export interface Member {
200
200
  zeroedAt: bigint;
201
201
  zeroedCount: number;
202
202
  lastDecayEpoch: bigint;
203
- tipsGivenThisEpoch: number;
203
+ /**
204
+ * DREAM tipped this epoch (amount, not count), reset lazily when
205
+ * last_tip_epoch falls behind. Nil on records written before it existed.
206
+ */
207
+ tipsSentThisEpoch: string;
204
208
  lastTipEpoch: bigint;
205
209
  /**
206
210
  * Cached counts for performance (avoid full table scans)
@@ -211,13 +215,14 @@ export interface Member {
211
215
  */
212
216
  completedInitiativesCount: number;
213
217
  /**
214
- * Gift tracking for rate limiting
215
- */
216
- giftsSentThisEpoch: string;
217
- /**
218
- * Epoch when gift counter was last reset
218
+ * DREAM received through member-to-member transfers (tips and initiative
219
+ * bounty payouts) in the current epoch, bounded by
220
+ * max_transfer_received_per_epoch. The binding transfer limit sits on the
221
+ * recipient: a buyer can collect from any number of senders, so only a cap
222
+ * on what one account takes in bounds how fast a position can be bought.
219
223
  */
220
- lastGiftEpoch: bigint;
224
+ transferReceivedThisEpoch: string;
225
+ lastTransferReceivedEpoch: bigint;
221
226
  /**
222
227
  * Invitation credit tracking for lazy seasonal reset
223
228
  */
@@ -300,6 +305,28 @@ export interface Member {
300
305
  * readers must treat nil as zero.
301
306
  */
302
307
  contentStakedDream: string;
308
+ /**
309
+ * Season-scale counterpart of transfer_received_this_epoch, bounded by
310
+ * max_transfer_received_per_season.
311
+ */
312
+ transferReceivedThisSeason: string;
313
+ lastTransferReceivedSeason: bigint;
314
+ /**
315
+ * DREAM this member escrowed into initiative bounties this epoch, bounded by
316
+ * max_initiative_bounty_per_funder_epoch.
317
+ */
318
+ initiativeBountyFundedThisEpoch: string;
319
+ lastInitiativeBountyEpoch: bigint;
320
+ /**
321
+ * The content license this member agreed to publish under
322
+ * (docs/content-license.md). Set from MsgAcceptInvitation's signed
323
+ * accepted_content_license, or for genesis members from the genesis file,
324
+ * where GenesisState.Validate requires it. Never changed afterwards: a CC0
325
+ * dedication cannot be revoked, so zeroing and status changes leave it
326
+ * alone. An address joins only once, so the agreement was made at
327
+ * joined_at / joined_at_height.
328
+ */
329
+ contentLicense: string;
303
330
  }
304
331
  export interface MemberProtoMsg {
305
332
  typeUrl: "/sparkdream.rep.v1.Member";
@@ -355,7 +382,11 @@ export interface MemberAmino {
355
382
  zeroed_at?: string;
356
383
  zeroed_count?: number;
357
384
  last_decay_epoch?: string;
358
- tips_given_this_epoch?: number;
385
+ /**
386
+ * DREAM tipped this epoch (amount, not count), reset lazily when
387
+ * last_tip_epoch falls behind. Nil on records written before it existed.
388
+ */
389
+ tips_sent_this_epoch?: string;
359
390
  last_tip_epoch?: string;
360
391
  /**
361
392
  * Cached counts for performance (avoid full table scans)
@@ -366,13 +397,14 @@ export interface MemberAmino {
366
397
  */
367
398
  completed_initiatives_count?: number;
368
399
  /**
369
- * Gift tracking for rate limiting
400
+ * DREAM received through member-to-member transfers (tips and initiative
401
+ * bounty payouts) in the current epoch, bounded by
402
+ * max_transfer_received_per_epoch. The binding transfer limit sits on the
403
+ * recipient: a buyer can collect from any number of senders, so only a cap
404
+ * on what one account takes in bounds how fast a position can be bought.
370
405
  */
371
- gifts_sent_this_epoch?: string;
372
- /**
373
- * Epoch when gift counter was last reset
374
- */
375
- last_gift_epoch?: string;
406
+ transfer_received_this_epoch?: string;
407
+ last_transfer_received_epoch?: string;
376
408
  /**
377
409
  * Invitation credit tracking for lazy seasonal reset
378
410
  */
@@ -455,14 +487,38 @@ export interface MemberAmino {
455
487
  * readers must treat nil as zero.
456
488
  */
457
489
  content_staked_dream?: string;
490
+ /**
491
+ * Season-scale counterpart of transfer_received_this_epoch, bounded by
492
+ * max_transfer_received_per_season.
493
+ */
494
+ transfer_received_this_season?: string;
495
+ last_transfer_received_season?: string;
496
+ /**
497
+ * DREAM this member escrowed into initiative bounties this epoch, bounded by
498
+ * max_initiative_bounty_per_funder_epoch.
499
+ */
500
+ initiative_bounty_funded_this_epoch?: string;
501
+ last_initiative_bounty_epoch?: string;
502
+ /**
503
+ * The content license this member agreed to publish under
504
+ * (docs/content-license.md). Set from MsgAcceptInvitation's signed
505
+ * accepted_content_license, or for genesis members from the genesis file,
506
+ * where GenesisState.Validate requires it. Never changed afterwards: a CC0
507
+ * dedication cannot be revoked, so zeroing and status changes leave it
508
+ * alone. An address joins only once, so the agreement was made at
509
+ * joined_at / joined_at_height.
510
+ */
511
+ content_license?: string;
458
512
  }
459
513
  export interface MemberAminoMsg {
460
514
  type: "/sparkdream.rep.v1.Member";
461
515
  value: MemberAmino;
462
516
  }
463
517
  /**
464
- * GiftRecord tracks the last time a sender gifted a specific recipient
465
- * Used to enforce per-recipient cooldown periods
518
+ * GiftRecord is the lifetime ledger of what a sender has gifted one of their
519
+ * invitees, bounded by max_gift_per_invitee. A gift is a one-time seed to help
520
+ * an invitee get started, so the cap is per invitee for life rather than per
521
+ * epoch.
466
522
  * @name GiftRecord
467
523
  * @package sparkdream.rep.v1
468
524
  * @see proto type: sparkdream.rep.v1.GiftRecord
@@ -470,18 +526,17 @@ export interface MemberAminoMsg {
470
526
  export interface GiftRecord {
471
527
  sender: string;
472
528
  recipient: string;
473
- /**
474
- * Block height when last gift was sent
475
- */
476
- lastGiftBlock: bigint;
529
+ totalGifted: string;
477
530
  }
478
531
  export interface GiftRecordProtoMsg {
479
532
  typeUrl: "/sparkdream.rep.v1.GiftRecord";
480
533
  value: Uint8Array;
481
534
  }
482
535
  /**
483
- * GiftRecord tracks the last time a sender gifted a specific recipient
484
- * Used to enforce per-recipient cooldown periods
536
+ * GiftRecord is the lifetime ledger of what a sender has gifted one of their
537
+ * invitees, bounded by max_gift_per_invitee. A gift is a one-time seed to help
538
+ * an invitee get started, so the cap is per invitee for life rather than per
539
+ * epoch.
485
540
  * @name GiftRecordAmino
486
541
  * @package sparkdream.rep.v1
487
542
  * @see proto type: sparkdream.rep.v1.GiftRecord
@@ -489,10 +544,7 @@ export interface GiftRecordProtoMsg {
489
544
  export interface GiftRecordAmino {
490
545
  sender?: string;
491
546
  recipient?: string;
492
- /**
493
- * Block height when last gift was sent
494
- */
495
- last_gift_block?: string;
547
+ total_gifted?: string;
496
548
  }
497
549
  export interface GiftRecordAminoMsg {
498
550
  type: "/sparkdream.rep.v1.GiftRecord";
@@ -592,8 +644,10 @@ export declare const Member: {
592
644
  toProtoMsg(message: Member): MemberProtoMsg;
593
645
  };
594
646
  /**
595
- * GiftRecord tracks the last time a sender gifted a specific recipient
596
- * Used to enforce per-recipient cooldown periods
647
+ * GiftRecord is the lifetime ledger of what a sender has gifted one of their
648
+ * invitees, bounded by max_gift_per_invitee. A gift is a one-time seed to help
649
+ * an invitee get started, so the cap is per invitee for life rather than per
650
+ * epoch.
597
651
  * @name GiftRecord
598
652
  * @package sparkdream.rep.v1
599
653
  * @see proto type: sparkdream.rep.v1.GiftRecord
@@ -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) {