@polkadot/api-augment 9.14.1 → 10.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/base.js +0 -4
  2. package/bundle.js +2 -5
  3. package/cjs/base.js +1 -1
  4. package/cjs/bundle.js +4 -11
  5. package/cjs/detectOther.js +5 -12
  6. package/cjs/detectPackage.js +6 -11
  7. package/cjs/index.js +3 -15
  8. package/cjs/kusama/consts.js +2 -1
  9. package/cjs/kusama/errors.js +2 -1
  10. package/cjs/kusama/events.js +2 -1
  11. package/cjs/kusama/index.js +1 -1
  12. package/cjs/kusama/query.js +2 -1
  13. package/cjs/kusama/registry.js +1 -1
  14. package/cjs/kusama/runtime.js +2 -1
  15. package/cjs/kusama/tx.js +2 -1
  16. package/cjs/packageInfo.js +2 -16
  17. package/cjs/polkadot/consts.js +2 -1
  18. package/cjs/polkadot/errors.js +2 -1
  19. package/cjs/polkadot/events.js +2 -1
  20. package/cjs/polkadot/index.js +1 -1
  21. package/cjs/polkadot/query.js +2 -1
  22. package/cjs/polkadot/registry.js +1 -1
  23. package/cjs/polkadot/runtime.js +2 -1
  24. package/cjs/polkadot/tx.js +2 -1
  25. package/cjs/substrate/consts.js +2 -1
  26. package/cjs/substrate/errors.js +2 -1
  27. package/cjs/substrate/events.js +2 -1
  28. package/cjs/substrate/index.js +1 -1
  29. package/cjs/substrate/query.js +2 -1
  30. package/cjs/substrate/registry.js +1 -1
  31. package/cjs/substrate/runtime.js +2 -1
  32. package/cjs/substrate/tx.js +2 -1
  33. package/detectOther.js +0 -3
  34. package/detectPackage.js +2 -7
  35. package/index.js +2 -5
  36. package/kusama/consts.js +1 -7
  37. package/kusama/errors.d.ts +4 -0
  38. package/kusama/errors.js +1 -7
  39. package/kusama/events.d.ts +2 -2
  40. package/kusama/events.js +1 -7
  41. package/kusama/index.js +8 -11
  42. package/kusama/query.d.ts +20 -1
  43. package/kusama/query.js +1 -7
  44. package/kusama/registry.js +0 -3
  45. package/kusama/runtime.js +1 -7
  46. package/kusama/tx.d.ts +258 -638
  47. package/kusama/tx.js +1 -7
  48. package/package.json +12 -9
  49. package/packageInfo.js +1 -11
  50. package/polkadot/consts.js +1 -7
  51. package/polkadot/errors.d.ts +4 -0
  52. package/polkadot/errors.js +1 -7
  53. package/polkadot/events.d.ts +2 -2
  54. package/polkadot/events.js +1 -7
  55. package/polkadot/index.js +8 -11
  56. package/polkadot/query.d.ts +20 -1
  57. package/polkadot/query.js +1 -7
  58. package/polkadot/registry.js +0 -3
  59. package/polkadot/runtime.js +1 -7
  60. package/polkadot/tx.d.ts +209 -478
  61. package/polkadot/tx.js +1 -7
  62. package/substrate/consts.d.ts +4 -0
  63. package/substrate/consts.js +1 -7
  64. package/substrate/errors.d.ts +43 -4
  65. package/substrate/errors.js +1 -7
  66. package/substrate/events.d.ts +43 -11
  67. package/substrate/events.js +1 -7
  68. package/substrate/index.js +8 -11
  69. package/substrate/query.d.ts +50 -16
  70. package/substrate/query.js +1 -7
  71. package/substrate/registry.js +0 -3
  72. package/substrate/runtime.js +1 -7
  73. package/substrate/tx.d.ts +364 -731
  74. package/substrate/tx.js +1 -7
package/polkadot/tx.js CHANGED
@@ -1,8 +1,2 @@
1
- // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
1
  /* eslint-disable */
