@dedot/chaintypes 0.231.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 +106 -18
- package/paseo/errors.d.ts +294 -42
- package/paseo/events.d.ts +753 -87
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +556 -115
- package/paseo/runtime.d.ts +212 -91
- package/paseo/tx.d.ts +1188 -196
- package/paseo/types.d.ts +6894 -4909
- 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,20 +13,22 @@ 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,
|
|
21
22
|
SpConsensusGrandpaAppPublic,
|
|
22
23
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
23
24
|
XcmVersionedLocation,
|
|
25
|
+
PalletConvictionVotingVoteAccountVote,
|
|
24
26
|
FrameSupportPreimagesBounded,
|
|
25
27
|
PalletConvictionVotingTally,
|
|
26
28
|
FrameSupportDispatchPostDispatchInfo,
|
|
27
29
|
SpRuntimeDispatchErrorWithPostInfo,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
PaseoRuntimeProxyType,
|
|
30
|
+
PaseoRuntimeConstantsProxyProxyType,
|
|
31
|
+
PalletProxyDepositKind,
|
|
31
32
|
PalletMultisigTimepoint,
|
|
32
33
|
PalletElectionProviderMultiPhaseElectionCompute,
|
|
33
34
|
SpNposElectionsElectionScore,
|
|
@@ -35,10 +36,12 @@ import type {
|
|
|
35
36
|
PalletNominationPoolsPoolState,
|
|
36
37
|
PalletNominationPoolsCommissionChangeRate,
|
|
37
38
|
PalletNominationPoolsCommissionClaimPermission,
|
|
38
|
-
|
|
39
|
+
PalletNominationPoolsClaimPermission,
|
|
40
|
+
PalletStakingAsyncAhClientUnexpectedKind,
|
|
41
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
39
42
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
PolkadotPrimitivesV8CoreIndex,
|
|
44
|
+
PolkadotPrimitivesV8GroupIndex,
|
|
42
45
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
43
46
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
44
47
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
@@ -47,16 +50,21 @@ import type {
|
|
|
47
50
|
PolkadotRuntimeParachainsDisputesDisputeResult,
|
|
48
51
|
PalletStateTrieMigrationMigrationCompute,
|
|
49
52
|
PalletStateTrieMigrationError,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
StagingXcmV5TraitsOutcome,
|
|
54
|
+
StagingXcmV5Location,
|
|
55
|
+
StagingXcmV5Xcm,
|
|
56
|
+
XcmV3TraitsSendError,
|
|
57
|
+
XcmV5TraitsError,
|
|
58
|
+
StagingXcmV5Response,
|
|
54
59
|
SpWeightsWeightV2Weight,
|
|
55
60
|
XcmVersionedAssets,
|
|
56
|
-
|
|
57
|
-
XcmV3TraitsError,
|
|
61
|
+
StagingXcmV5AssetAssets,
|
|
58
62
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
59
63
|
FrameSupportMessagesProcessMessageError,
|
|
64
|
+
PalletRcMigratorMigrationStage,
|
|
65
|
+
XcmV3MaybeErrorCode,
|
|
66
|
+
PalletRcMigratorQueuePriority,
|
|
67
|
+
PalletRcMigratorMigrationSettings,
|
|
60
68
|
} from './types.js';
|
|
61
69
|
|
|
62
70
|
export interface ChainEvents extends GenericChainEvents {
|
|
@@ -67,7 +75,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
67
75
|
/**
|
|
68
76
|
* An extrinsic completed successfully.
|
|
69
77
|
**/
|
|
70
|
-
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo:
|
|
78
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: FrameSystemDispatchEventInfo }>;
|
|
71
79
|
|
|
72
80
|
/**
|
|
73
81
|
* An extrinsic failed.
|
|
@@ -75,7 +83,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
75
83
|
ExtrinsicFailed: GenericPalletEvent<
|
|
76
84
|
'System',
|
|
77
85
|
'ExtrinsicFailed',
|
|
78
|
-
{ dispatchError: DispatchError; dispatchInfo:
|
|
86
|
+
{ dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
|
|
79
87
|
>;
|
|
80
88
|
|
|
81
89
|
/**
|
|
@@ -103,6 +111,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
103
111
|
**/
|
|
104
112
|
UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
105
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
|
+
|
|
106
123
|
/**
|
|
107
124
|
* Generic pallet event
|
|
108
125
|
**/
|
|
@@ -186,6 +203,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
186
203
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
187
204
|
>;
|
|
188
205
|
|
|
206
|
+
/**
|
|
207
|
+
* Agenda is incomplete from `when`.
|
|
208
|
+
**/
|
|
209
|
+
AgendaIncomplete: GenericPalletEvent<'Scheduler', 'AgendaIncomplete', { when: number }>;
|
|
210
|
+
|
|
189
211
|
/**
|
|
190
212
|
* Generic pallet event
|
|
191
213
|
**/
|
|
@@ -234,6 +256,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
234
256
|
**/
|
|
235
257
|
IndexFrozen: GenericPalletEvent<'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
|
|
236
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
|
+
|
|
237
268
|
/**
|
|
238
269
|
* Generic pallet event
|
|
239
270
|
**/
|
|
@@ -359,6 +390,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
359
390
|
**/
|
|
360
391
|
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
361
392
|
|
|
393
|
+
/**
|
|
394
|
+
* An unexpected/defensive event was triggered.
|
|
395
|
+
**/
|
|
396
|
+
Unexpected: GenericPalletEvent<'Balances', 'Unexpected', PalletBalancesUnexpectedKind>;
|
|
397
|
+
|
|
362
398
|
/**
|
|
363
399
|
* Generic pallet event
|
|
364
400
|
**/
|
|
@@ -463,9 +499,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
463
499
|
Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
|
|
464
500
|
|
|
465
501
|
/**
|
|
466
|
-
*
|
|
502
|
+
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
|
467
503
|
**/
|
|
468
|
-
PayoutStarted: GenericPalletEvent<
|
|
504
|
+
PayoutStarted: GenericPalletEvent<
|
|
505
|
+
'Staking',
|
|
506
|
+
'PayoutStarted',
|
|
507
|
+
{ eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined }
|
|
508
|
+
>;
|
|
469
509
|
|
|
470
510
|
/**
|
|
471
511
|
* A validator has set their preferences.
|
|
@@ -496,6 +536,12 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
496
536
|
**/
|
|
497
537
|
ControllerBatchDeprecated: GenericPalletEvent<'Staking', 'ControllerBatchDeprecated', { failures: number }>;
|
|
498
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
|
+
|
|
499
545
|
/**
|
|
500
546
|
* Generic pallet event
|
|
501
547
|
**/
|
|
@@ -517,6 +563,25 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
517
563
|
**/
|
|
518
564
|
[prop: string]: GenericPalletEvent;
|
|
519
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
|
+
};
|
|
520
585
|
/**
|
|
521
586
|
* Pallet `Session`'s events
|
|
522
587
|
**/
|
|
@@ -527,6 +592,22 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
527
592
|
**/
|
|
528
593
|
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
529
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
|
+
|
|
530
611
|
/**
|
|
531
612
|
* Generic pallet event
|
|
532
613
|
**/
|
|
@@ -659,6 +740,29 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
659
740
|
**/
|
|
660
741
|
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
|
|
661
742
|
|
|
743
|
+
/**
|
|
744
|
+
* An account has voted
|
|
745
|
+
**/
|
|
746
|
+
Voted: GenericPalletEvent<
|
|
747
|
+
'ConvictionVoting',
|
|
748
|
+
'Voted',
|
|
749
|
+
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
750
|
+
>;
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* A vote has been removed
|
|
754
|
+
**/
|
|
755
|
+
VoteRemoved: GenericPalletEvent<
|
|
756
|
+
'ConvictionVoting',
|
|
757
|
+
'VoteRemoved',
|
|
758
|
+
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
759
|
+
>;
|
|
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
|
+
|
|
662
766
|
/**
|
|
663
767
|
* Generic pallet event
|
|
664
768
|
**/
|
|
@@ -1001,41 +1105,6 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1001
1105
|
**/
|
|
1002
1106
|
[prop: string]: GenericPalletEvent;
|
|
1003
1107
|
};
|
|
1004
|
-
/**
|
|
1005
|
-
* Pallet `Parameters`'s events
|
|
1006
|
-
**/
|
|
1007
|
-
parameters: {
|
|
1008
|
-
/**
|
|
1009
|
-
* A Parameter was set.
|
|
1010
|
-
*
|
|
1011
|
-
* Is also emitted when the value was not changed.
|
|
1012
|
-
**/
|
|
1013
|
-
Updated: GenericPalletEvent<
|
|
1014
|
-
'Parameters',
|
|
1015
|
-
'Updated',
|
|
1016
|
-
{
|
|
1017
|
-
/**
|
|
1018
|
-
* The key that was updated.
|
|
1019
|
-
**/
|
|
1020
|
-
key: PaseoRuntimeRuntimeParametersKey;
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* The old value before this call.
|
|
1024
|
-
**/
|
|
1025
|
-
oldValue?: PaseoRuntimeRuntimeParametersValue | undefined;
|
|
1026
|
-
|
|
1027
|
-
/**
|
|
1028
|
-
* The new value after this call.
|
|
1029
|
-
**/
|
|
1030
|
-
newValue?: PaseoRuntimeRuntimeParametersValue | undefined;
|
|
1031
|
-
}
|
|
1032
|
-
>;
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* Generic pallet event
|
|
1036
|
-
**/
|
|
1037
|
-
[prop: string]: GenericPalletEvent;
|
|
1038
|
-
};
|
|
1039
1108
|
/**
|
|
1040
1109
|
* Pallet `Claims`'s events
|
|
1041
1110
|
**/
|
|
@@ -1058,6 +1127,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1058
1127
|
* Pallet `Vesting`'s events
|
|
1059
1128
|
**/
|
|
1060
1129
|
vesting: {
|
|
1130
|
+
/**
|
|
1131
|
+
* A vesting schedule has been created.
|
|
1132
|
+
**/
|
|
1133
|
+
VestingCreated: GenericPalletEvent<'Vesting', 'VestingCreated', { account: AccountId32; scheduleIndex: number }>;
|
|
1134
|
+
|
|
1061
1135
|
/**
|
|
1062
1136
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
1063
1137
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
@@ -1109,6 +1183,16 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1109
1183
|
**/
|
|
1110
1184
|
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
1111
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
|
+
|
|
1112
1196
|
/**
|
|
1113
1197
|
* Generic pallet event
|
|
1114
1198
|
**/
|
|
@@ -1130,7 +1214,26 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1130
1214
|
PureCreated: GenericPalletEvent<
|
|
1131
1215
|
'Proxy',
|
|
1132
1216
|
'PureCreated',
|
|
1133
|
-
{
|
|
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
|
+
}
|
|
1134
1237
|
>;
|
|
1135
1238
|
|
|
1136
1239
|
/**
|
|
@@ -1144,7 +1247,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1144
1247
|
ProxyAdded: GenericPalletEvent<
|
|
1145
1248
|
'Proxy',
|
|
1146
1249
|
'ProxyAdded',
|
|
1147
|
-
{ delegator: AccountId32; delegatee: AccountId32; proxyType:
|
|
1250
|
+
{ delegator: AccountId32; delegatee: AccountId32; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number }
|
|
1148
1251
|
>;
|
|
1149
1252
|
|
|
1150
1253
|
/**
|
|
@@ -1153,7 +1256,16 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1153
1256
|
ProxyRemoved: GenericPalletEvent<
|
|
1154
1257
|
'Proxy',
|
|
1155
1258
|
'ProxyRemoved',
|
|
1156
|
-
{ 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 }
|
|
1157
1269
|
>;
|
|
1158
1270
|
|
|
1159
1271
|
/**
|
|
@@ -1207,6 +1319,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1207
1319
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
1208
1320
|
>;
|
|
1209
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
|
+
|
|
1210
1331
|
/**
|
|
1211
1332
|
* Generic pallet event
|
|
1212
1333
|
**/
|
|
@@ -1275,6 +1396,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1275
1396
|
**/
|
|
1276
1397
|
CuratorAccepted: GenericPalletEvent<'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
|
|
1277
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
|
+
|
|
1278
1408
|
/**
|
|
1279
1409
|
* Generic pallet event
|
|
1280
1410
|
**/
|
|
@@ -1473,8 +1603,14 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1473
1603
|
* A member has been removed from a pool.
|
|
1474
1604
|
*
|
|
1475
1605
|
* The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
|
|
1606
|
+
* Any funds that are still delegated (i.e. dangling delegation) are released and are
|
|
1607
|
+
* represented by `released_balance`.
|
|
1476
1608
|
**/
|
|
1477
|
-
MemberRemoved: GenericPalletEvent<
|
|
1609
|
+
MemberRemoved: GenericPalletEvent<
|
|
1610
|
+
'NominationPools',
|
|
1611
|
+
'MemberRemoved',
|
|
1612
|
+
{ poolId: number; member: AccountId32; releasedBalance: bigint }
|
|
1613
|
+
>;
|
|
1478
1614
|
|
|
1479
1615
|
/**
|
|
1480
1616
|
* The roles of a pool have been updated to the given new roles. Note that the depositor
|
|
@@ -1563,6 +1699,55 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1563
1699
|
{ poolId: number; amount: bigint }
|
|
1564
1700
|
>;
|
|
1565
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
|
+
|
|
1566
1751
|
/**
|
|
1567
1752
|
* Generic pallet event
|
|
1568
1753
|
**/
|
|
@@ -1605,6 +1790,89 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1605
1790
|
**/
|
|
1606
1791
|
[prop: string]: GenericPalletEvent;
|
|
1607
1792
|
};
|
|
1793
|
+
/**
|
|
1794
|
+
* Pallet `DelegatedStaking`'s events
|
|
1795
|
+
**/
|
|
1796
|
+
delegatedStaking: {
|
|
1797
|
+
/**
|
|
1798
|
+
* Funds delegated by a delegator.
|
|
1799
|
+
**/
|
|
1800
|
+
Delegated: GenericPalletEvent<
|
|
1801
|
+
'DelegatedStaking',
|
|
1802
|
+
'Delegated',
|
|
1803
|
+
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
1804
|
+
>;
|
|
1805
|
+
|
|
1806
|
+
/**
|
|
1807
|
+
* Funds released to a delegator.
|
|
1808
|
+
**/
|
|
1809
|
+
Released: GenericPalletEvent<
|
|
1810
|
+
'DelegatedStaking',
|
|
1811
|
+
'Released',
|
|
1812
|
+
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
1813
|
+
>;
|
|
1814
|
+
|
|
1815
|
+
/**
|
|
1816
|
+
* Funds slashed from a delegator.
|
|
1817
|
+
**/
|
|
1818
|
+
Slashed: GenericPalletEvent<
|
|
1819
|
+
'DelegatedStaking',
|
|
1820
|
+
'Slashed',
|
|
1821
|
+
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
1822
|
+
>;
|
|
1823
|
+
|
|
1824
|
+
/**
|
|
1825
|
+
* Unclaimed delegation funds migrated to delegator.
|
|
1826
|
+
**/
|
|
1827
|
+
MigratedDelegation: GenericPalletEvent<
|
|
1828
|
+
'DelegatedStaking',
|
|
1829
|
+
'MigratedDelegation',
|
|
1830
|
+
{ agent: AccountId32; delegator: AccountId32; amount: bigint }
|
|
1831
|
+
>;
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* Generic pallet event
|
|
1835
|
+
**/
|
|
1836
|
+
[prop: string]: GenericPalletEvent;
|
|
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
|
+
};
|
|
1608
1876
|
/**
|
|
1609
1877
|
* Pallet `ParaInclusion`'s events
|
|
1610
1878
|
**/
|
|
@@ -1616,10 +1884,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1616
1884
|
'ParaInclusion',
|
|
1617
1885
|
'CandidateBacked',
|
|
1618
1886
|
[
|
|
1619
|
-
|
|
1887
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
1620
1888
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1621
|
-
|
|
1622
|
-
|
|
1889
|
+
PolkadotPrimitivesV8CoreIndex,
|
|
1890
|
+
PolkadotPrimitivesV8GroupIndex,
|
|
1623
1891
|
]
|
|
1624
1892
|
>;
|
|
1625
1893
|
|
|
@@ -1630,10 +1898,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1630
1898
|
'ParaInclusion',
|
|
1631
1899
|
'CandidateIncluded',
|
|
1632
1900
|
[
|
|
1633
|
-
|
|
1901
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
1634
1902
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1635
|
-
|
|
1636
|
-
|
|
1903
|
+
PolkadotPrimitivesV8CoreIndex,
|
|
1904
|
+
PolkadotPrimitivesV8GroupIndex,
|
|
1637
1905
|
]
|
|
1638
1906
|
>;
|
|
1639
1907
|
|
|
@@ -1644,9 +1912,9 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1644
1912
|
'ParaInclusion',
|
|
1645
1913
|
'CandidateTimedOut',
|
|
1646
1914
|
[
|
|
1647
|
-
|
|
1915
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
1648
1916
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1649
|
-
|
|
1917
|
+
PolkadotPrimitivesV8CoreIndex,
|
|
1650
1918
|
]
|
|
1651
1919
|
>;
|
|
1652
1920
|
|
|
@@ -1723,6 +1991,44 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1723
1991
|
[PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
|
|
1724
1992
|
>;
|
|
1725
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
|
+
|
|
1726
2032
|
/**
|
|
1727
2033
|
* Generic pallet event
|
|
1728
2034
|
**/
|
|
@@ -1875,6 +2181,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1875
2181
|
**/
|
|
1876
2182
|
SpotPriceSet: GenericPalletEvent<'OnDemand', 'SpotPriceSet', { spotPrice: bigint }>;
|
|
1877
2183
|
|
|
2184
|
+
/**
|
|
2185
|
+
* An account was given credits.
|
|
2186
|
+
**/
|
|
2187
|
+
AccountCredited: GenericPalletEvent<'OnDemand', 'AccountCredited', { who: AccountId32; amount: bigint }>;
|
|
2188
|
+
|
|
1878
2189
|
/**
|
|
1879
2190
|
* Generic pallet event
|
|
1880
2191
|
**/
|
|
@@ -2104,7 +2415,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2104
2415
|
/**
|
|
2105
2416
|
* A core has received a new assignment from the broker chain.
|
|
2106
2417
|
**/
|
|
2107
|
-
CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core:
|
|
2418
|
+
CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV8CoreIndex }>;
|
|
2108
2419
|
|
|
2109
2420
|
/**
|
|
2110
2421
|
* Generic pallet event
|
|
@@ -2152,22 +2463,45 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2152
2463
|
/**
|
|
2153
2464
|
* Execution of an XCM message was attempted.
|
|
2154
2465
|
**/
|
|
2155
|
-
Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome:
|
|
2466
|
+
Attempted: GenericPalletEvent<'XcmPallet', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
2156
2467
|
|
|
2157
2468
|
/**
|
|
2158
|
-
*
|
|
2469
|
+
* An XCM message was sent.
|
|
2159
2470
|
**/
|
|
2160
2471
|
Sent: GenericPalletEvent<
|
|
2161
2472
|
'XcmPallet',
|
|
2162
2473
|
'Sent',
|
|
2163
2474
|
{
|
|
2164
|
-
origin:
|
|
2165
|
-
destination:
|
|
2166
|
-
message:
|
|
2475
|
+
origin: StagingXcmV5Location;
|
|
2476
|
+
destination: StagingXcmV5Location;
|
|
2477
|
+
message: StagingXcmV5Xcm;
|
|
2167
2478
|
messageId: FixedBytes<32>;
|
|
2168
2479
|
}
|
|
2169
2480
|
>;
|
|
2170
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
|
+
|
|
2171
2505
|
/**
|
|
2172
2506
|
* Query response received which does not match a registered query. This may be because a
|
|
2173
2507
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
@@ -2176,7 +2510,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2176
2510
|
UnexpectedResponse: GenericPalletEvent<
|
|
2177
2511
|
'XcmPallet',
|
|
2178
2512
|
'UnexpectedResponse',
|
|
2179
|
-
{ origin:
|
|
2513
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
2180
2514
|
>;
|
|
2181
2515
|
|
|
2182
2516
|
/**
|
|
@@ -2186,7 +2520,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2186
2520
|
ResponseReady: GenericPalletEvent<
|
|
2187
2521
|
'XcmPallet',
|
|
2188
2522
|
'ResponseReady',
|
|
2189
|
-
{ queryId: bigint; response:
|
|
2523
|
+
{ queryId: bigint; response: StagingXcmV5Response }
|
|
2190
2524
|
>;
|
|
2191
2525
|
|
|
2192
2526
|
/**
|
|
@@ -2241,7 +2575,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2241
2575
|
InvalidResponder: GenericPalletEvent<
|
|
2242
2576
|
'XcmPallet',
|
|
2243
2577
|
'InvalidResponder',
|
|
2244
|
-
{ origin:
|
|
2578
|
+
{ origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
|
|
2245
2579
|
>;
|
|
2246
2580
|
|
|
2247
2581
|
/**
|
|
@@ -2256,7 +2590,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2256
2590
|
InvalidResponderVersion: GenericPalletEvent<
|
|
2257
2591
|
'XcmPallet',
|
|
2258
2592
|
'InvalidResponderVersion',
|
|
2259
|
-
{ origin:
|
|
2593
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
2260
2594
|
>;
|
|
2261
2595
|
|
|
2262
2596
|
/**
|
|
@@ -2270,7 +2604,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2270
2604
|
AssetsTrapped: GenericPalletEvent<
|
|
2271
2605
|
'XcmPallet',
|
|
2272
2606
|
'AssetsTrapped',
|
|
2273
|
-
{ hash: H256; origin:
|
|
2607
|
+
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
2274
2608
|
>;
|
|
2275
2609
|
|
|
2276
2610
|
/**
|
|
@@ -2281,7 +2615,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2281
2615
|
VersionChangeNotified: GenericPalletEvent<
|
|
2282
2616
|
'XcmPallet',
|
|
2283
2617
|
'VersionChangeNotified',
|
|
2284
|
-
{ destination:
|
|
2618
|
+
{ destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2285
2619
|
>;
|
|
2286
2620
|
|
|
2287
2621
|
/**
|
|
@@ -2291,7 +2625,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2291
2625
|
SupportedVersionChanged: GenericPalletEvent<
|
|
2292
2626
|
'XcmPallet',
|
|
2293
2627
|
'SupportedVersionChanged',
|
|
2294
|
-
{ location:
|
|
2628
|
+
{ location: StagingXcmV5Location; version: number }
|
|
2295
2629
|
>;
|
|
2296
2630
|
|
|
2297
2631
|
/**
|
|
@@ -2301,7 +2635,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2301
2635
|
NotifyTargetSendFail: GenericPalletEvent<
|
|
2302
2636
|
'XcmPallet',
|
|
2303
2637
|
'NotifyTargetSendFail',
|
|
2304
|
-
{ location:
|
|
2638
|
+
{ location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
|
|
2305
2639
|
>;
|
|
2306
2640
|
|
|
2307
2641
|
/**
|
|
@@ -2326,7 +2660,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2326
2660
|
InvalidQuerierVersion: GenericPalletEvent<
|
|
2327
2661
|
'XcmPallet',
|
|
2328
2662
|
'InvalidQuerierVersion',
|
|
2329
|
-
{ origin:
|
|
2663
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
2330
2664
|
>;
|
|
2331
2665
|
|
|
2332
2666
|
/**
|
|
@@ -2338,10 +2672,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2338
2672
|
'XcmPallet',
|
|
2339
2673
|
'InvalidQuerier',
|
|
2340
2674
|
{
|
|
2341
|
-
origin:
|
|
2675
|
+
origin: StagingXcmV5Location;
|
|
2342
2676
|
queryId: bigint;
|
|
2343
|
-
expectedQuerier:
|
|
2344
|
-
maybeActualQuerier?:
|
|
2677
|
+
expectedQuerier: StagingXcmV5Location;
|
|
2678
|
+
maybeActualQuerier?: StagingXcmV5Location | undefined;
|
|
2345
2679
|
}
|
|
2346
2680
|
>;
|
|
2347
2681
|
|
|
@@ -2352,7 +2686,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2352
2686
|
VersionNotifyStarted: GenericPalletEvent<
|
|
2353
2687
|
'XcmPallet',
|
|
2354
2688
|
'VersionNotifyStarted',
|
|
2355
|
-
{ destination:
|
|
2689
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2356
2690
|
>;
|
|
2357
2691
|
|
|
2358
2692
|
/**
|
|
@@ -2361,7 +2695,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2361
2695
|
VersionNotifyRequested: GenericPalletEvent<
|
|
2362
2696
|
'XcmPallet',
|
|
2363
2697
|
'VersionNotifyRequested',
|
|
2364
|
-
{ destination:
|
|
2698
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2365
2699
|
>;
|
|
2366
2700
|
|
|
2367
2701
|
/**
|
|
@@ -2371,7 +2705,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2371
2705
|
VersionNotifyUnrequested: GenericPalletEvent<
|
|
2372
2706
|
'XcmPallet',
|
|
2373
2707
|
'VersionNotifyUnrequested',
|
|
2374
|
-
{ destination:
|
|
2708
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
2375
2709
|
>;
|
|
2376
2710
|
|
|
2377
2711
|
/**
|
|
@@ -2380,7 +2714,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2380
2714
|
FeesPaid: GenericPalletEvent<
|
|
2381
2715
|
'XcmPallet',
|
|
2382
2716
|
'FeesPaid',
|
|
2383
|
-
{ paying:
|
|
2717
|
+
{ paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
|
|
2384
2718
|
>;
|
|
2385
2719
|
|
|
2386
2720
|
/**
|
|
@@ -2389,7 +2723,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2389
2723
|
AssetsClaimed: GenericPalletEvent<
|
|
2390
2724
|
'XcmPallet',
|
|
2391
2725
|
'AssetsClaimed',
|
|
2392
|
-
{ hash: H256; origin:
|
|
2726
|
+
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
2393
2727
|
>;
|
|
2394
2728
|
|
|
2395
2729
|
/**
|
|
@@ -2397,6 +2731,34 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2397
2731
|
**/
|
|
2398
2732
|
VersionMigrationFinished: GenericPalletEvent<'XcmPallet', 'VersionMigrationFinished', { version: number }>;
|
|
2399
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
|
+
|
|
2400
2762
|
/**
|
|
2401
2763
|
* Generic pallet event
|
|
2402
2764
|
**/
|
|
@@ -2601,6 +2963,310 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2601
2963
|
}
|
|
2602
2964
|
>;
|
|
2603
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
|
+
|
|
2604
3270
|
/**
|
|
2605
3271
|
* Generic pallet event
|
|
2606
3272
|
**/
|