@totochain/api-augment 0.1.0 → 0.2.0

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.
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/events';
8
8
  import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
9
9
  import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, i32, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10
10
  import type { ITuple } from '@polkadot/types-codec/types';
11
- import type { AccountId20, H160, H256, Permill } from '@polkadot/types/interfaces/runtime';
12
- import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletFractionalNftFractionalNftFractionalNftError, PalletFractionalNftNftInfo, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletPotentialPotentialOperation, PalletProxyDepositKind, PalletReputationVotingTally, PalletReputationVotingVoteDirection, PalletSafeModeExitReason, PalletValidatorManagerEvictionReason, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, TotochainRuntimeConfigsUtilityProxyType, TotochainRuntimeRuntimeHoldReason } from '@polkadot/types/lookup';
11
+ import type { AccountId20, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
12
+ import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletPotentialPotentialOperation, PalletProxyDepositKind, PalletPuzzlePiecesPuzzlePiecesPuzzlePiecesError, PalletReputationVotingTally, PalletReputationVotingVoteDirection, PalletSafeModeExitReason, PalletValidatorManagerEvictionReason, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, TotochainRuntimeConfigsUtilityProxyType, TotochainRuntimeRuntimeHoldReason } from '@polkadot/types/lookup';
13
13
 
14
14
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
15
15
 
@@ -30,9 +30,9 @@ declare module '@polkadot/api-base/types/events' {
30
30
  [key: string]: AugmentedEvent<ApiType>;
31
31
  };
