@dedot/chaintypes 0.226.0 → 0.228.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kusama/index.d.ts +1 -1
- package/kusama/tx.d.ts +10 -10
- package/kusama/types.d.ts +7251 -7251
- package/kusama-asset-hub/errors.d.ts +20 -0
- package/kusama-asset-hub/events.d.ts +8 -3
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/tx.d.ts +73 -14
- package/kusama-asset-hub/types.d.ts +15150 -15087
- package/kusama-people/index.d.ts +1 -1
- package/kusama-people/types.d.ts +4309 -4309
- package/package.json +2 -2
- package/polkadot-people/index.d.ts +1 -1
- package/westend/events.d.ts +10 -0
- package/westend/index.d.ts +1 -1
- package/westend/tx.d.ts +49 -0
- package/westend/types.d.ts +45 -4
|
@@ -3459,6 +3459,26 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3459
3459
|
**/
|
|
3460
3460
|
ZeroBalance: GenericPalletError;
|
|
3461
3461
|
|
|
3462
|
+
/**
|
|
3463
|
+
* Failed to transfer balance.
|
|
3464
|
+
**/
|
|
3465
|
+
FailedToTransfer: GenericPalletError;
|
|
3466
|
+
|
|
3467
|
+
/**
|
|
3468
|
+
* The account has already been translated.
|
|
3469
|
+
**/
|
|
3470
|
+
AlreadyTranslated: GenericPalletError;
|
|
3471
|
+
|
|
3472
|
+
/**
|
|
3473
|
+
* The derivation path is too long.
|
|
3474
|
+
**/
|
|
3475
|
+
TooLongDerivationPath: GenericPalletError;
|
|
3476
|
+
|
|
3477
|
+
/**
|
|
3478
|
+
* Failed to force unstake.
|
|
3479
|
+
**/
|
|
3480
|
+
FailedToForceUnstake: GenericPalletError;
|
|
3481
|
+
|
|
3462
3482
|
/**
|
|
3463
3483
|
* Generic pallet error
|
|
3464
3484
|
**/
|
|
@@ -4370,7 +4370,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
4370
4370
|
/**
|
|
4371
4371
|
* The parachain ID that had its account migrated.
|
|
4372
4372
|
**/
|
|
4373
|
-
paraId:
|
|
4373
|
+
paraId: number;
|
|
4374
4374
|
|
|
4375
4375
|
/**
|
|
4376
4376
|
* The old account that was migrated out of.
|
|
@@ -4383,12 +4383,17 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
4383
4383
|
to: AccountId32;
|
|
4384
4384
|
|
|
4385
4385
|
/**
|
|
4386
|
-
*
|
|
4386
|
+
* The derivation path that was used to translate the account.
|
|
4387
4387
|
**/
|
|
4388
|
-
|
|
4388
|
+
derivationPath: Array<number>;
|
|
4389
4389
|
}
|
|
4390
4390
|
>;
|
|
4391
4391
|
|
|
4392
|
+
/**
|
|
4393
|
+
* Failed to re-bond some migrated funds.
|
|
4394
|
+
**/
|
|
4395
|
+
FailedToBond: GenericPalletEvent<'AhOps', 'FailedToBond', { account: AccountId32; amount: bigint }>;
|
|
4396
|
+
|
|
4392
4397
|
/**
|
|
4393
4398
|
* Generic pallet event
|
|
4394
4399
|
**/
|
package/kusama-asset-hub/tx.d.ts
CHANGED
|
@@ -71,12 +71,13 @@ import type {
|
|
|
71
71
|
PalletNominationPoolsConfigOp,
|
|
72
72
|
PalletNominationPoolsConfigOpU32,
|
|
73
73
|
PalletNominationPoolsConfigOpPerbill,
|
|
74
|
-
|
|
74
|
+
PalletNominationPoolsConfigOpAccountId32,
|
|
75
75
|
PalletNominationPoolsClaimPermission,
|
|
76
76
|
PalletNominationPoolsCommissionChangeRate,
|
|
77
77
|
PalletNominationPoolsCommissionClaimPermission,
|
|
78
78
|
PalletStakingAsyncRcClientSessionReport,
|
|
79
79
|
PalletStakingAsyncRcClientOffence,
|
|
80
|
+
PalletElectionProviderMultiBlockManagerOperation,
|
|
80
81
|
PalletElectionProviderMultiBlockAdminOperation,
|
|
81
82
|
PalletElectionProviderMultiBlockPagedRawSolution,
|
|
82
83
|
SpNposElectionsElectionScore,
|
|
@@ -12336,16 +12337,16 @@ export interface ChainTx<
|
|
|
12336
12337
|
* most pool members and they should be informed of changes to pool roles.
|
|
12337
12338
|
*
|
|
12338
12339
|
* @param {number} poolId
|
|
12339
|
-
* @param {
|
|
12340
|
-
* @param {
|
|
12341
|
-
* @param {
|
|
12340
|
+
* @param {PalletNominationPoolsConfigOpAccountId32} newRoot
|
|
12341
|
+
* @param {PalletNominationPoolsConfigOpAccountId32} newNominator
|
|
12342
|
+
* @param {PalletNominationPoolsConfigOpAccountId32} newBouncer
|
|
12342
12343
|
**/
|
|
12343
12344
|
updateRoles: GenericTxCall<
|
|
12344
12345
|
(
|
|
12345
12346
|
poolId: number,
|
|
12346
|
-
newRoot:
|
|
12347
|
-
newNominator:
|
|
12348
|
-
newBouncer:
|
|
12347
|
+
newRoot: PalletNominationPoolsConfigOpAccountId32,
|
|
12348
|
+
newNominator: PalletNominationPoolsConfigOpAccountId32,
|
|
12349
|
+
newBouncer: PalletNominationPoolsConfigOpAccountId32,
|
|
12349
12350
|
) => ChainSubmittableExtrinsic<
|
|
12350
12351
|
{
|
|
12351
12352
|
pallet: 'NominationPools';
|
|
@@ -12353,9 +12354,9 @@ export interface ChainTx<
|
|
|
12353
12354
|
name: 'UpdateRoles';
|
|
12354
12355
|
params: {
|
|
12355
12356
|
poolId: number;
|
|
12356
|
-
newRoot:
|
|
12357
|
-
newNominator:
|
|
12358
|
-
newBouncer:
|
|
12357
|
+
newRoot: PalletNominationPoolsConfigOpAccountId32;
|
|
12358
|
+
newNominator: PalletNominationPoolsConfigOpAccountId32;
|
|
12359
|
+
newBouncer: PalletNominationPoolsConfigOpAccountId32;
|
|
12359
12360
|
};
|
|
12360
12361
|
};
|
|
12361
12362
|
},
|
|
@@ -12852,18 +12853,35 @@ export interface ChainTx<
|
|
|
12852
12853
|
/**
|
|
12853
12854
|
* Manage this pallet.
|
|
12854
12855
|
*
|
|
12855
|
-
* The origin of this call must be [`Config::
|
|
12856
|
+
* The origin of this call must be [`Config::ManagerOrigin`].
|
|
12856
12857
|
*
|
|
12857
|
-
* See [`
|
|
12858
|
+
* See [`ManagerOperation`] for various operations that are possible.
|
|
12858
12859
|
*
|
|
12859
|
-
* @param {
|
|
12860
|
+
* @param {PalletElectionProviderMultiBlockManagerOperation} op
|
|
12860
12861
|
**/
|
|
12861
12862
|
manage: GenericTxCall<
|
|
12862
|
-
(op:
|
|
12863
|
+
(op: PalletElectionProviderMultiBlockManagerOperation) => ChainSubmittableExtrinsic<
|
|
12863
12864
|
{
|
|
12864
12865
|
pallet: 'MultiBlockElection';
|
|
12865
12866
|
palletCall: {
|
|
12866
12867
|
name: 'Manage';
|
|
12868
|
+
params: { op: PalletElectionProviderMultiBlockManagerOperation };
|
|
12869
|
+
};
|
|
12870
|
+
},
|
|
12871
|
+
ChainKnownTypes
|
|
12872
|
+
>
|
|
12873
|
+
>;
|
|
12874
|
+
|
|
12875
|
+
/**
|
|
12876
|
+
*
|
|
12877
|
+
* @param {PalletElectionProviderMultiBlockAdminOperation} op
|
|
12878
|
+
**/
|
|
12879
|
+
admin: GenericTxCall<
|
|
12880
|
+
(op: PalletElectionProviderMultiBlockAdminOperation) => ChainSubmittableExtrinsic<
|
|
12881
|
+
{
|
|
12882
|
+
pallet: 'MultiBlockElection';
|
|
12883
|
+
palletCall: {
|
|
12884
|
+
name: 'Admin';
|
|
12867
12885
|
params: { op: PalletElectionProviderMultiBlockAdminOperation };
|
|
12868
12886
|
};
|
|
12869
12887
|
},
|
|
@@ -15675,6 +15693,47 @@ export interface ChainTx<
|
|
|
15675
15693
|
>
|
|
15676
15694
|
>;
|
|
15677
15695
|
|
|
15696
|
+
/**
|
|
15697
|
+
* Translate recursively derived parachain sovereign child account to its sibling.
|
|
15698
|
+
*
|
|
15699
|
+
* Uses the same derivation path on the sibling. The old and new account arguments are only
|
|
15700
|
+
* witness data to ensure correct usage. Can only be called by the `MigrateOrigin`.
|
|
15701
|
+
*
|
|
15702
|
+
* This migrates:
|
|
15703
|
+
* - Native DOT balance
|
|
15704
|
+
* - All assets listed in `T::RelevantAssets`
|
|
15705
|
+
* - Staked balances
|
|
15706
|
+
*
|
|
15707
|
+
* Things like non-relevant assets or vested transfers may remain on the old account.
|
|
15708
|
+
*
|
|
15709
|
+
* @param {number} paraId
|
|
15710
|
+
* @param {Array<number>} derivationPath
|
|
15711
|
+
* @param {AccountId32Like} oldAccount
|
|
15712
|
+
* @param {AccountId32Like} newAccount
|
|
15713
|
+
**/
|
|
15714
|
+
translateParaSovereignChildToSiblingDerived: GenericTxCall<
|
|
15715
|
+
(
|
|
15716
|
+
paraId: number,
|
|
15717
|
+
derivationPath: Array<number>,
|
|
15718
|
+
oldAccount: AccountId32Like,
|
|
15719
|
+
newAccount: AccountId32Like,
|
|
15720
|
+
) => ChainSubmittableExtrinsic<
|
|
15721
|
+
{
|
|
15722
|
+
pallet: 'AhOps';
|
|
15723
|
+
palletCall: {
|
|
15724
|
+
name: 'TranslateParaSovereignChildToSiblingDerived';
|
|
15725
|
+
params: {
|
|
15726
|
+
paraId: number;
|
|
15727
|
+
derivationPath: Array<number>;
|
|
15728
|
+
oldAccount: AccountId32Like;
|
|
15729
|
+
newAccount: AccountId32Like;
|
|
15730
|
+
};
|
|
15731
|
+
};
|
|
15732
|
+
},
|
|
15733
|
+
ChainKnownTypes
|
|
15734
|
+
>
|
|
15735
|
+
>;
|
|
15736
|
+
|
|
15678
15737
|
/**
|
|
15679
15738
|
* Generic pallet tx call
|
|
15680
15739
|
**/
|