@sparkdreamnft/sparkdreamjs 0.0.36 → 0.0.37

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.
Files changed (33) hide show
  1. package/esm/sparkdream/federation/v1/genesis.js +101 -3
  2. package/esm/sparkdream/federation/v1/params.js +129 -117
  3. package/esm/sparkdream/federation/v1/query.js +204 -7
  4. package/esm/sparkdream/federation/v1/query.lcd.js +11 -2
  5. package/esm/sparkdream/federation/v1/query.rpc.Query.js +16 -3
  6. package/esm/sparkdream/federation/v1/types.js +73 -1
  7. package/esm/sparkdream/federation/v1/verifier_activity.js +143 -45
  8. package/esm/sparkdream/rep/v1/bonded_role.js +37 -1
  9. package/esm/sparkdream/rep/v1/params.js +194 -2
  10. package/esm/sparkdream/rep/v1/role_activity.js +13 -1
  11. package/package.json +1 -1
  12. package/sparkdream/bundle.d.ts +50 -0
  13. package/sparkdream/federation/v1/genesis.d.ts +66 -0
  14. package/sparkdream/federation/v1/genesis.js +102 -4
  15. package/sparkdream/federation/v1/params.d.ts +72 -10
  16. package/sparkdream/federation/v1/params.js +129 -117
  17. package/sparkdream/federation/v1/query.d.ts +120 -3
  18. package/sparkdream/federation/v1/query.js +204 -7
  19. package/sparkdream/federation/v1/query.lcd.d.ts +2 -1
  20. package/sparkdream/federation/v1/query.lcd.js +11 -2
  21. package/sparkdream/federation/v1/query.rpc.Query.d.ts +13 -3
  22. package/sparkdream/federation/v1/query.rpc.Query.js +15 -2
  23. package/sparkdream/federation/v1/types.d.ts +44 -0
  24. package/sparkdream/federation/v1/types.js +73 -1
  25. package/sparkdream/federation/v1/verifier_activity.d.ts +151 -68
  26. package/sparkdream/federation/v1/verifier_activity.js +144 -46
  27. package/sparkdream/rep/v1/bonded_role.d.ts +42 -0
  28. package/sparkdream/rep/v1/bonded_role.js +37 -1
  29. package/sparkdream/rep/v1/params.d.ts +96 -0
  30. package/sparkdream/rep/v1/params.js +194 -2
  31. package/sparkdream/rep/v1/role_activity.d.ts +26 -0
  32. package/sparkdream/rep/v1/role_activity.js +13 -1
  33. package/sparkdream/rpc.query.d.ts +1 -0
