@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.
@@ -2,8 +2,8 @@ import '@polkadot/api-base/types/events';
2
2
  import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, i32, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId20, H160, H256, Permill } from '@polkadot/types/interfaces/runtime';
6
- 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';
5
+ import type { AccountId20, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
+ 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';
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -28,19 +28,23 @@ declare module '@polkadot/api-base/types/events' {
28
28
  [key: string]: AugmentedEvent<ApiType>;
29
29
  };
30
30
  attestation: {
31
- AttestationCreated: AugmentedEvent<ApiType, [claimHash: H256, ctypeHash: H256, attester: AccountId20, subject: AccountId20], {
32
- claimHash: H256;
31
+ AttestationCreated: AugmentedEvent<ApiType, [subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64], {
32
+ subject: AccountId20;
33
33
  ctypeHash: H256;
34
34
  attester: AccountId20;
35
- subject: AccountId20;
35
+ issuanceId: u64;
36
36
  }>;
37
- AttestationRemoved: AugmentedEvent<ApiType, [claimHash: H256, attester: AccountId20], {
38
- claimHash: H256;
37
+ AttestationRemoved: AugmentedEvent<ApiType, [subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64], {
38
+ subject: AccountId20;
39
+ ctypeHash: H256;
39
40
  attester: AccountId20;
41
+ issuanceId: u64;
40
42
  }>;
41
- AttestationRevoked: AugmentedEvent<ApiType, [claimHash: H256, attester: AccountId20], {
42
- claimHash: H256;
43
+ AttestationRevoked: AugmentedEvent<ApiType, [subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64], {
44
+ subject: AccountId20;
45
+ ctypeHash: H256;
43
46
  attester: AccountId20;
47
+ issuanceId: u64;
44
48
  }>;
45
49
  AttesterAdded: AugmentedEvent<ApiType, [attester: AccountId20], {
46
50
  attester: AccountId20;
@@ -365,148 +369,6 @@ declare module '@polkadot/api-base/types/events' {
365
369
  **/
366
370
  [key: string]: AugmentedEvent<ApiType>;
367
371
  };
368
- fractionalNft: {
369
- /**
370
- * The unused-NFT pool could not cover the block author's fNFT reward
371
- * this block (tier 1). `required` is always 1 (the block author);
372
- * `available` is 0 when the pool is empty. The undistributed NFT remains
373
- * due for a later block.
374
- **/
375
- BlockRewardShortfall: AugmentedEvent<ApiType, [blockProducer: AccountId20, required: u32, available: u32], {
376
- blockProducer: AccountId20;
377
- required: u32;
378
- available: u32;
379
- }>;
380
- /**
381
- * Event emitted when a collection is burned.
382
- **/
383
- CollectionBurned: AugmentedEvent<ApiType, [collectionId: u32, from: AccountId20], {
384
- collectionId: u32;
385
- from: AccountId20;
386
- }>;
387
- /**
388
- * Event emitted when a collection is transferred to the reward pool.
389
- **/
390
- CollectionTransferredToRewardPool: AugmentedEvent<ApiType, [collectionId: u32, from: AccountId20], {
391
- collectionId: u32;
392
- from: AccountId20;
393
- }>;
394
- /**
395
- * fNFT reward distribution failed for an account.
396
- **/
397
- DistributeFractionalNftRewardFailed: AugmentedEvent<ApiType, [account: AccountId20, error: SpRuntimeDispatchError], {
398
- account: AccountId20;
399
- error: SpRuntimeDispatchError;
400
- }>;
401
- /**
402
- * fNFT reward was distributed successfully to an account.
403
- **/
404
- DistributeFractionalNftRewardSuccessful: AugmentedEvent<ApiType, [account: AccountId20], {
405
- account: AccountId20;
406
- }>;
407
- /**
408
- * Event emitted when a fractional NFT collection is created.
409
- **/
410
- FractionalNftCollectionCreated: AugmentedEvent<ApiType, [collectionId: u32, owner: AccountId20], {
411
- collectionId: u32;
412
- owner: AccountId20;
413
- }>;
414
- /**
415
- * Event emitted when fractional NFTs are minted.
416
- **/
417
- FractionalNftMinted: AugmentedEvent<ApiType, [collectionId: u32, itemId: u32, owner: AccountId20, beneficiary: AccountId20], {
418
- collectionId: u32;
419
- itemId: u32;
420
- owner: AccountId20;
421
- beneficiary: AccountId20;
422
- }>;
423
- /**
424
- * Block fNFT reward distribution failed.
425
- **/
426
- NftRewardDistributionFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], {
427
- error: SpRuntimeDispatchError;
428
- }>;
429
- /**
430
- * Referral chain walk detected a cycle and stopped to prevent re-distributing
431
- * rewards to the same accounts.
432
- **/
433
- ReferralChainCycleDetected: AugmentedEvent<ApiType, [account: AccountId20, depth: u32], {
434
- account: AccountId20;
435
- depth: u32;
436
- }>;
437
- /**
438
- * Referral chain walk stopped at the configured maximum depth.
439
- **/
440
- ReferralChainDepthLimitReached: AugmentedEvent<ApiType, [account: AccountId20, depth: u32], {
441
- account: AccountId20;
442
- depth: u32;
443
- }>;
444
- /**
445
- * Event for other fractional NFT transfer outcomes, e.g., errors.
446
- **/
447
- TransferFractionalNftFailed: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
448
- /**
449
- * Event emitted when a fractional NFT is successfully transferred.
450
- **/
451
- TransferFractionalNftSuccessful: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
452
- /**
453
- * The unused-NFT pool was internally inconsistent (a `*Count` disagreed
454
- * with the backing forward array) beyond what `distribute_unused_nft`
455
- * can self-heal, so this block's reward pick was skipped. Surfaces the
456
- * corruption on-chain instead of leaving it to node logs only; a
457
- * `None` `collection_id` means the empty slot was a collection slot.
458
- **/
459
- UnusedNftPoolInconsistent: AugmentedEvent<ApiType, [account: AccountId20, collectionId: Option<u32>], {
460
- account: AccountId20;
461
- collectionId: Option<u32>;
462
- }>;
463
- /**
464
- * The unused-NFT pool could not cover the full upline recipient set
465
- * (tier 2), so the all-or-nothing batch distributed nothing to the
466
- * upline this block. `required` is the number of coin-flip-winning
467
- * ancestors; `available` is how many the pool could have served.
468
- **/
469
- UplineRewardShortfall: AugmentedEvent<ApiType, [blockProducer: AccountId20, required: u32, available: u32], {
470
- blockProducer: AccountId20;
471
- required: u32;
472
- available: u32;
473
- }>;
474
- /**
475
- * Event emitted when a wildcard NFT is distributed.
476
- **/
477
- WildcardDistributed: AugmentedEvent<ApiType, [itemId: u32, recipient: AccountId20], {
478
- itemId: u32;
479
- recipient: AccountId20;
480
- }>;
481
- /**
482
- * Wildcard minting was deferred to the `on_finalize` sweeper. `deferred` is
483
- * how many wildcards this mint owed; `pending` is the total backlog after
484
- * crediting them. A persistently growing `pending` means wildcards are being
485
- * created faster than the distribution queue drains them.
486
- **/
487
- WildcardMintDeferred: AugmentedEvent<ApiType, [deferred: u32, pending: u32], {
488
- deferred: u32;
489
- pending: u32;
490
- }>;
491
- /**
492
- * Event emitted when a wildcard NFT is minted.
493
- **/
494
- WildcardMinted: AugmentedEvent<ApiType, [itemId: u32, distributionBlock: u32], {
495
- itemId: u32;
496
- distributionBlock: u32;
497
- }>;
498
- /**
499
- * A deferred wildcard mint failed in the sweeper. The batch stopped and the
500
- * remaining backlog stays in `PendingWildcards` for the next block.
501
- **/
502
- WildcardMintFailed: AugmentedEvent<ApiType, [error: PalletFractionalNftFractionalNftFractionalNftError], {
503
- error: PalletFractionalNftFractionalNftFractionalNftError;
504
- }>;
505
- /**
506
- * Generic event
507
- **/
508
- [key: string]: AugmentedEvent<ApiType>;
509
- };
510
372
  grandpa: {
511
373
  /**
512
374
  * New authority set has been applied.
@@ -857,9 +719,10 @@ declare module '@polkadot/api-base/types/events' {
857
719
  totalBurned: u128;
858
720
  }>;
859
721
  /**
860
- * A burn cycle has completed. `accounts_processed` counts every account the
861
- * cycle visited (matches weight accounting); `accounts_burned` counts only
862
- * those for which `burn_for_account` returned a non-zero amount.
722
+ * A burn cycle has completed. `accounts_processed` counts every live
723
+ * account the cycle examined (dead rows and the reward pool are
724
+ * skipped); `accounts_burned` counts only those for which
725
+ * `burn_for_account` returned a non-zero amount.
863
726
  **/
864
727
  BurnCycleCompleted: AugmentedEvent<ApiType, [accountsProcessed: u32, accountsBurned: u32, totalBurned: u128], {
865
728
  accountsProcessed: u32;
@@ -902,6 +765,18 @@ declare module '@polkadot/api-base/types/events' {
902
765
  * Event emitted when a referral is successful.
903
766
  **/
904
767
  ReferralSuccessful: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
768
+ /**
769
+ * A potential credit could not be delivered — the recipient account was
770
+ * reaped or never existed, and `deposit_creating` refuses to create an
771
+ * account with less than the existential deposit. The amount was rerouted
772
+ * to the reward pool instead of being recorded as potential no balance
773
+ * backs. `account` is the intended recipient; `amount` is the rerouted
774
+ * credit. See `credit_balance_and_lock` in `mint.rs`.
775
+ **/
776
+ RewardReroutedToRewardPool: AugmentedEvent<ApiType, [account: AccountId20, amount: u128], {
777
+ account: AccountId20;
778
+ amount: u128;
779
+ }>;
905
780
  /**
906
781
  * Event for other set active referral share outcomes, e.g., errors.
907
782
  **/
@@ -912,10 +787,9 @@ declare module '@polkadot/api-base/types/events' {
912
787
  SetActiveReferralShareSuccessful: AugmentedEvent<ApiType, [AccountId20, u32]>;
913
788
  /**
914
789
  * An EVM priority-fee (tip) could not be credited to the block author —
915
- * the author account was reaped or never existed (the EVM fee charge uses
916
- * `AllowDeath`). The tip was rerouted to the reward pool instead of being
917
- * silently burned. `author` is the derived account that could not receive
918
- * the deposit; `amount` is the rerouted tip.
790
+ * the author account was reaped or never existed. The tip was rerouted to
791
+ * the reward pool instead of being silently burned. `author` is the derived
792
+ * account that could not receive the deposit; `amount` is the rerouted tip.
919
793
  **/
920
794
  TipReroutedToRewardPool: AugmentedEvent<ApiType, [author: AccountId20, amount: u128], {
921
795
  author: AccountId20;
@@ -1018,6 +892,165 @@ declare module '@polkadot/api-base/types/events' {
1018
892
  **/
1019
893
  [key: string]: AugmentedEvent<ApiType>;
1020
894
  };
895
+ puzzlePieces: {
896
+ /**
897
+ * Event emitted when a collection is burned.
898
+ **/
899
+ CollectionBurned: AugmentedEvent<ApiType, [collectionId: u32, from: AccountId20], {
900
+ collectionId: u32;
901
+ from: AccountId20;
902
+ }>;
903
+ /**
904
+ * A retired collection was destroyed once its last leftover piece was gone.
905
+ **/
906
+ CollectionReaped: AugmentedEvent<ApiType, [collectionId: u32], {
907
+ collectionId: u32;
908
+ }>;
909
+ /**
910
+ * Event emitted when a collection is transferred to the reward pool.
911
+ **/
912
+ CollectionTransferredToRewardPool: AugmentedEvent<ApiType, [collectionId: u32, from: AccountId20], {
913
+ collectionId: u32;
914
+ from: AccountId20;
915
+ }>;
916
+ /**
917
+ * puzzle piece reward distribution failed for an account.
918
+ **/
919
+ DistributePuzzlePieceRewardFailed: AugmentedEvent<ApiType, [account: AccountId20, error: SpRuntimeDispatchError], {
920
+ account: AccountId20;
921
+ error: SpRuntimeDispatchError;
922
+ }>;
923
+ /**
924
+ * puzzle piece reward was distributed successfully to an account.
925
+ **/
926
+ DistributePuzzlePieceRewardSuccessful: AugmentedEvent<ApiType, [account: AccountId20], {
927
+ account: AccountId20;
928
+ }>;
929
+ /**
930
+ * Event emitted when puzzle pieces are minted.
931
+ **/
932
+ PuzzlePieceMinted: AugmentedEvent<ApiType, [collectionId: u32, itemId: u32, owner: AccountId20, beneficiary: AccountId20], {
933
+ collectionId: u32;
934
+ itemId: u32;
935
+ owner: AccountId20;
936
+ beneficiary: AccountId20;
937
+ }>;
938
+ /**
939
+ * Block puzzle piece reward distribution failed.
940
+ **/
941
+ PuzzlePieceRewardDistributionFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], {
942
+ error: SpRuntimeDispatchError;
943
+ }>;
944
+ /**
945
+ * Referral chain walk detected a cycle and stopped to prevent re-distributing
946
+ * rewards to the same accounts.
947
+ **/
948
+ ReferralChainCycleDetected: AugmentedEvent<ApiType, [account: AccountId20, depth: u32], {
949
+ account: AccountId20;
950
+ depth: u32;
951
+ }>;
952
+ /**
953
+ * Referral chain walk stopped at the configured maximum depth.
954
+ **/
955
+ ReferralChainDepthLimitReached: AugmentedEvent<ApiType, [account: AccountId20, depth: u32], {
956
+ account: AccountId20;
957
+ depth: u32;
958
+ }>;
959
+ /**
960
+ * An activation's rewards were committed to a draw that resolves once `EntropyBlocks`
961
+ * reaches `ready_at`.
962
+ **/
963
+ RewardDrawCommitted: AugmentedEvent<ApiType, [drawId: u64, readyAt: u64], {
964
+ drawId: u64;
965
+ readyAt: u64;
966
+ }>;
967
+ /**
968
+ * An activation draw could not be paid. Nothing of it was minted, and it left the
969
+ * queue so the draws behind it still resolve.
970
+ **/
971
+ RewardDrawFailed: AugmentedEvent<ApiType, [drawId: u64, error: SpRuntimeDispatchError], {
972
+ drawId: u64;
973
+ error: SpRuntimeDispatchError;
974
+ }>;
975
+ /**
976
+ * A reward set opened and started filling towards `target` pieces.
977
+ **/
978
+ RewardSetOpened: AugmentedEvent<ApiType, [collectionId: u32, target: u32], {
979
+ collectionId: u32;
980
+ target: u32;
981
+ }>;
982
+ /**
983
+ * A reward set received its last piece and can now be unlocked.
984
+ **/
985
+ RewardSetSealed: AugmentedEvent<ApiType, [collectionId: u32, size_: u32], {
986
+ collectionId: u32;
987
+ size_: u32;
988
+ }>;
989
+ /**
990
+ * Event for other puzzle piece transfer outcomes, e.g., errors.
991
+ **/
992
+ TransferPuzzlePieceFailed: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
993
+ /**
994
+ * Event emitted when a puzzle piece is successfully transferred.
995
+ **/
996
+ TransferPuzzlePieceSuccessful: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
997
+ /**
998
+ * Event emitted when a wildcard puzzle piece is distributed.
999
+ **/
1000
+ WildcardDistributed: AugmentedEvent<ApiType, [itemId: u32, recipient: AccountId20], {
1001
+ itemId: u32;
1002
+ recipient: AccountId20;
1003
+ }>;
1004
+ /**
1005
+ * A due wildcard could not be handed out and the reward pool no longer holds it, so
1006
+ * it was dropped from the queue (BC-519). The item stays where it is, and a fresh
1007
+ * piece is minted for the block producer instead. `error` is why the transfer
1008
+ * failed.
1009
+ **/
1010
+ WildcardDropped: AugmentedEvent<ApiType, [itemId: u32, error: SpRuntimeDispatchError], {
1011
+ itemId: u32;
1012
+ error: SpRuntimeDispatchError;
1013
+ }>;
1014
+ /**
1015
+ * Wildcard minting was deferred to the `on_finalize` sweeper. `deferred` is
1016
+ * how many wildcards this mint owed; `pending` is the total backlog after
1017
+ * crediting them. A persistently growing `pending` means wildcards are being
1018
+ * created faster than the distribution queue drains them.
1019
+ **/
1020
+ WildcardMintDeferred: AugmentedEvent<ApiType, [deferred: u32, pending: u32], {
1021
+ deferred: u32;
1022
+ pending: u32;
1023
+ }>;
1024
+ /**
1025
+ * Event emitted when a wildcard puzzle piece is minted.
1026
+ **/
1027
+ WildcardMinted: AugmentedEvent<ApiType, [itemId: u32, distributionBlock: u32], {
1028
+ itemId: u32;
1029
+ distributionBlock: u32;
1030
+ }>;
1031
+ /**
1032
+ * A deferred wildcard mint failed in the sweeper. The batch stopped and the
1033
+ * remaining backlog stays in `PendingWildcards` for the next block.
1034
+ **/
1035
+ WildcardMintFailed: AugmentedEvent<ApiType, [error: PalletPuzzlePiecesPuzzlePiecesPuzzlePiecesError], {
1036
+ error: PalletPuzzlePiecesPuzzlePiecesPuzzlePiecesError;
1037
+ }>;
1038
+ /**
1039
+ * A due wildcard could not be handed out but the reward pool still holds it (it is
1040
+ * frozen), so it went back into the queue, due at `distribution_block` (BC-519). A
1041
+ * fresh piece is minted for the block producer instead. `error` is why the transfer
1042
+ * failed.
1043
+ **/
1044
+ WildcardRequeued: AugmentedEvent<ApiType, [itemId: u32, distributionBlock: u32, error: SpRuntimeDispatchError], {
1045
+ itemId: u32;
1046
+ distributionBlock: u32;
1047
+ error: SpRuntimeDispatchError;
1048
+ }>;
1049
+ /**
1050
+ * Generic event
1051
+ **/
1052
+ [key: string]: AugmentedEvent<ApiType>;
1053
+ };
1021
1054
  referenda: {
1022
1055
  /**
1023
1056
  * A referendum has been approved and its proposal has been scheduled.
@@ -1146,22 +1179,6 @@ declare module '@polkadot/api-base/types/events' {
1146
1179
  ReferralActivationFailed: AugmentedEvent<ApiType, [referral: AccountId20], {
1147
1180
  referral: AccountId20;
1148
1181
  }>;
1149
- /**
1150
- * A referral was activated, but the fractional-NFT pool could not cover the
1151
- * lineage ancestor chain, so upline rewards were skipped (all-or-nothing)
1152
- * rather than paid out to a biased subset. The activation itself still
1153
- * succeeded and the sender kept their own fNFT (two-tier payout).
1154
- * `required` is the ancestor count **excluding** the sender; `available` is
1155
- * how many the pool could have served from the upline tier.
1156
- *
1157
- * **Breaking change (field meaning, not shape):** previously `required`
1158
- * included the sender. Indexers must update their interpretation.
1159
- **/
1160
- ReferralActivationRewardShortfall: AugmentedEvent<ApiType, [referral: AccountId20, required: u32, available: u32], {
1161
- referral: AccountId20;
1162
- required: u32;
1163
- available: u32;
1164
- }>;
1165
1182
  /**
1166
1183
  * A pending referral was activated and rewards were distributed.
1167
1184
  **/
@@ -1244,16 +1261,6 @@ declare module '@polkadot/api-base/types/events' {
1244
1261
  Deposit: AugmentedEvent<ApiType, [value: u128], {
1245
1262
  value: u128;
1246
1263
  }>;
1247
- /**
1248
- * An NFT submission was rejected because the sender already hit the per-day
1249
- * submission cap. Carries `(sender, nft_info, daily_count)`.
1250
- **/
1251
- NftSubmissionRejectedDailyLimit: AugmentedEvent<ApiType, [AccountId20, PalletFractionalNftNftInfo, u32]>;
1252
- /**
1253
- * An NFT submission was rejected because the sender's reputation is below
1254
- * the configured minimum. Carries `(sender, nft_info, current, required)`.
1255
- **/
1256
- NftSubmissionRejectedInsufficientReputation: AugmentedEvent<ApiType, [AccountId20, PalletFractionalNftNftInfo, u32, u32]>;
1257
1264
  /**
1258
1265
  * The recycle share was updated. Affects only future burnable inflows;
1259
1266
  * existing fund balances are not rebalanced.
@@ -1261,16 +1268,6 @@ declare module '@polkadot/api-base/types/events' {
1261
1268
  RecycleShareSet: AugmentedEvent<ApiType, [share: Permill], {
1262
1269
  share: Permill;
1263
1270
  }>;
1264
- /**
1265
- * An NFT submission failed after passing the gates (e.g. fractional-NFT mint
1266
- * error). Carries `(from, nft_info)` where `from` is the user that sent the NFT.
1267
- **/
1268
- SubmitNftFailed: AugmentedEvent<ApiType, [AccountId20, PalletFractionalNftNftInfo]>;
1269
- /**
1270
- * An NFT was successfully submitted to the reward pool. Carries
1271
- * `(from, nft_info)` where `from` is the user that sent the NFT.
1272
- **/
1273
- SubmitNftSuccessful: AugmentedEvent<ApiType, [AccountId20, PalletFractionalNftNftInfo]>;
1274
1271
  /**
1275
1272
  * Event for other unlock outcomes, e.g., errors.
1276
1273
  **/
@@ -1514,12 +1511,33 @@ declare module '@polkadot/api-base/types/events' {
1514
1511
  BlacklistedMemberEvicted: AugmentedEvent<ApiType, [who: AccountId20], {
1515
1512
  who: AccountId20;
1516
1513
  }>;
1514
+ /**
1515
+ * `ForceOrigin` removed `who` from the candidates and banned it from registering
1516
+ * again. `evicted` is whether it also lost a committee seat.
1517
+ **/
1518
+ CandidateForceRemoved: AugmentedEvent<ApiType, [who: AccountId20, evicted: bool], {
1519
+ who: AccountId20;
1520
+ evicted: bool;
1521
+ }>;
1517
1522
  CandidateRegistered: AugmentedEvent<ApiType, [who: AccountId20], {
1518
1523
  who: AccountId20;
1519
1524
  }>;
1525
+ /**
1526
+ * `ForceOrigin` lifted the ban on `who`; it may register again.
1527
+ **/
1528
+ CandidateUnbanned: AugmentedEvent<ApiType, [who: AccountId20], {
1529
+ who: AccountId20;
1530
+ }>;
1520
1531
  CandidateUnregistered: AugmentedEvent<ApiType, [who: AccountId20], {
1521
1532
  who: AccountId20;
1522
1533
  }>;
1534
+ /**
1535
+ * A member below `MinCandidateReputation` was evicted from the retained committee.
1536
+ * Like `BlacklistedMemberEvicted`, it may leave the committee sub-quorum.
1537
+ **/
1538
+ IneligibleMemberEvicted: AugmentedEvent<ApiType, [who: AccountId20], {
1539
+ who: AccountId20;
1540
+ }>;
1523
1541
  /**
1524
1542
  * Selection returned no members. Always accompanied by
1525
1543
  * `TCMemberUpdateFailed { TooFewMembers }`, which an undersized selection emits alone.
@@ -1914,6 +1932,14 @@ declare module '@polkadot/api-base/types/events' {
1914
1932
  [key: string]: AugmentedEvent<ApiType>;
1915
1933
  };
1916
1934
  validatorManager: {
1935
+ /**
1936
+ * A failed selection retained the previous active set, but without this
1937
+ * equivocator. It stays in the candidate registry, barred by its blacklist
1938
+ * entry, exactly like any other blacklisted candidate on a failed selection.
1939
+ **/
1940
+ EquivocatorDroppedFromActiveSet: AugmentedEvent<ApiType, [who: AccountId20], {
1941
+ who: AccountId20;
1942
+ }>;
1917
1943
  /**
1918
1944
  * An offender could not be recorded into the blacklist because the
1919
1945
  * relevant bounded storage (`OfflineValidators` / `OffenceValidators`)
@@ -1932,18 +1958,25 @@ declare module '@polkadot/api-base/types/events' {
1932
1958
  /**
1933
1959
  * A reputation penalty was applied to a validator for an offence.
1934
1960
  **/
1935
- ReputationPenaltyApplied: AugmentedEvent<ApiType, [who: AccountId20, penaltyAmount: u32, newTotalPenalty: u32], {
1961
+ ReputationPenaltyApplied: AugmentedEvent<ApiType, [who: AccountId20, penaltyAmount: Perbill, newTotalPenalty: Perbill], {
1936
1962
  who: AccountId20;
1937
- penaltyAmount: u32;
1938
- newTotalPenalty: u32;
1963
+ penaltyAmount: Perbill;
1964
+ newTotalPenalty: Perbill;
1939
1965
  }>;
1940
1966
  /**
1941
1967
  * A reputation penalty was decayed during session maintenance.
1942
1968
  **/
1943
- ReputationPenaltyDecayed: AugmentedEvent<ApiType, [who: AccountId20, decayAmount: u32, remainingPenalty: u32], {
1969
+ ReputationPenaltyDecayed: AugmentedEvent<ApiType, [who: AccountId20, decayAmount: Perbill, remainingPenalty: Perbill], {
1970
+ who: AccountId20;
1971
+ decayAmount: Perbill;
1972
+ remainingPenalty: Perbill;
1973
+ }>;
1974
+ /**
1975
+ * A blacklisted account's session keys were removed during maintenance. It cannot be
1976
+ * selected until its entry expires, and must set keys again to rejoin.
1977
+ **/
1978
+ SessionKeysPurged: AugmentedEvent<ApiType, [who: AccountId20], {
1944
1979
  who: AccountId20;
1945
- decayAmount: u32;
1946
- remainingPenalty: u32;
1947
1980
  }>;
1948
1981
  /**
1949
1982
  * Event that validator is added to the list of validators
@@ -1968,7 +2001,8 @@ declare module '@polkadot/api-base/types/events' {
1968
2001
  }>;
1969
2002
  /**
1970
2003
  * Validator selection produced fewer validators than `MinValidators`.
1971
- * The previous validator set and candidate registry are retained.
2004
+ * The previous validator set and candidate registry are retained, less any
2005
+ * equivocators reported in `EquivocatorDroppedFromActiveSet`.
1972
2006
  **/
1973
2007
  ValidatorSelectionFailed: AugmentedEvent<ApiType, [selected: u32, required: u32], {
1974
2008
  selected: u32;