@polkadot/api-augment 15.9.2 → 15.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
9
9
  declare module '@polkadot/api-base/types/events' {
10
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -1022,15 +1022,15 @@ declare module '@polkadot/api-base/types/events' {
1022
1022
  /**
1023
1023
  * A candidate was backed. `[candidate, head_data]`
1024
1024
  **/
1025
- CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>;
1025
+ CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
1026
1026
  /**
1027
1027
  * A candidate was included. `[candidate, head_data]`
1028
1028
  **/
1029
- CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>;
1029
+ CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
1030
1030
  /**
1031
1031
  * A candidate timed out. `[candidate, head_data]`
1032
1032
  **/
1033
- CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV8CandidateReceipt, Bytes, u32]>;
1033
+ CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32]>;
1034
1034
  /**
1035
1035
  * Some upward messages have been received and will be processed.
1036
1036
  **/
@@ -1142,10 +1142,10 @@ declare module '@polkadot/api-base/types/events' {
1142
1142
  /**
1143
1143
  * A proxy was added.
1144
1144
  **/
1145
- ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: PolkadotRuntimeProxyType, delay: u32], {
1145
+ ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, delay: u32], {
1146
1146
  delegator: AccountId32;
1147
1147
  delegatee: AccountId32;
1148
- proxyType: PolkadotRuntimeProxyType;
1148
+ proxyType: PolkadotRuntimeConstantsProxyProxyType;
1149
1149
  delay: u32;
1150
1150
  }>;
1151
1151
  /**
@@ -1157,20 +1157,20 @@ declare module '@polkadot/api-base/types/events' {
1157
1157
  /**
1158
1158
  * A proxy was removed.
1159
1159
  **/
1160
- ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: PolkadotRuntimeProxyType, delay: u32], {
1160
+ ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, delay: u32], {
1161
1161
  delegator: AccountId32;
1162
1162
  delegatee: AccountId32;
1163
- proxyType: PolkadotRuntimeProxyType;
1163
+ proxyType: PolkadotRuntimeConstantsProxyProxyType;
1164
1164
  delay: u32;
1165
1165
  }>;
1166
1166
  /**
1167
1167
  * A pure account has been created by new proxy with given
1168
1168
  * disambiguation index and proxy type.
1169
1169
  **/
1170
- PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeProxyType, disambiguationIndex: u16], {
1170
+ PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16], {
1171
1171
  pure: AccountId32;
1172
1172
  who: AccountId32;
1173
- proxyType: PolkadotRuntimeProxyType;
1173
+ proxyType: PolkadotRuntimeConstantsProxyProxyType;
1174
1174
  disambiguationIndex: u16;
1175
1175
  }>;
1176
1176
  /**
@@ -1478,11 +1478,13 @@ declare module '@polkadot/api-base/types/events' {
1478
1478
  sessionIndex: u32;
1479
1479
  }>;
1480
1480
  /**
1481
- * The stakers' rewards are getting paid.
1481
+ * A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
1482
1482
  **/
1483
- PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32], {
1483
+ PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option<u32>], {
1484
1484
  eraIndex: u32;
1485
1485
  validatorStash: AccountId32;
1486
+ page: u32;
1487
+ next: Option<u32>;
1486
1488
  }>;
1487
1489
  /**
1488
1490
  * The nominator has been rewarded by this amount to this destination.
@@ -1595,15 +1597,15 @@ declare module '@polkadot/api-base/types/events' {
1595
1597
  /**
1596
1598
  * An extrinsic failed.
1597
1599
  **/
1598
- ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], {
1600
+ ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo], {
1599
1601
  dispatchError: SpRuntimeDispatchError;
1600
- dispatchInfo: FrameSupportDispatchDispatchInfo;
1602
+ dispatchInfo: FrameSystemDispatchEventInfo;
1601
1603
  }>;
1602
1604
  /**
1603
1605
  * An extrinsic completed successfully.
1604
1606
  **/
1605
- ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], {
1606
- dispatchInfo: FrameSupportDispatchDispatchInfo;
1607
+ ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSystemDispatchEventInfo], {
1608
+ dispatchInfo: FrameSystemDispatchEventInfo;
1607
1609
  }>;
1608
1610
  /**
1609
1611
  * An account was reaped.
@@ -1841,42 +1843,42 @@ declare module '@polkadot/api-base/types/events' {
1841
1843
  /**
1842
1844
  * Some assets have been claimed from an asset trap
1843
1845
  **/
