@polkadot/api-augment 9.5.2 → 9.6.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 (47) hide show
  1. package/base.js +1 -0
  2. package/bundle.js +1 -0
  3. package/cjs/base.js +0 -1
  4. package/cjs/bundle.js +0 -2
  5. package/cjs/detectOther.js +0 -4
  6. package/cjs/detectPackage.js +2 -4
  7. package/cjs/index.js +0 -3
  8. package/cjs/kusama/index.js +0 -7
  9. package/cjs/kusama/registry.js +0 -2
  10. package/cjs/packageInfo.js +3 -1
  11. package/cjs/polkadot/index.js +0 -7
  12. package/cjs/polkadot/registry.js +0 -1
  13. package/cjs/substrate/index.js +0 -7
  14. package/detectOther.js +1 -0
  15. package/detectPackage.js +2 -0
  16. package/index.js +1 -0
  17. package/kusama/consts.js +4 -2
  18. package/kusama/errors.js +4 -2
  19. package/kusama/events.js +4 -2
  20. package/kusama/index.js +1 -0
  21. package/kusama/query.js +4 -2
  22. package/kusama/registry.js +1 -0
  23. package/kusama/runtime.js +4 -2
  24. package/kusama/tx.js +4 -2
  25. package/package.json +6 -6
  26. package/packageInfo.js +3 -1
  27. package/polkadot/consts.js +4 -2
  28. package/polkadot/errors.js +4 -2
  29. package/polkadot/events.js +4 -2
  30. package/polkadot/index.js +1 -0
  31. package/polkadot/query.js +4 -2
  32. package/polkadot/registry.js +1 -0
  33. package/polkadot/runtime.js +4 -2
  34. package/polkadot/tx.js +4 -2
  35. package/substrate/consts.d.ts +10 -29
  36. package/substrate/consts.js +4 -2
  37. package/substrate/errors.d.ts +8 -28
  38. package/substrate/errors.js +4 -2
  39. package/substrate/events.d.ts +29 -63
  40. package/substrate/events.js +4 -2
  41. package/substrate/index.js +1 -0
  42. package/substrate/query.d.ts +14 -25
  43. package/substrate/query.js +4 -2
  44. package/substrate/registry.js +1 -0
  45. package/substrate/runtime.js +4 -2
  46. package/substrate/tx.d.ts +70 -168
  47. package/substrate/tx.js +4 -2
package/base.js CHANGED
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // for the API, we decorate not only the endpoints, but all types
4
5
  import '@polkadot/rpc-augment';
5
6
  import '@polkadot/types-augment';
package/bundle.js CHANGED
@@ -1,4 +1,5 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import "./substrate/index.js";
4
5
  export { packageInfo } from "./packageInfo.js";
package/cjs/base.js CHANGED
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
2
 
3
3
  require("@polkadot/rpc-augment");
4
-
5
4
  require("@polkadot/types-augment");
package/cjs/bundle.js CHANGED
@@ -9,7 +9,5 @@ Object.defineProperty(exports, "packageInfo", {
9
9
  return _packageInfo.packageInfo;
10
10
  }
11
11
  });
12
-
13
12
  require("./substrate");
14
-
15
13
  var _packageInfo = require("./packageInfo");
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _packageInfo = require("@polkadot/api-base/cjs/packageInfo");
9
-
10
8
  var _packageInfo2 = require("@polkadot/types/cjs/packageInfo");
11
-
12
9
  var _packageInfo3 = require("@polkadot/types-codec/cjs/packageInfo");
13
-
14
10
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
15
11
  // SPDX-License-Identifier: Apache-2.0
16
12
  var _default = [_packageInfo.packageInfo, _packageInfo2.packageInfo, _packageInfo3.packageInfo];
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  var _util = require("@polkadot/util");
6
-
7
5
  var _detectOther = _interopRequireDefault(require("./detectOther"));
8
-
9
6
  var _packageInfo = require("./packageInfo");
10
-
11
7
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
12
8
  // SPDX-License-Identifier: Apache-2.0
9
+
13
10
  // Do not edit, auto-generated by @polkadot/dev
11
+
14
12
  (0, _util.detectPackage)(_packageInfo.packageInfo, null, _detectOther.default);
package/cjs/index.js CHANGED
@@ -3,11 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
-
7
6
  require("./detectPackage");
8
-
9
7
  var _bundle = require("./bundle");
