@pezkuwi/api-augment 16.5.5

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 (67) hide show
  1. package/README.md +3 -0
  2. package/build/base.d.ts +2 -0
  3. package/build/bundle.d.ts +2 -0
  4. package/build/index.d.ts +2 -0
  5. package/build/packageDetect.d.ts +1 -0
  6. package/build/packageInfo.d.ts +6 -0
  7. package/build/substrate/consts.d.ts +1876 -0
  8. package/build/substrate/errors.d.ts +3865 -0
  9. package/build/substrate/events.d.ts +4702 -0
  10. package/build/substrate/index.d.ts +8 -0
  11. package/build/substrate/query.d.ts +2767 -0
  12. package/build/substrate/registry.d.ts +1 -0
  13. package/build/substrate/runtime.d.ts +741 -0
  14. package/build/substrate/tx.d.ts +10869 -0
  15. package/package.json +32 -0
  16. package/src/assetHubKusama/consts.ts +1308 -0
  17. package/src/assetHubKusama/errors.ts +2779 -0
  18. package/src/assetHubKusama/events.ts +2296 -0
  19. package/src/assetHubKusama/index.ts +11 -0
  20. package/src/assetHubKusama/query.ts +2193 -0
  21. package/src/assetHubKusama/registry.ts +4 -0
  22. package/src/assetHubKusama/runtime.ts +518 -0
  23. package/src/assetHubKusama/tx.ts +6890 -0
  24. package/src/assetHubPolkadot/consts.ts +1125 -0
  25. package/src/assetHubPolkadot/errors.ts +2360 -0
  26. package/src/assetHubPolkadot/events.ts +2129 -0
  27. package/src/assetHubPolkadot/index.ts +11 -0
  28. package/src/assetHubPolkadot/query.ts +2002 -0
  29. package/src/assetHubPolkadot/registry.ts +4 -0
  30. package/src/assetHubPolkadot/runtime.ts +443 -0
  31. package/src/assetHubPolkadot/tx.ts +6242 -0
  32. package/src/base.ts +6 -0
  33. package/src/bundle.ts +6 -0
  34. package/src/index.ts +6 -0
  35. package/src/kusama/consts.ts +1035 -0
  36. package/src/kusama/errors.ts +2436 -0
  37. package/src/kusama/events.ts +1791 -0
  38. package/src/kusama/index.ts +11 -0
  39. package/src/kusama/query.ts +2505 -0
  40. package/src/kusama/registry.ts +6 -0
  41. package/src/kusama/runtime.ts +610 -0
  42. package/src/kusama/tx.ts +4725 -0
  43. package/src/mod.ts +4 -0
  44. package/src/packageDetect.ts +14 -0
  45. package/src/packageInfo.ts +6 -0
  46. package/src/polkadot/consts.ts +949 -0
  47. package/src/polkadot/errors.ts +2156 -0
  48. package/src/polkadot/events.ts +1600 -0
  49. package/src/polkadot/index.ts +11 -0
  50. package/src/polkadot/query.ts +2357 -0
  51. package/src/polkadot/registry.ts +5 -0
  52. package/src/polkadot/runtime.ts +621 -0
  53. package/src/polkadot/tx.ts +4240 -0
  54. package/src/substrate/consts.ts +1884 -0
  55. package/src/substrate/errors.ts +3873 -0
  56. package/src/substrate/events.ts +2889 -0
  57. package/src/substrate/index.ts +11 -0
  58. package/src/substrate/query.ts +2734 -0
  59. package/src/substrate/registry.ts +4 -0
  60. package/src/substrate/runtime.ts +593 -0
  61. package/src/substrate/tx.ts +8208 -0
  62. package/tsconfig.assetHubKusama.json +22 -0
  63. package/tsconfig.assetHubPolkadot.json +22 -0
  64. package/tsconfig.build.json +23 -0
  65. package/tsconfig.build.tsbuildinfo +1 -0
  66. package/tsconfig.kusama.json +22 -0
  67. package/tsconfig.polkadot.json +22 -0