3
-
4
- // import type lookup before we augment - in some environments
5
- // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/submittable';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/submittable';
@@ -695,6 +695,10 @@ declare module '@polkadot/api-base/types/consts' {
695
695
  * The maximum length of an attribute key.
696
696
  **/
697
697
  keyLimit: u32 & AugmentedConst<ApiType>;
698
+ /**
699
+ * The max number of attributes a user could set per call.
700
+ **/
701
+ maxAttributesPerCall: u32 & AugmentedConst<ApiType>;
698
702
  /**
699
703
  * The max duration in blocks for deadlines.
700
704
  **/
@@ -1,8 +1,2 @@
1
- // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
1
  /* eslint-disable */
3
-
4
- // import type lookup before we augment - in some environments
5
- // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/consts';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/consts';
@@ -406,10 +406,6 @@ declare module '@polkadot/api-base/types/errors' {
406
406
  * Contract trapped during execution.
407
407
  **/
408
408
  ContractTrapped: AugmentedError<ApiType>;
409
- /**
410
- * The debug message specified to `seal_debug_message` does contain invalid UTF-8.
411
- **/
412
- DebugMessageInvalidUTF8: AugmentedError<ApiType>;
413
409
  /**
414
410
  * Input passed to a contract API function failed to decode as expected type.
415
411
  **/
@@ -882,6 +878,18 @@ declare module '@polkadot/api-base/types/errors' {
882
878
  **/
883
879
  [key: string]: AugmentedError<ApiType>;
884
880
  };
881
+ glutton: {
882
+ /**
883
+ * The pallet was already initialized.
884
+ *
885
+ * Set `witness_count` to `Some` to bypass this error.
886
+ **/
887
+ AlreadyInitialized: AugmentedError<ApiType>;
888
+ /**
889
+ * Generic error
890
+ **/
891
+ [key: string]: AugmentedError<ApiType>;
892
+ };
885
893
  grandpa: {
886
894
  /**
887
895
  * Attempt to signal GRANDPA change with one already pending.
@@ -1096,6 +1104,13 @@ declare module '@polkadot/api-base/types/errors' {
1096
1104
  * The message is queued for future execution.
1097
1105
  **/
1098
1106
  Queued: AugmentedError<ApiType>;
1107
+ /**
1108
+ * This message is temporarily unprocessable.
1109
+ *
1110
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
1111
+ * retrying.
1112
+ **/
1113
+ TemporarilyUnprocessable: AugmentedError<ApiType>;
1099
1114
  /**
1100
1115
  * Generic error
1101
1116
  **/
@@ -1204,6 +1219,10 @@ declare module '@polkadot/api-base/types/errors' {
1204
1219
  * The provided data is incorrect.
1205
1220
  **/
1206
1221
  IncorrectData: AugmentedError<ApiType>;
1222
+ /**
1223
+ * The provided metadata might be too long.
1224
+ **/
1225
+ IncorrectMetadata: AugmentedError<ApiType>;
1207
1226
  /**
1208
1227
  * The item is locked (non-transferable).
1209
1228
  **/
@@ -1228,6 +1247,10 @@ declare module '@polkadot/api-base/types/errors' {
1228
1247
  * Item's metadata is locked.
1229
1248
  **/
1230
1249
  LockedItemMetadata: AugmentedError<ApiType>;
1250
+ /**
1251
+ * Can't set more attributes per one call.
1252
+ **/
1253
+ MaxAttributesLimitReached: AugmentedError<ApiType>;
1231
1254
  /**
1232
1255
  * The max supply is locked and can't be changed.
1233
1256
  **/
@@ -1308,6 +1331,14 @@ declare module '@polkadot/api-base/types/errors' {
1308
1331
  * The duration provided should be less than or equal to `MaxDeadlineDuration`.
1309
1332
  **/
1310
1333
  WrongDuration: AugmentedError<ApiType>;
1334
+ /**
1335
+ * The provided namespace isn't supported in this call.
1336
+ **/
1337
+ WrongNamespace: AugmentedError<ApiType>;
1338
+ /**
1339
+ * The extrinsic was sent by the wrong origin.
1340
+ **/
1341
+ WrongOrigin: AugmentedError<ApiType>;
1311
1342
  /**
1312
1343
  * The owner turned out to be different to what was expected.
1313
1344
  **/
@@ -1316,6 +1347,10 @@ declare module '@polkadot/api-base/types/errors' {
1316
1347
  * The provided setting can't be set.
1317
1348
  **/
1318
1349
  WrongSetting: AugmentedError<ApiType>;
1350
+ /**
1351
+ * The provided signature is incorrect.
1352
+ **/
1353
+ WrongSignature: AugmentedError<ApiType>;
1319
1354
  /**
1320
1355
  * Generic error
1321
1356
  **/
@@ -1394,6 +1429,10 @@ declare module '@polkadot/api-base/types/errors' {
1394
1429
  * pool at a time.
1395
1430
  **/
1396
1431
  AccountBelongsToOtherPool: AugmentedError<ApiType>;
1432
+ /**
1433
+ * Bonding extra is restricted to the exact pending reward amount.
1434
+ **/
1435
+ BondExtraRestricted: AugmentedError<ApiType>;
1397
1436
  /**
1398
1437
  * The pools state cannot be changed.
1399
1438
  **/
@@ -1,8 +1,2 @@
1
- // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
1
  /* eslint-disable */
3
-
4
- // import type lookup before we augment - in some environments
5
- // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/errors';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/errors';
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscAttributeNamespace, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMessageQueueMockHelpersMessageOrigin, PalletMultisigTimepoint, PalletNftsPriceWithDirection, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscAttributeNamespace, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsPriceWithDirection, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -933,6 +933,30 @@ declare module '@polkadot/api-base/types/events' {
933
933
  **/
934
934
  [key: string]: AugmentedEvent<ApiType>;
935
935
  };
936
+ glutton: {
937
+ /**
938
+ * The computation limit has been updated by root.
939
+ **/
940
+ ComputationLimitSet: AugmentedEvent<ApiType, [compute: Perbill], {
941
+ compute: Perbill;
942
+ }>;
943
+ /**
944
+ * The pallet has been (re)initialized by root.
945
+ **/
946
+ PalletInitialized: AugmentedEvent<ApiType, [reinit: bool], {
947
+ reinit: bool;
948
+ }>;
949
+ /**
950
+ * The storage limit has been updated by root.
951
+ **/
952
+ StorageLimitSet: AugmentedEvent<ApiType, [storage: Perbill], {
953
+ storage: Perbill;
954
+ }>;
955
+ /**
956
+ * Generic event
957
+ **/
958
+ [key: string]: AugmentedEvent<ApiType>;
959
+ };
936
960
  grandpa: {
937
961
  /**
938
962
  * New authority set has been applied.
@@ -1118,34 +1142,34 @@ declare module '@polkadot/api-base/types/events' {
1118
1142
  /**
1119
1143
  * Message placed in overweight queue.
1120
1144
  **/
1121
- OverweightEnqueued: AugmentedEvent<ApiType, [hash_: H256, origin: PalletMessageQueueMockHelpersMessageOrigin, pageIndex: u32, messageIndex: u32], {
1145
+ OverweightEnqueued: AugmentedEvent<ApiType, [hash_: H256, origin: u32, pageIndex: u32, messageIndex: u32], {
1122
1146
  hash_: H256;
1123
- origin: PalletMessageQueueMockHelpersMessageOrigin;
1147
+ origin: u32;
1124
1148
  pageIndex: u32;
1125
1149
  messageIndex: u32;
1126
1150
  }>;
1127
1151
  /**
1128
1152
  * This page was reaped.
1129
1153
  **/
1130
- PageReaped: AugmentedEvent<ApiType, [origin: PalletMessageQueueMockHelpersMessageOrigin, index: u32], {
1131
- origin: PalletMessageQueueMockHelpersMessageOrigin;
1154
+ PageReaped: AugmentedEvent<ApiType, [origin: u32, index: u32], {
1155
+ origin: u32;
1132
1156
  index: u32;
1133
1157
  }>;
1134
1158
  /**
1135
1159
  * Message is processed.
1136
1160
  **/
1137
- Processed: AugmentedEvent<ApiType, [hash_: H256, origin: PalletMessageQueueMockHelpersMessageOrigin, weightUsed: SpWeightsWeightV2Weight, success: bool], {
1161
+ Processed: AugmentedEvent<ApiType, [hash_: H256, origin: u32, weightUsed: SpWeightsWeightV2Weight, success: bool], {
1138
1162
  hash_: H256;
1139
- origin: PalletMessageQueueMockHelpersMessageOrigin;
1163
+ origin: u32;
1140
1164
  weightUsed: SpWeightsWeightV2Weight;
1141
1165
  success: bool;
1142
1166
  }>;
1143
1167
  /**
1144
1168
  * Message discarded due to an error in the `MessageProcessor` (usually a format error).
1145
1169
  **/
1146
- ProcessingFailed: AugmentedEvent<ApiType, [hash_: H256, origin: PalletMessageQueueMockHelpersMessageOrigin, error: FrameSupportMessagesProcessMessageError], {
1170
+ ProcessingFailed: AugmentedEvent<ApiType, [hash_: H256, origin: u32, error: FrameSupportMessagesProcessMessageError], {
1147
1171
  hash_: H256;
1148
- origin: PalletMessageQueueMockHelpersMessageOrigin;
1172
+ origin: u32;
1149
1173
  error: FrameSupportMessagesProcessMessageError;
1150
1174
  }>;
1151
1175
  /**
@@ -1408,6 +1432,14 @@ declare module '@polkadot/api-base/types/events' {
1408
1432
  who: AccountId32;
1409
1433
  maybeCollection: Option<u32>;
1410
1434
  }>;
1435
+ /**
1436
+ * New attributes have been set for an `item` of the `collection`.
1437
+ **/
1438
+ PreSignedAttributesSet: AugmentedEvent<ApiType, [collection: u32, item: u32, namespace: FrameSupportTokensMiscAttributeNamespace], {
1439
+ collection: u32;
1440
+ item: u32;
1441
+ namespace: FrameSupportTokensMiscAttributeNamespace;
1442
+ }>;
1411
1443
  /**
1412
1444
  * The deposit for a set of `item`s within a `collection` has been updated.
1413
1445
  **/
@@ -1609,9 +1641,9 @@ declare module '@polkadot/api-base/types/events' {
1609
1641
  * The roles of a pool have been updated to the given new roles. Note that the depositor
1610
1642
  * can never change.
1611
1643
  **/
1612
- RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, stateToggler: Option<AccountId32>, nominator: Option<AccountId32>], {
1644
+ RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32>], {
1613
1645
  root: Option<AccountId32>;
1614
- stateToggler: Option<AccountId32>;
1646
+ bouncer: Option<AccountId32>;
1615
1647
  nominator: Option<AccountId32>;
1616
1648
  }>;
1617
1649
  /**
@@ -1,8 +1,2 @@
1
- // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
1
  /* eslint-disable */
3
-
4
- // import type lookup before we augment - in some environments
5
- // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/events';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/events';
@@ -1,11 +1,8 @@
1
- // Copyright 2017-2023 @polkadot/api-augment authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- import "../base.js";
5
- import "./consts.js";
6
- import "./errors.js";
7
- import "./events.js";
8
- import "./query.js";
9
- import "./registry.js";
10
- import "./runtime.js";
11
- import "./tx.js";
1
+ import '../base.js';
2
+ import './consts.js';
3
+ import './errors.js';
4
+ import './events.js';
5
+ import './query.js';
6
+ import './registry.js';
7
+ import './runtime.js';
8
+ import './tx.js';
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
4
4
  import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensMiscAttributeNamespace, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueueMockHelpersMessageOrigin, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensMiscAttributeNamespace, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } 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>;
@@ -218,6 +218,17 @@ declare module '@polkadot/api-base/types/storage' {
218
218
  * epoch.
219
219
  **/
220
220
  segmentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
221
+ /**
222
+ * A list of the last 100 skipped epochs and the corresponding session index
223
+ * when the epoch was skipped.
224
+ *
225
+ * This is only used for validating equivocation proofs. An equivocation proof
226
+ * must contains a key-ownership proof for a given session, therefore we need a
227
+ * way to tie together sessions and epoch indices, i.e. we need to validate that
228
+ * a validator was the owner of a given key on a given session, and what the
229
+ * active epoch index was during that session.
230
+ **/
231
+ skippedEpochs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
221
232
  /**
222
233
  * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
223
234
  **/
@@ -655,6 +666,37 @@ declare module '@polkadot/api-base/types/storage' {
655
666
  **/
656
667
  [key: string]: QueryableStorageEntry<ApiType>;
657
668
  };
669
+ glutton: {
670
+ /**
671
+ * Storage value used to specify what percentage of the left over `ref_time`
672
+ * to consume during `on_idle`.
673
+ **/
674
+ compute: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
675
+ /**
676
+ * Storage value used the specify what percentage of left over `proof_size`
677
+ * to consume during `on_idle`.
678
+ **/
679
+ storage: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
680
+ /**
681
+ * Storage map used for wasting proof size.
682
+ *
683
+ * It contains no meaningful data - hence the name "Trash". The maximal number of entries is
684
+ * set to 65k, which is just below the next jump at 16^4. This is important to reduce the proof
685
+ * size benchmarking overestimate. The assumption here is that we won't have more than 65k *
686
+ * 1KiB = 65MiB of proof size wasting in practice. However, this limit is not enforced, so the
687
+ * pallet would also work out of the box with more entries, but its benchmarked proof weight
688
+ * would possibly be underestimated in that case.
689
+ **/
690
+ trashData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<U8aFixed>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
691
+ /**
692
+ * The current number of entries in `TrashData`.
693
+ **/
694
+ trashDataCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
695
+ /**
696
+ * Generic query
697
+ **/
698
+ [key: string]: QueryableStorageEntry<ApiType>;
699
+ };
658
700
  grandpa: {
659
701
  /**
660
702
  * The number of changes (both in terms of keys and underlying economic responsibilities)
@@ -806,27 +848,15 @@ declare module '@polkadot/api-base/types/storage' {
806
848
  /**
807
849
  * The index of the first and last (non-empty) pages.
808
850
  **/
809
- bookStateFor: AugmentedQuery<ApiType, (arg: PalletMessageQueueMockHelpersMessageOrigin | {
810
- Here: any;
811
- } | {
812
- There: any;
813
- } | {
814
- Everywhere: any;
815
- } | string | Uint8Array) => Observable<PalletMessageQueueBookState>, [PalletMessageQueueMockHelpersMessageOrigin]> & QueryableStorageEntry<ApiType, [PalletMessageQueueMockHelpersMessageOrigin]>;
851
+ bookStateFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletMessageQueueBookState>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
816
852
  /**
817
853
  * The map of page indices to pages.
818
854
  **/
819
- pages: AugmentedQuery<ApiType, (arg1: PalletMessageQueueMockHelpersMessageOrigin | {
820
- Here: any;
821
- } | {
822
- There: any;
823
- } | {
824
- Everywhere: any;
825
- } | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMessageQueuePage>>, [PalletMessageQueueMockHelpersMessageOrigin, u32]> & QueryableStorageEntry<ApiType, [PalletMessageQueueMockHelpersMessageOrigin, u32]>;
855
+ pages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMessageQueuePage>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
826
856
  /**
827
857
  * The origin at which we should begin servicing.
828
858
  **/
829
- serviceHead: AugmentedQuery<ApiType, () => Observable<Option<PalletMessageQueueMockHelpersMessageOrigin>>, []> & QueryableStorageEntry<ApiType, []>;
859
+ serviceHead: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
830
860
  /**
831
861
  * Generic query
832
862
  **/
@@ -972,6 +1002,10 @@ declare module '@polkadot/api-base/types/storage' {
972
1002
  * Storage for bonded pools.
973
1003
  **/
974
1004
  bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1005
+ /**
1006
+ * Map from a pool member account to their opted claim permission.
1007
+ **/
1008
+ claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
975
1009
  /**
976
1010
  * Counter for the related counted storage map
977
1011
  **/
@@ -1,8 +1,2 @@
1
- // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
1
  /* eslint-disable */
3
-
4
- // import type lookup before we augment - in some environments
5
- // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/storage';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/storage';
@@ -1,4 +1 @@
1
- // Copyright 2017-2023 @polkadot/api-augment authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
1
  import '@polkadot/types-augment/registry/substrate';
@@ -1,8 +1,2 @@
1
- // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
1
  /* eslint-disable */
3
-
4
- // import type lookup before we augment - in some environments
5
- // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/calls';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/calls';