@sparkdreamnft/sparkdreamjs 0.0.9 → 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 +106 -106
- 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 +343 -339
- 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/federation/v1/genesis.js +12 -11
- package/esm/sparkdream/federation/v1/query.js +37 -187
- package/esm/sparkdream/federation/v1/query.lcd.js +6 -16
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +11 -19
- package/esm/sparkdream/federation/v1/tx.amino.js +1 -11
- package/esm/sparkdream/federation/v1/tx.js +0 -270
- package/esm/sparkdream/federation/v1/tx.registry.js +2 -38
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +4 -14
- package/esm/sparkdream/federation/v1/types.js +13 -318
- package/esm/sparkdream/federation/v1/verifier_activity.js +194 -0
- package/esm/sparkdream/forum/v1/params.js +146 -2
- package/esm/sparkdream/futarchy/v1/market.js +13 -1
- package/esm/sparkdream/rep/v1/bonded_role.js +446 -0
- package/esm/sparkdream/rep/v1/genesis.js +32 -17
- package/esm/sparkdream/rep/v1/member_report.js +98 -1
- package/esm/sparkdream/rep/v1/query.js +297 -306
- package/esm/sparkdream/rep/v1/query.lcd.js +23 -16
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +36 -35
- package/esm/sparkdream/rep/v1/tx.amino.js +9 -9
- package/esm/sparkdream/rep/v1/tx.js +86 -58
- package/esm/sparkdream/rep/v1/tx.registry.js +18 -18
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -14
- package/esm/sparkdream/season/v1/enums.js +10 -0
- package/esm/tendermint/bundle.js +18 -18
- 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 +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 +14376 -14514
- package/sparkdream/bundle.js +343 -339
- package/sparkdream/client.d.ts +6 -26
- 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/federation/v1/genesis.d.ts +4 -3
- package/sparkdream/federation/v1/genesis.js +11 -10
- package/sparkdream/federation/v1/query.d.ts +53 -136
- package/sparkdream/federation/v1/query.js +37 -187
- package/sparkdream/federation/v1/query.lcd.d.ts +2 -3
- package/sparkdream/federation/v1/query.lcd.js +6 -16
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
- package/sparkdream/federation/v1/query.rpc.Query.js +10 -18
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -11
- package/sparkdream/federation/v1/tx.amino.js +0 -10
- package/sparkdream/federation/v1/tx.d.ts +0 -164
- package/sparkdream/federation/v1/tx.js +1 -272
- package/sparkdream/federation/v1/tx.registry.d.ts +1 -25
- package/sparkdream/federation/v1/tx.registry.js +1 -37
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +6 -5
- package/sparkdream/federation/v1/tx.rpc.msg.js +3 -13
- package/sparkdream/federation/v1/types.d.ts +10 -106
- package/sparkdream/federation/v1/types.js +14 -321
- package/sparkdream/federation/v1/verifier_activity.d.ts +113 -0
- package/sparkdream/federation/v1/verifier_activity.js +197 -0
- package/sparkdream/forum/v1/params.d.ts +112 -0
- package/sparkdream/forum/v1/params.js +146 -2
- package/sparkdream/futarchy/v1/market.d.ts +14 -0
- package/sparkdream/futarchy/v1/market.js +13 -1
- 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 +11 -9
- package/sparkdream/rep/v1/genesis.js +32 -17
- package/sparkdream/rep/v1/member_report.d.ts +61 -0
- package/sparkdream/rep/v1/member_report.js +99 -2
- package/sparkdream/rep/v1/query.d.ts +259 -261
- package/sparkdream/rep/v1/query.js +299 -308
- package/sparkdream/rep/v1/query.lcd.d.ts +5 -5
- package/sparkdream/rep/v1/query.lcd.js +23 -16
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +20 -17
- package/sparkdream/rep/v1/query.rpc.Query.js +35 -34
- package/sparkdream/rep/v1/tx.amino.d.ts +7 -7
- package/sparkdream/rep/v1/tx.amino.js +9 -9
- package/sparkdream/rep/v1/tx.d.ts +121 -104
- package/sparkdream/rep/v1/tx.js +87 -59
- package/sparkdream/rep/v1/tx.registry.d.ts +11 -11
- package/sparkdream/rep/v1/tx.registry.js +17 -17
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +11 -9
- package/sparkdream/rep/v1/tx.rpc.msg.js +15 -13
- package/sparkdream/rpc.query.d.ts +8 -8
- package/sparkdream/season/v1/enums.d.ts +5 -0
- package/sparkdream/season/v1/enums.js +10 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +18 -18
- package/esm/sparkdream/rep/v1/sentinel_activity.js +0 -214
- package/sparkdream/rep/v1/sentinel_activity.d.ts +0 -79
- package/sparkdream/rep/v1/sentinel_activity.js +0 -219
|
@@ -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) {
|
|
@@ -17,7 +17,8 @@ function createBaseMarket() {
|
|
|
17
17
|
poolYes: "",
|
|
18
18
|
poolNo: "",
|
|
19
19
|
initialLiquidity: "",
|
|
20
|
-
liquidityWithdrawn: ""
|
|
20
|
+
liquidityWithdrawn: "",
|
|
21
|
+
settlementPriceYes: ""
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
@@ -74,6 +75,9 @@ export const Market = {
|
|
|
74
75
|
if (message.liquidityWithdrawn !== "") {
|
|
75
76
|
writer.uint32(122).string(message.liquidityWithdrawn);
|
|
76
77
|
}
|
|
78
|
+
if (message.settlementPriceYes !== "") {
|
|
79
|
+
writer.uint32(130).string(Decimal.fromUserInput(message.settlementPriceYes, 18).atomics);
|
|
80
|
+
}
|
|
77
81
|
return writer;
|
|
78
82
|
},
|
|
79
83
|
decode(input, length) {
|
|
@@ -128,6 +132,9 @@ export const Market = {
|
|
|
128
132
|
case 15:
|
|
129
133
|
message.liquidityWithdrawn = reader.string();
|
|
130
134
|
break;
|
|
135
|
+
case 16:
|
|
136
|
+
message.settlementPriceYes = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
137
|
+
break;
|
|
131
138
|
default:
|
|
132
139
|
reader.skipType(tag & 7);
|
|
133
140
|
break;
|
|
@@ -152,6 +159,7 @@ export const Market = {
|
|
|
152
159
|
message.poolNo = object.poolNo ?? "";
|
|
153
160
|
message.initialLiquidity = object.initialLiquidity ?? "";
|
|
154
161
|
message.liquidityWithdrawn = object.liquidityWithdrawn ?? "";
|
|
162
|
+
message.settlementPriceYes = object.settlementPriceYes ?? "";
|
|
155
163
|
return message;
|
|
156
164
|
},
|
|
157
165
|
fromAmino(object) {
|
|
@@ -201,6 +209,9 @@ export const Market = {
|
|
|
201
209
|
if (object.liquidity_withdrawn !== undefined && object.liquidity_withdrawn !== null) {
|
|
202
210
|
message.liquidityWithdrawn = object.liquidity_withdrawn;
|
|
203
211
|
}
|
|
212
|
+
if (object.settlement_price_yes !== undefined && object.settlement_price_yes !== null) {
|
|
213
|
+
message.settlementPriceYes = object.settlement_price_yes;
|
|
214
|
+
}
|
|
204
215
|
return message;
|
|
205
216
|
},
|
|
206
217
|
toAmino(message) {
|
|
@@ -220,6 +231,7 @@ export const Market = {
|
|
|
220
231
|
obj.pool_no = message.poolNo === "" ? undefined : message.poolNo;
|
|
221
232
|
obj.initial_liquidity = message.initialLiquidity === "" ? undefined : message.initialLiquidity;
|
|
222
233
|
obj.liquidity_withdrawn = message.liquidityWithdrawn === "" ? undefined : message.liquidityWithdrawn;
|
|
234
|
+
obj.settlement_price_yes = message.settlementPriceYes === "" ? undefined : message.settlementPriceYes;
|
|
223
235
|
return obj;
|
|
224
236
|
},
|
|
225
237
|
fromAminoMsg(object) {
|