32
32
  attestation: {
33
- AttestationCreated: AugmentedEvent<ApiType, [claimHash: H256, ctypeHash: H256, attester: AccountId20, subject: AccountId20], { claimHash: H256, ctypeHash: H256, attester: AccountId20, subject: AccountId20 }>;
34
- AttestationRemoved: AugmentedEvent<ApiType, [claimHash: H256, attester: AccountId20], { claimHash: H256, attester: AccountId20 }>;
35
- AttestationRevoked: AugmentedEvent<ApiType, [claimHash: H256, attester: AccountId20], { claimHash: H256, attester: AccountId20 }>;
33
+ AttestationCreated: AugmentedEvent<ApiType, [subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64], { subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64 }>;
34
+ AttestationRemoved: AugmentedEvent<ApiType, [subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64], { subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64 }>;
35
+ AttestationRevoked: AugmentedEvent<ApiType, [subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64], { subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64 }>;
36
36
  AttesterAdded: AugmentedEvent<ApiType, [attester: AccountId20], { attester: AccountId20 }>;
37
37
  AttesterRemoved: AugmentedEvent<ApiType, [attester: AccountId20], { attester: AccountId20 }>;
38
38
  CtypeWeightRemoved: AugmentedEvent<ApiType, [ctypeHash: H256], { ctypeHash: H256 }>;
@@ -229,99 +229,6 @@ declare module '@polkadot/api-base/types/events' {
229
229
  **/
230
230
  [key: string]: AugmentedEvent<ApiType>;
231
231
  };
232
- fractionalNft: {
233
- /**
234
- * The unused-NFT pool could not cover the block author's fNFT reward
235
- * this block (tier 1). `required` is always 1 (the block author);
236
- * `available` is 0 when the pool is empty. The undistributed NFT remains
237
- * due for a later block.
238
- **/
239
- BlockRewardShortfall: AugmentedEvent<ApiType, [blockProducer: AccountId20, required: u32, available: u32], { blockProducer: AccountId20, required: u32, available: u32 }>;
240
- /**
241
- * Event emitted when a collection is burned.
242
- **/
243
- CollectionBurned: AugmentedEvent<ApiType, [collectionId: u32, from: AccountId20], { collectionId: u32, from: AccountId20 }>;
244
- /**
245
- * Event emitted when a collection is transferred to the reward pool.
246
- **/
247
- CollectionTransferredToRewardPool: AugmentedEvent<ApiType, [collectionId: u32, from: AccountId20], { collectionId: u32, from: AccountId20 }>;
248
- /**
249
- * fNFT reward distribution failed for an account.
250
- **/
251
- DistributeFractionalNftRewardFailed: AugmentedEvent<ApiType, [account: AccountId20, error: SpRuntimeDispatchError], { account: AccountId20, error: SpRuntimeDispatchError }>;
252
- /**
253
- * fNFT reward was distributed successfully to an account.
254
- **/
255
- DistributeFractionalNftRewardSuccessful: AugmentedEvent<ApiType, [account: AccountId20], { account: AccountId20 }>;
256
- /**
257
- * Event emitted when a fractional NFT collection is created.
258
- **/
259
- FractionalNftCollectionCreated: AugmentedEvent<ApiType, [collectionId: u32, owner: AccountId20], { collectionId: u32, owner: AccountId20 }>;
260
- /**
261
- * Event emitted when fractional NFTs are minted.
262
- **/
263
- FractionalNftMinted: AugmentedEvent<ApiType, [collectionId: u32, itemId: u32, owner: AccountId20, beneficiary: AccountId20], { collectionId: u32, itemId: u32, owner: AccountId20, beneficiary: AccountId20 }>;
264
- /**
265
- * Block fNFT reward distribution failed.
266
- **/
267
- NftRewardDistributionFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError }>;
268
- /**
269
- * Referral chain walk detected a cycle and stopped to prevent re-distributing
270
- * rewards to the same accounts.
271
- **/
272
- ReferralChainCycleDetected: AugmentedEvent<ApiType, [account: AccountId20, depth: u32], { account: AccountId20, depth: u32 }>;
273
- /**
274
- * Referral chain walk stopped at the configured maximum depth.
275
- **/
276
- ReferralChainDepthLimitReached: AugmentedEvent<ApiType, [account: AccountId20, depth: u32], { account: AccountId20, depth: u32 }>;
277
- /**
278
- * Event for other fractional NFT transfer outcomes, e.g., errors.
279
- **/
280
- TransferFractionalNftFailed: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
281
- /**
282
- * Event emitted when a fractional NFT is successfully transferred.
283
- **/
284
- TransferFractionalNftSuccessful: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
285
- /**
286
- * The unused-NFT pool was internally inconsistent (a `*Count` disagreed
287
- * with the backing forward array) beyond what `distribute_unused_nft`
288
- * can self-heal, so this block's reward pick was skipped. Surfaces the
289
- * corruption on-chain instead of leaving it to node logs only; a
290
- * `None` `collection_id` means the empty slot was a collection slot.
291
- **/
292
- UnusedNftPoolInconsistent: AugmentedEvent<ApiType, [account: AccountId20, collectionId: Option<u32>], { account: AccountId20, collectionId: Option<u32> }>;
293
- /**
294
- * The unused-NFT pool could not cover the full upline recipient set
295
- * (tier 2), so the all-or-nothing batch distributed nothing to the
296
- * upline this block. `required` is the number of coin-flip-winning
297
- * ancestors; `available` is how many the pool could have served.
298
- **/
299
- UplineRewardShortfall: AugmentedEvent<ApiType, [blockProducer: AccountId20, required: u32, available: u32], { blockProducer: AccountId20, required: u32, available: u32 }>;
300
- /**
301
- * Event emitted when a wildcard NFT is distributed.
302
- **/
303
- WildcardDistributed: AugmentedEvent<ApiType, [itemId: u32, recipient: AccountId20], { itemId: u32, recipient: AccountId20 }>;
304
- /**
305
- * Wildcard minting was deferred to the `on_finalize` sweeper. `deferred` is
306
- * how many wildcards this mint owed; `pending` is the total backlog after
307
- * crediting them. A persistently growing `pending` means wildcards are being
308
- * created faster than the distribution queue drains them.
309
- **/
310
- WildcardMintDeferred: AugmentedEvent<ApiType, [deferred: u32, pending: u32], { deferred: u32, pending: u32 }>;
311
- /**
312
- * Event emitted when a wildcard NFT is minted.
313
- **/
314
- WildcardMinted: AugmentedEvent<ApiType, [itemId: u32, distributionBlock: u32], { itemId: u32, distributionBlock: u32 }>;
315
- /**
316
- * A deferred wildcard mint failed in the sweeper. The batch stopped and the
317
- * remaining backlog stays in `PendingWildcards` for the next block.
318
- **/
319
- WildcardMintFailed: AugmentedEvent<ApiType, [error: PalletFractionalNftFractionalNftFractionalNftError], { error: PalletFractionalNftFractionalNftFractionalNftError }>;
320
- /**
321
- * Generic event
322
- **/
323
- [key: string]: AugmentedEvent<ApiType>;
324
- };
325
232
  grandpa: {
326
233
  /**
327
234
  * New authority set has been applied.
@@ -552,9 +459,10 @@ declare module '@polkadot/api-base/types/events' {
552
459
  **/
553
460
  BurnBatchFailed: AugmentedEvent<ApiType, [accountsProcessed: u32, accountsBurned: u32, totalBurned: u128], { accountsProcessed: u32, accountsBurned: u32, totalBurned: u128 }>;
554
461
  /**
555
- * A burn cycle has completed. `accounts_processed` counts every account the
556
- * cycle visited (matches weight accounting); `accounts_burned` counts only
557
- * those for which `burn_for_account` returned a non-zero amount.
462
+ * A burn cycle has completed. `accounts_processed` counts every live
463
+ * account the cycle examined (dead rows and the reward pool are
464
+ * skipped); `accounts_burned` counts only those for which
465
+ * `burn_for_account` returned a non-zero amount.
558
466
  **/
559
467
  BurnCycleCompleted: AugmentedEvent<ApiType, [accountsProcessed: u32, accountsBurned: u32, totalBurned: u128], { accountsProcessed: u32, accountsBurned: u32, totalBurned: u128 }>;
560
468
  /**
@@ -588,6 +496,15 @@ declare module '@polkadot/api-base/types/events' {
588
496
  * Event emitted when a referral is successful.
589
497
  **/
590
498
  ReferralSuccessful: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
499
+ /**
500
+ * A potential credit could not be delivered — the recipient account was
501
+ * reaped or never existed, and `deposit_creating` refuses to create an
502
+ * account with less than the existential deposit. The amount was rerouted
503
+ * to the reward pool instead of being recorded as potential no balance
504
+ * backs. `account` is the intended recipient; `amount` is the rerouted
505
+ * credit. See `credit_balance_and_lock` in `mint.rs`.
506
+ **/
507
+ RewardReroutedToRewardPool: AugmentedEvent<ApiType, [account: AccountId20, amount: u128], { account: AccountId20, amount: u128 }>;
591
508
  /**
592
509
  * Event for other set active referral share outcomes, e.g., errors.
593
510
  **/
@@ -598,10 +515,9 @@ declare module '@polkadot/api-base/types/events' {
598
515
  SetActiveReferralShareSuccessful: AugmentedEvent<ApiType, [AccountId20, u32]>;
599
516
  /**
600
517
  * An EVM priority-fee (tip) could not be credited to the block author —
601
- * the author account was reaped or never existed (the EVM fee charge uses
602
- * `AllowDeath`). The tip was rerouted to the reward pool instead of being
603
- * silently burned. `author` is the derived account that could not receive
604
- * the deposit; `amount` is the rerouted tip.
518
+ * the author account was reaped or never existed. The tip was rerouted to
519
+ * the reward pool instead of being silently burned. `author` is the derived
520
+ * account that could not receive the deposit; `amount` is the rerouted tip.
605
521
  **/
606
522
  TipReroutedToRewardPool: AugmentedEvent<ApiType, [author: AccountId20, amount: u128], { author: AccountId20, amount: u128 }>;
607
523
  /**
@@ -662,6 +578,109 @@ declare module '@polkadot/api-base/types/events' {
662
578
  **/
663
579
  [key: string]: AugmentedEvent<ApiType>;
664
580
  };
581
+ puzzlePieces: {
582
+ /**
583
+ * Event emitted when a collection is burned.
584
+ **/
585
+ CollectionBurned: AugmentedEvent<ApiType, [collectionId: u32, from: AccountId20], { collectionId: u32, from: AccountId20 }>;
586
+ /**
587
+ * A retired collection was destroyed once its last leftover piece was gone.
588
+ **/
589
+ CollectionReaped: AugmentedEvent<ApiType, [collectionId: u32], { collectionId: u32 }>;
590
+ /**
591
+ * Event emitted when a collection is transferred to the reward pool.
592
+ **/
593
+ CollectionTransferredToRewardPool: AugmentedEvent<ApiType, [collectionId: u32, from: AccountId20], { collectionId: u32, from: AccountId20 }>;
594
+ /**
595
+ * puzzle piece reward distribution failed for an account.
596
+ **/
597
+ DistributePuzzlePieceRewardFailed: AugmentedEvent<ApiType, [account: AccountId20, error: SpRuntimeDispatchError], { account: AccountId20, error: SpRuntimeDispatchError }>;
598
+ /**
599
+ * puzzle piece reward was distributed successfully to an account.
600
+ **/
601
+ DistributePuzzlePieceRewardSuccessful: AugmentedEvent<ApiType, [account: AccountId20], { account: AccountId20 }>;
602
+ /**
603
+ * Event emitted when puzzle pieces are minted.
604
+ **/
605
+ PuzzlePieceMinted: AugmentedEvent<ApiType, [collectionId: u32, itemId: u32, owner: AccountId20, beneficiary: AccountId20], { collectionId: u32, itemId: u32, owner: AccountId20, beneficiary: AccountId20 }>;
606
+ /**
607
+ * Block puzzle piece reward distribution failed.
608
+ **/
609
+ PuzzlePieceRewardDistributionFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError }>;
610
+ /**
611
+ * Referral chain walk detected a cycle and stopped to prevent re-distributing
612
+ * rewards to the same accounts.
613
+ **/
614
+ ReferralChainCycleDetected: AugmentedEvent<ApiType, [account: AccountId20, depth: u32], { account: AccountId20, depth: u32 }>;
615
+ /**
616
+ * Referral chain walk stopped at the configured maximum depth.
617
+ **/
618
+ ReferralChainDepthLimitReached: AugmentedEvent<ApiType, [account: AccountId20, depth: u32], { account: AccountId20, depth: u32 }>;
619
+ /**
620
+ * An activation's rewards were committed to a draw that resolves once `EntropyBlocks`
621
+ * reaches `ready_at`.
622
+ **/
623
+ RewardDrawCommitted: AugmentedEvent<ApiType, [drawId: u64, readyAt: u64], { drawId: u64, readyAt: u64 }>;
624
+ /**
625
+ * An activation draw could not be paid. Nothing of it was minted, and it left the
626
+ * queue so the draws behind it still resolve.
627
+ **/
628
+ RewardDrawFailed: AugmentedEvent<ApiType, [drawId: u64, error: SpRuntimeDispatchError], { drawId: u64, error: SpRuntimeDispatchError }>;
629
+ /**
630
+ * A reward set opened and started filling towards `target` pieces.
631
+ **/
632
+ RewardSetOpened: AugmentedEvent<ApiType, [collectionId: u32, target: u32], { collectionId: u32, target: u32 }>;
633
+ /**
634
+ * A reward set received its last piece and can now be unlocked.
635
+ **/
636
+ RewardSetSealed: AugmentedEvent<ApiType, [collectionId: u32, size_: u32], { collectionId: u32, size_: u32 }>;
637
+ /**
638
+ * Event for other puzzle piece transfer outcomes, e.g., errors.
639
+ **/
640
+ TransferPuzzlePieceFailed: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
641
+ /**
642
+ * Event emitted when a puzzle piece is successfully transferred.
643
+ **/
644
+ TransferPuzzlePieceSuccessful: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
645
+ /**
646
+ * Event emitted when a wildcard puzzle piece is distributed.
647
+ **/
648
+ WildcardDistributed: AugmentedEvent<ApiType, [itemId: u32, recipient: AccountId20], { itemId: u32, recipient: AccountId20 }>;
649
+ /**
650
+ * A due wildcard could not be handed out and the reward pool no longer holds it, so
651
+ * it was dropped from the queue (BC-519). The item stays where it is, and a fresh
652
+ * piece is minted for the block producer instead. `error` is why the transfer
653
+ * failed.
654
+ **/
655
+ WildcardDropped: AugmentedEvent<ApiType, [itemId: u32, error: SpRuntimeDispatchError], { itemId: u32, error: SpRuntimeDispatchError }>;
656
+ /**
657
+ * Wildcard minting was deferred to the `on_finalize` sweeper. `deferred` is
658
+ * how many wildcards this mint owed; `pending` is the total backlog after
659
+ * crediting them. A persistently growing `pending` means wildcards are being
660
+ * created faster than the distribution queue drains them.
661
+ **/
662
+ WildcardMintDeferred: AugmentedEvent<ApiType, [deferred: u32, pending: u32], { deferred: u32, pending: u32 }>;
663
+ /**
664
+ * Event emitted when a wildcard puzzle piece is minted.
665
+ **/
666
+ WildcardMinted: AugmentedEvent<ApiType, [itemId: u32, distributionBlock: u32], { itemId: u32, distributionBlock: u32 }>;
667
+ /**
668
+ * A deferred wildcard mint failed in the sweeper. The batch stopped and the
669
+ * remaining backlog stays in `PendingWildcards` for the next block.
670
+ **/
671
+ WildcardMintFailed: AugmentedEvent<ApiType, [error: PalletPuzzlePiecesPuzzlePiecesPuzzlePiecesError], { error: PalletPuzzlePiecesPuzzlePiecesPuzzlePiecesError }>;
672
+ /**
673
+ * A due wildcard could not be handed out but the reward pool still holds it (it is
674
+ * frozen), so it went back into the queue, due at `distribution_block` (BC-519). A
675
+ * fresh piece is minted for the block producer instead. `error` is why the transfer
676
+ * failed.
677
+ **/
678
+ WildcardRequeued: AugmentedEvent<ApiType, [itemId: u32, distributionBlock: u32, error: SpRuntimeDispatchError], { itemId: u32, distributionBlock: u32, error: SpRuntimeDispatchError }>;
679
+ /**
680
+ * Generic event
681
+ **/
682
+ [key: string]: AugmentedEvent<ApiType>;
683
+ };
665
684
  referenda: {
666
685
  /**
667
686
  * A referendum has been approved and its proposal has been scheduled.
@@ -735,18 +754,6 @@ declare module '@polkadot/api-base/types/events' {
735
754
  * Activation of a pending referral failed (reward distribution error).
736
755
  **/
737
756
  ReferralActivationFailed: AugmentedEvent<ApiType, [referral: AccountId20], { referral: AccountId20 }>;
738
- /**
739
- * A referral was activated, but the fractional-NFT pool could not cover the
740
- * lineage ancestor chain, so upline rewards were skipped (all-or-nothing)
741
- * rather than paid out to a biased subset. The activation itself still
742
- * succeeded and the sender kept their own fNFT (two-tier payout).
743
- * `required` is the ancestor count **excluding** the sender; `available` is
744
- * how many the pool could have served from the upline tier.
745
- *
746
- * **Breaking change (field meaning, not shape):** previously `required`
747
- * included the sender. Indexers must update their interpretation.
748
- **/
749
- ReferralActivationRewardShortfall: AugmentedEvent<ApiType, [referral: AccountId20, required: u32, available: u32], { referral: AccountId20, required: u32, available: u32 }>;
750
757
  /**
751
758
  * A pending referral was activated and rewards were distributed.
752
759
  **/
@@ -796,31 +803,11 @@ declare module '@polkadot/api-base/types/events' {
796
803
  * A deposit was made into the reward pool.
797
804
  **/
798
805
  Deposit: AugmentedEvent<ApiType, [value: u128], { value: u128 }>;
799
- /**
800
- * An NFT submission was rejected because the sender already hit the per-day
801
- * submission cap. Carries `(sender, nft_info, daily_count)`.
802
- **/
803
- NftSubmissionRejectedDailyLimit: AugmentedEvent<ApiType, [AccountId20, PalletFractionalNftNftInfo, u32]>;
804
- /**
805
- * An NFT submission was rejected because the sender's reputation is below
806
- * the configured minimum. Carries `(sender, nft_info, current, required)`.
807
- **/
808
- NftSubmissionRejectedInsufficientReputation: AugmentedEvent<ApiType, [AccountId20, PalletFractionalNftNftInfo, u32, u32]>;
809
806
  /**
810
807
  * The recycle share was updated. Affects only future burnable inflows;
811
808
  * existing fund balances are not rebalanced.
812
809
  **/
813
810
  RecycleShareSet: AugmentedEvent<ApiType, [share: Permill], { share: Permill }>;
814
- /**
815
- * An NFT submission failed after passing the gates (e.g. fractional-NFT mint
816
- * error). Carries `(from, nft_info)` where `from` is the user that sent the NFT.
817
- **/
818
- SubmitNftFailed: AugmentedEvent<ApiType, [AccountId20, PalletFractionalNftNftInfo]>;
819
- /**
820
- * An NFT was successfully submitted to the reward pool. Carries
821
- * `(from, nft_info)` where `from` is the user that sent the NFT.
822
- **/
823
- SubmitNftSuccessful: AugmentedEvent<ApiType, [AccountId20, PalletFractionalNftNftInfo]>;
824
811
  /**
825
812
  * Event for other unlock outcomes, e.g., errors.
826
813
  **/
@@ -991,8 +978,22 @@ declare module '@polkadot/api-base/types/events' {
991
978
  * sub-quorum until eligible candidates register, which is preferred.
992
979
  **/
993
980
  BlacklistedMemberEvicted: AugmentedEvent<ApiType, [who: AccountId20], { who: AccountId20 }>;
981
+ /**
982
+ * `ForceOrigin` removed `who` from the candidates and banned it from registering
983
+ * again. `evicted` is whether it also lost a committee seat.
984
+ **/
985
+ CandidateForceRemoved: AugmentedEvent<ApiType, [who: AccountId20, evicted: bool], { who: AccountId20, evicted: bool }>;
994
986
  CandidateRegistered: AugmentedEvent<ApiType, [who: AccountId20], { who: AccountId20 }>;
987
+ /**
988
+ * `ForceOrigin` lifted the ban on `who`; it may register again.
989
+ **/
990
+ CandidateUnbanned: AugmentedEvent<ApiType, [who: AccountId20], { who: AccountId20 }>;
995
991
  CandidateUnregistered: AugmentedEvent<ApiType, [who: AccountId20], { who: AccountId20 }>;
992
+ /**
993
+ * A member below `MinCandidateReputation` was evicted from the retained committee.
994
+ * Like `BlacklistedMemberEvicted`, it may leave the committee sub-quorum.
995
+ **/
996
+ IneligibleMemberEvicted: AugmentedEvent<ApiType, [who: AccountId20], { who: AccountId20 }>;
996
997
  /**
997
998
  * Selection returned no members. Always accompanied by
998
999
  * `TCMemberUpdateFailed { TooFewMembers }`, which an undersized selection emits alone.
@@ -1237,6 +1238,12 @@ declare module '@polkadot/api-base/types/events' {
1237
1238
  [key: string]: AugmentedEvent<ApiType>;
1238
1239
  };
1239
1240
  validatorManager: {
1241
+ /**
1242
+ * A failed selection retained the previous active set, but without this
1243
+ * equivocator. It stays in the candidate registry, barred by its blacklist
1244
+ * entry, exactly like any other blacklisted candidate on a failed selection.
1245
+ **/
1246
+ EquivocatorDroppedFromActiveSet: AugmentedEvent<ApiType, [who: AccountId20], { who: AccountId20 }>;
1240
1247
  /**
1241
1248
  * An offender could not be recorded into the blacklist because the
1242
1249
  * relevant bounded storage (`OfflineValidators` / `OffenceValidators`)
@@ -1252,11 +1259,16 @@ declare module '@polkadot/api-base/types/events' {
1252
1259
  /**
1253
1260
  * A reputation penalty was applied to a validator for an offence.
1254
1261
  **/
1255
- ReputationPenaltyApplied: AugmentedEvent<ApiType, [who: AccountId20, penaltyAmount: u32, newTotalPenalty: u32], { who: AccountId20, penaltyAmount: u32, newTotalPenalty: u32 }>;
1262
+ ReputationPenaltyApplied: AugmentedEvent<ApiType, [who: AccountId20, penaltyAmount: Perbill, newTotalPenalty: Perbill], { who: AccountId20, penaltyAmount: Perbill, newTotalPenalty: Perbill }>;
1256
1263
  /**
1257
1264
  * A reputation penalty was decayed during session maintenance.
1258
1265
  **/
1259
- ReputationPenaltyDecayed: AugmentedEvent<ApiType, [who: AccountId20, decayAmount: u32, remainingPenalty: u32], { who: AccountId20, decayAmount: u32, remainingPenalty: u32 }>;
1266
+ ReputationPenaltyDecayed: AugmentedEvent<ApiType, [who: AccountId20, decayAmount: Perbill, remainingPenalty: Perbill], { who: AccountId20, decayAmount: Perbill, remainingPenalty: Perbill }>;
1267
+ /**
1268
+ * A blacklisted account's session keys were removed during maintenance. It cannot be
1269
+ * selected until its entry expires, and must set keys again to rejoin.
1270
+ **/
1271
+ SessionKeysPurged: AugmentedEvent<ApiType, [who: AccountId20], { who: AccountId20 }>;
1260
1272
  /**
1261
1273
  * Event that validator is added to the list of validators
1262
1274
  * it will be activated in the next session
@@ -1273,7 +1285,8 @@ declare module '@polkadot/api-base/types/events' {
1273
1285
  ValidatorRemoved: AugmentedEvent<ApiType, [who: AccountId20], { who: AccountId20 }>;
1274
1286
  /**
1275
1287
  * Validator selection produced fewer validators than `MinValidators`.
1276
- * The previous validator set and candidate registry are retained.
1288
+ * The previous validator set and candidate registry are retained, less any
1289
+ * equivocators reported in `EquivocatorDroppedFromActiveSet`.
1277
1290
  **/
1278
1291
  ValidatorSelectionFailed: AugmentedEvent<ApiType, [selected: u32, required: u32], { selected: u32, required: u32 }>;
1279
1292
  /**