@polkadot/api-augment 10.7.2 → 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/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +29 -5
- package/kusama/errors.d.ts +38 -14
- package/kusama/events.d.ts +157 -118
- package/kusama/query.d.ts +35 -68
- package/kusama/tx.d.ts +382 -2741
- package/package.json +8 -8
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +28 -0
- package/polkadot/errors.d.ts +38 -14
- package/polkadot/events.d.ts +157 -118
- package/polkadot/query.d.ts +36 -69
- package/polkadot/tx.d.ts +380 -2866
- package/substrate/consts.d.ts +101 -6
- package/substrate/errors.d.ts +223 -0
- package/substrate/events.d.ts +283 -18
- package/substrate/query.d.ts +68 -7
- package/substrate/tx.d.ts +964 -4498
package/kusama/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, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind,
|
|
8
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4InherentData, PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotPrimitivesVstagingSlashingDisputeProof, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, 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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
357
|
+
* See [`Pallet::set_chain_availability_period`].
|
|
723
358
|
**/
|
|
724
359
|
setChainAvailabilityPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
725
360
|
/**
|
|
726
|
-
*
|
|
361
|
+
* See [`Pallet::set_code_retention_period`].
|
|
727
362
|
**/
|
|
728
363
|
setCodeRetentionPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
729
364
|
/**
|
|
730
|
-
*
|
|
365
|
+
* See [`Pallet::set_dispute_period`].
|
|
731
366
|
**/
|
|
732
367
|
setDisputePeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
733
368
|
/**
|
|
734
|
-
*
|
|
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
|
-
*
|
|
373
|
+
* See [`Pallet::set_executor_params`].
|
|
739
374
|
**/
|
|
740
375
|
setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV4ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV4ExecutorParams]>;
|
|
741
376
|
/**
|
|
742
|
-
*
|
|
377
|
+
* See [`Pallet::set_group_rotation_frequency`].
|
|
743
378
|
**/
|
|
744
379
|
setGroupRotationFrequency: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
745
380
|
/**
|
|
746
|
-
*
|
|
381
|
+
* See [`Pallet::set_hrmp_channel_max_capacity`].
|
|
747
382
|
**/
|
|
748
383
|
setHrmpChannelMaxCapacity: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
749
384
|
/**
|
|
750
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
413
|
+
* See [`Pallet::set_hrmp_open_request_ttl`].
|
|
779
414
|
**/
|
|
780
415
|
setHrmpOpenRequestTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
781
416
|
/**
|
|
782
|
-
*
|
|
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
|
-
*
|
|
421
|
+
* See [`Pallet::set_hrmp_sender_deposit`].
|
|
788
422
|
**/
|
|
789
423
|
setHrmpSenderDeposit: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
790
424
|
/**
|
|
791
|
-
*
|
|
425
|
+
* See [`Pallet::set_max_code_size`].
|
|
792
426
|
**/
|
|
793
427
|
setMaxCodeSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
794
428
|
/**
|
|
795
|
-
*
|
|
429
|
+
* See [`Pallet::set_max_downward_message_size`].
|
|
796
430
|
**/
|
|
797
431
|
setMaxDownwardMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
798
432
|
/**
|
|
799
|
-
*
|
|
433
|
+
* See [`Pallet::set_max_head_data_size`].
|
|
800
434
|
**/
|
|
801
435
|
setMaxHeadDataSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
802
436
|
/**
|
|
803
|
-
*
|
|
437
|
+
* See [`Pallet::set_max_pov_size`].
|
|
804
438
|
**/
|
|
805
439
|
setMaxPovSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
806
440
|
/**
|
|
807
|
-
*
|
|
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
|
-
*
|
|
445
|
+
* See [`Pallet::set_max_upward_message_size`].
|
|
812
446
|
**/
|
|
813
447
|
setMaxUpwardMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
814
448
|
/**
|
|
815
|
-
*
|
|
449
|
+
* See [`Pallet::set_max_upward_queue_count`].
|
|
816
450
|
**/
|
|
817
451
|
setMaxUpwardQueueCount: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
818
452
|
/**
|
|
819
|
-
*
|
|
453
|
+
* See [`Pallet::set_max_upward_queue_size`].
|
|
820
454
|
**/
|
|
821
455
|
setMaxUpwardQueueSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
822
456
|
/**
|
|
823
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
469
|
+
* See [`Pallet::set_n_delay_tranches`].
|
|
839
470
|
**/
|
|
840
471
|
setNDelayTranches: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
841
472
|
/**
|
|
842
|
-
*
|
|
473
|
+
* See [`Pallet::set_needed_approvals`].
|
|
843
474
|
**/
|
|
844
475
|
setNeededApprovals: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
845
476
|
/**
|
|
846
|
-
*
|
|
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
|
-
*
|
|
481
|
+
* See [`Pallet::set_parathread_cores`].
|
|
852
482
|
**/
|
|
853
483
|
setParathreadCores: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
854
484
|
/**
|
|
855
|
-
*
|
|
485
|
+
* See [`Pallet::set_parathread_retries`].
|
|
856
486
|
**/
|
|
857
487
|
setParathreadRetries: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
858
488
|
/**
|
|
859
|
-
*
|
|
489
|
+
* See [`Pallet::set_pvf_checking_enabled`].
|
|
860
490
|
**/
|
|
861
491
|
setPvfCheckingEnabled: AugmentedSubmittable<(updated: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
862
492
|
/**
|
|
863
|
-
*
|
|
493
|
+
* See [`Pallet::set_pvf_voting_ttl`].
|
|
864
494
|
**/
|
|
865
495
|
setPvfVotingTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
866
496
|
/**
|
|
867
|
-
*
|
|
497
|
+
* See [`Pallet::set_relay_vrf_modulo_samples`].
|
|
868
498
|
**/
|
|
869
499
|
setRelayVrfModuloSamples: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
870
500
|
/**
|
|
871
|
-
*
|
|
501
|
+
* See [`Pallet::set_scheduling_lookahead`].
|
|
872
502
|
**/
|
|
873
503
|
setSchedulingLookahead: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
874
504
|
/**
|
|
875
|
-
*
|
|
505
|
+
* See [`Pallet::set_thread_availability_period`].
|
|
876
506
|
**/
|
|
877
507
|
setThreadAvailabilityPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
878
508
|
/**
|
|
879
|
-
*
|
|
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
|
-
*
|
|
513
|
+
* See [`Pallet::set_validation_upgrade_delay`].
|
|
898
514
|
**/
|
|
899
515
|
setValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
900
516
|
/**
|
|
901
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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,14 +590,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1068
590
|
};
|
|
1069
591
|
crowdloan: {
|
|
1070
592
|
/**
|
|
1071
|
-
*
|
|
1072
|
-
*
|
|
1073
|
-
* Origin must be Signed, and the user must have contributed to the crowdloan.
|
|
593
|
+
* See [`Pallet::add_memo`].
|
|
1074
594
|
**/
|
|
1075
595
|
addMemo: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, memo: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
1076
596
|
/**
|
|
1077
|
-
*
|
|
1078
|
-
* slot. It will be withdrawable when the crowdloan has ended and the funds are unused.
|
|
597
|
+
* See [`Pallet::contribute`].
|
|
1079
598
|
**/
|
|
1080
599
|
contribute: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | {
|
|
1081
600
|
Ed25519: any;
|
|
@@ -1085,8 +604,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1085
604
|
Ecdsa: any;
|
|
1086
605
|
} | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Option<SpRuntimeMultiSignature>]>;
|
|
1087
606
|
/**
|
|
1088
|
-
*
|
|
1089
|
-
* slot. It will be withdrawable when the crowdloan has ended and the funds are unused.
|
|
607
|
+
* See [`Pallet::contribute_all`].
|
|
1090
608
|
**/
|
|
1091
609
|
contributeAll: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | {
|
|
1092
610
|
Ed25519: any;
|
|
@@ -1096,10 +614,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1096
614
|
Ecdsa: any;
|
|
1097
615
|
} | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<SpRuntimeMultiSignature>]>;
|
|
1098
616
|
/**
|
|
1099
|
-
*
|
|
1100
|
-
*
|
|
1101
|
-
* This applies a lock to your parachain configuration, ensuring that it cannot be changed
|
|
1102
|
-
* by the parachain manager.
|
|
617
|
+
* See [`Pallet::create`].
|
|
1103
618
|
**/
|
|
1104
619
|
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 | {
|
|
1105
620
|
Ed25519: any;
|
|
@@ -1109,13 +624,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1109
624
|
Ecdsa: any;
|
|
1110
625
|
} | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
|
|
1111
626
|
/**
|
|
1112
|
-
*
|
|
627
|
+
* See [`Pallet::dissolve`].
|
|
1113
628
|
**/
|
|
1114
629
|
dissolve: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
1115
630
|
/**
|
|
1116
|
-
*
|
|
1117
|
-
*
|
|
1118
|
-
* Can only be called by Root origin.
|
|
631
|
+
* See [`Pallet::edit`].
|
|
1119
632
|
**/
|
|
1120
633
|
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 | {
|
|
1121
634
|
Ed25519: any;
|
|
@@ -1125,37 +638,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1125
638
|
Ecdsa: any;
|
|
1126
639
|
} | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
|
|
1127
640
|
/**
|
|
1128
|
-
*
|
|
1129
|
-
*
|
|
1130
|
-
* Origin must be Signed, and the fund has non-zero raise.
|
|
641
|
+
* See [`Pallet::poke`].
|
|
1131
642
|
**/
|
|
1132
643
|
poke: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1133
644
|
/**
|
|
1134
|
-
*
|
|
1135
|
-
* Due to weight restrictions, this function may need to be called multiple
|
|
1136
|
-
* times to fully refund all users. We will refund `RemoveKeysLimit` users at a time.
|
|
1137
|
-
*
|
|
1138
|
-
* Origin must be signed, but can come from anyone.
|
|
645
|
+
* See [`Pallet::refund`].
|
|
1139
646
|
**/
|
|
1140
647
|
refund: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
1141
648
|
/**
|
|
1142
|
-
*
|
|
1143
|
-
*
|
|
1144
|
-
* Origin must be signed, but can come from anyone.
|
|
1145
|
-
*
|
|
1146
|
-
* The fund must be either in, or ready for, retirement. For a fund to be *in* retirement, then the retirement
|
|
1147
|
-
* flag must be set. For a fund to be ready for retirement, then:
|
|
1148
|
-
* - it must not already be in retirement;
|
|
1149
|
-
* - the amount of raised funds must be bigger than the _free_ balance of the account;
|
|
1150
|
-
* - and either:
|
|
1151
|
-
* - the block number must be at least `end`; or
|
|
1152
|
-
* - the current lease period must be greater than the fund's `last_period`.
|
|
1153
|
-
*
|
|
1154
|
-
* In this case, the fund's retirement flag is set and its `end` is reset to the current block
|
|
1155
|
-
* number.
|
|
1156
|
-
*
|
|
1157
|
-
* - `who`: The account whose contribution should be withdrawn.
|
|
1158
|
-
* - `index`: The parachain to whose crowdloan the contribution was made.
|
|
649
|
+
* See [`Pallet::withdraw`].
|
|
1159
650
|
**/
|
|
1160
651
|
withdraw: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Compact<u32>]>;
|
|
1161
652
|
/**
|
|
@@ -1165,32 +656,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1165
656
|
};
|
|
1166
657
|
electionProviderMultiPhase: {
|
|
1167
658
|
/**
|
|
1168
|
-
*
|
|
1169
|
-
*
|
|
1170
|
-
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
1171
|
-
* calling [`Call::set_emergency_election_result`].
|
|
659
|
+
* See [`Pallet::governance_fallback`].
|
|
1172
660
|
**/
|
|
1173
661
|
governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | Uint8Array | u32 | AnyNumber, maybeMaxTargets: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>]>;
|
|
1174
662
|
/**
|
|
1175
|
-
*
|
|
1176
|
-
* call to `ElectionProvider::elect`.
|
|
1177
|
-
*
|
|
1178
|
-
* This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`.
|
|
1179
|
-
*
|
|
1180
|
-
* The solution is not checked for any feasibility and is assumed to be trustworthy, as any
|
|
1181
|
-
* feasibility check itself can in principle cause the election process to fail (due to
|
|
1182
|
-
* memory/weight constrains).
|
|
663
|
+
* See [`Pallet::set_emergency_election_result`].
|
|
1183
664
|
**/
|
|
1184
665
|
setEmergencyElectionResult: AugmentedSubmittable<(supports: Vec<ITuple<[AccountId32, SpNposElectionsSupport]>> | ([AccountId32 | string | Uint8Array, SpNposElectionsSupport | {
|
|
1185
666
|
total?: any;
|
|
1186
667
|
voters?: any;
|
|
1187
668
|
} | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, SpNposElectionsSupport]>>]>;
|
|
1188
669
|
/**
|
|
1189
|
-
*
|
|
1190
|
-
*
|
|
1191
|
-
* Dispatch origin must be aligned with `T::ForceOrigin`.
|
|
1192
|
-
*
|
|
1193
|
-
* This check can be turned off by setting the value to `None`.
|
|
670
|
+
* See [`Pallet::set_minimum_untrusted_score`].
|
|
1194
671
|
**/
|
|
1195
672
|
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null | Uint8Array | SpNposElectionsElectionScore | {
|
|
1196
673
|
minimalStake?: any;
|
|
@@ -1198,15 +675,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1198
675
|
sumStakeSquared?: any;
|
|
1199
676
|
} | string) => SubmittableExtrinsic<ApiType>, [Option<SpNposElectionsElectionScore>]>;
|
|
1200
677
|
/**
|
|
1201
|
-
*
|
|
1202
|
-
*
|
|
1203
|
-
* The dispatch origin fo this call must be __signed__.
|
|
1204
|
-
*
|
|
1205
|
-
* The solution is potentially queued, based on the claimed score and processed at the end
|
|
1206
|
-
* of the signed phase.
|
|
1207
|
-
*
|
|
1208
|
-
* A deposit is reserved and recorded for the solution. Based on the outcome, the solution
|
|
1209
|
-
* might be rewarded, slashed, or get all or a part of the deposit back.
|
|
678
|
+
* See [`Pallet::submit`].
|
|
1210
679
|
**/
|
|
1211
680
|
submit: AugmentedSubmittable<(rawSolution: PalletElectionProviderMultiPhaseRawSolution | {
|
|
1212
681
|
solution?: any;
|
|
@@ -1214,20 +683,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1214
683
|
round?: any;
|
|
1215
684
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletElectionProviderMultiPhaseRawSolution]>;
|
|
1216
685
|
/**
|
|
1217
|
-
*
|
|
1218
|
-
*
|
|
1219
|
-
* The dispatch origin fo this call must be __none__.
|
|
1220
|
-
*
|
|
1221
|
-
* This submission is checked on the fly. Moreover, this unsigned solution is only
|
|
1222
|
-
* validated when submitted to the pool from the **local** node. Effectively, this means
|
|
1223
|
-
* that only active validators can submit this transaction when authoring a block (similar
|
|
1224
|
-
* to an inherent).
|
|
1225
|
-
*
|
|
1226
|
-
* To prevent any incorrect solution (and thus wasted time/weight), this transaction will
|
|
1227
|
-
* panic if the solution submitted by the validator is invalid in any way, effectively
|
|
1228
|
-
* putting their authoring reward at risk.
|
|
1229
|
-
*
|
|
1230
|
-
* No deposit or reward is associated with this submission.
|
|
686
|
+
* See [`Pallet::submit_unsigned`].
|
|
1231
687
|
**/
|
|
1232
688
|
submitUnsigned: AugmentedSubmittable<(rawSolution: PalletElectionProviderMultiPhaseRawSolution | {
|
|
1233
689
|
solution?: any;
|
|
@@ -1244,40 +700,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1244
700
|
};
|
|
1245
701
|
fastUnstake: {
|
|
1246
702
|
/**
|
|
1247
|
-
*
|
|
1248
|
-
*
|
|
1249
|
-
* Dispatch origin must be signed by the [`Config::ControlOrigin`].
|
|
703
|
+
* See [`Pallet::control`].
|
|
1250
704
|
**/
|
|
1251
705
|
control: AugmentedSubmittable<(erasToCheck: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1252
706
|
/**
|
|
1253
|
-
*
|
|
1254
|
-
*
|
|
1255
|
-
* This is useful if one is registered, they are still waiting, and they change their mind.
|
|
1256
|
-
*
|
|
1257
|
-
* Note that the associated stash is still fully unbonded and chilled as a consequence of
|
|
1258
|
-
* calling `register_fast_unstake`. This should probably be followed by a call to
|
|
1259
|
-
* `Staking::rebond`.
|
|
707
|
+
* See [`Pallet::deregister`].
|
|
1260
708
|
**/
|
|
1261
709
|
deregister: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1262
710
|
/**
|
|
1263
|
-
*
|
|
1264
|
-
*
|
|
1265
|
-
* The dispatch origin of this call must be signed by the controller account, similar to
|
|
1266
|
-
* `staking::unbond`.
|
|
1267
|
-
*
|
|
1268
|
-
* The stash associated with the origin must have no ongoing unlocking chunks. If
|
|
1269
|
-
* successful, this will fully unbond and chill the stash. Then, it will enqueue the stash
|
|
1270
|
-
* to be checked in further blocks.
|
|
1271
|
-
*
|
|
1272
|
-
* If by the time this is called, the stash is actually eligible for fast-unstake, then
|
|
1273
|
-
* they are guaranteed to remain eligible, because the call will chill them as well.
|
|
1274
|
-
*
|
|
1275
|
-
* If the check works, the entire staking data is removed, i.e. the stash is fully
|
|
1276
|
-
* unstaked.
|
|
1277
|
-
*
|
|
1278
|
-
* If the check fails, the stash remains chilled and waiting for being unbonded as in with
|
|
1279
|
-
* the normal staking system, but they lose part of their unbonding chunks due to consuming
|
|
1280
|
-
* the chain's resources.
|
|
711
|
+
* See [`Pallet::register_fast_unstake`].
|
|
1281
712
|
**/
|
|
1282
713
|
registerFastUnstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1283
714
|
/**
|
|
@@ -1287,13 +718,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1287
718
|
};
|
|
1288
719
|
fellowshipCollective: {
|
|
1289
720
|
/**
|
|
1290
|
-
*
|
|
1291
|
-
*
|
|
1292
|
-
* - `origin`: Must be the `AdminOrigin`.
|
|
1293
|
-
* - `who`: Account of non-member which will become a member.
|
|
1294
|
-
* - `rank`: The rank to give the new member.
|
|
1295
|
-
*
|
|
1296
|
-
* Weight: `O(1)`
|
|
721
|
+
* See [`Pallet::add_member`].
|
|
1297
722
|
**/
|
|
1298
723
|
addMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
1299
724
|
Id: any;
|
|
@@ -1307,26 +732,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1307
732
|
Address20: any;
|
|
1308
733
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1309
734
|
/**
|
|
1310
|
-
*
|
|
1311
|
-
*
|
|
1312
|
-
* - `origin`: Must be `Signed` by any account.
|
|
1313
|
-
* - `poll_index`: Index of a poll which is completed and for which votes continue to
|
|
1314
|
-
* exist.
|
|
1315
|
-
* - `max`: Maximum number of vote items from remove in this call.
|
|
1316
|
-
*
|
|
1317
|
-
* Transaction fees are waived if the operation is successful.
|
|
1318
|
-
*
|
|
1319
|
-
* Weight `O(max)` (less if there are fewer items to remove than `max`).
|
|
735
|
+
* See [`Pallet::cleanup_poll`].
|
|
1320
736
|
**/
|
|
1321
737
|
cleanupPoll: AugmentedSubmittable<(pollIndex: u32 | AnyNumber | Uint8Array, max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
1322
738
|
/**
|
|
1323
|
-
*
|
|
1324
|
-
* then they are removed entirely.
|
|
1325
|
-
*
|
|
1326
|
-
* - `origin`: Must be the `AdminOrigin`.
|
|
1327
|
-
* - `who`: Account of existing member of rank greater than zero.
|
|
1328
|
-
*
|
|
1329
|
-
* Weight: `O(1)`, less if the member's index is highest in its rank.
|
|
739
|
+
* See [`Pallet::demote_member`].
|
|
1330
740
|
**/
|
|
1331
741
|
demoteMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
1332
742
|
Id: any;
|
|
@@ -1340,12 +750,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1340
750
|
Address20: any;
|
|
1341
751
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1342
752
|
/**
|
|
1343
|
-
*
|
|
1344
|
-
*
|
|
1345
|
-
* - `origin`: Must be the `AdminOrigin`.
|
|
1346
|
-
* - `who`: Account of existing member.
|
|
1347
|
-
*
|
|
1348
|
-
* Weight: `O(1)`
|
|
753
|
+
* See [`Pallet::promote_member`].
|
|
1349
754
|
**/
|
|
1350
755
|
promoteMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
1351
756
|
Id: any;
|
|
@@ -1359,13 +764,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1359
764
|
Address20: any;
|
|
1360
765
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1361
766
|
/**
|
|
1362
|
-
*
|
|
1363
|
-
*
|
|
1364
|
-
* - `origin`: Must be the `AdminOrigin`.
|
|
1365
|
-
* - `who`: Account of existing member of rank greater than zero.
|
|
1366
|
-
* - `min_rank`: The rank of the member or greater.
|
|
1367
|
-
*
|
|
1368
|
-
* Weight: `O(min_rank)`.
|
|
767
|
+
* See [`Pallet::remove_member`].
|
|
1369
768
|
**/
|
|
1370
769
|
removeMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
1371
770
|
Id: any;
|
|
@@ -1379,17 +778,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1379
778
|
Address20: any;
|
|
1380
779
|
} | string | Uint8Array, minRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16]>;
|
|
1381
780
|
/**
|
|
1382
|
-
*
|
|
1383
|
-
*
|
|
1384
|
-
* - `origin`: Must be `Signed` by a member account.
|
|
1385
|
-
* - `poll`: Index of a poll which is ongoing.
|
|
1386
|
-
* - `aye`: `true` if the vote is to approve the proposal, `false` otherwise.
|
|
1387
|
-
*
|
|
1388
|
-
* Transaction fees are be waived if the member is voting on any particular proposal
|
|
1389
|
-
* for the first time and the call is successful. Subsequent vote changes will charge a
|
|
1390
|
-
* fee.
|
|
1391
|
-
*
|
|
1392
|
-
* Weight: `O(1)`, less if there was no previous vote on the poll by the member.
|
|
781
|
+
* See [`Pallet::vote`].
|
|
1393
782
|
**/
|
|
1394
783
|
vote: AugmentedSubmittable<(poll: u32 | AnyNumber | Uint8Array, aye: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;
|
|
1395
784
|
/**
|
|
@@ -1399,93 +788,39 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1399
788
|
};
|
|
1400
789
|
fellowshipReferenda: {
|
|
1401
790
|
/**
|
|
1402
|
-
*
|
|
1403
|
-
*
|
|
1404
|
-
* - `origin`: must be the `CancelOrigin`.
|
|
1405
|
-
* - `index`: The index of the referendum to be cancelled.
|
|
1406
|
-
*
|
|
1407
|
-
* Emits `Cancelled`.
|
|
791
|
+
* See [`Pallet::cancel`].
|
|
1408
792
|
**/
|
|
1409
793
|
cancel: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1410
794
|
/**
|
|
1411
|
-
*
|
|
1412
|
-
*
|
|
1413
|
-
* - `origin`: must be the `KillOrigin`.
|
|
1414
|
-
* - `index`: The index of the referendum to be cancelled.
|
|
1415
|
-
*
|
|
1416
|
-
* Emits `Killed` and `DepositSlashed`.
|
|
795
|
+
* See [`Pallet::kill`].
|
|
1417
796
|
**/
|
|
1418
797
|
kill: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1419
798
|
/**
|
|
1420
|
-
*
|
|
1421
|
-
*
|
|
1422
|
-
* - `origin`: must be `Root`.
|
|
1423
|
-
* - `index`: the referendum to be advanced.
|
|
799
|
+
* See [`Pallet::nudge_referendum`].
|
|
1424
800
|
**/
|
|
1425
801
|
nudgeReferendum: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1426
802
|
/**
|
|
1427
|
-
*
|
|
1428
|
-
*
|
|
1429
|
-
* - `origin`: must be `Root`.
|
|
1430
|
-
* - `track`: the track to be advanced.
|
|
1431
|
-
*
|
|
1432
|
-
* Action item for when there is now one fewer referendum in the deciding phase and the
|
|
1433
|
-
* `DecidingCount` is not yet updated. This means that we should either:
|
|
1434
|
-
* - begin deciding another referendum (and leave `DecidingCount` alone); or
|
|
1435
|
-
* - decrement `DecidingCount`.
|
|
803
|
+
* See [`Pallet::one_fewer_deciding`].
|
|
1436
804
|
**/
|
|
1437
805
|
oneFewerDeciding: AugmentedSubmittable<(track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
|
|
1438
806
|
/**
|
|
1439
|
-
*
|
|
1440
|
-
*
|
|
1441
|
-
* - `origin`: must be `Signed` and the account must have funds available for the
|
|
1442
|
-
* referendum's track's Decision Deposit.
|
|
1443
|
-
* - `index`: The index of the submitted referendum whose Decision Deposit is yet to be
|
|
1444
|
-
* posted.
|
|
1445
|
-
*
|
|
1446
|
-
* Emits `DecisionDepositPlaced`.
|
|
807
|
+
* See [`Pallet::place_decision_deposit`].
|
|
1447
808
|
**/
|
|
1448
809
|
placeDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1449
810
|
/**
|
|
1450
|
-
*
|
|
1451
|
-
*
|
|
1452
|
-
* - `origin`: must be `Signed` or `Root`.
|
|
1453
|
-
* - `index`: The index of a closed referendum whose Decision Deposit has not yet been
|
|
1454
|
-
* refunded.
|
|
1455
|
-
*
|
|
1456
|
-
* Emits `DecisionDepositRefunded`.
|
|
811
|
+
* See [`Pallet::refund_decision_deposit`].
|
|
1457
812
|
**/
|
|
1458
813
|
refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1459
814
|
/**
|
|
1460
|
-
*
|
|
1461
|
-
*
|
|
1462
|
-
* - `origin`: must be `Signed` or `Root`.
|
|
1463
|
-
* - `index`: The index of a closed referendum whose Submission Deposit has not yet been
|
|
1464
|
-
* refunded.
|
|
1465
|
-
*
|
|
1466
|
-
* Emits `SubmissionDepositRefunded`.
|
|
815
|
+
* See [`Pallet::refund_submission_deposit`].
|
|
1467
816
|
**/
|
|
1468
817
|
refundSubmissionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1469
818
|
/**
|
|
1470
|
-
*
|
|
1471
|
-
*
|
|
1472
|
-
* Parameters:
|
|
1473
|
-
* - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a
|
|
1474
|
-
* metadata of a finished referendum.
|
|
1475
|
-
* - `index`: The index of a referendum to set or clear metadata for.
|
|
1476
|
-
* - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata.
|
|
819
|
+
* See [`Pallet::set_metadata`].
|
|
1477
820
|
**/
|
|
1478
821
|
setMetadata: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, maybeHash: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [u32, Option<H256>]>;
|
|
1479
822
|
/**
|
|
1480
|
-
*
|
|
1481
|
-
*
|
|
1482
|
-
* - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds
|
|
1483
|
-
* available.
|
|
1484
|
-
* - `proposal_origin`: The origin from which the proposal should be executed.
|
|
1485
|
-
* - `proposal`: The proposal.
|
|
1486
|
-
* - `enactment_moment`: The moment that the proposal should be enacted.
|
|
1487
|
-
*
|
|
1488
|
-
* Emits `Submitted`.
|
|
823
|
+
* See [`Pallet::submit`].
|
|
1489
824
|
**/
|
|
1490
825
|
submit: AugmentedSubmittable<(proposalOrigin: KusamaRuntimeOriginCaller | {
|
|
1491
826
|
system: any;
|
|
@@ -1515,25 +850,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1515
850
|
};
|
|
1516
851
|
grandpa: {
|
|
1517
852
|
/**
|
|
1518
|
-
*
|
|
1519
|
-
*
|
|
1520
|
-
* This will trigger a forced authority set change at the beginning of the next session, to
|
|
1521
|
-
* be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
|
|
1522
|
-
* that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
|
|
1523
|
-
* The block production rate (which may be slowed down because of finality lagging) should
|
|
1524
|
-
* be taken into account when choosing the `delay`. The GRANDPA voters based on the new
|
|
1525
|
-
* authority will start voting on top of `best_finalized_block_number` for new finalized
|
|
1526
|
-
* blocks. `best_finalized_block_number` should be the highest of the latest finalized
|
|
1527
|
-
* block of all validators of the new authority set.
|
|
1528
|
-
*
|
|
1529
|
-
* Only callable by root.
|
|
853
|
+
* See [`Pallet::note_stalled`].
|
|
1530
854
|
**/
|
|
1531
855
|
noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
1532
856
|
/**
|
|
1533
|
-
*
|
|
1534
|
-
* equivocation proof and validate the given key ownership proof
|
|
1535
|
-
* against the extracted offender. If both are valid, the offence
|
|
1536
|
-
* will be reported.
|
|
857
|
+
* See [`Pallet::report_equivocation`].
|
|
1537
858
|
**/
|
|
1538
859
|
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | {
|
|
1539
860
|
setId?: any;
|
|
@@ -1544,15 +865,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1544
865
|
validatorCount?: any;
|
|
1545
866
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof]>;
|
|
1546
867
|
/**
|
|
1547
|
-
*
|
|
1548
|
-
* equivocation proof and validate the given key ownership proof
|
|
1549
|
-
* against the extracted offender. If both are valid, the offence
|
|
1550
|
-
* will be reported.
|
|
1551
|
-
*
|
|
1552
|
-
* This extrinsic must be called unsigned and it is expected that only
|
|
1553
|
-
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
1554
|
-
* if the block author is defined it will be defined as the equivocation
|
|
1555
|
-
* reporter.
|
|
868
|
+
* See [`Pallet::report_equivocation_unsigned`].
|
|
1556
869
|
**/
|
|
1557
870
|
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | {
|
|
1558
871
|
setId?: any;
|
|
@@ -1569,83 +882,41 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1569
882
|
};
|
|
1570
883
|
hrmp: {
|
|
1571
884
|
/**
|
|
1572
|
-
*
|
|
1573
|
-
* a para may have. Normally this happens once per session, but this allows
|
|
1574
|
-
* you to trigger the cleanup immediately for a specific parachain.
|
|
1575
|
-
*
|
|
1576
|
-
* Origin must be Root.
|
|
1577
|
-
*
|
|
1578
|
-
* Number of inbound and outbound channels for `para` must be provided as witness data of weighing.
|
|
885
|
+
* See [`Pallet::force_clean_hrmp`].
|
|
1579
886
|
**/
|
|
1580
887
|
forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, inbound: u32 | AnyNumber | Uint8Array, outbound: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
|
|
1581
888
|
/**
|
|
1582
|
-
*
|
|
1583
|
-
* opened by Root, the `max_capacity` and `max_message_size` are still subject to the Relay
|
|
1584
|
-
* Chain's configured limits.
|
|
1585
|
-
*
|
|
1586
|
-
* Expected use is when one of the `ParaId`s involved in the channel is governed by the
|
|
1587
|
-
* Relay Chain, e.g. a common good parachain.
|
|
889
|
+
* See [`Pallet::force_open_hrmp_channel`].
|
|
1588
890
|
**/
|
|
1589
891
|
forceOpenHrmpChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array, maxCapacity: u32 | AnyNumber | Uint8Array, maxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u32]>;
|
|
1590
892
|
/**
|
|
1591
|
-
*
|
|
1592
|
-
*
|
|
1593
|
-
* If there are pending HRMP close channel requests, you can use this
|
|
1594
|
-
* function process all of those requests immediately.
|
|
1595
|
-
*
|
|
1596
|
-
* Total number of closing channels must be provided as witness data of weighing.
|
|
893
|
+
* See [`Pallet::force_process_hrmp_close`].
|
|
1597
894
|
**/
|
|
1598
895
|
forceProcessHrmpClose: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1599
896
|
/**
|
|
1600
|
-
*
|
|
1601
|
-
*
|
|
1602
|
-
* If there are pending HRMP open channel requests, you can use this
|
|
1603
|
-
* function process all of those requests immediately.
|
|
1604
|
-
*
|
|
1605
|
-
* Total number of opening channels must be provided as witness data of weighing.
|
|
897
|
+
* See [`Pallet::force_process_hrmp_open`].
|
|
1606
898
|
**/
|
|
1607
899
|
forceProcessHrmpOpen: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1608
900
|
/**
|
|
1609
|
-
*
|
|
1610
|
-
*
|
|
1611
|
-
* The channel will be opened only on the next session boundary.
|
|
901
|
+
* See [`Pallet::hrmp_accept_open_channel`].
|
|
1612
902
|
**/
|
|
1613
903
|
hrmpAcceptOpenChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1614
904
|
/**
|
|
1615
|
-
*
|
|
1616
|
-
* or the recipient for that request. The origin must be either of those.
|
|
1617
|
-
*
|
|
1618
|
-
* The cancellation happens immediately. It is not possible to cancel the request if it is
|
|
1619
|
-
* already accepted.
|
|
1620
|
-
*
|
|
1621
|
-
* Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as
|
|
1622
|
-
* witness data.
|
|
905
|
+
* See [`Pallet::hrmp_cancel_open_request`].
|
|
1623
906
|
**/
|
|
1624
907
|
hrmpCancelOpenRequest: AugmentedSubmittable<(channelId: PolkadotParachainPrimitivesHrmpChannelId | {
|
|
1625
908
|
sender?: any;
|
|
1626
909
|
recipient?: any;
|
|
1627
910
|
} | string | Uint8Array, openRequests: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotParachainPrimitivesHrmpChannelId, u32]>;
|
|
1628
911
|
/**
|
|
1629
|
-
*
|
|
1630
|
-
* recipient in the channel being closed.
|
|
1631
|
-
*
|
|
1632
|
-
* The closure can only happen on a session change.
|
|
912
|
+
* See [`Pallet::hrmp_close_channel`].
|
|
1633
913
|
**/
|
|
1634
914
|
hrmpCloseChannel: AugmentedSubmittable<(channelId: PolkadotParachainPrimitivesHrmpChannelId | {
|
|
1635
915
|
sender?: any;
|
|
1636
916
|
recipient?: any;
|
|
1637
917
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotParachainPrimitivesHrmpChannelId]>;
|
|
1638
918
|
/**
|
|
1639
|
-
*
|
|
1640
|
-
* parameters.
|
|
1641
|
-
*
|
|
1642
|
-
* - `proposed_max_capacity` - specifies how many messages can be in the channel at once.
|
|
1643
|
-
* - `proposed_max_message_size` - specifies the maximum size of the messages.
|
|
1644
|
-
*
|
|
1645
|
-
* These numbers are a subject to the relay-chain configuration limits.
|
|
1646
|
-
*
|
|
1647
|
-
* The channel can be opened only after the recipient confirms it and only on a session
|
|
1648
|
-
* change.
|
|
919
|
+
* See [`Pallet::hrmp_init_open_channel`].
|
|
1649
920
|
**/
|
|
1650
921
|
hrmpInitOpenChannel: AugmentedSubmittable<(recipient: u32 | AnyNumber | Uint8Array, proposedMaxCapacity: u32 | AnyNumber | Uint8Array, proposedMaxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
|
|
1651
922
|
/**
|
|
@@ -1655,16 +926,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1655
926
|
};
|
|
1656
927
|
identity: {
|
|
1657
928
|
/**
|
|
1658
|
-
*
|
|
1659
|
-
*
|
|
1660
|
-
* The dispatch origin for this call must be `T::RegistrarOrigin`.
|
|
1661
|
-
*
|
|
1662
|
-
* - `account`: the account of the registrar.
|
|
1663
|
-
*
|
|
1664
|
-
* Emits `RegistrarAdded` if successful.
|
|
1665
|
-
*
|
|
1666
|
-
* ## Complexity
|
|
1667
|
-
* - `O(R)` where `R` registrar-count (governance-bounded and code-bounded).
|
|
929
|
+
* See [`Pallet::add_registrar`].
|
|
1668
930
|
**/
|
|
1669
931
|
addRegistrar: AugmentedSubmittable<(account: MultiAddress | {
|
|
1670
932
|
Id: any;
|
|
@@ -1678,13 +940,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1678
940
|
Address20: any;
|
|
1679
941
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1680
942
|
/**
|
|
1681
|
-
*
|
|
1682
|
-
*
|
|
1683
|
-
* Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
|
|
1684
|
-
* to the sender.
|
|
1685
|
-
*
|
|
1686
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
1687
|
-
* sub identity of `sub`.
|
|
943
|
+
* See [`Pallet::add_sub`].
|
|
1688
944
|
**/
|
|
1689
945
|
addSub: AugmentedSubmittable<(sub: MultiAddress | {
|
|
1690
946
|
Id: any;
|
|
@@ -1710,59 +966,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1710
966
|
ShaThree256: any;
|
|
1711
967
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
|
|
1712
968
|
/**
|
|
1713
|
-
*
|
|
1714
|
-
*
|
|
1715
|
-
* Payment: A previously reserved deposit is returned on success.
|
|
1716
|
-
*
|
|
1717
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a
|
|
1718
|
-
* registered identity.
|
|
1719
|
-
*
|
|
1720
|
-
* - `reg_index`: The index of the registrar whose judgement is no longer requested.
|
|
1721
|
-
*
|
|
1722
|
-
* Emits `JudgementUnrequested` if successful.
|
|
1723
|
-
*
|
|
1724
|
-
* ## Complexity
|
|
1725
|
-
* - `O(R + X)`.
|
|
1726
|
-
* - where `R` registrar-count (governance-bounded).
|
|
1727
|
-
* - where `X` additional-field-count (deposit-bounded and code-bounded).
|
|
969
|
+
* See [`Pallet::cancel_request`].
|
|
1728
970
|
**/
|
|
1729
971
|
cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1730
972
|
/**
|
|
1731
|
-
*
|
|
1732
|
-
*
|
|
1733
|
-
* Payment: All reserved balances on the account are returned.
|
|
1734
|
-
*
|
|
1735
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
1736
|
-
* identity.
|
|
1737
|
-
*
|
|
1738
|
-
* Emits `IdentityCleared` if successful.
|
|
1739
|
-
*
|
|
1740
|
-
* ## Complexity
|
|
1741
|
-
* - `O(R + S + X)`
|
|
1742
|
-
* - where `R` registrar-count (governance-bounded).
|
|
1743
|
-
* - where `S` subs-count (hard- and deposit-bounded).
|
|
1744
|
-
* - where `X` additional-field-count (deposit-bounded and code-bounded).
|
|
973
|
+
* See [`Pallet::clear_identity`].
|
|
1745
974
|
**/
|
|
1746
975
|
clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1747
976
|
/**
|
|
1748
|
-
*
|
|
1749
|
-
*
|
|
1750
|
-
* Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by
|
|
1751
|
-
* `Slash`. Verification request deposits are not returned; they should be cancelled
|
|
1752
|
-
* manually using `cancel_request`.
|
|
1753
|
-
*
|
|
1754
|
-
* The dispatch origin for this call must match `T::ForceOrigin`.
|
|
1755
|
-
*
|
|
1756
|
-
* - `target`: the account whose identity the judgement is upon. This must be an account
|
|
1757
|
-
* with a registered identity.
|
|
1758
|
-
*
|
|
1759
|
-
* Emits `IdentityKilled` if successful.
|
|
1760
|
-
*
|
|
1761
|
-
* ## Complexity
|
|
1762
|
-
* - `O(R + S + X)`
|
|
1763
|
-
* - where `R` registrar-count (governance-bounded).
|
|
1764
|
-
* - where `S` subs-count (hard- and deposit-bounded).
|
|
1765
|
-
* - where `X` additional-field-count (deposit-bounded and code-bounded).
|
|
977
|
+
* See [`Pallet::kill_identity`].
|
|
1766
978
|
**/
|
|
1767
979
|
killIdentity: AugmentedSubmittable<(target: MultiAddress | {
|
|
1768
980
|
Id: any;
|
|
@@ -1776,23 +988,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1776
988
|
Address20: any;
|
|
1777
989
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1778
990
|
/**
|
|
1779
|
-
*
|
|
1780
|
-
*
|
|
1781
|
-
* The dispatch origin for this call must be _Signed_ and the sender must be the account
|
|
1782
|
-
* of the registrar whose index is `reg_index`.
|
|
1783
|
-
*
|
|
1784
|
-
* - `reg_index`: the index of the registrar whose judgement is being made.
|
|
1785
|
-
* - `target`: the account whose identity the judgement is upon. This must be an account
|
|
1786
|
-
* with a registered identity.
|
|
1787
|
-
* - `judgement`: the judgement of the registrar of index `reg_index` about `target`.
|
|
1788
|
-
* - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.
|
|
1789
|
-
*
|
|
1790
|
-
* Emits `JudgementGiven` if successful.
|
|
1791
|
-
*
|
|
1792
|
-
* ## Complexity
|
|
1793
|
-
* - `O(R + X)`.
|
|
1794
|
-
* - where `R` registrar-count (governance-bounded).
|
|
1795
|
-
* - where `X` additional-field-count (deposit-bounded and code-bounded).
|
|
991
|
+
* See [`Pallet::provide_judgement`].
|
|
1796
992
|
**/
|
|
1797
993
|
provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | {
|
|
1798
994
|
Id: any;
|
|
@@ -1820,26 +1016,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1820
1016
|
Erroneous: any;
|
|
1821
1017
|
} | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;
|
|
1822
1018
|
/**
|
|
1823
|
-
*
|
|
1824
|
-
*
|
|
1825
|
-
* Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
|
|
1826
|
-
* to the sender (*not* the original depositor).
|
|
1827
|
-
*
|
|
1828
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
1829
|
-
* super-identity.
|
|
1830
|
-
*
|
|
1831
|
-
* NOTE: This should not normally be used, but is provided in the case that the non-
|
|
1832
|
-
* controller of an account is maliciously registered as a sub-account.
|
|
1019
|
+
* See [`Pallet::quit_sub`].
|
|
1833
1020
|
**/
|
|
1834
1021
|
quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1835
1022
|
/**
|
|
1836
|
-
*
|
|
1837
|
-
*
|
|
1838
|
-
* Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
|
|
1839
|
-
* to the sender.
|
|
1840
|
-
*
|
|
1841
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
1842
|
-
* sub identity of `sub`.
|
|
1023
|
+
* See [`Pallet::remove_sub`].
|
|
1843
1024
|
**/
|
|
1844
1025
|
removeSub: AugmentedSubmittable<(sub: MultiAddress | {
|
|
1845
1026
|
Id: any;
|
|
@@ -1853,10 +1034,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1853
1034
|
Address20: any;
|
|
1854
1035
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1855
1036
|
/**
|
|
1856
|
-
*
|
|
1857
|
-
*
|
|
1858
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
1859
|
-
* sub identity of `sub`.
|
|
1037
|
+
* See [`Pallet::rename_sub`].
|
|
1860
1038
|
**/
|
|
1861
1039
|
renameSub: AugmentedSubmittable<(sub: MultiAddress | {
|
|
1862
1040
|
Id: any;
|
|
@@ -1882,41 +1060,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1882
1060
|
ShaThree256: any;
|
|
1883
1061
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
|
|
1884
1062
|
/**
|
|
1885
|
-
*
|
|
1886
|
-
*
|
|
1887
|
-
* Payment: At most `max_fee` will be reserved for payment to the registrar if judgement
|
|
1888
|
-
* given.
|
|
1889
|
-
*
|
|
1890
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a
|
|
1891
|
-
* registered identity.
|
|
1892
|
-
*
|
|
1893
|
-
* - `reg_index`: The index of the registrar whose judgement is requested.
|
|
1894
|
-
* - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
|
|
1895
|
-
*
|
|
1896
|
-
* ```nocompile
|
|
1897
|
-
* Self::registrars().get(reg_index).unwrap().fee
|
|
1898
|
-
* ```
|
|
1899
|
-
*
|
|
1900
|
-
* Emits `JudgementRequested` if successful.
|
|
1901
|
-
*
|
|
1902
|
-
* ## Complexity
|
|
1903
|
-
* - `O(R + X)`.
|
|
1904
|
-
* - where `R` registrar-count (governance-bounded).
|
|
1905
|
-
* - where `X` additional-field-count (deposit-bounded and code-bounded).
|
|
1063
|
+
* See [`Pallet::request_judgement`].
|
|
1906
1064
|
**/
|
|
1907
1065
|
requestJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, maxFee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;
|
|
1908
1066
|
/**
|
|
1909
|
-
*
|
|
1910
|
-
*
|
|
1911
|
-
* The dispatch origin for this call must be _Signed_ and the sender must be the account
|
|
1912
|
-
* of the registrar whose index is `index`.
|
|
1913
|
-
*
|
|
1914
|
-
* - `index`: the index of the registrar whose fee is to be set.
|
|
1915
|
-
* - `new`: the new account ID.
|
|
1916
|
-
*
|
|
1917
|
-
* ## Complexity
|
|
1918
|
-
* - `O(R)`.
|
|
1919
|
-
* - where `R` registrar-count (governance-bounded).
|
|
1067
|
+
* See [`Pallet::set_account_id`].
|
|
1920
1068
|
**/
|
|
1921
1069
|
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | {
|
|
1922
1070
|
Id: any;
|
|
@@ -1930,49 +1078,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1930
1078
|
Address20: any;
|
|
1931
1079
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
|
1932
1080
|
/**
|
|
1933
|
-
*
|
|
1934
|
-
*
|
|
1935
|
-
* The dispatch origin for this call must be _Signed_ and the sender must be the account
|
|
1936
|
-
* of the registrar whose index is `index`.
|
|
1937
|
-
*
|
|
1938
|
-
* - `index`: the index of the registrar whose fee is to be set.
|
|
1939
|
-
* - `fee`: the new fee.
|
|
1940
|
-
*
|
|
1941
|
-
* ## Complexity
|
|
1942
|
-
* - `O(R)`.
|
|
1943
|
-
* - where `R` registrar-count (governance-bounded).
|
|
1081
|
+
* See [`Pallet::set_fee`].
|
|
1944
1082
|
**/
|
|
1945
1083
|
setFee: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;
|
|
1946
1084
|
/**
|
|
1947
|
-
*
|
|
1948
|
-
*
|
|
1949
|
-
* The dispatch origin for this call must be _Signed_ and the sender must be the account
|
|
1950
|
-
* of the registrar whose index is `index`.
|
|
1951
|
-
*
|
|
1952
|
-
* - `index`: the index of the registrar whose fee is to be set.
|
|
1953
|
-
* - `fields`: the fields that the registrar concerns themselves with.
|
|
1954
|
-
*
|
|
1955
|
-
* ## Complexity
|
|
1956
|
-
* - `O(R)`.
|
|
1957
|
-
* - where `R` registrar-count (governance-bounded).
|
|
1085
|
+
* See [`Pallet::set_fields`].
|
|
1958
1086
|
**/
|
|
1959
1087
|
setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;
|
|
1960
1088
|
/**
|
|
1961
|
-
*
|
|
1962
|
-
*
|
|
1963
|
-
* If the account already has identity information, the deposit is taken as part payment
|
|
1964
|
-
* for the new deposit.
|
|
1965
|
-
*
|
|
1966
|
-
* The dispatch origin for this call must be _Signed_.
|
|
1967
|
-
*
|
|
1968
|
-
* - `info`: The identity information.
|
|
1969
|
-
*
|
|
1970
|
-
* Emits `IdentitySet` if successful.
|
|
1971
|
-
*
|
|
1972
|
-
* ## Complexity
|
|
1973
|
-
* - `O(X + X' + R)`
|
|
1974
|
-
* - where `X` additional-field-count (deposit-bounded and code-bounded)
|
|
1975
|
-
* - where `R` judgements-count (registrar-count-bounded)
|
|
1089
|
+
* See [`Pallet::set_identity`].
|
|
1976
1090
|
**/
|
|
1977
1091
|
setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | {
|
|
1978
1092
|
additional?: any;
|
|
@@ -1986,20 +1100,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1986
1100
|
twitter?: any;
|
|
1987
1101
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityIdentityInfo]>;
|
|
1988
1102
|
/**
|
|
1989
|
-
*
|
|
1990
|
-
*
|
|
1991
|
-
* Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned
|
|
1992
|
-
* and an amount `SubAccountDeposit` will be reserved for each item in `subs`.
|
|
1993
|
-
*
|
|
1994
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have a registered
|
|
1995
|
-
* identity.
|
|
1996
|
-
*
|
|
1997
|
-
* - `subs`: The identity's (new) sub-accounts.
|
|
1998
|
-
*
|
|
1999
|
-
* ## Complexity
|
|
2000
|
-
* - `O(P + S)`
|
|
2001
|
-
* - where `P` old-subs-count (hard- and deposit-bounded).
|
|
2002
|
-
* - where `S` subs-count (hard- and deposit-bounded).
|
|
1103
|
+
* See [`Pallet::set_subs`].
|
|
2003
1104
|
**/
|
|
2004
1105
|
setSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | {
|
|
2005
1106
|
None: any;
|
|
@@ -2021,11 +1122,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2021
1122
|
};
|
|
2022
1123
|
imOnline: {
|
|
2023
1124
|
/**
|
|
2024
|
-
*
|
|
2025
|
-
* - `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of
|
|
2026
|
-
* `heartbeat.network_state.external_address`
|
|
2027
|
-
* - `O(K)`: decoding of length `K`
|
|
2028
|
-
* - `O(E)`: decoding/encoding of length `E`
|
|
1125
|
+
* See [`Pallet::heartbeat`].
|
|
2029
1126
|
**/
|
|
2030
1127
|
heartbeat: AugmentedSubmittable<(heartbeat: PalletImOnlineHeartbeat | {
|
|
2031
1128
|
blockNumber?: any;
|
|
@@ -2041,34 +1138,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2041
1138
|
};
|
|
2042
1139
|
indices: {
|
|
2043
1140
|
/**
|
|
2044
|
-
*
|
|
2045
|
-
*
|
|
2046
|
-
* Payment: `Deposit` is reserved from the sender account.
|
|
2047
|
-
*
|
|
2048
|
-
* The dispatch origin for this call must be _Signed_.
|
|
2049
|
-
*
|
|
2050
|
-
* - `index`: the index to be claimed. This must not be in use.
|
|
2051
|
-
*
|
|
2052
|
-
* Emits `IndexAssigned` if successful.
|
|
2053
|
-
*
|
|
2054
|
-
* ## Complexity
|
|
2055
|
-
* - `O(1)`.
|
|
1141
|
+
* See [`Pallet::claim`].
|
|
2056
1142
|
**/
|
|
2057
1143
|
claim: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2058
1144
|
/**
|
|
2059
|
-
*
|
|
2060
|
-
* held, then any deposit is reimbursed to its current owner.
|
|
2061
|
-
*
|
|
2062
|
-
* The dispatch origin for this call must be _Root_.
|
|
2063
|
-
*
|
|
2064
|
-
* - `index`: the index to be (re-)assigned.
|
|
2065
|
-
* - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
|
|
2066
|
-
* - `freeze`: if set to `true`, will freeze the index so it cannot be transferred.
|
|
2067
|
-
*
|
|
2068
|
-
* Emits `IndexAssigned` if successful.
|
|
2069
|
-
*
|
|
2070
|
-
* ## Complexity
|
|
2071
|
-
* - `O(1)`.
|
|
1145
|
+
* See [`Pallet::force_transfer`].
|
|
2072
1146
|
**/
|
|
2073
1147
|
forceTransfer: AugmentedSubmittable<(updated: MultiAddress | {
|
|
2074
1148
|
Id: any;
|
|
@@ -2082,48 +1156,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2082
1156
|
Address20: any;
|
|
2083
1157
|
} | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, bool]>;
|
|
2084
1158
|
/**
|
|
2085
|
-
*
|
|
2086
|
-
*
|
|
2087
|
-
* Payment: Any previous deposit placed for the index is unreserved in the sender account.
|
|
2088
|
-
*
|
|
2089
|
-
* The dispatch origin for this call must be _Signed_ and the sender must own the index.
|
|
2090
|
-
*
|
|
2091
|
-
* - `index`: the index to be freed. This must be owned by the sender.
|
|
2092
|
-
*
|
|
2093
|
-
* Emits `IndexFreed` if successful.
|
|
2094
|
-
*
|
|
2095
|
-
* ## Complexity
|
|
2096
|
-
* - `O(1)`.
|
|
1159
|
+
* See [`Pallet::free`].
|
|
2097
1160
|
**/
|
|
2098
1161
|
free: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2099
1162
|
/**
|
|
2100
|
-
*
|
|
2101
|
-
* deposit.
|
|
2102
|
-
*
|
|
2103
|
-
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
|
2104
|
-
* non-frozen account `index`.
|
|
2105
|
-
*
|
|
2106
|
-
* - `index`: the index to be frozen in place.
|
|
2107
|
-
*
|
|
2108
|
-
* Emits `IndexFrozen` if successful.
|
|
2109
|
-
*
|
|
2110
|
-
* ## Complexity
|
|
2111
|
-
* - `O(1)`.
|
|
1163
|
+
* See [`Pallet::freeze`].
|
|
2112
1164
|
**/
|
|
2113
1165
|
freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2114
1166
|
/**
|
|
2115
|
-
*
|
|
2116
|
-
* is effectively transferred to the new account.
|
|
2117
|
-
*
|
|
2118
|
-
* The dispatch origin for this call must be _Signed_.
|
|
2119
|
-
*
|
|
2120
|
-
* - `index`: the index to be re-assigned. This must be owned by the sender.
|
|
2121
|
-
* - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
|
|
2122
|
-
*
|
|
2123
|
-
* Emits `IndexAssigned` if successful.
|
|
2124
|
-
*
|
|
2125
|
-
* ## Complexity
|
|
2126
|
-
* - `O(1)`.
|
|
1167
|
+
* See [`Pallet::transfer`].
|
|
2127
1168
|
**/
|
|
2128
1169
|
transfer: AugmentedSubmittable<(updated: MultiAddress | {
|
|
2129
1170
|
Id: any;
|
|
@@ -2143,9 +1184,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2143
1184
|
};
|
|
2144
1185
|
initializer: {
|
|
2145
1186
|
/**
|
|
2146
|
-
*
|
|
2147
|
-
* blocks in all relay chain blocks up to and including the given number in the current
|
|
2148
|
-
* chain are valid and should be finalized.
|
|
1187
|
+
* See [`Pallet::force_approve`].
|
|
2149
1188
|
**/
|
|
2150
1189
|
forceApprove: AugmentedSubmittable<(upTo: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2151
1190
|
/**
|
|
@@ -2153,38 +1192,30 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2153
1192
|
**/
|
|
2154
1193
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2155
1194
|
};
|
|
1195
|
+
messageQueue: {
|
|
1196
|
+
/**
|
|
1197
|
+
* See [`Pallet::execute_overweight`].
|
|
1198
|
+
**/
|
|
1199
|
+
executeOverweight: AugmentedSubmittable<(messageOrigin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | {
|
|
1200
|
+
Ump: any;
|
|
1201
|
+
} | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
|
|
1202
|
+
refTime?: any;
|
|
1203
|
+
proofSize?: any;
|
|
1204
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight]>;
|
|
1205
|
+
/**
|
|
1206
|
+
* See [`Pallet::reap_page`].
|
|
1207
|
+
**/
|
|
1208
|
+
reapPage: AugmentedSubmittable<(messageOrigin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | {
|
|
1209
|
+
Ump: any;
|
|
1210
|
+
} | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, u32]>;
|
|
1211
|
+
/**
|
|
1212
|
+
* Generic tx
|
|
1213
|
+
**/
|
|
1214
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
1215
|
+
};
|
|
2156
1216
|
multisig: {
|
|
2157
1217
|
/**
|
|
2158
|
-
*
|
|
2159
|
-
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
2160
|
-
*
|
|
2161
|
-
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
2162
|
-
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
2163
|
-
* is cancelled.
|
|
2164
|
-
*
|
|
2165
|
-
* The dispatch origin for this call must be _Signed_.
|
|
2166
|
-
*
|
|
2167
|
-
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
2168
|
-
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
2169
|
-
* dispatch. May not be empty.
|
|
2170
|
-
* - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
|
|
2171
|
-
* not the first approval, then it must be `Some`, with the timepoint (block number and
|
|
2172
|
-
* transaction index) of the first approval transaction.
|
|
2173
|
-
* - `call_hash`: The hash of the call to be executed.
|
|
2174
|
-
*
|
|
2175
|
-
* NOTE: If this is the final approval, you will want to use `as_multi` instead.
|
|
2176
|
-
*
|
|
2177
|
-
* ## Complexity
|
|
2178
|
-
* - `O(S)`.
|
|
2179
|
-
* - Up to one balance-reserve or unreserve operation.
|
|
2180
|
-
* - One passthrough operation, one insert, both `O(S)` where `S` is the number of
|
|
2181
|
-
* signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
|
|
2182
|
-
* - One encode & hash, both of complexity `O(S)`.
|
|
2183
|
-
* - Up to one binary search and insert (`O(logS + S)`).
|
|
2184
|
-
* - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
|
|
2185
|
-
* - One event.
|
|
2186
|
-
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
2187
|
-
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
1218
|
+
* See [`Pallet::approve_as_multi`].
|
|
2188
1219
|
**/
|
|
2189
1220
|
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
2190
1221
|
height?: any;
|
|
@@ -2194,45 +1225,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2194
1225
|
proofSize?: any;
|
|
2195
1226
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]>;
|
|
2196
1227
|
/**
|
|
2197
|
-
*
|
|
2198
|
-
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
2199
|
-
*
|
|
2200
|
-
* If there are enough, then dispatch the call.
|
|
2201
|
-
*
|
|
2202
|
-
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
2203
|
-
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
2204
|
-
* is cancelled.
|
|
2205
|
-
*
|
|
2206
|
-
* The dispatch origin for this call must be _Signed_.
|
|
2207
|
-
*
|
|
2208
|
-
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
2209
|
-
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
2210
|
-
* dispatch. May not be empty.
|
|
2211
|
-
* - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
|
|
2212
|
-
* not the first approval, then it must be `Some`, with the timepoint (block number and
|
|
2213
|
-
* transaction index) of the first approval transaction.
|
|
2214
|
-
* - `call`: The call to be executed.
|
|
2215
|
-
*
|
|
2216
|
-
* NOTE: Unless this is the final approval, you will generally want to use
|
|
2217
|
-
* `approve_as_multi` instead, since it only requires a hash of the call.
|
|
2218
|
-
*
|
|
2219
|
-
* Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
|
|
2220
|
-
* on success, result is `Ok` and the result from the interior call, if it was executed,
|
|
2221
|
-
* may be found in the deposited `MultisigExecuted` event.
|
|
2222
|
-
*
|
|
2223
|
-
* ## Complexity
|
|
2224
|
-
* - `O(S + Z + Call)`.
|
|
2225
|
-
* - Up to one balance-reserve or unreserve operation.
|
|
2226
|
-
* - One passthrough operation, one insert, both `O(S)` where `S` is the number of
|
|
2227
|
-
* signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
|
|
2228
|
-
* - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len.
|
|
2229
|
-
* - One encode & hash, both of complexity `O(S)`.
|
|
2230
|
-
* - Up to one binary search and insert (`O(logS + S)`).
|
|
2231
|
-
* - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
|
|
2232
|
-
* - One event.
|
|
2233
|
-
* - The weight of the `call`.
|
|
2234
|
-
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
2235
|
-
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
1228
|
+
* See [`Pallet::as_multi`].
|
|
2236
1229
|
**/
|
|
2237
1230
|
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
2238
1231
|
height?: any;
|
|
@@ -2242,42 +1235,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2242
1235
|
proofSize?: any;
|
|
2243
1236
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]>;
|
|
2244
1237
|
/**
|
|
2245
|
-
*
|
|
2246
|
-
*
|
|
2247
|
-
* The dispatch origin for this call must be _Signed_.
|
|
2248
|
-
*
|
|
2249
|
-
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
2250
|
-
* multi-signature, but do not participate in the approval process.
|
|
2251
|
-
* - `call`: The call to be executed.
|
|
2252
|
-
*
|
|
2253
|
-
* Result is equivalent to the dispatched result.
|
|
2254
|
-
*
|
|
2255
|
-
* ## Complexity
|
|
2256
|
-
* O(Z + C) where Z is the length of the call and C its execution weight.
|
|
1238
|
+
* See [`Pallet::as_multi_threshold_1`].
|
|
2257
1239
|
**/
|
|
2258
1240
|
asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Call]>;
|
|
2259
1241
|
/**
|
|
2260
|
-
*
|
|
2261
|
-
* for this operation will be unreserved on success.
|
|
2262
|
-
*
|
|
2263
|
-
* The dispatch origin for this call must be _Signed_.
|
|
2264
|
-
*
|
|
2265
|
-
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
2266
|
-
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
2267
|
-
* dispatch. May not be empty.
|
|
2268
|
-
* - `timepoint`: The timepoint (block number and transaction index) of the first approval
|
|
2269
|
-
* transaction for this dispatch.
|
|
2270
|
-
* - `call_hash`: The hash of the call to be executed.
|
|
2271
|
-
*
|
|
2272
|
-
* ## Complexity
|
|
2273
|
-
* - `O(S)`.
|
|
2274
|
-
* - Up to one balance-reserve or unreserve operation.
|
|
2275
|
-
* - One passthrough operation, one insert, both `O(S)` where `S` is the number of
|
|
2276
|
-
* signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
|
|
2277
|
-
* - One encode & hash, both of complexity `O(S)`.
|
|
2278
|
-
* - One event.
|
|
2279
|
-
* - I/O: 1 read `O(S)`, one remove.
|
|
2280
|
-
* - Storage: removes one item.
|
|
1242
|
+
* See [`Pallet::cancel_as_multi`].
|
|
2281
1243
|
**/
|
|
2282
1244
|
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | {
|
|
2283
1245
|
height?: any;
|
|
@@ -2290,61 +1252,31 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2290
1252
|
};
|
|
2291
1253
|
nis: {
|
|
2292
1254
|
/**
|
|
2293
|
-
*
|
|
1255
|
+
* See [`Pallet::communify`].
|
|
2294
1256
|
**/
|
|
2295
1257
|
communify: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
2296
1258
|
/**
|
|
2297
|
-
*
|
|
2298
|
-
*
|
|
2299
|
-
* - `origin`: Must be accepted by `FundOrigin`.
|
|
1259
|
+
* See [`Pallet::fund_deficit`].
|
|
2300
1260
|
**/
|
|
2301
1261
|
fundDeficit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2302
1262
|
/**
|
|
2303
|
-
*
|
|
2304
|
-
*
|
|
2305
|
-
* Origin must be Signed, and account must have at least `amount` in free balance.
|
|
2306
|
-
*
|
|
2307
|
-
* - `amount`: The amount of the bid; these funds will be reserved, and if/when
|
|
2308
|
-
* consolidated, removed. Must be at least `MinBid`.
|
|
2309
|
-
* - `duration`: The number of periods before which the newly consolidated bid may be
|
|
2310
|
-
* thawed. Must be greater than 1 and no more than `QueueCount`.
|
|
2311
|
-
*
|
|
2312
|
-
* Complexities:
|
|
2313
|
-
* - `Queues[duration].len()` (just take max).
|
|
1263
|
+
* See [`Pallet::place_bid`].
|
|
2314
1264
|
**/
|
|
2315
1265
|
placeBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
2316
1266
|
/**
|
|
2317
|
-
*
|
|
1267
|
+
* See [`Pallet::privatize`].
|
|
2318
1268
|
**/
|
|
2319
1269
|
privatize: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
2320
1270
|
/**
|
|
2321
|
-
*
|
|
2322
|
-
*
|
|
2323
|
-
* Origin must be Signed, and the account should have previously issued a still-active bid
|
|
2324
|
-
* of `amount` for `duration`.
|
|
2325
|
-
*
|
|
2326
|
-
* - `amount`: The amount of the previous bid.
|
|
2327
|
-
* - `duration`: The duration of the previous bid.
|
|
1271
|
+
* See [`Pallet::retract_bid`].
|
|
2328
1272
|
**/
|
|
2329
1273
|
retractBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
2330
1274
|
/**
|
|
2331
|
-
*
|
|
2332
|
-
* the account of the owner.
|
|
2333
|
-
*
|
|
2334
|
-
* - `origin`: Must be Signed and the account must be the owner of the fungible counterpart
|
|
2335
|
-
* for receipt `index`.
|
|
2336
|
-
* - `index`: The index of the receipt.
|
|
1275
|
+
* See [`Pallet::thaw_communal`].
|
|
2337
1276
|
**/
|
|
2338
1277
|
thawCommunal: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
2339
1278
|
/**
|
|
2340
|
-
*
|
|
2341
|
-
* the account of the owner.
|
|
2342
|
-
*
|
|
2343
|
-
* - `origin`: Must be Signed and the account must be the owner of the receipt `index` as
|
|
2344
|
-
* well as any fungible counterpart.
|
|
2345
|
-
* - `index`: The index of the receipt.
|
|
2346
|
-
* - `portion`: If `Some`, then only the given portion of the receipt should be thawed. If
|
|
2347
|
-
* `None`, then all of it should be.
|
|
1279
|
+
* See [`Pallet::thaw_private`].
|
|
2348
1280
|
**/
|
|
2349
1281
|
thawPrivate: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, maybeProportion: Option<Perquintill> | null | Uint8Array | Perquintill | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<Perquintill>]>;
|
|
2350
1282
|
/**
|
|
@@ -2354,9 +1286,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2354
1286
|
};
|
|
2355
1287
|
nisCounterpartBalances: {
|
|
2356
1288
|
/**
|
|
2357
|
-
*
|
|
2358
|
-
*
|
|
2359
|
-
* The dispatch origin for this call is `root`.
|
|
1289
|
+
* See [`Pallet::force_set_balance`].
|
|
2360
1290
|
**/
|
|
2361
1291
|
forceSetBalance: AugmentedSubmittable<(who: MultiAddress | {
|
|
2362
1292
|
Id: any;
|
|
@@ -2370,8 +1300,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2370
1300
|
Address20: any;
|
|
2371
1301
|
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
2372
1302
|
/**
|
|
2373
|
-
*
|
|
2374
|
-
* may be specified.
|
|
1303
|
+
* See [`Pallet::force_transfer`].
|
|
2375
1304
|
**/
|
|
2376
1305
|
forceTransfer: AugmentedSubmittable<(source: MultiAddress | {
|
|
2377
1306
|
Id: any;
|
|
@@ -2395,9 +1324,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2395
1324
|
Address20: any;
|
|
2396
1325
|
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
|
|
2397
1326
|
/**
|
|
2398
|
-
*
|
|
2399
|
-
*
|
|
2400
|
-
* Can only be called by ROOT.
|
|
1327
|
+
* See [`Pallet::force_unreserve`].
|
|
2401
1328
|
**/
|
|
2402
1329
|
forceUnreserve: AugmentedSubmittable<(who: MultiAddress | {
|
|
2403
1330
|
Id: any;
|
|
@@ -2411,12 +1338,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2411
1338
|
Address20: any;
|
|
2412
1339
|
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
|
2413
1340
|
/**
|
|
2414
|
-
*
|
|
2415
|
-
* must be the same as the account's current reserved balance.
|
|
2416
|
-
*
|
|
2417
|
-
* The dispatch origin for this call is `root`.
|
|
2418
|
-
*
|
|
2419
|
-
* WARNING: This call is DEPRECATED! Use `force_set_balance` instead.
|
|
1341
|
+
* See [`Pallet::set_balance_deprecated`].
|
|
2420
1342
|
**/
|
|
2421
1343
|
setBalanceDeprecated: AugmentedSubmittable<(who: MultiAddress | {
|
|
2422
1344
|
Id: any;
|
|
@@ -2430,9 +1352,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2430
1352
|
Address20: any;
|
|
2431
1353
|
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, oldReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;
|
|
2432
1354
|
/**
|
|
2433
|
-
*
|
|
2434
|
-
*
|
|
2435
|
-
* WARNING: DEPRECATED! Will be released in approximately 3 months.
|
|
1355
|
+
* See [`Pallet::transfer`].
|
|
2436
1356
|
**/
|
|
2437
1357
|
transfer: AugmentedSubmittable<(dest: MultiAddress | {
|
|
2438
1358
|
Id: any;
|
|
@@ -2446,21 +1366,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2446
1366
|
Address20: any;
|
|
2447
1367
|
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
2448
1368
|
/**
|
|
2449
|
-
*
|
|
2450
|
-
*
|
|
2451
|
-
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
2452
|
-
* any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
|
|
2453
|
-
* transferred by this function. To ensure that this function results in a killed account,
|
|
2454
|
-
* you might need to prepare the account by removing any reference counters, storage
|
|
2455
|
-
* deposits, etc...
|
|
2456
|
-
*
|
|
2457
|
-
* The dispatch origin of this call must be Signed.
|
|
2458
|
-
*
|
|
2459
|
-
* - `dest`: The recipient of the transfer.
|
|
2460
|
-
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
2461
|
-
* of the funds the account has, causing the sender account to be killed (false), or
|
|
2462
|
-
* transfer everything except at least the existential deposit, which will guarantee to
|
|
2463
|
-
* keep the sender account alive (true).
|
|
1369
|
+
* See [`Pallet::transfer_all`].
|
|
2464
1370
|
**/
|
|
2465
1371
|
transferAll: AugmentedSubmittable<(dest: MultiAddress | {
|
|
2466
1372
|
Id: any;
|
|
@@ -2474,13 +1380,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2474
1380
|
Address20: any;
|
|
2475
1381
|
} | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
2476
1382
|
/**
|
|
2477
|
-
*
|
|
2478
|
-
*
|
|
2479
|
-
* `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
|
|
2480
|
-
* If the sender's account is below the existential deposit as a result
|
|
2481
|
-
* of the transfer, the account will be reaped.
|
|
2482
|
-
*
|
|
2483
|
-
* The dispatch origin for this call must be `Signed` by the transactor.
|
|
1383
|
+
* See [`Pallet::transfer_allow_death`].
|
|
2484
1384
|
**/
|
|
2485
1385
|
transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | {
|
|
2486
1386
|
Id: any;
|
|
@@ -2494,12 +1394,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2494
1394
|
Address20: any;
|
|
2495
1395
|
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
2496
1396
|
/**
|
|
2497
|
-
*
|
|
2498
|
-
* kill the origin account.
|
|
2499
|
-
*
|
|
2500
|
-
* 99% of the time you want [`transfer_allow_death`] instead.
|
|
2501
|
-
*
|
|
2502
|
-
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
|
1397
|
+
* See [`Pallet::transfer_keep_alive`].
|
|
2503
1398
|
**/
|
|
2504
1399
|
transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | {
|
|
2505
1400
|
Id: any;
|
|
@@ -2513,14 +1408,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2513
1408
|
Address20: any;
|
|
2514
1409
|
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
2515
1410
|
/**
|
|
2516
|
-
*
|
|
2517
|
-
*
|
|
2518
|
-
* - `origin`: Must be `Signed`.
|
|
2519
|
-
* - `who`: The account to be upgraded.
|
|
2520
|
-
*
|
|
2521
|
-
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
|
2522
|
-
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
2523
|
-
* possibililty of churn).
|
|
1411
|
+
* See [`Pallet::upgrade_accounts`].
|
|
2524
1412
|
**/
|
|
2525
1413
|
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
2526
1414
|
/**
|
|
@@ -2530,13 +1418,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2530
1418
|
};
|
|
2531
1419
|
nominationPools: {
|
|
2532
1420
|
/**
|
|
2533
|
-
*
|
|
2534
|
-
*
|
|
2535
|
-
* Additional funds can come from either the free balance of the account, of from the
|
|
2536
|
-
* accumulated rewards, see [`BondExtra`].
|
|
2537
|
-
*
|
|
2538
|
-
* Bonding extra funds implies an automatic payout of all pending rewards as well.
|
|
2539
|
-
* See `bond_extra_other` to bond pending rewards of `other` members.
|
|
1421
|
+
* See [`Pallet::bond_extra`].
|
|
2540
1422
|
**/
|
|
2541
1423
|
bondExtra: AugmentedSubmittable<(extra: PalletNominationPoolsBondExtra | {
|
|
2542
1424
|
FreeBalance: any;
|
|
@@ -2544,15 +1426,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2544
1426
|
Rewards: any;
|
|
2545
1427
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsBondExtra]>;
|
|
2546
1428
|
/**
|
|
2547
|
-
*
|
|
2548
|
-
* pools.
|
|
2549
|
-
*
|
|
2550
|
-
* `origin` can bond extra funds from free balance or pending rewards when `origin ==
|
|
2551
|
-
* other`.
|
|
2552
|
-
*
|
|
2553
|
-
* In the case of `origin != other`, `origin` can only bond extra pending rewards of
|
|
2554
|
-
* `other` members assuming set_claim_permission for the given member is
|
|
2555
|
-
* `PermissionlessAll` or `PermissionlessCompound`.
|
|
1429
|
+
* See [`Pallet::bond_extra_other`].
|
|
2556
1430
|
**/
|
|
2557
1431
|
bondExtraOther: AugmentedSubmittable<(member: MultiAddress | {
|
|
2558
1432
|
Id: any;
|
|
@@ -2570,59 +1444,23 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2570
1444
|
Rewards: any;
|
|
2571
1445
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletNominationPoolsBondExtra]>;
|
|
2572
1446
|
/**
|
|
2573
|
-
*
|
|
2574
|
-
*
|
|
2575
|
-
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
|
2576
|
-
* root role, same as [`Pallet::nominate`].
|
|
2577
|
-
*
|
|
2578
|
-
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
2579
|
-
* account.
|
|
1447
|
+
* See [`Pallet::chill`].
|
|
2580
1448
|
**/
|
|
2581
1449
|
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2582
1450
|
/**
|
|
2583
|
-
*
|
|
2584
|
-
*
|
|
2585
|
-
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
|
|
2586
|
-
* commission is paid out and added to total claimed commission`. Total pending commission
|
|
2587
|
-
* is reset to zero. the current.
|
|
1451
|
+
* See [`Pallet::claim_commission`].
|
|
2588
1452
|
**/
|
|
2589
1453
|
claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2590
1454
|
/**
|
|
2591
|
-
*
|
|
2592
|
-
* has accumulated since their last claimed payout (OR since joining if this is their first
|
|
2593
|
-
* time claiming rewards). The payout will be transferred to the member's account.
|
|
2594
|
-
*
|
|
2595
|
-
* The member will earn rewards pro rata based on the members stake vs the sum of the
|
|
2596
|
-
* members in the pools stake. Rewards do not "expire".
|
|
2597
|
-
*
|
|
2598
|
-
* See `claim_payout_other` to caim rewards on bahalf of some `other` pool member.
|
|
1455
|
+
* See [`Pallet::claim_payout`].
|
|
2599
1456
|
**/
|
|
2600
1457
|
claimPayout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2601
1458
|
/**
|
|
2602
|
-
*
|
|
2603
|
-
*
|
|
2604
|
-
* Pool member `other` must have a `PermissionlessAll` or `PermissionlessWithdraw` in order
|
|
2605
|
-
* for this call to be successful.
|
|
1459
|
+
* See [`Pallet::claim_payout_other`].
|
|
2606
1460
|
**/
|
|
2607
1461
|
claimPayoutOther: AugmentedSubmittable<(other: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
2608
1462
|
/**
|
|
2609
|
-
*
|
|
2610
|
-
*
|
|
2611
|
-
* # Arguments
|
|
2612
|
-
*
|
|
2613
|
-
* * `amount` - The amount of funds to delegate to the pool. This also acts of a sort of
|
|
2614
|
-
* deposit since the pools creator cannot fully unbond funds until the pool is being
|
|
2615
|
-
* destroyed.
|
|
2616
|
-
* * `index` - A disambiguation index for creating the account. Likely only useful when
|
|
2617
|
-
* creating multiple pools in the same extrinsic.
|
|
2618
|
-
* * `root` - The account to set as [`PoolRoles::root`].
|
|
2619
|
-
* * `nominator` - The account to set as the [`PoolRoles::nominator`].
|
|
2620
|
-
* * `bouncer` - The account to set as the [`PoolRoles::bouncer`].
|
|
2621
|
-
*
|
|
2622
|
-
* # Note
|
|
2623
|
-
*
|
|
2624
|
-
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
|
2625
|
-
* needs at have at least `amount + existential_deposit` transferrable.
|
|
1463
|
+
* See [`Pallet::create`].
|
|
2626
1464
|
**/
|
|
2627
1465
|
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | {
|
|
2628
1466
|
Id: any;
|
|
@@ -2656,12 +1494,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2656
1494
|
Address20: any;
|
|
2657
1495
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
|
2658
1496
|
/**
|
|
2659
|
-
*
|
|
2660
|
-
*
|
|
2661
|
-
* # Arguments
|
|
2662
|
-
*
|
|
2663
|
-
* same as `create` with the inclusion of
|
|
2664
|
-
* * `pool_id` - `A valid PoolId.
|
|
1497
|
+
* See [`Pallet::create_with_pool_id`].
|
|
2665
1498
|
**/
|
|
2666
1499
|
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | {
|
|
2667
1500
|
Id: any;
|
|
@@ -2695,90 +1528,38 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2695
1528
|
Address20: any;
|
|
2696
1529
|
} | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
|
|
2697
1530
|
/**
|
|
2698
|
-
*
|
|
2699
|
-
* pools account and immediately increases the pools bond.
|
|
2700
|
-
*
|
|
2701
|
-
* # Note
|
|
2702
|
-
*
|
|
2703
|
-
* * An account can only be a member of a single pool.
|
|
2704
|
-
* * An account cannot join the same pool multiple times.
|
|
2705
|
-
* * This call will *not* dust the member account, so the member must have at least
|
|
2706
|
-
* `existential deposit + amount` in their account.
|
|
2707
|
-
* * Only a pool with [`PoolState::Open`] can be joined
|
|
1531
|
+
* See [`Pallet::join`].
|
|
2708
1532
|
**/
|
|
2709
1533
|
join: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
2710
1534
|
/**
|
|
2711
|
-
*
|
|
2712
|
-
*
|
|
2713
|
-
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
|
2714
|
-
* root role.
|
|
2715
|
-
*
|
|
2716
|
-
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
2717
|
-
* account.
|
|
1535
|
+
* See [`Pallet::nominate`].
|
|
2718
1536
|
**/
|
|
2719
1537
|
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
|
|
2720
1538
|
/**
|
|
2721
|
-
*
|
|
2722
|
-
*
|
|
2723
|
-
* This is useful if their are too many unlocking chunks to call `unbond`, and some
|
|
2724
|
-
* can be cleared by withdrawing. In the case there are too many unlocking chunks, the user
|
|
2725
|
-
* would probably see an error like `NoMoreChunks` emitted from the staking system when
|
|
2726
|
-
* they attempt to unbond.
|
|
1539
|
+
* See [`Pallet::pool_withdraw_unbonded`].
|
|
2727
1540
|
**/
|
|
2728
1541
|
poolWithdrawUnbonded: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
2729
1542
|
/**
|
|
2730
|
-
*
|
|
2731
|
-
* bonding and withdrawing.
|
|
2732
|
-
*
|
|
2733
|
-
* By default, this is `Permissioned`, which implies only the pool member themselves can
|
|
2734
|
-
* claim their pending rewards. If a pool member wishes so, they can set this to
|
|
2735
|
-
* `PermissionlessAll` to allow any account to claim their rewards and bond extra to the
|
|
2736
|
-
* pool.
|
|
2737
|
-
*
|
|
2738
|
-
* # Arguments
|
|
2739
|
-
*
|
|
2740
|
-
* * `origin` - Member of a pool.
|
|
2741
|
-
* * `actor` - Account to claim reward. // improve this
|
|
1543
|
+
* See [`Pallet::set_claim_permission`].
|
|
2742
1544
|
**/
|
|
2743
1545
|
setClaimPermission: AugmentedSubmittable<(permission: PalletNominationPoolsClaimPermission | 'Permissioned' | 'PermissionlessCompound' | 'PermissionlessWithdraw' | 'PermissionlessAll' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsClaimPermission]>;
|
|
2744
1546
|
/**
|
|
2745
|
-
*
|
|
2746
|
-
* Both a commission percentage and a commission payee must be provided in the `current`
|
|
2747
|
-
* tuple. Where a `current` of `None` is provided, any current commission will be removed.
|
|
2748
|
-
*
|
|
2749
|
-
* - If a `None` is supplied to `new_commission`, existing commission will be removed.
|
|
1547
|
+
* See [`Pallet::set_commission`].
|
|
2750
1548
|
**/
|
|
2751
1549
|
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]>>]>;
|
|
2752
1550
|
/**
|
|
2753
|
-
*
|
|
2754
|
-
*
|
|
2755
|
-
* Initial change rate is not bounded, whereas subsequent updates can only be more
|
|
2756
|
-
* restrictive than the current.
|
|
1551
|
+
* See [`Pallet::set_commission_change_rate`].
|
|
2757
1552
|
**/
|
|
2758
1553
|
setCommissionChangeRate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, changeRate: PalletNominationPoolsCommissionChangeRate | {
|
|
2759
1554
|
maxIncrease?: any;
|
|
2760
1555
|
minDelay?: any;
|
|
2761
1556
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsCommissionChangeRate]>;
|
|
2762
1557
|
/**
|
|
2763
|
-
*
|
|
2764
|
-
*
|
|
2765
|
-
* - Initial max can be set to any `Perbill`, and only smaller values thereafter.
|
|
2766
|
-
* - Current commission will be lowered in the event it is higher than a new max
|
|
2767
|
-
* commission.
|
|
1558
|
+
* See [`Pallet::set_commission_max`].
|
|
2768
1559
|
**/
|
|
2769
1560
|
setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Perbill]>;
|
|
2770
1561
|
/**
|
|
2771
|
-
*
|
|
2772
|
-
* Root.
|
|
2773
|
-
*
|
|
2774
|
-
* # Arguments
|
|
2775
|
-
*
|
|
2776
|
-
* * `min_join_bond` - Set [`MinJoinBond`].
|
|
2777
|
-
* * `min_create_bond` - Set [`MinCreateBond`].
|
|
2778
|
-
* * `max_pools` - Set [`MaxPools`].
|
|
2779
|
-
* * `max_members` - Set [`MaxPoolMembers`].
|
|
2780
|
-
* * `max_members_per_pool` - Set [`MaxPoolMembersPerPool`].
|
|
2781
|
-
* * `global_max_commission` - Set [`GlobalMaxCommission`].
|
|
1562
|
+
* See [`Pallet::set_configs`].
|
|
2782
1563
|
**/
|
|
2783
1564
|
setConfigs: AugmentedSubmittable<(minJoinBond: PalletNominationPoolsConfigOpU128 | {
|
|
2784
1565
|
Noop: any;
|
|
@@ -2818,57 +1599,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2818
1599
|
Remove: any;
|
|
2819
1600
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpPerbill]>;
|
|
2820
1601
|
/**
|
|
2821
|
-
*
|
|
2822
|
-
*
|
|
2823
|
-
* The dispatch origin of this call must be signed by the bouncer, or the root role of the
|
|
2824
|
-
* pool.
|
|
1602
|
+
* See [`Pallet::set_metadata`].
|
|
2825
1603
|
**/
|
|
2826
1604
|
setMetadata: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, metadata: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
2827
1605
|
/**
|
|
2828
|
-
*
|
|
2829
|
-
*
|
|
2830
|
-
* If a pool is already in the `Destroying` state, then under no condition can its state
|
|
2831
|
-
* change again.
|
|
2832
|
-
*
|
|
2833
|
-
* The dispatch origin of this call must be either:
|
|
2834
|
-
*
|
|
2835
|
-
* 1. signed by the bouncer, or the root role of the pool,
|
|
2836
|
-
* 2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and
|
|
2837
|
-
* then the state of the pool can be permissionlessly changed to `Destroying`.
|
|
1606
|
+
* See [`Pallet::set_state`].
|
|
2838
1607
|
**/
|
|
2839
1608
|
setState: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, state: PalletNominationPoolsPoolState | 'Open' | 'Blocked' | 'Destroying' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsPoolState]>;
|
|
2840
1609
|
/**
|
|
2841
|
-
*
|
|
2842
|
-
* implicitly collects the rewards one last time, since not doing so would mean some
|
|
2843
|
-
* rewards would be forfeited.
|
|
2844
|
-
*
|
|
2845
|
-
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
|
2846
|
-
* account).
|
|
2847
|
-
*
|
|
2848
|
-
* # Conditions for a permissionless dispatch.
|
|
2849
|
-
*
|
|
2850
|
-
* * The pool is blocked and the caller is either the root or bouncer. This is refereed to
|
|
2851
|
-
* as a kick.
|
|
2852
|
-
* * The pool is destroying and the member is not the depositor.
|
|
2853
|
-
* * The pool is destroying, the member is the depositor and no other members are in the
|
|
2854
|
-
* pool.
|
|
2855
|
-
*
|
|
2856
|
-
* ## Conditions for permissioned dispatch (i.e. the caller is also the
|
|
2857
|
-
* `member_account`):
|
|
2858
|
-
*
|
|
2859
|
-
* * The caller is not the depositor.
|
|
2860
|
-
* * The caller is the depositor, the pool is destroying and no other members are in the
|
|
2861
|
-
* pool.
|
|
2862
|
-
*
|
|
2863
|
-
* # Note
|
|
2864
|
-
*
|
|
2865
|
-
* If there are too many unlocking chunks to unbond with the pool account,
|
|
2866
|
-
* [`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks.
|
|
2867
|
-
* The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]
|
|
2868
|
-
* to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks
|
|
2869
|
-
* are available). However, it may not be possible to release the current unlocking chunks,
|
|
2870
|
-
* in which case, the result of this call will likely be the `NoMoreChunks` error from the
|
|
2871
|
-
* staking system.
|
|
1610
|
+
* See [`Pallet::unbond`].
|
|
2872
1611
|
**/
|
|
2873
1612
|
unbond: AugmentedSubmittable<(memberAccount: MultiAddress | {
|
|
2874
1613
|
Id: any;
|
|
@@ -2882,13 +1621,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2882
1621
|
Address20: any;
|
|
2883
1622
|
} | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
2884
1623
|
/**
|
|
2885
|
-
*
|
|
2886
|
-
*
|
|
2887
|
-
* The root is the only entity that can change any of the roles, including itself,
|
|
2888
|
-
* excluding the depositor, who can never change.
|
|
2889
|
-
*
|
|
2890
|
-
* It emits an event, notifying UIs of the role change. This event is quite relevant to
|
|
2891
|
-
* most pool members and they should be informed of changes to pool roles.
|
|
1624
|
+
* See [`Pallet::update_roles`].
|
|
2892
1625
|
**/
|
|
2893
1626
|
updateRoles: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newRoot: PalletNominationPoolsConfigOpAccountId32 | {
|
|
2894
1627
|
Noop: any;
|
|
@@ -2910,25 +1643,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2910
1643
|
Remove: any;
|
|
2911
1644
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpAccountId32]>;
|
|
2912
1645
|
/**
|
|
2913
|
-
*
|
|
2914
|
-
* error is returned.
|
|
2915
|
-
*
|
|
2916
|
-
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
|
2917
|
-
* account).
|
|
2918
|
-
*
|
|
2919
|
-
* # Conditions for a permissionless dispatch
|
|
2920
|
-
*
|
|
2921
|
-
* * The pool is in destroy mode and the target is not the depositor.
|
|
2922
|
-
* * The target is the depositor and they are the only member in the sub pools.
|
|
2923
|
-
* * The pool is blocked and the caller is either the root or bouncer.
|
|
2924
|
-
*
|
|
2925
|
-
* # Conditions for permissioned dispatch
|
|
2926
|
-
*
|
|
2927
|
-
* * The caller is the target and they are not the depositor.
|
|
2928
|
-
*
|
|
2929
|
-
* # Note
|
|
2930
|
-
*
|
|
2931
|
-
* If the target is the depositor, the pool will be destroyed.
|
|
1646
|
+
* See [`Pallet::withdraw_unbonded`].
|
|
2932
1647
|
**/
|
|
2933
1648
|
withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | {
|
|
2934
1649
|
Id: any;
|
|
@@ -2954,7 +1669,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2954
1669
|
};
|
|
2955
1670
|
paraInherent: {
|
|
2956
1671
|
/**
|
|
2957
|
-
*
|
|
1672
|
+
* See [`Pallet::enter`].
|
|
2958
1673
|
**/
|
|
2959
1674
|
enter: AugmentedSubmittable<(data: PolkadotPrimitivesV4InherentData | {
|
|
2960
1675
|
bitfields?: any;
|
|
@@ -2969,46 +1684,31 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2969
1684
|
};
|
|
2970
1685
|
paras: {
|
|
2971
1686
|
/**
|
|
2972
|
-
*
|
|
2973
|
-
*
|
|
2974
|
-
* The code will not be added if it is already present. Additionally, if PVF pre-checking
|
|
2975
|
-
* is running for that code, it will be instantly accepted.
|
|
2976
|
-
*
|
|
2977
|
-
* Otherwise, the code will be added into the storage. Note that the code will be added
|
|
2978
|
-
* into storage with reference count 0. This is to account the fact that there are no users
|
|
2979
|
-
* for this code yet. The caller will have to make sure that this code eventually gets
|
|
2980
|
-
* used by some parachain or removed from the storage to avoid storage leaks. For the latter
|
|
2981
|
-
* prefer to use the `poke_unused_validation_code` dispatchable to raw storage manipulation.
|
|
2982
|
-
*
|
|
2983
|
-
* This function is mainly meant to be used for upgrading parachains that do not follow
|
|
2984
|
-
* the go-ahead signal while the PVF pre-checking feature is enabled.
|
|
1687
|
+
* See [`Pallet::add_trusted_validation_code`].
|
|
2985
1688
|
**/
|
|
2986
1689
|
addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
2987
1690
|
/**
|
|
2988
|
-
*
|
|
1691
|
+
* See [`Pallet::force_note_new_head`].
|
|
2989
1692
|
**/
|
|
2990
1693
|
forceNoteNewHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
2991
1694
|
/**
|
|
2992
|
-
*
|
|
2993
|
-
* We can't queue it any sooner than this without going into the
|
|
2994
|
-
* initializer...
|
|
1695
|
+
* See [`Pallet::force_queue_action`].
|
|
2995
1696
|
**/
|
|
2996
1697
|
forceQueueAction: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2997
1698
|
/**
|
|
2998
|
-
*
|
|
1699
|
+
* See [`Pallet::force_schedule_code_upgrade`].
|
|
2999
1700
|
**/
|
|
3000
1701
|
forceScheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array, relayParentNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, u32]>;
|
|
3001
1702
|
/**
|
|
3002
|
-
*
|
|
1703
|
+
* See [`Pallet::force_set_current_code`].
|
|
3003
1704
|
**/
|
|
3004
1705
|
forceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
3005
1706
|
/**
|
|
3006
|
-
*
|
|
1707
|
+
* See [`Pallet::force_set_current_head`].
|
|
3007
1708
|
**/
|
|
3008
1709
|
forceSetCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
3009
1710
|
/**
|
|
3010
|
-
*
|
|
3011
|
-
* enacts the results if that was the last vote before achieving the supermajority.
|
|
1711
|
+
* See [`Pallet::include_pvf_check_statement`].
|
|
3012
1712
|
**/
|
|
3013
1713
|
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV4PvfCheckStatement | {
|
|
3014
1714
|
accept?: any;
|
|
@@ -3017,11 +1717,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3017
1717
|
validatorIndex?: any;
|
|
3018
1718
|
} | string | Uint8Array, signature: PolkadotPrimitivesV4ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV4PvfCheckStatement, PolkadotPrimitivesV4ValidatorAppSignature]>;
|
|
3019
1719
|
/**
|
|
3020
|
-
*
|
|
3021
|
-
*
|
|
3022
|
-
* This is better than removing the storage directly, because it will not remove the code
|
|
3023
|
-
* that was suddenly got used by some parachain while this dispatchable was pending
|
|
3024
|
-
* dispatching.
|
|
1720
|
+
* See [`Pallet::poke_unused_validation_code`].
|
|
3025
1721
|
**/
|
|
3026
1722
|
pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
3027
1723
|
/**
|
|
@@ -3030,6 +1726,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3030
1726
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3031
1727
|
};
|
|
3032
1728
|
parasDisputes: {
|
|
1729
|
+
/**
|
|
1730
|
+
* See [`Pallet::force_unfreeze`].
|
|
1731
|
+
**/
|
|
3033
1732
|
forceUnfreeze: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3034
1733
|
/**
|
|
3035
1734
|
* Generic tx
|
|
@@ -3043,7 +1742,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3043
1742
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3044
1743
|
};
|
|
3045
1744
|
parasSlashing: {
|
|
3046
|
-
|
|
1745
|
+
/**
|
|
1746
|
+
* See [`Pallet::report_dispute_lost_unsigned`].
|
|
1747
|
+
**/
|
|
1748
|
+
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesVstagingSlashingDisputeProof | {
|
|
3047
1749
|
timeSlot?: any;
|
|
3048
1750
|
kind?: any;
|
|
3049
1751
|
validatorIndex?: any;
|
|
@@ -3052,7 +1754,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3052
1754
|
session?: any;
|
|
3053
1755
|
trieNodes?: any;
|
|
3054
1756
|
validatorCount?: any;
|
|
3055
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1757
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingSlashingDisputeProof, SpSessionMembershipProof]>;
|
|
3056
1758
|
/**
|
|
3057
1759
|
* Generic tx
|
|
3058
1760
|
**/
|
|
@@ -3060,32 +1762,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3060
1762
|
};
|
|
3061
1763
|
preimage: {
|
|
3062
1764
|
/**
|
|
3063
|
-
*
|
|
3064
|
-
*
|
|
3065
|
-
* If the preimage was previously requested, no fees or deposits are taken for providing
|
|
3066
|
-
* the preimage. Otherwise, a deposit is taken proportional to the size of the preimage.
|
|
1765
|
+
* See [`Pallet::note_preimage`].
|
|
3067
1766
|
**/
|
|
3068
1767
|
notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
3069
1768
|
/**
|
|
3070
|
-
*
|
|
3071
|
-
*
|
|
3072
|
-
* If the preimage requests has already been provided on-chain, we unreserve any deposit
|
|
3073
|
-
* a user may have paid, and take the control of the preimage out of their hands.
|
|
1769
|
+
* See [`Pallet::request_preimage`].
|
|
3074
1770
|
**/
|
|
3075
1771
|
requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
3076
1772
|
/**
|
|
3077
|
-
*
|
|
3078
|
-
*
|
|
3079
|
-
* If `len` is provided, then it will be a much cheaper operation.
|
|
3080
|
-
*
|
|
3081
|
-
* - `hash`: The hash of the preimage to be removed from the store.
|
|
3082
|
-
* - `len`: The length of the preimage of `hash`.
|
|
1773
|
+
* See [`Pallet::unnote_preimage`].
|
|
3083
1774
|
**/
|
|
3084
1775
|
unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
3085
1776
|
/**
|
|
3086
|
-
*
|
|
3087
|
-
*
|
|
3088
|
-
* NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`.
|
|
1777
|
+
* See [`Pallet::unrequest_preimage`].
|
|
3089
1778
|
**/
|
|
3090
1779
|
unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
3091
1780
|
/**
|
|
@@ -3095,15 +1784,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3095
1784
|
};
|
|
3096
1785
|
proxy: {
|
|
3097
1786
|
/**
|
|
3098
|
-
*
|
|
3099
|
-
*
|
|
3100
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3101
|
-
*
|
|
3102
|
-
* Parameters:
|
|
3103
|
-
* - `proxy`: The account that the `caller` would like to make a proxy.
|
|
3104
|
-
* - `proxy_type`: The permissions allowed for this proxy account.
|
|
3105
|
-
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
3106
|
-
* zero.
|
|
1787
|
+
* See [`Pallet::add_proxy`].
|
|
3107
1788
|
**/
|
|
3108
1789
|
addProxy: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3109
1790
|
Id: any;
|
|
@@ -3117,21 +1798,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3117
1798
|
Address20: any;
|
|
3118
1799
|
} | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
|
|
3119
1800
|
/**
|
|
3120
|
-
*
|
|
3121
|
-
*
|
|
3122
|
-
* This must be called some number of blocks before the corresponding `proxy` is attempted
|
|
3123
|
-
* if the delay associated with the proxy relationship is greater than zero.
|
|
3124
|
-
*
|
|
3125
|
-
* No more than `MaxPending` announcements may be made at any one time.
|
|
3126
|
-
*
|
|
3127
|
-
* This will take a deposit of `AnnouncementDepositFactor` as well as
|
|
3128
|
-
* `AnnouncementDepositBase` if there are no other pending announcements.
|
|
3129
|
-
*
|
|
3130
|
-
* The dispatch origin for this call must be _Signed_ and a proxy of `real`.
|
|
3131
|
-
*
|
|
3132
|
-
* Parameters:
|
|
3133
|
-
* - `real`: The account that the proxy will make a call on behalf of.
|
|
3134
|
-
* - `call_hash`: The hash of the call to be made by the `real` account.
|
|
1801
|
+
* See [`Pallet::announce`].
|
|
3135
1802
|
**/
|
|
3136
1803
|
announce: AugmentedSubmittable<(real: MultiAddress | {
|
|
3137
1804
|
Id: any;
|
|
@@ -3145,43 +1812,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3145
1812
|
Address20: any;
|
|
3146
1813
|
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
3147
1814
|
/**
|
|
3148
|
-
*
|
|
3149
|
-
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
|
3150
|
-
*
|
|
3151
|
-
* Requires a `Signed` origin.
|
|
3152
|
-
*
|
|
3153
|
-
* - `proxy_type`: The type of the proxy that the sender will be registered as over the
|
|
3154
|
-
* new account. This will almost always be the most permissive `ProxyType` possible to
|
|
3155
|
-
* allow for maximum flexibility.
|
|
3156
|
-
* - `index`: A disambiguation index, in case this is called multiple times in the same
|
|
3157
|
-
* transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just
|
|
3158
|
-
* want to use `0`.
|
|
3159
|
-
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
3160
|
-
* zero.
|
|
3161
|
-
*
|
|
3162
|
-
* Fails with `Duplicate` if this has already been called in this transaction, from the
|
|
3163
|
-
* same sender, with the same parameters.
|
|
3164
|
-
*
|
|
3165
|
-
* Fails if there are insufficient funds to pay for deposit.
|
|
1815
|
+
* See [`Pallet::create_pure`].
|
|
3166
1816
|
**/
|
|
3167
1817
|
createPure: AugmentedSubmittable<(proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeProxyType, u32, u16]>;
|
|
3168
1818
|
/**
|
|
3169
|
-
*
|
|
3170
|
-
*
|
|
3171
|
-
* WARNING: **All access to this account will be lost.** Any funds held in it will be
|
|
3172
|
-
* inaccessible.
|
|
3173
|
-
*
|
|
3174
|
-
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
3175
|
-
* `pure` with corresponding parameters.
|
|
3176
|
-
*
|
|
3177
|
-
* - `spawner`: The account that originally called `pure` to create this account.
|
|
3178
|
-
* - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
|
|
3179
|
-
* - `proxy_type`: The proxy type originally passed to `pure`.
|
|
3180
|
-
* - `height`: The height of the chain when the call to `pure` was processed.
|
|
3181
|
-
* - `ext_index`: The extrinsic index in which the call to `pure` was processed.
|
|
3182
|
-
*
|
|
3183
|
-
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
3184
|
-
* account whose `pure` call has corresponding parameters.
|
|
1819
|
+
* See [`Pallet::kill_pure`].
|
|
3185
1820
|
**/
|
|
3186
1821
|
killPure: AugmentedSubmittable<(spawner: MultiAddress | {
|
|
3187
1822
|
Id: any;
|
|
@@ -3195,15 +1830,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3195
1830
|
Address20: any;
|
|
3196
1831
|
} | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
|
3197
1832
|
/**
|
|
3198
|
-
*
|
|
3199
|
-
* `add_proxy`.
|
|
3200
|
-
*
|
|
3201
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3202
|
-
*
|
|
3203
|
-
* Parameters:
|
|
3204
|
-
* - `real`: The account that the proxy will make a call on behalf of.
|
|
3205
|
-
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
3206
|
-
* - `call`: The call to be made by the `real` account.
|
|
1833
|
+
* See [`Pallet::proxy`].
|
|
3207
1834
|
**/
|
|
3208
1835
|
proxy: AugmentedSubmittable<(real: MultiAddress | {
|
|
3209
1836
|
Id: any;
|
|
@@ -3217,17 +1844,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3217
1844
|
Address20: any;
|
|
3218
1845
|
} | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<KusamaRuntimeProxyType>, Call]>;
|
|
3219
1846
|
/**
|
|
3220
|
-
*
|
|
3221
|
-
* `add_proxy`.
|
|
3222
|
-
*
|
|
3223
|
-
* Removes any corresponding announcement(s).
|
|
3224
|
-
*
|
|
3225
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3226
|
-
*
|
|
3227
|
-
* Parameters:
|
|
3228
|
-
* - `real`: The account that the proxy will make a call on behalf of.
|
|
3229
|
-
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
3230
|
-
* - `call`: The call to be made by the `real` account.
|
|
1847
|
+
* See [`Pallet::proxy_announced`].
|
|
3231
1848
|
**/
|
|
3232
1849
|
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3233
1850
|
Id: any;
|
|
@@ -3251,16 +1868,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3251
1868
|
Address20: any;
|
|
3252
1869
|
} | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<KusamaRuntimeProxyType>, Call]>;
|
|
3253
1870
|
/**
|
|
3254
|
-
*
|
|
3255
|
-
*
|
|
3256
|
-
* May be called by a target (proxied) account to remove a call that one of their delegates
|
|
3257
|
-
* (`delegate`) has announced they want to execute. The deposit is returned.
|
|
3258
|
-
*
|
|
3259
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3260
|
-
*
|
|
3261
|
-
* Parameters:
|
|
3262
|
-
* - `delegate`: The account that previously announced the call.
|
|
3263
|
-
* - `call_hash`: The hash of the call to be made.
|
|
1871
|
+
* See [`Pallet::reject_announcement`].
|
|
3264
1872
|
**/
|
|
3265
1873
|
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3266
1874
|
Id: any;
|
|
@@ -3274,16 +1882,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3274
1882
|
Address20: any;
|
|
3275
1883
|
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
3276
1884
|
/**
|
|
3277
|
-
*
|
|
3278
|
-
*
|
|
3279
|
-
* May be called by a proxy account to remove a call they previously announced and return
|
|
3280
|
-
* the deposit.
|
|
3281
|
-
*
|
|
3282
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3283
|
-
*
|
|
3284
|
-
* Parameters:
|
|
3285
|
-
* - `real`: The account that the proxy will make a call on behalf of.
|
|
3286
|
-
* - `call_hash`: The hash of the call to be made by the `real` account.
|
|
1885
|
+
* See [`Pallet::remove_announcement`].
|
|
3287
1886
|
**/
|
|
3288
1887
|
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | {
|
|
3289
1888
|
Id: any;
|
|
@@ -3297,22 +1896,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3297
1896
|
Address20: any;
|
|
3298
1897
|
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
3299
1898
|
/**
|
|
3300
|
-
*
|
|
3301
|
-
*
|
|
3302
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3303
|
-
*
|
|
3304
|
-
* WARNING: This may be called on accounts created by `pure`, however if done, then
|
|
3305
|
-
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
1899
|
+
* See [`Pallet::remove_proxies`].
|
|
3306
1900
|
**/
|
|
3307
1901
|
removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3308
1902
|
/**
|
|
3309
|
-
*
|
|
3310
|
-
*
|
|
3311
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3312
|
-
*
|
|
3313
|
-
* Parameters:
|
|
3314
|
-
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
|
3315
|
-
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
1903
|
+
* See [`Pallet::remove_proxy`].
|
|
3316
1904
|
**/
|
|
3317
1905
|
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | {
|
|
3318
1906
|
Id: any;
|
|
@@ -3332,14 +1920,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3332
1920
|
};
|
|
3333
1921
|
recovery: {
|
|
3334
1922
|
/**
|
|
3335
|
-
*
|
|
3336
|
-
*
|
|
3337
|
-
* The dispatch origin for this call must be _Signed_ and registered to
|
|
3338
|
-
* be able to make calls on behalf of the recovered account.
|
|
3339
|
-
*
|
|
3340
|
-
* Parameters:
|
|
3341
|
-
* - `account`: The recovered account you want to make a call on-behalf-of.
|
|
3342
|
-
* - `call`: The call you want to make with the recovered account.
|
|
1923
|
+
* See [`Pallet::as_recovered`].
|
|
3343
1924
|
**/
|
|
3344
1925
|
asRecovered: AugmentedSubmittable<(account: MultiAddress | {
|
|
3345
1926
|
Id: any;
|
|
@@ -3353,13 +1934,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3353
1934
|
Address20: any;
|
|
3354
1935
|
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
|
|
3355
1936
|
/**
|
|
3356
|
-
*
|
|
3357
|
-
*
|
|
3358
|
-
* The dispatch origin for this call must be _Signed_ and registered to
|
|
3359
|
-
* be able to make calls on behalf of the recovered account.
|
|
3360
|
-
*
|
|
3361
|
-
* Parameters:
|
|
3362
|
-
* - `account`: The recovered account you are able to call on-behalf-of.
|
|
1937
|
+
* See [`Pallet::cancel_recovered`].
|
|
3363
1938
|
**/
|
|
3364
1939
|
cancelRecovered: AugmentedSubmittable<(account: MultiAddress | {
|
|
3365
1940
|
Id: any;
|
|
@@ -3373,15 +1948,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3373
1948
|
Address20: any;
|
|
3374
1949
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3375
1950
|
/**
|
|
3376
|
-
*
|
|
3377
|
-
*
|
|
3378
|
-
* The dispatch origin for this call must be _Signed_ and must be a "rescuer"
|
|
3379
|
-
* who has successfully completed the account recovery process: collected
|
|
3380
|
-
* `threshold` or more vouches, waited `delay_period` blocks since initiation.
|
|
3381
|
-
*
|
|
3382
|
-
* Parameters:
|
|
3383
|
-
* - `account`: The lost account that you want to claim has been successfully recovered by
|
|
3384
|
-
* you.
|
|
1951
|
+
* See [`Pallet::claim_recovery`].
|
|
3385
1952
|
**/
|
|
3386
1953
|
claimRecovery: AugmentedSubmittable<(account: MultiAddress | {
|
|
3387
1954
|
Id: any;
|
|
@@ -3395,17 +1962,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3395
1962
|
Address20: any;
|
|
3396
1963
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3397
1964
|
/**
|
|
3398
|
-
*
|
|
3399
|
-
* process for your account.
|
|
3400
|
-
*
|
|
3401
|
-
* Payment: By calling this function, the recoverable account will receive
|
|
3402
|
-
* the recovery deposit `RecoveryDeposit` placed by the rescuer.
|
|
3403
|
-
*
|
|
3404
|
-
* The dispatch origin for this call must be _Signed_ and must be a
|
|
3405
|
-
* recoverable account with an active recovery process for it.
|
|
3406
|
-
*
|
|
3407
|
-
* Parameters:
|
|
3408
|
-
* - `rescuer`: The account trying to rescue this recoverable account.
|
|
1965
|
+
* See [`Pallet::close_recovery`].
|
|
3409
1966
|
**/
|
|
3410
1967
|
closeRecovery: AugmentedSubmittable<(rescuer: MultiAddress | {
|
|
3411
1968
|
Id: any;
|
|
@@ -3419,36 +1976,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3419
1976
|
Address20: any;
|
|
3420
1977
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3421
1978
|
/**
|
|
3422
|
-
*
|
|
3423
|
-
*
|
|
3424
|
-
* Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance
|
|
3425
|
-
* will be reserved for storing the recovery configuration. This deposit is returned
|
|
3426
|
-
* in full when the user calls `remove_recovery`.
|
|
3427
|
-
*
|
|
3428
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3429
|
-
*
|
|
3430
|
-
* Parameters:
|
|
3431
|
-
* - `friends`: A list of friends you trust to vouch for recovery attempts. Should be
|
|
3432
|
-
* ordered and contain no duplicate values.
|
|
3433
|
-
* - `threshold`: The number of friends that must vouch for a recovery attempt before the
|
|
3434
|
-
* account can be recovered. Should be less than or equal to the length of the list of
|
|
3435
|
-
* friends.
|
|
3436
|
-
* - `delay_period`: The number of blocks after a recovery attempt is initialized that
|
|
3437
|
-
* needs to pass before the account can be recovered.
|
|
1979
|
+
* See [`Pallet::create_recovery`].
|
|
3438
1980
|
**/
|
|
3439
1981
|
createRecovery: AugmentedSubmittable<(friends: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], threshold: u16 | AnyNumber | Uint8Array, delayPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, u16, u32]>;
|
|
3440
1982
|
/**
|
|
3441
|
-
*
|
|
3442
|
-
*
|
|
3443
|
-
* Payment: `RecoveryDeposit` balance will be reserved for initiating the
|
|
3444
|
-
* recovery process. This deposit will always be repatriated to the account
|
|
3445
|
-
* trying to be recovered. See `close_recovery`.
|
|
3446
|
-
*
|
|
3447
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3448
|
-
*
|
|
3449
|
-
* Parameters:
|
|
3450
|
-
* - `account`: The lost account that you want to recover. This account needs to be
|
|
3451
|
-
* recoverable (i.e. have a recovery configuration).
|
|
1983
|
+
* See [`Pallet::initiate_recovery`].
|
|
3452
1984
|
**/
|
|
3453
1985
|
initiateRecovery: AugmentedSubmittable<(account: MultiAddress | {
|
|
3454
1986
|
Id: any;
|
|
@@ -3462,28 +1994,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3462
1994
|
Address20: any;
|
|
3463
1995
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3464
1996
|
/**
|
|
3465
|
-
*
|
|
3466
|
-
*
|
|
3467
|
-
* NOTE: The user must make sure to call `close_recovery` on all active
|
|
3468
|
-
* recovery attempts before calling this function else it will fail.
|
|
3469
|
-
*
|
|
3470
|
-
* Payment: By calling this function the recoverable account will unreserve
|
|
3471
|
-
* their recovery configuration deposit.
|
|
3472
|
-
* (`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends)
|
|
3473
|
-
*
|
|
3474
|
-
* The dispatch origin for this call must be _Signed_ and must be a
|
|
3475
|
-
* recoverable account (i.e. has a recovery configuration).
|
|
1997
|
+
* See [`Pallet::remove_recovery`].
|
|
3476
1998
|
**/
|
|
3477
1999
|
removeRecovery: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3478
2000
|
/**
|
|
3479
|
-
*
|
|
3480
|
-
* for a lost account directly.
|
|
3481
|
-
*
|
|
3482
|
-
* The dispatch origin for this call must be _ROOT_.
|
|
3483
|
-
*
|
|
3484
|
-
* Parameters:
|
|
3485
|
-
* - `lost`: The "lost account" to be recovered.
|
|
3486
|
-
* - `rescuer`: The "rescuer account" which can call as the lost account.
|
|
2001
|
+
* See [`Pallet::set_recovered`].
|
|
3487
2002
|
**/
|
|
3488
2003
|
setRecovered: AugmentedSubmittable<(lost: MultiAddress | {
|
|
3489
2004
|
Id: any;
|
|
@@ -3507,18 +2022,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3507
2022
|
Address20: any;
|
|
3508
2023
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
3509
2024
|
/**
|
|
3510
|
-
*
|
|
3511
|
-
* process for that account.
|
|
3512
|
-
*
|
|
3513
|
-
* The dispatch origin for this call must be _Signed_ and must be a "friend"
|
|
3514
|
-
* for the recoverable account.
|
|
3515
|
-
*
|
|
3516
|
-
* Parameters:
|
|
3517
|
-
* - `lost`: The lost account that you want to recover.
|
|
3518
|
-
* - `rescuer`: The account trying to rescue the lost account that you want to vouch for.
|
|
3519
|
-
*
|
|
3520
|
-
* The combination of these two parameters must point to an active recovery
|
|
3521
|
-
* process.
|
|
2025
|
+
* See [`Pallet::vouch_recovery`].
|
|
3522
2026
|
**/
|
|
3523
2027
|
vouchRecovery: AugmentedSubmittable<(lost: MultiAddress | {
|
|
3524
2028
|
Id: any;
|
|
@@ -3548,93 +2052,39 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3548
2052
|
};
|
|
3549
2053
|
referenda: {
|
|
3550
2054
|
/**
|
|
3551
|
-
*
|
|
3552
|
-
*
|
|
3553
|
-
* - `origin`: must be the `CancelOrigin`.
|
|
3554
|
-
* - `index`: The index of the referendum to be cancelled.
|
|
3555
|
-
*
|
|
3556
|
-
* Emits `Cancelled`.
|
|
2055
|
+
* See [`Pallet::cancel`].
|
|
3557
2056
|
**/
|
|
3558
2057
|
cancel: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3559
2058
|
/**
|
|
3560
|
-
*
|
|
3561
|
-
*
|
|
3562
|
-
* - `origin`: must be the `KillOrigin`.
|
|
3563
|
-
* - `index`: The index of the referendum to be cancelled.
|
|
3564
|
-
*
|
|
3565
|
-
* Emits `Killed` and `DepositSlashed`.
|
|
2059
|
+
* See [`Pallet::kill`].
|
|
3566
2060
|
**/
|
|
3567
2061
|
kill: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3568
2062
|
/**
|
|
3569
|
-
*
|
|
3570
|
-
*
|
|
3571
|
-
* - `origin`: must be `Root`.
|
|
3572
|
-
* - `index`: the referendum to be advanced.
|
|
2063
|
+
* See [`Pallet::nudge_referendum`].
|
|
3573
2064
|
**/
|
|
3574
2065
|
nudgeReferendum: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3575
2066
|
/**
|
|
3576
|
-
*
|
|
3577
|
-
*
|
|
3578
|
-
* - `origin`: must be `Root`.
|
|
3579
|
-
* - `track`: the track to be advanced.
|
|
3580
|
-
*
|
|
3581
|
-
* Action item for when there is now one fewer referendum in the deciding phase and the
|
|
3582
|
-
* `DecidingCount` is not yet updated. This means that we should either:
|
|
3583
|
-
* - begin deciding another referendum (and leave `DecidingCount` alone); or
|
|
3584
|
-
* - decrement `DecidingCount`.
|
|
2067
|
+
* See [`Pallet::one_fewer_deciding`].
|
|
3585
2068
|
**/
|
|
3586
2069
|
oneFewerDeciding: AugmentedSubmittable<(track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
|
|
3587
2070
|
/**
|
|
3588
|
-
*
|
|
3589
|
-
*
|
|
3590
|
-
* - `origin`: must be `Signed` and the account must have funds available for the
|
|
3591
|
-
* referendum's track's Decision Deposit.
|
|
3592
|
-
* - `index`: The index of the submitted referendum whose Decision Deposit is yet to be
|
|
3593
|
-
* posted.
|
|
3594
|
-
*
|
|
3595
|
-
* Emits `DecisionDepositPlaced`.
|
|
2071
|
+
* See [`Pallet::place_decision_deposit`].
|
|
3596
2072
|
**/
|
|
3597
2073
|
placeDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3598
2074
|
/**
|
|
3599
|
-
*
|
|
3600
|
-
*
|
|
3601
|
-
* - `origin`: must be `Signed` or `Root`.
|
|
3602
|
-
* - `index`: The index of a closed referendum whose Decision Deposit has not yet been
|
|
3603
|
-
* refunded.
|
|
3604
|
-
*
|
|
3605
|
-
* Emits `DecisionDepositRefunded`.
|
|
2075
|
+
* See [`Pallet::refund_decision_deposit`].
|
|
3606
2076
|
**/
|
|
3607
2077
|
refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3608
2078
|
/**
|
|
3609
|
-
*
|
|
3610
|
-
*
|
|
3611
|
-
* - `origin`: must be `Signed` or `Root`.
|
|
3612
|
-
* - `index`: The index of a closed referendum whose Submission Deposit has not yet been
|
|
3613
|
-
* refunded.
|
|
3614
|
-
*
|
|
3615
|
-
* Emits `SubmissionDepositRefunded`.
|
|
2079
|
+
* See [`Pallet::refund_submission_deposit`].
|
|
3616
2080
|
**/
|
|
3617
2081
|
refundSubmissionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3618
2082
|
/**
|
|
3619
|
-
*
|
|
3620
|
-
*
|
|
3621
|
-
* Parameters:
|
|
3622
|
-
* - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a
|
|
3623
|
-
* metadata of a finished referendum.
|
|
3624
|
-
* - `index`: The index of a referendum to set or clear metadata for.
|
|
3625
|
-
* - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata.
|
|
2083
|
+
* See [`Pallet::set_metadata`].
|
|
3626
2084
|
**/
|
|
3627
2085
|
setMetadata: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, maybeHash: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [u32, Option<H256>]>;
|
|
3628
2086
|
/**
|
|
3629
|
-
*
|
|
3630
|
-
*
|
|
3631
|
-
* - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds
|
|
3632
|
-
* available.
|
|
3633
|
-
* - `proposal_origin`: The origin from which the proposal should be executed.
|
|
3634
|
-
* - `proposal`: The proposal.
|
|
3635
|
-
* - `enactment_moment`: The moment that the proposal should be enacted.
|
|
3636
|
-
*
|
|
3637
|
-
* Emits `Submitted`.
|
|
2087
|
+
* See [`Pallet::submit`].
|
|
3638
2088
|
**/
|
|
3639
2089
|
submit: AugmentedSubmittable<(proposalOrigin: KusamaRuntimeOriginCaller | {
|
|
3640
2090
|
system: any;
|
|
@@ -3664,92 +2114,39 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3664
2114
|
};
|
|
3665
2115
|
registrar: {
|
|
3666
2116
|
/**
|
|
3667
|
-
*
|
|
3668
|
-
* para to deregister or swap a para.
|
|
3669
|
-
*
|
|
3670
|
-
* Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
|
|
2117
|
+
* See [`Pallet::add_lock`].
|
|
3671
2118
|
**/
|
|
3672
2119
|
addLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3673
2120
|
/**
|
|
3674
|
-
*
|
|
3675
|
-
*
|
|
3676
|
-
* The caller must be Root, the `para` owner, or the `para` itself. The para must be a parathread.
|
|
2121
|
+
* See [`Pallet::deregister`].
|
|
3677
2122
|
**/
|
|
3678
2123
|
deregister: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3679
2124
|
/**
|
|
3680
|
-
*
|
|
3681
|
-
*
|
|
3682
|
-
* This function must be called by a Root origin.
|
|
3683
|
-
*
|
|
3684
|
-
* The deposit taken can be specified for this registration. Any `ParaId`
|
|
3685
|
-
* can be registered, including sub-1000 IDs which are System Parachains.
|
|
2125
|
+
* See [`Pallet::force_register`].
|
|
3686
2126
|
**/
|
|
3687
2127
|
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]>;
|
|
3688
2128
|
/**
|
|
3689
|
-
*
|
|
3690
|
-
*
|
|
3691
|
-
* ## Arguments
|
|
3692
|
-
* - `origin`: Must be called by a `Signed` origin.
|
|
3693
|
-
* - `id`: The para ID. Must be owned/managed by the `origin` signing account.
|
|
3694
|
-
* - `genesis_head`: The genesis head data of the parachain/thread.
|
|
3695
|
-
* - `validation_code`: The initial validation code of the parachain/thread.
|
|
3696
|
-
*
|
|
3697
|
-
* ## Deposits/Fees
|
|
3698
|
-
* The origin signed account must reserve a corresponding deposit for the registration. Anything already
|
|
3699
|
-
* reserved previously for this para ID is accounted for.
|
|
3700
|
-
*
|
|
3701
|
-
* ## Events
|
|
3702
|
-
* The `Registered` event is emitted in case of success.
|
|
2129
|
+
* See [`Pallet::register`].
|
|
3703
2130
|
**/
|
|
3704
2131
|
register: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, Bytes]>;
|
|
3705
2132
|
/**
|
|
3706
|
-
*
|
|
3707
|
-
* previously locked para to deregister or swap a para without using governance.
|
|
3708
|
-
*
|
|
3709
|
-
* Can only be called by the Root origin or the parachain.
|
|
2133
|
+
* See [`Pallet::remove_lock`].
|
|
3710
2134
|
**/
|
|
3711
2135
|
removeLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3712
2136
|
/**
|
|
3713
|
-
*
|
|
3714
|
-
*
|
|
3715
|
-
* This function will reserve a new Para Id to be owned/managed by the origin account.
|
|
3716
|
-
* The origin account is able to register head data and validation code using `register` to create
|
|
3717
|
-
* a parathread. Using the Slots pallet, a parathread can then be upgraded to get a parachain slot.
|
|
3718
|
-
*
|
|
3719
|
-
* ## Arguments
|
|
3720
|
-
* - `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new para ID.
|
|
3721
|
-
*
|
|
3722
|
-
* ## Deposits/Fees
|
|
3723
|
-
* The origin must reserve a deposit of `ParaDeposit` for the registration.
|
|
3724
|
-
*
|
|
3725
|
-
* ## Events
|
|
3726
|
-
* The `Reserved` event is emitted in case of success, which provides the ID reserved for use.
|
|
2137
|
+
* See [`Pallet::reserve`].
|
|
3727
2138
|
**/
|
|
3728
2139
|
reserve: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3729
2140
|
/**
|
|
3730
|
-
*
|
|
3731
|
-
*
|
|
3732
|
-
* Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
|
|
2141
|
+
* See [`Pallet::schedule_code_upgrade`].
|
|
3733
2142
|
**/
|
|
3734
2143
|
scheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
3735
2144
|
/**
|
|
3736
|
-
*
|
|
3737
|
-
*
|
|
3738
|
-
* Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked.
|
|
2145
|
+
* See [`Pallet::set_current_head`].
|
|
3739
2146
|
**/
|
|
3740
2147
|
setCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
3741
2148
|
/**
|
|
3742
|
-
*
|
|
3743
|
-
*
|
|
3744
|
-
* The origin must be Root, the `para` owner, or the `para` itself.
|
|
3745
|
-
*
|
|
3746
|
-
* The swap will happen only if there is already an opposite swap pending. If there is not,
|
|
3747
|
-
* the swap will be stored in the pending swaps map, ready for a later confirmatory swap.
|
|
3748
|
-
*
|
|
3749
|
-
* The `ParaId`s remain mapped to the same head data and code so external code can rely on
|
|
3750
|
-
* `ParaId` to be a long-term identifier of a notional "parachain". However, their
|
|
3751
|
-
* scheduling info (i.e. whether they're a parathread or parachain), auction information
|
|
3752
|
-
* and the auction deposit are switched.
|
|
2149
|
+
* See [`Pallet::swap`].
|
|
3753
2150
|
**/
|
|
3754
2151
|
swap: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, other: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
3755
2152
|
/**
|
|
@@ -3759,27 +2156,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3759
2156
|
};
|
|
3760
2157
|
scheduler: {
|
|
3761
2158
|
/**
|
|
3762
|
-
*
|
|
2159
|
+
* See [`Pallet::cancel`].
|
|
3763
2160
|
**/
|
|
3764
2161
|
cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
3765
2162
|
/**
|
|
3766
|
-
*
|
|
2163
|
+
* See [`Pallet::cancel_named`].
|
|
3767
2164
|
**/
|
|
3768
2165
|
cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
|
|
3769
2166
|
/**
|
|
3770
|
-
*
|
|
2167
|
+
* See [`Pallet::schedule`].
|
|
3771
2168
|
**/
|
|
3772
2169
|
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]>;
|
|
3773
2170
|
/**
|
|
3774
|
-
*
|
|
2171
|
+
* See [`Pallet::schedule_after`].
|
|
3775
2172
|
**/
|
|
3776
2173
|
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]>;
|
|
3777
2174
|
/**
|
|
3778
|
-
*
|
|
2175
|
+
* See [`Pallet::schedule_named`].
|
|
3779
2176
|
**/
|
|
3780
2177
|
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]>;
|
|
3781
2178
|
/**
|
|
3782
|
-
*
|
|
2179
|
+
* See [`Pallet::schedule_named_after`].
|
|
3783
2180
|
**/
|
|
3784
2181
|
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]>;
|
|
3785
2182
|
/**
|
|
@@ -3789,30 +2186,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3789
2186
|
};
|
|
3790
2187
|
session: {
|
|
3791
2188
|
/**
|
|
3792
|
-
*
|
|
3793
|
-
*
|
|
3794
|
-
* This doesn't take effect until the next session.
|
|
3795
|
-
*
|
|
3796
|
-
* The dispatch origin of this function must be Signed and the account must be either be
|
|
3797
|
-
* convertible to a validator ID using the chain's typical addressing system (this usually
|
|
3798
|
-
* means being a controller account) or directly convertible into a validator ID (which
|
|
3799
|
-
* usually means being a stash account).
|
|
3800
|
-
*
|
|
3801
|
-
* ## Complexity
|
|
3802
|
-
* - `O(1)` in number of key types. Actual cost depends on the number of length of
|
|
3803
|
-
* `T::Keys::key_ids()` which is fixed.
|
|
2189
|
+
* See [`Pallet::purge_keys`].
|
|
3804
2190
|
**/
|
|
3805
2191
|
purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3806
2192
|
/**
|
|
3807
|
-
*
|
|
3808
|
-
* Allows an account to set its session key prior to becoming a validator.
|
|
3809
|
-
* This doesn't take effect until the next session.
|
|
3810
|
-
*
|
|
3811
|
-
* The dispatch origin of this function must be signed.
|
|
3812
|
-
*
|
|
3813
|
-
* ## Complexity
|
|
3814
|
-
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
|
|
3815
|
-
* fixed.
|
|
2193
|
+
* See [`Pallet::set_keys`].
|
|
3816
2194
|
**/
|
|
3817
2195
|
setKeys: AugmentedSubmittable<(keys: KusamaRuntimeSessionKeys | {
|
|
3818
2196
|
grandpa?: any;
|
|
@@ -3829,26 +2207,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3829
2207
|
};
|
|
3830
2208
|
slots: {
|
|
3831
2209
|
/**
|
|
3832
|
-
*
|
|
3833
|
-
*
|
|
3834
|
-
* The dispatch origin for this call must match `T::ForceOrigin`.
|
|
2210
|
+
* See [`Pallet::clear_all_leases`].
|
|
3835
2211
|
**/
|
|
3836
2212
|
clearAllLeases: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3837
2213
|
/**
|
|
3838
|
-
*
|
|
3839
|
-
* independently of any other on-chain mechanism to use it.
|
|
3840
|
-
*
|
|
3841
|
-
* The dispatch origin for this call must match `T::ForceOrigin`.
|
|
2214
|
+
* See [`Pallet::force_lease`].
|
|
3842
2215
|
**/
|
|
3843
2216
|
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]>;
|
|
3844
2217
|
/**
|
|
3845
|
-
*
|
|
3846
|
-
*
|
|
3847
|
-
* This function can be useful if there was some state issue with a para that should
|
|
3848
|
-
* have onboarded, but was unable to. As long as they have a lease period, we can
|
|
3849
|
-
* let them onboard from here.
|
|
3850
|
-
*
|
|
3851
|
-
* Origin must be signed, but can be called by anyone.
|
|
2218
|
+
* See [`Pallet::trigger_onboard`].
|
|
3852
2219
|
**/
|
|
3853
2220
|
triggerOnboard: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3854
2221
|
/**
|
|
@@ -3858,53 +2225,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3858
2225
|
};
|
|
3859
2226
|
society: {
|
|
3860
2227
|
/**
|
|
3861
|
-
*
|
|
3862
|
-
*
|
|
3863
|
-
* Payment: `CandidateDeposit` will be reserved for making a bid. It is returned
|
|
3864
|
-
* when the bid becomes a member, or if the bid calls `unbid`.
|
|
3865
|
-
*
|
|
3866
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3867
|
-
*
|
|
3868
|
-
* Parameters:
|
|
3869
|
-
* - `value`: A one time payment the bid would like to receive when joining the society.
|
|
3870
|
-
*
|
|
3871
|
-
* ## Complexity
|
|
3872
|
-
* - O(M + B + C + logM + logB + X)
|
|
3873
|
-
* - B (len of bids)
|
|
3874
|
-
* - C (len of candidates)
|
|
3875
|
-
* - M (len of members)
|
|
3876
|
-
* - X (balance reserve)
|
|
2228
|
+
* See [`Pallet::bid`].
|
|
3877
2229
|
**/
|
|
3878
2230
|
bid: AugmentedSubmittable<(value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
3879
2231
|
/**
|
|
3880
|
-
*
|
|
3881
|
-
*
|
|
3882
|
-
* The dispatch origin for this call must be _Signed_ and a member.
|
|
3883
|
-
*
|
|
3884
|
-
* Parameters:
|
|
3885
|
-
* - `approve`: A boolean which says if the candidate should be
|
|
3886
|
-
* approved (`true`) or rejected (`false`).
|
|
3887
|
-
*
|
|
3888
|
-
* ## Complexity
|
|
3889
|
-
* - O(M + logM)
|
|
3890
|
-
* - M (len of members)
|
|
2232
|
+
* See [`Pallet::defender_vote`].
|
|
3891
2233
|
**/
|
|
3892
2234
|
defenderVote: AugmentedSubmittable<(approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
3893
2235
|
/**
|
|
3894
|
-
*
|
|
3895
|
-
*
|
|
3896
|
-
* This is done as a discrete action in order to allow for the
|
|
3897
|
-
* pallet to be included into a running chain and can only be done once.
|
|
3898
|
-
*
|
|
3899
|
-
* The dispatch origin for this call must be from the _FounderSetOrigin_.
|
|
3900
|
-
*
|
|
3901
|
-
* Parameters:
|
|
3902
|
-
* - `founder` - The first member and head of the newly founded society.
|
|
3903
|
-
* - `max_members` - The initial max number of members for the society.
|
|
3904
|
-
* - `rules` - The rules of this society concerning membership.
|
|
3905
|
-
*
|
|
3906
|
-
* ## Complexity
|
|
3907
|
-
* - O(1)
|
|
2236
|
+
* See [`Pallet::found`].
|
|
3908
2237
|
**/
|
|
3909
2238
|
found: AugmentedSubmittable<(founder: MultiAddress | {
|
|
3910
2239
|
Id: any;
|
|
@@ -3918,28 +2247,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3918
2247
|
Address20: any;
|
|
3919
2248
|
} | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, Bytes]>;
|
|
3920
2249
|
/**
|
|
3921
|
-
*
|
|
3922
|
-
*
|
|
3923
|
-
* If the judgement is `Approve`, we add them to society as a member with the appropriate
|
|
3924
|
-
* payment for joining society.
|
|
3925
|
-
*
|
|
3926
|
-
* If the judgement is `Reject`, we either slash the deposit of the bid, giving it back
|
|
3927
|
-
* to the society treasury, or we ban the voucher from vouching again.
|
|
3928
|
-
*
|
|
3929
|
-
* If the judgement is `Rebid`, we put the candidate back in the bid pool and let them go
|
|
3930
|
-
* through the induction process again.
|
|
3931
|
-
*
|
|
3932
|
-
* The dispatch origin for this call must be from the _SuspensionJudgementOrigin_.
|
|
3933
|
-
*
|
|
3934
|
-
* Parameters:
|
|
3935
|
-
* - `who` - The suspended candidate to be judged.
|
|
3936
|
-
* - `judgement` - `Approve`, `Reject`, or `Rebid`.
|
|
3937
|
-
*
|
|
3938
|
-
* ## Complexity
|
|
3939
|
-
* - O(M + logM + B + X)
|
|
3940
|
-
* - B (len of bids)
|
|
3941
|
-
* - M (len of members)
|
|
3942
|
-
* - X (balance action)
|
|
2250
|
+
* See [`Pallet::judge_suspended_candidate`].
|
|
3943
2251
|
**/
|
|
3944
2252
|
judgeSuspendedCandidate: AugmentedSubmittable<(who: MultiAddress | {
|
|
3945
2253
|
Id: any;
|
|
@@ -3953,25 +2261,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3953
2261
|
Address20: any;
|
|
3954
2262
|
} | string | Uint8Array, judgement: PalletSocietyJudgement | 'Rebid' | 'Reject' | 'Approve' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletSocietyJudgement]>;
|
|
3955
2263
|
/**
|
|
3956
|
-
*
|
|
3957
|
-
*
|
|
3958
|
-
* If a suspended member is forgiven, we simply add them back as a member, not affecting
|
|
3959
|
-
* any of the existing storage items for that member.
|
|
3960
|
-
*
|
|
3961
|
-
* If a suspended member is rejected, remove all associated storage items, including
|
|
3962
|
-
* their payouts, and remove any vouched bids they currently have.
|
|
3963
|
-
*
|
|
3964
|
-
* The dispatch origin for this call must be from the _SuspensionJudgementOrigin_.
|
|
3965
|
-
*
|
|
3966
|
-
* Parameters:
|
|
3967
|
-
* - `who` - The suspended member to be judged.
|
|
3968
|
-
* - `forgive` - A boolean representing whether the suspension judgement origin forgives
|
|
3969
|
-
* (`true`) or rejects (`false`) a suspended member.
|
|
3970
|
-
*
|
|
3971
|
-
* ## Complexity
|
|
3972
|
-
* - O(M + logM + B)
|
|
3973
|
-
* - B (len of bids)
|
|
3974
|
-
* - M (len of members)
|
|
2264
|
+
* See [`Pallet::judge_suspended_member`].
|
|
3975
2265
|
**/
|
|
3976
2266
|
judgeSuspendedMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
3977
2267
|
Id: any;
|
|
@@ -3985,94 +2275,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3985
2275
|
Address20: any;
|
|
3986
2276
|
} | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
3987
2277
|
/**
|
|
3988
|
-
*
|
|
3989
|
-
*
|
|
3990
|
-
* NOTE: This extrinsic needs to be called multiple times to claim multiple matured
|
|
3991
|
-
* payouts.
|
|
3992
|
-
*
|
|
3993
|
-
* Payment: The member will receive a payment equal to their first matured
|
|
3994
|
-
* payout to their free balance.
|
|
3995
|
-
*
|
|
3996
|
-
* The dispatch origin for this call must be _Signed_ and a member with
|
|
3997
|
-
* payouts remaining.
|
|
3998
|
-
*
|
|
3999
|
-
* ## Complexity
|
|
4000
|
-
* - O(M + logM + P + X)
|
|
4001
|
-
* - M (len of members)
|
|
4002
|
-
* - P (number of payouts for a particular member)
|
|
4003
|
-
* - X (currency transfer call)
|
|
2278
|
+
* See [`Pallet::payout`].
|
|
4004
2279
|
**/
|
|
4005
2280
|
payout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4006
2281
|
/**
|
|
4007
|
-
*
|
|
4008
|
-
* Max membership count must be greater than 1.
|
|
4009
|
-
*
|
|
4010
|
-
* The dispatch origin for this call must be from _ROOT_.
|
|
4011
|
-
*
|
|
4012
|
-
* Parameters:
|
|
4013
|
-
* - `max` - The maximum number of members for the society.
|
|
4014
|
-
*
|
|
4015
|
-
* ## Complexity
|
|
4016
|
-
* - O(1)
|
|
2282
|
+
* See [`Pallet::set_max_members`].
|
|
4017
2283
|
**/
|
|
4018
2284
|
setMaxMembers: AugmentedSubmittable<(max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
4019
2285
|
/**
|
|
4020
|
-
*
|
|
4021
|
-
* By doing so, they will have their candidate deposit returned or
|
|
4022
|
-
* they will unvouch their voucher.
|
|
4023
|
-
*
|
|
4024
|
-
* Payment: The bid deposit is unreserved if the user made a bid.
|
|
4025
|
-
*
|
|
4026
|
-
* The dispatch origin for this call must be _Signed_ and a bidder.
|
|
4027
|
-
*
|
|
4028
|
-
* Parameters:
|
|
4029
|
-
* - `pos`: Position in the `Bids` vector of the bid who wants to unbid.
|
|
4030
|
-
*
|
|
4031
|
-
* ## Complexity
|
|
4032
|
-
* - O(B + X)
|
|
4033
|
-
* - B (len of bids)
|
|
4034
|
-
* - X (balance unreserve)
|
|
2286
|
+
* See [`Pallet::unbid`].
|
|
4035
2287
|
**/
|
|
4036
2288
|
unbid: AugmentedSubmittable<(pos: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
4037
2289
|
/**
|
|
4038
|
-
*
|
|
4039
|
-
*
|
|
4040
|
-
* The dispatch origin for this call must be Signed, and the signing account must be both
|
|
4041
|
-
* the `Founder` and the `Head`. This implies that it may only be done when there is one
|
|
4042
|
-
* member.
|
|
4043
|
-
*
|
|
4044
|
-
* ## Complexity
|
|
4045
|
-
* - O(1)
|
|
2290
|
+
* See [`Pallet::unfound`].
|
|
4046
2291
|
**/
|
|
4047
2292
|
unfound: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4048
2293
|
/**
|
|
4049
|
-
*
|
|
4050
|
-
* only a bidder (and not a candidate).
|
|
4051
|
-
*
|
|
4052
|
-
* The dispatch origin for this call must be _Signed_ and a vouching member.
|
|
4053
|
-
*
|
|
4054
|
-
* Parameters:
|
|
4055
|
-
* - `pos`: Position in the `Bids` vector of the bid who should be unvouched.
|
|
4056
|
-
*
|
|
4057
|
-
* ## Complexity
|
|
4058
|
-
* - O(B)
|
|
4059
|
-
* - B (len of bids)
|
|
2294
|
+
* See [`Pallet::unvouch`].
|
|
4060
2295
|
**/
|
|
4061
2296
|
unvouch: AugmentedSubmittable<(pos: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
4062
2297
|
/**
|
|
4063
|
-
*
|
|
4064
|
-
*
|
|
4065
|
-
* The dispatch origin for this call must be _Signed_ and a member.
|
|
4066
|
-
*
|
|
4067
|
-
* Parameters:
|
|
4068
|
-
* - `candidate`: The candidate that the member would like to bid on.
|
|
4069
|
-
* - `approve`: A boolean which says if the candidate should be approved (`true`) or
|
|
4070
|
-
* rejected (`false`).
|
|
4071
|
-
*
|
|
4072
|
-
* ## Complexity
|
|
4073
|
-
* - O(M + logM + C)
|
|
4074
|
-
* - C (len of candidates)
|
|
4075
|
-
* - M (len of members)
|
|
2298
|
+
* See [`Pallet::vote`].
|
|
4076
2299
|
**/
|
|
4077
2300
|
vote: AugmentedSubmittable<(candidate: MultiAddress | {
|
|
4078
2301
|
Id: any;
|
|
@@ -4086,30 +2309,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4086
2309
|
Address20: any;
|
|
4087
2310
|
} | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
4088
2311
|
/**
|
|
4089
|
-
*
|
|
4090
|
-
*
|
|
4091
|
-
* There is no deposit required to vouch for a new bid, but a member can only vouch for
|
|
4092
|
-
* one bid at a time. If the bid becomes a suspended candidate and ultimately rejected by
|
|
4093
|
-
* the suspension judgement origin, the member will be banned from vouching again.
|
|
4094
|
-
*
|
|
4095
|
-
* As a vouching member, you can claim a tip if the candidate is accepted. This tip will
|
|
4096
|
-
* be paid as a portion of the reward the member will receive for joining the society.
|
|
4097
|
-
*
|
|
4098
|
-
* The dispatch origin for this call must be _Signed_ and a member.
|
|
4099
|
-
*
|
|
4100
|
-
* Parameters:
|
|
4101
|
-
* - `who`: The user who you would like to vouch for.
|
|
4102
|
-
* - `value`: The total reward to be paid between you and the candidate if they become
|
|
4103
|
-
* a member in the society.
|
|
4104
|
-
* - `tip`: Your cut of the total `value` payout when the candidate is inducted into
|
|
4105
|
-
* the society. Tips larger than `value` will be saturated upon payout.
|
|
4106
|
-
*
|
|
4107
|
-
* ## Complexity
|
|
4108
|
-
* - O(M + B + C + logM + logB + X)
|
|
4109
|
-
* - B (len of bids)
|
|
4110
|
-
* - C (len of candidates)
|
|
4111
|
-
* - M (len of members)
|
|
4112
|
-
* - X (balance reserve)
|
|
2312
|
+
* See [`Pallet::vouch`].
|
|
4113
2313
|
**/
|
|
4114
2314
|
vouch: AugmentedSubmittable<(who: MultiAddress | {
|
|
4115
2315
|
Id: any;
|
|
@@ -4129,33 +2329,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4129
2329
|
};
|
|
4130
2330
|
staking: {
|
|
4131
2331
|
/**
|
|
4132
|
-
*
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
* `value` must be more than the `minimum_balance` specified by `T::Currency`.
|
|
4136
|
-
*
|
|
4137
|
-
* The dispatch origin for this call must be _Signed_ by the stash account.
|
|
4138
|
-
*
|
|
4139
|
-
* Emits `Bonded`.
|
|
4140
|
-
* ## Complexity
|
|
4141
|
-
* - Independent of the arguments. Moderate complexity.
|
|
4142
|
-
* - O(1).
|
|
4143
|
-
* - Three extra DB entries.
|
|
4144
|
-
*
|
|
4145
|
-
* NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
|
|
4146
|
-
* unless the `origin` falls below _existential deposit_ and gets removed as dust.
|
|
4147
|
-
**/
|
|
4148
|
-
bond: AugmentedSubmittable<(controller: MultiAddress | {
|
|
4149
|
-
Id: any;
|
|
4150
|
-
} | {
|
|
4151
|
-
Index: any;
|
|
4152
|
-
} | {
|
|
4153
|
-
Raw: any;
|
|
4154
|
-
} | {
|
|
4155
|
-
Address32: any;
|
|
4156
|
-
} | {
|
|
4157
|
-
Address20: any;
|
|
4158
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | {
|
|
2332
|
+
* See [`Pallet::bond`].
|
|
2333
|
+
**/
|
|
2334
|
+
bond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | {
|
|
4159
2335
|
Staked: any;
|
|
4160
2336
|
} | {
|
|
4161
2337
|
Stash: any;
|
|
@@ -4165,153 +2341,49 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4165
2341
|
Account: any;
|
|
4166
2342
|
} | {
|
|
4167
2343
|
None: any;
|
|
4168
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4169
|
-
/**
|
|
4170
|
-
*
|
|
4171
|
-
* for staking.
|
|
4172
|
-
*
|
|
4173
|
-
* The dispatch origin for this call must be _Signed_ by the stash, not the controller.
|
|
4174
|
-
*
|
|
4175
|
-
* Use this if there are additional funds in your stash account that you wish to bond.
|
|
4176
|
-
* Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose
|
|
4177
|
-
* any limitation on the amount that can be added.
|
|
4178
|
-
*
|
|
4179
|
-
* Emits `Bonded`.
|
|
4180
|
-
*
|
|
4181
|
-
* ## Complexity
|
|
4182
|
-
* - Independent of the arguments. Insignificant complexity.
|
|
4183
|
-
* - O(1).
|
|
2344
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PalletStakingRewardDestination]>;
|
|
2345
|
+
/**
|
|
2346
|
+
* See [`Pallet::bond_extra`].
|
|
4184
2347
|
**/
|
|
4185
2348
|
bondExtra: AugmentedSubmittable<(maxAdditional: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
|
4186
2349
|
/**
|
|
4187
|
-
*
|
|
4188
|
-
*
|
|
4189
|
-
* Can be called by the `T::AdminOrigin`.
|
|
4190
|
-
*
|
|
4191
|
-
* Parameters: era and indices of the slashes for that era to kill.
|
|
2350
|
+
* See [`Pallet::cancel_deferred_slash`].
|
|
4192
2351
|
**/
|
|
4193
2352
|
cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
|
|
4194
2353
|
/**
|
|
4195
|
-
*
|
|
4196
|
-
*
|
|
4197
|
-
* Effects will be felt at the beginning of the next era.
|
|
4198
|
-
*
|
|
4199
|
-
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
4200
|
-
*
|
|
4201
|
-
* ## Complexity
|
|
4202
|
-
* - Independent of the arguments. Insignificant complexity.
|
|
4203
|
-
* - Contains one read.
|
|
4204
|
-
* - Writes are limited to the `origin` account key.
|
|
2354
|
+
* See [`Pallet::chill`].
|
|
4205
2355
|
**/
|
|
4206
2356
|
chill: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4207
2357
|
/**
|
|
4208
|
-
*
|
|
4209
|
-
*
|
|
4210
|
-
* Effects will be felt at the beginning of the next era.
|
|
4211
|
-
*
|
|
4212
|
-
* The dispatch origin for this call must be _Signed_, but can be called by anyone.
|
|
4213
|
-
*
|
|
4214
|
-
* If the caller is the same as the controller being targeted, then no further checks are
|
|
4215
|
-
* enforced, and this function behaves just like `chill`.
|
|
4216
|
-
*
|
|
4217
|
-
* If the caller is different than the controller being targeted, the following conditions
|
|
4218
|
-
* must be met:
|
|
4219
|
-
*
|
|
4220
|
-
* * `controller` must belong to a nominator who has become non-decodable,
|
|
4221
|
-
*
|
|
4222
|
-
* Or:
|
|
4223
|
-
*
|
|
4224
|
-
* * A `ChillThreshold` must be set and checked which defines how close to the max
|
|
4225
|
-
* nominators or validators we must reach before users can start chilling one-another.
|
|
4226
|
-
* * A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine
|
|
4227
|
-
* how close we are to the threshold.
|
|
4228
|
-
* * A `MinNominatorBond` and `MinValidatorBond` must be set and checked, which determines
|
|
4229
|
-
* if this is a person that should be chilled because they have not met the threshold
|
|
4230
|
-
* bond required.
|
|
4231
|
-
*
|
|
4232
|
-
* This can be helpful if bond requirements are updated, and we need to remove old users
|
|
4233
|
-
* who do not satisfy these requirements.
|
|
2358
|
+
* See [`Pallet::chill_other`].
|
|
4234
2359
|
**/
|
|
4235
2360
|
chillOther: AugmentedSubmittable<(controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
4236
2361
|
/**
|
|
4237
|
-
*
|
|
4238
|
-
* validator who already has a commission greater than or equal to the minimum. Any account
|
|
4239
|
-
* can call this.
|
|
2362
|
+
* See [`Pallet::force_apply_min_commission`].
|
|
4240
2363
|
**/
|
|
4241
2364
|
forceApplyMinCommission: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
4242
2365
|
/**
|
|
4243
|
-
*
|
|
4244
|
-
* reset to normal (non-forced) behaviour.
|
|
4245
|
-
*
|
|
4246
|
-
* The dispatch origin must be Root.
|
|
4247
|
-
*
|
|
4248
|
-
* # Warning
|
|
4249
|
-
*
|
|
4250
|
-
* The election process starts multiple blocks before the end of the era.
|
|
4251
|
-
* If this is called just before a new era is triggered, the election process may not
|
|
4252
|
-
* have enough blocks to get a result.
|
|
4253
|
-
*
|
|
4254
|
-
* ## Complexity
|
|
4255
|
-
* - No arguments.
|
|
4256
|
-
* - Weight: O(1)
|
|
2366
|
+
* See [`Pallet::force_new_era`].
|
|
4257
2367
|
**/
|
|
4258
2368
|
forceNewEra: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4259
2369
|
/**
|
|
4260
|
-
*
|
|
4261
|
-
*
|
|
4262
|
-
* The dispatch origin must be Root.
|
|
4263
|
-
*
|
|
4264
|
-
* # Warning
|
|
4265
|
-
*
|
|
4266
|
-
* The election process starts multiple blocks before the end of the era.
|
|
4267
|
-
* If this is called just before a new era is triggered, the election process may not
|
|
4268
|
-
* have enough blocks to get a result.
|
|
2370
|
+
* See [`Pallet::force_new_era_always`].
|
|
4269
2371
|
**/
|
|
4270
2372
|
forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4271
2373
|
/**
|
|
4272
|
-
*
|
|
4273
|
-
*
|
|
4274
|
-
* The dispatch origin must be Root.
|
|
4275
|
-
*
|
|
4276
|
-
* # Warning
|
|
4277
|
-
*
|
|
4278
|
-
* The election process starts multiple blocks before the end of the era.
|
|
4279
|
-
* Thus the election process may be ongoing when this is called. In this case the
|
|
4280
|
-
* election will continue until the next era is triggered.
|
|
4281
|
-
*
|
|
4282
|
-
* ## Complexity
|
|
4283
|
-
* - No arguments.
|
|
4284
|
-
* - Weight: O(1)
|
|
2374
|
+
* See [`Pallet::force_no_eras`].
|
|
4285
2375
|
**/
|
|
4286
2376
|
forceNoEras: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4287
2377
|
/**
|
|
4288
|
-
*
|
|
4289
|
-
*
|
|
4290
|
-
* The dispatch origin must be Root.
|
|
2378
|
+
* See [`Pallet::force_unstake`].
|
|
4291
2379
|
**/
|
|
4292
2380
|
forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
|
4293
2381
|
/**
|
|
4294
|
-
*
|
|
4295
|
-
* `ElectionProviderBase::MaxWinners`.
|
|
4296
|
-
*
|
|
4297
|
-
* The dispatch origin must be Root.
|
|
4298
|
-
*
|
|
4299
|
-
* ## Complexity
|
|
4300
|
-
* Same as [`Self::set_validator_count`].
|
|
2382
|
+
* See [`Pallet::increase_validator_count`].
|
|
4301
2383
|
**/
|
|
4302
2384
|
increaseValidatorCount: AugmentedSubmittable<(additional: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
4303
2385
|
/**
|
|
4304
|
-
*
|
|
4305
|
-
*
|
|
4306
|
-
* Effects will be felt at the beginning of the next era.
|
|
4307
|
-
*
|
|
4308
|
-
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
4309
|
-
*
|
|
4310
|
-
* - `who`: A list of nominator stash accounts who are nominating this validator which
|
|
4311
|
-
* should no longer be nominating this validator.
|
|
4312
|
-
*
|
|
4313
|
-
* Note: Making this call only makes sense if you first set the validator preferences to
|
|
4314
|
-
* block any further nominations.
|
|
2386
|
+
* See [`Pallet::kick`].
|
|
4315
2387
|
**/
|
|
4316
2388
|
kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | {
|
|
4317
2389
|
Id: any;
|
|
@@ -4325,16 +2397,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4325
2397
|
Address20: any;
|
|
4326
2398
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
|
|
4327
2399
|
/**
|
|
4328
|
-
*
|
|
4329
|
-
*
|
|
4330
|
-
* Effects will be felt at the beginning of the next era.
|
|
4331
|
-
*
|
|
4332
|
-
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
4333
|
-
*
|
|
4334
|
-
* ## Complexity
|
|
4335
|
-
* - The transaction's complexity is proportional to the size of `targets` (N)
|
|
4336
|
-
* which is capped at CompactAssignments::LIMIT (T::MaxNominations).
|
|
4337
|
-
* - Both the reads and writes follow a similar pattern.
|
|
2400
|
+
* See [`Pallet::nominate`].
|
|
4338
2401
|
**/
|
|
4339
2402
|
nominate: AugmentedSubmittable<(targets: Vec<MultiAddress> | (MultiAddress | {
|
|
4340
2403
|
Id: any;
|
|
@@ -4348,104 +2411,35 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4348
2411
|
Address20: any;
|
|
4349
2412
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
|
|
4350
2413
|
/**
|
|
4351
|
-
*
|
|
4352
|
-
*
|
|
4353
|
-
* - `validator_stash` is the stash account of the validator. Their nominators, up to
|
|
4354
|
-
* `T::MaxNominatorRewardedPerValidator`, will also receive their rewards.
|
|
4355
|
-
* - `era` may be any era between `[current_era - history_depth; current_era]`.
|
|
4356
|
-
*
|
|
4357
|
-
* The origin of this call must be _Signed_. Any account can call this function, even if
|
|
4358
|
-
* it is not one of the stakers.
|
|
4359
|
-
*
|
|
4360
|
-
* ## Complexity
|
|
4361
|
-
* - At most O(MaxNominatorRewardedPerValidator).
|
|
2414
|
+
* See [`Pallet::payout_stakers`].
|
|
4362
2415
|
**/
|
|
4363
2416
|
payoutStakers: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
|
4364
2417
|
/**
|
|
4365
|
-
*
|
|
4366
|
-
* be considered `dust` in the staking system. The requirements are:
|
|
4367
|
-
*
|
|
4368
|
-
* 1. the `total_balance` of the stash is below existential deposit.
|
|
4369
|
-
* 2. or, the `ledger.total` of the stash is below existential deposit.
|
|
4370
|
-
*
|
|
4371
|
-
* The former can happen in cases like a slash; the latter when a fully unbonded account
|
|
4372
|
-
* is still receiving staking rewards in `RewardDestination::Staked`.
|
|
4373
|
-
*
|
|
4374
|
-
* It can be called by anyone, as long as `stash` meets the above requirements.
|
|
4375
|
-
*
|
|
4376
|
-
* Refunds the transaction fees upon successful execution.
|
|
2418
|
+
* See [`Pallet::reap_stash`].
|
|
4377
2419
|
**/
|
|
4378
2420
|
reapStash: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
|
4379
2421
|
/**
|
|
4380
|
-
*
|
|
4381
|
-
*
|
|
4382
|
-
* The dispatch origin must be signed by the controller.
|
|
4383
|
-
*
|
|
4384
|
-
* ## Complexity
|
|
4385
|
-
* - Time complexity: O(L), where L is unlocking chunks
|
|
4386
|
-
* - Bounded by `MaxUnlockingChunks`.
|
|
2422
|
+
* See [`Pallet::rebond`].
|
|
4387
2423
|
**/
|
|
4388
2424
|
rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
|
4389
2425
|
/**
|
|
4390
|
-
*
|
|
4391
|
-
* `ElectionProviderBase::MaxWinners`.
|
|
4392
|
-
*
|
|
4393
|
-
* The dispatch origin must be Root.
|
|
4394
|
-
*
|
|
4395
|
-
* ## Complexity
|
|
4396
|
-
* Same as [`Self::set_validator_count`].
|
|
2426
|
+
* See [`Pallet::scale_validator_count`].
|
|
4397
2427
|
**/
|
|
4398
2428
|
scaleValidatorCount: AugmentedSubmittable<(factor: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Percent]>;
|
|
4399
2429
|
/**
|
|
4400
|
-
*
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
*
|
|
4404
|
-
* The dispatch origin for this call must be _Signed_ by the stash, not the controller.
|
|
4405
|
-
*
|
|
4406
|
-
* ## Complexity
|
|
4407
|
-
* O(1)
|
|
4408
|
-
* - Independent of the arguments. Insignificant complexity.
|
|
4409
|
-
* - Contains a limited number of reads.
|
|
4410
|
-
* - Writes are limited to the `origin` account key.
|
|
4411
|
-
**/
|
|
4412
|
-
setController: AugmentedSubmittable<(controller: MultiAddress | {
|
|
4413
|
-
Id: any;
|
|
4414
|
-
} | {
|
|
4415
|
-
Index: any;
|
|
4416
|
-
} | {
|
|
4417
|
-
Raw: any;
|
|
4418
|
-
} | {
|
|
4419
|
-
Address32: any;
|
|
4420
|
-
} | {
|
|
4421
|
-
Address20: any;
|
|
4422
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
2430
|
+
* See [`Pallet::set_controller`].
|
|
2431
|
+
**/
|
|
2432
|
+
setController: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4423
2433
|
/**
|
|
4424
|
-
*
|
|
4425
|
-
*
|
|
4426
|
-
* The dispatch origin must be Root.
|
|
2434
|
+
* See [`Pallet::set_invulnerables`].
|
|
4427
2435
|
**/
|
|
4428
2436
|
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
4429
2437
|
/**
|
|
4430
|
-
*
|
|
4431
|
-
*
|
|
4432
|
-
* This call has lower privilege requirements than `set_staking_config` and can be called
|
|
4433
|
-
* by the `T::AdminOrigin`. Root can always call this.
|
|
2438
|
+
* See [`Pallet::set_min_commission`].
|
|
4434
2439
|
**/
|
|
4435
2440
|
setMinCommission: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
|
4436
2441
|
/**
|
|
4437
|
-
*
|
|
4438
|
-
*
|
|
4439
|
-
* Effects will be felt instantly (as soon as this function is completed successfully).
|
|
4440
|
-
*
|
|
4441
|
-
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
4442
|
-
*
|
|
4443
|
-
* ## Complexity
|
|
4444
|
-
* - O(1)
|
|
4445
|
-
* - Independent of the arguments. Insignificant complexity.
|
|
4446
|
-
* - Contains a limited number of reads.
|
|
4447
|
-
* - Writes are limited to the `origin` account key.
|
|
4448
|
-
* ---------
|
|
2442
|
+
* See [`Pallet::set_payee`].
|
|
4449
2443
|
**/
|
|
4450
2444
|
setPayee: AugmentedSubmittable<(payee: PalletStakingRewardDestination | {
|
|
4451
2445
|
Staked: any;
|
|
@@ -4459,23 +2453,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4459
2453
|
None: any;
|
|
4460
2454
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingRewardDestination]>;
|
|
4461
2455
|
/**
|
|
4462
|
-
*
|
|
4463
|
-
*
|
|
4464
|
-
* * `min_nominator_bond`: The minimum active bond needed to be a nominator.
|
|
4465
|
-
* * `min_validator_bond`: The minimum active bond needed to be a validator.
|
|
4466
|
-
* * `max_nominator_count`: The max number of users who can be a nominator at once. When
|
|
4467
|
-
* set to `None`, no limit is enforced.
|
|
4468
|
-
* * `max_validator_count`: The max number of users who can be a validator at once. When
|
|
4469
|
-
* set to `None`, no limit is enforced.
|
|
4470
|
-
* * `chill_threshold`: The ratio of `max_nominator_count` or `max_validator_count` which
|
|
4471
|
-
* should be filled in order for the `chill_other` transaction to work.
|
|
4472
|
-
* * `min_commission`: The minimum amount of commission that each validators must maintain.
|
|
4473
|
-
* This is checked only upon calling `validate`. Existing validators are not affected.
|
|
4474
|
-
*
|
|
4475
|
-
* RuntimeOrigin must be Root to call this function.
|
|
4476
|
-
*
|
|
4477
|
-
* NOTE: Existing nominators and validators will not be affected by this update.
|
|
4478
|
-
* to kick people under the new limits, `chill_other` should be called.
|
|
2456
|
+
* See [`Pallet::set_staking_configs`].
|
|
4479
2457
|
**/
|
|
4480
2458
|
setStakingConfigs: AugmentedSubmittable<(minNominatorBond: PalletStakingPalletConfigOpU128 | {
|
|
4481
2459
|
Noop: any;
|
|
@@ -4515,62 +2493,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4515
2493
|
Remove: any;
|
|
4516
2494
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpPerbill]>;
|
|
4517
2495
|
/**
|
|
4518
|
-
*
|
|
4519
|
-
*
|
|
4520
|
-
* The dispatch origin must be Root.
|
|
4521
|
-
*
|
|
4522
|
-
* ## Complexity
|
|
4523
|
-
* O(1)
|
|
2496
|
+
* See [`Pallet::set_validator_count`].
|
|
4524
2497
|
**/
|
|
4525
2498
|
setValidatorCount: AugmentedSubmittable<(updated: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
4526
2499
|
/**
|
|
4527
|
-
*
|
|
4528
|
-
* period ends. If this leaves an amount actively bonded less than
|
|
4529
|
-
* T::Currency::minimum_balance(), then it is increased to the full amount.
|
|
4530
|
-
*
|
|
4531
|
-
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
4532
|
-
*
|
|
4533
|
-
* Once the unlock period is done, you can call `withdraw_unbonded` to actually move
|
|
4534
|
-
* the funds out of management ready for transfer.
|
|
4535
|
-
*
|
|
4536
|
-
* No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)
|
|
4537
|
-
* can co-exists at the same time. If there are no unlocking chunks slots available
|
|
4538
|
-
* [`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible).
|
|
4539
|
-
*
|
|
4540
|
-
* If a user encounters the `InsufficientBond` error when calling this extrinsic,
|
|
4541
|
-
* they should call `chill` first in order to free up their bonded funds.
|
|
4542
|
-
*
|
|
4543
|
-
* Emits `Unbonded`.
|
|
4544
|
-
*
|
|
4545
|
-
* See also [`Call::withdraw_unbonded`].
|
|
2500
|
+
* See [`Pallet::unbond`].
|
|
4546
2501
|
**/
|
|
4547
2502
|
unbond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
|
4548
2503
|
/**
|
|
4549
|
-
*
|
|
4550
|
-
*
|
|
4551
|
-
* Effects will be felt at the beginning of the next era.
|
|
4552
|
-
*
|
|
4553
|
-
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
2504
|
+
* See [`Pallet::validate`].
|
|
4554
2505
|
**/
|
|
4555
2506
|
validate: AugmentedSubmittable<(prefs: PalletStakingValidatorPrefs | {
|
|
4556
2507
|
commission?: any;
|
|
4557
2508
|
blocked?: any;
|
|
4558
2509
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingValidatorPrefs]>;
|
|
4559
2510
|
/**
|
|
4560
|
-
*
|
|
4561
|
-
*
|
|
4562
|
-
* This essentially frees up that balance to be used by the stash account to do
|
|
4563
|
-
* whatever it wants.
|
|
4564
|
-
*
|
|
4565
|
-
* The dispatch origin for this call must be _Signed_ by the controller.
|
|
4566
|
-
*
|
|
4567
|
-
* Emits `Withdrawn`.
|
|
4568
|
-
*
|
|
4569
|
-
* See also [`Call::unbond`].
|
|
4570
|
-
*
|
|
4571
|
-
* ## Complexity
|
|
4572
|
-
* O(S) where S is the number of slashing spans to remove
|
|
4573
|
-
* NOTE: Weight annotation is the kill scenario, we refund otherwise.
|
|
2511
|
+
* See [`Pallet::withdraw_unbonded`].
|
|
4574
2512
|
**/
|
|
4575
2513
|
withdrawUnbonded: AugmentedSubmittable<(numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
4576
2514
|
/**
|
|
@@ -4580,40 +2518,35 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4580
2518
|
};
|
|
4581
2519
|
system: {
|
|
4582
2520
|
/**
|
|
4583
|
-
*
|
|
4584
|
-
*
|
|
4585
|
-
* **NOTE:** We rely on the Root origin to provide us the number of subkeys under
|
|
4586
|
-
* the prefix we are removing to accurately calculate the weight of this function.
|
|
2521
|
+
* See [`Pallet::kill_prefix`].
|
|
4587
2522
|
**/
|
|
4588
2523
|
killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
|
|
4589
2524
|
/**
|
|
4590
|
-
*
|
|
2525
|
+
* See [`Pallet::kill_storage`].
|
|
4591
2526
|
**/
|
|
4592
2527
|
killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
|
|
4593
2528
|
/**
|
|
4594
|
-
*
|
|
4595
|
-
*
|
|
4596
|
-
* - `O(1)`
|
|
2529
|
+
* See [`Pallet::remark`].
|
|
4597
2530
|
**/
|
|
4598
2531
|
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
4599
2532
|
/**
|
|
4600
|
-
*
|
|
2533
|
+
* See [`Pallet::remark_with_event`].
|
|
4601
2534
|
**/
|
|
4602
2535
|
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
4603
2536
|
/**
|
|
4604
|
-
*
|
|
2537
|
+
* See [`Pallet::set_code`].
|
|
4605
2538
|
**/
|
|
4606
2539
|
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
4607
2540
|
/**
|
|
4608
|
-
*
|
|
2541
|
+
* See [`Pallet::set_code_without_checks`].
|
|
4609
2542
|
**/
|
|
4610
2543
|
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
4611
2544
|
/**
|
|
4612
|
-
*
|
|
2545
|
+
* See [`Pallet::set_heap_pages`].
|
|
4613
2546
|
**/
|
|
4614
2547
|
setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
4615
2548
|
/**
|
|
4616
|
-
*
|
|
2549
|
+
* See [`Pallet::set_storage`].
|
|
4617
2550
|
**/
|
|
4618
2551
|
setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
|
|
4619
2552
|
/**
|
|
@@ -4623,21 +2556,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4623
2556
|
};
|
|
4624
2557
|
timestamp: {
|
|
4625
2558
|
/**
|
|
4626
|
-
*
|
|
4627
|
-
*
|
|
4628
|
-
* This call should be invoked exactly once per block. It will panic at the finalization
|
|
4629
|
-
* phase, if this call hasn't been invoked by that time.
|
|
4630
|
-
*
|
|
4631
|
-
* The timestamp should be greater than the previous one by the amount specified by
|
|
4632
|
-
* `MinimumPeriod`.
|
|
4633
|
-
*
|
|
4634
|
-
* The dispatch origin for this call must be `Inherent`.
|
|
4635
|
-
*
|
|
4636
|
-
* ## Complexity
|
|
4637
|
-
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
|
|
4638
|
-
* - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in
|
|
4639
|
-
* `on_finalize`)
|
|
4640
|
-
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
|
2559
|
+
* See [`Pallet::set`].
|
|
4641
2560
|
**/
|
|
4642
2561
|
set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
|
|
4643
2562
|
/**
|
|
@@ -4647,22 +2566,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4647
2566
|
};
|
|
4648
2567
|
treasury: {
|
|
4649
2568
|
/**
|
|
4650
|
-
*
|
|
4651
|
-
* and the original deposit will be returned.
|
|
4652
|
-
*
|
|
4653
|
-
* May only be called from `T::ApproveOrigin`.
|
|
4654
|
-
*
|
|
4655
|
-
* ## Complexity
|
|
4656
|
-
* - O(1).
|
|
2569
|
+
* See [`Pallet::approve_proposal`].
|
|
4657
2570
|
**/
|
|
4658
2571
|
approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
4659
2572
|
/**
|
|
4660
|
-
*
|
|
4661
|
-
* is reserved and slashed if the proposal is rejected. It is returned once the
|
|
4662
|
-
* proposal is awarded.
|
|
4663
|
-
*
|
|
4664
|
-
* ## Complexity
|
|
4665
|
-
* - O(1)
|
|
2573
|
+
* See [`Pallet::propose_spend`].
|
|
4666
2574
|
**/
|
|
4667
2575
|
proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
|
|
4668
2576
|
Id: any;
|
|
@@ -4676,39 +2584,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4676
2584
|
Address20: any;
|
|
4677
2585
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
|
|
4678
2586
|
/**
|
|
4679
|
-
*
|
|
4680
|
-
*
|
|
4681
|
-
* May only be called from `T::RejectOrigin`.
|
|
4682
|
-
*
|
|
4683
|
-
* ## Complexity
|
|
4684
|
-
* - O(1)
|
|
2587
|
+
* See [`Pallet::reject_proposal`].
|
|
4685
2588
|
**/
|
|
4686
2589
|
rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
4687
2590
|
/**
|
|
4688
|
-
*
|
|
4689
|
-
* The original deposit will no longer be returned.
|
|
4690
|
-
*
|
|
4691
|
-
* May only be called from `T::RejectOrigin`.
|
|
4692
|
-
* - `proposal_id`: The index of a proposal
|
|
4693
|
-
*
|
|
4694
|
-
* ## Complexity
|
|
4695
|
-
* - O(A) where `A` is the number of approvals
|
|
4696
|
-
*
|
|
4697
|
-
* Errors:
|
|
4698
|
-
* - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,
|
|
4699
|
-
* i.e., the proposal has not been approved. This could also mean the proposal does not
|
|
4700
|
-
* exist altogether, thus there is no way it would have been approved in the first place.
|
|
2591
|
+
* See [`Pallet::remove_approval`].
|
|
4701
2592
|
**/
|
|
4702
2593
|
removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
4703
2594
|
/**
|
|
4704
|
-
*
|
|
4705
|
-
*
|
|
4706
|
-
* - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.
|
|
4707
|
-
* - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
|
|
4708
|
-
* - `beneficiary`: The destination account for the transfer.
|
|
4709
|
-
*
|
|
4710
|
-
* NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the
|
|
4711
|
-
* beneficiary.
|
|
2595
|
+
* See [`Pallet::spend`].
|
|
4712
2596
|
**/
|
|
4713
2597
|
spend: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
|
|
4714
2598
|
Id: any;
|
|
@@ -4726,91 +2610,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4726
2610
|
**/
|
|
4727
2611
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4728
2612
|
};
|
|
4729
|
-
ump: {
|
|
4730
|
-
/**
|
|
4731
|
-
* Service a single overweight upward message.
|
|
4732
|
-
*
|
|
4733
|
-
* - `origin`: Must pass `ExecuteOverweightOrigin`.
|
|
4734
|
-
* - `index`: The index of the overweight message to service.
|
|
4735
|
-
* - `weight_limit`: The amount of weight that message execution may take.
|
|
4736
|
-
*
|
|
4737
|
-
* Errors:
|
|
4738
|
-
* - `UnknownMessageIndex`: Message of `index` is unknown.
|
|
4739
|
-
* - `WeightOverLimit`: Message execution may use greater than `weight_limit`.
|
|
4740
|
-
*
|
|
4741
|
-
* Events:
|
|
4742
|
-
* - `OverweightServiced`: On success.
|
|
4743
|
-
**/
|
|
4744
|
-
serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
|
|
4745
|
-
refTime?: any;
|
|
4746
|
-
proofSize?: any;
|
|
4747
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, SpWeightsWeightV2Weight]>;
|
|
4748
|
-
/**
|
|
4749
|
-
* Generic tx
|
|
4750
|
-
**/
|
|
4751
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4752
|
-
};
|
|
4753
2613
|
utility: {
|
|
4754
2614
|
/**
|
|
4755
|
-
*
|
|
4756
|
-
*
|
|
4757
|
-
* Filter from origin are passed along. The call will be dispatched with an origin which
|
|
4758
|
-
* use the same filter as the origin of this call.
|
|
4759
|
-
*
|
|
4760
|
-
* NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
|
|
4761
|
-
* because you expect `proxy` to have been used prior in the call stack and you do not want
|
|
4762
|
-
* the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
|
|
4763
|
-
* in the Multisig pallet instead.
|
|
4764
|
-
*
|
|
4765
|
-
* NOTE: Prior to version *12, this was called `as_limited_sub`.
|
|
4766
|
-
*
|
|
4767
|
-
* The dispatch origin for this call must be _Signed_.
|
|
2615
|
+
* See [`Pallet::as_derivative`].
|
|
4768
2616
|
**/
|
|
4769
2617
|
asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Call]>;
|
|
4770
2618
|
/**
|
|
4771
|
-
*
|
|
4772
|
-
*
|
|
4773
|
-
* May be called from any origin except `None`.
|
|
4774
|
-
*
|
|
4775
|
-
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
4776
|
-
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
4777
|
-
*
|
|
4778
|
-
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
4779
|
-
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
4780
|
-
*
|
|
4781
|
-
* ## Complexity
|
|
4782
|
-
* - O(C) where C is the number of calls to be batched.
|
|
4783
|
-
*
|
|
4784
|
-
* This will return `Ok` in all circumstances. To determine the success of the batch, an
|
|
4785
|
-
* event is deposited. If a call failed and the batch was interrupted, then the
|
|
4786
|
-
* `BatchInterrupted` event is deposited, along with the number of successful calls made
|
|
4787
|
-
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
4788
|
-
* event is deposited.
|
|
2619
|
+
* See [`Pallet::batch`].
|
|
4789
2620
|
**/
|
|
4790
2621
|
batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
4791
2622
|
/**
|
|
4792
|
-
*
|
|
4793
|
-
* The whole transaction will rollback and fail if any of the calls failed.
|
|
4794
|
-
*
|
|
4795
|
-
* May be called from any origin except `None`.
|
|
4796
|
-
*
|
|
4797
|
-
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
4798
|
-
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
4799
|
-
*
|
|
4800
|
-
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
4801
|
-
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
4802
|
-
*
|
|
4803
|
-
* ## Complexity
|
|
4804
|
-
* - O(C) where C is the number of calls to be batched.
|
|
2623
|
+
* See [`Pallet::batch_all`].
|
|
4805
2624
|
**/
|
|
4806
2625
|
batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
4807
2626
|
/**
|
|
4808
|
-
*
|
|
4809
|
-
*
|
|
4810
|
-
* The dispatch origin for this call must be _Root_.
|
|
4811
|
-
*
|
|
4812
|
-
* ## Complexity
|
|
4813
|
-
* - O(1).
|
|
2627
|
+
* See [`Pallet::dispatch_as`].
|
|
4814
2628
|
**/
|
|
4815
2629
|
dispatchAs: AugmentedSubmittable<(asOrigin: KusamaRuntimeOriginCaller | {
|
|
4816
2630
|
system: any;
|
|
@@ -4824,28 +2638,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4824
2638
|
XcmPallet: any;
|
|
4825
2639
|
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeOriginCaller, Call]>;
|
|
4826
2640
|
/**
|
|
4827
|
-
*
|
|
4828
|
-
* Unlike `batch`, it allows errors and won't interrupt.
|
|
4829
|
-
*
|
|
4830
|
-
* May be called from any origin except `None`.
|
|
4831
|
-
*
|
|
4832
|
-
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
4833
|
-
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
4834
|
-
*
|
|
4835
|
-
* If origin is root then the calls are dispatch without checking origin filter. (This
|
|
4836
|
-
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
4837
|
-
*
|
|
4838
|
-
* ## Complexity
|
|
4839
|
-
* - O(C) where C is the number of calls to be batched.
|
|
2641
|
+
* See [`Pallet::force_batch`].
|
|
4840
2642
|
**/
|
|
4841
2643
|
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
4842
2644
|
/**
|
|
4843
|
-
*
|
|
4844
|
-
*
|
|
4845
|
-
* This function does not check the weight of the call, and instead allows the
|
|
4846
|
-
* Root origin to specify the weight of the call.
|
|
4847
|
-
*
|
|
4848
|
-
* The dispatch origin for this call must be _Root_.
|
|
2645
|
+
* See [`Pallet::with_weight`].
|
|
4849
2646
|
**/
|
|
4850
2647
|
withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
|
|
4851
2648
|
refTime?: any;
|
|
@@ -4858,20 +2655,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4858
2655
|
};
|
|
4859
2656
|
vesting: {
|
|
4860
2657
|
/**
|
|
4861
|
-
*
|
|
4862
|
-
*
|
|
4863
|
-
* The dispatch origin for this call must be _Root_.
|
|
4864
|
-
*
|
|
4865
|
-
* - `source`: The account whose funds should be transferred.
|
|
4866
|
-
* - `target`: The account that should be transferred the vested funds.
|
|
4867
|
-
* - `schedule`: The vesting schedule attached to the transfer.
|
|
4868
|
-
*
|
|
4869
|
-
* Emits `VestingCreated`.
|
|
4870
|
-
*
|
|
4871
|
-
* NOTE: This will unlock all schedules through the current block.
|
|
4872
|
-
*
|
|
4873
|
-
* ## Complexity
|
|
4874
|
-
* - `O(1)`.
|
|
2658
|
+
* See [`Pallet::force_vested_transfer`].
|
|
4875
2659
|
**/
|
|
4876
2660
|
forceVestedTransfer: AugmentedSubmittable<(source: MultiAddress | {
|
|
4877
2661
|
Id: any;
|
|
@@ -4899,55 +2683,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4899
2683
|
startingBlock?: any;
|
|
4900
2684
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletVestingVestingInfo]>;
|
|
4901
2685
|
/**
|
|
4902
|
-
*
|
|
4903
|
-
* the highest possible start and end blocks. If both schedules have already started the
|
|
4904
|
-
* current block will be used as the schedule start; with the caveat that if one schedule
|
|
4905
|
-
* is finished by the current block, the other will be treated as the new merged schedule,
|
|
4906
|
-
* unmodified.
|
|
4907
|
-
*
|
|
4908
|
-
* NOTE: If `schedule1_index == schedule2_index` this is a no-op.
|
|
4909
|
-
* NOTE: This will unlock all schedules through the current block prior to merging.
|
|
4910
|
-
* NOTE: If both schedules have ended by the current block, no new schedule will be created
|
|
4911
|
-
* and both will be removed.
|
|
4912
|
-
*
|
|
4913
|
-
* Merged schedule attributes:
|
|
4914
|
-
* - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,
|
|
4915
|
-
* current_block)`.
|
|
4916
|
-
* - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.
|
|
4917
|
-
* - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.
|
|
4918
|
-
*
|
|
4919
|
-
* The dispatch origin for this call must be _Signed_.
|
|
4920
|
-
*
|
|
4921
|
-
* - `schedule1_index`: index of the first schedule to merge.
|
|
4922
|
-
* - `schedule2_index`: index of the second schedule to merge.
|
|
2686
|
+
* See [`Pallet::merge_schedules`].
|
|
4923
2687
|
**/
|
|
4924
2688
|
mergeSchedules: AugmentedSubmittable<(schedule1Index: u32 | AnyNumber | Uint8Array, schedule2Index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
4925
2689
|
/**
|
|
4926
|
-
*
|
|
4927
|
-
*
|
|
4928
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have funds still
|
|
4929
|
-
* locked under this pallet.
|
|
4930
|
-
*
|
|
4931
|
-
* Emits either `VestingCompleted` or `VestingUpdated`.
|
|
4932
|
-
*
|
|
4933
|
-
* ## Complexity
|
|
4934
|
-
* - `O(1)`.
|
|
2690
|
+
* See [`Pallet::vest`].
|
|
4935
2691
|
**/
|
|
4936
2692
|
vest: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4937
2693
|
/**
|
|
4938
|
-
*
|
|
4939
|
-
*
|
|
4940
|
-
* The dispatch origin for this call must be _Signed_.
|
|
4941
|
-
*
|
|
4942
|
-
* - `target`: The account receiving the vested funds.
|
|
4943
|
-
* - `schedule`: The vesting schedule attached to the transfer.
|
|
4944
|
-
*
|
|
4945
|
-
* Emits `VestingCreated`.
|
|
4946
|
-
*
|
|
4947
|
-
* NOTE: This will unlock all schedules through the current block.
|
|
4948
|
-
*
|
|
4949
|
-
* ## Complexity
|
|
4950
|
-
* - `O(1)`.
|
|
2694
|
+
* See [`Pallet::vested_transfer`].
|
|
4951
2695
|
**/
|
|
4952
2696
|
vestedTransfer: AugmentedSubmittable<(target: MultiAddress | {
|
|
4953
2697
|
Id: any;
|
|
@@ -4965,17 +2709,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4965
2709
|
startingBlock?: any;
|
|
4966
2710
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletVestingVestingInfo]>;
|
|
4967
2711
|
/**
|
|
4968
|
-
*
|
|
4969
|
-
*
|
|
4970
|
-
* The dispatch origin for this call must be _Signed_.
|
|
4971
|
-
*
|
|
4972
|
-
* - `target`: The account whose vested funds should be unlocked. Must have funds still
|
|
4973
|
-
* locked under this pallet.
|
|
4974
|
-
*
|
|
4975
|
-
* Emits either `VestingCompleted` or `VestingUpdated`.
|
|
4976
|
-
*
|
|
4977
|
-
* ## Complexity
|
|
4978
|
-
* - `O(1)`.
|
|
2712
|
+
* See [`Pallet::vest_other`].
|
|
4979
2713
|
**/
|
|
4980
2714
|
vestOther: AugmentedSubmittable<(target: MultiAddress | {
|
|
4981
2715
|
Id: any;
|
|
@@ -4995,14 +2729,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4995
2729
|
};
|
|
4996
2730
|
voterList: {
|
|
4997
2731
|
/**
|
|
4998
|
-
*
|
|
4999
|
-
*
|
|
5000
|
-
* The dispatch origin for this call must be _Signed_ and can only be called by the Id of
|
|
5001
|
-
* the account going in front of `lighter`.
|
|
5002
|
-
*
|
|
5003
|
-
* Only works if
|
|
5004
|
-
* - both nodes are within the same bag,
|
|
5005
|
-
* - and `origin` has a greater `Score` than `lighter`.
|
|
2732
|
+
* See [`Pallet::put_in_front_of`].
|
|
5006
2733
|
**/
|
|
5007
2734
|
putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | {
|
|
5008
2735
|
Id: any;
|
|
@@ -5016,16 +2743,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5016
2743
|
Address20: any;
|
|
5017
2744
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
5018
2745
|
/**
|
|
5019
|
-
*
|
|
5020
|
-
* changed its score that it should properly fall into a different bag than its current
|
|
5021
|
-
* one.
|
|
5022
|
-
*
|
|
5023
|
-
* Anyone can call this function about any potentially dislocated account.
|
|
5024
|
-
*
|
|
5025
|
-
* Will always update the stored score of `dislocated` to the correct score, based on
|
|
5026
|
-
* `ScoreProvider`.
|
|
5027
|
-
*
|
|
5028
|
-
* If `dislocated` does not exists, it returns an error.
|
|
2746
|
+
* See [`Pallet::rebag`].
|
|
5029
2747
|
**/
|
|
5030
2748
|
rebag: AugmentedSubmittable<(dislocated: MultiAddress | {
|
|
5031
2749
|
Id: any;
|
|
@@ -5044,12 +2762,24 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5044
2762
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
5045
2763
|
};
|
|
5046
2764
|
whitelist: {
|
|
2765
|
+
/**
|
|
2766
|
+
* See [`Pallet::dispatch_whitelisted_call`].
|
|
2767
|
+
**/
|
|
5047
2768
|
dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callEncodedLen: u32 | AnyNumber | Uint8Array, callWeightWitness: SpWeightsWeightV2Weight | {
|
|
5048
2769
|
refTime?: any;
|
|
5049
2770
|
proofSize?: any;
|
|
5050
2771
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32, SpWeightsWeightV2Weight]>;
|
|
2772
|
+
/**
|
|
2773
|
+
* See [`Pallet::dispatch_whitelisted_call_with_preimage`].
|
|
2774
|
+
**/
|
|
5051
2775
|
dispatchWhitelistedCallWithPreimage: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
|
|
2776
|
+
/**
|
|
2777
|
+
* See [`Pallet::remove_whitelisted_call`].
|
|
2778
|
+
**/
|
|
5052
2779
|
removeWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
2780
|
+
/**
|
|
2781
|
+
* See [`Pallet::whitelist_call`].
|
|
2782
|
+
**/
|
|
5053
2783
|
whitelistCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
5054
2784
|
/**
|
|
5055
2785
|
* Generic tx
|
|
@@ -5058,17 +2788,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5058
2788
|
};
|
|
5059
2789
|
xcmPallet: {
|
|
5060
2790
|
/**
|
|
5061
|
-
*
|
|
5062
|
-
*
|
|
5063
|
-
* An event is deposited indicating whether `msg` could be executed completely or only
|
|
5064
|
-
* partially.
|
|
5065
|
-
*
|
|
5066
|
-
* No more than `max_weight` will be used in its attempted execution. If this is less than the
|
|
5067
|
-
* maximum amount of weight that the message could take to be executed, then no execution
|
|
5068
|
-
* attempt will be made.
|
|
5069
|
-
*
|
|
5070
|
-
* NOTE: A successful return to this does *not* imply that the `msg` was executed successfully
|
|
5071
|
-
* to completion; only that *some* of it was executed.
|
|
2791
|
+
* See [`Pallet::execute`].
|
|
5072
2792
|
**/
|
|
5073
2793
|
execute: AugmentedSubmittable<(message: XcmVersionedXcm | {
|
|
5074
2794
|
V2: any;
|
|
@@ -5079,18 +2799,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5079
2799
|
proofSize?: any;
|
|
5080
2800
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, SpWeightsWeightV2Weight]>;
|
|
5081
2801
|
/**
|
|
5082
|
-
*
|
|
5083
|
-
* version a destination can accept is unknown).
|
|
5084
|
-
*
|
|
5085
|
-
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5086
|
-
* - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
|
|
2802
|
+
* See [`Pallet::force_default_xcm_version`].
|
|
5087
2803
|
**/
|
|
5088
2804
|
forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
5089
2805
|
/**
|
|
5090
|
-
*
|
|
5091
|
-
*
|
|
5092
|
-
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5093
|
-
* - `location`: The location to which we should subscribe for XCM version notifications.
|
|
2806
|
+
* See [`Pallet::force_subscribe_version_notify`].
|
|
5094
2807
|
**/
|
|
5095
2808
|
forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | {
|
|
5096
2809
|
V2: any;
|
|
@@ -5098,19 +2811,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5098
2811
|
V3: any;
|
|
5099
2812
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
|
|
5100
2813
|
/**
|
|
5101
|
-
*
|
|
5102
|
-
*
|
|
5103
|
-
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5104
|
-
* - `suspended`: `true` to suspend, `false` to resume.
|
|
2814
|
+
* See [`Pallet::force_suspension`].
|
|
5105
2815
|
**/
|
|
5106
2816
|
forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
5107
2817
|
/**
|
|
5108
|
-
*
|
|
5109
|
-
* version changes.
|
|
5110
|
-
*
|
|
5111
|
-
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5112
|
-
* - `location`: The location to which we are currently subscribed for XCM version
|
|
5113
|
-
* notifications which we no longer desire.
|
|
2818
|
+
* See [`Pallet::force_unsubscribe_version_notify`].
|
|
5114
2819
|
**/
|
|
5115
2820
|
forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | {
|
|
5116
2821
|
V2: any;
|
|
@@ -5118,36 +2823,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5118
2823
|
V3: any;
|
|
5119
2824
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;
|
|
5120
2825
|
/**
|
|
5121
|
-
*
|
|
5122
|
-
* version of XCM.
|
|
5123
|
-
*
|
|
5124
|
-
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
5125
|
-
* - `location`: The destination that is being described.
|
|
5126
|
-
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
2826
|
+
* See [`Pallet::force_xcm_version`].
|
|
5127
2827
|
**/
|
|
5128
2828
|
forceXcmVersion: AugmentedSubmittable<(location: XcmV3MultiLocation | {
|
|
5129
2829
|
parents?: any;
|
|
5130
2830
|
interior?: any;
|
|
5131
|
-
} | string | Uint8Array,
|
|
5132
|
-
/**
|
|
5133
|
-
*
|
|
5134
|
-
* chain and forward a notification XCM.
|
|
5135
|
-
*
|
|
5136
|
-
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
5137
|
-
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
|
|
5138
|
-
* is needed than `weight_limit`, then the operation will fail and the assets send may be
|
|
5139
|
-
* at risk.
|
|
5140
|
-
*
|
|
5141
|
-
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
5142
|
-
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
|
5143
|
-
* from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.
|
|
5144
|
-
* - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be
|
|
5145
|
-
* an `AccountId32` value.
|
|
5146
|
-
* - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the
|
|
5147
|
-
* `dest` side.
|
|
5148
|
-
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
|
|
5149
|
-
* fees.
|
|
5150
|
-
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
|
2831
|
+
} | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV3MultiLocation, u32]>;
|
|
2832
|
+
/**
|
|
2833
|
+
* See [`Pallet::limited_reserve_transfer_assets`].
|
|
5151
2834
|
**/
|
|
5152
2835
|
limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | {
|
|
5153
2836
|
V2: any;
|
|
@@ -5167,23 +2850,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5167
2850
|
Limited: any;
|
|
5168
2851
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV3WeightLimit]>;
|
|
5169
2852
|
/**
|
|
5170
|
-
*
|
|
5171
|
-
*
|
|
5172
|
-
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
5173
|
-
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
|
|
5174
|
-
* is needed than `weight_limit`, then the operation will fail and the assets send may be
|
|
5175
|
-
* at risk.
|
|
5176
|
-
*
|
|
5177
|
-
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
5178
|
-
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
|
5179
|
-
* from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.
|
|
5180
|
-
* - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be
|
|
5181
|
-
* an `AccountId32` value.
|
|
5182
|
-
* - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the
|
|
5183
|
-
* `dest` side. May not be empty.
|
|
5184
|
-
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
|
|
5185
|
-
* fees.
|
|
5186
|
-
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
|
2853
|
+
* See [`Pallet::limited_teleport_assets`].
|
|
5187
2854
|
**/
|
|
5188
2855
|
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | {
|
|
5189
2856
|
V2: any;
|
|
@@ -5203,22 +2870,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5203
2870
|
Limited: any;
|
|
5204
2871
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV3WeightLimit]>;
|
|
5205
2872
|
/**
|
|
5206
|
-
*
|
|
5207
|
-
* chain and forward a notification XCM.
|
|
5208
|
-
*
|
|
5209
|
-
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
5210
|
-
* index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
|
|
5211
|
-
* with all fees taken as needed from the asset.
|
|
5212
|
-
*
|
|
5213
|
-
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
5214
|
-
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
|
5215
|
-
* from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.
|
|
5216
|
-
* - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be
|
|
5217
|
-
* an `AccountId32` value.
|
|
5218
|
-
* - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the
|
|
5219
|
-
* `dest` side.
|
|
5220
|
-
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
|
|
5221
|
-
* fees.
|
|
2873
|
+
* See [`Pallet::reserve_transfer_assets`].
|
|
5222
2874
|
**/
|
|
5223
2875
|
reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | {
|
|
5224
2876
|
V2: any;
|
|
@@ -5233,6 +2885,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5233
2885
|
} | {
|
|
5234
2886
|
V3: any;
|
|
5235
2887
|
} | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;
|
|
2888
|
+
/**
|
|
2889
|
+
* See [`Pallet::send`].
|
|
2890
|
+
**/
|
|
5236
2891
|
send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | {
|
|
5237
2892
|
V2: any;
|
|
5238
2893
|
} | {
|
|
@@ -5243,21 +2898,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5243
2898
|
V3: any;
|
|
5244
2899
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;
|
|
5245
2900
|
/**
|
|
5246
|
-
*
|
|
5247
|
-
*
|
|
5248
|
-
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
5249
|
-
* index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
|
|
5250
|
-
* with all fees taken as needed from the asset.
|
|
5251
|
-
*
|
|
5252
|
-
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
5253
|
-
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
|
5254
|
-
* from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.
|
|
5255
|
-
* - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be
|
|
5256
|
-
* an `AccountId32` value.
|
|
5257
|
-
* - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the
|
|
5258
|
-
* `dest` side. May not be empty.
|
|
5259
|
-
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
|
|
5260
|
-
* fees.
|
|
2901
|
+
* See [`Pallet::teleport_assets`].
|
|
5261
2902
|
**/
|
|
5262
2903
|
teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | {
|
|
5263
2904
|
V2: any;
|