@polkadot/api-augment 16.5.4 → 17.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/assetHubKusama/consts.d.ts +140 -53
  2. package/assetHubKusama/errors.d.ts +310 -111
  3. package/assetHubKusama/events.d.ts +420 -149
  4. package/assetHubKusama/query.d.ts +370 -92
  5. package/assetHubKusama/runtime.d.ts +157 -8
  6. package/assetHubKusama/tx.d.ts +690 -600
  7. package/cjs/assetHubKusama/consts.d.ts +140 -53
  8. package/cjs/assetHubKusama/errors.d.ts +310 -111
  9. package/cjs/assetHubKusama/events.d.ts +420 -149
  10. package/cjs/assetHubKusama/query.d.ts +370 -92
  11. package/cjs/assetHubKusama/runtime.d.ts +157 -8
  12. package/cjs/assetHubKusama/tx.d.ts +690 -600
  13. package/cjs/kusama/consts.d.ts +0 -40
  14. package/cjs/kusama/errors.d.ts +25 -151
  15. package/cjs/kusama/events.d.ts +93 -208
  16. package/cjs/kusama/query.d.ts +98 -177
  17. package/cjs/kusama/runtime.d.ts +86 -46
  18. package/cjs/kusama/tx.d.ts +108 -608
  19. package/cjs/packageInfo.js +1 -1
  20. package/cjs/polkadot/consts.d.ts +1 -1
  21. package/cjs/polkadot/errors.d.ts +25 -85
  22. package/cjs/polkadot/events.d.ts +103 -159
  23. package/cjs/polkadot/query.d.ts +108 -172
  24. package/cjs/polkadot/runtime.d.ts +72 -46
  25. package/cjs/polkadot/tx.d.ts +101 -351
  26. package/cjs/substrate/consts.d.ts +12 -3
  27. package/cjs/substrate/errors.d.ts +28 -14
  28. package/cjs/substrate/events.d.ts +66 -1
  29. package/cjs/substrate/query.d.ts +9 -0
  30. package/cjs/substrate/runtime.d.ts +5 -1
  31. package/cjs/substrate/tx.d.ts +81 -2
  32. package/kusama/consts.d.ts +0 -40
  33. package/kusama/errors.d.ts +25 -151
  34. package/kusama/events.d.ts +93 -208
  35. package/kusama/query.d.ts +98 -177
  36. package/kusama/runtime.d.ts +86 -46
  37. package/kusama/tx.d.ts +108 -608
  38. package/package.json +7 -7
  39. package/packageInfo.js +1 -1
  40. package/polkadot/consts.d.ts +1 -1
  41. package/polkadot/errors.d.ts +25 -85
  42. package/polkadot/events.d.ts +103 -159
  43. package/polkadot/query.d.ts +108 -172
  44. package/polkadot/runtime.d.ts +72 -46
  45. package/polkadot/tx.d.ts +101 -351
  46. package/substrate/consts.d.ts +12 -3
  47. package/substrate/errors.d.ts +28 -14
  48. package/substrate/events.d.ts +66 -1
  49. package/substrate/query.d.ts +9 -0
  50. package/substrate/runtime.d.ts +5 -1
  51. package/substrate/tx.d.ts +81 -2
