@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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgCreatePost, MsgUpdatePost, MsgDeletePost, MsgHidePost, MsgUnhidePost, MsgCreateReply, MsgUpdateReply, MsgDeleteReply, MsgHideReply, MsgUnhideReply, MsgReact, MsgRemoveReaction, MsgPinPost, MsgPinReply } from "./tx";
|
|
2
|
-
export const registry = [["/sparkdream.blog.v1.MsgUpdateParams", MsgUpdateParams], ["/sparkdream.blog.v1.MsgUpdateOperationalParams", MsgUpdateOperationalParams], ["/sparkdream.blog.v1.MsgCreatePost", MsgCreatePost], ["/sparkdream.blog.v1.MsgUpdatePost", MsgUpdatePost], ["/sparkdream.blog.v1.MsgDeletePost", MsgDeletePost], ["/sparkdream.blog.v1.MsgHidePost", MsgHidePost], ["/sparkdream.blog.v1.MsgUnhidePost", MsgUnhidePost], ["/sparkdream.blog.v1.MsgCreateReply", MsgCreateReply], ["/sparkdream.blog.v1.MsgUpdateReply", MsgUpdateReply], ["/sparkdream.blog.v1.MsgDeleteReply", MsgDeleteReply], ["/sparkdream.blog.v1.MsgHideReply", MsgHideReply], ["/sparkdream.blog.v1.MsgUnhideReply", MsgUnhideReply], ["/sparkdream.blog.v1.MsgReact", MsgReact], ["/sparkdream.blog.v1.MsgRemoveReaction", MsgRemoveReaction], ["/sparkdream.blog.v1.MsgPinPost", MsgPinPost], ["/sparkdream.blog.v1.MsgPinReply", MsgPinReply]];
|
|
1
|
+
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgCreatePost, MsgUpdatePost, MsgDeletePost, MsgHidePost, MsgUnhidePost, MsgCreateReply, MsgUpdateReply, MsgDeleteReply, MsgHideReply, MsgUnhideReply, MsgReact, MsgRemoveReaction, MsgMakePostPermanent, MsgMakeReplyPermanent, MsgPinPost, MsgUnpinPost, MsgPinReply, MsgUnpinReply } from "./tx";
|
|
2
|
+
export const registry = [["/sparkdream.blog.v1.MsgUpdateParams", MsgUpdateParams], ["/sparkdream.blog.v1.MsgUpdateOperationalParams", MsgUpdateOperationalParams], ["/sparkdream.blog.v1.MsgCreatePost", MsgCreatePost], ["/sparkdream.blog.v1.MsgUpdatePost", MsgUpdatePost], ["/sparkdream.blog.v1.MsgDeletePost", MsgDeletePost], ["/sparkdream.blog.v1.MsgHidePost", MsgHidePost], ["/sparkdream.blog.v1.MsgUnhidePost", MsgUnhidePost], ["/sparkdream.blog.v1.MsgCreateReply", MsgCreateReply], ["/sparkdream.blog.v1.MsgUpdateReply", MsgUpdateReply], ["/sparkdream.blog.v1.MsgDeleteReply", MsgDeleteReply], ["/sparkdream.blog.v1.MsgHideReply", MsgHideReply], ["/sparkdream.blog.v1.MsgUnhideReply", MsgUnhideReply], ["/sparkdream.blog.v1.MsgReact", MsgReact], ["/sparkdream.blog.v1.MsgRemoveReaction", MsgRemoveReaction], ["/sparkdream.blog.v1.MsgMakePostPermanent", MsgMakePostPermanent], ["/sparkdream.blog.v1.MsgMakeReplyPermanent", MsgMakeReplyPermanent], ["/sparkdream.blog.v1.MsgPinPost", MsgPinPost], ["/sparkdream.blog.v1.MsgUnpinPost", MsgUnpinPost], ["/sparkdream.blog.v1.MsgPinReply", MsgPinReply], ["/sparkdream.blog.v1.MsgUnpinReply", MsgUnpinReply]];
|
|
3
3
|
export const load = (protoRegistry) => {
|
|
4
4
|
registry.forEach(([typeUrl, mod]) => {
|
|
5
5
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -91,17 +91,41 @@ export const MessageComposer = {
|
|
|
91
91
|
value: MsgRemoveReaction.encode(value).finish()
|
|
92
92
|
};
|
|
93
93
|
},
|
|
94
|
+
makePostPermanent(value) {
|
|
95
|
+
return {
|
|
96
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakePostPermanent",
|
|
97
|
+
value: MsgMakePostPermanent.encode(value).finish()
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
makeReplyPermanent(value) {
|
|
101
|
+
return {
|
|
102
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakeReplyPermanent",
|
|
103
|
+
value: MsgMakeReplyPermanent.encode(value).finish()
|
|
104
|
+
};
|
|
105
|
+
},
|
|
94
106
|
pinPost(value) {
|
|
95
107
|
return {
|
|
96
108
|
typeUrl: "/sparkdream.blog.v1.MsgPinPost",
|
|
97
109
|
value: MsgPinPost.encode(value).finish()
|
|
98
110
|
};
|
|
99
111
|
},
|
|
112
|
+
unpinPost(value) {
|
|
113
|
+
return {
|
|
114
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinPost",
|
|
115
|
+
value: MsgUnpinPost.encode(value).finish()
|
|
116
|
+
};
|
|
117
|
+
},
|
|
100
118
|
pinReply(value) {
|
|
101
119
|
return {
|
|
102
120
|
typeUrl: "/sparkdream.blog.v1.MsgPinReply",
|
|
103
121
|
value: MsgPinReply.encode(value).finish()
|
|
104
122
|
};
|
|
123
|
+
},
|
|
124
|
+
unpinReply(value) {
|
|
125
|
+
return {
|
|
126
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinReply",
|
|
127
|
+
value: MsgUnpinReply.encode(value).finish()
|
|
128
|
+
};
|
|
105
129
|
}
|
|
106
130
|
},
|
|
107
131
|
withTypeUrl: {
|
|
@@ -189,17 +213,41 @@ export const MessageComposer = {
|
|
|
189
213
|
value
|
|
190
214
|
};
|
|
191
215
|
},
|
|
216
|
+
makePostPermanent(value) {
|
|
217
|
+
return {
|
|
218
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakePostPermanent",
|
|
219
|
+
value
|
|
220
|
+
};
|
|
221
|
+
},
|
|
222
|
+
makeReplyPermanent(value) {
|
|
223
|
+
return {
|
|
224
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakeReplyPermanent",
|
|
225
|
+
value
|
|
226
|
+
};
|
|
227
|
+
},
|
|
192
228
|
pinPost(value) {
|
|
193
229
|
return {
|
|
194
230
|
typeUrl: "/sparkdream.blog.v1.MsgPinPost",
|
|
195
231
|
value
|
|
196
232
|
};
|
|
197
233
|
},
|
|
234
|
+
unpinPost(value) {
|
|
235
|
+
return {
|
|
236
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinPost",
|
|
237
|
+
value
|
|
238
|
+
};
|
|
239
|
+
},
|
|
198
240
|
pinReply(value) {
|
|
199
241
|
return {
|
|
200
242
|
typeUrl: "/sparkdream.blog.v1.MsgPinReply",
|
|
201
243
|
value
|
|
202
244
|
};
|
|
245
|
+
},
|
|
246
|
+
unpinReply(value) {
|
|
247
|
+
return {
|
|
248
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinReply",
|
|
249
|
+
value
|
|
250
|
+
};
|
|
203
251
|
}
|
|
204
252
|
},
|
|
205
253
|
fromPartial: {
|
|
@@ -287,17 +335,41 @@ export const MessageComposer = {
|
|
|
287
335
|
value: MsgRemoveReaction.fromPartial(value)
|
|
288
336
|
};
|
|
289
337
|
},
|
|
338
|
+
makePostPermanent(value) {
|
|
339
|
+
return {
|
|
340
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakePostPermanent",
|
|
341
|
+
value: MsgMakePostPermanent.fromPartial(value)
|
|
342
|
+
};
|
|
343
|
+
},
|
|
344
|
+
makeReplyPermanent(value) {
|
|
345
|
+
return {
|
|
346
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakeReplyPermanent",
|
|
347
|
+
value: MsgMakeReplyPermanent.fromPartial(value)
|
|
348
|
+
};
|
|
349
|
+
},
|
|
290
350
|
pinPost(value) {
|
|
291
351
|
return {
|
|
292
352
|
typeUrl: "/sparkdream.blog.v1.MsgPinPost",
|
|
293
353
|
value: MsgPinPost.fromPartial(value)
|
|
294
354
|
};
|
|
295
355
|
},
|
|
356
|
+
unpinPost(value) {
|
|
357
|
+
return {
|
|
358
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinPost",
|
|
359
|
+
value: MsgUnpinPost.fromPartial(value)
|
|
360
|
+
};
|
|
361
|
+
},
|
|
296
362
|
pinReply(value) {
|
|
297
363
|
return {
|
|
298
364
|
typeUrl: "/sparkdream.blog.v1.MsgPinReply",
|
|
299
365
|
value: MsgPinReply.fromPartial(value)
|
|
300
366
|
};
|
|
367
|
+
},
|
|
368
|
+
unpinReply(value) {
|
|
369
|
+
return {
|
|
370
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinReply",
|
|
371
|
+
value: MsgUnpinReply.fromPartial(value)
|
|
372
|
+
};
|
|
301
373
|
}
|
|
302
374
|
}
|
|
303
375
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinaryReader } from "../../../binary";
|
|
2
|
-
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgCreatePost, MsgCreatePostResponse, MsgUpdatePost, MsgUpdatePostResponse, MsgDeletePost, MsgDeletePostResponse, MsgHidePost, MsgHidePostResponse, MsgUnhidePost, MsgUnhidePostResponse, MsgCreateReply, MsgCreateReplyResponse, MsgUpdateReply, MsgUpdateReplyResponse, MsgDeleteReply, MsgDeleteReplyResponse, MsgHideReply, MsgHideReplyResponse, MsgUnhideReply, MsgUnhideReplyResponse, MsgReact, MsgReactResponse, MsgRemoveReaction, MsgRemoveReactionResponse, MsgPinPost, MsgPinPostResponse, MsgPinReply, MsgPinReplyResponse } from "./tx";
|
|
2
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgCreatePost, MsgCreatePostResponse, MsgUpdatePost, MsgUpdatePostResponse, MsgDeletePost, MsgDeletePostResponse, MsgHidePost, MsgHidePostResponse, MsgUnhidePost, MsgUnhidePostResponse, MsgCreateReply, MsgCreateReplyResponse, MsgUpdateReply, MsgUpdateReplyResponse, MsgDeleteReply, MsgDeleteReplyResponse, MsgHideReply, MsgHideReplyResponse, MsgUnhideReply, MsgUnhideReplyResponse, MsgReact, MsgReactResponse, MsgRemoveReaction, MsgRemoveReactionResponse, MsgMakePostPermanent, MsgMakePostPermanentResponse, MsgMakeReplyPermanent, MsgMakeReplyPermanentResponse, MsgPinPost, MsgPinPostResponse, MsgUnpinPost, MsgUnpinPostResponse, MsgPinReply, MsgPinReplyResponse, MsgUnpinReply, MsgUnpinReplyResponse } from "./tx";
|
|
3
3
|
export class MsgClientImpl {
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
@@ -91,18 +91,48 @@ export class MsgClientImpl {
|
|
|
91
91
|
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "RemoveReaction", data);
|
|
92
92
|
return promise.then(data => MsgRemoveReactionResponse.decode(new BinaryReader(data)));
|
|
93
93
|
};
|
|
94
|
-
/*
|
|
94
|
+
/* MakePostPermanent promotes an ephemeral post to permanent by clearing
|
|
95
|
+
expires_at and removing the expiry-index entry. Idempotent on already-
|
|
96
|
+
permanent posts. Display markers (pinned_by) are untouched. Gated on
|
|
97
|
+
params.pin_min_trust_level and shares the per-day pin rate-limit counter. */
|
|
98
|
+
makePostPermanent = async (request) => {
|
|
99
|
+
const data = MsgMakePostPermanent.encode(request).finish();
|
|
100
|
+
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "MakePostPermanent", data);
|
|
101
|
+
return promise.then(data => MsgMakePostPermanentResponse.decode(new BinaryReader(data)));
|
|
102
|
+
};
|
|
103
|
+
/* MakeReplyPermanent mirrors MakePostPermanent for replies. */
|
|
104
|
+
makeReplyPermanent = async (request) => {
|
|
105
|
+
const data = MsgMakeReplyPermanent.encode(request).finish();
|
|
106
|
+
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "MakeReplyPermanent", data);
|
|
107
|
+
return promise.then(data => MsgMakeReplyPermanentResponse.decode(new BinaryReader(data)));
|
|
108
|
+
};
|
|
109
|
+
/* PinPost sets the pinned marker on a post (curator "feature this"). The
|
|
110
|
+
post must already be permanent — call MakePostPermanent first to promote
|
|
111
|
+
ephemeral content. Gated on params.pin_min_trust_level. */
|
|
95
112
|
pinPost = async (request) => {
|
|
96
113
|
const data = MsgPinPost.encode(request).finish();
|
|
97
114
|
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "PinPost", data);
|
|
98
115
|
return promise.then(data => MsgPinPostResponse.decode(new BinaryReader(data)));
|
|
99
116
|
};
|
|
100
|
-
/*
|
|
117
|
+
/* UnpinPost clears the pinned marker on a post. The post stays permanent.
|
|
118
|
+
Gated on the same trust level as Pin. */
|
|
119
|
+
unpinPost = async (request) => {
|
|
120
|
+
const data = MsgUnpinPost.encode(request).finish();
|
|
121
|
+
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "UnpinPost", data);
|
|
122
|
+
return promise.then(data => MsgUnpinPostResponse.decode(new BinaryReader(data)));
|
|
123
|
+
};
|
|
124
|
+
/* PinReply mirrors PinPost. Requires the reply to already be permanent. */
|
|
101
125
|
pinReply = async (request) => {
|
|
102
126
|
const data = MsgPinReply.encode(request).finish();
|
|
103
127
|
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "PinReply", data);
|
|
104
128
|
return promise.then(data => MsgPinReplyResponse.decode(new BinaryReader(data)));
|
|
105
129
|
};
|
|
130
|
+
/* UnpinReply clears the pinned marker on a reply. The reply stays permanent. */
|
|
131
|
+
unpinReply = async (request) => {
|
|
132
|
+
const data = MsgUnpinReply.encode(request).finish();
|
|
133
|
+
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "UnpinReply", data);
|
|
134
|
+
return promise.then(data => MsgUnpinReplyResponse.decode(new BinaryReader(data)));
|
|
135
|
+
};
|
|
106
136
|
}
|
|
107
137
|
export const createClientImpl = (rpc) => {
|
|
108
138
|
return new MsgClientImpl(rpc);
|
|
@@ -64,7 +64,16 @@ function createBaseParams() {
|
|
|
64
64
|
curatorDemotionCooldown: BigInt(0),
|
|
65
65
|
curatorDemotionThreshold: "",
|
|
66
66
|
curatorOverturnDemotionStreak: BigInt(0),
|
|
67
|
-
curatorUnbondCooldown: BigInt(0)
|
|
67
|
+
curatorUnbondCooldown: BigInt(0),
|
|
68
|
+
makePermanentMinTrustLevel: 0,
|
|
69
|
+
maxMakePermanentPerDay: 0,
|
|
70
|
+
nonMemberCollabDreamStake: "",
|
|
71
|
+
nonMemberCollabBurnFraction: "",
|
|
72
|
+
maxNonMemberCollaboratorsPerCollection: 0,
|
|
73
|
+
maxPromotionsPerBlock: 0,
|
|
74
|
+
endorserRepPenalty: "",
|
|
75
|
+
collabInviterRepPenalty: "",
|
|
76
|
+
authorRepPenalty: ""
|
|
68
77
|
};
|
|
69
78
|
}
|
|
70
79
|
/**
|
|
@@ -263,6 +272,33 @@ export const Params = {
|
|
|
263
272
|
if (message.curatorUnbondCooldown !== BigInt(0)) {
|
|
264
273
|
writer.uint32(528).int64(message.curatorUnbondCooldown);
|
|
265
274
|
}
|
|
275
|
+
if (message.makePermanentMinTrustLevel !== 0) {
|
|
276
|
+
writer.uint32(536).uint32(message.makePermanentMinTrustLevel);
|
|
277
|
+
}
|
|
278
|
+
if (message.maxMakePermanentPerDay !== 0) {
|
|
279
|
+
writer.uint32(600).uint32(message.maxMakePermanentPerDay);
|
|
280
|
+
}
|
|
281
|
+
if (message.nonMemberCollabDreamStake !== "") {
|
|
282
|
+
writer.uint32(546).string(message.nonMemberCollabDreamStake);
|
|
283
|
+
}
|
|
284
|
+
if (message.nonMemberCollabBurnFraction !== "") {
|
|
285
|
+
writer.uint32(554).string(Decimal.fromUserInput(message.nonMemberCollabBurnFraction, 18).atomics);
|
|
286
|
+
}
|
|
287
|
+
if (message.maxNonMemberCollaboratorsPerCollection !== 0) {
|
|
288
|
+
writer.uint32(560).uint32(message.maxNonMemberCollaboratorsPerCollection);
|
|
289
|
+
}
|
|
290
|
+
if (message.maxPromotionsPerBlock !== 0) {
|
|
291
|
+
writer.uint32(568).uint32(message.maxPromotionsPerBlock);
|
|
292
|
+
}
|
|
293
|
+
if (message.endorserRepPenalty !== "") {
|
|
294
|
+
writer.uint32(578).string(Decimal.fromUserInput(message.endorserRepPenalty, 18).atomics);
|
|
295
|
+
}
|
|
296
|
+
if (message.collabInviterRepPenalty !== "") {
|
|
297
|
+
writer.uint32(586).string(Decimal.fromUserInput(message.collabInviterRepPenalty, 18).atomics);
|
|
298
|
+
}
|
|
299
|
+
if (message.authorRepPenalty !== "") {
|
|
300
|
+
writer.uint32(594).string(Decimal.fromUserInput(message.authorRepPenalty, 18).atomics);
|
|
301
|
+
}
|
|
266
302
|
return writer;
|
|
267
303
|
},
|
|
268
304
|
decode(input, length) {
|
|
@@ -458,6 +494,33 @@ export const Params = {
|
|
|
458
494
|
case 66:
|
|
459
495
|
message.curatorUnbondCooldown = reader.int64();
|
|
460
496
|
break;
|
|
497
|
+
case 67:
|
|
498
|
+
message.makePermanentMinTrustLevel = reader.uint32();
|
|
499
|
+
break;
|
|
500
|
+
case 75:
|
|
501
|
+
message.maxMakePermanentPerDay = reader.uint32();
|
|
502
|
+
break;
|
|
503
|
+
case 68:
|
|
504
|
+
message.nonMemberCollabDreamStake = reader.string();
|
|
505
|
+
break;
|
|
506
|
+
case 69:
|
|
507
|
+
message.nonMemberCollabBurnFraction = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
508
|
+
break;
|
|
509
|
+
case 70:
|
|
510
|
+
message.maxNonMemberCollaboratorsPerCollection = reader.uint32();
|
|
511
|
+
break;
|
|
512
|
+
case 71:
|
|
513
|
+
message.maxPromotionsPerBlock = reader.uint32();
|
|
514
|
+
break;
|
|
515
|
+
case 72:
|
|
516
|
+
message.endorserRepPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
517
|
+
break;
|
|
518
|
+
case 73:
|
|
519
|
+
message.collabInviterRepPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
520
|
+
break;
|
|
521
|
+
case 74:
|
|
522
|
+
message.authorRepPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
523
|
+
break;
|
|
461
524
|
default:
|
|
462
525
|
reader.skipType(tag & 7);
|
|
463
526
|
break;
|
|
@@ -529,6 +592,15 @@ export const Params = {
|
|
|
529
592
|
message.curatorDemotionThreshold = object.curatorDemotionThreshold ?? "";
|
|
530
593
|
message.curatorOverturnDemotionStreak = object.curatorOverturnDemotionStreak !== undefined && object.curatorOverturnDemotionStreak !== null ? BigInt(object.curatorOverturnDemotionStreak.toString()) : BigInt(0);
|
|
531
594
|
message.curatorUnbondCooldown = object.curatorUnbondCooldown !== undefined && object.curatorUnbondCooldown !== null ? BigInt(object.curatorUnbondCooldown.toString()) : BigInt(0);
|
|
595
|
+
message.makePermanentMinTrustLevel = object.makePermanentMinTrustLevel ?? 0;
|
|
596
|
+
message.maxMakePermanentPerDay = object.maxMakePermanentPerDay ?? 0;
|
|
597
|
+
message.nonMemberCollabDreamStake = object.nonMemberCollabDreamStake ?? "";
|
|
598
|
+
message.nonMemberCollabBurnFraction = object.nonMemberCollabBurnFraction ?? "";
|
|
599
|
+
message.maxNonMemberCollaboratorsPerCollection = object.maxNonMemberCollaboratorsPerCollection ?? 0;
|
|
600
|
+
message.maxPromotionsPerBlock = object.maxPromotionsPerBlock ?? 0;
|
|
601
|
+
message.endorserRepPenalty = object.endorserRepPenalty ?? "";
|
|
602
|
+
message.collabInviterRepPenalty = object.collabInviterRepPenalty ?? "";
|
|
603
|
+
message.authorRepPenalty = object.authorRepPenalty ?? "";
|
|
532
604
|
return message;
|
|
533
605
|
},
|
|
534
606
|
fromAmino(object) {
|
|
@@ -719,6 +791,33 @@ export const Params = {
|
|
|
719
791
|
if (object.curator_unbond_cooldown !== undefined && object.curator_unbond_cooldown !== null) {
|
|
720
792
|
message.curatorUnbondCooldown = BigInt(object.curator_unbond_cooldown);
|
|
721
793
|
}
|
|
794
|
+
if (object.make_permanent_min_trust_level !== undefined && object.make_permanent_min_trust_level !== null) {
|
|
795
|
+
message.makePermanentMinTrustLevel = object.make_permanent_min_trust_level;
|
|
796
|
+
}
|
|
797
|
+
if (object.max_make_permanent_per_day !== undefined && object.max_make_permanent_per_day !== null) {
|
|
798
|
+
message.maxMakePermanentPerDay = object.max_make_permanent_per_day;
|
|
799
|
+
}
|
|
800
|
+
if (object.non_member_collab_dream_stake !== undefined && object.non_member_collab_dream_stake !== null) {
|
|
801
|
+
message.nonMemberCollabDreamStake = object.non_member_collab_dream_stake;
|
|
802
|
+
}
|
|
803
|
+
if (object.non_member_collab_burn_fraction !== undefined && object.non_member_collab_burn_fraction !== null) {
|
|
804
|
+
message.nonMemberCollabBurnFraction = object.non_member_collab_burn_fraction;
|
|
805
|
+
}
|
|
806
|
+
if (object.max_non_member_collaborators_per_collection !== undefined && object.max_non_member_collaborators_per_collection !== null) {
|
|
807
|
+
message.maxNonMemberCollaboratorsPerCollection = object.max_non_member_collaborators_per_collection;
|
|
808
|
+
}
|
|
809
|
+
if (object.max_promotions_per_block !== undefined && object.max_promotions_per_block !== null) {
|
|
810
|
+
message.maxPromotionsPerBlock = object.max_promotions_per_block;
|
|
811
|
+
}
|
|
812
|
+
if (object.endorser_rep_penalty !== undefined && object.endorser_rep_penalty !== null) {
|
|
813
|
+
message.endorserRepPenalty = object.endorser_rep_penalty;
|
|
814
|
+
}
|
|
815
|
+
if (object.collab_inviter_rep_penalty !== undefined && object.collab_inviter_rep_penalty !== null) {
|
|
816
|
+
message.collabInviterRepPenalty = object.collab_inviter_rep_penalty;
|
|
817
|
+
}
|
|
818
|
+
if (object.author_rep_penalty !== undefined && object.author_rep_penalty !== null) {
|
|
819
|
+
message.authorRepPenalty = object.author_rep_penalty;
|
|
820
|
+
}
|
|
722
821
|
return message;
|
|
723
822
|
},
|
|
724
823
|
toAmino(message) {
|
|
@@ -785,6 +884,15 @@ export const Params = {
|
|
|
785
884
|
obj.curator_demotion_threshold = message.curatorDemotionThreshold === "" ? undefined : message.curatorDemotionThreshold;
|
|
786
885
|
obj.curator_overturn_demotion_streak = message.curatorOverturnDemotionStreak !== BigInt(0) ? message.curatorOverturnDemotionStreak?.toString() : undefined;
|
|
787
886
|
obj.curator_unbond_cooldown = message.curatorUnbondCooldown !== BigInt(0) ? message.curatorUnbondCooldown?.toString() : undefined;
|
|
887
|
+
obj.make_permanent_min_trust_level = message.makePermanentMinTrustLevel === 0 ? undefined : message.makePermanentMinTrustLevel;
|
|
888
|
+
obj.max_make_permanent_per_day = message.maxMakePermanentPerDay === 0 ? undefined : message.maxMakePermanentPerDay;
|
|
889
|
+
obj.non_member_collab_dream_stake = message.nonMemberCollabDreamStake === "" ? undefined : message.nonMemberCollabDreamStake;
|
|
890
|
+
obj.non_member_collab_burn_fraction = message.nonMemberCollabBurnFraction === "" ? undefined : message.nonMemberCollabBurnFraction;
|
|
891
|
+
obj.max_non_member_collaborators_per_collection = message.maxNonMemberCollaboratorsPerCollection === 0 ? undefined : message.maxNonMemberCollaboratorsPerCollection;
|
|
892
|
+
obj.max_promotions_per_block = message.maxPromotionsPerBlock === 0 ? undefined : message.maxPromotionsPerBlock;
|
|
893
|
+
obj.endorser_rep_penalty = message.endorserRepPenalty === "" ? undefined : message.endorserRepPenalty;
|
|
894
|
+
obj.collab_inviter_rep_penalty = message.collabInviterRepPenalty === "" ? undefined : message.collabInviterRepPenalty;
|
|
895
|
+
obj.author_rep_penalty = message.authorRepPenalty === "" ? undefined : message.authorRepPenalty;
|
|
788
896
|
return obj;
|
|
789
897
|
},
|
|
790
898
|
fromAminoMsg(object) {
|
|
@@ -4546,7 +4546,9 @@ function createBaseMsgPinCollection() {
|
|
|
4546
4546
|
};
|
|
4547
4547
|
}
|
|
4548
4548
|
/**
|
|
4549
|
-
* MsgPinCollection
|
|
4549
|
+
* MsgPinCollection sets the display-only pinned marker on a permanent
|
|
4550
|
+
* collection. Rejects ephemeral targets with ErrCannotPinEphemeral —
|
|
4551
|
+
* callers must promote via MsgMakeCollectionPermanent first.
|
|
4550
4552
|
* @name MsgPinCollection
|
|
4551
4553
|
* @package sparkdream.collect.v1
|
|
4552
4554
|
* @see proto type: sparkdream.collect.v1.MsgPinCollection
|
|
@@ -4682,3 +4684,293 @@ export const MsgPinCollectionResponse = {
|
|
|
4682
4684
|
};
|
|
4683
4685
|
}
|
|
4684
4686
|
};
|
|
4687
|
+
function createBaseMsgUnpinCollection() {
|
|
4688
|
+
return {
|
|
4689
|
+
creator: "",
|
|
4690
|
+
collectionId: BigInt(0)
|
|
4691
|
+
};
|
|
4692
|
+
}
|
|
4693
|
+
/**
|
|
4694
|
+
* MsgUnpinCollection clears the display-only pinned marker. Idempotent on
|
|
4695
|
+
* already-unpinned collections.
|
|
4696
|
+
* @name MsgUnpinCollection
|
|
4697
|
+
* @package sparkdream.collect.v1
|
|
4698
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollection
|
|
4699
|
+
*/
|
|
4700
|
+
export const MsgUnpinCollection = {
|
|
4701
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
|
|
4702
|
+
aminoType: "sparkdream/x/collect/MsgUnpinCollection",
|
|
4703
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
4704
|
+
if (message.creator !== "") {
|
|
4705
|
+
writer.uint32(10).string(message.creator);
|
|
4706
|
+
}
|
|
4707
|
+
if (message.collectionId !== BigInt(0)) {
|
|
4708
|
+
writer.uint32(16).uint64(message.collectionId);
|
|
4709
|
+
}
|
|
4710
|
+
return writer;
|
|
4711
|
+
},
|
|
4712
|
+
decode(input, length) {
|
|
4713
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4714
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4715
|
+
const message = createBaseMsgUnpinCollection();
|
|
4716
|
+
while (reader.pos < end) {
|
|
4717
|
+
const tag = reader.uint32();
|
|
4718
|
+
switch (tag >>> 3) {
|
|
4719
|
+
case 1:
|
|
4720
|
+
message.creator = reader.string();
|
|
4721
|
+
break;
|
|
4722
|
+
case 2:
|
|
4723
|
+
message.collectionId = reader.uint64();
|
|
4724
|
+
break;
|
|
4725
|
+
default:
|
|
4726
|
+
reader.skipType(tag & 7);
|
|
4727
|
+
break;
|
|
4728
|
+
}
|
|
4729
|
+
}
|
|
4730
|
+
return message;
|
|
4731
|
+
},
|
|
4732
|
+
fromPartial(object) {
|
|
4733
|
+
const message = createBaseMsgUnpinCollection();
|
|
4734
|
+
message.creator = object.creator ?? "";
|
|
4735
|
+
message.collectionId = object.collectionId !== undefined && object.collectionId !== null ? BigInt(object.collectionId.toString()) : BigInt(0);
|
|
4736
|
+
return message;
|
|
4737
|
+
},
|
|
4738
|
+
fromAmino(object) {
|
|
4739
|
+
const message = createBaseMsgUnpinCollection();
|
|
4740
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
4741
|
+
message.creator = object.creator;
|
|
4742
|
+
}
|
|
4743
|
+
if (object.collection_id !== undefined && object.collection_id !== null) {
|
|
4744
|
+
message.collectionId = BigInt(object.collection_id);
|
|
4745
|
+
}
|
|
4746
|
+
return message;
|
|
4747
|
+
},
|
|
4748
|
+
toAmino(message) {
|
|
4749
|
+
const obj = {};
|
|
4750
|
+
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
4751
|
+
obj.collection_id = message.collectionId !== BigInt(0) ? message.collectionId?.toString() : undefined;
|
|
4752
|
+
return obj;
|
|
4753
|
+
},
|
|
4754
|
+
fromAminoMsg(object) {
|
|
4755
|
+
return MsgUnpinCollection.fromAmino(object.value);
|
|
4756
|
+
},
|
|
4757
|
+
toAminoMsg(message) {
|
|
4758
|
+
return {
|
|
4759
|
+
type: "sparkdream/x/collect/MsgUnpinCollection",
|
|
4760
|
+
value: MsgUnpinCollection.toAmino(message)
|
|
4761
|
+
};
|
|
4762
|
+
},
|
|
4763
|
+
fromProtoMsg(message) {
|
|
4764
|
+
return MsgUnpinCollection.decode(message.value);
|
|
4765
|
+
},
|
|
4766
|
+
toProto(message) {
|
|
4767
|
+
return MsgUnpinCollection.encode(message).finish();
|
|
4768
|
+
},
|
|
4769
|
+
toProtoMsg(message) {
|
|
4770
|
+
return {
|
|
4771
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
|
|
4772
|
+
value: MsgUnpinCollection.encode(message).finish()
|
|
4773
|
+
};
|
|
4774
|
+
}
|
|
4775
|
+
};
|
|
4776
|
+
function createBaseMsgUnpinCollectionResponse() {
|
|
4777
|
+
return {};
|
|
4778
|
+
}
|
|
4779
|
+
/**
|
|
4780
|
+
* @name MsgUnpinCollectionResponse
|
|
4781
|
+
* @package sparkdream.collect.v1
|
|
4782
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollectionResponse
|
|
4783
|
+
*/
|
|
4784
|
+
export const MsgUnpinCollectionResponse = {
|
|
4785
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollectionResponse",
|
|
4786
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
4787
|
+
return writer;
|
|
4788
|
+
},
|
|
4789
|
+
decode(input, length) {
|
|
4790
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4791
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4792
|
+
const message = createBaseMsgUnpinCollectionResponse();
|
|
4793
|
+
while (reader.pos < end) {
|
|
4794
|
+
const tag = reader.uint32();
|
|
4795
|
+
switch (tag >>> 3) {
|
|
4796
|
+
default:
|
|
4797
|
+
reader.skipType(tag & 7);
|
|
4798
|
+
break;
|
|
4799
|
+
}
|
|
4800
|
+
}
|
|
4801
|
+
return message;
|
|
4802
|
+
},
|
|
4803
|
+
fromPartial(_) {
|
|
4804
|
+
const message = createBaseMsgUnpinCollectionResponse();
|
|
4805
|
+
return message;
|
|
4806
|
+
},
|
|
4807
|
+
fromAmino(_) {
|
|
4808
|
+
const message = createBaseMsgUnpinCollectionResponse();
|
|
4809
|
+
return message;
|
|
4810
|
+
},
|
|
4811
|
+
toAmino(_) {
|
|
4812
|
+
const obj = {};
|
|
4813
|
+
return obj;
|
|
4814
|
+
},
|
|
4815
|
+
fromAminoMsg(object) {
|
|
4816
|
+
return MsgUnpinCollectionResponse.fromAmino(object.value);
|
|
4817
|
+
},
|
|
4818
|
+
fromProtoMsg(message) {
|
|
4819
|
+
return MsgUnpinCollectionResponse.decode(message.value);
|
|
4820
|
+
},
|
|
4821
|
+
toProto(message) {
|
|
4822
|
+
return MsgUnpinCollectionResponse.encode(message).finish();
|
|
4823
|
+
},
|
|
4824
|
+
toProtoMsg(message) {
|
|
4825
|
+
return {
|
|
4826
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollectionResponse",
|
|
4827
|
+
value: MsgUnpinCollectionResponse.encode(message).finish()
|
|
4828
|
+
};
|
|
4829
|
+
}
|
|
4830
|
+
};
|
|
4831
|
+
function createBaseMsgMakeCollectionPermanent() {
|
|
4832
|
+
return {
|
|
4833
|
+
creator: "",
|
|
4834
|
+
collectionId: BigInt(0)
|
|
4835
|
+
};
|
|
4836
|
+
}
|
|
4837
|
+
/**
|
|
4838
|
+
* MsgMakeCollectionPermanent promotes an ephemeral collection to permanent
|
|
4839
|
+
* by burning the escrowed collection + item deposits. Gated on
|
|
4840
|
+
* params.make_permanent_min_trust_level. Idempotent on already-permanent
|
|
4841
|
+
* collections.
|
|
4842
|
+
* @name MsgMakeCollectionPermanent
|
|
4843
|
+
* @package sparkdream.collect.v1
|
|
4844
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanent
|
|
4845
|
+
*/
|
|
4846
|
+
export const MsgMakeCollectionPermanent = {
|
|
4847
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
|
|
4848
|
+
aminoType: "sparkdream/x/collect/MsgMakeCollectionPermanent",
|
|
4849
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
4850
|
+
if (message.creator !== "") {
|
|
4851
|
+
writer.uint32(10).string(message.creator);
|
|
4852
|
+
}
|
|
4853
|
+
if (message.collectionId !== BigInt(0)) {
|
|
4854
|
+
writer.uint32(16).uint64(message.collectionId);
|
|
4855
|
+
}
|
|
4856
|
+
return writer;
|
|
4857
|
+
},
|
|
4858
|
+
decode(input, length) {
|
|
4859
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4860
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4861
|
+
const message = createBaseMsgMakeCollectionPermanent();
|
|
4862
|
+
while (reader.pos < end) {
|
|
4863
|
+
const tag = reader.uint32();
|
|
4864
|
+
switch (tag >>> 3) {
|
|
4865
|
+
case 1:
|
|
4866
|
+
message.creator = reader.string();
|
|
4867
|
+
break;
|
|
4868
|
+
case 2:
|
|
4869
|
+
message.collectionId = reader.uint64();
|
|
4870
|
+
break;
|
|
4871
|
+
default:
|
|
4872
|
+
reader.skipType(tag & 7);
|
|
4873
|
+
break;
|
|
4874
|
+
}
|
|
4875
|
+
}
|
|
4876
|
+
return message;
|
|
4877
|
+
},
|
|
4878
|
+
fromPartial(object) {
|
|
4879
|
+
const message = createBaseMsgMakeCollectionPermanent();
|
|
4880
|
+
message.creator = object.creator ?? "";
|
|
4881
|
+
message.collectionId = object.collectionId !== undefined && object.collectionId !== null ? BigInt(object.collectionId.toString()) : BigInt(0);
|
|
4882
|
+
return message;
|
|
4883
|
+
},
|
|
4884
|
+
fromAmino(object) {
|
|
4885
|
+
const message = createBaseMsgMakeCollectionPermanent();
|
|
4886
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
4887
|
+
message.creator = object.creator;
|
|
4888
|
+
}
|
|
4889
|
+
if (object.collection_id !== undefined && object.collection_id !== null) {
|
|
4890
|
+
message.collectionId = BigInt(object.collection_id);
|
|
4891
|
+
}
|
|
4892
|
+
return message;
|
|
4893
|
+
},
|
|
4894
|
+
toAmino(message) {
|
|
4895
|
+
const obj = {};
|
|
4896
|
+
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
4897
|
+
obj.collection_id = message.collectionId !== BigInt(0) ? message.collectionId?.toString() : undefined;
|
|
4898
|
+
return obj;
|
|
4899
|
+
},
|
|
4900
|
+
fromAminoMsg(object) {
|
|
4901
|
+
return MsgMakeCollectionPermanent.fromAmino(object.value);
|
|
4902
|
+
},
|
|
4903
|
+
toAminoMsg(message) {
|
|
4904
|
+
return {
|
|
4905
|
+
type: "sparkdream/x/collect/MsgMakeCollectionPermanent",
|
|
4906
|
+
value: MsgMakeCollectionPermanent.toAmino(message)
|
|
4907
|
+
};
|
|
4908
|
+
},
|
|
4909
|
+
fromProtoMsg(message) {
|
|
4910
|
+
return MsgMakeCollectionPermanent.decode(message.value);
|
|
4911
|
+
},
|
|
4912
|
+
toProto(message) {
|
|
4913
|
+
return MsgMakeCollectionPermanent.encode(message).finish();
|
|
4914
|
+
},
|
|
4915
|
+
toProtoMsg(message) {
|
|
4916
|
+
return {
|
|
4917
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
|
|
4918
|
+
value: MsgMakeCollectionPermanent.encode(message).finish()
|
|
4919
|
+
};
|
|
4920
|
+
}
|
|
4921
|
+
};
|
|
4922
|
+
function createBaseMsgMakeCollectionPermanentResponse() {
|
|
4923
|
+
return {};
|
|
4924
|
+
}
|
|
4925
|
+
/**
|
|
4926
|
+
* @name MsgMakeCollectionPermanentResponse
|
|
4927
|
+
* @package sparkdream.collect.v1
|
|
4928
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanentResponse
|
|
4929
|
+
*/
|
|
4930
|
+
export const MsgMakeCollectionPermanentResponse = {
|
|
4931
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse",
|
|
4932
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
4933
|
+
return writer;
|
|
4934
|
+
},
|
|
4935
|
+
decode(input, length) {
|
|
4936
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4937
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4938
|
+
const message = createBaseMsgMakeCollectionPermanentResponse();
|
|
4939
|
+
while (reader.pos < end) {
|
|
4940
|
+
const tag = reader.uint32();
|
|
4941
|
+
switch (tag >>> 3) {
|
|
4942
|
+
default:
|
|
4943
|
+
reader.skipType(tag & 7);
|
|
4944
|
+
break;
|
|
4945
|
+
}
|
|
4946
|
+
}
|
|
4947
|
+
return message;
|
|
4948
|
+
},
|
|
4949
|
+
fromPartial(_) {
|
|
4950
|
+
const message = createBaseMsgMakeCollectionPermanentResponse();
|
|
4951
|
+
return message;
|
|
4952
|
+
},
|
|
4953
|
+
fromAmino(_) {
|
|
4954
|
+
const message = createBaseMsgMakeCollectionPermanentResponse();
|
|
4955
|
+
return message;
|
|
4956
|
+
},
|
|
4957
|
+
toAmino(_) {
|
|
4958
|
+
const obj = {};
|
|
4959
|
+
return obj;
|
|
4960
|
+
},
|
|
4961
|
+
fromAminoMsg(object) {
|
|
4962
|
+
return MsgMakeCollectionPermanentResponse.fromAmino(object.value);
|
|
4963
|
+
},
|
|
4964
|
+
fromProtoMsg(message) {
|
|
4965
|
+
return MsgMakeCollectionPermanentResponse.decode(message.value);
|
|
4966
|
+
},
|
|
4967
|
+
toProto(message) {
|
|
4968
|
+
return MsgMakeCollectionPermanentResponse.encode(message).finish();
|
|
4969
|
+
},
|
|
4970
|
+
toProtoMsg(message) {
|
|
4971
|
+
return {
|
|
4972
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse",
|
|
4973
|
+
value: MsgMakeCollectionPermanentResponse.encode(message).finish()
|
|
4974
|
+
};
|
|
4975
|
+
}
|
|
4976
|
+
};
|