@dedot/chaintypes 0.155.0 → 0.157.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 = {
@@ -369,10 +369,16 @@ export type PalletBalancesEvent =
369
369
  /**
370
370
  * The `TotalIssuance` was forcefully changed.
371
371
  **/
372
- | { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } };
372
+ | { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
373
+ /**
374
+ * An unexpected/defensive event was triggered.
375
+ **/
376
+ | { name: 'Unexpected'; data: PalletBalancesUnexpectedKind };
373
377
 
374
378
  export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
375
379
 
380
+ export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
381
+
376
382
  /**
377
383
  * The `Event` enum of this pallet
378
384
  **/
@@ -438,6 +444,11 @@ export type PalletSessionEvent =
438
444
  * block number as the type might suggest.
439
445
  **/
440
446
  | { name: 'NewSession'; data: { sessionIndex: number } }
447
+ /**
448
+ * The `NewSession` event in the current block also implies a new validator set to be
449
+ * queued.
450
+ **/
451
+ | { name: 'NewQueued' }
441
452
  /**
442
453
  * Validator has been disabled.
443
454
  **/
@@ -671,8 +682,10 @@ export type PalletXcmEvent =
671
682
 
672
683
  export type StagingXcmV5TraitsOutcome =
673
684
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
674
- | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
675
- | { type: 'Error'; value: { error: XcmV5TraitsError } };
685
+ | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: StagingXcmV5TraitsInstructionError } }
686
+ | { type: 'Error'; value: StagingXcmV5TraitsInstructionError };
687
+
688
+ export type StagingXcmV5TraitsInstructionError = { index: number; error: XcmV5TraitsError };
676
689
 
677
690
  export type XcmV5TraitsError =
678
691
  | { type: 'Overflow' }
@@ -1355,6 +1368,18 @@ export type PalletProxyEvent =
1355
1368
  disambiguationIndex: number;
1356
1369
  };
1357
1370
  }
1371
+ /**
1372
+ * A pure proxy was killed by its spawner.
1373
+ **/
1374
+ | {
1375
+ name: 'PureKilled';
1376
+ data: {
1377
+ pure: AccountId32;
1378
+ spawner: AccountId32;
1379
+ proxyType: PeoplePaseoRuntimeProxyType;
1380
+ disambiguationIndex: number;
1381
+ };
1382
+ }
1358
1383
  /**
1359
1384
  * An announcement was placed to make a call in the future.
1360
1385
  **/
@@ -1757,88 +1782,43 @@ export type FrameSystemError =
1757
1782
  **/
1758
1783
  | 'Unauthorized';
1759
1784
 