@@ -4,115 +4,10 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
7
- import type { AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntimeParametersKey, AssetHubKusamaRuntimeRuntimeParametersValue, AssetHubKusamaRuntimeRuntimeTask, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletAhMigratorMigrationStage, PalletAhMigratorPalletEventName, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockVerifierFeasibilityError, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRcMigratorQueuePriority, PalletRecoveryDepositKind, PalletSocietyGroupParams, PalletStakingAsyncForcing, PalletStakingAsyncPalletUnexpectedKind, PalletStakingAsyncRcClientUnexpectedKind, PalletStakingAsyncRewardDestination, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, ParachainsCommonPayVersionedLocatableAccount, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeRuntimeParametersKey, AssetHubKusamaRuntimeRuntimeParametersValue, AssetHubKusamaRuntimeRuntimeTask, AssetsCommonLocalAndForeignAssetsForeignAssetReserveData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockVerifierFeasibilityError, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletSocietyGroupParams, PalletStakingAsyncForcing, PalletStakingAsyncPalletUnexpectedKind, PalletStakingAsyncRcClientUnexpectedKind, PalletStakingAsyncRewardDestination, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, ParachainsCommonPayVersionedLocatableAccount, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
9
9
  declare module '@polkadot/api-base/types/events' {
10
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
11
- ahMigrator: {
12
- AccountTranslatedParachainSovereign: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32], {
13
- from: AccountId32;
14
- to: AccountId32;
15
- }>;
16
- AccountTranslatedParachainSovereignDerived: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, derivationIndex: u16], {
17
- from: AccountId32;
18
- to: AccountId32;
19
- derivationIndex: u16;
20
- }>;
21
- /**
22
- * The Asset Hub Migration finished.
23
- *
24
- * This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
25
- * to understand. The finishing is immediate and affects all events happening
26
- * afterwards.
27
- **/
28
- AssetHubMigrationFinished: AugmentedEvent<ApiType, []>;
29
- /**
30
- * The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
31
- * emitted.
32
- *
33
- * This event is equivalent to `StageTransition { new: DataMigrationOngoing, .. }` but is
34
- * easier to understand. The activation is immediate and affects all events happening
35
- * afterwards.
36
- **/
37
- AssetHubMigrationStarted: AugmentedEvent<ApiType, []>;
38
- /**
39
- * The balances before the migration were consumed.
40
- **/
41
- BalancesBeforeRecordConsumed: AugmentedEvent<ApiType, [checkingAccount: u128, totalIssuance: u128], {
42
- checkingAccount: u128;
43
- totalIssuance: u128;
44
- }>;
45
- /**
46
- * The balances before the migration were recorded.
47
- **/
48
- BalancesBeforeRecordSet: AugmentedEvent<ApiType, [checkingAccount: u128, totalIssuance: u128], {
49
- checkingAccount: u128;
50
- totalIssuance: u128;
51
- }>;
52
- /**
53
- * We processed a batch of messages for this pallet.
54
- **/
55
- BatchProcessed: AugmentedEvent<ApiType, [pallet: PalletAhMigratorPalletEventName, countGood: u32, countBad: u32], {
56
- pallet: PalletAhMigratorPalletEventName;
57
- countGood: u32;
58
- countBad: u32;
59
- }>;
60
- /**
61
- * We received a batch of messages that will be integrated into a pallet.
62
- **/
63
- BatchReceived: AugmentedEvent<ApiType, [pallet: PalletAhMigratorPalletEventName, count: u32], {
64
- pallet: PalletAhMigratorPalletEventName;
65
- count: u32;
66
- }>;
67
- /**
68
- * The DMP queue priority config was set.
69
- **/
70
- DmpQueuePriorityConfigSet: AugmentedEvent<ApiType, [old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority], {
71
- old: PalletRcMigratorQueuePriority;
72
- new_: PalletRcMigratorQueuePriority;
73
- }>;
74
- /**
75
- * Whether the DMP queue was prioritized for the next block.
76
- **/
77
- DmpQueuePrioritySet: AugmentedEvent<ApiType, [prioritized: bool, cycleBlock: u32, cyclePeriod: u32], {
78
- prioritized: bool;
79
- cycleBlock: u32;
80
- cyclePeriod: u32;
81
- }>;
82
- /**
83
- * The manager account id was set.
84
- **/
85
- ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], {
86
- old: Option<AccountId32>;
87
- new_: Option<AccountId32>;
88
- }>;
89
- /**
90
- * A referendum was cancelled because it could not be mapped.
91
- **/
92
- ReferendumCanceled: AugmentedEvent<ApiType, [id: u32], {
93
- id: u32;
94
- }>;
95
- /**
96
- * A stage transition has occurred.
97
- **/
98
- StageTransition: AugmentedEvent<ApiType, [old: PalletAhMigratorMigrationStage, new_: PalletAhMigratorMigrationStage], {
99
- old: PalletAhMigratorMigrationStage;
100
- new_: PalletAhMigratorMigrationStage;
101
- }>;
102
- /**
103
- * An XCM message was sent.
104
- **/
105
- XcmSent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
106
- origin: StagingXcmV5Location;
107
- destination: StagingXcmV5Location;
108
- message: StagingXcmV5Xcm;
109
- messageId: U8aFixed;
110
- }>;
111
- /**
112
- * Generic event
113
- **/
114
- [key: string]: AugmentedEvent<ApiType>;
115
- };
116
11
  ahOps: {
117
12
  /**
118
13
  * Some amount for a crowdloan reserve could not be unreserved and needs manual cleanup.
@@ -122,6 +17,13 @@ declare module '@polkadot/api-base/types/events' {
122
17
  paraId: u32;
123
18
  remaining: u128;
124
19
  }>;
20
+ /**
21
+ * Failed to re-bond some migrated funds.
22
+ **/
23
+ FailedToBond: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
24
+ account: AccountId32;
25
+ amount: u128;
26
+ }>;
125
27
  /**
126
28
  * Some lease reserve could not be unreserved and needs manual cleanup.
127
29
  **/
