@sparkdreamnft/sparkdreamjs 0.0.18 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/sparkdream/blog/v1/params.js +62 -2
- package/esm/sparkdream/blog/v1/tx.js +583 -2
- package/esm/sparkdream/blog/v1/tx.registry.js +74 -2
- package/esm/sparkdream/blog/v1/tx.rpc.msg.js +33 -3
- package/esm/sparkdream/collect/v1/params.js +109 -1
- package/esm/sparkdream/collect/v1/tx.js +293 -1
- package/esm/sparkdream/collect/v1/tx.registry.js +38 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +17 -2
- package/esm/sparkdream/collect/v1/types.js +135 -3
- package/esm/sparkdream/forum/v1/params.js +218 -2
- package/esm/sparkdream/forum/v1/post.js +25 -1
- package/esm/sparkdream/forum/v1/query.js +469 -0
- package/esm/sparkdream/forum/v1/query.lcd.js +30 -0
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +31 -1
- package/esm/sparkdream/forum/v1/tx.js +460 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +56 -2
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +30 -1
- package/esm/sparkdream/forum/v1/types.js +355 -0
- package/esm/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/esm/sparkdream/rep/v1/member.js +209 -1
- package/esm/sparkdream/rep/v1/query.js +13 -22
- package/package.json +1 -1
- package/sparkdream/blog/v1/params.d.ts +52 -0
- package/sparkdream/blog/v1/params.js +62 -2
- package/sparkdream/blog/v1/tx.d.ts +381 -6
- package/sparkdream/blog/v1/tx.js +584 -3
- package/sparkdream/blog/v1/tx.registry.d.ts +49 -1
- package/sparkdream/blog/v1/tx.registry.js +73 -1
- package/sparkdream/blog/v1/tx.rpc.msg.d.ts +27 -3
- package/sparkdream/blog/v1/tx.rpc.msg.js +32 -2
- package/sparkdream/bundle.d.ts +474 -0
- package/sparkdream/collect/v1/params.d.ts +124 -0
- package/sparkdream/collect/v1/params.js +109 -1
- package/sparkdream/collect/v1/tx.d.ts +195 -3
- package/sparkdream/collect/v1/tx.js +294 -2
- package/sparkdream/collect/v1/tx.registry.d.ts +25 -1
- package/sparkdream/collect/v1/tx.registry.js +37 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +15 -2
- package/sparkdream/collect/v1/tx.rpc.msg.js +16 -1
- package/sparkdream/collect/v1/types.d.ts +112 -0
- package/sparkdream/collect/v1/types.js +135 -3
- package/sparkdream/forum/v1/params.d.ts +210 -0
- package/sparkdream/forum/v1/params.js +218 -2
- package/sparkdream/forum/v1/post.d.ts +28 -0
- package/sparkdream/forum/v1/post.js +25 -1
- package/sparkdream/forum/v1/query.d.ts +273 -0
- package/sparkdream/forum/v1/query.js +470 -1
- package/sparkdream/forum/v1/query.lcd.d.ts +4 -1
- package/sparkdream/forum/v1/query.lcd.js +30 -0
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +18 -1
- package/sparkdream/forum/v1/query.rpc.Query.js +30 -0
- package/sparkdream/forum/v1/tx.d.ts +291 -0
- package/sparkdream/forum/v1/tx.js +462 -2
- package/sparkdream/forum/v1/tx.registry.d.ts +37 -1
- package/sparkdream/forum/v1/tx.registry.js +55 -1
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +27 -1
- package/sparkdream/forum/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/forum/v1/types.d.ts +247 -0
- package/sparkdream/forum/v1/types.js +356 -1
- package/sparkdream/forum/v1/user_rate_limit.d.ts +24 -3
- package/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/sparkdream/rep/v1/member.d.ts +134 -0
- package/sparkdream/rep/v1/member.js +210 -2
- package/sparkdream/rep/v1/query.d.ts +2 -4
- package/sparkdream/rep/v1/query.js +13 -22
- package/sparkdream/rpc.query.d.ts +3 -0
|
@@ -128,6 +128,68 @@ export interface Params {
|
|
|
128
128
|
* Zero = immediate withdrawal (legacy behavior).
|
|
129
129
|
*/
|
|
130
130
|
curatorUnbondCooldown: bigint;
|
|
131
|
+
/**
|
|
132
|
+
* make_permanent_min_trust_level is the minimum trust level a caller of
|
|
133
|
+
* MsgMakeCollectionPermanent must hold (0–4). Default PROVISIONAL (1) —
|
|
134
|
+
* lower than pin_min_trust_level because preservation (committing the
|
|
135
|
+
* deposit so the collection never expires) is a smaller curator action
|
|
136
|
+
* than featuring it on the pinned list.
|
|
137
|
+
*/
|
|
138
|
+
makePermanentMinTrustLevel: number;
|
|
139
|
+
/**
|
|
140
|
+
* max_make_permanent_per_day caps MsgMakeCollectionPermanent calls per
|
|
141
|
+
* address per UTC day. Independent of max_pins_per_day — promoting an
|
|
142
|
+
* ephemeral to permanent is a distinct curator action with its own quota.
|
|
143
|
+
*/
|
|
144
|
+
maxMakePermanentPerDay: number;
|
|
145
|
+
/**
|
|
146
|
+
* non_member_collab_dream_stake is the DREAM amount the inviter locks per
|
|
147
|
+
* non-member collaborator.
|
|
148
|
+
*/
|
|
149
|
+
nonMemberCollabDreamStake: string;
|
|
150
|
+
/**
|
|
151
|
+
* non_member_collab_burn_fraction is the fraction of the inviter's locked
|
|
152
|
+
* DREAM that is burned when the collaborator exits while the collection is
|
|
153
|
+
* HIDDEN. Must be in [0, 1]. Default 0.5 — heavier than
|
|
154
|
+
* endorsement_deletion_burn_fraction because HIDDEN is an explicit
|
|
155
|
+
* misconduct signal, not just abandonment.
|
|
156
|
+
*/
|
|
157
|
+
nonMemberCollabBurnFraction: string;
|
|
158
|
+
/**
|
|
159
|
+
* max_non_member_collaborators_per_collection caps how many slots within a
|
|
160
|
+
* single collection may be held by non-member collaborators. Must be
|
|
161
|
+
* <= max_collaborators_per_collection.
|
|
162
|
+
*/
|
|
163
|
+
maxNonMemberCollaboratorsPerCollection: number;
|
|
164
|
+
/**
|
|
165
|
+
* max_promotions_per_block caps the membership-driven promotion-queue drain
|
|
166
|
+
* (Phase 0 in EndBlocker). Each unit of work — releasing an inviter's
|
|
167
|
+
* collaborator stake or flipping an owned ephemeral collection to permanent
|
|
168
|
+
* — counts against this cap. Zero disables the drain. Mirrors the matching
|
|
169
|
+
* forum/blog parameter.
|
|
170
|
+
*/
|
|
171
|
+
maxPromotionsPerBlock: number;
|
|
172
|
+
/**
|
|
173
|
+
* endorser_rep_penalty is the per-tag rep deduction on an endorser when
|
|
174
|
+
* their endorsed collection is hidden and the hide stands (sentinel hide
|
|
175
|
+
* unappealed or appeal rejected). Fires alongside the BurnDREAM of the
|
|
176
|
+
* endorsement stake.
|
|
177
|
+
*/
|
|
178
|
+
endorserRepPenalty: string;
|
|
179
|
+
/**
|
|
180
|
+
* collab_inviter_rep_penalty is the per-tag rep deduction on a
|
|
181
|
+
* collaborator-inviter when the collaborator exits a HIDDEN collection and
|
|
182
|
+
* the inviter's stake is fractionally burned. Lower than
|
|
183
|
+
* endorser_rep_penalty because vouching for a person's future contributions
|
|
184
|
+
* is a weaker claim than vouching for specific content quality.
|
|
185
|
+
*/
|
|
186
|
+
collabInviterRepPenalty: string;
|
|
187
|
+
/**
|
|
188
|
+
* author_rep_penalty is the per-tag rep deduction on a collection creator
|
|
189
|
+
* when a sentinel hides their collection (fires alongside SlashAuthorBond).
|
|
190
|
+
* Highest of the three because the author authored the bad content.
|
|
191
|
+
*/
|
|
192
|
+
authorRepPenalty: string;
|
|
131
193
|
}
|
|
132
194
|
export interface ParamsProtoMsg {
|
|
133
195
|
typeUrl: "/sparkdream.collect.v1.Params";
|
|
@@ -261,6 +323,68 @@ export interface ParamsAmino {
|
|
|
261
323
|
* Zero = immediate withdrawal (legacy behavior).
|
|
262
324
|
*/
|
|
263
325
|
curator_unbond_cooldown?: string;
|
|
326
|
+
/**
|
|
327
|
+
* make_permanent_min_trust_level is the minimum trust level a caller of
|
|
328
|
+
* MsgMakeCollectionPermanent must hold (0–4). Default PROVISIONAL (1) —
|
|
329
|
+
* lower than pin_min_trust_level because preservation (committing the
|
|
330
|
+
* deposit so the collection never expires) is a smaller curator action
|
|
331
|
+
* than featuring it on the pinned list.
|
|
332
|
+
*/
|
|
333
|
+
make_permanent_min_trust_level?: number;
|
|
334
|
+
/**
|
|
335
|
+
* max_make_permanent_per_day caps MsgMakeCollectionPermanent calls per
|
|
336
|
+
* address per UTC day. Independent of max_pins_per_day — promoting an
|
|
337
|
+
* ephemeral to permanent is a distinct curator action with its own quota.
|
|
338
|
+
*/
|
|
339
|
+
max_make_permanent_per_day?: number;
|
|
340
|
+
/**
|
|
341
|
+
* non_member_collab_dream_stake is the DREAM amount the inviter locks per
|
|
342
|
+
* non-member collaborator.
|
|
343
|
+
*/
|
|
344
|
+
non_member_collab_dream_stake?: string;
|
|
345
|
+
/**
|
|
346
|
+
* non_member_collab_burn_fraction is the fraction of the inviter's locked
|
|
347
|
+
* DREAM that is burned when the collaborator exits while the collection is
|
|
348
|
+
* HIDDEN. Must be in [0, 1]. Default 0.5 — heavier than
|
|
349
|
+
* endorsement_deletion_burn_fraction because HIDDEN is an explicit
|
|
350
|
+
* misconduct signal, not just abandonment.
|
|
351
|
+
*/
|
|
352
|
+
non_member_collab_burn_fraction?: string;
|
|
353
|
+
/**
|
|
354
|
+
* max_non_member_collaborators_per_collection caps how many slots within a
|
|
355
|
+
* single collection may be held by non-member collaborators. Must be
|
|
356
|
+
* <= max_collaborators_per_collection.
|
|
357
|
+
*/
|
|
358
|
+
max_non_member_collaborators_per_collection?: number;
|
|
359
|
+
/**
|
|
360
|
+
* max_promotions_per_block caps the membership-driven promotion-queue drain
|
|
361
|
+
* (Phase 0 in EndBlocker). Each unit of work — releasing an inviter's
|
|
362
|
+
* collaborator stake or flipping an owned ephemeral collection to permanent
|
|
363
|
+
* — counts against this cap. Zero disables the drain. Mirrors the matching
|
|
364
|
+
* forum/blog parameter.
|
|
365
|
+
*/
|
|
366
|
+
max_promotions_per_block?: number;
|
|
367
|
+
/**
|
|
368
|
+
* endorser_rep_penalty is the per-tag rep deduction on an endorser when
|
|
369
|
+
* their endorsed collection is hidden and the hide stands (sentinel hide
|
|
370
|
+
* unappealed or appeal rejected). Fires alongside the BurnDREAM of the
|
|
371
|
+
* endorsement stake.
|
|
372
|
+
*/
|
|
373
|
+
endorser_rep_penalty?: string;
|
|
374
|
+
/**
|
|
375
|
+
* collab_inviter_rep_penalty is the per-tag rep deduction on a
|
|
376
|
+
* collaborator-inviter when the collaborator exits a HIDDEN collection and
|
|
377
|
+
* the inviter's stake is fractionally burned. Lower than
|
|
378
|
+
* endorser_rep_penalty because vouching for a person's future contributions
|
|
379
|
+
* is a weaker claim than vouching for specific content quality.
|
|
380
|
+
*/
|
|
381
|
+
collab_inviter_rep_penalty?: string;
|
|
382
|
+
/**
|
|
383
|
+
* author_rep_penalty is the per-tag rep deduction on a collection creator
|
|
384
|
+
* when a sentinel hides their collection (fires alongside SlashAuthorBond).
|
|
385
|
+
* Highest of the three because the author authored the bad content.
|
|
386
|
+
*/
|
|
387
|
+
author_rep_penalty?: string;
|
|
264
388
|
}
|
|
265
389
|
export interface ParamsAminoMsg {
|
|
266
390
|
type: "sparkdream/x/collect/Params";
|
|
@@ -67,7 +67,16 @@ function createBaseParams() {
|
|
|
67
67
|
curatorDemotionCooldown: BigInt(0),
|
|
68
68
|
curatorDemotionThreshold: "",
|
|
69
69
|
curatorOverturnDemotionStreak: BigInt(0),
|
|
70
|
-
curatorUnbondCooldown: BigInt(0)
|
|
70
|
+
curatorUnbondCooldown: BigInt(0),
|
|
71
|
+
makePermanentMinTrustLevel: 0,
|
|
72
|
+
maxMakePermanentPerDay: 0,
|
|
73
|
+
nonMemberCollabDreamStake: "",
|
|
74
|
+
nonMemberCollabBurnFraction: "",
|
|
75
|
+
maxNonMemberCollaboratorsPerCollection: 0,
|
|
76
|
+
maxPromotionsPerBlock: 0,
|
|
77
|
+
endorserRepPenalty: "",
|
|
78
|
+
collabInviterRepPenalty: "",
|
|
79
|
+
authorRepPenalty: ""
|
|
71
80
|
};
|
|
72
81
|
}
|
|
73
82
|
/**
|
|
@@ -266,6 +275,33 @@ exports.Params = {
|
|
|
266
275
|
if (message.curatorUnbondCooldown !== BigInt(0)) {
|
|
267
276
|
writer.uint32(528).int64(message.curatorUnbondCooldown);
|
|
268
277
|
}
|
|
278
|
+
if (message.makePermanentMinTrustLevel !== 0) {
|
|
279
|
+
writer.uint32(536).uint32(message.makePermanentMinTrustLevel);
|
|
280
|
+
}
|
|
281
|
+
if (message.maxMakePermanentPerDay !== 0) {
|
|
282
|
+
writer.uint32(600).uint32(message.maxMakePermanentPerDay);
|
|
283
|
+
}
|
|
284
|
+
if (message.nonMemberCollabDreamStake !== "") {
|
|
285
|
+
writer.uint32(546).string(message.nonMemberCollabDreamStake);
|
|
286
|
+
}
|
|
287
|
+
if (message.nonMemberCollabBurnFraction !== "") {
|
|
288
|
+
writer.uint32(554).string(math_1.Decimal.fromUserInput(message.nonMemberCollabBurnFraction, 18).atomics);
|
|
289
|
+
}
|
|
290
|
+
if (message.maxNonMemberCollaboratorsPerCollection !== 0) {
|
|
291
|
+
writer.uint32(560).uint32(message.maxNonMemberCollaboratorsPerCollection);
|
|
292
|
+
}
|
|
293
|
+
if (message.maxPromotionsPerBlock !== 0) {
|
|
294
|
+
writer.uint32(568).uint32(message.maxPromotionsPerBlock);
|
|
295
|
+
}
|
|
296
|
+
if (message.endorserRepPenalty !== "") {
|
|
297
|
+
writer.uint32(578).string(math_1.Decimal.fromUserInput(message.endorserRepPenalty, 18).atomics);
|
|
298
|
+
}
|
|
299
|
+
if (message.collabInviterRepPenalty !== "") {
|
|
300
|
+
writer.uint32(586).string(math_1.Decimal.fromUserInput(message.collabInviterRepPenalty, 18).atomics);
|
|
301
|
+
}
|
|
302
|
+
if (message.authorRepPenalty !== "") {
|
|
303
|
+
writer.uint32(594).string(math_1.Decimal.fromUserInput(message.authorRepPenalty, 18).atomics);
|
|
304
|
+
}
|
|
269
305
|
return writer;
|
|
270
306
|
},
|
|
271
307
|
decode(input, length) {
|
|
@@ -461,6 +497,33 @@ exports.Params = {
|
|
|
461
497
|
case 66:
|
|
462
498
|
message.curatorUnbondCooldown = reader.int64();
|
|
463
499
|
break;
|
|
500
|
+
case 67:
|
|
501
|
+
message.makePermanentMinTrustLevel = reader.uint32();
|
|
502
|
+
break;
|
|
503
|
+
case 75:
|
|
504
|
+
message.maxMakePermanentPerDay = reader.uint32();
|
|
505
|
+
break;
|
|
506
|
+
case 68:
|
|
507
|
+
message.nonMemberCollabDreamStake = reader.string();
|
|
508
|
+
break;
|
|
509
|
+
case 69:
|
|
510
|
+
message.nonMemberCollabBurnFraction = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
511
|
+
break;
|
|
512
|
+
case 70:
|
|
513
|
+
message.maxNonMemberCollaboratorsPerCollection = reader.uint32();
|
|
514
|
+
break;
|
|
515
|
+
case 71:
|
|
516
|
+
message.maxPromotionsPerBlock = reader.uint32();
|
|
517
|
+
break;
|
|
518
|
+
case 72:
|
|
519
|
+
message.endorserRepPenalty = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
520
|
+
break;
|
|
521
|
+
case 73:
|
|
522
|
+
message.collabInviterRepPenalty = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
523
|
+
break;
|
|
524
|
+
case 74:
|
|
525
|
+
message.authorRepPenalty = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
|
|
526
|
+
break;
|
|
464
527
|
default:
|
|
465
528
|
reader.skipType(tag & 7);
|
|
466
529
|
break;
|
|
@@ -532,6 +595,15 @@ exports.Params = {
|
|
|
532
595
|
message.curatorDemotionThreshold = object.curatorDemotionThreshold ?? "";
|
|
533
596
|
message.curatorOverturnDemotionStreak = object.curatorOverturnDemotionStreak !== undefined && object.curatorOverturnDemotionStreak !== null ? BigInt(object.curatorOverturnDemotionStreak.toString()) : BigInt(0);
|
|
534
597
|
message.curatorUnbondCooldown = object.curatorUnbondCooldown !== undefined && object.curatorUnbondCooldown !== null ? BigInt(object.curatorUnbondCooldown.toString()) : BigInt(0);
|
|
598
|
+
message.makePermanentMinTrustLevel = object.makePermanentMinTrustLevel ?? 0;
|
|
599
|
+
message.maxMakePermanentPerDay = object.maxMakePermanentPerDay ?? 0;
|
|
600
|
+
message.nonMemberCollabDreamStake = object.nonMemberCollabDreamStake ?? "";
|
|
601
|
+
message.nonMemberCollabBurnFraction = object.nonMemberCollabBurnFraction ?? "";
|
|
602
|
+
message.maxNonMemberCollaboratorsPerCollection = object.maxNonMemberCollaboratorsPerCollection ?? 0;
|
|
603
|
+
message.maxPromotionsPerBlock = object.maxPromotionsPerBlock ?? 0;
|
|
604
|
+
message.endorserRepPenalty = object.endorserRepPenalty ?? "";
|
|
605
|
+
message.collabInviterRepPenalty = object.collabInviterRepPenalty ?? "";
|
|
606
|
+
message.authorRepPenalty = object.authorRepPenalty ?? "";
|
|
535
607
|
return message;
|
|
536
608
|
},
|
|
537
609
|
fromAmino(object) {
|
|
@@ -722,6 +794,33 @@ exports.Params = {
|
|
|
722
794
|
if (object.curator_unbond_cooldown !== undefined && object.curator_unbond_cooldown !== null) {
|
|
723
795
|
message.curatorUnbondCooldown = BigInt(object.curator_unbond_cooldown);
|
|
724
796
|
}
|
|
797
|
+
if (object.make_permanent_min_trust_level !== undefined && object.make_permanent_min_trust_level !== null) {
|
|
798
|
+
message.makePermanentMinTrustLevel = object.make_permanent_min_trust_level;
|
|
799
|
+
}
|
|
800
|
+
if (object.max_make_permanent_per_day !== undefined && object.max_make_permanent_per_day !== null) {
|
|
801
|
+
message.maxMakePermanentPerDay = object.max_make_permanent_per_day;
|
|
802
|
+
}
|
|
803
|
+
if (object.non_member_collab_dream_stake !== undefined && object.non_member_collab_dream_stake !== null) {
|
|
804
|
+
message.nonMemberCollabDreamStake = object.non_member_collab_dream_stake;
|
|
805
|
+
}
|
|
806
|
+
if (object.non_member_collab_burn_fraction !== undefined && object.non_member_collab_burn_fraction !== null) {
|
|
807
|
+
message.nonMemberCollabBurnFraction = object.non_member_collab_burn_fraction;
|
|
808
|
+
}
|
|
809
|
+
if (object.max_non_member_collaborators_per_collection !== undefined && object.max_non_member_collaborators_per_collection !== null) {
|
|
810
|
+
message.maxNonMemberCollaboratorsPerCollection = object.max_non_member_collaborators_per_collection;
|
|
811
|
+
}
|
|
812
|
+
if (object.max_promotions_per_block !== undefined && object.max_promotions_per_block !== null) {
|
|
813
|
+
message.maxPromotionsPerBlock = object.max_promotions_per_block;
|
|
814
|
+
}
|
|
815
|
+
if (object.endorser_rep_penalty !== undefined && object.endorser_rep_penalty !== null) {
|
|
816
|
+
message.endorserRepPenalty = object.endorser_rep_penalty;
|
|
817
|
+
}
|
|
818
|
+
if (object.collab_inviter_rep_penalty !== undefined && object.collab_inviter_rep_penalty !== null) {
|
|
819
|
+
message.collabInviterRepPenalty = object.collab_inviter_rep_penalty;
|
|
820
|
+
}
|
|
821
|
+
if (object.author_rep_penalty !== undefined && object.author_rep_penalty !== null) {
|
|
822
|
+
message.authorRepPenalty = object.author_rep_penalty;
|
|
823
|
+
}
|
|
725
824
|
return message;
|
|
726
825
|
},
|
|
727
826
|
toAmino(message) {
|
|
@@ -788,6 +887,15 @@ exports.Params = {
|
|
|
788
887
|
obj.curator_demotion_threshold = message.curatorDemotionThreshold === "" ? undefined : message.curatorDemotionThreshold;
|
|
789
888
|
obj.curator_overturn_demotion_streak = message.curatorOverturnDemotionStreak !== BigInt(0) ? message.curatorOverturnDemotionStreak?.toString() : undefined;
|
|
790
889
|
obj.curator_unbond_cooldown = message.curatorUnbondCooldown !== BigInt(0) ? message.curatorUnbondCooldown?.toString() : undefined;
|
|
890
|
+
obj.make_permanent_min_trust_level = message.makePermanentMinTrustLevel === 0 ? undefined : message.makePermanentMinTrustLevel;
|
|
891
|
+
obj.max_make_permanent_per_day = message.maxMakePermanentPerDay === 0 ? undefined : message.maxMakePermanentPerDay;
|
|
892
|
+
obj.non_member_collab_dream_stake = message.nonMemberCollabDreamStake === "" ? undefined : message.nonMemberCollabDreamStake;
|
|
893
|
+
obj.non_member_collab_burn_fraction = message.nonMemberCollabBurnFraction === "" ? undefined : message.nonMemberCollabBurnFraction;
|
|
894
|
+
obj.max_non_member_collaborators_per_collection = message.maxNonMemberCollaboratorsPerCollection === 0 ? undefined : message.maxNonMemberCollaboratorsPerCollection;
|
|
895
|
+
obj.max_promotions_per_block = message.maxPromotionsPerBlock === 0 ? undefined : message.maxPromotionsPerBlock;
|
|
896
|
+
obj.endorser_rep_penalty = message.endorserRepPenalty === "" ? undefined : message.endorserRepPenalty;
|
|
897
|
+
obj.collab_inviter_rep_penalty = message.collabInviterRepPenalty === "" ? undefined : message.collabInviterRepPenalty;
|
|
898
|
+
obj.author_rep_penalty = message.authorRepPenalty === "" ? undefined : message.authorRepPenalty;
|
|
791
899
|
return obj;
|
|
792
900
|
},
|
|
793
901
|
fromAminoMsg(object) {
|
|
@@ -1430,7 +1430,9 @@ export interface MsgSetSeekingEndorsementResponseAminoMsg {
|
|
|
1430
1430
|
value: MsgSetSeekingEndorsementResponseAmino;
|
|
1431
1431
|
}
|
|
1432
1432
|
/**
|
|
1433
|
-
* MsgPinCollection
|
|
1433
|
+
* MsgPinCollection sets the display-only pinned marker on a permanent
|
|
1434
|
+
* collection. Rejects ephemeral targets with ErrCannotPinEphemeral —
|
|
1435
|
+
* callers must promote via MsgMakeCollectionPermanent first.
|
|
1434
1436
|
* @name MsgPinCollection
|
|
1435
1437
|
* @package sparkdream.collect.v1
|
|
1436
1438
|
* @see proto type: sparkdream.collect.v1.MsgPinCollection
|
|
@@ -1444,7 +1446,9 @@ export interface MsgPinCollectionProtoMsg {
|
|
|
1444
1446
|
value: Uint8Array;
|
|
1445
1447
|
}
|
|
1446
1448
|
/**
|
|
1447
|
-
* MsgPinCollection
|
|
1449
|
+
* MsgPinCollection sets the display-only pinned marker on a permanent
|
|
1450
|
+
* collection. Rejects ephemeral targets with ErrCannotPinEphemeral —
|
|
1451
|
+
* callers must promote via MsgMakeCollectionPermanent first.
|
|
1448
1452
|
* @name MsgPinCollectionAmino
|
|
1449
1453
|
* @package sparkdream.collect.v1
|
|
1450
1454
|
* @see proto type: sparkdream.collect.v1.MsgPinCollection
|
|
@@ -1479,6 +1483,114 @@ export interface MsgPinCollectionResponseAminoMsg {
|
|
|
1479
1483
|
type: "/sparkdream.collect.v1.MsgPinCollectionResponse";
|
|
1480
1484
|
value: MsgPinCollectionResponseAmino;
|
|
1481
1485
|
}
|
|
1486
|
+
/**
|
|
1487
|
+
* MsgUnpinCollection clears the display-only pinned marker. Idempotent on
|
|
1488
|
+
* already-unpinned collections.
|
|
1489
|
+
* @name MsgUnpinCollection
|
|
1490
|
+
* @package sparkdream.collect.v1
|
|
1491
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollection
|
|
1492
|
+
*/
|
|
1493
|
+
export interface MsgUnpinCollection {
|
|
1494
|
+
creator: string;
|
|
1495
|
+
collectionId: bigint;
|
|
1496
|
+
}
|
|
1497
|
+
export interface MsgUnpinCollectionProtoMsg {
|
|
1498
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection";
|
|
1499
|
+
value: Uint8Array;
|
|
1500
|
+
}
|
|
1501
|
+
/**
|
|
1502
|
+
* MsgUnpinCollection clears the display-only pinned marker. Idempotent on
|
|
1503
|
+
* already-unpinned collections.
|
|
1504
|
+
* @name MsgUnpinCollectionAmino
|
|
1505
|
+
* @package sparkdream.collect.v1
|
|
1506
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollection
|
|
1507
|
+
*/
|
|
1508
|
+
export interface MsgUnpinCollectionAmino {
|
|
1509
|
+
creator?: string;
|
|
1510
|
+
collection_id?: string;
|
|
1511
|
+
}
|
|
1512
|
+
export interface MsgUnpinCollectionAminoMsg {
|
|
1513
|
+
type: "sparkdream/x/collect/MsgUnpinCollection";
|
|
1514
|
+
value: MsgUnpinCollectionAmino;
|
|
1515
|
+
}
|
|
1516
|
+
/**
|
|
1517
|
+
* @name MsgUnpinCollectionResponse
|
|
1518
|
+
* @package sparkdream.collect.v1
|
|
1519
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollectionResponse
|
|
1520
|
+
*/
|
|
1521
|
+
export interface MsgUnpinCollectionResponse {
|
|
1522
|
+
}
|
|
1523
|
+
export interface MsgUnpinCollectionResponseProtoMsg {
|
|
1524
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollectionResponse";
|
|
1525
|
+
value: Uint8Array;
|
|
1526
|
+
}
|
|
1527
|
+
/**
|
|
1528
|
+
* @name MsgUnpinCollectionResponseAmino
|
|
1529
|
+
* @package sparkdream.collect.v1
|
|
1530
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollectionResponse
|
|
1531
|
+
*/
|
|
1532
|
+
export interface MsgUnpinCollectionResponseAmino {
|
|
1533
|
+
}
|
|
1534
|
+
export interface MsgUnpinCollectionResponseAminoMsg {
|
|
1535
|
+
type: "/sparkdream.collect.v1.MsgUnpinCollectionResponse";
|
|
1536
|
+
value: MsgUnpinCollectionResponseAmino;
|
|
1537
|
+
}
|
|
1538
|
+
/**
|
|
1539
|
+
* MsgMakeCollectionPermanent promotes an ephemeral collection to permanent
|
|
1540
|
+
* by burning the escrowed collection + item deposits. Gated on
|
|
1541
|
+
* params.make_permanent_min_trust_level. Idempotent on already-permanent
|
|
1542
|
+
* collections.
|
|
1543
|
+
* @name MsgMakeCollectionPermanent
|
|
1544
|
+
* @package sparkdream.collect.v1
|
|
1545
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanent
|
|
1546
|
+
*/
|
|
1547
|
+
export interface MsgMakeCollectionPermanent {
|
|
1548
|
+
creator: string;
|
|
1549
|
+
collectionId: bigint;
|
|
1550
|
+
}
|
|
1551
|
+
export interface MsgMakeCollectionPermanentProtoMsg {
|
|
1552
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent";
|
|
1553
|
+
value: Uint8Array;
|
|
1554
|
+
}
|
|
1555
|
+
/**
|
|
1556
|
+
* MsgMakeCollectionPermanent promotes an ephemeral collection to permanent
|
|
1557
|
+
* by burning the escrowed collection + item deposits. Gated on
|
|
1558
|
+
* params.make_permanent_min_trust_level. Idempotent on already-permanent
|
|
1559
|
+
* collections.
|
|
1560
|
+
* @name MsgMakeCollectionPermanentAmino
|
|
1561
|
+
* @package sparkdream.collect.v1
|
|
1562
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanent
|
|
1563
|
+
*/
|
|
1564
|
+
export interface MsgMakeCollectionPermanentAmino {
|
|
1565
|
+
creator?: string;
|
|
1566
|
+
collection_id?: string;
|
|
1567
|
+
}
|
|
1568
|
+
export interface MsgMakeCollectionPermanentAminoMsg {
|
|
1569
|
+
type: "sparkdream/x/collect/MsgMakeCollectionPermanent";
|
|
1570
|
+
value: MsgMakeCollectionPermanentAmino;
|
|
1571
|
+
}
|
|
1572
|
+
/**
|
|
1573
|
+
* @name MsgMakeCollectionPermanentResponse
|
|
1574
|
+
* @package sparkdream.collect.v1
|
|
1575
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanentResponse
|
|
1576
|
+
*/
|
|
1577
|
+
export interface MsgMakeCollectionPermanentResponse {
|
|
1578
|
+
}
|
|
1579
|
+
export interface MsgMakeCollectionPermanentResponseProtoMsg {
|
|
1580
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse";
|
|
1581
|
+
value: Uint8Array;
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* @name MsgMakeCollectionPermanentResponseAmino
|
|
1585
|
+
* @package sparkdream.collect.v1
|
|
1586
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanentResponse
|
|
1587
|
+
*/
|
|
1588
|
+
export interface MsgMakeCollectionPermanentResponseAmino {
|
|
1589
|
+
}
|
|
1590
|
+
export interface MsgMakeCollectionPermanentResponseAminoMsg {
|
|
1591
|
+
type: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse";
|
|
1592
|
+
value: MsgMakeCollectionPermanentResponseAmino;
|
|
1593
|
+
}
|
|
1482
1594
|
/**
|
|
1483
1595
|
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
1484
1596
|
* @name MsgUpdateParams
|
|
@@ -2431,7 +2543,9 @@ export declare const MsgSetSeekingEndorsementResponse: {
|
|
|
2431
2543
|
toProtoMsg(message: MsgSetSeekingEndorsementResponse): MsgSetSeekingEndorsementResponseProtoMsg;
|
|
2432
2544
|
};
|
|
2433
2545
|
/**
|
|
2434
|
-
* MsgPinCollection
|
|
2546
|
+
* MsgPinCollection sets the display-only pinned marker on a permanent
|
|
2547
|
+
* collection. Rejects ephemeral targets with ErrCannotPinEphemeral —
|
|
2548
|
+
* callers must promote via MsgMakeCollectionPermanent first.
|
|
2435
2549
|
* @name MsgPinCollection
|
|
2436
2550
|
* @package sparkdream.collect.v1
|
|
2437
2551
|
* @see proto type: sparkdream.collect.v1.MsgPinCollection
|
|
@@ -2467,3 +2581,81 @@ export declare const MsgPinCollectionResponse: {
|
|
|
2467
2581
|
toProto(message: MsgPinCollectionResponse): Uint8Array;
|
|
2468
2582
|
toProtoMsg(message: MsgPinCollectionResponse): MsgPinCollectionResponseProtoMsg;
|
|
2469
2583
|
};
|
|
2584
|
+
/**
|
|
2585
|
+
* MsgUnpinCollection clears the display-only pinned marker. Idempotent on
|
|
2586
|
+
* already-unpinned collections.
|
|
2587
|
+
* @name MsgUnpinCollection
|
|
2588
|
+
* @package sparkdream.collect.v1
|
|
2589
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollection
|
|
2590
|
+
*/
|
|
2591
|
+
export declare const MsgUnpinCollection: {
|
|
2592
|
+
typeUrl: string;
|
|
2593
|
+
aminoType: string;
|
|
2594
|
+
encode(message: MsgUnpinCollection, writer?: BinaryWriter): BinaryWriter;
|
|
2595
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgUnpinCollection;
|
|
2596
|
+
fromPartial(object: DeepPartial<MsgUnpinCollection>): MsgUnpinCollection;
|
|
2597
|
+
fromAmino(object: MsgUnpinCollectionAmino): MsgUnpinCollection;
|
|
2598
|
+
toAmino(message: MsgUnpinCollection): MsgUnpinCollectionAmino;
|
|
2599
|
+
fromAminoMsg(object: MsgUnpinCollectionAminoMsg): MsgUnpinCollection;
|
|
2600
|
+
toAminoMsg(message: MsgUnpinCollection): MsgUnpinCollectionAminoMsg;
|
|
2601
|
+
fromProtoMsg(message: MsgUnpinCollectionProtoMsg): MsgUnpinCollection;
|
|
2602
|
+
toProto(message: MsgUnpinCollection): Uint8Array;
|
|
2603
|
+
toProtoMsg(message: MsgUnpinCollection): MsgUnpinCollectionProtoMsg;
|
|
2604
|
+
};
|
|
2605
|
+
/**
|
|
2606
|
+
* @name MsgUnpinCollectionResponse
|
|
2607
|
+
* @package sparkdream.collect.v1
|
|
2608
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollectionResponse
|
|
2609
|
+
*/
|
|
2610
|
+
export declare const MsgUnpinCollectionResponse: {
|
|
2611
|
+
typeUrl: string;
|
|
2612
|
+
encode(_: MsgUnpinCollectionResponse, writer?: BinaryWriter): BinaryWriter;
|
|
2613
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgUnpinCollectionResponse;
|
|
2614
|
+
fromPartial(_: DeepPartial<MsgUnpinCollectionResponse>): MsgUnpinCollectionResponse;
|
|
2615
|
+
fromAmino(_: MsgUnpinCollectionResponseAmino): MsgUnpinCollectionResponse;
|
|
2616
|
+
toAmino(_: MsgUnpinCollectionResponse): MsgUnpinCollectionResponseAmino;
|
|
2617
|
+
fromAminoMsg(object: MsgUnpinCollectionResponseAminoMsg): MsgUnpinCollectionResponse;
|
|
2618
|
+
fromProtoMsg(message: MsgUnpinCollectionResponseProtoMsg): MsgUnpinCollectionResponse;
|
|
2619
|
+
toProto(message: MsgUnpinCollectionResponse): Uint8Array;
|
|
2620
|
+
toProtoMsg(message: MsgUnpinCollectionResponse): MsgUnpinCollectionResponseProtoMsg;
|
|
2621
|
+
};
|
|
2622
|
+
/**
|
|
2623
|
+
* MsgMakeCollectionPermanent promotes an ephemeral collection to permanent
|
|
2624
|
+
* by burning the escrowed collection + item deposits. Gated on
|
|
2625
|
+
* params.make_permanent_min_trust_level. Idempotent on already-permanent
|
|
2626
|
+
* collections.
|
|
2627
|
+
* @name MsgMakeCollectionPermanent
|
|
2628
|
+
* @package sparkdream.collect.v1
|
|
2629
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanent
|
|
2630
|
+
*/
|
|
2631
|
+
export declare const MsgMakeCollectionPermanent: {
|
|
2632
|
+
typeUrl: string;
|
|
2633
|
+
aminoType: string;
|
|
2634
|
+
encode(message: MsgMakeCollectionPermanent, writer?: BinaryWriter): BinaryWriter;
|
|
2635
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgMakeCollectionPermanent;
|
|
2636
|
+
fromPartial(object: DeepPartial<MsgMakeCollectionPermanent>): MsgMakeCollectionPermanent;
|
|
2637
|
+
fromAmino(object: MsgMakeCollectionPermanentAmino): MsgMakeCollectionPermanent;
|
|
2638
|
+
toAmino(message: MsgMakeCollectionPermanent): MsgMakeCollectionPermanentAmino;
|
|
2639
|
+
fromAminoMsg(object: MsgMakeCollectionPermanentAminoMsg): MsgMakeCollectionPermanent;
|
|
2640
|
+
toAminoMsg(message: MsgMakeCollectionPermanent): MsgMakeCollectionPermanentAminoMsg;
|
|
2641
|
+
fromProtoMsg(message: MsgMakeCollectionPermanentProtoMsg): MsgMakeCollectionPermanent;
|
|
2642
|
+
toProto(message: MsgMakeCollectionPermanent): Uint8Array;
|
|
2643
|
+
toProtoMsg(message: MsgMakeCollectionPermanent): MsgMakeCollectionPermanentProtoMsg;
|
|
2644
|
+
};
|
|
2645
|
+
/**
|
|
2646
|
+
* @name MsgMakeCollectionPermanentResponse
|
|
2647
|
+
* @package sparkdream.collect.v1
|
|
2648
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanentResponse
|
|
2649
|
+
*/
|
|
2650
|
+
export declare const MsgMakeCollectionPermanentResponse: {
|
|
2651
|
+
typeUrl: string;
|
|
2652
|
+
encode(_: MsgMakeCollectionPermanentResponse, writer?: BinaryWriter): BinaryWriter;
|
|
2653
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgMakeCollectionPermanentResponse;
|
|
2654
|
+
fromPartial(_: DeepPartial<MsgMakeCollectionPermanentResponse>): MsgMakeCollectionPermanentResponse;
|
|
2655
|
+
fromAmino(_: MsgMakeCollectionPermanentResponseAmino): MsgMakeCollectionPermanentResponse;
|
|
2656
|
+
toAmino(_: MsgMakeCollectionPermanentResponse): MsgMakeCollectionPermanentResponseAmino;
|
|
2657
|
+
fromAminoMsg(object: MsgMakeCollectionPermanentResponseAminoMsg): MsgMakeCollectionPermanentResponse;
|
|
2658
|
+
fromProtoMsg(message: MsgMakeCollectionPermanentResponseProtoMsg): MsgMakeCollectionPermanentResponse;
|
|
2659
|
+
toProto(message: MsgMakeCollectionPermanentResponse): Uint8Array;
|
|
2660
|
+
toProtoMsg(message: MsgMakeCollectionPermanentResponse): MsgMakeCollectionPermanentResponseProtoMsg;
|
|
2661
|
+
};
|