@sparkdreamnft/sparkdreamjs 0.0.8 → 0.0.10
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 +76 -76
- package/esm/sparkdream/blog/v1/params.js +25 -1
- package/esm/sparkdream/blog/v1/post.js +16 -1
- package/esm/sparkdream/blog/v1/query.js +165 -0
- package/esm/sparkdream/blog/v1/query.lcd.js +11 -0
- package/esm/sparkdream/blog/v1/query.rpc.Query.js +10 -1
- package/esm/sparkdream/blog/v1/tx.js +32 -2
- package/esm/sparkdream/bundle.js +367 -327
- package/esm/sparkdream/client.js +4 -1
- package/esm/sparkdream/collect/v1/curator_activity.js +158 -0
- package/esm/sparkdream/collect/v1/genesis.js +12 -11
- package/esm/sparkdream/collect/v1/params.js +37 -1
- package/esm/sparkdream/collect/v1/query.js +201 -186
- package/esm/sparkdream/collect/v1/query.lcd.js +16 -16
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +19 -19
- package/esm/sparkdream/collect/v1/tx.amino.js +1 -11
- package/esm/sparkdream/collect/v1/tx.js +0 -258
- package/esm/sparkdream/collect/v1/tx.registry.js +2 -38
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +3 -14
- package/esm/sparkdream/collect/v1/types.js +50 -143
- package/esm/sparkdream/{forum → commons}/v1/category.js +7 -5
- package/esm/sparkdream/commons/v1/genesis.js +29 -1
- package/esm/sparkdream/commons/v1/query.js +292 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +18 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +21 -1
- package/esm/sparkdream/commons/v1/tx.amino.js +6 -1
- package/esm/sparkdream/commons/v1/tx.js +193 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +20 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +8 -1
- package/esm/sparkdream/federation/module/v1/module.js +71 -0
- package/esm/sparkdream/federation/v1/genesis.js +245 -0
- package/esm/sparkdream/federation/v1/packet.js +810 -0
- package/esm/sparkdream/federation/v1/params.js +789 -0
- package/esm/sparkdream/federation/v1/query.js +2479 -0
- package/esm/sparkdream/federation/v1/query.lcd.js +142 -0
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +181 -0
- package/esm/sparkdream/federation/v1/tx.amino.js +129 -0
- package/esm/sparkdream/federation/v1/tx.js +3929 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +465 -0
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +163 -0
- package/esm/sparkdream/federation/v1/types.js +2266 -0
- package/esm/sparkdream/federation/v1/verifier_activity.js +194 -0
- package/esm/sparkdream/forum/v1/genesis.js +26 -250
- package/esm/sparkdream/forum/v1/params.js +146 -2
- package/esm/sparkdream/forum/v1/query.js +2084 -7387
- package/esm/sparkdream/forum/v1/query.lcd.js +0 -310
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +1 -339
- package/esm/sparkdream/forum/v1/sentinel_activity.js +46 -139
- package/esm/sparkdream/forum/v1/tx.amino.js +1 -76
- package/esm/sparkdream/forum/v1/tx.js +333 -2628
- package/esm/sparkdream/forum/v1/tx.registry.js +2 -272
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +1 -91
- package/esm/sparkdream/forum/v1/types.js +0 -216
- package/esm/sparkdream/futarchy/v1/market.js +13 -1
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/rep/v1/accountability.js +172 -0
- package/esm/sparkdream/rep/v1/bonded_role.js +446 -0
- package/esm/sparkdream/rep/v1/genesis.js +224 -1
- package/esm/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
- package/esm/sparkdream/rep/v1/member.js +25 -1
- package/esm/sparkdream/{forum → rep}/v1/member_report.js +102 -5
- package/esm/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
- package/esm/sparkdream/rep/v1/params.js +782 -254
- package/esm/sparkdream/rep/v1/project.js +13 -1
- package/esm/sparkdream/rep/v1/query.js +5251 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +293 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +334 -1
- package/esm/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- package/esm/sparkdream/{common → rep}/v1/tag.js +6 -6
- package/esm/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
- package/esm/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
- package/esm/sparkdream/rep/v1/tx.amino.js +81 -1
- package/esm/sparkdream/rep/v1/tx.js +2467 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +290 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +104 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/enums.js +10 -0
- package/esm/sparkdream/season/v1/params.js +94 -46
- package/esm/sparkdream/shield/v1/types.js +47 -5
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +76 -76
- package/package.json +1 -1
- package/sparkdream/blog/v1/params.d.ts +16 -0
- package/sparkdream/blog/v1/params.js +25 -1
- package/sparkdream/blog/v1/post.d.ts +8 -0
- package/sparkdream/blog/v1/post.js +16 -1
- package/sparkdream/blog/v1/query.d.ts +92 -0
- package/sparkdream/blog/v1/query.js +166 -1
- package/sparkdream/blog/v1/query.lcd.d.ts +2 -1
- package/sparkdream/blog/v1/query.lcd.js +11 -0
- package/sparkdream/blog/v1/query.rpc.Query.d.ts +5 -1
- package/sparkdream/blog/v1/query.rpc.Query.js +9 -0
- package/sparkdream/blog/v1/tx.d.ts +16 -0
- package/sparkdream/blog/v1/tx.js +32 -2
- package/sparkdream/bundle.d.ts +14529 -12577
- package/sparkdream/bundle.js +367 -327
- package/sparkdream/client.d.ts +192 -67
- package/sparkdream/client.js +4 -1
- package/sparkdream/collect/v1/curator_activity.d.ts +123 -0
- package/sparkdream/collect/v1/curator_activity.js +161 -0
- package/sparkdream/collect/v1/genesis.d.ts +4 -3
- package/sparkdream/collect/v1/genesis.js +11 -10
- package/sparkdream/collect/v1/params.d.ts +32 -0
- package/sparkdream/collect/v1/params.js +37 -1
- package/sparkdream/collect/v1/query.d.ts +142 -133
- package/sparkdream/collect/v1/query.js +201 -186
- package/sparkdream/collect/v1/query.lcd.d.ts +3 -3
- package/sparkdream/collect/v1/query.lcd.js +16 -16
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +13 -7
- package/sparkdream/collect/v1/query.rpc.Query.js +18 -18
- package/sparkdream/collect/v1/tx.amino.d.ts +1 -11
- package/sparkdream/collect/v1/tx.amino.js +0 -10
- package/sparkdream/collect/v1/tx.d.ts +0 -162
- package/sparkdream/collect/v1/tx.js +2 -260
- package/sparkdream/collect/v1/tx.registry.d.ts +1 -25
- package/sparkdream/collect/v1/tx.registry.js +1 -37
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +5 -5
- package/sparkdream/collect/v1/tx.rpc.msg.js +2 -13
- package/sparkdream/collect/v1/types.d.ts +26 -56
- package/sparkdream/collect/v1/types.js +51 -144
- package/sparkdream/{forum → commons}/v1/category.d.ts +17 -11
- package/sparkdream/{forum → commons}/v1/category.js +7 -5
- package/sparkdream/commons/v1/genesis.d.ts +17 -0
- package/sparkdream/commons/v1/genesis.js +29 -1
- package/sparkdream/commons/v1/query.d.ts +179 -0
- package/sparkdream/commons/v1/query.js +293 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +18 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +20 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +6 -1
- package/sparkdream/commons/v1/tx.amino.js +5 -0
- package/sparkdream/commons/v1/tx.d.ts +98 -0
- package/sparkdream/commons/v1/tx.js +194 -1
- package/sparkdream/commons/v1/tx.registry.d.ts +13 -1
- package/sparkdream/commons/v1/tx.registry.js +19 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +7 -0
- package/sparkdream/federation/module/v1/module.d.ts +54 -0
- package/sparkdream/federation/module/v1/module.js +74 -0
- package/sparkdream/federation/v1/genesis.d.ts +79 -0
- package/sparkdream/federation/v1/genesis.js +248 -0
- package/sparkdream/federation/v1/packet.d.ts +397 -0
- package/sparkdream/federation/v1/packet.js +813 -0
- package/sparkdream/federation/v1/params.d.ts +272 -0
- package/sparkdream/federation/v1/params.js +792 -0
- package/sparkdream/federation/v1/query.d.ts +1458 -0
- package/sparkdream/federation/v1/query.js +2482 -0
- package/sparkdream/federation/v1/query.lcd.d.ts +25 -0
- package/sparkdream/federation/v1/query.lcd.js +146 -0
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +69 -0
- package/sparkdream/federation/v1/query.rpc.Query.js +186 -0
- package/sparkdream/federation/v1/tx.amino.d.ts +128 -0
- package/sparkdream/federation/v1/tx.amino.js +132 -0
- package/sparkdream/federation/v1/tx.d.ts +2147 -0
- package/sparkdream/federation/v1/tx.js +3932 -0
- package/sparkdream/federation/v1/tx.registry.d.ts +313 -0
- package/sparkdream/federation/v1/tx.registry.js +469 -0
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +65 -0
- package/sparkdream/federation/v1/tx.rpc.msg.js +168 -0
- package/sparkdream/federation/v1/types.d.ts +810 -0
- package/sparkdream/federation/v1/types.js +2281 -0
- package/sparkdream/federation/v1/verifier_activity.d.ts +113 -0
- package/sparkdream/federation/v1/verifier_activity.js +197 -0
- package/sparkdream/forum/v1/genesis.d.ts +0 -41
- package/sparkdream/forum/v1/genesis.js +26 -250
- package/sparkdream/forum/v1/params.d.ts +112 -0
- package/sparkdream/forum/v1/params.js +146 -2
- package/sparkdream/forum/v1/query.d.ts +65 -3164
- package/sparkdream/forum/v1/query.js +2086 -7391
- package/sparkdream/forum/v1/query.lcd.d.ts +1 -35
- package/sparkdream/forum/v1/query.lcd.js +0 -310
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +1 -137
- package/sparkdream/forum/v1/query.rpc.Query.js +0 -338
- package/sparkdream/forum/v1/sentinel_activity.d.ts +9 -20
- package/sparkdream/forum/v1/sentinel_activity.js +46 -139
- package/sparkdream/forum/v1/tx.amino.d.ts +1 -76
- package/sparkdream/forum/v1/tx.amino.js +0 -75
- package/sparkdream/forum/v1/tx.d.ts +85 -1445
- package/sparkdream/forum/v1/tx.js +335 -2630
- package/sparkdream/forum/v1/tx.registry.d.ts +1 -181
- package/sparkdream/forum/v1/tx.registry.js +1 -271
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +1 -46
- package/sparkdream/forum/v1/tx.rpc.msg.js +0 -90
- package/sparkdream/forum/v1/types.d.ts +0 -50
- package/sparkdream/forum/v1/types.js +1 -225
- package/sparkdream/futarchy/v1/market.d.ts +14 -0
- package/sparkdream/futarchy/v1/market.js +13 -1
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/rep/v1/accountability.d.ts +39 -0
- package/sparkdream/rep/v1/accountability.js +181 -0
- package/sparkdream/rep/v1/bonded_role.d.ts +330 -0
- package/sparkdream/rep/v1/bonded_role.js +453 -0
- package/sparkdream/rep/v1/genesis.d.ts +70 -0
- package/sparkdream/rep/v1/genesis.js +224 -1
- package/sparkdream/{forum → rep}/v1/gov_action_appeal.d.ts +9 -9
- package/sparkdream/{forum → rep}/v1/gov_action_appeal.js +4 -4
- package/sparkdream/{forum → rep}/v1/jury_participation.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/jury_participation.js +4 -4
- package/sparkdream/rep/v1/member.d.ts +16 -0
- package/sparkdream/rep/v1/member.js +25 -1
- package/sparkdream/rep/v1/member_report.d.ts +128 -0
- package/sparkdream/{forum → rep}/v1/member_report.js +103 -6
- package/sparkdream/{forum → rep}/v1/member_warning.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/member_warning.js +4 -4
- package/sparkdream/rep/v1/params.d.ts +352 -8
- package/sparkdream/rep/v1/params.js +782 -254
- package/sparkdream/rep/v1/project.d.ts +10 -0
- package/sparkdream/rep/v1/project.js +13 -1
- package/sparkdream/rep/v1/query.d.ts +4222 -1156
- package/sparkdream/rep/v1/query.js +5254 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +35 -1
- package/sparkdream/rep/v1/query.lcd.js +293 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +140 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +333 -0
- package/sparkdream/{common → rep}/v1/reserved_tag.d.ts +11 -11
- package/sparkdream/{common → rep}/v1/reserved_tag.js +5 -5
- package/sparkdream/{common → rep}/v1/tag.d.ts +14 -14
- package/sparkdream/{common → rep}/v1/tag.js +6 -6
- package/sparkdream/{forum → rep}/v1/tag_budget.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_budget.js +4 -4
- package/sparkdream/{forum → rep}/v1/tag_budget_award.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_budget_award.js +4 -4
- package/sparkdream/{forum → rep}/v1/tag_report.d.ts +8 -8
- package/sparkdream/{forum → rep}/v1/tag_report.js +4 -4
- package/sparkdream/rep/v1/tx.amino.d.ts +81 -1
- package/sparkdream/rep/v1/tx.amino.js +80 -0
- package/sparkdream/rep/v1/tx.d.ts +1484 -0
- package/sparkdream/rep/v1/tx.js +2468 -1
- package/sparkdream/rep/v1/tx.registry.d.ts +193 -1
- package/sparkdream/rep/v1/tx.registry.js +289 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +64 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +103 -0
- package/sparkdream/rpc.query.d.ts +60 -36
- package/sparkdream/rpc.query.js +3 -0
- package/sparkdream/rpc.tx.d.ts +3 -0
- package/sparkdream/rpc.tx.js +3 -0
- package/sparkdream/season/v1/enums.d.ts +5 -0
- package/sparkdream/season/v1/enums.js +10 -0
- package/sparkdream/season/v1/params.d.ts +36 -4
- package/sparkdream/season/v1/params.js +94 -46
- package/sparkdream/shield/v1/types.d.ts +28 -0
- package/sparkdream/shield/v1/types.js +47 -5
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/esm/sparkdream/forum/v1/member_salvation_status.js +0 -119
- package/sparkdream/forum/v1/member_report.d.ts +0 -67
- package/sparkdream/forum/v1/member_salvation_status.d.ts +0 -54
- package/sparkdream/forum/v1/member_salvation_status.js +0 -122
|
@@ -35,7 +35,13 @@ function createBaseParams() {
|
|
|
35
35
|
costPerByteExempt: false,
|
|
36
36
|
ephemeralTtl: BigInt(0),
|
|
37
37
|
convictionRenewalThreshold: "",
|
|
38
|
-
convictionRenewalPeriod: BigInt(0)
|
|
38
|
+
convictionRenewalPeriod: BigInt(0),
|
|
39
|
+
minSentinelBond: "",
|
|
40
|
+
minSentinelRepTier: BigInt(0),
|
|
41
|
+
minSentinelTrustLevel: "",
|
|
42
|
+
minSentinelAgeBlocks: BigInt(0),
|
|
43
|
+
sentinelDemotionCooldown: BigInt(0),
|
|
44
|
+
sentinelDemotionThreshold: ""
|
|
39
45
|
};
|
|
40
46
|
}
|
|
41
47
|
/**
|
|
@@ -144,6 +150,24 @@ export const Params = {
|
|
|
144
150
|
if (message.convictionRenewalPeriod !== BigInt(0)) {
|
|
145
151
|
writer.uint32(304).int64(message.convictionRenewalPeriod);
|
|
146
152
|
}
|
|
153
|
+
if (message.minSentinelBond !== "") {
|
|
154
|
+
writer.uint32(322).string(message.minSentinelBond);
|
|
155
|
+
}
|
|
156
|
+
if (message.minSentinelRepTier !== BigInt(0)) {
|
|
157
|
+
writer.uint32(328).uint64(message.minSentinelRepTier);
|
|
158
|
+
}
|
|
159
|
+
if (message.minSentinelTrustLevel !== "") {
|
|
160
|
+
writer.uint32(338).string(message.minSentinelTrustLevel);
|
|
161
|
+
}
|
|
162
|
+
if (message.minSentinelAgeBlocks !== BigInt(0)) {
|
|
163
|
+
writer.uint32(344).int64(message.minSentinelAgeBlocks);
|
|
164
|
+
}
|
|
165
|
+
if (message.sentinelDemotionCooldown !== BigInt(0)) {
|
|
166
|
+
writer.uint32(352).int64(message.sentinelDemotionCooldown);
|
|
167
|
+
}
|
|
168
|
+
if (message.sentinelDemotionThreshold !== "") {
|
|
169
|
+
writer.uint32(362).string(message.sentinelDemotionThreshold);
|
|
170
|
+
}
|
|
147
171
|
return writer;
|
|
148
172
|
},
|
|
149
173
|
decode(input, length) {
|
|
@@ -249,6 +273,24 @@ export const Params = {
|
|
|
249
273
|
case 38:
|
|
250
274
|
message.convictionRenewalPeriod = reader.int64();
|
|
251
275
|
break;
|
|
276
|
+
case 40:
|
|
277
|
+
message.minSentinelBond = reader.string();
|
|
278
|
+
break;
|
|
279
|
+
case 41:
|
|
280
|
+
message.minSentinelRepTier = reader.uint64();
|
|
281
|
+
break;
|
|
282
|
+
case 42:
|
|
283
|
+
message.minSentinelTrustLevel = reader.string();
|
|
284
|
+
break;
|
|
285
|
+
case 43:
|
|
286
|
+
message.minSentinelAgeBlocks = reader.int64();
|
|
287
|
+
break;
|
|
288
|
+
case 44:
|
|
289
|
+
message.sentinelDemotionCooldown = reader.int64();
|
|
290
|
+
break;
|
|
291
|
+
case 45:
|
|
292
|
+
message.sentinelDemotionThreshold = reader.string();
|
|
293
|
+
break;
|
|
252
294
|
default:
|
|
253
295
|
reader.skipType(tag & 7);
|
|
254
296
|
break;
|
|
@@ -290,6 +332,12 @@ export const Params = {
|
|
|
290
332
|
message.ephemeralTtl = object.ephemeralTtl !== undefined && object.ephemeralTtl !== null ? BigInt(object.ephemeralTtl.toString()) : BigInt(0);
|
|
291
333
|
message.convictionRenewalThreshold = object.convictionRenewalThreshold ?? "";
|
|
292
334
|
message.convictionRenewalPeriod = object.convictionRenewalPeriod !== undefined && object.convictionRenewalPeriod !== null ? BigInt(object.convictionRenewalPeriod.toString()) : BigInt(0);
|
|
335
|
+
message.minSentinelBond = object.minSentinelBond ?? "";
|
|
336
|
+
message.minSentinelRepTier = object.minSentinelRepTier !== undefined && object.minSentinelRepTier !== null ? BigInt(object.minSentinelRepTier.toString()) : BigInt(0);
|
|
337
|
+
message.minSentinelTrustLevel = object.minSentinelTrustLevel ?? "";
|
|
338
|
+
message.minSentinelAgeBlocks = object.minSentinelAgeBlocks !== undefined && object.minSentinelAgeBlocks !== null ? BigInt(object.minSentinelAgeBlocks.toString()) : BigInt(0);
|
|
339
|
+
message.sentinelDemotionCooldown = object.sentinelDemotionCooldown !== undefined && object.sentinelDemotionCooldown !== null ? BigInt(object.sentinelDemotionCooldown.toString()) : BigInt(0);
|
|
340
|
+
message.sentinelDemotionThreshold = object.sentinelDemotionThreshold ?? "";
|
|
293
341
|
return message;
|
|
294
342
|
},
|
|
295
343
|
fromAmino(object) {
|
|
@@ -390,6 +438,24 @@ export const Params = {
|
|
|
390
438
|
if (object.conviction_renewal_period !== undefined && object.conviction_renewal_period !== null) {
|
|
391
439
|
message.convictionRenewalPeriod = BigInt(object.conviction_renewal_period);
|
|
392
440
|
}
|
|
441
|
+
if (object.min_sentinel_bond !== undefined && object.min_sentinel_bond !== null) {
|
|
442
|
+
message.minSentinelBond = object.min_sentinel_bond;
|
|
443
|
+
}
|
|
444
|
+
if (object.min_sentinel_rep_tier !== undefined && object.min_sentinel_rep_tier !== null) {
|
|
445
|
+
message.minSentinelRepTier = BigInt(object.min_sentinel_rep_tier);
|
|
446
|
+
}
|
|
447
|
+
if (object.min_sentinel_trust_level !== undefined && object.min_sentinel_trust_level !== null) {
|
|
448
|
+
message.minSentinelTrustLevel = object.min_sentinel_trust_level;
|
|
449
|
+
}
|
|
450
|
+
if (object.min_sentinel_age_blocks !== undefined && object.min_sentinel_age_blocks !== null) {
|
|
451
|
+
message.minSentinelAgeBlocks = BigInt(object.min_sentinel_age_blocks);
|
|
452
|
+
}
|
|
453
|
+
if (object.sentinel_demotion_cooldown !== undefined && object.sentinel_demotion_cooldown !== null) {
|
|
454
|
+
message.sentinelDemotionCooldown = BigInt(object.sentinel_demotion_cooldown);
|
|
455
|
+
}
|
|
456
|
+
if (object.sentinel_demotion_threshold !== undefined && object.sentinel_demotion_threshold !== null) {
|
|
457
|
+
message.sentinelDemotionThreshold = object.sentinel_demotion_threshold;
|
|
458
|
+
}
|
|
393
459
|
return message;
|
|
394
460
|
},
|
|
395
461
|
toAmino(message) {
|
|
@@ -426,6 +492,12 @@ export const Params = {
|
|
|
426
492
|
obj.ephemeral_ttl = message.ephemeralTtl !== BigInt(0) ? message.ephemeralTtl?.toString() : undefined;
|
|
427
493
|
obj.conviction_renewal_threshold = message.convictionRenewalThreshold === "" ? undefined : message.convictionRenewalThreshold;
|
|
428
494
|
obj.conviction_renewal_period = message.convictionRenewalPeriod !== BigInt(0) ? message.convictionRenewalPeriod?.toString() : undefined;
|
|
495
|
+
obj.min_sentinel_bond = message.minSentinelBond === "" ? undefined : message.minSentinelBond;
|
|
496
|
+
obj.min_sentinel_rep_tier = message.minSentinelRepTier !== BigInt(0) ? message.minSentinelRepTier?.toString() : undefined;
|
|
497
|
+
obj.min_sentinel_trust_level = message.minSentinelTrustLevel === "" ? undefined : message.minSentinelTrustLevel;
|
|
498
|
+
obj.min_sentinel_age_blocks = message.minSentinelAgeBlocks !== BigInt(0) ? message.minSentinelAgeBlocks?.toString() : undefined;
|
|
499
|
+
obj.sentinel_demotion_cooldown = message.sentinelDemotionCooldown !== BigInt(0) ? message.sentinelDemotionCooldown?.toString() : undefined;
|
|
500
|
+
obj.sentinel_demotion_threshold = message.sentinelDemotionThreshold === "" ? undefined : message.sentinelDemotionThreshold;
|
|
429
501
|
return obj;
|
|
430
502
|
},
|
|
431
503
|
fromAminoMsg(object) {
|
|
@@ -480,7 +552,13 @@ function createBaseForumOperationalParams() {
|
|
|
480
552
|
moveAppealCooldown: BigInt(0),
|
|
481
553
|
ephemeralTtl: BigInt(0),
|
|
482
554
|
convictionRenewalThreshold: "",
|
|
483
|
-
convictionRenewalPeriod: BigInt(0)
|
|
555
|
+
convictionRenewalPeriod: BigInt(0),
|
|
556
|
+
minSentinelBond: "",
|
|
557
|
+
minSentinelRepTier: BigInt(0),
|
|
558
|
+
minSentinelTrustLevel: "",
|
|
559
|
+
minSentinelAgeBlocks: BigInt(0),
|
|
560
|
+
sentinelDemotionCooldown: BigInt(0),
|
|
561
|
+
sentinelDemotionThreshold: ""
|
|
484
562
|
};
|
|
485
563
|
}
|
|
486
564
|
/**
|
|
@@ -583,6 +661,24 @@ export const ForumOperationalParams = {
|
|
|
583
661
|
if (message.convictionRenewalPeriod !== BigInt(0)) {
|
|
584
662
|
writer.uint32(256).int64(message.convictionRenewalPeriod);
|
|
585
663
|
}
|
|
664
|
+
if (message.minSentinelBond !== "") {
|
|
665
|
+
writer.uint32(322).string(message.minSentinelBond);
|
|
666
|
+
}
|
|
667
|
+
if (message.minSentinelRepTier !== BigInt(0)) {
|
|
668
|
+
writer.uint32(328).uint64(message.minSentinelRepTier);
|
|
669
|
+
}
|
|
670
|
+
if (message.minSentinelTrustLevel !== "") {
|
|
671
|
+
writer.uint32(338).string(message.minSentinelTrustLevel);
|
|
672
|
+
}
|
|
673
|
+
if (message.minSentinelAgeBlocks !== BigInt(0)) {
|
|
674
|
+
writer.uint32(344).int64(message.minSentinelAgeBlocks);
|
|
675
|
+
}
|
|
676
|
+
if (message.sentinelDemotionCooldown !== BigInt(0)) {
|
|
677
|
+
writer.uint32(352).int64(message.sentinelDemotionCooldown);
|
|
678
|
+
}
|
|
679
|
+
if (message.sentinelDemotionThreshold !== "") {
|
|
680
|
+
writer.uint32(362).string(message.sentinelDemotionThreshold);
|
|
681
|
+
}
|
|
586
682
|
return writer;
|
|
587
683
|
},
|
|
588
684
|
decode(input, length) {
|
|
@@ -679,6 +775,24 @@ export const ForumOperationalParams = {
|
|
|
679
775
|
case 32:
|
|
680
776
|
message.convictionRenewalPeriod = reader.int64();
|
|
681
777
|
break;
|
|
778
|
+
case 40:
|
|
779
|
+
message.minSentinelBond = reader.string();
|
|
780
|
+
break;
|
|
781
|
+
case 41:
|
|
782
|
+
message.minSentinelRepTier = reader.uint64();
|
|
783
|
+
break;
|
|
784
|
+
case 42:
|
|
785
|
+
message.minSentinelTrustLevel = reader.string();
|
|
786
|
+
break;
|
|
787
|
+
case 43:
|
|
788
|
+
message.minSentinelAgeBlocks = reader.int64();
|
|
789
|
+
break;
|
|
790
|
+
case 44:
|
|
791
|
+
message.sentinelDemotionCooldown = reader.int64();
|
|
792
|
+
break;
|
|
793
|
+
case 45:
|
|
794
|
+
message.sentinelDemotionThreshold = reader.string();
|
|
795
|
+
break;
|
|
682
796
|
default:
|
|
683
797
|
reader.skipType(tag & 7);
|
|
684
798
|
break;
|
|
@@ -717,6 +831,12 @@ export const ForumOperationalParams = {
|
|
|
717
831
|
message.ephemeralTtl = object.ephemeralTtl !== undefined && object.ephemeralTtl !== null ? BigInt(object.ephemeralTtl.toString()) : BigInt(0);
|
|
718
832
|
message.convictionRenewalThreshold = object.convictionRenewalThreshold ?? "";
|
|
719
833
|
message.convictionRenewalPeriod = object.convictionRenewalPeriod !== undefined && object.convictionRenewalPeriod !== null ? BigInt(object.convictionRenewalPeriod.toString()) : BigInt(0);
|
|
834
|
+
message.minSentinelBond = object.minSentinelBond ?? "";
|
|
835
|
+
message.minSentinelRepTier = object.minSentinelRepTier !== undefined && object.minSentinelRepTier !== null ? BigInt(object.minSentinelRepTier.toString()) : BigInt(0);
|
|
836
|
+
message.minSentinelTrustLevel = object.minSentinelTrustLevel ?? "";
|
|
837
|
+
message.minSentinelAgeBlocks = object.minSentinelAgeBlocks !== undefined && object.minSentinelAgeBlocks !== null ? BigInt(object.minSentinelAgeBlocks.toString()) : BigInt(0);
|
|
838
|
+
message.sentinelDemotionCooldown = object.sentinelDemotionCooldown !== undefined && object.sentinelDemotionCooldown !== null ? BigInt(object.sentinelDemotionCooldown.toString()) : BigInt(0);
|
|
839
|
+
message.sentinelDemotionThreshold = object.sentinelDemotionThreshold ?? "";
|
|
720
840
|
return message;
|
|
721
841
|
},
|
|
722
842
|
fromAmino(object) {
|
|
@@ -808,6 +928,24 @@ export const ForumOperationalParams = {
|
|
|
808
928
|
if (object.conviction_renewal_period !== undefined && object.conviction_renewal_period !== null) {
|
|
809
929
|
message.convictionRenewalPeriod = BigInt(object.conviction_renewal_period);
|
|
810
930
|
}
|
|
931
|
+
if (object.min_sentinel_bond !== undefined && object.min_sentinel_bond !== null) {
|
|
932
|
+
message.minSentinelBond = object.min_sentinel_bond;
|
|
933
|
+
}
|
|
934
|
+
if (object.min_sentinel_rep_tier !== undefined && object.min_sentinel_rep_tier !== null) {
|
|
935
|
+
message.minSentinelRepTier = BigInt(object.min_sentinel_rep_tier);
|
|
936
|
+
}
|
|
937
|
+
if (object.min_sentinel_trust_level !== undefined && object.min_sentinel_trust_level !== null) {
|
|
938
|
+
message.minSentinelTrustLevel = object.min_sentinel_trust_level;
|
|
939
|
+
}
|
|
940
|
+
if (object.min_sentinel_age_blocks !== undefined && object.min_sentinel_age_blocks !== null) {
|
|
941
|
+
message.minSentinelAgeBlocks = BigInt(object.min_sentinel_age_blocks);
|
|
942
|
+
}
|
|
943
|
+
if (object.sentinel_demotion_cooldown !== undefined && object.sentinel_demotion_cooldown !== null) {
|
|
944
|
+
message.sentinelDemotionCooldown = BigInt(object.sentinel_demotion_cooldown);
|
|
945
|
+
}
|
|
946
|
+
if (object.sentinel_demotion_threshold !== undefined && object.sentinel_demotion_threshold !== null) {
|
|
947
|
+
message.sentinelDemotionThreshold = object.sentinel_demotion_threshold;
|
|
948
|
+
}
|
|
811
949
|
return message;
|
|
812
950
|
},
|
|
813
951
|
toAmino(message) {
|
|
@@ -841,6 +979,12 @@ export const ForumOperationalParams = {
|
|
|
841
979
|
obj.ephemeral_ttl = message.ephemeralTtl !== BigInt(0) ? message.ephemeralTtl?.toString() : undefined;
|
|
842
980
|
obj.conviction_renewal_threshold = message.convictionRenewalThreshold === "" ? undefined : message.convictionRenewalThreshold;
|
|
843
981
|
obj.conviction_renewal_period = message.convictionRenewalPeriod !== BigInt(0) ? message.convictionRenewalPeriod?.toString() : undefined;
|
|
982
|
+
obj.min_sentinel_bond = message.minSentinelBond === "" ? undefined : message.minSentinelBond;
|
|
983
|
+
obj.min_sentinel_rep_tier = message.minSentinelRepTier !== BigInt(0) ? message.minSentinelRepTier?.toString() : undefined;
|
|
984
|
+
obj.min_sentinel_trust_level = message.minSentinelTrustLevel === "" ? undefined : message.minSentinelTrustLevel;
|
|
985
|
+
obj.min_sentinel_age_blocks = message.minSentinelAgeBlocks !== BigInt(0) ? message.minSentinelAgeBlocks?.toString() : undefined;
|
|
986
|
+
obj.sentinel_demotion_cooldown = message.sentinelDemotionCooldown !== BigInt(0) ? message.sentinelDemotionCooldown?.toString() : undefined;
|
|
987
|
+
obj.sentinel_demotion_threshold = message.sentinelDemotionThreshold === "" ? undefined : message.sentinelDemotionThreshold;
|
|
844
988
|
return obj;
|
|
845
989
|
},
|
|
846
990
|
fromAminoMsg(object) {
|