@polkadot/api-augment 9.7.1 → 9.8.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/kusama/tx.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import '@polkadot/api-base/types/submittable';
2
2
  import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
3
3
  import type { Data } from '@polkadot/types';
4
- import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
+ import type { Bytes, Compact, Option, U8aFixed, Vec, 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 { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
- import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill, Weight } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportScheduleMaybeHashed, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
7
+ import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
8
+ import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, 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, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
9
9
  export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
10
10
  export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
11
11
  export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -882,11 +882,17 @@ declare module '@polkadot/api-base/types/submittable' {
882
882
  /**
883
883
  * Sets the maximum amount of weight any individual upward message may consume.
884
884
  **/
885
- setUmpMaxIndividualWeight: AugmentedSubmittable<(updated: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Weight]>;
885
+ setUmpMaxIndividualWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | {
886
+ refTime?: any;
887
+ proofSize?: any;
888
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpWeightsWeightV2Weight]>;
886
889
  /**
887
890
  * Sets the soft limit for the phase of dispatching dispatchable upward messages.
888
891
  **/
889
- setUmpServiceTotalWeight: AugmentedSubmittable<(updated: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Weight]>;
892
+ setUmpServiceTotalWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | {
893
+ refTime?: any;
894
+ proofSize?: any;
895
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpWeightsWeightV2Weight]>;
890
896
  /**
891
897
  * Set the validation upgrade cooldown.
892
898
  **/
@@ -904,6 +910,164 @@ declare module '@polkadot/api-base/types/submittable' {
904
910
  **/
905
911
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
906
912
  };
913
+ convictionVoting: {
914
+ /**
915
+ * Delegate the voting power (with some given conviction) of the sending account for a
916
+ * particular class of polls.
917
+ *
918
+ * The balance delegated is locked for as long as it's delegated, and thereafter for the
919
+ * time appropriate for the conviction's lock period.
920
+ *
921
+ * The dispatch origin of this call must be _Signed_, and the signing account must either:
922
+ * - be delegating already; or
923
+ * - have no voting activity (if there is, then it will need to be removed/consolidated
924
+ * through `reap_vote` or `unvote`).
925
+ *
926
+ * - `to`: The account whose voting the `target` account's voting power will follow.
927
+ * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls
928
+ * to this function are required.
929
+ * - `conviction`: The conviction that will be attached to the delegated votes. When the
930
+ * account is undelegated, the funds will be locked for the corresponding period.
931
+ * - `balance`: The amount of the account's balance to be used in delegating. This must not
932
+ * be more than the account's current balance.
933
+ *
934
+ * Emits `Delegated`.
935
+ *
936
+ * Weight: `O(R)` where R is the number of polls the voter delegating to has
937
+ * voted on. Weight is initially charged as if maximum votes, but is refunded later.
938
+ **/
939
+ delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: MultiAddress | {
940
+ Id: any;
941
+ } | {
942
+ Index: any;
943
+ } | {
944
+ Raw: any;
945
+ } | {
946
+ Address32: any;
947
+ } | {
948
+ Address20: any;
949
+ } | string | Uint8Array, conviction: PalletConvictionVotingConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress, PalletConvictionVotingConviction, u128]>;
950
+ /**
951
+ * Remove a vote for a poll.
952
+ *
953
+ * If the `target` is equal to the signer, then this function is exactly equivalent to
954
+ * `remove_vote`. If not equal to the signer, then the vote must have expired,
955
+ * either because the poll was cancelled, because the voter lost the poll or
956
+ * because the conviction period is over.
957
+ *
958
+ * The dispatch origin of this call must be _Signed_.
959
+ *
960
+ * - `target`: The account of the vote to be removed; this account must have voted for poll
961
+ * `index`.
962
+ * - `index`: The index of poll of the vote to be removed.
963
+ * - `class`: The class of the poll.
964
+ *
965
+ * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
966
+ * Weight is calculated for the maximum number of vote.
967
+ **/
968
+ removeOtherVote: AugmentedSubmittable<(target: MultiAddress | {
969
+ Id: any;
970
+ } | {
971
+ Index: any;
972
+ } | {
973
+ Raw: any;
974
+ } | {
975
+ Address32: any;
976
+ } | {
977
+ Address20: any;
978
+ } | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16, u32]>;
979
+ /**
980
+ * Remove a vote for a poll.
981
+ *
982
+ * If:
983
+ * - the poll was cancelled, or
984
+ * - the poll is ongoing, or
985
+ * - the poll has ended such that
986
+ * - the vote of the account was in opposition to the result; or
987
+ * - there was no conviction to the account's vote; or
988
+ * - the account made a split vote
989
+ * ...then the vote is removed cleanly and a following call to `unlock` may result in more
990
+ * funds being available.
991
+ *
992
+ * If, however, the poll has ended and:
993
+ * - it finished corresponding to the vote of the account, and
994
+ * - the account made a standard vote with conviction, and
995
+ * - the lock period of the conviction is not over
996
+ * ...then the lock will be aggregated into the overall account's lock, which may involve
997
+ * *overlocking* (where the two locks are combined into a single lock that is the maximum
998
+ * of both the amount locked and the time is it locked for).
999
+ *
1000
+ * The dispatch origin of this call must be _Signed_, and the signer must have a vote
1001
+ * registered for poll `index`.
1002
+ *
1003
+ * - `index`: The index of poll of the vote to be removed.
1004
+ * - `class`: Optional parameter, if given it indicates the class of the poll. For polls
1005
+ * which have finished or are cancelled, this must be `Some`.
1006
+ *
1007
+ * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
1008
+ * Weight is calculated for the maximum number of vote.
1009
+ **/
1010
+ removeVote: AugmentedSubmittable<(clazz: Option<u16> | null | Uint8Array | u16 | AnyNumber, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u16>, u32]>;
1011
+ /**
1012
+ * Undelegate the voting power of the sending account for a particular class of polls.
1013
+ *
1014
+ * Tokens may be unlocked following once an amount of time consistent with the lock period
1015
+ * of the conviction with which the delegation was issued has passed.
1016
+ *
1017
+ * The dispatch origin of this call must be _Signed_ and the signing account must be
1018
+ * currently delegating.
1019
+ *
1020
+ * - `class`: The class of polls to remove the delegation from.
1021
+ *
1022
+ * Emits `Undelegated`.
1023
+ *
1024
+ * Weight: `O(R)` where R is the number of polls the voter delegating to has
1025
+ * voted on. Weight is initially charged as if maximum votes, but is refunded later.
1026
+ **/
1027
+ undelegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
1028
+ /**
1029
+ * Remove the lock caused by prior voting/delegating which has expired within a particular
1030
+ * class.
1031
+ *
1032
+ * The dispatch origin of this call must be _Signed_.
1033
+ *
1034
+ * - `class`: The class of polls to unlock.
1035
+ * - `target`: The account to remove the lock on.
1036
+ *
1037
+ * Weight: `O(R)` with R number of vote of target.
1038
+ **/
1039
+ unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: MultiAddress | {
1040
+ Id: any;
1041
+ } | {
1042
+ Index: any;
1043
+ } | {
1044
+ Raw: any;
1045
+ } | {
1046
+ Address32: any;
1047
+ } | {
1048
+ Address20: any;
1049
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress]>;
1050
+ /**
1051
+ * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
1052
+ * otherwise it is a vote to keep the status quo.
1053
+ *
1054
+ * The dispatch origin of this call must be _Signed_.
1055
+ *
1056
+ * - `poll_index`: The index of the poll to vote for.
1057
+ * - `vote`: The vote configuration.
1058
+ *
1059
+ * Weight: `O(R)` where R is the number of polls the voter has voted on.
1060
+ **/
1061
+ vote: AugmentedSubmittable<(pollIndex: Compact<u32> | AnyNumber | Uint8Array, vote: PalletConvictionVotingVoteAccountVote | {
1062
+ Standard: any;
1063
+ } | {
1064
+ Split: any;
1065
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletConvictionVotingVoteAccountVote]>;
1066
+ /**
1067
+ * Generic tx
1068
+ **/
1069
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1070
+ };
907
1071
  council: {
908
1072
  /**
909
1073
  * Close a vote that is either approved, disapproved or whose voting period has ended.
@@ -939,7 +1103,45 @@ declare module '@polkadot/api-base/types/submittable' {
939
1103
  * - up to 3 events
940
1104
  * # </weight>
941
1105
  **/
942
- 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>]>;
1106
+ close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | {
1107
+ refTime?: any;
1108
+ proofSize?: any;
1109
+ } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
1110
+ /**
1111
+ * Close a vote that is either approved, disapproved or whose voting period has ended.
1112
+ *
1113
+ * May be called by any signed account in order to finish voting and close the proposal.
1114
+ *
1115
+ * If called before the end of the voting period it will only close the vote if it is
1116
+ * has enough votes to be approved or disapproved.
1117
+ *
1118
+ * If called after the end of the voting period abstentions are counted as rejections
1119
+ * unless there is a prime member set and the prime member cast an approval.
1120
+ *
1121
+ * If the close operation completes successfully with disapproval, the transaction fee will
1122
+ * be waived. Otherwise execution of the approved operation will be charged to the caller.
1123
+ *
1124
+ * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
1125
+ * proposal.
1126
+ * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
1127
+ * `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
1128
+ *
1129
+ * # <weight>
1130
+ * ## Weight
1131
+ * - `O(B + M + P1 + P2)` where:
1132
+ * - `B` is `proposal` size in bytes (length-fee-bounded)
1133
+ * - `M` is members-count (code- and governance-bounded)
1134
+ * - `P1` is the complexity of `proposal` preimage.
1135
+ * - `P2` is proposal-count (code-bounded)
1136
+ * - DB:
1137
+ * - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)
1138
+ * - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec
1139
+ * `O(P2)`)
1140
+ * - any mutations done while executing `proposal` (`P1`)
1141
+ * - up to 3 events
1142
+ * # </weight>
1143
+ **/
1144
+ closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
943
1145
  /**
944
1146
  * Disapprove a proposal, close, and remove it from the system, regardless of its current
945
1147
  * state.
@@ -1185,16 +1387,6 @@ declare module '@polkadot/api-base/types/submittable' {
1185
1387
  * Weight: `O(p)` where `p = PublicProps::<T>::decode_len()`
1186
1388
  **/
1187
1389
  cancelProposal: AugmentedSubmittable<(propIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1188
- /**
1189
- * Cancel a proposal queued for enactment.
1190
- *
1191
- * The dispatch origin of this call must be _Root_.
1192
- *
1193
- * - `which`: The index of the referendum to cancel.
1194
- *
1195
- * Weight: `O(D)` where `D` is the items in the dispatch queue. Weighted as `D = 10`.
1196
- **/
1197
- cancelQueued: AugmentedSubmittable<(which: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1198
1390
  /**
1199
1391
  * Remove a referendum.
1200
1392
  *
@@ -1257,10 +1449,6 @@ declare module '@polkadot/api-base/types/submittable' {
1257
1449
  * Weight: `O(1)`.
1258
1450
  **/
1259
1451
  emergencyCancel: AugmentedSubmittable<(refIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1260
- /**
1261
- * Enact a proposal from a referendum. For now we just make the weight be the maximum.
1262
- **/
1263
- enactProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32]>;
1264
1452
  /**
1265
1453
  * Schedule a referendum to be tabled once it is legal to schedule an external
1266
1454
  * referendum.
@@ -1268,11 +1456,14 @@ declare module '@polkadot/api-base/types/submittable' {
1268
1456
  * The dispatch origin of this call must be `ExternalOrigin`.
1269
1457
  *
1270
1458
  * - `proposal_hash`: The preimage hash of the proposal.
1271
- *
1272
- * Weight: `O(V)` with V number of vetoers in the blacklist of proposal.
1273
- * Decoding vec of length V. Charged as maximum
1274
1459
  **/
1275
- externalPropose: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1460
+ externalPropose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
1461
+ Legacy: any;
1462
+ } | {
1463
+ Inline: any;
1464
+ } | {
1465
+ Lookup: any;
1466
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
1276
1467
  /**
1277
1468
  * Schedule a negative-turnout-bias referendum to be tabled next once it is legal to
1278
1469
  * schedule an external referendum.
@@ -1286,7 +1477,13 @@ declare module '@polkadot/api-base/types/submittable' {
1286
1477
  *
1287
1478
  * Weight: `O(1)`
1288
1479
  **/
1289
- externalProposeDefault: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1480
+ externalProposeDefault: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
1481
+ Legacy: any;
1482
+ } | {
1483
+ Inline: any;
1484
+ } | {
1485
+ Lookup: any;
1486
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
1290
1487
  /**
1291
1488
  * Schedule a majority-carries referendum to be tabled next once it is legal to schedule
1292
1489
  * an external referendum.
@@ -1300,7 +1497,13 @@ declare module '@polkadot/api-base/types/submittable' {
1300
1497
  *
1301
1498
  * Weight: `O(1)`
1302
1499
  **/
1303
- externalProposeMajority: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1500
+ externalProposeMajority: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
1501
+ Legacy: any;
1502
+ } | {
1503
+ Inline: any;
1504
+ } | {
1505
+ Lookup: any;
1506
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
1304
1507
  /**
1305
1508
  * Schedule the currently externally-proposed majority-carries referendum to be tabled
1306
1509
  * immediately. If there is no externally-proposed referendum currently, or if there is one
@@ -1309,7 +1512,7 @@ declare module '@polkadot/api-base/types/submittable' {
1309
1512
  * The dispatch of this call must be `FastTrackOrigin`.
1310
1513
  *
1311
1514
  * - `proposal_hash`: The hash of the current external proposal.
1312
- * - `voting_period`: The period that is allowed for voting on this proposal.
1515
+ * - `voting_period`: The period that is allowed for voting on this proposal. Increased to
1313
1516
  * Must be always greater than zero.
1314
1517
  * For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.
1315
1518
  * - `delay`: The number of block after voting has ended in approval and this should be
@@ -1320,42 +1523,6 @@ declare module '@polkadot/api-base/types/submittable' {
1320
1523
  * Weight: `O(1)`
1321
1524
  **/
1322
1525
  fastTrack: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, votingPeriod: u32 | AnyNumber | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32, u32]>;
1323
- /**
1324
- * Register the preimage for an upcoming proposal. This requires the proposal to be
1325
- * in the dispatch queue. No deposit is needed. When this call is successful, i.e.
1326
- * the preimage has not been uploaded before and matches some imminent proposal,
1327
- * no fee is paid.
1328
- *
1329
- * The dispatch origin of this call must be _Signed_.
1330
- *
1331
- * - `encoded_proposal`: The preimage of a proposal.
1332
- *
1333
- * Emits `PreimageNoted`.
1334
- *
1335
- * Weight: `O(E)` with E size of `encoded_proposal` (protected by a required deposit).
1336
- **/
1337
- noteImminentPreimage: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1338
- /**
1339
- * Same as `note_imminent_preimage` but origin is `OperationalPreimageOrigin`.
1340
- **/
1341
- noteImminentPreimageOperational: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1342
- /**
1343
- * Register the preimage for an upcoming proposal. This doesn't require the proposal to be
1344
- * in the dispatch queue but does require a deposit, returned once enacted.
1345
- *
1346
- * The dispatch origin of this call must be _Signed_.
1347
- *
1348
- * - `encoded_proposal`: The preimage of a proposal.
1349
- *
1350
- * Emits `PreimageNoted`.
1351
- *
1352
- * Weight: `O(E)` with E size of `encoded_proposal` (protected by a required deposit).
1353
- **/
1354
- notePreimage: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1355
- /**
1356
- * Same as `note_preimage` but origin is `OperationalPreimageOrigin`.
1357
- **/
1358
- notePreimageOperational: AugmentedSubmittable<(encodedProposal: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1359
1526
  /**
1360
1527
  * Propose a sensitive action to be taken.
1361
1528
  *
@@ -1366,28 +1533,14 @@ declare module '@polkadot/api-base/types/submittable' {
1366
1533
  * - `value`: The amount of deposit (must be at least `MinimumDeposit`).
1367
1534
  *
1368
1535
  * Emits `Proposed`.
1369
- *
1370
- * Weight: `O(p)`
1371
1536
  **/
1372
- propose: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u128>]>;
1373
- /**
1374
- * Remove an expired proposal preimage and collect the deposit.
1375
- *
1376
- * The dispatch origin of this call must be _Signed_.
1377
- *
1378
- * - `proposal_hash`: The preimage hash of a proposal.
1379
- * - `proposal_length_upper_bound`: an upper bound on length of the proposal. Extrinsic is
1380
- * weighted according to this value with no refund.
1381
- *
1382
- * This will only work after `VotingPeriod` blocks from the time that the preimage was
1383
- * noted, if it's the same account doing it. If it's a different account, then it'll only
1384
- * work an additional `EnactmentPeriod` later.
1385
- *
1386
- * Emits `PreimageReaped`.
1387
- *
1388
- * Weight: `O(D)` where D is length of proposal.
1389
- **/
1390
- reapPreimage: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, proposalLenUpperBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>]>;
1537
+ propose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
1538
+ Legacy: any;
1539
+ } | {
1540
+ Inline: any;
1541
+ } | {
1542
+ Lookup: any;
1543
+ } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded, Compact<u128>]>;
1391
1544
  /**
1392
1545
  * Remove a vote for a referendum.
1393
1546
  *
@@ -1453,12 +1606,8 @@ declare module '@polkadot/api-base/types/submittable' {
1453
1606
  * must have funds to cover the deposit, equal to the original deposit.
1454
1607
  *
1455
1608
  * - `proposal`: The index of the proposal to second.
1456
- * - `seconds_upper_bound`: an upper bound on the current number of seconds on this
1457
- * proposal. Extrinsic is weighted according to this value with no refund.
1458
- *
1459
- * Weight: `O(S)` where S is the number of seconds a proposal already has.
1460
1609
  **/
