@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/base.js CHANGED
@@ -1,6 +1,2 @@
1
- // Copyright 2017-2023 @polkadot/api-augment authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- // for the API, we decorate not only the endpoints, but all types
5
1
  import '@polkadot/rpc-augment';
6
2
  import '@polkadot/types-augment';
package/bundle.js CHANGED
@@ -1,5 +1,2 @@
1
- // Copyright 2017-2023 @polkadot/api-augment authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- import "./substrate/index.js";
5
- export { packageInfo } from "./packageInfo.js";
1
+ import './substrate/index.js';
2
+ export { packageInfo } from './packageInfo.js';
package/cjs/base.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
-
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("@polkadot/rpc-augment");
4
4
  require("@polkadot/types-augment");
package/cjs/bundle.js CHANGED
@@ -1,13 +1,6 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "packageInfo", {
7
- enumerable: true,
8
- get: function () {
9
- return _packageInfo.packageInfo;
10
- }
11
- });
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.packageInfo = void 0;
12
4
  require("./substrate");
13
- var _packageInfo = require("./packageInfo");
5
+ var packageInfo_1 = require("./packageInfo");
6
+ Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_1.packageInfo; } });
@@ -1,13 +1,6 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _packageInfo = require("@polkadot/api-base/cjs/packageInfo");
8
- var _packageInfo2 = require("@polkadot/types/cjs/packageInfo");
9
- var _packageInfo3 = require("@polkadot/types-codec/cjs/packageInfo");
10
- // Copyright 2017-2023 @polkadot/api-augment authors & contributors
11
- // SPDX-License-Identifier: Apache-2.0
12
- var _default = [_packageInfo.packageInfo, _packageInfo2.packageInfo, _packageInfo3.packageInfo];
13
- exports.default = _default;
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const packageInfo_1 = require("@polkadot/api-base/cjs/packageInfo");
4
+ const packageInfo_2 = require("@polkadot/types/cjs/packageInfo");
5
+ const packageInfo_3 = require("@polkadot/types-codec/cjs/packageInfo");
6
+ exports.default = [packageInfo_1.packageInfo, packageInfo_2.packageInfo, packageInfo_3.packageInfo];
@@ -1,12 +1,7 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- var _util = require("@polkadot/util");
5
- var _detectOther = _interopRequireDefault(require("./detectOther"));
6
- var _packageInfo = require("./packageInfo");
7
- // Copyright 2017-2023 @polkadot/api-augment authors & contributors
8
- // SPDX-License-Identifier: Apache-2.0
9
-
10
- // Do not edit, auto-generated by @polkadot/dev
11
-
12
- (0, _util.detectPackage)(_packageInfo.packageInfo, null, _detectOther.default);
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const util_1 = require("@polkadot/util");
5
+ const detectOther_1 = tslib_1.__importDefault(require("./detectOther"));
6
+ const packageInfo_1 = require("./packageInfo");
7
+ (0, util_1.detectPackage)(packageInfo_1.packageInfo, null, detectOther_1.default);
package/cjs/index.js CHANGED
@@ -1,17 +1,5 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
6
4
  require("./detectPackage");
7
- var _bundle = require("./bundle");
8
- Object.keys(_bundle).forEach(function (key) {
9
- if (key === "default" || key === "__esModule") return;
10
- if (key in exports && exports[key] === _bundle[key]) return;
11
- Object.defineProperty(exports, key, {
12
- enumerable: true,
13
- get: function () {
14
- return _bundle[key];
15
- }
16
- });
17
- });
5
+ tslib_1.__exportStar(require("./bundle"), exports);
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/consts");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/errors");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/events");
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
-
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../base");
4
4
  require("./consts");
5
5
  require("./errors");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/storage");
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
-
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("@polkadot/types-augment/registry/substrate");
4
4
  require("@polkadot/types-augment/registry/polkadot");
5
5
  require("@polkadot/types-augment/registry/kusama");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/calls");
package/cjs/kusama/tx.js CHANGED
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/submittable");
@@ -1,18 +1,4 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
2
+ Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.packageInfo = void 0;
7
- // Copyright 2017-2023 @polkadot/api-augment authors & contributors
8
- // SPDX-License-Identifier: Apache-2.0
9
-
10
- // Do not edit, auto-generated by @polkadot/dev
11
-
12
- const packageInfo = {
13
- name: '@polkadot/api-augment',
14
- path: typeof __dirname === 'string' ? __dirname : 'auto',
15
- type: 'cjs',
16
- version: '9.14.1'
17
- };
18
- exports.packageInfo = packageInfo;
4
+ exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.0.1' };
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/consts");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/errors");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/events");
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
-
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../base");
4
4
  require("./consts");
5
5
  require("./errors");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/storage");
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
-
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("@polkadot/types-augment/registry/substrate");
4
4
  require("@polkadot/types-augment/registry/polkadot");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/calls");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/submittable");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/consts");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/errors");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/events");
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
-
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../base");
4
4
  require("./consts");