1760
- export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
1761
- usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
1762
- paraHeadHash?: H256 | undefined;
1763
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
1764
- };
1765
-
1766
- export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
1767
- umpMsgCount: number;
1768
- umpTotalBytes: number;
1769
- hrmpOutgoing: Array<
1770
- [PolkadotParachainPrimitivesPrimitivesId, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate]
1771
- >;
1772
- };
1773
-
1774
- export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
1775
-
1776
- export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
1777
-
1778
- export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
1779
- usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
1780
- hrmpWatermark?: number | undefined;
1781
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
1782
- };
1783
-
1784
- export type PolkadotPrimitivesV8PersistedValidationData = {
1785
- parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
1786
- relayParentNumber: number;
1787
- relayParentStorageRoot: H256;
1788
- maxPovSize: number;
1789
- };
1790
-
1791
- export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
1792
-
1793
- export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
1794
-
1795
- export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
1796
-
1797
- export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
1798
- dmqMqcHead: H256;
1799
- relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
1800
- ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
1801
- egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
1802
- };
1803
-
1804
- export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
1805
- remainingCount: number;
1806
- remainingSize: number;
1807
- };
1808
-
1809
- export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
1810
- maxCapacity: number;
1811
- maxTotalSize: number;
1812
- maxMessageSize: number;
1813
- msgCount: number;
1814
- totalSize: number;
1815
- mqcHead?: H256 | undefined;
1816
- };
1817
-
1818
- export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
1819
- maxCodeSize: number;
1820
- maxHeadDataSize: number;
1821
- maxUpwardQueueCount: number;
1822
- maxUpwardQueueSize: number;
1823
- maxUpwardMessageSize: number;
1824
- maxUpwardMessageNumPerCandidate: number;
1825
- hrmpMaxMessageNumPerCandidate: number;
1826
- validationUpgradeCooldown: number;
1827
- validationUpgradeDelay: number;
1828
- asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
1829
- };
1830
-
1831
- export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
1832
- maxCandidateDepth: number;
1833
- allowedAncestryLen: number;
1834
- };
1835
-
1836
- export type CumulusPrimitivesParachainInherentMessageQueueChain = H256;
1785
+ export type PeoplePaseoRuntimeRuntimeCall =
1786
+ | { pallet: 'System'; palletCall: FrameSystemCall }
1787
+ | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCall }
1788
+ | { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
1789
+ | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
1790
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
1791
+ | { pallet: 'Balances'; palletCall: PalletBalancesCall }
1792
+ | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
1793
+ | { pallet: 'Session'; palletCall: PalletSessionCall }
1794
+ | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
1795
+ | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
1796
+ | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
1797
+ | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
1798
+ | { pallet: 'Utility'; palletCall: PalletUtilityCall }
1799
+ | { pallet: 'Multisig'; palletCall: PalletMultisigCall }
1800
+ | { pallet: 'Proxy'; palletCall: PalletProxyCall }
1801
+ | { pallet: 'Identity'; palletCall: PalletIdentityCall }
1802
+ | { pallet: 'Sudo'; palletCall: PalletSudoCall };
1837
1803
 
1838
- export type PolkadotCorePrimitivesOutboundHrmpMessage = {
1839
- recipient: PolkadotParachainPrimitivesPrimitivesId;
1840
- data: Bytes;
1841
- };
1804
+ export type PeoplePaseoRuntimeRuntimeCallLike =
1805
+ | { pallet: 'System'; palletCall: FrameSystemCallLike }
1806
+ | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCallLike }
1807
+ | { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
1808
+ | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCallLike }
1809
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
1810
+ | { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
1811
+ | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
1812
+ | { pallet: 'Session'; palletCall: PalletSessionCallLike }
1813
+ | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCallLike }
1814
+ | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
1815
+ | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
1816
+ | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
1817
+ | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
1818
+ | { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
1819
+ | { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
1820
+ | { pallet: 'Identity'; palletCall: PalletIdentityCallLike }
1821
+ | { pallet: 'Sudo'; palletCall: PalletSudoCallLike };
1842
1822
 
1843
1823
  /**
1844
1824
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -1855,7 +1835,13 @@ export type CumulusPalletParachainSystemCall =
1855
1835
  * As a side effect, this function upgrades the current validation function
1856
1836
  * if the appropriate time has come.
1857
1837
  **/
1858
- | { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
1838
+ | {
1839
+ name: 'SetValidationData';
1840
+ params: {
1841
+ data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
1842
+ inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
1843
+ };
1844
+ }
1859
1845
  | { name: 'SudoSendUpwardMessage'; params: { message: Bytes } };
1860
1846
 
1861
1847
  export type CumulusPalletParachainSystemCallLike =
@@ -1870,49 +1856,53 @@ export type CumulusPalletParachainSystemCallLike =
1870
1856
  * As a side effect, this function upgrades the current validation function
1871
1857
  * if the appropriate time has come.
1872
1858
  **/
1873
- | { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
1859
+ | {
1860
+ name: 'SetValidationData';
1861
+ params: {
1862
+ data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
1863
+ inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
1864
+ };
1865
+ }
1874
1866
  | { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
1875
1867
 
1876
- export type CumulusPrimitivesParachainInherentParachainInherentData = {
1868
+ export type CumulusPalletParachainSystemParachainInherentBasicParachainInherentData = {
1877
1869
  validationData: PolkadotPrimitivesV8PersistedValidationData;
1878
1870
  relayChainState: SpTrieStorageProof;
1879
- downwardMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
1880
- horizontalMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<PolkadotCorePrimitivesInboundHrmpMessage>]>;
1871
+ relayParentDescendants: Array<Header>;
1872
+ collatorPeerId?: Bytes | undefined;
1873
+ };
1874
+
1875
+ export type PolkadotPrimitivesV8PersistedValidationData = {
1876
+ parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
1877
+ relayParentNumber: number;
1878
+ relayParentStorageRoot: H256;
1879
+ maxPovSize: number;
1880
+ };
1881
+
1882
+ export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
1883
+
1884
+ export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
1885
+
1886
+ export type CumulusPalletParachainSystemParachainInherentInboundMessagesData = {
1887
+ downwardMessages: CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection;
1888
+ horizontalMessages: CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection002;
1889
+ };
1890
+
1891
+ export type CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection = {
1892
+ fullMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
1893
+ hashedMessages: Array<CumulusPrimitivesParachainInherentHashedMessage>;
1881
1894
  };
1882
1895
 
1883
1896
  export type PolkadotCorePrimitivesInboundDownwardMessage = { sentAt: number; msg: Bytes };
1884
1897
 
1885
- export type PolkadotCorePrimitivesInboundHrmpMessage = { sentAt: number; data: Bytes };
1898
+ export type CumulusPrimitivesParachainInherentHashedMessage = { sentAt: number; msgHash: H256 };
1886
1899
 
1887
- /**
1888
- * The `Error` enum of this pallet.
1889
- **/
1890
- export type CumulusPalletParachainSystemError =
1891
- /**
1892
- * Attempt to upgrade validation function while existing upgrade pending.
1893
- **/
1894
- | 'OverlappingUpgrades'
1895
- /**
1896
- * Polkadot currently prohibits this parachain from upgrading its validation function.
1897
- **/
1898
- | 'ProhibitedByPolkadot'
1899
- /**
1900
- * The supplied validation function has compiled into a blob larger than Polkadot is
1901
- * willing to run.
1902
- **/
1903
- | 'TooBig'
1904
- /**
1905
- * The inherent which supplies the validation data did not run this block.
1906
- **/
1907
- | 'ValidationDataNotAvailable'
1908
- /**
1909
- * The inherent which supplies the host configuration did not run this block.
1910
- **/
1911
- | 'HostConfigurationNotAvailable'
1912
- /**
1913
- * No validation function upgrade is currently scheduled.
1914
- **/
1915
- | 'NotScheduled';
1900
+ export type CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection002 = {
1901
+ fullMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotCorePrimitivesInboundHrmpMessage]>;
1902
+ hashedMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentHashedMessage]>;
1903
+ };
1904
+
1905
+ export type PolkadotCorePrimitivesInboundHrmpMessage = { sentAt: number; data: Bytes };
1916
1906
 
1917
1907
  /**
1918
1908
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -1972,12 +1962,6 @@ export type StagingParachainInfoCall = null;
1972
1962
 
1973
1963
  export type StagingParachainInfoCallLike = null;
1974
1964
 
1975
- export type PalletMigrationsMigrationCursor =
1976
- | { type: 'Active'; value: PalletMigrationsActiveCursor }
1977
- | { type: 'Stuck' };
1978
-
1979
- export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
1980
-
1981
1965
  /**
1982
1966
  * Contains a variant per dispatchable extrinsic that this pallet has.
1983
1967
  **/
@@ -2055,33 +2039,16 @@ export type PalletMigrationsCallLike =
2055
2039
  **/
2056
2040
  | { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
2057
2041
 
2042
+ export type PalletMigrationsMigrationCursor =
2043
+ | { type: 'Active'; value: PalletMigrationsActiveCursor }
2044
+ | { type: 'Stuck' };
2045
+
2046
+ export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
2047
+
2058
2048
  export type PalletMigrationsHistoricCleanupSelector =
2059
2049
  | { type: 'Specific'; value: Array<Bytes> }
2060
2050
  | { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
2061
2051
 
2062
- /**
2063
- * The `Error` enum of this pallet.
2064
- **/
2065
- export type PalletMigrationsError =
2066
- /**
2067
- * The operation cannot complete since some MBMs are ongoing.
2068
- **/
2069
- 'Ongoing';
2070
-
2071
- export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
2072
-
2073
- export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
2074
-
2075
- export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
2076
-
2077
- export type FrameSupportTokensMiscIdAmount = { id: PeoplePaseoRuntimeRuntimeHoldReason; amount: bigint };
2078
-
2079
- export type PeoplePaseoRuntimeRuntimeHoldReason = { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
2080
-
2081
- export type PalletXcmHoldReason = 'AuthorizeAlias';
2082
-
2083
- export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
2084
-
2085
2052
  /**
2086
2053
  * Contains a variant per dispatchable extrinsic that this pallet has.
2087
2054
  **/
@@ -2258,90 +2225,33 @@ export type PalletBalancesCallLike =
2258
2225
  export type PalletBalancesAdjustmentDirection = 'Increase' | 'Decrease';
2259
2226
 
2260
2227
  /**
2261
- * The `Error` enum of this pallet.
2228
+ * Contains a variant per dispatchable extrinsic that this pallet has.
2262
2229
  **/
2263
- export type PalletBalancesError =
2230
+ export type PalletCollatorSelectionCall =
2264
2231
  /**
2265
- * Vesting balance too high to send value.
2232
+ * Set the list of invulnerable (fixed) collators. These collators must do some
2233
+ * preparation, namely to have registered session keys.
2234
+ *
2235
+ * The call will remove any accounts that have not registered keys from the set. That is,
2236
+ * it is non-atomic; the caller accepts all `AccountId`s passed in `new` _individually_ as
2237
+ * acceptable Invulnerables, and is not proposing a _set_ of new Invulnerables.
2238
+ *
2239
+ * This call does not maintain mutual exclusivity of `Invulnerables` and `Candidates`. It
2240
+ * is recommended to use a batch of `add_invulnerable` and `remove_invulnerable` instead. A
2241
+ * `batch_all` can also be used to enforce atomicity. If any candidates are included in
2242
+ * `new`, they should be removed with `remove_invulnerable_candidate` after execution.
2243
+ *
2244
+ * Must be called by the `UpdateOrigin`.
2266
2245
  **/
2267
- | 'VestingBalance'
2246
+ | { name: 'SetInvulnerables'; params: { new: Array<AccountId32> } }
2268
2247
  /**
2269
- * Account liquidity restrictions prevent withdrawal.
2248
+ * Set the ideal number of non-invulnerable collators. If lowering this number, then the
2249
+ * number of running collators could be higher than this figure. Aside from that edge case,
2250
+ * there should be no other way to have more candidates than the desired number.
2251
+ *
2252
+ * The origin for this call must be the `UpdateOrigin`.
2270
2253
  **/
2271
- | 'LiquidityRestrictions'
2272
- /**
2273
- * Balance too low to send value.
2274
- **/
2275
- | 'InsufficientBalance'
2276
- /**
2277
- * Value too low to create account due to existential deposit.
2278
- **/
2279
- | 'ExistentialDeposit'
2280
- /**
2281
- * Transfer/payment would kill account.
2282
- **/
2283
- | 'Expendability'
2284
- /**
2285
- * A vesting schedule already exists for this account.
2286
- **/
2287
- | 'ExistingVestingSchedule'
2288
- /**
2289
- * Beneficiary account must pre-exist.
2290
- **/
2291
- | 'DeadAccount'
2292
- /**
2293
- * Number of named reserves exceed `MaxReserves`.
2294
- **/
2295
- | 'TooManyReserves'
2296
- /**
2297
- * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
2298
- **/
2299
- | 'TooManyHolds'
2300
- /**
2301
- * Number of freezes exceed `MaxFreezes`.
2302
- **/
2303
- | 'TooManyFreezes'
2304
- /**
2305
- * The issuance cannot be modified since it is already deactivated.
2306
- **/
2307
- | 'IssuanceDeactivated'
2308
- /**
2309
- * The delta cannot be zero.
2310
- **/
2311
- | 'DeltaZero';
2312
-
2313
- export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
2314
-
2315
- export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
2316
-
2317
- /**
2318
- * Contains a variant per dispatchable extrinsic that this pallet has.
2319
- **/
2320
- export type PalletCollatorSelectionCall =
2321
- /**
2322
- * Set the list of invulnerable (fixed) collators. These collators must do some
2323
- * preparation, namely to have registered session keys.
2324
- *
2325
- * The call will remove any accounts that have not registered keys from the set. That is,
2326
- * it is non-atomic; the caller accepts all `AccountId`s passed in `new` _individually_ as
2327
- * acceptable Invulnerables, and is not proposing a _set_ of new Invulnerables.
2328
- *
2329
- * This call does not maintain mutual exclusivity of `Invulnerables` and `Candidates`. It
2330
- * is recommended to use a batch of `add_invulnerable` and `remove_invulnerable` instead. A
2331
- * `batch_all` can also be used to enforce atomicity. If any candidates are included in
2332
- * `new`, they should be removed with `remove_invulnerable_candidate` after execution.
2333
- *
2334
- * Must be called by the `UpdateOrigin`.
2335
- **/
2336
- | { name: 'SetInvulnerables'; params: { new: Array<AccountId32> } }
2337
- /**
2338
- * Set the ideal number of non-invulnerable collators. If lowering this number, then the
2339
- * number of running collators could be higher than this figure. Aside from that edge case,
2340
- * there should be no other way to have more candidates than the desired number.
2341
- *
2342
- * The origin for this call must be the `UpdateOrigin`.
2343
- **/
2344
- | { name: 'SetDesiredCandidates'; params: { max: number } }
2254
+ | { name: 'SetDesiredCandidates'; params: { max: number } }
2345
2255
  /**
2346
2256
  * Set the candidacy bond amount.
2347
2257
  *
@@ -2487,89 +2397,6 @@ export type PalletCollatorSelectionCallLike =
2487
2397
  **/
2488
2398
  | { name: 'TakeCandidateSlot'; params: { deposit: bigint; target: AccountId32Like } };
2489
2399
 
2490
- export type FrameSupportPalletId = FixedBytes<8>;
2491
-
2492
- /**
2493
- * The `Error` enum of this pallet.
2494
- **/
2495
- export type PalletCollatorSelectionError =
2496
- /**
2497
- * The pallet has too many candidates.
2498
- **/
2499
- | 'TooManyCandidates'
2500
- /**
2501
- * Leaving would result in too few candidates.
2502
- **/
2503
- | 'TooFewEligibleCollators'
2504
- /**
2505
- * Account is already a candidate.
2506
- **/
2507
- | 'AlreadyCandidate'
2508
- /**
2509
- * Account is not a candidate.
2510
- **/
2511
- | 'NotCandidate'
2512
- /**
2513
- * There are too many Invulnerables.
2514
- **/
2515
- | 'TooManyInvulnerables'
2516
- /**
2517
- * Account is already an Invulnerable.
2518
- **/
2519
- | 'AlreadyInvulnerable'
2520
- /**
2521
- * Account is not an Invulnerable.
2522
- **/
2523
- | 'NotInvulnerable'
2524
- /**
2525
- * Account has no associated validator ID.
2526
- **/
2527
- | 'NoAssociatedValidatorId'
2528
- /**
2529
- * Validator ID is not yet registered.
2530
- **/
2531
- | 'ValidatorNotRegistered'
2532
- /**
2533
- * Could not insert in the candidate list.
2534
- **/
2535
- | 'InsertToCandidateListFailed'
2536
- /**
2537
- * Could not remove from the candidate list.
2538
- **/
2539
- | 'RemoveFromCandidateListFailed'
2540
- /**
2541
- * New deposit amount would be below the minimum candidacy bond.
2542
- **/
2543
- | 'DepositTooLow'
2544
- /**
2545
- * Could not update the candidate list.
2546
- **/
2547
- | 'UpdateCandidateListFailed'
2548
- /**
2549
- * Deposit amount is too low to take the target's slot in the candidate list.
2550
- **/
2551
- | 'InsufficientBond'
2552
- /**
2553
- * The target account to be replaced in the candidate list is not a candidate.
2554
- **/
2555
- | 'TargetIsNotCandidate'
2556
- /**
2557
- * The updated deposit amount is equal to the amount already reserved.
2558
- **/
2559
- | 'IdenticalDeposit'
2560
- /**
2561
- * Cannot lower candidacy bond while occupying a future collator slot in the list.
2562
- **/
2563
- | 'InvalidUnreserve';
2564
-
2565
- export type PeoplePaseoRuntimeSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
2566
-
2567
- export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
2568
-
2569
- export type SpStakingOffenceOffenceSeverity = Perbill;
2570
-
2571
- export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
2572
-
2573
2400
  /**
2574
2401
  * Contains a variant per dispatchable extrinsic that this pallet has.
2575
2402
  **/
@@ -2631,48 +2458,9 @@ export type PalletSessionCallLike =
2631
2458
  **/
2632
2459
  | { name: 'PurgeKeys' };
2633
2460
 
2634
- /**
2635
- * Error for the session pallet.
2636
- **/
2637
- export type PalletSessionError =
2638
- /**
2639
- * Invalid ownership proof.
2640
- **/
2641
- | 'InvalidProof'
2642
- /**
2643
- * No associated validator ID for account.
2644
- **/
2645
- | 'NoAssociatedValidatorId'
2646
- /**
2647
- * Registered duplicate key.
2648
- **/
2649
- | 'DuplicatedKey'
2650
- /**
2651
- * No keys are associated with this account.
2652
- **/
2653
- | 'NoKeys'
2654
- /**
2655
- * Key setting account is not live, so it's impossible to associate keys.
2656
- **/
2657
- | 'NoAccount';
2658
-
2659
- export type SpConsensusSlotsSlot = bigint;
2660
-
2661
- export type CumulusPalletXcmpQueueOutboundChannelDetails = {
2662
- recipient: PolkadotParachainPrimitivesPrimitivesId;
2663
- state: CumulusPalletXcmpQueueOutboundState;
2664
- signalsExist: boolean;
2665
- firstIndex: number;
2666
- lastIndex: number;
2667
- };
2668
-
2669
- export type CumulusPalletXcmpQueueOutboundState = 'Ok' | 'Suspended';
2461
+ export type PeoplePaseoRuntimeSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
2670
2462
 
2671
- export type CumulusPalletXcmpQueueQueueConfigData = {
2672
- suspendThreshold: number;
2673
- dropThreshold: number;
2674
- resumeThreshold: number;
2675
- };
2463
+ export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
2676
2464
 
2677
2465
  /**
2678
2466
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -2758,188 +2546,37 @@ export type CumulusPalletXcmpQueueCallLike =
2758
2546
  | { name: 'UpdateResumeThreshold'; params: { new: number } };
2759
2547
 
2760
2548
  /**
2761
- * The `Error` enum of this pallet.
2549
+ * Contains a variant per dispatchable extrinsic that this pallet has.
2762
2550
  **/
2763
- export type CumulusPalletXcmpQueueError =
2764
- /**
2765
- * Setting the queue config failed since one of its values was invalid.
2766
- **/
2767
- | 'BadQueueConfig'
2768
- /**
2769
- * The execution is already suspended.
2770
- **/
2771
- | 'AlreadySuspended'
2772
- /**
2773
- * The execution is already resumed.
2774
- **/
2775
- | 'AlreadyResumed'
2776
- /**
2777
- * There are too many active outbound channels.
2778
- **/
2779
- | 'TooManyActiveOutboundChannels'
2551
+ export type PalletXcmCall =
2552
+ | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
2780
2553
  /**
2781
- * The message is too big.
2554
+ * Teleport some assets from the local chain to some destination chain.
2555
+ *
2556
+ * **This function is deprecated: Use `limited_teleport_assets` instead.**
2557
+ *
2558
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
2559
+ * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
2560
+ * with all fees taken as needed from the asset.
2561
+ *
2562
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
2563
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
2564
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
2565
+ * relay to parachain.
2566
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
2567
+ * generally be an `AccountId32` value.
2568
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
2569
+ * fee on the `dest` chain.
2570
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
2571
+ * fees.
2782
2572
  **/
2783
- | 'TooBig';
2784
-
2785
- export type PalletXcmQueryStatus =
2786
2573
  | {
2787
- type: 'Pending';
2788
- value: {
2789
- responder: XcmVersionedLocation;
2790
- maybeMatchQuerier?: XcmVersionedLocation | undefined;
2791
- maybeNotify?: [number, number] | undefined;
2792
- timeout: number;
2793
- };
2794
- }
2795
- | { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
2796
- | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
2797
-
2798
- export type XcmVersionedResponse =
2799
- | { type: 'V3'; value: XcmV3Response }
2800
- | { type: 'V4'; value: StagingXcmV4Response }
2801
- | { type: 'V5'; value: StagingXcmV5Response };
2802
-
2803
- export type XcmV3Response =
2804
- | { type: 'Null' }
2805
- | { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
2806
- | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
2807
- | { type: 'Version'; value: number }
2808
- | { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
2809
- | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
2810
-
2811
- export type XcmV3TraitsError =
2812
- | { type: 'Overflow' }
2813
- | { type: 'Unimplemented' }
2814
- | { type: 'UntrustedReserveLocation' }
2815
- | { type: 'UntrustedTeleportLocation' }
2816
- | { type: 'LocationFull' }
2817
- | { type: 'LocationNotInvertible' }
2818
- | { type: 'BadOrigin' }
2819
- | { type: 'InvalidLocation' }
2820
- | { type: 'AssetNotFound' }
2821
- | { type: 'FailedToTransactAsset' }
2822
- | { type: 'NotWithdrawable' }
2823
- | { type: 'LocationCannotHold' }
2824
- | { type: 'ExceedsMaxMessageSize' }
2825
- | { type: 'DestinationUnsupported' }
2826
- | { type: 'Transport' }
2827
- | { type: 'Unroutable' }
2828
- | { type: 'UnknownClaim' }
2829
- | { type: 'FailedToDecode' }
2830
- | { type: 'MaxWeightInvalid' }
2831
- | { type: 'NotHoldingFees' }
2832
- | { type: 'TooExpensive' }
2833
- | { type: 'Trap'; value: bigint }
2834
- | { type: 'ExpectationFalse' }
2835
- | { type: 'PalletNotFound' }
2836
- | { type: 'NameMismatch' }
2837
- | { type: 'VersionIncompatible' }
2838
- | { type: 'HoldingWouldOverflow' }
2839
- | { type: 'ExportError' }
2840
- | { type: 'ReanchorFailed' }
2841
- | { type: 'NoDeal' }
2842
- | { type: 'FeesNotMet' }
2843
- | { type: 'LockError' }
2844
- | { type: 'NoPermission' }
2845
- | { type: 'Unanchored' }
2846
- | { type: 'NotDepositable' }
2847
- | { type: 'UnhandledXcmVersion' }
2848
- | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
2849
- | { type: 'Barrier' }
2850
- | { type: 'WeightNotComputable' }
2851
- | { type: 'ExceedsStackLimit' };
2852
-
2853
- export type XcmV3PalletInfo = {
2854
- index: number;
2855
- name: Bytes;
2856
- moduleName: Bytes;
2857
- major: number;
2858
- minor: number;
2859
- patch: number;
2860
- };
2861
-
2862
- export type StagingXcmV4Response =
2863
- | { type: 'Null' }
2864
- | { type: 'Assets'; value: StagingXcmV4AssetAssets }
2865
- | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
2866
- | { type: 'Version'; value: number }
2867
- | { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
2868
- | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
2869
-
2870
- export type StagingXcmV4PalletInfo = {
2871
- index: number;
2872
- name: Bytes;
2873
- moduleName: Bytes;
2874
- major: number;
2875
- minor: number;
2876
- patch: number;
2877
- };
2878
-
2879
- export type PalletXcmVersionMigrationStage =
2880
- | { type: 'MigrateSupportedVersion' }
2881
- | { type: 'MigrateVersionNotifiers' }
2882
- | { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
2883
- | { type: 'MigrateAndNotifyOldTargets' };
2884
-
2885
- export type XcmVersionedAssetId =
2886
- | { type: 'V3'; value: XcmV3MultiassetAssetId }
2887
- | { type: 'V4'; value: StagingXcmV4AssetAssetId }
2888
- | { type: 'V5'; value: StagingXcmV5AssetAssetId };
2889
-
2890
- export type PalletXcmRemoteLockedFungibleRecord = {
2891
- amount: bigint;
2892
- owner: XcmVersionedLocation;
2893
- locker: XcmVersionedLocation;
2894
- consumers: Array<[[], bigint]>;
2895
- };
2896
-
2897
- export type PalletXcmAuthorizedAliasesEntry = {
2898
- aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
2899
- ticket: FrameSupportStorageDisabled;
2900
- };
2901
-
2902
- export type FrameSupportStorageDisabled = {};
2903
-
2904
- export type PalletXcmMaxAuthorizedAliases = {};
2905
-
2906
- export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
2907
- location: XcmVersionedLocation;
2908
- expiry?: bigint | undefined;
2909
- };
2910
-
2911
- /**
2912
- * Contains a variant per dispatchable extrinsic that this pallet has.
2913
- **/
2914
- export type PalletXcmCall =
2915
- | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
2916
- /**
2917
- * Teleport some assets from the local chain to some destination chain.
2918
- *
2919
- * **This function is deprecated: Use `limited_teleport_assets` instead.**
2920
- *
2921
- * Fee payment on the destination side is made from the asset in the `assets` vector of
2922
- * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
2923
- * with all fees taken as needed from the asset.
2924
- *
2925
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
2926
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
2927
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
2928
- * relay to parachain.
2929
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
2930
- * generally be an `AccountId32` value.
2931
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
2932
- * fee on the `dest` chain.
2933
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
2934
- * fees.
2935
- **/
2936
- | {
2937
- name: 'TeleportAssets';
2938
- params: {
2939
- dest: XcmVersionedLocation;
2940
- beneficiary: XcmVersionedLocation;
2941
- assets: XcmVersionedAssets;
2942
- feeAssetItem: number;
2574
+ name: 'TeleportAssets';
2575
+ params: {
2576
+ dest: XcmVersionedLocation;
2577
+ beneficiary: XcmVersionedLocation;
2578
+ assets: XcmVersionedAssets;
2579
+ feeAssetItem: number;
2943
2580
  };
2944
2581
  }
2945
2582
  /**
@@ -3691,6 +3328,65 @@ export type XcmV3Instruction =
3691
3328
  value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV3MultilocationMultiLocation | undefined };
3692
3329
  };
3693
3330
 
3331
+ export type XcmV3Response =
3332
+ | { type: 'Null' }
3333
+ | { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
3334
+ | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
3335
+ | { type: 'Version'; value: number }
3336
+ | { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
3337
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
3338
+
3339
+ export type XcmV3TraitsError =
3340
+ | { type: 'Overflow' }
3341
+ | { type: 'Unimplemented' }
3342
+ | { type: 'UntrustedReserveLocation' }
3343
+ | { type: 'UntrustedTeleportLocation' }
3344
+ | { type: 'LocationFull' }
3345
+ | { type: 'LocationNotInvertible' }
3346
+ | { type: 'BadOrigin' }
3347
+ | { type: 'InvalidLocation' }
3348
+ | { type: 'AssetNotFound' }
3349
+ | { type: 'FailedToTransactAsset' }
3350
+ | { type: 'NotWithdrawable' }
3351
+ | { type: 'LocationCannotHold' }
3352
+ | { type: 'ExceedsMaxMessageSize' }
3353
+ | { type: 'DestinationUnsupported' }
3354
+ | { type: 'Transport' }
3355
+ | { type: 'Unroutable' }
3356
+ | { type: 'UnknownClaim' }
3357
+ | { type: 'FailedToDecode' }
3358
+ | { type: 'MaxWeightInvalid' }
3359
+ | { type: 'NotHoldingFees' }
3360
+ | { type: 'TooExpensive' }
3361
+ | { type: 'Trap'; value: bigint }
3362
+ | { type: 'ExpectationFalse' }
3363
+ | { type: 'PalletNotFound' }
3364
+ | { type: 'NameMismatch' }
3365
+ | { type: 'VersionIncompatible' }
3366
+ | { type: 'HoldingWouldOverflow' }
3367
+ | { type: 'ExportError' }
3368
+ | { type: 'ReanchorFailed' }
3369
+ | { type: 'NoDeal' }
3370
+ | { type: 'FeesNotMet' }
3371
+ | { type: 'LockError' }
3372
+ | { type: 'NoPermission' }
3373
+ | { type: 'Unanchored' }
3374
+ | { type: 'NotDepositable' }
3375
+ | { type: 'UnhandledXcmVersion' }
3376
+ | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
3377
+ | { type: 'Barrier' }
3378
+ | { type: 'WeightNotComputable' }
3379
+ | { type: 'ExceedsStackLimit' };
3380
+
3381
+ export type XcmV3PalletInfo = {
3382
+ index: number;
3383
+ name: Bytes;
3384
+ moduleName: Bytes;
3385
+ major: number;
3386
+ minor: number;
3387
+ patch: number;
3388
+ };
3389
+
3694
3390
  export type XcmV3QueryResponseInfo = {
3695
3391
  destination: StagingXcmV3MultilocationMultiLocation;
3696
3392
  queryId: bigint;
@@ -3799,6 +3495,23 @@ export type StagingXcmV4Instruction =
3799
3495
  value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
3800
3496
  };
3801
3497
 
3498
+ export type StagingXcmV4Response =
3499
+ | { type: 'Null' }
3500
+ | { type: 'Assets'; value: StagingXcmV4AssetAssets }
3501
+ | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
3502
+ | { type: 'Version'; value: number }
3503
+ | { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
3504
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
3505
+
3506
+ export type StagingXcmV4PalletInfo = {
3507
+ index: number;
3508
+ name: Bytes;
3509
+ moduleName: Bytes;
3510
+ major: number;
3511
+ minor: number;
3512
+ patch: number;
3513
+ };
3514
+
3802
3515
  export type StagingXcmV4QueryResponseInfo = {
3803
3516
  destination: StagingXcmV4Location;
3804
3517
  queryId: bigint;
@@ -3826,160 +3539,26 @@ export type StagingXcmExecutorAssetTransferTransferType =
3826
3539
  | { type: 'DestinationReserve' }
3827
3540
  | { type: 'RemoteReserve'; value: XcmVersionedLocation };
3828
3541
 
3542
+ export type XcmVersionedAssetId =
3543
+ | { type: 'V3'; value: XcmV3MultiassetAssetId }
3544
+ | { type: 'V4'; value: StagingXcmV4AssetAssetId }
3545
+ | { type: 'V5'; value: StagingXcmV5AssetAssetId };
3546
+
3829
3547
  /**
3830
- * The `Error` enum of this pallet.
3548
+ * Contains a variant per dispatchable extrinsic that this pallet has.
3831
3549
  **/
3832
- export type PalletXcmError =
3833
- /**
3834
- * The desired destination was unreachable, generally because there is a no way of routing
3835
- * to it.
3836
- **/
3837
- | 'Unreachable'
3838
- /**
3839
- * There was some other issue (i.e. not to do with routing) in sending the message.
3840
- * Perhaps a lack of space for buffering the message.
3841
- **/
3842
- | 'SendFailure'
3843
- /**
3844
- * The message execution fails the filter.
3845
- **/
3846
- | 'Filtered'
3847
- /**
3848
- * The message's weight could not be determined.
3849
- **/
3850
- | 'UnweighableMessage'
3550
+ export type CumulusPalletXcmCall = null;
3551
+
3552
+ export type CumulusPalletXcmCallLike = null;
3553
+
3554
+ /**
3555
+ * Contains a variant per dispatchable extrinsic that this pallet has.
3556
+ **/
3557
+ export type PalletMessageQueueCall =
3851
3558
  /**
3852
- * The destination `Location` provided cannot be inverted.
3559
+ * Remove a page which has no more messages remaining to be processed or is stale.
3853
3560
  **/
3854
- | 'DestinationNotInvertible'
3855
- /**
3856
- * The assets to be sent are empty.
3857
- **/
3858
- | 'Empty'
3859
- /**
3860
- * Could not re-anchor the assets to declare the fees for the destination chain.
3861
- **/
3862
- | 'CannotReanchor'
3863
- /**
3864
- * Too many assets have been attempted for transfer.
3865
- **/
3866
- | 'TooManyAssets'
3867
- /**
3868
- * Origin is invalid for sending.
3869
- **/
3870
- | 'InvalidOrigin'
3871
- /**
3872
- * The version of the `Versioned` value used is not able to be interpreted.
3873
- **/
3874
- | 'BadVersion'
3875
- /**
3876
- * The given location could not be used (e.g. because it cannot be expressed in the
3877
- * desired version of XCM).
3878
- **/
3879
- | 'BadLocation'
3880
- /**
3881
- * The referenced subscription could not be found.
3882
- **/
3883
- | 'NoSubscription'
3884
- /**
3885
- * The location is invalid since it already has a subscription from us.
3886
- **/
3887
- | 'AlreadySubscribed'
3888
- /**
3889
- * Could not check-out the assets for teleportation to the destination chain.
3890
- **/
3891
- | 'CannotCheckOutTeleport'
3892
- /**
3893
- * The owner does not own (all) of the asset that they wish to do the operation on.
3894
- **/
3895
- | 'LowBalance'
3896
- /**
3897
- * The asset owner has too many locks on the asset.
3898
- **/
3899
- | 'TooManyLocks'
3900
- /**
3901
- * The given account is not an identifiable sovereign account for any location.
3902
- **/
3903
- | 'AccountNotSovereign'
3904
- /**
3905
- * The operation required fees to be paid which the initiator could not meet.
3906
- **/
3907
- | 'FeesNotMet'
3908
- /**
3909
- * A remote lock with the corresponding data could not be found.
3910
- **/
3911
- | 'LockNotFound'
3912
- /**
3913
- * The unlock operation cannot succeed because there are still consumers of the lock.
3914
- **/
3915
- | 'InUse'
3916
- /**
3917
- * Invalid asset, reserve chain could not be determined for it.
3918
- **/
3919
- | 'InvalidAssetUnknownReserve'
3920
- /**
3921
- * Invalid asset, do not support remote asset reserves with different fees reserves.
3922
- **/
3923
- | 'InvalidAssetUnsupportedReserve'
3924
- /**
3925
- * Too many assets with different reserve locations have been attempted for transfer.
3926
- **/
3927
- | 'TooManyReserves'
3928
- /**
3929
- * Local XCM execution incomplete.
3930
- **/
3931
- | 'LocalExecutionIncomplete'
3932
- /**
3933
- * Too many locations authorized to alias origin.
3934
- **/
3935
- | 'TooManyAuthorizedAliases'
3936
- /**
3937
- * Expiry block number is in the past.
3938
- **/
3939
- | 'ExpiresInPast'
3940
- /**
3941
- * The alias to remove authorization for was not found.
3942
- **/
3943
- | 'AliasNotFound';
3944
-
3945
- /**
3946
- * Contains a variant per dispatchable extrinsic that this pallet has.
3947
- **/
3948
- export type CumulusPalletXcmCall = null;
3949
-
3950
- export type CumulusPalletXcmCallLike = null;
3951
-
3952
- export type PalletMessageQueueBookState = {
3953
- begin: number;
3954
- end: number;
3955
- count: number;
3956
- readyNeighbours?: PalletMessageQueueNeighbours | undefined;
3957
- messageCount: bigint;
3958
- size: bigint;
3959
- };
3960
-
3961
- export type PalletMessageQueueNeighbours = {
3962
- prev: CumulusPrimitivesCoreAggregateMessageOrigin;
3963
- next: CumulusPrimitivesCoreAggregateMessageOrigin;
3964
- };
3965
-
3966
- export type PalletMessageQueuePage = {
3967
- remaining: number;
3968
- remainingSize: number;
3969
- firstIndex: number;
3970
- first: number;
3971
- last: number;
3972
- heap: Bytes;
3973
- };
3974
-
3975
- /**
3976
- * Contains a variant per dispatchable extrinsic that this pallet has.
3977
- **/
3978
- export type PalletMessageQueueCall =
3979
- /**
3980
- * Remove a page which has no more messages remaining to be processed or is stale.
3981
- **/
3982
- | { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
3561
+ | { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
3983
3562
  /**
3984
3563
  * Execute an overweight message.
3985
3564
  *
@@ -4035,53 +3614,6 @@ export type PalletMessageQueueCallLike =
4035
3614
  };
4036
3615
  };
4037
3616
 
4038
- /**
4039
- * The `Error` enum of this pallet.
4040
- **/
4041
- export type PalletMessageQueueError =
4042
- /**
4043
- * Page is not reapable because it has items remaining to be processed and is not old
4044
- * enough.
4045
- **/
4046
- | 'NotReapable'
4047
- /**
4048
- * Page to be reaped does not exist.
4049
- **/
4050
- | 'NoPage'
4051
- /**
4052
- * The referenced message could not be found.
4053
- **/
4054
- | 'NoMessage'
4055
- /**
4056
- * The message was already processed and cannot be processed again.
4057
- **/
4058
- | 'AlreadyProcessed'
4059
- /**
4060
- * The message is queued for future execution.
4061
- **/
4062
- | 'Queued'
4063
- /**
4064
- * There is temporarily not enough weight to continue servicing messages.
4065
- **/
4066
- | 'InsufficientWeight'
4067
- /**
4068
- * This message is temporarily unprocessable.
4069
- *
4070
- * Such errors are expected, but not guaranteed, to resolve themselves eventually through
4071
- * retrying.
4072
- **/
4073
- | 'TemporarilyUnprocessable'
4074
- /**
4075
- * The queue is paused and no message can be executed from it.
4076
- *
4077
- * This can change at any time and may resolve in the future by re-trying.
4078
- **/
4079
- | 'QueuePaused'
4080
- /**
4081
- * Another call is in progress and needs to finish before this call can happen.
4082
- **/
4083
- | 'RecursiveDisallowed';
4084
-
4085
3617
  /**
4086
3618
  * Contains a variant per dispatchable extrinsic that this pallet has.
4087
3619
  **/
@@ -4340,43 +3872,24 @@ export type PalletUtilityCallLike =
4340
3872
  params: { asOrigin: PeoplePaseoRuntimeOriginCaller; call: PeoplePaseoRuntimeRuntimeCallLike };
4341
3873
  };
4342
3874
 
4343
- export type PeoplePaseoRuntimeRuntimeCall =
4344
- | { pallet: 'System'; palletCall: FrameSystemCall }
4345
- | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCall }
4346
- | { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
4347
- | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
4348
- | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
4349
- | { pallet: 'Balances'; palletCall: PalletBalancesCall }
4350
- | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
4351
- | { pallet: 'Session'; palletCall: PalletSessionCall }
4352
- | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
4353
- | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
4354
- | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
4355
- | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
4356
- | { pallet: 'Utility'; palletCall: PalletUtilityCall }
4357
- | { pallet: 'Multisig'; palletCall: PalletMultisigCall }
4358
- | { pallet: 'Proxy'; palletCall: PalletProxyCall }
4359
- | { pallet: 'Identity'; palletCall: PalletIdentityCall }
4360
- | { pallet: 'Sudo'; palletCall: PalletSudoCall };
3875
+ export type PeoplePaseoRuntimeOriginCaller =
3876
+ | { type: 'System'; value: FrameSupportDispatchRawOrigin }
3877
+ | { type: 'PolkadotXcm'; value: PalletXcmOrigin }
3878
+ | { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
4361
3879
 
4362
- export type PeoplePaseoRuntimeRuntimeCallLike =
4363
- | { pallet: 'System'; palletCall: FrameSystemCallLike }
4364
- | { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCallLike }
4365
- | { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
4366
- | { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCallLike }
4367
- | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
4368
- | { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
4369
- | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
4370
- | { pallet: 'Session'; palletCall: PalletSessionCallLike }
4371
- | { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCallLike }
4372
- | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
4373
- | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
4374
- | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
4375
- | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
4376
- | { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
4377
- | { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
4378
- | { pallet: 'Identity'; palletCall: PalletIdentityCallLike }
4379
- | { pallet: 'Sudo'; palletCall: PalletSudoCallLike };
3880
+ export type FrameSupportDispatchRawOrigin =
3881
+ | { type: 'Root' }
3882
+ | { type: 'Signed'; value: AccountId32 }
3883
+ | { type: 'None' }
3884
+ | { type: 'Authorized' };
3885
+
3886
+ export type PalletXcmOrigin =
3887
+ | { type: 'Xcm'; value: StagingXcmV5Location }
3888
+ | { type: 'Response'; value: StagingXcmV5Location };
3889
+
3890
+ export type CumulusPalletXcmOrigin =
3891
+ | { type: 'Relay' }
3892
+ | { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
4380
3893
 
4381
3894
  /**
4382
3895
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -4756,7 +4269,7 @@ export type PalletProxyCall =
4756
4269
  *
4757
4270
  * The dispatch origin for this call must be _Signed_.
4758
4271
  *
4759
- * WARNING: This may be called on accounts created by `pure`, however if done, then
4272
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
4760
4273
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
4761
4274
  **/
4762
4275
  | { name: 'RemoveProxies' }
@@ -4788,16 +4301,16 @@ export type PalletProxyCall =
4788
4301
  * inaccessible.
4789
4302
  *
4790
4303
  * Requires a `Signed` origin, and the sender account must have been created by a call to
4791
- * `pure` with corresponding parameters.
4304
+ * `create_pure` with corresponding parameters.
4792
4305
  *
4793
- * - `spawner`: The account that originally called `pure` to create this account.
4794
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
4795
- * - `proxy_type`: The proxy type originally passed to `pure`.
4796
- * - `height`: The height of the chain when the call to `pure` was processed.
4797
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
4306
+ * - `spawner`: The account that originally called `create_pure` to create this account.
4307
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
4308
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
4309
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
4310
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
4798
4311
  *
4799
4312
  * Fails with `NoPermission` in case the caller is not a previously created pure
4800
- * account whose `pure` call has corresponding parameters.
4313
+ * account whose `create_pure` call has corresponding parameters.
4801
4314
  **/
4802
4315
  | {
4803
4316
  name: 'KillPure';
@@ -4937,7 +4450,7 @@ export type PalletProxyCallLike =
4937
4450
  *
4938
4451
  * The dispatch origin for this call must be _Signed_.
4939
4452
  *
4940
- * WARNING: This may be called on accounts created by `pure`, however if done, then
4453
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
4941
4454
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
4942
4455
  **/
4943
4456
  | { name: 'RemoveProxies' }
@@ -4969,16 +4482,16 @@ export type PalletProxyCallLike =
4969
4482
  * inaccessible.
4970
4483
  *
4971
4484
  * Requires a `Signed` origin, and the sender account must have been created by a call to
4972
- * `pure` with corresponding parameters.
4485
+ * `create_pure` with corresponding parameters.
4973
4486
  *
4974
- * - `spawner`: The account that originally called `pure` to create this account.
4975
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
4976
- * - `proxy_type`: The proxy type originally passed to `pure`.
4977
- * - `height`: The height of the chain when the call to `pure` was processed.
4978
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
4487
+ * - `spawner`: The account that originally called `create_pure` to create this account.
4488
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
4489
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
4490
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
4491
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
4979
4492
  *
4980
4493
  * Fails with `NoPermission` in case the caller is not a previously created pure
4981
- * account whose `pure` call has corresponding parameters.
4494
+ * account whose `create_pure` call has corresponding parameters.
4982
4495
  **/
4983
4496
  | {
4984
4497
  name: 'KillPure';
@@ -5478,219 +4991,839 @@ export type PalletIdentityCallLike =
5478
4991
  * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5479
4992
  * sub identity of `sub`.
5480
4993
  **/
5481
- | { name: 'AddSub'; params: { sub: MultiAddressLike; data: Data } }
4994
+ | { name: 'AddSub'; params: { sub: MultiAddressLike; data: Data } }
4995
+ /**
4996
+ * Alter the associated name of the given sub-account.
4997
+ *
4998
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
4999
+ * sub identity of `sub`.
5000
+ **/
5001
+ | { name: 'RenameSub'; params: { sub: MultiAddressLike; data: Data } }
5002
+ /**
5003
+ * Remove the given account from the sender's subs.
5004
+ *
5005
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
5006
+ * to the sender.
5007
+ *
5008
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5009
+ * sub identity of `sub`.
5010
+ **/
5011
+ | { name: 'RemoveSub'; params: { sub: MultiAddressLike } }
5012
+ /**
5013
+ * Remove the sender as a sub-account.
5014
+ *
5015
+ * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
5016
+ * to the sender (*not* the original depositor).
5017
+ *
5018
+ * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5019
+ * super-identity.
5020
+ *
5021
+ * NOTE: This should not normally be used, but is provided in the case that the non-
5022
+ * controller of an account is maliciously registered as a sub-account.
5023
+ **/
5024
+ | { name: 'QuitSub' }
5025
+ /**
5026
+ * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
5027
+ *
5028
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
5029
+ * change the account used to grant usernames, this call can be used with the updated
5030
+ * parameters to overwrite the existing configuration.
5031
+ **/
5032
+ | { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
5033
+ /**
5034
+ * Remove `authority` from the username authorities.
5035
+ **/
5036
+ | { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
5037
+ /**
5038
+ * Set the username for `who`. Must be called by a username authority.
5039
+ *
5040
+ * If `use_allocation` is set, the authority must have a username allocation available to
5041
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
5042
+ * username.
5043
+ *
5044
+ * Users can either pre-sign their usernames or
5045
+ * accept them later.
5046
+ *
5047
+ * Usernames must:
5048
+ * - Only contain lowercase ASCII characters or digits.
5049
+ * - When combined with the suffix of the issuing authority be _less than_ the
5050
+ * `MaxUsernameLength`.
5051
+ **/
5052
+ | {
5053
+ name: 'SetUsernameFor';
5054
+ params: {
5055
+ who: MultiAddressLike;
5056
+ username: BytesLike;
5057
+ signature?: SpRuntimeMultiSignature | undefined;
5058
+ useAllocation: boolean;
5059
+ };
5060
+ }
5061
+ /**
5062
+ * Accept a given username that an `authority` granted. The call must include the full
5063
+ * username, as in `username.suffix`.
5064
+ **/
5065
+ | { name: 'AcceptUsername'; params: { username: BytesLike } }
5066
+ /**
5067
+ * Remove an expired username approval. The username was approved by an authority but never
5068
+ * accepted by the user and must now be beyond its expiration. The call must include the
5069
+ * full username, as in `username.suffix`.
5070
+ **/
5071
+ | { name: 'RemoveExpiredApproval'; params: { username: BytesLike } }
5072
+ /**
5073
+ * Set a given username as the primary. The username should include the suffix.
5074
+ **/
5075
+ | { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
5076
+ /**
5077
+ * Start the process of removing a username by placing it in the unbinding usernames map.
5078
+ * Once the grace period has passed, the username can be deleted by calling
5079
+ * [remove_username](crate::Call::remove_username).
5080
+ **/
5081
+ | { name: 'UnbindUsername'; params: { username: BytesLike } }
5082
+ /**
5083
+ * Permanently delete a username which has been unbinding for longer than the grace period.
5084
+ * Caller is refunded the fee if the username expired and the removal was successful.
5085
+ **/
5086
+ | { name: 'RemoveUsername'; params: { username: BytesLike } }
5087
+ /**
5088
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
5089
+ * and slashes any deposit associated with it.
5090
+ **/
5091
+ | { name: 'KillUsername'; params: { username: BytesLike } };
5092
+
5093
+ export type PeoplePaseoRuntimePeopleIdentityInfo = {
5094
+ display: Data;
5095
+ legal: Data;
5096
+ web: Data;
5097
+ matrix: Data;
5098
+ email: Data;
5099
+ pgpFingerprint?: FixedBytes<20> | undefined;
5100
+ image: Data;
5101
+ twitter: Data;
5102
+ github: Data;
5103
+ discord: Data;
5104
+ };
5105
+
5106
+ export type PalletIdentityJudgement =
5107
+ | { type: 'Unknown' }
5108
+ | { type: 'FeePaid'; value: bigint }
5109
+ | { type: 'Reasonable' }
5110
+ | { type: 'KnownGood' }
5111
+ | { type: 'OutOfDate' }
5112
+ | { type: 'LowQuality' }
5113
+ | { type: 'Erroneous' };
5114
+
5115
+ export type SpRuntimeMultiSignature =
5116
+ | { type: 'Ed25519'; value: FixedBytes<64> }
5117
+ | { type: 'Sr25519'; value: FixedBytes<64> }
5118
+ | { type: 'Ecdsa'; value: FixedBytes<65> };
5119
+
5120
+ /**
5121
+ * Contains a variant per dispatchable extrinsic that this pallet has.
5122
+ **/
5123
+ export type PalletSudoCall =
5124
+ /**
5125
+ * Authenticates the sudo key and dispatches a function call with `Root` origin.
5126
+ **/
5127
+ | { name: 'Sudo'; params: { call: PeoplePaseoRuntimeRuntimeCall } }
5128
+ /**
5129
+ * Authenticates the sudo key and dispatches a function call with `Root` origin.
5130
+ * This function does not check the weight of the call, and instead allows the
5131
+ * Sudo user to specify the weight of the call.
5132
+ *
5133
+ * The dispatch origin for this call must be _Signed_.
5134
+ **/
5135
+ | { name: 'SudoUncheckedWeight'; params: { call: PeoplePaseoRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
5136
+ /**
5137
+ * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
5138
+ * key.
5139
+ **/
5140
+ | { name: 'SetKey'; params: { new: MultiAddress } }
5141
+ /**
5142
+ * Authenticates the sudo key and dispatches a function call with `Signed` origin from
5143
+ * a given account.
5144
+ *
5145
+ * The dispatch origin for this call must be _Signed_.
5146
+ **/
5147
+ | { name: 'SudoAs'; params: { who: MultiAddress; call: PeoplePaseoRuntimeRuntimeCall } }
5148
+ /**
5149
+ * Permanently removes the sudo key.
5150
+ *
5151
+ * **This cannot be un-done.**
5152
+ **/
5153
+ | { name: 'RemoveKey' };
5154
+
5155
+ export type PalletSudoCallLike =
5156
+ /**
5157
+ * Authenticates the sudo key and dispatches a function call with `Root` origin.
5158
+ **/
5159
+ | { name: 'Sudo'; params: { call: PeoplePaseoRuntimeRuntimeCallLike } }
5160
+ /**
5161
+ * Authenticates the sudo key and dispatches a function call with `Root` origin.
5162
+ * This function does not check the weight of the call, and instead allows the
5163
+ * Sudo user to specify the weight of the call.
5164
+ *
5165
+ * The dispatch origin for this call must be _Signed_.
5166
+ **/
5167
+ | {
5168
+ name: 'SudoUncheckedWeight';
5169
+ params: { call: PeoplePaseoRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight };
5170
+ }
5171
+ /**
5172
+ * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
5173
+ * key.
5174
+ **/
5175
+ | { name: 'SetKey'; params: { new: MultiAddressLike } }
5176
+ /**
5177
+ * Authenticates the sudo key and dispatches a function call with `Signed` origin from
5178
+ * a given account.
5179
+ *
5180
+ * The dispatch origin for this call must be _Signed_.
5181
+ **/
5182
+ | { name: 'SudoAs'; params: { who: MultiAddressLike; call: PeoplePaseoRuntimeRuntimeCallLike } }
5183
+ /**
5184
+ * Permanently removes the sudo key.
5185
+ *
5186
+ * **This cannot be un-done.**
5187
+ **/
5188
+ | { name: 'RemoveKey' };
5189
+
5190
+ export type SpRuntimeBlakeTwo256 = {};
5191
+
5192
+ export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
5193
+
5194
+ export type FrameSystemExtensionsCheckNonZeroSender = {};
5195
+
5196
+ export type FrameSystemExtensionsCheckSpecVersion = {};
5197
+
5198
+ export type FrameSystemExtensionsCheckTxVersion = {};
5199
+
5200
+ export type FrameSystemExtensionsCheckGenesis = {};
5201
+
5202
+ export type FrameSystemExtensionsCheckMortality = Era;
5203
+
5204
+ export type FrameSystemExtensionsCheckNonce = number;
5205
+
5206
+ export type FrameSystemExtensionsCheckWeight = {};
5207
+
5208
+ export type PalletTransactionPaymentChargeTransactionPayment = bigint;
5209
+
5210
+ export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
5211
+
5212
+ export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
5213
+
5214
+ export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
5215
+ usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
5216
+ paraHeadHash?: H256 | undefined;
5217
+ consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
5218
+ };
5219
+
5220
+ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
5221
+ umpMsgCount: number;
5222
+ umpTotalBytes: number;
5223
+ hrmpOutgoing: Array<
5224
+ [PolkadotParachainPrimitivesPrimitivesId, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate]
5225
+ >;
5226
+ };
5227
+
5228
+ export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
5229
+
5230
+ export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
5231
+
5232
+ export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
5233
+ usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
5234
+ hrmpWatermark?: number | undefined;
5235
+ consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
5236
+ };
5237
+
5238
+ export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
5239
+
5240
+ export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
5241
+ dmqMqcHead: H256;
5242
+ relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
5243
+ ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
5244
+ egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
5245
+ };
5246
+
5247
+ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
5248
+ remainingCount: number;
5249
+ remainingSize: number;
5250
+ };
5251
+
5252
+ export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
5253
+ maxCapacity: number;
5254
+ maxTotalSize: number;
5255
+ maxMessageSize: number;
5256
+ msgCount: number;
5257
+ totalSize: number;
5258
+ mqcHead?: H256 | undefined;
5259
+ };
5260
+
5261
+ export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
5262
+ maxCodeSize: number;
5263
+ maxHeadDataSize: number;
5264
+ maxUpwardQueueCount: number;
5265
+ maxUpwardQueueSize: number;
5266
+ maxUpwardMessageSize: number;
5267
+ maxUpwardMessageNumPerCandidate: number;
5268
+ hrmpMaxMessageNumPerCandidate: number;
5269
+ validationUpgradeCooldown: number;
5270
+ validationUpgradeDelay: number;
5271
+ asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
5272
+ };
5273
+
5274
+ export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
5275
+ maxCandidateDepth: number;
5276
+ allowedAncestryLen: number;
5277
+ };
5278
+
5279
+ export type CumulusPrimitivesParachainInherentMessageQueueChain = H256;
5280
+
5281
+ export type CumulusPalletParachainSystemParachainInherentInboundMessageId = { sentAt: number; reverseIdx: number };
5282
+
5283
+ export type PolkadotCorePrimitivesOutboundHrmpMessage = {
5284
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
5285
+ data: Bytes;
5286
+ };
5287
+
5288
+ /**
5289
+ * The `Error` enum of this pallet.
5290
+ **/
5291
+ export type CumulusPalletParachainSystemError =
5292
+ /**
5293
+ * Attempt to upgrade validation function while existing upgrade pending.
5294
+ **/
5295
+ | 'OverlappingUpgrades'
5296
+ /**
5297
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
5298
+ **/
5299
+ | 'ProhibitedByPolkadot'
5300
+ /**
5301
+ * The supplied validation function has compiled into a blob larger than Polkadot is
5302
+ * willing to run.
5303
+ **/
5304
+ | 'TooBig'
5305
+ /**
5306
+ * The inherent which supplies the validation data did not run this block.
5307
+ **/
5308
+ | 'ValidationDataNotAvailable'
5309
+ /**
5310
+ * The inherent which supplies the host configuration did not run this block.
5311
+ **/
5312
+ | 'HostConfigurationNotAvailable'
5313
+ /**
5314
+ * No validation function upgrade is currently scheduled.
5315
+ **/
5316
+ | 'NotScheduled';
5317
+
5318
+ /**
5319
+ * The `Error` enum of this pallet.
5320
+ **/
5321
+ export type PalletMigrationsError =
5322
+ /**
5323
+ * The operation cannot complete since some MBMs are ongoing.
5324
+ **/
5325
+ 'Ongoing';
5326
+
5327
+ export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
5328
+
5329
+ export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
5330
+
5331
+ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
5332
+
5333
+ export type FrameSupportTokensMiscIdAmount = { id: PeoplePaseoRuntimeRuntimeHoldReason; amount: bigint };
5334
+
5335
+ export type PeoplePaseoRuntimeRuntimeHoldReason =
5336
+ | { type: 'Session'; value: PalletSessionHoldReason }
5337
+ | { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
5338
+
5339
+ export type PalletSessionHoldReason = 'Keys';
5340
+
5341
+ export type PalletXcmHoldReason = 'AuthorizeAlias';
5342
+
5343
+ export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
5344
+
5345
+ /**
5346
+ * The `Error` enum of this pallet.
5347
+ **/
5348
+ export type PalletBalancesError =
5349
+ /**
5350
+ * Vesting balance too high to send value.
5351
+ **/
5352
+ | 'VestingBalance'
5353
+ /**
5354
+ * Account liquidity restrictions prevent withdrawal.
5355
+ **/
5356
+ | 'LiquidityRestrictions'
5357
+ /**
5358
+ * Balance too low to send value.
5359
+ **/
5360
+ | 'InsufficientBalance'
5361
+ /**
5362
+ * Value too low to create account due to existential deposit.
5363
+ **/
5364
+ | 'ExistentialDeposit'
5365
+ /**
5366
+ * Transfer/payment would kill account.
5367
+ **/
5368
+ | 'Expendability'
5369
+ /**
5370
+ * A vesting schedule already exists for this account.
5371
+ **/
5372
+ | 'ExistingVestingSchedule'
5373
+ /**
5374
+ * Beneficiary account must pre-exist.
5375
+ **/
5376
+ | 'DeadAccount'
5377
+ /**
5378
+ * Number of named reserves exceed `MaxReserves`.
5379
+ **/
5380
+ | 'TooManyReserves'
5381
+ /**
5382
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
5383
+ **/
5384
+ | 'TooManyHolds'
5385
+ /**
5386
+ * Number of freezes exceed `MaxFreezes`.
5387
+ **/
5388
+ | 'TooManyFreezes'
5389
+ /**
5390
+ * The issuance cannot be modified since it is already deactivated.
5391
+ **/
5392
+ | 'IssuanceDeactivated'
5393
+ /**
5394
+ * The delta cannot be zero.
5395
+ **/
5396
+ | 'DeltaZero';
5397
+
5398
+ export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
5399
+
5400
+ export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
5401
+
5402
+ export type FrameSupportPalletId = FixedBytes<8>;
5403
+
5404
+ /**
5405
+ * The `Error` enum of this pallet.
5406
+ **/
5407
+ export type PalletCollatorSelectionError =
5408
+ /**
5409
+ * The pallet has too many candidates.
5410
+ **/
5411
+ | 'TooManyCandidates'
5412
+ /**
5413
+ * Leaving would result in too few candidates.
5414
+ **/
5415
+ | 'TooFewEligibleCollators'
5416
+ /**
5417
+ * Account is already a candidate.
5418
+ **/
5419
+ | 'AlreadyCandidate'
5420
+ /**
5421
+ * Account is not a candidate.
5422
+ **/
5423
+ | 'NotCandidate'
5424
+ /**
5425
+ * There are too many Invulnerables.
5426
+ **/
5427
+ | 'TooManyInvulnerables'
5428
+ /**
5429
+ * Account is already an Invulnerable.
5430
+ **/
5431
+ | 'AlreadyInvulnerable'
5432
+ /**
5433
+ * Account is not an Invulnerable.
5434
+ **/
5435
+ | 'NotInvulnerable'
5436
+ /**
5437
+ * Account has no associated validator ID.
5438
+ **/
5439
+ | 'NoAssociatedValidatorId'
5440
+ /**
5441
+ * Validator ID is not yet registered.
5442
+ **/
5443
+ | 'ValidatorNotRegistered'
5444
+ /**
5445
+ * Could not insert in the candidate list.
5446
+ **/
5447
+ | 'InsertToCandidateListFailed'
5448
+ /**
5449
+ * Could not remove from the candidate list.
5450
+ **/
5451
+ | 'RemoveFromCandidateListFailed'
5452
+ /**
5453
+ * New deposit amount would be below the minimum candidacy bond.
5454
+ **/
5455
+ | 'DepositTooLow'
5456
+ /**
5457
+ * Could not update the candidate list.
5458
+ **/
5459
+ | 'UpdateCandidateListFailed'
5460
+ /**
5461
+ * Deposit amount is too low to take the target's slot in the candidate list.
5462
+ **/
5463
+ | 'InsufficientBond'
5464
+ /**
5465
+ * The target account to be replaced in the candidate list is not a candidate.
5466
+ **/
5467
+ | 'TargetIsNotCandidate'
5468
+ /**
5469
+ * The updated deposit amount is equal to the amount already reserved.
5470
+ **/
5471
+ | 'IdenticalDeposit'
5472
+ /**
5473
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
5474
+ **/
5475
+ | 'InvalidUnreserve';
5476
+
5477
+ export type SpStakingOffenceOffenceSeverity = Perbill;
5478
+
5479
+ export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
5480
+
5481
+ /**
5482
+ * Error for the session pallet.
5483
+ **/
5484
+ export type PalletSessionError =
5485
+ /**
5486
+ * Invalid ownership proof.
5487
+ **/
5488
+ | 'InvalidProof'
5489
+ /**
5490
+ * No associated validator ID for account.
5491
+ **/
5492
+ | 'NoAssociatedValidatorId'
5493
+ /**
5494
+ * Registered duplicate key.
5495
+ **/
5496
+ | 'DuplicatedKey'
5497
+ /**
5498
+ * No keys are associated with this account.
5499
+ **/
5500
+ | 'NoKeys'
5501
+ /**
5502
+ * Key setting account is not live, so it's impossible to associate keys.
5503
+ **/
5504
+ | 'NoAccount';
5505
+
5506
+ export type SpConsensusSlotsSlot = bigint;
5507
+
5508
+ export type CumulusPalletXcmpQueueOutboundChannelDetails = {
5509
+ recipient: PolkadotParachainPrimitivesPrimitivesId;
5510
+ state: CumulusPalletXcmpQueueOutboundState;
5511
+ signalsExist: boolean;
5512
+ firstIndex: number;
5513
+ lastIndex: number;
5514
+ };
5515
+
5516
+ export type CumulusPalletXcmpQueueOutboundState = 'Ok' | 'Suspended';
5517
+
5518
+ export type CumulusPalletXcmpQueueQueueConfigData = {
5519
+ suspendThreshold: number;
5520
+ dropThreshold: number;
5521
+ resumeThreshold: number;
5522
+ };
5523
+
5524
+ /**
5525
+ * The `Error` enum of this pallet.
5526
+ **/
5527
+ export type CumulusPalletXcmpQueueError =
5528
+ /**
5529
+ * Setting the queue config failed since one of its values was invalid.
5530
+ **/
5531
+ | 'BadQueueConfig'
5532
+ /**
5533
+ * The execution is already suspended.
5534
+ **/
5535
+ | 'AlreadySuspended'
5536
+ /**
5537
+ * The execution is already resumed.
5538
+ **/
5539
+ | 'AlreadyResumed'
5540
+ /**
5541
+ * There are too many active outbound channels.
5542
+ **/
5543
+ | 'TooManyActiveOutboundChannels'
5544
+ /**
5545
+ * The message is too big.
5546
+ **/
5547
+ | 'TooBig';
5548
+
5549
+ export type PalletXcmQueryStatus =
5550
+ | {
5551
+ type: 'Pending';
5552
+ value: {
5553
+ responder: XcmVersionedLocation;
5554
+ maybeMatchQuerier?: XcmVersionedLocation | undefined;
5555
+ maybeNotify?: [number, number] | undefined;
5556
+ timeout: number;
5557
+ };
5558
+ }
5559
+ | { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
5560
+ | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
5561
+
5562
+ export type XcmVersionedResponse =
5563
+ | { type: 'V3'; value: XcmV3Response }
5564
+ | { type: 'V4'; value: StagingXcmV4Response }
5565
+ | { type: 'V5'; value: StagingXcmV5Response };
5566
+
5567
+ export type PalletXcmVersionMigrationStage =
5568
+ | { type: 'MigrateSupportedVersion' }
5569
+ | { type: 'MigrateVersionNotifiers' }
5570
+ | { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
5571
+ | { type: 'MigrateAndNotifyOldTargets' };
5572
+
5573
+ export type PalletXcmRemoteLockedFungibleRecord = {
5574
+ amount: bigint;
5575
+ owner: XcmVersionedLocation;
5576
+ locker: XcmVersionedLocation;
5577
+ consumers: Array<[[], bigint]>;
5578
+ };
5579
+
5580
+ export type PalletXcmAuthorizedAliasesEntry = {
5581
+ aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
5582
+ ticket: FrameSupportTokensFungibleHoldConsideration;
5583
+ };
5584
+
5585
+ export type FrameSupportTokensFungibleHoldConsideration = bigint;
5586
+
5587
+ export type PalletXcmMaxAuthorizedAliases = {};
5588
+
5589
+ export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
5590
+ location: XcmVersionedLocation;
5591
+ expiry?: bigint | undefined;
5592
+ };
5593
+
5594
+ /**
5595
+ * The `Error` enum of this pallet.
5596
+ **/
5597
+ export type PalletXcmError =
5598
+ /**
5599
+ * The desired destination was unreachable, generally because there is a no way of routing
5600
+ * to it.
5601
+ **/
5602
+ | { name: 'Unreachable' }
5603
+ /**
5604
+ * There was some other issue (i.e. not to do with routing) in sending the message.
5605
+ * Perhaps a lack of space for buffering the message.
5606
+ **/
5607
+ | { name: 'SendFailure' }
5608
+ /**
5609
+ * The message execution fails the filter.
5610
+ **/
5611
+ | { name: 'Filtered' }
5612
+ /**
5613
+ * The message's weight could not be determined.
5614
+ **/
5615
+ | { name: 'UnweighableMessage' }
5616
+ /**
5617
+ * The destination `Location` provided cannot be inverted.
5618
+ **/
5619
+ | { name: 'DestinationNotInvertible' }
5620
+ /**
5621
+ * The assets to be sent are empty.
5622
+ **/
5623
+ | { name: 'Empty' }
5624
+ /**
5625
+ * Could not re-anchor the assets to declare the fees for the destination chain.
5626
+ **/
5627
+ | { name: 'CannotReanchor' }
5628
+ /**
5629
+ * Too many assets have been attempted for transfer.
5630
+ **/
5631
+ | { name: 'TooManyAssets' }
5632
+ /**
5633
+ * Origin is invalid for sending.
5634
+ **/
5635
+ | { name: 'InvalidOrigin' }
5636
+ /**
5637
+ * The version of the `Versioned` value used is not able to be interpreted.
5638
+ **/
5639
+ | { name: 'BadVersion' }
5640
+ /**
5641
+ * The given location could not be used (e.g. because it cannot be expressed in the
5642
+ * desired version of XCM).
5643
+ **/
5644
+ | { name: 'BadLocation' }
5645
+ /**
5646
+ * The referenced subscription could not be found.
5647
+ **/
5648
+ | { name: 'NoSubscription' }
5649
+ /**
5650
+ * The location is invalid since it already has a subscription from us.
5651
+ **/
5652
+ | { name: 'AlreadySubscribed' }
5653
+ /**
5654
+ * Could not check-out the assets for teleportation to the destination chain.
5655
+ **/
5656
+ | { name: 'CannotCheckOutTeleport' }
5657
+ /**
5658
+ * The owner does not own (all) of the asset that they wish to do the operation on.
5659
+ **/
5660
+ | { name: 'LowBalance' }
5482
5661
  /**
5483
- * Alter the associated name of the given sub-account.
5484
- *
5485
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5486
- * sub identity of `sub`.
5662
+ * The asset owner has too many locks on the asset.
5487
5663
  **/
5488
- | { name: 'RenameSub'; params: { sub: MultiAddressLike; data: Data } }
5664
+ | { name: 'TooManyLocks' }
5489
5665
  /**
5490
- * Remove the given account from the sender's subs.
5491
- *
5492
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
5493
- * to the sender.
5494
- *
5495
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5496
- * sub identity of `sub`.
5666
+ * The given account is not an identifiable sovereign account for any location.
5497
5667
  **/
5498
- | { name: 'RemoveSub'; params: { sub: MultiAddressLike } }
5668
+ | { name: 'AccountNotSovereign' }
5499
5669
  /**
5500
- * Remove the sender as a sub-account.
5501
- *
5502
- * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated
5503
- * to the sender (*not* the original depositor).
5504
- *
5505
- * The dispatch origin for this call must be _Signed_ and the sender must have a registered
5506
- * super-identity.
5507
- *
5508
- * NOTE: This should not normally be used, but is provided in the case that the non-
5509
- * controller of an account is maliciously registered as a sub-account.
5670
+ * The operation required fees to be paid which the initiator could not meet.
5510
5671
  **/
5511
- | { name: 'QuitSub' }
5672
+ | { name: 'FeesNotMet' }
5512
5673
  /**
5513
- * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
5514
- *
5515
- * The authority can grant up to `allocation` usernames. To top up the allocation or
5516
- * change the account used to grant usernames, this call can be used with the updated
5517
- * parameters to overwrite the existing configuration.
5674
+ * A remote lock with the corresponding data could not be found.
5518
5675
  **/
5519
- | { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
5676
+ | { name: 'LockNotFound' }
5520
5677
  /**
5521
- * Remove `authority` from the username authorities.
5678
+ * The unlock operation cannot succeed because there are still consumers of the lock.
5522
5679
  **/
5523
- | { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
5680
+ | { name: 'InUse' }
5524
5681
  /**
5525
- * Set the username for `who`. Must be called by a username authority.
5526
- *
5527
- * If `use_allocation` is set, the authority must have a username allocation available to
5528
- * spend. Otherwise, the authority will need to put up a deposit for registering the
5529
- * username.
5530
- *
5531
- * Users can either pre-sign their usernames or
5532
- * accept them later.
5533
- *
5534
- * Usernames must:
5535
- * - Only contain lowercase ASCII characters or digits.
5536
- * - When combined with the suffix of the issuing authority be _less than_ the
5537
- * `MaxUsernameLength`.
5682
+ * Invalid asset, reserve chain could not be determined for it.
5538
5683
  **/
5539
- | {
5540
- name: 'SetUsernameFor';
5541
- params: {
5542
- who: MultiAddressLike;
5543
- username: BytesLike;
5544
- signature?: SpRuntimeMultiSignature | undefined;
5545
- useAllocation: boolean;
5546
- };
5547
- }
5684
+ | { name: 'InvalidAssetUnknownReserve' }
5548
5685
  /**
5549
- * Accept a given username that an `authority` granted. The call must include the full
5550
- * username, as in `username.suffix`.
5686
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
5551
5687
  **/
5552
- | { name: 'AcceptUsername'; params: { username: BytesLike } }
5688
+ | { name: 'InvalidAssetUnsupportedReserve' }
5553
5689
  /**
5554
- * Remove an expired username approval. The username was approved by an authority but never
5555
- * accepted by the user and must now be beyond its expiration. The call must include the
5556
- * full username, as in `username.suffix`.
5690
+ * Too many assets with different reserve locations have been attempted for transfer.
5557
5691
  **/
5558
- | { name: 'RemoveExpiredApproval'; params: { username: BytesLike } }
5692
+ | { name: 'TooManyReserves' }
5559
5693
  /**
5560
- * Set a given username as the primary. The username should include the suffix.
5694
+ * Local XCM execution incomplete.
5561
5695
  **/
5562
- | { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
5696
+ | { name: 'LocalExecutionIncomplete' }
5563
5697
  /**
5564
- * Start the process of removing a username by placing it in the unbinding usernames map.
5565
- * Once the grace period has passed, the username can be deleted by calling
5566
- * [remove_username](crate::Call::remove_username).
5698
+ * Too many locations authorized to alias origin.
5567
5699
  **/
5568
- | { name: 'UnbindUsername'; params: { username: BytesLike } }
5700
+ | { name: 'TooManyAuthorizedAliases' }
5569
5701
  /**
5570
- * Permanently delete a username which has been unbinding for longer than the grace period.
5571
- * Caller is refunded the fee if the username expired and the removal was successful.
5702
+ * Expiry block number is in the past.
5572
5703
  **/
5573
- | { name: 'RemoveUsername'; params: { username: BytesLike } }
5704
+ | { name: 'ExpiresInPast' }
5574
5705
  /**
5575
- * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
5576
- * and slashes any deposit associated with it.
5706
+ * The alias to remove authorization for was not found.
5577
5707
  **/
5578
- | { name: 'KillUsername'; params: { username: BytesLike } };
5708
+ | { name: 'AliasNotFound' }
5709
+ /**
5710
+ * Local XCM execution incomplete with the actual XCM error and the index of the
5711
+ * instruction that caused the error.
5712
+ **/
5713
+ | { name: 'LocalExecutionIncompleteWithError'; data: { index: number; error: PalletXcmErrorsExecutionError } };
5579
5714
 
5580
- export type PeoplePaseoRuntimePeopleIdentityInfo = {
5581
- display: Data;
5582
- legal: Data;
5583
- web: Data;
5584
- matrix: Data;
5585
- email: Data;
5586
- pgpFingerprint?: FixedBytes<20> | undefined;
5587
- image: Data;
5588
- twitter: Data;
5589
- github: Data;
5590
- discord: Data;
5715
+ export type PalletXcmErrorsExecutionError =
5716
+ | 'Overflow'
5717
+ | 'Unimplemented'
5718
+ | 'UntrustedReserveLocation'
5719
+ | 'UntrustedTeleportLocation'
5720
+ | 'LocationFull'
5721
+ | 'LocationNotInvertible'
5722
+ | 'BadOrigin'
5723
+ | 'InvalidLocation'
5724
+ | 'AssetNotFound'
5725
+ | 'FailedToTransactAsset'
5726
+ | 'NotWithdrawable'
5727
+ | 'LocationCannotHold'
5728
+ | 'ExceedsMaxMessageSize'
5729
+ | 'DestinationUnsupported'
5730
+ | 'Transport'
5731
+ | 'Unroutable'
5732
+ | 'UnknownClaim'
5733
+ | 'FailedToDecode'
5734
+ | 'MaxWeightInvalid'
5735
+ | 'NotHoldingFees'
5736
+ | 'TooExpensive'
5737
+ | 'Trap'
5738
+ | 'ExpectationFalse'
5739
+ | 'PalletNotFound'
5740
+ | 'NameMismatch'
5741
+ | 'VersionIncompatible'
5742
+ | 'HoldingWouldOverflow'
5743
+ | 'ExportError'
5744
+ | 'ReanchorFailed'
5745
+ | 'NoDeal'
5746
+ | 'FeesNotMet'
5747
+ | 'LockError'
5748
+ | 'NoPermission'
5749
+ | 'Unanchored'
5750
+ | 'NotDepositable'
5751
+ | 'TooManyAssets'
5752
+ | 'UnhandledXcmVersion'
5753
+ | 'WeightLimitReached'
5754
+ | 'Barrier'
5755
+ | 'WeightNotComputable'
5756
+ | 'ExceedsStackLimit';
5757
+
5758
+ export type PalletMessageQueueBookState = {
5759
+ begin: number;
5760
+ end: number;
5761
+ count: number;
5762
+ readyNeighbours?: PalletMessageQueueNeighbours | undefined;
5763
+ messageCount: bigint;
5764
+ size: bigint;
5591
5765
  };
5592
5766
 
5593
- export type PalletIdentityJudgement =
5594
- | { type: 'Unknown' }
5595
- | { type: 'FeePaid'; value: bigint }
5596
- | { type: 'Reasonable' }
5597
- | { type: 'KnownGood' }
5598
- | { type: 'OutOfDate' }
5599
- | { type: 'LowQuality' }
5600
- | { type: 'Erroneous' };
5767
+ export type PalletMessageQueueNeighbours = {
5768
+ prev: CumulusPrimitivesCoreAggregateMessageOrigin;
5769
+ next: CumulusPrimitivesCoreAggregateMessageOrigin;
5770
+ };
5601
5771
 
5602
- export type SpRuntimeMultiSignature =
5603
- | { type: 'Ed25519'; value: FixedBytes<64> }
5604
- | { type: 'Sr25519'; value: FixedBytes<64> }
5605
- | { type: 'Ecdsa'; value: FixedBytes<65> };
5772
+ export type PalletMessageQueuePage = {
5773
+ remaining: number;
5774
+ remainingSize: number;
5775
+ firstIndex: number;
5776
+ first: number;
5777
+ last: number;
5778
+ heap: Bytes;
5779
+ };
5606
5780
 
5607
5781
  /**
5608
- * Contains a variant per dispatchable extrinsic that this pallet has.
5782
+ * The `Error` enum of this pallet.
5609
5783
  **/
5610
- export type PalletSudoCall =
5784
+ export type PalletMessageQueueError =
5611
5785
  /**
5612
- * Authenticates the sudo key and dispatches a function call with `Root` origin.
5786
+ * Page is not reapable because it has items remaining to be processed and is not old
5787
+ * enough.
5613
5788
  **/
5614
- | { name: 'Sudo'; params: { call: PeoplePaseoRuntimeRuntimeCall } }
5789
+ | 'NotReapable'
5615
5790
  /**
5616
- * Authenticates the sudo key and dispatches a function call with `Root` origin.
5617
- * This function does not check the weight of the call, and instead allows the
5618
- * Sudo user to specify the weight of the call.
5619
- *
5620
- * The dispatch origin for this call must be _Signed_.
5791
+ * Page to be reaped does not exist.
5621
5792
  **/
5622
- | { name: 'SudoUncheckedWeight'; params: { call: PeoplePaseoRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
5793
+ | 'NoPage'
5623
5794
  /**
5624
- * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
5625
- * key.
5795
+ * The referenced message could not be found.
5626
5796
  **/
5627
- | { name: 'SetKey'; params: { new: MultiAddress } }
5797
+ | 'NoMessage'
5628
5798
  /**
5629
- * Authenticates the sudo key and dispatches a function call with `Signed` origin from
5630
- * a given account.
5631
- *
5632
- * The dispatch origin for this call must be _Signed_.
5799
+ * The message was already processed and cannot be processed again.
5633
5800
  **/
5634
- | { name: 'SudoAs'; params: { who: MultiAddress; call: PeoplePaseoRuntimeRuntimeCall } }
5801
+ | 'AlreadyProcessed'
5635
5802
  /**
5636
- * Permanently removes the sudo key.
5637
- *
5638
- * **This cannot be un-done.**
5803
+ * The message is queued for future execution.
5639
5804
  **/
5640
- | { name: 'RemoveKey' };
5641
-
5642
- export type PalletSudoCallLike =
5805
+ | 'Queued'
5643
5806
  /**
5644
- * Authenticates the sudo key and dispatches a function call with `Root` origin.
5807
+ * There is temporarily not enough weight to continue servicing messages.
5645
5808
  **/
5646
- | { name: 'Sudo'; params: { call: PeoplePaseoRuntimeRuntimeCallLike } }
5809
+ | 'InsufficientWeight'
5647
5810
  /**
5648
- * Authenticates the sudo key and dispatches a function call with `Root` origin.
5649
- * This function does not check the weight of the call, and instead allows the
5650
- * Sudo user to specify the weight of the call.
5811
+ * This message is temporarily unprocessable.
5651
5812
  *
5652
- * The dispatch origin for this call must be _Signed_.
5653
- **/
5654
- | {
5655
- name: 'SudoUncheckedWeight';
5656
- params: { call: PeoplePaseoRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight };
5657
- }
5658
- /**
5659
- * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
5660
- * key.
5813
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
5814
+ * retrying.
5661
5815
  **/
5662
- | { name: 'SetKey'; params: { new: MultiAddressLike } }
5816
+ | 'TemporarilyUnprocessable'
5663
5817
  /**
5664
- * Authenticates the sudo key and dispatches a function call with `Signed` origin from
5665
- * a given account.
5818
+ * The queue is paused and no message can be executed from it.
5666
5819
  *
5667
- * The dispatch origin for this call must be _Signed_.
5820
+ * This can change at any time and may resolve in the future by re-trying.
5668
5821
  **/
5669
- | { name: 'SudoAs'; params: { who: MultiAddressLike; call: PeoplePaseoRuntimeRuntimeCallLike } }
5822
+ | 'QueuePaused'
5670
5823
  /**
5671
- * Permanently removes the sudo key.
5672
- *
5673
- * **This cannot be un-done.**
5824
+ * Another call is in progress and needs to finish before this call can happen.
5674
5825
  **/
5675
- | { name: 'RemoveKey' };
5676
-
5677
- export type PeoplePaseoRuntimeOriginCaller =
5678
- | { type: 'System'; value: FrameSupportDispatchRawOrigin }
5679
- | { type: 'PolkadotXcm'; value: PalletXcmOrigin }
5680
- | { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
5681
-
5682
- export type FrameSupportDispatchRawOrigin =
5683
- | { type: 'Root' }
5684
- | { type: 'Signed'; value: AccountId32 }
5685
- | { type: 'None' };
5686
-
5687
- export type PalletXcmOrigin =
5688
- | { type: 'Xcm'; value: StagingXcmV5Location }
5689
- | { type: 'Response'; value: StagingXcmV5Location };
5690
-
5691
- export type CumulusPalletXcmOrigin =
5692
- | { type: 'Relay' }
5693
- | { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
5826
+ | 'RecursiveDisallowed';
5694
5827
 
5695
5828
  /**
5696
5829
  * The `Error` enum of this pallet.
@@ -5967,32 +6100,8 @@ export type PalletSudoError =
5967
6100
  **/
5968
6101
  'RequireSudo';
5969
6102
 
5970
- export type FrameSystemExtensionsCheckNonZeroSender = {};
5971
-
5972
- export type FrameSystemExtensionsCheckSpecVersion = {};
5973
-
5974
- export type FrameSystemExtensionsCheckTxVersion = {};
5975
-
5976
- export type FrameSystemExtensionsCheckGenesis = {};
5977
-
5978
- export type FrameSystemExtensionsCheckMortality = Era;
5979
-
5980
- export type FrameSystemExtensionsCheckNonce = number;
5981
-
5982
- export type FrameSystemExtensionsCheckWeight = {};
5983
-
5984
- export type PalletTransactionPaymentChargeTransactionPayment = bigint;
5985
-
5986
- export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
5987
-
5988
- export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
5989
-
5990
- export type PeoplePaseoRuntimeRuntime = {};
5991
-
5992
6103
  export type SpConsensusSlotsSlotDuration = bigint;
5993
6104
 
5994
- export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
5995
-
5996
6105
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
5997
6106
 
5998
6107
  export type SpCoreOpaqueMetadata = Bytes;
@@ -6083,6 +6192,15 @@ export type XcmRuntimeApisDryRunXcmDryRunEffects = {
6083
6192
 
6084
6193
  export type XcmRuntimeApisConversionsError = 'Unsupported' | 'VersionedConversionFailed';
6085
6194
 
6195
+ export type XcmVersionedAsset =
6196
+ | { type: 'V3'; value: XcmV3MultiassetMultiAsset }
6197
+ | { type: 'V4'; value: StagingXcmV4Asset }
6198
+ | { type: 'V5'; value: StagingXcmV5Asset };
6199
+
6200
+ export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
6201
+
6202
+ export type XcmRuntimeApisAuthorizedAliasesError = 'LocationVersionConversionFailed';
6203
+
6086
6204
  export type CumulusPrimitivesCoreCollationInfo = {
6087
6205
  upwardMessages: Array<Bytes>;
6088
6206
  horizontalMessages: Array<PolkadotCorePrimitivesOutboundHrmpMessage>;