@polkadot/api-augment 16.4.9 → 16.5.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/assetHubKusama/consts.d.ts +598 -4
- package/assetHubKusama/errors.d.ts +1278 -49
- package/assetHubKusama/events.d.ts +1691 -127
- package/assetHubKusama/query.d.ts +1175 -26
- package/assetHubKusama/runtime.d.ts +211 -8
- package/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/assetHubKusama/consts.d.ts +598 -4
- package/cjs/assetHubKusama/errors.d.ts +1278 -49
- package/cjs/assetHubKusama/events.d.ts +1691 -127
- package/cjs/assetHubKusama/query.d.ts +1175 -26
- package/cjs/assetHubKusama/runtime.d.ts +211 -8
- package/cjs/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/kusama/consts.d.ts +46 -104
- package/cjs/kusama/errors.d.ts +113 -121
- package/cjs/kusama/events.d.ts +258 -228
- package/cjs/kusama/query.d.ts +211 -104
- package/cjs/kusama/tx.d.ts +451 -236
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +40 -2
- package/cjs/polkadot/errors.d.ts +113 -0
- package/cjs/polkadot/events.d.ts +247 -1
- package/cjs/polkadot/query.d.ts +218 -4
- package/cjs/polkadot/runtime.d.ts +15 -1
- package/cjs/polkadot/tx.d.ts +399 -12
- package/kusama/consts.d.ts +46 -104
- package/kusama/errors.d.ts +113 -121
- package/kusama/events.d.ts +258 -228
- package/kusama/query.d.ts +211 -104
- package/kusama/tx.d.ts +451 -236
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +40 -2
- package/polkadot/errors.d.ts +113 -0
- package/polkadot/events.d.ts +247 -1
- package/polkadot/query.d.ts +218 -4
- package/polkadot/runtime.d.ts +15 -1
- package/polkadot/tx.d.ts +399 -12
package/kusama/tx.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
|
|
|
3
3
|
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
|
-
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent
|
|
7
|
-
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeConstantsProxyProxyType, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams,
|
|
6
|
+
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeConstantsProxyProxyType, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletRcMigratorManagerMultisigVote, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingDisputeProof, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
8
8
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
9
9
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
10
10
|
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
@@ -515,6 +515,24 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
515
515
|
* - O(1).
|
|
516
516
|
**/
|
|
517
517
|
extendBountyExpiry: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Bytes]>;
|
|
518
|
+
/**
|
|
519
|
+
* Poke the deposit reserved for creating a bounty proposal.
|
|
520
|
+
*
|
|
521
|
+
* This can be used by accounts to update their reserved amount.
|
|
522
|
+
*
|
|
523
|
+
* The dispatch origin for this call must be _Signed_.
|
|
524
|
+
*
|
|
525
|
+
* Parameters:
|
|
526
|
+
* - `bounty_id`: The bounty id for which to adjust the deposit.
|
|
527
|
+
*
|
|
528
|
+
* If the deposit is updated, the difference will be reserved/unreserved from the
|
|
529
|
+
* proposer's account.
|
|
530
|
+
*
|
|
531
|
+
* The transaction is made free if the deposit is updated and paid otherwise.
|
|
532
|
+
*
|
|
533
|
+
* Emits `DepositPoked` if the deposit is updated.
|
|
534
|
+
**/
|
|
535
|
+
pokeDeposit: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
518
536
|
/**
|
|
519
537
|
* Propose a new bounty.
|
|
520
538
|
*
|
|
@@ -1391,7 +1409,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1391
1409
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
1392
1410
|
* calling [`Call::set_emergency_election_result`].
|
|
1393
1411
|
**/
|
|
1394
|
-
governanceFallback: AugmentedSubmittable<(
|
|
1412
|
+
governanceFallback: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1395
1413
|
/**
|
|
1396
1414
|
* Set a solution in the queue, to be handed out to the client of this pallet in the next
|
|
1397
1415
|
* call to `ElectionProvider::elect`.
|
|
@@ -2282,229 +2300,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2282
2300
|
**/
|
|
2283
2301
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2284
2302
|
};
|
|
2285
|
-
nis: {
|
|
2286
|
-
/**
|
|
2287
|
-
* Make a private receipt communal and create fungible counterparts for its owner.
|
|
2288
|
-
**/
|
|
2289
|
-
communify: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
2290
|
-
/**
|
|
2291
|
-
* Ensure we have sufficient funding for all potential payouts.
|
|
2292
|
-
*
|
|
2293
|
-
* - `origin`: Must be accepted by `FundOrigin`.
|
|
2294
|
-
**/
|
|
2295
|
-
fundDeficit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2296
|
-
/**
|
|
2297
|
-
* Place a bid.
|
|
2298
|
-
*
|
|
2299
|
-
* Origin must be Signed, and account must have at least `amount` in free balance.
|
|
2300
|
-
*
|
|
2301
|
-
* - `amount`: The amount of the bid; these funds will be reserved, and if/when
|
|
2302
|
-
* consolidated, removed. Must be at least `MinBid`.
|
|
2303
|
-
* - `duration`: The number of periods before which the newly consolidated bid may be
|
|
2304
|
-
* thawed. Must be greater than 1 and no more than `QueueCount`.
|
|
2305
|
-
*
|
|
2306
|
-
* Complexities:
|
|
2307
|
-
* - `Queues[duration].len()` (just take max).
|
|
2308
|
-
**/
|
|
2309
|
-
placeBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
2310
|
-
/**
|
|
2311
|
-
* Make a communal receipt private and burn fungible counterparts from its owner.
|
|
2312
|
-
**/
|
|
2313
|
-
privatize: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
2314
|
-
/**
|
|
2315
|
-
* Retract a previously placed bid.
|
|
2316
|
-
*
|
|
2317
|
-
* Origin must be Signed, and the account should have previously issued a still-active bid
|
|
2318
|
-
* of `amount` for `duration`.
|
|
2319
|
-
*
|
|
2320
|
-
* - `amount`: The amount of the previous bid.
|
|
2321
|
-
* - `duration`: The duration of the previous bid.
|
|
2322
|
-
**/
|
|
2323
|
-
retractBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
2324
|
-
/**
|
|
2325
|
-
* Reduce or remove an outstanding receipt, placing the according proportion of funds into
|
|
2326
|
-
* the account of the owner.
|
|
2327
|
-
*
|
|
2328
|
-
* - `origin`: Must be Signed and the account must be the owner of the fungible counterpart
|
|
2329
|
-
* for receipt `index`.
|
|
2330
|
-
* - `index`: The index of the receipt.
|
|
2331
|
-
**/
|
|
2332
|
-
thawCommunal: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
2333
|
-
/**
|
|
2334
|
-
* Reduce or remove an outstanding receipt, placing the according proportion of funds into
|
|
2335
|
-
* the account of the owner.
|
|
2336
|
-
*
|
|
2337
|
-
* - `origin`: Must be Signed and the account must be the owner of the receipt `index` as
|
|
2338
|
-
* well as any fungible counterpart.
|
|
2339
|
-
* - `index`: The index of the receipt.
|
|
2340
|
-
* - `portion`: If `Some`, then only the given portion of the receipt should be thawed. If
|
|
2341
|
-
* `None`, then all of it should be.
|
|
2342
|
-
**/
|
|
2343
|
-
thawPrivate: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, maybeProportion: Option<Perquintill> | null | Uint8Array | Perquintill | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<Perquintill>]>;
|
|
2344
|
-
/**
|
|
2345
|
-
* Generic tx
|
|
2346
|
-
**/
|
|
2347
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2348
|
-
};
|
|
2349
|
-
nisCounterpartBalances: {
|
|
2350
|
-
/**
|
|
2351
|
-
* Burn the specified liquid free balance from the origin account.
|
|
2352
|
-
*
|
|
2353
|
-
* If the origin's account ends up below the existential deposit as a result
|
|
2354
|
-
* of the burn and `keep_alive` is false, the account will be reaped.
|
|
2355
|
-
*
|
|
2356
|
-
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
2357
|
-
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
2358
|
-
**/
|
|
2359
|
-
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
|
|
2360
|
-
/**
|
|
2361
|
-
* Adjust the total issuance in a saturating way.
|
|
2362
|
-
*
|
|
2363
|
-
* Can only be called by root and always needs a positive `delta`.
|
|
2364
|
-
*
|
|
2365
|
-
* # Example
|
|
2366
|
-
**/
|
|
2367
|
-
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
|
|
2368
|
-
/**
|
|
2369
|
-
* Set the regular balance of a given account.
|
|
2370
|
-
*
|
|
2371
|
-
* The dispatch origin for this call is `root`.
|
|
2372
|
-
**/
|
|
2373
|
-
forceSetBalance: AugmentedSubmittable<(who: MultiAddress | {
|
|
2374
|
-
Id: any;
|
|
2375
|
-
} | {
|
|
2376
|
-
Index: any;
|
|
2377
|
-
} | {
|
|
2378
|
-
Raw: any;
|
|
2379
|
-
} | {
|
|
2380
|
-
Address32: any;
|
|
2381
|
-
} | {
|
|
2382
|
-
Address20: any;
|
|
2383
|
-
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
2384
|
-
/**
|
|
2385
|
-
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
|
2386
|
-
* may be specified.
|
|
2387
|
-
**/
|
|
2388
|
-
forceTransfer: AugmentedSubmittable<(source: MultiAddress | {
|
|
2389
|
-
Id: any;
|
|
2390
|
-
} | {
|
|
2391
|
-
Index: any;
|
|
2392
|
-
} | {
|
|
2393
|
-
Raw: any;
|
|
2394
|
-
} | {
|
|
2395
|
-
Address32: any;
|
|
2396
|
-
} | {
|
|
2397
|
-
Address20: any;
|
|
2398
|
-
} | string | Uint8Array, dest: MultiAddress | {
|
|
2399
|
-
Id: any;
|
|
2400
|
-
} | {
|
|
2401
|
-
Index: any;
|
|
2402
|
-
} | {
|
|
2403
|
-
Raw: any;
|
|
2404
|
-
} | {
|
|
2405
|
-
Address32: any;
|
|
2406
|
-
} | {
|
|
2407
|
-
Address20: any;
|
|
2408
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
|
|
2409
|
-
/**
|
|
2410
|
-
* Unreserve some balance from a user by force.
|
|
2411
|
-
*
|
|
2412
|
-
* Can only be called by ROOT.
|
|
2413
|
-
**/
|
|
2414
|
-
forceUnreserve: AugmentedSubmittable<(who: MultiAddress | {
|
|
2415
|
-
Id: any;
|
|
2416
|
-
} | {
|
|
2417
|
-
Index: any;
|
|
2418
|
-
} | {
|
|
2419
|
-
Raw: any;
|
|
2420
|
-
} | {
|
|
2421
|
-
Address32: any;
|
|
2422
|
-
} | {
|
|
2423
|
-
Address20: any;
|
|
2424
|
-
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
|
2425
|
-
/**
|
|
2426
|
-
* Transfer the entire transferable balance from the caller account.
|
|
2427
|
-
*
|
|
2428
|
-
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
2429
|
-
* any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
|
|
2430
|
-
* transferred by this function. To ensure that this function results in a killed account,
|
|
2431
|
-
* you might need to prepare the account by removing any reference counters, storage
|
|
2432
|
-
* deposits, etc...
|
|
2433
|
-
*
|
|
2434
|
-
* The dispatch origin of this call must be Signed.
|
|
2435
|
-
*
|
|
2436
|
-
* - `dest`: The recipient of the transfer.
|
|
2437
|
-
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
2438
|
-
* of the funds the account has, causing the sender account to be killed (false), or
|
|
2439
|
-
* transfer everything except at least the existential deposit, which will guarantee to
|
|
2440
|
-
* keep the sender account alive (true).
|
|
2441
|
-
**/
|
|
2442
|
-
transferAll: AugmentedSubmittable<(dest: MultiAddress | {
|
|
2443
|
-
Id: any;
|
|
2444
|
-
} | {
|
|
2445
|
-
Index: any;
|
|
2446
|
-
} | {
|
|
2447
|
-
Raw: any;
|
|
2448
|
-
} | {
|
|
2449
|
-
Address32: any;
|
|
2450
|
-
} | {
|
|
2451
|
-
Address20: any;
|
|
2452
|
-
} | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
2453
|
-
/**
|
|
2454
|
-
* Transfer some liquid free balance to another account.
|
|
2455
|
-
*
|
|
2456
|
-
* `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
|
|
2457
|
-
* If the sender's account is below the existential deposit as a result
|
|
2458
|
-
* of the transfer, the account will be reaped.
|
|
2459
|
-
*
|
|
2460
|
-
* The dispatch origin for this call must be `Signed` by the transactor.
|
|
2461
|
-
**/
|
|
2462
|
-
transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | {
|
|
2463
|
-
Id: any;
|
|
2464
|
-
} | {
|
|
2465
|
-
Index: any;
|
|
2466
|
-
} | {
|
|
2467
|
-
Raw: any;
|
|
2468
|
-
} | {
|
|
2469
|
-
Address32: any;
|
|
2470
|
-
} | {
|
|
2471
|
-
Address20: any;
|
|
2472
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
2473
|
-
/**
|
|
2474
|
-
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
|
2475
|
-
* kill the origin account.
|
|
2476
|
-
*
|
|
2477
|
-
* 99% of the time you want [`transfer_allow_death`] instead.
|
|
2478
|
-
*
|
|
2479
|
-
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
|
2480
|
-
**/
|
|
2481
|
-
transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | {
|
|
2482
|
-
Id: any;
|
|
2483
|
-
} | {
|
|
2484
|
-
Index: any;
|
|
2485
|
-
} | {
|
|
2486
|
-
Raw: any;
|
|
2487
|
-
} | {
|
|
2488
|
-
Address32: any;
|
|
2489
|
-
} | {
|
|
2490
|
-
Address20: any;
|
|
2491
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
2492
|
-
/**
|
|
2493
|
-
* Upgrade a specified account.
|
|
2494
|
-
*
|
|
2495
|
-
* - `origin`: Must be `Signed`.
|
|
2496
|
-
* - `who`: The account to be upgraded.
|
|
2497
|
-
*
|
|
2498
|
-
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
|
2499
|
-
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
2500
|
-
* possibility of churn).
|
|
2501
|
-
**/
|
|
2502
|
-
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
2503
|
-
/**
|
|
2504
|
-
* Generic tx
|
|
2505
|
-
**/
|
|
2506
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2507
|
-
};
|
|
2508
2303
|
nominationPools: {
|
|
2509
2304
|
/**
|
|
2510
2305
|
* Top up the deficit or withdraw the excess ED from the pool.
|
|
@@ -3148,6 +2943,25 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3148
2943
|
* the go-ahead signal while the PVF pre-checking feature is enabled.
|
|
3149
2944
|
**/
|
|
3150
2945
|
addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
2946
|
+
/**
|
|
2947
|
+
* Applies the already authorized current code for the parachain,
|
|
2948
|
+
* triggering the same functionality as `force_set_current_code`.
|
|
2949
|
+
**/
|
|
2950
|
+
applyAuthorizedForceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
2951
|
+
/**
|
|
2952
|
+
* Sets the storage for the authorized current code hash of the parachain.
|
|
2953
|
+
* If not applied, it will be removed at the `System::block_number() + valid_period` block.
|
|
2954
|
+
*
|
|
2955
|
+
* This can be useful, when triggering `Paras::force_set_current_code(para, code)`
|
|
2956
|
+
* from a different chain than the one where the `Paras` pallet is deployed.
|
|
2957
|
+
*
|
|
2958
|
+
* The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
|
|
2959
|
+
* Instead, we authorize `code_hash` with `root`, which can later be applied by
|
|
2960
|
+
* `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
|
|
2961
|
+
*
|
|
2962
|
+
* Authorizations are stored in an **overwriting manner**.
|
|
2963
|
+
**/
|
|
2964
|
+
authorizeForceSetCurrentCodeHash: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCodeHash: H256 | string | Uint8Array, validPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, H256, u32]>;
|
|
3151
2965
|
/**
|
|
3152
2966
|
* Note a new block head for para within the context of the current block.
|
|
3153
2967
|
**/
|
|
@@ -3192,6 +3006,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3192
3006
|
* dispatching.
|
|
3193
3007
|
**/
|
|
3194
3008
|
pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
3009
|
+
/**
|
|
3010
|
+
* Remove an upgrade cooldown for a parachain.
|
|
3011
|
+
*
|
|
3012
|
+
* The cost for removing the cooldown earlier depends on the time left for the cooldown
|
|
3013
|
+
* multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
|
|
3014
|
+
**/
|
|
3015
|
+
removeUpgradeCooldown: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
3195
3016
|
/**
|
|
3196
3017
|
* Generic tx
|
|
3197
3018
|
**/
|
|
@@ -3211,7 +3032,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3211
3032
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3212
3033
|
};
|
|
3213
3034
|
parasSlashing: {
|
|
3214
|
-
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof:
|
|
3035
|
+
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesVstagingDisputeProof | {
|
|
3215
3036
|
timeSlot?: any;
|
|
3216
3037
|
kind?: any;
|
|
3217
3038
|
validatorIndex?: any;
|
|
@@ -3220,7 +3041,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3220
3041
|
session?: any;
|
|
3221
3042
|
trieNodes?: any;
|
|
3222
3043
|
validatorCount?: any;
|
|
3223
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3044
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingDisputeProof, SpSessionMembershipProof]>;
|
|
3224
3045
|
/**
|
|
3225
3046
|
* Generic tx
|
|
3226
3047
|
**/
|
|
@@ -3346,16 +3167,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3346
3167
|
* inaccessible.
|
|
3347
3168
|
*
|
|
3348
3169
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
3349
|
-
* `
|
|
3170
|
+
* `create_pure` with corresponding parameters.
|
|
3350
3171
|
*
|
|
3351
|
-
* - `spawner`: The account that originally called `
|
|
3352
|
-
* - `index`: The disambiguation index originally passed to `
|
|
3353
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
3354
|
-
* - `height`: The height of the chain when the call to `
|
|
3355
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
3172
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
3173
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
3174
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
3175
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
3176
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
3356
3177
|
*
|
|
3357
3178
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
3358
|
-
* account whose `
|
|
3179
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
3359
3180
|
**/
|
|
3360
3181
|
killPure: AugmentedSubmittable<(spawner: MultiAddress | {
|
|
3361
3182
|
Id: any;
|
|
@@ -3486,7 +3307,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3486
3307
|
*
|
|
3487
3308
|
* The dispatch origin for this call must be _Signed_.
|
|
3488
3309
|
*
|
|
3489
|
-
* WARNING: This may be called on accounts created by `
|
|
3310
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
3490
3311
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
3491
3312
|
**/
|
|
3492
3313
|
removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
@@ -3515,6 +3336,331 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3515
3336
|
**/
|
|
3516
3337
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3517
3338
|
};
|
|
3339
|
+
rcMigrator: {
|
|
3340
|
+
/**
|
|
3341
|
+
* Cancel the migration.
|
|
3342
|
+
*
|
|
3343
|
+
* Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
|
|
3344
|
+
**/
|
|
3345
|
+
cancelMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3346
|
+
/**
|
|
3347
|
+
* Set the migration stage.
|
|
3348
|
+
*
|
|
3349
|
+
* This call is intended for emergency use only and is guarded by the
|
|
3350
|
+
* [`Config::AdminOrigin`].
|
|
3351
|
+
**/
|
|
3352
|
+
forceSetStage: AugmentedSubmittable<(stage: PalletRcMigratorMigrationStage | {
|
|
3353
|
+
Pending: any;
|
|
3354
|
+
} | {
|
|
3355
|
+
MigrationPaused: any;
|
|
3356
|
+
} | {
|
|
3357
|
+
Scheduled: any;
|
|
3358
|
+
} | {
|
|
3359
|
+
WaitingForAh: any;
|
|
3360
|
+
} | {
|
|
3361
|
+
WarmUp: any;
|
|
3362
|
+
} | {
|
|
3363
|
+
Starting: any;
|
|
3364
|
+
} | {
|
|
3365
|
+
PureProxyCandidatesMigrationInit: any;
|
|
3366
|
+
} | {
|
|
3367
|
+
AccountsMigrationInit: any;
|
|
3368
|
+
} | {
|
|
3369
|
+
AccountsMigrationOngoing: any;
|
|
3370
|
+
} | {
|
|
3371
|
+
AccountsMigrationDone: any;
|
|
3372
|
+
} | {
|
|
3373
|
+
MultisigMigrationInit: any;
|
|
3374
|
+
} | {
|
|
3375
|
+
MultisigMigrationOngoing: any;
|
|
3376
|
+
} | {
|
|
3377
|
+
MultisigMigrationDone: any;
|
|
3378
|
+
} | {
|
|
3379
|
+
ClaimsMigrationInit: any;
|
|
3380
|
+
} | {
|
|
3381
|
+
ClaimsMigrationOngoing: any;
|
|
3382
|
+
} | {
|
|
3383
|
+
ClaimsMigrationDone: any;
|
|
3384
|
+
} | {
|
|
3385
|
+
ProxyMigrationInit: any;
|
|
3386
|
+
} | {
|
|
3387
|
+
ProxyMigrationProxies: any;
|
|
3388
|
+
} | {
|
|
3389
|
+
ProxyMigrationAnnouncements: any;
|
|
3390
|
+
} | {
|
|
3391
|
+
ProxyMigrationDone: any;
|
|
3392
|
+
} | {
|
|
3393
|
+
PreimageMigrationInit: any;
|
|
3394
|
+
} | {
|
|
3395
|
+
PreimageMigrationChunksOngoing: any;
|
|
3396
|
+
} | {
|
|
3397
|
+
PreimageMigrationChunksDone: any;
|
|
3398
|
+
} | {
|
|
3399
|
+
PreimageMigrationRequestStatusOngoing: any;
|
|
3400
|
+
} | {
|
|
3401
|
+
PreimageMigrationRequestStatusDone: any;
|
|
3402
|
+
} | {
|
|
3403
|
+
PreimageMigrationLegacyRequestStatusInit: any;
|
|
3404
|
+
} | {
|
|
3405
|
+
PreimageMigrationLegacyRequestStatusOngoing: any;
|
|
3406
|
+
} | {
|
|
3407
|
+
PreimageMigrationLegacyRequestStatusDone: any;
|
|
3408
|
+
} | {
|
|
3409
|
+
PreimageMigrationDone: any;
|
|
3410
|
+
} | {
|
|
3411
|
+
NomPoolsMigrationInit: any;
|
|
3412
|
+
} | {
|
|
3413
|
+
NomPoolsMigrationOngoing: any;
|
|
3414
|
+
} | {
|
|
3415
|
+
NomPoolsMigrationDone: any;
|
|
3416
|
+
} | {
|
|
3417
|
+
VestingMigrationInit: any;
|
|
3418
|
+
} | {
|
|
3419
|
+
VestingMigrationOngoing: any;
|
|
3420
|
+
} | {
|
|
3421
|
+
VestingMigrationDone: any;
|
|
3422
|
+
} | {
|
|
3423
|
+
DelegatedStakingMigrationInit: any;
|
|
3424
|
+
} | {
|
|
3425
|
+
DelegatedStakingMigrationOngoing: any;
|
|
3426
|
+
} | {
|
|
3427
|
+
DelegatedStakingMigrationDone: any;
|
|
3428
|
+
} | {
|
|
3429
|
+
IndicesMigrationInit: any;
|
|
3430
|
+
} | {
|
|
3431
|
+
IndicesMigrationOngoing: any;
|
|
3432
|
+
} | {
|
|
3433
|
+
IndicesMigrationDone: any;
|
|
3434
|
+
} | {
|
|
3435
|
+
ReferendaMigrationInit: any;
|
|
3436
|
+
} | {
|
|
3437
|
+
ReferendaMigrationOngoing: any;
|
|
3438
|
+
} | {
|
|
3439
|
+
ReferendaMigrationDone: any;
|
|
3440
|
+
} | {
|
|
3441
|
+
BagsListMigrationInit: any;
|
|
3442
|
+
} | {
|
|
3443
|
+
BagsListMigrationOngoing: any;
|
|
3444
|
+
} | {
|
|
3445
|
+
BagsListMigrationDone: any;
|
|
3446
|
+
} | {
|
|
3447
|
+
SchedulerMigrationInit: any;
|
|
3448
|
+
} | {
|
|
3449
|
+
SchedulerMigrationOngoing: any;
|
|
3450
|
+
} | {
|
|
3451
|
+
SchedulerAgendaMigrationOngoing: any;
|
|
3452
|
+
} | {
|
|
3453
|
+
SchedulerMigrationDone: any;
|
|
3454
|
+
} | {
|
|
3455
|
+
ConvictionVotingMigrationInit: any;
|
|
3456
|
+
} | {
|
|
3457
|
+
ConvictionVotingMigrationOngoing: any;
|
|
3458
|
+
} | {
|
|
3459
|
+
ConvictionVotingMigrationDone: any;
|
|
3460
|
+
} | {
|
|
3461
|
+
BountiesMigrationInit: any;
|
|
3462
|
+
} | {
|
|
3463
|
+
BountiesMigrationOngoing: any;
|
|
3464
|
+
} | {
|
|
3465
|
+
BountiesMigrationDone: any;
|
|
3466
|
+
} | {
|
|
3467
|
+
ChildBountiesMigrationInit: any;
|
|
3468
|
+
} | {
|
|
3469
|
+
ChildBountiesMigrationOngoing: any;
|
|
3470
|
+
} | {
|
|
3471
|
+
ChildBountiesMigrationDone: any;
|
|
3472
|
+
} | {
|
|
3473
|
+
AssetRateMigrationInit: any;
|
|
3474
|
+
} | {
|
|
3475
|
+
AssetRateMigrationOngoing: any;
|
|
3476
|
+
} | {
|
|
3477
|
+
AssetRateMigrationDone: any;
|
|
3478
|
+
} | {
|
|
3479
|
+
CrowdloanMigrationInit: any;
|
|
3480
|
+
} | {
|
|
3481
|
+
CrowdloanMigrationOngoing: any;
|
|
3482
|
+
} | {
|
|
3483
|
+
CrowdloanMigrationDone: any;
|
|
3484
|
+
} | {
|
|
3485
|
+
TreasuryMigrationInit: any;
|
|
3486
|
+
} | {
|
|
3487
|
+
TreasuryMigrationOngoing: any;
|
|
3488
|
+
} | {
|
|
3489
|
+
TreasuryMigrationDone: any;
|
|
3490
|
+
} | {
|
|
3491
|
+
RecoveryMigrationInit: any;
|
|
3492
|
+
} | {
|
|
3493
|
+
RecoveryMigrationOngoing: any;
|
|
3494
|
+
} | {
|
|
3495
|
+
RecoveryMigrationDone: any;
|
|
3496
|
+
} | {
|
|
3497
|
+
SocietyMigrationInit: any;
|
|
3498
|
+
} | {
|
|
3499
|
+
SocietyMigrationOngoing: any;
|
|
3500
|
+
} | {
|
|
3501
|
+
SocietyMigrationDone: any;
|
|
3502
|
+
} | {
|
|
3503
|
+
StakingMigrationInit: any;
|
|
3504
|
+
} | {
|
|
3505
|
+
StakingMigrationOngoing: any;
|
|
3506
|
+
} | {
|
|
3507
|
+
StakingMigrationDone: any;
|
|
3508
|
+
} | {
|
|
3509
|
+
CoolOff: any;
|
|
3510
|
+
} | {
|
|
3511
|
+
SignalMigrationFinish: any;
|
|
3512
|
+
} | {
|
|
3513
|
+
MigrationDone: any;
|
|
3514
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorMigrationStage]>;
|
|
3515
|
+
/**
|
|
3516
|
+
* Pause the migration.
|
|
3517
|
+
**/
|
|
3518
|
+
pauseMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3519
|
+
/**
|
|
3520
|
+
* Set the accounts to be preserved on Relay Chain during the migration.
|
|
3521
|
+
*
|
|
3522
|
+
* The accounts must have no consumers references.
|
|
3523
|
+
**/
|
|
3524
|
+
preserveAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
3525
|
+
/**
|
|
3526
|
+
* Receive a query response from the Asset Hub for a previously sent xcm message.
|
|
3527
|
+
**/
|
|
3528
|
+
receiveQueryResponse: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array, response: StagingXcmV5Response | {
|
|
3529
|
+
Null: any;
|
|
3530
|
+
} | {
|
|
3531
|
+
Assets: any;
|
|
3532
|
+
} | {
|
|
3533
|
+
ExecutionResult: any;
|
|
3534
|
+
} | {
|
|
3535
|
+
Version: any;
|
|
3536
|
+
} | {
|
|
3537
|
+
PalletsInfo: any;
|
|
3538
|
+
} | {
|
|
3539
|
+
DispatchResult: any;
|
|
3540
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, StagingXcmV5Response]>;
|
|
3541
|
+
/**
|
|
3542
|
+
* Resend a previously sent and unconfirmed XCM message.
|
|
3543
|
+
**/
|
|
3544
|
+
resendXcm: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
3545
|
+
/**
|
|
3546
|
+
* Schedule the migration to start at a given moment.
|
|
3547
|
+
*
|
|
3548
|
+
* ### Parameters:
|
|
3549
|
+
* - `start`: The block number at which the migration will start. `DispatchTime` calculated
|
|
3550
|
+
* at the moment of the extrinsic execution.
|
|
3551
|
+
* - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
|
|
3552
|
+
* are filtered during this period. It is intended to give enough time for UMP and DMP
|
|
3553
|
+
* queues to empty. `DispatchTime` calculated at the moment of the transition to the
|
|
3554
|
+
* warm-up stage.
|
|
3555
|
+
* - `cool_off`: The block number at which the post migration cool-off period will end. The
|
|
3556
|
+
* `DispatchTime` calculated at the moment of the transition to the cool-off stage.
|
|
3557
|
+
* - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
|
|
3558
|
+
* scheduled time point is far enough in the future.
|
|
3559
|
+
*
|
|
3560
|
+
* Note: If the staking election for next era is already complete, and the next
|
|
3561
|
+
* validator set is queued in `pallet-session`, we want to avoid starting the data
|
|
3562
|
+
* migration at this point as it can lead to some missed validator rewards. To address
|
|
3563
|
+
* this, we stop staking election at the start of migration and must wait atleast 1
|
|
3564
|
+
* session (set via warm_up) before starting the data migration.
|
|
3565
|
+
*
|
|
3566
|
+
* Read [`MigrationStage::Scheduled`] documentation for more details.
|
|
3567
|
+
**/
|
|
3568
|
+
scheduleMigration: AugmentedSubmittable<(start: FrameSupportScheduleDispatchTime | {
|
|
3569
|
+
At: any;
|
|
3570
|
+
} | {
|
|
3571
|
+
After: any;
|
|
3572
|
+
} | string | Uint8Array, warmUp: FrameSupportScheduleDispatchTime | {
|
|
3573
|
+
At: any;
|
|
3574
|
+
} | {
|
|
3575
|
+
After: any;
|
|
3576
|
+
} | string | Uint8Array, coolOff: FrameSupportScheduleDispatchTime | {
|
|
3577
|
+
At: any;
|
|
3578
|
+
} | {
|
|
3579
|
+
After: any;
|
|
3580
|
+
} | string | Uint8Array, unsafeIgnoreStakingLockCheck: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, bool]>;
|
|
3581
|
+
/**
|
|
3582
|
+
* XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
|
|
3583
|
+
* [Config::SendXcm] router which will be able to send messages to the Asset Hub during
|
|
3584
|
+
* the migration.
|
|
3585
|
+
**/
|
|
3586
|
+
sendXcmMessage: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
3587
|
+
V3: any;
|
|
3588
|
+
} | {
|
|
3589
|
+
V4: any;
|
|
3590
|
+
} | {
|
|
3591
|
+
V5: any;
|
|
3592
|
+
} | string | Uint8Array, message: XcmVersionedXcm | {
|
|
3593
|
+
V3: any;
|
|
3594
|
+
} | {
|
|
3595
|
+
V4: any;
|
|
3596
|
+
} | {
|
|
3597
|
+
V5: any;
|
|
3598
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
|
|
3599
|
+
/**
|
|
3600
|
+
* Set the AH UMP queue priority configuration.
|
|
3601
|
+
*
|
|
3602
|
+
* Can only be called by the `AdminOrigin`.
|
|
3603
|
+
**/
|
|
3604
|
+
setAhUmpQueuePriority: AugmentedSubmittable<(updated: PalletRcMigratorQueuePriority | {
|
|
3605
|
+
Config: any;
|
|
3606
|
+
} | {
|
|
3607
|
+
OverrideConfig: any;
|
|
3608
|
+
} | {
|
|
3609
|
+
Disabled: any;
|
|
3610
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorQueuePriority]>;
|
|
3611
|
+
/**
|
|
3612
|
+
* Set the canceller account id.
|
|
3613
|
+
*
|
|
3614
|
+
* The canceller can only stop scheduled migration.
|
|
3615
|
+
**/
|
|
3616
|
+
setCanceller: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
|
|
3617
|
+
/**
|
|
3618
|
+
* Set the manager account id.
|
|
3619
|
+
*
|
|
3620
|
+
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
|
|
3621
|
+
* can not set the manager account id via `set_manager` call.
|
|
3622
|
+
**/
|
|
3623
|
+
setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
|
|
3624
|
+
/**
|
|
3625
|
+
* Set the unprocessed message buffer size.
|
|
3626
|
+
*
|
|
3627
|
+
* `None` means to use the configuration value.
|
|
3628
|
+
**/
|
|
3629
|
+
setUnprocessedMsgBuffer: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
3630
|
+
/**
|
|
3631
|
+
* Start the data migration.
|
|
3632
|
+
*
|
|
3633
|
+
* This is typically called by the Asset Hub to indicate it's readiness to receive the
|
|
3634
|
+
* migration data.
|
|
3635
|
+
**/
|
|
3636
|
+
startDataMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3637
|
+
/**
|
|
3638
|
+
* Vote on behalf of any of the members in `MultisigMembers`.
|
|
3639
|
+
*
|
|
3640
|
+
* Unsigned extrinsic, requiring the `payload` to be signed.
|
|
3641
|
+
*
|
|
3642
|
+
* Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
|
|
3643
|
+
* be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
|
|
3644
|
+
* move on to the next round.
|
|
3645
|
+
*
|
|
3646
|
+
* The round system ensures that signatures from older round cannot be reused.
|
|
3647
|
+
**/
|
|
3648
|
+
voteManagerMultisig: AugmentedSubmittable<(payload: PalletRcMigratorManagerMultisigVote | {
|
|
3649
|
+
who?: any;
|
|
3650
|
+
call?: any;
|
|
3651
|
+
round?: any;
|
|
3652
|
+
} | string | Uint8Array, sig: SpRuntimeMultiSignature | {
|
|
3653
|
+
Ed25519: any;
|
|
3654
|
+
} | {
|
|
3655
|
+
Sr25519: any;
|
|
3656
|
+
} | {
|
|
3657
|
+
Ecdsa: any;
|
|
3658
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorManagerMultisigVote, SpRuntimeMultiSignature]>;
|
|
3659
|
+
/**
|
|
3660
|
+
* Generic tx
|
|
3661
|
+
**/
|
|
3662
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3663
|
+
};
|
|
3518
3664
|
recovery: {
|
|
3519
3665
|
/**
|
|
3520
3666
|
* Send a call through a recovered account.
|
|
@@ -3646,6 +3792,42 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3646
3792
|
} | {
|
|
3647
3793
|
Address20: any;
|
|
3648
3794
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
3795
|
+
/**
|
|
3796
|
+
* Poke deposits for recovery configurations and / or active recoveries.
|
|
3797
|
+
*
|
|
3798
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
3799
|
+
*
|
|
3800
|
+
* The dispatch origin for this call must be _Signed_.
|
|
3801
|
+
*
|
|
3802
|
+
* Parameters:
|
|
3803
|
+
* - `maybe_account`: Optional recoverable account for which you have an active recovery
|
|
3804
|
+
* and want to adjust the deposit for the active recovery.
|
|
3805
|
+
*
|
|
3806
|
+
* This function checks both recovery configuration deposit and active recovery deposits
|
|
3807
|
+
* of the caller:
|
|
3808
|
+
* - If the caller has created a recovery configuration, checks and adjusts its deposit
|
|
3809
|
+
* - If the caller has initiated any active recoveries, and provides the account in
|
|
3810
|
+
* `maybe_account`, checks and adjusts those deposits
|
|
3811
|
+
*
|
|
3812
|
+
* If any deposit is updated, the difference will be reserved/unreserved from the caller's
|
|
3813
|
+
* account.
|
|
3814
|
+
*
|
|
3815
|
+
* The transaction is made free if any deposit is updated and paid otherwise.
|
|
3816
|
+
*
|
|
3817
|
+
* Emits `DepositPoked` if any deposit is updated.
|
|
3818
|
+
* Multiple events may be emitted in case both types of deposits are updated.
|
|
3819
|
+
**/
|
|
3820
|
+
pokeDeposit: AugmentedSubmittable<(maybeAccount: Option<MultiAddress> | null | Uint8Array | MultiAddress | {
|
|
3821
|
+
Id: any;
|
|
3822
|
+
} | {
|
|
3823
|
+
Index: any;
|
|
3824
|
+
} | {
|
|
3825
|
+
Raw: any;
|
|
3826
|
+
} | {
|
|
3827
|
+
Address32: any;
|
|
3828
|
+
} | {
|
|
3829
|
+
Address20: any;
|
|
3830
|
+
} | string) => SubmittableExtrinsic<ApiType>, [Option<MultiAddress>]>;
|
|
3649
3831
|
/**
|
|
3650
3832
|
* Remove the recovery process for your account. Recovered accounts are still accessible.
|
|
3651
3833
|
*
|
|
@@ -4238,6 +4420,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4238
4420
|
* payouts remaining.
|
|
4239
4421
|
**/
|
|
4240
4422
|
payout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4423
|
+
/**
|
|
4424
|
+
* Poke the deposit reserved when bidding.
|
|
4425
|
+
*
|
|
4426
|
+
* The dispatch origin for this call must be _Signed_ and must be the bidder.
|
|
4427
|
+
*
|
|
4428
|
+
* The transaction fee is waived if the deposit is changed after poking/reconsideration.
|
|
4429
|
+
*
|
|
4430
|
+
* Emits `DepositPoked` if successful.
|
|
4431
|
+
**/
|
|
4432
|
+
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4241
4433
|
/**
|
|
4242
4434
|
* Punish the skeptic with a strike if they did not vote on a candidate. Callable by the
|
|
4243
4435
|
* candidate.
|
|
@@ -4398,6 +4590,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4398
4590
|
* Can be called by the `T::AdminOrigin`.
|
|
4399
4591
|
*
|
|
4400
4592
|
* Parameters: era and indices of the slashes for that era to kill.
|
|
4593
|
+
* They **must** be sorted in ascending order, *and* unique.
|
|
4401
4594
|
**/
|
|
4402
4595
|
cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
|
|
4403
4596
|
/**
|
|
@@ -4830,6 +5023,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4830
5023
|
* period ends. If this leaves an amount actively bonded less than
|
|
4831
5024
|
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
4832
5025
|
*
|
|
5026
|
+
* The stash may be chilled if the ledger total amount falls to 0 after unbonding.
|
|
5027
|
+
*
|
|
4833
5028
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
4834
5029
|
*
|
|
4835
5030
|
* Once the unlock period is done, you can call `withdraw_unbonded` to actually move
|
|
@@ -4898,6 +5093,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4898
5093
|
**/
|
|
4899
5094
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4900
5095
|
};
|
|
5096
|
+
stakingAhClient: {
|
|
5097
|
+
/**
|
|
5098
|
+
* manually do what this pallet was meant to do at the end of the migration.
|
|
5099
|
+
**/
|
|
5100
|
+
forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
5101
|
+
/**
|
|
5102
|
+
* Allows governance to force set the operating mode of the pallet.
|
|
5103
|
+
**/
|
|
5104
|
+
setMode: AugmentedSubmittable<(mode: PalletStakingAsyncAhClientOperatingMode | 'Passive' | 'Buffered' | 'Active' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncAhClientOperatingMode]>;
|
|
5105
|
+
validatorSet: AugmentedSubmittable<(report: PalletStakingAsyncRcClientValidatorSetReport | {
|
|
5106
|
+
newValidatorSet?: any;
|
|
5107
|
+
id?: any;
|
|
5108
|
+
pruneUpTo?: any;
|
|
5109
|
+
leftover?: any;
|
|
5110
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncRcClientValidatorSetReport]>;
|
|
5111
|
+
/**
|
|
5112
|
+
* Generic tx
|
|
5113
|
+
**/
|
|
5114
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
5115
|
+
};
|
|
4901
5116
|
system: {
|
|
4902
5117
|
/**
|
|
4903
5118
|
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
|