@polkadot/api-augment 16.4.9 → 16.5.1
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/assetHubKusama/consts.d.ts +598 -4
- package/assetHubKusama/errors.d.ts +1278 -49
- package/assetHubKusama/events.d.ts +1691 -127
- package/assetHubKusama/query.d.ts +1175 -26
- package/assetHubKusama/runtime.d.ts +211 -8
- package/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/assetHubKusama/consts.d.ts +598 -4
- package/cjs/assetHubKusama/errors.d.ts +1278 -49
- package/cjs/assetHubKusama/events.d.ts +1691 -127
- package/cjs/assetHubKusama/query.d.ts +1175 -26
- package/cjs/assetHubKusama/runtime.d.ts +211 -8
- package/cjs/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/kusama/consts.d.ts +46 -104
- package/cjs/kusama/errors.d.ts +113 -121
- package/cjs/kusama/events.d.ts +258 -228
- package/cjs/kusama/query.d.ts +211 -104
- package/cjs/kusama/tx.d.ts +451 -236
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +40 -2
- package/cjs/polkadot/errors.d.ts +113 -0
- package/cjs/polkadot/events.d.ts +247 -1
- package/cjs/polkadot/query.d.ts +218 -4
- package/cjs/polkadot/runtime.d.ts +15 -1
- package/cjs/polkadot/tx.d.ts +399 -12
- package/kusama/consts.d.ts +46 -104
- package/kusama/errors.d.ts +113 -121
- package/kusama/events.d.ts +258 -228
- package/kusama/query.d.ts +211 -104
- package/kusama/tx.d.ts +451 -236
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +40 -2
- package/polkadot/errors.d.ts +113 -0
- package/polkadot/events.d.ts +247 -1
- package/polkadot/query.d.ts +218 -4
- package/polkadot/runtime.d.ts +15 -1
- package/polkadot/tx.d.ts +399 -12
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/packageDetect.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "16.
|
|
21
|
+
"version": "16.5.1",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -603,11 +603,11 @@
|
|
|
603
603
|
}
|
|
604
604
|
},
|
|
605
605
|
"dependencies": {
|
|
606
|
-
"@polkadot/api-base": "16.
|
|
607
|
-
"@polkadot/rpc-augment": "16.
|
|
608
|
-
"@polkadot/types": "16.
|
|
609
|
-
"@polkadot/types-augment": "16.
|
|
610
|
-
"@polkadot/types-codec": "16.
|
|
606
|
+
"@polkadot/api-base": "16.5.1",
|
|
607
|
+
"@polkadot/rpc-augment": "16.5.1",
|
|
608
|
+
"@polkadot/types": "16.5.1",
|
|
609
|
+
"@polkadot/types-augment": "16.5.1",
|
|
610
|
+
"@polkadot/types-codec": "16.5.1",
|
|
611
611
|
"@polkadot/util": "^13.5.7",
|
|
612
612
|
"tslib": "^2.8.1"
|
|
613
613
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '16.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '16.5.1' };
|
package/polkadot/consts.d.ts
CHANGED
|
@@ -258,8 +258,13 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
258
258
|
**/
|
|
259
259
|
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
|
|
260
260
|
/**
|
|
261
|
-
*
|
|
262
|
-
*
|
|
261
|
+
* Maximum number of voters that can support a winner in an election solution.
|
|
262
|
+
*
|
|
263
|
+
* This is needed to ensure election computation is bounded.
|
|
264
|
+
**/
|
|
265
|
+
maxBackersPerWinner: u32 & AugmentedConst<ApiType>;
|
|
266
|
+
/**
|
|
267
|
+
* Maximum number of winners that an election supports.
|
|
263
268
|
*
|
|
264
269
|
* Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
|
|
265
270
|
**/
|
|
@@ -586,6 +591,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
586
591
|
**/
|
|
587
592
|
[key: string]: Codec;
|
|
588
593
|
};
|
|
594
|
+
session: {
|
|
595
|
+
/**
|
|
596
|
+
* The amount to be held when setting keys.
|
|
597
|
+
**/
|
|
598
|
+
keyDeposit: u128 & AugmentedConst<ApiType>;
|
|
599
|
+
/**
|
|
600
|
+
* Generic const
|
|
601
|
+
**/
|
|
602
|
+
[key: string]: Codec;
|
|
603
|
+
};
|
|
589
604
|
slots: {
|
|
590
605
|
/**
|
|
591
606
|
* The number of blocks to offset each lease period by.
|
|
@@ -655,6 +670,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
655
670
|
* this effect.
|
|
656
671
|
**/
|
|
657
672
|
maxUnlockingChunks: u32 & AugmentedConst<ApiType>;
|
|
673
|
+
/**
|
|
674
|
+
* The absolute maximum of winner validators this pallet should return.
|
|
675
|
+
**/
|
|
676
|
+
maxValidatorSet: u32 & AugmentedConst<ApiType>;
|
|
658
677
|
/**
|
|
659
678
|
* Number of sessions per era.
|
|
660
679
|
**/
|
|
@@ -883,6 +902,13 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
883
902
|
* With that `List::migrate` can be called, which will perform the appropriate migration.
|
|
884
903
|
**/
|
|
885
904
|
bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
|
|
905
|
+
/**
|
|
906
|
+
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
|
|
907
|
+
*
|
|
908
|
+
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
|
|
909
|
+
* the feature.
|
|
910
|
+
**/
|
|
911
|
+
maxAutoRebagPerBlock: u32 & AugmentedConst<ApiType>;
|
|
886
912
|
/**
|
|
887
913
|
* Generic const
|
|
888
914
|
**/
|
|
@@ -894,6 +920,18 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
894
920
|
* `pallet_xcm::CurrentXcmVersion`.
|
|
895
921
|
**/
|
|
896
922
|
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
|
923
|
+
/**
|
|
924
|
+
* The maximum number of local XCM locks that a single account may have.
|
|
925
|
+
**/
|
|
926
|
+
maxLockers: u32 & AugmentedConst<ApiType>;
|
|
927
|
+
/**
|
|
928
|
+
* The maximum number of consumers a single remote lock may have.
|
|
929
|
+
**/
|
|
930
|
+
maxRemoteLockConsumers: u32 & AugmentedConst<ApiType>;
|
|
931
|
+
/**
|
|
932
|
+
* This chain's Universal Location.
|
|
933
|
+
**/
|
|
934
|
+
universalLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
|
|
897
935
|
/**
|
|
898
936
|
* Generic const
|
|
899
937
|
**/
|
package/polkadot/errors.d.ts
CHANGED
|
@@ -186,6 +186,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
186
186
|
* Invalid bounty value.
|
|
187
187
|
**/
|
|
188
188
|
InvalidValue: AugmentedError<ApiType>;
|
|
189
|
+
/**
|
|
190
|
+
* User is not the proposer of the bounty.
|
|
191
|
+
**/
|
|
192
|
+
NotProposer: AugmentedError<ApiType>;
|
|
189
193
|
/**
|
|
190
194
|
* A bounty payout is pending.
|
|
191
195
|
* To cancel the bounty, you must unassign and slash the curator.
|
|
@@ -1183,10 +1187,18 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1183
1187
|
* Parachain cannot currently schedule a code upgrade.
|
|
1184
1188
|
**/
|
|
1185
1189
|
CannotUpgradeCode: AugmentedError<ApiType>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Invalid block number.
|
|
1192
|
+
**/
|
|
1193
|
+
InvalidBlockNumber: AugmentedError<ApiType>;
|
|
1186
1194
|
/**
|
|
1187
1195
|
* Invalid validation code size.
|
|
1188
1196
|
**/
|
|
1189
1197
|
InvalidCode: AugmentedError<ApiType>;
|
|
1198
|
+
/**
|
|
1199
|
+
* No upgrade authorized.
|
|
1200
|
+
**/
|
|
1201
|
+
NothingAuthorized: AugmentedError<ApiType>;
|
|
1190
1202
|
/**
|
|
1191
1203
|
* Para is not registered in our system.
|
|
1192
1204
|
**/
|
|
@@ -1215,6 +1227,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1215
1227
|
* Claimed validator index is out of bounds.
|
|
1216
1228
|
**/
|
|
1217
1229
|
PvfCheckValidatorIndexOutOfBounds: AugmentedError<ApiType>;
|
|
1230
|
+
/**
|
|
1231
|
+
* The submitted code is not authorized.
|
|
1232
|
+
**/
|
|
1233
|
+
Unauthorized: AugmentedError<ApiType>;
|
|
1218
1234
|
/**
|
|
1219
1235
|
* Generic error
|
|
1220
1236
|
**/
|
|
@@ -1369,6 +1385,84 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1369
1385
|
**/
|
|
1370
1386
|
[key: string]: AugmentedError<ApiType>;
|
|
1371
1387
|
};
|
|
1388
|
+
rcMigrator: {
|
|
1389
|
+
/**
|
|
1390
|
+
* The account is referenced by some other pallet. It might have freezes or holds.
|
|
1391
|
+
**/
|
|
1392
|
+
AccountReferenced: AugmentedError<ApiType>;
|
|
1393
|
+
/**
|
|
1394
|
+
* The AH UMP queue priority configuration is already set.
|
|
1395
|
+
**/
|
|
1396
|
+
AhUmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
|
|
1397
|
+
/**
|
|
1398
|
+
* The XCM version is invalid.
|
|
1399
|
+
**/
|
|
1400
|
+
BadXcmVersion: AugmentedError<ApiType>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Balance accounting overflow.
|
|
1403
|
+
**/
|
|
1404
|
+
BalanceOverflow: AugmentedError<ApiType>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Balance accounting underflow.
|
|
1407
|
+
**/
|
|
1408
|
+
BalanceUnderflow: AugmentedError<ApiType>;
|
|
1409
|
+
/**
|
|
1410
|
+
* Indicates that there is not enough time for staking to lock.
|
|
1411
|
+
*
|
|
1412
|
+
* Schedule the migration at least two sessions before the current era ends.
|
|
1413
|
+
**/
|
|
1414
|
+
EraEndsTooSoon: AugmentedError<ApiType>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Failed to withdraw account from RC for migration to AH.
|
|
1417
|
+
**/
|
|
1418
|
+
FailedToWithdrawAccount: AugmentedError<ApiType>;
|
|
1419
|
+
/**
|
|
1420
|
+
* The origin is invalid.
|
|
1421
|
+
**/
|
|
1422
|
+
InvalidOrigin: AugmentedError<ApiType>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Invalid parameter.
|
|
1425
|
+
**/
|
|
1426
|
+
InvalidParameter: AugmentedError<ApiType>;
|
|
1427
|
+
/**
|
|
1428
|
+
* The query response is invalid.
|
|
1429
|
+
**/
|
|
1430
|
+
InvalidQueryResponse: AugmentedError<ApiType>;
|
|
1431
|
+
/**
|
|
1432
|
+
* The stage transition is invalid.
|
|
1433
|
+
**/
|
|
1434
|
+
InvalidStageTransition: AugmentedError<ApiType>;
|
|
1435
|
+
OutOfWeight: AugmentedError<ApiType>;
|
|
1436
|
+
/**
|
|
1437
|
+
* Indicates that the specified block number is in the past.
|
|
1438
|
+
**/
|
|
1439
|
+
PastBlockNumber: AugmentedError<ApiType>;
|
|
1440
|
+
/**
|
|
1441
|
+
* The xcm query was not found.
|
|
1442
|
+
**/
|
|
1443
|
+
QueryNotFound: AugmentedError<ApiType>;
|
|
1444
|
+
Unreachable: AugmentedError<ApiType>;
|
|
1445
|
+
/**
|
|
1446
|
+
* The migration stage is not reachable from the current stage.
|
|
1447
|
+
**/
|
|
1448
|
+
UnreachableStage: AugmentedError<ApiType>;
|
|
1449
|
+
/**
|
|
1450
|
+
* Unsigned validation failed.
|
|
1451
|
+
**/
|
|
1452
|
+
UnsignedValidationFailed: AugmentedError<ApiType>;
|
|
1453
|
+
/**
|
|
1454
|
+
* Failed to send XCM message to AH.
|
|
1455
|
+
**/
|
|
1456
|
+
XcmError: AugmentedError<ApiType>;
|
|
1457
|
+
/**
|
|
1458
|
+
* Failed to send XCM message.
|
|
1459
|
+
**/
|
|
1460
|
+
XcmSendError: AugmentedError<ApiType>;
|
|
1461
|
+
/**
|
|
1462
|
+
* Generic error
|
|
1463
|
+
**/
|
|
1464
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1465
|
+
};
|
|
1372
1466
|
referenda: {
|
|
1373
1467
|
/**
|
|
1374
1468
|
* The referendum index provided is invalid in this context.
|
|
@@ -1708,6 +1802,16 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1708
1802
|
**/
|
|
1709
1803
|
[key: string]: AugmentedError<ApiType>;
|
|
1710
1804
|
};
|
|
1805
|
+
stakingAhClient: {
|
|
1806
|
+
/**
|
|
1807
|
+
* Could not process incoming message because incoming messages are blocked.
|
|
1808
|
+
**/
|
|
1809
|
+
Blocked: AugmentedError<ApiType>;
|
|
1810
|
+
/**
|
|
1811
|
+
* Generic error
|
|
1812
|
+
**/
|
|
1813
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1814
|
+
};
|
|
1711
1815
|
stateTrieMigration: {
|
|
1712
1816
|
/**
|
|
1713
1817
|
* Bad child root provided.
|
|
@@ -1883,6 +1987,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1883
1987
|
* A error in the list interface implementation.
|
|
1884
1988
|
**/
|
|
1885
1989
|
List: AugmentedError<ApiType>;
|
|
1990
|
+
/**
|
|
1991
|
+
* Could not update a node, because the pallet is locked.
|
|
1992
|
+
**/
|
|
1993
|
+
Locked: AugmentedError<ApiType>;
|
|
1886
1994
|
/**
|
|
1887
1995
|
* Generic error
|
|
1888
1996
|
**/
|
|
@@ -1984,6 +2092,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1984
2092
|
* Local XCM execution incomplete.
|
|
1985
2093
|
**/
|
|
1986
2094
|
LocalExecutionIncomplete: AugmentedError<ApiType>;
|
|
2095
|
+
/**
|
|
2096
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
2097
|
+
* instruction that caused the error.
|
|
2098
|
+
**/
|
|
2099
|
+
LocalExecutionIncompleteWithError: AugmentedError<ApiType>;
|
|
1987
2100
|
/**
|
|
1988
2101
|
* A remote lock with the corresponding data could not be found.
|
|
1989
2102
|
**/
|
package/polkadot/events.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
|
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
6
|
import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
|
7
|
+
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientUnexpectedKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3MaybeErrorCode, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
|
8
8
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
9
9
|
declare module '@polkadot/api-base/types/events' {
|
|
10
10
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -220,6 +220,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
220
220
|
to: AccountId32;
|
|
221
221
|
amount: u128;
|
|
222
222
|
}>;
|
|
223
|
+
/**
|
|
224
|
+
* An unexpected/defensive event was triggered.
|
|
225
|
+
**/
|
|
226
|
+
Unexpected: AugmentedEvent<ApiType, [PalletBalancesUnexpectedKind]>;
|
|
223
227
|
/**
|
|
224
228
|
* Some balance was unlocked.
|
|
225
229
|
**/
|
|
@@ -325,6 +329,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
325
329
|
CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], {
|
|
326
330
|
bountyId: u32;
|
|
327
331
|
}>;
|
|
332
|
+
/**
|
|
333
|
+
* A bounty deposit has been poked.
|
|
334
|
+
**/
|
|
335
|
+
DepositPoked: AugmentedEvent<ApiType, [bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128], {
|
|
336
|
+
bountyId: u32;
|
|
337
|
+
proposer: AccountId32;
|
|
338
|
+
oldDeposit: u128;
|
|
339
|
+
newDeposit: u128;
|
|
340
|
+
}>;
|
|
328
341
|
/**
|
|
329
342
|
* Generic event
|
|
330
343
|
**/
|
|
@@ -660,6 +673,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
660
673
|
**/
|
|
661
674
|
[key: string]: AugmentedEvent<ApiType>;
|
|
662
675
|
};
|
|
676
|
+
historical: {
|
|
677
|
+
/**
|
|
678
|
+
* The merkle roots of up to this session index were pruned
|
|
679
|
+
**/
|
|
680
|
+
RootsPruned: AugmentedEvent<ApiType, [upTo: u32], {
|
|
681
|
+
upTo: u32;
|
|
682
|
+
}>;
|
|
683
|
+
/**
|
|
684
|
+
* The merkle root of the validators of the said session were stored
|
|
685
|
+
**/
|
|
686
|
+
RootStored: AugmentedEvent<ApiType, [index: u32], {
|
|
687
|
+
index: u32;
|
|
688
|
+
}>;
|
|
689
|
+
/**
|
|
690
|
+
* Generic event
|
|
691
|
+
**/
|
|
692
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
693
|
+
};
|
|
663
694
|
hrmp: {
|
|
664
695
|
/**
|
|
665
696
|
* HRMP channel closed.
|
|
@@ -1120,6 +1151,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1120
1151
|
* A para has been queued to execute pending actions. `para_id`
|
|
1121
1152
|
**/
|
|
1122
1153
|
ActionQueued: AugmentedEvent<ApiType, [u32, u32]>;
|
|
1154
|
+
/**
|
|
1155
|
+
* A new code hash has been authorized for a Para.
|
|
1156
|
+
**/
|
|
1157
|
+
CodeAuthorized: AugmentedEvent<ApiType, [paraId: u32, codeHash: H256, expireAt: u32], {
|
|
1158
|
+
paraId: u32;
|
|
1159
|
+
codeHash: H256;
|
|
1160
|
+
expireAt: u32;
|
|
1161
|
+
}>;
|
|
1123
1162
|
/**
|
|
1124
1163
|
* A code upgrade has been scheduled for a Para. `para_id`
|
|
1125
1164
|
**/
|
|
@@ -1151,6 +1190,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1151
1190
|
* code. `code_hash` `para_id`
|
|
1152
1191
|
**/
|
|
1153
1192
|
PvfCheckStarted: AugmentedEvent<ApiType, [H256, u32]>;
|
|
1193
|
+
/**
|
|
1194
|
+
* The upgrade cooldown was removed.
|
|
1195
|
+
**/
|
|
1196
|
+
UpgradeCooldownRemoved: AugmentedEvent<ApiType, [paraId: u32], {
|
|
1197
|
+
paraId: u32;
|
|
1198
|
+
}>;
|
|
1154
1199
|
/**
|
|
1155
1200
|
* Generic event
|
|
1156
1201
|
**/
|
|
@@ -1254,6 +1299,163 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1254
1299
|
proxyType: PolkadotRuntimeConstantsProxyProxyType;
|
|
1255
1300
|
disambiguationIndex: u16;
|
|
1256
1301
|
}>;
|
|
1302
|
+
/**
|
|
1303
|
+
* A pure proxy was killed by its spawner.
|
|
1304
|
+
**/
|
|
1305
|
+
PureKilled: AugmentedEvent<ApiType, [pure: AccountId32, spawner: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16], {
|
|
1306
|
+
pure: AccountId32;
|
|
1307
|
+
spawner: AccountId32;
|
|
1308
|
+
proxyType: PolkadotRuntimeConstantsProxyProxyType;
|
|
1309
|
+
disambiguationIndex: u16;
|
|
1310
|
+
}>;
|
|
1311
|
+
/**
|
|
1312
|
+
* Generic event
|
|
1313
|
+
**/
|
|
1314
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1315
|
+
};
|
|
1316
|
+
rcMigrator: {
|
|
1317
|
+
/**
|
|
1318
|
+
* The accounts to be preserved on Relay Chain were set.
|
|
1319
|
+
**/
|
|
1320
|
+
AccountsPreserved: AugmentedEvent<ApiType, [accounts: Vec<AccountId32>], {
|
|
1321
|
+
accounts: Vec<AccountId32>;
|
|
1322
|
+
}>;
|
|
1323
|
+
/**
|
|
1324
|
+
* The AH UMP queue priority config was set.
|
|
1325
|
+
**/
|
|
1326
|
+
AhUmpQueuePriorityConfigSet: AugmentedEvent<ApiType, [old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority], {
|
|
1327
|
+
old: PalletRcMigratorQueuePriority;
|
|
1328
|
+
new_: PalletRcMigratorQueuePriority;
|
|
1329
|
+
}>;
|
|
1330
|
+
/**
|
|
1331
|
+
* Whether the AH UMP queue was prioritized for the next block.
|
|
1332
|
+
**/
|
|
1333
|
+
AhUmpQueuePrioritySet: AugmentedEvent<ApiType, [prioritized: bool, cycleBlock: u32, cyclePeriod: u32], {
|
|
1334
|
+
prioritized: bool;
|
|
1335
|
+
cycleBlock: u32;
|
|
1336
|
+
cyclePeriod: u32;
|
|
1337
|
+
}>;
|
|
1338
|
+
/**
|
|
1339
|
+
* The Asset Hub Migration finished.
|
|
1340
|
+
*
|
|
1341
|
+
* This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
|
|
1342
|
+
* to understand. The finishing is immediate and affects all events happening
|
|
1343
|
+
* afterwards.
|
|
1344
|
+
**/
|
|
1345
|
+
AssetHubMigrationFinished: AugmentedEvent<ApiType, []>;
|
|
1346
|
+
/**
|
|
1347
|
+
* The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
|
|
1348
|
+
* emitted.
|
|
1349
|
+
*
|
|
1350
|
+
* This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
|
|
1351
|
+
* to understand. The activation is immediate and affects all events happening
|
|
1352
|
+
* afterwards.
|
|
1353
|
+
**/
|
|
1354
|
+
AssetHubMigrationStarted: AugmentedEvent<ApiType, []>;
|
|
1355
|
+
/**
|
|
1356
|
+
* The canceller account id was set.
|
|
1357
|
+
**/
|
|
1358
|
+
CancellerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], {
|
|
1359
|
+
old: Option<AccountId32>;
|
|
1360
|
+
new_: Option<AccountId32>;
|
|
1361
|
+
}>;
|
|
1362
|
+
/**
|
|
1363
|
+
* The manager multisig dispatched something.
|
|
1364
|
+
**/
|
|
1365
|
+
ManagerMultisigDispatched: AugmentedEvent<ApiType, [res: Result<Null, SpRuntimeDispatchError>], {
|
|
1366
|
+
res: Result<Null, SpRuntimeDispatchError>;
|
|
1367
|
+
}>;
|
|
1368
|
+
/**
|
|
1369
|
+
* The manager multisig received a vote.
|
|
1370
|
+
**/
|
|
1371
|
+
ManagerMultisigVoted: AugmentedEvent<ApiType, [votes: u32], {
|
|
1372
|
+
votes: u32;
|
|
1373
|
+
}>;
|
|
1374
|
+
/**
|
|
1375
|
+
* The manager account id was set.
|
|
1376
|
+
**/
|
|
1377
|
+
ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], {
|
|
1378
|
+
old: Option<AccountId32>;
|
|
1379
|
+
new_: Option<AccountId32>;
|
|
1380
|
+
}>;
|
|
1381
|
+
/**
|
|
1382
|
+
* The RC kept balance was consumed.
|
|
1383
|
+
**/
|
|
1384
|
+
MigratedBalanceConsumed: AugmentedEvent<ApiType, [kept: u128, migrated: u128], {
|
|
1385
|
+
kept: u128;
|
|
1386
|
+
migrated: u128;
|
|
1387
|
+
}>;
|
|
1388
|
+
/**
|
|
1389
|
+
* The total issuance was recorded.
|
|
1390
|
+
**/
|
|
1391
|
+
MigratedBalanceRecordSet: AugmentedEvent<ApiType, [kept: u128, migrated: u128], {
|
|
1392
|
+
kept: u128;
|
|
1393
|
+
migrated: u128;
|
|
1394
|
+
}>;
|
|
1395
|
+
/**
|
|
1396
|
+
* The migration was cancelled.
|
|
1397
|
+
**/
|
|
1398
|
+
MigrationCancelled: AugmentedEvent<ApiType, []>;
|
|
1399
|
+
/**
|
|
1400
|
+
* The migration was paused.
|
|
1401
|
+
**/
|
|
1402
|
+
MigrationPaused: AugmentedEvent<ApiType, [pauseStage: PalletRcMigratorMigrationStage], {
|
|
1403
|
+
pauseStage: PalletRcMigratorMigrationStage;
|
|
1404
|
+
}>;
|
|
1405
|
+
/**
|
|
1406
|
+
* The migration settings were set.
|
|
1407
|
+
**/
|
|
1408
|
+
MigrationSettingsSet: AugmentedEvent<ApiType, [old: Option<PalletRcMigratorMigrationSettings>, new_: Option<PalletRcMigratorMigrationSettings>], {
|
|
1409
|
+
old: Option<PalletRcMigratorMigrationSettings>;
|
|
1410
|
+
new_: Option<PalletRcMigratorMigrationSettings>;
|
|
1411
|
+
}>;
|
|
1412
|
+
/**
|
|
1413
|
+
* Some pure accounts were indexed for possibly receiving free `Any` proxies.
|
|
1414
|
+
**/
|
|
1415
|
+
PureAccountsIndexed: AugmentedEvent<ApiType, [numPureAccounts: u32], {
|
|
1416
|
+
numPureAccounts: u32;
|
|
1417
|
+
}>;
|
|
1418
|
+
/**
|
|
1419
|
+
* A query response has been received.
|
|
1420
|
+
**/
|
|
1421
|
+
QueryResponseReceived: AugmentedEvent<ApiType, [queryId: u64, response: XcmV3MaybeErrorCode], {
|
|
1422
|
+
queryId: u64;
|
|
1423
|
+
response: XcmV3MaybeErrorCode;
|
|
1424
|
+
}>;
|
|
1425
|
+
/**
|
|
1426
|
+
* A stage transition has occurred.
|
|
1427
|
+
**/
|
|
1428
|
+
StageTransition: AugmentedEvent<ApiType, [old: PalletRcMigratorMigrationStage, new_: PalletRcMigratorMigrationStage], {
|
|
1429
|
+
old: PalletRcMigratorMigrationStage;
|
|
1430
|
+
new_: PalletRcMigratorMigrationStage;
|
|
1431
|
+
}>;
|
|
1432
|
+
/**
|
|
1433
|
+
* The staking elections were paused.
|
|
1434
|
+
**/
|
|
1435
|
+
StakingElectionsPaused: AugmentedEvent<ApiType, []>;
|
|
1436
|
+
/**
|
|
1437
|
+
* The unprocessed message buffer size has been set.
|
|
1438
|
+
**/
|
|
1439
|
+
UnprocessedMsgBufferSet: AugmentedEvent<ApiType, [new_: u32, old: u32], {
|
|
1440
|
+
new_: u32;
|
|
1441
|
+
old: u32;
|
|
1442
|
+
}>;
|
|
1443
|
+
/**
|
|
1444
|
+
* A XCM message has been resent.
|
|
1445
|
+
**/
|
|
1446
|
+
XcmResendAttempt: AugmentedEvent<ApiType, [queryId: u64, sendError: Option<XcmV3TraitsSendError>], {
|
|
1447
|
+
queryId: u64;
|
|
1448
|
+
sendError: Option<XcmV3TraitsSendError>;
|
|
1449
|
+
}>;
|
|
1450
|
+
/**
|
|
1451
|
+
* An XCM message was sent.
|
|
1452
|
+
**/
|
|
1453
|
+
XcmSent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
|
|
1454
|
+
origin: StagingXcmV5Location;
|
|
1455
|
+
destination: StagingXcmV5Location;
|
|
1456
|
+
message: StagingXcmV5Xcm;
|
|
1457
|
+
messageId: U8aFixed;
|
|
1458
|
+
}>;
|
|
1257
1459
|
/**
|
|
1258
1460
|
* Generic event
|
|
1259
1461
|
**/
|
|
@@ -1475,6 +1677,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1475
1677
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1476
1678
|
};
|
|
1477
1679
|
session: {
|
|
1680
|
+
/**
|
|
1681
|
+
* The `NewSession` event in the current block also implies a new validator set to be
|
|
1682
|
+
* queued.
|
|
1683
|
+
**/
|
|
1684
|
+
NewQueued: AugmentedEvent<ApiType, []>;
|
|
1478
1685
|
/**
|
|
1479
1686
|
* New session has happened. Note that the argument is the session index, not the
|
|
1480
1687
|
* block number as the type might suggest.
|
|
@@ -1664,6 +1871,38 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1664
1871
|
**/
|
|
1665
1872
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1666
1873
|
};
|
|
1874
|
+
stakingAhClient: {
|
|
1875
|
+
/**
|
|
1876
|
+
* We could not merge, and therefore dropped a buffered message.
|
|
1877
|
+
*
|
|
1878
|
+
* Note that this event is more resembling an error, but we use an event because in this
|
|
1879
|
+
* pallet we need to mutate storage upon some failures.
|
|
1880
|
+
**/
|
|
1881
|
+
CouldNotMergeAndDropped: AugmentedEvent<ApiType, []>;
|
|
1882
|
+
/**
|
|
1883
|
+
* The validator set received is way too small, as per
|
|
1884
|
+
* [`Config::MinimumValidatorSetSize`].
|
|
1885
|
+
**/
|
|
1886
|
+
SetTooSmallAndDropped: AugmentedEvent<ApiType, []>;
|
|
1887
|
+
/**
|
|
1888
|
+
* Something occurred that should never happen under normal operation. Logged as an event
|
|
1889
|
+
* for fail-safe observability.
|
|
1890
|
+
**/
|
|
1891
|
+
Unexpected: AugmentedEvent<ApiType, [PalletStakingAsyncAhClientUnexpectedKind]>;
|
|
1892
|
+
/**
|
|
1893
|
+
* A new validator set has been received.
|
|
1894
|
+
**/
|
|
1895
|
+
ValidatorSetReceived: AugmentedEvent<ApiType, [id: u32, newValidatorSetCount: u32, pruneUpTo: Option<u32>, leftover: bool], {
|
|
1896
|
+
id: u32;
|
|
1897
|
+
newValidatorSetCount: u32;
|
|
1898
|
+
pruneUpTo: Option<u32>;
|
|
1899
|
+
leftover: bool;
|
|
1900
|
+
}>;
|
|
1901
|
+
/**
|
|
1902
|
+
* Generic event
|
|
1903
|
+
**/
|
|
1904
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1905
|
+
};
|
|
1667
1906
|
stateTrieMigration: {
|
|
1668
1907
|
/**
|
|
1669
1908
|
* The auto migration task finished.
|
|
@@ -1913,6 +2152,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1913
2152
|
VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], {
|
|
1914
2153
|
account: AccountId32;
|
|
1915
2154
|
}>;
|
|
2155
|
+
/**
|
|
2156
|
+
* A vesting schedule has been created.
|
|
2157
|
+
**/
|
|
2158
|
+
VestingCreated: AugmentedEvent<ApiType, [account: AccountId32, scheduleIndex: u32], {
|
|
2159
|
+
account: AccountId32;
|
|
2160
|
+
scheduleIndex: u32;
|
|
2161
|
+
}>;
|
|
1916
2162
|
/**
|
|
1917
2163
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
1918
2164
|
* The balance given is the amount which is left unvested (and thus locked).
|