@sparkdreamnft/sparkdreamjs 0.0.17 → 0.0.19
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/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +106 -106
- package/esm/sparkdream/blog/v1/params.js +113 -52
- 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/bundle.js +448 -346
- package/esm/sparkdream/client.js +7 -1
- package/esm/sparkdream/collect/v1/params.js +121 -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 +147 -3
- package/esm/sparkdream/commons/v1/genesis.js +29 -1
- package/esm/sparkdream/commons/v1/query.js +317 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +23 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +20 -1
- package/esm/sparkdream/commons/v1/recurring_spend.js +296 -0
- package/esm/sparkdream/commons/v1/tx.js +693 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +33 -1
- package/esm/sparkdream/federation/v1/genesis.js +10 -10
- package/esm/sparkdream/federation/v1/params.js +29 -54
- package/esm/sparkdream/federation/v1/query.js +216 -71
- package/esm/sparkdream/federation/v1/query.lcd.js +11 -6
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/esm/sparkdream/federation/v1/tx.amino.js +21 -21
- package/esm/sparkdream/federation/v1/tx.js +1146 -1105
- package/esm/sparkdream/federation/v1/tx.registry.js +74 -74
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +32 -26
- package/esm/sparkdream/federation/v1/types.js +355 -99
- package/esm/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/esm/sparkdream/forum/v1/params.js +389 -148
- package/esm/sparkdream/forum/v1/post.js +25 -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/guardian/module/v1/module.js +68 -0
- package/esm/sparkdream/guardian/v1/query.js +128 -0
- package/esm/sparkdream/guardian/v1/query.lcd.js +13 -0
- package/esm/sparkdream/guardian/v1/query.rpc.Query.js +26 -0
- package/esm/sparkdream/guardian/v1/tx.amino.js +9 -0
- package/esm/sparkdream/guardian/v1/tx.js +175 -0
- package/esm/sparkdream/guardian/v1/tx.registry.js +33 -0
- package/esm/sparkdream/guardian/v1/tx.rpc.msg.js +24 -0
- package/esm/sparkdream/identity/module/v1/module.js +71 -0
- package/esm/sparkdream/identity/v1/chain_identity.js +199 -0
- package/esm/sparkdream/identity/v1/genesis.js +84 -0
- package/esm/sparkdream/identity/v1/query.js +372 -0
- package/esm/sparkdream/identity/v1/query.lcd.js +21 -0
- package/esm/sparkdream/identity/v1/query.rpc.Query.js +42 -0
- package/esm/sparkdream/lcd.js +15 -0
- package/esm/sparkdream/name/v1/params.js +19 -18
- package/esm/sparkdream/rep/v1/bonded_role.js +48 -2
- package/esm/sparkdream/rep/v1/member.js +209 -1
- package/esm/sparkdream/rep/v1/tag.js +6 -13
- package/esm/sparkdream/rpc.query.js +9 -0
- package/esm/sparkdream/rpc.tx.js +6 -0
- package/esm/sparkdream/service/module/v1/module.js +71 -0
- package/esm/sparkdream/service/v1/controller_transfer_case.js +155 -0
- package/esm/sparkdream/service/v1/genesis.js +240 -0
- package/esm/sparkdream/service/v1/operator.js +250 -0
- package/esm/sparkdream/service/v1/params.js +355 -0
- package/esm/sparkdream/service/v1/query.js +1582 -0
- package/esm/sparkdream/service/v1/query.lcd.js +107 -0
- package/esm/sparkdream/service/v1/query.rpc.Query.js +109 -0
- package/esm/sparkdream/service/v1/refile_cooldown.js +121 -0
- package/esm/sparkdream/service/v1/report.js +212 -0
- package/esm/sparkdream/service/v1/reporter_rate_limit.js +137 -0
- package/esm/sparkdream/service/v1/service_type_config.js +264 -0
- package/esm/sparkdream/service/v1/system_report_rate_limit.js +115 -0
- package/esm/sparkdream/service/v1/tier1_escrow_entry.js +145 -0
- package/esm/sparkdream/service/v1/tier1_last_slash.js +121 -0
- package/esm/sparkdream/service/v1/tx.amino.js +69 -0
- package/esm/sparkdream/service/v1/tx.js +2124 -0
- package/esm/sparkdream/service/v1/tx.registry.js +249 -0
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +100 -0
- package/esm/sparkdream/service/v1/types.js +353 -0
- package/esm/sparkdream/session/v1/genesis.js +136 -10
- package/esm/sparkdream/session/v1/grant.js +1020 -0
- package/esm/sparkdream/session/v1/params.js +543 -19
- package/esm/sparkdream/session/v1/query.js +487 -0
- package/esm/sparkdream/session/v1/query.lcd.js +41 -3
- package/esm/sparkdream/session/v1/query.rpc.Query.js +36 -4
- package/esm/sparkdream/session/v1/session.js +6 -0
- package/esm/sparkdream/session/v1/tx.js +1066 -0
- package/esm/sparkdream/session/v1/tx.registry.js +110 -2
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +65 -3
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +106 -106
- package/package.json +1 -1
- package/sparkdream/blog/v1/params.d.ts +89 -28
- package/sparkdream/blog/v1/params.js +113 -52
- package/sparkdream/blog/v1/post.d.ts +2 -2
- package/sparkdream/blog/v1/tx.d.ts +385 -10
- 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 +15308 -12896
- package/sparkdream/bundle.js +448 -346
- package/sparkdream/client.d.ts +90 -20
- package/sparkdream/client.js +7 -1
- package/sparkdream/collect/v1/params.d.ts +140 -0
- package/sparkdream/collect/v1/params.js +121 -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 +114 -0
- package/sparkdream/collect/v1/types.js +147 -3
- package/sparkdream/commons/v1/genesis.d.ts +17 -0
- package/sparkdream/commons/v1/genesis.js +29 -1
- package/sparkdream/commons/v1/query.d.ts +186 -0
- package/sparkdream/commons/v1/query.js +318 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +23 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +12 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +19 -0
- package/sparkdream/commons/v1/recurring_spend.d.ts +234 -0
- package/sparkdream/commons/v1/recurring_spend.js +301 -0
- package/sparkdream/commons/v1/tx.d.ts +472 -0
- package/sparkdream/commons/v1/tx.js +694 -1
- package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
- package/sparkdream/commons/v1/tx.registry.js +73 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +29 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +32 -0
- package/sparkdream/federation/v1/genesis.d.ts +3 -3
- package/sparkdream/federation/v1/genesis.js +9 -9
- package/sparkdream/federation/v1/params.d.ts +64 -13
- package/sparkdream/federation/v1/params.js +29 -54
- package/sparkdream/federation/v1/query.d.ts +209 -100
- package/sparkdream/federation/v1/query.js +216 -71
- package/sparkdream/federation/v1/query.lcd.d.ts +4 -3
- package/sparkdream/federation/v1/query.lcd.js +11 -6
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
- package/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/sparkdream/federation/v1/tx.amino.d.ts +21 -21
- package/sparkdream/federation/v1/tx.amino.js +20 -20
- package/sparkdream/federation/v1/tx.d.ts +479 -352
- package/sparkdream/federation/v1/tx.js +1147 -1106
- package/sparkdream/federation/v1/tx.registry.d.ts +49 -49
- package/sparkdream/federation/v1/tx.registry.js +73 -73
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +18 -9
- package/sparkdream/federation/v1/tx.rpc.msg.js +31 -25
- package/sparkdream/federation/v1/types.d.ts +307 -41
- package/sparkdream/federation/v1/types.js +360 -100
- package/sparkdream/federation/v1/verifier_activity.d.ts +18 -0
- package/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/sparkdream/forum/v1/params.d.ts +309 -62
- package/sparkdream/forum/v1/params.js +389 -148
- package/sparkdream/forum/v1/post.d.ts +28 -0
- package/sparkdream/forum/v1/post.js +25 -1
- 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/guardian/module/v1/module.d.ts +74 -0
- package/sparkdream/guardian/module/v1/module.js +71 -0
- package/sparkdream/guardian/v1/query.d.ts +88 -0
- package/sparkdream/guardian/v1/query.js +131 -0
- package/sparkdream/guardian/v1/query.lcd.d.ts +9 -0
- package/sparkdream/guardian/v1/query.lcd.js +17 -0
- package/sparkdream/guardian/v1/query.rpc.Query.d.ts +20 -0
- package/sparkdream/guardian/v1/query.rpc.Query.js +31 -0
- package/sparkdream/guardian/v1/tx.amino.d.ts +8 -0
- package/sparkdream/guardian/v1/tx.amino.js +12 -0
- package/sparkdream/guardian/v1/tx.d.ts +138 -0
- package/sparkdream/guardian/v1/tx.js +181 -0
- package/sparkdream/guardian/v1/tx.registry.d.ts +25 -0
- package/sparkdream/guardian/v1/tx.registry.js +37 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.d.ts +22 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/identity/module/v1/module.d.ts +54 -0
- package/sparkdream/identity/module/v1/module.js +74 -0
- package/sparkdream/identity/v1/chain_identity.d.ts +131 -0
- package/sparkdream/identity/v1/chain_identity.js +202 -0
- package/sparkdream/identity/v1/genesis.d.ts +65 -0
- package/sparkdream/identity/v1/genesis.js +87 -0
- package/sparkdream/identity/v1/query.d.ts +243 -0
- package/sparkdream/identity/v1/query.js +375 -0
- package/sparkdream/identity/v1/query.lcd.d.ts +11 -0
- package/sparkdream/identity/v1/query.lcd.js +25 -0
- package/sparkdream/identity/v1/query.rpc.Query.d.ts +26 -0
- package/sparkdream/identity/v1/query.rpc.Query.js +47 -0
- package/sparkdream/lcd.d.ts +9 -0
- package/sparkdream/lcd.js +15 -0
- package/sparkdream/name/v1/params.d.ts +25 -8
- package/sparkdream/name/v1/params.js +19 -18
- package/sparkdream/rep/v1/bonded_role.d.ts +51 -0
- package/sparkdream/rep/v1/bonded_role.js +48 -2
- package/sparkdream/rep/v1/member.d.ts +134 -0
- package/sparkdream/rep/v1/member.js +210 -2
- package/sparkdream/rep/v1/tag.d.ts +15 -2
- package/sparkdream/rep/v1/tag.js +6 -13
- package/sparkdream/rpc.query.d.ts +34 -2
- package/sparkdream/rpc.query.js +9 -0
- package/sparkdream/rpc.tx.d.ts +6 -0
- package/sparkdream/rpc.tx.js +6 -0
- package/sparkdream/service/module/v1/module.d.ts +54 -0
- package/sparkdream/service/module/v1/module.js +74 -0
- package/sparkdream/service/v1/controller_transfer_case.d.ts +125 -0
- package/sparkdream/service/v1/controller_transfer_case.js +158 -0
- package/sparkdream/service/v1/genesis.d.ts +172 -0
- package/sparkdream/service/v1/genesis.js +243 -0
- package/sparkdream/service/v1/operator.d.ts +215 -0
- package/sparkdream/service/v1/operator.js +253 -0
- package/sparkdream/service/v1/params.d.ts +346 -0
- package/sparkdream/service/v1/params.js +358 -0
- package/sparkdream/service/v1/query.d.ts +964 -0
- package/sparkdream/service/v1/query.js +1585 -0
- package/sparkdream/service/v1/query.lcd.d.ts +18 -0
- package/sparkdream/service/v1/query.lcd.js +111 -0
- package/sparkdream/service/v1/query.rpc.Query.d.ts +63 -0
- package/sparkdream/service/v1/query.rpc.Query.js +114 -0
- package/sparkdream/service/v1/refile_cooldown.d.ts +105 -0
- package/sparkdream/service/v1/refile_cooldown.js +124 -0
- package/sparkdream/service/v1/report.d.ts +174 -0
- package/sparkdream/service/v1/report.js +215 -0
- package/sparkdream/service/v1/reporter_rate_limit.d.ts +112 -0
- package/sparkdream/service/v1/reporter_rate_limit.js +140 -0
- package/sparkdream/service/v1/service_type_config.d.ts +222 -0
- package/sparkdream/service/v1/service_type_config.js +269 -0
- package/sparkdream/service/v1/system_report_rate_limit.d.ts +106 -0
- package/sparkdream/service/v1/system_report_rate_limit.js +118 -0
- package/sparkdream/service/v1/tier1_escrow_entry.d.ts +125 -0
- package/sparkdream/service/v1/tier1_escrow_entry.js +148 -0
- package/sparkdream/service/v1/tier1_last_slash.d.ts +101 -0
- package/sparkdream/service/v1/tier1_last_slash.js +124 -0
- package/sparkdream/service/v1/tx.amino.d.ts +68 -0
- package/sparkdream/service/v1/tx.amino.js +72 -0
- package/sparkdream/service/v1/tx.d.ts +1264 -0
- package/sparkdream/service/v1/tx.js +2127 -0
- package/sparkdream/service/v1/tx.registry.d.ts +169 -0
- package/sparkdream/service/v1/tx.registry.js +253 -0
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +80 -0
- package/sparkdream/service/v1/tx.rpc.msg.js +105 -0
- package/sparkdream/service/v1/types.d.ts +94 -0
- package/sparkdream/service/v1/types.js +370 -0
- package/sparkdream/session/v1/genesis.d.ts +93 -9
- package/sparkdream/session/v1/genesis.js +137 -11
- package/sparkdream/session/v1/grant.d.ts +517 -0
- package/sparkdream/session/v1/grant.js +1027 -0
- package/sparkdream/session/v1/params.d.ts +338 -7
- package/sparkdream/session/v1/params.js +543 -19
- package/sparkdream/session/v1/query.d.ts +265 -0
- package/sparkdream/session/v1/query.js +488 -1
- package/sparkdream/session/v1/query.lcd.d.ts +4 -1
- package/sparkdream/session/v1/query.lcd.js +41 -3
- package/sparkdream/session/v1/query.rpc.Query.d.ts +27 -4
- package/sparkdream/session/v1/query.rpc.Query.js +35 -3
- package/sparkdream/session/v1/session.d.ts +18 -0
- package/sparkdream/session/v1/session.js +6 -0
- package/sparkdream/session/v1/tx.d.ts +660 -0
- package/sparkdream/session/v1/tx.js +1067 -1
- package/sparkdream/session/v1/tx.registry.d.ts +73 -1
- package/sparkdream/session/v1/tx.registry.js +109 -1
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +63 -3
- package/sparkdream/session/v1/tx.rpc.msg.js +64 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -37,6 +37,20 @@ export interface Post {
|
|
|
37
37
|
contentType: ContentType;
|
|
38
38
|
initiativeId: bigint;
|
|
39
39
|
convictionSustained: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* promoted_by is the member who called MsgMakePostPermanent on this post
|
|
42
|
+
* (or reply). Empty if still ephemeral, or if it became permanent via
|
|
43
|
+
* author-admission auto-promotion / explicit author self-promotion. Used by
|
|
44
|
+
* ExpireHiddenPosts to issue a MemberWarning against the promoter on
|
|
45
|
+
* unappealed sentinel hide — they vouched for content the community
|
|
46
|
+
* rejected.
|
|
47
|
+
*/
|
|
48
|
+
promotedBy: string;
|
|
49
|
+
/**
|
|
50
|
+
* promoted_at is the block-time (unix seconds) at which promoted_by called
|
|
51
|
+
* MsgMakePostPermanent. Zero when promoted_by is empty.
|
|
52
|
+
*/
|
|
53
|
+
promotedAt: bigint;
|
|
40
54
|
}
|
|
41
55
|
export interface PostProtoMsg {
|
|
42
56
|
typeUrl: "/sparkdream.forum.v1.Post";
|
|
@@ -77,6 +91,20 @@ export interface PostAmino {
|
|
|
77
91
|
content_type?: ContentType;
|
|
78
92
|
initiative_id?: string;
|
|
79
93
|
conviction_sustained?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* promoted_by is the member who called MsgMakePostPermanent on this post
|
|
96
|
+
* (or reply). Empty if still ephemeral, or if it became permanent via
|
|
97
|
+
* author-admission auto-promotion / explicit author self-promotion. Used by
|
|
98
|
+
* ExpireHiddenPosts to issue a MemberWarning against the promoter on
|
|
99
|
+
* unappealed sentinel hide — they vouched for content the community
|
|
100
|
+
* rejected.
|
|
101
|
+
*/
|
|
102
|
+
promoted_by?: string;
|
|
103
|
+
/**
|
|
104
|
+
* promoted_at is the block-time (unix seconds) at which promoted_by called
|
|
105
|
+
* MsgMakePostPermanent. Zero when promoted_by is empty.
|
|
106
|
+
*/
|
|
107
|
+
promoted_at?: string;
|
|
80
108
|
}
|
|
81
109
|
export interface PostAminoMsg {
|
|
82
110
|
type: "/sparkdream.forum.v1.Post";
|
|
@@ -31,7 +31,9 @@ function createBasePost() {
|
|
|
31
31
|
tags: [],
|
|
32
32
|
contentType: 0,
|
|
33
33
|
initiativeId: BigInt(0),
|
|
34
|
-
convictionSustained: false
|
|
34
|
+
convictionSustained: false,
|
|
35
|
+
promotedBy: "",
|
|
36
|
+
promotedAt: BigInt(0)
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
/**
|
|
@@ -127,6 +129,12 @@ exports.Post = {
|
|
|
127
129
|
if (message.convictionSustained === true) {
|
|
128
130
|
writer.uint32(264).bool(message.convictionSustained);
|
|
129
131
|
}
|
|
132
|
+
if (message.promotedBy !== "") {
|
|
133
|
+
writer.uint32(274).string(message.promotedBy);
|
|
134
|
+
}
|
|
135
|
+
if (message.promotedAt !== BigInt(0)) {
|
|
136
|
+
writer.uint32(280).int64(message.promotedAt);
|
|
137
|
+
}
|
|
130
138
|
return writer;
|
|
131
139
|
},
|
|
132
140
|
decode(input, length) {
|
|
@@ -220,6 +228,12 @@ exports.Post = {
|
|
|
220
228
|
case 33:
|
|
221
229
|
message.convictionSustained = reader.bool();
|
|
222
230
|
break;
|
|
231
|
+
case 34:
|
|
232
|
+
message.promotedBy = reader.string();
|
|
233
|
+
break;
|
|
234
|
+
case 35:
|
|
235
|
+
message.promotedAt = reader.int64();
|
|
236
|
+
break;
|
|
223
237
|
default:
|
|
224
238
|
reader.skipType(tag & 7);
|
|
225
239
|
break;
|
|
@@ -257,6 +271,8 @@ exports.Post = {
|
|
|
257
271
|
message.contentType = object.contentType ?? 0;
|
|
258
272
|
message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
|
|
259
273
|
message.convictionSustained = object.convictionSustained ?? false;
|
|
274
|
+
message.promotedBy = object.promotedBy ?? "";
|
|
275
|
+
message.promotedAt = object.promotedAt !== undefined && object.promotedAt !== null ? BigInt(object.promotedAt.toString()) : BigInt(0);
|
|
260
276
|
return message;
|
|
261
277
|
},
|
|
262
278
|
fromAmino(object) {
|
|
@@ -343,6 +359,12 @@ exports.Post = {
|
|
|
343
359
|
if (object.conviction_sustained !== undefined && object.conviction_sustained !== null) {
|
|
344
360
|
message.convictionSustained = object.conviction_sustained;
|
|
345
361
|
}
|
|
362
|
+
if (object.promoted_by !== undefined && object.promoted_by !== null) {
|
|
363
|
+
message.promotedBy = object.promoted_by;
|
|
364
|
+
}
|
|
365
|
+
if (object.promoted_at !== undefined && object.promoted_at !== null) {
|
|
366
|
+
message.promotedAt = BigInt(object.promoted_at);
|
|
367
|
+
}
|
|
346
368
|
return message;
|
|
347
369
|
},
|
|
348
370
|
toAmino(message) {
|
|
@@ -380,6 +402,8 @@ exports.Post = {
|
|
|
380
402
|
obj.content_type = message.contentType === 0 ? undefined : message.contentType;
|
|
381
403
|
obj.initiative_id = message.initiativeId !== BigInt(0) ? message.initiativeId?.toString() : undefined;
|
|
382
404
|
obj.conviction_sustained = message.convictionSustained === false ? undefined : message.convictionSustained;
|
|
405
|
+
obj.promoted_by = message.promotedBy === "" ? undefined : message.promotedBy;
|
|
406
|
+
obj.promoted_at = message.promotedAt !== BigInt(0) ? message.promotedAt?.toString() : undefined;
|
|
383
407
|
return obj;
|
|
384
408
|
},
|
|
385
409
|
fromAminoMsg(object) {
|
|
@@ -532,6 +532,60 @@ export interface MsgUnpinPostResponseAminoMsg {
|
|
|
532
532
|
type: "/sparkdream.forum.v1.MsgUnpinPostResponse";
|
|
533
533
|
value: MsgUnpinPostResponseAmino;
|
|
534
534
|
}
|
|
535
|
+
/**
|
|
536
|
+
* MsgMakePostPermanent promotes an ephemeral post (root post or reply) to
|
|
537
|
+
* permanent.
|
|
538
|
+
* @name MsgMakePostPermanent
|
|
539
|
+
* @package sparkdream.forum.v1
|
|
540
|
+
* @see proto type: sparkdream.forum.v1.MsgMakePostPermanent
|
|
541
|
+
*/
|
|
542
|
+
export interface MsgMakePostPermanent {
|
|
543
|
+
creator: string;
|
|
544
|
+
postId: bigint;
|
|
545
|
+
}
|
|
546
|
+
export interface MsgMakePostPermanentProtoMsg {
|
|
547
|
+
typeUrl: "/sparkdream.forum.v1.MsgMakePostPermanent";
|
|
548
|
+
value: Uint8Array;
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* MsgMakePostPermanent promotes an ephemeral post (root post or reply) to
|
|
552
|
+
* permanent.
|
|
553
|
+
* @name MsgMakePostPermanentAmino
|
|
554
|
+
* @package sparkdream.forum.v1
|
|
555
|
+
* @see proto type: sparkdream.forum.v1.MsgMakePostPermanent
|
|
556
|
+
*/
|
|
557
|
+
export interface MsgMakePostPermanentAmino {
|
|
558
|
+
creator?: string;
|
|
559
|
+
post_id?: string;
|
|
560
|
+
}
|
|
561
|
+
export interface MsgMakePostPermanentAminoMsg {
|
|
562
|
+
type: "sparkdream/x/forum/MsgMakePostPermanent";
|
|
563
|
+
value: MsgMakePostPermanentAmino;
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* MsgMakePostPermanentResponse defines the MsgMakePostPermanent response.
|
|
567
|
+
* @name MsgMakePostPermanentResponse
|
|
568
|
+
* @package sparkdream.forum.v1
|
|
569
|
+
* @see proto type: sparkdream.forum.v1.MsgMakePostPermanentResponse
|
|
570
|
+
*/
|
|
571
|
+
export interface MsgMakePostPermanentResponse {
|
|
572
|
+
}
|
|
573
|
+
export interface MsgMakePostPermanentResponseProtoMsg {
|
|
574
|
+
typeUrl: "/sparkdream.forum.v1.MsgMakePostPermanentResponse";
|
|
575
|
+
value: Uint8Array;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* MsgMakePostPermanentResponse defines the MsgMakePostPermanent response.
|
|
579
|
+
* @name MsgMakePostPermanentResponseAmino
|
|
580
|
+
* @package sparkdream.forum.v1
|
|
581
|
+
* @see proto type: sparkdream.forum.v1.MsgMakePostPermanentResponse
|
|
582
|
+
*/
|
|
583
|
+
export interface MsgMakePostPermanentResponseAmino {
|
|
584
|
+
}
|
|
585
|
+
export interface MsgMakePostPermanentResponseAminoMsg {
|
|
586
|
+
type: "/sparkdream.forum.v1.MsgMakePostPermanentResponse";
|
|
587
|
+
value: MsgMakePostPermanentResponseAmino;
|
|
588
|
+
}
|
|
535
589
|
/**
|
|
536
590
|
* MsgLockThread defines the MsgLockThread message.
|
|
537
591
|
* @name MsgLockThread
|
|
@@ -902,6 +956,126 @@ export interface MsgDownvotePostResponseAminoMsg {
|
|
|
902
956
|
type: "/sparkdream.forum.v1.MsgDownvotePostResponse";
|
|
903
957
|
value: MsgDownvotePostResponseAmino;
|
|
904
958
|
}
|
|
959
|
+
/**
|
|
960
|
+
* MsgStakePostConviction opens a PostConvictionStake. The signer is the
|
|
961
|
+
* staker; the post's author cannot stake on their own post.
|
|
962
|
+
* @name MsgStakePostConviction
|
|
963
|
+
* @package sparkdream.forum.v1
|
|
964
|
+
* @see proto type: sparkdream.forum.v1.MsgStakePostConviction
|
|
965
|
+
*/
|
|
966
|
+
export interface MsgStakePostConviction {
|
|
967
|
+
creator: string;
|
|
968
|
+
postId: bigint;
|
|
969
|
+
/**
|
|
970
|
+
* amount is the DREAM (uDREAM) to lock for this stake. Must be at least
|
|
971
|
+
* Params.min_post_conviction_stake.
|
|
972
|
+
*/
|
|
973
|
+
amount: string;
|
|
974
|
+
}
|
|
975
|
+
export interface MsgStakePostConvictionProtoMsg {
|
|
976
|
+
typeUrl: "/sparkdream.forum.v1.MsgStakePostConviction";
|
|
977
|
+
value: Uint8Array;
|
|
978
|
+
}
|
|
979
|
+
/**
|
|
980
|
+
* MsgStakePostConviction opens a PostConvictionStake. The signer is the
|
|
981
|
+
* staker; the post's author cannot stake on their own post.
|
|
982
|
+
* @name MsgStakePostConvictionAmino
|
|
983
|
+
* @package sparkdream.forum.v1
|
|
984
|
+
* @see proto type: sparkdream.forum.v1.MsgStakePostConviction
|
|
985
|
+
*/
|
|
986
|
+
export interface MsgStakePostConvictionAmino {
|
|
987
|
+
creator?: string;
|
|
988
|
+
post_id?: string;
|
|
989
|
+
/**
|
|
990
|
+
* amount is the DREAM (uDREAM) to lock for this stake. Must be at least
|
|
991
|
+
* Params.min_post_conviction_stake.
|
|
992
|
+
*/
|
|
993
|
+
amount?: string;
|
|
994
|
+
}
|
|
995
|
+
export interface MsgStakePostConvictionAminoMsg {
|
|
996
|
+
type: "sparkdream/x/forum/MsgStakePostConviction";
|
|
997
|
+
value: MsgStakePostConvictionAmino;
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
* MsgStakePostConvictionResponse returns the new stake's id.
|
|
1001
|
+
* @name MsgStakePostConvictionResponse
|
|
1002
|
+
* @package sparkdream.forum.v1
|
|
1003
|
+
* @see proto type: sparkdream.forum.v1.MsgStakePostConvictionResponse
|
|
1004
|
+
*/
|
|
1005
|
+
export interface MsgStakePostConvictionResponse {
|
|
1006
|
+
stakeId: bigint;
|
|
1007
|
+
}
|
|
1008
|
+
export interface MsgStakePostConvictionResponseProtoMsg {
|
|
1009
|
+
typeUrl: "/sparkdream.forum.v1.MsgStakePostConvictionResponse";
|
|
1010
|
+
value: Uint8Array;
|
|
1011
|
+
}
|
|
1012
|
+
/**
|
|
1013
|
+
* MsgStakePostConvictionResponse returns the new stake's id.
|
|
1014
|
+
* @name MsgStakePostConvictionResponseAmino
|
|
1015
|
+
* @package sparkdream.forum.v1
|
|
1016
|
+
* @see proto type: sparkdream.forum.v1.MsgStakePostConvictionResponse
|
|
1017
|
+
*/
|
|
1018
|
+
export interface MsgStakePostConvictionResponseAmino {
|
|
1019
|
+
stake_id?: string;
|
|
1020
|
+
}
|
|
1021
|
+
export interface MsgStakePostConvictionResponseAminoMsg {
|
|
1022
|
+
type: "/sparkdream.forum.v1.MsgStakePostConvictionResponse";
|
|
1023
|
+
value: MsgStakePostConvictionResponseAmino;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* MsgReleasePostConviction closes a PostConvictionStake. Only the original
|
|
1027
|
+
* staker may release; release before unlocks_at is rejected.
|
|
1028
|
+
* @name MsgReleasePostConviction
|
|
1029
|
+
* @package sparkdream.forum.v1
|
|
1030
|
+
* @see proto type: sparkdream.forum.v1.MsgReleasePostConviction
|
|
1031
|
+
*/
|
|
1032
|
+
export interface MsgReleasePostConviction {
|
|
1033
|
+
creator: string;
|
|
1034
|
+
stakeId: bigint;
|
|
1035
|
+
}
|
|
1036
|
+
export interface MsgReleasePostConvictionProtoMsg {
|
|
1037
|
+
typeUrl: "/sparkdream.forum.v1.MsgReleasePostConviction";
|
|
1038
|
+
value: Uint8Array;
|
|
1039
|
+
}
|
|
1040
|
+
/**
|
|
1041
|
+
* MsgReleasePostConviction closes a PostConvictionStake. Only the original
|
|
1042
|
+
* staker may release; release before unlocks_at is rejected.
|
|
1043
|
+
* @name MsgReleasePostConvictionAmino
|
|
1044
|
+
* @package sparkdream.forum.v1
|
|
1045
|
+
* @see proto type: sparkdream.forum.v1.MsgReleasePostConviction
|
|
1046
|
+
*/
|
|
1047
|
+
export interface MsgReleasePostConvictionAmino {
|
|
1048
|
+
creator?: string;
|
|
1049
|
+
stake_id?: string;
|
|
1050
|
+
}
|
|
1051
|
+
export interface MsgReleasePostConvictionAminoMsg {
|
|
1052
|
+
type: "sparkdream/x/forum/MsgReleasePostConviction";
|
|
1053
|
+
value: MsgReleasePostConvictionAmino;
|
|
1054
|
+
}
|
|
1055
|
+
/**
|
|
1056
|
+
* MsgReleasePostConvictionResponse defines the MsgReleasePostConviction response.
|
|
1057
|
+
* @name MsgReleasePostConvictionResponse
|
|
1058
|
+
* @package sparkdream.forum.v1
|
|
1059
|
+
* @see proto type: sparkdream.forum.v1.MsgReleasePostConvictionResponse
|
|
1060
|
+
*/
|
|
1061
|
+
export interface MsgReleasePostConvictionResponse {
|
|
1062
|
+
}
|
|
1063
|
+
export interface MsgReleasePostConvictionResponseProtoMsg {
|
|
1064
|
+
typeUrl: "/sparkdream.forum.v1.MsgReleasePostConvictionResponse";
|
|
1065
|
+
value: Uint8Array;
|
|
1066
|
+
}
|
|
1067
|
+
/**
|
|
1068
|
+
* MsgReleasePostConvictionResponse defines the MsgReleasePostConviction response.
|
|
1069
|
+
* @name MsgReleasePostConvictionResponseAmino
|
|
1070
|
+
* @package sparkdream.forum.v1
|
|
1071
|
+
* @see proto type: sparkdream.forum.v1.MsgReleasePostConvictionResponse
|
|
1072
|
+
*/
|
|
1073
|
+
export interface MsgReleasePostConvictionResponseAmino {
|
|
1074
|
+
}
|
|
1075
|
+
export interface MsgReleasePostConvictionResponseAminoMsg {
|
|
1076
|
+
type: "/sparkdream.forum.v1.MsgReleasePostConvictionResponse";
|
|
1077
|
+
value: MsgReleasePostConvictionResponseAmino;
|
|
1078
|
+
}
|
|
905
1079
|
/**
|
|
906
1080
|
* MsgFlagPost defines the MsgFlagPost message.
|
|
907
1081
|
* @name MsgFlagPost
|
|
@@ -2319,6 +2493,45 @@ export declare const MsgUnpinPostResponse: {
|
|
|
2319
2493
|
toProto(message: MsgUnpinPostResponse): Uint8Array;
|
|
2320
2494
|
toProtoMsg(message: MsgUnpinPostResponse): MsgUnpinPostResponseProtoMsg;
|
|
2321
2495
|
};
|
|
2496
|
+
/**
|
|
2497
|
+
* MsgMakePostPermanent promotes an ephemeral post (root post or reply) to
|
|
2498
|
+
* permanent.
|
|
2499
|
+
* @name MsgMakePostPermanent
|
|
2500
|
+
* @package sparkdream.forum.v1
|
|
2501
|
+
* @see proto type: sparkdream.forum.v1.MsgMakePostPermanent
|
|
2502
|
+
*/
|
|
2503
|
+
export declare const MsgMakePostPermanent: {
|
|
2504
|
+
typeUrl: string;
|
|
2505
|
+
aminoType: string;
|
|
2506
|
+
encode(message: MsgMakePostPermanent, writer?: BinaryWriter): BinaryWriter;
|
|
2507
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgMakePostPermanent;
|
|
2508
|
+
fromPartial(object: DeepPartial<MsgMakePostPermanent>): MsgMakePostPermanent;
|
|
2509
|
+
fromAmino(object: MsgMakePostPermanentAmino): MsgMakePostPermanent;
|
|
2510
|
+
toAmino(message: MsgMakePostPermanent): MsgMakePostPermanentAmino;
|
|
2511
|
+
fromAminoMsg(object: MsgMakePostPermanentAminoMsg): MsgMakePostPermanent;
|
|
2512
|
+
toAminoMsg(message: MsgMakePostPermanent): MsgMakePostPermanentAminoMsg;
|
|
2513
|
+
fromProtoMsg(message: MsgMakePostPermanentProtoMsg): MsgMakePostPermanent;
|
|
2514
|
+
toProto(message: MsgMakePostPermanent): Uint8Array;
|
|
2515
|
+
toProtoMsg(message: MsgMakePostPermanent): MsgMakePostPermanentProtoMsg;
|
|
2516
|
+
};
|
|
2517
|
+
/**
|
|
2518
|
+
* MsgMakePostPermanentResponse defines the MsgMakePostPermanent response.
|
|
2519
|
+
* @name MsgMakePostPermanentResponse
|
|
2520
|
+
* @package sparkdream.forum.v1
|
|
2521
|
+
* @see proto type: sparkdream.forum.v1.MsgMakePostPermanentResponse
|
|
2522
|
+
*/
|
|
2523
|
+
export declare const MsgMakePostPermanentResponse: {
|
|
2524
|
+
typeUrl: string;
|
|
2525
|
+
encode(_: MsgMakePostPermanentResponse, writer?: BinaryWriter): BinaryWriter;
|
|
2526
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgMakePostPermanentResponse;
|
|
2527
|
+
fromPartial(_: DeepPartial<MsgMakePostPermanentResponse>): MsgMakePostPermanentResponse;
|
|
2528
|
+
fromAmino(_: MsgMakePostPermanentResponseAmino): MsgMakePostPermanentResponse;
|
|
2529
|
+
toAmino(_: MsgMakePostPermanentResponse): MsgMakePostPermanentResponseAmino;
|
|
2530
|
+
fromAminoMsg(object: MsgMakePostPermanentResponseAminoMsg): MsgMakePostPermanentResponse;
|
|
2531
|
+
fromProtoMsg(message: MsgMakePostPermanentResponseProtoMsg): MsgMakePostPermanentResponse;
|
|
2532
|
+
toProto(message: MsgMakePostPermanentResponse): Uint8Array;
|
|
2533
|
+
toProtoMsg(message: MsgMakePostPermanentResponse): MsgMakePostPermanentResponseProtoMsg;
|
|
2534
|
+
};
|
|
2322
2535
|
/**
|
|
2323
2536
|
* MsgLockThread defines the MsgLockThread message.
|
|
2324
2537
|
* @name MsgLockThread
|
|
@@ -2585,6 +2798,84 @@ export declare const MsgDownvotePostResponse: {
|
|
|
2585
2798
|
toProto(message: MsgDownvotePostResponse): Uint8Array;
|
|
2586
2799
|
toProtoMsg(message: MsgDownvotePostResponse): MsgDownvotePostResponseProtoMsg;
|
|
2587
2800
|
};
|
|
2801
|
+
/**
|
|
2802
|
+
* MsgStakePostConviction opens a PostConvictionStake. The signer is the
|
|
2803
|
+
* staker; the post's author cannot stake on their own post.
|
|
2804
|
+
* @name MsgStakePostConviction
|
|
2805
|
+
* @package sparkdream.forum.v1
|
|
2806
|
+
* @see proto type: sparkdream.forum.v1.MsgStakePostConviction
|
|
2807
|
+
*/
|
|
2808
|
+
export declare const MsgStakePostConviction: {
|
|
2809
|
+
typeUrl: string;
|
|
2810
|
+
aminoType: string;
|
|
2811
|
+
encode(message: MsgStakePostConviction, writer?: BinaryWriter): BinaryWriter;
|
|
2812
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgStakePostConviction;
|
|
2813
|
+
fromPartial(object: DeepPartial<MsgStakePostConviction>): MsgStakePostConviction;
|
|
2814
|
+
fromAmino(object: MsgStakePostConvictionAmino): MsgStakePostConviction;
|
|
2815
|
+
toAmino(message: MsgStakePostConviction): MsgStakePostConvictionAmino;
|
|
2816
|
+
fromAminoMsg(object: MsgStakePostConvictionAminoMsg): MsgStakePostConviction;
|
|
2817
|
+
toAminoMsg(message: MsgStakePostConviction): MsgStakePostConvictionAminoMsg;
|
|
2818
|
+
fromProtoMsg(message: MsgStakePostConvictionProtoMsg): MsgStakePostConviction;
|
|
2819
|
+
toProto(message: MsgStakePostConviction): Uint8Array;
|
|
2820
|
+
toProtoMsg(message: MsgStakePostConviction): MsgStakePostConvictionProtoMsg;
|
|
2821
|
+
};
|
|
2822
|
+
/**
|
|
2823
|
+
* MsgStakePostConvictionResponse returns the new stake's id.
|
|
2824
|
+
* @name MsgStakePostConvictionResponse
|
|
2825
|
+
* @package sparkdream.forum.v1
|
|
2826
|
+
* @see proto type: sparkdream.forum.v1.MsgStakePostConvictionResponse
|
|
2827
|
+
*/
|
|
2828
|
+
export declare const MsgStakePostConvictionResponse: {
|
|
2829
|
+
typeUrl: string;
|
|
2830
|
+
encode(message: MsgStakePostConvictionResponse, writer?: BinaryWriter): BinaryWriter;
|
|
2831
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgStakePostConvictionResponse;
|
|
2832
|
+
fromPartial(object: DeepPartial<MsgStakePostConvictionResponse>): MsgStakePostConvictionResponse;
|
|
2833
|
+
fromAmino(object: MsgStakePostConvictionResponseAmino): MsgStakePostConvictionResponse;
|
|
2834
|
+
toAmino(message: MsgStakePostConvictionResponse): MsgStakePostConvictionResponseAmino;
|
|
2835
|
+
fromAminoMsg(object: MsgStakePostConvictionResponseAminoMsg): MsgStakePostConvictionResponse;
|
|
2836
|
+
fromProtoMsg(message: MsgStakePostConvictionResponseProtoMsg): MsgStakePostConvictionResponse;
|
|
2837
|
+
toProto(message: MsgStakePostConvictionResponse): Uint8Array;
|
|
2838
|
+
toProtoMsg(message: MsgStakePostConvictionResponse): MsgStakePostConvictionResponseProtoMsg;
|
|
2839
|
+
};
|
|
2840
|
+
/**
|
|
2841
|
+
* MsgReleasePostConviction closes a PostConvictionStake. Only the original
|
|
2842
|
+
* staker may release; release before unlocks_at is rejected.
|
|
2843
|
+
* @name MsgReleasePostConviction
|
|
2844
|
+
* @package sparkdream.forum.v1
|
|
2845
|
+
* @see proto type: sparkdream.forum.v1.MsgReleasePostConviction
|
|
2846
|
+
*/
|
|
2847
|
+
export declare const MsgReleasePostConviction: {
|
|
2848
|
+
typeUrl: string;
|
|
2849
|
+
aminoType: string;
|
|
2850
|
+
encode(message: MsgReleasePostConviction, writer?: BinaryWriter): BinaryWriter;
|
|
2851
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgReleasePostConviction;
|
|
2852
|
+
fromPartial(object: DeepPartial<MsgReleasePostConviction>): MsgReleasePostConviction;
|
|
2853
|
+
fromAmino(object: MsgReleasePostConvictionAmino): MsgReleasePostConviction;
|
|
2854
|
+
toAmino(message: MsgReleasePostConviction): MsgReleasePostConvictionAmino;
|
|
2855
|
+
fromAminoMsg(object: MsgReleasePostConvictionAminoMsg): MsgReleasePostConviction;
|
|
2856
|
+
toAminoMsg(message: MsgReleasePostConviction): MsgReleasePostConvictionAminoMsg;
|
|
2857
|
+
fromProtoMsg(message: MsgReleasePostConvictionProtoMsg): MsgReleasePostConviction;
|
|
2858
|
+
toProto(message: MsgReleasePostConviction): Uint8Array;
|
|
2859
|
+
toProtoMsg(message: MsgReleasePostConviction): MsgReleasePostConvictionProtoMsg;
|
|
2860
|
+
};
|
|
2861
|
+
/**
|
|
2862
|
+
* MsgReleasePostConvictionResponse defines the MsgReleasePostConviction response.
|
|
2863
|
+
* @name MsgReleasePostConvictionResponse
|
|
2864
|
+
* @package sparkdream.forum.v1
|
|
2865
|
+
* @see proto type: sparkdream.forum.v1.MsgReleasePostConvictionResponse
|
|
2866
|
+
*/
|
|
2867
|
+
export declare const MsgReleasePostConvictionResponse: {
|
|
2868
|
+
typeUrl: string;
|
|
2869
|
+
encode(_: MsgReleasePostConvictionResponse, writer?: BinaryWriter): BinaryWriter;
|
|
2870
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgReleasePostConvictionResponse;
|
|
2871
|
+
fromPartial(_: DeepPartial<MsgReleasePostConvictionResponse>): MsgReleasePostConvictionResponse;
|
|
2872
|
+
fromAmino(_: MsgReleasePostConvictionResponseAmino): MsgReleasePostConvictionResponse;
|
|
2873
|
+
toAmino(_: MsgReleasePostConvictionResponse): MsgReleasePostConvictionResponseAmino;
|
|
2874
|
+
fromAminoMsg(object: MsgReleasePostConvictionResponseAminoMsg): MsgReleasePostConvictionResponse;
|
|
2875
|
+
fromProtoMsg(message: MsgReleasePostConvictionResponseProtoMsg): MsgReleasePostConvictionResponse;
|
|
2876
|
+
toProto(message: MsgReleasePostConvictionResponse): Uint8Array;
|
|
2877
|
+
toProtoMsg(message: MsgReleasePostConvictionResponse): MsgReleasePostConvictionResponseProtoMsg;
|
|
2878
|
+
};
|
|
2588
2879
|
/**
|
|
2589
2880
|
* MsgFlagPost defines the MsgFlagPost message.
|
|
2590
2881
|
* @name MsgFlagPost
|