@dedot/chaintypes 0.149.0 → 0.151.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.
@@ -10,14 +10,14 @@ import type {
10
10
  FixedArray,
11
11
  Result,
12
12
  BytesLike,
13
+ Header,
13
14
  MultiAddress,
14
15
  MultiAddressLike,
15
16
  AccountId32Like,
16
- Perbill,
17
17
  Data,
18
- Era,
19
- Header,
20
18
  UncheckedExtrinsic,
19
+ Era,
20
+ Perbill,
21
21
  } from 'dedot/codecs';
22
22
 
23
23
  export type FrameSystemAccountInfo = {
@@ -368,10 +368,16 @@ export type PalletBalancesEvent =
368
368
  /**
369
369
  * The `TotalIssuance` was forcefully changed.
370
370
  **/
371
- | { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } };
371
+ | { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
372
+ /**
373
+ * An unexpected/defensive event was triggered.
374
+ **/
375
+ | { name: 'Unexpected'; data: PalletBalancesUnexpectedKind };
372
376
 
373
377
  export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
374
378
 
379
+ export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
380
+
375
381
  /**
376
382
  * The `Event` enum of this pallet
377
383
  **/
@@ -437,6 +443,11 @@ export type PalletSessionEvent =
437
443
  * block number as the type might suggest.
438
444
  **/
439
445
  | { name: 'NewSession'; data: { sessionIndex: number } }
446
+ /**
447
+ * The `NewSession` event in the current block also implies a new validator set to be
448
+ * queued.
449
+ **/
450
+ | { name: 'NewQueued' }
440
451
  /**
441
452
  * Validator has been disabled.
442
453
  **/
@@ -670,8 +681,10 @@ export type PalletXcmEvent =
670
681
 
671
682
  export type StagingXcmV5TraitsOutcome =
672
683
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
673
- | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
674
- | { type: 'Error'; value: { error: XcmV5TraitsError } };
684
+ | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: StagingXcmV5TraitsInstructionError } }
685
+ | { type: 'Error'; value: StagingXcmV5TraitsInstructionError };
686
+
687
+ export type StagingXcmV5TraitsInstructionError = { index: number; error: XcmV5TraitsError };
675
688
 
676
689
  export type XcmV5TraitsError =
677
690
  | { type: 'Overflow' }
@@ -1354,6 +1367,18 @@ export type PalletProxyEvent =
1354
1367
  disambiguationIndex: number;
1355
1368
  };
1356
1369
  }
1370
+ /**
1371
+ * A pure proxy was killed by its spawner.
1372
+ **/
1373
+ | {
1374
+ name: 'PureKilled';
1375
+ data: {
1376
+ pure: AccountId32;
1377
+ spawner: AccountId32;
1378
+ proxyType: PeopleKusamaRuntimeProxyType;
1379
+ disambiguationIndex: number;
1380
+ };
1381
+ }
1357
1382
  /**
1358
1383
  * An announcement was placed to make a call in the future.
1359
1384
  **/
@@ -1706,88 +1731,41 @@ export type FrameSystemError =
1706
1731
  **/
1707
1732
  | 'Unauthorized';
1708
1733
 
