@dedot/chaintypes 0.232.0 → 0.233.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/consts.d.ts +87 -18
- package/paseo/errors.d.ts +187 -30
- package/paseo/events.d.ts +676 -80
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +465 -71
- package/paseo/runtime.d.ts +85 -39
- package/paseo/tx.d.ts +1012 -165
- package/paseo/types.d.ts +8081 -6364
- package/paseo/view-functions.d.ts +75 -1
package/paseo/events.d.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import type { GenericChainEvents, GenericPalletEvent } from 'dedot/types';
|
|
4
4
|
import type {
|
|
5
|
-
DispatchInfo,
|
|
6
5
|
DispatchError,
|
|
7
6
|
AccountId32,
|
|
8
7
|
H256,
|
|
@@ -14,7 +13,9 @@ import type {
|
|
|
14
13
|
FixedU128,
|
|
15
14
|
} from 'dedot/codecs';
|
|
16
15
|
import type {
|
|
16
|
+
FrameSystemDispatchEventInfo,
|
|
17
17
|
FrameSupportTokensMiscBalanceStatus,
|
|
18
|
+
PalletBalancesUnexpectedKind,
|
|
18
19
|
PalletStakingRewardDestination,
|
|
19
20
|
PalletStakingValidatorPrefs,
|
|
20
21
|
PalletStakingForcing,
|
|
@@ -26,9 +27,8 @@ import type {
|
|
|
26
27
|
PalletConvictionVotingTally,
|
|
27
28
|
FrameSupportDispatchPostDispatchInfo,
|
|
28
29
|
SpRuntimeDispatchErrorWithPostInfo,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
PaseoRuntimeProxyType,
|
|
30
|
+
PaseoRuntimeConstantsProxyProxyType,
|
|
31
|
+
PalletProxyDepositKind,
|
|
32
32
|
PalletMultisigTimepoint,
|
|
33
33
|
PalletElectionProviderMultiPhaseElectionCompute,
|
|
34
34
|
SpNposElectionsElectionScore,
|
|
@@ -36,7 +36,9 @@ import type {
|
|
|
36
36
|
PalletNominationPoolsPoolState,
|
|
37
37
|
PalletNominationPoolsCommissionChangeRate,
|
|
38
38
|
PalletNominationPoolsCommissionClaimPermission,
|
|
39
|
-
|
|
39
|
+
PalletNominationPoolsClaimPermission,
|
|
40
|
+
PalletStakingAsyncAhClientUnexpectedKind,
|
|
41
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
40
42
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
41
43
|
PolkadotPrimitivesV8CoreIndex,
|
|
42
44
|
PolkadotPrimitivesV8GroupIndex,
|
|
@@ -48,16 +50,21 @@ import type {
|
|
|
48
50
|
PolkadotRuntimeParachainsDisputesDisputeResult,
|
|
49
51
|
PalletStateTrieMigrationMigrationCompute,
|
|
50
52
|
PalletStateTrieMigrationError,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
StagingXcmV5TraitsOutcome,
|
|
54
|
+
StagingXcmV5Location,
|
|
55
|
+
StagingXcmV5Xcm,
|
|
56
|
+
XcmV3TraitsSendError,
|
|
57
|
+
XcmV5TraitsError,
|
|
58
|
+
StagingXcmV5Response,
|
|
55
59
|
SpWeightsWeightV2Weight,
|
|
56
60
|
XcmVersionedAssets,
|
|
57
|
-
|
|
58
|
-
XcmV3TraitsError,
|
|
61
|
+
StagingXcmV5AssetAssets,
|
|
59
62
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
60
63
|
FrameSupportMessagesProcessMessageError,
|
|
64
|
+
PalletRcMigratorMigrationStage,
|
|
65
|
+
XcmV3MaybeErrorCode,
|
|
66
|
+
PalletRcMigratorQueuePriority,
|
|
67
|
+
PalletRcMigratorMigrationSettings,
|
|
61
68
|
} from './types.js';
|
|
62
69
|
|
|
63
70
|
export interface ChainEvents extends GenericChainEvents {
|
|
@@ -68,7 +75,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
68
75
|
/**
|
|
69
76
|
* An extrinsic completed successfully.
|
|
70
77
|
**/
|
|
71
|
-
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo:
|
|
78
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: FrameSystemDispatchEventInfo }>;
|
|
72
79
|
|
|
73
80
|
/**
|
|
74
81
|
* An extrinsic failed.
|
|
@@ -76,7 +83,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
76
83
|
ExtrinsicFailed: GenericPalletEvent<
|
|
77
84
|
'System',
|
|
78
85
|
'ExtrinsicFailed',
|
|
79
|
-
{ dispatchError: DispatchError; dispatchInfo:
|
|
86
|
+
{ dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
|
|
80
87
|
>;
|
|
81
88
|
|
|
82
89
|
/**
|
|
@@ -104,6 +111,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
104
111
|
**/
|
|
105
112
|
UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
106
113
|
|
|
114
|
+
/**
|
|
115
|
+
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
116
|
+
**/
|
|
117
|
+
RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
|
|
118
|
+
'System',
|
|
119
|
+
'RejectedInvalidAuthorizedUpgrade',
|
|
120
|
+
{ codeHash: H256; error: DispatchError }
|
|
121
|
+
>;
|
|
122
|
+
|
|
107
123
|
/**
|
|
108
124
|
* Generic pallet event
|
|
109
125
|
**/
|
|
@@ -187,6 +203,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
187
203
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
188
204
|
>;
|
|
189
205
|
|
|
206
|
+
/**
|
|
207
|
+
* Agenda is incomplete from `when`.
|
|
208
|
+
**/
|
|
209
|
+
AgendaIncomplete: GenericPalletEvent<'Scheduler', 'AgendaIncomplete', { when: number }>;
|
|
210
|
+
|
|
190
211
|
/**
|
|
191
212
|
* Generic pallet event
|
|
192
213
|
**/
|
|
@@ -235,6 +256,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
235
256
|
**/
|
|
236
257
|
IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
|
|
237
258
|
|
|
259
|
+
/**
|
|
260
|
+
* A deposit to reserve an index has been poked/reconsidered.
|
|
261
|
+
**/
|
|
262
|
+
DepositPoked: GenericPalletEvent<
|
|
263
|
+
'Indices',
|
|
264
|
+
'DepositPoked',
|
|
265
|
+
{ who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint }
|
|
266
|
+
>;
|
|
267
|
+
|
|
238
268
|
/**
|
|
239
269
|
* Generic pallet event
|
|
240
270
|
**/
|
|
@@ -360,6 +390,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
360
390
|
**/
|
|
361
391
|
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
362
392
|
|
|
393
|
+
/**
|
|
394
|
+
* An unexpected/defensive event was triggered.
|
|
395
|
+
**/
|
|
396
|
+
Unexpected: GenericPalletEvent<'Balances', 'Unexpected', PalletBalancesUnexpectedKind>;
|
|
397
|
+
|
|
363
398
|
/**
|
|
364
399
|
* Generic pallet event
|
|
365
400
|
**/
|
|
@@ -464,9 +499,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
464
499
|
Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
|
|
465
500
|
|
|
466
501
|
/**
|
|
467
|
-
*
|
|
502
|
+
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
|
468
503
|
**/
|
|
469
|
-
PayoutStarted: GenericPalletEvent<
|
|
504
|
+
PayoutStarted: GenericPalletEvent<
|
|
505
|
+
'Staking',
|
|
506
|
+
'PayoutStarted',
|
|
507
|
+
{ eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined }
|
|
508
|
+
>;
|
|
470
509
|
|
|
471
510
|
/**
|
|
472
511
|
* A validator has set their preferences.
|
|
@@ -497,6 +536,12 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
497
536
|
**/
|
|
498
537
|
ControllerBatchDeprecated: GenericPalletEvent<'Staking', 'ControllerBatchDeprecated', { failures: number }>;
|
|
499
538
|
|
|
539
|
+
/**
|
|
540
|
+
* Staking balance migrated from locks to holds, with any balance that could not be held
|
|
541
|
+
* is force withdrawn.
|
|
542
|
+
**/
|
|
543
|
+
CurrencyMigrated: GenericPalletEvent<'Staking', 'CurrencyMigrated', { stash: AccountId32; forceWithdraw: bigint }>;
|
|
544
|
+
|
|
500
545
|
/**
|
|
501
546
|
* Generic pallet event
|
|
502
547
|
**/
|
|
@@ -518,6 +563,25 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
518
563
|
**/
|
|
519
564
|
[prop: string]: GenericPalletEvent;
|
|
520
565
|
};
|
|
566
|
+
/**
|
|
567
|
+
* Pallet `Historical`'s events
|
|
568
|
+
**/
|
|
569
|
+
historical: {
|
|
570
|
+
/**
|
|
571
|
+
* The merkle root of the validators of the said session were stored
|
|
572
|
+
**/
|
|
573
|
+
RootStored: GenericPalletEvent<'Historical', 'RootStored', { index: number }>;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* The merkle roots of up to this session index were pruned
|
|
577
|
+
**/
|
|
578
|
+
RootsPruned: GenericPalletEvent<'Historical', 'RootsPruned', { upTo: number }>;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Generic pallet event
|
|
582
|
+
**/
|
|
583
|
+
[prop: string]: GenericPalletEvent;
|
|
584
|
+
};
|
|
521
585
|
/**
|
|
522
586
|
* Pallet `Session`'s events
|
|
523
587
|
**/
|
|
@@ -528,6 +592,22 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
528
592
|
**/
|
|
529
593
|
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
530
594
|
|
|
595
|
+
/**
|
|
596
|
+
* The `NewSession` event in the current block also implies a new validator set to be
|
|
597
|
+
* queued.
|
|
598
|
+
**/
|
|
599
|
+
NewQueued: GenericPalletEvent<'Session', 'NewQueued', null>;
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Validator has been disabled.
|
|
603
|
+
**/
|
|
604
|
+
ValidatorDisabled: GenericPalletEvent<'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Validator has been re-enabled.
|
|
608
|
+
**/
|
|
609
|
+
ValidatorReenabled: GenericPalletEvent<'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
|
|
610
|
+
|
|
531
611
|
/**
|
|
532
612
|
* Generic pallet event
|
|
533
613
|
**/
|
|
@@ -661,7 +741,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
661
741
|
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
|
|
662
742
|
|
|
663
743
|
/**
|
|
664
|
-
* An account
|
|
744
|
+
* An account has voted
|
|
665
745
|
**/
|
|
666
746
|
Voted: GenericPalletEvent<
|
|
667
747
|
'ConvictionVoting',
|
|
@@ -670,7 +750,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
670
750
|
>;
|
|
671
751
|
|
|
672
752
|
/**
|
|
673
|
-
* A vote
|
|
753
|
+
* A vote has been removed
|
|
674
754
|
**/
|
|
675
755
|
VoteRemoved: GenericPalletEvent<
|
|
676
756
|
'ConvictionVoting',
|
|
@@ -678,6 +758,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
678
758
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
679
759
|
>;
|
|
680
760
|
|
|
761
|
+
/**
|
|
762
|
+
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
|
763
|
+
**/
|
|
764
|
+
VoteUnlocked: GenericPalletEvent<'ConvictionVoting', 'VoteUnlocked', { who: AccountId32; class: number }>;
|
|
765
|
+
|
|
681
766
|
/**
|
|
682
767
|
* Generic pallet event
|
|
683
768
|
**/
|
|
@@ -1020,41 +1105,6 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1020
1105
|
**/
|
|
1021
1106
|
[prop: string]: GenericPalletEvent;
|
|
1022
1107
|
};
|
|
1023
|
-
/**
|
|
1024
|
-
* Pallet `Parameters`'s events
|
|
1025
|
-
**/
|
|
1026
|
-
parameters: {
|
|
1027
|
-
/**
|
|
1028
|
-
* A Parameter was set.
|
|
1029
|
-
*
|
|
1030
|
-
* Is also emitted when the value was not changed.
|
|
1031
|
-
**/
|
|
1032
|
-
Updated: GenericPalletEvent<
|
|
1033
|
-
'Parameters',
|
|
1034
|
-
'Updated',
|
|
1035
|
-
{
|
|
1036
|
-
/**
|
|
1037
|
-
* The key that was updated.
|
|
1038
|
-
**/
|
|
1039
|
-
key: PaseoRuntimeRuntimeParametersKey;
|
|
1040
|
-
|
|
1041
|
-
/**
|
|
1042
|
-
* The old value before this call.
|
|
1043
|
-
**/
|
|
1044
|
-
oldValue?: PaseoRuntimeRuntimeParametersValue | undefined;
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* The new value after this call.
|
|
1048
|
-
**/
|
|
1049
|
-
newValue?: PaseoRuntimeRuntimeParametersValue | undefined;
|
|
1050
|
-
}
|
|
1051
|
-
>;
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
* Generic pallet event
|
|
1055
|
-
**/
|
|
1056
|
-
[prop: string]: GenericPalletEvent;
|
|
1057
|
-
};
|
|
1058
1108
|
/**
|
|
1059
1109
|
* Pallet `Claims`'s events
|
|
1060
1110
|
**/
|
|
@@ -1077,6 +1127,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1077
1127
|
* Pallet `Vesting`'s events
|
|
1078
1128
|
**/
|
|
1079
1129
|
vesting: {
|
|
1130
|
+
/**
|
|
1131
|
+
* A vesting schedule has been created.
|
|
1132
|
+
**/
|
|
1133
|
+
VestingCreated: GenericPalletEvent<'Vesting', 'VestingCreated', { account: AccountId32; scheduleIndex: number }>;
|
|
1134
|
+
|
|
1080
1135
|
/**
|
|
1081
1136
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
1082
1137
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
@@ -1128,6 +1183,16 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1128
1183
|
**/
|
|
1129
1184
|
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
1130
1185
|
|
|
1186
|
+
/**
|
|
1187
|
+
* Main call was dispatched.
|
|
1188
|
+
**/
|
|
1189
|
+
IfElseMainSuccess: GenericPalletEvent<'Utility', 'IfElseMainSuccess', null>;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* The fallback call was dispatched.
|
|
1193
|
+
**/
|
|
1194
|
+
IfElseFallbackCalled: GenericPalletEvent<'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
|
|
1195
|
+
|
|
1131
1196
|
/**
|
|
1132
1197
|
* Generic pallet event
|
|
1133
1198
|
**/
|
|
@@ -1149,7 +1214,26 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1149
1214
|
PureCreated: GenericPalletEvent<
|
|
1150
1215
|
'Proxy',
|
|
1151
1216
|
'PureCreated',
|
|
1152
|
-
{
|
|
1217
|
+
{
|
|
1218
|
+
pure: AccountId32;
|
|
1219
|
+
who: AccountId32;
|
|
1220
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
1221
|
+
disambiguationIndex: number;
|
|
1222
|
+
}
|
|
1223
|
+
>;
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* A pure proxy was killed by its spawner.
|
|
1227
|
+
**/
|
|
1228
|
+
PureKilled: GenericPalletEvent<
|
|
1229
|
+
'Proxy',
|
|
1230
|
+
'PureKilled',
|
|
1231
|
+
{
|
|
1232
|
+
pure: AccountId32;
|
|
1233
|
+
spawner: AccountId32;
|
|
1234
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
1235
|
+
disambiguationIndex: number;
|
|
1236
|
+
}
|
|
1153
1237
|
>;
|
|
1154
1238
|
|
|
1155
1239
|
/**
|
|
@@ -1163,7 +1247,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1163
1247
|
ProxyAdded: GenericPalletEvent<
|
|
1164
1248
|
'Proxy',
|
|
1165
1249
|
'ProxyAdded',
|
|
1166
|
-
{ delegator: AccountId32; delegatee: AccountId32; proxyType:
|
|
1250
|
+
{ delegator: AccountId32; delegatee: AccountId32; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number }
|
|
1167
1251
|
>;
|
|
1168
1252
|
|
|
1169
1253
|
/**
|
|
@@ -1172,7 +1256,16 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1172
1256
|
ProxyRemoved: GenericPalletEvent<
|
|
1173
1257
|
'Proxy',
|
|
1174
1258
|
'ProxyRemoved',
|
|
1175
|
-
{ delegator: AccountId32; delegatee: AccountId32; proxyType:
|
|
1259
|
+
{ delegator: AccountId32; delegatee: AccountId32; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number }
|
|
1260
|
+
>;
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* A deposit stored for proxies or announcements was poked / updated.
|
|
1264
|
+
**/
|
|
1265
|
+
DepositPoked: GenericPalletEvent<
|
|
1266
|
+
'Proxy',
|
|
1267
|
+
'DepositPoked',
|
|
1268
|
+
{ who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
|
|
1176
1269
|
>;
|
|
1177
1270
|
|
|
1178
1271
|
/**
|
|
@@ -1226,6 +1319,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1226
1319
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
1227
1320
|
>;
|
|
1228
1321
|
|
|
1322
|
+
/**
|
|
1323
|
+
* The deposit for a multisig operation has been updated/poked.
|
|
1324
|
+
**/
|
|
1325
|
+
DepositPoked: GenericPalletEvent<
|
|
1326
|
+
'Multisig',
|
|
1327
|
+
'DepositPoked',
|
|
1328
|
+
{ who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
|
|
1329
|
+
>;
|
|
1330
|
+
|
|
1229
1331
|
/**
|
|
1230
1332
|
* Generic pallet event
|
|
1231
1333
|
**/
|
|
@@ -1294,6 +1396,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1294
1396
|
**/
|
|
1295
1397
|
CuratorAccepted: GenericPalletEvent<'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
|
|
1296
1398
|
|
|
1399
|
+
/**
|
|
1400
|
+
* A bounty deposit has been poked.
|
|
1401
|
+
**/
|
|
1402
|
+
DepositPoked: GenericPalletEvent<
|
|
1403
|
+
'Bounties',
|
|
1404
|
+
'DepositPoked',
|
|
1405
|
+
{ bountyId: number; proposer: AccountId32; oldDeposit: bigint; newDeposit: bigint }
|
|
1406
|
+
>;
|
|
1407
|
+
|
|
1297
1408
|
/**
|
|
1298
1409
|
* Generic pallet event
|
|
1299
1410
|
**/
|
|
@@ -1588,6 +1699,55 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1588
1699
|
{ poolId: number; amount: bigint }
|
|
1589
1700
|
>;
|
|
1590
1701
|
|
|
1702
|
+
/**
|
|
1703
|
+
* A pool member's claim permission has been updated.
|
|
1704
|
+
**/
|
|
1705
|
+
MemberClaimPermissionUpdated: GenericPalletEvent<
|
|
1706
|
+
'NominationPools',
|
|
1707
|
+
'MemberClaimPermissionUpdated',
|
|
1708
|
+
{ member: AccountId32; permission: PalletNominationPoolsClaimPermission }
|
|
1709
|
+
>;
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* A pool's metadata was updated.
|
|
1713
|
+
**/
|
|
1714
|
+
MetadataUpdated: GenericPalletEvent<'NominationPools', 'MetadataUpdated', { poolId: number; caller: AccountId32 }>;
|
|
1715
|
+
|
|
1716
|
+
/**
|
|
1717
|
+
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
|
1718
|
+
* on behalf of the pool.
|
|
1719
|
+
**/
|
|
1720
|
+
PoolNominationMade: GenericPalletEvent<
|
|
1721
|
+
'NominationPools',
|
|
1722
|
+
'PoolNominationMade',
|
|
1723
|
+
{ poolId: number; caller: AccountId32 }
|
|
1724
|
+
>;
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* The pool is chilled i.e. no longer nominating.
|
|
1728
|
+
**/
|
|
1729
|
+
PoolNominatorChilled: GenericPalletEvent<
|
|
1730
|
+
'NominationPools',
|
|
1731
|
+
'PoolNominatorChilled',
|
|
1732
|
+
{ poolId: number; caller: AccountId32 }
|
|
1733
|
+
>;
|
|
1734
|
+
|
|
1735
|
+
/**
|
|
1736
|
+
* Global parameters regulating nomination pools have been updated.
|
|
1737
|
+
**/
|
|
1738
|
+
GlobalParamsUpdated: GenericPalletEvent<
|
|
1739
|
+
'NominationPools',
|
|
1740
|
+
'GlobalParamsUpdated',
|
|
1741
|
+
{
|
|
1742
|
+
minJoinBond: bigint;
|
|
1743
|
+
minCreateBond: bigint;
|
|
1744
|
+
maxPools?: number | undefined;
|
|
1745
|
+
maxMembers?: number | undefined;
|
|
1746
|
+
maxMembersPerPool?: number | undefined;
|
|
1747
|
+
globalMaxCommission?: Perbill | undefined;
|
|
1748
|
+
}
|
|
1749
|
+
>;
|
|
1750
|
+
|
|
1591
1751
|
/**
|
|
1592
1752
|
* Generic pallet event
|
|
1593
1753
|
**/
|
|
@@ -1675,6 +1835,44 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1675
1835
|
**/
|
|
1676
1836
|
[prop: string]: GenericPalletEvent;
|
|
1677
1837
|
};
|
|
1838
|
+
/**
|
|
1839
|
+
* Pallet `StakingAhClient`'s events
|
|
1840
|
+
**/
|
|
1841
|
+
stakingAhClient: {
|
|
1842
|
+
/**
|
|
1843
|
+
* A new validator set has been received.
|
|
1844
|
+
**/
|
|
1845
|
+
ValidatorSetReceived: GenericPalletEvent<
|
|
1846
|
+
'StakingAhClient',
|
|
1847
|
+
'ValidatorSetReceived',
|
|
1848
|
+
{ id: number; newValidatorSetCount: number; pruneUpTo?: number | undefined; leftover: boolean }
|
|
1849
|
+
>;
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* We could not merge, and therefore dropped a buffered message.
|
|
1853
|
+
*
|
|
1854
|
+
* Note that this event is more resembling an error, but we use an event because in this
|
|
1855
|
+
* pallet we need to mutate storage upon some failures.
|
|
1856
|
+
**/
|
|
1857
|
+
CouldNotMergeAndDropped: GenericPalletEvent<'StakingAhClient', 'CouldNotMergeAndDropped', null>;
|
|
1858
|
+
|
|
1859
|
+
/**
|
|
1860
|
+
* The validator set received is way too small, as per
|
|
1861
|
+
* [`Config::MinimumValidatorSetSize`].
|
|
1862
|
+
**/
|
|
1863
|
+
SetTooSmallAndDropped: GenericPalletEvent<'StakingAhClient', 'SetTooSmallAndDropped', null>;
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* Something occurred that should never happen under normal operation. Logged as an event
|
|
1867
|
+
* for fail-safe observability.
|
|
1868
|
+
**/
|
|
1869
|
+
Unexpected: GenericPalletEvent<'StakingAhClient', 'Unexpected', PalletStakingAsyncAhClientUnexpectedKind>;
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* Generic pallet event
|
|
1873
|
+
**/
|
|
1874
|
+
[prop: string]: GenericPalletEvent;
|
|
1875
|
+
};
|
|
1678
1876
|
/**
|
|
1679
1877
|
* Pallet `ParaInclusion`'s events
|
|
1680
1878
|
**/
|
|
@@ -1686,7 +1884,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1686
1884
|
'ParaInclusion',
|
|
1687
1885
|
'CandidateBacked',
|
|
1688
1886
|
[
|
|
1689
|
-
|
|
1887
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
1690
1888
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1691
1889
|
PolkadotPrimitivesV8CoreIndex,
|
|
1692
1890
|
PolkadotPrimitivesV8GroupIndex,
|
|
@@ -1700,7 +1898,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1700
1898
|
'ParaInclusion',
|
|
1701
1899
|
'CandidateIncluded',
|
|
1702
1900
|
[
|
|
1703
|
-
|
|
1901
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
1704
1902
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1705
1903
|
PolkadotPrimitivesV8CoreIndex,
|
|
1706
1904
|
PolkadotPrimitivesV8GroupIndex,
|
|
@@ -1714,7 +1912,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1714
1912
|
'ParaInclusion',
|
|
1715
1913
|
'CandidateTimedOut',
|
|
1716
1914
|
[
|
|
1717
|
-
|
|
1915
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
1718
1916
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1719
1917
|
PolkadotPrimitivesV8CoreIndex,
|
|
1720
1918
|
]
|
|
@@ -1793,6 +1991,44 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1793
1991
|
[PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
|
|
1794
1992
|
>;
|
|
1795
1993
|
|
|
1994
|
+
/**
|
|
1995
|
+
* The upgrade cooldown was removed.
|
|
1996
|
+
**/
|
|
1997
|
+
UpgradeCooldownRemoved: GenericPalletEvent<
|
|
1998
|
+
'Paras',
|
|
1999
|
+
'UpgradeCooldownRemoved',
|
|
2000
|
+
{
|
|
2001
|
+
/**
|
|
2002
|
+
* The parachain for which the cooldown got removed.
|
|
2003
|
+
**/
|
|
2004
|
+
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
2005
|
+
}
|
|
2006
|
+
>;
|
|
2007
|
+
|
|
2008
|
+
/**
|
|
2009
|
+
* A new code hash has been authorized for a Para.
|
|
2010
|
+
**/
|
|
2011
|
+
CodeAuthorized: GenericPalletEvent<
|
|
2012
|
+
'Paras',
|
|
2013
|
+
'CodeAuthorized',
|
|
2014
|
+
{
|
|
2015
|
+
/**
|
|
2016
|
+
* Para
|
|
2017
|
+
**/
|
|
2018
|
+
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* Authorized code hash.
|
|
2022
|
+
**/
|
|
2023
|
+
codeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* Block at which authorization expires and will be removed.
|
|
2027
|
+
**/
|
|
2028
|
+
expireAt: number;
|
|
2029
|
+
}
|
|
2030
|
+
>;
|
|
2031
|
+
|
|
1796
2032
|
/**
|
|
1797
2033
|
* Generic pallet event
|
|
1798
2034
|
**/
|
|
@@ -1945,6 +2181,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1945
2181
|
**/
|
|
1946
2182
|
SpotPriceSet: GenericPalletEvent<'OnDemand', 'SpotPriceSet', { spotPrice: bigint }>;
|
|
1947
2183
|
|
|
2184
|
+
/**
|
|
2185
|
+
* An account was given credits.
|
|
2186
|
+
**/
|
|
2187
|
+
AccountCredited: GenericPalletEvent<'OnDemand', 'AccountCredited', { who: AccountId32; amount: bigint }>;
|
|
2188
|
+
|
|
1948
2189
|
/**
|
|
1949
2190
|
* Generic pallet event
|
|
1950
2191
|
**/
|
|
@@ -2222,22 +2463,45 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2222
2463
|
/**
|
|
2223
2464
|
* Execution of an XCM message was attempted.
|
|
2224
2465
|
**/
|
|
2225
|
-
Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome:
|
|
2466
|
+
Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
2226
2467
|
|
|
2227
2468
|
/**
|
|
2228
|
-
*
|
|
2469
|
+
* An XCM message was sent.
|
|
2229
2470
|
**/
|
|
2230
2471
|
Sent: GenericPalletEvent<
|
|
2231
2472
|
'XcmPallet',
|
|
2232
2473
|
'Sent',
|
|
2233
2474
|
{
|
|
2234
|
-
origin:
|
|
2235
|
-
destination:
|
|
2236
|
-
message:
|
|
2475
|
+
origin: StagingXcmV5Location;
|
|
2476
|
+
destination: StagingXcmV5Location;
|
|
2477
|
+
message: StagingXcmV5Xcm;
|
|
2237
2478
|
messageId: FixedBytes<32>;
|
|
2238
2479
|
}
|
|
2239
2480
|
>;
|
|
2240
2481
|
|
|
2482
|
+
/**
|
|
2483
|
+
* An XCM message failed to send.
|
|
2484
|
+
**/
|
|
2485
|
+
SendFailed: GenericPalletEvent<
|
|
2486
|
+
'XcmPallet',
|
|
2487
|
+
'SendFailed',
|
|
2488
|
+
{
|
|
2489
|
+
origin: StagingXcmV5Location;
|
|
2490
|
+
destination: StagingXcmV5Location;
|
|
2491
|
+
error: XcmV3TraitsSendError;
|
|
2492
|
+
messageId: FixedBytes<32>;
|
|
2493
|
+
}
|
|
2494
|
+
>;
|
|
2495
|
+
|
|
2496
|
+
/**
|
|
2497
|
+
* An XCM message failed to process.
|
|
2498
|
+
**/
|
|
2499
|
+
ProcessXcmError: GenericPalletEvent<
|
|
2500
|
+
'XcmPallet',
|
|
2501
|
+
'ProcessXcmError',
|
|
2502
|
+
{ origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
|
|
2503
|
+
>;
|
|
2504
|
+
|
|
2241
2505
|
/**
|
|
2242
2506
|
* Query response received which does not match a registered query. This may be because a
|
|
2243
2507
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
@@ -2246,7 +2510,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2246
2510
|
UnexpectedResponse: GenericPalletEvent<
|
|
2247
2511
|
'XcmPallet',
|
|
2248
2512
|
'UnexpectedResponse',
|
|
2249
|
-
{ origin:
|
|
2513
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
2250
2514
|
>;
|
|
2251
2515
|
|
|
2252
2516
|
/**
|
|
@@ -2256,7 +2520,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2256
2520
|
ResponseReady: GenericPalletEvent<
|
|
2257
2521
|
'XcmPallet',
|
|
2258
2522
|
'ResponseReady',
|
|
2259
|
-
{ queryId: bigint; response:
|
|
2523
|
+
{ queryId: bigint; response: StagingXcmV5Response }
|
|
2260
2524
|
>;
|
|
2261
2525
|
|
|
2262
2526
|
/**
|
|
@@ -2311,7 +2575,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2311
2575
|
InvalidResponder: GenericPalletEvent<
|
|
2312
2576
|
'XcmPallet',
|
|
2313
2577
|
'InvalidResponder',
|
|
2314
|
-
{ origin:
|
|
2578
|
+
{ origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
|
|
2315
2579
|
>;
|
|
2316
2580
|
|
|
2317
2581
|
/**
|
|
@@ -2326,7 +2590,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2326
2590
|
InvalidResponderVersion: GenericPalletEvent<
|
|
2327
2591
|
'XcmPallet',
|
|
2328
2592
|
'InvalidResponderVersion',
|
|
2329
|
-
{ origin:
|
|
2593
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
2330
2594
|
>;
|
|
2331
2595
|
|
|
2332
2596
|
/**
|
|
@@ -2340,7 +2604,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2340
2604
|
AssetsTrapped: GenericPalletEvent<
|
|
2341
2605
|
'XcmPallet',
|
|
2342
2606
|
'AssetsTrapped',
|
|
2343
|
-
{ hash: H256; origin:
|
|
2607
|
+
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
2344
2608
|
>;
|
|
2345
2609
|
|
|
2346
2610
|
/**
|
|
@@ -2351,7 +2615,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2351
2615
|
VersionChangeNotified: GenericPalletEvent<
|
|
2352
2616
|
'XcmPallet',
|
|
2353
2617
|
'VersionChangeNotified',
|
|
2354
|
-
{ destination:
|
|
2618
|
+
{ destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2355
2619
|
>;
|
|
2356
2620
|
|
|
2357
2621
|
/**
|
|
@@ -2361,7 +2625,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2361
2625
|
SupportedVersionChanged: GenericPalletEvent<
|
|
2362
2626
|
'XcmPallet',
|
|
2363
2627
|
'SupportedVersionChanged',
|
|
2364
|
-
{ location:
|
|
2628
|
+
{ location: StagingXcmV5Location; version: number }
|
|
2365
2629
|
>;
|
|
2366
2630
|
|
|
2367
2631
|
/**
|
|
@@ -2371,7 +2635,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2371
2635
|
NotifyTargetSendFail: GenericPalletEvent<
|
|
2372
2636
|
'XcmPallet',
|
|
2373
2637
|
'NotifyTargetSendFail',
|
|
2374
|
-
{ location:
|
|
2638
|
+
{ location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
|
|
2375
2639
|
>;
|
|
2376
2640
|
|
|
2377
2641
|
/**
|
|
@@ -2396,7 +2660,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2396
2660
|
InvalidQuerierVersion: GenericPalletEvent<
|
|
2397
2661
|
'XcmPallet',
|
|
2398
2662
|
'InvalidQuerierVersion',
|
|
2399
|
-
{ origin:
|
|
2663
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
2400
2664
|
>;
|
|
2401
2665
|
|
|
2402
2666
|
/**
|
|
@@ -2408,10 +2672,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2408
2672
|
'XcmPallet',
|
|
2409
2673
|
'InvalidQuerier',
|
|
2410
2674
|
{
|
|
2411
|
-
origin:
|
|
2675
|
+
origin: StagingXcmV5Location;
|
|
2412
2676
|
queryId: bigint;
|
|
2413
|
-
expectedQuerier:
|
|
2414
|
-
maybeActualQuerier?:
|
|
2677
|
+
expectedQuerier: StagingXcmV5Location;
|
|
2678
|
+
maybeActualQuerier?: StagingXcmV5Location | undefined;
|
|
2415
2679
|
}
|
|
2416
2680
|
>;
|
|
2417
2681
|
|
|
@@ -2422,7 +2686,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2422
2686
|
VersionNotifyStarted: GenericPalletEvent<
|
|
2423
2687
|
'XcmPallet',
|
|
2424
2688
|
'VersionNotifyStarted',
|
|
2425
|
-
{ destination:
|
|
2689
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2426
2690
|
>;
|
|
2427
2691
|
|
|
2428
2692
|
/**
|
|
@@ -2431,7 +2695,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2431
2695
|
VersionNotifyRequested: GenericPalletEvent<
|
|
2432
2696
|
'XcmPallet',
|
|
2433
2697
|
'VersionNotifyRequested',
|
|
2434
|
-
{ destination:
|
|
2698
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2435
2699
|
>;
|
|
2436
2700
|
|
|
2437
2701
|
/**
|
|
@@ -2441,7 +2705,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2441
2705
|
VersionNotifyUnrequested: GenericPalletEvent<
|
|
2442
2706
|
'XcmPallet',
|
|
2443
2707
|
'VersionNotifyUnrequested',
|
|
2444
|
-
{ destination:
|
|
2708
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2445
2709
|
>;
|
|
2446
2710
|
|
|
2447
2711
|
/**
|
|
@@ -2450,7 +2714,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2450
2714
|
FeesPaid: GenericPalletEvent<
|
|
2451
2715
|
'XcmPallet',
|
|
2452
2716
|
'FeesPaid',
|
|
2453
|
-
{ paying:
|
|
2717
|
+
{ paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
|
|
2454
2718
|
>;
|
|
2455
2719
|
|
|
2456
2720
|
/**
|
|
@@ -2459,7 +2723,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2459
2723
|
AssetsClaimed: GenericPalletEvent<
|
|
2460
2724
|
'XcmPallet',
|
|
2461
2725
|
'AssetsClaimed',
|
|
2462
|
-
{ hash: H256; origin:
|
|
2726
|
+
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
2463
2727
|
>;
|
|
2464
2728
|
|
|
2465
2729
|
/**
|
|
@@ -2467,6 +2731,34 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2467
2731
|
**/
|
|
2468
2732
|
VersionMigrationFinished: GenericPalletEvent<'XcmPallet', 'VersionMigrationFinished', { version: number }>;
|
|
2469
2733
|
|
|
2734
|
+
/**
|
|
2735
|
+
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
2736
|
+
* `expiry` block number.
|
|
2737
|
+
**/
|
|
2738
|
+
AliasAuthorized: GenericPalletEvent<
|
|
2739
|
+
'XcmPallet',
|
|
2740
|
+
'AliasAuthorized',
|
|
2741
|
+
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
|
|
2742
|
+
>;
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* `target` removed alias authorization for `aliaser`.
|
|
2746
|
+
**/
|
|
2747
|
+
AliasAuthorizationRemoved: GenericPalletEvent<
|
|
2748
|
+
'XcmPallet',
|
|
2749
|
+
'AliasAuthorizationRemoved',
|
|
2750
|
+
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
|
|
2751
|
+
>;
|
|
2752
|
+
|
|
2753
|
+
/**
|
|
2754
|
+
* `target` removed all alias authorizations.
|
|
2755
|
+
**/
|
|
2756
|
+
AliasesAuthorizationsRemoved: GenericPalletEvent<
|
|
2757
|
+
'XcmPallet',
|
|
2758
|
+
'AliasesAuthorizationsRemoved',
|
|
2759
|
+
{ target: StagingXcmV5Location }
|
|
2760
|
+
>;
|
|
2761
|
+
|
|
2470
2762
|
/**
|
|
2471
2763
|
* Generic pallet event
|
|
2472
2764
|
**/
|
|
@@ -2671,6 +2963,310 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2671
2963
|
}
|
|
2672
2964
|
>;
|
|
2673
2965
|
|
|
2966
|
+
/**
|
|
2967
|
+
* Generic pallet event
|
|
2968
|
+
**/
|
|
2969
|
+
[prop: string]: GenericPalletEvent;
|
|
2970
|
+
};
|
|
2971
|
+
/**
|
|
2972
|
+
* Pallet `RcMigrator`'s events
|
|
2973
|
+
**/
|
|
2974
|
+
rcMigrator: {
|
|
2975
|
+
/**
|
|
2976
|
+
* A stage transition has occurred.
|
|
2977
|
+
**/
|
|
2978
|
+
StageTransition: GenericPalletEvent<
|
|
2979
|
+
'RcMigrator',
|
|
2980
|
+
'StageTransition',
|
|
2981
|
+
{
|
|
2982
|
+
/**
|
|
2983
|
+
* The old stage before the transition.
|
|
2984
|
+
**/
|
|
2985
|
+
old: PalletRcMigratorMigrationStage;
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* The new stage after the transition.
|
|
2989
|
+
**/
|
|
2990
|
+
new: PalletRcMigratorMigrationStage;
|
|
2991
|
+
}
|
|
2992
|
+
>;
|
|
2993
|
+
|
|
2994
|
+
/**
|
|
2995
|
+
* The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
|
|
2996
|
+
* emitted.
|
|
2997
|
+
*
|
|
2998
|
+
* This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
|
|
2999
|
+
* to understand. The activation is immediate and affects all events happening
|
|
3000
|
+
* afterwards.
|
|
3001
|
+
**/
|
|
3002
|
+
AssetHubMigrationStarted: GenericPalletEvent<'RcMigrator', 'AssetHubMigrationStarted', null>;
|
|
3003
|
+
|
|
3004
|
+
/**
|
|
3005
|
+
* The Asset Hub Migration finished.
|
|
3006
|
+
*
|
|
3007
|
+
* This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
|
|
3008
|
+
* to understand. The finishing is immediate and affects all events happening
|
|
3009
|
+
* afterwards.
|
|
3010
|
+
**/
|
|
3011
|
+
AssetHubMigrationFinished: GenericPalletEvent<'RcMigrator', 'AssetHubMigrationFinished', null>;
|
|
3012
|
+
|
|
3013
|
+
/**
|
|
3014
|
+
* A query response has been received.
|
|
3015
|
+
**/
|
|
3016
|
+
QueryResponseReceived: GenericPalletEvent<
|
|
3017
|
+
'RcMigrator',
|
|
3018
|
+
'QueryResponseReceived',
|
|
3019
|
+
{
|
|
3020
|
+
/**
|
|
3021
|
+
* The query ID.
|
|
3022
|
+
**/
|
|
3023
|
+
queryId: bigint;
|
|
3024
|
+
|
|
3025
|
+
/**
|
|
3026
|
+
* The response.
|
|
3027
|
+
**/
|
|
3028
|
+
response: XcmV3MaybeErrorCode;
|
|
3029
|
+
}
|
|
3030
|
+
>;
|
|
3031
|
+
|
|
3032
|
+
/**
|
|
3033
|
+
* A XCM message has been resent.
|
|
3034
|
+
**/
|
|
3035
|
+
XcmResendAttempt: GenericPalletEvent<
|
|
3036
|
+
'RcMigrator',
|
|
3037
|
+
'XcmResendAttempt',
|
|
3038
|
+
{
|
|
3039
|
+
/**
|
|
3040
|
+
* The query ID.
|
|
3041
|
+
**/
|
|
3042
|
+
queryId: bigint;
|
|
3043
|
+
|
|
3044
|
+
/**
|
|
3045
|
+
* The error message.
|
|
3046
|
+
**/
|
|
3047
|
+
sendError?: XcmV3TraitsSendError | undefined;
|
|
3048
|
+
}
|
|
3049
|
+
>;
|
|
3050
|
+
|
|
3051
|
+
/**
|
|
3052
|
+
* The unprocessed message buffer size has been set.
|
|
3053
|
+
**/
|
|
3054
|
+
UnprocessedMsgBufferSet: GenericPalletEvent<
|
|
3055
|
+
'RcMigrator',
|
|
3056
|
+
'UnprocessedMsgBufferSet',
|
|
3057
|
+
{
|
|
3058
|
+
/**
|
|
3059
|
+
* The new size.
|
|
3060
|
+
**/
|
|
3061
|
+
new: number;
|
|
3062
|
+
|
|
3063
|
+
/**
|
|
3064
|
+
* The old size.
|
|
3065
|
+
**/
|
|
3066
|
+
old: number;
|
|
3067
|
+
}
|
|
3068
|
+
>;
|
|
3069
|
+
|
|
3070
|
+
/**
|
|
3071
|
+
* Whether the AH UMP queue was prioritized for the next block.
|
|
3072
|
+
**/
|
|
3073
|
+
AhUmpQueuePrioritySet: GenericPalletEvent<
|
|
3074
|
+
'RcMigrator',
|
|
3075
|
+
'AhUmpQueuePrioritySet',
|
|
3076
|
+
{
|
|
3077
|
+
/**
|
|
3078
|
+
* Indicates if AH UMP queue was successfully set as priority.
|
|
3079
|
+
* If `false`, it means we're in the round-robin phase of our priority pattern
|
|
3080
|
+
* (see [`Config::AhUmpQueuePriorityPattern`]), where no queue gets priority.
|
|
3081
|
+
**/
|
|
3082
|
+
prioritized: boolean;
|
|
3083
|
+
|
|
3084
|
+
/**
|
|
3085
|
+
* Current block number within the pattern cycle (1 to period).
|
|
3086
|
+
**/
|
|
3087
|
+
cycleBlock: number;
|
|
3088
|
+
|
|
3089
|
+
/**
|
|
3090
|
+
* Total number of blocks in the pattern cycle
|
|
3091
|
+
**/
|
|
3092
|
+
cyclePeriod: number;
|
|
3093
|
+
}
|
|
3094
|
+
>;
|
|
3095
|
+
|
|
3096
|
+
/**
|
|
3097
|
+
* The AH UMP queue priority config was set.
|
|
3098
|
+
**/
|
|
3099
|
+
AhUmpQueuePriorityConfigSet: GenericPalletEvent<
|
|
3100
|
+
'RcMigrator',
|
|
3101
|
+
'AhUmpQueuePriorityConfigSet',
|
|
3102
|
+
{
|
|
3103
|
+
/**
|
|
3104
|
+
* The old priority pattern.
|
|
3105
|
+
**/
|
|
3106
|
+
old: PalletRcMigratorQueuePriority;
|
|
3107
|
+
|
|
3108
|
+
/**
|
|
3109
|
+
* The new priority pattern.
|
|
3110
|
+
**/
|
|
3111
|
+
new: PalletRcMigratorQueuePriority;
|
|
3112
|
+
}
|
|
3113
|
+
>;
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* The total issuance was recorded.
|
|
3117
|
+
**/
|
|
3118
|
+
MigratedBalanceRecordSet: GenericPalletEvent<
|
|
3119
|
+
'RcMigrator',
|
|
3120
|
+
'MigratedBalanceRecordSet',
|
|
3121
|
+
{ kept: bigint; migrated: bigint }
|
|
3122
|
+
>;
|
|
3123
|
+
|
|
3124
|
+
/**
|
|
3125
|
+
* The RC kept balance was consumed.
|
|
3126
|
+
**/
|
|
3127
|
+
MigratedBalanceConsumed: GenericPalletEvent<
|
|
3128
|
+
'RcMigrator',
|
|
3129
|
+
'MigratedBalanceConsumed',
|
|
3130
|
+
{ kept: bigint; migrated: bigint }
|
|
3131
|
+
>;
|
|
3132
|
+
|
|
3133
|
+
/**
|
|
3134
|
+
* The manager account id was set.
|
|
3135
|
+
**/
|
|
3136
|
+
ManagerSet: GenericPalletEvent<
|
|
3137
|
+
'RcMigrator',
|
|
3138
|
+
'ManagerSet',
|
|
3139
|
+
{
|
|
3140
|
+
/**
|
|
3141
|
+
* The old manager account id.
|
|
3142
|
+
**/
|
|
3143
|
+
old?: AccountId32 | undefined;
|
|
3144
|
+
|
|
3145
|
+
/**
|
|
3146
|
+
* The new manager account id.
|
|
3147
|
+
**/
|
|
3148
|
+
new?: AccountId32 | undefined;
|
|
3149
|
+
}
|
|
3150
|
+
>;
|
|
3151
|
+
|
|
3152
|
+
/**
|
|
3153
|
+
* An XCM message was sent.
|
|
3154
|
+
**/
|
|
3155
|
+
XcmSent: GenericPalletEvent<
|
|
3156
|
+
'RcMigrator',
|
|
3157
|
+
'XcmSent',
|
|
3158
|
+
{
|
|
3159
|
+
origin: StagingXcmV5Location;
|
|
3160
|
+
destination: StagingXcmV5Location;
|
|
3161
|
+
message: StagingXcmV5Xcm;
|
|
3162
|
+
messageId: FixedBytes<32>;
|
|
3163
|
+
}
|
|
3164
|
+
>;
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* The staking elections were paused.
|
|
3168
|
+
**/
|
|
3169
|
+
StakingElectionsPaused: GenericPalletEvent<'RcMigrator', 'StakingElectionsPaused', null>;
|
|
3170
|
+
|
|
3171
|
+
/**
|
|
3172
|
+
* The accounts to be preserved on Relay Chain were set.
|
|
3173
|
+
**/
|
|
3174
|
+
AccountsPreserved: GenericPalletEvent<
|
|
3175
|
+
'RcMigrator',
|
|
3176
|
+
'AccountsPreserved',
|
|
3177
|
+
{
|
|
3178
|
+
/**
|
|
3179
|
+
* The accounts that will be preserved.
|
|
3180
|
+
**/
|
|
3181
|
+
accounts: Array<AccountId32>;
|
|
3182
|
+
}
|
|
3183
|
+
>;
|
|
3184
|
+
|
|
3185
|
+
/**
|
|
3186
|
+
* The canceller account id was set.
|
|
3187
|
+
**/
|
|
3188
|
+
CancellerSet: GenericPalletEvent<
|
|
3189
|
+
'RcMigrator',
|
|
3190
|
+
'CancellerSet',
|
|
3191
|
+
{
|
|
3192
|
+
/**
|
|
3193
|
+
* The old canceller account id.
|
|
3194
|
+
**/
|
|
3195
|
+
old?: AccountId32 | undefined;
|
|
3196
|
+
|
|
3197
|
+
/**
|
|
3198
|
+
* The new canceller account id.
|
|
3199
|
+
**/
|
|
3200
|
+
new?: AccountId32 | undefined;
|
|
3201
|
+
}
|
|
3202
|
+
>;
|
|
3203
|
+
|
|
3204
|
+
/**
|
|
3205
|
+
* The migration was paused.
|
|
3206
|
+
**/
|
|
3207
|
+
MigrationPaused: GenericPalletEvent<
|
|
3208
|
+
'RcMigrator',
|
|
3209
|
+
'MigrationPaused',
|
|
3210
|
+
{
|
|
3211
|
+
/**
|
|
3212
|
+
* The stage at which the migration was paused.
|
|
3213
|
+
**/
|
|
3214
|
+
pauseStage: PalletRcMigratorMigrationStage;
|
|
3215
|
+
}
|
|
3216
|
+
>;
|
|
3217
|
+
|
|
3218
|
+
/**
|
|
3219
|
+
* The migration was cancelled.
|
|
3220
|
+
**/
|
|
3221
|
+
MigrationCancelled: GenericPalletEvent<'RcMigrator', 'MigrationCancelled', null>;
|
|
3222
|
+
|
|
3223
|
+
/**
|
|
3224
|
+
* Some pure accounts were indexed for possibly receiving free `Any` proxies.
|
|
3225
|
+
**/
|
|
3226
|
+
PureAccountsIndexed: GenericPalletEvent<
|
|
3227
|
+
'RcMigrator',
|
|
3228
|
+
'PureAccountsIndexed',
|
|
3229
|
+
{
|
|
3230
|
+
/**
|
|
3231
|
+
* The number of indexed pure accounts.
|
|
3232
|
+
**/
|
|
3233
|
+
numPureAccounts: number;
|
|
3234
|
+
}
|
|
3235
|
+
>;
|
|
3236
|
+
|
|
3237
|
+
/**
|
|
3238
|
+
* The manager multisig dispatched something.
|
|
3239
|
+
**/
|
|
3240
|
+
ManagerMultisigDispatched: GenericPalletEvent<
|
|
3241
|
+
'RcMigrator',
|
|
3242
|
+
'ManagerMultisigDispatched',
|
|
3243
|
+
{ res: Result<[], DispatchError> }
|
|
3244
|
+
>;
|
|
3245
|
+
|
|
3246
|
+
/**
|
|
3247
|
+
* The manager multisig received a vote.
|
|
3248
|
+
**/
|
|
3249
|
+
ManagerMultisigVoted: GenericPalletEvent<'RcMigrator', 'ManagerMultisigVoted', { votes: number }>;
|
|
3250
|
+
|
|
3251
|
+
/**
|
|
3252
|
+
* The migration settings were set.
|
|
3253
|
+
**/
|
|
3254
|
+
MigrationSettingsSet: GenericPalletEvent<
|
|
3255
|
+
'RcMigrator',
|
|
3256
|
+
'MigrationSettingsSet',
|
|
3257
|
+
{
|
|
3258
|
+
/**
|
|
3259
|
+
* The old migration settings.
|
|
3260
|
+
**/
|
|
3261
|
+
old?: PalletRcMigratorMigrationSettings | undefined;
|
|
3262
|
+
|
|
3263
|
+
/**
|
|
3264
|
+
* The new migration settings.
|
|
3265
|
+
**/
|
|
3266
|
+
new?: PalletRcMigratorMigrationSettings | undefined;
|
|
3267
|
+
}
|
|
3268
|
+
>;
|
|
3269
|
+
|
|
2674
3270
|
/**
|
|
2675
3271
|
* Generic pallet event
|
|
2676
3272
|
**/
|