@@ -134,11 +36,11 @@ declare module '@polkadot/api-base/types/events' {
134
36
  * A sovereign parachain account has been migrated from its child to sibling
135
37
  * representation.
136
38
  **/
137
- SovereignMigrated: AugmentedEvent<ApiType, [paraId: u32, from: AccountId32, to: AccountId32, derivationIndex: Option<u16>], {
138
- paraId: u32;
39
+ SovereignMigrated: AugmentedEvent<ApiType, [paraId: u16, from: AccountId32, to: AccountId32, derivationPath: Vec<u16>], {
40
+ paraId: u16;
139
41
  from: AccountId32;
140
42
  to: AccountId32;
141
- derivationIndex: Option<u16>;
43
+ derivationPath: Vec<u16>;
142
44
  }>;
143
45
  /**
144
46
  * Generic event
@@ -303,6 +205,20 @@ declare module '@polkadot/api-base/types/events' {
303
205
  owner: AccountId32;
304
206
  balance: u128;
305
207
  }>;
208
+ /**
209
+ * Some assets Credit was destroyed.
210
+ **/
211
+ BurnedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], {
212
+ assetId: u32;
213
+ amount: u128;
214
+ }>;
215
+ /**
216
+ * Some assets Debt was destroyed (and assets issued).
217
+ **/
218
+ BurnedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], {
219
+ assetId: u32;
220
+ amount: u128;
221
+ }>;
306
222
  /**
307
223
  * Some asset class was created.
308
224
  **/
@@ -353,6 +269,20 @@ declare module '@polkadot/api-base/types/events' {
353
269
  owner: AccountId32;
354
270
  amount: u128;
355
271
  }>;
272
+ /**
273
+ * Some assets were issued as Credit (no owner yet).
274
+ **/
275
+ IssuedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], {
276
+ assetId: u32;
277
+ amount: u128;
278
+ }>;
279
+ /**
280
+ * Some assets were burned and a Debt was created.
281
+ **/
282
+ IssuedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], {
283
+ assetId: u32;
284
+ amount: u128;
285
+ }>;
356
286
  /**
357
287
  * Metadata has been cleared for an asset.
358
288
  **/
@@ -376,6 +306,19 @@ declare module '@polkadot/api-base/types/events' {
376
306
  assetId: u32;
377
307
  owner: AccountId32;
378
308
  }>;
309
+ /**
310
+ * Reserve information was removed for `asset_id`.
311
+ **/
312
+ ReservesRemoved: AugmentedEvent<ApiType, [assetId: u32], {
313
+ assetId: u32;
314
+ }>;
315
+ /**
316
+ * Reserve information was set or updated for `asset_id`.
317
+ **/
318
+ ReservesUpdated: AugmentedEvent<ApiType, [assetId: u32, reserves: Vec<Null>], {
319
+ assetId: u32;
320
+ reserves: Vec<Null>;
321
+ }>;
379
322
  /**
380
323
  * The management team changed.
381
324
  **/
@@ -470,6 +413,20 @@ declare module '@polkadot/api-base/types/events' {
470
413
  who: AccountId32;
471
414
  amount: u128;
472
415
  }>;
416
+ /**
417
+ * Some debt has been dropped from the Total Issuance.
418
+ **/
419
+ BurnedDebt: AugmentedEvent<ApiType, [amount: u128], {
420
+ amount: u128;
421
+ }>;
422
+ /**
423
+ * Held balance was burned from an account.
424
+ **/
425
+ BurnedHeld: AugmentedEvent<ApiType, [reason: AssetHubKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], {
426
+ reason: AssetHubKusamaRuntimeRuntimeHoldReason;
427
+ who: AccountId32;
428
+ amount: u128;
429
+ }>;
473
430
  /**
474
431
  * Some amount was deposited (e.g. for transaction fees).
475
432
  **/
@@ -499,6 +456,14 @@ declare module '@polkadot/api-base/types/events' {
499
456
  who: AccountId32;
500
457
  amount: u128;
501
458
  }>;
459
+ /**
460
+ * Some balance was placed on hold.
461
+ **/
462
+ Held: AugmentedEvent<ApiType, [reason: AssetHubKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], {
463
+ reason: AssetHubKusamaRuntimeRuntimeHoldReason;
464
+ who: AccountId32;
465
+ amount: u128;
466
+ }>;
502
467
  /**
503
468
  * Total issuance was increased by `amount`, creating a credit to be balanced.
504
469
  **/
@@ -519,6 +484,20 @@ declare module '@polkadot/api-base/types/events' {
519
484
  who: AccountId32;
520
485
  amount: u128;
521
486
  }>;
487
+ /**
488
+ * Some credit was balanced and added to the TotalIssuance.
489
+ **/
490
+ MintedCredit: AugmentedEvent<ApiType, [amount: u128], {
491
+ amount: u128;
492
+ }>;
493
+ /**
494
+ * Some balance was released from hold.
495
+ **/
496
+ Released: AugmentedEvent<ApiType, [reason: AssetHubKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], {
497
+ reason: AssetHubKusamaRuntimeRuntimeHoldReason;
498
+ who: AccountId32;
499
+ amount: u128;
500
+ }>;
522
501
  /**
523
502
  * Total issuance was decreased by `amount`, creating a debt to be balanced.
524
503
  **/
