@polkadot/api-augment 10.7.3 → 10.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/polkadot/tx.d.ts CHANGED
@@ -5,7 +5,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
5
5
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
7
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsDisputesSlashingDisputeProof, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
8
+ import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotPrimitivesVstagingSlashingDisputeProof, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
9
9
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
10
10
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
11
11
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -13,36 +13,15 @@ declare module '@polkadot/api-base/types/submittable' {
13
13
  interface AugmentedSubmittables<ApiType extends ApiTypes> {
14
14
  auctions: {
15
15
  /**
16
- * Make a new bid from an account (including a parachain account) for deploying a new
17
- * parachain.
18
- *
19
- * Multiple simultaneous bids from the same bidder are allowed only as long as all active
20
- * bids overlap each other (i.e. are mutually exclusive). Bids cannot be redacted.
21
- *
22
- * - `sub` is the sub-bidder ID, allowing for multiple competing bids to be made by (and
23
- * funded by) the same account.
24
- * - `auction_index` is the index of the auction to bid on. Should just be the present
25
- * value of `AuctionCounter`.
26
- * - `first_slot` is the first lease period index of the range to bid on. This is the
27
- * absolute lease period index value, not an auction-specific offset.
28
- * - `last_slot` is the last lease period index of the range to bid on. This is the
29
- * absolute lease period index value, not an auction-specific offset.
30
- * - `amount` is the amount to bid to be held as deposit for the parachain should the
31
- * bid win. This amount is held throughout the range.
16
+ * See [`Pallet::bid`].
32
17
  **/
33
18
  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>]>;
34
19
  /**
35
- * Cancel an in-progress auction.
36
- *
37
- * Can only be called by Root origin.
20
+ * See [`Pallet::cancel_auction`].
38
21
  **/
39
22
  cancelAuction: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
40
23
  /**
41
- * Create a new auction.
42
- *
43
- * This can only happen when there isn't already an auction in progress and may only be
44
- * called by the root origin. Accepts the `duration` of this auction and the
45
- * `lease_period_index` of the initial lease period of the four that are to be auctioned.
24
+ * See [`Pallet::new_auction`].
46
25
  **/
47
26
  newAuction: AugmentedSubmittable<(duration: Compact<u32> | AnyNumber | Uint8Array, leasePeriodIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
48
27
  /**
@@ -52,19 +31,13 @@ declare module '@polkadot/api-base/types/submittable' {
52
31
  };
53
32
  babe: {
54
33
  /**
55
- * Plan an epoch config change. The epoch config change is recorded and will be enacted on
56
- * the next call to `enact_epoch_change`. The config will be activated one epoch after.
57
- * Multiple calls to this method will replace any existing planned config change that had
58
- * not been enacted yet.
34
+ * See [`Pallet::plan_config_change`].
59
35
  **/
60
36
  planConfigChange: AugmentedSubmittable<(config: SpConsensusBabeDigestsNextConfigDescriptor | {
61
37
  V1: any;
62
38
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBabeDigestsNextConfigDescriptor]>;
63
39
  /**
64
- * Report authority equivocation/misbehavior. This method will verify
65
- * the equivocation proof and validate the given key ownership proof
66
- * against the extracted offender. If both are valid, the offence will
67
- * be reported.
40
+ * See [`Pallet::report_equivocation`].
68
41
  **/
69
42
  reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusSlotsEquivocationProof | {
70
43
  offender?: any;
@@ -77,14 +50,7 @@ declare module '@polkadot/api-base/types/submittable' {
77
50
  validatorCount?: any;
78
51
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof]>;
79
52
  /**
80
- * Report authority equivocation/misbehavior. This method will verify
81
- * the equivocation proof and validate the given key ownership proof
82
- * against the extracted offender. If both are valid, the offence will
83
- * be reported.
84
- * This extrinsic must be called unsigned and it is expected that only
85
- * block authors will call it (validated in `ValidateUnsigned`), as such
86
- * if the block author is defined it will be defined as the equivocation
87
- * reporter.
53
+ * See [`Pallet::report_equivocation_unsigned`].
88
54
  **/
89
55
  reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusSlotsEquivocationProof | {
90
56
  offender?: any;
@@ -103,9 +69,7 @@ declare module '@polkadot/api-base/types/submittable' {
103
69
  };
104
70
  balances: {
105
71
  /**
106
- * Set the regular balance of a given account.
107
- *
108
- * The dispatch origin for this call is `root`.
72
+ * See [`Pallet::force_set_balance`].
109
73
  **/
110
74
  forceSetBalance: AugmentedSubmittable<(who: MultiAddress | {
111
75
  Id: any;
@@ -119,8 +83,7 @@ declare module '@polkadot/api-base/types/submittable' {
119
83
  Address20: any;
120
84
  } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
121
85
  /**
122
- * Exactly as `transfer_allow_death`, except the origin must be root and the source account
123
- * may be specified.
86
+ * See [`Pallet::force_transfer`].
124
87
  **/
125
88
  forceTransfer: AugmentedSubmittable<(source: MultiAddress | {
126
89
  Id: any;
@@ -144,9 +107,7 @@ declare module '@polkadot/api-base/types/submittable' {
144
107
  Address20: any;
145
108
  } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
146
109
  /**
147
- * Unreserve some balance from a user by force.
148
- *
149
- * Can only be called by ROOT.
110
+ * See [`Pallet::force_unreserve`].
150
111
  **/
151
112
  forceUnreserve: AugmentedSubmittable<(who: MultiAddress | {
152
113
  Id: any;
@@ -160,12 +121,7 @@ declare module '@polkadot/api-base/types/submittable' {
160
121
  Address20: any;
161
122
  } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
162
123
  /**
163
- * Set the regular balance of a given account; it also takes a reserved balance but this
164
- * must be the same as the account's current reserved balance.
165
- *
166
- * The dispatch origin for this call is `root`.
167
- *
168
- * WARNING: This call is DEPRECATED! Use `force_set_balance` instead.
124
+ * See [`Pallet::set_balance_deprecated`].
169
125
  **/
170
126
  setBalanceDeprecated: AugmentedSubmittable<(who: MultiAddress | {
171
127
  Id: any;
@@ -179,9 +135,7 @@ declare module '@polkadot/api-base/types/submittable' {
179
135
  Address20: any;
180
136
  } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, oldReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;
181
137
  /**
182
- * Alias for `transfer_allow_death`, provided only for name-wise compatibility.
183
- *
184
- * WARNING: DEPRECATED! Will be released in approximately 3 months.
138
+ * See [`Pallet::transfer`].
185
139
  **/
186
140
  transfer: AugmentedSubmittable<(dest: MultiAddress | {
187
141
  Id: any;
@@ -195,21 +149,7 @@ declare module '@polkadot/api-base/types/submittable' {
195
149
  Address20: any;
196
150
  } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
197
151
  /**
198
- * Transfer the entire transferable balance from the caller account.
199
- *
200
- * NOTE: This function only attempts to transfer _transferable_ balances. This means that
201
- * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
202
- * transferred by this function. To ensure that this function results in a killed account,
203
- * you might need to prepare the account by removing any reference counters, storage
204
- * deposits, etc...
205
- *
206
- * The dispatch origin of this call must be Signed.
207
- *
208
- * - `dest`: The recipient of the transfer.
209
- * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
210
- * of the funds the account has, causing the sender account to be killed (false), or
211
- * transfer everything except at least the existential deposit, which will guarantee to
212
- * keep the sender account alive (true).
152
+ * See [`Pallet::transfer_all`].
213
153
  **/
214
154
  transferAll: AugmentedSubmittable<(dest: MultiAddress | {
215
155
  Id: any;
@@ -223,13 +163,7 @@ declare module '@polkadot/api-base/types/submittable' {
223
163
  Address20: any;
224
164
  } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
225
165
  /**
226
- * Transfer some liquid free balance to another account.
227
- *
228
- * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
229
- * If the sender's account is below the existential deposit as a result
230
- * of the transfer, the account will be reaped.
231
- *
232
- * The dispatch origin for this call must be `Signed` by the transactor.
166
+ * See [`Pallet::transfer_allow_death`].
233
167
  **/
234
168
  transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | {
235
169
  Id: any;
@@ -243,12 +177,7 @@ declare module '@polkadot/api-base/types/submittable' {
243
177
  Address20: any;
244
178
  } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
245
179
  /**
246
- * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
247
- * kill the origin account.
248
- *
249
- * 99% of the time you want [`transfer_allow_death`] instead.
250
- *
251
- * [`transfer_allow_death`]: struct.Pallet.html#method.transfer
180
+ * See [`Pallet::transfer_keep_alive`].
252
181
  **/
253
182
  transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | {
254
183
  Id: any;
@@ -262,14 +191,7 @@ declare module '@polkadot/api-base/types/submittable' {
262
191
  Address20: any;
263
192
  } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
264
193
  /**
265
- * Upgrade a specified account.
266
- *
267
- * - `origin`: Must be `Signed`.
268
- * - `who`: The account to be upgraded.
269
- *
270
- * This will waive the transaction fee if at least all but 10% of the accounts needed to
271
- * be upgraded. (We let some not have to be upgraded just in order to allow for the
272
- * possibililty of churn).
194
+ * See [`Pallet::upgrade_accounts`].
273
195
  **/
274
196
  upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
275
197
  /**
@@ -279,36 +201,15 @@ declare module '@polkadot/api-base/types/submittable' {
279
201
  };
280
202
  bounties: {
281
203
  /**
282
- * Accept the curator role for a bounty.
283
- * A deposit will be reserved from curator and refund upon successful payout.
284
- *
285
- * May only be called from the curator.
286
- *
287
- * ## Complexity
288
- * - O(1).
204
+ * See [`Pallet::accept_curator`].
289
205
  **/
290
206
  acceptCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
291
207
  /**
292
- * Approve a bounty proposal. At a later time, the bounty will be funded and become active
293
- * and the original deposit will be returned.
294
- *
295
- * May only be called from `T::SpendOrigin`.
296
- *
297
- * ## Complexity
298
- * - O(1).
208
+ * See [`Pallet::approve_bounty`].
299
209
  **/
300
210
  approveBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
301
211
  /**
302
- * Award bounty to a beneficiary account. The beneficiary will be able to claim the funds
303
- * after a delay.
304
- *
305
- * The dispatch origin for this call must be the curator of this bounty.
306
- *
307
- * - `bounty_id`: Bounty ID to award.
308
- * - `beneficiary`: The beneficiary account whom will receive the payout.
309
- *
310
- * ## Complexity
311
- * - O(1).
212
+ * See [`Pallet::award_bounty`].
312
213
  **/
313
214
  awardBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
314
215
  Id: any;
@@ -322,62 +223,23 @@ declare module '@polkadot/api-base/types/submittable' {
322
223
  Address20: any;
323
224
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
324
225
  /**
325
- * Claim the payout from an awarded bounty after payout delay.
326
- *
327
- * The dispatch origin for this call must be the beneficiary of this bounty.
328
- *
329
- * - `bounty_id`: Bounty ID to claim.
330
- *
331
- * ## Complexity
332
- * - O(1).
226
+ * See [`Pallet::claim_bounty`].
333
227
  **/
334
228
  claimBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
335
229
  /**
336
- * Cancel a proposed or active bounty. All the funds will be sent to treasury and
337
- * the curator deposit will be unreserved if possible.
338
- *
339
- * Only `T::RejectOrigin` is able to cancel a bounty.
340
- *
341
- * - `bounty_id`: Bounty ID to cancel.
342
- *
343
- * ## Complexity
344
- * - O(1).
230
+ * See [`Pallet::close_bounty`].
345
231
  **/
346
232
  closeBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
347
233
  /**
348
- * Extend the expiry time of an active bounty.
349
- *
350
- * The dispatch origin for this call must be the curator of this bounty.
351
- *
352
- * - `bounty_id`: Bounty ID to extend.
353
- * - `remark`: additional information.
354
- *
355
- * ## Complexity
356
- * - O(1).
234
+ * See [`Pallet::extend_bounty_expiry`].
357
235
  **/
358
236
  extendBountyExpiry: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Bytes]>;
359
237
  /**
360
- * Propose a new bounty.
361
- *
362
- * The dispatch origin for this call must be _Signed_.
363
- *
364
- * Payment: `TipReportDepositBase` will be reserved from the origin account, as well as
365
- * `DataDepositPerByte` for each byte in `reason`. It will be unreserved upon approval,
366
- * or slashed when rejected.
367
- *
368
- * - `curator`: The curator account whom will manage this bounty.
369
- * - `fee`: The curator fee.
370
- * - `value`: The total payment amount of this bounty, curator fee included.
371
- * - `description`: The description of this bounty.
238
+ * See [`Pallet::propose_bounty`].
372
239
  **/
373
240
  proposeBounty: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, description: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Bytes]>;
374
241
  /**
375
- * Assign a curator to a funded bounty.
376
- *
377
- * May only be called from `T::SpendOrigin`.
378
- *
379
- * ## Complexity
380
- * - O(1).
242
+ * See [`Pallet::propose_curator`].
381
243
  **/
382
244
  proposeCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | {
383
245
  Id: any;
@@ -391,23 +253,7 @@ declare module '@polkadot/api-base/types/submittable' {
391
253
  Address20: any;
392
254
  } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
393
255
  /**
394
- * Unassign curator from a bounty.
395
- *
396
- * This function can only be called by the `RejectOrigin` a signed origin.
397
- *
398
- * If this function is called by the `RejectOrigin`, we assume that the curator is
399
- * malicious or inactive. As a result, we will slash the curator when possible.
400
- *
401
- * If the origin is the curator, we take this as a sign they are unable to do their job and
402
- * they willingly give up. We could slash them, but for now we allow them to recover their
403
- * deposit and exit without issue. (We may want to change this if it is abused.)
404
- *
405
- * Finally, the origin can be anyone if and only if the curator is "inactive". This allows
406
- * anyone in the community to call out that a curator is not doing their due diligence, and
407
- * we should pick a new curator. In this case the curator should also be slashed.
408
- *
409
- * ## Complexity
410
- * - O(1).
256
+ * See [`Pallet::unassign_curator`].
411
257
  **/
412
258
  unassignCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
413
259
  /**
@@ -417,67 +263,15 @@ declare module '@polkadot/api-base/types/submittable' {
417
263
  };
418
264
  childBounties: {
419
265
  /**
420
- * Accept the curator role for the child-bounty.
421
- *
422
- * The dispatch origin for this call must be the curator of this
423
- * child-bounty.
424
- *
425
- * A deposit will be reserved from the curator and refund upon
426
- * successful payout or cancellation.
427
- *
428
- * Fee for curator is deducted from curator fee of parent bounty.
429
- *
430
- * Parent bounty must be in active state, for this child-bounty call to
431
- * work.
432
- *
433
- * Child-bounty must be in "CuratorProposed" state, for processing the
434
- * call. And state of child-bounty is moved to "Active" on successful
435
- * call completion.
436
- *
437
- * - `parent_bounty_id`: Index of parent bounty.
438
- * - `child_bounty_id`: Index of child bounty.
266
+ * See [`Pallet::accept_curator`].
439
267
  **/
440
268
  acceptCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
441
269
  /**
442
- * Add a new child-bounty.
443
- *
444
- * The dispatch origin for this call must be the curator of parent
445
- * bounty and the parent bounty must be in "active" state.
446
- *
447
- * Child-bounty gets added successfully & fund gets transferred from
448
- * parent bounty to child-bounty account, if parent bounty has enough
449
- * funds, else the call fails.
450
- *
451
- * Upper bound to maximum number of active child bounties that can be
452
- * added are managed via runtime trait config
453
- * [`Config::MaxActiveChildBountyCount`].
454
- *
455
- * If the call is success, the status of child-bounty is updated to
456
- * "Added".
457
- *
458
- * - `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.
459
- * - `value`: Value for executing the proposal.
460
- * - `description`: Text description for the child-bounty.
270
+ * See [`Pallet::add_child_bounty`].
461
271
  **/
462
272
  addChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, description: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Bytes]>;
463
273
  /**
464
- * Award child-bounty to a beneficiary.
465
- *
466
- * The beneficiary will be able to claim the funds after a delay.
467
- *
468
- * The dispatch origin for this call must be the parent curator or
469
- * curator of this child-bounty.
470
- *
471
- * Parent bounty must be in active state, for this child-bounty call to
472
- * work.
473
- *
474
- * Child-bounty must be in active state, for processing the call. And
475
- * state of child-bounty is moved to "PendingPayout" on successful call
476
- * completion.
477
- *
478
- * - `parent_bounty_id`: Index of parent bounty.
479
- * - `child_bounty_id`: Index of child bounty.
480
- * - `beneficiary`: Beneficiary account.
274
+ * See [`Pallet::award_child_bounty`].
481
275
  **/
482
276
  awardChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
483
277
  Id: any;
@@ -491,65 +285,15 @@ declare module '@polkadot/api-base/types/submittable' {
491
285
  Address20: any;
492
286
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, MultiAddress]>;
493
287
  /**
494
- * Claim the payout from an awarded child-bounty after payout delay.
495
- *
496
- * The dispatch origin for this call may be any signed origin.
497
- *
498
- * Call works independent of parent bounty state, No need for parent
499
- * bounty to be in active state.
500
- *
501
- * The Beneficiary is paid out with agreed bounty value. Curator fee is
502
- * paid & curator deposit is unreserved.
503
- *
504
- * Child-bounty must be in "PendingPayout" state, for processing the
505
- * call. And instance of child-bounty is removed from the state on
506
- * successful call completion.
507
- *
508
- * - `parent_bounty_id`: Index of parent bounty.
509
- * - `child_bounty_id`: Index of child bounty.
288
+ * See [`Pallet::claim_child_bounty`].
510
289
  **/
511
290
  claimChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
512
291
  /**
513
- * Cancel a proposed or active child-bounty. Child-bounty account funds
514
- * are transferred to parent bounty account. The child-bounty curator
515
- * deposit may be unreserved if possible.
516
- *
517
- * The dispatch origin for this call must be either parent curator or
518
- * `T::RejectOrigin`.
519
- *
520
- * If the state of child-bounty is `Active`, curator deposit is
521
- * unreserved.
522
- *
523
- * If the state of child-bounty is `PendingPayout`, call fails &
524
- * returns `PendingPayout` error.
525
- *
526
- * For the origin other than T::RejectOrigin, parent bounty must be in
527
- * active state, for this child-bounty call to work. For origin
528
- * T::RejectOrigin execution is forced.
529
- *
530
- * Instance of child-bounty is removed from the state on successful
531
- * call completion.
532
- *
533
- * - `parent_bounty_id`: Index of parent bounty.
534
- * - `child_bounty_id`: Index of child bounty.
292
+ * See [`Pallet::close_child_bounty`].
535
293
  **/
536
294
  closeChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
537
295
  /**
538
- * Propose curator for funded child-bounty.
539
- *
540
- * The dispatch origin for this call must be curator of parent bounty.
541
- *
542
- * Parent bounty must be in active state, for this child-bounty call to
543
- * work.
544
- *
545
- * Child-bounty must be in "Added" state, for processing the call. And
546
- * state of child-bounty is moved to "CuratorProposed" on successful
547
- * call completion.
548
- *
549
- * - `parent_bounty_id`: Index of parent bounty.
550
- * - `child_bounty_id`: Index of child bounty.
551
- * - `curator`: Address of child-bounty curator.
552
- * - `fee`: payment fee to child-bounty curator for execution.
296
+ * See [`Pallet::propose_curator`].
553
297
  **/
554
298
  proposeCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | {
555
299
  Id: any;
@@ -563,40 +307,7 @@ declare module '@polkadot/api-base/types/submittable' {
563
307
  Address20: any;
564
308
  } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, MultiAddress, Compact<u128>]>;
565
309
  /**
566
- * Unassign curator from a child-bounty.
567
- *
568
- * The dispatch origin for this call can be either `RejectOrigin`, or
569
- * the curator of the parent bounty, or any signed origin.
570
- *
571
- * For the origin other than T::RejectOrigin and the child-bounty
572
- * curator, parent bounty must be in active state, for this call to
573
- * work. We allow child-bounty curator and T::RejectOrigin to execute
574
- * this call irrespective of the parent bounty state.
575
- *
576
- * If this function is called by the `RejectOrigin` or the
577
- * parent bounty curator, we assume that the child-bounty curator is
578
- * malicious or inactive. As a result, child-bounty curator deposit is
579
- * slashed.
580
- *
581
- * If the origin is the child-bounty curator, we take this as a sign
582
- * that they are unable to do their job, and are willingly giving up.
583
- * We could slash the deposit, but for now we allow them to unreserve
584
- * their deposit and exit without issue. (We may want to change this if
585
- * it is abused.)
586
- *
587
- * Finally, the origin can be anyone iff the child-bounty curator is
588
- * "inactive". Expiry update due of parent bounty is used to estimate
589
- * inactive state of child-bounty curator.
590
- *
591
- * This allows anyone in the community to call out that a child-bounty
592
- * curator is not doing their due diligence, and we should pick a new
593
- * one. In this case the child-bounty curator deposit is slashed.
594
- *
595
- * State of child-bounty is moved to Added state on successful call
596
- * completion.
597
- *
598
- * - `parent_bounty_id`: Index of parent bounty.
599
- * - `child_bounty_id`: Index of child bounty.
310
+ * See [`Pallet::unassign_curator`].
600
311
  **/
601
312
  unassignCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
602
313
  /**
@@ -606,99 +317,24 @@ declare module '@polkadot/api-base/types/submittable' {
606
317
  };
607
318
  claims: {
608
319
  /**
609
- * Attest to a statement, needed to finalize the claims process.
610
- *
611
- * WARNING: Insecure unless your chain includes `PrevalidateAttests` as a `SignedExtension`.
612
- *
613
- * Unsigned Validation:
614
- * A call to attest is deemed valid if the sender has a `Preclaim` registered
615
- * and provides a `statement` which is expected for the account.
616
- *
617
- * Parameters:
618
- * - `statement`: The identity of the statement which is being attested to in the signature.
619
- *
620
- * <weight>
621
- * The weight of this call is invariant over the input parameters.
622
- * Weight includes logic to do pre-validation on `attest` call.
623
- *
624
- * Total Complexity: O(1)
625
- * </weight>
320
+ * See [`Pallet::attest`].
626
321
  **/
627
322
  attest: AugmentedSubmittable<(statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
628
323
  /**
629
- * Make a claim to collect your DOTs.
630
- *
631
- * The dispatch origin for this call must be _None_.
632
- *
633
- * Unsigned Validation:
634
- * A call to claim is deemed valid if the signature provided matches
635
- * the expected signed message of:
636
- *
637
- * > Ethereum Signed Message:
638
- * > (configured prefix string)(address)
639
- *
640
- * and `address` matches the `dest` account.
641
- *
642
- * Parameters:
643
- * - `dest`: The destination account to payout the claim.
644
- * - `ethereum_signature`: The signature of an ethereum signed message
645
- * matching the format described above.
646
- *
647
- * <weight>
648
- * The weight of this call is invariant over the input parameters.
649
- * Weight includes logic to validate unsigned `claim` call.
650
- *
651
- * Total Complexity: O(1)
652
- * </weight>
324
+ * See [`Pallet::claim`].
653
325
  **/
654
326
  claim: AugmentedSubmittable<(dest: AccountId32 | string | Uint8Array, ethereumSignature: PolkadotRuntimeCommonClaimsEcdsaSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PolkadotRuntimeCommonClaimsEcdsaSignature]>;
655
327
  /**
656
- * Make a claim to collect your DOTs by signing a statement.
657
- *
658
- * The dispatch origin for this call must be _None_.
659
- *
660
- * Unsigned Validation:
661
- * A call to `claim_attest` is deemed valid if the signature provided matches
662
- * the expected signed message of:
663
- *
664
- * > Ethereum Signed Message:
665
- * > (configured prefix string)(address)(statement)
666
- *
667
- * and `address` matches the `dest` account; the `statement` must match that which is
668
- * expected according to your purchase arrangement.
669
- *
670
- * Parameters:
671
- * - `dest`: The destination account to payout the claim.
672
- * - `ethereum_signature`: The signature of an ethereum signed message
673
- * matching the format described above.
674
- * - `statement`: The identity of the statement which is being attested to in the signature.
675
- *
676
- * <weight>
677
- * The weight of this call is invariant over the input parameters.
678
- * Weight includes logic to validate unsigned `claim_attest` call.
679
- *
680
- * Total Complexity: O(1)
681
- * </weight>
328
+ * See [`Pallet::claim_attest`].
682
329
  **/
683
330
  claimAttest: AugmentedSubmittable<(dest: AccountId32 | string | Uint8Array, ethereumSignature: PolkadotRuntimeCommonClaimsEcdsaSignature | string | Uint8Array, statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PolkadotRuntimeCommonClaimsEcdsaSignature, Bytes]>;
684
331
  /**
685
- * Mint a new claim to collect DOTs.
686
- *
687
- * The dispatch origin for this call must be _Root_.
688
- *
689
- * Parameters:
690
- * - `who`: The Ethereum address allowed to collect this claim.
691
- * - `value`: The number of DOTs that will be claimed.
692
- * - `vesting_schedule`: An optional vesting schedule for these DOTs.
693
- *
694
- * <weight>
695
- * The weight of this call is invariant over the input parameters.
696
- * We assume worst case that both vesting and statement is being inserted.
697
- *
698
- * Total Complexity: O(1)
699
- * </weight>
332
+ * See [`Pallet::mint_claim`].
700
333
  **/
701
334
  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>]>;
335
+ /**
336
+ * See [`Pallet::move_claim`].
337
+ **/
702
338
  moveClaim: AugmentedSubmittable<(old: EthereumAddress | string | Uint8Array, updated: EthereumAddress | string | Uint8Array, maybePreclaim: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [EthereumAddress, EthereumAddress, Option<AccountId32>]>;
703
339
  /**
704
340
  * Generic tx
@@ -707,198 +343,178 @@ declare module '@polkadot/api-base/types/submittable' {
707
343
  };
708
344
  configuration: {
709
345
  /**
710
- * Set the asynchronous backing parameters.
346
+ * See [`Pallet::set_async_backing_params`].
711
347
  **/
712
348
  setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesVstagingAsyncBackingParams | {
713
349
  maxCandidateDepth?: any;
714
350
  allowedAncestryLen?: any;
715
351
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingAsyncBackingParams]>;
716
352
  /**
717
- * Setting this to true will disable consistency checks for the configuration setters.
718
- * Use with caution.
353
+ * See [`Pallet::set_bypass_consistency_check`].
719
354
  **/
720
355
  setBypassConsistencyCheck: AugmentedSubmittable<(updated: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
721
356
  /**
722
- * Set the availability period for parachains.
357
+ * See [`Pallet::set_chain_availability_period`].
723
358
  **/
724
359
  setChainAvailabilityPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
725
360
  /**
726
- * Set the acceptance period for an included candidate.
361
+ * See [`Pallet::set_code_retention_period`].
727
362
  **/
728
363
  setCodeRetentionPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
729
364
  /**
730
- * Set the dispute period, in number of sessions to keep for disputes.
365
+ * See [`Pallet::set_dispute_period`].
731
366
  **/
732
367
  setDisputePeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
733
368
  /**
734
- * Set the dispute post conclusion acceptance period.
369
+ * See [`Pallet::set_dispute_post_conclusion_acceptance_period`].
735
370
  **/
736
371
  setDisputePostConclusionAcceptancePeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
737
372
  /**
738
- * Set PVF executor parameters.
373
+ * See [`Pallet::set_executor_params`].
739
374
  **/
740
375
  setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV4ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV4ExecutorParams]>;
741
376
  /**
742
- * Set the parachain validator-group rotation frequency
377
+ * See [`Pallet::set_group_rotation_frequency`].
743
378
  **/
744
379
  setGroupRotationFrequency: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
745
380
  /**
746
- * Sets the maximum number of messages allowed in an HRMP channel at once.
381
+ * See [`Pallet::set_hrmp_channel_max_capacity`].
747
382
  **/
748
383
  setHrmpChannelMaxCapacity: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
749
384
  /**
750
- * Sets the maximum size of a message that could ever be put into an HRMP channel.
385
+ * See [`Pallet::set_hrmp_channel_max_message_size`].
751
386
  **/
752
387
  setHrmpChannelMaxMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
753
388
  /**
754
- * Sets the maximum total size of messages in bytes allowed in an HRMP channel at once.
389
+ * See [`Pallet::set_hrmp_channel_max_total_size`].
755
390
  **/
756
391
  setHrmpChannelMaxTotalSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
757
392
  /**
758
- * Sets the maximum number of outbound HRMP messages can be sent by a candidate.
393
+ * See [`Pallet::set_hrmp_max_message_num_per_candidate`].
759
394
  **/
760
395
  setHrmpMaxMessageNumPerCandidate: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
761
396
  /**
762
- * Sets the maximum number of inbound HRMP channels a parachain is allowed to accept.
397
+ * See [`Pallet::set_hrmp_max_parachain_inbound_channels`].
763
398
  **/
764
399
  setHrmpMaxParachainInboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
765
400
  /**
766
- * Sets the maximum number of outbound HRMP channels a parachain is allowed to open.
401
+ * See [`Pallet::set_hrmp_max_parachain_outbound_channels`].
767
402
  **/
768
403
  setHrmpMaxParachainOutboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
769
404
  /**
770
- * Sets the maximum number of inbound HRMP channels a parathread is allowed to accept.
405
+ * See [`Pallet::set_hrmp_max_parathread_inbound_channels`].
771
406
  **/
772
407
  setHrmpMaxParathreadInboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
773
408
  /**
774
- * Sets the maximum number of outbound HRMP channels a parathread is allowed to open.
409
+ * See [`Pallet::set_hrmp_max_parathread_outbound_channels`].
775
410
  **/
776
411
  setHrmpMaxParathreadOutboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
777
412
  /**
778
- * Sets the number of sessions after which an HRMP open channel request expires.
413
+ * See [`Pallet::set_hrmp_open_request_ttl`].
779
414
  **/
780
415
  setHrmpOpenRequestTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
781
416
  /**
782
- * Sets the amount of funds that the recipient should provide for accepting opening an HRMP
783
- * channel.
417
+ * See [`Pallet::set_hrmp_recipient_deposit`].
784
418
  **/
785
419
  setHrmpRecipientDeposit: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
786
420
  /**
787
- * Sets the amount of funds that the sender should provide for opening an HRMP channel.
421
+ * See [`Pallet::set_hrmp_sender_deposit`].
788
422
  **/
789
423
  setHrmpSenderDeposit: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
790
424
  /**
791
- * Set the max validation code size for incoming upgrades.
425
+ * See [`Pallet::set_max_code_size`].
792
426
  **/
793
427
  setMaxCodeSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
794
428
  /**
795
- * Set the critical downward message size.
429
+ * See [`Pallet::set_max_downward_message_size`].
796
430
  **/
797
431
  setMaxDownwardMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
798
432
  /**
799
- * Set the max head data size for paras.
433
+ * See [`Pallet::set_max_head_data_size`].
800
434
  **/
801
435
  setMaxHeadDataSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
802
436
  /**
803
- * Set the max POV block size for incoming upgrades.
437
+ * See [`Pallet::set_max_pov_size`].
804
438
  **/
805
439
  setMaxPovSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
806
440
  /**
807
- * Sets the maximum number of messages that a candidate can contain.
441
+ * See [`Pallet::set_max_upward_message_num_per_candidate`].
808
442
  **/
809
443
  setMaxUpwardMessageNumPerCandidate: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
810
444
  /**
811
- * Sets the maximum size of an upward message that can be sent by a candidate.
445
+ * See [`Pallet::set_max_upward_message_size`].
812
446
  **/
813
447
  setMaxUpwardMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
814
448
  /**
815
- * Sets the maximum items that can present in a upward dispatch queue at once.
449
+ * See [`Pallet::set_max_upward_queue_count`].
816
450
  **/
817
451
  setMaxUpwardQueueCount: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
818
452
  /**
819
- * Sets the maximum total size of items that can present in a upward dispatch queue at once.
453
+ * See [`Pallet::set_max_upward_queue_size`].
820
454
  **/
821
455
  setMaxUpwardQueueSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
822
456
  /**
823
- * Set the maximum number of validators to use in parachain consensus.
457
+ * See [`Pallet::set_max_validators`].
824
458
  **/
825
459
  setMaxValidators: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
826
460
  /**
827
- * Set the maximum number of validators to assign to any core.
461
+ * See [`Pallet::set_max_validators_per_core`].
828
462
  **/
829
463
  setMaxValidatorsPerCore: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
830
464
  /**
831
- * Sets the minimum delay between announcing the upgrade block for a parachain until the
832
- * upgrade taking place.
833
- *
834
- * See the field documentation for information and constraints for the new value.
465
+ * See [`Pallet::set_minimum_validation_upgrade_delay`].
835
466
  **/
836
467
  setMinimumValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
837
468
  /**
838
- * Set the total number of delay tranches.
469
+ * See [`Pallet::set_n_delay_tranches`].
839
470
  **/
840
471
  setNDelayTranches: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
841
472
  /**
842
- * Set the number of validators needed to approve a block.
473
+ * See [`Pallet::set_needed_approvals`].
843
474
  **/
844
475
  setNeededApprovals: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
845
476
  /**
846
- * Set the no show slots, in number of number of consensus slots.
847
- * Must be at least 1.
477
+ * See [`Pallet::set_no_show_slots`].
848
478
  **/
849
479
  setNoShowSlots: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
850
480
  /**
851
- * Set the number of parathread execution cores.
481
+ * See [`Pallet::set_parathread_cores`].
852
482
  **/
853
483
  setParathreadCores: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
854
484
  /**
855
- * Set the number of retries for a particular parathread.
485
+ * See [`Pallet::set_parathread_retries`].
856
486
  **/
857
487
  setParathreadRetries: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
858
488
  /**
859
- * Enable or disable PVF pre-checking. Consult the field documentation prior executing.
489
+ * See [`Pallet::set_pvf_checking_enabled`].
860
490
  **/
861
491
  setPvfCheckingEnabled: AugmentedSubmittable<(updated: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
862
492
  /**
863
- * Set the number of session changes after which a PVF pre-checking voting is rejected.
493
+ * See [`Pallet::set_pvf_voting_ttl`].
864
494
  **/
865
495
  setPvfVotingTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
866
496
  /**
867
- * Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion.
497
+ * See [`Pallet::set_relay_vrf_modulo_samples`].
868
498
  **/
869
499
  setRelayVrfModuloSamples: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
870
500
  /**
871
- * Set the scheduling lookahead, in expected number of blocks at peak throughput.
501
+ * See [`Pallet::set_scheduling_lookahead`].
872
502
  **/
873
503
  setSchedulingLookahead: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
874
504
  /**
875
- * Set the availability period for parathreads.
505
+ * See [`Pallet::set_thread_availability_period`].
876
506
  **/
877
507
  setThreadAvailabilityPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
878
508
  /**
879
- * Sets the maximum amount of weight any individual upward message may consume.
880
- **/
881
- setUmpMaxIndividualWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | {
882
- refTime?: any;
883
- proofSize?: any;
884
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpWeightsWeightV2Weight]>;
885
- /**
886
- * Sets the soft limit for the phase of dispatching dispatchable upward messages.
887
- **/
888
- setUmpServiceTotalWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | {
889
- refTime?: any;
890
- proofSize?: any;
891
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpWeightsWeightV2Weight]>;
892
- /**
893
- * Set the validation upgrade cooldown.
509
+ * See [`Pallet::set_validation_upgrade_cooldown`].
894
510
  **/
895
511
  setValidationUpgradeCooldown: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
896
512
  /**
897
- * Set the validation upgrade delay.
513
+ * See [`Pallet::set_validation_upgrade_delay`].
898
514
  **/
899
515
  setValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
900
516
  /**
901
- * Set the zeroth delay tranche width.
517
+ * See [`Pallet::set_zeroth_delay_tranche_width`].
902
518
  **/
903
519
  setZerothDelayTrancheWidth: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
904
520
  /**
@@ -908,29 +524,7 @@ declare module '@polkadot/api-base/types/submittable' {
908
524
  };
909
525
  convictionVoting: {
910
526
  /**
911
- * Delegate the voting power (with some given conviction) of the sending account for a
912
- * particular class of polls.
913
- *
914
- * The balance delegated is locked for as long as it's delegated, and thereafter for the
915
- * time appropriate for the conviction's lock period.
916
- *
917
- * The dispatch origin of this call must be _Signed_, and the signing account must either:
918
- * - be delegating already; or
919
- * - have no voting activity (if there is, then it will need to be removed/consolidated
920
- * through `reap_vote` or `unvote`).
921
- *
922
- * - `to`: The account whose voting the `target` account's voting power will follow.
923
- * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls
924
- * to this function are required.
925
- * - `conviction`: The conviction that will be attached to the delegated votes. When the
926
- * account is undelegated, the funds will be locked for the corresponding period.
927
- * - `balance`: The amount of the account's balance to be used in delegating. This must not
928
- * be more than the account's current balance.
929
- *
930
- * Emits `Delegated`.
931
- *
932
- * Weight: `O(R)` where R is the number of polls the voter delegating to has
933
- * voted on. Weight is initially charged as if maximum votes, but is refunded later.
527
+ * See [`Pallet::delegate`].
934
528
  **/
935
529
  delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: MultiAddress | {
936
530
  Id: any;
@@ -944,22 +538,7 @@ declare module '@polkadot/api-base/types/submittable' {
944
538
  Address20: any;
945
539
  } | string | Uint8Array, conviction: PalletConvictionVotingConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress, PalletConvictionVotingConviction, u128]>;
946
540
  /**
947
- * Remove a vote for a poll.
948
- *
949
- * If the `target` is equal to the signer, then this function is exactly equivalent to
950
- * `remove_vote`. If not equal to the signer, then the vote must have expired,
951
- * either because the poll was cancelled, because the voter lost the poll or
952
- * because the conviction period is over.
953
- *
954
- * The dispatch origin of this call must be _Signed_.
955
- *
956
- * - `target`: The account of the vote to be removed; this account must have voted for poll
957
- * `index`.
958
- * - `index`: The index of poll of the vote to be removed.
959
- * - `class`: The class of the poll.
960
- *
961
- * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
962
- * Weight is calculated for the maximum number of vote.
541
+ * See [`Pallet::remove_other_vote`].
963
542
  **/
964
543
  removeOtherVote: AugmentedSubmittable<(target: MultiAddress | {
965
544
  Id: any;
@@ -973,64 +552,15 @@ declare module '@polkadot/api-base/types/submittable' {
973
552
  Address20: any;
974
553
  } | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16, u32]>;
975
554
  /**
976
- * Remove a vote for a poll.
977
- *
978
- * If:
979
- * - the poll was cancelled, or
980
- * - the poll is ongoing, or
981
- * - the poll has ended such that
982
- * - the vote of the account was in opposition to the result; or
983
- * - there was no conviction to the account's vote; or
984
- * - the account made a split vote
985
- * ...then the vote is removed cleanly and a following call to `unlock` may result in more
986
- * funds being available.
987
- *
988
- * If, however, the poll has ended and:
989
- * - it finished corresponding to the vote of the account, and
990
- * - the account made a standard vote with conviction, and
991
- * - the lock period of the conviction is not over
992
- * ...then the lock will be aggregated into the overall account's lock, which may involve
993
- * *overlocking* (where the two locks are combined into a single lock that is the maximum
994
- * of both the amount locked and the time is it locked for).
995
- *
996
- * The dispatch origin of this call must be _Signed_, and the signer must have a vote
997
- * registered for poll `index`.
998
- *
999
- * - `index`: The index of poll of the vote to be removed.
1000
- * - `class`: Optional parameter, if given it indicates the class of the poll. For polls
1001
- * which have finished or are cancelled, this must be `Some`.
1002
- *
1003
- * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
1004
- * Weight is calculated for the maximum number of vote.
555
+ * See [`Pallet::remove_vote`].
1005
556
  **/
1006
557
  removeVote: AugmentedSubmittable<(clazz: Option<u16> | null | Uint8Array | u16 | AnyNumber, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u16>, u32]>;
1007
558
  /**
1008
- * Undelegate the voting power of the sending account for a particular class of polls.
1009
- *
1010
- * Tokens may be unlocked following once an amount of time consistent with the lock period
1011
- * of the conviction with which the delegation was issued has passed.
1012
- *
1013
- * The dispatch origin of this call must be _Signed_ and the signing account must be
1014
- * currently delegating.
1015
- *
1016
- * - `class`: The class of polls to remove the delegation from.
1017
- *
1018
- * Emits `Undelegated`.
1019
- *
1020
- * Weight: `O(R)` where R is the number of polls the voter delegating to has
1021
- * voted on. Weight is initially charged as if maximum votes, but is refunded later.
559
+ * See [`Pallet::undelegate`].
1022
560
  **/
1023
561
  undelegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
1024
562
  /**
1025
- * Remove the lock caused by prior voting/delegating which has expired within a particular
1026
- * class.
1027
- *
1028
- * The dispatch origin of this call must be _Signed_.
1029
- *
1030
- * - `class`: The class of polls to unlock.
1031
- * - `target`: The account to remove the lock on.
1032
- *
1033
- * Weight: `O(R)` with R number of vote of target.
563
+ * See [`Pallet::unlock`].
1034
564
  **/
1035
565
  unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: MultiAddress | {
1036
566
  Id: any;
@@ -1044,15 +574,7 @@ declare module '@polkadot/api-base/types/submittable' {
1044
574
  Address20: any;
1045
575
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress]>;
1046
576
  /**
1047
- * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
1048
- * otherwise it is a vote to keep the status quo.
1049
- *
1050
- * The dispatch origin of this call must be _Signed_.
1051
- *
1052
- * - `poll_index`: The index of the poll to vote for.
1053
- * - `vote`: The vote configuration.
1054
- *
1055
- * Weight: `O(R)` where R is the number of polls the voter has voted on.
577
+ * See [`Pallet::vote`].
1056
578
  **/
1057
579
  vote: AugmentedSubmittable<(pollIndex: Compact<u32> | AnyNumber | Uint8Array, vote: PalletConvictionVotingVoteAccountVote | {
1058
580
  Standard: any;
@@ -1068,114 +590,30 @@ declare module '@polkadot/api-base/types/submittable' {
1068
590
  };
1069
591
  council: {
1070
592
  /**
1071
- * Close a vote that is either approved, disapproved or whose voting period has ended.
1072
- *
1073
- * May be called by any signed account in order to finish voting and close the proposal.
1074
- *
1075
- * If called before the end of the voting period it will only close the vote if it is
1076
- * has enough votes to be approved or disapproved.
1077
- *
1078
- * If called after the end of the voting period abstentions are counted as rejections
1079
- * unless there is a prime member set and the prime member cast an approval.
1080
- *
1081
- * If the close operation completes successfully with disapproval, the transaction fee will
1082
- * be waived. Otherwise execution of the approved operation will be charged to the caller.
1083
- *
1084
- * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
1085
- * proposal.
1086
- * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
1087
- * `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
1088
- *
1089
- * ## Complexity
1090
- * - `O(B + M + P1 + P2)` where:
1091
- * - `B` is `proposal` size in bytes (length-fee-bounded)
1092
- * - `M` is members-count (code- and governance-bounded)
1093
- * - `P1` is the complexity of `proposal` preimage.
1094
- * - `P2` is proposal-count (code-bounded)
593
+ * See [`Pallet::close`].
1095
594
  **/
1096
595
  close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | {
1097
596
  refTime?: any;
1098
597
  proofSize?: any;
1099
598
  } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
1100
599
  /**
1101
- * Disapprove a proposal, close, and remove it from the system, regardless of its current
1102
- * state.
1103
- *
1104
- * Must be called by the Root origin.
1105
- *
1106
- * Parameters:
1107
- * * `proposal_hash`: The hash of the proposal that should be disapproved.
1108
- *
1109
- * ## Complexity
1110
- * O(P) where P is the number of max proposals
600
+ * See [`Pallet::disapprove_proposal`].
1111
601
  **/
1112
602
  disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1113
603
  /**
1114
- * Dispatch a proposal from a member using the `Member` origin.
1115
- *
1116
- * Origin must be a member of the collective.
1117
- *
1118
- * ## Complexity:
1119
- * - `O(B + M + P)` where:
1120
- * - `B` is `proposal` size in bytes (length-fee-bounded)
1121
- * - `M` members-count (code-bounded)
1122
- * - `P` complexity of dispatching `proposal`
604
+ * See [`Pallet::execute`].
1123
605
  **/
1124
606
  execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Compact<u32>]>;
1125
607
  /**
1126
- * Add a new proposal to either be voted on or executed directly.
1127
- *
1128
- * Requires the sender to be member.
1129
- *
1130
- * `threshold` determines whether `proposal` is executed directly (`threshold < 2`)
1131
- * or put up for voting.
1132
- *
1133
- * ## Complexity
1134
- * - `O(B + M + P1)` or `O(B + M + P2)` where:
1135
- * - `B` is `proposal` size in bytes (length-fee-bounded)
1136
- * - `M` is members-count (code- and governance-bounded)
1137
- * - branching is influenced by `threshold` where:
1138
- * - `P1` is proposal execution complexity (`threshold < 2`)
1139
- * - `P2` is proposals-count (code-bounded) (`threshold >= 2`)
608
+ * See [`Pallet::propose`].
1140
609
  **/
1141
610
  propose: AugmentedSubmittable<(threshold: Compact<u32> | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Call, Compact<u32>]>;
1142
611
  /**
1143
- * Set the collective's membership.
1144
- *
1145
- * - `new_members`: The new member list. Be nice to the chain and provide it sorted.
1146
- * - `prime`: The prime member whose vote sets the default.
1147
- * - `old_count`: The upper bound for the previous number of members in storage. Used for
1148
- * weight estimation.
1149
- *
1150
- * The dispatch of this call must be `SetMembersOrigin`.
1151
- *
1152
- * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but
1153
- * the weight estimations rely on it to estimate dispatchable weight.
1154
- *
1155
- * # WARNING:
1156
- *
1157
- * The `pallet-collective` can also be managed by logic outside of the pallet through the
1158
- * implementation of the trait [`ChangeMembers`].
1159
- * Any call to `set_members` must be careful that the member set doesn't get out of sync
1160
- * with other logic managing the member set.
1161
- *
1162
- * ## Complexity:
1163
- * - `O(MP + N)` where:
1164
- * - `M` old-members-count (code- and governance-bounded)
1165
- * - `N` new-members-count (code- and governance-bounded)
1166
- * - `P` proposals-count (code-bounded)
612
+ * See [`Pallet::set_members`].
1167
613
  **/
1168
614
  setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Option<AccountId32>, u32]>;
1169
615
  /**
1170
- * Add an aye or nay vote for the sender to the given proposal.
1171
- *
1172
- * Requires the sender to be a member.
1173
- *
1174
- * Transaction fees will be waived if the member is voting on any particular proposal
1175
- * for the first time and the call is successful. Subsequent vote changes will charge a
1176
- * fee.
1177
- * ## Complexity
1178
- * - `O(M)` where `M` is members-count (code- and governance-bounded)
616
+ * See [`Pallet::vote`].
1179
617
  **/
1180
618
  vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, bool]>;
1181
619
  /**
@@ -1185,14 +623,11 @@ declare module '@polkadot/api-base/types/submittable' {
1185
623
  };
1186
624
  crowdloan: {
1187
625
  /**
1188
- * Add an optional memo to an existing crowdloan contribution.
1189
- *
1190
- * Origin must be Signed, and the user must have contributed to the crowdloan.
626
+ * See [`Pallet::add_memo`].
1191
627
  **/
1192
628
  addMemo: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, memo: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
1193
629
  /**
1194
- * Contribute to a crowd sale. This will transfer some balance over to fund a parachain
1195
- * slot. It will be withdrawable when the crowdloan has ended and the funds are unused.
630
+ * See [`Pallet::contribute`].
1196
631
  **/
1197
632
  contribute: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | {
1198
633
  Ed25519: any;
@@ -1202,8 +637,7 @@ declare module '@polkadot/api-base/types/submittable' {
1202
637
  Ecdsa: any;
1203
638
  } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Option<SpRuntimeMultiSignature>]>;
1204
639
  /**
1205
- * Contribute your entire balance to a crowd sale. This will transfer the entire balance of a user over to fund a parachain
1206
- * slot. It will be withdrawable when the crowdloan has ended and the funds are unused.
640
+ * See [`Pallet::contribute_all`].
1207
641
  **/
1208
642
  contributeAll: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | {
1209
643
  Ed25519: any;
@@ -1213,10 +647,7 @@ declare module '@polkadot/api-base/types/submittable' {
1213
647
  Ecdsa: any;
1214
648
  } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<SpRuntimeMultiSignature>]>;
1215
649
  /**
1216
- * Create a new crowdloaning campaign for a parachain slot with the given lease period range.
1217
- *
1218
- * This applies a lock to your parachain configuration, ensuring that it cannot be changed
1219
- * by the parachain manager.
650
+ * See [`Pallet::create`].
1220
651
  **/
1221
652
  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 | {
1222
653
  Ed25519: any;
@@ -1226,13 +657,11 @@ declare module '@polkadot/api-base/types/submittable' {
1226
657
  Ecdsa: any;
1227
658
  } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
1228
659
  /**
1229
- * Remove a fund after the retirement period has ended and all funds have been returned.
660
+ * See [`Pallet::dissolve`].
1230
661
  **/
1231
662
  dissolve: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1232
663
  /**
1233
- * Edit the configuration for an in-progress crowdloan.
1234
- *
1235
- * Can only be called by Root origin.
664
+ * See [`Pallet::edit`].
1236
665
  **/
1237
666
  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 | {
1238
667
  Ed25519: any;
@@ -1242,37 +671,15 @@ declare module '@polkadot/api-base/types/submittable' {
1242
671
  Ecdsa: any;
1243
672
  } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
1244
673
  /**
1245
- * Poke the fund into `NewRaise`
1246
- *
1247
- * Origin must be Signed, and the fund has non-zero raise.
674
+ * See [`Pallet::poke`].
1248
675
  **/
1249
676
  poke: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1250
677
  /**
1251
- * Automatically refund contributors of an ended crowdloan.
1252
- * Due to weight restrictions, this function may need to be called multiple
1253
- * times to fully refund all users. We will refund `RemoveKeysLimit` users at a time.
1254
- *
1255
- * Origin must be signed, but can come from anyone.
678
+ * See [`Pallet::refund`].
1256
679
  **/
1257
680
  refund: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1258
681
  /**
1259
- * Withdraw full balance of a specific contributor.
1260
- *
1261
- * Origin must be signed, but can come from anyone.
1262
- *
1263
- * The fund must be either in, or ready for, retirement. For a fund to be *in* retirement, then the retirement
1264
- * flag must be set. For a fund to be ready for retirement, then:
1265
- * - it must not already be in retirement;
1266
- * - the amount of raised funds must be bigger than the _free_ balance of the account;
1267
- * - and either:
1268
- * - the block number must be at least `end`; or
1269
- * - the current lease period must be greater than the fund's `last_period`.
1270
- *
1271
- * In this case, the fund's retirement flag is set and its `end` is reset to the current block
1272
- * number.
1273
- *
1274
- * - `who`: The account whose contribution should be withdrawn.
1275
- * - `index`: The parachain to whose crowdloan the contribution was made.
682
+ * See [`Pallet::withdraw`].
1276
683
  **/
1277
684
  withdraw: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Compact<u32>]>;
1278
685
  /**
@@ -1282,72 +689,23 @@ declare module '@polkadot/api-base/types/submittable' {
1282
689
  };
1283
690
  democracy: {
1284
691
  /**
1285
- * Permanently place a proposal into the blacklist. This prevents it from ever being
1286
- * proposed again.
1287
- *
1288
- * If called on a queued public or external proposal, then this will result in it being
1289
- * removed. If the `ref_index` supplied is an active referendum with the proposal hash,
1290
- * then it will be cancelled.
1291
- *
1292
- * The dispatch origin of this call must be `BlacklistOrigin`.
1293
- *
1294
- * - `proposal_hash`: The proposal hash to blacklist permanently.
1295
- * - `ref_index`: An ongoing referendum whose hash is `proposal_hash`, which will be
1296
- * cancelled.
1297
- *
1298
- * Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a
1299
- * reasonable value).
692
+ * See [`Pallet::blacklist`].
1300
693
  **/
1301
694
  blacklist: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, maybeRefIndex: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [H256, Option<u32>]>;
1302
695
  /**
1303
- * Remove a proposal.
1304
- *
1305
- * The dispatch origin of this call must be `CancelProposalOrigin`.
1306
- *
1307
- * - `prop_index`: The index of the proposal to cancel.
1308
- *
1309
- * Weight: `O(p)` where `p = PublicProps::<T>::decode_len()`
696
+ * See [`Pallet::cancel_proposal`].
1310
697
  **/
1311
698
  cancelProposal: AugmentedSubmittable<(propIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1312
699
  /**
1313
- * Remove a referendum.
1314
- *
1315
- * The dispatch origin of this call must be _Root_.
1316
- *
1317
- * - `ref_index`: The index of the referendum to cancel.
1318
- *
1319
- * # Weight: `O(1)`.
700
+ * See [`Pallet::cancel_referendum`].
1320
701
  **/
1321
702
  cancelReferendum: AugmentedSubmittable<(refIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1322
703
  /**
1323
- * Clears all public proposals.
1324
- *
1325
- * The dispatch origin of this call must be _Root_.
1326
- *
1327
- * Weight: `O(1)`.
704
+ * See [`Pallet::clear_public_proposals`].
1328
705
  **/
1329
706
  clearPublicProposals: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1330
707
  /**
1331
- * Delegate the voting power (with some given conviction) of the sending account.
1332
- *
1333
- * The balance delegated is locked for as long as it's delegated, and thereafter for the
1334
- * time appropriate for the conviction's lock period.
1335
- *
1336
- * The dispatch origin of this call must be _Signed_, and the signing account must either:
1337
- * - be delegating already; or
1338
- * - have no voting activity (if there is, then it will need to be removed/consolidated
1339
- * through `reap_vote` or `unvote`).
1340
- *
1341
- * - `to`: The account whose voting the `target` account's voting power will follow.
1342
- * - `conviction`: The conviction that will be attached to the delegated votes. When the
1343
- * account is undelegated, the funds will be locked for the corresponding period.
1344
- * - `balance`: The amount of the account's balance to be used in delegating. This must not
1345
- * be more than the account's current balance.
1346
- *
1347
- * Emits `Delegated`.
1348
- *
1349
- * Weight: `O(R)` where R is the number of referendums the voter delegating to has
1350
- * voted on. Weight is charged as if maximum votes.
708
+ * See [`Pallet::delegate`].
1351
709
  **/
1352
710
  delegate: AugmentedSubmittable<(to: MultiAddress | {
1353
711
  Id: any;
@@ -1361,23 +719,11 @@ declare module '@polkadot/api-base/types/submittable' {
1361
719
  Address20: any;
1362
720
  } | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletDemocracyConviction, u128]>;
1363
721
  /**
1364
- * Schedule an emergency cancellation of a referendum. Cannot happen twice to the same
1365
- * referendum.
1366
- *
1367
- * The dispatch origin of this call must be `CancellationOrigin`.
1368
- *
1369
- * -`ref_index`: The index of the referendum to cancel.
1370
- *
1371
- * Weight: `O(1)`.
722
+ * See [`Pallet::emergency_cancel`].
1372
723
  **/
1373
724
  emergencyCancel: AugmentedSubmittable<(refIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1374
725
  /**
1375
- * Schedule a referendum to be tabled once it is legal to schedule an external
1376
- * referendum.
1377
- *
1378
- * The dispatch origin of this call must be `ExternalOrigin`.
1379
- *
1380
- * - `proposal_hash`: The preimage hash of the proposal.
726
+ * See [`Pallet::external_propose`].
1381
727
  **/
1382
728
  externalPropose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
1383
729
  Legacy: any;
@@ -1387,17 +733,7 @@ declare module '@polkadot/api-base/types/submittable' {
1387
733
  Lookup: any;
1388
734
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
1389
735
  /**
1390
- * Schedule a negative-turnout-bias referendum to be tabled next once it is legal to
1391
- * schedule an external referendum.
1392
- *
1393
- * The dispatch of this call must be `ExternalDefaultOrigin`.
1394
- *
1395
- * - `proposal_hash`: The preimage hash of the proposal.
1396
- *
1397
- * Unlike `external_propose`, blacklisting has no effect on this and it may replace a
1398
- * pre-scheduled `external_propose` call.
1399
- *
1400
- * Weight: `O(1)`
736
+ * See [`Pallet::external_propose_default`].
1401
737
  **/
1402
738
  externalProposeDefault: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
1403
739
  Legacy: any;
@@ -1407,17 +743,7 @@ declare module '@polkadot/api-base/types/submittable' {
1407
743
  Lookup: any;
1408
744
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
1409
745
  /**
1410
- * Schedule a majority-carries referendum to be tabled next once it is legal to schedule
1411
- * an external referendum.
1412
- *
1413
- * The dispatch of this call must be `ExternalMajorityOrigin`.
1414
- *
1415
- * - `proposal_hash`: The preimage hash of the proposal.
1416
- *
1417
- * Unlike `external_propose`, blacklisting has no effect on this and it may replace a
1418
- * pre-scheduled `external_propose` call.
1419
- *
1420
- * Weight: `O(1)`
746
+ * See [`Pallet::external_propose_majority`].
1421
747
  **/
1422
748
  externalProposeMajority: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
1423
749
  Legacy: any;
@@ -1427,34 +753,11 @@ declare module '@polkadot/api-base/types/submittable' {
1427
753
  Lookup: any;
1428
754
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
1429
755
  /**
1430
- * Schedule the currently externally-proposed majority-carries referendum to be tabled
1431
- * immediately. If there is no externally-proposed referendum currently, or if there is one
1432
- * but it is not a majority-carries referendum then it fails.
1433
- *
1434
- * The dispatch of this call must be `FastTrackOrigin`.
1435
- *
1436
- * - `proposal_hash`: The hash of the current external proposal.
1437
- * - `voting_period`: The period that is allowed for voting on this proposal. Increased to
1438
- * Must be always greater than zero.
1439
- * For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.
1440
- * - `delay`: The number of block after voting has ended in approval and this should be
1441
- * enacted. This doesn't have a minimum amount.
1442
- *
1443
- * Emits `Started`.
1444
- *
1445
- * Weight: `O(1)`
756
+ * See [`Pallet::fast_track`].
1446
757
  **/
1447
758
  fastTrack: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, votingPeriod: u32 | AnyNumber | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32, u32]>;
1448
759
  /**
1449
- * Propose a sensitive action to be taken.
1450
- *
1451
- * The dispatch origin of this call must be _Signed_ and the sender must
1452
- * have funds to cover the deposit.
1453
- *
1454
- * - `proposal_hash`: The hash of the proposal preimage.
1455
- * - `value`: The amount of deposit (must be at least `MinimumDeposit`).
1456
- *
1457
- * Emits `Proposed`.
760
+ * See [`Pallet::propose`].
1458
761
  **/
1459
762
  propose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
1460
763
  Legacy: any;
@@ -1464,21 +767,7 @@ declare module '@polkadot/api-base/types/submittable' {
1464
767
  Lookup: any;
1465
768
  } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded, Compact<u128>]>;
1466
769
  /**
1467
- * Remove a vote for a referendum.
1468
- *
1469
- * If the `target` is equal to the signer, then this function is exactly equivalent to
1470
- * `remove_vote`. If not equal to the signer, then the vote must have expired,
1471
- * either because the referendum was cancelled, because the voter lost the referendum or
1472
- * because the conviction period is over.
1473
- *
1474
- * The dispatch origin of this call must be _Signed_.
1475
- *
1476
- * - `target`: The account of the vote to be removed; this account must have voted for
1477
- * referendum `index`.
1478
- * - `index`: The index of referendum of the vote to be removed.
1479
- *
1480
- * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
1481
- * Weight is calculated for the maximum number of vote.
770
+ * See [`Pallet::remove_other_vote`].
1482
771
  **/
1483
772
  removeOtherVote: AugmentedSubmittable<(target: MultiAddress | {
1484
773
  Id: any;
@@ -1492,60 +781,15 @@ declare module '@polkadot/api-base/types/submittable' {
1492
781
  Address20: any;
1493
782
  } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
1494
783
  /**
1495
- * Remove a vote for a referendum.
1496
- *
1497
- * If:
1498
- * - the referendum was cancelled, or
1499
- * - the referendum is ongoing, or
1500
- * - the referendum has ended such that
1501
- * - the vote of the account was in opposition to the result; or
1502
- * - there was no conviction to the account's vote; or
1503
- * - the account made a split vote
1504
- * ...then the vote is removed cleanly and a following call to `unlock` may result in more
1505
- * funds being available.
1506
- *
1507
- * If, however, the referendum has ended and:
1508
- * - it finished corresponding to the vote of the account, and
1509
- * - the account made a standard vote with conviction, and
1510
- * - the lock period of the conviction is not over
1511
- * ...then the lock will be aggregated into the overall account's lock, which may involve
1512
- * *overlocking* (where the two locks are combined into a single lock that is the maximum
1513
- * of both the amount locked and the time is it locked for).
1514
- *
1515
- * The dispatch origin of this call must be _Signed_, and the signer must have a vote
1516
- * registered for referendum `index`.
1517
- *
1518
- * - `index`: The index of referendum of the vote to be removed.
1519
- *
1520
- * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
1521
- * Weight is calculated for the maximum number of vote.
784
+ * See [`Pallet::remove_vote`].
1522
785
  **/
1523
786
  removeVote: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1524
787
  /**
1525
- * Signals agreement with a particular proposal.
1526
- *
1527
- * The dispatch origin of this call must be _Signed_ and the sender
1528
- * must have funds to cover the deposit, equal to the original deposit.
1529
- *
1530
- * - `proposal`: The index of the proposal to second.
788
+ * See [`Pallet::second`].
1531
789
  **/
1532
790
  second: AugmentedSubmittable<(proposal: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1533
791
  /**
1534
- * Set or clear a metadata of a proposal or a referendum.
1535
- *
1536
- * Parameters:
1537
- * - `origin`: Must correspond to the `MetadataOwner`.
1538
- * - `ExternalOrigin` for an external proposal with the `SuperMajorityApprove`
1539
- * threshold.
1540
- * - `ExternalDefaultOrigin` for an external proposal with the `SuperMajorityAgainst`
1541
- * threshold.
1542
- * - `ExternalMajorityOrigin` for an external proposal with the `SimpleMajority`
1543
- * threshold.
1544
- * - `Signed` by a creator for a public proposal.
1545
- * - `Signed` to clear a metadata for a finished referendum.
1546
- * - `Root` to set a metadata for an ongoing referendum.
1547
- * - `owner`: an identifier of a metadata owner.
1548
- * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata.
792
+ * See [`Pallet::set_metadata`].
1549
793
  **/
1550
794
  setMetadata: AugmentedSubmittable<(owner: PalletDemocracyMetadataOwner | {
1551
795
  External: any;
@@ -1555,28 +799,11 @@ declare module '@polkadot/api-base/types/submittable' {
1555
799
  Referendum: any;
1556
800
  } | string | Uint8Array, maybeHash: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [PalletDemocracyMetadataOwner, Option<H256>]>;
1557
801
  /**
1558
- * Undelegate the voting power of the sending account.
1559
- *
1560
- * Tokens may be unlocked following once an amount of time consistent with the lock period
1561
- * of the conviction with which the delegation was issued.
1562
- *
1563
- * The dispatch origin of this call must be _Signed_ and the signing account must be
1564
- * currently delegating.
1565
- *
1566
- * Emits `Undelegated`.
1567
- *
1568
- * Weight: `O(R)` where R is the number of referendums the voter delegating to has
1569
- * voted on. Weight is charged as if maximum votes.
802
+ * See [`Pallet::undelegate`].
1570
803
  **/
1571
804
  undelegate: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1572
805
  /**
1573
- * Unlock tokens that have an expired lock.
1574
- *
1575
- * The dispatch origin of this call must be _Signed_.
1576
- *
1577
- * - `target`: The account to remove the lock on.
1578
- *
1579
- * Weight: `O(R)` with R number of vote of target.
806
+ * See [`Pallet::unlock`].
1580
807
  **/
1581
808
  unlock: AugmentedSubmittable<(target: MultiAddress | {
1582
809
  Id: any;
@@ -1590,25 +817,11 @@ declare module '@polkadot/api-base/types/submittable' {
1590
817
  Address20: any;
1591
818
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1592
819
  /**
1593
- * Veto and blacklist the external proposal hash.
1594
- *
1595
- * The dispatch origin of this call must be `VetoOrigin`.
1596
- *
1597
- * - `proposal_hash`: The preimage hash of the proposal to veto and blacklist.
1598
- *
1599
- * Emits `Vetoed`.
1600
- *
1601
- * Weight: `O(V + log(V))` where V is number of `existing vetoers`
820
+ * See [`Pallet::veto_external`].
1602
821
  **/
1603
822
  vetoExternal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1604
823
  /**
1605
- * Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal;
1606
- * otherwise it is a vote to keep the status quo.
1607
- *
1608
- * The dispatch origin of this call must be _Signed_.
1609
- *
1610
- * - `ref_index`: The index of the referendum to vote for.
1611
- * - `vote`: The vote configuration.
824
+ * See [`Pallet::vote`].
1612
825
  **/
1613
826
  vote: AugmentedSubmittable<(refIndex: Compact<u32> | AnyNumber | Uint8Array, vote: PalletDemocracyVoteAccountVote | {
1614
827
  Standard: any;
@@ -1622,32 +835,18 @@ declare module '@polkadot/api-base/types/submittable' {
1622
835
  };
1623
836
  electionProviderMultiPhase: {
1624
837
  /**
1625
- * Trigger the governance fallback.
1626
- *
1627
- * This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
1628
- * calling [`Call::set_emergency_election_result`].
838
+ * See [`Pallet::governance_fallback`].
1629
839
  **/
1630
840
  governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | Uint8Array | u32 | AnyNumber, maybeMaxTargets: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>]>;
1631
841
  /**
1632
- * Set a solution in the queue, to be handed out to the client of this pallet in the next
1633
- * call to `ElectionProvider::elect`.
1634
- *
1635
- * This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`.
1636
- *
1637
- * The solution is not checked for any feasibility and is assumed to be trustworthy, as any
1638
- * feasibility check itself can in principle cause the election process to fail (due to
1639
- * memory/weight constrains).
842
+ * See [`Pallet::set_emergency_election_result`].
1640
843
  **/
1641
844
  setEmergencyElectionResult: AugmentedSubmittable<(supports: Vec<ITuple<[AccountId32, SpNposElectionsSupport]>> | ([AccountId32 | string | Uint8Array, SpNposElectionsSupport | {
1642
845
  total?: any;
1643
846
  voters?: any;
1644
847
  } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, SpNposElectionsSupport]>>]>;
1645
848
  /**
1646
- * Set a new value for `MinimumUntrustedScore`.
1647
- *
1648
- * Dispatch origin must be aligned with `T::ForceOrigin`.
1649
- *
1650
- * This check can be turned off by setting the value to `None`.
849
+ * See [`Pallet::set_minimum_untrusted_score`].
1651
850
  **/
1652
851
  setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null | Uint8Array | SpNposElectionsElectionScore | {
1653
852
  minimalStake?: any;
@@ -1655,15 +854,7 @@ declare module '@polkadot/api-base/types/submittable' {
1655
854
  sumStakeSquared?: any;
1656
855
  } | string) => SubmittableExtrinsic<ApiType>, [Option<SpNposElectionsElectionScore>]>;
1657
856
  /**
1658
- * Submit a solution for the signed phase.
1659
- *
1660
- * The dispatch origin fo this call must be __signed__.
1661
- *
1662
- * The solution is potentially queued, based on the claimed score and processed at the end
1663
- * of the signed phase.
1664
- *
1665
- * A deposit is reserved and recorded for the solution. Based on the outcome, the solution
1666
- * might be rewarded, slashed, or get all or a part of the deposit back.
857
+ * See [`Pallet::submit`].
1667
858
  **/
1668
859
  submit: AugmentedSubmittable<(rawSolution: PalletElectionProviderMultiPhaseRawSolution | {
1669
860
  solution?: any;
@@ -1671,20 +862,7 @@ declare module '@polkadot/api-base/types/submittable' {
1671
862
  round?: any;
1672
863
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletElectionProviderMultiPhaseRawSolution]>;
1673
864
  /**
1674
- * Submit a solution for the unsigned phase.
1675
- *
1676
- * The dispatch origin fo this call must be __none__.
1677
- *
1678
- * This submission is checked on the fly. Moreover, this unsigned solution is only
1679
- * validated when submitted to the pool from the **local** node. Effectively, this means
1680
- * that only active validators can submit this transaction when authoring a block (similar
1681
- * to an inherent).
1682
- *
1683
- * To prevent any incorrect solution (and thus wasted time/weight), this transaction will
1684
- * panic if the solution submitted by the validator is invalid in any way, effectively
1685
- * putting their authoring reward at risk.
1686
- *
1687
- * No deposit or reward is associated with this submission.
865
+ * See [`Pallet::submit_unsigned`].
1688
866
  **/
1689
867
  submitUnsigned: AugmentedSubmittable<(rawSolution: PalletElectionProviderMultiPhaseRawSolution | {
1690
868
  solution?: any;
@@ -1701,40 +879,15 @@ declare module '@polkadot/api-base/types/submittable' {
1701
879
  };
1702
880
  fastUnstake: {
1703
881
  /**
1704
- * Control the operation of this pallet.
1705
- *
1706
- * Dispatch origin must be signed by the [`Config::ControlOrigin`].
882
+ * See [`Pallet::control`].
1707
883
  **/
1708
884
  control: AugmentedSubmittable<(erasToCheck: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1709
885
  /**
1710
- * Deregister oneself from the fast-unstake.
1711
- *
1712
- * This is useful if one is registered, they are still waiting, and they change their mind.
1713
- *
1714
- * Note that the associated stash is still fully unbonded and chilled as a consequence of
1715
- * calling `register_fast_unstake`. This should probably be followed by a call to
1716
- * `Staking::rebond`.
886
+ * See [`Pallet::deregister`].
1717
887
  **/
1718
888
  deregister: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1719
889
  /**
1720
- * Register oneself for fast-unstake.
1721
- *
1722
- * The dispatch origin of this call must be signed by the controller account, similar to
1723
- * `staking::unbond`.
1724
- *
1725
- * The stash associated with the origin must have no ongoing unlocking chunks. If
1726
- * successful, this will fully unbond and chill the stash. Then, it will enqueue the stash
1727
- * to be checked in further blocks.
1728
- *
1729
- * If by the time this is called, the stash is actually eligible for fast-unstake, then
1730
- * they are guaranteed to remain eligible, because the call will chill them as well.
1731
- *
1732
- * If the check works, the entire staking data is removed, i.e. the stash is fully
1733
- * unstaked.
1734
- *
1735
- * If the check fails, the stash remains chilled and waiting for being unbonded as in with
1736
- * the normal staking system, but they lose part of their unbonding chunks due to consuming
1737
- * the chain's resources.
890
+ * See [`Pallet::register_fast_unstake`].
1738
891
  **/
1739
892
  registerFastUnstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1740
893
  /**
@@ -1744,25 +897,11 @@ declare module '@polkadot/api-base/types/submittable' {
1744
897
  };
1745
898
  grandpa: {
1746
899
  /**
1747
- * Note that the current authority set of the GRANDPA finality gadget has stalled.
1748
- *
1749
- * This will trigger a forced authority set change at the beginning of the next session, to
1750
- * be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
1751
- * that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
1752
- * The block production rate (which may be slowed down because of finality lagging) should
1753
- * be taken into account when choosing the `delay`. The GRANDPA voters based on the new
1754
- * authority will start voting on top of `best_finalized_block_number` for new finalized
1755
- * blocks. `best_finalized_block_number` should be the highest of the latest finalized
1756
- * block of all validators of the new authority set.
1757
- *
1758
- * Only callable by root.
900
+ * See [`Pallet::note_stalled`].
1759
901
  **/
1760
902
  noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1761
903
  /**
1762
- * Report voter equivocation/misbehavior. This method will verify the
1763
- * equivocation proof and validate the given key ownership proof
1764
- * against the extracted offender. If both are valid, the offence
1765
- * will be reported.
904
+ * See [`Pallet::report_equivocation`].
1766
905
  **/
1767
906
  reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | {
1768
907
  setId?: any;
@@ -1773,15 +912,7 @@ declare module '@polkadot/api-base/types/submittable' {
1773
912
  validatorCount?: any;
1774
913
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof]>;
1775
914
  /**
1776
- * Report voter equivocation/misbehavior. This method will verify the
1777
- * equivocation proof and validate the given key ownership proof
1778
- * against the extracted offender. If both are valid, the offence
1779
- * will be reported.
1780
- *
1781
- * This extrinsic must be called unsigned and it is expected that only
1782
- * block authors will call it (validated in `ValidateUnsigned`), as such
1783
- * if the block author is defined it will be defined as the equivocation
1784
- * reporter.
915
+ * See [`Pallet::report_equivocation_unsigned`].
1785
916
  **/
1786
917
  reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | {
1787
918
  setId?: any;
@@ -1798,83 +929,41 @@ declare module '@polkadot/api-base/types/submittable' {
1798
929
  };
1799
930
  hrmp: {
1800
931
  /**
1801
- * This extrinsic triggers the cleanup of all the HRMP storage items that
1802
- * a para may have. Normally this happens once per session, but this allows
1803
- * you to trigger the cleanup immediately for a specific parachain.
1804
- *
1805
- * Origin must be Root.
1806
- *
1807
- * Number of inbound and outbound channels for `para` must be provided as witness data of weighing.
932
+ * See [`Pallet::force_clean_hrmp`].
1808
933
  **/
1809
934
  forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, inbound: u32 | AnyNumber | Uint8Array, outbound: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
1810
935
  /**
1811
- * Open a channel from a `sender` to a `recipient` `ParaId` using the Root origin. Although
1812
- * opened by Root, the `max_capacity` and `max_message_size` are still subject to the Relay
1813
- * Chain's configured limits.
1814
- *
1815
- * Expected use is when one of the `ParaId`s involved in the channel is governed by the
1816
- * Relay Chain, e.g. a common good parachain.
936
+ * See [`Pallet::force_open_hrmp_channel`].
1817
937
  **/
1818
938
  forceOpenHrmpChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array, maxCapacity: u32 | AnyNumber | Uint8Array, maxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u32]>;
1819
939
  /**
1820
- * Force process HRMP close channel requests.
1821
- *
1822
- * If there are pending HRMP close channel requests, you can use this
1823
- * function process all of those requests immediately.
1824
- *
1825
- * Total number of closing channels must be provided as witness data of weighing.
940
+ * See [`Pallet::force_process_hrmp_close`].
1826
941
  **/
1827
942
  forceProcessHrmpClose: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1828
943
  /**
1829
- * Force process HRMP open channel requests.
1830
- *
1831
- * If there are pending HRMP open channel requests, you can use this
1832
- * function process all of those requests immediately.
1833
- *
1834
- * Total number of opening channels must be provided as witness data of weighing.
944
+ * See [`Pallet::force_process_hrmp_open`].
1835
945
  **/
1836
946
  forceProcessHrmpOpen: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1837
947
  /**
1838
- * Accept a pending open channel request from the given sender.
1839
- *
1840
- * The channel will be opened only on the next session boundary.
948
+ * See [`Pallet::hrmp_accept_open_channel`].
1841
949
  **/
1842
950
  hrmpAcceptOpenChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1843
951
  /**
1844
- * This cancels a pending open channel request. It can be canceled by either of the sender
1845
- * or the recipient for that request. The origin must be either of those.
1846
- *
1847
- * The cancellation happens immediately. It is not possible to cancel the request if it is
1848
- * already accepted.
1849
- *
1850
- * Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as
1851
- * witness data.
952
+ * See [`Pallet::hrmp_cancel_open_request`].
1852
953
  **/
1853
954
  hrmpCancelOpenRequest: AugmentedSubmittable<(channelId: PolkadotParachainPrimitivesHrmpChannelId | {
1854
955
  sender?: any;
1855
956
  recipient?: any;
1856
957
  } | string | Uint8Array, openRequests: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotParachainPrimitivesHrmpChannelId, u32]>;
1857
958
  /**
1858
- * Initiate unilateral closing of a channel. The origin must be either the sender or the
1859
- * recipient in the channel being closed.
1860
- *
1861
- * The closure can only happen on a session change.
959
+ * See [`Pallet::hrmp_close_channel`].
1862
960
  **/
1863
961
  hrmpCloseChannel: AugmentedSubmittable<(channelId: PolkadotParachainPrimitivesHrmpChannelId | {
1864
962
  sender?: any;
1865
963
  recipient?: any;
1866
964
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotParachainPrimitivesHrmpChannelId]>;
1867
965
  /**
1868
- * Initiate opening a channel from a parachain to a given recipient with given channel
1869
- * parameters.
1870
- *
1871
- * - `proposed_max_capacity` - specifies how many messages can be in the channel at once.
1872
- * - `proposed_max_message_size` - specifies the maximum size of the messages.
1873
- *
1874
- * These numbers are a subject to the relay-chain configuration limits.
1875
- *
1876
- * The channel can be opened only after the recipient confirms it and only on a session
1877
- * change.
966
+ * See [`Pallet::hrmp_init_open_channel`].
1878
967
  **/
1879
968
  hrmpInitOpenChannel: AugmentedSubmittable<(recipient: u32 | AnyNumber | Uint8Array, proposedMaxCapacity: u32 | AnyNumber | Uint8Array, proposedMaxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
1880
969
  /**
@@ -1884,16 +973,7 @@ declare module '@polkadot/api-base/types/submittable' {
1884
973
  };
1885
974
  identity: {
1886
975
  /**
1887
- * Add a registrar to the system.
1888
- *
1889
- * The dispatch origin for this call must be `T::RegistrarOrigin`.
1890
- *
1891
- * - `account`: the account of the registrar.
1892
- *
1893
- * Emits `RegistrarAdded` if successful.
1894
- *
1895
- * ## Complexity
1896
- * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded).
976
+ * See [`Pallet::add_registrar`].
1897
977
  **/
1898
978
  addRegistrar: AugmentedSubmittable<(account: MultiAddress | {
1899
979
  Id: any;
@@ -1907,13 +987,7 @@ declare module '@polkadot/api-base/types/submittable' {
1907
987
  Address20: any;
1908
988
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1909
989
  /**
1910
- * Add the given account to the sender's subs.
1911
- *
1912
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
1913
- * to the sender.
1914
- *
1915
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
1916
- * sub identity of `sub`.
990
+ * See [`Pallet::add_sub`].
1917
991
  **/
1918
992
  addSub: AugmentedSubmittable<(sub: MultiAddress | {
1919
993
  Id: any;
@@ -1939,59 +1013,15 @@ declare module '@polkadot/api-base/types/submittable' {
1939
1013
  ShaThree256: any;
1940
1014
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
1941
1015
  /**
1942
- * Cancel a previous request.
1943
- *
1944
- * Payment: A previously reserved deposit is returned on success.
1945
- *
1946
- * The dispatch origin for this call must be _Signed_ and the sender must have a
1947
- * registered identity.
1948
- *
1949
- * - `reg_index`: The index of the registrar whose judgement is no longer requested.
1950
- *
1951
- * Emits `JudgementUnrequested` if successful.
1952
- *
1953
- * ## Complexity
1954
- * - `O(R + X)`.
1955
- * - where `R` registrar-count (governance-bounded).
1956
- * - where `X` additional-field-count (deposit-bounded and code-bounded).
1016
+ * See [`Pallet::cancel_request`].
1957
1017
  **/
1958
1018
  cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1959
1019
  /**
1960
- * Clear an account's identity info and all sub-accounts and return all deposits.
1961
- *
1962
- * Payment: All reserved balances on the account are returned.
1963
- *
1964
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
1965
- * identity.
1966
- *
1967
- * Emits `IdentityCleared` if successful.
1968
- *
1969
- * ## Complexity
1970
- * - `O(R + S + X)`
1971
- * - where `R` registrar-count (governance-bounded).
1972
- * - where `S` subs-count (hard- and deposit-bounded).
1973
- * - where `X` additional-field-count (deposit-bounded and code-bounded).
1020
+ * See [`Pallet::clear_identity`].
1974
1021
  **/
1975
1022
  clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1976
1023
  /**
1977
- * Remove an account's identity and sub-account information and slash the deposits.
1978
- *
1979
- * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by
1980
- * `Slash`. Verification request deposits are not returned; they should be cancelled
1981
- * manually using `cancel_request`.
1982
- *
1983
- * The dispatch origin for this call must match `T::ForceOrigin`.
1984
- *
1985
- * - `target`: the account whose identity the judgement is upon. This must be an account
1986
- * with a registered identity.
1987
- *
1988
- * Emits `IdentityKilled` if successful.
1989
- *
1990
- * ## Complexity
1991
- * - `O(R + S + X)`
1992
- * - where `R` registrar-count (governance-bounded).
1993
- * - where `S` subs-count (hard- and deposit-bounded).
1994
- * - where `X` additional-field-count (deposit-bounded and code-bounded).
1024
+ * See [`Pallet::kill_identity`].
1995
1025
  **/
1996
1026
  killIdentity: AugmentedSubmittable<(target: MultiAddress | {
1997
1027
  Id: any;
@@ -2005,23 +1035,7 @@ declare module '@polkadot/api-base/types/submittable' {
2005
1035
  Address20: any;
2006
1036
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
2007
1037
  /**
2008
- * Provide a judgement for an account's identity.
2009
- *
2010
- * The dispatch origin for this call must be _Signed_ and the sender must be the account
2011
- * of the registrar whose index is `reg_index`.
2012
- *
2013
- * - `reg_index`: the index of the registrar whose judgement is being made.
2014
- * - `target`: the account whose identity the judgement is upon. This must be an account
2015
- * with a registered identity.
2016
- * - `judgement`: the judgement of the registrar of index `reg_index` about `target`.
2017
- * - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.
2018
- *
2019
- * Emits `JudgementGiven` if successful.
2020
- *
2021
- * ## Complexity
2022
- * - `O(R + X)`.
2023
- * - where `R` registrar-count (governance-bounded).
2024
- * - where `X` additional-field-count (deposit-bounded and code-bounded).
1038
+ * See [`Pallet::provide_judgement`].
2025
1039
  **/
2026
1040
  provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | {
2027
1041
  Id: any;
@@ -2049,26 +1063,11 @@ declare module '@polkadot/api-base/types/submittable' {
2049
1063
  Erroneous: any;
2050
1064
  } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;
2051
1065
  /**
2052
- * Remove the sender as a sub-account.
2053
- *
2054
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
2055
- * to the sender (*not* the original depositor).
2056
- *
2057
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
2058
- * super-identity.
2059
- *
2060
- * NOTE: This should not normally be used, but is provided in the case that the non-
2061
- * controller of an account is maliciously registered as a sub-account.
1066
+ * See [`Pallet::quit_sub`].
2062
1067
  **/
2063
1068
  quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2064
1069
  /**
2065
- * Remove the given account from the sender's subs.
2066
- *
2067
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
2068
- * to the sender.
2069
- *
2070
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
2071
- * sub identity of `sub`.
1070
+ * See [`Pallet::remove_sub`].
2072
1071
  **/
2073
1072
  removeSub: AugmentedSubmittable<(sub: MultiAddress | {
2074
1073
  Id: any;
@@ -2082,10 +1081,7 @@ declare module '@polkadot/api-base/types/submittable' {
2082
1081
  Address20: any;
2083
1082
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
2084
1083
  /**
2085
- * Alter the associated name of the given sub-account.
2086
- *
2087
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
2088
- * sub identity of `sub`.
1084
+ * See [`Pallet::rename_sub`].
2089
1085
  **/
2090
1086
  renameSub: AugmentedSubmittable<(sub: MultiAddress | {
2091
1087
  Id: any;
@@ -2111,41 +1107,11 @@ declare module '@polkadot/api-base/types/submittable' {
2111
1107
  ShaThree256: any;
2112
1108
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
2113
1109
  /**
2114
- * Request a judgement from a registrar.
2115
- *
2116
- * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement
2117
- * given.
2118
- *
2119
- * The dispatch origin for this call must be _Signed_ and the sender must have a
2120
- * registered identity.
2121
- *
2122
- * - `reg_index`: The index of the registrar whose judgement is requested.
2123
- * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
2124
- *
2125
- * ```nocompile
2126
- * Self::registrars().get(reg_index).unwrap().fee
2127
- * ```
2128
- *
2129
- * Emits `JudgementRequested` if successful.
2130
- *
2131
- * ## Complexity
2132
- * - `O(R + X)`.
2133
- * - where `R` registrar-count (governance-bounded).
2134
- * - where `X` additional-field-count (deposit-bounded and code-bounded).
1110
+ * See [`Pallet::request_judgement`].
2135
1111
  **/
2136
1112
  requestJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, maxFee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;
2137
1113
  /**
2138
- * Change the account associated with a registrar.
2139
- *
2140
- * The dispatch origin for this call must be _Signed_ and the sender must be the account
2141
- * of the registrar whose index is `index`.
2142
- *
2143
- * - `index`: the index of the registrar whose fee is to be set.
2144
- * - `new`: the new account ID.
2145
- *
2146
- * ## Complexity
2147
- * - `O(R)`.
2148
- * - where `R` registrar-count (governance-bounded).
1114
+ * See [`Pallet::set_account_id`].
2149
1115
  **/
2150
1116
  setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | {
2151
1117
  Id: any;
@@ -2159,49 +1125,15 @@ declare module '@polkadot/api-base/types/submittable' {
2159
1125
  Address20: any;
2160
1126
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
2161
1127
  /**
2162
- * Set the fee required for a judgement to be requested from a registrar.
2163
- *
2164
- * The dispatch origin for this call must be _Signed_ and the sender must be the account
2165
- * of the registrar whose index is `index`.
2166
- *
2167
- * - `index`: the index of the registrar whose fee is to be set.
2168
- * - `fee`: the new fee.
2169
- *
2170
- * ## Complexity
2171
- * - `O(R)`.
2172
- * - where `R` registrar-count (governance-bounded).
1128
+ * See [`Pallet::set_fee`].
2173
1129
  **/
2174
1130
  setFee: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;
2175
1131
  /**
2176
- * Set the field information for a registrar.
2177
- *
2178
- * The dispatch origin for this call must be _Signed_ and the sender must be the account
2179
- * of the registrar whose index is `index`.
2180
- *
2181
- * - `index`: the index of the registrar whose fee is to be set.
2182
- * - `fields`: the fields that the registrar concerns themselves with.
2183
- *
2184
- * ## Complexity
2185
- * - `O(R)`.
2186
- * - where `R` registrar-count (governance-bounded).
1132
+ * See [`Pallet::set_fields`].
2187
1133
  **/
2188
1134
  setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;
2189
1135
  /**
2190
- * Set an account's identity information and reserve the appropriate deposit.
2191
- *
2192
- * If the account already has identity information, the deposit is taken as part payment
2193
- * for the new deposit.
2194
- *
2195
- * The dispatch origin for this call must be _Signed_.
2196
- *
2197
- * - `info`: The identity information.
2198
- *
2199
- * Emits `IdentitySet` if successful.
2200
- *
2201
- * ## Complexity
2202
- * - `O(X + X' + R)`
2203
- * - where `X` additional-field-count (deposit-bounded and code-bounded)
2204
- * - where `R` judgements-count (registrar-count-bounded)
1136
+ * See [`Pallet::set_identity`].
2205
1137
  **/
2206
1138
  setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | {
2207
1139
  additional?: any;
@@ -2215,20 +1147,7 @@ declare module '@polkadot/api-base/types/submittable' {
2215
1147
  twitter?: any;
2216
1148
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityIdentityInfo]>;
2217
1149
  /**
2218
- * Set the sub-accounts of the sender.
2219
- *
2220
- * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned
2221
- * and an amount `SubAccountDeposit` will be reserved for each item in `subs`.
2222
- *
2223
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
2224
- * identity.
2225
- *
2226
- * - `subs`: The identity's (new) sub-accounts.
2227
- *
2228
- * ## Complexity
2229
- * - `O(P + S)`
2230
- * - where `P` old-subs-count (hard- and deposit-bounded).
2231
- * - where `S` subs-count (hard- and deposit-bounded).
1150
+ * See [`Pallet::set_subs`].
2232
1151
  **/
2233
1152
  setSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | {
2234
1153
  None: any;
@@ -2250,11 +1169,7 @@ declare module '@polkadot/api-base/types/submittable' {
2250
1169
  };
2251
1170
  imOnline: {
2252
1171
  /**
2253
- * ## Complexity:
2254
- * - `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of
2255
- * `heartbeat.network_state.external_address`
2256
- * - `O(K)`: decoding of length `K`
2257
- * - `O(E)`: decoding/encoding of length `E`
1172
+ * See [`Pallet::heartbeat`].
2258
1173
  **/
2259
1174
  heartbeat: AugmentedSubmittable<(heartbeat: PalletImOnlineHeartbeat | {
2260
1175
  blockNumber?: any;
@@ -2270,34 +1185,11 @@ declare module '@polkadot/api-base/types/submittable' {
2270
1185
  };
2271
1186
  indices: {
2272
1187
  /**
2273
- * Assign an previously unassigned index.
2274
- *
2275
- * Payment: `Deposit` is reserved from the sender account.
2276
- *
2277
- * The dispatch origin for this call must be _Signed_.
2278
- *
2279
- * - `index`: the index to be claimed. This must not be in use.
2280
- *
2281
- * Emits `IndexAssigned` if successful.
2282
- *
2283
- * ## Complexity
2284
- * - `O(1)`.
1188
+ * See [`Pallet::claim`].
2285
1189
  **/
2286
1190
  claim: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2287
1191
  /**
2288
- * Force an index to an account. This doesn't require a deposit. If the index is already
2289
- * held, then any deposit is reimbursed to its current owner.
2290
- *
2291
- * The dispatch origin for this call must be _Root_.
2292
- *
2293
- * - `index`: the index to be (re-)assigned.
2294
- * - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
2295
- * - `freeze`: if set to `true`, will freeze the index so it cannot be transferred.
2296
- *
2297
- * Emits `IndexAssigned` if successful.
2298
- *
2299
- * ## Complexity
2300
- * - `O(1)`.
1192
+ * See [`Pallet::force_transfer`].
2301
1193
  **/
2302
1194
  forceTransfer: AugmentedSubmittable<(updated: MultiAddress | {
2303
1195
  Id: any;
@@ -2311,48 +1203,15 @@ declare module '@polkadot/api-base/types/submittable' {
2311
1203
  Address20: any;
2312
1204
  } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, bool]>;
2313
1205
  /**
2314
- * Free up an index owned by the sender.
2315
- *
2316
- * Payment: Any previous deposit placed for the index is unreserved in the sender account.
2317
- *
2318
- * The dispatch origin for this call must be _Signed_ and the sender must own the index.
2319
- *
2320
- * - `index`: the index to be freed. This must be owned by the sender.
2321
- *
2322
- * Emits `IndexFreed` if successful.
2323
- *
2324
- * ## Complexity
2325
- * - `O(1)`.
1206
+ * See [`Pallet::free`].
2326
1207
  **/
2327
1208
  free: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2328
1209
  /**
2329
- * Freeze an index so it will always point to the sender account. This consumes the
2330
- * deposit.
2331
- *
2332
- * The dispatch origin for this call must be _Signed_ and the signing account must have a
2333
- * non-frozen account `index`.
2334
- *
2335
- * - `index`: the index to be frozen in place.
2336
- *
2337
- * Emits `IndexFrozen` if successful.
2338
- *
2339
- * ## Complexity
2340
- * - `O(1)`.
1210
+ * See [`Pallet::freeze`].
2341
1211
  **/
2342
1212
  freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2343
1213
  /**
2344
- * Assign an index already owned by the sender to another account. The balance reservation
2345
- * is effectively transferred to the new account.
2346
- *
2347
- * The dispatch origin for this call must be _Signed_.
2348
- *
2349
- * - `index`: the index to be re-assigned. This must be owned by the sender.
2350
- * - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
2351
- *
2352
- * Emits `IndexAssigned` if successful.
2353
- *
2354
- * ## Complexity
2355
- * - `O(1)`.
1214
+ * See [`Pallet::transfer`].
2356
1215
  **/
2357
1216
  transfer: AugmentedSubmittable<(updated: MultiAddress | {
2358
1217
  Id: any;
@@ -2372,9 +1231,7 @@ declare module '@polkadot/api-base/types/submittable' {
2372
1231
  };
2373
1232
  initializer: {
2374
1233
  /**
2375
- * Issue a signal to the consensus engine to forcibly act as though all parachain
2376
- * blocks in all relay chain blocks up to and including the given number in the current
2377
- * chain are valid and should be finalized.
1234
+ * See [`Pallet::force_approve`].
2378
1235
  **/
2379
1236
  forceApprove: AugmentedSubmittable<(upTo: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2380
1237
  /**
@@ -2382,38 +1239,30 @@ declare module '@polkadot/api-base/types/submittable' {
2382
1239
  **/
2383
1240
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
2384
1241
  };
1242
+ messageQueue: {
1243
+ /**
1244
+ * See [`Pallet::execute_overweight`].
1245
+ **/
1246
+ executeOverweight: AugmentedSubmittable<(messageOrigin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | {
1247
+ Ump: any;
1248
+ } | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
1249
+ refTime?: any;
1250
+ proofSize?: any;
1251
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight]>;
1252
+ /**
1253
+ * See [`Pallet::reap_page`].
1254
+ **/
1255
+ reapPage: AugmentedSubmittable<(messageOrigin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | {
1256
+ Ump: any;
1257
+ } | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, u32]>;
1258
+ /**
1259
+ * Generic tx
1260
+ **/
1261
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
1262
+ };
2385
1263
  multisig: {
2386
1264
  /**
2387
- * Register approval for a dispatch to be made from a deterministic composite account if
2388
- * approved by a total of `threshold - 1` of `other_signatories`.
2389
- *
2390
- * Payment: `DepositBase` will be reserved if this is the first approval, plus
2391
- * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
2392
- * is cancelled.
2393
- *
2394
- * The dispatch origin for this call must be _Signed_.
2395
- *
2396
- * - `threshold`: The total number of approvals for this dispatch before it is executed.
2397
- * - `other_signatories`: The accounts (other than the sender) who can approve this
2398
- * dispatch. May not be empty.
2399
- * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
2400
- * not the first approval, then it must be `Some`, with the timepoint (block number and
2401
- * transaction index) of the first approval transaction.
2402
- * - `call_hash`: The hash of the call to be executed.
2403
- *
2404
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
2405
- *
2406
- * ## Complexity
2407
- * - `O(S)`.
2408
- * - Up to one balance-reserve or unreserve operation.
2409
- * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
2410
- * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
2411
- * - One encode & hash, both of complexity `O(S)`.
2412
- * - Up to one binary search and insert (`O(logS + S)`).
2413
- * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
2414
- * - One event.
2415
- * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
2416
- * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
1265
+ * See [`Pallet::approve_as_multi`].
2417
1266
  **/
2418
1267
  approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
2419
1268
  height?: any;
@@ -2423,45 +1272,7 @@ declare module '@polkadot/api-base/types/submittable' {
2423
1272
  proofSize?: any;
2424
1273
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]>;
2425
1274
  /**
2426
- * Register approval for a dispatch to be made from a deterministic composite account if
2427
- * approved by a total of `threshold - 1` of `other_signatories`.
2428
- *
2429
- * If there are enough, then dispatch the call.
2430
- *
2431
- * Payment: `DepositBase` will be reserved if this is the first approval, plus
2432
- * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
2433
- * is cancelled.
2434
- *
2435
- * The dispatch origin for this call must be _Signed_.
2436
- *
2437
- * - `threshold`: The total number of approvals for this dispatch before it is executed.
2438
- * - `other_signatories`: The accounts (other than the sender) who can approve this
2439
- * dispatch. May not be empty.
2440
- * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
2441
- * not the first approval, then it must be `Some`, with the timepoint (block number and
2442
- * transaction index) of the first approval transaction.
2443
- * - `call`: The call to be executed.
2444
- *
2445
- * NOTE: Unless this is the final approval, you will generally want to use
2446
- * `approve_as_multi` instead, since it only requires a hash of the call.
2447
- *
2448
- * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
2449
- * on success, result is `Ok` and the result from the interior call, if it was executed,
2450
- * may be found in the deposited `MultisigExecuted` event.
2451
- *
2452
- * ## Complexity
2453
- * - `O(S + Z + Call)`.
2454
- * - Up to one balance-reserve or unreserve operation.
2455
- * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
2456
- * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
2457
- * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len.
2458
- * - One encode & hash, both of complexity `O(S)`.
2459
- * - Up to one binary search and insert (`O(logS + S)`).
2460
- * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
2461
- * - One event.
2462
- * - The weight of the `call`.
2463
- * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
2464
- * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
1275
+ * See [`Pallet::as_multi`].
2465
1276
  **/
2466
1277
  asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
2467
1278
  height?: any;
@@ -2471,42 +1282,11 @@ declare module '@polkadot/api-base/types/submittable' {
2471
1282
  proofSize?: any;
2472
1283
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]>;
2473
1284
  /**
2474
- * Immediately dispatch a multi-signature call using a single approval from the caller.
2475
- *
2476
- * The dispatch origin for this call must be _Signed_.
2477
- *
2478
- * - `other_signatories`: The accounts (other than the sender) who are part of the
2479
- * multi-signature, but do not participate in the approval process.
2480
- * - `call`: The call to be executed.
2481
- *
2482
- * Result is equivalent to the dispatched result.
2483
- *
2484
- * ## Complexity
2485
- * O(Z + C) where Z is the length of the call and C its execution weight.
1285
+ * See [`Pallet::as_multi_threshold_1`].
2486
1286
  **/
2487
1287
  asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Call]>;
2488
1288
  /**
2489
- * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
2490
- * for this operation will be unreserved on success.
2491
- *
2492
- * The dispatch origin for this call must be _Signed_.
2493
- *
2494
- * - `threshold`: The total number of approvals for this dispatch before it is executed.
2495
- * - `other_signatories`: The accounts (other than the sender) who can approve this
2496
- * dispatch. May not be empty.
2497
- * - `timepoint`: The timepoint (block number and transaction index) of the first approval
2498
- * transaction for this dispatch.
2499
- * - `call_hash`: The hash of the call to be executed.
2500
- *
2501
- * ## Complexity
2502
- * - `O(S)`.
2503
- * - Up to one balance-reserve or unreserve operation.
2504
- * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
2505
- * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
2506
- * - One encode & hash, both of complexity `O(S)`.
2507
- * - One event.
2508
- * - I/O: 1 read `O(S)`, one remove.
2509
- * - Storage: removes one item.
1289
+ * See [`Pallet::cancel_as_multi`].
2510
1290
  **/
2511
1291
  cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | {
2512
1292
  height?: any;
@@ -2519,13 +1299,7 @@ declare module '@polkadot/api-base/types/submittable' {
2519
1299
  };
2520
1300
  nominationPools: {
2521
1301
  /**
2522
- * Bond `extra` more funds from `origin` into the pool to which they already belong.
2523
- *
2524
- * Additional funds can come from either the free balance of the account, of from the
2525
- * accumulated rewards, see [`BondExtra`].
2526
- *
2527
- * Bonding extra funds implies an automatic payout of all pending rewards as well.
2528
- * See `bond_extra_other` to bond pending rewards of `other` members.
1302
+ * See [`Pallet::bond_extra`].
2529
1303
  **/
2530
1304
  bondExtra: AugmentedSubmittable<(extra: PalletNominationPoolsBondExtra | {
2531
1305
  FreeBalance: any;
@@ -2533,15 +1307,7 @@ declare module '@polkadot/api-base/types/submittable' {
2533
1307
  Rewards: any;
2534
1308
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsBondExtra]>;
2535
1309
  /**
2536
- * `origin` bonds funds from `extra` for some pool member `member` into their respective
2537
- * pools.
2538
- *
2539
- * `origin` can bond extra funds from free balance or pending rewards when `origin ==
2540
- * other`.
2541
- *
2542
- * In the case of `origin != other`, `origin` can only bond extra pending rewards of
2543
- * `other` members assuming set_claim_permission for the given member is
2544
- * `PermissionlessAll` or `PermissionlessCompound`.
1310
+ * See [`Pallet::bond_extra_other`].
2545
1311
  **/
2546
1312
  bondExtraOther: AugmentedSubmittable<(member: MultiAddress | {
2547
1313
  Id: any;
@@ -2559,59 +1325,23 @@ declare module '@polkadot/api-base/types/submittable' {
2559
1325
  Rewards: any;
2560
1326
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletNominationPoolsBondExtra]>;
2561
1327
  /**
2562
- * Chill on behalf of the pool.
2563
- *
2564
- * The dispatch origin of this call must be signed by the pool nominator or the pool
2565
- * root role, same as [`Pallet::nominate`].
2566
- *
2567
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
2568
- * account.
1328
+ * See [`Pallet::chill`].
2569
1329
  **/
2570
1330
  chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2571
1331
  /**
2572
- * Claim pending commission.
2573
- *
2574
- * The dispatch origin of this call must be signed by the `root` role of the pool. Pending
2575
- * commission is paid out and added to total claimed commission`. Total pending commission
2576
- * is reset to zero. the current.
1332
+ * See [`Pallet::claim_commission`].
2577
1333
  **/
2578
1334
  claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2579
1335
  /**
2580
- * A bonded member can use this to claim their payout based on the rewards that the pool
2581
- * has accumulated since their last claimed payout (OR since joining if this is their first
2582
- * time claiming rewards). The payout will be transferred to the member's account.
2583
- *
2584
- * The member will earn rewards pro rata based on the members stake vs the sum of the
2585
- * members in the pools stake. Rewards do not "expire".
2586
- *
2587
- * See `claim_payout_other` to caim rewards on bahalf of some `other` pool member.
1336
+ * See [`Pallet::claim_payout`].
2588
1337
  **/
2589
1338
  claimPayout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2590
1339
  /**
2591
- * `origin` can claim payouts on some pool member `other`'s behalf.
2592
- *
2593
- * Pool member `other` must have a `PermissionlessAll` or `PermissionlessWithdraw` in order
2594
- * for this call to be successful.
1340
+ * See [`Pallet::claim_payout_other`].
2595
1341
  **/
2596
1342
  claimPayoutOther: AugmentedSubmittable<(other: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
2597
1343
  /**
2598
- * Create a new delegation pool.
2599
- *
2600
- * # Arguments
2601
- *
2602
- * * `amount` - The amount of funds to delegate to the pool. This also acts of a sort of
2603
- * deposit since the pools creator cannot fully unbond funds until the pool is being
2604
- * destroyed.
2605
- * * `index` - A disambiguation index for creating the account. Likely only useful when
2606
- * creating multiple pools in the same extrinsic.
2607
- * * `root` - The account to set as [`PoolRoles::root`].
2608
- * * `nominator` - The account to set as the [`PoolRoles::nominator`].
2609
- * * `bouncer` - The account to set as the [`PoolRoles::bouncer`].
2610
- *
2611
- * # Note
2612
- *
2613
- * In addition to `amount`, the caller will transfer the existential deposit; so the caller
2614
- * needs at have at least `amount + existential_deposit` transferrable.
1344
+ * See [`Pallet::create`].
2615
1345
  **/
2616
1346
  create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | {
2617
1347
  Id: any;
@@ -2645,12 +1375,7 @@ declare module '@polkadot/api-base/types/submittable' {
2645
1375
  Address20: any;
2646
1376
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
2647
1377
  /**
2648
- * Create a new delegation pool with a previously used pool id
2649
- *
2650
- * # Arguments
2651
- *
2652
- * same as `create` with the inclusion of
2653
- * * `pool_id` - `A valid PoolId.
1378
+ * See [`Pallet::create_with_pool_id`].
2654
1379
  **/
2655
1380
  createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | {
2656
1381
  Id: any;
@@ -2684,90 +1409,38 @@ declare module '@polkadot/api-base/types/submittable' {
2684
1409
  Address20: any;
2685
1410
  } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
2686
1411
  /**
2687
- * Stake funds with a pool. The amount to bond is transferred from the member to the
2688
- * pools account and immediately increases the pools bond.
2689
- *
2690
- * # Note
2691
- *
2692
- * * An account can only be a member of a single pool.
2693
- * * An account cannot join the same pool multiple times.
2694
- * * This call will *not* dust the member account, so the member must have at least
2695
- * `existential deposit + amount` in their account.
2696
- * * Only a pool with [`PoolState::Open`] can be joined
1412
+ * See [`Pallet::join`].
2697
1413
  **/
2698
1414
  join: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
2699
1415
  /**
2700
- * Nominate on behalf of the pool.
2701
- *
2702
- * The dispatch origin of this call must be signed by the pool nominator or the pool
2703
- * root role.
2704
- *
2705
- * This directly forward the call to the staking pallet, on behalf of the pool bonded
2706
- * account.
1416
+ * See [`Pallet::nominate`].
2707
1417
  **/
2708
1418
  nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
2709
1419
  /**
2710
- * Call `withdraw_unbonded` for the pools account. This call can be made by any account.
2711
- *
2712
- * This is useful if their are too many unlocking chunks to call `unbond`, and some
2713
- * can be cleared by withdrawing. In the case there are too many unlocking chunks, the user
2714
- * would probably see an error like `NoMoreChunks` emitted from the staking system when
2715
- * they attempt to unbond.
1420
+ * See [`Pallet::pool_withdraw_unbonded`].
2716
1421
  **/
2717
1422
  poolWithdrawUnbonded: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
2718
1423
  /**
2719
- * Allows a pool member to set a claim permission to allow or disallow permissionless
2720
- * bonding and withdrawing.
2721
- *
2722
- * By default, this is `Permissioned`, which implies only the pool member themselves can
2723
- * claim their pending rewards. If a pool member wishes so, they can set this to
2724
- * `PermissionlessAll` to allow any account to claim their rewards and bond extra to the
2725
- * pool.
2726
- *
2727
- * # Arguments
2728
- *
2729
- * * `origin` - Member of a pool.
2730
- * * `actor` - Account to claim reward. // improve this
1424
+ * See [`Pallet::set_claim_permission`].
2731
1425
  **/
2732
1426
  setClaimPermission: AugmentedSubmittable<(permission: PalletNominationPoolsClaimPermission | 'Permissioned' | 'PermissionlessCompound' | 'PermissionlessWithdraw' | 'PermissionlessAll' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsClaimPermission]>;
2733
1427
  /**
2734
- * Set the commission of a pool.
2735
- * Both a commission percentage and a commission payee must be provided in the `current`
2736
- * tuple. Where a `current` of `None` is provided, any current commission will be removed.
2737
- *
2738
- * - If a `None` is supplied to `new_commission`, existing commission will be removed.
1428
+ * See [`Pallet::set_commission`].
2739
1429
  **/
2740
1430
  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]>>]>;
2741
1431
  /**
2742
- * Set the commission change rate for a pool.
2743
- *
2744
- * Initial change rate is not bounded, whereas subsequent updates can only be more
2745
- * restrictive than the current.
1432
+ * See [`Pallet::set_commission_change_rate`].
2746
1433
  **/
2747
1434
  setCommissionChangeRate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, changeRate: PalletNominationPoolsCommissionChangeRate | {
2748
1435
  maxIncrease?: any;
2749
1436
  minDelay?: any;
2750
1437
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsCommissionChangeRate]>;
2751
1438
  /**
2752
- * Set the maximum commission of a pool.
2753
- *
2754
- * - Initial max can be set to any `Perbill`, and only smaller values thereafter.
2755
- * - Current commission will be lowered in the event it is higher than a new max
2756
- * commission.
1439
+ * See [`Pallet::set_commission_max`].
2757
1440
  **/
2758
1441
  setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Perbill]>;
2759
1442
  /**
2760
- * Update configurations for the nomination pools. The origin for this call must be
2761
- * Root.
2762
- *
2763
- * # Arguments
2764
- *
2765
- * * `min_join_bond` - Set [`MinJoinBond`].
2766
- * * `min_create_bond` - Set [`MinCreateBond`].
2767
- * * `max_pools` - Set [`MaxPools`].
2768
- * * `max_members` - Set [`MaxPoolMembers`].
2769
- * * `max_members_per_pool` - Set [`MaxPoolMembersPerPool`].
2770
- * * `global_max_commission` - Set [`GlobalMaxCommission`].
1443
+ * See [`Pallet::set_configs`].
2771
1444
  **/
2772
1445
  setConfigs: AugmentedSubmittable<(minJoinBond: PalletNominationPoolsConfigOpU128 | {
2773
1446
  Noop: any;
@@ -2807,57 +1480,15 @@ declare module '@polkadot/api-base/types/submittable' {
2807
1480
  Remove: any;
2808
1481
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpPerbill]>;
2809
1482
  /**
2810
- * Set a new metadata for the pool.
2811
- *
2812
- * The dispatch origin of this call must be signed by the bouncer, or the root role of the
2813
- * pool.
1483
+ * See [`Pallet::set_metadata`].
2814
1484
  **/
2815
1485
  setMetadata: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, metadata: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2816
1486
  /**
2817
- * Set a new state for the pool.
2818
- *
2819
- * If a pool is already in the `Destroying` state, then under no condition can its state
2820
- * change again.
2821
- *
2822
- * The dispatch origin of this call must be either:
2823
- *
2824
- * 1. signed by the bouncer, or the root role of the pool,
2825
- * 2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and
2826
- * then the state of the pool can be permissionlessly changed to `Destroying`.
1487
+ * See [`Pallet::set_state`].
2827
1488
  **/
2828
1489
  setState: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, state: PalletNominationPoolsPoolState | 'Open' | 'Blocked' | 'Destroying' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsPoolState]>;
2829
1490
  /**
2830
- * Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It
2831
- * implicitly collects the rewards one last time, since not doing so would mean some
2832
- * rewards would be forfeited.
2833
- *
2834
- * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
2835
- * account).
2836
- *
2837
- * # Conditions for a permissionless dispatch.
2838
- *
2839
- * * The pool is blocked and the caller is either the root or bouncer. This is refereed to
2840
- * as a kick.
2841
- * * The pool is destroying and the member is not the depositor.
2842
- * * The pool is destroying, the member is the depositor and no other members are in the
2843
- * pool.
2844
- *
2845
- * ## Conditions for permissioned dispatch (i.e. the caller is also the
2846
- * `member_account`):
2847
- *
2848
- * * The caller is not the depositor.
2849
- * * The caller is the depositor, the pool is destroying and no other members are in the
2850
- * pool.
2851
- *
2852
- * # Note
2853
- *
2854
- * If there are too many unlocking chunks to unbond with the pool account,
2855
- * [`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks.
2856
- * The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]
2857
- * to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks
2858
- * are available). However, it may not be possible to release the current unlocking chunks,
2859
- * in which case, the result of this call will likely be the `NoMoreChunks` error from the
2860
- * staking system.
1491
+ * See [`Pallet::unbond`].
2861
1492
  **/
2862
1493
  unbond: AugmentedSubmittable<(memberAccount: MultiAddress | {
2863
1494
  Id: any;
@@ -2871,13 +1502,7 @@ declare module '@polkadot/api-base/types/submittable' {
2871
1502
  Address20: any;
2872
1503
  } | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
2873
1504
  /**
2874
- * Update the roles of the pool.
2875
- *
2876
- * The root is the only entity that can change any of the roles, including itself,
2877
- * excluding the depositor, who can never change.
2878
- *
2879
- * It emits an event, notifying UIs of the role change. This event is quite relevant to
2880
- * most pool members and they should be informed of changes to pool roles.
1505
+ * See [`Pallet::update_roles`].
2881
1506
  **/
2882
1507
  updateRoles: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newRoot: PalletNominationPoolsConfigOpAccountId32 | {
2883
1508
  Noop: any;
@@ -2899,25 +1524,7 @@ declare module '@polkadot/api-base/types/submittable' {
2899
1524
  Remove: any;
2900
1525
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpAccountId32]>;
2901
1526
  /**
2902
- * Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an
2903
- * error is returned.
2904
- *
2905
- * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
2906
- * account).
2907
- *
2908
- * # Conditions for a permissionless dispatch
2909
- *
2910
- * * The pool is in destroy mode and the target is not the depositor.
2911
- * * The target is the depositor and they are the only member in the sub pools.
2912
- * * The pool is blocked and the caller is either the root or bouncer.
2913
- *
2914
- * # Conditions for permissioned dispatch
2915
- *
2916
- * * The caller is the target and they are not the depositor.
2917
- *
2918
- * # Note
2919
- *
2920
- * If the target is the depositor, the pool will be destroyed.
1527
+ * See [`Pallet::withdraw_unbonded`].
2921
1528
  **/
2922
1529
  withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | {
2923
1530
  Id: any;
@@ -2943,7 +1550,7 @@ declare module '@polkadot/api-base/types/submittable' {
2943
1550
  };
2944
1551
  paraInherent: {
2945
1552
  /**
2946
- * Enter the paras inherent. This will process bitfields and backed candidates.
1553
+ * See [`Pallet::enter`].
2947
1554
  **/
2948
1555
  enter: AugmentedSubmittable<(data: PolkadotPrimitivesV4InherentData | {
2949
1556
  bitfields?: any;
@@ -2958,46 +1565,31 @@ declare module '@polkadot/api-base/types/submittable' {
2958
1565
  };
2959
1566
  paras: {
2960
1567
  /**
2961
- * Adds the validation code to the storage.
2962
- *
2963
- * The code will not be added if it is already present. Additionally, if PVF pre-checking
2964
- * is running for that code, it will be instantly accepted.
2965
- *
2966
- * Otherwise, the code will be added into the storage. Note that the code will be added
2967
- * into storage with reference count 0. This is to account the fact that there are no users
2968
- * for this code yet. The caller will have to make sure that this code eventually gets
2969
- * used by some parachain or removed from the storage to avoid storage leaks. For the latter
2970
- * prefer to use the `poke_unused_validation_code` dispatchable to raw storage manipulation.
2971
- *
2972
- * This function is mainly meant to be used for upgrading parachains that do not follow
2973
- * the go-ahead signal while the PVF pre-checking feature is enabled.
1568
+ * See [`Pallet::add_trusted_validation_code`].
2974
1569
  **/
2975
1570
  addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2976
1571
  /**
2977
- * Note a new block head for para within the context of the current block.
1572
+ * See [`Pallet::force_note_new_head`].
2978
1573
  **/
2979
1574
  forceNoteNewHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2980
1575
  /**
2981
- * Put a parachain directly into the next session's action queue.
2982
- * We can't queue it any sooner than this without going into the
2983
- * initializer...
1576
+ * See [`Pallet::force_queue_action`].
2984
1577
  **/
2985
1578
  forceQueueAction: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2986
1579
  /**
2987
- * Schedule an upgrade as if it was scheduled in the given relay parent block.
1580
+ * See [`Pallet::force_schedule_code_upgrade`].
2988
1581
  **/
2989
1582
  forceScheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array, relayParentNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, u32]>;
2990
1583
  /**
2991
- * Set the storage for the parachain validation code immediately.
1584
+ * See [`Pallet::force_set_current_code`].
2992
1585
  **/
2993
1586
  forceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2994
1587
  /**
2995
- * Set the storage for the current parachain head data immediately.
1588
+ * See [`Pallet::force_set_current_head`].
2996
1589
  **/
2997
1590
  forceSetCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2998
1591
  /**
2999
- * Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
3000
- * enacts the results if that was the last vote before achieving the supermajority.
1592
+ * See [`Pallet::include_pvf_check_statement`].
3001
1593
  **/
3002
1594
  includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV4PvfCheckStatement | {
3003
1595
  accept?: any;
@@ -3006,11 +1598,7 @@ declare module '@polkadot/api-base/types/submittable' {
3006
1598
  validatorIndex?: any;
3007
1599
  } | string | Uint8Array, signature: PolkadotPrimitivesV4ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature]>;
3008
1600
  /**
3009
- * Remove the validation code from the storage iff the reference count is 0.
3010
- *
3011
- * This is better than removing the storage directly, because it will not remove the code
3012
- * that was suddenly got used by some parachain while this dispatchable was pending
3013
- * dispatching.
1601
+ * See [`Pallet::poke_unused_validation_code`].
3014
1602
  **/
3015
1603
  pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3016
1604
  /**
@@ -3019,6 +1607,9 @@ declare module '@polkadot/api-base/types/submittable' {
3019
1607
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
3020
1608
  };
3021
1609
  parasDisputes: {
1610
+ /**
1611
+ * See [`Pallet::force_unfreeze`].
1612
+ **/
3022
1613
  forceUnfreeze: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3023
1614
  /**
3024
1615
  * Generic tx
@@ -3032,7 +1623,10 @@ declare module '@polkadot/api-base/types/submittable' {
3032
1623
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
3033
1624
  };
3034
1625
  parasSlashing: {
3035
- reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotRuntimeParachainsDisputesSlashingDisputeProof | {
1626
+ /**
1627
+ * See [`Pallet::report_dispute_lost_unsigned`].
1628
+ **/
1629
+ reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesVstagingSlashingDisputeProof | {
3036
1630
  timeSlot?: any;
3037
1631
  kind?: any;
3038
1632
  validatorIndex?: any;
@@ -3041,7 +1635,7 @@ declare module '@polkadot/api-base/types/submittable' {
3041
1635
  session?: any;
3042
1636
  trieNodes?: any;
3043
1637
  validatorCount?: any;
3044
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeParachainsDisputesSlashingDisputeProof, SpSessionMembershipProof]>;
1638
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingSlashingDisputeProof, SpSessionMembershipProof]>;
3045
1639
  /**
3046
1640
  * Generic tx
3047
1641
  **/
@@ -3049,34 +1643,11 @@ declare module '@polkadot/api-base/types/submittable' {
3049
1643
  };
3050
1644
  phragmenElection: {
3051
1645
  /**
3052
- * Clean all voters who are defunct (i.e. they do not serve any purpose at all). The
3053
- * deposit of the removed voters are returned.
3054
- *
3055
- * This is an root function to be used only for cleaning the state.
3056
- *
3057
- * The dispatch origin of this call must be root.
3058
- *
3059
- * ## Complexity
3060
- * - Check is_defunct_voter() details.
1646
+ * See [`Pallet::clean_defunct_voters`].
3061
1647
  **/
3062
1648
  cleanDefunctVoters: AugmentedSubmittable<(numVoters: u32 | AnyNumber | Uint8Array, numDefunct: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
3063
1649
  /**
3064
- * Remove a particular member from the set. This is effective immediately and the bond of
3065
- * the outgoing member is slashed.
3066
- *
3067
- * If a runner-up is available, then the best runner-up will be removed and replaces the
3068
- * outgoing member. Otherwise, if `rerun_election` is `true`, a new phragmen election is
3069
- * started, else, nothing happens.
3070
- *
3071
- * If `slash_bond` is set to true, the bond of the member being removed is slashed. Else,
3072
- * it is returned.
3073
- *
3074
- * The dispatch origin of this call must be root.
3075
- *
3076
- * Note that this does not affect the designated block number of the next election.
3077
- *
3078
- * ## Complexity
3079
- * - Check details of remove_and_replace_member() and do_phragmen().
1650
+ * See [`Pallet::remove_member`].
3080
1651
  **/
3081
1652
  removeMember: AugmentedSubmittable<(who: MultiAddress | {
3082
1653
  Id: any;
@@ -3090,34 +1661,11 @@ declare module '@polkadot/api-base/types/submittable' {
3090
1661
  Address20: any;
3091
1662
  } | string | Uint8Array, slashBond: bool | boolean | Uint8Array, rerunElection: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool, bool]>;
3092
1663
  /**
3093
- * Remove `origin` as a voter.
3094
- *
3095
- * This removes the lock and returns the deposit.
3096
- *
3097
- * The dispatch origin of this call must be signed and be a voter.
1664
+ * See [`Pallet::remove_voter`].
3098
1665
  **/
3099
1666
  removeVoter: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3100
1667
  /**
3101
- * Renounce one's intention to be a candidate for the next election round. 3 potential
3102
- * outcomes exist:
3103
- *
3104
- * - `origin` is a candidate and not elected in any set. In this case, the deposit is
3105
- * unreserved, returned and origin is removed as a candidate.
3106
- * - `origin` is a current runner-up. In this case, the deposit is unreserved, returned and
3107
- * origin is removed as a runner-up.
3108
- * - `origin` is a current member. In this case, the deposit is unreserved and origin is
3109
- * removed as a member, consequently not being a candidate for the next round anymore.
3110
- * Similar to [`remove_member`](Self::remove_member), if replacement runners exists, they
3111
- * are immediately used. If the prime is renouncing, then no prime will exist until the
3112
- * next round.
3113
- *
3114
- * The dispatch origin of this call must be signed, and have one of the above roles.
3115
- * The type of renouncing must be provided as witness data.
3116
- *
3117
- * ## Complexity
3118
- * - Renouncing::Candidate(count): O(count + log(count))
3119
- * - Renouncing::Member: O(1)
3120
- * - Renouncing::RunnerUp: O(1)
1668
+ * See [`Pallet::renounce_candidacy`].
3121
1669
  **/
3122
1670
  renounceCandidacy: AugmentedSubmittable<(renouncing: PalletElectionsPhragmenRenouncing | {
3123
1671
  Member: any;
@@ -3127,43 +1675,11 @@ declare module '@polkadot/api-base/types/submittable' {
3127
1675
  Candidate: any;
3128
1676
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletElectionsPhragmenRenouncing]>;
3129
1677
  /**
3130
- * Submit oneself for candidacy. A fixed amount of deposit is recorded.
3131
- *
3132
- * All candidates are wiped at the end of the term. They either become a member/runner-up,
3133
- * or leave the system while their deposit is slashed.
3134
- *
3135
- * The dispatch origin of this call must be signed.
3136
- *
3137
- * ### Warning
3138
- *
3139
- * Even if a candidate ends up being a member, they must call [`Call::renounce_candidacy`]
3140
- * to get their deposit back. Losing the spot in an election will always lead to a slash.
3141
- *
3142
- * The number of current candidates must be provided as witness data.
3143
- * ## Complexity
3144
- * O(C + log(C)) where C is candidate_count.
1678
+ * See [`Pallet::submit_candidacy`].
3145
1679
  **/
3146
1680
  submitCandidacy: AugmentedSubmittable<(candidateCount: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3147
1681
  /**
3148
- * Vote for a set of candidates for the upcoming round of election. This can be called to
3149
- * set the initial votes, or update already existing votes.
3150
- *
3151
- * Upon initial voting, `value` units of `who`'s balance is locked and a deposit amount is
3152
- * reserved. The deposit is based on the number of votes and can be updated over time.
3153
- *
3154
- * The `votes` should:
3155
- * - not be empty.
3156
- * - be less than the number of possible candidates. Note that all current members and
3157
- * runners-up are also automatically candidates for the next round.
3158
- *
3159
- * If `value` is more than `who`'s free balance, then the maximum of the two is used.
3160
- *
3161
- * The dispatch origin of this call must be signed.
3162
- *
3163
- * ### Warning
3164
- *
3165
- * It is the responsibility of the caller to **NOT** place all of their balance into the
3166
- * lock and keep some for further operations.
1682
+ * See [`Pallet::vote`].
3167
1683
  **/
3168
1684
  vote: AugmentedSubmittable<(votes: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Compact<u128>]>;
3169
1685
  /**
@@ -3173,32 +1689,19 @@ declare module '@polkadot/api-base/types/submittable' {
3173
1689
  };
3174
1690
  preimage: {
3175
1691
  /**
3176
- * Register a preimage on-chain.
3177
- *
3178
- * If the preimage was previously requested, no fees or deposits are taken for providing
3179
- * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage.
1692
+ * See [`Pallet::note_preimage`].
3180
1693
  **/
3181
1694
  notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3182
1695
  /**
3183
- * Request a preimage be uploaded to the chain without paying any fees or deposits.
3184
- *
3185
- * If the preimage requests has already been provided on-chain, we unreserve any deposit
3186
- * a user may have paid, and take the control of the preimage out of their hands.
1696
+ * See [`Pallet::request_preimage`].
3187
1697
  **/
3188
1698
  requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3189
1699
  /**
3190
- * Clear an unrequested preimage from the runtime storage.
3191
- *
3192
- * If `len` is provided, then it will be a much cheaper operation.
3193
- *
3194
- * - `hash`: The hash of the preimage to be removed from the store.
3195
- * - `len`: The length of the preimage of `hash`.
1700
+ * See [`Pallet::unnote_preimage`].
3196
1701
  **/
3197
1702
  unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3198
1703
  /**
3199
- * Clear a previously made request for a preimage.
3200
- *
3201
- * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`.
1704
+ * See [`Pallet::unrequest_preimage`].
3202
1705
  **/
3203
1706
  unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3204
1707
  /**
@@ -3208,15 +1711,7 @@ declare module '@polkadot/api-base/types/submittable' {
3208
1711
  };
3209
1712
  proxy: {
3210
1713
  /**
3211
- * Register a proxy account for the sender that is able to make calls on its behalf.
3212
- *
3213
- * The dispatch origin for this call must be _Signed_.
3214
- *
3215
- * Parameters:
3216
- * - `proxy`: The account that the `caller` would like to make a proxy.
3217
- * - `proxy_type`: The permissions allowed for this proxy account.
3218
- * - `delay`: The announcement period required of the initial proxy. Will generally be
3219
- * zero.
1714
+ * See [`Pallet::add_proxy`].
3220
1715
  **/
3221
1716
  addProxy: AugmentedSubmittable<(delegate: MultiAddress | {
3222
1717
  Id: any;
@@ -3230,21 +1725,7 @@ declare module '@polkadot/api-base/types/submittable' {
3230
1725
  Address20: any;
3231
1726
  } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
3232
1727
  /**
3233
- * Publish the hash of a proxy-call that will be made in the future.
3234
- *
3235
- * This must be called some number of blocks before the corresponding `proxy` is attempted
3236
- * if the delay associated with the proxy relationship is greater than zero.
3237
- *
3238
- * No more than `MaxPending` announcements may be made at any one time.
3239
- *
3240
- * This will take a deposit of `AnnouncementDepositFactor` as well as
3241
- * `AnnouncementDepositBase` if there are no other pending announcements.
3242
- *
3243
- * The dispatch origin for this call must be _Signed_ and a proxy of `real`.
3244
- *
3245
- * Parameters:
3246
- * - `real`: The account that the proxy will make a call on behalf of.
3247
- * - `call_hash`: The hash of the call to be made by the `real` account.
1728
+ * See [`Pallet::announce`].
3248
1729
  **/
3249
1730
  announce: AugmentedSubmittable<(real: MultiAddress | {
3250
1731
  Id: any;
@@ -3258,43 +1739,11 @@ declare module '@polkadot/api-base/types/submittable' {
3258
1739
  Address20: any;
3259
1740
  } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
3260
1741
  /**
3261
- * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
3262
- * initialize it with a proxy of `proxy_type` for `origin` sender.
3263
- *
3264
- * Requires a `Signed` origin.
3265
- *
3266
- * - `proxy_type`: The type of the proxy that the sender will be registered as over the
3267
- * new account. This will almost always be the most permissive `ProxyType` possible to
3268
- * allow for maximum flexibility.
3269
- * - `index`: A disambiguation index, in case this is called multiple times in the same
3270
- * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just
3271
- * want to use `0`.
3272
- * - `delay`: The announcement period required of the initial proxy. Will generally be
3273
- * zero.
3274
- *
3275
- * Fails with `Duplicate` if this has already been called in this transaction, from the
3276
- * same sender, with the same parameters.
3277
- *
3278
- * Fails if there are insufficient funds to pay for deposit.
1742
+ * See [`Pallet::create_pure`].
3279
1743
  **/
3280
1744
  createPure: AugmentedSubmittable<(proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeProxyType, u32, u16]>;
3281
1745
  /**
3282
- * Removes a previously spawned pure proxy.
3283
- *
3284
- * WARNING: **All access to this account will be lost.** Any funds held in it will be
3285
- * inaccessible.
3286
- *
3287
- * Requires a `Signed` origin, and the sender account must have been created by a call to
3288
- * `pure` with corresponding parameters.
3289
- *
3290
- * - `spawner`: The account that originally called `pure` to create this account.
3291
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
3292
- * - `proxy_type`: The proxy type originally passed to `pure`.
3293
- * - `height`: The height of the chain when the call to `pure` was processed.
3294
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
3295
- *
3296
- * Fails with `NoPermission` in case the caller is not a previously created pure
3297
- * account whose `pure` call has corresponding parameters.
1746
+ * See [`Pallet::kill_pure`].
3298
1747
  **/
3299
1748
  killPure: AugmentedSubmittable<(spawner: MultiAddress | {
3300
1749
  Id: any;
@@ -3308,15 +1757,7 @@ declare module '@polkadot/api-base/types/submittable' {
3308
1757
  Address20: any;
3309
1758
  } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
3310
1759
  /**
3311
- * Dispatch the given `call` from an account that the sender is authorised for through
3312
- * `add_proxy`.
3313
- *
3314
- * The dispatch origin for this call must be _Signed_.
3315
- *
3316
- * Parameters:
3317
- * - `real`: The account that the proxy will make a call on behalf of.
3318
- * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
3319
- * - `call`: The call to be made by the `real` account.
1760
+ * See [`Pallet::proxy`].
3320
1761
  **/
3321
1762
  proxy: AugmentedSubmittable<(real: MultiAddress | {
3322
1763
  Id: any;
@@ -3330,17 +1771,7 @@ declare module '@polkadot/api-base/types/submittable' {
3330
1771
  Address20: any;
3331
1772
  } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
3332
1773
  /**
3333
- * Dispatch the given `call` from an account that the sender is authorized for through
3334
- * `add_proxy`.
3335
- *
3336
- * Removes any corresponding announcement(s).
3337
- *
3338
- * The dispatch origin for this call must be _Signed_.
3339
- *
3340
- * Parameters:
3341
- * - `real`: The account that the proxy will make a call on behalf of.
3342
- * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
3343
- * - `call`: The call to be made by the `real` account.
1774
+ * See [`Pallet::proxy_announced`].
3344
1775
  **/
3345
1776
  proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | {
3346
1777
  Id: any;
@@ -3364,16 +1795,7 @@ declare module '@polkadot/api-base/types/submittable' {
3364
1795
  Address20: any;
3365
1796
  } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
3366
1797
  /**
3367
- * Remove the given announcement of a delegate.
3368
- *
3369
- * May be called by a target (proxied) account to remove a call that one of their delegates
3370
- * (`delegate`) has announced they want to execute. The deposit is returned.
3371
- *
3372
- * The dispatch origin for this call must be _Signed_.
3373
- *
3374
- * Parameters:
3375
- * - `delegate`: The account that previously announced the call.
3376
- * - `call_hash`: The hash of the call to be made.
1798
+ * See [`Pallet::reject_announcement`].
3377
1799
  **/
3378
1800
  rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | {
3379
1801
  Id: any;
@@ -3387,16 +1809,7 @@ declare module '@polkadot/api-base/types/submittable' {
3387
1809
  Address20: any;
3388
1810
  } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
3389
1811
  /**
3390
- * Remove a given announcement.
3391
- *
3392
- * May be called by a proxy account to remove a call they previously announced and return
3393
- * the deposit.
3394
- *
3395
- * The dispatch origin for this call must be _Signed_.
3396
- *
3397
- * Parameters:
3398
- * - `real`: The account that the proxy will make a call on behalf of.
3399
- * - `call_hash`: The hash of the call to be made by the `real` account.
1812
+ * See [`Pallet::remove_announcement`].
3400
1813
  **/
3401
1814
  removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | {
3402
1815
  Id: any;
@@ -3410,22 +1823,11 @@ declare module '@polkadot/api-base/types/submittable' {
3410
1823
  Address20: any;
3411
1824
  } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
3412
1825
  /**
3413
- * Unregister all proxy accounts for the sender.
3414
- *
3415
- * The dispatch origin for this call must be _Signed_.
3416
- *
3417
- * WARNING: This may be called on accounts created by `pure`, however if done, then
3418
- * the unreserved fees will be inaccessible. **All access to this account will be lost.**
1826
+ * See [`Pallet::remove_proxies`].
3419
1827
  **/
3420
1828
  removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3421
1829
  /**
3422
- * Unregister a proxy account for the sender.
3423
- *
3424
- * The dispatch origin for this call must be _Signed_.
3425
- *
3426
- * Parameters:
3427
- * - `proxy`: The account that the `caller` would like to remove as a proxy.
3428
- * - `proxy_type`: The permissions currently enabled for the removed proxy account.
1830
+ * See [`Pallet::remove_proxy`].
3429
1831
  **/
3430
1832
  removeProxy: AugmentedSubmittable<(delegate: MultiAddress | {
3431
1833
  Id: any;
@@ -3445,93 +1847,39 @@ declare module '@polkadot/api-base/types/submittable' {
3445
1847
  };
3446
1848
  referenda: {
3447
1849
  /**
3448
- * Cancel an ongoing referendum.
3449
- *
3450
- * - `origin`: must be the `CancelOrigin`.
3451
- * - `index`: The index of the referendum to be cancelled.
3452
- *
3453
- * Emits `Cancelled`.
1850
+ * See [`Pallet::cancel`].
3454
1851
  **/
3455
1852
  cancel: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3456
1853
  /**
3457
- * Cancel an ongoing referendum and slash the deposits.
3458
- *
3459
- * - `origin`: must be the `KillOrigin`.
3460
- * - `index`: The index of the referendum to be cancelled.
3461
- *
3462
- * Emits `Killed` and `DepositSlashed`.
1854
+ * See [`Pallet::kill`].
3463
1855
  **/
3464
1856
  kill: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3465
1857
  /**
3466
- * Advance a referendum onto its next logical state. Only used internally.
3467
- *
3468
- * - `origin`: must be `Root`.
3469
- * - `index`: the referendum to be advanced.
1858
+ * See [`Pallet::nudge_referendum`].
3470
1859
  **/
3471
1860
  nudgeReferendum: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3472
1861
  /**
3473
- * Advance a track onto its next logical state. Only used internally.
3474
- *
3475
- * - `origin`: must be `Root`.
3476
- * - `track`: the track to be advanced.
3477
- *
3478
- * Action item for when there is now one fewer referendum in the deciding phase and the
3479
- * `DecidingCount` is not yet updated. This means that we should either:
3480
- * - begin deciding another referendum (and leave `DecidingCount` alone); or
3481
- * - decrement `DecidingCount`.
1862
+ * See [`Pallet::one_fewer_deciding`].
3482
1863
  **/
3483
1864
  oneFewerDeciding: AugmentedSubmittable<(track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
3484
1865
  /**
3485
- * Post the Decision Deposit for a referendum.
3486
- *
3487
- * - `origin`: must be `Signed` and the account must have funds available for the
3488
- * referendum's track's Decision Deposit.
3489
- * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be
3490
- * posted.
3491
- *
3492
- * Emits `DecisionDepositPlaced`.
1866
+ * See [`Pallet::place_decision_deposit`].
3493
1867
  **/
3494
1868
  placeDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3495
1869
  /**
3496
- * Refund the Decision Deposit for a closed referendum back to the depositor.
3497
- *
3498
- * - `origin`: must be `Signed` or `Root`.
3499
- * - `index`: The index of a closed referendum whose Decision Deposit has not yet been
3500
- * refunded.
3501
- *
3502
- * Emits `DecisionDepositRefunded`.
1870
+ * See [`Pallet::refund_decision_deposit`].
3503
1871
  **/
3504
1872
  refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3505
1873
  /**
3506
- * Refund the Submission Deposit for a closed referendum back to the depositor.
3507
- *
3508
- * - `origin`: must be `Signed` or `Root`.
3509
- * - `index`: The index of a closed referendum whose Submission Deposit has not yet been
3510
- * refunded.
3511
- *
3512
- * Emits `SubmissionDepositRefunded`.
1874
+ * See [`Pallet::refund_submission_deposit`].
3513
1875
  **/
3514
1876
  refundSubmissionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3515
1877
  /**
3516
- * Set or clear metadata of a referendum.
3517
- *
3518
- * Parameters:
3519
- * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a
3520
- * metadata of a finished referendum.
3521
- * - `index`: The index of a referendum to set or clear metadata for.
3522
- * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata.
1878
+ * See [`Pallet::set_metadata`].
3523
1879
  **/
3524
1880
  setMetadata: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, maybeHash: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [u32, Option<H256>]>;
3525
1881
  /**
3526
- * Propose a referendum on a privileged action.
3527
- *
3528
- * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds
3529
- * available.
3530
- * - `proposal_origin`: The origin from which the proposal should be executed.
3531
- * - `proposal`: The proposal.
3532
- * - `enactment_moment`: The moment that the proposal should be enacted.
3533
- *
3534
- * Emits `Submitted`.
1882
+ * See [`Pallet::submit`].
3535
1883
  **/
3536
1884
  submit: AugmentedSubmittable<(proposalOrigin: PolkadotRuntimeOriginCaller | {
3537
1885
  system: any;
@@ -3565,92 +1913,39 @@ declare module '@polkadot/api-base/types/submittable' {
3565
1913
  };
3566
1914
  registrar: {
3567
1915
  /**
3568
- * Add a manager lock from a para. This will prevent the manager of a
3569
- * para to deregister or swap a para.
3570
- *
3571
- * Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
1916
+ * See [`Pallet::add_lock`].
3572
1917
  **/
3573
1918
  addLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3574
1919
  /**
3575
- * Deregister a Para Id, freeing all data and returning any deposit.
3576
- *
3577
- * The caller must be Root, the `para` owner, or the `para` itself. The para must be a parathread.
1920
+ * See [`Pallet::deregister`].
3578
1921
  **/
3579
1922
  deregister: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3580
1923
  /**
3581
- * Force the registration of a Para Id on the relay chain.
3582
- *
3583
- * This function must be called by a Root origin.
3584
- *
3585
- * The deposit taken can be specified for this registration. Any `ParaId`
3586
- * can be registered, including sub-1000 IDs which are System Parachains.
1924
+ * See [`Pallet::force_register`].
3587
1925
  **/
3588
1926
  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]>;
3589
1927
  /**
3590
- * Register head data and validation code for a reserved Para Id.
3591
- *
3592
- * ## Arguments
3593
- * - `origin`: Must be called by a `Signed` origin.
3594
- * - `id`: The para ID. Must be owned/managed by the `origin` signing account.
3595
- * - `genesis_head`: The genesis head data of the parachain/thread.
3596
- * - `validation_code`: The initial validation code of the parachain/thread.
3597
- *
3598
- * ## Deposits/Fees
3599
- * The origin signed account must reserve a corresponding deposit for the registration. Anything already
3600
- * reserved previously for this para ID is accounted for.
3601
- *
3602
- * ## Events
3603
- * The `Registered` event is emitted in case of success.
1928
+ * See [`Pallet::register`].
3604
1929
  **/
3605
1930
  register: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, Bytes]>;
3606
1931
  /**
3607
- * Remove a manager lock from a para. This will allow the manager of a
3608
- * previously locked para to deregister or swap a para without using governance.
3609
- *
3610
- * Can only be called by the Root origin or the parachain.
1932
+ * See [`Pallet::remove_lock`].
3611
1933
  **/
3612
1934
  removeLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3613
1935
  /**
3614
- * Reserve a Para Id on the relay chain.
3615
- *
3616
- * This function will reserve a new Para Id to be owned/managed by the origin account.
3617
- * The origin account is able to register head data and validation code using `register` to create
3618
- * a parathread. Using the Slots pallet, a parathread can then be upgraded to get a parachain slot.
3619
- *
3620
- * ## Arguments
3621
- * - `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new para ID.
3622
- *
3623
- * ## Deposits/Fees
3624
- * The origin must reserve a deposit of `ParaDeposit` for the registration.
3625
- *
3626
- * ## Events
3627
- * The `Reserved` event is emitted in case of success, which provides the ID reserved for use.
1936
+ * See [`Pallet::reserve`].
3628
1937
  **/
3629
1938
  reserve: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3630
1939
  /**
3631
- * Schedule a parachain upgrade.
3632
- *
3633
- * Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
1940
+ * See [`Pallet::schedule_code_upgrade`].
3634
1941
  **/
3635
1942
  scheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
3636
1943
  /**
3637
- * Set the parachain's current head.
3638
- *
3639
- * Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
1944
+ * See [`Pallet::set_current_head`].
3640
1945
  **/
3641
1946
  setCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
3642
1947
  /**
3643
- * Swap a parachain with another parachain or parathread.
3644
- *
3645
- * The origin must be Root, the `para` owner, or the `para` itself.
3646
- *
3647
- * The swap will happen only if there is already an opposite swap pending. If there is not,
3648
- * the swap will be stored in the pending swaps map, ready for a later confirmatory swap.
3649
- *
3650
- * The `ParaId`s remain mapped to the same head data and code so external code can rely on
3651
- * `ParaId` to be a long-term identifier of a notional "parachain". However, their
3652
- * scheduling info (i.e. whether they're a parathread or parachain), auction information
3653
- * and the auction deposit are switched.
1948
+ * See [`Pallet::swap`].
3654
1949
  **/
3655
1950
  swap: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, other: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
3656
1951
  /**
@@ -3660,27 +1955,27 @@ declare module '@polkadot/api-base/types/submittable' {
3660
1955
  };
3661
1956
  scheduler: {
3662
1957
  /**
3663
- * Cancel an anonymously scheduled task.
1958
+ * See [`Pallet::cancel`].
3664
1959
  **/
3665
1960
  cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
3666
1961
  /**
3667
- * Cancel a named scheduled task.
1962
+ * See [`Pallet::cancel_named`].
3668
1963
  **/
3669
1964
  cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
3670
1965
  /**
3671
- * Anonymously schedule a task.
1966
+ * See [`Pallet::schedule`].
3672
1967
  **/
3673
1968
  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]>;
3674
1969
  /**
3675
- * Anonymously schedule a task after a delay.
1970
+ * See [`Pallet::schedule_after`].
3676
1971
  **/
3677
1972
  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]>;
3678
1973
  /**
3679
- * Schedule a named task.
1974
+ * See [`Pallet::schedule_named`].
3680
1975
  **/
3681
1976
  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]>;
3682
1977
  /**
3683
- * Schedule a named task after a delay.
1978
+ * See [`Pallet::schedule_named_after`].
3684
1979
  **/
3685
1980
  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]>;
3686
1981
  /**
@@ -3690,30 +1985,11 @@ declare module '@polkadot/api-base/types/submittable' {
3690
1985
  };
3691
1986
  session: {
3692
1987
  /**
3693
- * Removes any session key(s) of the function caller.
3694
- *
3695
- * This doesn't take effect until the next session.
3696
- *
3697
- * The dispatch origin of this function must be Signed and the account must be either be
3698
- * convertible to a validator ID using the chain's typical addressing system (this usually
3699
- * means being a controller account) or directly convertible into a validator ID (which
3700
- * usually means being a stash account).
3701
- *
3702
- * ## Complexity
3703
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
3704
- * `T::Keys::key_ids()` which is fixed.
1988
+ * See [`Pallet::purge_keys`].
3705
1989
  **/
3706
1990
  purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3707
1991
  /**
3708
- * Sets the session key(s) of the function caller to `keys`.
3709
- * Allows an account to set its session key prior to becoming a validator.
3710
- * This doesn't take effect until the next session.
3711
- *
3712
- * The dispatch origin of this function must be signed.
3713
- *
3714
- * ## Complexity
3715
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
3716
- * fixed.
1992
+ * See [`Pallet::set_keys`].
3717
1993
  **/
3718
1994
  setKeys: AugmentedSubmittable<(keys: PolkadotRuntimeSessionKeys | {
3719
1995
  grandpa?: any;
@@ -3730,26 +2006,15 @@ declare module '@polkadot/api-base/types/submittable' {
3730
2006
  };
3731
2007
  slots: {
3732
2008
  /**
3733
- * Clear all leases for a Para Id, refunding any deposits back to the original owners.
3734
- *
3735
- * The dispatch origin for this call must match `T::ForceOrigin`.
2009
+ * See [`Pallet::clear_all_leases`].
3736
2010
  **/
3737
2011
  clearAllLeases: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3738
2012
  /**
3739
- * Just a connect into the `lease_out` call, in case Root wants to force some lease to happen
3740
- * independently of any other on-chain mechanism to use it.
3741
- *
3742
- * The dispatch origin for this call must match `T::ForceOrigin`.
2013
+ * See [`Pallet::force_lease`].
3743
2014
  **/
3744
2015
  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]>;
3745
2016
  /**
3746
- * Try to onboard a parachain that has a lease for the current lease period.
3747
- *
3748
- * This function can be useful if there was some state issue with a para that should
3749
- * have onboarded, but was unable to. As long as they have a lease period, we can
3750
- * let them onboard from here.
3751
- *
3752
- * Origin must be signed, but can be called by anyone.
2017
+ * See [`Pallet::trigger_onboard`].
3753
2018
  **/
3754
2019
  triggerOnboard: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3755
2020
  /**
@@ -3759,33 +2024,9 @@ declare module '@polkadot/api-base/types/submittable' {
3759
2024
  };
3760
2025
  staking: {
3761
2026
  /**
3762
- * Take the origin account as a stash and lock up `value` of its balance. `controller` will
3763
- * be the account that controls it.
3764
- *
3765
- * `value` must be more than the `minimum_balance` specified by `T::Currency`.
3766
- *
3767
- * The dispatch origin for this call must be _Signed_ by the stash account.
3768
- *
3769
- * Emits `Bonded`.
3770
- * ## Complexity
3771
- * - Independent of the arguments. Moderate complexity.
3772
- * - O(1).
3773
- * - Three extra DB entries.
3774
- *
3775
- * NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
3776
- * unless the `origin` falls below _existential deposit_ and gets removed as dust.
3777
- **/
3778
- bond: AugmentedSubmittable<(controller: MultiAddress | {
3779
- Id: any;
3780
- } | {
3781
- Index: any;
3782
- } | {
3783
- Raw: any;
3784
- } | {
3785
- Address32: any;
3786
- } | {
3787
- Address20: any;
3788
- } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | {
2027
+ * See [`Pallet::bond`].
2028
+ **/
2029
+ bond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | {
3789
2030
  Staked: any;
3790
2031
  } | {
3791
2032
  Stash: any;
@@ -3795,153 +2036,49 @@ declare module '@polkadot/api-base/types/submittable' {
3795
2036
  Account: any;
3796
2037
  } | {
3797
2038
  None: any;
3798
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, PalletStakingRewardDestination]>;
3799
- /**
3800
- * Add some extra amount that have appeared in the stash `free_balance` into the balance up
3801
- * for staking.
3802
- *
3803
- * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
3804
- *
3805
- * Use this if there are additional funds in your stash account that you wish to bond.
3806
- * Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose
3807
- * any limitation on the amount that can be added.
3808
- *
3809
- * Emits `Bonded`.
3810
- *
3811
- * ## Complexity
3812
- * - Independent of the arguments. Insignificant complexity.
3813
- * - O(1).
2039
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PalletStakingRewardDestination]>;
2040
+ /**
2041
+ * See [`Pallet::bond_extra`].
3814
2042
  **/
3815
2043
  bondExtra: AugmentedSubmittable<(maxAdditional: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
3816
2044
  /**
3817
- * Cancel enactment of a deferred slash.
3818
- *
3819
- * Can be called by the `T::AdminOrigin`.
3820
- *
3821
- * Parameters: era and indices of the slashes for that era to kill.
2045
+ * See [`Pallet::cancel_deferred_slash`].
3822
2046
  **/
3823
2047
  cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
3824
2048
  /**
3825
- * Declare no desire to either validate or nominate.
3826
- *
3827
- * Effects will be felt at the beginning of the next era.
3828
- *
3829
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3830
- *
3831
- * ## Complexity
3832
- * - Independent of the arguments. Insignificant complexity.
3833
- * - Contains one read.
3834
- * - Writes are limited to the `origin` account key.
2049
+ * See [`Pallet::chill`].
3835
2050
  **/
3836
2051
  chill: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3837
2052
  /**
3838
- * Declare a `controller` to stop participating as either a validator or nominator.
3839
- *
3840
- * Effects will be felt at the beginning of the next era.
3841
- *
3842
- * The dispatch origin for this call must be _Signed_, but can be called by anyone.
3843
- *
3844
- * If the caller is the same as the controller being targeted, then no further checks are
3845
- * enforced, and this function behaves just like `chill`.
3846
- *
3847
- * If the caller is different than the controller being targeted, the following conditions
3848
- * must be met:
3849
- *
3850
- * * `controller` must belong to a nominator who has become non-decodable,
3851
- *
3852
- * Or:
3853
- *
3854
- * * A `ChillThreshold` must be set and checked which defines how close to the max
3855
- * nominators or validators we must reach before users can start chilling one-another.
3856
- * * A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine
3857
- * how close we are to the threshold.
3858
- * * A `MinNominatorBond` and `MinValidatorBond` must be set and checked, which determines
3859
- * if this is a person that should be chilled because they have not met the threshold
3860
- * bond required.
3861
- *
3862
- * This can be helpful if bond requirements are updated, and we need to remove old users
3863
- * who do not satisfy these requirements.
2053
+ * See [`Pallet::chill_other`].
3864
2054
  **/
3865
2055
  chillOther: AugmentedSubmittable<(controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
3866
2056
  /**
3867
- * Force a validator to have at least the minimum commission. This will not affect a
3868
- * validator who already has a commission greater than or equal to the minimum. Any account
3869
- * can call this.
2057
+ * See [`Pallet::force_apply_min_commission`].
3870
2058
  **/
3871
2059
  forceApplyMinCommission: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
3872
2060
  /**
3873
- * Force there to be a new era at the end of the next session. After this, it will be
3874
- * reset to normal (non-forced) behaviour.
3875
- *
3876
- * The dispatch origin must be Root.
3877
- *
3878
- * # Warning
3879
- *
3880
- * The election process starts multiple blocks before the end of the era.
3881
- * If this is called just before a new era is triggered, the election process may not
3882
- * have enough blocks to get a result.
3883
- *
3884
- * ## Complexity
3885
- * - No arguments.
3886
- * - Weight: O(1)
2061
+ * See [`Pallet::force_new_era`].
3887
2062
  **/
3888
2063
  forceNewEra: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3889
2064
  /**
3890
- * Force there to be a new era at the end of sessions indefinitely.
3891
- *
3892
- * The dispatch origin must be Root.
3893
- *
3894
- * # Warning
3895
- *
3896
- * The election process starts multiple blocks before the end of the era.
3897
- * If this is called just before a new era is triggered, the election process may not
3898
- * have enough blocks to get a result.
2065
+ * See [`Pallet::force_new_era_always`].
3899
2066
  **/
3900
2067
  forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3901
2068
  /**
3902
- * Force there to be no new eras indefinitely.
3903
- *
3904
- * The dispatch origin must be Root.
3905
- *
3906
- * # Warning
3907
- *
3908
- * The election process starts multiple blocks before the end of the era.
3909
- * Thus the election process may be ongoing when this is called. In this case the
3910
- * election will continue until the next era is triggered.
3911
- *
3912
- * ## Complexity
3913
- * - No arguments.
3914
- * - Weight: O(1)
2069
+ * See [`Pallet::force_no_eras`].
3915
2070
  **/
3916
2071
  forceNoEras: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3917
2072
  /**
3918
- * Force a current staker to become completely unstaked, immediately.
3919
- *
3920
- * The dispatch origin must be Root.
2073
+ * See [`Pallet::force_unstake`].
3921
2074
  **/
3922
2075
  forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
3923
2076
  /**
3924
- * Increments the ideal number of validators upto maximum of
3925
- * `ElectionProviderBase::MaxWinners`.
3926
- *
3927
- * The dispatch origin must be Root.
3928
- *
3929
- * ## Complexity
3930
- * Same as [`Self::set_validator_count`].
2077
+ * See [`Pallet::increase_validator_count`].
3931
2078
  **/
3932
2079
  increaseValidatorCount: AugmentedSubmittable<(additional: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3933
2080
  /**
3934
- * Remove the given nominations from the calling validator.
3935
- *
3936
- * Effects will be felt at the beginning of the next era.
3937
- *
3938
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3939
- *
3940
- * - `who`: A list of nominator stash accounts who are nominating this validator which
3941
- * should no longer be nominating this validator.
3942
- *
3943
- * Note: Making this call only makes sense if you first set the validator preferences to
3944
- * block any further nominations.
2081
+ * See [`Pallet::kick`].
3945
2082
  **/
3946
2083
  kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | {
3947
2084
  Id: any;
@@ -3955,16 +2092,7 @@ declare module '@polkadot/api-base/types/submittable' {
3955
2092
  Address20: any;
3956
2093
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
3957
2094
  /**
3958
- * Declare the desire to nominate `targets` for the origin controller.
3959
- *
3960
- * Effects will be felt at the beginning of the next era.
3961
- *
3962
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3963
- *
3964
- * ## Complexity
3965
- * - The transaction's complexity is proportional to the size of `targets` (N)
3966
- * which is capped at CompactAssignments::LIMIT (T::MaxNominations).
3967
- * - Both the reads and writes follow a similar pattern.
2095
+ * See [`Pallet::nominate`].
3968
2096
  **/
3969
2097
  nominate: AugmentedSubmittable<(targets: Vec<MultiAddress> | (MultiAddress | {
3970
2098
  Id: any;
@@ -3978,104 +2106,35 @@ declare module '@polkadot/api-base/types/submittable' {
3978
2106
  Address20: any;
3979
2107
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
3980
2108
  /**
3981
- * Pay out all the stakers behind a single validator for a single era.
3982
- *
3983
- * - `validator_stash` is the stash account of the validator. Their nominators, up to
3984
- * `T::MaxNominatorRewardedPerValidator`, will also receive their rewards.
3985
- * - `era` may be any era between `[current_era - history_depth; current_era]`.
3986
- *
3987
- * The origin of this call must be _Signed_. Any account can call this function, even if
3988
- * it is not one of the stakers.
3989
- *
3990
- * ## Complexity
3991
- * - At most O(MaxNominatorRewardedPerValidator).
2109
+ * See [`Pallet::payout_stakers`].
3992
2110
  **/
3993
2111
  payoutStakers: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
3994
2112
  /**
3995
- * Remove all data structures concerning a staker/stash once it is at a state where it can
3996
- * be considered `dust` in the staking system. The requirements are:
3997
- *
3998
- * 1. the `total_balance` of the stash is below existential deposit.
3999
- * 2. or, the `ledger.total` of the stash is below existential deposit.
4000
- *
4001
- * The former can happen in cases like a slash; the latter when a fully unbonded account
4002
- * is still receiving staking rewards in `RewardDestination::Staked`.
4003
- *
4004
- * It can be called by anyone, as long as `stash` meets the above requirements.
4005
- *
4006
- * Refunds the transaction fees upon successful execution.
2113
+ * See [`Pallet::reap_stash`].
4007
2114
  **/
4008
2115
  reapStash: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
4009
2116
  /**
4010
- * Rebond a portion of the stash scheduled to be unlocked.
4011
- *
4012
- * The dispatch origin must be signed by the controller.
4013
- *
4014
- * ## Complexity
4015
- * - Time complexity: O(L), where L is unlocking chunks
4016
- * - Bounded by `MaxUnlockingChunks`.
2117
+ * See [`Pallet::rebond`].
4017
2118
  **/
4018
2119
  rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
4019
2120
  /**
4020
- * Scale up the ideal number of validators by a factor upto maximum of
4021
- * `ElectionProviderBase::MaxWinners`.
4022
- *
4023
- * The dispatch origin must be Root.
4024
- *
4025
- * ## Complexity
4026
- * Same as [`Self::set_validator_count`].
2121
+ * See [`Pallet::scale_validator_count`].
4027
2122
  **/
4028
2123
  scaleValidatorCount: AugmentedSubmittable<(factor: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Percent]>;
4029
2124
  /**
4030
- * (Re-)set the controller of a stash.
4031
- *
4032
- * Effects will be felt instantly (as soon as this function is completed successfully).
4033
- *
4034
- * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
4035
- *
4036
- * ## Complexity
4037
- * O(1)
4038
- * - Independent of the arguments. Insignificant complexity.
4039
- * - Contains a limited number of reads.
4040
- * - Writes are limited to the `origin` account key.
4041
- **/
4042
- setController: AugmentedSubmittable<(controller: MultiAddress | {
4043
- Id: any;
4044
- } | {
4045
- Index: any;
4046
- } | {
4047
- Raw: any;
4048
- } | {
4049
- Address32: any;
4050
- } | {
4051
- Address20: any;
4052
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
2125
+ * See [`Pallet::set_controller`].
2126
+ **/
2127
+ setController: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4053
2128
  /**
4054
- * Set the validators who cannot be slashed (if any).
4055
- *
4056
- * The dispatch origin must be Root.
2129
+ * See [`Pallet::set_invulnerables`].
4057
2130
  **/
4058
2131
  setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
4059
2132
  /**
4060
- * Sets the minimum amount of commission that each validators must maintain.
4061
- *
4062
- * This call has lower privilege requirements than `set_staking_config` and can be called
4063
- * by the `T::AdminOrigin`. Root can always call this.
2133
+ * See [`Pallet::set_min_commission`].
4064
2134
  **/
4065
2135
  setMinCommission: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
4066
2136
  /**
4067
- * (Re-)set the payment target for a controller.
4068
- *
4069
- * Effects will be felt instantly (as soon as this function is completed successfully).
4070
- *
4071
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
4072
- *
4073
- * ## Complexity
4074
- * - O(1)
4075
- * - Independent of the arguments. Insignificant complexity.
4076
- * - Contains a limited number of reads.
4077
- * - Writes are limited to the `origin` account key.
4078
- * ---------
2137
+ * See [`Pallet::set_payee`].
4079
2138
  **/
4080
2139
  setPayee: AugmentedSubmittable<(payee: PalletStakingRewardDestination | {
4081
2140
  Staked: any;
@@ -4089,23 +2148,7 @@ declare module '@polkadot/api-base/types/submittable' {
4089
2148
  None: any;
4090
2149
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingRewardDestination]>;
4091
2150
  /**
4092
- * Update the various staking configurations .
4093
- *
4094
- * * `min_nominator_bond`: The minimum active bond needed to be a nominator.
4095
- * * `min_validator_bond`: The minimum active bond needed to be a validator.
4096
- * * `max_nominator_count`: The max number of users who can be a nominator at once. When
4097
- * set to `None`, no limit is enforced.
4098
- * * `max_validator_count`: The max number of users who can be a validator at once. When
4099
- * set to `None`, no limit is enforced.
4100
- * * `chill_threshold`: The ratio of `max_nominator_count` or `max_validator_count` which
4101
- * should be filled in order for the `chill_other` transaction to work.
4102
- * * `min_commission`: The minimum amount of commission that each validators must maintain.
4103
- * This is checked only upon calling `validate`. Existing validators are not affected.
4104
- *
4105
- * RuntimeOrigin must be Root to call this function.
4106
- *
4107
- * NOTE: Existing nominators and validators will not be affected by this update.
4108
- * to kick people under the new limits, `chill_other` should be called.
2151
+ * See [`Pallet::set_staking_configs`].
4109
2152
  **/
4110
2153
  setStakingConfigs: AugmentedSubmittable<(minNominatorBond: PalletStakingPalletConfigOpU128 | {
4111
2154
  Noop: any;
@@ -4145,62 +2188,22 @@ declare module '@polkadot/api-base/types/submittable' {
4145
2188
  Remove: any;
4146
2189
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpPerbill]>;
4147
2190
  /**
4148
- * Sets the ideal number of validators.
4149
- *
4150
- * The dispatch origin must be Root.
4151
- *
4152
- * ## Complexity
4153
- * O(1)
2191
+ * See [`Pallet::set_validator_count`].
4154
2192
  **/
4155
2193
  setValidatorCount: AugmentedSubmittable<(updated: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
4156
2194
  /**
4157
- * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
4158
- * period ends. If this leaves an amount actively bonded less than
4159
- * T::Currency::minimum_balance(), then it is increased to the full amount.
4160
- *
4161
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
4162
- *
4163
- * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
4164
- * the funds out of management ready for transfer.
4165
- *
4166
- * No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)
4167
- * can co-exists at the same time. If there are no unlocking chunks slots available
4168
- * [`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible).
4169
- *
4170
- * If a user encounters the `InsufficientBond` error when calling this extrinsic,
4171
- * they should call `chill` first in order to free up their bonded funds.
4172
- *
4173
- * Emits `Unbonded`.
4174
- *
4175
- * See also [`Call::withdraw_unbonded`].
2195
+ * See [`Pallet::unbond`].
4176
2196
  **/
4177
2197
  unbond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
4178
2198
  /**
4179
- * Declare the desire to validate for the origin controller.
4180
- *
4181
- * Effects will be felt at the beginning of the next era.
4182
- *
4183
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
2199
+ * See [`Pallet::validate`].
4184
2200
  **/
4185
2201
  validate: AugmentedSubmittable<(prefs: PalletStakingValidatorPrefs | {
4186
2202
  commission?: any;
4187
2203
  blocked?: any;
4188
2204
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingValidatorPrefs]>;
4189
2205
  /**
4190
- * Remove any unlocked chunks from the `unlocking` queue from our management.
4191
- *
4192
- * This essentially frees up that balance to be used by the stash account to do
4193
- * whatever it wants.
4194
- *
4195
- * The dispatch origin for this call must be _Signed_ by the controller.
4196
- *
4197
- * Emits `Withdrawn`.
4198
- *
4199
- * See also [`Call::unbond`].
4200
- *
4201
- * ## Complexity
4202
- * O(S) where S is the number of slashing spans to remove
4203
- * NOTE: Weight annotation is the kill scenario, we refund otherwise.
2206
+ * See [`Pallet::withdraw_unbonded`].
4204
2207
  **/
4205
2208
  withdrawUnbonded: AugmentedSubmittable<(numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
4206
2209
  /**
@@ -4210,40 +2213,35 @@ declare module '@polkadot/api-base/types/submittable' {
4210
2213
  };
4211
2214
  system: {
4212
2215
  /**
4213
- * Kill all storage items with a key that starts with the given prefix.
4214
- *
4215
- * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
4216
- * the prefix we are removing to accurately calculate the weight of this function.
2216
+ * See [`Pallet::kill_prefix`].
4217
2217
  **/
4218
2218
  killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
4219
2219
  /**
4220
- * Kill some items from storage.
2220
+ * See [`Pallet::kill_storage`].
4221
2221
  **/
4222
2222
  killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
4223
2223
  /**
4224
- * Make some on-chain remark.
4225
- *
4226
- * - `O(1)`
2224
+ * See [`Pallet::remark`].
4227
2225
  **/
4228
2226
  remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4229
2227
  /**
4230
- * Make some on-chain remark and emit event.
2228
+ * See [`Pallet::remark_with_event`].
4231
2229
  **/
4232
2230
  remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4233
2231
  /**
4234
- * Set the new runtime code.
2232
+ * See [`Pallet::set_code`].
4235
2233
  **/
4236
2234
  setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4237
2235
  /**
4238
- * Set the new runtime code without doing any checks of the given `code`.
2236
+ * See [`Pallet::set_code_without_checks`].
4239
2237
  **/
4240
2238
  setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
4241
2239
  /**
4242
- * Set the number of pages in the WebAssembly environment's heap.
2240
+ * See [`Pallet::set_heap_pages`].
4243
2241
  **/
4244
2242
  setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
4245
2243
  /**
4246
- * Set some items of storage.
2244
+ * See [`Pallet::set_storage`].
4247
2245
  **/
4248
2246
  setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
4249
2247
  /**
@@ -4253,114 +2251,30 @@ declare module '@polkadot/api-base/types/submittable' {
4253
2251
  };
4254
2252
  technicalCommittee: {
4255
2253
  /**
4256
- * Close a vote that is either approved, disapproved or whose voting period has ended.
4257
- *
4258
- * May be called by any signed account in order to finish voting and close the proposal.
4259
- *
4260
- * If called before the end of the voting period it will only close the vote if it is
4261
- * has enough votes to be approved or disapproved.
4262
- *
4263
- * If called after the end of the voting period abstentions are counted as rejections
4264
- * unless there is a prime member set and the prime member cast an approval.
4265
- *
4266
- * If the close operation completes successfully with disapproval, the transaction fee will
4267
- * be waived. Otherwise execution of the approved operation will be charged to the caller.
4268
- *
4269
- * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
4270
- * proposal.
4271
- * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
4272
- * `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
4273
- *
4274
- * ## Complexity
4275
- * - `O(B + M + P1 + P2)` where:
4276
- * - `B` is `proposal` size in bytes (length-fee-bounded)
4277
- * - `M` is members-count (code- and governance-bounded)
4278
- * - `P1` is the complexity of `proposal` preimage.
4279
- * - `P2` is proposal-count (code-bounded)
2254
+ * See [`Pallet::close`].
4280
2255
  **/
4281
2256
  close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | {
4282
2257
  refTime?: any;
4283
2258
  proofSize?: any;
4284
2259
  } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
4285
2260
  /**
4286
- * Disapprove a proposal, close, and remove it from the system, regardless of its current
4287
- * state.
4288
- *
4289
- * Must be called by the Root origin.
4290
- *
4291
- * Parameters:
4292
- * * `proposal_hash`: The hash of the proposal that should be disapproved.
4293
- *
4294
- * ## Complexity
4295
- * O(P) where P is the number of max proposals
2261
+ * See [`Pallet::disapprove_proposal`].
4296
2262
  **/
4297
2263
  disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
4298
2264
  /**
4299
- * Dispatch a proposal from a member using the `Member` origin.
4300
- *
4301
- * Origin must be a member of the collective.
4302
- *
4303
- * ## Complexity:
4304
- * - `O(B + M + P)` where:
4305
- * - `B` is `proposal` size in bytes (length-fee-bounded)
4306
- * - `M` members-count (code-bounded)
4307
- * - `P` complexity of dispatching `proposal`
2265
+ * See [`Pallet::execute`].
4308
2266
  **/
4309
2267
  execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Compact<u32>]>;
4310
2268
  /**
4311
- * Add a new proposal to either be voted on or executed directly.
4312
- *
4313
- * Requires the sender to be member.
4314
- *
4315
- * `threshold` determines whether `proposal` is executed directly (`threshold < 2`)
4316
- * or put up for voting.
4317
- *
4318
- * ## Complexity
4319
- * - `O(B + M + P1)` or `O(B + M + P2)` where:
4320
- * - `B` is `proposal` size in bytes (length-fee-bounded)
4321
- * - `M` is members-count (code- and governance-bounded)
4322
- * - branching is influenced by `threshold` where:
4323
- * - `P1` is proposal execution complexity (`threshold < 2`)
4324
- * - `P2` is proposals-count (code-bounded) (`threshold >= 2`)
2269
+ * See [`Pallet::propose`].
4325
2270
  **/
4326
2271
  propose: AugmentedSubmittable<(threshold: Compact<u32> | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Call, Compact<u32>]>;
4327
2272
  /**
4328
- * Set the collective's membership.
4329
- *
4330
- * - `new_members`: The new member list. Be nice to the chain and provide it sorted.
4331
- * - `prime`: The prime member whose vote sets the default.
4332
- * - `old_count`: The upper bound for the previous number of members in storage. Used for
4333
- * weight estimation.
4334
- *
4335
- * The dispatch of this call must be `SetMembersOrigin`.
4336
- *
4337
- * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but
4338
- * the weight estimations rely on it to estimate dispatchable weight.
4339
- *
4340
- * # WARNING:
4341
- *
4342
- * The `pallet-collective` can also be managed by logic outside of the pallet through the
4343
- * implementation of the trait [`ChangeMembers`].
4344
- * Any call to `set_members` must be careful that the member set doesn't get out of sync
4345
- * with other logic managing the member set.
4346
- *
4347
- * ## Complexity:
4348
- * - `O(MP + N)` where:
4349
- * - `M` old-members-count (code- and governance-bounded)
4350
- * - `N` new-members-count (code- and governance-bounded)
4351
- * - `P` proposals-count (code-bounded)
2273
+ * See [`Pallet::set_members`].
4352
2274
  **/
4353
2275
  setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Option<AccountId32>, u32]>;
4354
2276
  /**
4355
- * Add an aye or nay vote for the sender to the given proposal.
4356
- *
4357
- * Requires the sender to be a member.
4358
- *
4359
- * Transaction fees will be waived if the member is voting on any particular proposal
4360
- * for the first time and the call is successful. Subsequent vote changes will charge a
4361
- * fee.
4362
- * ## Complexity
4363
- * - `O(M)` where `M` is members-count (code- and governance-bounded)
2277
+ * See [`Pallet::vote`].
4364
2278
  **/
4365
2279
  vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, bool]>;
4366
2280
  /**
@@ -4370,9 +2284,7 @@ declare module '@polkadot/api-base/types/submittable' {
4370
2284
  };
4371
2285
  technicalMembership: {
4372
2286
  /**
4373
- * Add a member `who` to the set.
4374
- *
4375
- * May only be called from `T::AddOrigin`.
2287
+ * See [`Pallet::add_member`].
4376
2288
  **/
4377
2289
  addMember: AugmentedSubmittable<(who: MultiAddress | {
4378
2290
  Id: any;
@@ -4386,11 +2298,7 @@ declare module '@polkadot/api-base/types/submittable' {
4386
2298
  Address20: any;
4387
2299
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
4388
2300
  /**
4389
- * Swap out the sending member for some other key `new`.
4390
- *
4391
- * May only be called from `Signed` origin of a current member.
4392
- *
4393
- * Prime membership is passed from the origin account to `new`, if extant.
2301
+ * See [`Pallet::change_key`].
4394
2302
  **/
4395
2303
  changeKey: AugmentedSubmittable<(updated: MultiAddress | {
4396
2304
  Id: any;
@@ -4404,15 +2312,11 @@ declare module '@polkadot/api-base/types/submittable' {
4404
2312
  Address20: any;
4405
2313
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
4406
2314
  /**
4407
- * Remove the prime member if it exists.
4408
- *
4409
- * May only be called from `T::PrimeOrigin`.
2315
+ * See [`Pallet::clear_prime`].
4410
2316
  **/
4411
2317
  clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4412
2318
  /**
4413
- * Remove a member `who` from the set.
4414
- *
4415
- * May only be called from `T::RemoveOrigin`.
2319
+ * See [`Pallet::remove_member`].
4416
2320
  **/
4417
2321
  removeMember: AugmentedSubmittable<(who: MultiAddress | {
4418
2322
  Id: any;
@@ -4426,16 +2330,11 @@ declare module '@polkadot/api-base/types/submittable' {
4426
2330
  Address20: any;
4427
2331
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
4428
2332
  /**
4429
- * Change the membership to a new set, disregarding the existing membership. Be nice and
4430
- * pass `members` pre-sorted.
4431
- *
4432
- * May only be called from `T::ResetOrigin`.
2333
+ * See [`Pallet::reset_members`].
4433
2334
  **/
4434
2335
  resetMembers: AugmentedSubmittable<(members: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
4435
2336
  /**
4436
- * Set the prime member. Must be a current member.
4437
- *
4438
- * May only be called from `T::PrimeOrigin`.
2337
+ * See [`Pallet::set_prime`].
4439
2338
  **/
4440
2339
  setPrime: AugmentedSubmittable<(who: MultiAddress | {
4441
2340
  Id: any;
@@ -4449,11 +2348,7 @@ declare module '@polkadot/api-base/types/submittable' {
4449
2348
  Address20: any;
4450
2349
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
4451
2350
  /**
4452
- * Swap out one member `remove` for another `add`.
4453
- *
4454
- * May only be called from `T::SwapOrigin`.
4455
- *
4456
- * Prime membership is *not* passed from `remove` to `add`, if extant.
2351
+ * See [`Pallet::swap_member`].
4457
2352
  **/
4458
2353
  swapMember: AugmentedSubmittable<(remove: MultiAddress | {
4459
2354
  Id: any;
@@ -4483,21 +2378,7 @@ declare module '@polkadot/api-base/types/submittable' {
4483
2378
  };
4484
2379
  timestamp: {
4485
2380
  /**
4486
- * Set the current time.
4487
- *
4488
- * This call should be invoked exactly once per block. It will panic at the finalization
4489
- * phase, if this call hasn't been invoked by that time.
4490
- *
4491
- * The timestamp should be greater than the previous one by the amount specified by
4492
- * `MinimumPeriod`.
4493
- *
4494
- * The dispatch origin for this call must be `Inherent`.
4495
- *
4496
- * ## Complexity
4497
- * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
4498
- * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in
4499
- * `on_finalize`)
4500
- * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
2381
+ * See [`Pallet::set`].
4501
2382
  **/
4502
2383
  set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
4503
2384
  /**
@@ -4507,38 +2388,11 @@ declare module '@polkadot/api-base/types/submittable' {
4507
2388
  };
4508
2389
  tips: {
4509
2390
  /**
4510
- * Close and payout a tip.
4511
- *
4512
- * The dispatch origin for this call must be _Signed_.
4513
- *
4514
- * The tip identified by `hash` must have finished its countdown period.
4515
- *
4516
- * - `hash`: The identity of the open tip for which a tip value is declared. This is formed
4517
- * as the hash of the tuple of the original tip `reason` and the beneficiary account ID.
4518
- *
4519
- * ## Complexity
4520
- * - : `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`. `T`
4521
- * is charged as upper bound given by `ContainsLengthBound`. The actual cost depends on
4522
- * the implementation of `T::Tippers`.
2391
+ * See [`Pallet::close_tip`].
4523
2392
  **/
4524
2393
  closeTip: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
4525
2394
  /**
4526
- * Report something `reason` that deserves a tip and claim any eventual the finder's fee.
4527
- *
4528
- * The dispatch origin for this call must be _Signed_.
4529
- *
4530
- * Payment: `TipReportDepositBase` will be reserved from the origin account, as well as
4531
- * `DataDepositPerByte` for each byte in `reason`.
4532
- *
4533
- * - `reason`: The reason for, or the thing that deserves, the tip; generally this will be
4534
- * a UTF-8-encoded URL.
4535
- * - `who`: The account which should be credited for the tip.
4536
- *
4537
- * Emits `NewTip` if successful.
4538
- *
4539
- * ## Complexity
4540
- * - `O(R)` where `R` length of `reason`.
4541
- * - encoding and hashing of 'reason'
2395
+ * See [`Pallet::report_awesome`].
4542
2396
  **/
4543
2397
  reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | {
4544
2398
  Id: any;
@@ -4552,81 +2406,19 @@ declare module '@polkadot/api-base/types/submittable' {
4552
2406
  Address20: any;
4553
2407
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress]>;
4554
2408
  /**
4555
- * Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
4556
- *
4557
- * If successful, the original deposit will be unreserved.
4558
- *
4559
- * The dispatch origin for this call must be _Signed_ and the tip identified by `hash`
4560
- * must have been reported by the signing account through `report_awesome` (and not
4561
- * through `tip_new`).
4562
- *
4563
- * - `hash`: The identity of the open tip for which a tip value is declared. This is formed
4564
- * as the hash of the tuple of the original tip `reason` and the beneficiary account ID.
4565
- *
4566
- * Emits `TipRetracted` if successful.
4567
- *
4568
- * ## Complexity
4569
- * - `O(1)`
4570
- * - Depends on the length of `T::Hash` which is fixed.
2409
+ * See [`Pallet::retract_tip`].
4571
2410
  **/
4572
2411
  retractTip: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
4573
2412
  /**
4574
- * Remove and slash an already-open tip.
4575
- *
4576
- * May only be called from `T::RejectOrigin`.
4577
- *
4578
- * As a result, the finder is slashed and the deposits are lost.
4579
- *
4580
- * Emits `TipSlashed` if successful.
4581
- *
4582
- * ## Complexity
4583
- * - O(1).
2413
+ * See [`Pallet::slash_tip`].
4584
2414
  **/
4585
2415
  slashTip: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
4586
2416
  /**
4587
- * Declare a tip value for an already-open tip.
4588
- *
4589
- * The dispatch origin for this call must be _Signed_ and the signing account must be a
4590
- * member of the `Tippers` set.
4591
- *
4592
- * - `hash`: The identity of the open tip for which a tip value is declared. This is formed
4593
- * as the hash of the tuple of the hash of the original tip `reason` and the beneficiary
4594
- * account ID.
4595
- * - `tip_value`: The amount of tip that the sender would like to give. The median tip
4596
- * value of active tippers will be given to the `who`.
4597
- *
4598
- * Emits `TipClosing` if the threshold of tippers has been reached and the countdown period
4599
- * has started.
4600
- *
4601
- * ## Complexity
4602
- * - `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`, insert
4603
- * tip and check closing, `T` is charged as upper bound given by `ContainsLengthBound`.
4604
- * The actual cost depends on the implementation of `T::Tippers`.
4605
- *
4606
- * Actually weight could be lower as it depends on how many tips are in `OpenTip` but it
4607
- * is weighted as if almost full i.e of length `T-1`.
2417
+ * See [`Pallet::tip`].
4608
2418
  **/
4609
2419
  tip: AugmentedSubmittable<(hash: H256 | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u128>]>;
4610
2420
  /**
4611
- * Give a tip for something new; no finder's fee will be taken.
4612
- *
4613
- * The dispatch origin for this call must be _Signed_ and the signing account must be a
4614
- * member of the `Tippers` set.
4615
- *
4616
- * - `reason`: The reason for, or the thing that deserves, the tip; generally this will be
4617
- * a UTF-8-encoded URL.
4618
- * - `who`: The account which should be credited for the tip.
4619
- * - `tip_value`: The amount of tip that the sender would like to give. The median tip
4620
- * value of active tippers will be given to the `who`.
4621
- *
4622
- * Emits `NewTip` if successful.
4623
- *
4624
- * ## Complexity
4625
- * - `O(R + T)` where `R` length of `reason`, `T` is the number of tippers.
4626
- * - `O(T)`: decoding `Tipper` vec of length `T`. `T` is charged as upper bound given by
4627
- * `ContainsLengthBound`. The actual cost depends on the implementation of
4628
- * `T::Tippers`.
4629
- * - `O(R)`: hashing and encoding of reason of length `R`
2421
+ * See [`Pallet::tip_new`].
4630
2422
  **/
4631
2423
  tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | {
4632
2424
  Id: any;
@@ -4646,22 +2438,11 @@ declare module '@polkadot/api-base/types/submittable' {
4646
2438
  };
4647
2439
  treasury: {
4648
2440
  /**
4649
- * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary
4650
- * and the original deposit will be returned.
4651
- *
4652
- * May only be called from `T::ApproveOrigin`.
4653
- *
4654
- * ## Complexity
4655
- * - O(1).
2441
+ * See [`Pallet::approve_proposal`].
4656
2442
  **/
4657
2443
  approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
4658
2444
  /**
4659
- * Put forward a suggestion for spending. A deposit proportional to the value
4660
- * is reserved and slashed if the proposal is rejected. It is returned once the
4661
- * proposal is awarded.
4662
- *
4663
- * ## Complexity
4664
- * - O(1)
2445
+ * See [`Pallet::propose_spend`].
4665
2446
  **/
4666
2447
  proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
4667
2448
  Id: any;
@@ -4675,39 +2456,15 @@ declare module '@polkadot/api-base/types/submittable' {
4675
2456
  Address20: any;
4676
2457
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
4677
2458
  /**
4678
- * Reject a proposed spend. The original deposit will be slashed.
4679
- *
4680
- * May only be called from `T::RejectOrigin`.
4681
- *
4682
- * ## Complexity
4683
- * - O(1)
2459
+ * See [`Pallet::reject_proposal`].
4684
2460
  **/
4685
2461
  rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
4686
2462
  /**
4687
- * Force a previously approved proposal to be removed from the approval queue.
4688
- * The original deposit will no longer be returned.
4689
- *
4690
- * May only be called from `T::RejectOrigin`.
4691
- * - `proposal_id`: The index of a proposal
4692
- *
4693
- * ## Complexity
4694
- * - O(A) where `A` is the number of approvals
4695
- *
4696
- * Errors:
4697
- * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,
4698
- * i.e., the proposal has not been approved. This could also mean the proposal does not
4699
- * exist altogether, thus there is no way it would have been approved in the first place.
2463
+ * See [`Pallet::remove_approval`].
4700
2464
  **/
4701
2465
  removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
4702
2466
  /**
4703
- * Propose and approve a spend of treasury funds.
4704
- *
4705
- * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.
4706
- * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
4707
- * - `beneficiary`: The destination account for the transfer.
4708
- *
4709
- * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the
4710
- * beneficiary.
2467
+ * See [`Pallet::spend`].
4711
2468
  **/
4712
2469
  spend: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
4713
2470
  Id: any;
@@ -4725,91 +2482,21 @@ declare module '@polkadot/api-base/types/submittable' {
4725
2482
  **/
4726
2483
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
4727
2484
  };
4728
- ump: {
4729
- /**
4730
- * Service a single overweight upward message.
4731
- *
4732
- * - `origin`: Must pass `ExecuteOverweightOrigin`.
4733
- * - `index`: The index of the overweight message to service.
4734
- * - `weight_limit`: The amount of weight that message execution may take.
4735
- *
4736
- * Errors:
4737
- * - `UnknownMessageIndex`: Message of `index` is unknown.
4738
- * - `WeightOverLimit`: Message execution may use greater than `weight_limit`.
4739
- *
4740
- * Events:
4741
- * - `OverweightServiced`: On success.
4742
- **/
4743
- serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
4744
- refTime?: any;
4745
- proofSize?: any;
4746
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, SpWeightsWeightV2Weight]>;
4747
- /**
4748
- * Generic tx
4749
- **/
4750
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
4751
- };
4752
2485
  utility: {
4753
2486
  /**
4754
- * Send a call through an indexed pseudonym of the sender.
4755
- *
4756
- * Filter from origin are passed along. The call will be dispatched with an origin which
4757
- * use the same filter as the origin of this call.
4758
- *
4759
- * NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
4760
- * because you expect `proxy` to have been used prior in the call stack and you do not want
4761
- * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
4762
- * in the Multisig pallet instead.
4763
- *
4764
- * NOTE: Prior to version *12, this was called `as_limited_sub`.
4765
- *
4766
- * The dispatch origin for this call must be _Signed_.
2487
+ * See [`Pallet::as_derivative`].
4767
2488
  **/
4768
2489
  asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Call]>;
4769
2490
  /**
4770
- * Send a batch of dispatch calls.
4771
- *
4772
- * May be called from any origin except `None`.
4773
- *
4774
- * - `calls`: The calls to be dispatched from the same origin. The number of call must not
4775
- * exceed the constant: `batched_calls_limit` (available in constant metadata).
4776
- *
4777
- * If origin is root then the calls are dispatched without checking origin filter. (This
4778
- * includes bypassing `frame_system::Config::BaseCallFilter`).
4779
- *
4780
- * ## Complexity
4781
- * - O(C) where C is the number of calls to be batched.
4782
- *
4783
- * This will return `Ok` in all circumstances. To determine the success of the batch, an
4784
- * event is deposited. If a call failed and the batch was interrupted, then the
4785
- * `BatchInterrupted` event is deposited, along with the number of successful calls made
4786
- * and the error of the failed call. If all were successful, then the `BatchCompleted`
4787
- * event is deposited.
2491
+ * See [`Pallet::batch`].
4788
2492
  **/
4789
2493
  batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
4790
2494
  /**
4791
- * Send a batch of dispatch calls and atomically execute them.
4792
- * The whole transaction will rollback and fail if any of the calls failed.
4793
- *
4794
- * May be called from any origin except `None`.
4795
- *
4796
- * - `calls`: The calls to be dispatched from the same origin. The number of call must not
4797
- * exceed the constant: `batched_calls_limit` (available in constant metadata).
4798
- *
4799
- * If origin is root then the calls are dispatched without checking origin filter. (This
4800
- * includes bypassing `frame_system::Config::BaseCallFilter`).
4801
- *
4802
- * ## Complexity
4803
- * - O(C) where C is the number of calls to be batched.
2495
+ * See [`Pallet::batch_all`].
4804
2496
  **/
4805
2497
  batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
4806
2498
  /**
4807
- * Dispatches a function call with a provided origin.
4808
- *
4809
- * The dispatch origin for this call must be _Root_.
4810
- *
4811
- * ## Complexity
4812
- * - O(1).
2499
+ * See [`Pallet::dispatch_as`].
4813
2500
  **/
4814
2501
  dispatchAs: AugmentedSubmittable<(asOrigin: PolkadotRuntimeOriginCaller | {
4815
2502
  system: any;
@@ -4827,28 +2514,11 @@ declare module '@polkadot/api-base/types/submittable' {
4827
2514
  XcmPallet: any;
4828
2515
  } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeOriginCaller, Call]>;
4829
2516
  /**
4830
- * Send a batch of dispatch calls.
4831
- * Unlike `batch`, it allows errors and won't interrupt.
4832
- *
4833
- * May be called from any origin except `None`.
4834
- *
4835
- * - `calls`: The calls to be dispatched from the same origin. The number of call must not
4836
- * exceed the constant: `batched_calls_limit` (available in constant metadata).
4837
- *
4838
- * If origin is root then the calls are dispatch without checking origin filter. (This
4839
- * includes bypassing `frame_system::Config::BaseCallFilter`).
4840
- *
4841
- * ## Complexity
4842
- * - O(C) where C is the number of calls to be batched.
2517
+ * See [`Pallet::force_batch`].
4843
2518
  **/
4844
2519
  forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
4845
2520
  /**
4846
- * Dispatch a function call with a specified weight.
4847
- *
4848
- * This function does not check the weight of the call, and instead allows the
4849
- * Root origin to specify the weight of the call.
4850
- *
4851
- * The dispatch origin for this call must be _Root_.
2521
+ * See [`Pallet::with_weight`].
4852
2522
  **/
4853
2523
  withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
4854
2524
  refTime?: any;
@@ -4861,20 +2531,7 @@ declare module '@polkadot/api-base/types/submittable' {
4861
2531
  };
4862
2532
  vesting: {
4863
2533
  /**
4864
- * Force a vested transfer.
4865
- *
4866
- * The dispatch origin for this call must be _Root_.
4867
- *
4868
- * - `source`: The account whose funds should be transferred.
4869
- * - `target`: The account that should be transferred the vested funds.
4870
- * - `schedule`: The vesting schedule attached to the transfer.
4871
- *
4872
- * Emits `VestingCreated`.
4873
- *
4874
- * NOTE: This will unlock all schedules through the current block.
4875
- *
4876
- * ## Complexity
4877
- * - `O(1)`.
2534
+ * See [`Pallet::force_vested_transfer`].
4878
2535
  **/
4879
2536
  forceVestedTransfer: AugmentedSubmittable<(source: MultiAddress | {
4880
2537
  Id: any;
@@ -4902,55 +2559,15 @@ declare module '@polkadot/api-base/types/submittable' {
4902
2559
  startingBlock?: any;
4903
2560
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletVestingVestingInfo]>;
4904
2561
  /**
4905
- * Merge two vesting schedules together, creating a new vesting schedule that unlocks over
4906
- * the highest possible start and end blocks. If both schedules have already started the
4907
- * current block will be used as the schedule start; with the caveat that if one schedule
4908
- * is finished by the current block, the other will be treated as the new merged schedule,
4909
- * unmodified.
4910
- *
4911
- * NOTE: If `schedule1_index == schedule2_index` this is a no-op.
4912
- * NOTE: This will unlock all schedules through the current block prior to merging.
4913
- * NOTE: If both schedules have ended by the current block, no new schedule will be created
4914
- * and both will be removed.
4915
- *
4916
- * Merged schedule attributes:
4917
- * - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,
4918
- * current_block)`.
4919
- * - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.
4920
- * - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.
4921
- *
4922
- * The dispatch origin for this call must be _Signed_.
4923
- *
4924
- * - `schedule1_index`: index of the first schedule to merge.
4925
- * - `schedule2_index`: index of the second schedule to merge.
2562
+ * See [`Pallet::merge_schedules`].
4926
2563
  **/
4927
2564
  mergeSchedules: AugmentedSubmittable<(schedule1Index: u32 | AnyNumber | Uint8Array, schedule2Index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
4928
2565
  /**
4929
- * Unlock any vested funds of the sender account.
4930
- *
4931
- * The dispatch origin for this call must be _Signed_ and the sender must have funds still
4932
- * locked under this pallet.
4933
- *
4934
- * Emits either `VestingCompleted` or `VestingUpdated`.
4935
- *
4936
- * ## Complexity
4937
- * - `O(1)`.
2566
+ * See [`Pallet::vest`].
4938
2567
  **/
4939
2568
  vest: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4940
2569
  /**
4941
- * Create a vested transfer.
4942
- *
4943
- * The dispatch origin for this call must be _Signed_.
4944
- *
4945
- * - `target`: The account receiving the vested funds.
4946
- * - `schedule`: The vesting schedule attached to the transfer.
4947
- *
4948
- * Emits `VestingCreated`.
4949
- *
4950
- * NOTE: This will unlock all schedules through the current block.
4951
- *
4952
- * ## Complexity
4953
- * - `O(1)`.
2570
+ * See [`Pallet::vested_transfer`].
4954
2571
  **/
4955
2572
  vestedTransfer: AugmentedSubmittable<(target: MultiAddress | {
4956
2573
  Id: any;
@@ -4968,17 +2585,7 @@ declare module '@polkadot/api-base/types/submittable' {
4968
2585
  startingBlock?: any;
4969
2586
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletVestingVestingInfo]>;
4970
2587
  /**
4971
- * Unlock any vested funds of a `target` account.
4972
- *
4973
- * The dispatch origin for this call must be _Signed_.
4974
- *
4975
- * - `target`: The account whose vested funds should be unlocked. Must have funds still
4976
- * locked under this pallet.
4977
- *
4978
- * Emits either `VestingCompleted` or `VestingUpdated`.
4979
- *
4980
- * ## Complexity
4981
- * - `O(1)`.
2588
+ * See [`Pallet::vest_other`].
4982
2589
  **/
4983
2590
  vestOther: AugmentedSubmittable<(target: MultiAddress | {
4984
2591
  Id: any;
@@ -4998,14 +2605,7 @@ declare module '@polkadot/api-base/types/submittable' {
4998
2605
  };
4999
2606
  voterList: {
5000
2607
  /**
5001
- * Move the caller's Id directly in front of `lighter`.
5002
- *
5003
- * The dispatch origin for this call must be _Signed_ and can only be called by the Id of
5004
- * the account going in front of `lighter`.
5005
- *
5006
- * Only works if
5007
- * - both nodes are within the same bag,
5008
- * - and `origin` has a greater `Score` than `lighter`.
2608
+ * See [`Pallet::put_in_front_of`].
5009
2609
  **/
5010
2610
  putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | {
5011
2611
  Id: any;
@@ -5019,16 +2619,7 @@ declare module '@polkadot/api-base/types/submittable' {
5019
2619
  Address20: any;
5020
2620
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
5021
2621
  /**
5022
- * Declare that some `dislocated` account has, through rewards or penalties, sufficiently
5023
- * changed its score that it should properly fall into a different bag than its current
5024
- * one.
5025
- *
5026
- * Anyone can call this function about any potentially dislocated account.
5027
- *
5028
- * Will always update the stored score of `dislocated` to the correct score, based on
5029
- * `ScoreProvider`.
5030
- *
5031
- * If `dislocated` does not exists, it returns an error.
2622
+ * See [`Pallet::rebag`].
5032
2623
  **/
5033
2624
  rebag: AugmentedSubmittable<(dislocated: MultiAddress | {
5034
2625
  Id: any;
@@ -5047,12 +2638,24 @@ declare module '@polkadot/api-base/types/submittable' {
5047
2638
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
5048
2639
  };
5049
2640
  whitelist: {
2641
+ /**
2642
+ * See [`Pallet::dispatch_whitelisted_call`].
2643
+ **/
5050
2644
  dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callEncodedLen: u32 | AnyNumber | Uint8Array, callWeightWitness: SpWeightsWeightV2Weight | {
5051
2645
  refTime?: any;
5052
2646
  proofSize?: any;
5053
2647
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32, SpWeightsWeightV2Weight]>;
2648
+ /**
2649
+ * See [`Pallet::dispatch_whitelisted_call_with_preimage`].
2650
+ **/
5054
2651
  dispatchWhitelistedCallWithPreimage: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
2652
+ /**
2653
+ * See [`Pallet::remove_whitelisted_call`].
2654
+ **/
5055
2655
  removeWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2656
+ /**
2657
+ * See [`Pallet::whitelist_call`].
2658
+ **/
5056
2659
  whitelistCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
5057
2660
  /**
5058
2661
  * Generic tx
@@ -5061,17 +2664,7 @@ declare module '@polkadot/api-base/types/submittable' {
5061
2664
  };
5062
2665
  xcmPallet: {
5063
2666
  /**
5064
- * Execute an XCM message from a local, signed, origin.
5065
- *
5066
- * An event is deposited indicating whether `msg` could be executed completely or only
5067
- * partially.
5068
- *
5069
- * No more than `max_weight` will be used in its attempted execution. If this is less than the
5070
- * maximum amount of weight that the message could take to be executed, then no execution
5071
- * attempt will be made.
5072
- *
5073
- * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully
5074
- * to completion; only that *some* of it was executed.
2667
+ * See [`Pallet::execute`].
5075
2668
  **/
5076
2669
  execute: AugmentedSubmittable<(message: XcmVersionedXcm | {
5077
2670
  V2: any;
@@ -5082,18 +2675,11 @@ declare module '@polkadot/api-base/types/submittable' {
5082
2675
  proofSize?: any;
5083
2676
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, SpWeightsWeightV2Weight]>;
5084
2677
  /**
5085
- * Set a safe XCM version (the version that XCM should be encoded with if the most recent
5086
- * version a destination can accept is unknown).
5087
- *
5088
- * - `origin`: Must be an origin specified by AdminOrigin.
5089
- * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
2678
+ * See [`Pallet::force_default_xcm_version`].
5090
2679
  **/
5091
2680
  forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
5092
2681
  /**
5093
- * Ask a location to notify us regarding their XCM version and any changes to it.
5094
- *
5095
- * - `origin`: Must be an origin specified by AdminOrigin.
5096
- * - `location`: The location to which we should subscribe for XCM version notifications.
2682
+ * See [`Pallet::force_subscribe_version_notify`].
5097
2683
  **/
5098
2684
  forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | {
5099
2685
  V2: any;
@@ -5101,19 +2687,11 @@ declare module '@polkadot/api-base/types/submittable' {
5101
2687
  V3: any;
5102
2688
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
5103
2689
  /**
5104
- * Set or unset the global suspension state of the XCM executor.
5105
- *
5106
- * - `origin`: Must be an origin specified by AdminOrigin.
5107
- * - `suspended`: `true` to suspend, `false` to resume.
2690
+ * See [`Pallet::force_suspension`].
5108
2691
  **/
5109
2692
  forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
5110
2693
  /**
5111
- * Require that a particular destination should no longer notify us regarding any XCM
5112
- * version changes.
5113
- *
5114
- * - `origin`: Must be an origin specified by AdminOrigin.
5115
- * - `location`: The location to which we are currently subscribed for XCM version
5116
- * notifications which we no longer desire.
2694
+ * See [`Pallet::force_unsubscribe_version_notify`].
5117
2695
  **/
5118
2696
  forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | {
5119
2697
  V2: any;
@@ -5121,36 +2699,14 @@ declare module '@polkadot/api-base/types/submittable' {
5121
2699
  V3: any;
5122
2700
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
5123
2701
  /**
5124
- * Extoll that a particular destination can be communicated with through a particular
5125
- * version of XCM.
5126
- *
5127
- * - `origin`: Must be an origin specified by AdminOrigin.
5128
- * - `location`: The destination that is being described.
5129
- * - `xcm_version`: The latest version of XCM that `location` supports.
2702
+ * See [`Pallet::force_xcm_version`].
5130
2703
  **/
5131
2704
  forceXcmVersion: AugmentedSubmittable<(location: XcmV3MultiLocation | {
5132
2705
  parents?: any;
5133
2706
  interior?: any;
5134
- } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV3MultiLocation, u32]>;
5135
- /**
5136
- * Transfer some assets from the local chain to the sovereign account of a destination
5137
- * chain and forward a notification XCM.
5138
- *
5139
- * Fee payment on the destination side is made from the asset in the `assets` vector of
5140
- * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
5141
- * is needed than `weight_limit`, then the operation will fail and the assets send may be
5142
- * at risk.
5143
- *
5144
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
5145
- * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
5146
- * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.
5147
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be
5148
- * an `AccountId32` value.
5149
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the
5150
- * `dest` side.
5151
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
5152
- * fees.
5153
- * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
2707
+ } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV3MultiLocation, u32]>;
2708
+ /**
2709
+ * See [`Pallet::limited_reserve_transfer_assets`].
5154
2710
  **/
5155
2711
  limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | {
5156
2712
  V2: any;
@@ -5170,23 +2726,7 @@ declare module '@polkadot/api-base/types/submittable' {
5170
2726
  Limited: any;
5171
2727
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV3WeightLimit]>;
5172
2728
  /**
5173
- * Teleport some assets from the local chain to some destination chain.
5174
- *
5175
- * Fee payment on the destination side is made from the asset in the `assets` vector of
5176
- * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
5177
- * is needed than `weight_limit`, then the operation will fail and the assets send may be
5178
- * at risk.
5179
- *
5180
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
5181
- * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
5182
- * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.
5183
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be
5184
- * an `AccountId32` value.
5185
- * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the
5186
- * `dest` side. May not be empty.
5187
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
5188
- * fees.
5189
- * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
2729
+ * See [`Pallet::limited_teleport_assets`].
5190
2730
  **/
5191
2731
  limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | {
5192
2732
  V2: any;
@@ -5206,22 +2746,7 @@ declare module '@polkadot/api-base/types/submittable' {
5206
2746
  Limited: any;
5207
2747
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV3WeightLimit]>;
5208
2748
  /**
5209
- * Transfer some assets from the local chain to the sovereign account of a destination
5210
- * chain and forward a notification XCM.
5211
- *
5212
- * Fee payment on the destination side is made from the asset in the `assets` vector of
5213
- * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
5214
- * with all fees taken as needed from the asset.
5215
- *
5216
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
5217
- * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
5218
- * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.
5219
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be
5220
- * an `AccountId32` value.
5221
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the
5222
- * `dest` side.
5223
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
5224
- * fees.
2749
+ * See [`Pallet::reserve_transfer_assets`].
5225
2750
  **/
5226
2751
  reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | {
5227
2752
  V2: any;
@@ -5236,6 +2761,9 @@ declare module '@polkadot/api-base/types/submittable' {
5236
2761
  } | {
5237
2762
  V3: any;
5238
2763
  } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;
2764
+ /**
2765
+ * See [`Pallet::send`].
2766
+ **/
5239
2767
  send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | {
5240
2768
  V2: any;
5241
2769
  } | {
@@ -5246,21 +2774,7 @@ declare module '@polkadot/api-base/types/submittable' {
5246
2774
  V3: any;
5247
2775
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;
5248
2776
  /**
5249
- * Teleport some assets from the local chain to some destination chain.
5250
- *
5251
- * Fee payment on the destination side is made from the asset in the `assets` vector of
5252
- * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
5253
- * with all fees taken as needed from the asset.
5254
- *
5255
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
5256
- * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
5257
- * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.
5258
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be
5259
- * an `AccountId32` value.
5260
- * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the
5261
- * `dest` side. May not be empty.
5262
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
5263
- * fees.
2777
+ * See [`Pallet::teleport_assets`].
5264
2778
  **/
5265
2779
  teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | {
5266
2780
  V2: any;