@@ -0,0 +1,4240 @@
1
+ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
3
+
4
+ // import type lookup before we augment - in some environments
5
+ // this is required to allow for ambient/previous definitions
6
+ import '@polkadot/api-base/types/submittable';
7
+
8
+ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@pezkuwi/api-base/types';
9
+ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
10
+ import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
11
+ import type { EthereumAddress } from '@pezkuwi/types/interfaces/eth';
12
+ import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@pezkuwi/types/interfaces/runtime';
13
+ import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletRcMigratorManagerMultisigVote, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingDisputeProof, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
14
+
15
+ export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
16
+ export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
17
+ export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
18
+
19
+ declare module '@polkadot/api-base/types/submittable' {
20
+ interface AugmentedSubmittables<ApiType extends ApiTypes> {
21
+ assetRate: {
22
+ /**
23
+ * Initialize a conversion rate to native balance for the given asset.
24
+ *
25
+ * ## Complexity
26
+ * - O(1)
27
+ **/
28
+ create: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, u128]>;
29
+ /**
30
+ * Remove an existing conversion rate to native balance for the given asset.
31
+ *
32
+ * ## Complexity
33
+ * - O(1)
34
+ **/
35
+ remove: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]>;
36
+ /**
37
+ * Update the conversion rate to native balance for the given asset.
38
+ *
39
+ * ## Complexity
40
+ * - O(1)
41
+ **/
42
+ update: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, u128]>;
43
+ /**
44
+ * Generic tx
45
+ **/
46
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
47
+ };
48
+ auctions: {
49
+ /**
50
+ * Make a new bid from an account (including a parachain account) for deploying a new
51
+ * parachain.
52
+ *
53
+ * Multiple simultaneous bids from the same bidder are allowed only as long as all active
54
+ * bids overlap each other (i.e. are mutually exclusive). Bids cannot be redacted.
55
+ *
56
+ * - `sub` is the sub-bidder ID, allowing for multiple competing bids to be made by (and
57
+ * funded by) the same account.
58
+ * - `auction_index` is the index of the auction to bid on. Should just be the present
59
+ * value of `AuctionCounter`.
60
+ * - `first_slot` is the first lease period index of the range to bid on. This is the
61
+ * absolute lease period index value, not an auction-specific offset.
62
+ * - `last_slot` is the last lease period index of the range to bid on. This is the
63
+ * absolute lease period index value, not an auction-specific offset.
64
+ * - `amount` is the amount to bid to be held as deposit for the parachain should the
65
+ * bid win. This amount is held throughout the range.
66
+ **/
67
+ bid: AugmentedSubmittable<(para: Compact<u32> | AnyNumber | Uint8Array, auctionIndex: Compact<u32> | AnyNumber | Uint8Array, firstSlot: Compact<u32> | AnyNumber | Uint8Array, lastSlot: Compact<u32> | AnyNumber | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, Compact<u32>, Compact<u32>, Compact<u128>]>;
68
+ /**
69
+ * Cancel an in-progress auction.
70
+ *
71
+ * Can only be called by Root origin.
72
+ **/
73
+ cancelAuction: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
74
+ /**
75
+ * Create a new auction.
76
+ *
77
+ * This can only happen when there isn't already an auction in progress and may only be
78
+ * called by the root origin. Accepts the `duration` of this auction and the
79
+ * `lease_period_index` of the initial lease period of the four that are to be auctioned.
80
+ **/
81
+ newAuction: AugmentedSubmittable<(duration: Compact<u32> | AnyNumber | Uint8Array, leasePeriodIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
82
+ /**
83
+ * Generic tx
84
+ **/
85
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
86
+ };
87
+ babe: {
88
+ /**
89
+ * Plan an epoch config change. The epoch config change is recorded and will be enacted on
90
+ * the next call to `enact_epoch_change`. The config will be activated one epoch after.
91
+ * Multiple calls to this method will replace any existing planned config change that had
92
+ * not been enacted yet.
93
+ **/
94
+ planConfigChange: AugmentedSubmittable<(config: SpConsensusBabeDigestsNextConfigDescriptor | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBabeDigestsNextConfigDescriptor]>;
95
+ /**
96
+ * Report authority equivocation/misbehavior. This method will verify
97
+ * the equivocation proof and validate the given key ownership proof
98
+ * against the extracted offender. If both are valid, the offence will
99
+ * be reported.
100
+ **/
101
+ reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusSlotsEquivocationProof | { offender?: any; slot?: any; firstHeader?: any; secondHeader?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof]>;
102
+ /**
103
+ * Report authority equivocation/misbehavior. This method will verify
104
+ * the equivocation proof and validate the given key ownership proof
105
+ * against the extracted offender. If both are valid, the offence will
106
+ * be reported.
107
+ * This extrinsic must be called unsigned and it is expected that only
108
+ * block authors will call it (validated in `ValidateUnsigned`), as such
109
+ * if the block author is defined it will be defined as the equivocation
110
+ * reporter.
111
+ **/
112
+ reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusSlotsEquivocationProof | { offender?: any; slot?: any; firstHeader?: any; secondHeader?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof]>;
113
+ /**
114
+ * Generic tx
115
+ **/
116
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
117
+ };
118
+ balances: {
119
+ /**
120
+ * Burn the specified liquid free balance from the origin account.
121
+ *
122
+ * If the origin's account ends up below the existential deposit as a result
123
+ * of the burn and `keep_alive` is false, the account will be reaped.
124
+ *
125
+ * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
126
+ * this `burn` operation will reduce total issuance by the amount _burned_.
127
+ **/
128
+ burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
129
+ /**
130
+ * Adjust the total issuance in a saturating way.
131
+ *
132
+ * Can only be called by root and always needs a positive `delta`.
133
+ *
134
+ * # Example
135
+ **/
136
+ forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
137
+ /**
138
+ * Set the regular balance of a given account.
139
+ *
140
+ * The dispatch origin for this call is `root`.
141
+ **/
142
+ forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
143
+ /**
144
+ * Exactly as `transfer_allow_death`, except the origin must be root and the source account
145
+ * may be specified.
146
+ **/
147
+ forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
148
+ /**
149
+ * Unreserve some balance from a user by force.
150
+ *
151
+ * Can only be called by ROOT.
152
+ **/
153
+ forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
154
+ /**
155
+ * Transfer the entire transferable balance from the caller account.
156
+ *
157
+ * NOTE: This function only attempts to transfer _transferable_ balances. This means that
158
+ * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
159
+ * transferred by this function. To ensure that this function results in a killed account,
160
+ * you might need to prepare the account by removing any reference counters, storage
161
+ * deposits, etc...
162
+ *
163
+ * The dispatch origin of this call must be Signed.
164
+ *
165
+ * - `dest`: The recipient of the transfer.
166
+ * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
167
+ * of the funds the account has, causing the sender account to be killed (false), or
168
+ * transfer everything except at least the existential deposit, which will guarantee to
169
+ * keep the sender account alive (true).
170
+ **/
171
+ transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
172
+ /**
173
+ * Transfer some liquid free balance to another account.
174
+ *
175
+ * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
176
+ * If the sender's account is below the existential deposit as a result
177
+ * of the transfer, the account will be reaped.
178
+ *
179
+ * The dispatch origin for this call must be `Signed` by the transactor.
180
+ **/
181
+ transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
182
+ /**
183
+ * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
184
+ * kill the origin account.
185
+ *
186
+ * 99% of the time you want [`transfer_allow_death`] instead.
187
+ *
188
+ * [`transfer_allow_death`]: struct.Pallet.html#method.transfer
189
+ **/
190
+ transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
191
+ /**
192
+ * Upgrade a specified account.
193
+ *
194
+ * - `origin`: Must be `Signed`.
195
+ * - `who`: The account to be upgraded.
196
+ *
197
+ * This will waive the transaction fee if at least all but 10% of the accounts needed to
198
+ * be upgraded. (We let some not have to be upgraded just in order to allow for the
199
+ * possibility of churn).
200
+ **/
201
+ upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
202
+ /**
203
+ * Generic tx
204
+ **/
205
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
206
+ };
207
+ beefy: {
208
+ /**
209
+ * Report voter equivocation/misbehavior. This method will verify the
210
+ * equivocation proof and validate the given key ownership proof
211
+ * against the extracted offender. If both are valid, the offence
212
+ * will be reported.
213
+ **/
214
+ reportDoubleVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
215
+ /**
216
+ * Report voter equivocation/misbehavior. This method will verify the
217
+ * equivocation proof and validate the given key ownership proof
218
+ * against the extracted offender. If both are valid, the offence
219
+ * will be reported.
220
+ *
221
+ * This extrinsic must be called unsigned and it is expected that only
222
+ * block authors will call it (validated in `ValidateUnsigned`), as such
223
+ * if the block author is defined it will be defined as the equivocation
224
+ * reporter.
225
+ **/
226
+ reportDoubleVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
227
+ /**
228
+ * Report fork voting equivocation. This method will verify the equivocation proof
229
+ * and validate the given key ownership proof against the extracted offender.
230
+ * If both are valid, the offence will be reported.
231
+ **/
232
+ reportForkVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProofAncestryProof | { vote?: any; ancestryProof?: any; header?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyForkVotingProofAncestryProof, SpSessionMembershipProof]>;
233
+ /**
234
+ * Report fork voting equivocation. This method will verify the equivocation proof
235
+ * and validate the given key ownership proof against the extracted offender.
236
+ * If both are valid, the offence will be reported.
237
+ *
238
+ * This extrinsic must be called unsigned and it is expected that only
239
+ * block authors will call it (validated in `ValidateUnsigned`), as such
240
+ * if the block author is defined it will be defined as the equivocation
241
+ * reporter.
242
+ **/
243
+ reportForkVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProofAncestryProof | { vote?: any; ancestryProof?: any; header?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyForkVotingProofAncestryProof, SpSessionMembershipProof]>;
244
+ /**
245
+ * Report future block voting equivocation. This method will verify the equivocation proof
246
+ * and validate the given key ownership proof against the extracted offender.
247
+ * If both are valid, the offence will be reported.
248
+ **/
249
+ reportFutureBlockVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | { vote?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyFutureBlockVotingProof, SpSessionMembershipProof]>;
250
+ /**
251
+ * Report future block voting equivocation. This method will verify the equivocation proof
252
+ * and validate the given key ownership proof against the extracted offender.
253
+ * If both are valid, the offence will be reported.
254
+ *
255
+ * This extrinsic must be called unsigned and it is expected that only
256
+ * block authors will call it (validated in `ValidateUnsigned`), as such
257
+ * if the block author is defined it will be defined as the equivocation
258
+ * reporter.
259
+ **/
260
+ reportFutureBlockVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | { vote?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyFutureBlockVotingProof, SpSessionMembershipProof]>;
261
+ /**
262
+ * Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
263
+ * future.
264
+ *
265
+ * Note: `delay_in_blocks` has to be at least 1.
266
+ **/
267
+ setNewGenesis: AugmentedSubmittable<(delayInBlocks: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
268
+ /**
269
+ * Generic tx
270
+ **/
271
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
272
+ };
273
+ bounties: {
274
+ /**
275
+ * Accept the curator role for a bounty.
276
+ * A deposit will be reserved from curator and refund upon successful payout.
277
+ *
278
+ * May only be called from the curator.
279
+ *
280
+ * ## Complexity
281
+ * - O(1).
282
+ **/
283
+ acceptCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
284
+ /**
285
+ * Approve a bounty proposal. At a later time, the bounty will be funded and become active
286
+ * and the original deposit will be returned.
287
+ *
288
+ * May only be called from `T::SpendOrigin`.
289
+ *
290
+ * ## Complexity
291
+ * - O(1).
292
+ **/
293
+ approveBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
294
+ /**
295
+ * Approve bountry and propose a curator simultaneously.
296
+ * This call is a shortcut to calling `approve_bounty` and `propose_curator` separately.
297
+ *
298
+ * May only be called from `T::SpendOrigin`.
299
+ *
300
+ * - `bounty_id`: Bounty ID to approve.
301
+ * - `curator`: The curator account whom will manage this bounty.
302
+ * - `fee`: The curator fee.
303
+ *
304
+ * ## Complexity
305
+ * - O(1).
306
+ **/
307
+ approveBountyWithCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
308
+ /**
309
+ * Award bounty to a beneficiary account. The beneficiary will be able to claim the funds
310
+ * after a delay.
311
+ *
312
+ * The dispatch origin for this call must be the curator of this bounty.
313
+ *
314
+ * - `bounty_id`: Bounty ID to award.
315
+ * - `beneficiary`: The beneficiary account whom will receive the payout.
316
+ *
317
+ * ## Complexity
318
+ * - O(1).
319
+ **/
320
+ awardBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
321
+ /**
322
+ * Claim the payout from an awarded bounty after payout delay.
323
+ *
324
+ * The dispatch origin for this call must be the beneficiary of this bounty.
325
+ *
326
+ * - `bounty_id`: Bounty ID to claim.
327
+ *
328
+ * ## Complexity
329
+ * - O(1).
330
+ **/
331
+ claimBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
332
+ /**
333
+ * Cancel a proposed or active bounty. All the funds will be sent to treasury and
334
+ * the curator deposit will be unreserved if possible.
335
+ *
336
+ * Only `T::RejectOrigin` is able to cancel a bounty.
337
+ *
338
+ * - `bounty_id`: Bounty ID to cancel.
339
+ *
340
+ * ## Complexity
341
+ * - O(1).
342
+ **/
343
+ closeBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
344
+ /**
345
+ * Extend the expiry time of an active bounty.
346
+ *
347
+ * The dispatch origin for this call must be the curator of this bounty.
348
+ *
349
+ * - `bounty_id`: Bounty ID to extend.
350
+ * - `remark`: additional information.
351
+ *
352
+ * ## Complexity
353
+ * - O(1).
354
+ **/
355
+ extendBountyExpiry: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Bytes]>;
356
+ /**
357
+ * Poke the deposit reserved for creating a bounty proposal.
358
+ *
359
+ * This can be used by accounts to update their reserved amount.
360
+ *
361
+ * The dispatch origin for this call must be _Signed_.
362
+ *
363
+ * Parameters:
364
+ * - `bounty_id`: The bounty id for which to adjust the deposit.
365
+ *
366
+ * If the deposit is updated, the difference will be reserved/unreserved from the
367
+ * proposer's account.
368
+ *
369
+ * The transaction is made free if the deposit is updated and paid otherwise.
370
+ *
371
+ * Emits `DepositPoked` if the deposit is updated.
372
+ **/
373
+ pokeDeposit: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
374
+ /**
375
+ * Propose a new bounty.
376
+ *
377
+ * The dispatch origin for this call must be _Signed_.
378
+ *
379
+ * Payment: `TipReportDepositBase` will be reserved from the origin account, as well as
380
+ * `DataDepositPerByte` for each byte in `reason`. It will be unreserved upon approval,
381
+ * or slashed when rejected.
382
+ *
383
+ * - `curator`: The curator account whom will manage this bounty.
384
+ * - `fee`: The curator fee.
385
+ * - `value`: The total payment amount of this bounty, curator fee included.
386
+ * - `description`: The description of this bounty.
387
+ **/
388
+ proposeBounty: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, description: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Bytes]>;
389
+ /**
390
+ * Propose a curator to a funded bounty.
391
+ *
392
+ * May only be called from `T::SpendOrigin`.
393
+ *
394
+ * ## Complexity
395
+ * - O(1).
396
+ **/
397
+ proposeCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
398
+ /**
399
+ * Unassign curator from a bounty.
400
+ *
401
+ * This function can only be called by the `RejectOrigin` a signed origin.
402
+ *
403
+ * If this function is called by the `RejectOrigin`, we assume that the curator is
404
+ * malicious or inactive. As a result, we will slash the curator when possible.
405
+ *
406
+ * If the origin is the curator, we take this as a sign they are unable to do their job and
407
+ * they willingly give up. We could slash them, but for now we allow them to recover their
408
+ * deposit and exit without issue. (We may want to change this if it is abused.)
409
+ *
410
+ * Finally, the origin can be anyone if and only if the curator is "inactive". This allows
411
+ * anyone in the community to call out that a curator is not doing their due diligence, and
412
+ * we should pick a new curator. In this case the curator should also be slashed.
413
+ *
414
+ * ## Complexity
415
+ * - O(1).
416
+ **/
417
+ unassignCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
418
+ /**
419
+ * Generic tx
420
+ **/
421
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
422
+ };
423
+ childBounties: {
424
+ /**
425
+ * Accept the curator role for the child-bounty.
426
+ *
427
+ * The dispatch origin for this call must be the curator of this
428
+ * child-bounty.
429
+ *
430
+ * A deposit will be reserved from the curator and refund upon
431
+ * successful payout or cancellation.
432
+ *
433
+ * Fee for curator is deducted from curator fee of parent bounty.
434
+ *
435
+ * Parent bounty must be in active state, for this child-bounty call to
436
+ * work.
437
+ *
438
+ * Child-bounty must be in "CuratorProposed" state, for processing the
439
+ * call. And state of child-bounty is moved to "Active" on successful
440
+ * call completion.
441
+ *
442
+ * - `parent_bounty_id`: Index of parent bounty.
443
+ * - `child_bounty_id`: Index of child bounty.
444
+ **/
445
+ acceptCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
446
+ /**
447
+ * Add a new child-bounty.
448
+ *
449
+ * The dispatch origin for this call must be the curator of parent
450
+ * bounty and the parent bounty must be in "active" state.
451
+ *
452
+ * Child-bounty gets added successfully & fund gets transferred from
453
+ * parent bounty to child-bounty account, if parent bounty has enough
454
+ * funds, else the call fails.
455
+ *
456
+ * Upper bound to maximum number of active child bounties that can be
457
+ * added are managed via runtime trait config
458
+ * [`Config::MaxActiveChildBountyCount`].
459
+ *
460
+ * If the call is success, the status of child-bounty is updated to
461
+ * "Added".
462
+ *
463
+ * - `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.
464
+ * - `value`: Value for executing the proposal.
465
+ * - `description`: Text description for the child-bounty.
466
+ **/
467
+ addChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, description: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Bytes]>;
468
+ /**
469
+ * Award child-bounty to a beneficiary.
470
+ *
471
+ * The beneficiary will be able to claim the funds after a delay.
472
+ *
473
+ * The dispatch origin for this call must be the parent curator or
474
+ * curator of this child-bounty.
475
+ *
476
+ * Parent bounty must be in active state, for this child-bounty call to
477
+ * work.
478
+ *
479
+ * Child-bounty must be in active state, for processing the call. And
480
+ * state of child-bounty is moved to "PendingPayout" on successful call
481
+ * completion.
482
+ *
483
+ * - `parent_bounty_id`: Index of parent bounty.
484
+ * - `child_bounty_id`: Index of child bounty.
485
+ * - `beneficiary`: Beneficiary account.
486
+ **/
487
+ awardChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, MultiAddress]>;
488
+ /**
489
+ * Claim the payout from an awarded child-bounty after payout delay.
490
+ *
491
+ * The dispatch origin for this call may be any signed origin.
492
+ *
493
+ * Call works independent of parent bounty state, No need for parent
494
+ * bounty to be in active state.
495
+ *
496
+ * The Beneficiary is paid out with agreed bounty value. Curator fee is
497
+ * paid & curator deposit is unreserved.
498
+ *
499
+ * Child-bounty must be in "PendingPayout" state, for processing the
500
+ * call. And instance of child-bounty is removed from the state on
501
+ * successful call completion.
502
+ *
503
+ * - `parent_bounty_id`: Index of parent bounty.
504
+ * - `child_bounty_id`: Index of child bounty.
505
+ **/
506
+ claimChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
507
+ /**
508
+ * Cancel a proposed or active child-bounty. Child-bounty account funds
509
+ * are transferred to parent bounty account. The child-bounty curator
510
+ * deposit may be unreserved if possible.
511
+ *
512
+ * The dispatch origin for this call must be either parent curator or
513
+ * `T::RejectOrigin`.
514
+ *
515
+ * If the state of child-bounty is `Active`, curator deposit is
516
+ * unreserved.
517
+ *
518
+ * If the state of child-bounty is `PendingPayout`, call fails &
519
+ * returns `PendingPayout` error.
520
+ *
521
+ * For the origin other than T::RejectOrigin, parent bounty must be in
522
+ * active state, for this child-bounty call to work. For origin
523
+ * T::RejectOrigin execution is forced.
524
+ *
525
+ * Instance of child-bounty is removed from the state on successful
526
+ * call completion.
527
+ *
528
+ * - `parent_bounty_id`: Index of parent bounty.
529
+ * - `child_bounty_id`: Index of child bounty.
530
+ **/
531
+ closeChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
532
+ /**
533
+ * Propose curator for funded child-bounty.
534
+ *
535
+ * The dispatch origin for this call must be curator of parent bounty.
536
+ *
537
+ * Parent bounty must be in active state, for this child-bounty call to
538
+ * work.
539
+ *
540
+ * Child-bounty must be in "Added" state, for processing the call. And
541
+ * state of child-bounty is moved to "CuratorProposed" on successful
542
+ * call completion.
543
+ *
544
+ * - `parent_bounty_id`: Index of parent bounty.
545
+ * - `child_bounty_id`: Index of child bounty.
546
+ * - `curator`: Address of child-bounty curator.
547
+ * - `fee`: payment fee to child-bounty curator for execution.
548
+ **/
549
+ proposeCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, MultiAddress, Compact<u128>]>;
550
+ /**
551
+ * Unassign curator from a child-bounty.
552
+ *
553
+ * The dispatch origin for this call can be either `RejectOrigin`, or
554
+ * the curator of the parent bounty, or any signed origin.
555
+ *
556
+ * For the origin other than T::RejectOrigin and the child-bounty
557
+ * curator, parent bounty must be in active state, for this call to
558
+ * work. We allow child-bounty curator and T::RejectOrigin to execute
559
+ * this call irrespective of the parent bounty state.
560
+ *
561
+ * If this function is called by the `RejectOrigin` or the
562
+ * parent bounty curator, we assume that the child-bounty curator is
563
+ * malicious or inactive. As a result, child-bounty curator deposit is
564
+ * slashed.
565
+ *
566
+ * If the origin is the child-bounty curator, we take this as a sign
567
+ * that they are unable to do their job, and are willingly giving up.
568
+ * We could slash the deposit, but for now we allow them to unreserve
569
+ * their deposit and exit without issue. (We may want to change this if
570
+ * it is abused.)
571
+ *
572
+ * Finally, the origin can be anyone iff the child-bounty curator is
573
+ * "inactive". Expiry update due of parent bounty is used to estimate
574
+ * inactive state of child-bounty curator.
575
+ *
576
+ * This allows anyone in the community to call out that a child-bounty
577
+ * curator is not doing their due diligence, and we should pick a new
578
+ * one. In this case the child-bounty curator deposit is slashed.
579
+ *
580
+ * State of child-bounty is moved to Added state on successful call
581
+ * completion.
582
+ *
583
+ * - `parent_bounty_id`: Index of parent bounty.
584
+ * - `child_bounty_id`: Index of child bounty.
585
+ **/
586
+ unassignCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
587
+ /**
588
+ * Generic tx
589
+ **/
590
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
591
+ };
592
+ claims: {
593
+ /**
594
+ * Attest to a statement, needed to finalize the claims process.
595
+ *
596
+ * WARNING: Insecure unless your chain includes `PrevalidateAttests` as a
597
+ * `TransactionExtension`.
598
+ *
599
+ * Unsigned Validation:
600
+ * A call to attest is deemed valid if the sender has a `Preclaim` registered
601
+ * and provides a `statement` which is expected for the account.
602
+ *
603
+ * Parameters:
604
+ * - `statement`: The identity of the statement which is being attested to in the
605
+ * signature.
606
+ *
607
+ * <weight>
608
+ * The weight of this call is invariant over the input parameters.
609
+ * Weight includes logic to do pre-validation on `attest` call.
610
+ *
611
+ * Total Complexity: O(1)
612
+ * </weight>
613
+ **/
614
+ attest: AugmentedSubmittable<(statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
615
+ /**
616
+ * Make a claim to collect your DOTs.
617
+ *
618
+ * The dispatch origin for this call must be _None_.
619
+ *
620
+ * Unsigned Validation:
621
+ * A call to claim is deemed valid if the signature provided matches
622
+ * the expected signed message of:
623
+ *
624
+ * > Ethereum Signed Message:
625
+ * > (configured prefix string)(address)
626
+ *
627
+ * and `address` matches the `dest` account.
628
+ *
629
+ * Parameters:
630
+ * - `dest`: The destination account to payout the claim.
631
+ * - `ethereum_signature`: The signature of an ethereum signed message matching the format
632
+ * described above.
633
+ *
634
+ * <weight>
635
+ * The weight of this call is invariant over the input parameters.
636
+ * Weight includes logic to validate unsigned `claim` call.
637
+ *
638
+ * Total Complexity: O(1)
639
+ * </weight>
640
+ **/
641
+ claim: AugmentedSubmittable<(dest: AccountId32 | string | Uint8Array, ethereumSignature: PolkadotRuntimeCommonClaimsEcdsaSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PolkadotRuntimeCommonClaimsEcdsaSignature]>;
642
+ /**
643
+ * Make a claim to collect your DOTs by signing a statement.
644
+ *
645
+ * The dispatch origin for this call must be _None_.
646
+ *
647
+ * Unsigned Validation:
648
+ * A call to `claim_attest` is deemed valid if the signature provided matches
649
+ * the expected signed message of:
650
+ *
651
+ * > Ethereum Signed Message:
652
+ * > (configured prefix string)(address)(statement)
653
+ *
654
+ * and `address` matches the `dest` account; the `statement` must match that which is
655
+ * expected according to your purchase arrangement.
656
+ *
657
+ * Parameters:
658
+ * - `dest`: The destination account to payout the claim.
659
+ * - `ethereum_signature`: The signature of an ethereum signed message matching the format
660
+ * described above.
661
+ * - `statement`: The identity of the statement which is being attested to in the
662
+ * signature.
663
+ *
664
+ * <weight>
665
+ * The weight of this call is invariant over the input parameters.
666
+ * Weight includes logic to validate unsigned `claim_attest` call.
667
+ *
668
+ * Total Complexity: O(1)
669
+ * </weight>
670
+ **/
671
+ claimAttest: AugmentedSubmittable<(dest: AccountId32 | string | Uint8Array, ethereumSignature: PolkadotRuntimeCommonClaimsEcdsaSignature | string | Uint8Array, statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PolkadotRuntimeCommonClaimsEcdsaSignature, Bytes]>;
672
+ /**
673
+ * Mint a new claim to collect DOTs.
674
+ *
675
+ * The dispatch origin for this call must be _Root_.
676
+ *
677
+ * Parameters:
678
+ * - `who`: The Ethereum address allowed to collect this claim.
679
+ * - `value`: The number of DOTs that will be claimed.
680
+ * - `vesting_schedule`: An optional vesting schedule for these DOTs.
681
+ *
682
+ * <weight>
683
+ * The weight of this call is invariant over the input parameters.
684
+ * We assume worst case that both vesting and statement is being inserted.
685
+ *
686
+ * Total Complexity: O(1)
687
+ * </weight>
688
+ **/
689
+ mintClaim: AugmentedSubmittable<(who: EthereumAddress | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, vestingSchedule: Option<ITuple<[u128, u128, u32]>> | null | Uint8Array | ITuple<[u128, u128, u32]> | [u128 | AnyNumber | Uint8Array, u128 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], statement: Option<PolkadotRuntimeCommonClaimsStatementKind> | null | Uint8Array | PolkadotRuntimeCommonClaimsStatementKind | 'Regular' | 'Saft' | number) => SubmittableExtrinsic<ApiType>, [EthereumAddress, u128, Option<ITuple<[u128, u128, u32]>>, Option<PolkadotRuntimeCommonClaimsStatementKind>]>;
690
+ moveClaim: AugmentedSubmittable<(old: EthereumAddress | string | Uint8Array, updated: EthereumAddress | string | Uint8Array, maybePreclaim: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [EthereumAddress, EthereumAddress, Option<AccountId32>]>;
691
+ /**
692
+ * Generic tx
693
+ **/
694
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
695
+ };
696
+ configuration: {
697
+ /**
698
+ * Set approval-voting-params.
699
+ **/
700
+ setApprovalVotingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8ApprovalVotingParams | { maxApprovalCoalesceCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8ApprovalVotingParams]>;
701
+ /**
702
+ * Set the asynchronous backing parameters.
703
+ **/
704
+ setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams | { maxCandidateDepth?: any; allowedAncestryLen?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8AsyncBackingAsyncBackingParams]>;
705
+ /**
706
+ * Setting this to true will disable consistency checks for the configuration setters.
707
+ * Use with caution.
708
+ **/
709
+ setBypassConsistencyCheck: AugmentedSubmittable<(updated: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
710
+ /**
711
+ * Set the acceptance period for an included candidate.
712
+ **/
713
+ setCodeRetentionPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
714
+ /**
715
+ * Set the number of coretime execution cores.
716
+ *
717
+ * NOTE: that this configuration is managed by the coretime chain. Only manually change
718
+ * this, if you really know what you are doing!
719
+ **/
720
+ setCoretimeCores: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
721
+ /**
722
+ * Set the dispute period, in number of sessions to keep for disputes.
723
+ **/
724
+ setDisputePeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
725
+ /**
726
+ * Set the dispute post conclusion acceptance period.
727
+ **/
728
+ setDisputePostConclusionAcceptancePeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
729
+ /**
730
+ * Set PVF executor parameters.
731
+ **/
732
+ setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8ExecutorParams]>;
733
+ /**
734
+ * Set the parachain validator-group rotation frequency
735
+ **/
736
+ setGroupRotationFrequency: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
737
+ /**
738
+ * Sets the maximum number of messages allowed in an HRMP channel at once.
739
+ **/
740
+ setHrmpChannelMaxCapacity: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
741
+ /**
742
+ * Sets the maximum size of a message that could ever be put into an HRMP channel.
743
+ **/
744
+ setHrmpChannelMaxMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
745
+ /**
746
+ * Sets the maximum total size of messages in bytes allowed in an HRMP channel at once.
747
+ **/
748
+ setHrmpChannelMaxTotalSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
749
+ /**
750
+ * Sets the maximum number of outbound HRMP messages can be sent by a candidate.
751
+ **/
752
+ setHrmpMaxMessageNumPerCandidate: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
753
+ /**
754
+ * Sets the maximum number of inbound HRMP channels a parachain is allowed to accept.
755
+ **/
756
+ setHrmpMaxParachainInboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
757
+ /**
758
+ * Sets the maximum number of outbound HRMP channels a parachain is allowed to open.
759
+ **/
760
+ setHrmpMaxParachainOutboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
761
+ /**
762
+ * Sets the number of sessions after which an HRMP open channel request expires.
763
+ **/
764
+ setHrmpOpenRequestTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
765
+ /**
766
+ * Sets the amount of funds that the recipient should provide for accepting opening an HRMP
767
+ * channel.
768
+ **/
769
+ setHrmpRecipientDeposit: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
770
+ /**
771
+ * Sets the amount of funds that the sender should provide for opening an HRMP channel.
772
+ **/
773
+ setHrmpSenderDeposit: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
774
+ /**
775
+ * Set the max validation code size for incoming upgrades.
776
+ **/
777
+ setMaxCodeSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
778
+ /**
779
+ * Set the critical downward message size.
780
+ **/
781
+ setMaxDownwardMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
782
+ /**
783
+ * Set the max head data size for paras.
784
+ **/
785
+ setMaxHeadDataSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
786
+ /**
787
+ * Set the max POV block size for incoming upgrades.
788
+ **/
789
+ setMaxPovSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
790
+ /**
791
+ * Sets the maximum number of messages that a candidate can contain.
792
+ **/
793
+ setMaxUpwardMessageNumPerCandidate: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
794
+ /**
795
+ * Sets the maximum size of an upward message that can be sent by a candidate.
796
+ **/
797
+ setMaxUpwardMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
798
+ /**
799
+ * Sets the maximum items that can present in a upward dispatch queue at once.
800
+ **/
801
+ setMaxUpwardQueueCount: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
802
+ /**
803
+ * Sets the maximum total size of items that can present in a upward dispatch queue at
804
+ * once.
805
+ **/
806
+ setMaxUpwardQueueSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
807
+ /**
808
+ * Set the maximum number of validators to use in parachain consensus.
809
+ **/
810
+ setMaxValidators: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
811
+ /**
812
+ * Set the maximum number of validators to assign to any core.
813
+ **/
814
+ setMaxValidatorsPerCore: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
815
+ /**
816
+ * Set the minimum backing votes threshold.
817
+ **/
818
+ setMinimumBackingVotes: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
819
+ /**
820
+ * Sets the minimum delay between announcing the upgrade block for a parachain until the
821
+ * upgrade taking place.
822
+ *
823
+ * See the field documentation for information and constraints for the new value.
824
+ **/
825
+ setMinimumValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
826
+ /**
827
+ * Set the total number of delay tranches.
828
+ **/
829
+ setNDelayTranches: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
830
+ /**
831
+ * Set the number of validators needed to approve a block.
832
+ **/
833
+ setNeededApprovals: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
834
+ /**
835
+ * Set/Unset a node feature.
836
+ **/
837
+ setNodeFeature: AugmentedSubmittable<(index: u8 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8, bool]>;
838
+ /**
839
+ * Set the no show slots, in number of number of consensus slots.
840
+ * Must be at least 1.
841
+ **/
842
+ setNoShowSlots: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
843
+ /**
844
+ * Set the on demand (parathreads) base fee.
845
+ **/
846
+ setOnDemandBaseFee: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
847
+ /**
848
+ * Set the on demand (parathreads) fee variability.
849
+ **/
850
+ setOnDemandFeeVariability: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
851
+ /**
852
+ * Set the on demand (parathreads) queue max size.
853
+ **/
854
+ setOnDemandQueueMaxSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
855
+ /**
856
+ * Set the on demand (parathreads) fee variability.
857
+ **/
858
+ setOnDemandTargetQueueUtilization: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
859
+ /**
860
+ * Set the availability period for paras.
861
+ **/
862
+ setParasAvailabilityPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
863
+ /**
864
+ * Set the number of session changes after which a PVF pre-checking voting is rejected.
865
+ **/
866
+ setPvfVotingTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
867
+ /**
868
+ * Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion.
869
+ **/
870
+ setRelayVrfModuloSamples: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
871
+ /**
872
+ * Set scheduler-params.
873
+ **/
874
+ setSchedulerParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8SchedulerParams | { groupRotationFrequency?: any; parasAvailabilityPeriod?: any; maxValidatorsPerCore?: any; lookahead?: any; numCores?: any; maxAvailabilityTimeouts?: any; onDemandQueueMaxSize?: any; onDemandTargetQueueUtilization?: any; onDemandFeeVariability?: any; onDemandBaseFee?: any; ttl?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8SchedulerParams]>;
875
+ /**
876
+ * Set the scheduling lookahead, in expected number of blocks at peak throughput.
877
+ **/
878
+ setSchedulingLookahead: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
879
+ /**
880
+ * Set the validation upgrade cooldown.
881
+ **/
882
+ setValidationUpgradeCooldown: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
883
+ /**
884
+ * Set the validation upgrade delay.
885
+ **/
886
+ setValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
887
+ /**
888
+ * Set the zeroth delay tranche width.
889
+ **/
890
+ setZerothDelayTrancheWidth: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
891
+ /**
892
+ * Generic tx
893
+ **/
894
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
895
+ };
896
+ convictionVoting: {
897
+ /**
898
+ * Delegate the voting power (with some given conviction) of the sending account for a
899
+ * particular class of polls.
900
+ *
901
+ * The balance delegated is locked for as long as it's delegated, and thereafter for the
902
+ * time appropriate for the conviction's lock period.
903
+ *
904
+ * The dispatch origin of this call must be _Signed_, and the signing account must either:
905
+ * - be delegating already; or
906
+ * - have no voting activity (if there is, then it will need to be removed through
907
+ * `remove_vote`).
908
+ *
909
+ * - `to`: The account whose voting the `target` account's voting power will follow.
910
+ * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls
911
+ * to this function are required.
912
+ * - `conviction`: The conviction that will be attached to the delegated votes. When the
913
+ * account is undelegated, the funds will be locked for the corresponding period.
914
+ * - `balance`: The amount of the account's balance to be used in delegating. This must not
915
+ * be more than the account's current balance.
916
+ *
917
+ * Emits `Delegated`.
918
+ *
919
+ * Weight: `O(R)` where R is the number of polls the voter delegating to has
920
+ * voted on. Weight is initially charged as if maximum votes, but is refunded later.
921
+ **/
922
+ delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, conviction: PalletConvictionVotingConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress, PalletConvictionVotingConviction, u128]>;
923
+ /**
924
+ * Remove a vote for a poll.
925
+ *
926
+ * If the `target` is equal to the signer, then this function is exactly equivalent to
927
+ * `remove_vote`. If not equal to the signer, then the vote must have expired,
928
+ * either because the poll was cancelled, because the voter lost the poll or
929
+ * because the conviction period is over.
930
+ *
931
+ * The dispatch origin of this call must be _Signed_.
932
+ *
933
+ * - `target`: The account of the vote to be removed; this account must have voted for poll
934
+ * `index`.
935
+ * - `index`: The index of poll of the vote to be removed.
936
+ * - `class`: The class of the poll.
937
+ *
938
+ * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
939
+ * Weight is calculated for the maximum number of vote.
940
+ **/
941
+ removeOtherVote: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16, u32]>;
942
+ /**
943
+ * Remove a vote for a poll.
944
+ *
945
+ * If:
946
+ * - the poll was cancelled, or
947
+ * - the poll is ongoing, or
948
+ * - the poll has ended such that
949
+ * - the vote of the account was in opposition to the result; or
950
+ * - there was no conviction to the account's vote; or
951
+ * - the account made a split vote
952
+ * ...then the vote is removed cleanly and a following call to `unlock` may result in more
953
+ * funds being available.
954
+ *
955
+ * If, however, the poll has ended and:
956
+ * - it finished corresponding to the vote of the account, and
957
+ * - the account made a standard vote with conviction, and
958
+ * - the lock period of the conviction is not over
959
+ * ...then the lock will be aggregated into the overall account's lock, which may involve
960
+ * *overlocking* (where the two locks are combined into a single lock that is the maximum
961
+ * of both the amount locked and the time is it locked for).
962
+ *
963
+ * The dispatch origin of this call must be _Signed_, and the signer must have a vote
964
+ * registered for poll `index`.
965
+ *
966
+ * - `index`: The index of poll of the vote to be removed.
967
+ * - `class`: Optional parameter, if given it indicates the class of the poll. For polls
968
+ * which have finished or are cancelled, this must be `Some`.
969
+ *
970
+ * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
971
+ * Weight is calculated for the maximum number of vote.
972
+ **/
973
+ removeVote: AugmentedSubmittable<(clazz: Option<u16> | null | Uint8Array | u16 | AnyNumber, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u16>, u32]>;
974
+ /**
975
+ * Undelegate the voting power of the sending account for a particular class of polls.
976
+ *
977
+ * Tokens may be unlocked following once an amount of time consistent with the lock period
978
+ * of the conviction with which the delegation was issued has passed.
979
+ *
980
+ * The dispatch origin of this call must be _Signed_ and the signing account must be
981
+ * currently delegating.
982
+ *
983
+ * - `class`: The class of polls to remove the delegation from.
984
+ *
985
+ * Emits `Undelegated`.
986
+ *
987
+ * Weight: `O(R)` where R is the number of polls the voter delegating to has
988
+ * voted on. Weight is initially charged as if maximum votes, but is refunded later.
989
+ **/
990
+ undelegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
991
+ /**
992
+ * Remove the lock caused by prior voting/delegating which has expired within a particular
993
+ * class.
994
+ *
995
+ * The dispatch origin of this call must be _Signed_.
996
+ *
997
+ * - `class`: The class of polls to unlock.
998
+ * - `target`: The account to remove the lock on.
999
+ *
1000
+ * Weight: `O(R)` with R number of vote of target.
1001
+ **/
1002
+ unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress]>;
1003
+ /**
1004
+ * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
1005
+ * otherwise it is a vote to keep the status quo.
1006
+ *
1007
+ * The dispatch origin of this call must be _Signed_.
1008
+ *
1009
+ * - `poll_index`: The index of the poll to vote for.
1010
+ * - `vote`: The vote configuration.
1011
+ *
1012
+ * Weight: `O(R)` where R is the number of polls the voter has voted on.
1013
+ **/
1014
+ vote: AugmentedSubmittable<(pollIndex: Compact<u32> | AnyNumber | Uint8Array, vote: PalletConvictionVotingVoteAccountVote | { Standard: any } | { Split: any } | { SplitAbstain: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletConvictionVotingVoteAccountVote]>;
1015
+ /**
1016
+ * Generic tx
1017
+ **/
1018
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1019
+ };
1020
+ coretime: {
1021
+ /**
1022
+ * Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
1023
+ * to be used.
1024
+ *
1025
+ * Parameters:
1026
+ * -`origin`: The `ExternalBrokerOrigin`, assumed to be the coretime chain.
1027
+ * -`core`: The core that should be scheduled.
1028
+ * -`begin`: The starting blockheight of the instruction.
1029
+ * -`assignment`: How the blockspace should be utilised.
1030
+ * -`end_hint`: An optional hint as to when this particular set of instructions will end.
1031
+ **/
1032
+ assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PalletBrokerCoretimeInterfaceCoreAssignment | { Idle: any } | { Pool: any } | { Task: any } | string | Uint8Array, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
1033
+ creditAccount: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128]>;
1034
+ /**
1035
+ * Request the configuration to be updated with the specified number of cores. Warning:
1036
+ * Since this only schedules a configuration update, it takes two sessions to come into
1037
+ * effect.
1038
+ *
1039
+ * - `origin`: Root or the Coretime Chain
1040
+ * - `count`: total number of cores
1041
+ **/
1042
+ requestCoreCount: AugmentedSubmittable<(count: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
1043
+ /**
1044
+ * Request to claim the instantaneous coretime sales revenue starting from the block it was
1045
+ * last claimed until and up to the block specified. The claimed amount value is sent back
1046
+ * to the Coretime chain in a `notify_revenue` message. At the same time, the amount is
1047
+ * teleported to the Coretime chain.
1048
+ **/
1049
+ requestRevenueAt: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1050
+ /**
1051
+ * Generic tx
1052
+ **/
1053
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1054
+ };
1055
+ crowdloan: {
1056
+ /**
1057
+ * Add an optional memo to an existing crowdloan contribution.
1058
+ *
1059
+ * Origin must be Signed, and the user must have contributed to the crowdloan.
1060
+ **/
1061
+ addMemo: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, memo: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
1062
+ /**
1063
+ * Contribute to a crowd sale. This will transfer some balance over to fund a parachain
1064
+ * slot. It will be withdrawable when the crowdloan has ended and the funds are unused.
1065
+ **/
1066
+ contribute: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Option<SpRuntimeMultiSignature>]>;
1067
+ /**
1068
+ * Contribute your entire balance to a crowd sale. This will transfer the entire balance of
1069
+ * a user over to fund a parachain slot. It will be withdrawable when the crowdloan has
1070
+ * ended and the funds are unused.
1071
+ **/
1072
+ contributeAll: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<SpRuntimeMultiSignature>]>;
1073
+ /**
1074
+ * Create a new crowdloaning campaign for a parachain slot with the given lease period
1075
+ * range.
1076
+ *
1077
+ * This applies a lock to your parachain configuration, ensuring that it cannot be changed
1078
+ * by the parachain manager.
1079
+ **/
1080
+ create: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
1081
+ /**
1082
+ * Remove a fund after the retirement period has ended and all funds have been returned.
1083
+ **/
1084
+ dissolve: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1085
+ /**
1086
+ * Edit the configuration for an in-progress crowdloan.
1087
+ *
1088
+ * Can only be called by Root origin.
1089
+ **/
1090
+ edit: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
1091
+ /**
1092
+ * Poke the fund into `NewRaise`
1093
+ *
1094
+ * Origin must be Signed, and the fund has non-zero raise.
1095
+ **/
1096
+ poke: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1097
+ /**
1098
+ * Automatically refund contributors of an ended crowdloan.
1099
+ * Due to weight restrictions, this function may need to be called multiple
1100
+ * times to fully refund all users. We will refund `RemoveKeysLimit` users at a time.
1101
+ *
1102
+ * Origin must be signed, but can come from anyone.
1103
+ **/
1104
+ refund: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1105
+ /**
1106
+ * Withdraw full balance of a specific contributor.
1107
+ *
1108
+ * Origin must be signed, but can come from anyone.
1109
+ *
1110
+ * The fund must be either in, or ready for, retirement. For a fund to be *in* retirement,
1111
+ * then the retirement flag must be set. For a fund to be ready for retirement, then:
1112
+ * - it must not already be in retirement;
1113
+ * - the amount of raised funds must be bigger than the _free_ balance of the account;
1114
+ * - and either:
1115
+ * - the block number must be at least `end`; or
1116
+ * - the current lease period must be greater than the fund's `last_period`.
1117
+ *
1118
+ * In this case, the fund's retirement flag is set and its `end` is reset to the current
1119
+ * block number.
1120
+ *
1121
+ * - `who`: The account whose contribution should be withdrawn.
1122
+ * - `index`: The parachain to whose crowdloan the contribution was made.
1123
+ **/
1124
+ withdraw: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Compact<u32>]>;
1125
+ /**
1126
+ * Generic tx
1127
+ **/
1128
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1129
+ };
1130
+ electionProviderMultiPhase: {
1131
+ /**
1132
+ * Trigger the governance fallback.
1133
+ *
1134
+ * This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
1135
+ * calling [`Call::set_emergency_election_result`].
1136
+ **/
1137
+ governanceFallback: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1138
+ /**
1139
+ * Set a solution in the queue, to be handed out to the client of this pallet in the next
1140
+ * call to `ElectionProvider::elect`.
1141
+ *
1142
+ * This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`.
1143
+ *
1144
+ * The solution is not checked for any feasibility and is assumed to be trustworthy, as any
1145
+ * feasibility check itself can in principle cause the election process to fail (due to
1146
+ * memory/weight constrains).
1147
+ **/
1148
+ setEmergencyElectionResult: AugmentedSubmittable<(supports: Vec<ITuple<[AccountId32, SpNposElectionsSupport]>> | ([AccountId32 | string | Uint8Array, SpNposElectionsSupport | { total?: any; voters?: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, SpNposElectionsSupport]>>]>;
1149
+ /**
1150
+ * Set a new value for `MinimumUntrustedScore`.
1151
+ *
1152
+ * Dispatch origin must be aligned with `T::ForceOrigin`.
1153
+ *
1154
+ * This check can be turned off by setting the value to `None`.
1155
+ **/
1156
+ setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null | Uint8Array | SpNposElectionsElectionScore | { minimalStake?: any; sumStake?: any; sumStakeSquared?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<SpNposElectionsElectionScore>]>;
1157
+ /**
1158
+ * Submit a solution for the signed phase.
1159
+ *
1160
+ * The dispatch origin fo this call must be __signed__.
1161
+ *
1162
+ * The solution is potentially queued, based on the claimed score and processed at the end
1163
+ * of the signed phase.
1164
+ *
1165
+ * A deposit is reserved and recorded for the solution. Based on the outcome, the solution
1166
+ * might be rewarded, slashed, or get all or a part of the deposit back.
1167
+ **/
1168
+ submit: AugmentedSubmittable<(rawSolution: PalletElectionProviderMultiPhaseRawSolution | { solution?: any; score?: any; round?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletElectionProviderMultiPhaseRawSolution]>;
1169
+ /**
1170
+ * Submit a solution for the unsigned phase.
1171
+ *
1172
+ * The dispatch origin fo this call must be __none__.
1173
+ *
1174
+ * This submission is checked on the fly. Moreover, this unsigned solution is only
1175
+ * validated when submitted to the pool from the **local** node. Effectively, this means
1176
+ * that only active validators can submit this transaction when authoring a block (similar
1177
+ * to an inherent).
1178
+ *
1179
+ * To prevent any incorrect solution (and thus wasted time/weight), this transaction will
1180
+ * panic if the solution submitted by the validator is invalid in any way, effectively
1181
+ * putting their authoring reward at risk.
1182
+ *
1183
+ * No deposit or reward is associated with this submission.
1184
+ **/
1185
+ submitUnsigned: AugmentedSubmittable<(rawSolution: PalletElectionProviderMultiPhaseRawSolution | { solution?: any; score?: any; round?: any } | string | Uint8Array, witness: PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | { voters?: any; targets?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize]>;
1186
+ /**
1187
+ * Generic tx
1188
+ **/
1189
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1190
+ };
1191
+ fastUnstake: {
1192
+ /**
1193
+ * Control the operation of this pallet.
1194
+ *
1195
+ * ## Dispatch Origin
1196
+ *
1197
+ * The dispatch origin of this call must be [`Config::ControlOrigin`].
1198
+ *
1199
+ * ## Details
1200
+ *
1201
+ * Can set the number of eras to check per block, and potentially other admin work.
1202
+ *
1203
+ * ## Events
1204
+ *
1205
+ * No events are emitted from this dispatch.
1206
+ **/
1207
+ control: AugmentedSubmittable<(erasToCheck: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1208
+ /**
1209
+ * Deregister oneself from the fast-unstake.
1210
+ *
1211
+ * ## Dispatch Origin
1212
+ *
1213
+ * The dispatch origin of this call must be *signed* by whoever is permitted to call
1214
+ * unbond funds by the staking system. See [`Config::Staking`].
1215
+ *
1216
+ * ## Details
1217
+ *
1218
+ * This is useful if one is registered, they are still waiting, and they change their mind.
1219
+ *
1220
+ * Note that the associated stash is still fully unbonded and chilled as a consequence of
1221
+ * calling [`Pallet::register_fast_unstake`]. Therefore, this should probably be followed
1222
+ * by a call to `rebond` in the staking system.
1223
+ *
1224
+ * ## Events
1225
+ *
1226
+ * Some events from the staking and currency system might be emitted.
1227
+ **/
1228
+ deregister: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1229
+ /**
1230
+ * Register oneself for fast-unstake.
1231
+ *
1232
+ * ## Dispatch Origin
1233
+ *
1234
+ * The dispatch origin of this call must be *signed* by whoever is permitted to call
1235
+ * unbond funds by the staking system. See [`Config::Staking`].
1236
+ *
1237
+ * ## Details
1238
+ *
1239
+ * The stash associated with the origin must have no ongoing unlocking chunks. If
1240
+ * successful, this will fully unbond and chill the stash. Then, it will enqueue the stash
1241
+ * to be checked in further blocks.
1242
+ *
1243
+ * If by the time this is called, the stash is actually eligible for fast-unstake, then
1244
+ * they are guaranteed to remain eligible, because the call will chill them as well.
1245
+ *
1246
+ * If the check works, the entire staking data is removed, i.e. the stash is fully
1247
+ * unstaked.
1248
+ *
1249
+ * If the check fails, the stash remains chilled and waiting for being unbonded as in with
1250
+ * the normal staking system, but they lose part of their unbonding chunks due to consuming
1251
+ * the chain's resources.
1252
+ *
1253
+ * ## Events
1254
+ *
1255
+ * Some events from the staking and currency system might be emitted.
1256
+ **/
1257
+ registerFastUnstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1258
+ /**
1259
+ * Generic tx
1260
+ **/
1261
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1262
+ };
1263
+ grandpa: {
1264
+ /**
1265
+ * Note that the current authority set of the GRANDPA finality gadget has stalled.
1266
+ *
1267
+ * This will trigger a forced authority set change at the beginning of the next session, to
1268
+ * be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
1269
+ * that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
1270
+ * The block production rate (which may be slowed down because of finality lagging) should
1271
+ * be taken into account when choosing the `delay`. The GRANDPA voters based on the new
1272
+ * authority will start voting on top of `best_finalized_block_number` for new finalized
1273
+ * blocks. `best_finalized_block_number` should be the highest of the latest finalized
1274
+ * block of all validators of the new authority set.
1275
+ *
1276
+ * Only callable by root.
1277
+ **/
1278
+ noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1279
+ /**
1280
+ * Report voter equivocation/misbehavior. This method will verify the
1281
+ * equivocation proof and validate the given key ownership proof
1282
+ * against the extracted offender. If both are valid, the offence
1283
+ * will be reported.
1284
+ **/
1285
+ reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof]>;
1286
+ /**
1287
+ * Report voter equivocation/misbehavior. This method will verify the
1288
+ * equivocation proof and validate the given key ownership proof
1289
+ * against the extracted offender. If both are valid, the offence
1290
+ * will be reported.
1291
+ *
1292
+ * This extrinsic must be called unsigned and it is expected that only
1293
+ * block authors will call it (validated in `ValidateUnsigned`), as such
1294
+ * if the block author is defined it will be defined as the equivocation
1295
+ * reporter.
1296
+ **/
1297
+ reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof]>;
1298
+ /**
1299
+ * Generic tx
1300
+ **/
1301
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1302
+ };
1303
+ hrmp: {
1304
+ /**
1305
+ * Establish a bidirectional HRMP channel between a parachain and a system chain.
1306
+ *
1307
+ * Arguments:
1308
+ *
1309
+ * - `target_system_chain`: A system chain, `ParaId`.
1310
+ *
1311
+ * The origin needs to be the parachain origin.
1312
+ **/
1313
+ establishChannelWithSystem: AugmentedSubmittable<(targetSystemChain: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1314
+ /**
1315
+ * Establish an HRMP channel between two system chains. If the channel does not already
1316
+ * exist, the transaction fees will be refunded to the caller. The system does not take
1317
+ * deposits for channels between system chains, and automatically sets the message number
1318
+ * and size limits to the maximum allowed by the network's configuration.
1319
+ *
1320
+ * Arguments:
1321
+ *
1322
+ * - `sender`: A system chain, `ParaId`.
1323
+ * - `recipient`: A system chain, `ParaId`.
1324
+ *
1325
+ * Any signed origin can call this function, but _both_ inputs MUST be system chains. If
1326
+ * the channel does not exist yet, there is no fee.
1327
+ **/
1328
+ establishSystemChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1329
+ /**
1330
+ * This extrinsic triggers the cleanup of all the HRMP storage items that a para may have.
1331
+ * Normally this happens once per session, but this allows you to trigger the cleanup
1332
+ * immediately for a specific parachain.
1333
+ *
1334
+ * Number of inbound and outbound channels for `para` must be provided as witness data.
1335
+ *
1336
+ * Origin must be the `ChannelManager`.
1337
+ **/
1338
+ forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, numInbound: u32 | AnyNumber | Uint8Array, numOutbound: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
1339
+ /**
1340
+ * Open a channel from a `sender` to a `recipient` `ParaId`. Although opened by governance,
1341
+ * the `max_capacity` and `max_message_size` are still subject to the Relay Chain's
1342
+ * configured limits.
1343
+ *
1344
+ * Expected use is when one (and only one) of the `ParaId`s involved in the channel is
1345
+ * governed by the system, e.g. a system parachain.
1346
+ *
1347
+ * Origin must be the `ChannelManager`.
1348
+ **/
1349
+ forceOpenHrmpChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array, maxCapacity: u32 | AnyNumber | Uint8Array, maxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u32]>;
1350
+ /**
1351
+ * Force process HRMP close channel requests.
1352
+ *
1353
+ * If there are pending HRMP close channel requests, you can use this function to process
1354
+ * all of those requests immediately.
1355
+ *
1356
+ * Total number of closing channels must be provided as witness data.
1357
+ *
1358
+ * Origin must be the `ChannelManager`.
1359
+ **/
1360
+ forceProcessHrmpClose: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1361
+ /**
1362
+ * Force process HRMP open channel requests.
1363
+ *
1364
+ * If there are pending HRMP open channel requests, you can use this function to process
1365
+ * all of those requests immediately.
1366
+ *
1367
+ * Total number of opening channels must be provided as witness data.
1368
+ *
1369
+ * Origin must be the `ChannelManager`.
1370
+ **/
1371
+ forceProcessHrmpOpen: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1372
+ /**
1373
+ * Accept a pending open channel request from the given sender.
1374
+ *
1375
+ * The channel will be opened only on the next session boundary.
1376
+ **/
1377
+ hrmpAcceptOpenChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1378
+ /**
1379
+ * This cancels a pending open channel request. It can be canceled by either of the sender
1380
+ * or the recipient for that request. The origin must be either of those.
1381
+ *
1382
+ * The cancellation happens immediately. It is not possible to cancel the request if it is
1383
+ * already accepted.
1384
+ *
1385
+ * Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as
1386
+ * witness data.
1387
+ **/
1388
+ hrmpCancelOpenRequest: AugmentedSubmittable<(channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId | { sender?: any; recipient?: any } | string | Uint8Array, openRequests: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotParachainPrimitivesPrimitivesHrmpChannelId, u32]>;
1389
+ /**
1390
+ * Initiate unilateral closing of a channel. The origin must be either the sender or the
1391
+ * recipient in the channel being closed.
1392
+ *
1393
+ * The closure can only happen on a session change.
1394
+ **/
1395
+ hrmpCloseChannel: AugmentedSubmittable<(channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId | { sender?: any; recipient?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotParachainPrimitivesPrimitivesHrmpChannelId]>;
1396
+ /**
1397
+ * Initiate opening a channel from a parachain to a given recipient with given channel
1398
+ * parameters.
1399
+ *
1400
+ * - `proposed_max_capacity` - specifies how many messages can be in the channel at once.
1401
+ * - `proposed_max_message_size` - specifies the maximum size of the messages.
1402
+ *
1403
+ * These numbers are a subject to the relay-chain configuration limits.
1404
+ *
1405
+ * The channel can be opened only after the recipient confirms it and only on a session
1406
+ * change.
1407
+ **/
1408
+ hrmpInitOpenChannel: AugmentedSubmittable<(recipient: u32 | AnyNumber | Uint8Array, proposedMaxCapacity: u32 | AnyNumber | Uint8Array, proposedMaxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
1409
+ /**
1410
+ * Update the deposits held for an HRMP channel to the latest `Configuration`. Channels
1411
+ * with system chains do not require a deposit.
1412
+ *
1413
+ * Arguments:
1414
+ *
1415
+ * - `sender`: A chain, `ParaId`.
1416
+ * - `recipient`: A chain, `ParaId`.
1417
+ *
1418
+ * Any signed origin can call this function.
1419
+ **/
1420
+ pokeChannelDeposits: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1421
+ /**
1422
+ * Generic tx
1423
+ **/
1424
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1425
+ };
1426
+ indices: {
1427
+ /**
1428
+ * Assign an previously unassigned index.
1429
+ *
1430
+ * Payment: `Deposit` is reserved from the sender account.
1431
+ *
1432
+ * The dispatch origin for this call must be _Signed_.
1433
+ *
1434
+ * - `index`: the index to be claimed. This must not be in use.
1435
+ *
1436
+ * Emits `IndexAssigned` if successful.
1437
+ *
1438
+ * ## Complexity
1439
+ * - `O(1)`.
1440
+ **/
1441
+ claim: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1442
+ /**
1443
+ * Force an index to an account. This doesn't require a deposit. If the index is already
1444
+ * held, then any deposit is reimbursed to its current owner.
1445
+ *
1446
+ * The dispatch origin for this call must be _Root_.
1447
+ *
1448
+ * - `index`: the index to be (re-)assigned.
1449
+ * - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
1450
+ * - `freeze`: if set to `true`, will freeze the index so it cannot be transferred.
1451
+ *
1452
+ * Emits `IndexAssigned` if successful.
1453
+ *
1454
+ * ## Complexity
1455
+ * - `O(1)`.
1456
+ **/
1457
+ forceTransfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, bool]>;
1458
+ /**
1459
+ * Free up an index owned by the sender.
1460
+ *
1461
+ * Payment: Any previous deposit placed for the index is unreserved in the sender account.
1462
+ *
1463
+ * The dispatch origin for this call must be _Signed_ and the sender must own the index.
1464
+ *
1465
+ * - `index`: the index to be freed. This must be owned by the sender.
1466
+ *
1467
+ * Emits `IndexFreed` if successful.
1468
+ *
1469
+ * ## Complexity
1470
+ * - `O(1)`.
1471
+ **/
1472
+ free: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1473
+ /**
1474
+ * Freeze an index so it will always point to the sender account. This consumes the
1475
+ * deposit.
1476
+ *
1477
+ * The dispatch origin for this call must be _Signed_ and the signing account must have a
1478
+ * non-frozen account `index`.
1479
+ *
1480
+ * - `index`: the index to be frozen in place.
1481
+ *
1482
+ * Emits `IndexFrozen` if successful.
1483
+ *
1484
+ * ## Complexity
1485
+ * - `O(1)`.
1486
+ **/
1487
+ freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1488
+ /**
1489
+ * Poke the deposit reserved for an index.
1490
+ *
1491
+ * The dispatch origin for this call must be _Signed_ and the signing account must have a
1492
+ * non-frozen account `index`.
1493
+ *
1494
+ * The transaction fees is waived if the deposit is changed after poking/reconsideration.
1495
+ *
1496
+ * - `index`: the index whose deposit is to be poked/reconsidered.
1497
+ *
1498
+ * Emits `DepositPoked` if successful.
1499
+ **/
1500
+ pokeDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1501
+ /**
1502
+ * Assign an index already owned by the sender to another account. The balance reservation
1503
+ * is effectively transferred to the new account.
1504
+ *
1505
+ * The dispatch origin for this call must be _Signed_.
1506
+ *
1507
+ * - `index`: the index to be re-assigned. This must be owned by the sender.
1508
+ * - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
1509
+ *
1510
+ * Emits `IndexAssigned` if successful.
1511
+ *
1512
+ * ## Complexity
1513
+ * - `O(1)`.
1514
+ **/
1515
+ transfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
1516
+ /**
1517
+ * Generic tx
1518
+ **/
1519
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1520
+ };
1521
+ initializer: {
1522
+ /**
1523
+ * Issue a signal to the consensus engine to forcibly act as though all parachain
1524
+ * blocks in all relay chain blocks up to and including the given number in the current
1525
+ * chain are valid and should be finalized.
1526
+ **/
1527
+ forceApprove: AugmentedSubmittable<(upTo: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1528
+ /**
1529
+ * Generic tx
1530
+ **/
1531
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1532
+ };
1533
+ messageQueue: {
1534
+ /**
1535
+ * Execute an overweight message.
1536
+ *
1537
+ * Temporary processing errors will be propagated whereas permanent errors are treated
1538
+ * as success condition.
1539
+ *
1540
+ * - `origin`: Must be `Signed`.
1541
+ * - `message_origin`: The origin from which the message to be executed arrived.
1542
+ * - `page`: The page in the queue in which the message to be executed is sitting.
1543
+ * - `index`: The index into the queue of the message to be executed.
1544
+ * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
1545
+ * of the message.
1546
+ *
1547
+ * Benchmark complexity considerations: O(index + weight_limit).
1548
+ **/
1549
+ executeOverweight: AugmentedSubmittable<(messageOrigin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | { Ump: any } | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight]>;
1550
+ /**
1551
+ * Remove a page which has no more messages remaining to be processed or is stale.
1552
+ **/
1553
+ reapPage: AugmentedSubmittable<(messageOrigin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | { Ump: any } | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, u32]>;
1554
+ /**
1555
+ * Generic tx
1556
+ **/
1557
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1558
+ };
1559
+ multisig: {
1560
+ /**
1561
+ * Register approval for a dispatch to be made from a deterministic composite account if
1562
+ * approved by a total of `threshold - 1` of `other_signatories`.
1563
+ *
1564
+ * Payment: `DepositBase` will be reserved if this is the first approval, plus
1565
+ * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
1566
+ * is cancelled.
1567
+ *
1568
+ * The dispatch origin for this call must be _Signed_.
1569
+ *
1570
+ * - `threshold`: The total number of approvals for this dispatch before it is executed.
1571
+ * - `other_signatories`: The accounts (other than the sender) who can approve this
1572
+ * dispatch. May not be empty.
1573
+ * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
1574
+ * not the first approval, then it must be `Some`, with the timepoint (block number and
1575
+ * transaction index) of the first approval transaction.
1576
+ * - `call_hash`: The hash of the call to be executed.
1577
+ *
1578
+ * NOTE: If this is the final approval, you will want to use `as_multi` instead.
1579
+ *
1580
+ * ## Complexity
1581
+ * - `O(S)`.
1582
+ * - Up to one balance-reserve or unreserve operation.
1583
+ * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
1584
+ * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
1585
+ * - One encode & hash, both of complexity `O(S)`.
1586
+ * - Up to one binary search and insert (`O(logS + S)`).
1587
+ * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
1588
+ * - One event.
1589
+ * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
1590
+ * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
1591
+ **/
1592
+ approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]>;
1593
+ /**
1594
+ * Register approval for a dispatch to be made from a deterministic composite account if
1595
+ * approved by a total of `threshold - 1` of `other_signatories`.
1596
+ *
1597
+ * If there are enough, then dispatch the call.
1598
+ *
1599
+ * Payment: `DepositBase` will be reserved if this is the first approval, plus
1600
+ * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
1601
+ * is cancelled.
1602
+ *
1603
+ * The dispatch origin for this call must be _Signed_.
1604
+ *
1605
+ * - `threshold`: The total number of approvals for this dispatch before it is executed.
1606
+ * - `other_signatories`: The accounts (other than the sender) who can approve this
1607
+ * dispatch. May not be empty.
1608
+ * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
1609
+ * not the first approval, then it must be `Some`, with the timepoint (block number and
1610
+ * transaction index) of the first approval transaction.
1611
+ * - `call`: The call to be executed.
1612
+ *
1613
+ * NOTE: Unless this is the final approval, you will generally want to use
1614
+ * `approve_as_multi` instead, since it only requires a hash of the call.
1615
+ *
1616
+ * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
1617
+ * on success, result is `Ok` and the result from the interior call, if it was executed,
1618
+ * may be found in the deposited `MultisigExecuted` event.
1619
+ *
1620
+ * ## Complexity
1621
+ * - `O(S + Z + Call)`.
1622
+ * - Up to one balance-reserve or unreserve operation.
1623
+ * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
1624
+ * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
1625
+ * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len.
1626
+ * - One encode & hash, both of complexity `O(S)`.
1627
+ * - Up to one binary search and insert (`O(logS + S)`).
1628
+ * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
1629
+ * - One event.
1630
+ * - The weight of the `call`.
1631
+ * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
1632
+ * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
1633
+ **/
1634
+ asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, call: Call | IMethod | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]>;
1635
+ /**
1636
+ * Immediately dispatch a multi-signature call using a single approval from the caller.
1637
+ *
1638
+ * The dispatch origin for this call must be _Signed_.
1639
+ *
1640
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
1641
+ * multi-signature, but do not participate in the approval process.
1642
+ * - `call`: The call to be executed.
1643
+ *
1644
+ * Result is equivalent to the dispatched result.
1645
+ *
1646
+ * ## Complexity
1647
+ * O(Z + C) where Z is the length of the call and C its execution weight.
1648
+ **/
1649
+ asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Call]>;
1650
+ /**
1651
+ * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
1652
+ * for this operation will be unreserved on success.
1653
+ *
1654
+ * The dispatch origin for this call must be _Signed_.
1655
+ *
1656
+ * - `threshold`: The total number of approvals for this dispatch before it is executed.
1657
+ * - `other_signatories`: The accounts (other than the sender) who can approve this
1658
+ * dispatch. May not be empty.
1659
+ * - `timepoint`: The timepoint (block number and transaction index) of the first approval
1660
+ * transaction for this dispatch.
1661
+ * - `call_hash`: The hash of the call to be executed.
1662
+ *
1663
+ * ## Complexity
1664
+ * - `O(S)`.
1665
+ * - Up to one balance-reserve or unreserve operation.
1666
+ * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
1667
+ * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
1668
+ * - One encode & hash, both of complexity `O(S)`.
1669
+ * - One event.
1670
+ * - I/O: 1 read `O(S)`, one remove.
1671
+ * - Storage: removes one item.
1672
+ **/
1673
+ cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
1674
+ /**
1675
+ * Poke the deposit reserved for an existing multisig operation.
1676
+ *
1677
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
1678
+ * the multisig operation.
1679
+ *
1680
+ * The transaction fee is waived if the deposit amount has changed.
1681
+ *
1682
+ * - `threshold`: The total number of approvals needed for this multisig.
1683
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
1684
+ * multisig.
1685
+ * - `call_hash`: The hash of the call this deposit is reserved for.
1686
+ *
1687
+ * Emits `DepositPoked` if successful.
1688
+ **/
1689
+ pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
1690
+ /**
1691
+ * Generic tx
1692
+ **/
1693
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1694
+ };
1695
+ nominationPools: {
1696
+ /**
1697
+ * Top up the deficit or withdraw the excess ED from the pool.
1698
+ *
1699
+ * When a pool is created, the pool depositor transfers ED to the reward account of the
1700
+ * pool. ED is subject to change and over time, the deposit in the reward account may be
1701
+ * insufficient to cover the ED deficit of the pool or vice-versa where there is excess
1702
+ * deposit to the pool. This call allows anyone to adjust the ED deposit of the
1703
+ * pool by either topping up the deficit or claiming the excess.
1704
+ **/
1705
+ adjustPoolDeposit: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1706
+ /**
1707
+ * Apply a pending slash on a member.
1708
+ *
1709
+ * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
1710
+ * [`adapter::StakeStrategyType::Delegate`].
1711
+ *
1712
+ * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
1713
+ * This call can be dispatched permissionlessly (i.e. by any account). If the execution
1714
+ * is successful, fee is refunded and caller may be rewarded with a part of the slash
1715
+ * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
1716
+ **/
1717
+ applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1718
+ /**
1719
+ * Bond `extra` more funds from `origin` into the pool to which they already belong.
1720
+ *
1721
+ * Additional funds can come from either the free balance of the account, of from the
1722
+ * accumulated rewards, see [`BondExtra`].
1723
+ *
1724
+ * Bonding extra funds implies an automatic payout of all pending rewards as well.
1725
+ * See `bond_extra_other` to bond pending rewards of `other` members.
1726
+ **/
1727
+ bondExtra: AugmentedSubmittable<(extra: PalletNominationPoolsBondExtra | { FreeBalance: any } | { Rewards: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsBondExtra]>;
1728
+ /**
1729
+ * `origin` bonds funds from `extra` for some pool member `member` into their respective
1730
+ * pools.
1731
+ *
1732
+ * `origin` can bond extra funds from free balance or pending rewards when `origin ==
1733
+ * other`.
1734
+ *
1735
+ * In the case of `origin != other`, `origin` can only bond extra pending rewards of
1736
+ * `other` members assuming set_claim_permission for the given member is
1737
+ * `PermissionlessCompound` or `PermissionlessAll`.
1738
+ **/
1739
+ bondExtraOther: AugmentedSubmittable<(member: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, extra: PalletNominationPoolsBondExtra | { FreeBalance: any } | { Rewards: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletNominationPoolsBondExtra]>;
1740
+ /**
1741
+ * Chill on behalf of the pool.
1742
+ *
1743
+ * The dispatch origin of this call can be signed by the pool nominator or the pool
1744
+ * root role, same as [`Pallet::nominate`].
1745
+ *
1746
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
1747
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
1748
+ *
1749
+ * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
1750
+ * account).
1751
+ *
1752
+ * # Conditions for a permissionless dispatch:
1753
+ * * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
1754
+ * are unable to unbond.
1755
+ *
1756
+ * # Conditions for permissioned dispatch:
1757
+ * * The caller is the pool's nominator or root.
1758
+ **/
1759
+ chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1760
+ /**
1761
+ * Claim pending commission.
1762
+ *
1763
+ * The `root` role of the pool is _always_ allowed to claim the pool's commission.
1764
+ *
1765
+ * If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
1766
+ * trigger the process of claiming the pool's commission.
1767
+ *
1768
+ * If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
1769
+ * accounts
1770
+ * * `acc`, and
1771
+ * * the pool's root account
1772
+ *
1773
+ * may call this extrinsic on behalf of the pool.
1774
+ *
1775
+ * Pending commissions are paid out and added to the total claimed commission.
1776
+ * The total pending commission is reset to zero.
1777
+ **/
1778
+ claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1779
+ /**
1780
+ * A bonded member can use this to claim their payout based on the rewards that the pool
1781
+ * has accumulated since their last claimed payout (OR since joining if this is their first
1782
+ * time claiming rewards). The payout will be transferred to the member's account.
1783
+ *
1784
+ * The member will earn rewards pro rata based on the members stake vs the sum of the
1785
+ * members in the pools stake. Rewards do not "expire".
1786
+ *
1787
+ * See `claim_payout_other` to claim rewards on behalf of some `other` pool member.
1788
+ **/
1789
+ claimPayout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1790
+ /**
1791
+ * `origin` can claim payouts on some pool member `other`'s behalf.
1792
+ *
1793
+ * Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim
1794
+ * permission for this call to be successful.
1795
+ **/
1796
+ claimPayoutOther: AugmentedSubmittable<(other: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
1797
+ /**
1798
+ * Create a new delegation pool.
1799
+ *
1800
+ * # Arguments
1801
+ *
1802
+ * * `amount` - The amount of funds to delegate to the pool. This also acts of a sort of
1803
+ * deposit since the pools creator cannot fully unbond funds until the pool is being
1804
+ * destroyed.
1805
+ * * `index` - A disambiguation index for creating the account. Likely only useful when
1806
+ * creating multiple pools in the same extrinsic.
1807
+ * * `root` - The account to set as [`PoolRoles::root`].
1808
+ * * `nominator` - The account to set as the [`PoolRoles::nominator`].
1809
+ * * `bouncer` - The account to set as the [`PoolRoles::bouncer`].
1810
+ *
1811
+ * # Note
1812
+ *
1813
+ * In addition to `amount`, the caller will transfer the existential deposit; so the caller
1814
+ * needs at have at least `amount + existential_deposit` transferable.
1815
+ **/
1816
+ create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
1817
+ /**
1818
+ * Create a new delegation pool with a previously used pool id
1819
+ *
1820
+ * # Arguments
1821
+ *
1822
+ * same as `create` with the inclusion of
1823
+ * * `pool_id` - `A valid PoolId.
1824
+ **/
1825
+ createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
1826
+ /**
1827
+ * Stake funds with a pool. The amount to bond is delegated (or transferred based on
1828
+ * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
1829
+ * increases the pool's bond.
1830
+ *
1831
+ * The method of transferring the amount to the pool account is determined by
1832
+ * [`adapter::StakeStrategyType`]. If the pool is configured to use
1833
+ * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
1834
+ * the `origin`, while the pool gains the right to use these funds for staking.
1835
+ *
1836
+ * # Note
1837
+ *
1838
+ * * An account can only be a member of a single pool.
1839
+ * * An account cannot join the same pool multiple times.
1840
+ * * This call will *not* dust the member account, so the member must have at least
1841
+ * `existential deposit + amount` in their account.
1842
+ * * Only a pool with [`PoolState::Open`] can be joined
1843
+ **/
1844
+ join: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
1845
+ /**
1846
+ * Migrates delegated funds from the pool account to the `member_account`.
1847
+ *
1848
+ * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
1849
+ * [`adapter::StakeStrategyType::Delegate`].
1850
+ *
1851
+ * This is a permission-less call and refunds any fee if claim is successful.
1852
+ *
1853
+ * If the pool has migrated to delegation based staking, the staked tokens of pool members
1854
+ * can be moved and held in their own account. See [`adapter::DelegateStake`]
1855
+ **/
1856
+ migrateDelegation: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1857
+ /**
1858
+ * Migrate pool from [`adapter::StakeStrategyType::Transfer`] to
1859
+ * [`adapter::StakeStrategyType::Delegate`].
1860
+ *
1861
+ * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
1862
+ * [`adapter::StakeStrategyType::Delegate`].
1863
+ *
1864
+ * This call can be dispatched permissionlessly, and refunds any fee if successful.
1865
+ *
1866
+ * If the pool has already migrated to delegation based staking, this call will fail.
1867
+ **/
1868
+ migratePoolToDelegateStake: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1869
+ /**
1870
+ * Nominate on behalf of the pool.
1871
+ *
1872
+ * The dispatch origin of this call must be signed by the pool nominator or the pool
1873
+ * root role.
1874
+ *
1875
+ * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
1876
+ * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
1877
+ *
1878
+ * # Note
1879
+ *
1880
+ * In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
1881
+ * have at least `depositor_min_bond` in the pool to start nominating.
1882
+ **/
1883
+ nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
1884
+ /**
1885
+ * Call `withdraw_unbonded` for the pools account. This call can be made by any account.
1886
+ *
1887
+ * This is useful if there are too many unlocking chunks to call `unbond`, and some
1888
+ * can be cleared by withdrawing. In the case there are too many unlocking chunks, the user
1889
+ * would probably see an error like `NoMoreChunks` emitted from the staking system when
1890
+ * they attempt to unbond.
1891
+ **/
1892
+ poolWithdrawUnbonded: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1893
+ /**
1894
+ * Allows a pool member to set a claim permission to allow or disallow permissionless
1895
+ * bonding and withdrawing.
1896
+ *
1897
+ * # Arguments
1898
+ *
1899
+ * * `origin` - Member of a pool.
1900
+ * * `permission` - The permission to be applied.
1901
+ **/
1902
+ setClaimPermission: AugmentedSubmittable<(permission: PalletNominationPoolsClaimPermission | 'Permissioned' | 'PermissionlessCompound' | 'PermissionlessWithdraw' | 'PermissionlessAll' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsClaimPermission]>;
1903
+ /**
1904
+ * Set the commission of a pool.
1905
+ * Both a commission percentage and a commission payee must be provided in the `current`
1906
+ * tuple. Where a `current` of `None` is provided, any current commission will be removed.
1907
+ *
1908
+ * - If a `None` is supplied to `new_commission`, existing commission will be removed.
1909
+ **/
1910
+ setCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newCommission: Option<ITuple<[Perbill, AccountId32]>> | null | Uint8Array | ITuple<[Perbill, AccountId32]> | [Perbill | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[Perbill, AccountId32]>>]>;
1911
+ /**
1912
+ * Set the commission change rate for a pool.
1913
+ *
1914
+ * Initial change rate is not bounded, whereas subsequent updates can only be more
1915
+ * restrictive than the current.
1916
+ **/
1917
+ setCommissionChangeRate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, changeRate: PalletNominationPoolsCommissionChangeRate | { maxIncrease?: any; minDelay?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsCommissionChangeRate]>;
1918
+ /**
1919
+ * Set or remove a pool's commission claim permission.
1920
+ *
1921
+ * Determines who can claim the pool's pending commission. Only the `Root` role of the pool
1922
+ * is able to configure commission claim permissions.
1923
+ **/
1924
+ setCommissionClaimPermission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, permission: Option<PalletNominationPoolsCommissionClaimPermission> | null | Uint8Array | PalletNominationPoolsCommissionClaimPermission | { Permissionless: any } | { Account: any } | string) => SubmittableExtrinsic<ApiType>, [u32, Option<PalletNominationPoolsCommissionClaimPermission>]>;
1925
+ /**
1926
+ * Set the maximum commission of a pool.
1927
+ *
1928
+ * - Initial max can be set to any `Perbill`, and only smaller values thereafter.
1929
+ * - Current commission will be lowered in the event it is higher than a new max
1930
+ * commission.
1931
+ **/
1932
+ setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Perbill]>;
1933
+ /**
1934
+ * Update configurations for the nomination pools. The origin for this call must be
1935
+ * [`Config::AdminOrigin`].
1936
+ *
1937
+ * # Arguments
1938
+ *
1939
+ * * `min_join_bond` - Set [`MinJoinBond`].
1940
+ * * `min_create_bond` - Set [`MinCreateBond`].
1941
+ * * `max_pools` - Set [`MaxPools`].
1942
+ * * `max_members` - Set [`MaxPoolMembers`].
1943
+ * * `max_members_per_pool` - Set [`MaxPoolMembersPerPool`].
1944
+ * * `global_max_commission` - Set [`GlobalMaxCommission`].
1945
+ **/
1946
+ setConfigs: AugmentedSubmittable<(minJoinBond: PalletNominationPoolsConfigOpU128 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, minCreateBond: PalletNominationPoolsConfigOpU128 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxPools: PalletNominationPoolsConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxMembers: PalletNominationPoolsConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxMembersPerPool: PalletNominationPoolsConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, globalMaxCommission: PalletNominationPoolsConfigOpPerbill | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpPerbill]>;
1947
+ /**
1948
+ * Set a new metadata for the pool.
1949
+ *
1950
+ * The dispatch origin of this call must be signed by the bouncer, or the root role of the
1951
+ * pool.
1952
+ **/
1953
+ setMetadata: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, metadata: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
1954
+ /**
1955
+ * Set a new state for the pool.
1956
+ *
1957
+ * If a pool is already in the `Destroying` state, then under no condition can its state
1958
+ * change again.
1959
+ *
1960
+ * The dispatch origin of this call must be either:
1961
+ *
1962
+ * 1. signed by the bouncer, or the root role of the pool,
1963
+ * 2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and
1964
+ * then the state of the pool can be permissionlessly changed to `Destroying`.
1965
+ **/
1966
+ setState: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, state: PalletNominationPoolsPoolState | 'Open' | 'Blocked' | 'Destroying' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsPoolState]>;
1967
+ /**
1968
+ * Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It
1969
+ * implicitly collects the rewards one last time, since not doing so would mean some
1970
+ * rewards would be forfeited.
1971
+ *
1972
+ * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
1973
+ * account).
1974
+ *
1975
+ * # Conditions for a permissionless dispatch.
1976
+ *
1977
+ * * The pool is blocked and the caller is either the root or bouncer. This is refereed to
1978
+ * as a kick.
1979
+ * * The pool is destroying and the member is not the depositor.
1980
+ * * The pool is destroying, the member is the depositor and no other members are in the
1981
+ * pool.
1982
+ *
1983
+ * ## Conditions for permissioned dispatch (i.e. the caller is also the
1984
+ * `member_account`):
1985
+ *
1986
+ * * The caller is not the depositor.
1987
+ * * The caller is the depositor, the pool is destroying and no other members are in the
1988
+ * pool.
1989
+ *
1990
+ * # Note
1991
+ *
1992
+ * If there are too many unlocking chunks to unbond with the pool account,
1993
+ * [`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks.
1994
+ * The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]
1995
+ * to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks
1996
+ * are available). However, it may not be possible to release the current unlocking chunks,
1997
+ * in which case, the result of this call will likely be the `NoMoreChunks` error from the
1998
+ * staking system.
1999
+ **/
2000
+ unbond: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
2001
+ /**
2002
+ * Update the roles of the pool.
2003
+ *
2004
+ * The root is the only entity that can change any of the roles, including itself,
2005
+ * excluding the depositor, who can never change.
2006
+ *
2007
+ * It emits an event, notifying UIs of the role change. This event is quite relevant to
2008
+ * most pool members and they should be informed of changes to pool roles.
2009
+ **/
2010
+ updateRoles: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newRoot: PalletNominationPoolsConfigOpAccountId32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, newNominator: PalletNominationPoolsConfigOpAccountId32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, newBouncer: PalletNominationPoolsConfigOpAccountId32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpAccountId32]>;
2011
+ /**
2012
+ * Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an
2013
+ * error is returned.
2014
+ *
2015
+ * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
2016
+ * account).
2017
+ *
2018
+ * # Conditions for a permissionless dispatch
2019
+ *
2020
+ * * The pool is in destroy mode and the target is not the depositor.
2021
+ * * The target is the depositor and they are the only member in the sub pools.
2022
+ * * The pool is blocked and the caller is either the root or bouncer.
2023
+ *
2024
+ * # Conditions for permissioned dispatch
2025
+ *
2026
+ * * The caller is the target and they are not the depositor.
2027
+ *
2028
+ * # Note
2029
+ *
2030
+ * - If the target is the depositor, the pool will be destroyed.
2031
+ * - If the pool has any pending slash, we also try to slash the member before letting them
2032
+ * withdraw. This calculation adds some weight overhead and is only defensive. In reality,
2033
+ * pool slashes must have been already applied via permissionless [`Call::apply_slash`].
2034
+ **/
2035
+ withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
2036
+ /**
2037
+ * Generic tx
2038
+ **/
2039
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2040
+ };
2041
+ onDemand: {
2042
+ /**
2043
+ * Create a single on demand core order.
2044
+ * Will use the spot price for the current block and will reap the account if needed.
2045
+ *
2046
+ * Parameters:
2047
+ * - `origin`: The sender of the call, funds will be withdrawn from this account.
2048
+ * - `max_amount`: The maximum balance to withdraw from the origin to place an order.
2049
+ * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
2050
+ *
2051
+ * Errors:
2052
+ * - `InsufficientBalance`: from the Currency implementation
2053
+ * - `QueueFull`
2054
+ * - `SpotPriceHigherThanMaxAmount`
2055
+ *
2056
+ * Events:
2057
+ * - `OnDemandOrderPlaced`
2058
+ **/
2059
+ placeOrderAllowDeath: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2060
+ /**
2061
+ * Same as the [`place_order_allow_death`](Self::place_order_allow_death) call , but with a
2062
+ * check that placing the order will not reap the account.
2063
+ *
2064
+ * Parameters:
2065
+ * - `origin`: The sender of the call, funds will be withdrawn from this account.
2066
+ * - `max_amount`: The maximum balance to withdraw from the origin to place an order.
2067
+ * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
2068
+ *
2069
+ * Errors:
2070
+ * - `InsufficientBalance`: from the Currency implementation
2071
+ * - `QueueFull`
2072
+ * - `SpotPriceHigherThanMaxAmount`
2073
+ *
2074
+ * Events:
2075
+ * - `OnDemandOrderPlaced`
2076
+ **/
2077
+ placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2078
+ /**
2079
+ * Create a single on demand core order with credits.
2080
+ * Will charge the owner's on-demand credit account the spot price for the current block.
2081
+ *
2082
+ * Parameters:
2083
+ * - `origin`: The sender of the call, on-demand credits will be withdrawn from this
2084
+ * account.
2085
+ * - `max_amount`: The maximum number of credits to spend from the origin to place an
2086
+ * order.
2087
+ * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
2088
+ *
2089
+ * Errors:
2090
+ * - `InsufficientCredits`
2091
+ * - `QueueFull`
2092
+ * - `SpotPriceHigherThanMaxAmount`
2093
+ *
2094
+ * Events:
2095
+ * - `OnDemandOrderPlaced`
2096
+ **/
2097
+ placeOrderWithCredits: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2098
+ /**
2099
+ * Generic tx
2100
+ **/
2101
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2102
+ };
2103
+ paraInclusion: {
2104
+ /**
2105
+ * Generic tx
2106
+ **/
2107
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2108
+ };
2109
+ paraInherent: {
2110
+ /**
2111
+ * Enter the paras inherent. This will process bitfields and backed candidates.
2112
+ **/
2113
+ enter: AugmentedSubmittable<(data: PolkadotPrimitivesVstagingInherentData | { bitfields?: any; backedCandidates?: any; disputes?: any; parentHeader?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingInherentData]>;
2114
+ /**
2115
+ * Generic tx
2116
+ **/
2117
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2118
+ };
2119
+ paras: {
2120
+ /**
2121
+ * Adds the validation code to the storage.
2122
+ *
2123
+ * The code will not be added if it is already present. Additionally, if PVF pre-checking
2124
+ * is running for that code, it will be instantly accepted.
2125
+ *
2126
+ * Otherwise, the code will be added into the storage. Note that the code will be added
2127
+ * into storage with reference count 0. This is to account the fact that there are no users
2128
+ * for this code yet. The caller will have to make sure that this code eventually gets
2129
+ * used by some parachain or removed from the storage to avoid storage leaks. For the
2130
+ * latter prefer to use the `poke_unused_validation_code` dispatchable to raw storage
2131
+ * manipulation.
2132
+ *
2133
+ * This function is mainly meant to be used for upgrading parachains that do not follow
2134
+ * the go-ahead signal while the PVF pre-checking feature is enabled.
2135
+ **/
2136
+ addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2137
+ /**
2138
+ * Applies the already authorized current code for the parachain,
2139
+ * triggering the same functionality as `force_set_current_code`.
2140
+ **/
2141
+ applyAuthorizedForceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2142
+ /**
2143
+ * Sets the storage for the authorized current code hash of the parachain.
2144
+ * If not applied, it will be removed at the `System::block_number() + valid_period` block.
2145
+ *
2146
+ * This can be useful, when triggering `Paras::force_set_current_code(para, code)`
2147
+ * from a different chain than the one where the `Paras` pallet is deployed.
2148
+ *
2149
+ * The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
2150
+ * Instead, we authorize `code_hash` with `root`, which can later be applied by
2151
+ * `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
2152
+ *
2153
+ * Authorizations are stored in an **overwriting manner**.
2154
+ **/
2155
+ authorizeForceSetCurrentCodeHash: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCodeHash: H256 | string | Uint8Array, validPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, H256, u32]>;
2156
+ /**
2157
+ * Note a new block head for para within the context of the current block.
2158
+ **/
2159
+ forceNoteNewHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2160
+ /**
2161
+ * Put a parachain directly into the next session's action queue.
2162
+ * We can't queue it any sooner than this without going into the
2163
+ * initializer...
2164
+ **/
2165
+ forceQueueAction: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2166
+ /**
2167
+ * Schedule an upgrade as if it was scheduled in the given relay parent block.
2168
+ **/
2169
+ forceScheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array, relayParentNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, u32]>;
2170
+ /**
2171
+ * Set the storage for the parachain validation code immediately.
2172
+ **/
2173
+ forceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2174
+ /**
2175
+ * Set the storage for the current parachain head data immediately.
2176
+ **/
2177
+ forceSetCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2178
+ /**
2179
+ * Set the storage for the current parachain head data immediately.
2180
+ **/
2181
+ forceSetMostRecentContext: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, context: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
2182
+ /**
2183
+ * Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
2184
+ * enacts the results if that was the last vote before achieving the supermajority.
2185
+ **/
2186
+ includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV8PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV8ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8ValidatorAppSignature]>;
2187
+ /**
2188
+ * Remove the validation code from the storage iff the reference count is 0.
2189
+ *
2190
+ * This is better than removing the storage directly, because it will not remove the code
2191
+ * that was suddenly got used by some parachain while this dispatchable was pending
2192
+ * dispatching.
2193
+ **/
2194
+ pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2195
+ /**
2196
+ * Remove an upgrade cooldown for a parachain.
2197
+ *
2198
+ * The cost for removing the cooldown earlier depends on the time left for the cooldown
2199
+ * multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
2200
+ **/
2201
+ removeUpgradeCooldown: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2202
+ /**
2203
+ * Generic tx
2204
+ **/
2205
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2206
+ };
2207
+ parasDisputes: {
2208
+ forceUnfreeze: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2209
+ /**
2210
+ * Generic tx
2211
+ **/
2212
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2213
+ };
2214
+ parasShared: {
2215
+ /**
2216
+ * Generic tx
2217
+ **/
2218
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2219
+ };
2220
+ parasSlashing: {
2221
+ reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesVstagingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingDisputeProof, SpSessionMembershipProof]>;
2222
+ /**
2223
+ * Generic tx
2224
+ **/
2225
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2226
+ };
2227
+ preimage: {
2228
+ /**
2229
+ * Ensure that the bulk of pre-images is upgraded.
2230
+ *
2231
+ * The caller pays no fee if at least 90% of pre-images were successfully updated.
2232
+ **/
2233
+ ensureUpdated: AugmentedSubmittable<(hashes: Vec<H256> | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<H256>]>;
2234
+ /**
2235
+ * Register a preimage on-chain.
2236
+ *
2237
+ * If the preimage was previously requested, no fees or deposits are taken for providing
2238
+ * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage.
2239
+ **/
2240
+ notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2241
+ /**
2242
+ * Request a preimage be uploaded to the chain without paying any fees or deposits.
2243
+ *
2244
+ * If the preimage requests has already been provided on-chain, we unreserve any deposit
2245
+ * a user may have paid, and take the control of the preimage out of their hands.
2246
+ **/
2247
+ requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2248
+ /**
2249
+ * Clear an unrequested preimage from the runtime storage.
2250
+ *
2251
+ * If `len` is provided, then it will be a much cheaper operation.
2252
+ *
2253
+ * - `hash`: The hash of the preimage to be removed from the store.
2254
+ * - `len`: The length of the preimage of `hash`.
2255
+ **/
2256
+ unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2257
+ /**
2258
+ * Clear a previously made request for a preimage.
2259
+ *
2260
+ * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`.
2261
+ **/
2262
+ unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2263
+ /**
2264
+ * Generic tx
2265
+ **/
2266
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2267
+ };
2268
+ proxy: {
2269
+ /**
2270
+ * Register a proxy account for the sender that is able to make calls on its behalf.
2271
+ *
2272
+ * The dispatch origin for this call must be _Signed_.
2273
+ *
2274
+ * Parameters:
2275
+ * - `proxy`: The account that the `caller` would like to make a proxy.
2276
+ * - `proxy_type`: The permissions allowed for this proxy account.
2277
+ * - `delay`: The announcement period required of the initial proxy. Will generally be
2278
+ * zero.
2279
+ **/
2280
+ addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeConstantsProxyProxyType, u32]>;
2281
+ /**
2282
+ * Publish the hash of a proxy-call that will be made in the future.
2283
+ *
2284
+ * This must be called some number of blocks before the corresponding `proxy` is attempted
2285
+ * if the delay associated with the proxy relationship is greater than zero.
2286
+ *
2287
+ * No more than `MaxPending` announcements may be made at any one time.
2288
+ *
2289
+ * This will take a deposit of `AnnouncementDepositFactor` as well as
2290
+ * `AnnouncementDepositBase` if there are no other pending announcements.
2291
+ *
2292
+ * The dispatch origin for this call must be _Signed_ and a proxy of `real`.
2293
+ *
2294
+ * Parameters:
2295
+ * - `real`: The account that the proxy will make a call on behalf of.
2296
+ * - `call_hash`: The hash of the call to be made by the `real` account.
2297
+ **/
2298
+ announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
2299
+ /**
2300
+ * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
2301
+ * initialize it with a proxy of `proxy_type` for `origin` sender.
2302
+ *
2303
+ * Requires a `Signed` origin.
2304
+ *
2305
+ * - `proxy_type`: The type of the proxy that the sender will be registered as over the
2306
+ * new account. This will almost always be the most permissive `ProxyType` possible to
2307
+ * allow for maximum flexibility.
2308
+ * - `index`: A disambiguation index, in case this is called multiple times in the same
2309
+ * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just
2310
+ * want to use `0`.
2311
+ * - `delay`: The announcement period required of the initial proxy. Will generally be
2312
+ * zero.
2313
+ *
2314
+ * Fails with `Duplicate` if this has already been called in this transaction, from the
2315
+ * same sender, with the same parameters.
2316
+ *
2317
+ * Fails if there are insufficient funds to pay for deposit.
2318
+ **/
2319
+ createPure: AugmentedSubmittable<(proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeConstantsProxyProxyType, u32, u16]>;
2320
+ /**
2321
+ * Removes a previously spawned pure proxy.
2322
+ *
2323
+ * WARNING: **All access to this account will be lost.** Any funds held in it will be
2324
+ * inaccessible.
2325
+ *
2326
+ * Requires a `Signed` origin, and the sender account must have been created by a call to
2327
+ * `create_pure` with corresponding parameters.
2328
+ *
2329
+ * - `spawner`: The account that originally called `create_pure` to create this account.
2330
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
2331
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
2332
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
2333
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
2334
+ *
2335
+ * Fails with `NoPermission` in case the caller is not a previously created pure
2336
+ * account whose `create_pure` call has corresponding parameters.
2337
+ **/
2338
+ killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
2339
+ /**
2340
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
2341
+ * This can be used by accounts to possibly lower their locked amount.
2342
+ *
2343
+ * The dispatch origin for this call must be _Signed_.
2344
+ *
2345
+ * The transaction fee is waived if the deposit amount has changed.
2346
+ *
2347
+ * Emits `DepositPoked` if successful.
2348
+ **/
2349
+ pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2350
+ /**
2351
+ * Dispatch the given `call` from an account that the sender is authorised for through
2352
+ * `add_proxy`.
2353
+ *
2354
+ * The dispatch origin for this call must be _Signed_.
2355
+ *
2356
+ * Parameters:
2357
+ * - `real`: The account that the proxy will make a call on behalf of.
2358
+ * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
2359
+ * - `call`: The call to be made by the `real` account.
2360
+ **/
2361
+ proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeConstantsProxyProxyType> | null | Uint8Array | PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<PolkadotRuntimeConstantsProxyProxyType>, Call]>;
2362
+ /**
2363
+ * Dispatch the given `call` from an account that the sender is authorized for through
2364
+ * `add_proxy`.
2365
+ *
2366
+ * Removes any corresponding announcement(s).
2367
+ *
2368
+ * The dispatch origin for this call must be _Signed_.
2369
+ *
2370
+ * Parameters:
2371
+ * - `real`: The account that the proxy will make a call on behalf of.
2372
+ * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
2373
+ * - `call`: The call to be made by the `real` account.
2374
+ **/
2375
+ proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeConstantsProxyProxyType> | null | Uint8Array | PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<PolkadotRuntimeConstantsProxyProxyType>, Call]>;
2376
+ /**
2377
+ * Remove the given announcement of a delegate.
2378
+ *
2379
+ * May be called by a target (proxied) account to remove a call that one of their delegates
2380
+ * (`delegate`) has announced they want to execute. The deposit is returned.
2381
+ *
2382
+ * The dispatch origin for this call must be _Signed_.
2383
+ *
2384
+ * Parameters:
2385
+ * - `delegate`: The account that previously announced the call.
2386
+ * - `call_hash`: The hash of the call to be made.
2387
+ **/
2388
+ rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
2389
+ /**
2390
+ * Remove a given announcement.
2391
+ *
2392
+ * May be called by a proxy account to remove a call they previously announced and return
2393
+ * the deposit.
2394
+ *
2395
+ * The dispatch origin for this call must be _Signed_.
2396
+ *
2397
+ * Parameters:
2398
+ * - `real`: The account that the proxy will make a call on behalf of.
2399
+ * - `call_hash`: The hash of the call to be made by the `real` account.
2400
+ **/
2401
+ removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
2402
+ /**
2403
+ * Unregister all proxy accounts for the sender.
2404
+ *
2405
+ * The dispatch origin for this call must be _Signed_.
2406
+ *
2407
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
2408
+ * the unreserved fees will be inaccessible. **All access to this account will be lost.**
2409
+ **/
2410
+ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2411
+ /**
2412
+ * Unregister a proxy account for the sender.
2413
+ *
2414
+ * The dispatch origin for this call must be _Signed_.
2415
+ *
2416
+ * Parameters:
2417
+ * - `proxy`: The account that the `caller` would like to remove as a proxy.
2418
+ * - `proxy_type`: The permissions currently enabled for the removed proxy account.
2419
+ **/
2420
+ removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeConstantsProxyProxyType, u32]>;
2421
+ /**
2422
+ * Generic tx
2423
+ **/
2424
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2425
+ };
2426
+ rcMigrator: {
2427
+ /**
2428
+ * Cancel the migration.
2429
+ *
2430
+ * Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
2431
+ **/
2432
+ cancelMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2433
+ /**
2434
+ * Set the migration stage.
2435
+ *
2436
+ * This call is intended for emergency use only and is guarded by the
2437
+ * [`Config::AdminOrigin`].
2438
+ **/
2439
+ forceSetStage: AugmentedSubmittable<(stage: PalletRcMigratorMigrationStage | { Pending: any } | { MigrationPaused: any } | { Scheduled: any } | { WaitingForAh: any } | { WarmUp: any } | { Starting: any } | { PureProxyCandidatesMigrationInit: any } | { AccountsMigrationInit: any } | { AccountsMigrationOngoing: any } | { AccountsMigrationDone: any } | { MultisigMigrationInit: any } | { MultisigMigrationOngoing: any } | { MultisigMigrationDone: any } | { ClaimsMigrationInit: any } | { ClaimsMigrationOngoing: any } | { ClaimsMigrationDone: any } | { ProxyMigrationInit: any } | { ProxyMigrationProxies: any } | { ProxyMigrationAnnouncements: any } | { ProxyMigrationDone: any } | { PreimageMigrationInit: any } | { PreimageMigrationChunksOngoing: any } | { PreimageMigrationChunksDone: any } | { PreimageMigrationRequestStatusOngoing: any } | { PreimageMigrationRequestStatusDone: any } | { PreimageMigrationLegacyRequestStatusInit: any } | { PreimageMigrationLegacyRequestStatusOngoing: any } | { PreimageMigrationLegacyRequestStatusDone: any } | { PreimageMigrationDone: any } | { NomPoolsMigrationInit: any } | { NomPoolsMigrationOngoing: any } | { NomPoolsMigrationDone: any } | { VestingMigrationInit: any } | { VestingMigrationOngoing: any } | { VestingMigrationDone: any } | { DelegatedStakingMigrationInit: any } | { DelegatedStakingMigrationOngoing: any } | { DelegatedStakingMigrationDone: any } | { IndicesMigrationInit: any } | { IndicesMigrationOngoing: any } | { IndicesMigrationDone: any } | { ReferendaMigrationInit: any } | { ReferendaMigrationOngoing: any } | { ReferendaMigrationDone: any } | { BagsListMigrationInit: any } | { BagsListMigrationOngoing: any } | { BagsListMigrationDone: any } | { SchedulerMigrationInit: any } | { SchedulerMigrationOngoing: any } | { SchedulerAgendaMigrationOngoing: any } | { SchedulerMigrationDone: any } | { ConvictionVotingMigrationInit: any } | { ConvictionVotingMigrationOngoing: any } | { ConvictionVotingMigrationDone: any } | { BountiesMigrationInit: any } | { BountiesMigrationOngoing: any } | { BountiesMigrationDone: any } | { ChildBountiesMigrationInit: any } | { ChildBountiesMigrationOngoing: any } | { ChildBountiesMigrationDone: any } | { AssetRateMigrationInit: any } | { AssetRateMigrationOngoing: any } | { AssetRateMigrationDone: any } | { CrowdloanMigrationInit: any } | { CrowdloanMigrationOngoing: any } | { CrowdloanMigrationDone: any } | { TreasuryMigrationInit: any } | { TreasuryMigrationOngoing: any } | { TreasuryMigrationDone: any } | { StakingMigrationInit: any } | { StakingMigrationOngoing: any } | { StakingMigrationDone: any } | { CoolOff: any } | { SignalMigrationFinish: any } | { MigrationDone: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorMigrationStage]>;
2440
+ /**
2441
+ * Pause the migration.
2442
+ **/
2443
+ pauseMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2444
+ /**
2445
+ * Set the accounts to be preserved on Relay Chain during the migration.
2446
+ *
2447
+ * The accounts must have no consumers references.
2448
+ **/
2449
+ preserveAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
2450
+ /**
2451
+ * Receive a query response from the Asset Hub for a previously sent xcm message.
2452
+ **/
2453
+ receiveQueryResponse: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array, response: StagingXcmV5Response | { Null: any } | { Assets: any } | { ExecutionResult: any } | { Version: any } | { PalletsInfo: any } | { DispatchResult: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, StagingXcmV5Response]>;
2454
+ /**
2455
+ * Resend a previously sent and unconfirmed XCM message.
2456
+ **/
2457
+ resendXcm: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
2458
+ /**
2459
+ * Schedule the migration to start at a given moment.
2460
+ *
2461
+ * ### Parameters:
2462
+ * - `start`: The block number at which the migration will start. `DispatchTime` calculated
2463
+ * at the moment of the extrinsic execution.
2464
+ * - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
2465
+ * are filtered during this period. It is intended to give enough time for UMP and DMP
2466
+ * queues to empty. `DispatchTime` calculated at the moment of the transition to the
2467
+ * warm-up stage.
2468
+ * - `cool_off`: The block number at which the post migration cool-off period will end. The
2469
+ * `DispatchTime` calculated at the moment of the transition to the cool-off stage.
2470
+ * - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
2471
+ * scheduled time point is far enough in the future.
2472
+ *
2473
+ * Note: If the staking election for next era is already complete, and the next
2474
+ * validator set is queued in `pallet-session`, we want to avoid starting the data
2475
+ * migration at this point as it can lead to some missed validator rewards. To address
2476
+ * this, we stop staking election at the start of migration and must wait atleast 1
2477
+ * session (set via warm_up) before starting the data migration.
2478
+ *
2479
+ * Read [`MigrationStage::Scheduled`] documentation for more details.
2480
+ **/
2481
+ scheduleMigration: AugmentedSubmittable<(start: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, warmUp: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, coolOff: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, unsafeIgnoreStakingLockCheck: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, bool]>;
2482
+ /**
2483
+ * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
2484
+ * [Config::SendXcm] router which will be able to send messages to the Asset Hub during
2485
+ * the migration.
2486
+ **/
2487
+ sendXcmMessage: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
2488
+ /**
2489
+ * Set the AH UMP queue priority configuration.
2490
+ *
2491
+ * Can only be called by the `AdminOrigin`.
2492
+ **/
2493
+ setAhUmpQueuePriority: AugmentedSubmittable<(updated: PalletRcMigratorQueuePriority | { Config: any } | { OverrideConfig: any } | { Disabled: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorQueuePriority]>;
2494
+ /**
2495
+ * Set the canceller account id.
2496
+ *
2497
+ * The canceller can only stop scheduled migration.
2498
+ **/
2499
+ setCanceller: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
2500
+ /**
2501
+ * Set the manager account id.
2502
+ *
2503
+ * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
2504
+ * can not set the manager account id via `set_manager` call.
2505
+ **/
2506
+ setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
2507
+ /**
2508
+ * Set the migration settings. Can only be done by admin or manager.
2509
+ **/
2510
+ setSettings: AugmentedSubmittable<(settings: Option<PalletRcMigratorMigrationSettings> | null | Uint8Array | PalletRcMigratorMigrationSettings | { maxAccountsPerBlock?: any; maxItemsPerBlock?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletRcMigratorMigrationSettings>]>;
2511
+ /**
2512
+ * Set the unprocessed message buffer size.
2513
+ *
2514
+ * `None` means to use the configuration value.
2515
+ **/
2516
+ setUnprocessedMsgBuffer: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
2517
+ /**
2518
+ * Start the data migration.
2519
+ *
2520
+ * This is typically called by the Asset Hub to indicate it's readiness to receive the
2521
+ * migration data.
2522
+ **/
2523
+ startDataMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2524
+ /**
2525
+ * Vote on behalf of any of the members in `MultisigMembers`.
2526
+ *
2527
+ * Unsigned extrinsic, requiring the `payload` to be signed.
2528
+ *
2529
+ * Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
2530
+ * be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
2531
+ * move on to the next round.
2532
+ *
2533
+ * The round system ensures that signatures from older round cannot be reused.
2534
+ **/
2535
+ voteManagerMultisig: AugmentedSubmittable<(payload: PalletRcMigratorManagerMultisigVote | { who?: any; call?: any; round?: any } | string | Uint8Array, sig: SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorManagerMultisigVote, SpRuntimeMultiSignature]>;
2536
+ /**
2537
+ * Generic tx
2538
+ **/
2539
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2540
+ };
2541
+ referenda: {
2542
+ /**
2543
+ * Cancel an ongoing referendum.
2544
+ *
2545
+ * - `origin`: must be the `CancelOrigin`.
2546
+ * - `index`: The index of the referendum to be cancelled.
2547
+ *
2548
+ * Emits `Cancelled`.
2549
+ **/
2550
+ cancel: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2551
+ /**
2552
+ * Cancel an ongoing referendum and slash the deposits.
2553
+ *
2554
+ * - `origin`: must be the `KillOrigin`.
2555
+ * - `index`: The index of the referendum to be cancelled.
2556
+ *
2557
+ * Emits `Killed` and `DepositSlashed`.
2558
+ **/
2559
+ kill: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2560
+ /**
2561
+ * Advance a referendum onto its next logical state. Only used internally.
2562
+ *
2563
+ * - `origin`: must be `Root`.
2564
+ * - `index`: the referendum to be advanced.
2565
+ **/
2566
+ nudgeReferendum: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2567
+ /**
2568
+ * Advance a track onto its next logical state. Only used internally.
2569
+ *
2570
+ * - `origin`: must be `Root`.
2571
+ * - `track`: the track to be advanced.
2572
+ *
2573
+ * Action item for when there is now one fewer referendum in the deciding phase and the
2574
+ * `DecidingCount` is not yet updated. This means that we should either:
2575
+ * - begin deciding another referendum (and leave `DecidingCount` alone); or
2576
+ * - decrement `DecidingCount`.
2577
+ **/
2578
+ oneFewerDeciding: AugmentedSubmittable<(track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
2579
+ /**
2580
+ * Post the Decision Deposit for a referendum.
2581
+ *
2582
+ * - `origin`: must be `Signed` and the account must have funds available for the
2583
+ * referendum's track's Decision Deposit.
2584
+ * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be
2585
+ * posted.
2586
+ *
2587
+ * Emits `DecisionDepositPlaced`.
2588
+ **/
2589
+ placeDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2590
+ /**
2591
+ * Refund the Decision Deposit for a closed referendum back to the depositor.
2592
+ *
2593
+ * - `origin`: must be `Signed` or `Root`.
2594
+ * - `index`: The index of a closed referendum whose Decision Deposit has not yet been
2595
+ * refunded.
2596
+ *
2597
+ * Emits `DecisionDepositRefunded`.
2598
+ **/
2599
+ refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2600
+ /**
2601
+ * Refund the Submission Deposit for a closed referendum back to the depositor.
2602
+ *
2603
+ * - `origin`: must be `Signed` or `Root`.
2604
+ * - `index`: The index of a closed referendum whose Submission Deposit has not yet been
2605
+ * refunded.
2606
+ *
2607
+ * Emits `SubmissionDepositRefunded`.
2608
+ **/
2609
+ refundSubmissionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2610
+ /**
2611
+ * Set or clear metadata of a referendum.
2612
+ *
2613
+ * Parameters:
2614
+ * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a
2615
+ * metadata of a finished referendum.
2616
+ * - `index`: The index of a referendum to set or clear metadata for.
2617
+ * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata.
2618
+ **/
2619
+ setMetadata: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, maybeHash: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [u32, Option<H256>]>;
2620
+ /**
2621
+ * Propose a referendum on a privileged action.
2622
+ *
2623
+ * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds
2624
+ * available.
2625
+ * - `proposal_origin`: The origin from which the proposal should be executed.
2626
+ * - `proposal`: The proposal.
2627
+ * - `enactment_moment`: The moment that the proposal should be enacted.
2628
+ *
2629
+ * Emits `Submitted`.
2630
+ **/
2631
+ submit: AugmentedSubmittable<(proposalOrigin: PolkadotRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>;
2632
+ /**
2633
+ * Generic tx
2634
+ **/
2635
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2636
+ };
2637
+ registrar: {
2638
+ /**
2639
+ * Add a manager lock from a para. This will prevent the manager of a
2640
+ * para to deregister or swap a para.
2641
+ *
2642
+ * Can be called by Root, the parachain, or the parachain manager if the parachain is
2643
+ * unlocked.
2644
+ **/
2645
+ addLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2646
+ /**
2647
+ * Deregister a Para Id, freeing all data and returning any deposit.
2648
+ *
2649
+ * The caller must be Root, the `para` owner, or the `para` itself. The para must be an
2650
+ * on-demand parachain.
2651
+ **/
2652
+ deregister: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2653
+ /**
2654
+ * Force the registration of a Para Id on the relay chain.
2655
+ *
2656
+ * This function must be called by a Root origin.
2657
+ *
2658
+ * The deposit taken can be specified for this registration. Any `ParaId`
2659
+ * can be registered, including sub-1000 IDs which are System Parachains.
2660
+ **/
2661
+ 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]>;
2662
+ /**
2663
+ * Register head data and validation code for a reserved Para Id.
2664
+ *
2665
+ * ## Arguments
2666
+ * - `origin`: Must be called by a `Signed` origin.
2667
+ * - `id`: The para ID. Must be owned/managed by the `origin` signing account.
2668
+ * - `genesis_head`: The genesis head data of the parachain/thread.
2669
+ * - `validation_code`: The initial validation code of the parachain/thread.
2670
+ *
2671
+ * ## Deposits/Fees
2672
+ * The account with the originating signature must reserve a deposit.
2673
+ *
2674
+ * The deposit is required to cover the costs associated with storing the genesis head
2675
+ * data and the validation code.
2676
+ * This accounts for the potential to store validation code of a size up to the
2677
+ * `max_code_size`, as defined in the configuration pallet
2678
+ *
2679
+ * Anything already reserved previously for this para ID is accounted for.
2680
+ *
2681
+ * ## Events
2682
+ * The `Registered` event is emitted in case of success.
2683
+ **/
2684
+ register: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, Bytes]>;
2685
+ /**
2686
+ * Remove a manager lock from a para. This will allow the manager of a
2687
+ * previously locked para to deregister or swap a para without using governance.
2688
+ *
2689
+ * Can only be called by the Root origin or the parachain.
2690
+ **/
2691
+ removeLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2692
+ /**
2693
+ * Reserve a Para Id on the relay chain.
2694
+ *
2695
+ * This function will reserve a new Para Id to be owned/managed by the origin account.
2696
+ * The origin account is able to register head data and validation code using `register` to
2697
+ * create an on-demand parachain. Using the Slots pallet, an on-demand parachain can then
2698
+ * be upgraded to a lease holding parachain.
2699
+ *
2700
+ * ## Arguments
2701
+ * - `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new
2702
+ * para ID.
2703
+ *
2704
+ * ## Deposits/Fees
2705
+ * The origin must reserve a deposit of `ParaDeposit` for the registration.
2706
+ *
2707
+ * ## Events
2708
+ * The `Reserved` event is emitted in case of success, which provides the ID reserved for
2709
+ * use.
2710
+ **/
2711
+ reserve: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2712
+ /**
2713
+ * Schedule a parachain upgrade.
2714
+ *
2715
+ * This will kick off a check of `new_code` by all validators. After the majority of the
2716
+ * validators have reported on the validity of the code, the code will either be enacted
2717
+ * or the upgrade will be rejected. If the code will be enacted, the current code of the
2718
+ * parachain will be overwritten directly. This means that any PoV will be checked by this
2719
+ * new code. The parachain itself will not be informed explicitly that the validation code
2720
+ * has changed.
2721
+ *
2722
+ * Can be called by Root, the parachain, or the parachain manager if the parachain is
2723
+ * unlocked.
2724
+ **/
2725
+ scheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2726
+ /**
2727
+ * Set the parachain's current head.
2728
+ *
2729
+ * Can be called by Root, the parachain, or the parachain manager if the parachain is
2730
+ * unlocked.
2731
+ **/
2732
+ setCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2733
+ /**
2734
+ * Swap a lease holding parachain with another parachain, either on-demand or lease
2735
+ * holding.
2736
+ *
2737
+ * The origin must be Root, the `para` owner, or the `para` itself.
2738
+ *
2739
+ * The swap will happen only if there is already an opposite swap pending. If there is not,
2740
+ * the swap will be stored in the pending swaps map, ready for a later confirmatory swap.
2741
+ *
2742
+ * The `ParaId`s remain mapped to the same head data and code so external code can rely on
2743
+ * `ParaId` to be a long-term identifier of a notional "parachain". However, their
2744
+ * scheduling info (i.e. whether they're an on-demand parachain or lease holding
2745
+ * parachain), auction information and the auction deposit are switched.
2746
+ **/
2747
+ swap: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, other: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
2748
+ /**
2749
+ * Generic tx
2750
+ **/
2751
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2752
+ };
2753
+ scheduler: {
2754
+ /**
2755
+ * Cancel an anonymously scheduled task.
2756
+ **/
2757
+ cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
2758
+ /**
2759
+ * Cancel a named scheduled task.
2760
+ **/
2761
+ cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
2762
+ /**
2763
+ * Removes the retry configuration of a task.
2764
+ **/
2765
+ cancelRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>]>;
2766
+ /**
2767
+ * Cancel the retry configuration of a named task.
2768
+ **/
2769
+ cancelRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
2770
+ /**
2771
+ * Anonymously schedule a task.
2772
+ **/
2773
+ 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]>;
2774
+ /**
2775
+ * Anonymously schedule a task after a delay.
2776
+ **/
2777
+ 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]>;
2778
+ /**
2779
+ * Schedule a named task.
2780
+ **/
2781
+ 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]>;
2782
+ /**
2783
+ * Schedule a named task after a delay.
2784
+ **/
2785
+ 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]>;
2786
+ /**
2787
+ * Set a retry configuration for a task so that, in case its scheduled run fails, it will
2788
+ * be retried after `period` blocks, for a total amount of `retries` retries or until it
2789
+ * succeeds.
2790
+ *
2791
+ * Tasks which need to be scheduled for a retry are still subject to weight metering and
2792
+ * agenda space, same as a regular task. If a periodic task fails, it will be scheduled
2793
+ * normally while the task is retrying.
2794
+ *
2795
+ * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic
2796
+ * clones of the original task. Their retry configuration will be derived from the
2797
+ * original task's configuration, but will have a lower value for `remaining` than the
2798
+ * original `total_retries`.
2799
+ **/
2800
+ setRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>, u8, u32]>;
2801
+ /**
2802
+ * Set a retry configuration for a named task so that, in case its scheduled run fails, it
2803
+ * will be retried after `period` blocks, for a total amount of `retries` retries or until
2804
+ * it succeeds.
2805
+ *
2806
+ * Tasks which need to be scheduled for a retry are still subject to weight metering and
2807
+ * agenda space, same as a regular task. If a periodic task fails, it will be scheduled
2808
+ * normally while the task is retrying.
2809
+ *
2810
+ * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic
2811
+ * clones of the original task. Their retry configuration will be derived from the
2812
+ * original task's configuration, but will have a lower value for `remaining` than the
2813
+ * original `total_retries`.
2814
+ **/
2815
+ setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8, u32]>;
2816
+ /**
2817
+ * Generic tx
2818
+ **/
2819
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2820
+ };
2821
+ session: {
2822
+ /**
2823
+ * Removes any session key(s) of the function caller.
2824
+ *
2825
+ * This doesn't take effect until the next session.
2826
+ *
2827
+ * The dispatch origin of this function must be Signed and the account must be either be
2828
+ * convertible to a validator ID using the chain's typical addressing system (this usually
2829
+ * means being a controller account) or directly convertible into a validator ID (which
2830
+ * usually means being a stash account).
2831
+ *
2832
+ * ## Complexity
2833
+ * - `O(1)` in number of key types. Actual cost depends on the number of length of
2834
+ * `T::Keys::key_ids()` which is fixed.
2835
+ **/
2836
+ purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2837
+ /**
2838
+ * Sets the session key(s) of the function caller to `keys`.
2839
+ * Allows an account to set its session key prior to becoming a validator.
2840
+ * This doesn't take effect until the next session.
2841
+ *
2842
+ * The dispatch origin of this function must be signed.
2843
+ *
2844
+ * ## Complexity
2845
+ * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
2846
+ * fixed.
2847
+ **/
2848
+ setKeys: AugmentedSubmittable<(keys: PolkadotRuntimeSessionKeys | { grandpa?: any; babe?: any; paraValidator?: any; paraAssignment?: any; authorityDiscovery?: any; beefy?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeSessionKeys, Bytes]>;
2849
+ /**
2850
+ * Generic tx
2851
+ **/
2852
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2853
+ };
2854
+ slots: {
2855
+ /**
2856
+ * Clear all leases for a Para Id, refunding any deposits back to the original owners.
2857
+ *
2858
+ * The dispatch origin for this call must match `T::ForceOrigin`.
2859
+ **/
2860
+ clearAllLeases: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2861
+ /**
2862
+ * Just a connect into the `lease_out` call, in case Root wants to force some lease to
2863
+ * happen independently of any other on-chain mechanism to use it.
2864
+ *
2865
+ * The dispatch origin for this call must match `T::ForceOrigin`.
2866
+ **/
2867
+ forceLease: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, leaser: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, periodBegin: u32 | AnyNumber | Uint8Array, periodCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32, u128, u32, u32]>;
2868
+ /**
2869
+ * Try to onboard a parachain that has a lease for the current lease period.
2870
+ *
2871
+ * This function can be useful if there was some state issue with a para that should
2872
+ * have onboarded, but was unable to. As long as they have a lease period, we can
2873
+ * let them onboard from here.
2874
+ *
2875
+ * Origin must be signed, but can be called by anyone.
2876
+ **/
2877
+ triggerOnboard: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2878
+ /**
2879
+ * Generic tx
2880
+ **/
2881
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
2882
+ };
2883
+ staking: {
2884
+ /**
2885
+ * Take the origin account as a stash and lock up `value` of its balance. `controller` will
2886
+ * be the account that controls it.
2887
+ *
2888
+ * `value` must be more than the `minimum_balance` specified by `T::Currency`.
2889
+ *
2890
+ * The dispatch origin for this call must be _Signed_ by the stash account.
2891
+ *
2892
+ * Emits `Bonded`.
2893
+ * ## Complexity
2894
+ * - Independent of the arguments. Moderate complexity.
2895
+ * - O(1).
2896
+ * - Three extra DB entries.
2897
+ *
2898
+ * NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
2899
+ * unless the `origin` falls below _existential deposit_ (or equal to 0) and gets removed
2900
+ * as dust.
2901
+ **/
2902
+ bond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | { None: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PalletStakingRewardDestination]>;
2903
+ /**
2904
+ * Add some extra amount that have appeared in the stash `free_balance` into the balance up
2905
+ * for staking.
2906
+ *
2907
+ * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
2908
+ *
2909
+ * Use this if there are additional funds in your stash account that you wish to bond.
2910
+ * Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose
2911
+ * any limitation on the amount that can be added.
2912
+ *
2913
+ * Emits `Bonded`.
2914
+ *
2915
+ * ## Complexity
2916
+ * - Independent of the arguments. Insignificant complexity.
2917
+ * - O(1).
2918
+ **/
2919
+ bondExtra: AugmentedSubmittable<(maxAdditional: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
2920
+ /**
2921
+ * Cancel enactment of a deferred slash.
2922
+ *
2923
+ * Can be called by the `T::AdminOrigin`.
2924
+ *
2925
+ * Parameters: era and indices of the slashes for that era to kill.
2926
+ * They **must** be sorted in ascending order, *and* unique.
2927
+ **/
2928
+ cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
2929
+ /**
2930
+ * Declare no desire to either validate or nominate.
2931
+ *
2932
+ * Effects will be felt at the beginning of the next era.
2933
+ *
2934
+ * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
2935
+ *
2936
+ * ## Complexity
2937
+ * - Independent of the arguments. Insignificant complexity.
2938
+ * - Contains one read.
2939
+ * - Writes are limited to the `origin` account key.
2940
+ **/
2941
+ chill: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2942
+ /**
2943
+ * Declare a `controller` to stop participating as either a validator or nominator.
2944
+ *
2945
+ * Effects will be felt at the beginning of the next era.
2946
+ *
2947
+ * The dispatch origin for this call must be _Signed_, but can be called by anyone.
2948
+ *
2949
+ * If the caller is the same as the controller being targeted, then no further checks are
2950
+ * enforced, and this function behaves just like `chill`.
2951
+ *
2952
+ * If the caller is different than the controller being targeted, the following conditions
2953
+ * must be met:
2954
+ *
2955
+ * * `controller` must belong to a nominator who has become non-decodable,
2956
+ *
2957
+ * Or:
2958
+ *
2959
+ * * A `ChillThreshold` must be set and checked which defines how close to the max
2960
+ * nominators or validators we must reach before users can start chilling one-another.
2961
+ * * A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine
2962
+ * how close we are to the threshold.
2963
+ * * A `MinNominatorBond` and `MinValidatorBond` must be set and checked, which determines
2964
+ * if this is a person that should be chilled because they have not met the threshold
2965
+ * bond required.
2966
+ *
2967
+ * This can be helpful if bond requirements are updated, and we need to remove old users
2968
+ * who do not satisfy these requirements.
2969
+ **/
2970
+ chillOther: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
2971
+ /**
2972
+ * Updates a batch of controller accounts to their corresponding stash account if they are
2973
+ * not the same. Ignores any controller accounts that do not exist, and does not operate if
2974
+ * the stash and controller are already the same.
2975
+ *
2976
+ * Effects will be felt instantly (as soon as this function is completed successfully).
2977
+ *
2978
+ * The dispatch origin must be `T::AdminOrigin`.
2979
+ **/
2980
+ deprecateControllerBatch: AugmentedSubmittable<(controllers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
2981
+ /**
2982
+ * Force a validator to have at least the minimum commission. This will not affect a
2983
+ * validator who already has a commission greater than or equal to the minimum. Any account
2984
+ * can call this.
2985
+ **/
2986
+ forceApplyMinCommission: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
2987
+ /**
2988
+ * Force there to be a new era at the end of the next session. After this, it will be
2989
+ * reset to normal (non-forced) behaviour.
2990
+ *
2991
+ * The dispatch origin must be Root.
2992
+ *
2993
+ * # Warning
2994
+ *
2995
+ * The election process starts multiple blocks before the end of the era.
2996
+ * If this is called just before a new era is triggered, the election process may not
2997
+ * have enough blocks to get a result.
2998
+ *
2999
+ * ## Complexity
3000
+ * - No arguments.
3001
+ * - Weight: O(1)
3002
+ **/
3003
+ forceNewEra: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3004
+ /**
3005
+ * Force there to be a new era at the end of sessions indefinitely.
3006
+ *
3007
+ * The dispatch origin must be Root.
3008
+ *
3009
+ * # Warning
3010
+ *
3011
+ * The election process starts multiple blocks before the end of the era.
3012
+ * If this is called just before a new era is triggered, the election process may not
3013
+ * have enough blocks to get a result.
3014
+ **/
3015
+ forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3016
+ /**
3017
+ * Force there to be no new eras indefinitely.
3018
+ *
3019
+ * The dispatch origin must be Root.
3020
+ *
3021
+ * # Warning
3022
+ *
3023
+ * The election process starts multiple blocks before the end of the era.
3024
+ * Thus the election process may be ongoing when this is called. In this case the
3025
+ * election will continue until the next era is triggered.
3026
+ *
3027
+ * ## Complexity
3028
+ * - No arguments.
3029
+ * - Weight: O(1)
3030
+ **/
3031
+ forceNoEras: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3032
+ /**
3033
+ * Force a current staker to become completely unstaked, immediately.
3034
+ *
3035
+ * The dispatch origin must be Root.
3036
+ *
3037
+ * ## Parameters
3038
+ *
3039
+ * - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
3040
+ * details.
3041
+ **/
3042
+ forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
3043
+ /**
3044
+ * Increments the ideal number of validators up to maximum of
3045
+ * `ElectionProviderBase::MaxWinners`.
3046
+ *
3047
+ * The dispatch origin must be Root.
3048
+ *
3049
+ * ## Complexity
3050
+ * Same as [`Self::set_validator_count`].
3051
+ **/
3052
+ increaseValidatorCount: AugmentedSubmittable<(additional: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3053
+ /**
3054
+ * Remove the given nominations from the calling validator.
3055
+ *
3056
+ * Effects will be felt at the beginning of the next era.
3057
+ *
3058
+ * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3059
+ *
3060
+ * - `who`: A list of nominator stash accounts who are nominating this validator which
3061
+ * should no longer be nominating this validator.
3062
+ *
3063
+ * Note: Making this call only makes sense if you first set the validator preferences to
3064
+ * block any further nominations.
3065
+ **/
3066
+ kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
3067
+ /**
3068
+ * This function allows governance to manually slash a validator and is a
3069
+ * **fallback mechanism**.
3070
+ *
3071
+ * The dispatch origin must be `T::AdminOrigin`.
3072
+ *
3073
+ * ## Parameters
3074
+ * - `validator_stash` - The stash account of the validator to slash.
3075
+ * - `era` - The era in which the validator was in the active set.
3076
+ * - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
3077
+ *
3078
+ * ## Behavior
3079
+ *
3080
+ * The slash will be applied using the standard slashing mechanics, respecting the
3081
+ * configured `SlashDeferDuration`.
3082
+ *
3083
+ * This means:
3084
+ * - If the validator was already slashed by a higher percentage for the same era, this
3085
+ * slash will have no additional effect.
3086
+ * - If the validator was previously slashed by a lower percentage, only the difference
3087
+ * will be applied.
3088
+ * - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
3089
+ **/
3090
+ manualSlash: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Perbill]>;
3091
+ /**
3092
+ * Removes the legacy Staking locks if they exist.
3093
+ *
3094
+ * This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
3095
+ * hold on it if needed. If all stake cannot be held, the best effort is made to hold as
3096
+ * much as possible. The remaining stake is forced withdrawn from the ledger.
3097
+ *
3098
+ * The fee is waived if the migration is successful.
3099
+ **/
3100
+ migrateCurrency: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
3101
+ /**
3102
+ * Declare the desire to nominate `targets` for the origin controller.
3103
+ *
3104
+ * Effects will be felt at the beginning of the next era.
3105
+ *
3106
+ * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3107
+ *
3108
+ * ## Complexity
3109
+ * - The transaction's complexity is proportional to the size of `targets` (N)
3110
+ * which is capped at CompactAssignments::LIMIT (T::MaxNominations).
3111
+ * - Both the reads and writes follow a similar pattern.
3112
+ **/
3113
+ nominate: AugmentedSubmittable<(targets: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
3114
+ /**
3115
+ * Pay out next page of the stakers behind a validator for the given era.
3116
+ *
3117
+ * - `validator_stash` is the stash account of the validator.
3118
+ * - `era` may be any era between `[current_era - history_depth; current_era]`.
3119
+ *
3120
+ * The origin of this call must be _Signed_. Any account can call this function, even if
3121
+ * it is not one of the stakers.
3122
+ *
3123
+ * The reward payout could be paged in case there are too many nominators backing the
3124
+ * `validator_stash`. This call will payout unpaid pages in an ascending order. To claim a
3125
+ * specific page, use `payout_stakers_by_page`.`
3126
+ *
3127
+ * If all pages are claimed, it returns an error `InvalidPage`.
3128
+ **/
3129
+ payoutStakers: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
3130
+ /**
3131
+ * Pay out a page of the stakers behind a validator for the given era and page.
3132
+ *
3133
+ * - `validator_stash` is the stash account of the validator.
3134
+ * - `era` may be any era between `[current_era - history_depth; current_era]`.
3135
+ * - `page` is the page index of nominators to pay out with value between 0 and
3136
+ * `num_nominators / T::MaxExposurePageSize`.
3137
+ *
3138
+ * The origin of this call must be _Signed_. Any account can call this function, even if
3139
+ * it is not one of the stakers.
3140
+ *
3141
+ * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
3142
+ * them, then the list of nominators is paged, with each page being capped at
3143
+ * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
3144
+ * the call needs to be made for each page separately in order for all the nominators
3145
+ * backing a validator to receive the reward. The nominators are not sorted across pages
3146
+ * and so it should not be assumed the highest staker would be on the topmost page and vice
3147
+ * versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost.
3148
+ **/
3149
+ payoutStakersByPage: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, page: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, u32]>;
3150
+ /**
3151
+ * Remove all data structures concerning a staker/stash once it is at a state where it can
3152
+ * be considered `dust` in the staking system. The requirements are:
3153
+ *
3154
+ * 1. the `total_balance` of the stash is below existential deposit.
3155
+ * 2. or, the `ledger.total` of the stash is below existential deposit.
3156
+ * 3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero.
3157
+ *
3158
+ * The former can happen in cases like a slash; the latter when a fully unbonded account
3159
+ * is still receiving staking rewards in `RewardDestination::Staked`.
3160
+ *
3161
+ * It can be called by anyone, as long as `stash` meets the above requirements.
3162
+ *
3163
+ * Refunds the transaction fees upon successful execution.
3164
+ *
3165
+ * ## Parameters
3166
+ *
3167
+ * - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
3168
+ * details.
3169
+ **/
3170
+ reapStash: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
3171
+ /**
3172
+ * Rebond a portion of the stash scheduled to be unlocked.
3173
+ *
3174
+ * The dispatch origin must be signed by the controller.
3175
+ *
3176
+ * ## Complexity
3177
+ * - Time complexity: O(L), where L is unlocking chunks
3178
+ * - Bounded by `MaxUnlockingChunks`.
3179
+ **/
3180
+ rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
3181
+ /**
3182
+ * Restores the state of a ledger which is in an inconsistent state.
3183
+ *
3184
+ * The requirements to restore a ledger are the following:
3185
+ * * The stash is bonded; or
3186
+ * * The stash is not bonded but it has a staking lock left behind; or
3187
+ * * If the stash has an associated ledger and its state is inconsistent; or
3188
+ * * If the ledger is not corrupted *but* its staking lock is out of sync.
3189
+ *
3190
+ * The `maybe_*` input parameters will overwrite the corresponding data and metadata of the
3191
+ * ledger associated with the stash. If the input parameters are not set, the ledger will
3192
+ * be reset values from on-chain state.
3193
+ **/
3194
+ restoreLedger: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, maybeController: Option<AccountId32> | null | Uint8Array | AccountId32 | string, maybeTotal: Option<u128> | null | Uint8Array | u128 | AnyNumber, maybeUnlocking: Option<Vec<PalletStakingUnlockChunk>> | null | Uint8Array | Vec<PalletStakingUnlockChunk> | (PalletStakingUnlockChunk | { value?: any; era?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<AccountId32>, Option<u128>, Option<Vec<PalletStakingUnlockChunk>>]>;
3195
+ /**
3196
+ * Scale up the ideal number of validators by a factor up to maximum of
3197
+ * `ElectionProviderBase::MaxWinners`.
3198
+ *
3199
+ * The dispatch origin must be Root.
3200
+ *
3201
+ * ## Complexity
3202
+ * Same as [`Self::set_validator_count`].
3203
+ **/
3204
+ scaleValidatorCount: AugmentedSubmittable<(factor: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Percent]>;
3205
+ /**
3206
+ * (Re-)sets the controller of a stash to the stash itself. This function previously
3207
+ * accepted a `controller` argument to set the controller to an account other than the
3208
+ * stash itself. This functionality has now been removed, now only setting the controller
3209
+ * to the stash, if it is not already.
3210
+ *
3211
+ * Effects will be felt instantly (as soon as this function is completed successfully).
3212
+ *
3213
+ * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
3214
+ *
3215
+ * ## Complexity
3216
+ * O(1)
3217
+ * - Independent of the arguments. Insignificant complexity.
3218
+ * - Contains a limited number of reads.
3219
+ * - Writes are limited to the `origin` account key.
3220
+ **/
3221
+ setController: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3222
+ /**
3223
+ * Set the validators who cannot be slashed (if any).
3224
+ *
3225
+ * The dispatch origin must be Root.
3226
+ **/
3227
+ setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
3228
+ /**
3229
+ * Sets the minimum amount of commission that each validators must maintain.
3230
+ *
3231
+ * This call has lower privilege requirements than `set_staking_config` and can be called
3232
+ * by the `T::AdminOrigin`. Root can always call this.
3233
+ **/
3234
+ setMinCommission: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
3235
+ /**
3236
+ * (Re-)set the payment target for a controller.
3237
+ *
3238
+ * Effects will be felt instantly (as soon as this function is completed successfully).
3239
+ *
3240
+ * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3241
+ *
3242
+ * ## Complexity
3243
+ * - O(1)
3244
+ * - Independent of the arguments. Insignificant complexity.
3245
+ * - Contains a limited number of reads.
3246
+ * - Writes are limited to the `origin` account key.
3247
+ * ---------
3248
+ **/
3249
+ setPayee: AugmentedSubmittable<(payee: PalletStakingRewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | { None: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingRewardDestination]>;
3250
+ /**
3251
+ * Update the various staking configurations .
3252
+ *
3253
+ * * `min_nominator_bond`: The minimum active bond needed to be a nominator.
3254
+ * * `min_validator_bond`: The minimum active bond needed to be a validator.
3255
+ * * `max_nominator_count`: The max number of users who can be a nominator at once. When
3256
+ * set to `None`, no limit is enforced.
3257
+ * * `max_validator_count`: The max number of users who can be a validator at once. When
3258
+ * set to `None`, no limit is enforced.
3259
+ * * `chill_threshold`: The ratio of `max_nominator_count` or `max_validator_count` which
3260
+ * should be filled in order for the `chill_other` transaction to work.
3261
+ * * `min_commission`: The minimum amount of commission that each validators must maintain.
3262
+ * This is checked only upon calling `validate`. Existing validators are not affected.
3263
+ *
3264
+ * RuntimeOrigin must be Root to call this function.
3265
+ *
3266
+ * NOTE: Existing nominators and validators will not be affected by this update.
3267
+ * to kick people under the new limits, `chill_other` should be called.
3268
+ **/
3269
+ setStakingConfigs: AugmentedSubmittable<(minNominatorBond: PalletStakingPalletConfigOpU128 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, minValidatorBond: PalletStakingPalletConfigOpU128 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxNominatorCount: PalletStakingPalletConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxValidatorCount: PalletStakingPalletConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, chillThreshold: PalletStakingPalletConfigOpPercent | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, minCommission: PalletStakingPalletConfigOpPerbill | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxStakedRewards: PalletStakingPalletConfigOpPercent | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent]>;
3270
+ /**
3271
+ * Sets the ideal number of validators.
3272
+ *
3273
+ * The dispatch origin must be Root.
3274
+ *
3275
+ * ## Complexity
3276
+ * O(1)
3277
+ **/
3278
+ setValidatorCount: AugmentedSubmittable<(updated: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3279
+ /**
3280
+ * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
3281
+ * period ends. If this leaves an amount actively bonded less than
3282
+ * [`asset::existential_deposit`], then it is increased to the full amount.
3283
+ *
3284
+ * The stash may be chilled if the ledger total amount falls to 0 after unbonding.
3285
+ *
3286
+ * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3287
+ *
3288
+ * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
3289
+ * the funds out of management ready for transfer.
3290
+ *
3291
+ * No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)
3292
+ * can co-exists at the same time. If there are no unlocking chunks slots available
3293
+ * [`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible).
3294
+ *
3295
+ * If a user encounters the `InsufficientBond` error when calling this extrinsic,
3296
+ * they should call `chill` first in order to free up their bonded funds.
3297
+ *
3298
+ * Emits `Unbonded`.
3299
+ *
3300
+ * See also [`Call::withdraw_unbonded`].
3301
+ **/
3302
+ unbond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
3303
+ /**
3304
+ * Migrates an account's `RewardDestination::Controller` to
3305
+ * `RewardDestination::Account(controller)`.
3306
+ *
3307
+ * Effects will be felt instantly (as soon as this function is completed successfully).
3308
+ *
3309
+ * This will waive the transaction fee if the `payee` is successfully migrated.
3310
+ **/
3311
+ updatePayee: AugmentedSubmittable<(controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
3312
+ /**
3313
+ * Declare the desire to validate for the origin controller.
3314
+ *
3315
+ * Effects will be felt at the beginning of the next era.
3316
+ *
3317
+ * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3318
+ **/
3319
+ validate: AugmentedSubmittable<(prefs: PalletStakingValidatorPrefs | { commission?: any; blocked?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingValidatorPrefs]>;
3320
+ /**
3321
+ * Remove any unlocked chunks from the `unlocking` queue from our management.
3322
+ *
3323
+ * This essentially frees up that balance to be used by the stash account to do whatever
3324
+ * it wants.
3325
+ *
3326
+ * The dispatch origin for this call must be _Signed_ by the controller.
3327
+ *
3328
+ * Emits `Withdrawn`.
3329
+ *
3330
+ * See also [`Call::unbond`].
3331
+ *
3332
+ * ## Parameters
3333
+ *
3334
+ * - `num_slashing_spans` indicates the number of metadata slashing spans to clear when
3335
+ * this call results in a complete removal of all the data related to the stash account.
3336
+ * In this case, the `num_slashing_spans` must be larger or equal to the number of
3337
+ * slashing spans associated with the stash account in the [`SlashingSpans`] storage type,
3338
+ * otherwise the call will fail. The call weight is directly proportional to
3339
+ * `num_slashing_spans`.
3340
+ *
3341
+ * ## Complexity
3342
+ * O(S) where S is the number of slashing spans to remove
3343
+ * NOTE: Weight annotation is the kill scenario, we refund otherwise.
3344
+ **/
3345
+ withdrawUnbonded: AugmentedSubmittable<(numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3346
+ /**
3347
+ * Generic tx
3348
+ **/
3349
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3350
+ };
3351
+ stakingAhClient: {
3352
+ /**
3353
+ * manually do what this pallet was meant to do at the end of the migration.
3354
+ **/
3355
+ forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3356
+ /**
3357
+ * Allows governance to force set the operating mode of the pallet.
3358
+ **/
3359
+ setMode: AugmentedSubmittable<(mode: PalletStakingAsyncAhClientOperatingMode | 'Passive' | 'Buffered' | 'Active' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncAhClientOperatingMode]>;
3360
+ validatorSet: AugmentedSubmittable<(report: PalletStakingAsyncRcClientValidatorSetReport | { newValidatorSet?: any; id?: any; pruneUpTo?: any; leftover?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncRcClientValidatorSetReport]>;
3361
+ /**
3362
+ * Generic tx
3363
+ **/
3364
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3365
+ };
3366
+ stateTrieMigration: {
3367
+ /**
3368
+ * Continue the migration for the given `limits`.
3369
+ *
3370
+ * The dispatch origin of this call can be any signed account.
3371
+ *
3372
+ * This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
3373
+ * Upon successful execution, the transaction fee is returned.
3374
+ *
3375
+ * The (potentially over-estimated) of the byte length of all the data read must be
3376
+ * provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
3377
+ * that executing the current `MigrationTask` with the given `limits` will not exceed
3378
+ * `real_size_upper` bytes of read data.
3379
+ *
3380
+ * The `witness_task` is merely a helper to prevent the caller from being slashed or
3381
+ * generally trigger a migration that they do not intend. This parameter is just a message
3382
+ * from caller, saying that they believed `witness_task` was the last state of the
3383
+ * migration, and they only wish for their transaction to do anything, if this assumption
3384
+ * holds. In case `witness_task` does not match, the transaction fails.
3385
+ *
3386
+ * Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
3387
+ * recommended way of doing this is to pass a `limit` that only bounds `count`, as the
3388
+ * `size` limit can always be overwritten.
3389
+ **/
3390
+ continueMigrate: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array, realSizeUpper: u32 | AnyNumber | Uint8Array, witnessTask: PalletStateTrieMigrationMigrationTask | { progressTop?: any; progressChild?: any; size_?: any; topItems?: any; childItems?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits, u32, PalletStateTrieMigrationMigrationTask]>;
3391
+ /**
3392
+ * Control the automatic migration.
3393
+ *
3394
+ * The dispatch origin of this call must be [`Config::ControlOrigin`].
3395
+ **/
3396
+ controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null | Uint8Array | PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletStateTrieMigrationMigrationLimits>]>;
3397
+ /**
3398
+ * Forcefully set the progress the running migration.
3399
+ *
3400
+ * This is only useful in one case: the next key to migrate is too big to be migrated with
3401
+ * a signed account, in a parachain context, and we simply want to skip it. A reasonable
3402
+ * example of this would be `:code:`, which is both very expensive to migrate, and commonly
3403
+ * used, so probably it is already migrated.
3404
+ *
3405
+ * In case you mess things up, you can also, in principle, use this to reset the migration
3406
+ * process.
3407
+ **/
3408
+ forceSetProgress: AugmentedSubmittable<(progressTop: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array, progressChild: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationProgress, PalletStateTrieMigrationProgress]>;
3409
+ /**
3410
+ * Migrate the list of child keys by iterating each of them one by one.
3411
+ *
3412
+ * All of the given child keys must be present under one `child_root`.
3413
+ *
3414
+ * This does not affect the global migration process tracker ([`MigrationProcess`]), and
3415
+ * should only be used in case any keys are leftover due to a bug.
3416
+ **/
3417
+ migrateCustomChild: AugmentedSubmittable<(root: Bytes | string | Uint8Array, childKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[], totalSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Vec<Bytes>, u32]>;
3418
+ /**
3419
+ * Migrate the list of top keys by iterating each of them one by one.
3420
+ *
3421
+ * This does not affect the global migration process tracker ([`MigrationProcess`]), and
3422
+ * should only be used in case any keys are leftover due to a bug.
3423
+ **/
3424
+ migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>, u32]>;
3425
+ /**
3426
+ * Set the maximum limit of the signed migration.
3427
+ **/
3428
+ setSignedMaxLimits: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits]>;
3429
+ /**
3430
+ * Generic tx
3431
+ **/
3432
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3433
+ };
3434
+ system: {
3435
+ /**
3436
+ * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
3437
+ *
3438
+ * If the authorization required a version check, this call will ensure the spec name
3439
+ * remains unchanged and that the spec version has increased.
3440
+ *
3441
+ * Depending on the runtime's `OnSetCode` configuration, this function may directly apply
3442
+ * the new `code` in the same block or attempt to schedule the upgrade.
3443
+ *
3444
+ * All origins are allowed.
3445
+ **/
3446
+ applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3447
+ /**
3448
+ * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
3449
+ * later.
3450
+ *
3451
+ * This call requires Root origin.
3452
+ **/
3453
+ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3454
+ /**
3455
+ * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
3456
+ * later.
3457
+ *
3458
+ * WARNING: This authorizes an upgrade that will take place without any safety checks, for
3459
+ * example that the spec name remains the same and that the version number increases. Not
3460
+ * recommended for normal use. Use `authorize_upgrade` instead.
3461
+ *
3462
+ * This call requires Root origin.
3463
+ **/
3464
+ authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3465
+ /**
3466
+ * Kill all storage items with a key that starts with the given prefix.
3467
+ *
3468
+ * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
3469
+ * the prefix we are removing to accurately calculate the weight of this function.
3470
+ **/
3471
+ killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
3472
+ /**
3473
+ * Kill some items from storage.
3474
+ **/
3475
+ killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
3476
+ /**
3477
+ * Make some on-chain remark.
3478
+ *
3479
+ * Can be executed by every `origin`.
3480
+ **/
3481
+ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3482
+ /**
3483
+ * Make some on-chain remark and emit event.
3484
+ **/
3485
+ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3486
+ /**
3487
+ * Set the new runtime code.
3488
+ **/
3489
+ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3490
+ /**
3491
+ * Set the new runtime code without doing any checks of the given `code`.
3492
+ *
3493
+ * Note that runtime upgrades will not run if this is called with a not-increasing spec
3494
+ * version!
3495
+ **/
3496
+ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3497
+ /**
3498
+ * Set the number of pages in the WebAssembly environment's heap.
3499
+ **/
3500
+ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
3501
+ /**
3502
+ * Set some items of storage.
3503
+ **/
3504
+ setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
3505
+ /**
3506
+ * Generic tx
3507
+ **/
3508
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3509
+ };
3510
+ timestamp: {
3511
+ /**
3512
+ * Set the current time.
3513
+ *
3514
+ * This call should be invoked exactly once per block. It will panic at the finalization
3515
+ * phase, if this call hasn't been invoked by that time.
3516
+ *
3517
+ * The timestamp should be greater than the previous one by the amount specified by
3518
+ * [`Config::MinimumPeriod`].
3519
+ *
3520
+ * The dispatch origin for this call must be _None_.
3521
+ *
3522
+ * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware
3523
+ * that changing the complexity of this call could result exhausting the resources in a
3524
+ * block to execute any other calls.
3525
+ *
3526
+ * ## Complexity
3527
+ * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
3528
+ * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in
3529
+ * `on_finalize`)
3530
+ * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
3531
+ **/
3532
+ set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
3533
+ /**
3534
+ * Generic tx
3535
+ **/
3536
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3537
+ };
3538
+ treasury: {
3539
+ /**
3540
+ * Check the status of the spend and remove it from the storage if processed.
3541
+ *
3542
+ * ## Dispatch Origin
3543
+ *
3544
+ * Must be signed.
3545
+ *
3546
+ * ## Details
3547
+ *
3548
+ * The status check is a prerequisite for retrying a failed payout.
3549
+ * If a spend has either succeeded or expired, it is removed from the storage by this
3550
+ * function. In such instances, transaction fees are refunded.
3551
+ *
3552
+ * ### Parameters
3553
+ * - `index`: The spend index.
3554
+ *
3555
+ * ## Events
3556
+ *
3557
+ * Emits [`Event::PaymentFailed`] if the spend payout has failed.
3558
+ * Emits [`Event::SpendProcessed`] if the spend payout has succeed.
3559
+ **/
3560
+ checkStatus: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3561
+ /**
3562
+ * Claim a spend.
3563
+ *
3564
+ * ## Dispatch Origin
3565
+ *
3566
+ * Must be signed
3567
+ *
3568
+ * ## Details
3569
+ *
3570
+ * Spends must be claimed within some temporal bounds. A spend may be claimed within one
3571
+ * [`Config::PayoutPeriod`] from the `valid_from` block.
3572
+ * In case of a payout failure, the spend status must be updated with the `check_status`
3573
+ * dispatchable before retrying with the current function.
3574
+ *
3575
+ * ### Parameters
3576
+ * - `index`: The spend index.
3577
+ *
3578
+ * ## Events
3579
+ *
3580
+ * Emits [`Event::Paid`] if successful.
3581
+ **/
3582
+ payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3583
+ /**
3584
+ * Force a previously approved proposal to be removed from the approval queue.
3585
+ *
3586
+ * ## Dispatch Origin
3587
+ *
3588
+ * Must be [`Config::RejectOrigin`].
3589
+ *
3590
+ * ## Details
3591
+ *
3592
+ * The original deposit will no longer be returned.
3593
+ *
3594
+ * ### Parameters
3595
+ * - `proposal_id`: The index of a proposal
3596
+ *
3597
+ * ### Complexity
3598
+ * - O(A) where `A` is the number of approvals
3599
+ *
3600
+ * ### Errors
3601
+ * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the
3602
+ * approval queue, i.e., the proposal has not been approved. This could also mean the
3603
+ * proposal does not exist altogether, thus there is no way it would have been approved
3604
+ * in the first place.
3605
+ **/
3606
+ removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3607
+ /**
3608
+ * Propose and approve a spend of treasury funds.
3609
+ *
3610
+ * ## Dispatch Origin
3611
+ *
3612
+ * Must be [`Config::SpendOrigin`] with the `Success` value being at least
3613
+ * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted
3614
+ * for assertion using the [`Config::BalanceConverter`].
3615
+ *
3616
+ * ## Details
3617
+ *
3618
+ * Create an approved spend for transferring a specific `amount` of `asset_kind` to a
3619
+ * designated beneficiary. The spend must be claimed using the `payout` dispatchable within
3620
+ * the [`Config::PayoutPeriod`].
3621
+ *
3622
+ * ### Parameters
3623
+ * - `asset_kind`: An indicator of the specific asset class to be spent.
3624
+ * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
3625
+ * - `beneficiary`: The beneficiary of the spend.
3626
+ * - `valid_from`: The block number from which the spend can be claimed. It can refer to
3627
+ * the past if the resulting spend has not yet expired according to the
3628
+ * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after
3629
+ * approval.
3630
+ *
3631
+ * ## Events
3632
+ *
3633
+ * Emits [`Event::AssetSpendApproved`] if successful.
3634
+ **/
3635
+ spend: AugmentedSubmittable<(assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, validFrom: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset, Compact<u128>, XcmVersionedLocation, Option<u32>]>;
3636
+ /**
3637
+ * Propose and approve a spend of treasury funds.
3638
+ *
3639
+ * ## Dispatch Origin
3640
+ *
3641
+ * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`.
3642
+ *
3643
+ * ### Details
3644
+ * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the
3645
+ * beneficiary.
3646
+ *
3647
+ * ### Parameters
3648
+ * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
3649
+ * - `beneficiary`: The destination account for the transfer.
3650
+ *
3651
+ * ## Events
3652
+ *
3653
+ * Emits [`Event::SpendApproved`] if successful.
3654
+ **/
3655
+ spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
3656
+ /**
3657
+ * Void previously approved spend.
3658
+ *
3659
+ * ## Dispatch Origin
3660
+ *
3661
+ * Must be [`Config::RejectOrigin`].
3662
+ *
3663
+ * ## Details
3664
+ *
3665
+ * A spend void is only possible if the payout has not been attempted yet.
3666
+ *
3667
+ * ### Parameters
3668
+ * - `index`: The spend index.
3669
+ *
3670
+ * ## Events
3671
+ *
3672
+ * Emits [`Event::AssetSpendVoided`] if successful.
3673
+ **/
3674
+ voidSpend: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3675
+ /**
3676
+ * Generic tx
3677
+ **/
3678
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3679
+ };
3680
+ utility: {
3681
+ /**
3682
+ * Send a call through an indexed pseudonym of the sender.
3683
+ *
3684
+ * Filter from origin are passed along. The call will be dispatched with an origin which
3685
+ * use the same filter as the origin of this call.
3686
+ *
3687
+ * NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
3688
+ * because you expect `proxy` to have been used prior in the call stack and you do not want
3689
+ * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
3690
+ * in the Multisig pallet instead.
3691
+ *
3692
+ * NOTE: Prior to version *12, this was called `as_limited_sub`.
3693
+ *
3694
+ * The dispatch origin for this call must be _Signed_.
3695
+ **/
3696
+ asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Call]>;
3697
+ /**
3698
+ * Send a batch of dispatch calls.
3699
+ *
3700
+ * May be called from any origin except `None`.
3701
+ *
3702
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
3703
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
3704
+ *
3705
+ * If origin is root then the calls are dispatched without checking origin filter. (This
3706
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
3707
+ *
3708
+ * ## Complexity
3709
+ * - O(C) where C is the number of calls to be batched.
3710
+ *
3711
+ * This will return `Ok` in all circumstances. To determine the success of the batch, an
3712
+ * event is deposited. If a call failed and the batch was interrupted, then the
3713
+ * `BatchInterrupted` event is deposited, along with the number of successful calls made
3714
+ * and the error of the failed call. If all were successful, then the `BatchCompleted`
3715
+ * event is deposited.
3716
+ **/
3717
+ batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
3718
+ /**
3719
+ * Send a batch of dispatch calls and atomically execute them.
3720
+ * The whole transaction will rollback and fail if any of the calls failed.
3721
+ *
3722
+ * May be called from any origin except `None`.
3723
+ *
3724
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
3725
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
3726
+ *
3727
+ * If origin is root then the calls are dispatched without checking origin filter. (This
3728
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
3729
+ *
3730
+ * ## Complexity
3731
+ * - O(C) where C is the number of calls to be batched.
3732
+ **/
3733
+ batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
3734
+ /**
3735
+ * Dispatches a function call with a provided origin.
3736
+ *
3737
+ * The dispatch origin for this call must be _Root_.
3738
+ *
3739
+ * ## Complexity
3740
+ * - O(1).
3741
+ **/
3742
+ dispatchAs: AugmentedSubmittable<(asOrigin: PolkadotRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeOriginCaller, Call]>;
3743
+ /**
3744
+ * Dispatches a function call with a provided origin.
3745
+ *
3746
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
3747
+ *
3748
+ * The dispatch origin for this call must be _Root_.
3749
+ **/
3750
+ dispatchAsFallible: AugmentedSubmittable<(asOrigin: PolkadotRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeOriginCaller, Call]>;
3751
+ /**
3752
+ * Send a batch of dispatch calls.
3753
+ * Unlike `batch`, it allows errors and won't interrupt.
3754
+ *
3755
+ * May be called from any origin except `None`.
3756
+ *
3757
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
3758
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
3759
+ *
3760
+ * If origin is root then the calls are dispatch without checking origin filter. (This
3761
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
3762
+ *
3763
+ * ## Complexity
3764
+ * - O(C) where C is the number of calls to be batched.
3765
+ **/
3766
+ forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
3767
+ /**
3768
+ * Dispatch a fallback call in the event the main call fails to execute.
3769
+ * May be called from any origin except `None`.
3770
+ *
3771
+ * This function first attempts to dispatch the `main` call.
3772
+ * If the `main` call fails, the `fallback` is attemted.
3773
+ * if the fallback is successfully dispatched, the weights of both calls
3774
+ * are accumulated and an event containing the main call error is deposited.
3775
+ *
3776
+ * In the event of a fallback failure the whole call fails
3777
+ * with the weights returned.
3778
+ *
3779
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
3780
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
3781
+ *
3782
+ * ## Dispatch Logic
3783
+ * - If the origin is `root`, both the main and fallback calls are executed without
3784
+ * applying any origin filters.
3785
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
3786
+ * `fallback` calls.
3787
+ *
3788
+ * ## Use Case
3789
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
3790
+ * or both.
3791
+ **/
3792
+ ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
3793
+ /**
3794
+ * Dispatch a function call with a specified weight.
3795
+ *
3796
+ * This function does not check the weight of the call, and instead allows the
3797
+ * Root origin to specify the weight of the call.
3798
+ *
3799
+ * The dispatch origin for this call must be _Root_.
3800
+ **/
3801
+ withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
3802
+ /**
3803
+ * Generic tx
3804
+ **/
3805
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3806
+ };
3807
+ vesting: {
3808
+ /**
3809
+ * Force remove a vesting schedule
3810
+ *
3811
+ * The dispatch origin for this call must be _Root_.
3812
+ *
3813
+ * - `target`: An account that has a vesting schedule
3814
+ * - `schedule_index`: The vesting schedule index that should be removed
3815
+ **/
3816
+ forceRemoveVestingSchedule: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, scheduleIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
3817
+ /**
3818
+ * Force a vested transfer.
3819
+ *
3820
+ * The dispatch origin for this call must be _Root_.
3821
+ *
3822
+ * - `source`: The account whose funds should be transferred.
3823
+ * - `target`: The account that should be transferred the vested funds.
3824
+ * - `schedule`: The vesting schedule attached to the transfer.
3825
+ *
3826
+ * Emits `VestingCreated`.
3827
+ *
3828
+ * NOTE: This will unlock all schedules through the current block.
3829
+ *
3830
+ * ## Complexity
3831
+ * - `O(1)`.
3832
+ **/
3833
+ forceVestedTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: PalletVestingVestingInfo | { locked?: any; perBlock?: any; startingBlock?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletVestingVestingInfo]>;
3834
+ /**
3835
+ * Merge two vesting schedules together, creating a new vesting schedule that unlocks over
3836
+ * the highest possible start and end blocks. If both schedules have already started the
3837
+ * current block will be used as the schedule start; with the caveat that if one schedule
3838
+ * is finished by the current block, the other will be treated as the new merged schedule,
3839
+ * unmodified.
3840
+ *
3841
+ * NOTE: If `schedule1_index == schedule2_index` this is a no-op.
3842
+ * NOTE: This will unlock all schedules through the current block prior to merging.
3843
+ * NOTE: If both schedules have ended by the current block, no new schedule will be created
3844
+ * and both will be removed.
3845
+ *
3846
+ * Merged schedule attributes:
3847
+ * - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,
3848
+ * current_block)`.
3849
+ * - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.
3850
+ * - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.
3851
+ *
3852
+ * The dispatch origin for this call must be _Signed_.
3853
+ *
3854
+ * - `schedule1_index`: index of the first schedule to merge.
3855
+ * - `schedule2_index`: index of the second schedule to merge.
3856
+ **/
3857
+ mergeSchedules: AugmentedSubmittable<(schedule1Index: u32 | AnyNumber | Uint8Array, schedule2Index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
3858
+ /**
3859
+ * Unlock any vested funds of the sender account.
3860
+ *
3861
+ * The dispatch origin for this call must be _Signed_ and the sender must have funds still
3862
+ * locked under this pallet.
3863
+ *
3864
+ * Emits either `VestingCompleted` or `VestingUpdated`.
3865
+ *
3866
+ * ## Complexity
3867
+ * - `O(1)`.
3868
+ **/
3869
+ vest: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3870
+ /**
3871
+ * Create a vested transfer.
3872
+ *
3873
+ * The dispatch origin for this call must be _Signed_.
3874
+ *
3875
+ * - `target`: The account receiving the vested funds.
3876
+ * - `schedule`: The vesting schedule attached to the transfer.
3877
+ *
3878
+ * Emits `VestingCreated`.
3879
+ *
3880
+ * NOTE: This will unlock all schedules through the current block.
3881
+ *
3882
+ * ## Complexity
3883
+ * - `O(1)`.
3884
+ **/
3885
+ vestedTransfer: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: PalletVestingVestingInfo | { locked?: any; perBlock?: any; startingBlock?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletVestingVestingInfo]>;
3886
+ /**
3887
+ * Unlock any vested funds of a `target` account.
3888
+ *
3889
+ * The dispatch origin for this call must be _Signed_.
3890
+ *
3891
+ * - `target`: The account whose vested funds should be unlocked. Must have funds still
3892
+ * locked under this pallet.
3893
+ *
3894
+ * Emits either `VestingCompleted` or `VestingUpdated`.
3895
+ *
3896
+ * ## Complexity
3897
+ * - `O(1)`.
3898
+ **/
3899
+ vestOther: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3900
+ /**
3901
+ * Generic tx
3902
+ **/
3903
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3904
+ };
3905
+ voterList: {
3906
+ /**
3907
+ * Move the caller's Id directly in front of `lighter`.
3908
+ *
3909
+ * The dispatch origin for this call must be _Signed_ and can only be called by the Id of
3910
+ * the account going in front of `lighter`. Fee is payed by the origin under all
3911
+ * circumstances.
3912
+ *
3913
+ * Only works if:
3914
+ *
3915
+ * - both nodes are within the same bag,
3916
+ * - and `origin` has a greater `Score` than `lighter`.
3917
+ **/
3918
+ putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3919
+ /**
3920
+ * Same as [`Pallet::put_in_front_of`], but it can be called by anyone.
3921
+ *
3922
+ * Fee is paid by the origin under all circumstances.
3923
+ **/
3924
+ putInFrontOfOther: AugmentedSubmittable<(heavier: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
3925
+ /**
3926
+ * Declare that some `dislocated` account has, through rewards or penalties, sufficiently
3927
+ * changed its score that it should properly fall into a different bag than its current
3928
+ * one.
3929
+ *
3930
+ * Anyone can call this function about any potentially dislocated account.
3931
+ *
3932
+ * Will always update the stored score of `dislocated` to the correct score, based on
3933
+ * `ScoreProvider`.
3934
+ *
3935
+ * If `dislocated` does not exists, it returns an error.
3936
+ **/
3937
+ rebag: AugmentedSubmittable<(dislocated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3938
+ /**
3939
+ * Generic tx
3940
+ **/
3941
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3942
+ };
3943
+ whitelist: {
3944
+ dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callEncodedLen: u32 | AnyNumber | Uint8Array, callWeightWitness: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32, SpWeightsWeightV2Weight]>;
3945
+ dispatchWhitelistedCallWithPreimage: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
3946
+ removeWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3947
+ whitelistCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3948
+ /**
3949
+ * Generic tx
3950
+ **/
3951
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
3952
+ };
3953
+ xcmPallet: {
3954
+ /**
3955
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
3956
+ * The `aliaser` is only authorized until the provided `expiry` block number.
3957
+ * The call can also be used for a previously authorized alias in order to update its
3958
+ * `expiry` block number.
3959
+ *
3960
+ * Usually useful to allow your local account to be aliased into from a remote location
3961
+ * also under your control (like your account on another chain).
3962
+ *
3963
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
3964
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
3965
+ * `origin` in XCM programs executed on the local chain.
3966
+ **/
3967
+ addAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, expires: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, Option<u64>]>;
3968
+ /**
3969
+ * Claims assets trapped on this pallet because of leftover assets during XCM execution.
3970
+ *
3971
+ * - `origin`: Anyone can call this extrinsic.
3972
+ * - `assets`: The exact assets that were trapped. Use the version to specify what version
3973
+ * was the latest when they were trapped.
3974
+ * - `beneficiary`: The location/account where the claimed assets will be deposited.
3975
+ **/
3976
+ claimAssets: AugmentedSubmittable<(assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedAssets, XcmVersionedLocation]>;
3977
+ /**
3978
+ * Execute an XCM message from a local, signed, origin.
3979
+ *
3980
+ * An event is deposited indicating whether `msg` could be executed completely or only
3981
+ * partially.
3982
+ *
3983
+ * No more than `max_weight` will be used in its attempted execution. If this is less than
3984
+ * the maximum amount of weight that the message could take to be executed, then no
3985
+ * execution attempt will be made.
3986
+ **/
3987
+ execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, SpWeightsWeightV2Weight]>;
3988
+ /**
3989
+ * Set a safe XCM version (the version that XCM should be encoded with if the most recent
3990
+ * version a destination can accept is unknown).
3991
+ *
3992
+ * - `origin`: Must be an origin specified by AdminOrigin.
3993
+ * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
3994
+ **/
3995
+ forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
3996
+ /**
3997
+ * Ask a location to notify us regarding their XCM version and any changes to it.
3998
+ *
3999
+ * - `origin`: Must be an origin specified by AdminOrigin.
4000
+ * - `location`: The location to which we should subscribe for XCM version notifications.
4001
+ **/
4002
+ forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4003
+ /**
4004
+ * Set or unset the global suspension state of the XCM executor.
4005
+ *
4006
+ * - `origin`: Must be an origin specified by AdminOrigin.
4007
+ * - `suspended`: `true` to suspend, `false` to resume.
4008
+ **/
4009
+ forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
4010
+ /**
4011
+ * Require that a particular destination should no longer notify us regarding any XCM
4012
+ * version changes.
4013
+ *
4014
+ * - `origin`: Must be an origin specified by AdminOrigin.
4015
+ * - `location`: The location to which we are currently subscribed for XCM version
4016
+ * notifications which we no longer desire.
4017
+ **/
4018
+ forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4019
+ /**
4020
+ * Extoll that a particular destination can be communicated with through a particular
4021
+ * version of XCM.
4022
+ *
4023
+ * - `origin`: Must be an origin specified by AdminOrigin.
4024
+ * - `location`: The destination that is being described.
4025
+ * - `xcm_version`: The latest version of XCM that `location` supports.
4026
+ **/
4027
+ forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV5Location, u32]>;
4028
+ /**
4029
+ * Transfer some assets from the local chain to the destination chain through their local,
4030
+ * destination or remote reserve.
4031
+ *
4032
+ * `assets` must have same reserve location and may not be teleportable to `dest`.
4033
+ * - `assets` have local reserve: transfer assets to sovereign account of destination
4034
+ * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
4035
+ * assets to `beneficiary`.
4036
+ * - `assets` have destination reserve: burn local assets and forward a notification to
4037
+ * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
4038
+ * deposit them to `beneficiary`.
4039
+ * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move
4040
+ * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`
4041
+ * to mint and deposit reserve-based assets to `beneficiary`.
4042
+ *
4043
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
4044
+ * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
4045
+ * is needed than `weight_limit`, then the operation will fail and the sent assets may be
4046
+ * at risk.
4047
+ *
4048
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4049
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
4050
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4051
+ * relay to parachain.
4052
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4053
+ * generally be an `AccountId32` value.
4054
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4055
+ * fee on the `dest` (and possibly reserve) chains.
4056
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4057
+ * fees.
4058
+ * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4059
+ **/
4060
+ limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
4061
+ /**
4062
+ * Teleport some assets from the local chain to some destination chain.
4063
+ *
4064
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
4065
+ * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
4066
+ * is needed than `weight_limit`, then the operation will fail and the sent assets may be
4067
+ * at risk.
4068
+ *
4069
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4070
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
4071
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4072
+ * relay to parachain.
4073
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4074
+ * generally be an `AccountId32` value.
4075
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4076
+ * fee on the `dest` chain.
4077
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4078
+ * fees.
4079
+ * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4080
+ **/
4081
+ limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
4082
+ /**
4083
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
4084
+ * making this call.
4085
+ **/
4086
+ removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4087
+ /**
4088
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
4089
+ * the local `origin` making this call.
4090
+ **/
4091
+ removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4092
+ /**
4093
+ * Transfer some assets from the local chain to the destination chain through their local,
4094
+ * destination or remote reserve.
4095
+ *
4096
+ * `assets` must have same reserve location and may not be teleportable to `dest`.
4097
+ * - `assets` have local reserve: transfer assets to sovereign account of destination
4098
+ * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
4099
+ * assets to `beneficiary`.
4100
+ * - `assets` have destination reserve: burn local assets and forward a notification to
4101
+ * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
4102
+ * deposit them to `beneficiary`.
4103
+ * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move
4104
+ * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`
4105
+ * to mint and deposit reserve-based assets to `beneficiary`.
4106
+ *
4107
+ * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.**
4108
+ *
4109
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
4110
+ * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
4111
+ * with all fees taken as needed from the asset.
4112
+ *
4113
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4114
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
4115
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4116
+ * relay to parachain.
4117
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4118
+ * generally be an `AccountId32` value.
4119
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4120
+ * fee on the `dest` (and possibly reserve) chains.
4121
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4122
+ * fees.
4123
+ **/
4124
+ reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
4125
+ send: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
4126
+ /**
4127
+ * Teleport some assets from the local chain to some destination chain.
4128
+ *
4129
+ * **This function is deprecated: Use `limited_teleport_assets` instead.**
4130
+ *
4131
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
4132
+ * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
4133
+ * with all fees taken as needed from the asset.
4134
+ *
4135
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4136
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
4137
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4138
+ * relay to parachain.
4139
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4140
+ * generally be an `AccountId32` value.
4141
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4142
+ * fee on the `dest` chain.
4143
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4144
+ * fees.
4145
+ **/
4146
+ teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
4147
+ /**
4148
+ * Transfer some assets from the local chain to the destination chain through their local,
4149
+ * destination or remote reserve, or through teleports.
4150
+ *
4151
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
4152
+ * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for
4153
+ * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the
4154
+ * operation will fail and the sent assets may be at risk.
4155
+ *
4156
+ * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable
4157
+ * to `dest`, no limitations imposed on `fees`.
4158
+ * - for local reserve: transfer assets to sovereign account of destination chain and
4159
+ * forward a notification XCM to `dest` to mint and deposit reserve-based assets to
4160
+ * `beneficiary`.
4161
+ * - for destination reserve: burn local assets and forward a notification to `dest` chain
4162
+ * to withdraw the reserve assets from this chain's sovereign account and deposit them
4163
+ * to `beneficiary`.
4164
+ * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves
4165
+ * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint
4166
+ * and deposit reserve-based assets to `beneficiary`.
4167
+ * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport
4168
+ * assets and deposit them to `beneficiary`.
4169
+ *
4170
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4171
+ * - `dest`: Destination context for the assets. Will typically be `X2(Parent,
4172
+ * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send
4173
+ * from relay to parachain.
4174
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4175
+ * generally be an `AccountId32` value.
4176
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4177
+ * fee on the `dest` (and possibly reserve) chains.
4178
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4179
+ * fees.
4180
+ * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4181
+ **/
4182
+ transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
4183
+ /**
4184
+ * Transfer assets from the local chain to the destination chain using explicit transfer
4185
+ * types for assets and fees.
4186
+ *
4187
+ * `assets` must have same reserve location or may be teleportable to `dest`. Caller must
4188
+ * provide the `assets_transfer_type` to be used for `assets`:
4189
+ * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination
4190
+ * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
4191
+ * assets to `beneficiary`.
4192
+ * - `TransferType::DestinationReserve`: burn local assets and forward a notification to
4193
+ * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
4194
+ * deposit them to `beneficiary`.
4195
+ * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve`
4196
+ * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another
4197
+ * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically
4198
+ * the remote `reserve` is Asset Hub.
4199
+ * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to
4200
+ * mint/teleport assets and deposit them to `beneficiary`.
4201
+ *
4202
+ * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to
4203
+ * buy execution using transferred `assets` identified by `remote_fees_id`.
4204
+ * Make sure enough of the specified `remote_fees_id` asset is included in the given list
4205
+ * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight
4206
+ * is needed than `weight_limit`, then the operation will fail and the sent assets may be
4207
+ * at risk.
4208
+ *
4209
+ * `remote_fees_id` may use different transfer type than rest of `assets` and can be
4210
+ * specified through `fees_transfer_type`.
4211
+ *
4212
+ * The caller needs to specify what should happen to the transferred assets once they reach
4213
+ * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which
4214
+ * contains the instructions to execute on `dest` as a final step.
4215
+ * This is usually as simple as:
4216
+ * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`,
4217
+ * but could be something more exotic like sending the `assets` even further.
4218
+ *
4219
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4220
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
4221
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4222
+ * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from
4223
+ * parachain across a bridge to another ecosystem destination.
4224
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4225
+ * fee on the `dest` (and possibly reserve) chains.
4226
+ * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`.
4227
+ * - `remote_fees_id`: One of the included `assets` to be used to pay fees.
4228
+ * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets.
4229
+ * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the
4230
+ * transfer, which also determines what happens to the assets on the destination chain.
4231
+ * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4232
+ **/
4233
+ transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, remoteFeesId: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedAssets, StagingXcmExecutorAssetTransferTransferType, XcmVersionedAssetId, StagingXcmExecutorAssetTransferTransferType, XcmVersionedXcm, XcmV3WeightLimit]>;
4234
+ /**
4235
+ * Generic tx
4236
+ **/
4237
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
4238
+ };
4239
+ } // AugmentedSubmittables
4240
+ } // declare module