@@ -585,6 +564,24 @@ declare module '@polkadot/api-base/types/events' {
585
564
  to: AccountId32;
586
565
  amount: u128;
587
566
  }>;
567
+ /**
568
+ * The `transferred` balance is placed on hold at the `dest` account.
569
+ **/
570
+ TransferAndHold: AugmentedEvent<ApiType, [reason: AssetHubKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128], {
571
+ reason: AssetHubKusamaRuntimeRuntimeHoldReason;
572
+ source: AccountId32;
573
+ dest: AccountId32;
574
+ transferred: u128;
575
+ }>;
576
+ /**
577
+ * A transfer of `amount` on hold from `source` to `dest` was initiated.
578
+ **/
579
+ TransferOnHold: AugmentedEvent<ApiType, [reason: AssetHubKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128], {
580
+ reason: AssetHubKusamaRuntimeRuntimeHoldReason;
581
+ source: AccountId32;
582
+ dest: AccountId32;
583
+ amount: u128;
584
+ }>;
588
585
  /**
589
586
  * An unexpected/defensive event was triggered.
590
587
  **/
@@ -834,24 +831,26 @@ declare module '@polkadot/api-base/types/events' {
834
831
  /**
835
832
  * An account has delegated their vote to another account. \[who, target\]
836
833
  **/
837
- Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
834
+ Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u16]>;
838
835
  /**
839
836
  * An \[account\] has cancelled a previous delegation operation.
840
837
  **/
841
- Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
838
+ Undelegated: AugmentedEvent<ApiType, [AccountId32, u16]>;
842
839
  /**
843
840
  * An account has voted
844
841
  **/
845
- Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
842
+ Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], {
846
843
  who: AccountId32;
847
844
  vote: PalletConvictionVotingVoteAccountVote;
845
+ pollIndex: u32;
848
846
  }>;
849
847
  /**
850
848
  * A vote has been removed
851
849
  **/
852
- VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
850
+ VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], {
853
851
  who: AccountId32;
854
852
  vote: PalletConvictionVotingVoteAccountVote;
853
+ pollIndex: u32;
855
854
  }>;
856
855
  /**
857
856
  * The lockup period of a conviction vote expired, and the funds have been unlocked.
@@ -998,6 +997,20 @@ declare module '@polkadot/api-base/types/events' {
998
997
  owner: AccountId32;
999
998
  balance: u128;
1000
999
  }>;
1000
+ /**
1001
+ * Some assets Credit was destroyed.
1002
+ **/
1003
+ BurnedCredit: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], {
1004
+ assetId: StagingXcmV5Location;
1005
+ amount: u128;
1006
+ }>;
1007
+ /**
1008
+ * Some assets Debt was destroyed (and assets issued).
1009
+ **/
1010
+ BurnedDebt: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], {
1011
+ assetId: StagingXcmV5Location;
1012
+ amount: u128;
1013
+ }>;
1001
1014
  /**
1002
1015
  * Some asset class was created.
1003
1016
  **/
@@ -1048,6 +1061,20 @@ declare module '@polkadot/api-base/types/events' {
1048
1061
  owner: AccountId32;
1049
1062
  amount: u128;
1050
1063
  }>;
1064
+ /**
1065
+ * Some assets were issued as Credit (no owner yet).
1066
+ **/
1067
+ IssuedCredit: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], {
1068
+ assetId: StagingXcmV5Location;
1069
+ amount: u128;
1070
+ }>;
1071
+ /**
1072
+ * Some assets were burned and a Debt was created.
1073
+ **/
1074
+ IssuedDebt: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], {
1075
+ assetId: StagingXcmV5Location;
1076
+ amount: u128;
1077
+ }>;
1051
1078
  /**
1052
1079
  * Metadata has been cleared for an asset.
1053
1080
  **/
@@ -1071,6 +1098,19 @@ declare module '@polkadot/api-base/types/events' {
1071
1098
  assetId: StagingXcmV5Location;
1072
1099
  owner: AccountId32;
1073
1100
  }>;
1101
+ /**
1102
+ * Reserve information was removed for `asset_id`.
1103
+ **/
1104
+ ReservesRemoved: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location], {
1105
+ assetId: StagingXcmV5Location;
1106
+ }>;
1107
+ /**
1108
+ * Reserve information was set or updated for `asset_id`.
1109
+ **/
1110
+ ReservesUpdated: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, reserves: Vec<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>], {
1111
+ assetId: StagingXcmV5Location;
1112
+ reserves: Vec<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>;
1113
+ }>;
1074
1114
  /**
1075
1115
  * The management team changed.
1076
1116
  **/