1844
- AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], {
1846
+ AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets], {
1845
1847
  hash_: H256;
1846
- origin: StagingXcmV4Location;
1848
+ origin: StagingXcmV5Location;
1847
1849
  assets: XcmVersionedAssets;
1848
1850
  }>;
1849
1851
  /**
1850
1852
  * Some assets have been placed in an asset trap.
1851
1853
  **/
1852
- AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], {
1854
+ AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets], {
1853
1855
  hash_: H256;
1854
- origin: StagingXcmV4Location;
1856
+ origin: StagingXcmV5Location;
1855
1857
  assets: XcmVersionedAssets;
1856
1858
  }>;
1857
1859
  /**
1858
1860
  * Execution of an XCM message was attempted.
1859
1861
  **/
1860
- Attempted: AugmentedEvent<ApiType, [outcome: StagingXcmV4TraitsOutcome], {
1861
- outcome: StagingXcmV4TraitsOutcome;
1862
+ Attempted: AugmentedEvent<ApiType, [outcome: StagingXcmV5TraitsOutcome], {
1863
+ outcome: StagingXcmV5TraitsOutcome;
1862
1864
  }>;
1863
1865
  /**
1864
1866
  * Fees were paid from a location for an operation (often for using `SendXcm`).
1865
1867
  **/
1866
- FeesPaid: AugmentedEvent<ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], {
1867
- paying: StagingXcmV4Location;
1868
- fees: StagingXcmV4AssetAssets;
1868
+ FeesPaid: AugmentedEvent<ApiType, [paying: StagingXcmV5Location, fees: StagingXcmV5AssetAssets], {
1869
+ paying: StagingXcmV5Location;
1870
+ fees: StagingXcmV5AssetAssets;
1869
1871
  }>;
1870
1872
  /**
1871
1873
  * Expected query response has been received but the querier location of the response does
1872
1874
  * not match the expected. The query remains registered for a later, valid, response to
1873
1875
  * be received and acted upon.
1874
1876
  **/
1875
- InvalidQuerier: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64, expectedQuerier: StagingXcmV4Location, maybeActualQuerier: Option<StagingXcmV4Location>], {
1876
- origin: StagingXcmV4Location;
1877
+ InvalidQuerier: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64, expectedQuerier: StagingXcmV5Location, maybeActualQuerier: Option<StagingXcmV5Location>], {
1878
+ origin: StagingXcmV5Location;
1877
1879
  queryId: u64;
1878
- expectedQuerier: StagingXcmV4Location;
1879
- maybeActualQuerier: Option<StagingXcmV4Location>;
1880
+ expectedQuerier: StagingXcmV5Location;
1881
+ maybeActualQuerier: Option<StagingXcmV5Location>;
1880
1882
  }>;
1881
1883
  /**
1882
1884
  * Expected query response has been received but the expected querier location placed in
@@ -1887,8 +1889,8 @@ declare module '@polkadot/api-base/types/events' {
1887
1889
  * valid response will be dropped. Manual governance intervention is probably going to be
1888
1890
  * needed.
1889
1891
  **/
1890
- InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
1891
- origin: StagingXcmV4Location;
1892
+ InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], {
1893
+ origin: StagingXcmV5Location;
1892
1894
  queryId: u64;
1893
1895
  }>;
1894
1896
  /**
@@ -1896,10 +1898,10 @@ declare module '@polkadot/api-base/types/events' {
1896
1898
  * not match that expected. The query remains registered for a later, valid, response to
1897
1899
  * be received and acted upon.
1898
1900
  **/
1899
- InvalidResponder: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64, expectedLocation: Option<StagingXcmV4Location>], {
1900
- origin: StagingXcmV4Location;
1901
+ InvalidResponder: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64, expectedLocation: Option<StagingXcmV5Location>], {
1902
+ origin: StagingXcmV5Location;
1901
1903
  queryId: u64;
1902
- expectedLocation: Option<StagingXcmV4Location>;
1904
+ expectedLocation: Option<StagingXcmV5Location>;
1903
1905
  }>;
1904
1906
  /**
1905
1907
  * Expected query response has been received but the expected origin location placed in
@@ -1910,8 +1912,8 @@ declare module '@polkadot/api-base/types/events' {
1910
1912
  * valid response will be dropped. Manual governance intervention is probably going to be
1911
1913
  * needed.
1912
1914
  **/
