@dedot/chaintypes 0.120.0 → 0.121.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.121.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "3761276988e7a94c52b32f7ef0aabc32b760aff4",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
|
@@ -3174,6 +3174,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3174
3174
|
**/
|
|
3175
3175
|
WrongSovereignTranslation: GenericPalletError<Rv>;
|
|
3176
3176
|
|
|
3177
|
+
/**
|
|
3178
|
+
* The account is not a derived account.
|
|
3179
|
+
**/
|
|
3180
|
+
WrongDerivedTranslation: GenericPalletError<Rv>;
|
|
3181
|
+
|
|
3177
3182
|
/**
|
|
3178
3183
|
* Account cannot be migrated since it is not a sovereign parachain account.
|
|
3179
3184
|
**/
|
|
@@ -3209,11 +3214,26 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3209
3214
|
**/
|
|
3210
3215
|
FailedToSetFreeze: GenericPalletError<Rv>;
|
|
3211
3216
|
|
|
3217
|
+
/**
|
|
3218
|
+
* Failed to transfer a balance.
|
|
3219
|
+
**/
|
|
3220
|
+
FailedToTransfer: GenericPalletError<Rv>;
|
|
3221
|
+
|
|
3222
|
+
/**
|
|
3223
|
+
* Failed to reserve a balance.
|
|
3224
|
+
**/
|
|
3225
|
+
FailedToReserve: GenericPalletError<Rv>;
|
|
3226
|
+
|
|
3212
3227
|
/**
|
|
3213
3228
|
* Failed to unreserve the full balance.
|
|
3214
3229
|
**/
|
|
3215
3230
|
CannotUnreserve: GenericPalletError<Rv>;
|
|
3216
3231
|
|
|
3232
|
+
/**
|
|
3233
|
+
* The from and to accounts are identical.
|
|
3234
|
+
**/
|
|
3235
|
+
AccountIdentical: GenericPalletError<Rv>;
|
|
3236
|
+
|
|
3217
3237
|
/**
|
|
3218
3238
|
* Generic pallet error
|
|
3219
3239
|
**/
|
|
@@ -54,7 +54,6 @@ import type {
|
|
|
54
54
|
FrameSupportDispatchPostDispatchInfo,
|
|
55
55
|
SpRuntimeDispatchErrorWithPostInfo,
|
|
56
56
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
57
|
-
PolkadotParachainPrimitivesPrimitivesId,
|
|
58
57
|
AssetHubWestendRuntimeRuntimeHoldReason,
|
|
59
58
|
PalletAhMigratorMigrationStage,
|
|
60
59
|
PalletAhMigratorPalletEventName,
|
|
@@ -4691,7 +4690,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4691
4690
|
Rv,
|
|
4692
4691
|
'AhOps',
|
|
4693
4692
|
'LeaseUnreserveRemaining',
|
|
4694
|
-
{ depositor: AccountId32; paraId:
|
|
4693
|
+
{ depositor: AccountId32; paraId: number; remaining: bigint }
|
|
4695
4694
|
>;
|
|
4696
4695
|
|
|
4697
4696
|
/**
|
|
@@ -4701,7 +4700,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4701
4700
|
Rv,
|
|
4702
4701
|
'AhOps',
|
|
4703
4702
|
'CrowdloanUnreserveRemaining',
|
|
4704
|
-
{ depositor: AccountId32; paraId:
|
|
4703
|
+
{ depositor: AccountId32; paraId: number; remaining: bigint }
|
|
4705
4704
|
>;
|
|
4706
4705
|
|
|
4707
4706
|
/**
|
|
@@ -4716,7 +4715,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4716
4715
|
/**
|
|
4717
4716
|
* The parachain ID that had its account migrated.
|
|
4718
4717
|
**/
|
|
4719
|
-
paraId:
|
|
4718
|
+
paraId: number;
|
|
4720
4719
|
|
|
4721
4720
|
/**
|
|
4722
4721
|
* The old account that was migrated out of.
|
|
@@ -4727,6 +4726,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4727
4726
|
* The new account that was migrated into.
|
|
4728
4727
|
**/
|
|
4729
4728
|
to: AccountId32;
|
|
4729
|
+
|
|
4730
|
+
/**
|
|
4731
|
+
* Set if this account was derived from a para sovereign account.
|
|
4732
|
+
**/
|
|
4733
|
+
derivationIndex?: number | undefined;
|
|
4730
4734
|
}
|
|
4731
4735
|
>;
|
|
4732
4736
|
|
|
@@ -23,7 +23,7 @@ export interface VersionedWestendAssetHubApi<Rv extends RpcVersion> extends Gene
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @name: WestendAssetHubApi
|
|
26
|
-
* @specVersion:
|
|
26
|
+
* @specVersion: 1018012
|
|
27
27
|
**/
|
|
28
28
|
export interface WestendAssetHubApi {
|
|
29
29
|
legacy: VersionedWestendAssetHubApi<RpcLegacy>;
|
|
@@ -3591,13 +3591,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3591
3591
|
* - The account that will have the balance unreserved.
|
|
3592
3592
|
* - The balance to be unreserved.
|
|
3593
3593
|
*
|
|
3594
|
-
* @param {[number,
|
|
3594
|
+
* @param {[number, number, AccountId32Like]} arg
|
|
3595
3595
|
* @param {Callback<bigint | undefined> =} callback
|
|
3596
3596
|
**/
|
|
3597
3597
|
rcLeaseReserve: GenericStorageQuery<
|
|
3598
3598
|
Rv,
|
|
3599
|
-
(arg: [number,
|
|
3600
|
-
[number,
|
|
3599
|
+
(arg: [number, number, AccountId32Like]) => bigint | undefined,
|
|
3600
|
+
[number, number, AccountId32]
|
|
3601
3601
|
>;
|
|
3602
3602
|
|
|
3603
3603
|
/**
|
|
@@ -3614,13 +3614,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3614
3614
|
* The value is (fund_pot, balance). The contribution pot is the second key in the
|
|
3615
3615
|
* `RcCrowdloanContribution` storage.
|
|
3616
3616
|
*
|
|
3617
|
-
* @param {[number,
|
|
3617
|
+
* @param {[number, number, AccountId32Like]} arg
|
|
3618
3618
|
* @param {Callback<[AccountId32, bigint] | undefined> =} callback
|
|
3619
3619
|
**/
|
|
3620
3620
|
rcCrowdloanContribution: GenericStorageQuery<
|
|
3621
3621
|
Rv,
|
|
3622
|
-
(arg: [number,
|
|
3623
|
-
[number,
|
|
3622
|
+
(arg: [number, number, AccountId32Like]) => [AccountId32, bigint] | undefined,
|
|
3623
|
+
[number, number, AccountId32]
|
|
3624
3624
|
>;
|
|
3625
3625
|
|
|
3626
3626
|
/**
|
|
@@ -3634,13 +3634,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3634
3634
|
* - The para_id of the crowdloan
|
|
3635
3635
|
* - The account that will have the balance unreserved
|
|
3636
3636
|
*
|
|
3637
|
-
* @param {[number,
|
|
3637
|
+
* @param {[number, number, AccountId32Like]} arg
|
|
3638
3638
|
* @param {Callback<bigint | undefined> =} callback
|
|
3639
3639
|
**/
|
|
3640
3640
|
rcCrowdloanReserve: GenericStorageQuery<
|
|
3641
3641
|
Rv,
|
|
3642
|
-
(arg: [number,
|
|
3643
|
-
[number,
|
|
3642
|
+
(arg: [number, number, AccountId32Like]) => bigint | undefined,
|
|
3643
|
+
[number, number, AccountId32]
|
|
3644
3644
|
>;
|
|
3645
3645
|
|
|
3646
3646
|
/**
|
|
@@ -91,7 +91,6 @@ import type {
|
|
|
91
91
|
PalletConvictionVotingConviction,
|
|
92
92
|
FrameSupportPreimagesBounded,
|
|
93
93
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
94
|
-
PolkadotParachainPrimitivesPrimitivesId,
|
|
95
94
|
AssetHubWestendRuntimeRuntimeHoldReason,
|
|
96
95
|
PalletRcMigratorAccountsAccount,
|
|
97
96
|
PalletRcMigratorMultisigRcMultisig,
|
|
@@ -14479,25 +14478,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
14479
14478
|
*
|
|
14480
14479
|
* @param {number} block
|
|
14481
14480
|
* @param {AccountId32Like | undefined} depositor
|
|
14482
|
-
* @param {
|
|
14481
|
+
* @param {number} paraId
|
|
14483
14482
|
**/
|
|
14484
14483
|
unreserveLeaseDeposit: GenericTxCall<
|
|
14485
14484
|
Rv,
|
|
14486
14485
|
(
|
|
14487
14486
|
block: number,
|
|
14488
14487
|
depositor: AccountId32Like | undefined,
|
|
14489
|
-
paraId:
|
|
14488
|
+
paraId: number,
|
|
14490
14489
|
) => ChainSubmittableExtrinsic<
|
|
14491
14490
|
Rv,
|
|
14492
14491
|
{
|
|
14493
14492
|
pallet: 'AhOps';
|
|
14494
14493
|
palletCall: {
|
|
14495
14494
|
name: 'UnreserveLeaseDeposit';
|
|
14496
|
-
params: {
|
|
14497
|
-
block: number;
|
|
14498
|
-
depositor: AccountId32Like | undefined;
|
|
14499
|
-
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
14500
|
-
};
|
|
14495
|
+
params: { block: number; depositor: AccountId32Like | undefined; paraId: number };
|
|
14501
14496
|
};
|
|
14502
14497
|
}
|
|
14503
14498
|
>
|
|
@@ -14514,25 +14509,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
14514
14509
|
*
|
|
14515
14510
|
* @param {number} block
|
|
14516
14511
|
* @param {AccountId32Like | undefined} depositor
|
|
14517
|
-
* @param {
|
|
14512
|
+
* @param {number} paraId
|
|
14518
14513
|
**/
|
|
14519
14514
|
withdrawCrowdloanContribution: GenericTxCall<
|
|
14520
14515
|
Rv,
|
|
14521
14516
|
(
|
|
14522
14517
|
block: number,
|
|
14523
14518
|
depositor: AccountId32Like | undefined,
|
|
14524
|
-
paraId:
|
|
14519
|
+
paraId: number,
|
|
14525
14520
|
) => ChainSubmittableExtrinsic<
|
|
14526
14521
|
Rv,
|
|
14527
14522
|
{
|
|
14528
14523
|
pallet: 'AhOps';
|
|
14529
14524
|
palletCall: {
|
|
14530
14525
|
name: 'WithdrawCrowdloanContribution';
|
|
14531
|
-
params: {
|
|
14532
|
-
block: number;
|
|
14533
|
-
depositor: AccountId32Like | undefined;
|
|
14534
|
-
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
14535
|
-
};
|
|
14526
|
+
params: { block: number; depositor: AccountId32Like | undefined; paraId: number };
|
|
14536
14527
|
};
|
|
14537
14528
|
}
|
|
14538
14529
|
>
|
|
@@ -14550,25 +14541,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
14550
14541
|
*
|
|
14551
14542
|
* @param {number} block
|
|
14552
14543
|
* @param {AccountId32Like | undefined} depositor
|
|
14553
|
-
* @param {
|
|
14544
|
+
* @param {number} paraId
|
|
14554
14545
|
**/
|
|
14555
14546
|
unreserveCrowdloanReserve: GenericTxCall<
|
|
14556
14547
|
Rv,
|
|
14557
14548
|
(
|
|
14558
14549
|
block: number,
|
|
14559
14550
|
depositor: AccountId32Like | undefined,
|
|
14560
|
-
paraId:
|
|
14551
|
+
paraId: number,
|
|
14561
14552
|
) => ChainSubmittableExtrinsic<
|
|
14562
14553
|
Rv,
|
|
14563
14554
|
{
|
|
14564
14555
|
pallet: 'AhOps';
|
|
14565
14556
|
palletCall: {
|
|
14566
14557
|
name: 'UnreserveCrowdloanReserve';
|
|
14567
|
-
params: {
|
|
14568
|
-
block: number;
|
|
14569
|
-
depositor: AccountId32Like | undefined;
|
|
14570
|
-
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
14571
|
-
};
|
|
14558
|
+
params: { block: number; depositor: AccountId32Like | undefined; paraId: number };
|
|
14572
14559
|
};
|
|
14573
14560
|
}
|
|
14574
14561
|
>
|
|
@@ -14602,6 +14589,36 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
14602
14589
|
>
|
|
14603
14590
|
>;
|
|
14604
14591
|
|
|
14592
|
+
/**
|
|
14593
|
+
* Try to migrate a parachain sovereign child account to its respective sibling.
|
|
14594
|
+
*
|
|
14595
|
+
* Takes the old and new account and migrates it only if they are as expected. An event of
|
|
14596
|
+
* `SovereignMigrated` will be emitted if the account was migrated successfully.
|
|
14597
|
+
*
|
|
14598
|
+
* Callable by any signed origin.
|
|
14599
|
+
*
|
|
14600
|
+
* @param {AccountId32Like} from
|
|
14601
|
+
* @param {AccountId32Like} to
|
|
14602
|
+
* @param {[AccountId32Like, number]} derivation
|
|
14603
|
+
**/
|
|
14604
|
+
migrateParachainSovereignDerivedAcc: GenericTxCall<
|
|
14605
|
+
Rv,
|
|
14606
|
+
(
|
|
14607
|
+
from: AccountId32Like,
|
|
14608
|
+
to: AccountId32Like,
|
|
14609
|
+
derivation: [AccountId32Like, number],
|
|
14610
|
+
) => ChainSubmittableExtrinsic<
|
|
14611
|
+
Rv,
|
|
14612
|
+
{
|
|
14613
|
+
pallet: 'AhOps';
|
|
14614
|
+
palletCall: {
|
|
14615
|
+
name: 'MigrateParachainSovereignDerivedAcc';
|
|
14616
|
+
params: { from: AccountId32Like; to: AccountId32Like; derivation: [AccountId32Like, number] };
|
|
14617
|
+
};
|
|
14618
|
+
}
|
|
14619
|
+
>
|
|
14620
|
+
>;
|
|
14621
|
+
|
|
14605
14622
|
/**
|
|
14606
14623
|
* Force unreserve a named or unnamed reserve.
|
|
14607
14624
|
*
|
|
@@ -17249,10 +17249,7 @@ export type PalletAhOpsCall =
|
|
|
17249
17249
|
*
|
|
17250
17250
|
* Solo bidder accounts that won lease auctions can use this to unreserve their amount.
|
|
17251
17251
|
**/
|
|
17252
|
-
| {
|
|
17253
|
-
name: 'UnreserveLeaseDeposit';
|
|
17254
|
-
params: { block: number; depositor?: AccountId32 | undefined; paraId: PolkadotParachainPrimitivesPrimitivesId };
|
|
17255
|
-
}
|
|
17252
|
+
| { name: 'UnreserveLeaseDeposit'; params: { block: number; depositor?: AccountId32 | undefined; paraId: number } }
|
|
17256
17253
|
/**
|
|
17257
17254
|
* Withdraw the contribution of a finished crowdloan.
|
|
17258
17255
|
*
|
|
@@ -17264,7 +17261,7 @@ export type PalletAhOpsCall =
|
|
|
17264
17261
|
**/
|
|
17265
17262
|
| {
|
|
17266
17263
|
name: 'WithdrawCrowdloanContribution';
|
|
17267
|
-
params: { block: number; depositor?: AccountId32 | undefined; paraId:
|
|
17264
|
+
params: { block: number; depositor?: AccountId32 | undefined; paraId: number };
|
|
17268
17265
|
}
|
|
17269
17266
|
/**
|
|
17270
17267
|
* Unreserve the deposit that was taken for creating a crowdloan.
|
|
@@ -17278,7 +17275,7 @@ export type PalletAhOpsCall =
|
|
|
17278
17275
|
**/
|
|
17279
17276
|
| {
|
|
17280
17277
|
name: 'UnreserveCrowdloanReserve';
|
|
17281
|
-
params: { block: number; depositor?: AccountId32 | undefined; paraId:
|
|
17278
|
+
params: { block: number; depositor?: AccountId32 | undefined; paraId: number };
|
|
17282
17279
|
}
|
|
17283
17280
|
/**
|
|
17284
17281
|
* Try to migrate a parachain sovereign child account to its respective sibling.
|
|
@@ -17289,6 +17286,18 @@ export type PalletAhOpsCall =
|
|
|
17289
17286
|
* Callable by any signed origin.
|
|
17290
17287
|
**/
|
|
17291
17288
|
| { name: 'MigrateParachainSovereignAcc'; params: { from: AccountId32; to: AccountId32 } }
|
|
17289
|
+
/**
|
|
17290
|
+
* Try to migrate a parachain sovereign child account to its respective sibling.
|
|
17291
|
+
*
|
|
17292
|
+
* Takes the old and new account and migrates it only if they are as expected. An event of
|
|
17293
|
+
* `SovereignMigrated` will be emitted if the account was migrated successfully.
|
|
17294
|
+
*
|
|
17295
|
+
* Callable by any signed origin.
|
|
17296
|
+
**/
|
|
17297
|
+
| {
|
|
17298
|
+
name: 'MigrateParachainSovereignDerivedAcc';
|
|
17299
|
+
params: { from: AccountId32; to: AccountId32; derivation: [AccountId32, number] };
|
|
17300
|
+
}
|
|
17292
17301
|
/**
|
|
17293
17302
|
* Force unreserve a named or unnamed reserve.
|
|
17294
17303
|
**/
|
|
@@ -17310,11 +17319,7 @@ export type PalletAhOpsCallLike =
|
|
|
17310
17319
|
**/
|
|
17311
17320
|
| {
|
|
17312
17321
|
name: 'UnreserveLeaseDeposit';
|
|
17313
|
-
params: {
|
|
17314
|
-
block: number;
|
|
17315
|
-
depositor?: AccountId32Like | undefined;
|
|
17316
|
-
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
17317
|
-
};
|
|
17322
|
+
params: { block: number; depositor?: AccountId32Like | undefined; paraId: number };
|
|
17318
17323
|
}
|
|
17319
17324
|
/**
|
|
17320
17325
|
* Withdraw the contribution of a finished crowdloan.
|
|
@@ -17327,11 +17332,7 @@ export type PalletAhOpsCallLike =
|
|
|
17327
17332
|
**/
|
|
17328
17333
|
| {
|
|
17329
17334
|
name: 'WithdrawCrowdloanContribution';
|
|
17330
|
-
params: {
|
|
17331
|
-
block: number;
|
|
17332
|
-
depositor?: AccountId32Like | undefined;
|
|
17333
|
-
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
17334
|
-
};
|
|
17335
|
+
params: { block: number; depositor?: AccountId32Like | undefined; paraId: number };
|
|
17335
17336
|
}
|
|
17336
17337
|
/**
|
|
17337
17338
|
* Unreserve the deposit that was taken for creating a crowdloan.
|
|
@@ -17345,11 +17346,7 @@ export type PalletAhOpsCallLike =
|
|
|
17345
17346
|
**/
|
|
17346
17347
|
| {
|
|
17347
17348
|
name: 'UnreserveCrowdloanReserve';
|
|
17348
|
-
params: {
|
|
17349
|
-
block: number;
|
|
17350
|
-
depositor?: AccountId32Like | undefined;
|
|
17351
|
-
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
17352
|
-
};
|
|
17349
|
+
params: { block: number; depositor?: AccountId32Like | undefined; paraId: number };
|
|
17353
17350
|
}
|
|
17354
17351
|
/**
|
|
17355
17352
|
* Try to migrate a parachain sovereign child account to its respective sibling.
|
|
@@ -17360,6 +17357,18 @@ export type PalletAhOpsCallLike =
|
|
|
17360
17357
|
* Callable by any signed origin.
|
|
17361
17358
|
**/
|
|
17362
17359
|
| { name: 'MigrateParachainSovereignAcc'; params: { from: AccountId32Like; to: AccountId32Like } }
|
|
17360
|
+
/**
|
|
17361
|
+
* Try to migrate a parachain sovereign child account to its respective sibling.
|
|
17362
|
+
*
|
|
17363
|
+
* Takes the old and new account and migrates it only if they are as expected. An event of
|
|
17364
|
+
* `SovereignMigrated` will be emitted if the account was migrated successfully.
|
|
17365
|
+
*
|
|
17366
|
+
* Callable by any signed origin.
|
|
17367
|
+
**/
|
|
17368
|
+
| {
|
|
17369
|
+
name: 'MigrateParachainSovereignDerivedAcc';
|
|
17370
|
+
params: { from: AccountId32Like; to: AccountId32Like; derivation: [AccountId32Like, number] };
|
|
17371
|
+
}
|
|
17363
17372
|
/**
|
|
17364
17373
|
* Force unreserve a named or unnamed reserve.
|
|
17365
17374
|
**/
|
|
@@ -18100,17 +18109,11 @@ export type PalletAhOpsEvent =
|
|
|
18100
18109
|
/**
|
|
18101
18110
|
* Some lease reserve could not be unreserved and needs manual cleanup.
|
|
18102
18111
|
**/
|
|
18103
|
-
| {
|
|
18104
|
-
name: 'LeaseUnreserveRemaining';
|
|
18105
|
-
data: { depositor: AccountId32; paraId: PolkadotParachainPrimitivesPrimitivesId; remaining: bigint };
|
|
18106
|
-
}
|
|
18112
|
+
| { name: 'LeaseUnreserveRemaining'; data: { depositor: AccountId32; paraId: number; remaining: bigint } }
|
|
18107
18113
|
/**
|
|
18108
18114
|
* Some amount for a crowdloan reserve could not be unreserved and needs manual cleanup.
|
|
18109
18115
|
**/
|
|
18110
|
-
| {
|
|
18111
|
-
name: 'CrowdloanUnreserveRemaining';
|
|
18112
|
-
data: { depositor: AccountId32; paraId: PolkadotParachainPrimitivesPrimitivesId; remaining: bigint };
|
|
18113
|
-
}
|
|
18116
|
+
| { name: 'CrowdloanUnreserveRemaining'; data: { depositor: AccountId32; paraId: number; remaining: bigint } }
|
|
18114
18117
|
/**
|
|
18115
18118
|
* A sovereign parachain account has been migrated from its child to sibling
|
|
18116
18119
|
* representation.
|
|
@@ -18121,7 +18124,7 @@ export type PalletAhOpsEvent =
|
|
|
18121
18124
|
/**
|
|
18122
18125
|
* The parachain ID that had its account migrated.
|
|
18123
18126
|
**/
|
|
18124
|
-
paraId:
|
|
18127
|
+
paraId: number;
|
|
18125
18128
|
|
|
18126
18129
|
/**
|
|
18127
18130
|
* The old account that was migrated out of.
|
|
@@ -18132,6 +18135,11 @@ export type PalletAhOpsEvent =
|
|
|
18132
18135
|
* The new account that was migrated into.
|
|
18133
18136
|
**/
|
|
18134
18137
|
to: AccountId32;
|
|
18138
|
+
|
|
18139
|
+
/**
|
|
18140
|
+
* Set if this account was derived from a para sovereign account.
|
|
18141
|
+
**/
|
|
18142
|
+
derivationIndex?: number | undefined;
|
|
18135
18143
|
};
|
|
18136
18144
|
}
|
|
18137
18145
|
/**
|
|
@@ -20973,6 +20981,10 @@ export type PalletAhOpsError =
|
|
|
20973
20981
|
* Passed account IDs are not matching unmigrated child and sibling accounts.
|
|
20974
20982
|
**/
|
|
20975
20983
|
| 'WrongSovereignTranslation'
|
|
20984
|
+
/**
|
|
20985
|
+
* The account is not a derived account.
|
|
20986
|
+
**/
|
|
20987
|
+
| 'WrongDerivedTranslation'
|
|
20976
20988
|
/**
|
|
20977
20989
|
* Account cannot be migrated since it is not a sovereign parachain account.
|
|
20978
20990
|
**/
|
|
@@ -21001,10 +21013,22 @@ export type PalletAhOpsError =
|
|
|
21001
21013
|
* Failed to set a freeze on an account.
|
|
21002
21014
|
**/
|
|
21003
21015
|
| 'FailedToSetFreeze'
|
|
21016
|
+
/**
|
|
21017
|
+
* Failed to transfer a balance.
|
|
21018
|
+
**/
|
|
21019
|
+
| 'FailedToTransfer'
|
|
21020
|
+
/**
|
|
21021
|
+
* Failed to reserve a balance.
|
|
21022
|
+
**/
|
|
21023
|
+
| 'FailedToReserve'
|
|
21004
21024
|
/**
|
|
21005
21025
|
* Failed to unreserve the full balance.
|
|
21006
21026
|
**/
|
|
21007
|
-
| 'CannotUnreserve'
|
|
21027
|
+
| 'CannotUnreserve'
|
|
21028
|
+
/**
|
|
21029
|
+
* The from and to accounts are identical.
|
|
21030
|
+
**/
|
|
21031
|
+
| 'AccountIdentical';
|
|
21008
21032
|
|
|
21009
21033
|
export type PalletAhMigratorBalancesBefore = { checkingAccount: bigint; totalIssuance: bigint };
|
|
21010
21034
|
|