@@ -1202,6 +1242,103 @@ declare module '@polkadot/api-base/types/events' {
1202
1242
  **/
1203
1243
  [key: string]: AugmentedEvent<ApiType>;
1204
1244
  };
1245
+ multiAssetBounties: {
1246
+ /**
1247
+ * A child-/bounty was awarded to a beneficiary.
1248
+ **/
1249
+ BountyAwarded: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, beneficiary: ParachainsCommonPayVersionedLocatableAccount], {
1250
+ index: u32;
1251
+ childIndex: Option<u32>;
1252
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
1253
+ }>;
1254
+ /**
1255
+ * The curator accepted role and child-/bounty became active.
1256
+ **/
1257
+ BountyBecameActive: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, curator: AccountId32], {
1258
+ index: u32;
1259
+ childIndex: Option<u32>;
1260
+ curator: AccountId32;
1261
+ }>;
1262
+ /**
1263
+ * A child-/bounty was cancelled.
1264
+ **/
1265
+ BountyCanceled: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], {
1266
+ index: u32;
1267
+ childIndex: Option<u32>;
1268
+ }>;
1269
+ /**
1270
+ * A new bounty was created and funding has been initiated.
1271
+ **/
1272
+ BountyCreated: AugmentedEvent<ApiType, [index: u32], {
1273
+ index: u32;
1274
+ }>;
1275
+ /**
1276
+ * Funding payment has concluded successfully.
1277
+ **/
1278
+ BountyFundingProcessed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], {
1279
+ index: u32;
1280
+ childIndex: Option<u32>;
1281
+ }>;
1282
+ /**
1283
+ * Payout payment to the beneficiary has concluded successfully.
1284
+ **/
1285
+ BountyPayoutProcessed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, value: u128, beneficiary: ParachainsCommonPayVersionedLocatableAccount], {
1286
+ index: u32;
1287
+ childIndex: Option<u32>;
1288
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
1289
+ value: u128;
1290
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
1291
+ }>;
1292
+ /**
1293
+ * Refund payment has concluded successfully.
1294
+ **/
1295
+ BountyRefundProcessed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], {
1296
+ index: u32;
1297
+ childIndex: Option<u32>;
1298
+ }>;
1299
+ /**
1300
+ * A new child-bounty was created and funding has been initiated.
1301
+ **/
1302
+ ChildBountyCreated: AugmentedEvent<ApiType, [index: u32, childIndex: u32], {
1303
+ index: u32;
1304
+ childIndex: u32;
1305
+ }>;
1306
+ /**
1307
+ * A child-/bounty curator was proposed.
1308
+ **/
1309
+ CuratorProposed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, curator: AccountId32], {
1310
+ index: u32;
1311
+ childIndex: Option<u32>;
1312
+ curator: AccountId32;
1313
+ }>;
1314
+ /**
1315
+ * A child-/bounty curator was unassigned.
1316
+ **/
1317
+ CuratorUnassigned: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], {
1318
+ index: u32;
1319
+ childIndex: Option<u32>;
1320
+ }>;
1321
+ /**
1322
+ * A payment happened and can be checked.
1323
+ **/
1324
+ Paid: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, paymentId: u64], {
1325
+ index: u32;
1326
+ childIndex: Option<u32>;
1327
+ paymentId: u64;
1328
+ }>;
1329
+ /**
1330
+ * A payment failed and can be retried.
1331
+ **/
1332
+ PaymentFailed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, paymentId: u64], {
1333
+ index: u32;
1334
+ childIndex: Option<u32>;
1335
+ paymentId: u64;
1336
+ }>;
1337
+ /**
1338
+ * Generic event
1339
+ **/
1340
+ [key: string]: AugmentedEvent<ApiType>;
1341
+ };
1205
1342
  multiBlockElection: {
1206
1343
  /**
1207
1344
  * A phase transition happened. Only checks major changes in the variants, not minor inner
@@ -1212,11 +1349,27 @@ declare module '@polkadot/api-base/types/events' {
1212
1349
  to: PalletElectionProviderMultiBlockPhase;
1213
1350
  }>;
1214
1351
  /**
1215
- * Target snapshot creation failed
1352
+ * Phase transition could not even begin becaseu of being out of weight.
1353
+ **/
1354
+ UnexpectedPhaseTransitionHalt: AugmentedEvent<ApiType, [required: SpWeightsWeightV2Weight, had: SpWeightsWeightV2Weight], {
1355
+ required: SpWeightsWeightV2Weight;
1356
+ had: SpWeightsWeightV2Weight;
1357
+ }>;
1358
+ /**
1359
+ * Phase transition could not proceed due to being out of weight.
1360
+ **/
1361
+ UnexpectedPhaseTransitionOutOfWeight: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiBlockPhase, to: PalletElectionProviderMultiBlockPhase, required: SpWeightsWeightV2Weight, had: SpWeightsWeightV2Weight], {
1362
+ from: PalletElectionProviderMultiBlockPhase;
1363
+ to: PalletElectionProviderMultiBlockPhase;
1364
+ required: SpWeightsWeightV2Weight;
1365
+ had: SpWeightsWeightV2Weight;
1366
+ }>;
1367
+ /**
1368
+ * Target snapshot creation failed.
1216
1369
  **/
