@dedot/chaintypes 0.214.0 → 0.216.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/astar/consts.d.ts +22 -9
- package/astar/errors.d.ts +43 -28
- package/astar/events.d.ts +127 -73
- package/astar/index.d.ts +1 -1
- package/astar/query.d.ts +44 -35
- package/astar/runtime.d.ts +13 -8
- package/astar/tx.d.ts +244 -139
- package/astar/types.d.ts +8628 -8354
- package/astar/view-functions.d.ts +32 -1
- package/package.json +2 -2
- package/paseo/index.d.ts +1 -1
- package/paseo-asset-hub/consts.d.ts +9 -0
- package/paseo-asset-hub/errors.d.ts +20 -0
- package/paseo-asset-hub/events.d.ts +8 -3
- package/paseo-asset-hub/index.d.ts +2 -1
- package/paseo-asset-hub/tx.d.ts +41 -0
- package/paseo-asset-hub/types.d.ts +79 -7
- package/paseo-people/consts.d.ts +9 -0
- package/paseo-people/index.d.ts +2 -1
- package/paseo-people/types.d.ts +12 -0
- package/polkadot/index.d.ts +1 -1
- package/polkadot/query.d.ts +10 -0
- package/polkadot/runtime.d.ts +0 -20
- package/polkadot/tx.d.ts +10 -10
- package/polkadot/types.d.ts +6970 -6969
- package/polkadot-asset-hub/consts.d.ts +130 -1
- package/polkadot-asset-hub/errors.d.ts +333 -0
- package/polkadot-asset-hub/events.d.ts +59 -3
- package/polkadot-asset-hub/index.d.ts +4 -1
- package/polkadot-asset-hub/query.d.ts +154 -0
- package/polkadot-asset-hub/runtime.d.ts +320 -0
- package/polkadot-asset-hub/tx.d.ts +555 -19
- package/polkadot-asset-hub/types.d.ts +14152 -12878
- package/polkadot-people/consts.d.ts +9 -0
- package/polkadot-people/index.d.ts +2 -1
- package/polkadot-people/query.d.ts +10 -0
- package/polkadot-people/types.d.ts +4313 -4297
package/astar/consts.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type {
|
|
|
8
8
|
SpWeightsRuntimeDbWeight,
|
|
9
9
|
SpWeightsWeightV2Weight,
|
|
10
10
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
11
|
+
StagingXcmV5Junctions,
|
|
11
12
|
StagingXcmV5Location,
|
|
12
13
|
PalletContractsSchedule,
|
|
13
14
|
PalletContractsEnvironment,
|
|
@@ -666,6 +667,27 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
666
667
|
* Pallet `PolkadotXcm`'s constants
|
|
667
668
|
**/
|
|
668
669
|
polkadotXcm: {
|
|
670
|
+
/**
|
|
671
|
+
* This chain's Universal Location.
|
|
672
|
+
**/
|
|
673
|
+
universalLocation: StagingXcmV5Junctions;
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* The latest supported version that we advertise. Generally just set it to
|
|
677
|
+
* `pallet_xcm::CurrentXcmVersion`.
|
|
678
|
+
**/
|
|
679
|
+
advertisedXcmVersion: number;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* The maximum number of local XCM locks that a single account may have.
|
|
683
|
+
**/
|
|
684
|
+
maxLockers: number;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* The maximum number of consumers a single remote lock may have.
|
|
688
|
+
**/
|
|
689
|
+
maxRemoteLockConsumers: number;
|
|
690
|
+
|
|
669
691
|
/**
|
|
670
692
|
* Generic pallet constant
|
|
671
693
|
**/
|
|
@@ -900,15 +922,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
900
922
|
**/
|
|
901
923
|
[name: string]: any;
|
|
902
924
|
};
|
|
903
|
-
/**
|
|
904
|
-
* Pallet `Sudo`'s constants
|
|
905
|
-
**/
|
|
906
|
-
sudo: {
|
|
907
|
-
/**
|
|
908
|
-
* Generic pallet constant
|
|
909
|
-
**/
|
|
910
|
-
[name: string]: any;
|
|
911
|
-
};
|
|
912
925
|
/**
|
|
913
926
|
* Pallet `CouncilMembership`'s constants
|
|
914
927
|
**/
|
package/astar/errors.d.ts
CHANGED
|
@@ -275,12 +275,13 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
275
275
|
SenderInSignatories: GenericPalletError;
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
|
-
* Multisig operation not found
|
|
278
|
+
* Multisig operation not found in storage.
|
|
279
279
|
**/
|
|
280
280
|
NotFound: GenericPalletError;
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
283
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
284
|
+
* its deposits.
|
|
284
285
|
**/
|
|
285
286
|
NotOwner: GenericPalletError;
|
|
286
287
|
|
|
@@ -432,16 +433,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
432
433
|
**/
|
|
433
434
|
NotScheduled: GenericPalletError;
|
|
434
435
|
|
|
435
|
-
/**
|
|
436
|
-
* No code upgrade has been authorized.
|
|
437
|
-
**/
|
|
438
|
-
NothingAuthorized: GenericPalletError;
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* The given code upgrade has not been authorized.
|
|
442
|
-
**/
|
|
443
|
-
Unauthorized: GenericPalletError;
|
|
444
|
-
|
|
445
436
|
/**
|
|
446
437
|
* Generic pallet error
|
|
447
438
|
**/
|
|
@@ -873,6 +864,16 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
873
864
|
**/
|
|
874
865
|
BadAssetId: GenericPalletError;
|
|
875
866
|
|
|
867
|
+
/**
|
|
868
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
869
|
+
**/
|
|
870
|
+
ContainsFreezes: GenericPalletError;
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
874
|
+
**/
|
|
875
|
+
ContainsHolds: GenericPalletError;
|
|
876
|
+
|
|
876
877
|
/**
|
|
877
878
|
* Generic pallet error
|
|
878
879
|
**/
|
|
@@ -888,7 +889,7 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
888
889
|
NoPermission: GenericPalletError;
|
|
889
890
|
|
|
890
891
|
/**
|
|
891
|
-
* Feeder has already
|
|
892
|
+
* Feeder has already fed at this block
|
|
892
893
|
**/
|
|
893
894
|
AlreadyFeeded: GenericPalletError;
|
|
894
895
|
|
|
@@ -1200,6 +1201,29 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1200
1201
|
**/
|
|
1201
1202
|
LocalExecutionIncomplete: GenericPalletError;
|
|
1202
1203
|
|
|
1204
|
+
/**
|
|
1205
|
+
* Too many locations authorized to alias origin.
|
|
1206
|
+
*
|
|
1207
|
+
* @deprecated Use `LocalExecutionIncompleteWithError` instead (since 20.0.0)
|
|
1208
|
+
**/
|
|
1209
|
+
TooManyAuthorizedAliases: GenericPalletError;
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* Expiry block number is in the past.
|
|
1213
|
+
**/
|
|
1214
|
+
ExpiresInPast: GenericPalletError;
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* The alias to remove authorization for was not found.
|
|
1218
|
+
**/
|
|
1219
|
+
AliasNotFound: GenericPalletError;
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
1223
|
+
* instruction that caused the error.
|
|
1224
|
+
**/
|
|
1225
|
+
LocalExecutionIncompleteWithError: GenericPalletError;
|
|
1226
|
+
|
|
1203
1227
|
/**
|
|
1204
1228
|
* Generic pallet error
|
|
1205
1229
|
**/
|
|
@@ -1302,7 +1326,7 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1302
1326
|
ZeroFee: GenericPalletError;
|
|
1303
1327
|
|
|
1304
1328
|
/**
|
|
1305
|
-
* The
|
|
1329
|
+
* The transferring asset amount is zero.
|
|
1306
1330
|
**/
|
|
1307
1331
|
ZeroAmount: GenericPalletError;
|
|
1308
1332
|
|
|
@@ -1470,6 +1494,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1470
1494
|
**/
|
|
1471
1495
|
Undefined: GenericPalletError;
|
|
1472
1496
|
|
|
1497
|
+
/**
|
|
1498
|
+
* Address not allowed to deploy contracts either via CREATE or CALL(CREATE).
|
|
1499
|
+
**/
|
|
1500
|
+
CreateOriginNotAllowed: GenericPalletError;
|
|
1501
|
+
|
|
1473
1502
|
/**
|
|
1474
1503
|
* Generic pallet error
|
|
1475
1504
|
**/
|
|
@@ -1772,20 +1801,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1772
1801
|
**/
|
|
1773
1802
|
[error: string]: GenericPalletError;
|
|
1774
1803
|
};
|
|
1775
|
-
/**
|
|
1776
|
-
* Pallet `Sudo`'s errors
|
|
1777
|
-
**/
|
|
1778
|
-
sudo: {
|
|
1779
|
-
/**
|
|
1780
|
-
* Sender must be the Sudo account.
|
|
1781
|
-
**/
|
|
1782
|
-
RequireSudo: GenericPalletError;
|
|
1783
|
-
|
|
1784
|
-
/**
|
|
1785
|
-
* Generic pallet error
|
|
1786
|
-
**/
|
|
1787
|
-
[error: string]: GenericPalletError;
|
|
1788
|
-
};
|
|
1789
1804
|
/**
|
|
1790
1805
|
* Pallet `CouncilMembership`'s errors
|
|
1791
1806
|
**/
|
package/astar/events.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import type {
|
|
|
6
6
|
FrameSystemDispatchEventInfo,
|
|
7
7
|
PalletMultisigTimepoint,
|
|
8
8
|
AstarRuntimeProxyType,
|
|
9
|
+
PalletProxyDepositKind,
|
|
9
10
|
SpWeightsWeightV2Weight,
|
|
10
11
|
FrameSupportTokensMiscBalanceStatus,
|
|
11
12
|
PalletInflationInflationConfiguration,
|
|
@@ -17,12 +18,12 @@ import type {
|
|
|
17
18
|
StagingXcmV5TraitsOutcome,
|
|
18
19
|
StagingXcmV5Location,
|
|
19
20
|
StagingXcmV5Xcm,
|
|
21
|
+
XcmV3TraitsSendError,
|
|
22
|
+
XcmV5TraitsError,
|
|
20
23
|
StagingXcmV5Response,
|
|
21
24
|
XcmVersionedAssets,
|
|
22
25
|
StagingXcmV5AssetAssets,
|
|
23
|
-
XcmV5TraitsError,
|
|
24
26
|
XcmVersionedLocation,
|
|
25
|
-
PalletXcAssetConfigMigrationStep,
|
|
26
27
|
StagingXcmV5Asset,
|
|
27
28
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
28
29
|
FrameSupportMessagesProcessMessageError,
|
|
@@ -79,6 +80,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
79
80
|
**/
|
|
80
81
|
UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
81
82
|
|
|
83
|
+
/**
|
|
84
|
+
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
85
|
+
**/
|
|
86
|
+
RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
|
|
87
|
+
'System',
|
|
88
|
+
'RejectedInvalidAuthorizedUpgrade',
|
|
89
|
+
{ codeHash: H256; error: DispatchError }
|
|
90
|
+
>;
|
|
91
|
+
|
|
82
92
|
/**
|
|
83
93
|
* Generic pallet event
|
|
84
94
|
**/
|
|
@@ -119,6 +129,16 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
119
129
|
**/
|
|
120
130
|
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
121
131
|
|
|
132
|
+
/**
|
|
133
|
+
* Main call was dispatched.
|
|
134
|
+
**/
|
|
135
|
+
IfElseMainSuccess: GenericPalletEvent<'Utility', 'IfElseMainSuccess', null>;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The fallback call was dispatched.
|
|
139
|
+
**/
|
|
140
|
+
IfElseFallbackCalled: GenericPalletEvent<'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
|
|
141
|
+
|
|
122
142
|
/**
|
|
123
143
|
* Generic pallet event
|
|
124
144
|
**/
|
|
@@ -323,6 +343,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
323
343
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
324
344
|
>;
|
|
325
345
|
|
|
346
|
+
/**
|
|
347
|
+
* The deposit for a multisig operation has been updated/poked.
|
|
348
|
+
**/
|
|
349
|
+
DepositPoked: GenericPalletEvent<
|
|
350
|
+
'Multisig',
|
|
351
|
+
'DepositPoked',
|
|
352
|
+
{ who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
|
|
353
|
+
>;
|
|
354
|
+
|
|
326
355
|
/**
|
|
327
356
|
* Generic pallet event
|
|
328
357
|
**/
|
|
@@ -347,6 +376,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
347
376
|
{ pure: AccountId32; who: AccountId32; proxyType: AstarRuntimeProxyType; disambiguationIndex: number }
|
|
348
377
|
>;
|
|
349
378
|
|
|
379
|
+
/**
|
|
380
|
+
* A pure proxy was killed by its spawner.
|
|
381
|
+
**/
|
|
382
|
+
PureKilled: GenericPalletEvent<
|
|
383
|
+
'Proxy',
|
|
384
|
+
'PureKilled',
|
|
385
|
+
{ pure: AccountId32; spawner: AccountId32; proxyType: AstarRuntimeProxyType; disambiguationIndex: number }
|
|
386
|
+
>;
|
|
387
|
+
|
|
350
388
|
/**
|
|
351
389
|
* An announcement was placed to make a call in the future.
|
|
352
390
|
**/
|
|
@@ -370,6 +408,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
370
408
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AstarRuntimeProxyType; delay: number }
|
|
371
409
|
>;
|
|
372
410
|
|
|
411
|
+
/**
|
|
412
|
+
* A deposit stored for proxies or announcements was poked / updated.
|
|
413
|
+
**/
|
|
414
|
+
DepositPoked: GenericPalletEvent<
|
|
415
|
+
'Proxy',
|
|
416
|
+
'DepositPoked',
|
|
417
|
+
{ who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
|
|
418
|
+
>;
|
|
419
|
+
|
|
373
420
|
/**
|
|
374
421
|
* Generic pallet event
|
|
375
422
|
**/
|
|
@@ -453,6 +500,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
453
500
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
454
501
|
>;
|
|
455
502
|
|
|
503
|
+
/**
|
|
504
|
+
* Agenda is incomplete from `when`.
|
|
505
|
+
**/
|
|
506
|
+
AgendaIncomplete: GenericPalletEvent<'Scheduler', 'AgendaIncomplete', { when: number }>;
|
|
507
|
+
|
|
456
508
|
/**
|
|
457
509
|
* Generic pallet event
|
|
458
510
|
**/
|
|
@@ -657,6 +709,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
657
709
|
* Pallet `Vesting`'s events
|
|
658
710
|
**/
|
|
659
711
|
vesting: {
|
|
712
|
+
/**
|
|
713
|
+
* A vesting schedule has been created.
|
|
714
|
+
**/
|
|
715
|
+
VestingCreated: GenericPalletEvent<'Vesting', 'VestingCreated', { account: AccountId32; scheduleIndex: number }>;
|
|
716
|
+
|
|
660
717
|
/**
|
|
661
718
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
662
719
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
@@ -1207,6 +1264,22 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1207
1264
|
**/
|
|
1208
1265
|
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
1209
1266
|
|
|
1267
|
+
/**
|
|
1268
|
+
* The `NewSession` event in the current block also implies a new validator set to be
|
|
1269
|
+
* queued.
|
|
1270
|
+
**/
|
|
1271
|
+
NewQueued: GenericPalletEvent<'Session', 'NewQueued', null>;
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* Validator has been disabled.
|
|
1275
|
+
**/
|
|
1276
|
+
ValidatorDisabled: GenericPalletEvent<'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* Validator has been re-enabled.
|
|
1280
|
+
**/
|
|
1281
|
+
ValidatorReenabled: GenericPalletEvent<'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
|
|
1282
|
+
|
|
1210
1283
|
/**
|
|
1211
1284
|
* Generic pallet event
|
|
1212
1285
|
**/
|
|
@@ -1236,7 +1309,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1236
1309
|
Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
1237
1310
|
|
|
1238
1311
|
/**
|
|
1239
|
-
*
|
|
1312
|
+
* An XCM message was sent.
|
|
1240
1313
|
**/
|
|
1241
1314
|
Sent: GenericPalletEvent<
|
|
1242
1315
|
'PolkadotXcm',
|
|
@@ -1249,6 +1322,29 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1249
1322
|
}
|
|
1250
1323
|
>;
|
|
1251
1324
|
|
|
1325
|
+
/**
|
|
1326
|
+
* An XCM message failed to send.
|
|
1327
|
+
**/
|
|
1328
|
+
SendFailed: GenericPalletEvent<
|
|
1329
|
+
'PolkadotXcm',
|
|
1330
|
+
'SendFailed',
|
|
1331
|
+
{
|
|
1332
|
+
origin: StagingXcmV5Location;
|
|
1333
|
+
destination: StagingXcmV5Location;
|
|
1334
|
+
error: XcmV3TraitsSendError;
|
|
1335
|
+
messageId: FixedBytes<32>;
|
|
1336
|
+
}
|
|
1337
|
+
>;
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* An XCM message failed to process.
|
|
1341
|
+
**/
|
|
1342
|
+
ProcessXcmError: GenericPalletEvent<
|
|
1343
|
+
'PolkadotXcm',
|
|
1344
|
+
'ProcessXcmError',
|
|
1345
|
+
{ origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
|
|
1346
|
+
>;
|
|
1347
|
+
|
|
1252
1348
|
/**
|
|
1253
1349
|
* Query response received which does not match a registered query. This may be because a
|
|
1254
1350
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
@@ -1482,6 +1578,34 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1482
1578
|
**/
|
|
1483
1579
|
VersionMigrationFinished: GenericPalletEvent<'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
|
|
1484
1580
|
|
|
1581
|
+
/**
|
|
1582
|
+
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
1583
|
+
* `expiry` block number.
|
|
1584
|
+
**/
|
|
1585
|
+
AliasAuthorized: GenericPalletEvent<
|
|
1586
|
+
'PolkadotXcm',
|
|
1587
|
+
'AliasAuthorized',
|
|
1588
|
+
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
|
|
1589
|
+
>;
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* `target` removed alias authorization for `aliaser`.
|
|
1593
|
+
**/
|
|
1594
|
+
AliasAuthorizationRemoved: GenericPalletEvent<
|
|
1595
|
+
'PolkadotXcm',
|
|
1596
|
+
'AliasAuthorizationRemoved',
|
|
1597
|
+
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
|
|
1598
|
+
>;
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* `target` removed all alias authorizations.
|
|
1602
|
+
**/
|
|
1603
|
+
AliasesAuthorizationsRemoved: GenericPalletEvent<
|
|
1604
|
+
'PolkadotXcm',
|
|
1605
|
+
'AliasesAuthorizationsRemoved',
|
|
1606
|
+
{ target: StagingXcmV5Location }
|
|
1607
|
+
>;
|
|
1608
|
+
|
|
1485
1609
|
/**
|
|
1486
1610
|
* Generic pallet event
|
|
1487
1611
|
**/
|
|
@@ -1563,15 +1687,6 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1563
1687
|
{ assetLocation: XcmVersionedLocation; assetId: bigint }
|
|
1564
1688
|
>;
|
|
1565
1689
|
|
|
1566
|
-
/**
|
|
1567
|
-
* Notify when the migration step is updated.
|
|
1568
|
-
**/
|
|
1569
|
-
MigrationStepUpdated: GenericPalletEvent<
|
|
1570
|
-
'XcAssetConfig',
|
|
1571
|
-
'MigrationStepUpdated',
|
|
1572
|
-
{ newMigrationStep: PalletXcAssetConfigMigrationStep }
|
|
1573
|
-
>;
|
|
1574
|
-
|
|
1575
1690
|
/**
|
|
1576
1691
|
* Generic pallet event
|
|
1577
1692
|
**/
|
|
@@ -1972,67 +2087,6 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1972
2087
|
**/
|
|
1973
2088
|
[prop: string]: GenericPalletEvent;
|
|
1974
2089
|
};
|
|
1975
|
-
/**
|
|
1976
|
-
* Pallet `Sudo`'s events
|
|
1977
|
-
**/
|
|
1978
|
-
sudo: {
|
|
1979
|
-
/**
|
|
1980
|
-
* A sudo call just took place.
|
|
1981
|
-
**/
|
|
1982
|
-
Sudid: GenericPalletEvent<
|
|
1983
|
-
'Sudo',
|
|
1984
|
-
'Sudid',
|
|
1985
|
-
{
|
|
1986
|
-
/**
|
|
1987
|
-
* The result of the call made by the sudo user.
|
|
1988
|
-
**/
|
|
1989
|
-
sudoResult: Result<[], DispatchError>;
|
|
1990
|
-
}
|
|
1991
|
-
>;
|
|
1992
|
-
|
|
1993
|
-
/**
|
|
1994
|
-
* The sudo key has been updated.
|
|
1995
|
-
**/
|
|
1996
|
-
KeyChanged: GenericPalletEvent<
|
|
1997
|
-
'Sudo',
|
|
1998
|
-
'KeyChanged',
|
|
1999
|
-
{
|
|
2000
|
-
/**
|
|
2001
|
-
* The old sudo key (if one was previously set).
|
|
2002
|
-
**/
|
|
2003
|
-
old?: AccountId32 | undefined;
|
|
2004
|
-
|
|
2005
|
-
/**
|
|
2006
|
-
* The new sudo key (if one was set).
|
|
2007
|
-
**/
|
|
2008
|
-
new: AccountId32;
|
|
2009
|
-
}
|
|
2010
|
-
>;
|
|
2011
|
-
|
|
2012
|
-
/**
|
|
2013
|
-
* The key was permanently removed.
|
|
2014
|
-
**/
|
|
2015
|
-
KeyRemoved: GenericPalletEvent<'Sudo', 'KeyRemoved', null>;
|
|
2016
|
-
|
|
2017
|
-
/**
|
|
2018
|
-
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
2019
|
-
**/
|
|
2020
|
-
SudoAsDone: GenericPalletEvent<
|
|
2021
|
-
'Sudo',
|
|
2022
|
-
'SudoAsDone',
|
|
2023
|
-
{
|
|
2024
|
-
/**
|
|
2025
|
-
* The result of the call made by the sudo user.
|
|
2026
|
-
**/
|
|
2027
|
-
sudoResult: Result<[], DispatchError>;
|
|
2028
|
-
}
|
|
2029
|
-
>;
|
|
2030
|
-
|
|
2031
|
-
/**
|
|
2032
|
-
* Generic pallet event
|
|
2033
|
-
**/
|
|
2034
|
-
[prop: string]: GenericPalletEvent;
|
|
2035
|
-
};
|
|
2036
2090
|
/**
|
|
2037
2091
|
* Pallet `CouncilMembership`'s events
|
|
2038
2092
|
**/
|
package/astar/index.d.ts
CHANGED
package/astar/query.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import type {
|
|
|
21
21
|
FrameSystemEventRecord,
|
|
22
22
|
FrameSystemLastRuntimeUpgradeInfo,
|
|
23
23
|
FrameSystemCodeUpgradeAuthorization,
|
|
24
|
+
SpWeightsWeightV2Weight,
|
|
24
25
|
PalletIdentityRegistration,
|
|
25
26
|
PalletIdentityRegistrarInfo,
|
|
26
27
|
PalletIdentityAuthorityProperties,
|
|
@@ -42,7 +43,6 @@ import type {
|
|
|
42
43
|
CumulusPrimitivesParachainInherentMessageQueueChain,
|
|
43
44
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
44
45
|
PolkadotCorePrimitivesOutboundHrmpMessage,
|
|
45
|
-
SpWeightsWeightV2Weight,
|
|
46
46
|
PalletTransactionPaymentReleases,
|
|
47
47
|
PalletBalancesAccountData,
|
|
48
48
|
PalletBalancesBalanceLock,
|
|
@@ -77,6 +77,7 @@ import type {
|
|
|
77
77
|
OrmlUtilitiesOrderedSet,
|
|
78
78
|
PalletCollatorSelectionCandidateInfo,
|
|
79
79
|
AstarRuntimeSessionKeys,
|
|
80
|
+
SpStakingOffenceOffenceSeverity,
|
|
80
81
|
SpCoreCryptoKeyTypeId,
|
|
81
82
|
SpConsensusAuraSr25519AppSr25519Public,
|
|
82
83
|
SpConsensusSlotsSlot,
|
|
@@ -88,14 +89,14 @@ import type {
|
|
|
88
89
|
PalletXcmRemoteLockedFungibleRecord,
|
|
89
90
|
XcmVersionedAssetId,
|
|
90
91
|
StagingXcmV5Xcm,
|
|
91
|
-
|
|
92
|
+
PalletXcmAuthorizedAliasesEntry,
|
|
92
93
|
PalletMessageQueueBookState,
|
|
93
94
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
94
95
|
PalletMessageQueuePage,
|
|
95
96
|
PalletEvmCodeMetadata,
|
|
96
|
-
|
|
97
|
+
EthereumTransactionTransactionV3,
|
|
97
98
|
FpRpcTransactionStatus,
|
|
98
|
-
|
|
99
|
+
EthereumReceiptReceiptV4,
|
|
99
100
|
EthereumBlock,
|
|
100
101
|
PalletContractsWasmCodeInfo,
|
|
101
102
|
PalletContractsStorageContractInfo,
|
|
@@ -264,6 +265,19 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
264
265
|
**/
|
|
265
266
|
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
266
267
|
|
|
268
|
+
/**
|
|
269
|
+
* The weight reclaimed for the extrinsic.
|
|
270
|
+
*
|
|
271
|
+
* This information is available until the end of the extrinsic execution.
|
|
272
|
+
* More precisely this information is removed in `note_applied_extrinsic`.
|
|
273
|
+
*
|
|
274
|
+
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
|
|
275
|
+
* reduction.
|
|
276
|
+
*
|
|
277
|
+
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
278
|
+
**/
|
|
279
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
280
|
+
|
|
267
281
|
/**
|
|
268
282
|
* Generic pallet storage query
|
|
269
283
|
**/
|
|
@@ -453,6 +467,7 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
453
467
|
**/
|
|
454
468
|
scheduler: {
|
|
455
469
|
/**
|
|
470
|
+
* Block number at which the agenda began incomplete execution.
|
|
456
471
|
*
|
|
457
472
|
* @param {Callback<number | undefined> =} callback
|
|
458
473
|
**/
|
|
@@ -1351,9 +1366,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1351
1366
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
|
1352
1367
|
* a new set of identities.
|
|
1353
1368
|
*
|
|
1354
|
-
* @param {Callback<Array<number>> =} callback
|
|
1369
|
+
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
1355
1370
|
**/
|
|
1356
|
-
disabledValidators: GenericStorageQuery<() => Array<number>>;
|
|
1371
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
1357
1372
|
|
|
1358
1373
|
/**
|
|
1359
1374
|
* The next session keys for a validator.
|
|
@@ -1420,13 +1435,14 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1420
1435
|
authorities: GenericStorageQuery<() => Array<SpConsensusAuraSr25519AppSr25519Public>>;
|
|
1421
1436
|
|
|
1422
1437
|
/**
|
|
1423
|
-
* Current slot paired with a number of authored blocks.
|
|
1438
|
+
* Current relay chain slot paired with a number of authored blocks.
|
|
1424
1439
|
*
|
|
1425
|
-
*
|
|
1440
|
+
* This is updated in [`FixedVelocityConsensusHook::on_state_proof`] with the current relay
|
|
1441
|
+
* chain slot as provided by the relay chain state proof.
|
|
1426
1442
|
*
|
|
1427
1443
|
* @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
|
|
1428
1444
|
**/
|
|
1429
|
-
|
|
1445
|
+
relaySlotInfo: GenericStorageQuery<() => [SpConsensusSlotsSlot, number] | undefined>;
|
|
1430
1446
|
|
|
1431
1447
|
/**
|
|
1432
1448
|
* Generic pallet storage query
|
|
@@ -1657,6 +1673,19 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1657
1673
|
**/
|
|
1658
1674
|
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
1659
1675
|
|
|
1676
|
+
/**
|
|
1677
|
+
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
1678
|
+
* other locations to alias into it. Each aliaser is only valid until its inner `expiry`
|
|
1679
|
+
* block number.
|
|
1680
|
+
*
|
|
1681
|
+
* @param {XcmVersionedLocation} arg
|
|
1682
|
+
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
1683
|
+
**/
|
|
1684
|
+
authorizedAliases: GenericStorageQuery<
|
|
1685
|
+
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
1686
|
+
XcmVersionedLocation
|
|
1687
|
+
>;
|
|
1688
|
+
|
|
1660
1689
|
/**
|
|
1661
1690
|
* Generic pallet storage query
|
|
1662
1691
|
**/
|
|
@@ -1700,12 +1729,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1700
1729
|
XcmVersionedLocation
|
|
1701
1730
|
>;
|
|
1702
1731
|
|
|
1703
|
-
/**
|
|
1704
|
-
*
|
|
1705
|
-
* @param {Callback<PalletXcAssetConfigMigrationStep> =} callback
|
|
1706
|
-
**/
|
|
1707
|
-
assetHubMigrationStep: GenericStorageQuery<() => PalletXcAssetConfigMigrationStep>;
|
|
1708
|
-
|
|
1709
1732
|
/**
|
|
1710
1733
|
* Generic pallet storage query
|
|
1711
1734
|
**/
|
|
@@ -1787,10 +1810,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1787
1810
|
* Mapping from transaction index to transaction in the current building block.
|
|
1788
1811
|
*
|
|
1789
1812
|
* @param {number} arg
|
|
1790
|
-
* @param {Callback<[
|
|
1813
|
+
* @param {Callback<[EthereumTransactionTransactionV3, FpRpcTransactionStatus, EthereumReceiptReceiptV4] | undefined> =} callback
|
|
1791
1814
|
**/
|
|
1792
1815
|
pending: GenericStorageQuery<
|
|
1793
|
-
(arg: number) => [
|
|
1816
|
+
(arg: number) => [EthereumTransactionTransactionV3, FpRpcTransactionStatus, EthereumReceiptReceiptV4] | undefined,
|
|
1794
1817
|
number
|
|
1795
1818
|
>;
|
|
1796
1819
|
|
|
@@ -1811,9 +1834,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1811
1834
|
/**
|
|
1812
1835
|
* The current Ethereum receipts.
|
|
1813
1836
|
*
|
|
1814
|
-
* @param {Callback<Array<
|
|
1837
|
+
* @param {Callback<Array<EthereumReceiptReceiptV4> | undefined> =} callback
|
|
1815
1838
|
**/
|
|
1816
|
-
currentReceipts: GenericStorageQuery<() => Array<
|
|
1839
|
+
currentReceipts: GenericStorageQuery<() => Array<EthereumReceiptReceiptV4> | undefined>;
|
|
1817
1840
|
|
|
1818
1841
|
/**
|
|
1819
1842
|
* The current transaction statuses.
|
|
@@ -1951,6 +1974,8 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1951
1974
|
*
|
|
1952
1975
|
* @param {H256} arg
|
|
1953
1976
|
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
1977
|
+
*
|
|
1978
|
+
* @deprecated RequestStatusFor
|
|
1954
1979
|
**/
|
|
1955
1980
|
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
1956
1981
|
|
|
@@ -1974,22 +1999,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1974
1999
|
**/
|
|
1975
2000
|
[storage: string]: GenericStorageQuery;
|
|
1976
2001
|
};
|
|
1977
|
-
/**
|
|
1978
|
-
* Pallet `Sudo`'s storage queries
|
|
1979
|
-
**/
|
|
1980
|
-
sudo: {
|
|
1981
|
-
/**
|
|
1982
|
-
* The `AccountId` of the sudo key.
|
|
1983
|
-
*
|
|
1984
|
-
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1985
|
-
**/
|
|
1986
|
-
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
1987
|
-
|
|
1988
|
-
/**
|
|
1989
|
-
* Generic pallet storage query
|
|
1990
|
-
**/
|
|
1991
|
-
[storage: string]: GenericStorageQuery;
|
|
1992
|
-
};
|
|
1993
2002
|
/**
|
|
1994
2003
|
* Pallet `CouncilMembership`'s storage queries
|
|
1995
2004
|
**/
|