1913
- InvalidResponderVersion: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
1914
- origin: StagingXcmV4Location;
1915
+ InvalidResponderVersion: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], {
1916
+ origin: StagingXcmV5Location;
1915
1917
  queryId: u64;
1916
1918
  }>;
1917
1919
  /**
@@ -1966,18 +1968,18 @@ declare module '@polkadot/api-base/types/events' {
1966
1968
  * A given location which had a version change subscription was dropped owing to an error
1967
1969
  * sending the notification to it.
1968
1970
  **/
1969
- NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], {
1970
- location: StagingXcmV4Location;
1971
+ NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], {
1972
+ location: StagingXcmV5Location;
1971
1973
  queryId: u64;
1972
- error: XcmV3TraitsError;
1974
+ error: XcmV5TraitsError;
1973
1975
  }>;
1974
1976
  /**
1975
1977
  * Query response has been received and is ready for taking with `take_response`. There is
1976
1978
  * no registered notification call.
1977
1979
  **/
1978
- ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: StagingXcmV4Response], {
1980
+ ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: StagingXcmV5Response], {
1979
1981
  queryId: u64;
1980
- response: StagingXcmV4Response;
1982
+ response: StagingXcmV5Response;
1981
1983
  }>;
1982
1984
  /**
1983
1985
  * Received query response has been read and removed.
@@ -1988,18 +1990,18 @@ declare module '@polkadot/api-base/types/events' {
1988
1990
  /**
1989
1991
  * A XCM message was sent.
1990
1992
  **/
1991
- Sent: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, destination: StagingXcmV4Location, message: StagingXcmV4Xcm, messageId: U8aFixed], {
1992
- origin: StagingXcmV4Location;
1993
- destination: StagingXcmV4Location;
1994
- message: StagingXcmV4Xcm;
1993
+ Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
1994
+ origin: StagingXcmV5Location;
1995
+ destination: StagingXcmV5Location;
1996
+ message: StagingXcmV5Xcm;
1995
1997
  messageId: U8aFixed;
1996
1998
  }>;
1997
1999
  /**
1998
2000
  * The supported version of a location has been changed. This might be through an
1999
2001
  * automatic notification or a manual intervention.
2000
2002
  **/
2001
- SupportedVersionChanged: AugmentedEvent<ApiType, [location: StagingXcmV4Location, version: u32], {
2002
- location: StagingXcmV4Location;
2003
+ SupportedVersionChanged: AugmentedEvent<ApiType, [location: StagingXcmV5Location, version: u32], {
2004
+ location: StagingXcmV5Location;
2003
2005
  version: u32;
2004
2006
  }>;
2005
2007
  /**
@@ -2007,8 +2009,8 @@ declare module '@polkadot/api-base/types/events' {
2007
2009
  * matching query was never registered, it may be because it is a duplicate response, or
2008
2010
  * because the query timed out.
2009
2011
  **/
2010
- UnexpectedResponse: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
2011
- origin: StagingXcmV4Location;
2012
+ UnexpectedResponse: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], {
2013
+ origin: StagingXcmV5Location;
2012
2014
  queryId: u64;
2013
2015
  }>;
2014
2016
  /**
@@ -2016,10 +2018,10 @@ declare module '@polkadot/api-base/types/events' {
2016
2018
  *
2017
2019
  * The cost of sending it (borne by the chain) is included.
2018
2020
  **/
2019
- VersionChangeNotified: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, result: u32, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2020
- destination: StagingXcmV4Location;
2021
+ VersionChangeNotified: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, result: u32, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
2022
+ destination: StagingXcmV5Location;
2021
2023
  result: u32;
2022
- cost: StagingXcmV4AssetAssets;
2024
+ cost: StagingXcmV5AssetAssets;
2023
2025
  messageId: U8aFixed;
2024
2026
  }>;
2025
2027
  /**
@@ -2031,27 +2033,27 @@ declare module '@polkadot/api-base/types/events' {
2031
2033
  /**
2032
2034
  * We have requested that a remote chain send us XCM version change notifications.
2033
2035
  **/
2034
- VersionNotifyRequested: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2035
- destination: StagingXcmV4Location;
2036
- cost: StagingXcmV4AssetAssets;
2036
+ VersionNotifyRequested: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
2037
+ destination: StagingXcmV5Location;
2038
+ cost: StagingXcmV5AssetAssets;
2037
2039
  messageId: U8aFixed;