1217
1370
  UnexpectedTargetSnapshotFailed: AugmentedEvent<ApiType, []>;
1218
1371
  /**
1219
- * Voter snapshot creation failed
1372
+ * Voter snapshot creation failed.
1220
1373
  **/
1221
1374
  UnexpectedVoterSnapshotFailed: AugmentedEvent<ApiType, []>;
1222
1375
  /**
@@ -2326,6 +2479,20 @@ declare module '@polkadot/api-base/types/events' {
2326
2479
  owner: AccountId32;
2327
2480
  balance: u128;
2328
2481
  }>;
2482
+ /**
2483
+ * Some assets Credit was destroyed.
2484
+ **/
2485
+ BurnedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], {
2486
+ assetId: u32;
2487
+ amount: u128;
2488
+ }>;
2489
+ /**
2490
+ * Some assets Debt was destroyed (and assets issued).
2491
+ **/
2492
+ BurnedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], {
2493
+ assetId: u32;
2494
+ amount: u128;
2495
+ }>;
2329
2496
  /**
2330
2497
  * Some asset class was created.
2331
2498
  **/
@@ -2376,6 +2543,20 @@ declare module '@polkadot/api-base/types/events' {
2376
2543
  owner: AccountId32;
2377
2544
  amount: u128;
2378
2545
  }>;
2546
+ /**
2547
+ * Some assets were issued as Credit (no owner yet).
2548
+ **/
2549
+ IssuedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], {
2550
+ assetId: u32;
2551
+ amount: u128;
2552
+ }>;
2553
+ /**
2554
+ * Some assets were burned and a Debt was created.
2555
+ **/
2556
+ IssuedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], {
2557
+ assetId: u32;
2558
+ amount: u128;
2559
+ }>;
2379
2560
  /**
2380
2561
  * Metadata has been cleared for an asset.
2381
2562
  **/
@@ -2399,6 +2580,19 @@ declare module '@polkadot/api-base/types/events' {
2399
2580
  assetId: u32;
2400
2581
  owner: AccountId32;
2401
2582
  }>;
2583
+ /**
2584
+ * Reserve information was removed for `asset_id`.
2585
+ **/
2586
+ ReservesRemoved: AugmentedEvent<ApiType, [assetId: u32], {
2587
+ assetId: u32;
2588
+ }>;
2589
+ /**
2590
+ * Reserve information was set or updated for `asset_id`.
2591
+ **/
2592
+ ReservesUpdated: AugmentedEvent<ApiType, [assetId: u32, reserves: Vec<Null>], {
2593
+ assetId: u32;
2594
+ reserves: Vec<Null>;
2595
+ }>;
2402
2596
  /**
2403
2597
  * The management team changed.
2404
2598
  **/
@@ -2526,11 +2720,13 @@ declare module '@polkadot/api-base/types/events' {
2526
2720
  * A pure account has been created by new proxy with given
2527
2721
  * disambiguation index and proxy type.
2528
2722
  **/
2529
- PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: AssetHubKusamaRuntimeProxyType, disambiguationIndex: u16], {
2723
+ PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: AssetHubKusamaRuntimeProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32], {
2530
2724
  pure: AccountId32;
2531
2725
  who: AccountId32;
2532
2726
  proxyType: AssetHubKusamaRuntimeProxyType;
2533
2727
  disambiguationIndex: u16;
2728
+ at: u32;
2729
+ extrinsicIndex: u32;
2534
2730
  }>;
2535
2731
  /**
2536
2732
  * A pure proxy was killed by its spawner.
@@ -2548,54 +2744,81 @@ declare module '@polkadot/api-base/types/events' {
2548
2744
  };
2549
2745
  recovery: {
2550
2746
  /**
2551
- * Lost account has been successfully recovered by rescuer account.
2747
+ * A recovery attempt was approved by a friend.
2552
2748
  **/
2553
- AccountRecovered: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], {
2554
- lostAccount: AccountId32;
2555
- rescuerAccount: AccountId32;
2749
+ AttemptApproved: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32, friend: AccountId32], {
2750
+ lost: AccountId32;
2751
+ friendGroupIndex: u32;
2752
+ friend: AccountId32;
2556
2753
  }>;
