From 1a512da035011ed1d0d5bc430f14b9adc76e1831 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Thu, 19 Oct 2023 10:17:27 +0200 Subject: [PATCH 01/10] ci: disable legacyRpc for node-only --- .github/workflows/node-only-update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-only-update.yml b/.github/workflows/node-only-update.yml index 3d52899c05..7cb4251364 100644 --- a/.github/workflows/node-only-update.yml +++ b/.github/workflows/node-only-update.yml @@ -162,7 +162,7 @@ jobs: inputs: | .baedeker/node-only.jsonnet snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/polkadot':{dockerImage:'${{ steps.polkadot.outputs.name }}'}}) - ephemeral:snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.mainnet.outputs.name }}'}}, extra_node_mixin = {legacyRpc: true}) + ephemeral:snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.mainnet.outputs.name }}'}}) - name: Run Parallel tests before Node Parachain upgrade working-directory: ${{ matrix.mainnet_branch }}/tests @@ -191,7 +191,7 @@ jobs: # Chain should always be built with the mainnet spec, this we first set binary for all nodes expect one, then set mainnet binary for the last node, and then force chainspec to be still generated from mainnet inputs: | snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.latest.outputs.name }}'}}, leave = 1, for_chain = false) - snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.mainnet.outputs.name }}'}}, extra_node_mixin = {legacyRpc: true}, for_chain = false) + snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.mainnet.outputs.name }}'}}, for_chain = false) snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.mainnet.outputs.name }}'}}) - name: Ensure network is alive From 8c8c9e68d0deb4adb4dcd98b1ab7d9b665b94e54 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Thu, 19 Oct 2023 10:31:26 +0200 Subject: [PATCH 02/10] ci: ensure correct versions and legacyRpc flag --- .baedeker/xcm-quartz.jsonnet | 2 -- .baedeker/xcm-unique.jsonnet | 3 --- .docker/Dockerfile-astar.j2 | 2 +- .env | 6 +++--- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.baedeker/xcm-quartz.jsonnet b/.baedeker/xcm-quartz.jsonnet index ecb958d612..a93fe0ed9a 100644 --- a/.baedeker/xcm-quartz.jsonnet +++ b/.baedeker/xcm-quartz.jsonnet @@ -60,7 +60,6 @@ local karura = { [name]: { bin: $.bin, wantedKeys: 'para', - legacyRpc: true, }, for name in ['alice', 'bob'] }, @@ -80,7 +79,6 @@ local moonriver = { [name]: { bin: $.bin, wantedKeys: 'para-nimbus', - legacyRpc: true, }, for name in ['alith', 'baltathar'] }, diff --git a/.baedeker/xcm-unique.jsonnet b/.baedeker/xcm-unique.jsonnet index f7b9dc413c..05e06190ff 100644 --- a/.baedeker/xcm-unique.jsonnet +++ b/.baedeker/xcm-unique.jsonnet @@ -61,7 +61,6 @@ local acala = { [name]: { bin: $.bin, wantedKeys: 'para', - legacyRpc: true, }, for name in ['alice', 'bob'] }, @@ -81,7 +80,6 @@ local moonbeam = { [name]: { bin: $.bin, wantedKeys: 'para-nimbus', - legacyRpc: true, }, for name in ['alith', 'baltathar'] }, @@ -116,7 +114,6 @@ local astar = { [name]: { bin: $.bin, wantedKeys: 'para', - legacyRpc: true, }, for name in ['alice', 'bob'] }, diff --git a/.docker/Dockerfile-astar.j2 b/.docker/Dockerfile-astar.j2 index eec18e6f9d..12222c7a11 100644 --- a/.docker/Dockerfile-astar.j2 +++ b/.docker/Dockerfile-astar.j2 @@ -42,4 +42,4 @@ RUN --mount=type=cache,target=/cargo-home/registry \ FROM ubuntu:22.04 as builder-astar COPY --from=builder-astar-bin /unique_parachain/Astar/astar /bin/astar -ENTRYPOINT ["/bin/astar-collator"] +ENTRYPOINT ["/bin/astar"] diff --git a/.env b/.env index 69c639ecc1..e78688593b 100644 --- a/.env +++ b/.env @@ -7,7 +7,7 @@ DESTINATION_SPEC_VERSION=v942057 POLKADOT_MAINNET_BRANCH=release-v1.0.0 STATEMINT_BUILD_BRANCH=release-parachains-v9430 ACALA_BUILD_BRANCH=2.21.0 -MOONBEAM_BUILD_BRANCH=runtime-2501 +MOONBEAM_BUILD_BRANCH=runtime-2500 ASTAR_BUILD_BRANCH=v5.18.0 UNIQUE_MAINNET_BRANCH=release-v943061 UNIQUE_REPLICA_FROM=wss://ws.unique.network:443 @@ -17,13 +17,13 @@ POLKADEX_BUILD_BRANCH=v1.1.0 KUSAMA_MAINNET_BRANCH=release-v1.0.0 STATEMINE_BUILD_BRANCH=release-parachains-v9430 KARURA_BUILD_BRANCH=release-karura-2.21.0 -MOONRIVER_BUILD_BRANCH=runtime-2501 +MOONRIVER_BUILD_BRANCH=runtime-2500 SHIDEN_BUILD_BRANCH=v5.18.0 QUARTZ_MAINNET_BRANCH=release-v943061 QUARTZ_REPLICA_FROM=wss://ws-quartz.unique.network:443 UNIQUEWEST_MAINNET_BRANCH=release-v1.0.0 -WESTMINT_BUILD_BRANCH=parachains-v9435 +WESTMINT_BUILD_BRANCH=parachains-v9430 OPAL_MAINNET_BRANCH=release-v943061 OPAL_REPLICA_FROM=wss://ws-opal.unique.network:443 From b423b299a3dfc1f8f191edc3b79882a3742e6535 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Thu, 19 Oct 2023 10:39:15 +0200 Subject: [PATCH 03/10] ci(node-only): fix continuation condition --- .github/workflows/node-only-update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-only-update.yml b/.github/workflows/node-only-update.yml index 7cb4251364..725705d346 100644 --- a/.github/workflows/node-only-update.yml +++ b/.github/workflows/node-only-update.yml @@ -166,7 +166,7 @@ jobs: - name: Run Parallel tests before Node Parachain upgrade working-directory: ${{ matrix.mainnet_branch }}/tests - if: success() || failure() + if: success() run: | yarn yarn add mochawesome @@ -195,7 +195,7 @@ jobs: snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.mainnet.outputs.name }}'}}) - name: Ensure network is alive - if: success() || failure() # run this step even if previous step failed + if: success() run: | ./tests/scripts/wait_for_first_block.sh env: From d1366f7a939207255bc9a31e06588519c732920a Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Thu, 19 Oct 2023 22:28:25 +0200 Subject: [PATCH 04/10] test(xcm): manually initialize HRMP --- .baedeker/xcm-opal.jsonnet | 4 ++-- .baedeker/xcm-quartz.jsonnet | 14 +++++++------- .baedeker/xcm-unique.jsonnet | 10 +++++----- .github/workflows/xcm.yml | 11 ++++++++++- tests/src/util/createHrmp.ts | 30 ++++++++++++++++++++++++++++++ 5 files changed, 54 insertions(+), 15 deletions(-) create mode 100644 tests/src/util/createHrmp.ts diff --git a/.baedeker/xcm-opal.jsonnet b/.baedeker/xcm-opal.jsonnet index c203797263..e70e9c89fa 100644 --- a/.baedeker/xcm-opal.jsonnet +++ b/.baedeker/xcm-opal.jsonnet @@ -11,8 +11,8 @@ local relay = { spec: {Genesis:{ chain: relay_spec, modify:: m.genericRelay($, hrmp = [ - [$.parachains.opal.paraId, $.parachains.westmint.paraId, 8, 512], - [$.parachains.westmint.paraId, $.parachains.opal.paraId, 8, 512], + // [$.parachains.opal.paraId, $.parachains.westmint.paraId, 8, 512], + // [$.parachains.westmint.paraId, $.parachains.opal.paraId, 8, 512], ]), }}, nodes: { diff --git a/.baedeker/xcm-quartz.jsonnet b/.baedeker/xcm-quartz.jsonnet index a93fe0ed9a..68312dc538 100644 --- a/.baedeker/xcm-quartz.jsonnet +++ b/.baedeker/xcm-quartz.jsonnet @@ -11,13 +11,13 @@ local relay = { spec: {Genesis:{ chain: relay_spec, modify:: m.genericRelay($, hrmp = std.join([], [ - [[$.parachains[a].paraId, $.parachains[b].paraId, 8, 512], [$.parachains[b].paraId, $.parachains[a].paraId, 8, 512]], - for [a, b] in [ - ['quartz', 'karura'], - ['quartz', 'moonriver'], - ['quartz', 'statemine'], - ['quartz', 'shiden'], - ] + // [[$.parachains[a].paraId, $.parachains[b].paraId, 8, 512], [$.parachains[b].paraId, $.parachains[a].paraId, 8, 512]], + // for [a, b] in [ + // ['quartz', 'karura'], + // ['quartz', 'moonriver'], + // ['quartz', 'statemine'], + // ['quartz', 'shiden'], + // ] ])), }}, nodes: { diff --git a/.baedeker/xcm-unique.jsonnet b/.baedeker/xcm-unique.jsonnet index 05e06190ff..aac590e0df 100644 --- a/.baedeker/xcm-unique.jsonnet +++ b/.baedeker/xcm-unique.jsonnet @@ -13,11 +13,11 @@ local relay = { modify:: m.genericRelay($, hrmp = std.join([], [ [[$.parachains[a].paraId, $.parachains[b].paraId, 8, 512], [$.parachains[b].paraId, $.parachains[a].paraId, 8, 512]], for [a, b] in [ - ['unique', 'acala'], - ['unique', 'moonbeam'], - ['unique', 'statemint'], - ['unique', 'astar'], - ['unique', 'polkadex'], + // ['unique', 'acala'], + // ['unique', 'moonbeam'], + // ['unique', 'statemint'], + // ['unique', 'astar'], + // ['unique', 'polkadex'], ] ])), }}, diff --git a/.github/workflows/xcm.yml b/.github/workflows/xcm.yml index b9598a8d02..5f85cae8cc 100644 --- a/.github/workflows/xcm.yml +++ b/.github/workflows/xcm.yml @@ -326,11 +326,20 @@ jobs: path: ${{ steps.bdk.outputs.composeProject }} retention-days: 2 - - name: Run XCM tests + - name: Yarn install working-directory: tests run: | yarn install yarn add mochawesome + + - name: Call HRMP initialization + working-directory: tests + run: | + yarn ts-node --esm src/util/createHrmp.ts ${{matrix.network}} + + - name: Run XCM tests + working-directory: tests + run: | # Wanted by both wait_for_first_block export RPC_URL="${RELAY_OPAL_HTTP_URL:-${RELAY_QUARTZ_HTTP_URL:-${RELAY_UNIQUE_HTTP_URL:-}}}" ./scripts/wait_for_first_block.sh diff --git a/tests/src/util/createHrmp.ts b/tests/src/util/createHrmp.ts new file mode 100644 index 0000000000..1f6953ccfb --- /dev/null +++ b/tests/src/util/createHrmp.ts @@ -0,0 +1,30 @@ +import {usingPlaygrounds} from '.'; +import config from '../config'; + +const profile = process.argv[2]; +if(!profile) throw new Error('missing profile/relay argument'); + +await usingPlaygrounds(async (helper, privateKey) => { + const bidirOpen = async (a: number, b: number) => { + console.log(`Opening ${a} <=> ${b}`); + await helper.getSudo().executeExtrinsic(alice, 'api.tx.hrmp.forceOpenHrmpChannel', [a, b, 8, 512]); + await helper.getSudo().executeExtrinsic(alice, 'api.tx.hrmp.forceOpenHrmpChannel', [b, a, 8, 512]); + }; + const alice = await privateKey('//Alice'); + switch (profile) { + case 'opal': + await bidirOpen(1001, 1002); + break; + case 'quartz': + case 'unique': + await bidirOpen(1001, 1002); + await bidirOpen(1001, 1003); + await bidirOpen(1001, 1004); + await bidirOpen(1001, 1005); + break; + default: + throw new Error(`unknown hrmp config profile: ${profile}`); + } +}, config.relayUrl); +// We miss disconnect/unref somewhere. +process.exit(0); From 3c5a02f342407b303eb52a0f0c75c8cb469f7561 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 20 Oct 2023 14:56:02 +0200 Subject: [PATCH 05/10] chore: update polkadotjs --- tests/package.json | 14 +- tests/yarn.lock | 725 +++++++++++++++++++++++---------------------- 2 files changed, 372 insertions(+), 367 deletions(-) diff --git a/tests/package.json b/tests/package.json index c669f54d63..ec4f2ad65c 100644 --- a/tests/package.json +++ b/tests/package.json @@ -4,7 +4,7 @@ "description": "Unique Chain Tests", "main": "", "devDependencies": { - "@polkadot/typegen": "10.9.1", + "@polkadot/typegen": "10.10.1", "@types/chai": "^4.3.3", "@types/chai-as-promised": "^7.1.5", "@types/chai-like": "^1.1.1", @@ -138,12 +138,12 @@ "homepage": "", "dependencies": { "@openzeppelin/contracts": "^4.9.2", - "@polkadot/api": "10.9.1", - "@polkadot/rpc-core": "^10.9.1", - "@polkadot/util": "12.3.2", - "@polkadot/util-crypto": "12.3.2", - "@polkadot/wasm-crypto-asmjs": "^7.2.1", - "@polkadot/wasm-crypto-wasm": "^7.2.1", + "@polkadot/api": "10.10.1", + "@polkadot/rpc-core": "^10.10.1", + "@polkadot/util": "12.5.1", + "@polkadot/util-crypto": "12.5.1", + "@polkadot/wasm-crypto-asmjs": "^7.2.2", + "@polkadot/wasm-crypto-wasm": "^7.2.2", "@rmrk-team/evm-contracts": "^1.2.1", "@typechain/web3-v1": "^6.0.3", "chai-as-promised": "^7.1.1", diff --git a/tests/yarn.lock b/tests/yarn.lock index f8caa58126..a82d7fb9d9 100644 --- a/tests/yarn.lock +++ b/tests/yarn.lock @@ -369,19 +369,19 @@ __metadata: languageName: node linkType: hard -"@noble/curves@npm:1.1.0": - version: 1.1.0 - resolution: "@noble/curves@npm:1.1.0" +"@noble/curves@npm:^1.2.0": + version: 1.2.0 + resolution: "@noble/curves@npm:1.2.0" dependencies: - "@noble/hashes": 1.3.1 - checksum: 2658cdd3f84f71079b4e3516c47559d22cf4b55c23ac8ee9d2b1f8e5b72916d9689e59820e0f9d9cb4a46a8423af5b56dc6bb7782405c88be06a015180508db5 + "@noble/hashes": 1.3.2 + checksum: bb798d7a66d8e43789e93bc3c2ddff91a1e19fdb79a99b86cd98f1e5eff0ee2024a2672902c2576ef3577b6f282f3b5c778bebd55761ddbb30e36bf275e83dd0 languageName: node linkType: hard -"@noble/hashes@npm:1.3.1": - version: 1.3.1 - resolution: "@noble/hashes@npm:1.3.1" - checksum: 7fdefc0f7a0c1ec27acc6ff88841793e3f93ec4ce6b8a6a12bfc0dd70ae6b7c4c82fe305fdfeda1735d5ad4a9eebe761e6693b3d355689c559e91242f4bc95b1 +"@noble/hashes@npm:1.3.2, @noble/hashes@npm:^1.3.2": + version: 1.3.2 + resolution: "@noble/hashes@npm:1.3.2" + checksum: fe23536b436539d13f90e4b9be843cc63b1b17666a07634a2b1259dded6f490be3d050249e6af98076ea8f2ea0d56f578773c2197f2aa0eeaa5fba5bc18ba474 languageName: node linkType: hard @@ -435,171 +435,171 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/api-augment@npm:10.9.1" +"@polkadot/api-augment@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/api-augment@npm:10.10.1" dependencies: - "@polkadot/api-base": 10.9.1 - "@polkadot/rpc-augment": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-augment": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: b0aeed5ebf640c58a252a29a33f12d4c39d0dcdf10b875501012c3b4b05955ed8be85efbf75e17ad237a561e1171821979ffdddf7e6a64cb0806badb2752c190 + "@polkadot/api-base": 10.10.1 + "@polkadot/rpc-augment": 10.10.1 + "@polkadot/types": 10.10.1 + "@polkadot/types-augment": 10.10.1 + "@polkadot/types-codec": 10.10.1 + "@polkadot/util": ^12.5.1 + tslib: ^2.6.2 + checksum: 16ca2d71215019faba506b6dc455ef15ea1eec8b97bd146aef49a04ae15dc9246405540219bfbea36027ee50c5dbb15885296c30ee98908afdd7a56626efd06c languageName: node linkType: hard -"@polkadot/api-base@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/api-base@npm:10.9.1" +"@polkadot/api-base@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/api-base@npm:10.10.1" dependencies: - "@polkadot/rpc-core": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/util": ^12.3.1 + "@polkadot/rpc-core": 10.10.1 + "@polkadot/types": 10.10.1 + "@polkadot/util": ^12.5.1 rxjs: ^7.8.1 - tslib: ^2.5.3 - checksum: a761f4ade747a295c16b7e6f24c1bb93e1736aa7fa9f1cb3c651c84d02a99cc62658e83326fa339882423966a55bf0046b74a69a1a4e4567c8d6c1c4db4eb306 + tslib: ^2.6.2 + checksum: 374a4378484817b29c52908a9dac649b4d4f231db21a0b0b3d3ec3331c7b9b9c374c103b5e64d028c212b8ab3eb98244cd760d20e2fe5f46a8fdc1d923555047 languageName: node linkType: hard -"@polkadot/api-derive@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/api-derive@npm:10.9.1" - dependencies: - "@polkadot/api": 10.9.1 - "@polkadot/api-augment": 10.9.1 - "@polkadot/api-base": 10.9.1 - "@polkadot/rpc-core": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/util": ^12.3.1 - "@polkadot/util-crypto": ^12.3.1 +"@polkadot/api-derive@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/api-derive@npm:10.10.1" + dependencies: + "@polkadot/api": 10.10.1 + "@polkadot/api-augment": 10.10.1 + "@polkadot/api-base": 10.10.1 + "@polkadot/rpc-core": 10.10.1 + "@polkadot/types": 10.10.1 + "@polkadot/types-codec": 10.10.1 + "@polkadot/util": ^12.5.1 + "@polkadot/util-crypto": ^12.5.1 rxjs: ^7.8.1 - tslib: ^2.5.3 - checksum: 072a43bcc55787beb6c29afe0f011c03cdde3a9b6ac38d972d0b13ff93a1e14198d769a926edfd324c3947735dd8c8fcb7a61629409322230fd8559e7c17a1d7 - languageName: node - linkType: hard - -"@polkadot/api@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/api@npm:10.9.1" - dependencies: - "@polkadot/api-augment": 10.9.1 - "@polkadot/api-base": 10.9.1 - "@polkadot/api-derive": 10.9.1 - "@polkadot/keyring": ^12.3.1 - "@polkadot/rpc-augment": 10.9.1 - "@polkadot/rpc-core": 10.9.1 - "@polkadot/rpc-provider": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-augment": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/types-create": 10.9.1 - "@polkadot/types-known": 10.9.1 - "@polkadot/util": ^12.3.1 - "@polkadot/util-crypto": ^12.3.1 + tslib: ^2.6.2 + checksum: ff0f016d39aa73f55a881927e6ae3dd75c2a81fe4095cdda5e558f420d815a12c204e6a2082acbef2c74867b810d41ef349de2b7924d46957be7260b71fb1512 + languageName: node + linkType: hard + +"@polkadot/api@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/api@npm:10.10.1" + dependencies: + "@polkadot/api-augment": 10.10.1 + "@polkadot/api-base": 10.10.1 + "@polkadot/api-derive": 10.10.1 + "@polkadot/keyring": ^12.5.1 + "@polkadot/rpc-augment": 10.10.1 + "@polkadot/rpc-core": 10.10.1 + "@polkadot/rpc-provider": 10.10.1 + "@polkadot/types": 10.10.1 + "@polkadot/types-augment": 10.10.1 + "@polkadot/types-codec": 10.10.1 + "@polkadot/types-create": 10.10.1 + "@polkadot/types-known": 10.10.1 + "@polkadot/util": ^12.5.1 + "@polkadot/util-crypto": ^12.5.1 eventemitter3: ^5.0.1 rxjs: ^7.8.1 - tslib: ^2.5.3 - checksum: 6b37d9bacf0599bb7c385ddefca929547299a6f1d242ce3215f8480672297c81ec30c251bc9aac3889c5956bd9ef3918d69364819861eec308f4aa347c08110d + tslib: ^2.6.2 + checksum: de1aa727b63fb921854840fe2d18b55b99f512f4d3e08d3b895fceea7891f6dd0febe6aa5fb7b1778494c78d6a6a7ebd17d426ba2e3df459aa974b7bb8fee19c languageName: node linkType: hard -"@polkadot/keyring@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/keyring@npm:12.3.2" +"@polkadot/keyring@npm:^12.5.1": + version: 12.5.1 + resolution: "@polkadot/keyring@npm:12.5.1" dependencies: - "@polkadot/util": 12.3.2 - "@polkadot/util-crypto": 12.3.2 - tslib: ^2.5.3 + "@polkadot/util": 12.5.1 + "@polkadot/util-crypto": 12.5.1 + tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.3.2 - "@polkadot/util-crypto": 12.3.2 - checksum: fa1238052ab6a93f4d97c0351e908ab866c128eb9089fe8829af4a4603be3d97dd964bb2b95c22248cfd120800bbc37aa93e03221ecca4f97c36818d452b44db + "@polkadot/util": 12.5.1 + "@polkadot/util-crypto": 12.5.1 + checksum: d659e5980e4cd6b68f91448a817306666530c033410c713854547dbbbecacb7362346c3ada6c5ab9dc71437c3cf002f064d7db40d1588637b96e84ff8f35dcf4 languageName: node linkType: hard -"@polkadot/networks@npm:12.3.2, @polkadot/networks@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/networks@npm:12.3.2" +"@polkadot/networks@npm:12.5.1, @polkadot/networks@npm:^12.5.1": + version: 12.5.1 + resolution: "@polkadot/networks@npm:12.5.1" dependencies: - "@polkadot/util": 12.3.2 - "@substrate/ss58-registry": ^1.40.0 - tslib: ^2.5.3 - checksum: 54d5aa2a90b761a200bf0cf492f1c53cbbd555067f9486542997097640b0813e46675837e83225cee8ab4e816bcae12cdc046f07b5869930ab1e694b1e6e3cec + "@polkadot/util": 12.5.1 + "@substrate/ss58-registry": ^1.43.0 + tslib: ^2.6.2 + checksum: f8c64684f6806365c1aded6ebca52432050cc8caacd067faf339b2f37497b63b13cebb689f7b0f9c62a890566383cf1931552da82815cc52baa2166fb1772a43 languageName: node linkType: hard -"@polkadot/rpc-augment@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/rpc-augment@npm:10.9.1" +"@polkadot/rpc-augment@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/rpc-augment@npm:10.10.1" dependencies: - "@polkadot/rpc-core": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: 4f7b090be6d88ef6a56679a80da856bf007994e2142e16fbac6030132789b5a2411421650935ed4b18334afca399edfc0387135731836c6d9f8420acf510f11b + "@polkadot/rpc-core": 10.10.1 + "@polkadot/types": 10.10.1 + "@polkadot/types-codec": 10.10.1 + "@polkadot/util": ^12.5.1 + tslib: ^2.6.2 + checksum: d19ff447fea298387e8af9b7ac44c8eb8438b0e939608414c0ddc642fbd5c2d657d199a66741d9e330f28aa587486a163238cdf058cc69994178b121a0d26738 languageName: node linkType: hard -"@polkadot/rpc-core@npm:10.9.1, @polkadot/rpc-core@npm:^10.9.1": - version: 10.9.1 - resolution: "@polkadot/rpc-core@npm:10.9.1" +"@polkadot/rpc-core@npm:10.10.1, @polkadot/rpc-core@npm:^10.10.1": + version: 10.10.1 + resolution: "@polkadot/rpc-core@npm:10.10.1" dependencies: - "@polkadot/rpc-augment": 10.9.1 - "@polkadot/rpc-provider": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/util": ^12.3.1 + "@polkadot/rpc-augment": 10.10.1 + "@polkadot/rpc-provider": 10.10.1 + "@polkadot/types": 10.10.1 + "@polkadot/util": ^12.5.1 rxjs: ^7.8.1 - tslib: ^2.5.3 - checksum: 538a207f5d321b4b18b0580da438598dd78e496dbc7069a776abcc39ede36903981ba2b9897eea73ecfe2f48a4d0cbd5b5cd738b3184f5c333709e6f4603f22a + tslib: ^2.6.2 + checksum: 5ab21029fbafa13e50bb48161a82c023f7015b633e258b76c2cff25bf648d7f69baf18efc291ebec8dd635b38da8223e853e15b53478268b1f6b40d2ab0b3e09 languageName: node linkType: hard -"@polkadot/rpc-provider@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/rpc-provider@npm:10.9.1" - dependencies: - "@polkadot/keyring": ^12.3.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-support": 10.9.1 - "@polkadot/util": ^12.3.1 - "@polkadot/util-crypto": ^12.3.1 - "@polkadot/x-fetch": ^12.3.1 - "@polkadot/x-global": ^12.3.1 - "@polkadot/x-ws": ^12.3.1 - "@substrate/connect": 0.7.26 +"@polkadot/rpc-provider@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/rpc-provider@npm:10.10.1" + dependencies: + "@polkadot/keyring": ^12.5.1 + "@polkadot/types": 10.10.1 + "@polkadot/types-support": 10.10.1 + "@polkadot/util": ^12.5.1 + "@polkadot/util-crypto": ^12.5.1 + "@polkadot/x-fetch": ^12.5.1 + "@polkadot/x-global": ^12.5.1 + "@polkadot/x-ws": ^12.5.1 + "@substrate/connect": 0.7.33 eventemitter3: ^5.0.1 - mock-socket: ^9.2.1 - nock: ^13.3.1 - tslib: ^2.5.3 + mock-socket: ^9.3.1 + nock: ^13.3.4 + tslib: ^2.6.2 dependenciesMeta: "@substrate/connect": optional: true - checksum: 4521ba64a1e69ed323910796a4598755e8101704aae3be33b6c363be4ebb9ea1a99ced17b8cd9fa3ab15abf5900e1055279f532f47b8472e8a143a299bfa046d - languageName: node - linkType: hard - -"@polkadot/typegen@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/typegen@npm:10.9.1" - dependencies: - "@polkadot/api": 10.9.1 - "@polkadot/api-augment": 10.9.1 - "@polkadot/rpc-augment": 10.9.1 - "@polkadot/rpc-provider": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-augment": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/types-create": 10.9.1 - "@polkadot/types-support": 10.9.1 - "@polkadot/util": ^12.3.1 - "@polkadot/util-crypto": ^12.3.1 - "@polkadot/x-ws": ^12.3.1 - handlebars: ^4.7.7 - tslib: ^2.5.3 + checksum: 44147ad7ce4bb0fccf5272bbe56b3b65c1e907f02109c8e18a5b5da8c658f84c1d7741c5e6878adacd06514254b0a7fb8254d5a222f55f25f7a573b2ba970449 + languageName: node + linkType: hard + +"@polkadot/typegen@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/typegen@npm:10.10.1" + dependencies: + "@polkadot/api": 10.10.1 + "@polkadot/api-augment": 10.10.1 + "@polkadot/rpc-augment": 10.10.1 + "@polkadot/rpc-provider": 10.10.1 + "@polkadot/types": 10.10.1 + "@polkadot/types-augment": 10.10.1 + "@polkadot/types-codec": 10.10.1 + "@polkadot/types-create": 10.10.1 + "@polkadot/types-support": 10.10.1 + "@polkadot/util": ^12.5.1 + "@polkadot/util-crypto": ^12.5.1 + "@polkadot/x-ws": ^12.5.1 + handlebars: ^4.7.8 + tslib: ^2.6.2 yargs: ^17.7.2 bin: polkadot-types-chain-info: scripts/polkadot-types-chain-info.mjs @@ -607,270 +607,270 @@ __metadata: polkadot-types-from-defs: scripts/polkadot-types-from-defs.mjs polkadot-types-internal-interfaces: scripts/polkadot-types-internal-interfaces.mjs polkadot-types-internal-metadata: scripts/polkadot-types-internal-metadata.mjs - checksum: e45e8cbf8a4361e8e5e271597fb2337664e537012d3c2d30b59a75d6932b41ee0a4301abfcdaacbcf7f8371acc6a48faa0c1a6a15e679783697a04ddcc228ca8 + checksum: 9c167fffc476b59524ef864472b688884739c8f2deccc24b09713d7ce4247e43e352be05261ff21072dc1afbbbd2da750a11f42ae657de481d9b402ef858904b languageName: node linkType: hard -"@polkadot/types-augment@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types-augment@npm:10.9.1" +"@polkadot/types-augment@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/types-augment@npm:10.10.1" dependencies: - "@polkadot/types": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: d643f83ab0a9498267037d95b878fa4e3b0087882195c3bd609038e8c934a092d9c82f7164ac97989305805aabe0d9186736c50a372498c81c22b3d7f4cfcccb + "@polkadot/types": 10.10.1 + "@polkadot/types-codec": 10.10.1 + "@polkadot/util": ^12.5.1 + tslib: ^2.6.2 + checksum: 40440fc2a9568c9e636f478c4f191cbb38f07256f4db7f1bb9bdbcf0b928280315afee2843090a006a3dfd16e000f22dd6a9bd5687dd6400a1fc3dcd6ee59a25 languageName: node linkType: hard -"@polkadot/types-codec@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types-codec@npm:10.9.1" +"@polkadot/types-codec@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/types-codec@npm:10.10.1" dependencies: - "@polkadot/util": ^12.3.1 - "@polkadot/x-bigint": ^12.3.1 - tslib: ^2.5.3 - checksum: ac11b770fa4328f55daf6dd78fc8fc4d6906fb0d4b2bf92eaece58332c74f2b178d598a310a6dd068c72856acefddf5f7d23cac56991fa12f61d6853fb73d582 + "@polkadot/util": ^12.5.1 + "@polkadot/x-bigint": ^12.5.1 + tslib: ^2.6.2 + checksum: 17ceb561e6a82784febd5c8b0219050a9b8aeeb766ffbae8255ab586120063ca9fea1c89df776047e861aba87e43048a8060d5c469bcd42c169830a69416d62f languageName: node linkType: hard -"@polkadot/types-create@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types-create@npm:10.9.1" +"@polkadot/types-create@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/types-create@npm:10.10.1" dependencies: - "@polkadot/types-codec": 10.9.1 - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: 43f8fbd70a7891d6b49f1edb00b4a918c21924f2c1e44eb81ef7c9327e1fcc7eac65dbc2a9d0e3ba49079fdddda5498115e47f5fd99ec2a91f79c7f305bf553a + "@polkadot/types-codec": 10.10.1 + "@polkadot/util": ^12.5.1 + tslib: ^2.6.2 + checksum: 1dedef441218a0786774033c2d587b8ccdf184a72da671c7da70ced9f765073bfec4a15d8937b00d5d50cb0eb1b4bd25886ace3f7e024c95b46f58a1c318efd1 languageName: node linkType: hard -"@polkadot/types-known@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types-known@npm:10.9.1" +"@polkadot/types-known@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/types-known@npm:10.10.1" dependencies: - "@polkadot/networks": ^12.3.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/types-create": 10.9.1 - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: 8a3dd0dead1759112b9011c5ff47bf9fa0f5a00d0d5cba841d724494a9434a2f565fad8ab654ae8cc3949a10c28f3966034bfc23e493b7cc373d3532de508953 + "@polkadot/networks": ^12.5.1 + "@polkadot/types": 10.10.1 + "@polkadot/types-codec": 10.10.1 + "@polkadot/types-create": 10.10.1 + "@polkadot/util": ^12.5.1 + tslib: ^2.6.2 + checksum: 25489967fcd6022f11a64c20884dd1ef49494f3b3e514034a08cc07f61267121adf8b96b307edc3381c445de58842d515aa8440ee888bc37120775deffae671a languageName: node linkType: hard -"@polkadot/types-support@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types-support@npm:10.9.1" +"@polkadot/types-support@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/types-support@npm:10.10.1" dependencies: - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: f5df33f215f529c33d4fd7ad7d6877a4567954488971c2986da416b6578ccb6d5c6eeadab4602abe0e3ce17373cdd6de0ce6f09529852b6e2fd6bc28b9183f9b + "@polkadot/util": ^12.5.1 + tslib: ^2.6.2 + checksum: 391857f39463fcc9bbc34a6bafd191e12eb3fd28f386d4094cc3cdcbcd0fcc8799c6e99a49b0e634c6a1b78d07188eb6e1e01299f55df2593c3f30fcb241631c languageName: node linkType: hard -"@polkadot/types@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types@npm:10.9.1" - dependencies: - "@polkadot/keyring": ^12.3.1 - "@polkadot/types-augment": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/types-create": 10.9.1 - "@polkadot/util": ^12.3.1 - "@polkadot/util-crypto": ^12.3.1 +"@polkadot/types@npm:10.10.1": + version: 10.10.1 + resolution: "@polkadot/types@npm:10.10.1" + dependencies: + "@polkadot/keyring": ^12.5.1 + "@polkadot/types-augment": 10.10.1 + "@polkadot/types-codec": 10.10.1 + "@polkadot/types-create": 10.10.1 + "@polkadot/util": ^12.5.1 + "@polkadot/util-crypto": ^12.5.1 rxjs: ^7.8.1 - tslib: ^2.5.3 - checksum: c9b0873b52f33c5d7913bc1e474c67d797411ac592c10af987dfecfee7480aeda02b9fc100ff506bc8af704a7fc239162a8ec7eec580e2e7a62ac7f7b95f3900 + tslib: ^2.6.2 + checksum: 58b8b026e25f8156f270bdd240a2e384b64db93a6abe7c15abe9acdc2ce06a724328a8bf4d5b3047f5e398eef3d4961447d8511c52105c082dddd1b9d8fb0cb4 languageName: node linkType: hard -"@polkadot/util-crypto@npm:12.3.2, @polkadot/util-crypto@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/util-crypto@npm:12.3.2" +"@polkadot/util-crypto@npm:12.5.1, @polkadot/util-crypto@npm:^12.5.1": + version: 12.5.1 + resolution: "@polkadot/util-crypto@npm:12.5.1" dependencies: - "@noble/curves": 1.1.0 - "@noble/hashes": 1.3.1 - "@polkadot/networks": 12.3.2 - "@polkadot/util": 12.3.2 - "@polkadot/wasm-crypto": ^7.2.1 - "@polkadot/wasm-util": ^7.2.1 - "@polkadot/x-bigint": 12.3.2 - "@polkadot/x-randomvalues": 12.3.2 - "@scure/base": 1.1.1 - tslib: ^2.5.3 + "@noble/curves": ^1.2.0 + "@noble/hashes": ^1.3.2 + "@polkadot/networks": 12.5.1 + "@polkadot/util": 12.5.1 + "@polkadot/wasm-crypto": ^7.2.2 + "@polkadot/wasm-util": ^7.2.2 + "@polkadot/x-bigint": 12.5.1 + "@polkadot/x-randomvalues": 12.5.1 + "@scure/base": ^1.1.3 + tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.3.2 - checksum: 5c4053b4172ce138b4df5d61dc83905759fde6816ddf1d1aea7389bf4e9bba6d0a110e356eb9a3d76065393b787eb9797428966a1da36bb3b13567bdb67d5671 + "@polkadot/util": 12.5.1 + checksum: 4efb5ca6e48f7457d8dcfa02ac9f581ce23a90ba9e72c8f6fd7649296e92dcb3dfa3d2bdd0b5ed68b81bf15e32aabef34f60d47851249d8859dba7ebeb63501f languageName: node linkType: hard -"@polkadot/util@npm:12.3.2, @polkadot/util@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/util@npm:12.3.2" +"@polkadot/util@npm:12.5.1, @polkadot/util@npm:^12.5.1": + version: 12.5.1 + resolution: "@polkadot/util@npm:12.5.1" dependencies: - "@polkadot/x-bigint": 12.3.2 - "@polkadot/x-global": 12.3.2 - "@polkadot/x-textdecoder": 12.3.2 - "@polkadot/x-textencoder": 12.3.2 + "@polkadot/x-bigint": 12.5.1 + "@polkadot/x-global": 12.5.1 + "@polkadot/x-textdecoder": 12.5.1 + "@polkadot/x-textencoder": 12.5.1 "@types/bn.js": ^5.1.1 bn.js: ^5.2.1 - tslib: ^2.5.3 - checksum: 53b5ac58bbae5d3aa867e0f1483fc0fd40e811919e573051225ab32e031ab81649be0f969ecb7c7a094c588f381d8ec1fa67160a65e3e2ef2180afe5677136cc + tslib: ^2.6.2 + checksum: 955d41c01cb3c7da72c4f5f8faed13e1af1fa9603a3a1dd9f282eb69b5ebbffb889e76c595d1252ff5f9665cb3c55f1a96f908b020dc79356f92b2d5ce1aa81e languageName: node linkType: hard -"@polkadot/wasm-bridge@npm:7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-bridge@npm:7.2.1" +"@polkadot/wasm-bridge@npm:7.2.2": + version: 7.2.2 + resolution: "@polkadot/wasm-bridge@npm:7.2.2" dependencies: - "@polkadot/wasm-util": 7.2.1 - tslib: ^2.5.0 + "@polkadot/wasm-util": 7.2.2 + tslib: ^2.6.1 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 6f4d255665f6c1552df9abcf8e99ee36b220c446c74e4da7ac21f3c578c3736695db41e816ef83226d98231c535df8daea6d2266c3090bdd8e7609fa87447de9 + checksum: b998b21bca963699c2958de0558bad83d19ca72922b7ca74beb99b8c418bdc4be7af86f7ea231b3224de55eb8ec59e0626642d393fc90192659cccaf346d5d2b languageName: node linkType: hard -"@polkadot/wasm-crypto-asmjs@npm:7.2.1, @polkadot/wasm-crypto-asmjs@npm:^7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-crypto-asmjs@npm:7.2.1" +"@polkadot/wasm-crypto-asmjs@npm:7.2.2, @polkadot/wasm-crypto-asmjs@npm:^7.2.2": + version: 7.2.2 + resolution: "@polkadot/wasm-crypto-asmjs@npm:7.2.2" dependencies: - tslib: ^2.5.0 + tslib: ^2.6.1 peerDependencies: "@polkadot/util": "*" - checksum: 9d7f2ac6f73cc2ed390941a35426763c73e6f20374eb11ed60b880a6f716c2773cb1fe1cddb9416ab669c75b25b7d99be25c8c91886bb676d6faf9b4658f8fd7 + checksum: 2eba52949b51adfa1e8183d406f40b935cdea1a3189994529febd9db4f1abf5f853782e2c15dad7ab0f2dd8641b3dbf40b221c0462b6a29ac11c38e8a70a8a5b languageName: node linkType: hard -"@polkadot/wasm-crypto-init@npm:7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-crypto-init@npm:7.2.1" +"@polkadot/wasm-crypto-init@npm:7.2.2": + version: 7.2.2 + resolution: "@polkadot/wasm-crypto-init@npm:7.2.2" dependencies: - "@polkadot/wasm-bridge": 7.2.1 - "@polkadot/wasm-crypto-asmjs": 7.2.1 - "@polkadot/wasm-crypto-wasm": 7.2.1 - "@polkadot/wasm-util": 7.2.1 - tslib: ^2.5.0 + "@polkadot/wasm-bridge": 7.2.2 + "@polkadot/wasm-crypto-asmjs": 7.2.2 + "@polkadot/wasm-crypto-wasm": 7.2.2 + "@polkadot/wasm-util": 7.2.2 + tslib: ^2.6.1 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 97105a9e846e97d9d678526e5dd1b491cd71e705c759a8ace9e0e9a54aa045b2b512bdcdd524ea6684963b6cb0fc0a44043d2198bc680c893e1feaaf4d860e76 + checksum: 75e4cc6cfecef13942397c0b0cbcd2ebf8534589b0a22104df6352908efbdc78e6fa42df3ce1660c1b267c8b7c40667a42c0d986a7a3bc4a2b9ea17ba97608af languageName: node linkType: hard -"@polkadot/wasm-crypto-wasm@npm:7.2.1, @polkadot/wasm-crypto-wasm@npm:^7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-crypto-wasm@npm:7.2.1" +"@polkadot/wasm-crypto-wasm@npm:7.2.2, @polkadot/wasm-crypto-wasm@npm:^7.2.2": + version: 7.2.2 + resolution: "@polkadot/wasm-crypto-wasm@npm:7.2.2" dependencies: - "@polkadot/wasm-util": 7.2.1 - tslib: ^2.5.0 + "@polkadot/wasm-util": 7.2.2 + tslib: ^2.6.1 peerDependencies: "@polkadot/util": "*" - checksum: f000fab2fc682a4d4d2029b483701a64091b9be0d75df82f3337a48d65ffdac8d76c828f46810cb5aae6b9ec77bdf3963ae8b8668106ea9e5c0c19f57637655d + checksum: e3d0aeb59fb7e5d3d25a256ed57c4e05895e9d7e29cb22214d9b59ff6e400f25b0c5758f77a0513befd99ef33051b43bbff3d1def978e87668aa74f3f8799c0b languageName: node linkType: hard -"@polkadot/wasm-crypto@npm:^7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-crypto@npm:7.2.1" - dependencies: - "@polkadot/wasm-bridge": 7.2.1 - "@polkadot/wasm-crypto-asmjs": 7.2.1 - "@polkadot/wasm-crypto-init": 7.2.1 - "@polkadot/wasm-crypto-wasm": 7.2.1 - "@polkadot/wasm-util": 7.2.1 - tslib: ^2.5.0 +"@polkadot/wasm-crypto@npm:^7.2.2": + version: 7.2.2 + resolution: "@polkadot/wasm-crypto@npm:7.2.2" + dependencies: + "@polkadot/wasm-bridge": 7.2.2 + "@polkadot/wasm-crypto-asmjs": 7.2.2 + "@polkadot/wasm-crypto-init": 7.2.2 + "@polkadot/wasm-crypto-wasm": 7.2.2 + "@polkadot/wasm-util": 7.2.2 + tslib: ^2.6.1 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: f42f2bc34cf76d1438893f72a233080196c9a95dd3c53444f582150c7f56b75c80b8b8b9b4a3d9015438a6f7438c6e40def46b1fe7ce3a367bcd280f2bf29c98 + checksum: 25710154c1a25aea59a8cdba4cfe051249e83b86cbc0869be7b0680c86f2841131f7df76881d422fb4d179b9037320957e725bc50546e63273bc11b85751b5a6 languageName: node linkType: hard -"@polkadot/wasm-util@npm:7.2.1, @polkadot/wasm-util@npm:^7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-util@npm:7.2.1" +"@polkadot/wasm-util@npm:7.2.2, @polkadot/wasm-util@npm:^7.2.2": + version: 7.2.2 + resolution: "@polkadot/wasm-util@npm:7.2.2" dependencies: - tslib: ^2.5.0 + tslib: ^2.6.1 peerDependencies: "@polkadot/util": "*" - checksum: 8df30296664807c27b01d37a3e9f124fdc22aef61e633b1a538a7c533f485a2aa756c43e67aac8d0c8383273432783b78e5528c5bc1ffcf508e7faaa5009e618 + checksum: b1ad387e5b2726183e1c141ac59f9e6e722d9c1e896dbe0069fb5ce46d30c3517f07b36c840c1d82d23256e111a3697ba3015e53073858e8e05ab3d0cbdbf05e languageName: node linkType: hard -"@polkadot/x-bigint@npm:12.3.2, @polkadot/x-bigint@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/x-bigint@npm:12.3.2" +"@polkadot/x-bigint@npm:12.5.1, @polkadot/x-bigint@npm:^12.5.1": + version: 12.5.1 + resolution: "@polkadot/x-bigint@npm:12.5.1" dependencies: - "@polkadot/x-global": 12.3.2 - tslib: ^2.5.3 - checksum: 0c88e28f1072cd2e5bc0efa3b8ede13f1084c8d56bb78a91f031ee128e572a5f74faa99c22be64182950194647a2081899dcfaa7e7ab16bbb3f9b9761515eb85 + "@polkadot/x-global": 12.5.1 + tslib: ^2.6.2 + checksum: 295d00b17860196c43ac4957ffb052ca68bb4319990876238e3f0925ca6ca9106810204136315491116a11a277d8a1e1fae65cc43a168505ee5a69a27404d2e0 languageName: node linkType: hard -"@polkadot/x-fetch@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/x-fetch@npm:12.3.2" +"@polkadot/x-fetch@npm:^12.5.1": + version: 12.5.1 + resolution: "@polkadot/x-fetch@npm:12.5.1" dependencies: - "@polkadot/x-global": 12.3.2 - node-fetch: ^3.3.1 - tslib: ^2.5.3 - checksum: 063bae74b5c197c5b2c603cc761aa830fe96a196d8cc0d9bc428670d1d0fa44d053d96b463783a9d989ec1032bda6397cb4f8772e65fed9d5f1089d04d7b54dc + "@polkadot/x-global": 12.5.1 + node-fetch: ^3.3.2 + tslib: ^2.6.2 + checksum: 26b24b09f9074c181f53f13ea17a1389e823b262a956a28fddf609ba7d177a1cde3cd4db28e8e38320b207adcc675ac868dadfaeafe9cf3998a3861f02ee43d7 languageName: node linkType: hard -"@polkadot/x-global@npm:12.3.2, @polkadot/x-global@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/x-global@npm:12.3.2" +"@polkadot/x-global@npm:12.5.1, @polkadot/x-global@npm:^12.5.1": + version: 12.5.1 + resolution: "@polkadot/x-global@npm:12.5.1" dependencies: - tslib: ^2.5.3 - checksum: 85bd4a3e89bacdf8159fe505b875fad0ce8cfc5ba65377b14981166d973339a2fa3128582112af51dfecea4b68b0501a960056138110195b5bea69c3a8c88e11 + tslib: ^2.6.2 + checksum: d45e3d6096674b7495992c6e45cf1a284db545c16107ba9adae241d6aefe13c27adfaf93d58a3079e6a6b63acb221eb3181c7f55dc34124b24b542154724c506 languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:12.3.2": - version: 12.3.2 - resolution: "@polkadot/x-randomvalues@npm:12.3.2" +"@polkadot/x-randomvalues@npm:12.5.1": + version: 12.5.1 + resolution: "@polkadot/x-randomvalues@npm:12.5.1" dependencies: - "@polkadot/x-global": 12.3.2 - tslib: ^2.5.3 + "@polkadot/x-global": 12.5.1 + tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.3.2 + "@polkadot/util": 12.5.1 "@polkadot/wasm-util": "*" - checksum: 809e0429a0e6f285ad0e2bf0b7dbe1f8b05cc3aacb9f7d8593fd0702e2f23ef7e3aab861d1493528670712c03426b36aacecf43b6fc97cc4036ee1ae41fa04dc + checksum: 52ee4b4206a98cac9e97e3d194db01fb4a540046672784442926478eaa2b2a74cebae59d10432671f544d72df5d623aedf57c301bcf447a4c72688ec3cb82fd5 languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:12.3.2": - version: 12.3.2 - resolution: "@polkadot/x-textdecoder@npm:12.3.2" +"@polkadot/x-textdecoder@npm:12.5.1": + version: 12.5.1 + resolution: "@polkadot/x-textdecoder@npm:12.5.1" dependencies: - "@polkadot/x-global": 12.3.2 - tslib: ^2.5.3 - checksum: d5b8810b325bad317e10f631f0d7c9c91e0db92ca37db7935e41569df8c926534aa4668a14b9b12d1d5263569239665bca8ad0089bf3b789a09dbf6f0303108f + "@polkadot/x-global": 12.5.1 + tslib: ^2.6.2 + checksum: 202a9e216e9b89cc74012fa3f6c96eeb368dc3e6fa3c943f28c37c20941a6c678506cbc136946e9ff100123aa43846eab7765af074de94dfdd23f4ce2242c794 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:12.3.2": - version: 12.3.2 - resolution: "@polkadot/x-textencoder@npm:12.3.2" +"@polkadot/x-textencoder@npm:12.5.1": + version: 12.5.1 + resolution: "@polkadot/x-textencoder@npm:12.5.1" dependencies: - "@polkadot/x-global": 12.3.2 - tslib: ^2.5.3 - checksum: c383fab93904f6c47f87b1b111a002542c701844c82a62ead6bbbd19f23b58f87ebd47ec8578de7ed18b45668b43491cc60e44c343b9d59e80696e5c9357e962 + "@polkadot/x-global": 12.5.1 + tslib: ^2.6.2 + checksum: 7a8d99d203cbd9537e55405d737667ae8cd9ad40a9e3de52f2ef7580a23d27ebf7f7c52da4e0eca6ca34dc97aae33a97bab36afb54aaa7714f54a31931f94113 languageName: node linkType: hard -"@polkadot/x-ws@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/x-ws@npm:12.3.2" +"@polkadot/x-ws@npm:^12.5.1": + version: 12.5.1 + resolution: "@polkadot/x-ws@npm:12.5.1" dependencies: - "@polkadot/x-global": 12.3.2 - tslib: ^2.5.3 - ws: ^8.13.0 - checksum: 7bb18ada56bb7d441c1392ec459959ff7cfc27fd57953898cb19682ea2fd323b68946102e4fe1c5eb1eb89fa62eb2d8ea7be03382ef9a473cd8c74d039b875d1 + "@polkadot/x-global": 12.5.1 + tslib: ^2.6.2 + ws: ^8.14.1 + checksum: 839e82ab4bf013d17a356e2f10a42ba2ecf88f4e432985241e785416aeb6434c0e7c897b09aeeab23f5d27b27ef0dfe65eda85293c7a08f52d0774bb1b23704b languageName: node linkType: hard @@ -883,10 +883,10 @@ __metadata: languageName: node linkType: hard -"@scure/base@npm:1.1.1": - version: 1.1.1 - resolution: "@scure/base@npm:1.1.1" - checksum: b4fc810b492693e7e8d0107313ac74c3646970c198bbe26d7332820886fa4f09441991023ec9aa3a2a51246b74409ab5ebae2e8ef148bbc253da79ac49130309 +"@scure/base@npm:^1.1.3": + version: 1.1.3 + resolution: "@scure/base@npm:1.1.3" + checksum: 1606ab8a4db898cb3a1ada16c15437c3bce4e25854fadc8eb03ae93cbbbac1ed90655af4b0be3da37e12056fef11c0374499f69b9e658c9e5b7b3e06353c630c languageName: node linkType: hard @@ -904,21 +904,20 @@ __metadata: languageName: node linkType: hard -"@substrate/connect@npm:0.7.26": - version: 0.7.26 - resolution: "@substrate/connect@npm:0.7.26" +"@substrate/connect@npm:0.7.33": + version: 0.7.33 + resolution: "@substrate/connect@npm:0.7.33" dependencies: "@substrate/connect-extension-protocol": ^1.0.1 - eventemitter3: ^4.0.7 - smoldot: 1.0.4 - checksum: 3179d241f073318d5973deb61c9c8d9b89ae28909a594b6b9fbcdfffd030a70ba58e8428eaa9d72484810bad10c93de1ad9c440b878d0fcfaaf4559d2e6f4502 + smoldot: 2.0.1 + checksum: b4cfb86bef46450b6635e7dbf1eb133603c6ad8c955046e72fc67aaf36b1fe5f2aeeb521f4b1ea0a1eea9ac4c49b0f6417c24eb1320e8da13cc0d3efd7ee4cd7 languageName: node linkType: hard -"@substrate/ss58-registry@npm:^1.40.0": - version: 1.41.0 - resolution: "@substrate/ss58-registry@npm:1.41.0" - checksum: 1fb78d50415a3f1fbf0ed9b8a790ad8f76a480948bc58a189678732120918993d16693e39c365507b4dc63fa0c38c9e82624a79fc69efb9f6760e12558bedef3 +"@substrate/ss58-registry@npm:^1.43.0": + version: 1.43.0 + resolution: "@substrate/ss58-registry@npm:1.43.0" + checksum: b2ecfd7365b946be2db7e2c5fa1f9136ff840bb2b8e6ffac0f48cd83f01a95c8a0fee1bb744255591bfc1f76766cd834182cde8cbd96e7849549d189c5812b3c languageName: node linkType: hard @@ -2850,13 +2849,6 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:^4.0.7": - version: 4.0.7 - resolution: "eventemitter3@npm:4.0.7" - checksum: 1875311c42fcfe9c707b2712c32664a245629b42bb0a5a84439762dd0fd637fc54d078155ea83c2af9e0323c9ac13687e03cfba79b03af9f40c89b4960099374 - languageName: node - linkType: hard - "eventemitter3@npm:^5.0.1": version: 5.0.1 resolution: "eventemitter3@npm:5.0.1" @@ -3517,12 +3509,12 @@ __metadata: languageName: node linkType: hard -"handlebars@npm:^4.7.7": - version: 4.7.7 - resolution: "handlebars@npm:4.7.7" +"handlebars@npm:^4.7.8": + version: 4.7.8 + resolution: "handlebars@npm:4.7.8" dependencies: minimist: ^1.2.5 - neo-async: ^2.6.0 + neo-async: ^2.6.2 source-map: ^0.6.1 uglify-js: ^3.1.4 wordwrap: ^1.0.0 @@ -3531,7 +3523,7 @@ __metadata: optional: true bin: handlebars: bin/handlebars - checksum: 1e79a43f5e18d15742977cb987923eab3e2a8f44f2d9d340982bcb69e1735ed049226e534d7c1074eaddaf37e4fb4f471a8adb71cddd5bc8cf3f894241df5cee + checksum: 00e68bb5c183fd7b8b63322e6234b5ac8fbb960d712cb3f25587d559c2951d9642df83c04a1172c918c41bcfc81bfbd7a7718bbce93b893e0135fc99edea93ff languageName: node linkType: hard @@ -4177,7 +4169,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.15, lodash@npm:^4.17.21": +"lodash@npm:^4.17.15": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -4662,10 +4654,10 @@ __metadata: languageName: node linkType: hard -"mock-socket@npm:^9.2.1": - version: 9.2.1 - resolution: "mock-socket@npm:9.2.1" - checksum: daf07689563163dbcefbefe23b2a9784a75d0af31706f23ad535c6ab2abbcdefa2e91acddeb50a3c39009139e47a8f909cbb38e8137452193ccb9331637fee3e +"mock-socket@npm:^9.3.1": + version: 9.3.1 + resolution: "mock-socket@npm:9.3.1" + checksum: cb2dde4fc5dde280dd5ccb78eaaa223382ee16437f46b86558017655584ad08c22e733bde2dd5cc86927def506b6caeb0147e3167b9a62d70d5cf19d44103853 languageName: node linkType: hard @@ -4777,7 +4769,7 @@ __metadata: languageName: node linkType: hard -"neo-async@npm:^2.6.0": +"neo-async@npm:^2.6.2": version: 2.6.2 resolution: "neo-async@npm:2.6.2" checksum: deac9f8d00eda7b2e5cd1b2549e26e10a0faa70adaa6fdadca701cc55f49ee9018e427f424bac0c790b7c7e2d3068db97f3093f1093975f2acb8f8818b936ed9 @@ -4791,15 +4783,14 @@ __metadata: languageName: node linkType: hard -"nock@npm:^13.3.1": - version: 13.3.2 - resolution: "nock@npm:13.3.2" +"nock@npm:^13.3.4": + version: 13.3.6 + resolution: "nock@npm:13.3.6" dependencies: debug: ^4.1.0 json-stringify-safe: ^5.0.1 - lodash: ^4.17.21 propagate: ^2.0.0 - checksum: 1d7d5fda1816a3a0d2cb47f10283db139fcd15be6975db6f9b260efa781d5f0eeadf9bd7aab6db61191c519dd99bcd4c5c061e77880341be60abc39cd6163c1f + checksum: 795f334a17ed294b829968c177190571720492cc5113e2aa5b9d382c6508d81c8f79f6afae32009abce94213b0b7c1a474d582acf87e2c169d620314ac0ae60c languageName: node linkType: hard @@ -4833,14 +4824,14 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^3.3.1": - version: 3.3.1 - resolution: "node-fetch@npm:3.3.1" +"node-fetch@npm:^3.3.2": + version: 3.3.2 + resolution: "node-fetch@npm:3.3.2" dependencies: data-uri-to-buffer: ^4.0.0 fetch-blob: ^3.1.4 formdata-polyfill: ^4.0.10 - checksum: 62145fd3ba4770a76110bc31fdc0054ab2f5442b5ce96e9c4b39fc9e94a3d305560eec76e1165d9259eab866e02a8eecf9301062bb5dfc9f08a4d08b69d223dd + checksum: 06a04095a2ddf05b0830a0d5302699704d59bda3102894ea64c7b9d4c865ecdff2d90fd042df7f5bc40337266961cb6183dcc808ea4f3000d024f422b462da92 languageName: node linkType: hard @@ -5042,13 +5033,6 @@ __metadata: languageName: node linkType: hard -"pako@npm:^2.0.4": - version: 2.1.0 - resolution: "pako@npm:2.1.0" - checksum: 71666548644c9a4d056bcaba849ca6fd7242c6cf1af0646d3346f3079a1c7f4a66ffec6f7369ee0dc88f61926c10d6ab05da3e1fca44b83551839e89edd75a3e - languageName: node - linkType: hard - "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -5708,13 +5692,12 @@ __metadata: languageName: node linkType: hard -"smoldot@npm:1.0.4": - version: 1.0.4 - resolution: "smoldot@npm:1.0.4" +"smoldot@npm:2.0.1": + version: 2.0.1 + resolution: "smoldot@npm:2.0.1" dependencies: - pako: ^2.0.4 ws: ^8.8.1 - checksum: 81ecc38b98f7ac4dd093753e85956262608dca3c8a288c20a25fe1762a6afcdbe6f3622ea30a346df3f4145e0900ef0595e56e96e9e0de83c59f0649d1ab4786 + checksum: 77c1f541d039fe740157e9b81e2b13fc72dabe3ffd75644ee9958aee48d5c5458b6cc974d1e9233b1bcf3fde7af42a53a0e48452b6657405c64158a0c8168eee languageName: node linkType: hard @@ -6108,13 +6091,20 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.1.0, tslib@npm:^2.5.0, tslib@npm:^2.5.3": +"tslib@npm:^2.1.0": version: 2.6.0 resolution: "tslib@npm:2.6.0" checksum: c01066038f950016a18106ddeca4649b4d76caa76ec5a31e2a26e10586a59fceb4ee45e96719bf6c715648e7c14085a81fee5c62f7e9ebee68e77a5396e5538f languageName: node linkType: hard +"tslib@npm:^2.6.1, tslib@npm:^2.6.2": + version: 2.6.2 + resolution: "tslib@npm:2.6.2" + checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad + languageName: node + linkType: hard + "tunnel-agent@npm:^0.6.0": version: 0.6.0 resolution: "tunnel-agent@npm:0.6.0" @@ -6282,13 +6272,13 @@ __metadata: resolution: "unique-tests@workspace:." dependencies: "@openzeppelin/contracts": ^4.9.2 - "@polkadot/api": 10.9.1 - "@polkadot/rpc-core": ^10.9.1 - "@polkadot/typegen": 10.9.1 - "@polkadot/util": 12.3.2 - "@polkadot/util-crypto": 12.3.2 - "@polkadot/wasm-crypto-asmjs": ^7.2.1 - "@polkadot/wasm-crypto-wasm": ^7.2.1 + "@polkadot/api": 10.10.1 + "@polkadot/rpc-core": ^10.10.1 + "@polkadot/typegen": 10.10.1 + "@polkadot/util": 12.5.1 + "@polkadot/util-crypto": 12.5.1 + "@polkadot/wasm-crypto-asmjs": ^7.2.2 + "@polkadot/wasm-crypto-wasm": ^7.2.2 "@rmrk-team/evm-contracts": ^1.2.1 "@typechain/web3-v1": ^6.0.3 "@types/chai": ^4.3.3 @@ -6872,7 +6862,22 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.13.0, ws@npm:^8.8.1": +"ws@npm:^8.14.1": + version: 8.14.2 + resolution: "ws@npm:8.14.2" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 3ca0dad26e8cc6515ff392b622a1467430814c463b3368b0258e33696b1d4bed7510bc7030f7b72838b9fdeb8dbd8839cbf808367d6aae2e1d668ce741d4308b + languageName: node + linkType: hard + +"ws@npm:^8.8.1": version: 8.13.0 resolution: "ws@npm:8.13.0" peerDependencies: From 6ad9ed9c9777d7368b2dc6622aec07968fc86e25 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 20 Oct 2023 14:57:14 +0200 Subject: [PATCH 06/10] fix: xcmpQueue Fail event --- tests/src/util/playgrounds/unique.dev.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/util/playgrounds/unique.dev.ts b/tests/src/util/playgrounds/unique.dev.ts index 57c54e8227..1980f8b5ad 100644 --- a/tests/src/util/playgrounds/unique.dev.ts +++ b/tests/src/util/playgrounds/unique.dev.ts @@ -257,7 +257,7 @@ export class Event { static Fail = this.Method('Fail', data => ({ messageHash: eventJsonData(data, 0), - outcome: eventData(data, 1), + outcome: eventData(data, 2), })); }; @@ -1306,7 +1306,7 @@ class WaitGroup { // eslint-disable-next-line no-async-promise-executor const promise = new Promise(async (resolve) => { const unsubscribe = await this.helper.getApi().rpc.chain.subscribeNewHeads(async header => { - const blockNumber = header.number.toHuman(); + const blockNumber = header.number.toJSON(); const blockHash = header.hash; const eventIdStr = `${eventHelper.section()}.${eventHelper.method()}`; const waitLimitStr = `wait blocks remaining: ${maxBlocksToWait}`; From 7fa45b56518f4fdf9f5c5648e815b2d1f6d0b8e0 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 20 Oct 2023 15:17:45 +0200 Subject: [PATCH 07/10] fix: dmq event --- tests/src/util/playgrounds/unique.dev.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/util/playgrounds/unique.dev.ts b/tests/src/util/playgrounds/unique.dev.ts index 1980f8b5ad..7076ee8605 100644 --- a/tests/src/util/playgrounds/unique.dev.ts +++ b/tests/src/util/playgrounds/unique.dev.ts @@ -263,7 +263,7 @@ export class Event { static DmpQueue = class extends EventSection('dmpQueue') { static ExecutedDownward = this.Method('ExecutedDownward', data => ({ - outcome: eventData(data, 1), + outcome: eventData(data, 2), })); }; } From 7f04dc961d64a2330396ad6bb1eb6652f1fb3838 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 20 Oct 2023 15:31:19 +0200 Subject: [PATCH 08/10] chore: update polkadot types --- tests/src/interfaces/augment-api-consts.ts | 21 +- tests/src/interfaces/augment-api-errors.ts | 30 +- tests/src/interfaces/augment-api-events.ts | 202 +- tests/src/interfaces/augment-api-query.ts | 92 +- tests/src/interfaces/augment-api-runtime.ts | 72 +- tests/src/interfaces/augment-api-tx.ts | 2375 +++---------------- tests/src/interfaces/augment-types.ts | 144 +- tests/src/interfaces/default/types.ts | 2312 ++++++++++-------- tests/src/interfaces/lookup.ts | 1345 ++++++----- tests/src/interfaces/registry.ts | 127 +- tests/src/interfaces/types-lookup.ts | 1310 +++++----- 11 files changed, 3592 insertions(+), 4438 deletions(-) diff --git a/tests/src/interfaces/augment-api-consts.ts b/tests/src/interfaces/augment-api-consts.ts index 165d7a4d2e..46fd606d94 100644 --- a/tests/src/interfaces/augment-api-consts.ts +++ b/tests/src/interfaces/augment-api-consts.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Codec, ITuple } from '@polkadot/types-codec/types'; import type { H160, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; -import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, XcmV3MultiLocation } from '@polkadot/types/lookup'; +import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, UpDataStructsCollectionLimits } from '@polkadot/types/lookup'; export type __AugmentedConst = AugmentedConst; @@ -79,13 +79,6 @@ declare module '@polkadot/api-base/types/consts' { **/ [key: string]: Codec; }; - collatorSelection: { - licenceBondIdentifier: U8aFixed & AugmentedConst; - /** - * Generic const - **/ - [key: string]: Codec; - }; common: { /** * Maximum admins per collection. @@ -518,6 +511,16 @@ declare module '@polkadot/api-base/types/consts' { **/ [key: string]: Codec; }; + utility: { + /** + * The limit on the number of batched calls. + **/ + batchedCallsLimit: u32 & AugmentedConst; + /** + * Generic const + **/ + [key: string]: Codec; + }; vesting: { /** * The minimum amount transferred to call `vested_transfer`. @@ -539,7 +542,7 @@ declare module '@polkadot/api-base/types/consts' { /** * Self chain location. **/ - selfLocation: XcmV3MultiLocation & AugmentedConst; + selfLocation: StagingXcmV3MultiLocation & AugmentedConst; /** * Generic const **/ diff --git a/tests/src/interfaces/augment-api-errors.ts b/tests/src/interfaces/augment-api-errors.ts index d829173e58..f2aa64459e 100644 --- a/tests/src/interfaces/augment-api-errors.ts +++ b/tests/src/interfaces/augment-api-errors.ts @@ -226,6 +226,10 @@ declare module '@polkadot/api-base/types/errors' { * Empty property keys are forbidden **/ EmptyPropertyKey: AugmentedError; + /** + * Fungible tokens hold no ID, and the default value of TokenId for a fungible collection is 0. + **/ + FungibleItemsHaveNoId: AugmentedError; /** * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed **/ @@ -327,6 +331,10 @@ declare module '@polkadot/api-base/types/errors' { * Account is not a member **/ NotMember: AugmentedError; + /** + * Prime account is not a member + **/ + PrimeAccountNotMember: AugmentedError; /** * Proposal must exist **/ @@ -737,10 +745,6 @@ declare module '@polkadot/api-base/types/errors' { * Tried to set data for fungible item. **/ FungibleItemsDontHaveData: AugmentedError; - /** - * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0. - **/ - FungibleItemsHaveNoId: AugmentedError; /** * Only a fungible collection could be possibly broken; any fungible token is valid. **/ @@ -966,8 +970,8 @@ declare module '@polkadot/api-base/types/errors' { **/ NoSubscription: AugmentedError; /** - * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps - * a lack of space for buffering the message. + * There was some other issue (i.e. not to do with routing) in sending the message. + * Perhaps a lack of space for buffering the message. **/ SendFailure: AugmentedError; /** @@ -1223,6 +1227,10 @@ declare module '@polkadot/api-base/types/errors' { * Account is not a member **/ NotMember: AugmentedError; + /** + * Prime account is not a member + **/ + PrimeAccountNotMember: AugmentedError; /** * Proposal must exist **/ @@ -1358,6 +1366,16 @@ declare module '@polkadot/api-base/types/errors' { **/ [key: string]: AugmentedError; }; + utility: { + /** + * Too many calls batched. + **/ + TooManyCalls: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; vesting: { /** * The vested transfer amount is too low diff --git a/tests/src/interfaces/augment-api-events.ts b/tests/src/interfaces/augment-api-events.ts index 014760cf80..1ce8ce7ce7 100644 --- a/tests/src/interfaces/augment-api-events.ts +++ b/tests/src/interfaces/augment-api-events.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; import type { Bytes, Null, Option, Result, U8aFixed, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime'; -import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, OrmlVestingVestingSchedule, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup'; +import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, OrmlVestingVestingSchedule, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetId, PalletForeignAssetsModuleAssetMetadata, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV3MultiAsset, StagingXcmV3MultiLocation, StagingXcmV3MultiassetMultiAssets, StagingXcmV3Response, StagingXcmV3TraitsError, StagingXcmV3TraitsOutcome, StagingXcmV3Xcm, StagingXcmVersionedMultiAssets, StagingXcmVersionedMultiLocation } from '@polkadot/types/lookup'; export type __AugmentedEvent = AugmentedEvent; @@ -331,7 +331,7 @@ declare module '@polkadot/api-base/types/events' { * Downward message executed with the given outcome. * \[ id, outcome \] **/ - ExecutedDownward: AugmentedEvent; + ExecutedDownward: AugmentedEvent; /** * Downward message is invalid XCM. * \[ id \] @@ -425,19 +425,19 @@ declare module '@polkadot/api-base/types/events' { /** * Downward message executed with the given outcome. **/ - ExecutedDownward: AugmentedEvent; + ExecutedDownward: AugmentedEvent; /** * Downward message is invalid XCM. **/ - InvalidFormat: AugmentedEvent; + InvalidFormat: AugmentedEvent; /** - * The maximum number of downward messages was. + * The maximum number of downward messages was reached. **/ - MaxMessagesExhausted: AugmentedEvent; + MaxMessagesExhausted: AugmentedEvent; /** * Downward message is overweight and was placed in the overweight queue. **/ - OverweightEnqueued: AugmentedEvent; + OverweightEnqueued: AugmentedEvent; /** * Downward message from the overweight queue was executed. **/ @@ -445,11 +445,11 @@ declare module '@polkadot/api-base/types/events' { /** * Downward message is unsupported version of XCM. **/ - UnsupportedVersion: AugmentedEvent; + UnsupportedVersion: AugmentedEvent; /** * The weight limit for handling downward messages was reached. **/ - WeightExhausted: AugmentedEvent; + WeightExhausted: AugmentedEvent; /** * Generic event **/ @@ -610,19 +610,19 @@ declare module '@polkadot/api-base/types/events' { /** * The asset registered. **/ - AssetRegistered: AugmentedEvent; + AssetRegistered: AugmentedEvent; /** * The asset updated. **/ - AssetUpdated: AugmentedEvent; + AssetUpdated: AugmentedEvent; /** * The foreign asset registered. **/ - ForeignAssetRegistered: AugmentedEvent; + ForeignAssetRegistered: AugmentedEvent; /** * The foreign asset updated. **/ - ForeignAssetUpdated: AugmentedEvent; + ForeignAssetUpdated: AugmentedEvent; /** * Generic event **/ @@ -732,36 +732,26 @@ declare module '@polkadot/api-base/types/events' { polkadotXcm: { /** * Some assets have been claimed from an asset trap - * - * \[ hash, origin, assets \] **/ - AssetsClaimed: AugmentedEvent; + AssetsClaimed: AugmentedEvent; /** * Some assets have been placed in an asset trap. - * - * \[ hash, origin, assets \] **/ - AssetsTrapped: AugmentedEvent; + AssetsTrapped: AugmentedEvent; /** * Execution of an XCM message was attempted. - * - * \[ outcome \] **/ - Attempted: AugmentedEvent; + Attempted: AugmentedEvent; /** * Fees were paid from a location for an operation (often for using `SendXcm`). - * - * \[ paying location, fees \] **/ - FeesPaid: AugmentedEvent; + FeesPaid: AugmentedEvent; /** * Expected query response has been received but the querier location of the response does * not match the expected. The query remains registered for a later, valid, response to * be received and acted upon. - * - * \[ origin location, id, expected querier, maybe actual querier \] **/ - InvalidQuerier: AugmentedEvent]>; + InvalidQuerier: AugmentedEvent], { origin: StagingXcmV3MultiLocation, queryId: u64, expectedQuerier: StagingXcmV3MultiLocation, maybeActualQuerier: Option }>; /** * Expected query response has been received but the expected querier location placed in * storage by this runtime previously cannot be decoded. The query remains registered. @@ -770,18 +760,14 @@ declare module '@polkadot/api-base/types/events' { * runtime should be readable prior to query timeout) and dangerous since the possibly * valid response will be dropped. Manual governance intervention is probably going to be * needed. - * - * \[ origin location, id \] **/ - InvalidQuerierVersion: AugmentedEvent; + InvalidQuerierVersion: AugmentedEvent; /** * Expected query response has been received but the origin location of the response does * not match that expected. The query remains registered for a later, valid, response to * be received and acted upon. - * - * \[ origin location, id, expected location \] **/ - InvalidResponder: AugmentedEvent]>; + InvalidResponder: AugmentedEvent], { origin: StagingXcmV3MultiLocation, queryId: u64, expectedLocation: Option }>; /** * Expected query response has been received but the expected origin location placed in * storage by this runtime previously cannot be decoded. The query remains registered. @@ -790,115 +776,84 @@ declare module '@polkadot/api-base/types/events' { * runtime should be readable prior to query timeout) and dangerous since the possibly * valid response will be dropped. Manual governance intervention is probably going to be * needed. - * - * \[ origin location, id \] **/ - InvalidResponderVersion: AugmentedEvent; + InvalidResponderVersion: AugmentedEvent; /** * Query response has been received and query is removed. The registered notification has * been dispatched and executed successfully. - * - * \[ id, pallet index, call index \] **/ - Notified: AugmentedEvent; + Notified: AugmentedEvent; /** * Query response has been received and query is removed. The dispatch was unable to be * decoded into a `Call`; this might be due to dispatch function having a signature which * is not `(origin, QueryId, Response)`. - * - * \[ id, pallet index, call index \] **/ - NotifyDecodeFailed: AugmentedEvent; + NotifyDecodeFailed: AugmentedEvent; /** * Query response has been received and query is removed. There was a general error with * dispatching the notification call. - * - * \[ id, pallet index, call index \] **/ - NotifyDispatchError: AugmentedEvent; + NotifyDispatchError: AugmentedEvent; /** - * Query response has been received and query is removed. The registered notification could - * not be dispatched because the dispatch weight is greater than the maximum weight + * Query response has been received and query is removed. The registered notification + * could not be dispatched because the dispatch weight is greater than the maximum weight * originally budgeted by this runtime for the query result. - * - * \[ id, pallet index, call index, actual weight, max budgeted weight \] **/ - NotifyOverweight: AugmentedEvent; + NotifyOverweight: AugmentedEvent; /** * A given location which had a version change subscription was dropped owing to an error * migrating the location to our new XCM format. - * - * \[ location, query ID \] **/ - NotifyTargetMigrationFail: AugmentedEvent; + NotifyTargetMigrationFail: AugmentedEvent; /** * A given location which had a version change subscription was dropped owing to an error * sending the notification to it. - * - * \[ location, query ID, error \] **/ - NotifyTargetSendFail: AugmentedEvent; + NotifyTargetSendFail: AugmentedEvent; /** * Query response has been received and is ready for taking with `take_response`. There is * no registered notification call. - * - * \[ id, response \] **/ - ResponseReady: AugmentedEvent; + ResponseReady: AugmentedEvent; /** * Received query response has been read and removed. - * - * \[ id \] **/ - ResponseTaken: AugmentedEvent; + ResponseTaken: AugmentedEvent; /** * A XCM message was sent. - * - * \[ origin, destination, message \] **/ - Sent: AugmentedEvent; + Sent: AugmentedEvent; /** * The supported version of a location has been changed. This might be through an * automatic notification or a manual intervention. - * - * \[ location, XCM version \] **/ - SupportedVersionChanged: AugmentedEvent; + SupportedVersionChanged: AugmentedEvent; /** * Query response received which does not match a registered query. This may be because a * matching query was never registered, it may be because it is a duplicate response, or * because the query timed out. - * - * \[ origin location, id \] **/ - UnexpectedResponse: AugmentedEvent; + UnexpectedResponse: AugmentedEvent; /** * An XCM version change notification message has been attempted to be sent. * * The cost of sending it (borne by the chain) is included. - * - * \[ destination, result, cost \] **/ - VersionChangeNotified: AugmentedEvent; + VersionChangeNotified: AugmentedEvent; /** - * We have requested that a remote chain sends us XCM version change notifications. - * - * \[ destination location, cost \] + * We have requested that a remote chain send us XCM version change notifications. **/ - VersionNotifyRequested: AugmentedEvent; + VersionNotifyRequested: AugmentedEvent; /** * A remote has requested XCM version change notification from us and we have honored it. * A version information message is sent to them and its cost is included. - * - * \[ destination location, cost \] **/ - VersionNotifyStarted: AugmentedEvent; + VersionNotifyStarted: AugmentedEvent; /** - * We have requested that a remote chain stops sending us XCM version change notifications. - * - * \[ destination location, cost \] + * We have requested that a remote chain stops sending us XCM version change + * notifications. **/ - VersionNotifyUnrequested: AugmentedEvent; + VersionNotifyUnrequested: AugmentedEvent; /** * Generic event **/ @@ -1123,65 +1078,67 @@ declare module '@polkadot/api-base/types/events' { /** * A balance was set by root. **/ - BalanceSet: AugmentedEvent; + BalanceSet: AugmentedEvent; /** * Deposited some balance into an account **/ - Deposited: AugmentedEvent; + Deposited: AugmentedEvent; /** * An account was removed whose balance was non-zero but below * ExistentialDeposit, resulting in an outright loss. **/ - DustLost: AugmentedEvent; + DustLost: AugmentedEvent; /** * An account was created with some free balance. **/ - Endowed: AugmentedEvent; + Endowed: AugmentedEvent; + Issued: AugmentedEvent; /** * Some free balance was locked. **/ - Locked: AugmentedEvent; + Locked: AugmentedEvent; /** * Some locked funds were unlocked **/ - LockRemoved: AugmentedEvent; + LockRemoved: AugmentedEvent; /** * Some funds are locked **/ - LockSet: AugmentedEvent; + LockSet: AugmentedEvent; + Rescinded: AugmentedEvent; /** * Some balance was reserved (moved from free to reserved). **/ - Reserved: AugmentedEvent; + Reserved: AugmentedEvent; /** * Some reserved balance was repatriated (moved from reserved to * another account). **/ - ReserveRepatriated: AugmentedEvent; + ReserveRepatriated: AugmentedEvent; /** * Some balances were slashed (e.g. due to mis-behavior) **/ - Slashed: AugmentedEvent; + Slashed: AugmentedEvent; /** * The total issuance of an currency has been set **/ - TotalIssuanceSet: AugmentedEvent; + TotalIssuanceSet: AugmentedEvent; /** * Transfer succeeded. **/ - Transfer: AugmentedEvent; + Transfer: AugmentedEvent; /** * Some locked balance was freed. **/ - Unlocked: AugmentedEvent; + Unlocked: AugmentedEvent; /** * Some balance was unreserved (moved from reserved to free). **/ - Unreserved: AugmentedEvent; + Unreserved: AugmentedEvent; /** * Some balances were withdrawn (e.g. pay for transaction fee) **/ - Withdrawn: AugmentedEvent; + Withdrawn: AugmentedEvent; /** * Generic event **/ @@ -1240,6 +1197,37 @@ declare module '@polkadot/api-base/types/events' { **/ [key: string]: AugmentedEvent; }; + utility: { + /** + * Batch of dispatches completed fully with no error. + **/ + BatchCompleted: AugmentedEvent; + /** + * Batch of dispatches completed but has errors. + **/ + BatchCompletedWithErrors: AugmentedEvent; + /** + * Batch of dispatches did not complete fully. Index of first failing dispatch given, as + * well as the error. + **/ + BatchInterrupted: AugmentedEvent; + /** + * A call was dispatched. + **/ + DispatchedAs: AugmentedEvent], { result: Result }>; + /** + * A single item within a Batch of dispatches has completed with no error. + **/ + ItemCompleted: AugmentedEvent; + /** + * A single item within a Batch of dispatches has completed with error. + **/ + ItemFailed: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; vesting: { /** * Claimed vesting. @@ -1262,15 +1250,15 @@ declare module '@polkadot/api-base/types/events' { /** * Bad XCM format used. **/ - BadFormat: AugmentedEvent], { messageHash: Option }>; + BadFormat: AugmentedEvent; /** * Bad XCM version used. **/ - BadVersion: AugmentedEvent], { messageHash: Option }>; + BadVersion: AugmentedEvent; /** * Some XCM failed. **/ - Fail: AugmentedEvent, error: XcmV3TraitsError, weight: SpWeightsWeightV2Weight], { messageHash: Option, error: XcmV3TraitsError, weight: SpWeightsWeightV2Weight }>; + Fail: AugmentedEvent; /** * An XCM exceeded the individual message weight budget. **/ @@ -1282,11 +1270,11 @@ declare module '@polkadot/api-base/types/events' { /** * Some XCM was executed ok. **/ - Success: AugmentedEvent, weight: SpWeightsWeightV2Weight], { messageHash: Option, weight: SpWeightsWeightV2Weight }>; + Success: AugmentedEvent; /** * An HRMP message was sent to a sibling parachain. **/ - XcmpMessageSent: AugmentedEvent], { messageHash: Option }>; + XcmpMessageSent: AugmentedEvent; /** * Generic event **/ @@ -1296,7 +1284,7 @@ declare module '@polkadot/api-base/types/events' { /** * Transferred `MultiAsset` with fee. **/ - TransferredMultiAssets: AugmentedEvent; + TransferredMultiAssets: AugmentedEvent; /** * Generic event **/ diff --git a/tests/src/interfaces/augment-api-query.ts b/tests/src/interfaces/augment-api-query.ts index 5958dbe424..48dc53f49c 100644 --- a/tests/src/interfaces/augment-api-query.ts +++ b/tests/src/interfaces/augment-api-query.ts @@ -7,10 +7,10 @@ import '@polkadot/api-base/types/storage'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; import type { Data } from '@polkadot/types'; -import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { BTreeMap, Bytes, Option, Struct, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256 } from '@polkadot/types/interfaces/runtime'; -import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletCollectiveVotes, PalletConfigurationAppPromotionConfiguration, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCodeMetadata, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletPreimageRequestStatus, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV4AbridgedHostConfiguration, PolkadotPrimitivesV4PersistedValidationData, PolkadotPrimitivesV4UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV3MultiLocation, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup'; +import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletCollectiveVotes, PalletConfigurationAppPromotionConfiguration, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCodeMetadata, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetId, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletPreimageRequestStatus, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV5AbridgedHostConfiguration, PolkadotPrimitivesV5PersistedValidationData, PolkadotPrimitivesV5UpgradeGoAhead, PolkadotPrimitivesV5UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, StagingXcmVersionedAssetId, StagingXcmVersionedMultiLocation, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild } from '@polkadot/types/lookup'; import type { Observable } from '@polkadot/types/types'; export type __AugmentedQuery = AugmentedQuery unknown>; @@ -81,10 +81,16 @@ declare module '@polkadot/api-base/types/storage' { * Serves as cache for the authorities. * * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session, - * but we require the old authorities to verify the seal when validating a PoV. This will always - * be updated to the latest AuRa authorities in `on_finalize`. + * but we require the old authorities to verify the seal when validating a PoV. This will + * always be updated to the latest AuRa authorities in `on_finalize`. **/ authorities: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Current slot paired with a number of authored blocks. + * + * Updated on each block initialization. + **/ + slotInfo: AugmentedQuery Observable>>, []> & QueryableStorageEntry; /** * Generic query **/ @@ -135,7 +141,10 @@ declare module '@polkadot/api-base/types/storage' { /** * Holds on account balances. **/ - holds: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; + holds: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * The total units of outstanding deactivated balance in the system. **/ @@ -569,19 +578,19 @@ declare module '@polkadot/api-base/types/storage' { * * AssetMetadatas: map AssetIds => Option **/ - assetMetadatas: AugmentedQuery Observable>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry; + assetMetadatas: AugmentedQuery Observable>, [PalletForeignAssetsAssetId]> & QueryableStorageEntry; /** * The storages for MultiLocations. * * ForeignAssetLocations: map ForeignAssetId => Option **/ - foreignAssetLocations: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; + foreignAssetLocations: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; /** * The storages for CurrencyIds. * * LocationToCurrencyIds: map MultiLocation => Option **/ - locationToCurrencyIds: AugmentedQuery Observable>, [XcmV3MultiLocation]> & QueryableStorageEntry; + locationToCurrencyIds: AugmentedQuery Observable>, [StagingXcmV3MultiLocation]> & QueryableStorageEntry; /** * Next available Foreign AssetId ID. * @@ -716,7 +725,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Map of key-value pairs, describing the metadata of a token. **/ - tokenProperties: AugmentedQuery Observable, [u32, u32]> & QueryableStorageEntry; + tokenProperties: AugmentedQuery Observable>, [u32, u32]> & QueryableStorageEntry; /** * Amount of burnt tokens in a collection. **/ @@ -738,6 +747,12 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; parachainSystem: { + /** + * Storage field that keeps track of bandwidth used by the unincluded segment along with the + * latest the latest HRMP watermark. Used for limiting the acceptance of new blocks with + * respect to relay chain constraints. + **/ + aggregatedUnincludedSegment: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The number of HRMP messages we observed in `on_initialize` and thus used that number for * announcing the weight of `on_initialize` and `on_finalize`. @@ -750,7 +765,7 @@ declare module '@polkadot/api-base/types/storage' { /** * A custom head data that should be returned as result of `validate_block`. * - * See [`Pallet::set_custom_validation_head_data`] for more information. + * See `Pallet::set_custom_validation_head_data` for more information. **/ customValidationHeadData: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** @@ -765,7 +780,7 @@ declare module '@polkadot/api-base/types/storage' { * * This data is also absent from the genesis. **/ - hostConfiguration: AugmentedQuery Observable>, []> & QueryableStorageEntry; + hostConfiguration: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * HRMP messages that were sent in a block. * @@ -809,12 +824,12 @@ declare module '@polkadot/api-base/types/storage' { **/ pendingUpwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * In case of a scheduled upgrade, this storage field contains the validation code to be applied. - * - * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE] - * which will result the next block process with the new validation code. This concludes the upgrade process. + * In case of a scheduled upgrade, this storage field contains the validation code to be + * applied. * - * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE + * As soon as the relay chain gives us the go-ahead signal, we will overwrite the + * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process + * with the new validation code. This concludes the upgrade process. **/ pendingValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -852,6 +867,23 @@ declare module '@polkadot/api-base/types/storage' { * overrides the amount set in the Config trait. **/ reservedXcmpWeightOverride: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Latest included block descendants the runtime accepted. In other words, these are + * ancestors of the currently executing block which have not been included in the observed + * relay-chain state. + * + * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured + * in the pallet. + **/ + unincludedSegment: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Optional upgrade go-ahead signal from the relay-chain. + * + * This storage item is a mirror of the corresponding value for the current parachain from the + * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is + * set after the inherent. + **/ + upgradeGoAhead: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * An option which indicates if the relay-chain restricts signalling a validation code upgrade. * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced @@ -861,7 +893,7 @@ declare module '@polkadot/api-base/types/storage' { * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. **/ - upgradeRestrictionSignal: AugmentedQuery Observable>, []> & QueryableStorageEntry; + upgradeRestrictionSignal: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Upward messages that were sent in a block. * @@ -873,7 +905,7 @@ declare module '@polkadot/api-base/types/storage' { * This value is expected to be set only once per block and it's never stored * in the trie. **/ - validationData: AugmentedQuery Observable>, []> & QueryableStorageEntry; + validationData: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query **/ @@ -894,7 +926,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Fungible assets which we know are locked on this chain. **/ - lockedFungibles: AugmentedQuery Observable>>>, [AccountId32]> & QueryableStorageEntry; + lockedFungibles: AugmentedQuery Observable>>>, [AccountId32]> & QueryableStorageEntry; /** * The ongoing queries. **/ @@ -906,7 +938,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Fungible assets which we know are locked on a remote chain. **/ - remoteLockedFungibles: AugmentedQuery Observable>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry; + remoteLockedFungibles: AugmentedQuery Observable>, [u32, AccountId32, StagingXcmVersionedAssetId]> & QueryableStorageEntry; /** * Default version to encode XCM when latest version of destination is unknown. If `None`, * then the destinations whose XCM version is unknown are considered unreachable. @@ -915,22 +947,22 @@ declare module '@polkadot/api-base/types/storage' { /** * The Latest versions that we know various locations support. **/ - supportedVersion: AugmentedQuery Observable>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry; + supportedVersion: AugmentedQuery Observable>, [u32, StagingXcmVersionedMultiLocation]> & QueryableStorageEntry; /** * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and * the `u32` counter is the number of times that a send to the destination has been attempted, * which is used as a prioritization. **/ - versionDiscoveryQueue: AugmentedQuery Observable>>, []> & QueryableStorageEntry; + versionDiscoveryQueue: AugmentedQuery Observable>>, []> & QueryableStorageEntry; /** * All locations that we have requested version notifications from. **/ - versionNotifiers: AugmentedQuery Observable>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry; + versionNotifiers: AugmentedQuery Observable>, [u32, StagingXcmVersionedMultiLocation]> & QueryableStorageEntry; /** * The target locations that are subscribed to our version changes, as well as the most recent * of our versions we informed them of. **/ - versionNotifyTargets: AugmentedQuery Observable>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry; + versionNotifyTargets: AugmentedQuery Observable>>, [u32, StagingXcmVersionedMultiLocation]> & QueryableStorageEntry; /** * Global suspension state of the XCM executor. **/ @@ -975,7 +1007,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Amount of pieces a refungible token is split into. **/ - tokenProperties: AugmentedQuery Observable, [u32, u32]> & QueryableStorageEntry; + tokenProperties: AugmentedQuery Observable>, [u32, u32]> & QueryableStorageEntry; /** * Amount of tokens burnt in a collection. **/ @@ -1129,7 +1161,7 @@ declare module '@polkadot/api-base/types/storage' { * allows light-clients to leverage the changes trie storage tracking mechanism and * in case of changes fetch the list of events of interest. * - * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just + * The value has the type `(BlockNumberFor, EventIndex)` because if we used only just * the `EventIndex` then in case if the topic has the same contents on the next block * no notification will be triggered thus the event might be lost. **/ @@ -1247,20 +1279,20 @@ declare module '@polkadot/api-base/types/storage' { * NOTE: This is only used in the case that this module is used to store * balances. **/ - accounts: AugmentedQuery Observable, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry; + accounts: AugmentedQuery Observable, [AccountId32, PalletForeignAssetsAssetId]> & QueryableStorageEntry; /** * Any liquidity locks of a token type under an account. * NOTE: Should only be accessed when setting, changing and freeing a lock. **/ - locks: AugmentedQuery Observable>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry; + locks: AugmentedQuery Observable>, [AccountId32, PalletForeignAssetsAssetId]> & QueryableStorageEntry; /** * Named reserves on some account balances. **/ - reserves: AugmentedQuery Observable>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry; + reserves: AugmentedQuery Observable>, [AccountId32, PalletForeignAssetsAssetId]> & QueryableStorageEntry; /** * The total issuance of a token type. **/ - totalIssuance: AugmentedQuery Observable, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry; + totalIssuance: AugmentedQuery Observable, [PalletForeignAssetsAssetId]> & QueryableStorageEntry; /** * Generic query **/ diff --git a/tests/src/interfaces/augment-api-runtime.ts b/tests/src/interfaces/augment-api-runtime.ts index 9e277ca6cb..7e7525759f 100644 --- a/tests/src/interfaces/augment-api-runtime.ts +++ b/tests/src/interfaces/augment-api-runtime.ts @@ -6,19 +6,20 @@ import '@polkadot/api-base/types/calls'; import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types'; -import type { Bytes, Null, Option, Vec, u32 } from '@polkadot/types-codec'; +import type { Bytes, Null, Option, Result, U256, Vec, bool, u256, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder'; import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { CollationInfo } from '@polkadot/types/interfaces/cumulus'; -import type { TransactionV2 } from '@polkadot/types/interfaces/eth'; +import type { BlockV2, EthReceiptV3, EthTransactionStatus, TransactionV2 } from '@polkadot/types/interfaces/eth'; +import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from '@polkadot/types/interfaces/evm'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; -import type { AccountId, Balance, Block, Header, Index, KeyTypeId, SlotDuration, Weight } from '@polkadot/types/interfaces/runtime'; +import type { AccountId, Balance, Block, H160, H256, Header, Index, KeyTypeId, Permill, SlotDuration, Weight } from '@polkadot/types/interfaces/runtime'; import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; -import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system'; +import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system'; import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; @@ -117,6 +118,69 @@ declare module '@polkadot/api-base/types/calls' { **/ [key: string]: DecoratedCallBase; }; + /** 0x582211f65bb14b89/5 */ + ethereumRuntimeRPCApi: { + /** + * Returns pallet_evm::Accounts by address. + **/ + accountBasic: AugmentedCall Observable>; + /** + * For a given account address, returns pallet_evm::AccountCodes. + **/ + accountCodeAt: AugmentedCall Observable>; + /** + * Returns the converted FindAuthor::find_author authority id. + **/ + author: AugmentedCall Observable>; + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ + call: AugmentedCall | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option]>>> | null | Uint8Array | Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => Observable>>; + /** + * Returns runtime defined pallet_evm::ChainId. + **/ + chainId: AugmentedCall Observable>; + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ + create: AugmentedCall | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option]>>> | null | Uint8Array | Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => Observable>>; + /** + * Return all the current data for a block in a single runtime call. + **/ + currentAll: AugmentedCall Observable, Option>, Option>]>>>; + /** + * Return the current block. + **/ + currentBlock: AugmentedCall Observable>; + /** + * Return the current receipt. + **/ + currentReceipts: AugmentedCall Observable>>>; + /** + * Return the current transaction status. + **/ + currentTransactionStatuses: AugmentedCall Observable>>>; + /** + * Return the elasticity multiplier. + **/ + elasticity: AugmentedCall Observable>>; + /** + * Receives a `Vec` and filters all the ethereum transactions. + **/ + extrinsicFilter: AugmentedCall | (Extrinsic | IExtrinsic | string | Uint8Array)[]) => Observable>>; + /** + * Returns FixedGasPrice::min_gas_price + **/ + gasPrice: AugmentedCall Observable>; + /** + * For a given account address and index, returns pallet_evm::AccountStorages. + **/ + storageAt: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; /** 0x37e397fc7c91f5e4/2 */ metadata: { /** diff --git a/tests/src/interfaces/augment-api-tx.ts b/tests/src/interfaces/augment-api-tx.ts index 1b2c36bfb6..e7890eafd3 100644 --- a/tests/src/interfaces/augment-api-tx.ts +++ b/tests/src/interfaces/augment-api-tx.ts @@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types'; import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256, MultiAddress } from '@polkadot/types/interfaces/runtime'; -import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, OpalRuntimeOriginCaller, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; +import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, OpalRuntimeOriginCaller, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetId, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, StagingXcmV3WeightLimit, StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiAssets, StagingXcmVersionedMultiLocation, StagingXcmVersionedXcm, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission } from '@polkadot/types/lookup'; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __SubmittableExtrinsic = SubmittableExtrinsic; @@ -20,122 +20,43 @@ declare module '@polkadot/api-base/types/submittable' { interface AugmentedSubmittables { appPromotion: { /** - * Called for blocks that, for some reason, have not been unstacked - * - * # Permissions - * - * * Sudo - * - * # Arguments - * - * * `origin`: Must be `Root`. - * * `pending_blocks`: Block numbers that will be processed. + * See [`Pallet::force_unstake`]. **/ forceUnstake: AugmentedSubmittable<(pendingBlocks: Vec | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * Recalculates interest for the specified number of stakers. - * If all stakers are not recalculated, the next call of the extrinsic - * will continue the recalculation, from those stakers for whom this - * was not perform in last call. - * - * # Permissions - * - * * Pallet admin - * - * # Arguments - * - * * `stakers_number`: the number of stakers for which recalculation will be performed + * See [`Pallet::payout_stakers`]. **/ payoutStakers: AugmentedSubmittable<(stakersNumber: Option | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic, [Option]>; /** - * Sets an address as the the admin. - * - * # Permissions - * - * * Sudo - * - * # Arguments - * - * * `admin`: account of the new admin. + * See [`Pallet::set_admin_address`]. **/ setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr]>; /** - * Sets the pallet to be the sponsor for the collection. - * - * # Permissions - * - * * Pallet admin - * - * # Arguments - * - * * `collection_id`: ID of the collection that will be sponsored by `pallet_id` + * See [`Pallet::sponsor_collection`]. **/ sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Sets the pallet to be the sponsor for the contract. - * - * # Permissions - * - * * Pallet admin - * - * # Arguments - * - * * `contract_id`: the contract address that will be sponsored by `pallet_id` + * See [`Pallet::sponsor_contract`]. **/ sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; /** - * Stakes the amount of native tokens. - * Sets `amount` to the locked state. - * The maximum number of stakes for a staker is 10. - * - * # Arguments - * - * * `amount`: in native tokens. + * See [`Pallet::stake`]. **/ stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; /** - * Removes the pallet as the sponsor for the collection. - * Returns [`NoPermission`][`Error::NoPermission`] - * if the pallet wasn't the sponsor. - * - * # Permissions - * - * * Pallet admin - * - * # Arguments - * - * * `collection_id`: ID of the collection that is sponsored by `pallet_id` + * See [`Pallet::stop_sponsoring_collection`]. **/ stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Removes the pallet as the sponsor for the contract. - * Returns [`NoPermission`][`Error::NoPermission`] - * if the pallet wasn't the sponsor. - * - * # Permissions - * - * * Pallet admin - * - * # Arguments - * - * * `contract_id`: the contract address that is sponsored by `pallet_id` + * See [`Pallet::stop_sponsoring_contract`]. **/ stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; /** - * Unstakes all stakes. - * After the end of `PendingInterval` this sum becomes completely - * free for further use. + * See [`Pallet::unstake_all`]. **/ unstakeAll: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Unstakes the amount of balance for the staker. - * After the end of `PendingInterval` this sum becomes completely - * free for further use. - * - * # Arguments - * - * * `staker`: staker account. - * * `amount`: amount of unstaked funds. + * See [`Pallet::unstake_partial`]. **/ unstakePartial: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; /** @@ -145,83 +66,39 @@ declare module '@polkadot/api-base/types/submittable' { }; balances: { /** - * Set the regular balance of a given account. - * - * The dispatch origin for this call is `root`. + * See [`Pallet::force_set_balance`]. **/ forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; /** - * Exactly as `transfer_allow_death`, except the origin must be root and the source account - * may be specified. + * See [`Pallet::force_transfer`]. **/ forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, Compact]>; /** - * Unreserve some balance from a user by force. - * - * Can only be called by ROOT. + * See [`Pallet::force_unreserve`]. **/ forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u128]>; /** - * Set the regular balance of a given account; it also takes a reserved balance but this - * must be the same as the account's current reserved balance. - * - * The dispatch origin for this call is `root`. - * - * WARNING: This call is DEPRECATED! Use `force_set_balance` instead. + * See [`Pallet::set_balance_deprecated`]. **/ setBalanceDeprecated: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array, oldReserved: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact, Compact]>; /** - * Alias for `transfer_allow_death`, provided only for name-wise compatibility. - * - * WARNING: DEPRECATED! Will be released in approximately 3 months. + * See [`Pallet::transfer`]. **/ transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; /** - * Transfer the entire transferable balance from the caller account. - * - * NOTE: This function only attempts to transfer _transferable_ balances. This means that - * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be - * transferred by this function. To ensure that this function results in a killed account, - * you might need to prepare the account by removing any reference counters, storage - * deposits, etc... - * - * The dispatch origin of this call must be Signed. - * - * - `dest`: The recipient of the transfer. - * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all - * of the funds the account has, causing the sender account to be killed (false), or - * transfer everything except at least the existential deposit, which will guarantee to - * keep the sender account alive (true). + * See [`Pallet::transfer_all`]. **/ transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [MultiAddress, bool]>; /** - * Transfer some liquid free balance to another account. - * - * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. - * If the sender's account is below the existential deposit as a result - * of the transfer, the account will be reaped. - * - * The dispatch origin for this call must be `Signed` by the transactor. + * See [`Pallet::transfer_allow_death`]. **/ transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; /** - * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not - * kill the origin account. - * - * 99% of the time you want [`transfer_allow_death`] instead. - * - * [`transfer_allow_death`]: struct.Pallet.html#method.transfer + * See [`Pallet::transfer_keep_alive`]. **/ transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; /** - * Upgrade a specified account. - * - * - `origin`: Must be `Signed`. - * - `who`: The account to be upgraded. - * - * This will waive the transaction fee if at least all but 10% of the accounts needed to - * be upgraded. (We let some not have to be upgraded just in order to allow for the - * possibililty of churn). + * See [`Pallet::upgrade_accounts`]. **/ upgradeAccounts: AugmentedSubmittable<(who: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** @@ -231,45 +108,31 @@ declare module '@polkadot/api-base/types/submittable' { }; collatorSelection: { /** - * Add a collator to the list of invulnerable (fixed) collators. + * See [`Pallet::add_invulnerable`]. **/ addInvulnerable: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** - * Force deregister `origin` as a collator candidate as a governing authority, and revoke its license. - * Note that the collator can only leave on session change. - * The `LicenseBond` will be unreserved and returned immediately. - * - * This call is, of course, not applicable to `Invulnerable` collators. + * See [`Pallet::force_release_license`]. **/ forceReleaseLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** - * Purchase a license on block collation for this account. - * It does not make it a collator candidate, use `onboard` afterward. The account must - * (a) already have registered session keys and (b) be able to reserve the `LicenseBond`. - * - * This call is not available to `Invulnerable` collators. + * See [`Pallet::get_license`]. **/ getLicense: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Deregister `origin` as a collator candidate. Note that the collator can only leave on - * session change. The license to `onboard` later at any other time will remain. + * See [`Pallet::offboard`]. **/ offboard: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Register this account as a candidate for collators for next sessions. - * The account must already hold a license, and cannot offboard immediately during a session. - * - * This call is not available to `Invulnerable` collators. + * See [`Pallet::onboard`]. **/ onboard: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately. - * - * This call is not available to `Invulnerable` collators. + * See [`Pallet::release_license`]. **/ releaseLicense: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Remove a collator from the list of invulnerable (fixed) collators. + * See [`Pallet::remove_invulnerable`]. **/ removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** @@ -278,11 +141,29 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; configuration: { + /** + * See [`Pallet::set_app_promotion_configuration_override`]. + **/ setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletConfigurationAppPromotionConfiguration]>; + /** + * See [`Pallet::set_collator_selection_desired_collators`]. + **/ setCollatorSelectionDesiredCollators: AugmentedSubmittable<(max: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; + /** + * See [`Pallet::set_collator_selection_kick_threshold`]. + **/ setCollatorSelectionKickThreshold: AugmentedSubmittable<(threshold: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; + /** + * See [`Pallet::set_collator_selection_license_bond`]. + **/ setCollatorSelectionLicenseBond: AugmentedSubmittable<(amount: Option | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic, [Option]>; + /** + * See [`Pallet::set_min_gas_price_override`]. + **/ setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic, [Option]>; + /** + * See [`Pallet::set_weight_to_fee_coefficient_override`]. + **/ setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic, [Option]>; /** * Generic tx @@ -291,111 +172,27 @@ declare module '@polkadot/api-base/types/submittable' { }; council: { /** - * Close a vote that is either approved, disapproved or whose voting period has ended. - * - * May be called by any signed account in order to finish voting and close the proposal. - * - * If called before the end of the voting period it will only close the vote if it is - * has enough votes to be approved or disapproved. - * - * If called after the end of the voting period abstentions are counted as rejections - * unless there is a prime member set and the prime member cast an approval. - * - * If the close operation completes successfully with disapproval, the transaction fee will - * be waived. Otherwise execution of the approved operation will be charged to the caller. - * - * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed - * proposal. - * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. - * - * ## Complexity - * - `O(B + M + P1 + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - `P1` is the complexity of `proposal` preimage. - * - `P2` is proposal-count (code-bounded) + * See [`Pallet::close`]. **/ close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact]>; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current - * state. - * - * Must be called by the Root origin. - * - * Parameters: - * * `proposal_hash`: The hash of the proposal that should be disapproved. - * - * ## Complexity - * O(P) where P is the number of max proposals + * See [`Pallet::disapprove_proposal`]. **/ disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** - * Dispatch a proposal from a member using the `Member` origin. - * - * Origin must be a member of the collective. - * - * ## Complexity: - * - `O(B + M + P)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` members-count (code-bounded) - * - `P` complexity of dispatching `proposal` + * See [`Pallet::execute`]. **/ execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Call, Compact]>; /** - * Add a new proposal to either be voted on or executed directly. - * - * Requires the sender to be member. - * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) - * or put up for voting. - * - * ## Complexity - * - `O(B + M + P1)` or `O(B + M + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - branching is influenced by `threshold` where: - * - `P1` is proposal execution complexity (`threshold < 2`) - * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + * See [`Pallet::propose`]. **/ propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Call, Compact]>; /** - * Set the collective's membership. - * - * - `new_members`: The new member list. Be nice to the chain and provide it sorted. - * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for - * weight estimation. - * - * The dispatch of this call must be `SetMembersOrigin`. - * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but - * the weight estimations rely on it to estimate dispatchable weight. - * - * # WARNING: - * - * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. - * Any call to `set_members` must be careful that the member set doesn't get out of sync - * with other logic managing the member set. - * - * ## Complexity: - * - `O(MP + N)` where: - * - `M` old-members-count (code- and governance-bounded) - * - `N` new-members-count (code- and governance-bounded) - * - `P` proposals-count (code-bounded) + * See [`Pallet::set_members`]. **/ setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Option, u32]>; /** - * Add an aye or nay vote for the sender to the given proposal. - * - * Requires the sender to be a member. - * - * Transaction fees will be waived if the member is voting on any particular proposal - * for the first time and the call is successful. Subsequent vote changes will charge a - * fee. - * ## Complexity - * - `O(M)` where `M` is members-count (code- and governance-bounded) + * See [`Pallet::vote`]. **/ vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, Compact, bool]>; /** @@ -405,50 +202,31 @@ declare module '@polkadot/api-base/types/submittable' { }; councilMembership: { /** - * Add a member `who` to the set. - * - * May only be called from `T::AddOrigin`. + * See [`Pallet::add_member`]. **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Swap out the sending member for some other key `new`. - * - * May only be called from `Signed` origin of a current member. - * - * Prime membership is passed from the origin account to `new`, if extant. + * See [`Pallet::change_key`]. **/ changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Remove the prime member if it exists. - * - * May only be called from `T::PrimeOrigin`. + * See [`Pallet::clear_prime`]. **/ clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Remove a member `who` from the set. - * - * May only be called from `T::RemoveOrigin`. + * See [`Pallet::remove_member`]. **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Change the membership to a new set, disregarding the existing membership. Be nice and - * pass `members` pre-sorted. - * - * May only be called from `T::ResetOrigin`. + * See [`Pallet::reset_members`]. **/ resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * Set the prime member. Must be a current member. - * - * May only be called from `T::PrimeOrigin`. + * See [`Pallet::set_prime`]. **/ setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Swap out one member `remove` for another `add`. - * - * May only be called from `T::SwapOrigin`. - * - * Prime membership is *not* passed from `remove` to `add`, if extant. + * See [`Pallet::swap_member`]. **/ swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** @@ -464,273 +242,79 @@ declare module '@polkadot/api-base/types/submittable' { }; democracy: { /** - * Permanently place a proposal into the blacklist. This prevents it from ever being - * proposed again. - * - * If called on a queued public or external proposal, then this will result in it being - * removed. If the `ref_index` supplied is an active referendum with the proposal hash, - * then it will be cancelled. - * - * The dispatch origin of this call must be `BlacklistOrigin`. - * - * - `proposal_hash`: The proposal hash to blacklist permanently. - * - `ref_index`: An ongoing referendum whose hash is `proposal_hash`, which will be - * cancelled. - * - * Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a - * reasonable value). + * See [`Pallet::blacklist`]. **/ blacklist: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, maybeRefIndex: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [H256, Option]>; /** - * Remove a proposal. - * - * The dispatch origin of this call must be `CancelProposalOrigin`. - * - * - `prop_index`: The index of the proposal to cancel. - * - * Weight: `O(p)` where `p = PublicProps::::decode_len()` + * See [`Pallet::cancel_proposal`]. **/ cancelProposal: AugmentedSubmittable<(propIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** - * Remove a referendum. - * - * The dispatch origin of this call must be _Root_. - * - * - `ref_index`: The index of the referendum to cancel. - * - * # Weight: `O(1)`. + * See [`Pallet::cancel_referendum`]. **/ cancelReferendum: AugmentedSubmittable<(refIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** - * Clears all public proposals. - * - * The dispatch origin of this call must be _Root_. - * - * Weight: `O(1)`. + * See [`Pallet::clear_public_proposals`]. **/ clearPublicProposals: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Delegate the voting power (with some given conviction) of the sending account. - * - * The balance delegated is locked for as long as it's delegated, and thereafter for the - * time appropriate for the conviction's lock period. - * - * The dispatch origin of this call must be _Signed_, and the signing account must either: - * - be delegating already; or - * - have no voting activity (if there is, then it will need to be removed/consolidated - * through `reap_vote` or `unvote`). - * - * - `to`: The account whose voting the `target` account's voting power will follow. - * - `conviction`: The conviction that will be attached to the delegated votes. When the - * account is undelegated, the funds will be locked for the corresponding period. - * - `balance`: The amount of the account's balance to be used in delegating. This must not - * be more than the account's current balance. - * - * Emits `Delegated`. - * - * Weight: `O(R)` where R is the number of referendums the voter delegating to has - * voted on. Weight is charged as if maximum votes. + * See [`Pallet::delegate`]. **/ delegate: AugmentedSubmittable<(to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletDemocracyConviction, u128]>; /** - * Schedule an emergency cancellation of a referendum. Cannot happen twice to the same - * referendum. - * - * The dispatch origin of this call must be `CancellationOrigin`. - * - * -`ref_index`: The index of the referendum to cancel. - * - * Weight: `O(1)`. + * See [`Pallet::emergency_cancel`]. **/ emergencyCancel: AugmentedSubmittable<(refIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Schedule a referendum to be tabled once it is legal to schedule an external - * referendum. - * - * The dispatch origin of this call must be `ExternalOrigin`. - * - * - `proposal_hash`: The preimage hash of the proposal. + * See [`Pallet::external_propose`]. **/ externalPropose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded]>; /** - * Schedule a negative-turnout-bias referendum to be tabled next once it is legal to - * schedule an external referendum. - * - * The dispatch of this call must be `ExternalDefaultOrigin`. - * - * - `proposal_hash`: The preimage hash of the proposal. - * - * Unlike `external_propose`, blacklisting has no effect on this and it may replace a - * pre-scheduled `external_propose` call. - * - * Weight: `O(1)` + * See [`Pallet::external_propose_default`]. **/ externalProposeDefault: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded]>; /** - * Schedule a majority-carries referendum to be tabled next once it is legal to schedule - * an external referendum. - * - * The dispatch of this call must be `ExternalMajorityOrigin`. - * - * - `proposal_hash`: The preimage hash of the proposal. - * - * Unlike `external_propose`, blacklisting has no effect on this and it may replace a - * pre-scheduled `external_propose` call. - * - * Weight: `O(1)` + * See [`Pallet::external_propose_majority`]. **/ externalProposeMajority: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded]>; /** - * Schedule the currently externally-proposed majority-carries referendum to be tabled - * immediately. If there is no externally-proposed referendum currently, or if there is one - * but it is not a majority-carries referendum then it fails. - * - * The dispatch of this call must be `FastTrackOrigin`. - * - * - `proposal_hash`: The hash of the current external proposal. - * - `voting_period`: The period that is allowed for voting on this proposal. Increased to - * Must be always greater than zero. - * For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`. - * - `delay`: The number of block after voting has ended in approval and this should be - * enacted. This doesn't have a minimum amount. - * - * Emits `Started`. - * - * Weight: `O(1)` + * See [`Pallet::fast_track`]. **/ fastTrack: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, votingPeriod: u32 | AnyNumber | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, u32, u32]>; /** - * Propose a sensitive action to be taken. - * - * The dispatch origin of this call must be _Signed_ and the sender must - * have funds to cover the deposit. - * - * - `proposal_hash`: The hash of the proposal preimage. - * - `value`: The amount of deposit (must be at least `MinimumDeposit`). - * - * Emits `Proposed`. + * See [`Pallet::propose`]. **/ propose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded, Compact]>; /** - * Remove a vote for a referendum. - * - * If the `target` is equal to the signer, then this function is exactly equivalent to - * `remove_vote`. If not equal to the signer, then the vote must have expired, - * either because the referendum was cancelled, because the voter lost the referendum or - * because the conviction period is over. - * - * The dispatch origin of this call must be _Signed_. - * - * - `target`: The account of the vote to be removed; this account must have voted for - * referendum `index`. - * - `index`: The index of referendum of the vote to be removed. - * - * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on. - * Weight is calculated for the maximum number of vote. + * See [`Pallet::remove_other_vote`]. **/ removeOtherVote: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u32]>; /** - * Remove a vote for a referendum. - * - * If: - * - the referendum was cancelled, or - * - the referendum is ongoing, or - * - the referendum has ended such that - * - the vote of the account was in opposition to the result; or - * - there was no conviction to the account's vote; or - * - the account made a split vote - * ...then the vote is removed cleanly and a following call to `unlock` may result in more - * funds being available. - * - * If, however, the referendum has ended and: - * - it finished corresponding to the vote of the account, and - * - the account made a standard vote with conviction, and - * - the lock period of the conviction is not over - * ...then the lock will be aggregated into the overall account's lock, which may involve - * *overlocking* (where the two locks are combined into a single lock that is the maximum - * of both the amount locked and the time is it locked for). - * - * The dispatch origin of this call must be _Signed_, and the signer must have a vote - * registered for referendum `index`. - * - * - `index`: The index of referendum of the vote to be removed. - * - * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on. - * Weight is calculated for the maximum number of vote. + * See [`Pallet::remove_vote`]. **/ removeVote: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Signals agreement with a particular proposal. - * - * The dispatch origin of this call must be _Signed_ and the sender - * must have funds to cover the deposit, equal to the original deposit. - * - * - `proposal`: The index of the proposal to second. + * See [`Pallet::second`]. **/ second: AugmentedSubmittable<(proposal: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** - * Set or clear a metadata of a proposal or a referendum. - * - * Parameters: - * - `origin`: Must correspond to the `MetadataOwner`. - * - `ExternalOrigin` for an external proposal with the `SuperMajorityApprove` - * threshold. - * - `ExternalDefaultOrigin` for an external proposal with the `SuperMajorityAgainst` - * threshold. - * - `ExternalMajorityOrigin` for an external proposal with the `SimpleMajority` - * threshold. - * - `Signed` by a creator for a public proposal. - * - `Signed` to clear a metadata for a finished referendum. - * - `Root` to set a metadata for an ongoing referendum. - * - `owner`: an identifier of a metadata owner. - * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. + * See [`Pallet::set_metadata`]. **/ setMetadata: AugmentedSubmittable<(owner: PalletDemocracyMetadataOwner | { External: any } | { Proposal: any } | { Referendum: any } | string | Uint8Array, maybeHash: Option | null | Uint8Array | H256 | string) => SubmittableExtrinsic, [PalletDemocracyMetadataOwner, Option]>; /** - * Undelegate the voting power of the sending account. - * - * Tokens may be unlocked following once an amount of time consistent with the lock period - * of the conviction with which the delegation was issued. - * - * The dispatch origin of this call must be _Signed_ and the signing account must be - * currently delegating. - * - * Emits `Undelegated`. - * - * Weight: `O(R)` where R is the number of referendums the voter delegating to has - * voted on. Weight is charged as if maximum votes. + * See [`Pallet::undelegate`]. **/ undelegate: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Unlock tokens that have an expired lock. - * - * The dispatch origin of this call must be _Signed_. - * - * - `target`: The account to remove the lock on. - * - * Weight: `O(R)` with R number of vote of target. + * See [`Pallet::unlock`]. **/ unlock: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Veto and blacklist the external proposal hash. - * - * The dispatch origin of this call must be `VetoOrigin`. - * - * - `proposal_hash`: The preimage hash of the proposal to veto and blacklist. - * - * Emits `Vetoed`. - * - * Weight: `O(V + log(V))` where V is number of `existing vetoers` + * See [`Pallet::veto_external`]. **/ vetoExternal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** - * Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal; - * otherwise it is a vote to keep the status quo. - * - * The dispatch origin of this call must be _Signed_. - * - * - `ref_index`: The index of the referendum to vote for. - * - `vote`: The vote configuration. + * See [`Pallet::vote`]. **/ vote: AugmentedSubmittable<(refIndex: Compact | AnyNumber | Uint8Array, vote: PalletDemocracyVoteAccountVote | { Standard: any } | { Split: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, PalletDemocracyVoteAccountVote]>; /** @@ -740,7 +324,7 @@ declare module '@polkadot/api-base/types/submittable' { }; dmpQueue: { /** - * Service a single overweight message. + * See [`Pallet::service_overweight`]. **/ serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [u64, SpWeightsWeightV2Weight]>; /** @@ -750,7 +334,7 @@ declare module '@polkadot/api-base/types/submittable' { }; ethereum: { /** - * Transact an Ethereum transaction. + * See [`Pallet::transact`]. **/ transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic, [EthereumTransactionTransactionV2]>; /** @@ -760,20 +344,19 @@ declare module '@polkadot/api-base/types/submittable' { }; evm: { /** - * Issue an EVM call operation. This is similar to a message call transaction in Ethereum. + * See [`Pallet::call`]. **/ call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; /** - * Issue an EVM create operation. This is similar to a contract creation transaction in - * Ethereum. + * See [`Pallet::create`]. **/ create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>]>; /** - * Issue an EVM create2 operation. + * See [`Pallet::create2`]. **/ create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option | null | Uint8Array | U256 | AnyNumber, nonce: Option | null | Uint8Array | U256 | AnyNumber, accessList: Vec]>> | ([H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [H160, Bytes, H256, U256, u64, U256, Option, Option, Vec]>>]>; /** - * Withdraw balance from EVM into currency/balances pallet. + * See [`Pallet::withdraw`]. **/ withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H160, u128]>; /** @@ -783,7 +366,7 @@ declare module '@polkadot/api-base/types/submittable' { }; evmContractHelpers: { /** - * Migrate contract to use `SponsoringMode` storage instead of `SelfSponsoring` + * See [`Pallet::migrate_from_self_sponsoring`]. **/ migrateFromSelfSponsoring: AugmentedSubmittable<(addresses: Vec | (H160 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** @@ -793,31 +376,27 @@ declare module '@polkadot/api-base/types/submittable' { }; evmMigration: { /** - * Start contract migration, inserts contract stub at target address, - * and marks account as pending, allowing to insert storage + * See [`Pallet::begin`]. **/ begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; /** - * Finish contract migration, allows it to be called. - * It is not possible to alter contract storage via [`Self::set_data`] - * after this call. + * See [`Pallet::finish`]. **/ finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [H160, Bytes]>; /** - * Create ethereum events attached to the fake transaction + * See [`Pallet::insert_eth_logs`]. **/ insertEthLogs: AugmentedSubmittable<(logs: Vec | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * Create substrate events + * See [`Pallet::insert_events`]. **/ insertEvents: AugmentedSubmittable<(events: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * Remove remark compatibility data leftovers + * See [`Pallet::remove_rmrk_data`]. **/ removeRmrkData: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Insert items into contract storage, this method can be called - * multiple times + * See [`Pallet::set_data`]. **/ setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic, [H160, Vec>]>; /** @@ -827,69 +406,27 @@ declare module '@polkadot/api-base/types/submittable' { }; fellowshipCollective: { /** - * Introduce a new member. - * - * - `origin`: Must be the `AdminOrigin`. - * - `who`: Account of non-member which will become a member. - * - `rank`: The rank to give the new member. - * - * Weight: `O(1)` + * See [`Pallet::add_member`]. **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Remove votes from the given poll. It must have ended. - * - * - `origin`: Must be `Signed` by any account. - * - `poll_index`: Index of a poll which is completed and for which votes continue to - * exist. - * - `max`: Maximum number of vote items from remove in this call. - * - * Transaction fees are waived if the operation is successful. - * - * Weight `O(max)` (less if there are fewer items to remove than `max`). + * See [`Pallet::cleanup_poll`]. **/ cleanupPoll: AugmentedSubmittable<(pollIndex: u32 | AnyNumber | Uint8Array, max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32]>; /** - * Decrement the rank of an existing member by one. If the member is already at rank zero, - * then they are removed entirely. - * - * - `origin`: Must be the `AdminOrigin`. - * - `who`: Account of existing member of rank greater than zero. - * - * Weight: `O(1)`, less if the member's index is highest in its rank. + * See [`Pallet::demote_member`]. **/ demoteMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Increment the rank of an existing member by one. - * - * - `origin`: Must be the `AdminOrigin`. - * - `who`: Account of existing member. - * - * Weight: `O(1)` + * See [`Pallet::promote_member`]. **/ promoteMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Remove the member entirely. - * - * - `origin`: Must be the `AdminOrigin`. - * - `who`: Account of existing member of rank greater than zero. - * - `min_rank`: The rank of the member or greater. - * - * Weight: `O(min_rank)`. + * See [`Pallet::remove_member`]. **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u16]>; /** - * Add an aye or nay vote for the sender to the given proposal. - * - * - `origin`: Must be `Signed` by a member account. - * - `poll`: Index of a poll which is ongoing. - * - `aye`: `true` if the vote is to approve the proposal, `false` otherwise. - * - * Transaction fees are be waived if the member is voting on any particular proposal - * for the first time and the call is successful. Subsequent vote changes will charge a - * fee. - * - * Weight: `O(1)`, less if there was no previous vote on the poll by the member. + * See [`Pallet::vote`]. **/ vote: AugmentedSubmittable<(poll: u32 | AnyNumber | Uint8Array, aye: bool | boolean | Uint8Array) => SubmittableExtrinsic, [u32, bool]>; /** @@ -899,93 +436,39 @@ declare module '@polkadot/api-base/types/submittable' { }; fellowshipReferenda: { /** - * Cancel an ongoing referendum. - * - * - `origin`: must be the `CancelOrigin`. - * - `index`: The index of the referendum to be cancelled. - * - * Emits `Cancelled`. + * See [`Pallet::cancel`]. **/ cancel: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Cancel an ongoing referendum and slash the deposits. - * - * - `origin`: must be the `KillOrigin`. - * - `index`: The index of the referendum to be cancelled. - * - * Emits `Killed` and `DepositSlashed`. + * See [`Pallet::kill`]. **/ kill: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Advance a referendum onto its next logical state. Only used internally. - * - * - `origin`: must be `Root`. - * - `index`: the referendum to be advanced. + * See [`Pallet::nudge_referendum`]. **/ nudgeReferendum: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Advance a track onto its next logical state. Only used internally. - * - * - `origin`: must be `Root`. - * - `track`: the track to be advanced. - * - * Action item for when there is now one fewer referendum in the deciding phase and the - * `DecidingCount` is not yet updated. This means that we should either: - * - begin deciding another referendum (and leave `DecidingCount` alone); or - * - decrement `DecidingCount`. + * See [`Pallet::one_fewer_deciding`]. **/ oneFewerDeciding: AugmentedSubmittable<(track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16]>; /** - * Post the Decision Deposit for a referendum. - * - * - `origin`: must be `Signed` and the account must have funds available for the - * referendum's track's Decision Deposit. - * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be - * posted. - * - * Emits `DecisionDepositPlaced`. + * See [`Pallet::place_decision_deposit`]. **/ placeDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Refund the Decision Deposit for a closed referendum back to the depositor. - * - * - `origin`: must be `Signed` or `Root`. - * - `index`: The index of a closed referendum whose Decision Deposit has not yet been - * refunded. - * - * Emits `DecisionDepositRefunded`. + * See [`Pallet::refund_decision_deposit`]. **/ refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Refund the Submission Deposit for a closed referendum back to the depositor. - * - * - `origin`: must be `Signed` or `Root`. - * - `index`: The index of a closed referendum whose Submission Deposit has not yet been - * refunded. - * - * Emits `SubmissionDepositRefunded`. + * See [`Pallet::refund_submission_deposit`]. **/ refundSubmissionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Set or clear metadata of a referendum. - * - * Parameters: - * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a - * metadata of a finished referendum. - * - `index`: The index of a referendum to set or clear metadata for. - * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. + * See [`Pallet::set_metadata`]. **/ setMetadata: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, maybeHash: Option | null | Uint8Array | H256 | string) => SubmittableExtrinsic, [u32, Option]>; /** - * Propose a referendum on a privileged action. - * - * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds - * available. - * - `proposal_origin`: The origin from which the proposal should be executed. - * - `proposal`: The proposal. - * - `enactment_moment`: The moment that the proposal should be enacted. - * - * Emits `Submitted`. + * See [`Pallet::submit`]. **/ submit: AugmentedSubmittable<(proposalOrigin: OpalRuntimeOriginCaller | { system: any } | { Void: any } | { Council: any } | { TechnicalCommittee: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Origins: any } | { Ethereum: any } | string | Uint8Array, proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, enactmentMoment: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic, [OpalRuntimeOriginCaller, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime]>; /** @@ -994,8 +477,14 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; foreignAssets: { - registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>; - updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>; + /** + * See [`Pallet::register_foreign_asset`]. + **/ + registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, StagingXcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>; + /** + * See [`Pallet::update_foreign_asset`]. + **/ + updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, StagingXcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>; /** * Generic tx **/ @@ -1003,289 +492,75 @@ declare module '@polkadot/api-base/types/submittable' { }; identity: { /** - * Add a registrar to the system. - * - * The dispatch origin for this call must be `T::RegistrarOrigin`. - * - * - `account`: the account of the registrar. - * - * Emits `RegistrarAdded` if successful. - * - * # - * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded). - * - One storage mutation (codec `O(R)`). - * - One event. - * # + * See [`Pallet::add_registrar`]. **/ addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Add the given account to the sender's subs. - * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated - * to the sender. - * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered - * sub identity of `sub`. + * See [`Pallet::add_sub`]. **/ addSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Data]>; /** - * Cancel a previous request. - * - * Payment: A previously reserved deposit is returned on success. - * - * The dispatch origin for this call must be _Signed_ and the sender must have a - * registered identity. - * - * - `reg_index`: The index of the registrar whose judgement is no longer requested. - * - * Emits `JudgementUnrequested` if successful. - * - * # - * - `O(R + X)`. - * - One balance-reserve operation. - * - One storage mutation `O(R + X)`. - * - One event - * # + * See [`Pallet::cancel_request`]. **/ cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Clear an account's identity info and all sub-accounts and return all deposits. - * - * Payment: All reserved balances on the account are returned. - * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered - * identity. - * - * Emits `IdentityCleared` if successful. - * - * # - * - `O(R + S + X)` - * - where `R` registrar-count (governance-bounded). - * - where `S` subs-count (hard- and deposit-bounded). - * - where `X` additional-field-count (deposit-bounded and code-bounded). - * - One balance-unreserve operation. - * - `2` storage reads and `S + 2` storage deletions. - * - One event. - * # + * See [`Pallet::clear_identity`]. **/ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Set identities to be associated with the provided accounts as force origin. - * - * This is not meant to operate in tandem with the identity pallet as is, - * and be instead used to keep identities made and verified externally, - * forbidden from interacting with an ordinary user, since it ignores any safety mechanism. + * See [`Pallet::force_insert_identities`]. **/ forceInsertIdentities: AugmentedSubmittable<(identities: Vec> | ([AccountId32 | string | Uint8Array, PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; /** - * Remove identities associated with the provided accounts as force origin. - * - * This is not meant to operate in tandem with the identity pallet as is, - * and be instead used to keep identities made and verified externally, - * forbidden from interacting with an ordinary user, since it ignores any safety mechanism. + * See [`Pallet::force_remove_identities`]. **/ forceRemoveIdentities: AugmentedSubmittable<(identities: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * Set sub-identities to be associated with the provided accounts as force origin. - * - * This is not meant to operate in tandem with the identity pallet as is, - * and be instead used to keep identities made and verified externally, - * forbidden from interacting with an ordinary user, since it ignores any safety mechanism. + * See [`Pallet::force_set_subs`]. **/ forceSetSubs: AugmentedSubmittable<(subs: Vec>]>]>> | ([AccountId32 | string | Uint8Array, ITuple<[u128, Vec>]> | [u128 | AnyNumber | Uint8Array, Vec> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]]])[]) => SubmittableExtrinsic, [Vec>]>]>>]>; /** - * Remove an account's identity and sub-account information and slash the deposits. - * - * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by - * `Slash`. Verification request deposits are not returned; they should be cancelled - * manually using `cancel_request`. - * - * The dispatch origin for this call must match `T::ForceOrigin`. - * - * - `target`: the account whose identity the judgement is upon. This must be an account - * with a registered identity. - * - * Emits `IdentityKilled` if successful. - * - * # - * - `O(R + S + X)`. - * - One balance-reserve operation. - * - `S + 2` storage mutations. - * - One event. - * # + * See [`Pallet::kill_identity`]. **/ killIdentity: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Provide a judgement for an account's identity. - * - * The dispatch origin for this call must be _Signed_ and the sender must be the account - * of the registrar whose index is `reg_index`. - * - * - `reg_index`: the index of the registrar whose judgement is being made. - * - `target`: the account whose identity the judgement is upon. This must be an account - * with a registered identity. - * - `judgement`: the judgement of the registrar of index `reg_index` about `target`. - * - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided. - * - * Emits `JudgementGiven` if successful. - * - * # - * - `O(R + X)`. - * - One balance-transfer operation. - * - Up to one account-lookup operation. - * - Storage: 1 read `O(R)`, 1 mutate `O(R + X)`. - * - One event. - * # + * See [`Pallet::provide_judgement`]. **/ provideJudgement: AugmentedSubmittable<(regIndex: Compact | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress, PalletIdentityJudgement, H256]>; /** - * Remove the sender as a sub-account. - * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated - * to the sender (*not* the original depositor). - * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered - * super-identity. - * - * NOTE: This should not normally be used, but is provided in the case that the non- - * controller of an account is maliciously registered as a sub-account. + * See [`Pallet::quit_sub`]. **/ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Remove the given account from the sender's subs. - * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated - * to the sender. - * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered - * sub identity of `sub`. + * See [`Pallet::remove_sub`]. **/ removeSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Alter the associated name of the given sub-account. - * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered - * sub identity of `sub`. + * See [`Pallet::rename_sub`]. **/ renameSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Data]>; /** - * Request a judgement from a registrar. - * - * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement - * given. - * - * The dispatch origin for this call must be _Signed_ and the sender must have a - * registered identity. - * - * - `reg_index`: The index of the registrar whose judgement is requested. - * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: - * - * ```nocompile - * Self::registrars().get(reg_index).unwrap().fee - * ``` - * - * Emits `JudgementRequested` if successful. - * - * # - * - `O(R + X)`. - * - One balance-reserve operation. - * - Storage: 1 read `O(R)`, 1 mutate `O(X + R)`. - * - One event. - * # + * See [`Pallet::request_judgement`]. **/ requestJudgement: AugmentedSubmittable<(regIndex: Compact | AnyNumber | Uint8Array, maxFee: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Compact]>; /** - * Change the account associated with a registrar. - * - * The dispatch origin for this call must be _Signed_ and the sender must be the account - * of the registrar whose index is `index`. - * - * - `index`: the index of the registrar whose fee is to be set. - * - `new`: the new account ID. - * - * # - * - `O(R)`. - * - One storage mutation `O(R)`. - * - Benchmark: 8.823 + R * 0.32 µs (min squares analysis) - * # + * See [`Pallet::set_account_id`]. **/ setAccountId: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; /** - * Set the fee required for a judgement to be requested from a registrar. - * - * The dispatch origin for this call must be _Signed_ and the sender must be the account - * of the registrar whose index is `index`. - * - * - `index`: the index of the registrar whose fee is to be set. - * - `fee`: the new fee. - * - * # - * - `O(R)`. - * - One storage mutation `O(R)`. - * - Benchmark: 7.315 + R * 0.329 µs (min squares analysis) - * # + * See [`Pallet::set_fee`]. **/ setFee: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array, fee: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Compact]>; /** - * Set the field information for a registrar. - * - * The dispatch origin for this call must be _Signed_ and the sender must be the account - * of the registrar whose index is `index`. - * - * - `index`: the index of the registrar whose fee is to be set. - * - `fields`: the fields that the registrar concerns themselves with. - * - * # - * - `O(R)`. - * - One storage mutation `O(R)`. - * - Benchmark: 7.464 + R * 0.325 µs (min squares analysis) - * # + * See [`Pallet::set_fields`]. **/ setFields: AugmentedSubmittable<(index: Compact | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic, [Compact, PalletIdentityBitFlags]>; /** - * Set an account's identity information and reserve the appropriate deposit. - * - * If the account already has identity information, the deposit is taken as part payment - * for the new deposit. - * - * The dispatch origin for this call must be _Signed_. - * - * - `info`: The identity information. - * - * Emits `IdentitySet` if successful. - * - * # - * - `O(X + X' + R)` - * - where `X` additional-field-count (deposit-bounded and code-bounded) - * - where `R` judgements-count (registrar-count-bounded) - * - One balance reserve operation. - * - One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`). - * - One event. - * # + * See [`Pallet::set_identity`]. **/ setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | { additional?: any; display?: any; legal?: any; web?: any; riot?: any; email?: any; pgpFingerprint?: any; image?: any; twitter?: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletIdentityIdentityInfo]>; /** - * Set the sub-accounts of the sender. - * - * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned - * and an amount `SubAccountDeposit` will be reserved for each item in `subs`. - * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered - * identity. - * - * - `subs`: The identity's (new) sub-accounts. - * - * # - * - `O(P + S)` - * - where `P` old-subs-count (hard- and deposit-bounded). - * - where `S` subs-count (hard- and deposit-bounded). - * - At most one balance operations. - * - DB: - * - `P + S` storage mutations (codec complexity `O(1)`) - * - One storage read (codec complexity `O(P)`). - * - One storage write (codec complexity `O(S)`). - * - One storage-exists (`IdentityOf::contains_key`). - * # + * See [`Pallet::set_subs`]. **/ setSubs: AugmentedSubmittable<(subs: Vec> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; /** @@ -1295,17 +570,7 @@ declare module '@polkadot/api-base/types/submittable' { }; inflation: { /** - * This method sets the inflation start date. Can be only called once. - * Inflation start block can be backdated and will catch up. The method will create Treasury - * account if it does not exist and perform the first inflation deposit. - * - * # Permissions - * - * * Root - * - * # Arguments - * - * * inflation_start_relay_block: The relay chain block at which inflation should start + * See [`Pallet::start_inflation`]. **/ startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** @@ -1314,15 +579,14 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; maintenance: { + /** + * See [`Pallet::disable`]. + **/ disable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - enable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Execute a runtime call stored as a preimage. - * - * `weight_bound` is the maximum weight that the caller is willing - * to allow the extrinsic to be executed with. + * See [`Pallet::enable`]. **/ - executePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array, weightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [H256, SpWeightsWeightV2Weight]>; + enable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Generic tx **/ @@ -1336,40 +600,20 @@ declare module '@polkadot/api-base/types/submittable' { }; parachainSystem: { /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied - * later. - * - * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec - * version and name should be verified on upgrade. Since the authorization only has a hash, - * it cannot actually perform the verification. - * - * This call requires Root origin. + * See [`Pallet::authorize_upgrade`]. **/ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array, checkVersion: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, bool]>; /** - * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. - * - * If the authorization required a version check, this call will ensure the spec name - * remains unchanged and that the spec version has increased. - * - * Note that this function will not apply the new `code`, but only attempt to schedule the - * upgrade with the Relay Chain. - * - * All origins are allowed. + * See [`Pallet::enact_authorized_upgrade`]. **/ enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * Set the current validation data. - * - * This should be invoked exactly once per block. It will panic at the finalization - * phase if the call was not invoked. - * - * The dispatch origin for this call must be `Inherent` - * - * As a side effect, this function upgrades the current validation function - * if the appropriate time has come. + * See [`Pallet::set_validation_data`]. **/ setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic, [CumulusPrimitivesParachainInherentParachainInherentData]>; + /** + * See [`Pallet::sudo_send_upward_message`]. + **/ sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * Generic tx @@ -1378,138 +622,49 @@ declare module '@polkadot/api-base/types/submittable' { }; polkadotXcm: { /** - * Execute an XCM message from a local, signed, origin. - * - * An event is deposited indicating whether `msg` could be executed completely or only - * partially. - * - * No more than `max_weight` will be used in its attempted execution. If this is less than the - * maximum amount of weight that the message could take to be executed, then no execution - * attempt will be made. - * - * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully - * to completion; only that *some* of it was executed. - **/ - execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V2: any } | { V3: any } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedXcm, SpWeightsWeightV2Weight]>; - /** - * Set a safe XCM version (the version that XCM should be encoded with if the most recent - * version a destination can accept is unknown). - * - * - `origin`: Must be an origin specified by AdminOrigin. - * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. + * See [`Pallet::execute`]. + **/ + execute: AugmentedSubmittable<(message: StagingXcmVersionedXcm | { V2: any } | { V3: any } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedXcm, SpWeightsWeightV2Weight]>; + /** + * See [`Pallet::force_default_xcm_version`]. **/ forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; /** - * Ask a location to notify us regarding their XCM version and any changes to it. - * - * - `origin`: Must be an origin specified by AdminOrigin. - * - `location`: The location to which we should subscribe for XCM version notifications. + * See [`Pallet::force_subscribe_version_notify`]. **/ - forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiLocation]>; + forceSubscribeVersionNotify: AugmentedSubmittable<(location: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation]>; /** - * Set or unset the global suspension state of the XCM executor. - * - * - `origin`: Must be an origin specified by AdminOrigin. - * - `suspended`: `true` to suspend, `false` to resume. + * See [`Pallet::force_suspension`]. **/ forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool]>; /** - * Require that a particular destination should no longer notify us regarding any XCM - * version changes. - * - * - `origin`: Must be an origin specified by AdminOrigin. - * - `location`: The location to which we are currently subscribed for XCM version - * notifications which we no longer desire. - **/ - forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiLocation]>; - /** - * Extoll that a particular destination can be communicated with through a particular - * version of XCM. - * - * - `origin`: Must be an origin specified by AdminOrigin. - * - `location`: The destination that is being described. - * - `xcm_version`: The latest version of XCM that `location` supports. - **/ - forceXcmVersion: AugmentedSubmittable<(location: XcmV3MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmV3MultiLocation, u32]>; - /** - * Transfer some assets from the local chain to the sovereign account of a destination - * chain and forward a notification XCM. - * - * Fee payment on the destination side is made from the asset in the `assets` vector of - * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight - * is needed than `weight_limit`, then the operation will fail and the assets send may be - * at risk. - * - * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send - * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. - * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be - * an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the - * `dest` side. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay - * fees. - * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - **/ - limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV3WeightLimit]>; - /** - * Teleport some assets from the local chain to some destination chain. - * - * Fee payment on the destination side is made from the asset in the `assets` vector of - * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight - * is needed than `weight_limit`, then the operation will fail and the assets send may be - * at risk. - * - * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send - * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. - * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be - * an `AccountId32` value. - * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the - * `dest` side. May not be empty. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay - * fees. - * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - **/ - limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV3WeightLimit]>; - /** - * Transfer some assets from the local chain to the sovereign account of a destination - * chain and forward a notification XCM. - * - * Fee payment on the destination side is made from the asset in the `assets` vector of - * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, - * with all fees taken as needed from the asset. - * - * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send - * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. - * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be - * an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the - * `dest` side. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay - * fees. - **/ - reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>; - send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, message: XcmVersionedXcm | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiLocation, XcmVersionedXcm]>; - /** - * Teleport some assets from the local chain to some destination chain. - * - * Fee payment on the destination side is made from the asset in the `assets` vector of - * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, - * with all fees taken as needed from the asset. - * - * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send - * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. - * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be - * an `AccountId32` value. - * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the - * `dest` side. May not be empty. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay - * fees. - **/ - teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>; + * See [`Pallet::force_unsubscribe_version_notify`]. + **/ + forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation]>; + /** + * See [`Pallet::force_xcm_version`]. + **/ + forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV3MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [StagingXcmV3MultiLocation, u32]>; + /** + * See [`Pallet::limited_reserve_transfer_assets`]. + **/ + limitedReserveTransferAssets: AugmentedSubmittable<(dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiAssets, u32, StagingXcmV3WeightLimit]>; + /** + * See [`Pallet::limited_teleport_assets`]. + **/ + limitedTeleportAssets: AugmentedSubmittable<(dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiAssets, u32, StagingXcmV3WeightLimit]>; + /** + * See [`Pallet::reserve_transfer_assets`]. + **/ + reserveTransferAssets: AugmentedSubmittable<(dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiAssets, u32]>; + /** + * See [`Pallet::send`]. + **/ + send: AugmentedSubmittable<(dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, message: StagingXcmVersionedXcm | { V2: any } | { V3: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation, StagingXcmVersionedXcm]>; + /** + * See [`Pallet::teleport_assets`]. + **/ + teleportAssets: AugmentedSubmittable<(dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, beneficiary: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, assets: StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiAssets, u32]>; /** * Generic tx **/ @@ -1517,32 +672,19 @@ declare module '@polkadot/api-base/types/submittable' { }; preimage: { /** - * Register a preimage on-chain. - * - * If the preimage was previously requested, no fees or deposits are taken for providing - * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage. + * See [`Pallet::note_preimage`]. **/ notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * Request a preimage be uploaded to the chain without paying any fees or deposits. - * - * If the preimage requests has already been provided on-chain, we unreserve any deposit - * a user may have paid, and take the control of the preimage out of their hands. + * See [`Pallet::request_preimage`]. **/ requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** - * Clear an unrequested preimage from the runtime storage. - * - * If `len` is provided, then it will be a much cheaper operation. - * - * - `hash`: The hash of the preimage to be removed from the store. - * - `len`: The length of the preimage of `hash`. + * See [`Pallet::unnote_preimage`]. **/ unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** - * Clear a previously made request for a preimage. - * - * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. + * See [`Pallet::unrequest_preimage`]. **/ unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** @@ -1552,27 +694,27 @@ declare module '@polkadot/api-base/types/submittable' { }; scheduler: { /** - * Cancel an anonymously scheduled task. + * See [`Pallet::cancel`]. **/ cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32]>; /** - * Cancel a named scheduled task. + * See [`Pallet::cancel_named`]. **/ cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed]>; /** - * Anonymously schedule a task. + * See [`Pallet::schedule`]. **/ schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [u32, Option>, u8, Call]>; /** - * Anonymously schedule a task after a delay. + * See [`Pallet::schedule_after`]. **/ scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [u32, Option>, u8, Call]>; /** - * Schedule a named task. + * See [`Pallet::schedule_named`]. **/ scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call]>; /** - * Schedule a named task after a delay. + * See [`Pallet::schedule_named_after`]. **/ scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call]>; /** @@ -1582,30 +724,11 @@ declare module '@polkadot/api-base/types/submittable' { }; session: { /** - * Removes any session key(s) of the function caller. - * - * This doesn't take effect until the next session. - * - * The dispatch origin of this function must be Signed and the account must be either be - * convertible to a validator ID using the chain's typical addressing system (this usually - * means being a controller account) or directly convertible into a validator ID (which - * usually means being a stash account). - * - * ## Complexity - * - `O(1)` in number of key types. Actual cost depends on the number of length of - * `T::Keys::key_ids()` which is fixed. + * See [`Pallet::purge_keys`]. **/ purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Sets the session key(s) of the function caller to `keys`. - * Allows an account to set its session key prior to becoming a validator. - * This doesn't take effect until the next session. - * - * The dispatch origin of this function must be signed. - * - * ## Complexity - * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is - * fixed. + * See [`Pallet::set_keys`]. **/ setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>; /** @@ -1615,65 +738,27 @@ declare module '@polkadot/api-base/types/submittable' { }; stateTrieMigration: { /** - * Continue the migration for the given `limits`. - * - * The dispatch origin of this call can be any signed account. - * - * This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit, - * Upon successful execution, the transaction fee is returned. - * - * The (potentially over-estimated) of the byte length of all the data read must be - * provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing - * that executing the current `MigrationTask` with the given `limits` will not exceed - * `real_size_upper` bytes of read data. - * - * The `witness_task` is merely a helper to prevent the caller from being slashed or - * generally trigger a migration that they do not intend. This parameter is just a message - * from caller, saying that they believed `witness_task` was the last state of the - * migration, and they only wish for their transaction to do anything, if this assumption - * holds. In case `witness_task` does not match, the transaction fails. - * - * Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the - * recommended way of doing this is to pass a `limit` that only bounds `count`, as the - * `size` limit can always be overwritten. + * See [`Pallet::continue_migrate`]. **/ continueMigrate: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array, realSizeUpper: u32 | AnyNumber | Uint8Array, witnessTask: PalletStateTrieMigrationMigrationTask | { progressTop?: any; progressChild?: any; size_?: any; topItems?: any; childItems?: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletStateTrieMigrationMigrationLimits, u32, PalletStateTrieMigrationMigrationTask]>; /** - * Control the automatic migration. - * - * The dispatch origin of this call must be [`Config::ControlOrigin`]. + * See [`Pallet::control_auto_migration`]. **/ controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option | null | Uint8Array | PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string) => SubmittableExtrinsic, [Option]>; /** - * Forcefully set the progress the running migration. - * - * This is only useful in one case: the next key to migrate is too big to be migrated with - * a signed account, in a parachain context, and we simply want to skip it. A reasonable - * example of this would be `:code:`, which is both very expensive to migrate, and commonly - * used, so probably it is already migrated. - * - * In case you mess things up, you can also, in principle, use this to reset the migration - * process. + * See [`Pallet::force_set_progress`]. **/ forceSetProgress: AugmentedSubmittable<(progressTop: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array, progressChild: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletStateTrieMigrationProgress, PalletStateTrieMigrationProgress]>; /** - * Migrate the list of child keys by iterating each of them one by one. - * - * All of the given child keys must be present under one `child_root`. - * - * This does not affect the global migration process tracker ([`MigrationProcess`]), and - * should only be used in case any keys are leftover due to a bug. + * See [`Pallet::migrate_custom_child`]. **/ migrateCustomChild: AugmentedSubmittable<(root: Bytes | string | Uint8Array, childKeys: Vec | (Bytes | string | Uint8Array)[], totalSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Bytes, Vec, u32]>; /** - * Migrate the list of top keys by iterating each of them one by one. - * - * This does not affect the global migration process tracker ([`MigrationProcess`]), and - * should only be used in case any keys are leftover due to a bug. + * See [`Pallet::migrate_custom_top`]. **/ migrateCustomTop: AugmentedSubmittable<(keys: Vec | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, u32]>; /** - * Set the maximum limit of the signed migration. + * See [`Pallet::set_signed_max_limits`]. **/ setSignedMaxLimits: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletStateTrieMigrationMigrationLimits]>; /** @@ -1689,43 +774,19 @@ declare module '@polkadot/api-base/types/submittable' { }; sudo: { /** - * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo - * key. - * - * The dispatch origin for this call must be _Signed_. - * - * ## Complexity - * - O(1). + * See [`Pallet::set_key`]. **/ setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Authenticates the sudo key and dispatches a function call with `Root` origin. - * - * The dispatch origin for this call must be _Signed_. - * - * ## Complexity - * - O(1). + * See [`Pallet::sudo`]. **/ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call]>; /** - * Authenticates the sudo key and dispatches a function call with `Signed` origin from - * a given account. - * - * The dispatch origin for this call must be _Signed_. - * - * ## Complexity - * - O(1). + * See [`Pallet::sudo_as`]. **/ sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Call]>; /** - * Authenticates the sudo key and dispatches a function call with `Root` origin. - * This function does not check the weight of the call, and instead allows the - * Sudo user to specify the weight of the call. - * - * The dispatch origin for this call must be _Signed_. - * - * ## Complexity - * - O(1). + * See [`Pallet::sudo_unchecked_weight`]. **/ sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight]>; /** @@ -1735,40 +796,35 @@ declare module '@polkadot/api-base/types/submittable' { }; system: { /** - * Kill all storage items with a key that starts with the given prefix. - * - * **NOTE:** We rely on the Root origin to provide us the number of subkeys under - * the prefix we are removing to accurately calculate the weight of this function. + * See [`Pallet::kill_prefix`]. **/ killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Bytes, u32]>; /** - * Kill some items from storage. + * See [`Pallet::kill_storage`]. **/ killStorage: AugmentedSubmittable<(keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * Make some on-chain remark. - * - * - `O(1)` + * See [`Pallet::remark`]. **/ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * Make some on-chain remark and emit event. + * See [`Pallet::remark_with_event`]. **/ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * Set the new runtime code. + * See [`Pallet::set_code`]. **/ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * Set the new runtime code without doing any checks of the given `code`. + * See [`Pallet::set_code_without_checks`]. **/ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * Set the number of pages in the WebAssembly environment's heap. + * See [`Pallet::set_heap_pages`]. **/ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; /** - * Set some items of storage. + * See [`Pallet::set_storage`]. **/ setStorage: AugmentedSubmittable<(items: Vec> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; /** @@ -1778,111 +834,27 @@ declare module '@polkadot/api-base/types/submittable' { }; technicalCommittee: { /** - * Close a vote that is either approved, disapproved or whose voting period has ended. - * - * May be called by any signed account in order to finish voting and close the proposal. - * - * If called before the end of the voting period it will only close the vote if it is - * has enough votes to be approved or disapproved. - * - * If called after the end of the voting period abstentions are counted as rejections - * unless there is a prime member set and the prime member cast an approval. - * - * If the close operation completes successfully with disapproval, the transaction fee will - * be waived. Otherwise execution of the approved operation will be charged to the caller. - * - * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed - * proposal. - * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. - * - * ## Complexity - * - `O(B + M + P1 + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - `P1` is the complexity of `proposal` preimage. - * - `P2` is proposal-count (code-bounded) + * See [`Pallet::close`]. **/ close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact]>; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current - * state. - * - * Must be called by the Root origin. - * - * Parameters: - * * `proposal_hash`: The hash of the proposal that should be disapproved. - * - * ## Complexity - * O(P) where P is the number of max proposals + * See [`Pallet::disapprove_proposal`]. **/ disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** - * Dispatch a proposal from a member using the `Member` origin. - * - * Origin must be a member of the collective. - * - * ## Complexity: - * - `O(B + M + P)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` members-count (code-bounded) - * - `P` complexity of dispatching `proposal` + * See [`Pallet::execute`]. **/ execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Call, Compact]>; /** - * Add a new proposal to either be voted on or executed directly. - * - * Requires the sender to be member. - * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) - * or put up for voting. - * - * ## Complexity - * - `O(B + M + P1)` or `O(B + M + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - branching is influenced by `threshold` where: - * - `P1` is proposal execution complexity (`threshold < 2`) - * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) + * See [`Pallet::propose`]. **/ propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Call, Compact]>; /** - * Set the collective's membership. - * - * - `new_members`: The new member list. Be nice to the chain and provide it sorted. - * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for - * weight estimation. - * - * The dispatch of this call must be `SetMembersOrigin`. - * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but - * the weight estimations rely on it to estimate dispatchable weight. - * - * # WARNING: - * - * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. - * Any call to `set_members` must be careful that the member set doesn't get out of sync - * with other logic managing the member set. - * - * ## Complexity: - * - `O(MP + N)` where: - * - `M` old-members-count (code- and governance-bounded) - * - `N` new-members-count (code- and governance-bounded) - * - `P` proposals-count (code-bounded) + * See [`Pallet::set_members`]. **/ setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Option, u32]>; /** - * Add an aye or nay vote for the sender to the given proposal. - * - * Requires the sender to be a member. - * - * Transaction fees will be waived if the member is voting on any particular proposal - * for the first time and the call is successful. Subsequent vote changes will charge a - * fee. - * ## Complexity - * - `O(M)` where `M` is members-count (code- and governance-bounded) + * See [`Pallet::vote`]. **/ vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, Compact, bool]>; /** @@ -1892,50 +864,31 @@ declare module '@polkadot/api-base/types/submittable' { }; technicalCommitteeMembership: { /** - * Add a member `who` to the set. - * - * May only be called from `T::AddOrigin`. + * See [`Pallet::add_member`]. **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Swap out the sending member for some other key `new`. - * - * May only be called from `Signed` origin of a current member. - * - * Prime membership is passed from the origin account to `new`, if extant. + * See [`Pallet::change_key`]. **/ changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Remove the prime member if it exists. - * - * May only be called from `T::PrimeOrigin`. + * See [`Pallet::clear_prime`]. **/ clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Remove a member `who` from the set. - * - * May only be called from `T::RemoveOrigin`. + * See [`Pallet::remove_member`]. **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Change the membership to a new set, disregarding the existing membership. Be nice and - * pass `members` pre-sorted. - * - * May only be called from `T::ResetOrigin`. + * See [`Pallet::reset_members`]. **/ resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** - * Set the prime member. Must be a current member. - * - * May only be called from `T::PrimeOrigin`. + * See [`Pallet::set_prime`]. **/ setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** - * Swap out one member `remove` for another `add`. - * - * May only be called from `T::SwapOrigin`. - * - * Prime membership is *not* passed from `remove` to `add`, if extant. + * See [`Pallet::swap_member`]. **/ swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** @@ -1944,11 +897,29 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; testUtils: { + /** + * See `Pallet::batch_all`. + **/ batchAll: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + /** + * See `Pallet::enable`. + **/ enable: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * See `Pallet::inc_test_value`. + **/ incTestValue: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * See `Pallet::just_take_fee`. + **/ justTakeFee: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * See `Pallet::set_test_value`. + **/ setTestValue: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * See `Pallet::set_test_value_and_rollback`. + **/ setTestValueAndRollback: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Generic tx @@ -1957,21 +928,7 @@ declare module '@polkadot/api-base/types/submittable' { }; timestamp: { /** - * Set the current time. - * - * This call should be invoked exactly once per block. It will panic at the finalization - * phase, if this call hasn't been invoked by that time. - * - * The timestamp should be greater than the previous one by the amount specified by - * `MinimumPeriod`. - * - * The dispatch origin for this call must be `Inherent`. - * - * ## Complexity - * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) - * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in - * `on_finalize`) - * - 1 event handler `on_timestamp_set`. Must be `O(1)`. + * See [`Pallet::set`]. **/ set: AugmentedSubmittable<(now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** @@ -1981,80 +938,25 @@ declare module '@polkadot/api-base/types/submittable' { }; tokens: { /** - * Exactly as `transfer`, except the origin must be root and the source - * account may be specified. - * - * The dispatch origin for this call must be _Root_. - * - * - `source`: The sender of the transfer. - * - `dest`: The recipient of the transfer. - * - `currency_id`: currency type. - * - `amount`: free balance amount to tranfer. - **/ - forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, PalletForeignAssetsAssetIds, Compact]>; - /** - * Set the balances of a given account. - * - * This will alter `FreeBalance` and `ReservedBalance` in storage. it - * will also decrease the total issuance of the system - * (`TotalIssuance`). If the new free or reserved balance is below the - * existential deposit, it will reap the `AccountInfo`. - * - * The dispatch origin for this call is `root`. - **/ - setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array, newReserved: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetIds, Compact, Compact]>; - /** - * Transfer some liquid free balance to another account. - * - * `transfer` will set the `FreeBalance` of the sender and receiver. - * It will decrease the total issuance of the system by the - * `TransferFee`. If the sender's account is below the existential - * deposit as a result of the transfer, the account will be reaped. - * - * The dispatch origin for this call must be `Signed` by the - * transactor. - * - * - `dest`: The recipient of the transfer. - * - `currency_id`: currency type. - * - `amount`: free balance amount to tranfer. - **/ - transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetIds, Compact]>; - /** - * Transfer all remaining balance to the given account. - * - * NOTE: This function only attempts to transfer _transferable_ - * balances. This means that any locked, reserved, or existential - * deposits (when `keep_alive` is `true`), will not be transferred by - * this function. To ensure that this function results in a killed - * account, you might need to prepare the account by removing any - * reference counters, storage deposits, etc... - * - * The dispatch origin for this call must be `Signed` by the - * transactor. - * - * - `dest`: The recipient of the transfer. - * - `currency_id`: currency type. - * - `keep_alive`: A boolean to determine if the `transfer_all` - * operation should send all of the funds the account has, causing - * the sender account to be killed (false), or transfer everything - * except at least the existential deposit, which will guarantee to - * keep the sender account alive (true). - **/ - transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetIds, bool]>; - /** - * Same as the [`transfer`] call, but with a check that the transfer - * will not kill the origin account. - * - * 99% of the time you want [`transfer`] instead. - * - * The dispatch origin for this call must be `Signed` by the - * transactor. - * - * - `dest`: The recipient of the transfer. - * - `currency_id`: currency type. - * - `amount`: free balance amount to tranfer. - **/ - transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetIds, Compact]>; + * See [`Pallet::force_transfer`]. + **/ + forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, PalletForeignAssetsAssetId, Compact]>; + /** + * See [`Pallet::set_balance`]. + **/ + setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array, newReserved: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetId, Compact, Compact]>; + /** + * See [`Pallet::transfer`]. + **/ + transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetId, Compact]>; + /** + * See [`Pallet::transfer_all`]. + **/ + transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetId, bool]>; + /** + * See [`Pallet::transfer_keep_alive`]. + **/ + transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletForeignAssetsAssetId, Compact]>; /** * Generic tx **/ @@ -2062,58 +964,23 @@ declare module '@polkadot/api-base/types/submittable' { }; treasury: { /** - * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary - * and the original deposit will be returned. - * - * May only be called from `T::ApproveOrigin`. - * - * ## Complexity - * - O(1). + * See [`Pallet::approve_proposal`]. **/ approveProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** - * Put forward a suggestion for spending. A deposit proportional to the value - * is reserved and slashed if the proposal is rejected. It is returned once the - * proposal is awarded. - * - * ## Complexity - * - O(1) + * See [`Pallet::propose_spend`]. **/ proposeSpend: AugmentedSubmittable<(value: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; /** - * Reject a proposed spend. The original deposit will be slashed. - * - * May only be called from `T::RejectOrigin`. - * - * ## Complexity - * - O(1) + * See [`Pallet::reject_proposal`]. **/ rejectProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** - * Force a previously approved proposal to be removed from the approval queue. - * The original deposit will no longer be returned. - * - * May only be called from `T::RejectOrigin`. - * - `proposal_id`: The index of a proposal - * - * ## Complexity - * - O(A) where `A` is the number of approvals - * - * Errors: - * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue, - * i.e., the proposal has not been approved. This could also mean the proposal does not - * exist altogether, thus there is no way it would have been approved in the first place. + * See [`Pallet::remove_approval`]. **/ removeApproval: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** - * Propose and approve a spend of treasury funds. - * - * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`. - * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. - * - `beneficiary`: The destination account for the transfer. - * - * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the - * beneficiary. + * See [`Pallet::spend`]. **/ spend: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; /** @@ -2123,544 +990,131 @@ declare module '@polkadot/api-base/types/submittable' { }; unique: { /** - * Add an admin to a collection. - * - * NFT Collection can be controlled by multiple admin addresses - * (some which can also be servers, for example). Admins can issue - * and burn NFTs, as well as add and remove other admins, - * but cannot change NFT or Collection ownership. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * - * # Arguments - * - * * `collection_id`: ID of the Collection to add an admin for. - * * `new_admin`: Address of new admin to add. + * See [`Pallet::add_collection_admin`]. **/ addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>; /** - * Add an address to allow list. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * - * # Arguments - * - * * `collection_id`: ID of the modified collection. - * * `address`: ID of the address to be added to the allowlist. + * See [`Pallet::add_to_allow_list`]. **/ addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>; /** - * Allow a non-permissioned address to transfer or burn an item. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * * Current item owner - * - * # Arguments - * - * * `spender`: Account to be approved to make specific transactions on non-owned tokens. - * * `collection_id`: ID of the collection the item belongs to. - * * `item_id`: ID of the item transactions on which are now approved. - * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs). - * Set to 0 to revoke the approval. + * See [`Pallet::approve`]. **/ approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>; /** - * Allow a non-permissioned address to transfer or burn an item from owner's eth mirror. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * * Current item owner - * - * # Arguments - * - * * `from`: Owner's account eth mirror - * * `to`: Account to be approved to make specific transactions on non-owned tokens. - * * `collection_id`: ID of the collection the item belongs to. - * * `item_id`: ID of the item transactions on which are now approved. - * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs). - * Set to 0 to revoke the approval. + * See [`Pallet::approve_from`]. **/ approveFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, to: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>; /** - * Destroy a token on behalf of the owner as a non-owner account. - * - * See also: [`approve`][`Pallet::approve`]. - * - * After this method executes, one approval is removed from the total so that - * the approved address will not be able to transfer this item again from this owner. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * * Current token owner - * * Address approved by current item owner - * - * # Arguments - * - * * `from`: The owner of the burning item. - * * `collection_id`: ID of the collection to which the item belongs. - * * `item_id`: ID of item to burn. - * * `value`: Number of pieces to burn. - * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID. - * * Fungible Mode: The desired number of pieces to burn. - * * Re-Fungible Mode: The desired number of pieces to burn. + * See [`Pallet::burn_from`]. **/ burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>; /** - * Destroy an item. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * * Current item owner - * - * # Arguments - * - * * `collection_id`: ID of the collection to which the item belongs. - * * `item_id`: ID of item to burn. - * * `value`: Number of pieces of the item to destroy. - * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID. - * * Fungible Mode: The desired number of pieces to burn. - * * Re-Fungible Mode: The desired number of pieces to burn. + * See [`Pallet::burn_item`]. **/ burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32, u128]>; /** - * Change the owner of the collection. - * - * # Permissions - * - * * Collection owner - * - * # Arguments - * - * * `collection_id`: ID of the modified collection. - * * `new_owner`: ID of the account that will become the owner. + * See [`Pallet::change_collection_owner`]. **/ changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [u32, AccountId32]>; /** - * Confirm own sponsorship of a collection, becoming the sponsor. - * - * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`]. - * Sponsor can pay the fees of a transaction instead of the sender, - * but only within specified limits. - * - * # Permissions - * - * * Sponsor-to-be - * - * # Arguments - * - * * `collection_id`: ID of the collection with the pending sponsor. + * See [`Pallet::confirm_sponsorship`]. **/ confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Create a collection of tokens. - * - * Each Token may have multiple properties encoded as an array of bytes - * of certain length. The initial owner of the collection is set - * to the address that signed the transaction and can be changed later. - * - * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead. - * - * # Permissions - * - * * Anyone - becomes the owner of the new collection. - * - * # Arguments - * - * * `collection_name`: Wide-character string with collection name - * (limit [`MAX_COLLECTION_NAME_LENGTH`]). - * * `collection_description`: Wide-character string with collection description - * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]). - * * `token_prefix`: Byte string containing the token prefix to mark a collection - * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]). - * * `mode`: Type of items stored in the collection and type dependent data. - * - * returns collection ID - * - * Deprecated: `create_collection_ex` is more up-to-date and advanced, prefer it instead. + * See [`Pallet::create_collection`]. **/ createCollection: AugmentedSubmittable<(collectionName: Vec | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: UpDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic, [Vec, Vec, Bytes, UpDataStructsCollectionMode]>; /** - * Create a collection with explicit parameters. - * - * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method. - * - * # Permissions - * - * * Anyone - becomes the owner of the new collection. - * - * # Arguments - * - * * `data`: Explicit data of a collection used for its creation. + * See [`Pallet::create_collection_ex`]. **/ createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; limits?: any; permissions?: any; tokenPropertyPermissions?: any; properties?: any; adminList?: any; pendingSponsor?: any; flags?: any } | string | Uint8Array) => SubmittableExtrinsic, [UpDataStructsCreateCollectionData]>; /** - * Mint an item within a collection. - * - * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`]. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * * Anyone if - * * Allow List is enabled, and - * * Address is added to allow list, and - * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`]) - * - * # Arguments - * - * * `collection_id`: ID of the collection to which an item would belong. - * * `owner`: Address of the initial owner of the item. - * * `data`: Token data describing the item to store on chain. + * See [`Pallet::create_item`]. **/ createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>; /** - * Create multiple items within a collection. - * - * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`]. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * * Anyone if - * * Allow List is enabled, and - * * Address is added to the allow list, and - * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`]) - * - * # Arguments - * - * * `collection_id`: ID of the collection to which the tokens would belong. - * * `owner`: Address of the initial owner of the tokens. - * * `items_data`: Vector of data describing each item to be created. + * See [`Pallet::create_multiple_items`]. **/ createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec]>; /** - * Create multiple items within a collection with explicitly specified initial parameters. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * * Anyone if - * * Allow List is enabled, and - * * Address is added to allow list, and - * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`]) - * - * # Arguments - * - * * `collection_id`: ID of the collection to which the tokens would belong. - * * `data`: Explicit item creation data. + * See [`Pallet::create_multiple_items_ex`]. **/ createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, UpDataStructsCreateItemExData]>; /** - * Delete specified collection properties. - * - * # Permissions - * - * * Collection Owner - * * Collection Admin - * - * # Arguments - * - * * `collection_id`: ID of the modified collection. - * * `property_keys`: Vector of keys of the properties to be deleted. - * Keys support Latin letters, `-`, `_`, and `.` as symbols. + * See [`Pallet::delete_collection_properties`]. **/ deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, Vec]>; /** - * Delete specified token properties. Currently properties only work with NFTs. - * - * # Permissions - * - * * Depends on collection's token property permissions and specified property mutability: - * * Collection owner - * * Collection admin - * * Token owner - * - * # Arguments - * - * * `collection_id`: ID of the collection to which the token belongs. - * * `token_id`: ID of the modified token. - * * `property_keys`: Vector of keys of the properties to be deleted. - * Keys support Latin letters, `-`, `_`, and `.` as symbols. + * See [`Pallet::delete_token_properties`]. **/ deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, u32, Vec]>; /** - * Destroy a collection if no tokens exist within. - * - * # Permissions - * - * * Collection owner - * - * # Arguments - * - * * `collection_id`: Collection to destroy. + * See [`Pallet::destroy_collection`]. **/ destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Repairs a collection if the data was somehow corrupted. - * - * # Arguments - * - * * `collection_id`: ID of the collection to repair. + * See [`Pallet::force_repair_collection`]. **/ forceRepairCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Repairs a token if the data was somehow corrupted. - * - * # Arguments - * - * * `collection_id`: ID of the collection the item belongs to. - * * `item_id`: ID of the item. + * See [`Pallet::force_repair_item`]. **/ forceRepairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32]>; /** - * Remove admin of a collection. - * - * An admin address can remove itself. List of admins may become empty, - * in which case only Collection Owner will be able to add an Admin. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * - * # Arguments - * - * * `collection_id`: ID of the collection to remove the admin for. - * * `account_id`: Address of the admin to remove. + * See [`Pallet::remove_collection_admin`]. **/ removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>; /** - * Remove a collection's a sponsor, making everyone pay for their own transactions. - * - * # Permissions - * - * * Collection owner - * - * # Arguments - * - * * `collection_id`: ID of the collection with the sponsor to remove. + * See [`Pallet::remove_collection_sponsor`]. **/ removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Remove an address from allow list. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * - * # Arguments - * - * * `collection_id`: ID of the modified collection. - * * `address`: ID of the address to be removed from the allowlist. + * See [`Pallet::remove_from_allow_list`]. **/ removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>; /** - * Re-partition a refungible token, while owning all of its parts/pieces. - * - * # Permissions - * - * * Token owner (must own every part) - * - * # Arguments - * - * * `collection_id`: ID of the collection the RFT belongs to. - * * `token_id`: ID of the RFT. - * * `amount`: New number of parts/pieces into which the token shall be partitioned. + * See [`Pallet::repartition`]. **/ repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32, u128]>; /** - * Sets or unsets the approval of a given operator. - * - * The `operator` is allowed to transfer all tokens of the `owner` on their behalf. - * - * # Arguments - * - * * `owner`: Token owner - * * `operator`: Operator - * * `approve`: Should operator status be granted or revoked? + * See [`Pallet::set_allowance_for_all`]. **/ setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>; /** - * Set specific limits of a collection. Empty, or None fields mean chain default. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * - * # Arguments - * - * * `collection_id`: ID of the modified collection. - * * `new_limit`: New limits of the collection. Fields that are not set (None) - * will not overwrite the old ones. + * See [`Pallet::set_collection_limits`]. **/ setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, UpDataStructsCollectionLimits]>; /** - * Set specific permissions of a collection. Empty, or None fields mean chain default. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * - * # Arguments - * - * * `collection_id`: ID of the modified collection. - * * `new_permission`: New permissions of the collection. Fields that are not set (None) - * will not overwrite the old ones. + * See [`Pallet::set_collection_permissions`]. **/ setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, UpDataStructsCollectionPermissions]>; /** - * Add or change collection properties. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * - * # Arguments - * - * * `collection_id`: ID of the modified collection. - * * `properties`: Vector of key-value pairs stored as the collection's metadata. - * Keys support Latin letters, `-`, `_`, and `.` as symbols. + * See [`Pallet::set_collection_properties`]. **/ setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, Vec]>; /** - * Set (invite) a new collection sponsor. - * - * If successful, confirmation from the sponsor-to-be will be pending. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * - * # Arguments - * - * * `collection_id`: ID of the modified collection. - * * `new_sponsor`: ID of the account of the sponsor-to-be. + * See [`Pallet::set_collection_sponsor`]. **/ setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [u32, AccountId32]>; /** - * Add or change token properties according to collection's permissions. - * Currently properties only work with NFTs. - * - * # Permissions - * - * * Depends on collection's token property permissions and specified property mutability: - * * Collection owner - * * Collection admin - * * Token owner - * - * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`]. - * - * # Arguments - * - * * `collection_id: ID of the collection to which the token belongs. - * * `token_id`: ID of the modified token. - * * `properties`: Vector of key-value pairs stored as the token's metadata. - * Keys support Latin letters, `-`, `_`, and `.` as symbols. + * See [`Pallet::set_token_properties`]. **/ setTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, properties: Vec | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, u32, Vec]>; /** - * Add or change token property permissions of a collection. - * - * Without a permission for a particular key, a property with that key - * cannot be created in a token. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * - * # Arguments - * - * * `collection_id`: ID of the modified collection. - * * `property_permissions`: Vector of permissions for property keys. - * Keys support Latin letters, `-`, `_`, and `.` as symbols. + * See [`Pallet::set_token_property_permissions`]. **/ setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [u32, Vec]>; /** - * Completely allow or disallow transfers for a particular collection. - * - * # Permissions - * - * * Collection owner - * - * # Arguments - * - * * `collection_id`: ID of the collection. - * * `value`: New value of the flag, are transfers allowed? + * See [`Pallet::set_transfers_enabled_flag`]. **/ setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [u32, bool]>; /** - * Change ownership of the token. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * * Current token owner - * - * # Arguments - * - * * `recipient`: Address of token recipient. - * * `collection_id`: ID of the collection the item belongs to. - * * `item_id`: ID of the item. - * * Non-Fungible Mode: Required. - * * Fungible Mode: Ignored. - * * Re-Fungible Mode: Required. - * - * * `value`: Amount to transfer. - * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID. - * * Fungible Mode: The desired number of pieces to transfer. - * * Re-Fungible Mode: The desired number of pieces to transfer. + * See [`Pallet::transfer`]. **/ transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>; /** - * Change ownership of an item on behalf of the owner as a non-owner account. - * - * See the [`approve`][`Pallet::approve`] method for additional information. - * - * After this method executes, one approval is removed from the total so that - * the approved address will not be able to transfer this item again from this owner. - * - * # Permissions - * - * * Collection owner - * * Collection admin - * * Current item owner - * * Address approved by current item owner - * - * # Arguments - * - * * `from`: Address that currently owns the token. - * * `recipient`: Address of the new token-owner-to-be. - * * `collection_id`: ID of the collection the item. - * * `item_id`: ID of the item to be transferred. - * * `value`: Amount to transfer. - * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID. - * * Fungible Mode: The desired number of pieces to transfer. - * * Re-Fungible Mode: The desired number of pieces to transfer. + * See [`Pallet::transfer_from`]. **/ transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>; /** @@ -2668,10 +1122,52 @@ declare module '@polkadot/api-base/types/submittable' { **/ [key: string]: SubmittableExtrinsicFunction; }; + utility: { + /** + * See [`Pallet::as_derivative`]. + **/ + asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [u16, Call]>; + /** + * See [`Pallet::batch`]. + **/ + batch: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + /** + * See [`Pallet::batch_all`]. + **/ + batchAll: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + /** + * See [`Pallet::dispatch_as`]. + **/ + dispatchAs: AugmentedSubmittable<(asOrigin: OpalRuntimeOriginCaller | { system: any } | { Void: any } | { Council: any } | { TechnicalCommittee: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Origins: any } | { Ethereum: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [OpalRuntimeOriginCaller, Call]>; + /** + * See [`Pallet::force_batch`]. + **/ + forceBatch: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + /** + * See [`Pallet::with_weight`]. + **/ + withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight]>; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; vesting: { + /** + * See [`Pallet::claim`]. + **/ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * See [`Pallet::claim_for`]. + **/ claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; + /** + * See [`Pallet::update_vesting_schedules`]. + **/ updateVestingSchedules: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, vestingSchedules: Vec | (OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [MultiAddress, Vec]>; + /** + * See [`Pallet::vested_transfer`]. + **/ vestedTransfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, OrmlVestingVestingSchedule]>; /** * Generic tx @@ -2680,80 +1176,39 @@ declare module '@polkadot/api-base/types/submittable' { }; xcmpQueue: { /** - * Resumes all XCM executions for the XCMP queue. - * - * Note that this function doesn't change the status of the in/out bound channels. - * - * - `origin`: Must pass `ControllerOrigin`. + * See [`Pallet::resume_xcm_execution`]. **/ resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Services a single overweight XCM. - * - * - `origin`: Must pass `ExecuteOverweightOrigin`. - * - `index`: The index of the overweight XCM to service - * - `weight_limit`: The amount of weight that XCM execution may take. - * - * Errors: - * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map. - * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format. - * - `WeightOverLimit`: XCM execution may use greater `weight_limit`. - * - * Events: - * - `OverweightServiced`: On success. + * See [`Pallet::service_overweight`]. **/ serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [u64, SpWeightsWeightV2Weight]>; /** - * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin. - * - * - `origin`: Must pass `ControllerOrigin`. + * See [`Pallet::suspend_xcm_execution`]. **/ suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Overwrites the number of pages of messages which must be in the queue after which we drop any further - * messages from the channel. - * - * - `origin`: Must pass `Root`. - * - `new`: Desired value for `QueueConfigData.drop_threshold` + * See [`Pallet::update_drop_threshold`]. **/ updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Overwrites the number of pages of messages which the queue must be reduced to before it signals that - * message sending may recommence after it has been suspended. - * - * - `origin`: Must pass `Root`. - * - `new`: Desired value for `QueueConfigData.resume_threshold` + * See [`Pallet::update_resume_threshold`]. **/ updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Overwrites the number of pages of messages which must be in the queue for the other side to be told to - * suspend their sending. - * - * - `origin`: Must pass `Root`. - * - `new`: Desired value for `QueueConfigData.suspend_value` + * See [`Pallet::update_suspend_threshold`]. **/ updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** - * Overwrites the amount of remaining weight under which we stop processing messages. - * - * - `origin`: Must pass `Root`. - * - `new`: Desired value for `QueueConfigData.threshold_weight` + * See [`Pallet::update_threshold_weight`]. **/ updateThresholdWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [SpWeightsWeightV2Weight]>; /** - * Overwrites the speed to which the available weight approaches the maximum weight. - * A lower number results in a faster progression. A value of 1 makes the entire weight available initially. - * - * - `origin`: Must pass `Root`. - * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`. + * See [`Pallet::update_weight_restrict_decay`]. **/ updateWeightRestrictDecay: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [SpWeightsWeightV2Weight]>; /** - * Overwrite the maximum amount of weight any individual message may consume. - * Messages above this weight go into the overweight queue and may only be serviced explicitly. - * - * - `origin`: Must pass `Root`. - * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`. + * See [`Pallet::update_xcmp_max_individual_weight`]. **/ updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [SpWeightsWeightV2Weight]>; /** @@ -2763,119 +1218,29 @@ declare module '@polkadot/api-base/types/submittable' { }; xTokens: { /** - * Transfer native currencies. - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ - transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletForeignAssetsAssetIds, u128, XcmVersionedMultiLocation, XcmV3WeightLimit]>; - /** - * Transfer `MultiAsset`. - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ - transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV3WeightLimit]>; - /** - * Transfer several `MultiAsset` specifying the item to be used as fee - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * `fee_item` is index of the MultiAssets that we want to use for - * payment - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ - transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, XcmV3WeightLimit]>; - /** - * Transfer `MultiAsset` specifying the fee and amount as separate. - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * `fee` is the multiasset to be spent to pay for execution in - * destination chain. Both fee and amount will be subtracted form the - * callers balance For now we only accept fee and asset having the same - * `MultiLocation` id. - * - * If `fee` is not high enough to cover for the execution costs in the - * destination chain, then the assets will be trapped in the - * destination chain - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ - transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, fee: XcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV3WeightLimit]>; - /** - * Transfer several currencies specifying the item to be used as fee - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * `fee_item` is index of the currencies tuple that we want to use for - * payment - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ - transferMulticurrencies: AugmentedSubmittable<(currencies: Vec> | ([PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [Vec>, u32, XcmVersionedMultiLocation, XcmV3WeightLimit]>; - /** - * Transfer native currencies specifying the fee and amount as - * separate. - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * `fee` is the amount to be spent to pay for execution in destination - * chain. Both fee and amount will be subtracted form the callers - * balance. - * - * If `fee` is not high enough to cover for the execution costs in the - * destination chain, then the assets will be trapped in the - * destination chain - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ - transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletForeignAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, XcmV3WeightLimit]>; + * See [`Pallet::transfer`]. + **/ + transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletForeignAssetsAssetId, u128, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; + /** + * See [`Pallet::transfer_multiasset`]. + **/ + transferMultiasset: AugmentedSubmittable<(asset: StagingXcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; + /** + * See [`Pallet::transfer_multiassets`]. + **/ + transferMultiassets: AugmentedSubmittable<(assets: StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiAssets, u32, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; + /** + * See [`Pallet::transfer_multiasset_with_fee`]. + **/ + transferMultiassetWithFee: AugmentedSubmittable<(asset: StagingXcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, fee: StagingXcmVersionedMultiAsset | { V2: any } | { V3: any } | string | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; + /** + * See [`Pallet::transfer_multicurrencies`]. + **/ + transferMulticurrencies: AugmentedSubmittable<(currencies: Vec> | ([PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [Vec>, u32, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; + /** + * See [`Pallet::transfer_with_fee`]. + **/ + transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetId | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, destWeightLimit: StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [PalletForeignAssetsAssetId, u128, u128, StagingXcmVersionedMultiLocation, StagingXcmV3WeightLimit]>; /** * Generic tx **/ diff --git a/tests/src/interfaces/augment-types.ts b/tests/src/interfaces/augment-types.ts index 49e7ba869e..bdb80cc809 100644 --- a/tests/src/interfaces/augment-types.ts +++ b/tests/src/interfaces/augment-types.ts @@ -5,7 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackInfo, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV4AbridgedHostConfiguration, PolkadotPrimitivesV4AbridgedHrmpChannel, PolkadotPrimitivesV4PersistedValidationData, PolkadotPrimitivesV4UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAssetId, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedResponse, XcmVersionedXcm } from './default'; +import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollatorSelectionHoldReason, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetId, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackInfo, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat, PolkadotPrimitivesV5AbridgedHostConfiguration, PolkadotPrimitivesV5AbridgedHrmpChannel, PolkadotPrimitivesV5PersistedValidationData, PolkadotPrimitivesV5UpgradeGoAhead, PolkadotPrimitivesV5UpgradeRestriction, PolkadotPrimitivesVstagingAsyncBackingParams, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmDoubleEncoded, StagingXcmV2BodyId, StagingXcmV2BodyPart, StagingXcmV2Instruction, StagingXcmV2Junction, StagingXcmV2MultiAsset, StagingXcmV2MultiLocation, StagingXcmV2MultiassetAssetId, StagingXcmV2MultiassetAssetInstance, StagingXcmV2MultiassetFungibility, StagingXcmV2MultiassetMultiAssetFilter, StagingXcmV2MultiassetMultiAssets, StagingXcmV2MultiassetWildFungibility, StagingXcmV2MultiassetWildMultiAsset, StagingXcmV2MultilocationJunctions, StagingXcmV2NetworkId, StagingXcmV2OriginKind, StagingXcmV2Response, StagingXcmV2TraitsError, StagingXcmV2WeightLimit, StagingXcmV2Xcm, StagingXcmV3Instruction, StagingXcmV3Junction, StagingXcmV3JunctionBodyId, StagingXcmV3JunctionBodyPart, StagingXcmV3JunctionNetworkId, StagingXcmV3Junctions, StagingXcmV3MaybeErrorCode, StagingXcmV3MultiAsset, StagingXcmV3MultiLocation, StagingXcmV3MultiassetAssetId, StagingXcmV3MultiassetAssetInstance, StagingXcmV3MultiassetFungibility, StagingXcmV3MultiassetMultiAssetFilter, StagingXcmV3MultiassetMultiAssets, StagingXcmV3MultiassetWildFungibility, StagingXcmV3MultiassetWildMultiAsset, StagingXcmV3PalletInfo, StagingXcmV3QueryResponseInfo, StagingXcmV3Response, StagingXcmV3TraitsError, StagingXcmV3TraitsOutcome, StagingXcmV3WeightLimit, StagingXcmV3Xcm, StagingXcmVersionedAssetId, StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiAssets, StagingXcmVersionedMultiLocation, StagingXcmVersionedResponse, StagingXcmVersionedXcm, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue } from './default'; import type { Data, StorageKey } from '@polkadot/types'; import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets'; @@ -33,7 +33,7 @@ import type { BlockStats } from '@polkadot/types/interfaces/dev'; import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections'; import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth'; -import type { EvmAccount, EvmCallInfo, EvmCreateInfo, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm'; +import type { EvmAccount, EvmCallInfo, EvmCallInfoV2, EvmCreateInfo, EvmCreateInfoV2, EvmLog, EvmVicinity, EvmWeightInfo, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm'; import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; import type { FungiblesAccessError } from '@polkadot/types/interfaces/fungibles'; import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset'; @@ -42,13 +42,13 @@ import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, A import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity'; import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery'; -import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV15, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletMetadataV15, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, RuntimeApiMetadataLatest, RuntimeApiMetadataV15, RuntimeApiMethodMetadataV15, RuntimeApiMethodParamMetadataV15, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; +import type { CustomMetadata15, CustomValueMetadata15, ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, ExtrinsicMetadataV15, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV15, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, OuterEnums15, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletMetadataV15, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, RuntimeApiMetadataLatest, RuntimeApiMetadataV15, RuntimeApiMethodMetadataV15, RuntimeApiMethodParamMetadataV15, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrHash, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr'; import type { NftCollectionId, NftItemId } from '@polkadot/types/interfaces/nfts'; import type { NpApiError, NpPoolId } from '@polkadot/types/interfaces/nompools'; import type { StorageKind } from '@polkadot/types/interfaces/offchain'; import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences'; -import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; +import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeProof, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DisputesTimeSlot, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PendingSlashes, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlashingOffenceKind, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment'; import type { Approvals } from '@polkadot/types/interfaces/poll'; import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy'; @@ -335,7 +335,11 @@ declare module '@polkadot/types/types/registry' { CumulusPalletParachainSystemError: CumulusPalletParachainSystemError; CumulusPalletParachainSystemEvent: CumulusPalletParachainSystemEvent; CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot; - CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize: CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize; + CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; + CumulusPalletParachainSystemUnincludedSegmentAncestor: CumulusPalletParachainSystemUnincludedSegmentAncestor; + CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate; + CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: CumulusPalletParachainSystemUnincludedSegmentSegmentTracker; + CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; CumulusPalletXcmCall: CumulusPalletXcmCall; CumulusPalletXcmError: CumulusPalletXcmError; CumulusPalletXcmEvent: CumulusPalletXcmEvent; @@ -349,6 +353,8 @@ declare module '@polkadot/types/types/registry' { CumulusPalletXcmpQueueOutboundState: CumulusPalletXcmpQueueOutboundState; CumulusPalletXcmpQueueQueueConfigData: CumulusPalletXcmpQueueQueueConfigData; CumulusPrimitivesParachainInherentParachainInherentData: CumulusPrimitivesParachainInherentParachainInherentData; + CustomMetadata15: CustomMetadata15; + CustomValueMetadata15: CustomValueMetadata15; Data: Data; DeferredOffenceOf: DeferredOffenceOf; DefunctVoter: DefunctVoter; @@ -382,10 +388,12 @@ declare module '@polkadot/types/types/registry' { DispatchResultOf: DispatchResultOf; DispatchResultTo198: DispatchResultTo198; DisputeLocation: DisputeLocation; + DisputeProof: DisputeProof; DisputeResult: DisputeResult; DisputeState: DisputeState; DisputeStatement: DisputeStatement; DisputeStatementSet: DisputeStatementSet; + DisputesTimeSlot: DisputesTimeSlot; DoubleEncodedCall: DoubleEncodedCall; DoubleVoteReport: DoubleVoteReport; DownwardMessage: DownwardMessage; @@ -480,14 +488,17 @@ declare module '@polkadot/types/types/registry' { EventRecord: EventRecord; EvmAccount: EvmAccount; EvmCallInfo: EvmCallInfo; + EvmCallInfoV2: EvmCallInfoV2; EvmCoreErrorExitError: EvmCoreErrorExitError; EvmCoreErrorExitFatal: EvmCoreErrorExitFatal; EvmCoreErrorExitReason: EvmCoreErrorExitReason; EvmCoreErrorExitRevert: EvmCoreErrorExitRevert; EvmCoreErrorExitSucceed: EvmCoreErrorExitSucceed; EvmCreateInfo: EvmCreateInfo; + EvmCreateInfoV2: EvmCreateInfoV2; EvmLog: EvmLog; EvmVicinity: EvmVicinity; + EvmWeightInfo: EvmWeightInfo; ExecReturnValue: ExecReturnValue; ExecutorParam: ExecutorParam; ExecutorParams: ExecutorParams; @@ -507,6 +518,7 @@ declare module '@polkadot/types/types/registry' { ExtrinsicMetadataV12: ExtrinsicMetadataV12; ExtrinsicMetadataV13: ExtrinsicMetadataV13; ExtrinsicMetadataV14: ExtrinsicMetadataV14; + ExtrinsicMetadataV15: ExtrinsicMetadataV15; ExtrinsicOrHash: ExtrinsicOrHash; ExtrinsicPayload: ExtrinsicPayload; ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown; @@ -800,6 +812,7 @@ declare module '@polkadot/types/types/registry' { OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls; OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance; OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys; + OpalRuntimeRuntimeHoldReason: OpalRuntimeRuntimeHoldReason; OpaqueCall: OpaqueCall; OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof; OpaqueMetadata: OpaqueMetadata; @@ -837,6 +850,7 @@ declare module '@polkadot/types/types/registry' { OutboundPayload: OutboundPayload; OutboundStatus: OutboundStatus; Outcome: Outcome; + OuterEnums15: OuterEnums15; OverweightIndex: OverweightIndex; Owner: Owner; PageCounter: PageCounter; @@ -857,6 +871,7 @@ declare module '@polkadot/types/types/registry' { PalletCollatorSelectionCall: PalletCollatorSelectionCall; PalletCollatorSelectionError: PalletCollatorSelectionError; PalletCollatorSelectionEvent: PalletCollatorSelectionEvent; + PalletCollatorSelectionHoldReason: PalletCollatorSelectionHoldReason; PalletCollectiveCall: PalletCollectiveCall; PalletCollectiveError: PalletCollectiveError; PalletCollectiveEvent: PalletCollectiveEvent; @@ -905,7 +920,7 @@ declare module '@polkadot/types/types/registry' { PalletEvmMigrationCall: PalletEvmMigrationCall; PalletEvmMigrationError: PalletEvmMigrationError; PalletEvmMigrationEvent: PalletEvmMigrationEvent; - PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds; + PalletForeignAssetsAssetId: PalletForeignAssetsAssetId; PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata; PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall; PalletForeignAssetsModuleError: PalletForeignAssetsModuleError; @@ -991,6 +1006,9 @@ declare module '@polkadot/types/types/registry' { PalletTreasuryProposal: PalletTreasuryProposal; PalletUniqueCall: PalletUniqueCall; PalletUniqueError: PalletUniqueError; + PalletUtilityCall: PalletUtilityCall; + PalletUtilityError: PalletUtilityError; + PalletUtilityEvent: PalletUtilityEvent; PalletVersion: PalletVersion; PalletXcmCall: PalletXcmCall; PalletXcmError: PalletXcmError; @@ -1024,6 +1042,7 @@ declare module '@polkadot/types/types/registry' { PendingChange: PendingChange; PendingPause: PendingPause; PendingResume: PendingResume; + PendingSlashes: PendingSlashes; Perbill: Perbill; Percent: Percent; PerDispatchClassU32: PerDispatchClassU32; @@ -1046,11 +1065,13 @@ declare module '@polkadot/types/types/registry' { PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage; PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; - PolkadotParachainPrimitivesXcmpMessageFormat: PolkadotParachainPrimitivesXcmpMessageFormat; - PolkadotPrimitivesV4AbridgedHostConfiguration: PolkadotPrimitivesV4AbridgedHostConfiguration; - PolkadotPrimitivesV4AbridgedHrmpChannel: PolkadotPrimitivesV4AbridgedHrmpChannel; - PolkadotPrimitivesV4PersistedValidationData: PolkadotPrimitivesV4PersistedValidationData; - PolkadotPrimitivesV4UpgradeRestriction: PolkadotPrimitivesV4UpgradeRestriction; + PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat: PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat; + PolkadotPrimitivesV5AbridgedHostConfiguration: PolkadotPrimitivesV5AbridgedHostConfiguration; + PolkadotPrimitivesV5AbridgedHrmpChannel: PolkadotPrimitivesV5AbridgedHrmpChannel; + PolkadotPrimitivesV5PersistedValidationData: PolkadotPrimitivesV5PersistedValidationData; + PolkadotPrimitivesV5UpgradeGoAhead: PolkadotPrimitivesV5UpgradeGoAhead; + PolkadotPrimitivesV5UpgradeRestriction: PolkadotPrimitivesV5UpgradeRestriction; + PolkadotPrimitivesVstagingAsyncBackingParams: PolkadotPrimitivesVstagingAsyncBackingParams; PortableType: PortableType; PortableTypeV14: PortableTypeV14; Precommits: Precommits; @@ -1247,6 +1268,7 @@ declare module '@polkadot/types/types/registry' { SiTypeDefVariant: SiTypeDefVariant; SiTypeParameter: SiTypeParameter; SiVariant: SiVariant; + SlashingOffenceKind: SlashingOffenceKind; SlashingSpans: SlashingSpans; SlashingSpansTo204: SlashingSpansTo204; SlashJournalEntry: SlashJournalEntry; @@ -1286,6 +1308,56 @@ declare module '@polkadot/types/types/registry' { SpWeightsRuntimeDbWeight: SpWeightsRuntimeDbWeight; SpWeightsWeightV2Weight: SpWeightsWeightV2Weight; Sr25519Signature: Sr25519Signature; + StagingXcmDoubleEncoded: StagingXcmDoubleEncoded; + StagingXcmV2BodyId: StagingXcmV2BodyId; + StagingXcmV2BodyPart: StagingXcmV2BodyPart; + StagingXcmV2Instruction: StagingXcmV2Instruction; + StagingXcmV2Junction: StagingXcmV2Junction; + StagingXcmV2MultiAsset: StagingXcmV2MultiAsset; + StagingXcmV2MultiassetAssetId: StagingXcmV2MultiassetAssetId; + StagingXcmV2MultiassetAssetInstance: StagingXcmV2MultiassetAssetInstance; + StagingXcmV2MultiassetFungibility: StagingXcmV2MultiassetFungibility; + StagingXcmV2MultiassetMultiAssetFilter: StagingXcmV2MultiassetMultiAssetFilter; + StagingXcmV2MultiassetMultiAssets: StagingXcmV2MultiassetMultiAssets; + StagingXcmV2MultiassetWildFungibility: StagingXcmV2MultiassetWildFungibility; + StagingXcmV2MultiassetWildMultiAsset: StagingXcmV2MultiassetWildMultiAsset; + StagingXcmV2MultiLocation: StagingXcmV2MultiLocation; + StagingXcmV2MultilocationJunctions: StagingXcmV2MultilocationJunctions; + StagingXcmV2NetworkId: StagingXcmV2NetworkId; + StagingXcmV2OriginKind: StagingXcmV2OriginKind; + StagingXcmV2Response: StagingXcmV2Response; + StagingXcmV2TraitsError: StagingXcmV2TraitsError; + StagingXcmV2WeightLimit: StagingXcmV2WeightLimit; + StagingXcmV2Xcm: StagingXcmV2Xcm; + StagingXcmV3Instruction: StagingXcmV3Instruction; + StagingXcmV3Junction: StagingXcmV3Junction; + StagingXcmV3JunctionBodyId: StagingXcmV3JunctionBodyId; + StagingXcmV3JunctionBodyPart: StagingXcmV3JunctionBodyPart; + StagingXcmV3JunctionNetworkId: StagingXcmV3JunctionNetworkId; + StagingXcmV3Junctions: StagingXcmV3Junctions; + StagingXcmV3MaybeErrorCode: StagingXcmV3MaybeErrorCode; + StagingXcmV3MultiAsset: StagingXcmV3MultiAsset; + StagingXcmV3MultiassetAssetId: StagingXcmV3MultiassetAssetId; + StagingXcmV3MultiassetAssetInstance: StagingXcmV3MultiassetAssetInstance; + StagingXcmV3MultiassetFungibility: StagingXcmV3MultiassetFungibility; + StagingXcmV3MultiassetMultiAssetFilter: StagingXcmV3MultiassetMultiAssetFilter; + StagingXcmV3MultiassetMultiAssets: StagingXcmV3MultiassetMultiAssets; + StagingXcmV3MultiassetWildFungibility: StagingXcmV3MultiassetWildFungibility; + StagingXcmV3MultiassetWildMultiAsset: StagingXcmV3MultiassetWildMultiAsset; + StagingXcmV3MultiLocation: StagingXcmV3MultiLocation; + StagingXcmV3PalletInfo: StagingXcmV3PalletInfo; + StagingXcmV3QueryResponseInfo: StagingXcmV3QueryResponseInfo; + StagingXcmV3Response: StagingXcmV3Response; + StagingXcmV3TraitsError: StagingXcmV3TraitsError; + StagingXcmV3TraitsOutcome: StagingXcmV3TraitsOutcome; + StagingXcmV3WeightLimit: StagingXcmV3WeightLimit; + StagingXcmV3Xcm: StagingXcmV3Xcm; + StagingXcmVersionedAssetId: StagingXcmVersionedAssetId; + StagingXcmVersionedMultiAsset: StagingXcmVersionedMultiAsset; + StagingXcmVersionedMultiAssets: StagingXcmVersionedMultiAssets; + StagingXcmVersionedMultiLocation: StagingXcmVersionedMultiLocation; + StagingXcmVersionedResponse: StagingXcmVersionedResponse; + StagingXcmVersionedXcm: StagingXcmVersionedXcm; StakingLedger: StakingLedger; StakingLedgerTo223: StakingLedgerTo223; StakingLedgerTo240: StakingLedgerTo240; @@ -1496,7 +1568,6 @@ declare module '@polkadot/types/types/registry' { WithdrawReasons: WithdrawReasons; Xcm: Xcm; XcmAssetId: XcmAssetId; - XcmDoubleEncoded: XcmDoubleEncoded; XcmError: XcmError; XcmErrorV0: XcmErrorV0; XcmErrorV1: XcmErrorV1; @@ -1511,55 +1582,6 @@ declare module '@polkadot/types/types/registry' { XcmV0: XcmV0; XcmV1: XcmV1; XcmV2: XcmV2; - XcmV2BodyId: XcmV2BodyId; - XcmV2BodyPart: XcmV2BodyPart; - XcmV2Instruction: XcmV2Instruction; - XcmV2Junction: XcmV2Junction; - XcmV2MultiAsset: XcmV2MultiAsset; - XcmV2MultiassetAssetId: XcmV2MultiassetAssetId; - XcmV2MultiassetAssetInstance: XcmV2MultiassetAssetInstance; - XcmV2MultiassetFungibility: XcmV2MultiassetFungibility; - XcmV2MultiassetMultiAssetFilter: XcmV2MultiassetMultiAssetFilter; - XcmV2MultiassetMultiAssets: XcmV2MultiassetMultiAssets; - XcmV2MultiassetWildFungibility: XcmV2MultiassetWildFungibility; - XcmV2MultiassetWildMultiAsset: XcmV2MultiassetWildMultiAsset; - XcmV2MultiLocation: XcmV2MultiLocation; - XcmV2MultilocationJunctions: XcmV2MultilocationJunctions; - XcmV2NetworkId: XcmV2NetworkId; - XcmV2OriginKind: XcmV2OriginKind; - XcmV2Response: XcmV2Response; - XcmV2TraitsError: XcmV2TraitsError; - XcmV2WeightLimit: XcmV2WeightLimit; - XcmV2Xcm: XcmV2Xcm; - XcmV3Instruction: XcmV3Instruction; - XcmV3Junction: XcmV3Junction; - XcmV3JunctionBodyId: XcmV3JunctionBodyId; - XcmV3JunctionBodyPart: XcmV3JunctionBodyPart; - XcmV3JunctionNetworkId: XcmV3JunctionNetworkId; - XcmV3Junctions: XcmV3Junctions; - XcmV3MaybeErrorCode: XcmV3MaybeErrorCode; - XcmV3MultiAsset: XcmV3MultiAsset; - XcmV3MultiassetAssetId: XcmV3MultiassetAssetId; - XcmV3MultiassetAssetInstance: XcmV3MultiassetAssetInstance; - XcmV3MultiassetFungibility: XcmV3MultiassetFungibility; - XcmV3MultiassetMultiAssetFilter: XcmV3MultiassetMultiAssetFilter; - XcmV3MultiassetMultiAssets: XcmV3MultiassetMultiAssets; - XcmV3MultiassetWildFungibility: XcmV3MultiassetWildFungibility; - XcmV3MultiassetWildMultiAsset: XcmV3MultiassetWildMultiAsset; - XcmV3MultiLocation: XcmV3MultiLocation; - XcmV3PalletInfo: XcmV3PalletInfo; - XcmV3QueryResponseInfo: XcmV3QueryResponseInfo; - XcmV3Response: XcmV3Response; - XcmV3TraitsError: XcmV3TraitsError; - XcmV3TraitsOutcome: XcmV3TraitsOutcome; - XcmV3WeightLimit: XcmV3WeightLimit; - XcmV3Xcm: XcmV3Xcm; XcmVersion: XcmVersion; - XcmVersionedAssetId: XcmVersionedAssetId; - XcmVersionedMultiAsset: XcmVersionedMultiAsset; - XcmVersionedMultiAssets: XcmVersionedMultiAssets; - XcmVersionedMultiLocation: XcmVersionedMultiLocation; - XcmVersionedResponse: XcmVersionedResponse; - XcmVersionedXcm: XcmVersionedXcm; } // InterfaceTypes } // declare module diff --git a/tests/src/interfaces/default/types.ts b/tests/src/interfaces/default/types.ts index 74014675fd..43c35ad6da 100644 --- a/tests/src/interfaces/default/types.ts +++ b/tests/src/interfaces/default/types.ts @@ -34,25 +34,28 @@ export interface CumulusPalletDmpQueueError extends Enum { export interface CumulusPalletDmpQueueEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: { - readonly messageId: U8aFixed; + readonly messageHash: U8aFixed; } & Struct; readonly isUnsupportedVersion: boolean; readonly asUnsupportedVersion: { - readonly messageId: U8aFixed; + readonly messageHash: U8aFixed; } & Struct; readonly isExecutedDownward: boolean; readonly asExecutedDownward: { + readonly messageHash: U8aFixed; readonly messageId: U8aFixed; - readonly outcome: XcmV3TraitsOutcome; + readonly outcome: StagingXcmV3TraitsOutcome; } & Struct; readonly isWeightExhausted: boolean; readonly asWeightExhausted: { + readonly messageHash: U8aFixed; readonly messageId: U8aFixed; readonly remainingWeight: SpWeightsWeightV2Weight; readonly requiredWeight: SpWeightsWeightV2Weight; } & Struct; readonly isOverweightEnqueued: boolean; readonly asOverweightEnqueued: { + readonly messageHash: U8aFixed; readonly messageId: U8aFixed; readonly overweightIndex: u64; readonly requiredWeight: SpWeightsWeightV2Weight; @@ -64,7 +67,7 @@ export interface CumulusPalletDmpQueueEvent extends Enum { } & Struct; readonly isMaxMessagesExhausted: boolean; readonly asMaxMessagesExhausted: { - readonly messageId: U8aFixed; + readonly messageHash: U8aFixed; } & Struct; readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced' | 'MaxMessagesExhausted'; } @@ -148,17 +151,44 @@ export interface CumulusPalletParachainSystemEvent extends Enum { /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */ export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; - readonly relayDispatchQueueSize: CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } -/** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize */ -export interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize extends Struct { +/** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity */ +export interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct { readonly remainingCount: u32; readonly remainingSize: u32; } +/** @name CumulusPalletParachainSystemUnincludedSegmentAncestor */ +export interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { + readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; + readonly paraHeadHash: Option; + readonly consumedGoAheadSignal: Option; +} + +/** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate */ +export interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct { + readonly msgCount: u32; + readonly totalBytes: u32; +} + +/** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker */ +export interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { + readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; + readonly hrmpWatermark: Option; + readonly consumedGoAheadSignal: Option; +} + +/** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth */ +export interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct { + readonly umpMsgCount: u32; + readonly umpTotalBytes: u32; + readonly hrmpOutgoing: BTreeMap; +} + /** @name CumulusPalletXcmCall */ export interface CumulusPalletXcmCall extends Null {} @@ -172,7 +202,7 @@ export interface CumulusPalletXcmEvent extends Enum { readonly isUnsupportedVersion: boolean; readonly asUnsupportedVersion: U8aFixed; readonly isExecutedDownward: boolean; - readonly asExecutedDownward: ITuple<[U8aFixed, XcmV3TraitsOutcome]>; + readonly asExecutedDownward: ITuple<[U8aFixed, StagingXcmV3TraitsOutcome]>; readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward'; } @@ -234,26 +264,28 @@ export interface CumulusPalletXcmpQueueError extends Enum { export interface CumulusPalletXcmpQueueEvent extends Enum { readonly isSuccess: boolean; readonly asSuccess: { - readonly messageHash: Option; + readonly messageHash: U8aFixed; + readonly messageId: U8aFixed; readonly weight: SpWeightsWeightV2Weight; } & Struct; readonly isFail: boolean; readonly asFail: { - readonly messageHash: Option; - readonly error: XcmV3TraitsError; + readonly messageHash: U8aFixed; + readonly messageId: U8aFixed; + readonly error: StagingXcmV3TraitsError; readonly weight: SpWeightsWeightV2Weight; } & Struct; readonly isBadVersion: boolean; readonly asBadVersion: { - readonly messageHash: Option; + readonly messageHash: U8aFixed; } & Struct; readonly isBadFormat: boolean; readonly asBadFormat: { - readonly messageHash: Option; + readonly messageHash: U8aFixed; } & Struct; readonly isXcmpMessageSent: boolean; readonly asXcmpMessageSent: { - readonly messageHash: Option; + readonly messageHash: U8aFixed; } & Struct; readonly isOverweightEnqueued: boolean; readonly asOverweightEnqueued: { @@ -274,7 +306,7 @@ export interface CumulusPalletXcmpQueueEvent extends Enum { export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { readonly sender: u32; readonly state: CumulusPalletXcmpQueueInboundState; - readonly messageMetadata: Vec>; + readonly messageMetadata: Vec>; } /** @name CumulusPalletXcmpQueueInboundState */ @@ -312,7 +344,7 @@ export interface CumulusPalletXcmpQueueQueueConfigData extends Struct { /** @name CumulusPrimitivesParachainInherentParachainInherentData */ export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV4PersistedValidationData; + readonly validationData: PolkadotPrimitivesV5PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; @@ -787,6 +819,13 @@ export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct { readonly aura: SpConsensusAuraSr25519AppSr25519Public; } +/** @name OpalRuntimeRuntimeHoldReason */ +export interface OpalRuntimeRuntimeHoldReason extends Enum { + readonly isCollatorSelection: boolean; + readonly asCollatorSelection: PalletCollatorSelectionHoldReason; + readonly type: 'CollatorSelection'; +} + /** @name OrmlTokensAccountData */ export interface OrmlTokensAccountData extends Struct { readonly free: u128; @@ -805,32 +844,32 @@ export interface OrmlTokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: Compact; } & Struct; readonly isTransferAll: boolean; readonly asTransferAll: { readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly keepAlive: bool; } & Struct; readonly isTransferKeepAlive: boolean; readonly asTransferKeepAlive: { readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: Compact; } & Struct; readonly isForceTransfer: boolean; readonly asForceTransfer: { readonly source: MultiAddress; readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: Compact; } & Struct; readonly isSetBalance: boolean; readonly asSetBalance: { readonly who: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly newFree: Compact; readonly newReserved: Compact; } & Struct; @@ -854,38 +893,38 @@ export interface OrmlTokensModuleError extends Enum { export interface OrmlTokensModuleEvent extends Enum { readonly isEndowed: boolean; readonly asEndowed: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isDustLost: boolean; readonly asDustLost: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isTransfer: boolean; readonly asTransfer: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly from: AccountId32; readonly to: AccountId32; readonly amount: u128; } & Struct; readonly isReserved: boolean; readonly asReserved: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isUnreserved: boolean; readonly asUnreserved: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isReserveRepatriated: boolean; readonly asReserveRepatriated: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly from: AccountId32; readonly to: AccountId32; readonly amount: u128; @@ -893,61 +932,71 @@ export interface OrmlTokensModuleEvent extends Enum { } & Struct; readonly isBalanceSet: boolean; readonly asBalanceSet: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly free: u128; readonly reserved: u128; } & Struct; readonly isTotalIssuanceSet: boolean; readonly asTotalIssuanceSet: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: u128; } & Struct; readonly isWithdrawn: boolean; readonly asWithdrawn: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isSlashed: boolean; readonly asSlashed: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly freeAmount: u128; readonly reservedAmount: u128; } & Struct; readonly isDeposited: boolean; readonly asDeposited: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isLockSet: boolean; readonly asLockSet: { readonly lockId: U8aFixed; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isLockRemoved: boolean; readonly asLockRemoved: { readonly lockId: U8aFixed; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; } & Struct; readonly isLocked: boolean; readonly asLocked: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isUnlocked: boolean; readonly asUnlocked: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; - readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved' | 'Locked' | 'Unlocked'; + readonly isIssued: boolean; + readonly asIssued: { + readonly currencyId: PalletForeignAssetsAssetId; + readonly amount: u128; + } & Struct; + readonly isRescinded: boolean; + readonly asRescinded: { + readonly currencyId: PalletForeignAssetsAssetId; + readonly amount: u128; + } & Struct; + readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved' | 'Locked' | 'Unlocked' | 'Issued' | 'Rescinded'; } /** @name OrmlTokensReserveData */ @@ -1019,45 +1068,45 @@ export interface OrmlVestingVestingSchedule extends Struct { export interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: u128; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isTransferMultiasset: boolean; readonly asTransferMultiasset: { - readonly asset: XcmVersionedMultiAsset; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly asset: StagingXcmVersionedMultiAsset; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isTransferWithFee: boolean; readonly asTransferWithFee: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: u128; readonly fee: u128; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isTransferMultiassetWithFee: boolean; readonly asTransferMultiassetWithFee: { - readonly asset: XcmVersionedMultiAsset; - readonly fee: XcmVersionedMultiAsset; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly asset: StagingXcmVersionedMultiAsset; + readonly fee: StagingXcmVersionedMultiAsset; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isTransferMulticurrencies: boolean; readonly asTransferMulticurrencies: { - readonly currencies: Vec>; + readonly currencies: Vec>; readonly feeItem: u32; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isTransferMultiassets: boolean; readonly asTransferMultiassets: { - readonly assets: XcmVersionedMultiAssets; + readonly assets: StagingXcmVersionedMultiAssets; readonly feeItem: u32; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets'; } @@ -1091,9 +1140,9 @@ export interface OrmlXtokensModuleEvent extends Enum { readonly isTransferredMultiAssets: boolean; readonly asTransferredMultiAssets: { readonly sender: AccountId32; - readonly assets: XcmV3MultiassetMultiAssets; - readonly fee: XcmV3MultiAsset; - readonly dest: XcmV3MultiLocation; + readonly assets: StagingXcmV3MultiassetMultiAssets; + readonly fee: StagingXcmV3MultiAsset; + readonly dest: StagingXcmV3MultiLocation; } & Struct; readonly type: 'TransferredMultiAssets'; } @@ -1446,6 +1495,12 @@ export interface PalletCollatorSelectionEvent extends Enum { readonly type: 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseReleased' | 'CandidateAdded' | 'CandidateRemoved'; } +/** @name PalletCollatorSelectionHoldReason */ +export interface PalletCollatorSelectionHoldReason extends Enum { + readonly isLicenseBond: boolean; + readonly type: 'LicenseBond'; +} + /** @name PalletCollectiveCall */ export interface PalletCollectiveCall extends Enum { readonly isSetMembers: boolean; @@ -1497,7 +1552,8 @@ export interface PalletCollectiveError extends Enum { readonly isTooManyProposals: boolean; readonly isWrongProposalWeight: boolean; readonly isWrongProposalLength: boolean; - readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength'; + readonly isPrimeAccountNotMember: boolean; + readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength' | 'PrimeAccountNotMember'; } /** @name PalletCollectiveEvent */ @@ -1602,7 +1658,8 @@ export interface PalletCommonError extends Enum { readonly isCollectionIsInternal: boolean; readonly isConfirmSponsorshipFail: boolean; readonly isUserIsNotCollectionAdmin: boolean; - readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin'; + readonly isFungibleItemsHaveNoId: boolean; + readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId'; } /** @name PalletCommonEvent */ @@ -2236,8 +2293,8 @@ export interface PalletEvmMigrationEvent extends Enum { readonly type: 'TestEvent'; } -/** @name PalletForeignAssetsAssetIds */ -export interface PalletForeignAssetsAssetIds extends Enum { +/** @name PalletForeignAssetsAssetId */ +export interface PalletForeignAssetsAssetId extends Enum { readonly isForeignAssetId: boolean; readonly asForeignAssetId: u32; readonly isNativeAssetId: boolean; @@ -2258,13 +2315,13 @@ export interface PalletForeignAssetsModuleCall extends Enum { readonly isRegisterForeignAsset: boolean; readonly asRegisterForeignAsset: { readonly owner: AccountId32; - readonly location: XcmVersionedMultiLocation; + readonly location: StagingXcmVersionedMultiLocation; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly isUpdateForeignAsset: boolean; readonly asUpdateForeignAsset: { readonly foreignAssetId: u32; - readonly location: XcmVersionedMultiLocation; + readonly location: StagingXcmVersionedMultiLocation; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset'; @@ -2284,23 +2341,23 @@ export interface PalletForeignAssetsModuleEvent extends Enum { readonly isForeignAssetRegistered: boolean; readonly asForeignAssetRegistered: { readonly assetId: u32; - readonly assetAddress: XcmV3MultiLocation; + readonly assetAddress: StagingXcmV3MultiLocation; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly isForeignAssetUpdated: boolean; readonly asForeignAssetUpdated: { readonly assetId: u32; - readonly assetAddress: XcmV3MultiLocation; + readonly assetAddress: StagingXcmV3MultiLocation; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly isAssetRegistered: boolean; readonly asAssetRegistered: { - readonly assetId: PalletForeignAssetsAssetIds; + readonly assetId: PalletForeignAssetsAssetId; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly isAssetUpdated: boolean; readonly asAssetUpdated: { - readonly assetId: PalletForeignAssetsAssetIds; + readonly assetId: PalletForeignAssetsAssetId; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated'; @@ -2316,13 +2373,12 @@ export interface PalletForeignAssetsNativeCurrency extends Enum { /** @name PalletFungibleError */ export interface PalletFungibleError extends Enum { readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; - readonly isFungibleItemsHaveNoId: boolean; readonly isFungibleItemsDontHaveData: boolean; readonly isFungibleDisallowsNesting: boolean; readonly isSettingPropertiesNotAllowed: boolean; readonly isSettingAllowanceForAllNotAllowed: boolean; readonly isFungibleTokensAreAlwaysValid: boolean; - readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid'; + readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid'; } /** @name PalletGovOriginsOrigin */ @@ -2581,12 +2637,7 @@ export interface PalletInflationCall extends Enum { export interface PalletMaintenanceCall extends Enum { readonly isEnable: boolean; readonly isDisable: boolean; - readonly isExecutePreimage: boolean; - readonly asExecutePreimage: { - readonly hash_: H256; - readonly weightBound: SpWeightsWeightV2Weight; - } & Struct; - readonly type: 'Enable' | 'Disable' | 'ExecutePreimage'; + readonly type: 'Enable' | 'Disable'; } /** @name PalletMaintenanceError */ @@ -3700,36 +3751,95 @@ export interface PalletUniqueError extends Enum { readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection'; } +/** @name PalletUtilityCall */ +export interface PalletUtilityCall extends Enum { + readonly isBatch: boolean; + readonly asBatch: { + readonly calls: Vec; + } & Struct; + readonly isAsDerivative: boolean; + readonly asAsDerivative: { + readonly index: u16; + readonly call: Call; + } & Struct; + readonly isBatchAll: boolean; + readonly asBatchAll: { + readonly calls: Vec; + } & Struct; + readonly isDispatchAs: boolean; + readonly asDispatchAs: { + readonly asOrigin: OpalRuntimeOriginCaller; + readonly call: Call; + } & Struct; + readonly isForceBatch: boolean; + readonly asForceBatch: { + readonly calls: Vec; + } & Struct; + readonly isWithWeight: boolean; + readonly asWithWeight: { + readonly call: Call; + readonly weight: SpWeightsWeightV2Weight; + } & Struct; + readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight'; +} + +/** @name PalletUtilityError */ +export interface PalletUtilityError extends Enum { + readonly isTooManyCalls: boolean; + readonly type: 'TooManyCalls'; +} + +/** @name PalletUtilityEvent */ +export interface PalletUtilityEvent extends Enum { + readonly isBatchInterrupted: boolean; + readonly asBatchInterrupted: { + readonly index: u32; + readonly error: SpRuntimeDispatchError; + } & Struct; + readonly isBatchCompleted: boolean; + readonly isBatchCompletedWithErrors: boolean; + readonly isItemCompleted: boolean; + readonly isItemFailed: boolean; + readonly asItemFailed: { + readonly error: SpRuntimeDispatchError; + } & Struct; + readonly isDispatchedAs: boolean; + readonly asDispatchedAs: { + readonly result: Result; + } & Struct; + readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs'; +} + /** @name PalletXcmCall */ export interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { - readonly dest: XcmVersionedMultiLocation; - readonly message: XcmVersionedXcm; + readonly dest: StagingXcmVersionedMultiLocation; + readonly message: StagingXcmVersionedXcm; } & Struct; readonly isTeleportAssets: boolean; readonly asTeleportAssets: { - readonly dest: XcmVersionedMultiLocation; - readonly beneficiary: XcmVersionedMultiLocation; - readonly assets: XcmVersionedMultiAssets; + readonly dest: StagingXcmVersionedMultiLocation; + readonly beneficiary: StagingXcmVersionedMultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; readonly feeAssetItem: u32; } & Struct; readonly isReserveTransferAssets: boolean; readonly asReserveTransferAssets: { - readonly dest: XcmVersionedMultiLocation; - readonly beneficiary: XcmVersionedMultiLocation; - readonly assets: XcmVersionedMultiAssets; + readonly dest: StagingXcmVersionedMultiLocation; + readonly beneficiary: StagingXcmVersionedMultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; readonly feeAssetItem: u32; } & Struct; readonly isExecute: boolean; readonly asExecute: { - readonly message: XcmVersionedXcm; + readonly message: StagingXcmVersionedXcm; readonly maxWeight: SpWeightsWeightV2Weight; } & Struct; readonly isForceXcmVersion: boolean; readonly asForceXcmVersion: { - readonly location: XcmV3MultiLocation; - readonly xcmVersion: u32; + readonly location: StagingXcmV3MultiLocation; + readonly version: u32; } & Struct; readonly isForceDefaultXcmVersion: boolean; readonly asForceDefaultXcmVersion: { @@ -3737,27 +3847,27 @@ export interface PalletXcmCall extends Enum { } & Struct; readonly isForceSubscribeVersionNotify: boolean; readonly asForceSubscribeVersionNotify: { - readonly location: XcmVersionedMultiLocation; + readonly location: StagingXcmVersionedMultiLocation; } & Struct; readonly isForceUnsubscribeVersionNotify: boolean; readonly asForceUnsubscribeVersionNotify: { - readonly location: XcmVersionedMultiLocation; + readonly location: StagingXcmVersionedMultiLocation; } & Struct; readonly isLimitedReserveTransferAssets: boolean; readonly asLimitedReserveTransferAssets: { - readonly dest: XcmVersionedMultiLocation; - readonly beneficiary: XcmVersionedMultiLocation; - readonly assets: XcmVersionedMultiAssets; + readonly dest: StagingXcmVersionedMultiLocation; + readonly beneficiary: StagingXcmVersionedMultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; readonly feeAssetItem: u32; - readonly weightLimit: XcmV3WeightLimit; + readonly weightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isLimitedTeleportAssets: boolean; readonly asLimitedTeleportAssets: { - readonly dest: XcmVersionedMultiLocation; - readonly beneficiary: XcmVersionedMultiLocation; - readonly assets: XcmVersionedMultiAssets; + readonly dest: StagingXcmVersionedMultiLocation; + readonly beneficiary: StagingXcmVersionedMultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; readonly feeAssetItem: u32; - readonly weightLimit: XcmV3WeightLimit; + readonly weightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isForceSuspension: boolean; readonly asForceSuspension: { @@ -3794,60 +3904,146 @@ export interface PalletXcmError extends Enum { /** @name PalletXcmEvent */ export interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; - readonly asAttempted: XcmV3TraitsOutcome; + readonly asAttempted: { + readonly outcome: StagingXcmV3TraitsOutcome; + } & Struct; readonly isSent: boolean; - readonly asSent: ITuple<[XcmV3MultiLocation, XcmV3MultiLocation, XcmV3Xcm]>; + readonly asSent: { + readonly origin: StagingXcmV3MultiLocation; + readonly destination: StagingXcmV3MultiLocation; + readonly message: StagingXcmV3Xcm; + readonly messageId: U8aFixed; + } & Struct; readonly isUnexpectedResponse: boolean; - readonly asUnexpectedResponse: ITuple<[XcmV3MultiLocation, u64]>; + readonly asUnexpectedResponse: { + readonly origin: StagingXcmV3MultiLocation; + readonly queryId: u64; + } & Struct; readonly isResponseReady: boolean; - readonly asResponseReady: ITuple<[u64, XcmV3Response]>; + readonly asResponseReady: { + readonly queryId: u64; + readonly response: StagingXcmV3Response; + } & Struct; readonly isNotified: boolean; - readonly asNotified: ITuple<[u64, u8, u8]>; + readonly asNotified: { + readonly queryId: u64; + readonly palletIndex: u8; + readonly callIndex: u8; + } & Struct; readonly isNotifyOverweight: boolean; - readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>; + readonly asNotifyOverweight: { + readonly queryId: u64; + readonly palletIndex: u8; + readonly callIndex: u8; + readonly actualWeight: SpWeightsWeightV2Weight; + readonly maxBudgetedWeight: SpWeightsWeightV2Weight; + } & Struct; readonly isNotifyDispatchError: boolean; - readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>; + readonly asNotifyDispatchError: { + readonly queryId: u64; + readonly palletIndex: u8; + readonly callIndex: u8; + } & Struct; readonly isNotifyDecodeFailed: boolean; - readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>; + readonly asNotifyDecodeFailed: { + readonly queryId: u64; + readonly palletIndex: u8; + readonly callIndex: u8; + } & Struct; readonly isInvalidResponder: boolean; - readonly asInvalidResponder: ITuple<[XcmV3MultiLocation, u64, Option]>; + readonly asInvalidResponder: { + readonly origin: StagingXcmV3MultiLocation; + readonly queryId: u64; + readonly expectedLocation: Option; + } & Struct; readonly isInvalidResponderVersion: boolean; - readonly asInvalidResponderVersion: ITuple<[XcmV3MultiLocation, u64]>; + readonly asInvalidResponderVersion: { + readonly origin: StagingXcmV3MultiLocation; + readonly queryId: u64; + } & Struct; readonly isResponseTaken: boolean; - readonly asResponseTaken: u64; + readonly asResponseTaken: { + readonly queryId: u64; + } & Struct; readonly isAssetsTrapped: boolean; - readonly asAssetsTrapped: ITuple<[H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>; + readonly asAssetsTrapped: { + readonly hash_: H256; + readonly origin: StagingXcmV3MultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; + } & Struct; readonly isVersionChangeNotified: boolean; - readonly asVersionChangeNotified: ITuple<[XcmV3MultiLocation, u32, XcmV3MultiassetMultiAssets]>; + readonly asVersionChangeNotified: { + readonly destination: StagingXcmV3MultiLocation; + readonly result: u32; + readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly messageId: U8aFixed; + } & Struct; readonly isSupportedVersionChanged: boolean; - readonly asSupportedVersionChanged: ITuple<[XcmV3MultiLocation, u32]>; + readonly asSupportedVersionChanged: { + readonly location: StagingXcmV3MultiLocation; + readonly version: u32; + } & Struct; readonly isNotifyTargetSendFail: boolean; - readonly asNotifyTargetSendFail: ITuple<[XcmV3MultiLocation, u64, XcmV3TraitsError]>; + readonly asNotifyTargetSendFail: { + readonly location: StagingXcmV3MultiLocation; + readonly queryId: u64; + readonly error: StagingXcmV3TraitsError; + } & Struct; readonly isNotifyTargetMigrationFail: boolean; - readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>; + readonly asNotifyTargetMigrationFail: { + readonly location: StagingXcmVersionedMultiLocation; + readonly queryId: u64; + } & Struct; readonly isInvalidQuerierVersion: boolean; - readonly asInvalidQuerierVersion: ITuple<[XcmV3MultiLocation, u64]>; + readonly asInvalidQuerierVersion: { + readonly origin: StagingXcmV3MultiLocation; + readonly queryId: u64; + } & Struct; readonly isInvalidQuerier: boolean; - readonly asInvalidQuerier: ITuple<[XcmV3MultiLocation, u64, XcmV3MultiLocation, Option]>; + readonly asInvalidQuerier: { + readonly origin: StagingXcmV3MultiLocation; + readonly queryId: u64; + readonly expectedQuerier: StagingXcmV3MultiLocation; + readonly maybeActualQuerier: Option; + } & Struct; readonly isVersionNotifyStarted: boolean; - readonly asVersionNotifyStarted: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>; + readonly asVersionNotifyStarted: { + readonly destination: StagingXcmV3MultiLocation; + readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly messageId: U8aFixed; + } & Struct; readonly isVersionNotifyRequested: boolean; - readonly asVersionNotifyRequested: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>; + readonly asVersionNotifyRequested: { + readonly destination: StagingXcmV3MultiLocation; + readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly messageId: U8aFixed; + } & Struct; readonly isVersionNotifyUnrequested: boolean; - readonly asVersionNotifyUnrequested: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>; + readonly asVersionNotifyUnrequested: { + readonly destination: StagingXcmV3MultiLocation; + readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly messageId: U8aFixed; + } & Struct; readonly isFeesPaid: boolean; - readonly asFeesPaid: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>; + readonly asFeesPaid: { + readonly paying: StagingXcmV3MultiLocation; + readonly fees: StagingXcmV3MultiassetMultiAssets; + } & Struct; readonly isAssetsClaimed: boolean; - readonly asAssetsClaimed: ITuple<[H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>; + readonly asAssetsClaimed: { + readonly hash_: H256; + readonly origin: StagingXcmV3MultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; + } & Struct; readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed'; } /** @name PalletXcmOrigin */ export interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; - readonly asXcm: XcmV3MultiLocation; + readonly asXcm: StagingXcmV3MultiLocation; readonly isResponse: boolean; - readonly asResponse: XcmV3MultiLocation; + readonly asResponse: StagingXcmV3MultiLocation; readonly type: 'Xcm' | 'Response'; } @@ -3855,19 +4051,19 @@ export interface PalletXcmOrigin extends Enum { export interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { - readonly responder: XcmVersionedMultiLocation; - readonly maybeMatchQuerier: Option; + readonly responder: StagingXcmVersionedMultiLocation; + readonly maybeMatchQuerier: Option; readonly maybeNotify: Option>; readonly timeout: u32; } & Struct; readonly isVersionNotifier: boolean; readonly asVersionNotifier: { - readonly origin: XcmVersionedMultiLocation; + readonly origin: StagingXcmVersionedMultiLocation; readonly isActive: bool; } & Struct; readonly isReady: boolean; readonly asReady: { - readonly response: XcmVersionedResponse; + readonly response: StagingXcmVersionedResponse; readonly at: u32; } & Struct; readonly type: 'Pending' | 'VersionNotifier' | 'Ready'; @@ -3876,8 +4072,8 @@ export interface PalletXcmQueryStatus extends Enum { /** @name PalletXcmRemoteLockedFungibleRecord */ export interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; - readonly owner: XcmVersionedMultiLocation; - readonly locker: XcmVersionedMultiLocation; + readonly owner: StagingXcmVersionedMultiLocation; + readonly locker: StagingXcmVersionedMultiLocation; readonly consumers: Vec>; } @@ -3915,16 +4111,16 @@ export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly data: Bytes; } -/** @name PolkadotParachainPrimitivesXcmpMessageFormat */ -export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum { +/** @name PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat */ +export interface PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat extends Enum { readonly isConcatenatedVersionedXcm: boolean; readonly isConcatenatedEncodedBlob: boolean; readonly isSignals: boolean; readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals'; } -/** @name PolkadotPrimitivesV4AbridgedHostConfiguration */ -export interface PolkadotPrimitivesV4AbridgedHostConfiguration extends Struct { +/** @name PolkadotPrimitivesV5AbridgedHostConfiguration */ +export interface PolkadotPrimitivesV5AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -3934,10 +4130,11 @@ export interface PolkadotPrimitivesV4AbridgedHostConfiguration extends Struct { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; + readonly asyncBackingParams: PolkadotPrimitivesVstagingAsyncBackingParams; } -/** @name PolkadotPrimitivesV4AbridgedHrmpChannel */ -export interface PolkadotPrimitivesV4AbridgedHrmpChannel extends Struct { +/** @name PolkadotPrimitivesV5AbridgedHrmpChannel */ +export interface PolkadotPrimitivesV5AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -3946,20 +4143,33 @@ export interface PolkadotPrimitivesV4AbridgedHrmpChannel extends Struct { readonly mqcHead: Option; } -/** @name PolkadotPrimitivesV4PersistedValidationData */ -export interface PolkadotPrimitivesV4PersistedValidationData extends Struct { +/** @name PolkadotPrimitivesV5PersistedValidationData */ +export interface PolkadotPrimitivesV5PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; readonly maxPovSize: u32; } -/** @name PolkadotPrimitivesV4UpgradeRestriction */ -export interface PolkadotPrimitivesV4UpgradeRestriction extends Enum { +/** @name PolkadotPrimitivesV5UpgradeGoAhead */ +export interface PolkadotPrimitivesV5UpgradeGoAhead extends Enum { + readonly isAbort: boolean; + readonly isGoAhead: boolean; + readonly type: 'Abort' | 'GoAhead'; +} + +/** @name PolkadotPrimitivesV5UpgradeRestriction */ +export interface PolkadotPrimitivesV5UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: 'Present'; } +/** @name PolkadotPrimitivesVstagingAsyncBackingParams */ +export interface PolkadotPrimitivesVstagingAsyncBackingParams extends Struct { + readonly maxCandidateDepth: u32; + readonly allowedAncestryLen: u32; +} + /** @name SpArithmeticArithmeticError */ export interface SpArithmeticArithmeticError extends Enum { readonly isUnderflow: boolean; @@ -4134,341 +4344,413 @@ export interface SpWeightsWeightV2Weight extends Struct { readonly proofSize: Compact; } -/** @name UpDataStructsAccessMode */ -export interface UpDataStructsAccessMode extends Enum { - readonly isNormal: boolean; - readonly isAllowList: boolean; - readonly type: 'Normal' | 'AllowList'; -} - -/** @name UpDataStructsCollection */ -export interface UpDataStructsCollection extends Struct { - readonly owner: AccountId32; - readonly mode: UpDataStructsCollectionMode; - readonly name: Vec; - readonly description: Vec; - readonly tokenPrefix: Bytes; - readonly sponsorship: UpDataStructsSponsorshipStateAccountId32; - readonly limits: UpDataStructsCollectionLimits; - readonly permissions: UpDataStructsCollectionPermissions; - readonly flags: U8aFixed; +/** @name StagingXcmDoubleEncoded */ +export interface StagingXcmDoubleEncoded extends Struct { + readonly encoded: Bytes; } -/** @name UpDataStructsCollectionLimits */ -export interface UpDataStructsCollectionLimits extends Struct { - readonly accountTokenOwnershipLimit: Option; - readonly sponsoredDataSize: Option; - readonly sponsoredDataRateLimit: Option; - readonly tokenLimit: Option; - readonly sponsorTransferTimeout: Option; - readonly sponsorApproveTimeout: Option; - readonly ownerCanTransfer: Option; - readonly ownerCanDestroy: Option; - readonly transfersEnabled: Option; +/** @name StagingXcmV2BodyId */ +export interface StagingXcmV2BodyId extends Enum { + readonly isUnit: boolean; + readonly isNamed: boolean; + readonly asNamed: Bytes; + readonly isIndex: boolean; + readonly asIndex: Compact; + readonly isExecutive: boolean; + readonly isTechnical: boolean; + readonly isLegislative: boolean; + readonly isJudicial: boolean; + readonly isDefense: boolean; + readonly isAdministration: boolean; + readonly isTreasury: boolean; + readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; } -/** @name UpDataStructsCollectionMode */ -export interface UpDataStructsCollectionMode extends Enum { - readonly isNft: boolean; - readonly isFungible: boolean; - readonly asFungible: u8; - readonly isReFungible: boolean; - readonly type: 'Nft' | 'Fungible' | 'ReFungible'; +/** @name StagingXcmV2BodyPart */ +export interface StagingXcmV2BodyPart extends Enum { + readonly isVoice: boolean; + readonly isMembers: boolean; + readonly asMembers: { + readonly count: Compact; + } & Struct; + readonly isFraction: boolean; + readonly asFraction: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly isAtLeastProportion: boolean; + readonly asAtLeastProportion: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly isMoreThanProportion: boolean; + readonly asMoreThanProportion: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; } -/** @name UpDataStructsCollectionPermissions */ -export interface UpDataStructsCollectionPermissions extends Struct { - readonly access: Option; - readonly mintMode: Option; - readonly nesting: Option; +/** @name StagingXcmV2Instruction */ +export interface StagingXcmV2Instruction extends Enum { + readonly isWithdrawAsset: boolean; + readonly asWithdrawAsset: StagingXcmV2MultiassetMultiAssets; + readonly isReserveAssetDeposited: boolean; + readonly asReserveAssetDeposited: StagingXcmV2MultiassetMultiAssets; + readonly isReceiveTeleportedAsset: boolean; + readonly asReceiveTeleportedAsset: StagingXcmV2MultiassetMultiAssets; + readonly isQueryResponse: boolean; + readonly asQueryResponse: { + readonly queryId: Compact; + readonly response: StagingXcmV2Response; + readonly maxWeight: Compact; + } & Struct; + readonly isTransferAsset: boolean; + readonly asTransferAsset: { + readonly assets: StagingXcmV2MultiassetMultiAssets; + readonly beneficiary: StagingXcmV2MultiLocation; + } & Struct; + readonly isTransferReserveAsset: boolean; + readonly asTransferReserveAsset: { + readonly assets: StagingXcmV2MultiassetMultiAssets; + readonly dest: StagingXcmV2MultiLocation; + readonly xcm: StagingXcmV2Xcm; + } & Struct; + readonly isTransact: boolean; + readonly asTransact: { + readonly originType: StagingXcmV2OriginKind; + readonly requireWeightAtMost: Compact; + readonly call: StagingXcmDoubleEncoded; + } & Struct; + readonly isHrmpNewChannelOpenRequest: boolean; + readonly asHrmpNewChannelOpenRequest: { + readonly sender: Compact; + readonly maxMessageSize: Compact; + readonly maxCapacity: Compact; + } & Struct; + readonly isHrmpChannelAccepted: boolean; + readonly asHrmpChannelAccepted: { + readonly recipient: Compact; + } & Struct; + readonly isHrmpChannelClosing: boolean; + readonly asHrmpChannelClosing: { + readonly initiator: Compact; + readonly sender: Compact; + readonly recipient: Compact; + } & Struct; + readonly isClearOrigin: boolean; + readonly isDescendOrigin: boolean; + readonly asDescendOrigin: StagingXcmV2MultilocationJunctions; + readonly isReportError: boolean; + readonly asReportError: { + readonly queryId: Compact; + readonly dest: StagingXcmV2MultiLocation; + readonly maxResponseWeight: Compact; + } & Struct; + readonly isDepositAsset: boolean; + readonly asDepositAsset: { + readonly assets: StagingXcmV2MultiassetMultiAssetFilter; + readonly maxAssets: Compact; + readonly beneficiary: StagingXcmV2MultiLocation; + } & Struct; + readonly isDepositReserveAsset: boolean; + readonly asDepositReserveAsset: { + readonly assets: StagingXcmV2MultiassetMultiAssetFilter; + readonly maxAssets: Compact; + readonly dest: StagingXcmV2MultiLocation; + readonly xcm: StagingXcmV2Xcm; + } & Struct; + readonly isExchangeAsset: boolean; + readonly asExchangeAsset: { + readonly give: StagingXcmV2MultiassetMultiAssetFilter; + readonly receive: StagingXcmV2MultiassetMultiAssets; + } & Struct; + readonly isInitiateReserveWithdraw: boolean; + readonly asInitiateReserveWithdraw: { + readonly assets: StagingXcmV2MultiassetMultiAssetFilter; + readonly reserve: StagingXcmV2MultiLocation; + readonly xcm: StagingXcmV2Xcm; + } & Struct; + readonly isInitiateTeleport: boolean; + readonly asInitiateTeleport: { + readonly assets: StagingXcmV2MultiassetMultiAssetFilter; + readonly dest: StagingXcmV2MultiLocation; + readonly xcm: StagingXcmV2Xcm; + } & Struct; + readonly isQueryHolding: boolean; + readonly asQueryHolding: { + readonly queryId: Compact; + readonly dest: StagingXcmV2MultiLocation; + readonly assets: StagingXcmV2MultiassetMultiAssetFilter; + readonly maxResponseWeight: Compact; + } & Struct; + readonly isBuyExecution: boolean; + readonly asBuyExecution: { + readonly fees: StagingXcmV2MultiAsset; + readonly weightLimit: StagingXcmV2WeightLimit; + } & Struct; + readonly isRefundSurplus: boolean; + readonly isSetErrorHandler: boolean; + readonly asSetErrorHandler: StagingXcmV2Xcm; + readonly isSetAppendix: boolean; + readonly asSetAppendix: StagingXcmV2Xcm; + readonly isClearError: boolean; + readonly isClaimAsset: boolean; + readonly asClaimAsset: { + readonly assets: StagingXcmV2MultiassetMultiAssets; + readonly ticket: StagingXcmV2MultiLocation; + } & Struct; + readonly isTrap: boolean; + readonly asTrap: Compact; + readonly isSubscribeVersion: boolean; + readonly asSubscribeVersion: { + readonly queryId: Compact; + readonly maxResponseWeight: Compact; + } & Struct; + readonly isUnsubscribeVersion: boolean; + 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 UpDataStructsCollectionStats */ -export interface UpDataStructsCollectionStats extends Struct { - readonly created: u32; - readonly destroyed: u32; - readonly alive: u32; +/** @name StagingXcmV2Junction */ +export interface StagingXcmV2Junction extends Enum { + readonly isParachain: boolean; + readonly asParachain: Compact; + readonly isAccountId32: boolean; + readonly asAccountId32: { + readonly network: StagingXcmV2NetworkId; + readonly id: U8aFixed; + } & Struct; + readonly isAccountIndex64: boolean; + readonly asAccountIndex64: { + readonly network: StagingXcmV2NetworkId; + readonly index: Compact; + } & Struct; + readonly isAccountKey20: boolean; + readonly asAccountKey20: { + readonly network: StagingXcmV2NetworkId; + readonly key: U8aFixed; + } & Struct; + readonly isPalletInstance: boolean; + readonly asPalletInstance: u8; + readonly isGeneralIndex: boolean; + readonly asGeneralIndex: Compact; + readonly isGeneralKey: boolean; + readonly asGeneralKey: Bytes; + readonly isOnlyChild: boolean; + readonly isPlurality: boolean; + readonly asPlurality: { + readonly id: StagingXcmV2BodyId; + readonly part: StagingXcmV2BodyPart; + } & Struct; + readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality'; } -/** @name UpDataStructsCreateCollectionData */ -export interface UpDataStructsCreateCollectionData extends Struct { - readonly mode: UpDataStructsCollectionMode; - readonly access: Option; - readonly name: Vec; - readonly description: Vec; - readonly tokenPrefix: Bytes; - readonly limits: Option; - readonly permissions: Option; - readonly tokenPropertyPermissions: Vec; - readonly properties: Vec; - readonly adminList: Vec; - readonly pendingSponsor: Option; - readonly flags: U8aFixed; +/** @name StagingXcmV2MultiAsset */ +export interface StagingXcmV2MultiAsset extends Struct { + readonly id: StagingXcmV2MultiassetAssetId; + readonly fun: StagingXcmV2MultiassetFungibility; } -/** @name UpDataStructsCreateFungibleData */ -export interface UpDataStructsCreateFungibleData extends Struct { - readonly value: u128; +/** @name StagingXcmV2MultiassetAssetId */ +export interface StagingXcmV2MultiassetAssetId extends Enum { + readonly isConcrete: boolean; + readonly asConcrete: StagingXcmV2MultiLocation; + readonly isAbstract: boolean; + readonly asAbstract: Bytes; + readonly type: 'Concrete' | 'Abstract'; } -/** @name UpDataStructsCreateItemData */ -export interface UpDataStructsCreateItemData extends Enum { - readonly isNft: boolean; - readonly asNft: UpDataStructsCreateNftData; - readonly isFungible: boolean; - readonly asFungible: UpDataStructsCreateFungibleData; - readonly isReFungible: boolean; - readonly asReFungible: UpDataStructsCreateReFungibleData; - readonly type: 'Nft' | 'Fungible' | 'ReFungible'; +/** @name StagingXcmV2MultiassetAssetInstance */ +export interface StagingXcmV2MultiassetAssetInstance extends Enum { + readonly isUndefined: boolean; + readonly isIndex: boolean; + readonly asIndex: Compact; + readonly isArray4: boolean; + readonly asArray4: U8aFixed; + readonly isArray8: boolean; + readonly asArray8: U8aFixed; + readonly isArray16: boolean; + readonly asArray16: U8aFixed; + readonly isArray32: boolean; + readonly asArray32: U8aFixed; + readonly isBlob: boolean; + readonly asBlob: Bytes; + readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob'; } -/** @name UpDataStructsCreateItemExData */ -export interface UpDataStructsCreateItemExData extends Enum { - readonly isNft: boolean; - readonly asNft: Vec; +/** @name StagingXcmV2MultiassetFungibility */ +export interface StagingXcmV2MultiassetFungibility extends Enum { readonly isFungible: boolean; - readonly asFungible: BTreeMap; - readonly isRefungibleMultipleItems: boolean; - readonly asRefungibleMultipleItems: Vec; - readonly isRefungibleMultipleOwners: boolean; - readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners; - readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners'; -} - -/** @name UpDataStructsCreateNftData */ -export interface UpDataStructsCreateNftData extends Struct { - readonly properties: Vec; -} - -/** @name UpDataStructsCreateNftExData */ -export interface UpDataStructsCreateNftExData extends Struct { - readonly properties: Vec; - readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; -} - -/** @name UpDataStructsCreateReFungibleData */ -export interface UpDataStructsCreateReFungibleData extends Struct { - readonly pieces: u128; - readonly properties: Vec; + readonly asFungible: Compact; + readonly isNonFungible: boolean; + readonly asNonFungible: StagingXcmV2MultiassetAssetInstance; + readonly type: 'Fungible' | 'NonFungible'; } -/** @name UpDataStructsCreateRefungibleExMultipleOwners */ -export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct { - readonly users: BTreeMap; - readonly properties: Vec; +/** @name StagingXcmV2MultiassetMultiAssetFilter */ +export interface StagingXcmV2MultiassetMultiAssetFilter extends Enum { + readonly isDefinite: boolean; + readonly asDefinite: StagingXcmV2MultiassetMultiAssets; + readonly isWild: boolean; + readonly asWild: StagingXcmV2MultiassetWildMultiAsset; + readonly type: 'Definite' | 'Wild'; } -/** @name UpDataStructsCreateRefungibleExSingleOwner */ -export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct { - readonly user: PalletEvmAccountBasicCrossAccountIdRepr; - readonly pieces: u128; - readonly properties: Vec; -} +/** @name StagingXcmV2MultiassetMultiAssets */ +export interface StagingXcmV2MultiassetMultiAssets extends Vec {} -/** @name UpDataStructsNestingPermissions */ -export interface UpDataStructsNestingPermissions extends Struct { - readonly tokenOwner: bool; - readonly collectionAdmin: bool; - readonly restricted: Option; +/** @name StagingXcmV2MultiassetWildFungibility */ +export interface StagingXcmV2MultiassetWildFungibility extends Enum { + readonly isFungible: boolean; + readonly isNonFungible: boolean; + readonly type: 'Fungible' | 'NonFungible'; } -/** @name UpDataStructsOwnerRestrictedSet */ -export interface UpDataStructsOwnerRestrictedSet extends BTreeSet {} - -/** @name UpDataStructsProperties */ -export interface UpDataStructsProperties extends Struct { - readonly map: UpDataStructsPropertiesMapBoundedVec; - readonly consumedSpace: u32; - readonly reserved: u32; +/** @name StagingXcmV2MultiassetWildMultiAsset */ +export interface StagingXcmV2MultiassetWildMultiAsset extends Enum { + readonly isAll: boolean; + readonly isAllOf: boolean; + readonly asAllOf: { + readonly id: StagingXcmV2MultiassetAssetId; + readonly fun: StagingXcmV2MultiassetWildFungibility; + } & Struct; + readonly type: 'All' | 'AllOf'; } -/** @name UpDataStructsPropertiesMapBoundedVec */ -export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} - -/** @name UpDataStructsPropertiesMapPropertyPermission */ -export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} - -/** @name UpDataStructsProperty */ -export interface UpDataStructsProperty extends Struct { - readonly key: Bytes; - readonly value: Bytes; +/** @name StagingXcmV2MultiLocation */ +export interface StagingXcmV2MultiLocation extends Struct { + readonly parents: u8; + readonly interior: StagingXcmV2MultilocationJunctions; } -/** @name UpDataStructsPropertyKeyPermission */ -export interface UpDataStructsPropertyKeyPermission extends Struct { - readonly key: Bytes; - readonly permission: UpDataStructsPropertyPermission; +/** @name StagingXcmV2MultilocationJunctions */ +export interface StagingXcmV2MultilocationJunctions extends Enum { + readonly isHere: boolean; + readonly isX1: boolean; + readonly asX1: StagingXcmV2Junction; + readonly isX2: boolean; + readonly asX2: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly isX3: boolean; + readonly asX3: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly isX4: boolean; + readonly asX4: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly isX5: boolean; + readonly asX5: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly isX6: boolean; + readonly asX6: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly isX7: boolean; + readonly asX7: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly isX8: boolean; + readonly asX8: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; + readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } -/** @name UpDataStructsPropertyPermission */ -export interface UpDataStructsPropertyPermission extends Struct { - readonly mutable: bool; - readonly collectionAdmin: bool; - readonly tokenOwner: bool; +/** @name StagingXcmV2NetworkId */ +export interface StagingXcmV2NetworkId extends Enum { + readonly isAny: boolean; + readonly isNamed: boolean; + readonly asNamed: Bytes; + readonly isPolkadot: boolean; + readonly isKusama: boolean; + readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama'; } -/** @name UpDataStructsPropertyScope */ -export interface UpDataStructsPropertyScope extends Enum { - readonly isNone: boolean; - readonly isRmrk: boolean; - readonly type: 'None' | 'Rmrk'; +/** @name StagingXcmV2OriginKind */ +export interface StagingXcmV2OriginKind extends Enum { + readonly isNative: boolean; + readonly isSovereignAccount: boolean; + readonly isSuperuser: boolean; + readonly isXcm: boolean; + readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm'; } -/** @name UpDataStructsRpcCollection */ -export interface UpDataStructsRpcCollection extends Struct { - readonly owner: AccountId32; - readonly mode: UpDataStructsCollectionMode; - readonly name: Vec; - readonly description: Vec; - readonly tokenPrefix: Bytes; - readonly sponsorship: UpDataStructsSponsorshipStateAccountId32; - readonly limits: UpDataStructsCollectionLimits; - readonly permissions: UpDataStructsCollectionPermissions; - readonly tokenPropertyPermissions: Vec; - readonly properties: Vec; - readonly readOnly: bool; - readonly flags: UpDataStructsRpcCollectionFlags; +/** @name StagingXcmV2Response */ +export interface StagingXcmV2Response extends Enum { + readonly isNull: boolean; + readonly isAssets: boolean; + readonly asAssets: StagingXcmV2MultiassetMultiAssets; + readonly isExecutionResult: boolean; + readonly asExecutionResult: Option>; + readonly isVersion: boolean; + readonly asVersion: u32; + readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version'; } -/** @name UpDataStructsRpcCollectionFlags */ -export interface UpDataStructsRpcCollectionFlags extends Struct { - readonly foreign: bool; - readonly erc721metadata: bool; +/** @name StagingXcmV2TraitsError */ +export interface StagingXcmV2TraitsError extends Enum { + readonly isOverflow: boolean; + readonly isUnimplemented: boolean; + readonly isUntrustedReserveLocation: boolean; + readonly isUntrustedTeleportLocation: boolean; + readonly isMultiLocationFull: boolean; + readonly isMultiLocationNotInvertible: boolean; + readonly isBadOrigin: boolean; + readonly isInvalidLocation: boolean; + readonly isAssetNotFound: boolean; + readonly isFailedToTransactAsset: boolean; + readonly isNotWithdrawable: boolean; + readonly isLocationCannotHold: boolean; + readonly isExceedsMaxMessageSize: boolean; + readonly isDestinationUnsupported: boolean; + readonly isTransport: boolean; + readonly isUnroutable: boolean; + readonly isUnknownClaim: boolean; + readonly isFailedToDecode: boolean; + readonly isMaxWeightInvalid: boolean; + readonly isNotHoldingFees: boolean; + readonly isTooExpensive: boolean; + readonly isTrap: boolean; + readonly asTrap: u64; + readonly isUnhandledXcmVersion: boolean; + readonly isWeightLimitReached: boolean; + readonly asWeightLimitReached: u64; + readonly isBarrier: boolean; + readonly isWeightNotComputable: boolean; + 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 UpDataStructsSponsoringRateLimit */ -export interface UpDataStructsSponsoringRateLimit extends Enum { - readonly isSponsoringDisabled: boolean; - readonly isBlocks: boolean; - readonly asBlocks: u32; - readonly type: 'SponsoringDisabled' | 'Blocks'; +/** @name StagingXcmV2WeightLimit */ +export interface StagingXcmV2WeightLimit extends Enum { + readonly isUnlimited: boolean; + readonly isLimited: boolean; + readonly asLimited: Compact; + readonly type: 'Unlimited' | 'Limited'; } -/** @name UpDataStructsSponsorshipStateAccountId32 */ -export interface UpDataStructsSponsorshipStateAccountId32 extends Enum { - readonly isDisabled: boolean; - readonly isUnconfirmed: boolean; - readonly asUnconfirmed: AccountId32; - readonly isConfirmed: boolean; - readonly asConfirmed: AccountId32; - readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; -} +/** @name StagingXcmV2Xcm */ +export interface StagingXcmV2Xcm extends Vec {} -/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */ -export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum { - readonly isDisabled: boolean; - readonly isUnconfirmed: boolean; - readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr; - readonly isConfirmed: boolean; - readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr; - readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; -} - -/** @name UpDataStructsTokenChild */ -export interface UpDataStructsTokenChild extends Struct { - readonly token: u32; - readonly collection: u32; -} - -/** @name UpDataStructsTokenData */ -export interface UpDataStructsTokenData extends Struct { - readonly properties: Vec; - readonly owner: Option; - readonly pieces: u128; -} - -/** @name UpPovEstimateRpcPovInfo */ -export interface UpPovEstimateRpcPovInfo extends Struct { - readonly proofSize: u64; - readonly compactProofSize: u64; - readonly compressedProofSize: u64; - readonly results: Vec, SpRuntimeTransactionValidityTransactionValidityError>>; - readonly keyValues: Vec; -} - -/** @name UpPovEstimateRpcTrieKeyValue */ -export interface UpPovEstimateRpcTrieKeyValue extends Struct { - readonly key: Bytes; - readonly value: Bytes; -} - -/** @name XcmDoubleEncoded */ -export interface XcmDoubleEncoded extends Struct { - readonly encoded: Bytes; -} - -/** @name XcmV2BodyId */ -export interface XcmV2BodyId extends Enum { - readonly isUnit: boolean; - readonly isNamed: boolean; - readonly asNamed: Bytes; - readonly isIndex: boolean; - readonly asIndex: Compact; - readonly isExecutive: boolean; - readonly isTechnical: boolean; - readonly isLegislative: boolean; - readonly isJudicial: boolean; - readonly isDefense: boolean; - readonly isAdministration: boolean; - readonly isTreasury: boolean; - readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; -} - -/** @name XcmV2BodyPart */ -export interface XcmV2BodyPart extends Enum { - readonly isVoice: boolean; - readonly isMembers: boolean; - readonly asMembers: { - readonly count: Compact; - } & Struct; - readonly isFraction: boolean; - readonly asFraction: { - readonly nom: Compact; - readonly denom: Compact; - } & Struct; - readonly isAtLeastProportion: boolean; - readonly asAtLeastProportion: { - readonly nom: Compact; - readonly denom: Compact; - } & Struct; - readonly isMoreThanProportion: boolean; - readonly asMoreThanProportion: { - readonly nom: Compact; - readonly denom: Compact; - } & Struct; - readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; -} - -/** @name XcmV2Instruction */ -export interface XcmV2Instruction extends Enum { +/** @name StagingXcmV3Instruction */ +export interface StagingXcmV3Instruction extends Enum { readonly isWithdrawAsset: boolean; - readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; + readonly asWithdrawAsset: StagingXcmV3MultiassetMultiAssets; readonly isReserveAssetDeposited: boolean; - readonly asReserveAssetDeposited: XcmV2MultiassetMultiAssets; + readonly asReserveAssetDeposited: StagingXcmV3MultiassetMultiAssets; readonly isReceiveTeleportedAsset: boolean; - readonly asReceiveTeleportedAsset: XcmV2MultiassetMultiAssets; + readonly asReceiveTeleportedAsset: StagingXcmV3MultiassetMultiAssets; readonly isQueryResponse: boolean; readonly asQueryResponse: { readonly queryId: Compact; - readonly response: XcmV2Response; - readonly maxWeight: Compact; + readonly response: StagingXcmV3Response; + readonly maxWeight: SpWeightsWeightV2Weight; + readonly querier: Option; } & Struct; readonly isTransferAsset: boolean; readonly asTransferAsset: { - readonly assets: XcmV2MultiassetMultiAssets; - readonly beneficiary: XcmV2MultiLocation; + readonly assets: StagingXcmV3MultiassetMultiAssets; + readonly beneficiary: StagingXcmV3MultiLocation; } & Struct; readonly isTransferReserveAsset: boolean; readonly asTransferReserveAsset: { - readonly assets: XcmV2MultiassetMultiAssets; - readonly dest: XcmV2MultiLocation; - readonly xcm: XcmV2Xcm; + readonly assets: StagingXcmV3MultiassetMultiAssets; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: StagingXcmV3Xcm; } & Struct; readonly isTransact: boolean; readonly asTransact: { - readonly originType: XcmV2OriginKind; - readonly requireWeightAtMost: Compact; - readonly call: XcmDoubleEncoded; + readonly originKind: StagingXcmV2OriginKind; + readonly requireWeightAtMost: SpWeightsWeightV2Weight; + readonly call: StagingXcmDoubleEncoded; } & Struct; readonly isHrmpNewChannelOpenRequest: boolean; readonly asHrmpNewChannelOpenRequest: { @@ -4488,94 +4770,155 @@ export interface XcmV2Instruction extends Enum { } & Struct; readonly isClearOrigin: boolean; readonly isDescendOrigin: boolean; - readonly asDescendOrigin: XcmV2MultilocationJunctions; + readonly asDescendOrigin: StagingXcmV3Junctions; readonly isReportError: boolean; - readonly asReportError: { - readonly queryId: Compact; - readonly dest: XcmV2MultiLocation; - readonly maxResponseWeight: Compact; - } & Struct; + readonly asReportError: StagingXcmV3QueryResponseInfo; readonly isDepositAsset: boolean; readonly asDepositAsset: { - readonly assets: XcmV2MultiassetMultiAssetFilter; - readonly maxAssets: Compact; - readonly beneficiary: XcmV2MultiLocation; + readonly assets: StagingXcmV3MultiassetMultiAssetFilter; + readonly beneficiary: StagingXcmV3MultiLocation; } & Struct; readonly isDepositReserveAsset: boolean; readonly asDepositReserveAsset: { - readonly assets: XcmV2MultiassetMultiAssetFilter; - readonly maxAssets: Compact; - readonly dest: XcmV2MultiLocation; - readonly xcm: XcmV2Xcm; + readonly assets: StagingXcmV3MultiassetMultiAssetFilter; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: StagingXcmV3Xcm; } & Struct; readonly isExchangeAsset: boolean; readonly asExchangeAsset: { - readonly give: XcmV2MultiassetMultiAssetFilter; - readonly receive: XcmV2MultiassetMultiAssets; + readonly give: StagingXcmV3MultiassetMultiAssetFilter; + readonly want: StagingXcmV3MultiassetMultiAssets; + readonly maximal: bool; } & Struct; readonly isInitiateReserveWithdraw: boolean; readonly asInitiateReserveWithdraw: { - readonly assets: XcmV2MultiassetMultiAssetFilter; - readonly reserve: XcmV2MultiLocation; - readonly xcm: XcmV2Xcm; + readonly assets: StagingXcmV3MultiassetMultiAssetFilter; + readonly reserve: StagingXcmV3MultiLocation; + readonly xcm: StagingXcmV3Xcm; } & Struct; readonly isInitiateTeleport: boolean; readonly asInitiateTeleport: { - readonly assets: XcmV2MultiassetMultiAssetFilter; - readonly dest: XcmV2MultiLocation; - readonly xcm: XcmV2Xcm; + readonly assets: StagingXcmV3MultiassetMultiAssetFilter; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: StagingXcmV3Xcm; } & Struct; - readonly isQueryHolding: boolean; - readonly asQueryHolding: { - readonly queryId: Compact; - readonly dest: XcmV2MultiLocation; - readonly assets: XcmV2MultiassetMultiAssetFilter; - readonly maxResponseWeight: Compact; + readonly isReportHolding: boolean; + readonly asReportHolding: { + readonly responseInfo: StagingXcmV3QueryResponseInfo; + readonly assets: StagingXcmV3MultiassetMultiAssetFilter; } & Struct; readonly isBuyExecution: boolean; readonly asBuyExecution: { - readonly fees: XcmV2MultiAsset; - readonly weightLimit: XcmV2WeightLimit; + readonly fees: StagingXcmV3MultiAsset; + readonly weightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isRefundSurplus: boolean; readonly isSetErrorHandler: boolean; - readonly asSetErrorHandler: XcmV2Xcm; + readonly asSetErrorHandler: StagingXcmV3Xcm; readonly isSetAppendix: boolean; - readonly asSetAppendix: XcmV2Xcm; + readonly asSetAppendix: StagingXcmV3Xcm; readonly isClearError: boolean; readonly isClaimAsset: boolean; readonly asClaimAsset: { - readonly assets: XcmV2MultiassetMultiAssets; - readonly ticket: XcmV2MultiLocation; + readonly assets: StagingXcmV3MultiassetMultiAssets; + readonly ticket: StagingXcmV3MultiLocation; } & Struct; readonly isTrap: boolean; readonly asTrap: Compact; readonly isSubscribeVersion: boolean; readonly asSubscribeVersion: { readonly queryId: Compact; - readonly maxResponseWeight: Compact; + readonly maxResponseWeight: SpWeightsWeightV2Weight; } & Struct; readonly isUnsubscribeVersion: boolean; - 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'; + readonly isBurnAsset: boolean; + readonly asBurnAsset: StagingXcmV3MultiassetMultiAssets; + readonly isExpectAsset: boolean; + readonly asExpectAsset: StagingXcmV3MultiassetMultiAssets; + readonly isExpectOrigin: boolean; + readonly asExpectOrigin: Option; + readonly isExpectError: boolean; + readonly asExpectError: Option>; + readonly isExpectTransactStatus: boolean; + readonly asExpectTransactStatus: StagingXcmV3MaybeErrorCode; + readonly isQueryPallet: boolean; + readonly asQueryPallet: { + readonly moduleName: Bytes; + readonly responseInfo: StagingXcmV3QueryResponseInfo; + } & Struct; + readonly isExpectPallet: boolean; + readonly asExpectPallet: { + readonly index: Compact; + readonly name: Bytes; + readonly moduleName: Bytes; + readonly crateMajor: Compact; + readonly minCrateMinor: Compact; + } & Struct; + readonly isReportTransactStatus: boolean; + readonly asReportTransactStatus: StagingXcmV3QueryResponseInfo; + readonly isClearTransactStatus: boolean; + readonly isUniversalOrigin: boolean; + readonly asUniversalOrigin: StagingXcmV3Junction; + readonly isExportMessage: boolean; + readonly asExportMessage: { + readonly network: StagingXcmV3JunctionNetworkId; + readonly destination: StagingXcmV3Junctions; + readonly xcm: StagingXcmV3Xcm; + } & Struct; + readonly isLockAsset: boolean; + readonly asLockAsset: { + readonly asset: StagingXcmV3MultiAsset; + readonly unlocker: StagingXcmV3MultiLocation; + } & Struct; + readonly isUnlockAsset: boolean; + readonly asUnlockAsset: { + readonly asset: StagingXcmV3MultiAsset; + readonly target: StagingXcmV3MultiLocation; + } & Struct; + readonly isNoteUnlockable: boolean; + readonly asNoteUnlockable: { + readonly asset: StagingXcmV3MultiAsset; + readonly owner: StagingXcmV3MultiLocation; + } & Struct; + readonly isRequestUnlock: boolean; + readonly asRequestUnlock: { + readonly asset: StagingXcmV3MultiAsset; + readonly locker: StagingXcmV3MultiLocation; + } & Struct; + readonly isSetFeesMode: boolean; + readonly asSetFeesMode: { + readonly jitWithdraw: bool; + } & Struct; + readonly isSetTopic: boolean; + readonly asSetTopic: U8aFixed; + readonly isClearTopic: boolean; + readonly isAliasOrigin: boolean; + readonly asAliasOrigin: StagingXcmV3MultiLocation; + readonly isUnpaidExecution: boolean; + readonly asUnpaidExecution: { + readonly weightLimit: StagingXcmV3WeightLimit; + readonly checkOrigin: Option; + } & Struct; + 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 XcmV2Junction */ -export interface XcmV2Junction extends Enum { +/** @name StagingXcmV3Junction */ +export interface StagingXcmV3Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; readonly isAccountId32: boolean; readonly asAccountId32: { - readonly network: XcmV2NetworkId; + readonly network: Option; readonly id: U8aFixed; } & Struct; readonly isAccountIndex64: boolean; readonly asAccountIndex64: { - readonly network: XcmV2NetworkId; + readonly network: Option; readonly index: Compact; } & Struct; readonly isAccountKey20: boolean; readonly asAccountKey20: { - readonly network: XcmV2NetworkId; + readonly network: Option; readonly key: U8aFixed; } & Struct; readonly isPalletInstance: boolean; @@ -4583,33 +4926,135 @@ export interface XcmV2Junction extends Enum { readonly isGeneralIndex: boolean; readonly asGeneralIndex: Compact; readonly isGeneralKey: boolean; - readonly asGeneralKey: Bytes; + readonly asGeneralKey: { + readonly length: u8; + readonly data: U8aFixed; + } & Struct; readonly isOnlyChild: boolean; readonly isPlurality: boolean; readonly asPlurality: { - readonly id: XcmV2BodyId; - readonly part: XcmV2BodyPart; + readonly id: StagingXcmV3JunctionBodyId; + readonly part: StagingXcmV3JunctionBodyPart; } & Struct; - readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality'; + readonly isGlobalConsensus: boolean; + readonly asGlobalConsensus: StagingXcmV3JunctionNetworkId; + readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus'; +} + +/** @name StagingXcmV3JunctionBodyId */ +export interface StagingXcmV3JunctionBodyId extends Enum { + readonly isUnit: boolean; + readonly isMoniker: boolean; + readonly asMoniker: U8aFixed; + readonly isIndex: boolean; + readonly asIndex: Compact; + readonly isExecutive: boolean; + readonly isTechnical: boolean; + readonly isLegislative: boolean; + readonly isJudicial: boolean; + readonly isDefense: boolean; + readonly isAdministration: boolean; + readonly isTreasury: boolean; + readonly type: 'Unit' | 'Moniker' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; +} + +/** @name StagingXcmV3JunctionBodyPart */ +export interface StagingXcmV3JunctionBodyPart extends Enum { + readonly isVoice: boolean; + readonly isMembers: boolean; + readonly asMembers: { + readonly count: Compact; + } & Struct; + readonly isFraction: boolean; + readonly asFraction: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly isAtLeastProportion: boolean; + readonly asAtLeastProportion: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly isMoreThanProportion: boolean; + readonly asMoreThanProportion: { + readonly nom: Compact; + readonly denom: Compact; + } & Struct; + readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; +} + +/** @name StagingXcmV3JunctionNetworkId */ +export interface StagingXcmV3JunctionNetworkId extends Enum { + readonly isByGenesis: boolean; + readonly asByGenesis: U8aFixed; + readonly isByFork: boolean; + readonly asByFork: { + readonly blockNumber: u64; + readonly blockHash: U8aFixed; + } & Struct; + readonly isPolkadot: boolean; + readonly isKusama: boolean; + readonly isWestend: boolean; + readonly isRococo: boolean; + readonly isWococo: boolean; + readonly isEthereum: boolean; + readonly asEthereum: { + readonly chainId: Compact; + } & Struct; + readonly isBitcoinCore: boolean; + readonly isBitcoinCash: boolean; + readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash'; +} + +/** @name StagingXcmV3Junctions */ +export interface StagingXcmV3Junctions extends Enum { + readonly isHere: boolean; + readonly isX1: boolean; + readonly asX1: StagingXcmV3Junction; + readonly isX2: boolean; + readonly asX2: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly isX3: boolean; + readonly asX3: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly isX4: boolean; + readonly asX4: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly isX5: boolean; + readonly asX5: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly isX6: boolean; + readonly asX6: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly isX7: boolean; + readonly asX7: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly isX8: boolean; + readonly asX8: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; + readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; +} + +/** @name StagingXcmV3MaybeErrorCode */ +export interface StagingXcmV3MaybeErrorCode extends Enum { + readonly isSuccess: boolean; + readonly isError: boolean; + readonly asError: Bytes; + readonly isTruncatedError: boolean; + readonly asTruncatedError: Bytes; + readonly type: 'Success' | 'Error' | 'TruncatedError'; } -/** @name XcmV2MultiAsset */ -export interface XcmV2MultiAsset extends Struct { - readonly id: XcmV2MultiassetAssetId; - readonly fun: XcmV2MultiassetFungibility; +/** @name StagingXcmV3MultiAsset */ +export interface StagingXcmV3MultiAsset extends Struct { + readonly id: StagingXcmV3MultiassetAssetId; + readonly fun: StagingXcmV3MultiassetFungibility; } -/** @name XcmV2MultiassetAssetId */ -export interface XcmV2MultiassetAssetId extends Enum { +/** @name StagingXcmV3MultiassetAssetId */ +export interface StagingXcmV3MultiassetAssetId extends Enum { readonly isConcrete: boolean; - readonly asConcrete: XcmV2MultiLocation; + readonly asConcrete: StagingXcmV3MultiLocation; readonly isAbstract: boolean; - readonly asAbstract: Bytes; + readonly asAbstract: U8aFixed; readonly type: 'Concrete' | 'Abstract'; } -/** @name XcmV2MultiassetAssetInstance */ -export interface XcmV2MultiassetAssetInstance extends Enum { +/** @name StagingXcmV3MultiassetAssetInstance */ +export interface StagingXcmV3MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; readonly asIndex: Compact; @@ -4621,117 +5066,103 @@ export interface XcmV2MultiassetAssetInstance extends Enum { readonly asArray16: U8aFixed; readonly isArray32: boolean; readonly asArray32: U8aFixed; - readonly isBlob: boolean; - readonly asBlob: Bytes; - readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob'; + readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32'; } -/** @name XcmV2MultiassetFungibility */ -export interface XcmV2MultiassetFungibility extends Enum { +/** @name StagingXcmV3MultiassetFungibility */ +export interface StagingXcmV3MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; readonly isNonFungible: boolean; - readonly asNonFungible: XcmV2MultiassetAssetInstance; + readonly asNonFungible: StagingXcmV3MultiassetAssetInstance; readonly type: 'Fungible' | 'NonFungible'; } -/** @name XcmV2MultiassetMultiAssetFilter */ -export interface XcmV2MultiassetMultiAssetFilter extends Enum { +/** @name StagingXcmV3MultiassetMultiAssetFilter */ +export interface StagingXcmV3MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; - readonly asDefinite: XcmV2MultiassetMultiAssets; + readonly asDefinite: StagingXcmV3MultiassetMultiAssets; readonly isWild: boolean; - readonly asWild: XcmV2MultiassetWildMultiAsset; + readonly asWild: StagingXcmV3MultiassetWildMultiAsset; readonly type: 'Definite' | 'Wild'; } -/** @name XcmV2MultiassetMultiAssets */ -export interface XcmV2MultiassetMultiAssets extends Vec {} +/** @name StagingXcmV3MultiassetMultiAssets */ +export interface StagingXcmV3MultiassetMultiAssets extends Vec {} -/** @name XcmV2MultiassetWildFungibility */ -export interface XcmV2MultiassetWildFungibility extends Enum { +/** @name StagingXcmV3MultiassetWildFungibility */ +export interface StagingXcmV3MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: 'Fungible' | 'NonFungible'; } -/** @name XcmV2MultiassetWildMultiAsset */ -export interface XcmV2MultiassetWildMultiAsset extends Enum { +/** @name StagingXcmV3MultiassetWildMultiAsset */ +export interface StagingXcmV3MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; readonly asAllOf: { - readonly id: XcmV2MultiassetAssetId; - readonly fun: XcmV2MultiassetWildFungibility; + readonly id: StagingXcmV3MultiassetAssetId; + readonly fun: StagingXcmV3MultiassetWildFungibility; } & Struct; - readonly type: 'All' | 'AllOf'; + readonly isAllCounted: boolean; + readonly asAllCounted: Compact; + readonly isAllOfCounted: boolean; + readonly asAllOfCounted: { + readonly id: StagingXcmV3MultiassetAssetId; + readonly fun: StagingXcmV3MultiassetWildFungibility; + readonly count: Compact; + } & Struct; + readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted'; } -/** @name XcmV2MultiLocation */ -export interface XcmV2MultiLocation extends Struct { +/** @name StagingXcmV3MultiLocation */ +export interface StagingXcmV3MultiLocation extends Struct { readonly parents: u8; - readonly interior: XcmV2MultilocationJunctions; -} - -/** @name XcmV2MultilocationJunctions */ -export interface XcmV2MultilocationJunctions extends Enum { - readonly isHere: boolean; - readonly isX1: boolean; - readonly asX1: XcmV2Junction; - readonly isX2: boolean; - readonly asX2: ITuple<[XcmV2Junction, XcmV2Junction]>; - readonly isX3: boolean; - readonly asX3: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction]>; - readonly isX4: boolean; - readonly asX4: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; - readonly isX5: boolean; - readonly asX5: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; - readonly isX6: boolean; - readonly asX6: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; - readonly isX7: boolean; - readonly asX7: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; - readonly isX8: boolean; - readonly asX8: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; - readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; + readonly interior: StagingXcmV3Junctions; } -/** @name XcmV2NetworkId */ -export interface XcmV2NetworkId extends Enum { - readonly isAny: boolean; - readonly isNamed: boolean; - readonly asNamed: Bytes; - readonly isPolkadot: boolean; - readonly isKusama: boolean; - readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama'; +/** @name StagingXcmV3PalletInfo */ +export interface StagingXcmV3PalletInfo extends Struct { + readonly index: Compact; + readonly name: Bytes; + readonly moduleName: Bytes; + readonly major: Compact; + readonly minor: Compact; + readonly patch: Compact; } -/** @name XcmV2OriginKind */ -export interface XcmV2OriginKind extends Enum { - readonly isNative: boolean; - readonly isSovereignAccount: boolean; - readonly isSuperuser: boolean; - readonly isXcm: boolean; - readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm'; +/** @name StagingXcmV3QueryResponseInfo */ +export interface StagingXcmV3QueryResponseInfo extends Struct { + readonly destination: StagingXcmV3MultiLocation; + readonly queryId: Compact; + readonly maxWeight: SpWeightsWeightV2Weight; } -/** @name XcmV2Response */ -export interface XcmV2Response extends Enum { +/** @name StagingXcmV3Response */ +export interface StagingXcmV3Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; - readonly asAssets: XcmV2MultiassetMultiAssets; + readonly asAssets: StagingXcmV3MultiassetMultiAssets; readonly isExecutionResult: boolean; - readonly asExecutionResult: Option>; + readonly asExecutionResult: Option>; readonly isVersion: boolean; readonly asVersion: u32; - readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version'; + readonly isPalletsInfo: boolean; + readonly asPalletsInfo: Vec; + readonly isDispatchResult: boolean; + readonly asDispatchResult: StagingXcmV3MaybeErrorCode; + readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult'; } -/** @name XcmV2TraitsError */ -export interface XcmV2TraitsError extends Enum { +/** @name StagingXcmV3TraitsError */ +export interface StagingXcmV3TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; readonly isUntrustedReserveLocation: boolean; readonly isUntrustedTeleportLocation: boolean; - readonly isMultiLocationFull: boolean; - readonly isMultiLocationNotInvertible: boolean; + readonly isLocationFull: boolean; + readonly isLocationNotInvertible: boolean; readonly isBadOrigin: boolean; readonly isInvalidLocation: boolean; readonly isAssetNotFound: boolean; @@ -4749,579 +5180,358 @@ export interface XcmV2TraitsError extends Enum { readonly isTooExpensive: boolean; readonly isTrap: boolean; readonly asTrap: u64; + readonly isExpectationFalse: boolean; + readonly isPalletNotFound: boolean; + readonly isNameMismatch: boolean; + readonly isVersionIncompatible: boolean; + readonly isHoldingWouldOverflow: boolean; + readonly isExportError: boolean; + readonly isReanchorFailed: boolean; + readonly isNoDeal: boolean; + readonly isFeesNotMet: boolean; + readonly isLockError: boolean; + readonly isNoPermission: boolean; + readonly isUnanchored: boolean; + readonly isNotDepositable: boolean; readonly isUnhandledXcmVersion: boolean; readonly isWeightLimitReached: boolean; - readonly asWeightLimitReached: u64; + readonly asWeightLimitReached: SpWeightsWeightV2Weight; readonly isBarrier: boolean; readonly isWeightNotComputable: boolean; - 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'; + readonly isExceedsStackLimit: boolean; + 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 StagingXcmV3TraitsOutcome */ +export interface StagingXcmV3TraitsOutcome extends Enum { + readonly isComplete: boolean; + readonly asComplete: SpWeightsWeightV2Weight; + readonly isIncomplete: boolean; + readonly asIncomplete: ITuple<[SpWeightsWeightV2Weight, StagingXcmV3TraitsError]>; + readonly isError: boolean; + readonly asError: StagingXcmV3TraitsError; + readonly type: 'Complete' | 'Incomplete' | 'Error'; } -/** @name XcmV2WeightLimit */ -export interface XcmV2WeightLimit extends Enum { +/** @name StagingXcmV3WeightLimit */ +export interface StagingXcmV3WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; - readonly asLimited: Compact; + readonly asLimited: SpWeightsWeightV2Weight; readonly type: 'Unlimited' | 'Limited'; } -/** @name XcmV2Xcm */ -export interface XcmV2Xcm extends Vec {} +/** @name StagingXcmV3Xcm */ +export interface StagingXcmV3Xcm extends Vec {} -/** @name XcmV3Instruction */ -export interface XcmV3Instruction extends Enum { - readonly isWithdrawAsset: boolean; - readonly asWithdrawAsset: XcmV3MultiassetMultiAssets; - readonly isReserveAssetDeposited: boolean; - readonly asReserveAssetDeposited: XcmV3MultiassetMultiAssets; - readonly isReceiveTeleportedAsset: boolean; - readonly asReceiveTeleportedAsset: XcmV3MultiassetMultiAssets; - readonly isQueryResponse: boolean; - readonly asQueryResponse: { - readonly queryId: Compact; - readonly response: XcmV3Response; - readonly maxWeight: SpWeightsWeightV2Weight; - readonly querier: Option; - } & Struct; - readonly isTransferAsset: boolean; - readonly asTransferAsset: { - readonly assets: XcmV3MultiassetMultiAssets; - readonly beneficiary: XcmV3MultiLocation; - } & Struct; - readonly isTransferReserveAsset: boolean; - readonly asTransferReserveAsset: { - readonly assets: XcmV3MultiassetMultiAssets; - readonly dest: XcmV3MultiLocation; - readonly xcm: XcmV3Xcm; - } & Struct; - readonly isTransact: boolean; - readonly asTransact: { - readonly originKind: XcmV2OriginKind; - readonly requireWeightAtMost: SpWeightsWeightV2Weight; - readonly call: XcmDoubleEncoded; - } & Struct; - readonly isHrmpNewChannelOpenRequest: boolean; - readonly asHrmpNewChannelOpenRequest: { - readonly sender: Compact; - readonly maxMessageSize: Compact; - readonly maxCapacity: Compact; - } & Struct; - readonly isHrmpChannelAccepted: boolean; - readonly asHrmpChannelAccepted: { - readonly recipient: Compact; - } & Struct; - readonly isHrmpChannelClosing: boolean; - readonly asHrmpChannelClosing: { - readonly initiator: Compact; - readonly sender: Compact; - readonly recipient: Compact; - } & Struct; - readonly isClearOrigin: boolean; - readonly isDescendOrigin: boolean; - readonly asDescendOrigin: XcmV3Junctions; - readonly isReportError: boolean; - readonly asReportError: XcmV3QueryResponseInfo; - readonly isDepositAsset: boolean; - readonly asDepositAsset: { - readonly assets: XcmV3MultiassetMultiAssetFilter; - readonly beneficiary: XcmV3MultiLocation; - } & Struct; - readonly isDepositReserveAsset: boolean; - readonly asDepositReserveAsset: { - readonly assets: XcmV3MultiassetMultiAssetFilter; - readonly dest: XcmV3MultiLocation; - readonly xcm: XcmV3Xcm; - } & Struct; - readonly isExchangeAsset: boolean; - readonly asExchangeAsset: { - readonly give: XcmV3MultiassetMultiAssetFilter; - readonly want: XcmV3MultiassetMultiAssets; - readonly maximal: bool; - } & Struct; - readonly isInitiateReserveWithdraw: boolean; - readonly asInitiateReserveWithdraw: { - readonly assets: XcmV3MultiassetMultiAssetFilter; - readonly reserve: XcmV3MultiLocation; - readonly xcm: XcmV3Xcm; - } & Struct; - readonly isInitiateTeleport: boolean; - readonly asInitiateTeleport: { - readonly assets: XcmV3MultiassetMultiAssetFilter; - readonly dest: XcmV3MultiLocation; - readonly xcm: XcmV3Xcm; - } & Struct; - readonly isReportHolding: boolean; - readonly asReportHolding: { - readonly responseInfo: XcmV3QueryResponseInfo; - readonly assets: XcmV3MultiassetMultiAssetFilter; - } & Struct; - readonly isBuyExecution: boolean; - readonly asBuyExecution: { - readonly fees: XcmV3MultiAsset; - readonly weightLimit: XcmV3WeightLimit; - } & Struct; - readonly isRefundSurplus: boolean; - readonly isSetErrorHandler: boolean; - readonly asSetErrorHandler: XcmV3Xcm; - readonly isSetAppendix: boolean; - readonly asSetAppendix: XcmV3Xcm; - readonly isClearError: boolean; - readonly isClaimAsset: boolean; - readonly asClaimAsset: { - readonly assets: XcmV3MultiassetMultiAssets; - readonly ticket: XcmV3MultiLocation; - } & Struct; - readonly isTrap: boolean; - readonly asTrap: Compact; - readonly isSubscribeVersion: boolean; - readonly asSubscribeVersion: { - readonly queryId: Compact; - readonly maxResponseWeight: SpWeightsWeightV2Weight; - } & Struct; - readonly isUnsubscribeVersion: boolean; - readonly isBurnAsset: boolean; - readonly asBurnAsset: XcmV3MultiassetMultiAssets; - readonly isExpectAsset: boolean; - readonly asExpectAsset: XcmV3MultiassetMultiAssets; - readonly isExpectOrigin: boolean; - readonly asExpectOrigin: Option; - readonly isExpectError: boolean; - readonly asExpectError: Option>; - readonly isExpectTransactStatus: boolean; - readonly asExpectTransactStatus: XcmV3MaybeErrorCode; - readonly isQueryPallet: boolean; - readonly asQueryPallet: { - readonly moduleName: Bytes; - readonly responseInfo: XcmV3QueryResponseInfo; - } & Struct; - readonly isExpectPallet: boolean; - readonly asExpectPallet: { - readonly index: Compact; - readonly name: Bytes; - readonly moduleName: Bytes; - readonly crateMajor: Compact; - readonly minCrateMinor: Compact; - } & Struct; - readonly isReportTransactStatus: boolean; - readonly asReportTransactStatus: XcmV3QueryResponseInfo; - readonly isClearTransactStatus: boolean; - readonly isUniversalOrigin: boolean; - readonly asUniversalOrigin: XcmV3Junction; - readonly isExportMessage: boolean; - readonly asExportMessage: { - readonly network: XcmV3JunctionNetworkId; - readonly destination: XcmV3Junctions; - readonly xcm: XcmV3Xcm; - } & Struct; - readonly isLockAsset: boolean; - readonly asLockAsset: { - readonly asset: XcmV3MultiAsset; - readonly unlocker: XcmV3MultiLocation; - } & Struct; - readonly isUnlockAsset: boolean; - readonly asUnlockAsset: { - readonly asset: XcmV3MultiAsset; - readonly target: XcmV3MultiLocation; - } & Struct; - readonly isNoteUnlockable: boolean; - readonly asNoteUnlockable: { - readonly asset: XcmV3MultiAsset; - readonly owner: XcmV3MultiLocation; - } & Struct; - readonly isRequestUnlock: boolean; - readonly asRequestUnlock: { - readonly asset: XcmV3MultiAsset; - readonly locker: XcmV3MultiLocation; - } & Struct; - readonly isSetFeesMode: boolean; - readonly asSetFeesMode: { - readonly jitWithdraw: bool; - } & Struct; - readonly isSetTopic: boolean; - readonly asSetTopic: U8aFixed; - readonly isClearTopic: boolean; - readonly isAliasOrigin: boolean; - readonly asAliasOrigin: XcmV3MultiLocation; - readonly isUnpaidExecution: boolean; - readonly asUnpaidExecution: { - readonly weightLimit: XcmV3WeightLimit; - readonly checkOrigin: Option; - } & Struct; - 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 StagingXcmVersionedAssetId */ +export interface StagingXcmVersionedAssetId extends Enum { + readonly isV3: boolean; + readonly asV3: StagingXcmV3MultiassetAssetId; + readonly type: 'V3'; } -/** @name XcmV3Junction */ -export interface XcmV3Junction extends Enum { - readonly isParachain: boolean; - readonly asParachain: Compact; - readonly isAccountId32: boolean; - readonly asAccountId32: { - readonly network: Option; - readonly id: U8aFixed; - } & Struct; - readonly isAccountIndex64: boolean; - readonly asAccountIndex64: { - readonly network: Option; - readonly index: Compact; - } & Struct; - readonly isAccountKey20: boolean; - readonly asAccountKey20: { - readonly network: Option; - readonly key: U8aFixed; - } & Struct; - readonly isPalletInstance: boolean; - readonly asPalletInstance: u8; - readonly isGeneralIndex: boolean; - readonly asGeneralIndex: Compact; - readonly isGeneralKey: boolean; - readonly asGeneralKey: { - readonly length: u8; - readonly data: U8aFixed; - } & Struct; - readonly isOnlyChild: boolean; - readonly isPlurality: boolean; - readonly asPlurality: { - readonly id: XcmV3JunctionBodyId; - readonly part: XcmV3JunctionBodyPart; - } & Struct; - readonly isGlobalConsensus: boolean; - readonly asGlobalConsensus: XcmV3JunctionNetworkId; - readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus'; +/** @name StagingXcmVersionedMultiAsset */ +export interface StagingXcmVersionedMultiAsset extends Enum { + readonly isV2: boolean; + readonly asV2: StagingXcmV2MultiAsset; + readonly isV3: boolean; + readonly asV3: StagingXcmV3MultiAsset; + readonly type: 'V2' | 'V3'; } -/** @name XcmV3JunctionBodyId */ -export interface XcmV3JunctionBodyId extends Enum { - readonly isUnit: boolean; - readonly isMoniker: boolean; - readonly asMoniker: U8aFixed; - readonly isIndex: boolean; - readonly asIndex: Compact; - readonly isExecutive: boolean; - readonly isTechnical: boolean; - readonly isLegislative: boolean; - readonly isJudicial: boolean; - readonly isDefense: boolean; - readonly isAdministration: boolean; - readonly isTreasury: boolean; - readonly type: 'Unit' | 'Moniker' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; +/** @name StagingXcmVersionedMultiAssets */ +export interface StagingXcmVersionedMultiAssets extends Enum { + readonly isV2: boolean; + readonly asV2: StagingXcmV2MultiassetMultiAssets; + readonly isV3: boolean; + readonly asV3: StagingXcmV3MultiassetMultiAssets; + readonly type: 'V2' | 'V3'; } -/** @name XcmV3JunctionBodyPart */ -export interface XcmV3JunctionBodyPart extends Enum { - readonly isVoice: boolean; - readonly isMembers: boolean; - readonly asMembers: { - readonly count: Compact; - } & Struct; - readonly isFraction: boolean; - readonly asFraction: { - readonly nom: Compact; - readonly denom: Compact; - } & Struct; - readonly isAtLeastProportion: boolean; - readonly asAtLeastProportion: { - readonly nom: Compact; - readonly denom: Compact; - } & Struct; - readonly isMoreThanProportion: boolean; - readonly asMoreThanProportion: { - readonly nom: Compact; - readonly denom: Compact; - } & Struct; - readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; +/** @name StagingXcmVersionedMultiLocation */ +export interface StagingXcmVersionedMultiLocation extends Enum { + readonly isV2: boolean; + readonly asV2: StagingXcmV2MultiLocation; + readonly isV3: boolean; + readonly asV3: StagingXcmV3MultiLocation; + readonly type: 'V2' | 'V3'; } -/** @name XcmV3JunctionNetworkId */ -export interface XcmV3JunctionNetworkId extends Enum { - readonly isByGenesis: boolean; - readonly asByGenesis: U8aFixed; - readonly isByFork: boolean; - readonly asByFork: { - readonly blockNumber: u64; - readonly blockHash: U8aFixed; - } & Struct; - readonly isPolkadot: boolean; - readonly isKusama: boolean; - readonly isWestend: boolean; - readonly isRococo: boolean; - readonly isWococo: boolean; - readonly isEthereum: boolean; - readonly asEthereum: { - readonly chainId: Compact; - } & Struct; - readonly isBitcoinCore: boolean; - readonly isBitcoinCash: boolean; - readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash'; +/** @name StagingXcmVersionedResponse */ +export interface StagingXcmVersionedResponse extends Enum { + readonly isV2: boolean; + readonly asV2: StagingXcmV2Response; + readonly isV3: boolean; + readonly asV3: StagingXcmV3Response; + readonly type: 'V2' | 'V3'; } -/** @name XcmV3Junctions */ -export interface XcmV3Junctions extends Enum { - readonly isHere: boolean; - readonly isX1: boolean; - readonly asX1: XcmV3Junction; - readonly isX2: boolean; - readonly asX2: ITuple<[XcmV3Junction, XcmV3Junction]>; - readonly isX3: boolean; - readonly asX3: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction]>; - readonly isX4: boolean; - readonly asX4: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; - readonly isX5: boolean; - readonly asX5: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; - readonly isX6: boolean; - readonly asX6: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; - readonly isX7: boolean; - readonly asX7: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; - readonly isX8: boolean; - readonly asX8: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; - readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; +/** @name StagingXcmVersionedXcm */ +export interface StagingXcmVersionedXcm extends Enum { + readonly isV2: boolean; + readonly asV2: StagingXcmV2Xcm; + readonly isV3: boolean; + readonly asV3: StagingXcmV3Xcm; + readonly type: 'V2' | 'V3'; +} + +/** @name UpDataStructsAccessMode */ +export interface UpDataStructsAccessMode extends Enum { + readonly isNormal: boolean; + readonly isAllowList: boolean; + readonly type: 'Normal' | 'AllowList'; +} + +/** @name UpDataStructsCollection */ +export interface UpDataStructsCollection extends Struct { + readonly owner: AccountId32; + readonly mode: UpDataStructsCollectionMode; + readonly name: Vec; + readonly description: Vec; + readonly tokenPrefix: Bytes; + readonly sponsorship: UpDataStructsSponsorshipStateAccountId32; + readonly limits: UpDataStructsCollectionLimits; + readonly permissions: UpDataStructsCollectionPermissions; + readonly flags: U8aFixed; +} + +/** @name UpDataStructsCollectionLimits */ +export interface UpDataStructsCollectionLimits extends Struct { + readonly accountTokenOwnershipLimit: Option; + readonly sponsoredDataSize: Option; + readonly sponsoredDataRateLimit: Option; + readonly tokenLimit: Option; + readonly sponsorTransferTimeout: Option; + readonly sponsorApproveTimeout: Option; + readonly ownerCanTransfer: Option; + readonly ownerCanDestroy: Option; + readonly transfersEnabled: Option; +} + +/** @name UpDataStructsCollectionMode */ +export interface UpDataStructsCollectionMode extends Enum { + readonly isNft: boolean; + readonly isFungible: boolean; + readonly asFungible: u8; + readonly isReFungible: boolean; + readonly type: 'Nft' | 'Fungible' | 'ReFungible'; +} + +/** @name UpDataStructsCollectionPermissions */ +export interface UpDataStructsCollectionPermissions extends Struct { + readonly access: Option; + readonly mintMode: Option; + readonly nesting: Option; +} + +/** @name UpDataStructsCollectionStats */ +export interface UpDataStructsCollectionStats extends Struct { + readonly created: u32; + readonly destroyed: u32; + readonly alive: u32; +} + +/** @name UpDataStructsCreateCollectionData */ +export interface UpDataStructsCreateCollectionData extends Struct { + readonly mode: UpDataStructsCollectionMode; + readonly access: Option; + readonly name: Vec; + readonly description: Vec; + readonly tokenPrefix: Bytes; + readonly limits: Option; + readonly permissions: Option; + readonly tokenPropertyPermissions: Vec; + readonly properties: Vec; + readonly adminList: Vec; + readonly pendingSponsor: Option; + readonly flags: U8aFixed; +} + +/** @name UpDataStructsCreateFungibleData */ +export interface UpDataStructsCreateFungibleData extends Struct { + readonly value: u128; +} + +/** @name UpDataStructsCreateItemData */ +export interface UpDataStructsCreateItemData extends Enum { + readonly isNft: boolean; + readonly asNft: UpDataStructsCreateNftData; + readonly isFungible: boolean; + readonly asFungible: UpDataStructsCreateFungibleData; + readonly isReFungible: boolean; + readonly asReFungible: UpDataStructsCreateReFungibleData; + readonly type: 'Nft' | 'Fungible' | 'ReFungible'; +} + +/** @name UpDataStructsCreateItemExData */ +export interface UpDataStructsCreateItemExData extends Enum { + readonly isNft: boolean; + readonly asNft: Vec; + readonly isFungible: boolean; + readonly asFungible: BTreeMap; + readonly isRefungibleMultipleItems: boolean; + readonly asRefungibleMultipleItems: Vec; + readonly isRefungibleMultipleOwners: boolean; + readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners; + readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners'; } -/** @name XcmV3MaybeErrorCode */ -export interface XcmV3MaybeErrorCode extends Enum { - readonly isSuccess: boolean; - readonly isError: boolean; - readonly asError: Bytes; - readonly isTruncatedError: boolean; - readonly asTruncatedError: Bytes; - readonly type: 'Success' | 'Error' | 'TruncatedError'; +/** @name UpDataStructsCreateNftData */ +export interface UpDataStructsCreateNftData extends Struct { + readonly properties: Vec; } -/** @name XcmV3MultiAsset */ -export interface XcmV3MultiAsset extends Struct { - readonly id: XcmV3MultiassetAssetId; - readonly fun: XcmV3MultiassetFungibility; +/** @name UpDataStructsCreateNftExData */ +export interface UpDataStructsCreateNftExData extends Struct { + readonly properties: Vec; + readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } -/** @name XcmV3MultiassetAssetId */ -export interface XcmV3MultiassetAssetId extends Enum { - readonly isConcrete: boolean; - readonly asConcrete: XcmV3MultiLocation; - readonly isAbstract: boolean; - readonly asAbstract: U8aFixed; - readonly type: 'Concrete' | 'Abstract'; +/** @name UpDataStructsCreateReFungibleData */ +export interface UpDataStructsCreateReFungibleData extends Struct { + readonly pieces: u128; + readonly properties: Vec; } -/** @name XcmV3MultiassetAssetInstance */ -export interface XcmV3MultiassetAssetInstance extends Enum { - readonly isUndefined: boolean; - readonly isIndex: boolean; - readonly asIndex: Compact; - readonly isArray4: boolean; - readonly asArray4: U8aFixed; - readonly isArray8: boolean; - readonly asArray8: U8aFixed; - readonly isArray16: boolean; - readonly asArray16: U8aFixed; - readonly isArray32: boolean; - readonly asArray32: U8aFixed; - readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32'; +/** @name UpDataStructsCreateRefungibleExMultipleOwners */ +export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct { + readonly users: BTreeMap; + readonly properties: Vec; } -/** @name XcmV3MultiassetFungibility */ -export interface XcmV3MultiassetFungibility extends Enum { - readonly isFungible: boolean; - readonly asFungible: Compact; - readonly isNonFungible: boolean; - readonly asNonFungible: XcmV3MultiassetAssetInstance; - readonly type: 'Fungible' | 'NonFungible'; +/** @name UpDataStructsCreateRefungibleExSingleOwner */ +export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct { + readonly user: PalletEvmAccountBasicCrossAccountIdRepr; + readonly pieces: u128; + readonly properties: Vec; } -/** @name XcmV3MultiassetMultiAssetFilter */ -export interface XcmV3MultiassetMultiAssetFilter extends Enum { - readonly isDefinite: boolean; - readonly asDefinite: XcmV3MultiassetMultiAssets; - readonly isWild: boolean; - readonly asWild: XcmV3MultiassetWildMultiAsset; - readonly type: 'Definite' | 'Wild'; +/** @name UpDataStructsNestingPermissions */ +export interface UpDataStructsNestingPermissions extends Struct { + readonly tokenOwner: bool; + readonly collectionAdmin: bool; + readonly restricted: Option; } -/** @name XcmV3MultiassetMultiAssets */ -export interface XcmV3MultiassetMultiAssets extends Vec {} +/** @name UpDataStructsOwnerRestrictedSet */ +export interface UpDataStructsOwnerRestrictedSet extends BTreeSet {} -/** @name XcmV3MultiassetWildFungibility */ -export interface XcmV3MultiassetWildFungibility extends Enum { - readonly isFungible: boolean; - readonly isNonFungible: boolean; - readonly type: 'Fungible' | 'NonFungible'; +/** @name UpDataStructsProperties */ +export interface UpDataStructsProperties extends Struct { + readonly map: UpDataStructsPropertiesMapBoundedVec; + readonly consumedSpace: u32; + readonly reserved: u32; } -/** @name XcmV3MultiassetWildMultiAsset */ -export interface XcmV3MultiassetWildMultiAsset extends Enum { - readonly isAll: boolean; - readonly isAllOf: boolean; - readonly asAllOf: { - readonly id: XcmV3MultiassetAssetId; - readonly fun: XcmV3MultiassetWildFungibility; - } & Struct; - readonly isAllCounted: boolean; - readonly asAllCounted: Compact; - readonly isAllOfCounted: boolean; - readonly asAllOfCounted: { - readonly id: XcmV3MultiassetAssetId; - readonly fun: XcmV3MultiassetWildFungibility; - readonly count: Compact; - } & Struct; - readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted'; -} +/** @name UpDataStructsPropertiesMapBoundedVec */ +export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} -/** @name XcmV3MultiLocation */ -export interface XcmV3MultiLocation extends Struct { - readonly parents: u8; - readonly interior: XcmV3Junctions; -} +/** @name UpDataStructsPropertiesMapPropertyPermission */ +export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} -/** @name XcmV3PalletInfo */ -export interface XcmV3PalletInfo extends Struct { - readonly index: Compact; - readonly name: Bytes; - readonly moduleName: Bytes; - readonly major: Compact; - readonly minor: Compact; - readonly patch: Compact; +/** @name UpDataStructsProperty */ +export interface UpDataStructsProperty extends Struct { + readonly key: Bytes; + readonly value: Bytes; } -/** @name XcmV3QueryResponseInfo */ -export interface XcmV3QueryResponseInfo extends Struct { - readonly destination: XcmV3MultiLocation; - readonly queryId: Compact; - readonly maxWeight: SpWeightsWeightV2Weight; +/** @name UpDataStructsPropertyKeyPermission */ +export interface UpDataStructsPropertyKeyPermission extends Struct { + readonly key: Bytes; + readonly permission: UpDataStructsPropertyPermission; } -/** @name XcmV3Response */ -export interface XcmV3Response extends Enum { - readonly isNull: boolean; - readonly isAssets: boolean; - readonly asAssets: XcmV3MultiassetMultiAssets; - readonly isExecutionResult: boolean; - readonly asExecutionResult: Option>; - readonly isVersion: boolean; - readonly asVersion: u32; - readonly isPalletsInfo: boolean; - readonly asPalletsInfo: Vec; - readonly isDispatchResult: boolean; - readonly asDispatchResult: XcmV3MaybeErrorCode; - readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult'; +/** @name UpDataStructsPropertyPermission */ +export interface UpDataStructsPropertyPermission extends Struct { + readonly mutable: bool; + readonly collectionAdmin: bool; + readonly tokenOwner: bool; } -/** @name XcmV3TraitsError */ -export interface XcmV3TraitsError extends Enum { - readonly isOverflow: boolean; - readonly isUnimplemented: boolean; - readonly isUntrustedReserveLocation: boolean; - readonly isUntrustedTeleportLocation: boolean; - readonly isLocationFull: boolean; - readonly isLocationNotInvertible: boolean; - readonly isBadOrigin: boolean; - readonly isInvalidLocation: boolean; - readonly isAssetNotFound: boolean; - readonly isFailedToTransactAsset: boolean; - readonly isNotWithdrawable: boolean; - readonly isLocationCannotHold: boolean; - readonly isExceedsMaxMessageSize: boolean; - readonly isDestinationUnsupported: boolean; - readonly isTransport: boolean; - readonly isUnroutable: boolean; - readonly isUnknownClaim: boolean; - readonly isFailedToDecode: boolean; - readonly isMaxWeightInvalid: boolean; - readonly isNotHoldingFees: boolean; - readonly isTooExpensive: boolean; - readonly isTrap: boolean; - readonly asTrap: u64; - readonly isExpectationFalse: boolean; - readonly isPalletNotFound: boolean; - readonly isNameMismatch: boolean; - readonly isVersionIncompatible: boolean; - readonly isHoldingWouldOverflow: boolean; - readonly isExportError: boolean; - readonly isReanchorFailed: boolean; - readonly isNoDeal: boolean; - readonly isFeesNotMet: boolean; - readonly isLockError: boolean; - readonly isNoPermission: boolean; - readonly isUnanchored: boolean; - readonly isNotDepositable: boolean; - readonly isUnhandledXcmVersion: boolean; - readonly isWeightLimitReached: boolean; - readonly asWeightLimitReached: SpWeightsWeightV2Weight; - readonly isBarrier: boolean; - readonly isWeightNotComputable: boolean; - readonly isExceedsStackLimit: boolean; - 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 UpDataStructsPropertyScope */ +export interface UpDataStructsPropertyScope extends Enum { + readonly isNone: boolean; + readonly isRmrk: boolean; + readonly type: 'None' | 'Rmrk'; } -/** @name XcmV3TraitsOutcome */ -export interface XcmV3TraitsOutcome extends Enum { - readonly isComplete: boolean; - readonly asComplete: SpWeightsWeightV2Weight; - readonly isIncomplete: boolean; - readonly asIncomplete: ITuple<[SpWeightsWeightV2Weight, XcmV3TraitsError]>; - readonly isError: boolean; - readonly asError: XcmV3TraitsError; - readonly type: 'Complete' | 'Incomplete' | 'Error'; +/** @name UpDataStructsRpcCollection */ +export interface UpDataStructsRpcCollection extends Struct { + readonly owner: AccountId32; + readonly mode: UpDataStructsCollectionMode; + readonly name: Vec; + readonly description: Vec; + readonly tokenPrefix: Bytes; + readonly sponsorship: UpDataStructsSponsorshipStateAccountId32; + readonly limits: UpDataStructsCollectionLimits; + readonly permissions: UpDataStructsCollectionPermissions; + readonly tokenPropertyPermissions: Vec; + readonly properties: Vec; + readonly readOnly: bool; + readonly flags: UpDataStructsRpcCollectionFlags; } -/** @name XcmV3WeightLimit */ -export interface XcmV3WeightLimit extends Enum { - readonly isUnlimited: boolean; - readonly isLimited: boolean; - readonly asLimited: SpWeightsWeightV2Weight; - readonly type: 'Unlimited' | 'Limited'; +/** @name UpDataStructsRpcCollectionFlags */ +export interface UpDataStructsRpcCollectionFlags extends Struct { + readonly foreign: bool; + readonly erc721metadata: bool; } -/** @name XcmV3Xcm */ -export interface XcmV3Xcm extends Vec {} +/** @name UpDataStructsSponsoringRateLimit */ +export interface UpDataStructsSponsoringRateLimit extends Enum { + readonly isSponsoringDisabled: boolean; + readonly isBlocks: boolean; + readonly asBlocks: u32; + readonly type: 'SponsoringDisabled' | 'Blocks'; +} -/** @name XcmVersionedAssetId */ -export interface XcmVersionedAssetId extends Enum { - readonly isV3: boolean; - readonly asV3: XcmV3MultiassetAssetId; - readonly type: 'V3'; +/** @name UpDataStructsSponsorshipStateAccountId32 */ +export interface UpDataStructsSponsorshipStateAccountId32 extends Enum { + readonly isDisabled: boolean; + readonly isUnconfirmed: boolean; + readonly asUnconfirmed: AccountId32; + readonly isConfirmed: boolean; + readonly asConfirmed: AccountId32; + readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } -/** @name XcmVersionedMultiAsset */ -export interface XcmVersionedMultiAsset extends Enum { - readonly isV2: boolean; - readonly asV2: XcmV2MultiAsset; - readonly isV3: boolean; - readonly asV3: XcmV3MultiAsset; - readonly type: 'V2' | 'V3'; +/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */ +export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum { + readonly isDisabled: boolean; + readonly isUnconfirmed: boolean; + readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr; + readonly isConfirmed: boolean; + readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr; + readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } -/** @name XcmVersionedMultiAssets */ -export interface XcmVersionedMultiAssets extends Enum { - readonly isV2: boolean; - readonly asV2: XcmV2MultiassetMultiAssets; - readonly isV3: boolean; - readonly asV3: XcmV3MultiassetMultiAssets; - readonly type: 'V2' | 'V3'; +/** @name UpDataStructsTokenChild */ +export interface UpDataStructsTokenChild extends Struct { + readonly token: u32; + readonly collection: u32; } -/** @name XcmVersionedMultiLocation */ -export interface XcmVersionedMultiLocation extends Enum { - readonly isV2: boolean; - readonly asV2: XcmV2MultiLocation; - readonly isV3: boolean; - readonly asV3: XcmV3MultiLocation; - readonly type: 'V2' | 'V3'; +/** @name UpDataStructsTokenData */ +export interface UpDataStructsTokenData extends Struct { + readonly properties: Vec; + readonly owner: Option; + readonly pieces: u128; } -/** @name XcmVersionedResponse */ -export interface XcmVersionedResponse extends Enum { - readonly isV2: boolean; - readonly asV2: XcmV2Response; - readonly isV3: boolean; - readonly asV3: XcmV3Response; - readonly type: 'V2' | 'V3'; +/** @name UpPovEstimateRpcPovInfo */ +export interface UpPovEstimateRpcPovInfo extends Struct { + readonly proofSize: u64; + readonly compactProofSize: u64; + readonly compressedProofSize: u64; + readonly results: Vec, SpRuntimeTransactionValidityTransactionValidityError>>; + readonly keyValues: Vec; } -/** @name XcmVersionedXcm */ -export interface XcmVersionedXcm extends Enum { - readonly isV2: boolean; - readonly asV2: XcmV2Xcm; - readonly isV3: boolean; - readonly asV3: XcmV3Xcm; - readonly type: 'V2' | 'V3'; +/** @name UpPovEstimateRpcTrieKeyValue */ +export interface UpPovEstimateRpcTrieKeyValue extends Struct { + readonly key: Bytes; + readonly value: Bytes; } export type PHANTOM_DEFAULT = 'default'; diff --git a/tests/src/interfaces/lookup.ts b/tests/src/interfaces/lookup.ts index 835b9d797e..3add932538 100644 --- a/tests/src/interfaces/lookup.ts +++ b/tests/src/interfaces/lookup.ts @@ -5,7 +5,7 @@ export default { /** - * Lookup3: frame_system::AccountInfo> + * Lookup3: frame_system::AccountInfo> **/ FrameSystemAccountInfo: { nonce: 'u32', @@ -456,71 +456,71 @@ export default { _enum: { TransferredMultiAssets: { sender: 'AccountId32', - assets: 'XcmV3MultiassetMultiAssets', - fee: 'XcmV3MultiAsset', - dest: 'XcmV3MultiLocation' + assets: 'StagingXcmV3MultiassetMultiAssets', + fee: 'StagingXcmV3MultiAsset', + dest: 'StagingXcmV3MultiLocation' } } }, /** - * Lookup49: xcm::v3::multiasset::MultiAssets + * Lookup49: staging_xcm::v3::multiasset::MultiAssets **/ - XcmV3MultiassetMultiAssets: 'Vec', + StagingXcmV3MultiassetMultiAssets: 'Vec', /** - * Lookup51: xcm::v3::multiasset::MultiAsset + * Lookup51: staging_xcm::v3::multiasset::MultiAsset **/ - XcmV3MultiAsset: { - id: 'XcmV3MultiassetAssetId', - fun: 'XcmV3MultiassetFungibility' + StagingXcmV3MultiAsset: { + id: 'StagingXcmV3MultiassetAssetId', + fun: 'StagingXcmV3MultiassetFungibility' }, /** - * Lookup52: xcm::v3::multiasset::AssetId + * Lookup52: staging_xcm::v3::multiasset::AssetId **/ - XcmV3MultiassetAssetId: { + StagingXcmV3MultiassetAssetId: { _enum: { - Concrete: 'XcmV3MultiLocation', + Concrete: 'StagingXcmV3MultiLocation', Abstract: '[u8;32]' } }, /** - * Lookup53: xcm::v3::multilocation::MultiLocation + * Lookup53: staging_xcm::v3::multilocation::MultiLocation **/ - XcmV3MultiLocation: { + StagingXcmV3MultiLocation: { parents: 'u8', - interior: 'XcmV3Junctions' + interior: 'StagingXcmV3Junctions' }, /** - * Lookup54: xcm::v3::junctions::Junctions + * Lookup54: staging_xcm::v3::junctions::Junctions **/ - XcmV3Junctions: { + StagingXcmV3Junctions: { _enum: { Here: 'Null', - X1: 'XcmV3Junction', - X2: '(XcmV3Junction,XcmV3Junction)', - X3: '(XcmV3Junction,XcmV3Junction,XcmV3Junction)', - X4: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)', - X5: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)', - X6: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)', - X7: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)', - X8: '(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)' + X1: 'StagingXcmV3Junction', + X2: '(StagingXcmV3Junction,StagingXcmV3Junction)', + X3: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)', + X4: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)', + X5: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)', + X6: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)', + X7: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)', + X8: '(StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction,StagingXcmV3Junction)' } }, /** - * Lookup55: xcm::v3::junction::Junction + * Lookup55: staging_xcm::v3::junction::Junction **/ - XcmV3Junction: { + StagingXcmV3Junction: { _enum: { Parachain: 'Compact', AccountId32: { - network: 'Option', + network: 'Option', id: '[u8;32]', }, AccountIndex64: { - network: 'Option', + network: 'Option', index: 'Compact', }, AccountKey20: { - network: 'Option', + network: 'Option', key: '[u8;20]', }, PalletInstance: 'u8', @@ -531,16 +531,16 @@ export default { }, OnlyChild: 'Null', Plurality: { - id: 'XcmV3JunctionBodyId', - part: 'XcmV3JunctionBodyPart', + id: 'StagingXcmV3JunctionBodyId', + part: 'StagingXcmV3JunctionBodyPart', }, - GlobalConsensus: 'XcmV3JunctionNetworkId' + GlobalConsensus: 'StagingXcmV3JunctionNetworkId' } }, /** - * Lookup58: xcm::v3::junction::NetworkId + * Lookup58: staging_xcm::v3::junction::NetworkId **/ - XcmV3JunctionNetworkId: { + StagingXcmV3JunctionNetworkId: { _enum: { ByGenesis: '[u8;32]', ByFork: { @@ -560,9 +560,9 @@ export default { } }, /** - * Lookup60: xcm::v3::junction::BodyId + * Lookup60: staging_xcm::v3::junction::BodyId **/ - XcmV3JunctionBodyId: { + StagingXcmV3JunctionBodyId: { _enum: { Unit: 'Null', Moniker: '[u8;4]', @@ -577,9 +577,9 @@ export default { } }, /** - * Lookup61: xcm::v3::junction::BodyPart + * Lookup61: staging_xcm::v3::junction::BodyPart **/ - XcmV3JunctionBodyPart: { + StagingXcmV3JunctionBodyPart: { _enum: { Voice: 'Null', Members: { @@ -600,18 +600,18 @@ export default { } }, /** - * Lookup62: xcm::v3::multiasset::Fungibility + * Lookup62: staging_xcm::v3::multiasset::Fungibility **/ - XcmV3MultiassetFungibility: { + StagingXcmV3MultiassetFungibility: { _enum: { Fungible: 'Compact', - NonFungible: 'XcmV3MultiassetAssetInstance' + NonFungible: 'StagingXcmV3MultiassetAssetInstance' } }, /** - * Lookup63: xcm::v3::multiasset::AssetInstance + * Lookup63: staging_xcm::v3::multiasset::AssetInstance **/ - XcmV3MultiassetAssetInstance: { + StagingXcmV3MultiassetAssetInstance: { _enum: { Undefined: 'Null', Index: 'Compact', @@ -627,91 +627,99 @@ export default { OrmlTokensModuleEvent: { _enum: { Endowed: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', amount: 'u128', }, DustLost: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', amount: 'u128', }, Transfer: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', from: 'AccountId32', to: 'AccountId32', amount: 'u128', }, Reserved: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', amount: 'u128', }, Unreserved: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', amount: 'u128', }, ReserveRepatriated: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', from: 'AccountId32', to: 'AccountId32', amount: 'u128', status: 'FrameSupportTokensMiscBalanceStatus', }, BalanceSet: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', free: 'u128', reserved: 'u128', }, TotalIssuanceSet: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', amount: 'u128', }, Withdrawn: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', amount: 'u128', }, Slashed: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', freeAmount: 'u128', reservedAmount: 'u128', }, Deposited: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', amount: 'u128', }, LockSet: { lockId: '[u8;8]', - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', amount: 'u128', }, LockRemoved: { lockId: '[u8;8]', - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', }, Locked: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', amount: 'u128', }, Unlocked: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', who: 'AccountId32', + amount: 'u128', + }, + Issued: { + currencyId: 'PalletForeignAssetsAssetId', + amount: 'u128', + }, + Rescinded: { + currencyId: 'PalletForeignAssetsAssetId', amount: 'u128' } } }, /** - * Lookup67: pallet_foreign_assets::AssetIds + * Lookup67: pallet_foreign_assets::AssetId **/ - PalletForeignAssetsAssetIds: { + PalletForeignAssetsAssetId: { _enum: { ForeignAssetId: 'u32', NativeAssetId: 'PalletForeignAssetsNativeCurrency' @@ -1227,15 +1235,15 @@ export default { * Lookup99: cumulus_primitives_parachain_inherent::ParachainInherentData **/ CumulusPrimitivesParachainInherentParachainInherentData: { - validationData: 'PolkadotPrimitivesV4PersistedValidationData', + validationData: 'PolkadotPrimitivesV5PersistedValidationData', relayChainState: 'SpTrieStorageProof', downwardMessages: 'Vec', horizontalMessages: 'BTreeMap>' }, /** - * Lookup100: polkadot_primitives::v4::PersistedValidationData + * Lookup100: polkadot_primitives::v5::PersistedValidationData **/ - PolkadotPrimitivesV4PersistedValidationData: { + PolkadotPrimitivesV5PersistedValidationData: { parentHead: 'Bytes', relayParentNumber: 'u32', relayParentStorageRoot: 'H256', @@ -1444,93 +1452,93 @@ export default { OrmlXtokensModuleCall: { _enum: { transfer: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', amount: 'u128', - dest: 'XcmVersionedMultiLocation', - destWeightLimit: 'XcmV3WeightLimit', + dest: 'StagingXcmVersionedMultiLocation', + destWeightLimit: 'StagingXcmV3WeightLimit', }, transfer_multiasset: { - asset: 'XcmVersionedMultiAsset', - dest: 'XcmVersionedMultiLocation', - destWeightLimit: 'XcmV3WeightLimit', + asset: 'StagingXcmVersionedMultiAsset', + dest: 'StagingXcmVersionedMultiLocation', + destWeightLimit: 'StagingXcmV3WeightLimit', }, transfer_with_fee: { - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', amount: 'u128', fee: 'u128', - dest: 'XcmVersionedMultiLocation', - destWeightLimit: 'XcmV3WeightLimit', + dest: 'StagingXcmVersionedMultiLocation', + destWeightLimit: 'StagingXcmV3WeightLimit', }, transfer_multiasset_with_fee: { - asset: 'XcmVersionedMultiAsset', - fee: 'XcmVersionedMultiAsset', - dest: 'XcmVersionedMultiLocation', - destWeightLimit: 'XcmV3WeightLimit', + asset: 'StagingXcmVersionedMultiAsset', + fee: 'StagingXcmVersionedMultiAsset', + dest: 'StagingXcmVersionedMultiLocation', + destWeightLimit: 'StagingXcmV3WeightLimit', }, transfer_multicurrencies: { - currencies: 'Vec<(PalletForeignAssetsAssetIds,u128)>', + currencies: 'Vec<(PalletForeignAssetsAssetId,u128)>', feeItem: 'u32', - dest: 'XcmVersionedMultiLocation', - destWeightLimit: 'XcmV3WeightLimit', + dest: 'StagingXcmVersionedMultiLocation', + destWeightLimit: 'StagingXcmV3WeightLimit', }, transfer_multiassets: { - assets: 'XcmVersionedMultiAssets', + assets: 'StagingXcmVersionedMultiAssets', feeItem: 'u32', - dest: 'XcmVersionedMultiLocation', - destWeightLimit: 'XcmV3WeightLimit' + dest: 'StagingXcmVersionedMultiLocation', + destWeightLimit: 'StagingXcmV3WeightLimit' } } }, /** - * Lookup128: xcm::VersionedMultiLocation + * Lookup128: staging_xcm::VersionedMultiLocation **/ - XcmVersionedMultiLocation: { + StagingXcmVersionedMultiLocation: { _enum: { __Unused0: 'Null', - V2: 'XcmV2MultiLocation', + V2: 'StagingXcmV2MultiLocation', __Unused2: 'Null', - V3: 'XcmV3MultiLocation' + V3: 'StagingXcmV3MultiLocation' } }, /** - * Lookup129: xcm::v2::multilocation::MultiLocation + * Lookup129: staging_xcm::v2::multilocation::MultiLocation **/ - XcmV2MultiLocation: { + StagingXcmV2MultiLocation: { parents: 'u8', - interior: 'XcmV2MultilocationJunctions' + interior: 'StagingXcmV2MultilocationJunctions' }, /** - * Lookup130: xcm::v2::multilocation::Junctions + * Lookup130: staging_xcm::v2::multilocation::Junctions **/ - XcmV2MultilocationJunctions: { + StagingXcmV2MultilocationJunctions: { _enum: { Here: 'Null', - X1: 'XcmV2Junction', - X2: '(XcmV2Junction,XcmV2Junction)', - X3: '(XcmV2Junction,XcmV2Junction,XcmV2Junction)', - X4: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)', - X5: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)', - X6: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)', - X7: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)', - X8: '(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)' + X1: 'StagingXcmV2Junction', + X2: '(StagingXcmV2Junction,StagingXcmV2Junction)', + X3: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)', + X4: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)', + X5: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)', + X6: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)', + X7: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)', + X8: '(StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction,StagingXcmV2Junction)' } }, /** - * Lookup131: xcm::v2::junction::Junction + * Lookup131: staging_xcm::v2::junction::Junction **/ - XcmV2Junction: { + StagingXcmV2Junction: { _enum: { Parachain: 'Compact', AccountId32: { - network: 'XcmV2NetworkId', + network: 'StagingXcmV2NetworkId', id: '[u8;32]', }, AccountIndex64: { - network: 'XcmV2NetworkId', + network: 'StagingXcmV2NetworkId', index: 'Compact', }, AccountKey20: { - network: 'XcmV2NetworkId', + network: 'StagingXcmV2NetworkId', key: '[u8;20]', }, PalletInstance: 'u8', @@ -1538,15 +1546,15 @@ export default { GeneralKey: 'Bytes', OnlyChild: 'Null', Plurality: { - id: 'XcmV2BodyId', - part: 'XcmV2BodyPart' + id: 'StagingXcmV2BodyId', + part: 'StagingXcmV2BodyPart' } } }, /** - * Lookup132: xcm::v2::NetworkId + * Lookup132: staging_xcm::v2::NetworkId **/ - XcmV2NetworkId: { + StagingXcmV2NetworkId: { _enum: { Any: 'Null', Named: 'Bytes', @@ -1555,9 +1563,9 @@ export default { } }, /** - * Lookup134: xcm::v2::BodyId + * Lookup134: staging_xcm::v2::BodyId **/ - XcmV2BodyId: { + StagingXcmV2BodyId: { _enum: { Unit: 'Null', Named: 'Bytes', @@ -1572,9 +1580,9 @@ export default { } }, /** - * Lookup135: xcm::v2::BodyPart + * Lookup135: staging_xcm::v2::BodyPart **/ - XcmV2BodyPart: { + StagingXcmV2BodyPart: { _enum: { Voice: 'Null', Members: { @@ -1595,54 +1603,54 @@ export default { } }, /** - * Lookup136: xcm::v3::WeightLimit + * Lookup136: staging_xcm::v3::WeightLimit **/ - XcmV3WeightLimit: { + StagingXcmV3WeightLimit: { _enum: { Unlimited: 'Null', Limited: 'SpWeightsWeightV2Weight' } }, /** - * Lookup137: xcm::VersionedMultiAsset + * Lookup137: staging_xcm::VersionedMultiAsset **/ - XcmVersionedMultiAsset: { + StagingXcmVersionedMultiAsset: { _enum: { __Unused0: 'Null', - V2: 'XcmV2MultiAsset', + V2: 'StagingXcmV2MultiAsset', __Unused2: 'Null', - V3: 'XcmV3MultiAsset' + V3: 'StagingXcmV3MultiAsset' } }, /** - * Lookup138: xcm::v2::multiasset::MultiAsset + * Lookup138: staging_xcm::v2::multiasset::MultiAsset **/ - XcmV2MultiAsset: { - id: 'XcmV2MultiassetAssetId', - fun: 'XcmV2MultiassetFungibility' + StagingXcmV2MultiAsset: { + id: 'StagingXcmV2MultiassetAssetId', + fun: 'StagingXcmV2MultiassetFungibility' }, /** - * Lookup139: xcm::v2::multiasset::AssetId + * Lookup139: staging_xcm::v2::multiasset::AssetId **/ - XcmV2MultiassetAssetId: { + StagingXcmV2MultiassetAssetId: { _enum: { - Concrete: 'XcmV2MultiLocation', + Concrete: 'StagingXcmV2MultiLocation', Abstract: 'Bytes' } }, /** - * Lookup140: xcm::v2::multiasset::Fungibility + * Lookup140: staging_xcm::v2::multiasset::Fungibility **/ - XcmV2MultiassetFungibility: { + StagingXcmV2MultiassetFungibility: { _enum: { Fungible: 'Compact', - NonFungible: 'XcmV2MultiassetAssetInstance' + NonFungible: 'StagingXcmV2MultiassetAssetInstance' } }, /** - * Lookup141: xcm::v2::multiasset::AssetInstance + * Lookup141: staging_xcm::v2::multiasset::AssetInstance **/ - XcmV2MultiassetAssetInstance: { + StagingXcmV2MultiassetAssetInstance: { _enum: { Undefined: 'Null', Index: 'Compact', @@ -1654,20 +1662,20 @@ export default { } }, /** - * Lookup144: xcm::VersionedMultiAssets + * Lookup144: staging_xcm::VersionedMultiAssets **/ - XcmVersionedMultiAssets: { + StagingXcmVersionedMultiAssets: { _enum: { __Unused0: 'Null', - V2: 'XcmV2MultiassetMultiAssets', + V2: 'StagingXcmV2MultiassetMultiAssets', __Unused2: 'Null', - V3: 'XcmV3MultiassetMultiAssets' + V3: 'StagingXcmV3MultiassetMultiAssets' } }, /** - * Lookup145: xcm::v2::multiasset::MultiAssets + * Lookup145: staging_xcm::v2::multiasset::MultiAssets **/ - XcmV2MultiassetMultiAssets: 'Vec', + StagingXcmV2MultiassetMultiAssets: 'Vec', /** * Lookup147: orml_tokens::module::Call **/ @@ -1675,28 +1683,28 @@ export default { _enum: { transfer: { dest: 'MultiAddress', - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', amount: 'Compact', }, transfer_all: { dest: 'MultiAddress', - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', keepAlive: 'bool', }, transfer_keep_alive: { dest: 'MultiAddress', - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', amount: 'Compact', }, force_transfer: { source: 'MultiAddress', dest: 'MultiAddress', - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', amount: 'Compact', }, set_balance: { who: 'MultiAddress', - currencyId: 'PalletForeignAssetsAssetIds', + currencyId: 'PalletForeignAssetsAssetId', newFree: 'Compact', newReserved: 'Compact' } @@ -2201,8 +2209,8 @@ export default { **/ PalletXcmOrigin: { _enum: { - Xcm: 'XcmV3MultiLocation', - Response: 'XcmV3MultiLocation' + Xcm: 'StagingXcmV3MultiLocation', + Response: 'StagingXcmV3MultiLocation' } }, /** @@ -2330,51 +2338,51 @@ export default { PalletXcmCall: { _enum: { send: { - dest: 'XcmVersionedMultiLocation', - message: 'XcmVersionedXcm', + dest: 'StagingXcmVersionedMultiLocation', + message: 'StagingXcmVersionedXcm', }, teleport_assets: { - dest: 'XcmVersionedMultiLocation', - beneficiary: 'XcmVersionedMultiLocation', - assets: 'XcmVersionedMultiAssets', + dest: 'StagingXcmVersionedMultiLocation', + beneficiary: 'StagingXcmVersionedMultiLocation', + assets: 'StagingXcmVersionedMultiAssets', feeAssetItem: 'u32', }, reserve_transfer_assets: { - dest: 'XcmVersionedMultiLocation', - beneficiary: 'XcmVersionedMultiLocation', - assets: 'XcmVersionedMultiAssets', + dest: 'StagingXcmVersionedMultiLocation', + beneficiary: 'StagingXcmVersionedMultiLocation', + assets: 'StagingXcmVersionedMultiAssets', feeAssetItem: 'u32', }, execute: { - message: 'XcmVersionedXcm', + message: 'StagingXcmVersionedXcm', maxWeight: 'SpWeightsWeightV2Weight', }, force_xcm_version: { - location: 'XcmV3MultiLocation', - xcmVersion: 'u32', + location: 'StagingXcmV3MultiLocation', + version: 'u32', }, force_default_xcm_version: { maybeXcmVersion: 'Option', }, force_subscribe_version_notify: { - location: 'XcmVersionedMultiLocation', + location: 'StagingXcmVersionedMultiLocation', }, force_unsubscribe_version_notify: { - location: 'XcmVersionedMultiLocation', + location: 'StagingXcmVersionedMultiLocation', }, limited_reserve_transfer_assets: { - dest: 'XcmVersionedMultiLocation', - beneficiary: 'XcmVersionedMultiLocation', - assets: 'XcmVersionedMultiAssets', + dest: 'StagingXcmVersionedMultiLocation', + beneficiary: 'StagingXcmVersionedMultiLocation', + assets: 'StagingXcmVersionedMultiAssets', feeAssetItem: 'u32', - weightLimit: 'XcmV3WeightLimit', + weightLimit: 'StagingXcmV3WeightLimit', }, limited_teleport_assets: { - dest: 'XcmVersionedMultiLocation', - beneficiary: 'XcmVersionedMultiLocation', - assets: 'XcmVersionedMultiAssets', + dest: 'StagingXcmVersionedMultiLocation', + beneficiary: 'StagingXcmVersionedMultiLocation', + assets: 'StagingXcmVersionedMultiAssets', feeAssetItem: 'u32', - weightLimit: 'XcmV3WeightLimit', + weightLimit: 'StagingXcmV3WeightLimit', }, force_suspension: { suspended: 'bool' @@ -2382,46 +2390,46 @@ export default { } }, /** - * Lookup225: xcm::VersionedXcm + * Lookup225: staging_xcm::VersionedXcm **/ - XcmVersionedXcm: { + StagingXcmVersionedXcm: { _enum: { __Unused0: 'Null', __Unused1: 'Null', - V2: 'XcmV2Xcm', - V3: 'XcmV3Xcm' + V2: 'StagingXcmV2Xcm', + V3: 'StagingXcmV3Xcm' } }, /** - * Lookup226: xcm::v2::Xcm + * Lookup226: staging_xcm::v2::Xcm **/ - XcmV2Xcm: 'Vec', + StagingXcmV2Xcm: 'Vec', /** - * Lookup228: xcm::v2::Instruction + * Lookup228: staging_xcm::v2::Instruction **/ - XcmV2Instruction: { + StagingXcmV2Instruction: { _enum: { - WithdrawAsset: 'XcmV2MultiassetMultiAssets', - ReserveAssetDeposited: 'XcmV2MultiassetMultiAssets', - ReceiveTeleportedAsset: 'XcmV2MultiassetMultiAssets', + WithdrawAsset: 'StagingXcmV2MultiassetMultiAssets', + ReserveAssetDeposited: 'StagingXcmV2MultiassetMultiAssets', + ReceiveTeleportedAsset: 'StagingXcmV2MultiassetMultiAssets', QueryResponse: { queryId: 'Compact', - response: 'XcmV2Response', + response: 'StagingXcmV2Response', maxWeight: 'Compact', }, TransferAsset: { - assets: 'XcmV2MultiassetMultiAssets', - beneficiary: 'XcmV2MultiLocation', + assets: 'StagingXcmV2MultiassetMultiAssets', + beneficiary: 'StagingXcmV2MultiLocation', }, TransferReserveAsset: { - assets: 'XcmV2MultiassetMultiAssets', - dest: 'XcmV2MultiLocation', - xcm: 'XcmV2Xcm', + assets: 'StagingXcmV2MultiassetMultiAssets', + dest: 'StagingXcmV2MultiLocation', + xcm: 'StagingXcmV2Xcm', }, Transact: { - originType: 'XcmV2OriginKind', + originType: 'StagingXcmV2OriginKind', requireWeightAtMost: 'Compact', - call: 'XcmDoubleEncoded', + call: 'StagingXcmDoubleEncoded', }, HrmpNewChannelOpenRequest: { sender: 'Compact', @@ -2437,54 +2445,54 @@ export default { recipient: 'Compact', }, ClearOrigin: 'Null', - DescendOrigin: 'XcmV2MultilocationJunctions', + DescendOrigin: 'StagingXcmV2MultilocationJunctions', ReportError: { queryId: 'Compact', - dest: 'XcmV2MultiLocation', + dest: 'StagingXcmV2MultiLocation', maxResponseWeight: 'Compact', }, DepositAsset: { - assets: 'XcmV2MultiassetMultiAssetFilter', + assets: 'StagingXcmV2MultiassetMultiAssetFilter', maxAssets: 'Compact', - beneficiary: 'XcmV2MultiLocation', + beneficiary: 'StagingXcmV2MultiLocation', }, DepositReserveAsset: { - assets: 'XcmV2MultiassetMultiAssetFilter', + assets: 'StagingXcmV2MultiassetMultiAssetFilter', maxAssets: 'Compact', - dest: 'XcmV2MultiLocation', - xcm: 'XcmV2Xcm', + dest: 'StagingXcmV2MultiLocation', + xcm: 'StagingXcmV2Xcm', }, ExchangeAsset: { - give: 'XcmV2MultiassetMultiAssetFilter', - receive: 'XcmV2MultiassetMultiAssets', + give: 'StagingXcmV2MultiassetMultiAssetFilter', + receive: 'StagingXcmV2MultiassetMultiAssets', }, InitiateReserveWithdraw: { - assets: 'XcmV2MultiassetMultiAssetFilter', - reserve: 'XcmV2MultiLocation', - xcm: 'XcmV2Xcm', + assets: 'StagingXcmV2MultiassetMultiAssetFilter', + reserve: 'StagingXcmV2MultiLocation', + xcm: 'StagingXcmV2Xcm', }, InitiateTeleport: { - assets: 'XcmV2MultiassetMultiAssetFilter', - dest: 'XcmV2MultiLocation', - xcm: 'XcmV2Xcm', + assets: 'StagingXcmV2MultiassetMultiAssetFilter', + dest: 'StagingXcmV2MultiLocation', + xcm: 'StagingXcmV2Xcm', }, QueryHolding: { queryId: 'Compact', - dest: 'XcmV2MultiLocation', - assets: 'XcmV2MultiassetMultiAssetFilter', + dest: 'StagingXcmV2MultiLocation', + assets: 'StagingXcmV2MultiassetMultiAssetFilter', maxResponseWeight: 'Compact', }, BuyExecution: { - fees: 'XcmV2MultiAsset', - weightLimit: 'XcmV2WeightLimit', + fees: 'StagingXcmV2MultiAsset', + weightLimit: 'StagingXcmV2WeightLimit', }, RefundSurplus: 'Null', - SetErrorHandler: 'XcmV2Xcm', - SetAppendix: 'XcmV2Xcm', + SetErrorHandler: 'StagingXcmV2Xcm', + SetAppendix: 'StagingXcmV2Xcm', ClearError: 'Null', ClaimAsset: { - assets: 'XcmV2MultiassetMultiAssets', - ticket: 'XcmV2MultiLocation', + assets: 'StagingXcmV2MultiassetMultiAssets', + ticket: 'StagingXcmV2MultiLocation', }, Trap: 'Compact', SubscribeVersion: { @@ -2495,20 +2503,20 @@ export default { } }, /** - * Lookup229: xcm::v2::Response + * Lookup229: staging_xcm::v2::Response **/ - XcmV2Response: { + StagingXcmV2Response: { _enum: { Null: 'Null', - Assets: 'XcmV2MultiassetMultiAssets', - ExecutionResult: 'Option<(u32,XcmV2TraitsError)>', + Assets: 'StagingXcmV2MultiassetMultiAssets', + ExecutionResult: 'Option<(u32,StagingXcmV2TraitsError)>', Version: 'u32' } }, /** - * Lookup232: xcm::v2::traits::Error + * Lookup232: staging_xcm::v2::traits::Error **/ - XcmV2TraitsError: { + StagingXcmV2TraitsError: { _enum: { Overflow: 'Null', Unimplemented: 'Null', @@ -2539,84 +2547,84 @@ export default { } }, /** - * Lookup233: xcm::v2::OriginKind + * Lookup233: staging_xcm::v2::OriginKind **/ - XcmV2OriginKind: { + StagingXcmV2OriginKind: { _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm'] }, /** - * Lookup234: xcm::double_encoded::DoubleEncoded + * Lookup234: staging_xcm::double_encoded::DoubleEncoded **/ - XcmDoubleEncoded: { + StagingXcmDoubleEncoded: { encoded: 'Bytes' }, /** - * Lookup235: xcm::v2::multiasset::MultiAssetFilter + * Lookup235: staging_xcm::v2::multiasset::MultiAssetFilter **/ - XcmV2MultiassetMultiAssetFilter: { + StagingXcmV2MultiassetMultiAssetFilter: { _enum: { - Definite: 'XcmV2MultiassetMultiAssets', - Wild: 'XcmV2MultiassetWildMultiAsset' + Definite: 'StagingXcmV2MultiassetMultiAssets', + Wild: 'StagingXcmV2MultiassetWildMultiAsset' } }, /** - * Lookup236: xcm::v2::multiasset::WildMultiAsset + * Lookup236: staging_xcm::v2::multiasset::WildMultiAsset **/ - XcmV2MultiassetWildMultiAsset: { + StagingXcmV2MultiassetWildMultiAsset: { _enum: { All: 'Null', AllOf: { - id: 'XcmV2MultiassetAssetId', - fun: 'XcmV2MultiassetWildFungibility' + id: 'StagingXcmV2MultiassetAssetId', + fun: 'StagingXcmV2MultiassetWildFungibility' } } }, /** - * Lookup237: xcm::v2::multiasset::WildFungibility + * Lookup237: staging_xcm::v2::multiasset::WildFungibility **/ - XcmV2MultiassetWildFungibility: { + StagingXcmV2MultiassetWildFungibility: { _enum: ['Fungible', 'NonFungible'] }, /** - * Lookup238: xcm::v2::WeightLimit + * Lookup238: staging_xcm::v2::WeightLimit **/ - XcmV2WeightLimit: { + StagingXcmV2WeightLimit: { _enum: { Unlimited: 'Null', Limited: 'Compact' } }, /** - * Lookup239: xcm::v3::Xcm + * Lookup239: staging_xcm::v3::Xcm **/ - XcmV3Xcm: 'Vec', + StagingXcmV3Xcm: 'Vec', /** - * Lookup241: xcm::v3::Instruction + * Lookup241: staging_xcm::v3::Instruction **/ - XcmV3Instruction: { + StagingXcmV3Instruction: { _enum: { - WithdrawAsset: 'XcmV3MultiassetMultiAssets', - ReserveAssetDeposited: 'XcmV3MultiassetMultiAssets', - ReceiveTeleportedAsset: 'XcmV3MultiassetMultiAssets', + WithdrawAsset: 'StagingXcmV3MultiassetMultiAssets', + ReserveAssetDeposited: 'StagingXcmV3MultiassetMultiAssets', + ReceiveTeleportedAsset: 'StagingXcmV3MultiassetMultiAssets', QueryResponse: { queryId: 'Compact', - response: 'XcmV3Response', + response: 'StagingXcmV3Response', maxWeight: 'SpWeightsWeightV2Weight', - querier: 'Option', + querier: 'Option', }, TransferAsset: { - assets: 'XcmV3MultiassetMultiAssets', - beneficiary: 'XcmV3MultiLocation', + assets: 'StagingXcmV3MultiassetMultiAssets', + beneficiary: 'StagingXcmV3MultiLocation', }, TransferReserveAsset: { - assets: 'XcmV3MultiassetMultiAssets', - dest: 'XcmV3MultiLocation', - xcm: 'XcmV3Xcm', + assets: 'StagingXcmV3MultiassetMultiAssets', + dest: 'StagingXcmV3MultiLocation', + xcm: 'StagingXcmV3Xcm', }, Transact: { - originKind: 'XcmV2OriginKind', + originKind: 'StagingXcmV2OriginKind', requireWeightAtMost: 'SpWeightsWeightV2Weight', - call: 'XcmDoubleEncoded', + call: 'StagingXcmDoubleEncoded', }, HrmpNewChannelOpenRequest: { sender: 'Compact', @@ -2632,47 +2640,47 @@ export default { recipient: 'Compact', }, ClearOrigin: 'Null', - DescendOrigin: 'XcmV3Junctions', - ReportError: 'XcmV3QueryResponseInfo', + DescendOrigin: 'StagingXcmV3Junctions', + ReportError: 'StagingXcmV3QueryResponseInfo', DepositAsset: { - assets: 'XcmV3MultiassetMultiAssetFilter', - beneficiary: 'XcmV3MultiLocation', + assets: 'StagingXcmV3MultiassetMultiAssetFilter', + beneficiary: 'StagingXcmV3MultiLocation', }, DepositReserveAsset: { - assets: 'XcmV3MultiassetMultiAssetFilter', - dest: 'XcmV3MultiLocation', - xcm: 'XcmV3Xcm', + assets: 'StagingXcmV3MultiassetMultiAssetFilter', + dest: 'StagingXcmV3MultiLocation', + xcm: 'StagingXcmV3Xcm', }, ExchangeAsset: { - give: 'XcmV3MultiassetMultiAssetFilter', - want: 'XcmV3MultiassetMultiAssets', + give: 'StagingXcmV3MultiassetMultiAssetFilter', + want: 'StagingXcmV3MultiassetMultiAssets', maximal: 'bool', }, InitiateReserveWithdraw: { - assets: 'XcmV3MultiassetMultiAssetFilter', - reserve: 'XcmV3MultiLocation', - xcm: 'XcmV3Xcm', + assets: 'StagingXcmV3MultiassetMultiAssetFilter', + reserve: 'StagingXcmV3MultiLocation', + xcm: 'StagingXcmV3Xcm', }, InitiateTeleport: { - assets: 'XcmV3MultiassetMultiAssetFilter', - dest: 'XcmV3MultiLocation', - xcm: 'XcmV3Xcm', + assets: 'StagingXcmV3MultiassetMultiAssetFilter', + dest: 'StagingXcmV3MultiLocation', + xcm: 'StagingXcmV3Xcm', }, ReportHolding: { - responseInfo: 'XcmV3QueryResponseInfo', - assets: 'XcmV3MultiassetMultiAssetFilter', + responseInfo: 'StagingXcmV3QueryResponseInfo', + assets: 'StagingXcmV3MultiassetMultiAssetFilter', }, BuyExecution: { - fees: 'XcmV3MultiAsset', - weightLimit: 'XcmV3WeightLimit', + fees: 'StagingXcmV3MultiAsset', + weightLimit: 'StagingXcmV3WeightLimit', }, RefundSurplus: 'Null', - SetErrorHandler: 'XcmV3Xcm', - SetAppendix: 'XcmV3Xcm', + SetErrorHandler: 'StagingXcmV3Xcm', + SetAppendix: 'StagingXcmV3Xcm', ClearError: 'Null', ClaimAsset: { - assets: 'XcmV3MultiassetMultiAssets', - ticket: 'XcmV3MultiLocation', + assets: 'StagingXcmV3MultiassetMultiAssets', + ticket: 'StagingXcmV3MultiLocation', }, Trap: 'Compact', SubscribeVersion: { @@ -2680,14 +2688,14 @@ export default { maxResponseWeight: 'SpWeightsWeightV2Weight', }, UnsubscribeVersion: 'Null', - BurnAsset: 'XcmV3MultiassetMultiAssets', - ExpectAsset: 'XcmV3MultiassetMultiAssets', - ExpectOrigin: 'Option', - ExpectError: 'Option<(u32,XcmV3TraitsError)>', - ExpectTransactStatus: 'XcmV3MaybeErrorCode', + BurnAsset: 'StagingXcmV3MultiassetMultiAssets', + ExpectAsset: 'StagingXcmV3MultiassetMultiAssets', + ExpectOrigin: 'Option', + ExpectError: 'Option<(u32,StagingXcmV3TraitsError)>', + ExpectTransactStatus: 'StagingXcmV3MaybeErrorCode', QueryPallet: { moduleName: 'Bytes', - responseInfo: 'XcmV3QueryResponseInfo', + responseInfo: 'StagingXcmV3QueryResponseInfo', }, ExpectPallet: { index: 'Compact', @@ -2696,59 +2704,59 @@ export default { crateMajor: 'Compact', minCrateMinor: 'Compact', }, - ReportTransactStatus: 'XcmV3QueryResponseInfo', + ReportTransactStatus: 'StagingXcmV3QueryResponseInfo', ClearTransactStatus: 'Null', - UniversalOrigin: 'XcmV3Junction', + UniversalOrigin: 'StagingXcmV3Junction', ExportMessage: { - network: 'XcmV3JunctionNetworkId', - destination: 'XcmV3Junctions', - xcm: 'XcmV3Xcm', + network: 'StagingXcmV3JunctionNetworkId', + destination: 'StagingXcmV3Junctions', + xcm: 'StagingXcmV3Xcm', }, LockAsset: { - asset: 'XcmV3MultiAsset', - unlocker: 'XcmV3MultiLocation', + asset: 'StagingXcmV3MultiAsset', + unlocker: 'StagingXcmV3MultiLocation', }, UnlockAsset: { - asset: 'XcmV3MultiAsset', - target: 'XcmV3MultiLocation', + asset: 'StagingXcmV3MultiAsset', + target: 'StagingXcmV3MultiLocation', }, NoteUnlockable: { - asset: 'XcmV3MultiAsset', - owner: 'XcmV3MultiLocation', + asset: 'StagingXcmV3MultiAsset', + owner: 'StagingXcmV3MultiLocation', }, RequestUnlock: { - asset: 'XcmV3MultiAsset', - locker: 'XcmV3MultiLocation', + asset: 'StagingXcmV3MultiAsset', + locker: 'StagingXcmV3MultiLocation', }, SetFeesMode: { jitWithdraw: 'bool', }, SetTopic: '[u8;32]', ClearTopic: 'Null', - AliasOrigin: 'XcmV3MultiLocation', + AliasOrigin: 'StagingXcmV3MultiLocation', UnpaidExecution: { - weightLimit: 'XcmV3WeightLimit', - checkOrigin: 'Option' + weightLimit: 'StagingXcmV3WeightLimit', + checkOrigin: 'Option' } } }, /** - * Lookup242: xcm::v3::Response + * Lookup242: staging_xcm::v3::Response **/ - XcmV3Response: { + StagingXcmV3Response: { _enum: { Null: 'Null', - Assets: 'XcmV3MultiassetMultiAssets', - ExecutionResult: 'Option<(u32,XcmV3TraitsError)>', + Assets: 'StagingXcmV3MultiassetMultiAssets', + ExecutionResult: 'Option<(u32,StagingXcmV3TraitsError)>', Version: 'u32', - PalletsInfo: 'Vec', - DispatchResult: 'XcmV3MaybeErrorCode' + PalletsInfo: 'Vec', + DispatchResult: 'StagingXcmV3MaybeErrorCode' } }, /** - * Lookup245: xcm::v3::traits::Error + * Lookup245: staging_xcm::v3::traits::Error **/ - XcmV3TraitsError: { + StagingXcmV3TraitsError: { _enum: { Overflow: 'Null', Unimplemented: 'Null', @@ -2793,9 +2801,9 @@ export default { } }, /** - * Lookup247: xcm::v3::PalletInfo + * Lookup247: staging_xcm::v3::PalletInfo **/ - XcmV3PalletInfo: { + StagingXcmV3PalletInfo: { index: 'Compact', name: 'Bytes', moduleName: 'Bytes', @@ -2804,9 +2812,9 @@ export default { patch: 'Compact' }, /** - * Lookup250: xcm::v3::MaybeErrorCode + * Lookup250: staging_xcm::v3::MaybeErrorCode **/ - XcmV3MaybeErrorCode: { + StagingXcmV3MaybeErrorCode: { _enum: { Success: 'Null', Error: 'Bytes', @@ -2814,44 +2822,44 @@ export default { } }, /** - * Lookup253: xcm::v3::QueryResponseInfo + * Lookup253: staging_xcm::v3::QueryResponseInfo **/ - XcmV3QueryResponseInfo: { - destination: 'XcmV3MultiLocation', + StagingXcmV3QueryResponseInfo: { + destination: 'StagingXcmV3MultiLocation', queryId: 'Compact', maxWeight: 'SpWeightsWeightV2Weight' }, /** - * Lookup254: xcm::v3::multiasset::MultiAssetFilter + * Lookup254: staging_xcm::v3::multiasset::MultiAssetFilter **/ - XcmV3MultiassetMultiAssetFilter: { + StagingXcmV3MultiassetMultiAssetFilter: { _enum: { - Definite: 'XcmV3MultiassetMultiAssets', - Wild: 'XcmV3MultiassetWildMultiAsset' + Definite: 'StagingXcmV3MultiassetMultiAssets', + Wild: 'StagingXcmV3MultiassetWildMultiAsset' } }, /** - * Lookup255: xcm::v3::multiasset::WildMultiAsset + * Lookup255: staging_xcm::v3::multiasset::WildMultiAsset **/ - XcmV3MultiassetWildMultiAsset: { + StagingXcmV3MultiassetWildMultiAsset: { _enum: { All: 'Null', AllOf: { - id: 'XcmV3MultiassetAssetId', - fun: 'XcmV3MultiassetWildFungibility', + id: 'StagingXcmV3MultiassetAssetId', + fun: 'StagingXcmV3MultiassetWildFungibility', }, AllCounted: 'Compact', AllOfCounted: { - id: 'XcmV3MultiassetAssetId', - fun: 'XcmV3MultiassetWildFungibility', + id: 'StagingXcmV3MultiassetAssetId', + fun: 'StagingXcmV3MultiassetWildFungibility', count: 'Compact' } } }, /** - * Lookup256: xcm::v3::multiasset::WildFungibility + * Lookup256: staging_xcm::v3::multiasset::WildFungibility **/ - XcmV3MultiassetWildFungibility: { + StagingXcmV3MultiassetWildFungibility: { _enum: ['Fungible', 'NonFungible'] }, /** @@ -3280,12 +3288,12 @@ export default { _enum: { register_foreign_asset: { owner: 'AccountId32', - location: 'XcmVersionedMultiLocation', + location: 'StagingXcmVersionedMultiLocation', metadata: 'PalletForeignAssetsModuleAssetMetadata', }, update_foreign_asset: { foreignAssetId: 'u32', - location: 'XcmVersionedMultiLocation', + location: 'StagingXcmVersionedMultiLocation', metadata: 'PalletForeignAssetsModuleAssetMetadata' } } @@ -3478,20 +3486,38 @@ export default { * Lookup361: pallet_maintenance::pallet::Call **/ PalletMaintenanceCall: { + _enum: ['enable', 'disable'] + }, + /** + * Lookup362: pallet_utility::pallet::Call + **/ + PalletUtilityCall: { _enum: { - enable: 'Null', - disable: 'Null', - execute_preimage: { - _alias: { - hash_: 'hash', - }, - hash_: 'H256', - weightBound: 'SpWeightsWeightV2Weight' + batch: { + calls: 'Vec', + }, + as_derivative: { + index: 'u16', + call: 'Call', + }, + batch_all: { + calls: 'Vec', + }, + dispatch_as: { + asOrigin: 'OpalRuntimeOriginCaller', + call: 'Call', + }, + force_batch: { + calls: 'Vec', + }, + with_weight: { + call: 'Call', + weight: 'SpWeightsWeightV2Weight' } } }, /** - * Lookup362: pallet_test_utils::pallet::Call + * Lookup364: pallet_test_utils::pallet::Call **/ PalletTestUtilsCall: { _enum: { @@ -3510,7 +3536,7 @@ export default { } }, /** - * Lookup365: pallet_scheduler::pallet::Event + * Lookup366: pallet_scheduler::pallet::Event **/ PalletSchedulerEvent: { _enum: { @@ -3542,27 +3568,29 @@ export default { } }, /** - * Lookup366: cumulus_pallet_xcmp_queue::pallet::Event + * Lookup367: cumulus_pallet_xcmp_queue::pallet::Event **/ CumulusPalletXcmpQueueEvent: { _enum: { Success: { - messageHash: 'Option<[u8;32]>', + messageHash: '[u8;32]', + messageId: '[u8;32]', weight: 'SpWeightsWeightV2Weight', }, Fail: { - messageHash: 'Option<[u8;32]>', - error: 'XcmV3TraitsError', + messageHash: '[u8;32]', + messageId: '[u8;32]', + error: 'StagingXcmV3TraitsError', weight: 'SpWeightsWeightV2Weight', }, BadVersion: { - messageHash: 'Option<[u8;32]>', + messageHash: '[u8;32]', }, BadFormat: { - messageHash: 'Option<[u8;32]>', + messageHash: '[u8;32]', }, XcmpMessageSent: { - messageHash: 'Option<[u8;32]>', + messageHash: '[u8;32]', }, OverweightEnqueued: { sender: 'u32', @@ -3577,76 +3605,171 @@ export default { } }, /** - * Lookup367: pallet_xcm::pallet::Event + * Lookup368: pallet_xcm::pallet::Event **/ PalletXcmEvent: { _enum: { - Attempted: 'XcmV3TraitsOutcome', - Sent: '(XcmV3MultiLocation,XcmV3MultiLocation,XcmV3Xcm)', - UnexpectedResponse: '(XcmV3MultiLocation,u64)', - ResponseReady: '(u64,XcmV3Response)', - Notified: '(u64,u8,u8)', - NotifyOverweight: '(u64,u8,u8,SpWeightsWeightV2Weight,SpWeightsWeightV2Weight)', - NotifyDispatchError: '(u64,u8,u8)', - NotifyDecodeFailed: '(u64,u8,u8)', - InvalidResponder: '(XcmV3MultiLocation,u64,Option)', - InvalidResponderVersion: '(XcmV3MultiLocation,u64)', - ResponseTaken: 'u64', - AssetsTrapped: '(H256,XcmV3MultiLocation,XcmVersionedMultiAssets)', - VersionChangeNotified: '(XcmV3MultiLocation,u32,XcmV3MultiassetMultiAssets)', - SupportedVersionChanged: '(XcmV3MultiLocation,u32)', - NotifyTargetSendFail: '(XcmV3MultiLocation,u64,XcmV3TraitsError)', - NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)', - InvalidQuerierVersion: '(XcmV3MultiLocation,u64)', - InvalidQuerier: '(XcmV3MultiLocation,u64,XcmV3MultiLocation,Option)', - VersionNotifyStarted: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)', - VersionNotifyRequested: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)', - VersionNotifyUnrequested: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)', - FeesPaid: '(XcmV3MultiLocation,XcmV3MultiassetMultiAssets)', - AssetsClaimed: '(H256,XcmV3MultiLocation,XcmVersionedMultiAssets)' - } - }, - /** - * Lookup368: xcm::v3::traits::Outcome - **/ - XcmV3TraitsOutcome: { + Attempted: { + outcome: 'StagingXcmV3TraitsOutcome', + }, + Sent: { + origin: 'StagingXcmV3MultiLocation', + destination: 'StagingXcmV3MultiLocation', + message: 'StagingXcmV3Xcm', + messageId: '[u8;32]', + }, + UnexpectedResponse: { + origin: 'StagingXcmV3MultiLocation', + queryId: 'u64', + }, + ResponseReady: { + queryId: 'u64', + response: 'StagingXcmV3Response', + }, + Notified: { + queryId: 'u64', + palletIndex: 'u8', + callIndex: 'u8', + }, + NotifyOverweight: { + queryId: 'u64', + palletIndex: 'u8', + callIndex: 'u8', + actualWeight: 'SpWeightsWeightV2Weight', + maxBudgetedWeight: 'SpWeightsWeightV2Weight', + }, + NotifyDispatchError: { + queryId: 'u64', + palletIndex: 'u8', + callIndex: 'u8', + }, + NotifyDecodeFailed: { + queryId: 'u64', + palletIndex: 'u8', + callIndex: 'u8', + }, + InvalidResponder: { + origin: 'StagingXcmV3MultiLocation', + queryId: 'u64', + expectedLocation: 'Option', + }, + InvalidResponderVersion: { + origin: 'StagingXcmV3MultiLocation', + queryId: 'u64', + }, + ResponseTaken: { + queryId: 'u64', + }, + AssetsTrapped: { + _alias: { + hash_: 'hash', + }, + hash_: 'H256', + origin: 'StagingXcmV3MultiLocation', + assets: 'StagingXcmVersionedMultiAssets', + }, + VersionChangeNotified: { + destination: 'StagingXcmV3MultiLocation', + result: 'u32', + cost: 'StagingXcmV3MultiassetMultiAssets', + messageId: '[u8;32]', + }, + SupportedVersionChanged: { + location: 'StagingXcmV3MultiLocation', + version: 'u32', + }, + NotifyTargetSendFail: { + location: 'StagingXcmV3MultiLocation', + queryId: 'u64', + error: 'StagingXcmV3TraitsError', + }, + NotifyTargetMigrationFail: { + location: 'StagingXcmVersionedMultiLocation', + queryId: 'u64', + }, + InvalidQuerierVersion: { + origin: 'StagingXcmV3MultiLocation', + queryId: 'u64', + }, + InvalidQuerier: { + origin: 'StagingXcmV3MultiLocation', + queryId: 'u64', + expectedQuerier: 'StagingXcmV3MultiLocation', + maybeActualQuerier: 'Option', + }, + VersionNotifyStarted: { + destination: 'StagingXcmV3MultiLocation', + cost: 'StagingXcmV3MultiassetMultiAssets', + messageId: '[u8;32]', + }, + VersionNotifyRequested: { + destination: 'StagingXcmV3MultiLocation', + cost: 'StagingXcmV3MultiassetMultiAssets', + messageId: '[u8;32]', + }, + VersionNotifyUnrequested: { + destination: 'StagingXcmV3MultiLocation', + cost: 'StagingXcmV3MultiassetMultiAssets', + messageId: '[u8;32]', + }, + FeesPaid: { + paying: 'StagingXcmV3MultiLocation', + fees: 'StagingXcmV3MultiassetMultiAssets', + }, + AssetsClaimed: { + _alias: { + hash_: 'hash', + }, + hash_: 'H256', + origin: 'StagingXcmV3MultiLocation', + assets: 'StagingXcmVersionedMultiAssets' + } + } + }, + /** + * Lookup369: staging_xcm::v3::traits::Outcome + **/ + StagingXcmV3TraitsOutcome: { _enum: { Complete: 'SpWeightsWeightV2Weight', - Incomplete: '(SpWeightsWeightV2Weight,XcmV3TraitsError)', - Error: 'XcmV3TraitsError' + Incomplete: '(SpWeightsWeightV2Weight,StagingXcmV3TraitsError)', + Error: 'StagingXcmV3TraitsError' } }, /** - * Lookup369: cumulus_pallet_xcm::pallet::Event + * Lookup370: cumulus_pallet_xcm::pallet::Event **/ CumulusPalletXcmEvent: { _enum: { InvalidFormat: '[u8;32]', UnsupportedVersion: '[u8;32]', - ExecutedDownward: '([u8;32],XcmV3TraitsOutcome)' + ExecutedDownward: '([u8;32],StagingXcmV3TraitsOutcome)' } }, /** - * Lookup370: cumulus_pallet_dmp_queue::pallet::Event + * Lookup371: cumulus_pallet_dmp_queue::pallet::Event **/ CumulusPalletDmpQueueEvent: { _enum: { InvalidFormat: { - messageId: '[u8;32]', + messageHash: '[u8;32]', }, UnsupportedVersion: { - messageId: '[u8;32]', + messageHash: '[u8;32]', }, ExecutedDownward: { + messageHash: '[u8;32]', messageId: '[u8;32]', - outcome: 'XcmV3TraitsOutcome', + outcome: 'StagingXcmV3TraitsOutcome', }, WeightExhausted: { + messageHash: '[u8;32]', messageId: '[u8;32]', remainingWeight: 'SpWeightsWeightV2Weight', requiredWeight: 'SpWeightsWeightV2Weight', }, OverweightEnqueued: { + messageHash: '[u8;32]', messageId: '[u8;32]', overweightIndex: 'u64', requiredWeight: 'SpWeightsWeightV2Weight', @@ -3656,12 +3779,12 @@ export default { weightUsed: 'SpWeightsWeightV2Weight', }, MaxMessagesExhausted: { - messageId: '[u8;32]' + messageHash: '[u8;32]' } } }, /** - * Lookup371: pallet_configuration::pallet::Event + * Lookup372: pallet_configuration::pallet::Event **/ PalletConfigurationEvent: { _enum: { @@ -3677,7 +3800,7 @@ export default { } }, /** - * Lookup372: pallet_common::pallet::Event + * Lookup373: pallet_common::pallet::Event **/ PalletCommonEvent: { _enum: { @@ -3706,7 +3829,7 @@ export default { } }, /** - * Lookup373: pallet_structure::pallet::Event + * Lookup374: pallet_structure::pallet::Event **/ PalletStructureEvent: { _enum: { @@ -3714,7 +3837,7 @@ export default { } }, /** - * Lookup374: pallet_app_promotion::pallet::Event + * Lookup375: pallet_app_promotion::pallet::Event **/ PalletAppPromotionEvent: { _enum: { @@ -3725,32 +3848,32 @@ export default { } }, /** - * Lookup375: pallet_foreign_assets::module::Event + * Lookup376: pallet_foreign_assets::module::Event **/ PalletForeignAssetsModuleEvent: { _enum: { ForeignAssetRegistered: { assetId: 'u32', - assetAddress: 'XcmV3MultiLocation', + assetAddress: 'StagingXcmV3MultiLocation', metadata: 'PalletForeignAssetsModuleAssetMetadata', }, ForeignAssetUpdated: { assetId: 'u32', - assetAddress: 'XcmV3MultiLocation', + assetAddress: 'StagingXcmV3MultiLocation', metadata: 'PalletForeignAssetsModuleAssetMetadata', }, AssetRegistered: { - assetId: 'PalletForeignAssetsAssetIds', + assetId: 'PalletForeignAssetsAssetId', metadata: 'PalletForeignAssetsModuleAssetMetadata', }, AssetUpdated: { - assetId: 'PalletForeignAssetsAssetIds', + assetId: 'PalletForeignAssetsAssetId', metadata: 'PalletForeignAssetsModuleAssetMetadata' } } }, /** - * Lookup376: pallet_evm::pallet::Event + * Lookup377: pallet_evm::pallet::Event **/ PalletEvmEvent: { _enum: { @@ -3772,7 +3895,7 @@ export default { } }, /** - * Lookup377: pallet_ethereum::pallet::Event + * Lookup378: pallet_ethereum::pallet::Event **/ PalletEthereumEvent: { _enum: { @@ -3786,7 +3909,7 @@ export default { } }, /** - * Lookup378: evm_core::error::ExitReason + * Lookup379: evm_core::error::ExitReason **/ EvmCoreErrorExitReason: { _enum: { @@ -3797,13 +3920,13 @@ export default { } }, /** - * Lookup379: evm_core::error::ExitSucceed + * Lookup380: evm_core::error::ExitSucceed **/ EvmCoreErrorExitSucceed: { _enum: ['Stopped', 'Returned', 'Suicided'] }, /** - * Lookup380: evm_core::error::ExitError + * Lookup381: evm_core::error::ExitError **/ EvmCoreErrorExitError: { _enum: { @@ -3826,13 +3949,13 @@ export default { } }, /** - * Lookup384: evm_core::error::ExitRevert + * Lookup385: evm_core::error::ExitRevert **/ EvmCoreErrorExitRevert: { _enum: ['Reverted'] }, /** - * Lookup385: evm_core::error::ExitFatal + * Lookup386: evm_core::error::ExitFatal **/ EvmCoreErrorExitFatal: { _enum: { @@ -3843,7 +3966,7 @@ export default { } }, /** - * Lookup386: pallet_evm_contract_helpers::pallet::Event + * Lookup387: pallet_evm_contract_helpers::pallet::Event **/ PalletEvmContractHelpersEvent: { _enum: { @@ -3853,25 +3976,45 @@ export default { } }, /** - * Lookup387: pallet_evm_migration::pallet::Event + * Lookup388: pallet_evm_migration::pallet::Event **/ PalletEvmMigrationEvent: { _enum: ['TestEvent'] }, /** - * Lookup388: pallet_maintenance::pallet::Event + * Lookup389: pallet_maintenance::pallet::Event **/ PalletMaintenanceEvent: { _enum: ['MaintenanceEnabled', 'MaintenanceDisabled'] }, /** - * Lookup389: pallet_test_utils::pallet::Event + * Lookup390: pallet_utility::pallet::Event + **/ + PalletUtilityEvent: { + _enum: { + BatchInterrupted: { + index: 'u32', + error: 'SpRuntimeDispatchError', + }, + BatchCompleted: 'Null', + BatchCompletedWithErrors: 'Null', + ItemCompleted: 'Null', + ItemFailed: { + error: 'SpRuntimeDispatchError', + }, + DispatchedAs: { + result: 'Result' + } + } + }, + /** + * Lookup391: pallet_test_utils::pallet::Event **/ PalletTestUtilsEvent: { _enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted'] }, /** - * Lookup390: frame_system::Phase + * Lookup392: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -3881,14 +4024,14 @@ export default { } }, /** - * Lookup392: frame_system::LastRuntimeUpgradeInfo + * Lookup394: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text' }, /** - * Lookup393: frame_system::limits::BlockWeights + * Lookup395: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'SpWeightsWeightV2Weight', @@ -3896,7 +4039,7 @@ export default { perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass' }, /** - * Lookup394: frame_support::dispatch::PerDispatchClass + * Lookup396: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -3904,7 +4047,7 @@ export default { mandatory: 'FrameSystemLimitsWeightsPerClass' }, /** - * Lookup395: frame_system::limits::WeightsPerClass + * Lookup397: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'SpWeightsWeightV2Weight', @@ -3913,13 +4056,13 @@ export default { reserved: 'Option' }, /** - * Lookup397: frame_system::limits::BlockLength + * Lookup399: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportDispatchPerDispatchClassU32' }, /** - * Lookup398: frame_support::dispatch::PerDispatchClass + * Lookup400: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassU32: { normal: 'u32', @@ -3927,14 +4070,14 @@ export default { mandatory: 'u32' }, /** - * Lookup399: sp_weights::RuntimeDbWeight + * Lookup401: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: 'u64', write: 'u64' }, /** - * Lookup400: sp_version::RuntimeVersion + * Lookup402: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -3947,37 +4090,74 @@ export default { stateVersion: 'u8' }, /** - * Lookup404: frame_system::pallet::Error + * Lookup406: frame_system::pallet::Error **/ FrameSystemError: { _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered'] }, /** - * Lookup406: polkadot_primitives::v4::UpgradeRestriction + * Lookup408: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + **/ + CumulusPalletParachainSystemUnincludedSegmentAncestor: { + usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth', + paraHeadHash: 'Option', + consumedGoAheadSignal: 'Option' + }, + /** + * Lookup409: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + **/ + CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { + umpMsgCount: 'u32', + umpTotalBytes: 'u32', + hrmpOutgoing: 'BTreeMap' + }, + /** + * Lookup411: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + **/ + CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { + msgCount: 'u32', + totalBytes: 'u32' + }, + /** + * Lookup415: polkadot_primitives::v5::UpgradeGoAhead + **/ + PolkadotPrimitivesV5UpgradeGoAhead: { + _enum: ['Abort', 'GoAhead'] + }, + /** + * Lookup416: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + **/ + CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { + usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth', + hrmpWatermark: 'Option', + consumedGoAheadSignal: 'Option' + }, + /** + * Lookup418: polkadot_primitives::v5::UpgradeRestriction **/ - PolkadotPrimitivesV4UpgradeRestriction: { + PolkadotPrimitivesV5UpgradeRestriction: { _enum: ['Present'] }, /** - * Lookup407: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + * Lookup419: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: 'H256', - relayDispatchQueueSize: 'CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize', - ingressChannels: 'Vec<(u32,PolkadotPrimitivesV4AbridgedHrmpChannel)>', - egressChannels: 'Vec<(u32,PolkadotPrimitivesV4AbridgedHrmpChannel)>' + relayDispatchQueueRemainingCapacity: 'CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity', + ingressChannels: 'Vec<(u32,PolkadotPrimitivesV5AbridgedHrmpChannel)>', + egressChannels: 'Vec<(u32,PolkadotPrimitivesV5AbridgedHrmpChannel)>' }, /** - * Lookup408: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispachQueueSize + * Lookup420: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity **/ - CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize: { + CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: 'u32', remainingSize: 'u32' }, /** - * Lookup411: polkadot_primitives::v4::AbridgedHrmpChannel + * Lookup423: polkadot_primitives::v5::AbridgedHrmpChannel **/ - PolkadotPrimitivesV4AbridgedHrmpChannel: { + PolkadotPrimitivesV5AbridgedHrmpChannel: { maxCapacity: 'u32', maxTotalSize: 'u32', maxMessageSize: 'u32', @@ -3986,9 +4166,9 @@ export default { mqcHead: 'Option' }, /** - * Lookup412: polkadot_primitives::v4::AbridgedHostConfiguration + * Lookup424: polkadot_primitives::v5::AbridgedHostConfiguration **/ - PolkadotPrimitivesV4AbridgedHostConfiguration: { + PolkadotPrimitivesV5AbridgedHostConfiguration: { maxCodeSize: 'u32', maxHeadDataSize: 'u32', maxUpwardQueueCount: 'u32', @@ -3997,46 +4177,54 @@ export default { maxUpwardMessageNumPerCandidate: 'u32', hrmpMaxMessageNumPerCandidate: 'u32', validationUpgradeCooldown: 'u32', - validationUpgradeDelay: 'u32' + validationUpgradeDelay: 'u32', + asyncBackingParams: 'PolkadotPrimitivesVstagingAsyncBackingParams' }, /** - * Lookup418: polkadot_core_primitives::OutboundHrmpMessage + * Lookup425: polkadot_primitives::vstaging::AsyncBackingParams + **/ + PolkadotPrimitivesVstagingAsyncBackingParams: { + maxCandidateDepth: 'u32', + allowedAncestryLen: 'u32' + }, + /** + * Lookup431: polkadot_core_primitives::OutboundHrmpMessage **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: 'u32', data: 'Bytes' }, /** - * Lookup419: cumulus_pallet_parachain_system::CodeUpgradeAuthorization + * Lookup432: cumulus_pallet_parachain_system::CodeUpgradeAuthorization **/ CumulusPalletParachainSystemCodeUpgradeAuthorization: { codeHash: 'H256', checkVersion: 'bool' }, /** - * Lookup420: cumulus_pallet_parachain_system::pallet::Error + * Lookup433: cumulus_pallet_parachain_system::pallet::Error **/ CumulusPalletParachainSystemError: { _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized'] }, /** - * Lookup422: pallet_collator_selection::pallet::Error + * Lookup435: pallet_collator_selection::pallet::Error **/ PalletCollatorSelectionError: { _enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered'] }, /** - * Lookup426: sp_core::crypto::KeyTypeId + * Lookup439: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup427: pallet_session::pallet::Error + * Lookup440: pallet_session::pallet::Error **/ PalletSessionError: { _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'] }, /** - * Lookup432: pallet_balances::types::BalanceLock + * Lookup446: pallet_balances::types::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -4044,39 +4232,76 @@ export default { reasons: 'PalletBalancesReasons' }, /** - * Lookup433: pallet_balances::types::Reasons + * Lookup447: pallet_balances::types::Reasons **/ PalletBalancesReasons: { _enum: ['Fee', 'Misc', 'All'] }, /** - * Lookup436: pallet_balances::types::ReserveData + * Lookup450: pallet_balances::types::ReserveData **/ PalletBalancesReserveData: { id: '[u8;16]', amount: 'u128' }, /** - * Lookup439: pallet_balances::types::IdAmount + * Lookup454: opal_runtime::RuntimeHoldReason + **/ + OpalRuntimeRuntimeHoldReason: { + _enum: { + __Unused0: 'Null', + __Unused1: 'Null', + __Unused2: 'Null', + __Unused3: 'Null', + __Unused4: 'Null', + __Unused5: 'Null', + __Unused6: 'Null', + __Unused7: 'Null', + __Unused8: 'Null', + __Unused9: 'Null', + __Unused10: 'Null', + __Unused11: 'Null', + __Unused12: 'Null', + __Unused13: 'Null', + __Unused14: 'Null', + __Unused15: 'Null', + __Unused16: 'Null', + __Unused17: 'Null', + __Unused18: 'Null', + __Unused19: 'Null', + __Unused20: 'Null', + __Unused21: 'Null', + __Unused22: 'Null', + CollatorSelection: 'PalletCollatorSelectionHoldReason' + } + }, + /** + * Lookup455: pallet_collator_selection::pallet::HoldReason + **/ + PalletCollatorSelectionHoldReason: { + _enum: ['LicenseBond'] + }, + /** + * Lookup458: pallet_balances::types::IdAmount **/ PalletBalancesIdAmount: { id: '[u8;16]', amount: 'u128' }, /** - * Lookup442: pallet_balances::pallet::Error + * Lookup460: pallet_balances::pallet::Error **/ PalletBalancesError: { _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes'] }, /** - * Lookup444: pallet_transaction_payment::Releases + * Lookup462: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'] }, /** - * Lookup445: pallet_treasury::Proposal + * Lookup463: pallet_treasury::Proposal **/ PalletTreasuryProposal: { proposer: 'AccountId32', @@ -4085,42 +4310,42 @@ export default { bond: 'u128' }, /** - * Lookup448: frame_support::PalletId + * Lookup466: frame_support::PalletId **/ FrameSupportPalletId: '[u8;8]', /** - * Lookup449: pallet_treasury::pallet::Error + * Lookup467: pallet_treasury::pallet::Error **/ PalletTreasuryError: { _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved'] }, /** - * Lookup450: pallet_sudo::pallet::Error + * Lookup468: pallet_sudo::pallet::Error **/ PalletSudoError: { _enum: ['RequireSudo'] }, /** - * Lookup452: orml_vesting::module::Error + * Lookup470: orml_vesting::module::Error **/ OrmlVestingModuleError: { _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'] }, /** - * Lookup453: orml_xtokens::module::Error + * Lookup471: orml_xtokens::module::Error **/ OrmlXtokensModuleError: { _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined'] }, /** - * Lookup456: orml_tokens::BalanceLock + * Lookup474: orml_tokens::BalanceLock **/ OrmlTokensBalanceLock: { id: '[u8;8]', amount: 'u128' }, /** - * Lookup458: orml_tokens::AccountData + * Lookup476: orml_tokens::AccountData **/ OrmlTokensAccountData: { free: 'u128', @@ -4128,20 +4353,20 @@ export default { frozen: 'u128' }, /** - * Lookup460: orml_tokens::ReserveData + * Lookup478: orml_tokens::ReserveData **/ OrmlTokensReserveData: { id: 'Null', amount: 'u128' }, /** - * Lookup462: orml_tokens::module::Error + * Lookup480: orml_tokens::module::Error **/ OrmlTokensModuleError: { _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves'] }, /** - * Lookup467: pallet_identity::types::RegistrarInfo + * Lookup485: pallet_identity::types::RegistrarInfo **/ PalletIdentityRegistrarInfo: { account: 'AccountId32', @@ -4149,13 +4374,13 @@ export default { fields: 'PalletIdentityBitFlags' }, /** - * Lookup469: pallet_identity::pallet::Error + * Lookup487: pallet_identity::pallet::Error **/ PalletIdentityError: { _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed'] }, /** - * Lookup470: pallet_preimage::RequestStatus + * Lookup488: pallet_preimage::RequestStatus **/ PalletPreimageRequestStatus: { _enum: { @@ -4171,13 +4396,13 @@ export default { } }, /** - * Lookup475: pallet_preimage::pallet::Error + * Lookup493: pallet_preimage::pallet::Error **/ PalletPreimageError: { _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested'] }, /** - * Lookup481: pallet_democracy::types::ReferendumInfo, Balance> + * Lookup499: pallet_democracy::types::ReferendumInfo, Balance> **/ PalletDemocracyReferendumInfo: { _enum: { @@ -4189,7 +4414,7 @@ export default { } }, /** - * Lookup482: pallet_democracy::types::ReferendumStatus, Balance> + * Lookup500: pallet_democracy::types::ReferendumStatus, Balance> **/ PalletDemocracyReferendumStatus: { end: 'u32', @@ -4199,7 +4424,7 @@ export default { tally: 'PalletDemocracyTally' }, /** - * Lookup483: pallet_democracy::types::Tally + * Lookup501: pallet_democracy::types::Tally **/ PalletDemocracyTally: { ayes: 'u128', @@ -4207,7 +4432,7 @@ export default { turnout: 'u128' }, /** - * Lookup484: pallet_democracy::vote::Voting + * Lookup502: pallet_democracy::vote::Voting **/ PalletDemocracyVoteVoting: { _enum: { @@ -4226,24 +4451,24 @@ export default { } }, /** - * Lookup488: pallet_democracy::types::Delegations + * Lookup506: pallet_democracy::types::Delegations **/ PalletDemocracyDelegations: { votes: 'u128', capital: 'u128' }, /** - * Lookup489: pallet_democracy::vote::PriorLock + * Lookup507: pallet_democracy::vote::PriorLock **/ PalletDemocracyVotePriorLock: '(u32,u128)', /** - * Lookup492: pallet_democracy::pallet::Error + * Lookup510: pallet_democracy::pallet::Error **/ PalletDemocracyError: { _enum: ['ValueLow', 'ProposalMissing', 'AlreadyCanceled', 'DuplicateProposal', 'ProposalBlacklisted', 'NotSimpleMajority', 'InvalidHash', 'NoProposal', 'AlreadyVetoed', 'ReferendumInvalid', 'NoneWaiting', 'NotVoter', 'NoPermission', 'AlreadyDelegating', 'InsufficientFunds', 'NotDelegating', 'VotesExist', 'InstantNotAllowed', 'Nonsense', 'WrongUpperBound', 'MaxVotesReached', 'TooMany', 'VotingPeriodLow', 'PreimageNotExist'] }, /** - * Lookup494: pallet_collective::Votes + * Lookup512: pallet_collective::Votes **/ PalletCollectiveVotes: { index: 'u32', @@ -4253,31 +4478,31 @@ export default { end: 'u32' }, /** - * Lookup495: pallet_collective::pallet::Error + * Lookup513: pallet_collective::pallet::Error **/ PalletCollectiveError: { - _enum: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength'] + _enum: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength', 'PrimeAccountNotMember'] }, /** - * Lookup499: pallet_membership::pallet::Error + * Lookup517: pallet_membership::pallet::Error **/ PalletMembershipError: { _enum: ['AlreadyMember', 'NotMember', 'TooManyMembers'] }, /** - * Lookup502: pallet_ranked_collective::MemberRecord + * Lookup520: pallet_ranked_collective::MemberRecord **/ PalletRankedCollectiveMemberRecord: { rank: 'u16' }, /** - * Lookup507: pallet_ranked_collective::pallet::Error + * Lookup525: pallet_ranked_collective::pallet::Error **/ PalletRankedCollectiveError: { _enum: ['AlreadyMember', 'NotMember', 'NotPolling', 'Ongoing', 'NoneRemaining', 'Corruption', 'RankTooLow', 'InvalidWitness', 'NoPermission'] }, /** - * Lookup508: pallet_referenda::types::ReferendumInfo, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> + * Lookup526: pallet_referenda::types::ReferendumInfo, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> **/ PalletReferendaReferendumInfo: { _enum: { @@ -4290,7 +4515,7 @@ export default { } }, /** - * Lookup509: pallet_referenda::types::ReferendumStatus, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> + * Lookup527: pallet_referenda::types::ReferendumStatus, Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> **/ PalletReferendaReferendumStatus: { track: 'u16', @@ -4306,21 +4531,21 @@ export default { alarm: 'Option<(u32,(u32,u32))>' }, /** - * Lookup510: pallet_referenda::types::Deposit + * Lookup528: pallet_referenda::types::Deposit **/ PalletReferendaDeposit: { who: 'AccountId32', amount: 'u128' }, /** - * Lookup513: pallet_referenda::types::DecidingStatus + * Lookup531: pallet_referenda::types::DecidingStatus **/ PalletReferendaDecidingStatus: { since: 'u32', confirming: 'Option' }, /** - * Lookup519: pallet_referenda::types::TrackInfo + * Lookup537: pallet_referenda::types::TrackInfo **/ PalletReferendaTrackInfo: { name: 'Text', @@ -4334,7 +4559,7 @@ export default { minSupport: 'PalletReferendaCurve' }, /** - * Lookup520: pallet_referenda::types::Curve + * Lookup538: pallet_referenda::types::Curve **/ PalletReferendaCurve: { _enum: { @@ -4357,13 +4582,13 @@ export default { } }, /** - * Lookup523: pallet_referenda::pallet::Error + * Lookup541: pallet_referenda::pallet::Error **/ PalletReferendaError: { _enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist'] }, /** - * Lookup526: pallet_scheduler::Scheduled, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup544: pallet_scheduler::Scheduled, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletSchedulerScheduled: { maybeId: 'Option<[u8;32]>', @@ -4373,33 +4598,33 @@ export default { origin: 'OpalRuntimeOriginCaller' }, /** - * Lookup528: pallet_scheduler::pallet::Error + * Lookup546: pallet_scheduler::pallet::Error **/ PalletSchedulerError: { _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'] }, /** - * Lookup530: cumulus_pallet_xcmp_queue::InboundChannelDetails + * Lookup548: cumulus_pallet_xcmp_queue::InboundChannelDetails **/ CumulusPalletXcmpQueueInboundChannelDetails: { sender: 'u32', state: 'CumulusPalletXcmpQueueInboundState', - messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>' + messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat)>' }, /** - * Lookup531: cumulus_pallet_xcmp_queue::InboundState + * Lookup549: cumulus_pallet_xcmp_queue::InboundState **/ CumulusPalletXcmpQueueInboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup534: polkadot_parachain::primitives::XcmpMessageFormat + * Lookup552: polkadot_parachain_primitives::primitives::XcmpMessageFormat **/ - PolkadotParachainPrimitivesXcmpMessageFormat: { + PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat: { _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals'] }, /** - * Lookup537: cumulus_pallet_xcmp_queue::OutboundChannelDetails + * Lookup555: cumulus_pallet_xcmp_queue::OutboundChannelDetails **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: 'u32', @@ -4409,13 +4634,13 @@ export default { lastIndex: 'u16' }, /** - * Lookup538: cumulus_pallet_xcmp_queue::OutboundState + * Lookup556: cumulus_pallet_xcmp_queue::OutboundState **/ CumulusPalletXcmpQueueOutboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup540: cumulus_pallet_xcmp_queue::QueueConfigData + * Lookup558: cumulus_pallet_xcmp_queue::QueueConfigData **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: 'u32', @@ -4426,45 +4651,45 @@ export default { xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight' }, /** - * Lookup542: cumulus_pallet_xcmp_queue::pallet::Error + * Lookup560: cumulus_pallet_xcmp_queue::pallet::Error **/ CumulusPalletXcmpQueueError: { _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit'] }, /** - * Lookup543: pallet_xcm::pallet::QueryStatus + * Lookup561: pallet_xcm::pallet::QueryStatus **/ PalletXcmQueryStatus: { _enum: { Pending: { - responder: 'XcmVersionedMultiLocation', - maybeMatchQuerier: 'Option', + responder: 'StagingXcmVersionedMultiLocation', + maybeMatchQuerier: 'Option', maybeNotify: 'Option<(u8,u8)>', timeout: 'u32', }, VersionNotifier: { - origin: 'XcmVersionedMultiLocation', + origin: 'StagingXcmVersionedMultiLocation', isActive: 'bool', }, Ready: { - response: 'XcmVersionedResponse', + response: 'StagingXcmVersionedResponse', at: 'u32' } } }, /** - * Lookup547: xcm::VersionedResponse + * Lookup565: staging_xcm::VersionedResponse **/ - XcmVersionedResponse: { + StagingXcmVersionedResponse: { _enum: { __Unused0: 'Null', __Unused1: 'Null', - V2: 'XcmV2Response', - V3: 'XcmV3Response' + V2: 'StagingXcmV2Response', + V3: 'StagingXcmV3Response' } }, /** - * Lookup553: pallet_xcm::pallet::VersionMigrationStage + * Lookup571: pallet_xcm::pallet::VersionMigrationStage **/ PalletXcmVersionMigrationStage: { _enum: { @@ -4475,43 +4700,43 @@ export default { } }, /** - * Lookup556: xcm::VersionedAssetId + * Lookup574: staging_xcm::VersionedAssetId **/ - XcmVersionedAssetId: { + StagingXcmVersionedAssetId: { _enum: { __Unused0: 'Null', __Unused1: 'Null', __Unused2: 'Null', - V3: 'XcmV3MultiassetAssetId' + V3: 'StagingXcmV3MultiassetAssetId' } }, /** - * Lookup557: pallet_xcm::pallet::RemoteLockedFungibleRecord + * Lookup575: pallet_xcm::pallet::RemoteLockedFungibleRecord **/ PalletXcmRemoteLockedFungibleRecord: { amount: 'u128', - owner: 'XcmVersionedMultiLocation', - locker: 'XcmVersionedMultiLocation', + owner: 'StagingXcmVersionedMultiLocation', + locker: 'StagingXcmVersionedMultiLocation', consumers: 'Vec<(Null,u128)>' }, /** - * Lookup564: pallet_xcm::pallet::Error + * Lookup582: pallet_xcm::pallet::Error **/ PalletXcmError: { _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'InvalidAsset', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse'] }, /** - * Lookup565: cumulus_pallet_xcm::pallet::Error + * Lookup583: cumulus_pallet_xcm::pallet::Error **/ CumulusPalletXcmError: 'Null', /** - * Lookup566: cumulus_pallet_dmp_queue::ConfigData + * Lookup584: cumulus_pallet_dmp_queue::ConfigData **/ CumulusPalletDmpQueueConfigData: { maxIndividual: 'SpWeightsWeightV2Weight' }, /** - * Lookup567: cumulus_pallet_dmp_queue::PageIndexData + * Lookup585: cumulus_pallet_dmp_queue::PageIndexData **/ CumulusPalletDmpQueuePageIndexData: { beginUsed: 'u32', @@ -4519,25 +4744,25 @@ export default { overweightCount: 'u64' }, /** - * Lookup570: cumulus_pallet_dmp_queue::pallet::Error + * Lookup588: cumulus_pallet_dmp_queue::pallet::Error **/ CumulusPalletDmpQueueError: { _enum: ['Unknown', 'OverLimit'] }, /** - * Lookup574: pallet_unique::pallet::Error + * Lookup592: pallet_unique::pallet::Error **/ PalletUniqueError: { _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection'] }, /** - * Lookup575: pallet_configuration::pallet::Error + * Lookup593: pallet_configuration::pallet::Error **/ PalletConfigurationError: { _enum: ['InconsistentConfiguration'] }, /** - * Lookup576: up_data_structs::Collection + * Lookup594: up_data_structs::Collection **/ UpDataStructsCollection: { owner: 'AccountId32', @@ -4551,7 +4776,7 @@ export default { flags: '[u8;1]' }, /** - * Lookup577: up_data_structs::SponsorshipState + * Lookup595: up_data_structs::SponsorshipState **/ UpDataStructsSponsorshipStateAccountId32: { _enum: { @@ -4561,7 +4786,7 @@ export default { } }, /** - * Lookup578: up_data_structs::Properties + * Lookup596: up_data_structs::Properties **/ UpDataStructsProperties: { map: 'UpDataStructsPropertiesMapBoundedVec', @@ -4569,15 +4794,15 @@ export default { reserved: 'u32' }, /** - * Lookup579: up_data_structs::PropertiesMap> + * Lookup597: up_data_structs::PropertiesMap> **/ UpDataStructsPropertiesMapBoundedVec: 'BTreeMap', /** - * Lookup584: up_data_structs::PropertiesMap + * Lookup602: up_data_structs::PropertiesMap **/ UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap', /** - * Lookup591: up_data_structs::CollectionStats + * Lookup609: up_data_structs::CollectionStats **/ UpDataStructsCollectionStats: { created: 'u32', @@ -4585,18 +4810,18 @@ export default { alive: 'u32' }, /** - * Lookup592: up_data_structs::TokenChild + * Lookup610: up_data_structs::TokenChild **/ UpDataStructsTokenChild: { token: 'u32', collection: 'u32' }, /** - * Lookup593: PhantomType::up_data_structs + * Lookup611: PhantomType::up_data_structs **/ PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpPovEstimateRpcPovInfo);0]', /** - * Lookup595: up_data_structs::TokenData> + * Lookup613: up_data_structs::TokenData> **/ UpDataStructsTokenData: { properties: 'Vec', @@ -4604,7 +4829,7 @@ export default { pieces: 'u128' }, /** - * Lookup596: up_data_structs::RpcCollection + * Lookup614: up_data_structs::RpcCollection **/ UpDataStructsRpcCollection: { owner: 'AccountId32', @@ -4621,14 +4846,14 @@ export default { flags: 'UpDataStructsRpcCollectionFlags' }, /** - * Lookup597: up_data_structs::RpcCollectionFlags + * Lookup615: up_data_structs::RpcCollectionFlags **/ UpDataStructsRpcCollectionFlags: { foreign: 'bool', erc721metadata: 'bool' }, /** - * Lookup598: up_pov_estimate_rpc::PovInfo + * Lookup616: up_pov_estimate_rpc::PovInfo **/ UpPovEstimateRpcPovInfo: { proofSize: 'u64', @@ -4638,7 +4863,7 @@ export default { keyValues: 'Vec' }, /** - * Lookup601: sp_runtime::transaction_validity::TransactionValidityError + * Lookup619: sp_runtime::transaction_validity::TransactionValidityError **/ SpRuntimeTransactionValidityTransactionValidityError: { _enum: { @@ -4647,7 +4872,7 @@ export default { } }, /** - * Lookup602: sp_runtime::transaction_validity::InvalidTransaction + * Lookup620: sp_runtime::transaction_validity::InvalidTransaction **/ SpRuntimeTransactionValidityInvalidTransaction: { _enum: { @@ -4665,7 +4890,7 @@ export default { } }, /** - * Lookup603: sp_runtime::transaction_validity::UnknownTransaction + * Lookup621: sp_runtime::transaction_validity::UnknownTransaction **/ SpRuntimeTransactionValidityUnknownTransaction: { _enum: { @@ -4675,68 +4900,68 @@ export default { } }, /** - * Lookup605: up_pov_estimate_rpc::TrieKeyValue + * Lookup623: up_pov_estimate_rpc::TrieKeyValue **/ UpPovEstimateRpcTrieKeyValue: { key: 'Bytes', value: 'Bytes' }, /** - * Lookup607: pallet_common::pallet::Error + * Lookup625: pallet_common::pallet::Error **/ PalletCommonError: { - _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin'] + _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsNotEthMirror', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin', 'FungibleItemsHaveNoId'] }, /** - * Lookup609: pallet_fungible::pallet::Error + * Lookup627: pallet_fungible::pallet::Error **/ PalletFungibleError: { - _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid'] + _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid'] }, /** - * Lookup614: pallet_refungible::pallet::Error + * Lookup632: pallet_refungible::pallet::Error **/ PalletRefungibleError: { _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed'] }, /** - * Lookup615: pallet_nonfungible::ItemData> + * Lookup633: pallet_nonfungible::ItemData> **/ PalletNonfungibleItemData: { owner: 'PalletEvmAccountBasicCrossAccountIdRepr' }, /** - * Lookup617: up_data_structs::PropertyScope + * Lookup635: up_data_structs::PropertyScope **/ UpDataStructsPropertyScope: { _enum: ['None', 'Rmrk'] }, /** - * Lookup620: pallet_nonfungible::pallet::Error + * Lookup638: pallet_nonfungible::pallet::Error **/ PalletNonfungibleError: { _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren'] }, /** - * Lookup621: pallet_structure::pallet::Error + * Lookup639: pallet_structure::pallet::Error **/ PalletStructureError: { _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound', 'CantNestTokenUnderCollection'] }, /** - * Lookup626: pallet_app_promotion::pallet::Error + * Lookup644: pallet_app_promotion::pallet::Error **/ PalletAppPromotionError: { _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'InsufficientStakedBalance', 'InconsistencyState'] }, /** - * Lookup627: pallet_foreign_assets::module::Error + * Lookup645: pallet_foreign_assets::module::Error **/ PalletForeignAssetsModuleError: { _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted'] }, /** - * Lookup628: pallet_evm::CodeMetadata + * Lookup646: pallet_evm::CodeMetadata **/ PalletEvmCodeMetadata: { _alias: { @@ -4747,13 +4972,13 @@ export default { hash_: 'H256' }, /** - * Lookup630: pallet_evm::pallet::Error + * Lookup648: pallet_evm::pallet::Error **/ PalletEvmError: { _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA'] }, /** - * Lookup633: fp_rpc::TransactionStatus + * Lookup651: fp_rpc::TransactionStatus **/ FpRpcTransactionStatus: { transactionHash: 'H256', @@ -4765,11 +4990,11 @@ export default { logsBloom: 'EthbloomBloom' }, /** - * Lookup635: ethbloom::Bloom + * Lookup653: ethbloom::Bloom **/ EthbloomBloom: '[u8;256]', /** - * Lookup637: ethereum::receipt::ReceiptV3 + * Lookup655: ethereum::receipt::ReceiptV3 **/ EthereumReceiptReceiptV3: { _enum: { @@ -4779,7 +5004,7 @@ export default { } }, /** - * Lookup638: ethereum::receipt::EIP658ReceiptData + * Lookup656: ethereum::receipt::EIP658ReceiptData **/ EthereumReceiptEip658ReceiptData: { statusCode: 'u8', @@ -4788,7 +5013,7 @@ export default { logs: 'Vec' }, /** - * Lookup639: ethereum::block::Block + * Lookup657: ethereum::block::Block **/ EthereumBlock: { header: 'EthereumHeader', @@ -4796,7 +5021,7 @@ export default { ommers: 'Vec' }, /** - * Lookup640: ethereum::header::Header + * Lookup658: ethereum::header::Header **/ EthereumHeader: { parentHash: 'H256', @@ -4816,23 +5041,23 @@ export default { nonce: 'EthereumTypesHashH64' }, /** - * Lookup641: ethereum_types::hash::H64 + * Lookup659: ethereum_types::hash::H64 **/ EthereumTypesHashH64: '[u8;8]', /** - * Lookup646: pallet_ethereum::pallet::Error + * Lookup664: pallet_ethereum::pallet::Error **/ PalletEthereumError: { _enum: ['InvalidSignature', 'PreLogExists'] }, /** - * Lookup647: pallet_evm_coder_substrate::pallet::Error + * Lookup665: pallet_evm_coder_substrate::pallet::Error **/ PalletEvmCoderSubstrateError: { _enum: ['OutOfGas', 'OutOfFund'] }, /** - * Lookup648: up_data_structs::SponsorshipState> + * Lookup666: up_data_structs::SponsorshipState> **/ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: { _enum: { @@ -4842,35 +5067,41 @@ export default { } }, /** - * Lookup649: pallet_evm_contract_helpers::SponsoringModeT + * Lookup667: pallet_evm_contract_helpers::SponsoringModeT **/ PalletEvmContractHelpersSponsoringModeT: { _enum: ['Disabled', 'Allowlisted', 'Generous'] }, /** - * Lookup655: pallet_evm_contract_helpers::pallet::Error + * Lookup673: pallet_evm_contract_helpers::pallet::Error **/ PalletEvmContractHelpersError: { _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit'] }, /** - * Lookup656: pallet_evm_migration::pallet::Error + * Lookup674: pallet_evm_migration::pallet::Error **/ PalletEvmMigrationError: { _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent'] }, /** - * Lookup657: pallet_maintenance::pallet::Error + * Lookup675: pallet_maintenance::pallet::Error **/ PalletMaintenanceError: 'Null', /** - * Lookup658: pallet_test_utils::pallet::Error + * Lookup676: pallet_utility::pallet::Error + **/ + PalletUtilityError: { + _enum: ['TooManyCalls'] + }, + /** + * Lookup677: pallet_test_utils::pallet::Error **/ PalletTestUtilsError: { _enum: ['TestPalletDisabled', 'TriggerRollback'] }, /** - * Lookup660: sp_runtime::MultiSignature + * Lookup679: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -4880,55 +5111,55 @@ export default { } }, /** - * Lookup661: sp_core::ed25519::Signature + * Lookup680: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup663: sp_core::sr25519::Signature + * Lookup682: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup664: sp_core::ecdsa::Signature + * Lookup683: sp_core::ecdsa::Signature **/ SpCoreEcdsaSignature: '[u8;65]', /** - * Lookup667: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup686: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup668: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup687: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup669: frame_system::extensions::check_genesis::CheckGenesis + * Lookup688: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup672: frame_system::extensions::check_nonce::CheckNonce + * Lookup691: frame_system::extensions::check_nonce::CheckNonce **/ FrameSystemExtensionsCheckNonce: 'Compact', /** - * Lookup673: frame_system::extensions::check_weight::CheckWeight + * Lookup692: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup674: opal_runtime::runtime_common::maintenance::CheckMaintenance + * Lookup693: opal_runtime::runtime_common::maintenance::CheckMaintenance **/ OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null', /** - * Lookup675: opal_runtime::runtime_common::identity::DisableIdentityCalls + * Lookup694: opal_runtime::runtime_common::identity::DisableIdentityCalls **/ OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: 'Null', /** - * Lookup676: pallet_template_transaction_payment::ChargeTransactionPayment + * Lookup695: pallet_template_transaction_payment::ChargeTransactionPayment **/ PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup677: opal_runtime::Runtime + * Lookup696: opal_runtime::Runtime **/ OpalRuntimeRuntime: 'Null', /** - * Lookup678: pallet_ethereum::FakeTransactionFinalizer + * Lookup697: pallet_ethereum::FakeTransactionFinalizer **/ PalletEthereumFakeTransactionFinalizer: 'Null' }; diff --git a/tests/src/interfaces/registry.ts b/tests/src/interfaces/registry.ts index 0b3e753f05..87df5491bb 100644 --- a/tests/src/interfaces/registry.ts +++ b/tests/src/interfaces/registry.ts @@ -5,7 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackInfo, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV4AbridgedHostConfiguration, PolkadotPrimitivesV4AbridgedHrmpChannel, PolkadotPrimitivesV4PersistedValidationData, PolkadotPrimitivesV4UpgradeRestriction, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiLocation, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAssetId, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedResponse, XcmVersionedXcm } from '@polkadot/types/lookup'; +import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OpalRuntimeRuntimeHoldReason, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollatorSelectionHoldReason, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletConfigurationEvent, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCodeMetadata, PalletEvmCoderSubstrateError, PalletEvmContractHelpersCall, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetId, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletGovOriginsOrigin, PalletIdentityBitFlags, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdentityField, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletRankedCollectiveCall, PalletRankedCollectiveError, PalletRankedCollectiveEvent, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReferendaCall, PalletReferendaCurve, PalletReferendaDecidingStatus, PalletReferendaDeposit, PalletReferendaError, PalletReferendaEvent, PalletReferendaReferendumInfo, PalletReferendaReferendumStatus, PalletReferendaTrackInfo, PalletRefungibleError, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStateTrieMigrationCall, PalletStateTrieMigrationError, PalletStateTrieMigrationEvent, PalletStateTrieMigrationMigrationCompute, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, ParachainInfoCall, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat, PolkadotPrimitivesV5AbridgedHostConfiguration, PolkadotPrimitivesV5AbridgedHrmpChannel, PolkadotPrimitivesV5PersistedValidationData, PolkadotPrimitivesV5UpgradeGoAhead, PolkadotPrimitivesV5UpgradeRestriction, PolkadotPrimitivesVstagingAsyncBackingParams, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmDoubleEncoded, StagingXcmV2BodyId, StagingXcmV2BodyPart, StagingXcmV2Instruction, StagingXcmV2Junction, StagingXcmV2MultiAsset, StagingXcmV2MultiLocation, StagingXcmV2MultiassetAssetId, StagingXcmV2MultiassetAssetInstance, StagingXcmV2MultiassetFungibility, StagingXcmV2MultiassetMultiAssetFilter, StagingXcmV2MultiassetMultiAssets, StagingXcmV2MultiassetWildFungibility, StagingXcmV2MultiassetWildMultiAsset, StagingXcmV2MultilocationJunctions, StagingXcmV2NetworkId, StagingXcmV2OriginKind, StagingXcmV2Response, StagingXcmV2TraitsError, StagingXcmV2WeightLimit, StagingXcmV2Xcm, StagingXcmV3Instruction, StagingXcmV3Junction, StagingXcmV3JunctionBodyId, StagingXcmV3JunctionBodyPart, StagingXcmV3JunctionNetworkId, StagingXcmV3Junctions, StagingXcmV3MaybeErrorCode, StagingXcmV3MultiAsset, StagingXcmV3MultiLocation, StagingXcmV3MultiassetAssetId, StagingXcmV3MultiassetAssetInstance, StagingXcmV3MultiassetFungibility, StagingXcmV3MultiassetMultiAssetFilter, StagingXcmV3MultiassetMultiAssets, StagingXcmV3MultiassetWildFungibility, StagingXcmV3MultiassetWildMultiAsset, StagingXcmV3PalletInfo, StagingXcmV3QueryResponseInfo, StagingXcmV3Response, StagingXcmV3TraitsError, StagingXcmV3TraitsOutcome, StagingXcmV3WeightLimit, StagingXcmV3Xcm, StagingXcmVersionedAssetId, StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiAssets, StagingXcmVersionedMultiLocation, StagingXcmVersionedResponse, StagingXcmVersionedXcm, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue } from '@polkadot/types/lookup'; declare module '@polkadot/types/types/registry' { interface InterfaceTypes { @@ -19,7 +19,11 @@ declare module '@polkadot/types/types/registry' { CumulusPalletParachainSystemError: CumulusPalletParachainSystemError; CumulusPalletParachainSystemEvent: CumulusPalletParachainSystemEvent; CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot; - CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize: CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize; + CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; + CumulusPalletParachainSystemUnincludedSegmentAncestor: CumulusPalletParachainSystemUnincludedSegmentAncestor; + CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate; + CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: CumulusPalletParachainSystemUnincludedSegmentSegmentTracker; + CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; CumulusPalletXcmCall: CumulusPalletXcmCall; CumulusPalletXcmError: CumulusPalletXcmError; CumulusPalletXcmEvent: CumulusPalletXcmEvent; @@ -84,6 +88,7 @@ declare module '@polkadot/types/types/registry' { OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls: OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls; OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance; OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys; + OpalRuntimeRuntimeHoldReason: OpalRuntimeRuntimeHoldReason; OrmlTokensAccountData: OrmlTokensAccountData; OrmlTokensBalanceLock: OrmlTokensBalanceLock; OrmlTokensModuleCall: OrmlTokensModuleCall; @@ -111,6 +116,7 @@ declare module '@polkadot/types/types/registry' { PalletCollatorSelectionCall: PalletCollatorSelectionCall; PalletCollatorSelectionError: PalletCollatorSelectionError; PalletCollatorSelectionEvent: PalletCollatorSelectionEvent; + PalletCollatorSelectionHoldReason: PalletCollatorSelectionHoldReason; PalletCollectiveCall: PalletCollectiveCall; PalletCollectiveError: PalletCollectiveError; PalletCollectiveEvent: PalletCollectiveEvent; @@ -153,7 +159,7 @@ declare module '@polkadot/types/types/registry' { PalletEvmMigrationCall: PalletEvmMigrationCall; PalletEvmMigrationError: PalletEvmMigrationError; PalletEvmMigrationEvent: PalletEvmMigrationEvent; - PalletForeignAssetsAssetIds: PalletForeignAssetsAssetIds; + PalletForeignAssetsAssetId: PalletForeignAssetsAssetId; PalletForeignAssetsModuleAssetMetadata: PalletForeignAssetsModuleAssetMetadata; PalletForeignAssetsModuleCall: PalletForeignAssetsModuleCall; PalletForeignAssetsModuleError: PalletForeignAssetsModuleError; @@ -232,6 +238,9 @@ declare module '@polkadot/types/types/registry' { PalletTreasuryProposal: PalletTreasuryProposal; PalletUniqueCall: PalletUniqueCall; PalletUniqueError: PalletUniqueError; + PalletUtilityCall: PalletUtilityCall; + PalletUtilityError: PalletUtilityError; + PalletUtilityEvent: PalletUtilityEvent; PalletXcmCall: PalletXcmCall; PalletXcmError: PalletXcmError; PalletXcmEvent: PalletXcmEvent; @@ -244,11 +253,13 @@ declare module '@polkadot/types/types/registry' { PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage; PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; - PolkadotParachainPrimitivesXcmpMessageFormat: PolkadotParachainPrimitivesXcmpMessageFormat; - PolkadotPrimitivesV4AbridgedHostConfiguration: PolkadotPrimitivesV4AbridgedHostConfiguration; - PolkadotPrimitivesV4AbridgedHrmpChannel: PolkadotPrimitivesV4AbridgedHrmpChannel; - PolkadotPrimitivesV4PersistedValidationData: PolkadotPrimitivesV4PersistedValidationData; - PolkadotPrimitivesV4UpgradeRestriction: PolkadotPrimitivesV4UpgradeRestriction; + PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat: PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat; + PolkadotPrimitivesV5AbridgedHostConfiguration: PolkadotPrimitivesV5AbridgedHostConfiguration; + PolkadotPrimitivesV5AbridgedHrmpChannel: PolkadotPrimitivesV5AbridgedHrmpChannel; + PolkadotPrimitivesV5PersistedValidationData: PolkadotPrimitivesV5PersistedValidationData; + PolkadotPrimitivesV5UpgradeGoAhead: PolkadotPrimitivesV5UpgradeGoAhead; + PolkadotPrimitivesV5UpgradeRestriction: PolkadotPrimitivesV5UpgradeRestriction; + PolkadotPrimitivesVstagingAsyncBackingParams: PolkadotPrimitivesVstagingAsyncBackingParams; SpArithmeticArithmeticError: SpArithmeticArithmeticError; SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public; SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId; @@ -271,6 +282,56 @@ declare module '@polkadot/types/types/registry' { SpVersionRuntimeVersion: SpVersionRuntimeVersion; SpWeightsRuntimeDbWeight: SpWeightsRuntimeDbWeight; SpWeightsWeightV2Weight: SpWeightsWeightV2Weight; + StagingXcmDoubleEncoded: StagingXcmDoubleEncoded; + StagingXcmV2BodyId: StagingXcmV2BodyId; + StagingXcmV2BodyPart: StagingXcmV2BodyPart; + StagingXcmV2Instruction: StagingXcmV2Instruction; + StagingXcmV2Junction: StagingXcmV2Junction; + StagingXcmV2MultiAsset: StagingXcmV2MultiAsset; + StagingXcmV2MultiLocation: StagingXcmV2MultiLocation; + StagingXcmV2MultiassetAssetId: StagingXcmV2MultiassetAssetId; + StagingXcmV2MultiassetAssetInstance: StagingXcmV2MultiassetAssetInstance; + StagingXcmV2MultiassetFungibility: StagingXcmV2MultiassetFungibility; + StagingXcmV2MultiassetMultiAssetFilter: StagingXcmV2MultiassetMultiAssetFilter; + StagingXcmV2MultiassetMultiAssets: StagingXcmV2MultiassetMultiAssets; + StagingXcmV2MultiassetWildFungibility: StagingXcmV2MultiassetWildFungibility; + StagingXcmV2MultiassetWildMultiAsset: StagingXcmV2MultiassetWildMultiAsset; + StagingXcmV2MultilocationJunctions: StagingXcmV2MultilocationJunctions; + StagingXcmV2NetworkId: StagingXcmV2NetworkId; + StagingXcmV2OriginKind: StagingXcmV2OriginKind; + StagingXcmV2Response: StagingXcmV2Response; + StagingXcmV2TraitsError: StagingXcmV2TraitsError; + StagingXcmV2WeightLimit: StagingXcmV2WeightLimit; + StagingXcmV2Xcm: StagingXcmV2Xcm; + StagingXcmV3Instruction: StagingXcmV3Instruction; + StagingXcmV3Junction: StagingXcmV3Junction; + StagingXcmV3JunctionBodyId: StagingXcmV3JunctionBodyId; + StagingXcmV3JunctionBodyPart: StagingXcmV3JunctionBodyPart; + StagingXcmV3JunctionNetworkId: StagingXcmV3JunctionNetworkId; + StagingXcmV3Junctions: StagingXcmV3Junctions; + StagingXcmV3MaybeErrorCode: StagingXcmV3MaybeErrorCode; + StagingXcmV3MultiAsset: StagingXcmV3MultiAsset; + StagingXcmV3MultiLocation: StagingXcmV3MultiLocation; + StagingXcmV3MultiassetAssetId: StagingXcmV3MultiassetAssetId; + StagingXcmV3MultiassetAssetInstance: StagingXcmV3MultiassetAssetInstance; + StagingXcmV3MultiassetFungibility: StagingXcmV3MultiassetFungibility; + StagingXcmV3MultiassetMultiAssetFilter: StagingXcmV3MultiassetMultiAssetFilter; + StagingXcmV3MultiassetMultiAssets: StagingXcmV3MultiassetMultiAssets; + StagingXcmV3MultiassetWildFungibility: StagingXcmV3MultiassetWildFungibility; + StagingXcmV3MultiassetWildMultiAsset: StagingXcmV3MultiassetWildMultiAsset; + StagingXcmV3PalletInfo: StagingXcmV3PalletInfo; + StagingXcmV3QueryResponseInfo: StagingXcmV3QueryResponseInfo; + StagingXcmV3Response: StagingXcmV3Response; + StagingXcmV3TraitsError: StagingXcmV3TraitsError; + StagingXcmV3TraitsOutcome: StagingXcmV3TraitsOutcome; + StagingXcmV3WeightLimit: StagingXcmV3WeightLimit; + StagingXcmV3Xcm: StagingXcmV3Xcm; + StagingXcmVersionedAssetId: StagingXcmVersionedAssetId; + StagingXcmVersionedMultiAsset: StagingXcmVersionedMultiAsset; + StagingXcmVersionedMultiAssets: StagingXcmVersionedMultiAssets; + StagingXcmVersionedMultiLocation: StagingXcmVersionedMultiLocation; + StagingXcmVersionedResponse: StagingXcmVersionedResponse; + StagingXcmVersionedXcm: StagingXcmVersionedXcm; UpDataStructsAccessMode: UpDataStructsAccessMode; UpDataStructsCollection: UpDataStructsCollection; UpDataStructsCollectionLimits: UpDataStructsCollectionLimits; @@ -304,55 +365,5 @@ declare module '@polkadot/types/types/registry' { UpDataStructsTokenData: UpDataStructsTokenData; UpPovEstimateRpcPovInfo: UpPovEstimateRpcPovInfo; UpPovEstimateRpcTrieKeyValue: UpPovEstimateRpcTrieKeyValue; - XcmDoubleEncoded: XcmDoubleEncoded; - XcmV2BodyId: XcmV2BodyId; - XcmV2BodyPart: XcmV2BodyPart; - XcmV2Instruction: XcmV2Instruction; - XcmV2Junction: XcmV2Junction; - XcmV2MultiAsset: XcmV2MultiAsset; - XcmV2MultiLocation: XcmV2MultiLocation; - XcmV2MultiassetAssetId: XcmV2MultiassetAssetId; - XcmV2MultiassetAssetInstance: XcmV2MultiassetAssetInstance; - XcmV2MultiassetFungibility: XcmV2MultiassetFungibility; - XcmV2MultiassetMultiAssetFilter: XcmV2MultiassetMultiAssetFilter; - XcmV2MultiassetMultiAssets: XcmV2MultiassetMultiAssets; - XcmV2MultiassetWildFungibility: XcmV2MultiassetWildFungibility; - XcmV2MultiassetWildMultiAsset: XcmV2MultiassetWildMultiAsset; - XcmV2MultilocationJunctions: XcmV2MultilocationJunctions; - XcmV2NetworkId: XcmV2NetworkId; - XcmV2OriginKind: XcmV2OriginKind; - XcmV2Response: XcmV2Response; - XcmV2TraitsError: XcmV2TraitsError; - XcmV2WeightLimit: XcmV2WeightLimit; - XcmV2Xcm: XcmV2Xcm; - XcmV3Instruction: XcmV3Instruction; - XcmV3Junction: XcmV3Junction; - XcmV3JunctionBodyId: XcmV3JunctionBodyId; - XcmV3JunctionBodyPart: XcmV3JunctionBodyPart; - XcmV3JunctionNetworkId: XcmV3JunctionNetworkId; - XcmV3Junctions: XcmV3Junctions; - XcmV3MaybeErrorCode: XcmV3MaybeErrorCode; - XcmV3MultiAsset: XcmV3MultiAsset; - XcmV3MultiLocation: XcmV3MultiLocation; - XcmV3MultiassetAssetId: XcmV3MultiassetAssetId; - XcmV3MultiassetAssetInstance: XcmV3MultiassetAssetInstance; - XcmV3MultiassetFungibility: XcmV3MultiassetFungibility; - XcmV3MultiassetMultiAssetFilter: XcmV3MultiassetMultiAssetFilter; - XcmV3MultiassetMultiAssets: XcmV3MultiassetMultiAssets; - XcmV3MultiassetWildFungibility: XcmV3MultiassetWildFungibility; - XcmV3MultiassetWildMultiAsset: XcmV3MultiassetWildMultiAsset; - XcmV3PalletInfo: XcmV3PalletInfo; - XcmV3QueryResponseInfo: XcmV3QueryResponseInfo; - XcmV3Response: XcmV3Response; - XcmV3TraitsError: XcmV3TraitsError; - XcmV3TraitsOutcome: XcmV3TraitsOutcome; - XcmV3WeightLimit: XcmV3WeightLimit; - XcmV3Xcm: XcmV3Xcm; - XcmVersionedAssetId: XcmVersionedAssetId; - XcmVersionedMultiAsset: XcmVersionedMultiAsset; - XcmVersionedMultiAssets: XcmVersionedMultiAssets; - XcmVersionedMultiLocation: XcmVersionedMultiLocation; - XcmVersionedResponse: XcmVersionedResponse; - XcmVersionedXcm: XcmVersionedXcm; } // InterfaceTypes } // declare module diff --git a/tests/src/interfaces/types-lookup.ts b/tests/src/interfaces/types-lookup.ts index 08638533cf..c0ea3c6d83 100644 --- a/tests/src/interfaces/types-lookup.ts +++ b/tests/src/interfaces/types-lookup.ts @@ -510,76 +510,76 @@ declare module '@polkadot/types/lookup' { readonly isTransferredMultiAssets: boolean; readonly asTransferredMultiAssets: { readonly sender: AccountId32; - readonly assets: XcmV3MultiassetMultiAssets; - readonly fee: XcmV3MultiAsset; - readonly dest: XcmV3MultiLocation; + readonly assets: StagingXcmV3MultiassetMultiAssets; + readonly fee: StagingXcmV3MultiAsset; + readonly dest: StagingXcmV3MultiLocation; } & Struct; readonly type: 'TransferredMultiAssets'; } - /** @name XcmV3MultiassetMultiAssets (49) */ - interface XcmV3MultiassetMultiAssets extends Vec {} + /** @name StagingXcmV3MultiassetMultiAssets (49) */ + interface StagingXcmV3MultiassetMultiAssets extends Vec {} - /** @name XcmV3MultiAsset (51) */ - interface XcmV3MultiAsset extends Struct { - readonly id: XcmV3MultiassetAssetId; - readonly fun: XcmV3MultiassetFungibility; + /** @name StagingXcmV3MultiAsset (51) */ + interface StagingXcmV3MultiAsset extends Struct { + readonly id: StagingXcmV3MultiassetAssetId; + readonly fun: StagingXcmV3MultiassetFungibility; } - /** @name XcmV3MultiassetAssetId (52) */ - interface XcmV3MultiassetAssetId extends Enum { + /** @name StagingXcmV3MultiassetAssetId (52) */ + interface StagingXcmV3MultiassetAssetId extends Enum { readonly isConcrete: boolean; - readonly asConcrete: XcmV3MultiLocation; + readonly asConcrete: StagingXcmV3MultiLocation; readonly isAbstract: boolean; readonly asAbstract: U8aFixed; readonly type: 'Concrete' | 'Abstract'; } - /** @name XcmV3MultiLocation (53) */ - interface XcmV3MultiLocation extends Struct { + /** @name StagingXcmV3MultiLocation (53) */ + interface StagingXcmV3MultiLocation extends Struct { readonly parents: u8; - readonly interior: XcmV3Junctions; + readonly interior: StagingXcmV3Junctions; } - /** @name XcmV3Junctions (54) */ - interface XcmV3Junctions extends Enum { + /** @name StagingXcmV3Junctions (54) */ + interface StagingXcmV3Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; - readonly asX1: XcmV3Junction; + readonly asX1: StagingXcmV3Junction; readonly isX2: boolean; - readonly asX2: ITuple<[XcmV3Junction, XcmV3Junction]>; + readonly asX2: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX3: boolean; - readonly asX3: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly asX3: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX4: boolean; - readonly asX4: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly asX4: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX5: boolean; - readonly asX5: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly asX5: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX6: boolean; - readonly asX6: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly asX6: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX7: boolean; - readonly asX7: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly asX7: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly isX8: boolean; - readonly asX8: ITuple<[XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction]>; + readonly asX8: ITuple<[StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction, StagingXcmV3Junction]>; readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } - /** @name XcmV3Junction (55) */ - interface XcmV3Junction extends Enum { + /** @name StagingXcmV3Junction (55) */ + interface StagingXcmV3Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; readonly isAccountId32: boolean; readonly asAccountId32: { - readonly network: Option; + readonly network: Option; readonly id: U8aFixed; } & Struct; readonly isAccountIndex64: boolean; readonly asAccountIndex64: { - readonly network: Option; + readonly network: Option; readonly index: Compact; } & Struct; readonly isAccountKey20: boolean; readonly asAccountKey20: { - readonly network: Option; + readonly network: Option; readonly key: U8aFixed; } & Struct; readonly isPalletInstance: boolean; @@ -594,16 +594,16 @@ declare module '@polkadot/types/lookup' { readonly isOnlyChild: boolean; readonly isPlurality: boolean; readonly asPlurality: { - readonly id: XcmV3JunctionBodyId; - readonly part: XcmV3JunctionBodyPart; + readonly id: StagingXcmV3JunctionBodyId; + readonly part: StagingXcmV3JunctionBodyPart; } & Struct; readonly isGlobalConsensus: boolean; - readonly asGlobalConsensus: XcmV3JunctionNetworkId; + readonly asGlobalConsensus: StagingXcmV3JunctionNetworkId; readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus'; } - /** @name XcmV3JunctionNetworkId (58) */ - interface XcmV3JunctionNetworkId extends Enum { + /** @name StagingXcmV3JunctionNetworkId (58) */ + interface StagingXcmV3JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; readonly isByFork: boolean; @@ -625,8 +625,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'ByGenesis' | 'ByFork' | 'Polkadot' | 'Kusama' | 'Westend' | 'Rococo' | 'Wococo' | 'Ethereum' | 'BitcoinCore' | 'BitcoinCash'; } - /** @name XcmV3JunctionBodyId (60) */ - interface XcmV3JunctionBodyId extends Enum { + /** @name StagingXcmV3JunctionBodyId (60) */ + interface StagingXcmV3JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isMoniker: boolean; readonly asMoniker: U8aFixed; @@ -642,8 +642,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unit' | 'Moniker' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; } - /** @name XcmV3JunctionBodyPart (61) */ - interface XcmV3JunctionBodyPart extends Enum { + /** @name StagingXcmV3JunctionBodyPart (61) */ + interface StagingXcmV3JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; readonly asMembers: { @@ -667,17 +667,17 @@ declare module '@polkadot/types/lookup' { readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; } - /** @name XcmV3MultiassetFungibility (62) */ - interface XcmV3MultiassetFungibility extends Enum { + /** @name StagingXcmV3MultiassetFungibility (62) */ + interface StagingXcmV3MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; readonly isNonFungible: boolean; - readonly asNonFungible: XcmV3MultiassetAssetInstance; + readonly asNonFungible: StagingXcmV3MultiassetAssetInstance; readonly type: 'Fungible' | 'NonFungible'; } - /** @name XcmV3MultiassetAssetInstance (63) */ - interface XcmV3MultiassetAssetInstance extends Enum { + /** @name StagingXcmV3MultiassetAssetInstance (63) */ + interface StagingXcmV3MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; readonly asIndex: Compact; @@ -696,38 +696,38 @@ declare module '@polkadot/types/lookup' { interface OrmlTokensModuleEvent extends Enum { readonly isEndowed: boolean; readonly asEndowed: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isDustLost: boolean; readonly asDustLost: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isTransfer: boolean; readonly asTransfer: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly from: AccountId32; readonly to: AccountId32; readonly amount: u128; } & Struct; readonly isReserved: boolean; readonly asReserved: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isUnreserved: boolean; readonly asUnreserved: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isReserveRepatriated: boolean; readonly asReserveRepatriated: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly from: AccountId32; readonly to: AccountId32; readonly amount: u128; @@ -735,65 +735,75 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isBalanceSet: boolean; readonly asBalanceSet: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly free: u128; readonly reserved: u128; } & Struct; readonly isTotalIssuanceSet: boolean; readonly asTotalIssuanceSet: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: u128; } & Struct; readonly isWithdrawn: boolean; readonly asWithdrawn: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isSlashed: boolean; readonly asSlashed: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly freeAmount: u128; readonly reservedAmount: u128; } & Struct; readonly isDeposited: boolean; readonly asDeposited: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isLockSet: boolean; readonly asLockSet: { readonly lockId: U8aFixed; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isLockRemoved: boolean; readonly asLockRemoved: { readonly lockId: U8aFixed; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; } & Struct; readonly isLocked: boolean; readonly asLocked: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; readonly isUnlocked: boolean; readonly asUnlocked: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly who: AccountId32; readonly amount: u128; } & Struct; - readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved' | 'Locked' | 'Unlocked'; + readonly isIssued: boolean; + readonly asIssued: { + readonly currencyId: PalletForeignAssetsAssetId; + readonly amount: u128; + } & Struct; + readonly isRescinded: boolean; + readonly asRescinded: { + readonly currencyId: PalletForeignAssetsAssetId; + readonly amount: u128; + } & Struct; + readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved' | 'Locked' | 'Unlocked' | 'Issued' | 'Rescinded'; } - /** @name PalletForeignAssetsAssetIds (67) */ - interface PalletForeignAssetsAssetIds extends Enum { + /** @name PalletForeignAssetsAssetId (67) */ + interface PalletForeignAssetsAssetId extends Enum { readonly isForeignAssetId: boolean; readonly asForeignAssetId: u32; readonly isNativeAssetId: boolean; @@ -1331,14 +1341,14 @@ declare module '@polkadot/types/lookup' { /** @name CumulusPrimitivesParachainInherentParachainInherentData (99) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV4PersistedValidationData; + readonly validationData: PolkadotPrimitivesV5PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotPrimitivesV4PersistedValidationData (100) */ - interface PolkadotPrimitivesV4PersistedValidationData extends Struct { + /** @name PolkadotPrimitivesV5PersistedValidationData (100) */ + interface PolkadotPrimitivesV5PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; @@ -1542,103 +1552,103 @@ declare module '@polkadot/types/lookup' { interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: u128; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isTransferMultiasset: boolean; readonly asTransferMultiasset: { - readonly asset: XcmVersionedMultiAsset; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly asset: StagingXcmVersionedMultiAsset; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isTransferWithFee: boolean; readonly asTransferWithFee: { - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: u128; readonly fee: u128; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isTransferMultiassetWithFee: boolean; readonly asTransferMultiassetWithFee: { - readonly asset: XcmVersionedMultiAsset; - readonly fee: XcmVersionedMultiAsset; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly asset: StagingXcmVersionedMultiAsset; + readonly fee: StagingXcmVersionedMultiAsset; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isTransferMulticurrencies: boolean; readonly asTransferMulticurrencies: { - readonly currencies: Vec>; + readonly currencies: Vec>; readonly feeItem: u32; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isTransferMultiassets: boolean; readonly asTransferMultiassets: { - readonly assets: XcmVersionedMultiAssets; + readonly assets: StagingXcmVersionedMultiAssets; readonly feeItem: u32; - readonly dest: XcmVersionedMultiLocation; - readonly destWeightLimit: XcmV3WeightLimit; + readonly dest: StagingXcmVersionedMultiLocation; + readonly destWeightLimit: StagingXcmV3WeightLimit; } & Struct; readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets'; } - /** @name XcmVersionedMultiLocation (128) */ - interface XcmVersionedMultiLocation extends Enum { + /** @name StagingXcmVersionedMultiLocation (128) */ + interface StagingXcmVersionedMultiLocation extends Enum { readonly isV2: boolean; - readonly asV2: XcmV2MultiLocation; + readonly asV2: StagingXcmV2MultiLocation; readonly isV3: boolean; - readonly asV3: XcmV3MultiLocation; + readonly asV3: StagingXcmV3MultiLocation; readonly type: 'V2' | 'V3'; } - /** @name XcmV2MultiLocation (129) */ - interface XcmV2MultiLocation extends Struct { + /** @name StagingXcmV2MultiLocation (129) */ + interface StagingXcmV2MultiLocation extends Struct { readonly parents: u8; - readonly interior: XcmV2MultilocationJunctions; + readonly interior: StagingXcmV2MultilocationJunctions; } - /** @name XcmV2MultilocationJunctions (130) */ - interface XcmV2MultilocationJunctions extends Enum { + /** @name StagingXcmV2MultilocationJunctions (130) */ + interface StagingXcmV2MultilocationJunctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; - readonly asX1: XcmV2Junction; + readonly asX1: StagingXcmV2Junction; readonly isX2: boolean; - readonly asX2: ITuple<[XcmV2Junction, XcmV2Junction]>; + readonly asX2: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction]>; readonly isX3: boolean; - readonly asX3: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly asX3: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; readonly isX4: boolean; - readonly asX4: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly asX4: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; readonly isX5: boolean; - readonly asX5: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly asX5: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; readonly isX6: boolean; - readonly asX6: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly asX6: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; readonly isX7: boolean; - readonly asX7: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly asX7: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; readonly isX8: boolean; - readonly asX8: ITuple<[XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction]>; + readonly asX8: ITuple<[StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction, StagingXcmV2Junction]>; readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } - /** @name XcmV2Junction (131) */ - interface XcmV2Junction extends Enum { + /** @name StagingXcmV2Junction (131) */ + interface StagingXcmV2Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; readonly isAccountId32: boolean; readonly asAccountId32: { - readonly network: XcmV2NetworkId; + readonly network: StagingXcmV2NetworkId; readonly id: U8aFixed; } & Struct; readonly isAccountIndex64: boolean; readonly asAccountIndex64: { - readonly network: XcmV2NetworkId; + readonly network: StagingXcmV2NetworkId; readonly index: Compact; } & Struct; readonly isAccountKey20: boolean; readonly asAccountKey20: { - readonly network: XcmV2NetworkId; + readonly network: StagingXcmV2NetworkId; readonly key: U8aFixed; } & Struct; readonly isPalletInstance: boolean; @@ -1650,14 +1660,14 @@ declare module '@polkadot/types/lookup' { readonly isOnlyChild: boolean; readonly isPlurality: boolean; readonly asPlurality: { - readonly id: XcmV2BodyId; - readonly part: XcmV2BodyPart; + readonly id: StagingXcmV2BodyId; + readonly part: StagingXcmV2BodyPart; } & Struct; readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality'; } - /** @name XcmV2NetworkId (132) */ - interface XcmV2NetworkId extends Enum { + /** @name StagingXcmV2NetworkId (132) */ + interface StagingXcmV2NetworkId extends Enum { readonly isAny: boolean; readonly isNamed: boolean; readonly asNamed: Bytes; @@ -1666,8 +1676,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama'; } - /** @name XcmV2BodyId (134) */ - interface XcmV2BodyId extends Enum { + /** @name StagingXcmV2BodyId (134) */ + interface StagingXcmV2BodyId extends Enum { readonly isUnit: boolean; readonly isNamed: boolean; readonly asNamed: Bytes; @@ -1683,8 +1693,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial' | 'Defense' | 'Administration' | 'Treasury'; } - /** @name XcmV2BodyPart (135) */ - interface XcmV2BodyPart extends Enum { + /** @name StagingXcmV2BodyPart (135) */ + interface StagingXcmV2BodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; readonly asMembers: { @@ -1708,49 +1718,49 @@ declare module '@polkadot/types/lookup' { readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; } - /** @name XcmV3WeightLimit (136) */ - interface XcmV3WeightLimit extends Enum { + /** @name StagingXcmV3WeightLimit (136) */ + interface StagingXcmV3WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; readonly asLimited: SpWeightsWeightV2Weight; readonly type: 'Unlimited' | 'Limited'; } - /** @name XcmVersionedMultiAsset (137) */ - interface XcmVersionedMultiAsset extends Enum { + /** @name StagingXcmVersionedMultiAsset (137) */ + interface StagingXcmVersionedMultiAsset extends Enum { readonly isV2: boolean; - readonly asV2: XcmV2MultiAsset; + readonly asV2: StagingXcmV2MultiAsset; readonly isV3: boolean; - readonly asV3: XcmV3MultiAsset; + readonly asV3: StagingXcmV3MultiAsset; readonly type: 'V2' | 'V3'; } - /** @name XcmV2MultiAsset (138) */ - interface XcmV2MultiAsset extends Struct { - readonly id: XcmV2MultiassetAssetId; - readonly fun: XcmV2MultiassetFungibility; + /** @name StagingXcmV2MultiAsset (138) */ + interface StagingXcmV2MultiAsset extends Struct { + readonly id: StagingXcmV2MultiassetAssetId; + readonly fun: StagingXcmV2MultiassetFungibility; } - /** @name XcmV2MultiassetAssetId (139) */ - interface XcmV2MultiassetAssetId extends Enum { + /** @name StagingXcmV2MultiassetAssetId (139) */ + interface StagingXcmV2MultiassetAssetId extends Enum { readonly isConcrete: boolean; - readonly asConcrete: XcmV2MultiLocation; + readonly asConcrete: StagingXcmV2MultiLocation; readonly isAbstract: boolean; readonly asAbstract: Bytes; readonly type: 'Concrete' | 'Abstract'; } - /** @name XcmV2MultiassetFungibility (140) */ - interface XcmV2MultiassetFungibility extends Enum { + /** @name StagingXcmV2MultiassetFungibility (140) */ + interface StagingXcmV2MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; readonly isNonFungible: boolean; - readonly asNonFungible: XcmV2MultiassetAssetInstance; + readonly asNonFungible: StagingXcmV2MultiassetAssetInstance; readonly type: 'Fungible' | 'NonFungible'; } - /** @name XcmV2MultiassetAssetInstance (141) */ - interface XcmV2MultiassetAssetInstance extends Enum { + /** @name StagingXcmV2MultiassetAssetInstance (141) */ + interface StagingXcmV2MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; readonly asIndex: Compact; @@ -1767,49 +1777,49 @@ declare module '@polkadot/types/lookup' { readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob'; } - /** @name XcmVersionedMultiAssets (144) */ - interface XcmVersionedMultiAssets extends Enum { + /** @name StagingXcmVersionedMultiAssets (144) */ + interface StagingXcmVersionedMultiAssets extends Enum { readonly isV2: boolean; - readonly asV2: XcmV2MultiassetMultiAssets; + readonly asV2: StagingXcmV2MultiassetMultiAssets; readonly isV3: boolean; - readonly asV3: XcmV3MultiassetMultiAssets; + readonly asV3: StagingXcmV3MultiassetMultiAssets; readonly type: 'V2' | 'V3'; } - /** @name XcmV2MultiassetMultiAssets (145) */ - interface XcmV2MultiassetMultiAssets extends Vec {} + /** @name StagingXcmV2MultiassetMultiAssets (145) */ + interface StagingXcmV2MultiassetMultiAssets extends Vec {} /** @name OrmlTokensModuleCall (147) */ interface OrmlTokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: Compact; } & Struct; readonly isTransferAll: boolean; readonly asTransferAll: { readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly keepAlive: bool; } & Struct; readonly isTransferKeepAlive: boolean; readonly asTransferKeepAlive: { readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: Compact; } & Struct; readonly isForceTransfer: boolean; readonly asForceTransfer: { readonly source: MultiAddress; readonly dest: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly amount: Compact; } & Struct; readonly isSetBalance: boolean; readonly asSetBalance: { readonly who: MultiAddress; - readonly currencyId: PalletForeignAssetsAssetIds; + readonly currencyId: PalletForeignAssetsAssetId; readonly newFree: Compact; readonly newReserved: Compact; } & Struct; @@ -2265,9 +2275,9 @@ declare module '@polkadot/types/lookup' { /** @name PalletXcmOrigin (214) */ interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; - readonly asXcm: XcmV3MultiLocation; + readonly asXcm: StagingXcmV3MultiLocation; readonly isResponse: boolean; - readonly asResponse: XcmV3MultiLocation; + readonly asResponse: StagingXcmV3MultiLocation; readonly type: 'Xcm' | 'Response'; } @@ -2382,32 +2392,32 @@ declare module '@polkadot/types/lookup' { interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { - readonly dest: XcmVersionedMultiLocation; - readonly message: XcmVersionedXcm; + readonly dest: StagingXcmVersionedMultiLocation; + readonly message: StagingXcmVersionedXcm; } & Struct; readonly isTeleportAssets: boolean; readonly asTeleportAssets: { - readonly dest: XcmVersionedMultiLocation; - readonly beneficiary: XcmVersionedMultiLocation; - readonly assets: XcmVersionedMultiAssets; + readonly dest: StagingXcmVersionedMultiLocation; + readonly beneficiary: StagingXcmVersionedMultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; readonly feeAssetItem: u32; } & Struct; readonly isReserveTransferAssets: boolean; readonly asReserveTransferAssets: { - readonly dest: XcmVersionedMultiLocation; - readonly beneficiary: XcmVersionedMultiLocation; - readonly assets: XcmVersionedMultiAssets; + readonly dest: StagingXcmVersionedMultiLocation; + readonly beneficiary: StagingXcmVersionedMultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; readonly feeAssetItem: u32; } & Struct; readonly isExecute: boolean; readonly asExecute: { - readonly message: XcmVersionedXcm; + readonly message: StagingXcmVersionedXcm; readonly maxWeight: SpWeightsWeightV2Weight; } & Struct; readonly isForceXcmVersion: boolean; readonly asForceXcmVersion: { - readonly location: XcmV3MultiLocation; - readonly xcmVersion: u32; + readonly location: StagingXcmV3MultiLocation; + readonly version: u32; } & Struct; readonly isForceDefaultXcmVersion: boolean; readonly asForceDefaultXcmVersion: { @@ -2415,27 +2425,27 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isForceSubscribeVersionNotify: boolean; readonly asForceSubscribeVersionNotify: { - readonly location: XcmVersionedMultiLocation; + readonly location: StagingXcmVersionedMultiLocation; } & Struct; readonly isForceUnsubscribeVersionNotify: boolean; readonly asForceUnsubscribeVersionNotify: { - readonly location: XcmVersionedMultiLocation; + readonly location: StagingXcmVersionedMultiLocation; } & Struct; readonly isLimitedReserveTransferAssets: boolean; readonly asLimitedReserveTransferAssets: { - readonly dest: XcmVersionedMultiLocation; - readonly beneficiary: XcmVersionedMultiLocation; - readonly assets: XcmVersionedMultiAssets; + readonly dest: StagingXcmVersionedMultiLocation; + readonly beneficiary: StagingXcmVersionedMultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; readonly feeAssetItem: u32; - readonly weightLimit: XcmV3WeightLimit; + readonly weightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isLimitedTeleportAssets: boolean; readonly asLimitedTeleportAssets: { - readonly dest: XcmVersionedMultiLocation; - readonly beneficiary: XcmVersionedMultiLocation; - readonly assets: XcmVersionedMultiAssets; + readonly dest: StagingXcmVersionedMultiLocation; + readonly beneficiary: StagingXcmVersionedMultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; readonly feeAssetItem: u32; - readonly weightLimit: XcmV3WeightLimit; + readonly weightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isForceSuspension: boolean; readonly asForceSuspension: { @@ -2444,48 +2454,48 @@ declare module '@polkadot/types/lookup' { readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets' | 'ForceSuspension'; } - /** @name XcmVersionedXcm (225) */ - interface XcmVersionedXcm extends Enum { + /** @name StagingXcmVersionedXcm (225) */ + interface StagingXcmVersionedXcm extends Enum { readonly isV2: boolean; - readonly asV2: XcmV2Xcm; + readonly asV2: StagingXcmV2Xcm; readonly isV3: boolean; - readonly asV3: XcmV3Xcm; + readonly asV3: StagingXcmV3Xcm; readonly type: 'V2' | 'V3'; } - /** @name XcmV2Xcm (226) */ - interface XcmV2Xcm extends Vec {} + /** @name StagingXcmV2Xcm (226) */ + interface StagingXcmV2Xcm extends Vec {} - /** @name XcmV2Instruction (228) */ - interface XcmV2Instruction extends Enum { + /** @name StagingXcmV2Instruction (228) */ + interface StagingXcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; - readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; + readonly asWithdrawAsset: StagingXcmV2MultiassetMultiAssets; readonly isReserveAssetDeposited: boolean; - readonly asReserveAssetDeposited: XcmV2MultiassetMultiAssets; + readonly asReserveAssetDeposited: StagingXcmV2MultiassetMultiAssets; readonly isReceiveTeleportedAsset: boolean; - readonly asReceiveTeleportedAsset: XcmV2MultiassetMultiAssets; + readonly asReceiveTeleportedAsset: StagingXcmV2MultiassetMultiAssets; readonly isQueryResponse: boolean; readonly asQueryResponse: { readonly queryId: Compact; - readonly response: XcmV2Response; + readonly response: StagingXcmV2Response; readonly maxWeight: Compact; } & Struct; readonly isTransferAsset: boolean; readonly asTransferAsset: { - readonly assets: XcmV2MultiassetMultiAssets; - readonly beneficiary: XcmV2MultiLocation; + readonly assets: StagingXcmV2MultiassetMultiAssets; + readonly beneficiary: StagingXcmV2MultiLocation; } & Struct; readonly isTransferReserveAsset: boolean; readonly asTransferReserveAsset: { - readonly assets: XcmV2MultiassetMultiAssets; - readonly dest: XcmV2MultiLocation; - readonly xcm: XcmV2Xcm; + readonly assets: StagingXcmV2MultiassetMultiAssets; + readonly dest: StagingXcmV2MultiLocation; + readonly xcm: StagingXcmV2Xcm; } & Struct; readonly isTransact: boolean; readonly asTransact: { - readonly originType: XcmV2OriginKind; + readonly originType: StagingXcmV2OriginKind; readonly requireWeightAtMost: Compact; - readonly call: XcmDoubleEncoded; + readonly call: StagingXcmDoubleEncoded; } & Struct; readonly isHrmpNewChannelOpenRequest: boolean; readonly asHrmpNewChannelOpenRequest: { @@ -2505,65 +2515,65 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isClearOrigin: boolean; readonly isDescendOrigin: boolean; - readonly asDescendOrigin: XcmV2MultilocationJunctions; + readonly asDescendOrigin: StagingXcmV2MultilocationJunctions; readonly isReportError: boolean; readonly asReportError: { readonly queryId: Compact; - readonly dest: XcmV2MultiLocation; + readonly dest: StagingXcmV2MultiLocation; readonly maxResponseWeight: Compact; } & Struct; readonly isDepositAsset: boolean; readonly asDepositAsset: { - readonly assets: XcmV2MultiassetMultiAssetFilter; + readonly assets: StagingXcmV2MultiassetMultiAssetFilter; readonly maxAssets: Compact; - readonly beneficiary: XcmV2MultiLocation; + readonly beneficiary: StagingXcmV2MultiLocation; } & Struct; readonly isDepositReserveAsset: boolean; readonly asDepositReserveAsset: { - readonly assets: XcmV2MultiassetMultiAssetFilter; + readonly assets: StagingXcmV2MultiassetMultiAssetFilter; readonly maxAssets: Compact; - readonly dest: XcmV2MultiLocation; - readonly xcm: XcmV2Xcm; + readonly dest: StagingXcmV2MultiLocation; + readonly xcm: StagingXcmV2Xcm; } & Struct; readonly isExchangeAsset: boolean; readonly asExchangeAsset: { - readonly give: XcmV2MultiassetMultiAssetFilter; - readonly receive: XcmV2MultiassetMultiAssets; + readonly give: StagingXcmV2MultiassetMultiAssetFilter; + readonly receive: StagingXcmV2MultiassetMultiAssets; } & Struct; readonly isInitiateReserveWithdraw: boolean; readonly asInitiateReserveWithdraw: { - readonly assets: XcmV2MultiassetMultiAssetFilter; - readonly reserve: XcmV2MultiLocation; - readonly xcm: XcmV2Xcm; + readonly assets: StagingXcmV2MultiassetMultiAssetFilter; + readonly reserve: StagingXcmV2MultiLocation; + readonly xcm: StagingXcmV2Xcm; } & Struct; readonly isInitiateTeleport: boolean; readonly asInitiateTeleport: { - readonly assets: XcmV2MultiassetMultiAssetFilter; - readonly dest: XcmV2MultiLocation; - readonly xcm: XcmV2Xcm; + readonly assets: StagingXcmV2MultiassetMultiAssetFilter; + readonly dest: StagingXcmV2MultiLocation; + readonly xcm: StagingXcmV2Xcm; } & Struct; readonly isQueryHolding: boolean; readonly asQueryHolding: { readonly queryId: Compact; - readonly dest: XcmV2MultiLocation; - readonly assets: XcmV2MultiassetMultiAssetFilter; + readonly dest: StagingXcmV2MultiLocation; + readonly assets: StagingXcmV2MultiassetMultiAssetFilter; readonly maxResponseWeight: Compact; } & Struct; readonly isBuyExecution: boolean; readonly asBuyExecution: { - readonly fees: XcmV2MultiAsset; - readonly weightLimit: XcmV2WeightLimit; + readonly fees: StagingXcmV2MultiAsset; + readonly weightLimit: StagingXcmV2WeightLimit; } & Struct; readonly isRefundSurplus: boolean; readonly isSetErrorHandler: boolean; - readonly asSetErrorHandler: XcmV2Xcm; + readonly asSetErrorHandler: StagingXcmV2Xcm; readonly isSetAppendix: boolean; - readonly asSetAppendix: XcmV2Xcm; + readonly asSetAppendix: StagingXcmV2Xcm; readonly isClearError: boolean; readonly isClaimAsset: boolean; readonly asClaimAsset: { - readonly assets: XcmV2MultiassetMultiAssets; - readonly ticket: XcmV2MultiLocation; + readonly assets: StagingXcmV2MultiassetMultiAssets; + readonly ticket: StagingXcmV2MultiLocation; } & Struct; readonly isTrap: boolean; readonly asTrap: Compact; @@ -2576,20 +2586,20 @@ 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 XcmV2Response (229) */ - interface XcmV2Response extends Enum { + /** @name StagingXcmV2Response (229) */ + interface StagingXcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; - readonly asAssets: XcmV2MultiassetMultiAssets; + readonly asAssets: StagingXcmV2MultiassetMultiAssets; readonly isExecutionResult: boolean; - readonly asExecutionResult: Option>; + readonly asExecutionResult: Option>; readonly isVersion: boolean; readonly asVersion: u32; readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version'; } - /** @name XcmV2TraitsError (232) */ - interface XcmV2TraitsError extends Enum { + /** @name StagingXcmV2TraitsError (232) */ + interface StagingXcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; readonly isUntrustedReserveLocation: boolean; @@ -2621,8 +2631,8 @@ 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 (233) */ - interface XcmV2OriginKind extends Enum { + /** @name StagingXcmV2OriginKind (233) */ + interface StagingXcmV2OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; readonly isSuperuser: boolean; @@ -2630,80 +2640,80 @@ declare module '@polkadot/types/lookup' { readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm'; } - /** @name XcmDoubleEncoded (234) */ - interface XcmDoubleEncoded extends Struct { + /** @name StagingXcmDoubleEncoded (234) */ + interface StagingXcmDoubleEncoded extends Struct { readonly encoded: Bytes; } - /** @name XcmV2MultiassetMultiAssetFilter (235) */ - interface XcmV2MultiassetMultiAssetFilter extends Enum { + /** @name StagingXcmV2MultiassetMultiAssetFilter (235) */ + interface StagingXcmV2MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; - readonly asDefinite: XcmV2MultiassetMultiAssets; + readonly asDefinite: StagingXcmV2MultiassetMultiAssets; readonly isWild: boolean; - readonly asWild: XcmV2MultiassetWildMultiAsset; + readonly asWild: StagingXcmV2MultiassetWildMultiAsset; readonly type: 'Definite' | 'Wild'; } - /** @name XcmV2MultiassetWildMultiAsset (236) */ - interface XcmV2MultiassetWildMultiAsset extends Enum { + /** @name StagingXcmV2MultiassetWildMultiAsset (236) */ + interface StagingXcmV2MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; readonly asAllOf: { - readonly id: XcmV2MultiassetAssetId; - readonly fun: XcmV2MultiassetWildFungibility; + readonly id: StagingXcmV2MultiassetAssetId; + readonly fun: StagingXcmV2MultiassetWildFungibility; } & Struct; readonly type: 'All' | 'AllOf'; } - /** @name XcmV2MultiassetWildFungibility (237) */ - interface XcmV2MultiassetWildFungibility extends Enum { + /** @name StagingXcmV2MultiassetWildFungibility (237) */ + interface StagingXcmV2MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: 'Fungible' | 'NonFungible'; } - /** @name XcmV2WeightLimit (238) */ - interface XcmV2WeightLimit extends Enum { + /** @name StagingXcmV2WeightLimit (238) */ + interface StagingXcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; readonly asLimited: Compact; readonly type: 'Unlimited' | 'Limited'; } - /** @name XcmV3Xcm (239) */ - interface XcmV3Xcm extends Vec {} + /** @name StagingXcmV3Xcm (239) */ + interface StagingXcmV3Xcm extends Vec {} - /** @name XcmV3Instruction (241) */ - interface XcmV3Instruction extends Enum { + /** @name StagingXcmV3Instruction (241) */ + interface StagingXcmV3Instruction extends Enum { readonly isWithdrawAsset: boolean; - readonly asWithdrawAsset: XcmV3MultiassetMultiAssets; + readonly asWithdrawAsset: StagingXcmV3MultiassetMultiAssets; readonly isReserveAssetDeposited: boolean; - readonly asReserveAssetDeposited: XcmV3MultiassetMultiAssets; + readonly asReserveAssetDeposited: StagingXcmV3MultiassetMultiAssets; readonly isReceiveTeleportedAsset: boolean; - readonly asReceiveTeleportedAsset: XcmV3MultiassetMultiAssets; + readonly asReceiveTeleportedAsset: StagingXcmV3MultiassetMultiAssets; readonly isQueryResponse: boolean; readonly asQueryResponse: { readonly queryId: Compact; - readonly response: XcmV3Response; + readonly response: StagingXcmV3Response; readonly maxWeight: SpWeightsWeightV2Weight; - readonly querier: Option; + readonly querier: Option; } & Struct; readonly isTransferAsset: boolean; readonly asTransferAsset: { - readonly assets: XcmV3MultiassetMultiAssets; - readonly beneficiary: XcmV3MultiLocation; + readonly assets: StagingXcmV3MultiassetMultiAssets; + readonly beneficiary: StagingXcmV3MultiLocation; } & Struct; readonly isTransferReserveAsset: boolean; readonly asTransferReserveAsset: { - readonly assets: XcmV3MultiassetMultiAssets; - readonly dest: XcmV3MultiLocation; - readonly xcm: XcmV3Xcm; + readonly assets: StagingXcmV3MultiassetMultiAssets; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: StagingXcmV3Xcm; } & Struct; readonly isTransact: boolean; readonly asTransact: { - readonly originKind: XcmV2OriginKind; + readonly originKind: StagingXcmV2OriginKind; readonly requireWeightAtMost: SpWeightsWeightV2Weight; - readonly call: XcmDoubleEncoded; + readonly call: StagingXcmDoubleEncoded; } & Struct; readonly isHrmpNewChannelOpenRequest: boolean; readonly asHrmpNewChannelOpenRequest: { @@ -2723,58 +2733,58 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isClearOrigin: boolean; readonly isDescendOrigin: boolean; - readonly asDescendOrigin: XcmV3Junctions; + readonly asDescendOrigin: StagingXcmV3Junctions; readonly isReportError: boolean; - readonly asReportError: XcmV3QueryResponseInfo; + readonly asReportError: StagingXcmV3QueryResponseInfo; readonly isDepositAsset: boolean; readonly asDepositAsset: { - readonly assets: XcmV3MultiassetMultiAssetFilter; - readonly beneficiary: XcmV3MultiLocation; + readonly assets: StagingXcmV3MultiassetMultiAssetFilter; + readonly beneficiary: StagingXcmV3MultiLocation; } & Struct; readonly isDepositReserveAsset: boolean; readonly asDepositReserveAsset: { - readonly assets: XcmV3MultiassetMultiAssetFilter; - readonly dest: XcmV3MultiLocation; - readonly xcm: XcmV3Xcm; + readonly assets: StagingXcmV3MultiassetMultiAssetFilter; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: StagingXcmV3Xcm; } & Struct; readonly isExchangeAsset: boolean; readonly asExchangeAsset: { - readonly give: XcmV3MultiassetMultiAssetFilter; - readonly want: XcmV3MultiassetMultiAssets; + readonly give: StagingXcmV3MultiassetMultiAssetFilter; + readonly want: StagingXcmV3MultiassetMultiAssets; readonly maximal: bool; } & Struct; readonly isInitiateReserveWithdraw: boolean; readonly asInitiateReserveWithdraw: { - readonly assets: XcmV3MultiassetMultiAssetFilter; - readonly reserve: XcmV3MultiLocation; - readonly xcm: XcmV3Xcm; + readonly assets: StagingXcmV3MultiassetMultiAssetFilter; + readonly reserve: StagingXcmV3MultiLocation; + readonly xcm: StagingXcmV3Xcm; } & Struct; readonly isInitiateTeleport: boolean; readonly asInitiateTeleport: { - readonly assets: XcmV3MultiassetMultiAssetFilter; - readonly dest: XcmV3MultiLocation; - readonly xcm: XcmV3Xcm; + readonly assets: StagingXcmV3MultiassetMultiAssetFilter; + readonly dest: StagingXcmV3MultiLocation; + readonly xcm: StagingXcmV3Xcm; } & Struct; readonly isReportHolding: boolean; readonly asReportHolding: { - readonly responseInfo: XcmV3QueryResponseInfo; - readonly assets: XcmV3MultiassetMultiAssetFilter; + readonly responseInfo: StagingXcmV3QueryResponseInfo; + readonly assets: StagingXcmV3MultiassetMultiAssetFilter; } & Struct; readonly isBuyExecution: boolean; readonly asBuyExecution: { - readonly fees: XcmV3MultiAsset; - readonly weightLimit: XcmV3WeightLimit; + readonly fees: StagingXcmV3MultiAsset; + readonly weightLimit: StagingXcmV3WeightLimit; } & Struct; readonly isRefundSurplus: boolean; readonly isSetErrorHandler: boolean; - readonly asSetErrorHandler: XcmV3Xcm; + readonly asSetErrorHandler: StagingXcmV3Xcm; readonly isSetAppendix: boolean; - readonly asSetAppendix: XcmV3Xcm; + readonly asSetAppendix: StagingXcmV3Xcm; readonly isClearError: boolean; readonly isClaimAsset: boolean; readonly asClaimAsset: { - readonly assets: XcmV3MultiassetMultiAssets; - readonly ticket: XcmV3MultiLocation; + readonly assets: StagingXcmV3MultiassetMultiAssets; + readonly ticket: StagingXcmV3MultiLocation; } & Struct; readonly isTrap: boolean; readonly asTrap: Compact; @@ -2785,19 +2795,19 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isUnsubscribeVersion: boolean; readonly isBurnAsset: boolean; - readonly asBurnAsset: XcmV3MultiassetMultiAssets; + readonly asBurnAsset: StagingXcmV3MultiassetMultiAssets; readonly isExpectAsset: boolean; - readonly asExpectAsset: XcmV3MultiassetMultiAssets; + readonly asExpectAsset: StagingXcmV3MultiassetMultiAssets; readonly isExpectOrigin: boolean; - readonly asExpectOrigin: Option; + readonly asExpectOrigin: Option; readonly isExpectError: boolean; - readonly asExpectError: Option>; + readonly asExpectError: Option>; readonly isExpectTransactStatus: boolean; - readonly asExpectTransactStatus: XcmV3MaybeErrorCode; + readonly asExpectTransactStatus: StagingXcmV3MaybeErrorCode; readonly isQueryPallet: boolean; readonly asQueryPallet: { readonly moduleName: Bytes; - readonly responseInfo: XcmV3QueryResponseInfo; + readonly responseInfo: StagingXcmV3QueryResponseInfo; } & Struct; readonly isExpectPallet: boolean; readonly asExpectPallet: { @@ -2808,35 +2818,35 @@ declare module '@polkadot/types/lookup' { readonly minCrateMinor: Compact; } & Struct; readonly isReportTransactStatus: boolean; - readonly asReportTransactStatus: XcmV3QueryResponseInfo; + readonly asReportTransactStatus: StagingXcmV3QueryResponseInfo; readonly isClearTransactStatus: boolean; readonly isUniversalOrigin: boolean; - readonly asUniversalOrigin: XcmV3Junction; + readonly asUniversalOrigin: StagingXcmV3Junction; readonly isExportMessage: boolean; readonly asExportMessage: { - readonly network: XcmV3JunctionNetworkId; - readonly destination: XcmV3Junctions; - readonly xcm: XcmV3Xcm; + readonly network: StagingXcmV3JunctionNetworkId; + readonly destination: StagingXcmV3Junctions; + readonly xcm: StagingXcmV3Xcm; } & Struct; readonly isLockAsset: boolean; readonly asLockAsset: { - readonly asset: XcmV3MultiAsset; - readonly unlocker: XcmV3MultiLocation; + readonly asset: StagingXcmV3MultiAsset; + readonly unlocker: StagingXcmV3MultiLocation; } & Struct; readonly isUnlockAsset: boolean; readonly asUnlockAsset: { - readonly asset: XcmV3MultiAsset; - readonly target: XcmV3MultiLocation; + readonly asset: StagingXcmV3MultiAsset; + readonly target: StagingXcmV3MultiLocation; } & Struct; readonly isNoteUnlockable: boolean; readonly asNoteUnlockable: { - readonly asset: XcmV3MultiAsset; - readonly owner: XcmV3MultiLocation; + readonly asset: StagingXcmV3MultiAsset; + readonly owner: StagingXcmV3MultiLocation; } & Struct; readonly isRequestUnlock: boolean; readonly asRequestUnlock: { - readonly asset: XcmV3MultiAsset; - readonly locker: XcmV3MultiLocation; + readonly asset: StagingXcmV3MultiAsset; + readonly locker: StagingXcmV3MultiLocation; } & Struct; readonly isSetFeesMode: boolean; readonly asSetFeesMode: { @@ -2846,33 +2856,33 @@ declare module '@polkadot/types/lookup' { readonly asSetTopic: U8aFixed; readonly isClearTopic: boolean; readonly isAliasOrigin: boolean; - readonly asAliasOrigin: XcmV3MultiLocation; + readonly asAliasOrigin: StagingXcmV3MultiLocation; readonly isUnpaidExecution: boolean; readonly asUnpaidExecution: { - readonly weightLimit: XcmV3WeightLimit; - readonly checkOrigin: Option; + readonly weightLimit: StagingXcmV3WeightLimit; + readonly checkOrigin: Option; } & Struct; 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 XcmV3Response (242) */ - interface XcmV3Response extends Enum { + /** @name StagingXcmV3Response (242) */ + interface StagingXcmV3Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; - readonly asAssets: XcmV3MultiassetMultiAssets; + readonly asAssets: StagingXcmV3MultiassetMultiAssets; readonly isExecutionResult: boolean; - readonly asExecutionResult: Option>; + readonly asExecutionResult: Option>; readonly isVersion: boolean; readonly asVersion: u32; readonly isPalletsInfo: boolean; - readonly asPalletsInfo: Vec; + readonly asPalletsInfo: Vec; readonly isDispatchResult: boolean; - readonly asDispatchResult: XcmV3MaybeErrorCode; + readonly asDispatchResult: StagingXcmV3MaybeErrorCode; readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult'; } - /** @name XcmV3TraitsError (245) */ - interface XcmV3TraitsError extends Enum { + /** @name StagingXcmV3TraitsError (245) */ + interface StagingXcmV3TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; readonly isUntrustedReserveLocation: boolean; @@ -2918,8 +2928,8 @@ 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 (247) */ - interface XcmV3PalletInfo extends Struct { + /** @name StagingXcmV3PalletInfo (247) */ + interface StagingXcmV3PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; readonly moduleName: Bytes; @@ -2928,8 +2938,8 @@ declare module '@polkadot/types/lookup' { readonly patch: Compact; } - /** @name XcmV3MaybeErrorCode (250) */ - interface XcmV3MaybeErrorCode extends Enum { + /** @name StagingXcmV3MaybeErrorCode (250) */ + interface StagingXcmV3MaybeErrorCode extends Enum { readonly isSuccess: boolean; readonly isError: boolean; readonly asError: Bytes; @@ -2938,43 +2948,43 @@ declare module '@polkadot/types/lookup' { readonly type: 'Success' | 'Error' | 'TruncatedError'; } - /** @name XcmV3QueryResponseInfo (253) */ - interface XcmV3QueryResponseInfo extends Struct { - readonly destination: XcmV3MultiLocation; + /** @name StagingXcmV3QueryResponseInfo (253) */ + interface StagingXcmV3QueryResponseInfo extends Struct { + readonly destination: StagingXcmV3MultiLocation; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name XcmV3MultiassetMultiAssetFilter (254) */ - interface XcmV3MultiassetMultiAssetFilter extends Enum { + /** @name StagingXcmV3MultiassetMultiAssetFilter (254) */ + interface StagingXcmV3MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; - readonly asDefinite: XcmV3MultiassetMultiAssets; + readonly asDefinite: StagingXcmV3MultiassetMultiAssets; readonly isWild: boolean; - readonly asWild: XcmV3MultiassetWildMultiAsset; + readonly asWild: StagingXcmV3MultiassetWildMultiAsset; readonly type: 'Definite' | 'Wild'; } - /** @name XcmV3MultiassetWildMultiAsset (255) */ - interface XcmV3MultiassetWildMultiAsset extends Enum { + /** @name StagingXcmV3MultiassetWildMultiAsset (255) */ + interface StagingXcmV3MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; readonly asAllOf: { - readonly id: XcmV3MultiassetAssetId; - readonly fun: XcmV3MultiassetWildFungibility; + readonly id: StagingXcmV3MultiassetAssetId; + readonly fun: StagingXcmV3MultiassetWildFungibility; } & Struct; readonly isAllCounted: boolean; readonly asAllCounted: Compact; readonly isAllOfCounted: boolean; readonly asAllOfCounted: { - readonly id: XcmV3MultiassetAssetId; - readonly fun: XcmV3MultiassetWildFungibility; + readonly id: StagingXcmV3MultiassetAssetId; + readonly fun: StagingXcmV3MultiassetWildFungibility; readonly count: Compact; } & Struct; readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted'; } - /** @name XcmV3MultiassetWildFungibility (256) */ - interface XcmV3MultiassetWildFungibility extends Enum { + /** @name StagingXcmV3MultiassetWildFungibility (256) */ + interface StagingXcmV3MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: 'Fungible' | 'NonFungible'; @@ -3427,13 +3437,13 @@ declare module '@polkadot/types/lookup' { readonly isRegisterForeignAsset: boolean; readonly asRegisterForeignAsset: { readonly owner: AccountId32; - readonly location: XcmVersionedMultiLocation; + readonly location: StagingXcmVersionedMultiLocation; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly isUpdateForeignAsset: boolean; readonly asUpdateForeignAsset: { readonly foreignAssetId: u32; - readonly location: XcmVersionedMultiLocation; + readonly location: StagingXcmVersionedMultiLocation; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset'; @@ -3623,15 +3633,42 @@ declare module '@polkadot/types/lookup' { interface PalletMaintenanceCall extends Enum { readonly isEnable: boolean; readonly isDisable: boolean; - readonly isExecutePreimage: boolean; - readonly asExecutePreimage: { - readonly hash_: H256; - readonly weightBound: SpWeightsWeightV2Weight; + readonly type: 'Enable' | 'Disable'; + } + + /** @name PalletUtilityCall (362) */ + interface PalletUtilityCall extends Enum { + readonly isBatch: boolean; + readonly asBatch: { + readonly calls: Vec; } & Struct; - readonly type: 'Enable' | 'Disable' | 'ExecutePreimage'; + readonly isAsDerivative: boolean; + readonly asAsDerivative: { + readonly index: u16; + readonly call: Call; + } & Struct; + readonly isBatchAll: boolean; + readonly asBatchAll: { + readonly calls: Vec; + } & Struct; + readonly isDispatchAs: boolean; + readonly asDispatchAs: { + readonly asOrigin: OpalRuntimeOriginCaller; + readonly call: Call; + } & Struct; + readonly isForceBatch: boolean; + readonly asForceBatch: { + readonly calls: Vec; + } & Struct; + readonly isWithWeight: boolean; + readonly asWithWeight: { + readonly call: Call; + readonly weight: SpWeightsWeightV2Weight; + } & Struct; + readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight'; } - /** @name PalletTestUtilsCall (362) */ + /** @name PalletTestUtilsCall (364) */ interface PalletTestUtilsCall extends Enum { readonly isEnable: boolean; readonly isSetTestValue: boolean; @@ -3651,7 +3688,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll'; } - /** @name PalletSchedulerEvent (365) */ + /** @name PalletSchedulerEvent (366) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -3687,30 +3724,32 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallUnavailable' | 'PeriodicFailed' | 'PermanentlyOverweight'; } - /** @name CumulusPalletXcmpQueueEvent (366) */ + /** @name CumulusPalletXcmpQueueEvent (367) */ interface CumulusPalletXcmpQueueEvent extends Enum { readonly isSuccess: boolean; readonly asSuccess: { - readonly messageHash: Option; + readonly messageHash: U8aFixed; + readonly messageId: U8aFixed; readonly weight: SpWeightsWeightV2Weight; } & Struct; readonly isFail: boolean; readonly asFail: { - readonly messageHash: Option; - readonly error: XcmV3TraitsError; + readonly messageHash: U8aFixed; + readonly messageId: U8aFixed; + readonly error: StagingXcmV3TraitsError; readonly weight: SpWeightsWeightV2Weight; } & Struct; readonly isBadVersion: boolean; readonly asBadVersion: { - readonly messageHash: Option; + readonly messageHash: U8aFixed; } & Struct; readonly isBadFormat: boolean; readonly asBadFormat: { - readonly messageHash: Option; + readonly messageHash: U8aFixed; } & Struct; readonly isXcmpMessageSent: boolean; readonly asXcmpMessageSent: { - readonly messageHash: Option; + readonly messageHash: U8aFixed; } & Struct; readonly isOverweightEnqueued: boolean; readonly asOverweightEnqueued: { @@ -3727,102 +3766,191 @@ declare module '@polkadot/types/lookup' { readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced'; } - /** @name PalletXcmEvent (367) */ + /** @name PalletXcmEvent (368) */ interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; - readonly asAttempted: XcmV3TraitsOutcome; + readonly asAttempted: { + readonly outcome: StagingXcmV3TraitsOutcome; + } & Struct; readonly isSent: boolean; - readonly asSent: ITuple<[XcmV3MultiLocation, XcmV3MultiLocation, XcmV3Xcm]>; + readonly asSent: { + readonly origin: StagingXcmV3MultiLocation; + readonly destination: StagingXcmV3MultiLocation; + readonly message: StagingXcmV3Xcm; + readonly messageId: U8aFixed; + } & Struct; readonly isUnexpectedResponse: boolean; - readonly asUnexpectedResponse: ITuple<[XcmV3MultiLocation, u64]>; + readonly asUnexpectedResponse: { + readonly origin: StagingXcmV3MultiLocation; + readonly queryId: u64; + } & Struct; readonly isResponseReady: boolean; - readonly asResponseReady: ITuple<[u64, XcmV3Response]>; + readonly asResponseReady: { + readonly queryId: u64; + readonly response: StagingXcmV3Response; + } & Struct; readonly isNotified: boolean; - readonly asNotified: ITuple<[u64, u8, u8]>; + readonly asNotified: { + readonly queryId: u64; + readonly palletIndex: u8; + readonly callIndex: u8; + } & Struct; readonly isNotifyOverweight: boolean; - readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>; + readonly asNotifyOverweight: { + readonly queryId: u64; + readonly palletIndex: u8; + readonly callIndex: u8; + readonly actualWeight: SpWeightsWeightV2Weight; + readonly maxBudgetedWeight: SpWeightsWeightV2Weight; + } & Struct; readonly isNotifyDispatchError: boolean; - readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>; + readonly asNotifyDispatchError: { + readonly queryId: u64; + readonly palletIndex: u8; + readonly callIndex: u8; + } & Struct; readonly isNotifyDecodeFailed: boolean; - readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>; + readonly asNotifyDecodeFailed: { + readonly queryId: u64; + readonly palletIndex: u8; + readonly callIndex: u8; + } & Struct; readonly isInvalidResponder: boolean; - readonly asInvalidResponder: ITuple<[XcmV3MultiLocation, u64, Option]>; + readonly asInvalidResponder: { + readonly origin: StagingXcmV3MultiLocation; + readonly queryId: u64; + readonly expectedLocation: Option; + } & Struct; readonly isInvalidResponderVersion: boolean; - readonly asInvalidResponderVersion: ITuple<[XcmV3MultiLocation, u64]>; + readonly asInvalidResponderVersion: { + readonly origin: StagingXcmV3MultiLocation; + readonly queryId: u64; + } & Struct; readonly isResponseTaken: boolean; - readonly asResponseTaken: u64; + readonly asResponseTaken: { + readonly queryId: u64; + } & Struct; readonly isAssetsTrapped: boolean; - readonly asAssetsTrapped: ITuple<[H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>; + readonly asAssetsTrapped: { + readonly hash_: H256; + readonly origin: StagingXcmV3MultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; + } & Struct; readonly isVersionChangeNotified: boolean; - readonly asVersionChangeNotified: ITuple<[XcmV3MultiLocation, u32, XcmV3MultiassetMultiAssets]>; + readonly asVersionChangeNotified: { + readonly destination: StagingXcmV3MultiLocation; + readonly result: u32; + readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly messageId: U8aFixed; + } & Struct; readonly isSupportedVersionChanged: boolean; - readonly asSupportedVersionChanged: ITuple<[XcmV3MultiLocation, u32]>; + readonly asSupportedVersionChanged: { + readonly location: StagingXcmV3MultiLocation; + readonly version: u32; + } & Struct; readonly isNotifyTargetSendFail: boolean; - readonly asNotifyTargetSendFail: ITuple<[XcmV3MultiLocation, u64, XcmV3TraitsError]>; + readonly asNotifyTargetSendFail: { + readonly location: StagingXcmV3MultiLocation; + readonly queryId: u64; + readonly error: StagingXcmV3TraitsError; + } & Struct; readonly isNotifyTargetMigrationFail: boolean; - readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>; + readonly asNotifyTargetMigrationFail: { + readonly location: StagingXcmVersionedMultiLocation; + readonly queryId: u64; + } & Struct; readonly isInvalidQuerierVersion: boolean; - readonly asInvalidQuerierVersion: ITuple<[XcmV3MultiLocation, u64]>; + readonly asInvalidQuerierVersion: { + readonly origin: StagingXcmV3MultiLocation; + readonly queryId: u64; + } & Struct; readonly isInvalidQuerier: boolean; - readonly asInvalidQuerier: ITuple<[XcmV3MultiLocation, u64, XcmV3MultiLocation, Option]>; + readonly asInvalidQuerier: { + readonly origin: StagingXcmV3MultiLocation; + readonly queryId: u64; + readonly expectedQuerier: StagingXcmV3MultiLocation; + readonly maybeActualQuerier: Option; + } & Struct; readonly isVersionNotifyStarted: boolean; - readonly asVersionNotifyStarted: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>; + readonly asVersionNotifyStarted: { + readonly destination: StagingXcmV3MultiLocation; + readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly messageId: U8aFixed; + } & Struct; readonly isVersionNotifyRequested: boolean; - readonly asVersionNotifyRequested: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>; + readonly asVersionNotifyRequested: { + readonly destination: StagingXcmV3MultiLocation; + readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly messageId: U8aFixed; + } & Struct; readonly isVersionNotifyUnrequested: boolean; - readonly asVersionNotifyUnrequested: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>; + readonly asVersionNotifyUnrequested: { + readonly destination: StagingXcmV3MultiLocation; + readonly cost: StagingXcmV3MultiassetMultiAssets; + readonly messageId: U8aFixed; + } & Struct; readonly isFeesPaid: boolean; - readonly asFeesPaid: ITuple<[XcmV3MultiLocation, XcmV3MultiassetMultiAssets]>; + readonly asFeesPaid: { + readonly paying: StagingXcmV3MultiLocation; + readonly fees: StagingXcmV3MultiassetMultiAssets; + } & Struct; readonly isAssetsClaimed: boolean; - readonly asAssetsClaimed: ITuple<[H256, XcmV3MultiLocation, XcmVersionedMultiAssets]>; + readonly asAssetsClaimed: { + readonly hash_: H256; + readonly origin: StagingXcmV3MultiLocation; + readonly assets: StagingXcmVersionedMultiAssets; + } & Struct; readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed'; } - /** @name XcmV3TraitsOutcome (368) */ - interface XcmV3TraitsOutcome extends Enum { + /** @name StagingXcmV3TraitsOutcome (369) */ + interface StagingXcmV3TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: SpWeightsWeightV2Weight; readonly isIncomplete: boolean; - readonly asIncomplete: ITuple<[SpWeightsWeightV2Weight, XcmV3TraitsError]>; + readonly asIncomplete: ITuple<[SpWeightsWeightV2Weight, StagingXcmV3TraitsError]>; readonly isError: boolean; - readonly asError: XcmV3TraitsError; + readonly asError: StagingXcmV3TraitsError; readonly type: 'Complete' | 'Incomplete' | 'Error'; } - /** @name CumulusPalletXcmEvent (369) */ + /** @name CumulusPalletXcmEvent (370) */ interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; readonly isUnsupportedVersion: boolean; readonly asUnsupportedVersion: U8aFixed; readonly isExecutedDownward: boolean; - readonly asExecutedDownward: ITuple<[U8aFixed, XcmV3TraitsOutcome]>; + readonly asExecutedDownward: ITuple<[U8aFixed, StagingXcmV3TraitsOutcome]>; readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward'; } - /** @name CumulusPalletDmpQueueEvent (370) */ + /** @name CumulusPalletDmpQueueEvent (371) */ interface CumulusPalletDmpQueueEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: { - readonly messageId: U8aFixed; + readonly messageHash: U8aFixed; } & Struct; readonly isUnsupportedVersion: boolean; readonly asUnsupportedVersion: { - readonly messageId: U8aFixed; + readonly messageHash: U8aFixed; } & Struct; readonly isExecutedDownward: boolean; readonly asExecutedDownward: { + readonly messageHash: U8aFixed; readonly messageId: U8aFixed; - readonly outcome: XcmV3TraitsOutcome; + readonly outcome: StagingXcmV3TraitsOutcome; } & Struct; readonly isWeightExhausted: boolean; readonly asWeightExhausted: { + readonly messageHash: U8aFixed; readonly messageId: U8aFixed; readonly remainingWeight: SpWeightsWeightV2Weight; readonly requiredWeight: SpWeightsWeightV2Weight; } & Struct; readonly isOverweightEnqueued: boolean; readonly asOverweightEnqueued: { + readonly messageHash: U8aFixed; readonly messageId: U8aFixed; readonly overweightIndex: u64; readonly requiredWeight: SpWeightsWeightV2Weight; @@ -3834,12 +3962,12 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isMaxMessagesExhausted: boolean; readonly asMaxMessagesExhausted: { - readonly messageId: U8aFixed; + readonly messageHash: U8aFixed; } & Struct; readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced' | 'MaxMessagesExhausted'; } - /** @name PalletConfigurationEvent (371) */ + /** @name PalletConfigurationEvent (372) */ interface PalletConfigurationEvent extends Enum { readonly isNewDesiredCollators: boolean; readonly asNewDesiredCollators: { @@ -3856,7 +3984,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NewDesiredCollators' | 'NewCollatorLicenseBond' | 'NewCollatorKickThreshold'; } - /** @name PalletCommonEvent (372) */ + /** @name PalletCommonEvent (373) */ interface PalletCommonEvent extends Enum { readonly isCollectionCreated: boolean; readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>; @@ -3905,14 +4033,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved'; } - /** @name PalletStructureEvent (373) */ + /** @name PalletStructureEvent (374) */ interface PalletStructureEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: Result; readonly type: 'Executed'; } - /** @name PalletAppPromotionEvent (374) */ + /** @name PalletAppPromotionEvent (375) */ interface PalletAppPromotionEvent extends Enum { readonly isStakingRecalculation: boolean; readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>; @@ -3925,34 +4053,34 @@ declare module '@polkadot/types/lookup' { readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin'; } - /** @name PalletForeignAssetsModuleEvent (375) */ + /** @name PalletForeignAssetsModuleEvent (376) */ interface PalletForeignAssetsModuleEvent extends Enum { readonly isForeignAssetRegistered: boolean; readonly asForeignAssetRegistered: { readonly assetId: u32; - readonly assetAddress: XcmV3MultiLocation; + readonly assetAddress: StagingXcmV3MultiLocation; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly isForeignAssetUpdated: boolean; readonly asForeignAssetUpdated: { readonly assetId: u32; - readonly assetAddress: XcmV3MultiLocation; + readonly assetAddress: StagingXcmV3MultiLocation; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly isAssetRegistered: boolean; readonly asAssetRegistered: { - readonly assetId: PalletForeignAssetsAssetIds; + readonly assetId: PalletForeignAssetsAssetId; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly isAssetUpdated: boolean; readonly asAssetUpdated: { - readonly assetId: PalletForeignAssetsAssetIds; + readonly assetId: PalletForeignAssetsAssetId; readonly metadata: PalletForeignAssetsModuleAssetMetadata; } & Struct; readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated'; } - /** @name PalletEvmEvent (376) */ + /** @name PalletEvmEvent (377) */ interface PalletEvmEvent extends Enum { readonly isLog: boolean; readonly asLog: { @@ -3977,7 +4105,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed'; } - /** @name PalletEthereumEvent (377) */ + /** @name PalletEthereumEvent (378) */ interface PalletEthereumEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: { @@ -3990,7 +4118,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Executed'; } - /** @name EvmCoreErrorExitReason (378) */ + /** @name EvmCoreErrorExitReason (379) */ interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; @@ -4003,7 +4131,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal'; } - /** @name EvmCoreErrorExitSucceed (379) */ + /** @name EvmCoreErrorExitSucceed (380) */ interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; @@ -4011,7 +4139,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Stopped' | 'Returned' | 'Suicided'; } - /** @name EvmCoreErrorExitError (380) */ + /** @name EvmCoreErrorExitError (381) */ interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; @@ -4034,13 +4162,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'MaxNonce' | 'InvalidCode'; } - /** @name EvmCoreErrorExitRevert (384) */ + /** @name EvmCoreErrorExitRevert (385) */ interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: 'Reverted'; } - /** @name EvmCoreErrorExitFatal (385) */ + /** @name EvmCoreErrorExitFatal (386) */ interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; @@ -4051,7 +4179,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other'; } - /** @name PalletEvmContractHelpersEvent (386) */ + /** @name PalletEvmContractHelpersEvent (387) */ interface PalletEvmContractHelpersEvent extends Enum { readonly isContractSponsorSet: boolean; readonly asContractSponsorSet: ITuple<[H160, AccountId32]>; @@ -4062,20 +4190,41 @@ declare module '@polkadot/types/lookup' { readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved'; } - /** @name PalletEvmMigrationEvent (387) */ + /** @name PalletEvmMigrationEvent (388) */ interface PalletEvmMigrationEvent extends Enum { readonly isTestEvent: boolean; readonly type: 'TestEvent'; } - /** @name PalletMaintenanceEvent (388) */ + /** @name PalletMaintenanceEvent (389) */ interface PalletMaintenanceEvent extends Enum { readonly isMaintenanceEnabled: boolean; readonly isMaintenanceDisabled: boolean; readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled'; } - /** @name PalletTestUtilsEvent (389) */ + /** @name PalletUtilityEvent (390) */ + interface PalletUtilityEvent extends Enum { + readonly isBatchInterrupted: boolean; + readonly asBatchInterrupted: { + readonly index: u32; + readonly error: SpRuntimeDispatchError; + } & Struct; + readonly isBatchCompleted: boolean; + readonly isBatchCompletedWithErrors: boolean; + readonly isItemCompleted: boolean; + readonly isItemFailed: boolean; + readonly asItemFailed: { + readonly error: SpRuntimeDispatchError; + } & Struct; + readonly isDispatchedAs: boolean; + readonly asDispatchedAs: { + readonly result: Result; + } & Struct; + readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs'; + } + + /** @name PalletTestUtilsEvent (391) */ interface PalletTestUtilsEvent extends Enum { readonly isValueIsSet: boolean; readonly isShouldRollback: boolean; @@ -4083,7 +4232,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted'; } - /** @name FrameSystemPhase (390) */ + /** @name FrameSystemPhase (392) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -4092,27 +4241,27 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (392) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (394) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemLimitsBlockWeights (393) */ + /** @name FrameSystemLimitsBlockWeights (395) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (394) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (396) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (395) */ + /** @name FrameSystemLimitsWeightsPerClass (397) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -4120,25 +4269,25 @@ declare module '@polkadot/types/lookup' { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (397) */ + /** @name FrameSystemLimitsBlockLength (399) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (398) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (400) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (399) */ + /** @name SpWeightsRuntimeDbWeight (401) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (400) */ + /** @name SpVersionRuntimeVersion (402) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -4150,7 +4299,7 @@ declare module '@polkadot/types/lookup' { readonly stateVersion: u8; } - /** @name FrameSystemError (404) */ + /** @name FrameSystemError (406) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -4161,28 +4310,62 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered'; } - /** @name PolkadotPrimitivesV4UpgradeRestriction (406) */ - interface PolkadotPrimitivesV4UpgradeRestriction extends Enum { + /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (408) */ + interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { + readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; + readonly paraHeadHash: Option; + readonly consumedGoAheadSignal: Option; + } + + /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (409) */ + interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct { + readonly umpMsgCount: u32; + readonly umpTotalBytes: u32; + readonly hrmpOutgoing: BTreeMap; + } + + /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (411) */ + interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct { + readonly msgCount: u32; + readonly totalBytes: u32; + } + + /** @name PolkadotPrimitivesV5UpgradeGoAhead (415) */ + interface PolkadotPrimitivesV5UpgradeGoAhead extends Enum { + readonly isAbort: boolean; + readonly isGoAhead: boolean; + readonly type: 'Abort' | 'GoAhead'; + } + + /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (416) */ + interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { + readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; + readonly hrmpWatermark: Option; + readonly consumedGoAheadSignal: Option; + } + + /** @name PolkadotPrimitivesV5UpgradeRestriction (418) */ + interface PolkadotPrimitivesV5UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: 'Present'; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (407) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (419) */ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; - readonly relayDispatchQueueSize: CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize (408) */ - interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispachQueueSize extends Struct { + /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (420) */ + interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct { readonly remainingCount: u32; readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV4AbridgedHrmpChannel (411) */ - interface PolkadotPrimitivesV4AbridgedHrmpChannel extends Struct { + /** @name PolkadotPrimitivesV5AbridgedHrmpChannel (423) */ + interface PolkadotPrimitivesV5AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -4191,8 +4374,8 @@ declare module '@polkadot/types/lookup' { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV4AbridgedHostConfiguration (412) */ - interface PolkadotPrimitivesV4AbridgedHostConfiguration extends Struct { + /** @name PolkadotPrimitivesV5AbridgedHostConfiguration (424) */ + interface PolkadotPrimitivesV5AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -4202,21 +4385,28 @@ declare module '@polkadot/types/lookup' { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; + readonly asyncBackingParams: PolkadotPrimitivesVstagingAsyncBackingParams; + } + + /** @name PolkadotPrimitivesVstagingAsyncBackingParams (425) */ + interface PolkadotPrimitivesVstagingAsyncBackingParams extends Struct { + readonly maxCandidateDepth: u32; + readonly allowedAncestryLen: u32; } - /** @name PolkadotCorePrimitivesOutboundHrmpMessage (418) */ + /** @name PolkadotCorePrimitivesOutboundHrmpMessage (431) */ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } - /** @name CumulusPalletParachainSystemCodeUpgradeAuthorization (419) */ + /** @name CumulusPalletParachainSystemCodeUpgradeAuthorization (432) */ interface CumulusPalletParachainSystemCodeUpgradeAuthorization extends Struct { readonly codeHash: H256; readonly checkVersion: bool; } - /** @name CumulusPalletParachainSystemError (420) */ + /** @name CumulusPalletParachainSystemError (433) */ interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; @@ -4229,7 +4419,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized'; } - /** @name PalletCollatorSelectionError (422) */ + /** @name PalletCollatorSelectionError (435) */ interface PalletCollatorSelectionError extends Enum { readonly isTooManyCandidates: boolean; readonly isUnknown: boolean; @@ -4247,10 +4437,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered'; } - /** @name SpCoreCryptoKeyTypeId (426) */ + /** @name SpCoreCryptoKeyTypeId (439) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (427) */ + /** @name PalletSessionError (440) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -4260,14 +4450,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount'; } - /** @name PalletBalancesBalanceLock (432) */ + /** @name PalletBalancesBalanceLock (446) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (433) */ + /** @name PalletBalancesReasons (447) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -4275,19 +4465,32 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesReserveData (436) */ + /** @name PalletBalancesReserveData (450) */ interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name PalletBalancesIdAmount (439) */ + /** @name OpalRuntimeRuntimeHoldReason (454) */ + interface OpalRuntimeRuntimeHoldReason extends Enum { + readonly isCollatorSelection: boolean; + readonly asCollatorSelection: PalletCollatorSelectionHoldReason; + readonly type: 'CollatorSelection'; + } + + /** @name PalletCollatorSelectionHoldReason (455) */ + interface PalletCollatorSelectionHoldReason extends Enum { + readonly isLicenseBond: boolean; + readonly type: 'LicenseBond'; + } + + /** @name PalletBalancesIdAmount (458) */ interface PalletBalancesIdAmount extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name PalletBalancesError (442) */ + /** @name PalletBalancesError (460) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -4302,14 +4505,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes'; } - /** @name PalletTransactionPaymentReleases (444) */ + /** @name PalletTransactionPaymentReleases (462) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name PalletTreasuryProposal (445) */ + /** @name PalletTreasuryProposal (463) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -4317,10 +4520,10 @@ declare module '@polkadot/types/lookup' { readonly bond: u128; } - /** @name FrameSupportPalletId (448) */ + /** @name FrameSupportPalletId (466) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (449) */ + /** @name PalletTreasuryError (467) */ interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; @@ -4330,13 +4533,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved'; } - /** @name PalletSudoError (450) */ + /** @name PalletSudoError (468) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name OrmlVestingModuleError (452) */ + /** @name OrmlVestingModuleError (470) */ interface OrmlVestingModuleError extends Enum { readonly isZeroVestingPeriod: boolean; readonly isZeroVestingPeriodCount: boolean; @@ -4347,7 +4550,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded'; } - /** @name OrmlXtokensModuleError (453) */ + /** @name OrmlXtokensModuleError (471) */ interface OrmlXtokensModuleError extends Enum { readonly isAssetHasNoReserve: boolean; readonly isNotCrossChainTransfer: boolean; @@ -4371,26 +4574,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined'; } - /** @name OrmlTokensBalanceLock (456) */ + /** @name OrmlTokensBalanceLock (474) */ interface OrmlTokensBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name OrmlTokensAccountData (458) */ + /** @name OrmlTokensAccountData (476) */ interface OrmlTokensAccountData extends Struct { readonly free: u128; readonly reserved: u128; readonly frozen: u128; } - /** @name OrmlTokensReserveData (460) */ + /** @name OrmlTokensReserveData (478) */ interface OrmlTokensReserveData extends Struct { readonly id: Null; readonly amount: u128; } - /** @name OrmlTokensModuleError (462) */ + /** @name OrmlTokensModuleError (480) */ interface OrmlTokensModuleError extends Enum { readonly isBalanceTooLow: boolean; readonly isAmountIntoBalanceFailed: boolean; @@ -4403,14 +4606,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves'; } - /** @name PalletIdentityRegistrarInfo (467) */ + /** @name PalletIdentityRegistrarInfo (485) */ interface PalletIdentityRegistrarInfo extends Struct { readonly account: AccountId32; readonly fee: u128; readonly fields: PalletIdentityBitFlags; } - /** @name PalletIdentityError (469) */ + /** @name PalletIdentityError (487) */ interface PalletIdentityError extends Enum { readonly isTooManySubAccounts: boolean; readonly isNotFound: boolean; @@ -4433,7 +4636,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed'; } - /** @name PalletPreimageRequestStatus (470) */ + /** @name PalletPreimageRequestStatus (488) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -4449,7 +4652,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageError (475) */ + /** @name PalletPreimageError (493) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -4460,7 +4663,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested'; } - /** @name PalletDemocracyReferendumInfo (481) */ + /** @name PalletDemocracyReferendumInfo (499) */ interface PalletDemocracyReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletDemocracyReferendumStatus; @@ -4472,7 +4675,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ongoing' | 'Finished'; } - /** @name PalletDemocracyReferendumStatus (482) */ + /** @name PalletDemocracyReferendumStatus (500) */ interface PalletDemocracyReferendumStatus extends Struct { readonly end: u32; readonly proposal: FrameSupportPreimagesBounded; @@ -4481,14 +4684,14 @@ declare module '@polkadot/types/lookup' { readonly tally: PalletDemocracyTally; } - /** @name PalletDemocracyTally (483) */ + /** @name PalletDemocracyTally (501) */ interface PalletDemocracyTally extends Struct { readonly ayes: u128; readonly nays: u128; readonly turnout: u128; } - /** @name PalletDemocracyVoteVoting (484) */ + /** @name PalletDemocracyVoteVoting (502) */ interface PalletDemocracyVoteVoting extends Enum { readonly isDirect: boolean; readonly asDirect: { @@ -4507,16 +4710,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Direct' | 'Delegating'; } - /** @name PalletDemocracyDelegations (488) */ + /** @name PalletDemocracyDelegations (506) */ interface PalletDemocracyDelegations extends Struct { readonly votes: u128; readonly capital: u128; } - /** @name PalletDemocracyVotePriorLock (489) */ + /** @name PalletDemocracyVotePriorLock (507) */ interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {} - /** @name PalletDemocracyError (492) */ + /** @name PalletDemocracyError (510) */ interface PalletDemocracyError extends Enum { readonly isValueLow: boolean; readonly isProposalMissing: boolean; @@ -4545,7 +4748,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ValueLow' | 'ProposalMissing' | 'AlreadyCanceled' | 'DuplicateProposal' | 'ProposalBlacklisted' | 'NotSimpleMajority' | 'InvalidHash' | 'NoProposal' | 'AlreadyVetoed' | 'ReferendumInvalid' | 'NoneWaiting' | 'NotVoter' | 'NoPermission' | 'AlreadyDelegating' | 'InsufficientFunds' | 'NotDelegating' | 'VotesExist' | 'InstantNotAllowed' | 'Nonsense' | 'WrongUpperBound' | 'MaxVotesReached' | 'TooMany' | 'VotingPeriodLow' | 'PreimageNotExist'; } - /** @name PalletCollectiveVotes (494) */ + /** @name PalletCollectiveVotes (512) */ interface PalletCollectiveVotes extends Struct { readonly index: u32; readonly threshold: u32; @@ -4554,7 +4757,7 @@ declare module '@polkadot/types/lookup' { readonly end: u32; } - /** @name PalletCollectiveError (495) */ + /** @name PalletCollectiveError (513) */ interface PalletCollectiveError extends Enum { readonly isNotMember: boolean; readonly isDuplicateProposal: boolean; @@ -4566,10 +4769,11 @@ declare module '@polkadot/types/lookup' { readonly isTooManyProposals: boolean; readonly isWrongProposalWeight: boolean; readonly isWrongProposalLength: boolean; - readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength'; + readonly isPrimeAccountNotMember: boolean; + readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength' | 'PrimeAccountNotMember'; } - /** @name PalletMembershipError (499) */ + /** @name PalletMembershipError (517) */ interface PalletMembershipError extends Enum { readonly isAlreadyMember: boolean; readonly isNotMember: boolean; @@ -4577,12 +4781,12 @@ declare module '@polkadot/types/lookup' { readonly type: 'AlreadyMember' | 'NotMember' | 'TooManyMembers'; } - /** @name PalletRankedCollectiveMemberRecord (502) */ + /** @name PalletRankedCollectiveMemberRecord (520) */ interface PalletRankedCollectiveMemberRecord extends Struct { readonly rank: u16; } - /** @name PalletRankedCollectiveError (507) */ + /** @name PalletRankedCollectiveError (525) */ interface PalletRankedCollectiveError extends Enum { readonly isAlreadyMember: boolean; readonly isNotMember: boolean; @@ -4596,7 +4800,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AlreadyMember' | 'NotMember' | 'NotPolling' | 'Ongoing' | 'NoneRemaining' | 'Corruption' | 'RankTooLow' | 'InvalidWitness' | 'NoPermission'; } - /** @name PalletReferendaReferendumInfo (508) */ + /** @name PalletReferendaReferendumInfo (526) */ interface PalletReferendaReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletReferendaReferendumStatus; @@ -4613,7 +4817,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed'; } - /** @name PalletReferendaReferendumStatus (509) */ + /** @name PalletReferendaReferendumStatus (527) */ interface PalletReferendaReferendumStatus extends Struct { readonly track: u16; readonly origin: OpalRuntimeOriginCaller; @@ -4628,19 +4832,19 @@ declare module '@polkadot/types/lookup' { readonly alarm: Option]>>; } - /** @name PalletReferendaDeposit (510) */ + /** @name PalletReferendaDeposit (528) */ interface PalletReferendaDeposit extends Struct { readonly who: AccountId32; readonly amount: u128; } - /** @name PalletReferendaDecidingStatus (513) */ + /** @name PalletReferendaDecidingStatus (531) */ interface PalletReferendaDecidingStatus extends Struct { readonly since: u32; readonly confirming: Option; } - /** @name PalletReferendaTrackInfo (519) */ + /** @name PalletReferendaTrackInfo (537) */ interface PalletReferendaTrackInfo extends Struct { readonly name: Text; readonly maxDeciding: u32; @@ -4653,7 +4857,7 @@ declare module '@polkadot/types/lookup' { readonly minSupport: PalletReferendaCurve; } - /** @name PalletReferendaCurve (520) */ + /** @name PalletReferendaCurve (538) */ interface PalletReferendaCurve extends Enum { readonly isLinearDecreasing: boolean; readonly asLinearDecreasing: { @@ -4677,7 +4881,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'LinearDecreasing' | 'SteppedDecreasing' | 'Reciprocal'; } - /** @name PalletReferendaError (523) */ + /** @name PalletReferendaError (541) */ interface PalletReferendaError extends Enum { readonly isNotOngoing: boolean; readonly isHasDeposit: boolean; @@ -4695,7 +4899,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotOngoing' | 'HasDeposit' | 'BadTrack' | 'Full' | 'QueueEmpty' | 'BadReferendum' | 'NothingToDo' | 'NoTrack' | 'Unfinished' | 'NoPermission' | 'NoDeposit' | 'BadStatus' | 'PreimageNotExist'; } - /** @name PalletSchedulerScheduled (526) */ + /** @name PalletSchedulerScheduled (544) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; @@ -4704,7 +4908,7 @@ declare module '@polkadot/types/lookup' { readonly origin: OpalRuntimeOriginCaller; } - /** @name PalletSchedulerError (528) */ + /** @name PalletSchedulerError (546) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -4714,29 +4918,29 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange' | 'Named'; } - /** @name CumulusPalletXcmpQueueInboundChannelDetails (530) */ + /** @name CumulusPalletXcmpQueueInboundChannelDetails (548) */ interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { readonly sender: u32; readonly state: CumulusPalletXcmpQueueInboundState; - readonly messageMetadata: Vec>; + readonly messageMetadata: Vec>; } - /** @name CumulusPalletXcmpQueueInboundState (531) */ + /** @name CumulusPalletXcmpQueueInboundState (549) */ interface CumulusPalletXcmpQueueInboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name PolkadotParachainPrimitivesXcmpMessageFormat (534) */ - interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum { + /** @name PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat (552) */ + interface PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat extends Enum { readonly isConcatenatedVersionedXcm: boolean; readonly isConcatenatedEncodedBlob: boolean; readonly isSignals: boolean; readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals'; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (537) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (555) */ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -4745,14 +4949,14 @@ declare module '@polkadot/types/lookup' { readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (538) */ + /** @name CumulusPalletXcmpQueueOutboundState (556) */ interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name CumulusPalletXcmpQueueQueueConfigData (540) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (558) */ interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; @@ -4762,7 +4966,7 @@ declare module '@polkadot/types/lookup' { readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight; } - /** @name CumulusPalletXcmpQueueError (542) */ + /** @name CumulusPalletXcmpQueueError (560) */ interface CumulusPalletXcmpQueueError extends Enum { readonly isFailedToSend: boolean; readonly isBadXcmOrigin: boolean; @@ -4772,38 +4976,38 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit'; } - /** @name PalletXcmQueryStatus (543) */ + /** @name PalletXcmQueryStatus (561) */ interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { - readonly responder: XcmVersionedMultiLocation; - readonly maybeMatchQuerier: Option; + readonly responder: StagingXcmVersionedMultiLocation; + readonly maybeMatchQuerier: Option; readonly maybeNotify: Option>; readonly timeout: u32; } & Struct; readonly isVersionNotifier: boolean; readonly asVersionNotifier: { - readonly origin: XcmVersionedMultiLocation; + readonly origin: StagingXcmVersionedMultiLocation; readonly isActive: bool; } & Struct; readonly isReady: boolean; readonly asReady: { - readonly response: XcmVersionedResponse; + readonly response: StagingXcmVersionedResponse; readonly at: u32; } & Struct; readonly type: 'Pending' | 'VersionNotifier' | 'Ready'; } - /** @name XcmVersionedResponse (547) */ - interface XcmVersionedResponse extends Enum { + /** @name StagingXcmVersionedResponse (565) */ + interface StagingXcmVersionedResponse extends Enum { readonly isV2: boolean; - readonly asV2: XcmV2Response; + readonly asV2: StagingXcmV2Response; readonly isV3: boolean; - readonly asV3: XcmV3Response; + readonly asV3: StagingXcmV3Response; readonly type: 'V2' | 'V3'; } - /** @name PalletXcmVersionMigrationStage (553) */ + /** @name PalletXcmVersionMigrationStage (571) */ interface PalletXcmVersionMigrationStage extends Enum { readonly isMigrateSupportedVersion: boolean; readonly isMigrateVersionNotifiers: boolean; @@ -4813,22 +5017,22 @@ declare module '@polkadot/types/lookup' { readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets'; } - /** @name XcmVersionedAssetId (556) */ - interface XcmVersionedAssetId extends Enum { + /** @name StagingXcmVersionedAssetId (574) */ + interface StagingXcmVersionedAssetId extends Enum { readonly isV3: boolean; - readonly asV3: XcmV3MultiassetAssetId; + readonly asV3: StagingXcmV3MultiassetAssetId; readonly type: 'V3'; } - /** @name PalletXcmRemoteLockedFungibleRecord (557) */ + /** @name PalletXcmRemoteLockedFungibleRecord (575) */ interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; - readonly owner: XcmVersionedMultiLocation; - readonly locker: XcmVersionedMultiLocation; + readonly owner: StagingXcmVersionedMultiLocation; + readonly locker: StagingXcmVersionedMultiLocation; readonly consumers: Vec>; } - /** @name PalletXcmError (564) */ + /** @name PalletXcmError (582) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -4853,29 +5057,29 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'InvalidAsset' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse'; } - /** @name CumulusPalletXcmError (565) */ + /** @name CumulusPalletXcmError (583) */ type CumulusPalletXcmError = Null; - /** @name CumulusPalletDmpQueueConfigData (566) */ + /** @name CumulusPalletDmpQueueConfigData (584) */ interface CumulusPalletDmpQueueConfigData extends Struct { readonly maxIndividual: SpWeightsWeightV2Weight; } - /** @name CumulusPalletDmpQueuePageIndexData (567) */ + /** @name CumulusPalletDmpQueuePageIndexData (585) */ interface CumulusPalletDmpQueuePageIndexData extends Struct { readonly beginUsed: u32; readonly endUsed: u32; readonly overweightCount: u64; } - /** @name CumulusPalletDmpQueueError (570) */ + /** @name CumulusPalletDmpQueueError (588) */ interface CumulusPalletDmpQueueError extends Enum { readonly isUnknown: boolean; readonly isOverLimit: boolean; readonly type: 'Unknown' | 'OverLimit'; } - /** @name PalletUniqueError (574) */ + /** @name PalletUniqueError (592) */ interface PalletUniqueError extends Enum { readonly isCollectionDecimalPointLimitExceeded: boolean; readonly isEmptyArgument: boolean; @@ -4883,13 +5087,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection'; } - /** @name PalletConfigurationError (575) */ + /** @name PalletConfigurationError (593) */ interface PalletConfigurationError extends Enum { readonly isInconsistentConfiguration: boolean; readonly type: 'InconsistentConfiguration'; } - /** @name UpDataStructsCollection (576) */ + /** @name UpDataStructsCollection (594) */ interface UpDataStructsCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -4902,7 +5106,7 @@ declare module '@polkadot/types/lookup' { readonly flags: U8aFixed; } - /** @name UpDataStructsSponsorshipStateAccountId32 (577) */ + /** @name UpDataStructsSponsorshipStateAccountId32 (595) */ interface UpDataStructsSponsorshipStateAccountId32 extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -4912,43 +5116,43 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name UpDataStructsProperties (578) */ + /** @name UpDataStructsProperties (596) */ interface UpDataStructsProperties extends Struct { readonly map: UpDataStructsPropertiesMapBoundedVec; readonly consumedSpace: u32; readonly reserved: u32; } - /** @name UpDataStructsPropertiesMapBoundedVec (579) */ + /** @name UpDataStructsPropertiesMapBoundedVec (597) */ interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap {} - /** @name UpDataStructsPropertiesMapPropertyPermission (584) */ + /** @name UpDataStructsPropertiesMapPropertyPermission (602) */ interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap {} - /** @name UpDataStructsCollectionStats (591) */ + /** @name UpDataStructsCollectionStats (609) */ interface UpDataStructsCollectionStats extends Struct { readonly created: u32; readonly destroyed: u32; readonly alive: u32; } - /** @name UpDataStructsTokenChild (592) */ + /** @name UpDataStructsTokenChild (610) */ interface UpDataStructsTokenChild extends Struct { readonly token: u32; readonly collection: u32; } - /** @name PhantomTypeUpDataStructs (593) */ + /** @name PhantomTypeUpDataStructs (611) */ interface PhantomTypeUpDataStructs extends Vec> {} - /** @name UpDataStructsTokenData (595) */ + /** @name UpDataStructsTokenData (613) */ interface UpDataStructsTokenData extends Struct { readonly properties: Vec; readonly owner: Option; readonly pieces: u128; } - /** @name UpDataStructsRpcCollection (596) */ + /** @name UpDataStructsRpcCollection (614) */ interface UpDataStructsRpcCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -4964,13 +5168,13 @@ declare module '@polkadot/types/lookup' { readonly flags: UpDataStructsRpcCollectionFlags; } - /** @name UpDataStructsRpcCollectionFlags (597) */ + /** @name UpDataStructsRpcCollectionFlags (615) */ interface UpDataStructsRpcCollectionFlags extends Struct { readonly foreign: bool; readonly erc721metadata: bool; } - /** @name UpPovEstimateRpcPovInfo (598) */ + /** @name UpPovEstimateRpcPovInfo (616) */ interface UpPovEstimateRpcPovInfo extends Struct { readonly proofSize: u64; readonly compactProofSize: u64; @@ -4979,7 +5183,7 @@ declare module '@polkadot/types/lookup' { readonly keyValues: Vec; } - /** @name SpRuntimeTransactionValidityTransactionValidityError (601) */ + /** @name SpRuntimeTransactionValidityTransactionValidityError (619) */ interface SpRuntimeTransactionValidityTransactionValidityError extends Enum { readonly isInvalid: boolean; readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction; @@ -4988,7 +5192,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Invalid' | 'Unknown'; } - /** @name SpRuntimeTransactionValidityInvalidTransaction (602) */ + /** @name SpRuntimeTransactionValidityInvalidTransaction (620) */ interface SpRuntimeTransactionValidityInvalidTransaction extends Enum { readonly isCall: boolean; readonly isPayment: boolean; @@ -5005,7 +5209,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner'; } - /** @name SpRuntimeTransactionValidityUnknownTransaction (603) */ + /** @name SpRuntimeTransactionValidityUnknownTransaction (621) */ interface SpRuntimeTransactionValidityUnknownTransaction extends Enum { readonly isCannotLookup: boolean; readonly isNoUnsignedValidator: boolean; @@ -5014,13 +5218,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom'; } - /** @name UpPovEstimateRpcTrieKeyValue (605) */ + /** @name UpPovEstimateRpcTrieKeyValue (623) */ interface UpPovEstimateRpcTrieKeyValue extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name PalletCommonError (607) */ + /** @name PalletCommonError (625) */ interface PalletCommonError extends Enum { readonly isCollectionNotFound: boolean; readonly isMustBeTokenOwner: boolean; @@ -5059,22 +5263,22 @@ declare module '@polkadot/types/lookup' { readonly isCollectionIsInternal: boolean; readonly isConfirmSponsorshipFail: boolean; readonly isUserIsNotCollectionAdmin: boolean; - readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin'; + readonly isFungibleItemsHaveNoId: boolean; + readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsNotEthMirror' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin' | 'FungibleItemsHaveNoId'; } - /** @name PalletFungibleError (609) */ + /** @name PalletFungibleError (627) */ interface PalletFungibleError extends Enum { readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; - readonly isFungibleItemsHaveNoId: boolean; readonly isFungibleItemsDontHaveData: boolean; readonly isFungibleDisallowsNesting: boolean; readonly isSettingPropertiesNotAllowed: boolean; readonly isSettingAllowanceForAllNotAllowed: boolean; readonly isFungibleTokensAreAlwaysValid: boolean; - readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid'; + readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid'; } - /** @name PalletRefungibleError (614) */ + /** @name PalletRefungibleError (632) */ interface PalletRefungibleError extends Enum { readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isWrongRefungiblePieces: boolean; @@ -5084,19 +5288,19 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed'; } - /** @name PalletNonfungibleItemData (615) */ + /** @name PalletNonfungibleItemData (633) */ interface PalletNonfungibleItemData extends Struct { readonly owner: PalletEvmAccountBasicCrossAccountIdRepr; } - /** @name UpDataStructsPropertyScope (617) */ + /** @name UpDataStructsPropertyScope (635) */ interface UpDataStructsPropertyScope extends Enum { readonly isNone: boolean; readonly isRmrk: boolean; readonly type: 'None' | 'Rmrk'; } - /** @name PalletNonfungibleError (620) */ + /** @name PalletNonfungibleError (638) */ interface PalletNonfungibleError extends Enum { readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isNonfungibleItemsHaveNoAmount: boolean; @@ -5104,7 +5308,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren'; } - /** @name PalletStructureError (621) */ + /** @name PalletStructureError (639) */ interface PalletStructureError extends Enum { readonly isOuroborosDetected: boolean; readonly isDepthLimit: boolean; @@ -5114,7 +5318,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound' | 'CantNestTokenUnderCollection'; } - /** @name PalletAppPromotionError (626) */ + /** @name PalletAppPromotionError (644) */ interface PalletAppPromotionError extends Enum { readonly isAdminNotSet: boolean; readonly isNoPermission: boolean; @@ -5126,7 +5330,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'InsufficientStakedBalance' | 'InconsistencyState'; } - /** @name PalletForeignAssetsModuleError (627) */ + /** @name PalletForeignAssetsModuleError (645) */ interface PalletForeignAssetsModuleError extends Enum { readonly isBadLocation: boolean; readonly isMultiLocationExisted: boolean; @@ -5135,13 +5339,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted'; } - /** @name PalletEvmCodeMetadata (628) */ + /** @name PalletEvmCodeMetadata (646) */ interface PalletEvmCodeMetadata extends Struct { readonly size_: u64; readonly hash_: H256; } - /** @name PalletEvmError (630) */ + /** @name PalletEvmError (648) */ interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; @@ -5157,7 +5361,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA'; } - /** @name FpRpcTransactionStatus (633) */ + /** @name FpRpcTransactionStatus (651) */ interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; @@ -5168,10 +5372,10 @@ declare module '@polkadot/types/lookup' { readonly logsBloom: EthbloomBloom; } - /** @name EthbloomBloom (635) */ + /** @name EthbloomBloom (653) */ interface EthbloomBloom extends U8aFixed {} - /** @name EthereumReceiptReceiptV3 (637) */ + /** @name EthereumReceiptReceiptV3 (655) */ interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; @@ -5182,7 +5386,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumReceiptEip658ReceiptData (638) */ + /** @name EthereumReceiptEip658ReceiptData (656) */ interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; @@ -5190,14 +5394,14 @@ declare module '@polkadot/types/lookup' { readonly logs: Vec; } - /** @name EthereumBlock (639) */ + /** @name EthereumBlock (657) */ interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } - /** @name EthereumHeader (640) */ + /** @name EthereumHeader (658) */ interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; @@ -5216,24 +5420,24 @@ declare module '@polkadot/types/lookup' { readonly nonce: EthereumTypesHashH64; } - /** @name EthereumTypesHashH64 (641) */ + /** @name EthereumTypesHashH64 (659) */ interface EthereumTypesHashH64 extends U8aFixed {} - /** @name PalletEthereumError (646) */ + /** @name PalletEthereumError (664) */ interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: 'InvalidSignature' | 'PreLogExists'; } - /** @name PalletEvmCoderSubstrateError (647) */ + /** @name PalletEvmCoderSubstrateError (665) */ interface PalletEvmCoderSubstrateError extends Enum { readonly isOutOfGas: boolean; readonly isOutOfFund: boolean; readonly type: 'OutOfGas' | 'OutOfFund'; } - /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (648) */ + /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (666) */ interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -5243,7 +5447,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name PalletEvmContractHelpersSponsoringModeT (649) */ + /** @name PalletEvmContractHelpersSponsoringModeT (667) */ interface PalletEvmContractHelpersSponsoringModeT extends Enum { readonly isDisabled: boolean; readonly isAllowlisted: boolean; @@ -5251,7 +5455,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Allowlisted' | 'Generous'; } - /** @name PalletEvmContractHelpersError (655) */ + /** @name PalletEvmContractHelpersError (673) */ interface PalletEvmContractHelpersError extends Enum { readonly isNoPermission: boolean; readonly isNoPendingSponsor: boolean; @@ -5259,7 +5463,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit'; } - /** @name PalletEvmMigrationError (656) */ + /** @name PalletEvmMigrationError (674) */ interface PalletEvmMigrationError extends Enum { readonly isAccountNotEmpty: boolean; readonly isAccountIsNotMigrating: boolean; @@ -5267,17 +5471,23 @@ declare module '@polkadot/types/lookup' { readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent'; } - /** @name PalletMaintenanceError (657) */ + /** @name PalletMaintenanceError (675) */ type PalletMaintenanceError = Null; - /** @name PalletTestUtilsError (658) */ + /** @name PalletUtilityError (676) */ + interface PalletUtilityError extends Enum { + readonly isTooManyCalls: boolean; + readonly type: 'TooManyCalls'; + } + + /** @name PalletTestUtilsError (677) */ interface PalletTestUtilsError extends Enum { readonly isTestPalletDisabled: boolean; readonly isTriggerRollback: boolean; readonly type: 'TestPalletDisabled' | 'TriggerRollback'; } - /** @name SpRuntimeMultiSignature (660) */ + /** @name SpRuntimeMultiSignature (679) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; @@ -5288,43 +5498,43 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEd25519Signature (661) */ + /** @name SpCoreEd25519Signature (680) */ interface SpCoreEd25519Signature extends U8aFixed {} - /** @name SpCoreSr25519Signature (663) */ + /** @name SpCoreSr25519Signature (682) */ interface SpCoreSr25519Signature extends U8aFixed {} - /** @name SpCoreEcdsaSignature (664) */ + /** @name SpCoreEcdsaSignature (683) */ interface SpCoreEcdsaSignature extends U8aFixed {} - /** @name FrameSystemExtensionsCheckSpecVersion (667) */ + /** @name FrameSystemExtensionsCheckSpecVersion (686) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (668) */ + /** @name FrameSystemExtensionsCheckTxVersion (687) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (669) */ + /** @name FrameSystemExtensionsCheckGenesis (688) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (672) */ + /** @name FrameSystemExtensionsCheckNonce (691) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (673) */ + /** @name FrameSystemExtensionsCheckWeight (692) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (674) */ + /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (693) */ type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null; - /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (675) */ + /** @name OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls (694) */ type OpalRuntimeRuntimeCommonIdentityDisableIdentityCalls = Null; - /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (676) */ + /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (695) */ interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name OpalRuntimeRuntime (677) */ + /** @name OpalRuntimeRuntime (696) */ type OpalRuntimeRuntime = Null; - /** @name PalletEthereumFakeTransactionFinalizer (678) */ + /** @name PalletEthereumFakeTransactionFinalizer (697) */ type PalletEthereumFakeTransactionFinalizer = Null; } // declare module From 2b9fe52ee4698da18d9db71b42ea66596d5e6aee Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 20 Oct 2023 17:21:33 +0200 Subject: [PATCH 09/10] fix: XCM types --- tests/src/util/playgrounds/unique.dev.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/src/util/playgrounds/unique.dev.ts b/tests/src/util/playgrounds/unique.dev.ts index 7076ee8605..146927d3c3 100644 --- a/tests/src/util/playgrounds/unique.dev.ts +++ b/tests/src/util/playgrounds/unique.dev.ts @@ -9,7 +9,7 @@ import * as defs from '../../interfaces/definitions'; import {IKeyringPair} from '@polkadot/types/types'; import {EventRecord} from '@polkadot/types/interfaces'; import {ICrossAccountId, ILogger, IPovInfo, ISchedulerOptions, ITransactionResult, TSigner} from './types'; -import {FrameSystemEventRecord, XcmV2TraitsError, XcmV3TraitsOutcome} from '@polkadot/types/lookup'; +import {FrameSystemEventRecord, StagingXcmV2TraitsError, StagingXcmV3TraitsOutcome} from '@polkadot/types/lookup'; import {SignerOptions, VoidFn} from '@polkadot/api/types'; import {Pallets} from '..'; import {spawnSync} from 'child_process'; @@ -257,13 +257,13 @@ export class Event { static Fail = this.Method('Fail', data => ({ messageHash: eventJsonData(data, 0), - outcome: eventData(data, 2), + outcome: eventData(data, 2), })); }; static DmpQueue = class extends EventSection('dmpQueue') { static ExecutedDownward = this.Method('ExecutedDownward', data => ({ - outcome: eventData(data, 2), + outcome: eventData(data, 2), })); }; } From 0e311d1fa473d80e9d7c256b66229a7c2b644c67 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Mon, 23 Oct 2023 15:08:34 +0200 Subject: [PATCH 10/10] fix: open unique htmp channels --- tests/src/util/createHrmp.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/src/util/createHrmp.ts b/tests/src/util/createHrmp.ts index 1f6953ccfb..33ff5b4421 100644 --- a/tests/src/util/createHrmp.ts +++ b/tests/src/util/createHrmp.ts @@ -16,11 +16,17 @@ await usingPlaygrounds(async (helper, privateKey) => { await bidirOpen(1001, 1002); break; case 'quartz': + await bidirOpen(1001, 1002); + await bidirOpen(1001, 1003); + await bidirOpen(1001, 1004); + await bidirOpen(1001, 1005); + break; case 'unique': await bidirOpen(1001, 1002); await bidirOpen(1001, 1003); await bidirOpen(1001, 1004); await bidirOpen(1001, 1005); + await bidirOpen(1001, 1006); break; default: throw new Error(`unknown hrmp config profile: ${profile}`);