Compare commits

..
7 Commits
Author SHA1 Message Date
Github Actions 3cdf3065d7 [CI Skip] release/stable 5.8.3
skip-checks: true
2021-09-06 12:43:42 +00:00
Jaco 973b1fcffb 5.8.3 (#3935) 2021-09-06 14:32:02 +02:00
Github Actions 4195833d6f [CI Skip] release/stable 5.8.2
skip-checks: true
2021-09-06 09:21:36 +00:00
Jaco 8f4e62c278 5.8.2 (#3934) 2021-09-06 11:10:32 +02:00
Jaco 2c294af116 Kusama MultiLocation to v0 (#3933) 2021-09-06 10:57:53 +02:00
Github Actions 0f1f3b88b2 [CI Skip] release/beta 5.8.2-0
skip-checks: true
2021-09-06 08:52:15 +00:00
Alexander Popiak 56b7697dda Version Junction and MultiLocation Types (#3932)
* version Junction and MultiLocation types

* single quotes
2021-09-06 10:39:47 +02:00
32 changed files with 271 additions and 134 deletions
+3 -1
View File
@@ -26,4 +26,6 @@
4.16.2
5.3.2
5.5.2
5.5.2
5.8.2
5.8.3
+22
View File
@@ -1,5 +1,27 @@
# CHANGELOG
## 5.8.3 Sep 6, 2021
Upgrade priority: Low.
Changes:
- Adjust Statemint, Rococo and Westend Xcm overrides
## 5.8.2 Sep 6, 2021
Upgrade priority: Low.
Contributed:
- Correct Xcm V1 `MultiLocation` definitions (Thanks to https://github.com/apopiak)
Changes:
- Adjust Kusama Xcm overrides
## 5.8.1 Sep 6, 2021
Upgrade priority: Low.
+1 -1
View File
@@ -35,6 +35,6 @@
"@types/jest": "^27.0.1",
"copyfiles": "^2.4.1"
},
"version": "5.8.1",
"version": "5.8.3",
"packageManager": "yarn@3.0.1"
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-contract",
"version": "5.8.1",
"version": "5.8.3",
"type": "module",
"description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js",
@@ -20,8 +20,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api": "5.8.1",
"@polkadot/types": "5.8.1",
"@polkadot/api": "5.8.3",
"@polkadot/types": "5.8.3",
"@polkadot/util": "^7.3.1",
"rxjs": "^7.3.0"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api-contract', version: '5.8.1' };
export const packageInfo = { name: '@polkadot/api-contract', version: '5.8.3' };
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "5.8.1",
"version": "5.8.3",
"type": "module",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
@@ -20,15 +20,15 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api": "5.8.1",
"@polkadot/rpc-core": "5.8.1",
"@polkadot/types": "5.8.1",
"@polkadot/api": "5.8.3",
"@polkadot/rpc-core": "5.8.3",
"@polkadot/types": "5.8.3",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"rxjs": "^7.3.0"
},
"devDependencies": {
"@polkadot/keyring": "^7.3.1",
"@polkadot/rpc-provider": "5.8.1"
"@polkadot/rpc-provider": "5.8.3"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api-derive', version: '5.8.1' };
export const packageInfo = { name: '@polkadot/api-derive', version: '5.8.3' };
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "5.8.1",
"version": "5.8.3",
"type": "module",
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js",
@@ -20,12 +20,12 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api-derive": "5.8.1",
"@polkadot/api-derive": "5.8.3",
"@polkadot/keyring": "^7.3.1",
"@polkadot/rpc-core": "5.8.1",
"@polkadot/rpc-provider": "5.8.1",
"@polkadot/types": "5.8.1",
"@polkadot/types-known": "5.8.1",
"@polkadot/rpc-core": "5.8.3",
"@polkadot/rpc-provider": "5.8.3",
"@polkadot/types": "5.8.3",
"@polkadot/types-known": "5.8.3",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"eventemitter3": "^4.0.7",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api', version: '5.8.1' };
export const packageInfo = { name: '@polkadot/api', version: '5.8.3' };
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "5.8.1",
"version": "5.8.3",
"type": "module",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
@@ -20,8 +20,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/rpc-provider": "5.8.1",
"@polkadot/types": "5.8.1",
"@polkadot/rpc-provider": "5.8.3",
"@polkadot/types": "5.8.3",
"@polkadot/util": "^7.3.1",
"rxjs": "^7.3.0"
},
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/rpc-core', version: '5.8.1' };
export const packageInfo = { name: '@polkadot/rpc-core', version: '5.8.3' };
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "5.8.1",
"version": "5.8.3",
"type": "module",
"description": "Transport providers for the API",
"main": "index.js",
@@ -20,7 +20,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/types": "5.8.1",
"@polkadot/types": "5.8.3",
"@polkadot/util": "^7.3.1",
"@polkadot/util-crypto": "^7.3.1",
"@polkadot/x-fetch": "^7.3.1",
@@ -30,7 +30,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^7.3.1",
"@polkadot/types": "5.8.1",
"@polkadot/types": "5.8.3",
"mock-socket": "^9.0.3",
"nock": "^13.1.3"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/rpc-provider', version: '5.8.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', version: '5.8.3' };
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/typegen",
"version": "5.8.1",
"version": "5.8.3",
"type": "module",
"description": "Type generation scripts",
"main": "index.js",
@@ -29,10 +29,10 @@
"@babel/core": "^7.15.5",
"@babel/register": "^7.15.3",
"@babel/runtime": "^7.15.4",
"@polkadot/api": "5.8.1",
"@polkadot/rpc-provider": "5.8.1",
"@polkadot/types": "5.8.1",
"@polkadot/types-support": "5.8.1",
"@polkadot/api": "5.8.3",
"@polkadot/rpc-provider": "5.8.3",
"@polkadot/types": "5.8.3",
"@polkadot/types-support": "5.8.3",
"@polkadot/util": "^7.3.1",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/typegen', version: '5.8.1' };
export const packageInfo = { name: '@polkadot/typegen', version: '5.8.3' };
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-known",
"version": "5.8.1",
"version": "5.8.3",
"type": "module",
"description": "Known type definitions",
"main": "index.js",
@@ -21,7 +21,7 @@
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/networks": "^7.3.1",
"@polkadot/types": "5.8.1",
"@polkadot/types": "5.8.3",
"@polkadot/util": "^7.3.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types-known', version: '5.8.1' };
export const packageInfo = { name: '@polkadot/types-known', version: '5.8.3' };
+1
View File
@@ -195,6 +195,7 @@ const versioned: OverrideVersionedType[] = [
...sharedTypes,
AssetInstance: 'AssetInstanceV0',
MultiAsset: 'MultiAssetV0',
MultiLocation: 'MultiLocationV0',
Response: 'ResponseV0',
Xcm: 'XcmV0',
XcmOrder: 'XcmOrderV0'
+1
View File
@@ -43,6 +43,7 @@ const versioned: OverrideVersionedType[] = [
...sharedTypes,
AssetInstance: 'AssetInstanceV0',
MultiAsset: 'MultiAssetV0',
MultiLocation: 'MultiLocationV0',
Response: 'ResponseV0',
Xcm: 'XcmV0',
XcmOrder: 'XcmOrderV0'
@@ -24,6 +24,7 @@ const versioned: OverrideVersionedType[] = [
},
AssetInstance: 'AssetInstanceV0',
MultiAsset: 'MultiAssetV0',
MultiLocation: 'MultiLocationV0',
Response: 'ResponseV0',
Xcm: 'XcmV0',
XcmOrder: 'XcmOrderV0'
+1
View File
@@ -94,6 +94,7 @@ const versioned: OverrideVersionedType[] = [
...sharedTypes,
AssetInstance: 'AssetInstanceV0',
MultiAsset: 'MultiAssetV0',
MultiLocation: 'MultiLocationV0',
Response: 'ResponseV0',
Xcm: 'XcmV0',
XcmOrder: 'XcmOrderV0'
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-support",
"version": "5.8.1",
"version": "5.8.3",
"type": "module",
"description": "Supporting files for types, mostly for testing",
"main": "index.js",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types-support', version: '5.8.1' };
export const packageInfo = { name: '@polkadot/types-support', version: '5.8.3' };
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "5.8.1",
"version": "5.8.3",
"type": "module",
"description": "Implementation of the Parity codec",
"main": "index.js",
@@ -26,7 +26,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^7.3.1",
"@polkadot/types-support": "5.8.1",
"@polkadot/types-support": "5.8.3",
"@types/bn.js": "^4.11.6",
"bn.js": "^4.12.0"
}
+6 -1
View File
@@ -57,7 +57,7 @@ import type { Multiplier } from '@polkadot/types/interfaces/txpayment';
import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';
import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
import type { VestingInfo } from '@polkadot/types/interfaces/vesting';
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, BodyId, BodyPart, DoubleEncodedCall, Fungibility, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, Junctions, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildMultiAsset, WildMultiAssetV1, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, BodyId, BodyPart, DoubleEncodedCall, Fungibility, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildMultiAsset, WildMultiAssetV1, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
declare module '@polkadot/types/types/registry' {
export interface InterfaceTypes {
@@ -484,6 +484,11 @@ declare module '@polkadot/types/types/registry' {
Json: Json;
Junction: Junction;
Junctions: Junctions;
JunctionsV1: JunctionsV1;
JunctionsV2: JunctionsV2;
JunctionV0: JunctionV0;
JunctionV1: JunctionV1;
JunctionV2: JunctionV2;
Justification: Justification;
JustificationNotification: JustificationNotification;
Justifications: Justifications;
@@ -81,46 +81,9 @@ const location = {
}
},
InteriorMultiLocation: 'Junctions',
Junctions: {
_enum: {
Here: 'Null',
X1: 'Junction',
X2: '(Junction, Junction)',
X3: '(Junction, Junction, Junction)',
X4: '(Junction, Junction, Junction, Junction)',
X5: '(Junction, Junction, Junction, Junction, Junction)',
X6: '(Junction, Junction, Junction, Junction, Junction, Junction)',
X7: '(Junction, Junction, Junction, Junction, Junction, Junction, Junction)',
X8: '(Junction, Junction, Junction, Junction, Junction, Junction, Junction, Junction)'
}
},
Junction: {
_enum: {
Parent: 'Null',
Parachain: 'Compact<u32>',
AccountId32: {
network: 'NetworkId',
id: 'AccountId'
},
AccountIndex64: {
network: 'NetworkId',
index: 'Compact<u64>'
},
AccountKey20: {
network: 'NetworkId',
key: '[u8; 20]'
},
PalletInstance: 'u8',
GeneralIndex: 'Compact<u128>',
GeneralKey: 'Vec<u8>',
OnlyChild: 'Null',
Plurality: {
id: 'BodyId',
part: 'BodyPart'
}
}
},
MultiLocation: 'Junctions',
Junction: 'JunctionV1',
Junctions: 'JunctionsV1',
MultiLocation: 'MultiLocationV1',
NetworkId: {
_enum: {
Any: 'Null',
+86 -23
View File
@@ -221,7 +221,37 @@ export interface InstructionV2 extends Enum {
export interface InteriorMultiLocation extends Junctions {}
/** @name Junction */
export interface Junction extends Enum {
export interface Junction extends JunctionV1 {}
/** @name Junctions */
export interface Junctions extends JunctionsV1 {}
/** @name JunctionsV1 */
export interface JunctionsV1 extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
readonly asX1: JunctionV1;
readonly isX2: boolean;
readonly asX2: ITuple<[JunctionV1, JunctionV1]>;
readonly isX3: boolean;
readonly asX3: ITuple<[JunctionV1, JunctionV1, JunctionV1]>;
readonly isX4: boolean;
readonly asX4: ITuple<[JunctionV1, JunctionV1, JunctionV1, JunctionV1]>;
readonly isX5: boolean;
readonly asX5: ITuple<[JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1]>;
readonly isX6: boolean;
readonly asX6: ITuple<[JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1]>;
readonly isX7: boolean;
readonly asX7: ITuple<[JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1]>;
readonly isX8: boolean;
readonly asX8: ITuple<[JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1]>;
}
/** @name JunctionsV2 */
export interface JunctionsV2 extends JunctionsV1 {}
/** @name JunctionV0 */
export interface JunctionV0 extends Enum {
readonly isParent: boolean;
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
@@ -254,27 +284,42 @@ export interface Junction extends Enum {
} & Struct;
}
/** @name Junctions */
export interface Junctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
readonly asX1: Junction;
readonly isX2: boolean;
readonly asX2: ITuple<[Junction, Junction]>;
readonly isX3: boolean;
readonly asX3: ITuple<[Junction, Junction, Junction]>;
readonly isX4: boolean;
readonly asX4: ITuple<[Junction, Junction, Junction, Junction]>;
readonly isX5: boolean;
readonly asX5: ITuple<[Junction, Junction, Junction, Junction, Junction]>;
readonly isX6: boolean;
readonly asX6: ITuple<[Junction, Junction, Junction, Junction, Junction, Junction]>;
readonly isX7: boolean;
readonly asX7: ITuple<[Junction, Junction, Junction, Junction, Junction, Junction, Junction]>;
readonly isX8: boolean;
readonly asX8: ITuple<[Junction, Junction, Junction, Junction, Junction, Junction, Junction, Junction]>;
/** @name JunctionV1 */
export interface JunctionV1 extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
readonly asAccountId32: {
readonly network: NetworkId;
readonly id: AccountId;
} & Struct;
readonly isAccountIndex64: boolean;
readonly asAccountIndex64: {
readonly network: NetworkId;
readonly index: Compact<u64>;
} & Struct;
readonly isAccountKey20: boolean;
readonly asAccountKey20: {
readonly network: NetworkId;
readonly key: U8aFixed;
} & Struct;
readonly isPalletInstance: boolean;
readonly asPalletInstance: u8;
readonly isGeneralIndex: boolean;
readonly asGeneralIndex: Compact<u128>;
readonly isGeneralKey: boolean;
readonly asGeneralKey: Bytes;
readonly isOnlyChild: boolean;
readonly isPlurality: boolean;
readonly asPlurality: {
readonly id: BodyId;
readonly part: BodyPart;
} & Struct;
}
/** @name JunctionV2 */
export interface JunctionV2 extends JunctionV1 {}
/** @name MultiAsset */
export interface MultiAsset extends MultiAssetV1 {}
@@ -347,15 +392,33 @@ export interface MultiAssetV1 extends Struct {
export interface MultiAssetV2 extends MultiAssetV1 {}
/** @name MultiLocation */
export interface MultiLocation extends Junctions {}
export interface MultiLocation extends MultiLocationV1 {}
/** @name MultiLocationV0 */
export interface MultiLocationV0 extends MultiLocation {}
export interface MultiLocationV0 extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
readonly asX1: JunctionV0;
readonly isX2: boolean;
readonly asX2: ITuple<[JunctionV0, JunctionV0]>;
readonly isX3: boolean;
readonly asX3: ITuple<[JunctionV0, JunctionV0, JunctionV0]>;
readonly isX4: boolean;
readonly asX4: ITuple<[JunctionV0, JunctionV0, JunctionV0, JunctionV0]>;
readonly isX5: boolean;
readonly asX5: ITuple<[JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0]>;
readonly isX6: boolean;
readonly asX6: ITuple<[JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0]>;
readonly isX7: boolean;
readonly asX7: ITuple<[JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0]>;
readonly isX8: boolean;
readonly asX8: ITuple<[JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0]>;
}
/** @name MultiLocationV1 */
export interface MultiLocationV1 extends Struct {
readonly parents: u8;
readonly interior: Junctions;
readonly interior: JunctionsV1;
}
/** @name MultiLocationV2 */
+39 -1
View File
@@ -22,6 +22,32 @@ export const v0: DefinitionsTypes = {
Blob: 'Vec<u8>'
}
},
JunctionV0: {
_enum: {
Parent: 'Null',
Parachain: 'Compact<u32>',
AccountId32: {
network: 'NetworkId',
id: 'AccountId'
},
AccountIndex64: {
network: 'NetworkId',
index: 'Compact<u64>'
},
AccountKey20: {
network: 'NetworkId',
key: '[u8; 20]'
},
PalletInstance: 'u8',
GeneralIndex: 'Compact<u128>',
GeneralKey: 'Vec<u8>',
OnlyChild: 'Null',
Plurality: {
id: 'BodyId',
part: 'BodyPart'
}
}
},
MultiAssetV0: {
_enum: {
None: 'Null',
@@ -50,7 +76,19 @@ export const v0: DefinitionsTypes = {
}
}
},
MultiLocationV0: 'MultiLocation',
MultiLocationV0: {
_enum: {
Here: 'Null',
X1: 'JunctionV0',
X2: '(JunctionV0, JunctionV0)',
X3: '(JunctionV0, JunctionV0, JunctionV0)',
X4: '(JunctionV0, JunctionV0, JunctionV0, JunctionV0)',
X5: '(JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0)',
X6: '(JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0)',
X7: '(JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0)',
X8: '(JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0, JunctionV0)'
}
},
OriginKindV0: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
},
+39 -1
View File
@@ -18,6 +18,44 @@ export const v1: DefinitionsTypes = {
Blob: 'Bytes'
}
},
JunctionV1: {
_enum: {
Parachain: 'Compact<u32>',
AccountId32: {
network: 'NetworkId',
id: 'AccountId'
},
AccountIndex64: {
network: 'NetworkId',
index: 'Compact<u64>'
},
AccountKey20: {
network: 'NetworkId',
key: '[u8; 20]'
},
PalletInstance: 'u8',
GeneralIndex: 'Compact<u128>',
GeneralKey: 'Vec<u8>',
OnlyChild: 'Null',
Plurality: {
id: 'BodyId',
part: 'BodyPart'
}
}
},
JunctionsV1: {
_enum: {
Here: 'Null',
X1: 'JunctionV1',
X2: '(JunctionV1, JunctionV1)',
X3: '(JunctionV1, JunctionV1, JunctionV1)',
X4: '(JunctionV1, JunctionV1, JunctionV1, JunctionV1)',
X5: '(JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1)',
X6: '(JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1)',
X7: '(JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1)',
X8: '(JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1, JunctionV1)'
}
},
MultiAssetsV1: 'Vec<MultiAssetV1>',
MultiAssetV1: {
id: 'XcmAssetId',
@@ -31,7 +69,7 @@ export const v1: DefinitionsTypes = {
},
MultiLocationV1: {
parents: 'u8',
interior: 'Junctions'
interior: 'JunctionsV1'
},
OriginKindV1: 'OriginKindV0',
ResponseV1: {
+2
View File
@@ -7,6 +7,8 @@
import type { DefinitionsTypes } from '../../types';
export const v2: DefinitionsTypes = {
JunctionV2: 'JunctionV1',
JunctionsV2: 'JunctionsV1',
MultiAssetsV2: 'MultiAssetsV1',
MultiAssetV2: 'MultiAssetV1',
MultiAssetFilterV2: 'MultiAssetFilterV1',
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types', version: '5.8.1' };
export const packageInfo = { name: '@polkadot/types', version: '5.8.3' };
+27 -27
View File
@@ -1854,40 +1854,40 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/api": 5.8.1
"@polkadot/types": 5.8.1
"@polkadot/api": 5.8.3
"@polkadot/types": 5.8.3
"@polkadot/util": ^7.3.1
rxjs: ^7.3.0
languageName: unknown
linkType: soft
"@polkadot/api-derive@5.8.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@5.8.3, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/api": 5.8.1
"@polkadot/api": 5.8.3
"@polkadot/keyring": ^7.3.1
"@polkadot/rpc-core": 5.8.1
"@polkadot/rpc-provider": 5.8.1
"@polkadot/types": 5.8.1
"@polkadot/rpc-core": 5.8.3
"@polkadot/rpc-provider": 5.8.3
"@polkadot/types": 5.8.3
"@polkadot/util": ^7.3.1
"@polkadot/util-crypto": ^7.3.1
rxjs: ^7.3.0
languageName: unknown
linkType: soft
"@polkadot/api@5.8.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@5.8.3, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/api-derive": 5.8.1
"@polkadot/api-derive": 5.8.3
"@polkadot/keyring": ^7.3.1
"@polkadot/rpc-core": 5.8.1
"@polkadot/rpc-provider": 5.8.1
"@polkadot/types": 5.8.1
"@polkadot/types-known": 5.8.1
"@polkadot/rpc-core": 5.8.3
"@polkadot/rpc-provider": 5.8.3
"@polkadot/types": 5.8.3
"@polkadot/types-known": 5.8.3
"@polkadot/util": ^7.3.1
"@polkadot/util-crypto": ^7.3.1
eventemitter3: ^4.0.7
@@ -2012,26 +2012,26 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-core@5.8.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@5.8.3, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/keyring": ^7.3.1
"@polkadot/rpc-provider": 5.8.1
"@polkadot/types": 5.8.1
"@polkadot/rpc-provider": 5.8.3
"@polkadot/types": 5.8.3
"@polkadot/util": ^7.3.1
rxjs: ^7.3.0
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@5.8.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@5.8.3, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/keyring": ^7.3.1
"@polkadot/types": 5.8.1
"@polkadot/types": 5.8.3
"@polkadot/util": ^7.3.1
"@polkadot/util-crypto": ^7.3.1
"@polkadot/x-fetch": ^7.3.1
@@ -2059,10 +2059,10 @@ __metadata:
"@babel/core": ^7.15.5
"@babel/register": ^7.15.3
"@babel/runtime": ^7.15.4
"@polkadot/api": 5.8.1
"@polkadot/rpc-provider": 5.8.1
"@polkadot/types": 5.8.1
"@polkadot/types-support": 5.8.1
"@polkadot/api": 5.8.3
"@polkadot/rpc-provider": 5.8.3
"@polkadot/types": 5.8.3
"@polkadot/types-support": 5.8.3
"@polkadot/util": ^7.3.1
"@types/websocket": ^1.0.4
"@types/yargs": ^17.0.2
@@ -2078,18 +2078,18 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-known@5.8.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@5.8.3, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/networks": ^7.3.1
"@polkadot/types": 5.8.1
"@polkadot/types": 5.8.3
"@polkadot/util": ^7.3.1
languageName: unknown
linkType: soft
"@polkadot/types-support@5.8.1, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@5.8.3, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -2098,13 +2098,13 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@5.8.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@5.8.3, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/keyring": ^7.3.1
"@polkadot/types-support": 5.8.1
"@polkadot/types-support": 5.8.3
"@polkadot/util": ^7.3.1
"@polkadot/util-crypto": ^7.3.1
"@types/bn.js": ^4.11.6