2038
2040
  }>;
2039
2041
  /**
2040
2042
  * A remote has requested XCM version change notification from us and we have honored it.
2041
2043
  * A version information message is sent to them and its cost is included.
2042
2044
  **/
2043
- VersionNotifyStarted: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2044
- destination: StagingXcmV4Location;
2045
- cost: StagingXcmV4AssetAssets;
2045
+ VersionNotifyStarted: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
2046
+ destination: StagingXcmV5Location;
2047
+ cost: StagingXcmV5AssetAssets;
2046
2048
  messageId: U8aFixed;
2047
2049
  }>;
2048
2050
  /**
2049
2051
  * We have requested that a remote chain stops sending us XCM version change
2050
2052
  * notifications.
2051
2053
  **/
2052
- VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2053
- destination: StagingXcmV4Location;
2054
- cost: StagingXcmV4AssetAssets;
2054
+ VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
2055
+ destination: StagingXcmV5Location;
2056
+ cost: StagingXcmV5AssetAssets;
2055
2057
  messageId: U8aFixed;
2056
2058
  }>;
2057
2059
  /**
@@ -4,7 +4,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8ScrapedOnChainVotes, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV4Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  import type { Observable } from '@polkadot/types/types';
9
9
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
10
10
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -20,6 +20,8 @@ declare module '@polkadot/api-base/types/storage' {
20
20
  V3: any;
21
21
  } | {
22
22
  V4: any;
23
+ } | {
24
+ V5: any;
23
25
  } | string | Uint8Array) => Observable<Option<u128>>, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeCommonImplsVersionedLocatableAsset]>;
24
26
  /**
25
27
  * Generic query
@@ -335,22 +337,37 @@ declare module '@polkadot/api-base/types/storage' {
335
337
  **/
336
338
  childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
337
339
  /**
338
- * Number of total child bounties.
340
+ * DEPRECATED: Replaced with `ParentTotalChildBounties` storage item keeping dedicated counts
341
+ * for each parent bounty. Number of total child bounties. Will be removed in May 2025.
339
342
  **/
340
343
  childBountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
341
344
  /**
342
- * The description of each child-bounty.
345
+ * The description of each child-bounty. Indexed by `(parent_id, child_id)`.
346
+ *
347
+ * This item replaces the `ChildBountyDescriptions` storage item from the V0 storage version.
343
348
  **/
344
- childBountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
349
+ childBountyDescriptionsV1: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
345
350
  /**
346
351
  * The cumulative child-bounty curator fee for each parent bounty.
347
352
  **/
348
353
  childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
349
354
  /**
350
- * Number of child bounties per parent bounty.
355
+ * Number of active child bounties per parent bounty.
351
356
  * Map of parent bounty index to number of child bounties.
352
357
  **/
353
358
  parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
359
+ /**
360
+ * Number of total child bounties per parent bounty, including completed bounties.
361
+ **/
362
+ parentTotalChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
363
+ /**
364
+ * The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
365
+ *
366
+ * The `V0` ids based on total child bounty count [`ChildBountyCount`]`. The `V1` version ids
367
+ * based on the child bounty count per parent bounty [`ParentTotalChildBounties`].
368
+ * The item intended solely for client convenience and not used in the pallet's core logic.
369
+ **/
370
+ v0ToV1ChildBountyIds: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
354
371
  /**
355
372
  * Generic query
356
373
  **/
@@ -795,7 +812,7 @@ declare module '@polkadot/api-base/types/storage' {
795
812
  };
