@sparkdreamnft/sparkdreamjs 0.0.48 → 0.0.49
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/akash/bundle.d.ts +134 -134
- package/akash/bundle.js +150 -150
- package/amino-schema.d.ts +86 -0
- package/amino-schema.js +1 -1
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/amino-schema.js +1 -1
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/sparkdream/artifact/v1/types.js +25 -1
- package/esm/sparkdream/blog/v1/genesis.js +97 -1
- package/esm/sparkdream/bundle.js +447 -439
- package/esm/sparkdream/collect/v1/genesis.js +308 -3
- package/esm/sparkdream/collect/v1/tx.js +170 -0
- package/esm/sparkdream/collect/v1/tx.registry.js +20 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +10 -1
- package/esm/sparkdream/collect/v1/types.js +51 -3
- package/esm/sparkdream/commons/v1/genesis.js +756 -27
- package/esm/sparkdream/commons/v1/group.js +130 -2
- package/esm/sparkdream/commons/v1/poll.js +281 -0
- package/esm/sparkdream/commons/v1/poll_vote.js +107 -0
- package/esm/sparkdream/commons/v1/query.js +759 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +46 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +49 -1
- package/esm/sparkdream/commons/v1/tx.js +730 -4
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +25 -1
- package/esm/sparkdream/commons/v1/voter_tree.js +208 -0
- package/esm/sparkdream/federation/v1/genesis.js +212 -2
- package/esm/sparkdream/federation/v1/tx.js +196 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +20 -2
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +8 -1
- package/esm/sparkdream/federation/v1/types.js +194 -2
- package/esm/sparkdream/forum/v1/archive_metadata.js +13 -1
- package/esm/sparkdream/forum/v1/genesis.js +428 -1
- package/esm/sparkdream/forum/v1/params.js +182 -254
- package/esm/sparkdream/forum/v1/query.js +112 -7
- package/esm/sparkdream/forum/v1/user_reaction_limit.js +62 -1
- package/esm/sparkdream/futarchy/v1/market.js +37 -1
- package/esm/sparkdream/futarchy/v1/tx.js +13 -1
- package/esm/sparkdream/name/v1/dispute.js +13 -1
- package/esm/sparkdream/rep/v1/genesis.js +272 -2
- package/esm/sparkdream/rep/v1/initiative_review.js +13 -1
- package/esm/sparkdream/rep/v1/invitation.js +25 -1
- package/esm/sparkdream/rep/v1/member_report.js +335 -1
- package/esm/sparkdream/rep/v1/migration.js +27 -2
- package/esm/sparkdream/rep/v1/params.js +13 -1
- package/esm/sparkdream/rep/v1/stake.js +10 -0
- package/esm/sparkdream/rep/v1/tx.js +372 -14
- package/esm/sparkdream/rep/v1/tx.registry.js +38 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -2
- package/esm/sparkdream/reveal/v1/types.js +9 -21
- package/esm/sparkdream/season/v1/display_name_moderation.js +40 -1
- package/esm/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
- package/esm/sparkdream/season/v1/genesis.js +125 -1
- package/esm/sparkdream/season/v1/guild_invite.js +13 -1
- package/esm/sparkdream/season/v1/guild_membership.js +13 -1
- package/esm/sparkdream/season/v1/member_profile.js +13 -1
- package/esm/sparkdream/season/v1/member_quest_progress.js +13 -1
- package/esm/sparkdream/season/v1/member_season_snapshot.js +16 -1
- package/esm/sparkdream/season/v1/nomination.js +37 -1
- package/esm/sparkdream/season/v1/query.js +26 -35
- package/esm/sparkdream/season/v1/query.lcd.js +1 -1
- package/esm/sparkdream/season/v1/quest.js +13 -1
- package/esm/sparkdream/season/v1/season.js +13 -1
- package/esm/sparkdream/season/v1/season_stats_counters.js +121 -0
- package/esm/sparkdream/season/v1/season_title_eligibility.js +4 -1
- package/esm/sparkdream/service/v1/genesis.js +126 -1
- package/esm/sparkdream/service/v1/refile_cooldown.js +20 -7
- package/esm/sparkdream/session/v1/genesis.js +303 -1
- package/esm/sparkdream/session/v1/params.js +24 -0
- package/esm/sparkdream/shield/v1/genesis.js +56 -2
- package/esm/sparkdream/shield/v1/params.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +202 -1
- package/esm/sparkdream/vault/v1/genesis.js +25 -1
- package/esm/sparkdream/vault/v1/query.js +15 -2
- package/esm/sparkdream/vault/v1/query.lcd.js +3 -0
- package/esm/sparkdream/vault/v1/tx.js +301 -0
- package/esm/sparkdream/vault/v1/tx.registry.js +38 -2
- package/esm/sparkdream/vault/v1/tx.rpc.msg.js +13 -1
- package/esm/sparkdream/vault/v1/vault_signer.js +15 -2
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/package.json +1 -1
- package/sparkdream/artifact/v1/types.d.ts +14 -0
- package/sparkdream/artifact/v1/types.js +25 -1
- package/sparkdream/blog/v1/genesis.d.ts +60 -0
- package/sparkdream/blog/v1/genesis.js +98 -2
- package/sparkdream/bundle.d.ts +17095 -16171
- package/sparkdream/bundle.js +447 -439
- package/sparkdream/collect/v1/genesis.d.ts +186 -0
- package/sparkdream/collect/v1/genesis.js +309 -4
- package/sparkdream/collect/v1/tx.d.ts +100 -0
- package/sparkdream/collect/v1/tx.js +171 -1
- package/sparkdream/collect/v1/tx.registry.d.ts +13 -1
- package/sparkdream/collect/v1/tx.registry.js +19 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +9 -1
- package/sparkdream/collect/v1/tx.rpc.msg.js +9 -0
- package/sparkdream/collect/v1/types.d.ts +52 -0
- package/sparkdream/collect/v1/types.js +51 -3
- package/sparkdream/commons/v1/genesis.d.ts +443 -22
- package/sparkdream/commons/v1/genesis.js +756 -27
- package/sparkdream/commons/v1/group.d.ts +75 -0
- package/sparkdream/commons/v1/group.js +133 -3
- package/sparkdream/commons/v1/poll.d.ts +135 -0
- package/sparkdream/commons/v1/poll.js +286 -0
- package/sparkdream/commons/v1/poll_vote.d.ts +58 -0
- package/sparkdream/commons/v1/poll_vote.js +110 -0
- package/sparkdream/commons/v1/query.d.ts +465 -0
- package/sparkdream/commons/v1/query.js +760 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +6 -1
- package/sparkdream/commons/v1/query.lcd.js +46 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +30 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +48 -0
- package/sparkdream/commons/v1/tx.d.ts +475 -1
- package/sparkdream/commons/v1/tx.js +731 -4
- package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
- package/sparkdream/commons/v1/tx.registry.js +73 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +13 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +24 -0
- package/sparkdream/commons/v1/voter_tree.d.ts +132 -0
- package/sparkdream/commons/v1/voter_tree.js +211 -0
- package/sparkdream/federation/v1/genesis.d.ts +136 -1
- package/sparkdream/federation/v1/genesis.js +212 -2
- package/sparkdream/federation/v1/tx.d.ts +138 -0
- package/sparkdream/federation/v1/tx.js +198 -1
- package/sparkdream/federation/v1/tx.registry.d.ts +13 -1
- package/sparkdream/federation/v1/tx.registry.js +19 -1
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/federation/v1/tx.rpc.msg.js +7 -0
- package/sparkdream/federation/v1/types.d.ts +166 -0
- package/sparkdream/federation/v1/types.js +197 -3
- package/sparkdream/forum/v1/archive_metadata.d.ts +12 -0
- package/sparkdream/forum/v1/archive_metadata.js +13 -1
- package/sparkdream/forum/v1/genesis.d.ts +256 -0
- package/sparkdream/forum/v1/genesis.js +429 -2
- package/sparkdream/forum/v1/params.d.ts +0 -30
- package/sparkdream/forum/v1/params.js +182 -254
- package/sparkdream/forum/v1/query.d.ts +70 -0
- package/sparkdream/forum/v1/query.js +112 -7
- package/sparkdream/forum/v1/user_reaction_limit.d.ts +25 -0
- package/sparkdream/forum/v1/user_reaction_limit.js +65 -2
- package/sparkdream/futarchy/v1/market.d.ts +32 -0
- package/sparkdream/futarchy/v1/market.js +37 -1
- package/sparkdream/futarchy/v1/tx.d.ts +10 -0
- package/sparkdream/futarchy/v1/tx.js +13 -1
- package/sparkdream/name/v1/dispute.d.ts +14 -0
- package/sparkdream/name/v1/dispute.js +13 -1
- package/sparkdream/rep/v1/genesis.d.ts +151 -1
- package/sparkdream/rep/v1/genesis.js +272 -2
- package/sparkdream/rep/v1/initiative_review.d.ts +14 -0
- package/sparkdream/rep/v1/initiative_review.js +13 -1
- package/sparkdream/rep/v1/invitation.d.ts +32 -0
- package/sparkdream/rep/v1/invitation.js +25 -1
- package/sparkdream/rep/v1/member_report.d.ts +215 -0
- package/sparkdream/rep/v1/member_report.js +336 -2
- package/sparkdream/rep/v1/migration.d.ts +34 -1
- package/sparkdream/rep/v1/migration.js +27 -2
- package/sparkdream/rep/v1/params.d.ts +18 -0
- package/sparkdream/rep/v1/params.js +13 -1
- package/sparkdream/rep/v1/stake.d.ts +5 -0
- package/sparkdream/rep/v1/stake.js +10 -0
- package/sparkdream/rep/v1/tx.d.ts +340 -39
- package/sparkdream/rep/v1/tx.js +375 -17
- package/sparkdream/rep/v1/tx.registry.d.ts +25 -1
- package/sparkdream/rep/v1/tx.registry.js +37 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +12 -2
- package/sparkdream/rep/v1/tx.rpc.msg.js +15 -1
- package/sparkdream/reveal/v1/types.d.ts +0 -8
- package/sparkdream/reveal/v1/types.js +9 -21
- package/sparkdream/rpc.query.d.ts +5 -0
- package/sparkdream/season/v1/display_name_moderation.d.ts +28 -0
- package/sparkdream/season/v1/display_name_moderation.js +40 -1
- package/sparkdream/season/v1/epoch_xp_tracker.d.ts +10 -0
- package/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
- package/sparkdream/season/v1/genesis.d.ts +75 -0
- package/sparkdream/season/v1/genesis.js +126 -2
- package/sparkdream/season/v1/guild_invite.d.ts +10 -0
- package/sparkdream/season/v1/guild_invite.js +13 -1
- package/sparkdream/season/v1/guild_membership.d.ts +12 -0
- package/sparkdream/season/v1/guild_membership.js +13 -1
- package/sparkdream/season/v1/member_profile.d.ts +12 -0
- package/sparkdream/season/v1/member_profile.js +13 -1
- package/sparkdream/season/v1/member_quest_progress.d.ts +8 -0
- package/sparkdream/season/v1/member_quest_progress.js +13 -1
- package/sparkdream/season/v1/member_season_snapshot.d.ts +14 -0
- package/sparkdream/season/v1/member_season_snapshot.js +16 -1
- package/sparkdream/season/v1/nomination.d.ts +32 -0
- package/sparkdream/season/v1/nomination.js +37 -1
- package/sparkdream/season/v1/query.d.ts +10 -6
- package/sparkdream/season/v1/query.js +26 -35
- package/sparkdream/season/v1/query.lcd.js +1 -1
- package/sparkdream/season/v1/quest.d.ts +12 -0
- package/sparkdream/season/v1/quest.js +13 -1
- package/sparkdream/season/v1/season.d.ts +12 -0
- package/sparkdream/season/v1/season.js +13 -1
- package/sparkdream/season/v1/season_stats_counters.d.ts +86 -0
- package/sparkdream/season/v1/season_stats_counters.js +124 -0
- package/sparkdream/season/v1/season_title_eligibility.d.ts +12 -3
- package/sparkdream/season/v1/season_title_eligibility.js +4 -1
- package/sparkdream/service/v1/genesis.d.ts +71 -0
- package/sparkdream/service/v1/genesis.js +127 -2
- package/sparkdream/service/v1/refile_cooldown.d.ts +35 -22
- package/sparkdream/service/v1/refile_cooldown.js +20 -7
- package/sparkdream/session/v1/genesis.d.ts +190 -0
- package/sparkdream/session/v1/genesis.js +304 -2
- package/sparkdream/session/v1/params.d.ts +18 -0
- package/sparkdream/session/v1/params.js +24 -0
- package/sparkdream/shield/v1/genesis.d.ts +37 -1
- package/sparkdream/shield/v1/genesis.js +55 -1
- package/sparkdream/shield/v1/params.d.ts +26 -2
- package/sparkdream/shield/v1/params.js +13 -1
- package/sparkdream/shield/v1/types.d.ts +122 -0
- package/sparkdream/shield/v1/types.js +203 -2
- package/sparkdream/vault/v1/genesis.d.ts +14 -0
- package/sparkdream/vault/v1/genesis.js +25 -1
- package/sparkdream/vault/v1/query.d.ts +16 -3
- package/sparkdream/vault/v1/query.js +15 -2
- package/sparkdream/vault/v1/query.lcd.js +3 -0
- package/sparkdream/vault/v1/tx.d.ts +219 -0
- package/sparkdream/vault/v1/tx.js +302 -1
- package/sparkdream/vault/v1/tx.registry.d.ts +25 -1
- package/sparkdream/vault/v1/tx.registry.js +37 -1
- package/sparkdream/vault/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/vault/v1/tx.rpc.msg.js +12 -0
- package/sparkdream/vault/v1/vault_signer.d.ts +22 -3
- package/sparkdream/vault/v1/vault_signer.js +15 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -13,6 +13,7 @@ function createBaseParams() {
|
|
|
13
13
|
maxExpiration: duration_1.Duration.fromPartial({}),
|
|
14
14
|
maxSpendLimitAmount: "",
|
|
15
15
|
maxExecCount: BigInt(0),
|
|
16
|
+
narrowSessionMaxExpiration: duration_1.Duration.fromPartial({}),
|
|
16
17
|
minRecurringPeriodSeconds: BigInt(0),
|
|
17
18
|
maxRecurringDurationSeconds: BigInt(0),
|
|
18
19
|
maxRecurringPullsPerGranter: 0,
|
|
@@ -68,6 +69,9 @@ exports.Params = {
|
|
|
68
69
|
if (message.maxExecCount !== BigInt(0)) {
|
|
69
70
|
writer.uint32(56).uint64(message.maxExecCount);
|
|
70
71
|
}
|
|
72
|
+
if (message.narrowSessionMaxExpiration !== undefined) {
|
|
73
|
+
duration_1.Duration.encode(message.narrowSessionMaxExpiration, writer.uint32(66).fork()).ldelim();
|
|
74
|
+
}
|
|
71
75
|
if (message.minRecurringPeriodSeconds !== BigInt(0)) {
|
|
72
76
|
writer.uint32(80).int64(message.minRecurringPeriodSeconds);
|
|
73
77
|
}
|
|
@@ -164,6 +168,9 @@ exports.Params = {
|
|
|
164
168
|
case 7:
|
|
165
169
|
message.maxExecCount = reader.uint64();
|
|
166
170
|
break;
|
|
171
|
+
case 8:
|
|
172
|
+
message.narrowSessionMaxExpiration = duration_1.Duration.decode(reader, reader.uint32());
|
|
173
|
+
break;
|
|
167
174
|
case 10:
|
|
168
175
|
message.minRecurringPeriodSeconds = reader.int64();
|
|
169
176
|
break;
|
|
@@ -246,6 +253,7 @@ exports.Params = {
|
|
|
246
253
|
message.maxExpiration = object.maxExpiration !== undefined && object.maxExpiration !== null ? duration_1.Duration.fromPartial(object.maxExpiration) : undefined;
|
|
247
254
|
message.maxSpendLimitAmount = object.maxSpendLimitAmount ?? "";
|
|
248
255
|
message.maxExecCount = object.maxExecCount !== undefined && object.maxExecCount !== null ? BigInt(object.maxExecCount.toString()) : BigInt(0);
|
|
256
|
+
message.narrowSessionMaxExpiration = object.narrowSessionMaxExpiration !== undefined && object.narrowSessionMaxExpiration !== null ? duration_1.Duration.fromPartial(object.narrowSessionMaxExpiration) : undefined;
|
|
249
257
|
message.minRecurringPeriodSeconds = object.minRecurringPeriodSeconds !== undefined && object.minRecurringPeriodSeconds !== null ? BigInt(object.minRecurringPeriodSeconds.toString()) : BigInt(0);
|
|
250
258
|
message.maxRecurringDurationSeconds = object.maxRecurringDurationSeconds !== undefined && object.maxRecurringDurationSeconds !== null ? BigInt(object.maxRecurringDurationSeconds.toString()) : BigInt(0);
|
|
251
259
|
message.maxRecurringPullsPerGranter = object.maxRecurringPullsPerGranter ?? 0;
|
|
@@ -289,6 +297,9 @@ exports.Params = {
|
|
|
289
297
|
if (object.max_exec_count !== undefined && object.max_exec_count !== null) {
|
|
290
298
|
message.maxExecCount = BigInt(object.max_exec_count);
|
|
291
299
|
}
|
|
300
|
+
if (object.narrow_session_max_expiration !== undefined && object.narrow_session_max_expiration !== null) {
|
|
301
|
+
message.narrowSessionMaxExpiration = duration_1.Duration.fromAmino(object.narrow_session_max_expiration);
|
|
302
|
+
}
|
|
292
303
|
if (object.min_recurring_period_seconds !== undefined && object.min_recurring_period_seconds !== null) {
|
|
293
304
|
message.minRecurringPeriodSeconds = BigInt(object.min_recurring_period_seconds);
|
|
294
305
|
}
|
|
@@ -372,6 +383,7 @@ exports.Params = {
|
|
|
372
383
|
obj.max_expiration = message.maxExpiration ? duration_1.Duration.toAmino(message.maxExpiration) : undefined;
|
|
373
384
|
obj.max_spend_limit_amount = message.maxSpendLimitAmount === "" ? undefined : message.maxSpendLimitAmount;
|
|
374
385
|
obj.max_exec_count = message.maxExecCount !== BigInt(0) ? message.maxExecCount?.toString() : undefined;
|
|
386
|
+
obj.narrow_session_max_expiration = message.narrowSessionMaxExpiration ? duration_1.Duration.toAmino(message.narrowSessionMaxExpiration) : undefined;
|
|
375
387
|
obj.min_recurring_period_seconds = message.minRecurringPeriodSeconds !== BigInt(0) ? message.minRecurringPeriodSeconds?.toString() : undefined;
|
|
376
388
|
obj.max_recurring_duration_seconds = message.maxRecurringDurationSeconds !== BigInt(0) ? message.maxRecurringDurationSeconds?.toString() : undefined;
|
|
377
389
|
obj.max_recurring_pulls_per_granter = message.maxRecurringPullsPerGranter === 0 ? undefined : message.maxRecurringPullsPerGranter;
|
|
@@ -436,6 +448,7 @@ function createBaseSessionOperationalParams() {
|
|
|
436
448
|
maxExpiration: duration_1.Duration.fromPartial({}),
|
|
437
449
|
maxSpendLimitAmount: "",
|
|
438
450
|
maxExecCount: BigInt(0),
|
|
451
|
+
narrowSessionMaxExpiration: duration_1.Duration.fromPartial({}),
|
|
439
452
|
minRecurringPeriodSeconds: BigInt(0),
|
|
440
453
|
maxRecurringDurationSeconds: BigInt(0),
|
|
441
454
|
maxRecurringPullsPerGranter: 0,
|
|
@@ -489,6 +502,9 @@ exports.SessionOperationalParams = {
|
|
|
489
502
|
if (message.maxExecCount !== BigInt(0)) {
|
|
490
503
|
writer.uint32(48).uint64(message.maxExecCount);
|
|
491
504
|
}
|
|
505
|
+
if (message.narrowSessionMaxExpiration !== undefined) {
|
|
506
|
+
duration_1.Duration.encode(message.narrowSessionMaxExpiration, writer.uint32(58).fork()).ldelim();
|
|
507
|
+
}
|
|
492
508
|
if (message.minRecurringPeriodSeconds !== BigInt(0)) {
|
|
493
509
|
writer.uint32(80).int64(message.minRecurringPeriodSeconds);
|
|
494
510
|
}
|
|
@@ -579,6 +595,9 @@ exports.SessionOperationalParams = {
|
|
|
579
595
|
case 6:
|
|
580
596
|
message.maxExecCount = reader.uint64();
|
|
581
597
|
break;
|
|
598
|
+
case 7:
|
|
599
|
+
message.narrowSessionMaxExpiration = duration_1.Duration.decode(reader, reader.uint32());
|
|
600
|
+
break;
|
|
582
601
|
case 10:
|
|
583
602
|
message.minRecurringPeriodSeconds = reader.int64();
|
|
584
603
|
break;
|
|
@@ -657,6 +676,7 @@ exports.SessionOperationalParams = {
|
|
|
657
676
|
message.maxExpiration = object.maxExpiration !== undefined && object.maxExpiration !== null ? duration_1.Duration.fromPartial(object.maxExpiration) : undefined;
|
|
658
677
|
message.maxSpendLimitAmount = object.maxSpendLimitAmount ?? "";
|
|
659
678
|
message.maxExecCount = object.maxExecCount !== undefined && object.maxExecCount !== null ? BigInt(object.maxExecCount.toString()) : BigInt(0);
|
|
679
|
+
message.narrowSessionMaxExpiration = object.narrowSessionMaxExpiration !== undefined && object.narrowSessionMaxExpiration !== null ? duration_1.Duration.fromPartial(object.narrowSessionMaxExpiration) : undefined;
|
|
660
680
|
message.minRecurringPeriodSeconds = object.minRecurringPeriodSeconds !== undefined && object.minRecurringPeriodSeconds !== null ? BigInt(object.minRecurringPeriodSeconds.toString()) : BigInt(0);
|
|
661
681
|
message.maxRecurringDurationSeconds = object.maxRecurringDurationSeconds !== undefined && object.maxRecurringDurationSeconds !== null ? BigInt(object.maxRecurringDurationSeconds.toString()) : BigInt(0);
|
|
662
682
|
message.maxRecurringPullsPerGranter = object.maxRecurringPullsPerGranter ?? 0;
|
|
@@ -698,6 +718,9 @@ exports.SessionOperationalParams = {
|
|
|
698
718
|
if (object.max_exec_count !== undefined && object.max_exec_count !== null) {
|
|
699
719
|
message.maxExecCount = BigInt(object.max_exec_count);
|
|
700
720
|
}
|
|
721
|
+
if (object.narrow_session_max_expiration !== undefined && object.narrow_session_max_expiration !== null) {
|
|
722
|
+
message.narrowSessionMaxExpiration = duration_1.Duration.fromAmino(object.narrow_session_max_expiration);
|
|
723
|
+
}
|
|
701
724
|
if (object.min_recurring_period_seconds !== undefined && object.min_recurring_period_seconds !== null) {
|
|
702
725
|
message.minRecurringPeriodSeconds = BigInt(object.min_recurring_period_seconds);
|
|
703
726
|
}
|
|
@@ -774,6 +797,7 @@ exports.SessionOperationalParams = {
|
|
|
774
797
|
obj.max_expiration = message.maxExpiration ? duration_1.Duration.toAmino(message.maxExpiration) : undefined;
|
|
775
798
|
obj.max_spend_limit_amount = message.maxSpendLimitAmount === "" ? undefined : message.maxSpendLimitAmount;
|
|
776
799
|
obj.max_exec_count = message.maxExecCount !== BigInt(0) ? message.maxExecCount?.toString() : undefined;
|
|
800
|
+
obj.narrow_session_max_expiration = message.narrowSessionMaxExpiration ? duration_1.Duration.toAmino(message.narrowSessionMaxExpiration) : undefined;
|
|
777
801
|
obj.min_recurring_period_seconds = message.minRecurringPeriodSeconds !== BigInt(0) ? message.minRecurringPeriodSeconds?.toString() : undefined;
|
|
778
802
|
obj.max_recurring_duration_seconds = message.maxRecurringDurationSeconds !== BigInt(0) ? message.maxRecurringDurationSeconds?.toString() : undefined;
|
|
779
803
|
obj.max_recurring_pulls_per_granter = message.maxRecurringPullsPerGranter === 0 ? undefined : message.maxRecurringPullsPerGranter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Params, ParamsAmino } from "./params";
|
|
2
|
-
import { ShieldedOpRegistration, ShieldedOpRegistrationAmino, UsedNullifier, UsedNullifierAmino, DayFunding, DayFundingAmino, VerificationKey, VerificationKeyAmino, TLEKeySet, TLEKeySetAmino, PendingShieldedOp, PendingShieldedOpAmino, ShieldEpochState, ShieldEpochStateAmino, ShieldEpochDecryptionKey, ShieldEpochDecryptionKeyAmino, IdentityRateLimitEntry, IdentityRateLimitEntryAmino, ShieldDecryptionShare, ShieldDecryptionShareAmino, TLEMissCounterEntry, TLEMissCounterEntryAmino, DKGState, DKGStateAmino, DKGContributionEntry, DKGContributionEntryAmino, DecryptionDemandEntry, DecryptionDemandEntryAmino, DKGComplaint, DKGComplaintAmino } from "./types";
|
|
2
|
+
import { ShieldedOpRegistration, ShieldedOpRegistrationAmino, UsedNullifier, UsedNullifierAmino, DayFunding, DayFundingAmino, VerificationKey, VerificationKeyAmino, TLEKeySet, TLEKeySetAmino, PendingShieldedOp, PendingShieldedOpAmino, ShieldEpochState, ShieldEpochStateAmino, ShieldEpochDecryptionKey, ShieldEpochDecryptionKeyAmino, IdentityRateLimitEntry, IdentityRateLimitEntryAmino, ShieldDecryptionShare, ShieldDecryptionShareAmino, TLEMissCounterEntry, TLEMissCounterEntryAmino, DKGState, DKGStateAmino, DKGContributionEntry, DKGContributionEntryAmino, DecryptionDemandEntry, DecryptionDemandEntryAmino, DKGComplaint, DKGComplaintAmino, TLEParticipationEntry, TLEParticipationEntryAmino, EpochFeeLedger, EpochFeeLedgerAmino } from "./types";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
import { DeepPartial } from "../../../helpers";
|
|
5
5
|
/**
|
|
@@ -85,6 +85,24 @@ export interface GenesisState {
|
|
|
85
85
|
* DKG complaints for the current round
|
|
86
86
|
*/
|
|
87
87
|
dkgComplaints: DKGComplaint[];
|
|
88
|
+
/**
|
|
89
|
+
* TLE liveness ring buffer (validator, slot) -> participated.
|
|
90
|
+
*/
|
|
91
|
+
tleParticipation: TLEParticipationEntry[];
|
|
92
|
+
/**
|
|
93
|
+
* Demanded epochs judged under the current key set (slot = count % window).
|
|
94
|
+
*/
|
|
95
|
+
tleJudgedEpochs: bigint;
|
|
96
|
+
/**
|
|
97
|
+
* Fees paid in the current shield epoch (params.max_fees_per_epoch).
|
|
98
|
+
*/
|
|
99
|
+
epochFeeLedger: EpochFeeLedger;
|
|
100
|
+
/**
|
|
101
|
+
* Nullifier domains no live op uses any more, each with the registration
|
|
102
|
+
* of the last op that used it: its scoping rule stays binding (pruning,
|
|
103
|
+
* re-registration compatibility) while the domain still holds nullifiers.
|
|
104
|
+
*/
|
|
105
|
+
retiredDomains: ShieldedOpRegistration[];
|
|
88
106
|
}
|
|
89
107
|
export interface GenesisStateProtoMsg {
|
|
90
108
|
typeUrl: "/sparkdream.shield.v1.GenesisState";
|
|
@@ -173,6 +191,24 @@ export interface GenesisStateAmino {
|
|
|
173
191
|
* DKG complaints for the current round
|
|
174
192
|
*/
|
|
175
193
|
dkg_complaints?: DKGComplaintAmino[];
|
|
194
|
+
/**
|
|
195
|
+
* TLE liveness ring buffer (validator, slot) -> participated.
|
|
196
|
+
*/
|
|
197
|
+
tle_participation?: TLEParticipationEntryAmino[];
|
|
198
|
+
/**
|
|
199
|
+
* Demanded epochs judged under the current key set (slot = count % window).
|
|
200
|
+
*/
|
|
201
|
+
tle_judged_epochs?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Fees paid in the current shield epoch (params.max_fees_per_epoch).
|
|
204
|
+
*/
|
|
205
|
+
epoch_fee_ledger?: EpochFeeLedgerAmino;
|
|
206
|
+
/**
|
|
207
|
+
* Nullifier domains no live op uses any more, each with the registration
|
|
208
|
+
* of the last op that used it: its scoping rule stays binding (pruning,
|
|
209
|
+
* re-registration compatibility) while the domain still holds nullifiers.
|
|
210
|
+
*/
|
|
211
|
+
retired_domains?: ShieldedOpRegistrationAmino[];
|
|
176
212
|
}
|
|
177
213
|
export interface GenesisStateAminoMsg {
|
|
178
214
|
type: "/sparkdream.shield.v1.GenesisState";
|
|
@@ -25,7 +25,11 @@ function createBaseGenesisState() {
|
|
|
25
25
|
dkgContributions: [],
|
|
26
26
|
dkgRegistrations: [],
|
|
27
27
|
decryptionDemands: [],
|
|
28
|
-
dkgComplaints: []
|
|
28
|
+
dkgComplaints: [],
|
|
29
|
+
tleParticipation: [],
|
|
30
|
+
tleJudgedEpochs: BigInt(0),
|
|
31
|
+
epochFeeLedger: types_1.EpochFeeLedger.fromPartial({}),
|
|
32
|
+
retiredDomains: []
|
|
29
33
|
};
|
|
30
34
|
}
|
|
31
35
|
/**
|
|
@@ -94,6 +98,18 @@ exports.GenesisState = {
|
|
|
94
98
|
for (const v of message.dkgComplaints) {
|
|
95
99
|
types_1.DKGComplaint.encode(v, writer.uint32(154).fork()).ldelim();
|
|
96
100
|
}
|
|
101
|
+
for (const v of message.tleParticipation) {
|
|
102
|
+
types_1.TLEParticipationEntry.encode(v, writer.uint32(162).fork()).ldelim();
|
|
103
|
+
}
|
|
104
|
+
if (message.tleJudgedEpochs !== BigInt(0)) {
|
|
105
|
+
writer.uint32(168).uint64(message.tleJudgedEpochs);
|
|
106
|
+
}
|
|
107
|
+
if (message.epochFeeLedger !== undefined) {
|
|
108
|
+
types_1.EpochFeeLedger.encode(message.epochFeeLedger, writer.uint32(178).fork()).ldelim();
|
|
109
|
+
}
|
|
110
|
+
for (const v of message.retiredDomains) {
|
|
111
|
+
types_1.ShieldedOpRegistration.encode(v, writer.uint32(186).fork()).ldelim();
|
|
112
|
+
}
|
|
97
113
|
return writer;
|
|
98
114
|
},
|
|
99
115
|
decode(input, length) {
|
|
@@ -160,6 +176,18 @@ exports.GenesisState = {
|
|
|
160
176
|
case 19:
|
|
161
177
|
message.dkgComplaints.push(types_1.DKGComplaint.decode(reader, reader.uint32()));
|
|
162
178
|
break;
|
|
179
|
+
case 20:
|
|
180
|
+
message.tleParticipation.push(types_1.TLEParticipationEntry.decode(reader, reader.uint32()));
|
|
181
|
+
break;
|
|
182
|
+
case 21:
|
|
183
|
+
message.tleJudgedEpochs = reader.uint64();
|
|
184
|
+
break;
|
|
185
|
+
case 22:
|
|
186
|
+
message.epochFeeLedger = types_1.EpochFeeLedger.decode(reader, reader.uint32());
|
|
187
|
+
break;
|
|
188
|
+
case 23:
|
|
189
|
+
message.retiredDomains.push(types_1.ShieldedOpRegistration.decode(reader, reader.uint32()));
|
|
190
|
+
break;
|
|
163
191
|
default:
|
|
164
192
|
reader.skipType(tag & 7);
|
|
165
193
|
break;
|
|
@@ -188,6 +216,10 @@ exports.GenesisState = {
|
|
|
188
216
|
message.dkgRegistrations = object.dkgRegistrations?.map(e => types_1.DKGContributionEntry.fromPartial(e)) || [];
|
|
189
217
|
message.decryptionDemands = object.decryptionDemands?.map(e => types_1.DecryptionDemandEntry.fromPartial(e)) || [];
|
|
190
218
|
message.dkgComplaints = object.dkgComplaints?.map(e => types_1.DKGComplaint.fromPartial(e)) || [];
|
|
219
|
+
message.tleParticipation = object.tleParticipation?.map(e => types_1.TLEParticipationEntry.fromPartial(e)) || [];
|
|
220
|
+
message.tleJudgedEpochs = object.tleJudgedEpochs !== undefined && object.tleJudgedEpochs !== null ? BigInt(object.tleJudgedEpochs.toString()) : BigInt(0);
|
|
221
|
+
message.epochFeeLedger = object.epochFeeLedger !== undefined && object.epochFeeLedger !== null ? types_1.EpochFeeLedger.fromPartial(object.epochFeeLedger) : undefined;
|
|
222
|
+
message.retiredDomains = object.retiredDomains?.map(e => types_1.ShieldedOpRegistration.fromPartial(e)) || [];
|
|
191
223
|
return message;
|
|
192
224
|
},
|
|
193
225
|
fromAmino(object) {
|
|
@@ -221,6 +253,14 @@ exports.GenesisState = {
|
|
|
221
253
|
message.dkgRegistrations = object.dkg_registrations?.map(e => types_1.DKGContributionEntry.fromAmino(e)) || [];
|
|
222
254
|
message.decryptionDemands = object.decryption_demands?.map(e => types_1.DecryptionDemandEntry.fromAmino(e)) || [];
|
|
223
255
|
message.dkgComplaints = object.dkg_complaints?.map(e => types_1.DKGComplaint.fromAmino(e)) || [];
|
|
256
|
+
message.tleParticipation = object.tle_participation?.map(e => types_1.TLEParticipationEntry.fromAmino(e)) || [];
|
|
257
|
+
if (object.tle_judged_epochs !== undefined && object.tle_judged_epochs !== null) {
|
|
258
|
+
message.tleJudgedEpochs = BigInt(object.tle_judged_epochs);
|
|
259
|
+
}
|
|
260
|
+
if (object.epoch_fee_ledger !== undefined && object.epoch_fee_ledger !== null) {
|
|
261
|
+
message.epochFeeLedger = types_1.EpochFeeLedger.fromAmino(object.epoch_fee_ledger);
|
|
262
|
+
}
|
|
263
|
+
message.retiredDomains = object.retired_domains?.map(e => types_1.ShieldedOpRegistration.fromAmino(e)) || [];
|
|
224
264
|
return message;
|
|
225
265
|
},
|
|
226
266
|
toAmino(message) {
|
|
@@ -314,6 +354,20 @@ exports.GenesisState = {
|
|
|
314
354
|
else {
|
|
315
355
|
obj.dkg_complaints = message.dkgComplaints;
|
|
316
356
|
}
|
|
357
|
+
if (message.tleParticipation) {
|
|
358
|
+
obj.tle_participation = message.tleParticipation.map(e => e ? types_1.TLEParticipationEntry.toAmino(e) : undefined);
|
|
359
|
+
}
|
|
360
|
+
else {
|
|
361
|
+
obj.tle_participation = message.tleParticipation;
|
|
362
|
+
}
|
|
363
|
+
obj.tle_judged_epochs = message.tleJudgedEpochs !== BigInt(0) ? message.tleJudgedEpochs?.toString() : undefined;
|
|
364
|
+
obj.epoch_fee_ledger = message.epochFeeLedger ? types_1.EpochFeeLedger.toAmino(message.epochFeeLedger) : undefined;
|
|
365
|
+
if (message.retiredDomains) {
|
|
366
|
+
obj.retired_domains = message.retiredDomains.map(e => e ? types_1.ShieldedOpRegistration.toAmino(e) : undefined);
|
|
367
|
+
}
|
|
368
|
+
else {
|
|
369
|
+
obj.retired_domains = message.retiredDomains;
|
|
370
|
+
}
|
|
317
371
|
return obj;
|
|
318
372
|
},
|
|
319
373
|
fromAminoMsg(object) {
|
|
@@ -77,7 +77,8 @@ export interface Params {
|
|
|
77
77
|
dkgWindowBlocks: bigint;
|
|
78
78
|
/**
|
|
79
79
|
* Validator set drift percentage (0-100) that triggers automatic re-keying.
|
|
80
|
-
* e.g. 33 means re-key
|
|
80
|
+
* e.g. 33 means re-key once 33% or more of the DKG participants (truncated
|
|
81
|
+
* to a whole percent) are no longer in the bonded set.
|
|
81
82
|
*/
|
|
82
83
|
maxValidatorSetDrift: number;
|
|
83
84
|
/**
|
|
@@ -94,6 +95,17 @@ export interface Params {
|
|
|
94
95
|
* satisfied with the ceremony. A re-key always turns batch mode off.
|
|
95
96
|
*/
|
|
96
97
|
enableBatchAfterDkg: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Chain-wide budget (in the bond denom) of fees the shield module pays in
|
|
100
|
+
* one shield epoch, summed over every exec. An exec whose fee would exceed
|
|
101
|
+
* what is left is rejected before anything is paid; the budget resets at
|
|
102
|
+
* the next shield epoch. Size it so that budget x epochs per day stays
|
|
103
|
+
* below max_funding_per_day (at 6 s blocks and a 50-block epoch there are
|
|
104
|
+
* 288 epochs a day): then no set of identities, however many in-quota
|
|
105
|
+
* execs they run, can drain the reserve faster than it is funded. Must be
|
|
106
|
+
* at least max_fee_per_exec.
|
|
107
|
+
*/
|
|
108
|
+
maxFeesPerEpoch: string;
|
|
97
109
|
}
|
|
98
110
|
export interface ParamsProtoMsg {
|
|
99
111
|
typeUrl: "/sparkdream.shield.v1.Params";
|
|
@@ -176,7 +188,8 @@ export interface ParamsAmino {
|
|
|
176
188
|
dkg_window_blocks?: string;
|
|
177
189
|
/**
|
|
178
190
|
* Validator set drift percentage (0-100) that triggers automatic re-keying.
|
|
179
|
-
* e.g. 33 means re-key
|
|
191
|
+
* e.g. 33 means re-key once 33% or more of the DKG participants (truncated
|
|
192
|
+
* to a whole percent) are no longer in the bonded set.
|
|
180
193
|
*/
|
|
181
194
|
max_validator_set_drift?: number;
|
|
182
195
|
/**
|
|
@@ -193,6 +206,17 @@ export interface ParamsAmino {
|
|
|
193
206
|
* satisfied with the ceremony. A re-key always turns batch mode off.
|
|
194
207
|
*/
|
|
195
208
|
enable_batch_after_dkg?: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Chain-wide budget (in the bond denom) of fees the shield module pays in
|
|
211
|
+
* one shield epoch, summed over every exec. An exec whose fee would exceed
|
|
212
|
+
* what is left is rejected before anything is paid; the budget resets at
|
|
213
|
+
* the next shield epoch. Size it so that budget x epochs per day stays
|
|
214
|
+
* below max_funding_per_day (at 6 s blocks and a 50-block epoch there are
|
|
215
|
+
* 288 epochs a day): then no set of identities, however many in-quota
|
|
216
|
+
* execs they run, can drain the reserve faster than it is funded. Must be
|
|
217
|
+
* at least max_fee_per_exec.
|
|
218
|
+
*/
|
|
219
|
+
max_fees_per_epoch?: string;
|
|
196
220
|
}
|
|
197
221
|
export interface ParamsAminoMsg {
|
|
198
222
|
type: "sparkdream/x/shield/Params";
|
|
@@ -24,7 +24,8 @@ function createBaseParams() {
|
|
|
24
24
|
dkgWindowBlocks: BigInt(0),
|
|
25
25
|
maxValidatorSetDrift: 0,
|
|
26
26
|
maxFeePerExec: "",
|
|
27
|
-
enableBatchAfterDkg: false
|
|
27
|
+
enableBatchAfterDkg: false,
|
|
28
|
+
maxFeesPerEpoch: ""
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
@@ -97,6 +98,9 @@ exports.Params = {
|
|
|
97
98
|
if (message.enableBatchAfterDkg === true) {
|
|
98
99
|
writer.uint32(160).bool(message.enableBatchAfterDkg);
|
|
99
100
|
}
|
|
101
|
+
if (message.maxFeesPerEpoch !== "") {
|
|
102
|
+
writer.uint32(170).string(message.maxFeesPerEpoch);
|
|
103
|
+
}
|
|
100
104
|
return writer;
|
|
101
105
|
},
|
|
102
106
|
decode(input, length) {
|
|
@@ -166,6 +170,9 @@ exports.Params = {
|
|
|
166
170
|
case 20:
|
|
167
171
|
message.enableBatchAfterDkg = reader.bool();
|
|
168
172
|
break;
|
|
173
|
+
case 21:
|
|
174
|
+
message.maxFeesPerEpoch = reader.string();
|
|
175
|
+
break;
|
|
169
176
|
default:
|
|
170
177
|
reader.skipType(tag & 7);
|
|
171
178
|
break;
|
|
@@ -195,6 +202,7 @@ exports.Params = {
|
|
|
195
202
|
message.maxValidatorSetDrift = object.maxValidatorSetDrift ?? 0;
|
|
196
203
|
message.maxFeePerExec = object.maxFeePerExec ?? "";
|
|
197
204
|
message.enableBatchAfterDkg = object.enableBatchAfterDkg ?? false;
|
|
205
|
+
message.maxFeesPerEpoch = object.maxFeesPerEpoch ?? "";
|
|
198
206
|
return message;
|
|
199
207
|
},
|
|
200
208
|
fromAmino(object) {
|
|
@@ -259,6 +267,9 @@ exports.Params = {
|
|
|
259
267
|
if (object.enable_batch_after_dkg !== undefined && object.enable_batch_after_dkg !== null) {
|
|
260
268
|
message.enableBatchAfterDkg = object.enable_batch_after_dkg;
|
|
261
269
|
}
|
|
270
|
+
if (object.max_fees_per_epoch !== undefined && object.max_fees_per_epoch !== null) {
|
|
271
|
+
message.maxFeesPerEpoch = object.max_fees_per_epoch;
|
|
272
|
+
}
|
|
262
273
|
return message;
|
|
263
274
|
},
|
|
264
275
|
toAmino(message) {
|
|
@@ -283,6 +294,7 @@ exports.Params = {
|
|
|
283
294
|
obj.max_validator_set_drift = message.maxValidatorSetDrift === 0 ? undefined : message.maxValidatorSetDrift;
|
|
284
295
|
obj.max_fee_per_exec = message.maxFeePerExec === "" ? undefined : message.maxFeePerExec;
|
|
285
296
|
obj.enable_batch_after_dkg = message.enableBatchAfterDkg === false ? undefined : message.enableBatchAfterDkg;
|
|
297
|
+
obj.max_fees_per_epoch = message.maxFeesPerEpoch === "" ? undefined : message.maxFeesPerEpoch;
|
|
286
298
|
return obj;
|
|
287
299
|
},
|
|
288
300
|
fromAminoMsg(object) {
|
|
@@ -8,6 +8,14 @@ import { DeepPartial } from "../../../helpers";
|
|
|
8
8
|
export declare enum ProofDomain {
|
|
9
9
|
PROOF_DOMAIN_UNSPECIFIED = 0,
|
|
10
10
|
PROOF_DOMAIN_TRUST_TREE = 1,
|
|
11
|
+
/**
|
|
12
|
+
* PROOF_DOMAIN_GROUP_TREE - PROOF_DOMAIN_GROUP_TREE: the proof is against a voter snapshot the
|
|
13
|
+
* target module names for the inner message (x/commons secret ballots:
|
|
14
|
+
* the proposal's or poll's voter tree). Same circuit; the leaves are
|
|
15
|
+
* MiMC(zk_public_key, 0). Immediate mode only: a batch submission is
|
|
16
|
+
* checked before its inner message is decrypted, so its root cannot be.
|
|
17
|
+
*/
|
|
18
|
+
PROOF_DOMAIN_GROUP_TREE = 2,
|
|
11
19
|
UNRECOGNIZED = -1
|
|
12
20
|
}
|
|
13
21
|
export declare const ProofDomainAmino: typeof ProofDomain;
|
|
@@ -1176,6 +1184,13 @@ export interface ValidatorDKGExtension {
|
|
|
1176
1184
|
* The vote extension data from this validator
|
|
1177
1185
|
*/
|
|
1178
1186
|
extension: DKGVoteExtension;
|
|
1187
|
+
/**
|
|
1188
|
+
* The validator's CometBFT vote-extension signature (its consensus key over
|
|
1189
|
+
* the CanonicalVoteExtension of the marshaled extension at the previous
|
|
1190
|
+
* height and the last commit's round). ProcessProposal and the PreBlocker
|
|
1191
|
+
* verify it, so a proposer can only inject what the named validator signed.
|
|
1192
|
+
*/
|
|
1193
|
+
extensionSignature: Uint8Array;
|
|
1179
1194
|
}
|
|
1180
1195
|
export interface ValidatorDKGExtensionProtoMsg {
|
|
1181
1196
|
typeUrl: "/sparkdream.shield.v1.ValidatorDKGExtension";
|
|
@@ -1196,6 +1211,13 @@ export interface ValidatorDKGExtensionAmino {
|
|
|
1196
1211
|
* The vote extension data from this validator
|
|
1197
1212
|
*/
|
|
1198
1213
|
extension?: DKGVoteExtensionAmino;
|
|
1214
|
+
/**
|
|
1215
|
+
* The validator's CometBFT vote-extension signature (its consensus key over
|
|
1216
|
+
* the CanonicalVoteExtension of the marshaled extension at the previous
|
|
1217
|
+
* height and the last commit's round). ProcessProposal and the PreBlocker
|
|
1218
|
+
* verify it, so a proposer can only inject what the named validator signed.
|
|
1219
|
+
*/
|
|
1220
|
+
extension_signature?: string;
|
|
1199
1221
|
}
|
|
1200
1222
|
export interface ValidatorDKGExtensionAminoMsg {
|
|
1201
1223
|
type: "/sparkdream.shield.v1.ValidatorDKGExtension";
|
|
@@ -1301,6 +1323,68 @@ export interface TLEMissCounterEntryAminoMsg {
|
|
|
1301
1323
|
type: "/sparkdream.shield.v1.TLEMissCounterEntry";
|
|
1302
1324
|
value: TLEMissCounterEntryAmino;
|
|
1303
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
* TLEParticipationEntry is a genesis helper for exporting the TLE liveness
|
|
1328
|
+
* ring buffer: whether a validator released its share in a judged epoch slot.
|
|
1329
|
+
* @name TLEParticipationEntry
|
|
1330
|
+
* @package sparkdream.shield.v1
|
|
1331
|
+
* @see proto type: sparkdream.shield.v1.TLEParticipationEntry
|
|
1332
|
+
*/
|
|
1333
|
+
export interface TLEParticipationEntry {
|
|
1334
|
+
validatorAddress: string;
|
|
1335
|
+
slot: bigint;
|
|
1336
|
+
participated: boolean;
|
|
1337
|
+
}
|
|
1338
|
+
export interface TLEParticipationEntryProtoMsg {
|
|
1339
|
+
typeUrl: "/sparkdream.shield.v1.TLEParticipationEntry";
|
|
1340
|
+
value: Uint8Array;
|
|
1341
|
+
}
|
|
1342
|
+
/**
|
|
1343
|
+
* TLEParticipationEntry is a genesis helper for exporting the TLE liveness
|
|
1344
|
+
* ring buffer: whether a validator released its share in a judged epoch slot.
|
|
1345
|
+
* @name TLEParticipationEntryAmino
|
|
1346
|
+
* @package sparkdream.shield.v1
|
|
1347
|
+
* @see proto type: sparkdream.shield.v1.TLEParticipationEntry
|
|
1348
|
+
*/
|
|
1349
|
+
export interface TLEParticipationEntryAmino {
|
|
1350
|
+
validator_address?: string;
|
|
1351
|
+
slot?: string;
|
|
1352
|
+
participated?: boolean;
|
|
1353
|
+
}
|
|
1354
|
+
export interface TLEParticipationEntryAminoMsg {
|
|
1355
|
+
type: "/sparkdream.shield.v1.TLEParticipationEntry";
|
|
1356
|
+
value: TLEParticipationEntryAmino;
|
|
1357
|
+
}
|
|
1358
|
+
/**
|
|
1359
|
+
* EpochFeeLedger is the fees the shield module paid in one shield epoch,
|
|
1360
|
+
* checked against params.max_fees_per_epoch.
|
|
1361
|
+
* @name EpochFeeLedger
|
|
1362
|
+
* @package sparkdream.shield.v1
|
|
1363
|
+
* @see proto type: sparkdream.shield.v1.EpochFeeLedger
|
|
1364
|
+
*/
|
|
1365
|
+
export interface EpochFeeLedger {
|
|
1366
|
+
epoch: bigint;
|
|
1367
|
+
paid: string;
|
|
1368
|
+
}
|
|
1369
|
+
export interface EpochFeeLedgerProtoMsg {
|
|
1370
|
+
typeUrl: "/sparkdream.shield.v1.EpochFeeLedger";
|
|
1371
|
+
value: Uint8Array;
|
|
1372
|
+
}
|
|
1373
|
+
/**
|
|
1374
|
+
* EpochFeeLedger is the fees the shield module paid in one shield epoch,
|
|
1375
|
+
* checked against params.max_fees_per_epoch.
|
|
1376
|
+
* @name EpochFeeLedgerAmino
|
|
1377
|
+
* @package sparkdream.shield.v1
|
|
1378
|
+
* @see proto type: sparkdream.shield.v1.EpochFeeLedger
|
|
1379
|
+
*/
|
|
1380
|
+
export interface EpochFeeLedgerAmino {
|
|
1381
|
+
epoch?: string;
|
|
1382
|
+
paid?: string;
|
|
1383
|
+
}
|
|
1384
|
+
export interface EpochFeeLedgerAminoMsg {
|
|
1385
|
+
type: "/sparkdream.shield.v1.EpochFeeLedger";
|
|
1386
|
+
value: EpochFeeLedgerAmino;
|
|
1387
|
+
}
|
|
1304
1388
|
/**
|
|
1305
1389
|
* DecryptionDemandEntry records that the EndBlocker asked validators for
|
|
1306
1390
|
* decryption shares of a closed epoch (its batch became ready) at a height.
|
|
@@ -1742,6 +1826,44 @@ export declare const TLEMissCounterEntry: {
|
|
|
1742
1826
|
toProto(message: TLEMissCounterEntry): Uint8Array;
|
|
1743
1827
|
toProtoMsg(message: TLEMissCounterEntry): TLEMissCounterEntryProtoMsg;
|
|
1744
1828
|
};
|
|
1829
|
+
/**
|
|
1830
|
+
* TLEParticipationEntry is a genesis helper for exporting the TLE liveness
|
|
1831
|
+
* ring buffer: whether a validator released its share in a judged epoch slot.
|
|
1832
|
+
* @name TLEParticipationEntry
|
|
1833
|
+
* @package sparkdream.shield.v1
|
|
1834
|
+
* @see proto type: sparkdream.shield.v1.TLEParticipationEntry
|
|
1835
|
+
*/
|
|
1836
|
+
export declare const TLEParticipationEntry: {
|
|
1837
|
+
typeUrl: string;
|
|
1838
|
+
encode(message: TLEParticipationEntry, writer?: BinaryWriter): BinaryWriter;
|
|
1839
|
+
decode(input: BinaryReader | Uint8Array, length?: number): TLEParticipationEntry;
|
|
1840
|
+
fromPartial(object: DeepPartial<TLEParticipationEntry>): TLEParticipationEntry;
|
|
1841
|
+
fromAmino(object: TLEParticipationEntryAmino): TLEParticipationEntry;
|
|
1842
|
+
toAmino(message: TLEParticipationEntry): TLEParticipationEntryAmino;
|
|
1843
|
+
fromAminoMsg(object: TLEParticipationEntryAminoMsg): TLEParticipationEntry;
|
|
1844
|
+
fromProtoMsg(message: TLEParticipationEntryProtoMsg): TLEParticipationEntry;
|
|
1845
|
+
toProto(message: TLEParticipationEntry): Uint8Array;
|
|
1846
|
+
toProtoMsg(message: TLEParticipationEntry): TLEParticipationEntryProtoMsg;
|
|
1847
|
+
};
|
|
1848
|
+
/**
|
|
1849
|
+
* EpochFeeLedger is the fees the shield module paid in one shield epoch,
|
|
1850
|
+
* checked against params.max_fees_per_epoch.
|
|
1851
|
+
* @name EpochFeeLedger
|
|
1852
|
+
* @package sparkdream.shield.v1
|
|
1853
|
+
* @see proto type: sparkdream.shield.v1.EpochFeeLedger
|
|
1854
|
+
*/
|
|
1855
|
+
export declare const EpochFeeLedger: {
|
|
1856
|
+
typeUrl: string;
|
|
1857
|
+
encode(message: EpochFeeLedger, writer?: BinaryWriter): BinaryWriter;
|
|
1858
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EpochFeeLedger;
|
|
1859
|
+
fromPartial(object: DeepPartial<EpochFeeLedger>): EpochFeeLedger;
|
|
1860
|
+
fromAmino(object: EpochFeeLedgerAmino): EpochFeeLedger;
|
|
1861
|
+
toAmino(message: EpochFeeLedger): EpochFeeLedgerAmino;
|
|
1862
|
+
fromAminoMsg(object: EpochFeeLedgerAminoMsg): EpochFeeLedger;
|
|
1863
|
+
fromProtoMsg(message: EpochFeeLedgerProtoMsg): EpochFeeLedger;
|
|
1864
|
+
toProto(message: EpochFeeLedger): Uint8Array;
|
|
1865
|
+
toProtoMsg(message: EpochFeeLedger): EpochFeeLedgerProtoMsg;
|
|
1866
|
+
};
|
|
1745
1867
|
/**
|
|
1746
1868
|
* DecryptionDemandEntry records that the EndBlocker asked validators for
|
|
1747
1869
|
* decryption shares of a closed epoch (its batch became ready) at a height.
|