@polkadot/api-augment 9.3.3 → 9.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/substrate/tx.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
4
4
  import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill, Weight } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceForceSetWitness, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
7
+ import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
8
8
  export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
9
9
  export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
10
10
  export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -33,6 +33,15 @@ declare module '@polkadot/api-base/types/submittable' {
33
33
  * Requires the sender to be a founder or fellow.
34
34
  **/
35
35
  close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<Weight>, Compact<u32>]>;
36
+ /**
37
+ * Disband the Alliance, remove all active members and unreserve deposits.
38
+ *
39
+ * Witness data must be set.
40
+ **/
41
+ disband: AugmentedSubmittable<(witness: PalletAllianceDisbandWitness | {
42
+ votingMembers?: any;
43
+ allyMembers?: any;
44
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceDisbandWitness]>;
36
45
  /**
37
46
  * Elevate an ally to fellow.
38
47
  **/
@@ -47,27 +56,19 @@ declare module '@polkadot/api-base/types/submittable' {
47
56
  } | {
48
57
  Address20: any;
49
58
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
50
- /**
51
- * Initialize the founders, fellows, and allies.
52
- * Founders must be provided to initialize the Alliance.
53
- *
54
- * Provide witness data to disband current Alliance before initializing new.
55
- * Alliance must be empty or disband first to initialize new.
56
- *
57
- * Alliance is only disbanded if new member set is not provided.
58
- *
59
- * Must be called by the Root origin.
60
- **/
61
- forceSetMembers: AugmentedSubmittable<(founders: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], fellows: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], allies: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], witness: PalletAllianceForceSetWitness | {
62
- proposals?: any;
63
- votingMembers?: any;
64
- allyMembers?: any;
65
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Vec<AccountId32>, Vec<AccountId32>, PalletAllianceForceSetWitness]>;
66
59
  /**
67
60
  * As a member, give a retirement notice and start a retirement period required to pass in
68
61
  * order to retire.
69
62
  **/
70
63
  giveRetirementNotice: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
64
+ /**
65
+ * Initialize the Alliance, onboard founders, fellows, and allies.
66
+ *
67
+ * Founders must be not empty.
68
+ * The Alliance must be empty.
69
+ * Must be called by the Root origin.
70
+ **/
71
+ initMembers: AugmentedSubmittable<(founders: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], fellows: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], allies: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Vec<AccountId32>, Vec<AccountId32>]>;
71
72
  /**
72
73
  * Submit oneself for candidacy. A fixed deposit is reserved.
73
74
  **/
@@ -1054,56 +1055,6 @@ declare module '@polkadot/api-base/types/submittable' {
1054
1055
  **/
1055
1056
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
1056
1057
  };