10
-
11
8
  Object.keys(_bundle).forEach(function (key) {
12
9
  if (key === "default" || key === "__esModule") return;
13
10
  if (key in exports && exports[key] === _bundle[key]) return;
@@ -1,17 +1,10 @@
1
1
  "use strict";
2
2
 
3
3
  require("../base");
4
-
5
4
  require("./consts");
6
-
7
5
  require("./errors");
8
-
9
6
  require("./events");
10
-
11
7
  require("./query");
12
-
13
8
  require("./registry");
14
-
15
9
  require("./runtime");
16
-
17
10
  require("./tx");
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
2
 
3
3
  require("@polkadot/types-augment/registry/substrate");
4
-
5
4
  require("@polkadot/types-augment/registry/polkadot");
6
-
7
5
  require("@polkadot/types-augment/registry/kusama");
@@ -6,11 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.packageInfo = void 0;
7
7
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
+
9
10
  // Do not edit, auto-generated by @polkadot/dev
11
+
10
12
  const packageInfo = {
11
13
  name: '@polkadot/api-augment',
12
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
15
  type: 'cjs',
14
- version: '9.5.2'
16
+ version: '9.6.1'
15
17
  };
16
18
  exports.packageInfo = packageInfo;
@@ -1,17 +1,10 @@
1
1
  "use strict";
2
2
 
3
3
  require("../base");
4
-
5
4
  require("./consts");
6
-
7
5
  require("./errors");
8
-
9
6
  require("./events");
10
-
11
7
  require("./query");
12
-
13
8
  require("./registry");
14
-
15
9
  require("./runtime");
16
-
17
10
  require("./tx");
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
2
 
3
3
  require("@polkadot/types-augment/registry/substrate");
4
-
5
4
  require("@polkadot/types-augment/registry/polkadot");
@@ -1,17 +1,10 @@
1
1
  "use strict";
2
2
 
3
3
  require("../base");
4
-
5
4
  require("./consts");
6
-
7
5
  require("./errors");
8
-
9
6
  require("./events");
10
-
11
7
  require("./query");
12
-
13
8
  require("./registry");
14
-
15
9
  require("./runtime");
16
-
17
10
  require("./tx");
package/detectOther.js CHANGED
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import { packageInfo as baseInfo } from '@polkadot/api-base/packageInfo';
4
5
  import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
5
6
  import { packageInfo as codecInfo } from '@polkadot/types-codec/packageInfo';
package/detectPackage.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // Do not edit, auto-generated by @polkadot/dev
5
+
4
6
  import { detectPackage } from '@polkadot/util';
5
7
  import others from "./detectOther.js";
6
8
  import { packageInfo } from "./packageInfo.js";
package/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import "./detectPackage.js";
4
5
  export * from "./bundle.js";
package/kusama/consts.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/consts'; // declare module
6
+ import '@polkadot/api-base/types/consts';
7
+
8
+ // declare module
package/kusama/errors.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/errors'; // declare module
6
+ import '@polkadot/api-base/types/errors';
7
+
8
+ // declare module
package/kusama/events.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/events'; // declare module
6
+ import '@polkadot/api-base/types/events';
7
+
8
+ // declare module
package/kusama/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import "../base.js";
4
5
  import "./consts.js";
5
6
  import "./errors.js";
package/kusama/query.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/storage'; // declare module
6
+ import '@polkadot/api-base/types/storage';
7
+
8
+ // declare module
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import '@polkadot/types-augment/registry/substrate';
4
5
  import '@polkadot/types-augment/registry/polkadot';
5
6
  import '@polkadot/types-augment/registry/kusama';
package/kusama/runtime.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/calls'; // declare module
6
+ import '@polkadot/api-base/types/calls';
7
+
8
+ // declare module
package/kusama/tx.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/submittable'; // declare module
6
+ import '@polkadot/api-base/types/submittable';
7
+
8
+ // declare module
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "9.5.2",
23
+ "version": "9.6.1",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
@@ -186,11 +186,11 @@
186
186
  },
187
187
  "dependencies": {
188
188
  "@babel/runtime": "^7.19.4",
189
- "@polkadot/api-base": "9.5.2",
190
- "@polkadot/rpc-augment": "9.5.2",
191
- "@polkadot/types": "9.5.2",
192
- "@polkadot/types-augment": "9.5.2",
193
- "@polkadot/types-codec": "9.5.2",
189
+ "@polkadot/api-base": "9.6.1",
190
+ "@polkadot/rpc-augment": "9.6.1",
191
+ "@polkadot/types": "9.6.1",
192
+ "@polkadot/types-augment": "9.6.1",
193
+ "@polkadot/types-codec": "9.6.1",
194
194
  "@polkadot/util": "^10.1.11"
195
195
  }
196
196
  }