2557
2754
  /**
2558
- * A deposit has been updated.
2755
+ * A recovery attempt was canceled by either the lost account or the initiator.
2559
2756
  **/
2560
- DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128], {
2561
- who: AccountId32;
2562
- kind: PalletRecoveryDepositKind;
2563
- oldDeposit: u128;
2564
- newDeposit: u128;
2757
+ AttemptCanceled: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32, canceler: AccountId32], {
2758
+ lost: AccountId32;
2759
+ friendGroupIndex: u32;
2760
+ canceler: AccountId32;
2565
2761
  }>;
2566
2762
  /**
2567
- * A recovery process for lost account by rescuer account has been closed.
2763
+ * A recovery attempt was discarded because the account was already recovered by a
2764
+ * friend group of equal or higher priority.
2765
+ *
2766
+ * The attempt is consumed (removed from storage) and its deposits are released, but
2767
+ * the existing inheritor remains unchanged.
2568
2768
  **/
2569
- RecoveryClosed: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], {
2570
- lostAccount: AccountId32;
2571
- rescuerAccount: AccountId32;
2769
+ AttemptDiscarded: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32, existingInheritor: AccountId32], {
2770
+ lost: AccountId32;
2771
+ friendGroupIndex: u32;
2772
+ existingInheritor: AccountId32;
2572
2773
  }>;
2573
2774
  /**
2574
- * A recovery process has been set up for an account.
2775
+ * A recovery attempt was finished.
2575
2776
  **/
2576
- RecoveryCreated: AugmentedEvent<ApiType, [account: AccountId32], {
2577
- account: AccountId32;
2777
+ AttemptFinished: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32, inheritor: AccountId32, previousInheritor: Option<AccountId32>], {
2778
+ lost: AccountId32;
2779
+ friendGroupIndex: u32;
2780
+ inheritor: AccountId32;
2781
+ previousInheritor: Option<AccountId32>;
2782
+ }>;
2783
+ /**
2784
+ * A recovery attempt was initiated by a friend.
2785
+ **/
2786
+ AttemptInitiated: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32, initiator: AccountId32], {
2787
+ lost: AccountId32;
2788
+ friendGroupIndex: u32;
2789
+ initiator: AccountId32;
2578
2790
  }>;
2579
2791
  /**
2580
- * A recovery process has been initiated for lost account by rescuer account.
2792
+ * A recovery attempt was slashed by the lost account.
2793
+ *
2794
+ * The initiator will lose their security deposit.
2581
2795
  **/
2582
- RecoveryInitiated: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], {
2583
- lostAccount: AccountId32;
2584
- rescuerAccount: AccountId32;
2796
+ AttemptSlashed: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32], {
2797
+ lost: AccountId32;
2798
+ friendGroupIndex: u32;
2585
2799
  }>;
2586
2800
  /**
2587
- * A recovery process has been removed for an account.
2801
+ * The friend groups of an account have been changed.
2588
2802
  **/
2589
- RecoveryRemoved: AugmentedEvent<ApiType, [lostAccount: AccountId32], {
2590
- lostAccount: AccountId32;
2803
+ FriendGroupsChanged: AugmentedEvent<ApiType, [lost: AccountId32], {
2804
+ lost: AccountId32;
2591
2805
  }>;
2592
2806
  /**
2593
- * A recovery process for lost account by rescuer account has been vouched for by sender.
2807
+ * The inheritor of a lost account was revoked by the lost account.
2594
2808
  **/
2595
- RecoveryVouched: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32], {
2596
- lostAccount: AccountId32;
2597
- rescuerAccount: AccountId32;
2598
- sender: AccountId32;
2809
+ InheritorRevoked: AugmentedEvent<ApiType, [lost: AccountId32], {
2810
+ lost: AccountId32;
2811
+ }>;
2812
+ /**
2813
+ * A recovered account was controlled by its inheritor.
2814
+ *
2815
+ * Check the `call_result` to see if it was successful.
2816
+ **/
2817
+ RecoveredAccountControlled: AugmentedEvent<ApiType, [recovered: AccountId32, inheritor: AccountId32, callHash: H256, callResult: Result<Null, SpRuntimeDispatchError>], {
2818
+ recovered: AccountId32;
2819
+ inheritor: AccountId32;
2820
+ callHash: H256;
2821
+ callResult: Result<Null, SpRuntimeDispatchError>;
2599
2822
  }>;
2600
2823
  /**
2601
2824
  * Generic event
@@ -2726,6 +2949,17 @@ declare module '@polkadot/api-base/types/events' {
2726
2949
  data: Bytes;
2727
2950
  topics: Vec<H256>;
2728
2951
  }>;
2952
+ /**
2953
+ * Emitted when an Ethereum transaction reverts.
2954
+ *
2955
+ * Ethereum transactions always complete successfully at the extrinsic level,
2956
+ * as even reverted calls must store their `ReceiptInfo`.
2957
+ * To distinguish reverted calls from successful ones, this event is emitted
2958
+ * for failed Ethereum transactions.
2959
+ **/
2960
+ EthExtrinsicRevert: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError], {
2961
+ dispatchError: SpRuntimeDispatchError;
2962
+ }>;
2729
2963
  /**
2730
2964
  * Contract deployed by deployer at the specified address.
2731
2965
  **/