796
813
  initializer: {
797
814
  /**
798
- * Buffered session changes along with the block number at which they should be applied.
815
+ * Buffered session changes.
799
816
  *
800
817
  * Typically this will be empty or one element long. Apart from that this item never hits
801
818
  * the storage.
@@ -1054,7 +1071,7 @@ declare module '@polkadot/api-base/types/storage' {
1054
1071
  /**
1055
1072
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
1056
1073
  **/
1057
- onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1074
+ onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesVstagingScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1058
1075
  /**
1059
1076
  * Generic query
1060
1077
  **/
@@ -1211,21 +1228,11 @@ declare module '@polkadot/api-base/types/storage' {
1211
1228
  [key: string]: QueryableStorageEntry<ApiType>;
1212
1229
  };
1213
1230
  paraScheduler: {
1214
- /**
1215
- * One entry for each availability core. The i'th parachain belongs to the i'th core, with the
1216
- * remaining cores all being on demand parachain multiplexers.
1217
- *
1218
- * Bounded by the maximum of either of these two values:
1219
- * * The number of parachains and parathread multiplexers
1220
- * * The number of validators divided by `configuration.max_validators_per_core`.
1221
- **/
1222
- availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>>, []> & QueryableStorageEntry<ApiType, []>;
1223
1231
  /**
1224
1232
  * One entry for each availability core. The `VecDeque` represents the assignments to be
1225
- * scheduled on that core. The value contained here will not be valid after the end of
1226
- * a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
1233
+ * scheduled on that core.
1227
1234
  **/
1228
- claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<PolkadotRuntimeParachainsSchedulerPalletParasEntry>>>, []> & QueryableStorageEntry<ApiType, []>;
1235
+ claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<PolkadotRuntimeParachainsSchedulerCommonAssignment>>>, []> & QueryableStorageEntry<ApiType, []>;
1229
1236
  /**
1230
1237
  * The block number where the session start occurred. Used to track how many group rotations
1231
1238
  * have occurred.
@@ -1967,6 +1974,9 @@ declare module '@polkadot/api-base/types/storage' {
1967
1974
  };
1968
1975
  treasury: {
1969
1976
  /**
1977
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
1978
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
1979
+ *
1970
1980
  * Proposal indices that have been approved but not yet awarded.
1971
1981
  **/
1972
1982
  approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -1975,10 +1985,20 @@ declare module '@polkadot/api-base/types/storage' {
1975
1985
  **/
1976
1986
  deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1977
1987
  /**
1988
+ * The blocknumber for the last triggered spend period.
1989
+ **/
1990
+ lastSpendPeriod: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1991
+ /**
1992
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
1993
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
1994
+ *
1978
1995
  * Number of proposals that have been made.
1979
1996
  **/
1980
1997
  proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1981
1998
  /**
1999
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
2000
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
2001
+ *
1982
2002
  * Proposals that have been made.
1983
2003
  **/
1984
2004
  proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
@@ -2072,7 +2092,7 @@ declare module '@polkadot/api-base/types/storage' {
2072
2092
  * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
2073
2093
  * implementation in the XCM executor configuration.
2074
2094
  **/
2075
- recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV4Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
2095
+ recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV5Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
2076
2096
  /**
2077
2097
  * Fungible assets which we know are locked on a remote chain.
2078
2098
  **/
@@ -2080,6 +2100,8 @@ declare module '@polkadot/api-base/types/storage' {
2080
2100
  V3: any;
2081
2101
  } | {
2082
2102
  V4: any;
2103
+ } | {
2104
+ V5: any;
2083
2105
  } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
2084
2106
  /**
2085
2107
  * Default version to encode XCM when latest version of destination is unknown. If `None`,
@@ -2100,11 +2122,11 @@ declare module '@polkadot/api-base/types/storage' {
2100
2122
  * The Latest versions that we know various locations support.
2101
2123
  **/
2102
2124
  supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
2103
- V2: any;
2104
- } | {
2105
2125
  V3: any;
2106
2126
  } | {
2107
2127
  V4: any;
2128
+ } | {
2129
+ V5: any;
2108
2130
  } | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
2109
2131
  /**
2110
2132
  * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
@@ -2116,22 +2138,22 @@ declare module '@polkadot/api-base/types/storage' {
2116
2138
  * All locations that we have requested version notifications from.
2117
2139
  **/
2118
2140
  versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
2119
- V2: any;
2120
- } | {
2121
2141
  V3: any;
2122
2142
  } | {
2123
2143
  V4: any;
2144
+ } | {
2145
+ V5: any;
2124
2146
  } | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
2125
2147
  /**
2126
2148
  * The target locations that are subscribed to our version changes, as well as the most recent
2127
2149
  * of our versions we informed them of.
2128
2150
  **/
2129
2151
  versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
2130
- V2: any;
2131
- } | {
2132
2152
  V3: any;
2133
2153
  } | {
2134
2154
  V4: any;
2155
+ } | {
2156
+ V5: any;
2135
2157
  } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
2136
2158
  /**
2137
2159
  * Global suspension state of the XCM executor.