package/packageInfo.js CHANGED
@@ -1,9 +1,11 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // Do not edit, auto-generated by @polkadot/dev
5
+
4
6
  export const packageInfo = {
5
7
  name: '@polkadot/api-augment',
6
8
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
7
9
  type: 'esm',
8
- version: '9.5.2'
10
+ version: '9.6.1'
9
11
  };
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/consts'; // declare module
6
+ import '@polkadot/api-base/types/consts';
7
+
8
+ // declare module
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/errors'; // declare module
6
+ import '@polkadot/api-base/types/errors';
7
+
8
+ // declare module
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/events'; // declare module
6
+ import '@polkadot/api-base/types/events';
7
+
8
+ // declare module
package/polkadot/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import "../base.js";
4
5
  import "./consts.js";
5
6
  import "./errors.js";
package/polkadot/query.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/storage'; // declare module
6
+ import '@polkadot/api-base/types/storage';
7
+
8
+ // declare module
@@ -1,4 +1,5 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import '@polkadot/types-augment/registry/substrate';
4
5
  import '@polkadot/types-augment/registry/polkadot';
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/calls'; // declare module
6
+ import '@polkadot/api-base/types/calls';
7
+
8
+ // declare module
package/polkadot/tx.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/submittable'; // declare module
6
+ import '@polkadot/api-base/types/submittable';
7
+
8
+ // declare module
@@ -183,27 +183,6 @@ declare module '@polkadot/api-base/types/consts' {
183
183
  [key: string]: Codec;
184
184
  };