@@ -3,45 +3,143 @@ import { BinaryReader, BinaryWriter } from "../../../binary";
3
3
  function createBaseVerifierActivity() {
4
4
  return {
5
5
  address: "",
6
+ unchallengedVerifications: BigInt(0)
7
+ };
8
+ }
9
+ /**
10
+ * VerifierActivity is federation's SLIM per-verifier record.
11
+ *
12
+ * Everything that is a property of the ROLE rather than of federation's
13
+ * surface -- verdict streaks, the overturn cooldown, the rolling accuracy
14
+ * ring, and the per-action counters -- lives on x/rep's shared RoleActivity
15
+ * under ROLE_TYPE_FEDERATION_VERIFIER, alongside the bond it governs.
16
+ * Federation reports actions (RecordRoleAction with
17
+ * ActionKindFederationVerify) and verdicts (RecordRoleOutcome); x/rep applies
18
+ * the consequences and pays the role. Same ownership split forum and collect
19
+ * already use for the content sentinel.
20
+ *
21
+ * Only unchallenged_verifications stays here: it is a federation-local
22
+ * bookkeeping stat with no shared meaning -- an unchallenged verification is
23
+ * not evidence of accuracy and deliberately earns nothing, so it must not
24
+ * reach the accuracy ring.
25
+ *
26
+ * The QueryVerifierActivityResponse still returns the FULL historical shape.
27
+ * Those fields are PROJECTED from rep at query time (see
28
+ * query_verifier_activity.go) and are not persisted here.
29
+ * @name VerifierActivity
30
+ * @package sparkdream.federation.v1
31
+ * @see proto type: sparkdream.federation.v1.VerifierActivity
32
+ */
33
+ export const VerifierActivity = {
34
+ typeUrl: "/sparkdream.federation.v1.VerifierActivity",
35
+ encode(message, writer = BinaryWriter.create()) {
36
+ if (message.address !== "") {
37
+ writer.uint32(10).string(message.address);
38
+ }
39
+ if (message.unchallengedVerifications !== BigInt(0)) {
40
+ writer.uint32(16).uint64(message.unchallengedVerifications);
41
+ }
42
+ return writer;
43
+ },
44
+ decode(input, length) {
45
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
46
+ let end = length === undefined ? reader.len : reader.pos + length;
47
+ const message = createBaseVerifierActivity();
48
+ while (reader.pos < end) {
49
+ const tag = reader.uint32();
50
+ switch (tag >>> 3) {
51
+ case 1:
52
+ message.address = reader.string();
53
+ break;
54
+ case 2:
55
+ message.unchallengedVerifications = reader.uint64();
56
+ break;
57
+ default:
58
+ reader.skipType(tag & 7);
59
+ break;
60
+ }
61
+ }
62
+ return message;
63
+ },
64
+ fromPartial(object) {
65
+ const message = createBaseVerifierActivity();
66
+ message.address = object.address ?? "";
67
+ message.unchallengedVerifications = object.unchallengedVerifications !== undefined && object.unchallengedVerifications !== null ? BigInt(object.unchallengedVerifications.toString()) : BigInt(0);
68
+ return message;
69
+ },
70
+ fromAmino(object) {
71
+ const message = createBaseVerifierActivity();
72
+ if (object.address !== undefined && object.address !== null) {
73
+ message.address = object.address;
74
+ }
75
+ if (object.unchallenged_verifications !== undefined && object.unchallenged_verifications !== null) {
76
+ message.unchallengedVerifications = BigInt(object.unchallenged_verifications);
77
+ }
78
+ return message;
79
+ },
80
+ toAmino(message) {
81
+ const obj = {};
82
+ obj.address = message.address === "" ? undefined : message.address;
83
+ obj.unchallenged_verifications = message.unchallengedVerifications !== BigInt(0) ? message.unchallengedVerifications?.toString() : undefined;
84
+ return obj;
85
+ },
86
+ fromAminoMsg(object) {
87
+ return VerifierActivity.fromAmino(object.value);
88
+ },
89
+ fromProtoMsg(message) {
90
+ return VerifierActivity.decode(message.value);
91
+ },
92
+ toProto(message) {
93
+ return VerifierActivity.encode(message).finish();
94
+ },
95
+ toProtoMsg(message) {
96
+ return {
97
+ typeUrl: "/sparkdream.federation.v1.VerifierActivity",
98
+ value: VerifierActivity.encode(message).finish()
99
+ };
100
+ }
101
+ };
102
+ function createBaseVerifierActivityView() {
103
+ return {
104
+ address: "",
105
+ unchallengedVerifications: BigInt(0),
6
106
  totalVerifications: BigInt(0),
7
107
  upheldVerifications: BigInt(0),
8
108
  overturnedVerifications: BigInt(0),
9
- unchallengedVerifications: BigInt(0),
10
109
  epochVerifications: BigInt(0),
11
110
  epochChallengesResolved: BigInt(0),
12
111
  consecutiveOverturns: BigInt(0),
13
112
  consecutiveUpheld: BigInt(0),
14
113
  overturnCooldownUntil: BigInt(0),
15
- slashCount: BigInt(0),
16
- lastSlashEpoch: BigInt(0)
114
+ lastSlashEpoch: BigInt(0),
115
+ slashCount: BigInt(0)
17
116
  };
18
117
  }
19
118
  /**
20
- * VerifierActivity holds federation-specific per-verifier counters. The
21
- * generic bond/status/activity record lives in x/rep as BondedRole
22
- * (ROLE_TYPE_FEDERATION_VERIFIER) — this proto only tracks what's
23
- * federation-specific: verification counts and dispute outcomes.
24
- * @name VerifierActivity
119
+ * VerifierActivityView is the read-only projection returned by the
120
+ * verifier-activity query: federation's slim stored record overlaid with the
121
+ * shared accountability state x/rep owns. Never persisted.
122
+ * @name VerifierActivityView
25
123
  * @package sparkdream.federation.v1
26
- * @see proto type: sparkdream.federation.v1.VerifierActivity
124
+ * @see proto type: sparkdream.federation.v1.VerifierActivityView
27
125
  */