1461
- second: AugmentedSubmittable<(proposal: Compact<u32> | AnyNumber | Uint8Array, secondsUpperBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
1610
+ second: AugmentedSubmittable<(proposal: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1462
1611
  /**
1463
1612
  * Undelegate the voting power of the sending account.
1464
1613
  *
@@ -1514,8 +1663,6 @@ declare module '@polkadot/api-base/types/submittable' {
1514
1663
  *
1515
1664
  * - `ref_index`: The index of the referendum to vote for.
1516
1665
  * - `vote`: The vote configuration.
1517
- *
1518
- * Weight: `O(R)` where R is the number of referendums the voter has voted on.
1519
1666
  **/
1520
1667
  vote: AugmentedSubmittable<(refIndex: Compact<u32> | AnyNumber | Uint8Array, vote: PalletDemocracyVoteAccountVote | {
1521
1668
  Standard: any;
@@ -1655,6 +1802,218 @@ declare module '@polkadot/api-base/types/submittable' {
1655
1802
  **/
1656
1803
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
1657
1804
  };
1805
+ fellowshipCollective: {
1806
+ /**
1807
+ * Introduce a new member.
1808
+ *
1809
+ * - `origin`: Must be the `AdminOrigin`.
1810
+ * - `who`: Account of non-member which will become a member.
1811
+ * - `rank`: The rank to give the new member.
1812
+ *
1813
+ * Weight: `O(1)`
1814
+ **/
1815
+ addMember: AugmentedSubmittable<(who: MultiAddress | {
1816
+ Id: any;
1817
+ } | {
1818
+ Index: any;
1819
+ } | {
1820
+ Raw: any;
1821
+ } | {
1822
+ Address32: any;
1823
+ } | {
1824
+ Address20: any;
1825
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1826
+ /**
1827
+ * Remove votes from the given poll. It must have ended.
1828
+ *
1829
+ * - `origin`: Must be `Signed` by any account.
1830
+ * - `poll_index`: Index of a poll which is completed and for which votes continue to
1831
+ * exist.
1832
+ * - `max`: Maximum number of vote items from remove in this call.
1833
+ *
1834
+ * Transaction fees are waived if the operation is successful.
1835
+ *
1836
+ * Weight `O(max)` (less if there are fewer items to remove than `max`).
1837
+ **/
1838
+ cleanupPoll: AugmentedSubmittable<(pollIndex: u32 | AnyNumber | Uint8Array, max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1839
+ /**
1840
+ * Decrement the rank of an existing member by one. If the member is already at rank zero,
1841
+ * then they are removed entirely.
1842
+ *
1843
+ * - `origin`: Must be the `AdminOrigin`.
1844
+ * - `who`: Account of existing member of rank greater than zero.
1845
+ *
1846
+ * Weight: `O(1)`, less if the member's index is highest in its rank.
1847
+ **/
1848
+ demoteMember: AugmentedSubmittable<(who: MultiAddress | {
1849
+ Id: any;
1850
+ } | {
1851
+ Index: any;
1852
+ } | {
1853
+ Raw: any;
1854
+ } | {
1855
+ Address32: any;
1856
+ } | {
1857
+ Address20: any;
1858
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1859
+ /**
1860
+ * Increment the rank of an existing member by one.
1861
+ *
1862
+ * - `origin`: Must be the `AdminOrigin`.
1863
+ * - `who`: Account of existing member.
1864
+ *
1865
+ * Weight: `O(1)`
1866
+ **/
1867
+ promoteMember: AugmentedSubmittable<(who: MultiAddress | {
1868
+ Id: any;
1869
+ } | {
1870
+ Index: any;
1871
+ } | {
1872
+ Raw: any;
1873
+ } | {
1874
+ Address32: any;
1875
+ } | {
1876
+ Address20: any;
1877
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1878
+ /**
1879
+ * Remove the member entirely.
1880
+ *
1881
+ * - `origin`: Must be the `AdminOrigin`.
1882
+ * - `who`: Account of existing member of rank greater than zero.
1883
+ * - `min_rank`: The rank of the member or greater.
1884
+ *
1885
+ * Weight: `O(min_rank)`.
1886
+ **/
1887
+ removeMember: AugmentedSubmittable<(who: MultiAddress | {
1888
+ Id: any;
1889
+ } | {
1890
+ Index: any;
1891
+ } | {
1892
+ Raw: any;
1893
+ } | {
1894
+ Address32: any;
1895
+ } | {
1896
+ Address20: any;
1897
+ } | string | Uint8Array, minRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16]>;
1898
+ /**
1899
+ * Add an aye or nay vote for the sender to the given proposal.
1900
+ *
1901
+ * - `origin`: Must be `Signed` by a member account.
1902
+ * - `poll`: Index of a poll which is ongoing.
1903
+ * - `aye`: `true` if the vote is to approve the proposal, `false` otherwise.
1904
+ *
1905
+ * Transaction fees are be waived if the member is voting on any particular proposal
1906
+ * for the first time and the call is successful. Subsequent vote changes will charge a
1907
+ * fee.
1908
+ *
1909
+ * Weight: `O(1)`, less if there was no previous vote on the poll by the member.
1910
+ **/
1911
+ vote: AugmentedSubmittable<(poll: u32 | AnyNumber | Uint8Array, aye: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;
1912
+ /**
1913
+ * Generic tx
1914
+ **/
1915
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1916
+ };
1917
+ fellowshipReferenda: {
1918
+ /**
1919
+ * Cancel an ongoing referendum.
1920
+ *
1921
+ * - `origin`: must be the `CancelOrigin`.
1922
+ * - `index`: The index of the referendum to be cancelled.
1923
+ *
1924
+ * Emits `Cancelled`.
1925
+ **/
1926
+ cancel: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1927
+ /**
1928
+ * Cancel an ongoing referendum and slash the deposits.
1929
+ *
1930
+ * - `origin`: must be the `KillOrigin`.
1931
+ * - `index`: The index of the referendum to be cancelled.
1932
+ *
1933
+ * Emits `Killed` and `DepositSlashed`.
1934
+ **/
1935
+ kill: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1936
+ /**
1937
+ * Advance a referendum onto its next logical state. Only used internally.
1938
+ *
1939
+ * - `origin`: must be `Root`.
1940
+ * - `index`: the referendum to be advanced.
1941
+ **/
1942
+ nudgeReferendum: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1943
+ /**
1944
+ * Advance a track onto its next logical state. Only used internally.
1945
+ *
1946
+ * - `origin`: must be `Root`.
1947
+ * - `track`: the track to be advanced.
1948
+ *
1949
+ * Action item for when there is now one fewer referendum in the deciding phase and the
1950
+ * `DecidingCount` is not yet updated. This means that we should either:
1951
+ * - begin deciding another referendum (and leave `DecidingCount` alone); or
1952
+ * - decrement `DecidingCount`.
1953
+ **/
1954
+ oneFewerDeciding: AugmentedSubmittable<(track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
1955
+ /**
1956
+ * Post the Decision Deposit for a referendum.
1957
+ *
1958
+ * - `origin`: must be `Signed` and the account must have funds available for the
1959
+ * referendum's track's Decision Deposit.
1960
+ * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be
1961
+ * posted.
1962
+ *
1963
+ * Emits `DecisionDepositPlaced`.
1964
+ **/
1965
+ placeDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1966
+ /**
1967
+ * Refund the Decision Deposit for a closed referendum back to the depositor.
1968
+ *
1969
+ * - `origin`: must be `Signed` or `Root`.
1970
+ * - `index`: The index of a closed referendum whose Decision Deposit has not yet been
1971
+ * refunded.
1972
+ *
1973
+ * Emits `DecisionDepositRefunded`.
1974
+ **/
1975
+ refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1976
+ /**
1977
+ * Propose a referendum on a privileged action.
1978
+ *
1979
+ * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds
1980
+ * available.
1981
+ * - `proposal_origin`: The origin from which the proposal should be executed.
1982
+ * - `proposal`: The proposal.
1983
+ * - `enactment_moment`: The moment that the proposal should be enacted.
1984
+ *
1985
+ * Emits `Submitted`.
1986
+ **/
1987
+ submit: AugmentedSubmittable<(proposalOrigin: KusamaRuntimeOriginCaller | {
1988
+ system: any;
1989
+ } | {
1990
+ Void: any;
1991
+ } | {
1992
+ Council: any;
1993
+ } | {
1994
+ TechnicalCommittee: any;
1995
+ } | {
1996
+ Origins: any;
1997
+ } | {
1998
+ ParachainsOrigin: any;
1999
+ } | {
2000
+ XcmPallet: any;
2001
+ } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | {
2002
+ Legacy: any;
2003
+ } | {
2004
+ Inline: any;
2005
+ } | {
2006
+ Lookup: any;
2007
+ } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | {
2008
+ At: any;
2009
+ } | {
2010
+ After: any;
2011
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>;
2012
+ /**
2013
+ * Generic tx
2014
+ **/
2015
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2016
+ };
1658
2017
  gilt: {
1659
2018
  /**
1660
2019
  * Place a bid for a gilt to be issued.
@@ -1771,6 +2130,15 @@ declare module '@polkadot/api-base/types/submittable' {
1771
2130
  * Number of inbound and outbound channels for `para` must be provided as witness data of weighing.
1772
2131
  **/
1773
2132
  forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, inbound: u32 | AnyNumber | Uint8Array, outbound: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
2133
+ /**
2134
+ * Open a channel from a `sender` to a `recipient` `ParaId` using the Root origin. Although
2135
+ * opened by Root, the `max_capacity` and `max_message_size` are still subject to the Relay
2136
+ * Chain's configured limits.
2137
+ *
2138
+ * Expected use is when one of the `ParaId`s involved in the channel is governed by the
2139
+ * Relay Chain, e.g. a common good parachain.
2140
+ **/
2141
+ forceOpenHrmpChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array, maxCapacity: u32 | AnyNumber | Uint8Array, maxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u32]>;
1774
2142
  /**
1775
2143
  * Force process HRMP close channel requests.
1776
2144
  *
@@ -2448,7 +2816,10 @@ declare module '@polkadot/api-base/types/submittable' {
2448
2816
  approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
2449
2817
  height?: any;
2450
2818
  index?: any;
2451
- } | string, callHash: U8aFixed | string | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, Weight]>;
2819
+ } | string, callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | {
2820
+ refTime?: any;
2821
+ proofSize?: any;
2822
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]>;
2452
2823
  /**
2453
2824
  * Register approval for a dispatch to be made from a deterministic composite account if
2454
2825
  * approved by a total of `threshold - 1` of `other_signatories`.
@@ -2491,15 +2862,18 @@ declare module '@polkadot/api-base/types/submittable' {
2491
2862
  * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
2492
2863
  * -------------------------------
2493
2864
  * - DB Weight:
2494
- * - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`)
2495
- * - Writes: Multisig Storage, [Caller Account], Calls (if `store_call`)
2865
+ * - Reads: Multisig Storage, [Caller Account]
2866
+ * - Writes: Multisig Storage, [Caller Account]
2496
2867
  * - Plus Call Weight
2497
2868
  * # </weight>
2498
2869
  **/
2499
2870
  asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
2500
2871
  height?: any;
2501
2872
  index?: any;
2502
- } | string, call: WrapperKeepOpaque<Call> | object | string | Uint8Array, storeCall: bool | boolean | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, WrapperKeepOpaque<Call>, bool, Weight]>;
2873
+ } | string, call: Call | IMethod | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | {
2874
+ refTime?: any;
2875
+ proofSize?: any;
2876
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]>;
2503
2877
  /**
2504
2878
  * Immediately dispatch a multi-signature call using a single approval from the caller.
2505
2879
  *
@@ -2543,8 +2917,8 @@ declare module '@polkadot/api-base/types/submittable' {
2543
2917
  * - Storage: removes one item.
2544
2918
  * ----------------------------------
2545
2919
  * - DB Weight:
2546
- * - Read: Multisig Storage, [Caller Account], Refund Account, Calls
2547
- * - Write: Multisig Storage, [Caller Account], Refund Account, Calls
2920
+ * - Read: Multisig Storage, [Caller Account], Refund Account
2921
+ * - Write: Multisig Storage, [Caller Account], Refund Account
2548
2922
  * # </weight>
2549
2923
  **/
2550
2924
  cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | {
@@ -2639,6 +3013,45 @@ declare module '@polkadot/api-base/types/submittable' {
2639
3013
  } | {
2640
3014
  Address20: any;
2641
3015
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
3016
+ /**
3017
+ * Create a new delegation pool with a previously used pool id
3018
+ *
3019
+ * # Arguments
3020
+ *
3021
+ * same as `create` with the inclusion of
3022
+ * * `pool_id` - `A valid PoolId.
3023
+ **/
3024
+ createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | {
3025
+ Id: any;
3026
+ } | {
3027
+ Index: any;
3028
+ } | {
3029
+ Raw: any;
3030
+ } | {
3031
+ Address32: any;
3032
+ } | {
3033
+ Address20: any;
3034
+ } | string | Uint8Array, nominator: MultiAddress | {
3035
+ Id: any;
3036
+ } | {
3037
+ Index: any;
3038
+ } | {
3039
+ Raw: any;
3040
+ } | {
3041
+ Address32: any;
3042
+ } | {
3043
+ Address20: any;
3044
+ } | string | Uint8Array, stateToggler: MultiAddress | {
3045
+ Id: any;
3046
+ } | {
3047
+ Index: any;
3048
+ } | {
3049
+ Raw: any;
3050
+ } | {
3051
+ Address32: any;
3052
+ } | {
3053
+ Address20: any;
3054
+ } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
2642
3055
  /**
2643
3056
  * Stake funds with a pool. The amount to bond is transferred from the member to the
2644
3057
  * pools account and immediately increases the pools bond.
@@ -3082,6 +3495,11 @@ declare module '@polkadot/api-base/types/submittable' {
3082
3495
  requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3083
3496
  /**
3084
3497
  * Clear an unrequested preimage from the runtime storage.
3498
+ *
3499
+ * If `len` is provided, then it will be a much cheaper operation.
3500
+ *
3501
+ * - `hash`: The hash of the preimage to be removed from the store.
3502
+ * - `len`: The length of the preimage of `hash`.
3085
3503
  **/
3086
3504
  unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3087
3505
  /**
@@ -3550,7 +3968,114 @@ declare module '@polkadot/api-base/types/submittable' {
3550
3968
  **/
3551
3969
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
3552
3970
  };
3971
+ referenda: {
3972
+ /**
3973
+ * Cancel an ongoing referendum.
3974
+ *
3975
+ * - `origin`: must be the `CancelOrigin`.
3976
+ * - `index`: The index of the referendum to be cancelled.
3977
+ *
3978
+ * Emits `Cancelled`.
3979
+ **/
3980
+ cancel: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3981
+ /**
3982
+ * Cancel an ongoing referendum and slash the deposits.
3983
+ *
3984
+ * - `origin`: must be the `KillOrigin`.
3985
+ * - `index`: The index of the referendum to be cancelled.
3986
+ *
3987
+ * Emits `Killed` and `DepositSlashed`.
3988
+ **/
3989
+ kill: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3990
+ /**
3991
+ * Advance a referendum onto its next logical state. Only used internally.
3992
+ *
3993
+ * - `origin`: must be `Root`.
3994
+ * - `index`: the referendum to be advanced.
3995
+ **/
3996
+ nudgeReferendum: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3997
+ /**
3998
+ * Advance a track onto its next logical state. Only used internally.
3999
+ *
4000
+ * - `origin`: must be `Root`.
4001
+ * - `track`: the track to be advanced.
4002
+ *
4003
+ * Action item for when there is now one fewer referendum in the deciding phase and the
4004
+ * `DecidingCount` is not yet updated. This means that we should either:
4005
+ * - begin deciding another referendum (and leave `DecidingCount` alone); or
4006
+ * - decrement `DecidingCount`.
4007
+ **/
4008
+ oneFewerDeciding: AugmentedSubmittable<(track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
4009
+ /**
4010
+ * Post the Decision Deposit for a referendum.
4011
+ *
4012
+ * - `origin`: must be `Signed` and the account must have funds available for the
4013
+ * referendum's track's Decision Deposit.
4014
+ * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be
4015
+ * posted.
4016
+ *
4017
+ * Emits `DecisionDepositPlaced`.
4018
+ **/
4019
+ placeDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
4020
+ /**
4021
+ * Refund the Decision Deposit for a closed referendum back to the depositor.
4022
+ *
4023
+ * - `origin`: must be `Signed` or `Root`.
4024
+ * - `index`: The index of a closed referendum whose Decision Deposit has not yet been
4025
+ * refunded.
4026
+ *
4027
+ * Emits `DecisionDepositRefunded`.
4028
+ **/
4029
+ refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
4030
+ /**
4031
+ * Propose a referendum on a privileged action.
4032
+ *
4033
+ * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds
4034
+ * available.
4035
+ * - `proposal_origin`: The origin from which the proposal should be executed.
4036
+ * - `proposal`: The proposal.
4037
+ * - `enactment_moment`: The moment that the proposal should be enacted.
4038
+ *
4039
+ * Emits `Submitted`.
4040
+ **/
4041
+ submit: AugmentedSubmittable<(proposalOrigin: KusamaRuntimeOriginCaller | {
4042
+ system: any;
4043
+ } | {
4044
+ Void: any;
4045
+ } | {
4046
+ Council: any;
4047
+ } | {
4048
+ TechnicalCommittee: any;
4049
+ } | {
4050
+ Origins: any;
4051
+ } | {
4052
+ ParachainsOrigin: any;
4053
+ } | {
4054
+ XcmPallet: any;
4055
+ } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | {
4056
+ Legacy: any;
4057
+ } | {
4058
+ Inline: any;
4059
+ } | {
4060
+ Lookup: any;
4061
+ } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | {
4062
+ At: any;
4063
+ } | {
4064
+ After: any;
4065
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>;
4066
+ /**
4067
+ * Generic tx
4068
+ **/
4069
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
4070
+ };
3553
4071
  registrar: {
4072
+ /**
4073
+ * Add a manager lock from a para. This will prevent the manager of a
4074
+ * para to deregister or swap a para.
4075
+ *
4076
+ * Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
4077
+ **/
4078
+ addLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3554
4079
  /**
3555
4080
  * Deregister a Para Id, freeing all data and returning any deposit.
3556
4081
  *
@@ -3566,13 +4091,6 @@ declare module '@polkadot/api-base/types/submittable' {
3566
4091
  * can be registered, including sub-1000 IDs which are System Parachains.
3567
4092
  **/
3568
4093
  forceRegister: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128, u32, Bytes, Bytes]>;
3569
- /**
3570
- * Remove a manager lock from a para. This will allow the manager of a
3571
- * previously locked para to deregister or swap a para without using governance.
3572
- *
3573
- * Can only be called by the Root origin.
3574
- **/
3575
- forceRemoveLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3576
4094
  /**
3577
4095
  * Register head data and validation code for a reserved Para Id.
3578
4096
  *
@@ -3590,6 +4108,13 @@ declare module '@polkadot/api-base/types/submittable' {
3590
4108
  * The `Registered` event is emitted in case of success.
3591
4109
  **/
3592
4110
  register: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, Bytes]>;
4111
+ /**
4112
+ * Remove a manager lock from a para. This will allow the manager of a
4113
+ * previously locked para to deregister or swap a para without using governance.
4114
+ *
4115
+ * Can only be called by the Root origin or the parachain.
4116
+ **/
4117
+ removeLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3593
4118
  /**
3594
4119
  * Reserve a Para Id on the relay chain.
3595
4120
  *
@@ -3607,6 +4132,18 @@ declare module '@polkadot/api-base/types/submittable' {
3607
4132
  * The `Reserved` event is emitted in case of success, which provides the ID reserved for use.
3608
4133
  **/
3609
4134
  reserve: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4135
+ /**
4136
+ * Schedule a parachain upgrade.
4137
+ *
4138
+ * Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
4139
+ **/
4140
+ scheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
4141
+ /**
4142
+ * Set the parachain's current head.
4143
+ *
4144
+ * Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
4145
+ **/
4146
+ setCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
3610
4147
  /**
3611
4148
  * Swap a parachain with another parachain or parathread.
3612
4149
  *
@@ -3634,15 +4171,11 @@ declare module '@polkadot/api-base/types/submittable' {
3634
4171
  /**
3635
4172
  * Cancel a named scheduled task.
3636
4173
  **/
3637
- cancelNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4174
+ cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
3638
4175
  /**
3639
4176
  * Anonymously schedule a task.
3640
4177
  **/
3641
- schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
3642
- Value: any;
3643
- } | {
3644
- Hash: any;
3645
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;
4178
+ schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
3646
4179
  /**
3647
4180
  * Anonymously schedule a task after a delay.
3648
4181
  *
@@ -3650,19 +4183,11 @@ declare module '@polkadot/api-base/types/submittable' {
3650
4183
  * Same as [`schedule`].
3651
4184
  * # </weight>
3652
4185
  **/
3653
- scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
3654
- Value: any;
3655
- } | {
3656
- Hash: any;
3657
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;
4186
+ scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
3658
4187
  /**
3659
4188
  * Schedule a named task.
3660
4189
  **/
3661
- scheduleNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
3662
- Value: any;
3663
- } | {
3664
- Hash: any;
3665
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;
4190
+ scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
3666
4191
  /**
3667
4192
  * Schedule a named task after a delay.
3668
4193
  *
@@ -3670,11 +4195,7 @@ declare module '@polkadot/api-base/types/submittable' {
3670
4195
  * Same as [`schedule_named`](Self::schedule_named).
3671
4196
  * # </weight>
3672
4197
  **/
3673
- scheduleNamedAfter: AugmentedSubmittable<(id: Bytes | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
3674
- Value: any;
3675
- } | {
3676
- Hash: any;
3677
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;
4198
+ scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
3678
4199
  /**
3679
4200
  * Generic tx
3680
4201
  **/
@@ -4307,7 +4828,8 @@ declare module '@polkadot/api-base/types/submittable' {
4307
4828
  **/
4308
4829
  forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
4309
4830
  /**
4310
- * Increments the ideal number of validators.
4831
+ * Increments the ideal number of validators upto maximum of
4832
+ * `ElectionProviderBase::MaxWinners`.
4311
4833
  *
4312
4834
  * The dispatch origin must be Root.
4313
4835
  *
@@ -4416,7 +4938,8 @@ declare module '@polkadot/api-base/types/submittable' {
4416
4938
  **/
4417
4939
  rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
4418
4940
  /**
4419
- * Scale up the ideal number of validators by a factor.
4941
+ * Scale up the ideal number of validators by a factor upto maximum of
4942
+ * `ElectionProviderBase::MaxWinners`.
4420
4943
  *
4421
4944
  * The dispatch origin must be Root.
4422
4945
  *
@@ -4715,7 +5238,45 @@ declare module '@polkadot/api-base/types/submittable' {
4715
5238
  * - up to 3 events
4716
5239
  * # </weight>
4717
5240
  **/
4718
- 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>]>;
5241
+ close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | {
5242
+ refTime?: any;
5243
+ proofSize?: any;
5244
+ } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
5245
+ /**
5246
+ * Close a vote that is either approved, disapproved or whose voting period has ended.
5247
+ *
5248
+ * May be called by any signed account in order to finish voting and close the proposal.
5249
+ *
5250
+ * If called before the end of the voting period it will only close the vote if it is
5251
+ * has enough votes to be approved or disapproved.
5252
+ *
5253
+ * If called after the end of the voting period abstentions are counted as rejections
5254
+ * unless there is a prime member set and the prime member cast an approval.
5255
+ *
5256
+ * If the close operation completes successfully with disapproval, the transaction fee will
5257
+ * be waived. Otherwise execution of the approved operation will be charged to the caller.
5258
+ *
5259
+ * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
5260
+ * proposal.
5261
+ * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
5262
+ * `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
5263
+ *
5264
+ * # <weight>
5265
+ * ## Weight
5266
+ * - `O(B + M + P1 + P2)` where:
5267
+ * - `B` is `proposal` size in bytes (length-fee-bounded)
5268
+ * - `M` is members-count (code- and governance-bounded)
5269
+ * - `P1` is the complexity of `proposal` preimage.
5270
+ * - `P2` is proposal-count (code-bounded)
5271
+ * - DB:
5272
+ * - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)
5273
+ * - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec
5274
+ * `O(P2)`)
5275
+ * - any mutations done while executing `proposal` (`P1`)
5276
+ * - up to 3 events
5277
+ * # </weight>
5278
+ **/
5279
+ closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
4719
5280
  /**
4720
5281
  * Disapprove a proposal, close, and remove it from the system, regardless of its current
4721
5282
  * state.
@@ -5236,7 +5797,10 @@ declare module '@polkadot/api-base/types/submittable' {
5236
5797
  * Events:
5237
5798
  * - `OverweightServiced`: On success.
5238
5799
  **/
5239
- serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Weight]>;
5800
+ serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
5801
+ refTime?: any;
5802
+ proofSize?: any;
5803
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, SpWeightsWeightV2Weight]>;
5240
5804
  /**
5241
5805
  * Generic tx
5242
5806
  **/
@@ -5262,13 +5826,13 @@ declare module '@polkadot/api-base/types/submittable' {
5262
5826
  /**
5263
5827
  * Send a batch of dispatch calls.
5264
5828
  *
5265
- * May be called from any origin.
5829
+ * May be called from any origin except `None`.
5266
5830
  *
5267
5831
  * - `calls`: The calls to be dispatched from the same origin. The number of call must not
5268
5832
  * exceed the constant: `batched_calls_limit` (available in constant metadata).
5269
5833
  *
5270
- * If origin is root then call are dispatch without checking origin filter. (This includes
5271
- * bypassing `frame_system::Config::BaseCallFilter`).
5834
+ * If origin is root then the calls are dispatched without checking origin filter. (This
5835
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
5272
5836
  *
5273
5837
  * # <weight>
5274
5838
  * - Complexity: O(C) where C is the number of calls to be batched.
@@ -5285,13 +5849,13 @@ declare module '@polkadot/api-base/types/submittable' {
5285
5849
  * Send a batch of dispatch calls and atomically execute them.
5286
5850
  * The whole transaction will rollback and fail if any of the calls failed.
5287
5851
  *
5288
- * May be called from any origin.
5852
+ * May be called from any origin except `None`.
5289
5853
  *
5290
5854
  * - `calls`: The calls to be dispatched from the same origin. The number of call must not
5291
5855
  * exceed the constant: `batched_calls_limit` (available in constant metadata).
5292
5856
  *
5293
- * If origin is root then call are dispatch without checking origin filter. (This includes
5294
- * bypassing `frame_system::Config::BaseCallFilter`).
5857
+ * If origin is root then the calls are dispatched without checking origin filter. (This
5858
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
5295
5859
  *
5296
5860
  * # <weight>
5297
5861
  * - Complexity: O(C) where C is the number of calls to be batched.
@@ -5318,6 +5882,8 @@ declare module '@polkadot/api-base/types/submittable' {
5318
5882
  Council: any;
5319
5883
  } | {
5320
5884
  TechnicalCommittee: any;
5885
+ } | {
5886
+ Origins: any;
5321
5887
  } | {
5322
5888
  ParachainsOrigin: any;
5323
5889
  } | {
@@ -5327,13 +5893,13 @@ declare module '@polkadot/api-base/types/submittable' {
5327
5893
  * Send a batch of dispatch calls.
5328
5894
  * Unlike `batch`, it allows errors and won't interrupt.
5329
5895
  *
5330
- * May be called from any origin.
5896
+ * May be called from any origin except `None`.
5331
5897
  *
5332
5898
  * - `calls`: The calls to be dispatched from the same origin. The number of call must not
5333
5899
  * exceed the constant: `batched_calls_limit` (available in constant metadata).
5334
5900
  *
5335
- * If origin is root then call are dispatch without checking origin filter. (This includes
5336
- * bypassing `frame_system::Config::BaseCallFilter`).
5901
+ * If origin is root then the calls are dispatch without checking origin filter. (This
5902
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
5337
5903
  *
5338
5904
  * # <weight>
5339
5905
  * - Complexity: O(C) where C is the number of calls to be batched.
@@ -5548,6 +6114,19 @@ declare module '@polkadot/api-base/types/submittable' {
5548
6114
  **/
5549
6115
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
5550
6116
  };
6117
+ whitelist: {
6118
+ dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callWeightWitness: SpWeightsWeightV2Weight | {
6119
+ refTime?: any;
6120
+ proofSize?: any;
6121
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, SpWeightsWeightV2Weight]>;
6122
+ dispatchWhitelistedCallWithPreimage: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
6123
+ removeWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
6124
+ whitelistCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
6125
+ /**
6126
+ * Generic tx
6127
+ **/
6128
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
6129
+ };
5551
6130
  xcmPallet: {
5552
6131
  /**
5553
6132
  * Execute an XCM message from a local, signed, origin.
@@ -5568,7 +6147,7 @@ declare module '@polkadot/api-base/types/submittable' {
5568
6147
  V1: any;
5569
6148
  } | {
5570
6149
  V2: any;
5571
- } | string | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, Weight]>;
6150
+ } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;
5572
6151
  /**
5573
6152
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
5574
6153
  * version a destination can accept is unknown).