1057
- bagsList: {
1058
- /**
1059
- * Move the caller's Id directly in front of `lighter`.
1060
- *
1061
- * The dispatch origin for this call must be _Signed_ and can only be called by the Id of
1062
- * the account going in front of `lighter`.
1063
- *
1064
- * Only works if
1065
- * - both nodes are within the same bag,
1066
- * - and `origin` has a greater `Score` than `lighter`.
1067
- **/
1068
- putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | {
1069
- Id: any;
1070
- } | {
1071
- Index: any;
1072
- } | {
1073
- Raw: any;
1074
- } | {
1075
- Address32: any;
1076
- } | {
1077
- Address20: any;
1078
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1079
- /**
1080
- * Declare that some `dislocated` account has, through rewards or penalties, sufficiently
1081
- * changed its score that it should properly fall into a different bag than its current
1082
- * one.
1083
- *
1084
- * Anyone can call this function about any potentially dislocated account.
1085
- *
1086
- * Will always update the stored score of `dislocated` to the correct score, based on
1087
- * `ScoreProvider`.
1088
- *
1089
- * If `dislocated` does not exists, it returns an error.
1090
- **/
1091
- rebag: AugmentedSubmittable<(dislocated: MultiAddress | {
1092
- Id: any;
1093
- } | {
1094
- Index: any;
1095
- } | {
1096
- Raw: any;
1097
- } | {
1098
- Address32: any;
1099
- } | {
1100
- Address20: any;
1101
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1102
- /**
1103
- * Generic tx
1104
- **/
1105
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1106
- };
1107
1058
  balances: {
1108
1059
  /**
1109
1060
  * Exactly as `transfer`, except the origin must be root and the source account may be
@@ -2611,6 +2562,50 @@ declare module '@polkadot/api-base/types/submittable' {
2611
2562
  **/
2612
2563
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
2613
2564
  };
2565
+ fastUnstake: {
2566
+ /**
2567
+ * Control the operation of this pallet.
2568
+ *
2569
+ * Dispatch origin must be signed by the [`Config::ControlOrigin`].
2570
+ **/
2571
+ control: AugmentedSubmittable<(uncheckedErasToCheck: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2572
+ /**
2573
+ * Deregister oneself from the fast-unstake (also cancels joining the pool if that was
2574
+ * supplied on `register_fast_unstake` .
2575
+ *
2576
+ * This is useful if one is registered, they are still waiting, and they change their mind.
2577
+ *
2578
+ * Note that the associated stash is still fully unbonded and chilled as a consequence of
2579
+ * calling `register_fast_unstake`. This should probably be followed by a call to
2580
+ * `Staking::rebond`.
2581
+ **/
2582
+ deregister: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2583
+ /**
2584
+ * Register oneself for fast-unstake.
2585
+ *
2586
+ * The dispatch origin of this call must be signed by the controller account, similar to
2587
+ * `staking::unbond`.
2588
+ *
2589
+ * The stash associated with the origin must have no ongoing unlocking chunks. If
2590
+ * successful, this will fully unbond and chill the stash. Then, it will enqueue the stash
2591
+ * to be checked in further blocks.
2592
+ *
2593
+ * If by the time this is called, the stash is actually eligible for fast-unstake, then
2594
+ * they are guaranteed to remain eligible, because the call will chill them as well.
2595
+ *
2596
+ * If the check works, the entire staking data is removed, i.e. the stash is fully
2597
+ * unstaked, and they potentially join a pool with their entire bonded stake.
2598
+ *
2599
+ * If the check fails, the stash remains chilled and waiting for being unbonded as in with
2600
+ * the normal staking system, but they lose part of their unbonding chunks due to consuming
2601
+ * the chain's resources.
2602
+ **/
2603
+ registerFastUnstake: AugmentedSubmittable<(maybePoolId: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
2604
+ /**
2605
+ * Generic tx
2606
+ **/
2607
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2608
+ };
2614
2609
  gilt: {
2615
2610
  /**
2616
2611
  * Place a bid for a gilt to be issued.
@@ -2858,6 +2853,7 @@ declare module '@polkadot/api-base/types/submittable' {
2858
2853
  * - `target`: the account whose identity the judgement is upon. This must be an account
2859
2854
  * with a registered identity.
2860
2855
  * - `judgement`: the judgement of the registrar of index `reg_index` about `target`.
2856
+ * - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.
2861
2857
  *
2862
2858
  * Emits `JudgementGiven` if successful.
2863
2859
  *
@@ -2893,7 +2889,7 @@ declare module '@polkadot/api-base/types/submittable' {
2893
2889
  LowQuality: any;
2894
2890
  } | {
2895
2891
  Erroneous: any;
2896
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement]>;
2892
+ } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;
2897
2893
  /**
2898
2894
  * Remove the sender as a sub-account.
2899
2895
  *
@@ -3796,10 +3792,6 @@ declare module '@polkadot/api-base/types/submittable' {
3796
3792
  * - `proxy_type`: The permissions allowed for this proxy account.
3797
3793
  * - `delay`: The announcement period required of the initial proxy. Will generally be
3798
3794
  * zero.
3799
- *
3800
- * # <weight>
3801
- * Weight is a function of the number of proxies the user has (P).
3802
- * # </weight>
3803
3795
  **/
3804
3796
  addProxy: AugmentedSubmittable<(delegate: MultiAddress | {
3805
3797
  Id: any;
@@ -3828,12 +3820,6 @@ declare module '@polkadot/api-base/types/submittable' {
3828
3820
  * Parameters:
3829
3821
  * - `real`: The account that the proxy will make a call on behalf of.
3830
3822
  * - `call_hash`: The hash of the call to be made by the `real` account.
3831
- *
3832
- * # <weight>
3833
- * Weight is a function of:
3834
- * - A: the number of announcements made.
3835
- * - P: the number of proxies the user has.
3836
- * # </weight>
3837
3823
  **/
3838
3824
  announce: AugmentedSubmittable<(real: MultiAddress | {
3839
3825
  Id: any;
@@ -3865,36 +3851,27 @@ declare module '@polkadot/api-base/types/submittable' {
3865
3851
  * same sender, with the same parameters.
3866
3852
  *
3867
3853
  * Fails if there are insufficient funds to pay for deposit.
3868
- *
3869
- * # <weight>
3870
- * Weight is a function of the number of proxies the user has (P).
3871
- * # </weight>
3872
- * TODO: Might be over counting 1 read
3873
3854
  **/
3874
- anonymous: AugmentedSubmittable<(proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeProxyType, u32, u16]>;
3855
+ createPure: AugmentedSubmittable<(proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeProxyType, u32, u16]>;
3875
3856
  /**
3876
- * Removes a previously spawned anonymous proxy.
3857
+ * Removes a previously spawned pure proxy.
3877
3858
  *
3878
3859
  * WARNING: **All access to this account will be lost.** Any funds held in it will be
3879
3860
  * inaccessible.
3880
3861
  *
3881
3862
  * Requires a `Signed` origin, and the sender account must have been created by a call to
3882
- * `anonymous` with corresponding parameters.
3883
- *
3884
- * - `spawner`: The account that originally called `anonymous` to create this account.
3885
- * - `index`: The disambiguation index originally passed to `anonymous`. Probably `0`.
3886
- * - `proxy_type`: The proxy type originally passed to `anonymous`.
3887
- * - `height`: The height of the chain when the call to `anonymous` was processed.
3888
- * - `ext_index`: The extrinsic index in which the call to `anonymous` was processed.
3863
+ * `pure` with corresponding parameters.
3889
3864
  *
3890
- * Fails with `NoPermission` in case the caller is not a previously created anonymous
3891
- * account whose `anonymous` call has corresponding parameters.
3865
+ * - `spawner`: The account that originally called `pure` to create this account.
3866
+ * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
3867
+ * - `proxy_type`: The proxy type originally passed to `pure`.
3868
+ * - `height`: The height of the chain when the call to `pure` was processed.
3869
+ * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
3892
3870
  *
3893
- * # <weight>
3894
- * Weight is a function of the number of proxies the user has (P).
3895
- * # </weight>
3871
+ * Fails with `NoPermission` in case the caller is not a previously created pure
3872
+ * account whose `pure` call has corresponding parameters.
3896
3873
  **/
3897
- killAnonymous: AugmentedSubmittable<(spawner: MultiAddress | {
3874
+ killPure: AugmentedSubmittable<(spawner: MultiAddress | {
3898
3875
  Id: any;
3899
3876
  } | {
3900
3877
  Index: any;
@@ -3917,10 +3894,6 @@ declare module '@polkadot/api-base/types/submittable' {
3917
3894
  * - `real`: The account that the proxy will make a call on behalf of.
3918
3895
  * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
3919
3896
  * - `call`: The call to be made by the `real` account.
3920
- *
3921
- * # <weight>
3922
- * Weight is a function of the number of proxies the user has (P).
3923
- * # </weight>
3924
3897
  **/
3925
3898
  proxy: AugmentedSubmittable<(real: MultiAddress | {
3926
3899
  Id: any;
@@ -3945,12 +3918,6 @@ declare module '@polkadot/api-base/types/submittable' {
3945
3918
  * - `real`: The account that the proxy will make a call on behalf of.
3946
3919
  * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
3947
3920
  * - `call`: The call to be made by the `real` account.
3948
- *
3949
- * # <weight>
3950
- * Weight is a function of:
3951
- * - A: the number of announcements made.
3952
- * - P: the number of proxies the user has.
3953
- * # </weight>
3954
3921
  **/
3955
3922
  proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | {
3956
3923
  Id: any;
@@ -3984,12 +3951,6 @@ declare module '@polkadot/api-base/types/submittable' {
3984
3951
  * Parameters:
3985
3952
  * - `delegate`: The account that previously announced the call.
3986
3953
  * - `call_hash`: The hash of the call to be made.
3987
- *
3988
- * # <weight>
3989
- * Weight is a function of:
3990
- * - A: the number of announcements made.
3991
- * - P: the number of proxies the user has.
3992
- * # </weight>
3993
3954
  **/
3994
3955
  rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | {
3995
3956
  Id: any;
@@ -4013,12 +3974,6 @@ declare module '@polkadot/api-base/types/submittable' {
4013
3974
  * Parameters:
4014
3975
  * - `real`: The account that the proxy will make a call on behalf of.
4015
3976
  * - `call_hash`: The hash of the call to be made by the `real` account.
4016
- *
4017
- * # <weight>
4018
- * Weight is a function of:
4019
- * - A: the number of announcements made.
4020
- * - P: the number of proxies the user has.
4021
- * # </weight>
4022
3977
  **/
4023
3978
  removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | {
4024
3979
  Id: any;
@@ -4036,12 +3991,8 @@ declare module '@polkadot/api-base/types/submittable' {
4036
3991
  *
4037
3992
  * The dispatch origin for this call must be _Signed_.
4038
3993
  *
4039
- * WARNING: This may be called on accounts created by `anonymous`, however if done, then
3994
+ * WARNING: This may be called on accounts created by `pure`, however if done, then
4040
3995
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
4041
- *
4042
- * # <weight>
4043
- * Weight is a function of the number of proxies the user has (P).
4044
- * # </weight>
4045
3996
  **/
4046
3997
  removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4047
3998
  /**
@@ -4052,10 +4003,6 @@ declare module '@polkadot/api-base/types/submittable' {
4052
4003
  * Parameters:
4053
4004
  * - `proxy`: The account that the `caller` would like to remove as a proxy.
4054
4005
  * - `proxy_type`: The permissions currently enabled for the removed proxy account.
4055
- *
4056
- * # <weight>
4057
- * Weight is a function of the number of proxies the user has (P).
4058
- * # </weight>
4059
4006
  **/
4060
4007
  removeProxy: AugmentedSubmittable<(delegate: MultiAddress | {
4061
4008
  Id: any;
@@ -5388,31 +5335,6 @@ declare module '@polkadot/api-base/types/submittable' {
5388
5335
  } | {
5389
5336
  Address20: any;
5390
5337
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
5391
- /**
5392
- * Set `HistoryDepth` value. This function will delete any history information
5393
- * when `HistoryDepth` is reduced.
5394
- *
5395
- * Parameters:
5396
- * - `new_history_depth`: The new history depth you would like to set.
5397
- * - `era_items_deleted`: The number of items that will be deleted by this dispatch. This
5398
- * should report all the storage items that will be deleted by clearing old era history.
5399
- * Needed to report an accurate weight for the dispatch. Trusted by `Root` to report an
5400
- * accurate number.
5401
- *
5402
- * Origin must be root.
5403
- *
5404
- * # <weight>
5405
- * - E: Number of history depths removed, i.e. 10 -> 7 = 3
5406
- * - Weight: O(E)
5407
- * - DB Weight:
5408
- * - Reads: Current Era, History Depth
5409
- * - Writes: History Depth
5410
- * - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs
5411
- * - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake,
5412
- * ErasStartSessionIndex
5413
- * # </weight>
5414
- **/
5415
- setHistoryDepth: AugmentedSubmittable<(newHistoryDepth: Compact<u32> | AnyNumber | Uint8Array, eraItemsDeleted: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
5416
5338
  /**
5417
5339
  * Set the validators who cannot be slashed (if any).
5418
5340
  *
@@ -5462,7 +5384,7 @@ declare module '@polkadot/api-base/types/submittable' {
5462
5384
  * * `min_commission`: The minimum amount of commission that each validators must maintain.
5463
5385
  * This is checked only upon calling `validate`. Existing validators are not affected.
5464
5386
  *
5465
- * Origin must be Root to call this function.
5387
+ * RuntimeOrigin must be Root to call this function.
5466
5388
  *
5467
5389
  * NOTE: Existing nominators and validators will not be affected by this update.
5468
5390
  * to kick people under the new limits, `chill_other` should be called.
@@ -6397,7 +6319,8 @@ declare module '@polkadot/api-base/types/submittable' {
6397
6319
  /**
6398
6320
  * Approve an item to be transferred by a delegated third-party account.
6399
6321
  *
6400
- * Origin must be Signed and must be the owner of the `item`.
6322
+ * The origin must conform to `ForceOrigin` or must be `Signed` and the sender must be
6323
+ * either the owner of the `item` or the admin of the collection.
6401
6324
  *
6402
6325
  * - `collection`: The collection of the item to be approved for delegated transfer.
6403
6326
  * - `item`: The item of the item to be approved for delegated transfer.
@@ -7237,6 +7160,56 @@ declare module '@polkadot/api-base/types/submittable' {
7237
7160
  **/
7238
7161
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
7239
7162
  };
7163
+ voterBagsList: {
7164
+ /**
7165
+ * Move the caller's Id directly in front of `lighter`.
7166
+ *
7167
+ * The dispatch origin for this call must be _Signed_ and can only be called by the Id of
7168
+ * the account going in front of `lighter`.
7169
+ *
7170
+ * Only works if
7171
+ * - both nodes are within the same bag,
7172
+ * - and `origin` has a greater `Score` than `lighter`.
7173
+ **/
7174
+ putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | {
7175
+ Id: any;
7176
+ } | {
7177
+ Index: any;
7178
+ } | {
7179
+ Raw: any;
7180
+ } | {
7181
+ Address32: any;
7182
+ } | {
7183
+ Address20: any;
7184
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
7185
+ /**
7186
+ * Declare that some `dislocated` account has, through rewards or penalties, sufficiently
7187
+ * changed its score that it should properly fall into a different bag than its current
7188
+ * one.
7189
+ *
7190
+ * Anyone can call this function about any potentially dislocated account.
7191
+ *
7192
+ * Will always update the stored score of `dislocated` to the correct score, based on
7193
+ * `ScoreProvider`.
7194
+ *
7195
+ * If `dislocated` does not exists, it returns an error.
7196
+ **/
7197
+ rebag: AugmentedSubmittable<(dislocated: MultiAddress | {
7198
+ Id: any;
7199
+ } | {
7200
+ Index: any;
7201
+ } | {
7202
+ Raw: any;
7203
+ } | {
7204
+ Address32: any;
7205
+ } | {
7206
+ Address20: any;
7207
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
7208
+ /**
7209
+ * Generic tx
7210
+ **/
7211
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
7212
+ };
7240
7213
  whitelist: {
7241
7214
  dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callWeightWitness: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Weight]>;
7242
7215
  dispatchWhitelistedCallWithPreimage: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;