28
- export const VerifierActivity = {
29
- typeUrl: "/sparkdream.federation.v1.VerifierActivity",
126
+ export const VerifierActivityView = {
127
+ typeUrl: "/sparkdream.federation.v1.VerifierActivityView",
30
128
  encode(message, writer = BinaryWriter.create()) {
31
129
  if (message.address !== "") {
32
130
  writer.uint32(10).string(message.address);
33
131
  }
132
+ if (message.unchallengedVerifications !== BigInt(0)) {
133
+ writer.uint32(16).uint64(message.unchallengedVerifications);
134
+ }
34
135
  if (message.totalVerifications !== BigInt(0)) {
35
- writer.uint32(16).uint64(message.totalVerifications);
136
+ writer.uint32(24).uint64(message.totalVerifications);
36
137
  }
37
138
  if (message.upheldVerifications !== BigInt(0)) {
38
- writer.uint32(24).uint64(message.upheldVerifications);
139
+ writer.uint32(32).uint64(message.upheldVerifications);
39
140
  }
40
141
  if (message.overturnedVerifications !== BigInt(0)) {
41
- writer.uint32(32).uint64(message.overturnedVerifications);
42
- }
43
- if (message.unchallengedVerifications !== BigInt(0)) {
44
- writer.uint32(40).uint64(message.unchallengedVerifications);
142
+ writer.uint32(40).uint64(message.overturnedVerifications);
45
143
  }
46
144
  if (message.epochVerifications !== BigInt(0)) {
47
145
  writer.uint32(48).uint64(message.epochVerifications);
@@ -58,18 +156,18 @@ export const VerifierActivity = {
58
156
  if (message.overturnCooldownUntil !== BigInt(0)) {
59
157
  writer.uint32(80).int64(message.overturnCooldownUntil);
60
158
  }
61
- if (message.slashCount !== BigInt(0)) {
62
- writer.uint32(88).uint64(message.slashCount);
63
- }
64
159
  if (message.lastSlashEpoch !== BigInt(0)) {
65
- writer.uint32(96).int64(message.lastSlashEpoch);
160
+ writer.uint32(88).int64(message.lastSlashEpoch);
161
+ }
162
+ if (message.slashCount !== BigInt(0)) {
163
+ writer.uint32(96).uint64(message.slashCount);
66
164
  }
67
165
  return writer;
68
166
  },
69
167
  decode(input, length) {
70
168
  const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
71
169
  let end = length === undefined ? reader.len : reader.pos + length;
72
- const message = createBaseVerifierActivity();
170
+ const message = createBaseVerifierActivityView();
73
171
  while (reader.pos < end) {
74
172
  const tag = reader.uint32();
75
173
  switch (tag >>> 3) {
@@ -77,16 +175,16 @@ export const VerifierActivity = {
77
175
  message.address = reader.string();
78
176
  break;
79
177
  case 2:
80
- message.totalVerifications = reader.uint64();
178
+ message.unchallengedVerifications = reader.uint64();
81
179
  break;
82
180
  case 3:
83
- message.upheldVerifications = reader.uint64();
181
+ message.totalVerifications = reader.uint64();
84
182
  break;
85
183
  case 4:
86
- message.overturnedVerifications = reader.uint64();
184
+ message.upheldVerifications = reader.uint64();
87
185
  break;
88
186
  case 5:
89
- message.unchallengedVerifications = reader.uint64();
187
+ message.overturnedVerifications = reader.uint64();
90
188
  break;
91
189
  case 6:
92
190
  message.epochVerifications = reader.uint64();
@@ -104,10 +202,10 @@ export const VerifierActivity = {
104
202
  message.overturnCooldownUntil = reader.int64();
105
203
  break;
106
204
  case 11:
107
- message.slashCount = reader.uint64();
205
+ message.lastSlashEpoch = reader.int64();
108
206
  break;
109
207
  case 12:
110
- message.lastSlashEpoch = reader.int64();
208
+ message.slashCount = reader.uint64();
111
209
  break;
112
210
  default:
113
211
  reader.skipType(tag & 7);
@@ -117,26 +215,29 @@ export const VerifierActivity = {
117
215
  return message;
118
216
  },
119
217
  fromPartial(object) {
120
- const message = createBaseVerifierActivity();
218
+ const message = createBaseVerifierActivityView();
121
219
  message.address = object.address ?? "";
220
+ message.unchallengedVerifications = object.unchallengedVerifications !== undefined && object.unchallengedVerifications !== null ? BigInt(object.unchallengedVerifications.toString()) : BigInt(0);
122
221
  message.totalVerifications = object.totalVerifications !== undefined && object.totalVerifications !== null ? BigInt(object.totalVerifications.toString()) : BigInt(0);
123
222
  message.upheldVerifications = object.upheldVerifications !== undefined && object.upheldVerifications !== null ? BigInt(object.upheldVerifications.toString()) : BigInt(0);
124
223
  message.overturnedVerifications = object.overturnedVerifications !== undefined && object.overturnedVerifications !== null ? BigInt(object.overturnedVerifications.toString()) : BigInt(0);
125
- message.unchallengedVerifications = object.unchallengedVerifications !== undefined && object.unchallengedVerifications !== null ? BigInt(object.unchallengedVerifications.toString()) : BigInt(0);
126
224
  message.epochVerifications = object.epochVerifications !== undefined && object.epochVerifications !== null ? BigInt(object.epochVerifications.toString()) : BigInt(0);
127
225
  message.epochChallengesResolved = object.epochChallengesResolved !== undefined && object.epochChallengesResolved !== null ? BigInt(object.epochChallengesResolved.toString()) : BigInt(0);
128
226
  message.consecutiveOverturns = object.consecutiveOverturns !== undefined && object.consecutiveOverturns !== null ? BigInt(object.consecutiveOverturns.toString()) : BigInt(0);
129
227
  message.consecutiveUpheld = object.consecutiveUpheld !== undefined && object.consecutiveUpheld !== null ? BigInt(object.consecutiveUpheld.toString()) : BigInt(0);
130
228
  message.overturnCooldownUntil = object.overturnCooldownUntil !== undefined && object.overturnCooldownUntil !== null ? BigInt(object.overturnCooldownUntil.toString()) : BigInt(0);
131
- message.slashCount = object.slashCount !== undefined && object.slashCount !== null ? BigInt(object.slashCount.toString()) : BigInt(0);
132
229
  message.lastSlashEpoch = object.lastSlashEpoch !== undefined && object.lastSlashEpoch !== null ? BigInt(object.lastSlashEpoch.toString()) : BigInt(0);
230
+ message.slashCount = object.slashCount !== undefined && object.slashCount !== null ? BigInt(object.slashCount.toString()) : BigInt(0);
133
231
  return message;
134
232
  },
135
233
  fromAmino(object) {
136
- const message = createBaseVerifierActivity();
234
+ const message = createBaseVerifierActivityView();
137
235
  if (object.address !== undefined && object.address !== null) {
138
236
  message.address = object.address;
139
237
  }
238
+ if (object.unchallenged_verifications !== undefined && object.unchallenged_verifications !== null) {
239
+ message.unchallengedVerifications = BigInt(object.unchallenged_verifications);
240
+ }
140
241
  if (object.total_verifications !== undefined && object.total_verifications !== null) {
141
242
  message.totalVerifications = BigInt(object.total_verifications);
142
243
  }
@@ -146,9 +247,6 @@ export const VerifierActivity = {
146
247
  if (object.overturned_verifications !== undefined && object.overturned_verifications !== null) {
147
248
  message.overturnedVerifications = BigInt(object.overturned_verifications);
148
249
  }
149
- if (object.unchallenged_verifications !== undefined && object.unchallenged_verifications !== null) {
150
- message.unchallengedVerifications = BigInt(object.unchallenged_verifications);
151
- }
152
250
  if (object.epoch_verifications !== undefined && object.epoch_verifications !== null) {
153
251
  message.epochVerifications = BigInt(object.epoch_verifications);
154
252
  }
@@ -164,43 +262,43 @@ export const VerifierActivity = {
164
262
  if (object.overturn_cooldown_until !== undefined && object.overturn_cooldown_until !== null) {
165
263
  message.overturnCooldownUntil = BigInt(object.overturn_cooldown_until);
166
264
  }
167
- if (object.slash_count !== undefined && object.slash_count !== null) {
168
- message.slashCount = BigInt(object.slash_count);
169
- }
170
265
  if (object.last_slash_epoch !== undefined && object.last_slash_epoch !== null) {
171
266
  message.lastSlashEpoch = BigInt(object.last_slash_epoch);
172
267
  }
268
+ if (object.slash_count !== undefined && object.slash_count !== null) {
269
+ message.slashCount = BigInt(object.slash_count);
270
+ }
173
271
  return message;
174
272
  },
175
273
  toAmino(message) {
176
274
  const obj = {};
177
275
  obj.address = message.address === "" ? undefined : message.address;
276
+ obj.unchallenged_verifications = message.unchallengedVerifications !== BigInt(0) ? message.unchallengedVerifications?.toString() : undefined;
178
277
  obj.total_verifications = message.totalVerifications !== BigInt(0) ? message.totalVerifications?.toString() : undefined;
179
278
  obj.upheld_verifications = message.upheldVerifications !== BigInt(0) ? message.upheldVerifications?.toString() : undefined;
180
279
  obj.overturned_verifications = message.overturnedVerifications !== BigInt(0) ? message.overturnedVerifications?.toString() : undefined;
181
- obj.unchallenged_verifications = message.unchallengedVerifications !== BigInt(0) ? message.unchallengedVerifications?.toString() : undefined;
182
280
  obj.epoch_verifications = message.epochVerifications !== BigInt(0) ? message.epochVerifications?.toString() : undefined;
183
281
  obj.epoch_challenges_resolved = message.epochChallengesResolved !== BigInt(0) ? message.epochChallengesResolved?.toString() : undefined;
184
282
  obj.consecutive_overturns = message.consecutiveOverturns !== BigInt(0) ? message.consecutiveOverturns?.toString() : undefined;
185
283
  obj.consecutive_upheld = message.consecutiveUpheld !== BigInt(0) ? message.consecutiveUpheld?.toString() : undefined;
186
284
  obj.overturn_cooldown_until = message.overturnCooldownUntil !== BigInt(0) ? message.overturnCooldownUntil?.toString() : undefined;
187
- obj.slash_count = message.slashCount !== BigInt(0) ? message.slashCount?.toString() : undefined;
188
285
  obj.last_slash_epoch = message.lastSlashEpoch !== BigInt(0) ? message.lastSlashEpoch?.toString() : undefined;
286
+ obj.slash_count = message.slashCount !== BigInt(0) ? message.slashCount?.toString() : undefined;
189
287
  return obj;
190
288
  },
191
289
  fromAminoMsg(object) {
192
- return VerifierActivity.fromAmino(object.value);
290
+ return VerifierActivityView.fromAmino(object.value);
193
291
  },
194
292
  fromProtoMsg(message) {
195
- return VerifierActivity.decode(message.value);
293
+ return VerifierActivityView.decode(message.value);
196
294
  },
197
295
  toProto(message) {
198
- return VerifierActivity.encode(message).finish();
296
+ return VerifierActivityView.encode(message).finish();
199
297
  },
200
298
  toProtoMsg(message) {
201
299
  return {
202
- typeUrl: "/sparkdream.federation.v1.VerifierActivity",
203
- value: VerifierActivity.encode(message).finish()
300
+ typeUrl: "/sparkdream.federation.v1.VerifierActivityView",
301
+ value: VerifierActivityView.encode(message).finish()
204
302
  };
205
303
  }
206
304
  };
@@ -364,7 +364,10 @@ function createBaseBondedRoleConfig() {
364
364
  minAgeBlocks: BigInt(0),
365
365
  demotionCooldown: BigInt(0),
366
366
  demotionThreshold: "",
367
- unbondCooldown: BigInt(0)
367
+ unbondCooldown: BigInt(0),
368
+ upheldToResetOverturns: BigInt(0),
369
+ overturnBaseCooldown: BigInt(0),
370
+ overturnCooldownEscalates: false
368
371
  };
369
372
  }
370
373
  /**
@@ -407,6 +410,15 @@ export const BondedRoleConfig = {
407
410
  if (message.unbondCooldown !== BigInt(0)) {
408
411
  writer.uint32(64).int64(message.unbondCooldown);
409
412
  }
413
+ if (message.upheldToResetOverturns !== BigInt(0)) {
414
+ writer.uint32(72).uint64(message.upheldToResetOverturns);
415
+ }
416
+ if (message.overturnBaseCooldown !== BigInt(0)) {
417
+ writer.uint32(80).int64(message.overturnBaseCooldown);
418
+ }
419
+ if (message.overturnCooldownEscalates === true) {
420
+ writer.uint32(88).bool(message.overturnCooldownEscalates);
421
+ }
410
422
  return writer;
411
423
  },
412
424
  decode(input, length) {
@@ -440,6 +452,15 @@ export const BondedRoleConfig = {
440
452
  case 8:
441
453
  message.unbondCooldown = reader.int64();
442
454
  break;
455
+ case 9:
456
+ message.upheldToResetOverturns = reader.uint64();
457
+ break;
458
+ case 10:
459
+ message.overturnBaseCooldown = reader.int64();
460
+ break;
461
+ case 11:
462
+ message.overturnCooldownEscalates = reader.bool();
463
+ break;
443
464
  default:
444
465
  reader.skipType(tag & 7);
445
466
  break;
@@ -457,6 +478,9 @@ export const BondedRoleConfig = {
457
478
  message.demotionCooldown = object.demotionCooldown !== undefined && object.demotionCooldown !== null ? BigInt(object.demotionCooldown.toString()) : BigInt(0);
458
479
  message.demotionThreshold = object.demotionThreshold ?? "";
459
480
  message.unbondCooldown = object.unbondCooldown !== undefined && object.unbondCooldown !== null ? BigInt(object.unbondCooldown.toString()) : BigInt(0);
481
+ message.upheldToResetOverturns = object.upheldToResetOverturns !== undefined && object.upheldToResetOverturns !== null ? BigInt(object.upheldToResetOverturns.toString()) : BigInt(0);
482
+ message.overturnBaseCooldown = object.overturnBaseCooldown !== undefined && object.overturnBaseCooldown !== null ? BigInt(object.overturnBaseCooldown.toString()) : BigInt(0);
483
+ message.overturnCooldownEscalates = object.overturnCooldownEscalates ?? false;
460
484
  return message;
461
485
  },
462
486
  fromAmino(object) {
@@ -485,6 +509,15 @@ export const BondedRoleConfig = {
485
509
  if (object.unbond_cooldown !== undefined && object.unbond_cooldown !== null) {
486
510
  message.unbondCooldown = BigInt(object.unbond_cooldown);
487
511
  }
512
+ if (object.upheld_to_reset_overturns !== undefined && object.upheld_to_reset_overturns !== null) {
513
+ message.upheldToResetOverturns = BigInt(object.upheld_to_reset_overturns);
514
+ }
515
+ if (object.overturn_base_cooldown !== undefined && object.overturn_base_cooldown !== null) {
516
+ message.overturnBaseCooldown = BigInt(object.overturn_base_cooldown);
517
+ }
518
+ if (object.overturn_cooldown_escalates !== undefined && object.overturn_cooldown_escalates !== null) {
519
+ message.overturnCooldownEscalates = object.overturn_cooldown_escalates;
520
+ }
488
521
  return message;
489
522
  },
490
523
  toAmino(message) {
@@ -497,6 +530,9 @@ export const BondedRoleConfig = {
497
530
  obj.demotion_cooldown = message.demotionCooldown !== BigInt(0) ? message.demotionCooldown?.toString() : undefined;
498
531
  obj.demotion_threshold = message.demotionThreshold === "" ? undefined : message.demotionThreshold;
499
532
  obj.unbond_cooldown = message.unbondCooldown !== BigInt(0) ? message.unbondCooldown?.toString() : undefined;
533
+ obj.upheld_to_reset_overturns = message.upheldToResetOverturns !== BigInt(0) ? message.upheldToResetOverturns?.toString() : undefined;
534
+ obj.overturn_base_cooldown = message.overturnBaseCooldown !== BigInt(0) ? message.overturnBaseCooldown?.toString() : undefined;
535
+ obj.overturn_cooldown_escalates = message.overturnCooldownEscalates === false ? undefined : message.overturnCooldownEscalates;
500
536
  return obj;
501
537
  },
502
538
  fromAminoMsg(object) {