185
185
  contracts: {
186
- /**
187
- * The weight per byte of code that is charged when loading a contract from storage.
188
- *
189
- * Currently, FRAME only charges fees for computation incurred but not for PoV
190
- * consumption caused for storage access. This is usually not exploitable because
191
- * accessing storage carries some substantial weight costs, too. However in case
192
- * of contract code very much PoV consumption can be caused while consuming very little
193
- * computation. This could be used to keep the chain busy without paying the
194
- * proper fee for it. Until this is resolved we charge from the weight meter for
195
- * contract access.
196
- *
197
- * For more information check out: <https://github.com/paritytech/substrate/issues/10301>
198
- *
199
- * [`DefaultContractAccessWeight`] is a safe default to be used for Polkadot or Kusama
200
- * parachains.
201
- *
202
- * # Note
203
- *
204
- * This is only relevant for parachains. Set to zero in case of a standalone chain.
205
- **/
206
- contractAccessWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
207
186
  /**
208
187
  * The maximum number of contracts that can be pending for deletion.
209
188
  *
@@ -303,6 +282,14 @@ declare module '@polkadot/api-base/types/consts' {
303
282
  * How often (in blocks) new public referenda are launched.
304
283
  **/
305
284
  launchPeriod: u32 & AugmentedConst<ApiType>;
285
+ /**
286
+ * The maximum number of items which can be blacklisted.
287
+ **/
288
+ maxBlacklisted: u32 & AugmentedConst<ApiType>;
289
+ /**
290
+ * The maximum number of deposits a public proposal may have at any time.
291
+ **/
292
+ maxDeposits: u32 & AugmentedConst<ApiType>;
306
293
  /**
307
294
  * The maximum number of public proposals that can exist at any time.
308
295
  **/
@@ -318,10 +305,6 @@ declare module '@polkadot/api-base/types/consts' {
318
305
  * The minimum amount to be used as a deposit for a public referendum proposal.
319
306
  **/
320
307
  minimumDeposit: u128 & AugmentedConst<ApiType>;
321
- /**
322
- * The amount of balance that must be deposited per byte of preimage stored.
323
- **/
324
- preimageByteDeposit: u128 & AugmentedConst<ApiType>;
325
308
  /**
326
309
  * The minimum period of vote locking.
327
310
  *
@@ -807,13 +790,11 @@ declare module '@polkadot/api-base/types/consts' {
807
790
  };
808
791
  scheduler: {
809
792
  /**
810
- * The maximum weight that may be scheduled per block for any dispatchables of less
811
- * priority than `schedule::HARD_DEADLINE`.
793
+ * The maximum weight that may be scheduled per block for any dispatchables.
812
794
  **/
813
795
  maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
814
796
  /**
815
797
  * The maximum number of scheduled calls in the queue for a single block.
816
- * Not strictly enforced, but used for weight estimation.
817
798
  **/
818
799
  maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
819
800
  /**
@@ -1165,7 +1146,7 @@ declare module '@polkadot/api-base/types/consts' {
1165
1146
  **/
1166
1147
  [key: string]: Codec;
1167
1148
  };
1168
- voterBagsList: {
1149
+ voterList: {
1169
1150
  /**
1170
1151
  * The list of thresholds separating the various bags.
1171
1152
  *
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/consts'; // declare module
6
+ import '@polkadot/api-base/types/consts';
7
+
8
+ // declare module
@@ -644,18 +644,10 @@ declare module '@polkadot/api-base/types/errors' {
644
644
  * Identity may not veto a proposal twice
645
645
  **/
646
646
  AlreadyVetoed: AugmentedError<ApiType>;
647
- /**
648
- * Preimage already noted
649
- **/
650
- DuplicatePreimage: AugmentedError<ApiType>;
651
647
  /**
652
648
  * Proposal already made
653
649
  **/
654
650
  DuplicateProposal: AugmentedError<ApiType>;
655
- /**
656
- * Imminent
657
- **/
658
- Imminent: AugmentedError<ApiType>;
659
651
  /**
660
652
  * The instant referendum origin is currently disallowed.
661
653
  **/
@@ -692,10 +684,6 @@ declare module '@polkadot/api-base/types/errors' {
692
684
  * The account is not currently delegating.
693
685
  **/
694
686
  NotDelegating: AugmentedError<ApiType>;
695
- /**
696
- * Not imminent
697
- **/
698
- NotImminent: AugmentedError<ApiType>;
699
687
  /**
700
688
  * Next external proposal not simple majority
701
689
  **/
@@ -704,14 +692,6 @@ declare module '@polkadot/api-base/types/errors' {
704
692
  * The given account did not vote on the referendum.
705
693
  **/
706
694
  NotVoter: AugmentedError<ApiType>;
707
- /**
708
- * Invalid preimage
709
- **/
710
- PreimageInvalid: AugmentedError<ApiType>;
711
- /**
712
- * Preimage not found
713
- **/
714
- PreimageMissing: AugmentedError<ApiType>;
715
695
  /**
716
696
  * Proposal still blacklisted
717
697
  **/
@@ -725,13 +705,9 @@ declare module '@polkadot/api-base/types/errors' {
725
705
  **/
726
706
  ReferendumInvalid: AugmentedError<ApiType>;
727
707
  /**
728
- * Too early
729
- **/
730
- TooEarly: AugmentedError<ApiType>;
731
- /**
732
- * Maximum number of proposals reached.
708
+ * Maximum number of items reached.
733
709
  **/
734
- TooManyProposals: AugmentedError<ApiType>;
710
+ TooMany: AugmentedError<ApiType>;
735
711
  /**
736
712
  * Value too low
737
713
  **/
@@ -1321,7 +1297,7 @@ declare module '@polkadot/api-base/types/errors' {
1321
1297
  /**
1322
1298
  * Preimage is too large to store on-chain.
1323
1299
  **/
1324
- TooLarge: AugmentedError<ApiType>;
1300
+ TooBig: AugmentedError<ApiType>;
1325
1301
  /**
1326
1302
  * Generic error
1327
1303
  **/
@@ -1596,6 +1572,10 @@ declare module '@polkadot/api-base/types/errors' {
1596
1572
  * Failed to schedule a call
1597
1573
  **/
1598
1574
  FailedToSchedule: AugmentedError<ApiType>;
1575
+ /**
1576
+ * Attempt to use a non-named function on a named task.
1577
+ **/
1578
+ Named: AugmentedError<ApiType>;
1599
1579
  /**
1600
1580
  * Cannot find the scheduled call.
1601
1581
  **/
@@ -2201,7 +2181,7 @@ declare module '@polkadot/api-base/types/errors' {
2201
2181
  **/
2202
2182
  [key: string]: AugmentedError<ApiType>;
2203
2183
  };
2204
- voterBagsList: {
2184
+ voterList: {
2205
2185
  /**
2206
2186
  * A error in the list interface implementation.
2207
2187
  **/
@@ -1,6 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
-
3
2
  /* eslint-disable */
3
+
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/errors'; // declare module
6
+ import '@polkadot/api-base/types/errors';
7
+
8
+ // declare module