@sparkdreamnft/sparkdreamjs 0.0.22 → 0.0.24

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.
@@ -9,7 +9,8 @@ function createBaseHideRecord() {
9
9
  committedAmount: "",
10
10
  reasonCode: 0,
11
11
  reasonText: "",
12
- authorBondAmount: ""
12
+ authorBondAmount: "",
13
+ appealed: false
13
14
  };
14
15
  }
15
16
  /**
@@ -54,6 +55,9 @@ export const HideRecord = {
54
55
  if (message.authorBondAmount !== "") {
55
56
  writer.uint32(74).string(message.authorBondAmount);
56
57
  }
58
+ if (message.appealed === true) {
59
+ writer.uint32(80).bool(message.appealed);
60
+ }
57
61
  return writer;
58
62
  },
59
63
  decode(input, length) {
@@ -90,6 +94,9 @@ export const HideRecord = {
90
94
  case 9:
91
95
  message.authorBondAmount = reader.string();
92
96
  break;
97
+ case 10:
98
+ message.appealed = reader.bool();
99
+ break;
93
100
  default:
94
101
  reader.skipType(tag & 7);
95
102
  break;
@@ -108,6 +115,7 @@ export const HideRecord = {
108
115
  message.reasonCode = object.reasonCode ?? 0;
109
116
  message.reasonText = object.reasonText ?? "";
110
117
  message.authorBondAmount = object.authorBondAmount ?? "";
118
+ message.appealed = object.appealed ?? false;
111
119
  return message;
112
120
  },
113
121
  fromAmino(object) {
@@ -139,6 +147,9 @@ export const HideRecord = {
139
147
  if (object.author_bond_amount !== undefined && object.author_bond_amount !== null) {
140
148
  message.authorBondAmount = object.author_bond_amount;
141
149
  }
150
+ if (object.appealed !== undefined && object.appealed !== null) {
151
+ message.appealed = object.appealed;
152
+ }
142
153
  return message;
143
154
  },
144
155
  toAmino(message) {
@@ -152,6 +163,7 @@ export const HideRecord = {
152
163
  obj.reason_code = message.reasonCode === 0 ? undefined : message.reasonCode;
153
164
  obj.reason_text = message.reasonText === "" ? undefined : message.reasonText;
154
165
  obj.author_bond_amount = message.authorBondAmount === "" ? undefined : message.authorBondAmount;
166
+ obj.appealed = message.appealed === false ? undefined : message.appealed;
155
167
  return obj;
156
168
  },
157
169
  fromAminoMsg(object) {
@@ -47,6 +47,13 @@ function createBaseParams() {
47
47
  maxPromotionsPerBlock: 0,
48
48
  authorRepSlash: "",
49
49
  maxMakePermanentPerDay: BigInt(0),
50
+ maxHidesPerEpoch: BigInt(0),
51
+ maxSentinelLocksPerEpoch: BigInt(0),
52
+ maxSentinelMovesPerEpoch: BigInt(0),
53
+ sentinelSlashAmount: "",
54
+ lockBondMultiplier: BigInt(0),
55
+ lockBackingAmount: "",
56
+ lockMinRepTier: BigInt(0),
50
57
  minPostConvictionStake: "",
51
58
  postConvictionLockSeconds: BigInt(0),
52
59
  postConvictionStreamRatePerBlock: "",
@@ -198,6 +205,27 @@ export const Params = {
198
205
  if (message.maxMakePermanentPerDay !== BigInt(0)) {
199
206
  writer.uint32(408).uint64(message.maxMakePermanentPerDay);
200
207
  }
208
+ if (message.maxHidesPerEpoch !== BigInt(0)) {
209
+ writer.uint32(416).uint64(message.maxHidesPerEpoch);
210
+ }
211
+ if (message.maxSentinelLocksPerEpoch !== BigInt(0)) {
212
+ writer.uint32(424).uint64(message.maxSentinelLocksPerEpoch);
213
+ }
214
+ if (message.maxSentinelMovesPerEpoch !== BigInt(0)) {
215
+ writer.uint32(432).uint64(message.maxSentinelMovesPerEpoch);
216
+ }
217
+ if (message.sentinelSlashAmount !== "") {
218
+ writer.uint32(442).string(message.sentinelSlashAmount);
219
+ }
220
+ if (message.lockBondMultiplier !== BigInt(0)) {
221
+ writer.uint32(448).uint64(message.lockBondMultiplier);
222
+ }
223
+ if (message.lockBackingAmount !== "") {
224
+ writer.uint32(458).string(message.lockBackingAmount);
225
+ }
226
+ if (message.lockMinRepTier !== BigInt(0)) {
227
+ writer.uint32(464).uint64(message.lockMinRepTier);
228
+ }
201
229
  if (message.minPostConvictionStake !== "") {
202
230
  writer.uint32(482).string(message.minPostConvictionStake);
203
231
  }
@@ -354,6 +382,27 @@ export const Params = {
354
382
  case 51:
355
383
  message.maxMakePermanentPerDay = reader.uint64();
356
384
  break;
385
+ case 52:
386
+ message.maxHidesPerEpoch = reader.uint64();
387
+ break;
388
+ case 53:
389
+ message.maxSentinelLocksPerEpoch = reader.uint64();
390
+ break;
391
+ case 54:
392
+ message.maxSentinelMovesPerEpoch = reader.uint64();
393
+ break;
394
+ case 55:
395
+ message.sentinelSlashAmount = reader.string();
396
+ break;
397
+ case 56:
398
+ message.lockBondMultiplier = reader.uint64();
399
+ break;
400
+ case 57:
401
+ message.lockBackingAmount = reader.string();
402
+ break;
403
+ case 58:
404
+ message.lockMinRepTier = reader.uint64();
405
+ break;
357
406
  case 60:
358
407
  message.minPostConvictionStake = reader.string();
359
408
  break;
@@ -422,6 +471,13 @@ export const Params = {
422
471
  message.maxPromotionsPerBlock = object.maxPromotionsPerBlock ?? 0;
423
472
  message.authorRepSlash = object.authorRepSlash ?? "";
424
473
  message.maxMakePermanentPerDay = object.maxMakePermanentPerDay !== undefined && object.maxMakePermanentPerDay !== null ? BigInt(object.maxMakePermanentPerDay.toString()) : BigInt(0);
474
+ message.maxHidesPerEpoch = object.maxHidesPerEpoch !== undefined && object.maxHidesPerEpoch !== null ? BigInt(object.maxHidesPerEpoch.toString()) : BigInt(0);
475
+ message.maxSentinelLocksPerEpoch = object.maxSentinelLocksPerEpoch !== undefined && object.maxSentinelLocksPerEpoch !== null ? BigInt(object.maxSentinelLocksPerEpoch.toString()) : BigInt(0);
476
+ message.maxSentinelMovesPerEpoch = object.maxSentinelMovesPerEpoch !== undefined && object.maxSentinelMovesPerEpoch !== null ? BigInt(object.maxSentinelMovesPerEpoch.toString()) : BigInt(0);
477
+ message.sentinelSlashAmount = object.sentinelSlashAmount ?? "";
478
+ message.lockBondMultiplier = object.lockBondMultiplier !== undefined && object.lockBondMultiplier !== null ? BigInt(object.lockBondMultiplier.toString()) : BigInt(0);
479
+ message.lockBackingAmount = object.lockBackingAmount ?? "";
480
+ message.lockMinRepTier = object.lockMinRepTier !== undefined && object.lockMinRepTier !== null ? BigInt(object.lockMinRepTier.toString()) : BigInt(0);
425
481
  message.minPostConvictionStake = object.minPostConvictionStake ?? "";
426
482
  message.postConvictionLockSeconds = object.postConvictionLockSeconds !== undefined && object.postConvictionLockSeconds !== null ? BigInt(object.postConvictionLockSeconds.toString()) : BigInt(0);
427
483
  message.postConvictionStreamRatePerBlock = object.postConvictionStreamRatePerBlock ?? "";
@@ -563,6 +619,27 @@ export const Params = {
563
619
  if (object.max_make_permanent_per_day !== undefined && object.max_make_permanent_per_day !== null) {
564
620
  message.maxMakePermanentPerDay = BigInt(object.max_make_permanent_per_day);
565
621
  }
622
+ if (object.max_hides_per_epoch !== undefined && object.max_hides_per_epoch !== null) {
623
+ message.maxHidesPerEpoch = BigInt(object.max_hides_per_epoch);
624
+ }
625
+ if (object.max_sentinel_locks_per_epoch !== undefined && object.max_sentinel_locks_per_epoch !== null) {
626
+ message.maxSentinelLocksPerEpoch = BigInt(object.max_sentinel_locks_per_epoch);
627
+ }
628
+ if (object.max_sentinel_moves_per_epoch !== undefined && object.max_sentinel_moves_per_epoch !== null) {
629
+ message.maxSentinelMovesPerEpoch = BigInt(object.max_sentinel_moves_per_epoch);
630
+ }
631
+ if (object.sentinel_slash_amount !== undefined && object.sentinel_slash_amount !== null) {
632
+ message.sentinelSlashAmount = object.sentinel_slash_amount;
633
+ }
634
+ if (object.lock_bond_multiplier !== undefined && object.lock_bond_multiplier !== null) {
635
+ message.lockBondMultiplier = BigInt(object.lock_bond_multiplier);
636
+ }
637
+ if (object.lock_backing_amount !== undefined && object.lock_backing_amount !== null) {
638
+ message.lockBackingAmount = object.lock_backing_amount;
639
+ }
640
+ if (object.lock_min_rep_tier !== undefined && object.lock_min_rep_tier !== null) {
641
+ message.lockMinRepTier = BigInt(object.lock_min_rep_tier);
642
+ }
566
643
  if (object.min_post_conviction_stake !== undefined && object.min_post_conviction_stake !== null) {
567
644
  message.minPostConvictionStake = object.min_post_conviction_stake;
568
645
  }
@@ -626,6 +703,13 @@ export const Params = {
626
703
  obj.max_promotions_per_block = message.maxPromotionsPerBlock === 0 ? undefined : message.maxPromotionsPerBlock;
627
704
  obj.author_rep_slash = message.authorRepSlash === "" ? undefined : message.authorRepSlash;
628
705
  obj.max_make_permanent_per_day = message.maxMakePermanentPerDay !== BigInt(0) ? message.maxMakePermanentPerDay?.toString() : undefined;
706
+ obj.max_hides_per_epoch = message.maxHidesPerEpoch !== BigInt(0) ? message.maxHidesPerEpoch?.toString() : undefined;
707
+ obj.max_sentinel_locks_per_epoch = message.maxSentinelLocksPerEpoch !== BigInt(0) ? message.maxSentinelLocksPerEpoch?.toString() : undefined;
708
+ obj.max_sentinel_moves_per_epoch = message.maxSentinelMovesPerEpoch !== BigInt(0) ? message.maxSentinelMovesPerEpoch?.toString() : undefined;
709
+ obj.sentinel_slash_amount = message.sentinelSlashAmount === "" ? undefined : message.sentinelSlashAmount;
710
+ obj.lock_bond_multiplier = message.lockBondMultiplier !== BigInt(0) ? message.lockBondMultiplier?.toString() : undefined;
711
+ obj.lock_backing_amount = message.lockBackingAmount === "" ? undefined : message.lockBackingAmount;
712
+ obj.lock_min_rep_tier = message.lockMinRepTier !== BigInt(0) ? message.lockMinRepTier?.toString() : undefined;
629
713
  obj.min_post_conviction_stake = message.minPostConvictionStake === "" ? undefined : message.minPostConvictionStake;
630
714
  obj.post_conviction_lock_seconds = message.postConvictionLockSeconds !== BigInt(0) ? message.postConvictionLockSeconds?.toString() : undefined;
631
715
  obj.post_conviction_stream_rate_per_block = message.postConvictionStreamRatePerBlock === "" ? undefined : message.postConvictionStreamRatePerBlock;
@@ -698,6 +782,10 @@ function createBaseForumOperationalParams() {
698
782
  maxPromotionsPerBlock: 0,
699
783
  authorRepSlash: "",
700
784
  maxMakePermanentPerDay: BigInt(0),
785
+ maxHidesPerEpoch: BigInt(0),
786
+ maxSentinelLocksPerEpoch: BigInt(0),
787
+ maxSentinelMovesPerEpoch: BigInt(0),
788
+ sentinelSlashAmount: "",
701
789
  minPostConvictionStake: "",
702
790
  postConvictionLockSeconds: BigInt(0),
703
791
  postConvictionStreamRatePerBlock: "",
@@ -841,6 +929,18 @@ export const ForumOperationalParams = {
841
929
  if (message.maxMakePermanentPerDay !== BigInt(0)) {
842
930
  writer.uint32(408).uint64(message.maxMakePermanentPerDay);
843
931
  }
932
+ if (message.maxHidesPerEpoch !== BigInt(0)) {
933
+ writer.uint32(416).uint64(message.maxHidesPerEpoch);
934
+ }
935
+ if (message.maxSentinelLocksPerEpoch !== BigInt(0)) {
936
+ writer.uint32(424).uint64(message.maxSentinelLocksPerEpoch);
937
+ }
938
+ if (message.maxSentinelMovesPerEpoch !== BigInt(0)) {
939
+ writer.uint32(432).uint64(message.maxSentinelMovesPerEpoch);
940
+ }
941
+ if (message.sentinelSlashAmount !== "") {
942
+ writer.uint32(442).string(message.sentinelSlashAmount);
943
+ }
844
944
  if (message.minPostConvictionStake !== "") {
845
945
  writer.uint32(482).string(message.minPostConvictionStake);
846
946
  }
@@ -988,6 +1088,18 @@ export const ForumOperationalParams = {
988
1088
  case 51:
989
1089
  message.maxMakePermanentPerDay = reader.uint64();
990
1090
  break;
1091
+ case 52:
1092
+ message.maxHidesPerEpoch = reader.uint64();
1093
+ break;
1094
+ case 53:
1095
+ message.maxSentinelLocksPerEpoch = reader.uint64();
1096
+ break;
1097
+ case 54:
1098
+ message.maxSentinelMovesPerEpoch = reader.uint64();
1099
+ break;
1100
+ case 55:
1101
+ message.sentinelSlashAmount = reader.string();
1102
+ break;
991
1103
  case 60:
992
1104
  message.minPostConvictionStake = reader.string();
993
1105
  break;
@@ -1053,6 +1165,10 @@ export const ForumOperationalParams = {
1053
1165
  message.maxPromotionsPerBlock = object.maxPromotionsPerBlock ?? 0;
1054
1166
  message.authorRepSlash = object.authorRepSlash ?? "";
1055
1167
  message.maxMakePermanentPerDay = object.maxMakePermanentPerDay !== undefined && object.maxMakePermanentPerDay !== null ? BigInt(object.maxMakePermanentPerDay.toString()) : BigInt(0);
1168
+ message.maxHidesPerEpoch = object.maxHidesPerEpoch !== undefined && object.maxHidesPerEpoch !== null ? BigInt(object.maxHidesPerEpoch.toString()) : BigInt(0);
1169
+ message.maxSentinelLocksPerEpoch = object.maxSentinelLocksPerEpoch !== undefined && object.maxSentinelLocksPerEpoch !== null ? BigInt(object.maxSentinelLocksPerEpoch.toString()) : BigInt(0);
1170
+ message.maxSentinelMovesPerEpoch = object.maxSentinelMovesPerEpoch !== undefined && object.maxSentinelMovesPerEpoch !== null ? BigInt(object.maxSentinelMovesPerEpoch.toString()) : BigInt(0);
1171
+ message.sentinelSlashAmount = object.sentinelSlashAmount ?? "";
1056
1172
  message.minPostConvictionStake = object.minPostConvictionStake ?? "";
1057
1173
  message.postConvictionLockSeconds = object.postConvictionLockSeconds !== undefined && object.postConvictionLockSeconds !== null ? BigInt(object.postConvictionLockSeconds.toString()) : BigInt(0);
1058
1174
  message.postConvictionStreamRatePerBlock = object.postConvictionStreamRatePerBlock ?? "";
@@ -1185,6 +1301,18 @@ export const ForumOperationalParams = {
1185
1301
  if (object.max_make_permanent_per_day !== undefined && object.max_make_permanent_per_day !== null) {
1186
1302
  message.maxMakePermanentPerDay = BigInt(object.max_make_permanent_per_day);
1187
1303
  }
1304
+ if (object.max_hides_per_epoch !== undefined && object.max_hides_per_epoch !== null) {
1305
+ message.maxHidesPerEpoch = BigInt(object.max_hides_per_epoch);
1306
+ }
1307
+ if (object.max_sentinel_locks_per_epoch !== undefined && object.max_sentinel_locks_per_epoch !== null) {
1308
+ message.maxSentinelLocksPerEpoch = BigInt(object.max_sentinel_locks_per_epoch);
1309
+ }
1310
+ if (object.max_sentinel_moves_per_epoch !== undefined && object.max_sentinel_moves_per_epoch !== null) {
1311
+ message.maxSentinelMovesPerEpoch = BigInt(object.max_sentinel_moves_per_epoch);
1312
+ }
1313
+ if (object.sentinel_slash_amount !== undefined && object.sentinel_slash_amount !== null) {
1314
+ message.sentinelSlashAmount = object.sentinel_slash_amount;
1315
+ }
1188
1316
  if (object.min_post_conviction_stake !== undefined && object.min_post_conviction_stake !== null) {
1189
1317
  message.minPostConvictionStake = object.min_post_conviction_stake;
1190
1318
  }
@@ -1245,6 +1373,10 @@ export const ForumOperationalParams = {
1245
1373
  obj.max_promotions_per_block = message.maxPromotionsPerBlock === 0 ? undefined : message.maxPromotionsPerBlock;
1246
1374
  obj.author_rep_slash = message.authorRepSlash === "" ? undefined : message.authorRepSlash;
1247
1375
  obj.max_make_permanent_per_day = message.maxMakePermanentPerDay !== BigInt(0) ? message.maxMakePermanentPerDay?.toString() : undefined;
1376
+ obj.max_hides_per_epoch = message.maxHidesPerEpoch !== BigInt(0) ? message.maxHidesPerEpoch?.toString() : undefined;
1377
+ obj.max_sentinel_locks_per_epoch = message.maxSentinelLocksPerEpoch !== BigInt(0) ? message.maxSentinelLocksPerEpoch?.toString() : undefined;
1378
+ obj.max_sentinel_moves_per_epoch = message.maxSentinelMovesPerEpoch !== BigInt(0) ? message.maxSentinelMovesPerEpoch?.toString() : undefined;
1379
+ obj.sentinel_slash_amount = message.sentinelSlashAmount === "" ? undefined : message.sentinelSlashAmount;
1248
1380
  obj.min_post_conviction_stake = message.minPostConvictionStake === "" ? undefined : message.minPostConvictionStake;
1249
1381
  obj.post_conviction_lock_seconds = message.postConvictionLockSeconds !== BigInt(0) ? message.postConvictionLockSeconds?.toString() : undefined;
1250
1382
  obj.post_conviction_stream_rate_per_block = message.postConvictionStreamRatePerBlock === "" ? undefined : message.postConvictionStreamRatePerBlock;
@@ -25,11 +25,7 @@ function createBaseSentinelActivity() {
25
25
  totalPins: BigInt(0),
26
26
  upheldPins: BigInt(0),
27
27
  overturnedPins: BigInt(0),
28
- epochPins: BigInt(0),
29
- totalProposals: BigInt(0),
30
- confirmedProposals: BigInt(0),
31
- rejectedProposals: BigInt(0),
32
- epochCurations: BigInt(0)
28
+ epochPins: BigInt(0)
33
29
  };
34
30
  }
35
31
  /**
@@ -115,18 +111,6 @@ export const SentinelActivity = {
115
111
  if (message.epochPins !== BigInt(0)) {
116
112
  writer.uint32(192).uint64(message.epochPins);
117
113
  }
118
- if (message.totalProposals !== BigInt(0)) {
119
- writer.uint32(200).uint64(message.totalProposals);
120
- }
121
- if (message.confirmedProposals !== BigInt(0)) {
122
- writer.uint32(208).uint64(message.confirmedProposals);
123
- }
124
- if (message.rejectedProposals !== BigInt(0)) {
125
- writer.uint32(216).uint64(message.rejectedProposals);
126
- }
127
- if (message.epochCurations !== BigInt(0)) {
128
- writer.uint32(224).uint64(message.epochCurations);
129
- }
130
114
  return writer;
131
115
  },
132
116
  decode(input, length) {
@@ -208,18 +192,6 @@ export const SentinelActivity = {
208
192
  case 24:
209
193
  message.epochPins = reader.uint64();
210
194
  break;
211
- case 25:
212
- message.totalProposals = reader.uint64();
213
- break;
214
- case 26:
215
- message.confirmedProposals = reader.uint64();
216
- break;
217
- case 27:
218
- message.rejectedProposals = reader.uint64();
219
- break;
220
- case 28:
221
- message.epochCurations = reader.uint64();
222
- break;
223
195
  default:
224
196
  reader.skipType(tag & 7);
225
197
  break;
@@ -253,10 +225,6 @@ export const SentinelActivity = {
253
225
  message.upheldPins = object.upheldPins !== undefined && object.upheldPins !== null ? BigInt(object.upheldPins.toString()) : BigInt(0);
254
226
  message.overturnedPins = object.overturnedPins !== undefined && object.overturnedPins !== null ? BigInt(object.overturnedPins.toString()) : BigInt(0);
255
227
  message.epochPins = object.epochPins !== undefined && object.epochPins !== null ? BigInt(object.epochPins.toString()) : BigInt(0);
256
- message.totalProposals = object.totalProposals !== undefined && object.totalProposals !== null ? BigInt(object.totalProposals.toString()) : BigInt(0);
257
- message.confirmedProposals = object.confirmedProposals !== undefined && object.confirmedProposals !== null ? BigInt(object.confirmedProposals.toString()) : BigInt(0);
258
- message.rejectedProposals = object.rejectedProposals !== undefined && object.rejectedProposals !== null ? BigInt(object.rejectedProposals.toString()) : BigInt(0);
259
- message.epochCurations = object.epochCurations !== undefined && object.epochCurations !== null ? BigInt(object.epochCurations.toString()) : BigInt(0);
260
228
  return message;
261
229
  },
262
230
  fromAmino(object) {
@@ -333,18 +301,6 @@ export const SentinelActivity = {
333
301
  if (object.epoch_pins !== undefined && object.epoch_pins !== null) {
334
302
  message.epochPins = BigInt(object.epoch_pins);
335
303
  }
336
- if (object.total_proposals !== undefined && object.total_proposals !== null) {
337
- message.totalProposals = BigInt(object.total_proposals);
338
- }
339
- if (object.confirmed_proposals !== undefined && object.confirmed_proposals !== null) {
340
- message.confirmedProposals = BigInt(object.confirmed_proposals);
341
- }
342
- if (object.rejected_proposals !== undefined && object.rejected_proposals !== null) {
343
- message.rejectedProposals = BigInt(object.rejected_proposals);
344
- }
345
- if (object.epoch_curations !== undefined && object.epoch_curations !== null) {
346
- message.epochCurations = BigInt(object.epoch_curations);
347
- }
348
304
  return message;
349
305
  },
350
306
  toAmino(message) {
@@ -373,10 +329,6 @@ export const SentinelActivity = {
373
329
  obj.upheld_pins = message.upheldPins !== BigInt(0) ? message.upheldPins?.toString() : undefined;
374
330
  obj.overturned_pins = message.overturnedPins !== BigInt(0) ? message.overturnedPins?.toString() : undefined;
375
331
  obj.epoch_pins = message.epochPins !== BigInt(0) ? message.epochPins?.toString() : undefined;
376
- obj.total_proposals = message.totalProposals !== BigInt(0) ? message.totalProposals?.toString() : undefined;
377
- obj.confirmed_proposals = message.confirmedProposals !== BigInt(0) ? message.confirmedProposals?.toString() : undefined;
378
- obj.rejected_proposals = message.rejectedProposals !== BigInt(0) ? message.rejectedProposals?.toString() : undefined;
379
- obj.epoch_curations = message.epochCurations !== BigInt(0) ? message.epochCurations?.toString() : undefined;
380
332
  return obj;
381
333
  },
382
334
  fromAminoMsg(object) {
@@ -9,7 +9,8 @@ function createBaseThreadLockRecord() {
9
9
  sentinelBackingSnapshot: "",
10
10
  lockReason: "",
11
11
  appealPending: false,
12
- initiativeId: BigInt(0)
12
+ initiativeId: BigInt(0),
13
+ committedAmount: ""
13
14
  };
14
15
  }
15
16
  /**
@@ -45,6 +46,9 @@ export const ThreadLockRecord = {
45
46
  if (message.initiativeId !== BigInt(0)) {
46
47
  writer.uint32(64).uint64(message.initiativeId);
47
48
  }
49
+ if (message.committedAmount !== "") {
50
+ writer.uint32(74).string(message.committedAmount);
51
+ }
48
52
  return writer;
49
53
  },
50
54
  decode(input, length) {
@@ -78,6 +82,9 @@ export const ThreadLockRecord = {
78
82
  case 8:
79
83
  message.initiativeId = reader.uint64();
80
84
  break;
85
+ case 9:
86
+ message.committedAmount = reader.string();
87
+ break;
81
88
  default:
82
89
  reader.skipType(tag & 7);
83
90
  break;
@@ -95,6 +102,7 @@ export const ThreadLockRecord = {
95
102
  message.lockReason = object.lockReason ?? "";
96
103
  message.appealPending = object.appealPending ?? false;
97
104
  message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
105
+ message.committedAmount = object.committedAmount ?? "";
98
106
  return message;
99
107
  },
100
108
  fromAmino(object) {
@@ -123,6 +131,9 @@ export const ThreadLockRecord = {
123
131
  if (object.initiative_id !== undefined && object.initiative_id !== null) {
124
132
  message.initiativeId = BigInt(object.initiative_id);
125
133
  }
134
+ if (object.committed_amount !== undefined && object.committed_amount !== null) {
135
+ message.committedAmount = object.committed_amount;
136
+ }
126
137
  return message;
127
138
  },
128
139
  toAmino(message) {
@@ -135,6 +146,7 @@ export const ThreadLockRecord = {
135
146
  obj.lock_reason = message.lockReason === "" ? undefined : message.lockReason;
136
147
  obj.appeal_pending = message.appealPending === false ? undefined : message.appealPending;
137
148
  obj.initiative_id = message.initiativeId !== BigInt(0) ? message.initiativeId?.toString() : undefined;
149
+ obj.committed_amount = message.committedAmount === "" ? undefined : message.committedAmount;
138
150
  return obj;
139
151
  },
140
152
  fromAminoMsg(object) {
@@ -11,7 +11,8 @@ function createBaseThreadMoveRecord() {
11
11
  sentinelBackingSnapshot: "",
12
12
  moveReason: "",
13
13
  appealPending: false,
14
- initiativeId: BigInt(0)
14
+ initiativeId: BigInt(0),
15
+ committedAmount: ""
15
16
  };
16
17
  }
17
18
  /**
@@ -53,6 +54,9 @@ export const ThreadMoveRecord = {
53
54
  if (message.initiativeId !== BigInt(0)) {
54
55
  writer.uint32(80).uint64(message.initiativeId);
55
56
  }
57
+ if (message.committedAmount !== "") {
58
+ writer.uint32(90).string(message.committedAmount);
59
+ }
56
60
  return writer;
57
61
  },
58
62
  decode(input, length) {
@@ -92,6 +96,9 @@ export const ThreadMoveRecord = {
92
96
  case 10:
93
97
  message.initiativeId = reader.uint64();
94
98
  break;
99
+ case 11:
100
+ message.committedAmount = reader.string();
101
+ break;
95
102
  default:
96
103
  reader.skipType(tag & 7);
97
104
  break;
@@ -111,6 +118,7 @@ export const ThreadMoveRecord = {
111
118
  message.moveReason = object.moveReason ?? "";
112
119
  message.appealPending = object.appealPending ?? false;
113
120
  message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
121
+ message.committedAmount = object.committedAmount ?? "";
114
122
  return message;
115
123
  },
116
124
  fromAmino(object) {
@@ -145,6 +153,9 @@ export const ThreadMoveRecord = {
145
153
  if (object.initiative_id !== undefined && object.initiative_id !== null) {
146
154
  message.initiativeId = BigInt(object.initiative_id);
147
155
  }
156
+ if (object.committed_amount !== undefined && object.committed_amount !== null) {
157
+ message.committedAmount = object.committed_amount;
158
+ }
148
159
  return message;
149
160
  },
150
161
  toAmino(message) {
@@ -159,6 +170,7 @@ export const ThreadMoveRecord = {
159
170
  obj.move_reason = message.moveReason === "" ? undefined : message.moveReason;
160
171
  obj.appeal_pending = message.appealPending === false ? undefined : message.appealPending;
161
172
  obj.initiative_id = message.initiativeId !== BigInt(0) ? message.initiativeId?.toString() : undefined;
173
+ obj.committed_amount = message.committedAmount === "" ? undefined : message.committedAmount;
162
174
  return obj;
163
175
  },
164
176
  fromAminoMsg(object) {