@dedot/chaintypes 0.158.0 → 0.159.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: PeoplePolkadotRuntimeProxyType;
1379
+ disambiguationIndex: number;
1380
+ };
1381
+ }
1357
1382
  /**
1358
1383
  * An announcement was placed to make a call in the future.
1359
1384
  **/
@@ -1716,88 +1741,41 @@ export type FrameSystemError =
1716
1741
  **/
1717
1742
  | 'Unauthorized';
1718
1743
 
1719
- export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
1720
- usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
1721
- paraHeadHash?: H256 | undefined;
1722
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
1723
- };
1724
-
1725
- export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
1726
- umpMsgCount: number;
1727
- umpTotalBytes: number;
1728
- hrmpOutgoing: Array<
1729
- [PolkadotParachainPrimitivesPrimitivesId, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate]
1730
- >;
1731
- };
1732
-
1733
- export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
1734
-
1735
- export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
1736
-
1737
- export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
1738
- usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
1739
- hrmpWatermark?: number | undefined;
1740
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
1741
- };
1742
-
1743
- export type PolkadotPrimitivesV8PersistedValidationData = {
1744
- parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
1745
- relayParentNumber: number;
1746
- relayParentStorageRoot: H256;
1747
- maxPovSize: number;
1748
- };
1749
-
1750
- export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
1751
-
1752
- export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
1753
-
1754
- export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
1755
-
1756
- export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
1757
- dmqMqcHead: H256;
1758
- relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
1759
- ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
1760
- egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
1761
- };
1762
-
1763
- export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
1764
- remainingCount: number;
1765
- remainingSize: number;
1766
- };
1767
-
1768
- export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
1769
- maxCapacity: number;
1770
- maxTotalSize: number;
1771
- maxMessageSize: number;
1772
- msgCount: number;
1773
- totalSize: number;
1774
- mqcHead?: H256 | undefined;
1775
- };
1776
-
1777
- export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
1778
- maxCodeSize: number;
1779
- maxHeadDataSize: number;
1780
- maxUpwardQueueCount: number;
1781
- maxUpwardQueueSize: number;
1782
- maxUpwardMessageSize: number;
1783
- maxUpwardMessageNumPerCandidate: number;
1784
- hrmpMaxMessageNumPerCandidate: number;
1785
- validationUpgradeCooldown: number;
1786
- validationUpgradeDelay: number;
1787
- asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
1788
- };
1789
-
1790
- export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
1791
- maxCandidateDepth: number;
1792
- allowedAncestryLen: number;
1793
- };
1794
-
1795
- export type CumulusPrimitivesParachainInherentMessageQueueChain = H256;
1744
+ export type PeoplePolkadotRuntimeRuntimeCall =
1745
+ | { pallet: 'System'; palletCall: FrameSystemCall }
1746
+ | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCall }
1747
+ | { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
1748
+ | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
1749
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
1750
+ | { pallet: 'Balances'; palletCall: PalletBalancesCall }
1751
+ | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
1752
+ | { pallet: 'Session'; palletCall: PalletSessionCall }
1753
+ | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
1754
+ | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
1755
+ | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
1756
+ | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
1757
+ | { pallet: 'Utility'; palletCall: PalletUtilityCall }
1758
+ | { pallet: 'Multisig'; palletCall: PalletMultisigCall }
1759
+ | { pallet: 'Proxy'; palletCall: PalletProxyCall }
1760
+ | { pallet: 'Identity'; palletCall: PalletIdentityCall };
1796
1761
 
1797
- export type PolkadotCorePrimitivesOutboundHrmpMessage = {
1798
- recipient: PolkadotParachainPrimitivesPrimitivesId;
1799
- data: Bytes;
1800
- };
1762
+ export type PeoplePolkadotRuntimeRuntimeCallLike =
1763
+ | { pallet: 'System'; palletCall: FrameSystemCallLike }
1764
+ | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCallLike }
1765
+ | { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
1766
+ | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCallLike }
1767
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
1768
+ | { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
1769
+ | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
1770
+ | { pallet: 'Session'; palletCall: PalletSessionCallLike }
1771
+ | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCallLike }
1772
+ | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
1773
+ | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
1774
+ | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
1775
+ | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
1776
+ | { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
1777
+ | { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
1778
+ | { pallet: 'Identity'; palletCall: PalletIdentityCallLike };
1801
1779
 
1802
1780
  /**
1803
1781
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -1814,7 +1792,13 @@ export type CumulusPalletParachainSystemCall =
1814
1792
  * As a side effect, this function upgrades the current validation function
1815
1793
  * if the appropriate time has come.
1816
1794
  **/
1817
- | { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
1795
+ | {
1796
+ name: 'SetValidationData';
1797
+ params: {
1798
+ data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
1799
+ inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
1800
+ };
1801
+ }
1818
1802
  | { name: 'SudoSendUpwardMessage'; params: { message: Bytes } };
1819
1803
 
1820
1804
  export type CumulusPalletParachainSystemCallLike =
@@ -1829,49 +1813,53 @@ export type CumulusPalletParachainSystemCallLike =
1829
1813
  * As a side effect, this function upgrades the current validation function
1830
1814
  * if the appropriate time has come.
1831
1815
  **/
1832
- | { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
1816
+ | {
1817
+ name: 'SetValidationData';
1818
+ params: {
1819
+ data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
1820
+ inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
1821
+ };
1822
+ }
1833
1823
  | { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
1834
1824
 
1835
- export type CumulusPrimitivesParachainInherentParachainInherentData = {
1825
+ export type CumulusPalletParachainSystemParachainInherentBasicParachainInherentData = {
1836
1826
  validationData: PolkadotPrimitivesV8PersistedValidationData;
1837
1827
  relayChainState: SpTrieStorageProof;
1838
- downwardMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
1839
- horizontalMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<PolkadotCorePrimitivesInboundHrmpMessage>]>;
1828
+ relayParentDescendants: Array<Header>;
1829
+ collatorPeerId?: Bytes | undefined;
1830
+ };
1831
+
1832
+ export type PolkadotPrimitivesV8PersistedValidationData = {
1833
+ parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
1834
+ relayParentNumber: number;
1835
+ relayParentStorageRoot: H256;
1836
+ maxPovSize: number;
1837
+ };
1838
+
1839
+ export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
1840
+
1841
+ export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
1842
+
1843
+ export type CumulusPalletParachainSystemParachainInherentInboundMessagesData = {
1844
+ downwardMessages: CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection;
1845
+ horizontalMessages: CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection002;
1846
+ };
1847
+
1848
+ export type CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection = {
1849
+ fullMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
1850
+ hashedMessages: Array<CumulusPrimitivesParachainInherentHashedMessage>;
1840
1851
  };
1841
1852
 
1842
1853
  export type PolkadotCorePrimitivesInboundDownwardMessage = { sentAt: number; msg: Bytes };
1843
1854
 
1844
- export type PolkadotCorePrimitivesInboundHrmpMessage = { sentAt: number; data: Bytes };
1855
+ export type CumulusPrimitivesParachainInherentHashedMessage = { sentAt: number; msgHash: H256 };
1845
1856
 
1846
- /**
1847
- * The `Error` enum of this pallet.
1848
- **/
1849
- export type CumulusPalletParachainSystemError =
1850
- /**
1851
- * Attempt to upgrade validation function while existing upgrade pending.
1852
- **/
1853
- | 'OverlappingUpgrades'
1854
- /**
1855
- * Polkadot currently prohibits this parachain from upgrading its validation function.
1856
- **/
1857
- | 'ProhibitedByPolkadot'
1858
- /**
1859
- * The supplied validation function has compiled into a blob larger than Polkadot is
1860
- * willing to run.
1861
- **/
1862
- | 'TooBig'
1863
- /**
1864
- * The inherent which supplies the validation data did not run this block.
1865
- **/
1866
- | 'ValidationDataNotAvailable'
1867
- /**
1868
- * The inherent which supplies the host configuration did not run this block.
1869
- **/
1870
- | 'HostConfigurationNotAvailable'
1871
- /**
1872
- * No validation function upgrade is currently scheduled.
1873
- **/
1874
- | 'NotScheduled';
1857
+ export type CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection002 = {
1858
+ fullMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotCorePrimitivesInboundHrmpMessage]>;
1859
+ hashedMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentHashedMessage]>;
1860
+ };
1861
+
1862
+ export type PolkadotCorePrimitivesInboundHrmpMessage = { sentAt: number; data: Bytes };
1875
1863
 
1876
1864
  /**
1877
1865
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -1931,12 +1919,6 @@ export type StagingParachainInfoCall = null;
1931
1919
 
1932
1920
  export type StagingParachainInfoCallLike = null;
1933
1921
 
1934
- export type PalletMigrationsMigrationCursor =
1935
- | { type: 'Active'; value: PalletMigrationsActiveCursor }
1936
- | { type: 'Stuck' };
1937
-
1938
- export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
1939
-
1940
1922
  /**
1941
1923
  * Contains a variant per dispatchable extrinsic that this pallet has.
1942
1924
  **/
@@ -2014,33 +1996,16 @@ export type PalletMigrationsCallLike =
2014
1996
  **/
2015
1997
  | { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
2016
1998
 
1999
+ export type PalletMigrationsMigrationCursor =
2000
+ | { type: 'Active'; value: PalletMigrationsActiveCursor }
2001
+ | { type: 'Stuck' };
2002
+
2003
+ export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
2004
+
2017
2005
  export type PalletMigrationsHistoricCleanupSelector =
2018
2006
  | { type: 'Specific'; value: Array<Bytes> }
2019
2007
  | { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
2020
2008
 
2021
- /**
2022
- * The `Error` enum of this pallet.
2023
- **/
2024
- export type PalletMigrationsError =
2025
- /**
2026
- * The operation cannot complete since some MBMs are ongoing.
2027
- **/
2028
- 'Ongoing';
2029
-
2030
- export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
2031
-
2032
- export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
2033
-
2034
- export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
2035
-
2036
- export type FrameSupportTokensMiscIdAmount = { id: PeoplePolkadotRuntimeRuntimeHoldReason; amount: bigint };
2037
-
2038
- export type PeoplePolkadotRuntimeRuntimeHoldReason = { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
2039
-
2040
- export type PalletXcmHoldReason = 'AuthorizeAlias';
2041
-
2042
- export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
2043
-
2044
2009
  /**
2045
2010
  * Contains a variant per dispatchable extrinsic that this pallet has.
2046
2011
  **/
@@ -2217,90 +2182,33 @@ export type PalletBalancesCallLike =
2217
2182
  export type PalletBalancesAdjustmentDirection = 'Increase' | 'Decrease';
2218
2183
 
2219
2184
  /**
2220
- * The `Error` enum of this pallet.
2185
+ * Contains a variant per dispatchable extrinsic that this pallet has.
2221
2186
  **/
2222
- export type PalletBalancesError =
2187
+ export type PalletCollatorSelectionCall =
2223
2188
  /**
2224
- * Vesting balance too high to send value.
2189
+ * Set the list of invulnerable (fixed) collators. These collators must do some
2190
+ * preparation, namely to have registered session keys.
2191
+ *
2192
+ * The call will remove any accounts that have not registered keys from the set. That is,
2193
+ * it is non-atomic; the caller accepts all `AccountId`s passed in `new` _individually_ as
2194
+ * acceptable Invulnerables, and is not proposing a _set_ of new Invulnerables.
2195
+ *
2196
+ * This call does not maintain mutual exclusivity of `Invulnerables` and `Candidates`. It
2197
+ * is recommended to use a batch of `add_invulnerable` and `remove_invulnerable` instead. A
2198
+ * `batch_all` can also be used to enforce atomicity. If any candidates are included in
2199
+ * `new`, they should be removed with `remove_invulnerable_candidate` after execution.
2200
+ *
2201
+ * Must be called by the `UpdateOrigin`.
2225
2202
  **/
2226
- | 'VestingBalance'
2203
+ | { name: 'SetInvulnerables'; params: { new: Array<AccountId32> } }
2227
2204
  /**
2228
- * Account liquidity restrictions prevent withdrawal.
2205
+ * Set the ideal number of non-invulnerable collators. If lowering this number, then the
2206
+ * number of running collators could be higher than this figure. Aside from that edge case,
2207
+ * there should be no other way to have more candidates than the desired number.
2208
+ *
2209
+ * The origin for this call must be the `UpdateOrigin`.
2229
2210
  **/
2230
- | 'LiquidityRestrictions'
2231
- /**
2232
- * Balance too low to send value.
2233
- **/
2234
- | 'InsufficientBalance'
2235
- /**
2236
- * Value too low to create account due to existential deposit.
2237
- **/
2238
- | 'ExistentialDeposit'
2239
- /**
2240
- * Transfer/payment would kill account.
2241
- **/
2242
- | 'Expendability'
2243
- /**
2244
- * A vesting schedule already exists for this account.
2245
- **/
2246
- | 'ExistingVestingSchedule'
2247
- /**
2248
- * Beneficiary account must pre-exist.
2249
- **/
2250
- | 'DeadAccount'
2251
- /**
2252
- * Number of named reserves exceed `MaxReserves`.
2253
- **/
2254
- | 'TooManyReserves'
2255
- /**
2256
- * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
2257
- **/
2258
- | 'TooManyHolds'
2259
- /**
2260
- * Number of freezes exceed `MaxFreezes`.
2261
- **/
2262
- | 'TooManyFreezes'
2263
- /**
2264
- * The issuance cannot be modified since it is already deactivated.
2265
- **/
2266
- | 'IssuanceDeactivated'
2267
- /**
2268
- * The delta cannot be zero.
2269
- **/
2270
- | 'DeltaZero';
2271
-
2272
- export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
2273
-
2274
- export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
2275
-
2276
- /**
2277
- * Contains a variant per dispatchable extrinsic that this pallet has.
2278
- **/
2279
- export type PalletCollatorSelectionCall =
2280
- /**
2281
- * Set the list of invulnerable (fixed) collators. These collators must do some
2282
- * preparation, namely to have registered session keys.
2283
- *
2284
- * The call will remove any accounts that have not registered keys from the set. That is,
2285
- * it is non-atomic; the caller accepts all `AccountId`s passed in `new` _individually_ as
2286
- * acceptable Invulnerables, and is not proposing a _set_ of new Invulnerables.
2287
- *
2288
- * This call does not maintain mutual exclusivity of `Invulnerables` and `Candidates`. It
2289
- * is recommended to use a batch of `add_invulnerable` and `remove_invulnerable` instead. A
2290
- * `batch_all` can also be used to enforce atomicity. If any candidates are included in
2291
- * `new`, they should be removed with `remove_invulnerable_candidate` after execution.
2292
- *
2293
- * Must be called by the `UpdateOrigin`.
2294
- **/
2295
- | { name: 'SetInvulnerables'; params: { new: Array<AccountId32> } }
2296
- /**
2297
- * Set the ideal number of non-invulnerable collators. If lowering this number, then the
2298
- * number of running collators could be higher than this figure. Aside from that edge case,
2299
- * there should be no other way to have more candidates than the desired number.
2300
- *
2301
- * The origin for this call must be the `UpdateOrigin`.
2302
- **/
2303
- | { name: 'SetDesiredCandidates'; params: { max: number } }
2211
+ | { name: 'SetDesiredCandidates'; params: { max: number } }
2304
2212
  /**
2305
2213
  * Set the candidacy bond amount.
2306
2214
  *
@@ -2446,89 +2354,6 @@ export type PalletCollatorSelectionCallLike =
2446
2354
  **/
2447
2355
  | { name: 'TakeCandidateSlot'; params: { deposit: bigint; target: AccountId32Like } };
2448
2356
 
2449
- export type FrameSupportPalletId = FixedBytes<8>;
2450
-
2451
- /**
2452
- * The `Error` enum of this pallet.
2453
- **/
2454
- export type PalletCollatorSelectionError =
2455
- /**
2456
- * The pallet has too many candidates.
2457
- **/
2458
- | 'TooManyCandidates'
2459
- /**
2460
- * Leaving would result in too few candidates.
2461
- **/
2462
- | 'TooFewEligibleCollators'
2463
- /**
2464
- * Account is already a candidate.
2465
- **/
2466
- | 'AlreadyCandidate'
2467
- /**
2468
- * Account is not a candidate.
2469
- **/
2470
- | 'NotCandidate'
2471
- /**
2472
- * There are too many Invulnerables.
2473
- **/
2474
- | 'TooManyInvulnerables'
2475
- /**
2476
- * Account is already an Invulnerable.
2477
- **/
2478
- | 'AlreadyInvulnerable'
2479
- /**
2480
- * Account is not an Invulnerable.
2481
- **/
2482
- | 'NotInvulnerable'
2483
- /**
2484
- * Account has no associated validator ID.
2485
- **/
2486
- | 'NoAssociatedValidatorId'
2487
- /**
2488
- * Validator ID is not yet registered.
2489
- **/
2490
- | 'ValidatorNotRegistered'
2491
- /**
2492
- * Could not insert in the candidate list.
2493
- **/
2494
- | 'InsertToCandidateListFailed'
2495
- /**
2496
- * Could not remove from the candidate list.
2497
- **/
2498
- | 'RemoveFromCandidateListFailed'
2499
- /**
2500
- * New deposit amount would be below the minimum candidacy bond.
2501
- **/
2502
- | 'DepositTooLow'
2503
- /**
2504
- * Could not update the candidate list.
2505
- **/
2506
- | 'UpdateCandidateListFailed'
2507
- /**
2508
- * Deposit amount is too low to take the target's slot in the candidate list.
2509
- **/
2510
- | 'InsufficientBond'
2511
- /**
2512
- * The target account to be replaced in the candidate list is not a candidate.
2513
- **/
2514
- | 'TargetIsNotCandidate'
2515
- /**
2516
- * The updated deposit amount is equal to the amount already reserved.
2517
- **/
2518
- | 'IdenticalDeposit'
2519
- /**
2520
- * Cannot lower candidacy bond while occupying a future collator slot in the list.
2521
- **/
2522
- | 'InvalidUnreserve';
2523
-
2524
- export type PeoplePolkadotRuntimeSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
2525
-
2526
- export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
2527
-
2528
- export type SpStakingOffenceOffenceSeverity = Perbill;
2529
-
2530
- export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
2531
-
2532
2357
  /**
2533
2358
  * Contains a variant per dispatchable extrinsic that this pallet has.
2534
2359
  **/
@@ -2590,48 +2415,9 @@ export type PalletSessionCallLike =
2590
2415
  **/
2591
2416
  | { name: 'PurgeKeys' };
2592
2417
 
2593
- /**
2594
- * Error for the session pallet.
2595
- **/
2596
- export type PalletSessionError =
2597
- /**
2598
- * Invalid ownership proof.
2599
- **/
2600
- | 'InvalidProof'
2601
- /**
2602
- * No associated validator ID for account.
2603
- **/
2604
- | 'NoAssociatedValidatorId'
2605
- /**
2606
- * Registered duplicate key.
2607
- **/
2608
- | 'DuplicatedKey'
2609
- /**
2610
- * No keys are associated with this account.
2611
- **/
2612
- | 'NoKeys'
2613
- /**
2614
- * Key setting account is not live, so it's impossible to associate keys.
2615
- **/
2616
- | 'NoAccount';
2617
-
2618
- export type SpConsensusSlotsSlot = bigint;
2619
-
2620
- export type CumulusPalletXcmpQueueOutboundChannelDetails = {
2621
- recipient: PolkadotParachainPrimitivesPrimitivesId;
2622
- state: CumulusPalletXcmpQueueOutboundState;
2623
- signalsExist: boolean;
2624
- firstIndex: number;
2625
- lastIndex: number;
2626
- };
2627
-
2628
- export type CumulusPalletXcmpQueueOutboundState = 'Ok' | 'Suspended';
2418
+ export type PeoplePolkadotRuntimeSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
2629
2419
 
2630
- export type CumulusPalletXcmpQueueQueueConfigData = {
2631
- suspendThreshold: number;
2632
- dropThreshold: number;
2633
- resumeThreshold: number;
2634
- };
2420
+ export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
2635
2421
 
2636
2422
  /**
2637
2423
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -2717,188 +2503,37 @@ export type CumulusPalletXcmpQueueCallLike =
2717
2503
  | { name: 'UpdateResumeThreshold'; params: { new: number } };
2718
2504
 
2719
2505
  /**
2720
- * The `Error` enum of this pallet.
2506
+ * Contains a variant per dispatchable extrinsic that this pallet has.
2721
2507
  **/
2722
- export type CumulusPalletXcmpQueueError =
2723
- /**
2724
- * Setting the queue config failed since one of its values was invalid.
2725
- **/
2726
- | 'BadQueueConfig'
2727
- /**
2728
- * The execution is already suspended.
2729
- **/
2730
- | 'AlreadySuspended'
2731
- /**
2732
- * The execution is already resumed.
2733
- **/
2734
- | 'AlreadyResumed'
2735
- /**
2736
- * There are too many active outbound channels.
2737
- **/
2738
- | 'TooManyActiveOutboundChannels'
2508
+ export type PalletXcmCall =
2509
+ | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
2739
2510
  /**
2740
- * The message is too big.
2511
+ * Teleport some assets from the local chain to some destination chain.
2512
+ *
2513
+ * **This function is deprecated: Use `limited_teleport_assets` instead.**
2514
+ *
2515
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
2516
+ * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
2517
+ * with all fees taken as needed from the asset.
2518
+ *
2519
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
2520
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
2521
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
2522
+ * relay to parachain.
2523
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
2524
+ * generally be an `AccountId32` value.
2525
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
2526
+ * fee on the `dest` chain.
2527
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
2528
+ * fees.
2741
2529
  **/
2742
- | 'TooBig';
2743
-
2744
- export type PalletXcmQueryStatus =
2745
2530
  | {
2746
- type: 'Pending';
2747
- value: {
2748
- responder: XcmVersionedLocation;
2749
- maybeMatchQuerier?: XcmVersionedLocation | undefined;
2750
- maybeNotify?: [number, number] | undefined;
2751
- timeout: number;
2752
- };
2753
- }
2754
- | { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
2755
- | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
2756
-
2757
- export type XcmVersionedResponse =
2758
- | { type: 'V3'; value: XcmV3Response }
2759
- | { type: 'V4'; value: StagingXcmV4Response }
2760
- | { type: 'V5'; value: StagingXcmV5Response };
2761
-
2762
- export type XcmV3Response =
2763
- | { type: 'Null' }
2764
- | { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
2765
- | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
2766
- | { type: 'Version'; value: number }
2767
- | { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
2768
- | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
2769
-
2770
- export type XcmV3TraitsError =
2771
- | { type: 'Overflow' }
2772
- | { type: 'Unimplemented' }
2773
- | { type: 'UntrustedReserveLocation' }
2774
- | { type: 'UntrustedTeleportLocation' }
2775
- | { type: 'LocationFull' }
2776
- | { type: 'LocationNotInvertible' }
2777
- | { type: 'BadOrigin' }
2778
- | { type: 'InvalidLocation' }
2779
- | { type: 'AssetNotFound' }
2780
- | { type: 'FailedToTransactAsset' }
2781
- | { type: 'NotWithdrawable' }
2782
- | { type: 'LocationCannotHold' }
2783
- | { type: 'ExceedsMaxMessageSize' }
2784
- | { type: 'DestinationUnsupported' }
2785
- | { type: 'Transport' }
2786
- | { type: 'Unroutable' }
2787
- | { type: 'UnknownClaim' }
2788
- | { type: 'FailedToDecode' }
2789
- | { type: 'MaxWeightInvalid' }
2790
- | { type: 'NotHoldingFees' }
2791
- | { type: 'TooExpensive' }
2792
- | { type: 'Trap'; value: bigint }
2793
- | { type: 'ExpectationFalse' }
2794
- | { type: 'PalletNotFound' }
2795
- | { type: 'NameMismatch' }
2796
- | { type: 'VersionIncompatible' }
2797
- | { type: 'HoldingWouldOverflow' }
2798
- | { type: 'ExportError' }
2799
- | { type: 'ReanchorFailed' }
2800
- | { type: 'NoDeal' }
2801
- | { type: 'FeesNotMet' }
2802
- | { type: 'LockError' }
2803
- | { type: 'NoPermission' }
2804
- | { type: 'Unanchored' }
2805
- | { type: 'NotDepositable' }
2806
- | { type: 'UnhandledXcmVersion' }
2807
- | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
2808
- | { type: 'Barrier' }
2809
- | { type: 'WeightNotComputable' }
2810
- | { type: 'ExceedsStackLimit' };
2811
-
2812
- export type XcmV3PalletInfo = {
2813
- index: number;
2814
- name: Bytes;
2815
- moduleName: Bytes;
2816
- major: number;
2817
- minor: number;
2818
- patch: number;
2819
- };
2820
-
2821
- export type StagingXcmV4Response =
2822
- | { type: 'Null' }
2823
- | { type: 'Assets'; value: StagingXcmV4AssetAssets }
2824
- | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
2825
- | { type: 'Version'; value: number }
2826
- | { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
2827
- | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
2828
-
2829
- export type StagingXcmV4PalletInfo = {
2830
- index: number;
2831
- name: Bytes;
2832
- moduleName: Bytes;
2833
- major: number;
2834
- minor: number;
2835
- patch: number;
2836
- };
2837
-
2838
- export type PalletXcmVersionMigrationStage =
2839
- | { type: 'MigrateSupportedVersion' }
2840
- | { type: 'MigrateVersionNotifiers' }
2841
- | { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
2842
- | { type: 'MigrateAndNotifyOldTargets' };
2843
-
2844
- export type XcmVersionedAssetId =
2845
- | { type: 'V3'; value: XcmV3MultiassetAssetId }
2846
- | { type: 'V4'; value: StagingXcmV4AssetAssetId }
2847
- | { type: 'V5'; value: StagingXcmV5AssetAssetId };
2848
-
2849
- export type PalletXcmRemoteLockedFungibleRecord = {
2850
- amount: bigint;
2851
- owner: XcmVersionedLocation;
2852
- locker: XcmVersionedLocation;
2853
- consumers: Array<[[], bigint]>;
2854
- };
2855
-
2856
- export type PalletXcmAuthorizedAliasesEntry = {
2857
- aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
2858
- ticket: FrameSupportStorageDisabled;
2859
- };
2860
-
2861
- export type FrameSupportStorageDisabled = {};
2862
-
2863
- export type PalletXcmMaxAuthorizedAliases = {};
2864
-
2865
- export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
2866
- location: XcmVersionedLocation;
2867
- expiry?: bigint | undefined;
2868
- };
2869
-
2870
- /**
2871
- * Contains a variant per dispatchable extrinsic that this pallet has.
2872
- **/
2873
- export type PalletXcmCall =
2874
- | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
2875
- /**
2876
- * Teleport some assets from the local chain to some destination chain.
2877
- *
2878
- * **This function is deprecated: Use `limited_teleport_assets` instead.**
2879
- *
2880
- * Fee payment on the destination side is made from the asset in the `assets` vector of
2881
- * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
2882
- * with all fees taken as needed from the asset.
2883
- *
2884
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
2885
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
2886
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
2887
- * relay to parachain.
2888
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
2889
- * generally be an `AccountId32` value.
2890
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
2891
- * fee on the `dest` chain.
2892
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
2893
- * fees.
2894
- **/
2895
- | {
2896
- name: 'TeleportAssets';
2897
- params: {
2898
- dest: XcmVersionedLocation;
2899
- beneficiary: XcmVersionedLocation;
2900
- assets: XcmVersionedAssets;
2901
- feeAssetItem: number;
2531
+ name: 'TeleportAssets';
2532
+ params: {
2533
+ dest: XcmVersionedLocation;
2534
+ beneficiary: XcmVersionedLocation;
2535
+ assets: XcmVersionedAssets;
2536
+ feeAssetItem: number;
2902
2537
  };
2903
2538
  }
2904
2539
  /**
@@ -3650,6 +3285,65 @@ export type XcmV3Instruction =
3650
3285
  value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV3MultilocationMultiLocation | undefined };
3651
3286
  };
3652
3287
 
3288
+ export type XcmV3Response =
3289
+ | { type: 'Null' }
3290
+ | { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
3291
+ | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
3292
+ | { type: 'Version'; value: number }
3293
+ | { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
3294
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
3295
+
3296
+ export type XcmV3TraitsError =
3297
+ | { type: 'Overflow' }
3298
+ | { type: 'Unimplemented' }
3299
+ | { type: 'UntrustedReserveLocation' }
3300
+ | { type: 'UntrustedTeleportLocation' }
3301
+ | { type: 'LocationFull' }
3302
+ | { type: 'LocationNotInvertible' }
3303
+ | { type: 'BadOrigin' }
3304
+ | { type: 'InvalidLocation' }
3305
+ | { type: 'AssetNotFound' }
3306
+ | { type: 'FailedToTransactAsset' }
3307
+ | { type: 'NotWithdrawable' }
3308
+ | { type: 'LocationCannotHold' }
3309
+ | { type: 'ExceedsMaxMessageSize' }
3310
+ | { type: 'DestinationUnsupported' }
3311
+ | { type: 'Transport' }
3312
+ | { type: 'Unroutable' }
3313
+ | { type: 'UnknownClaim' }
3314
+ | { type: 'FailedToDecode' }
3315
+ | { type: 'MaxWeightInvalid' }
3316
+ | { type: 'NotHoldingFees' }
3317
+ | { type: 'TooExpensive' }
3318
+ | { type: 'Trap'; value: bigint }
3319
+ | { type: 'ExpectationFalse' }
3320
+ | { type: 'PalletNotFound' }
3321
+ | { type: 'NameMismatch' }
3322
+ | { type: 'VersionIncompatible' }
3323
+ | { type: 'HoldingWouldOverflow' }
3324
+ | { type: 'ExportError' }
3325
+ | { type: 'ReanchorFailed' }
3326
+ | { type: 'NoDeal' }
3327
+ | { type: 'FeesNotMet' }
3328
+ | { type: 'LockError' }
3329
+ | { type: 'NoPermission' }
3330
+ | { type: 'Unanchored' }
3331
+ | { type: 'NotDepositable' }
3332
+ | { type: 'UnhandledXcmVersion' }
3333
+ | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
3334
+ | { type: 'Barrier' }
3335
+ | { type: 'WeightNotComputable' }
3336
+ | { type: 'ExceedsStackLimit' };
3337
+
3338
+ export type XcmV3PalletInfo = {
3339
+ index: number;
3340
+ name: Bytes;
3341
+ moduleName: Bytes;
3342
+ major: number;
3343
+ minor: number;
3344
+ patch: number;
3345
+ };
3346
+
3653
3347
  export type XcmV3QueryResponseInfo = {
3654
3348
  destination: StagingXcmV3MultilocationMultiLocation;
3655
3349
  queryId: bigint;
@@ -3758,6 +3452,23 @@ export type StagingXcmV4Instruction =
3758
3452
  value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
3759
3453
  };
3760
3454
 
3455
+ export type StagingXcmV4Response =
3456
+ | { type: 'Null' }
3457
+ | { type: 'Assets'; value: StagingXcmV4AssetAssets }
3458
+ | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
3459
+ | { type: 'Version'; value: number }
3460
+ | { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
3461
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
3462
+
3463
+ export type StagingXcmV4PalletInfo = {
3464
+ index: number;
3465
+ name: Bytes;
3466
+ moduleName: Bytes;
3467
+ major: number;
3468
+ minor: number;
3469
+ patch: number;
3470
+ };
3471
+
3761
3472
  export type StagingXcmV4QueryResponseInfo = {
3762
3473
  destination: StagingXcmV4Location;
3763
3474
  queryId: bigint;
@@ -3785,174 +3496,40 @@ export type StagingXcmExecutorAssetTransferTransferType =
3785
3496
  | { type: 'DestinationReserve' }
3786
3497
  | { type: 'RemoteReserve'; value: XcmVersionedLocation };
3787
3498
 
3499
+ export type XcmVersionedAssetId =
3500
+ | { type: 'V3'; value: XcmV3MultiassetAssetId }
3501
+ | { type: 'V4'; value: StagingXcmV4AssetAssetId }
3502
+ | { type: 'V5'; value: StagingXcmV5AssetAssetId };
3503
+
3788
3504
  /**
3789
- * The `Error` enum of this pallet.
3505
+ * Contains a variant per dispatchable extrinsic that this pallet has.
3790
3506
  **/
3791
- export type PalletXcmError =
3507
+ export type CumulusPalletXcmCall = null;
3508
+
3509
+ export type CumulusPalletXcmCallLike = null;
3510
+
3511
+ /**
3512
+ * Contains a variant per dispatchable extrinsic that this pallet has.
3513
+ **/
3514
+ export type PalletMessageQueueCall =
3792
3515
  /**
3793
- * The desired destination was unreachable, generally because there is a no way of routing
3794
- * to it.
3516
+ * Remove a page which has no more messages remaining to be processed or is stale.
3795
3517
  **/
3796
- | 'Unreachable'
3518
+ | { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
3797
3519
  /**
3798
- * There was some other issue (i.e. not to do with routing) in sending the message.
3799
- * Perhaps a lack of space for buffering the message.
3800
- **/
3801
- | 'SendFailure'
3802
- /**
3803
- * The message execution fails the filter.
3804
- **/
3805
- | 'Filtered'
3806
- /**
3807
- * The message's weight could not be determined.
3808
- **/
3809
- | 'UnweighableMessage'
3810
- /**
3811
- * The destination `Location` provided cannot be inverted.
3812
- **/
3813
- | 'DestinationNotInvertible'
3814
- /**
3815
- * The assets to be sent are empty.
3816
- **/
3817
- | 'Empty'
3818
- /**
3819
- * Could not re-anchor the assets to declare the fees for the destination chain.
3820
- **/
3821
- | 'CannotReanchor'
3822
- /**
3823
- * Too many assets have been attempted for transfer.
3824
- **/
3825
- | 'TooManyAssets'
3826
- /**
3827
- * Origin is invalid for sending.
3828
- **/
3829
- | 'InvalidOrigin'
3830
- /**
3831
- * The version of the `Versioned` value used is not able to be interpreted.
3832
- **/
3833
- | 'BadVersion'
3834
- /**
3835
- * The given location could not be used (e.g. because it cannot be expressed in the
3836
- * desired version of XCM).
3837
- **/
3838
- | 'BadLocation'
3839
- /**
3840
- * The referenced subscription could not be found.
3841
- **/
3842
- | 'NoSubscription'
3843
- /**
3844
- * The location is invalid since it already has a subscription from us.
3845
- **/
3846
- | 'AlreadySubscribed'
3847
- /**
3848
- * Could not check-out the assets for teleportation to the destination chain.
3849
- **/
3850
- | 'CannotCheckOutTeleport'
3851
- /**
3852
- * The owner does not own (all) of the asset that they wish to do the operation on.
3853
- **/
3854
- | 'LowBalance'
3855
- /**
3856
- * The asset owner has too many locks on the asset.
3857
- **/
3858
- | 'TooManyLocks'
3859
- /**
3860
- * The given account is not an identifiable sovereign account for any location.
3861
- **/
3862
- | 'AccountNotSovereign'
3863
- /**
3864
- * The operation required fees to be paid which the initiator could not meet.
3865
- **/
3866
- | 'FeesNotMet'
3867
- /**
3868
- * A remote lock with the corresponding data could not be found.
3869
- **/
3870
- | 'LockNotFound'
3871
- /**
3872
- * The unlock operation cannot succeed because there are still consumers of the lock.
3873
- **/
3874
- | 'InUse'
3875
- /**
3876
- * Invalid asset, reserve chain could not be determined for it.
3877
- **/
3878
- | 'InvalidAssetUnknownReserve'
3879
- /**
3880
- * Invalid asset, do not support remote asset reserves with different fees reserves.
3881
- **/
3882
- | 'InvalidAssetUnsupportedReserve'
3883
- /**
3884
- * Too many assets with different reserve locations have been attempted for transfer.
3885
- **/
3886
- | 'TooManyReserves'
3887
- /**
3888
- * Local XCM execution incomplete.
3889
- **/
3890
- | 'LocalExecutionIncomplete'
3891
- /**
3892
- * Too many locations authorized to alias origin.
3893
- **/
3894
- | 'TooManyAuthorizedAliases'
3895
- /**
3896
- * Expiry block number is in the past.
3897
- **/
3898
- | 'ExpiresInPast'
3899
- /**
3900
- * The alias to remove authorization for was not found.
3901
- **/
3902
- | 'AliasNotFound';
3903
-
3904
- /**
3905
- * Contains a variant per dispatchable extrinsic that this pallet has.
3906
- **/
3907
- export type CumulusPalletXcmCall = null;
3908
-
3909
- export type CumulusPalletXcmCallLike = null;
3910
-
3911
- export type PalletMessageQueueBookState = {
3912
- begin: number;
3913
- end: number;
3914
- count: number;
3915
- readyNeighbours?: PalletMessageQueueNeighbours | undefined;
3916
- messageCount: bigint;
3917
- size: bigint;
3918
- };
3919
-
3920
- export type PalletMessageQueueNeighbours = {
3921
- prev: CumulusPrimitivesCoreAggregateMessageOrigin;
3922
- next: CumulusPrimitivesCoreAggregateMessageOrigin;
3923
- };
3924
-
3925
- export type PalletMessageQueuePage = {
3926
- remaining: number;
3927
- remainingSize: number;
3928
- firstIndex: number;
3929
- first: number;
3930
- last: number;
3931
- heap: Bytes;
3932
- };
3933
-
3934
- /**
3935
- * Contains a variant per dispatchable extrinsic that this pallet has.
3936
- **/
3937
- export type PalletMessageQueueCall =
3938
- /**
3939
- * Remove a page which has no more messages remaining to be processed or is stale.
3940
- **/
3941
- | { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
3942
- /**
3943
- * Execute an overweight message.
3944
- *
3945
- * Temporary processing errors will be propagated whereas permanent errors are treated
3946
- * as success condition.
3947
- *
3948
- * - `origin`: Must be `Signed`.
3949
- * - `message_origin`: The origin from which the message to be executed arrived.
3950
- * - `page`: The page in the queue in which the message to be executed is sitting.
3951
- * - `index`: The index into the queue of the message to be executed.
3952
- * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
3953
- * of the message.
3954
- *
3955
- * Benchmark complexity considerations: O(index + weight_limit).
3520
+ * Execute an overweight message.
3521
+ *
3522
+ * Temporary processing errors will be propagated whereas permanent errors are treated
3523
+ * as success condition.
3524
+ *
3525
+ * - `origin`: Must be `Signed`.
3526
+ * - `message_origin`: The origin from which the message to be executed arrived.
3527
+ * - `page`: The page in the queue in which the message to be executed is sitting.
3528
+ * - `index`: The index into the queue of the message to be executed.
3529
+ * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
3530
+ * of the message.
3531
+ *
3532
+ * Benchmark complexity considerations: O(index + weight_limit).
3956
3533
  **/
3957
3534
  | {
3958
3535
  name: 'ExecuteOverweight';
@@ -3994,53 +3571,6 @@ export type PalletMessageQueueCallLike =
3994
3571
  };
3995
3572
  };
3996
3573
 
3997
- /**
3998
- * The `Error` enum of this pallet.
3999
- **/
4000
- export type PalletMessageQueueError =
4001
- /**
4002
- * Page is not reapable because it has items remaining to be processed and is not old
4003
- * enough.
4004
- **/
4005
- | 'NotReapable'
4006
- /**
4007
- * Page to be reaped does not exist.
4008
- **/
4009
- | 'NoPage'
4010
- /**
4011
- * The referenced message could not be found.
4012
- **/
4013
- | 'NoMessage'
4014
- /**
4015
- * The message was already processed and cannot be processed again.
4016
- **/
4017
- | 'AlreadyProcessed'
4018
- /**
4019
- * The message is queued for future execution.
4020
- **/
4021
- | 'Queued'
4022
- /**
4023
- * There is temporarily not enough weight to continue servicing messages.
4024
- **/
4025
- | 'InsufficientWeight'
4026
- /**
4027
- * This message is temporarily unprocessable.
4028
- *
4029
- * Such errors are expected, but not guaranteed, to resolve themselves eventually through
4030
- * retrying.
4031
- **/
4032
- | 'TemporarilyUnprocessable'
4033
- /**
4034
- * The queue is paused and no message can be executed from it.
4035
- *
4036
- * This can change at any time and may resolve in the future by re-trying.
4037
- **/
4038
- | 'QueuePaused'
4039
- /**
4040
- * Another call is in progress and needs to finish before this call can happen.
4041
- **/
4042
- | 'RecursiveDisallowed';
4043
-
4044
3574
  /**
4045
3575
  * Contains a variant per dispatchable extrinsic that this pallet has.
4046
3576
  **/
@@ -4305,41 +3835,24 @@ export type PalletUtilityCallLike =
4305
3835
  params: { asOrigin: PeoplePolkadotRuntimeOriginCaller; call: PeoplePolkadotRuntimeRuntimeCallLike };
4306
3836
  };
4307
3837
 
4308
- export type PeoplePolkadotRuntimeRuntimeCall =
4309
- | { pallet: 'System'; palletCall: FrameSystemCall }
4310
- | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCall }
4311
- | { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
4312
- | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
4313
- | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
4314
- | { pallet: 'Balances'; palletCall: PalletBalancesCall }
4315
- | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
4316
- | { pallet: 'Session'; palletCall: PalletSessionCall }
4317
- | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
4318
- | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
4319
- | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
4320
- | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
4321
- | { pallet: 'Utility'; palletCall: PalletUtilityCall }
4322
- | { pallet: 'Multisig'; palletCall: PalletMultisigCall }
4323
- | { pallet: 'Proxy'; palletCall: PalletProxyCall }
4324
- | { pallet: 'Identity'; palletCall: PalletIdentityCall };
3838
+ export type PeoplePolkadotRuntimeOriginCaller =
3839
+ | { type: 'System'; value: FrameSupportDispatchRawOrigin }
3840
+ | { type: 'PolkadotXcm'; value: PalletXcmOrigin }
3841
+ | { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
4325
3842
 
4326
- export type PeoplePolkadotRuntimeRuntimeCallLike =
4327
- | { pallet: 'System'; palletCall: FrameSystemCallLike }
4328
- | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCallLike }
4329
- | { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
4330
- | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCallLike }
4331
- | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
4332
- | { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
4333
- | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
4334
- | { pallet: 'Session'; palletCall: PalletSessionCallLike }
4335
- | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCallLike }
4336
- | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
4337
- | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
4338
- | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
4339
- | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
4340
- | { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
4341
- | { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
4342
- | { pallet: 'Identity'; palletCall: PalletIdentityCallLike };
3843
+ export type FrameSupportDispatchRawOrigin =
3844
+ | { type: 'Root' }
3845
+ | { type: 'Signed'; value: AccountId32 }
3846
+ | { type: 'None' }
3847
+ | { type: 'Authorized' };
3848
+
3849
+ export type PalletXcmOrigin =
3850
+ | { type: 'Xcm'; value: StagingXcmV5Location }
3851
+ | { type: 'Response'; value: StagingXcmV5Location };
3852
+
3853
+ export type CumulusPalletXcmOrigin =
3854
+ | { type: 'Relay' }
3855
+ | { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
4343
3856
 
4344
3857
  /**
4345
3858
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -4725,7 +4238,7 @@ export type PalletProxyCall =
4725
4238
  *
4726
4239
  * The dispatch origin for this call must be _Signed_.
4727
4240
  *
4728
- * WARNING: This may be called on accounts created by `pure`, however if done, then
4241
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
4729
4242
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
4730
4243
  **/
4731
4244
  | { name: 'RemoveProxies' }
@@ -4757,16 +4270,16 @@ export type PalletProxyCall =
4757
4270
  * inaccessible.
4758
4271
  *
4759
4272
  * Requires a `Signed` origin, and the sender account must have been created by a call to
4760
- * `pure` with corresponding parameters.
4273
+ * `create_pure` with corresponding parameters.
4761
4274
  *
4762
- * - `spawner`: The account that originally called `pure` to create this account.
4763
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
4764
- * - `proxy_type`: The proxy type originally passed to `pure`.
4765
- * - `height`: The height of the chain when the call to `pure` was processed.
4766
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
4275
+ * - `spawner`: The account that originally called `create_pure` to create this account.
4276
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
4277
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
4278
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
4279
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
4767
4280
  *
4768
4281
  * Fails with `NoPermission` in case the caller is not a previously created pure
4769
- * account whose `pure` call has corresponding parameters.
4282
+ * account whose `create_pure` call has corresponding parameters.
4770
4283
  **/
4771
4284
  | {
4772
4285
  name: 'KillPure';
@@ -4909,7 +4422,7 @@ export type PalletProxyCallLike =
4909
4422
  *
4910
4423
  * The dispatch origin for this call must be _Signed_.
4911
4424
  *
4912
- * WARNING: This may be called on accounts created by `pure`, however if done, then
4425
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
4913
4426
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
4914
4427
  **/
4915
4428
  | { name: 'RemoveProxies' }
@@ -4941,16 +4454,16 @@ export type PalletProxyCallLike =
4941
4454
  * inaccessible.
4942
4455
  *
4943
4456
  * Requires a `Signed` origin, and the sender account must have been created by a call to
4944
- * `pure` with corresponding parameters.
4457
+ * `create_pure` with corresponding parameters.
4945
4458
  *
4946
- * - `spawner`: The account that originally called `pure` to create this account.
4947
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
4948
- * - `proxy_type`: The proxy type originally passed to `pure`.
4949
- * - `height`: The height of the chain when the call to `pure` was processed.
4950
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
4459
+ * - `spawner`: The account that originally called `create_pure` to create this account.
4460
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
4461
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
4462
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
4463
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
4951
4464
  *
4952
4465
  * Fails with `NoPermission` in case the caller is not a previously created pure
4953
- * account whose `pure` call has corresponding parameters.
4466
+ * account whose `create_pure` call has corresponding parameters.
4954
4467
  **/
4955
4468
  | {
4956
4469
  name: 'KillPure';
@@ -5422,177 +4935,797 @@ export type PalletIdentityCallLike =
5422
4935
  *
5423
4936
  * Emits `JudgementGiven` if successful.
5424
4937
  **/
5425
- | {
5426
- name: 'ProvideJudgement';
5427
- params: { regIndex: number; target: MultiAddressLike; judgement: PalletIdentityJudgement; identity: H256 };
5428
- }
4938
+ | {
4939
+ name: 'ProvideJudgement';
4940
+ params: { regIndex: number; target: MultiAddressLike; judgement: PalletIdentityJudgement; identity: H256 };
4941
+ }
4942
+ /**
4943
+ * Remove an account's identity and sub-account information and slash the deposits.
4944
+ *
4945
+ * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by
4946
+ * `Slash`. Verification request deposits are not returned; they should be cancelled
4947
+ * manually using `cancel_request`.
4948
+ *
4949
+ * The dispatch origin for this call must match `T::ForceOrigin`.
4950
+ *
4951
+ * - `target`: the account whose identity the judgement is upon. This must be an account
4952
+ * with a registered identity.
4953
+ *
4954
+ * Emits `IdentityKilled` if successful.
4955
+ **/
4956
+ | { name: 'KillIdentity'; params: { target: MultiAddressLike } }
4957
+ /**
4958
+ * Add the given account to the sender's subs.
4959
+ *
4960
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
4961
+ * to the sender.
4962
+ *
4963
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
4964
+ * sub identity of `sub`.
4965
+ **/
4966
+ | { name: 'AddSub'; params: { sub: MultiAddressLike; data: Data } }
4967
+ /**
4968
+ * Alter the associated name of the given sub-account.
4969
+ *
4970
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
4971
+ * sub identity of `sub`.
4972
+ **/
4973
+ | { name: 'RenameSub'; params: { sub: MultiAddressLike; data: Data } }
4974
+ /**
4975
+ * Remove the given account from the sender's subs.
4976
+ *
4977
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
4978
+ * to the sender.
4979
+ *
4980
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
4981
+ * sub identity of `sub`.
4982
+ **/
4983
+ | { name: 'RemoveSub'; params: { sub: MultiAddressLike } }
4984
+ /**
4985
+ * Remove the sender as a sub-account.
4986
+ *
4987
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
4988
+ * to the sender (*not* the original depositor).
4989
+ *
4990
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
4991
+ * super-identity.
4992
+ *
4993
+ * NOTE: This should not normally be used, but is provided in the case that the non-
4994
+ * controller of an account is maliciously registered as a sub-account.
4995
+ **/
4996
+ | { name: 'QuitSub' }
4997
+ /**
4998
+ * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
4999
+ *
5000
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
5001
+ * change the account used to grant usernames, this call can be used with the updated
5002
+ * parameters to overwrite the existing configuration.
5003
+ **/
5004
+ | { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
5005
+ /**
5006
+ * Remove `authority` from the username authorities.
5007
+ **/
5008
+ | { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
5009
+ /**
5010
+ * Set the username for `who`. Must be called by a username authority.
5011
+ *
5012
+ * If `use_allocation` is set, the authority must have a username allocation available to
5013
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
5014
+ * username.
5015
+ *
5016
+ * Users can either pre-sign their usernames or
5017
+ * accept them later.
5018
+ *
5019
+ * Usernames must:
5020
+ * - Only contain lowercase ASCII characters or digits.
5021
+ * - When combined with the suffix of the issuing authority be _less than_ the
5022
+ * `MaxUsernameLength`.
5023
+ **/
5024
+ | {
5025
+ name: 'SetUsernameFor';
5026
+ params: {
5027
+ who: MultiAddressLike;
5028
+ username: BytesLike;
5029
+ signature?: SpRuntimeMultiSignature | undefined;
5030
+ useAllocation: boolean;
5031
+ };
5032
+ }
5033
+ /**
5034
+ * Accept a given username that an `authority` granted. The call must include the full
5035
+ * username, as in `username.suffix`.
5036
+ **/
5037
+ | { name: 'AcceptUsername'; params: { username: BytesLike } }
5038
+ /**
5039
+ * Remove an expired username approval. The username was approved by an authority but never
5040
+ * accepted by the user and must now be beyond its expiration. The call must include the
5041
+ * full username, as in `username.suffix`.
5042
+ **/
5043
+ | { name: 'RemoveExpiredApproval'; params: { username: BytesLike } }
5044
+ /**
5045
+ * Set a given username as the primary. The username should include the suffix.
5046
+ **/
5047
+ | { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
5048
+ /**
5049
+ * Start the process of removing a username by placing it in the unbinding usernames map.
5050
+ * Once the grace period has passed, the username can be deleted by calling
5051
+ * [remove_username](crate::Call::remove_username).
5052
+ **/
5053
+ | { name: 'UnbindUsername'; params: { username: BytesLike } }
5054
+ /**
5055
+ * Permanently delete a username which has been unbinding for longer than the grace period.
5056
+ * Caller is refunded the fee if the username expired and the removal was successful.
5057
+ **/
5058
+ | { name: 'RemoveUsername'; params: { username: BytesLike } }
5059
+ /**
5060
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
5061
+ * and slashes any deposit associated with it.
5062
+ **/
5063
+ | { name: 'KillUsername'; params: { username: BytesLike } };
5064
+
5065
+ export type PeoplePolkadotRuntimePeopleIdentityInfo = {
5066
+ display: Data;
5067
+ legal: Data;
5068
+ web: Data;
5069
+ matrix: Data;
5070
+ email: Data;
5071
+ pgpFingerprint?: FixedBytes<20> | undefined;
5072
+ image: Data;
5073
+ twitter: Data;
5074
+ github: Data;
5075
+ discord: Data;
5076
+ };
5077
+
5078
+ export type PalletIdentityJudgement =
5079
+ | { type: 'Unknown' }
5080
+ | { type: 'FeePaid'; value: bigint }
5081
+ | { type: 'Reasonable' }
5082
+ | { type: 'KnownGood' }
5083
+ | { type: 'OutOfDate' }
5084
+ | { type: 'LowQuality' }
5085
+ | { type: 'Erroneous' };
5086
+
5087
+ export type SpRuntimeMultiSignature =
5088
+ | { type: 'Ed25519'; value: FixedBytes<64> }
5089
+ | { type: 'Sr25519'; value: FixedBytes<64> }
5090
+ | { type: 'Ecdsa'; value: FixedBytes<65> };
5091
+
5092
+ export type SpRuntimeBlakeTwo256 = {};
5093
+
5094
+ export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
5095
+
5096
+ export type FrameSystemExtensionsCheckNonZeroSender = {};
5097
+
5098
+ export type FrameSystemExtensionsCheckSpecVersion = {};
5099
+
5100
+ export type FrameSystemExtensionsCheckTxVersion = {};
5101
+
5102
+ export type FrameSystemExtensionsCheckGenesis = {};
5103
+
5104
+ export type FrameSystemExtensionsCheckMortality = Era;
5105
+
5106
+ export type FrameSystemExtensionsCheckNonce = number;
5107
+
5108
+ export type FrameSystemExtensionsCheckWeight = {};
5109
+
5110
+ export type PalletTransactionPaymentChargeTransactionPayment = bigint;
5111
+
5112
+ export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
5113
+
5114
+ export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
5115
+
5116
+ export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
5117
+ usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
5118
+ paraHeadHash?: H256 | undefined;
5119
+ consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
5120
+ };
5121
+
5122
+ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
5123
+ umpMsgCount: number;
5124
+ umpTotalBytes: number;
5125
+ hrmpOutgoing: Array<
5126
+ [PolkadotParachainPrimitivesPrimitivesId, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate]
5127
+ >;
5128
+ };
5129
+
5130
+ export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
5131
+
5132
+ export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
5133
+
5134
+ export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
5135
+ usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
5136
+ hrmpWatermark?: number | undefined;
5137
+ consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
5138
+ };
5139
+
5140
+ export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
5141
+
5142
+ export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
5143
+ dmqMqcHead: H256;
5144
+ relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
5145
+ ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
5146
+ egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
5147
+ };
5148
+
5149
+ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
5150
+ remainingCount: number;
5151
+ remainingSize: number;
5152
+ };
5153
+
5154
+ export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
5155
+ maxCapacity: number;
5156
+ maxTotalSize: number;
5157
+ maxMessageSize: number;
5158
+ msgCount: number;
5159
+ totalSize: number;
5160
+ mqcHead?: H256 | undefined;
5161
+ };
5162
+
5163
+ export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
5164
+ maxCodeSize: number;
5165
+ maxHeadDataSize: number;
5166
+ maxUpwardQueueCount: number;
5167
+ maxUpwardQueueSize: number;
5168
+ maxUpwardMessageSize: number;
5169
+ maxUpwardMessageNumPerCandidate: number;
5170
+ hrmpMaxMessageNumPerCandidate: number;
5171
+ validationUpgradeCooldown: number;
5172
+ validationUpgradeDelay: number;
5173
+ asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
5174
+ };
5175
+
5176
+ export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
5177
+ maxCandidateDepth: number;
5178
+ allowedAncestryLen: number;
5179
+ };
5180
+
5181
+ export type CumulusPrimitivesParachainInherentMessageQueueChain = H256;
5182
+
5183
+ export type CumulusPalletParachainSystemParachainInherentInboundMessageId = { sentAt: number; reverseIdx: number };
5184
+
5185
+ export type PolkadotCorePrimitivesOutboundHrmpMessage = {
5186
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
5187
+ data: Bytes;
5188
+ };
5189
+
5190
+ /**
5191
+ * The `Error` enum of this pallet.
5192
+ **/
5193
+ export type CumulusPalletParachainSystemError =
5194
+ /**
5195
+ * Attempt to upgrade validation function while existing upgrade pending.
5196
+ **/
5197
+ | 'OverlappingUpgrades'
5198
+ /**
5199
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
5200
+ **/
5201
+ | 'ProhibitedByPolkadot'
5202
+ /**
5203
+ * The supplied validation function has compiled into a blob larger than Polkadot is
5204
+ * willing to run.
5205
+ **/
5206
+ | 'TooBig'
5207
+ /**
5208
+ * The inherent which supplies the validation data did not run this block.
5209
+ **/
5210
+ | 'ValidationDataNotAvailable'
5211
+ /**
5212
+ * The inherent which supplies the host configuration did not run this block.
5213
+ **/
5214
+ | 'HostConfigurationNotAvailable'
5215
+ /**
5216
+ * No validation function upgrade is currently scheduled.
5217
+ **/
5218
+ | 'NotScheduled';
5219
+
5220
+ /**
5221
+ * The `Error` enum of this pallet.
5222
+ **/
5223
+ export type PalletMigrationsError =
5224
+ /**
5225
+ * The operation cannot complete since some MBMs are ongoing.
5226
+ **/
5227
+ 'Ongoing';
5228
+
5229
+ export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
5230
+
5231
+ export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
5232
+
5233
+ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
5234
+
5235
+ export type FrameSupportTokensMiscIdAmount = { id: PeoplePolkadotRuntimeRuntimeHoldReason; amount: bigint };
5236
+
5237
+ export type PeoplePolkadotRuntimeRuntimeHoldReason =
5238
+ | { type: 'Session'; value: PalletSessionHoldReason }
5239
+ | { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
5240
+
5241
+ export type PalletSessionHoldReason = 'Keys';
5242
+
5243
+ export type PalletXcmHoldReason = 'AuthorizeAlias';
5244
+
5245
+ export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
5246
+
5247
+ /**
5248
+ * The `Error` enum of this pallet.
5249
+ **/
5250
+ export type PalletBalancesError =
5251
+ /**
5252
+ * Vesting balance too high to send value.
5253
+ **/
5254
+ | 'VestingBalance'
5255
+ /**
5256
+ * Account liquidity restrictions prevent withdrawal.
5257
+ **/
5258
+ | 'LiquidityRestrictions'
5259
+ /**
5260
+ * Balance too low to send value.
5261
+ **/
5262
+ | 'InsufficientBalance'
5263
+ /**
5264
+ * Value too low to create account due to existential deposit.
5265
+ **/
5266
+ | 'ExistentialDeposit'
5267
+ /**
5268
+ * Transfer/payment would kill account.
5269
+ **/
5270
+ | 'Expendability'
5271
+ /**
5272
+ * A vesting schedule already exists for this account.
5273
+ **/
5274
+ | 'ExistingVestingSchedule'
5275
+ /**
5276
+ * Beneficiary account must pre-exist.
5277
+ **/
5278
+ | 'DeadAccount'
5279
+ /**
5280
+ * Number of named reserves exceed `MaxReserves`.
5281
+ **/
5282
+ | 'TooManyReserves'
5283
+ /**
5284
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
5285
+ **/
5286
+ | 'TooManyHolds'
5287
+ /**
5288
+ * Number of freezes exceed `MaxFreezes`.
5289
+ **/
5290
+ | 'TooManyFreezes'
5291
+ /**
5292
+ * The issuance cannot be modified since it is already deactivated.
5293
+ **/
5294
+ | 'IssuanceDeactivated'
5295
+ /**
5296
+ * The delta cannot be zero.
5297
+ **/
5298
+ | 'DeltaZero';
5299
+
5300
+ export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
5301
+
5302
+ export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
5303
+
5304
+ export type FrameSupportPalletId = FixedBytes<8>;
5305
+
5306
+ /**
5307
+ * The `Error` enum of this pallet.
5308
+ **/
5309
+ export type PalletCollatorSelectionError =
5310
+ /**
5311
+ * The pallet has too many candidates.
5312
+ **/
5313
+ | 'TooManyCandidates'
5314
+ /**
5315
+ * Leaving would result in too few candidates.
5316
+ **/
5317
+ | 'TooFewEligibleCollators'
5318
+ /**
5319
+ * Account is already a candidate.
5320
+ **/
5321
+ | 'AlreadyCandidate'
5322
+ /**
5323
+ * Account is not a candidate.
5324
+ **/
5325
+ | 'NotCandidate'
5326
+ /**
5327
+ * There are too many Invulnerables.
5328
+ **/
5329
+ | 'TooManyInvulnerables'
5330
+ /**
5331
+ * Account is already an Invulnerable.
5332
+ **/
5333
+ | 'AlreadyInvulnerable'
5334
+ /**
5335
+ * Account is not an Invulnerable.
5336
+ **/
5337
+ | 'NotInvulnerable'
5338
+ /**
5339
+ * Account has no associated validator ID.
5340
+ **/
5341
+ | 'NoAssociatedValidatorId'
5342
+ /**
5343
+ * Validator ID is not yet registered.
5344
+ **/
5345
+ | 'ValidatorNotRegistered'
5346
+ /**
5347
+ * Could not insert in the candidate list.
5348
+ **/
5349
+ | 'InsertToCandidateListFailed'
5350
+ /**
5351
+ * Could not remove from the candidate list.
5352
+ **/
5353
+ | 'RemoveFromCandidateListFailed'
5354
+ /**
5355
+ * New deposit amount would be below the minimum candidacy bond.
5356
+ **/
5357
+ | 'DepositTooLow'
5358
+ /**
5359
+ * Could not update the candidate list.
5360
+ **/
5361
+ | 'UpdateCandidateListFailed'
5362
+ /**
5363
+ * Deposit amount is too low to take the target's slot in the candidate list.
5364
+ **/
5365
+ | 'InsufficientBond'
5366
+ /**
5367
+ * The target account to be replaced in the candidate list is not a candidate.
5368
+ **/
5369
+ | 'TargetIsNotCandidate'
5370
+ /**
5371
+ * The updated deposit amount is equal to the amount already reserved.
5372
+ **/
5373
+ | 'IdenticalDeposit'
5374
+ /**
5375
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
5376
+ **/
5377
+ | 'InvalidUnreserve';
5378
+
5379
+ export type SpStakingOffenceOffenceSeverity = Perbill;
5380
+
5381
+ export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
5382
+
5383
+ /**
5384
+ * Error for the session pallet.
5385
+ **/
5386
+ export type PalletSessionError =
5387
+ /**
5388
+ * Invalid ownership proof.
5389
+ **/
5390
+ | 'InvalidProof'
5391
+ /**
5392
+ * No associated validator ID for account.
5393
+ **/
5394
+ | 'NoAssociatedValidatorId'
5395
+ /**
5396
+ * Registered duplicate key.
5397
+ **/
5398
+ | 'DuplicatedKey'
5399
+ /**
5400
+ * No keys are associated with this account.
5401
+ **/
5402
+ | 'NoKeys'
5403
+ /**
5404
+ * Key setting account is not live, so it's impossible to associate keys.
5405
+ **/
5406
+ | 'NoAccount';
5407
+
5408
+ export type SpConsensusSlotsSlot = bigint;
5409
+
5410
+ export type CumulusPalletXcmpQueueOutboundChannelDetails = {
5411
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
5412
+ state: CumulusPalletXcmpQueueOutboundState;
5413
+ signalsExist: boolean;
5414
+ firstIndex: number;
5415
+ lastIndex: number;
5416
+ };
5417
+
5418
+ export type CumulusPalletXcmpQueueOutboundState = 'Ok' | 'Suspended';
5419
+
5420
+ export type CumulusPalletXcmpQueueQueueConfigData = {
5421
+ suspendThreshold: number;
5422
+ dropThreshold: number;
5423
+ resumeThreshold: number;
5424
+ };
5425
+
5426
+ /**
5427
+ * The `Error` enum of this pallet.
5428
+ **/
5429
+ export type CumulusPalletXcmpQueueError =
5430
+ /**
5431
+ * Setting the queue config failed since one of its values was invalid.
5432
+ **/
5433
+ | 'BadQueueConfig'
5434
+ /**
5435
+ * The execution is already suspended.
5436
+ **/
5437
+ | 'AlreadySuspended'
5438
+ /**
5439
+ * The execution is already resumed.
5440
+ **/
5441
+ | 'AlreadyResumed'
5442
+ /**
5443
+ * There are too many active outbound channels.
5444
+ **/
5445
+ | 'TooManyActiveOutboundChannels'
5446
+ /**
5447
+ * The message is too big.
5448
+ **/
5449
+ | 'TooBig';
5450
+
5451
+ export type PalletXcmQueryStatus =
5452
+ | {
5453
+ type: 'Pending';
5454
+ value: {
5455
+ responder: XcmVersionedLocation;
5456
+ maybeMatchQuerier?: XcmVersionedLocation | undefined;
5457
+ maybeNotify?: [number, number] | undefined;
5458
+ timeout: number;
5459
+ };
5460
+ }
5461
+ | { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
5462
+ | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
5463
+
5464
+ export type XcmVersionedResponse =
5465
+ | { type: 'V3'; value: XcmV3Response }
5466
+ | { type: 'V4'; value: StagingXcmV4Response }
5467
+ | { type: 'V5'; value: StagingXcmV5Response };
5468
+
5469
+ export type PalletXcmVersionMigrationStage =
5470
+ | { type: 'MigrateSupportedVersion' }
5471
+ | { type: 'MigrateVersionNotifiers' }
5472
+ | { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
5473
+ | { type: 'MigrateAndNotifyOldTargets' };
5474
+
5475
+ export type PalletXcmRemoteLockedFungibleRecord = {
5476
+ amount: bigint;
5477
+ owner: XcmVersionedLocation;
5478
+ locker: XcmVersionedLocation;
5479
+ consumers: Array<[[], bigint]>;
5480
+ };
5481
+
5482
+ export type PalletXcmAuthorizedAliasesEntry = {
5483
+ aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
5484
+ ticket: FrameSupportTokensFungibleHoldConsideration;
5485
+ };
5486
+
5487
+ export type FrameSupportTokensFungibleHoldConsideration = bigint;
5488
+
5489
+ export type PalletXcmMaxAuthorizedAliases = {};
5490
+
5491
+ export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
5492
+ location: XcmVersionedLocation;
5493
+ expiry?: bigint | undefined;
5494
+ };
5495
+
5496
+ /**
5497
+ * The `Error` enum of this pallet.
5498
+ **/
5499
+ export type PalletXcmError =
5500
+ /**
5501
+ * The desired destination was unreachable, generally because there is a no way of routing
5502
+ * to it.
5503
+ **/
5504
+ | { name: 'Unreachable' }
5505
+ /**
5506
+ * There was some other issue (i.e. not to do with routing) in sending the message.
5507
+ * Perhaps a lack of space for buffering the message.
5508
+ **/
5509
+ | { name: 'SendFailure' }
5510
+ /**
5511
+ * The message execution fails the filter.
5512
+ **/
5513
+ | { name: 'Filtered' }
5514
+ /**
5515
+ * The message's weight could not be determined.
5516
+ **/
5517
+ | { name: 'UnweighableMessage' }
5518
+ /**
5519
+ * The destination `Location` provided cannot be inverted.
5520
+ **/
5521
+ | { name: 'DestinationNotInvertible' }
5522
+ /**
5523
+ * The assets to be sent are empty.
5524
+ **/
5525
+ | { name: 'Empty' }
5526
+ /**
5527
+ * Could not re-anchor the assets to declare the fees for the destination chain.
5528
+ **/
5529
+ | { name: 'CannotReanchor' }
5530
+ /**
5531
+ * Too many assets have been attempted for transfer.
5532
+ **/
5533
+ | { name: 'TooManyAssets' }
5534
+ /**
5535
+ * Origin is invalid for sending.
5536
+ **/
5537
+ | { name: 'InvalidOrigin' }
5538
+ /**
5539
+ * The version of the `Versioned` value used is not able to be interpreted.
5540
+ **/
5541
+ | { name: 'BadVersion' }
5542
+ /**
5543
+ * The given location could not be used (e.g. because it cannot be expressed in the
5544
+ * desired version of XCM).
5545
+ **/
5546
+ | { name: 'BadLocation' }
5547
+ /**
5548
+ * The referenced subscription could not be found.
5549
+ **/
5550
+ | { name: 'NoSubscription' }
5551
+ /**
5552
+ * The location is invalid since it already has a subscription from us.
5553
+ **/
5554
+ | { name: 'AlreadySubscribed' }
5429
5555
  /**
5430
- * Remove an account's identity and sub-account information and slash the deposits.
5431
- *
5432
- * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by
5433
- * `Slash`. Verification request deposits are not returned; they should be cancelled
5434
- * manually using `cancel_request`.
5435
- *
5436
- * The dispatch origin for this call must match `T::ForceOrigin`.
5437
- *
5438
- * - `target`: the account whose identity the judgement is upon. This must be an account
5439
- * with a registered identity.
5440
- *
5441
- * Emits `IdentityKilled` if successful.
5556
+ * Could not check-out the assets for teleportation to the destination chain.
5442
5557
  **/
5443
- | { name: 'KillIdentity'; params: { target: MultiAddressLike } }
5558
+ | { name: 'CannotCheckOutTeleport' }
5444
5559
  /**
5445
- * Add the given account to the sender's subs.
5446
- *
5447
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
5448
- * to the sender.
5449
- *
5450
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5451
- * sub identity of `sub`.
5560
+ * The owner does not own (all) of the asset that they wish to do the operation on.
5452
5561
  **/
5453
- | { name: 'AddSub'; params: { sub: MultiAddressLike; data: Data } }
5562
+ | { name: 'LowBalance' }
5454
5563
  /**
5455
- * Alter the associated name of the given sub-account.
5456
- *
5457
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5458
- * sub identity of `sub`.
5564
+ * The asset owner has too many locks on the asset.
5459
5565
  **/
5460
- | { name: 'RenameSub'; params: { sub: MultiAddressLike; data: Data } }
5566
+ | { name: 'TooManyLocks' }
5461
5567
  /**
5462
- * Remove the given account from the sender's subs.
5463
- *
5464
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
5465
- * to the sender.
5466
- *
5467
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5468
- * sub identity of `sub`.
5568
+ * The given account is not an identifiable sovereign account for any location.
5469
5569
  **/
5470
- | { name: 'RemoveSub'; params: { sub: MultiAddressLike } }
5570
+ | { name: 'AccountNotSovereign' }
5471
5571
  /**
5472
- * Remove the sender as a sub-account.
5473
- *
5474
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
5475
- * to the sender (*not* the original depositor).
5476
- *
5477
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5478
- * super-identity.
5479
- *
5480
- * NOTE: This should not normally be used, but is provided in the case that the non-
5481
- * controller of an account is maliciously registered as a sub-account.
5572
+ * The operation required fees to be paid which the initiator could not meet.
5482
5573
  **/
5483
- | { name: 'QuitSub' }
5574
+ | { name: 'FeesNotMet' }
5484
5575
  /**
5485
- * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
5486
- *
5487
- * The authority can grant up to `allocation` usernames. To top up the allocation or
5488
- * change the account used to grant usernames, this call can be used with the updated
5489
- * parameters to overwrite the existing configuration.
5576
+ * A remote lock with the corresponding data could not be found.
5490
5577
  **/
5491
- | { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
5578
+ | { name: 'LockNotFound' }
5492
5579
  /**
5493
- * Remove `authority` from the username authorities.
5580
+ * The unlock operation cannot succeed because there are still consumers of the lock.
5494
5581
  **/
5495
- | { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
5582
+ | { name: 'InUse' }
5496
5583
  /**
5497
- * Set the username for `who`. Must be called by a username authority.
5498
- *
5499
- * If `use_allocation` is set, the authority must have a username allocation available to
5500
- * spend. Otherwise, the authority will need to put up a deposit for registering the
5501
- * username.
5502
- *
5503
- * Users can either pre-sign their usernames or
5504
- * accept them later.
5505
- *
5506
- * Usernames must:
5507
- * - Only contain lowercase ASCII characters or digits.
5508
- * - When combined with the suffix of the issuing authority be _less than_ the
5509
- * `MaxUsernameLength`.
5584
+ * Invalid asset, reserve chain could not be determined for it.
5510
5585
  **/
5511
- | {
5512
- name: 'SetUsernameFor';
5513
- params: {
5514
- who: MultiAddressLike;
5515
- username: BytesLike;
5516
- signature?: SpRuntimeMultiSignature | undefined;
5517
- useAllocation: boolean;
5518
- };
5519
- }
5586
+ | { name: 'InvalidAssetUnknownReserve' }
5520
5587
  /**
5521
- * Accept a given username that an `authority` granted. The call must include the full
5522
- * username, as in `username.suffix`.
5588
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
5523
5589
  **/
5524
- | { name: 'AcceptUsername'; params: { username: BytesLike } }
5590
+ | { name: 'InvalidAssetUnsupportedReserve' }
5525
5591
  /**
5526
- * Remove an expired username approval. The username was approved by an authority but never
5527
- * accepted by the user and must now be beyond its expiration. The call must include the
5528
- * full username, as in `username.suffix`.
5592
+ * Too many assets with different reserve locations have been attempted for transfer.
5529
5593
  **/
5530
- | { name: 'RemoveExpiredApproval'; params: { username: BytesLike } }
5594
+ | { name: 'TooManyReserves' }
5531
5595
  /**
5532
- * Set a given username as the primary. The username should include the suffix.
5596
+ * Local XCM execution incomplete.
5533
5597
  **/
5534
- | { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
5598
+ | { name: 'LocalExecutionIncomplete' }
5535
5599
  /**
5536
- * Start the process of removing a username by placing it in the unbinding usernames map.
5537
- * Once the grace period has passed, the username can be deleted by calling
5538
- * [remove_username](crate::Call::remove_username).
5600
+ * Too many locations authorized to alias origin.
5539
5601
  **/
5540
- | { name: 'UnbindUsername'; params: { username: BytesLike } }
5602
+ | { name: 'TooManyAuthorizedAliases' }
5541
5603
  /**
5542
- * Permanently delete a username which has been unbinding for longer than the grace period.
5543
- * Caller is refunded the fee if the username expired and the removal was successful.
5604
+ * Expiry block number is in the past.
5544
5605
  **/
5545
- | { name: 'RemoveUsername'; params: { username: BytesLike } }
5606
+ | { name: 'ExpiresInPast' }
5546
5607
  /**
5547
- * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
5548
- * and slashes any deposit associated with it.
5608
+ * The alias to remove authorization for was not found.
5549
5609
  **/
5550
- | { name: 'KillUsername'; params: { username: BytesLike } };
5551
-
5552
- export type PeoplePolkadotRuntimePeopleIdentityInfo = {
5553
- display: Data;
5554
- legal: Data;
5555
- web: Data;
5556
- matrix: Data;
5557
- email: Data;
5558
- pgpFingerprint?: FixedBytes<20> | undefined;
5559
- image: Data;
5560
- twitter: Data;
5561
- github: Data;
5562
- discord: Data;
5563
- };
5564
-
5565
- export type PalletIdentityJudgement =
5566
- | { type: 'Unknown' }
5567
- | { type: 'FeePaid'; value: bigint }
5568
- | { type: 'Reasonable' }
5569
- | { type: 'KnownGood' }
5570
- | { type: 'OutOfDate' }
5571
- | { type: 'LowQuality' }
5572
- | { type: 'Erroneous' };
5610
+ | { name: 'AliasNotFound' }
5611
+ /**
5612
+ * Local XCM execution incomplete with the actual XCM error and the index of the
5613
+ * instruction that caused the error.
5614
+ **/
5615
+ | { name: 'LocalExecutionIncompleteWithError'; data: { index: number; error: PalletXcmErrorsExecutionError } };
5573
5616
 
5574
- export type SpRuntimeMultiSignature =
5575
- | { type: 'Ed25519'; value: FixedBytes<64> }
5576
- | { type: 'Sr25519'; value: FixedBytes<64> }
5577
- | { type: 'Ecdsa'; value: FixedBytes<65> };
5617
+ export type PalletXcmErrorsExecutionError =
5618
+ | 'Overflow'
5619
+ | 'Unimplemented'
5620
+ | 'UntrustedReserveLocation'
5621
+ | 'UntrustedTeleportLocation'
5622
+ | 'LocationFull'
5623
+ | 'LocationNotInvertible'
5624
+ | 'BadOrigin'
5625
+ | 'InvalidLocation'
5626
+ | 'AssetNotFound'
5627
+ | 'FailedToTransactAsset'
5628
+ | 'NotWithdrawable'
5629
+ | 'LocationCannotHold'
5630
+ | 'ExceedsMaxMessageSize'
5631
+ | 'DestinationUnsupported'
5632
+ | 'Transport'
5633
+ | 'Unroutable'
5634
+ | 'UnknownClaim'
5635
+ | 'FailedToDecode'
5636
+ | 'MaxWeightInvalid'
5637
+ | 'NotHoldingFees'
5638
+ | 'TooExpensive'
5639
+ | 'Trap'
5640
+ | 'ExpectationFalse'
5641
+ | 'PalletNotFound'
5642
+ | 'NameMismatch'
5643
+ | 'VersionIncompatible'
5644
+ | 'HoldingWouldOverflow'
5645
+ | 'ExportError'
5646
+ | 'ReanchorFailed'
5647
+ | 'NoDeal'
5648
+ | 'FeesNotMet'
5649
+ | 'LockError'
5650
+ | 'NoPermission'
5651
+ | 'Unanchored'
5652
+ | 'NotDepositable'
5653
+ | 'TooManyAssets'
5654
+ | 'UnhandledXcmVersion'
5655
+ | 'WeightLimitReached'
5656
+ | 'Barrier'
5657
+ | 'WeightNotComputable'
5658
+ | 'ExceedsStackLimit';
5578
5659
 
5579
- export type PeoplePolkadotRuntimeOriginCaller =
5580
- | { type: 'System'; value: FrameSupportDispatchRawOrigin }
5581
- | { type: 'PolkadotXcm'; value: PalletXcmOrigin }
5582
- | { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
5660
+ export type PalletMessageQueueBookState = {
5661
+ begin: number;
5662
+ end: number;
5663
+ count: number;
5664
+ readyNeighbours?: PalletMessageQueueNeighbours | undefined;
5665
+ messageCount: bigint;
5666
+ size: bigint;
5667
+ };
5583
5668
 
5584
- export type FrameSupportDispatchRawOrigin =
5585
- | { type: 'Root' }
5586
- | { type: 'Signed'; value: AccountId32 }
5587
- | { type: 'None' };
5669
+ export type PalletMessageQueueNeighbours = {
5670
+ prev: CumulusPrimitivesCoreAggregateMessageOrigin;
5671
+ next: CumulusPrimitivesCoreAggregateMessageOrigin;
5672
+ };
5588
5673
 
5589
- export type PalletXcmOrigin =
5590
- | { type: 'Xcm'; value: StagingXcmV5Location }
5591
- | { type: 'Response'; value: StagingXcmV5Location };
5674
+ export type PalletMessageQueuePage = {
5675
+ remaining: number;
5676
+ remainingSize: number;
5677
+ firstIndex: number;
5678
+ first: number;
5679
+ last: number;
5680
+ heap: Bytes;
5681
+ };
5592
5682
 
5593
- export type CumulusPalletXcmOrigin =
5594
- | { type: 'Relay' }
5595
- | { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
5683
+ /**
5684
+ * The `Error` enum of this pallet.
5685
+ **/
5686
+ export type PalletMessageQueueError =
5687
+ /**
5688
+ * Page is not reapable because it has items remaining to be processed and is not old
5689
+ * enough.
5690
+ **/
5691
+ | 'NotReapable'
5692
+ /**
5693
+ * Page to be reaped does not exist.
5694
+ **/
5695
+ | 'NoPage'
5696
+ /**
5697
+ * The referenced message could not be found.
5698
+ **/
5699
+ | 'NoMessage'
5700
+ /**
5701
+ * The message was already processed and cannot be processed again.
5702
+ **/
5703
+ | 'AlreadyProcessed'
5704
+ /**
5705
+ * The message is queued for future execution.
5706
+ **/
5707
+ | 'Queued'
5708
+ /**
5709
+ * There is temporarily not enough weight to continue servicing messages.
5710
+ **/
5711
+ | 'InsufficientWeight'
5712
+ /**
5713
+ * This message is temporarily unprocessable.
5714
+ *
5715
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
5716
+ * retrying.
5717
+ **/
5718
+ | 'TemporarilyUnprocessable'
5719
+ /**
5720
+ * The queue is paused and no message can be executed from it.
5721
+ *
5722
+ * This can change at any time and may resolve in the future by re-trying.
5723
+ **/
5724
+ | 'QueuePaused'
5725
+ /**
5726
+ * Another call is in progress and needs to finish before this call can happen.
5727
+ **/
5728
+ | 'RecursiveDisallowed';
5596
5729
 
5597
5730
  /**
5598
5731
  * The `Error` enum of this pallet.
@@ -5860,32 +5993,8 @@ export type PalletIdentityError =
5860
5993
  **/
5861
5994
  | 'InsufficientPrivileges';
5862
5995
 
5863
- export type FrameSystemExtensionsCheckNonZeroSender = {};
5864
-
5865
- export type FrameSystemExtensionsCheckSpecVersion = {};
5866
-
5867
- export type FrameSystemExtensionsCheckTxVersion = {};
5868
-
5869
- export type FrameSystemExtensionsCheckGenesis = {};
5870
-
5871
- export type FrameSystemExtensionsCheckMortality = Era;
5872
-
5873
- export type FrameSystemExtensionsCheckNonce = number;
5874
-
5875
- export type FrameSystemExtensionsCheckWeight = {};
5876
-
5877
- export type PalletTransactionPaymentChargeTransactionPayment = bigint;
5878
-
5879
- export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
5880
-
5881
- export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
5882
-
5883
- export type PeoplePolkadotRuntimeRuntime = {};
5884
-
5885
5996
  export type SpConsensusSlotsSlotDuration = bigint;
5886
5997
 
5887
- export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
5888
-
5889
5998
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
5890
5999
 
5891
6000
  export type SpCoreOpaqueMetadata = Bytes;
@@ -5976,6 +6085,15 @@ export type XcmRuntimeApisDryRunXcmDryRunEffects = {
5976
6085
 
5977
6086
  export type XcmRuntimeApisConversionsError = 'Unsupported' | 'VersionedConversionFailed';
5978
6087
 
6088
+ export type XcmVersionedAsset =
6089
+ | { type: 'V3'; value: XcmV3MultiassetMultiAsset }
6090
+ | { type: 'V4'; value: StagingXcmV4Asset }
6091
+ | { type: 'V5'; value: StagingXcmV5Asset };
6092
+
6093
+ export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
6094
+
6095
+ export type XcmRuntimeApisAuthorizedAliasesError = 'LocationVersionConversionFailed';
6096
+
5979
6097
  export type CumulusPrimitivesCoreCollationInfo = {
5980
6098
  upwardMessages: Array<Bytes>;
5981
6099
  horizontalMessages: Array<PolkadotCorePrimitivesOutboundHrmpMessage>;