Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92c250e9a7 | ||
|
|
ba43c288fe | ||
|
|
ef0d1f4e8a | ||
|
|
cc31d1176e | ||
|
|
b45e0d4e0d | ||
|
|
3b894da9f2 | ||
|
|
83500c05b3 | ||
|
|
c554e5eef7 | ||
|
|
6b655838a0 | ||
|
|
4bd23463ab | ||
|
|
9c758cce95 | ||
|
|
abdc50f405 | ||
|
|
b849d50995 |
@@ -1,5 +1,19 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 10.4.1 Apr 22, 2023
|
||||
|
||||
Contributed:
|
||||
|
||||
- Apply `noInitWarn` flag to signed extension warnings (Thanks to https://github.com/xlc)
|
||||
|
||||
Changes:
|
||||
|
||||
- Adjust `AccountId20` detection with partial match
|
||||
- Cleanup block author extraction derives
|
||||
- Update to latest Polkadot, Kusama & Substrate metadata
|
||||
- Drop support for Node 14 (EOL 30 Apr 2023)
|
||||
|
||||
|
||||
## 10.3.4 Apr 16, 2023
|
||||
|
||||
Changes:
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
3434 Jaco Author extract using correct as-at state (#5598)
|
||||
3440 Jaco 10.4.1 (#5607)
|
||||
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)
|
||||
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
||||
18 Xiliang Chen fix unkown rpc (#5325)
|
||||
19 Xiliang Chen no warm for unknown signed extensions (#5601)
|
||||
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
|
||||
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
|
||||
11 Ian He HttpProvider support clone() (#3949)
|
||||
|
||||
+5
-5
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"versions": {
|
||||
"git": "10.3.4",
|
||||
"npm": "10.3.4"
|
||||
"git": "10.4.1",
|
||||
"npm": "10.4.1"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
@@ -40,9 +40,9 @@
|
||||
"test:one": "polkadot-dev-run-test --env node"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/dev": "^0.72.43",
|
||||
"@polkadot/dev": "^0.73.2",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/node": "^18.15.11"
|
||||
"@types/node": "^18.15.13"
|
||||
},
|
||||
"resolutions": {
|
||||
"typescript": "^5.0.4"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "API generated augmentation",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-augment#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,15 +18,15 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-base": "10.3.4",
|
||||
"@polkadot/rpc-augment": "10.3.4",
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/types-augment": "10.3.4",
|
||||
"@polkadot/types-codec": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/api-base": "10.4.1",
|
||||
"@polkadot/rpc-augment": "10.4.1",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/types-augment": "10.4.1",
|
||||
"@polkadot/types-codec": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,6 +75,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* An account was created with some free balance.
|
||||
**/
|
||||
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
|
||||
/**
|
||||
* Some balance was frozen.
|
||||
**/
|
||||
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
||||
**/
|
||||
@@ -112,6 +116,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Some amount was suspended from an account (it can be restored later).
|
||||
**/
|
||||
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some balance was thawed.
|
||||
**/
|
||||
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Transfer succeeded.
|
||||
**/
|
||||
@@ -626,6 +634,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* An account was created with some free balance.
|
||||
**/
|
||||
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
|
||||
/**
|
||||
* Some balance was frozen.
|
||||
**/
|
||||
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
||||
**/
|
||||
@@ -663,6 +675,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Some amount was suspended from an account (it can be restored later).
|
||||
**/
|
||||
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some balance was thawed.
|
||||
**/
|
||||
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Transfer succeeded.
|
||||
**/
|
||||
|
||||
@@ -370,6 +370,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
dmp: {
|
||||
/**
|
||||
* The number to multiply the base delivery fee by.
|
||||
**/
|
||||
deliveryFeeFactor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* A mapping that stores the downward message queue MQC head for each para.
|
||||
*
|
||||
|
||||
@@ -952,12 +952,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
dmp: {
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
electionProviderMultiPhase: {
|
||||
/**
|
||||
* Trigger the governance fallback.
|
||||
|
||||
@@ -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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -179,6 +179,16 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
council: {
|
||||
/**
|
||||
* The maximum weight of a dispatch call that can be proposed and executed.
|
||||
**/
|
||||
maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
crowdloan: {
|
||||
/**
|
||||
* The minimum amount that may be contributed into a crowdloan. Should almost certainly be at
|
||||
@@ -787,6 +797,16 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
technicalCommittee: {
|
||||
/**
|
||||
* The maximum weight of a dispatch call that can be proposed and executed.
|
||||
**/
|
||||
maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
timestamp: {
|
||||
/**
|
||||
* The minimum period between blocks. Beware that this is different to the *expected*
|
||||
|
||||
@@ -75,6 +75,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* An account was created with some free balance.
|
||||
**/
|
||||
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
|
||||
/**
|
||||
* Some balance was frozen.
|
||||
**/
|
||||
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
||||
**/
|
||||
@@ -112,6 +116,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Some amount was suspended from an account (it can be restored later).
|
||||
**/
|
||||
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some balance was thawed.
|
||||
**/
|
||||
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Transfer succeeded.
|
||||
**/
|
||||
|
||||
@@ -469,6 +469,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
dmp: {
|
||||
/**
|
||||
* The number to multiply the base delivery fee by.
|
||||
**/
|
||||
deliveryFeeFactor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* A mapping that stores the downward message queue MQC head for each para.
|
||||
*
|
||||
|
||||
@@ -1342,12 +1342,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
dmp: {
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
electionProviderMultiPhase: {
|
||||
/**
|
||||
* Trigger the governance fallback.
|
||||
|
||||
@@ -41,6 +41,16 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
allianceMotion: {
|
||||
/**
|
||||
* The maximum weight of a dispatch call that can be proposed and executed.
|
||||
**/
|
||||
maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
assets: {
|
||||
/**
|
||||
* The amount of funds that must be reserved when creating a new approval.
|
||||
@@ -284,6 +294,16 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
council: {
|
||||
/**
|
||||
* The maximum weight of a dispatch call that can be proposed and executed.
|
||||
**/
|
||||
maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
democracy: {
|
||||
/**
|
||||
* Period in blocks where an external proposal may not be re-submitted after being vetoed.
|
||||
@@ -1185,6 +1205,16 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
technicalCommittee: {
|
||||
/**
|
||||
* The maximum weight of a dispatch call that can be proposed and executed.
|
||||
**/
|
||||
maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
timestamp: {
|
||||
/**
|
||||
* The minimum period between blocks. Beware that this is different to the *expected*
|
||||
|
||||
@@ -160,6 +160,20 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
assetRate: {
|
||||
/**
|
||||
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
||||
**/
|
||||
AlreadyExists: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The given asset ID is unknown.
|
||||
**/
|
||||
UnknownAssetId: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
assets: {
|
||||
/**
|
||||
* The asset-account already exists.
|
||||
|
||||
@@ -109,6 +109,15 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
assetRate: {
|
||||
AssetRateCreated: AugmentedEvent<ApiType, [assetId: u32, rate: u128], { assetId: u32, rate: u128 }>;
|
||||
AssetRateRemoved: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
|
||||
AssetRateUpdated: AugmentedEvent<ApiType, [assetId: u32, old: u128, new_: u128], { assetId: u32, old: u128, new_: u128 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
assets: {
|
||||
/**
|
||||
* Accounts were destroyed for given asset.
|
||||
@@ -237,6 +246,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* An account was created with some free balance.
|
||||
**/
|
||||
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
|
||||
/**
|
||||
* Some balance was frozen.
|
||||
**/
|
||||
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
||||
**/
|
||||
@@ -274,6 +287,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Some amount was suspended from an account (it can be restored later).
|
||||
**/
|
||||
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some balance was thawed.
|
||||
**/
|
||||
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Transfer succeeded.
|
||||
**/
|
||||
|
||||
@@ -85,6 +85,18 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
**/
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
assetRate: {
|
||||
/**
|
||||
* Maps an asset to its fixed point representation in the native balance.
|
||||
*
|
||||
* E.g. `native_amount = asset_amount * ConversionRateToNative::<T>::get(asset_id)`
|
||||
**/
|
||||
conversionRateToNative: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
assets: {
|
||||
/**
|
||||
* The holdings of a specific account for a specific asset.
|
||||
|
||||
@@ -225,6 +225,33 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
assetRate: {
|
||||
/**
|
||||
* Initialize a conversion rate to native balance for the given asset.
|
||||
*
|
||||
* ## Complexity
|
||||
* - O(1)
|
||||
**/
|
||||
create: AugmentedSubmittable<(assetId: u32 | AnyNumber | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128]>;
|
||||
/**
|
||||
* Remove an existing conversion rate to native balance for the given asset.
|
||||
*
|
||||
* ## Complexity
|
||||
* - O(1)
|
||||
**/
|
||||
remove: AugmentedSubmittable<(assetId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Update the conversion rate to native balance for the given asset.
|
||||
*
|
||||
* ## Complexity
|
||||
* - O(1)
|
||||
**/
|
||||
update: AugmentedSubmittable<(assetId: u32 | AnyNumber | Uint8Array, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
assets: {
|
||||
/**
|
||||
* Approve an amount of asset for transfer by a delegated third-party account.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Interfaces for interacting with contracts and contract ABIs",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-base#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,12 +18,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "10.3.4",
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/rpc-core": "10.4.1",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"rxjs": "^7.8.0",
|
||||
"tslib": "^2.5.0"
|
||||
}
|
||||
|
||||
@@ -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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Interfaces for interacting with contracts and contract ABIs",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,20 +18,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "10.3.4",
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/types-codec": "10.3.4",
|
||||
"@polkadot/types-create": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/util-crypto": "^11.1.3",
|
||||
"@polkadot/api": "10.4.1",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/types-codec": "10.4.1",
|
||||
"@polkadot/types-create": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"@polkadot/util-crypto": "^12.0.1",
|
||||
"rxjs": "^7.8.0",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "10.3.4",
|
||||
"@polkadot/keyring": "^11.1.3"
|
||||
"@polkadot/api-augment": "10.4.1",
|
||||
"@polkadot/keyring": "^12.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Copyright 2017-2023 @polkadot/api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiBase } from '@polkadot/api/base';
|
||||
import type { ApiTypes, DecorateMethod } from '@polkadot/api/types';
|
||||
import type { WeightV2 } from '@polkadot/types/interfaces';
|
||||
import type { Registry } from '@polkadot/types/types';
|
||||
|
||||
import { ApiBase } from '@polkadot/api/base';
|
||||
import { isFunction } from '@polkadot/util';
|
||||
|
||||
import { Abi } from '../Abi/index.js';
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
// Copyright 2017-2023 @polkadot/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiBase } from '@polkadot/api/base';
|
||||
import type { SubmittableExtrinsic } from '@polkadot/api/submittable/types';
|
||||
import type { ApiTypes, DecorateMethod } from '@polkadot/api/types';
|
||||
import type { AccountId, EventRecord, Hash } from '@polkadot/types/interfaces';
|
||||
import type { ISubmittableResult } from '@polkadot/types/types';
|
||||
import type { Abi } from '../Abi/index.js';
|
||||
import type { AbiConstructor, BlueprintOptions } from '../types.js';
|
||||
import type { MapConstructorExec } from './types.js';
|
||||
|
||||
import { SubmittableResult } from '@polkadot/api';
|
||||
import { ApiBase } from '@polkadot/api/base';
|
||||
import { BN_ZERO, isUndefined } from '@polkadot/util';
|
||||
|
||||
import { Abi } from '../Abi/index.js';
|
||||
import { applyOnEvent } from '../util.js';
|
||||
import { Base } from './Base.js';
|
||||
import { Contract } from './Contract.js';
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
// Copyright 2017-2023 @polkadot/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiBase } from '@polkadot/api/base';
|
||||
import type { SubmittableExtrinsic } from '@polkadot/api/submittable/types';
|
||||
import type { ApiTypes, DecorateMethod } from '@polkadot/api/types';
|
||||
import type { AccountId, EventRecord } from '@polkadot/types/interfaces';
|
||||
import type { ISubmittableResult } from '@polkadot/types/types';
|
||||
import type { Codec } from '@polkadot/types-codec/types';
|
||||
import type { Abi } from '../Abi/index.js';
|
||||
import type { AbiConstructor, BlueprintOptions } from '../types.js';
|
||||
import type { MapConstructorExec } from './types.js';
|
||||
|
||||
import { SubmittableResult } from '@polkadot/api';
|
||||
import { ApiBase } from '@polkadot/api/base';
|
||||
import { BN_ZERO, compactAddLength, isUndefined, isWasm, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { Abi } from '../Abi/index.js';
|
||||
import { applyOnEvent } from '../util.js';
|
||||
import { Base } from './Base.js';
|
||||
import { Blueprint } from './Blueprint.js';
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
// Copyright 2017-2023 @polkadot/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiBase } from '@polkadot/api/base';
|
||||
import type { SubmittableExtrinsic } from '@polkadot/api/submittable/types';
|
||||
import type { ApiTypes, DecorateMethod } from '@polkadot/api/types';
|
||||
import type { Bytes } from '@polkadot/types';
|
||||
import type { AccountId, ContractExecResult, EventRecord, Weight, WeightV2 } from '@polkadot/types/interfaces';
|
||||
import type { ISubmittableResult } from '@polkadot/types/types';
|
||||
import type { Abi } from '../Abi/index.js';
|
||||
import type { AbiMessage, ContractCallOutcome, ContractOptions, DecodedEvent, WeightAll } from '../types.js';
|
||||
import type { ContractCallResult, ContractCallSend, ContractQuery, ContractTx, MapMessageQuery, MapMessageTx } from './types.js';
|
||||
|
||||
import { map } from 'rxjs';
|
||||
|
||||
import { SubmittableResult } from '@polkadot/api';
|
||||
import { ApiBase } from '@polkadot/api/base';
|
||||
import { BN, BN_HUNDRED, BN_ONE, BN_ZERO, isUndefined, logger } from '@polkadot/util';
|
||||
|
||||
import { Abi } from '../Abi/index.js';
|
||||
import { applyOnEvent } from '../util.js';
|
||||
import { Base } from './Base.js';
|
||||
import { convertWeight, withMeta } from './util.js';
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
// Copyright 2017-2023 @polkadot/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { ApiBase } from '@polkadot/api/base';
|
||||
import type { ApiBase } from '@polkadot/api/base';
|
||||
|
||||
import { TypeRegistry } from '@polkadot/types';
|
||||
|
||||
const registry = new TypeRegistry();
|
||||
|
||||
@@ -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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
// Copyright 2017-2023 @polkadot/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiPromise } from '@polkadot/api';
|
||||
import type { AccountId, Hash } from '@polkadot/types/interfaces';
|
||||
import type { Abi } from '../Abi/index.js';
|
||||
|
||||
import { ApiPromise, toPromiseMethod } from '@polkadot/api';
|
||||
import { toPromiseMethod } from '@polkadot/api';
|
||||
|
||||
import { Abi } from '../Abi/index.js';
|
||||
import { Blueprint, Code, Contract } from '../base/index.js';
|
||||
|
||||
export class BlueprintPromise extends Blueprint<'promise'> {
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
// Copyright 2017-2023 @polkadot/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiRx } from '@polkadot/api';
|
||||
import type { AccountId, Hash } from '@polkadot/types/interfaces';
|
||||
import type { Abi } from '../Abi/index.js';
|
||||
|
||||
import { ApiRx, toRxMethod } from '@polkadot/api';
|
||||
import { toRxMethod } from '@polkadot/api';
|
||||
|
||||
import { Abi } from '../Abi/index.js';
|
||||
import { Blueprint, Code, Contract } from '../base/index.js';
|
||||
|
||||
export class BlueprintRx extends Blueprint<'rxjs'> {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,25 +18,25 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "10.3.4",
|
||||
"@polkadot/api-augment": "10.3.4",
|
||||
"@polkadot/api-base": "10.3.4",
|
||||
"@polkadot/rpc-core": "10.3.4",
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/types-codec": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/util-crypto": "^11.1.3",
|
||||
"@polkadot/api": "10.4.1",
|
||||
"@polkadot/api-augment": "10.4.1",
|
||||
"@polkadot/api-base": "10.4.1",
|
||||
"@polkadot/rpc-core": "10.4.1",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/types-codec": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"@polkadot/util-crypto": "^12.0.1",
|
||||
"rxjs": "^7.8.0",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "10.3.4",
|
||||
"@polkadot/api-augment": "10.3.4",
|
||||
"@polkadot/rpc-augment": "10.3.4",
|
||||
"@polkadot/rpc-provider": "10.3.4",
|
||||
"@polkadot/types-support": "10.3.4"
|
||||
"@polkadot/api": "10.4.1",
|
||||
"@polkadot/api-augment": "10.4.1",
|
||||
"@polkadot/rpc-augment": "10.4.1",
|
||||
"@polkadot/rpc-provider": "10.4.1",
|
||||
"@polkadot/types-support": "10.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
import type { ApiPromise } from '@polkadot/api';
|
||||
import type { SubmittableExtrinsic } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Option, StorageKey } from '@polkadot/types';
|
||||
import type { Bounty, BountyIndex, Proposal, ProposalIndex } from '@polkadot/types/interfaces';
|
||||
@@ -11,8 +12,6 @@ import type { DeriveApi, DeriveCollectiveProposal } from '../types.js';
|
||||
|
||||
import { firstValueFrom, of } from 'rxjs';
|
||||
|
||||
import { ApiPromise } from '@polkadot/api';
|
||||
|
||||
import { BountyFactory } from '../test/bountyFactory.js';
|
||||
import { BytesFactory } from '../test/bytesFactory.js';
|
||||
import { createApiWithAugmentations } from '../test/helpers.js';
|
||||
|
||||
@@ -15,6 +15,9 @@ import { memo, unwrapBlockNumber } from '../util/index.js';
|
||||
|
||||
export type BlockNumberDerive = (instanceId: string, api: DeriveApi) => () => Observable<BlockNumber>;
|
||||
|
||||
type OptionMapping = IOption<{ account: AccountId } & Codec>;
|
||||
type OptionNimbus = IOption<{ nimbus: SpCoreSr25519Public } & Codec>;
|
||||
|
||||
export function createBlockNumberDerive <T extends { number: Compact<BlockNumber> | BlockNumber }> (fn: (api: DeriveApi) => Observable<T>): BlockNumberDerive {
|
||||
return (instanceId: string, api: DeriveApi) =>
|
||||
memo(instanceId, () =>
|
||||
@@ -26,7 +29,7 @@ export function createBlockNumberDerive <T extends { number: Compact<BlockNumber
|
||||
|
||||
/** @internal */
|
||||
function getAuthorDetailsWithAt (header: Header, queryAt: QueryableStorage<'rxjs'>): Observable<[Header, Vec<AccountId> | null, AccountId | null]> {
|
||||
const validators = queryAt.session
|
||||
const validators = queryAt.session?.validators
|
||||
? queryAt.session.validators()
|
||||
: of(null);
|
||||
|
||||
@@ -39,28 +42,43 @@ function getAuthorDetailsWithAt (header: Header, queryAt: QueryableStorage<'rxjs
|
||||
|
||||
if (loggedAuthor) {
|
||||
// use the author mapping pallet, if available (ie: moonbeam, moonriver), to map session (nimbus) key to author (collator/validator) key
|
||||
if (queryAt.authorMapping && queryAt.authorMapping.mappingWithDeposit) {
|
||||
if (queryAt.authorMapping?.mappingWithDeposit) {
|
||||
return combineLatest([
|
||||
of(header),
|
||||
validators,
|
||||
queryAt.authorMapping.mappingWithDeposit<IOption<{ account: AccountId } & Codec>>(loggedAuthor)
|
||||
.pipe(map((opt) => opt.unwrapOr({ account: null }).account))
|
||||
queryAt.authorMapping.mappingWithDeposit<OptionMapping>(loggedAuthor).pipe(
|
||||
map((o) =>
|
||||
o.unwrapOr({ account: null }).account
|
||||
)
|
||||
)
|
||||
]);
|
||||
}
|
||||
|
||||
// fall back to session and parachain staking pallets, if available (ie: manta, calamari), to map session (nimbus) key to author (collator) key
|
||||
if (queryAt.parachainStaking && queryAt.parachainStaking.selectedCandidates && queryAt.session && queryAt.session.nextKeys && queryAt.session.nextKeys.multi) {
|
||||
if (queryAt.parachainStaking?.selectedCandidates && queryAt.session?.nextKeys) {
|
||||
const loggedHex = loggedAuthor.toHex();
|
||||
|
||||
return combineLatest([
|
||||
of(header),
|
||||
validators,
|
||||
queryAt.parachainStaking.selectedCandidates<AccountId[]>().pipe(
|
||||
mergeMap((selectedCandidates) => combineLatest([
|
||||
of(selectedCandidates),
|
||||
queryAt.session.nextKeys.multi<IOption<{ nimbus: SpCoreSr25519Public } & Codec>>(selectedCandidates).pipe(
|
||||
map((nextKeys) => nextKeys.findIndex((option) => option.unwrapOrDefault().nimbus.toHex() === loggedAuthor.toHex()))
|
||||
)
|
||||
])),
|
||||
map(([selectedCandidates, index]) => selectedCandidates[index])
|
||||
queryAt.parachainStaking.selectedCandidates<Vec<AccountId>>().pipe(
|
||||
mergeMap((selectedCandidates) =>
|
||||
combineLatest([
|
||||
of(selectedCandidates),
|
||||
queryAt.session.nextKeys.multi<OptionNimbus>(selectedCandidates).pipe(
|
||||
map((nextKeys) =>
|
||||
nextKeys.findIndex((o) =>
|
||||
o.unwrapOrDefault().nimbus.toHex() === loggedHex
|
||||
)
|
||||
)
|
||||
)
|
||||
])
|
||||
),
|
||||
map(([selectedCandidates, index]) =>
|
||||
index === -1
|
||||
? null
|
||||
: selectedCandidates[index]
|
||||
)
|
||||
)
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2023 @polkadot/api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ApiPromise } from '@polkadot/api';
|
||||
import type { Bounty, BountyIndex } from '@polkadot/types/interfaces';
|
||||
import type { Codec, Constructor, InterfaceTypes, Registry } from '@polkadot/types/types';
|
||||
|
||||
import { ApiPromise } from '@polkadot/api';
|
||||
import { Option, StorageKey } from '@polkadot/types';
|
||||
|
||||
export class BountyFactory {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { AccountId, Digest } from '@polkadot/types/interfaces';
|
||||
|
||||
export function extractAuthor (digest: Digest, sessionValidators: AccountId[] = []): AccountId | undefined {
|
||||
export function extractAuthor (digest: Digest, sessionValidators: AccountId[]): AccountId | undefined {
|
||||
const [citem] = digest.logs.filter((e) => e.isConsensus);
|
||||
const [pitem] = digest.logs.filter((e) => e.isPreRuntime);
|
||||
const [sitem] = digest.logs.filter((e) => e.isSeal);
|
||||
|
||||
+18
-18
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,29 +18,29 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-augment": "10.3.4",
|
||||
"@polkadot/api-base": "10.3.4",
|
||||
"@polkadot/api-derive": "10.3.4",
|
||||
"@polkadot/keyring": "^11.1.3",
|
||||
"@polkadot/rpc-augment": "10.3.4",
|
||||
"@polkadot/rpc-core": "10.3.4",
|
||||
"@polkadot/rpc-provider": "10.3.4",
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/types-augment": "10.3.4",
|
||||
"@polkadot/types-codec": "10.3.4",
|
||||
"@polkadot/types-create": "10.3.4",
|
||||
"@polkadot/types-known": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/util-crypto": "^11.1.3",
|
||||
"@polkadot/api-augment": "10.4.1",
|
||||
"@polkadot/api-base": "10.4.1",
|
||||
"@polkadot/api-derive": "10.4.1",
|
||||
"@polkadot/keyring": "^12.0.1",
|
||||
"@polkadot/rpc-augment": "10.4.1",
|
||||
"@polkadot/rpc-core": "10.4.1",
|
||||
"@polkadot/rpc-provider": "10.4.1",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/types-augment": "10.4.1",
|
||||
"@polkadot/types-codec": "10.4.1",
|
||||
"@polkadot/types-create": "10.4.1",
|
||||
"@polkadot/types-known": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"@polkadot/util-crypto": "^12.0.1",
|
||||
"eventemitter3": "^5.0.0",
|
||||
"rxjs": "^7.8.0",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "10.3.4",
|
||||
"@polkadot/types-support": "10.3.4"
|
||||
"@polkadot/api-augment": "10.4.1",
|
||||
"@polkadot/types-support": "10.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { AugmentedCall, DeriveCustom, QueryableCalls } from '@polkadot/api-base/types';
|
||||
import type { RpcInterface } from '@polkadot/rpc-core/types';
|
||||
import type { StorageKey, Text, u64 } from '@polkadot/types';
|
||||
import type { Metadata, StorageKey, Text, u64 } from '@polkadot/types';
|
||||
import type { Call, Hash, RuntimeVersion } from '@polkadot/types/interfaces';
|
||||
import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types';
|
||||
import type { StorageEntry } from '@polkadot/types/primitive/types';
|
||||
@@ -20,7 +20,7 @@ import { BehaviorSubject, combineLatest, from, map, of, switchMap, tap, toArray
|
||||
import { getAvailableDerives } from '@polkadot/api-derive';
|
||||
import { memo, RpcCore } from '@polkadot/rpc-core';
|
||||
import { WsProvider } from '@polkadot/rpc-provider';
|
||||
import { expandMetadata, GenericExtrinsic, Metadata, typeDefinitions, TypeRegistry } from '@polkadot/types';
|
||||
import { expandMetadata, GenericExtrinsic, typeDefinitions, TypeRegistry } from '@polkadot/types';
|
||||
import { getSpecRuntime } from '@polkadot/types-known';
|
||||
import { arrayChunk, arrayFlatten, assertReturn, BN, compactStripLength, lazyMethod, lazyMethods, logger, nextTick, objectSpread, stringCamelCase, stringUpperFirst, u8aConcatStrict, u8aToHex } from '@polkadot/util';
|
||||
import { blake2AsHex } from '@polkadot/util-crypto';
|
||||
|
||||
@@ -97,7 +97,7 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
|
||||
registry.knownTypes.typesAlias = getSpecAlias(registry, chain, version.specName);
|
||||
}
|
||||
|
||||
registry.setMetadata(metadata, undefined, objectSpread<ExtDef>({}, getSpecExtensions(registry, chain, version.specName), this._options.signedExtensions));
|
||||
registry.setMetadata(metadata, undefined, objectSpread<ExtDef>({}, getSpecExtensions(registry, chain, version.specName), this._options.signedExtensions), this._options.noInitWarn);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,13 +11,12 @@ import type { StorageKey } from '@polkadot/types';
|
||||
import type { AccountId, Balance, DispatchErrorModule, Event, Header, Index } from '@polkadot/types/interfaces';
|
||||
import type { FrameSystemAccountInfo } from '@polkadot/types/lookup';
|
||||
import type { AnyTuple, IExtrinsic, IMethod } from '@polkadot/types/types';
|
||||
import type { SubmittableResult } from './index.js';
|
||||
|
||||
import { ApiPromise } from '@polkadot/api';
|
||||
import { createTestPairs } from '@polkadot/keyring/testingPairs';
|
||||
import { createTypeUnsafe, TypeRegistry } from '@polkadot/types/create';
|
||||
|
||||
import { SubmittableResult } from './index.js';
|
||||
|
||||
const registry = new TypeRegistry();
|
||||
|
||||
async function calls (api: ApiPromise): Promise<void> {
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Copyright 2017-2023 @polkadot/api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { Observable, Subscription } from 'rxjs';
|
||||
import type { Callback, Codec } from '@polkadot/types/types';
|
||||
import type { DecorateFn, DecorateMethodOptions, ObsInnerType, StorageEntryPromiseOverloads, UnsubscribePromise, VoidFn } from '../types/index.js';
|
||||
|
||||
import { catchError, EMPTY, Subscription, tap } from 'rxjs';
|
||||
import { catchError, EMPTY, tap } from 'rxjs';
|
||||
|
||||
import { isFunction, nextTick } from '@polkadot/util';
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
// Copyright 2017-2023 @polkadot/api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { ApiOptions } from '../types/index.js';
|
||||
|
||||
import { from, Observable } from 'rxjs';
|
||||
import { from } from 'rxjs';
|
||||
|
||||
import { objectSpread } from '@polkadot/util';
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ import type { Observable } from 'rxjs';
|
||||
import type { Address, ApplyExtrinsicResult, Call, Extrinsic, ExtrinsicEra, ExtrinsicStatus, Hash, Header, Index, RuntimeDispatchInfo, SignerPayload } from '@polkadot/types/interfaces';
|
||||
import type { Callback, Codec, Constructor, ISubmittableResult, SignatureOptions } from '@polkadot/types/types';
|
||||
import type { Registry } from '@polkadot/types-codec/types';
|
||||
import type { ApiBase } from '../base/index.js';
|
||||
import type { ApiInterfaceRx, ApiTypes, PromiseOrObs, SignerResult } from '../types/index.js';
|
||||
import type { AddressOrPair, SignerOptions, SubmittableDryRunResult, SubmittableExtrinsic, SubmittablePaymentResult, SubmittableResultResult, SubmittableResultSubscription } from './types.js';
|
||||
|
||||
@@ -14,7 +15,6 @@ import { catchError, first, map, mergeMap, of, switchMap, tap } from 'rxjs';
|
||||
|
||||
import { isBn, isFunction, isNumber, isString, isU8a, objectSpread } from '@polkadot/util';
|
||||
|
||||
import { ApiBase } from '../base/index.js';
|
||||
import { filterEvents, isKeyringPair } from '../util/index.js';
|
||||
import { SubmittableResult } from './Result.js';
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
import type { Call, Extrinsic } from '@polkadot/types/interfaces';
|
||||
import type { Registry } from '@polkadot/types-codec/types';
|
||||
import type { ApiBase } from '../base/index.js';
|
||||
import type { ApiInterfaceRx, ApiTypes } from '../types/index.js';
|
||||
import type { SubmittableExtrinsic } from './types.js';
|
||||
|
||||
import { ApiBase } from '../base/index.js';
|
||||
import { createClass } from './createClass.js';
|
||||
|
||||
type Creator<ApiType extends ApiTypes> = (extrinsic: Call | Uint8Array | string) => SubmittableExtrinsic<ApiType>;
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { EventRecord } from '@polkadot/types/interfaces';
|
||||
|
||||
import { SubmittableResult } from '../index.js';
|
||||
import type { SubmittableResult } from '../index.js';
|
||||
|
||||
// log all events for the transfers, calling done() when finalized
|
||||
export const logEvents = (done: () => Record<string, unknown>): (r: SubmittableResult) => void =>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "RPC generated augmentation",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-augment#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,13 +18,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "10.3.4",
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/types-codec": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/rpc-core": "10.4.1",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/types-codec": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,18 +18,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-augment": "10.3.4",
|
||||
"@polkadot/rpc-provider": "10.3.4",
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/rpc-augment": "10.4.1",
|
||||
"@polkadot/rpc-provider": "10.4.1",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"rxjs": "^7.8.0",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^11.1.3",
|
||||
"@polkadot/rpc-augment": "10.3.4"
|
||||
"@polkadot/keyring": "^12.0.1",
|
||||
"@polkadot/rpc-augment": "10.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Transport providers for the API",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,26 +18,26 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^11.1.3",
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/types-support": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/util-crypto": "^11.1.3",
|
||||
"@polkadot/x-fetch": "^11.1.3",
|
||||
"@polkadot/x-global": "^11.1.3",
|
||||
"@polkadot/x-ws": "^11.1.3",
|
||||
"@polkadot/keyring": "^12.0.1",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/types-support": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"@polkadot/util-crypto": "^12.0.1",
|
||||
"@polkadot/x-fetch": "^12.0.1",
|
||||
"@polkadot/x-global": "^12.0.1",
|
||||
"@polkadot/x-ws": "^12.0.1",
|
||||
"eventemitter3": "^5.0.0",
|
||||
"mock-socket": "^9.2.1",
|
||||
"nock": "^13.3.0",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@substrate/connect": "0.7.23"
|
||||
"@substrate/connect": "0.7.24"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@substrate/connect": "0.7.23"
|
||||
"@substrate/connect": "0.7.24"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Type generation scripts",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,7 +18,7 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||
@@ -28,18 +28,18 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/api": "10.3.4",
|
||||
"@polkadot/api-augment": "10.3.4",
|
||||
"@polkadot/rpc-augment": "10.3.4",
|
||||
"@polkadot/rpc-provider": "10.3.4",
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/types-augment": "10.3.4",
|
||||
"@polkadot/types-codec": "10.3.4",
|
||||
"@polkadot/types-create": "10.3.4",
|
||||
"@polkadot/types-support": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/util-crypto": "^11.1.3",
|
||||
"@polkadot/x-ws": "^11.1.3",
|
||||
"@polkadot/api": "10.4.1",
|
||||
"@polkadot/api-augment": "10.4.1",
|
||||
"@polkadot/rpc-augment": "10.4.1",
|
||||
"@polkadot/rpc-provider": "10.4.1",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/types-augment": "10.4.1",
|
||||
"@polkadot/types-codec": "10.4.1",
|
||||
"@polkadot/types-create": "10.4.1",
|
||||
"@polkadot/types-support": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"@polkadot/util-crypto": "^12.0.1",
|
||||
"@polkadot/x-ws": "^12.0.1",
|
||||
"handlebars": "^4.7.7",
|
||||
"tslib": "^2.5.0",
|
||||
"yargs": "^17.7.1"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// Connects to the local chain and outputs a re-usable calls-only chain definition in the form
|
||||
// export default { chain: 'Development', genesisHash: '0x27b6d5e0f4fdce1c4d20b82406f193acacce0c19e0d2c0e7ca47725c2572a06a', ss58Format: 42, tokenDecimals: 0, tokenSymbol: 'UNIT'; metaCalls: 'bWV0...4AAA==' };
|
||||
|
||||
import process from 'process';
|
||||
import process from 'node:process';
|
||||
import yargs from 'yargs';
|
||||
import { hideBin } from 'yargs/helpers';
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import type { TypeDef } from '@polkadot/types-create/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
|
||||
import Handlebars from 'handlebars';
|
||||
import path from 'path';
|
||||
import path from 'node:path';
|
||||
|
||||
import * as defaultDefinitions from '@polkadot/types/interfaces/definitions';
|
||||
import staticKusama from '@polkadot/types-support/metadata/static-kusama';
|
||||
|
||||
@@ -7,7 +7,7 @@ import type { ModuleTypes } from '../util/imports.js';
|
||||
import type { TypeImports } from '../util/index.js';
|
||||
|
||||
import Handlebars from 'handlebars';
|
||||
import path from 'path';
|
||||
import path from 'node:path';
|
||||
|
||||
import { TypeRegistry } from '@polkadot/types/create';
|
||||
import * as defaultDefinitions from '@polkadot/types/interfaces/definitions';
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Metadata } from '@polkadot/types/metadata/Metadata';
|
||||
import type { Text } from '@polkadot/types/primitive';
|
||||
import type { Definitions, Registry } from '@polkadot/types/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { ExtraTypes } from './types.js';
|
||||
@@ -9,7 +10,6 @@ import type { ExtraTypes } from './types.js';
|
||||
import Handlebars from 'handlebars';
|
||||
|
||||
import * as defaultDefs from '@polkadot/types/interfaces/definitions';
|
||||
import { Text } from '@polkadot/types/primitive';
|
||||
import lookupDefinitions from '@polkadot/types-augment/lookup/definitions';
|
||||
import { stringCamelCase } from '@polkadot/util';
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
import type { MetadataLatest, SiLookupTypeId } from '@polkadot/types/interfaces';
|
||||
import type { PortableRegistry } from '@polkadot/types/metadata';
|
||||
import type { Text } from '@polkadot/types/primitive';
|
||||
import type { Codec, DefinitionRpcParam } from '@polkadot/types/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
|
||||
@@ -15,7 +16,6 @@ import { hideBin } from 'yargs/helpers';
|
||||
import { Metadata, TypeRegistry, Vec } from '@polkadot/types';
|
||||
import * as definitions from '@polkadot/types/interfaces/definitions';
|
||||
import { getStorage as getSubstrateStorage } from '@polkadot/types/metadata/decorate/storage/getStorage';
|
||||
import { Text } from '@polkadot/types/primitive';
|
||||
import { unwrapStorageType } from '@polkadot/types/util';
|
||||
import kusamaMeta, { rpc as kusamaRpc, version as kusamaVer } from '@polkadot/types-support/metadata/static-kusama';
|
||||
import polkadotMeta, { rpc as polkadotRpc, version as polkadotVer } from '@polkadot/types-support/metadata/static-polkadot';
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -2,12 +2,13 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Constructor, Registry } from '@polkadot/types/types';
|
||||
import type { UInt } from '@polkadot/types-codec';
|
||||
import type { TypeDef } from '@polkadot/types-create/types';
|
||||
import type { ModuleTypes, TypeImports } from './imports.js';
|
||||
|
||||
import { GenericAccountId, GenericCall, GenericLookupSource, GenericVote } from '@polkadot/types/generic';
|
||||
import { AllConvictions } from '@polkadot/types/interfaces/democracy/definitions';
|
||||
import { AbstractInt, bool, Compact, Enum, Null, Option, Struct, Tuple, UInt, Vec, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec';
|
||||
import { AbstractInt, bool, Compact, Enum, Null, Option, Struct, Tuple, Vec, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec';
|
||||
import { getTypeDef, TypeDefInfo } from '@polkadot/types-create';
|
||||
import { isChildClass, stringify } from '@polkadot/util';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2023 @polkadot/typegen authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { TypeRegistry } from '@polkadot/types/create';
|
||||
import type { TypeRegistry } from '@polkadot/types/create';
|
||||
|
||||
export function registerDefinitions (registry: TypeRegistry, extras: Record<string, Record<string, { types: Record<string, any> }>>): void {
|
||||
Object.values(extras).forEach((def): void => {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Types generated augmentation",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-augment#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,12 +18,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/types-codec": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/types-codec": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ export default {
|
||||
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
||||
},
|
||||
/**
|
||||
* Lookup369: polkadot_runtime_parachains::disputes::slashing::pallet::Call<T>
|
||||
* Lookup368: polkadot_runtime_parachains::disputes::slashing::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsDisputesSlashingPalletCall: {
|
||||
_enum: {
|
||||
@@ -175,7 +175,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup370: polkadot_runtime_parachains::disputes::slashing::DisputeProof
|
||||
* Lookup369: polkadot_runtime_parachains::disputes::slashing::DisputeProof
|
||||
**/
|
||||
PolkadotRuntimeParachainsDisputesSlashingDisputeProof: {
|
||||
timeSlot: 'PolkadotRuntimeParachainsDisputesSlashingDisputesTimeSlot',
|
||||
@@ -184,14 +184,14 @@ export default {
|
||||
validatorId: 'PolkadotPrimitivesV4ValidatorAppPublic'
|
||||
},
|
||||
/**
|
||||
* Lookup371: polkadot_runtime_parachains::disputes::slashing::DisputesTimeSlot
|
||||
* Lookup370: polkadot_runtime_parachains::disputes::slashing::DisputesTimeSlot
|
||||
**/
|
||||
PolkadotRuntimeParachainsDisputesSlashingDisputesTimeSlot: {
|
||||
sessionIndex: 'u32',
|
||||
candidateHash: 'H256'
|
||||
},
|
||||
/**
|
||||
* Lookup372: polkadot_runtime_parachains::disputes::slashing::SlashingOffenceKind
|
||||
* Lookup371: polkadot_runtime_parachains::disputes::slashing::SlashingOffenceKind
|
||||
**/
|
||||
PolkadotRuntimeParachainsDisputesSlashingSlashingOffenceKind: {
|
||||
_enum: ['ForInvalid', 'AgainstValid']
|
||||
|
||||
@@ -856,11 +856,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup354: polkadot_runtime_parachains::dmp::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsDmpPalletCall: 'Null',
|
||||
/**
|
||||
* Lookup355: polkadot_runtime_parachains::ump::pallet::Call<T>
|
||||
* Lookup354: polkadot_runtime_parachains::ump::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsUmpPalletCall: {
|
||||
_enum: {
|
||||
@@ -871,7 +867,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup356: polkadot_runtime_parachains::hrmp::pallet::Call<T>
|
||||
* Lookup355: polkadot_runtime_parachains::hrmp::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsHrmpPalletCall: {
|
||||
_enum: {
|
||||
@@ -910,20 +906,20 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup357: polkadot_parachain::primitives::HrmpChannelId
|
||||
* Lookup356: polkadot_parachain::primitives::HrmpChannelId
|
||||
**/
|
||||
PolkadotParachainPrimitivesHrmpChannelId: {
|
||||
sender: 'u32',
|
||||
recipient: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup358: polkadot_runtime_parachains::disputes::pallet::Call<T>
|
||||
* Lookup357: polkadot_runtime_parachains::disputes::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsDisputesPalletCall: {
|
||||
_enum: ['force_unfreeze']
|
||||
},
|
||||
/**
|
||||
* Lookup359: polkadot_runtime_common::paras_registrar::pallet::Call<T>
|
||||
* Lookup358: polkadot_runtime_common::paras_registrar::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonParasRegistrarPalletCall: {
|
||||
_enum: {
|
||||
@@ -964,7 +960,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup360: polkadot_runtime_common::slots::pallet::Call<T>
|
||||
* Lookup359: polkadot_runtime_common::slots::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonSlotsPalletCall: {
|
||||
_enum: {
|
||||
@@ -984,7 +980,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup361: polkadot_runtime_common::auctions::pallet::Call<T>
|
||||
* Lookup360: polkadot_runtime_common::auctions::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonAuctionsPalletCall: {
|
||||
_enum: {
|
||||
@@ -1003,7 +999,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup363: polkadot_runtime_common::crowdloan::pallet::Call<T>
|
||||
* Lookup362: polkadot_runtime_common::crowdloan::pallet::Call<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonCrowdloanPalletCall: {
|
||||
_enum: {
|
||||
@@ -1052,7 +1048,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup365: sp_runtime::MultiSigner
|
||||
* Lookup364: sp_runtime::MultiSigner
|
||||
**/
|
||||
SpRuntimeMultiSigner: {
|
||||
_enum: {
|
||||
@@ -1062,11 +1058,11 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup366: sp_core::ecdsa::Public
|
||||
* Lookup365: sp_core::ecdsa::Public
|
||||
**/
|
||||
SpCoreEcdsaPublic: '[u8;33]',
|
||||
/**
|
||||
* Lookup371: pallet_xcm::pallet::Call<T>
|
||||
* Lookup370: pallet_xcm::pallet::Call<T>
|
||||
**/
|
||||
PalletXcmCall: {
|
||||
_enum: {
|
||||
@@ -1120,7 +1116,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup372: xcm::VersionedMultiLocation
|
||||
* Lookup371: xcm::VersionedMultiLocation
|
||||
**/
|
||||
XcmVersionedMultiLocation: {
|
||||
_enum: {
|
||||
@@ -1131,14 +1127,14 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup373: xcm::v2::multilocation::MultiLocation
|
||||
* Lookup372: xcm::v2::multilocation::MultiLocation
|
||||
**/
|
||||
XcmV2MultiLocation: {
|
||||
parents: 'u8',
|
||||
interior: 'XcmV2MultilocationJunctions'
|
||||
},
|
||||
/**
|
||||
* Lookup374: xcm::v2::multilocation::Junctions
|
||||
* Lookup373: xcm::v2::multilocation::Junctions
|
||||
**/
|
||||
XcmV2MultilocationJunctions: {
|
||||
_enum: {
|
||||
@@ -1154,7 +1150,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup375: xcm::v2::junction::Junction
|
||||
* Lookup374: xcm::v2::junction::Junction
|
||||
**/
|
||||
XcmV2Junction: {
|
||||
_enum: {
|
||||
@@ -1182,7 +1178,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup376: xcm::v2::NetworkId
|
||||
* Lookup375: xcm::v2::NetworkId
|
||||
**/
|
||||
XcmV2NetworkId: {
|
||||
_enum: {
|
||||
@@ -1193,7 +1189,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup378: xcm::v2::BodyId
|
||||
* Lookup377: xcm::v2::BodyId
|
||||
**/
|
||||
XcmV2BodyId: {
|
||||
_enum: {
|
||||
@@ -1210,7 +1206,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup379: xcm::v2::BodyPart
|
||||
* Lookup378: xcm::v2::BodyPart
|
||||
**/
|
||||
XcmV2BodyPart: {
|
||||
_enum: {
|
||||
@@ -1233,7 +1229,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup380: xcm::VersionedXcm<RuntimeCall>
|
||||
* Lookup379: xcm::VersionedXcm<RuntimeCall>
|
||||
**/
|
||||
XcmVersionedXcm: {
|
||||
_enum: {
|
||||
@@ -1244,11 +1240,11 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup381: xcm::v2::Xcm<RuntimeCall>
|
||||
* Lookup380: xcm::v2::Xcm<RuntimeCall>
|
||||
**/
|
||||
XcmV2Xcm: 'Vec<XcmV2Instruction>',
|
||||
/**
|
||||
* Lookup383: xcm::v2::Instruction<RuntimeCall>
|
||||
* Lookup382: xcm::v2::Instruction<RuntimeCall>
|
||||
**/
|
||||
XcmV2Instruction: {
|
||||
_enum: {
|
||||
@@ -1346,18 +1342,18 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup384: xcm::v2::multiasset::MultiAssets
|
||||
* Lookup383: xcm::v2::multiasset::MultiAssets
|
||||
**/
|
||||
XcmV2MultiassetMultiAssets: 'Vec<XcmV2MultiAsset>',
|
||||
/**
|
||||
* Lookup386: xcm::v2::multiasset::MultiAsset
|
||||
* Lookup385: xcm::v2::multiasset::MultiAsset
|
||||
**/
|
||||
XcmV2MultiAsset: {
|
||||
id: 'XcmV2MultiassetAssetId',
|
||||
fun: 'XcmV2MultiassetFungibility'
|
||||
},
|
||||
/**
|
||||
* Lookup387: xcm::v2::multiasset::AssetId
|
||||
* Lookup386: xcm::v2::multiasset::AssetId
|
||||
**/
|
||||
XcmV2MultiassetAssetId: {
|
||||
_enum: {
|
||||
@@ -1366,7 +1362,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup388: xcm::v2::multiasset::Fungibility
|
||||
* Lookup387: xcm::v2::multiasset::Fungibility
|
||||
**/
|
||||
XcmV2MultiassetFungibility: {
|
||||
_enum: {
|
||||
@@ -1375,7 +1371,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup389: xcm::v2::multiasset::AssetInstance
|
||||
* Lookup388: xcm::v2::multiasset::AssetInstance
|
||||
**/
|
||||
XcmV2MultiassetAssetInstance: {
|
||||
_enum: {
|
||||
@@ -1389,7 +1385,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup390: xcm::v2::Response
|
||||
* Lookup389: xcm::v2::Response
|
||||
**/
|
||||
XcmV2Response: {
|
||||
_enum: {
|
||||
@@ -1400,7 +1396,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup393: xcm::v2::traits::Error
|
||||
* Lookup392: xcm::v2::traits::Error
|
||||
**/
|
||||
XcmV2TraitsError: {
|
||||
_enum: {
|
||||
@@ -1433,19 +1429,19 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup394: xcm::v2::OriginKind
|
||||
* Lookup393: xcm::v2::OriginKind
|
||||
**/
|
||||
XcmV2OriginKind: {
|
||||
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
|
||||
},
|
||||
/**
|
||||
* Lookup395: xcm::double_encoded::DoubleEncoded<T>
|
||||
* Lookup394: xcm::double_encoded::DoubleEncoded<T>
|
||||
**/
|
||||
XcmDoubleEncoded: {
|
||||
encoded: 'Bytes'
|
||||
},
|
||||
/**
|
||||
* Lookup396: xcm::v2::multiasset::MultiAssetFilter
|
||||
* Lookup395: xcm::v2::multiasset::MultiAssetFilter
|
||||
**/
|
||||
XcmV2MultiassetMultiAssetFilter: {
|
||||
_enum: {
|
||||
@@ -1454,7 +1450,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup397: xcm::v2::multiasset::WildMultiAsset
|
||||
* Lookup396: xcm::v2::multiasset::WildMultiAsset
|
||||
**/
|
||||
XcmV2MultiassetWildMultiAsset: {
|
||||
_enum: {
|
||||
@@ -1466,13 +1462,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup398: xcm::v2::multiasset::WildFungibility
|
||||
* Lookup397: xcm::v2::multiasset::WildFungibility
|
||||
**/
|
||||
XcmV2MultiassetWildFungibility: {
|
||||
_enum: ['Fungible', 'NonFungible']
|
||||
},
|
||||
/**
|
||||
* Lookup399: xcm::v2::WeightLimit
|
||||
* Lookup398: xcm::v2::WeightLimit
|
||||
**/
|
||||
XcmV2WeightLimit: {
|
||||
_enum: {
|
||||
@@ -1481,11 +1477,11 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup400: xcm::v3::Xcm<Call>
|
||||
* Lookup399: xcm::v3::Xcm<Call>
|
||||
**/
|
||||
XcmV3Xcm: 'Vec<XcmV3Instruction>',
|
||||
/**
|
||||
* Lookup402: xcm::v3::Instruction<Call>
|
||||
* Lookup401: xcm::v3::Instruction<Call>
|
||||
**/
|
||||
XcmV3Instruction: {
|
||||
_enum: {
|
||||
@@ -1627,18 +1623,18 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup403: xcm::v3::multiasset::MultiAssets
|
||||
* Lookup402: xcm::v3::multiasset::MultiAssets
|
||||
**/
|
||||
XcmV3MultiassetMultiAssets: 'Vec<XcmV3MultiAsset>',
|
||||
/**
|
||||
* Lookup405: xcm::v3::multiasset::MultiAsset
|
||||
* Lookup404: xcm::v3::multiasset::MultiAsset
|
||||
**/
|
||||
XcmV3MultiAsset: {
|
||||
id: 'XcmV3MultiassetAssetId',
|
||||
fun: 'XcmV3MultiassetFungibility'
|
||||
},
|
||||
/**
|
||||
* Lookup406: xcm::v3::multiasset::AssetId
|
||||
* Lookup405: xcm::v3::multiasset::AssetId
|
||||
**/
|
||||
XcmV3MultiassetAssetId: {
|
||||
_enum: {
|
||||
@@ -1647,7 +1643,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup407: xcm::v3::multiasset::Fungibility
|
||||
* Lookup406: xcm::v3::multiasset::Fungibility
|
||||
**/
|
||||
XcmV3MultiassetFungibility: {
|
||||
_enum: {
|
||||
@@ -1656,7 +1652,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup408: xcm::v3::multiasset::AssetInstance
|
||||
* Lookup407: xcm::v3::multiasset::AssetInstance
|
||||
**/
|
||||
XcmV3MultiassetAssetInstance: {
|
||||
_enum: {
|
||||
@@ -1669,7 +1665,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup409: xcm::v3::Response
|
||||
* Lookup408: xcm::v3::Response
|
||||
**/
|
||||
XcmV3Response: {
|
||||
_enum: {
|
||||
@@ -1682,7 +1678,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup412: xcm::v3::traits::Error
|
||||
* Lookup411: xcm::v3::traits::Error
|
||||
**/
|
||||
XcmV3TraitsError: {
|
||||
_enum: {
|
||||
@@ -1729,7 +1725,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup414: xcm::v3::PalletInfo
|
||||
* Lookup413: xcm::v3::PalletInfo
|
||||
**/
|
||||
XcmV3PalletInfo: {
|
||||
index: 'Compact<u32>',
|
||||
@@ -1740,7 +1736,7 @@ export default {
|
||||
patch: 'Compact<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup417: xcm::v3::MaybeErrorCode
|
||||
* Lookup416: xcm::v3::MaybeErrorCode
|
||||
**/
|
||||
XcmV3MaybeErrorCode: {
|
||||
_enum: {
|
||||
@@ -1750,7 +1746,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup420: xcm::v3::QueryResponseInfo
|
||||
* Lookup419: xcm::v3::QueryResponseInfo
|
||||
**/
|
||||
XcmV3QueryResponseInfo: {
|
||||
destination: 'XcmV3MultiLocation',
|
||||
@@ -1758,7 +1754,7 @@ export default {
|
||||
maxWeight: 'SpWeightsWeightV2Weight'
|
||||
},
|
||||
/**
|
||||
* Lookup421: xcm::v3::multiasset::MultiAssetFilter
|
||||
* Lookup420: xcm::v3::multiasset::MultiAssetFilter
|
||||
**/
|
||||
XcmV3MultiassetMultiAssetFilter: {
|
||||
_enum: {
|
||||
@@ -1767,7 +1763,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup422: xcm::v3::multiasset::WildMultiAsset
|
||||
* Lookup421: xcm::v3::multiasset::WildMultiAsset
|
||||
**/
|
||||
XcmV3MultiassetWildMultiAsset: {
|
||||
_enum: {
|
||||
@@ -1785,13 +1781,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup423: xcm::v3::multiasset::WildFungibility
|
||||
* Lookup422: xcm::v3::multiasset::WildFungibility
|
||||
**/
|
||||
XcmV3MultiassetWildFungibility: {
|
||||
_enum: ['Fungible', 'NonFungible']
|
||||
},
|
||||
/**
|
||||
* Lookup424: xcm::v3::WeightLimit
|
||||
* Lookup423: xcm::v3::WeightLimit
|
||||
**/
|
||||
XcmV3WeightLimit: {
|
||||
_enum: {
|
||||
@@ -1800,7 +1796,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup425: xcm::VersionedMultiAssets
|
||||
* Lookup424: xcm::VersionedMultiAssets
|
||||
**/
|
||||
XcmVersionedMultiAssets: {
|
||||
_enum: {
|
||||
@@ -1811,7 +1807,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup441: polkadot_runtime_common::claims::pallet::Event<T>
|
||||
* Lookup440: polkadot_runtime_common::claims::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonClaimsPalletEvent: {
|
||||
_enum: {
|
||||
@@ -1823,7 +1819,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup457: polkadot_runtime_parachains::inclusion::pallet::Event<T>
|
||||
* Lookup456: polkadot_runtime_parachains::inclusion::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsInclusionPalletEvent: {
|
||||
_enum: {
|
||||
@@ -1833,14 +1829,14 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup458: polkadot_primitives::v4::CandidateReceipt<primitive_types::H256>
|
||||
* Lookup457: polkadot_primitives::v4::CandidateReceipt<primitive_types::H256>
|
||||
**/
|
||||
PolkadotPrimitivesV4CandidateReceipt: {
|
||||
descriptor: 'PolkadotPrimitivesV4CandidateDescriptor',
|
||||
commitmentsHash: 'H256'
|
||||
},
|
||||
/**
|
||||
* Lookup461: polkadot_runtime_parachains::paras::pallet::Event
|
||||
* Lookup460: polkadot_runtime_parachains::paras::pallet::Event
|
||||
**/
|
||||
PolkadotRuntimeParachainsParasPalletEvent: {
|
||||
_enum: {
|
||||
@@ -1855,7 +1851,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup462: polkadot_runtime_parachains::ump::pallet::Event
|
||||
* Lookup461: polkadot_runtime_parachains::ump::pallet::Event
|
||||
**/
|
||||
PolkadotRuntimeParachainsUmpPalletEvent: {
|
||||
_enum: {
|
||||
@@ -1869,7 +1865,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup463: xcm::v3::traits::Outcome
|
||||
* Lookup462: xcm::v3::traits::Outcome
|
||||
**/
|
||||
XcmV3TraitsOutcome: {
|
||||
_enum: {
|
||||
@@ -1879,7 +1875,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup464: polkadot_runtime_parachains::hrmp::pallet::Event<T>
|
||||
* Lookup463: polkadot_runtime_parachains::hrmp::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsHrmpPalletEvent: {
|
||||
_enum: {
|
||||
@@ -1891,7 +1887,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup465: polkadot_runtime_parachains::disputes::pallet::Event<T>
|
||||
* Lookup464: polkadot_runtime_parachains::disputes::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeParachainsDisputesPalletEvent: {
|
||||
_enum: {
|
||||
@@ -1901,19 +1897,19 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup466: polkadot_runtime_parachains::disputes::DisputeLocation
|
||||
* Lookup465: polkadot_runtime_parachains::disputes::DisputeLocation
|
||||
**/
|
||||
PolkadotRuntimeParachainsDisputesDisputeLocation: {
|
||||
_enum: ['Local', 'Remote']
|
||||
},
|
||||
/**
|
||||
* Lookup467: polkadot_runtime_parachains::disputes::DisputeResult
|
||||
* Lookup466: polkadot_runtime_parachains::disputes::DisputeResult
|
||||
**/
|
||||
PolkadotRuntimeParachainsDisputesDisputeResult: {
|
||||
_enum: ['Valid', 'Invalid']
|
||||
},
|
||||
/**
|
||||
* Lookup468: polkadot_runtime_common::paras_registrar::pallet::Event<T>
|
||||
* Lookup467: polkadot_runtime_common::paras_registrar::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonParasRegistrarPalletEvent: {
|
||||
_enum: {
|
||||
@@ -1931,7 +1927,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup469: polkadot_runtime_common::slots::pallet::Event<T>
|
||||
* Lookup468: polkadot_runtime_common::slots::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonSlotsPalletEvent: {
|
||||
_enum: {
|
||||
@@ -1949,7 +1945,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup470: polkadot_runtime_common::auctions::pallet::Event<T>
|
||||
* Lookup469: polkadot_runtime_common::auctions::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonAuctionsPalletEvent: {
|
||||
_enum: {
|
||||
@@ -1989,7 +1985,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup471: polkadot_runtime_common::crowdloan::pallet::Event<T>
|
||||
* Lookup470: polkadot_runtime_common::crowdloan::pallet::Event<T>
|
||||
**/
|
||||
PolkadotRuntimeCommonCrowdloanPalletEvent: {
|
||||
_enum: {
|
||||
@@ -2033,7 +2029,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup472: pallet_xcm::pallet::Event<T>
|
||||
* Lookup471: pallet_xcm::pallet::Event<T>
|
||||
**/
|
||||
PalletXcmEvent: {
|
||||
_enum: {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -108,7 +108,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDisputesSlashingPalletCall (369) */
|
||||
/** @name PolkadotRuntimeParachainsDisputesSlashingPalletCall (368) */
|
||||
interface PolkadotRuntimeParachainsDisputesSlashingPalletCall extends Enum {
|
||||
readonly isReportDisputeLostUnsigned: boolean;
|
||||
readonly asReportDisputeLostUnsigned: {
|
||||
@@ -118,7 +118,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'ReportDisputeLostUnsigned';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDisputesSlashingDisputeProof (370) */
|
||||
/** @name PolkadotRuntimeParachainsDisputesSlashingDisputeProof (369) */
|
||||
interface PolkadotRuntimeParachainsDisputesSlashingDisputeProof extends Struct {
|
||||
readonly timeSlot: PolkadotRuntimeParachainsDisputesSlashingDisputesTimeSlot;
|
||||
readonly kind: PolkadotRuntimeParachainsDisputesSlashingSlashingOffenceKind;
|
||||
@@ -126,13 +126,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly validatorId: PolkadotPrimitivesV4ValidatorAppPublic;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDisputesSlashingDisputesTimeSlot (371) */
|
||||
/** @name PolkadotRuntimeParachainsDisputesSlashingDisputesTimeSlot (370) */
|
||||
interface PolkadotRuntimeParachainsDisputesSlashingDisputesTimeSlot extends Struct {
|
||||
readonly sessionIndex: u32;
|
||||
readonly candidateHash: H256;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDisputesSlashingSlashingOffenceKind (372) */
|
||||
/** @name PolkadotRuntimeParachainsDisputesSlashingSlashingOffenceKind (371) */
|
||||
interface PolkadotRuntimeParachainsDisputesSlashingSlashingOffenceKind extends Enum {
|
||||
readonly isForInvalid: boolean;
|
||||
readonly isAgainstValid: boolean;
|
||||
|
||||
@@ -700,10 +700,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'ForceApprove';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDmpPalletCall (354) */
|
||||
type PolkadotRuntimeParachainsDmpPalletCall = Null;
|
||||
|
||||
/** @name PolkadotRuntimeParachainsUmpPalletCall (355) */
|
||||
/** @name PolkadotRuntimeParachainsUmpPalletCall (354) */
|
||||
interface PolkadotRuntimeParachainsUmpPalletCall extends Enum {
|
||||
readonly isServiceOverweight: boolean;
|
||||
readonly asServiceOverweight: {
|
||||
@@ -713,7 +710,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'ServiceOverweight';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsHrmpPalletCall (356) */
|
||||
/** @name PolkadotRuntimeParachainsHrmpPalletCall (355) */
|
||||
interface PolkadotRuntimeParachainsHrmpPalletCall extends Enum {
|
||||
readonly isHrmpInitOpenChannel: boolean;
|
||||
readonly asHrmpInitOpenChannel: {
|
||||
@@ -758,19 +755,19 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'HrmpInitOpenChannel' | 'HrmpAcceptOpenChannel' | 'HrmpCloseChannel' | 'ForceCleanHrmp' | 'ForceProcessHrmpOpen' | 'ForceProcessHrmpClose' | 'HrmpCancelOpenRequest' | 'ForceOpenHrmpChannel';
|
||||
}
|
||||
|
||||
/** @name PolkadotParachainPrimitivesHrmpChannelId (357) */
|
||||
/** @name PolkadotParachainPrimitivesHrmpChannelId (356) */
|
||||
interface PolkadotParachainPrimitivesHrmpChannelId extends Struct {
|
||||
readonly sender: u32;
|
||||
readonly recipient: u32;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDisputesPalletCall (358) */
|
||||
/** @name PolkadotRuntimeParachainsDisputesPalletCall (357) */
|
||||
interface PolkadotRuntimeParachainsDisputesPalletCall extends Enum {
|
||||
readonly isForceUnfreeze: boolean;
|
||||
readonly type: 'ForceUnfreeze';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonParasRegistrarPalletCall (359) */
|
||||
/** @name PolkadotRuntimeCommonParasRegistrarPalletCall (358) */
|
||||
interface PolkadotRuntimeCommonParasRegistrarPalletCall extends Enum {
|
||||
readonly isRegister: boolean;
|
||||
readonly asRegister: {
|
||||
@@ -817,7 +814,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Register' | 'ForceRegister' | 'Deregister' | 'Swap' | 'RemoveLock' | 'Reserve' | 'AddLock' | 'ScheduleCodeUpgrade' | 'SetCurrentHead';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonSlotsPalletCall (360) */
|
||||
/** @name PolkadotRuntimeCommonSlotsPalletCall (359) */
|
||||
interface PolkadotRuntimeCommonSlotsPalletCall extends Enum {
|
||||
readonly isForceLease: boolean;
|
||||
readonly asForceLease: {
|
||||
@@ -838,7 +835,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'ForceLease' | 'ClearAllLeases' | 'TriggerOnboard';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonAuctionsPalletCall (361) */
|
||||
/** @name PolkadotRuntimeCommonAuctionsPalletCall (360) */
|
||||
interface PolkadotRuntimeCommonAuctionsPalletCall extends Enum {
|
||||
readonly isNewAuction: boolean;
|
||||
readonly asNewAuction: {
|
||||
@@ -857,7 +854,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NewAuction' | 'Bid' | 'CancelAuction';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonCrowdloanPalletCall (363) */
|
||||
/** @name PolkadotRuntimeCommonCrowdloanPalletCall (362) */
|
||||
interface PolkadotRuntimeCommonCrowdloanPalletCall extends Enum {
|
||||
readonly isCreate: boolean;
|
||||
readonly asCreate: {
|
||||
@@ -913,7 +910,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Create' | 'Contribute' | 'Withdraw' | 'Refund' | 'Dissolve' | 'Edit' | 'AddMemo' | 'Poke' | 'ContributeAll';
|
||||
}
|
||||
|
||||
/** @name SpRuntimeMultiSigner (365) */
|
||||
/** @name SpRuntimeMultiSigner (364) */
|
||||
interface SpRuntimeMultiSigner extends Enum {
|
||||
readonly isEd25519: boolean;
|
||||
readonly asEd25519: SpCoreEd25519Public;
|
||||
@@ -924,10 +921,10 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
|
||||
}
|
||||
|
||||
/** @name SpCoreEcdsaPublic (366) */
|
||||
/** @name SpCoreEcdsaPublic (365) */
|
||||
interface SpCoreEcdsaPublic extends U8aFixed {}
|
||||
|
||||
/** @name PalletXcmCall (371) */
|
||||
/** @name PalletXcmCall (370) */
|
||||
interface PalletXcmCall extends Enum {
|
||||
readonly isSend: boolean;
|
||||
readonly asSend: {
|
||||
@@ -989,7 +986,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
|
||||
}
|
||||
|
||||
/** @name XcmVersionedMultiLocation (372) */
|
||||
/** @name XcmVersionedMultiLocation (371) */
|
||||
interface XcmVersionedMultiLocation extends Enum {
|
||||
readonly isV2: boolean;
|
||||
readonly asV2: XcmV2MultiLocation;
|
||||
@@ -998,13 +995,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'V2' | 'V3';
|
||||
}
|
||||
|
||||
/** @name XcmV2MultiLocation (373) */
|
||||
/** @name XcmV2MultiLocation (372) */
|
||||
interface XcmV2MultiLocation extends Struct {
|
||||
readonly parents: u8;
|
||||
readonly interior: XcmV2MultilocationJunctions;
|
||||
}
|
||||
|
||||
/** @name XcmV2MultilocationJunctions (374) */
|
||||
/** @name XcmV2MultilocationJunctions (373) */
|
||||
interface XcmV2MultilocationJunctions extends Enum {
|
||||
readonly isHere: boolean;
|
||||
readonly isX1: boolean;
|
||||
@@ -1026,7 +1023,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
|
||||
}
|
||||
|
||||
/** @name XcmV2Junction (375) */
|
||||
/** @name XcmV2Junction (374) */
|
||||
interface XcmV2Junction extends Enum {
|
||||
readonly isParachain: boolean;
|
||||
readonly asParachain: Compact<u32>;
|
||||
@@ -1060,7 +1057,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
|
||||
}
|
||||
|
||||
/** @name XcmV2NetworkId (376) */
|
||||
/** @name XcmV2NetworkId (375) */
|
||||
interface XcmV2NetworkId extends Enum {
|
||||
readonly isAny: boolean;
|
||||
readonly isNamed: boolean;
|
||||
@@ -1070,7 +1067,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
|
||||
}
|
||||
|
||||
/** @name XcmV2BodyId (378) */
|
||||
/** @name XcmV2BodyId (377) */
|
||||
interface XcmV2BodyId extends Enum {
|
||||
readonly isUnit: boolean;
|
||||
readonly isNamed: boolean;
|
||||
@@ -1087,7 +1084,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury';
|
||||
}
|
||||
|
||||
/** @name XcmV2BodyPart (379) */
|
||||
/** @name XcmV2BodyPart (378) */
|
||||
interface XcmV2BodyPart extends Enum {
|
||||
readonly isVoice: boolean;
|
||||
readonly isMembers: boolean;
|
||||
@@ -1112,7 +1109,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
|
||||
}
|
||||
|
||||
/** @name XcmVersionedXcm (380) */
|
||||
/** @name XcmVersionedXcm (379) */
|
||||
interface XcmVersionedXcm extends Enum {
|
||||
readonly isV2: boolean;
|
||||
readonly asV2: XcmV2Xcm;
|
||||
@@ -1121,10 +1118,10 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'V2' | 'V3';
|
||||
}
|
||||
|
||||
/** @name XcmV2Xcm (381) */
|
||||
/** @name XcmV2Xcm (380) */
|
||||
interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
|
||||
|
||||
/** @name XcmV2Instruction (383) */
|
||||
/** @name XcmV2Instruction (382) */
|
||||
interface XcmV2Instruction extends Enum {
|
||||
readonly isWithdrawAsset: boolean;
|
||||
readonly asWithdrawAsset: XcmV2MultiassetMultiAssets;
|
||||
@@ -1244,16 +1241,16 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';
|
||||
}
|
||||
|
||||
/** @name XcmV2MultiassetMultiAssets (384) */
|
||||
/** @name XcmV2MultiassetMultiAssets (383) */
|
||||
interface XcmV2MultiassetMultiAssets extends Vec<XcmV2MultiAsset> {}
|
||||
|
||||
/** @name XcmV2MultiAsset (386) */
|
||||
/** @name XcmV2MultiAsset (385) */
|
||||
interface XcmV2MultiAsset extends Struct {
|
||||
readonly id: XcmV2MultiassetAssetId;
|
||||
readonly fun: XcmV2MultiassetFungibility;
|
||||
}
|
||||
|
||||
/** @name XcmV2MultiassetAssetId (387) */
|
||||
/** @name XcmV2MultiassetAssetId (386) */
|
||||
interface XcmV2MultiassetAssetId extends Enum {
|
||||
readonly isConcrete: boolean;
|
||||
readonly asConcrete: XcmV2MultiLocation;
|
||||
@@ -1262,7 +1259,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Concrete' | 'Abstract';
|
||||
}
|
||||
|
||||
/** @name XcmV2MultiassetFungibility (388) */
|
||||
/** @name XcmV2MultiassetFungibility (387) */
|
||||
interface XcmV2MultiassetFungibility extends Enum {
|
||||
readonly isFungible: boolean;
|
||||
readonly asFungible: Compact<u128>;
|
||||
@@ -1271,7 +1268,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Fungible' | 'NonFungible';
|
||||
}
|
||||
|
||||
/** @name XcmV2MultiassetAssetInstance (389) */
|
||||
/** @name XcmV2MultiassetAssetInstance (388) */
|
||||
interface XcmV2MultiassetAssetInstance extends Enum {
|
||||
readonly isUndefined: boolean;
|
||||
readonly isIndex: boolean;
|
||||
@@ -1289,7 +1286,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
|
||||
}
|
||||
|
||||
/** @name XcmV2Response (390) */
|
||||
/** @name XcmV2Response (389) */
|
||||
interface XcmV2Response extends Enum {
|
||||
readonly isNull: boolean;
|
||||
readonly isAssets: boolean;
|
||||
@@ -1301,7 +1298,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
|
||||
}
|
||||
|
||||
/** @name XcmV2TraitsError (393) */
|
||||
/** @name XcmV2TraitsError (392) */
|
||||
interface XcmV2TraitsError extends Enum {
|
||||
readonly isOverflow: boolean;
|
||||
readonly isUnimplemented: boolean;
|
||||
@@ -1334,7 +1331,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';
|
||||
}
|
||||
|
||||
/** @name XcmV2OriginKind (394) */
|
||||
/** @name XcmV2OriginKind (393) */
|
||||
interface XcmV2OriginKind extends Enum {
|
||||
readonly isNative: boolean;
|
||||
readonly isSovereignAccount: boolean;
|
||||
@@ -1343,12 +1340,12 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
||||
}
|
||||
|
||||
/** @name XcmDoubleEncoded (395) */
|
||||
/** @name XcmDoubleEncoded (394) */
|
||||
interface XcmDoubleEncoded extends Struct {
|
||||
readonly encoded: Bytes;
|
||||
}
|
||||
|
||||
/** @name XcmV2MultiassetMultiAssetFilter (396) */
|
||||
/** @name XcmV2MultiassetMultiAssetFilter (395) */
|
||||
interface XcmV2MultiassetMultiAssetFilter extends Enum {
|
||||
readonly isDefinite: boolean;
|
||||
readonly asDefinite: XcmV2MultiassetMultiAssets;
|
||||
@@ -1357,7 +1354,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Definite' | 'Wild';
|
||||
}
|
||||
|
||||
/** @name XcmV2MultiassetWildMultiAsset (397) */
|
||||
/** @name XcmV2MultiassetWildMultiAsset (396) */
|
||||
interface XcmV2MultiassetWildMultiAsset extends Enum {
|
||||
readonly isAll: boolean;
|
||||
readonly isAllOf: boolean;
|
||||
@@ -1368,14 +1365,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'All' | 'AllOf';
|
||||
}
|
||||
|
||||
/** @name XcmV2MultiassetWildFungibility (398) */
|
||||
/** @name XcmV2MultiassetWildFungibility (397) */
|
||||
interface XcmV2MultiassetWildFungibility extends Enum {
|
||||
readonly isFungible: boolean;
|
||||
readonly isNonFungible: boolean;
|
||||
readonly type: 'Fungible' | 'NonFungible';
|
||||
}
|
||||
|
||||
/** @name XcmV2WeightLimit (399) */
|
||||
/** @name XcmV2WeightLimit (398) */
|
||||
interface XcmV2WeightLimit extends Enum {
|
||||
readonly isUnlimited: boolean;
|
||||
readonly isLimited: boolean;
|
||||
@@ -1383,10 +1380,10 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Unlimited' | 'Limited';
|
||||
}
|
||||
|
||||
/** @name XcmV3Xcm (400) */
|
||||
/** @name XcmV3Xcm (399) */
|
||||
interface XcmV3Xcm extends Vec<XcmV3Instruction> {}
|
||||
|
||||
/** @name XcmV3Instruction (402) */
|
||||
/** @name XcmV3Instruction (401) */
|
||||
interface XcmV3Instruction extends Enum {
|
||||
readonly isWithdrawAsset: boolean;
|
||||
readonly asWithdrawAsset: XcmV3MultiassetMultiAssets;
|
||||
@@ -1568,16 +1565,16 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'ReportHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion' | 'BurnAsset' | 'ExpectAsset' | 'ExpectOrigin' | 'ExpectError' | 'ExpectTransactStatus' | 'QueryPallet' | 'ExpectPallet' | 'ReportTransactStatus' | 'ClearTransactStatus' | 'UniversalOrigin' | 'ExportMessage' | 'LockAsset' | 'UnlockAsset' | 'NoteUnlockable' | 'RequestUnlock' | 'SetFeesMode' | 'SetTopic' | 'ClearTopic' | 'AliasOrigin' | 'UnpaidExecution';
|
||||
}
|
||||
|
||||
/** @name XcmV3MultiassetMultiAssets (403) */
|
||||
/** @name XcmV3MultiassetMultiAssets (402) */
|
||||
interface XcmV3MultiassetMultiAssets extends Vec<XcmV3MultiAsset> {}
|
||||
|
||||
/** @name XcmV3MultiAsset (405) */
|
||||
/** @name XcmV3MultiAsset (404) */
|
||||
interface XcmV3MultiAsset extends Struct {
|
||||
readonly id: XcmV3MultiassetAssetId;
|
||||
readonly fun: XcmV3MultiassetFungibility;
|
||||
}
|
||||
|
||||
/** @name XcmV3MultiassetAssetId (406) */
|
||||
/** @name XcmV3MultiassetAssetId (405) */
|
||||
interface XcmV3MultiassetAssetId extends Enum {
|
||||
readonly isConcrete: boolean;
|
||||
readonly asConcrete: XcmV3MultiLocation;
|
||||
@@ -1586,7 +1583,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Concrete' | 'Abstract';
|
||||
}
|
||||
|
||||
/** @name XcmV3MultiassetFungibility (407) */
|
||||
/** @name XcmV3MultiassetFungibility (406) */
|
||||
interface XcmV3MultiassetFungibility extends Enum {
|
||||
readonly isFungible: boolean;
|
||||
readonly asFungible: Compact<u128>;
|
||||
@@ -1595,7 +1592,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Fungible' | 'NonFungible';
|
||||
}
|
||||
|
||||
/** @name XcmV3MultiassetAssetInstance (408) */
|
||||
/** @name XcmV3MultiassetAssetInstance (407) */
|
||||
interface XcmV3MultiassetAssetInstance extends Enum {
|
||||
readonly isUndefined: boolean;
|
||||
readonly isIndex: boolean;
|
||||
@@ -1611,7 +1608,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32';
|
||||
}
|
||||
|
||||
/** @name XcmV3Response (409) */
|
||||
/** @name XcmV3Response (408) */
|
||||
interface XcmV3Response extends Enum {
|
||||
readonly isNull: boolean;
|
||||
readonly isAssets: boolean;
|
||||
@@ -1627,7 +1624,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult';
|
||||
}
|
||||
|
||||
/** @name XcmV3TraitsError (412) */
|
||||
/** @name XcmV3TraitsError (411) */
|
||||
interface XcmV3TraitsError extends Enum {
|
||||
readonly isOverflow: boolean;
|
||||
readonly isUnimplemented: boolean;
|
||||
@@ -1674,7 +1671,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'LocationFull' | 'LocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'ExpectationFalse' | 'PalletNotFound' | 'NameMismatch' | 'VersionIncompatible' | 'HoldingWouldOverflow' | 'ExportError' | 'ReanchorFailed' | 'NoDeal' | 'FeesNotMet' | 'LockError' | 'NoPermission' | 'Unanchored' | 'NotDepositable' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable' | 'ExceedsStackLimit';
|
||||
}
|
||||
|
||||
/** @name XcmV3PalletInfo (414) */
|
||||
/** @name XcmV3PalletInfo (413) */
|
||||
interface XcmV3PalletInfo extends Struct {
|
||||
readonly index: Compact<u32>;
|
||||
readonly name: Bytes;
|
||||
@@ -1684,7 +1681,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly patch: Compact<u32>;
|
||||
}
|
||||
|
||||
/** @name XcmV3MaybeErrorCode (417) */
|
||||
/** @name XcmV3MaybeErrorCode (416) */
|
||||
interface XcmV3MaybeErrorCode extends Enum {
|
||||
readonly isSuccess: boolean;
|
||||
readonly isError: boolean;
|
||||
@@ -1694,14 +1691,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Success' | 'Error' | 'TruncatedError';
|
||||
}
|
||||
|
||||
/** @name XcmV3QueryResponseInfo (420) */
|
||||
/** @name XcmV3QueryResponseInfo (419) */
|
||||
interface XcmV3QueryResponseInfo extends Struct {
|
||||
readonly destination: XcmV3MultiLocation;
|
||||
readonly queryId: Compact<u64>;
|
||||
readonly maxWeight: SpWeightsWeightV2Weight;
|
||||
}
|
||||
|
||||
/** @name XcmV3MultiassetMultiAssetFilter (421) */
|
||||
/** @name XcmV3MultiassetMultiAssetFilter (420) */
|
||||
interface XcmV3MultiassetMultiAssetFilter extends Enum {
|
||||
readonly isDefinite: boolean;
|
||||
readonly asDefinite: XcmV3MultiassetMultiAssets;
|
||||
@@ -1710,7 +1707,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Definite' | 'Wild';
|
||||
}
|
||||
|
||||
/** @name XcmV3MultiassetWildMultiAsset (422) */
|
||||
/** @name XcmV3MultiassetWildMultiAsset (421) */
|
||||
interface XcmV3MultiassetWildMultiAsset extends Enum {
|
||||
readonly isAll: boolean;
|
||||
readonly isAllOf: boolean;
|
||||
@@ -1729,14 +1726,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted';
|
||||
}
|
||||
|
||||
/** @name XcmV3MultiassetWildFungibility (423) */
|
||||
/** @name XcmV3MultiassetWildFungibility (422) */
|
||||
interface XcmV3MultiassetWildFungibility extends Enum {
|
||||
readonly isFungible: boolean;
|
||||
readonly isNonFungible: boolean;
|
||||
readonly type: 'Fungible' | 'NonFungible';
|
||||
}
|
||||
|
||||
/** @name XcmV3WeightLimit (424) */
|
||||
/** @name XcmV3WeightLimit (423) */
|
||||
interface XcmV3WeightLimit extends Enum {
|
||||
readonly isUnlimited: boolean;
|
||||
readonly isLimited: boolean;
|
||||
@@ -1744,7 +1741,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Unlimited' | 'Limited';
|
||||
}
|
||||
|
||||
/** @name XcmVersionedMultiAssets (425) */
|
||||
/** @name XcmVersionedMultiAssets (424) */
|
||||
interface XcmVersionedMultiAssets extends Enum {
|
||||
readonly isV2: boolean;
|
||||
readonly asV2: XcmV2MultiassetMultiAssets;
|
||||
@@ -1753,7 +1750,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'V2' | 'V3';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonClaimsPalletEvent (441) */
|
||||
/** @name PolkadotRuntimeCommonClaimsPalletEvent (440) */
|
||||
interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
|
||||
readonly isClaimed: boolean;
|
||||
readonly asClaimed: {
|
||||
@@ -1764,7 +1761,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Claimed';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsInclusionPalletEvent (457) */
|
||||
/** @name PolkadotRuntimeParachainsInclusionPalletEvent (456) */
|
||||
interface PolkadotRuntimeParachainsInclusionPalletEvent extends Enum {
|
||||
readonly isCandidateBacked: boolean;
|
||||
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesV4CandidateReceipt, Bytes, u32, u32]>;
|
||||
@@ -1775,13 +1772,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'CandidateBacked' | 'CandidateIncluded' | 'CandidateTimedOut';
|
||||
}
|
||||
|
||||
/** @name PolkadotPrimitivesV4CandidateReceipt (458) */
|
||||
/** @name PolkadotPrimitivesV4CandidateReceipt (457) */
|
||||
interface PolkadotPrimitivesV4CandidateReceipt extends Struct {
|
||||
readonly descriptor: PolkadotPrimitivesV4CandidateDescriptor;
|
||||
readonly commitmentsHash: H256;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsParasPalletEvent (461) */
|
||||
/** @name PolkadotRuntimeParachainsParasPalletEvent (460) */
|
||||
interface PolkadotRuntimeParachainsParasPalletEvent extends Enum {
|
||||
readonly isCurrentCodeUpdated: boolean;
|
||||
readonly asCurrentCodeUpdated: u32;
|
||||
@@ -1802,7 +1799,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'CurrentCodeUpdated' | 'CurrentHeadUpdated' | 'CodeUpgradeScheduled' | 'NewHeadNoted' | 'ActionQueued' | 'PvfCheckStarted' | 'PvfCheckAccepted' | 'PvfCheckRejected';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsUmpPalletEvent (462) */
|
||||
/** @name PolkadotRuntimeParachainsUmpPalletEvent (461) */
|
||||
interface PolkadotRuntimeParachainsUmpPalletEvent extends Enum {
|
||||
readonly isInvalidFormat: boolean;
|
||||
readonly asInvalidFormat: U8aFixed;
|
||||
@@ -1821,7 +1818,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedUpward' | 'WeightExhausted' | 'UpwardMessagesReceived' | 'OverweightEnqueued' | 'OverweightServiced';
|
||||
}
|
||||
|
||||
/** @name XcmV3TraitsOutcome (463) */
|
||||
/** @name XcmV3TraitsOutcome (462) */
|
||||
interface XcmV3TraitsOutcome extends Enum {
|
||||
readonly isComplete: boolean;
|
||||
readonly asComplete: SpWeightsWeightV2Weight;
|
||||
@@ -1832,7 +1829,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Complete' | 'Incomplete' | 'Error';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsHrmpPalletEvent (464) */
|
||||
/** @name PolkadotRuntimeParachainsHrmpPalletEvent (463) */
|
||||
interface PolkadotRuntimeParachainsHrmpPalletEvent extends Enum {
|
||||
readonly isOpenChannelRequested: boolean;
|
||||
readonly asOpenChannelRequested: ITuple<[u32, u32, u32, u32]>;
|
||||
@@ -1847,7 +1844,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'OpenChannelRequested' | 'OpenChannelCanceled' | 'OpenChannelAccepted' | 'ChannelClosed' | 'HrmpChannelForceOpened';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDisputesPalletEvent (465) */
|
||||
/** @name PolkadotRuntimeParachainsDisputesPalletEvent (464) */
|
||||
interface PolkadotRuntimeParachainsDisputesPalletEvent extends Enum {
|
||||
readonly isDisputeInitiated: boolean;
|
||||
readonly asDisputeInitiated: ITuple<[H256, PolkadotRuntimeParachainsDisputesDisputeLocation]>;
|
||||
@@ -1858,21 +1855,21 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'DisputeInitiated' | 'DisputeConcluded' | 'Revert';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDisputesDisputeLocation (466) */
|
||||
/** @name PolkadotRuntimeParachainsDisputesDisputeLocation (465) */
|
||||
interface PolkadotRuntimeParachainsDisputesDisputeLocation extends Enum {
|
||||
readonly isLocal: boolean;
|
||||
readonly isRemote: boolean;
|
||||
readonly type: 'Local' | 'Remote';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeParachainsDisputesDisputeResult (467) */
|
||||
/** @name PolkadotRuntimeParachainsDisputesDisputeResult (466) */
|
||||
interface PolkadotRuntimeParachainsDisputesDisputeResult extends Enum {
|
||||
readonly isValid: boolean;
|
||||
readonly isInvalid: boolean;
|
||||
readonly type: 'Valid' | 'Invalid';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (468) */
|
||||
/** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (467) */
|
||||
interface PolkadotRuntimeCommonParasRegistrarPalletEvent extends Enum {
|
||||
readonly isRegistered: boolean;
|
||||
readonly asRegistered: {
|
||||
@@ -1891,7 +1888,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Registered' | 'Deregistered' | 'Reserved';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonSlotsPalletEvent (469) */
|
||||
/** @name PolkadotRuntimeCommonSlotsPalletEvent (468) */
|
||||
interface PolkadotRuntimeCommonSlotsPalletEvent extends Enum {
|
||||
readonly isNewLeasePeriod: boolean;
|
||||
readonly asNewLeasePeriod: {
|
||||
@@ -1909,7 +1906,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NewLeasePeriod' | 'Leased';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonAuctionsPalletEvent (470) */
|
||||
/** @name PolkadotRuntimeCommonAuctionsPalletEvent (469) */
|
||||
interface PolkadotRuntimeCommonAuctionsPalletEvent extends Enum {
|
||||
readonly isAuctionStarted: boolean;
|
||||
readonly asAuctionStarted: {
|
||||
@@ -1954,7 +1951,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'AuctionStarted' | 'AuctionClosed' | 'Reserved' | 'Unreserved' | 'ReserveConfiscated' | 'BidAccepted' | 'WinningOffset';
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonCrowdloanPalletEvent (471) */
|
||||
/** @name PolkadotRuntimeCommonCrowdloanPalletEvent (470) */
|
||||
interface PolkadotRuntimeCommonCrowdloanPalletEvent extends Enum {
|
||||
readonly isCreated: boolean;
|
||||
readonly asCreated: {
|
||||
@@ -2006,7 +2003,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Created' | 'Contributed' | 'Withdrew' | 'PartiallyRefunded' | 'AllRefunded' | 'Dissolved' | 'HandleBidResult' | 'Edited' | 'MemoUpdated' | 'AddedToNewRaise';
|
||||
}
|
||||
|
||||
/** @name PalletXcmEvent (472) */
|
||||
/** @name PalletXcmEvent (471) */
|
||||
interface PalletXcmEvent extends Enum {
|
||||
readonly isAttempted: boolean;
|
||||
readonly asAttempted: XcmV3TraitsOutcome;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Implementation of the SCALE codec",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-codec#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,17 +18,17 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/x-bigint": "^11.1.3",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"@polkadot/x-bigint": "^12.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/types-augment": "10.3.4",
|
||||
"@polkadot/types-support": "10.3.4",
|
||||
"@polkadot/util-crypto": "^11.1.3"
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/types-augment": "10.4.1",
|
||||
"@polkadot/types-support": "10.4.1",
|
||||
"@polkadot/util-crypto": "^12.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
import type { Bool, Option } from '@polkadot/types-codec';
|
||||
import type { CodecTo } from '@polkadot/types-codec/types';
|
||||
|
||||
import { TypeRegistry } from '@polkadot/types';
|
||||
import { Bool, Enum, Option, Struct, Text, U32, Vec } from '@polkadot/types-codec';
|
||||
import { Enum, Struct, Text, U32, Vec } from '@polkadot/types-codec';
|
||||
|
||||
import { TEST_A } from './Struct.data.js';
|
||||
|
||||
|
||||
@@ -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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -77,5 +77,5 @@ export interface Registry {
|
||||
register (type: CodecClass | RegistryTypes): void;
|
||||
register (name: string, type: CodecClass): void;
|
||||
register (arg1: string | CodecClass | RegistryTypes, arg2?: CodecClass): void;
|
||||
setMetadata (metadata: unknown, signedExtensions?: string[], userExtensions?: unknown): void;
|
||||
setMetadata (metadata: unknown, signedExtensions?: string[], userExtensions?: unknown, noInitWarn?: boolean): void;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Type creator helpers",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-create#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,14 +18,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types-codec": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/types-codec": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "10.3.4"
|
||||
"@polkadot/types": "10.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
// Copyright 2017-2023 @polkadot/types-create authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Bytes } from '@polkadot/types-codec';
|
||||
import type { Codec, CodecClass, IU8a, Registry } from '@polkadot/types-codec/types';
|
||||
import type { CreateOptions } from '../types/index.js';
|
||||
|
||||
import { Bytes, Option } from '@polkadot/types-codec';
|
||||
import { Option } from '@polkadot/types-codec';
|
||||
import { isHex, isU8a, u8aEq, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { createClassUnsafe } from './class.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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Known type definitions",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,17 +18,17 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^11.1.3",
|
||||
"@polkadot/types": "10.3.4",
|
||||
"@polkadot/types-codec": "10.3.4",
|
||||
"@polkadot/types-create": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/networks": "^12.0.1",
|
||||
"@polkadot/types": "10.4.1",
|
||||
"@polkadot/types-codec": "10.4.1",
|
||||
"@polkadot/types-create": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "10.3.4"
|
||||
"@polkadot/api": "10.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Supporting files for types, mostly for testing",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-support#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,10 +18,10 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"tslib": "^2.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -162,7 +162,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 12,
|
||||
"value": 500
|
||||
"value": 499
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -183,7 +183,7 @@
|
||||
"name": "LastRuntimeUpgrade",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 501
|
||||
"plain": 500
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -217,7 +217,7 @@
|
||||
"name": "ExecutionPhase",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 498
|
||||
"plain": 497
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -235,7 +235,7 @@
|
||||
"constants": [
|
||||
{
|
||||
"name": "BlockWeights",
|
||||
"type": 503,
|
||||
"type": 502,
|
||||
"value": "0x070826719601000b00204aa9d10113ffffffffffffffff2285461900010bb82e8e90580113a3703d0ad7a370bd010b0098f73e5d0113ffffffffffffffbf0100002285461900010bb8b6e0facc0113a3703d0ad7a370fd010b00204aa9d10113ffffffffffffffff01070088526a741300000000000000402285461900000000",
|
||||
"docs": [
|
||||
" Block & extrinsics weights: base values and limits."
|
||||
@@ -243,7 +243,7 @@
|
||||
},
|
||||
{
|
||||
"name": "BlockLength",
|
||||
"type": 506,
|
||||
"type": 505,
|
||||
"value": "0x00003c000000500000005000",
|
||||
"docs": [
|
||||
" The maximum length of a block (in bytes)."
|
||||
@@ -259,7 +259,7 @@
|
||||
},
|
||||
{
|
||||
"name": "DbWeight",
|
||||
"type": 508,
|
||||
"type": 507,
|
||||
"value": "0x40787d010000000000e1f50500000000",
|
||||
"docs": [
|
||||
" The weight of runtime database operations the runtime can invoke."
|
||||
@@ -267,8 +267,8 @@
|
||||
},
|
||||
{
|
||||
"name": "Version",
|
||||
"type": 509,
|
||||
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000ae2400000000000044df6acb689907609b0400000037e397fc7c91f5e40200000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0400000049eaaf1b548a0cb00200000091d5df18b0d2cf5802000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a804000000f3ff14d5ab5270590300000017a6bc0d0062aeb30100000018ef58a3b67ba770010000001400000000",
|
||||
"type": 508,
|
||||
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000c22400000000000044df6acb689907609b0400000037e397fc7c91f5e40200000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0400000049eaaf1b548a0cb00200000091d5df18b0d2cf5802000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a804000000f3ff14d5ab5270590300000017a6bc0d0062aeb30100000018ef58a3b67ba770010000001500000000",
|
||||
"docs": [
|
||||
" Get the chain's current version."
|
||||
]
|
||||
@@ -287,7 +287,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 513
|
||||
"type": 512
|
||||
},
|
||||
"index": 0
|
||||
},
|
||||
@@ -311,7 +311,7 @@
|
||||
"name": "Authorities",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 514
|
||||
"plain": 513
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -387,7 +387,7 @@
|
||||
"name": "NextAuthorities",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 514
|
||||
"plain": 513
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -422,7 +422,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 517
|
||||
"value": 516
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -434,7 +434,7 @@
|
||||
"name": "Initialized",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 519
|
||||
"plain": 518
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -446,7 +446,7 @@
|
||||
"name": "AuthorVrfRandomness",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 467
|
||||
"plain": 466
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1425,7 +1425,7 @@
|
||||
"name": "BondedEras",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 500
|
||||
"plain": 499
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1689,7 +1689,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 572,
|
||||
"value": 499
|
||||
"value": 498
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2531,7 +2531,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 558,
|
||||
"value": 451
|
||||
"value": 450
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2560,7 +2560,7 @@
|
||||
"type": 143
|
||||
},
|
||||
"events": {
|
||||
"type": 450
|
||||
"type": 449
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -2666,7 +2666,7 @@
|
||||
"type": 144
|
||||
},
|
||||
"events": {
|
||||
"type": 453
|
||||
"type": 452
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -2744,7 +2744,7 @@
|
||||
"type": 145
|
||||
},
|
||||
"events": {
|
||||
"type": 454
|
||||
"type": 453
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -2841,7 +2841,7 @@
|
||||
"type": 146
|
||||
},
|
||||
"events": {
|
||||
"type": 459
|
||||
"type": 458
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -2863,7 +2863,7 @@
|
||||
"type": 155
|
||||
},
|
||||
"events": {
|
||||
"type": 460
|
||||
"type": 459
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -2963,7 +2963,7 @@
|
||||
"type": 157
|
||||
},
|
||||
"events": {
|
||||
"type": 462
|
||||
"type": 461
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3255,7 +3255,7 @@
|
||||
"type": 198
|
||||
},
|
||||
"events": {
|
||||
"type": 463
|
||||
"type": 462
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3406,7 +3406,7 @@
|
||||
"type": 200
|
||||
},
|
||||
"events": {
|
||||
"type": 464
|
||||
"type": 463
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3506,7 +3506,7 @@
|
||||
"type": 201
|
||||
},
|
||||
"events": {
|
||||
"type": 465
|
||||
"type": 464
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3586,7 +3586,7 @@
|
||||
"type": 203
|
||||
},
|
||||
"events": {
|
||||
"type": 466
|
||||
"type": 465
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3661,7 +3661,7 @@
|
||||
"type": 206
|
||||
},
|
||||
"events": {
|
||||
"type": 468
|
||||
"type": 467
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3760,7 +3760,7 @@
|
||||
"type": 209
|
||||
},
|
||||
"events": {
|
||||
"type": 469
|
||||
"type": 468
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3843,7 +3843,7 @@
|
||||
"type": 212
|
||||
},
|
||||
"events": {
|
||||
"type": 470
|
||||
"type": 469
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -3918,7 +3918,7 @@
|
||||
"type": 213
|
||||
},
|
||||
"events": {
|
||||
"type": 471
|
||||
"type": 470
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -4096,7 +4096,7 @@
|
||||
"type": 214
|
||||
},
|
||||
"events": {
|
||||
"type": 472
|
||||
"type": 471
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -4146,7 +4146,7 @@
|
||||
"name": "CurrentPhase",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 475
|
||||
"plain": 474
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -4281,7 +4281,7 @@
|
||||
"type": 215
|
||||
},
|
||||
"events": {
|
||||
"type": 473
|
||||
"type": 472
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -4533,7 +4533,7 @@
|
||||
"type": 301
|
||||
},
|
||||
"events": {
|
||||
"type": 477
|
||||
"type": 476
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -4789,7 +4789,7 @@
|
||||
"type": 304
|
||||
},
|
||||
"events": {
|
||||
"type": 478
|
||||
"type": 477
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -4906,7 +4906,7 @@
|
||||
"type": 305
|
||||
},
|
||||
"events": {
|
||||
"type": 479
|
||||
"type": 478
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -5256,7 +5256,7 @@
|
||||
"type": 306
|
||||
},
|
||||
"events": {
|
||||
"type": 480
|
||||
"type": 479
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -5362,7 +5362,7 @@
|
||||
"type": 317
|
||||
},
|
||||
"events": {
|
||||
"type": 481
|
||||
"type": 480
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -5558,7 +5558,7 @@
|
||||
"type": 326
|
||||
},
|
||||
"events": {
|
||||
"type": 482
|
||||
"type": 481
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -6069,7 +6069,7 @@
|
||||
"type": 361
|
||||
},
|
||||
"events": {
|
||||
"type": 486
|
||||
"type": 485
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -6178,12 +6178,27 @@
|
||||
" - `B`: is the relay-chain block number in which a message was appended.",
|
||||
" - `H(M)`: is the hash of the message being appended."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DeliveryFeeFactor",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"map": {
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 131,
|
||||
"value": 547
|
||||
}
|
||||
},
|
||||
"fallback": "0x000064a7b3b6e00d0000000000000000",
|
||||
"docs": [
|
||||
" The number to multiply the base delivery fee by."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 364
|
||||
},
|
||||
"calls": null,
|
||||
"events": null,
|
||||
"constants": [],
|
||||
"errors": null,
|
||||
@@ -6318,10 +6333,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 365
|
||||
"type": 364
|
||||
},
|
||||
"events": {
|
||||
"type": 487
|
||||
"type": 486
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -6342,7 +6357,7 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 367,
|
||||
"key": 366,
|
||||
"value": 793
|
||||
}
|
||||
},
|
||||
@@ -6411,7 +6426,7 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 367,
|
||||
"key": 366,
|
||||
"value": 81
|
||||
}
|
||||
},
|
||||
@@ -6462,7 +6477,7 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 367,
|
||||
"key": 366,
|
||||
"value": 795
|
||||
}
|
||||
},
|
||||
@@ -6525,7 +6540,7 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 367,
|
||||
"key": 366,
|
||||
"value": 796
|
||||
}
|
||||
},
|
||||
@@ -6560,10 +6575,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 366
|
||||
"type": 365
|
||||
},
|
||||
"events": {
|
||||
"type": 489
|
||||
"type": 488
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -6751,10 +6766,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 368
|
||||
"type": 367
|
||||
},
|
||||
"events": {
|
||||
"type": 490
|
||||
"type": 489
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -6805,7 +6820,7 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 369
|
||||
"type": 368
|
||||
},
|
||||
"events": null,
|
||||
"constants": [],
|
||||
@@ -6870,10 +6885,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 373
|
||||
"type": 372
|
||||
},
|
||||
"events": {
|
||||
"type": 493
|
||||
"type": 492
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -6939,10 +6954,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 374
|
||||
"type": 373
|
||||
},
|
||||
"events": {
|
||||
"type": 494
|
||||
"type": 493
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -7038,10 +7053,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 375
|
||||
"type": 374
|
||||
},
|
||||
"events": {
|
||||
"type": 495
|
||||
"type": 494
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -7139,10 +7154,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 377
|
||||
"type": 376
|
||||
},
|
||||
"events": {
|
||||
"type": 496
|
||||
"type": 495
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -7359,10 +7374,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 385
|
||||
"type": 384
|
||||
},
|
||||
"events": {
|
||||
"type": 497
|
||||
"type": 496
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ export default {
|
||||
"specName": "kusama",
|
||||
"implName": "parity-kusama",
|
||||
"authoringVersion": 2,
|
||||
"specVersion": 9390,
|
||||
"specVersion": 9410,
|
||||
"implVersion": 0,
|
||||
"apis": [
|
||||
[
|
||||
@@ -81,6 +81,6 @@ export default {
|
||||
1
|
||||
]
|
||||
],
|
||||
"transactionVersion": 20,
|
||||
"transactionVersion": 21,
|
||||
"stateVersion": 0
|
||||
};
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -162,7 +162,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 12,
|
||||
"value": 475
|
||||
"value": 474
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -183,7 +183,7 @@
|
||||
"name": "LastRuntimeUpgrade",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 476
|
||||
"plain": 475
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -217,7 +217,7 @@
|
||||
"name": "ExecutionPhase",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 473
|
||||
"plain": 472
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -235,7 +235,7 @@
|
||||
"constants": [
|
||||
{
|
||||
"name": "BlockWeights",
|
||||
"type": 478,
|
||||
"type": 477,
|
||||
"value": "0x0798483a6601000b00204aa9d10113ffffffffffffffffe24ce21800010bc83ca790580113a3703d0ad7a370bd010b0098f73e5d0113ffffffffffffffbf010000e24ce21800010bc8c4f9facc0113a3703d0ad7a370fd010b00204aa9d10113ffffffffffffffff01070088526a74130000000000000040e24ce21800000000",
|
||||
"docs": [
|
||||
" Block & extrinsics weights: base values and limits."
|
||||
@@ -243,7 +243,7 @@
|
||||
},
|
||||
{
|
||||
"name": "BlockLength",
|
||||
"type": 481,
|
||||
"type": 480,
|
||||
"value": "0x00003c000000500000005000",
|
||||
"docs": [
|
||||
" The maximum length of a block (in bytes)."
|
||||
@@ -259,7 +259,7 @@
|
||||
},
|
||||
{
|
||||
"name": "DbWeight",
|
||||
"type": 483,
|
||||
"type": 482,
|
||||
"value": "0x38ca38010000000098aaf90400000000",
|
||||
"docs": [
|
||||
" The weight of runtime database operations the runtime can invoke."
|
||||
@@ -267,8 +267,8 @@
|
||||
},
|
||||
{
|
||||
"name": "Version",
|
||||
"type": 484,
|
||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000ae2400000000000044df6acb689907609b0400000037e397fc7c91f5e40200000040fe3ad401f8959a0600000017a6bc0d0062aeb30100000018ef58a3b67ba77001000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0400000049eaaf1b548a0cb00200000091d5df18b0d2cf5802000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a804000000f3ff14d5ab527059030000001500000000",
|
||||
"type": 483,
|
||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000c22400000000000044df6acb689907609b0400000037e397fc7c91f5e40200000040fe3ad401f8959a0600000017a6bc0d0062aeb30100000018ef58a3b67ba77001000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0400000049eaaf1b548a0cb00200000091d5df18b0d2cf5802000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a804000000f3ff14d5ab527059030000001600000000",
|
||||
"docs": [
|
||||
" Get the chain's current version."
|
||||
]
|
||||
@@ -287,7 +287,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 488
|
||||
"type": 487
|
||||
},
|
||||
"index": 0
|
||||
},
|
||||
@@ -314,7 +314,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 489
|
||||
"value": 488
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -373,7 +373,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 493
|
||||
"type": 492
|
||||
},
|
||||
"index": 1
|
||||
},
|
||||
@@ -391,7 +391,7 @@
|
||||
"Identity"
|
||||
],
|
||||
"key": 12,
|
||||
"value": 494
|
||||
"value": 493
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -407,8 +407,8 @@
|
||||
"hashers": [
|
||||
"Identity"
|
||||
],
|
||||
"key": 496,
|
||||
"value": 497
|
||||
"key": 495,
|
||||
"value": 496
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -424,7 +424,7 @@
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 498
|
||||
"type": 497
|
||||
},
|
||||
"index": 10
|
||||
},
|
||||
@@ -448,7 +448,7 @@
|
||||
"name": "Authorities",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 499
|
||||
"plain": 498
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -524,7 +524,7 @@
|
||||
"name": "NextAuthorities",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 499
|
||||
"plain": 498
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -559,7 +559,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 502
|
||||
"value": 501
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -571,7 +571,7 @@
|
||||
"name": "Initialized",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 504
|
||||
"plain": 503
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1562,7 +1562,7 @@
|
||||
"name": "BondedEras",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 475
|
||||
"plain": 474
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1826,7 +1826,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 552,
|
||||
"value": 474
|
||||
"value": 473
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2627,7 +2627,16 @@
|
||||
"events": {
|
||||
"type": 68
|
||||
},
|
||||
"constants": [],
|
||||
"constants": [
|
||||
{
|
||||
"name": "MaxProposalWeight",
|
||||
"type": 9,
|
||||
"value": "0x070010a5d4e813ffffffffffffff7f",
|
||||
"docs": [
|
||||
" The maximum weight of a dispatch call that can be proposed and executed."
|
||||
]
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 589
|
||||
},
|
||||
@@ -2724,7 +2733,16 @@
|
||||
"events": {
|
||||
"type": 69
|
||||
},
|
||||
"constants": [],
|
||||
"constants": [
|
||||
{
|
||||
"name": "MaxProposalWeight",
|
||||
"type": 9,
|
||||
"value": "0x070010a5d4e813ffffffffffffff7f",
|
||||
"docs": [
|
||||
" The maximum weight of a dispatch call that can be proposed and executed."
|
||||
]
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 591
|
||||
},
|
||||
@@ -3347,7 +3365,7 @@
|
||||
"type": 173
|
||||
},
|
||||
"events": {
|
||||
"type": 436
|
||||
"type": 435
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -3444,7 +3462,7 @@
|
||||
"type": 174
|
||||
},
|
||||
"events": {
|
||||
"type": 441
|
||||
"type": 440
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3500,7 +3518,7 @@
|
||||
"type": 182
|
||||
},
|
||||
"events": {
|
||||
"type": 442
|
||||
"type": 441
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3530,7 +3548,7 @@
|
||||
"type": 184
|
||||
},
|
||||
"events": {
|
||||
"type": 443
|
||||
"type": 442
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3630,7 +3648,7 @@
|
||||
"type": 186
|
||||
},
|
||||
"events": {
|
||||
"type": 444
|
||||
"type": 443
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3737,7 +3755,7 @@
|
||||
"type": 227
|
||||
},
|
||||
"events": {
|
||||
"type": 445
|
||||
"type": 444
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3836,7 +3854,7 @@
|
||||
"type": 230
|
||||
},
|
||||
"events": {
|
||||
"type": 446
|
||||
"type": 445
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -3943,7 +3961,7 @@
|
||||
"type": 233
|
||||
},
|
||||
"events": {
|
||||
"type": 447
|
||||
"type": 446
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -4121,7 +4139,7 @@
|
||||
"type": 234
|
||||
},
|
||||
"events": {
|
||||
"type": 448
|
||||
"type": 447
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -4194,7 +4212,7 @@
|
||||
"type": 235
|
||||
},
|
||||
"events": {
|
||||
"type": 449
|
||||
"type": 448
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -4270,7 +4288,7 @@
|
||||
"name": "CurrentPhase",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 452
|
||||
"plain": 451
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -4405,7 +4423,7 @@
|
||||
"type": 236
|
||||
},
|
||||
"events": {
|
||||
"type": 450
|
||||
"type": 449
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -4646,7 +4664,7 @@
|
||||
"type": 295
|
||||
},
|
||||
"events": {
|
||||
"type": 454
|
||||
"type": 453
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -4996,7 +5014,7 @@
|
||||
"type": 296
|
||||
},
|
||||
"events": {
|
||||
"type": 455
|
||||
"type": 454
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -5102,7 +5120,7 @@
|
||||
"type": 307
|
||||
},
|
||||
"events": {
|
||||
"type": 456
|
||||
"type": 455
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -5298,7 +5316,7 @@
|
||||
"type": 316
|
||||
},
|
||||
"events": {
|
||||
"type": 457
|
||||
"type": 456
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -5809,7 +5827,7 @@
|
||||
"type": 351
|
||||
},
|
||||
"events": {
|
||||
"type": 461
|
||||
"type": 460
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -5918,12 +5936,27 @@
|
||||
" - `B`: is the relay-chain block number in which a message was appended.",
|
||||
" - `H(M)`: is the hash of the message being appended."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DeliveryFeeFactor",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"map": {
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 162,
|
||||
"value": 527
|
||||
}
|
||||
},
|
||||
"fallback": "0x000064a7b3b6e00d0000000000000000",
|
||||
"docs": [
|
||||
" The number to multiply the base delivery fee by."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 354
|
||||
},
|
||||
"calls": null,
|
||||
"events": null,
|
||||
"constants": [],
|
||||
"errors": null,
|
||||
@@ -6058,10 +6091,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 355
|
||||
"type": 354
|
||||
},
|
||||
"events": {
|
||||
"type": 462
|
||||
"type": 461
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -6082,7 +6115,7 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 357,
|
||||
"key": 356,
|
||||
"value": 760
|
||||
}
|
||||
},
|
||||
@@ -6151,7 +6184,7 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 357,
|
||||
"key": 356,
|
||||
"value": 34
|
||||
}
|
||||
},
|
||||
@@ -6202,7 +6235,7 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 357,
|
||||
"key": 356,
|
||||
"value": 762
|
||||
}
|
||||
},
|
||||
@@ -6265,7 +6298,7 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 357,
|
||||
"key": 356,
|
||||
"value": 763
|
||||
}
|
||||
},
|
||||
@@ -6300,10 +6333,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 356
|
||||
"type": 355
|
||||
},
|
||||
"events": {
|
||||
"type": 464
|
||||
"type": 463
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -6491,10 +6524,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 358
|
||||
"type": 357
|
||||
},
|
||||
"events": {
|
||||
"type": 465
|
||||
"type": 464
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -6558,10 +6591,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 359
|
||||
"type": 358
|
||||
},
|
||||
"events": {
|
||||
"type": 468
|
||||
"type": 467
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -6627,10 +6660,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 360
|
||||
"type": 359
|
||||
},
|
||||
"events": {
|
||||
"type": 469
|
||||
"type": 468
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -6726,10 +6759,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 361
|
||||
"type": 360
|
||||
},
|
||||
"events": {
|
||||
"type": 470
|
||||
"type": 469
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -6827,10 +6860,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 363
|
||||
"type": 362
|
||||
},
|
||||
"events": {
|
||||
"type": 471
|
||||
"type": 470
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -7047,10 +7080,10 @@
|
||||
]
|
||||
},
|
||||
"calls": {
|
||||
"type": 371
|
||||
"type": 370
|
||||
},
|
||||
"events": {
|
||||
"type": 472
|
||||
"type": 471
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ export default {
|
||||
"specName": "polkadot",
|
||||
"implName": "parity-polkadot",
|
||||
"authoringVersion": 0,
|
||||
"specVersion": 9390,
|
||||
"specVersion": 9410,
|
||||
"implVersion": 0,
|
||||
"apis": [
|
||||
[
|
||||
@@ -81,6 +81,6 @@ export default {
|
||||
3
|
||||
]
|
||||
],
|
||||
"transactionVersion": 21,
|
||||
"transactionVersion": 22,
|
||||
"stateVersion": 0
|
||||
};
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.3.4' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.4.1' };
|
||||
|
||||
+10
-10
@@ -3,7 +3,7 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"description": "Implementation of the Parity codec",
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
|
||||
"license": "Apache-2.0",
|
||||
@@ -18,20 +18,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.3.4",
|
||||
"version": "10.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^11.1.3",
|
||||
"@polkadot/types-augment": "10.3.4",
|
||||
"@polkadot/types-codec": "10.3.4",
|
||||
"@polkadot/types-create": "10.3.4",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/util-crypto": "^11.1.3",
|
||||
"@polkadot/keyring": "^12.0.1",
|
||||
"@polkadot/types-augment": "10.4.1",
|
||||
"@polkadot/types-codec": "10.4.1",
|
||||
"@polkadot/types-create": "10.4.1",
|
||||
"@polkadot/util": "^12.0.1",
|
||||
"@polkadot/util-crypto": "^12.0.1",
|
||||
"rxjs": "^7.8.0",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^11.1.3",
|
||||
"@polkadot/types-support": "10.3.4"
|
||||
"@polkadot/keyring": "^12.0.1",
|
||||
"@polkadot/types-support": "10.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
import { CodecSet, Int } from '@polkadot/types-codec';
|
||||
import type { CodecSet } from '@polkadot/types-codec';
|
||||
|
||||
import { Int } from '@polkadot/types-codec';
|
||||
|
||||
import { createClass, TypeRegistry } from './index.js';
|
||||
|
||||
|
||||
@@ -566,7 +566,7 @@ export class TypeRegistry implements Registry {
|
||||
};
|
||||
|
||||
// sets the metadata
|
||||
public setMetadata (metadata: Metadata, signedExtensions?: string[], userExtensions?: ExtDef): void {
|
||||
public setMetadata (metadata: Metadata, signedExtensions?: string[], userExtensions?: ExtDef, noInitWarn?: boolean): void {
|
||||
this.#metadata = metadata.asLatest;
|
||||
this.#metadataVersion = metadata.version;
|
||||
this.#firstCallIndex = null;
|
||||
@@ -602,7 +602,8 @@ export class TypeRegistry implements Registry {
|
||||
? this.#metadata.extrinsic.signedExtensions.map(({ identifier }) => identifier.toString())
|
||||
: fallbackExtensions
|
||||
),
|
||||
userExtensions
|
||||
userExtensions,
|
||||
noInitWarn
|
||||
);
|
||||
|
||||
// setup the chain properties with format overrides
|
||||
@@ -612,14 +613,16 @@ export class TypeRegistry implements Registry {
|
||||
}
|
||||
|
||||
// sets the available signed extensions
|
||||
setSignedExtensions (signedExtensions: string[] = fallbackExtensions, userExtensions?: ExtDef): void {
|
||||
setSignedExtensions (signedExtensions: string[] = fallbackExtensions, userExtensions?: ExtDef, noInitWarn?: boolean): void {
|
||||
this.#signedExtensions = signedExtensions;
|
||||
this.#userExtensions = userExtensions;
|
||||
|
||||
const unknown = findUnknownExtensions(this.#signedExtensions, this.#userExtensions);
|
||||
if (!noInitWarn) {
|
||||
const unknown = findUnknownExtensions(this.#signedExtensions, this.#userExtensions);
|
||||
|
||||
if (unknown.length) {
|
||||
l.warn(`Unknown signed extensions ${unknown.join(', ')} found, treating them as no-effect`);
|
||||
if (unknown.length) {
|
||||
l.warn(`Unknown signed extensions ${unknown.join(', ')} found, treating them as no-effect`);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||
|
||||
import type { GenericEthereumAccountId as AccountId } from './AccountId.js';
|
||||
|
||||
import { Raw } from '@polkadot/types-codec';
|
||||
|
||||
import { TypeRegistry } from '../create/index.js';
|
||||
import { GenericEthereumAccountId as AccountId } from './AccountId.js';
|
||||
|
||||
describe('EthereumAccountId', (): void => {
|
||||
const registry = new TypeRegistry();
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
import type { GenericAccountIndex as AccountIndex } from '../generic/index.js';
|
||||
import type { GenericEthereumAccountId as AccountId, GenericEthereumLookupSource as Address } from './index.js';
|
||||
|
||||
import { TypeRegistry } from '../create/index.js';
|
||||
import { GenericAccountIndex as AccountIndex } from '../generic/index.js';
|
||||
import { GenericEthereumAccountId as AccountId, GenericEthereumLookupSource as Address } from './index.js';
|
||||
|
||||
describe('EthereumLookupSource', (): void => {
|
||||
const registry = new TypeRegistry();
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
// Copyright 2017-2023 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Bytes } from '@polkadot/types-codec';
|
||||
import type { AnyJson, BareOpts, Registry } from '@polkadot/types-codec/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { BlockHash } from '../interfaces/chain/index.js';
|
||||
import type { ExtrinsicPayloadV4 } from '../interfaces/extrinsics/index.js';
|
||||
import type { ExtrinsicPayloadValue, ICompact, IKeyringPair, INumber } from '../types/index.js';
|
||||
import type { GenericExtrinsicEra } from './ExtrinsicEra.js';
|
||||
|
||||
import { AbstractBase, Bytes } from '@polkadot/types-codec';
|
||||
import { AbstractBase } from '@polkadot/types-codec';
|
||||
import { u8aToHex } from '@polkadot/util';
|
||||
|
||||
import { DEFAULT_VERSION } from './constants.js';
|
||||
import { GenericExtrinsicEra } from './ExtrinsicEra.js';
|
||||
|
||||
interface ExtrinsicPayloadOptions {
|
||||
version?: number;
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
// Copyright 2017-2023 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Text, Vec } from '@polkadot/types-codec';
|
||||
import type { Registry } from '@polkadot/types-codec/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { Address, BlockHash, Call, ExtrinsicEra, Hash } from '../interfaces/index.js';
|
||||
import type { Codec, ICompact, INumber, IRuntimeVersion, ISignerPayload, SignerPayloadJSON, SignerPayloadRaw } from '../types/index.js';
|
||||
|
||||
import { Option, Struct, Text, Vec } from '@polkadot/types-codec';
|
||||
import { Option, Struct } from '@polkadot/types-codec';
|
||||
import { objectProperty, objectSpread, u8aToHex } from '@polkadot/util';
|
||||
|
||||
export interface SignerPayloadType extends Codec {
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { SignOptions } from '@polkadot/keyring/types';
|
||||
import type { Bytes } from '@polkadot/types-codec';
|
||||
import type { Inspect, Registry } from '@polkadot/types-codec/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { BlockHash } from '../../interfaces/chain/index.js';
|
||||
import type { ExtrinsicEra } from '../../interfaces/extrinsics/index.js';
|
||||
import type { ExtrinsicPayloadValue, ICompact, IKeyringPair, INumber, IOption } from '../../types/index.js';
|
||||
|
||||
import { Bytes, Enum, Struct } from '@polkadot/types-codec';
|
||||
import { Enum, Struct } from '@polkadot/types-codec';
|
||||
import { objectSpread } from '@polkadot/util';
|
||||
|
||||
import { sign } from '../util.js';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
// Copyright 2017-2023 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Option, Text, u32, Vec } from '@polkadot/types-codec';
|
||||
import type { Registry } from '@polkadot/types-codec/types';
|
||||
import type { Codec } from '../types/index.js';
|
||||
|
||||
import { Json, Option, Text, u32, Vec } from '@polkadot/types-codec';
|
||||
import { Json } from '@polkadot/types-codec';
|
||||
import { isFunction, isNull, isUndefined } from '@polkadot/util';
|
||||
|
||||
function createValue (registry: Registry, type: string, value: unknown, asArray = true): Option<Codec> {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user