1709
- export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
1710
- usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
1711
- paraHeadHash?: H256 | undefined;
1712
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
1713
- };
1714
-
1715
- export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
1716
- umpMsgCount: number;
1717
- umpTotalBytes: number;
1718
- hrmpOutgoing: Array<
1719
- [PolkadotParachainPrimitivesPrimitivesId, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate]
1720
- >;
1721
- };
1722
-
1723
- export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
1724
-
1725
- export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
1726
-
1727
- export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
1728
- usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
1729
- hrmpWatermark?: number | undefined;
1730
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
1731
- };
1732
-
1733
- export type PolkadotPrimitivesV8PersistedValidationData = {
1734
- parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
1735
- relayParentNumber: number;
1736
- relayParentStorageRoot: H256;
1737
- maxPovSize: number;
1738
- };
1739
-
1740
- export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
1741
-
1742
- export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
1743
-
1744
- export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
1745
-
1746
- export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
1747
- dmqMqcHead: H256;
1748
- relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
1749
- ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
1750
- egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
1751
- };
1752
-
1753
- export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
1754
- remainingCount: number;
1755
- remainingSize: number;
1756
- };
1757
-
1758
- export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
1759
- maxCapacity: number;
1760
- maxTotalSize: number;
1761
- maxMessageSize: number;
1762
- msgCount: number;
1763
- totalSize: number;
1764
- mqcHead?: H256 | undefined;
1765
- };
1766
-
1767
- export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
1768
- maxCodeSize: number;
1769
- maxHeadDataSize: number;
1770
- maxUpwardQueueCount: number;
1771
- maxUpwardQueueSize: number;
1772
- maxUpwardMessageSize: number;
1773
- maxUpwardMessageNumPerCandidate: number;
1774
- hrmpMaxMessageNumPerCandidate: number;
1775
- validationUpgradeCooldown: number;
1776
- validationUpgradeDelay: number;
1777
- asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
1778
- };
1779
-
1780
- export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
1781
- maxCandidateDepth: number;
1782
- allowedAncestryLen: number;
1783
- };
1784
-
1785
- export type CumulusPrimitivesParachainInherentMessageQueueChain = H256;
1734
+ export type PeopleKusamaRuntimeRuntimeCall =
1735
+ | { pallet: 'System'; palletCall: FrameSystemCall }
1736
+ | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCall }
1737
+ | { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
1738
+ | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
1739
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
1740
+ | { pallet: 'Balances'; palletCall: PalletBalancesCall }
1741
+ | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
1742
+ | { pallet: 'Session'; palletCall: PalletSessionCall }
1743
+ | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
1744
+ | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
1745
+ | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
1746
+ | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
1747
+ | { pallet: 'Utility'; palletCall: PalletUtilityCall }
1748
+ | { pallet: 'Multisig'; palletCall: PalletMultisigCall }
1749
+ | { pallet: 'Proxy'; palletCall: PalletProxyCall }
1750
+ | { pallet: 'Identity'; palletCall: PalletIdentityCall };
1786
1751
 
1787
- export type PolkadotCorePrimitivesOutboundHrmpMessage = {
1788
- recipient: PolkadotParachainPrimitivesPrimitivesId;
1789
- data: Bytes;
1790
- };
1752
+ export type PeopleKusamaRuntimeRuntimeCallLike =
1753
+ | { pallet: 'System'; palletCall: FrameSystemCallLike }
1754
+ | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCallLike }
1755
+ | { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
1756
+ | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCallLike }
1757
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
1758
+ | { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
1759
+ | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
1760
+ | { pallet: 'Session'; palletCall: PalletSessionCallLike }
1761
+ | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCallLike }
1762
+ | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
1763
+ | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
1764
+ | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
1765
+ | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
1766
+ | { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
1767
+ | { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
1768
+ | { pallet: 'Identity'; palletCall: PalletIdentityCallLike };
1791
1769
 
1792
1770
  /**
1793
1771
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -1804,7 +1782,13 @@ export type CumulusPalletParachainSystemCall =
1804
1782
  * As a side effect, this function upgrades the current validation function
1805
1783
  * if the appropriate time has come.
1806
1784
  **/
1807
- | { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
1785
+ | {
1786
+ name: 'SetValidationData';
1787
+ params: {
1788
+ data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
1789
+ inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
1790
+ };
1791
+ }
1808
1792
  | { name: 'SudoSendUpwardMessage'; params: { message: Bytes } };
1809
1793
 
1810
1794
  export type CumulusPalletParachainSystemCallLike =
@@ -1819,49 +1803,53 @@ export type CumulusPalletParachainSystemCallLike =
1819
1803
  * As a side effect, this function upgrades the current validation function
1820
1804
  * if the appropriate time has come.
1821
1805
  **/
1822
- | { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
1806
+ | {
1807
+ name: 'SetValidationData';
1808
+ params: {
1809
+ data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
1810
+ inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
1811
+ };
1812
+ }
1823
1813
  | { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
1824
1814
 
1825
- export type CumulusPrimitivesParachainInherentParachainInherentData = {
1815
+ export type CumulusPalletParachainSystemParachainInherentBasicParachainInherentData = {
1826
1816
  validationData: PolkadotPrimitivesV8PersistedValidationData;
1827
1817
  relayChainState: SpTrieStorageProof;
1828
- downwardMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
1829
- horizontalMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<PolkadotCorePrimitivesInboundHrmpMessage>]>;
1818
+ relayParentDescendants: Array<Header>;
1819
+ collatorPeerId?: Bytes | undefined;
1820
+ };
1821
+
1822
+ export type PolkadotPrimitivesV8PersistedValidationData = {
1823
+ parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
1824
+ relayParentNumber: number;
1825
+ relayParentStorageRoot: H256;
1826
+ maxPovSize: number;
1827
+ };
1828
+
1829
+ export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
1830
+
1831
+ export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
1832
+
1833
+ export type CumulusPalletParachainSystemParachainInherentInboundMessagesData = {
1834
+ downwardMessages: CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection;
1835
+ horizontalMessages: CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection002;
1836
+ };
1837
+
1838
+ export type CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection = {
1839
+ fullMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
1840
+ hashedMessages: Array<CumulusPrimitivesParachainInherentHashedMessage>;
1830
1841
  };
1831
1842
 
1832
1843
  export type PolkadotCorePrimitivesInboundDownwardMessage = { sentAt: number; msg: Bytes };
1833
1844
 
1834
- export type PolkadotCorePrimitivesInboundHrmpMessage = { sentAt: number; data: Bytes };
1845
+ export type CumulusPrimitivesParachainInherentHashedMessage = { sentAt: number; msgHash: H256 };
1835
1846
 
1836
- /**
1837
- * The `Error` enum of this pallet.
1838
- **/
1839
- export type CumulusPalletParachainSystemError =
1840
- /**
1841
- * Attempt to upgrade validation function while existing upgrade pending.
1842
- **/
1843
- | 'OverlappingUpgrades'
1844
- /**
1845
- * Polkadot currently prohibits this parachain from upgrading its validation function.
1846
- **/
1847
- | 'ProhibitedByPolkadot'
1848
- /**
1849
- * The supplied validation function has compiled into a blob larger than Polkadot is
1850
- * willing to run.
1851
- **/
1852
- | 'TooBig'
1853
- /**
1854
- * The inherent which supplies the validation data did not run this block.
1855
- **/
1856
- | 'ValidationDataNotAvailable'
1857
- /**
1858
- * The inherent which supplies the host configuration did not run this block.
1859
- **/
1860
- | 'HostConfigurationNotAvailable'
1861
- /**
1862
- * No validation function upgrade is currently scheduled.
1863
- **/
1864
- | 'NotScheduled';
1847
+ export type CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection002 = {
1848
+ fullMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotCorePrimitivesInboundHrmpMessage]>;
1849
+ hashedMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentHashedMessage]>;
1850
+ };
1851
+
1852
+ export type PolkadotCorePrimitivesInboundHrmpMessage = { sentAt: number; data: Bytes };
1865
1853
 
1866
1854
  /**
1867
1855
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -1921,12 +1909,6 @@ export type StagingParachainInfoCall = null;
1921
1909
 
1922
1910
  export type StagingParachainInfoCallLike = null;
1923
1911
 
1924
- export type PalletMigrationsMigrationCursor =
1925
- | { type: 'Active'; value: PalletMigrationsActiveCursor }
1926
- | { type: 'Stuck' };
1927
-
1928
- export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
1929
-
1930
1912
  /**
1931
1913
  * Contains a variant per dispatchable extrinsic that this pallet has.
1932
1914
  **/
@@ -2004,33 +1986,16 @@ export type PalletMigrationsCallLike =
2004
1986
  **/
2005
1987
  | { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
2006
1988
 
1989
+ export type PalletMigrationsMigrationCursor =
1990
+ | { type: 'Active'; value: PalletMigrationsActiveCursor }
1991
+ | { type: 'Stuck' };
1992
+
1993
+ export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
1994
+
2007
1995
  export type PalletMigrationsHistoricCleanupSelector =
2008
1996
  | { type: 'Specific'; value: Array<Bytes> }
2009
1997
  | { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
2010
1998
 
2011
- /**
2012
- * The `Error` enum of this pallet.
2013
- **/
2014
- export type PalletMigrationsError =
2015
- /**
2016
- * The operation cannot complete since some MBMs are ongoing.
2017
- **/
2018
- 'Ongoing';
2019
-
2020
- export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
2021
-
2022
- export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
2023
-
2024
- export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
2025
-
2026
- export type FrameSupportTokensMiscIdAmount = { id: PeopleKusamaRuntimeRuntimeHoldReason; amount: bigint };
2027
-
2028
- export type PeopleKusamaRuntimeRuntimeHoldReason = { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
2029
-
2030
- export type PalletXcmHoldReason = 'AuthorizeAlias';
2031
-
2032
- export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
2033
-
2034
1999
  /**
2035
2000
  * Contains a variant per dispatchable extrinsic that this pallet has.
2036
2001
  **/
@@ -2207,90 +2172,33 @@ export type PalletBalancesCallLike =
2207
2172
  export type PalletBalancesAdjustmentDirection = 'Increase' | 'Decrease';
2208
2173
 
2209
2174
  /**
2210
- * The `Error` enum of this pallet.
2175
+ * Contains a variant per dispatchable extrinsic that this pallet has.
2211
2176
  **/
2212
- export type PalletBalancesError =
2177
+ export type PalletCollatorSelectionCall =
2213
2178
  /**
2214
- * Vesting balance too high to send value.
2179
+ * Set the list of invulnerable (fixed) collators. These collators must do some
2180
+ * preparation, namely to have registered session keys.
2181
+ *
2182
+ * The call will remove any accounts that have not registered keys from the set. That is,
2183
+ * it is non-atomic; the caller accepts all `AccountId`s passed in `new` _individually_ as
2184
+ * acceptable Invulnerables, and is not proposing a _set_ of new Invulnerables.
2185
+ *
2186
+ * This call does not maintain mutual exclusivity of `Invulnerables` and `Candidates`. It
2187
+ * is recommended to use a batch of `add_invulnerable` and `remove_invulnerable` instead. A
2188
+ * `batch_all` can also be used to enforce atomicity. If any candidates are included in
2189
+ * `new`, they should be removed with `remove_invulnerable_candidate` after execution.
2190
+ *
2191
+ * Must be called by the `UpdateOrigin`.
2215
2192
  **/
2216
- | 'VestingBalance'
2193
+ | { name: 'SetInvulnerables'; params: { new: Array<AccountId32> } }
2217
2194
  /**
2218
- * Account liquidity restrictions prevent withdrawal.
2195
+ * Set the ideal number of non-invulnerable collators. If lowering this number, then the
2196
+ * number of running collators could be higher than this figure. Aside from that edge case,
2197
+ * there should be no other way to have more candidates than the desired number.
2198
+ *
2199
+ * The origin for this call must be the `UpdateOrigin`.
2219
2200
  **/
2220
- | 'LiquidityRestrictions'
2221
- /**
2222
- * Balance too low to send value.
2223
- **/
2224
- | 'InsufficientBalance'
2225
- /**
2226
- * Value too low to create account due to existential deposit.
2227
- **/
2228
- | 'ExistentialDeposit'
2229
- /**
2230
- * Transfer/payment would kill account.
2231
- **/
2232
- | 'Expendability'
2233
- /**
2234
- * A vesting schedule already exists for this account.
2235
- **/
2236
- | 'ExistingVestingSchedule'
2237
- /**
2238
- * Beneficiary account must pre-exist.
2239
- **/
2240
- | 'DeadAccount'
2241
- /**
2242
- * Number of named reserves exceed `MaxReserves`.
2243
- **/
2244
- | 'TooManyReserves'
2245
- /**
2246
- * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
2247
- **/
2248
- | 'TooManyHolds'
2249
- /**
2250
- * Number of freezes exceed `MaxFreezes`.
2251
- **/
2252
- | 'TooManyFreezes'
2253
- /**
2254
- * The issuance cannot be modified since it is already deactivated.
2255
- **/
2256
- | 'IssuanceDeactivated'
2257
- /**
2258
- * The delta cannot be zero.
2259
- **/
2260
- | 'DeltaZero';
2261
-
2262
- export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
2263
-
2264
- export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
2265
-
2266
- /**
2267
- * Contains a variant per dispatchable extrinsic that this pallet has.
2268
- **/
2269
- export type PalletCollatorSelectionCall =
2270
- /**
2271
- * Set the list of invulnerable (fixed) collators. These collators must do some
2272
- * preparation, namely to have registered session keys.
2273
- *
2274
- * The call will remove any accounts that have not registered keys from the set. That is,
2275
- * it is non-atomic; the caller accepts all `AccountId`s passed in `new` _individually_ as
2276
- * acceptable Invulnerables, and is not proposing a _set_ of new Invulnerables.
2277
- *
2278
- * This call does not maintain mutual exclusivity of `Invulnerables` and `Candidates`. It
2279
- * is recommended to use a batch of `add_invulnerable` and `remove_invulnerable` instead. A
2280
- * `batch_all` can also be used to enforce atomicity. If any candidates are included in
2281
- * `new`, they should be removed with `remove_invulnerable_candidate` after execution.
2282
- *
2283
- * Must be called by the `UpdateOrigin`.
2284
- **/
2285
- | { name: 'SetInvulnerables'; params: { new: Array<AccountId32> } }
2286
- /**
2287
- * Set the ideal number of non-invulnerable collators. If lowering this number, then the
2288
- * number of running collators could be higher than this figure. Aside from that edge case,
2289
- * there should be no other way to have more candidates than the desired number.
2290
- *
2291
- * The origin for this call must be the `UpdateOrigin`.
2292
- **/
2293
- | { name: 'SetDesiredCandidates'; params: { max: number } }
2201
+ | { name: 'SetDesiredCandidates'; params: { max: number } }
2294
2202
  /**
2295
2203
  * Set the candidacy bond amount.
2296
2204
  *
@@ -2436,89 +2344,6 @@ export type PalletCollatorSelectionCallLike =
2436
2344
  **/
2437
2345
  | { name: 'TakeCandidateSlot'; params: { deposit: bigint; target: AccountId32Like } };
2438
2346
 
2439
- export type FrameSupportPalletId = FixedBytes<8>;
2440
-
2441
- /**
2442
- * The `Error` enum of this pallet.
2443
- **/
2444
- export type PalletCollatorSelectionError =
2445
- /**
2446
- * The pallet has too many candidates.
2447
- **/
2448
- | 'TooManyCandidates'
2449
- /**
2450
- * Leaving would result in too few candidates.
2451
- **/
2452
- | 'TooFewEligibleCollators'
2453
- /**
2454
- * Account is already a candidate.
2455
- **/
2456
- | 'AlreadyCandidate'
2457
- /**
2458
- * Account is not a candidate.
2459
- **/
2460
- | 'NotCandidate'
2461
- /**
2462
- * There are too many Invulnerables.
2463
- **/
2464
- | 'TooManyInvulnerables'
2465
- /**
2466
- * Account is already an Invulnerable.
2467
- **/
2468
- | 'AlreadyInvulnerable'
2469
- /**
2470
- * Account is not an Invulnerable.
2471
- **/
2472
- | 'NotInvulnerable'
2473
- /**
2474
- * Account has no associated validator ID.
2475
- **/
2476
- | 'NoAssociatedValidatorId'
2477
- /**
2478
- * Validator ID is not yet registered.
2479
- **/
2480
- | 'ValidatorNotRegistered'
2481
- /**
2482
- * Could not insert in the candidate list.
2483
- **/
2484
- | 'InsertToCandidateListFailed'
2485
- /**
2486
- * Could not remove from the candidate list.
2487
- **/
2488
- | 'RemoveFromCandidateListFailed'
2489
- /**
2490
- * New deposit amount would be below the minimum candidacy bond.
2491
- **/
2492
- | 'DepositTooLow'
2493
- /**
2494
- * Could not update the candidate list.
2495
- **/
2496
- | 'UpdateCandidateListFailed'
2497
- /**
2498
- * Deposit amount is too low to take the target's slot in the candidate list.
2499
- **/
2500
- | 'InsufficientBond'
2501
- /**
2502
- * The target account to be replaced in the candidate list is not a candidate.
2503
- **/
2504
- | 'TargetIsNotCandidate'
2505
- /**
2506
- * The updated deposit amount is equal to the amount already reserved.
2507
- **/
2508
- | 'IdenticalDeposit'
2509
- /**
2510
- * Cannot lower candidacy bond while occupying a future collator slot in the list.
2511
- **/
2512
- | 'InvalidUnreserve';
2513
-
2514
- export type PeopleKusamaRuntimeSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
2515
-
2516
- export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
2517
-
2518
- export type SpStakingOffenceOffenceSeverity = Perbill;
2519
-
2520
- export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
2521
-
2522
2347
  /**
2523
2348
  * Contains a variant per dispatchable extrinsic that this pallet has.
2524
2349
  **/
@@ -2580,48 +2405,9 @@ export type PalletSessionCallLike =
2580
2405
  **/
2581
2406
  | { name: 'PurgeKeys' };
2582
2407
 
2583
- /**
2584
- * Error for the session pallet.
2585
- **/
2586
- export type PalletSessionError =
2587
- /**
2588
- * Invalid ownership proof.
2589
- **/
2590
- | 'InvalidProof'
2591
- /**
2592
- * No associated validator ID for account.
2593
- **/
2594
- | 'NoAssociatedValidatorId'
2595
- /**
2596
- * Registered duplicate key.
2597
- **/
2598
- | 'DuplicatedKey'
2599
- /**
2600
- * No keys are associated with this account.
2601
- **/
2602
- | 'NoKeys'
2603
- /**
2604
- * Key setting account is not live, so it's impossible to associate keys.
2605
- **/
2606
- | 'NoAccount';
2607
-
2608
- export type SpConsensusSlotsSlot = bigint;
2609
-
2610
- export type CumulusPalletXcmpQueueOutboundChannelDetails = {
2611
- recipient: PolkadotParachainPrimitivesPrimitivesId;
2612
- state: CumulusPalletXcmpQueueOutboundState;
2613
- signalsExist: boolean;
2614
- firstIndex: number;
2615
- lastIndex: number;
2616
- };
2617
-
2618
- export type CumulusPalletXcmpQueueOutboundState = 'Ok' | 'Suspended';
2408
+ export type PeopleKusamaRuntimeSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
2619
2409
 
2620
- export type CumulusPalletXcmpQueueQueueConfigData = {
2621
- suspendThreshold: number;
2622
- dropThreshold: number;
2623
- resumeThreshold: number;
2624
- };
2410
+ export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
2625
2411
 
2626
2412
  /**
2627
2413
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -2707,188 +2493,37 @@ export type CumulusPalletXcmpQueueCallLike =
2707
2493
  | { name: 'UpdateResumeThreshold'; params: { new: number } };
2708
2494
 
2709
2495
  /**
2710
- * The `Error` enum of this pallet.
2496
+ * Contains a variant per dispatchable extrinsic that this pallet has.
2711
2497
  **/
2712
- export type CumulusPalletXcmpQueueError =
2713
- /**
2714
- * Setting the queue config failed since one of its values was invalid.
2715
- **/
2716
- | 'BadQueueConfig'
2717
- /**
2718
- * The execution is already suspended.
2719
- **/
2720
- | 'AlreadySuspended'
2721
- /**
2722
- * The execution is already resumed.
2723
- **/
2724
- | 'AlreadyResumed'
2725
- /**
2726
- * There are too many active outbound channels.
2727
- **/
2728
- | 'TooManyActiveOutboundChannels'
2498
+ export type PalletXcmCall =
2499
+ | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
2729
2500
  /**
2730
- * The message is too big.
2501
+ * Teleport some assets from the local chain to some destination chain.
2502
+ *
2503
+ * **This function is deprecated: Use `limited_teleport_assets` instead.**
2504
+ *
2505
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
2506
+ * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
2507
+ * with all fees taken as needed from the asset.
2508
+ *
2509
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
2510
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
2511
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
2512
+ * relay to parachain.
2513
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
2514
+ * generally be an `AccountId32` value.
2515
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
2516
+ * fee on the `dest` chain.
2517
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
2518
+ * fees.
2731
2519
  **/
2732
- | 'TooBig';
2733
-
2734
- export type PalletXcmQueryStatus =
2735
2520
  | {
2736
- type: 'Pending';
2737
- value: {
2738
- responder: XcmVersionedLocation;
2739
- maybeMatchQuerier?: XcmVersionedLocation | undefined;
2740
- maybeNotify?: [number, number] | undefined;
2741
- timeout: number;
2742
- };
2743
- }
2744
- | { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
2745
- | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
2746
-
2747
- export type XcmVersionedResponse =
2748
- | { type: 'V3'; value: XcmV3Response }
2749
- | { type: 'V4'; value: StagingXcmV4Response }
2750
- | { type: 'V5'; value: StagingXcmV5Response };
2751
-
2752
- export type XcmV3Response =
2753
- | { type: 'Null' }
2754
- | { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
2755
- | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
2756
- | { type: 'Version'; value: number }
2757
- | { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
2758
- | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
2759
-
2760
- export type XcmV3TraitsError =
2761
- | { type: 'Overflow' }
2762
- | { type: 'Unimplemented' }
2763
- | { type: 'UntrustedReserveLocation' }
2764
- | { type: 'UntrustedTeleportLocation' }
2765
- | { type: 'LocationFull' }
2766
- | { type: 'LocationNotInvertible' }
2767
- | { type: 'BadOrigin' }
2768
- | { type: 'InvalidLocation' }
2769
- | { type: 'AssetNotFound' }
2770
- | { type: 'FailedToTransactAsset' }
2771
- | { type: 'NotWithdrawable' }
2772
- | { type: 'LocationCannotHold' }
2773
- | { type: 'ExceedsMaxMessageSize' }
2774
- | { type: 'DestinationUnsupported' }
2775
- | { type: 'Transport' }
2776
- | { type: 'Unroutable' }
2777
- | { type: 'UnknownClaim' }
2778
- | { type: 'FailedToDecode' }
2779
- | { type: 'MaxWeightInvalid' }
2780
- | { type: 'NotHoldingFees' }
2781
- | { type: 'TooExpensive' }
2782
- | { type: 'Trap'; value: bigint }
2783
- | { type: 'ExpectationFalse' }
2784
- | { type: 'PalletNotFound' }
2785
- | { type: 'NameMismatch' }
2786
- | { type: 'VersionIncompatible' }
2787
- | { type: 'HoldingWouldOverflow' }
2788
- | { type: 'ExportError' }
2789
- | { type: 'ReanchorFailed' }
2790
- | { type: 'NoDeal' }
2791
- | { type: 'FeesNotMet' }
2792
- | { type: 'LockError' }
2793
- | { type: 'NoPermission' }
2794
- | { type: 'Unanchored' }
2795
- | { type: 'NotDepositable' }
2796
- | { type: 'UnhandledXcmVersion' }
2797
- | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
2798
- | { type: 'Barrier' }
2799
- | { type: 'WeightNotComputable' }
2800
- | { type: 'ExceedsStackLimit' };
2801
-
2802
- export type XcmV3PalletInfo = {
2803
- index: number;
2804
- name: Bytes;
2805
- moduleName: Bytes;
2806
- major: number;
2807
- minor: number;
2808
- patch: number;
2809
- };
2810
-
2811
- export type StagingXcmV4Response =
2812
- | { type: 'Null' }
2813
- | { type: 'Assets'; value: StagingXcmV4AssetAssets }
2814
- | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
2815
- | { type: 'Version'; value: number }
2816
- | { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
2817
- | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
2818
-
2819
- export type StagingXcmV4PalletInfo = {
2820
- index: number;
2821
- name: Bytes;
2822
- moduleName: Bytes;
2823
- major: number;
2824
- minor: number;
2825
- patch: number;
2826
- };
2827
-
2828
- export type PalletXcmVersionMigrationStage =
2829
- | { type: 'MigrateSupportedVersion' }
2830
- | { type: 'MigrateVersionNotifiers' }
2831
- | { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
2832
- | { type: 'MigrateAndNotifyOldTargets' };
2833
-
2834
- export type XcmVersionedAssetId =
2835
- | { type: 'V3'; value: XcmV3MultiassetAssetId }
2836
- | { type: 'V4'; value: StagingXcmV4AssetAssetId }
2837
- | { type: 'V5'; value: StagingXcmV5AssetAssetId };
2838
-
2839
- export type PalletXcmRemoteLockedFungibleRecord = {
2840
- amount: bigint;
2841
- owner: XcmVersionedLocation;
2842
- locker: XcmVersionedLocation;
2843
- consumers: Array<[[], bigint]>;
2844
- };
2845
-
2846
- export type PalletXcmAuthorizedAliasesEntry = {
2847
- aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
2848
- ticket: FrameSupportStorageDisabled;
2849
- };
2850
-
2851
- export type FrameSupportStorageDisabled = {};
2852
-
2853
- export type PalletXcmMaxAuthorizedAliases = {};
2854
-
2855
- export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
2856
- location: XcmVersionedLocation;
2857
- expiry?: bigint | undefined;
2858
- };
2859
-
2860
- /**
2861
- * Contains a variant per dispatchable extrinsic that this pallet has.
2862
- **/
2863
- export type PalletXcmCall =
2864
- | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
2865
- /**
2866
- * Teleport some assets from the local chain to some destination chain.
2867
- *
2868
- * **This function is deprecated: Use `limited_teleport_assets` instead.**
2869
- *
2870
- * Fee payment on the destination side is made from the asset in the `assets` vector of
2871
- * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
2872
- * with all fees taken as needed from the asset.
2873
- *
2874
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
2875
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
2876
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
2877
- * relay to parachain.
2878
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
2879
- * generally be an `AccountId32` value.
2880
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
2881
- * fee on the `dest` chain.
2882
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
2883
- * fees.
2884
- **/
2885
- | {
2886
- name: 'TeleportAssets';
2887
- params: {
2888
- dest: XcmVersionedLocation;
2889
- beneficiary: XcmVersionedLocation;
2890
- assets: XcmVersionedAssets;
2891
- feeAssetItem: number;
2521
+ name: 'TeleportAssets';
2522
+ params: {
2523
+ dest: XcmVersionedLocation;
2524
+ beneficiary: XcmVersionedLocation;
2525
+ assets: XcmVersionedAssets;
2526
+ feeAssetItem: number;
2892
2527
  };
2893
2528
  }
2894
2529
  /**
@@ -3640,6 +3275,65 @@ export type XcmV3Instruction =
3640
3275
  value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV3MultilocationMultiLocation | undefined };
3641
3276
  };
3642
3277
 
3278
+ export type XcmV3Response =
3279
+ | { type: 'Null' }
3280
+ | { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
3281
+ | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
3282
+ | { type: 'Version'; value: number }
3283
+ | { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
3284
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
3285
+
3286
+ export type XcmV3TraitsError =
3287
+ | { type: 'Overflow' }
3288
+ | { type: 'Unimplemented' }
3289
+ | { type: 'UntrustedReserveLocation' }
3290
+ | { type: 'UntrustedTeleportLocation' }
3291
+ | { type: 'LocationFull' }
3292
+ | { type: 'LocationNotInvertible' }
3293
+ | { type: 'BadOrigin' }
3294
+ | { type: 'InvalidLocation' }
3295
+ | { type: 'AssetNotFound' }
3296
+ | { type: 'FailedToTransactAsset' }
3297
+ | { type: 'NotWithdrawable' }
3298
+ | { type: 'LocationCannotHold' }
3299
+ | { type: 'ExceedsMaxMessageSize' }
3300
+ | { type: 'DestinationUnsupported' }
3301
+ | { type: 'Transport' }
3302
+ | { type: 'Unroutable' }
3303
+ | { type: 'UnknownClaim' }
3304
+ | { type: 'FailedToDecode' }
3305
+ | { type: 'MaxWeightInvalid' }
3306
+ | { type: 'NotHoldingFees' }
3307
+ | { type: 'TooExpensive' }
3308
+ | { type: 'Trap'; value: bigint }
3309
+ | { type: 'ExpectationFalse' }
3310
+ | { type: 'PalletNotFound' }
3311
+ | { type: 'NameMismatch' }
3312
+ | { type: 'VersionIncompatible' }
3313
+ | { type: 'HoldingWouldOverflow' }
3314
+ | { type: 'ExportError' }
3315
+ | { type: 'ReanchorFailed' }
3316
+ | { type: 'NoDeal' }
3317
+ | { type: 'FeesNotMet' }
3318
+ | { type: 'LockError' }
3319
+ | { type: 'NoPermission' }
3320
+ | { type: 'Unanchored' }
3321
+ | { type: 'NotDepositable' }
3322
+ | { type: 'UnhandledXcmVersion' }
3323
+ | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
3324
+ | { type: 'Barrier' }
3325
+ | { type: 'WeightNotComputable' }
3326
+ | { type: 'ExceedsStackLimit' };
3327
+
3328
+ export type XcmV3PalletInfo = {
3329
+ index: number;
3330
+ name: Bytes;
3331
+ moduleName: Bytes;
3332
+ major: number;
3333
+ minor: number;
3334
+ patch: number;
3335
+ };
3336
+
3643
3337
  export type XcmV3QueryResponseInfo = {
3644
3338
  destination: StagingXcmV3MultilocationMultiLocation;
3645
3339
  queryId: bigint;
@@ -3748,6 +3442,23 @@ export type StagingXcmV4Instruction =
3748
3442
  value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
3749
3443
  };
3750
3444
 
3445
+ export type StagingXcmV4Response =
3446
+ | { type: 'Null' }
3447
+ | { type: 'Assets'; value: StagingXcmV4AssetAssets }
3448
+ | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
3449
+ | { type: 'Version'; value: number }
3450
+ | { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
3451
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
3452
+
3453
+ export type StagingXcmV4PalletInfo = {
3454
+ index: number;
3455
+ name: Bytes;
3456
+ moduleName: Bytes;
3457
+ major: number;
3458
+ minor: number;
3459
+ patch: number;
3460
+ };
3461
+
3751
3462
  export type StagingXcmV4QueryResponseInfo = {
3752
3463
  destination: StagingXcmV4Location;
3753
3464
  queryId: bigint;
@@ -3775,174 +3486,40 @@ export type StagingXcmExecutorAssetTransferTransferType =
3775
3486
  | { type: 'DestinationReserve' }
3776
3487
  | { type: 'RemoteReserve'; value: XcmVersionedLocation };
3777
3488
 
3489
+ export type XcmVersionedAssetId =
3490
+ | { type: 'V3'; value: XcmV3MultiassetAssetId }
3491
+ | { type: 'V4'; value: StagingXcmV4AssetAssetId }
3492
+ | { type: 'V5'; value: StagingXcmV5AssetAssetId };
3493
+
3778
3494
  /**
3779
- * The `Error` enum of this pallet.
3495
+ * Contains a variant per dispatchable extrinsic that this pallet has.
3780
3496
  **/
3781
- export type PalletXcmError =
3497
+ export type CumulusPalletXcmCall = null;
3498
+
3499
+ export type CumulusPalletXcmCallLike = null;
3500
+
3501
+ /**
3502
+ * Contains a variant per dispatchable extrinsic that this pallet has.
3503
+ **/
3504
+ export type PalletMessageQueueCall =
3782
3505
  /**
3783
- * The desired destination was unreachable, generally because there is a no way of routing
3784
- * to it.
3506
+ * Remove a page which has no more messages remaining to be processed or is stale.
3785
3507
  **/
3786
- | 'Unreachable'
3508
+ | { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
3787
3509
  /**
3788
- * There was some other issue (i.e. not to do with routing) in sending the message.
3789
- * Perhaps a lack of space for buffering the message.
3790
- **/
3791
- | 'SendFailure'
3792
- /**
3793
- * The message execution fails the filter.
3794
- **/
3795
- | 'Filtered'
3796
- /**
3797
- * The message's weight could not be determined.
3798
- **/
3799
- | 'UnweighableMessage'
3800
- /**
3801
- * The destination `Location` provided cannot be inverted.
3802
- **/
3803
- | 'DestinationNotInvertible'
3804
- /**
3805
- * The assets to be sent are empty.
3806
- **/
3807
- | 'Empty'
3808
- /**
3809
- * Could not re-anchor the assets to declare the fees for the destination chain.
3810
- **/
3811
- | 'CannotReanchor'
3812
- /**
3813
- * Too many assets have been attempted for transfer.
3814
- **/
3815
- | 'TooManyAssets'
3816
- /**
3817
- * Origin is invalid for sending.
3818
- **/
3819
- | 'InvalidOrigin'
3820
- /**
3821
- * The version of the `Versioned` value used is not able to be interpreted.
3822
- **/
3823
- | 'BadVersion'
3824
- /**
3825
- * The given location could not be used (e.g. because it cannot be expressed in the
3826
- * desired version of XCM).
3827
- **/
3828
- | 'BadLocation'
3829
- /**
3830
- * The referenced subscription could not be found.
3831
- **/
3832
- | 'NoSubscription'
3833
- /**
3834
- * The location is invalid since it already has a subscription from us.
3835
- **/
3836
- | 'AlreadySubscribed'
3837
- /**
3838
- * Could not check-out the assets for teleportation to the destination chain.
3839
- **/
3840
- | 'CannotCheckOutTeleport'
3841
- /**
3842
- * The owner does not own (all) of the asset that they wish to do the operation on.
3843
- **/
3844
- | 'LowBalance'
3845
- /**
3846
- * The asset owner has too many locks on the asset.
3847
- **/
3848
- | 'TooManyLocks'
3849
- /**
3850
- * The given account is not an identifiable sovereign account for any location.
3851
- **/
3852
- | 'AccountNotSovereign'
3853
- /**
3854
- * The operation required fees to be paid which the initiator could not meet.
3855
- **/
3856
- | 'FeesNotMet'
3857
- /**
3858
- * A remote lock with the corresponding data could not be found.
3859
- **/
3860
- | 'LockNotFound'
3861
- /**
3862
- * The unlock operation cannot succeed because there are still consumers of the lock.
3863
- **/
3864
- | 'InUse'
3865
- /**
3866
- * Invalid asset, reserve chain could not be determined for it.
3867
- **/
3868
- | 'InvalidAssetUnknownReserve'
3869
- /**
3870
- * Invalid asset, do not support remote asset reserves with different fees reserves.
3871
- **/
3872
- | 'InvalidAssetUnsupportedReserve'
3873
- /**
3874
- * Too many assets with different reserve locations have been attempted for transfer.
3875
- **/
3876
- | 'TooManyReserves'
3877
- /**
3878
- * Local XCM execution incomplete.
3879
- **/
3880
- | 'LocalExecutionIncomplete'
3881
- /**
3882
- * Too many locations authorized to alias origin.
3883
- **/
3884
- | 'TooManyAuthorizedAliases'
3885
- /**
3886
- * Expiry block number is in the past.
3887
- **/
3888
- | 'ExpiresInPast'
3889
- /**
3890
- * The alias to remove authorization for was not found.
3891
- **/
3892
- | 'AliasNotFound';
3893
-
3894
- /**
3895
- * Contains a variant per dispatchable extrinsic that this pallet has.
3896
- **/
3897
- export type CumulusPalletXcmCall = null;
3898
-
3899
- export type CumulusPalletXcmCallLike = null;
3900
-
3901
- export type PalletMessageQueueBookState = {
3902
- begin: number;
3903
- end: number;
3904
- count: number;
3905
- readyNeighbours?: PalletMessageQueueNeighbours | undefined;
3906
- messageCount: bigint;
3907
- size: bigint;
3908
- };
3909
-
3910
- export type PalletMessageQueueNeighbours = {
3911
- prev: CumulusPrimitivesCoreAggregateMessageOrigin;
3912
- next: CumulusPrimitivesCoreAggregateMessageOrigin;
3913
- };
3914
-
3915
- export type PalletMessageQueuePage = {
3916
- remaining: number;
3917
- remainingSize: number;
3918
- firstIndex: number;
3919
- first: number;
3920
- last: number;
3921
- heap: Bytes;
3922
- };
3923
-
3924
- /**
3925
- * Contains a variant per dispatchable extrinsic that this pallet has.
3926
- **/
3927
- export type PalletMessageQueueCall =
3928
- /**
3929
- * Remove a page which has no more messages remaining to be processed or is stale.
3930
- **/
3931
- | { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
3932
- /**
3933
- * Execute an overweight message.
3934
- *
3935
- * Temporary processing errors will be propagated whereas permanent errors are treated
3936
- * as success condition.
3937
- *
3938
- * - `origin`: Must be `Signed`.
3939
- * - `message_origin`: The origin from which the message to be executed arrived.
3940
- * - `page`: The page in the queue in which the message to be executed is sitting.
3941
- * - `index`: The index into the queue of the message to be executed.
3942
- * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
3943
- * of the message.
3944
- *
3945
- * Benchmark complexity considerations: O(index + weight_limit).
3510
+ * Execute an overweight message.
3511
+ *
3512
+ * Temporary processing errors will be propagated whereas permanent errors are treated
3513
+ * as success condition.
3514
+ *
3515
+ * - `origin`: Must be `Signed`.
3516
+ * - `message_origin`: The origin from which the message to be executed arrived.
3517
+ * - `page`: The page in the queue in which the message to be executed is sitting.
3518
+ * - `index`: The index into the queue of the message to be executed.
3519
+ * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
3520
+ * of the message.
3521
+ *
3522
+ * Benchmark complexity considerations: O(index + weight_limit).
3946
3523
  **/
3947
3524
  | {
3948
3525
  name: 'ExecuteOverweight';
@@ -3984,53 +3561,6 @@ export type PalletMessageQueueCallLike =
3984
3561
  };
3985
3562
  };
3986
3563
 
3987
- /**
3988
- * The `Error` enum of this pallet.
3989
- **/
3990
- export type PalletMessageQueueError =
3991
- /**
3992
- * Page is not reapable because it has items remaining to be processed and is not old
3993
- * enough.
3994
- **/
3995
- | 'NotReapable'
3996
- /**
3997
- * Page to be reaped does not exist.
3998
- **/
3999
- | 'NoPage'
4000
- /**
4001
- * The referenced message could not be found.
4002
- **/
4003
- | 'NoMessage'
4004
- /**
4005
- * The message was already processed and cannot be processed again.
4006
- **/
4007
- | 'AlreadyProcessed'
4008
- /**
4009
- * The message is queued for future execution.
4010
- **/
4011
- | 'Queued'
4012
- /**
4013
- * There is temporarily not enough weight to continue servicing messages.
4014
- **/
4015
- | 'InsufficientWeight'
4016
- /**
4017
- * This message is temporarily unprocessable.
4018
- *
4019
- * Such errors are expected, but not guaranteed, to resolve themselves eventually through
4020
- * retrying.
4021
- **/
4022
- | 'TemporarilyUnprocessable'
4023
- /**
4024
- * The queue is paused and no message can be executed from it.
4025
- *
4026
- * This can change at any time and may resolve in the future by re-trying.
4027
- **/
4028
- | 'QueuePaused'
4029
- /**
4030
- * Another call is in progress and needs to finish before this call can happen.
4031
- **/
4032
- | 'RecursiveDisallowed';
4033
-
4034
3564
  /**
4035
3565
  * Contains a variant per dispatchable extrinsic that this pallet has.
4036
3566
  **/
@@ -4292,41 +3822,24 @@ export type PalletUtilityCallLike =
4292
3822
  params: { asOrigin: PeopleKusamaRuntimeOriginCaller; call: PeopleKusamaRuntimeRuntimeCallLike };
4293
3823
  };
4294
3824
 
4295
- export type PeopleKusamaRuntimeRuntimeCall =
4296
- | { pallet: 'System'; palletCall: FrameSystemCall }
4297
- | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCall }
4298
- | { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
4299
- | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
4300
- | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
4301
- | { pallet: 'Balances'; palletCall: PalletBalancesCall }
4302
- | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
4303
- | { pallet: 'Session'; palletCall: PalletSessionCall }
4304
- | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
4305
- | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
4306
- | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
4307
- | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
4308
- | { pallet: 'Utility'; palletCall: PalletUtilityCall }
4309
- | { pallet: 'Multisig'; palletCall: PalletMultisigCall }
4310
- | { pallet: 'Proxy'; palletCall: PalletProxyCall }
4311
- | { pallet: 'Identity'; palletCall: PalletIdentityCall };
3825
+ export type PeopleKusamaRuntimeOriginCaller =
3826
+ | { type: 'System'; value: FrameSupportDispatchRawOrigin }
3827
+ | { type: 'PolkadotXcm'; value: PalletXcmOrigin }
3828
+ | { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
4312
3829
 
4313
- export type PeopleKusamaRuntimeRuntimeCallLike =
4314
- | { pallet: 'System'; palletCall: FrameSystemCallLike }
4315
- | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCallLike }
4316
- | { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
4317
- | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCallLike }
4318
- | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
4319
- | { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
4320
- | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
4321
- | { pallet: 'Session'; palletCall: PalletSessionCallLike }
4322
- | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCallLike }
4323
- | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
4324
- | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
4325
- | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
4326
- | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
4327
- | { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
4328
- | { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
4329
- | { pallet: 'Identity'; palletCall: PalletIdentityCallLike };
3830
+ export type FrameSupportDispatchRawOrigin =
3831
+ | { type: 'Root' }
3832
+ | { type: 'Signed'; value: AccountId32 }
3833
+ | { type: 'None' }
3834
+ | { type: 'Authorized' };
3835
+
3836
+ export type PalletXcmOrigin =
3837
+ | { type: 'Xcm'; value: StagingXcmV5Location }
3838
+ | { type: 'Response'; value: StagingXcmV5Location };
3839
+
3840
+ export type CumulusPalletXcmOrigin =
3841
+ | { type: 'Relay' }
3842
+ | { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
4330
3843
 
4331
3844
  /**
4332
3845
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -4709,7 +4222,7 @@ export type PalletProxyCall =
4709
4222
  *
4710
4223
  * The dispatch origin for this call must be _Signed_.
4711
4224
  *
4712
- * WARNING: This may be called on accounts created by `pure`, however if done, then
4225
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
4713
4226
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
4714
4227
  **/
4715
4228
  | { name: 'RemoveProxies' }
@@ -4741,16 +4254,16 @@ export type PalletProxyCall =
4741
4254
  * inaccessible.
4742
4255
  *
4743
4256
  * Requires a `Signed` origin, and the sender account must have been created by a call to
4744
- * `pure` with corresponding parameters.
4257
+ * `create_pure` with corresponding parameters.
4745
4258
  *
4746
- * - `spawner`: The account that originally called `pure` to create this account.
4747
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
4748
- * - `proxy_type`: The proxy type originally passed to `pure`.
4749
- * - `height`: The height of the chain when the call to `pure` was processed.
4750
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
4259
+ * - `spawner`: The account that originally called `create_pure` to create this account.
4260
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
4261
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
4262
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
4263
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
4751
4264
  *
4752
4265
  * Fails with `NoPermission` in case the caller is not a previously created pure
4753
- * account whose `pure` call has corresponding parameters.
4266
+ * account whose `create_pure` call has corresponding parameters.
4754
4267
  **/
4755
4268
  | {
4756
4269
  name: 'KillPure';
@@ -4890,7 +4403,7 @@ export type PalletProxyCallLike =
4890
4403
  *
4891
4404
  * The dispatch origin for this call must be _Signed_.
4892
4405
  *
4893
- * WARNING: This may be called on accounts created by `pure`, however if done, then
4406
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
4894
4407
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
4895
4408
  **/
4896
4409
  | { name: 'RemoveProxies' }
@@ -4922,16 +4435,16 @@ export type PalletProxyCallLike =
4922
4435
  * inaccessible.
4923
4436
  *
4924
4437
  * Requires a `Signed` origin, and the sender account must have been created by a call to
4925
- * `pure` with corresponding parameters.
4438
+ * `create_pure` with corresponding parameters.
4926
4439
  *
4927
- * - `spawner`: The account that originally called `pure` to create this account.
4928
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
4929
- * - `proxy_type`: The proxy type originally passed to `pure`.
4930
- * - `height`: The height of the chain when the call to `pure` was processed.
4931
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
4440
+ * - `spawner`: The account that originally called `create_pure` to create this account.
4441
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
4442
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
4443
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
4444
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
4932
4445
  *
4933
4446
  * Fails with `NoPermission` in case the caller is not a previously created pure
4934
- * account whose `pure` call has corresponding parameters.
4447
+ * account whose `create_pure` call has corresponding parameters.
4935
4448
  **/
4936
4449
  | {
4937
4450
  name: 'KillPure';
@@ -5403,177 +4916,797 @@ export type PalletIdentityCallLike =
5403
4916
  *
5404
4917
  * Emits `JudgementGiven` if successful.
5405
4918
  **/
5406
- | {
5407
- name: 'ProvideJudgement';
5408
- params: { regIndex: number; target: MultiAddressLike; judgement: PalletIdentityJudgement; identity: H256 };
5409
- }
4919
+ | {
4920
+ name: 'ProvideJudgement';
4921
+ params: { regIndex: number; target: MultiAddressLike; judgement: PalletIdentityJudgement; identity: H256 };
4922
+ }
4923
+ /**
4924
+ * Remove an account's identity and sub-account information and slash the deposits.
4925
+ *
4926
+ * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by
4927
+ * `Slash`. Verification request deposits are not returned; they should be cancelled
4928
+ * manually using `cancel_request`.
4929
+ *
4930
+ * The dispatch origin for this call must match `T::ForceOrigin`.
4931
+ *
4932
+ * - `target`: the account whose identity the judgement is upon. This must be an account
4933
+ * with a registered identity.
4934
+ *
4935
+ * Emits `IdentityKilled` if successful.
4936
+ **/
4937
+ | { name: 'KillIdentity'; params: { target: MultiAddressLike } }
4938
+ /**
4939
+ * Add the given account to the sender's subs.
4940
+ *
4941
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
4942
+ * to the sender.
4943
+ *
4944
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
4945
+ * sub identity of `sub`.
4946
+ **/
4947
+ | { name: 'AddSub'; params: { sub: MultiAddressLike; data: Data } }
4948
+ /**
4949
+ * Alter the associated name of the given sub-account.
4950
+ *
4951
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
4952
+ * sub identity of `sub`.
4953
+ **/
4954
+ | { name: 'RenameSub'; params: { sub: MultiAddressLike; data: Data } }
4955
+ /**
4956
+ * Remove the given account from the sender's subs.
4957
+ *
4958
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
4959
+ * to the sender.
4960
+ *
4961
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
4962
+ * sub identity of `sub`.
4963
+ **/
4964
+ | { name: 'RemoveSub'; params: { sub: MultiAddressLike } }
4965
+ /**
4966
+ * Remove the sender as a sub-account.
4967
+ *
4968
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
4969
+ * to the sender (*not* the original depositor).
4970
+ *
4971
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
4972
+ * super-identity.
4973
+ *
4974
+ * NOTE: This should not normally be used, but is provided in the case that the non-
4975
+ * controller of an account is maliciously registered as a sub-account.
4976
+ **/
4977
+ | { name: 'QuitSub' }
4978
+ /**
4979
+ * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
4980
+ *
4981
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
4982
+ * change the account used to grant usernames, this call can be used with the updated
4983
+ * parameters to overwrite the existing configuration.
4984
+ **/
4985
+ | { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
4986
+ /**
4987
+ * Remove `authority` from the username authorities.
4988
+ **/
4989
+ | { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
4990
+ /**
4991
+ * Set the username for `who`. Must be called by a username authority.
4992
+ *
4993
+ * If `use_allocation` is set, the authority must have a username allocation available to
4994
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
4995
+ * username.
4996
+ *
4997
+ * Users can either pre-sign their usernames or
4998
+ * accept them later.
4999
+ *
5000
+ * Usernames must:
5001
+ * - Only contain lowercase ASCII characters or digits.
5002
+ * - When combined with the suffix of the issuing authority be _less than_ the
5003
+ * `MaxUsernameLength`.
5004
+ **/
5005
+ | {
5006
+ name: 'SetUsernameFor';
5007
+ params: {
5008
+ who: MultiAddressLike;
5009
+ username: BytesLike;
5010
+ signature?: SpRuntimeMultiSignature | undefined;
5011
+ useAllocation: boolean;
5012
+ };
5013
+ }
5014
+ /**
5015
+ * Accept a given username that an `authority` granted. The call must include the full
5016
+ * username, as in `username.suffix`.
5017
+ **/
5018
+ | { name: 'AcceptUsername'; params: { username: BytesLike } }
5019
+ /**
5020
+ * Remove an expired username approval. The username was approved by an authority but never
5021
+ * accepted by the user and must now be beyond its expiration. The call must include the
5022
+ * full username, as in `username.suffix`.
5023
+ **/
5024
+ | { name: 'RemoveExpiredApproval'; params: { username: BytesLike } }
5025
+ /**
5026
+ * Set a given username as the primary. The username should include the suffix.
5027
+ **/
5028
+ | { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
5029
+ /**
5030
+ * Start the process of removing a username by placing it in the unbinding usernames map.
5031
+ * Once the grace period has passed, the username can be deleted by calling
5032
+ * [remove_username](crate::Call::remove_username).
5033
+ **/
5034
+ | { name: 'UnbindUsername'; params: { username: BytesLike } }
5035
+ /**
5036
+ * Permanently delete a username which has been unbinding for longer than the grace period.
5037
+ * Caller is refunded the fee if the username expired and the removal was successful.
5038
+ **/
5039
+ | { name: 'RemoveUsername'; params: { username: BytesLike } }
5040
+ /**
5041
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
5042
+ * and slashes any deposit associated with it.
5043
+ **/
5044
+ | { name: 'KillUsername'; params: { username: BytesLike } };
5045
+
5046
+ export type PeopleKusamaRuntimePeopleIdentityInfo = {
5047
+ display: Data;
5048
+ legal: Data;
5049
+ web: Data;
5050
+ matrix: Data;
5051
+ email: Data;
5052
+ pgpFingerprint?: FixedBytes<20> | undefined;
5053
+ image: Data;
5054
+ twitter: Data;
5055
+ github: Data;
5056
+ discord: Data;
5057
+ };
5058
+
5059
+ export type PalletIdentityJudgement =
5060
+ | { type: 'Unknown' }
5061
+ | { type: 'FeePaid'; value: bigint }
5062
+ | { type: 'Reasonable' }
5063
+ | { type: 'KnownGood' }
5064
+ | { type: 'OutOfDate' }
5065
+ | { type: 'LowQuality' }
5066
+ | { type: 'Erroneous' };
5067
+
5068
+ export type SpRuntimeMultiSignature =
5069
+ | { type: 'Ed25519'; value: FixedBytes<64> }
5070
+ | { type: 'Sr25519'; value: FixedBytes<64> }
5071
+ | { type: 'Ecdsa'; value: FixedBytes<65> };
5072
+
5073
+ export type SpRuntimeBlakeTwo256 = {};
5074
+
5075
+ export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
5076
+
5077
+ export type FrameSystemExtensionsCheckNonZeroSender = {};
5078
+
5079
+ export type FrameSystemExtensionsCheckSpecVersion = {};
5080
+
5081
+ export type FrameSystemExtensionsCheckTxVersion = {};
5082
+
5083
+ export type FrameSystemExtensionsCheckGenesis = {};
5084
+
5085
+ export type FrameSystemExtensionsCheckMortality = Era;
5086
+
5087
+ export type FrameSystemExtensionsCheckNonce = number;
5088
+
5089
+ export type FrameSystemExtensionsCheckWeight = {};
5090
+
5091
+ export type PalletTransactionPaymentChargeTransactionPayment = bigint;
5092
+
5093
+ export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
5094
+
5095
+ export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
5096
+
5097
+ export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
5098
+ usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
5099
+ paraHeadHash?: H256 | undefined;
5100
+ consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
5101
+ };
5102
+
5103
+ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
5104
+ umpMsgCount: number;
5105
+ umpTotalBytes: number;
5106
+ hrmpOutgoing: Array<
5107
+ [PolkadotParachainPrimitivesPrimitivesId, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate]
5108
+ >;
5109
+ };
5110
+
5111
+ export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
5112
+
5113
+ export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
5114
+
5115
+ export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
5116
+ usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
5117
+ hrmpWatermark?: number | undefined;
5118
+ consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
5119
+ };
5120
+
5121
+ export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
5122
+
5123
+ export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
5124
+ dmqMqcHead: H256;
5125
+ relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
5126
+ ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
5127
+ egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
5128
+ };
5129
+
5130
+ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
5131
+ remainingCount: number;
5132
+ remainingSize: number;
5133
+ };
5134
+
5135
+ export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
5136
+ maxCapacity: number;
5137
+ maxTotalSize: number;
5138
+ maxMessageSize: number;
5139
+ msgCount: number;
5140
+ totalSize: number;
5141
+ mqcHead?: H256 | undefined;
5142
+ };
5143
+
5144
+ export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
5145
+ maxCodeSize: number;
5146
+ maxHeadDataSize: number;
5147
+ maxUpwardQueueCount: number;
5148
+ maxUpwardQueueSize: number;
5149
+ maxUpwardMessageSize: number;
5150
+ maxUpwardMessageNumPerCandidate: number;
5151
+ hrmpMaxMessageNumPerCandidate: number;
5152
+ validationUpgradeCooldown: number;
5153
+ validationUpgradeDelay: number;
5154
+ asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
5155
+ };
5156
+
5157
+ export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
5158
+ maxCandidateDepth: number;
5159
+ allowedAncestryLen: number;
5160
+ };
5161
+
5162
+ export type CumulusPrimitivesParachainInherentMessageQueueChain = H256;
5163
+
5164
+ export type CumulusPalletParachainSystemParachainInherentInboundMessageId = { sentAt: number; reverseIdx: number };
5165
+
5166
+ export type PolkadotCorePrimitivesOutboundHrmpMessage = {
5167
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
5168
+ data: Bytes;
5169
+ };
5170
+
5171
+ /**
5172
+ * The `Error` enum of this pallet.
5173
+ **/
5174
+ export type CumulusPalletParachainSystemError =
5175
+ /**
5176
+ * Attempt to upgrade validation function while existing upgrade pending.
5177
+ **/
5178
+ | 'OverlappingUpgrades'
5179
+ /**
5180
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
5181
+ **/
5182
+ | 'ProhibitedByPolkadot'
5183
+ /**
5184
+ * The supplied validation function has compiled into a blob larger than Polkadot is
5185
+ * willing to run.
5186
+ **/
5187
+ | 'TooBig'
5188
+ /**
5189
+ * The inherent which supplies the validation data did not run this block.
5190
+ **/
5191
+ | 'ValidationDataNotAvailable'
5192
+ /**
5193
+ * The inherent which supplies the host configuration did not run this block.
5194
+ **/
5195
+ | 'HostConfigurationNotAvailable'
5196
+ /**
5197
+ * No validation function upgrade is currently scheduled.
5198
+ **/
5199
+ | 'NotScheduled';
5200
+
5201
+ /**
5202
+ * The `Error` enum of this pallet.
5203
+ **/
5204
+ export type PalletMigrationsError =
5205
+ /**
5206
+ * The operation cannot complete since some MBMs are ongoing.
5207
+ **/
5208
+ 'Ongoing';
5209
+
5210
+ export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
5211
+
5212
+ export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
5213
+
5214
+ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
5215
+
5216
+ export type FrameSupportTokensMiscIdAmount = { id: PeopleKusamaRuntimeRuntimeHoldReason; amount: bigint };
5217
+
5218
+ export type PeopleKusamaRuntimeRuntimeHoldReason =
5219
+ | { type: 'Session'; value: PalletSessionHoldReason }
5220
+ | { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
5221
+
5222
+ export type PalletSessionHoldReason = 'Keys';
5223
+
5224
+ export type PalletXcmHoldReason = 'AuthorizeAlias';
5225
+
5226
+ export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
5227
+
5228
+ /**
5229
+ * The `Error` enum of this pallet.
5230
+ **/
5231
+ export type PalletBalancesError =
5232
+ /**
5233
+ * Vesting balance too high to send value.
5234
+ **/
5235
+ | 'VestingBalance'
5236
+ /**
5237
+ * Account liquidity restrictions prevent withdrawal.
5238
+ **/
5239
+ | 'LiquidityRestrictions'
5240
+ /**
5241
+ * Balance too low to send value.
5242
+ **/
5243
+ | 'InsufficientBalance'
5244
+ /**
5245
+ * Value too low to create account due to existential deposit.
5246
+ **/
5247
+ | 'ExistentialDeposit'
5248
+ /**
5249
+ * Transfer/payment would kill account.
5250
+ **/
5251
+ | 'Expendability'
5252
+ /**
5253
+ * A vesting schedule already exists for this account.
5254
+ **/
5255
+ | 'ExistingVestingSchedule'
5256
+ /**
5257
+ * Beneficiary account must pre-exist.
5258
+ **/
5259
+ | 'DeadAccount'
5260
+ /**
5261
+ * Number of named reserves exceed `MaxReserves`.
5262
+ **/
5263
+ | 'TooManyReserves'
5264
+ /**
5265
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
5266
+ **/
5267
+ | 'TooManyHolds'
5268
+ /**
5269
+ * Number of freezes exceed `MaxFreezes`.
5270
+ **/
5271
+ | 'TooManyFreezes'
5272
+ /**
5273
+ * The issuance cannot be modified since it is already deactivated.
5274
+ **/
5275
+ | 'IssuanceDeactivated'
5276
+ /**
5277
+ * The delta cannot be zero.
5278
+ **/
5279
+ | 'DeltaZero';
5280
+
5281
+ export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
5282
+
5283
+ export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
5284
+
5285
+ export type FrameSupportPalletId = FixedBytes<8>;
5286
+
5287
+ /**
5288
+ * The `Error` enum of this pallet.
5289
+ **/
5290
+ export type PalletCollatorSelectionError =
5291
+ /**
5292
+ * The pallet has too many candidates.
5293
+ **/
5294
+ | 'TooManyCandidates'
5295
+ /**
5296
+ * Leaving would result in too few candidates.
5297
+ **/
5298
+ | 'TooFewEligibleCollators'
5299
+ /**
5300
+ * Account is already a candidate.
5301
+ **/
5302
+ | 'AlreadyCandidate'
5303
+ /**
5304
+ * Account is not a candidate.
5305
+ **/
5306
+ | 'NotCandidate'
5307
+ /**
5308
+ * There are too many Invulnerables.
5309
+ **/
5310
+ | 'TooManyInvulnerables'
5311
+ /**
5312
+ * Account is already an Invulnerable.
5313
+ **/
5314
+ | 'AlreadyInvulnerable'
5315
+ /**
5316
+ * Account is not an Invulnerable.
5317
+ **/
5318
+ | 'NotInvulnerable'
5319
+ /**
5320
+ * Account has no associated validator ID.
5321
+ **/
5322
+ | 'NoAssociatedValidatorId'
5323
+ /**
5324
+ * Validator ID is not yet registered.
5325
+ **/
5326
+ | 'ValidatorNotRegistered'
5327
+ /**
5328
+ * Could not insert in the candidate list.
5329
+ **/
5330
+ | 'InsertToCandidateListFailed'
5331
+ /**
5332
+ * Could not remove from the candidate list.
5333
+ **/
5334
+ | 'RemoveFromCandidateListFailed'
5335
+ /**
5336
+ * New deposit amount would be below the minimum candidacy bond.
5337
+ **/
5338
+ | 'DepositTooLow'
5339
+ /**
5340
+ * Could not update the candidate list.
5341
+ **/
5342
+ | 'UpdateCandidateListFailed'
5343
+ /**
5344
+ * Deposit amount is too low to take the target's slot in the candidate list.
5345
+ **/
5346
+ | 'InsufficientBond'
5347
+ /**
5348
+ * The target account to be replaced in the candidate list is not a candidate.
5349
+ **/
5350
+ | 'TargetIsNotCandidate'
5351
+ /**
5352
+ * The updated deposit amount is equal to the amount already reserved.
5353
+ **/
5354
+ | 'IdenticalDeposit'
5355
+ /**
5356
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
5357
+ **/
5358
+ | 'InvalidUnreserve';
5359
+
5360
+ export type SpStakingOffenceOffenceSeverity = Perbill;
5361
+
5362
+ export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
5363
+
5364
+ /**
5365
+ * Error for the session pallet.
5366
+ **/
5367
+ export type PalletSessionError =
5368
+ /**
5369
+ * Invalid ownership proof.
5370
+ **/
5371
+ | 'InvalidProof'
5372
+ /**
5373
+ * No associated validator ID for account.
5374
+ **/
5375
+ | 'NoAssociatedValidatorId'
5376
+ /**
5377
+ * Registered duplicate key.
5378
+ **/
5379
+ | 'DuplicatedKey'
5380
+ /**
5381
+ * No keys are associated with this account.
5382
+ **/
5383
+ | 'NoKeys'
5384
+ /**
5385
+ * Key setting account is not live, so it's impossible to associate keys.
5386
+ **/
5387
+ | 'NoAccount';
5388
+
5389
+ export type SpConsensusSlotsSlot = bigint;
5390
+
5391
+ export type CumulusPalletXcmpQueueOutboundChannelDetails = {
5392
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
5393
+ state: CumulusPalletXcmpQueueOutboundState;
5394
+ signalsExist: boolean;
5395
+ firstIndex: number;
5396
+ lastIndex: number;
5397
+ };
5398
+
5399
+ export type CumulusPalletXcmpQueueOutboundState = 'Ok' | 'Suspended';
5400
+
5401
+ export type CumulusPalletXcmpQueueQueueConfigData = {
5402
+ suspendThreshold: number;
5403
+ dropThreshold: number;
5404
+ resumeThreshold: number;
5405
+ };
5406
+
5407
+ /**
5408
+ * The `Error` enum of this pallet.
5409
+ **/
5410
+ export type CumulusPalletXcmpQueueError =
5411
+ /**
5412
+ * Setting the queue config failed since one of its values was invalid.
5413
+ **/
5414
+ | 'BadQueueConfig'
5415
+ /**
5416
+ * The execution is already suspended.
5417
+ **/
5418
+ | 'AlreadySuspended'
5419
+ /**
5420
+ * The execution is already resumed.
5421
+ **/
5422
+ | 'AlreadyResumed'
5423
+ /**
5424
+ * There are too many active outbound channels.
5425
+ **/
5426
+ | 'TooManyActiveOutboundChannels'
5427
+ /**
5428
+ * The message is too big.
5429
+ **/
5430
+ | 'TooBig';
5431
+
5432
+ export type PalletXcmQueryStatus =
5433
+ | {
5434
+ type: 'Pending';
5435
+ value: {
5436
+ responder: XcmVersionedLocation;
5437
+ maybeMatchQuerier?: XcmVersionedLocation | undefined;
5438
+ maybeNotify?: [number, number] | undefined;
5439
+ timeout: number;
5440
+ };
5441
+ }
5442
+ | { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
5443
+ | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
5444
+
5445
+ export type XcmVersionedResponse =
5446
+ | { type: 'V3'; value: XcmV3Response }
5447
+ | { type: 'V4'; value: StagingXcmV4Response }
5448
+ | { type: 'V5'; value: StagingXcmV5Response };
5449
+
5450
+ export type PalletXcmVersionMigrationStage =
5451
+ | { type: 'MigrateSupportedVersion' }
5452
+ | { type: 'MigrateVersionNotifiers' }
5453
+ | { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
5454
+ | { type: 'MigrateAndNotifyOldTargets' };
5455
+
5456
+ export type PalletXcmRemoteLockedFungibleRecord = {
5457
+ amount: bigint;
5458
+ owner: XcmVersionedLocation;
5459
+ locker: XcmVersionedLocation;
5460
+ consumers: Array<[[], bigint]>;
5461
+ };
5462
+
5463
+ export type PalletXcmAuthorizedAliasesEntry = {
5464
+ aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
5465
+ ticket: FrameSupportTokensFungibleHoldConsideration;
5466
+ };
5467
+
5468
+ export type FrameSupportTokensFungibleHoldConsideration = bigint;
5469
+
5470
+ export type PalletXcmMaxAuthorizedAliases = {};
5471
+
5472
+ export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
5473
+ location: XcmVersionedLocation;
5474
+ expiry?: bigint | undefined;
5475
+ };
5476
+
5477
+ /**
5478
+ * The `Error` enum of this pallet.
5479
+ **/
5480
+ export type PalletXcmError =
5481
+ /**
5482
+ * The desired destination was unreachable, generally because there is a no way of routing
5483
+ * to it.
5484
+ **/
5485
+ | { name: 'Unreachable' }
5486
+ /**
5487
+ * There was some other issue (i.e. not to do with routing) in sending the message.
5488
+ * Perhaps a lack of space for buffering the message.
5489
+ **/
5490
+ | { name: 'SendFailure' }
5491
+ /**
5492
+ * The message execution fails the filter.
5493
+ **/
5494
+ | { name: 'Filtered' }
5495
+ /**
5496
+ * The message's weight could not be determined.
5497
+ **/
5498
+ | { name: 'UnweighableMessage' }
5499
+ /**
5500
+ * The destination `Location` provided cannot be inverted.
5501
+ **/
5502
+ | { name: 'DestinationNotInvertible' }
5503
+ /**
5504
+ * The assets to be sent are empty.
5505
+ **/
5506
+ | { name: 'Empty' }
5507
+ /**
5508
+ * Could not re-anchor the assets to declare the fees for the destination chain.
5509
+ **/
5510
+ | { name: 'CannotReanchor' }
5511
+ /**
5512
+ * Too many assets have been attempted for transfer.
5513
+ **/
5514
+ | { name: 'TooManyAssets' }
5515
+ /**
5516
+ * Origin is invalid for sending.
5517
+ **/
5518
+ | { name: 'InvalidOrigin' }
5519
+ /**
5520
+ * The version of the `Versioned` value used is not able to be interpreted.
5521
+ **/
5522
+ | { name: 'BadVersion' }
5523
+ /**
5524
+ * The given location could not be used (e.g. because it cannot be expressed in the
5525
+ * desired version of XCM).
5526
+ **/
5527
+ | { name: 'BadLocation' }
5528
+ /**
5529
+ * The referenced subscription could not be found.
5530
+ **/
5531
+ | { name: 'NoSubscription' }
5532
+ /**
5533
+ * The location is invalid since it already has a subscription from us.
5534
+ **/
5535
+ | { name: 'AlreadySubscribed' }
5410
5536
  /**
5411
- * Remove an account's identity and sub-account information and slash the deposits.
5412
- *
5413
- * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by
5414
- * `Slash`. Verification request deposits are not returned; they should be cancelled
5415
- * manually using `cancel_request`.
5416
- *
5417
- * The dispatch origin for this call must match `T::ForceOrigin`.
5418
- *
5419
- * - `target`: the account whose identity the judgement is upon. This must be an account
5420
- * with a registered identity.
5421
- *
5422
- * Emits `IdentityKilled` if successful.
5537
+ * Could not check-out the assets for teleportation to the destination chain.
5423
5538
  **/
5424
- | { name: 'KillIdentity'; params: { target: MultiAddressLike } }
5539
+ | { name: 'CannotCheckOutTeleport' }
5425
5540
  /**
5426
- * Add the given account to the sender's subs.
5427
- *
5428
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
5429
- * to the sender.
5430
- *
5431
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5432
- * sub identity of `sub`.
5541
+ * The owner does not own (all) of the asset that they wish to do the operation on.
5433
5542
  **/
5434
- | { name: 'AddSub'; params: { sub: MultiAddressLike; data: Data } }
5543
+ | { name: 'LowBalance' }
5435
5544
  /**
5436
- * Alter the associated name of the given sub-account.
5437
- *
5438
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5439
- * sub identity of `sub`.
5545
+ * The asset owner has too many locks on the asset.
5440
5546
  **/
5441
- | { name: 'RenameSub'; params: { sub: MultiAddressLike; data: Data } }
5547
+ | { name: 'TooManyLocks' }
5442
5548
  /**
5443
- * Remove the given account from the sender's subs.
5444
- *
5445
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
5446
- * to the sender.
5447
- *
5448
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5449
- * sub identity of `sub`.
5549
+ * The given account is not an identifiable sovereign account for any location.
5450
5550
  **/
5451
- | { name: 'RemoveSub'; params: { sub: MultiAddressLike } }
5551
+ | { name: 'AccountNotSovereign' }
5452
5552
  /**
5453
- * Remove the sender as a sub-account.
5454
- *
5455
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
5456
- * to the sender (*not* the original depositor).
5457
- *
5458
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5459
- * super-identity.
5460
- *
5461
- * NOTE: This should not normally be used, but is provided in the case that the non-
5462
- * controller of an account is maliciously registered as a sub-account.
5553
+ * The operation required fees to be paid which the initiator could not meet.
5463
5554
  **/
5464
- | { name: 'QuitSub' }
5555
+ | { name: 'FeesNotMet' }
5465
5556
  /**
5466
- * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
5467
- *
5468
- * The authority can grant up to `allocation` usernames. To top up the allocation or
5469
- * change the account used to grant usernames, this call can be used with the updated
5470
- * parameters to overwrite the existing configuration.
5557
+ * A remote lock with the corresponding data could not be found.
5471
5558
  **/
5472
- | { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
5559
+ | { name: 'LockNotFound' }
5473
5560
  /**
5474
- * Remove `authority` from the username authorities.
5561
+ * The unlock operation cannot succeed because there are still consumers of the lock.
5475
5562
  **/
5476
- | { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
5563
+ | { name: 'InUse' }
5477
5564
  /**
5478
- * Set the username for `who`. Must be called by a username authority.
5479
- *
5480
- * If `use_allocation` is set, the authority must have a username allocation available to
5481
- * spend. Otherwise, the authority will need to put up a deposit for registering the
5482
- * username.
5483
- *
5484
- * Users can either pre-sign their usernames or
5485
- * accept them later.
5486
- *
5487
- * Usernames must:
5488
- * - Only contain lowercase ASCII characters or digits.
5489
- * - When combined with the suffix of the issuing authority be _less than_ the
5490
- * `MaxUsernameLength`.
5565
+ * Invalid asset, reserve chain could not be determined for it.
5491
5566
  **/
5492
- | {
5493
- name: 'SetUsernameFor';
5494
- params: {
5495
- who: MultiAddressLike;
5496
- username: BytesLike;
5497
- signature?: SpRuntimeMultiSignature | undefined;
5498
- useAllocation: boolean;
5499
- };
5500
- }
5567
+ | { name: 'InvalidAssetUnknownReserve' }
5501
5568
  /**
5502
- * Accept a given username that an `authority` granted. The call must include the full
5503
- * username, as in `username.suffix`.
5569
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
5504
5570
  **/
5505
- | { name: 'AcceptUsername'; params: { username: BytesLike } }
5571
+ | { name: 'InvalidAssetUnsupportedReserve' }
5506
5572
  /**
5507
- * Remove an expired username approval. The username was approved by an authority but never
5508
- * accepted by the user and must now be beyond its expiration. The call must include the
5509
- * full username, as in `username.suffix`.
5573
+ * Too many assets with different reserve locations have been attempted for transfer.
5510
5574
  **/
5511
- | { name: 'RemoveExpiredApproval'; params: { username: BytesLike } }
5575
+ | { name: 'TooManyReserves' }
5512
5576
  /**
5513
- * Set a given username as the primary. The username should include the suffix.
5577
+ * Local XCM execution incomplete.
5514
5578
  **/
5515
- | { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
5579
+ | { name: 'LocalExecutionIncomplete' }
5516
5580
  /**
5517
- * Start the process of removing a username by placing it in the unbinding usernames map.
5518
- * Once the grace period has passed, the username can be deleted by calling
5519
- * [remove_username](crate::Call::remove_username).
5581
+ * Too many locations authorized to alias origin.
5520
5582
  **/
5521
- | { name: 'UnbindUsername'; params: { username: BytesLike } }
5583
+ | { name: 'TooManyAuthorizedAliases' }
5522
5584
  /**
5523
- * Permanently delete a username which has been unbinding for longer than the grace period.
5524
- * Caller is refunded the fee if the username expired and the removal was successful.
5585
+ * Expiry block number is in the past.
5525
5586
  **/
5526
- | { name: 'RemoveUsername'; params: { username: BytesLike } }
5587
+ | { name: 'ExpiresInPast' }
5527
5588
  /**
5528
- * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
5529
- * and slashes any deposit associated with it.
5589
+ * The alias to remove authorization for was not found.
5530
5590
  **/
5531
- | { name: 'KillUsername'; params: { username: BytesLike } };
5532
-
5533
- export type PeopleKusamaRuntimePeopleIdentityInfo = {
5534
- display: Data;
5535
- legal: Data;
5536
- web: Data;
5537
- matrix: Data;
5538
- email: Data;
5539
- pgpFingerprint?: FixedBytes<20> | undefined;
5540
- image: Data;
5541
- twitter: Data;
5542
- github: Data;
5543
- discord: Data;
5544
- };
5545
-
5546
- export type PalletIdentityJudgement =
5547
- | { type: 'Unknown' }
5548
- | { type: 'FeePaid'; value: bigint }
5549
- | { type: 'Reasonable' }
5550
- | { type: 'KnownGood' }
5551
- | { type: 'OutOfDate' }
5552
- | { type: 'LowQuality' }
5553
- | { type: 'Erroneous' };
5591
+ | { name: 'AliasNotFound' }
5592
+ /**
5593
+ * Local XCM execution incomplete with the actual XCM error and the index of the
5594
+ * instruction that caused the error.
5595
+ **/
5596
+ | { name: 'LocalExecutionIncompleteWithError'; data: { index: number; error: PalletXcmErrorsExecutionError } };
5554
5597
 
5555
- export type SpRuntimeMultiSignature =
5556
- | { type: 'Ed25519'; value: FixedBytes<64> }
5557
- | { type: 'Sr25519'; value: FixedBytes<64> }
5558
- | { type: 'Ecdsa'; value: FixedBytes<65> };
5598
+ export type PalletXcmErrorsExecutionError =
5599
+ | 'Overflow'
5600
+ | 'Unimplemented'
5601
+ | 'UntrustedReserveLocation'
5602
+ | 'UntrustedTeleportLocation'
5603
+ | 'LocationFull'
5604
+ | 'LocationNotInvertible'
5605
+ | 'BadOrigin'
5606
+ | 'InvalidLocation'
5607
+ | 'AssetNotFound'
5608
+ | 'FailedToTransactAsset'
5609
+ | 'NotWithdrawable'
5610
+ | 'LocationCannotHold'
5611
+ | 'ExceedsMaxMessageSize'
5612
+ | 'DestinationUnsupported'
5613
+ | 'Transport'
5614
+ | 'Unroutable'
5615
+ | 'UnknownClaim'
5616
+ | 'FailedToDecode'
5617
+ | 'MaxWeightInvalid'
5618
+ | 'NotHoldingFees'
5619
+ | 'TooExpensive'
5620
+ | 'Trap'
5621
+ | 'ExpectationFalse'
5622
+ | 'PalletNotFound'
5623
+ | 'NameMismatch'
5624
+ | 'VersionIncompatible'
5625
+ | 'HoldingWouldOverflow'
5626
+ | 'ExportError'
5627
+ | 'ReanchorFailed'
5628
+ | 'NoDeal'
5629
+ | 'FeesNotMet'
5630
+ | 'LockError'
5631
+ | 'NoPermission'
5632
+ | 'Unanchored'
5633
+ | 'NotDepositable'
5634
+ | 'TooManyAssets'
5635
+ | 'UnhandledXcmVersion'
5636
+ | 'WeightLimitReached'
5637
+ | 'Barrier'
5638
+ | 'WeightNotComputable'
5639
+ | 'ExceedsStackLimit';
5559
5640
 
5560
- export type PeopleKusamaRuntimeOriginCaller =
5561
- | { type: 'System'; value: FrameSupportDispatchRawOrigin }
5562
- | { type: 'PolkadotXcm'; value: PalletXcmOrigin }
5563
- | { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
5641
+ export type PalletMessageQueueBookState = {
5642
+ begin: number;
5643
+ end: number;
5644
+ count: number;
5645
+ readyNeighbours?: PalletMessageQueueNeighbours | undefined;
5646
+ messageCount: bigint;
5647
+ size: bigint;
5648
+ };
5564
5649
 
5565
- export type FrameSupportDispatchRawOrigin =
5566
- | { type: 'Root' }
5567
- | { type: 'Signed'; value: AccountId32 }
5568
- | { type: 'None' };
5650
+ export type PalletMessageQueueNeighbours = {
5651
+ prev: CumulusPrimitivesCoreAggregateMessageOrigin;
5652
+ next: CumulusPrimitivesCoreAggregateMessageOrigin;
5653
+ };
5569
5654
 
5570
- export type PalletXcmOrigin =
5571
- | { type: 'Xcm'; value: StagingXcmV5Location }
5572
- | { type: 'Response'; value: StagingXcmV5Location };
5655
+ export type PalletMessageQueuePage = {
5656
+ remaining: number;
5657
+ remainingSize: number;
5658
+ firstIndex: number;
5659
+ first: number;
5660
+ last: number;
5661
+ heap: Bytes;
5662
+ };
5573
5663
 
5574
- export type CumulusPalletXcmOrigin =
5575
- | { type: 'Relay' }
5576
- | { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
5664
+ /**
5665
+ * The `Error` enum of this pallet.
5666
+ **/
5667
+ export type PalletMessageQueueError =
5668
+ /**
5669
+ * Page is not reapable because it has items remaining to be processed and is not old
5670
+ * enough.
5671
+ **/
5672
+ | 'NotReapable'
5673
+ /**
5674
+ * Page to be reaped does not exist.
5675
+ **/
5676
+ | 'NoPage'
5677
+ /**
5678
+ * The referenced message could not be found.
5679
+ **/
5680
+ | 'NoMessage'
5681
+ /**
5682
+ * The message was already processed and cannot be processed again.
5683
+ **/
5684
+ | 'AlreadyProcessed'
5685
+ /**
5686
+ * The message is queued for future execution.
5687
+ **/
5688
+ | 'Queued'
5689
+ /**
5690
+ * There is temporarily not enough weight to continue servicing messages.
5691
+ **/
5692
+ | 'InsufficientWeight'
5693
+ /**
5694
+ * This message is temporarily unprocessable.
5695
+ *
5696
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
5697
+ * retrying.
5698
+ **/
5699
+ | 'TemporarilyUnprocessable'
5700
+ /**
5701
+ * The queue is paused and no message can be executed from it.
5702
+ *
5703
+ * This can change at any time and may resolve in the future by re-trying.
5704
+ **/
5705
+ | 'QueuePaused'
5706
+ /**
5707
+ * Another call is in progress and needs to finish before this call can happen.
5708
+ **/
5709
+ | 'RecursiveDisallowed';
5577
5710
 
5578
5711
  /**
5579
5712
  * The `Error` enum of this pallet.
@@ -5841,32 +5974,8 @@ export type PalletIdentityError =
5841
5974
  **/
5842
5975
  | 'InsufficientPrivileges';
5843
5976
 
5844
- export type FrameSystemExtensionsCheckNonZeroSender = {};
5845
-
5846
- export type FrameSystemExtensionsCheckSpecVersion = {};
5847
-
5848
- export type FrameSystemExtensionsCheckTxVersion = {};
5849
-
5850
- export type FrameSystemExtensionsCheckGenesis = {};
5851
-
5852
- export type FrameSystemExtensionsCheckMortality = Era;
5853
-
5854
- export type FrameSystemExtensionsCheckNonce = number;
5855
-
5856
- export type FrameSystemExtensionsCheckWeight = {};
5857
-
5858
- export type PalletTransactionPaymentChargeTransactionPayment = bigint;
5859
-
5860
- export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
5861
-
5862
- export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
5863
-
5864
- export type PeopleKusamaRuntimeRuntime = {};
5865
-
5866
5977
  export type SpConsensusSlotsSlotDuration = bigint;
5867
5978
 
5868
- export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
5869
-
5870
5979
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
5871
5980
 
5872
5981
  export type SpCoreOpaqueMetadata = Bytes;
@@ -5957,6 +6066,15 @@ export type XcmRuntimeApisDryRunXcmDryRunEffects = {
5957
6066
 
5958
6067
  export type XcmRuntimeApisConversionsError = 'Unsupported' | 'VersionedConversionFailed';
5959
6068
 
6069
+ export type XcmVersionedAsset =
6070
+ | { type: 'V3'; value: XcmV3MultiassetMultiAsset }
6071
+ | { type: 'V4'; value: StagingXcmV4Asset }
6072
+ | { type: 'V5'; value: StagingXcmV5Asset };
6073
+
6074
+ export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
6075
+
6076
+ export type XcmRuntimeApisAuthorizedAliasesError = 'LocationVersionConversionFailed';
6077
+
5960
6078
  export type CumulusPrimitivesCoreCollationInfo = {
5961
6079
  upwardMessages: Array<Bytes>;
5962
6080
  horizontalMessages: Array<PolkadotCorePrimitivesOutboundHrmpMessage>;