5
5
  require("./errors");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/storage");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
-
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("@polkadot/types-augment/registry/substrate");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/calls");
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
-
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  require("@polkadot/api-base/types/submittable");
package/detectOther.js CHANGED
@@ -1,6 +1,3 @@
1
- // Copyright 2017-2023 @polkadot/api-augment authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
1
  import { packageInfo as baseInfo } from '@polkadot/api-base/packageInfo';
5
2
  import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
6
3
  import { packageInfo as codecInfo } from '@polkadot/types-codec/packageInfo';
package/detectPackage.js CHANGED
@@ -1,9 +1,4 @@
1
- // Copyright 2017-2023 @polkadot/api-augment authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- // Do not edit, auto-generated by @polkadot/dev
5
-
6
1
  import { detectPackage } from '@polkadot/util';
7
- import others from "./detectOther.js";
8
- import { packageInfo } from "./packageInfo.js";
2
+ import others from './detectOther.js';
3
+ import { packageInfo } from './packageInfo.js';
9
4
  detectPackage(packageInfo, null, others);
package/index.js CHANGED
@@ -1,5 +1,2 @@
1
- // Copyright 2017-2023 @polkadot/api-augment authors & contributors
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- import "./detectPackage.js";
5
- export * from "./bundle.js";
1
+ import './detectPackage.js';
2
+ export * from './bundle.js';
package/kusama/consts.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/consts';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/consts';
@@ -1112,6 +1112,10 @@ declare module '@polkadot/api-base/types/errors' {
1112
1112
  * pool at a time.
1113
1113
  **/
1114
1114
  AccountBelongsToOtherPool: AugmentedError<ApiType>;
1115
+ /**
1116
+ * Bonding extra is restricted to the exact pending reward amount.
1117
+ **/
1118
+ BondExtraRestricted: AugmentedError<ApiType>;
1115
1119
  /**
1116
1120
  * The pools state cannot be changed.
1117
1121
  **/
package/kusama/errors.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/errors';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/errors';
@@ -1183,9 +1183,9 @@ declare module '@polkadot/api-base/types/events' {
1183
1183
  * The roles of a pool have been updated to the given new roles. Note that the depositor
1184
1184
  * can never change.
1185
1185
  **/
1186
- RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, stateToggler: Option<AccountId32>, nominator: Option<AccountId32>], {
1186
+ RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32>], {
1187
1187
  root: Option<AccountId32>;
1188
- stateToggler: Option<AccountId32>;
1188
+ bouncer: Option<AccountId32>;
1189
1189
  nominator: Option<AccountId32>;
1190
1190
  }>;
1191
1191
  /**
package/kusama/events.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/events';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/events';
package/kusama/index.js CHANGED
@@ -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';
package/kusama/query.d.ts CHANGED
@@ -5,7 +5,7 @@ import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool,
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
7
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, 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, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, 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, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotPrimitivesVstagingExecutorParams, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
9
9
  import type { Observable } from '@polkadot/types/types';
10
10
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
11
11
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -143,6 +143,17 @@ declare module '@polkadot/api-base/types/storage' {
143
143
  * epoch.
144
144
  **/
145
145
  segmentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
146
+ /**
147
+ * A list of the last 100 skipped epochs and the corresponding session index
148
+ * when the epoch was skipped.
149
+ *
150
+ * This is only used for validating equivocation proofs. An equivocation proof
151
+ * must contains a key-ownership proof for a given session, therefore we need a
152
+ * way to tie together sessions and epoch indices, i.e. we need to validate that
153
+ * a validator was the owner of a given key on a given session, and what the
154
+ * active epoch index was during that session.
155
+ **/
156
+ skippedEpochs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
146
157
  /**
147
158
  * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
148
159
  **/
@@ -968,6 +979,10 @@ declare module '@polkadot/api-base/types/storage' {
968
979
  * Storage for bonded pools.
969
980
  **/
970
981
  bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
982
+ /**
983
+ * Map from a pool member account to their opted claim permission.
984
+ **/
985
+ claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
971
986
  /**
972
987
  * Counter for the related counted storage map
973
988
  **/
@@ -1352,6 +1367,10 @@ declare module '@polkadot/api-base/types/storage' {
1352
1367
  * The earliest session for which previous session info is stored.
1353
1368
  **/
1354
1369
  earliestStoredSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1370
+ /**
1371
+ * Executor parameter set for a given session index
1372
+ **/
1373
+ sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1355
1374
  /**
1356
1375
  * Session information in a rolling window.
1357
1376
  * Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
package/kusama/query.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/storage';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/storage';
@@ -1,6 +1,3 @@
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';
5
2
  import '@polkadot/types-augment/registry/polkadot';
6
3
  import '@polkadot/types-augment/registry/kusama';
package/kusama/runtime.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/calls';
7
-
8
- // declare module
2
+ import '@polkadot/api-base/types/calls';