@polkadot/api-augment 16.5.6 → 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 +6 -6
  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
@@ -428,7 +428,7 @@ declare module '@polkadot/api-base/types/consts' {
428
428
  *
429
429
  * Increasing this value is supported, but decreasing it may lead to a broken state.
430
430
  **/
431
- maxRank: u32 & AugmentedConst<ApiType>;
431
+ maxRank: u16 & AugmentedConst<ApiType>;
432
432
  /**
433
433
  * Generic const
434
434
  **/
@@ -531,8 +531,13 @@ declare module '@polkadot/api-base/types/consts' {
531
531
  **/
532
532
  betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
533
533
  /**
534
- * The maximum number of winners that can be elected by this `ElectionProvider`
535
- * implementation.
534
+ * Maximum number of voters that can support a winner in an election solution.
535
+ *
536
+ * This is needed to ensure election computation is bounded.
537
+ **/
538
+ maxBackersPerWinner: u32 & AugmentedConst<ApiType>;
539
+ /**
540
+ * Maximum number of winners that an election supports.
536
541
  *
537
542
  * Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
538
543
  **/
@@ -1516,6 +1521,10 @@ declare module '@polkadot/api-base/types/consts' {
1516
1521
  * this effect.
1517
1522
  **/
1518
1523
  maxUnlockingChunks: u32 & AugmentedConst<ApiType>;
1524
+ /**
1525
+ * The absolute maximum of winner validators this pallet should return.
1526
+ **/
1527
+ maxValidatorSet: u32 & AugmentedConst<ApiType>;
1519
1528
  /**
1520
1529
  * Number of sessions per era.
1521
1530
  **/
@@ -589,6 +589,10 @@ declare module '@polkadot/api-base/types/errors' {
589
589
  * Invalid bounty value.
590
590
  **/
591
591
  InvalidValue: AugmentedError<ApiType>;
592
+ /**
593
+ * User is not the proposer of the bounty.
594
+ **/
595
+ NotProposer: AugmentedError<ApiType>;
592
596
  /**
593
597
  * A bounty payout is pending.
594
598
  * To cancel the bounty, you must unassign and slash the curator.
@@ -2864,12 +2868,6 @@ declare module '@polkadot/api-base/types/errors' {
2864
2868
  * The contract has reached its maximum number of delegate dependencies.
2865
2869
  **/
2866
2870
  MaxDelegateDependenciesReached: AugmentedError<ApiType>;
2867
- /**
2868
- * The chain does not provide a chain extension. Calling the chain extension results
2869
- * in this error. Note that this usually shouldn't happen as deploying such contracts
2870
- * is rejected.
2871
- **/
2872
- NoChainExtension: AugmentedError<ApiType>;
2873
2871
  /**
2874
2872
  * A buffer outside of sandbox memory was passed to a contract API function.
2875
2873
  **/
@@ -2882,10 +2880,6 @@ declare module '@polkadot/api-base/types/errors' {
2882
2880
  * Can not add more data to transient storage.
2883
2881
  **/
2884
2882
  OutOfTransientStorage: AugmentedError<ApiType>;
2885
- /**
2886
- * Precompile Error
2887
- **/
2888
- PrecompileFailure: AugmentedError<ApiType>;
2889
2883
  /**
2890
2884
  * A contract called into the runtime which then called back into this pallet.
2891
2885
  **/
@@ -2943,10 +2937,6 @@ declare module '@polkadot/api-base/types/errors' {
2943
2937
  * The size defined in `T::MaxValueSize` was exceeded.
2944
2938
  **/
2945
2939
  ValueTooLarge: AugmentedError<ApiType>;
2946
- /**
2947
- * Failed to decode the XCM program.
2948
- **/
2949
- XCMDecodeFailed: AugmentedError<ApiType>;
2950
2940
  /**
2951
2941
  * Generic error
2952
2942
  **/
@@ -3162,6 +3152,10 @@ declare module '@polkadot/api-base/types/errors' {
3162
3152
  * There is no defender currently.
3163
3153
  **/
3164
3154
  NoDefender: AugmentedError<ApiType>;
3155
+ /**
3156
+ * There is no deposit associated with a bid.
3157
+ **/
3158
+ NoDeposit: AugmentedError<ApiType>;
3165
3159
  /**
3166
3160
  * Nothing to payout.
3167
3161
  **/
@@ -3715,6 +3709,10 @@ declare module '@polkadot/api-base/types/errors' {
3715
3709
  * The item ID has already been used for an item.
3716
3710
  **/
3717
3711
  AlreadyExists: AugmentedError<ApiType>;
3712
+ /**
3713
+ * An attribute is not found.
3714
+ **/
3715
+ AttributeNotFound: AugmentedError<ApiType>;
3718
3716
  /**
3719
3717
  * Invalid witness data given.
3720
3718
  **/
@@ -3751,6 +3749,10 @@ declare module '@polkadot/api-base/types/errors' {
3751
3749
  * There is no delegate approved.
3752
3750
  **/
3753
3751
  NoDelegate: AugmentedError<ApiType>;
3752
+ /**
3753
+ * No metadata is found.
3754
+ **/
3755
+ NoMetadata: AugmentedError<ApiType>;
3754
3756
  /**
3755
3757
  * The signing account has no permission to do the operation.
3756
3758
  **/
@@ -3775,10 +3777,18 @@ declare module '@polkadot/api-base/types/errors' {
3775
3777
  * The given item ID is unknown.
3776
3778
  **/
3777
3779
  UnknownItem: AugmentedError<ApiType>;
3780
+ /**
3781
+ * Wrong attribute key/value bytes supplied.
3782
+ **/
3783
+ WrongAttribute: AugmentedError<ApiType>;
3778
3784
  /**
3779
3785
  * The delegate turned out to be different to what was expected.
3780
3786
  **/
3781
3787
  WrongDelegate: AugmentedError<ApiType>;
3788
+ /**
3789
+ * Wrong metadata key/value bytes supplied.
3790
+ **/
3791
+ WrongMetadata: AugmentedError<ApiType>;
3782
3792
  /**
3783
3793
  * The owner turned out to be different to what was expected.
3784
3794
  **/
@@ -3830,6 +3840,10 @@ declare module '@polkadot/api-base/types/errors' {
3830
3840
  * A error in the list interface implementation.
3831
3841
  **/
3832
3842
  List: AugmentedError<ApiType>;
3843
+ /**
3844
+ * Could not update a node, because the pallet is locked.
3845
+ **/
3846
+ Locked: AugmentedError<ApiType>;
3833
3847
  /**
3834
3848
  * Generic error
3835
3849
  **/
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H160, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletRecoveryDepositKind, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStatementStoreStatement, SpWeightsWeightV2Weight } 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> {
@@ -825,6 +825,15 @@ declare module '@polkadot/api-base/types/events' {
825
825
  CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], {
826
826
  bountyId: u32;
827
827
  }>;
828
+ /**
829
+ * A bounty deposit has been poked.
830
+ **/
831
+ DepositPoked: AugmentedEvent<ApiType, [bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128], {
832
+ bountyId: u32;
833
+ proposer: AccountId32;
834
+ oldDeposit: u128;
835
+ newDeposit: u128;
836
+ }>;
828
837
  /**
829
838
  * Generic event
830
839
  **/
@@ -1780,6 +1789,24 @@ declare module '@polkadot/api-base/types/events' {
1780
1789
  **/
1781
1790
  [key: string]: AugmentedEvent<ApiType>;
1782
1791
  };
1792
+ historical: {
1793
+ /**
1794
+ * The merkle roots of up to this session index were pruned
1795
+ **/
1796
+ RootsPruned: AugmentedEvent<ApiType, [upTo: u32], {
1797
+ upTo: u32;
1798
+ }>;
1799
+ /**
1800
+ * The merkle root of the validators of the said session were stored
1801
+ **/
1802
+ RootStored: AugmentedEvent<ApiType, [index: u32], {
1803
+ index: u32;
1804
+ }>;
1805
+ /**
1806
+ * Generic event
1807
+ **/
1808
+ [key: string]: AugmentedEvent<ApiType>;
1809
+ };
1783
1810
  identity: {
1784
1811
  /**
1785
1812
  * A username authority was added.
@@ -3116,6 +3143,15 @@ declare module '@polkadot/api-base/types/events' {
3116
3143
  proxyType: KitchensinkRuntimeProxyType;
3117
3144
  disambiguationIndex: u16;
3118
3145
  }>;
3146
+ /**
3147
+ * A pure proxy was killed by its spawner.
3148
+ **/
3149
+ PureKilled: AugmentedEvent<ApiType, [pure: AccountId32, spawner: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16], {
3150
+ pure: AccountId32;
3151
+ spawner: AccountId32;
3152
+ proxyType: KitchensinkRuntimeProxyType;
3153
+ disambiguationIndex: u16;
3154
+ }>;
3119
3155
  /**
3120
3156
  * Generic event
3121
3157
  **/
@@ -3287,6 +3323,15 @@ declare module '@polkadot/api-base/types/events' {
3287
3323
  lostAccount: AccountId32;
3288
3324
  rescuerAccount: AccountId32;
3289
3325
  }>;
3326
+ /**
3327
+ * A deposit has been updated.
3328
+ **/
3329
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128], {
3330
+ who: AccountId32;
3331
+ kind: PalletRecoveryDepositKind;
3332
+ oldDeposit: u128;
3333
+ newDeposit: u128;
3334
+ }>;
3290
3335
  /**
3291
3336
  * A recovery process for lost account by rescuer account has been closed.
3292
3337
  **/
@@ -3656,6 +3701,11 @@ declare module '@polkadot/api-base/types/events' {
3656
3701
  [key: string]: AugmentedEvent<ApiType>;
3657
3702
  };
3658
3703
  session: {
3704
+ /**
3705
+ * The `NewSession` event in the current block also implies a new validator set to be
3706
+ * queued.
3707
+ **/
3708
+ NewQueued: AugmentedEvent<ApiType, []>;
3659
3709
  /**
3660
3710
  * New session has happened. Note that the argument is the session index, not the
3661
3711
  * block number as the type might suggest.
@@ -3732,6 +3782,14 @@ declare module '@polkadot/api-base/types/events' {
3732
3782
  Deposit: AugmentedEvent<ApiType, [value: u128], {
3733
3783
  value: u128;
3734
3784
  }>;
3785
+ /**
3786
+ * A deposit was poked / adjusted.
3787
+ **/
3788
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, oldDeposit: u128, newDeposit: u128], {
3789
+ who: AccountId32;
3790
+ oldDeposit: u128;
3791
+ newDeposit: u128;
3792
+ }>;
3735
3793
  /**
3736
3794
  * A \[member\] got elevated to \[rank\].
3737
3795
  **/
@@ -4648,6 +4706,13 @@ declare module '@polkadot/api-base/types/events' {
4648
4706
  VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], {
4649
4707
  account: AccountId32;
4650
4708
  }>;
4709
+ /**
4710
+ * A vesting schedule has been created.
4711
+ **/
4712
+ VestingCreated: AugmentedEvent<ApiType, [account: AccountId32, scheduleIndex: u32], {
4713
+ account: AccountId32;
4714
+ scheduleIndex: u32;
4715
+ }>;
4651
4716
  /**
4652
4717
  * The amount vested has been updated. This could indicate a change in funds available.
4653
4718
  * The balance given is the amount which is left unvested (and thus locked).
@@ -1667,6 +1667,8 @@ declare module '@polkadot/api-base/types/storage' {
1667
1667
  requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1668
1668
  /**
1669
1669
  * The request status of a given hash.
1670
+ *
1671
+ * @deprecated RequestStatusFor
1670
1672
  **/
1671
1673
  statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1672
1674
  /**
@@ -2751,6 +2753,13 @@ declare module '@polkadot/api-base/types/storage' {
2751
2753
  * Nodes store links forward and back within their respective bags.
2752
2754
  **/
2753
2755
  listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
2756
+ /**
2757
+ * Lock all updates to this pallet.
2758
+ *
2759
+ * If any nodes needs updating, removal or addition due to a temporary lock, the
2760
+ * [`Call::rebag`] can be used.
2761
+ **/
2762
+ lock: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
2754
2763
  /**
2755
2764
  * Generic query
2756
2765
  **/
@@ -516,7 +516,7 @@ declare module '@polkadot/api-base/types/calls' {
516
516
  proofSize?: any;
517
517
  } | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, input_data: Bytes | string | Uint8Array) => Observable<PalletRevivePrimitivesContractResultExecReturnValue>>;
518
518
  /**
519
- * Perform an Ethereum call.,, See [`crate::Pallet::bare_eth_transact`]
519
+ * Perform an Ethereum call.,, See [`crate::Pallet::dry_run_eth_transact`]
520
520
  **/
521
521
  ethTransact: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | {
522
522
  accessList?: any;
@@ -543,6 +543,10 @@ declare module '@polkadot/api-base/types/calls' {
543
543
  * Query a given storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
544
544
  **/
545
545
  getStorage: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: U8aFixed | string | Uint8Array) => Observable<Result<Option<Bytes>, PalletRevivePrimitivesContractAccessError>>>;
546
+ /**
547
+ * Query a given variable-sized storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
548
+ **/
549
+ getStorageVarKey: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Result<Option<Bytes>, PalletRevivePrimitivesContractAccessError>>>;
546
550
  /**
547
551
  * Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
548
552
  **/
@@ -1824,6 +1824,24 @@ declare module '@polkadot/api-base/types/submittable' {
1824
1824
  * - O(1).
1825
1825
  **/
1826
1826
  extendBountyExpiry: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Bytes]>;
1827
+ /**
1828
+ * Poke the deposit reserved for creating a bounty proposal.
1829
+ *
1830
+ * This can be used by accounts to update their reserved amount.
1831
+ *
1832
+ * The dispatch origin for this call must be _Signed_.
1833
+ *
1834
+ * Parameters:
1835
+ * - `bounty_id`: The bounty id for which to adjust the deposit.
1836
+ *
1837
+ * If the deposit is updated, the difference will be reserved/unreserved from the
1838
+ * proposer's account.
1839
+ *
1840
+ * The transaction is made free if the deposit is updated and paid otherwise.
1841
+ *
1842
+ * Emits `DepositPoked` if the deposit is updated.
1843
+ **/
1844
+ pokeDeposit: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1827
1845
  /**
1828
1846
  * Propose a new bounty.
1829
1847
  *
@@ -2394,6 +2412,8 @@ declare module '@polkadot/api-base/types/submittable' {
2394
2412
  } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, SpWeightsWeightV2Weight, Option<Compact<u128>>, Bytes]>;
2395
2413
  /**
2396
2414
  * Deprecated version if [`Self::call`] for use in an in-storage `Call`.
2415
+ *
2416
+ * @deprecated 1D weight is used in this extrinsic, please migrate to `call`
2397
2417
  **/
2398
2418
  callOldWeight: AugmentedSubmittable<(dest: MultiAddress | {
2399
2419
  Id: any;
@@ -2419,6 +2439,8 @@ declare module '@polkadot/api-base/types/submittable' {
2419
2439
  } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, SpWeightsWeightV2Weight, Option<Compact<u128>>, H256, Bytes, Bytes]>;
2420
2440
  /**
2421
2441
  * Deprecated version if [`Self::instantiate`] for use in an in-storage `Call`.
2442
+ *
2443
+ * @deprecated 1D weight is used in this extrinsic, please migrate to `instantiate`
2422
2444
  **/
2423
2445
  instantiateOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Compact<u64>, Option<Compact<u128>>, H256, Bytes, Bytes]>;
2424
2446
  /**
@@ -2454,6 +2476,8 @@ declare module '@polkadot/api-base/types/submittable' {
2454
2476
  } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, SpWeightsWeightV2Weight, Option<Compact<u128>>, Bytes, Bytes, Bytes]>;
2455
2477
  /**
2456
2478
  * Deprecated version if [`Self::instantiate_with_code`] for use in an in-storage `Call`.
2479
+ *
2480
+ * @deprecated 1D weight is used in this extrinsic, please migrate to `instantiate_with_code`
2457
2481
  **/
2458
2482
  instantiateWithCodeOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Compact<u64>, Option<Compact<u128>>, Bytes, Bytes, Bytes]>;
2459
2483
  /**
@@ -2719,6 +2743,8 @@ declare module '@polkadot/api-base/types/submittable' {
2719
2743
  * allowing immediate promotion.
2720
2744
  *
2721
2745
  * - `origin`: A signed origin of a ranked, but not tracked, account.
2746
+ *
2747
+ * @deprecated Use `import_member` instead
2722
2748
  **/
2723
2749
  import: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2724
2750
  /**
@@ -3306,7 +3332,7 @@ declare module '@polkadot/api-base/types/submittable' {
3306
3332
  * This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
3307
3333
  * calling [`Call::set_emergency_election_result`].
3308
3334
  **/
3309
- governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | Uint8Array | u32 | AnyNumber, maybeMaxTargets: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>]>;
3335
+ governanceFallback: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3310
3336
  /**
3311
3337
  * Set a solution in the queue, to be handed out to the client of this pallet in the next
3312
3338
  * call to `ElectionProvider::elect`.
@@ -7024,7 +7050,7 @@ declare module '@polkadot/api-base/types/submittable' {
7024
7050
  * `pure` with corresponding parameters.
7025
7051
  *
7026
7052
  * - `spawner`: The account that originally called `pure` to create this account.
7027
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
7053
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
7028
7054
  * - `proxy_type`: The proxy type originally passed to `pure`.
7029
7055
  * - `height`: The height of the chain when the call to `pure` was processed.
7030
7056
  * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
@@ -7574,6 +7600,42 @@ declare module '@polkadot/api-base/types/submittable' {
7574
7600
  } | {
7575
7601
  Address20: any;
7576
7602
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
7603
+ /**
7604
+ * Poke deposits for recovery configurations and / or active recoveries.
7605
+ *
7606
+ * This can be used by accounts to possibly lower their locked amount.
7607
+ *
7608
+ * The dispatch origin for this call must be _Signed_.
7609
+ *
7610
+ * Parameters:
7611
+ * - `maybe_account`: Optional recoverable account for which you have an active recovery
7612
+ * and want to adjust the deposit for the active recovery.
7613
+ *
7614
+ * This function checks both recovery configuration deposit and active recovery deposits
7615
+ * of the caller:
7616
+ * - If the caller has created a recovery configuration, checks and adjusts its deposit
7617
+ * - If the caller has initiated any active recoveries, and provides the account in
7618
+ * `maybe_account`, checks and adjusts those deposits
7619
+ *
7620
+ * If any deposit is updated, the difference will be reserved/unreserved from the caller's
7621
+ * account.
7622
+ *
7623
+ * The transaction is made free if any deposit is updated and paid otherwise.
7624
+ *
7625
+ * Emits `DepositPoked` if any deposit is updated.
7626
+ * Multiple events may be emitted in case both types of deposits are updated.
7627
+ **/
7628
+ pokeDeposit: AugmentedSubmittable<(maybeAccount: Option<MultiAddress> | null | Uint8Array | MultiAddress | {
7629
+ Id: any;
7630
+ } | {
7631
+ Index: any;
7632
+ } | {
7633
+ Raw: any;
7634
+ } | {
7635
+ Address32: any;
7636
+ } | {
7637
+ Address20: any;
7638
+ } | string) => SubmittableExtrinsic<ApiType>, [Option<MultiAddress>]>;
7577
7639
  /**
7578
7640
  * Remove the recovery process for your account. Recovered accounts are still accessible.
7579
7641
  *
@@ -8349,6 +8411,16 @@ declare module '@polkadot/api-base/types/submittable' {
8349
8411
  * payouts remaining.
8350
8412
  **/
8351
8413
  payout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
8414
+ /**
8415
+ * Poke the deposit reserved when bidding.
8416
+ *
8417
+ * The dispatch origin for this call must be _Signed_ and must be the bidder.
8418
+ *
8419
+ * The transaction fee is waived if the deposit is changed after poking/reconsideration.
8420
+ *
8421
+ * Emits `DepositPoked` if successful.
8422
+ **/
8423
+ pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
8352
8424
  /**
8353
8425
  * Punish the skeptic with a strike if they did not vote on a candidate. Callable by the
8354
8426
  * candidate.
@@ -8509,6 +8581,7 @@ declare module '@polkadot/api-base/types/submittable' {
8509
8581
  * Can be called by the `T::AdminOrigin`.
8510
8582
  *
8511
8583
  * Parameters: era and indices of the slashes for that era to kill.
8584
+ * They **must** be sorted in ascending order, *and* unique.
8512
8585
  **/
8513
8586
  cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
8514
8587
  /**
@@ -8941,6 +9014,8 @@ declare module '@polkadot/api-base/types/submittable' {
8941
9014
  * period ends. If this leaves an amount actively bonded less than
8942
9015
  * [`asset::existential_deposit`], then it is increased to the full amount.
8943
9016
  *
9017
+ * The stash may be chilled if the ledger total amount falls to 0 after unbonding.
9018
+ *
8944
9019
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
8945
9020
  *
8946
9021
  * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
@@ -9760,6 +9835,8 @@ declare module '@polkadot/api-base/types/submittable' {
9760
9835
  * approval queue, i.e., the proposal has not been approved. This could also mean the
9761
9836
  * proposal does not exist altogether, thus there is no way it would have been approved
9762
9837
  * in the first place.
9838
+ *
9839
+ * @deprecated The `remove_approval` call will be removed by May 2025. It associated with the deprecated `spend_local` call.
9763
9840
  **/
9764
9841
  removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
9765
9842
  /**
@@ -9823,6 +9900,8 @@ declare module '@polkadot/api-base/types/submittable' {
9823
9900
  * ## Events
9824
9901
  *
9825
9902
  * Emits [`Event::SpendApproved`] if successful.
9903
+ *
9904
+ * @deprecated The `spend_local` call will be removed by May 2025. Migrate to the new flow and use the `spend` call.
9826
9905
  **/
9827
9906
  spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
9828
9907
  Id: any;
@@ -558,46 +558,6 @@ declare module '@polkadot/api-base/types/consts' {
558
558
  **/
559
559
  [key: string]: Codec;
560
560
  };
561
- recovery: {
562
- /**
563
- * The base amount of currency needed to reserve for creating a recovery configuration.
564
- *
565
- * This is held for an additional storage item whose value size is
566
- * `2 + sizeof(BlockNumber, Balance)` bytes.
567
- **/
568
- configDepositBase: u128 & AugmentedConst<ApiType>;
569
- /**
570
- * The amount of currency needed per additional user when creating a recovery
571
- * configuration.
572
- *
573
- * This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage
574
- * value.
575
- **/
576
- friendDepositFactor: u128 & AugmentedConst<ApiType>;
577
- /**
578
- * The maximum amount of friends allowed in a recovery configuration.
579
- *
580
- * NOTE: The threshold programmed in this Pallet uses u16, so it does
581
- * not really make sense to have a limit here greater than u16::MAX.
582
- * But also, that is a lot more than you should probably set this value
583
- * to anyway...
584
- **/
585
- maxFriends: u32 & AugmentedConst<ApiType>;
586
- /**
587
- * The base amount of currency needed to reserve for starting a recovery.
588
- *
589
- * This is primarily held for deterring malicious recovery attempts, and should
590
- * have a value large enough that a bad actor would choose not to place this
591
- * deposit. It also acts to fund additional storage item whose value size is
592
- * `sizeof(BlockNumber, Balance + T * AccountId)` bytes. Where T is a configurable
593
- * threshold.
594
- **/
595
- recoveryDeposit: u128 & AugmentedConst<ApiType>;
596
- /**
597
- * Generic const
598
- **/
599
- [key: string]: Codec;
600
- };
601
561
  referenda: {
602
562
  /**
603
563
  * Quantization level for the referendum wakeup scheduler. A higher number will result in