@dedot/chaintypes 0.175.0 → 0.177.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 +2 -2
- package/paseo/index.d.ts +1 -1
- package/paseo-asset-hub/index.d.ts +1 -1
- package/paseo-people/index.d.ts +1 -1
- package/polkadot/consts.d.ts +18 -0
- package/polkadot/errors.d.ts +113 -0
- package/polkadot/events.d.ts +364 -0
- package/polkadot/index.d.ts +1 -1
- package/polkadot/query.d.ts +329 -0
- package/polkadot/runtime.d.ts +26 -0
- package/polkadot/tx.d.ts +432 -0
- package/polkadot/types.d.ts +905 -4
- package/polkadot-asset-hub/consts.d.ts +658 -2
- package/polkadot-asset-hub/errors.d.ts +1294 -20
- package/polkadot-asset-hub/events.d.ts +1916 -15
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/query.d.ts +1801 -25
- package/polkadot-asset-hub/runtime.d.ts +168 -0
- package/polkadot-asset-hub/tx.d.ts +10212 -4748
- package/polkadot-asset-hub/types.d.ts +9243 -1313
- package/polkadot-asset-hub/view-functions.d.ts +44 -0
- package/polkadot-people/index.d.ts +1 -1
- package/polkadot-people/runtime.d.ts +26 -0
- package/polkadot-people/types.d.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.177.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": "4c3b334cb8f5f577a10de5c825932c35d6ac92d7",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
package/paseo/index.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export interface VersionedPaseoAssetHubApi<Rv extends RpcVersion> extends Generi
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* @name: PaseoAssetHubApi
|
|
61
|
-
* @specVersion:
|
|
61
|
+
* @specVersion: 1009003
|
|
62
62
|
**/
|
|
63
63
|
export interface PaseoAssetHubApi {
|
|
64
64
|
legacy: VersionedPaseoAssetHubApi<RpcLegacy>;
|
package/paseo-people/index.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export interface VersionedPaseoPeopleApi<Rv extends RpcVersion> extends GenericS
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* @name: PaseoPeopleApi
|
|
61
|
-
* @specVersion:
|
|
61
|
+
* @specVersion: 1009003
|
|
62
62
|
**/
|
|
63
63
|
export interface PaseoPeopleApi {
|
|
64
64
|
legacy: VersionedPaseoPeopleApi<RpcLegacy>;
|
package/polkadot/consts.d.ts
CHANGED
|
@@ -946,6 +946,15 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
946
946
|
**/
|
|
947
947
|
[name: string]: any;
|
|
948
948
|
};
|
|
949
|
+
/**
|
|
950
|
+
* Pallet `StakingAhClient`'s constants
|
|
951
|
+
**/
|
|
952
|
+
stakingAhClient: {
|
|
953
|
+
/**
|
|
954
|
+
* Generic pallet constant
|
|
955
|
+
**/
|
|
956
|
+
[name: string]: any;
|
|
957
|
+
};
|
|
949
958
|
/**
|
|
950
959
|
* Pallet `ParachainsOrigin`'s constants
|
|
951
960
|
**/
|
|
@@ -1370,4 +1379,13 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1370
1379
|
**/
|
|
1371
1380
|
[name: string]: any;
|
|
1372
1381
|
};
|
|
1382
|
+
/**
|
|
1383
|
+
* Pallet `RcMigrator`'s constants
|
|
1384
|
+
**/
|
|
1385
|
+
rcMigrator: {
|
|
1386
|
+
/**
|
|
1387
|
+
* Generic pallet constant
|
|
1388
|
+
**/
|
|
1389
|
+
[name: string]: any;
|
|
1390
|
+
};
|
|
1373
1391
|
}
|
package/polkadot/errors.d.ts
CHANGED
|
@@ -1525,6 +1525,20 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1525
1525
|
**/
|
|
1526
1526
|
[error: string]: GenericPalletError<Rv>;
|
|
1527
1527
|
};
|
|
1528
|
+
/**
|
|
1529
|
+
* Pallet `StakingAhClient`'s errors
|
|
1530
|
+
**/
|
|
1531
|
+
stakingAhClient: {
|
|
1532
|
+
/**
|
|
1533
|
+
* Could not process incoming message because incoming messages are blocked.
|
|
1534
|
+
**/
|
|
1535
|
+
Blocked: GenericPalletError<Rv>;
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* Generic pallet error
|
|
1539
|
+
**/
|
|
1540
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1541
|
+
};
|
|
1528
1542
|
/**
|
|
1529
1543
|
* Pallet `Configuration`'s errors
|
|
1530
1544
|
**/
|
|
@@ -2618,6 +2632,105 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2618
2632
|
**/
|
|
2619
2633
|
InvalidConfiguration: GenericPalletError<Rv>;
|
|
2620
2634
|
|
|
2635
|
+
/**
|
|
2636
|
+
* Generic pallet error
|
|
2637
|
+
**/
|
|
2638
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2639
|
+
};
|
|
2640
|
+
/**
|
|
2641
|
+
* Pallet `RcMigrator`'s errors
|
|
2642
|
+
**/
|
|
2643
|
+
rcMigrator: {
|
|
2644
|
+
Unreachable: GenericPalletError<Rv>;
|
|
2645
|
+
OutOfWeight: GenericPalletError<Rv>;
|
|
2646
|
+
|
|
2647
|
+
/**
|
|
2648
|
+
* Failed to send XCM message to AH.
|
|
2649
|
+
**/
|
|
2650
|
+
XcmError: GenericPalletError<Rv>;
|
|
2651
|
+
|
|
2652
|
+
/**
|
|
2653
|
+
* Failed to withdraw account from RC for migration to AH.
|
|
2654
|
+
**/
|
|
2655
|
+
FailedToWithdrawAccount: GenericPalletError<Rv>;
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* Indicates that the specified block number is in the past.
|
|
2659
|
+
**/
|
|
2660
|
+
PastBlockNumber: GenericPalletError<Rv>;
|
|
2661
|
+
|
|
2662
|
+
/**
|
|
2663
|
+
* Indicates that there is not enough time for staking to lock.
|
|
2664
|
+
*
|
|
2665
|
+
* Schedule the migration at least two sessions before the current era ends.
|
|
2666
|
+
**/
|
|
2667
|
+
EraEndsTooSoon: GenericPalletError<Rv>;
|
|
2668
|
+
|
|
2669
|
+
/**
|
|
2670
|
+
* Balance accounting overflow.
|
|
2671
|
+
**/
|
|
2672
|
+
BalanceOverflow: GenericPalletError<Rv>;
|
|
2673
|
+
|
|
2674
|
+
/**
|
|
2675
|
+
* Balance accounting underflow.
|
|
2676
|
+
**/
|
|
2677
|
+
BalanceUnderflow: GenericPalletError<Rv>;
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* The query response is invalid.
|
|
2681
|
+
**/
|
|
2682
|
+
InvalidQueryResponse: GenericPalletError<Rv>;
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* The xcm query was not found.
|
|
2686
|
+
**/
|
|
2687
|
+
QueryNotFound: GenericPalletError<Rv>;
|
|
2688
|
+
|
|
2689
|
+
/**
|
|
2690
|
+
* Failed to send XCM message.
|
|
2691
|
+
**/
|
|
2692
|
+
XcmSendError: GenericPalletError<Rv>;
|
|
2693
|
+
|
|
2694
|
+
/**
|
|
2695
|
+
* The migration stage is not reachable from the current stage.
|
|
2696
|
+
**/
|
|
2697
|
+
UnreachableStage: GenericPalletError<Rv>;
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* Invalid parameter.
|
|
2701
|
+
**/
|
|
2702
|
+
InvalidParameter: GenericPalletError<Rv>;
|
|
2703
|
+
|
|
2704
|
+
/**
|
|
2705
|
+
* The AH UMP queue priority configuration is already set.
|
|
2706
|
+
**/
|
|
2707
|
+
AhUmpQueuePriorityAlreadySet: GenericPalletError<Rv>;
|
|
2708
|
+
|
|
2709
|
+
/**
|
|
2710
|
+
* The account is referenced by some other pallet. It might have freezes or holds.
|
|
2711
|
+
**/
|
|
2712
|
+
AccountReferenced: GenericPalletError<Rv>;
|
|
2713
|
+
|
|
2714
|
+
/**
|
|
2715
|
+
* The XCM version is invalid.
|
|
2716
|
+
**/
|
|
2717
|
+
BadXcmVersion: GenericPalletError<Rv>;
|
|
2718
|
+
|
|
2719
|
+
/**
|
|
2720
|
+
* The origin is invalid.
|
|
2721
|
+
**/
|
|
2722
|
+
InvalidOrigin: GenericPalletError<Rv>;
|
|
2723
|
+
|
|
2724
|
+
/**
|
|
2725
|
+
* The stage transition is invalid.
|
|
2726
|
+
**/
|
|
2727
|
+
InvalidStageTransition: GenericPalletError<Rv>;
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* Unsigned validation failed.
|
|
2731
|
+
**/
|
|
2732
|
+
UnsignedValidationFailed: GenericPalletError<Rv>;
|
|
2733
|
+
|
|
2621
2734
|
/**
|
|
2622
2735
|
* Generic pallet error
|
|
2623
2736
|
**/
|
package/polkadot/events.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ import type {
|
|
|
37
37
|
PalletNominationPoolsCommissionChangeRate,
|
|
38
38
|
PalletNominationPoolsCommissionClaimPermission,
|
|
39
39
|
PalletNominationPoolsClaimPermission,
|
|
40
|
+
PalletStakingAsyncAhClientUnexpectedKind,
|
|
40
41
|
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
41
42
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
42
43
|
PolkadotPrimitivesV8CoreIndex,
|
|
@@ -60,6 +61,10 @@ import type {
|
|
|
60
61
|
StagingXcmV5AssetAssets,
|
|
61
62
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
62
63
|
FrameSupportMessagesProcessMessageError,
|
|
64
|
+
PalletRcMigratorMigrationStage,
|
|
65
|
+
XcmV3MaybeErrorCode,
|
|
66
|
+
PalletRcMigratorQueuePriority,
|
|
67
|
+
PalletRcMigratorMigrationSettings,
|
|
63
68
|
} from './types.js';
|
|
64
69
|
|
|
65
70
|
export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
|
|
@@ -1968,6 +1973,45 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1968
1973
|
**/
|
|
1969
1974
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
1970
1975
|
};
|
|
1976
|
+
/**
|
|
1977
|
+
* Pallet `StakingAhClient`'s events
|
|
1978
|
+
**/
|
|
1979
|
+
stakingAhClient: {
|
|
1980
|
+
/**
|
|
1981
|
+
* A new validator set has been received.
|
|
1982
|
+
**/
|
|
1983
|
+
ValidatorSetReceived: GenericPalletEvent<
|
|
1984
|
+
Rv,
|
|
1985
|
+
'StakingAhClient',
|
|
1986
|
+
'ValidatorSetReceived',
|
|
1987
|
+
{ id: number; newValidatorSetCount: number; pruneUpTo?: number | undefined; leftover: boolean }
|
|
1988
|
+
>;
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* We could not merge, and therefore dropped a buffered message.
|
|
1992
|
+
*
|
|
1993
|
+
* Note that this event is more resembling an error, but we use an event because in this
|
|
1994
|
+
* pallet we need to mutate storage upon some failures.
|
|
1995
|
+
**/
|
|
1996
|
+
CouldNotMergeAndDropped: GenericPalletEvent<Rv, 'StakingAhClient', 'CouldNotMergeAndDropped', null>;
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* The validator set received is way too small, as per
|
|
2000
|
+
* [`Config::MinimumValidatorSetSize`].
|
|
2001
|
+
**/
|
|
2002
|
+
SetTooSmallAndDropped: GenericPalletEvent<Rv, 'StakingAhClient', 'SetTooSmallAndDropped', null>;
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* Something occurred that should never happen under normal operation. Logged as an event
|
|
2006
|
+
* for fail-safe observability.
|
|
2007
|
+
**/
|
|
2008
|
+
Unexpected: GenericPalletEvent<Rv, 'StakingAhClient', 'Unexpected', PalletStakingAsyncAhClientUnexpectedKind>;
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* Generic pallet event
|
|
2012
|
+
**/
|
|
2013
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
2014
|
+
};
|
|
1971
2015
|
/**
|
|
1972
2016
|
* Pallet `ParaInclusion`'s events
|
|
1973
2017
|
**/
|
|
@@ -3083,6 +3127,326 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3083
3127
|
{ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 }
|
|
3084
3128
|
>;
|
|
3085
3129
|
|
|
3130
|
+
/**
|
|
3131
|
+
* Generic pallet event
|
|
3132
|
+
**/
|
|
3133
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
3134
|
+
};
|
|
3135
|
+
/**
|
|
3136
|
+
* Pallet `RcMigrator`'s events
|
|
3137
|
+
**/
|
|
3138
|
+
rcMigrator: {
|
|
3139
|
+
/**
|
|
3140
|
+
* A stage transition has occurred.
|
|
3141
|
+
**/
|
|
3142
|
+
StageTransition: GenericPalletEvent<
|
|
3143
|
+
Rv,
|
|
3144
|
+
'RcMigrator',
|
|
3145
|
+
'StageTransition',
|
|
3146
|
+
{
|
|
3147
|
+
/**
|
|
3148
|
+
* The old stage before the transition.
|
|
3149
|
+
**/
|
|
3150
|
+
old: PalletRcMigratorMigrationStage;
|
|
3151
|
+
|
|
3152
|
+
/**
|
|
3153
|
+
* The new stage after the transition.
|
|
3154
|
+
**/
|
|
3155
|
+
new: PalletRcMigratorMigrationStage;
|
|
3156
|
+
}
|
|
3157
|
+
>;
|
|
3158
|
+
|
|
3159
|
+
/**
|
|
3160
|
+
* The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
|
|
3161
|
+
* emitted.
|
|
3162
|
+
*
|
|
3163
|
+
* This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
|
|
3164
|
+
* to understand. The activation is immediate and affects all events happening
|
|
3165
|
+
* afterwards.
|
|
3166
|
+
**/
|
|
3167
|
+
AssetHubMigrationStarted: GenericPalletEvent<Rv, 'RcMigrator', 'AssetHubMigrationStarted', null>;
|
|
3168
|
+
|
|
3169
|
+
/**
|
|
3170
|
+
* The Asset Hub Migration finished.
|
|
3171
|
+
*
|
|
3172
|
+
* This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
|
|
3173
|
+
* to understand. The finishing is immediate and affects all events happening
|
|
3174
|
+
* afterwards.
|
|
3175
|
+
**/
|
|
3176
|
+
AssetHubMigrationFinished: GenericPalletEvent<Rv, 'RcMigrator', 'AssetHubMigrationFinished', null>;
|
|
3177
|
+
|
|
3178
|
+
/**
|
|
3179
|
+
* A query response has been received.
|
|
3180
|
+
**/
|
|
3181
|
+
QueryResponseReceived: GenericPalletEvent<
|
|
3182
|
+
Rv,
|
|
3183
|
+
'RcMigrator',
|
|
3184
|
+
'QueryResponseReceived',
|
|
3185
|
+
{
|
|
3186
|
+
/**
|
|
3187
|
+
* The query ID.
|
|
3188
|
+
**/
|
|
3189
|
+
queryId: bigint;
|
|
3190
|
+
|
|
3191
|
+
/**
|
|
3192
|
+
* The response.
|
|
3193
|
+
**/
|
|
3194
|
+
response: XcmV3MaybeErrorCode;
|
|
3195
|
+
}
|
|
3196
|
+
>;
|
|
3197
|
+
|
|
3198
|
+
/**
|
|
3199
|
+
* A XCM message has been resent.
|
|
3200
|
+
**/
|
|
3201
|
+
XcmResendAttempt: GenericPalletEvent<
|
|
3202
|
+
Rv,
|
|
3203
|
+
'RcMigrator',
|
|
3204
|
+
'XcmResendAttempt',
|
|
3205
|
+
{
|
|
3206
|
+
/**
|
|
3207
|
+
* The query ID.
|
|
3208
|
+
**/
|
|
3209
|
+
queryId: bigint;
|
|
3210
|
+
|
|
3211
|
+
/**
|
|
3212
|
+
* The error message.
|
|
3213
|
+
**/
|
|
3214
|
+
sendError?: XcmV3TraitsSendError | undefined;
|
|
3215
|
+
}
|
|
3216
|
+
>;
|
|
3217
|
+
|
|
3218
|
+
/**
|
|
3219
|
+
* The unprocessed message buffer size has been set.
|
|
3220
|
+
**/
|
|
3221
|
+
UnprocessedMsgBufferSet: GenericPalletEvent<
|
|
3222
|
+
Rv,
|
|
3223
|
+
'RcMigrator',
|
|
3224
|
+
'UnprocessedMsgBufferSet',
|
|
3225
|
+
{
|
|
3226
|
+
/**
|
|
3227
|
+
* The new size.
|
|
3228
|
+
**/
|
|
3229
|
+
new: number;
|
|
3230
|
+
|
|
3231
|
+
/**
|
|
3232
|
+
* The old size.
|
|
3233
|
+
**/
|
|
3234
|
+
old: number;
|
|
3235
|
+
}
|
|
3236
|
+
>;
|
|
3237
|
+
|
|
3238
|
+
/**
|
|
3239
|
+
* Whether the AH UMP queue was prioritized for the next block.
|
|
3240
|
+
**/
|
|
3241
|
+
AhUmpQueuePrioritySet: GenericPalletEvent<
|
|
3242
|
+
Rv,
|
|
3243
|
+
'RcMigrator',
|
|
3244
|
+
'AhUmpQueuePrioritySet',
|
|
3245
|
+
{
|
|
3246
|
+
/**
|
|
3247
|
+
* Indicates if AH UMP queue was successfully set as priority.
|
|
3248
|
+
* If `false`, it means we're in the round-robin phase of our priority pattern
|
|
3249
|
+
* (see [`Config::AhUmpQueuePriorityPattern`]), where no queue gets priority.
|
|
3250
|
+
**/
|
|
3251
|
+
prioritized: boolean;
|
|
3252
|
+
|
|
3253
|
+
/**
|
|
3254
|
+
* Current block number within the pattern cycle (1 to period).
|
|
3255
|
+
**/
|
|
3256
|
+
cycleBlock: number;
|
|
3257
|
+
|
|
3258
|
+
/**
|
|
3259
|
+
* Total number of blocks in the pattern cycle
|
|
3260
|
+
**/
|
|
3261
|
+
cyclePeriod: number;
|
|
3262
|
+
}
|
|
3263
|
+
>;
|
|
3264
|
+
|
|
3265
|
+
/**
|
|
3266
|
+
* The AH UMP queue priority config was set.
|
|
3267
|
+
**/
|
|
3268
|
+
AhUmpQueuePriorityConfigSet: GenericPalletEvent<
|
|
3269
|
+
Rv,
|
|
3270
|
+
'RcMigrator',
|
|
3271
|
+
'AhUmpQueuePriorityConfigSet',
|
|
3272
|
+
{
|
|
3273
|
+
/**
|
|
3274
|
+
* The old priority pattern.
|
|
3275
|
+
**/
|
|
3276
|
+
old: PalletRcMigratorQueuePriority;
|
|
3277
|
+
|
|
3278
|
+
/**
|
|
3279
|
+
* The new priority pattern.
|
|
3280
|
+
**/
|
|
3281
|
+
new: PalletRcMigratorQueuePriority;
|
|
3282
|
+
}
|
|
3283
|
+
>;
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* The total issuance was recorded.
|
|
3287
|
+
**/
|
|
3288
|
+
MigratedBalanceRecordSet: GenericPalletEvent<
|
|
3289
|
+
Rv,
|
|
3290
|
+
'RcMigrator',
|
|
3291
|
+
'MigratedBalanceRecordSet',
|
|
3292
|
+
{ kept: bigint; migrated: bigint }
|
|
3293
|
+
>;
|
|
3294
|
+
|
|
3295
|
+
/**
|
|
3296
|
+
* The RC kept balance was consumed.
|
|
3297
|
+
**/
|
|
3298
|
+
MigratedBalanceConsumed: GenericPalletEvent<
|
|
3299
|
+
Rv,
|
|
3300
|
+
'RcMigrator',
|
|
3301
|
+
'MigratedBalanceConsumed',
|
|
3302
|
+
{ kept: bigint; migrated: bigint }
|
|
3303
|
+
>;
|
|
3304
|
+
|
|
3305
|
+
/**
|
|
3306
|
+
* The manager account id was set.
|
|
3307
|
+
**/
|
|
3308
|
+
ManagerSet: GenericPalletEvent<
|
|
3309
|
+
Rv,
|
|
3310
|
+
'RcMigrator',
|
|
3311
|
+
'ManagerSet',
|
|
3312
|
+
{
|
|
3313
|
+
/**
|
|
3314
|
+
* The old manager account id.
|
|
3315
|
+
**/
|
|
3316
|
+
old?: AccountId32 | undefined;
|
|
3317
|
+
|
|
3318
|
+
/**
|
|
3319
|
+
* The new manager account id.
|
|
3320
|
+
**/
|
|
3321
|
+
new?: AccountId32 | undefined;
|
|
3322
|
+
}
|
|
3323
|
+
>;
|
|
3324
|
+
|
|
3325
|
+
/**
|
|
3326
|
+
* An XCM message was sent.
|
|
3327
|
+
**/
|
|
3328
|
+
XcmSent: GenericPalletEvent<
|
|
3329
|
+
Rv,
|
|
3330
|
+
'RcMigrator',
|
|
3331
|
+
'XcmSent',
|
|
3332
|
+
{
|
|
3333
|
+
origin: StagingXcmV5Location;
|
|
3334
|
+
destination: StagingXcmV5Location;
|
|
3335
|
+
message: StagingXcmV5Xcm;
|
|
3336
|
+
messageId: FixedBytes<32>;
|
|
3337
|
+
}
|
|
3338
|
+
>;
|
|
3339
|
+
|
|
3340
|
+
/**
|
|
3341
|
+
* The staking elections were paused.
|
|
3342
|
+
**/
|
|
3343
|
+
StakingElectionsPaused: GenericPalletEvent<Rv, 'RcMigrator', 'StakingElectionsPaused', null>;
|
|
3344
|
+
|
|
3345
|
+
/**
|
|
3346
|
+
* The accounts to be preserved on Relay Chain were set.
|
|
3347
|
+
**/
|
|
3348
|
+
AccountsPreserved: GenericPalletEvent<
|
|
3349
|
+
Rv,
|
|
3350
|
+
'RcMigrator',
|
|
3351
|
+
'AccountsPreserved',
|
|
3352
|
+
{
|
|
3353
|
+
/**
|
|
3354
|
+
* The accounts that will be preserved.
|
|
3355
|
+
**/
|
|
3356
|
+
accounts: Array<AccountId32>;
|
|
3357
|
+
}
|
|
3358
|
+
>;
|
|
3359
|
+
|
|
3360
|
+
/**
|
|
3361
|
+
* The canceller account id was set.
|
|
3362
|
+
**/
|
|
3363
|
+
CancellerSet: GenericPalletEvent<
|
|
3364
|
+
Rv,
|
|
3365
|
+
'RcMigrator',
|
|
3366
|
+
'CancellerSet',
|
|
3367
|
+
{
|
|
3368
|
+
/**
|
|
3369
|
+
* The old canceller account id.
|
|
3370
|
+
**/
|
|
3371
|
+
old?: AccountId32 | undefined;
|
|
3372
|
+
|
|
3373
|
+
/**
|
|
3374
|
+
* The new canceller account id.
|
|
3375
|
+
**/
|
|
3376
|
+
new?: AccountId32 | undefined;
|
|
3377
|
+
}
|
|
3378
|
+
>;
|
|
3379
|
+
|
|
3380
|
+
/**
|
|
3381
|
+
* The migration was paused.
|
|
3382
|
+
**/
|
|
3383
|
+
MigrationPaused: GenericPalletEvent<
|
|
3384
|
+
Rv,
|
|
3385
|
+
'RcMigrator',
|
|
3386
|
+
'MigrationPaused',
|
|
3387
|
+
{
|
|
3388
|
+
/**
|
|
3389
|
+
* The stage at which the migration was paused.
|
|
3390
|
+
**/
|
|
3391
|
+
pauseStage: PalletRcMigratorMigrationStage;
|
|
3392
|
+
}
|
|
3393
|
+
>;
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* The migration was cancelled.
|
|
3397
|
+
**/
|
|
3398
|
+
MigrationCancelled: GenericPalletEvent<Rv, 'RcMigrator', 'MigrationCancelled', null>;
|
|
3399
|
+
|
|
3400
|
+
/**
|
|
3401
|
+
* Some pure accounts were indexed for possibly receiving free `Any` proxies.
|
|
3402
|
+
**/
|
|
3403
|
+
PureAccountsIndexed: GenericPalletEvent<
|
|
3404
|
+
Rv,
|
|
3405
|
+
'RcMigrator',
|
|
3406
|
+
'PureAccountsIndexed',
|
|
3407
|
+
{
|
|
3408
|
+
/**
|
|
3409
|
+
* The number of indexed pure accounts.
|
|
3410
|
+
**/
|
|
3411
|
+
numPureAccounts: number;
|
|
3412
|
+
}
|
|
3413
|
+
>;
|
|
3414
|
+
|
|
3415
|
+
/**
|
|
3416
|
+
* The manager multisig dispatched something.
|
|
3417
|
+
**/
|
|
3418
|
+
ManagerMultisigDispatched: GenericPalletEvent<
|
|
3419
|
+
Rv,
|
|
3420
|
+
'RcMigrator',
|
|
3421
|
+
'ManagerMultisigDispatched',
|
|
3422
|
+
{ res: Result<[], DispatchError> }
|
|
3423
|
+
>;
|
|
3424
|
+
|
|
3425
|
+
/**
|
|
3426
|
+
* The manager multisig received a vote.
|
|
3427
|
+
**/
|
|
3428
|
+
ManagerMultisigVoted: GenericPalletEvent<Rv, 'RcMigrator', 'ManagerMultisigVoted', { votes: number }>;
|
|
3429
|
+
|
|
3430
|
+
/**
|
|
3431
|
+
* The migration settings were set.
|
|
3432
|
+
**/
|
|
3433
|
+
MigrationSettingsSet: GenericPalletEvent<
|
|
3434
|
+
Rv,
|
|
3435
|
+
'RcMigrator',
|
|
3436
|
+
'MigrationSettingsSet',
|
|
3437
|
+
{
|
|
3438
|
+
/**
|
|
3439
|
+
* The old migration settings.
|
|
3440
|
+
**/
|
|
3441
|
+
old?: PalletRcMigratorMigrationSettings | undefined;
|
|
3442
|
+
|
|
3443
|
+
/**
|
|
3444
|
+
* The new migration settings.
|
|
3445
|
+
**/
|
|
3446
|
+
new?: PalletRcMigratorMigrationSettings | undefined;
|
|
3447
|
+
}
|
|
3448
|
+
>;
|
|
3449
|
+
|
|
3086
3450
|
/**
|
|
3087
3451
|
* Generic pallet event
|
|
3088
3452
|
**/
|
package/polkadot/index.d.ts
CHANGED