@polkadot/api-augment 16.5.6 → 17.0.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 +140 -53
- package/assetHubKusama/errors.d.ts +310 -111
- package/assetHubKusama/events.d.ts +420 -149
- package/assetHubKusama/query.d.ts +370 -92
- package/assetHubKusama/runtime.d.ts +157 -8
- package/assetHubKusama/tx.d.ts +690 -600
- package/cjs/assetHubKusama/consts.d.ts +140 -53
- package/cjs/assetHubKusama/errors.d.ts +310 -111
- package/cjs/assetHubKusama/events.d.ts +420 -149
- package/cjs/assetHubKusama/query.d.ts +370 -92
- package/cjs/assetHubKusama/runtime.d.ts +157 -8
- package/cjs/assetHubKusama/tx.d.ts +690 -600
- package/cjs/kusama/consts.d.ts +0 -40
- package/cjs/kusama/errors.d.ts +25 -151
- package/cjs/kusama/events.d.ts +93 -208
- package/cjs/kusama/query.d.ts +98 -177
- package/cjs/kusama/runtime.d.ts +86 -46
- package/cjs/kusama/tx.d.ts +108 -608
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +1 -1
- package/cjs/polkadot/errors.d.ts +25 -85
- package/cjs/polkadot/events.d.ts +103 -159
- package/cjs/polkadot/query.d.ts +108 -172
- package/cjs/polkadot/runtime.d.ts +72 -46
- package/cjs/polkadot/tx.d.ts +101 -351
- package/cjs/substrate/consts.d.ts +12 -3
- package/cjs/substrate/errors.d.ts +28 -14
- package/cjs/substrate/events.d.ts +66 -1
- package/cjs/substrate/query.d.ts +9 -0
- package/cjs/substrate/runtime.d.ts +5 -1
- package/cjs/substrate/tx.d.ts +81 -2
- package/kusama/consts.d.ts +0 -40
- package/kusama/errors.d.ts +25 -151
- package/kusama/events.d.ts +93 -208
- package/kusama/query.d.ts +98 -177
- package/kusama/runtime.d.ts +86 -46
- package/kusama/tx.d.ts +108 -608
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +1 -1
- package/polkadot/errors.d.ts +25 -85
- package/polkadot/events.d.ts +103 -159
- package/polkadot/query.d.ts +108 -172
- package/polkadot/runtime.d.ts +72 -46
- package/polkadot/tx.d.ts +101 -351
- package/substrate/consts.d.ts +12 -3
- package/substrate/errors.d.ts +28 -14
- package/substrate/events.d.ts +66 -1
- package/substrate/query.d.ts +9 -0
- package/substrate/runtime.d.ts +5 -1
- package/substrate/tx.d.ts +81 -2
package/kusama/errors.d.ts
CHANGED
|
@@ -148,6 +148,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
148
148
|
* The session of the equivocation proof is invalid
|
|
149
149
|
**/
|
|
150
150
|
InvalidEquivocationProofSession: AugmentedError<ApiType>;
|
|
151
|
+
/**
|
|
152
|
+
* The session of the equivocation proof is not in the mapping (anymore)
|
|
153
|
+
**/
|
|
154
|
+
InvalidEquivocationProofSessionMember: AugmentedError<ApiType>;
|
|
151
155
|
/**
|
|
152
156
|
* A fork voting proof provided as part of an equivocation report is invalid.
|
|
153
157
|
**/
|
|
@@ -353,18 +357,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
353
357
|
**/
|
|
354
358
|
[key: string]: AugmentedError<ApiType>;
|
|
355
359
|
};
|
|
356
|
-
coretimeAssignmentProvider: {
|
|
357
|
-
AssignmentsEmpty: AugmentedError<ApiType>;
|
|
358
|
-
/**
|
|
359
|
-
* assign_core is only allowed to append new assignments at the end of already existing
|
|
360
|
-
* ones or update the last entry.
|
|
361
|
-
**/
|
|
362
|
-
DisallowedInsert: AugmentedError<ApiType>;
|
|
363
|
-
/**
|
|
364
|
-
* Generic error
|
|
365
|
-
**/
|
|
366
|
-
[key: string]: AugmentedError<ApiType>;
|
|
367
|
-
};
|
|
368
360
|
crowdloan: {
|
|
369
361
|
/**
|
|
370
362
|
* The fund is already in `NewRaise`
|
|
@@ -1183,6 +1175,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1183
1175
|
* not recent enough or it didn't advance based on the last parachain block.
|
|
1184
1176
|
**/
|
|
1185
1177
|
DisallowedRelayParent: AugmentedError<ApiType>;
|
|
1178
|
+
/**
|
|
1179
|
+
* The candidate's scheduling-parent was not allowed.
|
|
1180
|
+
**/
|
|
1181
|
+
DisallowedSchedulingParent: AugmentedError<ApiType>;
|
|
1186
1182
|
/**
|
|
1187
1183
|
* Head data exceeds the configured maximum.
|
|
1188
1184
|
**/
|
|
@@ -1201,7 +1197,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1201
1197
|
InsufficientBacking: AugmentedError<ApiType>;
|
|
1202
1198
|
/**
|
|
1203
1199
|
* Failed to compute group index for the core: either it's out of bounds
|
|
1204
|
-
* or the
|
|
1200
|
+
* or the scheduling parent doesn't belong to the current session.
|
|
1205
1201
|
**/
|
|
1206
1202
|
InvalidAssignment: AugmentedError<ApiType>;
|
|
1207
1203
|
/**
|
|
@@ -1348,6 +1344,20 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1348
1344
|
**/
|
|
1349
1345
|
[key: string]: AugmentedError<ApiType>;
|
|
1350
1346
|
};
|
|
1347
|
+
paraScheduler: {
|
|
1348
|
+
/**
|
|
1349
|
+
* assign_core was called with no assignments.
|
|
1350
|
+
**/
|
|
1351
|
+
AssignmentsEmpty: AugmentedError<ApiType>;
|
|
1352
|
+
/**
|
|
1353
|
+
* assign_core with non allowed insertion.
|
|
1354
|
+
**/
|
|
1355
|
+
DisallowedInsert: AugmentedError<ApiType>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Generic error
|
|
1358
|
+
**/
|
|
1359
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1360
|
+
};
|
|
1351
1361
|
parasDisputes: {
|
|
1352
1362
|
/**
|
|
1353
1363
|
* Ancient dispute statement provided.
|
|
@@ -1498,144 +1508,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1498
1508
|
[key: string]: AugmentedError<ApiType>;
|
|
1499
1509
|
};
|
|
1500
1510
|
rcMigrator: {
|
|
1501
|
-
/**
|
|
1502
|
-
* The account is referenced by some other pallet. It might have freezes or holds.
|
|
1503
|
-
**/
|
|
1504
|
-
AccountReferenced: AugmentedError<ApiType>;
|
|
1505
|
-
/**
|
|
1506
|
-
* The AH UMP queue priority configuration is already set.
|
|
1507
|
-
**/
|
|
1508
|
-
AhUmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
|
|
1509
|
-
/**
|
|
1510
|
-
* The XCM version is invalid.
|
|
1511
|
-
**/
|
|
1512
|
-
BadXcmVersion: AugmentedError<ApiType>;
|
|
1513
|
-
/**
|
|
1514
|
-
* Balance accounting overflow.
|
|
1515
|
-
**/
|
|
1516
|
-
BalanceOverflow: AugmentedError<ApiType>;
|
|
1517
|
-
/**
|
|
1518
|
-
* Balance accounting underflow.
|
|
1519
|
-
**/
|
|
1520
|
-
BalanceUnderflow: AugmentedError<ApiType>;
|
|
1521
|
-
/**
|
|
1522
|
-
* Indicates that there is not enough time for staking to lock.
|
|
1523
|
-
*
|
|
1524
|
-
* Schedule the migration at least two sessions before the current era ends.
|
|
1525
|
-
**/
|
|
1526
|
-
EraEndsTooSoon: AugmentedError<ApiType>;
|
|
1527
|
-
/**
|
|
1528
|
-
* Failed to withdraw account from RC for migration to AH.
|
|
1529
|
-
**/
|
|
1530
|
-
FailedToWithdrawAccount: AugmentedError<ApiType>;
|
|
1531
|
-
/**
|
|
1532
|
-
* The origin is invalid.
|
|
1533
|
-
**/
|
|
1534
|
-
InvalidOrigin: AugmentedError<ApiType>;
|
|
1535
|
-
/**
|
|
1536
|
-
* Invalid parameter.
|
|
1537
|
-
**/
|
|
1538
|
-
InvalidParameter: AugmentedError<ApiType>;
|
|
1539
|
-
/**
|
|
1540
|
-
* The query response is invalid.
|
|
1541
|
-
**/
|
|
1542
|
-
InvalidQueryResponse: AugmentedError<ApiType>;
|
|
1543
|
-
/**
|
|
1544
|
-
* The stage transition is invalid.
|
|
1545
|
-
**/
|
|
1546
|
-
InvalidStageTransition: AugmentedError<ApiType>;
|
|
1547
|
-
OutOfWeight: AugmentedError<ApiType>;
|
|
1548
|
-
/**
|
|
1549
|
-
* Indicates that the specified block number is in the past.
|
|
1550
|
-
**/
|
|
1551
|
-
PastBlockNumber: AugmentedError<ApiType>;
|
|
1552
|
-
/**
|
|
1553
|
-
* The xcm query was not found.
|
|
1554
|
-
**/
|
|
1555
|
-
QueryNotFound: AugmentedError<ApiType>;
|
|
1556
|
-
Unreachable: AugmentedError<ApiType>;
|
|
1557
|
-
/**
|
|
1558
|
-
* The migration stage is not reachable from the current stage.
|
|
1559
|
-
**/
|
|
1560
|
-
UnreachableStage: AugmentedError<ApiType>;
|
|
1561
|
-
/**
|
|
1562
|
-
* Failed to send XCM message to AH.
|
|
1563
|
-
**/
|
|
1564
|
-
XcmError: AugmentedError<ApiType>;
|
|
1565
|
-
/**
|
|
1566
|
-
* Failed to send XCM message.
|
|
1567
|
-
**/
|
|
1568
|
-
XcmSendError: AugmentedError<ApiType>;
|
|
1569
|
-
/**
|
|
1570
|
-
* Generic error
|
|
1571
|
-
**/
|
|
1572
|
-
[key: string]: AugmentedError<ApiType>;
|
|
1573
|
-
};
|
|
1574
|
-
recovery: {
|
|
1575
|
-
/**
|
|
1576
|
-
* This account is already set up for recovery
|
|
1577
|
-
**/
|
|
1578
|
-
AlreadyProxy: AugmentedError<ApiType>;
|
|
1579
|
-
/**
|
|
1580
|
-
* This account is already set up for recovery
|
|
1581
|
-
**/
|
|
1582
|
-
AlreadyRecoverable: AugmentedError<ApiType>;
|
|
1583
|
-
/**
|
|
1584
|
-
* A recovery process has already started for this account
|
|
1585
|
-
**/
|
|
1586
|
-
AlreadyStarted: AugmentedError<ApiType>;
|
|
1587
|
-
/**
|
|
1588
|
-
* This user has already vouched for this recovery
|
|
1589
|
-
**/
|
|
1590
|
-
AlreadyVouched: AugmentedError<ApiType>;
|
|
1591
|
-
/**
|
|
1592
|
-
* Some internal state is broken.
|
|
1593
|
-
**/
|
|
1594
|
-
BadState: AugmentedError<ApiType>;
|
|
1595
|
-
/**
|
|
1596
|
-
* The friend must wait until the delay period to vouch for this recovery
|
|
1597
|
-
**/
|
|
1598
|
-
DelayPeriod: AugmentedError<ApiType>;
|
|
1599
|
-
/**
|
|
1600
|
-
* Friends list must be less than max friends
|
|
1601
|
-
**/
|
|
1602
|
-
MaxFriends: AugmentedError<ApiType>;
|
|
1603
|
-
/**
|
|
1604
|
-
* User is not allowed to make a call on behalf of this account
|
|
1605
|
-
**/
|
|
1606
|
-
NotAllowed: AugmentedError<ApiType>;
|
|
1607
|
-
/**
|
|
1608
|
-
* Friends list must be greater than zero and threshold
|
|
1609
|
-
**/
|
|
1610
|
-
NotEnoughFriends: AugmentedError<ApiType>;
|
|
1611
|
-
/**
|
|
1612
|
-
* This account is not a friend who can vouch
|
|
1613
|
-
**/
|
|
1614
|
-
NotFriend: AugmentedError<ApiType>;
|
|
1615
|
-
/**
|
|
1616
|
-
* This account is not set up for recovery
|
|
1617
|
-
**/
|
|
1618
|
-
NotRecoverable: AugmentedError<ApiType>;
|
|
1619
|
-
/**
|
|
1620
|
-
* Friends list must be sorted and free of duplicates
|
|
1621
|
-
**/
|
|
1622
|
-
NotSorted: AugmentedError<ApiType>;
|
|
1623
|
-
/**
|
|
1624
|
-
* A recovery process has not started for this rescuer
|
|
1625
|
-
**/
|
|
1626
|
-
NotStarted: AugmentedError<ApiType>;
|
|
1627
|
-
/**
|
|
1628
|
-
* There are still active recovery attempts that need to be closed
|
|
1629
|
-
**/
|
|
1630
|
-
StillActive: AugmentedError<ApiType>;
|
|
1631
|
-
/**
|
|
1632
|
-
* The threshold for recovering this account has not been met
|
|
1633
|
-
**/
|
|
1634
|
-
Threshold: AugmentedError<ApiType>;
|
|
1635
|
-
/**
|
|
1636
|
-
* Threshold must be greater than zero
|
|
1637
|
-
**/
|
|
1638
|
-
ZeroThreshold: AugmentedError<ApiType>;
|
|
1639
1511
|
/**
|
|
1640
1512
|
* Generic error
|
|
1641
1513
|
**/
|
|
@@ -2370,6 +2242,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2370
2242
|
InvalidOrigin: AugmentedError<ApiType>;
|
|
2371
2243
|
/**
|
|
2372
2244
|
* Local XCM execution incomplete.
|
|
2245
|
+
*
|
|
2246
|
+
* @deprecated Use `LocalExecutionIncompleteWithError` instead Since 20.0.0.
|
|
2373
2247
|
**/
|
|
2374
2248
|
LocalExecutionIncomplete: AugmentedError<ApiType>;
|
|
2375
2249
|
/**
|
package/kusama/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, KusamaRuntimeConstantsProxyProxyType, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord,
|
|
7
|
+
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingAsyncAhClientSessionKeysUpdate, PalletStakingAsyncAhClientUnexpectedKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV9CandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, 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> {
|
|
@@ -105,6 +105,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
105
105
|
who: AccountId32;
|
|
106
106
|
amount: u128;
|
|
107
107
|
}>;
|
|
108
|
+
/**
|
|
109
|
+
* Some debt has been dropped from the Total Issuance.
|
|
110
|
+
**/
|
|
111
|
+
BurnedDebt: AugmentedEvent<ApiType, [amount: u128], {
|
|
112
|
+
amount: u128;
|
|
113
|
+
}>;
|
|
114
|
+
/**
|
|
115
|
+
* Held balance was burned from an account.
|
|
116
|
+
**/
|
|
117
|
+
BurnedHeld: AugmentedEvent<ApiType, [reason: StagingKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], {
|
|
118
|
+
reason: StagingKusamaRuntimeRuntimeHoldReason;
|
|
119
|
+
who: AccountId32;
|
|
120
|
+
amount: u128;
|
|
121
|
+
}>;
|
|
108
122
|
/**
|
|
109
123
|
* Some amount was deposited (e.g. for transaction fees).
|
|
110
124
|
**/
|
|
@@ -134,6 +148,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
134
148
|
who: AccountId32;
|
|
135
149
|
amount: u128;
|
|
136
150
|
}>;
|
|
151
|
+
/**
|
|
152
|
+
* Some balance was placed on hold.
|
|
153
|
+
**/
|
|
154
|
+
Held: AugmentedEvent<ApiType, [reason: StagingKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], {
|
|
155
|
+
reason: StagingKusamaRuntimeRuntimeHoldReason;
|
|
156
|
+
who: AccountId32;
|
|
157
|
+
amount: u128;
|
|
158
|
+
}>;
|
|
137
159
|
/**
|
|
138
160
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
139
161
|
**/
|
|
@@ -154,6 +176,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
154
176
|
who: AccountId32;
|
|
155
177
|
amount: u128;
|
|
156
178
|
}>;
|
|
179
|
+
/**
|
|
180
|
+
* Some credit was balanced and added to the TotalIssuance.
|
|
181
|
+
**/
|
|
182
|
+
MintedCredit: AugmentedEvent<ApiType, [amount: u128], {
|
|
183
|
+
amount: u128;
|
|
184
|
+
}>;
|
|
185
|
+
/**
|
|
186
|
+
* Some balance was released from hold.
|
|
187
|
+
**/
|
|
188
|
+
Released: AugmentedEvent<ApiType, [reason: StagingKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], {
|
|
189
|
+
reason: StagingKusamaRuntimeRuntimeHoldReason;
|
|
190
|
+
who: AccountId32;
|
|
191
|
+
amount: u128;
|
|
192
|
+
}>;
|
|
157
193
|
/**
|
|
158
194
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
159
195
|
**/
|
|
@@ -220,6 +256,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
220
256
|
to: AccountId32;
|
|
221
257
|
amount: u128;
|
|
222
258
|
}>;
|
|
259
|
+
/**
|
|
260
|
+
* The `transferred` balance is placed on hold at the `dest` account.
|
|
261
|
+
**/
|
|
262
|
+
TransferAndHold: AugmentedEvent<ApiType, [reason: StagingKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128], {
|
|
263
|
+
reason: StagingKusamaRuntimeRuntimeHoldReason;
|
|
264
|
+
source: AccountId32;
|
|
265
|
+
dest: AccountId32;
|
|
266
|
+
transferred: u128;
|
|
267
|
+
}>;
|
|
268
|
+
/**
|
|
269
|
+
* A transfer of `amount` on hold from `source` to `dest` was initiated.
|
|
270
|
+
**/
|
|
271
|
+
TransferOnHold: AugmentedEvent<ApiType, [reason: StagingKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128], {
|
|
272
|
+
reason: StagingKusamaRuntimeRuntimeHoldReason;
|
|
273
|
+
source: AccountId32;
|
|
274
|
+
dest: AccountId32;
|
|
275
|
+
amount: u128;
|
|
276
|
+
}>;
|
|
223
277
|
/**
|
|
224
278
|
* An unexpected/defensive event was triggered.
|
|
225
279
|
**/
|
|
@@ -398,24 +452,26 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
398
452
|
/**
|
|
399
453
|
* An account has delegated their vote to another account. \[who, target\]
|
|
400
454
|
**/
|
|
401
|
-
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
455
|
+
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u16]>;
|
|
402
456
|
/**
|
|
403
457
|
* An \[account\] has cancelled a previous delegation operation.
|
|
404
458
|
**/
|
|
405
|
-
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
459
|
+
Undelegated: AugmentedEvent<ApiType, [AccountId32, u16]>;
|
|
406
460
|
/**
|
|
407
461
|
* An account has voted
|
|
408
462
|
**/
|
|
409
|
-
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
|
|
463
|
+
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], {
|
|
410
464
|
who: AccountId32;
|
|
411
465
|
vote: PalletConvictionVotingVoteAccountVote;
|
|
466
|
+
pollIndex: u32;
|
|
412
467
|
}>;
|
|
413
468
|
/**
|
|
414
469
|
* A vote has been removed
|
|
415
470
|
**/
|
|
416
|
-
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
|
|
471
|
+
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], {
|
|
417
472
|
who: AccountId32;
|
|
418
473
|
vote: PalletConvictionVotingVoteAccountVote;
|
|
474
|
+
pollIndex: u32;
|
|
419
475
|
}>;
|
|
420
476
|
/**
|
|
421
477
|
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
|
@@ -1283,15 +1339,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1283
1339
|
/**
|
|
1284
1340
|
* A candidate was backed. `[candidate, head_data]`
|
|
1285
1341
|
**/
|
|
1286
|
-
CandidateBacked: AugmentedEvent<ApiType, [
|
|
1342
|
+
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32, u32]>;
|
|
1287
1343
|
/**
|
|
1288
1344
|
* A candidate was included. `[candidate, head_data]`
|
|
1289
1345
|
**/
|
|
1290
|
-
CandidateIncluded: AugmentedEvent<ApiType, [
|
|
1346
|
+
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32, u32]>;
|
|
1291
1347
|
/**
|
|
1292
1348
|
* A candidate timed out. `[candidate, head_data]`
|
|
1293
1349
|
**/
|
|
1294
|
-
CandidateTimedOut: AugmentedEvent<ApiType, [
|
|
1350
|
+
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32]>;
|
|
1295
1351
|
/**
|
|
1296
1352
|
* Some upward messages have been received and will be processed.
|
|
1297
1353
|
**/
|
|
@@ -1467,11 +1523,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1467
1523
|
* A pure account has been created by new proxy with given
|
|
1468
1524
|
* disambiguation index and proxy type.
|
|
1469
1525
|
**/
|
|
1470
|
-
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16], {
|
|
1526
|
+
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32], {
|
|
1471
1527
|
pure: AccountId32;
|
|
1472
1528
|
who: AccountId32;
|
|
1473
1529
|
proxyType: KusamaRuntimeConstantsProxyProxyType;
|
|
1474
1530
|
disambiguationIndex: u16;
|
|
1531
|
+
at: u32;
|
|
1532
|
+
extrinsicIndex: u32;
|
|
1475
1533
|
}>;
|
|
1476
1534
|
/**
|
|
1477
1535
|
* A pure proxy was killed by its spawner.
|
|
@@ -1487,203 +1545,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1487
1545
|
**/
|
|
1488
1546
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1489
1547
|
};
|
|
1490
|
-
rcMigrator: {
|
|
1491
|
-
/**
|
|
1492
|
-
* The accounts to be preserved on Relay Chain were set.
|
|
1493
|
-
**/
|
|
1494
|
-
AccountsPreserved: AugmentedEvent<ApiType, [accounts: Vec<AccountId32>], {
|
|
1495
|
-
accounts: Vec<AccountId32>;
|
|
1496
|
-
}>;
|
|
1497
|
-
/**
|
|
1498
|
-
* The AH UMP queue priority config was set.
|
|
1499
|
-
**/
|
|
1500
|
-
AhUmpQueuePriorityConfigSet: AugmentedEvent<ApiType, [old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority], {
|
|
1501
|
-
old: PalletRcMigratorQueuePriority;
|
|
1502
|
-
new_: PalletRcMigratorQueuePriority;
|
|
1503
|
-
}>;
|
|
1504
|
-
/**
|
|
1505
|
-
* Whether the AH UMP queue was prioritized for the next block.
|
|
1506
|
-
**/
|
|
1507
|
-
AhUmpQueuePrioritySet: AugmentedEvent<ApiType, [prioritized: bool, cycleBlock: u32, cyclePeriod: u32], {
|
|
1508
|
-
prioritized: bool;
|
|
1509
|
-
cycleBlock: u32;
|
|
1510
|
-
cyclePeriod: u32;
|
|
1511
|
-
}>;
|
|
1512
|
-
/**
|
|
1513
|
-
* The Asset Hub Migration finished.
|
|
1514
|
-
*
|
|
1515
|
-
* This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
|
|
1516
|
-
* to understand. The finishing is immediate and affects all events happening
|
|
1517
|
-
* afterwards.
|
|
1518
|
-
**/
|
|
1519
|
-
AssetHubMigrationFinished: AugmentedEvent<ApiType, []>;
|
|
1520
|
-
/**
|
|
1521
|
-
* The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
|
|
1522
|
-
* emitted.
|
|
1523
|
-
*
|
|
1524
|
-
* This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
|
|
1525
|
-
* to understand. The activation is immediate and affects all events happening
|
|
1526
|
-
* afterwards.
|
|
1527
|
-
**/
|
|
1528
|
-
AssetHubMigrationStarted: AugmentedEvent<ApiType, []>;
|
|
1529
|
-
/**
|
|
1530
|
-
* The canceller account id was set.
|
|
1531
|
-
**/
|
|
1532
|
-
CancellerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], {
|
|
1533
|
-
old: Option<AccountId32>;
|
|
1534
|
-
new_: Option<AccountId32>;
|
|
1535
|
-
}>;
|
|
1536
|
-
/**
|
|
1537
|
-
* The manager multisig dispatched something.
|
|
1538
|
-
**/
|
|
1539
|
-
ManagerMultisigDispatched: AugmentedEvent<ApiType, [res: Result<Null, SpRuntimeDispatchError>], {
|
|
1540
|
-
res: Result<Null, SpRuntimeDispatchError>;
|
|
1541
|
-
}>;
|
|
1542
|
-
/**
|
|
1543
|
-
* The manager multisig received a vote.
|
|
1544
|
-
**/
|
|
1545
|
-
ManagerMultisigVoted: AugmentedEvent<ApiType, [votes: u32], {
|
|
1546
|
-
votes: u32;
|
|
1547
|
-
}>;
|
|
1548
|
-
/**
|
|
1549
|
-
* The manager account id was set.
|
|
1550
|
-
**/
|
|
1551
|
-
ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], {
|
|
1552
|
-
old: Option<AccountId32>;
|
|
1553
|
-
new_: Option<AccountId32>;
|
|
1554
|
-
}>;
|
|
1555
|
-
/**
|
|
1556
|
-
* The RC kept balance was consumed.
|
|
1557
|
-
**/
|
|
1558
|
-
MigratedBalanceConsumed: AugmentedEvent<ApiType, [kept: u128, migrated: u128], {
|
|
1559
|
-
kept: u128;
|
|
1560
|
-
migrated: u128;
|
|
1561
|
-
}>;
|
|
1562
|
-
/**
|
|
1563
|
-
* The total issuance was recorded.
|
|
1564
|
-
**/
|
|
1565
|
-
MigratedBalanceRecordSet: AugmentedEvent<ApiType, [kept: u128, migrated: u128], {
|
|
1566
|
-
kept: u128;
|
|
1567
|
-
migrated: u128;
|
|
1568
|
-
}>;
|
|
1569
|
-
/**
|
|
1570
|
-
* The migration was cancelled.
|
|
1571
|
-
**/
|
|
1572
|
-
MigrationCancelled: AugmentedEvent<ApiType, []>;
|
|
1573
|
-
/**
|
|
1574
|
-
* The migration was paused.
|
|
1575
|
-
**/
|
|
1576
|
-
MigrationPaused: AugmentedEvent<ApiType, [pauseStage: PalletRcMigratorMigrationStage], {
|
|
1577
|
-
pauseStage: PalletRcMigratorMigrationStage;
|
|
1578
|
-
}>;
|
|
1579
|
-
/**
|
|
1580
|
-
* Some pure accounts were indexed for possibly receiving free `Any` proxies.
|
|
1581
|
-
**/
|
|
1582
|
-
PureAccountsIndexed: AugmentedEvent<ApiType, [numPureAccounts: u32], {
|
|
1583
|
-
numPureAccounts: u32;
|
|
1584
|
-
}>;
|
|
1585
|
-
/**
|
|
1586
|
-
* A query response has been received.
|
|
1587
|
-
**/
|
|
1588
|
-
QueryResponseReceived: AugmentedEvent<ApiType, [queryId: u64, response: XcmV3MaybeErrorCode], {
|
|
1589
|
-
queryId: u64;
|
|
1590
|
-
response: XcmV3MaybeErrorCode;
|
|
1591
|
-
}>;
|
|
1592
|
-
/**
|
|
1593
|
-
* A stage transition has occurred.
|
|
1594
|
-
**/
|
|
1595
|
-
StageTransition: AugmentedEvent<ApiType, [old: PalletRcMigratorMigrationStage, new_: PalletRcMigratorMigrationStage], {
|
|
1596
|
-
old: PalletRcMigratorMigrationStage;
|
|
1597
|
-
new_: PalletRcMigratorMigrationStage;
|
|
1598
|
-
}>;
|
|
1599
|
-
/**
|
|
1600
|
-
* The staking elections were paused.
|
|
1601
|
-
**/
|
|
1602
|
-
StakingElectionsPaused: AugmentedEvent<ApiType, []>;
|
|
1603
|
-
/**
|
|
1604
|
-
* The unprocessed message buffer size has been set.
|
|
1605
|
-
**/
|
|
1606
|
-
UnprocessedMsgBufferSet: AugmentedEvent<ApiType, [new_: u32, old: u32], {
|
|
1607
|
-
new_: u32;
|
|
1608
|
-
old: u32;
|
|
1609
|
-
}>;
|
|
1610
|
-
/**
|
|
1611
|
-
* A XCM message has been resent.
|
|
1612
|
-
**/
|
|
1613
|
-
XcmResendAttempt: AugmentedEvent<ApiType, [queryId: u64, sendError: Option<XcmV3TraitsSendError>], {
|
|
1614
|
-
queryId: u64;
|
|
1615
|
-
sendError: Option<XcmV3TraitsSendError>;
|
|
1616
|
-
}>;
|
|
1617
|
-
/**
|
|
1618
|
-
* An XCM message was sent.
|
|
1619
|
-
**/
|
|
1620
|
-
XcmSent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
|
|
1621
|
-
origin: StagingXcmV5Location;
|
|
1622
|
-
destination: StagingXcmV5Location;
|
|
1623
|
-
message: StagingXcmV5Xcm;
|
|
1624
|
-
messageId: U8aFixed;
|
|
1625
|
-
}>;
|
|
1626
|
-
/**
|
|
1627
|
-
* Generic event
|
|
1628
|
-
**/
|
|
1629
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
1630
|
-
};
|
|
1631
|
-
recovery: {
|
|
1632
|
-
/**
|
|
1633
|
-
* Lost account has been successfully recovered by rescuer account.
|
|
1634
|
-
**/
|
|
1635
|
-
AccountRecovered: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], {
|
|
1636
|
-
lostAccount: AccountId32;
|
|
1637
|
-
rescuerAccount: AccountId32;
|
|
1638
|
-
}>;
|
|
1639
|
-
/**
|
|
1640
|
-
* A deposit has been updated.
|
|
1641
|
-
**/
|
|
1642
|
-
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128], {
|
|
1643
|
-
who: AccountId32;
|
|
1644
|
-
kind: PalletRecoveryDepositKind;
|
|
1645
|
-
oldDeposit: u128;
|
|
1646
|
-
newDeposit: u128;
|
|
1647
|
-
}>;
|
|
1648
|
-
/**
|
|
1649
|
-
* A recovery process for lost account by rescuer account has been closed.
|
|
1650
|
-
**/
|
|
1651
|
-
RecoveryClosed: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], {
|
|
1652
|
-
lostAccount: AccountId32;
|
|
1653
|
-
rescuerAccount: AccountId32;
|
|
1654
|
-
}>;
|
|
1655
|
-
/**
|
|
1656
|
-
* A recovery process has been set up for an account.
|
|
1657
|
-
**/
|
|
1658
|
-
RecoveryCreated: AugmentedEvent<ApiType, [account: AccountId32], {
|
|
1659
|
-
account: AccountId32;
|
|
1660
|
-
}>;
|
|
1661
|
-
/**
|
|
1662
|
-
* A recovery process has been initiated for lost account by rescuer account.
|
|
1663
|
-
**/
|
|
1664
|
-
RecoveryInitiated: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], {
|
|
1665
|
-
lostAccount: AccountId32;
|
|
1666
|
-
rescuerAccount: AccountId32;
|
|
1667
|
-
}>;
|
|
1668
|
-
/**
|
|
1669
|
-
* A recovery process has been removed for an account.
|
|
1670
|
-
**/
|
|
1671
|
-
RecoveryRemoved: AugmentedEvent<ApiType, [lostAccount: AccountId32], {
|
|
1672
|
-
lostAccount: AccountId32;
|
|
1673
|
-
}>;
|
|
1674
|
-
/**
|
|
1675
|
-
* A recovery process for lost account by rescuer account has been vouched for by sender.
|
|
1676
|
-
**/
|
|
1677
|
-
RecoveryVouched: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32], {
|
|
1678
|
-
lostAccount: AccountId32;
|
|
1679
|
-
rescuerAccount: AccountId32;
|
|
1680
|
-
sender: AccountId32;
|
|
1681
|
-
}>;
|
|
1682
|
-
/**
|
|
1683
|
-
* Generic event
|
|
1684
|
-
**/
|
|
1685
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
1686
|
-
};
|
|
1687
1548
|
referenda: {
|
|
1688
1549
|
/**
|
|
1689
1550
|
* A referendum has been approved and its proposal has been scheduled.
|
|
@@ -2023,6 +1884,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2023
1884
|
primary: AccountId32;
|
|
2024
1885
|
candidates: Vec<AccountId32>;
|
|
2025
1886
|
}>;
|
|
1887
|
+
/**
|
|
1888
|
+
* A member was kicked by the founder.
|
|
1889
|
+
**/
|
|
1890
|
+
MemberKicked: AugmentedEvent<ApiType, [member: AccountId32], {
|
|
1891
|
+
member: AccountId32;
|
|
1892
|
+
}>;
|
|
2026
1893
|
/**
|
|
2027
1894
|
* A member has been suspended
|
|
2028
1895
|
**/
|
|
@@ -2230,6 +2097,22 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2230
2097
|
* pallet we need to mutate storage upon some failures.
|
|
2231
2098
|
**/
|
|
2232
2099
|
CouldNotMergeAndDropped: AugmentedEvent<ApiType, []>;
|
|
2100
|
+
/**
|
|
2101
|
+
* Session keys updated for a validator.
|
|
2102
|
+
**/
|
|
2103
|
+
SessionKeysUpdated: AugmentedEvent<ApiType, [stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate], {
|
|
2104
|
+
stash: AccountId32;
|
|
2105
|
+
update: PalletStakingAsyncAhClientSessionKeysUpdate;
|
|
2106
|
+
}>;
|
|
2107
|
+
/**
|
|
2108
|
+
* Session key update from AssetHub failed on the relay chain.
|
|
2109
|
+
* Logged as an event for fail-safe observability.
|
|
2110
|
+
**/
|
|
2111
|
+
SessionKeysUpdateFailed: AugmentedEvent<ApiType, [stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate, error: SpRuntimeDispatchError], {
|
|
2112
|
+
stash: AccountId32;
|
|
2113
|
+
update: PalletStakingAsyncAhClientSessionKeysUpdate;
|
|
2114
|
+
error: SpRuntimeDispatchError;
|
|
2115
|
+
}>;
|
|
2233
2116
|
/**
|
|
2234
2117
|
* The validator set received is way too small, as per
|
|
2235
2118
|
* [`Config::MinimumValidatorSetSize`].
|
|
@@ -2256,9 +2139,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2256
2139
|
};
|
|
2257
2140
|
system: {
|
|
2258
2141
|
/**
|
|
2259
|
-
* `:code` was updated.
|
|
2142
|
+
* `:code` was updated to the code with the given hash.
|
|
2260
2143
|
**/
|
|
2261
|
-
CodeUpdated: AugmentedEvent<ApiType, []
|
|
2144
|
+
CodeUpdated: AugmentedEvent<ApiType, [hash_: H256], {
|
|
2145
|
+
hash_: H256;
|
|
2146
|
+
}>;
|
|
2262
2147
|
/**
|
|
2263
2148
|
* An extrinsic failed.
|
|
2264
2149
|
**/
|