@@ -2916,6 +3150,12 @@ declare module '@polkadot/api-base/types/events' {
2916
3150
  primary: AccountId32;
2917
3151
  candidates: Vec<AccountId32>;
2918
3152
  }>;
3153
+ /**
3154
+ * A member was kicked by the founder.
3155
+ **/
3156
+ MemberKicked: AugmentedEvent<ApiType, [member: AccountId32], {
3157
+ member: AccountId32;
3158
+ }>;
2919
3159
  /**
2920
3160
  * A member has been suspended
2921
3161
  **/
@@ -3007,8 +3247,11 @@ declare module '@polkadot/api-base/types/events' {
3007
3247
  forceWithdraw: u128;
3008
3248
  }>;
3009
3249
  /**
3010
- * The era payout has been set; the first balance is the validator-payout; the second is
3011
- * the remainder from the maximum amount of reward.
3250
+ * The era payout has been set.
3251
+ *
3252
+ * In non-minting mode, `validator_payout` is the staker reward budget
3253
+ * snapshotted from the general pot, and `remainder` is always zero.
3254
+ * In legacy minting mode, both fields reflect the `EraPayout` computation.
3012
3255
  **/
3013
3256
  EraPaid: AugmentedEvent<ApiType, [eraIndex: u32, validatorPayout: u128, remainder: u128], {
3014
3257
  eraIndex: u32;
@@ -3152,6 +3395,23 @@ declare module '@polkadot/api-base/types/events' {
3152
3395
  * Logged as an event for fail-safe observability.
3153
3396
  **/
3154
3397
  Unexpected: AugmentedEvent<ApiType, [PalletStakingAsyncPalletUnexpectedKind]>;
3398
+ /**
3399
+ * Validator self-stake incentive configuration has been updated.
3400
+ **/
3401
+ ValidatorIncentiveConfigSet: AugmentedEvent<ApiType, [optimumSelfStake: u128, hardCapSelfStake: u128, slopeFactor: Perbill], {
3402
+ optimumSelfStake: u128;
3403
+ hardCapSelfStake: u128;
3404
+ slopeFactor: Perbill;
3405
+ }>;
3406
+ /**
3407
+ * The validator has been paid their self-stake incentive bonus.
3408
+ **/
3409
+ ValidatorIncentivePaid: AugmentedEvent<ApiType, [era: u32, validatorStash: AccountId32, dest: PalletStakingAsyncRewardDestination, amount: u128], {
3410
+ era: u32;
3411
+ validatorStash: AccountId32;
3412
+ dest: PalletStakingAsyncRewardDestination;
3413
+ amount: u128;
3414
+ }>;
3155
3415
  /**
3156
3416
  * A validator has set their preferences.
3157
3417
  **/
@@ -3173,6 +3433,15 @@ declare module '@polkadot/api-base/types/events' {
3173
3433
  [key: string]: AugmentedEvent<ApiType>;
3174
3434
  };
3175
3435
  stakingRcClient: {
3436
+ /**
3437
+ * Fees were charged for a user operation (set_keys or purge_keys).
3438
+ *
3439
+ * The fee includes both XCM delivery fee and relay chain execution cost.
3440
+ **/
3441
+ FeesPaid: AugmentedEvent<ApiType, [who: AccountId32, fees: u128], {
3442
+ who: AccountId32;
3443
+ fees: u128;
3444
+ }>;
3176
3445
  /**
3177
3446
  * A new offence was reported.
3178
3447
  **/
@@ -3233,9 +3502,11 @@ declare module '@polkadot/api-base/types/events' {
3233
3502
  };
3234
3503
  system: {
3235
3504
  /**
3236
- * `:code` was updated.
3505
+ * `:code` was updated to the code with the given hash.
3237
3506
  **/
3238
- CodeUpdated: AugmentedEvent<ApiType, []>;
3507
+ CodeUpdated: AugmentedEvent<ApiType, [hash_: H256], {
3508
+ hash_: H256;
3509
+ }>;
3239
3510
  /**
3240
3511
  * An extrinsic failed.
3241
3512
  **/