Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0e0008399 | ||
|
|
a6eeba83c1 | ||
|
|
541eceae82 | ||
|
|
3d0a1701fa | ||
|
|
0e46592f4d | ||
|
|
a561253de9 | ||
|
|
0c6a4754f0 | ||
|
|
60dd4e9699 | ||
|
|
f10f79c0ac | ||
|
|
8394c71cfa | ||
|
|
dd0bd21d88 | ||
|
|
58875b8125 | ||
|
|
7e0586794a | ||
|
|
d800886ee0 | ||
|
|
0bdfc37096 | ||
|
|
db3b3f606b |
@@ -1,25 +0,0 @@
|
||||
// Copyright 2017-2023 @polkadot/api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const base = require('@polkadot/dev/config/eslint.cjs');
|
||||
|
||||
module.exports = {
|
||||
...base,
|
||||
ignorePatterns: [
|
||||
...base.ignorePatterns,
|
||||
'/scripts'
|
||||
],
|
||||
parserOptions: {
|
||||
...base.parserOptions,
|
||||
project: [
|
||||
'./tsconfig.eslint.json'
|
||||
]
|
||||
},
|
||||
rules: {
|
||||
...base.rules,
|
||||
// add override for any (a metric ton of them, initial conversion)
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
// this seems very broken atm, false positives
|
||||
'@typescript-eslint/unbound-method': 'off'
|
||||
}
|
||||
};
|
||||
@@ -21,5 +21,5 @@ jobs:
|
||||
- name: ${{ matrix.step }}
|
||||
if: always()
|
||||
run: |
|
||||
yarn install --immutable | grep -v 'YN0013'
|
||||
yarn install --immutable
|
||||
yarn ${{ matrix.step }}
|
||||
|
||||
@@ -27,5 +27,5 @@ jobs:
|
||||
node-version: 'lts/*'
|
||||
- name: ${{ matrix.step }}
|
||||
run: |
|
||||
yarn install --immutable | grep -v 'YN0013'
|
||||
yarn install --immutable
|
||||
yarn ${{ matrix.step }}
|
||||
|
||||
@@ -2,6 +2,11 @@ enableImmutableInstalls: false
|
||||
|
||||
enableProgressBars: false
|
||||
|
||||
logFilters:
|
||||
# Discard any "cannot be found in cache" messages
|
||||
- code: YN0013
|
||||
level: discard
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
||||
plugins:
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 10.7.2 May 21, 2023
|
||||
|
||||
Contributed:
|
||||
|
||||
- Allow `api.setSigner(...)` to clear existing (Thanks to https://github.com/polymath-eric)
|
||||
|
||||
Changes:
|
||||
|
||||
- Adjust `@polkadot/types-create` exports with no duplicates
|
||||
|
||||
|
||||
## 10.7.1 May 13, 2023
|
||||
|
||||
Changes:
|
||||
|
||||
- Update to latest Polkadot, Kusama & Substrate metadata
|
||||
- Add `module` to `package.json` export map (ESM-only)
|
||||
|
||||
|
||||
## 10.6.1 May 7, 2023
|
||||
|
||||
Contributed:
|
||||
|
||||
+2
-1
@@ -1,4 +1,4 @@
|
||||
3457 Jaco 10.6.1 (#5635)
|
||||
3464 Jaco 10.7.2 (#5652)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
37 Keith Ingram Update contract types and rpc (#4541)
|
||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||
@@ -98,6 +98,7 @@
|
||||
1 Paul M Fox Basic BTreeMaps codec support (#1474)
|
||||
1 philipstanislaus Update types for centrifuge chain v1.2.0 (#2424)
|
||||
1 Pierre Krieger Update substrate/connect to 0.7.6 (#4940)
|
||||
1 polymath-eric Allow unset external signer (#5649)
|
||||
1 Qinxuan Chen Add fp_account::AccountId20 mapping (#5551)
|
||||
1 qiuhao update DeriveCustom type (#2581)
|
||||
1 r0t0r-r0t0r Fix memory leak on raw rpc call (#4505)
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
// Copyright 2017-2023 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import baseConfig from '@polkadot/dev/config/eslint';
|
||||
|
||||
export default [
|
||||
...baseConfig,
|
||||
{
|
||||
rules: {
|
||||
// add override for any (a metric ton of them, initial conversion)
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
// we generally use this in isFunction, not via calling
|
||||
'@typescript-eslint/unbound-method': 'off'
|
||||
}
|
||||
}
|
||||
];
|
||||
+5
-5
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"versions": {
|
||||
"git": "10.6.1",
|
||||
"npm": "10.6.1"
|
||||
"git": "10.7.2",
|
||||
"npm": "10.7.2"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
@@ -40,9 +40,9 @@
|
||||
"test:one": "polkadot-dev-run-test --env node"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/dev": "^0.73.11",
|
||||
"@polkadot/dev": "^0.75.4",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/node": "^20.1.0"
|
||||
"@types/node": "^20.2.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"typescript": "^5.0.4"
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-base": "10.6.1",
|
||||
"@polkadot/rpc-augment": "10.6.1",
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/types-augment": "10.6.1",
|
||||
"@polkadot/types-codec": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"tslib": "^2.5.0"
|
||||
"@polkadot/api-base": "10.7.2",
|
||||
"@polkadot/rpc-augment": "10.7.2",
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/types-augment": "10.7.2",
|
||||
"@polkadot/types-codec": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"tslib": "^2.5.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1296,11 +1296,6 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Para is not registered in our system.
|
||||
**/
|
||||
NotRegistered: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism
|
||||
* is disabled.
|
||||
**/
|
||||
PvfCheckDisabled: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The given validator already has cast a vote.
|
||||
**/
|
||||
|
||||
@@ -3493,7 +3493,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
/**
|
||||
* Make some on-chain remark.
|
||||
*
|
||||
* ## Complexity
|
||||
* - `O(1)`
|
||||
**/
|
||||
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
@@ -3503,16 +3502,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Set the new runtime code.
|
||||
*
|
||||
* ## Complexity
|
||||
* - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
|
||||
**/
|
||||
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Set the new runtime code without doing any checks of the given `code`.
|
||||
*
|
||||
* ## Complexity
|
||||
* - `O(C)` where `C` length of `code`
|
||||
**/
|
||||
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -1232,11 +1232,6 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Para is not registered in our system.
|
||||
**/
|
||||
NotRegistered: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism
|
||||
* is disabled.
|
||||
**/
|
||||
PvfCheckDisabled: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The given validator already has cast a vote.
|
||||
**/
|
||||
|
||||
@@ -3326,7 +3326,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
/**
|
||||
* Make some on-chain remark.
|
||||
*
|
||||
* ## Complexity
|
||||
* - `O(1)`
|
||||
**/
|
||||
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
@@ -3336,16 +3335,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Set the new runtime code.
|
||||
*
|
||||
* ## Complexity
|
||||
* - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
|
||||
**/
|
||||
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Set the new runtime code without doing any checks of the given `code`.
|
||||
*
|
||||
* ## Complexity
|
||||
* - `O(C)` where `C` length of `code`
|
||||
**/
|
||||
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
|
||||
@@ -151,6 +151,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Some asset `asset_id` was thawed.
|
||||
**/
|
||||
AssetThawed: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
|
||||
/**
|
||||
* Some account `who` was blocked.
|
||||
**/
|
||||
Blocked: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32], { assetId: u32, who: AccountId32 }>;
|
||||
/**
|
||||
* Some assets were destroyed.
|
||||
**/
|
||||
@@ -199,6 +203,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Some account `who` was thawed.
|
||||
**/
|
||||
Thawed: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32], { assetId: u32, who: AccountId32 }>;
|
||||
/**
|
||||
* Some account `who` was created with a deposit from `depositor`.
|
||||
**/
|
||||
Touched: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, depositor: AccountId32], { assetId: u32, who: AccountId32, depositor: AccountId32 }>;
|
||||
/**
|
||||
* Some assets were transferred.
|
||||
**/
|
||||
|
||||
@@ -276,6 +276,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Weight: `O(1)`
|
||||
**/
|
||||
approveTransfer: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
|
||||
/**
|
||||
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
||||
*
|
||||
* Origin must be Signed and the sender should be the Freezer of the asset `id`.
|
||||
*
|
||||
* - `id`: The identifier of the account's asset.
|
||||
* - `who`: The account to be unblocked.
|
||||
*
|
||||
* Emits `Blocked`.
|
||||
*
|
||||
* Weight: `O(1)`
|
||||
**/
|
||||
block: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
||||
/**
|
||||
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
||||
*
|
||||
@@ -506,7 +519,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
forceTransfer: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, Compact<u128>]>;
|
||||
/**
|
||||
* Disallow further unprivileged transfers from an account.
|
||||
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
||||
* must already exist as an entry in `Account`s of the asset. If you want to freeze an
|
||||
* account that does not have an entry, use `touch_other` first.
|
||||
*
|
||||
* Origin must be Signed and the sender should be the Freezer of the asset `id`.
|
||||
*
|
||||
@@ -546,16 +561,31 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
mint: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
|
||||
/**
|
||||
* Return the deposit (if any) of an asset account.
|
||||
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
||||
* account.
|
||||
*
|
||||
* The origin must be Signed.
|
||||
*
|
||||
* - `id`: The identifier of the asset for the account to be created.
|
||||
* - `id`: The identifier of the asset for which the caller would like the deposit
|
||||
* refunded.
|
||||
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
||||
*
|
||||
* Emits `Refunded` event when successful.
|
||||
**/
|
||||
refund: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, bool]>;
|
||||
/**
|
||||
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
||||
*
|
||||
* The origin must be Signed and either the account owner, depositor, or asset `Admin`. In
|
||||
* order to burn a non-zero balance of the asset, the caller must be the account and should
|
||||
* use `refund`.
|
||||
*
|
||||
* - `id`: The identifier of the asset for the account holding a deposit.
|
||||
* - `who`: The account to refund.
|
||||
*
|
||||
* Emits `Refunded` event when successful.
|
||||
**/
|
||||
refundOther: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
||||
/**
|
||||
* Set the metadata for an asset.
|
||||
*
|
||||
@@ -620,7 +650,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
startDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||
/**
|
||||
* Allow unprivileged transfers from an account again.
|
||||
* Allow unprivileged transfers to and from an account again.
|
||||
*
|
||||
* Origin must be Signed and the sender should be the Admin of the asset `id`.
|
||||
*
|
||||
@@ -656,6 +686,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Emits `Touched` event when successful.
|
||||
**/
|
||||
touch: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||
/**
|
||||
* Create an asset account for `who`.
|
||||
*
|
||||
* A deposit will be taken from the signer account.
|
||||
*
|
||||
* - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
|
||||
* must have sufficient funds for a deposit to be taken.
|
||||
* - `id`: The identifier of the asset for the account to be created.
|
||||
* - `who`: The account to be created.
|
||||
*
|
||||
* Emits `Touched` event when successful.
|
||||
**/
|
||||
touchOther: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
||||
/**
|
||||
* Move some assets from the sender account to another.
|
||||
*
|
||||
@@ -4580,7 +4623,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
|
||||
* unless the `origin` falls below _existential deposit_ and gets removed as dust.
|
||||
**/
|
||||
bond: AugmentedSubmittable<(controller: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | { None: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, PalletStakingRewardDestination]>;
|
||||
bond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | { None: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PalletStakingRewardDestination]>;
|
||||
/**
|
||||
* Add some extra amount that have appeared in the stash `free_balance` into the balance up
|
||||
* for staking.
|
||||
@@ -4792,7 +4835,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
scaleValidatorCount: AugmentedSubmittable<(factor: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Percent]>;
|
||||
/**
|
||||
* (Re-)set the controller of a stash.
|
||||
* (Re-)sets the controller of a stash to the stash itself. This function previously
|
||||
* accepted a `controller` argument to set the controller to an account other than the
|
||||
* stash itself. This functionality has now been removed, now only setting the controller
|
||||
* to the stash, if it is not already.
|
||||
*
|
||||
* Effects will be felt instantly (as soon as this function is completed successfully).
|
||||
*
|
||||
@@ -4804,7 +4850,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - Contains a limited number of reads.
|
||||
* - Writes are limited to the `origin` account key.
|
||||
**/
|
||||
setController: AugmentedSubmittable<(controller: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||
setController: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Set the validators who cannot be slashed (if any).
|
||||
*
|
||||
@@ -5043,7 +5089,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
/**
|
||||
* Make some on-chain remark.
|
||||
*
|
||||
* ## Complexity
|
||||
* - `O(1)`
|
||||
**/
|
||||
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
@@ -5053,16 +5098,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Set the new runtime code.
|
||||
*
|
||||
* ## Complexity
|
||||
* - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
|
||||
**/
|
||||
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Set the new runtime code without doing any checks of the given `code`.
|
||||
*
|
||||
* ## Complexity
|
||||
* - `O(C)` where `C` length of `code`
|
||||
**/
|
||||
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.spec.ts",
|
||||
"**/mod.ts",
|
||||
"**/kusama/*.ts",
|
||||
"**/polkadot/*.ts"
|
||||
],
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
"emitDeclarationOnly": false,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": [
|
||||
"**/kusama/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../api-augment/tsconfig.build.json" },
|
||||
{ "path": "../api-augment/tsconfig.kusama.json" },
|
||||
{ "path": "../api-base/tsconfig.build.json" },
|
||||
{ "path": "../rpc-augment/tsconfig.build.json" },
|
||||
{ "path": "../types/tsconfig.build.json" },
|
||||
{ "path": "../types-augment/tsconfig.build.json" },
|
||||
{ "path": "../types-support/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
@@ -18,13 +18,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "10.6.1",
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"@polkadot/rpc-core": "10.7.2",
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.5.0"
|
||||
"tslib": "^2.5.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/mod.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../rpc-core/tsconfig.build.json" },
|
||||
{ "path": "../types/tsconfig.build.json" }
|
||||
|
||||
@@ -18,20 +18,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "10.6.1",
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/types-codec": "10.6.1",
|
||||
"@polkadot/types-create": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"@polkadot/util-crypto": "^12.1.2",
|
||||
"@polkadot/api": "10.7.2",
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/types-codec": "10.7.2",
|
||||
"@polkadot/types-create": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"@polkadot/util-crypto": "^12.2.1",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.5.0"
|
||||
"tslib": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "10.6.1",
|
||||
"@polkadot/keyring": "^12.1.2"
|
||||
"@polkadot/api-augment": "10.7.2",
|
||||
"@polkadot/keyring": "^12.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -6,11 +6,10 @@
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/test/**/*.json",
|
||||
"**/test/**/*.ts",
|
||||
"**/test/**/*.wasm",
|
||||
"**/checkTypes.manual.ts",
|
||||
"**/test/**/*",
|
||||
"**/*.spec.ts",
|
||||
"**/checkTypes.manual.ts",
|
||||
"**/mod.ts",
|
||||
"mock.ts"
|
||||
],
|
||||
"references": [
|
||||
|
||||
@@ -18,25 +18,25 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "10.6.1",
|
||||
"@polkadot/api-augment": "10.6.1",
|
||||
"@polkadot/api-base": "10.6.1",
|
||||
"@polkadot/rpc-core": "10.6.1",
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/types-codec": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"@polkadot/util-crypto": "^12.1.2",
|
||||
"@polkadot/api": "10.7.2",
|
||||
"@polkadot/api-augment": "10.7.2",
|
||||
"@polkadot/api-base": "10.7.2",
|
||||
"@polkadot/rpc-core": "10.7.2",
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/types-codec": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"@polkadot/util-crypto": "^12.2.1",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.5.0"
|
||||
"tslib": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "10.6.1",
|
||||
"@polkadot/api-augment": "10.6.1",
|
||||
"@polkadot/rpc-augment": "10.6.1",
|
||||
"@polkadot/rpc-provider": "10.6.1",
|
||||
"@polkadot/types-support": "10.6.1"
|
||||
"@polkadot/api": "10.7.2",
|
||||
"@polkadot/api-augment": "10.7.2",
|
||||
"@polkadot/rpc-augment": "10.7.2",
|
||||
"@polkadot/rpc-provider": "10.7.2",
|
||||
"@polkadot/types-support": "10.7.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"exclude": [
|
||||
"**/test/*",
|
||||
"**/checkTypes.manual.ts",
|
||||
"**/mod.ts",
|
||||
"**/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
|
||||
+18
-18
@@ -18,29 +18,29 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-augment": "10.6.1",
|
||||
"@polkadot/api-base": "10.6.1",
|
||||
"@polkadot/api-derive": "10.6.1",
|
||||
"@polkadot/keyring": "^12.1.2",
|
||||
"@polkadot/rpc-augment": "10.6.1",
|
||||
"@polkadot/rpc-core": "10.6.1",
|
||||
"@polkadot/rpc-provider": "10.6.1",
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/types-augment": "10.6.1",
|
||||
"@polkadot/types-codec": "10.6.1",
|
||||
"@polkadot/types-create": "10.6.1",
|
||||
"@polkadot/types-known": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"@polkadot/util-crypto": "^12.1.2",
|
||||
"@polkadot/api-augment": "10.7.2",
|
||||
"@polkadot/api-base": "10.7.2",
|
||||
"@polkadot/api-derive": "10.7.2",
|
||||
"@polkadot/keyring": "^12.2.1",
|
||||
"@polkadot/rpc-augment": "10.7.2",
|
||||
"@polkadot/rpc-core": "10.7.2",
|
||||
"@polkadot/rpc-provider": "10.7.2",
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/types-augment": "10.7.2",
|
||||
"@polkadot/types-codec": "10.7.2",
|
||||
"@polkadot/types-create": "10.7.2",
|
||||
"@polkadot/types-known": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"@polkadot/util-crypto": "^12.2.1",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.5.0"
|
||||
"tslib": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "10.6.1",
|
||||
"@polkadot/types-support": "10.6.1"
|
||||
"@polkadot/api-augment": "10.7.2",
|
||||
"@polkadot/types-support": "10.7.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ export abstract class ApiBase<ApiType extends ApiTypes> extends Getters<ApiType>
|
||||
/**
|
||||
* @description Set an external signer which will be used to sign extrinsic when account passed in is not KeyringPair
|
||||
*/
|
||||
public setSigner (signer: Signer): void {
|
||||
public setSigner (signer: Signer | undefined): void {
|
||||
this._rx.signer = signer;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -21,7 +21,7 @@ describe('Combinator', (): void => {
|
||||
fns = [];
|
||||
});
|
||||
|
||||
it('it triggers on all values', async (): Promise<void> => {
|
||||
it('triggers on all values', async (): Promise<void> => {
|
||||
await new Promise<boolean>((resolve) => {
|
||||
let count = 0;
|
||||
const combinator = new Combinator(
|
||||
@@ -90,6 +90,7 @@ describe('Combinator', (): void => {
|
||||
});
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('unsubscribes as required', async (): Promise<void> => {
|
||||
await new Promise<void>((resolve) => {
|
||||
// eslint-disable-next-line @typescript-eslint/require-await
|
||||
|
||||
@@ -87,6 +87,7 @@ describe('ApiPromise', (): void => {
|
||||
await api.disconnect();
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('Create API instance will error on failure to await ready', async (): Promise<void> => {
|
||||
class ErrorApiPromise extends ApiPromise {
|
||||
constructor () {
|
||||
|
||||
@@ -25,12 +25,19 @@ export type { Signer, SignerResult } from '@polkadot/types/types';
|
||||
export { ApiBase } from '../base/index.js';
|
||||
|
||||
// all starred
|
||||
// eslint-disable-next-line import/export
|
||||
export * from '@polkadot/api/types/calls';
|
||||
// eslint-disable-next-line import/export
|
||||
export * from '@polkadot/api/types/consts';
|
||||
// eslint-disable-next-line import/export
|
||||
export * from '@polkadot/api/types/errors';
|
||||
// eslint-disable-next-line import/export
|
||||
export * from '@polkadot/api/types/events';
|
||||
// eslint-disable-next-line import/export
|
||||
export * from '@polkadot/api/types/storage';
|
||||
// eslint-disable-next-line import/export
|
||||
export * from '@polkadot/api/types/submittable';
|
||||
// eslint-disable-next-line import/export
|
||||
export * from '@polkadot/api-base/types';
|
||||
|
||||
// A smaller interface of ApiRx, used in derive and in SubmittableExtrinsic
|
||||
|
||||
@@ -46,7 +46,7 @@ describe('extractStorageArgs', (): void => {
|
||||
).toThrow('staking.payee(AccountId32) is a map, requiring 1 arguments, 0 found');
|
||||
});
|
||||
|
||||
it('validates map, 1 arg (failing with no args)', (): void => {
|
||||
it('validates map, 1 arg (failing with more args)', (): void => {
|
||||
expect(
|
||||
() => extractStorageArgs(registry, storage.staking.payee, ['abc', 'def'])
|
||||
).toThrow('staking.payee(AccountId32) is a map, requiring 1 arguments, 2 found');
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
},
|
||||
"exclude": [
|
||||
"**/checkTypes.manual.ts",
|
||||
"**/mod.ts",
|
||||
"**/*.spec.ts",
|
||||
"**/test/**/*"
|
||||
],
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "10.6.1",
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/types-codec": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"tslib": "^2.5.0"
|
||||
"@polkadot/rpc-core": "10.7.2",
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/types-codec": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"tslib": "^2.5.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/mod.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../rpc-core/tsconfig.build.json" },
|
||||
{ "path": "../types/tsconfig.build.json" },
|
||||
|
||||
@@ -18,18 +18,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-augment": "10.6.1",
|
||||
"@polkadot/rpc-provider": "10.6.1",
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"@polkadot/rpc-augment": "10.7.2",
|
||||
"@polkadot/rpc-provider": "10.7.2",
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.5.0"
|
||||
"tslib": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^12.1.2",
|
||||
"@polkadot/rpc-augment": "10.6.1"
|
||||
"@polkadot/keyring": "^12.2.1",
|
||||
"@polkadot/rpc-augment": "10.7.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -28,7 +28,7 @@ describe('replay', (): void => {
|
||||
await new Promise<boolean>((resolve) => {
|
||||
rpc.system.chain().subscribe((value: any): void => {
|
||||
if (value) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-member-access
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-member-access, jest/no-conditional-expect
|
||||
expect(value.toString()).toEqual('mockChain'); // Defined in MockProvider
|
||||
resolve(true);
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
},
|
||||
"exclude": [
|
||||
"**/checkTypes.manual.ts",
|
||||
"**/mod.ts",
|
||||
"**/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
|
||||
@@ -18,21 +18,21 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^12.1.2",
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/types-support": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"@polkadot/util-crypto": "^12.1.2",
|
||||
"@polkadot/x-fetch": "^12.1.2",
|
||||
"@polkadot/x-global": "^12.1.2",
|
||||
"@polkadot/x-ws": "^12.1.2",
|
||||
"@polkadot/keyring": "^12.2.1",
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/types-support": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"@polkadot/util-crypto": "^12.2.1",
|
||||
"@polkadot/x-fetch": "^12.2.1",
|
||||
"@polkadot/x-global": "^12.2.1",
|
||||
"@polkadot/x-ws": "^12.2.1",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"mock-socket": "^9.2.1",
|
||||
"nock": "^13.3.1",
|
||||
"tslib": "^2.5.0"
|
||||
"tslib": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@substrate/connect": "0.7.26"
|
||||
|
||||
@@ -45,14 +45,17 @@ describe('Http', (): void => {
|
||||
|
||||
it('does not (yet) support subscribe', async (): Promise<void> => {
|
||||
await http.subscribe('', '', [], (cb): void => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect(cb).toEqual(expect.anything());
|
||||
}).catch((error): void => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect((error as Error).message).toMatch(/does not have subscriptions/);
|
||||
});
|
||||
});
|
||||
|
||||
it('does not (yet) support unsubscribe', async (): Promise<void> => {
|
||||
await http.unsubscribe('', '', 0).catch((error): void => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect((error as Error).message).toMatch(/does not have subscriptions/);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -10,6 +10,7 @@ import { HttpProvider } from './index.js';
|
||||
|
||||
// Does not work with Node 18 (native fetch)
|
||||
// See https://github.com/nock/nock/issues/2397
|
||||
// eslint-disable-next-line jest/no-disabled-tests
|
||||
describe.skip('send', (): void => {
|
||||
let http: HttpProvider;
|
||||
let mock: Mock;
|
||||
@@ -53,6 +54,7 @@ describe.skip('send', (): void => {
|
||||
return http
|
||||
.send('test_error', [])
|
||||
.catch((error): void => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect((error as Error).message).toMatch(/\[500\]/);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -21,7 +21,8 @@ describe('on', (): void => {
|
||||
await mock.disconnect();
|
||||
});
|
||||
|
||||
it('it emits both connected and disconnected events', async (): Promise<void> => {
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('emits both connected and disconnected events', async (): Promise<void> => {
|
||||
const events: Record<string, boolean> = { connected: false, disconnected: false };
|
||||
|
||||
await new Promise<boolean>((resolve) => {
|
||||
|
||||
@@ -23,6 +23,7 @@ describe('send', (): void => {
|
||||
return mock
|
||||
.send('something_invalid', [])
|
||||
.catch((error): void => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect((error as Error).message).toMatch(/Invalid method/);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -23,6 +23,7 @@ describe('subscribe', (): void => {
|
||||
await mock
|
||||
.subscribe('test', 'test_notFound')
|
||||
.catch((error): void => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect((error as Error).message).toMatch(/Invalid method 'test_notFound'/);
|
||||
});
|
||||
});
|
||||
@@ -41,12 +42,14 @@ describe('subscribe', (): void => {
|
||||
|
||||
await new Promise<boolean>((resolve) => {
|
||||
mock.subscribe('chain_newHead', 'chain_subscribeNewHead', (_: any, value: string): void => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect(value).toEqual('testValue');
|
||||
resolve(true);
|
||||
}).catch(console.error);
|
||||
});
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('calls back with new headers', async (): Promise<void> => {
|
||||
await new Promise<boolean>((resolve) => {
|
||||
mock.subscribe('chain_newHead', 'chain_subscribeNewHead', (_: any, header: { number: number }): void => {
|
||||
@@ -57,6 +60,7 @@ describe('subscribe', (): void => {
|
||||
});
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('handles errors within callbacks gracefully', async (): Promise<void> => {
|
||||
let hasThrown = false;
|
||||
|
||||
|
||||
@@ -30,12 +30,14 @@ describe('unsubscribe', (): void => {
|
||||
await mock
|
||||
.unsubscribe('chain_newHead', 'chain_subscribeNewHead', 5)
|
||||
.catch((error): boolean => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect((error as Error).message).toMatch(/Unable to find/);
|
||||
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('unsubscribes successfully', async (): Promise<void> => {
|
||||
await mock.unsubscribe('chain_newHead', 'chain_subscribeNewHead', id);
|
||||
});
|
||||
@@ -46,6 +48,7 @@ describe('unsubscribe', (): void => {
|
||||
mock.unsubscribe('chain_newHead', 'chain_subscribeNewHead', id)
|
||||
)
|
||||
.catch((error): boolean => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect((error as Error).message).toMatch(/Unable to find/);
|
||||
|
||||
return false;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -321,6 +321,7 @@ describe('ScProvider', () => {
|
||||
expect(chain._isTerminated()).toBe(true);
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('does not throw when disconnecting on an already disconnected Provider', async () => {
|
||||
const provider = new ScProvider(mockSc, '');
|
||||
|
||||
|
||||
@@ -39,10 +39,12 @@ describe('Ws', (): void => {
|
||||
).toEqual(false);
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('allows you to initialize the provider with custom headers', () => {
|
||||
createWs([], 100, { foo: 'bar' });
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('allows you to set custom timeout value for handlers', () => {
|
||||
const CUSTOM_TIMEOUT_S = 90;
|
||||
const CUSTOM_TIMEOUT_MS = CUSTOM_TIMEOUT_S * 1000;
|
||||
@@ -52,6 +54,7 @@ describe('Ws', (): void => {
|
||||
});
|
||||
|
||||
describe('Endpoint Parsing', (): void => {
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('Succeeds when WsProvider endpoint is a valid string', () => {
|
||||
/* eslint-disable no-new */
|
||||
new WsProvider(TEST_WS_URL, 0);
|
||||
@@ -63,6 +66,7 @@ describe('Endpoint Parsing', (): void => {
|
||||
).toThrow(/^Endpoint should start with /);
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('Succeeds when WsProvider endpoint is a valid array', () => {
|
||||
const endpoints: string[] = ['ws://127.0.0.1:9955', 'wss://testnet.io:9944', 'ws://mychain.com:9933'];
|
||||
|
||||
|
||||
@@ -59,6 +59,7 @@ describe('send', (): void => {
|
||||
ws
|
||||
.send('test_encoding', [{ error: 'send error' }])
|
||||
.catch((error): void => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect((error as Error).message).toEqual('send error');
|
||||
})
|
||||
);
|
||||
@@ -99,6 +100,7 @@ describe('send', (): void => {
|
||||
ws
|
||||
.send('test_error', [])
|
||||
.catch((error): void => {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect((error as Error).message).toMatch(/666: error/);
|
||||
})
|
||||
);
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
"**/*.spec.ts",
|
||||
"**/mod.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../types/tsconfig.build.json" },
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
"resolveJsonModule": true,
|
||||
"emitDeclarationOnly": false,
|
||||
"resolveJsonModule": true,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": [
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||
@@ -28,20 +28,20 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/api": "10.6.1",
|
||||
"@polkadot/api-augment": "10.6.1",
|
||||
"@polkadot/rpc-augment": "10.6.1",
|
||||
"@polkadot/rpc-provider": "10.6.1",
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/types-augment": "10.6.1",
|
||||
"@polkadot/types-codec": "10.6.1",
|
||||
"@polkadot/types-create": "10.6.1",
|
||||
"@polkadot/types-support": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"@polkadot/util-crypto": "^12.1.2",
|
||||
"@polkadot/x-ws": "^12.1.2",
|
||||
"@polkadot/api": "10.7.2",
|
||||
"@polkadot/api-augment": "10.7.2",
|
||||
"@polkadot/rpc-augment": "10.7.2",
|
||||
"@polkadot/rpc-provider": "10.7.2",
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/types-augment": "10.7.2",
|
||||
"@polkadot/types-codec": "10.7.2",
|
||||
"@polkadot/types-create": "10.7.2",
|
||||
"@polkadot/types-support": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"@polkadot/util-crypto": "^12.2.1",
|
||||
"@polkadot/x-ws": "^12.2.1",
|
||||
"handlebars": "^4.7.7",
|
||||
"tslib": "^2.5.0",
|
||||
"tslib": "^2.5.2",
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -8,3 +8,6 @@ import { readTemplate } from './file.js';
|
||||
Handlebars.registerPartial({
|
||||
docs: Handlebars.compile(readTemplate('docs'))
|
||||
});
|
||||
|
||||
// empty export
|
||||
export const __TYPEGEN_DUMMY_DOCS = 'DUMMY_DOCS';
|
||||
|
||||
@@ -5,6 +5,14 @@
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"scripts/**/*",
|
||||
"**/*.spec.ts",
|
||||
"**/mod.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../api/tsconfig.build.json" },
|
||||
{ "path": "../api-augment/tsconfig.build.json" },
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./scripts",
|
||||
"emitDeclarationOnly": false,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": [
|
||||
"scripts/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"src/**/*"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../typegen/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
"emitDeclarationOnly": false,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": [
|
||||
"**/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../typegen/tsconfig.build.json" },
|
||||
{ "path": "../types/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
@@ -18,12 +18,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/types-codec": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"tslib": "^2.5.0"
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/types-codec": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"tslib": "^2.5.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2348,7 +2348,7 @@ export default {
|
||||
* Lookup757: polkadot_runtime_parachains::paras::pallet::Error<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsParasPalletError: {
|
||||
_enum: ['NotRegistered', 'CannotOnboard', 'CannotOffboard', 'CannotUpgrade', 'CannotDowngrade', 'PvfCheckStatementStale', 'PvfCheckStatementFuture', 'PvfCheckValidatorIndexOutOfBounds', 'PvfCheckInvalidSignature', 'PvfCheckDoubleVote', 'PvfCheckSubjectInvalid', 'PvfCheckDisabled', 'CannotUpgradeCode']
|
||||
_enum: ['NotRegistered', 'CannotOnboard', 'CannotOffboard', 'CannotUpgrade', 'CannotDowngrade', 'PvfCheckStatementStale', 'PvfCheckStatementFuture', 'PvfCheckValidatorIndexOutOfBounds', 'PvfCheckInvalidSignature', 'PvfCheckDoubleVote', 'PvfCheckSubjectInvalid', 'CannotUpgradeCode']
|
||||
},
|
||||
/**
|
||||
* Lookup759: polkadot_runtime_parachains::initializer::BufferedSessionChange
|
||||
|
||||
@@ -148,7 +148,7 @@ export default {
|
||||
* Lookup27: sp_runtime::TokenError
|
||||
**/
|
||||
SpRuntimeTokenError: {
|
||||
_enum: ['FundsUnavailable', 'OnlyProvider', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported', 'CannotCreateHold', 'NotExpendable']
|
||||
_enum: ['FundsUnavailable', 'OnlyProvider', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported', 'CannotCreateHold', 'NotExpendable', 'Blocked']
|
||||
},
|
||||
/**
|
||||
* Lookup28: sp_arithmetic::ArithmeticError
|
||||
@@ -1306,7 +1306,16 @@ export default {
|
||||
},
|
||||
AssetMinBalanceChanged: {
|
||||
assetId: 'u32',
|
||||
newMinBalance: 'u128'
|
||||
newMinBalance: 'u128',
|
||||
},
|
||||
Touched: {
|
||||
assetId: 'u32',
|
||||
who: 'AccountId32',
|
||||
depositor: 'AccountId32',
|
||||
},
|
||||
Blocked: {
|
||||
assetId: 'u32',
|
||||
who: 'AccountId32'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2390,7 +2399,6 @@ export default {
|
||||
PalletStakingPalletCall: {
|
||||
_enum: {
|
||||
bond: {
|
||||
controller: 'MultiAddress',
|
||||
value: 'Compact<u128>',
|
||||
payee: 'PalletStakingRewardDestination',
|
||||
},
|
||||
@@ -2413,9 +2421,7 @@ export default {
|
||||
set_payee: {
|
||||
payee: 'PalletStakingRewardDestination',
|
||||
},
|
||||
set_controller: {
|
||||
controller: 'MultiAddress',
|
||||
},
|
||||
set_controller: 'Null',
|
||||
set_validator_count: {
|
||||
_alias: {
|
||||
new_: 'new',
|
||||
@@ -3598,7 +3604,19 @@ export default {
|
||||
},
|
||||
set_min_balance: {
|
||||
id: 'Compact<u32>',
|
||||
minBalance: 'u128'
|
||||
minBalance: 'u128',
|
||||
},
|
||||
touch_other: {
|
||||
id: 'Compact<u32>',
|
||||
who: 'MultiAddress',
|
||||
},
|
||||
refund_other: {
|
||||
id: 'Compact<u32>',
|
||||
who: 'MultiAddress',
|
||||
},
|
||||
block: {
|
||||
id: 'Compact<u32>',
|
||||
who: 'MultiAddress'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -6071,34 +6089,41 @@ export default {
|
||||
_enum: ['Live', 'Frozen', 'Destroying']
|
||||
},
|
||||
/**
|
||||
* Lookup639: pallet_assets::types::AssetAccount<Balance, DepositBalance, Extra>
|
||||
* Lookup639: pallet_assets::types::AssetAccount<Balance, DepositBalance, Extra, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletAssetsAssetAccount: {
|
||||
balance: 'u128',
|
||||
isFrozen: 'bool',
|
||||
status: 'PalletAssetsAccountStatus',
|
||||
reason: 'PalletAssetsExistenceReason',
|
||||
extra: 'Null'
|
||||
},
|
||||
/**
|
||||
* Lookup640: pallet_assets::types::ExistenceReason<Balance>
|
||||
* Lookup640: pallet_assets::types::AccountStatus
|
||||
**/
|
||||
PalletAssetsAccountStatus: {
|
||||
_enum: ['Liquid', 'Frozen', 'Blocked']
|
||||
},
|
||||
/**
|
||||
* Lookup641: pallet_assets::types::ExistenceReason<Balance, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletAssetsExistenceReason: {
|
||||
_enum: {
|
||||
Consumer: 'Null',
|
||||
Sufficient: 'Null',
|
||||
DepositHeld: 'u128',
|
||||
DepositRefunded: 'Null'
|
||||
DepositRefunded: 'Null',
|
||||
DepositFrom: '(AccountId32,u128)'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup642: pallet_assets::types::Approval<Balance, DepositBalance>
|
||||
* Lookup643: pallet_assets::types::Approval<Balance, DepositBalance>
|
||||
**/
|
||||
PalletAssetsApproval: {
|
||||
amount: 'u128',
|
||||
deposit: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup643: pallet_assets::types::AssetMetadata<DepositBalance, bounded_collections::bounded_vec::BoundedVec<T, S>>
|
||||
* Lookup644: pallet_assets::types::AssetMetadata<DepositBalance, bounded_collections::bounded_vec::BoundedVec<T, S>>
|
||||
**/
|
||||
PalletAssetsAssetMetadata: {
|
||||
deposit: 'u128',
|
||||
@@ -6108,13 +6133,13 @@ export default {
|
||||
isFrozen: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup644: pallet_assets::pallet::Error<T, I>
|
||||
* Lookup645: pallet_assets::pallet::Error<T, I>
|
||||
**/
|
||||
PalletAssetsError: {
|
||||
_enum: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed']
|
||||
},
|
||||
/**
|
||||
* Lookup645: pallet_lottery::LotteryConfig<BlockNumber, Balance>
|
||||
* Lookup646: pallet_lottery::LotteryConfig<BlockNumber, Balance>
|
||||
**/
|
||||
PalletLotteryLotteryConfig: {
|
||||
price: 'u128',
|
||||
@@ -6124,20 +6149,20 @@ export default {
|
||||
repeat: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup649: pallet_lottery::pallet::Error<T>
|
||||
* Lookup650: pallet_lottery::pallet::Error<T>
|
||||
**/
|
||||
PalletLotteryError: {
|
||||
_enum: ['NotConfigured', 'InProgress', 'AlreadyEnded', 'InvalidCall', 'AlreadyParticipating', 'TooManyCalls', 'EncodingFailed']
|
||||
},
|
||||
/**
|
||||
* Lookup652: pallet_nis::pallet::Bid<Balance, sp_core::crypto::AccountId32>
|
||||
* Lookup653: pallet_nis::pallet::Bid<Balance, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletNisBid: {
|
||||
amount: 'u128',
|
||||
who: 'AccountId32'
|
||||
},
|
||||
/**
|
||||
* Lookup654: pallet_nis::pallet::SummaryRecord<BlockNumber, Balance>
|
||||
* Lookup655: pallet_nis::pallet::SummaryRecord<BlockNumber, Balance>
|
||||
**/
|
||||
PalletNisSummaryRecord: {
|
||||
proportionOwed: 'Perquintill',
|
||||
@@ -6147,7 +6172,7 @@ export default {
|
||||
receiptsOnHold: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup655: pallet_nis::pallet::ReceiptRecord<sp_core::crypto::AccountId32, BlockNumber, Balance>
|
||||
* Lookup656: pallet_nis::pallet::ReceiptRecord<sp_core::crypto::AccountId32, BlockNumber, Balance>
|
||||
**/
|
||||
PalletNisReceiptRecord: {
|
||||
proportion: 'Perquintill',
|
||||
@@ -6155,13 +6180,13 @@ export default {
|
||||
expiry: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup657: pallet_nis::pallet::Error<T>
|
||||
* Lookup658: pallet_nis::pallet::Error<T>
|
||||
**/
|
||||
PalletNisError: {
|
||||
_enum: ['DurationTooSmall', 'DurationTooBig', 'AmountTooSmall', 'BidTooLow', 'UnknownReceipt', 'NotOwner', 'NotExpired', 'UnknownBid', 'PortionTooBig', 'Unfunded', 'AlreadyFunded', 'Throttled', 'MakesDust', 'AlreadyCommunal', 'AlreadyPrivate']
|
||||
},
|
||||
/**
|
||||
* Lookup658: pallet_uniques::types::CollectionDetails<sp_core::crypto::AccountId32, DepositBalance>
|
||||
* Lookup659: pallet_uniques::types::CollectionDetails<sp_core::crypto::AccountId32, DepositBalance>
|
||||
**/
|
||||
PalletUniquesCollectionDetails: {
|
||||
owner: 'AccountId32',
|
||||
@@ -6176,7 +6201,7 @@ export default {
|
||||
isFrozen: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup660: pallet_uniques::types::ItemDetails<sp_core::crypto::AccountId32, DepositBalance>
|
||||
* Lookup661: pallet_uniques::types::ItemDetails<sp_core::crypto::AccountId32, DepositBalance>
|
||||
**/
|
||||
PalletUniquesItemDetails: {
|
||||
owner: 'AccountId32',
|
||||
@@ -6185,7 +6210,7 @@ export default {
|
||||
deposit: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup661: pallet_uniques::types::CollectionMetadata<DepositBalance, StringLimit>
|
||||
* Lookup662: pallet_uniques::types::CollectionMetadata<DepositBalance, StringLimit>
|
||||
**/
|
||||
PalletUniquesCollectionMetadata: {
|
||||
deposit: 'u128',
|
||||
@@ -6193,7 +6218,7 @@ export default {
|
||||
isFrozen: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup662: pallet_uniques::types::ItemMetadata<DepositBalance, StringLimit>
|
||||
* Lookup663: pallet_uniques::types::ItemMetadata<DepositBalance, StringLimit>
|
||||
**/
|
||||
PalletUniquesItemMetadata: {
|
||||
deposit: 'u128',
|
||||
@@ -6201,13 +6226,13 @@ export default {
|
||||
isFrozen: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup666: pallet_uniques::pallet::Error<T, I>
|
||||
* Lookup667: pallet_uniques::pallet::Error<T, I>
|
||||
**/
|
||||
PalletUniquesError: {
|
||||
_enum: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved', 'Unaccepted', 'Locked', 'MaxSupplyReached', 'MaxSupplyAlreadySet', 'MaxSupplyTooSmall', 'UnknownItem', 'NotForSale', 'BidTooLow']
|
||||
},
|
||||
/**
|
||||
* Lookup667: pallet_nfts::types::CollectionDetails<sp_core::crypto::AccountId32, DepositBalance>
|
||||
* Lookup668: pallet_nfts::types::CollectionDetails<sp_core::crypto::AccountId32, DepositBalance>
|
||||
**/
|
||||
PalletNftsCollectionDetails: {
|
||||
owner: 'AccountId32',
|
||||
@@ -6218,13 +6243,13 @@ export default {
|
||||
attributes: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup669: pallet_nfts::types::CollectionRole
|
||||
* Lookup670: pallet_nfts::types::CollectionRole
|
||||
**/
|
||||
PalletNftsCollectionRole: {
|
||||
_enum: ['__Unused0', 'Issuer', 'Freezer', '__Unused3', 'Admin']
|
||||
},
|
||||
/**
|
||||
* Lookup670: pallet_nfts::types::ItemDetails<sp_core::crypto::AccountId32, pallet_nfts::types::ItemDeposit<DepositBalance, sp_core::crypto::AccountId32>, bounded_collections::bounded_btree_map::BoundedBTreeMap<sp_core::crypto::AccountId32, Option<T>, S>>
|
||||
* Lookup671: pallet_nfts::types::ItemDetails<sp_core::crypto::AccountId32, pallet_nfts::types::ItemDeposit<DepositBalance, sp_core::crypto::AccountId32>, bounded_collections::bounded_btree_map::BoundedBTreeMap<sp_core::crypto::AccountId32, Option<T>, S>>
|
||||
**/
|
||||
PalletNftsItemDetails: {
|
||||
owner: 'AccountId32',
|
||||
@@ -6232,42 +6257,42 @@ export default {
|
||||
deposit: 'PalletNftsItemDeposit'
|
||||
},
|
||||
/**
|
||||
* Lookup671: pallet_nfts::types::ItemDeposit<DepositBalance, sp_core::crypto::AccountId32>
|
||||
* Lookup672: pallet_nfts::types::ItemDeposit<DepositBalance, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletNftsItemDeposit: {
|
||||
account: 'AccountId32',
|
||||
amount: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup676: pallet_nfts::types::CollectionMetadata<Deposit, StringLimit>
|
||||
* Lookup677: pallet_nfts::types::CollectionMetadata<Deposit, StringLimit>
|
||||
**/
|
||||
PalletNftsCollectionMetadata: {
|
||||
deposit: 'u128',
|
||||
data: 'Bytes'
|
||||
},
|
||||
/**
|
||||
* Lookup677: pallet_nfts::types::ItemMetadata<pallet_nfts::types::ItemMetadataDeposit<DepositBalance, sp_core::crypto::AccountId32>, StringLimit>
|
||||
* Lookup678: pallet_nfts::types::ItemMetadata<pallet_nfts::types::ItemMetadataDeposit<DepositBalance, sp_core::crypto::AccountId32>, StringLimit>
|
||||
**/
|
||||
PalletNftsItemMetadata: {
|
||||
deposit: 'PalletNftsItemMetadataDeposit',
|
||||
data: 'Bytes'
|
||||
},
|
||||
/**
|
||||
* Lookup678: pallet_nfts::types::ItemMetadataDeposit<DepositBalance, sp_core::crypto::AccountId32>
|
||||
* Lookup679: pallet_nfts::types::ItemMetadataDeposit<DepositBalance, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletNftsItemMetadataDeposit: {
|
||||
account: 'Option<AccountId32>',
|
||||
amount: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup681: pallet_nfts::types::AttributeDeposit<DepositBalance, sp_core::crypto::AccountId32>
|
||||
* Lookup682: pallet_nfts::types::AttributeDeposit<DepositBalance, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletNftsAttributeDeposit: {
|
||||
account: 'Option<AccountId32>',
|
||||
amount: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup684: pallet_nfts::types::PendingSwap<CollectionId, ItemId, pallet_nfts::types::PriceWithDirection<Amount>, Deadline>
|
||||
* Lookup685: pallet_nfts::types::PendingSwap<CollectionId, ItemId, pallet_nfts::types::PriceWithDirection<Amount>, Deadline>
|
||||
**/
|
||||
PalletNftsPendingSwap: {
|
||||
desiredCollection: 'u32',
|
||||
@@ -6276,19 +6301,19 @@ export default {
|
||||
deadline: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup686: pallet_nfts::types::PalletFeature
|
||||
* Lookup687: pallet_nfts::types::PalletFeature
|
||||
**/
|
||||
PalletNftsPalletFeature: {
|
||||
_enum: ['__Unused0', 'Trading', 'Attributes', '__Unused3', 'Approvals', '__Unused5', '__Unused6', '__Unused7', 'Swaps']
|
||||
},
|
||||
/**
|
||||
* Lookup687: pallet_nfts::pallet::Error<T, I>
|
||||
* Lookup688: pallet_nfts::pallet::Error<T, I>
|
||||
**/
|
||||
PalletNftsError: {
|
||||
_enum: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'ApprovalExpired', 'WrongOwner', 'BadWitness', 'CollectionIdInUse', 'ItemsNonTransferable', 'NotDelegate', 'WrongDelegate', 'Unapproved', 'Unaccepted', 'ItemLocked', 'LockedItemAttributes', 'LockedCollectionAttributes', 'LockedItemMetadata', 'LockedCollectionMetadata', 'MaxSupplyReached', 'MaxSupplyLocked', 'MaxSupplyTooSmall', 'UnknownItem', 'UnknownSwap', 'MetadataNotFound', 'AttributeNotFound', 'NotForSale', 'BidTooLow', 'ReachedApprovalLimit', 'DeadlineExpired', 'WrongDuration', 'MethodDisabled', 'WrongSetting', 'InconsistentItemConfig', 'NoConfig', 'RolesNotCleared', 'MintNotStarted', 'MintEnded', 'AlreadyClaimed', 'IncorrectData', 'WrongOrigin', 'WrongSignature', 'IncorrectMetadata', 'MaxAttributesLimitReached', 'WrongNamespace', 'CollectionNotEmpty']
|
||||
},
|
||||
/**
|
||||
* Lookup688: pallet_salary::StatusType<CycleIndex, BlockNumber, Balance>
|
||||
* Lookup689: pallet_salary::StatusType<CycleIndex, BlockNumber, Balance>
|
||||
**/
|
||||
PalletSalaryStatusType: {
|
||||
cycleIndex: 'u32',
|
||||
@@ -6298,14 +6323,14 @@ export default {
|
||||
totalUnregisteredPaid: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup689: pallet_salary::ClaimantStatus<CycleIndex, Balance, Id>
|
||||
* Lookup690: pallet_salary::ClaimantStatus<CycleIndex, Balance, Id>
|
||||
**/
|
||||
PalletSalaryClaimantStatus: {
|
||||
lastActive: 'u32',
|
||||
status: 'PalletSalaryClaimState'
|
||||
},
|
||||
/**
|
||||
* Lookup690: pallet_salary::ClaimState<Balance, Id>
|
||||
* Lookup691: pallet_salary::ClaimState<Balance, Id>
|
||||
**/
|
||||
PalletSalaryClaimState: {
|
||||
_enum: {
|
||||
@@ -6319,13 +6344,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup691: pallet_salary::pallet::Error<T, I>
|
||||
* Lookup692: pallet_salary::pallet::Error<T, I>
|
||||
**/
|
||||
PalletSalaryError: {
|
||||
_enum: ['AlreadyStarted', 'NotMember', 'AlreadyInducted', 'NotInducted', 'NoClaim', 'ClaimZero', 'TooLate', 'TooEarly', 'NotYet', 'NotStarted', 'Bankrupt', 'PayError', 'Inconclusive', 'NotCurrent']
|
||||
},
|
||||
/**
|
||||
* Lookup692: pallet_core_fellowship::MemberStatus<BlockNumber>
|
||||
* Lookup693: pallet_core_fellowship::MemberStatus<BlockNumber>
|
||||
**/
|
||||
PalletCoreFellowshipMemberStatus: {
|
||||
isActive: 'bool',
|
||||
@@ -6333,13 +6358,13 @@ export default {
|
||||
lastProof: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup694: pallet_core_fellowship::pallet::Error<T, I>
|
||||
* Lookup695: pallet_core_fellowship::pallet::Error<T, I>
|
||||
**/
|
||||
PalletCoreFellowshipError: {
|
||||
_enum: ['Unranked', 'Ranked', 'UnexpectedRank', 'InvalidRank', 'NoPermission', 'NothingDoing', 'AlreadyInducted', 'NotTracked', 'TooSoon']
|
||||
},
|
||||
/**
|
||||
* Lookup696: pallet_transaction_storage::TransactionInfo
|
||||
* Lookup697: pallet_transaction_storage::TransactionInfo
|
||||
**/
|
||||
PalletTransactionStorageTransactionInfo: {
|
||||
_alias: {
|
||||
@@ -6351,13 +6376,13 @@ export default {
|
||||
blockChunks: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup698: pallet_transaction_storage::pallet::Error<T>
|
||||
* Lookup699: pallet_transaction_storage::pallet::Error<T>
|
||||
**/
|
||||
PalletTransactionStorageError: {
|
||||
_enum: ['InsufficientFunds', 'NotConfigured', 'RenewedNotFound', 'EmptyTransaction', 'UnexpectedProof', 'InvalidProof', 'MissingProof', 'MissingStateData', 'DoubleCheck', 'ProofNotChecked', 'TransactionTooLarge', 'TooManyTransactions', 'BadContext']
|
||||
},
|
||||
/**
|
||||
* Lookup699: pallet_bags_list::list::Node<T, I>
|
||||
* Lookup700: pallet_bags_list::list::Node<T, I>
|
||||
**/
|
||||
PalletBagsListListNode: {
|
||||
id: 'AccountId32',
|
||||
@@ -6367,14 +6392,14 @@ export default {
|
||||
score: 'u64'
|
||||
},
|
||||
/**
|
||||
* Lookup700: pallet_bags_list::list::Bag<T, I>
|
||||
* Lookup701: pallet_bags_list::list::Bag<T, I>
|
||||
**/
|
||||
PalletBagsListListBag: {
|
||||
head: 'Option<AccountId32>',
|
||||
tail: 'Option<AccountId32>'
|
||||
},
|
||||
/**
|
||||
* Lookup702: pallet_bags_list::pallet::Error<T, I>
|
||||
* Lookup703: pallet_bags_list::pallet::Error<T, I>
|
||||
**/
|
||||
PalletBagsListError: {
|
||||
_enum: {
|
||||
@@ -6382,13 +6407,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup703: pallet_bags_list::list::ListError
|
||||
* Lookup704: pallet_bags_list::list::ListError
|
||||
**/
|
||||
PalletBagsListListListError: {
|
||||
_enum: ['Duplicate', 'NotHeavier', 'NotInSameBag', 'NodeNotFound']
|
||||
},
|
||||
/**
|
||||
* Lookup704: pallet_child_bounties::ChildBounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
|
||||
* Lookup705: pallet_child_bounties::ChildBounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
|
||||
**/
|
||||
PalletChildBountiesChildBounty: {
|
||||
parentBounty: 'u32',
|
||||
@@ -6398,7 +6423,7 @@ export default {
|
||||
status: 'PalletChildBountiesChildBountyStatus'
|
||||
},
|
||||
/**
|
||||
* Lookup705: pallet_child_bounties::ChildBountyStatus<sp_core::crypto::AccountId32, BlockNumber>
|
||||
* Lookup706: pallet_child_bounties::ChildBountyStatus<sp_core::crypto::AccountId32, BlockNumber>
|
||||
**/
|
||||
PalletChildBountiesChildBountyStatus: {
|
||||
_enum: {
|
||||
@@ -6417,13 +6442,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup706: pallet_child_bounties::pallet::Error<T>
|
||||
* Lookup707: pallet_child_bounties::pallet::Error<T>
|
||||
**/
|
||||
PalletChildBountiesError: {
|
||||
_enum: ['ParentBountyNotActive', 'InsufficientBountyBalance', 'TooManyChildBounties']
|
||||
},
|
||||
/**
|
||||
* Lookup707: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
* Lookup708: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
**/
|
||||
PalletReferendaReferendumInfoConvictionVotingTally: {
|
||||
_enum: {
|
||||
@@ -6436,7 +6461,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup708: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
* Lookup709: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
**/
|
||||
PalletReferendaReferendumStatusConvictionVotingTally: {
|
||||
track: 'u16',
|
||||
@@ -6452,21 +6477,21 @@ export default {
|
||||
alarm: 'Option<(u32,(u32,u32))>'
|
||||
},
|
||||
/**
|
||||
* Lookup709: pallet_referenda::types::Deposit<sp_core::crypto::AccountId32, Balance>
|
||||
* Lookup710: pallet_referenda::types::Deposit<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
PalletReferendaDeposit: {
|
||||
who: 'AccountId32',
|
||||
amount: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup712: pallet_referenda::types::DecidingStatus<BlockNumber>
|
||||
* Lookup713: pallet_referenda::types::DecidingStatus<BlockNumber>
|
||||
**/
|
||||
PalletReferendaDecidingStatus: {
|
||||
since: 'u32',
|
||||
confirming: 'Option<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup718: pallet_referenda::types::TrackInfo<Balance, Moment>
|
||||
* Lookup719: pallet_referenda::types::TrackInfo<Balance, Moment>
|
||||
**/
|
||||
PalletReferendaTrackInfo: {
|
||||
name: 'Text',
|
||||
@@ -6480,7 +6505,7 @@ export default {
|
||||
minSupport: 'PalletReferendaCurve'
|
||||
},
|
||||
/**
|
||||
* Lookup719: pallet_referenda::types::Curve
|
||||
* Lookup720: pallet_referenda::types::Curve
|
||||
**/
|
||||
PalletReferendaCurve: {
|
||||
_enum: {
|
||||
@@ -6503,19 +6528,19 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup722: pallet_referenda::pallet::Error<T, I>
|
||||
* Lookup723: pallet_referenda::pallet::Error<T, I>
|
||||
**/
|
||||
PalletReferendaError: {
|
||||
_enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist']
|
||||
},
|
||||
/**
|
||||
* Lookup723: pallet_remark::pallet::Error<T>
|
||||
* Lookup724: pallet_remark::pallet::Error<T>
|
||||
**/
|
||||
PalletRemarkError: {
|
||||
_enum: ['Empty', 'BadContext']
|
||||
},
|
||||
/**
|
||||
* Lookup725: pallet_conviction_voting::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber, PollIndex, MaxVotes>
|
||||
* Lookup726: pallet_conviction_voting::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber, PollIndex, MaxVotes>
|
||||
**/
|
||||
PalletConvictionVotingVoteVoting: {
|
||||
_enum: {
|
||||
@@ -6524,7 +6549,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup726: pallet_conviction_voting::vote::Casting<Balance, BlockNumber, PollIndex, MaxVotes>
|
||||
* Lookup727: pallet_conviction_voting::vote::Casting<Balance, BlockNumber, PollIndex, MaxVotes>
|
||||
**/
|
||||
PalletConvictionVotingVoteCasting: {
|
||||
votes: 'Vec<(u32,PalletConvictionVotingVoteAccountVote)>',
|
||||
@@ -6532,18 +6557,18 @@ export default {
|
||||
prior: 'PalletConvictionVotingVotePriorLock'
|
||||
},
|
||||
/**
|
||||
* Lookup730: pallet_conviction_voting::types::Delegations<Balance>
|
||||
* Lookup731: pallet_conviction_voting::types::Delegations<Balance>
|
||||
**/
|
||||
PalletConvictionVotingDelegations: {
|
||||
votes: 'u128',
|
||||
capital: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup731: pallet_conviction_voting::vote::PriorLock<BlockNumber, Balance>
|
||||
* Lookup732: pallet_conviction_voting::vote::PriorLock<BlockNumber, Balance>
|
||||
**/
|
||||
PalletConvictionVotingVotePriorLock: '(u32,u128)',
|
||||
/**
|
||||
* Lookup732: pallet_conviction_voting::vote::Delegating<Balance, sp_core::crypto::AccountId32, BlockNumber>
|
||||
* Lookup733: pallet_conviction_voting::vote::Delegating<Balance, sp_core::crypto::AccountId32, BlockNumber>
|
||||
**/
|
||||
PalletConvictionVotingVoteDelegating: {
|
||||
balance: 'u128',
|
||||
@@ -6553,31 +6578,31 @@ export default {
|
||||
prior: 'PalletConvictionVotingVotePriorLock'
|
||||
},
|
||||
/**
|
||||
* Lookup736: pallet_conviction_voting::pallet::Error<T, I>
|
||||
* Lookup737: pallet_conviction_voting::pallet::Error<T, I>
|
||||
**/
|
||||
PalletConvictionVotingError: {
|
||||
_enum: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass']
|
||||
},
|
||||
/**
|
||||
* Lookup737: pallet_whitelist::pallet::Error<T>
|
||||
* Lookup738: pallet_whitelist::pallet::Error<T>
|
||||
**/
|
||||
PalletWhitelistError: {
|
||||
_enum: ['UnavailablePreImage', 'UndecodableCall', 'InvalidCallWeightWitness', 'CallIsNotWhitelisted', 'CallAlreadyWhitelisted']
|
||||
},
|
||||
/**
|
||||
* Lookup742: pallet_alliance::MemberRole
|
||||
* Lookup743: pallet_alliance::MemberRole
|
||||
**/
|
||||
PalletAllianceMemberRole: {
|
||||
_enum: ['Fellow', 'Ally', 'Retiring']
|
||||
},
|
||||
/**
|
||||
* Lookup746: pallet_alliance::pallet::Error<T, I>
|
||||
* Lookup747: pallet_alliance::pallet::Error<T, I>
|
||||
**/
|
||||
PalletAllianceError: {
|
||||
_enum: ['AllianceNotYetInitialized', 'AllianceAlreadyInitialized', 'AlreadyMember', 'NotMember', 'NotAlly', 'NoVotingRights', 'AlreadyElevated', 'AlreadyUnscrupulous', 'AccountNonGrata', 'NotListedAsUnscrupulous', 'TooManyUnscrupulousItems', 'TooLongWebsiteUrl', 'InsufficientFunds', 'WithoutIdentityDisplayAndWebsite', 'WithoutGoodIdentityJudgement', 'MissingProposalHash', 'MissingAnnouncement', 'TooManyMembers', 'TooManyAnnouncements', 'BadWitness', 'AlreadyRetiring', 'RetirementNoticeNotGiven', 'RetirementPeriodNotPassed', 'FellowsMissing']
|
||||
},
|
||||
/**
|
||||
* Lookup747: pallet_nomination_pools::PoolMember<T>
|
||||
* Lookup748: pallet_nomination_pools::PoolMember<T>
|
||||
**/
|
||||
PalletNominationPoolsPoolMember: {
|
||||
poolId: 'u32',
|
||||
@@ -6586,7 +6611,7 @@ export default {
|
||||
unbondingEras: 'BTreeMap<u32, u128>'
|
||||
},
|
||||
/**
|
||||
* Lookup750: pallet_nomination_pools::BondedPoolInner<T>
|
||||
* Lookup751: pallet_nomination_pools::BondedPoolInner<T>
|
||||
**/
|
||||
PalletNominationPoolsBondedPoolInner: {
|
||||
commission: 'PalletNominationPoolsCommission',
|
||||
@@ -6596,7 +6621,7 @@ export default {
|
||||
state: 'PalletNominationPoolsPoolState'
|
||||
},
|
||||
/**
|
||||
* Lookup751: pallet_nomination_pools::Commission<T>
|
||||
* Lookup752: pallet_nomination_pools::Commission<T>
|
||||
**/
|
||||
PalletNominationPoolsCommission: {
|
||||
current: 'Option<(Perbill,AccountId32)>',
|
||||
@@ -6605,7 +6630,7 @@ export default {
|
||||
throttleFrom: 'Option<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup754: pallet_nomination_pools::PoolRoles<sp_core::crypto::AccountId32>
|
||||
* Lookup755: pallet_nomination_pools::PoolRoles<sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletNominationPoolsPoolRoles: {
|
||||
depositor: 'AccountId32',
|
||||
@@ -6614,7 +6639,7 @@ export default {
|
||||
bouncer: 'Option<AccountId32>'
|
||||
},
|
||||
/**
|
||||
* Lookup755: pallet_nomination_pools::RewardPool<T>
|
||||
* Lookup756: pallet_nomination_pools::RewardPool<T>
|
||||
**/
|
||||
PalletNominationPoolsRewardPool: {
|
||||
lastRecordedRewardCounter: 'u128',
|
||||
@@ -6624,21 +6649,21 @@ export default {
|
||||
totalCommissionClaimed: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup756: pallet_nomination_pools::SubPools<T>
|
||||
* Lookup757: pallet_nomination_pools::SubPools<T>
|
||||
**/
|
||||
PalletNominationPoolsSubPools: {
|
||||
noEra: 'PalletNominationPoolsUnbondPool',
|
||||
withEra: 'BTreeMap<u32, PalletNominationPoolsUnbondPool>'
|
||||
},
|
||||
/**
|
||||
* Lookup757: pallet_nomination_pools::UnbondPool<T>
|
||||
* Lookup758: pallet_nomination_pools::UnbondPool<T>
|
||||
**/
|
||||
PalletNominationPoolsUnbondPool: {
|
||||
points: 'u128',
|
||||
balance: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup763: pallet_nomination_pools::pallet::Error<T>
|
||||
* Lookup764: pallet_nomination_pools::pallet::Error<T>
|
||||
**/
|
||||
PalletNominationPoolsError: {
|
||||
_enum: {
|
||||
@@ -6675,13 +6700,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup764: pallet_nomination_pools::pallet::DefensiveError
|
||||
* Lookup765: pallet_nomination_pools::pallet::DefensiveError
|
||||
**/
|
||||
PalletNominationPoolsDefensiveError: {
|
||||
_enum: ['NotEnoughSpaceInUnbondPool', 'PoolNotFound', 'RewardPoolNotFound', 'SubPoolsNotFound', 'BondedStashKilledPrematurely']
|
||||
},
|
||||
/**
|
||||
* Lookup765: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
* Lookup766: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
**/
|
||||
PalletReferendaReferendumInfoRankedCollectiveTally: {
|
||||
_enum: {
|
||||
@@ -6694,7 +6719,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup766: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
* Lookup767: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
**/
|
||||
PalletReferendaReferendumStatusRankedCollectiveTally: {
|
||||
track: 'u16',
|
||||
@@ -6710,32 +6735,32 @@ export default {
|
||||
alarm: 'Option<(u32,(u32,u32))>'
|
||||
},
|
||||
/**
|
||||
* Lookup769: pallet_ranked_collective::MemberRecord
|
||||
* Lookup770: pallet_ranked_collective::MemberRecord
|
||||
**/
|
||||
PalletRankedCollectiveMemberRecord: {
|
||||
rank: 'u16'
|
||||
},
|
||||
/**
|
||||
* Lookup773: pallet_ranked_collective::pallet::Error<T, I>
|
||||
* Lookup774: pallet_ranked_collective::pallet::Error<T, I>
|
||||
**/
|
||||
PalletRankedCollectiveError: {
|
||||
_enum: ['AlreadyMember', 'NotMember', 'NotPolling', 'Ongoing', 'NoneRemaining', 'Corruption', 'RankTooLow', 'InvalidWitness', 'NoPermission']
|
||||
},
|
||||
/**
|
||||
* Lookup774: pallet_fast_unstake::types::UnstakeRequest<T>
|
||||
* Lookup775: pallet_fast_unstake::types::UnstakeRequest<T>
|
||||
**/
|
||||
PalletFastUnstakeUnstakeRequest: {
|
||||
stashes: 'Vec<(AccountId32,u128)>',
|
||||
checked: 'Vec<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup777: pallet_fast_unstake::pallet::Error<T>
|
||||
* Lookup778: pallet_fast_unstake::pallet::Error<T>
|
||||
**/
|
||||
PalletFastUnstakeError: {
|
||||
_enum: ['NotController', 'AlreadyQueued', 'NotFullyBonded', 'NotQueued', 'AlreadyHead', 'CallNotAllowed']
|
||||
},
|
||||
/**
|
||||
* Lookup778: pallet_message_queue::BookState<MessageOrigin>
|
||||
* Lookup779: pallet_message_queue::BookState<MessageOrigin>
|
||||
**/
|
||||
PalletMessageQueueBookState: {
|
||||
_alias: {
|
||||
@@ -6749,14 +6774,14 @@ export default {
|
||||
size_: 'u64'
|
||||
},
|
||||
/**
|
||||
* Lookup780: pallet_message_queue::Neighbours<MessageOrigin>
|
||||
* Lookup781: pallet_message_queue::Neighbours<MessageOrigin>
|
||||
**/
|
||||
PalletMessageQueueNeighbours: {
|
||||
prev: 'u32',
|
||||
next: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup781: pallet_message_queue::Page<Size, HeapSize>
|
||||
* Lookup782: pallet_message_queue::Page<Size, HeapSize>
|
||||
**/
|
||||
PalletMessageQueuePage: {
|
||||
remaining: 'u32',
|
||||
@@ -6767,37 +6792,37 @@ export default {
|
||||
heap: 'Bytes'
|
||||
},
|
||||
/**
|
||||
* Lookup783: pallet_message_queue::pallet::Error<T>
|
||||
* Lookup784: pallet_message_queue::pallet::Error<T>
|
||||
**/
|
||||
PalletMessageQueueError: {
|
||||
_enum: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable']
|
||||
},
|
||||
/**
|
||||
* Lookup787: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
|
||||
* Lookup788: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckNonZeroSender: 'Null',
|
||||
/**
|
||||
* Lookup788: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
|
||||
* Lookup789: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckSpecVersion: 'Null',
|
||||
/**
|
||||
* Lookup789: frame_system::extensions::check_tx_version::CheckTxVersion<T>
|
||||
* Lookup790: frame_system::extensions::check_tx_version::CheckTxVersion<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckTxVersion: 'Null',
|
||||
/**
|
||||
* Lookup790: frame_system::extensions::check_genesis::CheckGenesis<T>
|
||||
* Lookup791: frame_system::extensions::check_genesis::CheckGenesis<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckGenesis: 'Null',
|
||||
/**
|
||||
* Lookup793: frame_system::extensions::check_nonce::CheckNonce<T>
|
||||
* Lookup794: frame_system::extensions::check_nonce::CheckNonce<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
|
||||
/**
|
||||
* Lookup794: frame_system::extensions::check_weight::CheckWeight<T>
|
||||
* Lookup795: frame_system::extensions::check_weight::CheckWeight<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckWeight: 'Null',
|
||||
/**
|
||||
* Lookup795: pallet_asset_tx_payment::ChargeAssetTxPayment<T>
|
||||
* Lookup796: pallet_asset_tx_payment::ChargeAssetTxPayment<T>
|
||||
**/
|
||||
PalletAssetTxPaymentChargeAssetTxPayment: {
|
||||
tip: 'Compact<u128>',
|
||||
|
||||
@@ -2383,9 +2383,8 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isPvfCheckInvalidSignature: boolean;
|
||||
readonly isPvfCheckDoubleVote: boolean;
|
||||
readonly isPvfCheckSubjectInvalid: boolean;
|
||||
readonly isPvfCheckDisabled: boolean;
|
||||
readonly isCannotUpgradeCode: boolean;
|
||||
readonly type: 'NotRegistered' | 'CannotOnboard' | 'CannotOffboard' | 'CannotUpgrade' | 'CannotDowngrade' | 'PvfCheckStatementStale' | 'PvfCheckStatementFuture' | 'PvfCheckValidatorIndexOutOfBounds' | 'PvfCheckInvalidSignature' | 'PvfCheckDoubleVote' | 'PvfCheckSubjectInvalid' | 'PvfCheckDisabled' | 'CannotUpgradeCode';
|
||||
readonly type: 'NotRegistered' | 'CannotOnboard' | 'CannotOffboard' | 'CannotUpgrade' | 'CannotDowngrade' | 'PvfCheckStatementStale' | 'PvfCheckStatementFuture' | 'PvfCheckValidatorIndexOutOfBounds' | 'PvfCheckInvalidSignature' | 'PvfCheckDoubleVote' | 'PvfCheckSubjectInvalid' | 'CannotUpgradeCode';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (759) */
|
||||
|
||||
@@ -160,7 +160,8 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isUnsupported: boolean;
|
||||
readonly isCannotCreateHold: boolean;
|
||||
readonly isNotExpendable: boolean;
|
||||
readonly type: 'FundsUnavailable' | 'OnlyProvider' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported' | 'CannotCreateHold' | 'NotExpendable';
|
||||
readonly isBlocked: boolean;
|
||||
readonly type: 'FundsUnavailable' | 'OnlyProvider' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported' | 'CannotCreateHold' | 'NotExpendable' | 'Blocked';
|
||||
}
|
||||
|
||||
/** @name SpArithmeticArithmeticError (28) */
|
||||
@@ -1441,7 +1442,18 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly assetId: u32;
|
||||
readonly newMinBalance: u128;
|
||||
} & Struct;
|
||||
readonly type: 'Created' | 'Issued' | 'Transferred' | 'Burned' | 'TeamChanged' | 'OwnerChanged' | 'Frozen' | 'Thawed' | 'AssetFrozen' | 'AssetThawed' | 'AccountsDestroyed' | 'ApprovalsDestroyed' | 'DestructionStarted' | 'Destroyed' | 'ForceCreated' | 'MetadataSet' | 'MetadataCleared' | 'ApprovedTransfer' | 'ApprovalCancelled' | 'TransferredApproved' | 'AssetStatusChanged' | 'AssetMinBalanceChanged';
|
||||
readonly isTouched: boolean;
|
||||
readonly asTouched: {
|
||||
readonly assetId: u32;
|
||||
readonly who: AccountId32;
|
||||
readonly depositor: AccountId32;
|
||||
} & Struct;
|
||||
readonly isBlocked: boolean;
|
||||
readonly asBlocked: {
|
||||
readonly assetId: u32;
|
||||
readonly who: AccountId32;
|
||||
} & Struct;
|
||||
readonly type: 'Created' | 'Issued' | 'Transferred' | 'Burned' | 'TeamChanged' | 'OwnerChanged' | 'Frozen' | 'Thawed' | 'AssetFrozen' | 'AssetThawed' | 'AccountsDestroyed' | 'ApprovalsDestroyed' | 'DestructionStarted' | 'Destroyed' | 'ForceCreated' | 'MetadataSet' | 'MetadataCleared' | 'ApprovedTransfer' | 'ApprovalCancelled' | 'TransferredApproved' | 'AssetStatusChanged' | 'AssetMinBalanceChanged' | 'Touched' | 'Blocked';
|
||||
}
|
||||
|
||||
/** @name PalletLotteryEvent (104) */
|
||||
@@ -2562,7 +2574,6 @@ declare module '@polkadot/types/lookup' {
|
||||
interface PalletStakingPalletCall extends Enum {
|
||||
readonly isBond: boolean;
|
||||
readonly asBond: {
|
||||
readonly controller: MultiAddress;
|
||||
readonly value: Compact<u128>;
|
||||
readonly payee: PalletStakingRewardDestination;
|
||||
} & Struct;
|
||||
@@ -2592,9 +2603,6 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly payee: PalletStakingRewardDestination;
|
||||
} & Struct;
|
||||
readonly isSetController: boolean;
|
||||
readonly asSetController: {
|
||||
readonly controller: MultiAddress;
|
||||
} & Struct;
|
||||
readonly isSetValidatorCount: boolean;
|
||||
readonly asSetValidatorCount: {
|
||||
readonly new_: Compact<u32>;
|
||||
@@ -3864,7 +3872,22 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly id: Compact<u32>;
|
||||
readonly minBalance: u128;
|
||||
} & Struct;
|
||||
readonly type: 'Create' | 'ForceCreate' | 'StartDestroy' | 'DestroyAccounts' | 'DestroyApprovals' | 'FinishDestroy' | 'Mint' | 'Burn' | 'Transfer' | 'TransferKeepAlive' | 'ForceTransfer' | 'Freeze' | 'Thaw' | 'FreezeAsset' | 'ThawAsset' | 'TransferOwnership' | 'SetTeam' | 'SetMetadata' | 'ClearMetadata' | 'ForceSetMetadata' | 'ForceClearMetadata' | 'ForceAssetStatus' | 'ApproveTransfer' | 'CancelApproval' | 'ForceCancelApproval' | 'TransferApproved' | 'Touch' | 'Refund' | 'SetMinBalance';
|
||||
readonly isTouchOther: boolean;
|
||||
readonly asTouchOther: {
|
||||
readonly id: Compact<u32>;
|
||||
readonly who: MultiAddress;
|
||||
} & Struct;
|
||||
readonly isRefundOther: boolean;
|
||||
readonly asRefundOther: {
|
||||
readonly id: Compact<u32>;
|
||||
readonly who: MultiAddress;
|
||||
} & Struct;
|
||||
readonly isBlock: boolean;
|
||||
readonly asBlock: {
|
||||
readonly id: Compact<u32>;
|
||||
readonly who: MultiAddress;
|
||||
} & Struct;
|
||||
readonly type: 'Create' | 'ForceCreate' | 'StartDestroy' | 'DestroyAccounts' | 'DestroyApprovals' | 'FinishDestroy' | 'Mint' | 'Burn' | 'Transfer' | 'TransferKeepAlive' | 'ForceTransfer' | 'Freeze' | 'Thaw' | 'FreezeAsset' | 'ThawAsset' | 'TransferOwnership' | 'SetTeam' | 'SetMetadata' | 'ClearMetadata' | 'ForceSetMetadata' | 'ForceClearMetadata' | 'ForceAssetStatus' | 'ApproveTransfer' | 'CancelApproval' | 'ForceCancelApproval' | 'TransferApproved' | 'Touch' | 'Refund' | 'SetMinBalance' | 'TouchOther' | 'RefundOther' | 'Block';
|
||||
}
|
||||
|
||||
/** @name PalletLotteryCall (324) */
|
||||
@@ -6646,28 +6669,38 @@ declare module '@polkadot/types/lookup' {
|
||||
/** @name PalletAssetsAssetAccount (639) */
|
||||
interface PalletAssetsAssetAccount extends Struct {
|
||||
readonly balance: u128;
|
||||
readonly isFrozen: bool;
|
||||
readonly status: PalletAssetsAccountStatus;
|
||||
readonly reason: PalletAssetsExistenceReason;
|
||||
readonly extra: Null;
|
||||
}
|
||||
|
||||
/** @name PalletAssetsExistenceReason (640) */
|
||||
/** @name PalletAssetsAccountStatus (640) */
|
||||
interface PalletAssetsAccountStatus extends Enum {
|
||||
readonly isLiquid: boolean;
|
||||
readonly isFrozen: boolean;
|
||||
readonly isBlocked: boolean;
|
||||
readonly type: 'Liquid' | 'Frozen' | 'Blocked';
|
||||
}
|
||||
|
||||
/** @name PalletAssetsExistenceReason (641) */
|
||||
interface PalletAssetsExistenceReason extends Enum {
|
||||
readonly isConsumer: boolean;
|
||||
readonly isSufficient: boolean;
|
||||
readonly isDepositHeld: boolean;
|
||||
readonly asDepositHeld: u128;
|
||||
readonly isDepositRefunded: boolean;
|
||||
readonly type: 'Consumer' | 'Sufficient' | 'DepositHeld' | 'DepositRefunded';
|
||||
readonly isDepositFrom: boolean;
|
||||
readonly asDepositFrom: ITuple<[AccountId32, u128]>;
|
||||
readonly type: 'Consumer' | 'Sufficient' | 'DepositHeld' | 'DepositRefunded' | 'DepositFrom';
|
||||
}
|
||||
|
||||
/** @name PalletAssetsApproval (642) */
|
||||
/** @name PalletAssetsApproval (643) */
|
||||
interface PalletAssetsApproval extends Struct {
|
||||
readonly amount: u128;
|
||||
readonly deposit: u128;
|
||||
}
|
||||
|
||||
/** @name PalletAssetsAssetMetadata (643) */
|
||||
/** @name PalletAssetsAssetMetadata (644) */
|
||||
interface PalletAssetsAssetMetadata extends Struct {
|
||||
readonly deposit: u128;
|
||||
readonly name: Bytes;
|
||||
@@ -6676,7 +6709,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isFrozen: bool;
|
||||
}
|
||||
|
||||
/** @name PalletAssetsError (644) */
|
||||
/** @name PalletAssetsError (645) */
|
||||
interface PalletAssetsError extends Enum {
|
||||
readonly isBalanceLow: boolean;
|
||||
readonly isNoAccount: boolean;
|
||||
@@ -6701,7 +6734,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'BalanceLow' | 'NoAccount' | 'NoPermission' | 'Unknown' | 'Frozen' | 'InUse' | 'BadWitness' | 'MinBalanceZero' | 'UnavailableConsumer' | 'BadMetadata' | 'Unapproved' | 'WouldDie' | 'AlreadyExists' | 'NoDeposit' | 'WouldBurn' | 'LiveAsset' | 'AssetNotLive' | 'IncorrectStatus' | 'NotFrozen' | 'CallbackFailed';
|
||||
}
|
||||
|
||||
/** @name PalletLotteryLotteryConfig (645) */
|
||||
/** @name PalletLotteryLotteryConfig (646) */
|
||||
interface PalletLotteryLotteryConfig extends Struct {
|
||||
readonly price: u128;
|
||||
readonly start: u32;
|
||||
@@ -6710,7 +6743,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly repeat: bool;
|
||||
}
|
||||
|
||||
/** @name PalletLotteryError (649) */
|
||||
/** @name PalletLotteryError (650) */
|
||||
interface PalletLotteryError extends Enum {
|
||||
readonly isNotConfigured: boolean;
|
||||
readonly isInProgress: boolean;
|
||||
@@ -6722,13 +6755,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotConfigured' | 'InProgress' | 'AlreadyEnded' | 'InvalidCall' | 'AlreadyParticipating' | 'TooManyCalls' | 'EncodingFailed';
|
||||
}
|
||||
|
||||
/** @name PalletNisBid (652) */
|
||||
/** @name PalletNisBid (653) */
|
||||
interface PalletNisBid extends Struct {
|
||||
readonly amount: u128;
|
||||
readonly who: AccountId32;
|
||||
}
|
||||
|
||||
/** @name PalletNisSummaryRecord (654) */
|
||||
/** @name PalletNisSummaryRecord (655) */
|
||||
interface PalletNisSummaryRecord extends Struct {
|
||||
readonly proportionOwed: Perquintill;
|
||||
readonly index: u32;
|
||||
@@ -6737,14 +6770,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly receiptsOnHold: u128;
|
||||
}
|
||||
|
||||
/** @name PalletNisReceiptRecord (655) */
|
||||
/** @name PalletNisReceiptRecord (656) */
|
||||
interface PalletNisReceiptRecord extends Struct {
|
||||
readonly proportion: Perquintill;
|
||||
readonly owner: Option<ITuple<[AccountId32, u128]>>;
|
||||
readonly expiry: u32;
|
||||
}
|
||||
|
||||
/** @name PalletNisError (657) */
|
||||
/** @name PalletNisError (658) */
|
||||
interface PalletNisError extends Enum {
|
||||
readonly isDurationTooSmall: boolean;
|
||||
readonly isDurationTooBig: boolean;
|
||||
@@ -6764,7 +6797,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'DurationTooSmall' | 'DurationTooBig' | 'AmountTooSmall' | 'BidTooLow' | 'UnknownReceipt' | 'NotOwner' | 'NotExpired' | 'UnknownBid' | 'PortionTooBig' | 'Unfunded' | 'AlreadyFunded' | 'Throttled' | 'MakesDust' | 'AlreadyCommunal' | 'AlreadyPrivate';
|
||||
}
|
||||
|
||||
/** @name PalletUniquesCollectionDetails (658) */
|
||||
/** @name PalletUniquesCollectionDetails (659) */
|
||||
interface PalletUniquesCollectionDetails extends Struct {
|
||||
readonly owner: AccountId32;
|
||||
readonly issuer: AccountId32;
|
||||
@@ -6778,7 +6811,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isFrozen: bool;
|
||||
}
|
||||
|
||||
/** @name PalletUniquesItemDetails (660) */
|
||||
/** @name PalletUniquesItemDetails (661) */
|
||||
interface PalletUniquesItemDetails extends Struct {
|
||||
readonly owner: AccountId32;
|
||||
readonly approved: Option<AccountId32>;
|
||||
@@ -6786,21 +6819,21 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly deposit: u128;
|
||||
}
|
||||
|
||||
/** @name PalletUniquesCollectionMetadata (661) */
|
||||
/** @name PalletUniquesCollectionMetadata (662) */
|
||||
interface PalletUniquesCollectionMetadata extends Struct {
|
||||
readonly deposit: u128;
|
||||
readonly data: Bytes;
|
||||
readonly isFrozen: bool;
|
||||
}
|
||||
|
||||
/** @name PalletUniquesItemMetadata (662) */
|
||||
/** @name PalletUniquesItemMetadata (663) */
|
||||
interface PalletUniquesItemMetadata extends Struct {
|
||||
readonly deposit: u128;
|
||||
readonly data: Bytes;
|
||||
readonly isFrozen: bool;
|
||||
}
|
||||
|
||||
/** @name PalletUniquesError (666) */
|
||||
/** @name PalletUniquesError (667) */
|
||||
interface PalletUniquesError extends Enum {
|
||||
readonly isNoPermission: boolean;
|
||||
readonly isUnknownCollection: boolean;
|
||||
@@ -6823,7 +6856,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NoPermission' | 'UnknownCollection' | 'AlreadyExists' | 'WrongOwner' | 'BadWitness' | 'InUse' | 'Frozen' | 'WrongDelegate' | 'NoDelegate' | 'Unapproved' | 'Unaccepted' | 'Locked' | 'MaxSupplyReached' | 'MaxSupplyAlreadySet' | 'MaxSupplyTooSmall' | 'UnknownItem' | 'NotForSale' | 'BidTooLow';
|
||||
}
|
||||
|
||||
/** @name PalletNftsCollectionDetails (667) */
|
||||
/** @name PalletNftsCollectionDetails (668) */
|
||||
interface PalletNftsCollectionDetails extends Struct {
|
||||
readonly owner: AccountId32;
|
||||
readonly ownerDeposit: u128;
|
||||
@@ -6833,7 +6866,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly attributes: u32;
|
||||
}
|
||||
|
||||
/** @name PalletNftsCollectionRole (669) */
|
||||
/** @name PalletNftsCollectionRole (670) */
|
||||
interface PalletNftsCollectionRole extends Enum {
|
||||
readonly isIssuer: boolean;
|
||||
readonly isFreezer: boolean;
|
||||
@@ -6841,44 +6874,44 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Issuer' | 'Freezer' | 'Admin';
|
||||
}
|
||||
|
||||
/** @name PalletNftsItemDetails (670) */
|
||||
/** @name PalletNftsItemDetails (671) */
|
||||
interface PalletNftsItemDetails extends Struct {
|
||||
readonly owner: AccountId32;
|
||||
readonly approvals: BTreeMap<AccountId32, Option<u32>>;
|
||||
readonly deposit: PalletNftsItemDeposit;
|
||||
}
|
||||
|
||||
/** @name PalletNftsItemDeposit (671) */
|
||||
/** @name PalletNftsItemDeposit (672) */
|
||||
interface PalletNftsItemDeposit extends Struct {
|
||||
readonly account: AccountId32;
|
||||
readonly amount: u128;
|
||||
}
|
||||
|
||||
/** @name PalletNftsCollectionMetadata (676) */
|
||||
/** @name PalletNftsCollectionMetadata (677) */
|
||||
interface PalletNftsCollectionMetadata extends Struct {
|
||||
readonly deposit: u128;
|
||||
readonly data: Bytes;
|
||||
}
|
||||
|
||||
/** @name PalletNftsItemMetadata (677) */
|
||||
/** @name PalletNftsItemMetadata (678) */
|
||||
interface PalletNftsItemMetadata extends Struct {
|
||||
readonly deposit: PalletNftsItemMetadataDeposit;
|
||||
readonly data: Bytes;
|
||||
}
|
||||
|
||||
/** @name PalletNftsItemMetadataDeposit (678) */
|
||||
/** @name PalletNftsItemMetadataDeposit (679) */
|
||||
interface PalletNftsItemMetadataDeposit extends Struct {
|
||||
readonly account: Option<AccountId32>;
|
||||
readonly amount: u128;
|
||||
}
|
||||
|
||||
/** @name PalletNftsAttributeDeposit (681) */
|
||||
/** @name PalletNftsAttributeDeposit (682) */
|
||||
interface PalletNftsAttributeDeposit extends Struct {
|
||||
readonly account: Option<AccountId32>;
|
||||
readonly amount: u128;
|
||||
}
|
||||
|
||||
/** @name PalletNftsPendingSwap (684) */
|
||||
/** @name PalletNftsPendingSwap (685) */
|
||||
interface PalletNftsPendingSwap extends Struct {
|
||||
readonly desiredCollection: u32;
|
||||
readonly desiredItem: Option<u32>;
|
||||
@@ -6886,7 +6919,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly deadline: u32;
|
||||
}
|
||||
|
||||
/** @name PalletNftsPalletFeature (686) */
|
||||
/** @name PalletNftsPalletFeature (687) */
|
||||
interface PalletNftsPalletFeature extends Enum {
|
||||
readonly isTrading: boolean;
|
||||
readonly isAttributes: boolean;
|
||||
@@ -6895,7 +6928,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Trading' | 'Attributes' | 'Approvals' | 'Swaps';
|
||||
}
|
||||
|
||||
/** @name PalletNftsError (687) */
|
||||
/** @name PalletNftsError (688) */
|
||||
interface PalletNftsError extends Enum {
|
||||
readonly isNoPermission: boolean;
|
||||
readonly isUnknownCollection: boolean;
|
||||
@@ -6944,7 +6977,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NoPermission' | 'UnknownCollection' | 'AlreadyExists' | 'ApprovalExpired' | 'WrongOwner' | 'BadWitness' | 'CollectionIdInUse' | 'ItemsNonTransferable' | 'NotDelegate' | 'WrongDelegate' | 'Unapproved' | 'Unaccepted' | 'ItemLocked' | 'LockedItemAttributes' | 'LockedCollectionAttributes' | 'LockedItemMetadata' | 'LockedCollectionMetadata' | 'MaxSupplyReached' | 'MaxSupplyLocked' | 'MaxSupplyTooSmall' | 'UnknownItem' | 'UnknownSwap' | 'MetadataNotFound' | 'AttributeNotFound' | 'NotForSale' | 'BidTooLow' | 'ReachedApprovalLimit' | 'DeadlineExpired' | 'WrongDuration' | 'MethodDisabled' | 'WrongSetting' | 'InconsistentItemConfig' | 'NoConfig' | 'RolesNotCleared' | 'MintNotStarted' | 'MintEnded' | 'AlreadyClaimed' | 'IncorrectData' | 'WrongOrigin' | 'WrongSignature' | 'IncorrectMetadata' | 'MaxAttributesLimitReached' | 'WrongNamespace' | 'CollectionNotEmpty';
|
||||
}
|
||||
|
||||
/** @name PalletSalaryStatusType (688) */
|
||||
/** @name PalletSalaryStatusType (689) */
|
||||
interface PalletSalaryStatusType extends Struct {
|
||||
readonly cycleIndex: u32;
|
||||
readonly cycleStart: u32;
|
||||
@@ -6953,13 +6986,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly totalUnregisteredPaid: u128;
|
||||
}
|
||||
|
||||
/** @name PalletSalaryClaimantStatus (689) */
|
||||
/** @name PalletSalaryClaimantStatus (690) */
|
||||
interface PalletSalaryClaimantStatus extends Struct {
|
||||
readonly lastActive: u32;
|
||||
readonly status: PalletSalaryClaimState;
|
||||
}
|
||||
|
||||
/** @name PalletSalaryClaimState (690) */
|
||||
/** @name PalletSalaryClaimState (691) */
|
||||
interface PalletSalaryClaimState extends Enum {
|
||||
readonly isNothing: boolean;
|
||||
readonly isRegistered: boolean;
|
||||
@@ -6973,7 +7006,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Nothing' | 'Registered' | 'Attempted';
|
||||
}
|
||||
|
||||
/** @name PalletSalaryError (691) */
|
||||
/** @name PalletSalaryError (692) */
|
||||
interface PalletSalaryError extends Enum {
|
||||
readonly isAlreadyStarted: boolean;
|
||||
readonly isNotMember: boolean;
|
||||
@@ -6992,14 +7025,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'AlreadyStarted' | 'NotMember' | 'AlreadyInducted' | 'NotInducted' | 'NoClaim' | 'ClaimZero' | 'TooLate' | 'TooEarly' | 'NotYet' | 'NotStarted' | 'Bankrupt' | 'PayError' | 'Inconclusive' | 'NotCurrent';
|
||||
}
|
||||
|
||||
/** @name PalletCoreFellowshipMemberStatus (692) */
|
||||
/** @name PalletCoreFellowshipMemberStatus (693) */
|
||||
interface PalletCoreFellowshipMemberStatus extends Struct {
|
||||
readonly isActive: bool;
|
||||
readonly lastPromotion: u32;
|
||||
readonly lastProof: u32;
|
||||
}
|
||||
|
||||
/** @name PalletCoreFellowshipError (694) */
|
||||
/** @name PalletCoreFellowshipError (695) */
|
||||
interface PalletCoreFellowshipError extends Enum {
|
||||
readonly isUnranked: boolean;
|
||||
readonly isRanked: boolean;
|
||||
@@ -7013,7 +7046,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Unranked' | 'Ranked' | 'UnexpectedRank' | 'InvalidRank' | 'NoPermission' | 'NothingDoing' | 'AlreadyInducted' | 'NotTracked' | 'TooSoon';
|
||||
}
|
||||
|
||||
/** @name PalletTransactionStorageTransactionInfo (696) */
|
||||
/** @name PalletTransactionStorageTransactionInfo (697) */
|
||||
interface PalletTransactionStorageTransactionInfo extends Struct {
|
||||
readonly chunkRoot: H256;
|
||||
readonly contentHash: H256;
|
||||
@@ -7021,7 +7054,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly blockChunks: u32;
|
||||
}
|
||||
|
||||
/** @name PalletTransactionStorageError (698) */
|
||||
/** @name PalletTransactionStorageError (699) */
|
||||
interface PalletTransactionStorageError extends Enum {
|
||||
readonly isInsufficientFunds: boolean;
|
||||
readonly isNotConfigured: boolean;
|
||||
@@ -7039,7 +7072,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'InsufficientFunds' | 'NotConfigured' | 'RenewedNotFound' | 'EmptyTransaction' | 'UnexpectedProof' | 'InvalidProof' | 'MissingProof' | 'MissingStateData' | 'DoubleCheck' | 'ProofNotChecked' | 'TransactionTooLarge' | 'TooManyTransactions' | 'BadContext';
|
||||
}
|
||||
|
||||
/** @name PalletBagsListListNode (699) */
|
||||
/** @name PalletBagsListListNode (700) */
|
||||
interface PalletBagsListListNode extends Struct {
|
||||
readonly id: AccountId32;
|
||||
readonly prev: Option<AccountId32>;
|
||||
@@ -7048,20 +7081,20 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly score: u64;
|
||||
}
|
||||
|
||||
/** @name PalletBagsListListBag (700) */
|
||||
/** @name PalletBagsListListBag (701) */
|
||||
interface PalletBagsListListBag extends Struct {
|
||||
readonly head: Option<AccountId32>;
|
||||
readonly tail: Option<AccountId32>;
|
||||
}
|
||||
|
||||
/** @name PalletBagsListError (702) */
|
||||
/** @name PalletBagsListError (703) */
|
||||
interface PalletBagsListError extends Enum {
|
||||
readonly isList: boolean;
|
||||
readonly asList: PalletBagsListListListError;
|
||||
readonly type: 'List';
|
||||
}
|
||||
|
||||
/** @name PalletBagsListListListError (703) */
|
||||
/** @name PalletBagsListListListError (704) */
|
||||
interface PalletBagsListListListError extends Enum {
|
||||
readonly isDuplicate: boolean;
|
||||
readonly isNotHeavier: boolean;
|
||||
@@ -7070,7 +7103,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Duplicate' | 'NotHeavier' | 'NotInSameBag' | 'NodeNotFound';
|
||||
}
|
||||
|
||||
/** @name PalletChildBountiesChildBounty (704) */
|
||||
/** @name PalletChildBountiesChildBounty (705) */
|
||||
interface PalletChildBountiesChildBounty extends Struct {
|
||||
readonly parentBounty: u32;
|
||||
readonly value: u128;
|
||||
@@ -7079,7 +7112,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly status: PalletChildBountiesChildBountyStatus;
|
||||
}
|
||||
|
||||
/** @name PalletChildBountiesChildBountyStatus (705) */
|
||||
/** @name PalletChildBountiesChildBountyStatus (706) */
|
||||
interface PalletChildBountiesChildBountyStatus extends Enum {
|
||||
readonly isAdded: boolean;
|
||||
readonly isCuratorProposed: boolean;
|
||||
@@ -7099,7 +7132,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Added' | 'CuratorProposed' | 'Active' | 'PendingPayout';
|
||||
}
|
||||
|
||||
/** @name PalletChildBountiesError (706) */
|
||||
/** @name PalletChildBountiesError (707) */
|
||||
interface PalletChildBountiesError extends Enum {
|
||||
readonly isParentBountyNotActive: boolean;
|
||||
readonly isInsufficientBountyBalance: boolean;
|
||||
@@ -7107,7 +7140,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'ParentBountyNotActive' | 'InsufficientBountyBalance' | 'TooManyChildBounties';
|
||||
}
|
||||
|
||||
/** @name PalletReferendaReferendumInfoConvictionVotingTally (707) */
|
||||
/** @name PalletReferendaReferendumInfoConvictionVotingTally (708) */
|
||||
interface PalletReferendaReferendumInfoConvictionVotingTally extends Enum {
|
||||
readonly isOngoing: boolean;
|
||||
readonly asOngoing: PalletReferendaReferendumStatusConvictionVotingTally;
|
||||
@@ -7124,7 +7157,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed';
|
||||
}
|
||||
|
||||
/** @name PalletReferendaReferendumStatusConvictionVotingTally (708) */
|
||||
/** @name PalletReferendaReferendumStatusConvictionVotingTally (709) */
|
||||
interface PalletReferendaReferendumStatusConvictionVotingTally extends Struct {
|
||||
readonly track: u16;
|
||||
readonly origin: KitchensinkRuntimeOriginCaller;
|
||||
@@ -7139,19 +7172,19 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly alarm: Option<ITuple<[u32, ITuple<[u32, u32]>]>>;
|
||||
}
|
||||
|
||||
/** @name PalletReferendaDeposit (709) */
|
||||
/** @name PalletReferendaDeposit (710) */
|
||||
interface PalletReferendaDeposit extends Struct {
|
||||
readonly who: AccountId32;
|
||||
readonly amount: u128;
|
||||
}
|
||||
|
||||
/** @name PalletReferendaDecidingStatus (712) */
|
||||
/** @name PalletReferendaDecidingStatus (713) */
|
||||
interface PalletReferendaDecidingStatus extends Struct {
|
||||
readonly since: u32;
|
||||
readonly confirming: Option<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletReferendaTrackInfo (718) */
|
||||
/** @name PalletReferendaTrackInfo (719) */
|
||||
interface PalletReferendaTrackInfo extends Struct {
|
||||
readonly name: Text;
|
||||
readonly maxDeciding: u32;
|
||||
@@ -7164,7 +7197,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly minSupport: PalletReferendaCurve;
|
||||
}
|
||||
|
||||
/** @name PalletReferendaCurve (719) */
|
||||
/** @name PalletReferendaCurve (720) */
|
||||
interface PalletReferendaCurve extends Enum {
|
||||
readonly isLinearDecreasing: boolean;
|
||||
readonly asLinearDecreasing: {
|
||||
@@ -7188,7 +7221,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'LinearDecreasing' | 'SteppedDecreasing' | 'Reciprocal';
|
||||
}
|
||||
|
||||
/** @name PalletReferendaError (722) */
|
||||
/** @name PalletReferendaError (723) */
|
||||
interface PalletReferendaError extends Enum {
|
||||
readonly isNotOngoing: boolean;
|
||||
readonly isHasDeposit: boolean;
|
||||
@@ -7206,14 +7239,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotOngoing' | 'HasDeposit' | 'BadTrack' | 'Full' | 'QueueEmpty' | 'BadReferendum' | 'NothingToDo' | 'NoTrack' | 'Unfinished' | 'NoPermission' | 'NoDeposit' | 'BadStatus' | 'PreimageNotExist';
|
||||
}
|
||||
|
||||
/** @name PalletRemarkError (723) */
|
||||
/** @name PalletRemarkError (724) */
|
||||
interface PalletRemarkError extends Enum {
|
||||
readonly isEmpty: boolean;
|
||||
readonly isBadContext: boolean;
|
||||
readonly type: 'Empty' | 'BadContext';
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingVoteVoting (725) */
|
||||
/** @name PalletConvictionVotingVoteVoting (726) */
|
||||
interface PalletConvictionVotingVoteVoting extends Enum {
|
||||
readonly isCasting: boolean;
|
||||
readonly asCasting: PalletConvictionVotingVoteCasting;
|
||||
@@ -7222,23 +7255,23 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Casting' | 'Delegating';
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingVoteCasting (726) */
|
||||
/** @name PalletConvictionVotingVoteCasting (727) */
|
||||
interface PalletConvictionVotingVoteCasting extends Struct {
|
||||
readonly votes: Vec<ITuple<[u32, PalletConvictionVotingVoteAccountVote]>>;
|
||||
readonly delegations: PalletConvictionVotingDelegations;
|
||||
readonly prior: PalletConvictionVotingVotePriorLock;
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingDelegations (730) */
|
||||
/** @name PalletConvictionVotingDelegations (731) */
|
||||
interface PalletConvictionVotingDelegations extends Struct {
|
||||
readonly votes: u128;
|
||||
readonly capital: u128;
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingVotePriorLock (731) */
|
||||
/** @name PalletConvictionVotingVotePriorLock (732) */
|
||||
interface PalletConvictionVotingVotePriorLock extends ITuple<[u32, u128]> {}
|
||||
|
||||
/** @name PalletConvictionVotingVoteDelegating (732) */
|
||||
/** @name PalletConvictionVotingVoteDelegating (733) */
|
||||
interface PalletConvictionVotingVoteDelegating extends Struct {
|
||||
readonly balance: u128;
|
||||
readonly target: AccountId32;
|
||||
@@ -7247,7 +7280,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly prior: PalletConvictionVotingVotePriorLock;
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingError (736) */
|
||||
/** @name PalletConvictionVotingError (737) */
|
||||
interface PalletConvictionVotingError extends Enum {
|
||||
readonly isNotOngoing: boolean;
|
||||
readonly isNotVoter: boolean;
|
||||
@@ -7264,7 +7297,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotOngoing' | 'NotVoter' | 'NoPermission' | 'NoPermissionYet' | 'AlreadyDelegating' | 'AlreadyVoting' | 'InsufficientFunds' | 'NotDelegating' | 'Nonsense' | 'MaxVotesReached' | 'ClassNeeded' | 'BadClass';
|
||||
}
|
||||
|
||||
/** @name PalletWhitelistError (737) */
|
||||
/** @name PalletWhitelistError (738) */
|
||||
interface PalletWhitelistError extends Enum {
|
||||
readonly isUnavailablePreImage: boolean;
|
||||
readonly isUndecodableCall: boolean;
|
||||
@@ -7274,7 +7307,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'UnavailablePreImage' | 'UndecodableCall' | 'InvalidCallWeightWitness' | 'CallIsNotWhitelisted' | 'CallAlreadyWhitelisted';
|
||||
}
|
||||
|
||||
/** @name PalletAllianceMemberRole (742) */
|
||||
/** @name PalletAllianceMemberRole (743) */
|
||||
interface PalletAllianceMemberRole extends Enum {
|
||||
readonly isFellow: boolean;
|
||||
readonly isAlly: boolean;
|
||||
@@ -7282,7 +7315,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Fellow' | 'Ally' | 'Retiring';
|
||||
}
|
||||
|
||||
/** @name PalletAllianceError (746) */
|
||||
/** @name PalletAllianceError (747) */
|
||||
interface PalletAllianceError extends Enum {
|
||||
readonly isAllianceNotYetInitialized: boolean;
|
||||
readonly isAllianceAlreadyInitialized: boolean;
|
||||
@@ -7311,7 +7344,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'AllianceNotYetInitialized' | 'AllianceAlreadyInitialized' | 'AlreadyMember' | 'NotMember' | 'NotAlly' | 'NoVotingRights' | 'AlreadyElevated' | 'AlreadyUnscrupulous' | 'AccountNonGrata' | 'NotListedAsUnscrupulous' | 'TooManyUnscrupulousItems' | 'TooLongWebsiteUrl' | 'InsufficientFunds' | 'WithoutIdentityDisplayAndWebsite' | 'WithoutGoodIdentityJudgement' | 'MissingProposalHash' | 'MissingAnnouncement' | 'TooManyMembers' | 'TooManyAnnouncements' | 'BadWitness' | 'AlreadyRetiring' | 'RetirementNoticeNotGiven' | 'RetirementPeriodNotPassed' | 'FellowsMissing';
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsPoolMember (747) */
|
||||
/** @name PalletNominationPoolsPoolMember (748) */
|
||||
interface PalletNominationPoolsPoolMember extends Struct {
|
||||
readonly poolId: u32;
|
||||
readonly points: u128;
|
||||
@@ -7319,7 +7352,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly unbondingEras: BTreeMap<u32, u128>;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsBondedPoolInner (750) */
|
||||
/** @name PalletNominationPoolsBondedPoolInner (751) */
|
||||
interface PalletNominationPoolsBondedPoolInner extends Struct {
|
||||
readonly commission: PalletNominationPoolsCommission;
|
||||
readonly memberCounter: u32;
|
||||
@@ -7328,7 +7361,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly state: PalletNominationPoolsPoolState;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsCommission (751) */
|
||||
/** @name PalletNominationPoolsCommission (752) */
|
||||
interface PalletNominationPoolsCommission extends Struct {
|
||||
readonly current: Option<ITuple<[Perbill, AccountId32]>>;
|
||||
readonly max: Option<Perbill>;
|
||||
@@ -7336,7 +7369,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly throttleFrom: Option<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsPoolRoles (754) */
|
||||
/** @name PalletNominationPoolsPoolRoles (755) */
|
||||
interface PalletNominationPoolsPoolRoles extends Struct {
|
||||
readonly depositor: AccountId32;
|
||||
readonly root: Option<AccountId32>;
|
||||
@@ -7344,7 +7377,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly bouncer: Option<AccountId32>;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsRewardPool (755) */
|
||||
/** @name PalletNominationPoolsRewardPool (756) */
|
||||
interface PalletNominationPoolsRewardPool extends Struct {
|
||||
readonly lastRecordedRewardCounter: u128;
|
||||
readonly lastRecordedTotalPayouts: u128;
|
||||
@@ -7353,19 +7386,19 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly totalCommissionClaimed: u128;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsSubPools (756) */
|
||||
/** @name PalletNominationPoolsSubPools (757) */
|
||||
interface PalletNominationPoolsSubPools extends Struct {
|
||||
readonly noEra: PalletNominationPoolsUnbondPool;
|
||||
readonly withEra: BTreeMap<u32, PalletNominationPoolsUnbondPool>;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsUnbondPool (757) */
|
||||
/** @name PalletNominationPoolsUnbondPool (758) */
|
||||
interface PalletNominationPoolsUnbondPool extends Struct {
|
||||
readonly points: u128;
|
||||
readonly balance: u128;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsError (763) */
|
||||
/** @name PalletNominationPoolsError (764) */
|
||||
interface PalletNominationPoolsError extends Enum {
|
||||
readonly isPoolNotFound: boolean;
|
||||
readonly isPoolMemberNotFound: boolean;
|
||||
@@ -7401,7 +7434,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'PoolNotFound' | 'PoolMemberNotFound' | 'RewardPoolNotFound' | 'SubPoolsNotFound' | 'AccountBelongsToOtherPool' | 'FullyUnbonding' | 'MaxUnbondingLimit' | 'CannotWithdrawAny' | 'MinimumBondNotMet' | 'OverflowRisk' | 'NotDestroying' | 'NotNominator' | 'NotKickerOrDestroying' | 'NotOpen' | 'MaxPools' | 'MaxPoolMembers' | 'CanNotChangeState' | 'DoesNotHavePermission' | 'MetadataExceedsMaxLen' | 'Defensive' | 'PartialUnbondNotAllowedPermissionlessly' | 'MaxCommissionRestricted' | 'CommissionExceedsMaximum' | 'CommissionChangeThrottled' | 'CommissionChangeRateNotAllowed' | 'NoPendingCommission' | 'NoCommissionCurrentSet' | 'PoolIdInUse' | 'InvalidPoolId' | 'BondExtraRestricted';
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsDefensiveError (764) */
|
||||
/** @name PalletNominationPoolsDefensiveError (765) */
|
||||
interface PalletNominationPoolsDefensiveError extends Enum {
|
||||
readonly isNotEnoughSpaceInUnbondPool: boolean;
|
||||
readonly isPoolNotFound: boolean;
|
||||
@@ -7411,7 +7444,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotEnoughSpaceInUnbondPool' | 'PoolNotFound' | 'RewardPoolNotFound' | 'SubPoolsNotFound' | 'BondedStashKilledPrematurely';
|
||||
}
|
||||
|
||||
/** @name PalletReferendaReferendumInfoRankedCollectiveTally (765) */
|
||||
/** @name PalletReferendaReferendumInfoRankedCollectiveTally (766) */
|
||||
interface PalletReferendaReferendumInfoRankedCollectiveTally extends Enum {
|
||||
readonly isOngoing: boolean;
|
||||
readonly asOngoing: PalletReferendaReferendumStatusRankedCollectiveTally;
|
||||
@@ -7428,7 +7461,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed';
|
||||
}
|
||||
|
||||
/** @name PalletReferendaReferendumStatusRankedCollectiveTally (766) */
|
||||
/** @name PalletReferendaReferendumStatusRankedCollectiveTally (767) */
|
||||
interface PalletReferendaReferendumStatusRankedCollectiveTally extends Struct {
|
||||
readonly track: u16;
|
||||
readonly origin: KitchensinkRuntimeOriginCaller;
|
||||
@@ -7443,12 +7476,12 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly alarm: Option<ITuple<[u32, ITuple<[u32, u32]>]>>;
|
||||
}
|
||||
|
||||
/** @name PalletRankedCollectiveMemberRecord (769) */
|
||||
/** @name PalletRankedCollectiveMemberRecord (770) */
|
||||
interface PalletRankedCollectiveMemberRecord extends Struct {
|
||||
readonly rank: u16;
|
||||
}
|
||||
|
||||
/** @name PalletRankedCollectiveError (773) */
|
||||
/** @name PalletRankedCollectiveError (774) */
|
||||
interface PalletRankedCollectiveError extends Enum {
|
||||
readonly isAlreadyMember: boolean;
|
||||
readonly isNotMember: boolean;
|
||||
@@ -7462,13 +7495,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'AlreadyMember' | 'NotMember' | 'NotPolling' | 'Ongoing' | 'NoneRemaining' | 'Corruption' | 'RankTooLow' | 'InvalidWitness' | 'NoPermission';
|
||||
}
|
||||
|
||||
/** @name PalletFastUnstakeUnstakeRequest (774) */
|
||||
/** @name PalletFastUnstakeUnstakeRequest (775) */
|
||||
interface PalletFastUnstakeUnstakeRequest extends Struct {
|
||||
readonly stashes: Vec<ITuple<[AccountId32, u128]>>;
|
||||
readonly checked: Vec<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletFastUnstakeError (777) */
|
||||
/** @name PalletFastUnstakeError (778) */
|
||||
interface PalletFastUnstakeError extends Enum {
|
||||
readonly isNotController: boolean;
|
||||
readonly isAlreadyQueued: boolean;
|
||||
@@ -7479,7 +7512,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotController' | 'AlreadyQueued' | 'NotFullyBonded' | 'NotQueued' | 'AlreadyHead' | 'CallNotAllowed';
|
||||
}
|
||||
|
||||
/** @name PalletMessageQueueBookState (778) */
|
||||
/** @name PalletMessageQueueBookState (779) */
|
||||
interface PalletMessageQueueBookState extends Struct {
|
||||
readonly begin: u32;
|
||||
readonly end: u32;
|
||||
@@ -7489,13 +7522,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly size_: u64;
|
||||
}
|
||||
|
||||
/** @name PalletMessageQueueNeighbours (780) */
|
||||
/** @name PalletMessageQueueNeighbours (781) */
|
||||
interface PalletMessageQueueNeighbours extends Struct {
|
||||
readonly prev: u32;
|
||||
readonly next: u32;
|
||||
}
|
||||
|
||||
/** @name PalletMessageQueuePage (781) */
|
||||
/** @name PalletMessageQueuePage (782) */
|
||||
interface PalletMessageQueuePage extends Struct {
|
||||
readonly remaining: u32;
|
||||
readonly remainingSize: u32;
|
||||
@@ -7505,7 +7538,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly heap: Bytes;
|
||||
}
|
||||
|
||||
/** @name PalletMessageQueueError (783) */
|
||||
/** @name PalletMessageQueueError (784) */
|
||||
interface PalletMessageQueueError extends Enum {
|
||||
readonly isNotReapable: boolean;
|
||||
readonly isNoPage: boolean;
|
||||
@@ -7517,25 +7550,25 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotReapable' | 'NoPage' | 'NoMessage' | 'AlreadyProcessed' | 'Queued' | 'InsufficientWeight' | 'TemporarilyUnprocessable';
|
||||
}
|
||||
|
||||
/** @name FrameSystemExtensionsCheckNonZeroSender (787) */
|
||||
/** @name FrameSystemExtensionsCheckNonZeroSender (788) */
|
||||
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckSpecVersion (788) */
|
||||
/** @name FrameSystemExtensionsCheckSpecVersion (789) */
|
||||
type FrameSystemExtensionsCheckSpecVersion = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckTxVersion (789) */
|
||||
/** @name FrameSystemExtensionsCheckTxVersion (790) */
|
||||
type FrameSystemExtensionsCheckTxVersion = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckGenesis (790) */
|
||||
/** @name FrameSystemExtensionsCheckGenesis (791) */
|
||||
type FrameSystemExtensionsCheckGenesis = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckNonce (793) */
|
||||
/** @name FrameSystemExtensionsCheckNonce (794) */
|
||||
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
|
||||
|
||||
/** @name FrameSystemExtensionsCheckWeight (794) */
|
||||
/** @name FrameSystemExtensionsCheckWeight (795) */
|
||||
type FrameSystemExtensionsCheckWeight = Null;
|
||||
|
||||
/** @name PalletAssetTxPaymentChargeAssetTxPayment (795) */
|
||||
/** @name PalletAssetTxPaymentChargeAssetTxPayment (796) */
|
||||
interface PalletAssetTxPaymentChargeAssetTxPayment extends Struct {
|
||||
readonly tip: Compact<u128>;
|
||||
readonly assetId: Option<u32>;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -5,6 +5,9 @@
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/mod.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../types/tsconfig.build.json" },
|
||||
{ "path": "../types-codec/tsconfig.build.json" }
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"@polkadot/x-bigint": "^12.1.2",
|
||||
"tslib": "^2.5.0"
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"@polkadot/x-bigint": "^12.2.1",
|
||||
"tslib": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/types-augment": "10.6.1",
|
||||
"@polkadot/types-support": "10.6.1",
|
||||
"@polkadot/util-crypto": "^12.1.2"
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/types-augment": "10.7.2",
|
||||
"@polkadot/types-support": "10.7.2",
|
||||
"@polkadot/util-crypto": "^12.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ describe('Compact', (): void => {
|
||||
|
||||
describe('constructor', (): void => {
|
||||
it('fails on > MAX_SAFE_INTEGER', (): void => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-loss-of-precision
|
||||
// eslint-disable-next-line @typescript-eslint/no-loss-of-precision, no-loss-of-precision
|
||||
expect(() => new Compact(registry, 'u128', 9007199254740999)).toThrow(/integer <= Number.MAX_SAFE_INTEGER/);
|
||||
});
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ describe('Result', (): void => {
|
||||
it('decodes from a u8a (success)', (): void => {
|
||||
const result = new Type(registry, new Uint8Array([0, 1, 2, 3, 4]));
|
||||
|
||||
expect(result.isOk);
|
||||
expect(result.isOk).toBe(true);
|
||||
expect(result.asOk.toU8a()).toEqual(new Uint8Array([1, 2, 3, 4]));
|
||||
expect(result.toHex()).toEqual('0x0001020304');
|
||||
expect(result.toJSON()).toEqual({
|
||||
@@ -29,7 +29,7 @@ describe('Result', (): void => {
|
||||
it('decodes from a u8a (error)', (): void => {
|
||||
const result = new Type(registry, new Uint8Array([1, 4 << 2, 100, 101, 102, 103]));
|
||||
|
||||
expect(result.isErr);
|
||||
expect(result.isErr).toBe(true);
|
||||
expect(result.asErr.toU8a()).toEqual(new Uint8Array([4 << 2, 100, 101, 102, 103]));
|
||||
expect(result.toHex()).toEqual('0x011064656667');
|
||||
expect(result.toJSON()).toEqual({
|
||||
|
||||
@@ -13,9 +13,9 @@ describe('UInt', (): void => {
|
||||
const registry = new TypeRegistry();
|
||||
|
||||
it('fails on > MAX_SAFE_INTEGER and float', (): void => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-loss-of-precision
|
||||
// eslint-disable-next-line @typescript-eslint/no-loss-of-precision, no-loss-of-precision
|
||||
expect(() => new UInt(registry, 9007199254740999)).toThrow(/integer <= Number.MAX_SAFE_INTEGER/);
|
||||
// eslint-disable-next-line @typescript-eslint/no-loss-of-precision
|
||||
// eslint-disable-next-line @typescript-eslint/no-loss-of-precision, no-loss-of-precision
|
||||
expect(() => new UInt(registry, -9007199254740999)).toThrow(/integer <= Number.MAX_SAFE_INTEGER/);
|
||||
expect(() => new UInt(registry, 9.123)).toThrow(/integer <= Number.MAX_SAFE_INTEGER/);
|
||||
});
|
||||
|
||||
@@ -39,7 +39,7 @@ describe('Vec', (): void => {
|
||||
expect(new Vec(registry, Text, null)).toHaveLength(0);
|
||||
});
|
||||
|
||||
it('decodes a complex type via construction', (): void => {
|
||||
it('decodes a complex type via construction (1)', (): void => {
|
||||
const test = createTypeUnsafe<Vec<ITuple<[PropIndex, AccountId]>>>(registry, 'Vec<(PropIndex, AccountId)>', [new Uint8Array([
|
||||
4, 10, 0, 0, 0, 209, 114, 167, 76, 218, 76, 134, 89, 18, 195, 43, 160, 168, 10, 87, 174, 105, 171, 174, 65, 14, 92, 203, 89, 222, 232, 78, 47, 68, 50, 219, 79
|
||||
])]);
|
||||
@@ -48,7 +48,7 @@ describe('Vec', (): void => {
|
||||
expect(test[0][1].toString()).toEqual('5GoKvZWG5ZPYL1WUovuHW3zJBWBP5eT8CbqjdRY4Q6iMaQua');
|
||||
});
|
||||
|
||||
it('decodes a complex type via construction', (): void => {
|
||||
it('decodes a complex type via construction (2)', (): void => {
|
||||
const INPUT = '0x08cc0200000000ce0200000001';
|
||||
const test = createTypeUnsafe<Vec<Codec>>(registry, 'Vec<(u32, [u32; 0], u16)>', [INPUT]);
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ export class BTreeSet<V extends Codec = Codec> extends Set<V> implements ISet<V>
|
||||
* @description Returns a breakdown of the hex encoding for this Codec
|
||||
*/
|
||||
public inspect (): Inspect {
|
||||
const inner = new Array<Inspect>();
|
||||
const inner: Inspect[] = [];
|
||||
|
||||
for (const v of this.values()) {
|
||||
inner.push(v.inspect());
|
||||
@@ -218,7 +218,7 @@ export class BTreeSet<V extends Codec = Codec> extends Set<V> implements ISet<V>
|
||||
* @param isBare true when the value has none of the type-specific prefixes (internal)
|
||||
*/
|
||||
public toU8a (isBare?: boolean): Uint8Array {
|
||||
const encoded = new Array<Uint8Array>();
|
||||
const encoded: Uint8Array[] = [];
|
||||
|
||||
if (!isBare) {
|
||||
encoded.push(compactToU8a(this.size));
|
||||
|
||||
@@ -15,7 +15,7 @@ const registry = new TypeRegistry();
|
||||
describe('BitVec', (): void => {
|
||||
describe('decoding known', (): void => {
|
||||
TESTS.forEach((test): void => {
|
||||
describe(test, (): void => {
|
||||
describe(`${test}`, (): void => {
|
||||
const input = hexToU8a(test);
|
||||
const bitvec = new BitVec(registry, input);
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ export class CodecMap<K extends Codec = Codec, V extends Codec = Codec> extends
|
||||
* @description Returns a breakdown of the hex encoding for this Codec
|
||||
*/
|
||||
public inspect (): Inspect {
|
||||
const inner = new Array<Inspect>();
|
||||
const inner: Inspect[] = [];
|
||||
|
||||
for (const [k, v] of this.entries()) {
|
||||
inner.push(k.inspect());
|
||||
@@ -240,7 +240,7 @@ export class CodecMap<K extends Codec = Codec, V extends Codec = Codec> extends
|
||||
* @param isBare true when the value has none of the type-specific prefixes (internal)
|
||||
*/
|
||||
public toU8a (isBare?: boolean): Uint8Array {
|
||||
const encoded = new Array<Uint8Array>();
|
||||
const encoded: Uint8Array[] = [];
|
||||
|
||||
if (!isBare) {
|
||||
encoded.push(compactToU8a(this.size));
|
||||
|
||||
@@ -233,7 +233,7 @@ export class Struct<
|
||||
* @description Returns a breakdown of the hex encoding for this Codec
|
||||
*/
|
||||
public inspect (isBare?: BareOpts): Inspect {
|
||||
const inner = new Array<Inspect>();
|
||||
const inner: Inspect[] = [];
|
||||
|
||||
for (const [k, v] of this.entries()) {
|
||||
inner.push({
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* global it */
|
||||
|
||||
// Shamelessly copied from @polkadot/util/test
|
||||
|
||||
import { formatDecimal, formatNumber } from '@polkadot/util';
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
"resolveJsonModule": true
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.data.ts",
|
||||
"**/checkTypes.manual.ts",
|
||||
"**/mod.ts",
|
||||
"**/*.spec.ts",
|
||||
"**/test/*"
|
||||
],
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
"emitDeclarationOnly": false,
|
||||
"resolveJsonModule": true,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": [
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types-codec": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"tslib": "^2.5.0"
|
||||
"@polkadot/types-codec": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"tslib": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "10.6.1"
|
||||
"@polkadot/types": "10.7.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,5 +6,4 @@ export { packageInfo } from './packageInfo.js';
|
||||
export { TypeDefInfo } from './types/index.js';
|
||||
|
||||
// all starred
|
||||
export * from './create/index.js';
|
||||
export * from './util/index.js';
|
||||
export * from './exports.js';
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// all starred
|
||||
export * from './create/index.js';
|
||||
export * from './util/index.js';
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
"resolveJsonModule": true
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
"**/*.spec.ts",
|
||||
"**/mod.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../types-codec/tsconfig.build.json" }
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
"emitDeclarationOnly": false,
|
||||
"resolveJsonModule": true,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": [
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^12.1.2",
|
||||
"@polkadot/types": "10.6.1",
|
||||
"@polkadot/types-codec": "10.6.1",
|
||||
"@polkadot/types-create": "10.6.1",
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"tslib": "^2.5.0"
|
||||
"@polkadot/networks": "^12.2.1",
|
||||
"@polkadot/types": "10.7.2",
|
||||
"@polkadot/types-codec": "10.7.2",
|
||||
"@polkadot/types-create": "10.7.2",
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"tslib": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "10.6.1"
|
||||
"@polkadot/api": "10.7.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.7.2' };
|
||||
|
||||
@@ -45,6 +45,7 @@ for (const chain of keys) {
|
||||
});
|
||||
|
||||
for (const [blockNumber, specVersion] of allMan[chain]) {
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it(`blockNumber=${blockNumber}, specVersion=${specVersion}`, async (): Promise<void> => {
|
||||
const found = avail.find(([n, s]) => n === blockNumber && s === specVersion);
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@ describe('generated', (): void => {
|
||||
});
|
||||
|
||||
for (const chain of Object.keys(allMan)) {
|
||||
describe(chain, (): void => {
|
||||
describe(`${chain}`, (): void => {
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('should have all generated', (): void => {
|
||||
const missing = allMan[chain as keyof typeof allMan].filter(([na, sa]) =>
|
||||
!allGen[chain as keyof typeof allGen].some(([nb, sb]) =>
|
||||
@@ -78,10 +79,12 @@ describe('generated', (): void => {
|
||||
}
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('manual should be correctly ordered', (): void => {
|
||||
checkOrder(chain, (allGen as Record<string, ChainUpgradesExpanded>)[chain]);
|
||||
});
|
||||
|
||||
// eslint-disable-next-line jest/expect-expect
|
||||
it('generated should be correctly ordered', (): void => {
|
||||
checkOrder(chain, (allMan as Record<string, ChainUpgradesRaw>)[chain]);
|
||||
});
|
||||
@@ -91,7 +94,7 @@ describe('generated', (): void => {
|
||||
|
||||
describe('upgrades', (): void => {
|
||||
TESTS.forEach(({ genesisHash, network, versions }): void => {
|
||||
describe(network, (): void => {
|
||||
describe(`${network}`, (): void => {
|
||||
const chain = upgrades.find((n) => n.network === network);
|
||||
|
||||
if (!chain) {
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
"**/*.spec.ts",
|
||||
"**/mod.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../types/tsconfig.build.json" },
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
"emitDeclarationOnly": false,
|
||||
"resolveJsonModule": true,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": [
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.6.1",
|
||||
"version": "10.7.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^12.1.2",
|
||||
"tslib": "^2.5.0"
|
||||
"@polkadot/util": "^12.2.1",
|
||||
"tslib": "^2.5.2"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1552,6 +1552,12 @@
|
||||
"fields": [],
|
||||
"index": 8,
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "Blocked",
|
||||
"fields": [],
|
||||
"index": 9,
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4628,7 +4634,6 @@
|
||||
"docs": [
|
||||
"Make some on-chain remark.",
|
||||
"",
|
||||
"## Complexity",
|
||||
"- `O(1)`"
|
||||
]
|
||||
},
|
||||
@@ -4659,10 +4664,7 @@
|
||||
],
|
||||
"index": 2,
|
||||
"docs": [
|
||||
"Set the new runtime code.",
|
||||
"",
|
||||
"## Complexity",
|
||||
"- `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`"
|
||||
"Set the new runtime code."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -4677,10 +4679,7 @@
|
||||
],
|
||||
"index": 3,
|
||||
"docs": [
|
||||
"Set the new runtime code without doing any checks of the given `code`.",
|
||||
"",
|
||||
"## Complexity",
|
||||
"- `O(C)` where `C` length of `code`"
|
||||
"Set the new runtime code without doing any checks of the given `code`."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -48034,19 +48033,10 @@
|
||||
"The given PVF does not exist at the moment of process a vote."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PvfCheckDisabled",
|
||||
"fields": [],
|
||||
"index": 11,
|
||||
"docs": [
|
||||
"The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism",
|
||||
"is disabled."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CannotUpgradeCode",
|
||||
"fields": [],
|
||||
"index": 12,
|
||||
"index": 11,
|
||||
"docs": [
|
||||
"Parachain cannot currently schedule a code upgrade."
|
||||
]
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1552,6 +1552,12 @@
|
||||
"fields": [],
|
||||
"index": 8,
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "Blocked",
|
||||
"fields": [],
|
||||
"index": 9,
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6152,7 +6158,6 @@
|
||||
"docs": [
|
||||
"Make some on-chain remark.",
|
||||
"",
|
||||
"## Complexity",
|
||||
"- `O(1)`"
|
||||
]
|
||||
},
|
||||
@@ -6183,10 +6188,7 @@
|
||||
],
|
||||
"index": 2,
|
||||
"docs": [
|
||||
"Set the new runtime code.",
|
||||
"",
|
||||
"## Complexity",
|
||||
"- `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`"
|
||||
"Set the new runtime code."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -6201,10 +6203,7 @@
|
||||
],
|
||||
"index": 3,
|
||||
"docs": [
|
||||
"Set the new runtime code without doing any checks of the given `code`.",
|
||||
"",
|
||||
"## Complexity",
|
||||
"- `O(C)` where `C` length of `code`"
|
||||
"Set the new runtime code without doing any checks of the given `code`."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -46833,19 +46832,10 @@
|
||||
"The given PVF does not exist at the moment of process a vote."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PvfCheckDisabled",
|
||||
"fields": [],
|
||||
"index": 11,
|
||||
"docs": [
|
||||
"The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism",
|
||||
"is disabled."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CannotUpgradeCode",
|
||||
"fields": [],
|
||||
"index": 12,
|
||||
"index": 11,
|
||||
"docs": [
|
||||
"Parachain cannot currently schedule a code upgrade."
|
||||
]
|
||||
|
||||
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user